
x = 0;
y = 180;


function setVisible(obj)
{
	obj = document.getElementById(obj);
	obj.style.visibility = (obj.style.visibility == 'visible') ? 'hidden' : 'visible';
}

function setVisible1(obj)
{
	obj = document.getElementById(obj);
	obj.style.visibility = 'visible';
}

function placeIt()
{
	obj = document.getElementById("layer1");
	theLeft = 0;
	theTop = 0;
	if (document.documentElement)
	{
		//theLeft = document.documentElement.scrollLeft;
		theLeft = document.documentElement.clientWidth - 400;
		theTop = document.documentElement.scrollTop;
	}
	else if (document.body)
	{
		theLeft = document.body.clientWidth - 400;
		//theLeft = document.body.scrollLeft;
		theTop = document.body.scrollTop;
	}
	theLeft += x;
	theTop += y;
	obj.style.left = theLeft + 'px' ;
	obj.style.top = theTop + 'px' ;
	setTimeout("placeIt()",100);
}

setTimeout("placeIt()",100);
