rem: var active_charsets = document.getElementById('active_charsets'); var active_charsets_treeroot = document.getElementById('active_charsets_root'); 
add: var active_charsets = document.getElementById('active_charsets'); var active_charsets_treeroot = document.getElementById('active_charsets_root'); 
context: function LoadActiveCharSets(){  var active_charsets = document.getElementById('active_charsets');   var active_charsets_treeroot = document.getElementById('active_charsets_root');   var arrayOfPrefs = [];  var str;  var tit;  var visible;  arrayOfPrefs = pref_string_content.split(', ');  if (arrayOfPrefs.length > 0) {    for (var i = 0; i < arrayOfPrefs.length; i++) {      str = arrayOfPrefs[i];      tit = GetCharSetTitle(str);      visible = GetCharSetVisibility(str);      if (!tit)        tit = str;       if (str && tit && visible) {        AddTreeItem(document, active_charsets_treeroot, str, tit);      } //if     } //for  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/eaa6754a0a946375badf1165b3e4af3999e4b03c/pref-charset.js/buggy/xpfe/components/prefwindow/resources/content/pref-charset.js