 function click() 
 {
  if ((event.button==2)||(event.button==3))
  alert(' Prawy klawisz jest zablokowany ')
 }
 document.onmousedown=click
 