add: /***** Accounts : Begin *****/  var canShowCreateAccount = ! nsPrefBranch.prefIsLocked("mail.accountmanager.accounts"); SetItemDisplay("CreateAccount", canShowCreateAccount);  /***** Accounts : End *****/  
context: function ArrangeAccountCentralItems(server, protocolInfo, msgFolder){    try {        /***** Email header and items : Begin *****/        // Read Messages        var canGetMessages = protocolInfo.canGetMessages;        SetItemDisplay("ReadMessages", canGetMessages);            // Compose Messages link        var showComposeMsgLink = protocolInfo.showComposeMsgLink;        SetItemDisplay("ComposeMessage", showComposeMsgLink);            var displayEmailHeader = canGetMessages || showComposeMsgLink;        // Display Email header, only if any of the items are displayed        SetItemDisplay("EmailHeader", displayEmailHeader);            /***** Email header and items : End *****/        /***** News header and items : Begin *****/        // Subscribe to Newsgroups         var canSubscribe = (msgFolder.canSubscribe) && !(protocolInfo.canGetMessages);        SetItemDisplay("SubscribeNewsgroups", canSubscribe);            // Display News header, only if any of the items are displayed        SetItemDisplay("NewsHeader", canSubscribe);            /***** News header and items : End *****/           // If neither of above sections exist, collapse section separators        if (!(canSubscribe || displayEmailHeader)) {             CollapseSectionSeparators("MessagesSection.separator", false);        }         /***** Advanced Features header and items : Begin *****/        // Search Messages        var canSearchMessages = server.canSearchMessages;        SetItemDisplay("SearchMessages", canSearchMessages);            // Create Filters        var canHaveFilters = server.canHaveFilters;        SetItemDisplay("CreateFilters", canHaveFilters);            var displayAdvFeatures = canSearchMessages || canHaveFilters;        // Display Adv Features header, only if any of the items are displayed        SetItemDisplay("AdvancedFeaturesHeader", displayAdvFeatures);            /***** Advanced Featuers header and items : End *****/    }    catch (ex) {        dump("Error is setting AccountCentral Items : " + ex + "\n");    }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/b8e380d020d466d68a4597e0838d1371a056982d/msgAccountCentral.js/clean/mailnews/base/resources/content/msgAccountCentral.js