  if(content)
                {
                    const lines = content.split('\n');
                    newdb = lines.filter(line => line.trim()).map(line => JSON.parse(line));
                    loadok = true;
                }
            }
            catch(err2)
            {
                console.log(err2);
            }
        }

        if(loadok)
        {
            const elemrange = (document.getElementById('elemrange').value);
            let elemstart = 0;
            le