$(document).ready( function () {
	if ($("#box1").height() > $("#box2").height()) {
		$("#box2").height($("#box1").height());
	} else {
		$("#box1").height($("#box2").height());
	}
});
