﻿$(document).ready(function () {    
    //Evens the height of elements matching the class definitions given in selector[]
    var selector = [".row2 .boxContent", ".row2 .themeColumn", ".mainMenuSub li"];

    for (i = 0; i < selector.length; i++) {

        var maxHeight = 0;
        var elements = $(selector[i]);
        elements.each(function () {
            if ($(this).height() > maxHeight)
                maxHeight = $(this).height();
        });

        elements.each(function () {
            $(this).height(maxHeight);
        });

    }   
});
