'viewTextZoomMenu', 'pageStyleMenu', 'charsetMenu', 'View:PageSource', 'View:FullScreen', 
'viewFullZoomMenu', 'pageStyleMenu', 'charsetMenu', 'View:PageSource', 'View:FullScreen', 
function nonBrowserWindowStartup(){  // Disable inappropriate commands / submenus  var disabledItems = ['cmd_newNavigatorTab', 'Browser:SavePage', 'Browser:SendLink',                       'cmd_pageSetup', 'cmd_print', 'cmd_find', 'cmd_findAgain', 'viewToolbarsMenu',                       'cmd_toggleTaskbar', 'viewSidebarMenuMenu', 'Browser:Reload', 'Browser:ReloadSkipCache',                       'viewTextZoomMenu', 'pageStyleMenu', 'charsetMenu', 'View:PageSource', 'View:FullScreen',                       'viewHistorySidebar', 'Browser:AddBookmarkAs', 'View:PageInfo', 'Tasks:InspectPage'];  var element;  for (var id in disabledItems)  {    element = document.getElementById(disabledItems[id]);    if (element)      element.setAttribute("disabled", "true");  }  // If no windows are active (i.e. we're the hidden window), disable the close, minimize  // and zoom menu commands as well  if (window.location.href == "chrome://browser/content/hiddenWindow.xul")  {    var hiddenWindowDisabledItems = ['cmd_close', 'minimizeWindow', 'zoomWindow'];    for (var id in hiddenWindowDisabledItems)    {      element = document.getElementById(hiddenWindowDisabledItems[id]);      if (element)        element.setAttribute("disabled", "true");    }    // also hide the window-list separator    element = document.getElementById("sep-window-list");    element.setAttribute("hidden", "true");  }  gNavigatorBundle = document.getElementById("bundle_browser");  setTimeout(nonBrowserWindowDelayedStartup, 0);}
5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5872/db7cd57c4ee083b474dffe689b52f577a52bb6f8/browser.js/buggy/browser/base/content/browser.js