title: HTML5 Geolocation implementation
body: <p>I have a list of areas and lattitude/longitude which I'm asking the user to select their location when they hit my site.  I'd like to have their location prefilled using HTML5's geolocation if possible, but I'm not exactly sure the best way to do that.  There seems to be a lack of tutorials on the web, at least from what I can find.  Has anyone done this?  Do you know of a good tutorial/resource?</p>
  
  <p><strong>update</strong></p>
  
  <p>If I have coordinates of bunch of cities, how can I use javascript to determine the closest location?</p>