I think that was a native IE API that Mozilla had to add support for, as well as document.all (Netscape used document.layers).