window.onerror=null;

cat85 = new Array(1)
cat85[0] = "5&&&Anglican High School"
cat106 = new Array(8)
cat106[0] = "9&&&DeCartret College"
cat106[1] = "8&&&Hampton School"
cat106[2] = "6&&&Kingston College"
cat106[3] = "1&&&Manchester High"
cat106[4] = "3&&&Mannings"
cat106[5] = "7&&&Munro College"
cat106[6] = "10&&&St. Hildas Diocesan High School"
cat106[7] = "13&&&Wolmers Girls School"
cat212 = new Array(3)
cat212[0] = "11&&&Bishop Anstey High School "
cat212[1] = "12&&&Fatima College "
cat212[2] = "2&&&St. Anthonys College"

function getsubcat(catid,myform)
{
for(i=0;i<(document.myform.SubCategory.length);i++)
{
document.myform.SubCategory.options[i]=null;
}
for(i=0;i<(eval(catid).length);i++)
{subid=(eval(catid)[i].substr(0,(eval(catid)[i].indexOf("&&&"))));subname=(eval(catid)[i].substr((eval(catid)[i].indexOf("&&&"))+3));
newoption = new Option(subname, subid, true, false);
document.myform.SubCategory.options[i] = newoption;
}
document.myform.SubCategory.selectedIndex=0;
}

