docs: function(element) {
  			var result = 0;
  			var parent = element.parentNode;
  			if (parent) {
  				var node = parent.firstElementChild;
  				while (node) {
  					if (node === element) {
  						break;
  					} else {
  						node = node.nextElementSibling;
  						result++;
  					}
  				}
  			}
  			return result;
  		}