window.addEvent('domready', function() {
	// You can skip the following two lines of code. We need them to make sure demos
	// are runnable on MooTools demos web page.
	if (!window.demo_path) window.demo_path = '';
	var demo_path = window.demo_path;
	// --
		
		
	
	//We can use one Request object many times.
	var req = new Request.HTML({url:'http://www.k6fm.com/titre/title_fr.html', 
		method: 'get',
		onSuccess: function(html) {
			//Clear the text currently inside the results div.
			$('alantenne').set('text', '');
			//Inject the new DOM elements into the results div.
			$('alantenne').adopt(html);
		},
		//Our request will most likely succeed, but just in case, we'll add an
		//onFailure method which will let the user know what happened.
		onFailure: function() {
			$('alantenne').set('text', 'The request failed.');
		},
		onComplete: function() {
        antenne_refresh.delay(20);
          }
        }).send('refresh=true');


		
		
function antenne_refresh() {
  req.send('refresh=true');

}



});
