'scale').value);
      positionx = parseInt(document.getElementById('positionx').value);
      positiony = parseInt(document.getElementById('positiony').value);
      easingFunction = document.getElementById('easingFunction').value;
    }

    function draw() {
      destroy();
      statusUpdateSpan = document.getElementById('statusUpdate');
      doButton = document.getElementById('btnDo');
      focusButton = document.getElementById('btnFocus');
      showButton = document.getElementById('btnShow');

   