function Nacti_destinace(nazev, id, lang) {
    
	zeme = nazev.options[id].value;
	
	$.ajax({
							method: "get",url: "/ajax_destinace.php",data: "zeme="+zeme,
							beforeSend: 
							  function(){$("#loading").show("fast");}, //show loading just when link is clicked
							
                            complete: 
							  function(){ $("#loading").hide("fast");}, //stop showing loading when the process is complete
								  
							success: 
							  function(html){ //so, if data is retrieved, store it in html
							    $("#ajax_destinace").show(); //animation
							    $("#ajax_destinace").html(html); //show the html inside .content div
                              }
	});
	
}	

function Ajax_nacti_destinace(zeme, destinace) {
    
	$.ajax({
							method: "get",url: "/ajax_destinace.php",data: "zeme="+zeme+"&lokalita="+destinace,
							beforeSend: 
							  function(){$("#loading").show("fast");}, //show loading just when link is clicked
							
                            complete: 
							  function(){ $("#loading").hide("fast");}, //stop showing loading when the process is complete
								  
							success: 
							  function(html){ //so, if data is retrieved, store it in html
							    $("#ajax_destinace").show(); //animation
							    $("#ajax_destinace").html(html); //show the html inside .content div
                              }
	});
	
}	

