function click() {
  if (event.button==2) {
    alert('Copyright© 2005 Dan Haberkorn');
  }
}
document.onmousedown=click