// JavaScript Document
function ScrollImgLeft(){
var speed=20
var scroll_begin = document.getElementById("scroll_begin");
var scroll_end = document.getElementById("scroll_end");
var scroll_div = document.getElementById("scroll_div");
scroll_end.innerHTML=scroll_begin.innerHTML
function Marquee(){
    if(scroll_end.offsetWidth-scroll_div.scrollLeft<=0)
      scroll_div.scrollLeft-=scroll_begin.offsetWidth
    else
      scroll_div.scrollLeft++
}
var MyMar=setInterval(Marquee,speed)
scroll_div.onmouseover=function() {clearInterval(MyMar)}
scroll_div.onmouseout=function() {MyMar=setInterval(Marquee,speed)}
}


<!-- 
//等比缩放 
function FGH_ImgUniformZoom(ImgD,ImgWidth,ImgHeight){ 
var image=new Image(); 
image.src=ImgD.src; 
if(image.width>0 && image.height>0){ 
   if(image.width/image.height>= ImgWidth/ImgHeight){ 
if(image.width>ImgWidth){      
ImgD.width=ImgWidth; 
ImgD.height=(image.height*ImgWidth)/image.width; 
}else{ 
ImgD.width=image.width;      
ImgD.height=image.height; 
} 
ImgD.alt=image.width+"×"+image.height; 
} 
   else{ 
if(image.height>ImgHeight){      
ImgD.height=ImgHeight; 
ImgD.width=(image.width*ImgHeight)/image.height;            
}else{ 
ImgD.width=image.width;      
ImgD.height=image.height; 
} 
ImgD.alt=image.width+"×"+image.height; 
} 
   } 
} 
-->
