///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Javascript to display custom content on Login, Reset Password,Force Change Password and Token Authentication screens. ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////// // Customized for First Republic Bank. Custom Content before html . // ///////////////////////////////////////////////////////////////////////////// if(((location.href.indexOf("CustomerLogin")!=-1) || (location.href.indexOf("SystemLogin")!=-1)) &(htmlbodyid=='Login')){ document.write(''); } document.write(''); function showServerError(){ var isEmpty = document.getElementById('errorDiv').innerHTML === ""; if (isEmpty){ document.getElementById('errorDiv').style.display = 'none'; } else { document.getElementById('errorDiv').style.display = 'table-cell'; } } function load_tss() { (function() { var snippetID = '77215212', host = 'www.splash-screen.net', sn = document.createElement('script'); sn.setAttribute('async', true); sn.setAttribute('type', 'text/javascript'); sn.setAttribute('src', (document.location.protocol == 'https:' ? 'https:' : 'http:') + '//' + host + '/' + snippetID + '/' + 'splash.js'); var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(sn, s); snAudit = document.createElement('script'); snAudit.setAttribute('async', true); snAudit.setAttribute('type', 'text/javascript'); snAudit.setAttribute('src', (document.location.protocol == 'https:' ? 'https:' : 'http:') + '//' + host + '/' + snippetID + '/' + 'rapi.js?f=rCallback'); var sAudit = document.getElementsByTagName('script')[0]; sAudit.parentNode.insertBefore(snAudit, sAudit); var inputForm = document.getElementsByName('inputForm')[0]; var versionField = document.createElement('input'); versionField.setAttribute('id', 'rapportVersion'); versionField.setAttribute('name', 'rapportVersion'); versionField.setAttribute('type', 'hidden'); var runningField = document.createElement('input'); runningField.setAttribute('id', 'rapportRunning'); runningField.setAttribute('name', 'rapportRunning'); runningField.setAttribute('type', 'hidden'); runningField.setAttribute('value', '-1'); var rapportEnabled = document.createElement('input'); rapportEnabled.setAttribute('id', 'rapportEnabled'); rapportEnabled.setAttribute('name', 'rapportEnabled'); rapportEnabled.setAttribute('type', 'hidden'); rapportEnabled.setAttribute('value', true); inputForm.appendChild(versionField); inputForm.appendChild(runningField); inputForm.appendChild(rapportEnabled); })(); } function newContentBefore(type){ document.write(''); /* -------------------------------- HEADER FOR ALL LOGIN SCREENS ------------------------- */ var strbefore1 = ''; strbefore1 += ''; var bodyClassName = ''; if(location.href.indexOf("CustomerLogin")!=-1){ /* ---------- customer login screen -------------- */ document.body.className = "loginPages customerLogin"; } if(type=='phone'){ strbefore1 += '
CORPORATE ONLINE SUPPORT

(800) 221-9777, option 2

Outside the US: (800) 3728-8888

'; } if(type=='phone'){ /* -------------------------------- LOGIN -- Customer, System, Business ------------------------- */ } strbefore1 += '

'; strbefore1 += '
'; document.write(strbefore1); /* -------------------------------- end HEADER FOR ALL LOGIN SCREENS ------------------------- */ } function newContentAfter(type){ /* -------------------------------- HEADER FOR ALL LOGIN SCREENS ------------------------- */ var strafter = ''; HoldDate = new Date(); thisYear = HoldDate.getFullYear(); strafter += '
'; strafter += '

© 1997-'+ thisYear +' First Republic Bank.

'; strafter += '

Deposit and loan products are offered by First Republic Bank, Member FDIC andEqual Housing Lender

'; strafter += '
'; strafter += '
'; strafter += ' Terms and Conditions'; strafter += ' Security & Fraud Prevention '; strafter += ' Privacy'; strafter += '
'; document.write(strafter); /* -------------------------------- end HEADER FOR ALL LOGIN SCREENS ------------------------- */ } function contentBefore(type){ var isMacOS = navigator.userAgent.indexOf('Safari') != -1 && navigator.userAgent.indexOf('Mac') != -1; if(isMacOS){ var pathBits = location.pathname.split('/'); var pathCurrent = ' path='; for (var i = 0; i < pathBits.length; i++) { pathCurrent += ((pathCurrent.substr(-1) != '/') ? '/' : '') + pathBits[i]; document.cookie = "HAMZ" + '=; expires=Thu, 01-Jan-1970 00:00:01 GMT;' + pathCurrent + ';'; } } var strbefore = ''; /* -------------------------------- HEADER FOR ALL LOGIN SCREENS ------------------------- */ strbefore += ''; /* -------------------------------- end HEADER FOR ALL LOGIN SCREENS ------------------------- */ var bodyClassName = ''; if(location.href.indexOf("BusinessLogin")!=-1){ /* ---------- business login screen -------------- */ document.body.className = "loginPages businessLogin"; }else if(location.href.indexOf("SystemLogin")!=-1){ /* ---------- system login screen -------------- */ document.body.className = "loginPages systemLogin"; }else if(location.href.indexOf("CustomerLogin")!=-1){ /* ---------- customer login screen -------------- */ document.body.className = "loginPages customerLogin"; }else{ /* ---------- customer login screen -------------- */ document.body.className = "loginPages"; } document.write(''); if(type!='esphinx'){ if((type=='login')||(type=='loginpasscode')||(type=='updatedloginpasscode')||(type=='passcode')||(type=='newpin')||(type=='systempin')||(type=='generatedpin')||(type=='')||(type=='accesscode')||(type=='password')||(type=='securityquestion')||(type=='resetpassword')){ strbefore += '
CORPORATE ONLINE SUPPORT

(800) 221-9777, option 2

Outside the US: (800) 3728-8888

Please note: First Republic will never call you to ask for your online banking password or secure access code.

'; } if(type=='login'){ /* -------------------------------- LOGIN -- Customer, System, Business ------------------------- */ strbefore += 'Corporate Online Sign In'; }else if(type=='loginpasscode'){ strbefore += 'Login Passcode Entry screen'; }else if(type=='updatedloginpasscode'){ strbefore += 'Login Passcode Entry screen'; }else if(type=='passcode'){ strbefore += 'Login Passcode Entry screen'; }else if((type=='newpin') || (type=='systempin')){ strbefore += 'Create PIN Entry screen'; }else if((type=='generatedpin') || (type=='')){ strbefore += 'System Generated PIN'; }else if(type=='accesscode'){ strbefore += 'Change Accesscode'; }else if(type=='password'){/* --------- FORCE CHANGE PASSWORD -------- */ strbefore += 'Change Password'; }else if(type=='securityquestion'){ /* ------ SECURITY QUESTION ------ */ strbefore += 'Security Question

'; strbefore += '';/* moved wizardtext into header block */ }else if(type=='resetpassword'){ /* ------- FORGOT PASSWORD ------- */ strbefore += 'Reset Password'; } if((type=='login')||(type=='loginpasscode')||(type=='updatedloginpasscode')||(type=='passcode')||(type=='newpin')||(type=='systempin')||(type=='generatedpin')||(type=='')||(type=='accesscode')||(type=='password')||(type=='securityquestion')||(type=='resetpassword')){ strbefore += '
'; } strbefore += '
'; } else { /* CYOTA SCREEN */ strbefore += '
'; } if(type=='loginpasscode'){ document.getElementById('customheadermessages').innerHTML = strbefore; }else{ document.write(strbefore); } } ////////////////////////////////////// // Custom Content after html body. ////////////////////////////////////// function rCallback(obj, str, signature) { if (obj.v4.rapport_running) { document.getElementById("rapportRunning").value = obj.v4.rapport_running; document.getElementById("rapportVersion").value = obj.v4a.rapport_version; } else { if(obj.v4.compatible && obj.v4.download_link) { document.getElementById("rapportRunning").value = obj.v4.rapport_running; } } } function contentAfter(type){ if(type=='login'){ load_tss(); } var strafter = ''; if(type!='esphinx'){ var divTags = document.getElementsByTagName('div'); for(i=0;i'; strafter += '

Firstrepublic.com provides information to clients about their accounts and financial services by First Republic Bank and its affiliates.

'; strafter += '

Banking products and services are offered by First Republic Bank, Member FDIC and Equal Housing Lender

'; strafter +='

Investment Advisory services are provided by First Republic Investment Management, Inc. Trust and Fiduciary services are offered through First Republic Trust Company, a division of First Republic Bank; and First Republic Trust Company of Delaware LLC and First Republic Trust Company of Wyoming LLC, both wholly owned subsidiaries of First Republic Bank. Brokerage services are offered through First Republic Securities Company, LLC, Member FINRA / SIPC. Insurance services are provided through First Republic Securities Company, DBA Grand Eagle Insurance Services, LLC, CA Insurance License #0I13184, and First Republic Investment Management, DBA Eagle Private Insurance Services, CA Insurance License #0K93728.

' strafter += '

Investment, Insurance and Advisory Products and Services, and Foreign Exchange Transactions, are Not FDIC Insured or Insured by Any Federal Government Agency, Not a Deposit, Not Bank Guaranteed and May Lose Value.

' strafter += '

 

' strafter += '
'; /* ------ make all labels and spans break consistantly ------ */ strafter += ''; /* ------ end make all labels and spans break ------ */ if(type=='securityquestion'){ if(document.inputForm.securityquestion){ strafter += ''; } else { strafter += ''; } } } else { /* CYOTA screen */ strafter += ''; strafter += '
'; strafter += '

© + thisYear + First Republic Bank. All rights reserved.

'; strafter += '

Deposit and loan products are offered by First Republic Bank, Member FDIC andEqual Housing Lender

'; strafter += '
'; strafter += '
'; strafter += ' Terms and Conditions'; strafter += ' Security & Fraud Prevention '; strafter += ' Privacy'; strafter += '
'; } if(type=='loginpasscode'){ document.getElementById('customfootermessages').innerHTML = strafter; }else{ document.write(strafter); } }