/* -----------------------------------------------
   Floating layer - v.1
   (c) 2006 www.haan.net
   contact: jeroen@haan.net
   You may use this script but please leave the credits on top intact.
   Please inform us of any improvements made.
   When usefull we will add your credits.
	obj.style.visibility = (obj.style.visibility == 'visible') ? 'hidden' : 'visible';

  ------------------------------------------------ */

x = 20;
y = 20;
function setVisible(obje,vis)
{
	obj = document.getElementById(obje);
	obj.style.visibility = vis;
}
function placeIt(obje)
{
	obj = document.getElementById(obje);
	if (document.documentElement)
	{
		theLeft = document.documentElement.scrollLeft;
		theTop = document.documentElement.scrollTop;
		myWidth = document.documentElement.clientWidth;
		myHeight = document.documentElement.clientHeight;

	}
	else if (document.body)
	{
		theLeft = document.body.scrollLeft;
		theTop = document.body.scrollTop;
		myWidth = document.body.clientWidth;
		myHeight = document.body.clientHeight;

	}
	theLeft += x;
	theTop += y;
	settop = theTop + myHeight - 70;
	obj.style.left = theLeft + 'px' ;
	obj.style.top = settop + 'px' ;
	setTimeout("placeIt('player1')",50);
}
window.onscroll = setTimeout("placeIt('player1')",50);

