// AJAX simple function (upgraded)
// Perform a call to URL and store the information in divid innerHTML
function loadtext(url,divid)
{
const xhttp = new XMLHttpRequest();
xhttp.onload = function() {
document.getElementById(divid).innerHTML = this.responseText;
}
xhttp.open("GET", url, true);
xhttp.send();
}