    <!--
                Copyright: Copyright 1998-2001 W3C (MIT, INRIA, Keio), All Rights Reserved.
    See http://www.w3.org/Consortium/Legal/.
    Author: Aaron M. Cohen
             File Name: layout-topLayout3.smil
      Media Components: 2 JPG
     Expected Behavior: Tests topLayout open behavior.
                        Show one topLayout.
                        At 0s show smile in the one open window.
                        At 2s open another window and show frown in it.
                        At 4s smile ends, and window not close.
                        At 5s frown ends, window should close.
    -->
    <smil xmlns="http://www.w3.org/2001/SMIL20/Language">
        <head>
            <layout>
                <topLayout width="320" height="240" open="onStart" close="onRequest">
                    <region id="r1" top="0%" left="0%" right="0%" bottom="0%"/>
                </topLayout>
                <topLayout width="320" height="240" open="whenActive" close="whenNotActive">
                    <region id="r2" top="0%" left="0%" right="0%" bottom="0%"/>
                </topLayout>
            </layout>
        </head>
        <body>
            <par dur="6s">
                <img region="r1" src="../images/smile.jpg" begin="0s" end="4s"/>
                <img region="r2" src="../images/frown.jpg" begin="2s" end="5s"/>
            </par>
        </body>
    </smil>