
var $j = jQuery.noConflict();

$j(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
			$j('#slides').slides({
				preload: true,
				preloadImage: '/upload/default/frameimage/sliders/loading.gif',
				generatePagination: true,
				//play: 8000,
				play: 10000,
				pause: 2500,
				effect: "fade",
				hoverPause: true,
				// Get the starting slide
				start: startSlide,
				animationComplete: function(current){
					// Set the slide number as a hash
					window.location.hash = '#' + current;
				}
			});
		});

