// 1. Farbwert: normaler Link
// 2. Farbwert: aktiver Link
// 3. Farbwert (nur einmal): bg normal fuer fahrinfo 

topnav1 = new Array ('#5b7c93','#dee5e9','#37586f');   
topnav1_font = new Array ('#ffffff','#1f4057');// Navigation oben 1. Ebene  a
	
topnav2 = new Array ('#ffece0','#e72029'); 
topnav2_font = new Array ('#e72029','#ffffff');// Navigation rechts 1. Ebene  b

subnav1 = new Array ('#dee5e9','#5b7c93'); 
subnav1_font = new Array ('#1f4057','#ffffff');// Navigation links 2. Ebene  c

subnav2 = new Array ('#fff7f3','#ffffff'); 
subnav2_font = new Array ('#e72029','#e72029');// Navigation rechts 2. Ebene  d

suche = new Array ('#efefef','#cccccc'); 
suche_font = new Array ('#666666','#333333');// Suchebox  e

function ueberN(farbtopf)
{
	if (document.getElementById)
	{
		id = farbtopf.substring(0,farbtopf.length-3);

		if ( farbtopf.substring(farbtopf.length-2,farbtopf.length) == 'a1' )
		{
			document.getElementById("n"+id).style.backgroundColor = topnav1[1];
			document.getElementById("a"+id).style.color = topnav1_font[1];
		}

		if ( farbtopf.substring(farbtopf.length-2,farbtopf.length) == 'a2' )
		{
			document.getElementById("n"+id).style.backgroundColor = topnav1[0];
			document.getElementById("a"+id).style.color = topnav1_font[0];
		}

		if ( farbtopf.substring(farbtopf.length-2,farbtopf.length) == 'a3' )
		{
			document.getElementById("n"+id).style.backgroundColor = topnav1[2];
			document.getElementById("a"+id).style.color = topnav1_font[0];
		}

		if ( farbtopf.substring(farbtopf.length-2,farbtopf.length) == 'b1' )
		{
			document.getElementById("n"+id).style.backgroundColor = topnav2[1];
			document.getElementById("a"+id).style.color = topnav2_font[1];
		}

		if ( farbtopf.substring(farbtopf.length-2,farbtopf.length) == 'b2' )
		{
			document.getElementById("n"+id).style.backgroundColor = topnav2[0];
			document.getElementById("a"+id).style.color = topnav2_font[0];
		}

		if ( farbtopf.substring(farbtopf.length-2,farbtopf.length) == 'c1' )
		{
			document.getElementById("n"+id).style.backgroundColor = subnav1[1];
			document.getElementById("a"+id).style.color = subnav1_font[1];
		}

		if ( farbtopf.substring(farbtopf.length-2,farbtopf.length) == 'c2' )
		{
			document.getElementById("n"+id).style.backgroundColor = subnav1[0];
			document.getElementById("a"+id).style.color = subnav1_font[0];
		}

		if ( farbtopf.substring(farbtopf.length-2,farbtopf.length) == 'd1' )
		{
			document.getElementById(id).style.backgroundColor = subnav2[1];
			document.getElementById("a"+id).style.color = subnav2_font[1];
		}

		if ( farbtopf.substring(farbtopf.length-2,farbtopf.length) == 'd2' )
		{
			document.getElementById(id).style.backgroundColor = subnav2[0];
			document.getElementById("a"+id).style.color = subnav2_font[0];
		}

		if ( farbtopf.substring(farbtopf.length-2,farbtopf.length) == 'e1' )
		{
			document.getElementById("n"+id).style.backgroundColor = suche[1];
			document.getElementById("a"+id).style.color = suche_font[1];
		}

		if ( farbtopf.substring(farbtopf.length-2,farbtopf.length) == 'e2' )
		{
			document.getElementById("n"+id).style.backgroundColor = suche[0];
			document.getElementById("a"+id).style.color = suche_font[0];
		}

	}
}


function Streikfenster (Adresse) {
  Fenster1 = window.open(Adresse, "Streikfenster", "width=850,height=600,left=50,top=50,scrollbars=yes,status=no,resizable=yes,menubar=no,location=no");
  Fenster1.focus();
}
