﻿
var speed=60 
jsweb8_cn_top2.innerHTML=jsweb8_cn_top1.innerHTML //克隆jsweb8_cn_top1为jsweb8_cn_top2 
function Marquee1(){ 
//当滚动至jsweb8_cn_top1与jsweb8_cn_top2交界时 
if(jsweb8_cn_top2.offsetTop-jsweb8_cn_top.scrollTop<=0)   
jsweb8_cn_top.scrollTop-=jsweb8_cn_top1.offsetHeight //jsweb8_cn_top跳到最顶端 
else{ 
jsweb8_cn_top.scrollTop++;
} 
} 
var MyMar1=setInterval(Marquee1,speed)//设置定时器 
//鼠标移上时清除定时器达到滚动停止的目的 
jsweb8_cn_top.onmouseover=function() {clearInterval(MyMar1)} 
//鼠标移开时重设定时器 
jsweb8_cn_top.onmouseout=function(){MyMar1=setInterval(Marquee1,speed)} 

