function adjustLayout()
{
	if (1==1) {
	  // Get natural heights
	  var cHeight = xHeight("center-container");
	  var lHeight = xHeight("left-section-container");
	  var rHeight = xHeight("right-section-container");
	
	  // Find the maximum height
	  var maxHeight =
	    Math.max(cHeight, Math.max(lHeight, rHeight));
	
	  // Assign maximum height to all columns
	  xHeight("center-container", maxHeight);
	  xHeight("left-section-container", maxHeight);
	  xHeight("right-section-container", maxHeight);
	
	  // Show the footer
	  xShow("footer-container");
	}
}

window.onload = function()
{
  xAddEventListener(window, "resize",
    adjustLayout, false);
  adjustLayout();
}

