fixed bugs concerning Header-Footer + header footer can only be called when there are enough items
Authored by: mikebeblack 2010-04-09
Parent: [r11]
Child: [r13]