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[1]=",110,112,114,174,116,118,120,180,190,200,125,140,150,170,210,215,418,230,235,237,240,242,246,245,248,250,270,300,260,280,310,130,315,320,324,328,330,335,340,345,350,360,362,364,365,363,370,380,384,386,388,390,400,410,115,";
configs[1]="es";
LS2configs[1]="es";
branches[2]=",785,700,710,780,730,740,750,755,850,770,";
configs[2]="ms";
LS2configs[2]="ms";
branches[3]=",800,810,820,865,830,840,860,850,";
configs[3]="hs";
LS2configs[3]="hs";
branches[5]=",160,51,875,290,510,450,845,625,0,43,220,506,595,0,35,";
configs[5]="hs";
LS2configs[5]="hs";
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];
}