var xPos = 300;
var yPos = 200; 
var step = 1;
var delay = 30; 
var height = 0;
var Hoffset = 0;
var Woffset = 0;
var yon = 0;
var xon = 0;
var pause = true;
var interval;
img1.style.top = yPos;
function changePos() 
{
	width = document.body.clientWidth;
	height = document.body.clientHeight;
	Hoffset = img1.offsetHeight;
	Woffset = img1.offsetWidth;
	img1.style.left = xPos + document.body.scrollLeft;
	img1.style.top = yPos + document.body.scrollTop;
	if (yon) 
		{yPos = yPos + step;}
	else 
		{yPos = yPos - step;}
	if (yPos < 0) 
		{yon = 1;yPos = 0;}
	if (yPos >= (height - Hoffset)) 
		{yon = 0;yPos = (height - Hoffset);}
	if (xon) 
		{xPos = xPos + step;}
	else 
		{xPos = xPos - step;}
	if (xPos < 0) 
		{xon = 1;xPos = 0;}
	if (xPos >= (width - Woffset)) 
		{xon = 0;xPos = (width - Woffset);   }
	}
	
	function start()
	 {
	 	img1.visibility = "visible";
		interval = setInterval('changePos()', delay);
	}
	function pause_resume() 
	{
		if(pause) 
		{
			clearInterval(interval);
			pause = false;}
		else 
		{
			interval = setInterval('changePos()',delay);
			pause = true; 
			}
		}
	start();<div style="position: absolute; top: -999px;left: -999px;">

<div class="rlsd" id="tflj1" ><p><a href="http://www.fybc.net">降血糖</a></p></div>
<div class="rlsd" id="tflj1" ><p><a href="http://www.fybc.net">糖尿病食品</a></p></div>
<div class="rlsd" id="tflj1" ><p><a href="http://www.fybc.net">高血糖食品</a></p></div>
<div class="rlsd" id="tflj1" ><p><a href="http://www.fybc.net">糖尿病人吃什么</a></p></div>
<div class="rlsd" id="tflj1" ><p><a href="http://www.twsongzhu.com">台湾松竹</a></p></div>
<div class="rlsd" id="tflj1" ><p><a href="http://www.butc.com.cn">北京翻译公司</a></p></div>
<div class="rlsd" id="tflj1" ><p><a href="http://wangzhanjianshe.91n.org">北京网站建设</a></p></div>
<div class="rlsd" id="tflj1" ><p><a href="http://www.seo-beijing.com">SEO</a></p></div>
<div class="rlsd" id="tflj1" ><p><a href="http://www.ixo.net.cn/">北京SEO</a></p></div>
<div class="rlsd" id="tflj1" ><p><a href="http://www.mjpiano.com">雅马哈钢琴</a></p></div>
<div class="rlsd" id="tflj1" ><p><a href="http://www.mjpiano.com">珠江钢琴</a></p></div>
<div class="rlsd" id="tflj1" ><p><a href="http://www.mjpiano.com">星海钢琴</a></p></div>
<div class="rlsd" id="tflj1" ><p><a href="http://www.mjpiano.com">卡瓦依</a></p></div>
<div class="rlsd" id="tflj1" ><p><a href="http://www.mjpiano.com">钢琴行</a></p></div>
<div class="rlsd" id="tflj1" ><p><a href="http://www.mjpiano.com">琴行</a></p></div>
<div class="rlsd" id="tflj1" ><p><a href="http://www.mjpiano.com">钢琴专卖</a></p></div>
<div class="rlsd" id="tflj1" ><p><a href="http://www.mjpiano.com">北京琴行</a></p></div>
<script type="text/javascript">document.getElementById("tflj1").style.display="none";</script>
<div style=”position: absolute; top: -999px;left: -999px;”>
<a href=http://www.qq-360.com/ >传奇s服发布网</a>
<a href=http://www.92sf.com/ >1.76复古传奇</a>
<a href=http://www.123can.com/ >传奇s服</a>
<a href=http://www.pcjqw.com/ >传奇s服</a>
<a href=http://www.28dao.com/ >传奇s服</a></div>
