for (var i = 0; i < subgroups.length; i++) { if (subgroups[i].enabled == 0) continue; menu.appendItem(subgroups[i].name, subgroups[i].subgroup_id); } menu.selectedIndex = 0; 
for (var i = 0; i < subgroups.length; i++) { if (subgroups[i].enabled == 0) continue; menu.appendItem(subgroups[i].name, subgroups[i].subgroup_id); } menu.selectedIndex = 0; 
function populateSubgroups(testgroup) {	sTestgroup = testgroup;	var menu = document.getElementById("qa-st-subgroup");	while (menu.firstChild) {  // clear menu		menu.removeChild(menu.firstChild);	}	var subgroups = qaTools.arrayify(testgroup.subgroups);	for (var i = 0; i < subgroups.length; i++) {		if (subgroups[i].enabled == 0) continue;		menu.appendItem(subgroups[i].name, subgroups[i].subgroup_id);	}	menu.selectedIndex = 0;}
5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5459/a3a9a2c311afc9d76e4e6bfc036e5897fa988bc1/selecttests.js/clean/testing/extensions/community/chrome/content/tabs/selecttests.js