function setLayout() {
	var
		layoutSource = getCoordinates("rootList"),
		layoutTarget = getCoordinates("layoutTarget"),
		layoutDeterminant = 17 + 18 + (1 * 2);
	
	if ((layoutTarget.height + layoutDeterminant) < layoutSource.height) {
		if (document.all) {
			getElement("layoutTarget").style.height = layoutSource.height - layoutDeterminant + "px";
		} else {
			getElement("layoutTarget").style.minHeight = layoutSource.height - layoutDeterminant + "px";
		}
	}
}

if (getElement("rootList") && getElement("layoutTarget")) {
	setOnload(setLayout);
}
