function submitFormGeneral(adresse, div, attente)

	{
		var req = null;
		
		document.getElementById(div).innerHTML = "";
		
		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()
		{
        if (attente == true) {
			document.getElementById(div).innerHTML = "<img src='/images/attente.gif'>";}
			if(req.readyState == 4)
			{
				if(req.status == 200)
				{
					document.getElementById(div).innerHTML  = req.responseText;
				}
				else
				{
					document.getElementById(div).innerHTML="Error: returned status code " +
req.status + " " + req.statusText;
				}
			}
		};
		req.open("GET", adresse, true);
		req.send(null);
	

	}
