window.onload =  runSlideShow;
// Set slideShowSpeed (milliseconds)
var slideShowSpeed = 10000;
// Duration of crossfade (seconds)
var crossFadeDuration = 2;
// Enable random image sequence
var randomSequence = false;
// Specify the image files
var Pic = new Array();
// to add more images, just continue
// the pattern, adding to the array below

Pic[0] = 'images/header-quote-01.gif'
Pic[1] = 'images/header-quote-02.gif'
Pic[2] = 'images/header-quote-03.gif'
Pic[3] = 'images/header-quote-04.gif'
Pic[4] = 'images/header-quote-05.gif'

// do not edit anything below this line
var t;
var j;
var z = 0;
var p = Pic.length;
var preLoad = new Array();
if (randomSequence){
for (i = 0; i < p; i++) {
j = Math.floor(Math.random()*p);
preLoad[i] = new Image();
preLoad[i].src = Pic[j];
}}
else {
for (i = 0; i < p; i++) {
preLoad[i] = new Image();
preLoad[i].src = Pic[i];
}}
function runSlideShow() {
if (document.all && z > 0) {
document.images.SlideShow.style.filter="blendTrans(duration=2)";
document.images.SlideShow.style.filter="blendTrans(duration=crossFadeDuration)";
document.images.SlideShow.filters.blendTrans.Apply();
}
else if (document.all && z == 0){
document.images.SlideShow.style.filter="blendTrans(duration=0)";
document.images.SlideShow.style.filter="blendTrans(duration=0)";
document.images.SlideShow.filters.blendTrans.Apply();
}
document.images.SlideShow.src = preLoad[z].src;
if (document.all && z > 0) {
document.images.SlideShow.filters.blendTrans.Play();
}
else if (document.all && z == 0) {
document.images.SlideShow.filters.blendTrans.Play();
}
z = z + 1;
if (z > (p - 1)) z = 0;
t = setTimeout('runSlideShow()', slideShowSpeed);
}// JavaScript Document