<!--
NewImg = new Array (
"photos/backstage/2.jpg",   
"photos/backstage/6.jpg",   
"photos/backstage/7.jpg",   
"photos/backstage/8.jpg",
"photos/backstage/3.jpg",
"photos/backstage/4.jpg",
"photos/backstage/5.jpg",
"photos/backstage/9.jpg",
"photos/backstage/12.jpg",
"photos/backstage/13.jpg",   
"photos/backstage/21.jpg",   
"photos/backstage/15.jpg",   
"photos/backstage/10.jpg",   
"photos/backstage/11.jpg",   
"photos/backstage/17.jpg",
"photos/backstage/18.jpg",
"photos/backstage/19.jpg",
"photos/backstage/20.jpg",
"photos/backstage/22.jpg",
"photos/backstage/23.jpg", 
"photos/backstage/16.jpg"
);

var captionsArray = new Array(
"Contestant Coordinators (from left to right) Gary, Tony, Jackie, Cassandra and Shannon prep the contestants for College Week.",//01
"Joe Somerville sipping that caffeine in the early morning!",//02
"Candace, Stacy and Kathryn say 'cheese' for the camera.",//03
"Production Coordinators Patrick and Trevor make things happen behind the scenes.",//04
"Accounting team Steve Simpson and Janet Yamada processing the paper work for our paychecks!",//05
"Want some Wheel goodies? 'SWAG Man' Curtis Stanton has plenty!",//06
"Christy Myers and Matt Erbstein give two thumbs up for Chicago!",//07
"What a fine looking Marketing team!",//08
"Publicity & Promotions Assistant Rachel Gerin is so busy--radio in one hand, cell phone in the other.",//09
"Wheel's Publicist Julie Hirschberg concentrating on the day's work.",//10
"Art Director Renee Hoss-Johnson reviews blueprints of the stage.",//11
"Our producers get the staff geared up during a morning production meeting.",//12
"There goes Sean--hard at work escorting the audience to their seats!",//13
"David & Matt are so excited to get the shows started after loading in the audience!",//14
"Senior Producer Karen Griffith shares a lovely smile, while Executive Producer Harry Friedman hides behind his coffee cup!",//15
"Director Mark Corwin takes a break to say hello",//16
"Like father, Like son. Nick and Randy get the best shots of the contestants!",//17
"Sound Check. One. Two. Barbara Hagen makes sure all the sound is perfect.",//18
"Tracey enjoys a quick read when she's not editing the shows.",//19
"This is what home viewers don't get to see.",//20
"Wow! That's a big cheesecake! The famous Eli's Cheesecake of Chicago.  Pat, share please!"//21
 );

var ImgNum = 0;
var ImgLength = NewImg.length-1;

//Time delay between Slides in milliseconds
var delay = 200;

var lock = false;
var run;
function chgImg(direction) {
	if (document.images) {
		ImgNum = ImgNum + direction;
		if (ImgNum > ImgLength) {
			ImgNum = 0;
		}
		if (ImgNum < 0) {
			ImgNum = ImgLength;
		}
		document.slideshow.src = NewImg[ImgNum];
		document.getElementById("targettext").innerHTML = captionsArray[ImgNum];
		
   }
}

function auto() {
if (lock == true) {
lock = false;
window.clearInterval(run);
}
else if (lock == false) {
lock = true;
run = setInterval("chgImg(1)", delay);
   }
}
//-->
