function addFancy(event) {
var element = event.target;
var id = $(element).attr('id');
$(element).find(".owl-item.cloned a").each(function(indexCloned) {
var $clonedElem = $(this);
var link = $clonedElem.attr('href');
$clonedElem.attr('data-fancybox-trigger', id);
$clonedElem.attr('href', 'javascript:;');
$clonedElem.removeAttr('data-fancybox');
$(element).find(".owl-item:not(.cloned) a").each(function(indexReal) {
if (link === $(this).attr('href')){
$clonedElem.attr('data-fancybox-index', indexReal);
}
});
});
}