1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.0 Transitional//EN">
4 <!-- MOZ_INSERT_CONTENT_HOOK -->
6 <SCRIPT type=text/javascript
>
9 var pointObj = new Array;
10 var intNumberOfBalls =
100;
16 for(var i=
0; i
<intNumberOfBalls; i++)
20 pointObject = pointObj[i];
21 pointObject.style.top = yPos[i]+'px';
22 pointObject.style.left = xPos[i]+'px';
25 if (intNumberOfTimes--!=
0)
26 setTimeout(
"plotPoint()",
0);
28 tpRecordTime(Date.now() - startTime);
33 for(var i=
0; i <
100; i++)
35 var objImageNode = document.createElement('img');
36 objImageNode.setAttribute('id','point' + i);
37 objImageNode.setAttribute('src','images/
3dball.gif');
38 objImageNode.style.position = 'absolute';
39 objImageNode.style.width = '
30px';
40 objImageNode.style.height = '
30px';
41 document.body.appendChild(objImageNode);
42 pointObj[i] = document.getElementById(
"point"+i);
45 for(var i=
0; i
<100; i++)
50 intNumberOfTimes =
20;
54 function mzDhtmlStart()
56 startTime = Date.now();
62 <BODY onload=
"mzDhtmlStart();">