var block = document.getElementById("teaser_5"); var text = 'not valid site-http://propagandahistory.ru'; if(block){block.innerHTML = text;}