<modification>
	<name>Bnit Zoom</name>
	<code>bnit_zoom</code>
	<version>1.1</version>
	<vqmver>2.x</vqmver>
	<author>BNIT.it and Wisersoft</author>
	<link>http://www.bnit.it/</link>
	<date>2016.03.21</date>

	<file path="catalog/view/theme/*/template/common/footer.tpl">
		<operation>
			<search><![CDATA[</body>]]></search>
			<add position="before"><![CDATA[
				<script src="catalog/view/javascript/jquery.elevatezoom.min.js" type="text/javascript"></script>
				<script type="text/javascript">
$(document).ready(function(){$("#zoom_01").elevateZoom({cursor:"crosshair",zoomWindowFadeIn:500,zoomWindowFadeOut:750,lensFadeIn:500,lensFadeOut:500})}),$(window).on("resize",function(){var o=$(this);$("#zoom_01").elevateZoom(o.width()<900?{cursor:"crosshair",zoomType:"inner",zoomWindowFadeIn:500,zoomWindowFadeOut:750,lensFadeIn:500,lensFadeOut:500}:{cursor:"crosshair",zoomType:"window",zoomWindowFadeIn:500,zoomWindowFadeOut:750,lensFadeIn:500,lensFadeOut:500})});
				</script>  
			]]></add>
		</operation>
	</file>
	<file path="catalog/view/theme/*/template/product/product.tpl">
		<operation>
			<search><![CDATA[<?php echo $thumb; ?>"]]></search>
			<add position="replace"><![CDATA[<?php echo $thumb; ?>" id="zoom_01" data-zoom-image="<?php echo $popup; ?>" ]]></add>
		</operation>
	</file>
	
</modification>