// cached javascript var AjaxMainBLL = { SaveCookie:function(ParamName,ValueSave,callback,context){return new ajax_request(this.url + '?_method=SaveCookie&_session=rw','ParamName=' + enc(ParamName)+ '\r\nValueSave=' + enc(ValueSave),callback, context);}, LoadCookie:function(ParamName,callback,context){return new ajax_request(this.url + '?_method=LoadCookie&_session=rw','ParamName=' + enc(ParamName),callback, context);}, DisplayDetailNew:function(Language,TabId,ModuleId,NewId,callback,context){return new ajax_request(this.url + '?_method=DisplayDetailNew&_session=rw','Language=' + enc(Language)+ '\r\nTabId=' + enc(TabId)+ '\r\nModuleId=' + enc(ModuleId)+ '\r\nNewId=' + enc(NewId),callback, context);}, Test13:function(callback,context){return new ajax_request(this.url + '?_method=Test13&_session=rw','',callback, context);}, LoginFunc:function(LoginName,Password,callback,context){return new ajax_request(this.url + '?_method=LoginFunc&_session=rw','LoginName=' + enc(LoginName)+ '\r\nPassword=' + enc(Password),callback, context);}, LogOffFunc:function(callback,context){return new ajax_request(this.url + '?_method=LogOffFunc&_session=rw','',callback, context);}, HasLogin:function(callback,context){return new ajax_request(this.url + '?_method=HasLogin&_session=rw','',callback, context);}, LoginName:function(callback,context){return new ajax_request(this.url + '?_method=LoginName&_session=rw','',callback, context);}, GetLanguage:function(ModuleId,Id,DefaultText,callback,context){return new ajax_request(this.url + '?_method=GetLanguage&_session=rw','ModuleId=' + enc(ModuleId)+ '\r\nId=' + enc(Id)+ '\r\nDefaultText=' + enc(DefaultText),callback, context);}, ReadingLeftMenu:function(ModuleId,RootLeftMenuId,callback,context){return new ajax_request(this.url + '?_method=ReadingLeftMenu&_session=rw','ModuleId=' + enc(ModuleId)+ '\r\nRootLeftMenuId=' + enc(RootLeftMenuId),callback, context);}, ReadingNews:function(ModuleId,LeftMenuId,callback,context){return new ajax_request(this.url + '?_method=ReadingNews&_session=rw','ModuleId=' + enc(ModuleId)+ '\r\nLeftMenuId=' + enc(LeftMenuId),callback, context);}, ReadingOtherNews:function(NewId,Top,callback,context){return new ajax_request(this.url + '?_method=ReadingOtherNews&_session=rw','NewId=' + enc(NewId)+ '\r\nTop=' + enc(Top),callback, context);}, GetNew:function(NewId,callback,context){return new ajax_request(this.url + '?_method=GetNew&_session=rw','NewId=' + enc(NewId),callback, context);}, GetVote:function(ModuleId,callback,context){return new ajax_request(this.url + '?_method=GetVote&_session=rw','ModuleId=' + enc(ModuleId),callback, context);}, SaveVote:function(VoteId,callback,context){return new ajax_request(this.url + '?_method=SaveVote&_session=rw','VoteId=' + enc(VoteId),callback, context);}, GetHtmlDrawPorlet:function(ModuleInZoneId,callback,context){return new ajax_request(this.url + '?_method=GetHtmlDrawPorlet&_session=rw','ModuleInZoneId=' + enc(ModuleInZoneId),callback, context);}, GetHtmlDrawPorletByTitle:function(Title,callback,context){return new ajax_request(this.url + '?_method=GetHtmlDrawPorletByTitle&_session=rw','Title=' + enc(Title),callback, context);}, GetHtmlDrawPorletByTitleAndTheme:function(Title,ThemePath,callback,context){return new ajax_request(this.url + '?_method=GetHtmlDrawPorletByTitleAndTheme&_session=rw','Title=' + enc(Title)+ '\r\nThemePath=' + enc(ThemePath),callback, context);}, GetHtmlDrawPorletByTitleAndHasClose:function(Title,CloseFunction,callback,context){return new ajax_request(this.url + '?_method=GetHtmlDrawPorletByTitleAndHasClose&_session=rw','Title=' + enc(Title)+ '\r\nCloseFunction=' + enc(CloseFunction),callback, context);}, GetRenderDangKhoaModuleInZoneId:function(callback,context){return new ajax_request(this.url + '?_method=GetRenderDangKhoaModuleInZoneId&_session=rw','',callback, context);}, GetShowReadingDataFromServer:function(callback,context){return new ajax_request(this.url + '?_method=GetShowReadingDataFromServer&_session=rw','',callback, context);}, StartWaiting:function(callback,context){return new ajax_request(this.url + '?_method=StartWaiting&_session=rw','',callback, context);}, EndWaiting:function(callback,context){return new ajax_request(this.url + '?_method=EndWaiting&_session=rw','',callback, context);}, GetPorletForeColor:function(callback,context){return new ajax_request(this.url + '?_method=GetPorletForeColor&_session=rw','',callback, context);}, SaveHtmlFileForGoogleSearch:function(InnerHtml,callback,context){return new ajax_request(this.url + '?_method=SaveHtmlFileForGoogleSearch&_session=rw','InnerHtml=' + enc(InnerHtml),callback, context);}, SaveHtmlFile:function(InnerHtml,callback,context){return new ajax_request(this.url + '?_method=SaveHtmlFile&_session=rw','InnerHtml=' + enc(InnerHtml),callback, context);}, GetId:function(callback,context){return new ajax_request(this.url + '?_method=GetId&_session=rw','',callback, context);}, GetSpace:function(callback,context){return new ajax_request(this.url + '?_method=GetSpace&_session=rw','',callback, context);}, GetSaveHtmlFileForGoogleSearch:function(ContentHtml,callback,context){return new ajax_request(this.url + '?_method=GetSaveHtmlFileForGoogleSearch&_session=rw','ContentHtml=' + enc(ContentHtml),callback, context);}, GetOpenMainMenuSpan:function(callback,context){return new ajax_request(this.url + '?_method=GetOpenMainMenuSpan&_session=rw','',callback, context);}, SetOpenMainMenuSpan:function(SpanId,callback,context){return new ajax_request(this.url + '?_method=SetOpenMainMenuSpan&_session=rw','SpanId=' + enc(SpanId),callback, context);}, GetOpenMainMenuId:function(callback,context){return new ajax_request(this.url + '?_method=GetOpenMainMenuId&_session=rw','',callback, context);}, SetOpenMainMenuId:function(Id,callback,context){return new ajax_request(this.url + '?_method=SetOpenMainMenuId&_session=rw','Id=' + enc(Id),callback, context);}, GetOpenMainMenuCaption:function(callback,context){return new ajax_request(this.url + '?_method=GetOpenMainMenuCaption&_session=rw','',callback, context);}, SetOpenMainMenuCaption:function(Caption,callback,context){return new ajax_request(this.url + '?_method=SetOpenMainMenuCaption&_session=rw','Caption=' + enc(Caption),callback, context);}, GetNewPageSize:function(callback,context){return new ajax_request(this.url + '?_method=GetNewPageSize&_session=rw','',callback, context);}, Round:function(Value,callback,context){return new ajax_request(this.url + '?_method=Round&_session=rw','Value=' + enc(Value),callback, context);}, GetPageCount:function(MaxRecord,PageSize,callback,context){return new ajax_request(this.url + '?_method=GetPageCount&_session=rw','MaxRecord=' + enc(MaxRecord)+ '\r\nPageSize=' + enc(PageSize),callback, context);}, GetFAQs:function(callback,context){return new ajax_request(this.url + '?_method=GetFAQs&_session=rw','',callback, context);}, GetFAQ:function(FAQId,callback,context){return new ajax_request(this.url + '?_method=GetFAQ&_session=rw','FAQId=' + enc(FAQId),callback, context);}, ShowFAQForm:function(PageIndex,callback,context){return new ajax_request(this.url + '?_method=ShowFAQForm&_session=rw','PageIndex=' + enc(PageIndex),callback, context);}, Jump2Page:function(Page,callback,context){return new ajax_request(this.url + '?_method=Jump2Page&_session=rw','Page=' + enc(Page),callback, context);}, BuildViewDetailProduct:function(ModuleInZoneId,CategoryId,DetailProductId,callback,context){return new ajax_request(this.url + '?_method=BuildViewDetailProduct&_session=rw','ModuleInZoneId=' + enc(ModuleInZoneId)+ '\r\nCategoryId=' + enc(CategoryId)+ '\r\nDetailProductId=' + enc(DetailProductId),callback, context);}, BuildShowListProduct:function(MyRequest,TabId,CategoryId,callback,context){return new ajax_request(this.url + '?_method=BuildShowListProduct&_session=rw','MyRequest=' + enc(MyRequest)+ '\r\nTabId=' + enc(TabId)+ '\r\nCategoryId=' + enc(CategoryId),callback, context);}, BuildShowListProductForAjax:function(TabId,CategoryId,ClickedMainGroupProductId,callback,context){return new ajax_request(this.url + '?_method=BuildShowListProductForAjax&_session=rw','TabId=' + enc(TabId)+ '\r\nCategoryId=' + enc(CategoryId)+ '\r\nClickedMainGroupProductId=' + enc(ClickedMainGroupProductId),callback, context);}, BuildShowNew:function(MyRequest,TabId,MainCategoryId,callback,context){return new ajax_request(this.url + '?_method=BuildShowNew&_session=rw','MyRequest=' + enc(MyRequest)+ '\r\nTabId=' + enc(TabId)+ '\r\nMainCategoryId=' + enc(MainCategoryId),callback, context);}, AllowedSaveHtml:function(callback,context){return new ajax_request(this.url + '?_method=AllowedSaveHtml&_session=rw','',callback, context);}, ReadingNavigatorBanner:function(ModuleId,callback,context){return new ajax_request(this.url + '?_method=ReadingNavigatorBanner&_session=rw','ModuleId=' + enc(ModuleId),callback, context);}, ShowNavigatorBanner:function(AdvBannerNavigatorId,callback,context){return new ajax_request(this.url + '?_method=ShowNavigatorBanner&_session=rw','AdvBannerNavigatorId=' + enc(AdvBannerNavigatorId),callback, context);}, GetModuleTitle:function(ModuleInZoneId,callback,context){return new ajax_request(this.url + '?_method=GetModuleTitle&_session=rw','ModuleInZoneId=' + enc(ModuleInZoneId),callback, context);}, ReadingForSubTreeNews:function(ParentTreeNewsId,ModuleId,ModuleInZoneId,ParentTitle,callback,context){return new ajax_request(this.url + '?_method=ReadingForSubTreeNews&_session=rw','ParentTreeNewsId=' + enc(ParentTreeNewsId)+ '\r\nModuleId=' + enc(ModuleId)+ '\r\nModuleInZoneId=' + enc(ModuleInZoneId)+ '\r\nParentTitle=' + enc(ParentTitle),callback, context);}, GetInfoForNavigatorTreeNews:function(TreeNewsId,ModuleId,ModuleInZoneId,callback,context){return new ajax_request(this.url + '?_method=GetInfoForNavigatorTreeNews&_session=rw','TreeNewsId=' + enc(TreeNewsId)+ '\r\nModuleId=' + enc(ModuleId)+ '\r\nModuleInZoneId=' + enc(ModuleInZoneId),callback, context);}, GetInfoForTreeNews:function(TreeNewsId,ModuleId,ModuleInZoneId,callback,context){return new ajax_request(this.url + '?_method=GetInfoForTreeNews&_session=rw','TreeNewsId=' + enc(TreeNewsId)+ '\r\nModuleId=' + enc(ModuleId)+ '\r\nModuleInZoneId=' + enc(ModuleInZoneId),callback, context);}, HtmlSubForTreeViewDownload:function(ModuleId,ModuleInZoneId,ParentTreeDownloadId,MainTitle,callback,context){return new ajax_request(this.url + '?_method=HtmlSubForTreeViewDownload&_session=rw','ModuleId=' + enc(ModuleId)+ '\r\nModuleInZoneId=' + enc(ModuleInZoneId)+ '\r\nParentTreeDownloadId=' + enc(ParentTreeDownloadId)+ '\r\nMainTitle=' + enc(MainTitle),callback, context);}, ReadingSubLeftMenu:function(ModuleInZoneId,ModuleId,ParentLeftMenuId,callback,context){return new ajax_request(this.url + '?_method=ReadingSubLeftMenu&_session=rw','ModuleInZoneId=' + enc(ModuleInZoneId)+ '\r\nModuleId=' + enc(ModuleId)+ '\r\nParentLeftMenuId=' + enc(ParentLeftMenuId),callback, context);}, GetClickedLeftMenu:function(ModuleInZoneId,callback,context){return new ajax_request(this.url + '?_method=GetClickedLeftMenu&_session=rw','ModuleInZoneId=' + enc(ModuleInZoneId),callback, context);}, GetLookUpCustomerLink:function(fromTextBoxId,displayTextId,callback,context){return new ajax_request(this.url + '?_method=GetLookUpCustomerLink&_session=rw','fromTextBoxId=' + enc(fromTextBoxId)+ '\r\ndisplayTextId=' + enc(displayTextId),callback, context);}, GetLookUpCaseLink:function(fromTextBoxId,displayTextId,callback,context){return new ajax_request(this.url + '?_method=GetLookUpCaseLink&_session=rw','fromTextBoxId=' + enc(fromTextBoxId)+ '\r\ndisplayTextId=' + enc(displayTextId),callback, context);}, GetLookUpEmployeeLink:function(fromTextBoxId,displayTextId,callback,context){return new ajax_request(this.url + '?_method=GetLookUpEmployeeLink&_session=rw','fromTextBoxId=' + enc(fromTextBoxId)+ '\r\ndisplayTextId=' + enc(displayTextId),callback, context);}, GetLookUpServicePriceLink:function(SupplierPriceTextBoxId,SalePriceTextBoxId,PercentTextBoxId,ServiceId,callback,context){return new ajax_request(this.url + '?_method=GetLookUpServicePriceLink&_session=rw','SupplierPriceTextBoxId=' + enc(SupplierPriceTextBoxId)+ '\r\nSalePriceTextBoxId=' + enc(SalePriceTextBoxId)+ '\r\nPercentTextBoxId=' + enc(PercentTextBoxId)+ '\r\nServiceId=' + enc(ServiceId),callback, context);}, url:'/csharpwrapper/CMSPortal.BackEnd.AjaxMainBLL,CMSPortalBussiness.ashx' } function _getTable(n,e){for(var i=0; i 2) for(i=2; i