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] = ""; branches[1]=",119,109,103,131,101,128,134,113,126,106,111,114,107,129,0,133,112,115,105,102,121,130,104,127,132,123,"; configs[1]="es"; LS2configs[1]="es"; branches[2]=",42,50,41,43,49,47,46,44,51,45,48,"; configs[2]="ms"; LS2configs[2]="ms"; branches[3]=",2,8,11,5,4,1,650,"; configs[3]="hs"; LS2configs[3]="hs"; branches[5]=",117,124,122,116,120,"; configs[5]="otr"; LS2configs[5]="otr"; 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]; }