function Fensterweite () {
  if (window.innerWidth) {
    return window.innerWidth;
  } else if (document.body && document.body.offsetWidth) {
    return document.body.offsetWidth;
  } else {
    return 0;
  }
}

function Fensterhoehe () {
  if (window.innerHeight) {
    return window.innerHeight;
  } else if (document.body && document.body.offsetHeight) {
    return document.body.offsetHeight;
  } else {
    return 0;
  }
}

function neuAufbau () {

    var new_margin = (Fensterhoehe()-572)/2;
    if ( new_margin <= 0 ) { new_margin = 0; }
    
    document.getElementById('flashcontent').style.marginTop = new_margin+'px';
}

/* Überwachung von Netscape initialisieren */
if (!window.Weite && window.innerWidth) {
  window.onresize = neuAufbau;
  Weite = Fensterweite();
  Hoehe = Fensterhoehe();
}

function toggleDisplay(id) {
 el = document.getElementById(id);
 var display = el.style.display ? '' : 'none';
 el.style.display = display; 
}