docs: function (element, name, observer) {
  		if (element.addEventListener) { //DOM event model
  			element.addEventListener(name, observer, false);
      	} else if (element.attachEvent) { //M$ event model
  			element.attachEvent('on' + name, observer);
      	}
  	}