As mentioned previously, the name attribute to the frame tag identifies a frame to JavaScript, as well as to HTML. JavaScript allows you to reference a particular frame, using its name, as if it were a property of the parent window. For example, the following statement would set the 'bgColor' property of the document in the page frame to white:
window.page.document.bgColor = "#FFFFFF";