Note: We have used the top element instead of the window element, to represent the top frame. If you do not use frames, use the window element instead.