Index: contrib/views_slideshow_singleframe/views_slideshow.js
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/views_slideshow/contrib/views_slideshow_singleframe/Attic/views_slideshow.js,v
retrieving revision 1.1.2.1.2.13
diff -u -p -r1.1.2.1.2.13 views_slideshow.js
--- contrib/views_slideshow_singleframe/views_slideshow.js	29 Sep 2009 20:48:36 -0000	1.1.2.1.2.13
+++ contrib/views_slideshow_singleframe/views_slideshow.js	3 Oct 2009 04:49:08 -0000
@@ -33,12 +33,7 @@ Drupal.behaviors.viewsSlideshowSingleFra
           classes += ' even';
         }
         
-        if (settings.pager_type == 1) {
-          return '<div class="' + classes + '"><a href="#"><img src="' + $(slide).find('img').attr('src') + '" /></a></div>';
-        }
-        else {
-          return '<div class="' + classes + '"><a href="#">' + (idx+1) + '</a></div>';
-        }
+        return Drupal.theme('viewsSlideshowPager' + settings.pager_type, classes, idx, slide);
       },
       after:function(curr, next, opts) {
         // Used for Image Counter.
@@ -110,3 +105,11 @@ Drupal.behaviors.viewsSlideshowSingleFra
     }
   });
 }
+
+Drupal.theme.prototype.viewsSlideshowPagerThumbnails = function (classes, idx, slide) {
+  return '<div class="' + classes + '"><a href="#"><img src="' + $(slide).find('img').attr('src') + '" /></a></div>';
+}
+
+Drupal.theme.prototype.viewsSlideshowPagerNumbered = function (classes, idx, slide) {
+  return '<div class="' + classes + '"><a href="#">' + (idx+1) + '</a></div>';
+}
\ No newline at end of file
Index: contrib/views_slideshow_singleframe/views_slideshow_singleframe.theme.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/views_slideshow/contrib/views_slideshow_singleframe/Attic/views_slideshow_singleframe.theme.inc,v
retrieving revision 1.1.2.1.2.9
diff -u -p -r1.1.2.1.2.9 views_slideshow_singleframe.theme.inc
--- contrib/views_slideshow_singleframe/views_slideshow_singleframe.theme.inc	28 Sep 2009 21:32:22 -0000	1.1.2.1.2.9
+++ contrib/views_slideshow_singleframe/views_slideshow_singleframe.theme.inc	3 Oct 2009 04:49:08 -0000
@@ -115,20 +115,9 @@ function theme_views_slideshow_singlefra
 }
 
 function theme_views_slideshow_singleframe_pager($id, $view, $options) {
-  
-  $classes = "views_slideshow_singleframe_pager";
-  if ($options['singleframe']['pager_type'] == 1) {
-    $classes .= ' thumbnails';
-  }
-  else {
-    $classes .= ' numbered';
-  }
-  
-  $output = '<div class="' . $classes . '" id="views_slideshow_singleframe_pager_' . $id . '"></div>';
-  return $output;
+  return '<div class="views_slideshow_singleframe_pager "' . $options['singleframe']['pager_type'] . '" id="views_slideshow_singleframe_pager_' . $id . '"></div>';
 }
 
 function theme_views_slideshow_singleframe_image_count($id, $view, $options) {
-  $output = '<div class="views_slideshow_singleframe_image_count" id="views_slideshow_singleframe_image_count_' . $id . '"><span class="num"></span> ' . t('of') .' <span class="total"></span></div>';
-  return $output;
+  return '<div class="views_slideshow_singleframe_image_count" id="views_slideshow_singleframe_image_count_' . $id . '"><span class="num"></span> ' . t('of') .' <span class="total"></span></div>';
 }
Index: contrib/views_slideshow_singleframe/views_slideshow_singleframe.views_slideshow.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/views_slideshow/contrib/views_slideshow_singleframe/Attic/views_slideshow_singleframe.views_slideshow.inc,v
retrieving revision 1.1.2.1.2.8
diff -u -p -r1.1.2.1.2.8 views_slideshow_singleframe.views_slideshow.inc
--- contrib/views_slideshow_singleframe/views_slideshow_singleframe.views_slideshow.inc	28 Sep 2009 21:37:38 -0000	1.1.2.1.2.8
+++ contrib/views_slideshow_singleframe/views_slideshow_singleframe.views_slideshow.inc	3 Oct 2009 04:49:08 -0000
@@ -83,7 +83,7 @@ function views_slideshow_singleframe_vie
   $form['singleframe']['pager_type'] = array(
     '#type' => 'select',
     '#title' => t('Pager Type'),
-    '#options' => array(0 => t('Numbered'),1 => t('Thumbnails')),
+    '#options' => array('Numbered' => t('Numbered'),'Thumbnails' => t('Thumbnails')),
     '#default_value' => (isset($view->options['singleframe']['pager_type'])) ? $view->options['singleframe']['pager_type'] : 0,
     '#description' => t('What the pager should look like.  Thumbnails grabs the first image in each slideshow item.'),
   );
