	var tableau_img = Array();
	var tableau_imgpres = Array();
	var ie = document.all;
	var slidespeed = 4000;
	var bPres = Boolean();
	var indice_img;

	tableau_img[0] = new Image();
	tableau_img[0].src = "fileadmin/docs/Images/accueil/1A.jpg";

	for(k=0; k<1; k++)
	{
		indice_img = Math.round(Math.random()*0);
		bPres = false;
		
		for (i=0; i<k; i++)
		{
			if (tableau_imgpres[i] == indice_img)
			{
				bPres = true;
			}
		}
		
		if (bPres == false)
		{

				document.write('<img id='+eval("'slide"+k+"'")+' name='+eval("'slide"+k+"'")+' src='+tableau_img[indice_img].src+' style="filter:blendTrans(duration=3);"  border="0" class="images" alt="Images promotion"/>');

			
			tableau_imgpres[k] = indice_img;
		}
		else
		{
			k--;
		}
	}

	var blenddelay = (ie)? document.images.slide0.filters[0].duration*1000 : 0;

	function slideit()
	{
		if(tableau_img.length <= 1 )
			return;

		var ran_number=Math.round(Math.random()*0);
		var theimage=eval("'slide"+ran_number+"'");
		indice_img = Math.round(Math.random()*0);
		
		if (!document.images) return;
		
		bPres = false;
		for (k=0; k<1; k++)
		{
			if (tableau_imgpres[k] == indice_img)
			{
				bPres = true;
			}
		}

		if (bPres == false)
		{
			if (ie) document.images[theimage].filters[0].apply();
			document.images[theimage].src = tableau_img[indice_img].src;
			tableau_imgpres[ran_number] = indice_img;
			if (ie) document.images[theimage].filters[0].play();
			setTimeout("slideit()",slidespeed+blenddelay);
		}
		else
		{
			slideit();
		}
	}
slideit();