// g_site.js, developped by G. Guerin
// Copyright (C) 2005 G. GUERIN - Do not Distribute
// File Rev: 1

function adjustLayout()
{
  // Get natural heights
  var cHeight = xHeight("b_content_internal");
  var lHeight = xHeight("b_leftnav_internal");

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

  // Assign maximum height to all columns
  xHeight("b_content", maxHeight);
  xHeight("b_leftnav", maxHeight);

  // Show the footer
  // xShow("b_footer");
}
function myBodyId(c_id)
{
  // @ Gilbert Guerin
  document.getElementsByTagName('body')[0].id=c_id;
}

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