// JavaScript Document

x = 150;
//y = 70;
function setVisible(obj)
{
  var obj_aux=obj;
	obj = document.getElementById(obj);
	obj.style.visibility = (obj.style.visibility == 'visible') ? 'hidden' : 'visible';
	//setTimeout("placeIt('" + obj_aux + "')",11500);
	
	obj.style.display = (obj.style.display == 'none') ? 'block' : 'none';
}
function placeIt(obj)
{

	obj = document.getElementById(obj);
	if (document.documentElement)
	{
		theLeft = document.documentElement.scrollHeight;
		theTop = document.documentElement.scrollWidth;
	}
	else if (document.body)
	{
		theLeft = document.body.scrollHeight;
		theTop = document.body.scrollWidth;
	}
	

	theLeft=(theLeft/2)+100;
	theTop= '300';
	//alert(theLeft);
	obj.style.left = theLeft + 'px' ;
	obj.style.top = theTop + 'px' ;
	obj.style.zIndex=50;
	
}
//  window.onscroll = setTimeout("placeIt('layer1')",500);

