Original work © Filament Group, released under MIT/GPL license. MooTools port by Philip Hutchison, released under same MIT/GPL license.