$(document).ready(function() {    
    $('a.fancybox').fancybox({
    	'title': $($(this).children()[0]).attr('alt'),
    	'titlePosition': 'inside',
    	'overlayColor': '#000',
    	'overlayOpacity': 0.7
    });
});

$(document).ready(function() {
    
    /*
    $.localScroll({
    	hash: true,
    	margin: true,
    	duration: 800,
    	easing: 'swing'
    });
    */
    
    /*
    $('a.fancybox').fancybox({
    	'title': $($(this).children()[0]).attr('alt'),
    	'titlePosition': 'inside',
    	'overlayColor': '#000',
    	'overlayOpacity': 0.7
    });
    */
    
    $('#navigation li').hover(
    	function() {
    		$(this).addClass('hovered');
    	},
    	function() {
    		$(this).removeClass('hovered');
    	}
    );
    
    $(".container-full-zweispalter").filter(function(index) {
  		return ($(this).find("div.right-column > .wrapper").length == 0);
	}).remove();
    
    /*
    $(".container-full-zweispalter").each(function() {
    	
    	if ($(this).children("div.left-column:empty").length > 0 && $(this).children("div.right-column:empty").length > 0) {
    		console.log(this);
    	}
    	
    	
    });
    */
    
});
