Type.registerNamespace('PPL.Core.Models.Controllers');
PPL.Core.Models.Controllers.CaptchaController=function() {
PPL.Core.Models.Controllers.CaptchaController.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
PPL.Core.Models.Controllers.CaptchaController.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return PPL.Core.Models.Controllers.CaptchaController._staticInstance.get_path();},
CheckCaptchaCode:function(inputCode,id,width,height,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'CheckCaptchaCode',false,{inputCode:inputCode,id:id,width:width,height:height},succeededCallback,failedCallback,userContext); },
GetCaptchaId:function(tag,width,height,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCaptchaId',false,{tag:tag,width:width,height:height},succeededCallback,failedCallback,userContext); }}
PPL.Core.Models.Controllers.CaptchaController.registerClass('PPL.Core.Models.Controllers.CaptchaController',Sys.Net.WebServiceProxy);
PPL.Core.Models.Controllers.CaptchaController._staticInstance = new PPL.Core.Models.Controllers.CaptchaController();
PPL.Core.Models.Controllers.CaptchaController.set_path = function(value) { PPL.Core.Models.Controllers.CaptchaController._staticInstance.set_path(value); }
PPL.Core.Models.Controllers.CaptchaController.get_path = function() { return PPL.Core.Models.Controllers.CaptchaController._staticInstance.get_path(); }
PPL.Core.Models.Controllers.CaptchaController.set_timeout = function(value) { PPL.Core.Models.Controllers.CaptchaController._staticInstance.set_timeout(value); }
PPL.Core.Models.Controllers.CaptchaController.get_timeout = function() { return PPL.Core.Models.Controllers.CaptchaController._staticInstance.get_timeout(); }
PPL.Core.Models.Controllers.CaptchaController.set_defaultUserContext = function(value) { PPL.Core.Models.Controllers.CaptchaController._staticInstance.set_defaultUserContext(value); }
PPL.Core.Models.Controllers.CaptchaController.get_defaultUserContext = function() { return PPL.Core.Models.Controllers.CaptchaController._staticInstance.get_defaultUserContext(); }
PPL.Core.Models.Controllers.CaptchaController.set_defaultSucceededCallback = function(value) { PPL.Core.Models.Controllers.CaptchaController._staticInstance.set_defaultSucceededCallback(value); }
PPL.Core.Models.Controllers.CaptchaController.get_defaultSucceededCallback = function() { return PPL.Core.Models.Controllers.CaptchaController._staticInstance.get_defaultSucceededCallback(); }
PPL.Core.Models.Controllers.CaptchaController.set_defaultFailedCallback = function(value) { PPL.Core.Models.Controllers.CaptchaController._staticInstance.set_defaultFailedCallback(value); }
PPL.Core.Models.Controllers.CaptchaController.get_defaultFailedCallback = function() { return PPL.Core.Models.Controllers.CaptchaController._staticInstance.get_defaultFailedCallback(); }
PPL.Core.Models.Controllers.CaptchaController.set_enableJsonp = function(value) { PPL.Core.Models.Controllers.CaptchaController._staticInstance.set_enableJsonp(value); }
PPL.Core.Models.Controllers.CaptchaController.get_enableJsonp = function() { return PPL.Core.Models.Controllers.CaptchaController._staticInstance.get_enableJsonp(); }
PPL.Core.Models.Controllers.CaptchaController.set_jsonpCallbackParameter = function(value) { PPL.Core.Models.Controllers.CaptchaController._staticInstance.set_jsonpCallbackParameter(value); }
PPL.Core.Models.Controllers.CaptchaController.get_jsonpCallbackParameter = function() { return PPL.Core.Models.Controllers.CaptchaController._staticInstance.get_jsonpCallbackParameter(); }
PPL.Core.Models.Controllers.CaptchaController.set_path("/Captcha/CaptchaController.asmx");
PPL.Core.Models.Controllers.CaptchaController.CheckCaptchaCode= function(inputCode,id,width,height,onSuccess,onFailed,userContext) {PPL.Core.Models.Controllers.CaptchaController._staticInstance.CheckCaptchaCode(inputCode,id,width,height,onSuccess,onFailed,userContext); }
PPL.Core.Models.Controllers.CaptchaController.GetCaptchaId= function(tag,width,height,onSuccess,onFailed,userContext) {PPL.Core.Models.Controllers.CaptchaController._staticInstance.GetCaptchaId(tag,width,height,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(PPL.Core.Models.Controllers.CaptchaId) === 'undefined') {
PPL.Core.Models.Controllers.CaptchaId=gtc("PPL.Core.Models.Controllers.CaptchaId");
PPL.Core.Models.Controllers.CaptchaId.registerClass('PPL.Core.Models.Controllers.CaptchaId');
}

