<!--

/* Copyright 2007 xmachina GmbH Heidelberg/Germany */

function popUp(theURL,winName,features) {
  remote = window.open(theURL,winName,features);
  if (remote.opener == null)
    remote.opener = window;
    remote.opener.name = "frContent";
  remote.focus;
}


function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}

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 macronav_height = Fensterhoehe()-271;
    var location_height = Fensterhoehe()-321;
    document.getElementById('macronavigation').style.height = macronav_height+'px';
    document.getElementById('location').style.height = location_height+'px';
    document.getElementById('footer').style.top = location_height+20+'px';
}

/* Überwachung von Netscape initialisieren */
if (!window.Weite && window.innerWidth) {
  window.onresize = neuAufbau;
  Weite = Fensterweite();
  Hoehe = Fensterhoehe();
}








// -->