			function recherche_soumission()
	  		{
	  			var choix_categorie_liste=document.recherche.INPUT_choix_categorie_liste.value;
	  				  		
	  			XML_extract(null,"xml/recherche.xml.php","choix_categorie_liste="+choix_categorie_liste+"&recherche_texte=" + document.recherche.recherche_texte.value + "&recherche_tri=" + document.recherche.recherche_tri.value + "&recherche_tri_type=" + document.recherche.recherche_tri_type.value+ "&FLAG_recherche_approximative=" + document.recherche.FLAG_recherche_approximative.value); 
	  			return false;
	  		}
	  		
	  		function recherche_reproduction(texte,
	  										FLAG_recherche_approximative)
	  		{
	  			document.recherche.recherche_texte.value=texte;	
	  			document.recherche.FLAG_recherche_approximative.value=FLAG_recherche_approximative;
	  			recherche_soumission();
	  		}
	  		
	  		function recherche_approximative()
	  		{
	  			var texte = document.recherche.recherche_texte.value;
	  			var FLAG_recherche_approximative = document.recherche.FLAG_recherche_approximative.value;
	  			
	  			if(FLAG_recherche_approximative==1)
	  			{
	  				document.recherche.FLAG_recherche_approximative.value=0;
	  				document.getElementById('image_recherche_approximative').src='images/plus.gif';
					document.getElementById('image_recherche_approximative').title='Rechercher sur UN SEUL mot';
			
	  				var reg=new RegExp("(\\+)", "g");
					texte = texte.replace(reg," ");
					document.recherche.recherche_texte.value=texte;
	  			}
	  			else
	  			{
	  				document.recherche.FLAG_recherche_approximative.value=1;
	  				document.getElementById('image_recherche_approximative').src='images/moins.gif';
					document.getElementById('image_recherche_approximative').title='Rechercher TOUS les mots';
			
	  				var reg=new RegExp("( )", "g");
					texte = texte.replace(reg,"+");
					document.recherche.recherche_texte.value=texte;
	  			}
	  		}
	  		
	  		
	  		function recherche_approximative_et_soumission()
	  		{
	  			recherche_approximative();
	  			recherche_soumission();
	  		}
	  		
	  		
	  		
	  		//*************************************************************************//
	  		//*************************************************************************//
	  		//*************************************************************************//
	  		//*************************************************************************//
	  		//*************************************************************************//
	  		//*************************************************************************//
	  		function gestion_affichage_recherche_par_categories(hauteur)
	  		{
	  			gestion_affichage("LAYER_recherche_par_categories");
	  			
	  			var affichage_final;
	  			affichage_final=verification_affichage("LAYER_recherche_par_categories");
	  			
	  			if(affichage_final==0)
	  			{
	  				document.getElementById('LAYER_recherche_par_categories_global').style.height="20px";
	  			}
	  			else
	  			{
	  				document.getElementById('LAYER_recherche_par_categories_global').style.height=hauteur+"px";
	  			}
	  		}
	  		
	  		function gestion_choix_categorie(id_categorie)
	  		{
	  			var d=document.recherche;
	  			
	  			cmd="var valeur_actuelle = d.INPUT_choix_categorie_"+id_categorie+".value;";
	  			eval(cmd);
	  			
	  			if(valeur_actuelle==1)
	  			{
	  				var cmd;
	  				cmd="document.getElementById('IMAGE_recherche_categorie_"+id_categorie+"').src='images/checked_false.gif';";
					eval(cmd);
			
					cmd="d.INPUT_choix_categorie_"+id_categorie+".value=0;";
	  				eval(cmd);
				}
	  			else
	  			{
	  				var cmd;
	  				cmd="document.getElementById('IMAGE_recherche_categorie_"+id_categorie+"').src='images/checked_true.gif';";
					eval(cmd);
			
					cmd="d.INPUT_choix_categorie_"+id_categorie+".value=1;";
	  				eval(cmd);
				}
				
				var liste=d.INPUT_choix_categorie_liste.value;
				var reg=new RegExp("(;"+id_categorie+";)", "g");
				if(reg.test(liste))
				{
					var reg2=new RegExp("("+id_categorie+";)", "g");
					liste=liste.replace(reg2,"");
				
					d.INPUT_choix_categorie_liste.value = liste;
				}
				else
				{
					d.INPUT_choix_categorie_liste.value = d.INPUT_choix_categorie_liste.value + id_categorie + ";";
				}
			}
	  		
	  	
