// (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 = 5000;

// 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]  = 'http://66.96.90.63/images/slideshow_images/Pearland02.jpg';
Picture[2]  = 'http://66.96.90.63/images/slideshow_images/Pearland01.jpg';
Picture[3]  = 'http://66.96.90.63/images/slideshow_images/Pearland03.jpg';
Picture[4]  = 'http://66.96.90.63/images/slideshow_images/Abilene01.jpg';
Picture[5]  = 'http://66.96.90.63/images/slideshow_images/Abilene02.jpg';
Picture[6]  = 'http://66.96.90.63/images/slideshow_images/Abilene03.jpg';
Picture[7]  = 'http://66.96.90.63/images/slideshow_images/Argyle001.jpg';
Picture[8]  = 'http://66.96.90.63/images/slideshow_images/Argyle002.jpg';
Picture[9]  = 'http://66.96.90.63/images/slideshow_images/Argyle003.jpg';
Picture[10] = 'http://66.96.90.63/images/slideshow_images/Conroe01.jpg';
Picture[11] = 'http://66.96.90.63/images/slideshow_images/Conroe02.jpg';
Picture[12] = 'http://66.96.90.63/images/slideshow_images/Conroe03.jpg';
Picture[13] = 'http://66.96.90.63/images/slideshow_images/Conroe04.jpg';
Picture[14] = 'http://66.96.90.63/images/slideshow_images/florida03.jpg';
Picture[15] = 'http://66.96.90.63/images/slideshow_images/florida02.jpg';
Picture[16] = 'http://66.96.90.63/images/slideshow_images/florida01.jpg';
Picture[17] = 'http://66.96.90.63/images/slideshow_images/Murray02.jpg';
Picture[18] = 'http://66.96.90.63/images/slideshow_images/Murray03.jpg';
Picture[19] = 'http://66.96.90.63/images/slideshow_images/Murray01.jpg';
Picture[20] = 'http://66.96.90.63/images/slideshow_images/nm001.jpg';
Picture[21] = 'http://66.96.90.63/images/slideshow_images/nm002.jpg';
Picture[22] = 'http://66.96.90.63/images/slideshow_images/nm003.jpg';
Picture[23] = 'http://66.96.90.63/images/slideshow_images/Tulsa02.jpg';
Picture[24] = 'http://66.96.90.63/images/slideshow_images/Tulsa01.jpg';
Picture[25] = 'http://66.96.90.63/images/slideshow_images/Tulsa03.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]  = "Indoor Facility, Pearland, TX";
Caption[2]  = "Indoor Facility, Pearland, TX";
Caption[3]  = "Indoor Facility, Pearland, TX";
Caption[4]  = "Outdoor Batting Cage, Abilene, TX";
Caption[5]  = "Outdoor Batting Cage, Abilene, TX";
Caption[6]  = "Outdoor Batting Cage, Abilene, TX";
Caption[7]  = "Indoor Facility, Argyle, TX";
Caption[8]  = "Indoor Facility, Argyle, TX";
Caption[9]  = "Indoor Facility, Argyle, TX";
Caption[10] = "Indoor Facility, Conroe, TX";
Caption[11] = "Indoor Facility, Conroe, TX";
Caption[12] = "Indoor Facility, Conroe, TX";
Caption[13] = "Indoor Facility, Conroe, TX";
Caption[14] = "Outdoor Batting Cages, Boynton Beach, FL";
Caption[15] = "Outdoor Batting Cages, Boynton Beach, FL";
Caption[16] = "Outdoor Batting Cages, Boynton Beach, FL";
Caption[17] = "Barrier Netting, Tishomingo, OK";
Caption[18] = "Barrier Netting, Tishomingo, OK";
Caption[19] = "Barrier Netting, Tishomingo, OK";
Caption[20] = "Indoor Facility, Farmington, NM";
Caption[21] = "Indoor Facility, Farmington, NM";
Caption[22] = "Indoor Facility, Farmington, NM";
Caption[23] = "Indoor Putting Green, Tulsa, OK";
Caption[24] = "Indoor Putting Green, Tulsa, OK";
Caption[25] = "Indoor Putting Green, Tulsa, OK";

// =====================================
// 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);
}


