﻿// http://richardhulse.blogspot.com/2008/11/equal-height-columns-with-jquery.html
jQuery.fn.equalHeights = function() {
    var maxHeight = 0;
    this.each(function() {
        if (this.offsetHeight > maxHeight) {
            maxHeight = this.offsetHeight;
        }
    });
    this.each(function() {
        $(this).height(maxHeight + "px");
        if (this.offsetHeight > maxHeight) {
            $(this).height((maxHeight - (this.offsetHeight - maxHeight)) + "px");
        }
    });
    if (isIE6) {
        $(".content_visual").css("margin-bottom","17px");
    }
};