/***********************************************
* 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]=['http://www.surfsmooth.com/images/kendall_pics/000.jpg','','Kendall proves he can still hang em over']
variableslide[1]=['http://www.surfsmooth.com/images/kendall_pics/001.jpg','','How about a good old fashioned head dip?']
variableslide[2]=['http://www.surfsmooth.com/images/kendall_pics/002.jpg','','When you look in the dictionary under bottom turn...this is the picture you will see']
variableslide[3]=['http://www.surfsmooth.com/images/kendall_pics/003.jpg','','He does it again just to prove the first one was not a fluke']
variableslide[4]=['http://www.surfsmooth.com/images/kendall_pics/004.jpg','','Rachel can still do it too!']
variableslide[5]=['http://www.surfsmooth.com/images/kendall_pics/005.jpg','','Did you know that she used to live at Pavones?']
variableslide[6]=['http://www.surfsmooth.com/images/kendall_pics/006.jpg','','That is where she perfected this move']
variableslide[7]=['http://www.surfsmooth.com/images/kendall_pics/007.jpg','','Fadin left setting up for the right']
variableslide[8]=['http://www.surfsmooth.com/images/kendall_pics/008.jpg','','...and then a classic cutback']
variableslide[9]=['http://www.surfsmooth.com/images/kendall_pics/009.jpg','','There he goes again...rubbin it in. Rooster is one of the few surfers over 50 that can still ride the nose']
//variableslide[10]=['http://www.surfsmooth.com/images/danosaraboyz/010.jpg','','']
//variableslide[11]=['http://www.surfsmooth.com/images/danosaraboyz/011.jpg','','Is this thing ever going to end?']
//variableslide[12]=['http://www.surfsmooth.com/images/danosaraboyz/012.jpg','','nice view from up here guys']
//variableslide[13]=['http://www.surfsmooth.com/images/danosaraboyz/013.jpg','','I wish I had brought some lunch']
//variableslide[14]=['http://www.surfsmooth.com/images/danosaraboyz/014.jpg','','same wave and he is still going']
//variableslide[15]=['http://www.surfsmooth.com/images/danosaraboyz/015.jpg','','...and going']
//variableslide[16]=['http://www.surfsmooth.com/images/danosaraboyz/016.jpg','','and finally...the kick out']
//variableslide[17]=['http://www.surfsmooth.com/images/danosaraboyz/017.jpg','','Kenny Morgan finds a great right about 2 ft over hat']
//variableslide[18]=['http://www.surfsmooth.com/images/danosaraboyz/018.jpg','','Kenny loves cruzin Nosara style']
//variableslide[19]=['http://www.surfsmooth.com/images/danosaraboyz/019.jpg','','Yeah, but I bet he is missing his wetsuit']
//variableslide[20]=['http://www.surfsmooth.com/images/danosaraboyz/020.jpg','','Russo doing his best pelican impersonation']
//variableslide[21]=['http://www.surfsmooth.com/images/danosaraboyz/021.jpg','','The classic bottom turn']
//variableslide[22]=['http://www.surfsmooth.com/images/danosaraboyz/022.jpg','','Setting up in the pocket']
//variableslide[23]=['http://www.surfsmooth.com/images/danosaraboyz/023.jpg','','Does it get any better than this?']

//variableslide[24]=['http://www.surfsmooth.com/images/danosaraboyz/025.jpg','','John Barksdale scores one for The Men In Hats']
//variableslide[25]=['http://www.surfsmooth.com/images/danosaraboyz/026.jpg','','He is loving the rights...']
//variableslide[26]=['http://www.surfsmooth.com/images/danosaraboyz/027.jpg','','...and picking off the lefts too']
//variableslide[27]=['http://www.surfsmooth.com/images/danosaraboyz/024.jpg','','Great friends...great waves....PRICELESS! ......Men In Hats Rule']
//variableslide[28]=['http://www.surfsmooth.com/images/danosaraboyz/028.jpg','','Team Cialis vs Team Nosara']





//configure the below 3 variables to set the dimension/background color of the slideshow

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

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

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// JavaScript Document