rem: var smtpTextField = document.getElementById("smtphostname"); 
add: var smtpTextBox = document.getElementById("smtphostname"); 
context: function onInit() {  gPrefsBundle = document.getElementById("bundle_prefs");  var smtpTextField = document.getElementById("smtphostname");  var smtpServer = parent.smtpService.defaultServer;  if (smtpTextField && smtpTextField.value == "" &&      smtpServer.hostname)    smtpTextField.value = smtpServer.hostname;  // modify the value in the smtp display if we already have a   // smtp server so that the single string displays the   // name of the smtp server.  var smtpStatic = document.getElementById("smtpStaticText");  if (smtpServer && smtpServer.hostname &&       smtpStatic.hasChildNodes()) {    var staticText = smtpStatic.firstChild.nodeValue;    staticText = staticText.replace(/@server_name@/, smtpServer.hostname);    while (smtpStatic.hasChildNodes())      smtpStatic.removeChild(smtpStatic.firstChild);    var staticTextNode = document.createTextNode(staticText);    smtpStatic.appendChild(staticTextNode);  }    hideShowSmtpSettings(smtpServer);}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/1e7ee6f0f96dbc0326edd55283ca67952efda4df/aw-server.js/buggy/mailnews/base/prefs/resources/content/aw-server.js