function noRightClick() {
if (event.button==2) {
alert('NO WAY! ;)')
}
}
document.onmousedown=noRightClick
