//works with x.js to ensure the footer is always at the correct position
  function adjustLayout()
  {
    // Get natural heights

    var lHeight = xHeight("leftContent");
    var rHeight = xHeight("rightContent");
  
    // Find the maximum height
    var maxHeight = Math.max(lHeight, rHeight);
  
    // Assign maximum height to all columns
    xHeight("leftContent", maxHeight);
    xHeight("rightContent", maxHeight);
  
    // Show the footer
    xShow("footer");
  }
function theLoader()
{
 xAddEventListener(window, "resize", adjustLayout, false);
 adjustLayout();
}
