suspendcode="<DIV id='lovexin1' style='Z-INDEX: 10; LEFT: 3px; POSITION: absolute; TOP: 270px; width: 100; height: 365px;display:none'><div onclick='hidead();' style='font-size: 9pt; cursor: hand' align='right'>Close</div></DIV>"
document.write(suspendcode);

suspendcode = "<DIV id=lovexin2 style='Z-INDEX: 10; RIGHT:160px; POSITION: absolute; top: 2px;Right:1px; width: 100; height: 650;'><div id='ss'><img src='image/wx.jpg' width='160' height='105'></div></DIV>"
document.write(suspendcode);

lastScrollY=0;
function heartBeat(){
diffY=document.body.scrollTop||document.documentElement.scrollTop;
percent=.3*(diffY-lastScrollY);
if(percent>0)percent=Math.ceil(percent);
else percent=Math.floor(percent);
document.all.lovexin1.style.pixelTop+=percent;
document.all.lovexin2.style.pixelTop+=percent;
lastScrollY=lastScrollY+percent;
}
function hide()  
{   
lovexin1.style.visibility="hidden"; 
lovexin2.style.visibility="hidden";
}
function hidead()
{ 
document.getElementById("lovexin1").style.display = 'none';
}
window.setInterval("heartBeat()",1);
