function GetCitiesFromState(){
	var url  = 'worker.php';
	var ajax = new Ajax.Request(url, {
								method: 'get',  
								parameters: {state: $F('state'), 
											op:"GetCitiesFromState"									 
											 },
								onLoading: function(preload){},
								onSuccess: function(transport){ 
									var response = transport.responseText;    
									$('inner_city').update(response);
									$('inner_city').innerHTML;									
									},		
								onFailure: function(){alert('Please contact the website administrator');} 							
							}); 
		}
function StoreValidationZip(){
	var out = "";
	if($F('zip') == ""){
		alert("Please enter a zip code");
		return false;
		}	
	
	}
function StoreValidationZipSpa(){
	var out = "";
	if($F('zip') == ""){
		alert("Indique C\363digo Postal");
		return false;
		}	
	
	}	
function StoreValidationState(){
	var out = "";
	if($F('state') == ""){
		alert("Please select a state");
		return false;
		}		
	if($F('city') == ""){
		alert("Please select a city");
		return false;
		}		

}
function StoreValidationStateSpa(){
	var out = "";
	if($F('state') == ""){
		alert("Elija un estado");
		return false;
		}		
	if($F('city') == ""){
		alert("Elija una ciudad");
		return false;
		}		

}
	