function CloseAdDiv(Key){
       Key.style.visibility="hidden";
     }
//if (document.body.clientWidth>=950) {////检测浏览窗口宽度start
  
lastScrollY=0;
suspendcode1="<DIV id=lovexin1 style='left:5px;POSITION:absolute;top:80px;'>";
suspendcode1+="<div style='margin-top:2px;'><a href='http://www.fzbooks.com/' target='_blank'><img src='images/ad_250.gif' height='250' width='100' alt='' border='0'></a></div>";
suspendcode1+="<div  class='DivCloseStyle' onclick='CloseAdDiv(lovexin1)'>关闭</div></div>";
document.write(suspendcode1);
//============================================================
width1=document.body.clientWidth-2-80-15;
suspendcode2="<DIV id=lovexin2 style='left:"+width1+"px;POSITION:absolute;top:80px;'>";
suspendcode2+="<div style='margin-top:2px;'><a href='http://www.apparelsos.com' target='_blank'><img src='images/ad_index.gif' height='250' width='100' alt='' border='0'></a></div>";
suspendcode2+="<div  class='DivCloseStyle'  onclick=\"CloseAdDiv(lovexin2)\" align='right'>关闭&nbsp;</div></div>";
document.write(suspendcode2);

//============================================================
//buttom1=document.body.clientHeight-100-5-20;
//suspendcode3="<DIV id=lovexin3 style='left:5px;POSITION:absolute;top:"+buttom1+"px;'>";
//suspendcode3+="<div style='margin-top:2px;'><a href='http://www.elace.com.cn/default.asp' target='_blank'><img src='images/ggd.gif' height='200' width='100' alt='' border='0'></a></div>";
//suspendcode3+="<div class='DivCloseStyle'  onclick=\"CloseAdDiv(lovexin3)\">关闭</div></div>";
//document.write(suspendcode3);
//========================================================
window.setInterval("heartBeat()",1)
//********************************************************

function heartBeat(){ 
diffY=document.body.scrollTop; 
percent=.1*(diffY-lastScrollY); 
if(percent>0)percent=Math.ceil(percent); 
else percent=Math.floor(percent); 
//document.all.lovexin1.style.pixelTop+=percent;原始数据
//********************************************************
lastScrollY=lastScrollY+percent; 
}
//}//检测浏览窗口宽度end