if(value > this.range.end) return this.range.end; if(value < this.range.start) return this.range.start; 
if (value > this.range.end) return this.range.end; if (value < this.range.start) return this.range.start; 
  getNearestValue: function(value){    if(this.allowedValues){      if(value >= this.allowedValues.max()) return(this.allowedValues.max());      if(value <= this.allowedValues.min()) return(this.allowedValues.min());            var offset = Math.abs(this.allowedValues[0] - value);      var newValue = this.allowedValues[0];      this.allowedValues.each( function(v) {        var currentOffset = Math.abs(v - value);        if(currentOffset <= offset){          newValue = v;          offset = currentOffset;        }       });      return newValue;    }    if(value > this.range.end) return this.range.end;    if(value < this.range.start) return this.range.start;    return value;  },
4999	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/4999/0c67d2a1c175fa312f232b827bd1c26b95eac0e1/slider.js/buggy/wp-includes/js/scriptaculous/slider.js