function cconv1(){

    if(!(document.textor.val1.value))

    {

        document.textor.val2.value = "Amount?";

    } 

    else if ((document.textor.cur1.options[document.textor.cur1.selectedIndex].value == -1) || (document.textor.cur2.options[document.textor.cur2.selectedIndex].value == -1))

    {

        document.textor.val2.value = "Rate N/A";

    }

    else

    {

        document.textor.val2.value=parseFloat(document.textor.val1.value)*(parseFloat(document.textor.cur1.options[document.textor.cur1.selectedIndex].value)/parseFloat(document.textor.cur2.options[document.textor.cur2.selectedIndex].value));

        document.textor.val2.value=Math.round(document.textor.val2.value*100)/100;

    }

}



if (document.textor.texaccept.value == "site operator accepts conditions at http://cconv.textor.com")

{

   siteok=true;

   document.write("<TABLE BORDER=0 width=500><tr><td><img src='http://cconv.textor.com/conv.gif' alt='The Textor Webmasters Ltd Currency Converter (C) Textor Webmasters Ltd 1998' border=0><BR>");

   document.write("<IMG SRC='http://cconv.textor.com/conv6.gif' ALT='Step 1 - enter base amount' BORDER='0'>");

   document.write("<INPUT TYPE=TEXT size=10 NAME=val1 ONBLUR='cconv1();'><SELECT NAME=cur1 ONCHANGE='cconv1();'>");

document.write("<OPTION VALUE='0.0220603914237775'>India Rupee [INR]</OPTION>");
document.write("<OPTION VALUE='0.356506055435028'>Argentina Peso [ARS]</OPTION>");
document.write("<OPTION VALUE='0.707799891954003'>Australia Dollar [AUD]</OPTION>");
document.write("<OPTION VALUE='1.15890050335714'>Austria Euro [EUR]</OPTION>");
document.write("<OPTION VALUE='2.65957507624675'>Bahrain Dinars [BHD]</OPTION>");
document.write("<OPTION VALUE='-1'>Bangladesh Taka [BDT]</OPTION>");
document.write("<OPTION VALUE='1.15890050335714'>Belgium Euro [EUR]</OPTION>");
document.write("<OPTION VALUE='0.21694950135915'>Botswana Pula [BWP]</OPTION>");
document.write("<OPTION VALUE='0.350213376551732'>Brazil Real [BRL]</OPTION>");
document.write("<OPTION VALUE='1.69649365015392'>Britain Pound [GBP]</OPTION>");
document.write("<OPTION VALUE='0.574250180791251'>Brunei Dollar [BND]</OPTION>");
document.write("<OPTION VALUE='0.750582390789222'>Canada Dollar [CAD]</OPTION>");
document.write("<OPTION VALUE='0.00159507904793755'>Chile Peso [CLP]</OPTION>");
document.write("<OPTION VALUE='0.120822578754956'>China Yuan [CNY]</OPTION>");
document.write("<OPTION VALUE='0.000346090192682027'>Colombia Peso [COP]</OPTION>");
document.write("<OPTION VALUE='0.155902084030059'>Denmark Krone [DKK]</OPTION>");
document.write("<OPTION VALUE='1.15890050335714'>Europe Euro [EUR]</OPTION>");
document.write("<OPTION VALUE='1.15890050335714'>Finland Euro [EUR]</OPTION>");
document.write("<OPTION VALUE='1.15890050335714'>France Euro [EUR]</OPTION>");
document.write("<OPTION VALUE='1.15890050335714'>Germany Euro [EUR]</OPTION>");
document.write("<OPTION VALUE='1.15890050335714'>Greece Euro [EUR]</OPTION>");
document.write("<OPTION VALUE='-1'>Hong Kong Dollar [HKD]</OPTION>");
document.write("<OPTION VALUE='0.0130684777233737'>Iceland Krona [ISK]</OPTION>");
document.write("<OPTION VALUE='0.000117439995883962'>Indonesia Rupiah [IDR]</OPTION>");
document.write("<OPTION VALUE='0.000119570903041581'>Iran Rial [IRR]</OPTION>");
document.write("<OPTION VALUE='-1'>Iraq Dinar [IQD]</OPTION>");
document.write("<OPTION VALUE='1.15890050335714'>Ireland Euro [EUR]</OPTION>");
document.write("<OPTION VALUE='0.222320359238647'>Israel Shekel [ILS]</OPTION>");
document.write("<OPTION VALUE='1.15890050335714'>Italy Euro [EUR]</OPTION>");
document.write("<OPTION VALUE='0.00917786429079808'>Japan Yen [JPY]</OPTION>");
document.write("<OPTION VALUE='3.39927569165159'>Kuwait Dinar [KWD]</OPTION>");
document.write("<OPTION VALUE='0.74031516274071'>Libya Dinar [LYD]</OPTION>");
document.write("<OPTION VALUE='0.263157744296858'>Malaysia Ringgit [MYR]</OPTION>");
document.write("<OPTION VALUE='2.72050101328851'>Malta Liri [MTL]</OPTION>");
document.write("<OPTION VALUE='0.0910076003784468'>Mexico Peso [MXP]</OPTION>");
document.write("<OPTION VALUE='0.0135519692669165'>Nepal Rupee [NPR]</OPTION>");
document.write("<OPTION VALUE='1.15890050335714'>Netherland Euro [EUR]</OPTION>");
document.write("<OPTION VALUE='0.613399704445607'>New Zealand Dollar [NZD]</OPTION>");
document.write("<OPTION VALUE='0.140864968229332'>Norway Kroner [NOK]</OPTION>");
document.write("<OPTION VALUE='2.60077861718274'>Oman Rial [OMR]</OPTION>");
document.write("<OPTION VALUE='0.0174175577603037'>Pakistan Rupee [PKR]</OPTION>");
document.write("<OPTION VALUE='-1'>Philippines Peso [PHP]</OPTION>");
document.write("<OPTION VALUE='1.15890050335714'>Portugal Euro [EUR]</OPTION>");
document.write("<OPTION VALUE='0.274725526009644'>Qatar Riyal [QAR]</OPTION>");
document.write("<OPTION VALUE='0.266666380830696'>Saudi Arabia Riyal [SAR]</OPTION>");
document.write("<OPTION VALUE='0.574250180791251'>Singapore Dollar [SGD]</OPTION>");
document.write("<OPTION VALUE='0.00492385329754667'>Slovenia Tolar [SIT]</OPTION>");
document.write("<OPTION VALUE='0.146092193533819'>South Africa Rand [ZAR]</OPTION>");
document.write("<OPTION VALUE='0.000845737185258867'>South Korea Won [KRW]</OPTION>");
document.write("<OPTION VALUE='1.15890050335714'>Spain Euro [EUR]</OPTION>");
document.write("<OPTION VALUE='0.0105384863842036'>Sri Lanka Rupee [LKR]</OPTION>");
document.write("<OPTION VALUE='0.127510425867012'>Sweden Kronor [SEK]</OPTION>");
document.write("<OPTION VALUE='0.747383886283018'>Switzerland Franc [CHF]</OPTION>");
document.write("<OPTION VALUE='-1'>Taiwan Dollar [TWD]</OPTION>");
document.write("<OPTION VALUE='0.0250450906242943'>Thailand Baht [THB]</OPTION>");
document.write("<OPTION VALUE='0.159293527816127'>Trinidad Dollar [TTD]</OPTION>");
document.write("<OPTION VALUE='0.272294491083347'>UAE Dirham [AED]</OPTION>");
document.write("<OPTION VALUE='1'>US Dollar [USD]</OPTION>");
document.write("<OPTION VALUE='0.000625782118673378'>Venezuela Bolivar [VEB]</OPTION>");
   document.write("</SELECT><IMG SRC='http://cconv.textor.com/conv7.gif' ALT='Step 2 - select first currency' BORDER='0'><BR>");

   document.write("<IMG SRC='http://cconv.textor.com/conv9.gif' ALT='Step 4 - result here' BORDER='0'><INPUT TYPE='TEXT' size=10 NAME='val2' ONCHANGE='cconv1();'>");

   document.write("<SELECT NAME='cur2' ONCHANGE='cconv1();'>");

document.write("<OPTION VALUE='1'>US Dollar [USD]</OPTION>");
document.write("<OPTION VALUE='0.356506055435028'>Argentina Peso [ARS]</OPTION>");
document.write("<OPTION VALUE='0.707799891954003'>Australia Dollar [AUD]</OPTION>");
document.write("<OPTION VALUE='1.15890050335714'>Austria Euro [EUR]</OPTION>");
document.write("<OPTION VALUE='2.65957507624675'>Bahrain Dinars [BHD]</OPTION>");
document.write("<OPTION VALUE='-1'>Bangladesh Taka [BDT]</OPTION>");
document.write("<OPTION VALUE='1.15890050335714'>Belgium Euro [EUR]</OPTION>");
document.write("<OPTION VALUE='0.21694950135915'>Botswana Pula [BWP]</OPTION>");
document.write("<OPTION VALUE='0.350213376551732'>Brazil Real [BRL]</OPTION>");
document.write("<OPTION VALUE='1.69649365015392'>Britain Pound [GBP]</OPTION>");
document.write("<OPTION VALUE='0.574250180791251'>Brunei Dollar [BND]</OPTION>");
document.write("<OPTION VALUE='0.750582390789222'>Canada Dollar [CAD]</OPTION>");
document.write("<OPTION VALUE='0.00159507904793755'>Chile Peso [CLP]</OPTION>");
document.write("<OPTION VALUE='0.120822578754956'>China Yuan [CNY]</OPTION>");
document.write("<OPTION VALUE='0.000346090192682027'>Colombia Peso [COP]</OPTION>");
document.write("<OPTION VALUE='0.155902084030059'>Denmark Krone [DKK]</OPTION>");
document.write("<OPTION VALUE='1.15890050335714'>Europe Euro [EUR]</OPTION>");
document.write("<OPTION VALUE='1.15890050335714'>Finland Euro [EUR]</OPTION>");
document.write("<OPTION VALUE='1.15890050335714'>France Euro [EUR]</OPTION>");
document.write("<OPTION VALUE='1.15890050335714'>Germany Euro [EUR]</OPTION>");
document.write("<OPTION VALUE='1.15890050335714'>Greece Euro [EUR]</OPTION>");
document.write("<OPTION VALUE='-1'>Hong Kong Dollar [HKD]</OPTION>");
document.write("<OPTION VALUE='0.0130684777233737'>Iceland Krona [ISK]</OPTION>");
document.write("<OPTION VALUE='0.0220603914237775'>India Rupee [INR]</OPTION>");
document.write("<OPTION VALUE='0.000117439995883962'>Indonesia Rupiah [IDR]</OPTION>");
document.write("<OPTION VALUE='0.000119570903041581'>Iran Rial [IRR]</OPTION>");
document.write("<OPTION VALUE='-1'>Iraq Dinar [IQD]</OPTION>");
document.write("<OPTION VALUE='1.15890050335714'>Ireland Euro [EUR]</OPTION>");
document.write("<OPTION VALUE='0.222320359238647'>Israel Shekel [ILS]</OPTION>");
document.write("<OPTION VALUE='1.15890050335714'>Italy Euro [EUR]</OPTION>");
document.write("<OPTION VALUE='0.00917786429079808'>Japan Yen [JPY]</OPTION>");
document.write("<OPTION VALUE='3.39927569165159'>Kuwait Dinar [KWD]</OPTION>");
document.write("<OPTION VALUE='0.74031516274071'>Libya Dinar [LYD]</OPTION>");
document.write("<OPTION VALUE='0.263157744296858'>Malaysia Ringgit [MYR]</OPTION>");
document.write("<OPTION VALUE='2.72050101328851'>Malta Liri [MTL]</OPTION>");
document.write("<OPTION VALUE='0.0910076003784468'>Mexico Peso [MXP]</OPTION>");
document.write("<OPTION VALUE='0.0135519692669165'>Nepal Rupee [NPR]</OPTION>");
document.write("<OPTION VALUE='1.15890050335714'>Netherland Euro [EUR]</OPTION>");
document.write("<OPTION VALUE='0.613399704445607'>New Zealand Dollar [NZD]</OPTION>");
document.write("<OPTION VALUE='0.140864968229332'>Norway Kroner [NOK]</OPTION>");
document.write("<OPTION VALUE='2.60077861718274'>Oman Rial [OMR]</OPTION>");
document.write("<OPTION VALUE='0.0174175577603037'>Pakistan Rupee [PKR]</OPTION>");
document.write("<OPTION VALUE='-1'>Philippines Peso [PHP]</OPTION>");
document.write("<OPTION VALUE='1.15890050335714'>Portugal Euro [EUR]</OPTION>");
document.write("<OPTION VALUE='0.274725526009644'>Qatar Riyal [QAR]</OPTION>");
document.write("<OPTION VALUE='0.266666380830696'>Saudi Arabia Riyal [SAR]</OPTION>");
document.write("<OPTION VALUE='0.574250180791251'>Singapore Dollar [SGD]</OPTION>");
document.write("<OPTION VALUE='0.00492385329754667'>Slovenia Tolar [SIT]</OPTION>");
document.write("<OPTION VALUE='0.146092193533819'>South Africa Rand [ZAR]</OPTION>");
document.write("<OPTION VALUE='0.000845737185258867'>South Korea Won [KRW]</OPTION>");
document.write("<OPTION VALUE='1.15890050335714'>Spain Euro [EUR]</OPTION>");
document.write("<OPTION VALUE='0.0105384863842036'>Sri Lanka Rupee [LKR]</OPTION>");
document.write("<OPTION VALUE='0.127510425867012'>Sweden Kronor [SEK]</OPTION>");
document.write("<OPTION VALUE='0.747383886283018'>Switzerland Franc [CHF]</OPTION>");
document.write("<OPTION VALUE='-1'>Taiwan Dollar [TWD]</OPTION>");
document.write("<OPTION VALUE='0.0250450906242943'>Thailand Baht [THB]</OPTION>");
document.write("<OPTION VALUE='0.159293527816127'>Trinidad Dollar [TTD]</OPTION>");
document.write("<OPTION VALUE='0.272294491083347'>UAE Dirham [AED]</OPTION>");
document.write("<OPTION VALUE='0.000625782118673378'>Venezuela Bolivar [VEB]</OPTION>");
   document.write("</SELECT><IMG SRC='http://cconv.textor.com/conv8.gif' ALT='Step 3 - select conversion currency' BORDER='0'>");

   document.write("<BR><a href='http://cconv.textor.com' target='_blank'><img src='http://cconv.textor.com/conv11.gif' border=0 alt='All rates indicative only.  For more information click here'></a></TD></TR></TABLE>");

}

else

{

   document.write("<H1>Unauthorised use</H1>");

   alert ("Textor Webmasters Ltd Converter \nhttp://cconv.textor.com\nProblem at: "+window.location);

   siteok=false;

}


