I was wondering if anybody could help - I am trying to add taxomony terms to the Flash Gallery pages (not the individual image pages).

I have a site (unfortunately still local - can't add link) that has 4 gallery pages, fgallery/17, fgallery/18, fgallery/19, fgallery/20, which I would like to style differently, using css.

I'm currently using pagetax code (below) in my template file to style all the other pages on the site differently and am hoping there is a way to add taxamony terms to the flash gallery pages to keep the style consist with the rest of the site

function salamander_preprocess_page(&$vars) {
    if (module_exists('taxonomy') && $vars['node']->nid) {
    foreach (taxonomy_node_get_terms($vars['node']) as $term) {
      $vars['node_terms'] = $vars['node_terms'] . ' pagetax-' . eregi_replace('[^a-z0-9]', '-', $term->name);
    }
  }
}

any ideas would be greatly appreciated, thanks