Creating a Query for Header and Footer hiding