lastScrollY=0;
var floatadIntervalValue = 0;
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*/}
   
percent=.1*(diffY-lastScrollY);
if(percent>0)percent=Math.ceil(percent);
else percent=Math.floor(percent);
if(!document.getElementById('lovexin12')||!document.getElementById('lovexin14')){
	return;
}
document.getElementById("lovexin12").style.top=parseInt(document.getElementById("lovexin12").style.top)+percent+"px";
document.getElementById("lovexin14").style.top=parseInt(document.getElementById("lovexin12").style.top)+percent+"px";
lastScrollY=lastScrollY+percent;
}

function delfloatdiv(obj){
	pdiv = obj.parentNode.parentNode;
	pdiv.innerHTML = '';
	return false;
}

function autoDeleteDiv(){
	var tmpLeft = document.getElementById('lovexin12');
	tmpLeft.parentNode.removeChild(tmpLeft);
	var tmpRight = document.getElementById('lovexin14');
	tmpRight.parentNode.removeChild(tmpRight);
	if(floatadIntervalValue>0){
		window.clearInterval(floatadIntervalValue);
	}
}
//×ó±ß£º
suspendcode12="<div id='lovexin12' style='left:2px;position:absolute;top:320px;'>";
suspendcode12+="<div style='width:120px;height:13px;z-index:3;position:absolute;float:left;'>";
suspendcode12+="<img src='/images/check_error.gif' style='display:none;float:right;border:0px;cursor:pointer;padding-right:2px; ' alt='¹Ø±Õ' title='¹Ø±Õ' onclick='delfloatdiv(this)'>";
suspendcode12+="</div>";
suspendcode12+="<div style='float:left;z-index:1;position:absolute; display:none; '><a href='http://www.goodjd.com/consumer/Nokia20100501.html' target='_blank'><img src='http://images.goodjd.com/IndexAdmin/right0504.gif' width='120' height='240' border='0'/></a></div>";
suspendcode12+="</div>";
//ÓÒ±ß£º
suspendcode14="<div id='lovexin14' style='right:2px;position:absolute;top:320px;'>";
suspendcode14+="<div style='width:120px;height:13px;z-index:3;position:absolute;'>";
suspendcode14+="<img src='/images/check_error.gif' style='border:0px;cursor:pointer; float:right;padding-right:1px;padding-top:1px;' alt='¹Ø±Õ' title='¹Ø±Õ' onclick='delfloatdiv(this)'>";
suspendcode14+="</div>";
suspendcode14+="<div style='z-index:1'><a href='http://www.goodjd.com/act/liuyecuxiao.html' target='_blank'><img src='http://images.goodjd.com/IndexAdmin/liuy100602.gif' width='120' height='240' border='0'/></a></div></div>";

document.write(suspendcode12);
document.write(suspendcode14);
floatadIntervalValue = window.setInterval("heartBeat()",1);
window.setTimeout("autoDeleteDiv()",60*1000);