<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -34,7 +34,7 @@
   
   div#zoom h2               {margin:10px 0 10px;}
   div#zoom p                {line-height:1.6;}
-
+	
 	div#wrapper 							{background:#fff; width:560px; margin:0 auto; padding:20px; border:10px solid #bc8c46; border-width:0 10px;}
 	div#header								{position:relative; border-bottom:1px dotted; margin:0 0 10px; padding:0 0 10px;}
 	div#header p							{margin:0; padding:0;}
@@ -45,4 +45,20 @@
 	div#content								{}
   div#content p             {line-height:1.6;}
 	div#footer								{clear:both; margin:40px 0 0; border-top:1px dotted; padding:10px 0 0;}
+	
+/* ---- The Zoom box ---- */
+	/* Fancy border radii */
+	div#zoom.edgy					{ background: #fff; height: 600px; width: 520px; -webkit-border-radius: 4px; -moz-border-radius: 5px; -o-border-radius: 4px; -khtml-border-radius: 4px; -webkit-box-shadow: rgba(20,20,20,0.75) 0 2px 10px; }
+	/* And now for some IE love, since they don't understand radii */
+	div#zoom.edgy 				{ *border: 3px solid rgba(30,30,30,0.75); }
+	
+	div#zoom.edgy a#zoom_close { border: 0; margin: 0; padding: 0; position: absolute; top: -10px; left: -10px; }
+	div#zoom.edgy #zoom_content	{ margin: 20px; position: relative; }
+}
+/* Show some mozilla love */
+/* Change domain to your site domain */
+/* Remove the border property if FF 3.1 is more popular than FF 3 */
+@-moz-document domain(exile.local)
+{
+	div#zoom.edgy { border: 4px solid rgba(30,30,30,0.4); -moz-box-shadow: rgba(30,30,30,0.75) 0 2px 10px; }
 }
\ No newline at end of file</diff>
      <filename>css/common.css</filename>
    </modified>
    <modified>
      <diff>@@ -6,33 +6,34 @@ jQuery.fn.fancyZoom = function(options){
 
   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;';
+		
+		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;';
                 
     $('body').append(html);
     </diff>
      <filename>jquery/js/fancyzoom.js</filename>
    </modified>
    <modified>
      <diff>@@ -9,7 +9,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).observe('dom:loaded', function() {
-			$$(&quot;div.photo a&quot;).each(function(el) { new FancyZoom(el); })
+			$$(&quot;div.photo a&quot;).each(function(el) { new FancyZoom(el, {edgy:true}); })
 			new FancyZoom('medium_box_link', {width:400, height:300});
 			new FancyZoom('large_box_link');
 			new FancyZoom('flash_box_link');</diff>
      <filename>prototype/index.html</filename>
    </modified>
    <modified>
      <diff>@@ -33,44 +33,59 @@ var FancyZoomBox = {
   zooming   : false,
   setup     : false,
   
-  init: function(directory) {
+  init: function(is_edgy, directory) {
     if (FancyZoomBox.setup) return;
     FancyZoomBox.setup = true;
-    
+		
+		// Let's set the box padding differently if we're using the edgy version
+		extraWidth	=	(is_edgy) ? 40 : 60;
+		extraHeight	=	(is_edgy) ? 40 : 60;
+		
     var ie = navigator.userAgent.match(/MSIE\s(\d)+/);
-    if (ie) {
+    if (ie &amp;&amp; !is_edgy) {
       var version = parseInt(ie[1]);
       Prototype.Browser['IE' + version.toString()] = true;
       Prototype.Browser.ltIE7 = (version &lt; 7) ? true : 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;';
+		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;';
+		}
     
     var body  = $$('body').first();
     body.insert(html);
@@ -80,8 +95,10 @@ var FancyZoomBox = {
     FancyZoomBox.zoom_close = $('zoom_close');
     FancyZoomBox.zoom_content = $('zoom_content');
     FancyZoomBox.zoom_close.observe('click', FancyZoomBox.hide);
-    FancyZoomBox.middle_row = $A([$$('td.ml'), $$('td.mm'), $$('td.mr')]).flatten();
-    FancyZoomBox.cells = FancyZoomBox.zoom_table.select('td');
+		if (!is_edgy) {
+			FancyZoomBox.middle_row = $A([$$('td.ml'), $$('td.mm'), $$('td.mr')]).flatten();
+	    FancyZoomBox.cells = FancyZoomBox.zoom_table.select('td');
+		};
     
     // hide zoom if click fired is not inside zoom
     $$('html').first().observe('click', function(e) {
@@ -101,7 +118,7 @@ var FancyZoomBox = {
     });
     
     // just use gifs as ie6 and below suck
-    if (Prototype.Browser.ltIE7) {
+    if (Prototype.Browser.ltIE7 &amp;&amp; !is_edgy) {
       FancyZoomBox.switchBackgroundImagesTo('gif');
     }    
   },
@@ -112,8 +129,8 @@ var FancyZoomBox = {
 		FancyZoomBox.zooming   = true;
 		var element            = e.findElement('a');
 		var related_div        = element.content_div;
-		var width              = (element.zoom_width || related_div.getWidth()) + 60;
-		var height             = (element.zoom_height || related_div.getHeight()) + 60;
+		var width              = (element.zoom_width || related_div.getWidth()) + extraWidth;
+		var height             = (element.zoom_height || related_div.getHeight()) + extraHeight;
 		var d                  = Window.size();
 		var yOffset            = document.viewport.getScrollOffsets()[1];
 		// ensure that newTop is at least 0 so it doesn't hide close button
@@ -208,7 +225,9 @@ var FancyZoomBox = {
 var FancyZoom = Class.create({
 	initialize: function(element) {
 	  this.options = arguments.length &gt; 1 ? arguments[1] : {};
-	  FancyZoomBox.init();
+		this.edgy = (this.options.edgy) ? true : false;
+		console.log('edgy? '+this.edgy);
+	  FancyZoomBox.init(this.edgy);
 	  this.element = $(element);
 		if (this.element) {
 		  this.element.content_div = $(this.element.readAttribute('href').gsub(/^#/, ''));</diff>
      <filename>prototype/js/fancyzoom.js</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>d69e0564380a699109d3d9eb56a21207ed0ed28f</id>
    </parent>
  </parents>
  <author>
    <name>Micheal Stickel</name>
    <email>mike@ma0301b-dhcp200.apple.com</email>
  </author>
  <url>http://github.com/stickel/fancy-zoom/commit/08f2bdf812638bdfcb6e17143f62ceee6cc7f7c9</url>
  <id>08f2bdf812638bdfcb6e17143f62ceee6cc7f7c9</id>
  <committed-date>2008-09-05T13:49:57-07:00</committed-date>
  <authored-date>2008-09-05T13:49:57-07:00</authored-date>
  <message>Modifying the prototype version to have an 'edgy' option</message>
  <tree>16374c35543b84de425c1fa68490e71ae6d5fdd5</tree>
  <committer>
    <name>Micheal Stickel</name>
    <email>mike@ma0301b-dhcp200.apple.com</email>
  </committer>
</commit>
