add:   this.showItem( "context-sep-bidi", gShowBiDi); this.showItem( "context-bidi-text-direction-toggle", this.onTextInput && gShowBiDi); this.showItem( "context-bidi-page-direction-toggle", !this.onTextInput && gShowBiDi); 
context:     initMiscItems : function () {        // Use "Bookmark This Link" if on a link.        this.showItem( "context-bookmarkpage", !( this.isTextSelected || this.onTextInput || this.onStandaloneImage ) );        this.showItem( "context-bookmarklink", this.onLink && !this.onMailtoLink );        this.showItem( "context-searchselect", this.isTextSelected && !this.onTextInput );        this.showItem( "frame", this.inFrame );        this.showItem( "frame-sep", this.inFrame );        var blocking = true;        if (this.popupURL)          try {            const PM = Components.classes["@mozilla.org/PopupWindowManager;1"]                       .getService(Components.interfaces.nsIPopupWindowManager);            blocking = PM.testPermission(this.popupURL) ==                       Components.interfaces.nsIPopupWindowManager.DENY_POPUP;          } catch (e) {          }        this.showItem( "popupwindow-reject", this.popupURL && !blocking);        this.showItem( "popupwindow-allow", this.popupURL && blocking);        this.showItem( "context-sep-popup", this.popupURL);    },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/36ad0ecac5a1f348dce32685ce039ffb3aff1663/nsContextMenu.js/clean/suite/common/nsContextMenu.js