code: function sh_getClasses(element) {
    var result = [];
    var htmlClass = element.className;
    if (htmlClass && htmlClass.length > 0) {
      var htmlClasses = htmlClass.split(' ');
      for (var i = 0; i < htmlClasses.length; i++) {
        if (htmlClasses[i].length > 0) {
          result.push(htmlClasses[i]);
        }
      }
    }
    return result;
  }
docs: ////////////////////////////////////////////////////////////////////////////// DOM-dependent functions