The original code provided by and found at [Colin Aarts](http://colinaarts.com/code/moovie).