function submitForm(Type, Flux, Datas, Cible)
	{ 
		var req = null; 
		if (Type == '') Type = "GET";

//		document.ajax.dyn.value="Started...";
 
		if (window.XMLHttpRequest)
		{
 			req = new XMLHttpRequest();
			if (req.overrideMimeType) 
			{
				req.overrideMimeType('text/xml');
			}
		} 
		else if (window.ActiveXObject) 
		{
			try {
				req = new ActiveXObject("Msxml2.XMLHTTP");
			} catch (e)
			{
				try {
					req = new ActiveXObject("Microsoft.XMLHTTP");
				} catch (e) {}
			}
        }
		req.onreadystatechange = function()
		{ 
			//document.ajax.dyn.value="Wait server...";
			if(req.readyState == 4)
			{
				if(req.status == 200)
				{
					//document.ajax.dyn.value="Received:" + req.responseText;	
					// process a XML document here
					/*
					var doc = req.responseXML;
					var element = doc.getElementsByTagName('root').item(0);
					document.ajax.dyn.value= element.firstChild.data;
					*/
					if (typeof(Cible) == "string") 
					 	document.getElementById(Cible).innerHTML = req.responseText;
					else if(typeof(Cible) == "function") 
						Cible(req.responseText);
					else alert("Aucune cible Ajax definie");
					
					alert(req.responseText);
				}	
				else	
				{
					//document.ajax.dyn.value="Error: returned status code " + req.status + " " + req.statusText;
					alert('Erreur de communication ! ' + req.status + " " + req.statusText);
				}	
			} 
		}
		req.open(Type, Flux, true);
		if (Type == "POST") 
			req.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");      
		req.send( (Type == "POST") ? Datas : null);
	} 
