document.writeln("<!-- 代码从此处开始复制 -->");
document.writeln("<div id=\"img\" style=\"position:absolute;;\"><SPAN id=ad_01>稍等载入中...<\/SPAN><\/div>");
document.writeln("<script LANGUAGE=\"JavaScript\">");
document.writeln("var xPos = 20;");
document.writeln("var yPos = 10;");
document.writeln("img.style.left= xPos;");
document.writeln("img.style.top = yPos;");
document.writeln("var step = 1;");
document.writeln("var delay = 30; ");
document.writeln("var width,height,Hoffset,Woffset;");
document.writeln("var y = 1;");
document.writeln("var x = 1;");
document.writeln("var interval;");
document.writeln("img.visibility = \"visible\";");
document.writeln("");
document.writeln("function changePos() ");
document.writeln("{");
document.writeln("  width = document.body.clientWidth;");
document.writeln("  height = document.body.clientHeight;");
document.writeln("  Hoffset = img.offsetHeight;");
document.writeln("  Woffset = img.offsetWidth;");
document.writeln("  if (y) ");
document.writeln("  {");
document.writeln("    yPos = yPos + step;");
document.writeln("  }");
document.writeln("  else ");
document.writeln("  {");
document.writeln("    yPos = yPos - step;");
document.writeln("  }");
document.writeln("  if (yPos < 0) ");
document.writeln("  {");
document.writeln("    y = 1;");
document.writeln("    yPos = 0;");
document.writeln("  }");
document.writeln("  if (yPos >= (height - Hoffset)) ");
document.writeln("  {");
document.writeln("    y = 0;");
document.writeln("    yPos = (height - Hoffset);");
document.writeln("  }");
document.writeln("  if (x) ");
document.writeln("  {");
document.writeln("    xPos = xPos + step;");
document.writeln("  }");
document.writeln("  else ");
document.writeln("  {");
document.writeln("    xPos = xPos - step;");
document.writeln("  }");
document.writeln("  if (xPos < 0) ");
document.writeln("  {");
document.writeln("    x = 1;");
document.writeln("    xPos = 0;");
document.writeln("  }");
document.writeln("  if (xPos >= (width - Woffset)) ");
document.writeln("  {");
document.writeln("    x = 0;");
document.writeln("    xPos = (width - Woffset);");
document.writeln("  }");
document.writeln("  img.style.left = xPos + document.body.scrollLeft;");
document.writeln("  img.style.top = yPos + document.body.scrollTop;");
document.writeln("}");
document.writeln("");
document.writeln("function start() ");
document.writeln("{");
document.writeln("  interval = setInterval(\'changePos()\', delay);");
document.writeln("}");
document.writeln("");
document.writeln("function pause_resume() ");
document.writeln("{");
document.writeln("    clearInterval(interval);");
document.writeln("}");
document.writeln("start();");
document.writeln("<\/script>");
document.writeln("<!-- 代码复制结束 -->")
