// by Paul@YellowPencil.com and Scott@YellowPencil.com
function setTall() {
if (document.getElementById) {
	var divs = new Array(document.getElementById('center'), document.getElementById('right'), document.getElementById('left'));

	// Let's determine the maximum height out of all columns specified
	var maxHeight = 0;
	for (var i = 0; i < divs.length; i++) {
		if (divs[i].offsetHeight > maxHeight) {
			maxHeight = divs[i].offsetHeight;
		}
	}
	
	// Let's set all columns to that maximum height
	for (var i = 0; i < divs.length; i++) {
		divs[i].style.height = maxHeight + 'px';

		if (divs[i].offsetHeight > maxHeight) {
			divs[i].style.height = (maxHeight - (divs[i].offsetHeight - maxHeight)) + 'px';
		}
	}
}
}

window.onload = function() {
	setTall();
}

window.onresize = function() {
	setTall();
}