function right_chk(evnt){
	if(navigator.appName == 'Netscape'){
		if (evnt.which >= 2){
			return false;}
	}
	else{
		if (event.button >= 2){
			//IE4 needs alert to cancel the ContextMenu event
			if ((navigator.appVersion).indexOf("MSIE 4.") > -1){
				alert("Login and use pc2p");
			}
			window.status = "pc2p";
			event.returnValue = true;
		}
		else{
			window.status = "";
			event.returnValue = true;
		}
	}
}

if (document.layers){
	window.captureEvents(Event.MOUSEDOWN);
	window.onmousedown = right_chk;
}
else{
	document.onmousedown = right_chk;
}