function handleOnChange(dd1) {
	var idx = dd1.selectedIndex;
	var val = dd1[idx].value;
	var par = document.forms["schoolSelect"];
	var parelmts = par.elements;
	var schoolsel = parelmts["school"];
	var state = val;
	if (state != "Select a State") {
	Http.get({
			url: "./school_listing.php?state_id=" + state,
			callback: fillSchool,
			cache: Http.Cache.Get
		}, [schoolsel]);
	}
}
function fillSchool(xmlreply, schoolelmt) {
	if (xmlreply.status == Http.Status.OK)   {
	var schoolresponse = xmlreply.responseText;
	var schoolar = schoolresponse.split(";");
	schoolelmt.length = 1;
	schoolelmt.length = schoolar.length - 1;
	for (o=0; o < schoolar.length; o++) {
		var schoolarsub = schoolar[o].split("|");
		if (schoolarsub[0]) {
			schoolelmt[o].text = schoolarsub[1];
			schoolelmt[o].value = schoolarsub[0];
		}
	}
	} else {
		alert("Your browser is not compatable with the Ajax school selection form. Please upgrade your browser.");
	}
}