jQuery(document).ready(function()
{
	// Toggle Kommentarfunktion
	jQuery("div.comments_roll").hide();
	
	jQuery(".comment_button").click(function () 
	{
		jQuery(this).next('div').slideToggle("slow");
	});
	
	// Toggle Kommentarfunktion schliessen
	jQuery(".comment_button_schliessen").click(function () 
	{
	jQuery(this).parent('div').slideToggle("slow");
	});
	
	// Navigation Animation 3. Ebene
	jQuery("ul#menu-menu > li > ul > li > ul >li.menu-item").each(function (i, el){
	$(el).data('h',$(el).height())
	$(el).css('opacity', 0).css('height', 0);
	}) 

	jQuery("ul#menu-menu > li > ul > li").mouseenter(function () 
	{
		$('> ul > li', this).each(function (i, el){
			$(el).animate({
				opacity:1,
				height: $(el).data('h')
			})
		})
	});
	
	jQuery("ul#menu-menu > li > ul > li").mouseleave(function () 
	{
		$('> ul > li', this).stop().css('opacity', 0).css('height', 0);
	});

});

