function gg_setcellheight()
{
   var cellheight=document.getElementById('tablediv').clientHeight;
   var myWidth = 0, myHeight = 0;
   var divname = 'shadowcell';
   if( typeof( window.innerWidth ) == 'number' ) {
    //Non-IE
      var newheight = cellheight-39;
      var myDiv = document.getElementById(divname);
      myDiv.style.height = newheight + "px";
   } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
    //IE 6+ in 'standards compliant mode'
      var newheight = cellheight-54;
      var myDiv = document.getElementById(divname);
      myDiv.style.height = newheight + "px";
   } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
    //IE 4 compatible
      var newheight = cellheight-13;
      var myDiv = document.getElementById(divname);
      myDiv.style.height = newheight + "px";
   }
}

