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.20
diff -u -p -r1.1.2.1.2.20 views_slideshow.js
--- contrib/views_slideshow_singleframe/views_slideshow.js	13 Apr 2010 21:59:39 -0000	1.1.2.1.2.20
+++ contrib/views_slideshow_singleframe/views_slideshow.js	14 Apr 2010 05:17:12 -0000
@@ -96,15 +96,16 @@ Drupal.behaviors.viewsSlideshowSingleFra
         }
       }
       
-      // Need to evaluate so true and false isn't a string.
-      if (value == 'true' || value == 'false') {
+      // Need to evaluate so true, false and numerics aren't a string.
+      if (value == 'true' || value == 'false' || IsNumeric(value)) {
         value = eval(value);
       }
-      
-      // Parse strings into functions.
-      var func = value.match(/function\s*\((.*?)\)\s*\{(.*)\}/i);
-      if (func) {
-        value = new Function(func[1].match(/(\w+)/g), func[2]);
+      else {
+        // Parse strings into functions.
+        var func = value.match(/function\s*\((.*?)\)\s*\{(.*)\}/i);
+        if (func) {
+          value = new Function(func[1].match(/(\w+)/g), func[2]);
+        }
       }
 
       // Call both functions if prop was set previously.
@@ -178,4 +179,18 @@ Drupal.theme.prototype.viewsSlideshowPag
 
 Drupal.theme.prototype.viewsSlideshowPagerNumbered = function (classes, idx, slide) {
   return '<div class="' + classes + '"><a href="#">' + (idx+1) + '</a></div>';
+}
+
+function IsNumeric(sText) {
+  var ValidChars = "0123456789";
+  var IsNumber=true;
+  var Char;
+
+  for (i=0; i < sText.length && IsNumber == true; i++) { 
+    Char = sText.charAt(i); 
+    if (ValidChars.indexOf(Char) == -1) {
+      IsNumber = false;
+    }
+  }
+  return IsNumber;
 }
\ No newline at end of file
Index: contrib/views_slideshow_thumbnailhover/views_slideshow.js
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/views_slideshow/contrib/views_slideshow_thumbnailhover/Attic/views_slideshow.js,v
retrieving revision 1.1.2.2.2.19
diff -u -p -r1.1.2.2.2.19 views_slideshow.js
--- contrib/views_slideshow_thumbnailhover/views_slideshow.js	13 Apr 2010 22:57:34 -0000	1.1.2.2.2.19
+++ contrib/views_slideshow_thumbnailhover/views_slideshow.js	14 Apr 2010 05:17:12 -0000
@@ -89,15 +89,16 @@ Drupal.behaviors.viewsSlideshowThumbnail
         }
       }
       
-      // Need to evaluate so true and false isn't a string.
-      if (value == 'true' || value == 'false') {
+      // Need to evaluate so true, false and numerics aren't a string.
+      if (value == 'true' || value == 'false' || IsNumeric(value)) {
         value = eval(value);
       }
-      
-      // Parse strings into functions.
-      var func = value.match(/function\s*\((.*?)\)\s*\{(.*)\}/i);
-      if (func) {
-        value = new Function(func[1].match(/(\w+)/g), func[2]);
+      else {
+        // Parse strings into functions.
+        var func = value.match(/function\s*\((.*?)\)\s*\{(.*)\}/i);
+        if (func) {
+          value = new Function(func[1].match(/(\w+)/g), func[2]);
+        }
       }
 
       // Call both functions if prop was set previously.
@@ -184,3 +185,17 @@ viewsSlideshowThumbnailHoverResume = fun
   }
   settings.paused = false;
 }
+
+function IsNumeric(sText) {
+  var ValidChars = "0123456789";
+  var IsNumber=true;
+  var Char;
+
+  for (i=0; i < sText.length && IsNumber == true; i++) { 
+    Char = sText.charAt(i); 
+    if (ValidChars.indexOf(Char) == -1) {
+      IsNumber = false;
+    }
+  }
+  return IsNumber;
+}
