﻿// JScript File
<!--
  // ==============================
  // Set the following variables...
  // ==============================

  // Set the slideshow speed (in milliseconds)
  var SlideShowSpeed1 = 5000;

  // Set the duration of crossfade (in seconds)
  var CrossFadeDuration1 = 3;

  var Picture1 = new Array(); // don't change this

  //  Load the image files...

  Picture1[1] = 'smallphotos1.jpg';
  Picture1[2] = 'smallphotos2.jpg';
  Picture1[3] = 'smallphotos3.jpg';
  Picture1[4] = 'smallphotos4.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 = 'content/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);
  }
// -->