rem: if (active_charsetid == charsetid) 
add: if (active_charsetid == charsetid) 
context: function AddAvailableCharset(){  var active_charsets = document.getElementById('active_charsets');   var active_charsets_treeroot = document.getElementById('active_charsets_root');   var available_charsets = document.getElementById('available_charsets');     for (var nodeIndex=0; nodeIndex < available_charsets.selectedItems.length;  nodeIndex++)   {    var selItem =  available_charsets.selectedItems[nodeIndex];    var selRow  =  selItem.firstChild;    var selCell =  selRow.firstChild;    var charsetname  = selCell.getAttribute('value');    var charsetid = selCell.getAttribute('id');    var already_active = false;    for (var item = active_charsets_treeroot.firstChild; item != null; item = item.nextSibling) {      var row  =  item.firstChild;      var cell =  row.firstChild;      var active_charsetid = cell.getAttribute('id');      if (active_charsetid == charsetid)       {        already_active = true;        break;      }//if    }//for    if (already_active == false) {      AddTreeItem(document, active_charsets_treeroot, charsetid, charsetname);    }//if  }//for  available_charsets.clearItemSelection();  enable_save();} //AddAvailableCharset
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/476f40a9ffe840661db8a7547c416a58355c9cd7/pref-charset.js/clean/suite/common/pref/pref-charset.js