code: function(el, attributes, duration, method) {
      if (!el) {
          YAHOO.log('element required to create Anim instance', 'error', 'Anim');
      }
      this.init(el, attributes, duration, method); 
  }
docs: The animation module provides allows effects to be added to HTMLElements.
  @module animation
  @requires yahoo, event, dom
   
  
  Base animation class that provides the interface for building animated effects.
  <p>Usage: var myAnim = new YAHOO.util.Anim(el, { width: { from: 10, to: 100 } }, 1, YAHOO.util.Easing.easeOut);</p>
  @class Anim
  @namespace YAHOO.util
  @requires YAHOO.util.AnimMgr
  @requires YAHOO.util.Easing
  @requires YAHOO.util.Dom
  @requires YAHOO.util.Event
  @requires YAHOO.util.CustomEvent
  @constructor
  @param {String | HTMLElement} el Reference to the element that will be animated
  @param {Object} attributes The attribute(s) to be animated.
  Each attribute is an object with at minimum a "to" or "by" member defined.
  Additional optional members are "from" (defaults to current value), "units" (defaults to "px").
  All attribute names use camelCase.
  @param {Number} duration (optional, defaults to 1 second) Length of animation (frames or seconds), defaults to time-based
  @param {Function} method (optional, defaults to YAHOO.util.Easing.easeNone) Computes the values that are applied to the attributes per frame (generally a YAHOO.util.Easing method)