add: msgWindow.openFolder = msgfolder;  
context: function SelectFolder(folderUri){  if (folderUri == gCurrentFolderUri)    return;  var msgfolder = RDF.GetResource(folderUri).QueryInterface(Components.interfaces.nsIMsgFolder);  if (!msgfolder || msgfolder.isServer)    return;  // close old folder view  var dbview = GetDBView();    if (dbview)    dbview.close();   gCurrentFolderToRerootForStandAlone = folderUri;  if (msgfolder.manyHeadersToDownload)  {    gRerootOnFolderLoadForStandAlone = true;    try    {      msgfolder.startFolderLoading();      msgfolder.updateFolder(msgWindow);    }    catch(ex)    {      dump("Error loading with many headers to download: " + ex + "\n");    }  }  else  {    RerootFolderForStandAlone(folderUri);    gRerootOnFolderLoadForStandAlone = false;    msgfolder.startFolderLoading();    //Need to do this after rerooting folder.  Otherwise possibility of receiving folder loaded    //notification before folder has actually changed.    msgfolder.updateFolder(msgWindow);  }    }
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/8395/3727065ec848e2cef2289dbd1fbb34f48b83cda2/messageWindow.js/clean/mail/base/content/messageWindow.js