add:  var sort_menuitem = document.getElementById('viewSortMenu'); if (sort_menuitem) { sort_menuitem.setAttribute("disabled", gAccountCentralLoaded); } var view_menuitem = document.getElementById('viewMessageViewMenu'); if (view_menuitem) { view_menuitem.setAttribute("disabled", gAccountCentralLoaded); } var threads_menuitem = document.getElementById('viewMessagesMenu'); if (threads_menuitem) { threads_menuitem.setAttribute("disabled", gAccountCentralLoaded); }  
context: function view_init(){  if (!gMessengerBundle)      gMessengerBundle = document.getElementById("bundle_messenger");  var message_menuitem=document.getElementById('menu_showMessage');  if (message_menuitem)  {      var message_menuitem_hidden = message_menuitem.getAttribute("hidden");      if(message_menuitem_hidden != "true"){          message_menuitem.setAttribute('checked',!IsThreadAndMessagePaneSplitterCollapsed());      }  }  // Initialize the View Attachment Inline menu  var viewAttachmentInline = pref.getBoolPref("mail.inline_attachments");  document.getElementById("viewAttachmentsInlineMenuitem").setAttribute("checked", viewAttachmentInline ? "true" : "false");  document.commandDispatcher.updateCommands('create-menu-view');}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/35d3fada4cb8e694fba6cfb9bd4859b7a5bad4bd/mailWindowOverlay.js/clean/mailnews/base/resources/content/mailWindowOverlay.js