var categories=function() {
categories.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
categories.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return categories._staticInstance.get_path();},
HelloWorld:function(echoField,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'HelloWorld',false,{echoField:echoField},succeededCallback,failedCallback,userContext); },
getCurrentUser:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getCurrentUser',false,{},succeededCallback,failedCallback,userContext); },
GetQuote:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetQuote',false,{},succeededCallback,failedCallback,userContext); },
GetSubcategories:function(category,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetSubcategories',false,{category:category},succeededCallback,failedCallback,userContext); },
GetAuthorsByAlphabet:function(startChar,start,max,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetAuthorsByAlphabet',false,{startChar:startChar,start:start,max:max},succeededCallback,failedCallback,userContext); },
GetAuthorsByCountryEra:function(country,era,start,max,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetAuthorsByCountryEra',false,{country:country,era:era,start:start,max:max},succeededCallback,failedCallback,userContext); }}
categories.registerClass('categories',Sys.Net.WebServiceProxy);
categories._staticInstance = new categories();
categories.set_path = function(value) { categories._staticInstance.set_path(value); }
categories.get_path = function() { return categories._staticInstance.get_path(); }
categories.set_timeout = function(value) { categories._staticInstance.set_timeout(value); }
categories.get_timeout = function() { return categories._staticInstance.get_timeout(); }
categories.set_defaultUserContext = function(value) { categories._staticInstance.set_defaultUserContext(value); }
categories.get_defaultUserContext = function() { return categories._staticInstance.get_defaultUserContext(); }
categories.set_defaultSucceededCallback = function(value) { categories._staticInstance.set_defaultSucceededCallback(value); }
categories.get_defaultSucceededCallback = function() { return categories._staticInstance.get_defaultSucceededCallback(); }
categories.set_defaultFailedCallback = function(value) { categories._staticInstance.set_defaultFailedCallback(value); }
categories.get_defaultFailedCallback = function() { return categories._staticInstance.get_defaultFailedCallback(); }
categories.set_path("/ContentProviderService/categories.asmx");
categories.HelloWorld= function(echoField,onSuccess,onFailed,userContext) {categories._staticInstance.HelloWorld(echoField,onSuccess,onFailed,userContext); }
categories.getCurrentUser= function(onSuccess,onFailed,userContext) {categories._staticInstance.getCurrentUser(onSuccess,onFailed,userContext); }
categories.GetQuote= function(onSuccess,onFailed,userContext) {categories._staticInstance.GetQuote(onSuccess,onFailed,userContext); }
categories.GetSubcategories= function(category,onSuccess,onFailed,userContext) {categories._staticInstance.GetSubcategories(category,onSuccess,onFailed,userContext); }
categories.GetAuthorsByAlphabet= function(startChar,start,max,onSuccess,onFailed,userContext) {categories._staticInstance.GetAuthorsByAlphabet(startChar,start,max,onSuccess,onFailed,userContext); }
categories.GetAuthorsByCountryEra= function(country,era,start,max,onSuccess,onFailed,userContext) {categories._staticInstance.GetAuthorsByCountryEra(country,era,start,max,onSuccess,onFailed,userContext); }
