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] = "pac"; LS2configs[0] = "pac"; branches[0] = "0"; branches[1]=",290,285,273,244,265,266,274,268,259,269,276,222,228,231,234,241,243,246,250,252,235,255,295,238,237,218,220,288,287,213,209,211,216,221,208,212,286,275,281,239,245,272,202,253,254,256,215,277,282,294,264,293,267,279,289,258,260,226,297,224,"; configs[1]="es"; LS2configs[1]="es"; branches[2]=",273,282,557,269,623,527,228,202,289,591,692,213,529,892,211,698,519,699,272,256,297,267,260,208,"; configs[2]="jhs"; LS2configs[2]="jhs"; branches[3]=",273,697,880,730,623,527,733,692,892,529,806,805,710,698,519,699,851,660,136,175,208,"; configs[3]="shs"; LS2configs[3]="shs"; branches[4]=",103,332,"; configs[4]="other"; LS2configs[4]="other"; 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]; }