context: function menu_new_init(){  if (!gMessengerBundle)    gMessengerBundle = document.getElementById("bundle_messenger");  var newAccountItem = document.getElementById('newAccountMenuItem');  if (gPrefBranch.prefIsLocked("mail.disable_new_account_addition"))    newAccountItem.setAttribute("disabled","true");  // Change "New Folder..." menu according to the context  var folderArray = GetSelectedMsgFolders();  if (folderArray.length == 0)    return;  var msgFolder = folderArray[0];  var isServer = msgFolder.isServer;  var serverType = msgFolder.server.type;  var canCreateNew = msgFolder.canCreateSubfolders;  var isInbox = IsSpecialFolder(msgFolder, MSG_FOLDER_FLAG_INBOX, false);  var isIMAPFolder = serverType == "imap";  var ioService = Components.classes["@mozilla.org/network/io-service;1"]                         .getService(Components.interfaces.nsIIOService);  var showNew = ((serverType != 'nntp') && canCreateNew) || isInbox;  ShowMenuItem("menu_newFolder", showNew);  ShowMenuItem("menu_newVirtualFolder", showNew);  EnableMenuItem("menu_newFolder", !isIMAPFolder || !ioService.offline);  EnableMenuItem("menu_newVirtualFolder", true);  if (showNew)    SetMenuItemLabel("menu_newFolder", gMessengerBundle.getString((isServer || isInbox) ? "newFolderMenuItem" : "newSubfolderMenuItem"));}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/bc4eacd610367da784222706b519a49122797841/mailWindowOverlay.js/buggy/mailnews/base/resources/content/mailWindowOverlay.js