/*********************
*  滚动内容展示对象  *
*  Hi~AJAX  2006-11  *
*********************/
function gun(height,speed,stopTime,container,content,copy){
   var he=height;
   var sp=speed;
   var st=stopTime;
   copy.innerHTML=content.innerHTML;
   var x=0;

   function Marquee(){
   	   if(copy.offsetWidth-container.scrollLeft<=0)
	   		container.scrollLeft-=copy.offsetWidth;
	   else{
	   		if(x<=he){
	   			container.scrollLeft++;
			}
			if(x>he+st){
				x=0;
			}
			x++;
	   }
	   //cctv.innerHTML=copy.offsetWidth+":"+container.scrollLeft+":"+x;
   }
   var MyMar=setInterval(Marquee,sp)
   container.onmouseover=function() {clearInterval(MyMar)}
   container.onmouseout=function() {MyMar=setInterval(Marquee,sp)}
}