


function ShowMenu_onclick(oC,nM,cRef) {
	
if (cRef != "")
	{
	var Teile = cRef.split("?");
	if (Teile.length > 1)
	{
		if (Teile[1].toUpperCase()=="BLANK")
		{
		window.open(Teile[0],"_Blank");
		}
		else
		{
			window.navigate(cRef);
		}
	}
	else
	{	
	window.location = cRef ;
	}
	}
	
	return true;
}



function open_suche()
{
var oC = document.getElementById("btnLanguage")  ;
if (oC.innerText == "Nederlands"	)
			{
			
			window.navigate("/euroment/suche/suche.aspx?suche="+document.forms[0].txtSuche.value) ;
	
			}
			else
			{
			
			window.navigate("/euroment/suche/nsuche.aspx?suche="+document.forms[0].txtSuche.value) ;
			}

return false;
}

function mshow(cMenu){
var oEle = document.getElementById(cMenu)  ;
		
		if (oEle.style.display == "none")
		{
			oEle.style.display= "";
			 
			
		}else {
		oEle.style.display= "none";
		}
		

}


function ShowMMenu_onclick(oC,nM,cRef,cURL) {
	if (cURL != "")
	{
	window.location = cURL;
	return true;
	
	}


	if (cRef != "")
	{
		// alert(cRef);
		var oEle = document.getElementById(cRef)  ;
		
		if (oEle.style.display == "none")
		{
			oEle.style.display= "";
		}else {
		oEle.style.display= "none";
		}
		
		
		// window.navigate(cRef);
	}
	return true;
}

function ShowTopMenu_onclick(oC, nM,cRef) {

	/* german/english */
	if (nM == 1)
	{

		if (oC.innerText == "Nederlands"	)
			{
			oC.innerText = "Deutsch";
			window.location= "/euroment/ndefault.aspx" ;
	
			}
			else
			{
			oC.innerText = "Nederlands";
			window.location = "/euroment/default.aspx" ;
			}
	}
	
	/* kontakt */
	if (nM == 2)
	{

		if (oC.innerText == "Nederlands"	)
			{
			
			window.location = "/euroment/nkontakt.aspx" ;
	
			}
			else
			{
			
			window.location = "/euroment/kontakt.aspx" ;
			}
	}
	
	
	return true;
}

function open_news(strUrl)
{
	 window.open(strUrl,"_blank","height=675,width=786,status=yes,toolbar=no,menubar=no,location=no",false);
}

function MS_TOPON(el) {
 // el.style.backgroundColor = "#A0BEC8"; 
//	el.style.backgroundColor = "#FF9137";
	el.style.color = "#ffffff";
}

function MS_TOPOFF(el) {
	// el.style.backgroundColor = "#ffffff";
	el.style.color = "#6B0842";
}


function MS_ON(el,nJ) {

		
// el.style.backgroundColor = "#B0C1C9"; 
 el.style.textDecoration = "underline";
 // #B0C1C9
//	el.style.backgroundColor = "#FF9137";
	el.style.color = "#6b0842";
	
}

function MS_OFF(el,nJ) {
el.style.textDecoration = "none";

//	el.style.backgroundColor = "#ffffff"; transparent
try{
if (el.id != menu){
	el.style.backgroundColor = "transparent";
}

el.style.textDecoration = "none";
el.style.color = "#6b0842";
}
catch(e)
{
}

}
function MS_SON(el,nJ) {

	el.style.color = "#6b0842";
	el.style.textDecoration = "underline";

}

function MS_SOFF(el,nJ) {
	el.style.textDecoration = "none";
	el.style.backgroundColor = "transparent";
	el.style.color = "#6b0842";
}



  
  
  
function window_onload() {
	var nCount = 0;
	for (nCount =0; nCount < 20;nCount++){
		try{
			var oEle = document.getElementById("SSSMenu"+nCount)  ;
			oEle.style.display = "none";
			}
		 catch(e){
			nCount = 20;
			}
	}
	
	try{
	//	def_menu();
		}
		catch(e){
		}
	try{
		def_menu1();
		}
		catch(e){
		}
		
		vfup3i();
}

  
  
  
  
  
  <!--  fup 3i -->
  
function createFlash(src,w,h) {
    tag='<object type="application/x-shockwave-flash" data="'+src+'" width="'+w+'" height="'+h+'">';
    tag+='<param name=movie value="'+src+'">';
    tag+='</object>';
  return tag;  
}

function popup(loc,width,height) {
	newWindow=window.open(loc,"","toolbar=no,width="+width+",height="+height+",directories=no,status=no,scrollbars=no,resize=no,menubar=no,marginwidth=0,marginheight=0")
}

function vfup3i() {


		// ---------- keyvisual	laden ------------
		// keyvisual wird in jeder seite im	span id=keyVisual angegeben	und	hier ausgelesen	und	beim onLoad	dann verändert
		e=document.getElementById('keyVisual');
		f=document.getElementById('keyvisualbg');
		var	keyVisual=e.firstChild.nodeValue;
		// bild-animation
		e=document.getElementById('bildanimation');
		isFlash = false;
		if (navigator.plugins) {
			for (i=0;i<navigator.plugins.length;i++) {
			if (navigator.plugins[i].name.indexOf("Shockwave",0)>-1) isFlash=true;
			}
		}

	
		if (isFlash)
		  e.innerHTML=createFlash('/euroment/flash/keyvisual_' +	keyVisual +	'.swf',136,50);
		else
			e.innerHTML='<img src="/euroment/images/common/keyvisual_' +	keyVisual +	'.jpg" width="136" height="50" >';
		// hintergrund
		f.innerHTML='<img src="/euroment/images/common/keyvisual_' +	keyVisual +	'_bg.jpg" width="257"  border="0">';
  // balken-animation
		e=document.getElementById('animation');
		if (isFlash)
			e.innerHTML=createFlash('/euroment/flash/balken.swf',405,50);
		 else
			e.innerHTML='<img src="images/common/balken.gif" height="50">';
	

		// ---------- standanzeiger	schreiben ------------
				
		// url-checker,	ergibt den dateinamen inkl.	endung
		myURL=(document.location.href);
		a=myURL.lastIndexOf("/");
		e=myURL.length;
		
		// name	der	hauptdatei = index.asp oder	eindex.asp
		mainFileTmp=myURL.substr(a+1,e);
		mainFileTmp=mainFileTmp.split(".")
		var	mainFile=mainFileTmp[0];
		
		d=myURL.indexOf("=");
		myFile=myURL.substr(d+1,e);
		
		var	standTag='';
		// standanzeiger wird in jeder seite im	span id=stand angegeben	und	hier ausgelesen
		e=document.getElementById('stand');
		var	stand=e.firstChild.nodeValue;
		// tatsächlich angezeigter standanzeiger	
		var	standName=stand.split("|");
		// link	für	den	standanzeiger
		var	linkName=myFile.split("_-_");
		for	(var i=0;i<standName.length;i++) {		
						// übersicht soll nicht	angezeigt werden
						if (standName[i].toLowerCase()=="übersicht") standName.splice(i,1);
			}	
		// verlinkung des standanzeigers konstruieren
		var	linkTarget='';
		for	(var i=0;i<standName.length;i++) {
				if (i>0)	linkTarget=linkTarget+'_-_'+linkName[i];else linkTarget=linkName[i];
				// letzter Punkt ist Standort und wird nicht verlinkt!
				if (i<(standName.length-1))	{
						// erster punkt	führt auf die übersichtsseite, alle	anderen	links werden automatisch kosntruiert
						if (i==0) linkAnfang='<a href="' + linkTarget+'_-_Uebersicht.ASPX">';else linkAnfang='<a	href="'	+linkTarget+'.ASPX">';
						linkEnde='</a>';
						imgTag='<img src="images/common/pfeil_orange.gif" alt="" width="15"	height="15">'
				} else {
						linkAnfang='';
						linkEnde='';
						imgTag='<img src="images/common/pfeil_grau.gif"	alt="" width="15" height="15">'
				}
				// standanzeiger schreiben
				standTag+='<td width="20">'	+ imgTag + '</td><td valign="top">'	+ linkAnfang + standName[i]	+ linkEnde +'</td><td width="10"></td>';
		}		
		e=document.getElementById('standanz');
		
		tag='<table	cellspacing="0"	cellpadding="0"	border="0"><tr><td height="40"></td></tr>';
		tag+='<tr><td><a href="javascript:history.back()"><img src="/euroment/images/common/pfeil_orange_left.gif" border="0" style="margin-right:5px;"></a><a href="#top"><img src="/euroment/images/common/pfeil_orange_top.gif" border="0"	style="margin-right:5px;"></a><img src="/euroment/images/common/strich.gif" border="0" style="margin-right:5px;">' +	standTag + '</tr>';
		tag+='<tr><td height="25"></td></tr></table>';
		e.innerHTML=tag;

}

