
function equalHeight()
{
    var group = $('#main').find('.eq');
    if(group.length > 1)
    {
        var maxValue = 0;
        var notChange = '';
        group.each(function()
        {
            if($(this).height() > maxValue)
            {
                maxValue = $(this).height();
                notChange = $(this);
            }
        });
        
        group.not(notChange).each(function()
        {
            $(this).css('min-height', maxValue);
        });
    }
}


if(typeof String.prototype.trim !== 'function') {
  String.prototype.trim = function() {
    return this.replace(/^\s+|\s+$/g, ''); 
  }
}

Cufon.replace("h1, .optima", { fontFamily: "Optima", hover: true });

Cufon.replace("#main-nav li li", { fontFamily: "Optima", hover: false });

Cufon.replace(".logo-interior, #subhead", { fontFamily: "Optima", hover: false });


