// JavaScript Document<!-- DEBUT DU SCRIPT SLIDESHOW--><!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
 if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
   document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
 else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
// DEBUT DU SCRIPT SLIDESHOW Photo verticale

// (C) 2000 www.CodeLifter.com // http://www.codelifter.com  // Free for all users, but leave in this header // NS4-6,IE4-6 // Fade effect only in IE; degrades gracefully

// Determine la vitesse de défilement des images (milliseconds)
var slideShowSpeedV = 8000;

// Duration of crossfade (seconds) seulement pour IE
var crossFadeDurationV = 1;

// Specify the image files
var PicV = new Array(); 
PicV[0] = 'images/Accueil/Real01.jpg' ;
PicV[1] = 'images/Accueil/Real02.jpg' ;
PicV[2] = 'images/Accueil/Real03.jpg' ;

// =======================================
// Ne rien éditer au-dessous de cette ligne
// =======================================

var tV;
var jV = 0;
var pV = PicV.length;
var preLoadV = new Array();
for (iV = 0; iV < pV; iV++)
	{
	preLoadV[iV] = new Image();
	preLoadV[iV].src = PicV[iV];
	}
//V
function runSlideShowV()
	{
		if (document.all)
			{
			document.images.SlideShowV.style.filter="blendTrans(duration=3)";
			//document.images.SlideShowV.style.filter="blendTrans(duration=crossFadeDurationV)"
			document.images.SlideShowV.filters.blendTrans.Apply();
			}
			document.images.SlideShowV.src = preLoadV[jV].src;
		if (document.all)
			{
			document.images.SlideShowV.filters.blendTrans.Play();
			}
		jV = jV + 1;
		if (jV > (pV-1)) jV=0;
		tV = setTimeout('runSlideShowV()', slideShowSpeedV);
	}


<!-- DEBUT DU SCRIPT SLIDESHOW Photo horizontale 1-->

// Determine la vitesse de défilement des images (milliseconds)
var slideShowSpeedH1 = 10500;

// Duration of crossfade (seconds)
var crossFadeDurationH1 = 1;

// Specify the image files
var PicH1 = new Array(); // don't touch this
// to add more images, just continue
// the pattern, adding to the array below

PicH1[0] = 'images/Accueil/Mais01.jpg';
PicH1[1] = 'images/Accueil/Mais02.jpg';
PicH1[2] = 'images/Accueil/Mais03.jpg';


// =======================================
// Ne rien éditer au-dessous de cette ligne
// =======================================

var tH1;
var jH1 = 0;
var pH1 = PicH1.length;

var preLoadH1 = new Array();
for (i = 0; i < pH1; i++)
	{
	preLoadH1[i] = new Image();
	preLoadH1[i].src = PicH1[i];
	}

function runSlideShowH1()
	{
		if (document.all){
			document.images.SlideShowH1.style.filter="blendTrans(duration=2)";
			//document.images.SlideShowH1.style.filter="blendTrans(duration=crossFadeDurationH1)";
			document.images.SlideShowH1.filters.blendTrans.Apply();
		}
			document.images.SlideShowH1.src = preLoadH1[jH1].src;
		if (document.all){
			document.images.SlideShowH1.filters.blendTrans.Play();
			}
		jH1 = jH1 + 1;
		if (jH1 > (pH1-1)) jH1=0;
		tH1 = setTimeout('runSlideShowH1()', slideShowSpeedH1);
	}

//DEBUT DU SCRIPT SLIDESHOW Photo horizontale 2

// Determine la vitesse de défilement des images (milliseconds)
var slideShowSpeedH2 = 13400;

// Duration of crossfade (seconds)
var crossFadeDurationH2 = 1;

// Specify the image files
var PicH2 = new Array(); // don't touch this
PicH2[0] = 'images/Accueil/Proj01.jpg';
PicH2[1] = 'images/Accueil/Proj02.jpg';

// =======================================
// Ne rien éditer au-dessous de cette ligne
// =======================================

var tH2;
var jH2 = 0;
var pH2 = PicH2.length;
var preLoadH2 = new Array();
for (iH2 = 0; iH2 < pH2; iH2++)
	{
	preLoadH2[iH2] = new Image();
	preLoadH2[iH2].src = PicH2[iH2];
	}
//H2
function runSlideShowH2()
	{
		if (document.all)
			{
			document.images.SlideShowH2.style.filter="blendTrans(duration=3)";
			document.images.SlideShowH2.style.filter="blendTrans(duration=crossFadeDurationH2)"
			document.images.SlideShowH2.filters.blendTrans.Apply();
			}
			document.images.SlideShowH2.src = preLoadH2[jH2].src;
		if (document.all)
			{
			document.images.SlideShowH2.filters.blendTrans.Play();
			}
		jH2 = jH2 + 1;
		if (jH2 > (pH2-1)) jH2=0;
		tH2 = setTimeout('runSlideShowH2()', slideShowSpeedH2);
	}
//<!-- FIN DU SCRIPT SLIDESHOW-->

