function openwindow(link, name, parameter)
{
	Fenster = window.open(link, name, parameter);
	Fenster.focus();
}

/*hori_menue*/
function hover(id, state,lang,fmprefix){
	if(state){
	/*	document.getElementById(id).src ="/fm/229/"+lang+"_"+id+"_aktiv.gif";*/  
	/*	document.getElementById(id).src ="/fm/229/"+lang+"_"+id+"_aktiv.gif";*/  
		document.getElementById(id).src ="/fm/229/"+lang+"_"+id+"_aktiv.gif";
}
	else{
/*		document.getElementById(id).src ="/229/"+lang+"_"+id+"_passiv.gif";  */
	/*	document.getElementById(id).src ="/fm/229/"+lang+"_"+id+"_passiv.gif";*/
		document.getElementById(id).src ="/fm/229/"+lang+"_"+id+"_passiv.gif";
}
}

/* news ticker 11.05.2005 */
var ie5 = (document.getElementById && document.all);
var ns6 = (document.getElementById && !document.all);

/*var nWidth = 1000;          // width of text; more text you have higher this number is. */
var nSpeed = 3;            // the speed of the ticker.

/* You don't have to edit below this line */

/*
var nEnd = -nWidth;
var nLeft = nWidth;
*/
var timerTt = null;
var timerSt = null;

function TickerTape(){
 if(ie5 || ns6){
  tck.style.left = nLeft;
  nLeft = nLeft - nSpeed;
  if( nLeft < nEnd ) {nLeft = nWidth;}
   timerTt=setTimeout('TickerTape()', 30);
 }
}

function StopIt(){
 if(ie5 || ns6) {
  clearTimeout(timerTt);
	}
}

function TickerInit(){
    	if(ie5 || ns6) {
        	tck = document.getElementById('text');
        	obj = document.getElementById('cont');
        	obj.style.visibility = "visible";
        	obj.onmouseover=StopIt;
        	obj.onmouseout=TickerTape;
        	TickerTape();
    	}
}



/*verti_menue*/
function menue(id, state){
	if(state){
		document.getElementById(id).style.visibility='visible';
	}else{
		document.getElementById(id).style.visibility='hidden';
	}
}

/*verti_menue_button klick*/
function href(lang,site){
	window.location.href = "/"+lang+"/vm/"+site;
}

function klick(id,lang){
	document.getElementById(id).src ="/fm/229/"+lang+"_"+id+"_aktiv.gif";
}

