public boolean nextImage()
  {
    boolean b = false;
    this.CurrentIndex += 1;

    if ((this.Loop) && (this.CurrentIndex == this.Indexes.length)) {
      this.CurrentIndex = 0;
    }
    else if (this.CurrentIndex < this.Indexes.length)
      b = true;
    if (this.CurrentIndex < this.Indexes.length)
    {
      if (this.Indexes[this.CurrentIndex] < this.Cells.length)
      {
        setImage(this.Cells[this.Indexes[this.CurrentIndex]]);
      }

    }

    return b;
  }