//文字往上滚动一行效果
window.onload=function()
{
 var o=document.getElementById('NewBoxtopr');
 window.setInterval(function(){scrollup(o,67,0);},5000);
}

var pause = false;
function scrollup(o,d,c)
{
 if(pause) {return;}
 if(d==c){
  var t=o.firstChild.cloneNode(true);
  o.removeChild(o.firstChild);
  o.appendChild(t);
  t.style.marginTop=o.firstChild.style.marginTop='0px';
 }
 else{
  var s=3,c=c+s,l=(c>=d?c-d:0);
  o.firstChild.style.marginTop=-c+l+'px';
  o.onmouseover=function(){pause=true;}
  o.onmouseout=function(){pause=false;}
  window.setTimeout(function(){scrollup(o,d,c-l)},50);
 }
}




