// interaktion ts 14.10.2008


mindesthoehe = 400;
adjustHeights();

function adjustHeights()
	{
		bodyhoehe =	windowheight();
		if(bodyhoehe < mindesthoehe){
		  hoehe = mindesthoehe + 1;
		}else{
		  hoehe = bodyhoehe - 105;
		}
		if (document.getElementById("csiContent") != null)        {document.getElementById("csiContent").style.height         = hoehe +"px";}
		if (document.getElementById("csiContentBar") != null)     {document.getElementById("csiContentBar").style.height      = hoehe +1 +"px";}
		if (document.getElementById("csiContentRowRight") != null){document.getElementById("csiContentRowRight").style.height = hoehe +1 +"px";}
		if (document.getElementById("csiContentOneRow") != null)  {document.getElementById("csiContentOneRow").style.height   = hoehe +1 +"px";}
	}

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

