///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Javascript to display custom content on Login, Reset Password,Force Change Password and Token Authentication screens. ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // MODIFIED FOR OLD NATIONAL ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// /* moved this style out of the Customer.css because a page that exists after login has the bodyID of "SecurityQuestion" */ document.write(""); if(location.href.indexOf("SystemLogin")!=-1){ document.write("
"); var RHS = ''; var BannerText = '
Business Banking Admin
'; var BannerIMG = ''; } else { if(navigator.appName!='Netscape') { document.write(""); } document.write(""); document.write(""); document.write("
"); var RHS = '
Old National Bank' var BannerText = '
Business Banking Online
Please sign in!
(All fields are required)
'; var BannerIMG = '
'; } ////////////////////////////////////// // Custom Content before html . ////////////////////////////////////// function contentBefore(type){ if(type!='loginpasscode'){ var strbefore = '
' + '' + ' ' if(type=='login'){ strbefore += ' '; strafter += ''; strafter += ''; strafter += ''; strafter += '';*/ strafter += tableclosetag; if(document.inputForm.organizationid){ strafter += '
'; }else{ strafter += '
'; } }else if(type=='securityquestion'){ document.write(''); strafter = tableopentag; /* strafter += ''; strafter += ''; strafter += ''; strafter += ''; strafter += ''; strafter += '';*/ strafter += tableclosetag; strafter += '
'; } strafter += '
'; strbefore += BannerIMG; strbefore += BannerText; /*strbefore += '
You must have an account with us to use this system. If you have an account and would like to sign up for online banking, please contact us at 1-800-555-5555.
'; */ }else if(type=='loginpasscode'){ strbefore += '
'; strbefore += BannerText; strbefore += '
Login Passcode Entry
'; }else if(type=='updatedloginpasscode'){ strbefore += '
'; strbefore += BannerText; strbefore += '
Login Passcode Entry
'; }else if(type=='passcode'){ strbefore += '
'; strbefore += BannerText; strbefore += '
Login Passcode Entry
'; }else if((type=='newpin') || (type=='systempin')){ strbefore += '
'; strbefore += BannerText; strbefore += '
Create PIN Entry
'; }else if((type=='generatedpin') || (type=='')){ strbefore += '
'; strbefore += BannerText; strbefore += '
System Generated PIN
'; }else if(type=='accesscode'){ strbefore += '
'; strbefore += BannerText; strbefore += '
Change Your Accesscode
'; }else if(type=='password'){ strbefore += '
'; strbefore += BannerText; strbefore += '
Change Your Password
'; }else if(type=='securityquestion'){ strbefore += '
'; strbefore += BannerText; /*strbefore += '
Security Question
';*/ }else if(type=='resetpassword'){ strbefore += '
'; strbefore += BannerText; /*strbefore += '
Reset Your Password
';*/ } document.write(strbefore); } } ////////////////////////////////////// // Custom Content after html . ////////////////////////////////////// function contentAfter(type){ if(type!='loginpasscode'){ var strafter =''; if(type=='loginpasscode'){ var tableopentag = ''; }else{ var tableopentag = '
'; } var tableclosetag = '
'; /* var winHeight; winHeight = document.documentElement.clientHeight-5; document.getElementById('containerTable').style.height = winHeight+'px'; */ if(type=='login'){ /* --- trusteer snippet function --- */ (function() { var snippetID = '7728525', 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); })(); } if(type=='login'){ var divTags = document.getElementsByTagName('div'); for(i=0;i }else{ document.getElementById('loginform').style.width = '550px'; document.write(''); } strafter = tableopentag; /* strafter += '
To login:
 
1. Enter the Organization ID
 
2. Enter the User ID
 
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.
'; if(type=='loginpasscode'){ document.getElementById('customfootermessages').innerHTML = strafter; }else{ document.write(strafter); } } }