// This array contains the index of rates that should be flagged as new
var new_rates = [];

// This array contains exceptions when rate is shown. Instead of only one rate, both local and free phone are shown.
var exceptions_rates = [];


// Defines a in_array equivalent for Javascript.
Array.prototype.in_array = function ( obj ) {
	var len = this.length;
	for ( var x = 0 ; x <= len ; x++ ) {
		if ( this[x] == obj ) return true;
	}
	return false;
}

function get_options_for_index(index) {
	if (index == 0) {
		get_free_phone_rates();
	}
	else if (index == 1) {
		get_local_rates();
	}
	return options;
}

function create_to_dropdown() {
	var Primary = document.getElementById('rates_from').selectedIndex;

	if ((Primary == null) || (Primary == 0)) {
		var options = get_options_for_index(Primary);
 	}
 	else {
		var options = get_options_for_index(Primary);
 	}

 	for (i=document.getElementById('rates_to').options.length; i>0; i--) {
 		document.getElementById('rates_to').options[i] = null;
	}

 	for(i=0; i<options.length; i++) {
 		document.getElementById('rates_to').options[i] = options[i];
 	}

 	document.getElementById('rates_to').options[0].selected = true;
}

$('document').ready(function() {
	$('#rates_from').change(function() {
		create_to_dropdown();
	});
	$('#rates_to').change(function() {
		var plans = new Array();
		plans[1] = 5;
		plans[2] = 10;
		plans[3] = 20;
		plans[4] = 50;
		plans[5] = 100;
		var selection = document.getElementById('rates_to').selectedIndex;
		if (exceptions_rates.in_array(selection)) { // Manages exceptions to show both free and local rates.
			// Replaces the shown elements to have two lines with both local and toll free
			var div_affiche = document.getElementById('show_rate_line2');
			div_affiche.style.display = 'inline';
			// Get both values for Free and Local rates.
			var my_options = get_local_rates();
			rate = my_options[selection].value;
			var my_options = get_free_phone_rates();
			free_phone_rate = my_options[selection].value;
			
			// Insert values in document.
			var element_index = new_rates.indexOf(selection);
			var is_new_rate = false;
			if (element_index >= 0) is_new_rate = true;
			$("#rate").html(String(rate));
			$("#rate2").html(String(free_phone_rate));
			$("#label_per_minute").text('/min Local access number*');
			if (is_new_rate) {
				$("#newrate").text('new');
				$("#newrate2").text('new');
			}
			else {
				$("#newrate").text('');
				$("#newrate2").text('');
			}
			
			
		} else {
			// Hides the second line if shown.
			var div_affiche = document.getElementById('show_rate_line2');
			div_affiche.style.display = 'none';
			$("#label_per_minute").text(' Per minute*');

			var rate = document.getElementById('rates_to').options[selection].value;
			var element_index = new_rates.indexOf(selection);
			var is_new_rate = false;
			if (element_index >= 0) is_new_rate = true;
			$("#rate").html(String(rate));
			if (is_new_rate) {
				$("#newrate").text('new');
			}
			else {
				$("#newrate").text('');
			}
		}
		for (i=1; i<6; i++) {
			if (selection == 0) {
				$("#minutes_plan_"+i).text('-');
			}
			else {
				var min_total = plans[i] / rate;
				min_total = Math.floor(min_total);
				$("#minutes_plan_"+i).html(String(min_total) + " min<strong>**</strong>");
			}
		}
	});
	
	$('#rates_to').keypress(function() {
		var plans = new Array();
		plans[1] = 5;
		plans[2] = 10;
		plans[3] = 20;
		plans[4] = 50;
		plans[5] = 100;
		var selection = document.getElementById('rates_to').selectedIndex;
		if (exceptions_rates.in_array(selection)) { // Manages exceptions to show both free and local rates.
			// Replaces the shown elements to have two lines with both local and toll free
			var div_affiche = document.getElementById('show_rate_line2');
			div_affiche.style.display = 'inline';
			// Get both values for Free and Local rates.
			var my_options = get_local_rates();
			rate = my_options[selection].value;
			var my_options = get_free_phone_rates();
			free_phone_rate = my_options[selection].value;
			
			// Insert values in document.
			var element_index = new_rates.indexOf(selection);
			var is_new_rate = false;
			if (element_index >= 0) is_new_rate = true;
			$("#rate").html(String(rate));
			$("#rate2").html(String(free_phone_rate));
			$("#label_per_minute").text('/min Local access number*');
			if (is_new_rate) {
				$("#newrate").text('new');
				$("#newrate2").text('new');
			}
			else {
				$("#newrate").text('');
				$("#newrate2").text('');
			}
			
			
		} else {
			// Hides the second line if shown.
			var div_affiche = document.getElementById('show_rate_line2');
			div_affiche.style.display = 'none';
			$("#label_per_minute").text(' Per minute*');

			var rate = document.getElementById('rates_to').options[selection].value;
			var element_index = new_rates.indexOf(selection);
			var is_new_rate = false;
			if (element_index >= 0) is_new_rate = true;
			$("#rate").html(String(rate));
			if (is_new_rate) {
				$("#newrate").text('new');
			}
			else {
				$("#newrate").text('');
			}
		}
		for (i=1; i<6; i++) {
			if (selection == 0) {
				$("#minutes_plan_"+i).text('-');
			}
			else {
				var min_total = plans[i] / rate;
				min_total = Math.floor(min_total);
				$("#minutes_plan_"+i).html(String(min_total) + " min<strong>**</strong>");
			}
		}
	});
	create_to_dropdown();
});


  function get_free_phone_rates() {
options = new Array();
options[0] = new Option('Choose one...', '0');
options[1] = new Option('AFGHANISTAN',0.3280);
options[2] = new Option('AFGHANISTAN - Mobile',0.3310);
options[3] = new Option('ALBANIA',0.331);
options[4] = new Option('ALBANIA - Mobile',0.476);
options[5] = new Option('ALGERIA',0.538);
options[6] = new Option('ALGERIA - Mobile',0.538);
options[7] = new Option('AMERICAN SAMOA',0.516);
options[8] = new Option('AMERICAN SAMOA - Mobile',0.516);
options[9] = new Option('ANDORRA',0.331);
options[10] = new Option('ANDORRA - Mobile',0.476);
options[11] = new Option('ANGOLA',0.538);
options[12] = new Option('ANGOLA - Mobile',0.538);
options[13] = new Option('ANGUILLA',0.462);
options[14] = new Option('ANGUILLA - Mobile',0.462);
options[15] = new Option('ANTIGUA',0.462);
options[16] = new Option('ANTIGUA - Mobile',0.462);
options[17] = new Option('ARGENTINA',0.0820);
options[18] = new Option('ARGENTINA - Mobile',0.1630);
options[19] = new Option('ARMENIA',0.331);
options[20] = new Option('ARMENIA - Mobile',0.476);
options[21] = new Option('ARUBA',0.462);
options[22] = new Option('ARUBA - Mobile',0.462);
options[23] = new Option('ASCENSION ISLAND',1.494);
options[24] = new Option('ASCENSION ISLAND - Mobile',1.494);
options[25] = new Option('AUSTRALIA',0.0690);
options[26] = new Option('AUSTRALIA - Mobile',0.1490);
options[27] = new Option('AUSTRIA',0.331);
options[28] = new Option('AUSTRIA - Mobile',0.476);
options[29] = new Option('AZERBAIZAN',0.331);
options[30] = new Option('AZERBAIZAN - Mobile',0.476);
options[31] = new Option('BAHAMAS',0.462);
options[32] = new Option('BAHAMAS - Mobile',0.462);
options[33] = new Option('BAHRAIN',0.1280);
options[34] = new Option('BAHRAIN - Mobile',0.1230);
options[35] = new Option('BANGLADESH',0.084);
options[36] = new Option('BANGLADESH - Mobile',0.084);
options[37] = new Option('BARBADOS',0.462);
options[38] = new Option('BARBADOS - Mobile',0.462);
options[39] = new Option('BELARUS',0.331);
options[40] = new Option('BELARUS - Mobile',0.476);
options[41] = new Option('BELGIUM',0.0770);
options[42] = new Option('BELGIUM - Mobile',0.2800);
options[43] = new Option('BELIZE',0.462);
options[44] = new Option('BELIZE - Mobile',0.462);
options[45] = new Option('BENIN',0.2860);
options[46] = new Option('BENIN - Mobile',0.2460);
options[47] = new Option('BERMUDA',0.462);
options[48] = new Option('BERMUDA - Mobile',0.462);
options[49] = new Option('BHUTAN',0.1980);
options[50] = new Option('BHUTAN - Mobile',0.1980);
options[51] = new Option('BOLIVIA',0.462);
options[52] = new Option('BOLIVIA - Mobile',0.462);
options[53] = new Option('BOSNIA & HERZEGOVINA',0.331);
options[54] = new Option('BOSNIA & HERZEGOVINA - Mobile',0.476);
options[55] = new Option('BOTSWANA',0.538);
options[56] = new Option('BOTSWANA - Mobile',0.538);
options[57] = new Option('BRAZIL',0.0850);
options[58] = new Option('BRAZIL - Mobile',0.2470);
options[59] = new Option('BRITISH VIRGIN ISLANDS',0.462);
options[60] = new Option('BRITISH VIRGIN ISLANDS - Mobile',0.462);
options[61] = new Option('BRUNEI',0.177);
options[62] = new Option('BRUNEI - Mobile',0.177);
options[63] = new Option('BULGARIA',0.331);
options[64] = new Option('BULGARIA - Mobile',0.476);
options[65] = new Option('BURKINA FASO',0.538);
options[66] = new Option('BURKINA FASO - Mobile',0.538);
options[67] = new Option('BURUNDI',0.538);
options[68] = new Option('BURUNDI - Mobile',0.538);
options[69] = new Option('CAMBODIA',0.177);
options[70] = new Option('CAMBODIA - Mobile',0.177);
options[71] = new Option('CAMEROON',0.3770);
options[72] = new Option('CAMEROON - Mobile',0.3070);
options[73] = new Option('CAPE VERDE',0.538);
options[74] = new Option('CAPE VERDE - Mobile',0.538);
options[75] = new Option('CAYMAN ISLANDS',0.462);
options[76] = new Option('CAYMAN ISLANDS - Mobile',0.462);
options[77] = new Option('CENTRAL AFRICA',1.494);
options[78] = new Option('CENTRAL AFRICA - Mobile',1.494);
options[79] = new Option('CHAD',0.538);
options[80] = new Option('CHAD - Mobile',0.538);
options[81] = new Option('CHILE',0.462);
options[82] = new Option('CHILE - Mobile',0.462);
options[83] = new Option('CHINA',0.0690);
options[84] = new Option('CHINA - Mobile',0.0690);
options[85] = new Option('COLOMBIA',0.462);
options[86] = new Option('COLOMBIA - Mobile',0.462);
options[87] = new Option('COMOROS',0.538);
options[88] = new Option('COMOROS - Mobile',0.538);
options[89] = new Option('CONGO',0.538);
options[90] = new Option('CONGO - Mobile',0.538);
options[91] = new Option('COOK ISLANDS',1.494);
options[92] = new Option('COOK ISLANDS - Mobile',1.494);
options[93] = new Option('COSTA RICA',0.462);
options[94] = new Option('COSTA RICA - Mobile',0.462);
options[95] = new Option('CROATIA',0.331);
options[96] = new Option('CROATIA - Mobile',0.476);
options[97] = new Option('CUBA',1.3180);
options[98] = new Option('CUBA - Mobile',1.3180);
options[99] = new Option('CYPRUS',0.331);
options[100] = new Option('CYPRUS - Mobile',0.476);
options[101] = new Option('CZECH REPUBLIC',0.331);
options[102] = new Option('CZECH REPUBLIC - Mobile',0.476);
options[103] = new Option('DENMARK',0.331);
options[104] = new Option('DENMARK - Mobile',0.476);
options[105] = new Option('DIEGO GARCIA',1.494);
options[106] = new Option('DIEGO GARCIA - Mobile',1.494);
options[107] = new Option('DJIBOUTI',0.538);
options[108] = new Option('DJIBOUTI - Mobile',0.538);
options[109] = new Option('DOMINICA',0.462);
options[110] = new Option('DOMINICA - Mobile',0.462);
options[111] = new Option('DOMINICAN',0.462);
options[112] = new Option('DOMINICAN - Mobile',0.462);
options[113] = new Option('EAST TIMOR',1.494);
options[114] = new Option('EAST TIMOR - Mobile',1.494);
options[115] = new Option('ECUADOR',0.462);
options[116] = new Option('ECUADOR - Mobile',0.462);
options[117] = new Option('EGYPT',0.1570);
options[118] = new Option('EGYPT - Mobile',0.1670);
options[119] = new Option('EL SALVADOR',0.1890);
options[120] = new Option('EL SALVADOR - Mobile',0.2220);
options[121] = new Option('ERITREA',0.538);
options[122] = new Option('ERITREA - Mobile',0.538);
options[123] = new Option('ESTONIA',0.331);
options[124] = new Option('ESTONIA - Mobile',0.476);
options[125] = new Option('ETHIOPIA',0.3510);
options[126] = new Option('ETHIOPIA - Mobile',0.3770);
options[127] = new Option('FALKLAND ISLANDS',1.494);
options[128] = new Option('FALKLAND ISLANDS - Mobile',1.494);
options[129] = new Option('FAROE',0.331);
options[130] = new Option('FAROE - Mobile',0.476);
options[131] = new Option('FIJI',0.516);
options[132] = new Option('FIJI - Mobile',0.516);
options[133] = new Option('FINLAND',0.331);
options[134] = new Option('FINLAND - Mobile',0.476);
options[135] = new Option('FRANCE',0.0690);
options[136] = new Option('FRANCE - Mobile',0.1690);
options[137] = new Option('FRENCH GUIANA',0.462);
options[138] = new Option('FRENCH GUIANA - Mobile',0.462);
options[139] = new Option('FRENCH POLYNESIA',0.516);
options[140] = new Option('FRENCH POLYNESIA - Mobile',0.516);
options[141] = new Option('GABON',0.538);
options[142] = new Option('GABON - Mobile',0.538);
options[143] = new Option('GAMBIA',0.538);
options[144] = new Option('GAMBIA - Mobile',0.538);
options[145] = new Option('GEORGIA',0.331);
options[146] = new Option('GEORGIA - Mobile',0.476);
options[147] = new Option('GERMANY',0.0690);
options[148] = new Option('GERMANY - Mobile',0.1890);
options[149] = new Option('GHANA',0.1250);
options[150] = new Option('GHANA - Mobile',0.2400);
options[151] = new Option('GIBRALTAR',0.331);
options[152] = new Option('GIBRALTAR - Mobile',0.476);
options[153] = new Option('GREECE',0.331);
options[154] = new Option('GREECE - Mobile',0.476);
options[155] = new Option('GREENLAND',0.7210);
options[156] = new Option('GREENLAND - Mobile',0.7210);
options[157] = new Option('GRENADA',0.462);
options[158] = new Option('GRENADA - Mobile',0.462);
options[159] = new Option('GUADELOUPE',0.462);
options[160] = new Option('GUADELOUPE - Mobile',0.462);
options[161] = new Option('GUAM',0.516);
options[162] = new Option('GUAM - Mobile',0.516);
options[163] = new Option('GUATEMALA',0.1870);
options[164] = new Option('GUATEMALA - Mobile',0.1830);
options[165] = new Option('GUINEA',0.4000);
options[166] = new Option('GUINEA - Mobile',0.3920);
options[167] = new Option('GUINEA BISSAU',0.5490);
options[168] = new Option('GUINEA BISSAU - Mobile',0.6470);
options[169] = new Option('GUYANA',0.462);
options[170] = new Option('GUYANA - Mobile',0.462);
options[171] = new Option('HAITI',0.462);
options[172] = new Option('HAITI - Mobile',0.462);
options[173] = new Option('HONDURAS',0.462);
options[174] = new Option('HONDURAS - Mobile',0.462);
options[175] = new Option('HONGKONG',0.0690);
options[176] = new Option('HONGKONG - Mobile',0.0690);
options[177] = new Option('HUNGARY',0.331);
options[178] = new Option('HUNGARY - Mobile',0.476);
options[179] = new Option('ICELAND',0.331);
options[180] = new Option('ICELAND - Mobile',0.476);
options[181] = new Option('INDIA',0.0690);
options[182] = new Option('INDIA - Mobile',0.0690);
options[183] = new Option('INDONESIA',0.1270);
options[184] = new Option('INDONESIA - Mobile',0.1420);
options[185] = new Option('IRAN',0.1470);
options[186] = new Option('IRAN - Mobile',0.1750);
options[187] = new Option('IRAQ',0.323);
options[188] = new Option('IRAQ - Mobile',0.323);
options[189] = new Option('IRELAND',0.331);
options[190] = new Option('IRELAND - Mobile',0.476);
options[191] = new Option('ISRAEL',0.0740);
options[192] = new Option('ISRAEL - Mobile',0.1510);
options[193] = new Option('ITALY',0.0730);
options[194] = new Option('ITALY - Mobile',0.2350);
options[195] = new Option('IVORY COAST',0.538);
options[196] = new Option('IVORY COAST - Mobile',0.538);
options[197] = new Option('JAMAICA',0.462);
options[198] = new Option('JAMAICA - Mobile',0.462);
options[199] = new Option('JAPAN',0.0850);
options[200] = new Option('JAPAN - Mobile',0.2210);
options[201] = new Option('JORDAN',0.0840);
options[202] = new Option('JORDAN - Mobile',0.1750);
options[203] = new Option('KAZAKHSTAN',0.177);
options[204] = new Option('KAZAKHSTAN - Mobile',0.177);
options[205] = new Option('KENYA',0.1470);
options[206] = new Option('KENYA - Mobile',0.2020);
options[207] = new Option('KIRIBATI',1.494);
options[208] = new Option('KIRIBATI - Mobile',1.494);
options[209] = new Option('KUWAIT',0.1640);
options[210] = new Option('KUWAIT - Mobile',0.1700);
options[211] = new Option('KYRGYZSTAN',0.177);
options[212] = new Option('KYRGYZSTAN - Mobile',0.177);
options[213] = new Option('LAOS',0.177);
options[214] = new Option('LAOS - Mobile',0.177);
options[215] = new Option('LATVIA',0.331);
options[216] = new Option('LATVIA - Mobile',0.476);
options[217] = new Option('LEBANON',0.323);
options[218] = new Option('LEBANON - Mobile',0.323);
options[219] = new Option('LESOTHO',0.538);
options[220] = new Option('LESOTHO - Mobile',0.538);
options[221] = new Option('LIBERIA',0.538);
options[222] = new Option('LIBERIA - Mobile',0.538);
options[223] = new Option('LIBYA',0.538);
options[224] = new Option('LIBYA - Mobile',0.538);
options[225] = new Option('LIECHTENSTEIN',0.331);
options[226] = new Option('LIECHTENSTEIN - Mobile',0.476);
options[227] = new Option('LITHUANIA',0.331);
options[228] = new Option('LITHUANIA - Mobile',0.476);
options[229] = new Option('LUXEMBOURG',0.331);
options[230] = new Option('LUXEMBOURG - Mobile',0.476);
options[231] = new Option('MACAU',0.177);
options[232] = new Option('MACAU - Mobile',0.177);
options[233] = new Option('MACEDONIA',0.331);
options[234] = new Option('MACEDONIA - Mobile',0.476);
options[235] = new Option('MADAGASCAR',0.3870);
options[236] = new Option('MADAGASCAR - Mobile',0.3830);
options[237] = new Option('MALAWI',0.1690);
options[238] = new Option('MALAWI - Mobile',0.1960);
options[239] = new Option('MALAYSIA',0.0770);
options[240] = new Option('MALAYSIA - Mobile',0.0950);
options[241] = new Option('MALDIVES',0.600);
options[242] = new Option('MALDIVES - Mobile',0.650);
options[243] = new Option('MALI',0.3550);
options[244] = new Option('MALI - Mobile',0.3550);
options[245] = new Option('MALTA',0.331);
options[246] = new Option('MALTA - Mobile',0.476);
options[247] = new Option('MARIANA ISLANDS',0.516);
options[248] = new Option('MARIANA ISLANDS - Mobile',0.516);
options[249] = new Option('MARSHALL ISLANDS',0.516);
options[250] = new Option('MARSHALL ISLANDS - Mobile',0.516);
options[251] = new Option('MARTINIQUE',0.462);
options[252] = new Option('MARTINIQUE - Mobile',0.462);
options[253] = new Option('MAURITANIA',0.538);
options[254] = new Option('MAURITANIA - Mobile',0.538);
options[255] = new Option('MAURITIUS ISLAND',0.1200);
options[256] = new Option('MAURITIUS ISLAND - Mobile',0.1200);
options[257] = new Option('Mayotte',0.538);
options[258] = new Option('Mayotte - Mobile',0.538);
options[259] = new Option('MEXICO',0.1120);
options[260] = new Option('MEXICO - Mobile',0.2160);
options[261] = new Option('MICRONESIA',0.516);
options[262] = new Option('MICRONESIA - Mobile',0.516);
options[263] = new Option('MOLDOVA',0.331);
options[264] = new Option('MOLDOVA - Mobile',0.476);
options[265] = new Option('MONACO',0.331);
options[266] = new Option('MONACO - Mobile',0.476);
options[267] = new Option('MONGOLIA',0.177);
options[268] = new Option('MONGOLIA - Mobile',0.177);
options[269] = new Option('MONTSERRAT',0.462);
options[270] = new Option('MONTSERRAT - Mobile',0.462);
options[271] = new Option('MOROCCO',0.1120);
options[272] = new Option('MOROCCO - Mobile',0.4460);
options[273] = new Option('MOZAMBIQUE',0.538);
options[274] = new Option('MOZAMBIQUE - Mobile',0.538);
options[275] = new Option('MYANMAR',0.4040);
options[276] = new Option('MYANMAR - Mobile',0.4040);
options[277] = new Option('NAMIBIA',0.538);
options[278] = new Option('NAMIBIA - Mobile',0.538);
options[279] = new Option('NEPAL',0.2240);
options[280] = new Option('NEPAL - Mobile',0.2240);
options[281] = new Option('NETHERLANDS',0.0730);
options[282] = new Option('NETHERLANDS - Mobile',0.3220);
options[283] = new Option('NETHERLANDS ANTILLES',0.462);
options[284] = new Option('NETHERLANDS ANTILLES - Mobile',0.462);
options[285] = new Option('NEW CALEDONIA',0.516);
options[286] = new Option('NEW CALEDONIA - Mobile',0.516);
options[287] = new Option('NEW ZEALAND',0.0740);
options[288] = new Option('NEW ZEALAND - Mobile',0.2640);
options[289] = new Option('NICARAGUA',0.462);
options[290] = new Option('NICARAGUA - Mobile',0.462);
options[291] = new Option('NIGER',0.2170);
options[292] = new Option('NIGER - Mobile',0.2320);
options[293] = new Option('NIGERIA',0.1680);
options[294] = new Option('NIGERIA - Mobile',0.1960);
options[295] = new Option('NORTH KOREA',0.7900);
options[296] = new Option('NORTH KOREA - Mobile',0.7900);
options[297] = new Option('NORWAY',0.331);
options[298] = new Option('NORWAY - Mobile',0.476);
options[299] = new Option('OMAN',0.1860);
options[300] = new Option('OMAN - Mobile',0.2810);
options[301] = new Option('PAKISTAN',0.059);
options[302] = new Option('PAKISTAN - Mobile',0.059);
options[303] = new Option('PALAU',0.516);
options[304] = new Option('PALAU - Mobile',0.516);
options[305] = new Option('PALESTINE',0.323);
options[306] = new Option('PALESTINE - Mobile',0.323);
options[307] = new Option('PANAMA',0.462);
options[308] = new Option('PANAMA - Mobile',0.462);
options[309] = new Option('PAPUA NEW GUINEA',0.516);
options[310] = new Option('PAPUA NEW GUINEA - Mobile',0.516);
options[311] = new Option('PARAGUAY',0.462);
options[312] = new Option('PARAGUAY - Mobile',0.462);
options[313] = new Option('PERU',0.462);
options[314] = new Option('PERU - Mobile',0.462);
options[315] = new Option('PHILIPPINES',0.1690);
options[316] = new Option('PHILIPPINES - Mobile',0.1990);
options[317] = new Option('POLAND',0.331);
options[318] = new Option('POLAND - Mobile',0.476);
options[319] = new Option('PORTUGAL',0.331);
options[320] = new Option('PORTUGAL - Mobile',0.476);
options[321] = new Option('PUERTO RICO',0.462);
options[322] = new Option('PUERTO RICO - Mobile',0.462);
options[323] = new Option('QATAR',0.2180);
options[324] = new Option('QATAR - Mobile',0.2700);
options[325] = new Option('REUNION ISLAND',0.538);
options[326] = new Option('REUNION ISLAND - Mobile',0.538);
options[327] = new Option('ROMANIA',0.331);
options[328] = new Option('ROMANIA - Mobile',0.476);
options[329] = new Option('RUSSIA',0.1070);
options[330] = new Option('RUSSIA - Mobile',0.0990);
options[331] = new Option('RWANDA',0.538);
options[332] = new Option('RWANDA - Mobile',0.538);
options[333] = new Option('SAN MARINO',0.331);
options[334] = new Option('SAN MARINO - Mobile',0.476);
options[335] = new Option('SAO TOME & PRINCIPE',1.494);
options[336] = new Option('SAO TOME & PRINCIPE - Mobile',1.494);
options[337] = new Option('SAUDI ARABIA',0.1390);
options[338] = new Option('SAUDI ARABIA - Mobile',0.1970);
options[339] = new Option('SENEGAL',0.538);
options[340] = new Option('SENEGAL - Mobile',0.538);
options[341] = new Option('SERBIA',0.331);
options[342] = new Option('SERBIA - Mobile',0.476);
options[343] = new Option('SEYCHELLES',0.538);
options[344] = new Option('SEYCHELLES - Mobile',0.538);
options[345] = new Option('SIERRA LEONE',0.538);
options[346] = new Option('SIERRA LEONE - Mobile',0.538);
options[347] = new Option('SINGAPORE',0.0690);
options[348] = new Option('SINGAPORE - Mobile',0.0690);
options[349] = new Option('SLOVAKIA',0.331);
options[350] = new Option('SLOVAKIA - Mobile',0.476);
options[351] = new Option('SLOVENIA',0.331);
options[352] = new Option('SLOVENIA - Mobile',0.476);
options[353] = new Option('SOLOMON ISLANDS',1.494);
options[354] = new Option('SOLOMON ISLANDS - Mobile',1.494);
options[355] = new Option('SOMALIA',1.494);
options[356] = new Option('SOMALIA - Mobile',1.494);
options[357] = new Option('SOUTH AFRICA',0.0970);
options[358] = new Option('SOUTH AFRICA - Mobile',0.2290);
options[359] = new Option('SOUTH KOREA',0.0800);
options[360] = new Option('SOUTH KOREA - Mobile',0.0910);
options[361] = new Option('SPAIN',0.0700);
options[362] = new Option('SPAIN - Mobile',0.1780);
options[363] = new Option('SRI LANKA',0.207);
options[364] = new Option('SRI LANKA - Mobile',0.207);
options[365] = new Option('ST. HELENA',1.494);
options[366] = new Option('ST. HELENA - Mobile',1.494);
options[367] = new Option('ST. KITTS & NEVIS',0.462);
options[368] = new Option('ST. KITTS & NEVIS - Mobile',0.462);
options[369] = new Option('ST. LUCIA',0.462);
options[370] = new Option('ST. LUCIA - Mobile',0.462);
options[371] = new Option('ST. PIERRE & MIQUELON',0.2470);
options[372] = new Option('ST. PIERRE & MIQUELON - Mobile',0.2470);
options[373] = new Option('ST. VINCENT',0.462);
options[374] = new Option('ST. VINCENT - Mobile',0.462);
options[375] = new Option('SUDAN',0.2470);
options[376] = new Option('SUDAN - Mobile',0.2510);
options[377] = new Option('SURINAME',0.462);
options[378] = new Option('SURINAME - Mobile',0.462);
options[379] = new Option('SWAZILAND',0.538);
options[380] = new Option('SWAZILAND - Mobile',0.538);
options[381] = new Option('SWEDEN',0.0690);
options[382] = new Option('SWEDEN - Mobile',0.1270);
options[383] = new Option('SWITZERLAND',0.0700);
options[384] = new Option('SWITZERLAND - Mobile',0.3150);
options[385] = new Option('SYRIA',0.323);
options[386] = new Option('SYRIA - Mobile',0.323);
options[387] = new Option('TAIWAN',0.0730);
options[388] = new Option('TAIWAN - Mobile',0.1430);
options[389] = new Option('TAJIKISTAN',0.177);
options[390] = new Option('TAJIKISTAN - Mobile',0.177);
options[391] = new Option('TANZANIA',0.1580);
options[392] = new Option('TANZANIA - Mobile',0.1630);
options[393] = new Option('THAILAND',0.0950);
options[394] = new Option('THAILAND - Mobile',0.0770);
options[395] = new Option('TOGO',0.4880);
options[396] = new Option('TOGO - Mobile',0.4930);
options[397] = new Option('TONGA',0.516);
options[398] = new Option('TONGA - Mobile',0.516);
options[399] = new Option('TRINIDAD & TOBAGO',0.462);
options[400] = new Option('TRINIDAD & TOBAGO - Mobile',0.462);
options[401] = new Option('TUNISIA',0.538);
options[402] = new Option('TUNISIA - Mobile',0.538);
options[403] = new Option('TURKEY',0.1090);
options[404] = new Option('TURKEY - Mobile',0.7140);
options[405] = new Option('TURKMENISTAN',0.177);
options[406] = new Option('TURKMENISTAN - Mobile',0.177);
options[407] = new Option('TURKS & CAICOS',0.462);
options[408] = new Option('TURKS & CAICOS - Mobile',0.462);
options[409] = new Option('U.S. VIRGIN ISLANDS',0.462);
options[410] = new Option('UAE',0.2210);
options[411] = new Option('UAE - Mobile',0.2210);
options[412] = new Option('UGANDA',0.1720);
options[413] = new Option('UGANDA - Mobile',0.1980);
options[414] = new Option('UK',0.0690);
options[415] = new Option('UK - Mobile',0.1990);
options[416] = new Option('UKRAINE',0.331);
options[417] = new Option('UKRAINE - Mobile',0.476);
options[418] = new Option('URUGUAY',0.462);
options[419] = new Option('URUGUAY - Mobile',0.462);
options[420] = new Option('USA',0.0690);
options[421] = new Option('USA - Mobile',0.0690);
options[422] = new Option('UZBEKISTAN',0.177);
options[423] = new Option('UZBEKISTAN - Mobile',0.177);
options[424] = new Option('VANUATU',1.494);
options[425] = new Option('VANUATU - Mobile',1.494);
options[426] = new Option('VENEZUELA',0.462);
options[427] = new Option('VENEZUELA - Mobile',0.462);
options[428] = new Option('VIETNAM',0.177);
options[429] = new Option('VIETNAM - Mobile',0.177);
options[430] = new Option('WALLIS & FUTUNA',1.494);
options[431] = new Option('YEMEN (ARAB REPUBLIC)',0.323);
options[432] = new Option('YEMEN (ARAB REPUBLIC) - Mobile',0.323);
options[433] = new Option('ZAMBIA',0.0940);
options[434] = new Option('ZAMBIA - Mobile',0.1960);
options[435] = new Option('ZIMBABWE',0.1220);
options[436] = new Option('ZIMBABWE - Mobile',0.5770);
	return options;
}


function get_local_rates() {
// rates for local call
options = new Array();
options[0] = new Option('Choose one...', '0');
options[1] = new Option('AFGHANISTAN',0.3050);
options[2] = new Option('AFGHANISTAN - Mobile',0.3070);
options[3] = new Option('ALBANIA',0.307);
options[4] = new Option('ALBANIA - Mobile',0.448);
options[5] = new Option('ALGERIA',0.508);
options[6] = new Option('ALGERIA - Mobile',0.508);
options[7] = new Option('AMERICAN SAMOA',0.486);
options[8] = new Option('AMERICAN SAMOA - Mobile',0.486);
options[9] = new Option('ANDORRA',0.307);
options[10] = new Option('ANDORRA - Mobile',0.448);
options[11] = new Option('ANGOLA',0.508);
options[12] = new Option('ANGOLA - Mobile',0.508);
options[13] = new Option('ANGUILLA',0.434);
options[14] = new Option('ANGUILLA - Mobile',0.434);
options[15] = new Option('ANTIGUA',0.434);
options[16] = new Option('ANTIGUA - Mobile',0.434);
options[17] = new Option('ARGENTINA',0.0700);
options[18] = new Option('ARGENTINA - Mobile',0.1440);
options[19] = new Option('ARMENIA',0.307);
options[20] = new Option('ARMENIA - Mobile',0.448);
options[21] = new Option('ARUBA',0.434);
options[22] = new Option('ARUBA - Mobile',0.434);
options[23] = new Option('ASCENSION ISLAND',1.435);
options[24] = new Option('ASCENSION ISLAND - Mobile',1.435);
options[25] = new Option('AUSTRALIA',0.0580);
options[26] = new Option('AUSTRALIA - Mobile',0.1390);
options[27] = new Option('AUSTRIA',0.307);
options[28] = new Option('AUSTRIA - Mobile',0.448);
options[29] = new Option('AZERBAIZAN',0.307);
options[30] = new Option('AZERBAIZAN - Mobile',0.448);
options[31] = new Option('BAHAMAS',0.434);
options[32] = new Option('BAHAMAS - Mobile',0.434);
options[33] = new Option('BAHRAIN',0.1150);
options[34] = new Option('BAHRAIN - Mobile',0.1100);
options[35] = new Option('BANGLADESH',0.079);
options[36] = new Option('BANGLADESH - Mobile',0.079);
options[37] = new Option('BARBADOS',0.434);
options[38] = new Option('BARBADOS - Mobile',0.434);
options[39] = new Option('BELARUS',0.307);
options[40] = new Option('BELARUS - Mobile',0.448);
options[41] = new Option('BELGIUM',0.0650);
options[42] = new Option('BELGIUM - Mobile',0.2580);
options[43] = new Option('BELIZE',0.434);
options[44] = new Option('BELIZE - Mobile',0.434);
options[45] = new Option('BENIN',0.2640);
options[46] = new Option('BENIN - Mobile',0.2250);
options[47] = new Option('BERMUDA',0.434);
options[48] = new Option('BERMUDA - Mobile',0.434);
options[49] = new Option('BHUTAN',0.1780);
options[50] = new Option('BHUTAN - Mobile',0.1780);
options[51] = new Option('BOLIVIA',0.434);
options[52] = new Option('BOLIVIA - Mobile',0.434);
options[53] = new Option('BOSNIA & HERZEGOVINA',0.307);
options[54] = new Option('BOSNIA & HERZEGOVINA - Mobile',0.448);
options[55] = new Option('BOTSWANA',0.508);
options[56] = new Option('BOTSWANA - Mobile',0.508);
options[57] = new Option('BRAZIL',0.0730);
options[58] = new Option('BRAZIL - Mobile',0.2260);
options[59] = new Option('BRITISH VIRGIN ISLANDS',0.434);
options[60] = new Option('BRITISH VIRGIN ISLANDS - Mobile',0.434);
options[61] = new Option('BRUNEI',0.158);
options[62] = new Option('BRUNEI - Mobile',0.158);
options[63] = new Option('BULGARIA',0.307);
options[64] = new Option('BULGARIA - Mobile',0.448);
options[65] = new Option('BURKINA FASO',0.508);
options[66] = new Option('BURKINA FASO - Mobile',0.508);
options[67] = new Option('BURUNDI',0.508);
options[68] = new Option('BURUNDI - Mobile',0.508);
options[69] = new Option('CAMBODIA',0.158);
options[70] = new Option('CAMBODIA - Mobile',0.158);
options[71] = new Option('CAMEROON',0.3520);
options[72] = new Option('CAMEROON - Mobile',0.2850);
options[73] = new Option('CAPE VERDE',0.508);
options[74] = new Option('CAPE VERDE - Mobile',0.508);
options[75] = new Option('CAYMAN ISLANDS',0.434);
options[76] = new Option('CAYMAN ISLANDS - Mobile',0.434);
options[77] = new Option('CENTRAL AFRICA',1.435);
options[78] = new Option('CENTRAL AFRICA - Mobile',1.435);
options[79] = new Option('CHAD',0.508);
options[80] = new Option('CHAD - Mobile',0.508);
options[81] = new Option('CHILE',0.434);
options[82] = new Option('CHILE - Mobile',0.434);
options[83] = new Option('CHINA',0.0580);
options[84] = new Option('CHINA - Mobile',0.0580);
options[85] = new Option('COLOMBIA',0.434);
options[86] = new Option('COLOMBIA - Mobile',0.434);
options[87] = new Option('COMOROS',0.508);
options[88] = new Option('COMOROS - Mobile',0.508);
options[89] = new Option('CONGO',0.508);
options[90] = new Option('CONGO - Mobile',0.508);
options[91] = new Option('COOK ISLANDS',1.435);
options[92] = new Option('COOK ISLANDS - Mobile',1.435);
options[93] = new Option('COSTA RICA',0.434);
options[94] = new Option('COSTA RICA - Mobile',0.434);
options[95] = new Option('CROATIA',0.307);
options[96] = new Option('CROATIA - Mobile',0.448);
options[97] = new Option('CUBA',1.2630);
options[98] = new Option('CUBA - Mobile',1.2630);
options[99] = new Option('CYPRUS',0.307);
options[100] = new Option('CYPRUS - Mobile',0.448);
options[101] = new Option('CZECH REPUBLIC',0.307);
options[102] = new Option('CZECH REPUBLIC - Mobile',0.448);
options[103] = new Option('DENMARK',0.307);
options[104] = new Option('DENMARK - Mobile',0.448);
options[105] = new Option('DIEGO GARCIA',1.435);
options[106] = new Option('DIEGO GARCIA - Mobile',1.435);
options[107] = new Option('DJIBOUTI',0.508);
options[108] = new Option('DJIBOUTI - Mobile',0.508);
options[109] = new Option('DOMINICA',0.434);
options[110] = new Option('DOMINICA - Mobile',0.434);
options[111] = new Option('DOMINICAN',0.434);
options[112] = new Option('DOMINICAN - Mobile',0.434);
options[113] = new Option('EAST TIMOR',1.435);
options[114] = new Option('EAST TIMOR - Mobile',1.435);
options[115] = new Option('ECUADOR',0.434);
options[116] = new Option('ECUADOR - Mobile',0.434);
options[117] = new Option('EGYPT',0.1390);
options[118] = new Option('EGYPT - Mobile',0.1490);
options[119] = new Option('EL SALVADOR',0.1700);
options[120] = new Option('EL SALVADOR - Mobile',0.2020);
options[121] = new Option('ERITREA',0.508);
options[122] = new Option('ERITREA - Mobile',0.508);
options[123] = new Option('ESTONIA',0.307);
options[124] = new Option('ESTONIA - Mobile',0.448);
options[125] = new Option('ETHIOPIA',0.3270);
options[126] = new Option('ETHIOPIA - Mobile',0.3520);
options[127] = new Option('FALKLAND ISLANDS',1.435);
options[128] = new Option('FALKLAND ISLANDS - Mobile',1.435);
options[129] = new Option('FAROE',0.307);
options[130] = new Option('FAROE - Mobile',0.448);
options[131] = new Option('FIJI',0.486);
options[132] = new Option('FIJI - Mobile',0.486);
options[133] = new Option('FINLAND',0.307);
options[134] = new Option('FINLAND - Mobile',0.448);
options[135] = new Option('FRANCE',0.0580);
options[136] = new Option('FRANCE - Mobile',0.1590);
options[137] = new Option('FRENCH GUIANA',0.434);
options[138] = new Option('FRENCH GUIANA - Mobile',0.434);
options[139] = new Option('FRENCH POLYNESIA',0.486);
options[140] = new Option('FRENCH POLYNESIA - Mobile',0.486);
options[141] = new Option('GABON',0.508);
options[142] = new Option('GABON - Mobile',0.508);
options[143] = new Option('GAMBIA',0.508);
options[144] = new Option('GAMBIA - Mobile',0.508);
options[145] = new Option('GEORGIA',0.307);
options[146] = new Option('GEORGIA - Mobile',0.448);
options[147] = new Option('GERMANY',0.0580);
options[148] = new Option('GERMANY - Mobile',0.1890);
options[149] = new Option('GHANA',0.1120);
options[150] = new Option('GHANA - Mobile',0.2190);
options[151] = new Option('GIBRALTAR',0.307);
options[152] = new Option('GIBRALTAR - Mobile',0.448);
options[153] = new Option('GREECE',0.307);
options[154] = new Option('GREECE - Mobile',0.448);
options[155] = new Option('GREENLAND',0.6860);
options[156] = new Option('GREENLAND - Mobile',0.6860);
options[157] = new Option('GRENADA',0.434);
options[158] = new Option('GRENADA - Mobile',0.434);
options[159] = new Option('GUADELOUPE',0.434);
options[160] = new Option('GUADELOUPE - Mobile',0.434);
options[161] = new Option('GUAM',0.486);
options[162] = new Option('GUAM - Mobile',0.486);
options[163] = new Option('GUATEMALA',0.1680);
options[164] = new Option('GUATEMALA - Mobile',0.1640);
options[165] = new Option('GUINEA',0.3740);
options[166] = new Option('GUINEA - Mobile',0.3670);
options[167] = new Option('GUINEA BISSAU',0.5190);
options[168] = new Option('GUINEA BISSAU - Mobile',0.6140);
options[169] = new Option('GUYANA',0.434);
options[170] = new Option('GUYANA - Mobile',0.434);
options[171] = new Option('HAITI',0.434);
options[172] = new Option('HAITI - Mobile',0.434);
options[173] = new Option('HONDURAS',0.434);
options[174] = new Option('HONDURAS - Mobile',0.434);
options[175] = new Option('HONGKONG',0.0580);
options[176] = new Option('HONGKONG - Mobile',0.0580);
options[177] = new Option('HUNGARY',0.307);
options[178] = new Option('HUNGARY - Mobile',0.448);
options[179] = new Option('ICELAND',0.307);
options[180] = new Option('ICELAND - Mobile',0.448);
options[181] = new Option('INDIA',0.0580);
options[182] = new Option('INDIA - Mobile',0.0580);
options[183] = new Option('INDONESIA',0.1140);
options[184] = new Option('INDONESIA - Mobile',0.1290);
options[185] = new Option('IRAN',0.1330);
options[186] = new Option('IRAN - Mobile',0.1560);
options[187] = new Option('IRAQ',0.3);
options[188] = new Option('IRAQ - Mobile',0.3);
options[189] = new Option('IRELAND',0.307);
options[190] = new Option('IRELAND - Mobile',0.448);
options[191] = new Option('ISRAEL',0.0620);
options[192] = new Option('ISRAEL - Mobile',0.1350);
options[193] = new Option('ITALY',0.0610);
options[194] = new Option('ITALY - Mobile',0.2150);
options[195] = new Option('IVORY COAST',0.508);
options[196] = new Option('IVORY COAST - Mobile',0.508);
options[197] = new Option('JAMAICA',0.434);
options[198] = new Option('JAMAICA - Mobile',0.434);
options[199] = new Option('JAPAN',0.0730);
options[200] = new Option('JAPAN - Mobile',0.2010);
options[201] = new Option('JORDAN',0.0720);
options[202] = new Option('JORDAN - Mobile',0.1560);
options[203] = new Option('KAZAKHSTAN',0.158);
options[204] = new Option('KAZAKHSTAN - Mobile',0.158);
options[205] = new Option('KENYA',0.1320);
options[206] = new Option('KENYA - Mobile',0.1820);
options[207] = new Option('KIRIBATI',1.435);
options[208] = new Option('KIRIBATI - Mobile',1.435);
options[209] = new Option('KUWAIT',0.1460);
options[210] = new Option('KUWAIT - Mobile',0.1520);
options[211] = new Option('KYRGYZSTAN',0.158);
options[212] = new Option('KYRGYZSTAN - Mobile',0.158);
options[213] = new Option('LAOS',0.158);
options[214] = new Option('LAOS - Mobile',0.158);
options[215] = new Option('LATVIA',0.307);
options[216] = new Option('LATVIA - Mobile',0.448);
options[217] = new Option('LEBANON',0.3);
options[218] = new Option('LEBANON - Mobile',0.3);
options[219] = new Option('LESOTHO',0.508);
options[220] = new Option('LESOTHO - Mobile',0.508);
options[221] = new Option('LIBERIA',0.508);
options[222] = new Option('LIBERIA - Mobile',0.508);
options[223] = new Option('LIBYA',0.508);
options[224] = new Option('LIBYA - Mobile',0.508);
options[225] = new Option('LIECHTENSTEIN',0.307);
options[226] = new Option('LIECHTENSTEIN - Mobile',0.448);
options[227] = new Option('LITHUANIA',0.307);
options[228] = new Option('LITHUANIA - Mobile',0.448);
options[229] = new Option('LUXEMBOURG',0.307);
options[230] = new Option('LUXEMBOURG - Mobile',0.448);
options[231] = new Option('MACAU',0.158);
options[232] = new Option('MACAU - Mobile',0.158);
options[233] = new Option('MACEDONIA',0.307);
options[234] = new Option('MACEDONIA - Mobile',0.448);
options[235] = new Option('MADAGASCAR',0.3620);
options[236] = new Option('MADAGASCAR - Mobile',0.3570);
options[237] = new Option('MALAWI',0.1500);
options[238] = new Option('MALAWI - Mobile',0.1770);
options[239] = new Option('MALAYSIA',0.0650);
options[240] = new Option('MALAYSIA - Mobile',0.0830);
options[241] = new Option('MALDIVES',0.590);
options[242] = new Option('MALDIVES - Mobile',0.640);
options[243] = new Option('MALI',0.3300);
options[244] = new Option('MALI - Mobile',0.3300);
options[245] = new Option('MALTA',0.307);
options[246] = new Option('MALTA - Mobile',0.448);
options[247] = new Option('MARIANA ISLANDS',0.486);
options[248] = new Option('MARIANA ISLANDS - Mobile',0.486);
options[249] = new Option('MARSHALL ISLANDS',0.486);
options[250] = new Option('MARSHALL ISLANDS - Mobile',0.486);
options[251] = new Option('MARTINIQUE',0.434);
options[252] = new Option('MARTINIQUE - Mobile',0.434);
options[253] = new Option('MAURITANIA',0.508);
options[254] = new Option('MAURITANIA - Mobile',0.508);
options[255] = new Option('MAURITIUS ISLAND',0.1070);
options[256] = new Option('MAURITIUS ISLAND - Mobile',0.1070);
options[257] = new Option('Mayotte',0.508);
options[258] = new Option('Mayotte - Mobile',0.508);
options[259] = new Option('MEXICO',0.0990);
options[260] = new Option('MEXICO - Mobile',0.1960);
options[261] = new Option('MICRONESIA',0.486);
options[262] = new Option('MICRONESIA - Mobile',0.486);
options[263] = new Option('MOLDOVA',0.307);
options[264] = new Option('MOLDOVA - Mobile',0.448);
options[265] = new Option('MONACO',0.307);
options[266] = new Option('MONACO - Mobile',0.448);
options[267] = new Option('MONGOLIA',0.158);
options[268] = new Option('MONGOLIA - Mobile',0.158);
options[269] = new Option('MONTSERRAT',0.434);
options[270] = new Option('MONTSERRAT - Mobile',0.434);
options[271] = new Option('MOROCCO',0.0990);
options[272] = new Option('MOROCCO - Mobile',0.4190);
options[273] = new Option('MOZAMBIQUE',0.508);
options[274] = new Option('MOZAMBIQUE - Mobile',0.508);
options[275] = new Option('MYANMAR',0.3780);
options[276] = new Option('MYANMAR - Mobile',0.3780);
options[277] = new Option('NAMIBIA',0.508);
options[278] = new Option('NAMIBIA - Mobile',0.508);
options[279] = new Option('NEPAL',0.2040);
options[280] = new Option('NEPAL - Mobile',0.2040);
options[281] = new Option('NETHERLANDS',0.0610);
options[282] = new Option('NETHERLANDS - Mobile',0.2980);
options[283] = new Option('NETHERLANDS ANTILLES',0.434);
options[284] = new Option('NETHERLANDS ANTILLES - Mobile',0.434);
options[285] = new Option('NEW CALEDONIA',0.486);
options[286] = new Option('NEW CALEDONIA - Mobile',0.486);
options[287] = new Option('NEW ZEALAND',0.0620);
options[288] = new Option('NEW ZEALAND - Mobile',0.2420);
options[289] = new Option('NICARAGUA',0.434);
options[290] = new Option('NICARAGUA - Mobile',0.434);
options[291] = new Option('NIGER',0.1970);
options[292] = new Option('NIGER - Mobile',0.2110);
options[293] = new Option('NIGERIA',0.1490);
options[294] = new Option('NIGERIA - Mobile',0.1770);
options[295] = new Option('NORTH KOREA',0.7520);
options[296] = new Option('NORTH KOREA - Mobile',0.7520);
options[297] = new Option('NORWAY',0.307);
options[298] = new Option('NORWAY - Mobile',0.448);
options[299] = new Option('OMAN',0.1670);
options[300] = new Option('OMAN - Mobile',0.2590);
options[301] = new Option('PAKISTAN',0.051);
options[302] = new Option('PAKISTAN - Mobile',0.051);
options[303] = new Option('PALAU',0.486);
options[304] = new Option('PALAU - Mobile',0.486);
options[305] = new Option('PALESTINE',0.3);
options[306] = new Option('PALESTINE - Mobile',0.3);
options[307] = new Option('PANAMA',0.434);
options[308] = new Option('PANAMA - Mobile',0.434);
options[309] = new Option('PAPUA NEW GUINEA',0.486);
options[310] = new Option('PAPUA NEW GUINEA - Mobile',0.486);
options[311] = new Option('PARAGUAY',0.434);
options[312] = new Option('PARAGUAY - Mobile',0.434);
options[313] = new Option('PERU',0.434);
options[314] = new Option('PERU - Mobile',0.434);
options[315] = new Option('PHILIPPINES',0.1590);
options[316] = new Option('PHILIPPINES - Mobile',0.1890);
options[317] = new Option('POLAND',0.307);
options[318] = new Option('POLAND - Mobile',0.448);
options[319] = new Option('PORTUGAL',0.307);
options[320] = new Option('PORTUGAL - Mobile',0.448);
options[321] = new Option('PUERTO RICO',0.434);
options[322] = new Option('PUERTO RICO - Mobile',0.434);
options[323] = new Option('QATAR',0.1980);
options[324] = new Option('QATAR - Mobile',0.2480);
options[325] = new Option('REUNION ISLAND',0.508);
options[326] = new Option('REUNION ISLAND - Mobile',0.508);
options[327] = new Option('ROMANIA',0.307);
options[328] = new Option('ROMANIA - Mobile',0.448);
options[329] = new Option('RUSSIA',0.0940);
options[330] = new Option('RUSSIA - Mobile',0.0870);
options[331] = new Option('RWANDA',0.508);
options[332] = new Option('RWANDA - Mobile',0.508);
options[333] = new Option('SAN MARINO',0.307);
options[334] = new Option('SAN MARINO - Mobile',0.448);
options[335] = new Option('SAO TOME & PRINCIPE',1.435);
options[336] = new Option('SAO TOME & PRINCIPE - Mobile',1.435);
options[337] = new Option('SAUDI ARABIA',0.1250);
options[338] = new Option('SAUDI ARABIA - Mobile',0.1780);
options[339] = new Option('SENEGAL',0.508);
options[340] = new Option('SENEGAL - Mobile',0.508);
options[341] = new Option('SERBIA',0.307);
options[342] = new Option('SERBIA - Mobile',0.448);
options[343] = new Option('SEYCHELLES',0.508);
options[344] = new Option('SEYCHELLES - Mobile',0.508);
options[345] = new Option('SIERRA LEONE',0.508);
options[346] = new Option('SIERRA LEONE - Mobile',0.508);
options[347] = new Option('SINGAPORE',0.0580);
options[348] = new Option('SINGAPORE - Mobile',0.0580);
options[349] = new Option('SLOVAKIA',0.307);
options[350] = new Option('SLOVAKIA - Mobile',0.448);
options[351] = new Option('SLOVENIA',0.307);
options[352] = new Option('SLOVENIA - Mobile',0.448);
options[353] = new Option('SOLOMON ISLANDS',1.435);
options[354] = new Option('SOLOMON ISLANDS - Mobile',1.435);
options[355] = new Option('SOMALIA',1.435);
options[356] = new Option('SOMALIA - Mobile',1.435);
options[357] = new Option('SOUTH AFRICA',0.0850);
options[358] = new Option('SOUTH AFRICA - Mobile',0.2080);
options[359] = new Option('SOUTH KOREA',0.0680);
options[360] = new Option('SOUTH KOREA - Mobile',0.0790);
options[361] = new Option('SPAIN',0.0590);
options[362] = new Option('SPAIN - Mobile',0.1590);
options[363] = new Option('SRI LANKA',0.201);
options[364] = new Option('SRI LANKA - Mobile',0.201);
options[365] = new Option('ST. HELENA',1.435);
options[366] = new Option('ST. HELENA - Mobile',1.435);
options[367] = new Option('ST. KITTS & NEVIS',0.434);
options[368] = new Option('ST. KITTS & NEVIS - Mobile',0.434);
options[369] = new Option('ST. LUCIA',0.434);
options[370] = new Option('ST. LUCIA - Mobile',0.434);
options[371] = new Option('ST. PIERRE & MIQUELON',0.2260);
options[372] = new Option('ST. PIERRE & MIQUELON - Mobile',0.2260);
options[373] = new Option('ST. VINCENT',0.434);
options[374] = new Option('ST. VINCENT - Mobile',0.434);
options[375] = new Option('SUDAN',0.2260);
options[376] = new Option('SUDAN - Mobile',0.2300);
options[377] = new Option('SURINAME',0.434);
options[378] = new Option('SURINAME - Mobile',0.434);
options[379] = new Option('SWAZILAND',0.508);
options[380] = new Option('SWAZILAND - Mobile',0.508);
options[381] = new Option('SWEDEN',0.0580);
options[382] = new Option('SWEDEN - Mobile',0.1140);
options[383] = new Option('SWITZERLAND',0.0580);
options[384] = new Option('SWITZERLAND - Mobile',0.2920);
options[385] = new Option('SYRIA',0.3);
options[386] = new Option('SYRIA - Mobile',0.3);
options[387] = new Option('TAIWAN',0.0620);
options[388] = new Option('TAIWAN - Mobile',0.1300);
options[389] = new Option('TAJIKISTAN',0.158);
options[390] = new Option('TAJIKISTAN - Mobile',0.158);
options[391] = new Option('TANZANIA',0.1400);
options[392] = new Option('TANZANIA - Mobile',0.1450);
options[393] = new Option('THAILAND',0.0830);
options[394] = new Option('THAILAND - Mobile',0.0650);
options[395] = new Option('TOGO',0.4600);
options[396] = new Option('TOGO - Mobile',0.4640);
options[397] = new Option('TONGA',0.486);
options[398] = new Option('TONGA - Mobile',0.486);
options[399] = new Option('TRINIDAD & TOBAGO',0.434);
options[400] = new Option('TRINIDAD & TOBAGO - Mobile',0.434);
options[401] = new Option('TUNISIA',0.508);
options[402] = new Option('TUNISIA - Mobile',0.508);
options[403] = new Option('TURKEY',0.0960);
options[404] = new Option('TURKEY - Mobile',0.6780);
options[405] = new Option('TURKMENISTAN',0.158);
options[406] = new Option('TURKMENISTAN - Mobile',0.158);
options[407] = new Option('TURKS & CAICOS',0.434);
options[408] = new Option('TURKS & CAICOS - Mobile',0.434);
options[409] = new Option('U.S. VIRGIN ISLANDS',0.434);
options[410] = new Option('UAE',0.2010);
options[411] = new Option('UAE - Mobile',0.2010);
options[412] = new Option('UGANDA',0.1530);
options[413] = new Option('UGANDA - Mobile',0.1780);
options[414] = new Option('UK',0.0580);
options[415] = new Option('UK - Mobile',0.1890);
options[416] = new Option('UKRAINE',0.307);
options[417] = new Option('UKRAINE - Mobile',0.448);
options[418] = new Option('URUGUAY',0.434);
options[419] = new Option('URUGUAY - Mobile',0.434);
options[420] = new Option('USA',0.0580);
options[421] = new Option('USA - Mobile',0.0580);
options[422] = new Option('UZBEKISTAN',0.158);
options[423] = new Option('UZBEKISTAN - Mobile',0.158);
options[424] = new Option('VANUATU',1.435);
options[425] = new Option('VANUATU - Mobile',1.435);
options[426] = new Option('VENEZUELA',0.434);
options[427] = new Option('VENEZUELA - Mobile',0.434);
options[428] = new Option('VIETNAM',0.158);
options[429] = new Option('VIETNAM - Mobile',0.158);
options[430] = new Option('WALLIS & FUTUNA',1.435);
options[431] = new Option('YEMEN (ARAB REPUBLIC)',0.3);
options[432] = new Option('YEMEN (ARAB REPUBLIC) - Mobile',0.3);
options[433] = new Option('ZAMBIA',0.0810);
options[434] = new Option('ZAMBIA - Mobile',0.1770);
options[435] = new Option('ZIMBABWE',0.1090);
options[436] = new Option('ZIMBABWE - Mobile',0.5460);
return options;
}
