The original code here stopped working in November 2014, as Google retired the version of the API it relied on.
But - good news! - here's a new version, maintained by Spunmonkey Designs. Yay!
These are my personal views and not those of any employer - Full disclosure - Privacy - FAQ - Contact me