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