


jQuery(document).ready(function () {


	/* Sliders
	 ------------------------------------------------------------------------*/

	/* Showcase slider */
	jQuery('#showcase-slider').RSlider({
								   delay			: 5000,
								   duration			: 1000,
								   height			: 480,
								   width			: 960,
								   slices			: 6,
								   easing			: 'easeOutExpo',
								   effect			: 'fade',
								   pause_on_hover	: true
								   });

	/* Display sliders navigation */
	jQuery('.navigation .rs-nav').css({opacity : 0, display : 'block'});
    jQuery('.navigation').hover(function(){
		jQuery('.rs-nav',this).stop().animate({ opacity : 1 }, { queue: false, duration: 450});
		jQuery('.rs-next',this).stop().animate({ right : '-15px'}, { queue: false, duration: 450, easing: 'easeOutQuint' });
		jQuery('.rs-prev',this).stop().animate({ left : '10px'}, { queue: false, duration: 450, easing: 'easeOutQuint' })
	}, function(){
		jQuery('.rs-nav',this).stop().animate({ opacity : 0 }, { queue: false, duration: 450});
	    jQuery('.rs-next',this).stop().animate({ right : '-68px'}, { queue: false, duration: 450, easing: 'easeOutQuint' });
	    jQuery('.rs-prev',this).stop().animate({ left : '-68px'}, { queue: false, duration: 450, easing: 'easeOutQuint' })
	})
	
}) 

