function alertSize() {
  myHeight = 0;
  myWidth = 0;
	
  if( typeof( window.innerWidth ) == 'number' ) {
  //Non-IE
    myHeight = window.innerHeight;                           
    myWidth = window.innerWidth;
  } else {
    if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
      //IE 6+ in 'standards compliant mode'
      myHeight = document.documentElement.clientHeight;
      myWidth = document.documentElement.clientWidth;
    } else {
      if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
        //IE 4 compatible
        myHeight = document.body.clientHeight;
        myWidth = document.body.clientWidth;
      }
    }
  }

  h = 166;                                    
  w = 240;
  if(document.all){
    document.all.content.style.height=myHeight-h+'px';
    document.all.content.style.width=myWidth-w+'px';
  } else {
    document.getElementById("content").style.height=myHeight-h+'px';
    document.getElementById("content").style.width=myWidth-w+'px';
  }
};

window.onresize = alertSize;