I know nothing about javascript or databases but I'll try and explain what I'm trying to do as best I can and hopefully someone can help .

I have a site that runs using an article directory script. As it runs using templates all of the pages look the same with adsense running in them. However, I would like to remove adsense from pages under certain categories.

When I go into PHPMyAdmin to view the database the 'field' that has the category is called "category_id".

I can't include PHP in the templates so is there anyway that I could remove adsense using javascript for categories. I'm guessing it would need some sort of script where "articles under category X" will not display the adsense ads.

Any help or suggestions would be great.

Thanks in advance,