I'm trying edit my template to display a different image depending on the category of the post, and though this is working fine in the header, I can't get it to work in the footer. I've figured out that this is being caused by something in the tabbed navigation code above it, but haven't been able to see what yet. I'd appreciate any help on this!
The code I'm using to display different images in the footer depending on the category ID (and verified working in the header) is:
&[Code moderated as per the Forum Rules. Please use the pastebin]