// JavaScript Document
<!--
function faqVerstecken() {
var allPageTags = new Array(); 

var allPageTags=document.getElementsByTagName("div");
for (i=0; i<allPageTags.length; i++) {  
if (allPageTags[i].className=="faqElement") {
	allPageTags[i].style.backgroundColor='#ffffff'; 
}
if (allPageTags[i].className=="faqAntwort") {
	allPageTags[i].style.display='none'; 
}
}
}

function anzeigen(tid) {
var allPageTags = new Array(); 

var allPageTags=document.getElementsByTagName("div");
for (i=0; i<allPageTags.length; i++) {  
if (allPageTags[i].className=="faqElement") {
	allPageTags[i].style.backgroundColor='#ffffff'; 
}
if (allPageTags[i].className=="faqAntwort") {
	allPageTags[i].style.display='none'; 
}
}


	feldName="faqAW"+tid;
	feldName2="faqQU"+tid;
	tid=parseInt(tid);

	//alert(document.getElementById(feldName).style.position);
	document.getElementById(feldName).style.display = "block";
	document.getElementById(feldName2).style.backgroundColor = "#CCD7E0";
	
}



// JS für Mastercardsicherheitsmerkmale

function show_layerSich(x) {
 if(document.layers) 
 { document.layers[x].visibility="show"; }
  else { document.getElementById(x).style.visibility="visible"; } 
}
function hide_layerSich(x) {
 if(document.layers) document.layers[x].visibility="hide";
  else document.getElementById(x).style.visibility="hidden"; } // set true onload (avoid errors onmouseover/out before page loaded) 
  
var page_loaded; 

function initInfoLyr() { 
  page_loaded = true; // write first message onload 
  writeToLayer('LyTxtMCEmpty', origMsg); } 

function writeToLayer(id, sHTML) {
 if (!page_loaded) return; //IE 
 if (document.getElementById) { var el = document.getElementById(id); } //netscape 
 if(document.layers) { var el = document.layers[id]; } 
 else { null; } if (!el) return; var cntnt = '' + sHTML + ''; //write to document 
 if (typeof el.innerHTML!="undefined") { el.innerHTML = cntnt; } } // Variables for layer content 
 
/*
function cards(type) {

	if(type=="business") {
		document.getElementById("teaser_top").innerHTML='<div class="teaserbusiness"><form name="loginform" id="loginform" method="get" action=""><div class="teasertitle"><img src="resources/media/images/AufzaehlungspfeilRot.gif" class="teaserAufzaehlungspfeil" /><a href="javascript:;" onclick="cards(\'privat\')">Privat-Login</a>&nbsp;&nbsp;&nbsp;<img src="resources/media/images/AufzaehlungspfeilRot.gif" class="teaserAufzaehlungspfeil" /><a href="javascript:;" onclick="cards(\'business\')">Business-Login </a></div><div class="teasercontent"><input name="" id="" type="text" value="Kartennummer eingeben" onblur="if(this.value==\'\')this.value=\'Kartennummer eingeben\';" onfocus="if(this.value==\'Kartennummer eingeben\')this.value=\'\';"  /><br /><div class="button"><a href="#" onclick="loginform.submit()">GO!</a></div></form><a href="#" class="hilfe" style="font-size:10px;padding-left:10px;font-weight:normal;color:#4B4B4B;">Login-Hilfe</a></div></div><div class="teaserBottom"><img src="resources/media/images/TeaserBottom.gif"  /></div>';	
	} else {
	
		document.getElementById("teaser_top").innerHTML='<div class="teaserlogin"><form name="loginform" id="loginform" method="get" action=""><div class="teasertitle"><img src="resources/media/images/AufzaehlungspfeilRot.gif" class="teaserAufzaehlungspfeil" /><a href="javascript:;" onclick="cards(\'privat\')">Privat-Login</a>&nbsp;&nbsp;&nbsp;<img src="resources/media/images/AufzaehlungspfeilRot.gif" class="teaserAufzaehlungspfeil" /><a href="javascript:;" onclick="cards(\'business\')">Business-Login </a></div><div class="teasercontent"><input name="" id="" type="text" value="Kartennummer eingeben" onblur="if(this.value==\'\')this.value=\'Kartennummer eingeben\';" onfocus="if(this.value==\'Kartennummer eingeben\')this.value=\'\';"  /><br /><div class="button"><a href="#" onclick="loginform.submit()">GO!</a></div></form><a href="#" class="hilfe" style="font-size:10px;padding-left:10px;font-weight:normal;color:#4B4B4B;">Login-Hilfe</a></div></div><div class="teaserBottom"><img src="resources/media/images/TeaserBottom.gif"  /></div>';	
	}
}
*/

var origMsg = "Klicken Sie auf die Sicherheitsmerkmale um weitere Erläuterungen zu sehen!" 