    <smil xmlns="http://www.w3.org/2001/SMIL20/Language">
      <head>
        <layout>
          <root-layout backgroundColor="#eeffcc" width="640" height="480"/>
          <region id="r" fit="fill"/>
        </layout>
      </head>
      <body>
        <par dur="indefinite">
          <brush region="r" id="div1" z-index="1" width="150" height="150" color="blue"/>
          <img region="r" dur="indefinite" id="img1" src="../images/smile.jpg" z-index="1" left="100" width="150" height="150"/>
          <set targetElement="div1" attributeName="z-index" to="2" begin="2" dur="2"/>
        </par>
      </body>
    </smil>