typeOf(window.detachEvent)  'undefined'