/* Reset state/town drop down box with only towns that fit property type changed to when this is toggle it calls on  */

function changePropertyType(pageName)
	{
	if (document.searchForm.PropertyType.options[document.searchForm.PropertyType.selectedIndex].value != "")
		{
		location = pageName+'?changeType=Y&PropertyType=' + document.searchForm.PropertyType.options[document.searchForm.PropertyType.selectedIndex].value
		}
	}	
	

function changePropertyTypeExcl(pageName)
	{
	if (document.searchFormExcl.PropertyTypeExcl.options[document.searchFormExcl.PropertyTypeExcl.selectedIndex].value != "")
		{
		location = pageName+'?changeType=Y&PropertyType=' + document.searchFormExcl.PropertyTypeExcl.options[document.searchFormExcl.PropertyTypeExcl.selectedIndex].value
		}
	}

