// To use this code:
// 1.  Name your form "frmMain."
// 2.  Use the select box names "industry_code" and "industry_subcategory_id."
// 3.  <select name=industry_code onChange="switch_combo_options(this.value);">

// find form with industry_code in it, assume that is the one to modify
// fall back to using frmMain if cannot find one

// requires that the industry_subcats.js have been loaded above this code

var skill_list;

for (i=0;i<document.forms.length;i++) {
	for (j=0;j<document.forms[i].elements.length;j++) {
		if (document.forms[i].elements[j].name == 'skill_list') {
			skill_list = document.forms[i].elements[j];
		}
	}
}

var skill_list_group=new Array(ind_groups+1)

for (i=0; i<ind_groups+1; i++)
	skill_list_group[i]=new Array()

skill_list_group[0][0]=new Option("","")

