// Begin MultiLayoutRegions
$(document).ready(
function() {
	$('#MehrfachLayoutBereich1LYR').MyTab({ selected: 0, event: 'click', fx: {opacity: 'toggle', duration: 'fast'} });
}
);
// End MultiLayoutRegions

// Begin XHTML adjustment
$(document).ready(function(){
	if (jQuery.browser.msie && jQuery.browser.version.substr(0, 2) == "6.") {
		$(".nof-clearfix").each(function (i) {
			$(this).append("<div style='clear:both'/>");
			$(this).removeClass("nof-clearfix");
		});
	}
	if (jQuery.browser.safari){
		$(".nof-lyr>br:first").each(function () {
			$(this).replaceWith("<div style='height:0px'>&nbsp;</div>");
		});
	}
});

// End XHTML adjustment

// Begin Navigation Bars
var ButtonsImageMapping = [];
ButtonsImageMapping["Navigationsleiste1"] = {
	"Navigationsschaltflaeche1" : { image: "../assets/images/autogen/Startseite_NButton-normal1.gif", rollover: "../assets/images/autogen/Startseite_NRButton-normal1.gif", w: 149, h: 24 },
	"Navigationsschaltflaeche2" : { image: "../assets/images/autogen/Aktuelles_NButton-normal1_2.gif", rollover: "../assets/images/autogen/Aktuelles_NRButton-normal1_2.gif", w: 149, h: 24 },
	"Navigationsschaltflaeche3" : { image: "../assets/images/autogen/Termine_NButton-normal1_2.gif", rollover: "../assets/images/autogen/Termine_NRButton-normal1_2.gif", w: 149, h: 24 },
	"Navigationsschaltflaeche4" : { image: "../assets/images/autogen/Der_Verein_HButton-high1_1.gif", rollover: "../assets/images/autogen/Der_Verein_HRButton-high1_1.gif", w: 149, h: 24 },
	"Navigationsschaltflaeche5" : { image: "../assets/images/autogen/Projekte_NButton-normal1_2.gif", rollover: "../assets/images/autogen/Projekte_NRButton-normal1_2.gif", w: 149, h: 24 },
	"Navigationsschaltflaeche6" : { image: "../assets/images/autogen/Wissenswertes_NButton-normal1_2.gif", rollover: "../assets/images/autogen/Wissenswertes_NRButton-normal1_2.gif", w: 149, h: 24 },
	"Navigationsschaltflaeche7" : { image: "../assets/images/autogen/Fotogalerie_NButton-normal1_1.gif", rollover: "../assets/images/autogen/Fotogalerie_NRButton-normal1_1.gif", w: 149, h: 24 }
};

$(document).ready(function(){
	$.fn.nofNavBarOptions({ navBarId: "Navigationsleiste1", rollover: true, autoClose: false });
	$("#Navigationsleiste1").nofNavBar({isMain: true, orientation: "vertical" });
	$("#Navigationsleiste1 ul").hide();
});


// End Navigation Bars


