// {{{ Cheat: Match the length of the sidebars:
Event.observe(window, 'load', function() {
  setTimeout('balanceSidebars', 500);
});

function balanceSidebars() {
  var mheight = 0;
  $R(1,3).each(function(r) {
    var h = $('frontpage_col' + r);
    if(h) {
      var hx = $('frontpage_col' + r).getHeight();
      $('frontpage_col' + r).setStyle({height: 'auto'});
      h = $('frontpage_col' + r).getHeight();
      if(h && h > mheight) {
        mheight = h;
      }
    }
  });

  $R(1,3).each(function(r) {
    var o = $('frontpage_col' + r);
    if(o)
      o.setStyle({height: mheight + 'px'});
  });
}; // }}}
