There are more demos at: <http://xpdom.sourceforge.net> (see examples)
XPDOM is a W3C-DOM-2 JavaScript compatibility layer to programming DOM using W3C-DOM-2 standard in MSIE 4-5-6, Navigator 4.x and Mozilla/Netscape 6.
The most compliant implementation is Mozilla 1.0 RCx of course.