    <!--
                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 toggle activation
             File Name: event_handling_toggle2.smil
      Media Components: 1 JPG, 1 WAV
     Expected Behavior: audio on at first,
                        toggle audio off/on
                        when image clicked, end presentation at 30s.
    -->
    <smil xmlns="http://www.w3.org/2001/SMIL20/Language">
      <body>
        <par dur="30s">
             <img id="mybutton" src="../images/smile.jpg"/>
    	 <audio src="../sounds/leonidsample.wav"
    		begin="0s;mybutton.activateEvent" end="mybutton.activateEvent"
    		restart="whenNotActive" repeatDur="indefinite"/>
        </par>
      </body>
    </smil>