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

function neuAufbau () {
  if (Hoehe != Fensterhoehe())
   {
   Hoehe=Fensterhoehe();

   if (Hoehe>600)
    {
     h_correct=(Hoehe-600)/3;
     if (h_correct>300) {h_correct=300}
      document.v_correct.height = h_correct;
    }
   else
    {
      document.v_correct.height = 0;
    }

   }
}


   Hoehe=Fensterhoehe();

   if (Hoehe>600)
    {
     h_correct=(Hoehe-600)/3;
     if (h_correct>300) {h_correct=300}
      document.v_correct.height = h_correct;
    }
   else
    {
      document.v_correct.height = 0;
    }



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


/* Überwachung von Internet Explorer initialisieren */
if (!window.Weite && document.body && document.body.offsetWidth) {
  window.onresize = neuAufbau;
  Hoehe = Fensterhoehe();
}