// Changed: 07/03-2010
// Created: 07/03-2010
//
function indexAdjustHeights() {
	indexAdjustHeight(new Array("ContentLeft","ContentRight"),0);
	indexAdjustHeight(new Array("LatestComments","ForumPosts"),9);
}
function indexAdjustHeight(aryIds,intPadding) {
	
	var intMax=0;
	var idx;
	var objBox;
	
	for (idx in aryIds) {
		intMax=indexMaxHeight_Int(aryIds[idx],intMax);
	}
	for (idx in aryIds) {
		objBox=document.getElementById(aryIds[idx]);
		if (objBox.clientHeight<intMax) {
			objBox.style.height=(intMax-intPadding).toString() + "px";
		}
	}
}
function indexMaxHeight_Int(strObjId,intCurrentMax) {
	var objBox=document.getElementById(strObjId);
	
	if (objBox != null ) {
		if (objBox.clientHeight>intCurrentMax) {
			return objBox.clientHeight;
		} else {
			return intCurrentMax;
		}
	} else {
		return intCurrentMax;
	}
}