Make your own free website on Tripod.com

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>

  <head>

        <title></title>

        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">


<script language="JavaScript">

<!--

  //  Script:       Animated Image

  //  Version:      1.0

  //  Last Updated: June 12th 1998

  //  Author:       Scott Brady

  //  Org:          HotSource HTML Help

  //  Email:        webmaster@sbrady.com

  //  Website:      http://www.sbrady.com/hotsource/


if (document.images) {     // Preloaded images

demo1 = new Image();

demo1.src = "../../Pics/demo1.jpg";


demo2 = new Image();

demo2.src = "../../Pics/demo2.jpg";


demo3 = new Image();

demo3.src = "../../Pics/demo3.jpg";

}


function timeimgs(numb) {  // Reusable timer

thetimer = setTimeout("imgturn('" +numb+ "')", 1000);

}


function imgturn(numb) {   // Reusable image turner

if (document.images) {


if (numb == "3") {         // This will loop the image

document["demo"].src = eval("demo3.src");

timeimgs('1');

}


else {

document["demo"].src = eval("demo" + numb + ".src");


timeimgs(numb = ++numb);

}

}

}


// -->

</script>


  </head>

<body onload="timeimgs('2');">


<div align="center">

<img src="../../Pics/demo1.jpg" name="demo" width="100" height="100" alt="demo">

</div>


</body>

</html>