// (C) 2002 www.CodeLifter.com
// http://www.codelifter.com
// Free for all users, but leave in this header.

// ==============================
// Set the following variables...
// ==============================

// Set the slideshow speed (in milliseconds)
var SlideShowSpeed = 3000;

// Set the duration of crossfade (in seconds)
var CrossFadeDuration = 3;

var Picture = new Array(); // don't change this
var Caption = new Array(); // don't change this

// Specify the image files...
// To add more images, just continue
// the pattern, adding to the array below.
// To use fewer images, remove lines
// starting at the end of the Picture array.
// Caution: The number of Pictures *must*
// equal the number of Captions!

Picture[1]  = 'images/slide/Image001.jpg';
Picture[2]  = 'images/slide/Image002.jpg';
Picture[3]  = 'images/slide/Image003.jpg';
Picture[4]  = 'images/slide/Image004.jpg';
Picture[5]  = 'images/slide/Image005.jpg';
Picture[6]  = 'images/slide/Image006.jpg';
Picture[7]  = 'images/slide/Image007.jpg';
Picture[8]  = 'images/slide/Image008.jpg';
Picture[9]  = 'images/slide/Image009.jpg';
Picture[10]  = 'images/slide/Image0010.jpg';
Picture[11]  = 'images/slide/Image0011.jpg';
Picture[12]  = 'images/slide/Image0012.jpg';
Picture[13]  = 'images/slide/Image0013.jpg';
Picture[14]  = 'images/slide/Image0014.jpg';
Picture[15]  = 'images/slide/Image0015.jpg';
Picture[16]  = 'images/slide/Image0016.jpg';
Picture[17]  = 'images/slide/Image0017.jpg';
Picture[18]  = 'images/slide/Image0018.jpg';
Picture[19]  = 'images/slide/Image0019.jpg';
Picture[20]  = 'images/slide/Image0020.jpg';
Picture[21]  = 'images/slide/Image0021.jpg';


// Specify the Captions...
// To add more captions, just continue
// the pattern, adding to the array below.
// To use fewer captions, remove lines
// starting at the end of the Caption array.
// Caution: The number of Captions *must*
// equal the number of Pictures!


Caption[1]  = "Damir Dzumhur Winner GB1";
Caption[2]  = "Jana Cepelova Winner GB1";
Caption[3]  = "Montserrat Gonzalez Winner G5";
Caption[4]  = "Sasha Khabibulina Winner ITF G5";
Caption[5]  = "I  De Vroome Winner EJC";
Caption[6]  = "Mathias Bourgue Winner EJC";
Caption[7]  = "Tornado Ali Black Winner L1";
Caption[8]  = "Daniel Kerznerman Winner L1";
Caption[9]  = "Bjorn Fratangelo Winner L1";
Caption[10]  = "Benjamin Tso Finalist L1";
Caption[11]  = "Maria Shishkina Finalist L1";
Caption[12]  = "Gabrielle Smith 3rd L1";
Caption[13]  = "Javier Restrepo 3rd L1";
Caption[14]  = "David Wilczynski 4th L1";
Caption[15]  = "Paula Ormaechea Winner 10k";
Caption[16]  = "Sofie Oyen Finalist 10k";
Caption[17]  = "Kurumi Nara Winner 50k";
Caption[18]  = "Heather Watson Winner 25k";
Caption[19]  = "Ons Jabeur Winner 10k";
Caption[20]  = "Gabriela Paz Winner 10k";
Caption[21]  = "Chichi Scholl Finalist 10k";



// =====================================
// Do not edit anything below this line!
// =====================================

var tss;
var iss;
var jss = 1;
var pss = Picture.length-1;

var preLoad = new Array();
for (iss = 1; iss < pss+1; iss++){
preLoad[iss] = new Image();
preLoad[iss].src = Picture[iss];}

function runSlideShow(){
if (document.all){
document.images.PictureBox.style.filter="blendTrans(duration=2)";
document.images.PictureBox.style.filter="blendTrans(duration=CrossFadeDuration)";
document.images.PictureBox.filters.blendTrans.Apply();}
document.images.PictureBox.src = preLoad[jss].src;
if (document.getElementById) document.getElementById("CaptionBox").innerHTML= Caption[jss];
if (document.all) document.images.PictureBox.filters.blendTrans.Play();
jss = jss + 1;
if (jss > (pss)) jss=1;
tss = setTimeout('runSlideShow()', SlideShowSpeed);
}