HTML5 & CSS3: a practical geolocation application?

I’ve gotten the code in the book to work just fine, and it is currently writing the latitude and longitude to the page via JS. What I want to do though is detect the user’s location and map it back to a sales rep for the given region. Anyone know of a good primer to get me started down that path? TIA!