<html>
<head>
<META http-equiv="Refresh" content="180; URL=index.html">
<META HTTP-EQUIV=Pragma CONTENT=no-cashe>
<META http-equiv=Content-Type content="text/html; charset=windows-1251">
<title></title>
</head>
<script language="JavaScript1.2" src="account.js"></script>
<body leftmargin=0 bottommargin=0 rightmargin=0 topmargin=0 onLoad="press('c'); Pars_C();">
<style>
.t_b{font-size:20;color:368DC4;font-family:arial}
.t_w{font-size:20;color:white;font-family:arial}
.inp{
font-family : arial;
color : A61D00;
font-size : 45;
border-left-width : 0;
border-right-width : 0;
border-top-width : 0;
border-bottom-width : 0;
border-width : 0;
background-color: f0f0f0;
border-style : none;
font-weight : bold;
text-align : center;
text-valign : middle;
}
.cname{
font-family : arial;
color : white;
font-size : 20;
border-left-width : 0;
border-right-width : 0;
border-top-width : 0;
border-bottom-width : 0;
border-width : 0;
background-color: 368DC4;
border-style : none;
font-weight : bold;
text-align : center;
text-valign : middle;
}
.t1 {font-family : arial; font-size : 30;
color : A61D00;}
</style>
<script>
var type = '';
function Pars_C()
{
var tmp = document.cookie;
var tmp2 = tmp.split("; ");
for (var i = 0; i < tmp2.length; i++)
{
var j = tmp2[i].split("=");
if(j[0]=="bank_type") type=j[1];
switch (type)
{
case 'alfa' : document.bank.src='img/ic_bank_alfa.gif'; break;
case 'city' : document.bank.src='img/ic_bank_city.gif'; break;
case 'delta' : document.bank.src='img/ic_bank_delta.gif'; break;
case 'home' : document.bank.src='img/ic_bank_homecredit.gif'; break;
case 'invest' : document.bank.src='img/ic_bank_invest.gif'; break;
case 'mbrr' : document.bank.src='img/ic_bank_mbrr.gif'; break;
case 'metro' : document.bank.src='img/ic_bank_metro.gif'; break;
case 'renessans' : document.bank.src='img/ic_bank_renessans.gif'; break;
case 'rosbank' : document.bank.src='img/ic_bank_rosbank.gif'; break;
case 'russt' : document.bank.src='img/ic_bank_russtandart.gif'; break;
case 'citibank' : document.bank.src='img/ic_bank_citibank.gif'; break;
case 'promsvyaz' : document.bank.src='img/ic_bank_promsvyazbank.gif'; break;
}
}
return true;
}
</script>
<script>
var x = '';
function press(digit) {
if (digit == 'c') {x='';}
else if (digit == 'bs') {x = x.substring(0,x.length-1)}
else {
if (x.length < 29) {x = x + digit;}
}
ff.bik.value = '';
ff.getAccountNumber.value = '';
obik = '';ogetAccountNumber = '';
if (x.length <= 29) {
obik = x.substring(0,9);
ogetAccountNumber = x.substring(9,29);
}
if (type == 'promsvyaz'){
ff.getAccountNumber.value = '42301810'
}
ff.bik.value = obik;
ff.getAccountNumber.value = ogetAccountNumber;
if (x.length < 9) {document.bik_i.src='img/set_1.gif'; document.getAccountNumber_i.src='img/set_0.gif';}
else {document.bik_i.src='img/set_0.gif'; document.getAccountNumber_i.src='img/set_1.gif';}
if (x.length > 29) {document.bik_i.src='img/set_0.gif'; document.getAccountNumber_i.src='img/set_0.gif';}
if (x.length == 29)
{
var bik = ff.bik.value;
var getAccountNumber = ff.getAccountNumber.value;
var res = getKey(bik,getAccountNumber);
var tmp = document.getElementById('err_bik');
if (res != getAccountNumber.charAt(8) || !check_acc(getAccountNumber) || !check_bank(getAccountNumber,type))
{
tmp.style.visibility = "inherit";
return false;
}
document.next.src='img/continiue.gif';
tmp.style.visibility = "hidden";
}
else {document.next.src='img/set_0.gif';}
}
function Sub_Mit()
{
var bik = ff.bik.value;
var getAccountNumber = ff.getAccountNumber.value;
var res = getKey(bik,getAccountNumber);
var tmp = document.getElementById('err_bik');
if (res != getAccountNumber.charAt(8) || !check_acc(getAccountNumber) || !check_bank(getAccountNumber,type))
{
tmp.style.visibility = "inherit";
return false;
}
tmp.style.visibility = "hidden";
document.cookie="bik=" + ff.bik.value;
document.cookie="getAccountNumber=" + ff.getAccountNumber.value;
ff.submit();
return true;
}
</script>
<table width="100%" height="100%">
<tr>
<td align="center">
<table width="900">
<tr>
<td>
<table>
<tr>
<td>
<a href="banks_fio_poluch1.html"><img src="img/back.gif" alt="" width="130" height="130" border="0"></a>
</td>
<td><a href="index.html"><img src="img/back_menu.gif" alt="" width="130" height="130" border="0"></a></td>
<td>
<img src="img/0.gif" alt=""
onclick='Sub_Mit();'
id="next" name=next border="0">
</td>
</tr>
</table>
</td>
<td align="right">
<img src="img/ic_bank_pogash_credita.gif" name=bank alt="" width="219" height="154" border="0" align="right">
</td>
</tr>
<tr>
<td>
<form name="ff" action="validate_confirm1.html" method="post">
<table cellpadding="0" cellspacing="0" align="left">
<tr>
<td>
<table cellpadding="0" cellspacing="0" width="300" align="left">
<tr class="t_b">
<td colspan=3>:</td>
</tr>
<tr bgcolor="#f0f0f0">
<td><img src="img/in_left.gif" width=11 height=65></td>
<td width=400><input type=text name=bik maxlength=20 style="width: 400; height: 47; font-size: 40;" class=inp></td>
<td width=11><img src="img/in_right.gif" width=11 height=65></td>
</tr> <tr align="center">
<td colspan=3><img src="img/set_1.gif" width=24 height=12 name="bik_i" id="bik_i"></td>
</tr>
<tr class="t_b">
<td colspan=3>/C:</td>
</tr>
<tr bgcolor="#f0f0f0">
<td><img src="img/in_left.gif" width=11 height=65></td>
<td width=400><input type=text name=getAccountNumber maxlength=20 style="width: 500; height: 47; font-size: 40;" class=inp></td>
<td width=11><img src="img/in_right.gif" width=11 height=65></td>
</tr>
<tr align="center">
<td colspan=3><img src="img/set_0.gif" width=24 height=12 name="getAccountNumber_i" id="getAccountNumber_i"></td>
</tr>
<tr align="center">
<td colspan=3>
<br><span id="err_bik" style="visibility:hidden; color: red; font-weight : bold; font-size: 22px;"> !<br></span>
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>
</td>
<td>
<table cellpadding="0" cellspacing="0" align="right">
<tr>
<td><img src="img/01_off.gif" onmouseover="this.src='img/01_on.gif'" onmouseout="this.src='img/01_off.gif'" onClick="press('1');" alt="" width="100" height="112" border="0"></td>
<td><img src="img/02_off.gif" onmouseover="this.src='img/02_on.gif'" onmouseout="this.src='img/02_off.gif'" onClick="press('2');" alt="" width="100" height="112" border="0"></td>
<td><img src="img/03_off.gif" onmouseover="this.src='img/03_on.gif'" onmouseout="this.src='img/03_off.gif'" onClick="press('3');" alt="" width="100" height="112" border="0"></td>
</tr>
<tr>
<td><img src="img/04_off.gif" onmouseover="this.src='img/04_on.gif'" onmouseout="this.src='img/04_off.gif'" onClick="press('4');" alt="" width="100" height="112" border="0"></td>
<td><img src="img/05_off.gif" onmouseover="this.src='img/05_on.gif'" onmouseout="this.src='img/05_off.gif'" onClick="press('5');" alt="" width="100" height="112" border="0"></td>
<td><img src="img/06_off.gif" onmouseover="this.src='img/06_on.gif'" onmouseout="this.src='img/06_off.gif'" onClick="press('6');" alt="" width="100" height="112" border="0"></td>
</tr>
<tr>
<td><img src="img/07_off.gif" onmouseover="this.src='img/07_on.gif'" onmouseout="this.src='img/07_off.gif'" onClick="press('7');" alt="" width="100" height="112" border="0"></td>
<td><img src="img/08_off.gif" onmouseover="this.src='img/08_on.gif'" onmouseout="this.src='img/08_off.gif'" onClick="press('8');" alt="" width="100" height="112" border="0"></td>
<td><img src="img/09_off.gif" onmouseover="this.src='img/09_on.gif'" onmouseout="this.src='img/09_off.gif'" onClick="press('9');" alt="" width="100" height="112" border="0"></td>
</tr>
<tr>
<td><img src="img/c_off.gif" onmouseover="this.src='img/c_on.gif'" onmouseout="this.src='img/c_off.gif'" onClick="press('c');" alt="" width="100" height="112" border="0"></td>
<td><img src="img/00_off.gif" onmouseover="this.src='img/00_on.gif'" onmouseout="this.src='img/00_off.gif'" onClick="press('0');" alt="" width="100" height="112" border="0"></td>
<td><img src="img/arr_off.gif" onmouseover="this.src='img/arr_on.gif'" onmouseout="this.src='img/arr_off.gif'" onClick="press('bs');" alt="" width="100" height="112" border="0"></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>