function getWindowSize()
{
                // IE6 & strict is stupid
                var iedocele = document.documentElement ? document.documentElement : document.body;
                var xwindow = window.innerWidth ? document.body.offsetWidth : iedocele.clientWidth;
                var ywindow = window.innerHeight ? window.innerHeight : iedocele.clientHeight;
                return [xwindow,ywindow];
}

function GetDocSize()
{
var xsize;
var ysize;
windowsize = getWindowSize();
if (window.innerWidth)
  {
    xsize = window.innerWidth + window.scrollMaxX;
    ysize = window.innerHeight + window.scrollMaxY;
  }
  else
  {
    xsize = document.body.scrollWidth;
    ysize = document.body.scrollHeight;
  }
if (xsize < windowsize[0])
  { xsize = windowsize[0]; }
if (ysize < windowsize[1])
  { ysize = windowsize[1]; }
return [xsize,ysize];
}

function FixMenuSize(){
varElement = document.getElementById('left');
  if (varElement) {
    y = GetDocSize()[1];
    varElement.style.height = y + 'px';
  }
}


FixMenuSize();