$(document).ready(function() {
    $("a.fancy").fancybox({
        //'padding'               : 10,           //Space between FancyBox wrapper and content
        //'scrolling'             : 'auto',       //Set the overflow CSS property to create or hide scrollbars. Can be set to 'auto', 'yes', or 'no'
        //'autoScale'             : true,         //If true, FancyBox is scaled to fit in viewport
        //'autoDimensions'        : true,         //For inline and ajax views, resizes the view to the element recieves. Make sure it has dimensions otherwise this will give unexpected results
        //'centerOnScroll'        : false,        //When true, FancyBox is centered while scrolling page
        //'hideOnOverlayClick'    : true,         //Toggle if clicking the overlay should close FancyBox
        //'hideOnContentClick'    : false,        //Toggle if clicking the content should close FancyBox
        //'overlayShow'           : true,         //Toggle overlay
        //'overlayOpacity'        : 0.2,          //Opacity of the overlay (from 0 to 1; default - 0.3)
        //'overlayColor'          : '#000',       //Color of the overlay
        //'titleShow'             : true,         //Toggle title
        //'titlePosition'         : 'inside',     //The position of title. Can be set to 'outside', 'inside' or 'over'
        //'transitionIn'          : 'none',       //The transition type. Can be set to 'elastic', 'fade' or 'none'
        //'transitionOut'         : 'none',       //The transition type. Can be set to 'elastic', 'fade' or 'none'
        //'speedIn'               : 300,          //Speed of the fade and elastic transitions, in milliseconds
        //'speedOut'              : 300,          //Speed of the fade and elastic transitions, in milliseconds
        //'changeSpeed'           : 300,          //Speed of resizing when changing gallery items, in milliseconds
        //'changeFade'            : 'fast',       //Speed of the content fading while changing gallery items
        //'showCloseButton'       : true,         //Toggle close button
        //'showNavArrows'         : true,         //Toggle navigation arrows
        //'enableEscapeButton'    : true          //Toggle if pressing Esc button closes FancyBox
    });
});

