Customize Customer Portal based on Customer Type

Customize Customer Portal based on Customer Type

I would like to change the ticket form and the articles shown in the knowledgebase depending on the Contact Type or Contact Group.  That is we group our contacts in distributors and general public. I want to show a different Ticket Form and different Articles (or departments) based on the category they belong to.  Is that possible?