// JavaScript Document

<!-- Original:  CodeLifter.com (support@codelifter.com) -->
<!-- Web Site:  http://www.codelifter.com -->

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

<!-- Begin
// Set slideShowSpeed (milliseconds)
var slideShowSpeed = 3000;
// Duration of crossfade (seconds)
var crossFadeDuration = 3;
// Specify the image files
var Pic = new Array();
// to add more images, just continue
// the pattern, adding to the array below

Pic[0] = 'images/photos/frontbar/rotate11.jpg'
Pic[1] = 'images/photos/frontbar/rotate3.jpg'
Pic[2] = 'images/photos/frontbar/rotate10.jpg'
Pic[3] = 'images/photos/frontbar/rotate4.jpg'
Pic[4] = 'images/photos/frontbar/rotate5.jpg'
Pic[5] = 'images/photos/frontbar/rotate8.jpg'



// do not edit anything below this line
var t;
var j = 0;
var k = 0;
var m = 0;
var n = 0;
var p = Pic.length;
var preLoad = new Array();
/* this is for flim like */
for (i = 0; i < p; i++) {
preLoad[i] = new Image();
preLoad[i].src = Pic[i];
}
//var j = Math.floor(4*Math.random());
var photoName = "images/photos/frontbar/rotate";
var photoEnd = ".jpg";


function runSlideShow() {
if (document.all) {
document.images.SlideShow.style.filter="blendTrans(duration=2)";
document.images.SlideShow.style.filter="blendTrans(duration=crossFadeDuration)";
document.images.SlideShow.filters.blendTrans.Apply();
}
//for film like 
document.images.SlideShow.src = preLoad[j].src;
/*document.images.SlideShow.src = photoName+"1-"+j+photoEnd;

document.images.SlideShow2.src = photoName+"2-"+j+photoEnd;
document.images.SlideShow3.src = photoName+"3-"+j+photoEnd;
document.images.SlideShow4.src = photoName+"4-"+j+photoEnd;
if (document.all) {
document.images.SlideShow1.filters.blendTrans.Play();
document.images.SlideShow2.filters.blendTrans.Play();
document.images.SlideShow3.filters.blendTrans.Play();
document.images.SlideShow4.filters.blendTrans.Play();
}*/
j = j + 1;

if (j > (p - 1)) j = 0;
t = setTimeout('runSlideShow()', slideShowSpeed);
}

