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