

$(document).ready(function(){
	
	
$.localScroll({
		queue:true,
		duration:1000
});




	$('.fadeThis').append('<span class="hover"></span>').each(function () {
	  var $span = $('> span.hover', this).css('opacity', 1);
	  $(this).hover(function () {
	    $span.stop().fadeTo(700, 0);
	  }, function () {
	    $span.stop().fadeTo(700, 1);
	  });
	});
	






			
	//Full Caption Sliding (Hidden to Visible)
	$('.boxgrid.captionfull').hover(function(){
		$(".cover", this).stop().animate({top:'0px'},{queue:false,duration:300});
	}, function() {
		$(".cover", this).stop().animate({top:'-195px'},{queue:false,duration:620});
	});
			







	/* Using custom settings */ 
	$("a.inline").fancybox({ 
	'frameWidth': 950, 
	'frameHeight': 550, 
	'padding': 0, 
	'overlayShow': true, 
	'overlayOpacity': 0.7, 
	'overlayColor': '#121414',
	'centerOnScroll': false,
	'hideOnContentClick': true }); 
	/*$("a.group").fancybox({ 'zoomSpeedIn': 300, 'zoomSpeedOut': 300, 'overlayShow': false });  */
	
	
	
	
	
});


