var counter=4278; try { var obj = document.getElementById('myblog_counter'); obj.innerHTML = counter; } catch(e) { }