x = 20;
y = 70;
function setVisible(name)
{
	var obj = document.getElementById(name);
	obj.style.visibility = (obj.style.visibility == 'visible') ? 'hidden' : 'visible';
        if( obj.style.visibility == 'visible' ) {
           window.onscroll = setTimeout("placeIt('"+name+"')",500);
        } else {
           window.onscroll = null;
        }
}
function placeIt(name)
{

        var obj = document.getElementById(name);
	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('"+name+"')",500);
}
