document.writeln('<div id=\"ad\" style=\"position:absolute\"> ');
document.writeln('<a href=\"http://www.210dy.com/\" target=\"_blank\"> ');
document.writeln('<img src=\"http://www.210dy.com/ppfilm/38zucn5.gif\" border=\"0\"> ');
document.writeln('</a></div> ');
document.writeln('<script> ');
document.writeln('var x = 50,y = 60 ');
document.writeln('var xin = true, yin = true ');
document.writeln('var step = 4 ');
document.writeln('var delay = 100 ');
document.writeln('var obj=document.getElementById(\"ad\") ');
document.writeln('function floatAD() { ');
document.writeln('var L=T=0 ');
document.writeln('var R= document.body.clientWidth-obj.offsetWidth ');
document.writeln('var B = document.body.clientHeight-obj.offsetHeight ');
document.writeln('obj.style.left = x + document.body.scrollLeft ');
document.writeln('obj.style.top = y + document.body.scrollTop ');
document.writeln('x = x + step*(xin?1:-1) ');
document.writeln('if (x < L) { xin = true; x = L} ');
document.writeln('if (x > R){ xin = false; x = R} ');
document.writeln('y = y + step*(yin?1:-1) ');
document.writeln('if (y < T) { yin = true; y = T } ');
document.writeln('if (y > B) { yin = false; y = B } ');
document.writeln('} ');
document.writeln('var itl= setInterval(\"floatAD()\", delay) ');
document.writeln('obj.onmouseover=function(){clearInterval(itl)} ');
document.writeln('obj.onmouseout=function(){itl=setInterval(\"floatAD()\", delay)} ');
document.writeln('</script>');
