<!--

function setScrollbar() {
	
	// Hoehe inneres Browserfenster
	if (self.innerHeight) // all except Explorer
	{
		posY = self.innerHeight;
	}	
	else if (document.documentElement && document.documentElement.clientHeight)
	// Explorer 6 Strict Mode
	{
		posY = document.documentElement.clientHeight;
	}
	else if (document.body) // other Explorers
	{
		posY = document.body.clientHeight;
	}
	
	// Hoehe aufgerundet abzgl. Hoehe ds Links / 2 -> bestimmt die PositionTop
	var posS_Y=Math.round((posY - 116) /2);
	
	// Aktuelle Scrollposition
	if (self.pageYOffset) // all except Explorer
	{
		y = self.pageYOffset;
	}
	else if (document.documentElement && document.documentElement.scrollTop)
	// Explorer 6 Strict
	{
		y = document.documentElement.scrollTop;
	}
	else if (document.body) // all other Explorers
	{
		y = document.body.scrollTop;
	}
	
	// PositionTop + aktuelle Scrollposition
	var goToY=y+posS_Y;
	
	// ueber CSS die Position dynamisch bestimmen
	if (document.getElementById)
	{
		document.getElementById("scroller").style.top=goToY+"px";
		
	}
	
	// Script ruft sich selbst wieder auf
	setTimeout("setScrollbar()",10);
}

function open_mailer(id) {
	var URL;
	URL = "empfehlen.php?id="+id;
	var mailer;
	
	if(navigator.appName.indexOf("Opera") != -1)
		mailer = window.open(URL, "mailer0","width=424,height=470,top=100,left=100,dependent=1,location=0,menubar=0,toolbar=0,resizable=1,scrollbars=1");
    else if(navigator.appName.indexOf("Explorer") != -1)
		mailer = window.open(URL, "mailer0","width=420,height=505,top=100,left=100,dependent=1,location=0,menubar=0,toolbar=0,resizable=1,scrollbars=1");
    else
		mailer = window.open(URL, "mailer0","width=414,height=515,top=100,left=100,dependent=1,location=0,menubar=0,toolbar=0,resizable=1,scrollbars=1");
	
	mailer.focus();
 }

 
 
function keyValidation (key) {
   	key.value = key.value.replace(/[^0-9 | \.]/g, '');
}

function changeFAQ(select) {
	var value = select.options[select.options.selectedIndex].value;
	
	location.href = value;
}

function changeInfo(select) {
	var value = select.options[select.options.selectedIndex].value;
	var url = 'infos.php?select=laender&l=' +value;
	location.href = url;
}

//-->