rem: top.frames["contentFrame"].onInit(); 
add: top.frames["contentFrame"].onInit(); 
context: function restorePage(pageId, serverId) {  if (!serverId)     return;  var accountValues = getValueArrayFor(serverId);  if (!accountValues)     return;  var pageElements = getPageFormElements();  if (!pageElements)     return;  var account = getAccountFromServerId(serverId);  if ("onPreInit" in top.frames["contentFrame"])    top.frames["contentFrame"].onPreInit(account, accountValues);  // restore the value from the account  for (var i=0; i<pageElements.length; i++) {      if (pageElements[i].id) {        var vals = pageElements[i].id.split(".");        if (vals.length >= 2) {            var type = vals[0];            var slot = vals[1];            // buttons are lockable, but don't have any data so we skip that part.            // elements that do have data, we get the values at poke them in.            if (pageElements[i].localName != "button") {              var value = getAccountValue(account, accountValues, type, slot, pageElements[i].getAttribute("preftype"), (pageElements[i].getAttribute("genericattr") == "true"));              setFormElementValue(pageElements[i], value);            }            updateElementWithKeys(account,pageElements[i],type);            var isLocked = getAccountValueIsLocked(pageElements[i]);            setEnabled(pageElements[i],!isLocked);         }      }  }  // tell the page that new values have been loaded  if ("onInit" in top.frames["contentFrame"])      top.frames["contentFrame"].onInit();  // everything has succeeded, vervied by setting currentPageId  currentPageId = pageId;  currentServerId = serverId;}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/430390f690ffdbe013e747d894b805756723c5a1/AccountManager.js/buggy/mailnews/base/prefs/resources/content/AccountManager.js