// JavaScript Document
<!-- Begin
// Set slideShowSpeed (milliseconds)
var slideShowSpeed = 5000;
// Duration of crossfade (seconds)
var crossFadeDuration = 10;
// Specify the image files

var Pic = new Array();
// to add more images, just continue
// the pattern, adding to the array below

Pic[0] = '01.jpg'
Pic[1] = '02.jpg'
Pic[2] = '03.jpg'
Pic[3] = '04.jpg'
Pic[4] = '05.jpg'
// Pic[5] = '06.jpg'
// Pic[6] = '07.jpg'
// Pic[7] = '08.jpg'
// Pic[8] = '09.jpg'
// Pic[9] = '10.jpg'
// Pic[10] = '11.jpg'
// Pic[11] = '12.jpg'
// Pic[12] = '13.jpg'
// Pic[13] = '14.jpg'
// Pic[14] = '15.jpg'
// Pic[15] = '16.jpg'
// Pic[16] = '17.jpg'
// Pic[17] = '18.jpg'
// Pic[18] = '19.jpg'
// Pic[19] = '20.jpg'
// Pic[20] = '21.jpg'

// do not edit anything below this line
var t;
var raNum
var p = Pic.length;
raNum = Math.floor(Math.random() * p);
var j = raNum;
var preLoad = new Array();
var r;


for (i = 0; i < p; i++) {
preLoad[i] = new Image();
preLoad[i].src = dir + Pic[i];
}
function flip() {
if (document.all) {
document.images.rotate.style.filter="blendTrans(duration=2)";
document.images.rotate.style.filter="blendTrans(duration=crossFadeDuration)";
document.images.rotate.filters.blendTrans.Apply();
}
document.images.rotate.src = preLoad[j].src;
if (document.all) {
document.images.rotate.filters.blendTrans.Play();
}
j = j + 1;
if (j > (p - 1)) j = 0;
t = setTimeout('flip()', slideShowSpeed);
}



//  End -->

