    <smil xmlns="http://www.w3.org/2001/SMIL20/Language">
      <head>
        <layout>
          <root-layout backgroundColor="#eeffcc" width="150" height="150"/>
          <region id="r" fit="fill"/>
        </layout>
      </head>
      <body>
        <par dur="indefinite">
          <img region="r" dur="indefinite" id="img1" src="../images/smile.jpg" width="150" height="150">
            <set attributeName="src" to="../images/frown.jpg" begin="2" dur="2" repeatCount="2"/>
          </img>
        </par>
      </body>
    </smil>