function fixdivs(){
  var maxheight = Math.max($('content').offsetHeight);
  if(maxheight > 280){
    $('container').style.height = maxheight+120+'px';
    $('bar').style.height = maxheight+120+'px';
    $('menu').style.height = maxheight+120+'px';
  }
}