function loadCities(field){
	var stateField  = this.id;
	var controller = stateField.substring(0,stateField.indexOf("StateId"));
	
	$("#"+controller+"CityId").hide();
	$("#"+controller+"CityId").load("/cities/getCitiesByState/"+$(this).val(), null, showCities);
}

function showCities(){
	var cityField  = this.id;
	var controller = cityField.substring(0,cityField.indexOf("CityId"));
	$("#"+controller+"CityId").show();
}
