_getInfoFlowList(page); } if(scrollTop>=pH){ oRTT.style.display='block'; }else{ oRTT.style.display='none'; } return scrollTop; }; oRTT.onclick=function(){ clearInterval(timer); timer=setInterval(function(){ var now=scrollTop; var speed=(0-now)/10; speed=speed>0?Math.ceil(speed):Math.floor(speed); if(scrollTop==0){ clearInterval(timer); } document.documentElement.scrollTop=scrollTop+speed; document.body.scrollTop=scrollTop+speed; }, 10); } });