$(document).ready(function(){
	checkHeight();
});

var checkHeight = function() {
	var h1 = $("#content").height();
	var h2 = $("#rightcol").height();
	if (h1 > h2) {
		$("#rightcol .minheight").css("height",h1-47+"px");
	} else {
		$("#content").css("height",h2+25+"px");
	}
};
