You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

36 lines
893 B

<SCRIPT language="JavaScript">
<!--
// $Id: rmouse.js,v 1.1.1.1 2004/01/09 09:22:07 jeffo Exp $
function right(e) {
if ("<%=SYSTEM.blockrightclick%>" == 0) {
return true;
}
if ("<%=SESSION.uac%>" == "gadmin") {
return true;
}
if (navigator.appName == 'Netscape' && (e.which == 3 || e.which == 2)) {
alert("<%=PHRASE.473%>");
return true;
} else {
if (navigator.appName == 'Microsoft Internet Explorer' &&
(event.button == 2 || event.button == 3)) {
alert("<%=PHRASE.473%>");
return true;
}
}
return true;
}
document.onmousedown=right;
document.onmouseup=right;
if (document.layers)
window.captureEvents(Event.MOUSEDOWN);
if (document.layers)
window.captureEvents(Event.MOUSEUP);
window.onmousedown=right;
window.onmouseup=right;
//-->
</SCRIPT>