//ein- und ausblenden ohne Platzhalter
function einausblenden(was) {
  if (document.getElementById(was).style.display == "inline") {
    document.getElementById(was).style.display = "none";     return; }
  if (document.getElementById(was).style.display == "none") {
    document.getElementById(was).style.display = "inline";     return; } }

//aus- und einblenden mit Platzhalter
function auseinblenden(was) {
  if (document.getElementById(was).style.display == "none") {
    document.getElementById(was).style.display = "inline";     return; }
  if (document.getElementById(was).style.display == "inline") {
    document.getElementById(was).style.display = "none";     return; } }

function FensterOeffnen (Adresse) {
  MeinFenster = window.open(Adresse, "Zweitfenster", "width=330,height=520,left=300,top=300");
  MeinFenster.focus(); }

//eMail-Verschluesselung
function mailsend(mail,p1,p2,p3) {
  var ca; ca = "mailto:" + p2 + "\@" + p3 + "." + p1; mail.href = ca; return (1); }

function toggle(id) {
  var elem = document.getElementById(id);
  if (elem.style.display == "none")
    elem.style.display = "inline";
  else
    elem.style.display = "none"; }

//Bildwechsel
function wechsel (Bildnr, Bildobjekt) {
  window.document.images[Bildnr].src = Bildobjekt.src; }
  Normal1 = new Image();
  Normal1.src = "gfx/email.png";
  Highlight1 = new Image();
  Highlight1.src = "gfx/email_over.png";

function NewWindowBreit(url) {
  var hWnd=window.open(url, "pic_big_breit","width=680,height=540,resizable=yes,scrollbars=no,toolbar=no");
  if(hWnd.focus!=null)hWnd.focus(); }

function NewWindowHoch(url)  {
  var hWnd=window.open(url, "pic_big_hoch","width=540,height680,resizable=yes,scrollbars=no,toolbar=no");
  if(hWnd.focus!=null)hWnd.focus(); }



