<!--

//	Mouseover-Steuerung für Navigations-Menus
		function highLight( id, mode, topic, page ) 
		{
			var color_link	= '#ffffff';
			var color_high	= '#eeeeee';
			var color_topic	= '#dddddd';
			var color_page	= '#eaeaea';
	
			if( mode == 1 )
			{
				document.getElementById( id ).style.backgroundColor = color_high;
			}
			else
			{
				if ( id == topic )
					document.getElementById( id ).style.backgroundColor = color_topic;
				else if ( id == page )
					document.getElementById( id ).style.backgroundColor = color_page;
				else
					document.getElementById( id ).style.backgroundColor = color_link;
			}
		}

//	Hover-Funktion für Form-Buttons
		function hover_button( id, mode )
		{
			if ( mode == '1' )
				document.getElementById( id ).style.backgroundColor = '#ffff99';
			else
				document.getElementById( id ).style.backgroundColor = '#dddddd';
		}
		
//	Externes Fenster schließen und Opener neu laden
		function closeAppplication( flag_1 )
		{
			if ( flag_1 == 1 )
				window.opener.document.location.reload();
			window.close();
		}
		
//	Benutzer weiterleiten
		function moveToLocation( url )
		{
			window.document.location.href = url;
		}
		
//	Pop-Up Fenster positionieren
		function moveWindow( windowID )
		{
			return true;
		}
		
//	Bild per ID austauschen
		function swapImage( bild, neueUrl )
		{
			document.images[bild].src = neueUrl;	
			return true;
		}
		
//	Blink-Tag modifizieren
		blink(0.7);

		function blink( speed )
		{
			if (speed) 
			{
				if (document.all)
					setInterval("blink()", speed*1000)
					return;
			}
			var blink = document.all.tags("BLINK")
			for (var i=0; i<blink.length; i++)
				blink[i].style.visibility = blink[i].style.visibility == "" ? "hidden" : ""
		}
		
//	Div-Layer ein- / ausblenden
		function switchDIV( element, mode)
		{
			if ( element && mode )
			{
				if ( mode >= 2 )
					document.getElementById( element ).style.display = "block";
				else
					document.getElementById( element ).style.display = "none";
					
				return true
			}
			else
				return false;
		}

//	Infofenster Layer ein-/ausblenden		
/*
	Benötigt: var cwInfoData = new Array();
*/
function showPortalInfo( e, elemID, mode ) 
{	
	var cwPortalInfoBox	= "cwInfoBox";
	var cwPortalInfoText = "cwInfoText";
	
	if( mode == 1 ) 
	{
		if( !e )
			var e = window.event;
			
		if ( document.getElementById && cwInfoData[elemID] ) 
		{
    	document.getElementById( cwPortalInfoText ).innerHTML = cwInfoData[elemID];
			document.getElementById( cwPortalInfoBox ).style.left  = (e.clientX + 10) + "px";
    	document.getElementById( cwPortalInfoBox ).style.top = e.clientY + "px";
			document.getElementById( cwPortalInfoBox ).style.display  = "block";
  		return true;
		} 
		else if ( document.all && cwInfoData[elemID] ) 
		{
   		document.all.cwPortalInfoText.innerHTML = cwInfoData[elemID];
			document.all.cwPortalInfoBox.style.left = e.clientX + "px";
    	document.all.cwPortalInfoBox.style.top = e.clientY + "px";
			document.all.cwPortalInfoBox.style.display  = "block";
			return true;
  	}
		return false;	
	}
	else 
	{	
		if ( document.getElementById ) 
			document.getElementById( cwPortalInfoBox ).style.display  = "none"; 
		else if ( document.all ) 
   		document.all.cwPortalInfoBox.style.display = "none";
		return true;
	}
}

//-->