rem: } 
add:  if(!startFolder && startFolderUri && defaultServer) {  OpenTwistyForServer(defaultServer); startFolder = document.getElementById(startFolderUri); } 
context: function loadStartFolder(startFolderUri){	//First get default account	try	{		if(!startFolderUri)		{			var defaultAccount = accountManager.defaultAccount;			var server = defaultAccount.incomingServer;			var rootFolder = server.RootFolder;			var rootMsgFolder = rootFolder.QueryInterface(Components.interfaces.nsIMsgFolder);			//now find Inbox			var outNumFolders = new Object();			var inboxFolder = rootMsgFolder.getFoldersWithFlag(0x1000, 1, outNumFolders); 			if(!inboxFolder) return;			var resource = inboxFolder.QueryInterface(Components.interfaces.nsIRDFResource);			startFolderUri = resource.Value;			//first, let's see if it's already in the dom.  This will make life easier.			//We need to make sure content is built by this time		}		msgNavigationService.EnsureDocumentIsLoaded(document);		var startFolder = document.getElementById(startFolderUri);		//if it's not here we will have to make sure it's open.		if(!startFolder)		{		}		var folderTree= GetFolderTree();		ChangeSelection(folderTree, startFolder);		// because the "open" state persists, we'll call		// PerformExpand() for all servers that are open at startup.		PerformExpandForAllOpenServers(folderTree);	}	catch(ex)	{		dump(ex);		dump('Exception in LoadStartFolder caused by no default account.  We know about this\n');	}}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/3bd146e8d83052ab81b871bfb674681cced9b1d2/msgMail3PaneWindow.js/buggy/mailnews/base/resources/content/msgMail3PaneWindow.js