function zzSetHeight() {
	// Call once at the bottom of the page
	var aRow = new Array();

	var aDiv = document.getElementsByTagName('div');

	// First calc heights
	for (iI = 0; iI < aDiv.length; iI++) {
		sRow = aDiv[iI].getAttribute('zzRow');
		if (sRow) {
			iH = aDiv[iI].offsetHeight;
			iOffset = aDiv[iI].getAttribute('zzOffset');
			if (!iOffset)
				iOffset = 0;
			else
				iOffset = parseInt(iOffset);
			iH = iH + iOffset;
			if (!aRow[sRow] || iH > aRow[sRow])
				aRow[sRow] = iH;
		}
	}
	// Now set heights
	for (iI = 0; iI < aDiv.length; iI++) {
		sRow = aDiv[iI].getAttribute('zzRow');
		if (sRow) {
			iH = aRow[sRow];
			if (iH) {
				iOffset = aDiv[iI].getAttribute('zzOffset');
				if (!iOffset)
					iOffset = 0;
				else
					iOffset = parseInt(iOffset);
				iH = iH + iOffset;
				aDiv[iI].style.height = (iH) + 'px';
			}
		}
	}

}
