// JavaScript Document

/***********************************************
* 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/slideshow/blues-bros.jpg', '', 'The Blues Brothers Black Rhino Horn section with John, Don and Marcus']
variableslide[1]=['images/slideshow/cat.jpg', '',"Miaow? How did you get in there?"]
variableslide[2]=['images/slideshow/trombone1.jpg', '','Blundeston Church, Spring charity concert for hospital radio Yare']
variableslide[3]=['images/slideshow/glenn-miller.jpg', '',"'In the Mood' with Glenn Miller and Kimble Reynolds"]
variableslide[4]=['images/slideshow/bbq.jpg', '','Evening barbecue near Market Harborough']
variableslide[5]=['images/slideshow/baz.jpg', '','The past catching up with ex-band member Serjeant Major Baz Starbuck']
variableslide[6]=['images/slideshow/soprano.jpg', '','Performing soprano']
variableslide[7]=['images/slideshow/tough.jpg', '','Its a tough job but somebodys got to do it!']
variableslide[8]=['images/slideshow/charity.jpg', '','Charity concert at Blundeston church for hospital radio']
variableslide[9]=['images/slideshow/alan.jpg', '',"Performing 'Rhapsody' with the composer Alan Scott"]
//configure the below 3 variables to set the dimension/background color of the slideshow

var slidewidth='200px' //set to width of LARGEST image in your slideshow
var slideheight='180px' //set to height of LARGEST iamge in your slideshow, plus any text description
var slidebgcolor='#C1E5CF'

//configure the below variable to determine the delay between image rotations (in miliseconds)
var slidedelay=6000

////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)
}

