typeOf(window.detachEvent) 'undefined'