
<!-- hide script
//---- LOAD MENU IMAGEs ----------------------------------------
var pictsDf = new Array();
   for (i = 0; i <= 7; i++) {
      pictsDf[i] = new Image();
      pictsDf[i].src = "fileadmin/images/MenuTextDF" + i + ".gif";
   }
var pictsHi = new Array();
   for (i = 0; i <= 7; i++) {
      pictsHi[i] = new Image();
      pictsHi[i].src = "fileadmin/images/MenuTextHI" + i + ".gif";
   }
//---- INIT STATUS VARIABLEs ----------------------------------------
var ImgStat = 0; var OldStat = 0;
//---- MENU ROLL and CLICK FUNCTIONs ----------------------------------------
function dfBtn(ID) {
	if (ImgStat == ID) { ImgStat = ID; }
	else { eval("document.m" + ID + ".src = pictsDf[" + ID + "].src;"); }
}

function hiBtn(ID) {
    if (ImgStat == ID) { ImgStat = ID; }
    else { eval("document.m" + ID + ".src = pictsHi[" + ID + "].src;"); }
}

function dnBtn(ID) {
	ImgStat = ID;
    //for (i = 1; i <= 7; i++) {
    //   if (ID == i) { ImgStat = ID;
    //      eval("document.m" + ID + ".src = pictsHi[" + ID + "].src;"); }
    //   else { eval("document.m" + i + ".src = pictsDf[" + i + "].src;"); }
    //}
    if (OldStat == 1) { document.m1.src = pictsDf[1].src; wipeFromCenter('out'); }
    if (OldStat == 2) { document.m2.src = pictsDf[2].src; wipeFromCenterB('out'); }
    if (OldStat == 3) { document.m3.src = pictsDf[3].src; wipeFromCenterC('out'); }
    if (OldStat == 4) { document.m4.src = pictsDf[4].src; wipeFromCenterD('out'); }
    if (OldStat == 5) { document.m5.src = pictsDf[5].src; wipeFromCenterE('out'); }
    if (OldStat == 6) { document.m6.src = pictsDf[6].src; wipeFromCenterF('out'); }
    if (OldStat == 7) { document.m7.src = pictsDf[7].src; wipeFromCenterG('out'); }
    eval("document.m" + ID + ".src = pictsHi[" + ID + "].src;");
    OldStat = ID;
}
//---- CLIP RECT FUNCTIONs ----------------------------------------
var xTop = 40; var xRight = 40; var xBottom = 40; var xLeft = 40; var num = 0; var speed = 0;
function wipeFromCenter(DIR) {
	layName = document.getElementById("over");
	dirX = DIR; 
	if (dirX == "over") {
		xTop = xTop - 2;
		xRight = xRight + 2;
		xBottom = xBottom + 2;
		xLeft = xLeft - 2;
		num++;
		if (num < 20) { setTimeout("wipeFromCenter(dirX)", speed); }
	} else {
		if (ImgStat == 1) {
			x = 0;
		} else {
			xTop = xTop + 2;
			xRight = xRight - 2;
			xBottom = xBottom - 2;
			xLeft = xLeft + 2;
			num--;
			if (num > 0) { setTimeout("wipeFromCenter(dirX)", speed); }
		}
	}
	rectA = "rect(" + xTop + "px " + xRight + "px " + xBottom + "px " + xLeft + "px)";
	layName.style.clip = rectA;
}

var xTop2 = 40; var xRight2 = 40; var xBottom2 = 40; var xLeft2 = 40; var num2 = 0;
function wipeFromCenterB(DIR) {
	layName2 = document.getElementById("over2");
	dir2X = DIR; 
	if (dir2X == "over") {
		xTop2 = xTop2 - 2;
		xRight2 = xRight2 + 2;
		xBottom2 = xBottom2 + 2;
		xLeft2 = xLeft2 - 2;
		num2++;
		if (num2 < 20) { setTimeout("wipeFromCenterB(dir2X)", speed); }
	} else {
		if (ImgStat == 2) {
			x = 0;
		} else {
			xTop2 = xTop2 + 2;
			xRight2 = xRight2 - 2;
			xBottom2 = xBottom2 - 2;
			xLeft2 = xLeft2 + 2;
			num2--;
		if (num2 > 0) { setTimeout("wipeFromCenterB(dir2X)", speed); }
		}
	}
	rectB = "rect(" + xTop2 + "px " + xRight2 + "px " + xBottom2 + "px " + xLeft2 + "px)";
	layName2.style.clip = rectB;
}

var xTop3 = 40; var xRight3 = 40; var xBottom3 = 40; var xLeft3 = 40; var num3 = 0;
function wipeFromCenterC(DIR) {
	layName = document.getElementById("over3");
	dir3X = DIR;
	if (dir3X == "over") {
		xTop3 = xTop3 - 2;
		xRight3 = xRight3 + 2;
		xBottom3 = xBottom3 + 2;
		xLeft3 = xLeft3 - 2;
		num3++;
		if (num3 < 20) { setTimeout("wipeFromCenterC(dir3X)", speed); }
	} else {
		if (ImgStat == 3) {
			x = 0;
		} else {
			xTop3 = xTop3 + 2;
			xRight3 = xRight3 - 2;
			xBottom3 = xBottom3 - 2;
			xLeft3 = xLeft3 + 2;
			num3--;
			if (num3 > 0) { setTimeout("wipeFromCenterC(dir3X)", speed); }
		}
	}
	rectC = "rect(" + xTop3 + "px " + xRight3 + "px " + xBottom3 + "px " + xLeft3 + "px)";
	layName.style.clip = rectC;
}

var xTop4 = 40; var xRight4 = 40; var xBottom4 = 40; var xLeft4 = 40; var num4 = 0;
function wipeFromCenterD(DIR) {
	layName = document.getElementById("over4");
	dir4X = DIR;
	if (dir4X == "over") {
		xTop4 = xTop4 - 2;
		xRight4 = xRight4 + 2;
		xBottom4 = xBottom4 + 2;
		xLeft4 = xLeft4 - 2;
		num4++;
		if (num4 < 20) { setTimeout("wipeFromCenterD(dir4X)", speed); }
	} else {
		if (ImgStat == 4) {
			x = 0;
		} else {	
			xTop4 = xTop4 + 2;
			xRight4 = xRight4 - 2;
			xBottom4 = xBottom4 - 2;
			xLeft4 = xLeft4 + 2;
			num4--;
			if (num4 > 0) { setTimeout("wipeFromCenterD(dir4X)", speed); }
		}
	}
	rectD = "rect(" + xTop4 + "px " + xRight4 + "px " + xBottom4 + "px " + xLeft4 + "px)";
	layName.style.clip = rectD;
}

var xTop5 = 40; var xRight5 = 40; var xBottom5 = 40; var xLeft5 = 40; var num5 = 0;
function wipeFromCenterE(DIR) {
	layName = document.getElementById("over5");
	dir5X = DIR;
	if (dir5X == "over") {
		xTop5 = xTop5 - 2;
		xRight5 = xRight5 + 2;
		xBottom5 = xBottom5 + 2;
		xLeft5 = xLeft5 - 2;
		num5++;
		if (num5 < 20) { setTimeout("wipeFromCenterE(dir5X)", speed); }
	} else {
		if (ImgStat == 5) {
			x = 0;
		} else {		
			xTop5 = xTop5 + 2;
			xRight5 = xRight5 - 2;
			xBottom5 = xBottom5 - 2;
			xLeft5 = xLeft5 + 2;
			num5--;
			if (num5 > 0) { setTimeout("wipeFromCenterE(dir5X)", speed); }
		}
	}
	rectF = "rect(" + xTop5 + "px " + xRight5 + "px " + xBottom5 + "px " + xLeft5 + "px)";
	layName.style.clip = rectF;
}

var xTop6 = 40; var xRight6 = 40; var xBottom6 = 40; var xLeft6 = 40; var num6 = 0;
function wipeFromCenterF(DIR) {
	layName = document.getElementById("over6");
	dir6X = DIR;
	if (dir6X == "over") {
		xTop6 = xTop6 - 2;
		xRight6 = xRight6 + 2;
		xBottom6 = xBottom6 + 2;
		xLeft6 = xLeft6 - 2;
		num6++;
		if (num6 < 25) { setTimeout("wipeFromCenterF(dir6X)", speed); }
	} else {
		if (ImgStat == 6) {
			x = 0;
		} else {	
			xTop6 = xTop6 + 2;
			xRight6 = xRight6 - 2;
			xBottom6 = xBottom6 - 2;
			xLeft6 = xLeft6 + 2;
			num6--;
			if (num6 > 0) { setTimeout("wipeFromCenterF(dir6X)", speed); }
		}
	}
	rectE = "rect(" + xTop6 + "px " + xRight6 + "px " + xBottom6 + "px " + xLeft6 + "px)";
	layName.style.clip = rectE;
}

var xTop7 = 40; var xRight7 = 40; var xBottom7 = 40; var xLeft7 = 40; var num7 = 0;
function wipeFromCenterG(DIR) {
	layName = document.getElementById("over7");
	dir7X = DIR;
	if (dir7X == "over") {
		xTop7 = xTop7 - 2;
		xRight7 = xRight7 + 2;
		xBottom7 = xBottom7 + 2;
		xLeft7 = xLeft7 - 2;
		num7++;
		if (num7 < 25) { setTimeout("wipeFromCenterG(dir7X)", speed); }
	} else {
		if (ImgStat == 7) {
			x = 0;
		} else {		
			xTop7 = xTop7 + 2;
			xRight7 = xRight7 - 2;
			xBottom7 = xBottom7 - 2;
			xLeft7 = xLeft7 + 2;
			num7--;
			if (num7 > 0) { setTimeout("wipeFromCenterG(dir7X)", speed); }
		}
	}
	rectG = "rect(" + xTop7 + "px " + xRight7 + "px " + xBottom7 + "px " + xLeft7 + "px)";
	layName.style.clip = rectG;
}
//---- NAVIGATION HANDLER ----------------------------------------
function goHome() {
	parent.Main.location.replace("");
}

function goVerband(wie) {
	document.getElementById("zone1") = "<div>";
	

}


function goMenschUmwelt() {
	parent.mLeft.location.replace("MenschUmwelt/sMenu.html");
	parent.Main.location.replace("MenschUmwelt/Start.html");
}
function goQualifizierung() {
	parent.mLeft.location.replace("Qualifizierung/sMenu.html");
	parent.Main.location.replace("Qualifizierung/Start.html");
}
function goBrand() {
	parent.mLeft.location.replace("Brand/sMenu.html");
	parent.Main.location.replace("Brand/Start.html");
}
function goWasser() {
	parent.mLeft.location.replace("Wasser/sMenu.html");
	parent.Main.location.replace("Wasser/Start.html");
}
function goMitglieder() {
	parent.mLeft.location.replace("Mitglieder/sMenu.html");
	parent.Main.location.replace("Mitglieder/Verzeichnis.html");
}
function goLexikon() {
	parent.mLeft.location.replace("Lexikon/sMenu.html");
	parent.Main.location.replace("Lexikon/Start.html");
}
//----
function disableHis() {
	parent.Main.location.replace("Home.html");
	parent.mLeft.location.replace("Left.html");
}
//----
function goMenschUmweltEx() {
	parent.mLeft.location.href = "../MenschUmwelt/sMenu.html";
	dnBtn('2'); wipeFromCenterB('over');	
	parent.Main.location.href = "../MenschUmwelt/Richtlinie.html";
	waitAmoment()	
}

var NUM = 0;
function waitAmoment() {
   NUM++;  
   if (NUM < 20) { setTimeout("waitAmoment()", 50);
   } else { parent.mLeft.rollTextDN('1');; }
}
// End of script -->

