///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // 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 += ' '; 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 += ' '; 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 += ' '; } 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 | ';
if(type=='loginpasscode'){
var tableopentag = '
'; if(location.href.indexOf("CustomerLogin")!=-1){ var fullTokenAndRightTD = ''; fullTokenAndRightTD += ' | ';
fullTokenAndRightTD += ' TRY THE UPDATED CORPORATE ONLINE SITE SIGN IN TO RELATED SERVICES View your lockbox transaction activity Manage your Deposit Escrow Virtual subaccounts ';
fullTokenAndRightTD += ' | ';
fullTokenAndRightTD += ''; } if(location.href.indexOf("SystemLogin")!=-1){ var fullTokenAndRightTD = ''; fullTokenAndRightTD += ' | ';
fullTokenAndRightTD += ' SIGN IN TO RELATED SERVICES View your lockbox transaction activity MORE ABOUT CORPORATE ONLINE | ';
fullTokenAndRightTD += ''; } if(type=='login'){/* -------------------------------- LOGIN -- Customer, System, Business ------------------------- */ strafter += fullTokenAndRightTD; document.getElementsByName('submitbutton')[0].id = "btnLogin"; /* -------------------------------- end LOGIN -- Customer, System, Business ------------------------- */ }else if(type=='loginpasscode'){ /*strafter = tableopentag; strafter += ' |
To login: |
1. Enter the token Passcode |
2. Click Login. |
If you do not have a token or need assistance, please contact Customer Service. |
To login: |
To login: |
1. Wait until the passcode on your token updates with a new value. |
2. Enter the updated Passcode |
3. Click OK to log in. |
If you do not have a token or need assistance, please contact Customer Service. |
To login: |
1. Wait until the passcode on your token updates with a new value and then enter the new value in the Updated Passcode field. |
2. Enter a PIN for your Token and then re-enter it. |
3. Click OK save your new PIN and log in. |
If you do not have a token or need assistance, please contact Customer Service. |
You can allow the system to automatically generate a new PIN or you specify the PIN yourself. |
To have the system set your PIN: |
1. Enter your Passcode. |
2. Select the Allow system to generate PIN code checkbox. |
3. Click OK. |
To set the PIN yourself: |
1. Enter your passcode. |
2. Enter a new PIN for your Token and then re-enter it in the Confirm PIN field. |
3. Click OK save your new PIN and log in. |
If you do not have a token or need assistance, please contact Customer Service. |
To login: |
1. Enter the Current Access Code |
2. Enter the New Access Code |
3. Enter the Conirm Access Code |
4. Click Submit. |
If you need assistance, please contact Customer Service. |
To login: |
1. Enter the Current Password |
2. Enter the New Password |
3. Enter the Confirm Password |
4. Click Submit. |
If you need assistance, please contact Customer Service. |
To login: |
1. Enter the Organization ID |
2. Enter the User ID |
3. Enter the Password |
4. Click Login. |
If you need assistance, please contact Customer Service. |
Return to Corporate Online Sign In | ';
}
}
/* ------ make spacing between form and button consistant, remove extra br ------ */
strafter += '';
/* ------ end make spacing between form and button consistant, remove extra br ------ */
/* -------------------------------- end FORGOT PASSWORD ------------------------- */
strafter += '