Code Spelunking in the all new Basecamp
37signals.com
37signals.com
So basically every focus on the element creates a new datepicker. If you're not careful this could mean memory bloat and unpredictable behavior as the plugin is attached several times.
By using onfocus rather than attaching it on page load, the datepicker isn't loaded until it's required (gives a minor speed improvement I imagine).