Yup, it pretty much exploded

I'll take another look at your header and put everything into a template for you (later on today if I have time).
In the mean time take a look at the header info you posted earlier and see about putting everything into the generic header. I thought it was odd that you had a lot of html outside of, and before, the Threads generic header. Putting everthing into the generic header will make it easier to script.