includes/clientside/static/sliders.js
changeset 582 a38876c0793c
parent 362 02d315d1cc58
child 740 098e744df928
--- a/includes/clientside/static/sliders.js	Sun Jun 22 18:13:59 2008 -0400
+++ b/includes/clientside/static/sliders.js	Tue Jun 24 23:37:23 2008 -0400
@@ -5,7 +5,7 @@
 
 var sliders_initted = false;
       
-function initSliders()
+var initSliders = function()
 {
   sliders_initted = true;
   if ( KILL_SWITCH )
@@ -57,6 +57,8 @@
     }
 }
 
+addOnloadHook(initSliders);
+
 // this is one of our divs, it just has a DOM reference to the element and the original height
 function div(_el, _ht)
 {