rem: SelectFolder(startFolder.URI); 
add: SelectFolder(startFolder.URI); 
context: function loadStartFolder(initialUri){    var folderTree = GetFolderTree();    var defaultServer = null;    var startFolderResource = null;    var isLoginAtStartUpEnabled = false;    //First get default account    try    {        if(initialUri)            startFolderResource = RDF.GetResource(initialUri);        else        {            var defaultAccount = accountManager.defaultAccount;            defaultServer = defaultAccount.incomingServer;            var rootMsgFolder = defaultServer.rootMsgFolder;            startFolderResource = rootMsgFolder.QueryInterface(Components.interfaces.nsIRDFResource);            // Enable checknew mail once by turning checkmail pref 'on' to bring             // all users to one plane. This allows all users to go to Inbox. User can             // always go to server settings panel and turn off "Check for new mail at startup"            if (!pref.getBoolPref(kMailCheckOncePrefName))            {                pref.setBoolPref(kMailCheckOncePrefName, true);                defaultServer.loginAtStartUp = true;            }            // Get the user pref to see if the login at startup is enabled for default account            isLoginAtStartUpEnabled = defaultServer.loginAtStartUp;            // Get Inbox only if when we have to login             if (isLoginAtStartUpEnabled)             {                //now find Inbox                var outNumFolders = new Object();                var inboxFolder = rootMsgFolder.getFoldersWithFlag(0x1000, 1, outNumFolders);                 if (!inboxFolder) return;                startFolderResource = inboxFolder.QueryInterface(Components.interfaces.nsIRDFResource);            }            else            {                // set the startFolderResource to the server, so we select it                // so we'll get account central                startFolderResource = RDF.GetResource(defaultServer.serverURI);            }        }        var startFolder = startFolderResource.QueryInterface(Components.interfaces.nsIMsgFolder);        SelectFolder(startFolder.URI);        // only do this on startup, when we pass in null        if (!initialUri && isLoginAtStartUpEnabled && gLoadStartFolder)        {            // Perform biff on the server to check for new mail, except for imap            if (defaultServer.type != "imap")              defaultServer.PerformBiff(msgWindow);                }        // because the "open" state persists, we'll call        // PerformExpand() for all servers that are open at startup.        // note, because of the "news.persist_server_open_state_in_folderpane" pref        // we don't persist the "open" state of news servers across sessions,         // but we do within a session, so if you open another 3 pane        // and a news server is "open", we'll update the unread counts.        PerformExpandForAllOpenServers();    }    catch(ex)    {        dump(ex);        dump('Exception in LoadStartFolder caused by no default account.  We know about this\n');    }    MsgGetMessagesForAllServers(defaultServer);}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/40970040f00542c62eb68803fd9b67d2270a018c/msgMail3PaneWindow.js/clean/mail/base/content/msgMail3PaneWindow.js