<!--
var nMOVEBYPIXEL = 6;

// Returns element's DOM object handle
function GetHandle(sElmID)
{
	var obj;

	if(document.all)
	{
		obj = document.all(sElmID);
	}
	else if(document.getElementById)
	{
		obj = document.getElementById(sElmID);
	}
	else
	{
		obj = NULL;
	}

	return obj;
}

var oTimer = null;
var sDIR = "RIGHT";

function startMoving(sDIRTemp)
{
	oTimer = window.clearTimeout();

	sDIR = sDIRTemp;
	oTimer =  window.setTimeout("moveDiv()",10);
}

function stopMoving()
{
	window.clearTimeout(oTimer);
	oTimer = null;
}


function moveDiv()
{
	if	(sDIR == "LEFT")
	{
		moveLeft();
	}
	else
	{
		moveRight();
	}
	oTimer =  window.setTimeout("moveDiv()",10);
}


function moveLeft()
{
	oDiv = GetHandle("picsDiv");
	
	sLeft = parseInt(oDiv.scrollLeft);

	sLeft -= nMOVEBYPIXEL;
	if(sLeft < 0) sLeft = 0;

	oDiv.scrollLeft = sLeft;
}
function moveRight()
{
	oDiv = GetHandle("picsDiv");
	
	sRight = parseInt(oDiv.scrollLeft);

	sRight += nMOVEBYPIXEL;
	if(sRight >  oDiv.scrollWidth) sRight = oDiv.scrollWidth;

	oDiv.scrollLeft = sRight;
}

function InitializeScreen()
{
	//alert("here");

	//if(is_firefox)
	{
		GetHandle("picsDiv").style.width = "866" //"296";
		GetHandle("picsDiv").style.height = "500" //"296";
	}

}
//-->