
/* - prettyPhoto.js - */
(function($) {
            $(function() {
                // add rel tag for all links with class 'prettyPhoto'
                $("a.prettyPhoto").attr({"rel": "prettyPhoto"});

                // add iframe attributes for all links with class 'prettyPhotoIframe'
                $("a.prettyPhotoIframe").attr("href", function() {
                    return this.href + "?iframe=true&width=90%&height=90%";
                }).attr({"rel": "prettyPhoto"});

                // enable prettyPhoto
                $("a[rel^='prettyPhoto']").prettyPhoto({
                    animation_speed: 'normal', /* fast/slow/normal */
                    opacity: 0.80, /* Value between 0 and 1 */
                    show_title: true, /* true/false */
                    counter_separator_label: '/', /* The separator for the gallery counter 1 "of" 2 */
                    theme: 'light_rounded',
                    autoplay: true, /* Automatically start videos: true/false */
                    autoplay_slideshow: false,
                    slideshow: <ATFolder at slideshow>, /* false OR interval time in ms */
                    overlay_gallery: false, /* If set to true, a gallery will overlay the fullscreen image on mouse over */
                    social_tools: false, /* html markup for social tool icons */
                    deeplinking: false /* allow prettyphoto to rewrite url for direktlinking to an image */
                });
            });
        })(jQuery);
        

