function contor() { var valDiv = "Visitors - 10770
Hits   - 17643"; document.getElementById("id_ctr").innerHTML = valDiv; } window.onload = contor;