if (this.links) {
      this.linkarray = this.links.split('|');
      this.currentlink = this.linkarray[0];
    }