function resizeBlockScroll()
{
	var aDivs = document.getElementsByTagName('div');
	var idx;
	for (idx=0;idx<aDivs.length;idx++) {
		if (aDivs[idx].className == 'fwBlockScroll') {
			var oParent = aDivs[idx].parentNode;
			var nHeight = parseInt(oParent.style.height);
			if (isNaN(nHeight))
				nHeight = oParent.offsetHeight;
			if (isNaN(nHeight))
				nHeight = oParent.pixelHeight;
			if (!isNaN(nHeight)) {
				for (idxC=0;idxC<oParent.childNodes.length;idxC++) {
					if (oParent.childNodes[idxC] != aDivs[idx]) {
						var nChildHeight = oParent.childNodes[idxC].offsetHeight;
						if (isNaN(nChildHeight))
							nChildHeight = oParent.childNodes[idxC].pixelHeight;
						if (!isNaN(nChildHeight)) {
							nHeight -= nChildHeight;
						}							
					}
				}
				aDivs[idx].style.height = nHeight + 'px';
			}
			aDivs[idx].style.display = 'block';
		}
	}
}

resizeBlockScroll();
