set times
// Set the starting, ending, and duration times of the
// animation.
function setTime (time) { startTime = time + .05; endTime = startTime + duration; cycle = duration; bind = true; }