<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -8,7 +8,7 @@
 	&lt;script type=&quot;text/javascript&quot; src=&quot;js/fancyzoom.js&quot;&gt;&lt;/script&gt;
 	&lt;script type=&quot;text/javascript&quot; charset=&quot;utf-8&quot;&gt;
 		$(document).ready(function() {
-			$('div.photo a').fancyZoom({scaleImg: true, closeOnClick: true});
+			$('div.photo a').fancyZoom({scaleImg: true, closeOnClick: true, edgy:true});
 			$('#medium_box_link').fancyZoom({width:400, height:300});
 			$('#large_box_link').fancyZoom();
 			$('#flash_box_link').fancyZoom();</diff>
      <filename>jquery/index.html</filename>
    </modified>
    <modified>
      <diff>@@ -3,37 +3,55 @@ jQuery.fn.fancyZoom = function(options){
   var options   = options || {};
   var directory = options &amp;&amp; options.directory ? options.directory : 'images';
   var zooming   = false;
+	var is_edgy		=	options &amp;&amp; options.edgy ? options.edgy : false;
+	
+	// Set the extra width/height based on is_edgy
+	var extraWidth	=	(is_edgy) ? 40 : 60;
+	var extraHeight	=	(is_edgy) ? 40 : 60;
 
   if ($('#zoom').length == 0) {
-    var ext = $.browser.msie ? 'gif' : 'png';
-		
-		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 + '/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;/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; \
-		                        &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 + '/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;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;/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 + '/closebox.' + ext + '&quot; alt=&quot;Close&quot; style=&quot;border:none; margin:0; padding:0;&quot; /&gt; \
-		                  &lt;/a&gt; \
-		                &lt;/div&gt;';
+		switch(is_edgy) {
+			case true:
+			console.log('test');
+				var html = '&lt;div id=&quot;zoom&quot; class=&quot;edgy&quot; style=&quot;display:none;&quot;&gt; \
+											&lt;div id=&quot;zoom_content&quot;&gt; \
+											&lt;/div&gt; &lt;!-- /zoom_content --&gt; \
+											&lt;a href=&quot;#&quot; title=&quot;Close&quot; id=&quot;zoom_close&quot;&gt; \
+												&lt;img src=&quot;' + directory + '/closebox.png&quot; alt=&quot;Close&quot; /&gt; \
+											&lt;/a&gt; \
+										&lt;/div&gt; &lt;!-- /zoom --&gt;';
+			break;
+			case false:
+		    var ext = $.browser.msie ? 'gif' : 'png';
+				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 + '/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;/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; \
+				                        &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 + '/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;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;/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 + '/closebox.' + ext + '&quot; alt=&quot;Close&quot; style=&quot;border:none; margin:0; padding:0;&quot; /&gt; \
+				                  &lt;/a&gt; \
+				                &lt;/div&gt;';
+				break;
+		}
                 
     $('body').append(html);
     
@@ -71,8 +89,8 @@ jQuery.fn.fancyZoom = function(options){
   	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 width              = (zoom_width || content_div.width()) + extraWidth;
+		var height             = (zoom_height || content_div.height()) + extraHeight;
 		var d                  = window_size;
 		
 		// ensure that newTop is at least 0 so it doesn't hide close button</diff>
      <filename>jquery/js/fancyzoom.js</filename>
    </modified>
    <modified>
      <diff>@@ -10,7 +10,7 @@
 	&lt;script type=&quot;text/javascript&quot; charset=&quot;utf-8&quot;&gt;
 		$(document).observe('dom:loaded', function() {
 			$$(&quot;div.photo a&quot;).each(function(el) { new FancyZoom(el, {edgy:true}); })
-			new FancyZoom('medium_box_link', {width:400, height:300});
+			new FancyZoom('medium_box_link', {width:300, height:100});
 			new FancyZoom('large_box_link');
 			new FancyZoom('flash_box_link');
 		});</diff>
      <filename>prototype/index.html</filename>
    </modified>
    <modified>
      <diff>@@ -47,44 +47,45 @@ var FancyZoomBox = {
       Prototype.Browser['IE' + version.toString()] = true;
       Prototype.Browser.ltIE7 = (version &lt; 7) ? true : false;
     }
-    
-		if(is_edgy) {
-			var html = '&lt;div id=&quot;zoom&quot; class=&quot;edgy&quot; style=&quot;display:none;&quot;&gt; \
-										&lt;div id=&quot;zoom_content&quot;&gt; \
-											\
-										&lt;/div&gt; &lt;!-- /zoom_content --&gt; \
-										&lt;a href=&quot;#&quot; title=&quot;Close&quot; id=&quot;zoom_close&quot;&gt; \
-											&lt;img src=&quot;' + FancyZoomBox.directory + '/closebox.png&quot; alt=&quot;Close&quot; /&gt; \
-										&lt;/a&gt; \
-									&lt;/div&gt; &lt;!-- /zoom --&gt;';
-		} else {
-    	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(' + 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;';
+    switch(is_edgy) {
+			case true:
+				var html = '&lt;div id=&quot;zoom&quot; class=&quot;edgy&quot; style=&quot;display:none;&quot;&gt; \
+											&lt;div id=&quot;zoom_content&quot;&gt; \
+											&lt;/div&gt; &lt;!-- /zoom_content --&gt; \
+											&lt;a href=&quot;#&quot; title=&quot;Close&quot; id=&quot;zoom_close&quot;&gt; \
+												&lt;img src=&quot;' + FancyZoomBox.directory + '/closebox.png&quot; alt=&quot;Close&quot; /&gt; \
+											&lt;/a&gt; \
+										&lt;/div&gt; &lt;!-- /zoom --&gt;';
+			break;
+			case false:
+	    	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(' + 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;';
+			break;
 		}
     
     var body  = $$('body').first();
@@ -226,7 +227,6 @@ var FancyZoom = Class.create({
 	initialize: function(element) {
 	  this.options = arguments.length &gt; 1 ? arguments[1] : {};
 		this.edgy = (this.options.edgy) ? true : false;
-		console.log('edgy? '+this.edgy);
 	  FancyZoomBox.init(this.edgy);
 	  this.element = $(element);
 		if (this.element) {</diff>
      <filename>prototype/js/fancyzoom.js</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>08f2bdf812638bdfcb6e17143f62ceee6cc7f7c9</id>
    </parent>
  </parents>
  <author>
    <name>Micheal Stickel</name>
    <email>mike@ma0301b-dhcp200.apple.com</email>
  </author>
  <url>http://github.com/stickel/fancy-zoom/commit/708eaac65b866cc35b6702438ea9cf0b01563399</url>
  <id>708eaac65b866cc35b6702438ea9cf0b01563399</id>
  <committed-date>2008-09-05T17:37:25-07:00</committed-date>
  <authored-date>2008-09-05T17:37:25-07:00</authored-date>
  <message>Getting rid of some log's and cruft in the Prototype version, and adding an edgy jQuery version</message>
  <tree>7bbb9e6736e7b6d0866a82cdaa188def5b3fc91b</tree>
  <committer>
    <name>Micheal Stickel</name>
    <email>mike@ma0301b-dhcp200.apple.com</email>
  </committer>
</commit>
