/* <![CDATA[ */

	(function($) {

		$(window).load(function() {

			$('#slider').nivoSlider({
				effect: 'fold', 
				slices: 20, 
				animSpeed: 1000, 
				pauseTime: 5000, 
				startSlide:0, 
				directionNav: true, // prev, next
				directionNavHide: true, // show on hover
				controlNav: true, // 1, 2, 3 ...
				controlNavThumbs: false, // use thumbnails
				controlNavThumbsFromRel: false, // use rel for thumbs
				controlNavThumbsSearch: '', // replace this with ...
				controlNavThumbsReplace: '', // ...this in thumb img src
				keyboardNav: true, // left, right arrows
				pauseOnHover: true, // stop while hovering
				manualAdvance: false, // force manual transitions
				captionOpacity: 0.7, 
				beforeChange: function(){},
				afterChange: function(){},
				slideshowEnd: function(){}
			});

		});

	})(jQuery);

	/* ]]> */
