document.writeln("<div id=dd style='Z-INDEX:1;WIDTH:100px;POSITION:absolute;HEIGHT:132px'><a href='http://www.ifbb.cn/xwdt/wdnew/2009561289.html'><img src='http://www.ifbb.cn/images/ifbb.gif' width=80 height=40 border=0 alt='Âíµ½³É¹¦£¡'></a></div>");
document.writeln("<script language=JavaScript> ");
document.writeln("var xPos = 20;  ");
document.writeln("var yPos = document.body.clientHeight; ");
document.writeln("var step = 1; ");
document.writeln("var delay = 30; ");
document.writeln("var height = 0; ");
document.writeln("var Hoffset = 0; ");
document.writeln("var Woffset = 0; ");
document.writeln("var yon = 0; ");
document.writeln("var xon = 0; ");
document.writeln("var pause = true; ");
document.writeln("var interval; ");
document.writeln("dd.style.top = yPos; ");
document.writeln("function changePos() { ");
document.writeln("width = document.body.clientWidth;  ");
document.writeln("height = document.body.clientHeight;  ");
document.writeln("Hoffset = dd.offsetHeight; ");
document.writeln("Woffset = dd.offsetWidth; ");
document.writeln("dd.style.left = xPos + document.body.scrollLeft; ");
document.writeln("dd.style.top = yPos + document.body.scrollTop; ");
document.writeln("if (yon) { ");
document.writeln("yPos = yPos + step; ");
document.writeln("} ");
document.writeln("else { ");
document.writeln("yPos = yPos - step;");
document.writeln("} ");
document.writeln("if (yPos < 0) {");
document.writeln("yon = 1; ");
document.writeln("yPos = 0; ");
document.writeln("} ");
document.writeln("if (yPos >= (height - Hoffset)) { ");
document.writeln("yon = 0; ");
document.writeln("yPos = (height - Hoffset); ");
document.writeln("} ");
document.writeln("if (xon) { ");
document.writeln("xPos = xPos + step; ");
document.writeln("} ");
document.writeln("else { ");
document.writeln("xPos = xPos - step; ");
document.writeln("} ");
document.writeln("if (xPos < 0) { ");
document.writeln("xon = 1; ");
document.writeln("xPos = 0; ");
document.writeln("} ");
document.writeln("if (xPos >= (width - Woffset)) { ");
document.writeln("xon = 0; ");
document.writeln("xPos = (width - Woffset); ");
document.writeln("} ");
document.writeln("} ");
document.writeln("function start() { ");
document.writeln("dd.visibility = 'visible'; ");
document.writeln("interval = setInterval('changePos()', delay); ");
document.writeln("} ");
document.writeln("function pause_resume() { ");
document.writeln("if(pause) {clearInterval(interval);pause = false;} ");
document.writeln("else {interval = setInterval('changePos()',delay);pause = true;} ");
document.writeln("} ");
document.writeln("start(); ");
document.writeln("</script>");

