self.onError = null;
currentX = currentY = 0; 
whichIt = null; 
lastScrollX = 0; lastScrollY = 0;
NS = (document.layers) ? 1 : 0;
IE = (document.all) ? 1: 0;
<!-- STALKER CODE -->
function heartBeat(objectid) {
	if(IE) { diffY = document.body.scrollTop; diffX = document.body.scrollLeft; }
	if(NS) { diffY = self.pageYOffset; diffX = self.pageXOffset; }
	if(diffY != lastScrollY) {
		percent = .1 * (diffY - lastScrollY);
		if(percent > 0) percent = Math.ceil(percent);
		else percent = Math.floor(percent);
		if(IE) {
			objectid = objectid.split(";"); 
			for (i = 0; i < objectid.length; i++) eval("document.all."+objectid[i]).style.pixelTop += percent;
		}	
		if(NS) {
			objectid = objectid.split(";"); 
			for (i = 0; i < objectid.length; i++) eval("document."+objectid[i]).top += percent; 
		}	
		lastScrollY = lastScrollY + percent;
	}
	if(diffX != lastScrollX) {
		percent = .1 * (diffX - lastScrollX);
		if(percent > 0) percent = Math.ceil(percent);
		else percent = Math.floor(percent);
		if(IE) {
			objectid = objectid.split(";"); 
			for (i = 0; i < objectid.length; i++) eval("document.all."+objectid[i]).style.pixelLeft += percent;
		}
		if(NS) {
			objectid = objectid.split(";"); 
			for (i = 0; i < objectid.length; i++) eval("document."+objectid[i]).left += percent; 			
		}	
		lastScrollX = lastScrollX + percent;
	} 	
}

<!-- /STALKER CODE -->
<!--if(NS || IE) action = window.setInterval("heartBeat('floater;floater1;floater2;floater3')", 4);-->
if(NS || IE) action = window.setInterval("heartBeat('floater;floater1;floater2')", 3);
if (IE){
	//document.write("<DIV id='floater' style='LEFT: 5px; TOP: 310px; POSITION: absolute; WIDTH: 83; VISIBILITY: visible; Z-INDEX: 10;'><a href='http://news.tfol.com/10026/zt/zhm/200606/gaokao/gkcf.html' target='_blank'><IMG src='http://news.tfol.com/10026/zhangj/images/200606/100_100_0619.gif' height='100' width='100' border='0'></a></DIV>")
	document.write("<DIV id='floater1' style='LEFT: 5px; TOP: 120px; POSITION: absolute; WIDTH: 110; VISIBILITY: visible; Z-INDEX: 10;'><table width='110' height='150' border='0' cellpadding='0' cellspacing='0'><tr><td valign='top' background='images/gonggao.gif'><table width='110' border='0' cellpadding='0' cellspacing='0'><tr><td width='13' height='55'></td><td></td><td width='13'></td></tr><tr><td></td><td height=70 valign=top font-family: Arial>"+gonggao+"</td><td></td></tr></table></td></tr></table></DIV>");
	document.write("<DIV id='floater2' style='LEFT: 11px; TOP: 280px; POSITION: absolute; WIDTH: 95; VISIBILITY: visible; Z-INDEX: 10;'><a href='news/more.asp' target='_blank'><IMG src='images/news.gif' height='72' width='95' border='0' alt='ÄÏµº¹«¸æ'></a></DIV>")
	//document.write("<DIV id='floater3' style='left: 11px; TOP: 365px; POSITION: absolute; WIDTH: 95; VISIBILITY: visible; Z-INDEX: 10;'><a href='radio.asp'><IMG src='images/radio.gif' height='74' width='95' border='0'></a></DIV>")
	document.write("<DIV id='floater' style='right: 5px; TOP: 480px; POSITION: absolute; WIDTH: 83; VISIBILITY: visible; Z-INDEX: 10;'><a href='http://www.cdnet110.com/alert.aspx' target='_blank'><img src=http://nandaoxl.com/bbs/police.jpg width=75 height=100 border=0></a></DIV>")
}
if (NS){
	document.write("<layer id=myleft top=400 width=80 height=80></layer>");
} 
