setTimeout(function(){
$("div[widgetname=REPORT4]").find("#frozen-north")[0].style.overflow="hidden";
$("div[widgetname=REPORT4]").find("#frozen-center")[0].style.overflow="hidden";
},600);
//隐藏报表块report4的滚动条
window.flag=true;
setTimeout(function(){
$("#frozen-center").mouseover(function()
{
window.flag=false;
})
//鼠标悬停,滚动停止
$("#frozen-center").mouseleave(function()
{
window.flag=true;
})
//鼠标离开,继续滚动
var old=-1;
var interval=setInterval(function()
{
if(window.flag){
currentpos=$("div[widgetname=REPORT4]").find("#frozen-center")[0].scrollTop;
if (currentpos==old){
$("div[widgetname=REPORT4]").find("#frozen-center")[0].scrollTop=0;
}
else {
old=currentpos;
//REPORT4 以100ms的速度每次滚动1.5PX
$("div[widgetname=REPORT4]").find("#frozen-center")[0].scrollTop=currentpos+1.5;
}
}
},100);
},1000)