// Created by Pierre Volpe
// Duration of image (in milliseconds)
var slideShowSpeed = 4000
// Duration of crossfade (in seconds)
var crossFadeDuration = 3
var Pic = new Array()
Pic[0] = './foto/index/0001.jpg';
Pic[1] = './foto/index/0002.jpg';
Pic[2] = './foto/index/0003.jpg';
Pic[3] = './foto/index/0004.jpg';
Pic[4] = './foto/index/0005.jpg';
Pic[5] = './foto/index/0006.jpg';
Pic[6] = './foto/index/0007.jpg';
Pic[7] = './foto/index/0008.jpg';
Pic[8] = './foto/index/0009.jpg';
Pic[9] = './foto/index/0012.jpg';
Pic[10] = './foto/index/0013.jpg';
Pic[11] = './foto/index/0014.jpg';
Pic[12] = './foto/index/0015.jpg';
Pic[13] = './foto/index/0016.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 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)
}
