// JavaScript Document

$(document).ready(function(){
	var config = {    
     sensitivity: 3, // number = sensitivity threshold (must be 1 or higher)    
     interval: 100, // number = milliseconds for onMouseOver polling interval    
     over: FadeIn, // function = onMouseOver callback (REQUIRED)    
     timeout: 0, // number = milliseconds delay before onMouseOut    
     out: FadeOut // function = onMouseOut callback (REQUIRED)    
	};
	
	function FadeIn(){
		$(this).find(".thumbCaption").show("slide", {easing: "easeOutQuint", direction: "down"}, 700);
	};
	
	function FadeOut(){
		$(this).find(".thumbCaption").hide("slide", {easing: "easeOutQuint", direction: "down"}, 300);
	};
	
	$(".thumbWrapper").hoverIntent(config);
});
