﻿// JScript 文件

var speed=30 
document.getElementById('product2').innerHTML=product1.innerHTML;
function Marquee(){ 
if(product2.offsetWidth-product.scrollLeft<=0) 
product.scrollLeft-=product1.offsetWidth 
else{ 
product.scrollLeft++ 
} 
} 
var MyMar=setInterval(Marquee,speed) 
product.onmouseover=function() {clearInterval(MyMar)} 
product.onmouseout=function() {MyMar=setInterval(Marquee,speed)} 