document.writeln("<div id=\"ad\" style=\"position:absolute\">");
document.writeln("");
document.writeln("<a href=\"#\" class=\"STYLE8\" onClick=\"window.open (\'http:\/\/www.hanlinjy.com\/wsbm.asp\',\'go\', \'height=1024, width=1024,top=1024,  scrollbars=yes, left=1024, menubar=no\')\">");
document.writeln("");
document.writeln("<img src=\"http:\/\/www.hanlinjy.com\/images\/zaixianbaoming.gif\" width=\"125\" height=\"78\" border=\"0\"><\/a><\/div>");
document.writeln("");
document.writeln("<script>");
document.writeln("");
document.writeln("var x = 50,y = 60");
document.writeln("");
document.writeln("var xin = true, yin = true");
document.writeln("");
document.writeln("var step = 1");
document.writeln("");
document.writeln("var delay = 10");
document.writeln("");
document.writeln("var obj=document.getElementById(\"ad\")");
document.writeln("");
document.writeln("function floatAD() {");
document.writeln("");
document.writeln("var L=T=0");
document.writeln("");
document.writeln("var R= document.body.clientWidth-obj.offsetWidth");
document.writeln("");
document.writeln("var B = document.body.clientHeight-obj.offsetHeight");
document.writeln("");
document.writeln("obj.style.left = x + document.body.scrollLeft");
document.writeln("");
document.writeln("obj.style.top = y + document.body.scrollTop");
document.writeln("");
document.writeln("x = x + step*(xin?1:-1)");
document.writeln("");
document.writeln("if (x < L) { xin = true; x = L}");
document.writeln("");
document.writeln("if (x > R){ xin = false; x = R}");
document.writeln("");
document.writeln("y = y + step*(yin?1:-1)");
document.writeln("");
document.writeln("if (y < T) { yin = true; y = T }");
document.writeln("");
document.writeln("if (y > B) { yin = false; y = B }");
document.writeln("");
document.writeln("}");
document.writeln("");
document.writeln("var itl= setInterval(\"floatAD()\", delay)");
document.writeln("");
document.writeln("obj.onmouseover=function(){clearInterval(itl)}");
document.writeln("");
document.writeln("obj.onmouseout=function(){itl=setInterval(\"floatAD()\", delay)}");
document.writeln("");
document.writeln("<\/script>")
