
function PutPixel(doc,x,y,color)
{
	var Body=doc.body;
	var Pixel=doc.createElement("b");
	Pixel.style.width="1px";
	Pixel.style.height="1px";
	Pixel.style.backgroundColor=color;
	Pixel.style.left=x;
	Pixel.style.top=y;
	Pixel.style.position="absolute";
	Pixel.style.display="block";
	Pixel.style.overflow="hidden";
	Body.appendChild(Pixel);
	return Pixel;
}

function DrawHorLine(doc,x,y,length,color)
{
	for (var i=0;i < length;++i)
	{
		PutPixel(doc,(parseInt(x)+i)+"px",y,color);
	}
}
