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.21
diff -u -p -r1.1.2.1.2.21 views_slideshow.js
--- contrib/views_slideshow_singleframe/views_slideshow.js	14 Apr 2010 05:25:02 -0000	1.1.2.1.2.21
+++ contrib/views_slideshow_singleframe/views_slideshow.js	14 Apr 2010 06:44:54 -0000
@@ -79,47 +79,49 @@ Drupal.behaviors.viewsSlideshowSingleFra
     }
 
     // Add additional settings.
-    var advanced = settings.advanced.split("\n");
-    for (i=0; i<advanced.length; i++) {
-      var prop = '';
-      var value = '';
-      var property = advanced[i].split(":");
-      for (j=0; j<property.length; j++) {
-        if (j == 0) {
-          prop = property[j];
+		if (settings.advanced != "\n") {
+      var advanced = settings.advanced.split("\n");
+      for (i=0; i<advanced.length; i++) {
+        var prop = '';
+        var value = '';
+        var property = advanced[i].split(":");
+        for (j=0; j<property.length; j++) {
+          if (j == 0) {
+            prop = property[j];
+          }
+          else if (j == 1) {
+            value = property[j];
+          }
+          else {
+            value += ":" + property[j];
+          }
         }
-        else if (j == 1) {
-          value = property[j];
+
+        // Need to evaluate so true, false and numerics aren't a string.
+        if (value == 'true' || value == 'false' || IsNumeric(value)) {
+          value = eval(value);
         }
         else {
-          value += ":" + property[j];
-        }
-      }
-      
-      // Need to evaluate so true, false and numerics aren't a string.
-      if (value == 'true' || value == 'false' || IsNumeric(value)) {
-        value = eval(value);
-      }
-      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]);
+          // 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.
-      if (typeof(value) == "function" && prop in settings.opts) {
-        var callboth = function(before_func, new_func) {
-          return function() {
-            before_func.apply(null, arguments);
-            new_func.apply(null, arguments);
+	
+        // Call both functions if prop was set previously.
+        if (typeof(value) == "function" && prop in settings.opts) {
+          var callboth = function(before_func, new_func) {
+            return function() {
+              before_func.apply(null, arguments);
+              new_func.apply(null, arguments);
+            };
           };
-        };
-        settings.opts[prop] = callboth(settings.opts[prop], value);
-      }
-      else {
-        settings.opts[prop] = value;
+          settings.opts[prop] = callboth(settings.opts[prop], value);
+        }
+        else {
+          settings.opts[prop] = value;
+        }
       }
     }
     
@@ -194,4 +196,4 @@ function IsNumeric(sText) {
     }
   }
   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.20
diff -u -p -r1.1.2.2.2.20 views_slideshow.js
--- contrib/views_slideshow_thumbnailhover/views_slideshow.js	14 Apr 2010 05:25:03 -0000	1.1.2.2.2.20
+++ contrib/views_slideshow_thumbnailhover/views_slideshow.js	14 Apr 2010 06:44:54 -0000
@@ -72,47 +72,49 @@ Drupal.behaviors.viewsSlideshowThumbnail
     }
     
     // Add additional settings.
-    var advanced = settings.advanced.split("\n");
-    for (i=0; i<advanced.length; i++) {
-      var prop = '';
-      var value = '';
-      var property = advanced[i].split(":");
-      for (j=0; j<property.length; j++) {
-        if (j == 0) {
-          prop = property[j];
+		if (settings.advanced != "\n") {
+      var advanced = settings.advanced.split("\n");
+      for (i=0; i<advanced.length; i++) {
+        var prop = '';
+        var value = '';
+        var property = advanced[i].split(":");
+        for (j=0; j<property.length; j++) {
+          if (j == 0) {
+            prop = property[j];
+          }
+          else if (j == 1) {
+            value = property[j];
+          }
+          else {
+            value += ":" + property[j];
+          }
         }
-        else if (j == 1) {
-          value = property[j];
+
+        // Need to evaluate so true, false and numerics aren't a string.
+        if (value == 'true' || value == 'false' || IsNumeric(value)) {
+          value = eval(value);
         }
         else {
-          value += ":" + property[j];
-        }
-      }
-      
-      // Need to evaluate so true, false and numerics aren't a string.
-      if (value == 'true' || value == 'false' || IsNumeric(value)) {
-        value = eval(value);
-      }
-      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]);
+          // 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.
-      if (typeof(value) == "function" && prop in settings.opts) {
-        var callboth = function(before_func, new_func) {
-          return function() {
-            before_func.apply(null, arguments);
-            new_func.apply(null, arguments);
+	
+        // Call both functions if prop was set previously.
+        if (typeof(value) == "function" && prop in settings.opts) {
+          var callboth = function(before_func, new_func) {
+            return function() {
+              before_func.apply(null, arguments);
+              new_func.apply(null, arguments);
+            };
           };
-        };
-        settings.opts[prop] = callboth(settings.opts[prop], value);
-      }
-      else {
-        settings.opts[prop] = value;
+          settings.opts[prop] = callboth(settings.opts[prop], value);
+        }
+        else {
+          settings.opts[prop] = value;
+        }
       }
     }
 
