Javascript Calendar date picker that works

We have used the Javascript from this page to create a calendar date picker using Javascript:

http://www.javascriptkit.com/script/script2/tengcalendar.shtml