   //change image
   function ChangeImage(name, newImageFile){
	document[name].src=newImageFile;
   }
// Set slideShowSpeed (milliseconds)
var slideShowSpeed = 3000

// Duration of crossfade (seconds)
var crossFadeDuration = 2

// 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] = 'pictures/shop1.jpg'
Pic[1] = 'pictures/shop2.jpg'
Pic[2] = 'pictures/shop3.jpg'
Pic[3] = 'pictures/shop4.jpg'
Pic[4] = 'pictures/shop5.jpg'
Pic[5] = 'pictures/shop6.jpg'
Pic[6] = 'pictures/shop7.jpg'

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)
}
}
///////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////
// Specify the image files
var wash = new Array() // don't touch this
// to add more images, just continue
// the pattern, adding to the array below

wash[0] = 'pictures/wash-00.jpg'
wash[1] = 'pictures/wash-01.jpg'
wash[2] = 'pictures/wash-02.jpg'
wash[3] = 'pictures/wash-03.jpg'
wash[4] = 'pictures/wash-04.jpg'
wash[5] = 'pictures/wash-05.jpg'
wash[6] = 'pictures/wash-06.jpg'
wash[7] = 'pictures/wash-07.jpg'
wash[8] = 'pictures/wash-08.jpg'


var wt
var wj = 0
var wp = wash.length

var preloadwash = new Array()
for (i = 0; i < wp; i++){
   preloadwash[i] = new Image()
   preloadwash[i].src = wash[i]

function washSlideShow(){
   if (document.all){
      document.images.wSlideShow.style.filter="blendTrans(duration=2)"
      document.images.wSlideShow.style.filter="blendTrans(duration=crossFadeDuration)"
      document.images.wSlideShow.filters.blendTrans.Apply()      
   }
   document.images.wSlideShow.src = preloadwash[wj].src
   if (document.all){
      document.images.wSlideShow.filters.blendTrans.Play()
   }
   wj = wj + 1
   if (wj > (wp-1)) wj=0
   wt = setTimeout('washSlideShow()', slideShowSpeed)
}
}

function popUp(URL) {
	props=window.open(URL, 'poppage', 'toolbars=0, scrollbars=0, location=0, statusbars=0, menubars=0, resizable=0, width=400, height=300');
}

