var KMP=function() {
KMP.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
KMP.prototype={
Add:function(name,surname,email,countryId,cellphone,referalId,agree,succeededCallback, failedCallback, userContext) {
return this._invoke(KMP.get_path(), 'Add',false,{name:name,surname:surname,email:email,countryId:countryId,cellphone:cellphone,referalId:referalId,agree:agree},succeededCallback,failedCallback,userContext); },
ErrorCheck:function(name,surname,email,countryId,cellphone,referalId,agree,succeededCallback, failedCallback, userContext) {
return this._invoke(KMP.get_path(), 'ErrorCheck',false,{name:name,surname:surname,email:email,countryId:countryId,cellphone:cellphone,referalId:referalId,agree:agree},succeededCallback,failedCallback,userContext); },
ValidateCaptcha:function(captchaText,succeededCallback, failedCallback, userContext) {
return this._invoke(KMP.get_path(), 'ValidateCaptcha',false,{captchaText:captchaText},succeededCallback,failedCallback,userContext); }}
KMP.registerClass('KMP',Sys.Net.WebServiceProxy);
KMP._staticInstance = new KMP();
KMP.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; KMP._staticInstance._path = value; }
KMP.get_path = function() { return KMP._staticInstance._path; }
KMP.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); }
KMP._staticInstance._timeout = value; }
KMP.get_timeout = function() { 
return KMP._staticInstance._timeout; }
KMP.set_defaultUserContext = function(value) { 
KMP._staticInstance._userContext = value; }
KMP.get_defaultUserContext = function() { 
return KMP._staticInstance._userContext; }
KMP.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; KMP._staticInstance._succeeded = value; }
KMP.get_defaultSucceededCallback = function() { 
return KMP._staticInstance._succeeded; }
KMP.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; KMP._staticInstance._failed = value; }
KMP.get_defaultFailedCallback = function() { 
return KMP._staticInstance._failed; }
KMP.set_path("/subscribe/KMP.asmx");
KMP.Add= function(name,surname,email,countryId,cellphone,referalId,agree,onSuccess,onFailed,userContext) {KMP._staticInstance.Add(name,surname,email,countryId,cellphone,referalId,agree,onSuccess,onFailed,userContext); }
KMP.ErrorCheck= function(name,surname,email,countryId,cellphone,referalId,agree,onSuccess,onFailed,userContext) {KMP._staticInstance.ErrorCheck(name,surname,email,countryId,cellphone,referalId,agree,onSuccess,onFailed,userContext); }
KMP.ValidateCaptcha= function(captchaText,onSuccess,onFailed,userContext) {KMP._staticInstance.ValidateCaptcha(captchaText,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(KMPHelper) === 'undefined') {
var KMPHelper=gtc("KMPHelper");
KMPHelper.registerClass('KMPHelper');
}
