`;n.push({src:"https://jewelry.silverqueen.com/images/thumbs/0009295_vintage-1950s-signed-eisenberg-clear-rhinestone-choker-necklace.jpeg"});t+=``;n.push({src:"https://jewelry.silverqueen.com/images/thumbs/0009294_vintage-1950s-signed-eisenberg-clear-rhinestone-choker-necklace.jpeg"});t+=``;$(".picture").magnificPopup({type:"image",removalDelay:300,navigateByImgClick:!0,items:n,gallery:{enabled:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},tClose:"Close (Esc)",tLoading:"Loading...",callbacks:{open:function(){let i=`
${t}
`;$(".mfp-bottom-bar").append(i);var n=$.magnificPopup.instance;$(".mfp-bottom-bar .lightbox-thumbs-nav a img").each(function(t){$(this).attr("src")==$(".picture-gallery .picture > img").attr("src").replace("_550","_100")&&n.goTo(t)});$(".mfp-bottom-bar .lightbox-thumbs-nav a").each(function(t){$(this).on("click",function(){$(this).addClass("active");n.goTo(t)})})},change:function(){}},disableOn:"768"});$(".thumb-item img").on("click",function(){$("#main-product-img-3048").attr("src",$(this).attr("data-defaultsize"));$("#main-product-img-3048").attr("title",$(this).attr("title"));$("#main-product-img-3048").attr("alt",$(this).attr("alt"));$("#main-product-img-lightbox-anchor-3048").attr("href",$(this).attr("data-fullsize"));$("#main-product-img-lightbox-anchor-3048").attr("title",$(this).attr("title"))})})