Fancy MooTools Date Picker

Announcing: SlimPicker
I've recreated this datepicker completely from scratch, using MooTools v1.2. See the demo page or fork it on github.

Note: this uses MooTools v1.11. Here are two different versions of this that people have emailed me which should work with MooTools v1.2, though I haven't tested them:
Emmanuel’s version
Cory Gagliardi’s version

List of All Options and Defaults

dayChars
1
Integer. Number of characters for the day names abbreviation
dayNames
['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday']
Array. If you have a multi-language site, use this option to set it based on the user's language.
daysInMonth
[31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]
Array. I'm not sure if people use calendars with different days, but there it is if you need it.
format
'mm/dd/yyyy'
String. The script will use a regular expression to replace this with the date.
monthNames
['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December']
Array. Set it based on the user's language.
startDay
7
Integer. 1 makes the week start on Monday, and 7 makes it start on Sunday
yearOrder
'asc'
String. Only other valid choice is 'desc'. This is the direction the year dropdown will go, starting from your yearStart, and counting through your yearRange.
yearRange
10
Integer. This how many years the dropdown list will include, starting from your yearStart setting.
yearStart
current year
Integer. Enter the four-digit year, like 1980. This will be where the dropdown list will start, and continue up or down depending on your yearOrder setting.

Snag It

DatePicker.js
DatePicker.css
date.gif
datefocus.gif