etTimeout(function() {
var $report = $("div[widgetname=REPORT3]");
var $scroll = $report.find("#frozen-center");
var flag = window.flag0;
$report.find("#frozen-center").css('overflow-x', 'hidden');
$report.find("#frozen-center").css('overflow-y', 'hidden');
$report.find("#frozen-north").css('overflow-x', 'hidden');
$report.find("#frozen-north").css('overflow-y', 'hidden');
//冻结情况下隐藏滚动条
$report.find(".reportContent").css('overflow-y', 'hidden');
$report.find(".reportContent").css('overflow-x', 'hidden');
flag = true;
$scroll.mouseover(function() {
flag = false;
})
$scroll.mouseleave(function() {
flag = true;
})
var old = -1;
setInterval(function() {
if (flag) {
currentpos = $scroll[0].scrollTop;
if (currentpos == old) {
$scroll[0].scrollTop = 0;
} else {
old = currentpos;
$scroll[0].scrollTop = currentpos + 1.5;
}
}
}, 25);
}, 500);