function adjustLayout()
{

  // Get natural heights
  var lHeight = xHeight("side-content");
  var rtHeight = xHeight("product-box");
var rbHeight = xHeight("ft");

  // Find the maximum height
  var maxHeight = Math.max(lHeight-55, rtHeight+rbHeight);

  // Assign maximum height to all columns
  
  xHeight("side-content", maxHeight+55);
  xHeight("product-box", maxHeight-rbHeight);
  
  // Show the footer
  xShow("footer");

  
}

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