var WS_Video=function() {
WS_Video.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
WS_Video.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return WS_Video._staticInstance.get_path();},
GetHotVideo:function(typeId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetHotVideo',false,{typeId:typeId},succeededCallback,failedCallback,userContext); },
GetVideoCount:function(typeId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetVideoCount',false,{typeId:typeId},succeededCallback,failedCallback,userContext); },
GetVideo:function(cur,num,typeId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetVideo',false,{cur:cur,num:num,typeId:typeId},succeededCallback,failedCallback,userContext); },
GetVideoFromID:function(videoid,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetVideoFromID',false,{videoid:videoid},succeededCallback,failedCallback,userContext); }}
WS_Video.registerClass('WS_Video',Sys.Net.WebServiceProxy);
WS_Video._staticInstance = new WS_Video();
WS_Video.set_path = function(value) { WS_Video._staticInstance.set_path(value); }
WS_Video.get_path = function() { return WS_Video._staticInstance.get_path(); }
WS_Video.set_timeout = function(value) { WS_Video._staticInstance.set_timeout(value); }
WS_Video.get_timeout = function() { return WS_Video._staticInstance.get_timeout(); }
WS_Video.set_defaultUserContext = function(value) { WS_Video._staticInstance.set_defaultUserContext(value); }
WS_Video.get_defaultUserContext = function() { return WS_Video._staticInstance.get_defaultUserContext(); }
WS_Video.set_defaultSucceededCallback = function(value) { WS_Video._staticInstance.set_defaultSucceededCallback(value); }
WS_Video.get_defaultSucceededCallback = function() { return WS_Video._staticInstance.get_defaultSucceededCallback(); }
WS_Video.set_defaultFailedCallback = function(value) { WS_Video._staticInstance.set_defaultFailedCallback(value); }
WS_Video.get_defaultFailedCallback = function() { return WS_Video._staticInstance.get_defaultFailedCallback(); }
WS_Video.set_path("/WS_Video.asmx");
WS_Video.GetHotVideo= function(typeId,onSuccess,onFailed,userContext) {WS_Video._staticInstance.GetHotVideo(typeId,onSuccess,onFailed,userContext); }
WS_Video.GetVideoCount= function(typeId,onSuccess,onFailed,userContext) {WS_Video._staticInstance.GetVideoCount(typeId,onSuccess,onFailed,userContext); }
WS_Video.GetVideo= function(cur,num,typeId,onSuccess,onFailed,userContext) {WS_Video._staticInstance.GetVideo(cur,num,typeId,onSuccess,onFailed,userContext); }
WS_Video.GetVideoFromID= function(videoid,onSuccess,onFailed,userContext) {WS_Video._staticInstance.GetVideoFromID(videoid,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('System.Data');
if (typeof(System.Data.DataTable) === 'undefined') {
System.Data.DataTable=gtc("System.Data.DataTable");
System.Data.DataTable.registerClass('System.Data.DataTable');
}

