// 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 = 5000;
// Duration of crossfade (seconds)
var crossFadeDuration = 8;
// Specify the image files
var Pic = new Array();
// to add more images, just continue
// the pattern, adding to the array below

Pic[0] = 'images/1a.jpg'
Pic[1] = 'images/2a.jpg'
Pic[2] = 'images/3a.jpg'
Pic[3] = 'images/4a.jpg'
Pic[4] = 'images/5a.jpg'
Pic[5] = 'images/6a.jpg'


// do not edit anything below this line
var t;

var rand_no = Math.ceil(5*Math.random())

var j = rand_no;
var p = Pic.length;
var preLoad = new Array();
for (i = 0; i < p; i++) {
preLoad[i] = new Image();
preLoad[i].src = Pic[i];

}

var Pic2 = new Array();
// to add more images, just continue
// the pattern, adding to the array below

Pic2[0] = 'images/1b.jpg'
Pic2[1] = 'images/2b.jpg'
Pic2[2] = 'images/3b.jpg'
Pic2[3] = 'images/4b.jpg'
Pic2[4] = 'images/5b.jpg'
Pic2[5] = 'images/6b.jpg'

// do not edit anything below this line
var t2;
var j2 = 0;
var p2 = Pic2.length;
var preLoad2 = new Array();
for (i = 0; i < p2; i++) {
preLoad2[i] = new Image();
preLoad2[i].src = Pic2[i];




}
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();

document.images.SlideShow2.style.filter="blendTrans(duration=2)";
document.images.SlideShow2.style.filter="blendTrans(duration=crossFadeDuration)";
document.images.SlideShow2.filters.blendTrans.Apply();

}
document.images.SlideShow.src = preLoad[j].src;
document.images.SlideShow2.src = preLoad2[j].src;
if (document.all) {
document.images.SlideShow.filters.blendTrans.Play();
document.images.SlideShow2.filters.blendTrans.Play();
}

j = j + 1;
if (j > (p - 1)) j = 0;
t = setTimeout('runSlideShow()', slideShowSpeed);
}
//  End -->
