/***********************************************
* 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]=['images/presentation_2005/howards_small.jpg', '', 'David & Ruth Howard - Challenge Cup']
variableslide[1]=['images/presentation_2005/speechleys_small.jpg', '', 'Graham & Marylyn Speechley  - Navigation Cup']
variableslide[2]=['images/presentation_2005/jwestwood_small.jpg', '', 'Jane Westwood - Previous Non-Winners Cup']
variableslide[3]=['images/presentation_2005/pchristopher_small.jpg', '', 'Pat Christopher - Ladies Challenge Cup']
variableslide[4]=['images/presentation_2005/ryorke_small.jpg', '', 'Richard Yorke - Photographic Cup - Best Print']
variableslide[5]=['images/presentation_2005/gspeechley_small.jpg', '', 'Graham Speechley - Photographic Cup - Best Slide']
variableslide[6]=['images/presentation_2005/gspeechley1_small.jpg', '', 'Graham Speechley - Photographic Cup - Giggle Cup']
variableslide[7]=['images/presentation_2005/gspeechley2_small.jpg', '', 'Graham & Marylyn Speechley - Travellers Cup']
variableslide[8]=['images/presentation_2005/roberts_small.jpg', '', 'Eric & Edna Roberts - Tidal Cup']
variableslide[9]=['images/presentation_2005/hgriffiths_small.jpg', '', 'Bert Griffiths - Bert Spinks Trophy']
variableslide[10]=['images/presentation_2005/spooners_small.jpg', '', 'Ian & Mo Spooner - Commodores Cup']
variableslide[11]=['images/presentation_2005/barlows_small.jpg', '', 'Bob & Sheila Barlow - Highlander Cup']
variableslide[12]=['images/presentation_2005/gspeechley3_small.jpg', '', 'Graham Speechley - Navigators Plaque Design']
variableslide[13]=['images/presentation_2005/rbarlow_small.jpg', '', 'Bob & Sheila Barlow - Navigators Plaque']
variableslide[14]=['images/presentation_2005/nchristopher_small.jpg', '', 'Noel & Pat Christopher - Navigators Plaque']
variableslide[15]=['images/presentation_2005/jfenton_small.jpg', '', 'John Fenton & Pam Russell - Navigators Plaque']
variableslide[16]=['images/presentation_2005/rpickford_small.jpg', '', 'Roy & Ruth Pickford - Navigators Plaque']
variableslide[17]=['images/presentation_2005/eroberts_small.jpg', '', 'Eric & Edna Roberts - Navigators Plaque']
variableslide[18]=['images/presentation_2005/mspeechley_small.jpg', '', 'Graham & Marylyn Speechley - Navigators Plaque']
variableslide[19]=['images/presentation_2005/bstanton_small.jpg', '', 'Barry & Margaret Stanton - Navigators Plaque']
variableslide[20]=['images/presentation_2005/mtattersall_small.jpg', '', 'Martin & Jan Tattersall - Navigators Plaque']
variableslide[21]=['images/presentation_2005/syorke_small.jpg', '', 'Richard & Sue Yorke - Navigators Plaque']
variableslide[22]=['images/presentation_2005/longtons_small.jpg', '', 'Max & Jean Longton - Navigators Plaque']






//configure the below 3 variables to set the dimension/background color of the slideshow

var slidewidth='300px' //set to width of LARGEST image in your slideshow
var slideheight='450px' //set to height of LARGEST iamge in your slideshow, plus any text description
// var slidebgcolor='#F3F3F3'
var slidebgcolor='#FFFFFF'

//configure the below variable to determine the delay between image rotations (in miliseconds)
var slidedelay=10000

////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


