// JavaScript Document
$(function(){
			// Set starting slide to 1
			var startSlide = 1;
			// Get slide number if it exists
			if (window.location.hash) {
				startSlide = window.location.hash.replace('#','');
			}
			// Initialize Slides
			$('#slides').slides({
				effect: 'fade',
				crossfade: true,
				fadeSpeed: 500,
				next: 'next',
				generatePagination: true,
				play: 5000,
				pause: 2500,
				hoverPause: true,
				// Get the starting slide
				start: startSlide,
				animationComplete: function(current){
					// Set the slide number as a hash
					window.location.hash = '#' + current;
				}
			});
		});
		
			$(function(){
			$('#products').slides({
				effect: 'fade',
				crossfade: true,
				fadeSpeed: 50,
				generatePagination: false
			});
		});
		
		$(function(){
			// Set starting slide to 1
			var startSlide = 1;
			// Get slide number if it exists
			if (window.location.hash) {
				startSlide = window.location.hash.replace('#','');
			}
			// Initialize Slides
			$('#banner').slides({
				effect: 'fade',
				crossfade: true,
				fadeSpeed: 1000,
				randomize: true,
				generatePagination: false,
				play: 5000,
				pause: 1500,
				hoverPause: true,
				// Get the starting slide
				start: startSlide,
				animationComplete: function(current){
					// Set the slide number as a hash
					window.location.hash = '#' + current;
				}
			});
		});
		
		$(function(){
			// Set starting slide to 1
			var startSlide = 1;
			// Get slide number if it exists
			if (window.location.hash) {
				startSlide = window.location.hash.replace('#','');
			}
			// Initialize Slides
			$('#catbanner').slides({
				effect: 'fade',
				crossfade: true,
				fadeSpeed: 1000,
				randomize: true,
				generatePagination: false,
				play: 5000,
				pause: 1500,
				hoverPause: true,
				// Get the starting slide
				start: startSlide,
				animationComplete: function(current){
					// Set the slide number as a hash
					window.location.hash = '#' + current;
				}
			});
		});
			

