//- //- Animation engine //- function Animator() { this.running = 0; // Incremented at start of each animation, decremented afterwards. If zero, the interval timer is disabled this.timerID = 0; // ID of the timer used for animating this.animations = []; // List of animations in progress return this; } // Start animation engine Animator.prototype.startAnimating = function() //# Variable number of arguments { var t; for(t=0; t