	
	/* Modified by Alex Spooner, 2009-01-12 10:09:17 EST */
	
	$(document).ready(function(){
		$("#country_flied").change(function(){
			if ($("#country_flied").val()=="US"){
				$("#state_field").replaceWith('<select id="state_field" name="State" />');
				$("#States option").clone().appendTo( $("#state_field") );
			} else {
				$("#state_field").replaceWith('<input id="state_field" class="Text" name="State" type="text" />');
			}
		});
	});
	