// JavaScript Document


var variableslide1=new Array()

//variableslide1[0]=['images/Flash/gagnant_du_jour.swf',6000 ,'']

//variableslide1[0]=['images/Flash/gagnant_23_08.swf',4000 ,'']
//variableslide1[1]=['images/Flash/gagnant_24_08.swf',4000 ,'']

//variableslide1[0]=['images/Flash/anim_tournoi.swf',4000 ,'']
//variableslide1[0]=['images/Flash/anim1_5p100.swf',15000 ,'']

//variableslide1[0]=['images/Flash/mobilis_foot_fr.swf',8000 ,'']
variableslide1[0]=['images/Flash/roaming.swf',24000 ,'']

//variableslide1[1]=['images/Flash/offre_premium.swf',8000 ,'']

var slidewidth1   ='254px' //set to width of LARGEST image in your slideshow
var slideheight1  ='230px' //set to height of LARGEST iamge in your slideshow, plus any text description
var slidebgcolor1 ='#000000'

//configure the below variable to determine the delay between image rotations (in miliseconds)
var slidedelay2=20000
//var slidedelay1=variableslide[currentslide][1]
////Do not edit pass this line////////////////

var ie=document.all
var dom1=document.getElementById

for (j=0;j<variableslide1.length;j++){
var cacheimage1=new Image()
cacheimage1.src=variableslide1[j][0]
}

var currentslide1=0

function rotateimages1(){
contentcontainer1='<center>'

contentcontainer1+='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="254" height="230">'
contentcontainer1+='<param name="movie" value="'+variableslide1[currentslide1][0]+'">'
contentcontainer1+='<param name="quality" value="high">'
contentcontainer1+='<param name="wmode" value="transparent">'
contentcontainer1+='<embed src="'+variableslide1[currentslide1][0]+'"  wmode="transparent" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="254" height="230"></embed>'
contentcontainer1+='</object>'

slidedelay2=variableslide1[currentslide1][1]

//*******************************************************
if (document.layers){
crossrotateobj1.document.write(contentcontainer1)
crossrotateobj1.document.close()
}
else if (ie||dom1)
crossrotateobj1.innerHTML=contentcontainer1
if (currentslide1==variableslide1.length-1) currentslide1=0
else currentslide1++

setTimeout("rotateimages1()",slidedelay2)
}

if (ie||dom1)
document.write('<div id="slidedom1" style="width:'+slidewidth1+';height:'+slideheight1+'; background-color:'+slidebgcolor1+'"></div>')

function start_slider1(){
crossrotateobj1=dom1? document.getElementById("slidedom1") : ie? document.all.slidedom1 : document.slidewidth1.document.slidenssub1
if (document.layers)
document.slidewidth1.visibility="show"
rotateimages1()
}

if (ie||dom1)
start_slider1()
else if (document.layers)
window.onload=start_slider1



