﻿// (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 slideShowSpeed = 3500

// Duration of crossfade (seconds)
var crossFadeDuration = 3

// Specify the image files
var Pic = new Array() // don't touch this
// to add more images, just continue
// the pattern, adding to the array below
// ORIGINAL SET
//Pic[0] = 'images/rollingimage_largepour.jpg'

//Pic[1] = 'images/rollingimage_stampedporch.jpg'

//Pic[2] = 'images/rollingimage_standingslab.jpg'
//Pic[3] = 'images/rollingimage_coloredfloor.jpg'
//Pic[4] = 'images/rollingimage_liftedslab.jpg'
//Pic[5] = 'images/rollingimage_smoothingslab.jpg'
//Pic[6] = 'images/rollingimage_gardenwall.jpg'

// Previous SET
//Pic[0] = 'images/rollimage_DEMATTEI-PROMO-PI.jpg'

//Pic[1] = 'images/rollimage_Byrd-Residence-04.jpg'

//Pic[2] = 'images/rollimage_BLACKSHEAR-CHURCH.jpg'
//Pic[3] = 'images/rollimage_stairs.jpg'
//Pic[4] = 'images/rollimage_Pittsburg-Mills-M.jpg'
//Pic[5] = 'images/rollimage_steppedfountain.jpg'
//Pic[6] = 'images/rollimage_Warner-Robbins-St.jpg'
//Pic[7] = 'images/rollimage_DSC_CvrPic5_Web.jpg'
//Pic[8] = 'images/rollimage_Fletcher_CvrPic_7_Web.jpg'
//Pic[9] = 'images/rollimage_JKS_CvrPic_Web.jpg'
//Pic[10] = 'images/rollimage_LibraryEntry_CvrPic4_Web.jpg'
//Pic[11] = 'images/rollimage_MKC_CvrPic3_Web.jpg'
//Pic[12] = 'images/rollimage_Noel_CvrPic2_Web.jpg'
//Pic[13] = 'images/rollimage_Olinger_CvrPic_Web.jpg'
//Pic[14] = 'images/rollimage_PV_CvrPic6_Web.jpg'

//New Set 2-18-09
Pic[0] = 'images/rollimage_1.jpg'
Pic[1] = 'images/rollimage_2.jpg'
Pic[2] = 'images/rollimage_3.jpg'
Pic[3] = 'images/rollimage_4.jpg'
Pic[4] = 'images/rollimage_5.jpg'
Pic[5] = 'images/rollimage_6.jpg'
Pic[6] = 'images/rollimage_7.jpg'
Pic[7] = 'images/rollimage_8.jpg'
Pic[8] = 'images/rollimage_9.jpg'
Pic[9] = 'images/rollimage_10.jpg'
Pic[10] = 'images/rollimage_11.jpg'

// =======================================
// do not edit anything below this line
// =======================================

var t
var j = 0
var p = Pic.length

var preLoad = new Array()
for (i = 0; i < p; i++){
   preLoad[i] = new Image()
   preLoad[i].src = Pic[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.SlideShow.src = preLoad[j].src
   if (document.all){
      document.images.SlideShow.filters.blendTrans.Play()
   }
   j = j + 1
   if (j > (p-1)) j=0
   t = setTimeout('runSlideShow()', slideShowSpeed)
}

