﻿$(document).ready(function() {
    $("a#single_image").fancybox();

    //$("a#inline").fancybox({'hideOnContentClick': true});

    $("a.video").fancybox({ 'hideOnContentClick': false });

    
    $("a.group").fancybox({
        'speedIn': 600,
        'speedOut': 200,
        'overlayShow': false
    });
/*
    $(".video").click(function() {
        $.fancybox({
            'padding': 0,
           // 'autoScale': false,
           // 'transitionIn': 'none',
           // 'transitionOut': 'none',
           // 'title': this.title,
            'width': 800,
            'height': 600,
          //  'href': this.href.replace(new RegExp("watch\\?v=", "i"), 'v/'),
            'type': 'inline'//,
            //'swf': {
             //   'wmode': 'transparent',
             //   'allowfullscreen': 'true'
            //}
        });

        return false;
    });

  */  
});
