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