function ChangeImage( idImage , UrlImage ) {
document.getElementById( idImage ).src = UrlImage;
}


// Set slideShowSpeed (milliseconds)
var slideShowSpeed = 6000

// Duration of crossfade (seconds)
var crossFadeDuration = 3

// 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] = '1.jpg'
Pic[1] = '2.jpg'
Pic[2] = '3.jpg'
Pic[3] = '4.jpg'
Pic[4] = '5.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)
}






var son = new Array();
son[0]='<embed src="../hulotte.wav" hidden=true autostart=true loop=0" width="0" height="0">';
son[1]='<embed src="../chardonneret.wav" hidden=true autostart=true loop=0" width="0" height="0">';
son[2]='<embed src="../pic.wav" hidden=true autostart=true loop=0" width="0" height="0">';
son[3]='<embed src="../verdier.wav" hidden=true autostart=true loop=0" width="0" height="0">';
son[4]='<embed src="../troglodyte.wav" hidden=true autostart=true loop=0" width="0" height="0">';
son[5]='<embed src="../loriot.wav" hidden=true autostart=true loop=0" width="0" height="0">';
son[6]='<embed src="../mesange.wav" hidden=true autostart=true loop=0" width="0" height="0">';
son[7]='<embed src="../chant_chardonneret.wav" hidden=true autostart=true loop=0" width="0" height="0">';
son[8]='<embed src="../chant_pic.wav" hidden=true autostart=true loop=0" width="0" height="0">';
son[9]='<embed src="../chant_troglodyte.wav" hidden=true autostart=true loop=0" width="0" height="0">';
son[10]='<embed src="../chant_hulotte.wav" hidden=true autostart=true loop=0" width="0" height="0">';
son[11]='<embed src="../chant_mesange.wav" hidden=true autostart=true loop=0" width="0" height="0">';
son[12]='<embed src="../chant_verdier.wav" hidden=true autostart=true loop=0" width="0" height="0">';
son[13]='<embed src="../chant_loriot.wav" hidden=true autostart=true loop=0" width="0" height="0">';

<!-- vous pouvez ajouter ou supprimer des sons. -->
function music(n)
{ fond_musical.innerHTML=son[n]; }





		

