$(document).ready(function () {

	/* auswahl jahre */
	$('a.select').click(function() {
		$('div.auswahl').toggle();
		$(this).toggleClass("arrow-up");
 	});
 
	/* auswahl news */
 	$("ul.auswahl-news li a").hover(
		function () {
			$(this).parent().find('.newsimage').slideToggle();
		},
		function () {
			$(this).parent().find('.newsimage').slideToggle();

		}
 	);
 	

 	
 	
	/* news collapse */

	$('a.news-more').click(function() {
		$(this).parent().find('div').slideDown();
		$(this).hide();
 	});
 	$('a.news-less').click(function() {
		$(".txt_more").slideUp();
		$('a.news-more').show();
 	});
 	
 	//hide news more
 	$(".txt_more").hide();

 	
 	
 	
 	
 	
 	
 	
 	/* meta */
 	$("#meta-nav").hover(
		function () {
			$(this).stop(true, false).animate({
  			 	height: "26px"
 			}, 300 );
 			$("#meta-content").show();
			$("#meta-opener").hide();
		},
		function () {
			$(this).stop(true, false).animate({
  			 	height: "14px"
 			}, 200 );
 			$("#meta-content").hide();
 			$("#meta-opener").show()
		}
 	);


});
