/*** pouziti FANCYBOXu ***/

$(document).ready(function() {

    $("div.box a").fancybox();
    
    $("div.box a").fancybox({ 
        'hideOnContentClick': true 
    }); 

    $("div.box a").fancybox({ 
        'zoomSpeedIn': 700, 
        'zoomSpeedOut': 500, 
        'overlayOpacity': 1,
        'overlayShow': true 
    }); 

}); 

/*

 Available options
 =================
 
hideOnContentClick 	Hides FancyBox when cliked on zoomed item (false by default)

zoomSpeedIn 	Speed in miliseconds of the zooming-in animation (no animation if 0)

zoomSpeedOut 	Speed in miliseconds of the zooming-out animation (no animation if 0)

frameWidth 	Default width for iframed and inline content

frameHeight 	Default height for iframed and inline content

overlayShow 	If true, shows the overlay (false by default)

overlayOpacity 	Opacity of overlay (from 0 to 1)

itemLoadCallback 	Custom function to get group items (see example on this page source)

*/