    <html xmlns:t ="urn:schemas-microsoft-com:time" >
    <head>
    <style>
    	 .time    { behavior: url(#default#time2);}
    </style>
    <?IMPORT namespace="t" implementation="#default#time2">
    <script>
    function startTimer(){ setInterval(doTimer,100);}
    function doTimer(){ document.all.Timer.innerText =parseInt(document.body.currTimeState.activeTime) }
    </script>
    </head>
    <body timecontainer="seq" onbegin="startTimer()" >
    <font style="color:black; font-size:16"><b>
    Timer:
    <span id="Timer" >0</span>
    </b></font>
    <br><br>
    <DIV align="left" style="position:absolute; top:40; left:300;"><pre>
    Copyright: Copyright 1998-2001 W3C (MIT, INRIA, 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
    <t:par>
    <t:img style="width:100;height:100" id="img1" src="../images/frown.jpg" dur="15s" />
    <t:img style="width:100;height:100" id="img2" src="../images/smile.jpg" begin="img1.click;5s" dur="5s"
    restart="whenNotActive" />
    <t:video style="width:100;height:100" id="vid1" src="../videos/nist.mpg" begin="img1.click;5s"
    restart="always" />
    <t:video style="width:100;height:100" id="vid2" src="../videos/pe_video1.mpg" begin="img1.click;10s"
    restart="never" />
    </t:par>
    </pre>
    </DIV>
    <t:par>
    <t:img style="width:100;height:100" id="img1" src="../images/frown.jpg" dur="15s" />
    <t:img style="width:100;height:100" id="img2" src="../images/smile.jpg" begin="img1.click;5s" dur="5s"
    restart="whenNotActive" />
    <t:video style="width:100;height:100" id="vid1" src="../videos/nist.mpg" begin="img1.click;5s"
    restart="always" />
    <t:video style="width:100;height:100" id="vid2" src="../videos/pe_video1.mpg" begin="img1.click;10s"
    restart="never" />
    </t:par>
    </body>
    </html>