Copyright: Copyright 1998-2001 W3C (MIT, INRIA, Keio), All Rights Reserved.
See http://www.w3.org/Consortium/Legal/.
Author: Aaron Cohen(aaron.m.cohen@intel.com)
           Version: Feb 23, 2000, v1
            Module: SMIL Timing & Sync Module
           Feature: event handling with whenNotActive restart activation
         File Name: evtRstartHandleNotactive2.smil
  Media Components: 1 JPG, 1 WAV
 Expected Behavior: audio off at first, 
                    starts from beginning
                    when image is clicked, plays through until the end
                    or stops when image clicked again (toggles),
                    can be restarted when not playing.
<smil xmlns="http://www.w3.org/2001/SMIL20/Language">
    <par dur="indefinite">
         <img id="button" src="../images/smile.jpg"/>
	 <audio src="../sounds/leonidsample.wav"
		begin="button.activateEvent" end="button.activateEvent" restart="whenNotActive"/>