The enclosed bug report more or less matches my own experience - this is also as far as I got. I wasn't able to debug it because Mozilla kept crashing (several builds from around 3 Sep, plus or minus a few days, on Red Hat Linux 5.x with Lesstif 0.86.0 RPMs from the Lesstif site). There is one obvious bug - that in: t = findByName(element, "cvs-head"); it should read "head" instead of "cvs-head" - but fixing that didn't seem to be enough. Anyone able to supply a fixed script? Or even a diagnosis of what is wrong? -kingdon Here is a bug report, from Joerg Brunsmann: I tried out your DOM demos with an DOM enabled Mozilla on Solaris. I think there is a bug in the JavaScript. If I click on ShowHead or HideHead I get the alert message that there is no textElement. This due to the fact that the variable textElement is not set when the functions are called. And that is because the document element is not called cvs-head. Is that correct?