rem: var mailsession = Components.classes["component:  accountManager = mailsession.accountManager; 
add: accountManager = Components.classes["component: 
context: function onLoad() {  accountArray = new Array;  RDF = Components.classes["component://netscape/rdf/rdf-service"].getService(Components.interfaces.nsIRDFService);  var mailsession =    Components.classes["component://netscape/messenger/services/session"].getService(Components.interfaces.nsIMsgMailSession);  accountManager = mailsession.accountManager;  smtpService =    Components.classes["component://netscape/messengercompose/smtp"].getService(Components.interfaces.nsISmtpService);  var tree = document.getElementById("accounttree");  var items = tree.getElementsByTagName("treeitem");    if (items && items.length>0) {    // skip the template?    tree.selectItem(items[1]);  }    doSetOKCancel(onOk, 0);  newAccountButton = document.getElementById("newAccountButton");  duplicateButton = document.getElementById("duplicateButton");  deleteButton = document.getElementById("deleteButton");  setDefaultButton = document.getElementById("setDefaultButton");  }
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/b67dd8b1d2d96e5c1181ab3d7a7196310449bc78/AccountManager.js/clean/mailnews/base/prefs/resources/content/AccountManager.js