// JavaScript Document
function click() {
if (event.button==2) {
alert('Ops!')
}
}
document.onmousedown=click
document.onmouseup=click