In Netscape, mouse positions are available within a layer object. These may not be the same positions as the mouse coordinates within a window. This is because a layer may have been scrolled with respect to the window. Nevertheless if you are working on the layer, you need coordinates that are relative to your target to save having to compute them.
Netscape version 6.0 completely removes layer support. If you use layers, your pages will break.