
var RotateSpeed = 10000; // Set the slideshow speed (in milliseconds)
var CrossFadeDuration = .5;

var Picture = new Array(); // don't change this

Picture[0]  = 'Images/Small/LeeOnaMountain_small.jpg';
Picture[1]  = 'Images/Small/ski.jpg';
Picture[2]  = 'Images/Small/cliff.jpg';
Picture[3]  = 'Images/Small/bull.jpg';
Picture[4]  = 'Images/Small/laplata.jpg';

			// =====================================
			// Do not edit anything below this line!
			// =====================================

			var tss; var iss; var jss = Math.round(Math.random()*(Picture.length-1));//start at random picture
			var pss = Picture.length; var preLoad = new Array();
			//create preLoad array
			for (iss = 0; iss < pss; iss++){
									preLoad[iss] = new Image();
									preLoad[iss].src = Picture[iss];}

			function runImageRotator(){
									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.all) document.images.PictureBox.filters.blendTrans.Play();
    								jss = jss + 1; 
									if (jss == pss){ jss = 0;}
    		tss = setTimeout('runImageRotator()', RotateSpeed);
			}
