Type.registerNamespace('www.rferl.org.Services');
www.rferl.org.Services.CaptchaService=function() {
www.rferl.org.Services.CaptchaService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
www.rferl.org.Services.CaptchaService.prototype={
CaptchaSendComment:function(forumId,name,city,email,comment,txt,kd,succeededCallback, failedCallback, userContext) {
return this._invoke(www.rferl.org.Services.CaptchaService.get_path(), 'CaptchaSendComment',false,{forumId:forumId,name:name,city:city,email:email,comment:comment,txt:txt,kd:kd},succeededCallback,failedCallback,userContext); },
CaptchaContactUsSendComment:function(widgetInstanceID,title,email,comment,txt,kd,succeededCallback, failedCallback, userContext) {
return this._invoke(www.rferl.org.Services.CaptchaService.get_path(), 'CaptchaContactUsSendComment',false,{widgetInstanceID:widgetInstanceID,title:title,email:email,comment:comment,txt:txt,kd:kd},succeededCallback,failedCallback,userContext); },
GetCaptchaBody:function(captchaType,succeededCallback, failedCallback, userContext) {
return this._invoke(www.rferl.org.Services.CaptchaService.get_path(), 'GetCaptchaBody',false,{captchaType:captchaType},succeededCallback,failedCallback,userContext); }}
www.rferl.org.Services.CaptchaService.registerClass('www.rferl.org.Services.CaptchaService',Sys.Net.WebServiceProxy);
www.rferl.org.Services.CaptchaService._staticInstance = new www.rferl.org.Services.CaptchaService();
www.rferl.org.Services.CaptchaService.set_path = function(value) { www.rferl.org.Services.CaptchaService._staticInstance._path = value; }
www.rferl.org.Services.CaptchaService.get_path = function() { return www.rferl.org.Services.CaptchaService._staticInstance._path; }
www.rferl.org.Services.CaptchaService.set_timeout = function(value) { www.rferl.org.Services.CaptchaService._staticInstance._timeout = value; }
www.rferl.org.Services.CaptchaService.get_timeout = function() { return www.rferl.org.Services.CaptchaService._staticInstance._timeout; }
www.rferl.org.Services.CaptchaService.set_defaultUserContext = function(value) { www.rferl.org.Services.CaptchaService._staticInstance._userContext = value; }
www.rferl.org.Services.CaptchaService.get_defaultUserContext = function() { return www.rferl.org.Services.CaptchaService._staticInstance._userContext; }
www.rferl.org.Services.CaptchaService.set_defaultSucceededCallback = function(value) { www.rferl.org.Services.CaptchaService._staticInstance._succeeded = value; }
www.rferl.org.Services.CaptchaService.get_defaultSucceededCallback = function() { return www.rferl.org.Services.CaptchaService._staticInstance._succeeded; }
www.rferl.org.Services.CaptchaService.set_defaultFailedCallback = function(value) { www.rferl.org.Services.CaptchaService._staticInstance._failed = value; }
www.rferl.org.Services.CaptchaService.get_defaultFailedCallback = function() { return www.rferl.org.Services.CaptchaService._staticInstance._failed; }
www.rferl.org.Services.CaptchaService.set_path("/Services/CaptchaService.asmx");
www.rferl.org.Services.CaptchaService.CaptchaSendComment= function(forumId,name,city,email,comment,txt,kd,onSuccess,onFailed,userContext) {www.rferl.org.Services.CaptchaService._staticInstance.CaptchaSendComment(forumId,name,city,email,comment,txt,kd,onSuccess,onFailed,userContext); }
www.rferl.org.Services.CaptchaService.CaptchaContactUsSendComment= function(widgetInstanceID,title,email,comment,txt,kd,onSuccess,onFailed,userContext) {www.rferl.org.Services.CaptchaService._staticInstance.CaptchaContactUsSendComment(widgetInstanceID,title,email,comment,txt,kd,onSuccess,onFailed,userContext); }
www.rferl.org.Services.CaptchaService.GetCaptchaBody= function(captchaType,onSuccess,onFailed,userContext) {www.rferl.org.Services.CaptchaService._staticInstance.GetCaptchaBody(captchaType,onSuccess,onFailed,userContext); }
