t = 0;
            load(currentRightTable, rightOffset);
        }
    };
    document.getElementById('prev_right').onclick = () => {
        if (rightOffset > 0) {
            rightOffset = Math.max(rightOffset - PAGE_SIZE, 0);
            load(currentRightTable, rightOffset);
        }
    };
    document.getElementById('next_right').onclick = () => {
        if (rightOffset < currentRightTable.size) {
            rightOffset = Math.min(rightOffset + PAGE_SIZE, currentRightTable.size);
            load(cu