﻿// This script will compare the height of all included elements and assign each a height of the largest element.  This dynamically corrects for floats which cannot automatically generate 100% full height.
$(document).ready(function () {
    $("#MainLeft").addClass("equal_height");
    $("#MainCenter").addClass("equal_height");
    var biggestHeight = 0;
    $('.equal_height').each(function () {
        if ($(this).height() > biggestHeight) {
            biggestHeight = $(this).height();
        }
    });
    $('.equal_height').height(biggestHeight);
});
