<!-- Begin

//Slide Show Photos/Urls
var PictureA1  = "http://www.florstar.com/FSIHome.nsf/ff-top01.jpg?OpenImageResource";
var PictureA2  = "http://www.florstar.com/FSIHome.nsf/ff-top02.jpg?OpenImageResource";
var PictureA3  = "http://www.florstar.com/FSIHome.nsf/ff-top03.jpg?OpenImageResource";

var PictureB1  = "http://www.florstar.com/FSIHome.nsf/ff-mid01.jpg?OpenImageResource";
var PictureB2  = "http://www.florstar.com/FSIHome.nsf/ff-mid02.jpg?OpenImageResource";
var PictureB3  = "http://www.florstar.com/FSIHome.nsf/ff-mid03.jpg?OpenImageResource";

var PictureC1  = "http://www.florstar.com/FSIHome.nsf/ff-bot01.jpg?OpenImageResource";
var PictureC2  = "http://www.florstar.com/FSIHome.nsf/ff-bot02.jpg?OpenImageResource";
var PictureC3  = "http://www.florstar.com/FSIHome.nsf/ff-bot03.jpg?OpenImageResource";

//Start at the what pic:
var PicNumberA=1;
var PicNumberB=1;
var PicNumberC=1;

//Number of pics:
var NumberOfPicturesA=3;
var NumberOfPicturesB=3;
var NumberOfPicturesC=3;

//Time between pics switching in secs
var HowLongBetweenPicA=4;
var HowLongBetweenPicB=4;
var HowLongBetweenPicC=4;

// Set the duration of crossfade (in seconds)
var CrossFadeDuration = 2;

//SwitchPicA Function
function SwitchPicA(counter){

	if(counter < HowLongBetweenPicA){
	
		counter++;
		
		//DEBUG in the status bar at the bottom of the screen
		//window.status="Switch picture at 3 : "+counter+" PicNumber: "+PicNumber+" ";
		
		//Display picture in the <IMG> tag  [PictureBox]
		if (document.all){
		document.images.PictureBoxA.style.filter="blendTrans(duration=CrossFadeDuration)";
		document.images.PictureBoxA.filters.blendTrans.Apply();
		document.images.PictureBoxA.filters.blendTrans.Play();
		document.PictureBoxA.src = eval("PictureA" + PicNumberA);}
		
		
		//function calls itself
		CallSwitchPicA=window.setTimeout("SwitchPicA("+counter+")",1500); 
		
		}
		
		else{
			//if its not the last picture goto the next picture
			if(PicNumberA < NumberOfPicturesA){
				PicNumberA++;
				SwitchPicA(0);
			}
			//its the last picture go to the first one
			else{
				PicNumberA=1;
				SwitchPicA(0);
				}
	
		}

}


//SwitchPicB Function
function SwitchPicB(counter){

	if(counter < HowLongBetweenPicB){
	
		counter++;
		
		//DEBUG in the status bar at the bottom of the screen
		//window.status="Switch picture at 3 : "+counter+" PicNumber: "+PicNumber+" ";
		
		//Display picture in the <IMG> tag  [PictureBox]
		if (document.all){
		document.images.PictureBoxB.style.filter="blendTrans(duration=CrossFadeDuration)";
		document.images.PictureBoxB.filters.blendTrans.Apply();
		document.images.PictureBoxB.filters.blendTrans.Play();
		document.PictureBoxB.src = eval("PictureB" + PicNumberB);}
		
		//function calls itself
		CallSwitchPicB=window.setTimeout("SwitchPicB("+counter+")",1600); 
		
		}
		
		else{
			//if its not the last picture goto the next picture
			if(PicNumberB < NumberOfPicturesB){
				PicNumberB++;
				SwitchPicB(0);
			}
			//its the last picture go to the first one
			else{
				PicNumberB=1;
				SwitchPicB(0);
				}
	
		}

}

//SwitchPicC Function
function SwitchPicC(counter){

	if(counter < HowLongBetweenPicC){
	
		counter++;
		
		//DEBUG in the status bar at the bottom of the screen
		//window.status="Switch picture at 3 : "+counter+" PicNumber: "+PicNumber+" ";
		
		//Display picture in the <IMG> tag  [PictureBox]
		if (document.all){
		document.images.PictureBoxC.style.filter="blendTrans(duration=CrossFadeDuration)";
		document.images.PictureBoxC.filters.blendTrans.Apply();
		document.images.PictureBoxC.filters.blendTrans.Play();
		document.PictureBoxC.src = eval("PictureC" + PicNumberC);}
		
		//function calls itself
		CallSwitchPicC=window.setTimeout("SwitchPicC("+counter+")",1700); 
		
		}
		
		else{
			//if its not the last picture goto the next picture
			if(PicNumberC < NumberOfPicturesC){
				PicNumberC++;
				SwitchPicC(0);
			}
			//its the last picture go to the first one
			else{
				PicNumberC=1;
				SwitchPicC(0);
				}
	
		}

}


<!-- End

// Body Tag needs to be set as the following
// <BODY onload="SwitchPic(0)">

// The pictures will display at the location of the original image, the image tag or name will need to be set as PictureBox
// Below is an example. The image can reside any where on the page. 
// <img src="1.jpg" border="0" name="PictureBox">
