function get_ajax_xmlhttp() {
	var xhr_object = null; 
	if(window.XMLHttpRequest) { // Firefox
		try{
			xhr_object = new XMLHttpRequest(); 
		}catch (e) {}
	}else if(window.ActiveXObject){ // Internet Explorer 
		try{
			xhr_object = new ActiveXObject("Msxml6.XMLHTTP");
		}catch (e) {}
		if (xhr_object==null) {
			try{
				xhr_object = new ActiveXObject("Microsoft.XMLHTTP"); 
			}catch (e) {}
		}
		if (xhr_object==null) {
			try{
				xhr_object = new ActiveXObject("Msxml2.XMLHTTP"); 
			}catch (e) {}
		}
		if (xhr_object==null) {
			try{
				xhr_object = new ActiveXObject("MSXML2.ServerXMLHTTP.6.0"); 
			}catch (e) {}
		}
	}else { // XMLHttpRequest non supporté par le navigateur 
	}
	return xhr_object; 
}

function test_ajax(url) {
	var xhr_object = null;
	var str_result="";
	try{
		xhr_object = new XMLHttpRequest(); 
	}catch (e) {}
	if (xhr_object!=null) {str_result=str_result+"XMLHttpRequest"+test_ajax_timer(xhr_object,url)+"/";}
	xhr_object = null;
	
	try{
		xhr_object = new ActiveXObject("Msxml6.XMLHTTP");
	}catch (e) {}
	if (xhr_object!=null) {str_result=str_result+"Msxml6.XMLHTTP"+test_ajax_timer(xhr_object,url)+"/";}
	xhr_object = null;

	try{
		xhr_object = new ActiveXObject("Microsoft.XMLHTTP"); 
	}catch (e) {}
	if (xhr_object!=null) {str_result=str_result+"Microsoft.XMLHTTP"+test_ajax_timer(xhr_object,url)+"/";}
	xhr_object = null;
	
	try{
		xhr_object = new ActiveXObject("Msxml2.XMLHTTP"); 
	}catch (e) {}
	if (xhr_object!=null) {str_result=str_result+"Msxml2.XMLHTTP"+test_ajax_timer(xhr_object,url)+"/";}
	xhr_object = null;
	
	try{
		xhr_object = new ActiveXObject("MSXML2.ServerXMLHTTP.6.0"); 
	}catch (e) {}
	if (xhr_object!=null) {str_result=str_result+"MSXML2.ServerXMLHTTP.6.0"+test_ajax_timer(xhr_object,url)+"/";}
	xhr_object = null;

	return str_result;
}
function test_ajax_timer(xhr_object,url) {
	return 0;
	var i,t,data,data_tmp;
	data="";
	data_tmp="";
	for (i=1;i<1000;i++) {
		data_tmp=data_tmp+"0123456789";
	}
	for (i=1;i<10;i++) {
		data=data+data_tmp;
	}
	if (xhr_object!=null) {
		var t_start=new Date();
		var t_stop;
		for (i=1;i<2;i++) {
			xhr_object.onreadystatechange = function() { 
				if(xhr_object.readyState == 4) {data_tmp=xhr_object.responseText;
				}
			}
			xhr_object.open("POST", ""+url, true);
			xhr_object.setRequestHeader("Content-type", "application/x-www-form-urlencoded"); 
			xhr_object.send(data);
		}
		t_stop=new Date;
		t=new Date(t_stop-t_start);
		t=Math.floor(t.valueOf()/1000);
		//alert("t="+t);
	}
	return t;
}