/* IE_RC_Killa by Aman Wadhan */
if (window.Event) // Only Netscape will have the CAPITAL E.
  document.captureEvents(Event.MOUSEUP); // catch the mouse up event
// this function only applies to IE4, ignored otherwise.
function fnNoContextMenu() {
  event.cancelBubble = true
  event.returnValue = false;
  return false;
}
// This function is used by all others
function fnNoRightClick(e) {
  if (window.Event) {	// again, IE or NAV?
    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 = fnNoContextMenu;	// for IE5+
document.onmousedown = fnNoRightClick;		// for all others
