rem: if (!username || username == "") { window.alert("Please enter a username.\n"); 
add: if (protocolinfo.requiresUsername && (!username || username == "")) { var alertText = Bundle.GetStringFromName("enterUserName"); window.alert(alertText); 
context: function validate() {  var username = document.getElementById("server.username").value;  if (!username || username == "") {      window.alert("Please enter a username.\n");      return false;  }  return true;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/33ca74f641402d0e797a37fa62e59ea94161548b/aw-login.js/buggy/mailnews/base/prefs/resources/content/aw-login.js