### Eclipse Workspace Patch 1.0
#P CNS (trunk)
Index: html/sites/all/modules/nice_menus/nice_menus.module
===================================================================
--- html/sites/all/modules/nice_menus/nice_menus.module	(revision 28)
+++ html/sites/all/modules/nice_menus/nice_menus.module	(working copy)
@@ -301,8 +301,10 @@
  */
 function theme_nice_menu_build($menu) {
   $output = '';
-
+  $index = 0;
   foreach ($menu as $menu_item) {
+    //prepare marking of li tag as odd, even or first
+    $oddeven_class = $index == 0 ? 'first' : ($index % 2 == 1 ? 'even' : 'odd');
     $mlid = $menu_item['link']['mlid'];
     // Check to see if it is a visible menu item.
     if ($menu_item['link']['hidden'] == 0) {
@@ -319,7 +321,7 @@
         $children = theme('nice_menu_build', $menu_item['below']);
         // Set the class to parent only of children are displayed.
         $parent_class = $children ? 'menuparent ' : '';
-        $output .= '<li id="menu-'. $mlid .'" class="'. $parent_class . $path_class .'">'. theme('menu_item_link', $menu_item['link']);
+        $output .= '<li id="menu-'. $mlid .'" class="'. $parent_class . $path_class ." $oddeven_class".'">'. theme('menu_item_link', $menu_item['link']);
         // Build the child UL only if children are displayed for the user.
         if ($children) {
           $output .= '<ul>';
@@ -329,8 +331,9 @@
         $output .= "</li>\n";
       }
       else {
-        $output .= '<li id="menu-'. $mlid .'" class="'. $path_class .'">'. theme('menu_item_link', $menu_item['link']) .'</li>'."\n";
+        $output .= '<li id="menu-'. $mlid .'" class="'. $path_class ." $oddeven_class".'">'. theme('menu_item_link', $menu_item['link']) .'</li>'."\n";
       }
+    $index++;
     }
   }
   return $output;
