$(function(){
	// Get Glow Effect		
		$(".hover").children("a").hover(function(){
		$(this).parent().children("div").stop().css({"display": "none", "opacity": "1"}).fadeIn("fast");
		},
		
		//Hover Out
		function(){
		$(this).parent().children("div").stop().fadeOut("fast");
		});
	// Attach the right background. Day and Night

		var TagInWoche = (new Date()).getDay();
		var Wochentag = new Array("son", "mon", "die", "mit",
                          "don", "fre", "sam");
		var hr = (new Date()).getHours();
		if(!(hr >= '9' && hr <= '18'))
		{
			$("body").addClass('night');
			$(".footer_line").addClass('footer_night');
			$(".footer_noline").addClass('footer_night');		
			$("#header").addClass('night');
		}
		else
		{
			$(".footer_line").addClass('footer_day');
			$(".footer_noline").addClass('footer_day');		
			$("body").addClass('day');	
			$("#header").addClass('day');	
		}
$('.projekt-link').mouseover(function(){$(this).children('img').show();});
$('.projekt-link').mouseout(function(){$(this).children('img').hide();});

$('.projekt-link-2').mouseover(function(){$(this).children('img.projekt-blasser-vimeo').show();});
$('.projekt-link-2').mouseout(function(){$(this).children('img.projekt-blasser-vimeo').hide();});

});

