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