// (C) 2000 www.CodeLifter.com
// http://www.codelifter.com
// Free for all users, but leave in this header
// NS4-6,IE4-6
// Fade effect only in IE; degrades gracefully

// =======================================
// set the following variables
// =======================================

// Set slideShowSpeed (milliseconds)
var slideShowSpeed4 = 5000

// Duration of crossfade (seconds)
var crossFadeDuration4 = 3

// Specify the image files
var Pic4 = new Array() // don't touch this
// to add more images, just continue
// the pattern, adding to the array below

Pic4[0] = 'images/Slideshow/AFLC_DryStorage_Room.JPG'
Pic4[1] = 'images/Slideshow/AFLC_Gym.JPG'
Pic4[2] = 'images/Slideshow/AFLC_WeightRoom.JPG'
Pic4[3] = 'images/Slideshow/AFLC_Childrens_Playarea.JPG'
Pic4[4] = 'images/Slideshow/AFLC_Baby_Playarea.JPG'

// =======================================
// do not edit anything below this line
// =======================================

var t
var j = 0
var p = Pic4.length

var preLoad4 = new Array()
for (i = 0; i < p; i++){
preLoad4[i] = new Image()
preLoad4[i].src = Pic4[i]
}

function runSlideShow4(){
if (document.all){
document.images.SlideShow4.style.filter="blendTrans(duration=2)"
document.images.SlideShow4.style.filter="blendTrans(duration=crossFadeDuration4)"
document.images.SlideShow4.filters.blendTrans.Apply() 
}
document.images.SlideShow4.src = preLoad4[j].src
if (document.all){
document.images.SlideShow4.filters.blendTrans.Play()
}
j = j + 1
if (j > (p-1)) j=0
t = setTimeout('runSlideShow4()', slideShowSpeed4)
}
