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

  // Find the maximum height
  var maxHeight = Math.max(cHeight, rHeight);
    
   if (maxHeight < 400) {
		maxHeight = 400;
   }

  // Assign maximum height to all columns
  xHeight("cont2colrightgrey", maxHeight);
  xHeight("contcol2contentgrey", maxHeight);

  // Show the footer
  //xShow("cvrbtmright");
  //xShow("cvrbtmleft");
}

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