rem: element.setAttribute("style","display: inline;" ); 
add: if (this.imageURL) { element.setAttribute("style","display: inline;" ); element.setAttribute("disabled","false" ); } else { element.setAttribute("style","display: none;" ); element.setAttribute("disabled","true" ); } 
context:     checkForImageBlocker: function () {      pref = Components.classes['component://netscape/preferences'];      pref = pref.getService();      pref = pref.QueryInterface(Components.interfaces.nsIPref);      try {        if (pref.GetBoolPref("imageblocker.enabled")) {          var element = document.getElementById("context-blockimage");          element.setAttribute("style","display: inline;" );        }      } catch(e) {      }    },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/b108420bacbf7665e123746627378161e33ed456/nsContextMenu.js/buggy/xpfe/browser/resources/content/nsContextMenu.js