function resizing()
{

  var mainbodyId = document.getElementById('mainbody');
  var contentId = document.getElementById('content');
  var leftcolId = document.getElementById('leftcol');
  var rightcolId = document.getElementById('rightcol');

  if (self.innerWidth)
    {
    frameWidth = self.innerWidth;
    frameHeight = self.innerHeight;
    }
    else if (document.documentElement && document.documentElement.clientWidth)
      {
      frameWidth = document.documentElement.clientWidth;
      frameHeight = document.documentElement.clientHeight;
      }
      else if (document.body)
        {
        frameWidth = document.body.clientWidth;
        frameHeight = document.body.clientHeight;
        }

  if (frameWidth-(leftcolId.offsetWidth+rightcolId.offsetWidth-1)>=100)
    {
    contentId.style.width = (frameWidth-(leftcolId.offsetWidth+rightcolId.offsetWidth+15))+'px';
    rightcolId.style.left = (frameWidth-leftcolId.offsetWidth-10)+'px';
    }

}
