corretto questo elemento document.getElementById("check.countpl") nel documento non esiste