function GetWinSize() {
  var myWidth = 0, myHeight = 0;
//  var HeightBottom = 57;
  var HeightBottom = 26;
  var HeightTop = 105;
  var minHeight = 400;

  if( typeof( window.innerWidth ) == 'number' ) {
    //Non-IE
      myWidth = window.innerWidth;
      myHeight = window.innerHeight;
//      HeightBottom = 52;
      HeightBottom = 21;
//alert('Non-IE');
  } else if( document.documentElement &&
      ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
    //IE 6+ in 'standards compliant mode'
      myWidth = document.documentElement.clientWidth;
      myHeight = document.documentElement.clientHeight;
//alert('IE 6+');
  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
    //IE 4 compatible
      myWidth = document.body.clientWidth;
      myHeight = document.body.clientHeight;
//alert('IE4 comp');
  }
//window.alert( 'My: ' + myHeight + ' - Bottom: ' + HeightBottom + ' - Top: ' + HeightTop );
  myHeight = myHeight - HeightBottom - HeightTop;

//window.alert( 'Height = ' + myHeight + ' - ' + minHeight );
  if( myHeight < minHeight ) {
      myHeight = minHeight;
  }

//window.alert( 'GO with : ' + myHeight );
  return myHeight;
}
