	function confirmation_action(nom_formulaire,action) {
		if (confirm('Etes vous sûr de vouloir ' + action + ' cet élément ?')) document.forms[nom_formulaire].submit();
	}

	function ajax_writediv(calque,texte) {
		document.getElementById(calque).innerHTML = texte;
	}
	
	function ajax_go(script_nom,script_param) {
		// exemple
		if(script_nom != '') {
			if (script_nom.length>4) {
				//window.alert(escape(script_nom)+escape(script_param));
				
				if(texte = ajax_file(script_nom + script_param)) {
					ajax_writediv('ajax_surface',texte);
				}
			}
		}
	}
	
	function ajax_file(fichier) {
		if(window.XMLHttpRequest) // FIREFOX
			xhr_object = new XMLHttpRequest();
		else if(window.ActiveXObject) // IE
			xhr_object = new ActiveXObject("Microsoft.XMLHTTP");
		else
			return(false);
		xhr_object.open("GET", fichier, false);
		xhr_object.send(null);
	
		if(xhr_object.readyState == 4)
			return(xhr_object.responseText);
		else
			return(false);
	}
