// JavaScript Document
<!--
// (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 = 4;

var Picture = 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/back15.jpg';
Picture[2]  = 'images/back14.jpg';
Picture[3]  = 'images/back13.jpg';
Picture[4]  = 'images/back12.jpg';
Picture[5]  = 'images/back07.jpg';
Picture[6]  = 'images/back02.jpg';
Picture[7]  = 'images/back09.jpg';
Picture[8]  = 'images/back11.jpg';





// =====================================
// 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.all) document.images.PictureBox.filters.blendTrans.Play();
jss = jss + 1;
if (jss > (pss)) jss=1;
tss = setTimeout('runSlideShow()', SlideShowSpeed);
}


var SlideShowSpeed2 = 5000;
var CrossFadeDuration2 = 4;
var Picture2 = new Array();

Picture2[1]  = 'images/textbox15.png';
Picture2[2]  = 'images/textbox14.png';
Picture2[3]  = 'images/textbox13.png';
Picture2[4]  = 'images/textbox12.gif';
Picture2[5]  = 'images/textbox7.gif';
Picture2[6]  = 'images/textbox2.gif';
Picture2[7]  = 'images/textbox9.gif';
Picture2[8]  = 'images/textbox11.gif';


var tss2;
var iss2;
var jss2 = 1;
var pss2 = Picture.length-1;

var preLoad2 = new Array();
for (iss2 = 1; iss2 < pss2+1; iss2++){
preLoad2[iss2] = new Image();
preLoad2[iss2].src = Picture2[iss2];}


function runSlideShow2(){
if (document.all){
document.images.PictureBox2.style.filter="blendTrans(duration=2)";
document.images.PictureBox2.style.filter="blendTrans(duration=CrossFadeDuration2)";
document.images.PictureBox2.filters.blendTrans.Apply();}
document.images.PictureBox2.src = preLoad2[jss2].src;
if (document.all) document.images.PictureBox2.filters.blendTrans.Play();
jss2 = jss2 + 1;
if (jss2 > (pss2)) jss2=1;
tss2 = setTimeout('runSlideShow2()', SlideShowSpeed2);
}
