x = -300;
y = -150;
function setVisible(obj,flag)
{
	obj = document.getElementById(obj);
	obj.style.height="550px";
	if(flag)
		obj.style.visibility =  'visible';
	else
		obj.style.visibility = 'hidden';
	//obj.style.left =  '100px' ;
	//obj.style.top = '100px' ;
	
}
function placeIt(obj)
{
	obj = document.getElementById(obj);
	if (document.documentElement)
	{
		theLeft = document.documentElement.scrollLeft;
		theTop = document.documentElement.scrollTop;
	}
	else if (document.body)
	{
		theLeft = document.body.scrollLeft;
		theTop = document.body.scrollTop;
	}
	theLeft += x;
	theTop += y;
	obj.style.left = theLeft + 'px' ;
	obj.style.top = theTop + 'px' ;
	setTimeout("placeIt('layer1')",500);
}
//window.scroll = setTimeout("placeIt('layer1')",500);

window.onscroll = function() {
			 setTimeout("placeIt('layer1')",500);
	}
		