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] = "0"; branches[1]=",67,108,715,917,503,2611,913,2302,915,60,4,30,314,226,1604,6100,1108,210,919,230,2,49,916,1503,109,1801,702,1406,1511,2607,2403,2304,2107,603,2103,1105,2404,2001,222,0,0228,2308,1302,"; configs[1]="es"; LS2configs[1]="elem"; branches[2]=",2305,2525,227,220,311,219,914,918,1510,716,2606,211,76,"; configs[2]="ms"; LS2configs[2]="middle"; branches[3]=",2503,221,1509,209,213,912,313,2307,713,2610,208,920,"; configs[3]="hs"; LS2configs[3]="high"; branches[5]=",3,"; configs[5]="pl"; LS2configs[5]="3"; 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]; }