// JavaScript Document
// by Daniel Servranckx, Admaris Inc.
	// Free for all users, but leave in this  header
	// All browsers
	// ====================================================
	// set the following global variables to fit your needs
	// ====================================================
	
	// Set slideShowSpeed (milliseconds) - each frame lasts for 2.5 seconds
	var slideShowSpeed = 11000; //11 seconds to accomodate the animated gif show time
	
	// Specify the image files
	var Pic = new Array(); // don't touch this
	// to add more images, just continue the pattern, adding sequentially to the array below
	Pic[0] = 'img/728_Pointing_SOC.gif';
	Pic[1] = 'img/728_Singled_SOC.gif';
	Pic[2] = 'img/728_Staring_SOC.gif';
	Pic[3] = 'img/728_Uncomfortable_SOC.gif';
	// =======================================
	// do not edit anything below this line
	// =======================================
	var t; // used to set the individual gif timeout
	var i, j = 0; // a loop counter
	var p = Pic.length; // calculate the size of the picture array
	
	var preLoad = new Array();
	for (i = 0; i < p; i++){
		 preLoad[i] = new Image();
		 preLoad[i].src = Pic[i];
	}
	
	//------------------------------------------------------------------------------------
	function runSlideShow(){
		 document.images.SlideShow.src = preLoad[j].src; // reload the slide show in the DOM
		 j = j + 1;
		 if (j > (p-1)) j=0
		 t = setTimeout('runSlideShow()', slideShowSpeed);
	}
