	var lastScrollY=0;
	var LeftDiv="ads_idx_float_left";
	var RightDiv="ads_idx_float_right";
	var margin=4;
	var top=90;
document.write("<div id='"+LeftDiv+"' style='POSITION:absolute;left:"+margin+"px;top:"+top+"px;'></div>");
document.write("<div id='"+RightDiv+"' style='POSITION:absolute;right:"+margin+"px;top:"+top+"px;'></div>");
function heartBeat(){
	var diffY;
	if (document.documentElement && document.documentElement.scrollTop){
		diffY = document.documentElement.scrollTop;
	}else if (document.body){
		diffY = document.body.scrollTop;
	}else{/*Netscape stuff*/}
	
	//alert(diffY);
	percent=.1*(diffY-lastScrollY);
	if(percent>0)percent=Math.ceil(percent);
	else percent=Math.floor(percent);
	
	//增加漂浮层
	Top=parseInt(document.getElementById(LeftDiv).style.top);
	document.getElementById(LeftDiv).style.top=parseInt(Top)+percent+"px";
	document.getElementById(RightDiv).style.top=parseInt(Top)+percent+"px";
	lastScrollY=lastScrollY+percent;
	//alert(lastScrollY);
}
window.setInterval("heartBeat()",1);
//heartBeat();