// JavaScript Document

<!-- Original:  D. Keith Higgs (dkh2@po.cwru.edu) -->

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin
var timeDelay = 8; // change delay time in seconds
var Pix = new Array

("img/home_rot_9.jpg"
,"img/home_rot_5.jpg"
,"img/home_rot_6.jpg"
,"img/home_rot_4_v3.jpg"
,"img/home_rot_8.jpg"
,"img/home_rot_7.jpg"
,"img/home_rot_14.jpg"
,"img/home_rot_3.jpg"
,"img/home_rot_12.jpg"
,"img/home_rot_13.jpg"
,"img/home_rot_11.jpg"
,"img/home_rot_10.jpg"
,"img/home_rot_15.jpg"
);

var howMany = Pix.length;
timeDelay *= 1000;
var PicCurrentNum = 0;
var PicCurrent = new Image();
PicCurrent.src = Pix[PicCurrentNum];
function startPix() {
setInterval("slideshow()", timeDelay);
}
function slideshow() {
PicCurrentNum++;
if (PicCurrentNum == howMany) {
PicCurrentNum = 0;
}
PicCurrent.src = Pix[PicCurrentNum];
document["ChangingPix"].src = PicCurrent.src;
}
