alue = rendered.words;
            break;
            case "turns":
            shownvalue = rendered.nodes;
            break;
            case "matches":
            shownvalue = matchescount;
            break;
        }
        titleDiv.innerHTML = `<input class="cb" type="checkbox" id="itm${index}" onclick="selitm(${index});countsel();" ${selecteddb[index]?"checked":""}> ${index} - ${shownvalue}`;
        titleDiv.style.cursor = 'pointer';
        titleDiv.setAttribute('data-value',shownvalu