jQuery(document).ready(function() {

// Fancybox
jQuery("a.fancybox").fancybox({
	'transitionIn'		: 'elastic',
	'transitionOut'		: 'elastic',
	'titlePosition' 	: 'over',
	//'centerOnScroll'  	: 'false',
	'overlayColor'  	: '#000',
	'overlayOpacity'  	: '0.4',
	'titleFormat'		: function(title, currentArray, currentIndex, currentOpts) {
		return '<span id="fancybox-title-over">' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' &nbsp; ' + title : '') + '</span>';
	}
});

// Close Document.ready
});

