rem: var account = getFirstInvalidAccount(); 
add: var account = getFirstInvalidAccount(am.accounts); 
context: function checkForInvalidAccounts(){    am = Components.classes["component://netscape/messenger/account-manager"].getService(Components.interfaces.nsIMsgAccountManager);    var account = getFirstInvalidAccount();    if (account) {        var pageData = parent.wizardManager.WSM.PageData;        dump("We have an invalid account, " + account + ", let's use that!\n");        currentAccount = account;        AccountDataToPageData(account, pageData);        dump(parent.wizardManager.WSM);    }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/c77afb451865c40290b597ee4e6e3f76f4bb4a9a/AccountWizard.js/buggy/mailnews/base/prefs/resources/content/AccountWizard.js