= (height - Hoffset)) { y = 0; yPos = (height - Hoffset); } if (x) { xPos = xPos + step; } else { xPos = xPos - step; } if (xPos < 0) { x = 1; xPos = 0; } if (xPos >= (width - Woffset)) { x = 0; xPos = (width - Woffset); } img.style.left = xPos + document.body.scrollLeft; img.style.top = yPos + document.body.scrollTop; } function start() { interval = setInterval('changePos()', delay); } function pause_resume() { clearInterval(interval); } start(); 镜湖论坛 " />