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