For anyone interested in Richard's code example and how it works, watch the video below.
The video shows most of what the code does. Thanks for sharing Richard.

csantex