// JavaScript Document

// 28.02.2011
// Rollover für die Navigation und den Anmelde-Button. Script aus dem Internet
// Da die Sache mit dem CSS nicht optimal funktioniert
// muss ich als Krücke eine Sequenz von Selektoren in die Funktion einbauen.
// Leider hat jeder Navigationspunkt eine eigene CSS-Klassse
$(document).ready(function () {

	$("#a, #m").hover(
		function () {
			$(this).stop().animate({ "opacity": "0" }, 400);
		},

		function () {
			$(this).stop().animate({ "opacity": "1" }, 600);
		});
});

function neu(a, b, c, d, e) {
    $("#xl").hide();
    $("#frame").css({ height: a });
    $("#container3a").css({ height: b });
    $("#container3").css({ height: c });
    $("#container4").css({ top: d });
    $("#xl-2").css({ height: e });
    $("#xl").fadeIn(500);
};

function auto() {
    $("#container3b", "#news-1").fadeIn(500);
}
