// cached javascript var AjaxUtilsMethods = { CheckUserLoginStatus:function(callback,context){return new ajax_request(this.url + '?_method=CheckUserLoginStatus&_session=rw','',callback, context);}, GetUserDetailsForFirstTime:function(ID,callback,context){return new ajax_request(this.url + '?_method=GetUserDetailsForFirstTime&_session=rw','ID=' + enc(ID),callback, context);}, UpdateFirstTimrRegistrationDetails:function(ID,strEmail,strPassword,strName,strIp,strActive,strHashValue,strGender,strAge,strIndustry,strCountry,strAddress1,strAddress2,strCity,strState,strZip,strPhone,callback,context){return new ajax_request(this.url + '?_method=UpdateFirstTimrRegistrationDetails&_session=rw','ID=' + enc(ID)+ '\r\nstrEmail=' + enc(strEmail)+ '\r\nstrPassword=' + enc(strPassword)+ '\r\nstrName=' + enc(strName)+ '\r\nstrIp=' + enc(strIp)+ '\r\nstrActive=' + enc(strActive)+ '\r\nstrHashValue=' + enc(strHashValue)+ '\r\nstrGender=' + enc(strGender)+ '\r\nstrAge=' + enc(strAge)+ '\r\nstrIndustry=' + enc(strIndustry)+ '\r\nstrCountry=' + enc(strCountry)+ '\r\nstrAddress1=' + enc(strAddress1)+ '\r\nstrAddress2=' + enc(strAddress2)+ '\r\nstrCity=' + enc(strCity)+ '\r\nstrState=' + enc(strState)+ '\r\nstrZip=' + enc(strZip)+ '\r\nstrPhone=' + enc(strPhone),callback, context);}, CheckLoginCredentials:function(strEmail,strPassword,callback,context){return new ajax_request(this.url + '?_method=CheckLoginCredentials&_session=rw','strEmail=' + enc(strEmail)+ '\r\nstrPassword=' + enc(strPassword),callback, context);}, GetLoggedDetails:function(callback,context){return new ajax_request(this.url + '?_method=GetLoggedDetails&_session=rw','',callback, context);}, getCurimage:function(callback,context){return new ajax_request(this.url + '?_method=getCurimage&_session=rw','',callback, context);}, getCurrentDate:function(callback,context){return new ajax_request(this.url + '?_method=getCurrentDate&_session=rw','',callback, context);}, getCurrentLatestDate:function(strselectedDate,callback,context){return new ajax_request(this.url + '?_method=getCurrentLatestDate&_session=rw','strselectedDate=' + enc(strselectedDate),callback, context);}, GetTodayArticlesImages:function(callback,context){return new ajax_request(this.url + '?_method=GetTodayArticlesImages&_session=rw','',callback, context);}, GetTopArticleName:function(callback,context){return new ajax_request(this.url + '?_method=GetTopArticleName&_session=rw','',callback, context);}, GetTopArticleNameByDId:function(strDid,callback,context){return new ajax_request(this.url + '?_method=GetTopArticleNameByDId&_session=rw','strDid=' + enc(strDid),callback, context);}, GetArticlesImagesByDid:function(strDid,callback,context){return new ajax_request(this.url + '?_method=GetArticlesImagesByDid&_session=rw','strDid=' + enc(strDid),callback, context);}, GetTopDatesDids:function(callback,context){return new ajax_request(this.url + '?_method=GetTopDatesDids&_session=rw','',callback, context);}, GetDisplayDate:function(strDate,callback,context){return new ajax_request(this.url + '?_method=GetDisplayDate&_session=rw','strDate=' + enc(strDate),callback, context);}, GetLoggedInUserName:function(callback,context){return new ajax_request(this.url + '?_method=GetLoggedInUserName&_session=rw','',callback, context);}, CheckCredentials:function(callback,context){return new ajax_request(this.url + '?_method=CheckCredentials&_session=rw','',callback, context);}, LogoutFunction:function(callback,context){return new ajax_request(this.url + '?_method=LogoutFunction&_session=rw','',callback, context);}, InsertRegistrationDetails:function(strEmail,strPassword,strName,strIp,strActive,strHashValue,callback,context){return new ajax_request(this.url + '?_method=InsertRegistrationDetails&_session=rw','strEmail=' + enc(strEmail)+ '\r\nstrPassword=' + enc(strPassword)+ '\r\nstrName=' + enc(strName)+ '\r\nstrIp=' + enc(strIp)+ '\r\nstrActive=' + enc(strActive)+ '\r\nstrHashValue=' + enc(strHashValue),callback, context);}, GetID:function(callback,context){return new ajax_request(this.url + '?_method=GetID&_session=rw','',callback, context);}, RegistrationDetailsInsert:function(UserID,strEmail,strGender,strAge,strIndustry,strCountry,strAddress1,strAddress2,strCity,strState,strZip,strPhone,callback,context){return new ajax_request(this.url + '?_method=RegistrationDetailsInsert&_session=rw','UserID=' + enc(UserID)+ '\r\nstrEmail=' + enc(strEmail)+ '\r\nstrGender=' + enc(strGender)+ '\r\nstrAge=' + enc(strAge)+ '\r\nstrIndustry=' + enc(strIndustry)+ '\r\nstrCountry=' + enc(strCountry)+ '\r\nstrAddress1=' + enc(strAddress1)+ '\r\nstrAddress2=' + enc(strAddress2)+ '\r\nstrCity=' + enc(strCity)+ '\r\nstrState=' + enc(strState)+ '\r\nstrZip=' + enc(strZip)+ '\r\nstrPhone=' + enc(strPhone),callback, context);}, parseHtml:function(html,callback,context){return new ajax_request(this.url + '?_method=parseHtml&_session=rw','html=' + enc(html),callback, context);}, GetArticleRatingCount_New:function(strArticle,strDate,strPublicationID,strPageTitle,strArticleTitle,callback,context){return new ajax_request(this.url + '?_method=GetArticleRatingCount_New&_session=rw','strArticle=' + enc(strArticle)+ '\r\nstrDate=' + enc(strDate)+ '\r\nstrPublicationID=' + enc(strPublicationID)+ '\r\nstrPageTitle=' + enc(strPageTitle)+ '\r\nstrArticleTitle=' + enc(strArticleTitle),callback, context);}, GetArticleRatingCountNew:function(strPageName,callback,context){return new ajax_request(this.url + '?_method=GetArticleRatingCountNew&_session=rw','strPageName=' + enc(strPageName),callback, context);}, InsertArticleRank:function(strArticle,strArticleTitle,callback,context){return new ajax_request(this.url + '?_method=InsertArticleRank&_session=rw','strArticle=' + enc(strArticle)+ '\r\nstrArticleTitle=' + enc(strArticleTitle),callback, context);}, GetArticleRatingCount:function(strArticle,strDate,strPublicationID,callback,context){return new ajax_request(this.url + '?_method=GetArticleRatingCount&_session=rw','strArticle=' + enc(strArticle)+ '\r\nstrDate=' + enc(strDate)+ '\r\nstrPublicationID=' + enc(strPublicationID),callback, context);}, ArticleClippingInsert:function(strPublicationID,strType,strArticleTitle,callback,context){return new ajax_request(this.url + '?_method=ArticleClippingInsert&_session=rw','strPublicationID=' + enc(strPublicationID)+ '\r\nstrType=' + enc(strType)+ '\r\nstrArticleTitle=' + enc(strArticleTitle),callback, context);}, ArticleClippingInsertD:function(strPublicationID,strType,strArticleTitle,strArtName,callback,context){return new ajax_request(this.url + '?_method=ArticleClippingInsertD&_session=rw','strPublicationID=' + enc(strPublicationID)+ '\r\nstrType=' + enc(strType)+ '\r\nstrArticleTitle=' + enc(strArticleTitle)+ '\r\nstrArtName=' + enc(strArtName),callback, context);}, ArticleMailSending:function(strBody,strSubject,strTomail,callback,context){return new ajax_request(this.url + '?_method=ArticleMailSending&_session=rw','strBody=' + enc(strBody)+ '\r\nstrSubject=' + enc(strSubject)+ '\r\nstrTomail=' + enc(strTomail),callback, context);}, getLoginUserEmailId:function(callback,context){return new ajax_request(this.url + '?_method=getLoginUserEmailId&_session=rw','',callback, context);}, DisplayArticleClippings:function(callback,context){return new ajax_request(this.url + '?_method=DisplayArticleClippings&_session=rw','',callback, context);}, DeleteArticleClipping:function(strClippingId,callback,context){return new ajax_request(this.url + '?_method=DeleteArticleClipping&_session=rw','strClippingId=' + enc(strClippingId),callback, context);}, setSession:function(strSessionname,strvalue,callback,context){return new ajax_request(this.url + '?_method=setSession&_session=rw','strSessionname=' + enc(strSessionname)+ '\r\nstrvalue=' + enc(strvalue),callback, context);}, getSession:function(strSessionname,callback,context){return new ajax_request(this.url + '?_method=getSession&_session=rw','strSessionname=' + enc(strSessionname),callback, context);}, CheckUserLoginStatus_Redirect:function(ArtId,Url,callback,context){return new ajax_request(this.url + '?_method=CheckUserLoginStatus_Redirect&_session=rw','ArtId=' + enc(ArtId)+ '\r\nUrl=' + enc(Url),callback, context);}, CheckLoginCredentials_Redirect:function(strEmail,strPassword,callback,context){return new ajax_request(this.url + '?_method=CheckLoginCredentials_Redirect&_session=rw','strEmail=' + enc(strEmail)+ '\r\nstrPassword=' + enc(strPassword),callback, context);}, DisplayArticleClippingsTable:function(strPubid,callback,context){return new ajax_request(this.url + '?_method=DisplayArticleClippingsTable&_session=rw','strPubid=' + enc(strPubid),callback, context);}, GetArticlePhotographNames:function(strgroupImageName,strPublicationid,strtagname,callback,context){return new ajax_request(this.url + '?_method=GetArticlePhotographNames&_session=rw','strgroupImageName=' + enc(strgroupImageName)+ '\r\nstrPublicationid=' + enc(strPublicationid)+ '\r\nstrtagname=' + enc(strtagname),callback, context);}, GetTop10Articles:function(EdId,EdnDate,callback,context){return new ajax_request(this.url + '?_method=GetTop10Articles&_session=rw','EdId=' + enc(EdId)+ '\r\nEdnDate=' + enc(EdnDate),callback, context);}, FetchPageGlideContent:function(strCurEditionPath,strCurDtpath,callback,context){return new ajax_request(this.url + '?_method=FetchPageGlideContent&_session=rw','strCurEditionPath=' + enc(strCurEditionPath)+ '\r\nstrCurDtpath=' + enc(strCurDtpath),callback, context);}, UpdateUserRegdetails:function(strGender,strAge,strCountry,strIndustry,strDispatch,strName,strAddress,strStreet,strCity,strState,strZip,strPhone,callback,context){return new ajax_request(this.url + '?_method=UpdateUserRegdetails&_session=rw','strGender=' + enc(strGender)+ '\r\nstrAge=' + enc(strAge)+ '\r\nstrCountry=' + enc(strCountry)+ '\r\nstrIndustry=' + enc(strIndustry)+ '\r\nstrDispatch=' + enc(strDispatch)+ '\r\nstrName=' + enc(strName)+ '\r\nstrAddress=' + enc(strAddress)+ '\r\nstrStreet=' + enc(strStreet)+ '\r\nstrCity=' + enc(strCity)+ '\r\nstrState=' + enc(strState)+ '\r\nstrZip=' + enc(strZip)+ '\r\nstrPhone=' + enc(strPhone),callback, context);}, UpdateUserPwddetails:function(strPwd,callback,context){return new ajax_request(this.url + '?_method=UpdateUserPwddetails&_session=rw','strPwd=' + enc(strPwd),callback, context);}, UpdateUserPwddetailsByEmailId:function(strPwd,strEmail,callback,context){return new ajax_request(this.url + '?_method=UpdateUserPwddetailsByEmailId&_session=rw','strPwd=' + enc(strPwd)+ '\r\nstrEmail=' + enc(strEmail),callback, context);}, GetLoggedUserProfileDetails:function(callback,context){return new ajax_request(this.url + '?_method=GetLoggedUserProfileDetails&_session=rw','',callback, context);}, GetUserPreferences:function(callback,context){return new ajax_request(this.url + '?_method=GetUserPreferences&_session=rw','',callback, context);}, UpdateUserPreferences:function(strDAV,strDPV,strDTS,strCategories,callback,context){return new ajax_request(this.url + '?_method=UpdateUserPreferences&_session=rw','strDAV=' + enc(strDAV)+ '\r\nstrDPV=' + enc(strDPV)+ '\r\nstrDTS=' + enc(strDTS)+ '\r\nstrCategories=' + enc(strCategories),callback, context);}, GetForgotLoggedDetails:function(strEmail,callback,context){return new ajax_request(this.url + '?_method=GetForgotLoggedDetails&_session=rw','strEmail=' + enc(strEmail),callback, context);}, MailForgotLoggedDetails:function(strEmail,callback,context){return new ajax_request(this.url + '?_method=MailForgotLoggedDetails&_session=rw','strEmail=' + enc(strEmail),callback, context);}, TTSLogInsert:function(strpublicationID,strmode,strArticlename,callback,context){return new ajax_request(this.url + '?_method=TTSLogInsert&_session=rw','strpublicationID=' + enc(strpublicationID)+ '\r\nstrmode=' + enc(strmode)+ '\r\nstrArticlename=' + enc(strArticlename),callback, context);}, PostLog:function(strBlogProvider,status,attr,callback,context){return new ajax_request(this.url + '?_method=PostLog&_session=rw','strBlogProvider=' + enc(strBlogProvider)+ '\r\nstatus=' + enc(status)+ '\r\nattr=' + enc(attr),callback, context);}, GetMailBody:function(strUrlName,strTextUserName,strPassword,strPaperName,callback,context){return new ajax_request(this.url + '?_method=GetMailBody&_session=rw','strUrlName=' + enc(strUrlName)+ '\r\nstrTextUserName=' + enc(strTextUserName)+ '\r\nstrPassword=' + enc(strPassword)+ '\r\nstrPaperName=' + enc(strPaperName),callback, context);}, GetPassword:function(strEmail,callback,context){return new ajax_request(this.url + '?_method=GetPassword&_session=rw','strEmail=' + enc(strEmail),callback, context);}, GetFeedbackMail:function(strUrlName,strTextUserName,strArticleName,strFeedbackContent,strFootername,strRedirectUrl,strType,callback,context){return new ajax_request(this.url + '?_method=GetFeedbackMail&_session=rw','strUrlName=' + enc(strUrlName)+ '\r\nstrTextUserName=' + enc(strTextUserName)+ '\r\nstrArticleName=' + enc(strArticleName)+ '\r\nstrFeedbackContent=' + enc(strFeedbackContent)+ '\r\nstrFootername=' + enc(strFootername)+ '\r\nstrRedirectUrl=' + enc(strRedirectUrl)+ '\r\nstrType=' + enc(strType),callback, context);}, strGetUserName:function(callback,context){return new ajax_request(this.url + '?_method=strGetUserName&_session=rw','',callback, context);}, EncryptArticleName:function(strArticleName,callback,context){return new ajax_request(this.url + '?_method=EncryptArticleName&_session=rw','strArticleName=' + enc(strArticleName),callback, context);}, InsertMails:function(strFrom,strTo,strSubject,strbody,callback,context){return new ajax_request(this.url + '?_method=InsertMails&_session=rw','strFrom=' + enc(strFrom)+ '\r\nstrTo=' + enc(strTo)+ '\r\nstrSubject=' + enc(strSubject)+ '\r\nstrbody=' + enc(strbody),callback, context);}, GetRegistrationMail:function(strname,strUrlName,strRedirectUrl,callback,context){return new ajax_request(this.url + '?_method=GetRegistrationMail&_session=rw','strname=' + enc(strname)+ '\r\nstrUrlName=' + enc(strUrlName)+ '\r\nstrRedirectUrl=' + enc(strRedirectUrl),callback, context);}, GetArticlesImagesByDate:function(strDate,strPubId,callback,context){return new ajax_request(this.url + '?_method=GetArticlesImagesByDate&_session=rw','strDate=' + enc(strDate)+ '\r\nstrPubId=' + enc(strPubId),callback, context);}, GetCredentials:function(callback,context){return new ajax_request(this.url + '?_method=GetCredentials&_session=rw','',callback, context);}, Encryrpty:function(strFormat,callback,context){return new ajax_request(this.url + '?_method=Encryrpty&_session=rw','strFormat=' + enc(strFormat),callback, context);}, AdvertisementMailSending:function(strBody,strSubject,strTomail,strFrom,callback,context){return new ajax_request(this.url + '?_method=AdvertisementMailSending&_session=rw','strBody=' + enc(strBody)+ '\r\nstrSubject=' + enc(strSubject)+ '\r\nstrTomail=' + enc(strTomail)+ '\r\nstrFrom=' + enc(strFrom),callback, context);}, DSettings:function(callback,context){return new ajax_request(this.url + '?_method=DSettings&_session=rw','',callback, context);}, VSettings:function(callback,context){return new ajax_request(this.url + '?_method=VSettings&_session=rw','',callback, context);}, InsertIntoArticleLog:function(Article,mode,StrPubId,callback,context){return new ajax_request(this.url + '?_method=InsertIntoArticleLog&_session=rw','Article=' + enc(Article)+ '\r\nmode=' + enc(mode)+ '\r\nStrPubId=' + enc(StrPubId),callback, context);}, InsertIntoPageLog:function(Page,StrPubId,callback,context){return new ajax_request(this.url + '?_method=InsertIntoPageLog&_session=rw','Page=' + enc(Page)+ '\r\nStrPubId=' + enc(StrPubId),callback, context);}, RegistrationMail_Insert:function(strName,strTo,Password,HashCode,callback,context){return new ajax_request(this.url + '?_method=RegistrationMail_Insert&_session=rw','strName=' + enc(strName)+ '\r\nstrTo=' + enc(strTo)+ '\r\nPassword=' + enc(Password)+ '\r\nHashCode=' + enc(HashCode),callback, context);}, ForgotPasswordMail_Insert:function(strTo,strPassword,callback,context){return new ajax_request(this.url + '?_method=ForgotPasswordMail_Insert&_session=rw','strTo=' + enc(strTo)+ '\r\nstrPassword=' + enc(strPassword),callback, context);}, AccountConfirmation_Insert:function(Name,strTo,strPassword,callback,context){return new ajax_request(this.url + '?_method=AccountConfirmation_Insert&_session=rw','Name=' + enc(Name)+ '\r\nstrTo=' + enc(strTo)+ '\r\nstrPassword=' + enc(strPassword),callback, context);}, ArticleMail_Insert:function(StrBody,strTo,strSubject,redURL,callback,context){return new ajax_request(this.url + '?_method=ArticleMail_Insert&_session=rw','StrBody=' + enc(StrBody)+ '\r\nstrTo=' + enc(strTo)+ '\r\nstrSubject=' + enc(strSubject)+ '\r\nredURL=' + enc(redURL),callback, context);}, AdvertisementMail_Insert:function(StrBody,strTo,strSubject,redURL,callback,context){return new ajax_request(this.url + '?_method=AdvertisementMail_Insert&_session=rw','StrBody=' + enc(StrBody)+ '\r\nstrTo=' + enc(strTo)+ '\r\nstrSubject=' + enc(strSubject)+ '\r\nredURL=' + enc(redURL),callback, context);}, FeedBackMail_Insert:function(StrBody,strFrom,callback,context){return new ajax_request(this.url + '?_method=FeedBackMail_Insert&_session=rw','StrBody=' + enc(StrBody)+ '\r\nstrFrom=' + enc(strFrom),callback, context);}, DisplayClippedArticles:function(val,callback,context){return new ajax_request(this.url + '?_method=DisplayClippedArticles&_session=rw','val=' + enc(val),callback, context);}, GetPubPathDetails:function(strPubId,callback,context){return new ajax_request(this.url + '?_method=GetPubPathDetails&_session=rw','strPubId=' + enc(strPubId),callback, context);}, UpdateMD:function(strEmailId,callback,context){return new ajax_request(this.url + '?_method=UpdateMD&_session=rw','strEmailId=' + enc(strEmailId),callback, context);}, PodcastCheck:function(strMP3FileName,callback,context){return new ajax_request(this.url + '?_method=PodcastCheck&_session=rw','strMP3FileName=' + enc(strMP3FileName),callback, context);}, GetEmailsandUrls:function(strfromat,callback,context){return new ajax_request(this.url + '?_method=GetEmailsandUrls&_session=rw','strfromat=' + enc(strfromat),callback, context);}, getLoginCurimage:function(callback,context){return new ajax_request(this.url + '?_method=getLoginCurimage&_session=rw','',callback, context);}, Readxml:function(currentpageindex,callback,context){return new ajax_request(this.url + '?_method=Readxml&_session=rw','currentpageindex=' + enc(currentpageindex),callback, context);}, url:'/ajax/EpaperLibrary.AjaxUtilsMethods,EpaperLibrary.ashx' } function _getTable(n,e){for(var i=0; i 2) for(i=2; i9999||year<1970||month<1||month>12||day<0||day>31||hours<0||hours>23||minutes<0||minutes>59||seconds<0||seconds>59)throw("ArgumentException");this.Year = year;this.Month = month;this.Day = day;this.Hours = hours;this.Minutes = minutes;this.Seconds = seconds;} DateTime.prototype.toString = function(){return digi(this.Year,4) + digi(this.Month,2) + digi(this.Day,2) + digi(this.Hours,2) + digi(this.Minutes,2) + digi(this.Seconds,2);} function TimeSpan(){this.Days=0;this.Hours=0;this.Minutes=0;this.Seconds=0;this.Milliseconds=0;} TimeSpan.prototype.toString = function(){return this.Days+'.'+this.Hours+':'+this.Minutes+':'+this.Seconds+'.'+this.Milliseconds;}