Pager.prototype.goKSS0080 = function(params) { var self = this; indicator.on(); this.execApi('/MSAD_SKS_UII_KSS0080.json', params, function(response) { self.pageInfo = response.pageInfo; var pageInfo = self.pageInfo; self.getHtml('KSS0080.html', function() { viewNumber.on("S080"); footer.on(2); $('#goKSS0010Back').click(function() { indicator.on(); self.goKSS0010(self.getKSS0010BackFrom080Params()); return false; }); self.setKSS0080DefaultParams(pageInfo); indicator.off(); }); }); }; Pager.prototype.setKSS0080DefaultParams = function(pageInfo) { $('#elm_APPLICATION_DT').text("(お手続日時 " + pageInfo.elm_APPLICATION_DT + ")"); $('#elm_DAZ0164').text(pageInfo.elm_DAZ0164); if ("1" == pageInfo.elm_DAZ2667) { $('#about_hokenryou').hide(); $('[id$=_accountReg]').hide(); $('#tourokuSite_creditCard').attr('href',pageInfo.elm_CreditCardUrl); $('#other_shorui').find('span').text('(3)'); } else if("1" == pageInfo.elm_AccountRegFlg) { var userAgent = window.navigator.userAgent; if(userAgent.indexOf('Android') != -1 && userAgent.indexOf('Mobile') != -1 || userAgent.indexOf('iPhone') != -1){ $('#title_pc_accountReg').hide(); $('#title_sp_accountReg').show(); $('#qrCode_accountReg').hide(); $('#tourokuSite_accountReg').show(); $('#tourokuSite_accountReg').attr('href',pageInfo.elm_AccountRegUrl); } else { $('#title_sp_accountReg').hide(); $('#title_pc_accountReg').show(); $('#siteBtn_div_accountReg').hide(); $('#tourokuSite_accountReg').hide(); $('#qrCode_accountReg').show(); jQuery('#qrCode_accountReg').qrcode({ width:150, height:150, text: pageInfo.elm_AccountRegUrl, }); } $('#about_hokenryou').hide(); $('[id$=_creditCard]').hide(); $('#other_shorui').find('span').text('(3)'); } else if ("1" == pageInfo.elm_DCZ2778) { $('[id$=_creditCard]').hide(); $('[id$=_accountReg]').hide(); $('#about_hokenryou').show(); $('#other_shorui').find('span').text('(3)'); } else { $('[id$=_creditCard]').hide(); $('#about_hokenryou').hide(); $('[id$=_accountReg]').hide(); $('#other_shorui').find('span').text('(2)'); } var shorui_li = ''; var getDocumentInListTag = function(documentName) { if(!documentName) { return ''; } return "