Type.registerNamespace('CMS.Nahcotta.Services');
CMS.Nahcotta.Services.NahcottaService=function() {
CMS.Nahcotta.Services.NahcottaService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
CMS.Nahcotta.Services.NahcottaService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return CMS.Nahcotta.Services.NahcottaService._staticInstance.get_path();},
SaveNewsletterSubscription:function(emailAddress,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SaveNewsletterSubscription',false,{emailAddress:emailAddress},succeededCallback,failedCallback,userContext); },
GetDecryptedInfo:function(cardNumber,cardCCV,cardExpiration,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetDecryptedInfo',false,{cardNumber:cardNumber,cardCCV:cardCCV,cardExpiration:cardExpiration},succeededCallback,failedCallback,userContext); },
LoadColorList:function(skuID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'LoadColorList',false,{skuID:skuID},succeededCallback,failedCallback,userContext); }}
CMS.Nahcotta.Services.NahcottaService.registerClass('CMS.Nahcotta.Services.NahcottaService',Sys.Net.WebServiceProxy);
CMS.Nahcotta.Services.NahcottaService._staticInstance = new CMS.Nahcotta.Services.NahcottaService();
CMS.Nahcotta.Services.NahcottaService.set_path = function(value) { CMS.Nahcotta.Services.NahcottaService._staticInstance.set_path(value); }
CMS.Nahcotta.Services.NahcottaService.get_path = function() { return CMS.Nahcotta.Services.NahcottaService._staticInstance.get_path(); }
CMS.Nahcotta.Services.NahcottaService.set_timeout = function(value) { CMS.Nahcotta.Services.NahcottaService._staticInstance.set_timeout(value); }
CMS.Nahcotta.Services.NahcottaService.get_timeout = function() { return CMS.Nahcotta.Services.NahcottaService._staticInstance.get_timeout(); }
CMS.Nahcotta.Services.NahcottaService.set_defaultUserContext = function(value) { CMS.Nahcotta.Services.NahcottaService._staticInstance.set_defaultUserContext(value); }
CMS.Nahcotta.Services.NahcottaService.get_defaultUserContext = function() { return CMS.Nahcotta.Services.NahcottaService._staticInstance.get_defaultUserContext(); }
CMS.Nahcotta.Services.NahcottaService.set_defaultSucceededCallback = function(value) { CMS.Nahcotta.Services.NahcottaService._staticInstance.set_defaultSucceededCallback(value); }
CMS.Nahcotta.Services.NahcottaService.get_defaultSucceededCallback = function() { return CMS.Nahcotta.Services.NahcottaService._staticInstance.get_defaultSucceededCallback(); }
CMS.Nahcotta.Services.NahcottaService.set_defaultFailedCallback = function(value) { CMS.Nahcotta.Services.NahcottaService._staticInstance.set_defaultFailedCallback(value); }
CMS.Nahcotta.Services.NahcottaService.get_defaultFailedCallback = function() { return CMS.Nahcotta.Services.NahcottaService._staticInstance.get_defaultFailedCallback(); }
CMS.Nahcotta.Services.NahcottaService.set_enableJsonp = function(value) { CMS.Nahcotta.Services.NahcottaService._staticInstance.set_enableJsonp(value); }
CMS.Nahcotta.Services.NahcottaService.get_enableJsonp = function() { return CMS.Nahcotta.Services.NahcottaService._staticInstance.get_enableJsonp(); }
CMS.Nahcotta.Services.NahcottaService.set_jsonpCallbackParameter = function(value) { CMS.Nahcotta.Services.NahcottaService._staticInstance.set_jsonpCallbackParameter(value); }
CMS.Nahcotta.Services.NahcottaService.get_jsonpCallbackParameter = function() { return CMS.Nahcotta.Services.NahcottaService._staticInstance.get_jsonpCallbackParameter(); }
CMS.Nahcotta.Services.NahcottaService.set_path("/Nahcotta/Services/NahcottaService.asmx");
CMS.Nahcotta.Services.NahcottaService.SaveNewsletterSubscription= function(emailAddress,onSuccess,onFailed,userContext) {CMS.Nahcotta.Services.NahcottaService._staticInstance.SaveNewsletterSubscription(emailAddress,onSuccess,onFailed,userContext); }
CMS.Nahcotta.Services.NahcottaService.GetDecryptedInfo= function(cardNumber,cardCCV,cardExpiration,onSuccess,onFailed,userContext) {CMS.Nahcotta.Services.NahcottaService._staticInstance.GetDecryptedInfo(cardNumber,cardCCV,cardExpiration,onSuccess,onFailed,userContext); }
CMS.Nahcotta.Services.NahcottaService.LoadColorList= function(skuID,onSuccess,onFailed,userContext) {CMS.Nahcotta.Services.NahcottaService._staticInstance.LoadColorList(skuID,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('CMS.Nahcotta');
if (typeof(CMS.Nahcotta.ProductColor) === 'undefined') {
CMS.Nahcotta.ProductColor=gtc("CMS.Nahcotta.ProductColor");
CMS.Nahcotta.ProductColor.registerClass('CMS.Nahcotta.ProductColor');
}

