function fctXHR(aDiv, anUrl) {

	var xhr = getXMLHttpRequest() ;
	
	xhr.onreadystatechange = function() {
		if (xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 0)) {
			displayText(aDiv, xhr.responseText) ;
		} ;
	}
		
	xhr.open('GET', anUrl, true) ;
	xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded ; charset=ISO-8859-1") ;
	xhr.send(null) ;
}
		
function displayText(aDiv, aText)	{

	var d = document.getElementById(aDiv) ;

	if (d == null)
		alert ('Div not found !') ;
	else
		d.innerHTML = aText ;
}
