function noRightClick() { 
if (event.button==2) { 
alert('Eh no, non si puņ...') 
} 
}
document.onmousedown=noRightClick 