function updateSchoolInfo() { sID = document.getElementById("schoolselect").value SchoolType = document.getElementById("schooltypselect").value window.location="school.asp?SchoolType="+SchoolType+"&sID="+sID+"" } function updateSchoolOptions(ID2Get, ajax, SchoolID) { load("school.asp?getType="+ID2Get+"&ajax="+ajax+"&SchoolID="+SchoolID, "schooloptions"); var branches= new Array(); var configs= new Array(); var LS2configs= new Array(); configs[0] = "ysm"; LS2configs[0] = "ysm"; branches[0] = "1,2,3"; branches[3]=",6032,1072,3022,6082,6052,2182,6132,2132,6202,6182,2082,1052,4072,6122,6042,5102,3062,4062,2192,5142,3052,5232,2042,2102,5282,5052,1092,1012,5252,5152,5172,6092,2152,6252,6022,1032,5202,,6062,1112,2172,6162,6222,"; configs[3]="es"; LS2configs[3]="elems"; branches[2]=",,1084,2114,3074,5214,5184,1064,4054,6174,2164,5124,2024,6074,5264,1044,6104,tvm,3044,2094,6244,6214,"; configs[2]="ms"; LS2configs[2]="midds"; branches[1]=",6263,3083,2143,5243,5163,6113,,5093,5273,6193,2033,2073,4043,6233,"; configs[1]="hs"; LS2configs[1]="highs"; branches[4]=",5225,3033,0801,"; configs[4]="pl"; LS2configs[4]="pl"; if (document.getElementById("branchInput")) document.getElementById("branchInput").value = branches[ID2Get]; if (document.getElementById("configInput")) document.getElementById("configInput").value = configs[ID2Get]; if (document.getElementById("LS2configInput")) document.getElementById("LS2configInput").value = LS2configs[ID2Get]; }