
function lesen(wert , feld) {
var eingabe = document.Nachricht.text.value ;
if (wert == 1) { var tag="{[b][b]}"; }
if (wert == 2) { var tag="{[i][i]}"; }
if (wert == 3) { var tag="{[u][u]}"; }
if (wert == 4) { var tag="{[la]adresse{[ln]linkname[la]}"; }

document.Nachricht.text.value = eingabe + tag;
document.Nachricht.text.focus()
}



/* Einblenden von Objekten (div hidden)*/
function show (id) {
	document.getElementById("hidden_" + id).style.display= "block";
	document.getElementById("mehr_" + id).style.display= "none";
}

function close (id) {

	document.getElementById("hidden_" + id).style.display= "none";
	document.getElementById("mehr_" + id).style.display= "inline";
}

/* seite neu laden Auswahl*/
function S_mit1 (select, abteilung, sparte, mannschaft, weiche, url) {
  var wert = select.options[select.options.selectedIndex].value;
  	
	window.location.href = url + '?index='+ abteilung + 'pq' + sparte + 'pq' + mannschaft + 'pq' + weiche + '&jahr=' + wert ;}

/*Fenster nach oben scrollen*/
function Pos100 () {
  window.scrollTo(0, 0);
}

/*<!--[if lt IE 7]>*/
if(window.navigator.systemLanguage && !window.navigator.language) {
  function hoverIE() {
    var LI = document.getElementById("Navigation").firstChild;
    do {
      if (sucheUL(LI.firstChild)) {
        LI.onmouseover=einblenden; LI.onmouseout=ausblenden;
      }
      LI = LI.nextSibling;
    }
    while(LI);
  }

  function sucheUL(UL) {
    do {
      if(UL) UL = UL.nextSibling;
      if(UL && UL.nodeName == "UL") return UL;
    }
    while(UL);
    return false;
  }

  function einblenden() {
    var UL = sucheUL(this.firstChild);
    UL.style.display = "block"; UL.style.backgroundColor = "silver";
  }
  function ausblenden() {
    sucheUL(this.firstChild).style.display = "none";
  }

  window.onload=hoverIE;
}
/*<![endif]-->*/








