function adjustLayout(){  
	// Get natural heights  
	var rHeight = xHeight("contentright");  
	var lHeight = xHeight("contentleft");  
	// Find the maximum height  
	var maxHeight =Math.max(rHeight, lHeight);  
 	// Assign maximum height to all columns  
	xHeight("contentright", maxHeight);  
	xHeight("contentleft", maxHeight);
}
window.onload = function(){  
	adjustLayout();
	xAddEventListener(window, "resize", adjustLayout, false);  
} 