$(document).ready(function(){
	// First, add pseudo support to IE6.
	if(typeof document.body.style.maxHeight === "undefined") {
		$('#sidecolumn > div:first-child').css({'border-top':'0'});
	}
	
	var sideCol = $('#sidecolumn').outerHeight(true);
	var leftCol = $('#billboard').outerHeight(true) + $('#projects').outerHeight(true);
	
	if (sideCol > leftCol) {
		var colDiff = sideCol - leftCol;
		var compDiff = $('#projects').height() + colDiff;
		$('#projects').css({'height':compDiff+'px'});
	}
	else if (sideCol < leftCol) {
		var colDiff = leftCol - sideCol;
		var compDiff = $('#sidecolumn').height() + colDiff;
		$('#sidecolumn').css({'height':compDiff+'px'});
	}
	else if (sideCol == leftCol) {
		return false;
	}
});

