$(document).ready(function() {
	$("a.lightbox").fancybox({
		'type' : 'image',
		'hideOnContentClick' : true,
		'transitionIn' : 'fade',
		'transitionOut'	: 'fade',
		'titlePosition' : 'over',
		'titleFormat' : function(title, currentArray, currentIndex, currentOpts) {
			return '<span id="fancybox-title-over">' + this.orig.attr('title') + '</span>';
		}
	});
});
