 '');
            if (name[i][2].includes('užtvanka')) {
              instr = instr + "<p>" + text + " (persinešimas ~20min.)</p>";
              total_time = total_time + 20 * 60 * 1000;
            } else {
              instr = instr + "<p>" + text + "</p>";
            }
          }
        }
        sek = total_time / 1000;
        min = Math.trunc(sek / 60);
        sek = Math.trunc(sek % 60);
        if (min > 60) {
          val = Math.trunc(min / 60);
          min = Math.trunc(min % 60);
      