theObjects = document.getElementsByTagName("object");
for (var i = 0; i < theObjects.length; i++) 
	{
	theObjects[i].outerHTML = theObjects[i].outerHTML;
	}
	
	var message="You may not right mouse click this page.";
	if (navigator.appName == 'Microsoft Internet Explorer'){
	function NOclickIE(e) {
	if (event.button == 2 || event.button == 3) {
	alert(message);
	return false;
	}
	return true;
	}
	document.onmousedown=NOclickIE;
	document.onmouseup=NOclickIE;
	window.onmousedown=NOclickIE;
	window.onmouseup=NOclickIE;
	}
	else {
	function NOclickNN(e){
	if (document.layers||document.getElementById&&!document.all){
	if (e.which==2||e.which==3){
	alert(message);
	return false;
	}}}
	if (document.layers){
	document.captureEvents(Event.MOUSEDOWN);
	document.onmousedown=NOclickNN; }
	document.oncontextmenu=new Function("alert(message);return false")
	}

