80 mm D 2) {
$('.item-grid').slick({
accessibility: false,
arrows: false,
infinite: false,
swipeToSlide: true,
waitForAnimate: false,
centerMode: true,
centerPadding: '75px',
initialSlide: 1,
mobileFirst: true,
responsive: [
{
breakpoint: 768,
settings: "unslick"
}
]
});
}
if (typeof loadPrices == 'function') {
loadPrices();
}
}
});
}
}
function occurrences(string, subString, allowOverlapping) {
string += "";
subString += "";
if (subString.length <= 0) return (string.length + 1);
var n = 0,
pos = 0,
step = allowOverlapping ? 1 : subString.length;
while (true) {
pos = string.indexOf(subString, pos);
if (pos >= 0) {
++n;
pos += step;
} else break;
}
return n;
}
$(document).ready(function () {
if ($('#related-products-wrapper').length) {
loadRelatedProducts(false);
}
})