/*Example message arrays for the two demo scrollers*/
var pausecontent=new Array()
pausecontent[0]='Fête de l\'Assomption  de la Vierge-Marie<br/>';


// =======================================
// Changer les variables suivantes
// =======================================

// Set slideShowSpeed (milliseconds)
var slideShowSpeed = 5000

// Duration of crossfade (seconds)
var crossFadeDuration = 6

// 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] = 'images/P1000485_15.jpg'
Pic[1] = 'images/P1000490_20_1.jpg'
Pic[2] = 'images/P1000486_20_1.jpg'
Pic[3] = 'images/P1000483_15_1.jpg'
Pic[4] = 'images/P1000482_20_1.jpg'
Pic[5] = 'images/P1000480_15_1.jpg'


Pic[0] = '/TempsForts/Kermesse/images/prep_forces.jpg'
Pic[1] = '/TempsForts/Kermesse/images/preparation_kermesse1.jpg'
Pic[2] = '/TempsForts/Kermesse/images/preparation_kermesse2.jpg'

Pic[3] = '/TempsForts/Kermesse/images/prep_montages.jpg'
Pic[4] = '/TempsForts/Kermesse/images/IMG_5269.jpg'
Pic[5] = '/TempsForts/Kermesse/images/IMG_5271.jpg'
Pic[6] = '/TempsForts/Kermesse/images/IMG_5272.jpg'
Pic[7] = '/TempsForts/Kermesse/images/IMG_5281.jpg'

Pic[8] ='/TempsForts/Kermesse/images/preparation_kermesse3.jpg'
Pic[9] = '/TempsForts/Kermesse/images/preparation_kermesse4.jpg'
Pic[10] = '/TempsForts/Kermesse/images/preparation_kermesse5.jpg'
Pic[11] = '/TempsForts/Kermesse/images/IMG_5284.jpg'
Pic[12] = '/TempsForts/Kermesse/images/IMG_5285.jpg'
Pic[13] = '/TempsForts/Kermesse/images/Préparation_vente_aux_enchères.jpg'
Pic[14] = '/TempsForts/Kermesse/images/Vente_tickets_repas_title.jpg'
Pic[15] = '/TempsForts/Kermesse/images/Vente_tickets_repas.jpg'
Pic[16] = '/TempsForts/Kermesse/images/eucharistie_title.jpg'
Pic[17] = '/TempsForts/Kermesse/images/autel.jpg'

Pic[18] = '/TempsForts/Kermesse/images/hUGHES.jpg'
Pic[19] = '/TempsForts/Kermesse/images/chants.jpg'
Pic[20] = '/TempsForts/Kermesse/images/IMG_5297.jpg'
Pic[21] = '/TempsForts/Kermesse/images/IMG_5298.jpg'
Pic[22] = '/TempsForts/Kermesse/images/IMG_5299.jpg'

Pic[23] = '/TempsForts/Kermesse/images/Communion_title.jpg'
Pic[24] = '/TempsForts/Kermesse/images/Communion.jpg'
Pic[25] = '/TempsForts/Kermesse/images/Jeunes_du_frat.jpg'
Pic[26] = '/TempsForts/Kermesse/images/IMG_5330.jpg'
Pic[27] = '/TempsForts/Kermesse/images/IMG_5341.jpg'
Pic[28] = '/TempsForts/Kermesse/images/IMG_5348.jpg'
Pic[29] = '/TempsForts/Kermesse/images/IMG_5353.jpg'
Pic[30] = '/TempsForts/Kermesse/images/IMG_5349.jpg'

Pic[31] = '/TempsForts/Kermesse/images/Radio_Horizon_title.jpg'
Pic[32] = '/TempsForts/Kermesse/images/Radio_Horizon.jpg'
Pic[33] = '/TempsForts/Kermesse/images/stand_de_fleurs.jpg'
Pic[34] = '/TempsForts/Kermesse/images/Pêche_aux_bateaux.jpg'
Pic[35] = '/TempsForts/Kermesse/images/Vente_aux_enchères_title.jpg'
Pic[36] = '/TempsForts/Kermesse/images/Vente_aux_enchères.jpg'
Pic[37] = '/TempsForts/Kermesse/images/Vierge_parmi_les_fleurs.jpg'
Pic[38] = '/TempsForts/Kermesse/images/kermesse2_50.jpg'
Pic[39] = '/TempsForts/Kermesse/images/chateau_de_Gadancourt_50.jpg'



Pic[0] = '/TempsForts/soeurs/raphaelle/raph.jpg'
Pic[1] = '/TempsForts/soeurs/raphaelle/rapahelle.jpg'
Pic[2] = '/TempsForts/soeurs/raphaelle/gloria_jmf.jpg'
Pic[3] = '/TempsForts/soeurs/raphaelle/pendant.jpg'
Pic[4] = '/TempsForts/soeurs/raphaelle/apres0.jpg'
Pic[5] = '/TempsForts/soeurs/raphaelle/apres1.jpg'
Pic[6] = '/TempsForts/soeurs/raphaelle/apres2.jpg'
Pic[7] = '/TempsForts/soeurs/raphaelle/apres3.jpg'
Pic[8] = '/TempsForts/soeurs/raphaelle/chapelle.jpg'
Pic[9] = '/TempsForts/soeurs/raphaelle/batiment.jpg'

*/

for (i = 1; i < 8; i++)
{
	Pic[i-1] = '/TempsForts/15AOUT/2008/' + i + '.jpg';
}


// =======================================
// Ne rien éditer au-dessous de cette ligne
// =======================================

var t
var j = 0
var p = Pic.length

var preLoad = new Array()
for (i = 0; i < p; i++){
preLoad[i] = new Image()
preLoad[i].src = Pic[i]
}

function runSlideShow(){
if (document.all){
document.images.SlideShow.style.filter="blendTrans(duration=2)"
document.images.SlideShow.style.filter="blendTrans(duration=crossFadeDuration)"
document.images.SlideShow.filters.blendTrans.Apply() 
}
document.images.SlideShow.src = preLoad[j].src
if (document.all){
document.images.SlideShow.filters.blendTrans.Play()
}
j = j + 1
if (j > (p-1)) j=0
t = setTimeout('runSlideShow()', slideShowSpeed)
}

