add: if (!document.getElementById("downloadMsgs").hidden) { if (document.getElementById("downloadMsgs").checked) { window.opener.gNewAccountToLoad = gCurrentAccount; } else if (gCurrentAccount == am.defaultAccount) {  window.opener.gLoadStartFolder = false; } }  
context: function FinishAccount() {  try {    var pageData = GetPageData();    var accountData= gCurrentAccountData;        if (!accountData)    {      accountData = new Object;      // Time to set the smtpRequiresUsername attribute      if (!serverIsNntp(pageData))        accountData.smtpRequiresUsername = true;    }        PageDataToAccountData(pageData, accountData);    FixupAccountDataForIsp(accountData);        // we might be simply finishing another account    if (!gCurrentAccount)        gCurrentAccount = createAccount(accountData);    // transfer all attributes from the accountdata    finishAccount(gCurrentAccount, accountData);        verifyLocalFoldersAccount(gCurrentAccount);    if (!serverIsNntp(pageData))        EnableCheckMailAtStartUpIfNeeded(gCurrentAccount);    // in case we crash, force us a save of the prefs file NOW    try {      am.saveAccountInfo();    }     catch (ex) {      dump("Error saving account info: " + ex + "\n");    }    window.close();    if(top.okCallback)    {        var state = true;        //dump("finish callback");        top.okCallback(state);    }}  catch(ex) {   }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/4a2f45e005f2004cdb1ea638c98145430c4f5401/AccountWizard.js/buggy/mailnews/base/prefs/resources/content/AccountWizard.js