Copyright: Copyright 1998-2005  W3C (MIT, ERCIM, Keio), All Rights Reserved.
See http://www.w3.org/Consortium/Legal/.
Author: Muriel Jourdan, Muriel.Jourdan@ERCIMlpes.fr
           Version: Oct. 17, 2000, v1
         File Name: restart_toggle.smil
            Module: SMIL Timing & Sync Module
           Feature: restart toggle activation
  Media Components: 1 MPG (Intr Dur 5.6s) , 1 JPG 
 Expected Behavior: the first click on image1 starts the video 
                      the second one interrupts it, 
                      the third one starts the video once again 
                      the fourth one interrupt it and so one.
<smil xmlns="http://www.w3.org/2005/SMIL21/Language">
    <par dur="26s">
         <img id="img1" src="../images/frown.jpg" />
         <video id="vid1" src="../videos/nist.mpg" begin="img1.activateEvent" 
                end= "img1.activateEvent" restart="whenNotActive" />