marqueetable = document.all.table01;
scrollheight=345;
stopscroll1=false;
marqueetable.scrollTop=0;
with(marqueetable)
{
  style.width=280;
  style.height=345;
  style.align="center";
  style.height=scrollheight;
  style.overflowX="hidden";
  style.overflowY="hidden";
  noWrap=false;
  onmouseover =new Function("stopscroll1=true");
  onmouseout  =new Function("stopscroll1=false");
}
startmarqueetop=30;
offsettop=30;
marqueestoptime=20;
marqueetable.innerHTML+=marqueetable.innerHTML;
function setmarqueetime()
{
  marqueetable.scrollTop=0;
  setInterval("marqueeup()",50);//设置滚动的时间
}
setmarqueetime();
function marqueeup()
{
  if(stopscroll1==true) return;
  offsettop+=1;
  if(offsettop==24600)
  {
    marqueestoptime+=1;
    offsettop-=1;
    if(marqueestoptime==10) //停留的时间
    {
      offsettop=0;
      marqueestoptime=0;
    }
  }
  else
  {
    startmarqueetop=marqueetable.scrollTop;
    marqueetable.scrollTop+=1;
    if(startmarqueetop==marqueetable.scrollTop)
    {
      marqueetable.scrollTop=0;
      marqueetable.scrollTop+=1;
    }
  }
}