rem: 'menu_textZoom']; 
add: 'menu_textZoom', 'cmd_minimizeWindow', 'cmd_zoomWindow']; var broadcaster;  
context: function hiddenWindowStartup(){  // focus the hidden window  window.focus();  // Disable menus which are not appropriate  var disabledItems = ['cmd_close', 'Browser:SendPage', 'Browser:EditPage',                       'cmd_printSetup', /*'Browser:PrintPreview',*/                       'Browser:Print', 'canGoBack', 'canGoForward',                       'Browser:Home', 'Browser:AddBookmark',                       'Browser:AddBookmarkAs', 'Browser:AddGroupmarkAs',                       'cmd_undo', 'cmd_redo', 'cmd_cut', 'cmd_copy',                       'cmd_paste', 'cmd_delete', 'cmd_selectAll',                       'menu_textZoom'];  for (var id in disabledItems) {    var broadcaster = document.getElementById(disabledItems[id]);    if (broadcaster)      broadcaster.setAttribute("disabled", "true");  }  // Get the preferences service  var prefService = Components.classes["@mozilla.org/preferences-service;1"]                              .getService(Components.interfaces.nsIPrefService);  pref = prefService.getBranch(null);  // init global strings bundle  gNavigatorBundle = document.getElementById("bundle_navigator");  // now load bookmarks after a delay  setTimeout(hiddenWindowLoadBookmarksCallback, 0);}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/9721dc1197acec1d4632b859867b515b31277a00/navigator.js/buggy/xpfe/browser/resources/content/navigator.js