Replacing No documents found

This has been done before. Here is my contribution:

* Replaces \"No Documents Found\" with a custom text.
* @author Johan Känngård,
* @param message the text to replace with
function replaceNoDocumentsFound(message){
var h2=document.getElementsByTagName(\'h2\');
if(h2!=\'undefined\'&&h2.length>0&&h2[0]!=\'undefined\') {
var oldTextNode=h2[0].firstChild;
var newTextNode=document.createTextNode(message);

Put the function in the HTML Head (or in an imported JS-file) and call the function at the bottom at the page like this:

The easiest way to hide the text is via a stylesheet like this:

…but you already knew that, huh?
[tags]JavaScript, DOM, Lotus Domino, CSS[/tags]