Type.registerNamespace('NCEE.Controls');
NCEE.Controls.video_control=function() {
NCEE.Controls.video_control.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
NCEE.Controls.video_control.prototype={
RenderVideo:function(VideoID,VideoCategoryID,succeededCallback, failedCallback, userContext) {
return this._invoke(NCEE.Controls.video_control.get_path(), 'RenderVideo',false,{VideoID:VideoID,VideoCategoryID:VideoCategoryID},succeededCallback,failedCallback,userContext); }}
NCEE.Controls.video_control.registerClass('NCEE.Controls.video_control',Sys.Net.WebServiceProxy);
NCEE.Controls.video_control._staticInstance = new NCEE.Controls.video_control();
NCEE.Controls.video_control.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; NCEE.Controls.video_control._staticInstance._path = value; }
NCEE.Controls.video_control.get_path = function() { return NCEE.Controls.video_control._staticInstance._path; }
NCEE.Controls.video_control.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); }
NCEE.Controls.video_control._staticInstance._timeout = value; }
NCEE.Controls.video_control.get_timeout = function() { 
return NCEE.Controls.video_control._staticInstance._timeout; }
NCEE.Controls.video_control.set_defaultUserContext = function(value) { 
NCEE.Controls.video_control._staticInstance._userContext = value; }
NCEE.Controls.video_control.get_defaultUserContext = function() { 
return NCEE.Controls.video_control._staticInstance._userContext; }
NCEE.Controls.video_control.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; NCEE.Controls.video_control._staticInstance._succeeded = value; }
NCEE.Controls.video_control.get_defaultSucceededCallback = function() { 
return NCEE.Controls.video_control._staticInstance._succeeded; }
NCEE.Controls.video_control.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; NCEE.Controls.video_control._staticInstance._failed = value; }
NCEE.Controls.video_control.get_defaultFailedCallback = function() { 
return NCEE.Controls.video_control._staticInstance._failed; }
NCEE.Controls.video_control.set_path("/controls/video-control.asmx");
NCEE.Controls.video_control.RenderVideo= function(VideoID,VideoCategoryID,onSuccess,onFailed,userContext) {NCEE.Controls.video_control._staticInstance.RenderVideo(VideoID,VideoCategoryID,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('NCEE.Video');
if (typeof(NCEE.Video.NCEEVideo) === 'undefined') {
NCEE.Video.NCEEVideo=gtc("NCEE.Video.NCEEVideo");
NCEE.Video.NCEEVideo.registerClass('NCEE.Video.NCEEVideo');
}

