var ultimateshow=new Array()

//ultimateshow[x]=["path to image", "OPTIONAL link for image", "OPTIONAL link target"]
ultimateshow[0]=['/External/WCPages/WCWebContent/WebContentPage.aspx?ContentID=31', 'http://www.seminolebusiness.org/Bank-of-America', '_parent']
ultimateshow[1]=['/External/WCPages/WCWebContent/WebContentPage.aspx?ContentID=32', 'http://www.seminolebusiness.org/Blue-Cross-and-Blue-Shield-of-Florida', '_parent']
ultimateshow[2]=['/External/WCPages/WCWebContent/WebContentPage.aspx?ContentID=34', 'http://www.seminolebusiness.org/Central-Florida-Regional-Hospital', '_parent']
ultimateshow[3]=['/External/WCPages/WCWebContent/WebContentPage.aspx?ContentID=33', 'http://www.seminolebusiness.org/CenturyLink', '_parent']
ultimateshow[4]=['/External/WCPages/WCWebContent/WebContentPage.aspx?ContentID=37', 'http://www.seminolebusiness.org/Fisher-Phillips%2c-LLP', '_parent']
ultimateshow[5]=['/External/WCPages/WCWebContent/WebContentPage.aspx?ContentID=38', 'http://www.seminolebusiness.org/Florida-Hospital-Altamonte', '_parent']
ultimateshow[6]=['/External/WCPages/WCWebContent/WebContentPage.aspx?ContentID=39', 'http://www.seminolebusiness.org/Pershing-LLC', '_parent']
ultimateshow[7]=['/External/WCPages/WCWebContent/WebContentPage.aspx?ContentID=40', 'http://www.seminolebusiness.org/Progress-Energy', '_parent']
ultimateshow[8]=['/External/WCPages/WCWebContent/WebContentPage.aspx?ContentID=41', 'http://www.seminolebusiness.org/ROAR!', '_parent']
ultimateshow[9]=['/External/WCPages/WCWebContent/WebContentPage.aspx?ContentID=42', 'http://www.seminolebusiness.org/South-Seminole-HospitalOrlando-Health', '_parent']
ultimateshow[10]=['/External/WCPages/WCWebContent/WebContentPage.aspx?ContentID=43', 'http://www.seminolebusiness.org/Symantec-Corporation', '_parent']
ultimateshow[11]=['/External/WCPages/WCWebContent/WebContentPage.aspx?ContentID=35', 'http://www.seminolebusiness.org/Daytona-500-Experience', '_parent']
ultimateshow[12]=['/External/WCPages/WCWebContent/WebContentPage.aspx?ContentID=36', 'http://www.seminolebusiness.org/Daytona-International-Speedway', '_parent']

var slidewidth="300px" //set to width of LARGEST image in your slideshow
var slideheight="100px" //set to height of LARGEST iamge in your slideshow
var slidecycles="continuous" //number of cycles before slideshow stops (ie: "2" or "continous")
var randomorder="no" //randomize the order in which images are displayed? "yes" or "no"
var preloadimages="yes" //preload images? "yes" or "no"
var slidebgcolor='#FFFFFF'

//configure the below variable to determine the delay between image rotations (in miliseconds)
var slidedelay=3000

////Do not edit pass this line////////////////

var ie=document.all
var dom=document.getElementById
var curcycle=0

if (preloadimages=="yes"){
for (i=0;i<ultimateshow.length;i++){
var cacheimage=new Image()
cacheimage.src=ultimateshow[i][0]
}
}

var currentslide=0

function randomize(targetarray){
ultimateshowCopy=new Array()
var the_one
var z=0
while (z<targetarray.length){
the_one=Math.floor(Math.random()*targetarray.length)
if (targetarray[the_one]!="_selected!"){
ultimateshowCopy[z]=targetarray[the_one]
targetarray[the_one]="_selected!"
z++
}
}
}

if (randomorder=="yes")
randomize(ultimateshow)
else
ultimateshowCopy=ultimateshow

function rotateimages(){
curcycle=(currentslide==0)? curcycle+1 : curcycle
ultcontainer='<center>'
if (ultimateshowCopy[currentslide][1]!="")
ultcontainer+='<a href="'+ultimateshowCopy[currentslide][1]+'" target="'+ultimateshowCopy[currentslide][2]+'">'
ultcontainer+='<img src="'+ultimateshowCopy[currentslide][0]+'" border="0">'
if (ultimateshowCopy[currentslide][1]!="")
ultcontainer+='</a>'
ultcontainer+='</center>'
if (ie||dom)
crossrotateobj.innerHTML=ultcontainer
if (currentslide==ultimateshow.length-1) currentslide=0
else currentslide++
if (curcycle==parseInt(slidecycles) && currentslide==0)
return
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") : document.all.slidedom
rotateimages()
}

if (ie||dom)
window.onload=start_slider