var Voting=function() {
Voting.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Voting.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Voting._staticInstance.get_path();},
CastTotalVote:function(_CallType,_ByUserID,_ForUserID,_ForUrgeID,_ForEventID,_AttemptNo,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'CastTotalVote',false,{_CallType:_CallType,_ByUserID:_ByUserID,_ForUserID:_ForUserID,_ForUrgeID:_ForUrgeID,_ForEventID:_ForEventID,_AttemptNo:_AttemptNo},succeededCallback,failedCallback,userContext); },
CurrentUrgeScoreToFormattedString:function(_pkUrgeID,_pkUserID,_ResultOrdering,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'CurrentUrgeScoreToFormattedString',false,{_pkUrgeID:_pkUrgeID,_pkUserID:_pkUserID,_ResultOrdering:_ResultOrdering},succeededCallback,failedCallback,userContext); }}
Voting.registerClass('Voting',Sys.Net.WebServiceProxy);
Voting._staticInstance = new Voting();
Voting.set_path = function(value) { Voting._staticInstance.set_path(value); }
Voting.get_path = function() { return Voting._staticInstance.get_path(); }
Voting.set_timeout = function(value) { Voting._staticInstance.set_timeout(value); }
Voting.get_timeout = function() { return Voting._staticInstance.get_timeout(); }
Voting.set_defaultUserContext = function(value) { Voting._staticInstance.set_defaultUserContext(value); }
Voting.get_defaultUserContext = function() { return Voting._staticInstance.get_defaultUserContext(); }
Voting.set_defaultSucceededCallback = function(value) { Voting._staticInstance.set_defaultSucceededCallback(value); }
Voting.get_defaultSucceededCallback = function() { return Voting._staticInstance.get_defaultSucceededCallback(); }
Voting.set_defaultFailedCallback = function(value) { Voting._staticInstance.set_defaultFailedCallback(value); }
Voting.get_defaultFailedCallback = function() { return Voting._staticInstance.get_defaultFailedCallback(); }
Voting.set_path("/WSAPI/Voting.asmx");
Voting.CastTotalVote= function(_CallType,_ByUserID,_ForUserID,_ForUrgeID,_ForEventID,_AttemptNo,onSuccess,onFailed,userContext) {Voting._staticInstance.CastTotalVote(_CallType,_ByUserID,_ForUserID,_ForUrgeID,_ForEventID,_AttemptNo,onSuccess,onFailed,userContext); }
Voting.CurrentUrgeScoreToFormattedString= function(_pkUrgeID,_pkUserID,_ResultOrdering,onSuccess,onFailed,userContext) {Voting._staticInstance.CurrentUrgeScoreToFormattedString(_pkUrgeID,_pkUserID,_ResultOrdering,onSuccess,onFailed,userContext); }
