var strArray=new Array();
strArray[0]='<font color="white">·</font><a   href="login.asp" target="_blank" ><font color="white">想发布你的网站吗，赶快点我吧！</font></a>'
strArray[1]='<font color="white">·</font><a   href="http://www.57suanming.cn" target="_blank" ><font color="white">想免费算命吗，赶快点我吧！</font></a>'
strArray[2]='<font color="white">·</font><a   href="seo/" target="_blank" ><font color="white">想查询你的网站被收录了没有吗，赶快点我吧！</font></a>'
strArray[3]='<font color="white">·</font><a   href="alexa/" target="_blank" ><font color="white">想提高你站点的流量吗，赶快点这里</font></a>'
strArray[4]='<font color="white">·</font><a   href="dlk.htm" target="_blank" ><font color="white">咱就去114便民网搜索引擎登录口大全</font></a>'
strArray[5]='<font color="white">·</font><a   href="http://www.97jiemeng.cn" target="_blank" ><font color="white">低价全能双线空间优惠进行中</font></a>'
strArray[6]='<font color="white">·</font><a   href="http://www.97jiemeng.cn" target="_blank" ><font color="white">低价全能双线空间优惠进行中</font></a>'
showId=Math.floor(Math.random()*7);
tempStr=strArray[showId];
strArray[showId]=strArray[0];
strArray[0]=tempStr;
              
document.write('<table width=380 border=0 cellspacing=0 cellpadding=0>'
+'<tr><td>'
+'<div id="toptable" >'
+'<table width=300 border=0 cellspacing=0 cellpadding=0 >'
+'<tr><td width=300 height=21 >'+strArray[0]+'</td></tr>'
+'<tr><td height=21 >'+strArray[1]+'</td></tr>'
+'<tr><td height=21 >'+strArray[2]+'</td></tr>'
+'<tr><td height=21 >'+strArray[3]+'</td></tr>'
+'<tr><td height=21 >'+strArray[4]+'</td></tr>'
+'<tr><td height=21 >'+strArray[5]+'</td></tr>'
+'<tr><td height=21 >'+strArray[6]+'</td></tr>'
+'</td></tr>'
+'</table>'
+'</div>'
+'</td></tr>'
+'</table>');

marqueesHeight=21;
stopscroll=false;
toptable.scrollTop=0;

with(toptable){
  style.width=0;
  style.height=marqueesHeight;
  style.overflowX="visible";
  style.overflowY="hidden";
  noWrap=true;
  onmouseover=new Function("stopscroll=true");
  onmouseout=new Function("stopscroll=false");
}

preTop=0; currentTop=21; stoptime=0;
toptable.innerHTML+=toptable.innerHTML;

function init_srolltext(){
  toptable.scrollTop=0;
  setInterval("scrollUp()",40);
}init_srolltext();

function scrollUp(){
  if(stopscroll==true) return;
  currentTop+=1;
  if(currentTop==22)
  {
  	stoptime+=1;
  	currentTop-=1;
  	if(stoptime==80) 
  	{
  		currentTop=0;
  		stoptime=0;
  	}
  }
  else {  	
	  preTop=toptable.scrollTop;
	  toptable.scrollTop+=1;
	  if(preTop==toptable.scrollTop){
	    toptable.scrollTop=42;
	    toptable.scrollTop+=1;
	  }
  }

}