
  // Set slideShowSpeed (milliseconds)
	var slideShowSpeed = 5000

	// Duration of crossfade (seconds)
	var crossFadeDuration = 5

	// 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/homeHero2.jpg'; 
	Pic[1] = '/images/homeHero6.jpg'; 
	Pic[2] = '/images/homeHero4.jpg'; 
	//Pic[3] = '/images/homeHero8.jpg'; 
	Pic[3] = '/images/homeHero5.jpg'; 
	Pic[4] = '/images/homeHeroU.jpg'; 


  var PicAlt = new Array() // don't touch this
	// to add more images, just continue
	// the pattern, adding to the array below

	PicAlt[0] = '/images/homeHeroB.jpg'; 
	PicAlt[1] = '/images/homeHeroI.jpg'; 
	PicAlt[2] = '/images/homeHeroD.jpg';
	//PicAlt[3] = '/images/homeHeroE.jpg';
	PicAlt[3] = '/images/homeHeroF.jpg';
	PicAlt[4] = '/images/homeHero9.jpg';
	
	var Link = new Array() // don't touch this
	// to add more images, just continue
	// the pattern, adding to the array below

	Link[0] = '/tabid/146/Default.aspx'; 
	Link[1] = '/tabid/409/Default.aspx'; 
	Link[2] = '/tabid/270/Default.aspx'; 
	//Link[3] = '/tabid/478/Default.aspx'; 
	Link[3] = '/tabid/513/Default.aspx'; 
	Link[4] = '/tabid/128/Default.aspx'; 
	// =======================================
	// 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]
	}
	var preLoadAlt = new Array()
	for (i = 0; i < p; i++){
	   preLoadAlt[i] = new Image()
	   preLoadAlt[i].src = PicAlt[i]
	}

	function runSlideShow(){
	   if (document.all){
		  document.images.SlideShow.style.filter='blendTrans(duration=2)'
		  document.images.SlideShowAlt.style.filter='blendTrans(duration=2)'
		  document.images.SlideShow.style.filter='blendTrans(duration=crossFadeDuration)'
		  document.images.SlideShowAlt.style.filter='blendTrans(duration=crossFadeDuration)'
		  document.images.SlideShow.filters.blendTrans.Apply()
      document.images.SlideShowAlt.filters.blendTrans.Apply()      
	   }
	   document.images.SlideShow.src = preLoad[j].src
	   document.images.SlideShowAlt.src = preLoadAlt[j].src
	   document.getElementById('HomeLink').href = Link[j]
	   if (document.all){
		  document.images.SlideShow.filters.blendTrans.Play()
		  document.images.SlideShowAlt.filters.blendTrans.Play()
	   }
	   j = j + 1
	   if (j > (p-1)) j=0
	   t = setTimeout('runSlideShow()', slideShowSpeed)
	}
