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