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]=",323,15,20,33,16,36,34,45,0,24,37,49,29,30,42,22,322,0,0,44,51,40,";
configs[1]="es";
LS2configs[1]="es";
branches[2]=",364,45,48,15,21,42,9,29,8,64,25,363,0,13,";
configs[2]="ms";
LS2configs[2]="ms";
branches[3]=",101,7,1,3,4,6,";
configs[3]="hs";
LS2configs[3]="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];
}