function adjustLayout()
{
  // Get natural heights
  var lHeight = xHeight("links");
  var mHeight = xHeight("content");
  var rHeight = xHeight("images");
  
  // Find the maximum height
  var maxHeight = Math.max(lHeight, mHeight, rHeight);
  
  // Assign maximum height to all columns
  xHeight("linksWrapper", maxHeight);
  xHeight("contentWrapper", maxHeight);
  xHeight("imagesWrapper", maxHeight);
  
  // Show the footer
  xShow("footer");
}

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