if (document.getElementById || document.all) { 
 window.onload = winOnLoad;
}

function winOnLoad() {
 var ele = xGetElementById('page-holder');
 if (ele && xDef(ele.style, ele.offsetHeight)) {
  adjustLayout();
  xAddEventListener(window, 'resize', winOnResize, false);
 }
}

function winOnResize() {
 adjustLayout();
}

function adjustLayout() {
	var cHeight = xHeight('page-holder');
 var lHeight = xHeight('content-right');
 var maxHeight = Math.max(lHeight, cHeight);
 
 xHeight('page-holder', maxHeight);
 xHeight('content-right', maxHeight-23);
}

