rem:  var list = new String(''); for (box=0; box < document.frm_help.check.length; box++) { if (document.frm_help.check[box].checked) { if (list.length == 0) { separator = ''; } else { separator = ','; }  list = list + separator + document.frm_help.check[box].value; } } return list; 
add:  var list = new String('');   var check = document.frm_help.check;  if ((check.length == undefined) && (check.checked != undefined)) {  if (check.checked) { list = check.value; } } else {  for (box=0; box < check.length; box++) { if (check[box].checked) { if (list.length == 0) { separator = ''; } else { separator = ','; }  list = list + separator + check[box].value; } } } return list; 
context: function determineList() {    // generate a comma-separated list of the checked items    var list = new String('');    for (box=0; box < document.frm_help.check.length; box++) {        if (document.frm_help.check[box].checked) {            if (list.length == 0) {                separator = '';            }            else {                separator = ',';            }            // we used to use an Array and push / join, but IE5.0 sux            list = list + separator + document.frm_help.check[box].value;        }    }    return list;}
meta: 7632	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/7632/13c2129ff41570079f286fd18914e023774b6a66/help_controls.js/buggy/templates/classic/html/help_controls.js