function getMapSizeForScreen(){
  var myHeight = 0;
  if( typeof( window.innerHeight ) == 'number' ) {
    //Non-IE
    myHeight = window.innerHeight;
  } else if( document.documentElement && document.documentElement.clientHeight ) {
    //IE 6+ in 'standards compliant mode'
    myHeight = document.documentElement.clientHeight;
  } else if( document.body && document.body.clientHeight ) {
    //IE 4 compatible
    myHeight = document.body.clientHeight;
  }

/*
	var br = document.documentElement;
	var h = br.clientHeight - 90;
	if($.browser.msie == true){
		h = h - 4;
	}

  $('#navigation').css({height: h+'px', overflow: 'auto'});
  $('#content').css({height: h+'px', overflow: 'auto'});
  $('#extra').css({height: h+'px', overflow: 'auto'});
*/
	myHeight -= 90;
	if($.browser.msie == true){
		myHeight -= 4;
	}
	if($.browser.opera == true){
		myHeight -= 10;
	}
//alert(myHeight);
	$('#navigation').css({height: myHeight+'px', overflow: 'auto'});
	$('#content').css({height: myHeight+'px', overflow: 'auto'});
	$('#extra').css({height: myHeight+'px', overflow: 'auto'});
	
	return true;
};

$(window).resize(getMapSizeForScreen);

