// Image Randomizer w/Incremental Link

var SlideShowSpeed = 3000;
var CrossFadeDuration = 2;
var Picture = new Array(); // don't change this
var Caption = new Array(); // don't change this
var showHot = false;       // don't change this

	Picture[1]  = 'img/innovation/display_1.jpg';
	Picture[2]  = 'img/innovation/display_2.jpg';
	Picture[3]  = 'img/innovation/display_3.jpg';
	Picture[4]  = 'img/innovation/display_4.jpg';
	Picture[5]  = 'img/innovation/display_5.jpg';
	Picture[6]  = 'img/innovation/display_6.jpg';
	Picture[7]  = 'img/innovation/display_7.jpg';
	Picture[8]  = 'img/innovation/display_8.jpg';
	Picture[9]  = 'img/innovation/display_9.jpg';
	Picture[10]  = 'img/innovation/display_10.jpg';
	Picture[11]  = 'img/innovation/display_11.jpg';
	
	Caption[1]  = "First Trade Show Exhibit in the Showcase of Innovation.";
	Caption[2]  = "Second Trade Show Exhibit in the Showcase of Innovation.";
	Caption[3]  = "Third Trade Show Exhibit in the Showcase of Innovation.";
	Caption[4]  = "Fourth Trade Show Exhibit in the Showcase of Innovation.";
	Caption[5]  = "Fifth Trade Show Exhibit in the Showcase of Innovation.";
	Caption[6]  = "Sixth Trade Show Exhibit in the Showcase of Innovation.";
	Caption[7]  = "Seventh Trade Show Exhibit in the Showcase of Innovation.";
	Caption[8]  = "Eighth Trade Show Exhibit in the Showcase of Innovation.";
	Caption[9]  = "Nineth Trade Show Exhibit in the Showcase of Innovation.";
	Caption[10]  = "Tenth Trade Show Exhibit in the Showcase of Innovation.";
	Caption[11]  = "Eleventh Trade Show Exhibit in the Showcase of Innovation.";

var tss;
var iss;
var jss = 0;
var pss = Picture.length-1;
var preLoad = new Array();
	for (iss = 1; iss < pss+1; iss++){
		preLoad[iss] = new Image();
		preLoad[iss].src = Picture[iss];}

	function control(how){
		if (showHot){
		if (how=="H") jss = 1;
		if (how=="F") jss = jss + 1;
		if (how=="B") jss = jss - 1;
		if (jss > (pss)) jss=1;
		if (jss < 1) jss = pss;
		if (document.all){
			document.images.PictureBox.style.filter="blendTrans(duration=2)";
			document.images.PictureBox.style.filter="blendTrans(duration=CrossFadeDuration)";
			document.images.PictureBox.filters.blendTrans.Apply();}
			document.images.PictureBox.src = preLoad[jss].src;
		if (document.getElementById) document.getElementById("CaptionBox").innerHTML= Caption[jss];
		if (document.all) document.images.PictureBox.filters.blendTrans.Play();
	}}