﻿/// <reference path="jquery-1.3.2.js" />

$(function() {

    var topHeight = 0;
    $('div.product div.description').each(
        function() {
            var temp = $(this).height();
            if (temp > topHeight) {
                topHeight = temp;
            }
        });

        $('div.product div.description').height(topHeight);

    var topHeight2 = 0;
    $('div.viewAll').each(
        function() {
            var temp = $(this).height();

            if (temp > topHeight2) {
                topHeight2 = temp;
            }
        });

        $('div.viewAll').height(topHeight2);
    
    var topHeight3 = 0;
    $('div.productsRow div.product').each(
        function() {
            var temp = $(this).height();

            if (temp > topHeight3) {
                topHeight3 = temp;
            }
        });

        $('div.productsRow div.product').height(topHeight3);
});
