jQuery(document).ready(function($) {
	//box
	$("a[rel=box]").fancybox({
		"overlayShow": true,
		"showNavArrows": false,
		"titleFormat": function(){
			return false;	
		}
	});		
	
	//galeria
	$("a[rel=galeria]").fancybox({
		"titlePosition":"over",
		"titleFormat":function(title, currentArray, currentIndex, currentOpts) {
		return '<span id="fancybox-title-over">Imagem ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' &nbsp; ' + title : '') + '</span>';
		}
	});	
	
})
