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

	
	// Find the maximum height
	var maxHeight = Math.max(cHeight, Math.max(lHeight, rHeight));
	
	if (maxHeight < 400) {
		maxHeight = 400;
	}
	
	// Assign maximum height to all columns
	xHeight("cont2colleft", maxHeight);
	xHeight("cont3colright", maxHeight);
	xHeight("contcol3content", maxHeight);
	
	// Show the footer
	//xShow("footer");
  
	//xShow("cvrbtmright");
	//xShow("cvrbtmleft");
	//xShow("cvrbtmcontent");
}

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