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