<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"/>
  </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>
  SET will begin at 2 seconds and have a duration of 2 seconds.<br>
  The img element has smile.jpg as its src when the page loads.<br>
  At 2 seconds, the src property is set to frown.jpg and frown will appear.<br>
  At 4 seconds, set ends, leaving smile visible indefinitely.<br>
  **Note: the set is a child element of the img so targetElement is not needed.<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" /><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<br>
  File Name: set_attName_src_nested_begin_dur.htm<br>
  Media Components: images/smile.jpg, images/frown.jpg<br><br>
</BODY>
</HTML>