﻿function createRequestObject()
	{
	var http=null;
	try
		{
		http = new ActiveXObject("Msxml2.XMLHTTP");
		}
	catch(b)
		{
		try
			{
			http = new ActiveXObject("Microsoft.XMLHTTP");
			}
		catch(c)
			{http = null}
		}
	if(! http &&typeof XMLHttpRequest!="undefined")
		http = new XMLHttpRequest;
	return http;
	}
	
function getFileContentAjax(fichier)
	{
	http = createRequestObject();
	http.open("GET", fichier, false);
	http.send(null);
	return http.responseText ;
	}

	