;(function(prototype) {
prototype.hasAttribute = prototype.hasAttribute || function(name) { return !!(this.attributes[name] && this.attributes[name].specified) }
})(Element.prototype)
;(function(prototype) {
prototype.hasAttribute = prototype.hasAttribute || function(name) { return !!(this.attributes[name] && this.attributes[name].specified) }
})(Element.prototype)