Type.registerNamespace('SBR.Contests.Website.Webservices');
SBR.Contests.Website.Webservices.OpenedContestsWS=function() {
SBR.Contests.Website.Webservices.OpenedContestsWS.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
SBR.Contests.Website.Webservices.OpenedContestsWS.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return SBR.Contests.Website.Webservices.OpenedContestsWS._staticInstance.get_path();},
ContestGames:function(contestCode,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ContestGames',false,{contestCode:contestCode},succeededCallback,failedCallback,userContext); },
AddUserPicks:function(userPicks,contestCode,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddUserPicks',false,{userPicks:userPicks,contestCode:contestCode},succeededCallback,failedCallback,userContext); },
PreviousPicksMontly:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'PreviousPicksMontly',false,{},succeededCallback,failedCallback,userContext); },
InfoRow:function(contestCode,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'InfoRow',false,{contestCode:contestCode},succeededCallback,failedCallback,userContext); },
FootballContestGames:function(currentContest,defaultBook,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'FootballContestGames',false,{currentContest:currentContest,defaultBook:defaultBook},succeededCallback,failedCallback,userContext); },
AddBTPUserSelections:function(contestIdentity,openedContestIdentity,userPicks,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddBTPUserSelections',false,{contestIdentity:contestIdentity,openedContestIdentity:openedContestIdentity,userPicks:userPicks},succeededCallback,failedCallback,userContext); },
FootballCurrentWeekUserSelections:function(contestIdentity,openedContestIdentity,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'FootballCurrentWeekUserSelections',false,{contestIdentity:contestIdentity,openedContestIdentity:openedContestIdentity},succeededCallback,failedCallback,userContext); },
CreateUserBracket:function(userBracketTeams,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'CreateUserBracket',false,{userBracketTeams:userBracketTeams},succeededCallback,failedCallback,userContext); }}
SBR.Contests.Website.Webservices.OpenedContestsWS.registerClass('SBR.Contests.Website.Webservices.OpenedContestsWS',Sys.Net.WebServiceProxy);
SBR.Contests.Website.Webservices.OpenedContestsWS._staticInstance = new SBR.Contests.Website.Webservices.OpenedContestsWS();
SBR.Contests.Website.Webservices.OpenedContestsWS.set_path = function(value) { SBR.Contests.Website.Webservices.OpenedContestsWS._staticInstance.set_path(value); }
SBR.Contests.Website.Webservices.OpenedContestsWS.get_path = function() { return SBR.Contests.Website.Webservices.OpenedContestsWS._staticInstance.get_path(); }
SBR.Contests.Website.Webservices.OpenedContestsWS.set_timeout = function(value) { SBR.Contests.Website.Webservices.OpenedContestsWS._staticInstance.set_timeout(value); }
SBR.Contests.Website.Webservices.OpenedContestsWS.get_timeout = function() { return SBR.Contests.Website.Webservices.OpenedContestsWS._staticInstance.get_timeout(); }
SBR.Contests.Website.Webservices.OpenedContestsWS.set_defaultUserContext = function(value) { SBR.Contests.Website.Webservices.OpenedContestsWS._staticInstance.set_defaultUserContext(value); }
SBR.Contests.Website.Webservices.OpenedContestsWS.get_defaultUserContext = function() { return SBR.Contests.Website.Webservices.OpenedContestsWS._staticInstance.get_defaultUserContext(); }
SBR.Contests.Website.Webservices.OpenedContestsWS.set_defaultSucceededCallback = function(value) { SBR.Contests.Website.Webservices.OpenedContestsWS._staticInstance.set_defaultSucceededCallback(value); }
SBR.Contests.Website.Webservices.OpenedContestsWS.get_defaultSucceededCallback = function() { return SBR.Contests.Website.Webservices.OpenedContestsWS._staticInstance.get_defaultSucceededCallback(); }
SBR.Contests.Website.Webservices.OpenedContestsWS.set_defaultFailedCallback = function(value) { SBR.Contests.Website.Webservices.OpenedContestsWS._staticInstance.set_defaultFailedCallback(value); }
SBR.Contests.Website.Webservices.OpenedContestsWS.get_defaultFailedCallback = function() { return SBR.Contests.Website.Webservices.OpenedContestsWS._staticInstance.get_defaultFailedCallback(); }
SBR.Contests.Website.Webservices.OpenedContestsWS.set_path("/website/Webservices/OpenedContestsWS.asmx");
SBR.Contests.Website.Webservices.OpenedContestsWS.ContestGames= function(contestCode,onSuccess,onFailed,userContext) {SBR.Contests.Website.Webservices.OpenedContestsWS._staticInstance.ContestGames(contestCode,onSuccess,onFailed,userContext); }
SBR.Contests.Website.Webservices.OpenedContestsWS.AddUserPicks= function(userPicks,contestCode,onSuccess,onFailed,userContext) {SBR.Contests.Website.Webservices.OpenedContestsWS._staticInstance.AddUserPicks(userPicks,contestCode,onSuccess,onFailed,userContext); }
SBR.Contests.Website.Webservices.OpenedContestsWS.PreviousPicksMontly= function(onSuccess,onFailed,userContext) {SBR.Contests.Website.Webservices.OpenedContestsWS._staticInstance.PreviousPicksMontly(onSuccess,onFailed,userContext); }
SBR.Contests.Website.Webservices.OpenedContestsWS.InfoRow= function(contestCode,onSuccess,onFailed,userContext) {SBR.Contests.Website.Webservices.OpenedContestsWS._staticInstance.InfoRow(contestCode,onSuccess,onFailed,userContext); }
SBR.Contests.Website.Webservices.OpenedContestsWS.FootballContestGames= function(currentContest,defaultBook,onSuccess,onFailed,userContext) {SBR.Contests.Website.Webservices.OpenedContestsWS._staticInstance.FootballContestGames(currentContest,defaultBook,onSuccess,onFailed,userContext); }
SBR.Contests.Website.Webservices.OpenedContestsWS.AddBTPUserSelections= function(contestIdentity,openedContestIdentity,userPicks,onSuccess,onFailed,userContext) {SBR.Contests.Website.Webservices.OpenedContestsWS._staticInstance.AddBTPUserSelections(contestIdentity,openedContestIdentity,userPicks,onSuccess,onFailed,userContext); }
SBR.Contests.Website.Webservices.OpenedContestsWS.FootballCurrentWeekUserSelections= function(contestIdentity,openedContestIdentity,onSuccess,onFailed,userContext) {SBR.Contests.Website.Webservices.OpenedContestsWS._staticInstance.FootballCurrentWeekUserSelections(contestIdentity,openedContestIdentity,onSuccess,onFailed,userContext); }
SBR.Contests.Website.Webservices.OpenedContestsWS.CreateUserBracket= function(userBracketTeams,onSuccess,onFailed,userContext) {SBR.Contests.Website.Webservices.OpenedContestsWS._staticInstance.CreateUserBracket(userBracketTeams,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('SBR.Contests.CommObjects');
if (typeof(SBR.Contests.CommObjects.UserPickCO) === 'undefined') {
SBR.Contests.CommObjects.UserPickCO=gtc("SBR.Contests.CommObjects.UserPickCO");
SBR.Contests.CommObjects.UserPickCO.registerClass('SBR.Contests.CommObjects.UserPickCO');
}
if (typeof(SBR.Contests.CommObjects.GameCO) === 'undefined') {
SBR.Contests.CommObjects.GameCO=gtc("SBR.Contests.CommObjects.GameCO");
SBR.Contests.CommObjects.GameCO.registerClass('SBR.Contests.CommObjects.GameCO');
}
if (typeof(SBR.Contests.CommObjects.BracketUserGameCO) === 'undefined') {
SBR.Contests.CommObjects.BracketUserGameCO=gtc("SBR.Contests.CommObjects.BracketUserGameCO");
SBR.Contests.CommObjects.BracketUserGameCO.registerClass('SBR.Contests.CommObjects.BracketUserGameCO');
}
if (typeof(SBR.Contests.CommObjects.BracketGameCO) === 'undefined') {
SBR.Contests.CommObjects.BracketGameCO=gtc("SBR.Contests.CommObjects.BracketGameCO");
SBR.Contests.CommObjects.BracketGameCO.registerClass('SBR.Contests.CommObjects.BracketGameCO');
}
if (typeof(SBR.Contests.CommObjects.ContestCO) === 'undefined') {
SBR.Contests.CommObjects.ContestCO=gtc("SBR.Contests.CommObjects.ContestCO");
SBR.Contests.CommObjects.ContestCO.registerClass('SBR.Contests.CommObjects.ContestCO');
}
if (typeof(SBR.Contests.CommObjects.UserCO) === 'undefined') {
SBR.Contests.CommObjects.UserCO=gtc("SBR.Contests.CommObjects.UserCO");
SBR.Contests.CommObjects.UserCO.registerClass('SBR.Contests.CommObjects.UserCO');
}
if (typeof(SBR.Contests.CommObjects.SportsBookCO) === 'undefined') {
SBR.Contests.CommObjects.SportsBookCO=gtc("SBR.Contests.CommObjects.SportsBookCO");
SBR.Contests.CommObjects.SportsBookCO.registerClass('SBR.Contests.CommObjects.SportsBookCO');
}
