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