<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -18,12 +18,22 @@
     &lt;div id=&quot;player-container&quot;&gt;&lt;/div&gt;
 
     &lt;script type=&quot;text/javascript&quot;&gt;
-    var player = new eidogo.Player({
-        container:       &quot;player-container&quot;,
-        theme:           &quot;compact&quot;,
-        sgfUrl:          &quot;sgf/&quot; + (location.search ? location.search.substring(1) : &quot;example.sgf&quot;),
-        enableShortcuts: true
-    });
+    (function() {
+        var params = {},
+            pairs = location.search ? location.search.substring(1).split(/&amp;/) : [],
+            i, keyval;
+        for (i = 0; i &lt; pairs.length; i++) {
+            keyval = pairs[i].split(/\=/);
+            params[keyval[0]] = keyval[1];
+        }
+        window.player = new eidogo.Player({
+            container:       &quot;player-container&quot;,
+            theme:           &quot;compact&quot;,
+            sgfUrl:          &quot;sgf/&quot; + (params.sgf ? params.sgf : &quot;example.sgf&quot;),
+            enableShortcuts: true
+        });    
+    })();
+    
     &lt;/script&gt;
     
 &lt;/body&gt;</diff>
      <filename>example_bare.html</filename>
    </modified>
    <modified>
      <diff>@@ -13,7 +13,7 @@
 	
     &lt;h1&gt;EidoGo Player IFrame Example&lt;/h1&gt;
 
-    &lt;iframe src=&quot;example_bare.html?blood_vomit.sgf&quot; frameborder=0 width=423 height=533&gt;&lt;/iframe&gt;
+    &lt;iframe src=&quot;example_bare.html?sgf=blood_vomit.sgf&quot; frameborder=0 width=423 height=533&gt;&lt;/iframe&gt;
     
     &lt;br&gt;&lt;br&gt;
     </diff>
      <filename>example_iframe.html</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>e80b7510eb6d61cc35817c2a44371358a5e03967</id>
    </parent>
  </parents>
  <author>
    <name>Justin Kramer</name>
    <email>jkkramer@gmail.com</email>
  </author>
  <url>http://github.com/jkk/eidogo/commit/2f68a3f8af7f2d4d1eac21b74c4eea09a1177cc6</url>
  <id>2f68a3f8af7f2d4d1eac21b74c4eea09a1177cc6</id>
  <committed-date>2008-05-21T21:11:48-07:00</committed-date>
  <authored-date>2008-05-21T21:11:48-07:00</authored-date>
  <message>for bare example, load sgf from 'sgf' url param, not just plain query string</message>
  <tree>af7fd5364a574d4259c7ca481f0c71102a025b4e</tree>
  <committer>
    <name>Justin Kramer</name>
    <email>jkkramer@gmail.com</email>
  </committer>
</commit>
