function MM_reloadPage(init) {
	if (init==true) with (navigator) {
		if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
			document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; 
		}
	} else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}

MM_reloadPage(true);
self.onError=null;
currentX = currentY = 0;
whichIt = null;
lastScrollX = 0; lastScrollY = 0;
action = window.setInterval('heartBeat()',1);
 
function heartBeat() {
	try {
		diffY = document.body.scrollTop;
	} catch (e) { return; }
	
	diffX = 0;
	if (diffY != lastScrollY) {
		percent = .2 * (diffY - lastScrollY);
		if (percent > 0) {
			percent = Math.ceil(percent);
		} else {
			percent = Math.floor(percent);
		}
		try {
			document.all.layer_right.style.pixelTop += percent;
		} catch (e) { return; }
		lastScrollY = lastScrollY + percent;
	}
	
	if (diffX != lastScrollX) {
		percent = .2 * (diffX - lastScrollX);
		if (percent > 0) {
			percent = Math.ceil(percent);
		} else {
			percent = Math.floor(percent);
		}
		try {
			document.all.layer_right.style.pixelLeft += percent;
		} catch (e) { return; }
		lastScrollY = lastScrollY + percent;
	}
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
	window.open(theURL,winName,features);
}
