function BlendIn(){
	WexDoc.visibility=true;
}


//BEGIN Funktionen für "Klappmenüs" der linken Navigation
function initNewMenu(){
	HideMenus()//Workaround
	if (!(window.name.match("newMenu"))){
		window.name = "leer";
	}else{	
		if (document.referrer.match(document.domain)){
			if(window.name){
				switchNewMenu(window.name);
			}
		}
	}
}
function switchNewMenu(menuId){
	if(document.getElementById){
		if (document.getElementById(menuId).style.display == "none"){
			document.getElementById(menuId).style.display="";
			if ((window.name.match("newMenu")) && (!(window.name == menuId))){
				document.getElementById(window.name).style.display="none";
			}
			window.name = menuId;
			
		}else{
			document.getElementById(menuId).style.display="none";
			window.name = "leer";
		}
	}else{
		if(document.all){
			if(document.all.menuId.style.display == "none"){
				document.all.menuId.style.display = "";
				if ((window.name.match("newMenu")) && (!(window.name == menuId))){
					document.getElementById(window.name).style.display="none";
				}
				window.name = menuId;
			}else{
				document.all.menuId.style.display = "none";
				window.name = "leer";
			}
				
		}else{
			if(document.menuId.display == "none"){
			document.menuId.display="";
			if ((window.name.match("newMenu")) && (!(window.name == menuId))){
					document.getElementById(window.name).style.display="none";
				}
				window.name = menuId;
			
			}else{
				document.menuId.display="none";
				window.name = "leer";
			}
		}	
	}
}
//END Funktionen für "Klappmenüs" der linken Navigation


//BEGIN Funktionen für "Popupmenüs" der linken Navigation
function LinkTo(ziel,index){
	//if (navigator.appName=="Netscape")
	//	document.location = ziel
	//else{
		if (isVisible(index)==true) 
			HideMenus()
		else 
			ShowMenu(index);
	//}
}
function ShowMenu(index){
	HideMenus();
	if (index==1) document.getElementById("MenuItem1").style.display = 'block';
	if (index==2) document.getElementById("MenuItem2").style.display = 'block';
	if (index==3) document.getElementById("MenuItem3").style.display = 'block';
	if (index==4) document.getElementById("MenuItem4").style.display = 'block';
	if (index==5) document.getElementById("MenuItem5").style.display = 'block';
	if (index==6) document.getElementById("MenuItem6").style.display = 'block';
	if (index==7) document.getElementById("MenuItem7").style.display = 'block';
	if (index==8) document.getElementById("MenuItem8").style.display = 'block';
	if (index==9) document.getElementById("MenuItem9").style.display = 'block';
	if (index==10) document.getElementById("MenuItem10").style.display = 'block';
}
function isVisible(index){
	if ((index==1)&&(MenuItem1.style.display == 'block')) return true
	if ((index==2)&&(MenuItem2.style.display == 'block')) return true
	if ((index==3)&&(MenuItem3.style.display == 'block')) return true
	if ((index==4)&&(MenuItem4.style.display == 'block')) return true
	if ((index==5)&&(MenuItem5.style.display == 'block')) return true
	if ((index==6)&&(MenuItem6.style.display == 'block')) return true
	if ((index==7)&&(MenuItem7.style.display == 'block')) return true
	if ((index==8)&&(MenuItem8.style.display == 'block')) return true
	if ((index==9)&&(MenuItem9.style.display == 'block')) return true
	if ((index==10)&&(MenuItem10.style.display == 'block')) return true
}
function HideMenus(){
	MenuItem1.style.display = 'none';
	MenuItem2.style.display = 'none';
	MenuItem3.style.display = 'none';
	MenuItem4.style.display = 'none';
	MenuItem5.style.display = 'none';
	MenuItem6.style.display = 'none';
	MenuItem7.style.display = 'none';
	MenuItem8.style.display = 'none';
	MenuItem9.style.display = 'none';
	MenuItem10.style.display = 'none';
}
//END Funktionen für "Popupmenüs" der linken Navigation