var obj = null; obj = document.getElementById('hitsmonth'); if(obj) obj.innerText='5'; obj = document.getElementById('hitstotal'); if(obj) obj.innerText='59'; obj = document.getElementById('userpoints'); if(obj) obj.innerText='0';