The 'window' keyword allow accessing the container of a page inserted in a DFrame. Depending on the browser this container can be the window object of an IFrame (IE and NS6) or a layer (NS4). The container itself is thus not important but what it contains - the document object mainly - is essential.
See the Access the container of a DFrame in the tutorial for more information.