

/**
 * @deprecated 20050805
 * wird durch die folgende, unspezifischer ersetzt
 
 */
 
function send_countrySites(){
	var myCountrySelect = document.countries.country;
	with (myCountrySelect){
		var targetCountry = options[selectedIndex].value;
		document.location.href = targetCountry;
	}
}

/**
 * Versendet Link aus Option-value 
 * Formname: formName
 * selectName: selectFieldName
*/
function optionValueToLocation(){
	var Select = document.formName.selectFieldName;
	with (Select){
		var target = options[selectedIndex].value;
		document.location.href = target;
	}
}


var vis = -1;

function switch_message(){
	document.getElementById("floatingTeaser").style.display = (vis>0) ? "block" : "none"
	vis = (vis*-1)
}


function trigger_floatingTeaser(evt) {
	
	evt = (evt) ? evt : (window.event) ? event : null;
	if (evt){
		var charCode = (evt.charCode) ? evt.charCode :
		((evt.keyCode) ? evt.keyCode :
		((evt.which) ? evt.which : 0));
		if (charCode == 120) switch_message();
	}
}


document.onkeydown = trigger_floatingTeaser;
