// (C) 2003 by CodeLifter.com
// Free for all users, but leave in this header.

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

var SlideShowSpeed = 3000;

var CrossFadeDuration = 2;

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


Picture[1]  = '/Images/slide-shows/home/mens-retreat.jpg';
Picture[2]  = '/Images/slide-shows/home/webcast.jpg';
Picture[3]  = '/Images/slide-shows/home/PS.jpg';
Picture[4]  = '/Images/slide-shows/home/junior-pharisee.jpg';
Picture[5]  = '/Images/slide-shows/home/senior-home.jpg';
Picture[6]  = '/Images/slide-shows/home/couple-w-bible.jpg';
Picture[7]  = '/Images/slide-shows/home/ABC-skit.jpg';
Picture[8]  = '/Images/slide-shows/home/give_me_Jesus.jpg';
Picture[9]  = '/Images/slide-shows/home/puppets.jpg';
Picture[10] = '/Images/slide-shows/home/broadcasts.jpg';

Caption[1]  = "Conferences/Events";
Caption[2]  = "Webcasts";
Caption[3]  = "Video Clips";
Caption[4]  = "Guest Preaching";
Caption[5]  = "Community Service";
Caption[6]  = "Devotionals";
Caption[7]  = "Drama/Comedy";
Caption[8]  = "Christian Music";
Caption[9]  = "Children/Puppets";
Caption[10] = "Broadcast/Radio";

// Specify the URL

Links[1]  = "/HTML/conferences-events.html";
Links[2]  = "/HTML/Multimedia/webcasts.html";
Links[3]  = "/HTML/Multimedia/videos.html";
Links[4]  = "/HTML/guest-preaching.html";
Links[5]  = "/HTML/community-service.html";
Links[6]  = "/HTML/Devotionals/devotionals.html";
Links[7]  = "/HTML/drama.html";
Links[8]  = "/HTML/Multimedia/music.html";
Links[9]  = "/HTML/children-entertainmnet.html";
Links[10] = "/HTML/Multimedia/broadcasts-Christian.html";

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

var tss;
var iss;
var jss = 0;
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 control(how){
if (showHot){
if (how=="H") jss = 1;
if (how=="F") jss = jss + 1;
if (how=="B") jss = jss - 1;
if (jss > (pss)) jss=1;
if (jss < 1) jss = pss;
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];
      document.getElementById("imgLink").href= Links[jss];      
}
if (document.all) document.images.PictureBox.filters.blendTrans.Play();
}}