add: var pageData = parent.GetPageData(); var serverType = parent.getCurrentServerType(pageData); var hostName = parent.getCurrentHostname(pageData);  if (parent.AccountExists(username,hostName,serverType)) { var alertText = Bundle.GetStringFromName("accountExists"); window.alert(alertText); return false; } 
context: function validate() {  var username = document.getElementById("username").value;  if (protocolinfo && protocolinfo.requiresUsername && (!username || username == "")) {       var alertText = Bundle.GetStringFromName("enterUserName");      window.alert(alertText);      return false;  }  return true;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/2a911d6076070601166d73b916d26663a7dc86be/aw-login.js/clean/mailnews/base/prefs/resources/content/aw-login.js