$(document).ready(function() {					   

	$("#menu-taetigkeitsbereiche li ul").css({'display' : 'none'});
	
	$("#menu-taetigkeitsbereiche li ul li:last-child").css({'background' : 'none', 'height' : '20px'});

    $('#menu-taetigkeitsbereiche>li>ul').hide();
    $('#menu-taetigkeitsbereiche>li').hover(
        function(){
            $(this).find('>ul').stop().height('auto').slideDown('slow');
        },
        function() {
            $(this).find('>ul').stop().slideUp('slow');
        }
    );
	
/*	$("#menu-taetigkeitsbereiche li").hover(function() { //Hover over event on list item
		$(this).find("ul").show(); //Show the subnav
	} , function() { //on hover out...
		$(this).find("ul").hide(); //Hide the subnav
		$("#menu-taetigkeitsbereiche .current_page_item ul").css({display: 'block'});
		$("#menu-taetigkeitsbereiche .current_page_parent ul").css({display: 'block'});
	});
*/	
	$("#menu-taetigkeitsbereiche .current_page_item ul").css({display: 'block'});
	$("#menu-taetigkeitsbereiche .current_page_parent ul").css({display: 'block'});
	
	$("#sidebar-2 .widget li:last-child").css({'background' : 'none', 'height' : '20px'});


});


