rem: 'viewThreaded', 'viewAll', 'viewUnread', 'viewLabelMenuItem1', 
add: 'viewThreaded', 'viewMessageViewMenu', 'viewAll', 'viewUnread', 'viewLabelMenuItem1', 
context: function hiddenWindowStartup(){  // focus the hidden window  window.focus();  // Disable menus which are not appropriate  var disabledItems = ['newNewMsgCmd', 'menu_newFolder', 'newAccountMenuItem', 'menu_close',                       'menu_sendunsentmsgs', 'menu_subscribe', 'menu_renameFolder', 'menu_selectAll',                       'menu_showMessengerToolbar', 'menu_showSearchToolbar', 'menu_showTaskbar', 'menu_customizeToolbar',                       'messagePaneClassic', 'messagePaneWide', 'messagePaneVertical', 'menu_showMessage',                       'sortByDateMenuitem', 'sortByFlagMenuitem', 'sortByOrderReceivedMenuitem', 'sortByPriorityMenuitem',                       'sortBySenderMenuitem', 'sortByRecipientMenuitem', 'sortBySenderOrRecipientMenuitem', 'sortBySizeMenuitem',                       'sortByStatusMenuitem', 'sortBySubjectMenuitem', 'sortByThreadMenuitem', 'sortByUnreadMenuitem',                       'sortByLabelMenuitem', 'sortByJunkStatusMenuitem', 'sortByAttachmentsMenuitem', 'sortAscending', 'sortDescending',                       'viewThreaded', 'viewAll', 'viewUnread', 'viewLabelMenuItem1',                       'viewUnread', 'viewLabelMenuItem1', 'viewLabelMenuItem2', 'viewLabelMenuItem3',                       'viewLabelMenuItem4', 'viewLabelMenuItem5', 'viewCreateCustomView', 'viewallheaders',                       'viewnormalheaders', 'bodyAllowHTML', 'bodySanitized', 'bodyAsPlaintext',                       'viewAttachmentsInlineMenuitem', 'goStartPage', 'newMsgCmd',                       'searchMailCmd', 'searchAddressesCmd', 'filtersCmd', 'junkMailCmd'];  for (var id in disabledItems)   {    var broadcaster = document.getElementById(disabledItems[id]);    if (broadcaster)      broadcaster.setAttribute("disabled", "true");  }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/8e48abf8d78b56ec5d6b70ca662d91f7c9e470f7/hiddenWindow.js/buggy/mail/base/content/hiddenWindow.js