includes/clientside/static/sliders.js
changeset 57 b354deeaa4c4
parent 1 fe660c52c48f
--- a/includes/clientside/static/sliders.js	Mon Jul 09 15:30:22 2007 -0400
+++ b/includes/clientside/static/sliders.js	Mon Jul 09 22:01:27 2007 -0400
@@ -8,6 +8,8 @@
 function initSliders()
 {
   sliders_initted = true;
+  if ( KILL_SWITCH )
+    return false;
     // detect whether the user has ie or not, how we get the height is different 
     var useragent = navigator.userAgent.toLowerCase();
     var ie = ((useragent.indexOf('msie') != -1) && (useragent.indexOf('opera') == -1) && (useragent.indexOf('webtv') == -1));
@@ -63,6 +65,8 @@
 {
   if(IE)
     return false;
+  if ( KILL_SWITCH )
+    return false;
   if ( !sliders_initted )
     initSliders();
     // reset our inertia base and interval