	function adjustLayout()
	{

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