this.imgindex = 200;// display stuffif (this.lastimgindex>0) hideimgs(this.lastimgindex, this.imgindex);this.lastimgindex = this.imgindex;