')}Base.Http.Ajax({Url:"/shoppingcart/productdetails_attributechange?productId=4505&validateAttributeConditions=False&loadPicture=True",Data:$("#product-details-form").serialize(),ContentType:Base.Http.ContentTypes.FormUrlEncoded,OnSuccess:function(n){var t,i,r,u,f,e;if(n.price&&n.stockAvailability!==Base.Translate.Get("Base.Common.EndOfInventory")&&$(".price-value-4505").html(n.price.replace(Base.Currency.Current(),"")+`${Base.Currency.Current()}`),n.basepricepangv?$("#base-price-pangv-4505").text(n.basepricepangv):$("#base-price-pangv-4505").hide(),n.sku?$("#sku-4505").text(n.sku).parent(".sku").show():$("#sku-4505").text("-").parent(".sku").show(),n.mpn?$("#mpn-4505").text(n.mpn).parent(".manufacturer-part-number").show():$("#mpn-4505").parent(".manufacturer-part-number").hide(),n.gtin?$("#gtin-4505").text(n.gtin).parent(".gtin").show():$("#gtin-4505").parent(".gtin").hide(),n.stockAvailability&&$("#stock-availability-value-4505").text(n.stockAvailability),n.buyBtnActive?$(".add-to-cart").show():$(".add-to-cart").hide(),n.enabledattributemappingids)for(t=0;t{$(`.thumb-item[data-full-image-url='${pictureFullSizeUrl}']`).click().addClass("cloudzoom-gallery-active")},100):$(".picture-thumbs .thumb-item:first").addClass("cloudzoom-gallery-active");checkWarrantiesAvailability($(`li[data-attr-value=${selectedColorId}]`)[0]);$("#product_attribute_6652_9364").on("click",function(){attribute_change_handler_4505()});$("#product_attribute_6652_9366").on("click",function(){attribute_change_handler_4505()});$("#product_attribute_6653_9365").on("click",function(){attribute_change_handler_4505()});$("#product_attribute_6653_20066").on("click",function(){attribute_change_handler_4505()})})