// (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
// Random starting point added by Jamie, The HTML Goddess

// =======================================
// set the following variables
// =======================================

// Set slideShowSpeed (milliseconds)
var slideShow1Speed = 7000

// Duration of crossfade (seconds)
var crossFadeDuration1 = 3

// Specify the image files
var Pic1 = new Array() // don't touch this
// to add more images, just continue
// the pattern, adding to the array below

Pic1[0] = '/images/hm_a_ss1.jpg'
Pic1[1] = '/images/hm_a_ss2.jpg'
Pic1[2] = '/images/hm_a_ss3.jpg'

// =======================================
// do not edit anything below this line
// =======================================
var t1
var j1 = 0
var p1 = Pic1.length

var preLoad1 = new Array()
for (i1 = 0; i1 < p1; i1++){
   preLoad1[i1] = new Image()
   preLoad1[i1].src = Pic1[i1]
}

function runSlideShow1(){
   if (document.all){
      document.images.SlideShow1.style.filter="blendTrans(duration=2)"
      document.images.SlideShow1.style.filter="blendTrans(duration=crossFadeDuration1)"
      document.images.SlideShow1.filters.blendTrans.Apply()      
   }
   document.images.SlideShow1.src = preLoad1[j1].src
   if (document.all){
      document.images.SlideShow1.filters.blendTrans.Play()
   }
   j1 = j1 + 1
   if (j1 > (p1-1)) j1=0
   t1 = setTimeout('runSlideShow1()', slideShow1Speed)
}