<!-- saved from url=(0022)http://internet.e-mail -->
<html xmlns:t ="urn:schemas-microsoft-com:time" >
 .time    { behavior: url(#default#time2);}
  #test		{position:absolute; top:50}
  #TimerParent {color:black; font-size:16; font-weight:bold}
  #instructions {position:absolute; top:40; left:350}
  t\:img   {height:100; width:100}
  t\:video {height:100; width:100}
function timerTick(){
<?IMPORT namespace="t" implementation="#default#time2">
<t:par id="test">
	<t:img id="smile" begin="0s" dur="20s" src="../images/smile.jpg"/>
	<t:par id="par1" begin="10s">
		<t:video id="video1" begin="-5s" end="smile.click" src="../videos/nasa.qt"/>
	<t:video id="video2" begin="video1.begin" dur="10s" src="../videos/nasa.qt"/>
<span id="TimerParent">Timer:
  <span id="Timer" class="time" dur="1" repeatCount="indefinite" onrepeat="timerTick()">0</span>
<DIV id="instructions"><pre>
File Name: interval_logic_and_events_1.htm
Expected Behavior:
the smile image is shown from 0 to 20s
the video2 begins at 5s and plays until 15s.
the video1 is shown at 10s, starting 5s into the video.
A click before 10s will do nothing. After 10s,
video1 will play until a click occurs on the smil image.
If no click occurs between 10s and 20s, then there is no way
to generate the smile.click and the video will play indefinitely.