var slideShowhomeSpeed = 4000

var crossFadeDuration = 3

var Pic = new Array()

Pic[0] = 'fondu_home/new/1.jpg'

Pic[1] = 'fondu_home/new/2.jpg'

Pic[2] = 'fondu_home/new/3.jpg'

Pic[3] = 'fondu_home/new/4.jpg'

Pic[4] = 'fondu_home/new/5.jpg'

Pic[5] = 'fondu_home/new/6.jpg'

Pic[6] = 'fondu_home/new/7.jpg'

Pic[7] = 'fondu_home/new/8.jpg'

Pic[8] = 'fondu_home/new/9.jpg'

Pic[9] = 'fondu_home/new/10.jpg'

Pic[10] = 'fondu_home/new/11.jpg'

Pic[11] = 'fondu_home/new/12.jpg'

Pic[12] = 'fondu_home/new/13.jpg'

Pic[13] = 'fondu_home/new/14.jpg'

Pic[14] = 'fondu_home/8.jpg'

Pic[15] = 'fondu_home/new/15.jpg'

Pic[16] = 'fondu_home/9.jpg'

Pic[17] = 'fondu_home/10.jpg'


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 runSlideShowhome(){

if (document.all){

document.images.SlideShowhome.style.filter="blendTrans(duration=2)"

document.images.SlideShowhome.style.filter="blendTrans(duration=crossFadeDuration)"

document.images.SlideShowhome.filters.blendTrans.Apply() 

}

document.images.SlideShowhome.src = preLoad[j].src

if (document.all){

document.images.SlideShowhome.filters.blendTrans.Play()

}

j = j + 1

if (j > (p-1)) j=0

t = setTimeout('runSlideShowhome()', slideShowhomeSpeed)

}
