/*????(??????????)*/
marqueetable = document.all.table01;
scrollheight=360;//????
scrollline=2;//??????? 
scrolltimeout = 5;//???????(??)
//??????????,
//scrollstoptimes*scrolltimeout???????? 
scrollstoptimes = 200;

/*???????(????)*/
marqueetable.scrollTop=0;  
stopscroll1=false;  
 startmarqueetop=0;
 offsettop=scrollheight;
 marqueestoptime=0;
 marqueetable.innerHTML+=marqueetable.innerHTML; 
with(marqueetable){
 style.width=672;
 style.height=scrollheight;
 style.overflowX="hidden";
 style.overflowY="hidden";
 noWrap=true;
 onmouseover=new Function("stopscroll1=true");
 onmouseout=new Function("stopscroll1=false");
}
function setmarqueetime()
{
 marqueetable.scrollTop=0;
 setInterval("marqueeup()",scrolltimeout);//???????
}
function marqueeup(){  
 if(stopscroll1==true) return;   
 offsettop+=1;  
 if(offsettop==scrollheight+1)   
 { 
  marqueestoptime+=1;   
  offsettop-=1;   
  if(marqueestoptime==scrollstoptimes)//?????
  {
   offsettop=0; 
   marqueestoptime=0;
  }
 }
 else
  {
  startmarqueetop=marqueetable.scrollTop;   
  marqueetable.scrollTop+=1;  
  if(startmarqueetop==marqueetable.scrollTop)
  { 
   marqueetable.scrollTop=scrollheight*(scrollline-1); 
   marqueetable.scrollTop+=1; 
  } 
  } 
} 
setmarqueetime();  

