jQuery(document).ready(function(){
    $("a").each(function(){
        var $a = jQuery(this);
        var href = this.href;
        
        if (this.href != null && !$a.is(".exempt")) 
	{
            $a.attr('href', this.href.replace(/\/sitecore\/content\/brazil/i, ''));
        }
    });
});
