
		var f = document.myForm;
		f.otherCountry.disabled=1;
		f.state_prov.disabled=1;
		//myForm.onsubmit = checkForOtherCountry; - this line breaks .NET validation ************************************************************
		
		//in case the page is rejected due to .NET validation, check previous settings and keep them
		if (f.intResponder.selectedIndex != 0) {
			document.country_arrow.src="/_assets/images/shared/whiteDot.gif"
		}
		if (f.intResponder.selectedIndex == 1 || f.intResponder.selectedIndex == 4) {
			f.state_prov.disabled=0
		}
		if (f.intResponder.selectedIndex == 14) {
			f.otherCountry.disabled=0
		}
		//===========================================================================================

	function checkForSelection(){
		// this routine checks for the selection of 'Other', 'USA', or 'Canada' and acts accordingly
		//if reader chooses 'Other' then enable the 'Other Country' text box and take cursor there
		if (f.intResponder.selectedIndex == 14) {
			f.otherCountry.disabled=0;
			f.otherCountry.focus();
		}
		else {
			//if reader chooses anything else, then disable and clear the text box
			f.state_prov.value = "";
			f.otherCountry.disabled=1;
		}
		//if reader selects USA or Canada then enable the state/province drop down
		if (f.intResponder.selectedIndex == 1 || f.intResponder.selectedIndex == 4) {
			f.state_prov.disabled=0;
		}
		//otherwise disable the drop down
		else {
			f.state_prov.disabled=1;
		}
		return
	}
	
	function checkEmptyOther() {
		if (f.intResponder.selectedIndex == 14 && f.otherCountry.value == '') {
		alert('Please specify a country');
		f.otherCountry.focus();
		return
		}
	}

	function checkForStates() {
		//if USA was chosen but no state was chosen, throw an alert
		if (f.intResponder.selectedIndex == 1 && f.state_prov.selectedIndex ==0) {
			alert('Please specify a state')
		}
		//if Canada was chosen but no province was chosen, throw an alert
		else if (f.intResponder.selectedIndex == 4 && f.state_prov.selectedIndex ==0) {
			alert('Please specify a province')
		}
		//else if neither was chosen, make sure no state or province is selected
		else if (f.intResponder.selectedIndex != 1 && f.intResponder.selectedIndex != 4) {
			f.state_prov.selectedIndex = 0;
		}
		//if 'Other' was chosen but reader did not fill in the other text box, throw an alert
		if (f.intResponder.selectedIndex == 14 && f.otherCountry.value == '') {
			alert('Please specify a country');
		f.otherCountry.focus();
		}
		//if nothing was chosen
		if (f.intResponder.selectedIndex == 0) {
			alert('Please indicate a country')
		}
		return;
	}
	
	function moveArrow(theField) {
		if (theField == 'country') {
			//if 'Other' was selected
			if (f.intResponder.selectedIndex == 14){
				document.country_arrow.src="/_assets/images/shared/whiteDot.gif";
				document.other_arrow.src="/_assets/images/shared/redArrow.gif";
				document.state_arrow.src="/_assets/images/shared/whiteDot.gif";
				document.city_arrow.src="/_assets/images/shared/whiteDot.gif";
				f.city.value = "";
			}
			//if USA or Canada was selected
			else if (f.intResponder.selectedIndex == 1 || f.intResponder.selectedIndex == 4) {
				document.country_arrow.src="/_assets/images/shared/whiteDot.gif";
				document.state_arrow.src="/_assets/images/shared/redArrow.gif";
				document.other_arrow.src="/_assets/images/shared/whiteDot.gif";
				document.city_arrow.src="/_assets/images/shared/whiteDot.gif"
				f.city.value = ""
			}
			//Niether other, usa, or canada was selected
			else { 
				document.country_arrow.src="/_assets/images/shared/whiteDot.gif";
				document.city_arrow.src="/_assets/images/shared/redArrow.gif";
				document.state_arrow.src="/_assets/images/shared/whiteDot.gif";
				document.other_arrow.src="/_assets/images/shared/whiteDot.gif";
				f.city.value = ""
				f.otherCountry.value = ""
			}
		}
		if (theField == 'state') {
				document.state_arrow.src="/_assets/images/shared/whiteDot.gif";
				document.city_arrow.src="/_assets/images/shared/redArrow.gif";
				f.otherCountry.value = ""
		}
		if (theField == 'city') {
				if (f.otherCountry.value == "" && f.intResponder.selectedIndex == 14) {
					document.other_arrow.src="/_assets/images/shared/redArrow.gif";
					document.city_arrow.src="/_assets/images/shared/whiteDot.gif";
				}
				//if reader goes to city box but (if USA OR Canada is selected) AND no state or province is selected throw an alert
				if ((f.intResponder.selectedIndex == 1 || f.intResponder.selectedIndex == 4) && (f.state_prov.selectedIndex == 0)) {
					document.city_arrow.src="/_assets/images/shared/whiteDot.gif";
					document.state_arrow.src="/_assets/images/shared/redArrow.gif"
				}
				if (f.intResponder.selectedIndex == 14 && f.otherCountry.value != "") {
					document.city_arrow.src="/_assets/images/shared/redArrow.gif";
					document.other_arrow.src="/_assets/images/shared/whiteDot.gif";
				}
		}
		if (theField == 'fname') {
				document.other_arrow.src="/_assets/images/shared/whiteDot.gif";
				document.city_arrow.src="/_assets/images/shared/whiteDot.gif"
		}
	}
	function properStart() {
		if (f.intResponder.selectedIndex == 0) {
			alert('Please start by indicating a country')
		}
		if (f.intResponder.selectedIndex == 14 && f.otherCountry.value == "") {
			document.other_arrow.src="/_assets/images/shared/redArrow.gif";
			alert('Please indicate a country')
		}
	}
