After much trouble I now have a solution: Do only one step: Put this code in the "onLoad"-Event of the page with the embedded view: var noDocumentsFound = document.body.all.tags("H2"); var tagH2, textH2; for (var i = 0; i < noDocumentsFound.length; i++){ tagH2 = noDocumentsFound[i]; textH2 = tagH2.innerText; if (textH2.toLowerCase() == "no documents found"){ tagH2.innerHTML = '<FONT SIZE=2 FACE="Verdana,Arial,Helvetica" Color =#212d72><b>Your new message text</b></FONT>'; } tagH2.style.display = "block"; }