Take into account the footer presence.
Merge pull request #1 from gipi/footer

Take into account the footer presence.