$(document).ready(function(){
	/*$('a.img').nyroModal({
		'zIndexStart': '9000'
	});
	
	*/
	$("a.img").fancybox({
		'titlePosition'  : 'over',
		'speedIn'		:	600, 
		'speedOut'		:	200, 
		'overlayShow' : true,
		'overlayOpacity':0.6,
		'overlayColor':'#000',
		'titleFormat'       : function(title, currentArray, currentIndex, currentOpts) {
		    return '<span id="fancybox-title-over">' +title+' ('+  (currentIndex + 1) + ' / ' + currentArray.length + ')</span>';		
		}
	});
	
})
