'+
'
'+
'Certificato di Eccellenza
'+
'
'+
'2016
'+
'
'+
'

'+
'
'+
'
'+
'
'+
'';
var links = holderElement.getElementsByTagName('a');
if (links) {
for (var i = 0; i < links.length; i++) {
// Special case for homepage link. The function returns true if we find a homepage link. In that case, we don't
// to apply other rules.
if(checkHomePageLink(links[i], isHomePageLinkNoFollow)) {
continue;
}
// Check if it's an image link
var images = links[i].getElementsByTagName("img");
if (images && images.length > 0) {
// If the image has alt attribute
if (images[0].getAttribute('alt')) {
var key = images[0].getAttribute('alt').trim();
if (! (key in imageStatus) || imageStatus[key]) {
links[i].setAttribute('rel', 'nofollow');
}
}
// No alt attribute case. The no follow status for those are stored under "". If no alt attribute links in
// embed code don't exist, we should nofollow any no alt attribute links in the rendered code. Unless it's a
// homepage but we handled that above. I haven't seen any no alt non-homepage image link in the rendered code
// so this is just a safeguard
else {
if(! ("" in imageStatus) || imageStatus[""]) {
links[i].setAttribute('rel', 'nofollow');
}
}
}
else {
if (links[i].text) {
var key = links[i].text.trim();
if (! (key in linkStatus) || linkStatus[key]) {
links[i].setAttribute('rel', 'nofollow');
}
}
}
}
widgetHtml = holderElement.innerHTML;
}
else {
var widgetHtml = '