rem: EnableMenuItem("folderPaneContext-new", !isIMAPFolder || !ioService.offline); 
add: EnableMenuItem("folderPaneContext-new", !isIMAPFolder || MailOfflineMgr.isOnline()); 
context: function SetupNewMenuItem(folderResource, numSelected, isServer, serverType,specialFolder){  var folderTree = GetFolderTree();  var canCreateNew = GetFolderAttribute(folderTree, folderResource, "CanCreateSubfolders") == "true";  var isInbox = specialFolder == "Inbox";  var isIMAPFolder = GetFolderAttribute(folderTree, folderResource,                       "ServerType") == "imap";  var ioService = Components.classes["@mozilla.org/network/io-service;1"]                         .getService(Components.interfaces.nsIIOService);  var showNew = ((numSelected <=1) && (serverType != 'nntp') && canCreateNew) || isInbox;  ShowMenuItem("folderPaneContext-new", showNew);  EnableMenuItem("folderPaneContext-new", !isIMAPFolder || !ioService.offline);  if (showNew)  {    if (isServer || isInbox)      SetMenuItemLabel("folderPaneContext-new", gMessengerBundle.getString("newFolder"));    else      SetMenuItemLabel("folderPaneContext-new", gMessengerBundle.getString("newSubfolder"));  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/112eb3c61f3751959441fb43cbe46e8ef204db63/mailContextMenus.js/buggy/mail/base/content/mailContextMenus.js