var originalResults = parseInt($('.grey3').text().split(' ')[0]);
if ($('.bcs-activity-entry.11366426').length > 0) {
$('.bcs-activity-entry.11366426').hide();
originalResults = originalResults -1;
}
if ($('.bcs-activity-entry.20031430').length > 0) {
$('.bcs-activity-entry.20031430').hide();
originalResults = originalResults -1;
}
var newResults = originalResults + " " + $('.grey3').text().split(' ')[1];
$('.grey3').text(newResults);
$( document ).ready(function() {
if(themeDisplay.getLanguageId() == "en_US"){
$(".portlet-boundary_com_grifols_fundacio_ActivitiesPortlet_ a.fundacio-link:last").attr("href", 'https://www.fundaciogrifols.org/en/registre');
} else if(themeDisplay.getLanguageId() == "es_ES"){
$(".portlet-boundary_com_grifols_fundacio_ActivitiesPortlet_ a.fundacio-link:last").attr("href", 'https://www.fundaciogrifols.org/es/registre');
} else {
$(".portlet-boundary_com_grifols_fundacio_ActivitiesPortlet_ a.fundacio-link:last").attr("href", 'https://www.fundaciogrifols.org/ca/registre');
}
})
// ]]>