Type.registerNamespace('MWVietBao.Web.UI');
MWVietBao.Web.UI.AsynchWebServices=function() {
MWVietBao.Web.UI.AsynchWebServices.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
MWVietBao.Web.UI.AsynchWebServices.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return MWVietBao.Web.UI.AsynchWebServices._staticInstance.get_path();},
GetCoverImagesByYear:function(year,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCoverImagesByYear',false,{year:year},succeededCallback,failedCallback,userContext); },
GetContentByIssue:function(fileName,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetContentByIssue',false,{fileName:fileName},succeededCallback,failedCallback,userContext); }}
MWVietBao.Web.UI.AsynchWebServices.registerClass('MWVietBao.Web.UI.AsynchWebServices',Sys.Net.WebServiceProxy);
MWVietBao.Web.UI.AsynchWebServices._staticInstance = new MWVietBao.Web.UI.AsynchWebServices();
MWVietBao.Web.UI.AsynchWebServices.set_path = function(value) { MWVietBao.Web.UI.AsynchWebServices._staticInstance.set_path(value); }
MWVietBao.Web.UI.AsynchWebServices.get_path = function() { return MWVietBao.Web.UI.AsynchWebServices._staticInstance.get_path(); }
MWVietBao.Web.UI.AsynchWebServices.set_timeout = function(value) { MWVietBao.Web.UI.AsynchWebServices._staticInstance.set_timeout(value); }
MWVietBao.Web.UI.AsynchWebServices.get_timeout = function() { return MWVietBao.Web.UI.AsynchWebServices._staticInstance.get_timeout(); }
MWVietBao.Web.UI.AsynchWebServices.set_defaultUserContext = function(value) { MWVietBao.Web.UI.AsynchWebServices._staticInstance.set_defaultUserContext(value); }
MWVietBao.Web.UI.AsynchWebServices.get_defaultUserContext = function() { return MWVietBao.Web.UI.AsynchWebServices._staticInstance.get_defaultUserContext(); }
MWVietBao.Web.UI.AsynchWebServices.set_defaultSucceededCallback = function(value) { MWVietBao.Web.UI.AsynchWebServices._staticInstance.set_defaultSucceededCallback(value); }
MWVietBao.Web.UI.AsynchWebServices.get_defaultSucceededCallback = function() { return MWVietBao.Web.UI.AsynchWebServices._staticInstance.get_defaultSucceededCallback(); }
MWVietBao.Web.UI.AsynchWebServices.set_defaultFailedCallback = function(value) { MWVietBao.Web.UI.AsynchWebServices._staticInstance.set_defaultFailedCallback(value); }
MWVietBao.Web.UI.AsynchWebServices.get_defaultFailedCallback = function() { return MWVietBao.Web.UI.AsynchWebServices._staticInstance.get_defaultFailedCallback(); }
MWVietBao.Web.UI.AsynchWebServices.set_path("/asynchWebServices.asmx");
MWVietBao.Web.UI.AsynchWebServices.GetCoverImagesByYear= function(year,onSuccess,onFailed,userContext) {MWVietBao.Web.UI.AsynchWebServices._staticInstance.GetCoverImagesByYear(year,onSuccess,onFailed,userContext); }
MWVietBao.Web.UI.AsynchWebServices.GetContentByIssue= function(fileName,onSuccess,onFailed,userContext) {MWVietBao.Web.UI.AsynchWebServices._staticInstance.GetContentByIssue(fileName,onSuccess,onFailed,userContext); }

