rem: if (serverType == "nntp") ShowOnlyNewsItems(); else ShowOnlyMailItems(); 
add: try { /***** Email header and items : Begin *****/   var canGetMessages = protocolInfo.canGetMessages; SetItemDisplay("ReadMessages", canGetMessages);   var showComposeMsgLink = protocolInfo.showComposeMsgLink; SetItemDisplay("ComposeMessage", showComposeMsgLink);  var displayEmailHeader = canGetMessages || showComposeMsgLink;  SetItemDisplay("EmailHeader", displayEmailHeader);  /***** Email header and items : End *****/  /***** News header and items : Begin *****/   var canSubscribe = (msgFolder.canSubscribe) && !(protocolInfo.canGetMessages); SetItemDisplay("SubscribeNewsgroups", canSubscribe);   SetItemDisplay("NewsHeader", canSubscribe);  /***** News header and items : End *****/   if (!(canSubscribe || displayEmailHeader)) { CollapseSectionSeparators("MessagesSection.separator", false); }  /***** Advanced Features header and items : Begin *****/   var canSearchMessages = server.canSearchMessages; SetItemDisplay("SearchMessages", canSearchMessages);   var canHaveFilters = server.canHaveFilters; SetItemDisplay("CreateFilters", canHaveFilters);  var displayAdvFeatures = canSearchMessages || canHaveFilters;  SetItemDisplay("AdvancedFeaturesHeader", displayAdvFeatures);  /***** Advanced Featuers header and items : End *****/ } catch (ex) { dump("Error is setting AccountCentral Items : " + ex + "\n"); } 
context: function ArrangeAccountCentralItems(serverType){    if (serverType == "nntp")        ShowOnlyNewsItems();    else        ShowOnlyMailItems();}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/4d8c90c1d346229720ebae75720836bce9a57496/msgAccountCentral.js/clean/mailnews/base/resources/content/msgAccountCentral.js