- X_Node__actualRemove( xnode );
- ( xnode[ '_flags' ] & X_NodeFlags_EXIST ) === 0 && xnode[ 'kill' ]();
+ if( !xnodeOrElm[ 'instanceOf' ] ){
+ if( X_UA_DOM.IE4 ){
+ xnodeOrElm.removeAttribute( 'id' ); // ?
+ xnodeOrElm.outerHTML = ''; // xnodeOrElm.remove() ?
+ } else {
+ if( !X_UA[ 'MacIE' ] ){
+ // elm.parentNode.tagName for ie7
+ xnodeOrElm.parentNode && xnodeOrElm.parentNode.tagName && xnodeOrElm.parentNode.removeChild( xnodeOrElm );
+ } else {
+ xnodeOrElm.parentNode && xnodeOrElm.parentNode.tagName && X_TEMP._fixed_remove( xnodeOrElm, that );
+ };
+ };
+ } else {
+ X_Node__actualRemove( xnodeOrElm );
+ };