jQuery(document).ready(function() {

	$("a.fbox_normal").fancybox({
		'titlePosition'  : 'over',
        'transitionIn'   : 'fade',
        'transitionOut'  : 'fade',
	});

});

$(document).ready(function(){

	$('.box.caption').hover(function(){
		$(".cover", this).stop().animate({top:'57px'},{queue:false,duration:160}); // use top: to set distance from the top of the box when hovered over
	}, function() {
		$(".cover", this).stop().animate({top:'107px'},{queue:false,duration:160}); // use top: to set distance from the top of the box when inactive
	});
});	
