play: function(/*int?*/ delay, /*bool?*/ gotoStart){     if( !this._anims.length ) { return this; /*dojo.lfx.Chain*/} if( gotoStart || !this._anims[this._currAnim] ) { this._currAnim = 0; }  var currentAnimation = this._anims[this._currAnim];  this.fire("beforeBegin"); if(delay > 0){ setTimeout(dojo.lang.hitch(this, function(){ this.play(null, gotoStart); }), delay); return this; }  if(currentAnimation){ if(this._currAnim == 0){ this.fire("handler", ["begin", this._currAnim]); this.fire("onBegin", [this._currAnim]); } this.fire("onPlay", [this._currAnim]); currentAnimation.play(null, gotoStart); } return this; }, 
dojo.lang.extend(dojo.lfx.Chain,{_currAnim:-1,play:function(_3ad,_3ae){ if(!this._anims.length){ return this; } if(_3ae||!this._anims[this._currAnim]){ this._currAnim=0; } var _3af=this._anims[this._currAnim]; this.fire("beforeBegin"); if(_3ad>0){ setTimeout(dojo.lang.hitch(this,function(){ this.play(null,_3ae); }),_3ad); return this; } if(_3af){ if(this._currAnim==0){ this.fire("handler",["begin",this._currAnim]); this.fire("onBegin",[this._currAnim]); } this.fire("onPlay",[this._currAnim]); _3af.play(null,_3ae); } return this; },pause:function(){ 
  play: function(/*int?*/ delay, /*bool?*/ gotoStart){    // summary: Start the animation sequence.    // delay: How many milliseconds to delay before starting.    // gotoStart: If true, starts the sequence from the beginning; otherwise,    //            starts it from its current position.    if( !this._anims.length ) { return this; /*dojo.lfx.Chain*/}    if( gotoStart || !this._anims[this._currAnim] ) {      this._currAnim = 0;    }    var currentAnimation = this._anims[this._currAnim];    this.fire("beforeBegin");    if(delay > 0){      setTimeout(dojo.lang.hitch(this, function(){ this.play(null, gotoStart); }), delay);      return this; // dojo.lfx.Chain    }        if(currentAnimation){      if(this._currAnim == 0){        this.fire("handler", ["begin", this._currAnim]);        this.fire("onBegin", [this._currAnim]);      }      this.fire("onPlay", [this._currAnim]);      currentAnimation.play(null, gotoStart);    }    return this; // dojo.lfx.Chain  },
6315	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6315/90939f35f46f873d9b1f5c5f818ecf012711dc71/dojo.js/buggy/src/main/resources/org/apache/struts2/static/dojo/dojo.js