// =======================================
// set the following variables
// =======================================
// Set slideShowSpeed (milliseconds)
var slideShowSpeed = 3000
// Duration of crossfade (seconds)
var crossFadeDuration = 500
// 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


Pic[0] = '/images/KA27025-xg.jpg'   //Heart Coasters
Pic[1] = '/images/KA17003-xg.jpg'  //Daisy Seeds
Pic[2] = '/images/KA14025-xg.jpg'   //Perfect Pair Cookie Cutters
Pic[3] = '/images/KA28006-xg.jpg'  //Something Blue Notes
Pic[4] = '/images/FC8703-xg.jpg'  //Shell plate
Pic[5] = '/images/FC3977-xg.jpg'   //Callalily coasters
Pic[6] = '/images/KA14013-xg.jpg'   //Placecard Frames
Pic[7] = '/images/KA20052-xg.jpg'   //Coffee Cup candle 
Pic[8] = '/images/FC8212-xg.jpg'   //Grape candles

//Pic[0] = '/images/KA11037-xg.jpg'   //Leaf Bookmark
//Pic[1] = '/images/FC5200-xg.jpg'  //Beeswax candle
//Pic[2] = '/images/KA27026-xg.jpg'   //Olive oil
//Pic[3] = '/images/FC3977-xg.jpg'   //Callalily coasters
//Pic[4] = '/images/KA14025-xg.jpg'   //Perfect Pair Cookie Cutters
//Pic[5] = '/images/FC8703-xg.jpg'  //Shell plate
//Pic[6] = '/images/KA28060-xg.jpg'   //Asian bags
//Pic[7] = '/images/KA20052-xg.jpg'   //Coffee Cup candle 
//Pic[8] = '/images/FC8212-xg.jpg'   //Grape candles

//Pic[0] = '/images/KA14013-xg.jpg'   //Placecard Frames
//Pic[1] = '/images/KA28006-xg.jpg'  //Something Blue Notes
//Pic[2] = '/images/KA14005-xg.jpg'   //Favor Pails
//Pic[3] = '/images/KA14025-xg.jpg'   //Perfect Pair Cookie Cutters
//Pic[4] = '/images/KA27025-xg.jpg'   //Heart Coasters
//Pic[5] = '/images/KA17003-xg.jpg'  //Daisy Seeds
//Pic[6] = '/images/KA14023-xg.jpg'   //Love Votive Holders
//Pic[7] = '/images/KA16007PV-xg.jpg'   //Fall Photo Albums 
//Pic[8] = '/images/KA11001-xg.jpg'   //Wine Sets

// =======================================
// do not edit anything below this line
// =======================================
var t
var j = 0
var p = Pic.length
var preLoad = new Array()
for (x = 0; x < p; x++){
   preLoad[x] = new Image()
   preLoad[x].src = Pic[x]
}
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)
}
