backColorOff = ""; //"#F5F5F5";
activBackColorOff = ""; // "#BADCFC";
backColorOn = "#000099";
textColorOff = "navy";
textColorOn = "white";

// ###### 17.10.2003, Thomas Riegel ######
// Hoehe der Aktuelles-Spalte:
// im IE liest offsetHeight die hoehe des elementes 'inhalt' aus
// der Wert wird aktuellcontainer und aktuellinhalt zugewiesen
function hoeheAktuelles() {

var h = 0;

if (document.all.inhalt) {
    h = document.all.inhalt.offsetHeight;
  	document.getElementById("aktuellcontainer").style.height = h-16; //parseInt(h-16);
  	document.getElementById("aktuellinhalt").style.height = h; //parseInt(h);

  }

//  alert(h);
}
// ###############################################



function changeColor(what) {
if (document.all) {
//alert(navigator.userAgent.toLowerCase());
	document.all[what].style.setAttribute("backgroundColor",backColorOn,"false");
	document.all[what].style.setAttribute("color",textColorOn ,"false");

	if(document.all[what+"off"]) {
	 	//alert("document.getElementById");
	    //document.getElementById(what+"on").style.display = "inline";
		//document.getElementById(what+"off").style.display = "none";
		document.getElementById(what+"off").src = "/bilder/sub-on.gif";
	   }
}
else {  // Netscape, Opera
	document.getElementById(what).style.backgroundColor = "000099";
	document.getElementById(what).style.color = textColorOn ;
	if(document.getElementById(what+"off")) {
	    //document.getElementById(what+"on").style.display = "inline";
		//document.getElementById(what+"off").style.display = "none";
		document.getElementById(what+"off").visibility = "hidden";
	   }
} // else

} // function

function unchangeColor(what) {

if(navigator.appName == "Opera") {
	document.getElementById(what).style.backgroundColor = "#BADCFC";//activBackColorOff ;
	document.getElementById(what).style.color = "navy";
}


if (document.all) {
	document.all[what].style.setAttribute("backgroundColor",activBackColorOff ,"false");
	document.all[what].style.setAttribute("color",textColorOff,"false");

	if(document.getElementById(what+"off")) {
	 	//alert("ms documnet all");
	    //document.getElementById(what+"on").style.display = "none";
		//document.getElementById(what+"off").style.display = "inline";
		document.getElementById(what+"off").src= "/bilder/sub.gif";
	   }
	}
else {
	document.getElementById(what).style.backgroundColor = activBackColorOff ;
	document.getElementById(what).style.color = textColorOff;
	if(document.getElementById(what+"off")) {
	    //document.getElementById(what+"on").style.display = "none";
		//document.getElementById(what+"off").style.display = "inline";
		// in NS flackert das Bild bei MouseOver, daher:
		document.getElementById(what+"off").visibility = "visible";
	   }
	}
}



// ##########################

// Mouseover für die Adressen neben Deutschlandbild auf der Homepage
function show(what) {
if(rightBrowser) {
	if(document.getElementById && navigator.appName != "Opera") {

		// Left-Position abhaengig vom Fenstergroesse/Bildschirm
		/*winWidth = document.body.offsetWidth;
			if(winWidth <=1024) {
				myLeft = 562;
			} else {
				myLeft = (winWidth/2); // + 50;
				}
		*/
		//	alert(document.getElementById(what).id);
		myLeft = 561;   //alt: 560
                 mytop = 265;
                 if (what == "bs"){
                 	mytop = 195;
                 }

		document.getElementById(what).style.left = myLeft;
                   document.getElementById(what).style.top = mytop;
                  /* if (what == "wbe") {
                   	document.getElementById(what).style.top = 276;
                      }*/

		document.getElementById(what).style.visibility = "visible";
	  } // document.getElementById
	} // rightBrowser
} // function

function hide(what) {
		document.getElementById(what).style.visibility = "hidden";
}
// function

// ###########################
// Funktionen zum Scrollen in "Aktuelles"
var aktY = 0;
var oldY = 0;
var bY = 0;
var aktiv, moveB, status;


function down() {
		var step = -10;
		aktY += step;

		document.getElementById('akt').style.top = aktY;

		aktiv = window.setTimeout( 'down()',100);
}

function stop() {
	window.clearTimeout(aktiv);
}

function up() {
	if ( aktY < 0)  {

		var step = 10;
		aktY += step;

		document.getElementById('akt').style.top = aktY;

		aktiv = window.setTimeout( 'up()',100);

	}
}

function jumpDown() {
		var step = -200;
		aktY += step;

		document.getElementById('akt').style.top = aktY;

//		aktiv = window.setTimeout( 'up()',100);

}

function jumpTop() {
//		var step = -50;
		aktY = 0;

		document.getElementById('akt').style.top = aktY;
		window.clearTimeout(aktiv);
//		aktiv = window.setTimeout( 'up()',100);

}