<script type="text/javascript">
var price = new Object(); price['GLA']=1;
price['USD'] = 1.7612;
price['EUR'] = 2.3545;
price['GBP'] = 2.7832;
price['RUB'] = 0.056406;
price['JPY'] = 0.021309;
price['AZN'] = 2.2029;
price['AUD'] = 1.7535;
price['AED'] = 0.47953;
price['BYR'] = 0.00058415;
price['BGN'] = 1.1958;
price['DKK'] = 0.31596;
price['EGP'] = 0.30471;
price['EEK'] = 0.14968;
price['TRY'] = 1.1948;
price['IRR'] = 0.00017008;
price['ISK'] = 0.015529;
price['ILS'] = 0.48667;
price['CAD'] = 1.7584;
price['LVL'] = 3.3483;
price['LTL'] = 0.68024;
price['MDL'] = 0.1433;
price['NOK'] = 0.29523;
price['PLN'] = 0.58734;
price['SGD'] = 1.352;
price['AMD'] = 0.00489;
price['TJS'] = 0.40032;
price['UZS'] = 0.0010769;
price['UAH'] = 0.22129;
price['HUF'] = 0.008473;
price['KWD'] = 6.2922;
price['KZT'] = 0.011935;
price['KGS'] = 0.037507;
price['SEK'] = 0.25816;
price['CHF'] = 1.8019;
price['CZK'] = 0.09411;
price['CNY'] = 0.26502;
price['HKD'] = 0.22687; </script>
<script type="text/javascript">
var rate = new Array(1/2.3545,1/1.7612,1,1/0.056406);
function currency_convert(origin)
{
var origin_value = eval('document.currency.c'+origin+'.value');
if(true)//(/^\d+(\.\d+)?$/.test(origin_value))
{
var euro_equivalent = rate[origin];
var v;
for (i=0; i < rate.length; i++)
{
if (i != origin)
{
v = Math.round(rate[i]*origin_value/euro_equivalent*10000)/10000;
eval('document.currency.c'+i+'.value = '+v);
}
}
}
else
{
eval('document.currency.c'+origin+'.value = 0');
currency_convert(origin);
alert("wrong data");
}
return true;
}
</script>
<form name="currency">
<table class="calculator" width="226" border="0" cellpadding="0" cellspacing="3" height="120">
<tbody><tr>
<td width="30">
<img src="http://currency.boom.ge/themes/currency/images/flags/EUR.gif" alt="EURO">
</td>
<td width="30">
EUR
</td>
<td width="100">
<input name="c0" value="" size="40" onkeyup="currency_convert(0);" class="costum_input" type="text">
</td>
</tr>
<tr>
</tr><tr>
<td>
<img src="http://currency.boom.ge/themes/currency/images/flags/USD.gif" alt="USD">
</td>
<td>
USD
</td>
<td>
<input name="c1" value="" size="40" onkeyup="currency_convert(1);" class="costum_input" type="text">
</td>
</tr>
<tr>
</tr><tr>
<td>
<img src="http://currency.boom.ge/themes/currency/images/flags/GEL.gif" alt="GEL">
</td>
<td>
GEL
</td>
<td>
<input name="c2" value="" size="40" onkeyup="currency_convert(2);" class="costum_input" type="text">
</td>
</tr>
<tr>
</tr><tr>
<td>
<img src="http://currency.boom.ge/themes/currency/images/flags/RUB.gif" alt="RUB">
</td>
<td>
RUB
</td>
<td>
<input name="c3" value="" size="40" onkeyup="currency_convert(3);" class="costum_input" type="text">
</td>
</tr>
</tbody></table>
</form> <br>
</div>
<br>
<div class="borderOrange blockhead">
<!-- </bc> --></div>
</div>
<div class="blockbottom"></div>
</div>
|