// JavaScript Document
lastadScrollY=0;
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";

lastadScrollY=lastadScrollY+percent; 
//alert(lastScrollY);
}
var lngTop=0;
var lngHeight=0;
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)>220) lngTop=parseInt(lngHeight-160); else lngTop=60;
bottomhtml="<DIV id=\"bottomAD\" style='right:1px;POSITION:absolute;TOP:" + lngTop + "px;z-index:100'><a href='http://www.77838.cn' target='_blank'><img border=0 width=220 height=150 src=/20093.gif></a></div>"
bottomhtml1="<DIV id=\"bottomAD1\" style='left:22px;POSITION:absolute;TOP:" + lngTop + "px;z-index:101'><a href='http://www.77838.cn' target='_blank'><img border=0 width=220 height=150 src=/0090330.gif></a></div>"
document.write(bottomhtml + bottomhtml1); 
window.setInterval("bottomscroll()",1);