/* -----------------------------------------------
   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.
  ------------------------------------------------ */
var timeout = 100
var offsetLeft = 220;
var offsetTop = 70;

function setVisible(obj, blnVisible)
{
	obj = document.getElementById(obj);
	obj.style.display = (blnVisible) ? 'block': 'none';
}
function placeIt(objName) {
	obj = document.getElementById(objName);
	var theLeft = document.body.scrollLeft;
	var theTop = document.body.scrollTop;
	
	/*
	if (document.documentElement)
	{
		theLeft = document.documentElement.scrollLeft;
		theTop = document.documentElement.scrollTop;
	}
	else if (document.body)
	{
		theLeft = document.body.scrollLeft;
		theTop = document.body.scrollTop;
	}
	*/
	
	theLeft += offsetLeft;
	theTop += offsetTop;
	
	obj.style.left = theLeft + 'px' ; 
	obj.style.top = theTop + 'px' ; 
	
	setTimeout("placeIt('wsinfo')",timeout);
}

window.onScroll = setTimeout("placeIt('wsinfo')",timeout);
