code: function _resolveElements(elements) {
                  // No input is just an empty array
                  if (!elements) {
                      return [];
                  }
  
                  // Make sure it's in array form.
                  if (typeof elements === "string" || !elements || !elements.length) {
                      elements = [elements];
                  }
  
                  // Make sure we have a DOM element for each one, (could be string id name or toolkit object)
                  var i,
                      realElements = [];
                  for (i = 0; i < elements.length; i++) {
                      if (elements[i]) {
                          if (typeof elements[i] === "string") {
                              var element = _Global.document.getElementById(elements[i]);
                              if (element) {
                                  realElements.push(element);
                              }
                          } else if (elements[i].element) {
                              realElements.push(elements[i].element);
                          } else {
                              realElements.push(elements[i]);
                          }
                      }
                  }
  
                  return realElements;
              }
docs: Helper to get DOM elements from input single object or array or IDs/toolkit/dom elements