<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -10,9 +10,9 @@ jQuery.fn.fancyZoom = function(options){
                   &lt;table id=&quot;zoom_table&quot; style=&quot;border-collapse:collapse; width:100%; height:100%;&quot;&gt; \
                     &lt;tbody&gt; \
                       &lt;tr&gt; \
-                        &lt;td class=&quot;tl&quot; style=&quot;background:url(' + directory + '/tl.' + ext + ') 0 0 no-repeat; width:20px height:20px; overflow:hidden;&quot; /&gt; \
+                        &lt;td class=&quot;tl&quot; style=&quot;background:url(' + directory + '/tl.' + ext + ') 0 0 no-repeat; width:20px; height:20px; overflow:hidden;&quot; /&gt; \
                         &lt;td class=&quot;tm&quot; style=&quot;background:url(' + directory + '/tm.' + ext + ') 0 0 repeat-x; height:20px; overflow:hidden;&quot; /&gt; \
-                        &lt;td class=&quot;tr&quot; style=&quot;background:url(' + directory + '/tr.' + ext + ') 100% 0 no-repeat; width:20px height:20px; overflow:hidden;&quot; /&gt; \
+                        &lt;td class=&quot;tr&quot; style=&quot;background:url(' + directory + '/tr.' + ext + ') 100% 0 no-repeat; width:20px; height:20px; overflow:hidden;&quot; /&gt; \
                       &lt;/tr&gt; \
                       &lt;tr&gt; \
                         &lt;td class=&quot;ml&quot; style=&quot;background:url(' + directory + '/ml.' + ext + ') 0 0 repeat-y; width:20px; overflow:hidden;&quot; /&gt; \
@@ -23,9 +23,9 @@ jQuery.fn.fancyZoom = function(options){
                         &lt;td class=&quot;mr&quot; style=&quot;background:url(' + directory + '/mr.' + ext + ') 100% 0 repeat-y;  width:20px; overflow:hidden;&quot; /&gt; \
                       &lt;/tr&gt; \
                       &lt;tr&gt; \
-                        &lt;td class=&quot;bl&quot; style=&quot;background:url(' + directory + '/bl.' + ext + ') 0 100% no-repeat; width:20px height:20px; overflow:hidden;&quot; /&gt; \
+                        &lt;td class=&quot;bl&quot; style=&quot;background:url(' + directory + '/bl.' + ext + ') 0 100% no-repeat; width:20px; height:20px; overflow:hidden;&quot; /&gt; \
                         &lt;td class=&quot;bm&quot; style=&quot;background:url(' + directory + '/bm.' + ext + ') 0 100% repeat-x; height:20px; overflow:hidden;&quot; /&gt; \
-                        &lt;td class=&quot;br&quot; style=&quot;background:url(' + directory + '/br.' + ext + ') 100% 100% no-repeat; width:20px height:20px; overflow:hidden;&quot; /&gt; \
+                        &lt;td class=&quot;br&quot; style=&quot;background:url(' + directory + '/br.' + ext + ') 100% 100% no-repeat; width:20px; height:20px; overflow:hidden;&quot; /&gt; \
                       &lt;/tr&gt; \
                     &lt;/tbody&gt; \
                   &lt;/table&gt; \</diff>
      <filename>jquery/js/fancyzoom.js</filename>
    </modified>
    <modified>
      <diff>@@ -1 +1 @@
-jQuery.fn.fancyZoom=function(O){var O=O||{};var L=O&amp;&amp;O.directory?O.directory:&quot;images&quot;;var D=false;if($(&quot;#zoom&quot;).length==0){var E=$.browser.msie?&quot;gif&quot;:&quot;png&quot;;var J='&lt;div id=&quot;zoom&quot; style=&quot;display:none;&quot;&gt;                   &lt;table id=&quot;zoom_table&quot; style=&quot;border-collapse:collapse; width:100%; height:100%;&quot;&gt;                     &lt;tbody&gt;                       &lt;tr&gt;                         &lt;td class=&quot;tl&quot; style=&quot;background:url('+L+&quot;/tl.&quot;+E+') 0 0 no-repeat; width:20px height:20px; overflow:hidden;&quot; /&gt;                         &lt;td class=&quot;tm&quot; style=&quot;background:url('+L+&quot;/tm.&quot;+E+') 0 0 repeat-x; height:20px; overflow:hidden;&quot; /&gt;                         &lt;td class=&quot;tr&quot; style=&quot;background:url('+L+&quot;/tr.&quot;+E+') 100% 0 no-repeat; width:20px height:20px; overflow:hidden;&quot; /&gt;                       &lt;/tr&gt;                       &lt;tr&gt;                         &lt;td class=&quot;ml&quot; style=&quot;background:url('+L+&quot;/ml.&quot;+E+') 0 0 repeat-y; width:20px; overflow:hidden;&quot; /&gt;                         &lt;td class=&quot;mm&quot; style=&quot;background:#fff; vertical-align:top; padding:10px;&quot;&gt;                           &lt;div id=&quot;zoom_content&quot;&gt;                           &lt;/div&gt;                         &lt;/td&gt;                         &lt;td class=&quot;mr&quot; style=&quot;background:url('+L+&quot;/mr.&quot;+E+') 100% 0 repeat-y;  width:20px; overflow:hidden;&quot; /&gt;                       &lt;/tr&gt;                       &lt;tr&gt;                         &lt;td class=&quot;bl&quot; style=&quot;background:url('+L+&quot;/bl.&quot;+E+') 0 100% no-repeat; width:20px height:20px; overflow:hidden;&quot; /&gt;                         &lt;td class=&quot;bm&quot; style=&quot;background:url('+L+&quot;/bm.&quot;+E+') 0 100% repeat-x; height:20px; overflow:hidden;&quot; /&gt;                         &lt;td class=&quot;br&quot; style=&quot;background:url('+L+&quot;/br.&quot;+E+') 100% 100% no-repeat; width:20px height:20px; overflow:hidden;&quot; /&gt;                       &lt;/tr&gt;                     &lt;/tbody&gt;                   &lt;/table&gt;                   &lt;a href=&quot;#&quot; title=&quot;Close&quot; id=&quot;zoom_close&quot; style=&quot;position:absolute; top:0; left:0;&quot;&gt;                     &lt;img src=&quot;'+L+&quot;/closebox.&quot;+E+'&quot; alt=&quot;Close&quot; style=&quot;border:none; margin:0; padding:0;&quot; /&gt;                   &lt;/a&gt;                 &lt;/div&gt;';$(&quot;body&quot;).append(J);$(&quot;html&quot;).click(function(P){if($(P.target).parents(&quot;#zoom:visible&quot;).length==0){K()}});$(document).keyup(function(P){if(P.keyCode==27&amp;&amp;$(&quot;#zoom:visible&quot;).length&gt;0){K()}});$(&quot;#zoom_close&quot;).click(K)}var N=$(&quot;#zoom&quot;);var I=$(&quot;#zoom_table&quot;);var H=$(&quot;#zoom_close&quot;);var G=$(&quot;#zoom_content&quot;);var A=$(&quot;td.ml,td.mm,td.mr&quot;);this.each(function(P){$($(this).attr(&quot;href&quot;)).hide();$(this).click(M)});return this;function M(V){if(D){return false}D=true;var P=$($(this).attr(&quot;href&quot;));var T=O.width;var U=O.height;var Q=window.innerWidth||(window.document.documentElement.clientWidth||window.document.body.clientWidth);var b=window.innerHeight||(window.document.documentElement.clientHeight||window.document.body.clientHeight);var Z=window.pageXOffset||(window.document.documentElement.scrollLeft||window.document.body.scrollLeft);var Y=window.pageYOffset||(window.document.documentElement.scrollTop||window.document.body.scrollTop);var c={width:Q,height:b,x:Z,y:Y};var Q=(T||P.width())+60;var b=(U||P.height())+60;var W=c;var X=Math.max((W.height/2)-(b/2)+Y,0);var a=(W.width/2)-(Q/2);var R=V.pageY;var S=V.pageX;H.attr(&quot;curTop&quot;,R);H.attr(&quot;curLeft&quot;,S);H.attr(&quot;scaleImg&quot;,O.scaleImg?&quot;true&quot;:&quot;false&quot;);$(&quot;#zoom&quot;).hide().css({position:&quot;absolute&quot;,top:R+&quot;px&quot;,left:S+&quot;px&quot;,width:&quot;1px&quot;,height:&quot;1px&quot;});F();H.hide();if(O.closeOnClick){$(&quot;#zoom&quot;).click(K)}if(O.scaleImg){G.html(P.html());$(&quot;#zoom_content img&quot;).css(&quot;width&quot;,&quot;100%&quot;)}else{G.html(&quot;&quot;)}$(&quot;#zoom&quot;).animate({top:X+&quot;px&quot;,left:a+&quot;px&quot;,opacity:&quot;show&quot;,width:Q,height:b},500,null,function(){if(O.scaleImg!=true){G.html(P.html())}C();H.show();D=false});return false}function K(){if(D){return false}D=true;$(&quot;#zoom&quot;).unbind(&quot;click&quot;);F();if(H.attr(&quot;scaleImg&quot;)!=&quot;true&quot;){G.html(&quot;&quot;)}H.hide();$(&quot;#zoom&quot;).animate({top:H.attr(&quot;curTop&quot;)+&quot;px&quot;,left:H.attr(&quot;curLeft&quot;)+&quot;px&quot;,opacity:&quot;hide&quot;,width:&quot;1px&quot;,height:&quot;1px&quot;},500,null,function(){if(H.attr(&quot;scaleImg&quot;)==&quot;true&quot;){G.html(&quot;&quot;)}C();D=false});return false}function B(R){$(&quot;#zoom_table td&quot;).each(function(T){var S=$(this).css(&quot;background-image&quot;).replace(/\.(png|gif|none)\&quot;\)$/,&quot;.&quot;+R+'&quot;)');$(this).css(&quot;background-image&quot;,S)});var Q=H.children(&quot;img&quot;);var P=Q.attr(&quot;src&quot;).replace(/\.(png|gif|none)$/,&quot;.&quot;+R);Q.attr(&quot;src&quot;,P)}function F(){if($.browser.msie&amp;&amp;parseFloat($.browser.version)&gt;=7){B(&quot;gif&quot;)}}function C(){if($.browser.msie&amp;&amp;$.browser.version&gt;=7){B(&quot;png&quot;)}}};
\ No newline at end of file
+jQuery.fn.fancyZoom=function(O){var O=O||{};var L=O&amp;&amp;O.directory?O.directory:&quot;images&quot;;var D=false;if($(&quot;#zoom&quot;).length==0){var E=$.browser.msie?&quot;gif&quot;:&quot;png&quot;;var J='&lt;div id=&quot;zoom&quot; style=&quot;display:none;&quot;&gt;                   &lt;table id=&quot;zoom_table&quot; style=&quot;border-collapse:collapse; width:100%; height:100%;&quot;&gt;                     &lt;tbody&gt;                       &lt;tr&gt;                         &lt;td class=&quot;tl&quot; style=&quot;background:url('+L+&quot;/tl.&quot;+E+') 0 0 no-repeat; width:20px; height:20px; overflow:hidden;&quot; /&gt;                         &lt;td class=&quot;tm&quot; style=&quot;background:url('+L+&quot;/tm.&quot;+E+') 0 0 repeat-x; height:20px; overflow:hidden;&quot; /&gt;                         &lt;td class=&quot;tr&quot; style=&quot;background:url('+L+&quot;/tr.&quot;+E+') 100% 0 no-repeat; width:20px; height:20px; overflow:hidden;&quot; /&gt;                       &lt;/tr&gt;                       &lt;tr&gt;                         &lt;td class=&quot;ml&quot; style=&quot;background:url('+L+&quot;/ml.&quot;+E+') 0 0 repeat-y; width:20px; overflow:hidden;&quot; /&gt;                         &lt;td class=&quot;mm&quot; style=&quot;background:#fff; vertical-align:top; padding:10px;&quot;&gt;                           &lt;div id=&quot;zoom_content&quot;&gt;                           &lt;/div&gt;                         &lt;/td&gt;                         &lt;td class=&quot;mr&quot; style=&quot;background:url('+L+&quot;/mr.&quot;+E+') 100% 0 repeat-y;  width:20px; overflow:hidden;&quot; /&gt;                       &lt;/tr&gt;                       &lt;tr&gt;                         &lt;td class=&quot;bl&quot; style=&quot;background:url('+L+&quot;/bl.&quot;+E+') 0 100% no-repeat; width:20px; height:20px; overflow:hidden;&quot; /&gt;                         &lt;td class=&quot;bm&quot; style=&quot;background:url('+L+&quot;/bm.&quot;+E+') 0 100% repeat-x; height:20px; overflow:hidden;&quot; /&gt;                         &lt;td class=&quot;br&quot; style=&quot;background:url('+L+&quot;/br.&quot;+E+') 100% 100% no-repeat; width:20px; height:20px; overflow:hidden;&quot; /&gt;                       &lt;/tr&gt;                     &lt;/tbody&gt;                   &lt;/table&gt;                   &lt;a href=&quot;#&quot; title=&quot;Close&quot; id=&quot;zoom_close&quot; style=&quot;position:absolute; top:0; left:0;&quot;&gt;                     &lt;img src=&quot;'+L+&quot;/closebox.&quot;+E+'&quot; alt=&quot;Close&quot; style=&quot;border:none; margin:0; padding:0;&quot; /&gt;                   &lt;/a&gt;                 &lt;/div&gt;';$(&quot;body&quot;).append(J);$(&quot;html&quot;).click(function(P){if($(P.target).parents(&quot;#zoom:visible&quot;).length==0){K()}});$(document).keyup(function(P){if(P.keyCode==27&amp;&amp;$(&quot;#zoom:visible&quot;).length&gt;0){K()}});$(&quot;#zoom_close&quot;).click(K)}var N=$(&quot;#zoom&quot;);var I=$(&quot;#zoom_table&quot;);var H=$(&quot;#zoom_close&quot;);var G=$(&quot;#zoom_content&quot;);var A=$(&quot;td.ml,td.mm,td.mr&quot;);this.each(function(P){$($(this).attr(&quot;href&quot;)).hide();$(this).click(M)});return this;function M(V){if(D){return false}D=true;var P=$($(this).attr(&quot;href&quot;));var T=O.width;var U=O.height;var Q=window.innerWidth||(window.document.documentElement.clientWidth||window.document.body.clientWidth);var b=window.innerHeight||(window.document.documentElement.clientHeight||window.document.body.clientHeight);var Z=window.pageXOffset||(window.document.documentElement.scrollLeft||window.document.body.scrollLeft);var Y=window.pageYOffset||(window.document.documentElement.scrollTop||window.document.body.scrollTop);var c={width:Q,height:b,x:Z,y:Y};var Q=(T||P.width())+60;var b=(U||P.height())+60;var W=c;var X=Math.max((W.height/2)-(b/2)+Y,0);var a=(W.width/2)-(Q/2);var R=V.pageY;var S=V.pageX;H.attr(&quot;curTop&quot;,R);H.attr(&quot;curLeft&quot;,S);H.attr(&quot;scaleImg&quot;,O.scaleImg?&quot;true&quot;:&quot;false&quot;);$(&quot;#zoom&quot;).hide().css({position:&quot;absolute&quot;,top:R+&quot;px&quot;,left:S+&quot;px&quot;,width:&quot;1px&quot;,height:&quot;1px&quot;});F();H.hide();if(O.closeOnClick){$(&quot;#zoom&quot;).click(K)}if(O.scaleImg){G.html(P.html());$(&quot;#zoom_content img&quot;).css(&quot;width&quot;,&quot;100%&quot;)}else{G.html(&quot;&quot;)}$(&quot;#zoom&quot;).animate({top:X+&quot;px&quot;,left:a+&quot;px&quot;,opacity:&quot;show&quot;,width:Q,height:b},500,null,function(){if(O.scaleImg!=true){G.html(P.html())}C();H.show();D=false});return false}function K(){if(D){return false}D=true;$(&quot;#zoom&quot;).unbind(&quot;click&quot;);F();if(H.attr(&quot;scaleImg&quot;)!=&quot;true&quot;){G.html(&quot;&quot;)}H.hide();$(&quot;#zoom&quot;).animate({top:H.attr(&quot;curTop&quot;)+&quot;px&quot;,left:H.attr(&quot;curLeft&quot;)+&quot;px&quot;,opacity:&quot;hide&quot;,width:&quot;1px&quot;,height:&quot;1px&quot;},500,null,function(){if(H.attr(&quot;scaleImg&quot;)==&quot;true&quot;){G.html(&quot;&quot;)}C();D=false});return false}function B(R){$(&quot;#zoom_table td&quot;).each(function(T){var S=$(this).css(&quot;background-image&quot;).replace(/\.(png|gif|none)\&quot;\)$/,&quot;.&quot;+R+'&quot;)');$(this).css(&quot;background-image&quot;,S)});var Q=H.children(&quot;img&quot;);var P=Q.attr(&quot;src&quot;).replace(/\.(png|gif|none)$/,&quot;.&quot;+R);Q.attr(&quot;src&quot;,P)}function F(){if($.browser.msie&amp;&amp;parseFloat($.browser.version)&gt;=7){B(&quot;gif&quot;)}}function C(){if($.browser.msie&amp;&amp;$.browser.version&gt;=7){B(&quot;png&quot;)}}};
\ No newline at end of file</diff>
      <filename>jquery/js/fancyzoom.min.js</filename>
    </modified>
    <modified>
      <diff>@@ -48,9 +48,9 @@ var FancyZoomBox = {
                   &lt;table id=&quot;zoom_table&quot; style=&quot;border-collapse:collapse; width:100%; height:100%;&quot;&gt; \
                     &lt;tbody&gt; \
                       &lt;tr&gt; \
-                        &lt;td class=&quot;tl&quot; style=&quot;background:url(' + FancyZoomBox.directory + '/tl.png) 0 0 no-repeat; width:20px height:20px; overflow:hidden;&quot; /&gt; \
+                        &lt;td class=&quot;tl&quot; style=&quot;background:url(' + FancyZoomBox.directory + '/tl.png) 0 0 no-repeat; width:20px; height:20px; overflow:hidden;&quot; /&gt; \
                         &lt;td class=&quot;tm&quot; style=&quot;background:url(' + FancyZoomBox.directory + '/tm.png) 0 0 repeat-x; height:20px; overflow:hidden;&quot; /&gt; \
-                        &lt;td class=&quot;tr&quot; style=&quot;background:url(' + FancyZoomBox.directory + '/tr.png) 100% 0 no-repeat; width:20px height:20px; overflow:hidden;&quot; /&gt; \
+                        &lt;td class=&quot;tr&quot; style=&quot;background:url(' + FancyZoomBox.directory + '/tr.png) 100% 0 no-repeat; width:20px; height:20px; overflow:hidden;&quot; /&gt; \
                       &lt;/tr&gt; \
                       &lt;tr&gt; \
                         &lt;td class=&quot;ml&quot; style=&quot;background:url(' + FancyZoomBox.directory + '/ml.png) 0 0 repeat-y; width:20px; overflow:hidden;&quot; /&gt; \
@@ -61,9 +61,9 @@ var FancyZoomBox = {
                         &lt;td class=&quot;mr&quot; style=&quot;background:url(' + FancyZoomBox.directory + '/mr.png) 100% 0 repeat-y;  width:20px; overflow:hidden;&quot; /&gt; \
                       &lt;/tr&gt; \
                       &lt;tr&gt; \
-                        &lt;td class=&quot;bl&quot; style=&quot;background:url(' + FancyZoomBox.directory + '/bl.png) 0 100% no-repeat; width:20px height:20px; overflow:hidden;&quot; /&gt; \
+                        &lt;td class=&quot;bl&quot; style=&quot;background:url(' + FancyZoomBox.directory + '/bl.png) 0 100% no-repeat; width:20px; height:20px; overflow:hidden;&quot; /&gt; \
                         &lt;td class=&quot;bm&quot; style=&quot;background:url(' + FancyZoomBox.directory + '/bm.png) 0 100% repeat-x; height:20px; overflow:hidden;&quot; /&gt; \
-                        &lt;td class=&quot;br&quot; style=&quot;background:url(' + FancyZoomBox.directory + '/br.png) 100% 100% no-repeat; width:20px height:20px; overflow:hidden;&quot; /&gt; \
+                        &lt;td class=&quot;br&quot; style=&quot;background:url(' + FancyZoomBox.directory + '/br.png) 100% 100% no-repeat; width:20px; height:20px; overflow:hidden;&quot; /&gt; \
                       &lt;/tr&gt; \
                     &lt;/tbody&gt; \
                   &lt;/table&gt; \</diff>
      <filename>prototype/js/fancyzoom.js</filename>
    </modified>
    <modified>
      <diff>@@ -1 +1 @@
-Object.extend(String.prototype,{ensureEndsWith:function(A){return this.endsWith(A)?this:this+A},px:function(){return this.ensureEndsWith(&quot;px&quot;)}});Object.extend(Number.prototype,{px:function(){return this.toString().px()}});var Window={size:function(){var C=window.innerWidth||(window.document.documentElement.clientWidth||window.document.body.clientWidth);var B=window.innerHeight||(window.document.documentElement.clientHeight||window.document.body.clientHeight);var A=window.pageXOffset||(window.document.documentElement.scrollLeft||window.document.body.scrollLeft);var D=window.pageYOffset||(window.document.documentElement.scrollTop||window.document.body.scrollTop);return{width:C,height:B,x:A,y:D}}};var FancyZoomBox={directory:&quot;images&quot;,zooming:false,setup:false,init:function(C){if(FancyZoomBox.setup){return }FancyZoomBox.setup=true;var E=navigator.userAgent.match(/MSIE\s(\d)+/);if(E){var B=parseInt(E[1]);Prototype.Browser[&quot;IE&quot;+B.toString()]=true;Prototype.Browser.ltIE7=(B&lt;7)?true:false}var D='&lt;div id=&quot;zoom&quot; style=&quot;display:none;&quot;&gt;                   &lt;table id=&quot;zoom_table&quot; style=&quot;border-collapse:collapse; width:100%; height:100%;&quot;&gt;                     &lt;tbody&gt;                       &lt;tr&gt;                         &lt;td class=&quot;tl&quot; style=&quot;background:url('+FancyZoomBox.directory+'/tl.png) 0 0 no-repeat; width:20px height:20px; overflow:hidden;&quot; /&gt;                         &lt;td class=&quot;tm&quot; style=&quot;background:url('+FancyZoomBox.directory+'/tm.png) 0 0 repeat-x; height:20px; overflow:hidden;&quot; /&gt;                         &lt;td class=&quot;tr&quot; style=&quot;background:url('+FancyZoomBox.directory+'/tr.png) 100% 0 no-repeat; width:20px height:20px; overflow:hidden;&quot; /&gt;                       &lt;/tr&gt;                       &lt;tr&gt;                         &lt;td class=&quot;ml&quot; style=&quot;background:url('+FancyZoomBox.directory+'/ml.png) 0 0 repeat-y; width:20px; overflow:hidden;&quot; /&gt;                         &lt;td class=&quot;mm&quot; style=&quot;background:#fff; vertical-align:top; padding:10px;&quot;&gt;                           &lt;div id=&quot;zoom_content&quot;&gt;                           &lt;/div&gt;                         &lt;/td&gt;                         &lt;td class=&quot;mr&quot; style=&quot;background:url('+FancyZoomBox.directory+'/mr.png) 100% 0 repeat-y;  width:20px; overflow:hidden;&quot; /&gt;                       &lt;/tr&gt;                       &lt;tr&gt;                         &lt;td class=&quot;bl&quot; style=&quot;background:url('+FancyZoomBox.directory+'/bl.png) 0 100% no-repeat; width:20px height:20px; overflow:hidden;&quot; /&gt;                         &lt;td class=&quot;bm&quot; style=&quot;background:url('+FancyZoomBox.directory+'/bm.png) 0 100% repeat-x; height:20px; overflow:hidden;&quot; /&gt;                         &lt;td class=&quot;br&quot; style=&quot;background:url('+FancyZoomBox.directory+'/br.png) 100% 100% no-repeat; width:20px height:20px; overflow:hidden;&quot; /&gt;                       &lt;/tr&gt;                     &lt;/tbody&gt;                   &lt;/table&gt;                   &lt;a href=&quot;#&quot; title=&quot;Close&quot; id=&quot;zoom_close&quot; style=&quot;position:absolute; top:0; left:0;&quot;&gt;                     &lt;img src=&quot;'+FancyZoomBox.directory+'/closebox.png&quot; alt=&quot;Close&quot; style=&quot;border:none; margin:0; padding:0;&quot; /&gt;                   &lt;/a&gt;                 &lt;/div&gt;';var A=$$(&quot;body&quot;).first();A.insert(D);FancyZoomBox.zoom=$(&quot;zoom&quot;);FancyZoomBox.zoom_table=$(&quot;zoom_table&quot;);FancyZoomBox.zoom_close=$(&quot;zoom_close&quot;);FancyZoomBox.zoom_content=$(&quot;zoom_content&quot;);FancyZoomBox.zoom_close.observe(&quot;click&quot;,FancyZoomBox.hide);FancyZoomBox.middle_row=$A([$$(&quot;td.ml&quot;),$$(&quot;td.mm&quot;),$$(&quot;td.mr&quot;)]).flatten();FancyZoomBox.cells=FancyZoomBox.zoom_table.select(&quot;td&quot;);$$(&quot;html&quot;).first().observe(&quot;click&quot;,function(H){var G=H.findElement(&quot;#zoom&quot;),F=FancyZoomBox.zoom.getStyle(&quot;display&quot;);if(F==&quot;block&quot;&amp;&amp;!G){FancyZoomBox.hide(H)}});$(document).observe(&quot;keyup&quot;,function(G){var F=FancyZoomBox.zoom.getStyle(&quot;display&quot;);if(G.keyCode==Event.KEY_ESC&amp;&amp;F==&quot;block&quot;){FancyZoomBox.hide(G)}});if(Prototype.Browser.ltIE7){FancyZoomBox.switchBackgroundImagesTo(&quot;gif&quot;)}},show:function(E){E.stop();if(FancyZoomBox.zooming){return }FancyZoomBox.zooming=true;var C=E.findElement(&quot;a&quot;);var D=C.content_div;var A=(C.zoom_width||D.getWidth())+60;var I=(C.zoom_height||D.getHeight())+60;var F=Window.size();var B=document.viewport.getScrollOffsets()[1];var G=Math.max((F.height/2)-(I/2)+B,0);var H=(F.width/2)-(A/2);FancyZoomBox.curTop=E.pointerY();FancyZoomBox.curLeft=E.pointerX();FancyZoomBox.moveX=-(FancyZoomBox.curLeft-H);FancyZoomBox.moveY=-(FancyZoomBox.curTop-G);FancyZoomBox.zoom.hide().setStyle({position:&quot;absolute&quot;,top:FancyZoomBox.curTop.px(),left:FancyZoomBox.curLeft.px()});new Effect.Parallel([new Effect.Appear(FancyZoomBox.zoom,{sync:true}),new Effect.Move(FancyZoomBox.zoom,{x:FancyZoomBox.moveX,y:FancyZoomBox.moveY,sync:true}),new Effect.Morph(FancyZoomBox.zoom,{style:{width:A.px(),height:I.px()},sync:true,beforeStart:function(J){if(Prototype.Browser.IE){FancyZoomBox.middle_row.invoke(&quot;setStyle&quot;,{height:(I-40).px()})}FancyZoomBox.fixBackgroundsForIE()},afterFinish:function(J){FancyZoomBox.zoom_content.innerHTML=D.innerHTML;FancyZoomBox.unfixBackgroundsForIE();FancyZoomBox.zoom_close.show();FancyZoomBox.zooming=false}})],{duration:0.5})},hide:function(A){A.stop();if(FancyZoomBox.zooming){return }FancyZoomBox.zooming=true;new Effect.Parallel([new Effect.Move(FancyZoomBox.zoom,{x:FancyZoomBox.moveX*-1,y:FancyZoomBox.moveY*-1,sync:true}),new Effect.Morph(FancyZoomBox.zoom,{style:{width:&quot;1&quot;.px(),height:&quot;1&quot;.px()},sync:true,beforeStart:function(B){FancyZoomBox.fixBackgroundsForIE();FancyZoomBox.zoom_content.innerHTML=&quot;&quot;;FancyZoomBox.zoom_close.hide()},afterFinish:function(B){FancyZoomBox.unfixBackgroundsForIE();FancyZoomBox.zooming=false}}),new Effect.Fade(FancyZoomBox.zoom,{sync:true})],{duration:0.5})},switchBackgroundImagesTo:function(C){FancyZoomBox.cells.each(function(E){var D=E.getStyle(&quot;background-image&quot;).gsub(/\.(png|gif|none)\)$/,&quot;.&quot;+C+&quot;)&quot;);E.setStyle(&quot;background-image: &quot;+D)});var B=FancyZoomBox.zoom_close.firstDescendant();var A=B.readAttribute(&quot;src&quot;).gsub(/\.(png|gif|none)$/,&quot;.&quot;+C);B.writeAttribute(&quot;src&quot;,A)},fixBackgroundsForIE:function(){if(Prototype.Browser.IE7){FancyZoomBox.switchBackgroundImagesTo(&quot;gif&quot;)}},unfixBackgroundsForIE:function(){if(Prototype.Browser.IE7){FancyZoomBox.switchBackgroundImagesTo(&quot;png&quot;)}}};var FancyZoom=Class.create({initialize:function(A){this.options=arguments.length&gt;1?arguments[1]:{};FancyZoomBox.init();this.element=$(A);if(this.element){this.element.content_div=$(this.element.readAttribute(&quot;href&quot;).gsub(/^#/,&quot;&quot;));this.element.content_div.hide();this.element.zoom_width=this.options.width;this.element.zoom_height=this.options.height;this.element.observe(&quot;click&quot;,FancyZoomBox.show)}}});
\ No newline at end of file
+Object.extend(String.prototype,{ensureEndsWith:function(A){return this.endsWith(A)?this:this+A},px:function(){return this.ensureEndsWith(&quot;px&quot;)}});Object.extend(Number.prototype,{px:function(){return this.toString().px()}});var Window={size:function(){var C=window.innerWidth||(window.document.documentElement.clientWidth||window.document.body.clientWidth);var B=window.innerHeight||(window.document.documentElement.clientHeight||window.document.body.clientHeight);var A=window.pageXOffset||(window.document.documentElement.scrollLeft||window.document.body.scrollLeft);var D=window.pageYOffset||(window.document.documentElement.scrollTop||window.document.body.scrollTop);return{width:C,height:B,x:A,y:D}}};var FancyZoomBox={directory:&quot;images&quot;,zooming:false,setup:false,init:function(C){if(FancyZoomBox.setup){return }FancyZoomBox.setup=true;var E=navigator.userAgent.match(/MSIE\s(\d)+/);if(E){var B=parseInt(E[1]);Prototype.Browser[&quot;IE&quot;+B.toString()]=true;Prototype.Browser.ltIE7=(B&lt;7)?true:false}var D='&lt;div id=&quot;zoom&quot; style=&quot;display:none;&quot;&gt;                   &lt;table id=&quot;zoom_table&quot; style=&quot;border-collapse:collapse; width:100%; height:100%;&quot;&gt;                     &lt;tbody&gt;                       &lt;tr&gt;                         &lt;td class=&quot;tl&quot; style=&quot;background:url('+FancyZoomBox.directory+'/tl.png) 0 0 no-repeat; width:20px; height:20px; overflow:hidden;&quot; /&gt;                         &lt;td class=&quot;tm&quot; style=&quot;background:url('+FancyZoomBox.directory+'/tm.png) 0 0 repeat-x; height:20px; overflow:hidden;&quot; /&gt;                         &lt;td class=&quot;tr&quot; style=&quot;background:url('+FancyZoomBox.directory+'/tr.png) 100% 0 no-repeat; width:20px; height:20px; overflow:hidden;&quot; /&gt;                       &lt;/tr&gt;                       &lt;tr&gt;                         &lt;td class=&quot;ml&quot; style=&quot;background:url('+FancyZoomBox.directory+'/ml.png) 0 0 repeat-y; width:20px; overflow:hidden;&quot; /&gt;                         &lt;td class=&quot;mm&quot; style=&quot;background:#fff; vertical-align:top; padding:10px;&quot;&gt;                           &lt;div id=&quot;zoom_content&quot;&gt;                           &lt;/div&gt;                         &lt;/td&gt;                         &lt;td class=&quot;mr&quot; style=&quot;background:url('+FancyZoomBox.directory+'/mr.png) 100% 0 repeat-y;  width:20px; overflow:hidden;&quot; /&gt;                       &lt;/tr&gt;                       &lt;tr&gt;                         &lt;td class=&quot;bl&quot; style=&quot;background:url('+FancyZoomBox.directory+'/bl.png) 0 100% no-repeat; width:20px; height:20px; overflow:hidden;&quot; /&gt;                         &lt;td class=&quot;bm&quot; style=&quot;background:url('+FancyZoomBox.directory+'/bm.png) 0 100% repeat-x; height:20px; overflow:hidden;&quot; /&gt;                         &lt;td class=&quot;br&quot; style=&quot;background:url('+FancyZoomBox.directory+'/br.png) 100% 100% no-repeat; width:20px; height:20px; overflow:hidden;&quot; /&gt;                       &lt;/tr&gt;                     &lt;/tbody&gt;                   &lt;/table&gt;                   &lt;a href=&quot;#&quot; title=&quot;Close&quot; id=&quot;zoom_close&quot; style=&quot;position:absolute; top:0; left:0;&quot;&gt;                     &lt;img src=&quot;'+FancyZoomBox.directory+'/closebox.png&quot; alt=&quot;Close&quot; style=&quot;border:none; margin:0; padding:0;&quot; /&gt;                   &lt;/a&gt;                 &lt;/div&gt;';var A=$$(&quot;body&quot;).first();A.insert(D);FancyZoomBox.zoom=$(&quot;zoom&quot;);FancyZoomBox.zoom_table=$(&quot;zoom_table&quot;);FancyZoomBox.zoom_close=$(&quot;zoom_close&quot;);FancyZoomBox.zoom_content=$(&quot;zoom_content&quot;);FancyZoomBox.zoom_close.observe(&quot;click&quot;,FancyZoomBox.hide);FancyZoomBox.middle_row=$A([$$(&quot;td.ml&quot;),$$(&quot;td.mm&quot;),$$(&quot;td.mr&quot;)]).flatten();FancyZoomBox.cells=FancyZoomBox.zoom_table.select(&quot;td&quot;);$$(&quot;html&quot;).first().observe(&quot;click&quot;,function(H){var G=H.findElement(&quot;#zoom&quot;),F=FancyZoomBox.zoom.getStyle(&quot;display&quot;);if(F==&quot;block&quot;&amp;&amp;!G){FancyZoomBox.hide(H)}});$(document).observe(&quot;keyup&quot;,function(G){var F=FancyZoomBox.zoom.getStyle(&quot;display&quot;);if(G.keyCode==Event.KEY_ESC&amp;&amp;F==&quot;block&quot;){FancyZoomBox.hide(G)}});if(Prototype.Browser.ltIE7){FancyZoomBox.switchBackgroundImagesTo(&quot;gif&quot;)}},show:function(E){E.stop();if(FancyZoomBox.zooming){return }FancyZoomBox.zooming=true;var C=E.findElement(&quot;a&quot;);var D=C.content_div;var A=(C.zoom_width||D.getWidth())+60;var I=(C.zoom_height||D.getHeight())+60;var F=Window.size();var B=document.viewport.getScrollOffsets()[1];var G=Math.max((F.height/2)-(I/2)+B,0);var H=(F.width/2)-(A/2);FancyZoomBox.curTop=E.pointerY();FancyZoomBox.curLeft=E.pointerX();FancyZoomBox.moveX=-(FancyZoomBox.curLeft-H);FancyZoomBox.moveY=-(FancyZoomBox.curTop-G);FancyZoomBox.zoom.hide().setStyle({position:&quot;absolute&quot;,top:FancyZoomBox.curTop.px(),left:FancyZoomBox.curLeft.px()});new Effect.Parallel([new Effect.Appear(FancyZoomBox.zoom,{sync:true}),new Effect.Move(FancyZoomBox.zoom,{x:FancyZoomBox.moveX,y:FancyZoomBox.moveY,sync:true}),new Effect.Morph(FancyZoomBox.zoom,{style:{width:A.px(),height:I.px()},sync:true,beforeStart:function(J){if(Prototype.Browser.IE){FancyZoomBox.middle_row.invoke(&quot;setStyle&quot;,{height:(I-40).px()})}FancyZoomBox.fixBackgroundsForIE()},afterFinish:function(J){FancyZoomBox.zoom_content.innerHTML=D.innerHTML;FancyZoomBox.unfixBackgroundsForIE();FancyZoomBox.zoom_close.show();FancyZoomBox.zooming=false}})],{duration:0.5})},hide:function(A){A.stop();if(FancyZoomBox.zooming){return }FancyZoomBox.zooming=true;new Effect.Parallel([new Effect.Move(FancyZoomBox.zoom,{x:FancyZoomBox.moveX*-1,y:FancyZoomBox.moveY*-1,sync:true}),new Effect.Morph(FancyZoomBox.zoom,{style:{width:&quot;1&quot;.px(),height:&quot;1&quot;.px()},sync:true,beforeStart:function(B){FancyZoomBox.fixBackgroundsForIE();FancyZoomBox.zoom_content.innerHTML=&quot;&quot;;FancyZoomBox.zoom_close.hide()},afterFinish:function(B){FancyZoomBox.unfixBackgroundsForIE();FancyZoomBox.zooming=false}}),new Effect.Fade(FancyZoomBox.zoom,{sync:true})],{duration:0.5})},switchBackgroundImagesTo:function(C){FancyZoomBox.cells.each(function(E){var D=E.getStyle(&quot;background-image&quot;).gsub(/\.(png|gif|none)\)$/,&quot;.&quot;+C+&quot;)&quot;);E.setStyle(&quot;background-image: &quot;+D)});var B=FancyZoomBox.zoom_close.firstDescendant();var A=B.readAttribute(&quot;src&quot;).gsub(/\.(png|gif|none)$/,&quot;.&quot;+C);B.writeAttribute(&quot;src&quot;,A)},fixBackgroundsForIE:function(){if(Prototype.Browser.IE7){FancyZoomBox.switchBackgroundImagesTo(&quot;gif&quot;)}},unfixBackgroundsForIE:function(){if(Prototype.Browser.IE7){FancyZoomBox.switchBackgroundImagesTo(&quot;png&quot;)}}};var FancyZoom=Class.create({initialize:function(A){this.options=arguments.length&gt;1?arguments[1]:{};FancyZoomBox.init();this.element=$(A);if(this.element){this.element.content_div=$(this.element.readAttribute(&quot;href&quot;).gsub(/^#/,&quot;&quot;));this.element.content_div.hide();this.element.zoom_width=this.options.width;this.element.zoom_height=this.options.height;this.element.observe(&quot;click&quot;,FancyZoomBox.show)}}});
\ No newline at end of file</diff>
      <filename>prototype/js/fancyzoom.min.js</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>2fb76b1474b6b7275adf4ebaf1a285ae714aff87</id>
    </parent>
  </parents>
  <author>
    <name>John Nunemaker</name>
    <email>nunemaker@gmail.com</email>
  </author>
  <url>http://github.com/jnunemaker/fancy-zoom/commit/66f2a6d41f13011f35f6c6ec7aff434923957a18</url>
  <id>66f2a6d41f13011f35f6c6ec7aff434923957a18</id>
  <committed-date>2008-10-29T18:33:59-07:00</committed-date>
  <authored-date>2008-10-29T18:33:59-07:00</authored-date>
  <message>Added a bunch of semi colons that were missing for some balls weird reason.</message>
  <tree>a84f84a1c4014af4f11f1c37b9ffc9b63b4cca2f</tree>
  <committer>
    <name>John Nunemaker</name>
    <email>nunemaker@gmail.com</email>
  </committer>
</commit>
