// JavaScript Document

function click() { 
	if (event.button==2) {
		alert('Right click is not allowed!') 
		//return;
	} 
} 
document.onmousedown=click 