var ExpandNode=function() {
ExpandNode.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
ExpandNode.prototype={
ToggleNode:function(node,succeededCallback, failedCallback, userContext) {
return this._invoke(ExpandNode.get_path(), 'ToggleNode',false,{node:node},succeededCallback,failedCallback,userContext); }}
ExpandNode.registerClass('ExpandNode',Sys.Net.WebServiceProxy);
ExpandNode._staticInstance = new ExpandNode();
ExpandNode.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; ExpandNode._staticInstance._path = value; }
ExpandNode.get_path = function() { return ExpandNode._staticInstance._path; }
ExpandNode.set_timeout = function(value) { var e = Function._validateParams(arguments, [{name: 'timeout', type: Number}]); if (e) throw e; if (value < 0) { throw Error.argumentOutOfRange('value', value, Sys.Res.invalidTimeout); }
ExpandNode._staticInstance._timeout = value; }
ExpandNode.get_timeout = function() { 
return ExpandNode._staticInstance._timeout; }
ExpandNode.set_defaultUserContext = function(value) { 
ExpandNode._staticInstance._userContext = value; }
ExpandNode.get_defaultUserContext = function() { 
return ExpandNode._staticInstance._userContext; }
ExpandNode.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; ExpandNode._staticInstance._succeeded = value; }
ExpandNode.get_defaultSucceededCallback = function() { 
return ExpandNode._staticInstance._succeeded; }
ExpandNode.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; ExpandNode._staticInstance._failed = value; }
ExpandNode.get_defaultFailedCallback = function() { 
return ExpandNode._staticInstance._failed; }
ExpandNode.set_path("/ExpandNode.asmx");
ExpandNode.ToggleNode= function(node,onSuccess,onFailed,userContext) {ExpandNode._staticInstance.ToggleNode(node,onSuccess,onFailed,userContext); }
