function redirectionAvecDelai()
{
  window.setTimeout(redirection, 400);
}

function redirection()
{
  window.location.href="/index_accueil.php";
}


// Alerte au clic sur des éléments particuliers
function Alert()
{
   if(!document.getElementById) return;

   var link = document.getElementById('lien_accueil');
   if(!link) return;
	link.onclick = function ()
	{
		
/*		var photo_accueil = $('photo_accueil');
		var bObject = document.createElement("object");
		bObject.setAttribute('id','clicMP3');
		bObject.setAttribute('type','application/x-shockwave-flash');
		bObject.setAttribute('data','./flash/player_mp3_maxi.swf');
		bObject.setAttribute('width','200');
		bObject.setAttribute('height','20');
		photo_accueil.appendChild(bObject);
		
		Element.hide('clicMP3');

		var param1 = document.createElement("param");
		param1.setAttribute('wmode','transparent');
		bObject.appendChild(param1);

		var param2 = document.createElement("param");
		param2.setAttribute('movie','./flash/player_mp3_maxi.swf');
		bObject.appendChild(param2);

		var param3 = document.createElement("param");
		param3.setAttribute('FlashVars','configxml=../flash/mp3.xml&amp;mp3=media/mp3/clic.mp3&amp;autoplay=1');
		bObject.appendChild(param3);
*/

		document.getElementById("clic_mp3").SetVariable("player:jsPlay", "");
		
		redirectionAvecDelai();
	
		return false;	
    }

}

// Appel de la fonction
Event.observe(window, 'load', Alert, false);