").attr({src:i.ThumbImageUrl,title:i.Title,"data-defaultsize":i.ImageUrl,"data-fullsize":i.FullSizeImageUrl}).on("click",function(){$(".gallery .picture img").attr("src",$(this).attr("data-defaultsize"));$(".gallery .picture img").attr("title",$(this).attr("title"));$(".gallery .picture img").attr("alt",$(this).attr("alt"));$("#main-product-img-lightbox-anchor-17121").attr("href",$(this).attr("data-fullsize"));$("#main-product-img-lightbox-anchor-17121").attr("title",$(this).attr("title"));$("#selectedZoomImg").val($(this).attr("data-fullsize"))});r.append(u);t.append(r)})}$(document).trigger({type:"product_attributes_changed",changedData:n});$(".gallery .picture-thumbs img").first().trigger("click")}})}$(document).ready(function(){attribute_change_handler_17121();$("#product_attribute_27214_86509").on("click",function(){attribute_change_handler_17121()});$("#product_attribute_27344").on("change",function(){attribute_change_handler_17121()})})