function equalLayout()
{ 
  ShowCaption('TheThumb1');
  // Get natural heights
  var cHeight = xHeight("mainContentInner");
  var lHeight = xHeight("sideLeftContent");
  var rHeight = xHeight("sideRightContent");

  // Find the maximum height
  var maxHeight =
    Math.max(cHeight, Math.max(lHeight, rHeight + 20));

  // Assign maximum height to all columns
  xHeight("mainContent", maxHeight);
  xHeight("sideLeft", maxHeight);
  xHeight("sideRight", maxHeight);

  // Show the footer
  xShow("footer");
}
  window.onload = function()
{
  xAddEventListener(window, "resize",
    equalLayout, false);
  equalLayout();
}
