function ajaxLoader(page, ajaxId, moreData, method, asynchronous)
{
	var data = 'mode=' + ajaxId;

	if(moreData != null)
		data += '&' + moreData;
	if(method == null)
		method = "POST";
	// Firefox ne fonctionne pas en mode synchrone
	if(asynchronous == null || navigator.userAgent.indexOf("Firefox") != -1)
		asynchronous = true;

	// IE
	if(document.all && !window.opera)
		var XML_Http = new ActiveXObject("Microsoft.XMLHTTP");
	// Mozilla
	else
		var XML_Http = new XMLHttpRequest();

	if(method == "GET")
		XML_Http.open("GET", page + "?" + data, asynchronous);
	else if(method == "POST")
		XML_Http.open("POST", page, asynchronous);

	// La page permet de recevoir les données
	XML_Http.onreadystatechange = function()
	{
		if (XML_Http.readyState == 4 && XML_Http.status == 200)
		{
			// Données reçues, code inhérent à chaque page
			switch(ajaxId)
			{
				case 'link':
					break;
				case 'search':
					if(XML_Http.responseXML) {
						var liste = traiterXml(XML_Http.responseXML, 'valeur');
						mettreEnCache(window[_lastIdSearch].valeur, liste);
						window[_lastIdSearch].mettreEnPlace(liste);
					}
					break;
			}
		}
	}

	if(method == "GET")
		XML_Http.send(null);
	else if(method == "POST")
	{
		XML_Http.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
		XML_Http.send(data);
	}
}
