function rightClick(e) {
if (document.all) {
   if (event.button == 2) {
    alert("Our apologies, this feature is not available on this page :)");
    return false;
    }
}
if (navigator.appName == 'Netscape' && e.which == 3)  {
alert("Our apologies, this feature is not available on this page :)");
return false;
}
}
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown=rightClick;