function adjustLayout()
{
// Get natural heights
var cHeight = xHeight("recent-content");
var s1Height = xHeight("recent-writings");
var s2Height = xHeight("recent-photos");

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

// Assign maximum height to all columns
xHeight("recent-content", maxHeight);
xHeight("recent-writings", maxHeight);
xHeight("recent-photos", maxHeight);

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

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