add: var serverTypeRadioGroup = document.getElementById("servertype"); if (serverTypeRadioGroup) { /* Ideally, I shouldn't be doing the following as querying for value * on radiogroup should return me the value of the radio item selected * by default (i.e., whose checked attribute is set to true). * See bugzilla bug 80399. */ serverTypeRadioGroup.value = serverTypeRadioGroup.selectedItem.getAttribute("value"); }  
context: function onInit() {  gPrefsBundle = document.getElementById("bundle_prefs");  var smtpTextBox = document.getElementById("smtphostname");  var smtpServer = parent.smtpService.defaultServer;  if (smtpTextBox && smtpTextBox.value == "" &&      smtpServer.hostname)    smtpTextBox.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 &&      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: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/f9cac064721ab381058a8460bfe069a09b144e8a/aw-server.js/clean/mailnews/base/prefs/resources/content/aw-server.js