!window.jQuery && document.write('<script src="jquery-1.4.3.min.js"><\/script>');


$(document).ready(function() {
    $("a[rel=grupa]").fancybox({
        'transitionIn'		: 'none',
        'transitionOut'		: 'none',
        'titlePosition' 	: 'over',
        'titleFormat'		: function(title, currentArray, currentIndex, currentOpts) {
            return '<span id="fancybox-title-over">Obrazek ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' &nbsp; ' + title : '') + '</span>';
        }
    });

    $("a#fancybox1").fancybox({
        'transitionIn'	: 'none',
        'transitionOut'	: 'none'
    });


});

