rem: if(this.allowedValues) { 
add: if (this.allowedValues) { 
context:   initialize: function(handle, track, options) {    var slider = this;        if(handle instanceof Array) {      this.handles = handle.collect( function(e) { return $(e) });    } else {      this.handles = [$(handle)];    }        this.track   = $(track);    this.options = options || {};    this.axis      = this.options.axis || 'horizontal';    this.increment = this.options.increment || 1;    this.step      = parseInt(this.options.step || '1');    this.range     = this.options.range || $R(0,1);        this.value     = 0; // assure backwards compat    this.values    = this.handles.map( function() { return 0 });    this.spans     = this.options.spans ? this.options.spans.map(function(s){ return $(s) }) : false;    this.options.startSpan = $(this.options.startSpan || null);    this.options.endSpan   = $(this.options.endSpan || null);    this.restricted = this.options.restricted || false;    this.maximum   = this.options.maximum || this.range.end;    this.minimum   = this.options.minimum || this.range.start;    // Will be used to align the handle onto the track, if necessary    this.alignX = parseInt(this.options.alignX || '0');    this.alignY = parseInt(this.options.alignY || '0');        this.trackLength = this.maximumOffset() - this.minimumOffset();    this.handleLength = this.isVertical() ?       (this.handles[0].offsetHeight != 0 ?         this.handles[0].offsetHeight : this.handles[0].style.height.replace(/px$/,"")) :       (this.handles[0].offsetWidth != 0 ? this.handles[0].offsetWidth :         this.handles[0].style.width.replace(/px$/,""));    this.active   = false;    this.dragging = false;    this.disabled = false;    if(this.options.disabled) this.setDisabled();    // Allowed values array    this.allowedValues = this.options.values ? this.options.values.sortBy(Prototype.K) : false;    if(this.allowedValues) {      this.minimum = this.allowedValues.min();      this.maximum = this.allowedValues.max();    }    this.eventMouseDown = this.startDrag.bindAsEventListener(this);    this.eventMouseUp   = this.endDrag.bindAsEventListener(this);    this.eventMouseMove = this.update.bindAsEventListener(this);    // Initialize handles in reverse (make sure first handle is active)    this.handles.each( function(h,i) {      i = slider.handles.length-1-i;      slider.setValue(parseFloat(        (slider.options.sliderValue instanceof Array ?           slider.options.sliderValue[i] : slider.options.sliderValue) ||          slider.range.start), i);      Element.makePositioned(h); // fix IE      Event.observe(h, "mousedown", slider.eventMouseDown);    });        Event.observe(this.track, "mousedown", this.eventMouseDown);    Event.observe(document, "mouseup", this.eventMouseUp);    Event.observe(document, "mousemove", this.eventMouseMove);        this.initialized = true;  },
meta: 9100	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/9100/2d4247a14ff4ce25ad80cbc65b787dfde7ddb16e/slider.js/buggy/typo3/contrib/scriptaculous/slider.js