function do_stateChanged(){
	/*
	if (document.officeSearch.state_id.value == 1) {
		var formAction = 'findAnOffice.cfm?state_name=ACT'	
	}
	else if (document.officeSearch.state_id.value == 2) {
		var formAction = 'findAnOffice.cfm?state_name=NSW'	
	}
	else if (document.officeSearch.state_id.value == 3) {
		var formAction = 'findAnOffice.cfm?state_name=NT'	
	}
	else if (document.officeSearch.state_id.value == 4) {
		var formAction = 'findAnOffice.cfm?state_name=QLD'	
	}
	else if (document.officeSearch.state_id.value == 5) {
		var formAction = 'findAnOffice.cfm?state_name=SA'	
	}
	else if (document.officeSearch.state_id.value == 6) {
		var formAction = 'findAnOffice.cfm?state_name=TAS'
	}
	else if (document.officeSearch.state_id.value == 7) {
		var formAction = 'findAnOffice.cfm?state_name=VIC'
	}
	else if (document.officeSearch.state_id.value == 8) {
		var formAction = 'findAnOffice.cfm?state_name=WA'
	}
	*/
	var formAction = 'findAnOffice.cfm?firstSearch=true'
	document.officeSearch.action = formAction ;
	document.officeSearch.submit();
}
function do_search(){
	if (document.officeSearch.region_id.options[document.officeSearch.region_id.selectedIndex].text != "Please select a Region"){
		document.officeSearch.region_name.value = document.officeSearch.region_id.options[document.officeSearch.region_id.selectedIndex].text;
	}
	document.officeSearch.action = 'findAnOffice.cfm?firstSearch=true';
	document.officeSearch.submit();
}
function do_showDiv(divID){
	if (document.getElementById("officeDetails_" + divID).style.display == "none"){
		document.getElementById("officeDetails_" + divID).style.display = "inline";
		document.getElementById("arrowRightDiv_" + divID).style.display = "none";
		document.getElementById("arrowDownDiv_" + divID).style.display = "inline";
	}
	else{
		document.getElementById("officeDetails_" + divID).style.display = "none";
		document.getElementById("arrowRightDiv_" + divID).style.display = "inline";
		document.getElementById("arrowDownDiv_" + divID).style.display = "none";
	}
}
