<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>World Flag Quiz - RJM Programming - November, 2017</title>
<style>
td { width: 12%; height: 25%; border: 1px solid red; text-align: center; font-size: 40px; }

.f0:before { content: '\01F370' }
.f1:before { content: '\01f371' }
.f2:before { content: '\01f358' }
.f3:before { content: '\01f359' }
.f4:before { content: '\01f35a' }
.f5:before { content: '\01f35b' }
.f6:before { content: '\01f35c' }
.f7:before { content: '\01f35d' }
.f8:before { content: '\01f360' }
.f9:before { content: '\01f362' }
.f10:before { content: '\01f363' }
.f11:before { content: '\01f364' }
.f12:before { content: '\01f365' }
.f13:before { content: '\01f361' }
.f14:before { content: '\01F366' }
.f15:before { content: '\01F367' }
.f16:before { content: '\01F368' }
.f17:before { content: '\01F369' }
.f18:before { content: '\01F36A' }
.f19:before { content: '\01F382' }

.tlcorner {
-webkit-border-top-left-radius: 30%;
-moz-border-top-left-radius: 30%;
border-top-left-radius: 30%;
border-bottom: solid 1px yellow;
}
.blcorner {
-webkit-border-bottom-left-radius: 30%;
-moz-border-bottom-left-radius: 30%;
border-bottom-left-radius: 30%;
border-top: solid 1px yellow;
}
.trcorner {
-webkit-border-top-right-radius: 30%;
-moz-border-top-right-radius: 30%;
border-top-right-radius: 30%;
border-bottom: solid 1px yellow;
}
.brcorner {
-webkit-border-bottom-right-radius: 30%;
-moz-border-bottom-right-radius: 30%;
border-bottom-right-radius: 30%;
border-top: solid 1px yellow;
}


.xtlcorner {
-webkit-border-top-left-radius: 15%;
-moz-border-top-left-radius: 15%;
border-top-left-radius: 15%;
}
.xblcorner {
-webkit-border-bottom-left-radius: 15%;
-moz-border-bottom-left-radius: 15%;
border-bottom-left-radius: 15%;
}
.xtrcorner {
-webkit-border-top-right-radius: 15%;
-moz-border-top-right-radius: 15%;
border-top-right-radius: 15%;
}
.xbrcorner {
-webkit-border-bottom-right-radius: 15%;
-moz-border-bottom-right-radius: 15%;
border-bottom-right-radius: 15%;
}



//1674 U+1F371 ๐Ÿฑ ๐Ÿฑ ๐Ÿฑ ๐Ÿฑ ๐Ÿฑ ๐Ÿฑ ๐Ÿฑ ๐Ÿฑ ๐Ÿฑ ๐Ÿฑ โ€” ๐Ÿฑ bento box
//1675 U+1F358 ๐Ÿ˜ ๐Ÿ˜ ๐Ÿ˜ ๐Ÿ˜ ๐Ÿ˜ ๐Ÿ˜ ๐Ÿ˜ ๐Ÿ˜ ๐Ÿ˜ ๐Ÿ˜ โ€” ๐Ÿ˜ rice cracker
//1676 U+1F359 ๐Ÿ™ ๐Ÿ™ ๐Ÿ™ ๐Ÿ™ ๐Ÿ™ ๐Ÿ™ ๐Ÿ™ ๐Ÿ™ ๐Ÿ™ ๐Ÿ™ ๐Ÿ™ ๐Ÿ™ rice ball
//1677 U+1F35A ๐Ÿš ๐Ÿš ๐Ÿš ๐Ÿš ๐Ÿš ๐Ÿš ๐Ÿš ๐Ÿš ๐Ÿš ๐Ÿš โ€” ๐Ÿš cooked rice
//1678 U+1F35B ๐Ÿ› ๐Ÿ› ๐Ÿ› ๐Ÿ› ๐Ÿ› ๐Ÿ› ๐Ÿ› ๐Ÿ› ๐Ÿ› ๐Ÿ› โ€” ๐Ÿ› curry rice
//1679 U+1F35C ๐Ÿœ ๐Ÿœ ๐Ÿœ ๐Ÿœ ๐Ÿœ ๐Ÿœ ๐Ÿœ ๐Ÿœ ๐Ÿœ ๐Ÿœ ๐Ÿœ ๐Ÿœ steaming bowl
//1680 U+1F35D ๐Ÿ ๐Ÿ ๐Ÿ ๐Ÿ ๐Ÿ ๐Ÿ ๐Ÿ ๐Ÿ ๐Ÿ ๐Ÿ โ€” ๐Ÿ spaghetti
//1681 U+1F360 ๐Ÿ  ๐Ÿ  ๐Ÿ  ๐Ÿ  ๐Ÿ  ๐Ÿ  ๐Ÿ  ๐Ÿ  ๐Ÿ  โ€” โ€” ๐Ÿ  roasted sweet potato
//1682 U+1F362 ๐Ÿข ๐Ÿข ๐Ÿข ๐Ÿข ๐Ÿข ๐Ÿข ๐Ÿข ๐Ÿข ๐Ÿข ๐Ÿข โ€” ๐Ÿข oden
//1683 U+1F363 ๐Ÿฃ ๐Ÿฃ ๐Ÿฃ ๐Ÿฃ ๐Ÿฃ ๐Ÿฃ ๐Ÿฃ ๐Ÿฃ ๐Ÿฃ ๐Ÿฃ โ€” ๐Ÿฃ sushi
//1684 U+1F364 ๐Ÿค ๐Ÿค ๐Ÿค ๐Ÿค ๐Ÿค ๐Ÿค ๐Ÿค ๐Ÿค ๐Ÿค โ€” โ€” ๐Ÿค fried shrimp
//1685 U+1F365 ๐Ÿฅ ๐Ÿฅ ๐Ÿฅ ๐Ÿฅ ๐Ÿฅ ๐Ÿฅ ๐Ÿฅ ๐Ÿฅ ๐Ÿฅ โ€” โ€” ๐Ÿฅ fish cake with swirl
//1686 U+1F361 ๐Ÿก ๐Ÿก ๐Ÿก ๐Ÿก ๐Ÿก ๐Ÿก ๐Ÿก ๐Ÿก ๐Ÿก ๐Ÿก โ€” ๐Ÿก dango
//1687 U+1F95F ๐ŸฅŸ ๐ŸฅŸ ๐ŸฅŸ ๐ŸฅŸ ๐ŸฅŸ ๐ŸฅŸ โ€” ๐ŸฅŸ โ€” โ€” โ€” โ€” โŠ› dumpling
//1688 U+1F960 ๐Ÿฅ  ๐Ÿฅ  ๐Ÿฅ  ๐Ÿฅ  ๐Ÿฅ  ๐Ÿฅ  โ€” ๐Ÿฅ  โ€” โ€” โ€” โ€” โŠ› fortune cookie
//1689 U+1F961
//1690 U+1F366 ๐Ÿฆ ๐Ÿฆ ๐Ÿฆ ๐Ÿฆ ๐Ÿฆ ๐Ÿฆ ๐Ÿฆ ๐Ÿฆ ๐Ÿฆ ๐Ÿฆ โ€” ๐Ÿฆ soft ice cream
//1691 U+1F367 ๐Ÿง ๐Ÿง ๐Ÿง ๐Ÿง ๐Ÿง ๐Ÿง ๐Ÿง ๐Ÿง ๐Ÿง ๐Ÿง โ€” ๐Ÿง shaved ice
//1692 U+1F368 ๐Ÿจ ๐Ÿจ ๐Ÿจ ๐Ÿจ ๐Ÿจ ๐Ÿจ ๐Ÿจ ๐Ÿจ ๐Ÿจ โ€” โ€” ๐Ÿจ ice cream
//1693 U+1F369 ๐Ÿฉ ๐Ÿฉ ๐Ÿฉ ๐Ÿฉ ๐Ÿฉ ๐Ÿฉ ๐Ÿฉ ๐Ÿฉ ๐Ÿฉ โ€” โ€” ๐Ÿฉ doughnut
//1694 U+1F36A ๐Ÿช ๐Ÿช ๐Ÿช ๐Ÿช ๐Ÿช ๐Ÿช ๐Ÿช ๐Ÿช ๐Ÿช โ€” โ€” ๐Ÿช cookie
//1695 U+1F382 ๐ŸŽ‚ ๐ŸŽ‚ ๐ŸŽ‚ ๐ŸŽ‚ ๐ŸŽ‚ ๐ŸŽ‚ ๐ŸŽ‚ ๐ŸŽ‚ ๐ŸŽ‚ ๐ŸŽ‚ ๐ŸŽ‚ ๐ŸŽ‚ birthday cake
//1696 U+1F370 ๐Ÿฐ ๐Ÿฐ ๐Ÿฐ ๐Ÿฐ ๐Ÿฐ ๐Ÿฐ ๐Ÿฐ ๐Ÿฐ ๐Ÿฐ ๐Ÿฐ ๐Ÿฐ ๐Ÿฐ shortcake

</style>

<script type='text/javascript'>
//var countrynames=['Andorra','United Arab Emirates','Afghanistan','Antigua and Barbuda','Anguilla','Albania','Armenia','Angola','Antarctica','Argentina','American Samoa','Austria','Australia','Aruba','ร…land Islands','Azerbaijan','Bosnia and Herzegovina','Barbados','Bangladesh','Belgium','Burkina Faso','Bulgaria','Bahrain','Burundi','Benin','St. Barthรฉlemy','Bermuda','Brunei','Bolivia','Caribbean Netherlands','Brazil','Bahamas','Bhutan','Bouvet Island','Botswana','Belarus','Belize','Canada','Cocos (Keeling) Islands','Congo - Kinshasa','Central African Republic','Congo - Brazzaville','Switzerland','Cรดte dโ€™Ivoire','Cook Islands','Chile','Cameroon','China','Colombia','Clipperton Island','Costa Rica','Cuba','Cape Verde','Curaรงao','Christmas Island','Cyprus','Czechia','Germany','Diego Garcia','Djibouti','Denmark','Dominica','Dominican Republic','Algeria','Ceuta and Melilla','Ecuador','Estonia','Egypt','Western Sahara','Eritrea','Spain','Ethiopia','European Union','Finland','Fiji','Falkland Islands','Micronesia','Faroe Islands','France','Gabon','United Kingdom','Grenada','Georgia','French Guiana','Guernsey','Ghana','Gibraltar','Greenland','Gambia','Guinea','Guadeloupe','Equatorial Guinea','Greece','South Georgia and South Sandwich Islands','Guatemala','Guam','Guinea-Bissau','Guyana','Hong Kong SAR China','Heard and McDonald Islands','Honduras','Croatia','Haiti','Hungary','Canary Islands','Indonesia','Ireland','Israel','Isle of Man','India','British Indian Ocean Territory','Iraq','Iran','Iceland','Italy','Jersey','Jamaica','Jordan','Japan','Kenya','Kyrgyzstan','Cambodia','Kiribati','Comoros','St. Kitts and Nevis','North Korea','South Korea','Kuwait','Cayman Islands','Kazakhstan','Laos','Lebanon','St. Lucia','Liechtenstein','Sri Lanka','Liberia','Lesotho','Lithuania','Luxembourg','Latvia','Libya','Morocco','Monaco','Moldova','Montenegro','St. Martin','Madagascar','Marshall Islands','Macedonia','Mali','Myanmar (Burma)','Mongolia','Macau SAR China','Northern Mariana Islands','Martinique','Mauritania','Montserrat','Malta','Mauritius','Maldives','Malawi','Mexico','Malaysia','Mozambique','Namibia','New Caledonia','Niger','Norfolk Island','Nigeria','Nicaragua','Netherlands','Norway','Nepal','Nauru','Niue','New Zealand','Oman','Panama','Peru','French Polynesia','Papua New Guinea','Philippines','Pakistan','Poland','St. Pierre and Miquelon','Pitcairn Islands','Puerto Rico','Palestinian Territories','Portugal','Palau','Paraguay','Qatar','Rรฉunion','Romania','Serbia','Russia','Rwanda','Saudi Arabia','Solomon Islands','Seychelles','Sudan','Sweden','Singapore','St. Helena','Slovenia','Svalbard and Jan Mayen','Slovakia','Sierra Leone','San Marino','Senegal','Somalia','Suriname','South Sudan','Sรฃo Tomรฉ and Prรญncipe','El Salvador','Sint Maarten','Syria','Swaziland','Tristan da Cunha','Turks and Caicos Islands','Chad','French Southern Territories','Togo','Thailand','Tajikistan','Tokelau','Timor-Leste','Turkmenistan','Tunisia','Tonga','Turkey','Trinidad and Tobago','Tuvalu','Taiwan','Tanzania','Ukraine','Uganda','U.S. Outlying Islands','United Nations','United States','Uruguay','Uzbekistan','Vatican City','St. Vincent and Grenadines','Venezuela','British Virgin Islands','U.S. Virgin Islands','Vietnam','Vanuatu','Wallis and Futuna','Samoa','Kosovo','Yemen','Mayotte','South Africa','Zambia','Zimbabwe'];
//var contentbits=[' 01F1E6 01F1E9',' 01F1E6 01F1EA',' 01F1E6 01F1EB',' 01F1E6 01F1EC',' 01F1E6 01F1EE',' 01F1E6 01F1F1',' 01F1E6 01F1F2',' 01F1E6 01F1F4',' 01F1E6 01F1F6',' 01F1E6 01F1F7',' 01F1E6 01F1F8',' 01F1E6 01F1F9',' 01F1E6 01F1FA',' 01F1E6 01F1FC',' 01F1E6 01F1FD',' 01F1E6 01F1FF',' 01F1E7 01F1E6',' 01F1E7 01F1E7',' 01F1E7 01F1E9','',' 01F1E7 01F1EB',' 01F1E7 01F1EC',' 01F1E7 01F1ED',' 01F1E7 01F1EE',' 01F1E7 01F1EF',' 01F1E7 01F1F1',' 01F1E7 01F1F2',' 01F1E7 01F1F3',' 01F1E7 01F1F4',' 01F1E7 01F1F6',' 01F1E7 01F1F7',' 01F1E7 01F1F8',' 01F1E7 01F1F9',' 01F1E7 01F1FB',' 01F1E7 01F1FC',' 01F1E7 01F1FE',' 01F1E7 01F1FF',' 01F1E8 01F1E6',' 01F1E8 01F1E8','',' 01F1E8 01F1EB',' 01F1E8 01F1EC',' 01F1E8 01F1ED',' 01F1E8 01F1EE',' 01F1E8 01F1F0',' 01F1E8 01F1F1',' 01F1E8 01F1F2',' 01F1E8 01F1F3',' 01F1E8 01F1F4',' 01F1E8 01F1F5',' 01F1E8 01F1F7',' 01F1E8 01F1FA',' 01F1E8 01F1FB',' 01F1E8 01F1FC',' 01F1E8 01F1FD',' 01F1E8 01F1FE',' 01F1E8 01F1FF',' 01F1E9 01F1EA',' 01F1E9 01F1EC','',' 01F1E9 01F1F0',' 01F1E9 01F1F2',' 01F1E9 01F1F4',' 01F1E9 01F1FF',' 01F1EA 01F1E6',' 01F1EA 01F1E8',' 01F1EA 01F1EA',' 01F1EA 01F1EC',' 01F1EA 01F1ED',' 01F1EA 01F1F7',' 01F1EA 01F1F8',' 01F1EA 01F1F9',' 01F1EA 01F1FA',' 01F1EB 01F1EE',' 01F1EB 01F1EF',' 01F1EB 01F1F0',' 01F1EB 01F1F2',' 01F1EB 01F1F4',' 01F1EB 01F1F7','',' 01F1EC 01F1E7',' 01F1EC 01F1E9',' 01F1EC 01F1EA',' 01F1EC 01F1EB',' 01F1EC 01F1EC',' 01F1EC 01F1ED',' 01F1EC 01F1EE',' 01F1EC 01F1F1',' 01F1EC 01F1F2',' 01F1EC 01F1F3',' 01F1EC 01F1F5',' 01F1EC 01F1F6',' 01F1EC 01F1F7',' 01F1EC 01F1F8',' 01F1EC 01F1F9',' 01F1EC 01F1FA',' 01F1EC 01F1FC',' 01F1EC 01F1FE',' 01F1ED 01F1F0','',' 01F1ED 01F1F3',' 01F1ED 01F1F7',' 01F1ED 01F1F9',' 01F1ED 01F1FA',' 01F1EE 01F1E8',' 01F1EE 01F1E9',' 01F1EE 01F1EA',' 01F1EE 01F1F1',' 01F1EE 01F1F2',' 01F1EE 01F1F3',' 01F1EE 01F1F4',' 01F1EE 01F1F6',' 01F1EE 01F1F7',' 01F1EE 01F1F8',' 01F1EE 01F1F9',' 01F1EF 01F1EA',' 01F1EF 01F1F2',' 01F1EF 01F1F4',' 01F1EF 01F1F5','',' 01F1F0 01F1EC',' 01F1F0 01F1ED',' 01F1F0 01F1EE',' 01F1F0 01F1F2',' 01F1F0 01F1F3',' 01F1F0 01F1F5',' 01F1F0 01F1F7',' 01F1F0 01F1FC',' 01F1F0 01F1FE',' 01F1F0 01F1FF',' 01F1F1 01F1E6',' 01F1F1 01F1E7',' 01F1F1 01F1E8',' 01F1F1 01F1EE',' 01F1F1 01F1F0',' 01F1F1 01F1F7',' 01F1F1 01F1F8',' 01F1F1 01F1F9',' 01F1F1 01F1FA','',' 01F1F1 01F1FE',' 01F1F2 01F1E6',' 01F1F2 01F1E8',' 01F1F2 01F1E9',' 01F1F2 01F1EA',' 01F1F2 01F1EB',' 01F1F2 01F1EC',' 01F1F2 01F1ED',' 01F1F2 01F1F0',' 01F1F2 01F1F1',' 01F1F2 01F1F2',' 01F1F2 01F1F3',' 01F1F2 01F1F4',' 01F1F2 01F1F5',' 01F1F2 01F1F6',' 01F1F2 01F1F7',' 01F1F2 01F1F8',' 01F1F2 01F1F9',' 01F1F2 01F1FA','',' 01F1F2 01F1FC',' 01F1F2 01F1FD',' 01F1F2 01F1FE',' 01F1F2 01F1FF',' 01F1F3 01F1E6',' 01F1F3 01F1E8',' 01F1F3 01F1EA',' 01F1F3 01F1EB',' 01F1F3 01F1EC',' 01F1F3 01F1EE',' 01F1F3 01F1F1',' 01F1F3 01F1F4',' 01F1F3 01F1F5',' 01F1F3 01F1F7',' 01F1F3 01F1FA',' 01F1F3 01F1FF',' 01F1F4 01F1F2',' 01F1F5 01F1E6',' 01F1F5 01F1EA','',' 01F1F5 01F1EC',' 01F1F5 01F1ED',' 01F1F5 01F1F0',' 01F1F5 01F1F1',' 01F1F5 01F1F2',' 01F1F5 01F1F3',' 01F1F5 01F1F7',' 01F1F5 01F1F8',' 01F1F5 01F1F9',' 01F1F5 01F1FC',' 01F1F5 01F1FE',' 01F1F6 01F1E6',' 01F1F7 01F1EA',' 01F1F7 01F1F4',' 01F1F7 01F1F8',' 01F1F7 01F1FA',' 01F1F7 01F1FC',' 01F1F8 01F1E6',' 01F1F8 01F1E7','',' 01F1F8 01F1E9',' 01F1F8 01F1EA',' 01F1F8 01F1EC',' 01F1F8 01F1ED',' 01F1F8 01F1EE',' 01F1F8 01F1EF',' 01F1F8 01F1F0',' 01F1F8 01F1F1',' 01F1F8 01F1F2',' 01F1F8 01F1F3',' 01F1F8 01F1F4',' 01F1F8 01F1F7',' 01F1F8 01F1F8',' 01F1F8 01F1F9',' 01F1F8 01F1FB',' 01F1F8 01F1FD',' 01F1F8 01F1FE',' 01F1F8 01F1FF',' 01F1F9 01F1E6','',' 01F1F9 01F1E9',' 01F1F9 01F1EB',' 01F1F9 01F1EC',' 01F1F9 01F1ED',' 01F1F9 01F1EF',' 01F1F9 01F1F0',' 01F1F9 01F1F1',' 01F1F9 01F1F2',' 01F1F9 01F1F3',' 01F1F9 01F1F4',' 01F1F9 01F1F7',' 01F1F9 01F1F9',' 01F1F9 01F1FB',' 01F1F9 01F1FC',' 01F1F9 01F1FF',' 01F1FA 01F1E6',' 01F1FA 01F1EC',' 01F1FA 01F1F2',' 01F1FA 01F1F3','',' 01F1FA 01F1FE',' 01F1FA 01F1FF',' 01F1FB 01F1E6',' 01F1FB 01F1E8',' 01F1FB 01F1EA',' 01F1FB 01F1EC',' 01F1FB 01F1EE',' 01F1FB 01F1F3',' 01F1FB 01F1FA',' 01F1FC 01F1EB',' 01F1FC 01F1F8',' 01F1FD 01F1F0',' 01F1FE 01F1EA',' 01F1FE 01F1F9',' 01F1FF 01F1E6',' 01F1FF 01F1F2',' 01F1FF 01F1FC'];
var animated=location.search.split('animated=')[1] ? true : false;
var foods=[], ifood=0;
var huh=[0,1,2,3,4,5,6,7,9,11,19,18,17,16,15,14,13,12,10,8];
var huhx=[0,1,2,3,4,5,6,7,10,12,20,19,18,17,16,15,14,13,11,8];
var back=[];
var scores=[(location.search.split('score1=')[1] ? eval(location.search.split('score1=')[1].split('&')[0]) : 0),(location.search.split('score2=')[1] ? eval(location.search.split('score2=')[1].split('&')[0]) : 0),(location.search.split('score3=')[1] ? eval(location.search.split('score3=')[1].split('&')[0]) : 0),(location.search.split('score4=')[1] ? eval(location.search.split('score4=')[1].split('&')[0]) : 0)];
var goes=[(location.search.split('goes1=')[1] ? eval(location.search.split('goes1=')[1].split('&')[0]) : 0),(location.search.split('goes2=')[1] ? eval(location.search.split('goes2=')[1].split('&')[0]) : 0),(location.search.split('goes3=')[1] ? eval(location.search.split('goes3=')[1].split('&')[0]) : 0),(location.search.split('goes4=')[1] ? eval(location.search.split('goes4=')[1].split('&')[0]) : 0)];
var times=[0,0,0,0];
var thisplayer=0;
var menu=['shortcake;5.00','bento box;8.00','rice cracker;0.80','rice ball;1.20','cooked rice;2.50','curry rice;3.00','steaming bowl;4.00','spaghetti;6.00','roasted sweet potato;0.80','oden;2.70','sushi;2.00','fried shrimp;2.10','fish cake with swirl;0.60','dango;2.85','soft ice cream;0.55','shaved ice;0.30','ice cream;0.90','doughnut;0.58','cookie;0.35','birthday cake;3.40'];
var menutwo=['shortcake;5.00','bento box;8.00','rice cracker;0.80','rice ball;1.20','cooked rice;2.50','curry rice;3.00','steaming bowl;4.00','spaghetti;6.00','roasted sweet potato;0.80','oden;2.70','sushi;2.00','fried shrimp;2.10','fish cake with swirl;0.60','dango;2.85','soft ice cream;0.55','shaved ice;0.30','ice cream;0.90','doughnut;0.58','cookie;0.35','birthday cake;3.40'];
var lasturl=["","","",""];
var leftopacity='0.6', rightopacity='0.4';
var lastscnt=[1,1,1,1],ii=0;
var twothousand=location.search.split('twothousand=')[1] ? eval(location.search.split('twothousand=')[1].split('&')[0]) : 2000;
var six=location.search.split('six=')[1] ? eval(location.search.split('six=')[1].split('&')[0]) : 6;
var flag=location.search.split('subject=')[1] ? decodeURIComponent(location.search.split('subject=')[1].split('&')[0]) : 'flag';

var tids=['t11','t12','t13','t14','t15','t16','t17','t18','t28','t38','t48','t47','t46','t45','t44','t43','t42','t41','t31','t21'];
var tgsps=[], tgspsop=[], tgspsopwhat=[];
var flagsuffix='';

var countrynames=['Andorra','United Arab Emirates','Afghanistan','Antigua and Barbuda','Anguilla','Albania','Armenia','Angola','Antarctica','Argentina','American Samoa','Austria','Australia','Aruba','ร…land Islands','Azerbaijan','Bosnia and Herzegovina','Barbados','Bangladesh','Belgium','Burkina Faso','Bulgaria','Bahrain','Burundi','Benin','St. Barthรฉlemy','Bermuda','Brunei','Bolivia','Caribbean Netherlands','Brazil','Bahamas','Bhutan','Bouvet Island','Botswana','Belarus','Belize','Canada','Cocos (Keeling) Islands','Congo - Kinshasa','Central African Republic','Congo - Brazzaville','Switzerland','Cรดte dโ€™Ivoire','Cook Islands','Chile','Cameroon','China','Colombia','Clipperton Island','Costa Rica','Cuba','Cape Verde','Curaรงao','Christmas Island','Cyprus','Czechia','Germany','Diego Garcia','Djibouti','Denmark','Dominica','Dominican Republic','Algeria','Ceuta and Melilla','Ecuador','Estonia','Egypt','Western Sahara','Eritrea','Spain','Ethiopia','European Union','Finland','Fiji','Falkland Islands','Micronesia','Faroe Islands','France','Gabon','United Kingdom','Grenada','Georgia','French Guiana','Guernsey','Ghana','Gibraltar','Greenland','Gambia','Guinea','Guadeloupe','Equatorial Guinea','Greece','South Georgia and South Sandwich Islands','Guatemala','Guam','Guinea-Bissau','Guyana','Hong Kong SAR China','Heard and McDonald Islands','Honduras','Croatia','Haiti','Hungary','Canary Islands','Indonesia','Ireland','Israel','Isle of Man','India','British Indian Ocean Territory','Iraq','Iran','Iceland','Italy','Jersey','Jamaica','Jordan','Japan','Kenya','Kyrgyzstan','Cambodia','Kiribati','Comoros','St. Kitts and Nevis','North Korea','South Korea','Kuwait','Cayman Islands','Kazakhstan','Laos','Lebanon','St. Lucia','Liechtenstein','Sri Lanka','Liberia','Lesotho','Lithuania','Luxembourg','Latvia','Libya','Morocco','Monaco','Moldova','Montenegro','St. Martin','Madagascar','Marshall Islands','Macedonia','Mali','Myanmar (Burma)','Mongolia','Macau SAR China','Northern Mariana Islands','Martinique','Mauritania','Montserrat','Malta','Mauritius','Maldives','Malawi','Mexico','Malaysia','Mozambique','Namibia','New Caledonia','Niger','Norfolk Island','Nigeria','Nicaragua','Netherlands','Norway','Nepal','Nauru','Niue','New Zealand','Oman','Panama','Peru','French Polynesia','Papua New Guinea','Philippines','Pakistan','Poland','St. Pierre and Miquelon','Pitcairn Islands','Puerto Rico','Palestinian Territories','Portugal','Palau','Paraguay','Qatar','Rรฉunion','Romania','Serbia','Russia','Rwanda','Saudi Arabia','Solomon Islands','Seychelles','Sudan','Sweden','Singapore','St. Helena','Slovenia','Svalbard and Jan Mayen','Slovakia','Sierra Leone','San Marino','Senegal','Somalia','Suriname','South Sudan','Sรฃo Tomรฉ and Prรญncipe','El Salvador','Sint Maarten','Syria','Swaziland','Tristan da Cunha','Turks and Caicos Islands','Chad','French Southern Territories','Togo','Thailand','Tajikistan','Tokelau','Timor-Leste','Turkmenistan','Tunisia','Tonga','Turkey','Trinidad and Tobago','Tuvalu','Taiwan','Tanzania','Ukraine','Uganda','U.S. Outlying Islands','United Nations','United States','Uruguay','Uzbekistan','Vatican City','St. Vincent and Grenadines','Venezuela','British Virgin Islands','U.S. Virgin Islands','Vietnam','Vanuatu','Wallis and Futuna','Samoa','Kosovo','Yemen','Mayotte','South Africa','Zambia','Zimbabwe'];
var contentbits=[' 01F1E6 01F1E9',' 01F1E6 01F1EA',' 01F1E6 01F1EB',' 01F1E6 01F1EC',' 01F1E6 01F1EE',' 01F1E6 01F1F1',' 01F1E6 01F1F2',' 01F1E6 01F1F4',' 01F1E6 01F1F6',' 01F1E6 01F1F7',' 01F1E6 01F1F8',' 01F1E6 01F1F9',' 01F1E6 01F1FA',' 01F1E6 01F1FC',' 01F1E6 01F1FD',' 01F1E6 01F1FF',' 01F1E7 01F1E6',' 01F1E7 01F1E7',' 01F1E7 01F1E9','',' 01F1E7 01F1EB',' 01F1E7 01F1EC',' 01F1E7 01F1ED',' 01F1E7 01F1EE',' 01F1E7 01F1EF',' 01F1E7 01F1F1',' 01F1E7 01F1F2',' 01F1E7 01F1F3',' 01F1E7 01F1F4',' 01F1E7 01F1F6',' 01F1E7 01F1F7',' 01F1E7 01F1F8',' 01F1E7 01F1F9',' 01F1E7 01F1FB',' 01F1E7 01F1FC',' 01F1E7 01F1FE',' 01F1E7 01F1FF',' 01F1E8 01F1E6',' 01F1E8 01F1E8','',' 01F1E8 01F1EB',' 01F1E8 01F1EC',' 01F1E8 01F1ED',' 01F1E8 01F1EE',' 01F1E8 01F1F0',' 01F1E8 01F1F1',' 01F1E8 01F1F2',' 01F1E8 01F1F3',' 01F1E8 01F1F4',' 01F1E8 01F1F5',' 01F1E8 01F1F7',' 01F1E8 01F1FA',' 01F1E8 01F1FB',' 01F1E8 01F1FC',' 01F1E8 01F1FD',' 01F1E8 01F1FE',' 01F1E8 01F1FF',' 01F1E9 01F1EA',' 01F1E9 01F1EC','',' 01F1E9 01F1F0',' 01F1E9 01F1F2',' 01F1E9 01F1F4',' 01F1E9 01F1FF',' 01F1EA 01F1E6',' 01F1EA 01F1E8',' 01F1EA 01F1EA',' 01F1EA 01F1EC',' 01F1EA 01F1ED',' 01F1EA 01F1F7',' 01F1EA 01F1F8',' 01F1EA 01F1F9',' 01F1EA 01F1FA',' 01F1EB 01F1EE',' 01F1EB 01F1EF',' 01F1EB 01F1F0',' 01F1EB 01F1F2',' 01F1EB 01F1F4',' 01F1EB 01F1F7','',' 01F1EC 01F1E7',' 01F1EC 01F1E9',' 01F1EC 01F1EA',' 01F1EC 01F1EB',' 01F1EC 01F1EC',' 01F1EC 01F1ED',' 01F1EC 01F1EE',' 01F1EC 01F1F1',' 01F1EC 01F1F2',' 01F1EC 01F1F3',' 01F1EC 01F1F5',' 01F1EC 01F1F6',' 01F1EC 01F1F7',' 01F1EC 01F1F8',' 01F1EC 01F1F9',' 01F1EC 01F1FA',' 01F1EC 01F1FC',' 01F1EC 01F1FE',' 01F1ED 01F1F0','',' 01F1ED 01F1F3',' 01F1ED 01F1F7',' 01F1ED 01F1F9',' 01F1ED 01F1FA',' 01F1EE 01F1E8',' 01F1EE 01F1E9',' 01F1EE 01F1EA',' 01F1EE 01F1F1',' 01F1EE 01F1F2',' 01F1EE 01F1F3',' 01F1EE 01F1F4',' 01F1EE 01F1F6',' 01F1EE 01F1F7',' 01F1EE 01F1F8',' 01F1EE 01F1F9',' 01F1EF 01F1EA',' 01F1EF 01F1F2',' 01F1EF 01F1F4',' 01F1EF 01F1F5','',' 01F1F0 01F1EC',' 01F1F0 01F1ED',' 01F1F0 01F1EE',' 01F1F0 01F1F2',' 01F1F0 01F1F3',' 01F1F0 01F1F5',' 01F1F0 01F1F7',' 01F1F0 01F1FC',' 01F1F0 01F1FE',' 01F1F0 01F1FF',' 01F1F1 01F1E6',' 01F1F1 01F1E7',' 01F1F1 01F1E8',' 01F1F1 01F1EE',' 01F1F1 01F1F0',' 01F1F1 01F1F7',' 01F1F1 01F1F8',' 01F1F1 01F1F9',' 01F1F1 01F1FA','',' 01F1F1 01F1FE',' 01F1F2 01F1E6',' 01F1F2 01F1E8',' 01F1F2 01F1E9',' 01F1F2 01F1EA',' 01F1F2 01F1EB',' 01F1F2 01F1EC',' 01F1F2 01F1ED',' 01F1F2 01F1F0',' 01F1F2 01F1F1',' 01F1F2 01F1F2',' 01F1F2 01F1F3',' 01F1F2 01F1F4',' 01F1F2 01F1F5',' 01F1F2 01F1F6',' 01F1F2 01F1F7',' 01F1F2 01F1F8',' 01F1F2 01F1F9',' 01F1F2 01F1FA','',' 01F1F2 01F1FC',' 01F1F2 01F1FD',' 01F1F2 01F1FE',' 01F1F2 01F1FF',' 01F1F3 01F1E6',' 01F1F3 01F1E8',' 01F1F3 01F1EA',' 01F1F3 01F1EB',' 01F1F3 01F1EC',' 01F1F3 01F1EE',' 01F1F3 01F1F1',' 01F1F3 01F1F4',' 01F1F3 01F1F5',' 01F1F3 01F1F7',' 01F1F3 01F1FA',' 01F1F3 01F1FF',' 01F1F4 01F1F2',' 01F1F5 01F1E6',' 01F1F5 01F1EA','',' 01F1F5 01F1EC',' 01F1F5 01F1ED',' 01F1F5 01F1F0',' 01F1F5 01F1F1',' 01F1F5 01F1F2',' 01F1F5 01F1F3',' 01F1F5 01F1F7',' 01F1F5 01F1F8',' 01F1F5 01F1F9',' 01F1F5 01F1FC',' 01F1F5 01F1FE',' 01F1F6 01F1E6',' 01F1F7 01F1EA',' 01F1F7 01F1F4',' 01F1F7 01F1F8',' 01F1F7 01F1FA',' 01F1F7 01F1FC',' 01F1F8 01F1E6',' 01F1F8 01F1E7','',' 01F1F8 01F1E9',' 01F1F8 01F1EA',' 01F1F8 01F1EC',' 01F1F8 01F1ED',' 01F1F8 01F1EE',' 01F1F8 01F1EF',' 01F1F8 01F1F0',' 01F1F8 01F1F1',' 01F1F8 01F1F2',' 01F1F8 01F1F3',' 01F1F8 01F1F4',' 01F1F8 01F1F7',' 01F1F8 01F1F8',' 01F1F8 01F1F9',' 01F1F8 01F1FB',' 01F1F8 01F1FD',' 01F1F8 01F1FE',' 01F1F8 01F1FF',' 01F1F9 01F1E6','',' 01F1F9 01F1E9',' 01F1F9 01F1EB',' 01F1F9 01F1EC',' 01F1F9 01F1ED',' 01F1F9 01F1EF',' 01F1F9 01F1F0',' 01F1F9 01F1F1',' 01F1F9 01F1F2',' 01F1F9 01F1F3',' 01F1F9 01F1F4',' 01F1F9 01F1F7',' 01F1F9 01F1F9',' 01F1F9 01F1FB',' 01F1F9 01F1FC',' 01F1F9 01F1FF',' 01F1FA 01F1E6',' 01F1FA 01F1EC',' 01F1FA 01F1F2',' 01F1FA 01F1F3','',' 01F1FA 01F1FE',' 01F1FA 01F1FF',' 01F1FB 01F1E6',' 01F1FB 01F1E8',' 01F1FB 01F1EA',' 01F1FB 01F1EC',' 01F1FB 01F1EE',' 01F1FB 01F1F3',' 01F1FB 01F1FA',' 01F1FC 01F1EB',' 01F1FC 01F1F8',' 01F1FD 01F1F0',' 01F1FE 01F1EA',' 01F1FE 01F1F9',' 01F1FF 01F1E6',' 01F1FF 01F1F2',' 01F1FF 01F1FC'];
var countrynamestwo=['Andorra','United Arab Emirates','Afghanistan','Antigua and Barbuda','Anguilla','Albania','Armenia','Angola','Antarctica','Argentina','American Samoa','Austria','Australia','Aruba','ร…land Islands','Azerbaijan','Bosnia and Herzegovina','Barbados','Bangladesh','Belgium','Burkina Faso','Bulgaria','Bahrain','Burundi','Benin','St. Barthรฉlemy','Bermuda','Brunei','Bolivia','Caribbean Netherlands','Brazil','Bahamas','Bhutan','Bouvet Island','Botswana','Belarus','Belize','Canada','Cocos (Keeling) Islands','Congo - Kinshasa','Central African Republic','Congo - Brazzaville','Switzerland','Cรดte dโ€™Ivoire','Cook Islands','Chile','Cameroon','China','Colombia','Clipperton Island','Costa Rica','Cuba','Cape Verde','Curaรงao','Christmas Island','Cyprus','Czechia','Germany','Diego Garcia','Djibouti','Denmark','Dominica','Dominican Republic','Algeria','Ceuta and Melilla','Ecuador','Estonia','Egypt','Western Sahara','Eritrea','Spain','Ethiopia','European Union','Finland','Fiji','Falkland Islands','Micronesia','Faroe Islands','France','Gabon','United Kingdom','Grenada','Georgia','French Guiana','Guernsey','Ghana','Gibraltar','Greenland','Gambia','Guinea','Guadeloupe','Equatorial Guinea','Greece','South Georgia and South Sandwich Islands','Guatemala','Guam','Guinea-Bissau','Guyana','Hong Kong SAR China','Heard and McDonald Islands','Honduras','Croatia','Haiti','Hungary','Canary Islands','Indonesia','Ireland','Israel','Isle of Man','India','British Indian Ocean Territory','Iraq','Iran','Iceland','Italy','Jersey','Jamaica','Jordan','Japan','Kenya','Kyrgyzstan','Cambodia','Kiribati','Comoros','St. Kitts and Nevis','North Korea','South Korea','Kuwait','Cayman Islands','Kazakhstan','Laos','Lebanon','St. Lucia','Liechtenstein','Sri Lanka','Liberia','Lesotho','Lithuania','Luxembourg','Latvia','Libya','Morocco','Monaco','Moldova','Montenegro','St. Martin','Madagascar','Marshall Islands','Macedonia','Mali','Myanmar (Burma)','Mongolia','Macau SAR China','Northern Mariana Islands','Martinique','Mauritania','Montserrat','Malta','Mauritius','Maldives','Malawi','Mexico','Malaysia','Mozambique','Namibia','New Caledonia','Niger','Norfolk Island','Nigeria','Nicaragua','Netherlands','Norway','Nepal','Nauru','Niue','New Zealand','Oman','Panama','Peru','French Polynesia','Papua New Guinea','Philippines','Pakistan','Poland','St. Pierre and Miquelon','Pitcairn Islands','Puerto Rico','Palestinian Territories','Portugal','Palau','Paraguay','Qatar','Rรฉunion','Romania','Serbia','Russia','Rwanda','Saudi Arabia','Solomon Islands','Seychelles','Sudan','Sweden','Singapore','St. Helena','Slovenia','Svalbard and Jan Mayen','Slovakia','Sierra Leone','San Marino','Senegal','Somalia','Suriname','South Sudan','Sรฃo Tomรฉ and Prรญncipe','El Salvador','Sint Maarten','Syria','Swaziland','Tristan da Cunha','Turks and Caicos Islands','Chad','French Southern Territories','Togo','Thailand','Tajikistan','Tokelau','Timor-Leste','Turkmenistan','Tunisia','Tonga','Turkey','Trinidad and Tobago','Tuvalu','Taiwan','Tanzania','Ukraine','Uganda','U.S. Outlying Islands','United Nations','United States','Uruguay','Uzbekistan','Vatican City','St. Vincent and Grenadines','Venezuela','British Virgin Islands','U.S. Virgin Islands','Vietnam','Vanuatu','Wallis and Futuna','Samoa','Kosovo','Yemen','Mayotte','South Africa','Zambia','Zimbabwe'];
var contentbitstwo=[' 01F1E6 01F1E9',' 01F1E6 01F1EA',' 01F1E6 01F1EB',' 01F1E6 01F1EC',' 01F1E6 01F1EE',' 01F1E6 01F1F1',' 01F1E6 01F1F2',' 01F1E6 01F1F4',' 01F1E6 01F1F6',' 01F1E6 01F1F7',' 01F1E6 01F1F8',' 01F1E6 01F1F9',' 01F1E6 01F1FA',' 01F1E6 01F1FC',' 01F1E6 01F1FD',' 01F1E6 01F1FF',' 01F1E7 01F1E6',' 01F1E7 01F1E7',' 01F1E7 01F1E9','',' 01F1E7 01F1EB',' 01F1E7 01F1EC',' 01F1E7 01F1ED',' 01F1E7 01F1EE',' 01F1E7 01F1EF',' 01F1E7 01F1F1',' 01F1E7 01F1F2',' 01F1E7 01F1F3',' 01F1E7 01F1F4',' 01F1E7 01F1F6',' 01F1E7 01F1F7',' 01F1E7 01F1F8',' 01F1E7 01F1F9',' 01F1E7 01F1FB',' 01F1E7 01F1FC',' 01F1E7 01F1FE',' 01F1E7 01F1FF',' 01F1E8 01F1E6',' 01F1E8 01F1E8','',' 01F1E8 01F1EB',' 01F1E8 01F1EC',' 01F1E8 01F1ED',' 01F1E8 01F1EE',' 01F1E8 01F1F0',' 01F1E8 01F1F1',' 01F1E8 01F1F2',' 01F1E8 01F1F3',' 01F1E8 01F1F4',' 01F1E8 01F1F5',' 01F1E8 01F1F7',' 01F1E8 01F1FA',' 01F1E8 01F1FB',' 01F1E8 01F1FC',' 01F1E8 01F1FD',' 01F1E8 01F1FE',' 01F1E8 01F1FF',' 01F1E9 01F1EA',' 01F1E9 01F1EC','',' 01F1E9 01F1F0',' 01F1E9 01F1F2',' 01F1E9 01F1F4',' 01F1E9 01F1FF',' 01F1EA 01F1E6',' 01F1EA 01F1E8',' 01F1EA 01F1EA',' 01F1EA 01F1EC',' 01F1EA 01F1ED',' 01F1EA 01F1F7',' 01F1EA 01F1F8',' 01F1EA 01F1F9',' 01F1EA 01F1FA',' 01F1EB 01F1EE',' 01F1EB 01F1EF',' 01F1EB 01F1F0',' 01F1EB 01F1F2',' 01F1EB 01F1F4',' 01F1EB 01F1F7','',' 01F1EC 01F1E7',' 01F1EC 01F1E9',' 01F1EC 01F1EA',' 01F1EC 01F1EB',' 01F1EC 01F1EC',' 01F1EC 01F1ED',' 01F1EC 01F1EE',' 01F1EC 01F1F1',' 01F1EC 01F1F2',' 01F1EC 01F1F3',' 01F1EC 01F1F5',' 01F1EC 01F1F6',' 01F1EC 01F1F7',' 01F1EC 01F1F8',' 01F1EC 01F1F9',' 01F1EC 01F1FA',' 01F1EC 01F1FC',' 01F1EC 01F1FE',' 01F1ED 01F1F0','',' 01F1ED 01F1F3',' 01F1ED 01F1F7',' 01F1ED 01F1F9',' 01F1ED 01F1FA',' 01F1EE 01F1E8',' 01F1EE 01F1E9',' 01F1EE 01F1EA',' 01F1EE 01F1F1',' 01F1EE 01F1F2',' 01F1EE 01F1F3',' 01F1EE 01F1F4',' 01F1EE 01F1F6',' 01F1EE 01F1F7',' 01F1EE 01F1F8',' 01F1EE 01F1F9',' 01F1EF 01F1EA',' 01F1EF 01F1F2',' 01F1EF 01F1F4',' 01F1EF 01F1F5','',' 01F1F0 01F1EC',' 01F1F0 01F1ED',' 01F1F0 01F1EE',' 01F1F0 01F1F2',' 01F1F0 01F1F3',' 01F1F0 01F1F5',' 01F1F0 01F1F7',' 01F1F0 01F1FC',' 01F1F0 01F1FE',' 01F1F0 01F1FF',' 01F1F1 01F1E6',' 01F1F1 01F1E7',' 01F1F1 01F1E8',' 01F1F1 01F1EE',' 01F1F1 01F1F0',' 01F1F1 01F1F7',' 01F1F1 01F1F8',' 01F1F1 01F1F9',' 01F1F1 01F1FA','',' 01F1F1 01F1FE',' 01F1F2 01F1E6',' 01F1F2 01F1E8',' 01F1F2 01F1E9',' 01F1F2 01F1EA',' 01F1F2 01F1EB',' 01F1F2 01F1EC',' 01F1F2 01F1ED',' 01F1F2 01F1F0',' 01F1F2 01F1F1',' 01F1F2 01F1F2',' 01F1F2 01F1F3',' 01F1F2 01F1F4',' 01F1F2 01F1F5',' 01F1F2 01F1F6',' 01F1F2 01F1F7',' 01F1F2 01F1F8',' 01F1F2 01F1F9',' 01F1F2 01F1FA','',' 01F1F2 01F1FC',' 01F1F2 01F1FD',' 01F1F2 01F1FE',' 01F1F2 01F1FF',' 01F1F3 01F1E6',' 01F1F3 01F1E8',' 01F1F3 01F1EA',' 01F1F3 01F1EB',' 01F1F3 01F1EC',' 01F1F3 01F1EE',' 01F1F3 01F1F1',' 01F1F3 01F1F4',' 01F1F3 01F1F5',' 01F1F3 01F1F7',' 01F1F3 01F1FA',' 01F1F3 01F1FF',' 01F1F4 01F1F2',' 01F1F5 01F1E6',' 01F1F5 01F1EA','',' 01F1F5 01F1EC',' 01F1F5 01F1ED',' 01F1F5 01F1F0',' 01F1F5 01F1F1',' 01F1F5 01F1F2',' 01F1F5 01F1F3',' 01F1F5 01F1F7',' 01F1F5 01F1F8',' 01F1F5 01F1F9',' 01F1F5 01F1FC',' 01F1F5 01F1FE',' 01F1F6 01F1E6',' 01F1F7 01F1EA',' 01F1F7 01F1F4',' 01F1F7 01F1F8',' 01F1F7 01F1FA',' 01F1F7 01F1FC',' 01F1F8 01F1E6',' 01F1F8 01F1E7','',' 01F1F8 01F1E9',' 01F1F8 01F1EA',' 01F1F8 01F1EC',' 01F1F8 01F1ED',' 01F1F8 01F1EE',' 01F1F8 01F1EF',' 01F1F8 01F1F0',' 01F1F8 01F1F1',' 01F1F8 01F1F2',' 01F1F8 01F1F3',' 01F1F8 01F1F4',' 01F1F8 01F1F7',' 01F1F8 01F1F8',' 01F1F8 01F1F9',' 01F1F8 01F1FB',' 01F1F8 01F1FD',' 01F1F8 01F1FE',' 01F1F8 01F1FF',' 01F1F9 01F1E6','',' 01F1F9 01F1E9',' 01F1F9 01F1EB',' 01F1F9 01F1EC',' 01F1F9 01F1ED',' 01F1F9 01F1EF',' 01F1F9 01F1F0',' 01F1F9 01F1F1',' 01F1F9 01F1F2',' 01F1F9 01F1F3',' 01F1F9 01F1F4',' 01F1F9 01F1F7',' 01F1F9 01F1F9',' 01F1F9 01F1FB',' 01F1F9 01F1FC',' 01F1F9 01F1FF',' 01F1FA 01F1E6',' 01F1FA 01F1EC',' 01F1FA 01F1F2',' 01F1FA 01F1F3','',' 01F1FA 01F1FE',' 01F1FA 01F1FF',' 01F1FB 01F1E6',' 01F1FB 01F1E8',' 01F1FB 01F1EA',' 01F1FB 01F1EC',' 01F1FB 01F1EE',' 01F1FB 01F1F3',' 01F1FB 01F1FA',' 01F1FC 01F1EB',' 01F1FC 01F1F8',' 01F1FD 01F1F0',' 01F1FE 01F1EA',' 01F1FE 01F1F9',' 01F1FF 01F1E6',' 01F1FF 01F1F2',' 01F1FF 01F1FC'];


function placeanimatedviatds() {
var tdsare=document.getElementsByTagName('td');
for (var itdsare=0; itdsare<tdsare.length; itdsare++) {
if (tdsare[itdsare].innerHTML == '') {
//alert(tdsare[itdsare].outerHTML);
tdsare[itdsare].innerHTML=' rfa' + itdsare;
}
}
//setTimeout(placeanimatedviatds, twothousand);
setTimeout(placefood, twothousand);
}

function limitopts() {
var optsare=document.getElementsByTagName('option');
for (var ioptsare=0; ioptsare<optsare.length; ioptsare++) {
if (optsare[ioptsare].outerHTML.replace(' value="ae"',' value=""').indexOf(' value=""') == -1) {
if (animated) {
if (optsare[ioptsare].outerHTML.replace(' value="ae"',' value=""').indexOf(' value=" ') == -1) {
if (optsare[ioptsare].outerHTML.indexOf(' disabled') != -1) { optsare[ioptsare].removeAttribute('disabled'); }
if (optsare[ioptsare].outerHTML.indexOf(' hidden') != -1) { optsare[ioptsare].removeAttribute('hidden'); }
} else {
optsare[ioptsare].setAttribute('disabled', true);
optsare[ioptsare].setAttribute('hidden', true);
}
} else {
if (optsare[ioptsare].outerHTML.replace(' value="ae"',' value=""').indexOf(' value=" ') != -1) {
if (optsare[ioptsare].outerHTML.indexOf(' disabled') != -1) { optsare[ioptsare].removeAttribute('disabled'); }
if (optsare[ioptsare].outerHTML.indexOf(' hidden') != -1) { optsare[ioptsare].removeAttribute('hidden'); }
} else {
optsare[ioptsare].setAttribute('disabled', true);
optsare[ioptsare].setAttribute('hidden', true);
}
}
}
}
}

function throbbingspans() {
var isps, jsps;
if (tgsps.length == 0) {
var sps=document.getElementsByTagName('span');
for (isps=0; isps<sps.length; isps++) {
if (('' + sps[isps].style.opacity) != '') {
if (eval('' + sps[isps].style.opacity) < 1.0) {
tgsps.push(sps[isps]);
tgspsop.push(eval('' + sps[isps].style.opacity));
tgspsopwhat.push(eval('0.10'));
}
}
}
}
if (tgsps.length != 0) {
for (jsps=0; jsps<tgsps.length; jsps+=2) {
if (tgspsop[jsps] > 0.12 && tgspsop[jsps] < 0.88 && tgspsop[1 + jsps] > 0.12 && tgspsop[1 + jsps] < 0.88) { // && tgspsop[jsps] >= tgspsop[1 + jsps]) {
tgspsop[jsps]+=tgspsopwhat[jsps];
tgspsop[1 + jsps]-=tgspsopwhat[1 + jsps];
tgsps[jsps].style.opacity='' + tgspsop[jsps];
tgsps[1 + jsps].style.opacity='' + tgspsop[1 + jsps];
leftopacity='' + tgspsop[jsps];
rightopacity='' + tgspsop[1 + jsps];
} else if (tgspsop[jsps] > 0.12 && tgspsop[jsps] < 0.88 && tgspsop[1 + jsps] > 0.12 && tgspsop[1 + jsps] < 0.88) { // && tgspsop[jsps] <= tgspsop[1 + jsps]) {
tgspsop[jsps]-=tgspsopwhat[jsps];
tgspsop[1 + jsps]+=tgspsopwhat[1 + jsps];
tgsps[jsps].style.opacity='' + tgspsop[jsps];
tgsps[1 + jsps].style.opacity='' + tgspsop[1 + jsps];
leftopacity='' + tgspsop[jsps];
rightopacity='' + tgspsop[1 + jsps];
} else if (tgspsop[jsps] > 0.88) {
tgspsop[jsps]-=0.1;
tgspsop[1 + jsps]+=0.1;
tgsps[jsps].style.opacity='' + tgspsop[jsps];
tgsps[1 + jsps].style.opacity='' + tgspsop[1 + jsps];
tgspsopwhat[jsps]=-tgspsopwhat[jsps];
tgspsopwhat[1 + jsps]=-tgspsopwhat[1 + jsps];
leftopacity='' + tgspsop[jsps];
rightopacity='' + tgspsop[1 + jsps];
} else if (tgspsop[1 + jsps] > 0.88) {
tgspsop[jsps]+=0.1;
tgspsop[1 + jsps]-=0.1;
tgsps[jsps].style.opacity='' + tgspsop[jsps];
tgsps[1 + jsps].style.opacity='' + tgspsop[1 + jsps];
tgspsopwhat[jsps]=-tgspsopwhat[jsps];
tgspsopwhat[1 + jsps]=-tgspsopwhat[1 + jsps];
leftopacity='' + tgspsop[jsps];
rightopacity='' + tgspsop[1 + jsps];
} else if (tgspsop[1 + jsps] < 0.12) {
tgspsop[jsps]-=0.1;
tgspsop[1 + jsps]+=0.1;
tgsps[jsps].style.opacity='' + tgspsop[jsps];
tgsps[1 + jsps].style.opacity='' + tgspsop[1 + jsps];
tgspsopwhat[jsps]=-tgspsopwhat[jsps];
tgspsopwhat[1 + jsps]=-tgspsopwhat[1 + jsps];
leftopacity='' + tgspsop[jsps];
rightopacity='' + tgspsop[1 + jsps];
} else if (tgspsop[jsps] < 0.12) {
tgspsop[jsps]+=0.1;
tgspsop[1 + jsps]-=0.1;
tgsps[jsps].style.opacity='' + tgspsop[jsps];
tgsps[1 + jsps].style.opacity='' + tgspsop[1 + jsps];
tgspsopwhat[jsps]=-tgspsopwhat[jsps];
tgspsopwhat[1 + jsps]=-tgspsopwhat[1 + jsps];
leftopacity='' + tgspsop[jsps];
rightopacity='' + tgspsop[1 + jsps];
}
}
setTimeout(throbbingspans, 200);
}
}

function placefood() {
var jj=0, ioffset=0, ie=null;
ii=0;
var tds=document.getElementsByTagName('td');
if (foods.length == 0) {
document.getElementById('pyr1').value=location.search.split('name1=')[1] ? decodeURIComponent(location.search.split('name1=')[1]).split('&')[0] : 'Player1';
document.getElementById('pyr2').value=location.search.split('name2=')[1] ? decodeURIComponent(location.search.split('name2=')[1]).split('&')[0] : 'Player2';
document.getElementById('pyr3').value=location.search.split('name3=')[1] ? decodeURIComponent(location.search.split('name3=')[1]).split('&')[0] : 'Player3';
document.getElementById('pyr4').value=location.search.split('name4=')[1] ? decodeURIComponent(location.search.split('name4=')[1]).split('&')[0] : 'Player4';

if (flag != 'flag') { document.getElementById('mysubject').value=flag; }

document.getElementById('score0').innerHTML='Score: ' + scores[0] + '/' + goes[0];
document.getElementById('score1').innerHTML='Score: ' + scores[1] + '/' + goes[1];
document.getElementById('score2').innerHTML='Score: ' + scores[2] + '/' + goes[2];
document.getElementById('score3').innerHTML='Score: ' + scores[3] + '/' + goes[3];

for (ii=0; ii<tds.length; ii++) {
if (('' + tds[ii].id) != 'midbit') {
foods.push('f' + Math.floor(Math.random() * 19));
back.push(0);
}
}
//alert(foods.length + ' ' + menu.length + ' ' + tds.length);
jj=0;
ioffset=0;
for (ii=0; ii<tds.length; ii++) {
if (('' + tds[ii].id) != 'midbit') {
//foods[huh[jj]]=('f' + Math.floor(Math.random() * 19));
//document.title=' huhx[' + jj + ']';
if (!animated) {
tds[eval(huhx[jj])].className+=' ' + foods[huh[jj]];
} else {
tds[eval(huhx[jj])].innerHTML='<span style="opacity:' + leftopacity + ';" class=' + foods[huh[jj]] + '></span><span style="opacity:' + rightopacity + ';margin-left:-40px;" class=' + foods[huh[jj]].replace('f','g') + '></span>';
}
tds[eval(huhx[jj])].title=menu[eval(foods[huh[jj]].replace('f',''))].split(';')[0];
if (menu[eval(foods[huh[jj]].replace('f',''))].split(';').length > 1) {
tds[eval(huhx[jj])].alt=tds[eval(huhx[jj])].title + ';' + menu[eval(foods[huh[jj]].replace('f',''))].split(';')[1];
tds[eval(huhx[jj])].title=document.getElementById('pyr' + eval(1 + thisplayer)).value + ", if you know what " + flag.trim() + flagsuffix + " I represent, click me to have a go at answering that question.";
}
jj++;
} else {
ioffset=1;
}
}
ifood=1;
} else {
jj=0;
ioffset=0;
for (ii=0; ii<tds.length; ii++) {
if (('' + tds[ii].id) != 'midbit') {
if (tds[eval(huhx[jj])].className.indexOf(' nothing') == -1 || 1 == 1) {
if (!animated) {
tds[eval(huhx[jj])].className=tds[eval(huhx[jj])].className.split(' f')[0] + ' ' + foods[eval(eval(huh[eval((jj + ifood) % huh.length)]))];
} else {
tds[eval(huhx[jj])].innerHTML='<span style="opacity:' + leftopacity + ';" class=' + foods[eval(eval(huh[eval((jj + ifood) % huh.length)]))] + '></span><span style="opacity:' + rightopacity + ';margin-left:-40px;" class=' + foods[eval(eval(huh[eval((jj + ifood) % huh.length)]))].replace('f','g') + '></span>';
}
back[eval(huhx[jj])]=eval(eval(huh[eval((jj + ifood) % huh.length)]));
try {
tds[eval(huhx[jj])].title=menu[eval(foods[eval(eval(huh[eval((jj + ifood) % huh.length)]))].replace('f',''))].split(';')[0];
if (menu[eval(foods[eval(eval(huh[eval((jj + ifood) % huh.length)]))].replace('f',''))].split(';').length > 1) {
tds[eval(huhx[jj])].alt=tds[eval(huhx[jj])].title + ';' + menu[eval(foods[eval(eval(huh[eval((jj + ifood) % huh.length)]))].replace('f',''))].split(';')[1];
tds[eval(huhx[jj])].title=document.getElementById('pyr' + eval(1 + thisplayer)).value + ", if you know what " + flag.trim() + flagsuffix + " I represent, click me to have a go at answering that question.";
}
} catch(ie) {
}
}
jj++;
} else {
ioffset=1;
}
}
ifood++;
}
if (!animated) { setTimeout(placefood, twothousand); } else { placeanimatedviatds(); }
}

function onc(otd) {
var twoval=-1, jotdtitle='';
var ipwords=[], ipnum=0, jpnum=0;
var ii=0, jj=0, ioffset=0, thisc='';
//document.title=otd.className;
var thisplayerz=thisplayer;
var otdtitle=otd.alt.split(';')[0];
var otdalt=otd.alt;
if (otd.alt.indexOf(';') != -1) otdalt=otd.alt.split(';')[1];
var otdclassName=otd.className;
var tds=document.getElementsByTagName('td');
for (ii=0; ii<tds.length; ii++) {
if (tds[ii] === otd) {
jj=ii;
}
}
var vsf=otdclassName.split(' f');
if (vsf.length > 1) thisc='f' + otdclassName.split(' f')[1];
if (otdclassName.indexOf(' nothing') == -1 && 1 == 2) {
otd.className=vsf[0] + ' nothing'; // + ' ' + otd.className.replace(vsf[0] + ' ','');
//alert(otd.className);
} else if (foods[huh[jj]] != '') {
//foods[huhx[jj]]='';
//document.title='' + jj + ' ' + thisc + ' vs ' + foods[eval(eval(huh[eval((eval(jj + ifood) + 1) % huh.length)]))] + ' Vs ' + + foods[eval(eval(huh[eval((eval(jj + ifood) + 0) % huh.length)]))] + ' VS ' + + foods[eval(eval(huh[eval((eval(jj + ifood) - 1) % huh.length)]))];
//foods[eval(eval(huh[eval((jj + ifood) % huh.length)]))]='';
goes[thisplayerz]++;
if (foods[back[jj]] != '') {
var scnt=1;
var localiurl="localized_currency.html";
var localidelim="?";
jotdtitle=otdtitle;
if (('' + otdalt) == '') {
scores[thisplayerz]+=0; //=price[];
} else {
//document.title=Math.floor(eval(otd.alt) * 100.0);
var ip=prompt(document.getElementById('pyr' + eval(1 + thisplayerz)).value + ', please enter the representative of the ' + flag.trim() + flagsuffix + ' you clicked.','');
if (ip == null) ip='';
ipwords=ip.split(' ');
iplen=eval('' + ipwords.length);
if (ip.length > 1 && flag.trim() == '') {
twoval=countrynames.indexOf(otdtitle);
if (twoval >= 0) {
//document.title=otdtitle + '/' + countrynamestwo[twoval];
jotdtitle=countrynamestwo[twoval] + ' ' + jotdtitle;
jotdtitle=jotdtitle.replace(' undefined','').replace('undefined ','');
} //else {
//document.title=otdtitle;
//}
}
if (ip.length > 1 && (ip.toLowerCase() == jotdtitle.toLowerCase() || jotdtitle.indexOf(ip) != -1 || jotdtitle.toLowerCase().indexOf(ipwords[0].toLowerCase()) != -1)) {
if (iplen == 1) {
scores[thisplayerz]+=Math.floor(eval(otdalt) * 1); //00.0); //=price[];
} else {
for (jpnum=0; jpnum<ipwords.length; jpnum++) {
if ((' ' + jotdtitle + ' ').toLowerCase().indexOf(' ' + ipwords[jpnum].toLowerCase() + ' ') != -1) {
scores[thisplayerz]+=Math.floor(eval(otdalt) * 1); //00.0); //=price[];
}
}
}
document.getElementById('score' + thisplayerz).innerHTML='<a style="cursor:pointer;text-decoration:underline;" onclick="showeats(' + thisplayerz + ');">Score</a>: ' + scores[thisplayerz] + '/' + goes[thisplayerz];
//alert(scores[thisplayerz]);
if (document.getElementById('order' + thisplayerz).innerHTML == '') {
document.getElementById('order' + thisplayerz).innerHTML='<br><span id=sc' + thisplayerz + 'nt' + scnt + '>' + (otdalt + '00').substring(0,4) + ' ' + otdtitle + '</span><br>';
localiurl+=localidelim + 'called' + scnt + '=' + encodeURIComponent('sc' + thisplayerz + 'nt' + scnt + '`' + otdalt + ' ' + otdtitle);
localidelim='&';
scnt++;
} else {
if (scnt == 1) {
localiurl=lasturl[thisplayerz];
localidelim='&';
scnt=lastscnt[thisplayerz];
}
document.getElementById('order' + thisplayerz).innerHTML+='<span id=sc' + thisplayerz + 'nt' + scnt + '>' + (otdalt + '00').substring(0,4) + ' ' + otdtitle + '</span><br>';
localiurl+=localidelim + 'called' + scnt + '=' + encodeURIComponent('sc' + thisplayerz + 'nt' + scnt + '`' + otdalt + ' ' + otdtitle);
localidelim='&';
scnt++;
}
} else {
scores[thisplayerz]+=0; //=price[];
document.getElementById('score' + thisplayerz).innerHTML='<a style="cursor:pointer;text-decoration:underline;" onclick="showeats(' + thisplayerz + ');">Score</a>: ' + scores[thisplayerz] + '/' + goes[thisplayerz] + ' ... answer was ' + jotdtitle;
}
}
if (localiurl.indexOf('?') != -1) {
if (document.getElementById('locali')) { document.getElementById('locali').src=localiurl; }
lasturl[thisplayerz]=localiurl;
lastscnt[thisplayerz]=scnt;
}
if (times[thisplayerz] != 0) times[thisplayerz]=1;
}
if (document.getElementById('score' + thisplayerz).innerHTML.indexOf(' ... answer ') == -1) document.getElementById('score' + thisplayerz).innerHTML='<a style="cursor:pointer;text-decoration:underline;" onclick="showeats(' + thisplayerz + ');">Score</a>: ' + scores[thisplayerz] + '/' + goes[thisplayerz];
foods[back[jj]]='';
}
}

function showeats(weis) {
document.getElementById('order' + weis).style.display='inline';
}

function timeit() {
if (times[thisplayer] == 1) {
times[thisplayer]=0;
thisplayer=eval(eval(1 + thisplayer) % 4);
times[thisplayer]=six;
} else {
times[thisplayer]--;
}
for (var jk=0; jk<4; jk++) {
if (document.getElementById('pyr' + eval(1 + jk)).value.indexOf(';') != -1) {
twothousand=eval(('' + Math.floor(eval(document.getElementById('pyr' + eval(1 + jk)).value.split(';')[1].split(',')[0]))) * 1000);
}
if (document.getElementById('pyr' + eval(1 + jk)).value.indexOf(',') != -1) {
six=eval(('' + Math.floor(eval(document.getElementById('pyr' + eval(1 + jk)).value.split(',')[1].split(';')[0]))) * 1);
}
document.getElementById('pyr' + eval(1 + jk)).value=document.getElementById('pyr' + eval(1 + jk)).value.split(',')[0].split(';')[0];
if (jk == thisplayer) {
document.getElementById('score' + jk).style.fontWeight='bold';
document.getElementById('score' + jk).style.backgroundColor='orange';
document.getElementById('score' + jk).style.padding='4px 4px 4px 4px';
document.getElementById('score' + jk).title=document.getElementById('pyr' + eval(1 + thisplayer)).value + ", if you know about one of the " + flag + " below, click it to have a go at answering what it represents to score a point.";
} else {
document.getElementById('score' + jk).style.fontWeight='normal';
document.getElementById('score' + jk).style.backgroundColor='white';
document.getElementById('score' + jk).style.padding='2px 2px 2px 2px';
document.getElementById('score' + jk).title='It is the turn of ' + document.getElementById('pyr' + eval(1 + thisplayer)).value + " just now.";
}
}
setTimeout(timeit,1000);
}

function rize() {
var cstwo=[], cytwo=[], csofar='', thisone=-1;
if (contentbitstwo.length == countrynamestwo.length) {
for (var jik=0; jik<contentbitstwo.length; jik++) {
thisone=Math.floor(Math.random() * contentbitstwo.length);
while ((',' + csofar + ',').indexOf((',' + thisone + ',')) != -1) {
thisone=Math.floor(Math.random() * contentbitstwo.length);
}
csofar+=',' + thisone;
cstwo.push(contentbitstwo[thisone]);
cytwo.push(countrynamestwo[thisone]);
}
}
contentbitstwo=cstwo;
countrynamestwo=cytwo;
}

function resume() {
if (animated) {
location.href=document.URL.split('#')[0].split('?')[0] + '?score1=' + scores[0] + '&goes1=' + goes[0] + '&score2=' + scores[1] + '&goes2=' + goes[1] + '&score3=' + scores[2] + '&goes3=' + goes[2] + '&score4=' + scores[3] + '&goes4=' + goes[3] + '&name1=' + encodeURIComponent(document.getElementById('pyr1').value) + '&name2=' + encodeURIComponent(document.getElementById('pyr2').value) + '&name3=' + encodeURIComponent(document.getElementById('pyr3').value) + '&name4=' + encodeURIComponent(document.getElementById('pyr4').value) + '&six=' + six + '&twothousand=' + twothousand + "&subject=" + encodeURIComponent(document.getElementById('mysubject').value) + "&animated=true&combo=" + encodeURIComponent(document.getElementById('mysubject').value) + "&animated=true";
} else {
location.href=document.URL.split('#')[0].split('?')[0] + '?score1=' + scores[0] + '&goes1=' + goes[0] + '&score2=' + scores[1] + '&goes2=' + goes[1] + '&score3=' + scores[2] + '&goes3=' + goes[2] + '&score4=' + scores[3] + '&goes4=' + goes[3] + '&name1=' + encodeURIComponent(document.getElementById('pyr1').value) + '&name2=' + encodeURIComponent(document.getElementById('pyr2').value) + '&name3=' + encodeURIComponent(document.getElementById('pyr3').value) + '&name4=' + encodeURIComponent(document.getElementById('pyr4').value) + '&six=' + six + '&twothousand=' + twothousand + "&subject=" + encodeURIComponent(document.getElementById('mysubject').value);
}
}
</script>
</head>
<body style='background-color: white;' onload=' if (animated) { document.getElementById("selan").value="ae"; document.getElementById("mysubject").value=location.search.split("combo=")[1] ? decodeURIComponent(location.search.split("combo=")[1].split("&")[0]) : " "; } thisplayer=Math.floor(Math.random() * 4); times[thisplayer]=six; setTimeout(timeit,1000); placefood(); throbbingspans(); '>
<div style='float:left;'><input title='Name of player 1 (comma separate a second duration for player goes which defaults to 6 at the start of the game and/or a semicolon separate a movement second duration which defaults to 2 at the start of the game)' id='pyr1' type='text' value='Player1'></input> <span style='display:none;color:blue;' id='order0'></span> <span id='score0'>Score: 0/0</span><br><br></div><div style='float:right;'><input title='Name of player 2 (comma separate a second duration for player goes which defaults to 6 at the start of the game and/or a semicolon separate a movement second duration which defaults to 2 at the start of the game)' id='pyr2' type='text' value='Player2'></input> <span style='display:none;color:blue;' id='order1'></span> <span id='score1'>Score: 0/0</span><br><br></div>
<div style='background-color: white;'>
<table cellspacing=0 cellpadding=0 style='width:100%;height:60vh; background-color: yellow;'>
<tr style='width:100%;'><td id=t11 onclick='onc(this);' class='tlcorner'></td><td id=t12 onclick='onc(this);' style='border-bottom:1px solid yellow;'></td><td id=t13 onclick='onc(this);' class='cell'></td><td id=t14 onclick='onc(this);' class='cell'></td><td id=t15 onclick='onc(this);' class='cell'></td><td id=t16 onclick='onc(this);' class='cell'></td><td id=t17 onclick='onc(this);' class='cell' style='border-bottom:1px solid yellow;'></td><td id=t18 onclick='onc(this);' class='trcorner'></td></tr>
<tr style='width:100%;'><td id=t21 onclick='onc(this);' class='cell' style='border-top:1px solid yellow;'><hr style='border-color:red; margin-top: -75px;'></hr></td><td id='midbit' style=' background-color:white; ' colspan=6 rowspan=2 class=' xtlcorner xblcorner xtrcorner xbrcorner '><div style='width:100%;text-align:center;' id='topdiv'>World <select onchange=' if (this.value.trim().length == 0) { animated=true; } else { animated=false; } resume();' id='mysubject'><option value='flag'>Flag</option><option value='food'>Food</option><option value='animal'>Animal</option><option value=' '>Flag Food</option><option value=' '>Flag Animal</option><option value=' '>Animal Food</option></select> <select id=selan onchange="if (this.value.trim().length != 0) { animated=false; } else { animated=true; } limitopts(); "><option value="">Emoji</option><option value="ae">Animated Emoji</option></select> <a style='cursor:pointer;text-decoration:underline;' onclick='resume();' title='Another set? Then continue the scoring.'>Quiz</a> - RJM Programming - November, 2017</div></td><td id=t28 onclick='onc(this);' style='border-top:1px solid yellow;'><hr style='border-color:red; margin-top:-75px;'></hr></td></tr>
<tr style='width:100%;'><td id=t31 onclick='onc(this);' class='cell' style='border-bottom:1px solid yellow;'><hr style='border-color:red; margin-top: 40px;'></hr></td><td id=t38 onclick='onc(this);' style='border-bottom:1px solid yellow;'><hr style='border-color:red; margin-top: 40px;'></hr></td></tr>
<tr style='width:100%;'><td id=t41 onclick='onc(this);' class='blcorner'></td><td id=t42 onclick='onc(this);' style='border-top:1px solid yellow;'></td><td id=t43 onclick='onc(this);' class='cell'></td><td id=t44 onclick='onc(this);' class='cell'></td><td id=t45 onclick='onc(this);' class='cell'></td><td id=t46 onclick='onc(this);' class='cell'></td><td id=t47 onclick='onc(this);' class='cell' style='border-top:1px solid yellow;'></td><td id=t48 onclick='onc(this);' class='brcorner'></td></tr>
</table>
<div style='float:left;'><br><br><input title='Name of player 3 (comma separate a second duration for player goes which defaults to 6 at the start of the game and/or a semicolon separate a movement second duration which defaults to 2 at the start of the game)' id='pyr3' type='text' value='Player3'></input> <span style='display:none;color:blue;' id='order2'></span> <span id='score2'>Score: 0/0</span></div><div style='float:right;'><br><br><input title='Name of player 4 (comma separate a second duration for player goes which defaults to 6 at the start of the game and/or a semicolon separate a movement second duration which defaults to 2 at the start of the game)' id='pyr4' type='text' value='Player4'></input> <span style='display:none;color:blue;' id='order3'></span> <span id='score3'>Score: 0/0</span></div>
</div>
<!--iframe src='localized_currency.html' style='display:none;' id='locali'></iframe-->


<script type="text/javascript">
var foodtocountry=[], countrytofood=',', astyle=' <style> </style> ', aguess='';
countrynames=['Andorra','United Arab Emirates','Afghanistan','Antigua and Barbuda','Anguilla','Albania','Armenia','Angola','Antarctica','Argentina','American Samoa','Austria','Australia','Aruba','ร…land Islands','Azerbaijan','Bosnia and Herzegovina','Barbados','Bangladesh','Belgium','Burkina Faso','Bulgaria','Bahrain','Burundi','Benin','St. Barthรฉlemy','Bermuda','Brunei','Bolivia','Caribbean Netherlands','Brazil','Bahamas','Bhutan','Bouvet Island','Botswana','Belarus','Belize','Canada','Cocos (Keeling) Islands','Congo - Kinshasa','Central African Republic','Congo - Brazzaville','Switzerland','Cรดte dโ€™Ivoire','Cook Islands','Chile','Cameroon','China','Colombia','Clipperton Island','Costa Rica','Cuba','Cape Verde','Curaรงao','Christmas Island','Cyprus','Czechia','Germany','Diego Garcia','Djibouti','Denmark','Dominica','Dominican Republic','Algeria','Ceuta and Melilla','Ecuador','Estonia','Egypt','Western Sahara','Eritrea','Spain','Ethiopia','European Union','Finland','Fiji','Falkland Islands','Micronesia','Faroe Islands','France','Gabon','United Kingdom','Grenada','Georgia','French Guiana','Guernsey','Ghana','Gibraltar','Greenland','Gambia','Guinea','Guadeloupe','Equatorial Guinea','Greece','South Georgia and South Sandwich Islands','Guatemala','Guam','Guinea-Bissau','Guyana','Hong Kong SAR China','Heard and McDonald Islands','Honduras','Croatia','Haiti','Hungary','Canary Islands','Indonesia','Ireland','Israel','Isle of Man','India','British Indian Ocean Territory','Iraq','Iran','Iceland','Italy','Jersey','Jamaica','Jordan','Japan','Kenya','Kyrgyzstan','Cambodia','Kiribati','Comoros','St. Kitts and Nevis','North Korea','South Korea','Kuwait','Cayman Islands','Kazakhstan','Laos','Lebanon','St. Lucia','Liechtenstein','Sri Lanka','Liberia','Lesotho','Lithuania','Luxembourg','Latvia','Libya','Morocco','Monaco','Moldova','Montenegro','St. Martin','Madagascar','Marshall Islands','Macedonia','Mali','Myanmar (Burma)','Mongolia','Macau SAR China','Northern Mariana Islands','Martinique','Mauritania','Montserrat','Malta','Mauritius','Maldives','Malawi','Mexico','Malaysia','Mozambique','Namibia','New Caledonia','Niger','Norfolk Island','Nigeria','Nicaragua','Netherlands','Norway','Nepal','Nauru','Niue','New Zealand','Oman','Panama','Peru','French Polynesia','Papua New Guinea','Philippines','Pakistan','Poland','St. Pierre and Miquelon','Pitcairn Islands','Puerto Rico','Palestinian Territories','Portugal','Palau','Paraguay','Qatar','Rรฉunion','Romania','Serbia','Russia','Rwanda','Saudi Arabia','Solomon Islands','Seychelles','Sudan','Sweden','Singapore','St. Helena','Slovenia','Svalbard and Jan Mayen','Slovakia','Sierra Leone','San Marino','Senegal','Somalia','Suriname','South Sudan','Sรฃo Tomรฉ and Prรญncipe','El Salvador','Sint Maarten','Syria','Swaziland','Tristan da Cunha','Turks and Caicos Islands','Chad','French Southern Territories','Togo','Thailand','Tajikistan','Tokelau','Timor-Leste','Turkmenistan','Tunisia','Tonga','Turkey','Trinidad and Tobago','Tuvalu','Taiwan','Tanzania','Ukraine','Uganda','U.S. Outlying Islands','United Nations','United States','Uruguay','Uzbekistan','Vatican City','St. Vincent and Grenadines','Venezuela','British Virgin Islands','U.S. Virgin Islands','Vietnam','Vanuatu','Wallis and Futuna','Samoa','Kosovo','Yemen','Mayotte','South Africa','Zambia','Zimbabwe'];
contentbits=[' 01F1E6 01F1E9',' 01F1E6 01F1EA',' 01F1E6 01F1EB',' 01F1E6 01F1EC',' 01F1E6 01F1EE',' 01F1E6 01F1F1',' 01F1E6 01F1F2',' 01F1E6 01F1F4',' 01F1E6 01F1F6',' 01F1E6 01F1F7',' 01F1E6 01F1F8',' 01F1E6 01F1F9',' 01F1E6 01F1FA',' 01F1E6 01F1FC',' 01F1E6 01F1FD',' 01F1E6 01F1FF',' 01F1E7 01F1E6',' 01F1E7 01F1E7',' 01F1E7 01F1E9','',' 01F1E7 01F1EB',' 01F1E7 01F1EC',' 01F1E7 01F1ED',' 01F1E7 01F1EE',' 01F1E7 01F1EF',' 01F1E7 01F1F1',' 01F1E7 01F1F2',' 01F1E7 01F1F3',' 01F1E7 01F1F4',' 01F1E7 01F1F6',' 01F1E7 01F1F7',' 01F1E7 01F1F8',' 01F1E7 01F1F9',' 01F1E7 01F1FB',' 01F1E7 01F1FC',' 01F1E7 01F1FE',' 01F1E7 01F1FF',' 01F1E8 01F1E6',' 01F1E8 01F1E8','',' 01F1E8 01F1EB',' 01F1E8 01F1EC',' 01F1E8 01F1ED',' 01F1E8 01F1EE',' 01F1E8 01F1F0',' 01F1E8 01F1F1',' 01F1E8 01F1F2',' 01F1E8 01F1F3',' 01F1E8 01F1F4',' 01F1E8 01F1F5',' 01F1E8 01F1F7',' 01F1E8 01F1FA',' 01F1E8 01F1FB',' 01F1E8 01F1FC',' 01F1E8 01F1FD',' 01F1E8 01F1FE',' 01F1E8 01F1FF',' 01F1E9 01F1EA',' 01F1E9 01F1EC','',' 01F1E9 01F1F0',' 01F1E9 01F1F2',' 01F1E9 01F1F4',' 01F1E9 01F1FF',' 01F1EA 01F1E6',' 01F1EA 01F1E8',' 01F1EA 01F1EA',' 01F1EA 01F1EC',' 01F1EA 01F1ED',' 01F1EA 01F1F7',' 01F1EA 01F1F8',' 01F1EA 01F1F9',' 01F1EA 01F1FA',' 01F1EB 01F1EE',' 01F1EB 01F1EF',' 01F1EB 01F1F0',' 01F1EB 01F1F2',' 01F1EB 01F1F4',' 01F1EB 01F1F7','',' 01F1EC 01F1E7',' 01F1EC 01F1E9',' 01F1EC 01F1EA',' 01F1EC 01F1EB',' 01F1EC 01F1EC',' 01F1EC 01F1ED',' 01F1EC 01F1EE',' 01F1EC 01F1F1',' 01F1EC 01F1F2',' 01F1EC 01F1F3',' 01F1EC 01F1F5',' 01F1EC 01F1F6',' 01F1EC 01F1F7',' 01F1EC 01F1F8',' 01F1EC 01F1F9',' 01F1EC 01F1FA',' 01F1EC 01F1FC',' 01F1EC 01F1FE',' 01F1ED 01F1F0','',' 01F1ED 01F1F3',' 01F1ED 01F1F7',' 01F1ED 01F1F9',' 01F1ED 01F1FA',' 01F1EE 01F1E8',' 01F1EE 01F1E9',' 01F1EE 01F1EA',' 01F1EE 01F1F1',' 01F1EE 01F1F2',' 01F1EE 01F1F3',' 01F1EE 01F1F4',' 01F1EE 01F1F6',' 01F1EE 01F1F7',' 01F1EE 01F1F8',' 01F1EE 01F1F9',' 01F1EF 01F1EA',' 01F1EF 01F1F2',' 01F1EF 01F1F4',' 01F1EF 01F1F5','',' 01F1F0 01F1EC',' 01F1F0 01F1ED',' 01F1F0 01F1EE',' 01F1F0 01F1F2',' 01F1F0 01F1F3',' 01F1F0 01F1F5',' 01F1F0 01F1F7',' 01F1F0 01F1FC',' 01F1F0 01F1FE',' 01F1F0 01F1FF',' 01F1F1 01F1E6',' 01F1F1 01F1E7',' 01F1F1 01F1E8',' 01F1F1 01F1EE',' 01F1F1 01F1F0',' 01F1F1 01F1F7',' 01F1F1 01F1F8',' 01F1F1 01F1F9',' 01F1F1 01F1FA','',' 01F1F1 01F1FE',' 01F1F2 01F1E6',' 01F1F2 01F1E8',' 01F1F2 01F1E9',' 01F1F2 01F1EA',' 01F1F2 01F1EB',' 01F1F2 01F1EC',' 01F1F2 01F1ED',' 01F1F2 01F1F0',' 01F1F2 01F1F1',' 01F1F2 01F1F2',' 01F1F2 01F1F3',' 01F1F2 01F1F4',' 01F1F2 01F1F5',' 01F1F2 01F1F6',' 01F1F2 01F1F7',' 01F1F2 01F1F8',' 01F1F2 01F1F9',' 01F1F2 01F1FA','',' 01F1F2 01F1FC',' 01F1F2 01F1FD',' 01F1F2 01F1FE',' 01F1F2 01F1FF',' 01F1F3 01F1E6',' 01F1F3 01F1E8',' 01F1F3 01F1EA',' 01F1F3 01F1EB',' 01F1F3 01F1EC',' 01F1F3 01F1EE',' 01F1F3 01F1F1',' 01F1F3 01F1F4',' 01F1F3 01F1F5',' 01F1F3 01F1F7',' 01F1F3 01F1FA',' 01F1F3 01F1FF',' 01F1F4 01F1F2',' 01F1F5 01F1E6',' 01F1F5 01F1EA','',' 01F1F5 01F1EC',' 01F1F5 01F1ED',' 01F1F5 01F1F0',' 01F1F5 01F1F1',' 01F1F5 01F1F2',' 01F1F5 01F1F3',' 01F1F5 01F1F7',' 01F1F5 01F1F8',' 01F1F5 01F1F9',' 01F1F5 01F1FC',' 01F1F5 01F1FE',' 01F1F6 01F1E6',' 01F1F7 01F1EA',' 01F1F7 01F1F4',' 01F1F7 01F1F8',' 01F1F7 01F1FA',' 01F1F7 01F1FC',' 01F1F8 01F1E6',' 01F1F8 01F1E7','',' 01F1F8 01F1E9',' 01F1F8 01F1EA',' 01F1F8 01F1EC',' 01F1F8 01F1ED',' 01F1F8 01F1EE',' 01F1F8 01F1EF',' 01F1F8 01F1F0',' 01F1F8 01F1F1',' 01F1F8 01F1F2',' 01F1F8 01F1F3',' 01F1F8 01F1F4',' 01F1F8 01F1F7',' 01F1F8 01F1F8',' 01F1F8 01F1F9',' 01F1F8 01F1FB',' 01F1F8 01F1FD',' 01F1F8 01F1FE',' 01F1F8 01F1FF',' 01F1F9 01F1E6','',' 01F1F9 01F1E9',' 01F1F9 01F1EB',' 01F1F9 01F1EC',' 01F1F9 01F1ED',' 01F1F9 01F1EF',' 01F1F9 01F1F0',' 01F1F9 01F1F1',' 01F1F9 01F1F2',' 01F1F9 01F1F3',' 01F1F9 01F1F4',' 01F1F9 01F1F7',' 01F1F9 01F1F9',' 01F1F9 01F1FB',' 01F1F9 01F1FC',' 01F1F9 01F1FF',' 01F1FA 01F1E6',' 01F1FA 01F1EC',' 01F1FA 01F1F2',' 01F1FA 01F1F3','',' 01F1FA 01F1FE',' 01F1FA 01F1FF',' 01F1FB 01F1E6',' 01F1FB 01F1E8',' 01F1FB 01F1EA',' 01F1FB 01F1EC',' 01F1FB 01F1EE',' 01F1FB 01F1F3',' 01F1FB 01F1FA',' 01F1FC 01F1EB',' 01F1FC 01F1F8',' 01F1FD 01F1F0',' 01F1FE 01F1EA',' 01F1FE 01F1F9',' 01F1FF 01F1E6',' 01F1FF 01F1F2',' 01F1FF 01F1FC'];
countrynamestwo=['Andorra','United Arab Emirates','Afghanistan','Antigua and Barbuda','Anguilla','Albania','Armenia','Angola','Antarctica','Argentina','American Samoa','Austria','Australia','Aruba','ร…land Islands','Azerbaijan','Bosnia and Herzegovina','Barbados','Bangladesh','Belgium','Burkina Faso','Bulgaria','Bahrain','Burundi','Benin','St. Barthรฉlemy','Bermuda','Brunei','Bolivia','Caribbean Netherlands','Brazil','Bahamas','Bhutan','Bouvet Island','Botswana','Belarus','Belize','Canada','Cocos (Keeling) Islands','Congo - Kinshasa','Central African Republic','Congo - Brazzaville','Switzerland','Cรดte dโ€™Ivoire','Cook Islands','Chile','Cameroon','China','Colombia','Clipperton Island','Costa Rica','Cuba','Cape Verde','Curaรงao','Christmas Island','Cyprus','Czechia','Germany','Diego Garcia','Djibouti','Denmark','Dominica','Dominican Republic','Algeria','Ceuta and Melilla','Ecuador','Estonia','Egypt','Western Sahara','Eritrea','Spain','Ethiopia','European Union','Finland','Fiji','Falkland Islands','Micronesia','Faroe Islands','France','Gabon','United Kingdom','Grenada','Georgia','French Guiana','Guernsey','Ghana','Gibraltar','Greenland','Gambia','Guinea','Guadeloupe','Equatorial Guinea','Greece','South Georgia and South Sandwich Islands','Guatemala','Guam','Guinea-Bissau','Guyana','Hong Kong SAR China','Heard and McDonald Islands','Honduras','Croatia','Haiti','Hungary','Canary Islands','Indonesia','Ireland','Israel','Isle of Man','India','British Indian Ocean Territory','Iraq','Iran','Iceland','Italy','Jersey','Jamaica','Jordan','Japan','Kenya','Kyrgyzstan','Cambodia','Kiribati','Comoros','St. Kitts and Nevis','North Korea','South Korea','Kuwait','Cayman Islands','Kazakhstan','Laos','Lebanon','St. Lucia','Liechtenstein','Sri Lanka','Liberia','Lesotho','Lithuania','Luxembourg','Latvia','Libya','Morocco','Monaco','Moldova','Montenegro','St. Martin','Madagascar','Marshall Islands','Macedonia','Mali','Myanmar (Burma)','Mongolia','Macau SAR China','Northern Mariana Islands','Martinique','Mauritania','Montserrat','Malta','Mauritius','Maldives','Malawi','Mexico','Malaysia','Mozambique','Namibia','New Caledonia','Niger','Norfolk Island','Nigeria','Nicaragua','Netherlands','Norway','Nepal','Nauru','Niue','New Zealand','Oman','Panama','Peru','French Polynesia','Papua New Guinea','Philippines','Pakistan','Poland','St. Pierre and Miquelon','Pitcairn Islands','Puerto Rico','Palestinian Territories','Portugal','Palau','Paraguay','Qatar','Rรฉunion','Romania','Serbia','Russia','Rwanda','Saudi Arabia','Solomon Islands','Seychelles','Sudan','Sweden','Singapore','St. Helena','Slovenia','Svalbard and Jan Mayen','Slovakia','Sierra Leone','San Marino','Senegal','Somalia','Suriname','South Sudan','Sรฃo Tomรฉ and Prรญncipe','El Salvador','Sint Maarten','Syria','Swaziland','Tristan da Cunha','Turks and Caicos Islands','Chad','French Southern Territories','Togo','Thailand','Tajikistan','Tokelau','Timor-Leste','Turkmenistan','Tunisia','Tonga','Turkey','Trinidad and Tobago','Tuvalu','Taiwan','Tanzania','Ukraine','Uganda','U.S. Outlying Islands','United Nations','United States','Uruguay','Uzbekistan','Vatican City','St. Vincent and Grenadines','Venezuela','British Virgin Islands','U.S. Virgin Islands','Vietnam','Vanuatu','Wallis and Futuna','Samoa','Kosovo','Yemen','Mayotte','South Africa','Zambia','Zimbabwe'];
contentbitstwo=[' 01F1E6 01F1E9',' 01F1E6 01F1EA',' 01F1E6 01F1EB',' 01F1E6 01F1EC',' 01F1E6 01F1EE',' 01F1E6 01F1F1',' 01F1E6 01F1F2',' 01F1E6 01F1F4',' 01F1E6 01F1F6',' 01F1E6 01F1F7',' 01F1E6 01F1F8',' 01F1E6 01F1F9',' 01F1E6 01F1FA',' 01F1E6 01F1FC',' 01F1E6 01F1FD',' 01F1E6 01F1FF',' 01F1E7 01F1E6',' 01F1E7 01F1E7',' 01F1E7 01F1E9','',' 01F1E7 01F1EB',' 01F1E7 01F1EC',' 01F1E7 01F1ED',' 01F1E7 01F1EE',' 01F1E7 01F1EF',' 01F1E7 01F1F1',' 01F1E7 01F1F2',' 01F1E7 01F1F3',' 01F1E7 01F1F4',' 01F1E7 01F1F6',' 01F1E7 01F1F7',' 01F1E7 01F1F8',' 01F1E7 01F1F9',' 01F1E7 01F1FB',' 01F1E7 01F1FC',' 01F1E7 01F1FE',' 01F1E7 01F1FF',' 01F1E8 01F1E6',' 01F1E8 01F1E8','',' 01F1E8 01F1EB',' 01F1E8 01F1EC',' 01F1E8 01F1ED',' 01F1E8 01F1EE',' 01F1E8 01F1F0',' 01F1E8 01F1F1',' 01F1E8 01F1F2',' 01F1E8 01F1F3',' 01F1E8 01F1F4',' 01F1E8 01F1F5',' 01F1E8 01F1F7',' 01F1E8 01F1FA',' 01F1E8 01F1FB',' 01F1E8 01F1FC',' 01F1E8 01F1FD',' 01F1E8 01F1FE',' 01F1E8 01F1FF',' 01F1E9 01F1EA',' 01F1E9 01F1EC','',' 01F1E9 01F1F0',' 01F1E9 01F1F2',' 01F1E9 01F1F4',' 01F1E9 01F1FF',' 01F1EA 01F1E6',' 01F1EA 01F1E8',' 01F1EA 01F1EA',' 01F1EA 01F1EC',' 01F1EA 01F1ED',' 01F1EA 01F1F7',' 01F1EA 01F1F8',' 01F1EA 01F1F9',' 01F1EA 01F1FA',' 01F1EB 01F1EE',' 01F1EB 01F1EF',' 01F1EB 01F1F0',' 01F1EB 01F1F2',' 01F1EB 01F1F4',' 01F1EB 01F1F7','',' 01F1EC 01F1E7',' 01F1EC 01F1E9',' 01F1EC 01F1EA',' 01F1EC 01F1EB',' 01F1EC 01F1EC',' 01F1EC 01F1ED',' 01F1EC 01F1EE',' 01F1EC 01F1F1',' 01F1EC 01F1F2',' 01F1EC 01F1F3',' 01F1EC 01F1F5',' 01F1EC 01F1F6',' 01F1EC 01F1F7',' 01F1EC 01F1F8',' 01F1EC 01F1F9',' 01F1EC 01F1FA',' 01F1EC 01F1FC',' 01F1EC 01F1FE',' 01F1ED 01F1F0','',' 01F1ED 01F1F3',' 01F1ED 01F1F7',' 01F1ED 01F1F9',' 01F1ED 01F1FA',' 01F1EE 01F1E8',' 01F1EE 01F1E9',' 01F1EE 01F1EA',' 01F1EE 01F1F1',' 01F1EE 01F1F2',' 01F1EE 01F1F3',' 01F1EE 01F1F4',' 01F1EE 01F1F6',' 01F1EE 01F1F7',' 01F1EE 01F1F8',' 01F1EE 01F1F9',' 01F1EF 01F1EA',' 01F1EF 01F1F2',' 01F1EF 01F1F4',' 01F1EF 01F1F5','',' 01F1F0 01F1EC',' 01F1F0 01F1ED',' 01F1F0 01F1EE',' 01F1F0 01F1F2',' 01F1F0 01F1F3',' 01F1F0 01F1F5',' 01F1F0 01F1F7',' 01F1F0 01F1FC',' 01F1F0 01F1FE',' 01F1F0 01F1FF',' 01F1F1 01F1E6',' 01F1F1 01F1E7',' 01F1F1 01F1E8',' 01F1F1 01F1EE',' 01F1F1 01F1F0',' 01F1F1 01F1F7',' 01F1F1 01F1F8',' 01F1F1 01F1F9',' 01F1F1 01F1FA','',' 01F1F1 01F1FE',' 01F1F2 01F1E6',' 01F1F2 01F1E8',' 01F1F2 01F1E9',' 01F1F2 01F1EA',' 01F1F2 01F1EB',' 01F1F2 01F1EC',' 01F1F2 01F1ED',' 01F1F2 01F1F0',' 01F1F2 01F1F1',' 01F1F2 01F1F2',' 01F1F2 01F1F3',' 01F1F2 01F1F4',' 01F1F2 01F1F5',' 01F1F2 01F1F6',' 01F1F2 01F1F7',' 01F1F2 01F1F8',' 01F1F2 01F1F9',' 01F1F2 01F1FA','',' 01F1F2 01F1FC',' 01F1F2 01F1FD',' 01F1F2 01F1FE',' 01F1F2 01F1FF',' 01F1F3 01F1E6',' 01F1F3 01F1E8',' 01F1F3 01F1EA',' 01F1F3 01F1EB',' 01F1F3 01F1EC',' 01F1F3 01F1EE',' 01F1F3 01F1F1',' 01F1F3 01F1F4',' 01F1F3 01F1F5',' 01F1F3 01F1F7',' 01F1F3 01F1FA',' 01F1F3 01F1FF',' 01F1F4 01F1F2',' 01F1F5 01F1E6',' 01F1F5 01F1EA','',' 01F1F5 01F1EC',' 01F1F5 01F1ED',' 01F1F5 01F1F0',' 01F1F5 01F1F1',' 01F1F5 01F1F2',' 01F1F5 01F1F3',' 01F1F5 01F1F7',' 01F1F5 01F1F8',' 01F1F5 01F1F9',' 01F1F5 01F1FC',' 01F1F5 01F1FE',' 01F1F6 01F1E6',' 01F1F7 01F1EA',' 01F1F7 01F1F4',' 01F1F7 01F1F8',' 01F1F7 01F1FA',' 01F1F7 01F1FC',' 01F1F8 01F1E6',' 01F1F8 01F1E7','',' 01F1F8 01F1E9',' 01F1F8 01F1EA',' 01F1F8 01F1EC',' 01F1F8 01F1ED',' 01F1F8 01F1EE',' 01F1F8 01F1EF',' 01F1F8 01F1F0',' 01F1F8 01F1F1',' 01F1F8 01F1F2',' 01F1F8 01F1F3',' 01F1F8 01F1F4',' 01F1F8 01F1F7',' 01F1F8 01F1F8',' 01F1F8 01F1F9',' 01F1F8 01F1FB',' 01F1F8 01F1FD',' 01F1F8 01F1FE',' 01F1F8 01F1FF',' 01F1F9 01F1E6','',' 01F1F9 01F1E9',' 01F1F9 01F1EB',' 01F1F9 01F1EC',' 01F1F9 01F1ED',' 01F1F9 01F1EF',' 01F1F9 01F1F0',' 01F1F9 01F1F1',' 01F1F9 01F1F2',' 01F1F9 01F1F3',' 01F1F9 01F1F4',' 01F1F9 01F1F7',' 01F1F9 01F1F9',' 01F1F9 01F1FB',' 01F1F9 01F1FC',' 01F1F9 01F1FF',' 01F1FA 01F1E6',' 01F1FA 01F1EC',' 01F1FA 01F1F2',' 01F1FA 01F1F3','',' 01F1FA 01F1FE',' 01F1FA 01F1FF',' 01F1FB 01F1E6',' 01F1FB 01F1E8',' 01F1FB 01F1EA',' 01F1FB 01F1EC',' 01F1FB 01F1EE',' 01F1FB 01F1F3',' 01F1FB 01F1FA',' 01F1FC 01F1EB',' 01F1FC 01F1F8',' 01F1FD 01F1F0',' 01F1FE 01F1EA',' 01F1FE 01F1F9',' 01F1FF 01F1E6',' 01F1FF 01F1F2',' 01F1FF 01F1FC'];
if (flag != "flag") {
//alert('*' + flag + '*');
if (flag == "food") {
countrynames=['shortcake','bento box','rice cracker','rice ball','cooked rice','curry rice','steaming bowl','spaghetti','roasted sweet potato','oden','sushi','fried shrimp','fish cake with swirl','dango','soft ice cream','shaved ice','ice cream','doughnut','cookie','birthday cake'];
contentbits=[' 01F370',' 01f371',' 01f358',' 01f359',' 01f35a',' 01f35b',' 01f35c',' 01f35d',' 01f360',' 01f362',' 01f363',' 01f364',' 01f365',' 01f361',' 01F366',' 01F367',' 01F368',' 01F369',' 01F36A',' 01F382'];
countrynamestwo=['shortcake','bento box','rice cracker','rice ball','cooked rice','curry rice','steaming bowl','spaghetti','roasted sweet potato','oden','sushi','fried shrimp','fish cake with swirl','dango','soft ice cream','shaved ice','ice cream','doughnut','cookie','birthday cake'];
contentbitstwo=[' 01F370',' 01f371',' 01f358',' 01f359',' 01f35a',' 01f35b',' 01f35c',' 01f35d',' 01f360',' 01f362',' 01f363',' 01f364',' 01f365',' 01f361',' 01F366',' 01F367',' 01F368',' 01F369',' 01F36A',' 01F382'];
} else if (flag == "animal") {
contentbits=[' 01F412',' 01F98D',' 01F415',' 01F408',' 01F405',' 01F406',' 01F40E',' 01F98C',' 01F402',' 01F403',' 01F404',' 01F416',' 01F417',' 01F411',' 01F410',' 01F42A',' 01F418',' 01F98F',' 01F401',' 01F407',' 01F987',' 01F428',' 01F983',' 01F414',' 01F427',' 01F54A',' 01F985',' 01F986',' 01F989',' 01F40A',' 01F422',' 01F98E',' 01F40D',' 01F40B',' 01F42C',' 01F421',' 01F988',' 01F980',' 01F990',' 01F991',' 01F40C',' 01F98B',' 01F41C',' 01F41D',' 01F41E',' 01F577',' 01F982'];
countrynames=['monkey','gorilla','dog','cat','tiger','leopard','horse','deer','ox','water buffalo','cow','pig','boar','sheep','goat','camel','elephant','rhinoceros','mouse','rabbit','bat','koala','turkey','chicken','penguin','dove','eagle','duck','owl','crocodile','turtle','lizard','snake','whale','dolphin','blowfish','shark','crab','shrimp','squid','snail','butterfly','ant','bee','lady beetle','spider','scorpion'];
contentbitstwo=[' 01F412',' 01F98D',' 01F415',' 01F408',' 01F405',' 01F406',' 01F40E',' 01F98C',' 01F402',' 01F403',' 01F404',' 01F416',' 01F417',' 01F411',' 01F410',' 01F42A',' 01F418',' 01F98F',' 01F401',' 01F407',' 01F987',' 01F428',' 01F983',' 01F414',' 01F427',' 01F54A',' 01F985',' 01F986',' 01F989',' 01F40A',' 01F422',' 01F98E',' 01F40D',' 01F40B',' 01F42C',' 01F421',' 01F988',' 01F980',' 01F990',' 01F991',' 01F40C',' 01F98B',' 01F41C',' 01F41D',' 01F41E',' 01F577',' 01F982'];
countrynamestwo=['monkey','gorilla','dog','cat','tiger','leopard','horse','deer','ox','water buffalo','cow','pig','boar','sheep','goat','camel','elephant','rhinoceros','mouse','rabbit','bat','koala','turkey','chicken','penguin','dove','eagle','duck','owl','crocodile','turtle','lizard','snake','whale','dolphin','blowfish','shark','crab','shrimp','squid','snail','butterfly','ant','bee','lady beetle','spider','scorpion'];
} else if (flag == ' ') { // Flag Food
flagsuffix='Flag Food';
countrynamestwo=['Andorra','United Arab Emirates','Afghanistan','Antigua and Barbuda','Anguilla','Albania','Armenia','Angola','Antarctica','Argentina','American Samoa','Austria','Australia','Aruba','ร…land Islands','Azerbaijan','Bosnia and Herzegovina','Barbados','Bangladesh','Belgium','Burkina Faso','Bulgaria','Bahrain','Burundi','Benin','St. Barthรฉlemy','Bermuda','Brunei','Bolivia','Caribbean Netherlands','Brazil','Bahamas','Bhutan','Bouvet Island','Botswana','Belarus','Belize','Canada','Cocos (Keeling) Islands','Congo - Kinshasa','Central African Republic','Congo - Brazzaville','Switzerland','Cรดte dโ€™Ivoire','Cook Islands','Chile','Cameroon','China','Colombia','Clipperton Island','Costa Rica','Cuba','Cape Verde','Curaรงao','Christmas Island','Cyprus','Czechia','Germany','Diego Garcia','Djibouti','Denmark','Dominica','Dominican Republic','Algeria','Ceuta and Melilla','Ecuador','Estonia','Egypt','Western Sahara','Eritrea','Spain','Ethiopia','European Union','Finland','Fiji','Falkland Islands','Micronesia','Faroe Islands','France','Gabon','United Kingdom','Grenada','Georgia','French Guiana','Guernsey','Ghana','Gibraltar','Greenland','Gambia','Guinea','Guadeloupe','Equatorial Guinea','Greece','South Georgia and South Sandwich Islands','Guatemala','Guam','Guinea-Bissau','Guyana','Hong Kong SAR China','Heard and McDonald Islands','Honduras','Croatia','Haiti','Hungary','Canary Islands','Indonesia','Ireland','Israel','Isle of Man','India','British Indian Ocean Territory','Iraq','Iran','Iceland','Italy','Jersey','Jamaica','Jordan','Japan','Kenya','Kyrgyzstan','Cambodia','Kiribati','Comoros','St. Kitts and Nevis','North Korea','South Korea','Kuwait','Cayman Islands','Kazakhstan','Laos','Lebanon','St. Lucia','Liechtenstein','Sri Lanka','Liberia','Lesotho','Lithuania','Luxembourg','Latvia','Libya','Morocco','Monaco','Moldova','Montenegro','St. Martin','Madagascar','Marshall Islands','Macedonia','Mali','Myanmar (Burma)','Mongolia','Macau SAR China','Northern Mariana Islands','Martinique','Mauritania','Montserrat','Malta','Mauritius','Maldives','Malawi','Mexico','Malaysia','Mozambique','Namibia','New Caledonia','Niger','Norfolk Island','Nigeria','Nicaragua','Netherlands','Norway','Nepal','Nauru','Niue','New Zealand','Oman','Panama','Peru','French Polynesia','Papua New Guinea','Philippines','Pakistan','Poland','St. Pierre and Miquelon','Pitcairn Islands','Puerto Rico','Palestinian Territories','Portugal','Palau','Paraguay','Qatar','Rรฉunion','Romania','Serbia','Russia','Rwanda','Saudi Arabia','Solomon Islands','Seychelles','Sudan','Sweden','Singapore','St. Helena','Slovenia','Svalbard and Jan Mayen','Slovakia','Sierra Leone','San Marino','Senegal','Somalia','Suriname','South Sudan','Sรฃo Tomรฉ and Prรญncipe','El Salvador','Sint Maarten','Syria','Swaziland','Tristan da Cunha','Turks and Caicos Islands','Chad','French Southern Territories','Togo','Thailand','Tajikistan','Tokelau','Timor-Leste','Turkmenistan','Tunisia','Tonga','Turkey','Trinidad and Tobago','Tuvalu','Taiwan','Tanzania','Ukraine','Uganda','U.S. Outlying Islands','United Nations','United States','Uruguay','Uzbekistan','Vatican City','St. Vincent and Grenadines','Venezuela','British Virgin Islands','U.S. Virgin Islands','Vietnam','Vanuatu','Wallis and Futuna','Samoa','Kosovo','Yemen','Mayotte','South Africa','Zambia','Zimbabwe'];
contentbitstwo=[' 01F1E6 01F1E9',' 01F1E6 01F1EA',' 01F1E6 01F1EB',' 01F1E6 01F1EC',' 01F1E6 01F1EE',' 01F1E6 01F1F1',' 01F1E6 01F1F2',' 01F1E6 01F1F4',' 01F1E6 01F1F6',' 01F1E6 01F1F7',' 01F1E6 01F1F8',' 01F1E6 01F1F9',' 01F1E6 01F1FA',' 01F1E6 01F1FC',' 01F1E6 01F1FD',' 01F1E6 01F1FF',' 01F1E7 01F1E6',' 01F1E7 01F1E7',' 01F1E7 01F1E9','',' 01F1E7 01F1EB',' 01F1E7 01F1EC',' 01F1E7 01F1ED',' 01F1E7 01F1EE',' 01F1E7 01F1EF',' 01F1E7 01F1F1',' 01F1E7 01F1F2',' 01F1E7 01F1F3',' 01F1E7 01F1F4',' 01F1E7 01F1F6',' 01F1E7 01F1F7',' 01F1E7 01F1F8',' 01F1E7 01F1F9',' 01F1E7 01F1FB',' 01F1E7 01F1FC',' 01F1E7 01F1FE',' 01F1E7 01F1FF',' 01F1E8 01F1E6',' 01F1E8 01F1E8','',' 01F1E8 01F1EB',' 01F1E8 01F1EC',' 01F1E8 01F1ED',' 01F1E8 01F1EE',' 01F1E8 01F1F0',' 01F1E8 01F1F1',' 01F1E8 01F1F2',' 01F1E8 01F1F3',' 01F1E8 01F1F4',' 01F1E8 01F1F5',' 01F1E8 01F1F7',' 01F1E8 01F1FA',' 01F1E8 01F1FB',' 01F1E8 01F1FC',' 01F1E8 01F1FD',' 01F1E8 01F1FE',' 01F1E8 01F1FF',' 01F1E9 01F1EA',' 01F1E9 01F1EC','',' 01F1E9 01F1F0',' 01F1E9 01F1F2',' 01F1E9 01F1F4',' 01F1E9 01F1FF',' 01F1EA 01F1E6',' 01F1EA 01F1E8',' 01F1EA 01F1EA',' 01F1EA 01F1EC',' 01F1EA 01F1ED',' 01F1EA 01F1F7',' 01F1EA 01F1F8',' 01F1EA 01F1F9',' 01F1EA 01F1FA',' 01F1EB 01F1EE',' 01F1EB 01F1EF',' 01F1EB 01F1F0',' 01F1EB 01F1F2',' 01F1EB 01F1F4',' 01F1EB 01F1F7','',' 01F1EC 01F1E7',' 01F1EC 01F1E9',' 01F1EC 01F1EA',' 01F1EC 01F1EB',' 01F1EC 01F1EC',' 01F1EC 01F1ED',' 01F1EC 01F1EE',' 01F1EC 01F1F1',' 01F1EC 01F1F2',' 01F1EC 01F1F3',' 01F1EC 01F1F5',' 01F1EC 01F1F6',' 01F1EC 01F1F7',' 01F1EC 01F1F8',' 01F1EC 01F1F9',' 01F1EC 01F1FA',' 01F1EC 01F1FC',' 01F1EC 01F1FE',' 01F1ED 01F1F0','',' 01F1ED 01F1F3',' 01F1ED 01F1F7',' 01F1ED 01F1F9',' 01F1ED 01F1FA',' 01F1EE 01F1E8',' 01F1EE 01F1E9',' 01F1EE 01F1EA',' 01F1EE 01F1F1',' 01F1EE 01F1F2',' 01F1EE 01F1F3',' 01F1EE 01F1F4',' 01F1EE 01F1F6',' 01F1EE 01F1F7',' 01F1EE 01F1F8',' 01F1EE 01F1F9',' 01F1EF 01F1EA',' 01F1EF 01F1F2',' 01F1EF 01F1F4',' 01F1EF 01F1F5','',' 01F1F0 01F1EC',' 01F1F0 01F1ED',' 01F1F0 01F1EE',' 01F1F0 01F1F2',' 01F1F0 01F1F3',' 01F1F0 01F1F5',' 01F1F0 01F1F7',' 01F1F0 01F1FC',' 01F1F0 01F1FE',' 01F1F0 01F1FF',' 01F1F1 01F1E6',' 01F1F1 01F1E7',' 01F1F1 01F1E8',' 01F1F1 01F1EE',' 01F1F1 01F1F0',' 01F1F1 01F1F7',' 01F1F1 01F1F8',' 01F1F1 01F1F9',' 01F1F1 01F1FA','',' 01F1F1 01F1FE',' 01F1F2 01F1E6',' 01F1F2 01F1E8',' 01F1F2 01F1E9',' 01F1F2 01F1EA',' 01F1F2 01F1EB',' 01F1F2 01F1EC',' 01F1F2 01F1ED',' 01F1F2 01F1F0',' 01F1F2 01F1F1',' 01F1F2 01F1F2',' 01F1F2 01F1F3',' 01F1F2 01F1F4',' 01F1F2 01F1F5',' 01F1F2 01F1F6',' 01F1F2 01F1F7',' 01F1F2 01F1F8',' 01F1F2 01F1F9',' 01F1F2 01F1FA','',' 01F1F2 01F1FC',' 01F1F2 01F1FD',' 01F1F2 01F1FE',' 01F1F2 01F1FF',' 01F1F3 01F1E6',' 01F1F3 01F1E8',' 01F1F3 01F1EA',' 01F1F3 01F1EB',' 01F1F3 01F1EC',' 01F1F3 01F1EE',' 01F1F3 01F1F1',' 01F1F3 01F1F4',' 01F1F3 01F1F5',' 01F1F3 01F1F7',' 01F1F3 01F1FA',' 01F1F3 01F1FF',' 01F1F4 01F1F2',' 01F1F5 01F1E6',' 01F1F5 01F1EA','',' 01F1F5 01F1EC',' 01F1F5 01F1ED',' 01F1F5 01F1F0',' 01F1F5 01F1F1',' 01F1F5 01F1F2',' 01F1F5 01F1F3',' 01F1F5 01F1F7',' 01F1F5 01F1F8',' 01F1F5 01F1F9',' 01F1F5 01F1FC',' 01F1F5 01F1FE',' 01F1F6 01F1E6',' 01F1F7 01F1EA',' 01F1F7 01F1F4',' 01F1F7 01F1F8',' 01F1F7 01F1FA',' 01F1F7 01F1FC',' 01F1F8 01F1E6',' 01F1F8 01F1E7','',' 01F1F8 01F1E9',' 01F1F8 01F1EA',' 01F1F8 01F1EC',' 01F1F8 01F1ED',' 01F1F8 01F1EE',' 01F1F8 01F1EF',' 01F1F8 01F1F0',' 01F1F8 01F1F1',' 01F1F8 01F1F2',' 01F1F8 01F1F3',' 01F1F8 01F1F4',' 01F1F8 01F1F7',' 01F1F8 01F1F8',' 01F1F8 01F1F9',' 01F1F8 01F1FB',' 01F1F8 01F1FD',' 01F1F8 01F1FE',' 01F1F8 01F1FF',' 01F1F9 01F1E6','',' 01F1F9 01F1E9',' 01F1F9 01F1EB',' 01F1F9 01F1EC',' 01F1F9 01F1ED',' 01F1F9 01F1EF',' 01F1F9 01F1F0',' 01F1F9 01F1F1',' 01F1F9 01F1F2',' 01F1F9 01F1F3',' 01F1F9 01F1F4',' 01F1F9 01F1F7',' 01F1F9 01F1F9',' 01F1F9 01F1FB',' 01F1F9 01F1FC',' 01F1F9 01F1FF',' 01F1FA 01F1E6',' 01F1FA 01F1EC',' 01F1FA 01F1F2',' 01F1FA 01F1F3','',' 01F1FA 01F1FE',' 01F1FA 01F1FF',' 01F1FB 01F1E6',' 01F1FB 01F1E8',' 01F1FB 01F1EA',' 01F1FB 01F1EC',' 01F1FB 01F1EE',' 01F1FB 01F1F3',' 01F1FB 01F1FA',' 01F1FC 01F1EB',' 01F1FC 01F1F8',' 01F1FD 01F1F0',' 01F1FE 01F1EA',' 01F1FE 01F1F9',' 01F1FF 01F1E6',' 01F1FF 01F1F2',' 01F1FF 01F1FC'];
countrynames=['shortcake','bento box','rice cracker','rice ball','cooked rice','curry rice','steaming bowl','spaghetti','roasted sweet potato','oden','sushi','fried shrimp','fish cake with swirl','dango','soft ice cream','shaved ice','ice cream','doughnut','cookie','birthday cake'];
contentbits=[' 01F370',' 01f371',' 01f358',' 01f359',' 01f35a',' 01f35b',' 01f35c',' 01f35d',' 01f360',' 01f362',' 01f363',' 01f364',' 01f365',' 01f361',' 01F366',' 01F367',' 01F368',' 01F369',' 01F36A',' 01F382'];
rize();
} else if (flag == ' ') { // Flag Animal
flagsuffix='Flag Animal';
countrynamestwo=['Andorra','United Arab Emirates','Afghanistan','Antigua and Barbuda','Anguilla','Albania','Armenia','Angola','Antarctica','Argentina','American Samoa','Austria','Australia','Aruba','ร…land Islands','Azerbaijan','Bosnia and Herzegovina','Barbados','Bangladesh','Belgium','Burkina Faso','Bulgaria','Bahrain','Burundi','Benin','St. Barthรฉlemy','Bermuda','Brunei','Bolivia','Caribbean Netherlands','Brazil','Bahamas','Bhutan','Bouvet Island','Botswana','Belarus','Belize','Canada','Cocos (Keeling) Islands','Congo - Kinshasa','Central African Republic','Congo - Brazzaville','Switzerland','Cรดte dโ€™Ivoire','Cook Islands','Chile','Cameroon','China','Colombia','Clipperton Island','Costa Rica','Cuba','Cape Verde','Curaรงao','Christmas Island','Cyprus','Czechia','Germany','Diego Garcia','Djibouti','Denmark','Dominica','Dominican Republic','Algeria','Ceuta and Melilla','Ecuador','Estonia','Egypt','Western Sahara','Eritrea','Spain','Ethiopia','European Union','Finland','Fiji','Falkland Islands','Micronesia','Faroe Islands','France','Gabon','United Kingdom','Grenada','Georgia','French Guiana','Guernsey','Ghana','Gibraltar','Greenland','Gambia','Guinea','Guadeloupe','Equatorial Guinea','Greece','South Georgia and South Sandwich Islands','Guatemala','Guam','Guinea-Bissau','Guyana','Hong Kong SAR China','Heard and McDonald Islands','Honduras','Croatia','Haiti','Hungary','Canary Islands','Indonesia','Ireland','Israel','Isle of Man','India','British Indian Ocean Territory','Iraq','Iran','Iceland','Italy','Jersey','Jamaica','Jordan','Japan','Kenya','Kyrgyzstan','Cambodia','Kiribati','Comoros','St. Kitts and Nevis','North Korea','South Korea','Kuwait','Cayman Islands','Kazakhstan','Laos','Lebanon','St. Lucia','Liechtenstein','Sri Lanka','Liberia','Lesotho','Lithuania','Luxembourg','Latvia','Libya','Morocco','Monaco','Moldova','Montenegro','St. Martin','Madagascar','Marshall Islands','Macedonia','Mali','Myanmar (Burma)','Mongolia','Macau SAR China','Northern Mariana Islands','Martinique','Mauritania','Montserrat','Malta','Mauritius','Maldives','Malawi','Mexico','Malaysia','Mozambique','Namibia','New Caledonia','Niger','Norfolk Island','Nigeria','Nicaragua','Netherlands','Norway','Nepal','Nauru','Niue','New Zealand','Oman','Panama','Peru','French Polynesia','Papua New Guinea','Philippines','Pakistan','Poland','St. Pierre and Miquelon','Pitcairn Islands','Puerto Rico','Palestinian Territories','Portugal','Palau','Paraguay','Qatar','Rรฉunion','Romania','Serbia','Russia','Rwanda','Saudi Arabia','Solomon Islands','Seychelles','Sudan','Sweden','Singapore','St. Helena','Slovenia','Svalbard and Jan Mayen','Slovakia','Sierra Leone','San Marino','Senegal','Somalia','Suriname','South Sudan','Sรฃo Tomรฉ and Prรญncipe','El Salvador','Sint Maarten','Syria','Swaziland','Tristan da Cunha','Turks and Caicos Islands','Chad','French Southern Territories','Togo','Thailand','Tajikistan','Tokelau','Timor-Leste','Turkmenistan','Tunisia','Tonga','Turkey','Trinidad and Tobago','Tuvalu','Taiwan','Tanzania','Ukraine','Uganda','U.S. Outlying Islands','United Nations','United States','Uruguay','Uzbekistan','Vatican City','St. Vincent and Grenadines','Venezuela','British Virgin Islands','U.S. Virgin Islands','Vietnam','Vanuatu','Wallis and Futuna','Samoa','Kosovo','Yemen','Mayotte','South Africa','Zambia','Zimbabwe'];
contentbitstwo=[' 01F1E6 01F1E9',' 01F1E6 01F1EA',' 01F1E6 01F1EB',' 01F1E6 01F1EC',' 01F1E6 01F1EE',' 01F1E6 01F1F1',' 01F1E6 01F1F2',' 01F1E6 01F1F4',' 01F1E6 01F1F6',' 01F1E6 01F1F7',' 01F1E6 01F1F8',' 01F1E6 01F1F9',' 01F1E6 01F1FA',' 01F1E6 01F1FC',' 01F1E6 01F1FD',' 01F1E6 01F1FF',' 01F1E7 01F1E6',' 01F1E7 01F1E7',' 01F1E7 01F1E9','',' 01F1E7 01F1EB',' 01F1E7 01F1EC',' 01F1E7 01F1ED',' 01F1E7 01F1EE',' 01F1E7 01F1EF',' 01F1E7 01F1F1',' 01F1E7 01F1F2',' 01F1E7 01F1F3',' 01F1E7 01F1F4',' 01F1E7 01F1F6',' 01F1E7 01F1F7',' 01F1E7 01F1F8',' 01F1E7 01F1F9',' 01F1E7 01F1FB',' 01F1E7 01F1FC',' 01F1E7 01F1FE',' 01F1E7 01F1FF',' 01F1E8 01F1E6',' 01F1E8 01F1E8','',' 01F1E8 01F1EB',' 01F1E8 01F1EC',' 01F1E8 01F1ED',' 01F1E8 01F1EE',' 01F1E8 01F1F0',' 01F1E8 01F1F1',' 01F1E8 01F1F2',' 01F1E8 01F1F3',' 01F1E8 01F1F4',' 01F1E8 01F1F5',' 01F1E8 01F1F7',' 01F1E8 01F1FA',' 01F1E8 01F1FB',' 01F1E8 01F1FC',' 01F1E8 01F1FD',' 01F1E8 01F1FE',' 01F1E8 01F1FF',' 01F1E9 01F1EA',' 01F1E9 01F1EC','',' 01F1E9 01F1F0',' 01F1E9 01F1F2',' 01F1E9 01F1F4',' 01F1E9 01F1FF',' 01F1EA 01F1E6',' 01F1EA 01F1E8',' 01F1EA 01F1EA',' 01F1EA 01F1EC',' 01F1EA 01F1ED',' 01F1EA 01F1F7',' 01F1EA 01F1F8',' 01F1EA 01F1F9',' 01F1EA 01F1FA',' 01F1EB 01F1EE',' 01F1EB 01F1EF',' 01F1EB 01F1F0',' 01F1EB 01F1F2',' 01F1EB 01F1F4',' 01F1EB 01F1F7','',' 01F1EC 01F1E7',' 01F1EC 01F1E9',' 01F1EC 01F1EA',' 01F1EC 01F1EB',' 01F1EC 01F1EC',' 01F1EC 01F1ED',' 01F1EC 01F1EE',' 01F1EC 01F1F1',' 01F1EC 01F1F2',' 01F1EC 01F1F3',' 01F1EC 01F1F5',' 01F1EC 01F1F6',' 01F1EC 01F1F7',' 01F1EC 01F1F8',' 01F1EC 01F1F9',' 01F1EC 01F1FA',' 01F1EC 01F1FC',' 01F1EC 01F1FE',' 01F1ED 01F1F0','',' 01F1ED 01F1F3',' 01F1ED 01F1F7',' 01F1ED 01F1F9',' 01F1ED 01F1FA',' 01F1EE 01F1E8',' 01F1EE 01F1E9',' 01F1EE 01F1EA',' 01F1EE 01F1F1',' 01F1EE 01F1F2',' 01F1EE 01F1F3',' 01F1EE 01F1F4',' 01F1EE 01F1F6',' 01F1EE 01F1F7',' 01F1EE 01F1F8',' 01F1EE 01F1F9',' 01F1EF 01F1EA',' 01F1EF 01F1F2',' 01F1EF 01F1F4',' 01F1EF 01F1F5','',' 01F1F0 01F1EC',' 01F1F0 01F1ED',' 01F1F0 01F1EE',' 01F1F0 01F1F2',' 01F1F0 01F1F3',' 01F1F0 01F1F5',' 01F1F0 01F1F7',' 01F1F0 01F1FC',' 01F1F0 01F1FE',' 01F1F0 01F1FF',' 01F1F1 01F1E6',' 01F1F1 01F1E7',' 01F1F1 01F1E8',' 01F1F1 01F1EE',' 01F1F1 01F1F0',' 01F1F1 01F1F7',' 01F1F1 01F1F8',' 01F1F1 01F1F9',' 01F1F1 01F1FA','',' 01F1F1 01F1FE',' 01F1F2 01F1E6',' 01F1F2 01F1E8',' 01F1F2 01F1E9',' 01F1F2 01F1EA',' 01F1F2 01F1EB',' 01F1F2 01F1EC',' 01F1F2 01F1ED',' 01F1F2 01F1F0',' 01F1F2 01F1F1',' 01F1F2 01F1F2',' 01F1F2 01F1F3',' 01F1F2 01F1F4',' 01F1F2 01F1F5',' 01F1F2 01F1F6',' 01F1F2 01F1F7',' 01F1F2 01F1F8',' 01F1F2 01F1F9',' 01F1F2 01F1FA','',' 01F1F2 01F1FC',' 01F1F2 01F1FD',' 01F1F2 01F1FE',' 01F1F2 01F1FF',' 01F1F3 01F1E6',' 01F1F3 01F1E8',' 01F1F3 01F1EA',' 01F1F3 01F1EB',' 01F1F3 01F1EC',' 01F1F3 01F1EE',' 01F1F3 01F1F1',' 01F1F3 01F1F4',' 01F1F3 01F1F5',' 01F1F3 01F1F7',' 01F1F3 01F1FA',' 01F1F3 01F1FF',' 01F1F4 01F1F2',' 01F1F5 01F1E6',' 01F1F5 01F1EA','',' 01F1F5 01F1EC',' 01F1F5 01F1ED',' 01F1F5 01F1F0',' 01F1F5 01F1F1',' 01F1F5 01F1F2',' 01F1F5 01F1F3',' 01F1F5 01F1F7',' 01F1F5 01F1F8',' 01F1F5 01F1F9',' 01F1F5 01F1FC',' 01F1F5 01F1FE',' 01F1F6 01F1E6',' 01F1F7 01F1EA',' 01F1F7 01F1F4',' 01F1F7 01F1F8',' 01F1F7 01F1FA',' 01F1F7 01F1FC',' 01F1F8 01F1E6',' 01F1F8 01F1E7','',' 01F1F8 01F1E9',' 01F1F8 01F1EA',' 01F1F8 01F1EC',' 01F1F8 01F1ED',' 01F1F8 01F1EE',' 01F1F8 01F1EF',' 01F1F8 01F1F0',' 01F1F8 01F1F1',' 01F1F8 01F1F2',' 01F1F8 01F1F3',' 01F1F8 01F1F4',' 01F1F8 01F1F7',' 01F1F8 01F1F8',' 01F1F8 01F1F9',' 01F1F8 01F1FB',' 01F1F8 01F1FD',' 01F1F8 01F1FE',' 01F1F8 01F1FF',' 01F1F9 01F1E6','',' 01F1F9 01F1E9',' 01F1F9 01F1EB',' 01F1F9 01F1EC',' 01F1F9 01F1ED',' 01F1F9 01F1EF',' 01F1F9 01F1F0',' 01F1F9 01F1F1',' 01F1F9 01F1F2',' 01F1F9 01F1F3',' 01F1F9 01F1F4',' 01F1F9 01F1F7',' 01F1F9 01F1F9',' 01F1F9 01F1FB',' 01F1F9 01F1FC',' 01F1F9 01F1FF',' 01F1FA 01F1E6',' 01F1FA 01F1EC',' 01F1FA 01F1F2',' 01F1FA 01F1F3','',' 01F1FA 01F1FE',' 01F1FA 01F1FF',' 01F1FB 01F1E6',' 01F1FB 01F1E8',' 01F1FB 01F1EA',' 01F1FB 01F1EC',' 01F1FB 01F1EE',' 01F1FB 01F1F3',' 01F1FB 01F1FA',' 01F1FC 01F1EB',' 01F1FC 01F1F8',' 01F1FD 01F1F0',' 01F1FE 01F1EA',' 01F1FE 01F1F9',' 01F1FF 01F1E6',' 01F1FF 01F1F2',' 01F1FF 01F1FC'];
contentbits=[' 01F412',' 01F98D',' 01F415',' 01F408',' 01F405',' 01F406',' 01F40E',' 01F98C',' 01F402',' 01F403',' 01F404',' 01F416',' 01F417',' 01F411',' 01F410',' 01F42A',' 01F418',' 01F98F',' 01F401',' 01F407',' 01F987',' 01F428',' 01F983',' 01F414',' 01F427',' 01F54A',' 01F985',' 01F986',' 01F989',' 01F40A',' 01F422',' 01F98E',' 01F40D',' 01F40B',' 01F42C',' 01F421',' 01F988',' 01F980',' 01F990',' 01F991',' 01F40C',' 01F98B',' 01F41C',' 01F41D',' 01F41E',' 01F577',' 01F982'];
countrynames=['monkey','gorilla','dog','cat','tiger','leopard','horse','deer','ox','water buffalo','cow','pig','boar','sheep','goat','camel','elephant','rhinoceros','mouse','rabbit','bat','koala','turkey','chicken','penguin','dove','eagle','duck','owl','crocodile','turtle','lizard','snake','whale','dolphin','blowfish','shark','crab','shrimp','squid','snail','butterfly','ant','bee','lady beetle','spider','scorpion'];
rize();
} else if (flag == ' ') { // Animal Food
flagsuffix='Animal Food';
countrynames=['shortcake','bento box','rice cracker','rice ball','cooked rice','curry rice','steaming bowl','spaghetti','roasted sweet potato','oden','sushi','fried shrimp','fish cake with swirl','dango','soft ice cream','shaved ice','ice cream','doughnut','cookie','birthday cake'];
contentbits=[' 01F370',' 01f371',' 01f358',' 01f359',' 01f35a',' 01f35b',' 01f35c',' 01f35d',' 01f360',' 01f362',' 01f363',' 01f364',' 01f365',' 01f361',' 01F366',' 01F367',' 01F368',' 01F369',' 01F36A',' 01F382'];
contentbitstwo=[' 01F412',' 01F98D',' 01F415',' 01F408',' 01F405',' 01F406',' 01F40E',' 01F98C',' 01F402',' 01F403',' 01F404',' 01F416',' 01F417',' 01F411',' 01F410',' 01F42A',' 01F418',' 01F98F',' 01F401',' 01F407',' 01F987',' 01F428',' 01F983',' 01F414',' 01F427',' 01F54A',' 01F985',' 01F986',' 01F989',' 01F40A',' 01F422',' 01F98E',' 01F40D',' 01F40B',' 01F42C',' 01F421',' 01F988',' 01F980',' 01F990',' 01F991',' 01F40C',' 01F98B',' 01F41C',' 01F41D',' 01F41E',' 01F577',' 01F982'];
countrynamestwo=['monkey','gorilla','dog','cat','tiger','leopard','horse','deer','ox','water buffalo','cow','pig','boar','sheep','goat','camel','elephant','rhinoceros','mouse','rabbit','bat','koala','turkey','chicken','penguin','dove','eagle','duck','owl','crocodile','turtle','lizard','snake','whale','dolphin','blowfish','shark','crab','shrimp','squid','snail','butterfly','ant','bee','lady beetle','spider','scorpion'];
rize();
}
}
for (ii=0; ii<20; ii++) {
if (foodtocountry.length == 0) {
foodtocountry.push(Math.floor(Math.random() * Math.min(countrynames.length,contentbits.length)));
astyle=astyle.replace("</style>", " .f" + ii + ":before { content: '" + contentbits[eval('' + foodtocountry[0])].replace(' ','\\'.substring(0,1)).replace(' ','\\'.substring(0,1)) + "' } </style>");
countrytofood+='' + foodtocountry[0] + ',';
} else {
aguess='';
while (countrytofood.indexOf(',' + aguess + ',') != -1 || aguess == '') {
aguess='' + Math.floor(Math.random() * Math.min(contentbitstwo.length,Math.min(countrynamestwo.length,Math.min(countrynames.length,contentbits.length))));
}
foodtocountry.push(eval(aguess));
astyle=astyle.replace("</style>", " .f" + ii + ":before { content: '" + contentbits[eval(aguess)].replace(' ','\\'.substring(0,1)).replace(' ','\\'.substring(0,1)) + "' } </style>");
if (flag.trim() == '') {
astyle=astyle.replace("</style>", " .g" + ii + ":before { content: '" + contentbitstwo[eval(aguess)].replace(' ','\\'.substring(0,1)).replace(' ','\\'.substring(0,1)) + "' } </style>");
}
countrytofood+='' + aguess + ',';
}
}
document.write(astyle + " <sc" + "ript type='text/javascript'> for (var iy=0; iy" + String.fromCharCode(60) + "menu.length; iy++) { menu[iy]=countrynames[foodtocountry[iy]] + ';1.00'; } </sc" + "ript>");
</script>


</body>
</html>