typeOf(document.attachEvent) 'undefined'