// JavaScript Document
function adjustLayout()
{
  // Get natural heights
  var cHeight = xHeight("");
  var lHeight = xHeight("leftColl");
  var rHeight = xHeight("collSeprator");

  // Find the maximum height
  var maxHeight =
    Math.max(cHeight, Math.max(lHeight, rHeight));

  // Assign maximum height to all columns
  xHeight("", maxHeight);
  xHeight("leftColl", maxHeight);
  xHeight("collSeprator", maxHeight);

  // Show the footer
  xShow("footer");
}

window.onload = function()
{
  xAddEventListener(window, "resize",
    adjustLayout, false);
  adjustLayout();
}

