<HTML XMLNS:t ="urn:schemas-microsoft-com:time">
<HEAD>
    <?IMPORT namespace="t" implementation="#default#time2">
    <style>
	      .time         {BEHAVIOR: url(#default#TIME2)}
    </style>
</HEAD>
<BODY bgcolor="#eeffcc">
  <!-- Time Content for testing -->
  <t:img id="img1" src="../images/smile.jpg" style="width:150; height:150">
  <t:set attributeName="src" to="../images/frown.jpg" begin="2" dur="2" repeatCount="2"/>
  </t:img><br><br>
  <!--*******************************************************************************-->
  <!--***************everything past this line is informational**********************-->
  <!--*****Timer that displays activeTime and shows persistence*****-->
  <B>TIMER:</B><BR>
  Timer:
  <span id="Timer" class="time" dur=".01"  repeatCount="indefinite" fill="hold" onrepeat="innerText=parseInt(document.body.currTimeState.activeTime);">0</span><br><br>
  <!--*****Expectations, Sample Code, and Information*****-->
  <B>EXPECTED BEHAVIOR:</B><br>
  Testing: attributeName=src, begin, dur, repeatCount.<br>
  T:SET will begin at 2 seconds and have a duration of 2 seconds.<br>
  At 1 second, Smile will appear.<br>
  At 2 seconds, the source is set to src=images/frown.jpg and frown will appear.<br>
  At 4 seconds, frown will repeat.<br>
  At 6 seconds, frown will be removed leaving Smile visable indefinitly.<br>
  **Note the t:set is nested into the t:img tag causing no need for the targetElement attribute.<br><br>
  <B>SAMPLE CODE:</B><br>
  <t:img id="img1" src="../images/smile.jpg" style="width:150; height:150"><br>
  <t:set attributeName="src" to="../images/frown.jpg" begin="2" dur="2" repeatCount="2"/><br>
  </t:img><br><br>
  <B>INFORMATION:</B><br>
  Copyright: Copyright 1998-2001 W3C (MIT, INRIA, Keio), All Rights Reserved.
See http://www.w3.org/Consortium/Legal/.
Author: Debbie Newman, Microsoft<br>
  Version: 11/01/2000<br>
  Module: Set<br>
  Feature: attributeName=src, begin, dur, repeatCount<br>
  File Name: set_attName_src_nested_begin_dur_repeatCount_.htm<br>
  Media Components: images/smile.jpg, images/frown.jpg<br><br>
</BODY>
</HTML>