// JavaScript Document
lastadScrollY=-130;
function bottomscroll(){ 
var diffadY;
if (document.documentElement && document.documentElement.scrollTop)
    diffadY = document.documentElement.scrollTop;
else if (document.body)
    diffadY = document.body.scrollTop
else
    {/*Netscape stuff*/}
    
//alert(diffadY);
percent=.1*(diffadY-lastadScrollY); 
if(percent>0)percent=Math.ceil(percent); 
else percent=Math.floor(percent); 
document.getElementById("bottomAD").style.top=parseInt(document.getElementById("bottomAD").style.top)+percent+"px";
document.getElementById("bottomAD1").style.top=parseInt(document.getElementById("bottomAD1").style.top)+percent+"px";
document.getElementById("bottomAD2").style.top=parseInt(document.getElementById("bottomAD2").style.top)+percent+"px";
document.getElementById("bottomAD3").style.top=parseInt(document.getElementById("bottomAD3").style.top)+percent+"px";
document.getElementById("bottomAD4").style.top=parseInt(document.getElementById("bottomAD3").style.top)+percent+"px";
lastadScrollY=lastadScrollY+percent; 
//alert(lastScrollY);
}
var lngTop=0;
var lngHeight=200;
if (document.documentElement && document.documentElement.clientHeight)
    lngHeight = document.documentElement.clientHeight;
else if (document.body)
    lngHeight = document.body.clientHeight
else
    {/*Netscape stuff*/}

lngHeight=parseInt(lngHeight);
if (parseInt(lngHeight)>300) lngTop=parseInt(lngHeight-280); else lngTop=900;
bottomhtml="<DIV id=\"bottomAD\" style='right:1px;POSITION:absolute;TOP:" + lngTop + "px;'></div>"
bottomhtml2="<DIV id=\"bottomAD2\" style='right:203px;POSITION:absolute;TOP:" + lngTop + "px;'></div>"
bottomhtml3="<DIV id=\"bottomAD3\" style='left:405px;POSITION:absolute;TOP:" + lngTop + "px;'></div>"
bottomhtml1="<DIV id=\"bottomAD1\" style='left:202px;POSITION:absolute;TOP:" + lngTop + "px;'></div>"
bottomhtml4="<DIV id=\"bottomAD4\" style='left:2px;POSITION:absolute;TOP:" + lngTop + "px;'></div>"
document.write(bottomhtml + bottomhtml1 + bottomhtml2 + bottomhtml3 + bottomhtml4); 
window.setInterval("bottomscroll()",1);
