///////////////////////////////////////////////////////////

var BannerLoad = 
[
['http://www.millennium.marmot.org/search~S14', 	'banners/Home.jpg', 	''		],		//  The caption is not required and may be left blank like this:		//
['classes.html', 	'banners/Computer-Training.jpg', 	''	],		//  						//
['history.html', 	'banners/western-history-room.jpg', 	''			],		//  Add as many images as you like seperated by commmas					//
['http://www.millennium.marmot.org/search?/dPlayaway./dplayaway/-3,-1,0,B/exact&FF=dplayaway&1,108,', 	'banners/playaway-web-slide.jpg', 	''			], 

var BannerCount		= 4;			//  *****  Change this to the total number of banners loaded above  ***** 		//	
var BannerDelay		= 5000;			//  *****  Set this to the delay interval desired.  5000 = 5 seconds.			// 
var LinkTarget		= "";		//  *****  Defines where you want linked page to open. _self, _blank, _top, etc	//
var BannerIndex		= 0;			//  DO NOT ALTER	//
var FirstLoad 		= 0;			//  DO NOT ALTER	//
var QuickStartID 	= 0;  			//  DO NOT ALTER	//
var htmlString 		= "";			//  DO NOT ALTER 	//

//  This function rotates the banner  //
function BannerChange()

{		

htmlString = '<center>';
htmlString = htmlString + '<font face = "Verdana" size="2">';		//  Font and Font Size for caption may be changed here	//
htmlString = htmlString +'<a target="';
htmlString = htmlString + LinkTarget;
htmlString = htmlString + '" href="';
htmlString = htmlString + BannerLoad[BannerIndex][0];
htmlString = htmlString + '"><img border="0" src="';				//  Image border size may be changed here				//	
htmlString = htmlString + BannerLoad[BannerIndex][1];
htmlString = htmlString + '"></a><br>';
htmlString = htmlString + BannerLoad[BannerIndex][2];
htmlString = htmlString + '</font>';
htmlString = htmlString + '</center>';		

				
// document.getElementById('Banner').innerHTML = htmlString; 
if(BannerIndex == BannerCount - 1)		
{										
BannerIndex= 0;																				
}																								
else																							
{																								
BannerIndex++;																					
}																										

if(FirstLoad == 0)						
{
SlowFinish();
}

}
//  End Funtion  //

//  This function ensures first banner is displayted without a delay  //
function  QuickStart()
{
QuickStartID=setInterval("BannerChange()", 0);
}
//  End Funtion  //																		

//  This function sets display rate to user defined speed  //
function SlowFinish()
{
clearInterval(QuickStartID);
FirstLoad = 1;
setInterval("BannerChange()", BannerDelay);	 
}
//  End Funtion  //

QuickStart()