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] = "all";
LS2configs[0] = "all";
branches[0] = "0";
branches[3]=",74,1,77,84,3,61,261,53,60,58,28,4,";
configs[3]="high";
LS2configs[3]="hs";
branches[1]=",63,11,69,25,76,32,27,42,87,72,88,67,";
configs[1]="middle";
LS2configs[1]="ms";
branches[2]=",92,30,50,18,86,38,13,56,70,65,41,55,15,37,39,44,33,90,40,66,2,46,6,73,85,43,78,62,49,59,29,36,51,21,80,48,5,47,35,7,34,";
configs[2]="elem";
LS2configs[2]="es";
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];
}