<!-- ALWAYS ON TOP FLOATING LAYER POP-UP -->
var y1 = 200;   // change the # on the left to adjuct the Y co-ordinate
(document.getElementById) ? dom = true : dom = false;

function hideIt() {
  if (dom) {document.getElementById("layer1").style.visibility='hidden';}
}

function showIt() {
  if (dom) {document.getElementById("layer1").style.visibility='visible';}
}

function placeIt() 
{
	if (dom && !document.all) 
	{
		document.getElementById("layer1").style.top = window.pageYOffset + (window.innerHeight - (window.innerHeight/2 + 150)) + "px";
		document.getElementById("layer1").style.left = window.pageYOffset + (window.innerWidth - (window.innerWidth/2 + 150)) + "px";
	}
	if (document.all) 
	{
		document.all["layer1"].style.top = document.documentElement.scrollTop + (document.documentElement.clientHeight - (document.documentElement.clientHeight/2 + 150)) + "px";
		document.all["layer1"].style.left = document.documentElement.scrollLeft + (document.documentElement.clientWidth - (document.documentElement.clientWidth/2 + 150)) + "px";
	}
	window.setTimeout("placeIt()", 10); 
}
