rem: selectBox.options[i].selected = true; break; } else if (value.slice(0,1) == "," && selectBox.options[i].value.slice(0,1) == ",") { selectBox.options[i].value = value; selectBox.options[i].text = "multiple*"; selectBox.options[i].title = label; 
context: function selectbox_add_option(id,label,value,do_onchange){	selectBox = document.getElementById(id);	for (i=0; i < selectBox.length; i++) {		if (selectBox.options[i].value == value) {			selectBox.options[i].selected = true;			break;		}		else if (value.slice(0,1) == "," && selectBox.options[i].value.slice(0,1) == ",") {			selectBox.options[i].value = value;			selectBox.options[i].text = "multiple*";			selectBox.options[i].title = label;			selectBox.options[i].selected = true;			break;		}	}	if (i >= selectBox.length) {		selectBox.options[selectBox.length] = new Option(label,value,false,true);	}	if (selectBox.onchange && do_onchange) selectBox.onchange();}
meta: 7119	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/7119/64441e08313b893a05b79dede6037850f58cbb49/etemplate.js/buggy/etemplate/js/etemplate.js