    /* When the window is loaded, start the script */
    Event.observe(window, 'load', sendMessage, false);

    /* Send the AJAX request */
    function sendMessage() {
      var url = "/mainsite/pages/whatsnew/podcast/" + lang + "/audio_fields.xml";
	
      /* Send a Http Request to obtain the XML file */
      var myAjax = new Ajax.Request(
      url, 
      {
        method: 'get',
        onComplete: showResponse
      });
    }
    
    /* Display the audio files list */
    function showResponse(a,b) {
      /* Extract the list of items */
      var list_items = a.responseXML.getElementsByTagName("item");
      var nb_items = $A(list_items).length;

      /* Vide la liste */
      document.getElementById("list").innerHTML = "";

      /* For each item in the podcast */
      for (var i = 0; i < nb_items; i++) {
        /* Look for the tags in the XML file */
        var item = list_items[i]; 
        var title = item.getElementsByTagName("title")[0].firstChild.nodeValue;
        var date = item.getElementsByTagName("pubDate")[0].firstChild.nodeValue;
        var description = item.getElementsByTagName("description")[0].firstChild.nodeValue;

        var enclosure = item.getElementsByTagName("enclosure")[0];
        var size = enclosure.getAttribute("length");
        var link = enclosure.getAttribute("url");


        /* Add the item to the list */
        addItem(title,date,description,size,link);
      }
    }

    /* Add an item in the document */
    function addItem( title,date,description,size,link ) {
      var dateComp = date.split (" ");
      date = dateComp[1] + " " + dateComp[2] + " " + dateComp[3];

      var br = document.createElement('br');

      var titre = document.createElement('h2');
      titre.appendChild(document.createTextNode(title));
      titre.appendChild(document.createTextNode(" - "));
      titre.appendChild(document.createTextNode(date));

      var desc = document.createElement('p');
      desc.appendChild(document.createTextNode(description));

      var fileCont = document.createElement('p');
      var file = document.createElement('a');
      file.setAttribute('href',link);
      file.appendChild(document.createTextNode("Click here to download this episode!"));

      var fileSize = document.createElement('span');
      fileSize.appendChild(document.createTextNode(" - " + size + " bytes"));

      fileCont.appendChild(file);
      fileCont.appendChild(fileSize);

      var item = document.createElement('div');
      item.appendChild(titre);
      item.appendChild(desc);
      item.appendChild(fileCont);

      document.getElementById("list").appendChild(item);
    }