function protect(){
if(document.layers)
{
	
	document.captureEvents(Event.KEYPRESS|Event.MOUSEDOWN);
	function click1(e) {
	if (e.which>=2){alert('Sorry netscape user, this function is disabled');
		return false;	}else return true;
	}
	 function keyd1(e) {
		var keymod=e.modifiers;
		window.status=(keymod);
		if ((keymod>=1)){                
			alert('Sorry netscape user, this function is disabled');
		}
	}//end keyd
	document.onkeypress = keyd1;
document.onmousedown = click1;
} //end main if


else if (document.all){
function click() {
	if ((event.button>=2) ){
		alert('Sorry IE user, this function is disabled');
		return true;
	}
	else {return false;}
}
	 function keyd() {
	 //alert('Sorry, this function is disabled');
		if ((event.button>=0) ){
		alert('Sorry IE user, this function is disabled');
		return true;
	}
	else {return false;}

	}
	document.onkeydown = keyd;
document.onmousedown = click;
}//end else
}
