		$(document).ready(function() {

			$("a[rel=folio]").fancybox({
				'transitionIn'		: 'elastic',
				'transitionOut'		: 'elastic',
				'easingIn'		    : 'swing',
        'easingOut'		    : 'swing',
        'titlePosition' 	: 'over',
        'overlayColor' 	  : '#333',
				'titleFormat'       : function(title, currentArray, currentIndex, currentOpts) {
				    return '<span id="fancybox-title-over">Nasze realizacje ' +  (currentIndex + 1) + ' / ' + currentArray.length + '</span>';
				}
			});
			
		});

		$(document).ready(function() {

			$("a[rel=fot_r]").fancybox({
				'transitionIn'		: 'elastic',
				'transitionOut'		: 'elastic',
				'easingIn'		    : 'swing',
        'easingOut'		    : 'swing',
        'titlePosition' 	: 'over',
        'overlayColor' 	  : '#333',
				'titleFormat'       : function(title, currentArray, currentIndex, currentOpts) {
				    return '<span id="fancybox-title-over">Fotografia reportażowa ' +  (currentIndex + 1) + ' / ' + currentArray.length + '</span>';
				}
			});
			
		});


		$(document).ready(function() {

			$("a[rel=fot_f]").fancybox({
				'transitionIn'		: 'elastic',
				'transitionOut'		: 'elastic',
				'easingIn'		    : 'swing',
        'easingOut'		    : 'swing',
        'titlePosition' 	: 'over',
        'overlayColor' 	  : '#333',
				'titleFormat'       : function(title, currentArray, currentIndex, currentOpts) {
				    return '<span id="fancybox-title-over">Wybrane projekty ' +  (currentIndex + 1) + ' / ' + currentArray.length + '</span>';
				}
			});
			
		});



		$(document).ready(function() {

			$("a[rel=fot_k]").fancybox({
				'transitionIn'		: 'elastic',
				'transitionOut'		: 'elastic',
				'easingIn'		    : 'swing',
        'easingOut'		    : 'swing',
        'titlePosition' 	: 'over',
        'overlayColor' 	  : '#333',
				'titleFormat'       : function(title, currentArray, currentIndex, currentOpts) {
				    return '<span id="fancybox-title-over">Fotografia koncertowa ' +  (currentIndex + 1) + ' / ' + currentArray.length + '</span>';
				}
			});
			
		});



		$(document).ready(function() {

			$("a[rel=fot_s]").fancybox({
				'transitionIn'		: 'elastic',
				'transitionOut'		: 'elastic',
				'easingIn'		    : 'swing',
        'easingOut'		    : 'swing',
        'titlePosition' 	: 'over',
        'overlayColor' 	  : '#333',
				'titleFormat'       : function(title, currentArray, currentIndex, currentOpts) {
				    return '<span id="fancybox-title-over">Fotografia sportowa ' +  (currentIndex + 1) + ' / ' + currentArray.length + '</span>';
				}
			});
			
		});		
		



		$(document).ready(function() {

			$("a[rel=fot_b]").fancybox({
				'transitionIn'		: 'elastic',
				'transitionOut'		: 'elastic',
				'easingIn'		    : 'swing',
        'easingOut'		    : 'swing',
        'titlePosition' 	: 'over',
        'overlayColor' 	  : '#333',
				'titleFormat'       : function(title, currentArray, currentIndex, currentOpts) {
				    return '<span id="fancybox-title-over">Fotografia imprez ' +  (currentIndex + 1) + ' / ' + currentArray.length + '</span>';
				}
			});
			
		});			
		



		$(document).ready(function() {

			$("a[rel=fot_d]").fancybox({
				'transitionIn'		: 'elastic',
				'transitionOut'		: 'elastic',
				'easingIn'		    : 'swing',
        'easingOut'		    : 'swing',
        'titlePosition' 	: 'over',
        'overlayColor' 	  : '#333',
				'titleFormat'       : function(title, currentArray, currentIndex, currentOpts) {
				    return '<span id="fancybox-title-over">Fotografia dziecięca ' +  (currentIndex + 1) + ' / ' + currentArray.length + '</span>';
				}
			});
			
		});		
		



		$(document).ready(function() {

			$("a[rel=fot_sl]").fancybox({
				'transitionIn'		: 'elastic',
				'transitionOut'		: 'elastic',
				'easingIn'		    : 'swing',
        'easingOut'		    : 'swing',
        'titlePosition' 	: 'over',
        'overlayColor' 	  : '#333',
				'titleFormat'       : function(title, currentArray, currentIndex, currentOpts) {
				    return '<span id="fancybox-title-over">Fotografia ślubna ' +  (currentIndex + 1) + ' / ' + currentArray.length + '</span>';
				}
			});
			
		});		
		



		$(document).ready(function() {

			$("a[rel=fot_w]").fancybox({
				'transitionIn'		: 'elastic',
				'transitionOut'		: 'elastic',
				'easingIn'		    : 'swing',
        'easingOut'		    : 'swing',
        'titlePosition' 	: 'over',
        'overlayColor' 	  : '#333',
				'titleFormat'       : function(title, currentArray, currentIndex, currentOpts) {
				    return '<span id="fancybox-title-over">Fotografia wnętrz ' +  (currentIndex + 1) + ' / ' + currentArray.length + '</span>';
				}
			});
			
		});		
		



		$(document).ready(function() {

			$("a[rel=fot_p]").fancybox({
				'transitionIn'		: 'elastic',
				'transitionOut'		: 'elastic',
				'easingIn'		    : 'swing',
        'easingOut'		    : 'swing',
        'titlePosition' 	: 'over',
        'overlayColor' 	  : '#333',
				'titleFormat'       : function(title, currentArray, currentIndex, currentOpts) {
				    return '<span id="fancybox-title-over">Sesje plenerowe ' +  (currentIndex + 1) + ' / ' + currentArray.length + '</span>';
				}
			});
			
		});		
