var message="no no no.. thats not right.."; // Message for the alert box function click(e) { if (document.all) { if (event.button == 2) { // Don't edit below! alert(message); return false; } } if (document.layers) { if (e.which == 3) { alert(message); return false; } } } if (document.layers) { document.captureEvents(Event.MOUSEDOWN); } document.onmousedown=click; // -->