add:  viewsToolbarButton = document.getElementById("mailviews-container"); if (!viewsToolbarButton) document.getElementById('viewMessageViewMenu').collapsed = true;  
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', !IsMessagePaneCollapsed());          message_menuitem.setAttribute('disabled', gAccountCentralLoaded);      }  }  // Disable some menus if account manager is showing  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);  }  // 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: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/3d2a07b1bb4fe53a47005fdb8dbee5b6978c8b84/mailWindowOverlay.js/buggy/mail/base/content/mailWindowOverlay.js