suspendcode="<DIV id=lovexin1 style='Z-INDEX: 10; LEFT: 6px; POSITION: absolute; TOP: 105px; width: 100; height: 300px;'><img src='/ads/close.gif' onClick='javascript:window.hide(1)' width='100' height='14' border='0' vspace='3'><div style='height:100;width:100; font-size:24px; padding:10 10 10 10; background:url(/ads/malaysia-air.png);' style='cursor:hand' onClick='javascript:location.href=\"/tmpl.jsp?action_type=VIEW&ct=70&is=GC0000522\"'></div></DIV>"
//document.write(suspendcode);

suspendcode="<DIV id=lovexin3 style='Z-INDEX: 10; LEFT: 6px; POSITION: absolute; TOP: 425px; width: 100; height: 100px;'><img src='/ads/close.gif' onClick='javascript:window.hide(3)' width='100' height='14' border='0' vspace='3'><div style='height:100;width:100; font-size:24px; padding:10 10 10 10; background:url(/ads/foreign_service.png);' style='cursor:hand' onClick='javascript:location.href=\"/tmpl.jsp?action_type=VIEW&ct=30&is=GC0000430\"'></div></DIV>"
//document.write(suspendcode);



suspendcode="<DIV id=lovexin2 style='Z-INDEX: 10; LEFT: 896px; POSITION: absolute; TOP: 105px; width: 100; height: 100px;'><img src='/ads/close.gif' onClick='javascript:window.hide(2)' width='100' height='14' border='0' vspace='3'><div style='height:100;width:100; font-size:24px; padding:10 10 10 10; background:url(/ads/xmfscare.jpg);' style='cursor:hand' onClick='javascript:location.href=\"/tmpl.jsp?action_type=VIEW&ct=70&is=GC0000409\"'></div></DIV>"
document.write(suspendcode);

suspendcode="<DIV id=lovexin4 style='Z-INDEX: 10; LEFT: 896px; POSITION: absolute; TOP: 425px; width: 100; height: 100px;'><img src='/ads/close.gif' onClick='javascript:window.hide2(4)' width='100' height='14' border='0' vspace='3'><div style='height:100;width:100; font-size:24px; padding:10 10 10 10; background:url(/ads/tkl.gif);' style='cursor:hand' onClick='javascript:location.href=\"/tmpl.jsp?action_type=VIEW&ct=70&is=GC0000388\"'></div></DIV>"
//document.write(suspendcode);

lastScrollY=0;
function heartBeat(){

	diffY=document.body.scrollTop;
	percent=.3*(diffY-lastScrollY);
	if(percent>0)percent=Math.ceil(percent);
	else percent=Math.floor(percent);
	//document.all.lovexin1.style.pixelTop+=percent;
	//document.all.lovexin2.style.pixelTop+=percent;
	document.all.lovexin3.style.pixelTop+=percent;
	//document.all.lovexin4.style.pixelTop+=percent;
	lastScrollY=lastScrollY+percent;
}

function hide(num)
{   
	var obj = eval('lovexin' + num);
	obj.style.visibility="hidden";
}

window.setInterval("heartBeat()",1);
