Implemented HTMLDocument for IE10.