function delayedOnLoadMessenger(){  pref.QueryInterface(Components.interfaces.nsIPrefBranch2);  pref.addObserver("mail.pane_config.dynamic", MailPrefObserver, false);  pref.addObserver("mail.showFolderPaneColumns", MailPrefObserver, false);  MailOfflineMgr.init();  CreateMailWindowGlobals();  accountCentralBox = document.getElementById("accountCentralBox");  GetMessagePane().collapsed = true;  verifyAccounts(null);      InitMsgWindow();  messenger.SetWindow(window, msgWindow);  InitializeDataSources();  InitPanes();  MigrateAttachmentDownloadStore();  MigrateJunkMailSettings();  MigrateFolderViews();  accountManager.setSpecialFolders();  accountManager.loadVirtualFolders();  accountManager.addIncomingServerListener(gThreePaneIncomingServerListener);    gPhishingDetector.init();    AddToSession();  //need to add to session before trying to load start folder otherwise listeners aren't  //set up correctly.  // argument[0] --> folder uri  // argument[1] --> optional message key  // argument[2] --> optional email address; //will come from aim; needs to show msgs from buddy's email address    if ("arguments" in window)  {    // filter our any feed urls that came in as arguments to the new window...    if (window.arguments.length && /^feed:/i.test(window.arguments[0] ))    {      var feedHandler = Components.classes["@mozilla.org/newsblog-feed-downloader;1"].getService(Components.interfaces.nsINewsBlogFeedDownloader);      if (feedHandler)        feedHandler.subscribeToFeed(window.arguments[0], null, msgWindow);      gStartFolderUri = null;    }    else      gStartFolderUri = (window.arguments.length > 0) ? window.arguments[0] : null;    gStartMsgKey = (window.arguments.length > 1) ? window.arguments[1]: nsMsgKey_None;    gSearchEmailAddress = (window.arguments.length > 2) ? window.arguments[2] : null;  }  #ifdef HAVE_SHELL_SERVICE  var nsIShellService = Components.interfaces.nsIShellService;  var shellService;  var defaultAccount;  try {    shellService = Components.classes["@mozilla.org/mail/shell-service;1"].getService(nsIShellService);    defaultAccount = accountManager.defaultAccount;  } catch (ex) {}    // show the default client dialog only if we have at least one account,   // if we should check for the default client,   // and we aren't already the default for all of our recognized types (mail, news, rss)  if (shellService && defaultAccount && shellService.shouldCheckDefaultClient       && !shellService.isDefaultClient(true, nsIShellService.MAIL | nsIShellService.NEWS | nsIShellService.RSS))    window.openDialog("chrome://messenger/content/defaultClientDialog.xul", "DefaultClient",                       "modal,centerscreen,chrome,resizable=no");#endif  setTimeout("loadStartFolder(gStartFolderUri);", 0);  // FIX ME - later we will be able to use onload from the overlay  OnLoadMsgHeaderPane();  gHaveLoadedMessage = false;  gNotifyDefaultInboxLoadedOnStartup = true;  //Set focus to the Thread Pane the first time the window is opened.  SetFocusThreadPane();    // initialize the customizeDone method on the customizeable toolbar  var toolbox = document.getElementById("mail-toolbox");  toolbox.customizeDone = MailToolboxCustomizeDone;  var toolbarset = document.getElementById('customToolbars');  toolbox.toolbarset = toolbarset;}
5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5459/fb4b22d007e7bb58834f8c165d65438725f8d0b1/msgMail3PaneWindow.js/clean/mail/base/content/msgMail3PaneWindow.js