var CommentVoteService=function() {
CommentVoteService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
CommentVoteService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return CommentVoteService._staticInstance.get_path();},
UpVote:function(commentId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'UpVote',false,{commentId:commentId},succeededCallback,failedCallback,userContext); },
DownVote:function(commentId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'DownVote',false,{commentId:commentId},succeededCallback,failedCallback,userContext); },
Report:function(commentId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'Report',false,{commentId:commentId},succeededCallback,failedCallback,userContext); }}
CommentVoteService.registerClass('CommentVoteService',Sys.Net.WebServiceProxy);
CommentVoteService._staticInstance = new CommentVoteService();
CommentVoteService.set_path = function(value) { CommentVoteService._staticInstance.set_path(value); }
CommentVoteService.get_path = function() { return CommentVoteService._staticInstance.get_path(); }
CommentVoteService.set_timeout = function(value) { CommentVoteService._staticInstance.set_timeout(value); }
CommentVoteService.get_timeout = function() { return CommentVoteService._staticInstance.get_timeout(); }
CommentVoteService.set_defaultUserContext = function(value) { CommentVoteService._staticInstance.set_defaultUserContext(value); }
CommentVoteService.get_defaultUserContext = function() { return CommentVoteService._staticInstance.get_defaultUserContext(); }
CommentVoteService.set_defaultSucceededCallback = function(value) { CommentVoteService._staticInstance.set_defaultSucceededCallback(value); }
CommentVoteService.get_defaultSucceededCallback = function() { return CommentVoteService._staticInstance.get_defaultSucceededCallback(); }
CommentVoteService.set_defaultFailedCallback = function(value) { CommentVoteService._staticInstance.set_defaultFailedCallback(value); }
CommentVoteService.get_defaultFailedCallback = function() { return CommentVoteService._staticInstance.get_defaultFailedCallback(); }
CommentVoteService.set_path("/CommentVoteService.asmx");
CommentVoteService.UpVote= function(commentId,onSuccess,onFailed,userContext) {CommentVoteService._staticInstance.UpVote(commentId,onSuccess,onFailed,userContext); }
CommentVoteService.DownVote= function(commentId,onSuccess,onFailed,userContext) {CommentVoteService._staticInstance.DownVote(commentId,onSuccess,onFailed,userContext); }
CommentVoteService.Report= function(commentId,onSuccess,onFailed,userContext) {CommentVoteService._staticInstance.Report(commentId,onSuccess,onFailed,userContext); }

