rem: fIndex = gListbox.childNodes[i+2].getAttribute( 'field-index'); on = gListbox.childNodes[i+2].firstChild.getAttribute('checked'); 
add: fIndex = gListbox.getItemAtIndex(i).getAttribute( 'field-index'); on = gListbox.getItemAtIndex(i).firstChild.getAttribute('checked'); 
context: function FieldImportOKButton(){  // childNodes includes the listcols and listhead  var max = gListbox.childNodes.length - 2;  var fIndex;  var on;  for (var i = 0; i < max; i++) {    fIndex = gListbox.childNodes[i+2].getAttribute( 'field-index');    on = gListbox.childNodes[i+2].firstChild.getAttribute('checked');    top.fieldMap.SetFieldMap( i, fIndex);    if (on == "true")      top.fieldMap.SetFieldActive( i, true);    else      top.fieldMap.SetFieldActive( i, false);  }  top.dialogResult.ok = true;  return true;}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/29a06d2604e818879f5655534491248dbbdf7fc2/fieldMapImport.js/buggy/mailnews/import/resources/content/fieldMapImport.js