/* 
** Theme:    Definition
** Author:   Phoenix Zero
** Document: Javascript Plugin Settings
*/

<!-- Lightbox -->

	$(function() {
			   
		$('a.lightbox').lightBox(); /* links that have class="lightbox" will be displayed in the Lightbox plugin */
		
	});
	
<!-- End Lightbox -->

<!-- Cufon -->

	Cufon.replace('h1'); /* replaces h1, h2, h3, h4, h5, and h6 headings with the custom Cufon font */
	Cufon.replace('h2');
	Cufon.replace('h3');
	Cufon.replace('h4');
	Cufon.replace('h5');
	Cufon.replace('h6');
	Cufon.replace('#nav ul li'); /* replaces the main navigation with the custom Cufon font */

<!-- End Cufon -->

<!-- jQuery Cycle Plugin -->

$(document).ready(function(){ /* script operates once the page is loaded */

	$('#featured-image').cycle({ 
    	fx:     'scrollRight', /* transition effect (for a full list of transitions, visit http://malsup.com/jquery/cycle/browser.html) */
    	speed:  1000, /* speed of transition (in milliseconds) */
    	timeout: 0, /* time between automatic transitions (0 = no auto transitions) */
		easing: 'easeinout', /* transition easing effect */
    	pager:  '#featured-navigation', /* navigation that controls the slider (do not edit) */
    	pagerAnchorBuilder: function(idx, slide) { return '#featured-navigation a:eq(' + idx + ')'; } /* DO NOT DELETE */
	});
	
	$('#featured-slides').cycle({ 
    	fx:     'scrollVert', /* transition effect (for a full list of transitions, visit http://malsup.com/jquery/cycle/browser.html) */
    	speed:  1000, /* speed of transition (in milliseconds) */
    	timeout: 0, /* time between automatic transitions (0 = no auto transitions) */
		easing: 'bounceout', /* transition easing effect */
    	pager:  '#featured-navigation', /* navigation that controls the slider (do not edit) */
    	pagerAnchorBuilder: function(idx, slide) { return '#featured-navigation a:eq(' + idx + ')'; } /* DO NOT DELETE */
	});
	
});

<!-- End jQuery Cycle Plugin -->

<!-- Custom Caption Script -->

$(document).ready(function(){ /* script operates once the page is loaded */
				
		$('.slide').hover(function(){
												 
				$(".cover-bottom", this).stop().animate({top:'205px'},{
												 
						queue:    false,
						duration: 160 /* transition time (in milliseconds) from closed to open */
						
				});
												 
				$(".cover-top", this).stop().animate({top:'0px'},{
												 
						queue:    false,
						duration: 160 /* transition time (in milliseconds) from closed to open */								 
					 
		});}, function() {
			
				$(".cover-bottom", this).stop().animate({top:'267px'},{
												 
						queue:    false,
						duration: 600, /* transition time (in milliseconds) from open to closed */
						easing:   'bounceout' /* easing effect (note: easing plugin required) */
						
				});
						
				$(".cover-top", this).stop().animate({top:'-38px'},{
												 
						queue:    false,
						duration: 600, /* transition time (in milliseconds) from open to closed */
						easing:   'bounceout' /* easing effect (note: easing plugin required) */		
					
});});});

<!-- End Custom Caption Script -->
