/***********************************************
* Flexi Slideshow- © Dynamic Drive (www.dynamicdrive.com)
* This notice must stay intact for use
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/

var variableslide=new Array()

//variableslide[x]=["path to image", "OPTIONAL link for image", "OPTIONAL text description (supports HTML tags)"]

variableslide[0]=['Abilene%204%20Hopalong%20Cassidy%20Museum.jpg', '', 'Abilene- Hopalong Cassidy Museum.']
variableslide[1]=['Amelia%20Earhart%20Bust%20in%20the%20North%20Parlor.jpg', '', 'Amelia Earheart Bust']
variableslide[2]=['Amelia%20Earhart%20Luggage%20Line.jpg', '', 'Amelia Earheart Luggage Line']
variableslide[3]=['Amelia%20Earhart%27s%20Childhood%20Home.jpg', '', 'Amelia Earheart- Childhood home']
variableslide[4]=['Boyhood%20Home%20of%20President%20Dwight%20Eisenhower%20in%20Abilene.jpg', '', 'Boyhood Home of President Dwight Eisenhower in Abilene']
variableslide[5]=['Brookville%20Hotel.jpg', '', 'Brookville Hotel']
variableslide[6]=['Brookville%20Hotel%20Restaurant%20owner%20Mark%20Martin%20made%20sure%20we%20had%20some%20of%20his%20tasty%20fried%20chicken.jpg', '', 'Brookville Hotel Restaurant owner Mark Martin made sure we had some of his tasty fried chicken']
variableslide[7]=['Kansas%20Cosmosphere%20and%20Space%20Center%201.jpg', '', 'Kansas Cosmosphere and Space Center']
variableslide[8]=['Kansas%20Cosmosphere%20and%20Space%20Center%202.jpg', '', 'Kansas Cosmosphere and Space Center']
variableslide[9]=['Kansas%20Cosmosphere%20and%20Space%20Center%203.jpg', '', 'Kansas Cosmosphere and Space Center']
variableslide[10]=['Kansas%20Cosmosphere%20and%20Space%20Center%204.jpg', '', 'Kansas Cosmosphere and Space Center']
variableslide[11]=['Kansas%20Cosmosphere%20and%20Space%20Center%205.jpg', '', 'Kansas Cosmosphere and Space Center']
variableslide[12]=['Maribeth%20serves%20up%20a%20platter%20of%20fried%20chicken%20at%20the%20Brookville%20Hotel.jpg', '', 'Maribeth serves up a platter of fried chicken at the Brookville Hotel']
variableslide[13]=['Maribeth%20serves%20up%20a%20platter%20of%20fried%20chicken%20at%20the%20Brookville%20Hotel.jpg', '', 'Maribeth serves up a platter of fried chicken at the Brookville Hotel']
variableslide[14]=['Museum%20of%20World%20Treasures%203%20%20T-Rex.jpg', '', 'Museum of World Treasures']
variableslide[15]=['Museum%20of%20World%20Treasures%205%20Greek%20Vases.jpg', '', 'Museum of World Treasures']
variableslide[16]=['Museum%20of%20World%20Treasures%206%20Chinese%20Statues.jpg', '', 'Museum of World Treasures']
variableslide[17]=['Museum%20of%20World%20Treasures%208%20Taking%20a%20closeup%20look%20at%20the%20mummy.jpg', '', 'Museum of World Treasures']
variableslide[18]=['Newspaper%20Headline%20in%201937%20about%20Amelia%20Earhart%27s%20Disappearance.jpg', '', 'Newspaper Headline in 1937 about Amelia Earharts Disappearance ']
variableslide[19]=['On%20tour%20with%20Park%20Ranger%20Ron%20at%20Tallgrass%20Prairie%20National%20Reserve.jpg', '', 'On tour with Park Ranger Ron at Tallgrass Prairie National Reserve']
variableslide[20]=['Prairie%20grass%20is%20as%20tall%20as%20some%20visitors!.jpg', '', 'Prairie grass is as tall as some visitors!']
variableslide[21]=['Ranch%20House%20built%20in%201881%20by%20Stephen%20F.%20Jones%20at%20Tallgrass%20Prairie.jpg', '', 'Ranch House built in 1881 by Stephen F. Jones at Tallgrass Prairie']
variableslide[22]=['Robert%20J.%20Dole%20Institute%20of%20Politics.jpg', '', 'Robert J. Dole Institute of Politics']
variableslide[23]=['Roman%20artifacts%20from%20the%20reign%20of%20Julius%20Caesar%20%20Nero%20%20Trajan%20and%20Hadrian%20at%20the%20Museum%20of%20World%20Treasures.jpg', '', 'Museum of World Treasures']
variableslide[24]=['Stained%20Glass%20American%20Flag%20at%20the%20Robert%20J.%20Dole%20Institute%20of%20Politics.jpg', '', 'Robert J. Dole Institute of Politics']
variableslide[25]=['Wildflowers%20at%20Tallgrass%20Prairie%20National%20Reserve.jpg', '', 'Prairie National Reserve']

//configure the below 3 variables to set the dimension/background color of the slideshow

var slidewidth='250px' //set to width of LARGEST image in your slideshow
var slideheight='300px' //set to height of LARGEST iamge in your slideshow, plus any text description
var slidebgcolor='transparent'

//configure the below variable to determine the delay between image rotations (in miliseconds)
var slidedelay=4000

////Do not edit pass this line////////////////

var ie=document.all
var dom=document.getElementById

for (i=0;i<variableslide.length;i++){
var cacheimage=new Image()
cacheimage.src=variableslide[i][0]
}

var currentslide=0

function rotateimages(){
contentcontainer='<center>'
if (variableslide[currentslide][1]!="")
contentcontainer+='<a href="'+variableslide[currentslide][1]+'">'
contentcontainer+='<img src="'+variableslide[currentslide][0]+'" border="0" vspace="3">'
if (variableslide[currentslide][1]!="")
contentcontainer+='</a>'
contentcontainer+='</center>'
if (variableslide[currentslide][2]!="")
contentcontainer+=variableslide[currentslide][2]

if (document.layers){
crossrotateobj.document.write(contentcontainer)
crossrotateobj.document.close()
}
else if (ie||dom)
crossrotateobj.innerHTML=contentcontainer
if (currentslide==variableslide.length-1) currentslide=0
else currentslide++
setTimeout("rotateimages()",slidedelay)
}

if (ie||dom)
document.write('<div id="slidedom" style="width:'+slidewidth+';height:'+slideheight+'; background-color:'+slidebgcolor+'"></div>')

function start_slider(){
crossrotateobj=dom? document.getElementById("slidedom") : ie? document.all.slidedom : document.slidensmain.document.slidenssub
if (document.layers)
document.slidensmain.visibility="show"
rotateimages()
}

if (ie||dom)
start_slider()
else if (document.layers)
window.onload=start_slider

