Hi,
Try
http://www.developerfusion.co.uk/Utilities/
It's not always perfect, but it generally gives a good starting point.
(Sorry i don't now the answer to our original question in the way you asked it. I would code each section separately - Generally to keep it simple even if it means more work short term).