// (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 = 3000

// 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

//
Pic[0] = 'images/slideshow/01_Exterior_Front.jpg'
Pic[1] = 'images/slideshow/02_Landscaped_Grounds.jpg'
Pic[2] = 'images/slideshow/03_Landscaped_Grounds.jpg'
Pic[3] = 'images/slideshow/04_Landscaped_Grounds.jpg'
Pic[4] = 'images/slideshow/05_Landscaped_Grounds.jpg'
Pic[5] = 'images/slideshow/06_Front_Details.jpg'
Pic[6] = 'images/slideshow/07_Entrance.jpg'
Pic[7] = 'images/slideshow/08_Landscaped_Grounds.jpg'
Pic[8] = 'images/slideshow/09_Exterior_Front.jpg'
Pic[9] = 'images/slideshow/10_Five_Car_Garage.jpg'
Pic[10] = 'images/slideshow/11_Five_Car_Garage.jpg'
Pic[11] = 'images/slideshow/12_Driveway.jpg'
Pic[12] = 'images/slideshow/13_Exterior_Details.jpg'
Pic[13] = 'images/slideshow/14_Exterior.jpg'
Pic[14] = 'images/slideshow/15_Foyer.jpg'
Pic[15] = 'images/slideshow/16_Hallway.jpg'
Pic[16] = 'images/slideshow/17_Living_Room.jpg'
Pic[17] = 'images/slideshow/18_Living_Room.jpg'
Pic[18] = 'images/slideshow/19_Living_Room.jpg'
Pic[19] = 'images/slideshow/20_Dining_Room.jpg'
Pic[20] = 'images/slideshow/21_Dining_Room.jpg'
Pic[21] = 'images/slideshow/22_Stairs.jpg'
Pic[22] = 'images/slideshow/23_Stairs.jpg'
Pic[23] = 'images/slideshow/24_Stairs.jpg'
Pic[24] = 'images/slideshow/25_Hallway.jpg'
Pic[25] = 'images/slideshow/26_Hallway.jpg'
Pic[26] = 'images/slideshow/27_Hallway.jpg'
Pic[27] = 'images/slideshow/28_Stairs.jpg'
Pic[28] = 'images/slideshow/29_Stairs.jpg'
Pic[29] = 'images/slideshow/30_View_of_Hallway.jpg'
Pic[30] = 'images/slideshow/31_Kitchen.jpg'
Pic[31] = 'images/slideshow/32_Kitchen.jpg'
Pic[32] = 'images/slideshow/33_Kitchen.jpg'
Pic[33] = 'images/slideshow/34_Kitchen.jpg'
Pic[34] = 'images/slideshow/35_Kitchen.jpg'
Pic[35] = 'images/slideshow/36_Kitchen.jpg'
Pic[36] = 'images/slideshow/37_Kitchen.jpg'
Pic[37] = 'images/slideshow/38_Kitchen.jpg'
Pic[38] = 'images/slideshow/39_Family_Room_and_Kitchen.jpg'
Pic[39] = 'images/slideshow/40_Family_Room_and_Kitchen.jpg'
Pic[40] = 'images/slideshow/41_Family_Room.jpg'
Pic[41] = 'images/slideshow/42_Entrance_to_Deck.jpg'
Pic[42] = 'images/slideshow/43_Entrance_to_Deck.jpg'
Pic[43] = 'images/slideshow/44_Entrance_to_Deck.jpg'
Pic[44] = 'images/slideshow/45_Butlers__Catering__Servery.jpg'
Pic[45] = 'images/slideshow/46_Butlers__Catering__Servery.jpg'
Pic[46] = 'images/slideshow/47_Butlers__Catering__Servery.jpg'
Pic[47] = 'images/slideshow/48_Powder_Room.jpg'
Pic[48] = 'images/slideshow/49_Office.jpg'
Pic[49] = 'images/slideshow/50_Office.jpg'
Pic[50] = 'images/slideshow/51_Closet.jpg'
Pic[51] = 'images/slideshow/52_Master_Bedroom.jpg'
Pic[52] = 'images/slideshow/53_Master_Bedroom.jpg'
Pic[53] = 'images/slideshow/54_Master_Bedroom.jpg'
Pic[54] = 'images/slideshow/55_Ensuite_Bathroom.jpg'
Pic[55] = 'images/slideshow/56_Ensuite_Bathroom.jpg'
Pic[56] = 'images/slideshow/57_Ensuite_Bathroom.jpg'
Pic[57] = 'images/slideshow/58_Ensuite_Bathroom.jpg'
Pic[58] = 'images/slideshow/59_Ensuite_Bathroom.jpg'
Pic[59] = 'images/slideshow/60_Ensuite_Bathroom.jpg'
Pic[60] = 'images/slideshow/61_Ensuite_Bathroom.jpg'
Pic[61] = 'images/slideshow/62_Ensuite_Bathroom.jpg'
Pic[62] = 'images/slideshow/63_Ensuite_Bathroom.jpg'
Pic[63] = 'images/slideshow/64_Walk-in_Closet.jpg'
Pic[64] = 'images/slideshow/65_Walk-in_Closet.jpg'
Pic[65] = 'images/slideshow/66_Walk-in_Closet.jpg'
Pic[66] = 'images/slideshow/67_2nd_Floor_Landing.jpg'
Pic[67] = 'images/slideshow/68_2nd_Floor_Landing.jpg'
Pic[68] = 'images/slideshow/69_Bedroom.jpg'
Pic[69] = 'images/slideshow/70_Walk-in_Closet.jpg'
Pic[70] = 'images/slideshow/71_2nd_Ensuite_Bathroom.jpg'
Pic[71] = 'images/slideshow/72_2nd_Ensuite_Bathroom.jpg'
Pic[72] = 'images/slideshow/73_Bedroom.jpg'
Pic[73] = 'images/slideshow/74_Walk-in_Closet.jpg'
Pic[74] = 'images/slideshow/75_3rd_Ensuite_Bathroom.jpg'
Pic[75] = 'images/slideshow/76_3rd_Ensuite_Bathroom.jpg'
Pic[76] = 'images/slideshow/77_Laundry_Room.jpg'
Pic[77] = 'images/slideshow/78_Bedroom.jpg'
Pic[78] = 'images/slideshow/79_Walk-in_Closet.jpg'
Pic[79] = 'images/slideshow/80_4th_Ensuite_Bathroom.jpg'
Pic[80] = 'images/slideshow/81_Stairs_to_Basement.jpg'
Pic[81] = 'images/slideshow/82_Recreation_Room.jpg'
Pic[82] = 'images/slideshow/83_Recreation_Room.jpg'
Pic[83] = 'images/slideshow/84_Recreation_Room.jpg'
Pic[84] = 'images/slideshow/85_Lower_Level_Hallway.jpg'
Pic[85] = 'images/slideshow/86_Lower_Level_Bathroom.jpg'
Pic[86] = 'images/slideshow/87_Backyard.jpg'
Pic[87] = 'images/slideshow/88_Backyard.jpg'
Pic[88] = 'images/slideshow/89_Walk-out_Basement_Entrance.jpg'
Pic[89] = 'images/slideshow/90_Deck.jpg'
Pic[90] = 'images/slideshow/91_Deck.jpg'
Pic[91] = 'images/slideshow/92_Deck.jpg'
Pic[92] = 'images/slideshow/93_Stairs.jpg'
Pic[93] = 'images/slideshow/94_Stairs.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)  
}

function stopshow() {	
	clearTimeout(t);
	t = setTimeout('runSlideShow()', slideShowSpeed) 
}
