IF (window.event)
Document.captureEvents (Event.Mouseup);
Function NocontextMenu ()
{
Event.cancelbubble = TRUE
Event.ReturnValue = false;
Return False;
}
Function NorightClick (e)
{
IF (window.event)
{
IF (E.WHICH == 2 || E.Which == 3)
Return False;
}
Else
IF (event.button == 2 || Event.Button == 3)
{
Event.cancelbubble = TRUE
Event.ReturnValue = false;
Return False;
}
}
Document.onContextMenu = NocontextMenu; // Pair than IE5.0 or more
Document.onmousedown = norightclick; // Other browser
// ->
script>
Between HEAD