Thanks for getting back on this.
At the moment I have different logo and style sheet working based on $topid.
Works fine and the chosen image and stylesheet stays in place through category and product pages.
However I would like to be able to have a different image and style sheet based on the sub category, overriding the top level once in the sub category and it's product pages.
Is there a $subcatid or something I can use like I am using $topid?
Here is the site
http://www.graypalmer.co.uk/store/
EG. Default styles show when entering shop.
Clicking a main category changes img and stylesheet and this persists through sub cats to product details etc.
On some sub cats however I now want to also override the main img and styles.
Hope that clarifies?
Many thanks.
Keith