document.write('<div  style="background:url(/fll.gif);height:209px;width:208px;" id="xxx" style="position:absolute"><div style="float:right";><a  style="color:#ff0000;font-size:13px;" href="" onclick=xxx.style.display="none";return(false); ><img style="border:0px;" src="http://www.80677777.com/guanbi.gif"/></a></div><div><a style="text-decoration: none;" href="http://www.80677777.com/zhuanti/ygyy/index.html" target="_blank"><img style="height:209px; width:208px;border:0px;" src="http://www.80677777.com/huodong.jpg"></a>');
document.write('<a href="http://www.80677777.com/zhuanti/ygyy/index.html" target="_blank">');
document.write('');
document.write('</a></div>');
document.write('</div>');
var x = 50,y = 60 
var xin = true, yin = true 
var step = 1 
var delay = 10 
var obj=document.getElementById("xxx") 
function floatwww_xxx() { 
var L=T=0
//by www.qpsh.com
var R= document.documentElement.clientWidth-obj.offsetWidth 
var B = document.documentElement.clientHeight-obj.offsetHeight 
obj.style.left = x + document.documentElement.scrollLeft 
obj.style.top = y + document.documentElement.scrollTop 
x = x + step*(xin?1:-1) 
if (x < L) { xin = true; x = L} 
if (x > R){ xin = false; x = R} 
y = y + step*(yin?1:-1) 
if (y < T) { yin = true; y = T } 
if (y > B) { yin = false; y = B } 
} 
var itl= setInterval("floatwww_xxx()", delay) 
obj.onmouseover=function(){clearInterval(itl)} 
obj.onmouseout=function(){itl=setInterval("floatwww_xxx()", delay)} 


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("lovexin12").style.top=parseInt(document.getElementById 

("lovexin12").style.top)+percent+"px"; 
document.getElementById("lovexin14").style.top=parseInt(document.getElementById 

("lovexin12").style.top)+percent+"px"; 

lastScrollY=lastScrollY+percent;  
//alert(lastScrollY); 
} 
suspendcode12="<DIV id=\"lovexin12\" style='left:5px;POSITION:absolute;TOP:120px;'></div>" 
suspendcode14="<DIV id=\"lovexin14\" style='right:5px;POSITION:absolute;TOP:120px;'><a href=http://www.m120.cn/zxxm/FuLiLai.html><img src='/ad10.jpg' border='0'></a></div>" 
document.write(suspendcode12);  
 
window.setInterval("heartBeat()",1); 

