gundongHeight=135;

stopscroll=false;



with(gundong){

  style.width=170;

  style.height=gundongHeight;

  style.overflowX="visible";

  style.overflowY="hidden";

  noWrap=true;

  onmouseover=new Function("stopscroll=true");

  onmouseout=new Function("stopscroll=false");

}

document.write('<div id="templayer" style="position:absolute;z-index:1;visibility:hidden"></div>');



preTop=0; currentTop=0;

function scrollUp(){

  if(stopscroll==true) return;

  preTop=gundong.scrollTop;

  gundong.scrollTop+=1;

  if(preTop==gundong.scrollTop){

    gundong.scrollTop=templayer.offsetHeight-gundongHeight;

    gundong.scrollTop+=1;

  }

}
