<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1 +1 @@
-(function($){$.fn.fancyZoom=function(options){var options=options||{};var directory=options&amp;&amp;options.directory?options.directory:&quot;images&quot;;var zooming=false;if($(&quot;#zoom&quot;).length==0){var ext=$.browser.msie?&quot;gif&quot;:&quot;png&quot;;var html='&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('+directory+&quot;/tl.&quot;+ext+') 0 0 no-repeat; width:20px; height:20px; overflow:hidden;&quot; /&gt;                         &lt;td class=&quot;tm&quot; style=&quot;background:url('+directory+&quot;/tm.&quot;+ext+') 0 0 repeat-x; height:20px; overflow:hidden;&quot; /&gt;                         &lt;td class=&quot;tr&quot; style=&quot;background:url('+directory+&quot;/tr.&quot;+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+&quot;/ml.&quot;+ext+') 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('+directory+&quot;/mr.&quot;+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+&quot;/bl.&quot;+ext+') 0 100% no-repeat; width:20px; height:20px; overflow:hidden;&quot; /&gt;                         &lt;td class=&quot;bm&quot; style=&quot;background:url('+directory+&quot;/bm.&quot;+ext+') 0 100% repeat-x; height:20px; overflow:hidden;&quot; /&gt;                         &lt;td class=&quot;br&quot; style=&quot;background:url('+directory+&quot;/br.&quot;+ext+') 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;'+directory+&quot;/closebox.&quot;+ext+'&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(html);$(&quot;html&quot;).click(function(e){if($(e.target).parents(&quot;#zoom:visible&quot;).length==0){hide();}});$(document).keyup(function(event){if(event.keyCode==27&amp;&amp;$(&quot;#zoom:visible&quot;).length&gt;0){hide();}});$(&quot;#zoom_close&quot;).click(hide);}var zoom=$(&quot;#zoom&quot;);var zoom_table=$(&quot;#zoom_table&quot;);var zoom_close=$(&quot;#zoom_close&quot;);var zoom_content=$(&quot;#zoom_content&quot;);var middle_row=$(&quot;td.ml,td.mm,td.mr&quot;);this.each(function(i){$($(this).attr(&quot;href&quot;)).hide();$(this).click(show);});return this;function show(e){if(zooming){return false;}zooming=true;var content_div=$($(this).attr(&quot;href&quot;));var zoom_width=options.width;var zoom_height=options.height;var width=window.innerWidth||(window.document.documentElement.clientWidth||window.document.body.clientWidth);var height=window.innerHeight||(window.document.documentElement.clientHeight||window.document.body.clientHeight);var x=window.pageXOffset||(window.document.documentElement.scrollLeft||window.document.body.scrollLeft);var y=window.pageYOffset||(window.document.documentElement.scrollTop||window.document.body.scrollTop);var window_size={width:width,height:height,x:x,y:y};var width=(zoom_width||content_div.width())+60;var height=(zoom_height||content_div.height())+60;var d=window_size;var newTop=Math.max((d.height/2)-(height/2)+y,0);var newLeft=(d.width/2)-(width/2);var curTop=e.pageY;var curLeft=e.pageX;zoom_close.attr(&quot;curTop&quot;,curTop);zoom_close.attr(&quot;curLeft&quot;,curLeft);zoom_close.attr(&quot;scaleImg&quot;,options.scaleImg?&quot;true&quot;:&quot;false&quot;);$(&quot;#zoom&quot;).hide().css({position:&quot;absolute&quot;,top:curTop+&quot;px&quot;,left:curLeft+&quot;px&quot;,width:&quot;1px&quot;,height:&quot;1px&quot;});fixBackgroundsForIE();zoom_close.hide();if(options.closeOnClick){$(&quot;#zoom&quot;).click(hide);}if(options.scaleImg){zoom_content.html(content_div.html());$(&quot;#zoom_content img&quot;).css(&quot;width&quot;,&quot;100%&quot;);}else{zoom_content.html(&quot;&quot;);}$(&quot;#zoom&quot;).animate({top:newTop+&quot;px&quot;,left:newLeft+&quot;px&quot;,opacity:&quot;show&quot;,width:width,height:height},500,null,function(){if(options.scaleImg!=true){zoom_content.html(content_div.html());}unfixBackgroundsForIE();zoom_close.show();zooming=false;});return false;}function hide(){if(zooming){return false;}zooming=true;$(&quot;#zoom&quot;).unbind(&quot;click&quot;);fixBackgroundsForIE();if(zoom_close.attr(&quot;scaleImg&quot;)!=&quot;true&quot;){zoom_content.html(&quot;&quot;);}zoom_close.hide();$(&quot;#zoom&quot;).animate({top:zoom_close.attr(&quot;curTop&quot;)+&quot;px&quot;,left:zoom_close.attr(&quot;curLeft&quot;)+&quot;px&quot;,opacity:&quot;hide&quot;,width:&quot;1px&quot;,height:&quot;1px&quot;},500,null,function(){if(zoom_close.attr(&quot;scaleImg&quot;)==&quot;true&quot;){zoom_content.html(&quot;&quot;);}unfixBackgroundsForIE();zooming=false;});return false;}function switchBackgroundImagesTo(to){$(&quot;#zoom_table td&quot;).each(function(i){var bg=$(this).css(&quot;background-image&quot;).replace(/\.(png|gif|none)\&quot;\)$/,&quot;.&quot;+to+'&quot;)');$(this).css(&quot;background-image&quot;,bg);});var close_img=zoom_close.children(&quot;img&quot;);var new_img=close_img.attr(&quot;src&quot;).replace(/\.(png|gif|none)$/,&quot;.&quot;+to);close_img.attr(&quot;src&quot;,new_img);}function fixBackgroundsForIE(){if($.browser.msie&amp;&amp;parseFloat($.browser.version)&gt;=7){switchBackgroundImagesTo(&quot;gif&quot;);}}function unfixBackgroundsForIE(){if($.browser.msie&amp;&amp;$.browser.version&gt;=7){switchBackgroundImagesTo(&quot;png&quot;);}}};})(jQuery);
\ No newline at end of file
+(function(a){a.fn.fancyZoom=function(p){var p=p||{};var m=p&amp;&amp;p.directory?p.directory:&quot;images&quot;;var e=false;if(a(&quot;#zoom&quot;).length==0){var f=a.browser.msie?&quot;gif&quot;:&quot;png&quot;;var k='&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('+m+&quot;/tl.&quot;+f+') 0 0 no-repeat; width:20px; height:20px; overflow:hidden;&quot; /&gt;                         &lt;td class=&quot;tm&quot; style=&quot;background:url('+m+&quot;/tm.&quot;+f+') 0 0 repeat-x; height:20px; overflow:hidden;&quot; /&gt;                         &lt;td class=&quot;tr&quot; style=&quot;background:url('+m+&quot;/tr.&quot;+f+') 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('+m+&quot;/ml.&quot;+f+') 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('+m+&quot;/mr.&quot;+f+') 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('+m+&quot;/bl.&quot;+f+') 0 100% no-repeat; width:20px; height:20px; overflow:hidden;&quot; /&gt;                         &lt;td class=&quot;bm&quot; style=&quot;background:url('+m+&quot;/bm.&quot;+f+') 0 100% repeat-x; height:20px; overflow:hidden;&quot; /&gt;                         &lt;td class=&quot;br&quot; style=&quot;background:url('+m+&quot;/br.&quot;+f+') 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;'+m+&quot;/closebox.&quot;+f+'&quot; alt=&quot;Close&quot; style=&quot;border:none; margin:0; padding:0;&quot; /&gt;                   &lt;/a&gt;                 &lt;/div&gt;';a(&quot;body&quot;).append(k);a(&quot;html&quot;).click(function(q){if(a(q.target).parents(&quot;#zoom:visible&quot;).length==0){l();}});a(document).keyup(function(q){if(q.keyCode==27&amp;&amp;a(&quot;#zoom:visible&quot;).length&gt;0){l();}});a(&quot;#zoom_close&quot;).click(l);}var o=a(&quot;#zoom&quot;);var j=a(&quot;#zoom_table&quot;);var i=a(&quot;#zoom_close&quot;);var h=a(&quot;#zoom_content&quot;);var b=a(&quot;td.ml,td.mm,td.mr&quot;);this.each(function(q){a(a(this).attr(&quot;href&quot;)).hide();a(this).click(n);});return this;function n(w){if(e){return false;}e=true;var q=a(a(this).attr(&quot;href&quot;));var u=p.width;var v=p.height;var r=window.innerWidth||(window.document.documentElement.clientWidth||window.document.body.clientWidth);var E=window.innerHeight||(window.document.documentElement.clientHeight||window.document.body.clientHeight);var C=window.pageXOffset||(window.document.documentElement.scrollLeft||window.document.body.scrollLeft);var B=window.pageYOffset||(window.document.documentElement.scrollTop||window.document.body.scrollTop);var F={width:r,height:E,x:C,y:B};var r=(u||q.width())+60;var E=(v||q.height())+60;var z=F;var A=Math.max((z.height/2)-(E/2)+B,0);var D=(z.width/2)-(r/2);var s=w.pageY;var t=w.pageX;i.attr(&quot;curTop&quot;,s);i.attr(&quot;curLeft&quot;,t);i.attr(&quot;scaleImg&quot;,p.scaleImg?&quot;true&quot;:&quot;false&quot;);a(&quot;#zoom&quot;).hide().css({position:&quot;absolute&quot;,top:s+&quot;px&quot;,left:t+&quot;px&quot;,width:&quot;1px&quot;,height:&quot;1px&quot;});g();i.hide();if(p.closeOnClick){a(&quot;#zoom&quot;).click(l);}if(p.scaleImg){h.html(q.html());a(&quot;#zoom_content img&quot;).css(&quot;width&quot;,&quot;100%&quot;);}else{h.html(&quot;&quot;);}a(&quot;#zoom&quot;).animate({top:A+&quot;px&quot;,left:D+&quot;px&quot;,opacity:&quot;show&quot;,width:r,height:E},500,null,function(){if(p.scaleImg!=true){h.html(q.html());}d();i.show();e=false;});return false;}function l(){if(e){return false;}e=true;a(&quot;#zoom&quot;).unbind(&quot;click&quot;);g();if(i.attr(&quot;scaleImg&quot;)!=&quot;true&quot;){h.html(&quot;&quot;);}i.hide();a(&quot;#zoom&quot;).animate({top:i.attr(&quot;curTop&quot;)+&quot;px&quot;,left:i.attr(&quot;curLeft&quot;)+&quot;px&quot;,opacity:&quot;hide&quot;,width:&quot;1px&quot;,height:&quot;1px&quot;},500,null,function(){if(i.attr(&quot;scaleImg&quot;)==&quot;true&quot;){h.html(&quot;&quot;);}d();e=false;});return false;}function c(s){a(&quot;#zoom_table td&quot;).each(function(u){var t=a(this).css(&quot;background-image&quot;).replace(/\.(png|gif|none)\&quot;\)$/,&quot;.&quot;+s+'&quot;)');a(this).css(&quot;background-image&quot;,t);});var r=i.children(&quot;img&quot;);var q=r.attr(&quot;src&quot;).replace(/\.(png|gif|none)$/,&quot;.&quot;+s);r.attr(&quot;src&quot;,q);}function g(){if(a.browser.msie&amp;&amp;parseFloat(a.browser.version)&gt;=7){c(&quot;gif&quot;);}}function d(){if(a.browser.msie&amp;&amp;a.browser.version&gt;=7){c(&quot;png&quot;);}}};})(jQuery);
\ No newline at end of file</diff>
      <filename>jquery/js/fancyzoom.min.js</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>a6eb79d5cede2cb606ebcbc7a8862eeedb04823b</id>
    </parent>
  </parents>
  <author>
    <name>dave</name>
    <email>dave@dealerflow.com</email>
  </author>
  <url>http://github.com/jnunemaker/fancy-zoom/commit/78e83432cf136e94cd61ced97511a2f35ae8bf40</url>
  <id>78e83432cf136e94cd61ced97511a2f35ae8bf40</id>
  <committed-date>2009-04-09T10:50:57-07:00</committed-date>
  <authored-date>2009-03-17T08:09:42-07:00</authored-date>
  <message>Better minification with variable obfuscation.

Signed-off-by: John Nunemaker &lt;nunemaker@gmail.com&gt;</message>
  <tree>26f92b6627b62b9635db098dec40f3c4101700fe</tree>
  <committer>
    <name>John Nunemaker</name>
    <email>nunemaker@gmail.com</email>
  </committer>
</commit>
