<!-- Original:  CodeLifter.com (support@codelifter.com) -->
<!-- Web Site:  http://www.codelifter.com -->

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin
// Set slideShowSpeed (milliseconds)
var slideShowSpeed = 12000;
// Duration of crossfade (seconds)
var crossFadeDuration = 3;
// Specify the image files
var Pic = new Array();

// cev20071017 - add new array for quotes
var Txt = new Array();
// cev20071017 - add names and quotes to photos
// specify the text for each photo
Txt[0] = 'Witness Cantata - 4/5/1985'
Txt[1] = 'Witness Cantata - 4/9/2004'
Txt[2] = 'Witness Cantata - 4/14/2006'
Txt[3] = 'Witness to Darfur - 10/1/2007'

// to add more images, just continue
// the pattern, adding to the array below
Pic[0] = 'photos_cantata/cantata1985.jpg'
Pic[1] = 'photos_cantata/cantata2004.jpg'
Pic[2] = 'photos_cantata/cantata2006.jpg'
Pic[3] = 'photos_cantata/cantata2007.jpg'

// do not edit anything below this line
var t;
var j = 0;
var p = Pic.length;
var k = Pic.length - 1;
var preLoad = new Array();
for (i = 0; i < p; i++) {
	j = (Math.round(Math.random()*k))
	preLoad[i] = new Image();
	preLoad[i].src = Pic[j];
	// cev20071017 - next line
	preLoad[i].alt = Txt[j];
	Pic[j] = Pic[k];
	// cev20071017 - next line
	Txt[j] = Txt[k];
	k--
}
var k = Pic.length - 1;
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();
	}
	if (j >= p) {
		j = 0;
	}
	document.images.SlideShow.src = preLoad[j].src;
	// cev20071017 - next line
	document.images.SlideShow.alt = preLoad[j].alt;
	PictureQuote.innerText = preLoad[j].alt; 
	j++
	if (document.all) {
		document.images.SlideShow.filters.blendTrans.Play();
	}
	t = setTimeout('runSlideShow()', slideShowSpeed);
}
//  End -->
