"),$("#secondary-img-6857").show());if(n.disableBatchForSelection?($(".batchSelection").hide(),$(".availability").hide()):($(".batchSelection").show(),$(".availability").show()),n.replaceImages&&($(".gallery").find(".thumb-item").each(function(){$(this).remove()}),$(".picture-thumbs").html("")),n.images&&n.images.length>2){var g=n.sku,i=jQuery.parseJSON(n.images);for(t=0;t<\/a><\/div>"):$(".picture-thumbs").append(" <\/a>");if(i.length>0&&!i[0].PictureDefaultSizeUrl.includes("default-image"))try{$('img[id^="main-product-img"]').length&&$($('img[id^="main-product-img"]')[0]).attr("src",i[0].PictureDefaultSizeUrl);$('img[id^="main-product-img-lightbox-anchor"]').length&&$($('img[id^="main-product-img-lightbox-anchor"]')[0]).attr("src",i[0].PictureDefaultSizeUrl);$(".gallery").find(".picture").find("a").attr("href",i[0].PictureFullSizeUrl);$(".picture-link").length&&$($(".picture-link")[0]).attr("data-full-image-url",i[0].PictureFullSizeUrl);$(".cloudzoom").length&&$($(".cloudzoom")[0]).attr("src",i[0].PictureFullSizeUrl);$(".cloudzoom-zoom-inside").length&&($($(".cloudzoom-zoom-inside")[0]).attr("src",i[t].PictureFullSizeUrl),$("#cloudzoom-zoom-image-1").attr("src",i[t].PictureFullSizeUrl));$(".cloudzoom").length&&(l=$("#cloudZoomImage").data("CloudZoom"),l&&($("#cloudZoomImage").attr("src",i[0].PictureFullSizeUrl),$("#cloudZoomImage").attr("alt",i[0].Sku),$("#zoom1").attr("data-full-image-url",i[0].PictureFullSizeUrl),l.loadImage(i[0].PictureDefaultSizeUrl,i[0].PictureFullSizeUrl),l.refreshImage()))}catch(d){console.error("zoomInstance failed messagge: "+d)}}if(n.toggleChildDescriptions&&(n.shortDescription.length>1&&$(".short-description").html(n.shortDescription),n.longDescription.length>1&&$(".full-description").html(n.longDescription)),n.grid)for(r=jQuery.parseJSON(n.grid),$("div[id^='grid_entry']").each(function(){$(this).hide()}),t=0;t