// JavaScript Document

function maxHoehe()
{
	var obj = document.getElementById('Content');
	if(obj)
	{
		var mind = Fensterhoehe() - obj.offsetTop;
		
		if(obj.offsetHeight < mind)
			obj.style.height = mind - 10 + 'px';
	}
}

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