function getCitiesFromCountry(country)
{
	$.getJSON("Ajax/getcitiesfromcountry.php?country="+country, updateCitiesSelect);
}
			
function updateCitiesSelect(citiesJSON)
{
	citiesListHTML = "";
	jQuery.each(citiesJSON, function(i, item) {
		citiesListHTML += "<option value='"+item.CityID+"'>"+item.Name+"</option> ";
	});
	citiesListHTML = "<option value='-1' selected='selected'>S&eacute;lectionnez</option>"
			+ "<option value='0'>&nbsp;&nbsp;&nbsp;&nbsp;Autre</option>"
			+ citiesListHTML;
	$("#citiesselect").html(citiesListHTML);
}