﻿ var $xx = jQuery.noConflict();
$xx(document).ready(function() {
 
$xx("a[rel=example_group]").fancybox({
				'transitionIn'		: 'none',

				'transitionOut'		: 'none',

				'titlePosition' 	: 'over',

				'titleFormat'		: function(title, currentArray, currentIndex, currentOpts) {

					return '<span id="fancybox-title-over">Obrázek ' + (currentIndex + 1) + ' z ' + currentArray.length + (title.length ? ' &nbsp; ' + title : '') + '</span>';

				}
});

$xx("a[rel=example_group2]").fancybox({
				'transitionIn'		: 'none',

				'transitionOut'		: 'none',

				'titlePosition' 	: 'over',

				'titleFormat'		: function(title, currentArray, currentIndex, currentOpts) {

					return '<span id="fancybox-title-over">Obrázek ' + (currentIndex + 1) + ' z ' + currentArray.length + (title.length ? ' &nbsp; ' + title : '') + '</span>';

				}
});
 
});          
