//<!-- Original:  Martin Webb (martin@irt.org) -->
//
//<!-- This script and many more are available free online at -->
//<!-- The JavaScript Source!! http://javascript.internet.com -->
//

function right(e) {
if (navigator.appName == 'Netscape' && 
(e.which == 3 || e.which == 2)) {
history.back();
return false;
}
else if (navigator.appName == 'Microsoft Internet Explorer' && 
(event.button == 2 || event.button == 3)) {
history.back();
return false;
}
return true;
}

document.onmousedown=right;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
window.onmousedown=right;

