<STYLE>
.DiagonalText { position:absolute;top:0;left:0;color:gold;font-size:36; }
.DisplayText { position:absolute;top:300;left:330;width:200;color:darkblue;font-size:36;visibility:hidden;
}
.DisplayPix { position:absolute;top:0;left:0;width:200;visibility:hidden;
}
</STYLE>
<SCRIPT>
<!-------------------Global Variable Declarations----------------------->
var i;
var iVertical=0;
var iHorizontal=0;
var iInterval=0;
var vTimerID;
var vDelayStart;
<!---------------------------------------------------------------------->
// Included a setTimeout in BODY onload to delay start of text movement.
function pauseStart()
{
vDelayStart=window.setTimeout("setTimer()", 500);
}
// Set up interval at which the moveDiv function will be called.
function setTimer()
{
vTimerID=window.setInterval("moveDiv()",20);
}
// This function incrementally repositions divMove. It loops through a set
number of times.
function moveDiv()
{
for(i=0;i<10;i++)
{
iHorizontal+= 1;
iVertical=iHorizontal;
divMove.style.top=iVertical;
divMove.style.left=iHorizontal;
}
// iInterval tracks how many times moveDiv has looped and clears the interval
//after a set number of loops.
iInterval++;
if(iInterval>25)
{
window.clearInterval(vTimerID);
divToggle.style.visibility="visible";
divToggle2.style.visibility="visible";
}
}
</SCRIPT>
<SCRIPT language=javascript>function click() {if (event.button==2)
{alert('COPYRIGHT 2002 T.McLaughlin & Associates')}} document.onmousedown=click
</SCRIPT>