function click() {
if (event.button==2) {
alert('Please respect the copyright laws and do not attempt to save images.')
}
}
document.onmousedown=click
