Don't know how to do this.

I have four node types which act as groups (Lab group, Social Group, Journal Group, and Protocol Group). I have create views which displays content type specific nodes relative to the group. I have tabs so you can toggle between types. What I need is a way to not show the tabs if they are not releven to the group.

i.e. I have a content type called protocol. The tab only needs to be seen in the Lab group and Protocol Group nodes. . how can I make the tabs content type specific?

Thanks