rem: initSmtpSettings(defaultSmtpServer);    if (defaultSmtpServer) { var defaultSmtpServerKey = gPrefBranch.getCharPref("mail.smtp.defaultserver"); var prefString = "mail.smtpserver."+ defaultSmtpServerKey + ".advanced.disable";  var advButton = document.getElementById("smtp.advancedbutton"); if (gPrefBranch.prefIsLocked(prefString)) { advButton.setAttribute("disabled", "true"); } } } 
add: this.refreshServerList(); }, 
context: function onLoad(){    parent.onPanelLoaded('am-smtp.xul');    var defaultSmtpServer = smtpService.defaultServer;    initSmtpSettings(defaultSmtpServer);    // Get the default smtp server preference to check if we need to lock the    // advance button on the panel.     if (defaultSmtpServer) {      var defaultSmtpServerKey = gPrefBranch.getCharPref("mail.smtp.defaultserver");      var prefString = "mail.smtpserver."+ defaultSmtpServerKey + ".advanced.disable";       var advButton = document.getElementById("smtp.advancedbutton");      if (gPrefBranch.prefIsLocked(prefString)) {        advButton.setAttribute("disabled", "true");      }    }}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/ba82559445a7ad3bea2eb3ee82beb3bddd765ea1/am-smtp.js/clean/mailnews/base/prefs/resources/content/am-smtp.js