// Set slideShowSpeed (milliseconds)
var slideShowSpeed = 3600;
// Duration of crossfade (seconds)
var crossFadeDuration = 3;
// Specify the image files
var Pic = new Array();
// to add more images, just continue
// the pattern, adding to the array below

Pic[0] = 'images/wedding-car1.gif';
Pic[1] = 'images/wedding-car2.gif';
Pic[2] = 'images/wedding-car3.gif';
Pic[3] = 'images/wedding-car4.gif';
Pic[4] = 'images/wedding-car5.gif';
Pic[5] = 'images/wedding-car6.gif';
Pic[6] = 'images/wedding-car.gif';

// do not edit anything below this line
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="revealTrans(duration=2)";
document.images.SlideShow.style.filter="revealTrans(duration=1,transition=32";
document.images.SlideShow.filters.revealTrans.Apply();
}
document.images.SlideShow.src = preLoad[j].src;
if (document.all) {
document.images.SlideShow.filters.revealTrans.Play();
}
j = j + 1;
if (j > (p - 1)) j = 0;
t = setTimeout('runSlideShow()', slideShowSpeed);
}
//  End -->

