!function($){$.fn.vcImageZoom=function(){return this.each(function(){var $this=$(this),src=$this.data("vcZoom");$this.removeAttr("data-vc-zoom").wrap('
').parent().zoom({duration:500,url:src,onZoomIn:function(){$this.width()>$(this).width()&&$this.trigger("zoom.destroy").attr("data-vc-zoom","").unwrap().vcImageZoom()}})}),this},"function"!=typeof window.vc_image_zoom&&(window.vc_image_zoom=function(model_id){var selector="[data-vc-zoom]";"undefined"!=typeof model_id&&(selector='[data-model-id="'+model_id+'"] '+selector),$(selector).vcImageZoom()}),$(document).ready(function(){!window.vc_iframe&&vc_image_zoom()})}(jQuery);