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

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

  // Assign maximum height to all columns
  xHeight("contcol2content", maxHeight);
  xHeight("cont2colleft", maxHeight);
  

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

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

//window.onunload = function() {
//	GUnload();
//}