diff --git a/includes/jcarousel.views.inc b/includes/jcarousel.views.inc
index 118e50d..65c6814 100644
--- a/includes/jcarousel.views.inc
+++ b/includes/jcarousel.views.inc
@@ -208,6 +208,8 @@ function template_preprocess_jcarousel_view(&$variables) {
 
   // Give each item a class to identify where in the carousel it belongs.
   foreach ($variables['rows'] as $id => $row) {
-    $variables['row_classes'][$id] = 'jcarousel-item-' . ($id + 1 + $pager_offset);
+    $number = $id + 1 + $pager_offset;
+    $zebra = ($number % 2 == 0) ? 'even' : 'odd';
+    $variables['row_classes'][$id] = 'jcarousel-item-' . $number . ' ' . $zebra;
   }
 }
diff --git a/js/jcarousel.js b/js/jcarousel.js
index 0517a26..d5afe15 100644
--- a/js/jcarousel.js
+++ b/js/jcarousel.js
@@ -214,7 +214,7 @@ Drupal.jcarousel.ajaxResponseCallback = function(jcarousel, target, response) {
 
   // Add items to the jCarousel.
   $('ul.jcarousel > li', response.display).each(function(i) {
-    var itemNumber = this.className.replace(/.*?jcarousel-item-(\d+).*?/, '$1');
+    var itemNumber = this.className.replace(/.*?jcarousel-item-(\d+).*/, '$1');
     jcarousel.add(itemNumber, this.innerHTML);
   });
 
