$(function() {
	// OPACITY OF BUTTON SET TO 50%
	$(".latest_img").css("opacity","0.8");
	//$(".inner_container").css("opacity","1.0");
	
	// ON MOUSE OVER
	$(".latest_img").hover(function () {
		// SET OPACITY TO 100%
		//$(".inner_container").css("opacity","0.5");
		$(".inner_container").stop().animate({
			opacity: 0.3
		}, "slow");
		
		$(this).stop().animate({
			opacity: 1.0
		}, "slow");
	},
		// ON MOUSE OUT
	function () {
		// SET OPACITY BACK TO 50%
		//$(".inner_container").css("opacity","1.0");
		$(".inner_container").stop().animate({
			opacity: 1.0
		}, 1500);
		
		$(this).stop().animate({
			opacity: 0.8
		}, "slow");
	});
});



$(function() {
	// OPACITY OF BUTTON SET TO 50%
	//$(".kat_dimmer").css("border-color","#FFF");
	//$(".inner_container").css("opacity","1.0");
	
	// ON MOUSE OVER
	$(".kat_dimmer").hover(function () {
		// SET OPACITY TO 100%
		//$(".inner_container").css("opacity","0.5");
		//$(".inner_container").stop().animate({
		//	opacity: 0.3
		//}, "slow");
		
		$(this).stop().animate({
			backgroundColor: "#c6c52c"
		}, 800);
	},
		// ON MOUSE OUT
	function () {
		// SET OPACITY BACK TO 50%
		//$(".inner_container").css("opacity","1.0");
		//$(".inner_container").stop().animate({
		//	opacity: 1.0
		//}, 1500);
		
		$(this).stop().animate({
			backgroundColor: "#FFFFFF"
		}, "slow");
	});
});




$(function() {
	$(".dimmer").css("opacity","0.5");
	$(".dimmer").hover(function () {
		$(this).stop().animate({
			opacity: 1.0
		}, "slow");
	},
	function () {
		$(this).stop().animate({
			opacity: 0.5
		}, "slow");
	});
});

function tipps_load() {
	$.ajax(
	{
		type: "POST",
		url: "../../../../info/tipps.php",
		data: "seite=startseite",
		success: function(antwort){
			$(".thema_info").html(antwort);
		}
	});
}


$(function() {
	// OPACITY OF BUTTON SET TO 50%
	$(".klappen").hide(); 
	// ON MOUSE OVER
	$(".hoverbox").hover(function () {
		// SET OPACITY TO 100%
		$(this).children(".klappen").stop().height('auto').slideDown("slow");
	},
		// ON MOUSE OUT
	function () {
		// SET OPACITY BACK TO 50%
		$(this).children(".klappen").stop().slideUp("slow");
	});
});



