function tabs(nummer){
  for (i=1; i<5; i++) {
    tabid = "tab" + i;
    seite = "seite" + i;
    if (i == nummer ) { 
      document.getElementById(tabid).className = "ontab";
      document.getElementById(seite).style.display = "block"; }
    else {
      document.getElementById(tabid).className = "tab";
      document.getElementById(seite).style.display = "none"; }
  }
}
function Insomnia(codelist, description, atagattr) {
	var thiscode, thischar;
	var CodeString = new String(codelist);
	var CodedArray = CodeString.split('|');
	var L = CodedArray.length;
	var AddrDecoded = "";
	for (var x=0; x < L; x++) {
		thiscode = CodedArray[x];
		thischar = String.fromCharCode( thiscode - L );
		AddrDecoded += thischar;
	}
	atagattr = atagattr ? ' ' + atagattr : '';
	if (!description) description = AddrDecoded;
	var strOutput = '<a href="mailto:'+AddrDecoded+'"' + atagattr+'>' + description + '</a>';
	document.write(strOutput);
}