rem: if(this.options.transition) pos = this.options.transition(pos); pos *= (this.options.to-this.options.from); pos += this.options.from; if(this.options.beforeUpdate) this.options.beforeUpdate(this); if(this.update) this.update(pos); if(this.options.afterUpdate) this.options.afterUpdate(this); 
add: if(this.state == 'running') { if(this.options.transition) pos = this.options.transition(pos); pos *= (this.options.to-this.options.from); pos += this.options.from; this.position = pos; this.event('beforeUpdate'); if(this.update) this.update(pos); this.event('afterUpdate'); } 
context:   render: function(pos) {    if(this.state == 'idle') {      this.state = 'running';      if(this.setup) this.setup();    }    if(this.options.transition) pos = this.options.transition(pos);    pos *= (this.options.to-this.options.from);    pos += this.options.from;     if(this.options.beforeUpdate) this.options.beforeUpdate(this);    if(this.update) this.update(pos);    if(this.options.afterUpdate) this.options.afterUpdate(this);    },
meta: 5663	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5663/d29159eae8749c508d01bb447868321a3ba6bbfa/effects.js/buggy/manager/media/script/scriptaculous/effects.js