+Node.prototype.scrollLeft = function(){\r
+ if( !this.parent ){// todo : _state で tree に所属しているか?判定\r
+ console.log( 'xnode.scrollLeft() : no parent' );\r
+ return 0;\r
+ };\r
+ Node.root._updateTimerID && Node.root._startUpdate();\r
+ if( !this._root ){\r
+ console.log( 'xnode.scrollLeft() : not belong tree.' );\r
+ return 0;\r
+ };\r
+ if( this._state & X.Dom.State.DISPLAY_NONE ) return 0;\r
+ if( X.Dom.DOM_W3C ){\r
+ // this.css( X.Dom.Style.Unit.px, 'width' );\r
+ return this._rawNode.scrollLeft;\r
+ } else\r
+ if( X.Dom.DOM_IE4 ){\r
+ return ( this._rawNode || this._ie4getRawNode() ).scrollLeft;\r
+ } else {\r
+ \r
+ };\r
+};\r
+\r
+Node.prototype.scrollTop = function(){\r
+ if( !this.parent ){// todo : _state で tree に所属しているか?判定\r
+ console.log( 'xnode.scrollTop() : no parent' );\r
+ return 0;\r
+ };\r
+ Node.root._updateTimerID && Node.root._startUpdate();\r
+ if( !this._root ){\r
+ console.log( 'xnode.scrollTop() : not belong tree.' );\r
+ return 0;\r
+ };\r
+ if( this._state & X.Dom.State.DISPLAY_NONE ) return 0;\r
+ if( X.Dom.DOM_W3C ){\r
+ // this.css( X.Dom.Style.Unit.px, 'width' );\r
+ return this._rawNode.scrollTop;\r
+ } else\r
+ if( X.Dom.DOM_IE4 ){\r
+ return ( this._rawNode || this._ie4getRawNode() ).scrollTop;\r
+ } else {\r
+ \r
+ };\r
+};\r