--- event.theme	2007-06-06 17:12:37.000000000 -0500
+++ event.theme.patched	2007-06-06 17:17:19.000000000 -0500
@@ -96,17 +96,9 @@ function theme_event_node_day($node) {
  *   The node being displayed
  */
 function theme_event_node_week($node) {
-  static $stripe, $stripe_map;
+  static $stripe_map;
 
-  if(!$stripe_map[$node->nid]) {
-    if($stripe >= 10) {
-      $stripe = 1;
-    }
-    else {
-      $stripe++;
-    }
-    $stripe_map[$node->nid] = $stripe;
-  }
+  if(!$stripe_map[$node->nid]) $stripe_map[$node->nid] = _theme_event_color($node);
 
   $output .= '<div class="event weekview">'."\n";
   $output .= '<div class="stripe-'. $stripe_map[$node->nid] .'"></div>'."\n";
@@ -148,17 +140,9 @@ function theme_event_node_week($node) {
  *   The node being displayed
  */
 function theme_event_node_month($node) {
-  static $stripe, $stripe_map;
+  static $stripe_map;
 
-  if (!$stripe_map[$node->nid]) {
-    if ($stripe >= 10) {
-      $stripe = 1;
-    }
-    else {
-      $stripe++;
-    }
-    $stripe_map[$node->nid] = $stripe;
-  }
+  if(!$stripe_map[$node->nid]) $stripe_map[$node->nid] = _theme_event_color($node);
 
   $output .= '<div class="event monthview">'."\n";
   $output .= '<div class="stripe-'. $stripe_map[$node->nid] .'"></div>'."\n";
@@ -201,19 +185,11 @@ function theme_event_node_month($node) {
  */
 
 function theme_event_node_table($node) {
-  static $stripe, $stripe_map, $link_count;
+  static $stripe_map, $link_count;
   drupal_add_js(drupal_get_path('module', 'event') .'/event.js');
   $link_count++;
 
-  if (!$stripe_map[$node->nid]) {
-    if ($stripe >= 10) {
-      $stripe = 1;
-    }
-    else {
-      $stripe++;
-    }
-    $stripe_map[$node->nid] = $stripe;
-  }
+  if(!$stripe_map[$node->nid]) $stripe_map[$node->nid] = _theme_event_color($node);
 
   $output .= '<div class="event tableview">'."\n";
   $output .= '<div class="stripe-'. $stripe_map[$node->nid] .'"></div>'."\n";
@@ -263,19 +239,11 @@ function theme_event_node_table($node) {
 }
 
 function theme_event_node_list($node, $module = NULL) {
-  static $stripe, $stripe_map, $link_count;
+  static $stripe_map, $link_count;
   drupal_add_js(drupal_get_path('module', 'event') .'/event.js');
   $link_count++;
 
-  if (!$stripe_map[$node->nid]) {
-    if ($stripe >= 10) {
-      $stripe = 1;
-    }
-    else {
-      $stripe++;
-    }
-    $stripe_map[$node->nid] = $stripe;
-  }
+  if(!$stripe_map[$node->nid]) $stripe_map[$node->nid] = _theme_event_color($node);
 
   $output = '<div class="event tableview">'."\n";
   $output .= '<div class="stripe-'. $stripe_map[$node->nid] .'"></div>'."\n";
@@ -478,3 +446,14 @@ function theme_event_upcoming_block($ite
   return $output;
 }
 /** @} End of addtogroup themeable */
+
+/**
+ * Return a color index based on the first term asociated to the given node
+ *
+ * @param node
+ *   A node object to get the color index for
+ */
+function _theme_event_color(&$node) {
+  $term = current($node->taxonomy);
+  return $term->tid % 10 + 1;
+}
