/POS_STR/" + encodeURIComponent(seekto));
    }
  }
}

function prompt_clone() {
  if (g_inspect_tridx>0) {
    var title = last_titles[g_inspect_tridx];
    var newtitle = prompt("Clone track " + title.replace(/[.] .*/,"") + " without media to new track:",
        title.replace(/^[0-9]*?[.] /,""));
    if (newtitle != null) {
      wwr_req("SET/UNDO_BEGIN;40297;SET/TRACK/" + g_inspect_tridx + "/SEL/1;40062;40421;40006;" +
              "SET/TRACK/" + (g_inspect_tridx+1) + "/P_NAME/" + encodeURIComponent(ne