		var numPics = 4;	
	
	// BEGIN: script for login.cfm slide show
		// http://www.codelifter.com/main/javascript/slideshow3.html
		
		// Set the slideshow speed (in milliseconds)
		var SlideShowSpeed = 7000;
		
		// Set the duration of crossfade (in seconds)
		var CrossFadeDuration = 1;
		
		var Picture = new Array(); // don't change this
		var Caption = new Array(); // don't change this
		
		//change cfstuff to js.....				
		var Picture = new Array()
		for(i =0; i < numPics; i++){
			Picture[i] = "images/gallery/00" + i +".gif";
		}
														
	
		// Do not edit anything below this line!
		var tss; // time slide show
		var iss; // increment slide show
		var jss = 0; // 
		var pss = Picture.length-1; // Photo Slide Show
		
		var preLoad = new Array();
		for (iss = 0; iss < pss+1; iss++)
			{
			preLoad[iss] = new Image();
			preLoad[iss].src = Picture[iss];
			}
		
		function runSlideShow(){
		if (document.all){
			document.images.PictureBox.style.filter="blendTrans(duration=0)";
			document.images.PictureBox.style.filter="blendTrans(duration=CrossFadeDuration)";
			document.images.PictureBox.filters.blendTrans.Apply();}
			document.images.PictureBox.src = preLoad[jss].src;
			if (document.all) document.images.PictureBox.filters.blendTrans.Play();
				jss = jss + 1;
				if (jss > (pss)) jss=0;
					tss = setTimeout('runSlideShow()', SlideShowSpeed);
		}
	// END: script for login.cfm slide show