rem: var to_check; var list = original_field.split(','); writePreview(list); for (box=0; box < document.frm_help.check.length; box++) { check = document.frm_help.check[box]; to_check = false; for (val in list) { if (check.value==trim(list[val])) { to_check = true; break; } } check.checked = to_check; } 
add: writePreview(original_field); reviseList(original_field); 
context: function resetList() {  // reset preview and check boxes to initial values  if (document.frm_help.check==undefined) { return; }  var to_check;  var list = original_field.split(',');  writePreview(list);  for (box=0; box < document.frm_help.check.length; box++) {      check = document.frm_help.check[box];      to_check = false;      for (val in list) {          if (check.value==trim(list[val])) {              to_check = true;              break;          }      }      check.checked = to_check;  }}
meta: 7632	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/7632/c2b3595deb3bccd00105d6e8f693397c83033298/help_controls.js/buggy/templates/classic/html/help_controls.js