
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
  
  function popup(mapage, largeur, hauteur)
    {
	var a;
	  a=window.open(mapage, 'popup', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,left=0,top=0,width=' + largeur + ',height=' + hauteur);
    }	

// =======================================
// Changer les variables suivantes
// =======================================

// Set slideShowSpeed (milliseconds)
var slideShowSpeed = 3000

// Duration of crossfade (seconds)
var crossFadeDuration = 5

// Specify the image files
var Pic = new Array() // don't touch this
// to add more images, just continue
// the pattern, adding to the array below

Pic[0] = '/Enix/CMS/Images/SLIDES/visuel1.gif';
Pic[1] = '/Enix/CMS/Images/SLIDES/visuel2.gif';
Pic[2] = '/Enix/CMS/Images/SLIDES/visuel3.gif';
Pic[3] = '/Enix/CMS/Images/SLIDES/visuel4.gif';

// =======================================
// Ne rien éditer au-dessous de cette ligne
// =======================================
var t
var jSlide = 0
var pSlide = Pic.length

var preLoad = new Array()
for (i = 0; i < pSlide; i++)
{
	preLoad[i] = new Image();
	preLoad[i].src = Pic[i];
}

function runSlideShow()
{
	if (document.all)
	{
		document.images.SlideShow.style.filter="blendTrans(duration=5)"
		document.images.SlideShow.style.filter="blendTrans(duration=crossFadeDuration)"
		document.images.SlideShow.filters.blendTrans.Apply() 
	}
	document.images.SlideShow.src = preLoad[jSlide].src
	if (document.all)
	{
		document.images.SlideShow.filters.blendTrans.Play()
	}
	jSlide = jSlide + 1
	if (jSlide > (pSlide-1)) jSlide=0
	t = setTimeout('runSlideShow()', slideShowSpeed)
}
