function note (name) {
	var xhr_object = null;

	if(window.XMLHttpRequest)
	   xhr_object = new XMLHttpRequest();
	else if(window.ActiveXObject)
	   xhr_object = new ActiveXObject("Microsoft.XMLHTTP");
	else {
	   alert("Votre navigateur ne supporte pas les objets XMLHTTPRequest...");
	   return;
	}

	xhr_object.open("GET", "data/note_"+name, true);

	xhr_object.onreadystatechange = function() {
	   if(xhr_object.readyState == 4) show_note(xhr_object.responseText);
	}

	xhr_object.send(null);
}

function show_note (contenu) {
	var note = document.getElementById("note");
	note.innerHTML = "<a href='javascript:hide_note()' style='float:right'>fermer</a>"+contenu;
	note.style.display = "block";
}

function hide_note () {
	var note = document.getElementById("note");
	note.style.display = "none";
}
