<!--
var mypath='/js/float/'; // 此文件夹路径
var mylink = 'http://call.10101010.cn/call.aspx?id=3266c667-d4c4-4e4b-98e0-1f6007cdc0df'; //点击打开的链接地址
var myalign = 'right'; // 左边：left 或者 右边：right

function WriteQqStr()
{
	document.write('<DIV id="backi" style="' + myalign + ':10px; OVERFLOW: visible; POSITION: absolute; TOP: 140px;z-index:999999;">');
	document.write('<div><a href="' + mylink + '" target="_blank"><img src="' + mypath + 'cal.gif" style="border:0;" /></a></div>');
	document.write('<div style="text-align:right;"><img src="' + mypath + 'close.gif" style="cursor:pointer;" title="关闭" onclick="close_float_left();" /></div>');
	document.write('</DIV>');
}

function close_float_left() {
	backi.style.visibility = 'hidden';
}

lastScrollY = 0;

function heartBeat(){ 
	diffY = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop;

	percent = 0.1 * (diffY - lastScrollY);

	if(percent > 0) {
		percent = Math.ceil(percent);
	} else {
		percent = Math.floor(percent);
	}


	document.getElementById('backi').style.pixelTop += percent; 

	lastScrollY = lastScrollY + percent; 

} 

if (!document.layers) {
	WriteQqStr();window.setInterval("heartBeat()", 1);
}
//-->