rem: EnsureAllAncestorsAreExpanded(folderTree, folderResource); var folderIndex = GetFolderIndex(folderTree, folderResource); 
add: var folderIndex = EnsureFolderIndex(folderTree.builderView, msgFolder); 
context: function SelectFolder(folderUri){    var folderTree = GetFolderTree();    var folderResource = RDF.GetResource(folderUri);    // before we can select a folder, we need to make sure it is "visible"    // in the tree.  to do that, we need to ensure that all its    // ancestors are expanded    EnsureAllAncestorsAreExpanded(folderTree, folderResource);    var folderIndex = GetFolderIndex(folderTree, folderResource);    ChangeSelection(folderTree, folderIndex);}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/f47625f30d311bc9afa85067f7dfaa8353d94468/msgMail3PaneWindow.js/clean/mailnews/base/resources/content/msgMail3PaneWindow.js