var RandomVideo=function() {
RandomVideo.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
RandomVideo.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return RandomVideo._staticInstance.get_path();},
GetRandomVideo:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetRandomVideo',false,{},succeededCallback,failedCallback,userContext); }}
RandomVideo.registerClass('RandomVideo',Sys.Net.WebServiceProxy);
RandomVideo._staticInstance = new RandomVideo();
RandomVideo.set_path = function(value) { RandomVideo._staticInstance.set_path(value); }
RandomVideo.get_path = function() { return RandomVideo._staticInstance.get_path(); }
RandomVideo.set_timeout = function(value) { RandomVideo._staticInstance.set_timeout(value); }
RandomVideo.get_timeout = function() { return RandomVideo._staticInstance.get_timeout(); }
RandomVideo.set_defaultUserContext = function(value) { RandomVideo._staticInstance.set_defaultUserContext(value); }
RandomVideo.get_defaultUserContext = function() { return RandomVideo._staticInstance.get_defaultUserContext(); }
RandomVideo.set_defaultSucceededCallback = function(value) { RandomVideo._staticInstance.set_defaultSucceededCallback(value); }
RandomVideo.get_defaultSucceededCallback = function() { return RandomVideo._staticInstance.get_defaultSucceededCallback(); }
RandomVideo.set_defaultFailedCallback = function(value) { RandomVideo._staticInstance.set_defaultFailedCallback(value); }
RandomVideo.get_defaultFailedCallback = function() { return RandomVideo._staticInstance.get_defaultFailedCallback(); }
RandomVideo.set_path("/Webservices/RandomVideo.asmx");
RandomVideo.GetRandomVideo= function(onSuccess,onFailed,userContext) {RandomVideo._staticInstance.GetRandomVideo(onSuccess,onFailed,userContext); }
