<!doctype html>
<head>
<title>Window localStorage as Needed - RJM Programming - December, 2019</title>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
textarea {
  font-family:Consolas,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New, monospace;
}
.lefttd { 
  column-count: 4; 
  max-height: 35%; 
  vertical-align: top; 
  max-width: 70%; 
  font-size: 8px; 
  background-color: rgba(205,205,205,0.5);
  background-image: -webkit-gradient(
  linear,
  right bottom,
  left top,
  color-stop(0, rgba(205, 205, 205, 0.8)),
  color-stop(0.50, rgba(255, 255, 0, 0.2))
  );
  background-image: -o-linear-gradient(left top, rgba(205, 205, 205, 1) 0%, rgba(255, 255, 0, 0.2) 50%);
  background-image: -moz-linear-gradient(left top, rgba(205, 205, 205, 1) 0%, rgba(255, 255, 0, 0.2) 50%);
  background-image: -webkit-linear-gradient(left top, rgba(205, 205, 205, 1) 0%, rgba(255, 255, 0, 0.2) 50%);
  background-image: -ms-linear-gradient(left top, rgba(205, 205, 205, 1) 0%, rgba(255, 255, 0, 0.2) 50%);
  background-image: linear-gradient(to left top, rgba(205, 205, 205, 1) 0%, rgba(255, 255, 0, 0.2) 50%);
}
.glow {
  -webkit-animation: glow 1s ease-in-out infinite alternate;
  -moz-animation: glow 1s ease-in-out infinite alternate;
  animation: glow 1s ease-in-out infinite alternate;
}
/* Thanks to https://www.w3schools.com/howto/tryit.asp?filename=tryhow_css_glowing_text */
@-webkit-keyframes cglow {
  from {
    box-shadow: 0 0 3px #fff, 0 0 5px #fff, 0 0 37px #e60073, 0 0 9px #e60073, 0 0 11px #e60073, 0 0 13px #e60073, 0 0 15px #e60073;
  box-shadow-bottom-right-radius: 50%; // thanks to https://stackoverflow.com/questions/2714765/using-border-radius-and-box-shadow-together-css
  box-shadow-bottom-left-radius: 50%;
  box-shadow-top-right-radius: 50%;
  box-shadow-top-left-radius: 50%;
  }
  to {
    box-shadow: 0 0 24px #fff, 0 0 6px #ff4da6, 0 0 8px #ff4da6, 0 0 10px #ff4da6, 0 0 12px #ff4da6, 0 0 14px #ff4da6, 0 0 16px #ff4da6;
  box-shadow-bottom-right-radius: 50%; // thanks to https://stackoverflow.com/questions/2714765/using-border-radius-and-box-shadow-together-css
  box-shadow-bottom-left-radius: 50%;
  box-shadow-top-right-radius: 50%;
  box-shadow-top-left-radius: 50%;
  }
}
@-webkit-keyframes glow {
  from {
    box-shadow: 0 0 3px #fff, 0 0 5px #fff, 0 0 37px #e60073, 0 0 9px #e60073, 0 0 11px #e60073, 0 0 13px #e60073, 0 0 15px #e60073;
  }
  to {
    box-shadow: 0 0 24px #fff, 0 0 6px #ff4da6, 0 0 8px #ff4da6, 0 0 10px #ff4da6, 0 0 12px #ff4da6, 0 0 14px #ff4da6, 0 0 16px #ff4da6;
  }
}
.dglow {
     -webkit-animation: dglow 1s ease-in-out infinite alternate;
     -moz-animation: dglow 1s ease-in-out infinite alternate;
     animation: dglow 1s ease-in-out infinite alternate;
}
/* Thanks to https://www.w3schools.com/howto/tryit.asp?filename=tryhow_css_glowing_text */
@-webkit-keyframes dglow {
  from {
    box-shadow: 0 0 24px #fff, 0 0 6px #da6ff4, 0 0 8px #da6ff4, 0 0 10px #da6ff4, 0 0 12px #da6ff4, 0 0 14px #da6ff4, 0 0 16px #da6ff4;
  }
  to {
    box-shadow: 0 0 3px #fff, 0 0 5px #fff, 0 0 37px #073e60, 0 0 9px #073e60, 0 0 11px #073e60, 0 0 13px #073e60, 0 0 15px #073e60;
  }
}
</style>
<script type='text/javascript'>
if (!String.fromCodePoint) {   // thanks to http://xahlee.info/js/js_unicode_code_point.html
// ES6 Unicode Shims 0.1 , © 2012 Steven Levithan , MIT License
    String.fromCodePoint = function fromCodePoint () {
        var chars = [], point, offset, units, i;
        for (i = 0; i < arguments.length; ++i) {
            point = arguments[i];
            offset = point - 0x10000;
            units = point > 0xFFFF ? [0xD800 + (offset >> 10), 0xDC00 + (offset & 0x3FF)] : [point];
            chars.push(String.fromCharCode.apply(null, units));
        }
        return chars.join("");
    }
}
if (document.URL.indexOf('countries=') != -1 && document.URL.indexOf('http:') != -1 && document.URL.indexOf('rjmprogramming.com.au') != -1) {
   location.href='https://www.rjmprogramming.com.au' + document.URL.split('rjmprogramming.com.au')[1];
}
var lri="ABCDEFGHIJKLMNOPQRSTUVWXYZ";
var dri=["127462","127463","127464","127465","127466","127467","127468","127469","127470","127471","127472","127473","127474","127475","127476","127477","127478","127479","127480","127481","127482","127483","127484","127485","127486","127487"];
var datamode="localStorage";
var ao;
var aohref='mailto:?subject=Capitals%20of%20Countries%20%2e%2e%2e%20can%20copy%20in%20clipboard%20contents&body=';
var bo;
var bohref='sms:?subject=Capitals%20of%20Countries%20%2e%2e%2e%20can%20copy%20in%20clipboard%20contents&body=';
var numlines=0;
var readlat=0.0;
var readlong=0.0;
var neveragain=false;
var uclio=[];
var gmi=location.search.split('gmi=')[1] ? true : false;
var enteredcity=false;
var firstclick=true;
var placegeosuffix='';
var isgeo=true;
var bup='';
var lastemail='';
var lastsms='';
var tablemode='';
var selem='';
var goThrough=0;
var img1, img2, img5, div5;
var seleval='';
var lastseleval='';
var gapiref='';
var gapiprefix='https://www.wunderground.com/q/';
var lasttr=null;
var nothere=false;
var newo='';
var relevant=false;
var scplist='';
var thiscc='';
var lasttrid='';
var hangon=false;
var andlinkit=location.search.split('andlinkit=')[1] ? true : false;
var trcount=1;
var thiscount=1;
var futuregnpl='';
var gnpl='';
var gdoit=false;
var wiois=null;
var countryis='';
var placeis='';
var ssdata='';
var thisccstr='';
var elem=null;
var context;
var cf = "16px Verdana"; //Courier New";
var phpexists=false;
var getoneorother=location.search.split('oneorother=')[1] ? decodeURIComponent(location.search.split('oneorother=')[1].split('&')[0]).replace(/\+/g,' ') : '';
var getcapitals=location.search.split('capitals=')[1] ? decodeURIComponent(location.search.split('capitals=')[1].split('&')[0]).replace(/\+/g,' ') : '';
var getcountries=location.search.split('countries=')[1] ? decodeURIComponent(location.search.split('countries=')[1].split('&')[0]).replace(/\+/g,' ') : '';
var zhr=null;
var url='';
var zok=0;
var bprefix='';
var firstopt='';
var wasopts='';
var restopts='';
var restoptsz='';
var gcty='';
var neveragain=false;
var atcurl='//www.rjmprogramming.com.au/PHP/AnnotatedTimelineChart/annotatedtimeline_chart.php?atc_title=Trip%20Plan%20Itinerary&atc_task=&atc_title1=From%20Departure%20Place&atc_text1=From%20Comments&atc_task1=From%20Numeric&atc_title2=To%20Arrival%20Comments&atc_text2=Arrival%20Place&atc_task2=To%20Numeric';
var atcwo=null;
var usuffx='';
var bname='_blank';
// Democratic Republic of the Congo, Republic of the Congo, Cote d'Ivoire, Kosovo, Kyrgyzstan, Laos, Myanmar (Burma), North Korea, Palestine, South Korea, South Sudan, Vatican City (Holy See), 
var tzp=',"Africa/Abidjan","Africa/Accra","Africa/Addis_Ababa","Africa/Algiers","Africa/Asmara","Africa/Bamako","Africa/Bangui","Africa/Banjul","Africa/Bissau","Africa/Blantyre","Africa/Brazzaville","Africa/Bujumbura","Africa/Cairo","Africa/Casablanca","Africa/Ceuta","Africa/Conakry","Africa/Dakar","Africa/Dar_es_Salaam","Africa/Djibouti","Africa/Douala","Africa/El_Aaiun","Africa/Freetown","Africa/Gaborone","Africa/Harare","Africa/Johannesburg","Africa/Juba","Africa/Kampala","Africa/Khartoum","Africa/Kigali","Africa/Kinshasa","Africa/Lagos","Africa/Libreville","Africa/Lome","Africa/Luanda","Africa/Lubumbashi","Africa/Lusaka","Africa/Malabo","Africa/Maputo","Africa/Maseru","Africa/Mbabane","Africa/Mogadishu","Africa/Monrovia","Africa/Nairobi","Africa/Ndjamena","Africa/Niamey","Africa/Nouakchott","Africa/Ouagadougou","Africa/Porto-Novo","Africa/Sao_Tome","Africa/Tripoli","Africa/Tunis","Africa/Windhoek","America/Adak","America/Anchorage","America/Anguilla","America/Antigua","America/Araguaina","America/Argentina/Buenos_Aires","America/Argentina/Catamarca","America/Argentina/Cordoba","America/Argentina/Jujuy","America/Argentina/La_Rioja","America/Argentina/Mendoza","America/Argentina/Rio_Gallegos","America/Argentina/Salta","America/Argentina/San_Juan","America/Argentina/San_Luis","America/Argentina/Tucuman","America/Argentina/Ushuaia","America/Aruba","America/Asuncion","America/Atikokan","America/Bahia","America/Bahia_Banderas","America/Barbados","America/Belem","America/Belize","America/Blanc-Sablon","America/Boa_Vista","America/Bogota","America/Boise","America/Cambridge_Bay","America/Campo_Grande","America/Cancun","America/Caracas","America/Cayenne","America/Cayman","America/Chicago","America/Chihuahua","America/Costa_Rica","America/Creston","America/Cuiaba","America/Curacao","America/Danmarkshavn","America/Dawson","America/Dawson_Creek","America/Denver","America/Detroit","America/Dominica","America/Edmonton","America/Eirunepe","America/El_Salvador","America/Fortaleza","America/Glace_Bay","America/Godthab","America/Goose_Bay","America/Grand_Turk","America/Grenada","America/Guadeloupe","America/Guatemala","America/Guayaquil","America/Guyana","America/Halifax","America/Havana","America/Hermosillo","America/Indiana/Indianapolis","America/Indiana/Knox","America/Indiana/Marengo","America/Indiana/Petersburg","America/Indiana/Tell_City","America/Indiana/Vevay","America/Indiana/Vincennes","America/Indiana/Winamac","America/Inuvik","America/Iqaluit","America/Jamaica","America/Juneau","America/Kentucky/Louisville","America/Kentucky/Monticello","America/Kralendijk","America/La_Paz","America/Lima","America/Los_Angeles","America/Lower_Princes","America/Maceio","America/Managua","America/Manaus","America/Marigot","America/Martinique","America/Matamoros","America/Mazatlan","America/Menominee","America/Merida","America/Metlakatla","America/Mexico_City","America/Miquelon","America/Moncton","America/Monterrey","America/Montevideo","America/Montreal","America/Montserrat","America/Nassau","America/New_York","America/Nipigon","America/Nome","America/Noronha","America/North_Dakota/Beulah","America/North_Dakota/Center","America/North_Dakota/New_Salem","America/Ojinaga","America/Panama","America/Pangnirtung","America/Paramaribo","America/Phoenix","America/Port-au-Prince","America/Port_of_Spain","America/Porto_Velho","America/Puerto_Rico","America/Rainy_River","America/Rankin_Inlet","America/Recife","America/Regina","America/Resolute","America/Rio_Branco","America/Santa_Isabel","America/Santarem","America/Santiago","America/Santo_Domingo","America/Sao_Paulo","America/Scoresbysund","America/Shiprock","America/Sitka","America/St_Barthelemy","America/St_Johns","America/St_Kitts","America/St_Lucia","America/St_Thomas","America/St_Vincent","America/Swift_Current","America/Tegucigalpa","America/Thule","America/Thunder_Bay","America/Tijuana","America/Toronto","America/Tortola","America/Vancouver","America/Whitehorse","America/Winnipeg","America/Yakutat","America/Yellowknife","Asia/Aden","Asia/Almaty","Asia/Amman","Asia/Anadyr","Asia/Aqtau","Asia/Aqtobe","Asia/Ashgabat","Asia/Baghdad","Asia/Bahrain","Asia/Baku","Asia/Bangkok","Asia/Beirut","Asia/Bishkek","Asia/Brunei","Asia/Choibalsan","Asia/Chongqing","Asia/Colombo","Asia/Damascus","Asia/Dhaka","Asia/Dili","Asia/Dubai","Asia/Dushanbe","Asia/Gaza","Asia/Harbin","Asia/Hebron","Asia/Ho_Chi_Minh","Asia/Hong_Kong","Asia/Hovd","Asia/Irkutsk","Asia/Jakarta","Asia/Jayapura","Asia/Jerusalem","Asia/Kabul","Asia/Kamchatka","Asia/Karachi","Asia/Kashgar","Asia/Kathmandu","Asia/Kolkata","Asia/Krasnoyarsk","Asia/Kuala_Lumpur","Asia/Kuching","Asia/Kuwait","Asia/Macau","Asia/Magadan","Asia/Makassar","Asia/Manila","Asia/Muscat","Asia/Nicosia","Asia/Novokuznetsk","Asia/Novosibirsk","Asia/Omsk","Asia/Oral","Asia/Phnom_Penh","Asia/Pontianak","Asia/Pyongyang","Asia/Qatar","Asia/Qyzylorda","Asia/Rangoon","Asia/Riyadh","Asia/Sakhalin","Asia/Samarkand","Asia/Seoul","Asia/Shanghai","Asia/Singapore","Asia/Taipei","Asia/Tashkent","Asia/Tbilisi","Asia/Tehran","Asia/Thimphu","Asia/Tokyo","Asia/Ulaanbaatar","Asia/Urumqi","Asia/Vientiane","Asia/Vladivostok","Asia/Yakutsk","Asia/Yekaterinburg","Asia/Yerevan","Atlantic/Azores","Atlantic/Bermuda","Atlantic/Canary","Atlantic/Cape_Verde","Atlantic/Faroe","Atlantic/Madeira","Atlantic/Reykjavik","Atlantic/South_Georgia","Atlantic/St_Helena","Atlantic/Stanley","Australia/Sydney","Australia/Adelaide","Australia/Brisbane","Australia/Broken_Hill","Australia/Currie","Australia/Darwin","Australia/Eucla","Australia/Hobart","Australia/Lindeman","Australia/Lord_Howe","Australia/Melbourne","Europe/Amsterdam","Europe/Andorra","Europe/Athens","Europe/Belgrade","Europe/Berlin","Europe/Bratislava","Europe/Brussels","Europe/Bucharest","Europe/Budapest","Europe/Chisinau","Europe/Copenhagen","Europe/Dublin","Europe/Gibraltar","Europe/Guernsey","Europe/Helsinki","Europe/Isle_of_Man","Europe/Istanbul","Europe/Jersey","Europe/Kaliningrad","Europe/Kiev","Europe/Lisbon","Europe/Ljubljana","Europe/Luxembourg","Europe/Madrid","Europe/Malta","Europe/Mariehamn","Europe/Minsk","Europe/Monaco","Europe/Moscow","Europe/Oslo","Europe/Paris","Europe/Podgorica","Europe/Prague","Europe/Riga","Europe/Rome","Europe/Samara","Europe/San_Marino","Europe/Sarajevo","Europe/Simferopol","Europe/Skopje","Europe/Sofia","Europe/Stockholm","Europe/Tallinn","Europe/Tirane","Europe/Uzhgorod","Europe/Vaduz","Europe/Vatican","Europe/Vienna","Europe/Vilnius","Europe/Volgograd","Europe/Warsaw","Europe/Zagreb","Europe/Zaporozhye","Europe/Zurich","Indian/Antananarivo","Indian/Chagos","Indian/Christmas","Indian/Cocos","Indian/Comoro","Indian/Kerguelen","Indian/Mahe","Indian/Maldives","Indian/Mauritius","Indian/Mayotte","Indian/Reunion","Pacific/Apia","Pacific/Auckland","Pacific/Chatham","Pacific/Chuuk","Pacific/Easter","Pacific/Efate","Pacific/Enderbury","Pacific/Fakaofo","Pacific/Fiji","Pacific/Funafuti","Pacific/Galapagos","Pacific/Gambier","Pacific/Guadalcanal","Pacific/Guam","Pacific/Honolulu","Pacific/Johnston","Pacific/Kiritimati","Pacific/Kosrae","Pacific/Kwajalein","Pacific/Majuro","Pacific/Marquesas","Pacific/Midway","Pacific/Nauru","Pacific/Niue","Pacific/Norfolk","Pacific/Noumea","Pacific/Pago_Pago","Pacific/Palau","Pacific/Pitcairn","Pacific/Pohnpei","Pacific/Port_Moresby","Pacific/Rarotonga","Pacific/Saipan","Pacific/Tahiti","Pacific/Tarawa","Pacific/Tongatapu","Pacific/Wake","Pacific/Wallis","Australia/Perth","Antarctica/Troll","Asia/Chita","Asia/Khandyga","Asia/Srednekolymsk","Asia/Ust-Nera","Europe/Busingen","Pacific/Bougainville","America/Fort_Nelson","Asia/Atyrau","Asia/Barnaul","Asia/Famagusta","Asia/Tomsk","Europe/London","Antarctica/Casey","Antarctica/Davis","Antarctica/DumontDUrville","Antarctica/Macquarie","Antarctica/Mawson","Antarctica/McMurdo","Antarctica/Palmer","Antarctica/Rothera","Antarctica/South_Pole","Antarctica/Syowa","Antarctica/Vostok","Arctic/Longyearbyen",';
var tzphelper='|';
var prevplace='', prevlat='', prevlong='', prevcc='';
var isChrome = false; // /Chrome/.test(navigator.userAgent) && /Google Inc/.test(navigator.vendor);
var isSafari = false; // /Safari/.test(navigator.userAgent) && /Apple Computer/.test(navigator.vendor);
var isWebKit = false; // !!window.webkitURL;
var isOpera = false; // (navigator.userAgent.match(/Opera|OPR\//) ? true : false);
var isIE = false; // (navigator.userAgent.indexOf("MSIE") != -1);
var isiPad = false; // navigator.userAgent.match(/iPad/i) != null;
if (window.parent) {
isChrome = /Chrome/.test(navigator.userAgent) && /Google Inc/.test(navigator.vendor);
isSafari = /Safari/.test(navigator.userAgent) && /Apple Computer/.test(navigator.vendor);
isWebKit = !!window.webkitURL;
isOpera = (navigator.userAgent.match(/Opera|OPR\//) ? true : false);
isIE = (navigator.userAgent.indexOf("MSIE") != -1);
isiPad = navigator.userAgent.match(/iPad/i) != null;
//alert(isChrome);
}
function maybeifsgetto(iniframebit) {
  if (parent.document.getElementById('ifsgetto')) {   
    //alert(iniframebit.split(' src="')[1].split('"')[0]);
    //parent.document.getElementById('tdright').innerHTML=iniframebit;
    parent.document.getElementById('ifsgetto').src=iniframebit.split(' src="')[1].split('"')[0] + '&rand=' + Math.floor(Math.random() * 19876543);
    parent.document.title+=iniframebit.split(' src="')[1].split('"')[0];
    neveragain=true;
    return '';
  }
  return iniframebit;
}
function curlit(durl) {
  if (durl.indexOf('?') == -1) {
    return durl + '?rand=' + Math.floor(Math.random() * 1987654);
  } else {
    return durl.replace('rand=','ranxd=') + '&rand=' + Math.floor(Math.random() * 1987654);
  }
}
function scapitals_sele_bad() {
  var huhsc=document.getElementById('scapitals').innerHTML.split('</option>');
  var vssele=document.getElementById('selceq').innerHTML;
  for (var ih=0; ih<huhsc.length; ih++) {
   if (huhsc[ih].split('value="')[eval(-1 + huhsc[ih].split('value="').length)].split('"')[0] != '') {
     if (vssele.indexOf('>' + huhsc[ih].split('value="')[eval(-1 + huhsc[ih].split('value="').length)].split('"')[0]) == -1) {
       alert('not ok is ' + huhsc[ih].split('value="')[eval(-1 + huhsc[ih].split('value="').length)].split('"')[0]);
     } //else {
       //alert(huhsc[ih].split('value="')[eval(-1 + huhsc[ih].split('value="').length)].split('"')[0]);
     //}
    }
  }
} 
function gmiit() {
  if (gmi) {
    return '&gmi=y';
  }
  return '';
}
function orflag(indefe, cnameis) {
  var outdis=indefe;
  if (document.getElementById('selceq').innerHTML.indexOf('>' + cnameis) != -1) {
      thiscc=document.getElementById('selceq').innerHTML.split('>' + cnameis)[0].replace(/\"/g,'').split('=')[eval(-1 + document.getElementById('selceq').innerHTML.split('>' + cnameis)[0].replace(/\"/g,'').split('=').length)];
      var ccsuff='', ccchar=' ', cde='';
      for (var iccsuff=0; iccsuff<thiscc.length; iccsuff++) {
        ccchar=thiscc.substring(iccsuff, eval(1 + eval('' + iccsuff))).toUpperCase();
        ccsuff+=cde + ('' + dri[eval('' + lri.indexOf(ccchar))]); //'' + dri[eval('' + lri.indexOf(ccchar))] + ';';
        cde='.';
      }
      return ccsuff;
  }
  return outdis;
}
function geomapit(is_geo) {  // via uclio[Capital|Country]
  var iemoji=0;
  var xbits=[];
  var xcc='';
  var apurlis='//www.rjmprogramming.com.au/About_Us.html';
  var mpurlis='//www.rjmprogramming.com.au/About_Us.html';
  var emojiarrs=['127938','127755', '127958.65039'];
  var maplis="https://www.rjmprogramming.com.au/PHP/Map/map.php?title=My%20Trip%20Plan%20Itinerary&aregexographicals=y";
  var purlis0="https://www.rjmprogramming.com.au/PHP/GeoChart/geo_chart.php?title=My%20Trip%20Plan%20Itinerary&aregexographicals=y";
  var purlis1="&aregeographicals=http.Ice%2Chttp.Lakagigar_Volcano%2Chttp.Bora_Bora";
  var purlis2="&peninfo=75.57|-92.28|127938_Ice,64.04|-18.15|127755_Lakagigar_Volcano,-16.30|151.44|127958.65039_Bora_Bora";
  var purlis3="&width=556&height=346&country=Places&popularity=";
  var purlis4="&data=%20[75.57|-92.28|~Ice~,2]%20,%20[64.04|-18.15|~Lakagigar%20Volcano~,2]%20,%20[-16.30|151.44|~Bora%20Bora~,2]";
  var purlis5="&data=";
  var cwords=[], tci='', delim1='', delim2='', delim4='', delim5=',';
  
  purlis1=purlis1.split('=')[0] + '=';
  purlis2=purlis2.split('=')[0] + '=';
  purlis4=purlis4.split('=')[0] + '=';
  purlis5=purlis4.split('=')[0] + '=';
//<input type=hidden id=iaregeographicals name=aregeographicals value='http.Ice,http.Lakagigar_Volcano,http.Bora_Bora'></input>
//<input type=hidden id=ipeninfo name=peninfo value='75.57|-92.28|127938_Ice,64.04|-18.15|127755_Lakagigar_Volcano,-16.30|151.44|127958.65039_Bora_Bora'></input>
//<input type=hidden id=idata name=data value=' [75.57|-92.28|~Ice~,2] , [64.04|-18.15|~Lakagigar Volcano~,2] , [-16.30|151.44|~Bora Bora~,2]'></input>
// geosb
// sele <option value="Africa/Abidjan" data-geo="5.31666,-4.03334,GMT,CI,+0">Africa/Abidjan</option>
// selceq <option value="AF">Afghanistan</option>
  for (var ij=0; ij<uclio.length; ij++) {
    tci=uclio[ij].split('|')[1];
    cwords=tci.split(' ');
    if (document.getElementById('sele').innerHTML.toUpperCase().indexOf('/' + uclio[ij].split('|')[0].replace(/\ /g,'_').toUpperCase()) != -1) {
      purlis1+=delim1 + 'http.' + uclio[ij].split('|')[0].replace(/\ /g,'_');
      xbits=document.getElementById('sele').innerHTML.split('/' + uclio[ij].split('|')[0].replace(/\ /g,'_') + '" data-geo="')[1].split(',');
      purlis2+=delim2 + xbits[0] + '|'+ xbits[1] + '|' + orflag(emojiarrs[iemoji], uclio[ij].split('|')[1]) + '_' + uclio[ij].split('|')[0].replace(/\ /g,'_');
      purlis4+=encodeURIComponent(delim4) + encodeURIComponent(' [' + xbits[0] + '|'+ xbits[1] + '|~' + uclio[ij].split('|')[0] + '~,2] ');
      purlis5+=encodeURIComponent(delim5) + encodeURIComponent('[' + xbits[0] + ','+ xbits[1] + ',~' + uclio[ij].split('|')[0] + '~]');
      iemoji++;
      if (iemoji >= emojiarrs.length) { iemoji=0; }
      delim1=',';
      delim2=',+';
      delim4=',';
    } else if (tzphelper.indexOf('|' + uclio[ij].split('|')[0].replace(/\_/g,' ') + ',') != -1) { 
      tci=uclio[ij].split('|')[0].replace(/\ /g,'_');
      //alert('here with tci=' + tci);
      var olatis=tzphelper.split('|' + tci.replace(/\_/g,' ') + ',')[1].split('|')[0].split(',')[0];
      var olongis=tzphelper.split('|' + tci.replace(/\_/g,' ') + ',')[1].split('|')[0].split(',')[1];
      //alert('here with olatis=' + olatis);
      purlis1+=delim1 + 'http.' + tci.replace(/\ /g,'_');
      purlis2+=delim2 + olatis + '|'+ olongis + '|' + orflag(emojiarrs[iemoji], uclio[ij].split('|')[1]) + '_' + tci.replace(/\ /g,'_');
      purlis4+=encodeURIComponent(delim4) + encodeURIComponent(' [' + olatis + '|'+ olongis + '|~' + tci + '~,2] ');
      purlis5+=encodeURIComponent(delim5) + encodeURIComponent('[' + olatis + ','+ olongis + ',~' + tci + '~]');
      iemoji++;
      if (iemoji >= emojiarrs.length) { iemoji=0; }
      delim1=',';
      delim2=',+';
      delim4=',';
   } else if (document.getElementById('selceq').innerHTML.toUpperCase().indexOf('>' + tci.toUpperCase()) != -1) {
      xcc=document.getElementById('selceq').innerHTML.split('>' + tci)[0].replace(/\"/g,'').split('=')[eval(-1 + document.getElementById('selceq').innerHTML.split('>' + tci)[0].replace(/\"/g,'').split('=').length)].toUpperCase();
      if (document.getElementById('sele').innerHTML.toUpperCase().indexOf(',' + xcc + ',') != -1) {
      xbits=document.getElementById('sele').innerHTML.toUpperCase().split(',' + xcc + ',')[0].split('"')[eval(-1 + document.getElementById('sele').innerHTML.toUpperCase().split(',' + xcc + ',')[0].split('"').length)].split(',');
      purlis1+=delim1 + 'http.' + tci.replace(/\ /g,'_');
      purlis2+=delim2 + xbits[0] + '|'+ xbits[1] + '|' + orflag(emojiarrs[iemoji], uclio[ij].split('|')[1]) + '_' + tci.replace(/\ /g,'_');
      purlis4+=encodeURIComponent(delim4) + encodeURIComponent(' [' + xbits[0] + '|'+ xbits[1] + '|~' + tci + '~,2] ');
      purlis5+=encodeURIComponent(delim5) + encodeURIComponent('[' + xbits[0] + ','+ xbits[1] + ',~' + tci + '~]');
      iemoji++;
      if (iemoji >= emojiarrs.length) { iemoji=0; }
      delim1=',';
      delim2=',+';
      delim4=',';
      }
    }
  }
  var purlis=purlis0 + purlis1 + purlis2 + purlis3 + purlis4;
  maplis+=purlis1 + purlis2 + purlis3 + purlis5;
  if (1 == 1) {
  document.getElementById('iaregeographicals').value=purlis1.split('=')[1];
  document.getElementById('ipeninfo').value=purlis2.split('=')[1];
  document.getElementById('idata').value=decodeURIComponent(purlis4.split('=')[1]);
  document.getElementById('jdata').value=decodeURIComponent(purlis5.split('=')[1]);
  prepit();
  if (is_geo) {
  if (document.getElementById('tdrightreport').innerHTML.indexOf('mygeoframe') == -1) {
  document.getElementById('tdrightreport').innerHTML+='<br><a onclick="bname=' + "'" + '_blank' + "'" + '; tripplanit(null);" style="cursor:pointer;text-decoration:underline;margin-bottom:10px;background-color:yellow;">Trip Plan 📅 Itinerary</a> <a onclick="bname=' + "'" + 'mygeoframe' + "'" + '; tripplanit(null);" style="cursor:pointer;text-decoration:underline;margin-bottom:10px;background-color:lightblue;display:none;">Trip Plan 📅 Itinerary Below</a> <a onclick=enlarge(); style=cursor:pointer;text-decoration:none;background-color:lightgray;>Enlarge ➕ ➕ Map Below</a><br><iframe id=mygeoframe name=mygeoframe style="width:100%;height:600px;" src="' + apurlis.split('?')[0] + '"></iframe>'; //<br><br><iframe onload="tripplanit(this);" title="Trip Plan Itinerary" src="' + atcurl.replace('&atc_task=&', '&atc_task=' + eval(-1 + eval('' + uclio.length)) + '&') + '" style="width:100%;height:800px;"></iframe>';
  }
  if (document.getElementById('geoform').innerHTML.length < 1500) {
     document.getElementById('geoform').method='GET';
  } else {
     document.getElementById('geoform').method='POST';
  }
  document.getElementById('geosb').click();
  } else {
  if (document.getElementById('tdrightreport').innerHTML.indexOf('mygeoframe') == -1) {
  document.getElementById('tdrightreport').innerHTML+='<br><a onclick="bname=' + "'" + '_blank' + "'" + '; tripplanit(null);" style="cursor:pointer;text-decoration:underline;margin-bottom:10px;background-color:yellow;">Trip Plan 📅 Itinerary</a> <a onclick="bname=' + "'" + 'mygeoframe' + "'" + '; tripplanit(null);" style="cursor:pointer;text-decoration:underline;margin-bottom:10px;background-color:lightblue;display:none;">Trip Plan 📅 Itinerary Below</a> <a onclick=enlarge(); style=cursor:pointer;text-decoration:none;background-color:lightgray;>Enlarge ➕ ➕ Map Below</a><br><iframe id=mygeoframe name=mygeoframe style="width:100%;height:600px;" src="' + amaplis.split('?')[0] + '"></iframe>'; //<br><br><iframe onload="tripplanit(this);" title="Trip Plan Itinerary" src="' + atcurl.replace('&atc_task=&', '&atc_task=' + eval(-1 + eval('' + uclio.length)) + '&') + '" style="width:100%;height:800px;"></iframe>';
  }
  if (document.getElementById('mapform').innerHTML.length < 1500) {
     document.getElementById('mapform').method='GET';
  } else {
     document.getElementById('mapform').method='POST';
  }
  document.getElementById('mapsb').click();
  }
  //window.open('http:' +  atcurl.replace('&atc_task=&', '&atc_task=' + eval(-1 + eval('' + uclio.length)) + '&'), '_blank', 'top=100,left=100,width=800,height=800');
  } else {
  prepit();
  document.getElementById('tdrightreport').innerHTML+='<br><a onclick="bname=' + "'" + '_blank' + "'" + '; tripplanit(null);" style="cursor:pointer;text-decoration:underline;margin-bottom:10px;background-color:yellow;">Trip Plan 📅 Itinerary</a> <a onclick=enlarge(); style=cursor:pointer;text-decoration:none;background-color:lightgray;>Enlarge ➕ ➕ Map Below</a><br><iframe style="width:100%;height:600px;" src="' + purlis + '"></iframe>'; //<br><br><iframe onload="tripplanit(this);" title="Trip Plan Itinerary" src="' + atcurl.replace('&atc_task=&', '&atc_task=' + eval(-1 + eval('' + uclio.length)) + '&') + '" style="width:100%;height:800px;"></iframe>';
  //window.open('http:' +  atcurl.replace('&atc_task=&', '&atc_task=' + eval(-1 + eval('' + uclio.length)) + '&'), '_blank', 'top=100,left=100,width=800,height=800');
  }
}
function plusemoji(incty) {
    if (document.getElementById('selceq').innerHTML.toUpperCase().indexOf('>' + incty.toUpperCase().split(' (')[0]) != -1) {
      thiscc=document.getElementById('selceq').innerHTML.replace(/\"/g,'').toUpperCase().split('>' + incty.toUpperCase().split(' (')[0])[0].split('=')[eval(-1 + document.getElementById('selceq').innerHTML.replace(/\"/g,'').toUpperCase().split('>' + incty.toUpperCase().split(' (')[0])[0].split('=').length)];
      var ccsuff='', ccchar=' ';
      for (var iccsuff=0; iccsuff<thiscc.length; iccsuff++) {
        ccchar=thiscc.substring(iccsuff, eval(1 + eval('' + iccsuff))).toUpperCase();
        ccsuff+=String.fromCodePoint(eval('' + dri[eval('' + lri.indexOf(ccchar))])); //'' + dri[eval('' + lri.indexOf(ccchar))] + ';';
      }
      //document.getElementById('lastflag').innerHTML=ccsuff;
      //thisccstr+=',' + ccsuff.replace(/\&\#/g,'').replace(/\;/g,'') + '|' + thiscc + ',';
      //alert(incty + ' ' + ccsuff);
      if (scplist == '') {
          scplist=' ...';
      }
      scplist+=' ' + ccsuff;
      gcty=incty;
      return incty + ' ' + ccsuff;
    }
    gcty='';
    return incty;
}
function dragElement(elmnt) {  // thanks to https://www.w3schools.com/howto/howto_js_draggable.asp 
  var pos1 = 0, pos2 = 0, pos3 = 0, pos4 = 0;
  if (document.getElementById("d" + elmnt.id)) {
    // if present, the header is where you move the DIV from:
    document.getElementById("d" + elmnt.id).onmousedown = dragMouseDown;
  } else {
    // otherwise, move the DIV from anywhere inside the DIV:
    elmnt.onmousedown = dragMouseDown;
  }
  function dragMouseDown(e) {
    e = e || window.event;
    e.preventDefault();
    // get the mouse cursor position at startup:
    pos3 = e.clientX;
    pos4 = e.clientY;
    document.onmouseup = closeDragElement;
    // call a function whenever the cursor moves:
    document.onmousemove = elementDrag;
  }
  function elementDrag(e) {
    e = e || window.event;
    e.preventDefault();
    // calculate the new cursor position:
    pos1 = pos3 - e.clientX;
    pos2 = pos4 - e.clientY;
    pos3 = e.clientX;
    pos4 = e.clientY;
    // set the element's new position:
    elmnt.style.top = (elmnt.offsetTop - pos2) + "px";
    elmnt.style.left = (elmnt.offsetLeft - pos1) + "px";
  }
  function closeDragElement() {
    // stop moving when mouse button is released:
    document.onmouseup = null;
    document.onmousemove = null;
  }
}
function moveit(xm,ym) {
  document.getElementById('dmyiframe').style.left='' + eval(xm + eval('' + document.getElementById('dmyiframe').style.left.replace('px',''))) + 'px';
  document.getElementById('dmyiframe').style.top='' + eval(ym + eval('' + document.getElementById('dmyiframe').style.top.replace('px',''))) + 'px';
  document.getElementById('myiframe').style.left='' + eval(xm + eval('' + document.getElementById('myiframe').style.left.replace('px',''))) + 'px';
  document.getElementById('myiframe').style.top='' + eval(ym + eval('' + document.getElementById('myiframe').style.top.replace('px',''))) + 'px';
}
function readyitforsort(iselid) {
  var optsare=[];
  var spareopts='';
  var huhisel=document.getElementById(iselid).innerHTML;
  if (bup != '') { huhisel=bup;   }
  var huhsopts=huhisel.split('</option>');
  for (var ihuh=0; ihuh<huhsopts.length; ihuh++) {
    if (huhsopts[ihuh].trim() != '') {
      if (firstopt == '') {
        firstopt=huhsopts[ihuh] + '</option>';
      } else {
        wasopts+='<option ' + (huhsopts[ihuh].replace('option ','option data-ih="' + (huhsopts[ihuh].split('>')[eval(-1 + huhsopts[ihuh].split('>').length)].trim() + '" ')) + '</option>').split('<option ')[1].replace(String.fromCharCode(10),'').trim();
        optsare.push('<option ' + (huhsopts[ihuh].replace('option ','option data-ih="' + (huhsopts[ihuh].split('>')[eval(-1 + huhsopts[ihuh].split('>').length)].trim() + '" ')) + '</option>').split('<option ')[1].replace(String.fromCharCode(10),'').trim());
      } 
    }
  }
  optsare.sort(function (a, b) {
    return a.toLowerCase().localeCompare(b.toLowerCase());
   });
  for (var jhuh=0; jhuh<optsare.length; jhuh++) {
    restopts+=optsare[jhuh];
    spareopts=restoptsz;
    restoptsz=optsare[jhuh] + spareopts;
  }
  //alert(restoptsz);
}
function startat(thearr, startatchar) {
  var retarr='';
  if (thearr.indexOf('<option data-ih="' + startatchar.toUpperCase()) == -1) {
  return thearr;
  } else {
  var twobits=thearr.split('<option data-ih="' + startatchar.toUpperCase());
  retarr=thearr.replace(twobits[0],'') + twobits[0];
  }
  return retarr;
}
function getXMLHttpRequest() {
    if (window.XMLHttpRequest) {
        return new window.XMLHttpRequest;
    }
    else {
  try {
    return new ActiveXObject("Msxml2.XMLHTTP");
  } catch (othermicrosoft) {
    try {
      return new ActiveXObject("Microsoft.XMLHTTP");
    } catch (failed) {
      return false;
    }
  }
    }
}
function atn(){
  if (lasttr != null) { document.getElementById(lasttrid).className=''; }
}
function ajaxit(qselx, ois) {
  if (!neveragain) {
  if (lasttr != null && lasttrid != '') { if (1 == 1) {   document.getElementById(lasttrid).className='';  lasttrid=lasttr.id; } else { lasttrid=lasttr.id;  setTimeout(atn, 5000); } }
  if (qselx.indexOf('.php') != -1) {
   url=qselx;
   //alert(url);
   if (!zhr) {
     zhr = getXMLHttpRequest();
   } //else {
     //zok = 1;
   //}
   if (zhr != null) {
    zhr = zhr;
   } else {
    try {
     zhr = new ActiveXObject("Msxml2.XMLHTTP");
    } catch (othermicrosoft) {
     try {
      zhr = new ActiveXObject("Microsoft.XMLHTTP");
     } catch (failed) {
      zhr = false;
     }
    }
   }
   if (zhr) {
   //alert(987);
     if (url != '') {
     zhr.open("GET", url, true);
     zhr.onreadystatechange = xshowStuff;
     zhr.send(null);
     //alert(url);
     }
   } else {
     zok = 1; //alert("Sorry ... no XMLHttpRequest possible");
   }
  } else {
  var emojied=false;
  var words=[];
  var qsel=qselx.replace(/\ contenteditable\=\"true\"/g, '').replace(/\ contenteditable\=\"false\"/g, '').split('')[0].trim();
  if (qsel.split('</td').length == 3) {
    if (qsel.split('</td')[1].indexOf(' ') != -1) {
      words=qsel.split(' ');
      if (words[eval(-1 + words.length)].indexOf('</td>') != -1) {
       qsel=qsel.replace(' ' + words[eval(-1+ words.length)], '');
       emojied=true;
      }
    } 
  }
  placeis=qsel.split('</td>')[0].split('>')[eval(-1 + qsel.split('</td>')[0].split('>').length)].split('')[0].trim();
  countryis=qsel.split('</td>')[1].split('>')[eval(-1 + qsel.split('</td>')[1].split('>').length)].split('')[0].trim();
  thiscc='';
  document.getElementById('lastflag').innerHTML='';
  if (qselx.indexOf('') == -1 && !emojied) {
    if (document.getElementById('selceq').innerHTML.toUpperCase().indexOf('>' + countryis.toUpperCase().split(' (')[0]) != -1) {
      thiscc=document.getElementById('selceq').innerHTML.replace(/\"/g,'').toUpperCase().split('>' + countryis.toUpperCase().split(' (')[0])[0].split('=')[eval(-1 + document.getElementById('selceq').innerHTML.replace(/\"/g,'').toUpperCase().split('>' + countryis.toUpperCase().split(' (')[0])[0].split('=').length)];
      var ccsuff='', ccchar=' ';
      for (var iccsuff=0; iccsuff<thiscc.length; iccsuff++) {
        ccchar=thiscc.substring(iccsuff, eval(1 + eval('' + iccsuff))).toUpperCase();
        ccsuff+='' + dri[eval('' + lri.indexOf(ccchar))] + ';';
      }
      document.getElementById('lastflag').innerHTML=ccsuff;
      thisccstr+=',' + ccsuff.replace(/\&\#/g,'').replace(/\;/g,'') + '|' + thiscc + ',';
      var tddone=false;
      var tdsl=document.getElementsByTagName('td');
      for (var itdsl=0; itdsl<tdsl.length; itdsl++) {
        if (!tddone && tdsl[itdsl].innerHTML.toUpperCase().indexOf(countryis.toUpperCase()) != -1) {
          tdsl[itdsl].innerHTML=tdsl[itdsl].innerHTML + ' ' + ccsuff;
          //tddone=true;
        }
      }
      document.getElementById('dreport').innerHTML=document.getElementById('dreport').innerHTML.split('</table>')[0] + '</table>';
    }
    lasttr=ois;
 lasttrid=lasttr.id;
   } else if (('' + ois.title.length) == 2)  {
      thiscc=ois.title;   //document.getElementById('selceq').innerHTML.replace(/\"/g,'').toUpperCase().split('>' + countryis.toUpperCase().split(' (')[0])[0].split('=')[eval(-1 + document.getElementById('selceq').innerHTML.replace(/\"/g,'').toUpperCase().split('>' + countryis.toUpperCase().split(' (')[0])[0].split('=').length)];
      var ccsuff='', ccchar=' ';
      for (var iccsuff=0; iccsuff<thiscc.length; iccsuff++) {
        ccchar=thiscc.substring(iccsuff, eval(1 + eval('' + iccsuff))).toUpperCase();
        ccsuff+='' + dri[eval('' + lri.indexOf(ccchar))] + ';';
      }
      document.getElementById('lastflag').innerHTML=ccsuff;
      thisccstr+=',' + ccsuff.replace(/\&\#/g,'').replace(/\;/g,'') + '|' + thiscc + ',';
      document.getElementById('dreport').innerHTML=document.getElementById('dreport').innerHTML.split('</table>')[0] + '</table>';
      lasttr=ois;
  lasttrid=lasttr.id;
   }
  if (qsel != '') {   
   seleval=(qsel.split('</td>')[0].split('>')[eval(-1 + qsel.split('</td>')[0].split('>').length)].split(' (')[0]).split('')[0].trim().replace(/\ /g,'_') + '/' + (qsel.split('</td>')[1].split('>')[eval(-1 + qsel.split('</td>')[1].split('>').length)]).split('')[0].trim().replace(/\ /g,'_');
   //alert(seleval);
   gapiref='';
   //document.getElementById('igapiref').value='';
   // using_key.php?theseparameters=aq%3F' + otherideas + 'query%3D' + encodeURIComponent(x)
   //document.getElementById('weatheri').src='//www.rjmprogramming.com.au/weather/autocomplete.htm?place=' + encodeURIComponent(seleval.replace('/',', '));
   if (!document.getElementById('weatheri')) {
   document.getElementById('dweatheri').innerHTML="<iframe id=weatheri onload=wselit(this); style='display:none;' src='" + '//www.rjmprogramming.com.au/weather/using_key.php?theseparameters=aq%3Fquery%3D' + encodeURIComponent(seleval.replace('/',', ')) + "'></iframe>";
   } else {
   document.getElementById('weatheri').src='//www.rjmprogramming.com.au/weather/using_key.php?theseparameters=aq%3Fquery%3D' + encodeURIComponent(seleval.replace('/',', '));
   }
   if (seleval != lastseleval) {
   lastseleval=seleval;
   //alert(seleval + ' ' + qsel);
   url="https://www.rjmprogramming.com.au/HTMLCSS/colour_wheel.html?viareport=y&mode=" + encodeURIComponent(qsel.split('</td>')[1].split('>')[eval(-1 + qsel.split('</td>')[1].split('>').length)]) + "%2F" + encodeURIComponent(qsel.split('</td>')[0].split('>')[eval(-1 + qsel.split('</td>')[0].split('>').length)].split(' (')[0]);
   //alert(url);
   if (!zhr) {
     zhr = getXMLHttpRequest();
   } //else {
     //zok = 1;
   //}
   if (zhr != null) {
    zhr = zhr;
   } else {
    try {
     zhr = new ActiveXObject("Msxml2.XMLHTTP");
    } catch (othermicrosoft) {
     try {
      zhr = new ActiveXObject("Microsoft.XMLHTTP");
     } catch (failed) {
      zhr = false;
     }
    }
   }
   if (zhr) {
   //alert(987);
     if (url != '') {
     setTimeout(zdoit, 1000);
     //alert(url);
     }
   } else {
     zok = 1; //alert("Sorry ... no XMLHttpRequest possible");
   }
  }
  
  
  }
  
  
  }
  if (getoneorother != '' && getcapitals == '' && getcountries == '') {
    lasttr=null; // alert(1654);
    neveragain=true;
  }
  }
}
function zdoit() {
     zok=0;
     zhr.open("GET", url, true);
     zhr.onreadystatechange = showStuff;
     zhr.send(null);
     url='';
     var tdss=document.getElementsByTagName('td');
     for (var itdss=0; itdss<tdss.length; itdss++) {
       if (tdss[itdss].innerHTML.indexOf(countryis) == 0) {
         tdss[itdss].setAttribute('contenteditable', true);
       }
     }
}
function noif() {
  document.getElementById('dmyiframe').style.zIndex='-5';
  document.getElementById('dmyiframe').style.display='none';
  document.getElementById('myiframe').style.zIndex='-5';
  document.getElementById('myiframe').style.display='none';
  lastseleval='';
}
function xshowStuff(evt) {
  if (zhr.readyState == 4) {
    if (zhr.status == 200) {
     phpexists=true;
    }
  }
}
function showStuff(evt) {
  var wasih='⛅';
  if (zok == 0 && zhr != null) {
  if (zhr.readyState == 4) {
    if (zhr.status == 200) {
    document.getElementById('dmyiframe').style.display='block';
    document.getElementById('dmyiframe').style.zIndex='5';
    document.getElementById('myiframe').style.display='block';
    document.getElementById('myiframe').style.zIndex='5';
    //alert(zhr.responseText.split('select ')[2]);
    //if (zhr.responseText.indexOf("/Abidjan") != -1 && zhr.responseText.indexOf("/" + seleval.split('/')[0] + '"') == -1) {
    //  alert("did not find " + "/" + seleval.split('/')[0] + '"');
    //}
    ssdata=zhr.responseText.replace("/" + seleval.split('/')[0] + '"', "/" + seleval.split('/')[0] + '" selected').replace('</body>', '<br><br><button onclick="parent.moveit(5,0);">➡</button> <button onclick="parent.moveit(0,5);">🔽</button> <input type=button onclick="parent.document.getElementById(' + "'" + 'dmyiframe' + "'" + ').style.zIndex=-5; parent.document.getElementById(' + "'" + 'dmyiframe' + "'" + ').style.display=' + "'" + 'none' + "'" + '; parent.document.getElementById(' + "'" + 'myiframe' + "'" + ').style.zIndex=-5; parent.document.getElementById(' + "'" + 'myiframe' + "'" + ').style.display=' + "'" + 'none' + "'" + ';  parent.document.getElementById(' + "'" + 'myiframe' + "'" + ').srcdoc=' + "'" + '' + "'" + ';" value=Close></input> <button onclick="parent.moveit(-5,0);">⬅</button> <button onclick="parent.moveit(0,-5);">🔼</button></body>');
    setTimeout(doitthen, 3000);
    if (1 == 11) {
    if (document.getElementById('myselcont').innerHTML.indexOf('/q/') != -1) {
         var apiselsare=document.getElementById('myselcont').innerHTML.toLowerCase().split('/q/');
         //alert('YEs:' + document.getElementById('myselcont').innerHTML);
         if (eval('' + apiselsare.length) > 1) {
         //alert('YES:' + document.getElementById('myselcont').innerHTML);
         gapiref=apiselsare[1].replace('>','"').split('"')[0];
         document.getElementById('igapiref').value=gapiprefix + gapiref;
         }
    }
    if (gapiref != '') {
    if (document.getElementById('lastflag').innerHTML != '') {
           wasih=document.getElementById('lastflag').innerHTML + ' ' + wasih;
    }
    document.getElementById('myiframe').srcdoc=zhr.responseText.replace("/" + seleval.split('/')[0] + '"', "/" + seleval.split('/')[0] + '" selected').replace('</body>', '<br><br><input type=button onclick="parent.document.getElementById(' + "'" + 'myiframe' + "'" + ').style.zIndex=-5; parent.document.getElementById(' + "'" + 'myiframe' + "'" + ').style.display=' + "'" + 'none' + "'" + '; parent.document.getElementById(' + "'" + 'myiframe' + "'" + ').srcdoc=' + "'" + '' + "'" + ';" value=Close></input></body>').replace('</h4>','  <a style="text-decoration:none;cursor:pointer;font-size:24px;" target=_blank title=Weather href="' + gapiprefix + gapiref + '">' + wasih + '</a></h4>');
    } else {
    document.getElementById('myiframe').srcdoc=zhr.responseText.replace("/" + seleval.split('/')[0] + '"', "/" + seleval.split('/')[0] + '" selected').replace('</body>', '<br><br><input type=button onclick="parent.document.getElementById(' + "'" + 'myiframe' + "'" + ').style.zIndex=-5; parent.document.getElementById(' + "'" + 'myiframe' + "'" + ').style.display=' + "'" + 'none' + "'" + '; parent.document.getElementById(' + "'" + 'myiframe' + "'" + ').srcdoc=' + "'" + '' + "'" + ';" value=Close></input></body>');
    }
    //document.getElementById('myiframe').src=url;
    //setTimeout(noif, 20000);
    }
    }
  }
  }
}
function doitthen() {
    var wasih='⛅';
    if (document.getElementById('myselcont').innerHTML.indexOf('/q/') != -1) {
         var apiselsare=document.getElementById('myselcont').innerHTML.toLowerCase().split('/q/');
         //alert('YEs:' + document.getElementById('myselcont').innerHTML);
         if (eval('' + apiselsare.length) > 1) {
         //alert('YES:' + document.getElementById('myselcont').innerHTML);
         gapiref=apiselsare[1].replace('>','"').split('"')[0];
         document.getElementById('igapiref').value=gapiprefix + gapiref;
         document.getElementById('myselcont').innerHTML='';
         }
    }
    if (gapiref != '') {
    if (document.getElementById('lastflag').innerHTML != '') {
           wasih=document.getElementById('lastflag').innerHTML + ' ' + wasih;
    }
    document.getElementById('myiframe').srcdoc=ssdata.replace('</h4>','  <a style="text-decoration:none;cursor:pointer;font-size:24px;" target=_blank title=Weather href="' + gapiprefix + gapiref + '">' + wasih + '</a></h4>');
    } else {
    document.getElementById('myiframe').srcdoc=ssdata; //zhr.responseText.replace("/" + seleval.split('/')[0] + '"', "/" + seleval.split('/')[0] + '" selected').replace('</body>', '<br><br><input type=button onclick="parent.document.getElementById(' + "'" + 'myiframe' + "'" + ').style.zIndex=-5; parent.document.getElementById(' + "'" + 'myiframe' + "'" + ').style.display=' + "'" + 'none' + "'" + '; parent.document.getElementById(' + "'" + 'myiframe' + "'" + ').srcdoc=' + "'" + '' + "'" + ';" value=Close></input></body>');
    }
}
function ask() {
  var eee=lastemail;
  var suff='';
  if (tablemode != '' && navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) { 
    suff='  Please note sometimes it is good to double click Email Table button for clipboard copy to register in email body section.'; 
  }
  if (numlines == 0) {
  if (aohref.indexOf('%20%2e%2e%2e%20can%20copy%20in%20clipboard%20contents') != -1) {
  var huhv='%20%2e%2e%2e%20can%20copy%20in%20clipboard%20contents' + aohref.split('%20%2e%2e%2e%20can%20copy%20in%20clipboard%20contents')[1].split('&')[0];
  aohref=aohref.replace(huhv, '');
  } else {
  aohref=aohref.replace('%20%2e%2e%2e%20can%20copy%20in%20clipboard%20contents', '');
  }
  if (eee == '') { eee=prompt('Email address (best converted later at email into its Fixed Width font)?' + suff, lastemail); }
  } else {
  aohref=aohref.split('&body=')[0] + '&body=';
  if (eee == '') { eee=prompt('Email address (and once in email paste content into its body section before clicking its Send button, as best seen with its Fixed Width font)?' + suff, lastemail); }
  }
  if (!eee) { eee=''; }
  if (eee.indexOf('@') != -1) {
    lastemail=eee;
    var sufg=aohref.split('?')[1];
    if (scplist != '') {
      sufg=sufg.replace('&body=', encodeURIComponent(scplist) + '&body=');
      scplist='';
    }
    var gurl='mailto:' + eee + '?' + sufg;
    ao.href=gurl;
  }
  aohref='mailto:?subject=Capitals%20of%20Countries%20%2e%2e%2e%20can%20copy%20in%20clipboard%20contents&body=';
  return ao;
}
function smsask() {
  var eee=lastsms;
  if (numlines == 0) {
  bohref=bohref.replace('%20%2e%2e%2e%20can%20copy%20in%20clipboard%20contents', '');
  if (eee == '') { eee=prompt('SMS number (best converted later at SMS into its Fixed Width font)?', lastsms); }
  } else {
  bohref=bohref.split('&body=')[0] + '&body=';
  if (eee == '') { eee=prompt('SMS number (and once in SMS paste content into its body section before clicking its Send button, as best seen with its Fixed Width font)?', lastsms); }
  }
  if (!eee) { eee=''; }
  if (eee != '') {
    lastsms=eee;
    var sufg=bohref.split('?')[1];
    var gurl='sms:' + eee + '?' + sufg;
    bo.href=gurl;
  }
  bohref='sms:?subject=Capitals%20of%20Countries%20%2e%2e%2e%20can%20copy%20in%20clipboard%20contents&body=';
  return bo;
}
function asknewplace() {
  var wrt=document.getElementById('selceq').innerHTML;
  var npl='';
  var oktest=true;
  var parr=[];
  if (gnpl != '') {
  npl=gnpl;
  gnpl='';
  } else {
  npl=prompt('Separate a place from a country (or ISO 2 character code) via comma.  A "-" prefix wipes clean ahead of adding yours.  A list of them can make use of the ; semicolon delimiter.   eg. Alexandria, Egypt', '');
  }
  if (npl == null) { npl=''; }
  if ((npl + ' ').substring(0,1) == '-') {  localStorage.removeItem('wls_vs_php_tzphelper');  tzphelper='|';  npl=npl.replace('-','');  if (newo != '') { oktest=false; }  }
  gnpl=npl;
  var overnpls=npl.split(';');
  for (var iov=0; iov<overnpls.length; iov++) {
  var npls=overnpls[iov].split(',');
  if (npls.length < 2) {
    if (overnpls[iov].trim() != '') { alert('Not a legally entered place name is ' + overnpls[iov]); }
    if (overnpls[iov].trim() != '') { gnpl=gnpl.replace(overnpls[iov] + ';','').replace(overnpls[iov],''); }
    if (gnpl.trim() != '') {  asknewplace();  } else if (gdoit) {   location.href=curlit(document.URL);   }
  } else {
    var pcty=npls[eval(-1 + npls.length)];
    if (pcty.length == 2) {
      if (wrt.indexOf('"' + pcty.toUpperCase() + '">') != -1) {
        placegeosuffix='&countrygeo=' + wrt.split('"' + pcty.toUpperCase() + '">')[1].split('<')[0].replace(/\ /g,'_');
        parr=wrt.toUpperCase().split(">" + wrt.split('"' + pcty.toUpperCase() + '">')[1].split('<')[0].toUpperCase());
      } else {
        placegeosuffix='';
        parr=wrt.toUpperCase().split(">" + pcty.trim().toUpperCase());
      }
    } else {
      placegeosuffix='&countrygeo=' + pcty.trim().replace(/\ /g,'_');
      parr=wrt.toUpperCase().split(">" + pcty.trim().toUpperCase());
    }
    if (parr.length != 2) {
    alert('Country ' + pcty.trim() + ' not found in list.');
    gnpl=gnpl.replace(overnpls[iov] + ';','').replace(overnpls[iov],'');
    if (gnpl.trim() != '') {  asknewplace();  } else if (gdoit) {   location.href=curlit(document.URL);   }
    } else  if (tzphelper.indexOf('|' + overnpls[iov].replace(',' + pcty,'') + ',') != -1) {
    alert('City ' + overnpls[iov].replace(',' + pcty,'') + ' already in a list.');
    gnpl=gnpl.replace(overnpls[iov] + ';','').replace(overnpls[iov],'');
    if (gnpl.trim() != '') {  asknewplace();  } else if (gdoit) {   location.href=curlit(document.URL);   }
    } else  if (oktest && document.getElementById('scapitals').innerHTML.indexOf('>' + overnpls[iov].replace(',' + pcty,'') + '<') != -1) {
    alert('City ' + overnpls[iov].replace(',' + pcty,'') + ' already in capitals list.');
    gnpl=gnpl.replace(overnpls[iov] + ';','').replace(overnpls[iov],'');
    if (gnpl.trim() != '') {  asknewplace();  } else if (gdoit) {   location.href=curlit(document.URL);   }
    } else {
      thiscc=parr[0].split(' VALUE="')[eval(-1 + parr[0].split(' VALUE="').length)].split('"')[0];
      var sp='/' + overnpls[iov].replace(',' + pcty,'').replace(/\ /g,'_');
      var spalt='/' + pcty.trim().replace(/\ /g,'_');
      //alert('sp=' + sp.substring(1) + ' and spalt=' + spalt + ' and thiscc=' + thiscc);
      if (tzp.indexOf(sp + '"') != -1) {
    wrt=document.getElementById('sele').innerHTML;
          // <option value="America/Detroit" data-geo="42.33138,-83.04584,EDT,US,-5">America/Detroit</option>
    if (tzphelper.replace('|') != '') {  localStorage.removeItem('wls_vs_php_tzphelper');  } 
    tzphelper+=sp.substring(1) + ',' + wrt.split(sp + '" data-geo="')[1].split('</option>')[0].replace('">',',').replace(',','000|').replace(',','00000|').replace(/\|/g,',') + '|';
     //alert('subsequent tzphelper=' + tzphelper);
     gdoit=true;
    localStorage.setItem('wls_vs_php_tzphelper', encodeURIComponent(tzphelper));
    gnpl=gnpl.replace(overnpls[iov] + ';','').replace(overnpls[iov],'');
          //location.href=curlit(document.URL);
      } else if (thiscc != '' && tzp.indexOf(sp + '"') == -1 && tzp.indexOf(spalt + '"') == -1 && tzp.indexOf(spalt.split('_')[0].split(' ')[0] + '"') == -1) {
          prevplace=sp.substring(1).replace(/\_/g,' ');
          prevcc=thiscc;
          prevlat='';
          prevlong='';
          enteredcity=true;
		if (document.getElementById('placegeo').title.split(',').length == 3) {
		  readlat=eval(document.getElementById('placegeo').title.split(',')[1]);
		  readlong=eval(document.getElementById('placegeo').title.split(',')[2]);
		} else if (('' + document.getElementById('placegeo').value).indexOf(',') != -1) {
            readlat=eval(document.getElementById('placegeo').value.split(',')[0]);
            readlong=eval(document.getElementById('placegeo').value.split(',')[1]);
          }
          document.getElementById('placegeo').setAttribute('data-value', document.getElementById('placegeo').value);
          document.getElementById('placegeo').value='';
    futuregnpl=gnpl.replace(overnpls[iov] + ';','').replace(overnpls[iov],'');
          gdoit=true;
          setTimeout(postuc, 100);
          document.getElementById('divtzi').innerHTML='<iframe style=display:none; id=tzi src=../PHP/fgc/?placegeo=' + sp.substring(1) + placegeosuffix + '></iframe>'; 
          placegeosuffix='';
          //alert(document.getElementById('divtzi').innerHTML);
      }
    }
  }
  }
  if (gnpl.trim() == '' && gdoit) {  location.href=curlit(document.URL);  }
}
function postuc() {
  if (document.getElementById('placegeo').value == '') {
    setTimeout(postuc, 100);
  } else if (prevplace != '') {
    var nearesttz='';
    var seleih=document.getElementById('sele').innerHTML;
    var selihs=seleih.split(' data-geo="');
    var nearesttzij=1;
    var ourlat=eval(document.getElementById('placegeo').value.split(',')[0]);
    var ourlong=eval(document.getElementById('placegeo').value.split(',')[1]);
    var ourplace=prevplace;
          		if (document.getElementById('placegeo').title.split(',').length == 3) {
		  readlat=eval(document.getElementById('placegeo').title.split(',')[1]);
		  readlong=eval(document.getElementById('placegeo').title.split(',')[2]);
		} else if (('' + document.getElementById('placegeo').value).indexOf(',') != -1) {
            readlat=eval(document.getElementById('placegeo').value.split(',')[0]);
            readlong=eval(document.getElementById('placegeo').value.split(',')[1]);
          }
          document.getElementById('placegeo').setAttribute('data-value', document.getElementById('placegeo').value);
    document.getElementById('placegeo').value='';
    prevplace='';
    // <option value="Africa/Abidjan" data-geo="5.31666,-4.03334,GMT,CI,+0">Africa/Abidjan</option>
    var latdiff=Math.abs(eval(ourlat - (eval('' + selihs[1].split(',')[0]))) * eval(ourlat - (eval('' + selihs[1].split(',')[0]))));
    var longdiff=Math.abs(eval(ourlong - (eval('' + selihs[1].split(',')[1]))) * eval(ourlong - (eval('' +  selihs[1].split(',')[1]))));
    var lldiff=eval(latdiff + longdiff);
    var comma="," + selihs[1].split(',')[2] + "," + prevcc + "," + selihs[1].split(',')[4].split('"')[0] + ",";
    nearesttz=comma + selihs[0].split(' value="')[eval(-1 + selihs[0].split(' value="').length)].split('"')[0];
    //alert('first comma=' + comma + ' and first nearesttz=' + nearesttz);
    for (var ijj=2; ijj<selihs.length; ijj++) {
      latdiff=Math.abs(eval(ourlat - (eval('' + selihs[ijj].split(',')[0]))) * eval(ourlat - (eval('' + selihs[ijj].split(',')[0]))));
      longdiff=Math.abs(eval(ourlong - (eval('' +  selihs[ijj].split(',')[1]))) * eval(ourlong - (eval('' +  selihs[ijj].split(',')[1]))));
      if (eval(latdiff + longdiff) < lldiff) {
        lldiff=eval(latdiff + longdiff);
        nearesttzij=ijj;
        comma="," + selihs[ijj].split(',')[2] + "," + prevcc + "," + selihs[ijj].split(',')[4].split('"')[0] + ",";
        nearesttz=comma + selihs[eval(-1 + ijj)].split(' value="')[eval(-1 + selihs[eval(-1 + ijj)].split(' value="').length)].split('"')[0];
    //alert('subsequent nearesttz=' + nearesttz);
      }
    }
    // <option value="Africa/Abidjan" data-geo="5.31666,-4.03334,GMT,CI,+0">Africa/Abidjan</option>
    if (tzphelper.indexOf(ourplace + ',' + ourlat + ',' + ourlong + nearesttz + '|') == -1) {
    if (tzphelper.replace('|') != '') {  localStorage.removeItem('wls_vs_php_tzphelper');  } 
    if (enteredcity) {
    var courlat='' + ourlat;
    if (courlat.indexOf('.') == -1) { courlat+='.'; }
    courlat+='0'; 
    var courlong='' + ourlong;
    if (courlong.indexOf('.') == -1) { courlong+='.'; }
    courlong+='00000'; 
    tzphelper+=ourplace + ',' + courlat + ',' + courlong + nearesttz + '|';
    } else {
    tzphelper+=ourplace + ',' + ourlat + ',' + ourlong + nearesttz + '|';
    }
    //alert('subsequent tzphelper=' + tzphelper);
    localStorage.setItem('wls_vs_php_tzphelper', encodeURIComponent(tzphelper));
    if (enteredcity) {
      enteredcity=false;
      if (futuregnpl.trim() == '') {
      location.href=curlit(document.URL);
      } else {
      gnpl=futuregnpl;
      if (gnpl.trim() != '') {
      asknewplace();
      }
      }
    }
    enteredcity=false;
    }
  }
          //alert(document.getElementById('divtzi').innerHTML);
          //alert(document.getElementById('placegeo').value);
}
function updatecountries(osino) {
  var i=0, j=0;
  var capval='';
  var capvald='';
  var ctyval='';
  var ctyvald='';
  var maxcap=-1;
  var maxcty=-1;
  var ahot=0;
  var sin=document.getElementById('scapitals');
  if (osino != null) {
  if (firstclick && uclio.length > 0) {
    uclio=[];
  }
  firstclick=false;
  uclio.push(osino.innerHTML + '|' + osino.value);
  setTimeout(postuc, 100);
  if (document.getElementById('selceq').innerHTML.indexOf('>' + osino.value) != -1) {
      thiscc=document.getElementById('selceq').innerHTML.split('>' + osino.value)[0].replace(/\"/g,'').split('=')[eval(-1 + document.getElementById('selceq').innerHTML.split('>' + osino.value)[0].replace(/\"/g,'').split('=').length)];
      var sp='/' + osino.innerHTML.replace(/\ /g,'_');
      var spalt='/' + osino.value.replace(/\ /g,'_');
      if (thiscc != '' && tzp.indexOf(sp + '"') == -1 && tzp.indexOf(spalt + '"') == -1 && tzp.indexOf(spalt.split('_')[0].split(' ')[0] + '"') == -1) {
          prevplace=sp.substring(1).replace(/\_/g,' ');
          prevcc=thiscc;
          prevlat='';
          prevlong='';
          document.getElementById('divtzi').innerHTML='<iframe style=display:none; id=tzi src=../PHP/fgc/?placegeo=' + sp.substring(1) + placegeosuffix + '></iframe>'; 
          placegeosuffix='';
      }
  } 
  //alert('Uclio.length=' + uclio.length);
  } //else if (!nothere) {
  //alert('uclio.length=' + uclio.length);
  //}
  numlines=0;
  for (i=0; i<sin.options.length; i++) {
    if (sin.options[i].selected) {
      if (sin.options[i].value != '') {
        ahot++;
      }
    }
  }
  if (ahot == uclio.length) {
   //alert('Ahot=' + ahot + ' and ctyval=' + ctyval);
   capval='';
   capvald='';
   ctyval='';
   ctyvald='';
   m=0;
   for (j=0; j<uclio.length; j++) {
   m=0;
   for (i=0; i<sin.options.length; i++) {
    if (sin.options[i].selected) {
      if (m == j) {
      if (sin.options[i].value != '' && sin.options[i].value == uclio[j].split('|')[1]) {
       if (maxcty < 0) {
         maxcty=sin.options[i].value.length;
       } else if (sin.options[i].value.length > maxcty) {
         maxcty=sin.options[i].value.length;
       }
       if (maxcap < 0) {
         maxcap=sin.options[i].innerText.length;
       } else if (sin.options[i].innerText.length > maxcap) {
         maxcap=sin.options[i].innerText.length;
       }
       ctyval+=ctyvald + sin.options[i].value;
       ctyvald='|';
       capval+=capvald + sin.options[i].innerText;
       capvald='|';
      }
      }
      m++;
    }
  }
  }
  if (ahot >= 2) {
    gmi=true;
  } else {
    gmi=false;
  }
 } else {
  //alert('ahot=' + ahot + ' and ctyval=' + ctyval);
  gmi=false;
  capval='';
  capvald='';
  ctyval='';
  ctyvald='';
  for (i=0; i<sin.options.length; i++) {
    if (sin.options[i].selected) {
      if (sin.options[i].value != '') {
       if (maxcty < 0) {
         maxcty=sin.options[i].value.length;
       } else if (sin.options[i].value.length > maxcty) {
         maxcty=sin.options[i].value.length;
       }
       if (maxcap < 0) {
         maxcap=sin.options[i].innerText.length;
       } else if (sin.options[i].innerText.length > maxcap) {
         maxcap=sin.options[i].innerText.length;
       }
       ctyval+=ctyvald + sin.options[i].value;
       ctyvald='|';
       capval+=capvald + sin.options[i].innerText;
       capvald='|';
      }
    }
  }
  }
  //alert('ahot=' + ahot + ' and capitals=' + capval);
  document.getElementById('capitals').value=capval;
  document.getElementById('countries').value=ctyval;
  if (!osino || 1 == 1) {
    if (capval != '' && ctyval != '') {
      document.getElementById('mybemail').style.display='inline-block';
      document.getElementById('myzemail').style.display='inline-block';
      document.getElementById('mybsms').style.display='inline-block';
      document.getElementById('myzsms').style.display='inline-block';
      document.getElementById('mycemail').style.display='inline-block';
      //document.getElementById('mycsms').style.display='inline-block';
      maxcap=Math.floor(eval(eval(maxcap + 31) / 8)) * 8;
      maxcty=Math.floor(eval(eval(maxcty + 15) / 8)) * 8;
      var caps=capval.split('|');
      var ctys=ctyval.split('|');
      var repemail='';
      repemail+=tabit('Capital/City', maxcap, 'Country', maxcty);
      repemail+=tabit('------------', maxcap, '-------', maxcty);
      document.getElementById('myaemail').href=pref + '&body=' + encodeURIComponent(repemail);
      for (var ij=0; ij<caps.length; ij++) {
        repemail+=tabit(caps[ij], maxcap, plusemoji(ctys[ij]), maxcty);
        var pref=document.getElementById('myaemail').href.split('&body=')[0];
        document.getElementById('myaemail').href=pref + '&body=' + encodeURIComponent(repemail);
        aohref=aohref.split('&body=')[0] + '&body=' + encodeURIComponent(repemail); 
        if (numlines == 0 && document.getElementById('myaemail').href.length > 800) {
          numlines=eval(1 + ij);          
        }
        var prefs=document.getElementById('myasms').href.split('&body=')[0];
        document.getElementById('myasms').href=prefs + '&body=' + encodeURIComponent(repemail);
        bohref=bohref.split('&body=')[0] + '&body=' + encodeURIComponent(repemail); 
      }
  if (osino == null && !nothere) {
    if (uclio.length > 1) {
      gmi=true;
      document.getElementById('divgmi').innerHTML='<input type=hidden name=gmi value=y></input>';
      geomapit(isgeo);
    }
    uclio=[];
  }
      if (tablemode != '') {
      tabletocanvas(tablemode);
      } else {
      copytoclipboard(repemail);
      }
    }
  }
  nothere=false;
}
function SelectText(element) { // thanks to https://stackoverflow.com/questions/27863617/is-it-possible-to-copy-a-canvas-image-to-the-clipboard
    var doc = document;
    if (doc.body.createTextRange) {
        var range = document.body.createTextRange();
        range.moveToElementText(element);
        range.select();
    } else if (window.getSelection) {
        var selection = window.getSelection();
        var range = document.createRange();
        range.selectNodeContents(element);
        selection.removeAllRanges();
        selection.addRange(range);
    }
}
function tabletocanvas(str) { // thanks to https://stackoverflow.com/questions/27863617/is-it-possible-to-copy-a-canvas-image-to-the-clipboard
   document.getElementById('divaemail').innerHTML=str;
   var acell;
   var rect=document.getElementById('divaemail').getBoundingClientRect();
   document.getElementById('divaemail').innerHTML+='<canvas id=mycanvas width=' + rect.width + ' height=' + rect.height + ' style="width:' + rect.width + 'px;height:' + rect.height + 'px;"></canvas>';
   elem=document.getElementById('mycanvas');
   context=elem.getContext("2d");
   //context.strokeRect(0, 0, rect.width, rect.height);
   var iths, ths=document.getElementsByTagName('th');
   for (iths=0; iths<ths.length; iths++) {
     if (ths[iths].innerHTML.indexOf('<') == -1) {
       acell=ths[iths].getBoundingClientRect();
       if (Math.round(eval(acell.top - rect.top)) >= 0) {
       //alert('Rect.top=' + Math.round(rect.top) + ' and eval(acell.top - rect.top)=' + Math.round(eval(acell.top - rect.top)) + ' for text=' + ths[iths].innerHTML);
       context.strokeStyle='#ff0000';
       context.strokeRect(Math.round(eval(acell.left - rect.left)), Math.round(eval(acell.top - rect.top)), acell.width, acell.height);
       context.strokeStyle='#000000';
       context.font = cf;
       context.strokeText(ths[iths].innerHTML, Math.round(eval(acell.left - rect.left + 5)), Math.round(eval(acell.top - rect.top + acell.height / 1.5)));
       }
     }
   }
   var itds, tds=document.getElementsByTagName('td');
   for (itds=0; itds<tds.length; itds++) {
     if (tds[itds].innerHTML.indexOf('<') == -1) {
       acell=tds[itds].getBoundingClientRect();
       if (Math.round(eval(acell.top - rect.top)) >= 0) {
       //alert('rect.top=' + Math.round(rect.top) + ' and eval(acell.top - rect.top)=' + Math.round(eval(acell.top - rect.top)) + ' for text=' + tds[itds].innerHTML);
       context.strokeStyle='#0000ff';
       context.strokeRect(Math.round(eval(acell.left - rect.left)), Math.round(eval(acell.top - rect.top)), acell.width, acell.height);
       context.strokeStyle='#000000';
       context.font = cf;
       context.strokeText(tds[itds].innerHTML, Math.round(eval(acell.left - rect.left + 5)), Math.round(eval(acell.top - rect.top +  + acell.height / 1.5)));
       }
     }
   }
   selem=elem.toDataURL();
   if (!navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i) || 1 == 1) { 
   tabletoclipboard(elem);
   } else if (1 == 2) { 
   table_to_clipboard();
   }
   //setTimeout(table_to_clipboard, 2000);
   //document.getElementById('divaemail').innerHTML='';
}
function preload() {
 if (goThrough == 1) {
  goThrough = 0;
  img1 = document.createElement('img');
  img1.onload = function() { goThrough=2; };
  img1.src = selem;
 }
 if (goThrough == 2) {
  goThrough = 0;
  img2 = document.createElement('img');
  img2.onload = function() { goThrough=3; };
  img2.src = selem;
 }
 if (goThrough < 3) {
  preload();
 }
}
function table_to_clipboard() { // thanks to https://stackoverflow.com/questions/27863617/is-it-possible-to-copy-a-canvas-image-to-the-clipboard
//goThrough = 1;
//preload();
 var img = document.createElement('img');
 
 img.onload = function() { 
    var div = document.createElement('div');
    div.contentEditable = true;
    div.appendChild(img);
    document.body.appendChild(div);
    // do copy
    SelectText(div);
    document.execCommand('Copy');
    document.body.removeChild(div);
    //alert(675);
    setTimeout(athn, 1000); //top.location.href=ao.href; //document.getElementById('myaemail').click(); //top.location.href=ao.href;
 };
 
 img.src = selem; //canvas.toDataURL();
}
function athn() {
      if (tablemode != '') {
      top.location.href=ao.href; //document.getElementById('myaemail').click(); //top.location.href=ao.href;
      } else {
      ao.click();
      }
      document.getElementById('divaemail').innerHTML='';
}
function tabletoclipboard(canvas) { // thanks to https://stackoverflow.com/questions/27863617/is-it-possible-to-copy-a-canvas-image-to-the-clipboard
 img5 = document.createElement('img');
 if (1 == 2) {
 img5.onload = function() { 
 div5 = document.createElement('div');
 div5.contentEditable = true;
 div5.appendChild(img5);
 document.body.appendChild(div5);
 // do copy
 SelectText(div5);
 document.execCommand('Copy');
 document.body.removeChild(div5);
 setTimeout(athn, 1000); //top.location.href=ao.href; //document.getElementById('myaemail').click(); //top.location.href=ao.href;
 };
 }
 img5.src = canvas.toDataURL();
 if (2 == 2) {
 div5 = document.createElement('div');
 div5.contentEditable = true;
 div5.appendChild(img5);
 document.body.appendChild(div5);
 // do copy
 SelectText(div5);
 document.execCommand('Copy');
 document.body.removeChild(div5);
 }
}
function copytoclipboard(str) { // thanks to https://hackernoon.com/copying-text-to-clipboard-with-javascript-df4d4988697f
  var el = document.createElement('textarea');
  el.value = str;
  el.setAttribute('readonly', '');
  el.style.position = 'absolute';
  el.style.left = '-9999px';
  document.body.appendChild(el);
  el.select();
  document.execCommand('copy');
  document.body.removeChild(el);
}
function tabit(inleft, inleftl, inright, inrightl) {
  // https://www.rjmprogramming.com.au/HTMLCSS/wlsvsphp.htm?andgo=yes&countries=Bahamas%7CBahrain%7CBangladesh%7CBarbados%7CBelarus%7CBelgium%7CBelize%7CBenin%7CBhutan%7CBolivia%7CBosnia+and+Herzegovina%7CBotswana%7CBrazil%7CBrunei%7CBulgaria&capitals=Nassau%7CManama%7CDhaka%7CBridgetown%7CMinsk%7CBrussels%7CBelmopan%7CPorto-Novo%7CThimphu%7CLa+Paz+%28administrative%29%2C+Sucre+%28judicial%29%7CSarajevo%7CGaborone%7CBrasilia%7CBandar+Seri+Begawan%7CSofia
  var retrec='';
  var ift=Math.floor(eval(eval(inleft.length + 8) / 8)) * 8;
  if (tablemode.indexOf('</table>') != -1) {
  if (inleft.indexOf('----') == -1) {
    if (tablemode.indexOf('<th') == -1 && tablemode.indexOf('<td') == -1) {
      if (andlinkit) {
      if (gcty != '') {
      tablemode=tablemode.replace('</table>','<tr><th>' + inleft + '</th><th>' + gcty + '</th><th>Link</th></tr></table>');
      } else {
      tablemode=tablemode.replace('</table>','<tr><th>' + inleft + '</th><th>' + inright + '</th><th>Link</th></tr></table>');
      }
      } else {
      tablemode=tablemode.replace('</table>','<tr><th>' + inleft + '</th><th>' + inright + '</th></tr></table>');
      }
    } else {
      if (andlinkit) {
      if (gcty != '') {
      tablemode=tablemode.replace('</table>','<tr><td>' + inleft + '</td><td>' + inright + '</td><td>' +  document.URL.split('?')[0].split('#')[0].replace('http:','https:') + '?andgo=y&countries=' + encodeURIComponent(gcty.trim()).split('%20%F0%9F')[0] + gmiit() + '&capitals=' + encodeURIComponent(inleft.trim()) + '</td></tr></table>');
      } else {
      tablemode=tablemode.replace('</table>','<tr><td>' + inleft + '</td><td>' + inright + '</td><td>' +  document.URL.split('?')[0].split('#')[0].replace('http:','https:') + '?andgo=y&countries=' + encodeURIComponent(inright.trim()).split('%20%F0%9F')[0] + gmiit() + '&capitals=' + encodeURIComponent(inleft.trim()) + '</td></tr></table>');
      }
      } else {  
      tablemode=tablemode.replace('</table>','<tr><td>' + inleft + '</td><td>' + inright + '</td></tr></table>');
      }
    }
    retrec=tablemode;
  }
  } else { 
  if (inleft.length < inleftl) {
    while (inleft.length < ift) {
    inleft+=' '; //inleft+=String.fromCharCode(9);
    }
    while (ift < inleftl) {
     inleft+='        '; //String.fromCharCode(9);
     ift+=8;
   }
  }
  retrec+=inleft;
  ift=Math.floor(eval(eval(inright.length + 8) / 8)) * 8;
  if (inright.length < inrightl) {
    while (inright.length < ift) {
    inright+=' '; //inright+=String.fromCharCode(9);
    }
    while (ift < inrightl) {
     inright+='        '; //String.fromCharCode(9);
     ift+=8;
   }
  }
  retrec+=inright;
  if (andlinkit && 1 == 1) {
  if (inleft.indexOf('----') != -1) {
  retrec+='----';
  } else if (inright.trim() == 'Country') {
  retrec+='Link';
  } else {
  retrec+=document.URL.split('?')[0].split('#')[0].replace('http:','https:') + '?andgo=y&countries=' + encodeURIComponent(inright.trim()).split('%20%F0%9F')[0] + gmiit() + '&capitals=' + encodeURIComponent(inleft.trim());
  }
  }   
  retrec+=String.fromCharCode(10);
  }
  return retrec;
}
function precheckforreport() {
  if (getoneorother != '' && getcapitals == '' && getcountries == '') {
    //document.body.style.display='none';
    var nomore=false, thectyis='', theccis='', vstwo, vsthree, thespi='';
    var vsone=document.getElementById('scapitals').innerHTML;
    vstwo=document.getElementById('selceq').innerHTML;
    vsthree=document.getElementById('sele').innerHTML;
    if (vsone.toUpperCase().indexOf('>' + getoneorother.toUpperCase()) != -1) {
    //alert(1);
// <option onclick="updatecountries(this);" value="Algeria">Algiers</option>
      nomore=true;
      thectyis=getoneorother + vsone.split('>' + getoneorother)[1].split('<')[0];
      thespi='' + vsone.split('">' + thectyis)[0].split(' value="')[eval(-1 + vsone.split('">' + thectyis)[0].split(' value="').length)].split('"')[0];
   //alert('*' + thespi + '*');
      if (vstwo.indexOf('>' + getoneorother) != -1) {
    //alert(11);
        thectyis=getoneorother + vstwo.split('>' + getoneorother)[1].split('<')[0];
        theccis=vstwo.split('>' + getoneorother)[0].split(' value="')[eval(-1 + vstwo.split('>' + getoneorother)[0].split(' value="').length)].split('"')[0];
        vsone=document.getElementById('sele').innerHTML;
        nomore=true;
        if (isChrome || isOpera) {
        document.getElementById('bigdiv').innerHTML=maybeifsgetto('<iframe style="z-index:34;width:100%;height:100vh;" src="' + '//www.rjmprogramming.com.au/HTMLCSS/colour_wheel.html?mode=' + vsone.split(',' + theccis + ',')[1].split('>')[1].split('<')[0].replace(/\ /g,'_') + '"></iframe>');
        document.getElementById('bigdiv').style.display='block';
        } else { 
        location.href='//www.rjmprogramming.com.au/HTMLCSS/colour_wheel.html?mode=' + vsone.split(',' + theccis + ',')[1].split('>')[1].split('<')[0].replace(/\ /g,'_');
        setTimeout(postws,1000);
        throw new Error("Stop script");
        }
        return false;
      } else if (vsthree.indexOf('/' + getoneorother.replace(/\ /g,'_')) != -1) {
   // alert(111);
      // ><option value="Africa/Abidjan" data-geo="5.31666,-4.03334,GMT,CI,+0">Africa/Abidjan</option>
        thectyis=vsthree.split('/' + getoneorother.replace(/\ /g,'_'))[1].split('>')[eval(-1 + vsthree.split('/' + getoneorother.replace(/\ /g,'_'))[1].split('>').length)];
        theccis= getoneorother.replace(/\ /g,'_') + vsthree.split('/' + getoneorother.replace(/\ /g,'_'))[1].split('<')[0].split('"')[0];        
         //.split('>')[eval(-1 + vsthree.split('/' + getoneorother.replace(/\ /g,'_'))[eval(-1 + vsthree.split('/' + getoneorother.replace(/\ /g,'_')).length)].split('>').length)];
        nomore=true;
        if (isChrome || isOpera) {
        document.getElementById('bigdiv').innerHTML==maybeifsgetto('<iframe style="z-index:34;width:100%;height:100vh;" src="' + '//www.rjmprogramming.com.au/HTMLCSS/colour_wheel.html?mode=' + (thectyis + '/' + theccis).replace(/\ /g,'_') + '"></iframe>');
        document.getElementById('bigdiv').style.display='block';
        } else { 
        location.href='//www.rjmprogramming.com.au/HTMLCSS/colour_wheel.html?mode=' + (thectyis + '/' + theccis).replace(/\ /g,'_');
        setTimeout(postws,1000);
        throw new Error("Stop script");
        }
        return false;
      } else if (vstwo.toUpperCase().indexOf('>' + thespi.toUpperCase()) != -1) {
//alert(thespi);
        thectyis=thectyis + vstwo.split('>' + thespi)[1].split('<')[0];
        theccis=vstwo.split('>' + thespi)[0].split(' value="')[eval(-1 + vstwo.split('>' + thespi)[0].split(' value="').length)].split('"')[0];
        vstwo=document.getElementById('sele').innerHTML;
        nomore=true;
        if (isChrome || isOpera) {
        document.getElementById('bigdiv').innerHTML==maybeifsgetto('<iframe style="z-index:34;width:100%;height:100vh;" src="' + '//www.rjmprogramming.com.au/HTMLCSS/colour_wheel.html?mode=' + vstwo.split(',' + theccis + ',')[1].split('>')[1].split('<')[0].replace(/\ /g,'_') + '"></iframe>');
        document.getElementById('bigdiv').style.display='block';
        } else { 
        location.href='//www.rjmprogramming.com.au/HTMLCSS/colour_wheel.html?mode=' + vstwo.split(',' + theccis + ',')[1].split('>')[1].split('<')[0].replace(/\ /g,'_');
        setTimeout(postws,1000);
        throw new Error("Stop script");
        }
        return false;
      } else {
    //alert(thectyis);
      theccis=vsone.split('>' + getoneorother)[0].split(' value="')[eval(-1 + vsone.split('>' + getoneorother)[0].split(' value="').length)].split('"')[0];
    //alert(thecsis);
      location.href=document.URL.split('?')[0].split('#')[0] + '?countries=' + encodeURIComponent(thectyis) + '&capitals=' + encodeURIComponent(theccis);
        setTimeout(postws,1000);
        throw new Error("Stop script");
        return false;
      }
    } else if (vstwo.indexOf('/' + getoneorother.replace(/\ /g,'_')) != -1) {
    //alert(1111);
        thectyis=vstwo.split('/' + getoneorother)[0].split('>')[eval(-1 + vstwo.split('/' + getoneorother)[0].split('>').length)];
        nomore=true;
        if (isChrome || isOpera) {
        document.getElementById('bigdiv').innerHTML==maybeifsgetto('<iframe style="z-index:34;width:100%;height:100vh;" src="' + '//www.rjmprogramming.com.au/HTMLCSS/colour_wheel.html?mode=' + (thectyis + '/' + getoneorother + vstwo.split('/' + getoneorother)[1]).replace(/\ /g,'_') + '"></iframe>');
        document.getElementById('bigdiv').style.display='block';
        } else { 
        location.href='//www.rjmprogramming.com.au/HTMLCSS/colour_wheel.html?mode=' + (thectyis + '/' + getoneorother + vstwo.split('/' + getoneorother)[1]).replace(/\ /g,'_');
        setTimeout(postws,1000);
        throw new Error("Stop script");
        }
        return false;
    } else if (vsone.toUpperCase().indexOf(' value="' + getoneorother.toUpperCase()) != -1) {
    //alert(11111);
      nomore=true;
      theccis=getoneorother + vsone.split(' value="' + getoneorother)[1].split('"')[0];
      thectyis=vsone.split(' value="' + theccis + '">')[1].split('<')[0];
      location.href=document.URL.split('?')[0].split('#')[0] + '?countries=' + encodeURIComponent(thectyis) + '&capitals=' + encodeURIComponent(theccis);
        setTimeout(postws,1000);
        throw new Error("Stop script");
        return false;
    }
    if (!nomore) {
    //alert(2);
      // ><option value="Africa/Abidjan" data-geo="5.31666,-4.03334,GMT,CI,+0">Africa/Abidjan</option>
      vsone=document.getElementById('selceq').innerHTML;
      if (vsone.toUpperCase().indexOf('>' + getoneorother.toUpperCase()) != -1) {
    //alert(22);
        thectyis=getoneorother + vsone.split('>' + getoneorother)[1].split('<')[0];
        theccis=vsone.split('>' + getoneorother)[0].split(' value="')[eval(-1 + vsone.split('>' + getoneorother)[0].split(' value="').length)].split('"')[0];
        vsone=document.getElementById('sele').innerHTML;
        nomore=true;
        if (isChrome || isOpera) {
        document.getElementById('bigdiv').innerHTML==maybeifsgetto('<iframe style="z-index:34;width:100%;height:100vh;" src="' + '//www.rjmprogramming.com.au/HTMLCSS/colour_wheel.html?mode=' + vsone.split(',' + theccis + ',')[1].split('>')[1].split('<')[0].replace(/\ /g,'_') + '"></iframe>');
        document.getElementById('bigdiv').style.display='block';
        } else { 
        location.href='//www.rjmprogramming.com.au/HTMLCSS/colour_wheel.html?mode=' + vsone.split(',' + theccis + ',')[1].split('>')[1].split('<')[0].replace(/\ /g,'_');
        //document.URL.split('?')[0].split('#')[0] + '?andgo=y&countries=' + encodeURIComponent(thectyis) + '&capitals=' + 
        setTimeout(postws,1000);
        throw new Error("Stop script");
        }
        return false;
      }
      if (!nomore) {
     //alert(3);
     // ><option value="Africa/Abidjan" data-geo="5.31666,-4.03334,GMT,CI,+0">Africa/Abidjan</option>
      //vsone=document.getElementById('sele').innerHTML;
      if (vsthree.indexOf('/' + getoneorother.replace(/\ /g,'_')) != -1) {
    //alert(33);
    
        thectyis=vsthree.split('/' + getoneorother.replace(/\ /g,'_'))[1].split('>')[eval(-1 + vsthree.split('/' + getoneorother.replace(/\ /g,'_'))[1].split('>').length)];
        theccis= getoneorother.replace(/\ /g,'_') + vsthree.split('/' + getoneorother.replace(/\ /g,'_'))[1].split('<')[0].split('"')[0];        
         //.split('>')[eval(-1 + vsthree.split('/' + getoneorother.replace(/\ /g,'_'))[eval(-1 + vsthree.split('/' + getoneorother.replace(/\ /g,'_')).length)].split('>').length)];
        nomore=true;
        if (isChrome || isOpera) {
        document.getElementById('bigdiv').innerHTML==maybeifsgetto('<iframe style="z-index:34;width:100%;height:100vh;" src="' + '//www.rjmprogramming.com.au/HTMLCSS/colour_wheel.html?mode=' + (thectyis + '/' + theccis).replace(/\ /g,'_') + '"></iframe>');
        document.getElementById('bigdiv').style.display='block';
        } else { 
        location.href='//www.rjmprogramming.com.au/HTMLCSS/colour_wheel.html?mode=' + (thectyis + '/' + theccis).replace(/\ /g,'_');
        setTimeout(postws,1000);
        throw new Error("Stop script");
        }
        return false;
      } 
      }
    }
    if (!nomore) {
//<input title='' type=hidden id=placegeo value=''></input>
//<div id=ourcanvas style='display:none;'></div><br>
//<iframe id=placegeoiframe src='../PHP/fgc/#placegeo=Oodnadatta&getimages=Y' style='display:none;'></iframe>
       relevant=true;
       hangon=true;
       document.getElementById('placegeoiframe').src='../PHP/fgc/?placegeo=' + encodeURIComponent(getoneorother) + '&getimages=y'; 
       // return false;
    }
  }
    //document.body.style.display='block';
    if (!hangon) { document.getElementById('bigdiv').style.display='block'; }
  var tzpp=('' + localStorage.getItem('wls_vs_php_tzphelper')).replace(/^null$/g,'');
  if (tzpp != '') { 
    tzphelper=decodeURIComponent(tzpp);  
    var newops=tzphelper.split('00000,');
    //alert(tzphelper);
    if (newops.length > 1) {
    //alert(45);
        var huhisel=document.getElementById('scapitals').innerHTML;
        var huhsopts=huhisel.split('</option>');
        var fopt=huhsopts[0] + '</option>';
        var resto=huhisel.replace(fopt, '');
        var nplac='';
        var ccs=[];
        var selceqc=document.getElementById('selceq').innerHTML;
        newo='';
  for (var ihuh=1; ihuh<newops.length; ihuh++) {
        // <option onclick="updatecountries(this);" value="Armenia">Yerevan</option>
        nplac=newops[eval(-1 + ihuh)].split('|')[eval(-1 + newops[eval(-1 + ihuh)].split('|').length)].split(',')[0];
        thiscc=newops[ihuh].split(',')[1];
        ccs=selceqc.split(' value="' + thiscc + '">');
        if (ccs.length == 2) {
        newo+='<option onclick="updatecountries(this);" value="' + ccs[1].split('<')[0] + '">' + nplac + '</option>';
        }
  }
        if (newo != '') {
        bup=fopt + newo + resto; 
        document.getElementById('scapitals').innerHTML=fopt + newo + resto;  
        } else {
        document.getElementById('scapitals').innerHTML=fopt + newo + resto;  
        }   
    }
  }
  return true;
}
function checkforreport() {
  var divcont='';
  var dcaps, dctys, idis;
  //localStorage.removeItem('wls_vs_php_tzphelper');
  
  if (gmi || document.URL.indexOf('gmi=') != -1) { document.getElementById('tpspan').innerHTML=' for Trip Planning'; document.title=document.title.replace(' as Needed', ' as Needed for Trip Planning'); } 
  document.getElementById('myform').action=document.URL.split('#')[0].split('?')[0].replace('htJUNKtp:','https:').replace('//rjmprogramming.com.au','//www.rjmprogramming.com.au');
  //dragElement(document.getElementById("myiframe")); // thanks to https://www.w3schools.com/howto/howto_js_draggable.asp 
  if (getcapitals == 'localStorage') {
   if (window.localStorage) {
    if (('' + localStorage.getItem('wls_vs_php_gmi')).replace(/^null$/g,'') != '') {
      gmi=true;
      localStorage.removeItem('wls_vs_php_gmi');
    } else {
      gmi=false;
    }
    if (('' + localStorage.getItem('wls_vs_php_andlinkit')).replace(/^null$/g,'') != '') {
      andlinkit=true;
      localStorage.removeItem('wls_vs_php_andlinkit');
    } else {
      andlinkit=false;
    }
    getcapitals=decodeURIComponent(('' + localStorage.getItem('wls_vs_php_capitals')).replace(/^null$/g,'')).replace(/\+/g,' ');
    if (('' + getcapitals) == 'null') { 
    getcapitals=''; 
    } else { 
    localStorage.removeItem('wls_vs_php_capitals');
    }
   } else {
    getcapitals='';
   }
  } else if (getcapitals == 'sessionStorage') {
   document.getElementById('smode').value=getcapitals;
   datamode=getcapitals;
   if (window.sessionStorage) {
    if (('' + sessionStorage.getItem('wls_vs_php_gmi')).replace(/^null$/g,'') != '') {
      gmi=true;
      sessionStorage.removeItem('wls_vs_php_gmi');
    } else {
      gmi=false;
    }
    if (('' + sessionStorage.getItem('wls_vs_php_andlinkit')).replace(/^null$/g,'') != '') {
      andlinkit=true;
    } else {
      andlinkit=false;
    }
    getcapitals=decodeURIComponent(('' + sessionStorage.getItem('wls_vs_php_capitals')).replace(/^null$/g,'')).replace(/\+/g,' ');
   if (('' + getcapitals) == 'null') { 
    getcapitals=''; 
   }
   } else {
    getcapitals='';
   }
  } else if (getcapitals == '' && window.sessionStorage) {
   getcapitals=decodeURIComponent(('' + sessionStorage.getItem('wls_vs_php_capitals')).replace(/^null$/g,'')).replace(/\+/g,' ');
   if (('' + getcapitals) == 'null') { 
    getcapitals=''; 
   }
   if (getcapitals != '') {
    document.getElementById('smode').value='sessionStorage';
    datamode='sessionStorage';
   }
  }
  if (getcountries == 'localStorage') {
   if (window.localStorage) {
    getcountries=decodeURIComponent(('' + localStorage.getItem('wls_vs_php_countries')).replace(/^null$/g,'')).replace(/\+/g,' ');
    if (('' + getcountries) == 'null') { 
    getcountries='';
    } else { 
    if (getcapitals.replace('localStorage','') != '' && getcountries.replace('localStorage','') != '') { document.getElementById('myh1').innerHTML+=' <font size=1>... yes, it was needed</font>'; }
    localStorage.removeItem('wls_vs_php_countries');
    }
   } else {
    getcountries='';
   }
  } else if (getcountries == 'sessionStorage') {
    if (('' + sessionStorage.getItem('wls_vs_php_gmi')).replace(/^null$/g,'') != '') {
      gmi=true;
      sessionStorage.removeItem('wls_vs_php_gmi');
    } else {
      gmi=false;
    }
   if (window.sessionStorage) {
    getcountries=decodeURIComponent(('' + sessionStorage.getItem('wls_vs_php_countries')).replace(/^null$/g,'')).replace(/\+/g,' ');
    if (getcapitals.replace('sessionStorage','') != '' && getcountries.replace('sessionStorage','') != '') { document.getElementById('myh1').innerHTML+=' <font size=1>... yes, it was needed</font>'; }
   } else {
    getcountries='';
   }
  } else if (getcountries == '' && document.getElementById('smode').value == 'sessionStorage' && window.sessionStorage) {
   getcountries=decodeURIComponent(('' + sessionStorage.getItem('wls_vs_php_countries')).replace(/^null$/g,'')).replace(/\+/g,' ');
    if (('' + getcountries) == 'null') { 
    getcountries='';
    }
   if (getcountries != '') {
    document.getElementById('smode').value='sessionStorage';
    datamode='sessionStorage';
   }
  }
  if (getcapitals != '' && getcountries != '') {
    document.getElementById('myrepsb').value='Clickable Report ...';
    if (document.URL.indexOf('gmi=') == -1) {  
      document.getElementById('ygmies').style.display='inline-block';  
    } else {
      document.getElementById('maptoggle').style.display='inline-block';  
    }
    document.getElementById('myrepsb').title='Click/touch for Timezone and Wikipedia information';
    divcont='<table id=repbacktable class=glow title="Click/touch for Timezone and Wikipedia information" border=5 style="width:95%;vertical-align:top;background-color:white;"><tr style=background-color:#f0f0f0;"><th>Capital/City</th><th>Country</th></tr></table>';
    dcaps=getcapitals.split('|');
    dctys=getcountries.split('|');
    var ccsuff='', ccchar=' ', iccsuff, countryis='';
    for (idis=0; idis<dcaps.length; idis++) {
      if (gmi) {
        uclio.push(dcaps[idis] + '|' + dctys[idis]);
      }
      countryis=dctys[idis].split('')[0].trim();
      thiscc='';
      ccsuff='';
      ccchar=' ';
      if (document.getElementById('selceq').innerHTML.toUpperCase().indexOf('>' + countryis.toUpperCase().split(' (')[0]) != -1) {
      thiscc=document.getElementById('selceq').innerHTML.replace(/\"/g,'').toUpperCase().split('>' + countryis.toUpperCase().split(' (')[0])[0].split('=')[eval(-1 + document.getElementById('selceq').innerHTML.replace(/\"/g,'').toUpperCase().split('>' + countryis.toUpperCase().split(' (')[0])[0].split('=').length)];
      titleeq='Click to try to find Timezone and Wikipedia information, if found';
      for (iccsuff=0; iccsuff<thiscc.length; iccsuff++) {
        if (ccsuff == '') { ccsuff=' '; }
        ccchar=thiscc.substring(iccsuff, eval(1 + eval('' + iccsuff))).toUpperCase();
        ccsuff+='' + dri[eval('' + lri.indexOf(ccchar))] + ';';
        titleeq=thiscc;
      }
      thisccstr+=',' + ccsuff.replace(/\&\#/g,'').replace(/\;/g,'') + '|' + thiscc + ',';
      }
      divcont=divcont.replace('</table>', '<tr id=tr' + trcount + ' style=cursor:pointer; title="' + titleeq + '" onclick="if (lasttr != null) { lasttr.className=' + "''" + ';  } lasttr=this; this.className=' + "'" + 'glow' + "'" + '; ajaxit(this.innerHTML,this);"><td contenteditable="true">' + dcaps[idis] + '</td><td>' + dctys[idis] + ccsuff + '</td></tr></table>');
      trcount++;
    }
    document.getElementById('dreport').innerHTML=divcont;
    if (gmi) { geomapit(isgeo); }
    //repback=document.getElementById('repbacktable').innerHTML;
  } else if (!navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) {
    document.getElementById('lefttd').className='lefttd';
  }
  document.getElementById('smode').value=datamode;
  readyitforsort('scapitals');
  if (document.URL.indexOf('andgo=') != -1) {
    setTimeout(trcountit, 3000);
  }
}
function trcountit() {
  if (thiscount < trcount) {
    //alert('click');
    document.getElementById('tr' + thiscount).click();
    thiscount++;
    if (thiscount < trcount) {
      setTimeout(trcountit, 30000);
    }
  }
}
function analyze() {
  var osuff='';
  if (andlinkit) { osuff='&andlinkit=y'; }
  var purl=document.URL.split('#')[0].split('?')[0].replace('http:','https:').replace('//rjmprogramming.com.au','//www.rjmprogramming.com.au') + '?capitals=' + encodeURIComponent(document.getElementById('capitals').value) + osuff + gmiit() + '&countries=' + encodeURIComponent(document.getElementById('countries').value);
  if (purl.length > 800) {
    if (phpexists) {
      document.getElementById('myform').method='POST';
      document.getElementById('myform').action='./wls_vs_php.php';
    } else if (datamode == 'localStorage' && window.localStorage) {
      if (andlinkit) { localStorage.setItem('wls_vs_php_andlinkit', 'true'); }
      if (gmi) { localStorage.setItem('wls_vs_php_gmi', 'true'); }
      localStorage.setItem('wls_vs_php_countries', encodeURIComponent(document.getElementById('countries').value));
      localStorage.setItem('wls_vs_php_capitals', encodeURIComponent(document.getElementById('capitals').value));
      document.getElementById('capitals').value='localStorage';
      document.getElementById('countries').value='localStorage';
      location.href=document.URL.split('#')[0].split('?')[0].replace('http:','https:').replace('//rjmprogramming.com.au','//www.rjmprogramming.com.au') + '?capitals=' + encodeURIComponent(document.getElementById('capitals').value) + osuff + gmiit() + '&countries=' + encodeURIComponent(document.getElementById('countries').value);
      return false;
    } else if (datamode == 'sessionStorage' && window.sessionStorage) {
      if (andlinkit) { sessionStorage.setItem('wls_vs_php_andlinkit', 'true'); }
      if (gmi) { sessionStorage.setItem('wls_vs_php_gmi', 'true'); }
      sessionStorage.setItem('wls_vs_php_countries', encodeURIComponent(document.getElementById('countries').value));
      sessionStorage.setItem('wls_vs_php_capitals', encodeURIComponent(document.getElementById('capitals').value));
      document.getElementById('capitals').value='sessionStorage';
      document.getElementById('countries').value='sessionStorage';
      location.href=document.URL.split('#')[0].split('?')[0].replace('http:','https:').replace('//rjmprogramming.com.au','//www.rjmprogramming.com.au') + '?capitals=' + encodeURIComponent(document.getElementById('capitals').value) + osuff + gmiit() + '&countries=' + encodeURIComponent(document.getElementById('countries').value);
      return false;
    } else if (gmi) {
      document.getElementById('divgmi').innerHTML='<input type=hidden value=y name=gmi></input>';
    }
  } else if (gmi) {
      document.getElementById('divgmi').innerHTML='<input type=hidden value=y name=gmi></input>';
  } 
  return true;
}
function huhpup(iois) {
  if (iois != null) {
    var aconto = (iois.contentWindow || iois.contentDocument);
    if (aconto != null) {
     if (aconto.document) { aconto = aconto.document; }
     if (aconto.body != null) {
       if (aconto.body.innerHTML.toLowerCase().indexOf('<select ') == -1) {
         phpexists=false;
       } else {
         phpexists=true;
       }
     }
    }
  }
}
function prewselit(iois) {
  wiois=iois;
  setTimeout(wselit, 2000);
}
function cqq(oneq,twoq) {
  if (twoq =='??') { 
  //console.log(oneq); 
  return oneq; 
  }
  return twoq;
}
function analif(iois) { //iois) {
  if (relevant) {
  if (iois != null) {
    hangon=false;
    //gapiref='';
    //alert('where ' + ('' + iois.src));
    //document.getElementById('igapiref').value='';
    var xwaconto = (iois.contentWindow || iois.contentDocument);
    if (xwaconto != null) {
     if (xwaconto.document) { xwaconto = xwaconto.document; }
     if (xwaconto.body != null) {
       if (document.getElementById('placegeo').title.split(',')[0].length == 2) {
  //if (document.getElementById('placegeo').title.split(',')[0] =='??') { console.log(786); }
    var ourctyfound=false;
    var nearesttz='';
    var seleih=document.getElementById('sele').innerHTML;
    var selihs=seleih.split(' data-geo="'); // data-geo="5.31666,-4.03334,GMT,CI,+0">Africa/Abidjan
    var nearesttzij=1;
    var ourlat=eval(document.getElementById('placegeo').value.split(',')[0]);
    var ourlong=eval(document.getElementById('placegeo').value.split(',')[1]);
    var ourplace=getoneorother; //prevplace;
    document.getElementById('placegeo').value='';
    //prevplace='';
    // <option value="Africa/Abidjan" data-geo="5.31666,-4.03334,GMT,CI,+0">Africa/Abidjan</option>
    var latdiff=Math.abs(eval(ourlat - (eval('' + selihs[1].split(',')[0]))) * eval(ourlat - (eval('' + selihs[1].split(',')[0]))));
    var longdiff=Math.abs(eval(ourlong - (eval('' + selihs[1].split(',')[1]))) * eval(ourlong - (eval('' +  selihs[1].split(',')[1]))));
    var lldiff=eval(latdiff + longdiff);
    var comma=""; //"," + selihs[1].split(',')[2] + "," + prevcc + "," + selihs[1].split(',')[4].split('"')[0] + ",";
    nearesttz=comma + selihs[0].split(' value="')[eval(-1 + selihs[0].split(' value="').length)].split('"')[0];
    //alert('first comma=' + comma + ' and first nearesttz=' + nearesttz);
    if (selihs[1].split(',')[3].split('"')[0] == cqq(selihs[1].split(',')[3].split('"')[0],document.getElementById('placegeo').title.split(',')[0])) { console.log(selihs[1].split(',')[3].split('"')[0]);  ourctyfound=true;  }
    for (var ijj=2; ijj<selihs.length; ijj++) {
      latdiff=Math.abs(eval(ourlat - (eval('' + selihs[ijj].split(',')[0]))) * eval(ourlat - (eval('' + selihs[ijj].split(',')[0]))));
      longdiff=Math.abs(eval(ourlong - (eval('' +  selihs[ijj].split(',')[1]))) * eval(ourlong - (eval('' +  selihs[ijj].split(',')[1]))));
        if (selihs[ijj].split(',').length > 4) {  
      if (eval(latdiff + longdiff) < lldiff || (!ourctyfound && selihs[ijj].split(',')[3].split('"')[0] == cqq(selihs[ijj].split(',')[3].split('"')[0],document.getElementById('placegeo').title.split(',')[0]))) {
        if (selihs[ijj].split(',')[3].split('"')[0] == cqq(selihs[ijj].split(',')[3].split('"')[0],document.getElementById('placegeo').title.split(',')[0])) {  
        //console.log(selihs[ijj].split(',')[3].split('"')[0]);
        ourctyfound=true;  
        lldiff=eval(latdiff + longdiff);
        nearesttzij=ijj;
        comma=""; //"," + selihs[ijj].split(',')[2] + "," + prevcc + "," + selihs[ijj].split(',')[4].split('"')[0] + ",";
        nearesttz=comma + selihs[eval(-1 + ijj)].split(' value="')[eval(-1 + selihs[eval(-1 + ijj)].split(' value="').length)].split('"')[0];
    //alert('subsequent nearesttz=' + nearesttz);
        }
        }
      }
    }
		if (nearesttz != '') {
		if (document.getElementById('placegeo').title.split(',').length == 3) {
		  readlat=eval(document.getElementById('placegeo').title.split(',')[1]);
		  readlong=eval(document.getElementById('placegeo').title.split(',')[2]);
		}
		if (window.localStorage) {
		localStorage.setItem('wls_vs_php_colour_wheel_style', encodeURIComponent(document.getElementById('ourcanvas').outerHTML.split(' style="')[1].split('"')[0].replace('display: none;','')));
        if (isChrome || isOpera) {
        document.getElementById('bigdiv').innerHTML=maybeifsgetto('<iframe style="z-index:34;width:100%;height:100vh;" src="' + '//www.rjmprogramming.com.au/HTMLCSS/colour_wheel.html?mode=' + nearesttz.replace(/\ /g,'_') + '&butp=' + encodeURIComponent(getoneorother) + '&placeurl=' + encodeURIComponent(document.getElementById('ourcanvas').title) + '&altlatis=' + encodeURIComponent('' + readlat) + '&altlongis=' + encodeURIComponent('' + readlong) + '&extrastyle=%20' + '"></iframe>');
        document.getElementById('bigdiv').style.display='block';
        } else { 
        location.href='//www.rjmprogramming.com.au/HTMLCSS/colour_wheel.html?mode=' + nearesttz.replace(/\ /g,'_') + '&butp=' + encodeURIComponent(getoneorother) + '&placeurl=' + encodeURIComponent(document.getElementById('ourcanvas').title) + '&altlatis=' + encodeURIComponent('' + readlat) + '&altlongis=' + encodeURIComponent('' + readlong) + '&extrastyle=%20'; // + encodeURIComponent(document.getElementById('ourcanvas').outerHTML.split(' style="')[1].split('"')[0]);
        setTimeout(postws,1000);
        throw new Error("Stop script");
        }
        return;
		} else {
        if (isChrome || isOpera) {
        document.getElementById('bigdiv').innerHTML=maybeifsgetto('<iframe style="z-index:34;width:100%;height:100vh;" src="' + '//www.rjmprogramming.com.au/HTMLCSS/colour_wheel.html?mode=' + nearesttz.replace(/\ /g,'_') + '&butp=' + encodeURIComponent(getoneorother) + '&placeurl=' + encodeURIComponent(document.getElementById('ourcanvas').title) + '&altlatis=' + encodeURIComponent('' + readlat) + '&altlongis=' + encodeURIComponent('' + readlong) + '&extrastyle=' + encodeURIComponent(document.getElementById('ourcanvas').outerHTML.split(' style="')[1].split('"')[0].replace('display: none;','')) + '"></iframe>');
        document.getElementById('bigdiv').style.display='block';
        } else { 
        location.href='//www.rjmprogramming.com.au/HTMLCSS/colour_wheel.html?mode=' + nearesttz.replace(/\ /g,'_') + '&butp=' + encodeURIComponent(getoneorother) + '&placeurl=' + encodeURIComponent(document.getElementById('ourcanvas').title) + '&altlatis=' + encodeURIComponent('' + readlat) + '&altlongis=' + encodeURIComponent('' + readlong) + '&extrastyle=' + encodeURIComponent(document.getElementById('ourcanvas').outerHTML.split(' style="')[1].split('"')[0].replace('display: none;',''));
        setTimeout(postws,1000);
        throw new Error("Stop script");
        }
        return;
        }
        }
       }
       
     }
    }
    if (!hangon) { document.getElementById('bigdiv').style.display='block'; }
  }
  }
}
function postws() {
  window.stop();
}
function wselit(iois) { //iois) {
  var apiselsare=[], wasih='';
  //iois=wiois;  //document.getElementById('weatheri');
  if (('' + iois.src).replace(document.URL,'') != '') {
  if (iois != null) {
    //gapiref='';
    //alert('where ' + ('' + iois.src));
    //document.getElementById('igapiref').value='';
    var waconto = (iois.contentWindow || iois.contentDocument);
    if (waconto != null) {
     if (waconto.document) { waconto = waconto.document; }
     if (waconto.body != null) {
         //alert('there' + waconto.body.innerHTML);
       if (waconto.body.innerHTML.toLowerCase().indexOf('<option ') != -1) {
         //alert('here');
         var selsare=waconto.body.innerHTML.toLowerCase().split('<option ');
         //alert('' + selsare.length);
         if (eval('' + selsare.length) >= 2) {
         apiselsare=waconto.body.innerHTML.toLowerCase().split('<option ')[1].split('/q/');
         if (eval('' + apiselsare.length) > 1) {
         gapiref=apiselsare[1].replace('>','"').split('"')[0];
         if (document.getElementById('lastflag').innerHTML != '') {
           wasih=document.getElementById('igapiref').innerHTML;
           document.getElementById('igapiref').innerHTML=document.getElementById('lastflag').innerHTML + ' ' + wasih;
         }
         document.getElementById('igapiref').value=gapiprefix + gapiref;
         //alert('no:' + gapiprefix + gapiref);
         } else if (1 == 11) {
         alert('yes:' + document.getElementById('myselcont').innerHTML);
         }
         }
       } else {
    gapiref='';
    //alert('where ' + ('' + iois.src));
    document.getElementById('igapiref').value='';
         //alert('Yes:' + document.getElementById('myselcont').innerHTML);
         apiselsare=document.getElementById('myselcont').innerHTML.toLowerCase().split('/q/');
         //alert('YEs:' + document.getElementById('myselcont').innerHTML);
         if (eval('' + apiselsare.length) > 1) {
         //alert('YES:' + document.getElementById('myselcont').innerHTML);
         gapiref=apiselsare[1].replace('>','"').split('"')[0];
         if (document.getElementById('lastflag').innerHTML != '') {
           wasih=document.getElementById('igapiref').innerHTML;
           document.getElementById('igapiref').innerHTML=document.getElementById('lastflag').innerHTML + ' ' + wasih;
         }
         document.getElementById('igapiref').value=gapiprefix + gapiref;
         //alert('No:' + gapiprefix + gapiref);
         }
       }
     }
    }
  }
  }
}
function prepit() {
       usuffx='';
       for (var iip=1; iip<uclio.length; iip++) {
         usuffx+='&ione' + iip + 'put=' + encodeURIComponent(uclio[eval(-1 + iip)].replace('|', ', ').replace(/\'/g,'`'));
         usuffx+='&itwo' + iip + 'put=' + encodeURIComponent(uclio[eval(0 + iip)].replace('|', ', ').replace(/\'/g,'`'));
       }
       return usuffx;
}
function aftertpit() {
       for (var iip=1; iip<uclio.length; iip++) {
         if (atcwo.document.getElementById('ione' + iip + 'put')) {
           atcwo.document.getElementById('ione' + iip + 'put').value=uclio[eval(-1 + iip)].replace('|', ', ').replace(/\'/g,'`');
         }
         if (atcwo.document.getElementById('itwo' + iip + 'put')) {
           atcwo.document.getElementById('itwo' + iip + 'put').value=uclio[eval(0 + iip)].replace('|', ', ').replace(/\'/g,'`');
         }
       }
}
function tripplanit(iois) {
  if (iois == null) {
  if (bname != '_blank') {
  document.getElementById(bname).src=document.URL.split(':')[0] + ':' + (atcurl + usuffx).replace('&atc_task=&', '&atc_task=' + eval(-1 + eval('' + uclio.length)) + '&');
  } else {
  if (atcwo != null) { atcwo.close(); atcwo=null; }
  atcwo=window.open(document.URL.split(':')[0] + ':' + (atcurl + usuffx).replace('&atc_task=&', '&atc_task=' + eval(-1 + eval('' + uclio.length)) + '&'), '_blank', 'top=10,left=10,width=1080,height=1000');
  setTimeout(aftertpit, 8000);
  }
  } else if (('' + iois.srcdoc) != '' || ('' + iois.src).replace(document.URL,'') != '') {
  if (iois != null) {
    var tpaconto = (iois.contentWindow || iois.contentDocument);
    if (tpaconto != null) {
     if (tpaconto.document) { tpaconto = tpaconto.document; }
     if (tpaconto.body != null && 2 == 9) {
       for (var iip=1; iip<uclio.length; iip++) {
         if (tpaconto.getElementById('ione' + iip + 'put')) {
           tpaconto.getElementById('ione' + iip + 'put').value=uclio[eval(-1 + iip)].replace('|', ', ').replace(/\'/g,'`');
         }
         if (tpaconto.getElementById('itwo' + iip + 'put')) {
           tpaconto.getElementById('itwo' + iip + 'put').value=uclio[eval(0 + iip)].replace('|', ', ').replace(/\'/g,'`');
         }
       }
     }
    }
  }
  }
}
function selit(iois) {
  var huhsss, rectz;
  if (('' + iois.srcdoc) != '' || ('' + iois.src).replace(document.URL,'') != '') {
  if (iois != null) {
    var aconto = (iois.contentWindow || iois.contentDocument);
    if (aconto != null) {
     if (aconto.document) { aconto = aconto.document; }
     if (aconto.body != null) {
       if (aconto.body.innerHTML.toLowerCase().indexOf('<select ') != -1) {
         //aconto.getElementById('sele').value=seleval;
         var oursp='';
         var sp='/' + seleval.split('/')[0];
         var spalt='/' + seleval.split('/')[eval(-1 + seleval.split('/').length)];
         if (thiscc != '' && tzp.indexOf(sp + '"') == -1 && tzp.indexOf(spalt + '"') == -1 && tzp.indexOf(spalt.split('_')[0].split(' ')[0] + '"') == -1) {
          //document.getElementById('divtzi').innerHTML='<iframe style=display:none; id=tzi src=../PHP/fgc/?placegeo=' + sp.substring(1) + placegeosuffix + '></iframe>'; 
          //placegeosuffix='';
          if (tzphelper.indexOf('|' + sp.substring(1).replace(/\_/g,' ') + ',') != -1) {
           oursp='/' + tzphelper.split('|' + sp.substring(1).replace(/\_/g,' ') + ',')[1].split('|')[0].split(',')[eval(-1 + tzphelper.split('|' + sp.substring(1).replace(/\_/g,' ') + ',')[1].split('|')[0].split(',').length)].split('/')[eval(-1 + tzphelper.split('|' + sp.substring(1).replace(/\_/g,' ') + ',')[1].split('|')[0].split(',')[eval(-1 + tzphelper.split('|' + sp.substring(1).replace(/\_/g,' ') + ',')[1].split('|')[0].split(',').length)].split('/').length)];
           huhsss=tzp.split(oursp)[0].split('"')[eval(-1 + tzp.split(oursp)[0].split('"').length)];
           aconto.getElementById('tzi').src=aconto.getElementById('tzi').src.split('?')[0] + '?tzexact=' + encodeURIComponent(huhsss + oursp) + '&tznickname=' + encodeURIComponent(oursp.substring(1).replace(/_/g,' '));
           aconto.getElementById('sele').value=huhsss + oursp;            
          } else if (document.getElementById('sele').outerHTML.indexOf(',' + thiscc.toUpperCase() + ',') != -1) {
           oursp=document.getElementById('sele').outerHTML.split(',' + thiscc.toUpperCase() + ',')[0].split(' value="')[eval(-1 + document.getElementById('sele').outerHTML.split(',' + thiscc.toUpperCase() + ',')[0].split(' value="').length)].split('"')[0];
           oursp='/' + oursp.split('/')[eval(-1 + oursp.split('/').length)];
           huhsss=tzp.split(oursp)[0].split('"')[eval(-1 + tzp.split(oursp)[0].split('"').length)];
           aconto.getElementById('tzi').src=aconto.getElementById('tzi').src.split('?')[0] + '?tzexact=' + encodeURIComponent(huhsss + oursp) + '&tznickname=' + encodeURIComponent(oursp.substring(1).replace(/_/g,' '));
           aconto.getElementById('sele').value=huhsss + oursp;            
          }
         }
         if (tzp.indexOf(sp + '"') != -1) {
           huhsss=tzp.split(sp)[0].split('"')[eval(-1 + tzp.split(sp)[0].split('"').length)];
           aconto.getElementById('tzi').src=aconto.getElementById('tzi').src.split('?')[0] + '?tzexact=' + encodeURIComponent(huhsss + sp) + '&tznickname=' + encodeURIComponent(sp.substring(1).replace(/_/g,' '));
           aconto.getElementById('sele').value=huhsss + sp;
         } else if (tzp.indexOf(spalt + '"') != -1) {
           sp=spalt;
           huhsss=tzp.split(sp)[0].split('"')[eval(-1 + tzp.split(sp)[0].split('"').length)];
           aconto.getElementById('tzi').src=aconto.getElementById('tzi').src.split('?')[0] + '?tzexact=' + encodeURIComponent(huhsss + sp) + '&tznickname=' + encodeURIComponent(sp.substring(1).replace(/_/g,' '));
           aconto.getElementById('sele').value=huhsss + sp;
         } else if (tzp.indexOf(spalt.split('_')[0].split(' ')[0] + '"') != -1) {
           sp=spalt.split('_')[0].split(' ')[0];
           huhsss=tzp.split(sp)[0].split('"')[eval(-1 + tzp.split(sp)[0].split('"').length)];
           aconto.getElementById('tzi').src=aconto.getElementById('tzi').src.split('?')[0] + '?tzexact=' + encodeURIComponent(huhsss + sp) + '&tznickname=' + encodeURIComponent(sp.substring(1).replace(/_/g,' '));
           aconto.getElementById('sele').value=huhsss + sp;
         } else if (gapiref != '') { //document.getElementById('myselcont').innerHTML.indexOf('/q/') != -1) {
       //alert(1);
           rectz=iois.getBoundingClientRect();
       //alert(11);
           window.open(gapiprefix + gapiref, '_blank', 'top=' + rectz.top + ',left=' + rectz.top + ',width=' +  + rectz.width + ',height=' +  + rectz.height);
         } else {
       //alert(111);
           rectz=iois.getBoundingClientRect();
       //alert(1111);
           window.open('//en.wikipedia.org/wiki/' + placeis.replace(/\ /g,'_'), '_blank', 'top=' + rectz.top + ',left=' + rectz.top + ',width=' +  + rectz.width + ',height=' +  + rectz.height);
         }
         //aconto.designMode = "on";
         //aconto.execCommand('enableObjectResizing');
       }
     }
    }
  }
  }
}
  function enlarge() {
    var hgtis=eval('' + document.getElementById('iheight').value);
    var wdtis=eval('' + document.getElementById('iwidth').value);
    hgtis=Math.floor(eval(1.2 * hgtis));
    wdtis=Math.floor(eval(1.2 * wdtis));
    document.getElementById('iheight').value='' + hgtis;
    document.getElementById('iwidth').value='' + wdtis;
    document.getElementById('geosb').click();
  }
  
  //if (getoneorother != '' && getcapitals == '' && getcountries == '') {
  //  document.body.style.display='none';
  //}     
</script>
</head>
<body onload="precheckforreport();  if (document.getElementById('sele').innerHTML.indexOf(' data-geo=') == -1) { document.getElementById('divtzi').innerHTML='<iframe style=display:none; id=tzi src=../PHP/fgc/?tzlist=y&ccodetoo=y></iframe>'; } ajaxit(document.URL.split('.htm')[0] + '.php',document); checkforreport();  ">
<div id=bigdiv style='display:none;'>
<h1 id=myh1>Window <select id=smode onchange='datamode=this.value;'><option value=localStorage>localStorage</option><option value=sessionStorage>sessionStorage</option></select> as Needed<span id=tpspan></span></h1>
<h3>RJM Programming - December, 2019</h3>
<form onsubmit='return analyze();' id='myform' action='./wls_vs_php.htm' method='GET'><div id=divgmi></div>
<input type=hidden name=countries id=countries value=''></input><input type=hidden name=capitals id=capitals value=''></input>
<table style='width:99%;height:800px;' border=20>
<tr style='height:40px;background-color:lightgray;'><th onclick=" console.log('234'); noif(); ">Capitals <span title='Add your own place(s)' onclick="console.log('5621'); asknewplace();" style='cursor:pointer;text-decoration:none;'>➕</span> <select onchange=" if (this.value.length == 0) {  document.getElementById('scapitals').innerHTML=firstopt + wasopts;   } else if (this.value.trim().length == 0) {  document.getElementById('scapitals').innerHTML=firstopt + restoptsz; } else if (this.value.trim().length == 1) {  document.getElementById('scapitals').innerHTML=firstopt + startat(restopts,this.value);  } else { document.getElementById('scapitals').innerHTML=firstopt + restopts; } "><option value=''></option><option value=sort>Sorted Alphabetically</option><option value=' '>Reverse Sorted Alphabetically</option><option value='A'>A</option><option value='B'>B</option><option value='C'>C</option><option value='D'>D</option><option value='d'>E</option><option value='F'>F</option><option value='G'>G</option><option value='H'>H</option><option value='I'>I</option><option value='J'>J</option><option value='K'>K</option><option value='L'>L</option><option value='M'>M</option><option value='N'>N</option><option value='O'>O</option><option value='P'>P</option><option value='Q'>Q</option><option value='R'>R</option><option value='S'>S</option><option value='T'>T</option><option value='U'>U</option><option value='V'>V</option><option value='W'>W</option><option value='w'>X</option><option value='Y'>Y</option><option value='Z'>Z</option></select></th><th title='Start again' onclick="console.log('4578'); location.href=document.URL.split('#')[0].split('?')[0];">Countries Report</th></tr>
<tr><td style='background-color:%f7f7f7;text-align:center;' id=lefttd onclick=" console.log('13234');  noif(); "><select class=dglow onclick=" console.log('67234');  noif(); " title='Please select Capital(s) below to get Countries Report ...' onfocusout=" document.getElementById('myrepsb').className='dglow'; tablemode = ''; nothere=true; updatecountries(null);" style='width:300px;margin-top:0px;margin-left:0px;vertical-align:top;height:100vh;background-color:lightblue;' id=scapitals multiple>
<option onclick="updatecountries(this);" value='' onclick=" noif(); ">Please select Capital(s) below to get Countries Report ...</option>
<option onclick="updatecountries(this);" value="Afghanistan">Kabul</option>
<option onclick="updatecountries(this);" value="Albania">Tirane</option>
<option onclick="updatecountries(this);" value="Algeria">Algiers</option>
<option onclick="updatecountries(this);" value="Andorra">Andorra la Vella</option>
<option onclick="updatecountries(this);" value="Angola">Luanda</option>
<option onclick="updatecountries(this);" value="Antigua and Barbuda">Saint John's</option>
<option onclick="updatecountries(this);" value="Argentina">Buenos Aires</option>
<option onclick="updatecountries(this);" value="Armenia">Yerevan</option>
<option onclick="updatecountries(this);" value="Australia">Canberra</option>
<option onclick="updatecountries(this);" value="Austria">Vienna</option>
<option onclick="updatecountries(this);" value="Azerbaijan">Baku</option>
<option onclick="updatecountries(this);" value="Bahamas">Nassau</option>
<option onclick="updatecountries(this);" value="Bahrain">Manama</option>
<option onclick="updatecountries(this);" value="Bangladesh">Dhaka</option>
<option onclick="updatecountries(this);" value="Barbados">Bridgetown</option>
<option onclick="updatecountries(this);" value="Belarus">Minsk</option>
<option onclick="updatecountries(this);" value="Belgium">Brussels</option>
<option onclick="updatecountries(this);" value="Belize">Belmopan</option>
<option onclick="updatecountries(this);" value="Benin">Porto-Novo</option>
<option onclick="updatecountries(this);" value="Bhutan">Thimphu</option>
<option onclick="updatecountries(this);" value="Bolivia">La Paz (administrative), Sucre (judicial)</option>
<option onclick="updatecountries(this);" value="Bosnia and Herzegovina">Sarajevo</option>
<option onclick="updatecountries(this);" value="Botswana">Gaborone</option>
<option onclick="updatecountries(this);" value="Brazil">Brasilia</option>
<option onclick="updatecountries(this);" value="Brunei">Bandar Seri Begawan</option>
<option onclick="updatecountries(this);" value="Bulgaria">Sofia</option>
<option onclick="updatecountries(this);" value="Burkina Faso">Ouagadougou</option>
<option onclick="updatecountries(this);" value="Burundi">Bujumbura</option>
<option onclick="updatecountries(this);" value="Cape Verde">Praia</option>
<option onclick="updatecountries(this);" value="Cambodia">Phnom Penh</option>
<option onclick="updatecountries(this);" value="Cameroon">Yaounde</option>
<option onclick="updatecountries(this);" value="Canada">Ottawa</option>
<option onclick="updatecountries(this);" value="Central African Republic">Bangui</option>
<option onclick="updatecountries(this);" value="Chad">N'Djamena</option>
<option onclick="updatecountries(this);" value="Chile">Santiago</option>
<option onclick="updatecountries(this);" value="China">Beijing</option>
<option onclick="updatecountries(this);" value="Colombia">Bogotá</option>
<option onclick="updatecountries(this);" value="Comoros">Moroni</option>
<option onclick="updatecountries(this);" value="Democratic Republic of the Congo">Kinshasa</option>
<option onclick="updatecountries(this);" value="Congo (the)">Brazzaville</option>
<option onclick="updatecountries(this);" value="Costa Rica">San Jose</option>
<option onclick="updatecountries(this);" value="Cote d'Ivoire">Yamoussoukro</option>
<option onclick="updatecountries(this);" value="Croatia">Zagreb</option>
<option onclick="updatecountries(this);" value="Cuba">Havana</option>
<option onclick="updatecountries(this);" value="Cyprus">Nicosia</option>
<option onclick="updatecountries(this);" value="Czech Republic">Prague</option>
<option onclick="updatecountries(this);" value="Denmark">Copenhagen</option>
<option onclick="updatecountries(this);" value="Djibouti">Djibouti (city)</option>
<option onclick="updatecountries(this);" value="Dominica">Roseau</option>
<option onclick="updatecountries(this);" value="Dominican Republic">Santo Domingo</option>
<option onclick="updatecountries(this);" value="Ecuador">Quito</option>
<option onclick="updatecountries(this);" value="Egypt">Cairo</option>
<option onclick="updatecountries(this);" value="El Salvador">San Salvador</option>
<option onclick="updatecountries(this);" value="Equatorial Guinea">Malabo</option>
<option onclick="updatecountries(this);" value="Eritrea">Asmara</option>
<option onclick="updatecountries(this);" value="Estonia">Tallinn</option>
<option onclick="updatecountries(this);" value="Ethiopia">Addis Ababa</option>
<option onclick="updatecountries(this);" value="Fiji">Suva</option>
<option onclick="updatecountries(this);" value="Finland">Helsinki</option>
<option onclick="updatecountries(this);" value="France">Paris</option>
<option onclick="updatecountries(this);" value="Gabon">Libreville</option>
<option onclick="updatecountries(this);" value="Gambia">Banjul</option>
<option onclick="updatecountries(this);" value="Georgia">Tbilisi</option>
<option onclick="updatecountries(this);" value="Germany">Berlin</option>
<option onclick="updatecountries(this);" value="Ghana">Accra</option>
<option onclick="updatecountries(this);" value="Greece">Athens</option>
<option onclick="updatecountries(this);" value="Grenada">Saint George's</option>
<option onclick="updatecountries(this);" value="Guatemala">Guatemala City</option>
<option onclick="updatecountries(this);" value="Guinea">Conakry</option>
<option onclick="updatecountries(this);" value="Guinea-Bissau">Bissau</option>
<option onclick="updatecountries(this);" value="Guyana">Georgetown</option>
<option onclick="updatecountries(this);" value="Haiti">Port-au-Prince</option>
<option onclick="updatecountries(this);" value="Honduras">Tegucigalpa</option>
<option onclick="updatecountries(this);" value="Hungary">Budapest</option>
<option onclick="updatecountries(this);" value="Iceland">Reykjavik</option>
<option onclick="updatecountries(this);" value="India">New Delhi</option>
<option onclick="updatecountries(this);" value="Indonesia">Jakarta</option>
<option onclick="updatecountries(this);" value="Iran">Tehran</option>
<option onclick="updatecountries(this);" value="Iraq">Baghdad</option>
<option onclick="updatecountries(this);" value="Ireland">Dublin</option>
<option onclick="updatecountries(this);" value="Israel">Jerusalem</option>
<option onclick="updatecountries(this);" value="Italy">Rome</option>
<option onclick="updatecountries(this);" value="Jamaica">Kingston</option>
<option onclick="updatecountries(this);" value="Japan">Tokyo</option>
<option onclick="updatecountries(this);" value="Jordan">Amman</option>
<option onclick="updatecountries(this);" value="Kazakhstan">Astana</option>
<option onclick="updatecountries(this);" value="Kenya">Nairobi</option>
<option onclick="updatecountries(this);" value="Kiribati">South Tarawa</option>
<option onclick="updatecountries(this);" value="Kosovo">Pristina</option>
<option onclick="updatecountries(this);" value="Kuwait">Kuwait City</option>
<option onclick="updatecountries(this);" value="Kyrgyzstan">Bishkek</option>
<option onclick="updatecountries(this);" value="Laos">Vientiane</option>
<option onclick="updatecountries(this);" value="Latvia">Riga</option>
<option onclick="updatecountries(this);" value="Lebanon">Beirut</option>
<option onclick="updatecountries(this);" value="Lesotho">Maseru</option>
<option onclick="updatecountries(this);" value="Liberia">Monrovia</option>
<option onclick="updatecountries(this);" value="Libya">Tripoli</option>
<option onclick="updatecountries(this);" value="Liechtenstein">Vaduz</option>
<option onclick="updatecountries(this);" value="Lithuania">Vilnius</option>
<option onclick="updatecountries(this);" value="Luxembourg">Luxembourg</option>
<option onclick="updatecountries(this);" value="Macedonia">Skopje</option>
<option onclick="updatecountries(this);" value="Madagascar">Antananarivo</option>
<option onclick="updatecountries(this);" value="Malawi">Lilongwe</option>
<option onclick="updatecountries(this);" value="Malaysia">Kuala Lumpur</option>
<option onclick="updatecountries(this);" value="Maldives">Male</option>
<option onclick="updatecountries(this);" value="Mali">Bamako</option>
<option onclick="updatecountries(this);" value="Malta">Valletta</option>
<option onclick="updatecountries(this);" value="Marshall Islands">Majuro</option>
<option onclick="updatecountries(this);" value="Mauritania">Nouakchott</option>
<option onclick="updatecountries(this);" value="Mauritius">Port Louis</option>
<option onclick="updatecountries(this);" value="Mexico">Mexico City</option>
<option onclick="updatecountries(this);" value="Micronesia">Palikir</option>
<option onclick="updatecountries(this);" value="Moldova">Chisinau</option>
<option onclick="updatecountries(this);" value="Monaco">Monaco</option>
<option onclick="updatecountries(this);" value="Mongolia">Ulaanbaatar</option>
<option onclick="updatecountries(this);" value="Montenegro">Podgorica</option>
<option onclick="updatecountries(this);" value="Morocco">Rabat</option>
<option onclick="updatecountries(this);" value="Mozambique">Maputo</option>
<option onclick="updatecountries(this);" value="Myanmar (Burma)">Naypyidaw</option>
<option onclick="updatecountries(this);" value="Namibia">Windhoek</option>
<option onclick="updatecountries(this);" value="Nauru">Yaren District</option>
<option onclick="updatecountries(this);" value="Nepal">Kathmandu</option>
<option onclick="updatecountries(this);" value="Netherlands">Amsterdam</option>
<option onclick="updatecountries(this);" value="New Zealand">Wellington</option>
<option onclick="updatecountries(this);" value="Nicaragua">Managua</option>
<option onclick="updatecountries(this);" value="Niger">Niamey</option>
<option onclick="updatecountries(this);" value="Nigeria">Abuja</option>
<option onclick="updatecountries(this);" value="North Korea">Pyongyang</option>
<option onclick="updatecountries(this);" value="Norway">Oslo</option>
<option onclick="updatecountries(this);" value="Oman">Muscat</option>
<option onclick="updatecountries(this);" value="Pakistan">Islamabad</option>
<option onclick="updatecountries(this);" value="Palau">Ngerulmud</option>
<option onclick="updatecountries(this);" value="Palestine">Ramallah</option>
<option onclick="updatecountries(this);" value="Panama">Panama City</option>
<option onclick="updatecountries(this);" value="Papua New Guinea">Port Moresby</option>
<option onclick="updatecountries(this);" value="Paraguay">Asunción</option>
<option onclick="updatecountries(this);" value="Peru">Lima</option>
<option onclick="updatecountries(this);" value="Philippines">Manila</option>
<option onclick="updatecountries(this);" value="Poland">Warsaw</option>
<option onclick="updatecountries(this);" value="Portugal">Lisbon</option>
<option onclick="updatecountries(this);" value="Qatar">Doha</option>
<option onclick="updatecountries(this);" value="Romania">Bucharest</option>
<option onclick="updatecountries(this);" value="Russia">Moscow</option>
<option onclick="updatecountries(this);" value="Rwanda">Kigali</option>
<option onclick="updatecountries(this);" value="Saint Kitts and Nevis">Basseterre</option>
<option onclick="updatecountries(this);" value="Saint Lucia">Castries</option>
<option onclick="updatecountries(this);" value="Saint Vincent and the Grenadines">Kingstown</option>
<option onclick="updatecountries(this);" value="Samoa">Apia</option>
<option onclick="updatecountries(this);" value="San Marino">San Marino</option>
<option onclick="updatecountries(this);" value="Sao Tome and Principe">São Tomé</option>
<option onclick="updatecountries(this);" value="Saudi Arabia">Riyadh</option>
<option onclick="updatecountries(this);" value="Senegal">Dakar</option>
<option onclick="updatecountries(this);" value="Serbia">Belgrade</option>
<option onclick="updatecountries(this);" value="Seychelles">Victoria</option>
<option onclick="updatecountries(this);" value="Sierra Leone">Freetown</option>
<option onclick="updatecountries(this);" value="Singapore">Singapore</option>
<option onclick="updatecountries(this);" value="Slovakia">Bratislava</option>
<option onclick="updatecountries(this);" value="Slovenia">Ljubljana</option>
<option onclick="updatecountries(this);" value="Solomon Islands">Honiara</option>
<option onclick="updatecountries(this);" value="Somalia">Mogadishu</option>
<option onclick="updatecountries(this);" value="South Africa">Pretoria (administrative), Cape Town (legislative), Bloemfontein (judicial)</option>
<option onclick="updatecountries(this);" value="South Korea">Seoul</option>
<option onclick="updatecountries(this);" value="South Sudan">Juba</option>
<option onclick="updatecountries(this);" value="Spain">Madrid</option>
<option onclick="updatecountries(this);" value="Sri Lanka">Sri Jayawardenepura Kotte</option>
<option onclick="updatecountries(this);" value="Sudan">Khartoum</option>
<option onclick="updatecountries(this);" value="Suriname">Paramaribo</option>
<option onclick="updatecountries(this);" value="Swaziland">Mbabane</option>
<option onclick="updatecountries(this);" value="Sweden">Stockholm</option>
<option onclick="updatecountries(this);" value="Switzerland">Bern</option>
<option onclick="updatecountries(this);" value="Syria">Damascus</option>
<option onclick="updatecountries(this);" value="Taiwan">Taipei</option>
<option onclick="updatecountries(this);" value="Tajikistan">Dushanbe</option>
<option onclick="updatecountries(this);" value="Tanzania">Dodoma</option>
<option onclick="updatecountries(this);" value="Thailand">Bangkok</option>
<option onclick="updatecountries(this);" value="Timor-Leste">Dili</option>
<option onclick="updatecountries(this);" value="Togo">Lomé</option>
<option onclick="updatecountries(this);" value="Tonga">Nukuʻalofa</option>
<option onclick="updatecountries(this);" value="Trinidad and Tobago">Port of Spain</option>
<option onclick="updatecountries(this);" value="Tunisia">Tunis</option>
<option onclick="updatecountries(this);" value="Turkey">Ankara</option>
<option onclick="updatecountries(this);" value="Turkmenistan">Ashgabat</option>
<option onclick="updatecountries(this);" value="Tuvalu">Funafuti</option>
<option onclick="updatecountries(this);" value="Uganda">Kampala</option>
<option onclick="updatecountries(this);" value="Ukraine">Kyiv</option>
<option onclick="updatecountries(this);" value="United Arab Emirates">Abu Dhabi</option>
<option onclick="updatecountries(this);" value="United Kingdom">London</option>
<option onclick="updatecountries(this);" value="United States of America">Washington, D.C.</option>
<option onclick="updatecountries(this);" value="Uruguay">Montevideo</option>
<option onclick="updatecountries(this);" value="Uzbekistan">Tashkent</option>
<option onclick="updatecountries(this);" value="Vanuatu">Port Vila</option>
<option onclick="updatecountries(this);" value="Vatican City (Holy See)">Vatican City</option>
<option onclick="updatecountries(this);" value="Venezuela">Caracas</option>
<option onclick="updatecountries(this);" value="Vietnam">Hanoi</option>
<option onclick="updatecountries(this);" value="Yemen">Sana'a</option>
<option onclick="updatecountries(this);" value="Zambia">Lusaka</option>
<option onclick="updatecountries(this);" value="Zimbabwe">Harare</option>
</select></td><td style="vertical-align:top;background-color:lightgreen;" id=tdrightreport><input id=myrepsb style=background-color:yellow;vertical-align:top;margin-bottom:10px; type=submit value='Report ...'></input> <a id=ygmies onclick="location.href=document.URL + '&gmi=y';" style='display:none;cursor:pointer;text-decoration:none;' title='Trip Plan Itinerary'>🗺</a> <a id=maptoggle onclick="isgeo=!isgeo; geomapit(isgeo);" style=cursor:pointer;text-decoration:none;display:none;background-color:pink;>Toggle between Geo Chart and Map below</a><br><input class=dglow onclick="andlinkit=false;  ao=document.getElementById('myaemail'); ask(); if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) {  table_to_clipboard();   if (1 == 2) {  top.location.href=ao.href; } } else { ao.click(); }" id=mybemail style=background-color:yellow;vertical-align:top;display:none;margin-bottom:10px; type=button value='Email Columns ...'></input> <input class=dglow onclick="andlinkit=true; updatecountries(null); ao=document.getElementById('myaemail'); ask(); if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) {  table_to_clipboard();   if (1 == 2) {  top.location.href=ao.href; } } else { ao.click(); }" id=myzemail style=background-color:yellow;vertical-align:top;display:none;margin-bottom:10px; type=button value='Email Columns and Links ...'></input> <input class=dglow onclick="tablemode='<table cellpadding=60 cellspacing=10 id=tableemail border=5></table>'; updatecountries(null); document.getElementById('mybemail').click();" id=mycemail style=display:none;margin-bottom:10px; type=button value='Email Table ...'></input><br><input class=dglow onclick="andlinkit=false; bo=document.getElementById('myasms'); smsask(); if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) { top.location.href=bo.href; } else { bo.click(); } " id=mybsms style=background-color:yellow;vertical-align:top;display:none;margin-bottom:10px; type=button value='SMS Columns ...'></input> <input class=dglow onclick="andlinkit=true;  updatecountries(null); bo=document.getElementById('myasms'); smsask(); if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) { top.location.href=bo.href; } else { bo.click(); } " id=myzsms style=background-color:yellow;vertical-align:top;display:none;margin-bottom:10px; type=button value='SMS Columns and Links ...'></input> <input class=dglow onclick="tablemode='<table cellpadding=60 cellspacing=10 id=tablesms border=5></table>'; updatecountries(null); document.getElementById('mybsms').click();" id=mycsms style=display:none;margin-bottom:10px; type=button value='SMS Table ...'></input><br><br><br><div id=dreport></div></td></tr>
</table>
</form>
<!--iframe style='display:none;' src='./wls_vs_php.php' onload='huhpup(this);'></iframe-->
<a id=myaemail href='mailto:?subject=Capitals%20of%20Countries%20%2e%2e%2e%20can%20copy%20in%20clipboard%20contents&body=' style='display:none;'>Email</a>
<a id=myasms href='sms:?subject=Capitals%20of%20Countries%20%2e%2e%2e%20can%20copy%20in%20clipboard%20contents&body=' style='display:none;'>SMS</a>
<div id=divaemail></div>
<div id=dmyiframe  style='display:none;transform:scale(0.7);position:absolute;top:40px;left:0px;width:640px;height:1000px;z-index:-5;'><iframe class=glow onload=selit(this); style='display:none;position:absolute;top:40px;left:0px;width:640px;height:1000px;width:100%;height:100%;z-index:-5;' srcdoc='' id=myiframe></iframe></div>
<input id=igapiref type=hidden value=''></input><div id=dweatheri></div><!--iframe id=weatheri onload=wselit(this); style='display:none;' src=''></iframe-->
<div id='jsondata' style='display:none;'></div>
<div id='topjsondata' style='display:none;'></div>
<select id='myselcont' style='display:none;'></select>
<div id=divtzi></div><!--iframe style='display:none;' id=tzi src='../PHP/fgc/?tzlist=y&ccodetoo=y'></iframe-->
<select id="sele" style="display:none;"><option value="Africa/Abidjan" data-geo="5.31666,-4.03334,GMT,CI,+0">Africa/Abidjan</option><option value="Africa/Accra" data-geo="5.55,-0.21667,GMT,GH,+0">Africa/Accra</option><option value="Africa/Addis_Ababa" data-geo="9.03333,38.7,EAT,ET,+3">Africa/Addis_Ababa</option><option value="Africa/Algiers" data-geo="36.78333,3.05,CET,DZ,+1">Africa/Algiers</option><option value="Africa/Asmara" data-geo="15.33333,38.88333,EAT,ER,+3">Africa/Asmara</option><option value="Africa/Bamako" data-geo="12.65,-8,GMT,ML,+0">Africa/Bamako</option><option value="Africa/Bangui" data-geo="4.36666,18.58333,WAT,CF,+1">Africa/Bangui</option><option value="Africa/Banjul" data-geo="13.46666,-16.65,GMT,GM,+0">Africa/Banjul</option><option value="Africa/Bissau" data-geo="11.85,-15.58334,GMT,GW,+0">Africa/Bissau</option><option value="Africa/Blantyre" data-geo="-15.78334,35,CAT,MW,+2">Africa/Blantyre</option><option value="Africa/Brazzaville" data-geo="-4.26667,15.28333,WAT,CG,+1">Africa/Brazzaville</option><option value="Africa/Bujumbura" data-geo="-3.38334,29.36666,CAT,BI,+2">Africa/Bujumbura</option><option value="Africa/Cairo" data-geo="30.05,31.25,EET,EG,+2">Africa/Cairo</option><option value="Africa/Casablanca" data-geo="33.65,-7.58334,+01,MA,+0">Africa/Casablanca</option><option value="Africa/Ceuta" data-geo="35.88333,-5.31667,CEST,ES,+1">Africa/Ceuta</option><option value="Africa/Conakry" data-geo="9.51666,-13.71667,GMT,GN,+0">Africa/Conakry</option><option value="Africa/Dakar" data-geo="14.66666,-17.43334,GMT,SN,+0">Africa/Dakar</option><option value="Africa/Dar_es_Salaam" data-geo="-6.8,39.28333,EAT,TZ,+3">Africa/Dar_es_Salaam</option><option value="Africa/Djibouti" data-geo="11.6,43.15,EAT,DJ,+3">Africa/Djibouti</option><option value="Africa/Douala" data-geo="4.05,9.7,WAT,CM,+1">Africa/Douala</option><option value="Africa/El_Aaiun" data-geo="27.15,-13.2,+01,EH,+0">Africa/El_Aaiun</option><option value="Africa/Freetown" data-geo="8.5,-13.25,GMT,SL,+0">Africa/Freetown</option><option value="Africa/Gaborone" data-geo="-24.65001,25.91666,CAT,BW,+2">Africa/Gaborone</option><option value="Africa/Harare" data-geo="-17.83334,31.05,CAT,ZW,+2">Africa/Harare</option><option value="Africa/Johannesburg" data-geo="-26.25,28,SAST,ZA,+2">Africa/Johannesburg</option><option value="Africa/Juba" data-geo="4.85,31.6,EAT,SS,+3">Africa/Juba</option><option value="Africa/Kampala" data-geo="0.31666,32.41666,EAT,UG,+3">Africa/Kampala</option><option value="Africa/Khartoum" data-geo="15.6,32.53333,CAT,SD,+3">Africa/Khartoum</option><option value="Africa/Kigali" data-geo="-1.95,30.06666,CAT,RW,+2">Africa/Kigali</option><option value="Africa/Kinshasa" data-geo="-4.3,15.3,WAT,CD,+1">Africa/Kinshasa</option><option value="Africa/Lagos" data-geo="6.45,3.4,WAT,NG,+1">Africa/Lagos</option><option value="Africa/Libreville" data-geo="0.38333,9.45,WAT,GA,+1">Africa/Libreville</option><option value="Africa/Lome" data-geo="6.13333,1.21666,GMT,TG,+0">Africa/Lome</option><option value="Africa/Luanda" data-geo="-8.8,13.23333,WAT,AO,+1">Africa/Luanda</option><option value="Africa/Lubumbashi" data-geo="-11.66667,27.46666,CAT,CD,+2">Africa/Lubumbashi</option><option value="Africa/Lusaka" data-geo="-15.41667,28.28333,CAT,ZM,+2">Africa/Lusaka</option><option value="Africa/Malabo" data-geo="3.75,8.78333,WAT,GQ,+1">Africa/Malabo</option><option value="Africa/Maputo" data-geo="-25.96667,32.58333,CAT,MZ,+2">Africa/Maputo</option><option value="Africa/Maseru" data-geo="-29.46667,27.5,SAST,LS,+2">Africa/Maseru</option><option value="Africa/Mbabane" data-geo="-26.3,31.1,SAST,SZ,+2">Africa/Mbabane</option><option value="Africa/Mogadishu" data-geo="2.06666,45.36666,EAT,SO,+3">Africa/Mogadishu</option><option value="Africa/Monrovia" data-geo="6.3,-10.78334,GMT,LR,+0">Africa/Monrovia</option><option value="Africa/Nairobi" data-geo="-1.28334,36.81666,EAT,KE,+3">Africa/Nairobi</option><option value="Africa/Ndjamena" data-geo="12.11666,15.05,WAT,TD,+1">Africa/Ndjamena</option><option value="Africa/Niamey" data-geo="13.51666,2.11666,WAT,NE,+1">Africa/Niamey</option><option value="Africa/Nouakchott" data-geo="18.1,-15.95,GMT,MR,+0">Africa/Nouakchott</option><option value="Africa/Ouagadougou" data-geo="12.36666,-1.51667,GMT,BF,+0">Africa/Ouagadougou</option><option value="Africa/Porto-Novo" data-geo="6.48333,2.61666,WAT,BJ,+1">Africa/Porto-Novo</option><option value="Africa/Sao_Tome" data-geo="0.33333,6.73333,GMT,ST,+0">Africa/Sao_Tome</option><option value="Africa/Tripoli" data-geo="32.9,13.18333,EET,LY,+2">Africa/Tripoli</option><option value="Africa/Tunis" data-geo="36.8,10.18333,CET,TN,+1">Africa/Tunis</option><option value="Africa/Windhoek" data-geo="-22.56667,17.1,CAT,NA,+2">Africa/Windhoek</option><option value="America/Adak" data-geo="51.88,-176.65806,HDT,US,-10">America/Adak</option><option value="America/Anchorage" data-geo="61.21805,-149.90028,AKDT,US,-9">America/Anchorage</option><option value="America/Anguilla" data-geo="18.2,-63.06667,AST,AI,-4">America/Anguilla</option><option value="America/Antigua" data-geo="17.05,-61.8,AST,AG,-4">America/Antigua</option><option value="America/Araguaina" data-geo="-7.2,-48.2,-03,BR,-3">America/Araguaina</option><option value="America/Argentina/Buenos_Aires" data-geo="-34.6,-58.45,-03,AR,-3">America/Argentina/Buenos_Aires</option><option value="America/Argentina/Catamarca" data-geo="-28.46667,-65.78334,-03,AR,-3">America/Argentina/Catamarca</option><option value="America/Argentina/Cordoba" data-geo="-31.4,-64.18334,-03,AR,-3">America/Argentina/Cordoba</option><option value="America/Argentina/Jujuy" data-geo="-24.18334,-65.3,-03,AR,-3">America/Argentina/Jujuy</option><option value="America/Argentina/La_Rioja" data-geo="-29.43334,-66.85,-03,AR,-3">America/Argentina/La_Rioja</option><option value="America/Argentina/Mendoza" data-geo="-32.88334,-68.81667,-03,AR,-3">America/Argentina/Mendoza</option><option value="America/Argentina/Rio_Gallegos" data-geo="-51.63334,-69.21667,-03,AR,-3">America/Argentina/Rio_Gallegos</option><option value="America/Argentina/Salta" data-geo="-24.78334,-65.41667,-03,AR,-3">America/Argentina/Salta</option><option value="America/Argentina/San_Juan" data-geo="-31.53334,-68.51667,-03,AR,-3">America/Argentina/San_Juan</option><option value="America/Argentina/San_Luis" data-geo="-33.31667,-66.35,-03,AR,-3">America/Argentina/San_Luis</option><option value="America/Argentina/Tucuman" data-geo="-26.81667,-65.21667,-03,AR,-3">America/Argentina/Tucuman</option><option value="America/Argentina/Ushuaia" data-geo="-54.8,-68.3,-03,AR,-3">America/Argentina/Ushuaia</option><option value="America/Aruba" data-geo="12.5,-69.96667,AST,AW,-4">America/Aruba</option><option value="America/Asuncion" data-geo="-25.26667,-57.66667,-04,PY,-3">America/Asuncion</option><option value="America/Atikokan" data-geo="48.75861,-91.62167,EST,CA,-5">America/Atikokan</option><option value="America/Bahia" data-geo="-12.98334,-38.51667,-03,BR,-3">America/Bahia</option><option value="America/Bahia_Banderas" data-geo="20.8,-105.25,CDT,MX,-6">America/Bahia_Banderas</option><option value="America/Barbados" data-geo="13.1,-59.61667,AST,BB,-4">America/Barbados</option><option value="America/Belem" data-geo="-1.45,-48.48334,-03,BR,-3">America/Belem</option><option value="America/Belize" data-geo="17.5,-88.2,CST,BZ,-6">America/Belize</option><option value="America/Blanc-Sablon" data-geo="51.41666,-57.11667,AST,CA,-4">America/Blanc-Sablon</option><option value="America/Boa_Vista" data-geo="2.81666,-60.66667,-04,BR,-4">America/Boa_Vista</option><option value="America/Bogota" data-geo="4.6,-74.08334,-05,CO,-5">America/Bogota</option><option value="America/Boise" data-geo="43.61361,-116.2025,MDT,US,-7">America/Boise</option><option value="America/Cambridge_Bay" data-geo="69.11388,-105.05278,MDT,CA,-7">America/Cambridge_Bay</option><option value="America/Campo_Grande" data-geo="-20.45,-54.61667,-04,BR,-3">America/Campo_Grande</option><option value="America/Cancun" data-geo="21.08333,-86.76667,EST,MX,-5">America/Cancun</option><option value="America/Caracas" data-geo="10.5,-66.93334,-04,VE,-4.5">America/Caracas</option><option value="America/Cayenne" data-geo="4.93333,-52.33334,-03,GF,-3">America/Cayenne</option><option value="America/Cayman" data-geo="19.3,-81.38334,EST,KY,-5">America/Cayman</option><option value="America/Chicago" data-geo="41.85,-87.65,CDT,US,-6">America/Chicago</option><option value="America/Chihuahua" data-geo="28.63333,-106.08334,MDT,MX,-7">America/Chihuahua</option><option value="America/Costa_Rica" data-geo="9.93333,-84.08334,CST,CR,-6">America/Costa_Rica</option><option value="America/Creston" data-geo="49.1,-116.51667,MST,CA,-7">America/Creston</option><option value="America/Cuiaba" data-geo="-15.58334,-56.08334,-04,BR,-3">America/Cuiaba</option><option value="America/Curacao" data-geo="12.18333,-69,AST,CW,-4">America/Curacao</option><option value="America/Danmarkshavn" data-geo="76.76666,-18.66667,GMT,GL,+0">America/Danmarkshavn</option><option value="America/Dawson" data-geo="64.06666,-139.41667,PDT,CA,-8">America/Dawson</option><option value="America/Dawson_Creek" data-geo="59.76666,-120.23334,MST,CA,-7">America/Dawson_Creek</option><option value="America/Denver" data-geo="39.73916,-104.98417,MDT,US,-7">America/Denver</option><option value="America/Detroit" data-geo="42.33138,-83.04584,EDT,US,-5">America/Detroit</option><option value="America/Dominica" data-geo="15.3,-61.4,AST,DM,-4">America/Dominica</option><option value="America/Edmonton" data-geo="53.55,-113.46667,MDT,CA,-7">America/Edmonton</option><option value="America/Eirunepe" data-geo="-6.66667,-69.86667,-05,BR,-5">America/Eirunepe</option><option value="America/El_Salvador" data-geo="13.7,-89.2,CST,SV,-6">America/El_Salvador</option><option value="America/Fortaleza" data-geo="-3.71667,-38.5,-03,BR,-3">America/Fortaleza</option><option value="America/Glace_Bay" data-geo="46.19999,-59.95,ADT,CA,-4">America/Glace_Bay</option><option value="America/Godthab" data-geo="64.18333,-51.73334,-02,GL,-3">America/Godthab</option><option value="America/Goose_Bay" data-geo="53.33333,-60.41667,ADT,CA,-4">America/Goose_Bay</option><option value="America/Grand_Turk" data-geo="21.46666,-71.13334,EDT,TC,-4">America/Grand_Turk</option><option value="America/Grenada" data-geo="12.05,-61.75,AST,GD,-4">America/Grenada</option><option value="America/Guadeloupe" data-geo="16.23333,-61.53334,AST,GP,-4">America/Guadeloupe</option><option value="America/Guatemala" data-geo="14.63333,-90.51667,CST,GT,-6">America/Guatemala</option><option value="America/Guayaquil" data-geo="-2.16667,-79.83334,-05,EC,-5">America/Guayaquil</option><option value="America/Guyana" data-geo="6.8,-58.16667,-04,GY,-4">America/Guyana</option><option value="America/Halifax" data-geo="44.65,-63.6,ADT,CA,-4">America/Halifax</option><option value="America/Havana" data-geo="23.13333,-82.36667,CDT,CU,-5">America/Havana</option><option value="America/Hermosillo" data-geo="29.06666,-110.96667,MST,MX,-7">America/Hermosillo</option><option value="America/Indiana/Indianapolis" data-geo="39.76833,-86.15806,EDT,US,-5">America/Indiana/Indianapolis</option><option value="America/Indiana/Knox" data-geo="41.29583,-86.625,CDT,US,-6">America/Indiana/Knox</option><option value="America/Indiana/Marengo" data-geo="38.37555,-86.34473,EDT,US,-5">America/Indiana/Marengo</option><option value="America/Indiana/Petersburg" data-geo="38.49194,-87.27862,EDT,US,-5">America/Indiana/Petersburg</option><option value="America/Indiana/Tell_City" data-geo="37.95305,-86.76139,CDT,US,-6">America/Indiana/Tell_City</option><option value="America/Indiana/Vevay" data-geo="38.74777,-85.06723,EDT,US,-5">America/Indiana/Vevay</option><option value="America/Indiana/Vincennes" data-geo="38.67722,-87.52862,EDT,US,-5">America/Indiana/Vincennes</option><option value="America/Indiana/Winamac" data-geo="41.05138,-86.60306,EDT,US,-5">America/Indiana/Winamac</option><option value="America/Inuvik" data-geo="68.34972,-133.71667,MDT,CA,-7">America/Inuvik</option><option value="America/Iqaluit" data-geo="63.73333,-68.46667,EDT,CA,-5">America/Iqaluit</option><option value="America/Jamaica" data-geo="18,-76.8,EST,JM,-5">America/Jamaica</option><option value="America/Juneau" data-geo="58.30194,-134.41973,AKDT,US,-9">America/Juneau</option><option value="America/Kentucky/Louisville" data-geo="38.25416,-85.75945,EDT,US,-5">America/Kentucky/Louisville</option><option value="America/Kentucky/Monticello" data-geo="36.82972,-84.84917,EDT,US,-5">America/Kentucky/Monticello</option><option value="America/Kralendijk" data-geo="12.15083,-68.27667,AST,BQ,-4">America/Kralendijk</option><option value="America/La_Paz" data-geo="-16.5,-68.15,-04,BO,-4">America/La_Paz</option><option value="America/Lima" data-geo="-12.05,-77.05,-05,PE,-5">America/Lima</option><option value="America/Los_Angeles" data-geo="34.05222,-118.24278,PDT,US,-8">America/Los_Angeles</option><option value="America/Lower_Princes" data-geo="18.05138,-63.04723,AST,SX,-4">America/Lower_Princes</option><option value="America/Maceio" data-geo="-9.66667,-35.71667,-03,BR,-3">America/Maceio</option><option value="America/Managua" data-geo="12.15,-86.28334,CST,NI,-6">America/Managua</option><option value="America/Manaus" data-geo="-3.13334,-60.01667,-04,BR,-4">America/Manaus</option><option value="America/Marigot" data-geo="18.06666,-63.08334,AST,MF,-4">America/Marigot</option><option value="America/Martinique" data-geo="14.6,-61.08334,AST,MQ,-4">America/Martinique</option><option value="America/Matamoros" data-geo="25.83333,-97.5,CDT,MX,-6">America/Matamoros</option><option value="America/Mazatlan" data-geo="23.21666,-106.41667,MDT,MX,-7">America/Mazatlan</option><option value="America/Menominee" data-geo="45.10777,-87.61417,CDT,US,-6">America/Menominee</option><option value="America/Merida" data-geo="20.96666,-89.61667,CDT,MX,-6">America/Merida</option><option value="America/Metlakatla" data-geo="55.12694,-131.57639,AKDT,US,-8">America/Metlakatla</option><option value="America/Mexico_City" data-geo="19.4,-99.15001,CDT,MX,-6">America/Mexico_City</option><option value="America/Miquelon" data-geo="47.05,-56.33334,-02,PM,-3">America/Miquelon</option><option value="America/Moncton" data-geo="46.1,-64.78334,ADT,CA,-4">America/Moncton</option><option value="America/Monterrey" data-geo="25.66666,-100.31667,CDT,MX,-6">America/Monterrey</option><option value="America/Montevideo" data-geo="-34.88334,-56.18334,-03,UY,-2">America/Montevideo</option><option value="America/Montreal" data-geo="45.51666,-73.56667,UTC,??,-5">America/Montreal</option><option value="America/Montserrat" data-geo="16.71666,-62.21667,AST,MS,-4">America/Montserrat</option><option value="America/Nassau" data-geo="25.08333,-77.35,EDT,BS,-5">America/Nassau</option><option value="America/New_York" data-geo="40.71416,-74.00639,EDT,US,-5">America/New_York</option><option value="America/Nipigon" data-geo="49.01666,-88.26667,EDT,CA,-5">America/Nipigon</option><option value="America/Nome" data-geo="64.50111,-165.40639,AKDT,US,-9">America/Nome</option><option value="America/Noronha" data-geo="-3.85,-32.41667,-02,BR,-2">America/Noronha</option><option value="America/North_Dakota/Beulah" data-geo="47.26416,-101.77778,CDT,US,-6">America/North_Dakota/Beulah</option><option value="America/North_Dakota/Center" data-geo="47.11638,-101.29917,CDT,US,-6">America/North_Dakota/Center</option><option value="America/North_Dakota/New_Salem" data-geo="46.845,-101.41084,CDT,US,-6">America/North_Dakota/New_Salem</option><option value="America/Ojinaga" data-geo="29.56666,-104.41667,MDT,MX,-7">America/Ojinaga</option><option value="America/Panama" data-geo="8.96666,-79.53334,EST,PA,-5">America/Panama</option><option value="America/Pangnirtung" data-geo="66.13333,-65.73334,EDT,CA,-5">America/Pangnirtung</option><option value="America/Paramaribo" data-geo="5.83333,-55.16667,-03,SR,-3">America/Paramaribo</option><option value="America/Phoenix" data-geo="33.44833,-112.07334,MST,US,-7">America/Phoenix</option><option value="America/Port-au-Prince" data-geo="18.53333,-72.33334,EDT,HT,-5">America/Port-au-Prince</option><option value="America/Port_of_Spain" data-geo="10.65,-61.51667,AST,TT,-4">America/Port_of_Spain</option><option value="America/Porto_Velho" data-geo="-8.76667,-63.9,-04,BR,-4">America/Porto_Velho</option><option value="America/Puerto_Rico" data-geo="18.46833,-66.10612,AST,PR,-4">America/Puerto_Rico</option><option value="America/Rainy_River" data-geo="48.71666,-94.56667,CDT,CA,-6">America/Rainy_River</option><option value="America/Rankin_Inlet" data-geo="62.81666,-92.08306,CDT,CA,-6">America/Rankin_Inlet</option><option value="America/Recife" data-geo="-8.05,-34.9,-03,BR,-3">America/Recife</option><option value="America/Regina" data-geo="50.4,-104.65001,CST,CA,-6">America/Regina</option><option value="America/Resolute" data-geo="74.69555,-94.82917,CDT,CA,-6">America/Resolute</option><option value="America/Rio_Branco" data-geo="-9.96667,-67.8,-05,BR,-5">America/Rio_Branco</option><option value="America/Santa_Isabel" data-geo="30.3,-114.86667,UTC,MX,-8">America/Santa_Isabel</option><option value="America/Santarem" data-geo="-2.43334,-54.86667,-03,BR,-3">America/Santarem</option><option value="America/Santiago" data-geo="-33.45,-70.66667,-03,CL,-3">America/Santiago</option><option value="America/Santo_Domingo" data-geo="18.46666,-69.9,AST,DO,-4">America/Santo_Domingo</option><option value="America/Sao_Paulo" data-geo="-23.53334,-46.61667,-03,BR,-2">America/Sao_Paulo</option><option value="America/Scoresbysund" data-geo="70.48333,-21.96667,+00,GL,-1">America/Scoresbysund</option><option value="America/Shiprock" data-geo="36.78555,-108.68639,UTC,??,-7">America/Shiprock</option><option value="America/Sitka" data-geo="57.17638,-135.30195,AKDT,US,-9">America/Sitka</option><option value="America/St_Barthelemy" data-geo="17.88333,-62.85,AST,BL,-4">America/St_Barthelemy</option><option value="America/St_Johns" data-geo="47.56666,-52.71667,NDT,CA,-3.5">America/St_Johns</option><option value="America/St_Kitts" data-geo="17.3,-62.71667,AST,KN,-4">America/St_Kitts</option><option value="America/St_Lucia" data-geo="14.01666,-61,AST,LC,-4">America/St_Lucia</option><option value="America/St_Thomas" data-geo="18.35,-64.93334,AST,VI,-4">America/St_Thomas</option><option value="America/St_Vincent" data-geo="13.15,-61.23334,AST,VC,-4">America/St_Vincent</option><option value="America/Swift_Current" data-geo="50.28333,-107.83334,CST,CA,-6">America/Swift_Current</option><option value="America/Tegucigalpa" data-geo="14.1,-87.21667,CST,HN,-6">America/Tegucigalpa</option><option value="America/Thule" data-geo="76.56666,-68.78334,ADT,GL,-4">America/Thule</option><option value="America/Thunder_Bay" data-geo="48.38333,-89.25,EDT,CA,-5">America/Thunder_Bay</option><option value="America/Tijuana" data-geo="32.53333,-117.01667,PDT,MX,-8">America/Tijuana</option><option value="America/Toronto" data-geo="43.65,-79.38334,EDT,CA,-5">America/Toronto</option><option value="America/Tortola" data-geo="18.45,-64.61667,AST,VG,-4">America/Tortola</option><option value="America/Vancouver" data-geo="49.26666,-123.11667,PDT,CA,-8">America/Vancouver</option><option value="America/Whitehorse" data-geo="60.71666,-135.05001,PDT,CA,-8">America/Whitehorse</option><option value="America/Winnipeg" data-geo="49.88333,-97.15001,CDT,CA,-6">America/Winnipeg</option><option value="America/Yakutat" data-geo="59.54694,-139.72723,AKDT,US,-9">America/Yakutat</option><option value="America/Yellowknife" data-geo="62.44999,-114.35,MDT,CA,-7">America/Yellowknife</option><option value="Asia/Aden" data-geo="12.75,45.2,+03,YE,+3">Asia/Aden</option><option value="Asia/Almaty" data-geo="43.25,76.95,+06,KZ,+6">Asia/Almaty</option><option value="Asia/Amman" data-geo="31.95,35.93333,EEST,JO,+2">Asia/Amman</option><option value="Asia/Anadyr" data-geo="64.75,177.48333,+12,RU,+12">Asia/Anadyr</option><option value="Asia/Aqtau" data-geo="44.51666,50.26666,+05,KZ,+5">Asia/Aqtau</option><option value="Asia/Aqtobe" data-geo="50.28333,57.16666,+05,KZ,+5">Asia/Aqtobe</option><option value="Asia/Ashgabat" data-geo="37.95,58.38333,+05,TM,+5">Asia/Ashgabat</option><option value="Asia/Baghdad" data-geo="33.35,44.41666,+03,IQ,+3">Asia/Baghdad</option><option value="Asia/Bahrain" data-geo="26.38333,50.58333,+03,BH,+3">Asia/Bahrain</option><option value="Asia/Baku" data-geo="40.38333,49.85,+04,AZ,+4">Asia/Baku</option><option value="Asia/Bangkok" data-geo="13.75,100.51666,+07,TH,+7">Asia/Bangkok</option><option value="Asia/Beirut" data-geo="33.88333,35.5,EEST,LB,+2">Asia/Beirut</option><option value="Asia/Bishkek" data-geo="42.9,74.6,+06,KG,+6">Asia/Bishkek</option><option value="Asia/Brunei" data-geo="4.93333,114.91666,+08,BN,+8">Asia/Brunei</option><option value="Asia/Choibalsan" data-geo="48.06666,114.5,+08,MN,+8">Asia/Choibalsan</option><option value="Asia/Chongqing" data-geo="29.56666,106.58333,UTC,??,+8">Asia/Chongqing</option><option value="Asia/Colombo" data-geo="6.93333,79.85,+0530,LK,+5.5">Asia/Colombo</option><option value="Asia/Damascus" data-geo="33.5,36.3,EEST,SY,+2">Asia/Damascus</option><option value="Asia/Dhaka" data-geo="23.71666,90.41666,+06,BD,+6">Asia/Dhaka</option><option value="Asia/Dili" data-geo="-8.55,125.58333,+09,TL,+9">Asia/Dili</option><option value="Asia/Dubai" data-geo="25.3,55.3,+04,AE,+4">Asia/Dubai</option><option value="Asia/Dushanbe" data-geo="38.58333,68.8,+05,TJ,+5">Asia/Dushanbe</option><option value="Asia/Gaza" data-geo="31.5,34.46666,EEST,PS,+2">Asia/Gaza</option><option value="Asia/Harbin" data-geo="45.75,126.68333,UTC,??,+8">Asia/Harbin</option><option value="Asia/Hebron" data-geo="31.53333,35.095,EEST,PS,+2">Asia/Hebron</option><option value="Asia/Ho_Chi_Minh" data-geo="10.75,106.66666,+07,VN,+7">Asia/Ho_Chi_Minh</option><option value="Asia/Hong_Kong" data-geo="22.28333,114.14999,HKT,HK,+8">Asia/Hong_Kong</option><option value="Asia/Hovd" data-geo="48.01666,91.64999,+07,MN,+7">Asia/Hovd</option><option value="Asia/Irkutsk" data-geo="52.26666,104.33333,+08,RU,+8">Asia/Irkutsk</option><option value="Asia/Jakarta" data-geo="-6.16667,106.8,WIB,ID,+7">Asia/Jakarta</option><option value="Asia/Jayapura" data-geo="-2.53334,140.7,WIT,ID,+9">Asia/Jayapura</option><option value="Asia/Jerusalem" data-geo="31.76666,35.23333,IDT,IL,+2">Asia/Jerusalem</option><option value="Asia/Kabul" data-geo="34.51666,69.2,+0430,AF,+4.5">Asia/Kabul</option><option value="Asia/Kamchatka" data-geo="53.01666,158.65,+12,RU,+12">Asia/Kamchatka</option><option value="Asia/Karachi" data-geo="24.86666,67.05,PKT,PK,+5">Asia/Karachi</option><option value="Asia/Kashgar" data-geo="39.48333,75.98333,UTC,??,+6">Asia/Kashgar</option><option value="Asia/Kathmandu" data-geo="27.71666,85.31666,+0545,NP,+5.75">Asia/Kathmandu</option><option value="Asia/Kolkata" data-geo="22.53333,88.36666,IST,IN,+5.5">Asia/Kolkata</option><option value="Asia/Krasnoyarsk" data-geo="56.01666,92.83333,+07,RU,+7">Asia/Krasnoyarsk</option><option value="Asia/Kuala_Lumpur" data-geo="3.16666,101.7,+08,MY,+8">Asia/Kuala_Lumpur</option><option value="Asia/Kuching" data-geo="1.55,110.33333,+08,MY,+8">Asia/Kuching</option><option value="Asia/Kuwait" data-geo="29.33333,47.98333,+03,KW,+3">Asia/Kuwait</option><option value="Asia/Macau" data-geo="22.23333,113.58333,CST,MO,+8">Asia/Macau</option><option value="Asia/Magadan" data-geo="59.56666,150.8,+11,RU,+10">Asia/Magadan</option><option value="Asia/Makassar" data-geo="-5.11667,119.39999,WITA,ID,+8">Asia/Makassar</option><option value="Asia/Manila" data-geo="14.58333,121,PST,PH,+8">Asia/Manila</option><option value="Asia/Muscat" data-geo="23.6,58.58333,+04,OM,+4">Asia/Muscat</option><option value="Asia/Nicosia" data-geo="35.16666,33.36666,EEST,CY,+2">Asia/Nicosia</option><option value="Asia/Novokuznetsk" data-geo="53.75,87.11666,+07,RU,+7">Asia/Novokuznetsk</option><option value="Asia/Novosibirsk" data-geo="55.03333,82.91666,+07,RU,+6">Asia/Novosibirsk</option><option value="Asia/Omsk" data-geo="55,73.4,+06,RU,+6">Asia/Omsk</option><option value="Asia/Oral" data-geo="51.21666,51.35,+05,KZ,+5">Asia/Oral</option><option value="Asia/Phnom_Penh" data-geo="11.55,104.91666,+07,KH,+7">Asia/Phnom_Penh</option><option value="Asia/Pontianak" data-geo="-0.03334,109.33333,WIB,ID,+7">Asia/Pontianak</option><option value="Asia/Pyongyang" data-geo="39.01666,125.75,KST,KP,+9">Asia/Pyongyang</option><option value="Asia/Qatar" data-geo="25.28333,51.53333,+03,QA,+3">Asia/Qatar</option><option value="Asia/Qyzylorda" data-geo="44.8,65.46666,+05,KZ,+6">Asia/Qyzylorda</option><option value="Asia/Rangoon" data-geo="16.78333,96.16666,UTC,MM,+6.5">Asia/Rangoon</option><option value="Asia/Riyadh" data-geo="24.63333,46.71666,+03,SA,+3">Asia/Riyadh</option><option value="Asia/Sakhalin" data-geo="46.96666,142.7,+11,RU,+10">Asia/Sakhalin</option><option value="Asia/Samarkand" data-geo="39.66666,66.8,+05,UZ,+5">Asia/Samarkand</option><option value="Asia/Seoul" data-geo="37.55,126.96666,KST,KR,+9">Asia/Seoul</option><option value="Asia/Shanghai" data-geo="31.23333,121.46666,CST,CN,+8">Asia/Shanghai</option><option value="Asia/Singapore" data-geo="1.28333,103.85,+08,SG,+8">Asia/Singapore</option><option value="Asia/Taipei" data-geo="25.05,121.5,CST,TW,+8">Asia/Taipei</option><option value="Asia/Tashkent" data-geo="41.33333,69.3,+05,UZ,+5">Asia/Tashkent</option><option value="Asia/Tbilisi" data-geo="41.71666,44.81666,+04,GE,+4">Asia/Tbilisi</option><option value="Asia/Tehran" data-geo="35.66666,51.43333,+0430,IR,+3.5">Asia/Tehran</option><option value="Asia/Thimphu" data-geo="27.46666,89.64999,+06,BT,+6">Asia/Thimphu</option><option value="Asia/Tokyo" data-geo="35.65444,139.74472,JST,JP,+9">Asia/Tokyo</option><option value="Asia/Ulaanbaatar" data-geo="47.91666,106.88333,+08,MN,+8">Asia/Ulaanbaatar</option><option value="Asia/Urumqi" data-geo="43.8,87.58333,+06,CN,+6">Asia/Urumqi</option><option value="Asia/Vientiane" data-geo="17.96666,102.6,+07,LA,+7">Asia/Vientiane</option><option value="Asia/Vladivostok" data-geo="43.16666,131.93333,+10,RU,+10">Asia/Vladivostok</option><option value="Asia/Yakutsk" data-geo="62,129.66666,+09,RU,+9">Asia/Yakutsk</option><option value="Asia/Yekaterinburg" data-geo="56.85,60.6,+05,RU,+5">Asia/Yekaterinburg</option><option value="Asia/Yerevan" data-geo="40.18333,44.5,+04,AM,+4">Asia/Yerevan</option><option value="Atlantic/Azores" data-geo="37.73333,-25.66667,+00,PT,-1">Atlantic/Azores</option><option value="Atlantic/Bermuda" data-geo="32.28333,-64.76667,ADT,BM,-4">Atlantic/Bermuda</option><option value="Atlantic/Canary" data-geo="28.1,-15.4,WEST,ES,+0">Atlantic/Canary</option><option value="Atlantic/Cape_Verde" data-geo="14.91666,-23.51667,-01,CV,-1">Atlantic/Cape_Verde</option><option value="Atlantic/Faroe" data-geo="62.01666,-6.76667,WEST,FO,+0">Atlantic/Faroe</option><option value="Atlantic/Madeira" data-geo="32.63333,-16.9,WEST,PT,+0">Atlantic/Madeira</option><option value="Atlantic/Reykjavik" data-geo="64.15,-21.85,GMT,IS,+0">Atlantic/Reykjavik</option><option value="Atlantic/South_Georgia" data-geo="-54.26667,-36.53334,-02,GS,-2">Atlantic/South_Georgia</option><option value="Atlantic/St_Helena" data-geo="-15.91667,-5.7,GMT,SH,+0">Atlantic/St_Helena</option><option value="Atlantic/Stanley" data-geo="-51.70001,-57.85,-03,FK,-3">Atlantic/Stanley</option><option value="Australia/Sydney" data-geo="-33.86667,151.21666,AEST,AU,+11">Australia/Sydney</option><option value="Australia/Adelaide" data-geo="-34.91667,138.58333,ACST,AU,+10.5">Australia/Adelaide</option><option value="Australia/Brisbane" data-geo="-27.46667,153.03333,AEST,AU,+10">Australia/Brisbane</option><option value="Australia/Broken_Hill" data-geo="-31.95,141.45,ACST,AU,+10.5">Australia/Broken_Hill</option><option value="Australia/Currie" data-geo="-39.93334,143.86666,AEST,AU,+11">Australia/Currie</option><option value="Australia/Darwin" data-geo="-12.46667,130.83333,ACST,AU,+9.5">Australia/Darwin</option><option value="Australia/Eucla" data-geo="-31.71667,128.86666,+0845,AU,+8.75">Australia/Eucla</option><option value="Australia/Hobart" data-geo="-42.88334,147.31666,AEST,AU,+11">Australia/Hobart</option><option value="Australia/Lindeman" data-geo="-20.26667,149.0,AEST,AU,+10">Australia/Lindeman</option><option value="Australia/Lord_Howe" data-geo="-31.55,159.08333,+1030,AU,+11">Australia/Lord_Howe</option><option value="Australia/Melbourne" data-geo="-37.81667,144.96666,AEST,AU,+11">Australia/Melbourne</option><option value="Europe/Amsterdam" data-geo="52.36666,4.9,CEST,NL,+1">Europe/Amsterdam</option><option value="Europe/Andorra" data-geo="42.5,1.51666,CEST,AD,+1">Europe/Andorra</option><option value="Europe/Athens" data-geo="37.96666,23.71666,EEST,GR,+2">Europe/Athens</option><option value="Europe/Belgrade" data-geo="44.83333,20.5,CEST,RS,+1">Europe/Belgrade</option><option value="Europe/Berlin" data-geo="52.5,13.36666,CEST,DE,+1">Europe/Berlin</option><option value="Europe/Bratislava" data-geo="48.15,17.11666,CEST,SK,+1">Europe/Bratislava</option><option value="Europe/Brussels" data-geo="50.83333,4.33333,CEST,BE,+1">Europe/Brussels</option><option value="Europe/Bucharest" data-geo="44.43333,26.1,EEST,RO,+2">Europe/Bucharest</option><option value="Europe/Budapest" data-geo="47.5,19.08333,CEST,HU,+1">Europe/Budapest</option><option value="Europe/Chisinau" data-geo="47,28.83333,EEST,MD,+2">Europe/Chisinau</option><option value="Europe/Copenhagen" data-geo="55.66666,12.58333,CEST,DK,+1">Europe/Copenhagen</option><option value="Europe/Dublin" data-geo="53.33333,-6.25,IST,IE,+0">Europe/Dublin</option><option value="Europe/Gibraltar" data-geo="36.13333,-5.35,CEST,GI,+1">Europe/Gibraltar</option><option value="Europe/Guernsey" data-geo="49.44999,-2.53334,BST,GG,+0">Europe/Guernsey</option><option value="Europe/Helsinki" data-geo="60.16666,24.96666,EEST,FI,+2">Europe/Helsinki</option><option value="Europe/Isle_of_Man" data-geo="54.15,-4.46667,BST,IM,+0">Europe/Isle_of_Man</option><option value="Europe/Istanbul" data-geo="41.01666,28.96666,+03,TR,+2">Europe/Istanbul</option><option value="Europe/Jersey" data-geo="49.19999,-2.11667,BST,JE,+0">Europe/Jersey</option><option value="Europe/Kaliningrad" data-geo="54.71666,20.5,EET,RU,+2">Europe/Kaliningrad</option><option value="Europe/Kiev" data-geo="50.43333,30.51666,EEST,UA,+2">Europe/Kiev</option><option value="Europe/Lisbon" data-geo="38.71666,-9.13334,WEST,PT,+0">Europe/Lisbon</option><option value="Europe/Ljubljana" data-geo="46.05,14.51666,CEST,SI,+1">Europe/Ljubljana</option><option value="Europe/Luxembourg" data-geo="49.6,6.15,CEST,LU,+1">Europe/Luxembourg</option><option value="Europe/Madrid" data-geo="40.4,-3.68334,CEST,ES,+1">Europe/Madrid</option><option value="Europe/Malta" data-geo="35.9,14.51666,CEST,MT,+1">Europe/Malta</option><option value="Europe/Mariehamn" data-geo="60.1,19.95,EEST,AX,+2">Europe/Mariehamn</option><option value="Europe/Minsk" data-geo="53.9,27.56666,+03,BY,+3">Europe/Minsk</option><option value="Europe/Monaco" data-geo="43.69999,7.38333,CEST,MC,+1">Europe/Monaco</option><option value="Europe/Moscow" data-geo="55.75,37.58333,MSK,RU,+3">Europe/Moscow</option><option value="Europe/Oslo" data-geo="59.91666,10.75,CEST,NO,+1">Europe/Oslo</option><option value="Europe/Paris" data-geo="48.86666,2.33333,CEST,FR,+1">Europe/Paris</option><option value="Europe/Podgorica" data-geo="42.43333,19.26666,CEST,ME,+1">Europe/Podgorica</option><option value="Europe/Prague" data-geo="50.08333,14.43333,CEST,CZ,+1">Europe/Prague</option><option value="Europe/Riga" data-geo="56.94999,24.1,EEST,LV,+2">Europe/Riga</option><option value="Europe/Rome" data-geo="41.9,12.48333,CEST,IT,+1">Europe/Rome</option><option value="Europe/Samara" data-geo="53.19999,50.15,+04,RU,+4">Europe/Samara</option><option value="Europe/San_Marino" data-geo="43.91666,12.46666,CEST,SM,+1">Europe/San_Marino</option><option value="Europe/Sarajevo" data-geo="43.86666,18.41666,CEST,BA,+1">Europe/Sarajevo</option><option value="Europe/Simferopol" data-geo="44.94999,34.1,MSK,RU,+3">Europe/Simferopol</option><option value="Europe/Skopje" data-geo="41.98333,21.43333,CEST,MK,+1">Europe/Skopje</option><option value="Europe/Sofia" data-geo="42.68333,23.31666,EEST,BG,+2">Europe/Sofia</option><option value="Europe/Stockholm" data-geo="59.33333,18.05,CEST,SE,+1">Europe/Stockholm</option><option value="Europe/Tallinn" data-geo="59.41666,24.75,EEST,EE,+2">Europe/Tallinn</option><option value="Europe/Tirane" data-geo="41.33333,19.83333,CEST,AL,+1">Europe/Tirane</option><option value="Europe/Uzhgorod" data-geo="48.61666,22.3,EEST,UA,+2">Europe/Uzhgorod</option><option value="Europe/Vaduz" data-geo="47.15,9.51666,CEST,LI,+1">Europe/Vaduz</option><option value="Europe/Vatican" data-geo="41.90222,12.45305,CEST,VA,+1">Europe/Vatican</option><option value="Europe/Vienna" data-geo="48.21666,16.33333,CEST,AT,+1">Europe/Vienna</option><option value="Europe/Vilnius" data-geo="54.68333,25.31666,EEST,LT,+2">Europe/Vilnius</option><option value="Europe/Volgograd" data-geo="48.73333,44.41666,+04,RU,+3">Europe/Volgograd</option><option value="Europe/Warsaw" data-geo="52.25,21,CEST,PL,+1">Europe/Warsaw</option><option value="Europe/Zagreb" data-geo="45.8,15.96666,CEST,HR,+1">Europe/Zagreb</option><option value="Europe/Zaporozhye" data-geo="47.83333,35.16666,EEST,UA,+2">Europe/Zaporozhye</option><option value="Europe/Zurich" data-geo="47.38333,8.53333,CEST,CH,+1">Europe/Zurich</option><option value="Indian/Antananarivo" data-geo="-18.91667,47.51666,EAT,MG,+3">Indian/Antananarivo</option><option value="Indian/Chagos" data-geo="-7.33334,72.41666,+06,IO,+6">Indian/Chagos</option><option value="Indian/Christmas" data-geo="-10.41667,105.71666,+07,CX,+7">Indian/Christmas</option><option value="Indian/Cocos" data-geo="-12.16667,96.91666,+0630,CC,+6.5">Indian/Cocos</option><option value="Indian/Comoro" data-geo="-11.68334,43.26666,EAT,KM,+3">Indian/Comoro</option><option value="Indian/Kerguelen" data-geo="-49.35278,70.2175,+05,TF,+5">Indian/Kerguelen</option><option value="Indian/Mahe" data-geo="-4.66667,55.46666,+04,SC,+4">Indian/Mahe</option><option value="Indian/Maldives" data-geo="4.16666,73.5,+05,MV,+5">Indian/Maldives</option><option value="Indian/Mauritius" data-geo="-20.16667,57.5,+04,MU,+4">Indian/Mauritius</option><option value="Indian/Mayotte" data-geo="-12.78334,45.23333,EAT,YT,+3">Indian/Mayotte</option><option value="Indian/Reunion" data-geo="-20.86667,55.46666,+04,RE,+4">Indian/Reunion</option><option value="Pacific/Apia" data-geo="-13.83334,-171.73334,+13,WS,+14">Pacific/Apia</option><option value="Pacific/Auckland" data-geo="-36.86667,174.76666,NZST,NZ,+13">Pacific/Auckland</option><option value="Pacific/Chatham" data-geo="-43.95,-176.55001,+1245,NZ,+13.75">Pacific/Chatham</option><option value="Pacific/Chuuk" data-geo="7.41666,151.78333,+10,FM,+10">Pacific/Chuuk</option><option value="Pacific/Easter" data-geo="-27.15,-109.43334,-05,CL,-5">Pacific/Easter</option><option value="Pacific/Efate" data-geo="-17.66667,168.41666,+11,VU,+11">Pacific/Efate</option><option value="Pacific/Enderbury" data-geo="-3.13334,-171.08334,+13,KI,+13">Pacific/Enderbury</option><option value="Pacific/Fakaofo" data-geo="-9.36667,-171.23334,+13,TK,+13">Pacific/Fakaofo</option><option value="Pacific/Fiji" data-geo="-18.13334,178.41666,+12,FJ,+13">Pacific/Fiji</option><option value="Pacific/Funafuti" data-geo="-8.51667,179.21666,+12,TV,+12">Pacific/Funafuti</option><option value="Pacific/Galapagos" data-geo="-0.9,-89.6,-06,EC,-6">Pacific/Galapagos</option><option value="Pacific/Gambier" data-geo="-23.13334,-134.95,-09,PF,-9">Pacific/Gambier</option><option value="Pacific/Guadalcanal" data-geo="-9.53334,160.2,+11,SB,+11">Pacific/Guadalcanal</option><option value="Pacific/Guam" data-geo="13.46666,144.75,ChST,GU,+10">Pacific/Guam</option><option value="Pacific/Honolulu" data-geo="21.30694,-157.85834,HST,US,-10">Pacific/Honolulu</option><option value="Pacific/Johnston" data-geo="16.75,-169.51667,UTC,UM,-10">Pacific/Johnston</option><option value="Pacific/Kiritimati" data-geo="1.86666,-157.33334,+14,KI,+14">Pacific/Kiritimati</option><option value="Pacific/Kosrae" data-geo="5.31666,162.98333,+11,FM,+11">Pacific/Kosrae</option><option value="Pacific/Kwajalein" data-geo="9.08333,167.33333,+12,MH,+12">Pacific/Kwajalein</option><option value="Pacific/Majuro" data-geo="7.15,171.2,+12,MH,+12">Pacific/Majuro</option><option value="Pacific/Marquesas" data-geo="-9,-139.5,-0930,PF,-9.5">Pacific/Marquesas</option><option value="Pacific/Midway" data-geo="28.21666,-177.36667,SST,UM,-11">Pacific/Midway</option><option value="Pacific/Nauru" data-geo="-0.51667,166.91666,+12,NR,+12">Pacific/Nauru</option><option value="Pacific/Niue" data-geo="-19.01667,-169.91667,-11,NU,-11">Pacific/Niue</option><option value="Pacific/Norfolk" data-geo="-29.05,167.96666,+11,NF,+11.5">Pacific/Norfolk</option><option value="Pacific/Noumea" data-geo="-22.26667,166.45,+11,NC,+11">Pacific/Noumea</option><option value="Pacific/Pago_Pago" data-geo="-14.26667,-170.7,SST,AS,-11">Pacific/Pago_Pago</option><option value="Pacific/Palau" data-geo="7.33333,134.48333,+09,PW,+9">Pacific/Palau</option><option value="Pacific/Pitcairn" data-geo="-25.06667,-130.08334,-08,PN,-8">Pacific/Pitcairn</option><option value="Pacific/Pohnpei" data-geo="6.96666,158.21666,+11,FM,+11">Pacific/Pohnpei</option><option value="Pacific/Port_Moresby" data-geo="-9.5,147.16666,+10,PG,+10">Pacific/Port_Moresby</option><option value="Pacific/Rarotonga" data-geo="-21.23334,-159.76667,-10,CK,-10">Pacific/Rarotonga</option><option value="Pacific/Saipan" data-geo="15.2,145.75,ChST,MP,+10">Pacific/Saipan</option><option value="Pacific/Tahiti" data-geo="-17.53334,-149.56667,-10,PF,-10">Pacific/Tahiti</option><option value="Pacific/Tarawa" data-geo="1.41666,173,+12,KI,+12">Pacific/Tarawa</option><option value="Pacific/Tongatapu" data-geo="-21.16667,-175.16667,+13,TO,+13">Pacific/Tongatapu</option><option value="Pacific/Wake" data-geo="19.28333,166.61666,+12,UM,+12">Pacific/Wake</option><option value="Pacific/Wallis" data-geo="-13.3,-176.16667,+12,WF,+12">Pacific/Wallis</option><option value="Australia/Perth" data-geo="-31.95,115.85,AWST,AU,+8">Australia/Perth</option><option value="Antarctica/Troll" data-geo="-72.01139,2.535,+02,AQ,+0">Antarctica/Troll</option><option value="Asia/Chita" data-geo="52.05,113.46666,+09,RU,+8">Asia/Chita</option><option value="Asia/Khandyga" data-geo="62.65638,135.55388,+09,RU,+9">Asia/Khandyga</option><option value="Asia/Srednekolymsk" data-geo="67.46666,153.71666,+11,RU,+11">Asia/Srednekolymsk</option><option value="Asia/Ust-Nera" data-geo="64.56027,143.22666,+10,RU,+10">Asia/Ust-Nera</option><option value="Europe/Busingen" data-geo="47.69999,8.68333,CEST,DE,+1">Europe/Busingen</option><option value="Pacific/Bougainville" data-geo="-6.21667,155.56666,+11,PG,+11">Pacific/Bougainville</option><option value="America/Fort_Nelson" data-geo="58.8,-122.7,MST">America/Fort_Nelson</option><option value="Asia/Atyrau" data-geo="47.11666,51.93333,+05">Asia/Atyrau</option><option value="Asia/Barnaul" data-geo="53.36666,83.75,+07">Asia/Barnaul</option><option value="Asia/Famagusta" data-geo="35.11666,33.95,EEST">Asia/Famagusta</option><option value="Asia/Tomsk" data-geo="56.5,84.96666,+07">Asia/Tomsk</option><option value="Europe/London" data-geo="51.5074,-0.1278,BST,GB,+0">Europe/London</option><option value="Antarctica/Casey" data-geo="-66.28334,110.51666,+08,AQ,+8">Antarctica/Casey</option><option value="Antarctica/Davis" data-geo="-68.58334,77.96666,+07,AQ,+7">Antarctica/Davis</option><option value="Antarctica/DumontDUrville" data-geo="-66.66667,140.01666,+10,AQ,+10">Antarctica/DumontDUrville</option><option value="Antarctica/Macquarie" data-geo="-54.5,158.95,+11,AU,+11">Antarctica/Macquarie</option><option value="Antarctica/Mawson" data-geo="-67.6,62.88333,+05,AQ,+5">Antarctica/Mawson</option><option value="Antarctica/McMurdo" data-geo="-77.83334,166.6,NZST,AQ,+13">Antarctica/McMurdo</option><option value="Antarctica/Palmer" data-geo="-64.8,-64.1,-03,AQ,-3">Antarctica/Palmer</option><option value="Antarctica/Rothera" data-geo="-67.56667,-68.13334,-03,AQ,-3">Antarctica/Rothera</option><option value="Antarctica/South_Pole" data-geo="-90,0,UTC,??,+13">Antarctica/South_Pole</option><option value="Antarctica/Syowa" data-geo="-69.00612,39.59,+03,AQ,+3">Antarctica/Syowa</option><option value="Antarctica/Vostok" data-geo="-78.40001,106.89999,+06,AQ,+6">Antarctica/Vostok</option><option value="Arctic/Longyearbyen" data-geo="78,16,CEST,SJ,+1">Arctic/Longyearbyen</option></select>
<select id='selceq' style='display:none;'>
<option value="AF">Afghanistan</option>
<option value="AX">Aland Islands</option>
<option value="AL">Albania</option>
<option value="DZ">Algeria</option>
<option value="AS">American Samoa</option>
<option value="AD">Andorra</option>
<option value="AO">Angola</option>
<option value="AI">Anguilla</option>
<option value="AQ">Antarctica</option>
<option value="AG">Antigua and Barbuda</option>
<option value="AR">Argentina</option>
<option value="AM">Armenia</option>
<option value="AW">Aruba</option>
<option value="AU">Australia</option>
<option value="AT">Austria</option>
<option value="AZ">Azerbaijan</option>
<option value="BS">Bahamas the</option>
<option value="BH">Bahrain</option>
<option value="BD">Bangladesh</option>
<option value="BB">Barbados</option>
<option value="BY">Belarus</option>
<option value="BE">Belgium</option>
<option value="BZ">Belize</option>
<option value="BJ">Benin</option>
<option value="BM">Bermuda</option>
<option value="BT">Bhutan</option>
<option value="BO">Bolivia</option>
<option value="BA">Bosnia and Herzegovina</option>
<option value="BW">Botswana</option>
<option value="BV">Bouvet Island (Bouvetoya)</option>
<option value="BR">Brazil</option>
<option value="IO">British Indian Ocean Territory (Chagos Archipelago)</option>
<option value="VG">British Virgin Islands</option>
<option value="BN">Brunei Darussalam</option>
<option value="BG">Bulgaria</option>
<option value="BF">Burkina Faso</option>
<option value="BI">Burundi</option>
<option value="KH">Cambodia</option>
<option value="CM">Cameroon</option>
<option value="CA">Canada</option>
<option value="CV">Cape Verde</option>
<option value="KY">Cayman Islands</option>
<option value="CF">Central African Republic</option>
<option value="TD">Chad</option>
<option value="CL">Chile</option>
<option value="CN">China</option>
<option value="CX">Christmas Island</option>
<option value="CC">Cocos (Keeling) Islands</option>
<option value="CO">Colombia</option>
<option value="KM">Comoros the</option>
<option value="CD">Democratic Republic of the Congo</option>
<option value="CG">Congo (the)</option>
<option value="CK">Cook Islands</option>
<option value="CR">Costa Rica</option>
<option value="CI">Cote d'Ivoire</option>
<option value="HR">Croatia</option>
<option value="CU">Cuba</option>
<option value="CY">Cyprus</option>
<option value="CZ">Czech Republic</option>
<option value="DK">Denmark</option>
<option value="DJ">Djibouti</option>
<option value="DM">Dominica</option>
<option value="DO">Dominican Republic</option>
<option value="EC">Ecuador</option>
<option value="EG">Egypt</option>
<option value="SV">El Salvador</option>
<option value="GQ">Equatorial Guinea</option>
<option value="ER">Eritrea</option>
<option value="EE">Estonia</option>
<option value="ET">Ethiopia</option>
<option value="FO">Faroe Islands</option>
<option value="FK">Falkland Islands (Malvinas)</option>
<option value="FJ">Fiji the Fiji Islands</option>
<option value="FI">Finland</option>
<option value="FR">France, French Republic</option>
<option value="GF">French Guiana</option>
<option value="PF">French Polynesia</option>
<option value="TF">French Southern Territories</option>
<option value="GA">Gabon</option>
<option value="GM">Gambia the</option>
<option value="GE">Georgia</option>
<option value="DE">Germany</option>
<option value="GH">Ghana</option>
<option value="GI">Gibraltar</option>
<option value="GR">Greece</option>
<option value="GL">Greenland</option>
<option value="GD">Grenada</option>
<option value="GP">Guadeloupe</option>
<option value="GU">Guam</option>
<option value="GT">Guatemala</option>
<option value="GG">Guernsey</option>
<option value="GN">Guinea</option>
<option value="GW">Guinea-Bissau</option>
<option value="GY">Guyana</option>
<option value="HT">Haiti</option>
<option value="HM">Heard Island and McDonald Islands</option>
<option value="VA">Vatican City (Holy See)</option>
<option value="HN">Honduras</option>
<option value="HK">Hong Kong</option>
<option value="HU">Hungary</option>
<option value="IS">Iceland</option>
<option value="IN">India</option>
<option value="ID">Indonesia</option>
<option value="IR">Iran</option>
<option value="IQ">Iraq</option>
<option value="IE">Ireland</option>
<option value="IM">Isle of Man</option>
<option value="IL">Israel</option>
<option value="IT">Italy</option>
<option value="JM">Jamaica</option>
<option value="JP">Japan</option>
<option value="JE">Jersey</option>
<option value="JO">Jordan</option>
<option value="KZ">Kazakhstan</option>
<option value="KE">Kenya</option>
<option value="KI">Kiribati</option>
<option value="XK">Kosovo</option>
<option value="KP">South Korea</option>
<option value="KR">North Korea</option>
<option value="KW">Kuwait</option>
<option value="KG">Kyrgyzstan</option>
<option value="LA">Laos</option>
<option value="LV">Latvia</option>
<option value="LB">Lebanon</option>
<option value="LS">Lesotho</option>
<option value="LR">Liberia</option>
<option value="LY">Libyan Arab Jamahiriya</option>
<option value="LI">Liechtenstein</option>
<option value="LT">Lithuania</option>
<option value="LU">Luxembourg</option>
<option value="MO">Macao</option>
<option value="MK">Macedonia</option>
<option value="MG">Madagascar</option>
<option value="MW">Malawi</option>
<option value="MY">Malaysia</option>
<option value="MV">Maldives</option>
<option value="ML">Mali</option>
<option value="MT">Malta</option>
<option value="MH">Marshall Islands</option>
<option value="MQ">Martinique</option>
<option value="MR">Mauritania</option>
<option value="MU">Mauritius</option>
<option value="YT">Mayotte</option>
<option value="MX">Mexico</option>
<option value="FM">Micronesia</option>
<option value="MD">Moldova</option>
<option value="MC">Monaco</option>
<option value="MN">Mongolia</option>
<option value="ME">Montenegro</option>
<option value="MS">Montserrat</option>
<option value="MA">Morocco</option>
<option value="MZ">Mozambique</option>
<option value="MM">Myanmar (Burma)</option>
<option value="NA">Namibia</option>
<option value="NR">Nauru</option>
<option value="NP">Nepal</option>
<option value="AN">Netherlands Antilles</option>
<option value="NL">Netherlands the</option>
<option value="NC">New Caledonia</option>
<option value="NZ">New Zealand</option>
<option value="NI">Nicaragua</option>
<option value="NE">Niger</option>
<option value="NG">Nigeria</option>
<option value="NU">Niue</option>
<option value="NF">Norfolk Island</option>
<option value="MP">Northern Mariana Islands</option>
<option value="NO">Norway</option>
<option value="OM">Oman</option>
<option value="PK">Pakistan</option>
<option value="PW">Palau</option>
<option value="PS">Palestine</option>
<option value="PA">Panama</option>
<option value="PG">Papua New Guinea</option>
<option value="PY">Paraguay</option>
<option value="PE">Peru</option>
<option value="PH">Philippines</option>
<option value="PN">Pitcairn Islands</option>
<option value="PL">Poland</option>
<option value="PT">Portugal, Portuguese Republic</option>
<option value="PR">Puerto Rico</option>
<option value="QA">Qatar</option>
<option value="RE">Reunion</option>
<option value="RO">Romania</option>
<option value="RU">Russian Federation</option>
<option value="RW">Rwanda</option>
<option value="BL">Saint Barthelemy</option>
<option value="SH">Saint Helena</option>
<option value="KN">Saint Kitts and Nevis</option>
<option value="LC">Saint Lucia</option>
<option value="MF">Saint Martin</option>
<option value="PM">Saint Pierre and Miquelon</option>
<option value="VC">Saint Vincent and the Grenadines</option>
<option value="WS">Samoa</option>
<option value="SM">San Marino</option>
<option value="ST">Sao Tome and Principe</option>
<option value="SA">Saudi Arabia</option>
<option value="SN">Senegal</option>
<option value="RS">Serbia</option>
<option value="SC">Seychelles</option>
<option value="SL">Sierra Leone</option>
<option value="SG">Singapore</option>
<option value="SK">Slovakia (Slovak Republic)</option>
<option value="SI">Slovenia</option>
<option value="SB">Solomon Islands</option>
<option value="SO">Somalia, Somali Republic</option>
<option value="ZA">South Africa</option>
<option value="GS">South Georgia and the South Sandwich Islands</option>
<option value="SS">South Sudan</option>
<option value="ES">Spain</option>
<option value="LK">Sri Lanka</option>
<option value="SD">Sudan</option>
<option value="SR">Suriname</option>
<option value="SJ">Svalbard & Jan Mayen Islands</option>
<option value="SZ">Swaziland</option>
<option value="SE">Sweden</option>
<option value="CH">Switzerland, Swiss Confederation</option>
<option value="SY">Syrian Arab Republic</option>
<option value="TW">Taiwan</option>
<option value="TJ">Tajikistan</option>
<option value="TZ">Tanzania</option>
<option value="TH">Thailand</option>
<option value="TL">Timor-Leste</option>
<option value="TG">Togo</option>
<option value="TK">Tokelau</option>
<option value="TO">Tonga</option>
<option value="TT">Trinidad and Tobago</option>
<option value="TN">Tunisia</option>
<option value="TR">Turkey</option>
<option value="TM">Turkmenistan</option>
<option value="TC">Turks and Caicos Islands</option>
<option value="TV">Tuvalu</option>
<option value="UG">Uganda</option>
<option value="UA">Ukraine</option>
<option value="AE">United Arab Emirates</option>
<option value="GB">United Kingdom</option>
<option value="US">United States of America</option>
<option value="UM">United States Minor Outlying Islands</option>
<option value="VI">United States Virgin Islands</option>
<option value="UY">Uruguay, Eastern Republic of</option>
<option value="UZ">Uzbekistan</option>
<option value="VU">Vanuatu</option>
<option value="VE">Venezuela</option>
<option value="VN">Vietnam</option>
<option value="WF">Wallis and Futuna</option>
<option value="EH">Western Sahara</option>
<option value="YE">Yemen</option>
<option value="ZM">Zambia</option>
<option value="ZW">Zimbabwe</option>
</select>
<span id=lastflag style='display:none;'></span>
<form target=mygeoframe id=geoform action='../PHP/GeoChart/geo_chart.php' style='display:none;' method='POST'>
<input type=hidden id=ititle name=title value='My Trip Plan Itinerary'></input>
<input type=hidden name=aregexographicals value=y><input>
<input type=hidden id=iwidth name=width value='556'></input>  
<input type=hidden id=iheight name=height value='346'></input>  
<input type=hidden id=icountry name=country value='Places'></input>
<input type=hidden id=ipopularity name=popularity value=''></input>
<input type=hidden id=iaregeographicals name=aregeographicals value='http.Ice,http.Lakagigar_Volcano,http.Bora_Bora'></input>
<input type=hidden id=ipeninfo name=peninfo value='75.57|-92.28|127938_Ice,64.04|-18.15|127755_Lakagigar_Volcano,-16.30|151.44|127958.65039_Bora_Bora'></input>
<input type=hidden id=idata name=data value=' [75.57|-92.28|~Ice~,2] , [64.04|-18.15|~Lakagigar Volcano~,2] , [-16.30|151.44|~Bora Bora~,2]'></input>
<input type=hidden name=wouldlikeyoutoseekpermission value=y></input>
<input type=submit value='Do GeoChart' style='display:none;' id=geosb><input>
</form>
<form target=mygeoframe id=mapform action='../PHP/Map/map.php' style='display:none;' method='POST'>
<input type=hidden id=jtitle name=title value='My Trip Plan Places'></input>
<input type=hidden id=jonclick name=onclick value='y'></input>
<input type=hidden id=jlabel name=label value="['Lat',"></input>
<input type=hidden id=jvalue name=value value="'Lon','Name']"></input>
<input type=hidden id=jdata name=data value=',[75.57,-92.28,~Ice~],[64.04,-18.15,~Lakagigar Volcano~],[-16.30,151.44,~Bora Bora~]'></input>
<input type=hidden name=wouldlikeyoutoseekpermission value=y></input>
<input type=submit value='Do Map' style='display:none;' id=mapsb><input>
</form>
<input title='' type=hidden id=placegeo value=''></input>
<div id=ourcanvas style='display:none;'></div>
<iframe onload='analif(this);' id=placegeoiframe src='../PHP/fgc/#placegeo=Oodnadatta&getimages=Y' style='display:none;'></iframe>
</div>
</body>
</html>