function AnimatedObject(stages, elementId, sequence, timePerFrame, morph) {
  this.stages = stages;
  this.ElementId = elementId;
  this.sequence = sequence;
  this.timePerFrame = timePerFrame;
  this.isMorph = (morph == true) ? "morph" : "la";
}

AnimatedObject.prototype =
{
  getWidth : function ()
  {
    var el = document.getElementById(this.ElementId);
    if (!el)
      return;
      
    return el.offsetWidth
  }
}

