Copyright: Copyright 1998-2001 W3C (MIT, INRIA, Keio), All Rights Reserved.
See http://www.w3.org/Consortium/Legal/.
Author: Muriel Jourdan, Muriel.Jourdan@inrialpes.fr
         File Name: restart-fill-3.smil 
           Version: Apr. 4, 2000, v1
            Module: SMIL Timing & Sync Module
           Feature: restart attribute and fill attribute
  Media Components: 1 MPG (Intr Dur 5.6s) , 2 JPG 
 Expected Behavior: show image1 for 16s. 
                    When image1 is clicked 
                    then start (or restart) img1 for 7s 
                      if and only if it is not already active  
                    then freeze it.  
                    Start (or restart) vid1 when img2 ends.
   Two relevant executions to test: 
     #a : click img1 at 2s and at 4s : vid1 must start only once
     #b : click img1 at 2s and 10s : vid1 must be shown twice
<smil xmlns="http://www.w3.org/2001/SMIL20/Language">
    <par dur="16s">
         <img id="img1" src="../images/frown.jpg" />
         <img id="img2" src="../images/smile.jpg" begin="img1.activateEvent" dur="7s"
              fill="freeze" restart="whenNotActive" />
	 <video id="vid1" src="../videos/nist.mpg" begin="img2.end" 
              fill="remove" />