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

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


// 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();
});


// Liste of rates for various cases (free phone or local, for both normal and mobile).
function get_free_phone_rates() {
	// rates for 0800
	options = new Array();
	options[0] = new Option('Choose one...', '0');
	options[1] = new Option('AFGHANISTAN',0.221);
	options[2] = new Option('AFGHANISTAN - Mobile',0.223);
	options[3] = new Option('ALBANIA',0.223);
	options[4] = new Option('ALBANIA - Mobile',0.32);
	options[5] = new Option('ALGERIA',0.361);
	options[6] = new Option('ALGERIA - Mobile',0.361);
	options[7] = new Option('AMERICAN SAMOA',0.346);
	options[8] = new Option('AMERICAN SAMOA - Mobile',0.346);
	options[9] = new Option('ANDORRA',0.223);
	options[10] = new Option('ANDORRA - Mobile',0.32);
	options[11] = new Option('ANGOLA',0.361);
	options[12] = new Option('ANGOLA - Mobile',0.361);
	options[13] = new Option('ANGUILLA',0.31);
	options[14] = new Option('ANGUILLA - Mobile',0.31);
	options[15] = new Option('ANTIGUA',0.31);
	options[16] = new Option('ANTIGUA - Mobile',0.31);
	options[17] = new Option('ARGENTINA',0.056);
	options[18] = new Option('ARGENTINA - Mobile',0.11);
	options[19] = new Option('ARMENIA',0.223);
	options[20] = new Option('ARMENIA - Mobile',0.32);
	options[21] = new Option('ARUBA',0.31);
	options[22] = new Option('ARUBA - Mobile',0.31);
	options[23] = new Option('ASCENSION ISLAND',1);
	options[24] = new Option('ASCENSION ISLAND - Mobile',1);
	options[25] = new Option('AUSTRALIA',0.044);
	options[26] = new Option('AUSTRALIA - Mobile',0.109);
	options[27] = new Option('AUSTRIA',0.223);
	options[28] = new Option('AUSTRIA - Mobile',0.32);
	options[29] = new Option('AZERBAIZAN',0.223);
	options[30] = new Option('AZERBAIZAN - Mobile',0.32);
	options[31] = new Option('BAHAMAS',0.31);
	options[32] = new Option('BAHAMAS - Mobile',0.31);
	options[33] = new Option('BAHRAIN',0.087);
	options[34] = new Option('BAHRAIN - Mobile',0.083);
	options[35] = new Option('BANGLADESH',0.055);
	options[36] = new Option('BANGLADESH - Mobile',0.059);
	options[37] = new Option('BARBADOS',0.31);
	options[38] = new Option('BARBADOS - Mobile',0.31);
	options[39] = new Option('BELARUS',0.223);
	options[40] = new Option('BELARUS - Mobile',0.32);
	options[41] = new Option('BELGIUM',0.044);
	options[42] = new Option('BELGIUM - Mobile',0.189);
	options[43] = new Option('BELIZE',0.31);
	options[44] = new Option('BELIZE - Mobile',0.31);
	options[45] = new Option('BENIN',0.192);
	options[46] = new Option('BENIN - Mobile',0.165);
	options[47] = new Option('BERMUDA',0.31);
	options[48] = new Option('BERMUDA - Mobile',0.31);
	options[49] = new Option('BHUTAN',0.134);
	options[50] = new Option('BHUTAN - Mobile',0.134);
	options[51] = new Option('BOLIVIA',0.31);
	options[52] = new Option('BOLIVIA - Mobile',0.31);
	options[53] = new Option('BOSNIA & HERZEGOVINA',0.223);
	options[54] = new Option('BOSNIA & HERZEGOVINA - Mobile',0.32);
	options[55] = new Option('BOTSWANA',0.361);
	options[56] = new Option('BOTSWANA - Mobile',0.361);
	options[57] = new Option('BRAZIL',0.058);
	options[58] = new Option('BRAZIL - Mobile',0.166);
	options[59] = new Option('BRITISH VIRGIN ISLANDS',0.31);
	options[60] = new Option('BRITISH VIRGIN ISLANDS - Mobile',0.31);
	options[61] = new Option('BRUNEI',0.119);
	options[62] = new Option('BRUNEI - Mobile',0.119);
	options[63] = new Option('BULGARIA',0.223);
	options[64] = new Option('BULGARIA - Mobile',0.32);
	options[65] = new Option('BURKINA FASO',0.361);
	options[66] = new Option('BURKINA FASO - Mobile',0.361);
	options[67] = new Option('BURUNDI',0.361);
	options[68] = new Option('BURUNDI - Mobile',0.361);
	options[69] = new Option('CAMBODIA',0.119);
	options[70] = new Option('CAMBODIA - Mobile',0.119);
	options[71] = new Option('CAMEROON',0.253);
	options[72] = new Option('CAMEROON - Mobile',0.207);
	options[73] = new Option('CANADA',0.039);
	options[74] = new Option('CANADA - Mobile',0.039);
	options[75] = new Option('CAPE VERDE',0.361);
	options[76] = new Option('CAPE VERDE - Mobile',0.361);
	options[77] = new Option('CAYMAN ISLANDS',0.31);
	options[78] = new Option('CAYMAN ISLANDS - Mobile',0.31);
	options[79] = new Option('CENTRAL AFRICA ',1);
	options[80] = new Option('CENTRAL AFRICA - Mobile',1);
	options[81] = new Option('CHAD',0.361);
	options[82] = new Option('CHAD - Mobile',0.361);
	options[83] = new Option('CHILE',0.31);
	options[84] = new Option('CHILE - Mobile',0.31);
	options[85] = new Option('CHINA',0.039);
	options[86] = new Option('CHINA - Mobile',0.039);
	options[87] = new Option('COLOMBIA',0.31);
	options[88] = new Option('COLOMBIA - Mobile',0.31);
	options[89] = new Option('COMOROS',0.361);
	options[90] = new Option('COMOROS - Mobile',0.361);
	options[91] = new Option('CONGO',0.361);
	options[92] = new Option('CONGO - Mobile',0.361);
	options[93] = new Option('COOK ISLANDS',1);
	options[94] = new Option('COOK ISLANDS - Mobile',1);
	options[95] = new Option('COSTA RICA',0.31);
	options[96] = new Option('COSTA RICA - Mobile',0.31);
	options[97] = new Option('CROATIA',0.223);
	options[98] = new Option('CROATIA - Mobile',0.32);
	options[99] = new Option('CUBA',0.882);
	options[100] = new Option('CUBA - Mobile',0.882);
	options[101] = new Option('CYPRUS',0.223);
	options[102] = new Option('CYPRUS - Mobile',0.32);
	options[103] = new Option('CZECH REPUBLIC',0.223);
	options[104] = new Option('CZECH REPUBLIC - Mobile',0.32);
	options[105] = new Option('DENMARK',0.223);
	options[106] = new Option('DENMARK - Mobile',0.32);
	options[107] = new Option('DIEGO GARCIA',1);
	options[108] = new Option('DIEGO GARCIA - Mobile',1);
	options[109] = new Option('DJIBOUTI',0.361);
	options[110] = new Option('DJIBOUTI - Mobile',0.361);
	options[111] = new Option('DOMINICA',0.31);
	options[112] = new Option('DOMINICA - Mobile',0.31);
	options[113] = new Option('DOMINICAN',0.31);
	options[114] = new Option('DOMINICAN - Mobile',0.31);
	options[115] = new Option('EAST TIMOR',1);
	options[116] = new Option('EAST TIMOR - Mobile',1);
	options[117] = new Option('ECUADOR',0.31);
	options[118] = new Option('ECUADOR - Mobile',0.31);
	options[119] = new Option('EGYPT',0.106);
	options[120] = new Option('EGYPT - Mobile',0.113);
	options[121] = new Option('EL SALVADOR',0.128);
	options[122] = new Option('EL SALVADOR - Mobile',0.15);
	options[123] = new Option('ERITREA',0.361);
	options[124] = new Option('ERITREA - Mobile',0.361);
	options[125] = new Option('ESTONIA',0.223);
	options[126] = new Option('ESTONIA - Mobile',0.32);
	options[127] = new Option('ETHIOPIA',0.236);
	options[128] = new Option('ETHIOPIA - Mobile',0.253);
	options[129] = new Option('FALKLAND ISLANDS',1);
	options[130] = new Option('FALKLAND ISLANDS - Mobile',1);
	options[131] = new Option('FAROE',0.223);
	options[132] = new Option('FAROE - Mobile',0.32);
	options[133] = new Option('FIJI',0.346);
	options[134] = new Option('FIJI - Mobile',0.346);
	options[135] = new Option('FINLAND',0.223);
	options[136] = new Option('FINLAND - Mobile',0.32);
	options[137] = new Option('FRANCE',0.044);
	options[138] = new Option('FRANCE - Mobile',0.109);
	options[139] = new Option('FRENCH GUIANA',0.31);
	options[140] = new Option('FRENCH GUIANA - Mobile',0.31);
	options[141] = new Option('FRENCH POLYNESIA',0.346);
	options[142] = new Option('FRENCH POLYNESIA - Mobile',0.346);
	options[143] = new Option('GABON',0.361);
	options[144] = new Option('GABON - Mobile',0.361);
	options[145] = new Option('GAMBIA',0.361);
	options[146] = new Option('GAMBIA - Mobile',0.361);
	options[147] = new Option('GEORGIA',0.223);
	options[148] = new Option('GEORGIA - Mobile',0.32);
	options[149] = new Option('GERMANY',0.039);
	options[150] = new Option('GERMANY - Mobile',0.129);
	options[151] = new Option('GHANA',0.085);
	options[152] = new Option('GHANA - Mobile',0.161);
	options[153] = new Option('GIBRALTAR',0.223);
	options[154] = new Option('GIBRALTAR - Mobile',0.32);
	options[155] = new Option('GREECE',0.223);
	options[156] = new Option('GREECE - Mobile',0.32);
	options[157] = new Option('GREENLAND',0.484);
	options[158] = new Option('GREENLAND - Mobile',0.484);
	options[159] = new Option('GRENADA',0.31);
	options[160] = new Option('GRENADA - Mobile',0.31);
	options[161] = new Option('GUADELOUPE',0.31);
	options[162] = new Option('GUADELOUPE - Mobile',0.31);
	options[163] = new Option('GUAM',0.346);
	options[164] = new Option('GUAM - Mobile',0.346);
	options[165] = new Option('GUATEMALA',0.126);
	options[166] = new Option('GUATEMALA - Mobile',0.124);
	options[167] = new Option('GUINEA',0.269);
	options[168] = new Option('GUINEA - Mobile',0.264);
	options[169] = new Option('GUINEA BISSAU',0.368);
	options[170] = new Option('GUINEA BISSAU - Mobile',0.434);
	options[171] = new Option('GUYANA',0.31);
	options[172] = new Option('GUYANA - Mobile',0.31);
	options[173] = new Option('HAITI',0.31);
	options[174] = new Option('HAITI - Mobile',0.31);
	options[175] = new Option('HONDURAS',0.31);
	options[176] = new Option('HONDURAS - Mobile',0.31);
	options[177] = new Option('HONGKONG',0.049);
	options[178] = new Option('HONGKONG - Mobile',0.039);
	options[179] = new Option('HUNGARY',0.223);
	options[180] = new Option('HUNGARY - Mobile',0.32);
	options[181] = new Option('ICELAND',0.223);
	options[182] = new Option('ICELAND - Mobile',0.32);
	options[183] = new Option('INDIA',0.039);
	options[184] = new Option('INDIA - Mobile',0.039);
	options[185] = new Option('INDONESIA',0.089);
	options[186] = new Option('INDONESIA - Mobile',0.099);
	options[187] = new Option('IRAN',0.1);
	options[188] = new Option('IRAN - Mobile',0.118);
	options[189] = new Option('IRAQ',0.217);
	options[190] = new Option('IRAQ - Mobile',0.217);
	options[191] = new Option('IRELAND',0.223);
	options[192] = new Option('IRELAND - Mobile',0.32);
	options[193] = new Option('ISRAEL',0.05);
	options[194] = new Option('ISRAEL - Mobile',0.102);
	options[195] = new Option('ITALY',0.044);
	options[196] = new Option('ITALY - Mobile',0.159);
	options[197] = new Option('IVORY COAST',0.361);
	options[198] = new Option('IVORY COAST - Mobile',0.361);
	options[199] = new Option('JAMAICA',0.31);
	options[200] = new Option('JAMAICA - Mobile',0.31);
	options[201] = new Option('JAPAN',0.058);
	options[202] = new Option('JAPAN - Mobile',0.149);
	options[203] = new Option('JORDAN',0.057);
	options[204] = new Option('JORDAN - Mobile',0.118);
	options[205] = new Option('KAZAKHSTAN',0.119);
	options[206] = new Option('KAZAKHSTAN - Mobile',0.119);
	options[207] = new Option('KENYA',0.099);
	options[208] = new Option('KENYA - Mobile',0.136);
	options[209] = new Option('KIRIBATI',1);
	options[210] = new Option('KIRIBATI - Mobile',1);
	options[211] = new Option('KUWAIT',0.111);
	options[212] = new Option('KUWAIT - Mobile',0.115);
	options[213] = new Option('KYRGYZSTAN',0.119);
	options[214] = new Option('KYRGYZSTAN - Mobile',0.119);
	options[215] = new Option('LAOS',0.119);
	options[216] = new Option('LAOS - Mobile',0.119);
	options[217] = new Option('LATVIA',0.223);
	options[218] = new Option('LATVIA - Mobile',0.32);
	options[219] = new Option('LEBANON',0.217);
	options[220] = new Option('LEBANON - Mobile',0.217);
	options[221] = new Option('LESOTHO',0.361);
	options[222] = new Option('LESOTHO - Mobile',0.361);
	options[223] = new Option('LIBERIA',0.361);
	options[224] = new Option('LIBERIA - Mobile',0.361);
	options[225] = new Option('LIBYA',0.361);
	options[226] = new Option('LIBYA - Mobile',0.361);
	options[227] = new Option('LIECHTENSTEIN',0.223);
	options[228] = new Option('LIECHTENSTEIN - Mobile',0.32);
	options[229] = new Option('LITHUANIA',0.223);
	options[230] = new Option('LITHUANIA - Mobile',0.32);
	options[231] = new Option('LUXEMBOURG',0.223);
	options[232] = new Option('LUXEMBOURG - Mobile',0.32);
	options[233] = new Option('MACAU',0.119);
	options[234] = new Option('MACAU - Mobile',0.119);
	options[235] = new Option('MACEDONIA',0.223);
	options[236] = new Option('MACEDONIA - Mobile',0.32);
	options[237] = new Option('MADAGASCAR',0.26);
	options[238] = new Option('MADAGASCAR - Mobile',0.257);
	options[239] = new Option('MALAWI',0.114);
	options[240] = new Option('MALAWI - Mobile',0.132);
	options[241] = new Option('MALAYSIA',0.052);
	options[242] = new Option('MALAYSIA - Mobile',0.064);
	options[243] = new Option('MALDIVES',0.380);
	options[244] = new Option('MALDIVES - Mobile',0.410);
	options[245] = new Option('MALI',0.238);
	options[246] = new Option('MALI - Mobile',0.238);
	options[247] = new Option('MALTA',0.223);
	options[248] = new Option('MALTA - Mobile',0.32);
	options[249] = new Option('MARIANA ISLANDS',0.346);
	options[250] = new Option('MARIANA ISLANDS - Mobile',0.346);
	options[251] = new Option('MARSHALL ISLANDS',0.346);
	options[252] = new Option('MARSHALL ISLANDS - Mobile',0.346);
	options[253] = new Option('MARTINIQUE',0.31);
	options[254] = new Option('MARTINIQUE - Mobile',0.31);
	options[255] = new Option('MAURITANIA',0.361);
	options[256] = new Option('MAURITANIA - Mobile',0.361);
	options[257] = new Option('MAURITIUS ISLAND',0.081);
	options[258] = new Option('MAURITIUS ISLAND - Mobile',0.081);
	options[259] = new Option('Mayotte',0.361);
	options[260] = new Option('Mayotte - Mobile',0.361);
	options[261] = new Option('MEXICO',0.076);
	options[262] = new Option('MEXICO - Mobile',0.145);
	options[263] = new Option('MICRONESIA',0.346);
	options[264] = new Option('MICRONESIA - Mobile',0.346);
	options[265] = new Option('MOLDOVA',0.223);
	options[266] = new Option('MOLDOVA - Mobile',0.32);
	options[267] = new Option('MONACO',0.223);
	options[268] = new Option('MONACO - Mobile',0.32);
	options[269] = new Option('MONGOLIA',0.119);
	options[270] = new Option('MONGOLIA - Mobile',0.119);
	options[271] = new Option('MONTSERRAT',0.31);
	options[272] = new Option('MONTSERRAT - Mobile',0.31);
	options[273] = new Option('MOROCCO',0.079);
	options[274] = new Option('MOROCCO - Mobile',0.289);
	options[275] = new Option('MOZAMBIQUE',0.361);
	options[276] = new Option('MOZAMBIQUE - Mobile',0.361);
	options[277] = new Option('MYANMAR',0.271);
	options[278] = new Option('MYANMAR - Mobile',0.271);
	options[279] = new Option('NAMIBIA',0.361);
	options[280] = new Option('NAMIBIA - Mobile',0.361);
	options[281] = new Option('NEPAL',0.151);
	options[282] = new Option('NEPAL - Mobile',0.151);
	options[283] = new Option('NETHERLANDS',0.049);
	options[284] = new Option('NETHERLANDS - Mobile',0.216);
	options[285] = new Option('NETHERLANDS ANTILLES',0.31);
	options[286] = new Option('NETHERLANDS ANTILLES - Mobile',0.31);
	options[287] = new Option('NEW CALEDONIA',0.346);
	options[288] = new Option('NEW CALEDONIA - Mobile',0.346);
	options[289] = new Option('NEW ZEALAND',0.05);
	options[290] = new Option('NEW ZEALAND - Mobile',0.178);
	options[291] = new Option('NICARAGUA',0.31);
	options[292] = new Option('NICARAGUA - Mobile',0.31);
	options[293] = new Option('NIGER',0.146);
	options[294] = new Option('NIGER - Mobile',0.156);
	options[295] = new Option('NIGERIA',0.113);
	options[296] = new Option('NIGERIA - Mobile',0.133);
	options[297] = new Option('NORTH KOREA',0.53);
	options[298] = new Option('NORTH KOREA - Mobile',0.53);
	options[299] = new Option('NORWAY',0.223);
	options[300] = new Option('NORWAY - Mobile',0.32);
	options[301] = new Option('OMAN',0.125);
	options[302] = new Option('OMAN - Mobile',0.189);
	options[303] = new Option('PAKISTAN',0.038);
	options[304] = new Option('PAKISTAN - Mobile',0.079);
	options[305] = new Option('PALAU',0.346);
	options[306] = new Option('PALAU - Mobile',0.346);
	options[307] = new Option('PALESTINE',0.217);
	options[308] = new Option('PALESTINE - Mobile',0.217);
	options[309] = new Option('PANAMA',0.31);
	options[310] = new Option('PANAMA - Mobile',0.31);
	options[311] = new Option('PAPUA NEW GUINEA',0.346);
	options[312] = new Option('PAPUA NEW GUINEA - Mobile',0.346);
	options[313] = new Option('PARAGUAY',0.31);
	options[314] = new Option('PARAGUAY - Mobile',0.31);
	options[315] = new Option('PERU',0.31);
	options[316] = new Option('PERU - Mobile',0.31);
	options[317] = new Option('PHILIPPINES',0.119);
	options[318] = new Option('PHILIPPINES - Mobile',0.149);
	options[319] = new Option('POLAND',0.223);
	options[320] = new Option('POLAND - Mobile',0.32);
	options[321] = new Option('PORTUGAL',0.223);
	options[322] = new Option('PORTUGAL - Mobile',0.32);
	options[323] = new Option('PUERTO RICO',0.31);
	options[324] = new Option('PUERTO RICO - Mobile',0.31);
	options[325] = new Option('QATAR',0.147);
	options[326] = new Option('QATAR - Mobile',0.182);
	options[327] = new Option('REUNION ISLAND',0.361);
	options[328] = new Option('REUNION ISLAND - Mobile',0.361);
	options[329] = new Option('ROMANIA',0.223);
	options[330] = new Option('ROMANIA - Mobile',0.32);
	options[331] = new Option('RUSSIA',0.072);
	options[332] = new Option('RUSSIA - Mobile',0.067);
	options[333] = new Option('RWANDA',0.361);
	options[334] = new Option('RWANDA - Mobile',0.361);
	options[335] = new Option('SAN MARINO',0.223);
	options[336] = new Option('SAN MARINO - Mobile',0.32);
	options[337] = new Option('SAO TOME & PRINCIPE',1);
	options[338] = new Option('SAO TOME & PRINCIPE - Mobile',1);
	options[339] = new Option('SAUDI ARABIA',0.094);
	options[340] = new Option('SAUDI ARABIA - Mobile',0.133);
	options[341] = new Option('SENEGAL',0.361);
	options[342] = new Option('SENEGAL - Mobile',0.361);
	options[343] = new Option('SERBIA',0.223);
	options[344] = new Option('SERBIA - Mobile',0.32);
	options[345] = new Option('SEYCHELLES',0.361);
	options[346] = new Option('SEYCHELLES - Mobile',0.361);
	options[347] = new Option('SIERRA LEONE',0.361);
	options[348] = new Option('SIERRA LEONE - Mobile',0.361);
	options[349] = new Option('SINGAPORE',0.039);
	options[350] = new Option('SINGAPORE - Mobile',0.049);
	options[351] = new Option('SLOVAKIA',0.223);
	options[352] = new Option('SLOVAKIA - Mobile',0.32);
	options[353] = new Option('SLOVENIA',0.223);
	options[354] = new Option('SLOVENIA - Mobile',0.32);
	options[355] = new Option('SOLOMON ISLANDS',1);
	options[356] = new Option('SOLOMON ISLANDS - Mobile',1);
	options[357] = new Option('SOMALIA',1);
	options[358] = new Option('SOMALIA - Mobile',1);
	options[359] = new Option('SOUTH AFRICA',0.066);
	options[360] = new Option('SOUTH AFRICA - Mobile',0.154);
	options[361] = new Option('SOUTH KOREA',0.054);
	options[362] = new Option('SOUTH KOREA - Mobile',0.062);
	options[363] = new Option('SPAIN',0.039);
	options[364] = new Option('SPAIN - Mobile',0.119);
	options[365] = new Option('SRI LANKA',0.134);
	options[366] = new Option('SRI LANKA - Mobile',0.119);
	options[367] = new Option('ST. HELENA',1);
	options[368] = new Option('ST. HELENA - Mobile',1);
	options[369] = new Option('ST. KITTS & NEVIS',0.31);
	options[370] = new Option('ST. KITTS & NEVIS - Mobile',0.31);
	options[371] = new Option('ST. LUCIA',0.31);
	options[372] = new Option('ST. LUCIA - Mobile',0.31);
	options[373] = new Option('ST. PIERRE & MIQUELON',0.166);
	options[374] = new Option('ST. PIERRE & MIQUELON - Mobile',0.166);
	options[375] = new Option('ST. VINCENT',0.31);
	options[376] = new Option('ST. VINCENT - Mobile',0.31);
	options[377] = new Option('SUDAN',0.166);
	options[378] = new Option('SUDAN - Mobile',0.169);
	options[379] = new Option('SURINAME',0.31);
	options[380] = new Option('SURINAME - Mobile',0.31);
	options[381] = new Option('SWAZILAND',0.361);
	options[382] = new Option('SWAZILAND - Mobile',0.361);
	options[383] = new Option('SWEDEN',0.047);
	options[384] = new Option('SWEDEN - Mobile',0.086);
	options[385] = new Option('SWITZERLAND',0.039);
	options[386] = new Option('SWITZERLAND - Mobile',0.209);
	options[387] = new Option('SYRIA',0.217);
	options[388] = new Option('SYRIA - Mobile',0.217);
	options[389] = new Option('TAIWAN',0.05);
	options[390] = new Option('TAIWAN - Mobile',0.097);
	options[391] = new Option('TAJIKISTAN',0.119);
	options[392] = new Option('TAJIKISTAN - Mobile',0.119);
	options[393] = new Option('TANZANIA',0.107);
	options[394] = new Option('TANZANIA - Mobile',0.11);
	options[395] = new Option('THAILAND',0.064);
	options[396] = new Option('THAILAND - Mobile',0.052);
	options[397] = new Option('TOGO',0.328);
	options[398] = new Option('TOGO - Mobile',0.331);
	options[399] = new Option('TONGA',0.346);
	options[400] = new Option('TONGA - Mobile',0.346);
	options[401] = new Option('TRINIDAD & TOBAGO',0.31);
	options[402] = new Option('TRINIDAD & TOBAGO - Mobile',0.31);
	options[403] = new Option('TUNISIA',0.361);
	options[404] = new Option('TUNISIA - Mobile',0.361);
	options[405] = new Option('TURKEY',0.074);
	options[406] = new Option('TURKEY - Mobile',0.478);
	options[407] = new Option('TURKMENISTAN',0.119);
	options[408] = new Option('TURKMENISTAN - Mobile',0.119);
	options[409] = new Option('TURKS & CAICOS',0.31);
	options[410] = new Option('TURKS & CAICOS - Mobile',0.31);
	options[411] = new Option('U.S. VIRGIN ISLANDS',0.31);
	options[412] = new Option('UAE',0.149);
	options[413] = new Option('UAE - Mobile',0.149);
	options[414] = new Option('UGANDA',0.116);
	options[415] = new Option('UGANDA - Mobile',0.134);
	options[416] = new Option('UKRAINE',0.223);
	options[417] = new Option('UKRAINE - Mobile',0.32);
	options[418] = new Option('URUGUAY',0.31);
	options[419] = new Option('URUGUAY - Mobile',0.31);
	options[420] = new Option('USA',0.039);
	options[421] = new Option('USA - Mobile',0.039);
	options[422] = new Option('UZBEKISTAN',0.119);
	options[423] = new Option('UZBEKISTAN - Mobile',0.119);
	options[424] = new Option('VANUATU',1);
	options[425] = new Option('VANUATU - Mobile',1);
	options[426] = new Option('VENEZUELA',0.31);
	options[427] = new Option('VENEZUELA - Mobile',0.31);
	options[428] = new Option('VIETNAM',0.119);
	options[429] = new Option('VIETNAM - Mobile',0.119);
	options[430] = new Option('WALLIS & FUTUNA',1);
	options[431] = new Option('YEMEN (ARAB REPUBLIC)',0.217);
	options[432] = new Option('YEMEN (ARAB REPUBLIC) - Mobile',0.217);
	options[433] = new Option('ZAMBIA',0.063);
	options[434] = new Option('ZAMBIA - Mobile',0.133);
	options[435] = new Option('ZIMBABWE',0.083);
	options[436] = new Option('ZIMBABWE - Mobile',0.387);
	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.208);
	options[2] = new Option('AFGHANISTAN - Mobile',0.21);
	options[3] = new Option('ALBANIA',0.21);
	options[4] = new Option('ALBANIA - Mobile',0.308);
	options[5] = new Option('ALGERIA',0.348);
	options[6] = new Option('ALGERIA - Mobile',0.348);
	options[7] = new Option('AMERICAN SAMOA',0.334);
	options[8] = new Option('AMERICAN SAMOA - Mobile',0.334);
	options[9] = new Option('ANDORRA',0.21);
	options[10] = new Option('ANDORRA - Mobile',0.308);
	options[11] = new Option('ANGOLA',0.348);
	options[12] = new Option('ANGOLA - Mobile',0.348);
	options[13] = new Option('ANGUILLA',0.298);
	options[14] = new Option('ANGUILLA - Mobile',0.298);
	options[15] = new Option('ANTIGUA',0.298);
	options[16] = new Option('ANTIGUA - Mobile',0.298);
	options[17] = new Option('ARGENTINA',0.047);
	options[18] = new Option('ARGENTINA - Mobile',0.098);
	options[19] = new Option('ARMENIA',0.21);
	options[20] = new Option('ARMENIA - Mobile',0.308);
	options[21] = new Option('ARUBA',0.298);
	options[22] = new Option('ARUBA - Mobile',0.298);
	options[23] = new Option('ASCENSION ISLAND',0.988);
	options[24] = new Option('ASCENSION ISLAND - Mobile',0.988);
	options[25] = new Option('AUSTRALIA',0.034);
	options[26] = new Option('AUSTRALIA - Mobile',0.099);
	options[27] = new Option('AUSTRIA',0.21);
	options[28] = new Option('AUSTRIA - Mobile',0.308);
	options[29] = new Option('AZERBAIZAN',0.21);
	options[30] = new Option('AZERBAIZAN - Mobile',0.308);
	options[31] = new Option('BAHAMAS',0.298);
	options[32] = new Option('BAHAMAS - Mobile',0.298);
	options[33] = new Option('BAHRAIN',0.078);
	options[34] = new Option('BAHRAIN - Mobile',0.075);
	options[35] = new Option('BANGLADESH',0.052);
	options[36] = new Option('BANGLADESH - Mobile',0.049);
	options[37] = new Option('BARBADOS',0.298);
	options[38] = new Option('BARBADOS - Mobile',0.298);
	options[39] = new Option('BELARUS',0.21);
	options[40] = new Option('BELARUS - Mobile',0.308);
	options[41] = new Option('BELGIUM',0.034);
	options[42] = new Option('BELGIUM - Mobile',0.179);
	options[43] = new Option('BELIZE',0.298);
	options[44] = new Option('BELIZE - Mobile',0.298);
	options[45] = new Option('BENIN',0.18);
	options[46] = new Option('BENIN - Mobile',0.153);
	options[47] = new Option('BERMUDA',0.298);
	options[48] = new Option('BERMUDA - Mobile',0.298);
	options[49] = new Option('BHUTAN',0.121);
	options[50] = new Option('BHUTAN - Mobile',0.121);
	options[51] = new Option('BOLIVIA',0.298);
	options[52] = new Option('BOLIVIA - Mobile',0.298);
	options[53] = new Option('BOSNIA & HERZEGOVINA',0.21);
	options[54] = new Option('BOSNIA & HERZEGOVINA - Mobile',0.308);
	options[55] = new Option('BOTSWANA',0.348);
	options[56] = new Option('BOTSWANA - Mobile',0.348);
	options[57] = new Option('BRAZIL',0.049);
	options[58] = new Option('BRAZIL - Mobile',0.154);
	options[59] = new Option('BRITISH VIRGIN ISLANDS',0.298);
	options[60] = new Option('BRITISH VIRGIN ISLANDS - Mobile',0.298);
	options[61] = new Option('BRUNEI',0.107);
	options[62] = new Option('BRUNEI - Mobile',0.107);
	options[63] = new Option('BULGARIA',0.21);
	options[64] = new Option('BULGARIA - Mobile',0.308);
	options[65] = new Option('BURKINA FASO',0.348);
	options[66] = new Option('BURKINA FASO - Mobile',0.348);
	options[67] = new Option('BURUNDI',0.348);
	options[68] = new Option('BURUNDI - Mobile',0.348);
	options[69] = new Option('CAMBODIA',0.107);
	options[70] = new Option('CAMBODIA - Mobile',0.107);
	options[71] = new Option('CAMEROON',0.241);
	options[72] = new Option('CAMEROON - Mobile',0.194);
	options[73] = new Option('CANADA',0.029);
	options[74] = new Option('CANADA - Mobile',0.029);
	options[75] = new Option('CAPE VERDE',0.348);
	options[76] = new Option('CAPE VERDE - Mobile',0.348);
	options[77] = new Option('CAYMAN ISLANDS',0.298);
	options[78] = new Option('CAYMAN ISLANDS - Mobile',0.298);
	options[79] = new Option('CENTRAL AFRICA',0.988);
	options[80] = new Option('CENTRAL AFRICA - Mobile',0.988);
	options[81] = new Option('CHAD',0.348);
	options[82] = new Option('CHAD - Mobile',0.348);
	options[83] = new Option('CHILE',0.298);
	options[84] = new Option('CHILE - Mobile',0.298);
	options[85] = new Option('CHINA',0.029);
	options[86] = new Option('CHINA - Mobile',0.029);
	options[87] = new Option('COLOMBIA',0.298);
	options[88] = new Option('COLOMBIA - Mobile',0.298);
	options[89] = new Option('COMOROS',0.348);
	options[90] = new Option('COMOROS - Mobile',0.348);
	options[91] = new Option('CONGO',0.348);
	options[92] = new Option('CONGO - Mobile',0.348);
	options[93] = new Option('COOK ISLANDS',0.988);
	options[94] = new Option('COOK ISLANDS - Mobile',0.988);
	options[95] = new Option('COSTA RICA',0.298);
	options[96] = new Option('COSTA RICA - Mobile',0.298);
	options[97] = new Option('CROATIA',0.21);
	options[98] = new Option('CROATIA - Mobile',0.308);
	options[99] = new Option('CUBA',0.87);
	options[100] = new Option('CUBA - Mobile',0.87);
	options[101] = new Option('CYPRUS',0.21);
	options[102] = new Option('CYPRUS - Mobile',0.308);
	options[103] = new Option('CZECH REPUBLIC',0.21);
	options[104] = new Option('CZECH REPUBLIC - Mobile',0.308);
	options[105] = new Option('DENMARK',0.21);
	options[106] = new Option('DENMARK - Mobile',0.308);
	options[107] = new Option('DIEGO GARCIA',0.988);
	options[108] = new Option('DIEGO GARCIA - Mobile',0.988);
	options[109] = new Option('DJIBOUTI',0.348);
	options[110] = new Option('DJIBOUTI - Mobile',0.348);
	options[111] = new Option('DOMINICA',0.298);
	options[112] = new Option('DOMINICA - Mobile',0.298);
	options[113] = new Option('DOMINICAN',0.298);
	options[114] = new Option('DOMINICAN - Mobile',0.298);
	options[115] = new Option('EAST TIMOR',0.988);
	options[116] = new Option('EAST TIMOR - Mobile',0.988);
	options[117] = new Option('ECUADOR',0.298);
	options[118] = new Option('ECUADOR - Mobile',0.298);
	options[119] = new Option('EGYPT',0.095);
	options[120] = new Option('EGYPT - Mobile',0.101);
	options[121] = new Option('EL SALVADOR',0.115);
	options[122] = new Option('EL SALVADOR - Mobile',0.138);
	options[123] = new Option('ERITREA',0.348);
	options[124] = new Option('ERITREA - Mobile',0.348);
	options[125] = new Option('ESTONIA',0.21);
	options[126] = new Option('ESTONIA - Mobile',0.308);
	options[127] = new Option('ETHIOPIA',0.224);
	options[128] = new Option('ETHIOPIA - Mobile',0.241);
	options[129] = new Option('FALKLAND ISLANDS',0.988);
	options[130] = new Option('FALKLAND ISLANDS - Mobile',0.988);
	options[131] = new Option('FAROE',0.21);
	options[132] = new Option('FAROE - Mobile',0.308);
	options[133] = new Option('FIJI',0.334);
	options[134] = new Option('FIJI - Mobile',0.334);
	options[135] = new Option('FINLAND',0.21);
	options[136] = new Option('FINLAND - Mobile',0.308);
	options[137] = new Option('FRANCE',0.034);
	options[138] = new Option('FRANCE - Mobile',0.099);
	options[139] = new Option('FRENCH GUIANA',0.298);
	options[140] = new Option('FRENCH GUIANA - Mobile',0.298);
	options[141] = new Option('FRENCH POLYNESIA',0.334);
	options[142] = new Option('FRENCH POLYNESIA - Mobile',0.334);
	options[143] = new Option('GABON',0.348);
	options[144] = new Option('GABON - Mobile',0.348);
	options[145] = new Option('GAMBIA',0.348);
	options[146] = new Option('GAMBIA - Mobile',0.348);
	options[147] = new Option('GEORGIA',0.21);
	options[148] = new Option('GEORGIA - Mobile',0.308);
	options[149] = new Option('GERMANY',0.029);
	options[150] = new Option('GERMANY - Mobile',0.119);
	options[151] = new Option('GHANA',0.076);
	options[152] = new Option('GHANA - Mobile',0.149);
	options[153] = new Option('GIBRALTAR',0.21);
	options[154] = new Option('GIBRALTAR - Mobile',0.308);
	options[155] = new Option('GREECE',0.21);
	options[156] = new Option('GREECE - Mobile',0.308);
	options[157] = new Option('GREENLAND',0.471);
	options[158] = new Option('GREENLAND - Mobile',0.471);
	options[159] = new Option('GRENADA',0.298);
	options[160] = new Option('GRENADA - Mobile',0.298);
	options[161] = new Option('GUADELOUPE',0.298);
	options[162] = new Option('GUADELOUPE - Mobile',0.298);
	options[163] = new Option('GUAM',0.334);
	options[164] = new Option('GUAM - Mobile',0.334);
	options[165] = new Option('GUATEMALA',0.114);
	options[166] = new Option('GUATEMALA - Mobile',0.112);
	options[167] = new Option('GUINEA',0.256);
	options[168] = new Option('GUINEA - Mobile',0.251);
	options[169] = new Option('GUINEA BISSAU',0.356);
	options[170] = new Option('GUINEA BISSAU - Mobile',0.422);
	options[171] = new Option('GUYANA',0.298);
	options[172] = new Option('GUYANA - Mobile',0.298);
	options[173] = new Option('HAITI',0.298);
	options[174] = new Option('HAITI - Mobile',0.298);
	options[175] = new Option('HONDURAS',0.298);
	options[176] = new Option('HONDURAS - Mobile',0.298);
	options[177] = new Option('HONGKONG',0.039);
	options[178] = new Option('HONGKONG - Mobile',0.029);
	options[179] = new Option('HUNGARY',0.21);
	options[180] = new Option('HUNGARY - Mobile',0.308);
	options[181] = new Option('ICELAND',0.21);
	options[182] = new Option('ICELAND - Mobile',0.308);
	options[183] = new Option('INDIA',0.029);
	options[184] = new Option('INDIA - Mobile',0.029);
	options[185] = new Option('INDONESIA',0.079);
	options[186] = new Option('INDONESIA - Mobile',0.089);
	options[187] = new Option('IRAN',0.09);
	options[188] = new Option('IRAN - Mobile',0.106);
	options[189] = new Option('IRAQ',0.205);
	options[190] = new Option('IRAQ - Mobile',0.205);
	options[191] = new Option('IRELAND',0.21);
	options[192] = new Option('IRELAND - Mobile',0.308);
	options[193] = new Option('ISRAEL',0.042);
	options[194] = new Option('ISRAEL - Mobile',0.092);
	options[195] = new Option('ITALY',0.034);
	options[196] = new Option('ITALY - Mobile',0.149);
	options[197] = new Option('IVORY COAST',0.348);
	options[198] = new Option('IVORY COAST - Mobile',0.348);
	options[199] = new Option('JAMAICA',0.298);
	options[200] = new Option('JAMAICA - Mobile',0.298);
	options[201] = new Option('JAPAN',0.049);
	options[202] = new Option('JAPAN - Mobile',0.137);
	options[203] = new Option('JORDAN',0.049);
	options[204] = new Option('JORDAN - Mobile',0.106);
	options[205] = new Option('KAZAKHSTAN',0.107);
	options[206] = new Option('KAZAKHSTAN - Mobile',0.107);
	options[207] = new Option('KENYA',0.09);
	options[208] = new Option('KENYA - Mobile',0.124);
	options[209] = new Option('KIRIBATI',0.988);
	options[210] = new Option('KIRIBATI - Mobile',0.988);
	options[211] = new Option('KUWAIT',0.099);
	options[212] = new Option('KUWAIT - Mobile',0.103);
	options[213] = new Option('KYRGYZSTAN',0.107);
	options[214] = new Option('KYRGYZSTAN - Mobile',0.107);
	options[215] = new Option('LAOS',0.107);
	options[216] = new Option('LAOS - Mobile',0.107);
	options[217] = new Option('LATVIA',0.21);
	options[218] = new Option('LATVIA - Mobile',0.308);
	options[219] = new Option('LEBANON',0.205);
	options[220] = new Option('LEBANON - Mobile',0.205);
	options[221] = new Option('LESOTHO',0.348);
	options[222] = new Option('LESOTHO - Mobile',0.348);
	options[223] = new Option('LIBERIA',0.348);
	options[224] = new Option('LIBERIA - Mobile',0.348);
	options[225] = new Option('LIBYA',0.348);
	options[226] = new Option('LIBYA - Mobile',0.348);
	options[227] = new Option('LIECHTENSTEIN',0.21);
	options[228] = new Option('LIECHTENSTEIN - Mobile',0.308);
	options[229] = new Option('LITHUANIA',0.21);
	options[230] = new Option('LITHUANIA - Mobile',0.308);
	options[231] = new Option('LUXEMBOURG',0.21);
	options[232] = new Option('LUXEMBOURG - Mobile',0.308);
	options[233] = new Option('MACAU',0.107);
	options[234] = new Option('MACAU - Mobile',0.107);
	options[235] = new Option('MACEDONIA',0.21);
	options[236] = new Option('MACEDONIA - Mobile',0.308);
	options[237] = new Option('MADAGASCAR',0.248);
	options[238] = new Option('MADAGASCAR - Mobile',0.245);
	options[239] = new Option('MALAWI',0.102);
	options[240] = new Option('MALAWI - Mobile',0.12);
	options[241] = new Option('MALAYSIA',0.044);
	options[242] = new Option('MALAYSIA - Mobile',0.056);
	options[243] = new Option('MALDIVES',0.370);
	options[244] = new Option('MALDIVES - Mobile',0.400);
	options[245] = new Option('MALI',0.226);
	options[246] = new Option('MALI - Mobile',0.226);
	options[247] = new Option('MALTA',0.21);
	options[248] = new Option('MALTA - Mobile',0.308);
	options[249] = new Option('MARIANA ISLANDS',0.334);
	options[250] = new Option('MARIANA ISLANDS - Mobile',0.334);
	options[251] = new Option('MARSHALL ISLANDS',0.334);
	options[252] = new Option('MARSHALL ISLANDS - Mobile',0.334);
	options[253] = new Option('MARTINIQUE',0.298);
	options[254] = new Option('MARTINIQUE - Mobile',0.298);
	options[255] = new Option('MAURITANIA',0.348);
	options[256] = new Option('MAURITANIA - Mobile',0.348);
	options[257] = new Option('MAURITIUS ISLAND',0.072);
	options[258] = new Option('MAURITIUS ISLAND - Mobile',0.072);
	options[259] = new Option('Mayotte',0.348);
	options[260] = new Option('Mayotte - Mobile',0.348);
	options[261] = new Option('MEXICO',0.067);
	options[262] = new Option('MEXICO - Mobile',0.133);
	options[263] = new Option('MICRONESIA',0.334);
	options[264] = new Option('MICRONESIA - Mobile',0.334);
	options[265] = new Option('MOLDOVA',0.21);
	options[266] = new Option('MOLDOVA - Mobile',0.308);
	options[267] = new Option('MONACO',0.21);
	options[268] = new Option('MONACO - Mobile',0.308);
	options[269] = new Option('MONGOLIA',0.107);
	options[270] = new Option('MONGOLIA - Mobile',0.107);
	options[271] = new Option('MONTSERRAT',0.298);
	options[272] = new Option('MONTSERRAT - Mobile',0.298);
	options[273] = new Option('MOROCCO',0.069);
	options[274] = new Option('MOROCCO - Mobile',0.279);
	options[275] = new Option('MOZAMBIQUE',0.348);
	options[276] = new Option('MOZAMBIQUE - Mobile',0.348);
	options[277] = new Option('MYANMAR',0.259);
	options[278] = new Option('MYANMAR - Mobile',0.259);
	options[279] = new Option('NAMIBIA',0.348);
	options[280] = new Option('NAMIBIA - Mobile',0.348);
	options[281] = new Option('NEPAL',0.139);
	options[282] = new Option('NEPAL - Mobile',0.139);
	options[283] = new Option('NETHERLANDS',0.041);
	options[284] = new Option('NETHERLANDS - Mobile',0.204);
	options[285] = new Option('NETHERLANDS ANTILLES',0.298);
	options[286] = new Option('NETHERLANDS ANTILLES - Mobile',0.298);
	options[287] = new Option('NEW CALEDONIA',0.334);
	options[288] = new Option('NEW CALEDONIA - Mobile',0.334);
	options[289] = new Option('NEW ZEALAND',0.042);
	options[290] = new Option('NEW ZEALAND - Mobile',0.165);
	options[291] = new Option('NICARAGUA',0.298);
	options[292] = new Option('NICARAGUA - Mobile',0.298);
	options[293] = new Option('NIGER',0.134);
	options[294] = new Option('NIGER - Mobile',0.144);
	options[295] = new Option('NIGERIA',0.101);
	options[296] = new Option('NIGERIA - Mobile',0.12);
	options[297] = new Option('NORTH KOREA',0.517);
	options[298] = new Option('NORTH KOREA - Mobile',0.517);
	options[299] = new Option('NORWAY',0.21);
	options[300] = new Option('NORWAY - Mobile',0.308);
	options[301] = new Option('OMAN',0.113);
	options[302] = new Option('OMAN - Mobile',0.177);
	options[303] = new Option('PAKISTAN',0.033);
	options[304] = new Option('PAKISTAN - Mobile',0.069);
	options[305] = new Option('PALAU',0.334);
	options[306] = new Option('PALAU - Mobile',0.334);
	options[307] = new Option('PALESTINE',0.205);
	options[308] = new Option('PALESTINE - Mobile',0.205);
	options[309] = new Option('PANAMA',0.298);
	options[310] = new Option('PANAMA - Mobile',0.298);
	options[311] = new Option('PAPUA NEW GUINEA',0.334);
	options[312] = new Option('PAPUA NEW GUINEA - Mobile',0.334);
	options[313] = new Option('PARAGUAY',0.298);
	options[314] = new Option('PARAGUAY - Mobile',0.298);
	options[315] = new Option('PERU',0.298);
	options[316] = new Option('PERU - Mobile',0.298);
	options[317] = new Option('PHILIPPINES',0.109);
	options[318] = new Option('PHILIPPINES - Mobile',0.139);
	options[319] = new Option('POLAND',0.21);
	options[320] = new Option('POLAND - Mobile',0.308);
	options[321] = new Option('PORTUGAL',0.21);
	options[322] = new Option('PORTUGAL - Mobile',0.308);
	options[323] = new Option('PUERTO RICO',0.298);
	options[324] = new Option('PUERTO RICO - Mobile',0.298);
	options[325] = new Option('QATAR',0.135);
	options[326] = new Option('QATAR - Mobile',0.169);
	options[327] = new Option('REUNION ISLAND',0.348);
	options[328] = new Option('REUNION ISLAND - Mobile',0.348);
	options[329] = new Option('ROMANIA',0.21);
	options[330] = new Option('ROMANIA - Mobile',0.308);
	options[331] = new Option('RUSSIA',0.064);
	options[332] = new Option('RUSSIA - Mobile',0.059);
	options[333] = new Option('RWANDA',0.348);
	options[334] = new Option('RWANDA - Mobile',0.348);
	options[335] = new Option('SAN MARINO',0.21);
	options[336] = new Option('SAN MARINO - Mobile',0.308);
	options[337] = new Option('SAO TOME & PRINCIPE',0.988);
	options[338] = new Option('SAO TOME & PRINCIPE - Mobile',0.988);
	options[339] = new Option('SAUDI ARABIA',0.085);
	options[340] = new Option('SAUDI ARABIA - Mobile',0.121);
	options[341] = new Option('SENEGAL',0.348);
	options[342] = new Option('SENEGAL - Mobile',0.348);
	options[343] = new Option('SERBIA',0.21);
	options[344] = new Option('SERBIA - Mobile',0.308);
	options[345] = new Option('SEYCHELLES',0.348);
	options[346] = new Option('SEYCHELLES - Mobile',0.348);
	options[347] = new Option('SIERRA LEONE',0.348);
	options[348] = new Option('SIERRA LEONE - Mobile',0.348);
	options[349] = new Option('SINGAPORE',0.029);
	options[350] = new Option('SINGAPORE - Mobile',0.039);
	options[351] = new Option('SLOVAKIA',0.21);
	options[352] = new Option('SLOVAKIA - Mobile',0.308);
	options[353] = new Option('SLOVENIA',0.21);
	options[354] = new Option('SLOVENIA - Mobile',0.308);
	options[355] = new Option('SOLOMON ISLANDS',0.988);
	options[356] = new Option('SOLOMON ISLANDS - Mobile',0.988);
	options[357] = new Option('SOMALIA',0.988);
	options[358] = new Option('SOMALIA - Mobile',0.988);
	options[359] = new Option('SOUTH AFRICA',0.057);
	options[360] = new Option('SOUTH AFRICA - Mobile',0.142);
	options[361] = new Option('SOUTH KOREA',0.045);
	options[362] = new Option('SOUTH KOREA - Mobile',0.053);
	options[363] = new Option('SPAIN',0.029);
	options[364] = new Option('SPAIN - Mobile',0.109);
	options[365] = new Option('SRI LANKA',0.129);
	options[366] = new Option('SRI LANKA - Mobile',0.109);
	options[367] = new Option('ST. HELENA',0.988);
	options[368] = new Option('ST. HELENA - Mobile',0.988);
	options[369] = new Option('ST. KITTS & NEVIS',0.298);
	options[370] = new Option('ST. KITTS & NEVIS - Mobile',0.298);
	options[371] = new Option('ST. LUCIA',0.298);
	options[372] = new Option('ST. LUCIA - Mobile',0.298);
	options[373] = new Option('ST. PIERRE & MIQUELON',0.154);
	options[374] = new Option('ST. PIERRE & MIQUELON - Mobile',0.154);
	options[375] = new Option('ST. VINCENT',0.298);
	options[376] = new Option('ST. VINCENT - Mobile',0.298);
	options[377] = new Option('SUDAN',0.154);
	options[378] = new Option('SUDAN - Mobile',0.157);
	options[379] = new Option('SURINAME',0.298);
	options[380] = new Option('SURINAME - Mobile',0.298);
	options[381] = new Option('SWAZILAND',0.348);
	options[382] = new Option('SWAZILAND - Mobile',0.348);
	options[383] = new Option('SWEDEN',0.039);
	options[384] = new Option('SWEDEN - Mobile',0.077);
	options[385] = new Option('SWITZERLAND',0.029);
	options[386] = new Option('SWITZERLAND - Mobile',0.199);
	options[387] = new Option('SYRIA',0.205);
	options[388] = new Option('SYRIA - Mobile',0.205);
	options[389] = new Option('TAIWAN',0.041);
	options[390] = new Option('TAIWAN - Mobile',0.088);
	options[391] = new Option('TAJIKISTAN',0.107);
	options[392] = new Option('TAJIKISTAN - Mobile',0.107);
	options[393] = new Option('TANZANIA',0.095);
	options[394] = new Option('TANZANIA - Mobile',0.098);
	options[395] = new Option('THAILAND',0.056);
	options[396] = new Option('THAILAND - Mobile',0.044);
	options[397] = new Option('TOGO',0.316);
	options[398] = new Option('TOGO - Mobile',0.318);
	options[399] = new Option('TONGA',0.334);
	options[400] = new Option('TONGA - Mobile',0.334);
	options[401] = new Option('TRINIDAD & TOBAGO',0.298);
	options[402] = new Option('TRINIDAD & TOBAGO - Mobile',0.298);
	options[403] = new Option('TUNISIA',0.348);
	options[404] = new Option('TUNISIA - Mobile',0.348);
	options[405] = new Option('TURKEY',0.065);
	options[406] = new Option('TURKEY - Mobile',0.466);
	options[407] = new Option('TURKMENISTAN',0.107);
	options[408] = new Option('TURKMENISTAN - Mobile',0.107);
	options[409] = new Option('TURKS & CAICOS',0.298);
	options[410] = new Option('TURKS & CAICOS - Mobile',0.298);
	options[411] = new Option('U.S. VIRGIN ISLANDS',0.298);
	options[412] = new Option('UAE',0.137);
	options[413] = new Option('UAE - Mobile',0.137);
	options[414] = new Option('UGANDA',0.104);
	options[415] = new Option('UGANDA - Mobile',0.121);
	options[416] = new Option('UKRAINE',0.21);
	options[417] = new Option('UKRAINE - Mobile',0.308);
	options[418] = new Option('URUGUAY',0.298);
	options[419] = new Option('URUGUAY - Mobile',0.298);
	options[420] = new Option('USA',0.029);
	options[421] = new Option('USA - Mobile',0.029);
	options[422] = new Option('UZBEKISTAN',0.107);
	options[423] = new Option('UZBEKISTAN - Mobile',0.107);
	options[424] = new Option('VANUATU',0.988);
	options[425] = new Option('VANUATU - Mobile',0.988);
	options[426] = new Option('VENEZUELA',0.298);
	options[427] = new Option('VENEZUELA - Mobile',0.298);
	options[428] = new Option('VIETNAM',0.107);
	options[429] = new Option('VIETNAM - Mobile',0.107);
	options[430] = new Option('WALLIS & FUTUNA',0.988);
	options[431] = new Option('YEMEN (ARAB REPUBLIC)',0.205);
	options[432] = new Option('YEMEN (ARAB REPUBLIC) - Mobile',0.205);
	options[433] = new Option('ZAMBIA',0.055);
	options[434] = new Option('ZAMBIA - Mobile',0.12);
	options[435] = new Option('ZIMBABWE',0.074);
	options[436] = new Option('ZIMBABWE - Mobile',0.375);
	return options;
}



