function change_icone(icone, img_id){
	var chemin = 'http://'+location.hostname+'/';
	var save_picto;
	if(icone==chemin+'img/ray_plus.gif'){
		document.getElementById(img_id).src = chemin+'img/ray_moins.gif';
	}else if(icone==chemin+'img/ray_moins.gif'){
		document.getElementById(img_id).src = chemin+'img/ray_plus.gif';
	}
}

function file(fichier) {
		var xhr_object = false;
		
		try {
			xhr_object = new ActiveXObject("Msxml2.XMLHTTP");
		} catch (e) {
			try {
				xhr_object = new ActiveXObject("Microsoft.XMLHTTP");
			} catch (E) {
				xhr_object = false;
			}
		}
		//on essaie de créer l'objet si ce n'est pas déjà fait
		if (!xhr_object && typeof XMLHttpRequest != 'undefined') {
			try {
				xhr_object = new XMLHttpRequest();
			} catch (e) {
				xhr_object = false;
			}
		}
		
		if (xhr_object) {
			xhr_object.open("GET", fichier, false);
			xhr_object.send(null);
			if (xhr_object.readyState == 4) {
				return xhr_object.responseText;
			} else {
				return false;
			}
		} else {
			return false;	
		}
	}
