// JavaScript Document
window.onresize = resize;

function resize()
{
  var height = window.screen.height;
  var o = document.getElementById( "content" );
  o.style.height = "" + windowHeight() - 230 +"px";
}

function windowHeight()
{
  //Non-IE
  if( typeof( window.innerWidth ) == 'number' ) 
    return window.innerHeight;

  //IE 6+ in 'standards compliant mode'
  if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) )
    return document.documentElement.clientHeight;

  //IE 4 compatible
  if( document.body && ( document.body.clientWidth || document.body.clientHeight ) )
    return document.body.clientHeight;
}