function click() {
if (event.button==2) {
alert(' Sorry the right button has been blocked !');
}
}
document.onmousedown=click
// --> 

