














function check()
{
	tForm = window.document.search;
	tForm.submit();
}

function selectState(stateListIn)
{

	if(stateListIn.options.length == 0)
	{
			 var objOption = document.createElement("option");
					objOption.text = "Select a State...";
					  objOption.value = "";
	
			if(document.all && !window.opera)
				{stateListIn.add(objOption);}
			  else
				{stateListIn.add(objOption, null);}

		for(cntr=0; cntr<states.length; cntr++)
		{
			 var objOption = document.createElement("option");
					objOption.text = states[cntr][1];
					  objOption.value = states[cntr][0];
	
			if(document.all && !window.opera)
				{stateListIn.add(objOption);}
			  else
				{stateListIn.add(objOption, null);}
		
		}
	}
	
	state = stateListIn.options[stateListIn.selectedIndex].value;

	while(stateListIn.form.city.options.length >= 1)
	{stateListIn.form.city.remove(0);}

	for(cntr=0; cntr<cities.length; cntr++)
	{
		if(cities[cntr][0] == state)
		{
               var objOption = document.createElement("option");
               objOption.text = cities[cntr][1];
               objOption.value = cities[cntr][1];

			if(document.all && !window.opera)
                 {stateListIn.form.city.add(objOption);}
                else
                 {stateListIn.form.city.add(objOption, null);}

		}
	}
	
	if(stateListIn.form.city.options.length == 0)
	{
	     var objOption = document.createElement("option");
     	objOption.text = "Select a State...";
          objOption.value = "";

		if(document.all && !window.opera)
            {stateListIn.form.city.add(objOption);}
          else
            {stateListIn.form.city.add(objOption, null);}
	}
}

cities = new Array();
states = new Array();

		states[0] = new Array("AL","Alabama");

		cities[0] = new Array("AL","BIRMINGHAM");

		cities[1] = new Array("AL","Hoover");

		cities[2] = new Array("AL","MIDFIELD");

		cities[3] = new Array("AL","MOBILE");

		cities[4] = new Array("AL","MONTGOMERY");

		cities[5] = new Array("AL","PELHAM");

		cities[6] = new Array("AL","TUSCALOOSA");






