rem: try{ var defaultServer = smtpService.defaultServer; fillSmtpServers(serverList,smtpService.smtpServers, defaultServer); 
context: function refreshServerList(){    // save selection    var oldSelectedIds = new Array;    serverList.clearSelection();    var selectedItems = serverList.selectedItems;    for (var i=0; i< selectedItems.length; i++)        oldSelectedIds[i] = selectedItems[0].id;    // remove all children    while (serverList.hasChildNodes())        serverList.removeChild(serverList.lastChild);    try{      var defaultServer = smtpService.defaultServer;      fillSmtpServers(serverList,smtpService.smtpServers, defaultServer);      // restore selection      for (i=0; i< oldSelectedIds.length; i++) {          var element = document.getElementById(oldSelectedIds[i]);          if (element)              serverList.selectItem(element);      }    } catch(ex){}}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/6faa40fb3a315fbd64a2d245bb23285becabc4d5/SmtpServerList.js/buggy/mailnews/base/prefs/resources/content/SmtpServerList.js