rem: protocolinfo = Components.classes["component: 
add: protocolinfo = Components.classes["@mozilla.org/messenger/protocol/info;1?type=" + type].getService(Components.interfaces.nsIMsgProtocolInfo); 
context: function onInit() {    var loginNameInput = document.getElementById("username");        if (loginNameInput.value == "") {      // retrieve data from previously entered pages      var pageData = parent.wizardManager.WSM.PageData;      var type = parent.getCurrentServerType(pageData);      dump("type = " + type + "\n");      protocolinfo = Components.classes["component://netscape/messenger/protocol/info;type=" + type].getService(Components.interfaces.nsIMsgProtocolInfo);      if (protocolinfo.requiresUsername) {        // since we require a username, use the uid from the email address        var email = pageData.identity.email.value;        var emailParts = email.split("@");        loginNameInput.value = emailParts[0];      }    }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/0257791053c2b38e1dfaf2ee11afae973e82e394/aw-login.js/clean/mailnews/base/prefs/resources/content/aw-login.js