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