function adjustLayout()
{
  // Get natural heights
  var cHeight = xHeight("contenido");
  var rHeight = xHeight("franjaderecha");

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

  // Assign maximum height to all columns
  xHeight("contenido", maxHeight);
  xHeight("franjaderecha", maxHeight);

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

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