Index: headerimage.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/headerimage/headerimage.module,v
retrieving revision 1.13.2.7
diff -u -p -r1.13.2.7 headerimage.module
--- headerimage.module	28 Jul 2008 09:31:00 -0000	1.13.2.7
+++ headerimage.module	12 Jan 2009 11:32:29 -0000
@@ -405,7 +405,7 @@ function headerimage_form_alter(&$form, 
                     $taxonomy = taxonomy_get_tree($v->vid);
                     if (!empty($taxonomy)) {
                       foreach ($taxonomy as $tag) {
-                        $options[$tag->tid] = check_plain($tag->name);
+                        $options[check_plain($v->name)][$tag->tid] = check_plain($tag->name); 
                       }
                     }
                   }
