function ReloadForm(SelectedClass)
{
	var ValueArray = new Array()
	var TextArray = new Array()
	var i=0
	
	//theForm = document.parkQuickSearch
	theForm = document.getElementById('parkQuickSearch')
	theSelect = theForm.SelectPark
	
	theSelect.options[0].text = ""
	theSelect.options[0].value = ""
	
	while (theSelect.options.length > 1){
	    var oOptionToRemove=theSelect.options[theSelect.options.length-1];
	    theSelect.removeChild(oOptionToRemove);
	}
	
	if (SelectedClass > 0) {
			
		ValueArray = eval("ar_" + SelectedClass + "_Value")
		TextArray = eval("ar_" + SelectedClass + "_Text")

		for (i = 1; i <= ValueArray.length; i++ )
			if (! theSelect.options[i]){
				var oNewNode = document.createElement("option");
				theSelect.appendChild(oNewNode);
				oNewNode.text = TextArray[i-1];
				oNewNode.value = ValueArray[i-1];
			}
	
	}
}


function CheckItems(){
	//theForm = document.parkQuickSearch
	theForm = document.getElementById('parkQuickSearch')
	theForm.submitbut.disabled = true;
	if (theForm.SelectPark.value > 0){
		//theForm.action = "index.cfm?module=Park&amp;page=ParkShow&amp;List=Geo&amp;ParkID=" + theForm.SelectPark.value
		theForm.action = "index.cfm?module=Park&page=ParkShow&List=Geo&ParkID=" + theForm.SelectPark.value
		theForm.submitbut.disabled = false;
		//theForm.submit();
		}

	else {
		alert(Msg)
	}	

	return(false);
}
