This is the original code slightly modified and
encapsulated for my own personal use on the
homepage.
It is largely based on Robert J. Sori's work but
I can't find where I got the original...