var DynamicMethods=function() {
DynamicMethods.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
DynamicMethods.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return DynamicMethods._staticInstance.get_path();},
About:function(contextKey,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'About',false,{contextKey:contextKey},succeededCallback,failedCallback,userContext); },
Popup:function(contextKey,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'Popup',false,{contextKey:contextKey},succeededCallback,failedCallback,userContext); },
GetBrands:function(prefixText,count,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetBrands',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); },
GetCigarsForBrand:function(knownCategoryValues,category,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCigarsForBrand',false,{knownCategoryValues:knownCategoryValues,category:category},succeededCallback,failedCallback,userContext); },
SetHumidorQuantity:function(contextKey,value,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SetHumidorQuantity',false,{contextKey:contextKey,value:value},succeededCallback,failedCallback,userContext); },
AddHumidorQuantity:function(contextKey,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddHumidorQuantity',false,{contextKey:contextKey},succeededCallback,failedCallback,userContext); },
SubtractHumidorQuantity:function(contextKey,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SubtractHumidorQuantity',false,{contextKey:contextKey},succeededCallback,failedCallback,userContext); },
ForTrade:function(contextKey,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ForTrade',false,{contextKey:contextKey},succeededCallback,failedCallback,userContext); },
SetScore:function(contextKey,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SetScore',false,{contextKey:contextKey},succeededCallback,failedCallback,userContext); },
RegisterNewsHit:function(newsId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'RegisterNewsHit',false,{newsId:newsId},succeededCallback,failedCallback,userContext); }}
DynamicMethods.registerClass('DynamicMethods',Sys.Net.WebServiceProxy);
DynamicMethods._staticInstance = new DynamicMethods();
DynamicMethods.set_path = function(value) { DynamicMethods._staticInstance.set_path(value); }
DynamicMethods.get_path = function() { return DynamicMethods._staticInstance.get_path(); }
DynamicMethods.set_timeout = function(value) { DynamicMethods._staticInstance.set_timeout(value); }
DynamicMethods.get_timeout = function() { return DynamicMethods._staticInstance.get_timeout(); }
DynamicMethods.set_defaultUserContext = function(value) { DynamicMethods._staticInstance.set_defaultUserContext(value); }
DynamicMethods.get_defaultUserContext = function() { return DynamicMethods._staticInstance.get_defaultUserContext(); }
DynamicMethods.set_defaultSucceededCallback = function(value) { DynamicMethods._staticInstance.set_defaultSucceededCallback(value); }
DynamicMethods.get_defaultSucceededCallback = function() { return DynamicMethods._staticInstance.get_defaultSucceededCallback(); }
DynamicMethods.set_defaultFailedCallback = function(value) { DynamicMethods._staticInstance.set_defaultFailedCallback(value); }
DynamicMethods.get_defaultFailedCallback = function() { return DynamicMethods._staticInstance.get_defaultFailedCallback(); }
DynamicMethods.set_path("/WebService.asmx");
DynamicMethods.About= function(contextKey,onSuccess,onFailed,userContext) {DynamicMethods._staticInstance.About(contextKey,onSuccess,onFailed,userContext); }
DynamicMethods.Popup= function(contextKey,onSuccess,onFailed,userContext) {DynamicMethods._staticInstance.Popup(contextKey,onSuccess,onFailed,userContext); }
DynamicMethods.GetBrands= function(prefixText,count,onSuccess,onFailed,userContext) {DynamicMethods._staticInstance.GetBrands(prefixText,count,onSuccess,onFailed,userContext); }
DynamicMethods.GetCigarsForBrand= function(knownCategoryValues,category,onSuccess,onFailed,userContext) {DynamicMethods._staticInstance.GetCigarsForBrand(knownCategoryValues,category,onSuccess,onFailed,userContext); }
DynamicMethods.SetHumidorQuantity= function(contextKey,value,onSuccess,onFailed,userContext) {DynamicMethods._staticInstance.SetHumidorQuantity(contextKey,value,onSuccess,onFailed,userContext); }
DynamicMethods.AddHumidorQuantity= function(contextKey,onSuccess,onFailed,userContext) {DynamicMethods._staticInstance.AddHumidorQuantity(contextKey,onSuccess,onFailed,userContext); }
DynamicMethods.SubtractHumidorQuantity= function(contextKey,onSuccess,onFailed,userContext) {DynamicMethods._staticInstance.SubtractHumidorQuantity(contextKey,onSuccess,onFailed,userContext); }
DynamicMethods.ForTrade= function(contextKey,onSuccess,onFailed,userContext) {DynamicMethods._staticInstance.ForTrade(contextKey,onSuccess,onFailed,userContext); }
DynamicMethods.SetScore= function(contextKey,onSuccess,onFailed,userContext) {DynamicMethods._staticInstance.SetScore(contextKey,onSuccess,onFailed,userContext); }
DynamicMethods.RegisterNewsHit= function(newsId,onSuccess,onFailed,userContext) {DynamicMethods._staticInstance.RegisterNewsHit(newsId,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('AjaxControlToolkit');
if (typeof(AjaxControlToolkit.CascadingDropDownNameValue) === 'undefined') {
AjaxControlToolkit.CascadingDropDownNameValue=gtc("AjaxControlToolkit.CascadingDropDownNameValue");
AjaxControlToolkit.CascadingDropDownNameValue.registerClass('AjaxControlToolkit.CascadingDropDownNameValue');
}
