var block = document.getElementById("teaser_850"); var text = '#5'; if(block){block.innerHTML = text;}