/* Declare a namespace for the site */
var Site = window.Site || {};

/* Create a closure to maintain scope of the '$'
   and remain compatible with other frameworks.  */
(function($) {
	
	//same as $(document).ready();
	$(function() {
		
		// get the first slider going
				    $('#slider1').bxSlider({
			            displaySlideQty: 1,
			            moveSlideQty: 1,
			            speed: 500,
			            pause: 6000,
			            infiniteLoop: true,
			            autoHover: true,
			            easing: 'easeOutCirc',
			            auto: true
			        });

		// get the second slider going
				    $('#slider2').bxSlider({
			            displaySlideQty: 3,
			            moveSlideQty: 1,
			            speed: 500,
			            infiniteLoop: true,
			            autoHover: true,
			            auto: false
			        });

		// get the gallery slider going
				    $('#gallery').bxSlider({
			            mode: 'horizontal',
			            displaySlideQty: 1,
			            moveSlideQty: 1,
			            speed: 500,
			            controls: false,
			            auto: true,
			            pause: 4000
			            
			        });
		
		Shadowbox.init({
			overlayOpacity: 0.8
		});


		$('div.expander').expander({
		  slicePoint: 250,
		  expandPrefix: '', 
		  expandText: ' &hellip; show more',
		  userCollapseText: 'show less',
		  expandEffect: 'fadeIn'
		});

	});


	$(window).bind("load", function() {
		
		
	
	});
	
})(jQuery);
