<!--
function disableRightMouseclicks() {
	initMouseHandler();
}

function initMouseHandler() {
	if (document.layers) {
		document.captureEvents(Event.MOUSEDOWN);
	} else {
		document.oncontextmenu = contextmenuhandler;
	}
	document.onmousedown = mousedown;
}

function contextmenuhandler() {
	return false;
}

function mousedown(evt) {
	var isNS = (document.layers) ? true : false;
	var btncode = (isNS) ? evt.which : null; 
	if (!isNS) {
		btncode = event.button;
	}
	if (isNS) {
		if (btncode == 3) {	
			return false;		
		} else {
			routeEvent(evt);	
		}
	} else {		
		if (navigator.appName == "Microsoft Internet Explorer" && ((event.button == 2) || (event.button == 3))) {
			if (navigator.appVersion.indexOf("4.01") > 0) {
				alert("The right mouse button has been disabled.");
			}
			event.cancelBubble = false;
			event.returnValue = false;
			return false;
		}		
	}
}


//-->

