


// Dient zur Ermittlung der Fensterdimensionen im IE:
function iecompattest()
{return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body}


function EAG_inhalts_dim()

{

  var ie4up = (document.all) ? 1 : 0;
  var ns6up = (document.getElementById&&!document.all) ? 1 : 0;
  var opera = (window.opera) ? 1 : 0;



if (ns6up) {
    ih_breite = self.innerWidth;
    ih_hoehe = self.innerHeight;
  } 

if (ie4up) {
    ih_breite = iecompattest().clientWidth;
    ih_hoehe = iecompattest().clientHeight;
  } 

if (opera) {
    ih_breite = window.innerWidth;
    ih_hoehe = window.innerHeight;
  }

// Der Inhaltsbereich ist eine Ebene mit dem Namen "inhalt1"
document.getElementById("inhalt1").style.height = ((ih_hoehe - 355)  + "px");


if (ie4up) { //Für den IE verstecken wir den horizontalen Scrollbalken
document.getElementById("inhalt1").style.height = ((ih_hoehe - 305)  + "px");
  } 



}



EAG_inhalts_dim();


