
$(document).ready(function(){
    $('a[@rel=ext]').attr('target', '_blank');
    $('.box1, .box2').equalHeights(); 
    
       
});


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");
        }
    });
};







