var objet_ajax = null;

if (window.XMLHttpRequest)
	{ // Firefox et IE7
	objet_ajax = new XMLHttpRequest();
	}
else if (window.ActiveXObject)
	{ // Internet Explorer < 7
	try
		{
		objet_ajax = new ActiveXObject();
		}
	catch (erreur_activeX_1)
		{
		try
			{
			objet_ajax = new ActiveXObject("Msxml2.XMLHTTP");
			}
		catch (erreur_activeX_2)
			{
			try
				{
				objet_ajax = new ActiveXObject("Microsoft.XMLHTTP");
				}
			catch (erreur_activeX_3)
				{
				var txt = 'Erreur ActiveX: ';
				for (t in erreur_activeX_1)
					{
					txt+='\n'+t+' : '+erreur_activeX_1[t];
					}
				for (t in erreur_activeX_2)
					{
					txt+='\n'+t+' : '+erreur_activeX_2[t];
					}
				for (t in erreur_activeX_3)
					{
					txt+='\n'+t+' : '+erreur_activeX_3[t];
					}
				alert(txt);
				objet_ajax = null;
				throw new Error(txt);
				}
			}
		}
	}
else
	{
	// XMLHttpRequest non supporté par le navigateur
	var txt = 'Erreur : Navigateur incompatible';
	throw new Error(txt);
	}
