You should access this collection via the document object associated with this layer. That is the recommended technique for new projects. If you see this in an old project, then it should be removed if possible and replaced with the preferred means of access.
This property is deprecated in favor of using Layer.document.layers in its place.
No longer supported in Netscape 6.0.