﻿// ==============================
// Set the following variables...
// ==============================

// Set the slideshow speed (in milliseconds)
var SlideShowSpeed1 = 4000;

// Set the duration of crossfade (in seconds)
var CrossFadeDuration1 = 5;


var Picture1 = new Array(); // don't change this

// Load the image files...

Picture1[1] = 'pic1.jpg';
Picture1[2] = 'pic2.jpg';
Picture1[3] = 'pic3.jpg';
Picture1[4] = 'pic4.jpg';
Picture1[5] = 'pic5.jpg';
Picture1[6] = 'pic6.jpg';
Picture1[7] = 'pic7.jpg';
Picture1[8] = 'pic8.jpg';
Picture1[9] = 'pic9.jpg';
Picture1[10] = 'pic10.jpg';
Picture1[11] = 'pic11.jpg';

// =====================================
// Do not edit anything below this line!
// =====================================
// Pictures Series #1
var tss;
var iss;
var jss = 1;
var pss = Picture1.length-1;

var preLoad = new Array();
for (iss = 1; iss < pss+1; iss++){
preLoad[iss] = new Image();
preLoad[iss].src = 'images/rotating/' + Picture1[iss];}



function runSlideShow1(){

if (document.all){
document.images.PictureBox1.style.filter="blendTrans(duration=2)";
document.images.PictureBox1.style.filter="blendTrans(duration=CrossFadeDuration1)";
document.images.PictureBox1.filters.blendTrans.Apply();}
document.images.PictureBox1.src = preLoad[jss].src;
if (document.all) document.images.PictureBox1.filters.blendTrans.Play();
jss = jss + 1;
if (jss > (pss)) jss=1;
tss = setTimeout('runSlideShow1()', SlideShowSpeed1);
}


