This experiment uses both geolocation and application cache. Load it up, turn off internet, and reload it. Hopefully, it will still detect location if your device has GPS. It works on my iPhone 3G, but not on my Nexus One (both devices support application cache and Geolocation).