document.getElementById("callstatsarea").innerHTML = "30/04/2014 19:57:28
No queues for any department
"
function refreshcallstats() {
// document.getElementById("callstatsarea").innerHTML = "Fetching...";
var randomnumber = Math.floor(Math.random()*1000001)
var headID = document.getElementsByTagName("head")[0];
var newScript = document.createElement('script');
newScript.type = 'text/javascript';
//newScript.src = 'https://beusergroup.co.uk/drsox/callstats/ajax.php?rnd=1502430017';
newScript.src = 'https://beusergroup.co.uk/drsox/callstats/ajax.php?rnd='+randomnumber+'js';
headID.appendChild(newScript);
}