function popUp(URL,PopWidth,PopHeight) {
    day = new Date();
    id = day.getTime();
    eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width="+PopWidth+",height="+PopHeight+",left =240,top=90');");
}

var popp=0;

function popUp1(URL)
{	if(popp){
		if(!popp.closed)
		{
			popp.close();
		}
	}
	popp=open(URL,'','width=420,height=300,menubar=no,resizable=0,resizable=no,dependent=1,toolbar=no,top=90,left=240,scrollbars=0,statusbar=0,Maximizable=0,');
}



x = 20;
y = 70;
function setVisible(obj)
{
	obj = document.getElementById(obj);
	obj.style.visibility = (obj.style.visibility == 'visible') ? 'hidden' : 'visible';
}
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;
		theBottom = document.body.scrollBottom;
	}
	theLeft += x;
	theTop += y;
	theBottom +=y;
	obj.style.left = theLeft + 'px' ;
	obj.style.top = theTop + 'px' ;
	obj.style.bottom = theBottom + 'px' ;
	setTimeout("placeIt('layer1')",500);
}
window.onscroll = setTimeout("placeIt('layer1')",500);
//-->


