$(document).ready(function(){
	$('.fancygallery').fancybox({
		'overlayColor' : '#000',
		'opacity': true,
		'scrolling': 'no',
		'titlePosition': 'over'
	});
	$('.fancybox').fancybox({
		'overlayColor' : '#000',
		'opacity': true,
		'scrolling': 'no',
		'titlePosition': 'over'
	});
/*
	$('.share-bar').hide();
	$('.entry-utility').bind('mouseenter', function(){
		$(this).find('.share-bar').slideDown();
	});
	$('.entry-utility').bind('mouseleave', function(){
		$(this).find('.share-bar').slideUp();
	});
*/
});

/*
        $(function() {
            var offset = $("#Sidebar").offset();
            var topPadding = 35;
            $(window).scroll(function() {
                if ($(window).scrollTop() > offset.top) {
                    $("#Sidebar").stop().animate({
                        marginTop: $(window).scrollTop() - offset.top + topPadding
                    });
                } else {
                    $("#Sidebar").stop().animate({
                        marginTop: 0
                    });
                };
            });
        });
        */
