var select_themes_defaut = "";
var select_tpays_defaut = "";
function affiche_recherche(quoi_chercher,id_affiche,continents,value_qui,id_loading){
	if(value_qui==''){
		if(select_themes_defaut!=false)
		   $("#aff_select_themes").html(select_themes_defaut);
		if(select_tpays_defaut!="")
		   $("#aff_select_pays").html(select_tpays_defaut);
	}else {
		sav_sel= id_loading=="recherche_par_pays" ? "recherche_par_pays" : "recherche_par_themes";
		long=document.getElementById(sav_sel).options.length;
		sel="";
		for(i=0;i<long;i++){
			if(document.getElementById(sav_sel).options[i].selected==true){
				sel=document.getElementById(sav_sel).options[i].value;
			}
		}
		$("#"+id_affiche).html("<select style='color:red;font-weight:bold'><option> Veuillez patienter... </option></select>");
		$.post("ajax/recherche.php",{quoi:quoi_chercher,qui:value_qui,cont:continents,selc:sel},
			   function(data){
				   $("#"+id_affiche).html(data);
			   }
		);
	}
}