<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-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_time_container1.smil
Module: SMIL Timing & Sync Module
Feature: restart on a time container
Media Components: 1 MPG (Intr Dur 5.6s) , 1 JPG 
Expected Behavior: at t=0s the picture and the video starts 
and at t=4s they are both restarted for 5s.
<t:par>
<t:par begin="0s;4s" dur="5s" restart="always">
<t:img style="width:100;height:100" id="img1" src="../images/frown.jpg" />
<t:video style="width:100;height:100" id="vid1" src="../videos/nist.mpg" restart="never" />
</t:par>
</t:par>
</pre>
</DIV>
<t:par>
<t:par begin="0s;4s" dur="5s" restart="always">
<t:img style="width:100;height:100" id="img1" src="../images/frown.jpg" />
<t:video style="width:100;height:100" id="vid1" src="../videos/nist.mpg" restart="never" />
</t:par>
</t:par>
</body>
</html>