<!--

function dropPicked(dropdown) {

    // check if a state was picked

    if (dropdown.value == "00") {
    alert("Please pick a state.");
    dropdown.focus();
    return false;
    }
document.ST_Select.submit();
return true;
}

function hasPicked(pick) {
	
		//insert value into form
		
		document.ST_Select.State.value = pick;
		document.ST_Select.submit();
		
		return true;
	}
	
	function hasPicked2(pick, newapplist, oldapplist) {
	
		//insert value into form
		appChoice(pick, newapplist, oldapplist);
		
		document.ST_Select.State.value = pick;
		document.ST_Select.submit();
		
		return true;
	}
	
	function dropPicked2(dropdown, newapplist, oldapplist) {

    // check if a state was picked

    if (dropdown.value == "00") {
    alert("Please pick a state.");
    dropdown.focus();
    return false;
    }
    
    appChoice(dropdown.value, newapplist, oldapplist);
    
		document.ST_Select.submit();
		return true;
}
	
function appChoice(state, newapplist, oldapplist){

	if (newapplist.search(state) > -1)
	{
		// State is in NewApp List
		document.ST_Select.action = "Intro.asp";
	}
	else if (oldapplist.search(state) > -1)
	{
		// State is not in NewApp List, but is in old app list
		document.ST_Select.action = "o_Intro.asp";
	}
	else
	{
		// State is not in either list
		document.ST_Select.action = "Index.asp";
		document.ST_Select.BadState.value = state;
	}

return true;	
}	
	
function resetstate(){
	document.ST_Select.State.value = "00";
	return true;
}
// -->
