var ShowsService=function() {
ShowsService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
ShowsService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return ShowsService._staticInstance.get_path();},
LoadShows:function(year,succeededCallback, failedCallback, userContext) {
/// <param name="year" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'LoadShows',false,{year:year},succeededCallback,failedCallback,userContext); },
LoadYearDropDown:function(succeededCallback, failedCallback, userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'LoadYearDropDown',false,{},succeededCallback,failedCallback,userContext); }}
ShowsService.registerClass('ShowsService',Sys.Net.WebServiceProxy);
ShowsService._staticInstance = new ShowsService();
ShowsService.set_path = function(value) {
ShowsService._staticInstance.set_path(value); }
ShowsService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return ShowsService._staticInstance.get_path();}
ShowsService.set_timeout = function(value) {
ShowsService._staticInstance.set_timeout(value); }
ShowsService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return ShowsService._staticInstance.get_timeout(); }
ShowsService.set_defaultUserContext = function(value) { 
ShowsService._staticInstance.set_defaultUserContext(value); }
ShowsService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return ShowsService._staticInstance.get_defaultUserContext(); }
ShowsService.set_defaultSucceededCallback = function(value) { 
 ShowsService._staticInstance.set_defaultSucceededCallback(value); }
ShowsService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return ShowsService._staticInstance.get_defaultSucceededCallback(); }
ShowsService.set_defaultFailedCallback = function(value) { 
ShowsService._staticInstance.set_defaultFailedCallback(value); }
ShowsService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return ShowsService._staticInstance.get_defaultFailedCallback(); }
ShowsService.set_path("/Services/ShowsService.asmx");
ShowsService.LoadShows= function(year,onSuccess,onFailed,userContext) {
/// <param name="year" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
ShowsService._staticInstance.LoadShows(year,onSuccess,onFailed,userContext); }
ShowsService.LoadYearDropDown= function(onSuccess,onFailed,userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
ShowsService._staticInstance.LoadYearDropDown(onSuccess,onFailed,userContext); }
