<!--
var n = 0;

timesecs = 15; //Starting seconds between image rotation
speedupsecs = 2; //Seconds sped up each pass
timedelay = timesecs * 1000;

var imgs = new Array();
imgs[0] = "images/marketmessage1.jpg";
imgs[1] = "images/marketmessage2.jpg";
imgs[2] = "images/marketmessage3.jpg";
imgs[3] = "images/marketmessage4.jpg";
imgs[4] = "images/marketmessage5.jpg";
imgs[5] = "images/marketmessage6.jpg";
imgs[6] = "images/people2.jpg";

function rotate() {
	document.slideshow.src = imgs[n];
	(n == (imgs.length - 1)) ? n = 0 : n++;
	timedelay = timedelay - (speedupsecs * 1000); // speed up occurs here
	if (timedelay <= (speedupsecs * 1000)) { timedelay = timesecs * 1000; } // reset here
	window.setTimeout("rotate()", timedelay);
}
window.onload = rotate;
// -->
