/* 
** 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 -->


<!-- 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 -->