Coded function to auto-generate header and footer

Wow... This is cool.
And without iframes, fancy that!

:satisfied: