add: if (this.onImage){ var saveImageMenuItem = document.getElementById( 'context-saveimage' ); var imageName = extractFileNameFromUrl(this.imageURL); var bundle = srGetStrBundle("chrome: var caption = bundle.formatStringFromName("saveImageAs",[imageName],1);  saveImageMenuItem.setAttribute( "value", caption ); } 
context:     initSaveItems : function () {        // Save page is always OK, unless in directory listing.        this.showItem( "context-savepage", !this.inDirList );            // Save frame as depends on whether we're in a frame.        this.showItem( "context-saveframe", this.inFrame );            // Save link depends on whether we're in a link.        this.showItem( "context-savelink", this.onSaveableLink );            // Save background image depends on whether there is one.        this.showItem( "context-savebgimage", this.hasBGImage );            // Save image depends on whether there is one.        this.showItem( "context-saveimage", this.onImage );        // Remove separator if none of these were shown.        var showSep = !this.inDirList || this.inFrame || this.onSaveableLink || this.hasBGImage || this.onImage;        this.showItem( "context-sep-save", showSep );    },
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/9ef3407586bdac1e0f97228b19c9e24445666b62/nsContextMenu.js/clean/suite/common/nsContextMenu.js