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