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; }); $('#tourokuSite_accountReg').click(function(){ if(pageInfo.elm_ResonaFlg == "1"){ alert("ご注意!住宅ローンのお手続きを行った金融機関以外の口座は指定できません。"); } }); self.setKSS0080DefaultParams(pageInfo); indicator.off(); }); }); }; Pager.prototype.setKSS0080DefaultParams = function(pageInfo) { $('#elm_APPLICATION_DT').text("(お手続日時 " + pageInfo.elm_APPLICATION_DT + ")"); $('#elm_DAZ0164').text(pageInfo.elm_DAZ0164); var userAgent = window.navigator.userAgent; if ("1" == pageInfo.elm_DAZ2667) { $('#about_hokenryou').hide(); $('[id$=_smartPhonePay]').hide(); $('[id$=_accountReg]').hide(); $('#tourokuSite_creditCard').attr('href',pageInfo.elm_CreditCardUrl); $('#other_shorui').find('span').text('(3)'); $('#elm_PAY_RECOMMEND_WORD').show(); } else if("1" == pageInfo.elm_AccountRegFlg) { 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); $('#tyui_pc_accountReg').hide(); } 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, }); if(pageInfo.elm_ResonaFlg == "1"){ $('#tyui_pc_accountReg').show(); }else{ $('#tyui_pc_accountReg').hide(); } } $('#about_hokenryou').hide(); $('[id$=_creditCard]').hide(); $('[id$=_smartPhonePay]').hide(); $('#other_shorui').find('span').text('(3)'); $('#elm_PAY_RECOMMEND_WORD').show(); } else if ("1" == pageInfo.elm_DCZ2778) { $('[id$=_creditCard]').hide(); $('[id$=_smartPhonePay]').hide(); $('[id$=_accountReg]').hide(); $('#about_hokenryou').show(); $('#other_shorui').find('span').text('(3)'); } else if("1" == pageInfo.elm_SmartPhonePayFlg) { $('#about_hokenryou').hide(); $('[id$=_creditCard]').hide(); $('[id$=_accountReg]').hide(); $('#tourokuSite_smartPhonePay').attr('href',pageInfo.elm_SmartPhonePayUrl); $('#other_shorui').find('span').text('(3)'); $('#elm_PAY_RECOMMEND_WORD').show(); } else { $('[id$=_creditCard]').hide(); $('[id$=_smartPhonePay]').hide(); $('[id$=_accountReg]').hide(); $('#about_hokenryou').hide(); $('#other_shorui').find('span').text('(2)'); } if(pageInfo.elm_AppliLinkFlg == "1"){ if(userAgent.indexOf('Android') != -1 && userAgent.indexOf('Mobile') != -1 || userAgent.indexOf('iPhone') != -1){ $('#siteBtn_div_applilink').show(); $('#applilink_btn').attr('href',pageInfo.elm_AppliLinkUrl); $('#qrCode_applilink').hide(); }else{ $('#siteBtn_div_applilink').hide(); jQuery('#qrCode_applilink').qrcode({ width:150, height:150, text: pageInfo.elm_AppliLinkUrl, }); $('#qrCode_applilink').show(); } }else{ $('#applilink_area').hide(); $('[id$=_applilink]').hide(); } var shorui_li = ''; var getDocumentInListTag = function(document) { if(!document) { return ''; } return "