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