function equalColumns(colIDs) {
	
	var i;
	var maxHeight;
	var cols;
	
	cols = new Array(colIDs.length);
	maxHeight = 0;
	
	for(i = 0; i < colIDs.length; i++) {
		cols[i] = document.getElementById(colIDs[i]);
		// By setting height property to auto, offsetHeight gets reset.
		// Otherwise, offsetHeight keeps privious max value. 
		cols[i].style.height = 'auto';
		if(maxHeight < cols[i].offsetHeight) {
			maxHeight = cols[i].offsetHeight;
		}
	
	}

	for(i = 0; i < cols.length; i++) {
		cols[i].style.height = (maxHeight + 'px');
	}	
}

