var etwist=function() {
etwist.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
etwist.prototype={
MenuChange:function(MenuNumber,succeededCallback, failedCallback, userContext) {
return this._invoke(etwist.get_path(), 'MenuChange',false,{MenuNumber:MenuNumber},succeededCallback,failedCallback,userContext); },
FindMenu:function(MenuNumber,succeededCallback, failedCallback, userContext) {
return this._invoke(etwist.get_path(), 'FindMenu',false,{MenuNumber:MenuNumber},succeededCallback,failedCallback,userContext); }}
etwist.registerClass('etwist',Sys.Net.WebServiceProxy);
etwist._staticInstance = new etwist();
etwist.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; etwist._staticInstance._path = value; }
etwist.get_path = function() { return etwist._staticInstance._path; }
etwist.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); }
etwist._staticInstance._timeout = value; }
etwist.get_timeout = function() { 
return etwist._staticInstance._timeout; }
etwist.set_defaultUserContext = function(value) { 
etwist._staticInstance._userContext = value; }
etwist.get_defaultUserContext = function() { 
return etwist._staticInstance._userContext; }
etwist.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; etwist._staticInstance._succeeded = value; }
etwist.get_defaultSucceededCallback = function() { 
return etwist._staticInstance._succeeded; }
etwist.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; etwist._staticInstance._failed = value; }
etwist.get_defaultFailedCallback = function() { 
return etwist._staticInstance._failed; }
etwist.set_path("/WebServices/etwist.asmx");
etwist.MenuChange= function(MenuNumber,onSuccess,onFailed,userContext) {etwist._staticInstance.MenuChange(MenuNumber,onSuccess,onFailed,userContext); }
etwist.FindMenu= function(MenuNumber,onSuccess,onFailed,userContext) {etwist._staticInstance.FindMenu(MenuNumber,onSuccess,onFailed,userContext); }
