
// Vitesse d'affichage (en millisecondes)
	var VitessAffichage = 2400;

// Dur�e d'affic&#53296;&#846;ge&#54152;�&#29888;&#342;&#0;&#0;econdes)
	var DureAffichage = 6;

// tableau de stockage
	var PhotosBS = new Array(); 

// Liste des images � afficher 
	
	PhotosBS[0]="RpDiapos/PhGiXXGM.jpg";
	PhotosBS[1]="RpDiapos/PhGiXXIM.jpg";
	PhotosBS[2]="RpDiapos/PhGiXXCM.jpg";
	PhotosBS[3]="RpDiapos/PhGiXXJM.jpg";
	PhotosBS[4]="RpDiapos/PhPaEtAM.jpg";
	PhotosBS[5]="RpDiapos/PhPaEtBM.jpg";
	PhotosBS[6]="RpDiapos/PhPaEtEM.jpg";
	PhotosBS[7]="RpDiapos/PhPaEtGM.jpg";
	PhotosBS[8]="RpDiapos/PhPaEtHM.jpg";
	PhotosBS[9]="RpDiapos/PhPiXXCM.jpg";
	

// Corps du traitement

	var tant;
	var boucle = 0;
	var lgp = PhotosBS.length;

	var preLoad = new Array();
		for (i = 0; i < lgp; i++){
			preLoad[i] = new Image();
			preLoad[i].src = PhotosBS[i];
		}

		function AfiImFon(){
			if (document.all){
				document.images.ImagFond.style.filter="blendTrans(duration=2)";
				document.images.ImagFond.style.filter="blendTrans(duration=DureAffichage)";
				document.images.ImagFond.filters.blendTrans.Apply(); 
			}
				document.images.ImagFond.src = preLoad[boucle].src;
			if (document.all){
				document.images.ImagFond.filters.blendTrans.Play();
			}
				boucle = boucle + 1;
			if (boucle > (lgp-1)) boucle=0 
				tant = setTimeout('AfiImFon()', VitessAffichage);
			} 

