<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>LICENSE</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -9,33 +9,34 @@ function onInitialized(widget) {
   widget.getMap().addControl(new GSmallMapControl());  
   // If input fields have values, this will display current position on the map otherwise center map on user location
   widget.initMap(true);
+  $('street').focus();
 }
 
 function onSuggestsSearch(widget) {
   // Enable submit button
-  document.getElementById('submit').disabled = true;
+  $('submit').disabled = true;
   // Remove spinner
-  document.getElementById('big_spinner').style.display = 'block';
+  $('big_spinner').style.display = 'block';
 }
 
 function onSuggestsFound(widget, placemarks) {
   // Disable submit button
-  document.getElementById('submit').disabled = !placemarks || placemarks.length == 0;
+  $('submit').disabled = !placemarks || placemarks.length == 0;
   // Remove spinner
-  document.getElementById('big_spinner').style.display = 'none';
+  $('big_spinner').style.display = 'none';
 }
 
 function displayAddress() {
   var text = 'Address:',
-      lat = document.getElementById('lat'),
-      lng = document.getElementById('lng');
+      lat = $('lat'),
+      lng = $('lng');
   
   if (lat.value) {
     text += widget.getCurrentAddress();
     text += '\n'
-    text += 'latitude: ' + document.getElementById('lat').value;
+    text += 'latitude: ' + $('lat').value;
     text += '\n'
-    text += 'longitude: ' + document.getElementById('lng').value;
+    text += 'longitude: ' + $('lng').value;
   }
   else {
     text += 'No location found'</diff>
      <filename>lib/pdoc_templates/html/assets/javascripts/demo.js</filename>
    </modified>
    <modified>
      <diff>@@ -52,25 +52,25 @@ This widget is mainly inspired by &lt;a href=&quot;http://www.google.com/local/add/looku
 &lt;ul class='features'&gt;
   &lt;li&gt;&lt;strong&gt;Javascript framework-agnostic&lt;/strong&gt;. You can use it as is or with any great frameworks like Prototype, JQuery, YUI ...&lt;/li&gt;
   &lt;li&gt;
-    &lt;strong&gt;mapping system independent&lt;/strong&gt;. The current implementation is based on Google Map using a Google Map proxy object. 
+    &lt;strong&gt;Mapping system independent&lt;/strong&gt;. The current implementation is based on Google Map using a Google Map proxy object. 
     &lt;br/&gt;
     But you can create your own map proxy (Yahoo Map for instance). You need to implement public method of Map Proxy object.
   &lt;/li&gt;
   &lt;li&gt;&lt;strong&gt;Interactive map&lt;/strong&gt; display location while you are typing an address.&lt;/li&gt;
   &lt;li&gt;&lt;strong&gt;Center map on user location&lt;/strong&gt; (based on its IP) if mapping system allows it.&lt;/li&gt;
-  &lt;li&gt;Works on Safari, Firefox, IE 6/7, Chrome and Opera&lt;/li&gt;
-  &lt;li&gt;Documentation generated with &lt;a href='http://www.pdoc.org'&gt;PDoc&lt;/a&gt; &lt;/li&gt;
-  &lt;li&gt;Packed version &lt;strong&gt;under 6Ko&lt;/strong&gt;&lt;/li&gt;
-  &lt;li&gt;&lt;strong&gt;Open source&lt;/strong&gt;, code available on &lt;a href='http://github.com/mapeed/addresschooser/'&gt;github&lt;/a&gt;
+  &lt;li&gt;Works on Safari, Firefox, IE 6/7, Chrome and Opera.&lt;/li&gt;
+  &lt;li&gt;Documentation generated with &lt;a href='http://www.pdoc.org'&gt;PDoc&lt;/a&gt;.&lt;/li&gt;
+  &lt;li&gt;Packed version &lt;strong&gt;under 6Ko&lt;/strong&gt;.&lt;/li&gt;
+  &lt;li&gt;&lt;strong&gt;Open source&lt;/strong&gt;, full code available on &lt;a href='http://github.com/mapeed/addresschooser/'&gt;github.&lt;/a&gt;
   &lt;li&gt;...&lt;/li&gt;
 &lt;/ul&gt;
 Check out examples and documentation for API details.
 
 &lt;h1&gt;Download&lt;/h1&gt;
 &lt;ul class='features'&gt;
-  &lt;li&gt;From  &lt;a href=&quot;http://github.com/mapeed/addresschooser/tree/master&quot;&gt;github&lt;/a&gt;&lt;/li&gt;
-  &lt;li&gt;Only javascript file: &lt;a href=&quot;../dist/addresschooser.js&quot;&gt;Full code&lt;/a&gt; or &lt;a href=&quot;../dist/addresschooser_packed.js&quot;&gt;Packed version&lt;/a&gt;&lt;/li&gt;
-  &lt;li&gt;&lt;a href=&quot;http://github.com/mapeed/addresschooser/zipball/master&quot;&gt;Zip file&lt;/a&gt;&lt;/li&gt;
+  &lt;li&gt;Full code from  &lt;a href=&quot;http://github.com/mapeed/addresschooser/tree/master&quot;&gt;github&lt;/a&gt;. If you fix bugs or add features, it's the best way to start with.&lt;/li&gt;
+  &lt;li&gt;Full code from a &lt;a href=&quot;http://github.com/mapeed/addresschooser/zipball/master&quot;&gt;zip file&lt;/a&gt;.&lt;/li&gt;
+  &lt;li&gt;Or if you just want the javascript file: &lt;a href=&quot;../dist/addresschooser.js&quot;&gt;Uncompressed&lt;/a&gt; or &lt;a href=&quot;../dist/addresschooser_packed.js&quot;&gt;Packed version&lt;/a&gt;.&lt;/li&gt;
 &lt;/ul&gt;
 
 &lt;script src=&quot;http://maps.google.com/jsapi?key=ABQIAAAAPvuQxAHKdvs2AzUcIgAydBSETxe3qBmLdxF0QQkLqemEKq7m_hQlfgsFv1oarKkV90vgnDaysupsXQ&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;</diff>
      <filename>lib/pdoc_templates/html/index.erb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>48475de3adc6c10da3a8619703b468732b388c9e</id>
    </parent>
  </parents>
  <author>
    <name>sgruhier</name>
    <email>sgruhier@mac.com</email>
  </author>
  <url>http://github.com/mapeed/addresschooser/commit/177316f7ca44a984933d671b6debb5db5ecac85f</url>
  <id>177316f7ca44a984933d671b6debb5db5ecac85f</id>
  <committed-date>2009-01-04T00:15:33-08:00</committed-date>
  <authored-date>2009-01-04T00:15:33-08:00</authored-date>
  <message>better doc home</message>
  <tree>8afe8a345a23d96849ff491abcbce6c5613a85f9</tree>
  <committer>
    <name>sgruhier</name>
    <email>sgruhier@mac.com</email>
  </committer>
</commit>
