lastScrollY=0;
function heartBeat(){
var diffY;
if (document.documentElement && document.documentElement.scrollTop)
diffY = document.documentElement.scrollTop;
else if (document.body)
diffY = document.body.scrollTop
else
{/*Netscape stuff*/}

//alert(diffY);
percent=.1*(diffY-lastScrollY);
if(percent>0)percent=Math.ceil(percent);
else percent=Math.floor(percent);
document.getElementById("ALayer1").style.top=parseInt(document.getElementById("ALayer1").style.top)+percent+"px";
document.getElementById("ALayer2").style.top=parseInt(document.getElementById("ALayer1").style.top)+percent+"px";

lastScrollY=lastScrollY+percent;
//alert(lastScrollY);
}
suspendcode12="<DIV id=\"ALayer1\" style='left:0px;PosITION:absolute;TOP:120px;FILTER: alpha(opacity=85);'></div>"
suspendcode14="<div id=\"ALayer2\" style='PosITION:absolute;TOP:120px;FILTER: alpha(opacity=85);'><img src='ad.jpg' /><div align=right style='cursor: pointer;cursor: hand;'><img src='images/close.gif' border=0 onclick='closeBanner();' /></div></div>"
document.write(suspendcode12);
document.write(suspendcode14);
document.getElementById("ALayer2").style.left=(document.documentElement.offsetWidth-710)/2+680+"px";
window.setInterval("heartBeat()",1);
function closeBanner()
{
document.getElementById("ALayer1").style.display= 'none';
document.getElementById("ALayer2").style.display= 'none';
}