<!--
            Copyright: Copyright 1998-2005  W3C (MIT, ERCIM, Keio), All Rights Reserved.
See http://www.w3.org/Consortium/Legal/.
Author: Aaron Cohen, Intel
           Version: Mar 31, 2000, v1  
            Module: SMIL Timing & Sync Module
           Feature: restart attribute
         File Name: restart-test-10-1.smil   
  Media Components: 2 MPG, 2 JPG
 Expected Behavior: display frown for 15s
                    if frown is clicked and smile is not 
                    then display smile for 5s.
                    if smile not visible at 5s, display smile.	
                    whenever frown is clicked start vid1
                    start or restart vid1 at 5s	whether playing or not
                    start vid2 at 5s or when frown first clicked, but not both
-->
<smil xmlns="http://www.w3.org/2005/SMIL21/Language">
  <body>    	
    <par>
	<img id="img1" src="../images/frown.jpg" dur="15s" />
	<img id="img2" src="../images/smile.jpg" begin="img1.activateEvent;5s" dur="5s"
             restart="whenNotActive"/>
	<video id="vid1" src="../videos/nist.rm" begin="img1.activateEvent;5s"
             restart="always"/>
	<video id="vid2" src="../videos/pe_video1.rm" begin="img1.activateEvent;10s"
             restart="never"/>
    </par>  
  </body>
</smil>