function ADownloadUrl(url) {
  var xhr_object = null;
  var textHTML = '';
  try { // Firefox 
     xhr_object = new XMLHttpRequest(); 
  } catch (e) { // Internet Explorer 
     try {
     xhr_object = new ActiveXObject('Msxml2.XMLHTTP'); 
     } catch (e) { // XMLHttpRequest non supporté par le navigateur 
       try {
         xhr_object = new ActiveXObject("Microsoft.XMLHTTP"); 
       } catch (e) {}
    }
  }
  if ( xhr_object == null ) return null;
  xhr_object.open("GET", url, false);
  xhr_object.onreadystatechange = function anonymous() {
    if(xhr_object.readyState == 4 ) {
      textHTML = xhr_object.responseText;
      return xhr_object.responseText;
    }
  }
  try {
    xhr_object.send(null);
  } catch(e) {
    throw e;
  }
  return xhr_object.responseText;
}
