<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: Nov 10th, 2000, v1
Module: SMIL Timing & Sync Module
Feature: endsync="last" on Excl time container
File Name: endsync_last_Excl_case3.smil
Media Components: 2 JPG
Expected Behavior: The first picture is shown, 
if the user didn't click on it, 
then the document ends at t=4s, 
otherwise the first picture ends with the user click and 
the second picture is shown during 6s.
<t:excl endsync="last">
<t:img style="width:100;height:100" src="../images/frown.jpg" id="image1" begin="0s" end="4s" />
<t:img style="width:100;height:100" src="../images/smile.jpg" begin="image1.click" 
dur="6s" id="image2" />
</t:excl>
</pre>
</DIV>
<t:excl endsync="last">
<t:img style="width:100;height:100" src="../images/frown.jpg" id="image1" begin="0s" end="4s" />
<t:img style="width:100;height:100" src="../images/smile.jpg" begin="image1.click" 
dur="6s" id="image2" />
</t:excl>
</body>
</html>