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