﻿// JScript File

x = 800;
y = 50;
function setVisible(obj)
{
	obj = document.getElementById(obj);
	obj.style.visibility = (obj.style.visibility == 'visible') ? 'hidden' : 'visible';
}
function setVisibleFalse(obj,helpId)
{
	obj = document.getElementById(obj);
	obj.style.visibility = 'hidden';
	var hdnhlpId=document.getElementById(helpId);
    hdnhlpId.value='0';
   
}

function CloseHelpWindow(obj)
{
	obj = document.getElementById(obj);
	obj.style.visibility = 'hidden';
	WriteCookie('Help','0','1');
   
}


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.r = theLeft + 'px' ;
	//obj.style.top = theTop + 'px' ;
	setTimeout("placeIt('layer1')",500);
}
window.onscroll = setTimeout("placeIt('layer1')",500);
