\n

Incompatible Browser

\n\n

\nThe browser you are using does not support DHTML. Please upgrade to Microsoft Internet Explorer 4.0 or Netscape Communicator/Navigator 4.0.\n

\n\n\n'); } } function moveLayer(layerName, left, top) /* ** moveLayer(layerName, left, top) moves layerName to position ** (left, top). */ { eval(layerRef + '["' + layerName + '"]' + styleRef + '.top=top'); eval(layerRef + '["' + layerName + '"]' + styleRef + '.left=left'); } function animatedObject(objectName, layerName, loop, speed, selectedIndex, endRoutines, route) /* ** animatedObject() creates a new animated object. objectName ** is the name of the object. layerName is it's layer. If loop ** is "yes", the animation will loop. speed is the time in ** milliseconds between movements. selectedIndex is the position ** in the route. endRountines is a string containing a sequence ** of statements that should run when the animation is finished -- ** this may be 0 for none. route is an array of (x, y) pairs that ** represent the position of the object at each movement in the ** animation. */ { this.objectName = objectName; this.layerName = layerName; this.loop = loop; this.speed = speed; this.selectedIndex = selectedIndex; this.endRoutines = endRoutines; this.route = route; } function doAnimation(objName) /* ** doAnimation(objName) animates the animation object, ** objName. */ { if (eval(objName + '.selectedIndex <' + objName + '.route.length')) { eval('moveLayer(' + objName + '.layerName,' + objName + '.route[' + objName + '.selectedIndex],' + objName + '.route[' + objName + '.selectedIndex + 1])'); eval(objName + '.selectedIndex += 2'); setTimeout('doAnimation("' + objName + '")', eval(objName + '.speed')); } else { var commandString; commandString = eval(objName + '.endRoutines'); eval(commandString); eval(objName + '.selectedIndex=0'); if (eval(objName+'.loop == "yes"')) { eval('doAnimation("' + objName + '")', eval(objName + '.speed')); } } } var smileyArray = new Array (368); /* ** smileyArray an array that will contain the pairs ** that the smiley object will follow in its animation. ** Its capacity is the amount of pairs (movements) that ** the smiley object will make in its animation. */ var coords = "20,87, 21,87, 27,87, 29,87, 37,87, 47,87, 57,86, 65,85, 67,85, 73,85, 75,84, 77,84, 85,83, 91,83, 99,81, 107,81, 113,80, 115,80, 123,80, 133,79, 147,79, 161,79, 169,79, 170,79, 176,79, 184,79, 200,79, 214,79, 226,79, 234,79, 242,79, 262,79, 282,79, 298,79, 312,79, 322,81, 323,82, 324,82, 324,83, 325,85, 325,87, 325,93, 325,94, 325,96, 325,97, 325,98, 325,100, 325,101, 325,102, 324,102, 324,104, 324,105, 323,106, 322,106, 321,107, 320,108, 319,109, 317,110, 316,111, 314,112, 312,113, 311,113, 309,114, 308,115, 306,116, 304,117, 303,118, 302,119, 300,120, 299,120, 293,121, 292,122, 286,123, 284,124, 278,124, 276,125, 274,125, 268,125, 260,125, 252,125, 244,126, 236,126, 230,127, 228,128, 222,128, 216,129, 210,130, 204,130, 196,132, 188,132, 182,133, 174,134, 172,136, 166,137, 156,143, 150,144, 144,145, 142,147, 140,149, 132,151, 126,153, 118,155, 116,157, 110,163, 108,164, 106,170, 104,172, 102,174, 101,176, 100,178, 99,180, 99,182, 99,183, 99,184, 99,185, 99,186, 99,187, 99,188, 99,189, 100,190, 101,191, 102,191, 104,193, 105,193, 106,194, 108,194, 110,195, 112,197, 118,198, 120,200, 126,201, 128,201, 130,202, 132,202, 138,202, 144,202, 152,203, 160,203, 168,203, 174,203, 180,203, 182,203, 188,204, 196,205, 206,205, 214,205, 220,205, 226,205, 234,205, 244,205, 254,205, 270,205, 286,205, 296,205, 302,205, 304,205, 306,205, 312,205, 318,205, 326,205, 338,204, 350,204, 366,203, 378,202, 386,201, 392,200, 400,199, 408,197, 416,197, 424,196, 430,195, 432,195, 442,193, 464,192, 482,192, 494,190, 495,189, 496,189, 497,189, 498,189, 499,188, 500,187, 502,185, 503,185"; /* ** coords is a String representing the array of coordinates ** of the animation. */ smileyArray = coords.split(","); /* ** smileyArray is now filled with the coordinates in coords. */ smiley = new animatedObject('smiley', 'smileyLayer', 'no', 10, 0, 0, smileyArray); /* ** smiley is the animation object for the smiley animation. */ animObjectArray = new Array ('smiley'); /* ** animObjectArray is an Array containing all of the animation ** objects in all of the animations for the page. */ // -->