var city = new Array(8)
city[0] = new Array("Colburn", "Dover", "Kootenai", "Laclede", "Ponderay", "Sagle", "Samuels", "Sandpoint")
city[1] = new Array("Hope", "Clark Fork")
city[2] = new Array("Blanchard", "Coolin", "Cusick", "Laclede", "Newport", "Nordman", "Oldtown", "Priest Lake", "Priest River", "Usk")
city[3] = new Array("Athol", "Bayview", "Careywood", "Cocolalla", "Rathdrum", "Spirit Lake")
city[4] = new Array("Bonners Ferry", "Eastport", "Moyie Springs", "Naples", "Porthill")
city[5] = new Array("Heron", "Libby", "Noxon", "Thompson Falls", "Trout Creek", "Troy", "Yaak")
city[6] = new Array("Other (Ben)", "Other (Koo)", "Other (Lin)", "Other (Pen)", "Other (San)", "Other (Sho)", "Other (Spo)", "Other (Ste)", "Out Of Area")
city[7] = new Array("Athol", "Bayview", "Blanchard", "Bonners Ferry", "Careywood", "Clark Fork", "Cocolalla", "Coolin", "Cusick", "Dover", "Eastport", "Heron", "Hope", "Kootenai", "Laclede", "Moyie Springs", "Naples", "Newport", "Nordman", "Oldtown", "Ponderay", "Porthill", "Priest Lake", "Priest River", "Sagle", "Samuels", "Sandpoint", "Spirit Lake", "Usk")


function switcharray()
{
	var i;
	inarray = document.forms[1].area.options[document.forms[1].area.selectedIndex].value
	
	CitySelect = document.forms[1].elements[4]
	for (i=CitySelect.length; i >= 0; i--)
	{
		CitySelect.options[i] = null
	}
	
	selectedarea = city[inarray]
	for (i=0; i < selectedarea.length; i++)
	{	
		CitySelect.options[i] = new Option(selectedarea[i], selectedarea[i])
	}

}

function switchcity(intform)
{
	var i;
	inarray = document.forms[intform].area.options[document.forms[intform].area.selectedIndex].value
	
	CitySelect = document.forms[intform].elements[3]
	for (i=CitySelect.length; i >= 0; i--)
	{
		CitySelect.options[i] = null
	}
	
	selectedarea = city[inarray]
	for (i=0; i < selectedarea.length; i++)
	{
		CitySelect.options[i] = new Option(selectedarea[i], selectedarea[i])
	}

}
