Put the header
banner
(s) in one category and the footer
banner
(s) in a different category. Then set up two billboards that select banners from different categories, and then use scripts to choose what billboard gets applied to what $GAB_ads variables.