/**
 * Copyright: 2010 WebCamp One, LLC
 * User: JMP
 * Date: Oct 18, 2010
 * Time: 5:41:57 PM
 * Calculates height of 3 columns, then sets them all to the same height
 */
function setColHeight() {
	var heightCol1 = $('#col_1_of_3').height();
	var heightCol2 = $('#col_2_of_3').height();
	var heightCol3 = $('#col_3_of_3').height();
	var padCol1 = $('#col_1_of_3').css('padding-bottom');
	var padCol2 = $('#col_2_of_3').css('padding-bottom');
	var padCol3 = $('#col_3_of_3').css('padding-bottom');
	var heightAll = Math.max(heightCol1, heightCol2, heightCol3);
	$('#col_1_of_3').css({
			'min-height': heightAll,
			'padding-bottom': padCol1
	});
	$('#col_2_of_3').css({
			'min-height': heightAll,
			'padding-bottom': padCol2
	});
	$('#col_3_of_3').css({
			'min-height': heightAll,
			'padding-bottom': padCol3
	});
};
window.onload = setColHeight;

