$(document).ready(function() {
	var ghoehe=document.documentElement.clientHeight;
  	$("#menu").css("height",ghoehe);
  	$("#content").css("height",ghoehe);
        $("body").css("overflow",'hidden');

	$(window).bind('resize', function() {
		var ghoehe=document.documentElement.clientHeight;
    	$("#menu").css("height",ghoehe);
    	$("#content").css("height",ghoehe);
	});



	$("#menue ul li").hover(
		function () {
			$(this).find('.ebene1').attr("src","../../images/mover.png");
		},
		function () {
		    $(this).find('.ebene1').attr("src","../../images/mnormal.png");
		}
	);
	
	
	$("#menue ul li ul li").hover(
		function () {
			$(this).find('.ebene2').attr("src","../../images/mover2.png");
		},
		function () {
		    $(this).find('.ebene2').attr("src","../../images/mnormal2.png");
		}
	);
	//zweite ebene bilder tauschen
	$('#menue ul li ul li').each(function (i) {
		$(this).find('.ebene1 .tausch').attr("src","../../images/mnormal2.png");
		$(this).find('.tausch').attr("src","../../images/mover2.png");
                $(this).find('.ebene2').attr("src","../../images/mnormal2.png");
                
		$(this).find('.mspan').addClass("mkspan");
	});

// stern


if($("#l49 img").hasClass('ia')){
$("#l49 img").attr("src","../../images/starn.png");

	$("#l49").hover(
		function () {
			$(this).find('img').attr("src","../../images/staro.png");
		},
		function () {
		    $(this).find('img').attr("src","../../images/starn.png");
		}
	);
}else{
$("#l49 .istaktiv").attr("src","../../images/staro.png");
}

});
