	
		
	/*function showHideCityState(obj) {
		if(obj.checked) {
			showDiv('provider_state');
			document.form1.ZIP.disabled=true;
			document.form1.ZIP.style.backgroundColor='#999';
			document.form1.ZIP.value = "";
		} else {
			hideDiv('provider_state');
			document.getElementById('STATE').selectedIndex = 0;
			// hide and clear the city box now that no state is selected
			enableCity(document.getElementById('STATE'));
			document.form1.ZIP.disabled=false;
			document.form1.ZIP.style.backgroundColor='#FFFFFF';
			document.form1.ZIP.focus();
		}
		// clear zip field and disable but keep value if they keyed one
		
	}*/

	function showDiv(val) {
		var childNode = document.getElementById(val);
		if (childNode != null) {
			childNode.className = "expanded";
		}
	}
	
	function hideDiv(val) {
		var childNode = document.getElementById(val);
		if (childNode != null) {
			childNode.className = "collapsed";
			// special conditions to show and hide surgical drop downs
			if (val == 'physSpecialties'){
				showSelect('PROC_SW');
			}
			if (val == 'physHospAffiliation' || val == 'selectFacilityType'){
				showSelect('SURG_SW');
			}
		}
	}
	function enableCity(obj) {
		var show=false;
		if (obj.selectedIndex != 0){
			// order is important [2] is Dental.... [3] is pharmacy
			if (document.form1.PROV_TYP[2].checked || document.form1.PROV_TYP[3].checked){
				if (obj[obj.selectedIndex].value!='DC'){
					show = true;
				}
			} else {
				if (obj[obj.selectedIndex].value=='AL' || obj[obj.selectedIndex].value=='FL' || 
						obj[obj.selectedIndex].value=='GA' || obj[obj.selectedIndex].value=='MS' || 
						obj[obj.selectedIndex].value=='TN'){
						show = true;
				}
			}
			if (show){
				document.form1.CITY.style.backgroundColor='#FFFFFF';
				document.form1.CITY.disabled=false;
				showDiv('provider_city');
				return true;
			}
		}
		document.form1.CITY.value = "";
		document.form1.CITY.disabled=true;
		hideDiv('provider_city');
		return false;
	}
