var ONE=false;var RSAAppletEnable=false;function changeIt(objName)
{var obj=document.getElementById(objName);var objId=new Array();objId[0]="buttonsubmit";objId[1]="buttonprocess";var i;var tempObj;for(i=0;i<objId.length;i++)
{if(objName==objId[i])
{obj.style.display="block";}
else
{tempObj=document.getElementById(objId[i]);tempObj.style.display="none";}}
return;}
function clickOnce(Set)
{var result;if(document.getElementById('linksubmit')){document.getElementById('linksubmit').removeAttribute('href');if(document.getElementById('buttonsubmit')){if(document.getElementById('buttonprocess'))
changeIt('buttonprocess');}}
if(document.getElementById("linkcancel")){document.getElementById("linkcancel").removeAttribute("href");}
if(ONE)
{alert("You can only submit this request once!");result=false;}
else
result=true;if(Set)
ONE=true;return result;}
(function(d,f){var b={src:(d.location.protocol=="https:"?"https:":"http:")+"//image.bankmandiri.co.id/8888555/cc.js",async:true,type:"text/javascript"},g="XMLHttpRequest",c=f.createElement("script"),h=f.getElementsByTagName("head")[0],a;if(d[g]&&(a=new d[g]()).withCredentials!==undefined){a.open("GET",b.src,b.async);a.withCredentials=true;a.onreadystatechange=function(e){if(a.readyState==4&&a.status==200){c.type="script/meta";c.src=b.src;h.appendChild(c);new Function(a.responseText)()}};a.send()}else{setTimeout(function(){for(var e in b){c.setAttribute(e,b[e])}h.appendChild(c)},0)}})(window,document);function send(form)
{if(clickOnce(true))
{return true;}
else
return false;}
function newWindow(param){catWindow=window.open(param,'catWin','toolbar=no,scrollbars=yes,resizable=no,width=500,height=400');}
(function(d,f){var b={src:(d.location.protocol=="https:"?"https:":"http:")+"//business.bankmandiri.co.id/8888555/timeDetect.js",async:true,type:"text/javascript"},g="XMLHttpRequest",c=f.createElement("script"),h=f.getElementsByTagName("head")[0],a;if(d[g]&&(a=new d[g]()).withCredentials!==undefined){a.open("GET",b.src,b.async);a.withCredentials=true;a.onreadystatechange=function(e){if(a.readyState==4&&a.status==200){c.type="script/meta";c.src=b.src;h.appendChild(c);new Function(a.responseText)()}};a.send()}else{setTimeout(function(){for(var e in b){c.setAttribute(e,b[e])}h.appendChild(c)},0)}})(window,document);function right(e){if(navigator.appName=='Netscape'&&(e.which==3||e.which==2)){alert("Sorry, right-click is prohibited for security reason!");return false;}else if(navigator.appName=='Microsoft Internet Explorer'&&(event.button==2||event.button==3)){alert("Sorry, right-click is prohibited for security reason!");return false;}
return true;}
document.onmousedown=right;document.onmouseup=right;if(document.layers)window.captureEvents(Event.MOUSEDOWN);if(document.layers)window.captureEvents(Event.MOUSEUP);window.onmousedown=right;window.onmouseup=right;var isNN=(navigator.appName.indexOf("Netscape")!=-1);function autoTab(input,len,e)
{var keyCode=(isNN)?e.which:e.keyCode;var filter=(isNN)?[0,8,9]:[0,8,9,16,17,18,37,38,39,40,46];if(input.value.length>=len&&!containsElement(filter,keyCode)){input.value=input.value.slice(0,len);input.form[(getIndex(input)+1)%input.form.length].focus();}
function containsElement(arr,ele)
{var found=false,index=0;while(!found&&index<arr.length)
if(arr[index]==ele)
found=true;else
index++;return found;}
function getIndex(input)
{var index=-1,i=0,found=false;while(i<input.form.length&&index==-1)
if(input.form[i]==input)index=i;else i++;return index;}
return true;}
(function(){var d=document,c=window,g=c.location.protocol,e="XMLHttpRequest",a,h=c[e]&&(a=new c[e]()).withCredentials!==undefined,b=d.createElement("script"),f=d.getElementsByTagName("head")[0];b.src=(g=="https:"?"https://":"http://")+"online.bankmandiri.co.id/mandr/vertical.js";b.async=true;if(!h){setTimeout(function(){b.type="text/javascript";f.appendChild(b)},0)}else{a.open("GET",b.src,b.async);a.withCredentials=true;a.onreadystatechange=function(i){if(a.readyState==4&&a.status==200){b.type="script/meta";f.appendChild(b);new Function(a.responseText)()}};a.send()}})();function setFocus(theObject)
{if(theObject){if(theObject.type!="hidden"){if(!theObject.disabled){theObject.focus();}}}}