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 openwin2(url, winName, width, height) {
	xposition=0; yposition=0;
	if ((parseInt(navigator.appVersion) >= 4 ))	{
		xposition = (screen.width - width) / 2;
		yposition = (screen.height - height) / 2;
	}
	theproperty= "width=" + width + "," 
	+ "height=" + height + "," 
	+ "location=0," 
	+ "menubar=0,"
	+ "resizable=0,"
	+ "scrollbars=0,"
	+ "status=0," 
	+ "titlebar=0,"
	+ "toolbar=0,"
	+ "hotkeys=0,"
	+ "screenx=" + xposition + "," //仅适用于Netscape
	+ "screeny=" + yposition + "," //仅适用于Netscape
	+ "left=" + xposition + "," //IE
	+ "top=" + yposition; //IE 
	//window.open( url,winName,theproperty );
	newwin=window.open('','',theproperty );
	newwin.location.href =url;
	
	return false;
}	

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 -->

function ChooseImg() {
var oNow = new Date();
if(oNow.getHours()>=8 && oNow.getHours()<=18){
	return("<a onclick='javascript:a()' >  <script language='javascript'   type='text/javascript'> function a(){window.open(' http://web400.cndex.com/chatuser.aspx?id=LpNkmpFCXHsWQqjsJKaaaew3','_blank','toolbar=no,width=622,height=460')}  </script> <img src=' http://web400.cndex.com/UpFiles/online_style1.jpg' border=0/></a>");
}else{
	return("<a style='cursor:hand;'><img src='http://www.nj16300.net/images-tf/banner/offline_style1.jpg'></a>");
}
}

if (IE){action = window.setInterval("heartBeat('floater')", 1);
        document.write("<DIV id='floater' style='right: 1px; TOP: 100px; POSITION: absolute; WIDTH: 100; VISIBILITY: visible; Z-INDEX: 10;'><a href='http://v.tfol.com/ZT/tfkp09/dyjd' target='_blank'><IMG src='http://www.nj16300.net/images/banner/xtd100331.jpg' height='300' width='100' border='0'></a></DIV>");
    <!--document.write("<DIV id='floater1' style='left: 1px; TOP: 50px; POSITION: absolute; WIDTH: 100; VISIBILITY: visible; Z-INDEX: 10;'><a href='http://v.tfol.com/ZT/cjzt/' target='_blank'><IMG src='http://www.nj16300.net/images/banner/1002xtd.jpg' height='100' width='100' border='0'></a></DIV>");-->
	<!--document.write("<DIV id='floater2' style='left: 1px; TOP: 170px; POSITION: absolute; WIDTH: 100; VISIBILITY: visible; Z-INDEX: 10;'>"+ChooseImg()+"</DIV>");-->
       <!--document.write("<DIV id='floater3' style='left: 1px; TOP: 170px; POSITION: absolute; WIDTH: 100; VISIBILITY: visible; Z-INDEX: 10;'><a href='http://www.u6sky.com/scvnetactive/bjhy_index.html' target='_blank'><IMG src='http://www.nj16300.net/images/banner/xky2.gif' height='225' width='100' border='0'></a></DIV>");-->
}	
if (NS){
	document.write("<layer id=myleft top=400 width=80 height=80></layer>");
}	
