$(document).ready(function(){  
    // Menu //////////////////////////////////////////////////////////////////
    //When mouse rolls over  
    $("#navbarContainer li").mouseover(function(){  
	$(this).stop().animate({height:'90px'},{queue:false, duration:600, easing: 'easeOutBounce'})       });  
    
    //When mouse is removed  
    $("#navbarContainer li").mouseout(function(){  
	$(this).stop().animate({height:'30px'},{queue:false, duration:600, easing: 'easeOutBounce'})  
    });   

    // // Yoxview ///////////////////////////////////////////////////////////////
    // $(".yoxview").yoxview({ lang: "de",
    //                         autoPlay: true,
    //                         playDelay: 6000
    //                       });

    // FancyBox (lightbox clone) /////////////////////////////////////////////
    $(document).ready(function() {
	// Galleries
	$(".fancybox").fancybox({
	    openEffect: "elastic",
	    closeEffect: "elastic",
	    nextEffect: "fade",
	    prevEffect: "fade",
	    autoPlay: "true",
	    closeBtn : false,
	    helpers : { 
		//title : { type : 'outside' },
		buttons	: {},
		//thumbs : {
		//    width : 70,
		//    height : 70
		//}
	    }
	});
	$(".fancybox-single").fancybox({
	    openEffect: "elastic",
	    closeEffect: "elastic",
	});
    });
    // Rounded corners ///////////////////////////////////////////////////////
    // FancyBox

    // Rounded corners ///////////////////////////////////////////////////////
    $(".rounded").corner("20px top");

    // Slidebox (toggle text in speech bubble) ///////////////////////////////
    // Hide slidebox as soon as DOM is ready
    $('#slidebox').hide()
    $('#slidebox-toggle').click(function() {
	$('#slidebox').toggle(400);
	return false;
    });
}); 
