thanks for the reply kh99....i've been playing with the code all day and finally got something that i can live with. it's not exactly what i was shooting for but i actually like it more than what i originally had in mind and it was by luck that it's worked out the way that it did!
the site is
www.multirotorforums.com and it is the DJI Sub-Forum that I was trying to fix. I wanted to have a DJI full-width banner replace the Droidworx banner in all of the DJI sub-forum areas but I can't figure out all of the conditional statements and how they're nested to make it work. by using the array statement in one of them I've got the DJI banner in all of the subforums along with the droidworx banner which is something i didn't know was possible.
so it worked out in the end even if it's different from what i was trying to do.
thanks again,
bart