// JavaScript Document
function adjustLayout()
{
 var mHeight = xHeight("navigation");
 var cHeight = xHeight("content");
 var rHeight = xHeight("rechtespalte");
 
 var maxHeight_hilf = Math.max(mHeight, cHeight);
 var maxHeight = Math.max(maxHeight_hilf, rHeight);
 
 xHeight("rechtespalte", maxHeight);
 xHeight("navigation", maxHeight);
 xHeight("content", maxHeight);
}
window.onload = function()
{
 xAddEventListener(window, "resize", adjustLayout, false);
 adjustLayout();
}