
//Pass in via a variable the name of the community pics to show.  This is also the name of the folder that stores the pics.
var vStr_pathToImages = 'http://www.lifestylehomes.net/slideshow/orchards_images/';



$(document).ready(function(){  
    //change the 'baseURL' to reflect the host and or path to your images  
    FOTO.Slider.baseURL = vStr_pathToImages;  
  
    // Note - The bucket method of loading images is not being used to comment out.
    //set images by filling our bucket directly  
    //0: {'thumb': 'pic1_sm.jpg', 'main': 'pic1_lg.jpg', 'caption': 'Opie'},  
	
	// Add photos by adding the large and small file name here.
		FOTO.Slider.bucket = {  
			'default': {  
				0: {'thumb': 'pic1_sm.jpg', 'main': 'pic1_lg.jpg'},  
				1: {'thumb': 'pic2_sm.jpg', 'main': 'pic2_lg.jpg'},  
				2: {'thumb': 'pic3_sm.jpg', 'main': 'pic3_lg.jpg'},  
				3: {'thumb': 'pic4_sm.jpg', 'main': 'pic4_lg.jpg'},  
				4: {'thumb': 'pic5_sm.jpg', 'main': 'pic5_lg.jpg'},  
				5: {'thumb': 'pic6_sm.jpg', 'main': 'pic6_lg.jpg'},  
				6: {'thumb': 'pic7_sm.jpg', 'main': 'pic7_lg.jpg'},  
				7: {'thumb': 'pic8_sm.jpg', 'main': 'pic8_lg.jpg'},  
			}  
		};
});
	


// Start the slideshow displaying.
	$(document).ready(function(){  
        //var ids = new Array(0,1,2,3);  
        //FOTO.Slider.importBucketFromIds('default',ids);  
        FOTO.Slider.reload('default');  
        FOTO.Slider.preloadImages('default'); 
        FOTO.Slider.enableSlideshow('default');		// Run the slideshow;
		FOTO.Slider.play('default');  				//automatically play;			  
    });	  
 

