<html>
<head>
<title>Earth Scanner - RJM Programming - February, 2024 .. Thanks to https://github.com/nvkelso/natural-earth-raster/blob/master/50m_rasters/HYP_50M_SR_W/HYP_50M_SR_W.README.html</title>
<style>

html, body {
margin: 0 0 0 0;
padding: 0 0 0 0;
}

img {
margin: 0 0 0 0;
padding: 0 0 0 0;
}

span.pm {
background-color: blue;
}

span {
text-shadow: -1px 1px 1px #952dff;
}

span.place {
text-shadow: -1px 1px 1px #2dff95;
}

#myimg {
clip-path: circle(2% at 800px 700px);
animation:mymove 2.5s 2;
-webkit-animation:mymove 2.5s 2; /* Safari and Chrome */
}

textarea.txplc {
background-color: yellow;
}

textarea.txleg {
background-color: orange;
}

hr.hrright {
background-image: linear-gradient(to right, red, orange, yellow, green, blue, indigo, violet);
}

hr.hrleft {
background-image: linear-gradient(to left, red, orange, yellow, green, blue, indigo, violet);
}

@keyframes mymove
{
0% { clip-path: circle(2% at 0px 0px) }
100% { clip-path: circle(128% at 240px 240px) }
}

@-webkit-keyframes mymove /* Safari and Chrome */
{
0% { clip-path: circle(2% at 0px 0px) }
100% { clip-path: circle(128% at 240px 240px) }
}

/* Thanks to https://stackoverflow.com/questions/48814993/html-details-summary-element-marker-styling */
details[open] > summary.lanno::marker {
display: none;
content: '\002708';
}

details[open] > summary.panno::marker {
display: none;
content: '\01F3D9';
}

</style>
<script type=text/javascript>
// Deemed unnecessary is ...
// 7% { clip-path: circle(3% at 10px 10px) }
// 14% { clip-path: circle(4% at 20px 20px) }
// 21% { clip-path: circle(5% at 30px 30px) }
// 28% { clip-path: circle(6% at 40px 40px) }
// 35% { clip-path: circle(7% at 50px 50px) }
// 42% { clip-path: circle(8% at 60px 60px) }
// 50% { clip-path: circle(9% at 70px 70px) }
// 57% { clip-path: circle(10% at 80px 80px) }
// 64% { clip-path: circle(11% at 90px 90px) }
// 71% { clip-path: circle(12% at 100px 100px) }
// 78% { clip-path: circle(13% at 110px 110px) }
// 85% { clip-path: circle(14% at 120px 120px) }
// 93% { clip-path: circle(15% at 130px 130px) }

var thepin='📍', thecompass='🧭';

var earth_scanner_css=location.search.split('css=')[1] ? (decodeURIComponent(location.search.split('css=')[1].split('&')[0]).replace(/\+/g,' ')) : '';
var dscriptstuff='', dstylestuff='', exdscriptstuff='', exdstylestuff='', prefixingstuff='', wasprefixingstuff='';
var zoomf=location.search.split('zoom=')[1] ? eval(decodeURIComponent(location.search.split('zoom=')[1].split('&')[0]).replace(/\+/g,' ')) : 1.0;
var extrastyle=location.search.split('extrastyle=')[1] ? extralocal(decodeURIComponent(location.search.split('extrastyle=')[1].split('&')[0]).replace(/\+/g,' ')) : 'display:none;';
var bcol=(location.search.split('bcol=')[1] ? decodeURIComponent(location.search.split('bcol=')[1].split('&')[0]) : 'white').split(';')[0]; //'white';

var neveragain='', neverscragain='';
var thecss='';
var undos=[];
var thecssarg='';
var gnewh='#';
var kleg=0;
var documentURL=document.URL;
var pleasenolist='|';
var scmok=true;
var prevhash='', thishash=decodeURIComponent(('' + location.hash).replace(/^null$/g,'').replace(/^undefined$/g,'').replace(/^\#/g,'')); //.trim();
var yourtzlist="<option value=\"GMT\" data-geo=\"51.4934,0.0098,GMT,GB,+0\">GMT</option><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=\"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><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/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,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=\"Australia/Sydney\" data-geo=\"-33.86667,151.21666,AEST,AU,+11\">Australia/Sydney</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>";
var eventualyourtzlist=yourtzlist;
var endkeys='', xinxy=[], yinxy=[], thefirst=true, fivethousand=5000, canlooknow=false;
var posval='fixed';
if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) {
fivethousand=9000;
if (2 == 22) { posval='absolute'; }
}
var wobi=null;
var stt='', potentialstt='';
var ofive=fivethousand;
var argstuff='', isotwo='', override='';
var wo=null, five=5, cseplocans='';
var legs=[], legsanno=[], legc=',';
var prevf=''; // + '-180' + ',' + '90' + ',' + '-180' + ',' + '90';
var longinxy=[], latinxy=[], gdefv='';
var endlinedone=false;
var xp=0, yp=0, num=0, ameridian='', acircleoflatitude='', bmeridian='', bcircleoflatitude='', needtocheck=true, topc='90';
var fixkeys='<style> #myimg { animation:mymove 5s infinite; -webkit-animation:mymove 5s infinite; } @keyframes mymove' + document.head.innerHTML.split('@keyframes mymove')[1].split('</s' + 'tyle>')[0] + ' </s' + 'tyle>';
var screenlong=-9, screenlat=-9, askfor=null, enforcedlong=false, enforcedxp=-999, one=0, two=0, three=0, four=0;
var screenwidth=screen.width, screenheight=screen.height;
var gsmlat=80, gsmlong=-170;
var playing=false, restart=false;
var latis=-999, longis=-999, movesallowed=true;
var plotplace=[], plotcc=[], plotanno=[], plotlong=[], plotlat=[], prevone=0, prevtwo=0, prevthree=0, prevfour=0, gmttztime='', gmtemj='';
var plottz=[], plotct=[], plotemj=[], reveal=true, woclosed=false;
var lastdtplace='';

var gdiff, gdate0, gdate1, gutcDate, gtzDate, gudate, gutzdate;
var gmovesallowed=movesallowed, gfive=five;

var wasthisso='';
//if (!navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) {
//screenwidth*=zoomf;
//screenheight*=zoomf;
//}
if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) {
try {
wasthisso=('' + window.orientation).replace(/^0$/g, 'portrait'); //"portrait";
} catch (ehgfg) {
wasthisso='';
}
if (wasthisso == '') {
try {
wasthisso='' + screen.orientation.type; //"portrait";
} catch (hgfg) {
wasthisso=('' + window.orientation).replace(/^0$/g, 'portrait'); //"portrait";
}
}
//alert(wasthisso);
var hdone=false;
if (wasthisso.indexOf('ortrait') != -1) { // thanks to https://stackoverflow.com/questions/50690191/window-innerheight-returning-wrong-value-in-ios-11
if (eval('0' + document.documentElement.clientWidth) >= eval('0' + window.innerWidth)) {
screenwidth=eval('' + document.documentElement.clientWidth);
screenheight=eval('' + document.documentElement.clientHeight);
hdone=true;
} else {
screenwidth=window.innerWidth;
}
if (!hdone) {
if (eval('0' + document.documentElement.clientHeight) > eval('0' + window.innerHeight)) {
screenheight=eval('' + document.documentElement.clientHeight);
} else {
screenheight=window.innerHeight;
}
}
} else {
if (eval('0' + document.documentElement.clientWidth) >= eval('0' + window.innerHeight)) {
screenwidth=eval('' + document.documentElement.clientWidth);
screenheight=eval('' + document.documentElement.clientHeight);
hdone=true;
} else {
screenwidth=window.innerHeight;
}
if (!hdone) {
if (eval('0' + document.documentElement.clientHeight) > eval('0' + window.innerWidth)) {
screenheight=eval('' + document.documentElement.clientHeight);
} else {
screenheight=window.innerWidth;
}
}
}
if (1 == 6) {
documentURL=documentURL + '&nolines=y';
if (documentURL.indexOf('.html') != -1) {
location.href=document.URL.replace('.html','.htm');
}
}
}
//alert(wasthisso + ' ' + screenwidth + 'x' + screenheight);

var iso_country_codes=['AF','Afghanistan',
'ax','Aland Islands',
'Al','Albania',
'DZ','Algeria',
'as','American Samoa',
'ad','Andorra',
'AO','Angola',
'ai','Anguilla',
'AQ','Antarctica',
'ag','Antigua and Barbuda',
'AR','Argentina',
'AM','Armenia',
'aw','Aruba',
'AU','Australia',
'At','Austria',
'AZ','Azerbaijan',
'bs','Bahamas',
'Bh','Bahrain',
'BD','Bangladesh',
'bb','Barbados',
'BY','Belarus',
'BE','Belgium',
'BZ','Belize',
'BJ','Benin',
'bm','Bermuda',
'Bt','Bhutan',
'BO','Bolivia',
'Ba','Bosnia and Herzegovina',
'Bw','Botswana',
'bv','Bouvet Island',
'BR','Brazil',
'io','British Indian Ocean Territory',
'vg','British Virgin Islands',
'Bn','Brunei Darussalam',
'BG','Bulgaria',
'BF','Burkina Faso',
'bi','Burundi',
'KH','Cambodia',
'CM','Cameroon',
'CA','Canada',
'cv','Cape Verde',
'ky','Cayman Islands',
'CF','Central African Republic',
'TD','Chad',
'CL','Chile',
'CN','China',
'cx','Christmas Island',
'cc','Cocos (Keeling) Islands',
'CO','Colombia',
'km','Comoros',
'CD','Democratic Republic of the Congo',
'CG','Republic of the Congo',
'ck','Cook Islands',
'CR','Costa Rica',
'CI',"Cote d'Ivoire",
'HR','Croatia',
'CU','Cuba',
'Cy','Cyprus',
'CZ','Czechoslovakia',
'CZ','Czech Republic',
'dK','Denmark',
'Dj','Djibouti',
'DM','Dominica',
'DO','Dominican Republic',
'EC','Ecuador',
'EG','Egypt',
'SV','El Salvador',
'GQ','Equatorial Guinea',
'ER','Eritrea',
'Ee','Estonia',
'ET','Ethiopia',
'FO','Faroe Islands',
'FK','Falkland Islands',
'fJ','Fiji',
'FI','Finland',
'FR','France',
'GF','French Guiana',
'pf','French Polynesia',
'tf','French Southern Territories',
'GA','Gabon',
'GM','Gambia the',
'GE','Georgia',
'DE','Germany',
'GH','Ghana',
'gi','Gibraltar',
'gR','Greece',
'GL','Greenland',
'gd','Grenada',
'gp','Guadeloupe',
'gu','Guam',
'GT','Guatemala',
'gg','Guernsey',
'GN','Guinea',
'GW','Guinea-Bissau',
'GY','Guyana',
'HT','Haiti',
'hm','Heard Island and McDonald Islands',
'va','Vatican City',
'HN','Honduras',
'hk','Hong Kong',
'HU','Hungary',
'is','Iceland',
'IN','India',
'ID','Indonesia',
'IR','Iran',
'IQ','Iraq',
'IE','Ireland',
'im','Isle of Man',
'Il','Israel',
'IT','Italy',
'Jm','Jamaica',
'JP','Japan',
'JE','Jersey',
'Jo','Jordan',
'KZ','Kazakhstan',
'KE','Kenya',
'kI','Kiribati',
'KP','North Korea',
'KR','South Korea',
'KW','Kuwait',
'KG','Kyrgyz Republic',
'kg','Kyrgyzstan',
'LA','Laos',
'Lv','Latvia',
'Lb','Lebanon',
'ls','Lesotho',
'LR','Liberia',
'LY','Libya',
'li','Liechtenstein',
'Lt','Lithuania',
'lu','Luxembourg',
'mo','Macao',
'MK','North Macedonia',
'Mk','Macedonia',
'MG','Madagascar',
'MW','Malawi',
'MY','Malaysia',
'mv','Maldives',
'ML','Mali',
'MT','Malta',
'mh','Marshall Islands',
'mq','Martinique',
'MR','Mauritania',
'mu','Mauritius',
'yt','Mayotte',
'MX','Mexico',
'fm','Micronesia',
'MD','Moldova',
'mc','Monaco',
'MN','Mongolia',
'Me','Montenegro',
'ms','Montserrat',
'MA','Morocco',
'MZ','Mozambique',
'MM','Myanmar',
'NA','Namibia',
'nr','Nauru',
'NP','Nepal',
'an','Netherlands Antilles',
'NL','Netherlands',
'nc','New Caledonia',
'nZ','New Zealand',
'NI','Nicaragua',
'NE','Niger',
'NG','Nigeria',
'nu','Niue',
'NF','Norfolk Island',
'mp','Northern Mariana Islands',
'NO','Norway',
'om','Oman',
'PK','Pakistan',
'pw','Palau',
'ps','Palestine',
'PA','Panama',
'PG','Papua New Guinea',
'PY','Paraguay',
'PE','Peru',
'PH','Philippines',
'pn','Pitcairn Islands',
'PL','Poland',
'PT','Portugal',
'pr','Puerto Rico',
'qa','Qatar',
're','Reunion',
'RO','Romania',
'RU','Russia',
'Rw','Rwanda',
'bl','Saint Barthelemy',
'sh','Saint Helena',
'kn','Saint Kitts and Nevis',
'lc','Saint Lucia',
'mf','Saint Martin',
'pm','Saint Pierre and Miquelon',
'vc','Saint Vincent and the Grenadines',
'ws','Samoa',
'sm','San Marino',
'st','Sao Tome and Principe',
'SA','Saudi Arabia',
'SN','Senegal',
'RS','Serbia',
'sc','Seychelles',
'SL','Sierra Leone',
'sg','Singapore',
'SK','Slovakia',
'Si','Slovenia',
'SB','Solomon Islands',
'SO','Somalia',
'ZA','South Africa',
'gs','South Georgia and the South Sandwich Islands',
'ES','Spain',
'LK','Sri Lanka',
'SD','Sudan',
'SR','Suriname',
'sj','Svalbard & Jan Mayen Islands',
'sz','Swaziland',
'SE','Sweden',
'Ch','Switzerland',
'Sy','Syria',
'Tw','Taiwan',
'TJ','Tajikistan',
'TZ','Tanzania',
'TH','Thailand',
'tl','Timor-Leste',
'TG','Togo',
'tk','Tokelau',
'to','Tonga',
'tt','Trinidad and Tobago',
'TN','Tunisia',
'TR','Turkey',
'TM','Turkmenistan',
'tc','Turks and Caicos Islands',
'tV','Tuvalu',
'UG','Uganda',
'UA','Ukraine',
'AE','United Arab Emirates',
'GB','United Kingdom',
'US','United States of America',
'UM','United States Minor Outlying Islands',
'vi','United States Virgin Islands',
'UY','Uruguay',
'UZ','Uzbekistan',
'vu','Vanuatu',
'VE','Venezuela',
'VN','Vietnam',
'wf','Wallis and Futuna',
'EH','Western Sahara',
'YE','Yemen',
'ZM','Zambia',
'ZW','Zimbabwe'];

var uc_iso_country_codes=[];
var firstopn=true, lasthcalc='';
var realtz=true;
var waconto=null, shareb=null;
var curgdefw='', xaconto=null;
var latdeg=-999, longdeg=-999, latmin=0, longmin=0, latsec=0, longsec=0, sparelat='', sparelong='';
var myxhr=null, caret='^', isotwo='', bigback='', nextwiftwo='', wiftwoavailable=true, gleg='';

var scrfrom='youllneverfindthis', scrto='youllneverfindthis', scrmyxhr=null, scrwo=null, scrlookfordata='1';
;
var styfrom='youllneverfindthis', styto='youllneverfindthis', stymyxhr=null, stywo=null, stylookfordata='2';
var firststt=true, firstdone=false;

var cspx=0, cspy=0;

function getcsp() {
// Thanks to https://stackoverflow.com/questions/31712287/get-scroll-position-in-javascript
var ourcspx = eval('' + (document.body.scrollX || document.body.scrollLeft || document.getElementsByTagName("html")[0].scrollLeft));
var ourcspy = eval('' + (document.body.scrollY || document.body.scrollTop || document.getElementsByTagName("html")[0].scrollTop));
if (ourcspx > 100) {
cspx=ourcspx;
cspy=ourcspy;
}
//document.title='cspx=' + cspx + ' and cspy=' + cspy + ' ourcspx=' + ourcspx + ' and ourcspy=' + ourcspy;
}

function checkforstt() {
var azx=null;
if (document.getElementById('posturl').value.trim() != '') {
if (document.getElementById('posturl').value == 'Email') {
document.getElementById('posturl').value = 'email';
}
if (document.getElementById('posturl').value == 'SMS') {
document.getElementById('posturl').value = 'sms';
}
if (document.getElementById('posturl').value.substring(0,1) == document.getElementById('posturl').value.substring(0,1).toUpperCase() && document.getElementById('posturl').value.substring(0,1) != document.getElementById('posturl').value.substring(0,1).toLowerCase()) {
if (potentialstt.indexOf(document.getElementById('posturl').value) == -1) {
if (potentialstt.trim() == '') {
potentialstt=document.getElementById('posturl').value;
} else {
if (('' + potentialstt + ' ').replace(' and ', ' to ').replace(/\ to\ $/g, '') != ('' + potentialstt + ' ')) {
potentialstt+=' ' + document.getElementById('posturl').value;
} else {
potentialstt+=',' + document.getElementById('posturl').value;
}
}
//alert(potentialstt);

if (('' + potentialstt + ' ').replace(' and ', ' to ').replace(/\ to\ $/g, '') == ('' + potentialstt + ' ')) {
stt=potentialstt.replace(/\ and\ /g, ',').replace(/\ to\ /g, '-');
if (2 == 2) {
gdefv=(stt + '?!').replace(/\,/g, '?!,').replace(/\-/g,'?!-');
scmok=true;
movesallowed=true;
gmovesallowed=true;
five=5;
gfive=5;
dountilnoquestion(); //document.getElementById('myimg').click(); //scmove();
} else {
document.getElementById('sdurl').value=((document.getElementById('sdurl').value.split('#')[0].split('?')[0] + thecssarg + ((argstuff + '#') == '#' ? argstuff + '#' : '#' + argstuff.substring(1) + '&') + ('#' + ('' + stt.replace(/\ /g,'_')).substring(0).replace(/^\%2C/g,'')).replace(/^\#$/g, '')).replace('&#', '&')).replace('##','#');
//alert('stt=' + stt + ' and ' + document.getElementById('sdurl').value);

if (document.getElementById('sdurl').value.indexOf('#') != -1) {
//alert('lh ' + '#' + document.getElementById('sdurl').value.split('#')[1]);
location.hash='#' + document.getElementById('sdurl').value.split('#')[1];
}
}
//potentialstt='';
//stt='';
//speechtotextwo.close();
//speechtotextwo=null;
//if (document.URL.indexOf('https:') != -1 && navigator.userAgent.toLowerCase().indexOf('chrome') > -1 && !navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) {
// firststt=true;
// speechtotextwo=window.open('https://www.rjmprogramming.com.au/PHP/speech_supervisor.php?mode=3', '_blank', 'top=0,left=' + eval(-300 + screenwidth) + ',width=300,height=500');
// speechtotextwo.document.title='Places for Earth Scanner';
//}
}

}
} else if (document.getElementById('posturl').value == 'email') {
potentialstt='';
stt='';
if (1 == 1) {
//if (shareb) { shareb.click(); } //document.getElementById('share').click();
//alert('here');
azx = document.createElement("a");
document.body.appendChild(azx);
azx.style = "display: none";
azx.href = 'mailto:?subject=' + encodeURIComponent('Earth Scanner') + '&body=' + encodeURIComponent(document.getElementById('sdurl').value);
azx.click();
//alert('there');
} else {
potentialstt='';
stt='';
//speechtotextwo.close();
//speechtotextwo=null;
//if (document.URL.indexOf('https:') != -1 && navigator.userAgent.toLowerCase().indexOf('chrome') > -1 && !navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) {
// firststt=true;
// speechtotextwo=window.open('https://www.rjmprogramming.com.au/PHP/speech_supervisor.php?mode=3', '_blank', 'top=0,left=' + eval(-300 + screenwidth) + ',width=300,height=500');
// setTimeout(function(){ speechtotextwo.document.title='Places for Earth Scanner'; }, 5000);
//}
}
} else if (document.getElementById('posturl').value == 'sms') {
if (1 == 1) {
//if (shareb) { shareb.click(); } //document.getElementById('share').click();
azx = document.createElement("a");
document.body.appendChild(azx);
azx.style = "display: none";
azx.href = 'sms:' + prompt('Please enter the SMS number you are sending to.', '') + '&body=' + encodeURIComponent(document.getElementById('sdurl').value);
azx.click();
} else {
potentialstt='';
stt='';
//speechtotextwo.close();
//speechtotextwo=null;
//if (document.URL.indexOf('https:') != -1 && navigator.userAgent.toLowerCase().indexOf('chrome') > -1 && !navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) {
// firststt=true;
// speechtotextwo=window.open('https://www.rjmprogramming.com.au/PHP/speech_supervisor.php?mode=3', '_blank', 'top=0,left=' + eval(-300 + screenwidth) + ',width=300,height=500');
// setTimeout(function(){ speechtotextwo.document.title='Places for Earth Scanner'; }, 5000);
//}
}
}
document.getElementById('posturl').value='';
}
if (firststt && speechtotextwo) {
firststt=false;
var tds=speechtotextwo.document.getElementsByTagName('td');
if (eval('' + tds.length) >= 3) {
speechtotextwo.document.getElementById('tdm').style.width='5px';
tds[1].style.width='5px';
tds[2].style.width='5px';
speechtotextwo.document.getElementById('tdm').style.display='none';
tds[1].style.display='none';
tds[2].style.display='none';
}
if (!firstdone) {
firstdone=true;
setInterval(checkforstt, 10000);
}
}
}

function scrlookfor() {
var thedatais='', tag=null;
var wass=prefixingstuff;
var washash='';
if (document.getElementById('sdurl').value.indexOf('#') != -1) {
washash='#' + document.getElementById('sdurl').value.split('#')[1];
}
if (document.getElementById('result2').value.trim() != '') {
thedatais=document.getElementById('result2').value;
document.getElementById('result2').value='';
document.getElementById('result2').innerHTML='';
if (scrlookfordata == '2') {
if (scrfrom == 'youllneverfindthis' && scrto != 'youllneverfindthis' && scrto.trim().substring(0,1) != '<') { scrfrom=scrto; }
if (scrfrom.indexOf('.JS') != -1) {
scrto="<scr" + "ipt type='text/javascript'> " + thedatais + " </SCR" + "IPT>";
if (prefixingstuff.indexOf(scrfrom) != -1) {
prefixingstuff=prefixingstuff.replace(scrfrom, scrto);
console.log('a:' + prefixingstuff);
wasprefixingstuff=prefixingstuff;
scrfrom=scrto;
dscriptstuff+=scrto;
tag = document.createElement('script');
tag.setAttribute("type", "text/javascript");
tag.innerHTML = thedatais;
document.body.appendChild(tag);
}
} else {
scrto="<scr" + "ipt type='text/javascript'> " + thedatais + " </scr" + "ipt>";
if (prefixingstuff.indexOf(scrfrom) != -1) {
prefixingstuff=prefixingstuff.replace(scrfrom, scrto);
console.log('b:' + prefixingstuff);
wasprefixingstuff=prefixingstuff;
scrfrom=scrto;
dscriptstuff+=scrto;
tag = document.createElement('script');
tag.setAttribute("type", "text/javascript");
tag.innerHTML = thedatais;
document.body.appendChild(tag);
}
}
} else if (stylookfordata == '2') {
if (styfrom == 'youllneverfindthis' && styto != 'youllneverfindthis' && styto.trim().substring(0,1) != '<') { styfrom=styto; }
if (styfrom.indexOf('.CSS') != -1) {
styto="<sty" + "le> " + thedatais + " </STY" + "LE>";
if (prefixingstuff.indexOf(styfrom) != -1) {
prefixingstuff=prefixingstuff.replace(styfrom, styto);
console.log('c:' + prefixingstuff);
wasprefixingstuff=prefixingstuff;
styfrom=styto;
}
} else {
styto="<sty" + "le> " + thedatais + " </sty" + "le>";
if (prefixingstuff.indexOf(styfrom) != -1) {
prefixingstuff=prefixingstuff.replace(styfrom, styto);
console.log('d:' + prefixingstuff);
wasprefixingstuff=prefixingstuff;
styfrom=styto;
}
}
}
} else if (document.getElementById('result1').value.trim() != '') {
thedatais=document.getElementById('result1').value;
//document.getElementById('result1').value='';
//document.getElementById('result1').innerHTML='';
//alert(thedatais + ' ... ' + prefixingstuff + ' ... ' + scrlookfordata + ' and scrfrom=' + scrfrom + ' and scrto=' + scrfrom);
if (scrlookfordata == '1') {
if (scrfrom == 'youllneverfindthis' && scrto != 'youllneverfindthis' && scrto.trim().substring(0,1) != '<') { scrfrom=scrto; }
if (scrfrom.indexOf('.JS') != -1) {
scrto="<scr" + "ipt type='text/javascript'> " + thedatais + " </SCR" + "IPT>";
//alert('Does prefixingstuff=' + prefixingstuff + ' contain scrfrom=' + scrfrom + ' to be replaced by ' + scrto);
if (prefixingstuff.indexOf(scrfrom) != -1) {
prefixingstuff=prefixingstuff.replace(scrfrom, scrto);
console.log('e:' + prefixingstuff);
//alert('Yes prefixingstuff=' + prefixingstuff + ' contain scrfrom=' + scrfrom + ' to be replaced by ' + scrto);
wasprefixingstuff=prefixingstuff;
scrfrom=scrto;
dscriptstuff+=scrto;
tag = document.createElement('script');
tag.setAttribute("type", "text/javascript");
tag.innerHTML = thedatais;
document.body.appendChild(tag);
}
} else {
scrto="<scr" + "ipt type='text/javascript'> " + thedatais + " </scr" + "ipt>";
if (prefixingstuff.indexOf(scrfrom) != -1) {
prefixingstuff=prefixingstuff.replace(scrfrom, scrto);
console.log('f:' + prefixingstuff);
wasprefixingstuff=prefixingstuff;
scrfrom=scrto;
dscriptstuff+=scrto;
tag = document.createElement('script');
tag.setAttribute("type", "text/javascript");
tag.innerHTML = thedatais;
document.body.appendChild(tag);
}
}
} else if (stylookfordata == '2') {
if (styfrom == 'youllneverfindthis' && styto != 'youllneverfindthis' && styto.trim().substring(0,1) != '<') { styfrom=styto; }
if (styfrom.indexOf('.CSS') != -1) {
styto="<sty" + "le> " + thedatais + " </STY" + "LE>";
if (prefixingstuff.indexOf(styfrom) != -1) {
prefixingstuff=prefixingstuff.replace(styfrom, styto);
console.log('g:' + prefixingstuff);
wasprefixingstuff=prefixingstuff;
styfrom=styto;
}
} else {
styto="<sty" + "le> " + thedatais + " </sty" + "le>";
if (prefixingstuff.indexOf(styfrom) != -1) {
prefixingstuff=prefixingstuff.replace(styfrom, styto);
console.log('h:' + prefixingstuff);
wasprefixingstuff=prefixingstuff;
styfrom=styto;
}
}
}
}
if (wass != prefixingstuff) {
var ssargstuff=argstuff;
if (prefixingstuff.trim() != '') {
if (ssargstuff == '') {
ssargstuff='?nontz=' + encodeURIComponent(prefixingstuff);
} else if (ssargstuff.indexOf('nontz=') != -1 && ssargstuff.indexOf(encodeURIComponent(prefixingstuff)) == -1) {
ssargstuff=ssargstuff.replace('nontz=', 'nontz=' + encodeURIComponent(prefixingstuff));
}
}
argstuff=ssargstuff;
//alert('ssargStuff = ' + ssargstuff);
//alert('before look for no:' + document.getElementById('sdurl').value);
if (1 == 1 || (gnewh != lasthcalc && gnewh != '#' && gnewh != washash)) {
//alert('usIng ssargstuff=' + ssargstuff);
document.getElementById('sdurl').value=(document.getElementById('sdurl').value.split('#')[0].split('?')[0] + thecssarg + ((argstuff + '#') == '#' ? argstuff + '#' : '#' + argstuff.substring(1) + '&') + gnewh.substring(1).replace(/^\%2C/g,'')).replace('&#', '&');
lasthcalc=gnewh;
} else if (document.getElementById('sdurl').value.indexOf('?') == -1 && argstuff.indexOf('?') == 0) {
//alert('Using ssargstuff=' + ssargstuff);
document.getElementById('sdurl').value=(document.getElementById('sdurl').value.split('#')[0].split('?')[0] + thecssarg + ((argstuff + '#') == '#' ? argstuff + '#' : '#' + argstuff.substring(1) + '&') + ('#' + gnewh.substring(1).replace(/^\%2C/g,'')).replace(/^\#$/g, '')).replace('&#', '&');
if (gnewh.replace('#','') != '') { lasthcalc=gnewh; }
}
}
}

function stylookfor() {
}

function storeshare(iois) {
if (iois.src.indexOf('localhost') != -1) {
waconto = (iois.contentWindow || iois.contentDocument);
if (waconto != null) {
if (waconto.document) { waconto = waconto.document; }
shareb=waconto.getElementById('share');
}
}
}

function scranal(iois) {
if (iois.src.indexOf('localhost') != -1) {
var scraconto = (iois.contentWindow || iois.contentDocument);
if (scraconto != null) {
if (scraconto.document) { scraconto = scraconto.document; }
//alert(scraconto.body.outerHTML);
}
}
}

function styanal(iois) {
if (iois.src.indexOf('localhost') != -1) {
var styaconto = (iois.contentWindow || iois.contentDocument);
if (styaconto != null) {
if (styaconto.document) { styaconto = styaconto.document; }
//alert(styaconto.body.outerHTML);
}
}
}

function scrStateChanged() {
if (scrmyxhr.readyState == 4) {
if (scrmyxhr.status == 200) {
if (scrfrom.indexOf('.JS') != -1) {
scrto="<scr" + "ipt type='text/javascript'> " + scrmyxhr.responseText + " </SCR" + "IPT>";
if (prefixingstuff.indexOf(scrfrom) != -1) {
prefixingstuff=prefixingstuff.replace(scrfrom, scrto);
console.log('i:' + prefixingstuff);
scrfrom=scrto;
}
} else {
scrto="<scr" + "ipt type='text/javascript'> " + scrmyxhr.responseText + " </scr" + "ipt>";
if (prefixingstuff.indexOf(scrfrom) != -1) {
prefixingstuff=prefixingstuff.replace(scrfrom, scrto);
console.log('j:' + prefixingstuff);
scrfrom=scrto;
}
}
}
}
}

function styStateChanged() {
if (stymyxhr.readyState == 4) {
if (stymyxhr.status == 200) {
if (styfrom.indexOf('.CSS') != -1) {
styto="<sty" + "le> " + stymyxhr.responseText + " </STY" + "LE>";
if (prefixingstuff.indexOf(styfrom) != -1) {
prefixingstuff=prefixingstuff.replace(styfrom, styto);
console.log('k:' + prefixingstuff);
styfrom=styto;
}
} else {
styto="<sty" + "le> " + stymyxhr.responseText + " </sty" + "le>";
if (prefixingstuff.indexOf(styfrom) != -1) {
prefixingstuff=prefixingstuff.replace(styfrom, styto);
console.log('l:' + prefixingstuff);
styfrom=styto;
}
}
}
}
}

function ajaxit(insto) {
var insfrom='';
if (insto.indexOf('filecss:') != -1) {
insfrom=insto;
}
if (insto.indexOf('filescript:') != -1) {
insfrom=insto;
}
//alert('Insfrom=' + insfrom + ' and insto=' + insto);
if (insfrom.indexOf('filescript:') == 0) {
//alert('insfrom=' + insfrom + ' and insto=' + insto);
if (insto == insfrom) {
//alert('7:' + insfrom);
if (17 == 17) {
if (('' + document.getElementById('cbi').style.display).indexOf('none') != -1) {
if (document.getElementById('result1').value == '') {
scrlookfordata='1';
stylookfordata='2';
} else {
scrlookfordata='2';
stylookfordata='1';
}
document.getElementById('cbi').style.display='block';
alert('To later, optionally, share this Javascript with recipients, please select it via the Please Choose button leading you to a File Browser.');
//setTimeout(function(){ alert(document.getElementById('result1').value); }, 30000);
}
} else if (7 == 7) {
scrwo=window.open(insfrom.split('filescript:')[1].split('//')[0] + '//' + insfrom.split('filescript:')[1].split('//')[1].split('/')[0] + '/getex.php?url=' + encodeURIComponent(insfrom.split('filescript:')[1].split(';')[0]), '_blank', 'top=50,left=50,width=50,height=50');
setTimeout(function(){ alert(document.getElementById('myta').value); }, 3000);
} else if (5 == 5) {
document.getElementById('scrmytaif').src='/getex.php?url=' + encodeURIComponent(insfrom.split('filescript:')[1].split(';')[0]);
} else {
scrmyxhr = new XMLHttpRequest();
scrmyxhr.open('GET', insfrom.split('filescript:')[1].split(';')[0], true);
scrmyxhr.responseType = 'Document'; // vs 'text'
scrmyxhr.onreadystatechange=scrStateChanged;
scrmyxhr.send(null);
}
}
} else if (insfrom.indexOf('filecss:') == 0) {
if (insto == insfrom) {
if (17 == 17) {
if (('' + document.getElementById('cbi').style.display).indexOf('none') != -1) {
if (document.getElementById('result1').value == '') {
scrlookfordata='2';
stylookfordata='1';
} else {
scrlookfordata='1';
stylookfordata='2';
}
document.getElementById('cbi').style.display='block';
alert('To later, optionally, share this CSS Styling with recipients, please select it via the Please Choose button leading you to a File Browser.');
//setTimeout(function(){ alert(document.getElementById('result1').value); }, 30000);
}
} else if (7 == 7) {
stywo=window.open(insfrom.split('filecss:')[1].split('//')[0] + '//' + insfrom.split('filecss:')[1].split('//')[1].split('/')[0] + '/getex.php?url=' + encodeURIComponent(insfrom.split('filecss:')[1].split(';')[0]), '_blank', 'top=50,left=50,width=50,height=50');
setTimeout(function(){ alert(document.getElementById('myta').value); }, 3000);
} else if (5 == 5) {
document.getElementById('stymytaif').src='/getex.php?url=' + encodeURIComponent(insfrom.split('filecss:')[1].split(';')[0]);
} else {
stymyxhr = new XMLHttpRequest();
stymyxhr.open('GET', insfrom.split('filecss:')[1].split(';')[0], true);
stymyxhr.responseType = 'Document'; // vs 'text'
stymyxhr.onreadystatechange=styStateChanged;
stymyxhr.send(null);
}
}
}
return insto;
}

function nomc(hashttpmaybe) {
var nohttp=hashttpmaybe;
var ihp=0, hparts=nohttp.split('https://');
for (ihp=1; ihp<hparts.length; ihp++) {
if (hparts[ihp].indexOf('localhost') == -1) {
nohttp=nohttp.replace('https://' + hparts[ihp], '//' + hparts[ihp]);
} else if (hparts[ihp].indexOf('.js') != -1) {
if (scrto == 'youllneverfindthis') {
scrto='filescript:https://' + hparts[ihp].split('.js')[0] + '.js';
nohttp=nohttp.replace('filescript:https://' + hparts[ihp].split('.js')[0] + '.js', ajaxit(scrto));
} else {
scrfrom='filescript:https://' + hparts[ihp].split('.js')[0] + '.js';
}
} else if (hparts[ihp].indexOf('.JS') != -1) {
if (scrto == 'youllneverfindthis') {
scrto='filescript:https://' + hparts[ihp].split('.JS')[0] + '.JS';
nohttp=nohttp.replace('filescript:https://' + hparts[ihp].split('.JS')[0] + '.JS', ajaxit(scrto));
} else {
scrfrom='filescript:https://' + hparts[ihp].split('.JS')[0] + '.JS';
}
} else if (hparts[ihp].indexOf('.css') != -1) {
if (styto == 'youllneverfindthis') {
styto='filecss:https://' + hparts[ihp].split('.css')[0] + '.css';
nohttp=nohttp.replace('filecss:https://' + hparts[ihp].split('.css')[0] + '.css', ajaxit(styto));
} else {
styfrom='filecss:https://' + hparts[ihp].split('.css')[0] + '.css';
}
} else if (hparts[ihp].indexOf('.CSS') != -1) {
if (styto == 'youllneverfindthis') {
styto='filecss:https://' + hparts[ihp].split('.CSS')[0] + '.CSS';
nohttp=nohttp.replace('filecss:https://' + hparts[ihp].split('.CSS')[0] + '.CSS', ajaxit(styto));
} else {
styfrom='filecss:https://' + hparts[ihp].split('.CSS')[0] + '.CSS';
}
}
}
hparts=nohttp.split('HTTPS://');
for (ihp=1; ihp<hparts.length; ihp++) {
if (hparts[ihp].indexOf('localhost') == -1) {
nohttp=nohttp.replace('HTTPS://' + hparts[ihp], '//' + hparts[ihp]);
} else if (hparts[ihp].indexOf('.js') != -1) {
if (scrto == 'youllneverfindthis') {
scrto='filescript:HTTPS://' + hparts[ihp].split('.js')[0] + '.js';
nohttp=nohttp.replace('filescript:HTTPS://' + hparts[ihp].split('.js')[0] + '.js', ajaxit(scrto));
} else {
scrfrom='filescript:HTTPS://' + hparts[ihp].split('.js')[0] + '.js';
}
} else if (hparts[ihp].indexOf('.JS') != -1) {
if (scrto == 'youllneverfindthis') {
scrto='filescript:HTTPS://' + hparts[ihp].split('.JS')[0] + '.JS';
nohttp=nohttp.replace('filescript:HTTPS://' + hparts[ihp].split('.JS')[0] + '.JS', ajaxit(scrto));
} else {
scrfrom='filescript:HTTPS://' + hparts[ihp].split('.JS')[0] + '.JS';
}
} else if (hparts[ihp].indexOf('.css') != -1) {
if (styto == 'youllneverfindthis') {
styto='filecss:HTTPS://' + hparts[ihp].split('.css')[0] + '.css';
nohttp=nohttp.replace('filecss:HTTPS://' + hparts[ihp].split('.css')[0] + '.css', ajaxit(styto));
} else {
styfrom='filecss:HTTPS://' + hparts[ihp].split('.css')[0] + '.css';
}
} else if (hparts[ihp].indexOf('.CSS') != -1) {
if (styto == 'youllneverfindthis') {
styto='filecss:HTTPS://' + hparts[ihp].split('.CSS')[0] + '.CSS';
nohttp=nohttp.replace('filecss:HTTPS://' + hparts[ihp].split('.CSS')[0] + '.CSS', ajaxit(styto));
} else {
styfrom='filecss:HTTPS://' + hparts[ihp].split('.CSS')[0] + '.CSS';
}
}
}
hparts=nohttp.split('http://');
//alert('Nohttp=' + nohttp + ' and hparts.length=' + hparts.length + ' and last hparts=' + hparts[eval(-1 + hparts.length)]);
for (ihp=1; ihp<hparts.length; ihp++) {
if (hparts[ihp].indexOf('localhost') == -1) {
nohttp=nohttp.replace('http://' + hparts[ihp], '//' + hparts[ihp]);
} else if (hparts[ihp].indexOf('.js') != -1) {
if (scrto == 'youllneverfindthis') {
scrto='filescript:http://' + hparts[ihp].split('.js')[0] + '.js';
nohttp=nohttp.replace('filescript:http://' + hparts[ihp].split('.js')[0] + '.js', ajaxit(scrto));
} else {
scrfrom='filescript:http://' + hparts[ihp].split('.js')[0] + '.js';
}
} else if (hparts[ihp].indexOf('.JS') != -1) {
//alert(scrto);
if (scrto == 'youllneverfindthis') {
scrto='filescript:http://' + hparts[ihp].split('.JS')[0] + '.JS';
//alert(scrto);
nohttp=nohttp.replace('filescript:http://' + hparts[ihp].split('.JS')[0] + '.JS', ajaxit(scrto));
} else {
scrfrom='filescript:http://' + hparts[ihp].split('.JS')[0] + '.JS';
}
} else if (hparts[ihp].indexOf('.css') != -1) {
if (styto == 'youllneverfindthis') {
styto='filecss:http://' + hparts[ihp].split('.css')[0] + '.css';
nohttp=nohttp.replace('filecss:http://' + hparts[ihp].split('.css')[0] + '.css', ajaxit(styto));
} else {
styfrom='filecss:http://' + hparts[ihp].split('.css')[0] + '.css';
}
} else if (hparts[ihp].indexOf('.CSS') != -1) {
if (styto == 'youllneverfindthis') {
styto='filecss:http://' + hparts[ihp].split('.CSS')[0] + '.CSS';
nohttp=nohttp.replace('filecss:http://' + hparts[ihp].split('.CSS')[0] + '.CSS', ajaxit(styto));
} else {
styfrom='filecss:http://' + hparts[ihp].split('.CSS')[0] + '.CSS';
}
}
}
hparts=nohttp.split('HTTP://');
for (ihp=1; ihp<hparts.length; ihp++) {
if (hparts[ihp].indexOf('localhost') == -1) {
nohttp=nohttp.replace('HTTP://' + hparts[ihp], '//' + hparts[ihp]);
} else if (hparts[ihp].indexOf('.js') != -1) {
if (scrto == 'youllneverfindthis') {
scrto='filescript:HTTP://' + hparts[ihp].split('.js')[0] + '.js';
nohttp=nohttp.replace('filescript:HTTP://' + hparts[ihp].split('.js')[0] + '.js', ajaxit(scrto));
} else {
scrfrom='filescript:HTTP://' + hparts[ihp].split('.js')[0] + '.js';
}
} else if (hparts[ihp].indexOf('.JS') != -1) {
if (scrto == 'youllneverfindthis') {
scrto='filescript:HTTP://' + hparts[ihp].split('.JS')[0] + '.JS';
nohttp=nohttp.replace('filescript:HTTP://' + hparts[ihp].split('.JS')[0] + '.JS', ajaxit(scrto));
} else {
scrfrom='filescript:HTTP://' + hparts[ihp].split('.JS')[0] + '.JS';
}
} else if (hparts[ihp].indexOf('.css') != -1) {
if (styto == 'youllneverfindthis') {
styto='filecss:HTTP://' + hparts[ihp] + '.css';
nohttp=nohttp.replace('filecss:HTTP://' + hparts[ihp] + '.css', ajaxit(styto));
} else {
styfrom='filecss:HTTP://' + hparts[ihp] + '.css';
}
} else if (hparts[ihp].indexOf('.CSS') != -1) {
if (styto == 'youllneverfindthis') {
styto='filecss:HTTP://' + hparts[ihp].split('.CSS')[0] + '.CSS';
nohttp=nohttp.replace('filecss:HTTP://' + hparts[ihp].split('.CSS')[0] + '.CSS', ajaxit(styto));
} else {
styfrom='filecss:HTTP://' + hparts[ihp].split('.CSS')[0] + '.CSS';
}
}
}
//alert('nohttp=' + nohttp.replace(scrfrom, scrto).replace(styfrom, styto));
return nohttp.replace(scrfrom, scrto).replace(styfrom, styto);
}

function glegit(iwhat) {
return '' + iwhat.getAttribute('data-tleg');
}

function windowopen(w1, w2, w3) {
var twoends=[], tzps=[];
if (gleg != '') {
twoends=gleg.split('.');
}
if (eval('' + twoends.length) > 1) {
w3='top=50,left=50,width=1000,height=900';
if (plottz[eval('' + twoends[0])].trim() != '' && plottz[eval('' + twoends[1])].trim() != '') {
w3='top=50,left=' + Math.floor(screenwidth / 3) + ',width=' + Math.floor(screenwidth / 3) + ',height=900';
window.open('//www.rjmprogramming.com.au/HTMLCSS/colour_wheel.html?mode=' + encodeURIComponent(plottz[eval('' + twoends[0])].trim()), '_blank','top=50,left=2,width=' + Math.floor(screenwidth / 3) + ',height=900');
window.open('//www.rjmprogramming.com.au/HTMLCSS/colour_wheel.html?mode=' + encodeURIComponent(plottz[eval('' + twoends[1])].trim()), '_blank','top=50,left=' + Math.floor(screenwidth * 2 / 3) + ',width=' + Math.floor(screenwidth / 3) + ',height=900');
} else if (plottz[eval('' + twoends[0])].trim() != '') {
w3='top=50,left=' + Math.floor(screenwidth / w) + ',width=' + Math.floor(screenwidth / 2) + ',height=900';
window.open('//www.rjmprogramming.com.au/HTMLCSS/colour_wheel.html?mode=' + encodeURIComponent(plottz[eval('' + twoends[0])].trim()), '_blank','top=50,left=2,width=' + Math.floor(screenwidth / 2) + ',height=900');
} else if (plottz[eval('' + twoends[1])].trim() != '') {
w3='top=50,left=5,width=' + Math.floor(screenwidth / 2) + ',height=900';
window.open('//www.rjmprogramming.com.au/HTMLCSS/colour_wheel.html?mode=' + encodeURIComponent(plottz[eval('' + twoends[1])].trim()), '_blank','top=50,left=' + Math.floor(screenwidth / 2) + ',width=' + Math.floor(screenwidth / 2) + ',height=900');
}
}
return window.open(w1, w2, w3);
}

function addcty(injp) {
var iwq=0;
if (decodeURIComponent(injp).replace(/\_/g,' ').indexOf(', ') == -1 && decodeURIComponent(injp).replace(/\_/g,' ').indexOf('[') == -1) {
if (1 == 1) {
return thedecodeURIComponent(injp);
} else {
for (iwq=0; iwq<plotplace.length; iwq++) {
if (decodeURIComponent(plotplace[iwq]).replace(/\_/g,' ').indexOf(', ') != -1) {
if (decodeURIComponent(injp) == decodeURIComponent(plotplace[iwq]).replace(/\_/g,' ').split(', ')[0]) {
return injp + ', ' + decodeURIComponent(plotplace[iwq]).replace(/\_/g,' ').split(', ')[1];
}
}
}
}
}
return injp;
}

function thedecodeURIComponent(insx) {
var outsx=decodeURIComponent(insx);
if (isotwo != '' && isotwo.indexOf(outsx) != -1) {
if (plottz[eval(-1 + plotcc.length)] == '') {
plottz[eval(-1 + plotcc.length)]=' ';
}
plotcc[eval(-1 + plotcc.length)]=isotwo.split(outsx)[1].substring(0,2);
for (var ijk=0; ijk<iso_country_codes.length; ijk+=2) {
if (iso_country_codes[ijk].toUpperCase() == isotwo.split(outsx)[1].substring(0,2)) {
return outsx + ', ' + iso_country_codes[eval(1 + ijk)];
}
}
}
return outsx;
}

function dountilnoquestion() {
var ibap=0, bap=[], ispare=0;
caret='^';
//document.title=gdefv;
console.log('gdefv=' + gdefv);
if (gdefv.trim() != gdefv.trim().replace(/\?$/g,'') || gdefv.indexOf('!?') != -1 || gdefv.indexOf('?!') != -1 || gdefv.indexOf('?{') != -1 || gdefv.indexOf('?,') != -1 || gdefv.indexOf('?-') != -1) {
bap=gdefv.split('{');
for (ibap=1; ibap<bap.length; ibap++) {
if (bap[ibap].split('}')[0].indexOf('?') != -1) {
gdefv=gdefv.replace(bap[ibap], bap[ibap].replace(/\?/g, '%3f'));
}
}
//alert('gdefv=' + gdefv);
// Alice Springs|133.87000|_23.70000^-Sydney?!
curgdefv=gdefv.split('?')[0].split(',')[eval(-1 + gdefv.split('?')[0].split(',').length)].trim().replace(/^\[/g,'');
//alert('Curgdefv=' + curgdefv);
curgdefv=curgdefv.split('^')[eval(-1 + curgdefv.split('^').length)].replace(/^\-/g,'');
//alert('curGdefv=' + curgdefv);
if (curgdefv != curgdefv.replace(/\!$/g,'')) {
caret='^ ';
gdefv=gdefv.replace(curgdefv, curgdefv.replace(/\!$/g,''));
//alert('1:' + gdefv);
curgdefv=curgdefv.replace(/\!$/g,'');
} else if (gdefv.indexOf(curgdefv + '?!') != -1) {
caret='^ ';
gdefv=gdefv.replace(curgdefv + '?!', curgdefv + '?');
//alert('2:' + gdefv);
curgdefv=curgdefv;
}
if (caret == '^ ' && yourtzlist.toLowerCase().indexOf('/' + curgdefv.toLowerCase().replace(/\ /g,'_') + '<') == -1) {
caret='^';

if (bigback.indexOf(curgdefv + ':') == -1 && bigback.indexOf(curgdefv.replace(/\ /g,'_') + ':') == -1 && nextwiftwo.indexOf(encodeURIComponent(curgdefv)) == -1) {
//alert(curgdefv);
if (wiftwoavailable) {
wiftwoavailable=false;
//alert('1:' + '/PHP/fgc/index.php?tzexact=&tznickname=' + encodeURIComponent(curgdefv.split(',')[eval(-1 + curgdefv.split(',').length)].split('-')[eval(-1 + curgdefv.split(',')[eval(-1 + curgdefv.split(',').length)].split('-').length)].split('{')[0].trim().replace(/\ /g,'_')).replace(/\%252d/g,'%2d'));
document.getElementById('wiftwo').src='/PHP/fgc/index.php?tzexact=&tznickname=' + encodeURIComponent(curgdefv.split(',')[eval(-1 + curgdefv.split(',').length)].split('-')[eval(-1 + curgdefv.split(',')[eval(-1 + curgdefv.split(',').length)].split('-').length)].split('{')[0].trim().replace(/\ /g,'_')).replace(/\%252d/g,'%2d');
} else {
nextwiftwo+='/PHP/fgc/index.php?tzexact=&tznickname=' + encodeURIComponent(curgdefv.replace(/\ /g,'_')) + '#';
}
}


}
}



//alert('*' + caret + '*');

if (caret == '^') {

if (yourtzlist.toLowerCase().indexOf('/' + curgdefv.toLowerCase().replace(/\ /g,'_') + '<') != -1) {
ispare=yourtzlistindexOf('/' + curgdefv.toLowerCase().replace(/\ /g,'_') + '<');
//gdefv=gdefv.replace(curgdefv + '?', curgdefv + '^');
gdefv=gdefv.replace(curgdefv.split(',')[eval(-1 + curgdefv.split(',').length)].split('-')[eval(-1 + curgdefv.split(',')[eval(-1 + curgdefv.split(',').length)].split('-').length)].split('{')[0].trim().replace(/\ /g,'_') + '?', curgdefv.split(',')[eval(-1 + curgdefv.split(',').length)].split('-')[eval(-1 + curgdefv.split(',')[eval(-1 + curgdefv.split(',').length)].split('-').length)].split('{')[0].trim().replace(/\ /g,'_') + '^');
if (gdefv.indexOf('?') == -1) {
gdefv=gdefv.replace(/\^/g, '').replace(/\%3f/g, '?');
//alert('gdefv=' + gdefv);
scmok=true;
movesallowed=true;
gmovesallowed=true;
five=5;
gfive=5;
document.getElementById('myimg').click(); //scmove();
} else {
setTimeout(dountilnoquestion, 1000);
}
} else {
//alert('curgdefv=' + curgdefv);
document.getElementById('placegeo').value=' ';
//alert('11:' + '/PHP/fgc/index.php?placegeo=' + encodeURIComponent(curgdefv.replace(/\ /g,'_')).replace(/\%252d/g,'%2d'));
//document.getElementById('wif').src='/PHP/fgc/index.php?placegeo=' + encodeURIComponent(curgdefv.replace(/\ \(/g,', ').replace(/\)$/g,'')).replace(/\%20/g,'_');
document.getElementById('wif').src='/PHP/fgc/index.php?placegeo=' + encodeURIComponent(curgdefv.split(',')[eval(-1 + curgdefv.split(',').length)].split('-')[eval(-1 + curgdefv.split(',')[eval(-1 + curgdefv.split(',').length)].split('-').length)].split('{')[0].trim().replace(/\ /g,'_')).replace(/\%252d/g,'%2d');
//alert('11:' + '/PHP/fgc/index.php?tzexact=&tznickname=' + encodeURIComponent(curgdefv.split(',')[eval(-1 + curgdefv.split(',').length)].split('-')[eval(-1 + curgdefv.split(',')[eval(-1 + curgdefv.split(',').length)].split('-').length)].split('{')[0].trim().replace(/\ /g,'_')));
// document.getElementById('wiftwo').src='/PHP/fgc/index.php?tzexact=&tznickname=' + encodeURIComponent(curgdefv.split(',')[eval(-1 + curgdefv.split(',').length)].split('-')[eval(-1 + curgdefv.split(',')[eval(-1 + curgdefv.split(',').length)].split('-').length)].split('{')[0].trim().replace(/\ /g,'_'));
}

} else if (caret == '^ ') {


if (caret == '^' && yourtzlist.toLowerCase().indexOf('/' + curgdefv.toLowerCase().replace(/\ /g,'_') + '<') != -1) {
//gdefv=gdefv.replace(curgdefv + '?', curgdefv + '^');
gdefv=gdefv.replace(curgdefv.split(',')[eval(-1 + curgdefv.split(',').length)].split('-')[eval(-1 + curgdefv.split(',')[eval(-1 + curgdefv.split(',').length)].split('-').length)].split('{')[0].trim().replace(/\ /g,'_') + '?', curgdefv.split(',')[eval(-1 + curgdefv.split(',').length)].split('-')[eval(-1 + curgdefv.split(',')[eval(-1 + curgdefv.split(',').length)].split('-').length)].split('{')[0].trim().replace(/\ /g,'_') + '^');
if (gdefv.indexOf('?') == -1) {
gdefv=gdefv.replace(/\^/g, '').replace(/\%3f/g, '?');
//alert('gdefv=' + gdefv);
scmok=true;
movesallowed=true;
gmovesallowed=true;
five=5;
gfive=5;
document.getElementById('myimg').click(); //scmove();
} else {
setTimeout(dountilnoquestion, 1000);
}
} else {
//alert('curgdefv=' + curgdefv);
document.getElementById('placegeo').value=' ';
//alert('111:' + '/PHP/fgc/index.php?placegeo=' + encodeURIComponent(curgdefv.replace(/\ /g,'_')));
//document.getElementById('wif').src='/PHP/fgc/index.php?placegeo=' + encodeURIComponent(curgdefv.replace(/\ \(/g,', ').replace(/\)$/g,'')).replace(/\%20/g,'_');
document.getElementById('wif').src='/PHP/fgc/index.php?placegeo=' + encodeURIComponent(curgdefv.split(',')[eval(-1 + curgdefv.split(',').length)].split('-')[eval(-1 + curgdefv.split(',')[eval(-1 + curgdefv.split(',').length)].split('-').length)].split('{')[0].trim().replace(/\ /g,'_'));
//alert('111:' + '/PHP/fgc/index.php?tzexact=&tznickname=' + encodeURIComponent(curgdefv.split(',')[eval(-1 + curgdefv.split(',').length)].split('-')[eval(-1 + curgdefv.split(',')[eval(-1 + curgdefv.split(',').length)].split('-').length)].split('{')[0].trim().replace(/\ /g,'_')));
// document.getElementById('wiftwo').src='/PHP/fgc/index.php?tzexact=&tznickname=' + encodeURIComponent(curgdefv.split(',')[eval(-1 + curgdefv.split(',').length)].split('-')[eval(-1 + curgdefv.split(',')[eval(-1 + curgdefv.split(',').length)].split('-').length)].split('{')[0].trim().replace(/\ /g,'_'));
}

}
}

function woit(what) {
if (what.trim() != '') {
//alert(what + ' ... ' + bigback);
if (bigback.indexOf(what + ':') != -1 || bigback.indexOf(what.replace(/\ /g,'_') + ':') != -1) {
if (wobi) {
if (!wobi.closed) { wobi.close(); }
}
wobi=window.open('', '_blank', 'top=50,left=50,width=900,height=800');
if (bigback.indexOf(what + ':') != -1) {
wobi.document.write(bigback.split(what + ':')[1].split('</div>')[0] + '</div>');
} else {
wobi.document.write(bigback.split(what.replace(/\ /g,'_') + ':')[1].split('</div>')[0] + '</div>');
}
setTimeout(function(){ wobi.document.title=what + ' ... Wikipedia images ... thanks'; }, 6000);
}
}
}

function coordittwo(xiois) {
var xxaconto = (xiois.contentWindow || xiois.contentDocument);
if (xxaconto != null) {
if (xxaconto.document) { xxaconto = xxaconto.document; }
var xxacontobodyouterHTML=xxaconto.body.outerHTML.replace(/\"\;/g,'"');
//alert(xxacontobodyouterHTML);
if (xxacontobodyouterHTML.indexOf('.style.background="URL(') != -1) {
//alert('URL(' + xxacontobodyouterHTML.split('.style.background="URL(')[1].split('"')[0] + '');
//alert('"' + xxacontobodyouterHTML.split('.style.backgroundRepeat="')[1].split('"')[0] + '"');
//alert('"' + xxacontobodyouterHTML.split('.style.backgroundPosition="')[1].split('"')[0] + '"');
if (bigback.indexOf(xiois.src.split('tznickname=')[1].split('&')[0].split('#')[0] + ':') == -1) {
if (document.getElementById('span' + xiois.src.split('tznickname=')[1].split('&')[0].split('#')[0])) {
document.getElementById('span' + xiois.src.split('tznickname=')[1].split('&')[0].split('#')[0].replace(/\ /g,'_')).style.cursor='pointer';
document.getElementById('span' + xiois.src.split('tznickname=')[1].split('&')[0].split('#')[0].replace(/\ /g,'_')).title='Wikipedia images available for ' + xiois.src.split('tznickname=')[1].split('&')[0].split('#')[0].replace(/\_/g,' ') + ' clicking here now.';
}
bigback+=xiois.src.split('tznickname=')[1].split('&')[0].split('#')[0] + ':' + document.getElementById('ourcanvas').outerHTML.replace('<canvas','<div title="Images for ' + xiois.src.split('tznickname=')[1].split('&')[0].split('#')[0].replace(/\_/g,' ') + ' thanks to Wikipedia at https://wikipedia.org" ').replace('</canvas>','</div>').replace(':none;',':block;background:' + 'URL(' + xxacontobodyouterHTML.split('.style.background="URL(')[1].split('"')[0] + ';background-repeat:no-repeat;background-position:' + xxacontobodyouterHTML.split('.style.backgroundPosition="')[1].split('"')[0]);
}
}
wiftwoavailable=true;
if (nextwiftwo.split('#')[0] != '') {
if (nextwiftwo.split('#')[0].indexOf('dopg=') != -1) {
document.getElementById('placegeo').value=' ';
override=nextwiftwo.split('#')[0].replace('dopg=y&','').split('tznickname=')[1].split('&')[0].split('#')[0];
//alert('2:' + '/PHP/fgc/index.php?placegeo=' + encodeURIComponent(override.replace(/\ \(/g,', ').replace(/\)$/g,'')).replace(/\%20/g,'_'));
document.getElementById('wif').src='/PHP/fgc/index.php?placegeo=' + encodeURIComponent(override.replace(/\ \(/g,', ').replace(/\)$/g,'')).replace(/\%20/g,'_');
}
xiois.src=nextwiftwo.split('#')[0].replace('dopg=y&','');
nextwiftwo=nextwiftwo.replace(nextwiftwo.split('#')[0] + '#', '');
wiftwoavailable=false;
}
}
}

function coordit(xiois) {
var thisoverride=override;
override='';
xaconto = (xiois.contentWindow || xiois.contentDocument);
//alert(11);
if (xaconto != null) {
//alert('111 ' + xiois.src);
try {
if (xaconto.document) { xaconto = xaconto.document; }
//alert('1111 ' + xaconto.body.innerHTML);
if (xaconto.body.innerHTML.indexOf('>Coordinates') != -1) {
var subpart=xaconto.body.innerHTML.split('>Coordinates')[1];
latdeg=-999;
longdeg=-999;
latmin=0;
longmin=0;
latsec=0;
longsec=0;
sparelat='';
sparelong='';
if (subpart.indexOf('"latitude"') != -1 && subpart.indexOf('"longitude"') != -1) {
latdeg=subpart.split('"latitude"')[1].split('>')[1].split("°")[0].split('<')[0];
sparelat=subpart.split('"latitude"')[1].split('>')[1].split('<')[0].slice(-1);
latmin=subpart.split('"latitude"')[1].split('>')[1].split('<')[0].substring(eval(1 + eval('' + latdeg.length))).split("′")[0].split(sparelat)[0].split('<')[0];
if (sparelat == 'S') { latdeg=eval(eval(eval(-1 * latmin) / 60) - latdeg); } else { latdeg+=eval(eval('' + latmin) / 60) }

longdeg=subpart.split('"longitude"')[1].split('>')[1].split("°")[0].split('<')[0];
sparelong=subpart.split('"longitude"')[1].split('>')[1].split('<')[0].slice(-1);
longmin=subpart.split('"longitude"')[1].split('>')[1].split('<')[0].substring(eval(1 + eval('' + longdeg.length))).split("′")[0].split(sparelong)[0].split('<')[0];
if (sparelong == 'W') { longdeg=eval(eval(eval(-1 * longmin) / 60) - longdeg); } else { longdeg+=eval(eval('' + longmin) / 60) }


if (gdefv.indexOf(curgdefv + '?') != -1) {
gdefv=gdefv.replace(curgdefv + '?', curgdefv + ('|' + longdeg).replace('|-','|_') + + ('|' + latdeg).replace('|-','|_') + '^');
dountilnoquestion();
}

return true;

} else if (('' + document.getElementById('placegeo').value).trim().indexOf(',') != -1) {
//alert(document.getElementById('placegeo').value);
if (eval('' + document.getElementById('placegeo').title.split(',').length) >= 3) {
isotwo+=curgdefv + document.getElementById('placegeo').title.split(',')[eval(-3 + document.getElementById('placegeo').title.split(',').length)];
if (thisoverride != '') { alert(isotwo + ' ... regarding ' + thisoverride); }
setTimeout(newhashit, 5000);
}
latdeg=document.getElementById('placegeo').value.split(',')[eval(-2 + document.getElementById('placegeo').value.split(',').length)];
longdeg=document.getElementById('placegeo').value.split(',')[eval(-1 + document.getElementById('placegeo').value.split(',').length)];
//alert('' + longdeg);

if (gdefv.indexOf(curgdefv + '?') != -1) {
gdefv=gdefv.replace(curgdefv + '?', curgdefv + ('|' + longdeg).replace('|-','|_') + ('|' + latdeg).replace('|-','|_') + '^');
if (gdefv.indexOf('?') == -1) {
gdefv=gdefv.replace(/\^/g, '').replace(/\%3f/g, '?');
//document.title=gdefv;
//alert('gdefv=' + gdefv);
scmok=true;
movesallowed=true;
gmovesallowed=true;
five=5;
gfive=5;
document.getElementById('myimg').click(); //scmove();
return '';
} else {
setTimeout(dountilnoquestion, 1000);
}
//dountilnoquestion();
}

return true;
}

} else {

if (('' + document.getElementById('placegeo').value).trim().indexOf(',') != -1) {
//alert(document.getElementById('placegeo').value);
//alert(document.getElementById('placegeo').value);
if (eval('' + document.getElementById('placegeo').title.split(',').length) >= 3) {
isotwo+=curgdefv + document.getElementById('placegeo').title.split(',')[eval(-3 + document.getElementById('placegeo').title.split(',').length)];
if (thisoverride != '') { alert(isotwo + ' ... Regarding ' + thisoverride); }
setTimeout(newhashit, 5000);
}
latdeg=document.getElementById('placegeo').value.split(',')[eval(-2 + document.getElementById('placegeo').value.split(',').length)];
longdeg=document.getElementById('placegeo').value.split(',')[eval(-1 + document.getElementById('placegeo').value.split(',').length)];
//alert('7:' + longdeg + ' ' + document.getElementById('placegeo').value);
//alert('77:' + latdeg + ' gdefv=' + gdefv + ' and curgdefv?=' + curgdefv + '?');
// 77:-23.70000 gdefv=Alice Springs?-Sydney? and curgdefv?=Alice Springs?
// 77:-33.86778 gdefv=Alice Springs|133.87000|_23.70000^-Sydney? and curgdefv?=Sydney?

if (gdefv.indexOf(curgdefv + '?') != -1) {
//alert('r:' + document.getElementById('placegeo').value);
gdefv=gdefv.replace(curgdefv + '?', curgdefv + ('|' + longdeg).replace('|-','|_') + ('|' + latdeg).replace('|-','|_') + '^');
if (gdefv.indexOf('?') == -1) {
gdefv=gdefv.replace(/\^/g, '').replace(/\%3f/g, '?');
//document.title=gdefv;
//alert('gdefv =' + gdefv);
scmok=true;
movesallowed=true;
gmovesallowed=true;
five=5;
gfive=5;
document.getElementById('myimg').click(); //scmove();
return '';
} else {
dountilnoquestion(); //setTimeout(dountilnoquestion, 1000);
}
// dountilnoquestion();
}
} else {
if (gdefv.indexOf(curgdefv + '?') != -1) {
//alert('q:' + document.getElementById('placegeo').value);
gdefv=gdefv.replace(curgdefv + '?', curgdefv + caret.trim());
if (gdefv.indexOf('?') == -1) {
gdefv=gdefv.replace(/\^/g, '').replace(/\%3f/g, '?');
//document.title=gdefv;
//alert('gdefv= ' + gdefv);
scmok=true;
movesallowed=true;
gmovesallowed=true;
five=5;
gfive=5;
document.getElementById('myimg').click(); //scmove();
return '';
} else {
dountilnoquestion(); //setTimeout(dountilnoquestion, 1000);
}
//
}
}


//gextras='';
//if (window.opener) {
// window.opener.putgextras(gextras);
//} else if (window.parent) {
// parent.putgextras(gextras);
//}
}
} catch(hgjg) { }
}
return true;
}

function iuo(newtooldmaybe) {
var outmel=newtooldmaybe, pref='', suff='';
var flds=[];

//alert('0:' + outmel);

if (outmel.trim() != '') {

if (outmel != outmel.replace(/^\ /g, '')) {
while (outmel != outmel.replace(/^\ /g, '')) {
outmel=outmel.replace(/^\ /g, '');
pref+=' ';
}
}
//alert('00:' + outmel);

if (outmel != outmel.replace(/\ $/g, '')) {
while (outmel != outmel.replace(/\ $/g, '')) {
outmel=outmel.replace(/\ $/g, '');
suff+=' ';
}
}
//alert('000:' + outmel);

if (outmel.indexOf('|') != -1) {
//alert('10:' + outmel);
outmel=outmel.replace(/\|\_/g, '|-').replace(/^\_/g, '-'); //.replace(/\ /g,'_');
//alert('110:' + outmel);
flds=outmel.replace('[', '').replace(']', '').split('|');
if (eval('' + flds.length) == 2 || (eval('' + flds.length) == 3 && flds[eval(-1 + flds.length)].trim() == '')) {
if (outmel.indexOf('.') == -1) {
//if (outmel.trim() != '') { alert(newtooldmaybe + ' Vs ' + pref + flds[0] + ',' + flds[1] + suff); }
return pref + flds[0] + ',' + flds[1] + suff;
} else {
//if (outmel.trim() != '') { alert(outmel); alert(newtooldmaybe + ' vS ' + pref + '[' + flds[0] + ',' + flds[1] + ']' + suff); }
return pref + '[' + flds[0] + ',' + flds[1] + ']' + suff;
}
} else if (eval('' + flds.length) >= 3) {
//if (outmel.trim() != '') { alert(outmel); alert(newtooldmaybe + ' VS ' + pref + '[' + flds[eval(-2 + flds.length)] + ',' + flds[eval(-1 + flds.length)] + ',' + outmel.replace('|' + flds[eval(-2 + flds.length)] + '|' + flds[eval(-1 + flds.length)], '').replace('[','').replace(']','') + ']' + suff); }
return pref + '[' + flds[eval(-2 + flds.length)] + ',' + flds[eval(-1 + flds.length)] + ',' + outmel.replace('|' + flds[eval(-2 + flds.length)] + '|' + flds[eval(-1 + flds.length)], '').replace('[','').replace(']','') + ']' + suff;
}
}

// Budgewoi33.2329° S, 151.5516° E

}

//if (outmel.trim() != '') { alert(newtooldmaybe + ' vs ' + pref + outmel + suff); }
return pref + outmel + suff;
}

function toiuo(meldaccordingly) {
var minus=String.fromCharCode(9), haveseencapital=false, outmel=meldaccordingly, pref='', suff='', icom=0, degfixes=[], ideg=0, xtlat='', xtlong='', nums='', ijk=0, xtplace='', tobechanged='', comfixes=[];

if (outmel.trim() != '') {

if (outmel != outmel.replace(/^\ /g, '')) {
while (outmel != outmel.replace(/^\ /g, '')) {
outmel=outmel.replace(/^\ /g, '');
pref+=' ';
}
}

if (outmel != outmel.replace(/\ $/g, '')) {
while (outmel != outmel.replace(/\ $/g, '')) {
outmel=outmel.replace(/\ $/g, '');
suff+=' ';
}
}

degfixes=outmel.split('[');
if (eval('' + degfixes.length) > 1) {
for (ideg=1; ideg<degfixes.length; ideg++) {
xtlat='';
xtlong='';
xtplace='';
tobechanged='[' + degfixes[ideg].split(']')[0] + ']';
comfixes=degfixes[ideg].split(']')[0].split(',');
if (eval('' + comfixes.length) >= 2) {
if (eval('' + comfixes.length) == 2) {
xtlong='' + comfixes[0];
xtlat='' + comfixes[1];
//outmel=outmel.replace('' + tobechanged + '', '[' + xtplace.replace(/\-/g,'%2d') + '|' + xtlong.replace('-','_') + '|' + xtlat.replace('-','_') + ']');
outmel=outmel.replace('' + tobechanged + '', '' + xtplace.replace(/\-/g,'%2d') + '|' + xtlong.replace('-','_') + '|' + xtlat.replace('-','_') + '');
} else {
xtlong='' + comfixes[0];
xtlat='' + comfixes[1];
xtplace=degfixes[ideg].split(']')[0].replace(xtlong + ',' + xtlat + ',', '');
//outmel=outmel.replace('' + tobechanged + '', '[' + xtplace.replace(/\-/g,'%2d') + '|' + xtlong.replace('-','_') + '|' + xtlat.replace('-','_') + ']');
outmel=outmel.replace('' + tobechanged + '', '' + xtplace.replace(/\-/g,'%2d') + '|' + xtlong.replace('-','_') + '|' + xtlat.replace('-','_') + '');
}
}
}
}

degfixes=outmel.split(String.fromCodePoint(176));
if (eval('' + degfixes.length) > 1) {
for (ideg=1; ideg<degfixes.length; ideg+=2) {
xtlat='';
xtlong='';
xtplace='';
nums='';
tobechanged=String.fromCodePoint(176) + degfixes[eval(0 + ideg)] + String.fromCodePoint(176);
switch (degfixes[eval(1 + ideg)].substring(0,2).trim().split(',')[0].split('-')[0].split('|')[0].split('_')[0]) {
case 'E':
tobechanged+=degfixes[eval(1 + ideg)].split('E')[0] + 'E';
for (ijk=0; ijk<degfixes[eval(0 + ideg)].length; ijk++) {
if (degfixes[eval(0 + ideg)].substring(ijk).substring(0,1) == '.' || degfixes[eval(0 + ideg)].substring(ijk).substring(0,1) == '-' || (degfixes[eval(0 + ideg)].substring(ijk).substring(0,1) >= '0' && degfixes[eval(0 + ideg)].substring(ijk).substring(0,1) <= '9')) { nums+=degfixes[eval(0 + ideg)].substring(ijk).substring(0,1); }
}
xtlong='' + nums.replace(/^\-/g,'');
break;
case 'W':
tobechanged+=degfixes[eval(1 + ideg)].split('W')[0] + 'W';
for (ijk=0; ijk<degfixes[eval(0 + ideg)].length; ijk++) {
if (degfixes[eval(0 + ideg)].substring(ijk).substring(0,1) == '.' || degfixes[eval(0 + ideg)].substring(ijk).substring(0,1) == '-' || (degfixes[eval(0 + ideg)].substring(ijk).substring(0,1) >= '0' && degfixes[eval(0 + ideg)].substring(ijk).substring(0,1) <= '9')) { nums+=degfixes[eval(0 + ideg)].substring(ijk).substring(0,1); }
}
xtlong='_' + nums.replace(/^\-/g,'');
break;
case 'S':
tobechanged+=degfixes[eval(1 + ideg)].split('S')[0] + 'S';
for (ijk=0; ijk<degfixes[eval(0 + ideg)].length; ijk++) {
if (degfixes[eval(0 + ideg)].substring(ijk).substring(0,1) == '.' || degfixes[eval(0 + ideg)].substring(ijk).substring(0,1) == '-' || (degfixes[eval(0 + ideg)].substring(ijk).substring(0,1) >= '0' && degfixes[eval(0 + ideg)].substring(ijk).substring(0,1) <= '9')) { nums+=degfixes[eval(0 + ideg)].substring(ijk).substring(0,1); }
}
xtlat='_' + nums.replace(/^\-/g,'');
break;
case 'N':
tobechanged+=degfixes[eval(1 + ideg)].split('N')[0] + 'N';
for (ijk=0; ijk<degfixes[eval(0 + ideg)].length; ijk++) {
if (degfixes[eval(0 + ideg)].substring(ijk).substring(0,1) == '.' || degfixes[eval(0 + ideg)].substring(ijk).substring(0,1) == '-' || (degfixes[eval(0 + ideg)].substring(ijk).substring(0,1) >= '0' && degfixes[eval(0 + ideg)].substring(ijk).substring(0,1) <= '9')) { nums+=degfixes[eval(0 + ideg)].substring(ijk).substring(0,1); }
}
xtlat='' + nums.replace(/^\-/g,'');
break;
default:
break;
}

//alert('1:' + tobechanged + ' to ' + xtplace + '|' + xtlong + '|' + xtlat);
nums='';
haveseencapital=false;
minus='-';
if (degfixes[eval(-1 + ideg)].indexOf('}') != -1) { minus=String.fromCharCode(9); }
// Budgewoi33.2329° S, 151.5516° E{ydney}-{yes}Budge-Xwoi31.2329° S, 149.5516° E{elbourne}
//if (degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) == degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1).toUpperCase() && degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) != degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1).toLowerCase()) {
// haveseencapital;
// minus='-';
//}

switch (degfixes[eval(0 + ideg)].substring(0,2).trim().split(',')[0].split('-')[0].split('|')[0].split('_')[0]) {
case 'E':
ijk=eval(-1 + degfixes[eval(0 + ideg)].length);
while (degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) == '.' || (degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) >= '0' && degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) <= '9')) {
nums=degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) + nums;
tobechanged=degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) + tobechanged;
ijk--;
}
xtlong='' + nums.replace(/^\-/g,'');
while (ijk >= 0 && (degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) == ',' || degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) == ' ' || degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) == '-' || degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) == '[' || degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) == '|' || degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) == ';')) {
tobechanged=degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) + tobechanged;
ijk--;
}
while (ijk >= 0 && degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) != minus && degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) != '}' && degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) != '[' && degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) != '|' && degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) != ';') {
xtplace=degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) + xtplace;
tobechanged=degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) + tobechanged;
ijk--;
}
//if (degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) == '}') { xtplace=',' + xtplace; }
break;
case 'W':
ijk=eval(-1 + degfixes[eval(-1 + ideg)].length);
while (degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) == '.' || (degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) >= '0' && degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) <= '9')) {
nums=degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) + nums;
tobechanged=degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) + tobechanged;
ijk--;
}
xtlong='_' + nums.replace(/^\-/g,'');
while (ijk >= 0 && (degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) == ',' || degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) == ' ' || degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) == '-' || degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) == '[' || degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) == '|' || degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) == ';')) {
tobechanged=degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) + tobechanged;
ijk--;
}
while (ijk >= 0 && degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) != minus && degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) != '}' && degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) != '[' && degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) != '|' && degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) != ';') {
xtplace=degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) + xtplace;
tobechanged=degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) + tobechanged;
ijk--;
}
//if (degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) == '}') { xtplace=',' + xtplace; }
break;
case 'S':
ijk=eval(-1 + degfixes[eval(-1 + ideg)].length);
while (degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) == '.' || (degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) >= '0' && degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) <= '9')) {
nums=degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) + nums;
tobechanged=degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) + tobechanged;
ijk--;
//alert('2s:' + tobechanged + ' to ' + xtplace + '|' + xtlong + '|' + xtlat);
}
xtlat='_' + nums.replace(/^\-/g,'');
while (ijk >= 0 && (degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) == ',' || degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) == ' ' || degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) == '-' || degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) == '[' || degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) == '|' || degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) == ';')) {
tobechanged=degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) + tobechanged;
ijk--;
//alert('3s:' + tobechanged + ' to ' + xtplace + '|' + xtlong + '|' + xtlat);
}
while (ijk >= 0 && degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) != minus && degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) != '}' && degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) != '[' && degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) != '|' && degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) != ';') {
xtplace=degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) + xtplace;
tobechanged=degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) + tobechanged;
ijk--;
//alert('4s:' + tobechanged + ' to ' + xtplace + '|' + xtlong + '|' + xtlat);
}
//alert('5s:' + tobechanged + ' to ' + xtplace + '|' + xtlong + '|' + xtlat);
//if (degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) == '}') { xtplace=',' + xtplace; }
break;
case 'N':
ijk=eval(-1 + degfixes[eval(-1 + ideg)].length);
while (degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) == '.' || (degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) >= '0' && degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) <= '9')) {
nums=degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) + nums;
tobechanged=degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) + tobechanged;
ijk--;
}
xtlat='' + nums.replace(/^\-/g,'');
while (ijk >= 0 && (degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) == ',' || degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) == ' ' || degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) == '-' || degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) == '[' || degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) == '|' || degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) == ';')) {
tobechanged=degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) + tobechanged;
ijk--;
}
while (ijk >= 0 && degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) != minus && degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) != '}' && degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) != '[' && degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) != '|' && degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) != ';') {
xtplace=degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) + xtplace;
tobechanged=degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) + tobechanged;
ijk--;
}
//if (degfixes[eval(-1 + ideg)].substring(ijk).substring(0,1) == '}') { xtplace=',' + xtplace; }
break;
default:
break;
}

if (xtlong != '' && xtlat != '') {
if (xtplace.trim() != '') {
//alert('9:' + tobechanged + ' to ' + xtplace.replace(/\-/g,'%2d') + '|' + xtlong + '|' + xtlat);
outmel=outmel.replace('[' + tobechanged + ']', xtplace.replace(/\-/g,'%2d') + '|' + xtlong + '|' + xtlat);
outmel=outmel.replace('' + tobechanged + '', xtplace.replace(/\-/g,'%2d') + '|' + xtlong + '|' + xtlat);
} else {
//alert(938);
outmel=outmel.replace('[' + tobechanged + ']', ('[' + xtplace.replace(/\-/g,'%2d')).replace('[,',',[') + '|' + xtlong + '|' + xtlat + ']');
outmel=outmel.replace('' + tobechanged + '', ('[' + xtplace.replace(/\-/g,'%2d')).replace('[,',',[') + '|' + xtlong + '|' + xtlat + ']');
}
}
xtlat='';
xtlong='';
xtplace='';
nums='';
tobechanged='';
}
}

// 151.5516,-33.2329,Budgewoi{ydney}-{yes}149.5516,-31.2329,Budge-Xwoi{elbourne}
degfixes=outmel.split(',');
var youtmel=outmel, wasmel='', thisfld='';
var atstart=0, itstart=-1, degihj='', repl='';
if (eval('' + degfixes.length) > 3) {
if (outmel.indexOf('--') != -1) {
outmel=outmel.replace(/\-\-/g,'-_');
degfixes=outmel.split(',');
youtmel=outmel;
//alert('YoutMel=' + youtmel);
}
if (outmel.indexOf(',-') != -1) {
outmel=outmel.replace(/\,\-/g,',_');
degfixes=outmel.split(',');
youtmel=outmel;
}
if (outmel.toLowerCase().indexOf(' to -') != -1) {
outmel=outmel.replace(/\ to\ \-/g,' to _').replace(/\ TO\ \-/g,' to _');
degfixes=outmel.split(',');
youtmel=outmel;
}
if (outmel.toLowerCase().indexOf(' from -') != -1) {
outmel=outmel.replace(/\ from\ \-/g,' from _').replace(/\ FROM\ \-/g,' from _');
degfixes=outmel.split(',');
youtmel=outmel;
}
if ((outmel.trim() + ' ').substring(0,1) == '-') {
outmel=outmel.replace('-','_');
degfixes=outmel.split(',');
youtmel=outmel;
}
//alert('Youtmel=' + youtmel + ' ' + meldaccordingly);
for (var ihj=0; ihj<degfixes.length; ihj++) {
if (atstart == 0) {
if (degfixes[ihj].trim() != '') {
if (degfixes[ihj].indexOf('{') == -1 && degfixes[ihj].indexOf('[') == -1 && degfixes[ihj].indexOf('}') == -1 && degfixes[ihj].indexOf(']') == -1) {
if (degfixes[ihj].slice(-1) >= '0' && degfixes[ihj].slice(-1) <= '9') {
itstart=ihj;
atstart++;
//alert('found ' + degfixes[ihj]);
}
}
}
} else if (atstart == 1) {
if (degfixes[ihj].trim() != '') {
if (degfixes[ihj].indexOf('{') == -1 && degfixes[ihj].indexOf('[') == -1 && degfixes[ihj].indexOf('}') == -1 && degfixes[ihj].indexOf(']') == -1) {
if (degfixes[ihj].slice(-1) >= '0' && degfixes[ihj].slice(-1) <= '9') {
atstart++;
} else {
atstart=0;
itstart=-1;
}
} else {
atstart=0;
itstart=-1;
}
} else {
atstart=0;
itstart=-1;
}
} else if (atstart == 2) {
wasmel=youtmel;
if (repl == '' && youtmel.indexOf(degfixes[itstart].replace(/\-/g,'%2d')) != -1) {
repl=degfixes[itstart]; //.replace(/\-/g,'%2d');
} else if (repl == '') {
repl=degfixes[itstart];
}
thisfld=degfixes[ihj];
thisfld=thisfld.split('{')[0].split('_')[0].split('0')[0].split('1')[0].split('2')[0].split('3')[0].split('4')[0].split('5')[0].split('6')[0].split('7')[0].split('8')[0].split('9')[0].split(' to ')[0].split(' TO ')[0].split(' from ')[0].split(' FROM ')[0].replace(/\-$/g,'').replace(/\-/g,'%2d');
if (thisfld.indexOf('%2d') != -1) {
youtmel=youtmel.replace(thisfld.replace(/\%2d/g,'-'), thisfld);
}
//thisfld=thisfld.split('-')[0];
repl=repl.split('}')[eval(-1 + repl.split('}').length)];
repl=repl.split('-')[eval(-1 + repl.split('-').length)];
//alert('thisfld=' + thisfld + ' and repl=' + repl);
//alert('repl=' + repl + ',' + degfixes[eval(-1 + ihj)] + ', replaced by ' + thisfld.split('{')[0].replace(/\-/g,'%2d').split('-')[0] + ' via ' + degfixes[ihj]);
degihj=degfixes[ihj].split('}')[eval(-1 + degfixes[ihj].split('}').length)];
degihj=degfixes[ihj].split('-')[eval(-1 + degfixes[ihj].split('-').length)];
if ((degfixes[ihj] + ' ').toUpperCase().substring(0,1) >= 'A' && (degfixes[ihj] + ' ').toUpperCase().substring(0,1) <= 'Z') {
//alert(' change ' + degfixes[itstart] + ',' + degfixes[eval(-1 + ihj)] + ',' + degfixes[ihj].split('{')[0].replace(/\-/g,'%2d').split('-')[0] + ' in ' + outmel);
youtmel=youtmel.replace(repl + ',' + degfixes[eval(-1 + ihj)] + ',' + thisfld.split('{')[0].split('-')[0], thisfld.split('{')[0].replace(/\-/g,'%2d').split('-')[0] + '|' + repl.replace('-','_') + '|' + degfixes[eval(-1 + ihj)].replace('-','_'))
} else {
youtmel=youtmel.replace(repl + ',' + degfixes[eval(-1 + ihj)], '||' + repl.replace('-','_') + '|' + thisfld.replace('-','_'))
}
//if (wasmel == youtmel) {
//alert('Oops change ' + repl + ',' + degfixes[eval(-1 + ihj)] + ',' + degfixes[ihj].split('{')[0].replace(/\-/g,'%2d').split('-')[0] + ' IN ' + youtmel);
//} else {
//alert('youtmel=' + youtmel + ' via ' + thisfld.split('{')[0].replace(/\-/g,'%2d').split('-')[0] + '|' + repl.replace('-','_') + '|' + degfixes[eval(-1 + ihj)].replace('-','_'));
//}
repl='';
atstart=0;
itstart=-1;
if (degihj.trim() != '') {
degihj=degihj.split('}')[eval(-1 + degihj.split('}').length)];
//alert(degihj);
if (degihj.indexOf('{') == -1 && degihj.indexOf('[') == -1 && degihj.indexOf('}') == -1 && degihj.indexOf(']') == -1) {
if (degihj.slice(-1) >= '0' && degihj.slice(-1) <= '9') {
itstart=ihj;
atstart++;
repl=degihj;
//alert('Found ' + degihj);
} else {
degihj='';
}
} else {
degihj='';
}
} else {
degihj='';
}
}
}
if (youtmel != outmel) { outmel=youtmel; }
//alert(outmel);
}


}

//if (outmel.trim() != '') { alert(pref + outmel + suff); }
return pref + outmel + suff;
}


function retyour(propis) {
if (!realtz) {
return eventualyourtzlist;
}
return yourtzlist;
}

function yourtzlistindexOf(proposedplace) {
if (yourtzlist.indexOf(proposedplace) != -1) {
realtz=true;
var xproposedplace=proposedplace.replace('/','').replace('<','');
var idx=yourtzlist.toUpperCase().indexOf('/' + xproposedplace.toUpperCase() + '<');
if (idx != -1) {
var idxtwo=eval(eval('' + yourtzlist.substring(eval(-30 + idx)).toUpperCase().indexOf('>')) + idx - 29);
if (bigback.indexOf(xproposedplace + ':') == -1 && bigback.indexOf(xproposedplace.replace(/\ /g,'_') + ':') == -1 && nextwiftwo.indexOf(encodeURIComponent(xproposedplace)) == -1) {
if (wiftwoavailable) {
wiftwoavailable=false;
//alert('3:' + '/PHP/fgc/index.php?tzexact=' + encodeURIComponent(yourtzlist.substring(idxtwo).split('<')[0]) + '&tznickname=' + encodeURIComponent(xproposedplace.replace(/\ /g,'_')));
document.getElementById('wiftwo').src='/PHP/fgc/index.php?tzexact=' + encodeURIComponent(yourtzlist.substring(idxtwo).split('<')[0]) + '&tznickname=' + encodeURIComponent(xproposedplace.replace(/\ /g,'_'));
//alert(document.getElementById('wiftwo').src);
} else {
nextwiftwo+='/PHP/fgc/index.php?tzexact=' + encodeURIComponent(yourtzlist.substring(idxtwo).split('<')[0]) + '&tznickname=' + encodeURIComponent(xproposedplace.replace(/\ /g,'_')) + '#';
}
}
}
return yourtzlist.indexOf(proposedplace);
} else if (eventualyourtzlist.indexOf(proposedplace) != -1) {
realtz=false;
return eventualyourtzlist.indexOf(proposedplace);
} else {
realtz=true;
}
return yourtzlist.indexOf(proposedplace);
}

function plotalert(inanno) {
if (inanno.trim() != '') {
var arrp=plotanno.indexOf(inanno);
if (arrp >= 0) {
var defplace=plotplace[arrp].replace(/\ /g,'_').split(',_')[0];
var ddef='' + defplace + '{' + inanno + '}';
var makechanges=prompt('Change as needed.' + String.fromCharCode(10) + String.fromCharCode(10) + ddef, ddef);
if (makechanges == null) { makechanges=''; }
if (makechanges.trim() != '' && makechanges != ddef) {
if (makechanges.indexOf('{') != -1) {
plotanno[arrp]=makechanges.split('{')[1].split('}')[0];
plotplace[arrp]=plotplace[arrp].replace(defplace.replace(/\_/g,' '), makechanges.split('{')[0]);
} else {
plotanno[arrp]='';
plotplace[arrp]=makechanges;
}
}
} else {
alert(inanno);
}
}
return null;
}

function legsalert(inanno, ddef) {
//alert(ddef);
if (ddef.trim() != '') {
ddef='' + ddef.replace(/\`/g, '"');
var arrp=legsanno.indexOf(ddef);
//alert('' + arrp + ' ' + ddef);
if (arrp >= 0) {
var makechanges=prompt(inanno, ddef);
if (makechanges == null) { makechanges=''; }
if (makechanges != '' && makechanges != ddef) {
legsanno[arrp]=makechanges.trim();
}
} else {
alert(inanno);
}
}
return null;
}

function newhashit() {
var newh='#', legi=0, interim='', thedelim='';
if (document.getElementById('sdurl')) {
var washash='';
if (document.getElementById('sdurl').value.indexOf('#') != -1) {
washash='#' + document.getElementById('sdurl').value.split('#')[1];
}
for (var ii=0; ii<plotplace.length; ii++) {
thedelim='-';
//alert('cseplocans=' + cseplocans + ' and plotplace[ii]=' + plotplace[ii].split(', ')[0])
if (cseplocans.indexOf(',' + plotplace[ii].split(', ')[0]) != -1) {
thedelim=',';
}
//alert('argstuff=' + argstuff + ' and plotplace[ii]=' + plotplace[ii].split(', ')[0]);
//if (argstuff.indexOf(encodeURIComponent(',' + plotplace[ii].split(', ')[0].replace(/\ /g,'_'))) != -1) {
// thedelim=',';
//alert('Argstuff=' + argstuff + ' and plotplace[ii]=' + plotplace[ii].split(', ')[0]);
//}
if ((plotplace[ii] + ' ').toUpperCase().substring(0,1) >= 'A' && (plotplace[ii] + ' ').toUpperCase().substring(0,1) <= 'Z') {
if (newh == '#') {
if (plotanno[ii].trim() != '') {
newh+=encodeURIComponent(plotplace[ii].replace(/\ /g,'_').split(',_')[0] + '{' + plotanno[ii] + '}');
} else if (legc.indexOf(',' + eval(-1 + ii) + '.' + eval(0 + ii) + ',') != -1) {
legi=legs.indexOf('' + eval(-1 + ii) + '.' + eval(0 + ii) + '');
if (legi == -1) {
newh+=encodeURIComponent(thedelim) + encodeURIComponent(plotplace[ii].replace(/\ /g,'_').split(',_')[0]);
} else if (legsanno[legi].trim() != '') {
newh+=encodeURIComponent(thedelim + '{' + legsanno[legi] + '}') + encodeURIComponent(plotplace[ii].replace(/\ /g,'_').split(',_')[0]);
} else {
newh+=encodeURIComponent(thedelim) + encodeURIComponent(plotplace[ii].replace(/\ /g,'_').split(',_')[0]);
}
} else {
newh+=encodeURIComponent(',') + encodeURIComponent(plotplace[ii].replace(/\ /g,'_').split(',_')[0]);
}
} else if (plotplace[ii].trim() != '') {
interim=encodeURIComponent(plotplace[ii].replace(/\ /g,'_').split(',_')[0]);
if (plotanno[ii].trim() != '') {
interim=encodeURIComponent(plotplace[ii].replace(/\ /g,'_').split(',_')[0] + '{' + plotanno[ii] + '}');
}
if (legc.indexOf(',' + eval(-1 + ii) + '.' + eval(0 + ii) + ',') != -1) {
legi=legs.indexOf('' + eval(-1 + ii) + '.' + eval(0 + ii) + '');
if (legi == -1) {
newh+=encodeURIComponent(thedelim) + interim;
} else if (legsanno[legi].trim() != '') {
newh+=encodeURIComponent(thedelim + '{' + legsanno[legi] + '}') + interim;
} else {
newh+=encodeURIComponent(thedelim) + interim;
}
} else {
newh+=encodeURIComponent(',') + interim;
}
}
}
}
//alert(argstuff + ' and isotwo=' + isotwo);
var its=isotwo.split(',');
// ?nontz=Chiang_Mai%7C98.99861%7C18.79528%7CMM and isotwo=Chiang MaiTH
for (var jits=0; jits<its.length; jits++) {
if (eval('' + its[jits].length) > 2) {
if (argstuff.indexOf(its[jits].substring(0, eval(-2 + its[jits].length)).replace(/\ /g,'_') + '%7C') != -1) {
//alert('found ' + its[jits].substring(0, eval(-2 + its[jits].length)));
var thingos=argstuff.split(its[jits].substring(0, eval(-2 + its[jits].length)).replace(/\ /g,'_') + '%7C')[1].split(',')[0].split('%7C');
//alert(thingos[eval(-1 + thingos.length)].toUpperCase() + ' versus ' + its[jits].slice(-2));
//alert(thingos[eval(-1 + thingos.length)].toUpperCase() + ' vs ' + its[jits].slice(-2));
if (thingos[eval(-1 + thingos.length)].toUpperCase() != its[jits].slice(-2)) {
argstuff=argstuff.replace(thingos[eval(-3 + thingos.length)] + '%7C' + thingos[eval(-2 + thingos.length)] + '%7C' + thingos[eval(-1 + thingos.length)], thingos[eval(-3 + thingos.length)] + '%7C' + thingos[eval(-2 + thingos.length)] + '%7C' + its[jits].slice(-2));
}
if (1 == 6) {
for (var ijk=0; ijk<iso_country_codes.length; ijk+=2) {
if (iso_country_codes[ijk].toUpperCase() == its[jits].slice(-2)) {
argstuff=argstuff.replace(its[jits].substring(0, eval(-2 + its[jits].length)).replace(/\ /g,'_') + '%7C', its[jits].substring(0, eval(-2 + its[jits].length)).replace(/\ /g,'_') + encodeURIComponent(', ' + iso_country_codes[ijk]) + '%7C');
}
}
}
//alert(argstuff + ' aNd isotwo=' + isotwo);
}
}
}
var ssargstuff=argstuff;
if (prefixingstuff.trim() != '') {
if (ssargstuff == '') {
ssargstuff='?nontz=' + encodeURIComponent(nomc(prefixingstuff));
} else if (ssargstuff.indexOf('nontz=') != -1 && ssargstuff.indexOf(encodeURIComponent(nomc(prefixingstuff))) == -1) {
ssargstuff=ssargstuff.replace('nontz=', 'nontz=' + encodeURIComponent(nomc(prefixingstuff)));
}
} else if (5 == 7) {
if (dstylestuff.trim() != '') {
if (ssargstuff == '') {
ssargstuff='?nontz=' + encodeURIComponent(dstylestuff);
} else if (ssargstuff.indexOf('nontz=') != -1) {
ssargstuff=ssargstuff.replace('nontz=', 'nontz=' + encodeURIComponent(nomc(dstylestuff)));
}
}
if (dscriptstuff.trim() != '') {
if (ssargstuff == '') {
ssargstuff='?nontz=' + encodeURIComponent(dscriptstuff);
} else if (ssargstuff.indexOf('nontz=') != -1) {
ssargstuff=ssargstuff.replace('nontz=', 'nontz=' + encodeURIComponent(nomc(dscriptstuff)));
}
}
//alert('ssargstuff = ' + ssargstuff);
}
gnewh=newh;
//alert('before:' + document.getElementById('sdurl').value);
if (newh != lasthcalc && newh != '#' && newh != washash) {
//alert('using ssargstuff=' + ssargstuff);
document.getElementById('sdurl').value=(document.getElementById('sdurl').value.split('#')[0].split('?')[0] + thecssarg + ((argstuff + '#') == '#' ? argstuff + '#' : '#' + argstuff.substring(1) + '&') + newh.substring(1).replace(/^\%2C/g,'')).replace('&#', '&');
lasthcalc=newh;
} else if (document.getElementById('sdurl').value.indexOf('?') == -1 && argstuff.indexOf('?') == 0) {
//alert('Using ssargstuff=' + ssargstuff);
document.getElementById('sdurl').value=(document.getElementById('sdurl').value.split('#')[0].split('?')[0] + thecssarg + ((argstuff + '#') == '#' ? argstuff + '#' : '#' + argstuff.substring(1) + '&') + ('#' + newh.substring(1).replace(/^\%2C/g,'')).replace(/^\#$/g, '')).replace('&#', '&');
if (newh.replace('#','') != '') { lasthcalc=newh; }
}
}
if (prefixingstuff != '' && argstuff.indexOf('nontz=') != -1) {
if (argstuff.indexOf(encodeURIComponent(prefixingstuff)) == -1) {
argstuff=argstuff.replace('nontz=', 'nontz=' + encodeURIComponent(prefixingstuff));
}
}
//alert('thecssarg=' + thecssarg + ' and argstuff=' + argstuff + ' and after:' + document.getElementById('sdurl').value);
}

function myFunction(opening) {
if (opening) {
document.body.style.backgroundColor='lightgreen';
if (!playing && restart) {
//document.title='Restarting video play at ' + document.URL + ' at ' + ('' + new Date()) + '.';
if (firstopn && eval('' + plotplace.length) > 0) {
if (plotplace[eval(-1 + plotplace.length)].trim() != '') {
lastdtplace='' + plotplace[eval(-1 + plotplace.length)];
document.title='' + plotplace[eval(-1 + plotplace.length)] + ' ... ';
}
}
movesallowed=gmovesallowed; five=gfive; //document.getElementById('main-video').play();
playing=true;
} else {
//alert('2:' + document.title);
movesallowed=gmovesallowed; five=gfive; //document.getElementById('main-video').play();
document.title=(document.title + ' ... ').split(' ... ')[0] + ' ... ' + 'Welcome back to Earth Scanner at ' + ('' + new Date()) + '.';
}
restart=false;
} else {
document.body.style.backgroundColor='yellow';
if (playing) {
movesallowed=false; five=0; // document.getElementById('main-video').pause();
playing=false;
restart=true;
document.title=(document.title + ' ... ').split(' ... ')[0] + ' ... ' + 'Paused Earth Scanner at ' + ('' + new Date()) + '.';
} else {
//alert('0:' + document.title);
movesallowed=false; five=0; // document.getElementById('main-video').pause();
document.title=(document.title + ' ... ').split(' ... ')[0] + ' ... ' + 'You left Earth Scanner at ' + ('' + new Date()) + '.';
}
}
//alert(0);
firstopn=false;
}

function myCloseFunction() {
if (document.visibilityState === "hidden") {
if (playing) {
movesallowed=false; five=0; // document.getElementById('main-video').pause();
playing=false;
restart=true;
document.title=(document.title + ' ... ').split(' ... ')[0] + ' ... ' + 'Paused Earth Scanner at ' + ('' + new Date()) + '.';
} else {
//alert('1:' + document.title);
movesallowed=false; five=0; // document.getElementById('main-video').pause();
document.title=(document.title + ' ... ').split(' ... ')[0] + ' ... ' + 'You Left Earth Scanner at ' + ('' + new Date()) + '.';
}
document.body.style.backgroundColor='yellow';
} else {
myFunction(true);
}
}

function orflag(thiscc) {
var ccchar='', ccsuff='';
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'];
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))] + ';';
}
return ccsuff;
}

function clockit(hoursoffgmt) {
// 1 o'clock is 🕐
// 2 o'clock is 🕑
// 12 o'clock is 🕛
// 2:30 is 🕝
// 11:30 is 🕦
// 12:30 is 🕧
var along='Saturday,Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday';
var gmtdatetimeis='' + new Date().toUTCString();
var daybit='';
var ampm=' am';
if (gmtdatetimeis.indexOf('day') != -1) {
ampm+=', ' + gmtdatetimeis.split('day')[0].split(' ')[eval(-1 + gmtdatetimeis.split('day')[0].split(' ').length)] + 'day';
} else if (gmtdatetimeis.indexOf(',') != -1) {
ampm+=', ' + (gmtdatetimeis.split(',')[0].split(' ')[eval(-1 + gmtdatetimeis.split(',')[0].split(' ').length)] + '').replace(/^Sat$/g,'Saturday').replace(/^Sun$/g,'Sunday').replace(/^Mon$/g,'Monday').replace(/^Tue$/g,'Tuesday').replace(/^Wed$/g,'Wednesday').replace(/^Thu$/g,'Thursday').replace(/^Fri$/g,'Friday');
}
if (ampm.length > 3) { daybit=ampm.substring(5); }
var minis=eval('' + gmtdatetimeis.split(':')[1]);
var hris=eval(('' + gmtdatetimeis.split(':')[0]).split(' ')[eval(-1 + ('' + gmtdatetimeis.split(':')[0]).split(' ').length)]);
if (('' + hoursoffgmt).indexOf('-') != -1 && eval(eval('' + hoursoffgmt.replace('+','')) + hris) < 0.0) {
ampm=ampm.replace('am', 'pm');
if (daybit != '') { ampm=ampm.replace(daybit, along.split(',' + daybit)[0].split(',')[eval(-1 + along.split(',' + daybit)[0].split(',').length)]); }
} else if (('' + hoursoffgmt).indexOf('-') == -1 && eval(eval('' + hoursoffgmt.replace('+','')) + hris) >= 24) {
if (daybit != '') { ampm=ampm.replace(daybit, along.split(daybit + ',')[1].split(',')[0]); }
} else if (('' + hoursoffgmt).indexOf('-') == -1 && eval(eval('' + hoursoffgmt.replace('+','')) + hris) >= 12) {
ampm=ampm.replace('am', 'pm');
}
hris+=eval(eval(24 + eval('' + hoursoffgmt.replace('+','').split('.')[0])) % 24);
if (('' + hoursoffgmt.replace('+','')).indexOf('.5') != -1) {
if (('' + hoursoffgmt.replace('+','')).indexOf('-') != -1 && minis >= 30) {
minis-=30;
} else if (('' + hoursoffgmt.replace('+','')).indexOf('-') != -1) {
hris--;
if (hris < 24) { hris=23; ampm=ampm.replace('am', 'pm'); if (daybit != '') { ampm=ampm.replace(daybit, along.split(',' + daybit)[0].split(',')[eval(-1 + along.split(',' + daybit)[0].split(',').length)]); } }
minis+=30;
} else if (('' + hoursoffgmt.replace('+','')).indexOf('-') == -1 && minis < 30) {
minis+=30;
} else if (('' + hoursoffgmt.replace('+','')).indexOf('-') != -1) {
hris++;
if (hris > 24) { hris=24; ampm=ampm.replace('pm', 'am'); if (daybit != '') { ampm=ampm.replace(daybit, along.split(daybit + ',')[1].split(',')[0]); } }
minis-=30;
}
} else if (('' + hoursoffgmt.replace('+','')).indexOf('.25') != -1) {
if (('' + hoursoffgmt.replace('+','')).indexOf('-') != -1 && minis >= 15) {
minis-=15;
} else if (('' + hoursoffgmt.replace('+','')).indexOf('-') != -1) {
hris--;
if (hris < 24) { hris=23; ampm=ampm.replace('am', 'pm'); if (daybit != '') { ampm=ampm.replace(daybit, along.split(',' + daybit)[0].split(',')[eval(-1 + along.split(',' + daybit)[0].split(',').length)]); } }
minis+=15;
} else if (('' + hoursoffgmt.replace('+','')).indexOf('-') == -1 && minis < 45) {
minis+=15;
} else if (('' + hoursoffgmt.replace('+','')).indexOf('-') != -1) {
hris++;
if (hris > 24) { hris=24; ampm=ampm.replace('pm', 'am'); if (daybit != '') { ampm=ampm.replace(daybit, along.split(daybit + ',')[1].split(',')[0]); } }
minis-=15;
}
} else if (('' + hoursoffgmt.replace('+','')).indexOf('.75') != -1) {
if (('' + hoursoffgmt.replace('+','')).indexOf('-') != -1 && minis >= 45) {
minis-=45;
} else if (('' + hoursoffgmt.replace('+','')).indexOf('-') != -1) {
hris--;
if (hris < 24) { hris=23; ampm=ampm.replace('am', 'pm'); if (daybit != '') { ampm=ampm.replace(daybit, along.split(',' + daybit)[0].split(',')[eval(-1 + along.split(',' + daybit)[0].split(',').length)]); } }
minis+=45;
} else if (('' + hoursoffgmt.replace('+','')).indexOf('-') == -1 && minis < 15) {
minis+=45;
} else if (('' + hoursoffgmt.replace('+','')).indexOf('-') != -1) {
hris++;
if (hris > 24) { hris=24; ampm=ampm.replace('pm', 'am'); if (daybit != '') { ampm=ampm.replace(daybit, along.split(daybit + ',')[1].split(',')[0]); } }
minis-=45;
}
}
//alert('' + hoursoffgmt + ' ' + hris + ' ' + minis + ' ' + gmtdatetimeis);

if (minis > 45 && eval(hris % 12) == 0) {
return ' ' + String.fromCodePoint(128336) + ampm;
} else if (eval(hris % 12) == 0 && minis <= 15) {
return ' ' + String.fromCodePoint(128347) + ampm;
} else if (eval(hris % 12) == 0) {
return ' ' + String.fromCodePoint(128359) + ampm;
} else if (minis >= 45) {
return ' ' + String.fromCodePoint(eval(eval(hris % 12) + 128336)) + ampm;
} else if (minis <= 15) {
return ' ' + String.fromCodePoint(eval(eval(hris % 12) + 128335)) + ampm;
} else {
return ' ' + String.fromCodePoint(eval(eval(hris % 12) + 128347)) + ampm;
}
return '';
}


function retnearest(tolong, tolat) {
//alert(1);
var diff, date0, date1, utcDate, tzDate, udate, utzdate;
//alert(0);
gmtemj='|' + clockit('0');
var datetime_str='';
var sofardist=-12, ntolong=tolong, ntolat=tolat, thisfardist=0, extratz='', extratztime='', extraemj=''; // thisplace='', thiscc='', thiscn=''
var iplacesarr=yourtzlist.split(' data-geo="');
for (var jk=1; jk<iplacesarr.length; jk++) {
thisfardist=eval(Math.abs(tolong - eval(iplacesarr[jk].split(',')[1])) * Math.abs(tolong - eval(iplacesarr[jk].split(',')[1])) + Math.abs(tolat - eval(iplacesarr[jk].split(',')[0])) * Math.abs(tolat - eval(iplacesarr[jk].split(',')[0])));
if (sofardist < 0) {
sofardist=thisfardist;
ntolong=eval('' + iplacesarr[jk].split(',')[1]);
ntolat=eval('' + iplacesarr[jk].split(',')[0]);
thiscc=iplacesarr[jk].split(',')[3];
thisplace=iplacesarr[jk].split('>')[1].split('<')[0];
extratz=',' + thisplace; //.split('/')[eval(-1 + iplacesarr[jk].split('>')[1].split('<')[0].replace('GMT','Europe/London').split('/').length)].replace(/\_/g,' ');
date0=new Date().toLocaleString("en-US", { timeZone: thisplace.replace('GMT','UTC') });
extratztime=('|' + date0);
gmttztime=extratztime;
udate=new Date();
utcDate = new Date(udate.toLocaleString('en-US', { timeZone: 'UTC' }));
thisplace=iplacesarr[jk].split('>')[1].split('<')[0].replace('GMT','Europe/London').split('/')[eval(-1 + iplacesarr[jk].split('>')[1].split('<')[0].replace('GMT','Europe/London').split('/').length)].replace(/\_/g,' ');
//alert(0);
gmtemj='|' + clockit('0');
//alert(gmtemj);
} else if (thisfardist < sofardist) {
sofardist=thisfardist;
ntolong=eval('' + iplacesarr[jk].split(',')[1]);
ntolat=eval('' + iplacesarr[jk].split(',')[0]);
thiscc=iplacesarr[jk].split(',')[3];
thisplace=iplacesarr[jk].split('>')[1].split('<')[0];
utzdate=new Date();
tzDate = new Date(utzdate.toLocaleString('en-US', { timeZone: thisplace.replace('GMT','UTC') }));
extratz='|' + thisplace; //.split('/')[eval(-1 + iplacesarr[jk].split('>')[1].split('<')[0].replace('GMT','Europe/London').split('/').length)].replace(/\_/g,' ');
date1=new Date().toLocaleString("en-US", { timeZone: thisplace.replace('GMT','UTC') });
extratztime=('|' + date1);
thisplace=thisplace.replace('GMT','Europe/London').split('/')[eval(-1 + iplacesarr[jk].split('>')[1].split('<')[0].replace('GMT','Europe/London').split('/').length)].replace(/\_/g,' ');
diff = Math.abs(tzDate.getTime() - utcDate.getTime()) / 3600000;
if (diff > 0 && (eval('' + utcDate.getDay()) == 0 && eval('' + tzDate.getDay()) == 6 || eval('' + utcDate.getDay()) > eval('' + tzDate.getDay()))) {
diff=-diff;
}
extraemj='|' + clockit('' + diff);
}
}
if (thiscc != '') {
if (thefirst) {
thefirst=false;
//document.title='' + diff + ' ... ' + extratztime + extraemj + ' ... ' + diff;
//if (diff > 0 && tzDate > utcDate) {
//alert('not okay: ' + tzDate + tzDate.getDay() + ' - ' + utcDate + utcDate.getDay());
//} else {
//alert('okay: ' + tzDate + tzDate.getDay() + ' - ' + utcDate + utcDate.getDay());
//}
}
for (var ijk=0; ijk<iso_country_codes.length; ijk+=2) {
if (iso_country_codes[ijk].toUpperCase() == thiscc) {
thisplace+=', ' + iso_country_codes[eval(1 + ijk)];
}
}
}
//alert('' + ntolong + '|' + ntolat + '|' + thiscc + '|' + thisplace + extratz + extratztime + extraemj + gmttztime + gmtemj);
return '' + ntolong + '|' + ntolat + '|' + thiscc + '|' + thisplace + extratz + extratztime + extraemj + gmttztime + gmtemj;
}


function checkll(smlong, lglat, lglong, smlat) {
setTimeout(function(){ prevf='' + smlong + ',' + lglat + ',' + lglong + ',' + smlat; }, fivethousand);
for (var am=-180; am<=180; am+=10) {
if (am >= smlong && am <= lglong) {
if (eval((am + 180) % 180) == 0) {
bmeridian+='<span onclick="event.stopPropagation(); if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) { alert(this.title); }" title="At prompt window, prefixing, and persevering, CSS map image styling available (and able to be turned off via nocssplease and special decimal entity number parts for emojis eg. pin:128204; (versus ' + String.fromCodePoint(128205) + ') compass:127993; (versus ' + String.fromCodePoint(129517) + ') eg. filter:sepia(74%); Or you can specify <st' + 'yle></st' + 'yle> non-persevering or <st' + 'yle></ST' + 'YLE> persevering CSS of your own (or use a URL ending with .css (or persevering .CSS)) to begin with and/or <sc' + 'ript></sc' + 'ript> non-persevering or <sc' + 'ript></SC' + 'RIPT> persevering Javascript of your own (or use a URL ending with .js (or persevering .JS)) to begin with" style="z-index:675;position:' + posval + ';left:' + eval(eval(am - smlong) / eval(lglong - smlong) * eval(screenwidth)) + 'px;top:90px;">  ' + (('' + am).replace('-','') + (('' + am).substring(0,1) == '-' ? 'W' : 'E')).replace(/^0E$/g,' Greenwich<br> Meridian').replace(/^180E/g,'  International<br>  Date<br>  Line').replace(/^180W/g,'International<br> Date<br> Line').replace('E','°E').replace('W','°W') + '</span><hr class=mydm title="Meridian ' + am + '" style="z-index:675;position:' + posval + ';left:' + eval(eval(am - smlong) / eval(lglong - smlong) * eval(screenwidth)) + 'px;top:0px;height:' + screenheight + 'px;width:1px;background-color:rgba(255,0,0,0.5);"></hr>';
} else {
bmeridian+='<span onclick="event.stopPropagation(); if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) { alert(this.title); }" title="At prompt window, prefixing, and persevering, CSS map image styling available (and able to be turned off via nocssplease and special decimal entity number parts for emojis eg. pin:128204; (versus ' + String.fromCodePoint(128205) + ') compass:127993; (versus ' + String.fromCodePoint(129517) + ') eg. filter:sepia(74%); Or you can specify <st' + 'yle></st' + 'yle> non-persevering or <st' + 'yle></ST' + 'YLE> persevering CSS of your own (or use a URL ending with .css (or persevering .CSS)) to begin with and/or <sc' + 'ript></sc' + 'ript> non-persevering or <sc' + 'ript></SC' + 'RIPT> persevering Javascript of your own (or use a URL ending with .js (or persevering .JS)) to begin with" style="z-index:675;position:' + posval + ';left:' + eval(eval(am - smlong) / eval(lglong - smlong) * eval(screenwidth)) + 'px;top:90px;">  ' + (('' + am).replace('-','') + (('' + am).substring(0,1) == '-' ? 'W' : 'E')).replace(/^0E$/g,' Greenwich<br> Meridian').replace(/^180E/g,'  International<br>  Date<br>  Line').replace(/^180W/g,'International<br> Date<br> Line').replace('E','°E').replace('W','°W') + '</span><hr class=mydm title="Meridian ' + am + '" style="z-index:675;position:' + posval + ';left:' + eval(eval(am - smlong) / eval(lglong - smlong) * eval(screenwidth)) + 'px;top:0px;height:' + screenheight + 'px;width:1px;background-color:rgba(0,0,255,0.5);"></hr>';
}
}
}
}

function bmeranalyze(whatb) {
if (whatb.indexOf('<div id="') != -1 && bmeridian.indexOf('<div id="') != -1) {
var whatid=whatb.split('<div id="')[1].split('"')[0];
var bids=bmeridian.split('<div id="' + whatid + '"');
if (eval('' + bids.length) > 1) {
var underthis=bids[1].split('</div>')[0];
var plonkthis=whatb.split('<div id="' + whatid + '"')[1].split('</div>')[0];
bmeridian=bmeridian.replace(underthis, underthis + plonkthis.replace(plonkthis.split('>')[0] + '>', ''));
return bmeridian;
}
}
bmeridian+=whatb;
return bmeridian;
}

function panno(bec, idx) {
if (plotanno[idx] != bec.replace(/\`/g, '"')) {
plotanno[idx]=bec.replace(/\`/g, '"').replace(/\{/g, '[').replace(/\}/g, ']');
newhashit();
//alert(plotanno[idx]);
}
}

function lganno(bec, idx) {
if (legsanno[idx] != bec.replace(/\`/g, '"')) {
legsanno[idx]=bec.replace(/\`/g, '"').replace(/\{/g, '[').replace(/\}/g, ']');
newhashit();
//alert(legsanno[idx]);
}
}

function doplotplace(ipl, maybeg) {
var jpl=0, detbegin='', detend='', nearend='', textras='', legend='', prelegend='', ileg=0;
var thisclock='', nonclock='', aclocl='', thatplace='', utzdate=null, tzDate=null, xdiff=0, xdate1=null;
if (!reveal) {
detbegin='<details onclick="reveal=!reveal;"><summary></summary>';
detend='</details>';
} else {
detbegin='<details open onclick="reveal=!reveal;"><summary>';
detend='</summary></details>';
}
if (plotcc[ipl].trim() && plottz[ipl].trim() != '') { // && plotplace[ipl].indexOf(':') == -1) {
//alert(plotplace[ipl]);
//alert(plotct[ipl]);
//alert(plotemj[ipl]);
if (maybeg == 'g') {
for (ileg=kleg; ileg<legs.length; ileg++) {
if (('~' + legs[ileg] + '~').indexOf('~' + ipl + '.') != -1) {
jpl=eval(('~' + legs[ileg] + '~').split('~' + ipl + '.')[1].split('~')[0]);
if (pleasenolist.indexOf('|' + plotplace[ipl].split(', ')[0].split(',_')[0] + '|') == -1 && pleasenolist.indexOf('|' + ipl + '|') == -1) {
legend+='<details onclick="event.stopPropagation();" title="Annotations for Leg from ' + plotplace[ipl].replace(/\_/g,' ') + ' ' + orflag(plotcc[ipl]) + ' to ' + plotplace[jpl].replace(/\_/g,' ') + ' ' + orflag(plotcc[jpl]) + ' ..."><summary class=lanno> --> ' + plotplace[jpl].replace(/\_/g,' ') + ' ' + orflag(plotcc[jpl]) + '</summary><textarea class=txleg onclick="event.stopPropagation();" rows=9 cols=40 onblur="lganno(this.value,' + ileg + ');">' + legsanno[ileg].replace(/\"/g,'`') + '</textarea></details>';
}
}
if (('~' + legs[ileg] + '~').indexOf('.' + ipl + '~') != -1) {
jpl=eval(('~' + legs[ileg] + '~').split('.' + ipl + '~')[0].split('~')[1]);
if (pleasenolist.indexOf('|' + plotplace[jpl].split(', ')[0].split(',_')[0] + '|') == -1 && pleasenolist.indexOf('|' + jpl + '|') == -1) {
prelegend+='<details onclick="event.stopPropagation();" title="Annotations for Leg from ' + plotplace[jpl].replace(/\_/g,' ') + ' ' + orflag(plotcc[jpl]) + ' to ' + plotplace[ipl].replace(/\_/g,' ') + ' ' + orflag(plotcc[ipl]) + ' ..."><summary class=lanno>' + plotplace[jpl].replace(/\_/g,' ') + ' ' + orflag(plotcc[jpl]) + ' --></summary><textarea class=txleg onclick="event.stopPropagation();" rows=9 cols=40 onblur="lganno(this.value,' + ileg + ');">' + legsanno[ileg].replace(/\"/g,'`') + '</textarea></details>';
}
}
}
if (bmeridian.indexOf(' id="div' + plotlong[ipl] + plotlat[ipl] + '"') != -1) {
textras=bmeridian.split(' id="div' + plotlong[ipl] + plotlat[ipl] + '"')[1].split('>')[0].replace(/\"$/g, String.fromCharCode(10) + plotanno[ipl].replace(/\"/g,'`') + '"');
} else {
textras=' title="' + plotanno[ipl].replace(/\"/g,'`') + '"';
}
nearend='<div id="div' + plotlong[ipl] + plotlat[ipl] + '"' + textras + '>' + prelegend + '<details onclick="event.stopPropagation();" title="Annotations for ' + plotplace[ipl].replace(/\_/g,' ') + ' ' + orflag(plotcc[ipl]) + ' ..."><summary class=panno>🖋</summary><textarea class=txplc onclick="event.stopPropagation();" rows=9 cols=40 onblur="panno(this.value,' + ipl + ');">' + plotanno[ipl].replace(/\"/g,'`') + '</textarea></details>' + legend + '</div>';
thatplace=plottz[ipl];
utzdate=new Date();
tzDate = new Date(utzdate.toLocaleString('en-US', { timeZone: thatplace.replace('GMT','UTC').replace(/\ /g,'_') }));
xdiff = Math.abs(tzDate.getTime() - gutcDate.getTime()) / 3600000;
xdate1=new Date().toLocaleString("en-US", { timeZone: thatplace.replace('GMT','UTC').replace(/\ /g,'_') });
if (xdiff > 0 && (eval('' + utzdate.getDay()) == 0 && eval('' + tzDate.getDay()) == 6 || eval('' + utzdate.getDay()) > eval('' + tzDate.getDay()))) {
xdiff=-xdiff;
}
xextraemj=',' + clockit('' + xdiff);
plotct[ipl]=('' + xdate1);
plotemj[ipl]=(clockit('' + xdiff));
}
if (plotemj[ipl].indexOf('pm') != -1) {
aclock=plotemj[ipl].split('pm')[0];
nonclock=plotemj[ipl].split(aclock)[1];
thisclock='<span class=pm>' + aclock + '</span>';
return plotplace[ipl] + ' ' + orflag(plotcc[ipl]) + detbegin + '<br>' + plotct[ipl] + '<br>' + thisclock + nonclock + nearend + detend;
}
return plotplace[ipl] + ' ' + orflag(plotcc[ipl]) + detbegin + '<br>' + plotct[ipl] + '<br>' + plotemj[ipl] + nearend + detend;
}
return plotplace[ipl];
}

function great_circle_bearing(talis, gnolis, latis, longis) {
// Let ‘R’ be the radius of Earth,
// ‘L’ be the longitude,
// ‘θ’ be latitude,
// ‘β‘ be Bearing.

// Bearing from point A to B, can be calculated as,
// β = atan2(X,Y),
// where, X and Y are two quantities and can be calculated as:
// X = cos θb * sin ∆L
// Y = cos θa * sin θb – sin θa * cos θb * cos ∆L

var ourbrg=eval(eval(360.0 + eval(eval(eval(180.0 / Math.PI) * Math.atan2(
eval(eval('' + Math.cos(eval(Math.PI / 180.0) * eval('' + latis))) *
eval('' + Math.sin(eval(Math.PI / 180.0) * eval(eval('' + longis) - eval('' + gnolis))))),
eval(eval('' + Math.cos(eval(Math.PI / 180.0) * eval('' + talis))) *
eval('' + Math.sin(eval(Math.PI / 180.0) * eval('' + latis)))) -
eval(eval('' + Math.sin(eval(Math.PI / 180.0) * eval('' + talis))) *
eval('' + Math.cos(eval(Math.PI / 180.0) * eval('' + latis))) *
eval('' + Math.cos(eval(Math.PI / 180.0) * eval(eval('' + longis) - eval('' + gnolis)))))
)))) % 360.0);

return '' + ourbrg;
}

function great_circle_distance(talis, gnolis, latis, longis) {
var ourdist=0.0;
var rgnol=eval((gnolis) * Math.PI / 180.0);
var rtal=eval((talis) * Math.PI / 180.0);
var rlong=eval((longis) * Math.PI / 180.0);
var rlat=eval((latis) * Math.PI / 180.0);
var deltalong = Math.abs(eval(((gnolis)-(longis)) * Math.PI / 180.0));
var acof = eval(Math.sin(rtal) * Math.sin(rlat)) + (Math.cos(rtal) * Math.cos(rlat) * Math.cos(deltalong)); // via //en.wikipedia.org/wiki/Great-circle_distance ... thanks
ourdist = eval(Math.round((Math.acos(acof) * 6371000.0) + 0.00001) * 100) / 100;
return '' + ourdist;
}


function plotleg(thisleg, smlong, lglat, lglong, smlat) {
var brgtoset=0.0, disttoset=0.0, gbrgtoset=0.0, gdisttoset=0.0, legi=-1, plusbit='', clabit='', isok=true;
legi=legs.indexOf(thisleg);
var ij=eval('' + plotplace.length);
if (('' + thisleg).indexOf('.') != -1) {
if (ij <= eval('' + ('' + thisleg).split('.')[0])) { if (legi >= 0) { kleg=eval(1 + legi); } isok=false; }
if (ij <= eval('' + ('' + thisleg).split('.')[1])) { if (legi >= 0) { kleg=eval(1 + legi); } isok=false; }
}
if (isok && ('' + thisleg).indexOf('.') != -1 && pleasenolist.indexOf('|' + plotplace[eval('' + (thisleg + '.0').replace(/^\./g,'0.').split('.')[0])].split(', ')[0].split(',_')[0] + '|') == -1 && pleasenolist.indexOf('|' + eval('' + (thisleg + '.0').replace(/^\./g,'0.').split('.')[0]) + '|') == -1) {
if (legi >= 0) {
plusbit=String.fromCharCode(10) + legsanno[legi].replace(/\"/g, '`');
if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) {
plusbit+=String.fromCharCode(10);
}
}
console.log('thisleg=' + thisleg + ' and plotplace.length=' + plotplace.length);
if (1 == 1) {
disttoset=Math.sqrt((eval(0 + eval(eval('' + plotlong[eval(thisleg.split('.')[0])]) - smlong) / eval(lglong - smlong) * eval(screenwidth)) - eval(0 + eval(eval('' + plotlong[eval(thisleg.split('.')[1])]) - smlong) / eval(lglong - smlong) * eval(screenwidth))) * (eval(0 + eval(eval('' + plotlong[eval(thisleg.split('.')[0])]) - smlong) / eval(lglong - smlong) * eval(screenwidth)) - eval(0 + eval(eval('' + plotlong[eval(thisleg.split('.')[1])]) - smlong) / eval(lglong - smlong) * eval(screenwidth))) + (eval(0 + eval(eval(lglat - eval('' + plotlat[eval(thisleg.split('.')[0])])) / eval(lglat - smlat) * eval(screenheight))) - eval(0 + eval(eval(lglat - eval('' + plotlat[eval(thisleg.split('.')[1])])) / eval(lglat - smlat) * eval(screenheight)))) * (eval(0 + eval(eval(lglat - eval('' + plotlat[eval(thisleg.split('.')[0])])) / eval(lglat - smlat) * eval(screenheight))) - eval(0 + eval(eval(lglat - eval('' + plotlat[eval(thisleg.split('.')[1])])) / eval(lglat - smlat) * eval(screenheight)))));
}
gdisttoset=great_circle_distance(plotlat[eval(thisleg.split('.')[0])], plotlong[eval(thisleg.split('.')[0])], plotlat[eval(thisleg.split('.')[1])], plotlong[eval(thisleg.split('.')[1])]);
var meanlong=eval(0 + eval(eval('' + plotlong[eval(thisleg.split('.')[0])]) - smlong) / eval(lglong - smlong) * eval(screenwidth));
var meanlat=eval(0 + eval(eval(lglat - eval('' + plotlat[eval(thisleg.split('.')[0])])) / eval(lglat - smlat) * eval(screenheight)));
gbrgtoset=great_circle_bearing(plotlat[eval(thisleg.split('.')[0])], plotlong[eval(thisleg.split('.')[0])], plotlat[eval(thisleg.split('.')[1])], plotlong[eval(thisleg.split('.')[1])]);
brgtoset=Math.atan2(eval(0 + eval(eval(lglat - eval('' + plotlat[eval(thisleg.split('.')[1])])) / eval(lglat - smlat) * eval(screenheight))) - meanlat, eval(0 + eval(eval('' + plotlong[eval(thisleg.split('.')[1])]) - smlong) / eval(lglong - smlong) * eval(screenwidth)) - meanlong) * 180 / Math.PI;
if (brgtoset <= 180.0) { clabit=' class=hrright '; } else { clabit=' class=hrleft '; }
meanlong+=eval(0 + eval(eval('' + plotlong[eval(thisleg.split('.')[1])]) - smlong) / eval(lglong - smlong) * eval(screenwidth))
meanlong/=2.0;
meanlat+=eval(0 + eval(eval(lglat - eval('' + plotlat[eval(thisleg.split('.')[1])])) / eval(lglat - smlat) * eval(screenheight)));
meanlat/=2.0;
console.log(thisleg + ' ' + brgtoset + ' ' + thisleg + ' ... ' + plotlat[eval(thisleg.split('.')[0])] + ',' + plotlong[eval(thisleg.split('.')[0])] + ' to ' + plotlat[eval(thisleg.split('.')[1])] + ',' + plotlong[eval(thisleg.split('.')[1])]);
if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) {
if (plusbit == '') {
//alert(298);
bmeridian+='<hr' + clabit + ' onclick="event.stopPropagation(); canlooknow=false; clearwo(); wo=window.open(' + "'//www.google.com/maps/dir/" + encodeURIComponent(plotplace[eval(thisleg.split('.')[0])]) + '/' + encodeURIComponent(plotplace[eval(thisleg.split('.')[1])]) + "#In a minute we will start moving the map again','_blank','top=50,left=50,width=1000,height=900')" + '; canlooknow=true; alert(this.title); " ondblclick="event.stopPropagation(); canlooknow=false; clearwo(); wo=window.open(' + "'//www.google.com/maps/dir/" + plotlat[eval(thisleg.split('.')[0])] + ',' + plotlong[eval(thisleg.split('.')[0])] + '/' + plotlat[eval(thisleg.split('.')[1])] + ',' + plotlong[eval(thisleg.split('.')[1])] + "#In a minute we will start moving the map again','_blank','top=50,left=50,width=1000,height=900')" + '; canlooknow=true; alert(this.title); " title="' + plusbit + '' + plotplace[eval(thisleg.split('.')[0])] + ' to ' + plotplace[eval(thisleg.split('.')[1])] + ' has the crow flying (' + gbrgtoset + ' degrees setting off at versus on Mercator Projection ...) ' + eval(eval(brgtoset + 450) % 360) + ' degrees for ' + eval(gdisttoset / 1000.0) + ' kilometers. Click (for placename) or double click (for geographicals) to open a Google Directions window." data-class=leg style="transform:rotate(' + eval(eval('' + brgtoset) - 0) + 'deg);z-index:975;opacity:0.3;position:' + posval + ';top:' +
meanlat +
'px;left:' +
eval(meanlong - disttoset / 2) +
'px;background-color:rgba(255,0,0,0.5);width:' + disttoset + 'px;height:6px;"></hr><span onclick="event.stopPropagation(); canlooknow=false; clearwo(); wo=window.open(' + "'//www.google.com/maps/dir/" + encodeURIComponent(plotplace[eval(thisleg.split('.')[0])]) + '/' + encodeURIComponent(plotplace[eval(thisleg.split('.')[1])]) + "#In a minute we will start moving the map again','_blank','top=50,left=50,width=1000,height=900')" + '; canlooknow=true; " ondblclick="event.stopPropagation(); canlooknow=false; clearwo(); gleg=glegit(this); wo=windowopen(' + "'//www.google.com/maps/dir/" + plotlat[eval(thisleg.split('.')[0])] + ',' + plotlong[eval(thisleg.split('.')[0])] + '/' + plotlat[eval(thisleg.split('.')[1])] + ',' + plotlong[eval(thisleg.split('.')[1])] + "#In a minute we will start moving the map again','_blank','top=50,left=50,width=1000,height=900')" + '; canlooknow=true; " title="' + plusbit + '' + plotplace[eval(thisleg.split('.')[0])] + ' to ' + plotplace[eval(thisleg.split('.')[1])] + ' has the crow flying (' + gbrgtoset + ' degrees setting off at versus on Mercator Projection ...) ' + eval(eval(360 - brgtoset) % 360) + ' degrees for ' + eval(gdisttoset / 1000.0) + ' kilometers. Click (for placename) or double click (for geographicals) to open a Google Directions window. ' + '" data-class=leg style="cursor:pointer;font-size:6px;z-index:976;margin-top:6px;margin-left:-6px;position:' + posval + ';top:' + meanlat + 'px;left:' + meanlong + 'px;" data-oncontextmenu="event.stopPropagation(); woit(' + "'" + plotplace[eval(thisleg.split('.')[1])].split(', ')[0] + "'" + ');" data-tleg="' + thisleg + '">' + thecompass + '</span>';
} else {
//alert('98 ' + plusbit);
bmeridian+='<hr' + clabit + ' onclick="event.stopPropagation(); canlooknow=false; clearwo(); wo=window.open(' + "'//www.google.com/maps/dir/" + encodeURIComponent(plotplace[eval(thisleg.split('.')[0])]) + '/' + encodeURIComponent(plotplace[eval(thisleg.split('.')[1])]) + "#In a minute we will start moving the map again','_blank','top=50,left=50,width=1000,height=900')" + '; canlooknow=true; ' + " legsalert(this.title + String.fromCharCode(10) + this.getAttribute('data-titlemore'), this.getAttribute('data-anno')" + '); " ondblclick="event.stopPropagation(); canlooknow=false; clearwo(); wo=window.open(' + "'//www.google.com/maps/dir/" + plotlat[eval(thisleg.split('.')[0])] + ',' + plotlong[eval(thisleg.split('.')[0])] + '/' + plotlat[eval(thisleg.split('.')[1])] + ',' + plotlong[eval(thisleg.split('.')[1])] + "#In a minute we will start moving the map again','_blank','top=50,left=50,width=1000,height=900')" + '; canlooknow=true; " data-anno="' + legsanno[legi].replace(/\"/g, '`') + '" title="' + plusbit + '" data-titlemore="' + plotplace[eval(thisleg.split('.')[0])] + ' to ' + plotplace[eval(thisleg.split('.')[1])] + ' has the crow flying (' + gbrgtoset + ' degrees setting off at versus on Mercator Projection ...) ' + eval(eval(brgtoset + 450) % 360) + ' degrees for ' + eval(gdisttoset / 1000.0) + ' kilometers. Click (for placename) or double click (for geographicals) to open a Google Directions window." data-class=leg style="transform:rotate(' + eval(eval('' + brgtoset) - 0) + 'deg);z-index:975;opacity:0.3;position:' + posval + ';top:' +
meanlat +
'px;left:' +
eval(meanlong - disttoset / 2) +
'px;background-color:rgba(255,0,0,0.5);width:' + disttoset + 'px;height:6px;"></hr><span onclick="event.stopPropagation(); canlooknow=false; clearwo(); wo=window.open(' + "'//www.google.com/maps/dir/" + encodeURIComponent(plotplace[eval(thisleg.split('.')[0])]) + '/' + encodeURIComponent(plotplace[eval(thisleg.split('.')[1])]) + "#In a minute we will start moving the map again','_blank','top=50,left=50,width=1000,height=900')" + '; canlooknow=true; " ondblclick="event.stopPropagation(); canlooknow=false; clearwo(); gleg=glegit(this); wo=windowopen(' + "'//www.google.com/maps/dir/" + plotlat[eval(thisleg.split('.')[0])] + ',' + plotlong[eval(thisleg.split('.')[0])] + '/' + plotlat[eval(thisleg.split('.')[1])] + ',' + plotlong[eval(thisleg.split('.')[1])] + "#In a minute we will start moving the map again','_blank','top=50,left=50,width=1000,height=900')" + '; canlooknow=true; " title="' + plusbit + '' + plotplace[eval(thisleg.split('.')[0])] + ' to ' + plotplace[eval(thisleg.split('.')[1])] + ' has the crow flying (' + gbrgtoset + ' degrees setting off at versus on Mercator Projection ...) ' + eval(eval(360 - brgtoset) % 360) + ' degrees for ' + eval(gdisttoset / 1000.0) + ' kilometers. Click (for placename) or double click (for geographicals) to open a Google Directions window. ' + '" data-class=leg style="cursor:pointer;font-size:6px;z-index:976;margin-top:6px;margin-left:-6px;position:' + posval + ';top:' + meanlat + 'px;left:' + meanlong + 'px;" data-oncontextmenu="event.stopPropagation(); woit(' + "'" + plotplace[eval(thisleg.split('.')[1])].split(', ')[0] + "'" + ');" data-tleg="' + thisleg + '">' + thecompass + '</span>';
}
} else {
bmeridian+='<hr' + clabit + ' onclick="event.stopPropagation(); canlooknow=false; clearwo(); wo=window.open(' + "'//www.google.com/maps/dir/" + encodeURIComponent(plotplace[eval(thisleg.split('.')[0])]) + '/' + encodeURIComponent(plotplace[eval(thisleg.split('.')[1])]) + "#In a minute we will start moving the map again','_blank','top=50,left=50,width=1000,height=900')" + '; canlooknow=true; ' + " legsalert(this.title + String.fromCharCode(10) + this.getAttribute('data-titlemore'), this.getAttribute('data-anno')" + '); " ondblclick="event.stopPropagation(); canlooknow=false; clearwo(); wo=window.open(' + "'//www.google.com/maps/dir/" + plotlat[eval(thisleg.split('.')[0])] + ',' + plotlong[eval(thisleg.split('.')[0])] + '/' + plotlat[eval(thisleg.split('.')[1])] + ',' + plotlong[eval(thisleg.split('.')[1])] + "#In a minute we will start moving the map again','_blank','top=50,left=50,width=1000,height=900')" + '; canlooknow=true; " data-anno="' + legsanno[legi].replace(/\"/g, '`') + '" title="' + plotplace[eval(thisleg.split('.')[0])] + ' to ' + plotplace[eval(thisleg.split('.')[1])] + ' has the crow flying (' + gbrgtoset + ' degrees setting off at versus on Mercator Projection ...) ' + eval(eval(brgtoset + 450) % 360) + ' degrees for ' + eval(gdisttoset / 1000.0) + ' kilometers. Click (for placename) or double click (for geographicals) to open a Google Directions window. ' + plusbit + '" data-titlemore="' + plotplace[eval(thisleg.split('.')[0])] + ' to ' + plotplace[eval(thisleg.split('.')[1])] + ' has the crow flying (' + gbrgtoset + ' degrees setting off at versus on Mercator Projection ...) ' + eval(eval(brgtoset + 450) % 360) + ' degrees for ' + eval(gdisttoset / 1000.0) + ' kilometers. Click (for placename) or double click (for geographicals) to open a Google Directions window." data-class=leg style="transform:rotate(' + eval(eval('' + brgtoset) - 0) + 'deg);z-index:975;opacity:0.3;position:' + posval + ';top:' +
meanlat +
'px;left:' +
eval(meanlong - disttoset / 2) +
'px;background-color:rgba(255,0,0,0.5);width:' + disttoset + 'px;height:6px;"></hr><span onclick="event.stopPropagation(); canlooknow=false; clearwo(); wo=window.open(' + "'//www.google.com/maps/dir/" + encodeURIComponent(plotplace[eval(thisleg.split('.')[0])]) + '/' + encodeURIComponent(plotplace[eval(thisleg.split('.')[1])]) + "#In a minute we will start moving the map again','_blank','top=50,left=50,width=1000,height=900')" + '; canlooknow=true; " ondblclick="event.stopPropagation(); canlooknow=false; clearwo(); gleg=glegit(this); wo=windowopen(' + "'//www.google.com/maps/dir/" + plotlat[eval(thisleg.split('.')[0])] + ',' + plotlong[eval(thisleg.split('.')[0])] + '/' + plotlat[eval(thisleg.split('.')[1])] + ',' + plotlong[eval(thisleg.split('.')[1])] + "#In a minute we will start moving the map again','_blank','top=50,left=50,width=1000,height=900')" + '; canlooknow=true; " title="' + plotplace[eval(thisleg.split('.')[0])] + ' to ' + plotplace[eval(thisleg.split('.')[1])] + ' has the crow flying (' + gbrgtoset + ' degrees setting off at versus on Mercator Projection ...) ' + eval(eval(360 - brgtoset) % 360) + ' degrees for ' + eval(gdisttoset / 1000.0) + ' kilometers. Click (for placename) or double click (for geographicals) to open a Google Directions window. ' + plusbit + '" class=leg style="cursor:pointer;font-size:6px;z-index:976;margin-top:6px;margin-left:-6px;position:' + posval + ';top:' + meanlat + 'px;left:' + meanlong + 'px;" data-oncontextmenu="event.stopPropagation(); woit(' + "'" + plotplace[eval(thisleg.split('.')[1])].split(', ')[0] + "'" + ');" data-tleg="' + thisleg + '">' + thecompass + '</span>';
}
if (ofive == fivethousand) {
if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) {
fivethousand*=2;
} else {
fivethousand*=10;
}
setTimeout(callintoplay, 5000);
}
}
}

function clearwo() {
if (wo) {
if (wo.closed) {
wo=null;
} else {
wo.close();
wo=null;
}
}
if (wo == null) {
setTimeout(moback, 16000);
}
}

function moback() {
woclosed=true;
if (wo != null) {
if (!navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) {
movesallowed=false;
gmovesallowed=false;
five=0;
gfive=0;
}
woclosed=wo.closed;
console.log('made false ' + wo.closed);
}
if (!woclosed) {
setTimeout(backmo, 2000);
} else {
setTimeout(amnestyinoneminute, 60000);
}
}

function amnestyinoneminute() {
movesallowed=true;
gmovesallowed=true;
five=5;
gfive=5;
}

function backmo() {
if (wo != null) {
if (wo.closed != woclosed) {
if (canlooknow) {
console.log('made true ' + wo.closed);
movesallowed=true;
gmovesallowed=true;
five=5;
gfive=5;
wo=null;
} else {
setTimeout(backmo, 2000);
}
} else {
setTimeout(backmo, 2000);
}
} else {
console.log('Made true ' + wo.closed);
woclosed=wo.closed;
movesallowed=true;
gmovesallowed=true;
five=5;
gfive=5;
}
}

function rightchecklls(smlong, lglat, lglong, smlat, scbl) {
var sofardone=',';
var diff, date0, date1, utcDate, tzDate, udate, utzdate;
gdate0=new Date().toLocaleString("en-US", { timeZone: 'UTC' });
gextratztime=('|' + gdate0);
gudate=new Date();
gutcDate = new Date(gudate.toLocaleString('en-US', { timeZone: 'UTC' }));
setTimeout(function(){ prevf='' + smlong + ',' + lglat + ',' + lglong + ',' + smlat; }, fivethousand);
var iplot=0;
var joff=0;
topc='90';
bmeridian='';
bcircleoflatitude='';
if (lglong > 180) {
joff=eval(-180 + lglong);
}
smlong-=joff;
lglong-=joff;
for (var al=90; al>=-90; al-=10) {
if (al >= smlat && al <= lglat) {
if (topc == '90') { topc='' + eval(91 + eval(eval(lglat - al) / eval(lglat - smlat) * eval(screenheight))); }
if (eval((al + 90) % 90) == 0) {
bcircleoflatitude+='<span onclick="event.stopPropagation(); if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) { alert(this.title); }" title="At prompt window, prefixing, and persevering, CSS map image styling available (and able to be turned off via nocssplease and special decimal entity number parts for emojis eg. pin:128204; (versus ' + String.fromCodePoint(128205) + ') compass:127993; (versus ' + String.fromCodePoint(129517) + ') eg. filter:sepia(74%); Or you can specify <st' + 'yle></st' + 'yle> non-persevering or <st' + 'yle></ST' + 'YLE> persevering CSS of your own (or use a URL ending with .css (or persevering .CSS)) to begin with and/or <sc' + 'ript></sc' + 'ript> non-persevering or <sc' + 'ript></SC' + 'RIPT> persevering Javascript of your own (or use a URL ending with .js (or persevering .JS)) to begin with" style="z-index:675;position:' + posval + ';top:' + eval(10 + eval(eval(lglat - al) / eval(lglat - smlat) * eval(screenheight))) + 'px;left:0px;">  ' + (('' + al).replace('-','') + (('' + al).substring(0,1) == '-' ? 'S' : 'N')).replace(/^90N$/g,'   North Pole').replace(/^90S$/g,'   South Pole').replace(/^0N$/g,'   Equator').replace(/^0S$/g,' Equator').replace(/S$/g,'°S').replace(/N$/g,'°N') + '</span><hr class=mydl title="Circle of latitude ' + al + '" style="z-index:675;position:' + posval + ';top:' + eval(eval(lglat - al) / eval(lglat - smlat) * eval(screenheight)) + 'px;left:0px;height:1px;width:' + screenwidth + 'px;background-color:rgba(255,0,0,0.5);"></hr>';
} else {
bcircleoflatitude+='<span onclick="event.stopPropagation(); if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) { alert(this.title); }" title="At prompt window, prefixing, and persevering, CSS map image styling available (and able to be turned off via nocssplease and special decimal entity number parts for emojis eg. pin:128204; (versus ' + String.fromCodePoint(128205) + ') compass:127993; (versus ' + String.fromCodePoint(129517) + ') eg. filter:sepia(74%); Or you can specify <st' + 'yle></st' + 'yle> non-persevering or <st' + 'yle></ST' + 'YLE> persevering CSS of your own (or use a URL ending with .css (or persevering .CSS)) to begin with and/or <sc' + 'ript></sc' + 'ript> non-persevering or <sc' + 'ript></SC' + 'RIPT> persevering Javascript of your own (or use a URL ending with .js (or persevering .JS)) to begin with" style="z-index:675;position:' + posval + ';top:' + eval(10 + eval(eval(lglat - al) / eval(lglat - smlat) * eval(screenheight))) + 'px;left:0px;">  ' + (('' + al).replace('-','') + (('' + al).substring(0,1) == '-' ? 'S' : 'N')).replace(/^90N$/g,'   North Pole').replace(/^90S$/g,'   South Pole').replace(/^0N$/g,'   Equator').replace(/^0S$/g,' Equator').replace(/S$/g,'°S').replace(/N$/g,'°N') + '</span><hr class=mydl title="Circle of latitude ' + al + '" style="z-index:675;position:' + posval + ';top:' + eval(eval(lglat - al) / eval(lglat - smlat) * eval(screenheight)) + 'px;left:0px;height:1px;width:' + screenwidth + 'px;background-color:rgba(0,0,255,0.5);"></hr>';
}

for (iplot=0; iplot<plotlat.length; iplot++) {
if (Math.abs(plotlat[iplot] - al) <= 5) {
if (plotlong[iplot] >= smlong && plotlong[iplot] <= lglong) {

if (plotplace[iplot].trim() == '') {
if (('' + plotlat[iplot] + plotlong[iplot]).indexOf('.') != -1) {
if (legc.indexOf(',' + iplot + '.') != -1 && sofardone.indexOf(',' + '' + iplot + '.' + legc.split(',' + iplot + '.')[1].split(',')[0] + ',') == -1) {
sofardone+='' + iplot + '.' + legc.split(',' + iplot + '.')[1].split(',')[0] + ',';
plotleg('' + iplot + '.' + legc.split(',' + iplot + '.')[1].split(',')[0], smlong, lglat, lglong, smlat);
}
if (legc.indexOf('.' + iplot + ',') != -1 && sofardone.indexOf(',' + legc.split('.' + iplot + ',')[0].split(',')[eval(-1 + legc.split('.' + iplot + ',')[0].split(',').length)] + '.' + iplot + ',') == -1) {
sofardone+=legc.split('.' + iplot + ',')[0].split(',')[eval(-1 + legc.split('.' + iplot + ',')[0].split(',').length)] + '.' + iplot + ',';
plotleg(legc.split('.' + iplot + ',')[0].split(',')[eval(-1 + legc.split('.' + iplot + ',')[0].split(',').length)] + '.' + iplot, smlong, lglat, lglong, smlat);
}
bmeridian+='<span class=place style="z-index:1675;position:' + posval + ';top:' + eval(0 + eval(eval(lglat - eval('' + plotlat[iplot])) / eval(lglat - smlat) * eval(screenheight))) + 'px;left:' + eval(0 + eval(eval('' + plotlong[iplot]) - smlong) / eval(lglong - smlong) * eval(screenwidth)) + 'px;" onclick="event.stopPropagation(); woit(' + "'" + plotplace[iplot].split(', ')[0] + "'" + ');">' + thepin + '</span>';
}
} else {
if (legc.indexOf(',' + iplot + '.') != -1 && sofardone.indexOf(',' + '' + iplot + '.' + legc.split(',' + iplot + '.')[1].split(',')[0] + ',') == -1) {
sofardone+='' + iplot + '.' + legc.split(',' + iplot + '.')[1].split(',')[0] + ',';
plotleg('' + iplot + '.' + legc.split(',' + iplot + '.')[1].split(',')[0], smlong, lglat, lglong, smlat);
}
if (legc.indexOf('.' + iplot + ',') != -1 && sofardone.indexOf(',' + legc.split('.' + iplot + ',')[0].split(',')[eval(-1 + legc.split('.' + iplot + ',')[0].split(',').length)] + '.' + iplot + ',') == -1) {
sofardone+=legc.split('.' + iplot + ',')[0].split(',')[eval(-1 + legc.split('.' + iplot + ',')[0].split(',').length)] + '.' + iplot + ',';
plotleg(legc.split('.' + iplot + ',')[0].split(',')[eval(-1 + legc.split('.' + iplot + ',')[0].split(',').length)] + '.' + iplot, smlong, lglat, lglong, smlat);
}
bmeridian=bmeranalyze('<span class=place style="z-index:675;position:' + posval + ';top:' + eval(10 + eval(eval(lglat - eval('' + plotlat[iplot])) / eval(lglat - smlat) * eval(screenheight))) + 'px;left:' + eval(10 + eval(eval('' + plotlong[iplot]) - smlong) / eval(lglong - smlong) * eval(screenwidth)) + 'px;" onclick=" if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i) || 1 == 1) { if (this.title.trim().length > 0) { plotalert(this.title); } }" title="' + plotanno[iplot].replace(/\"/g,'`').replace(/^/g, String.fromCharCode(10)) + '">' + doplotplace(iplot,'g') + '</span><span class=place style="z-index:1675;position:' + posval + ';top:' + eval(0 + eval(eval(lglat - eval('' + plotlat[iplot])) / eval(lglat - smlat) * eval(screenheight))) + 'px;left:' + eval(0 + eval(eval('' + plotlong[iplot]) - smlong) / eval(lglong - smlong) * eval(screenwidth)) + 'px;" id=span' + plotplace[iplot].split(', ')[0].replace(/\ /g,'_') + ' onclick="event.stopPropagation(); woit(' + "'" + plotplace[iplot].split(', ')[0] + "'" + ');">' + thepin + '</span>');
}

}
}
}

if (Math.abs(latis - al) <= 5) {
if (acircleoflatitude == '') {
if (('' + latis).split('.0')[0].slice(-1) == '0') {
bcircleoflatitude+='<span onclick="event.stopPropagation(); if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) { alert(this.title); }" title="At prompt window, prefixing, and persevering, CSS map image styling available (and able to be turned off via nocssplease and special decimal entity number parts for emojis eg. pin:128204; (versus ' + String.fromCodePoint(128205) + ') compass:127993; (versus ' + String.fromCodePoint(129517) + ') eg. filter:sepia(74%); Or you can specify <st' + 'yle></st' + 'yle> non-persevering or <st' + 'yle></ST' + 'YLE> persevering CSS of your own (or use a URL ending with .css (or persevering .CSS)) to begin with and/or <sc' + 'ript></sc' + 'ript> non-persevering or <sc' + 'ript></SC' + 'RIPT> persevering Javascript of your own (or use a URL ending with .js (or persevering .JS)) to begin with" style="z-index:675;position:' + posval + ';top:' + eval(10 + eval(eval(lglat - eval('' + latis)) / eval(lglat - smlat) * eval(screenheight))) + 'px;left:0px;">  ' + (('' + latis).replace('-','') + (('' + latis).substring(0,1) == '-' ? 'S' : 'N')).replace(/^90N$/g,'   North Pole').replace(/^90S$/g,'   South Pole').replace(/^0N$/g,'   Equator').replace(/^0S$/g,' Equator').replace(/S$/g,'°S').replace(/N$/g,'°N') + '</span><hr id=mydl title="Circle of latitude ' + latis + '" style="z-index:675;position:' + posval + ';top:' + eval(eval(lglat - eval('' + latis)) / eval(lglat - smlat) * eval(screenheight)) + 'px;left:0px;height:1px;width:' + screenwidth + 'px;background-color:rgba(255,0,0,0.5);"></hr>';
} else {
bcircleoflatitude+='<span onclick="event.stopPropagation(); if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) { alert(this.title); }" title="At prompt window, prefixing, and persevering, CSS map image styling available (and able to be turned off via nocssplease and special decimal entity number parts for emojis eg. pin:128204; (versus ' + String.fromCodePoint(128205) + ') compass:127993; (versus ' + String.fromCodePoint(129517) + ') eg. filter:sepia(74%); Or you can specify <st' + 'yle></st' + 'yle> non-persevering or <st' + 'yle></ST' + 'YLE> persevering CSS of your own (or use a URL ending with .css (or persevering .CSS)) to begin with and/or <sc' + 'ript></sc' + 'ript> non-persevering or <sc' + 'ript></SC' + 'RIPT> persevering Javascript of your own (or use a URL ending with .js (or persevering .JS)) to begin with" style="z-index:675;position:' + posval + ';top:' + eval(10 + eval(eval(lglat - eval('' + latis)) / eval(lglat - smlat) * eval(screenheight))) + 'px;left:0px;">  ' + (('' + latis).replace('-','') + (('' + latis).substring(0,1) == '-' ? 'S' : 'N')).replace(/^90N$/g,'   North Pole').replace(/^90S$/g,'   South Pole').replace(/^0N$/g,'   Equator').replace(/^0S$/g,' Equator').replace(/S$/g,'°S').replace(/N$/g,'°N') + '</span><hr id=mydl title="Circle of latitude ' + latis + '" style="border-style:dotted;z-index:675;position:' + posval + ';top:' + eval(eval(lglat - eval('' + latis)) / eval(lglat - smlat) * eval(screenheight)) + 'px;left:0px;height:1px;width:' + screenwidth + 'px;background-color:rgba(255,0,0,0.1);"></hr>';
}
}
}
if (al == 70) {
bcircleoflatitude+='<span onclick="event.stopPropagation(); if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) { alert(this.title); }" title="At prompt window, prefixing, and persevering, CSS map image styling available (and able to be turned off via nocssplease and special decimal entity number parts for emojis eg. pin:128204; (versus ' + String.fromCodePoint(128205) + ') compass:127993; (versus ' + String.fromCodePoint(129517) + ') eg. filter:sepia(74%); Or you can specify <st' + 'yle></st' + 'yle> non-persevering or <st' + 'yle></ST' + 'YLE> persevering CSS of your own (or use a URL ending with .css (or persevering .CSS)) to begin with and/or <sc' + 'ript></sc' + 'ript> non-persevering or <sc' + 'ript></SC' + 'RIPT> persevering Javascript of your own (or use a URL ending with .js (or persevering .JS)) to begin with" style="z-index:675;position:' + posval + ';top:' + eval(10 + eval(eval(lglat - eval(66 + 34 / 60)) / eval(lglat - smlat) * eval(screenheight))) + 'px;left:0px;">  ' + 'Arctic Circle' + '</span><hr class=mydl title="Circle of latitude ' + eval(66 + 34 / 60) + '" style="z-index:675;position:' + posval + ';top:' + eval(eval(lglat - eval(66 + 34 / 60)) / eval(lglat - smlat) * eval(screenheight)) + 'px;left:0px;height:1px;width:' + screenwidth + 'px;background-color:rgba(0,255,0,0.5);"></hr>';
}
if (al == 30) {
bcircleoflatitude+='<span onclick="event.stopPropagation(); if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) { alert(this.title); }" title="At prompt window, prefixing, and persevering, CSS map image styling available (and able to be turned off via nocssplease and special decimal entity number parts for emojis eg. pin:128204; (versus ' + String.fromCodePoint(128205) + ') compass:127993; (versus ' + String.fromCodePoint(129517) + ') eg. filter:sepia(74%); Or you can specify <st' + 'yle></st' + 'yle> non-persevering or <st' + 'yle></ST' + 'YLE> persevering CSS of your own (or use a URL ending with .css (or persevering .CSS)) to begin with and/or <sc' + 'ript></sc' + 'ript> non-persevering or <sc' + 'ript></SC' + 'RIPT> persevering Javascript of your own (or use a URL ending with .js (or persevering .JS)) to begin with" style="z-index:675;position:' + posval + ';top:' + eval(10 + eval(eval(lglat - eval(23 + 26 / 60)) / eval(lglat - smlat) * eval(screenheight))) + 'px;left:0px;">  ' + 'Tropic of Cancer' + '</span><hr class=mydl title="Circle of latitude ' + eval(23 + 26 / 60) + '" style="z-index:675;position:' + posval + ';top:' + eval(eval(lglat - eval(23 + 26 / 60)) / eval(lglat - smlat) * eval(screenheight)) + 'px;left:0px;height:1px;width:' + screenwidth + 'px;background-color:rgba(0,255,0,0.5);"></hr>';
}
if (al == -20) {
bcircleoflatitude+='<span onclick="event.stopPropagation(); if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) { alert(this.title); }" title="At prompt window, prefixing, and persevering, CSS map image styling available (and able to be turned off via nocssplease and special decimal entity number parts for emojis eg. pin:128204; (versus ' + String.fromCodePoint(128205) + ') compass:127993; (versus ' + String.fromCodePoint(129517) + ') eg. filter:sepia(74%); Or you can specify <st' + 'yle></st' + 'yle> non-persevering or <st' + 'yle></ST' + 'YLE> persevering CSS of your own (or use a URL ending with .css (or persevering .CSS)) to begin with and/or <sc' + 'ript></sc' + 'ript> non-persevering or <sc' + 'ript></SC' + 'RIPT> persevering Javascript of your own (or use a URL ending with .js (or persevering .JS)) to begin with" style="z-index:675;position:' + posval + ';top:' + eval(10 + eval(eval(lglat - eval(-23 - 26 / 60)) / eval(lglat - smlat) * eval(screenheight))) + 'px;left:0px;">  ' + 'Tropic of Capricorn' + '</span><hr class=mydl title="Circle of latitude ' + eval(-23 - 26 / 60) + '" style="z-index:675;position:' + posval + ';top:' + eval(eval(lglat - eval(-23 - 26 / 60)) / eval(lglat - smlat) * eval(screenheight)) + 'px;left:0px;height:1px;width:' + screenwidth + 'px;background-color:rgba(0,255,0,0.5);"></hr>';
}
if (al == -60) {
bcircleoflatitude+='<span onclick="event.stopPropagation(); if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) { alert(this.title); }" title="At prompt window, prefixing, and persevering, CSS map image styling available (and able to be turned off via nocssplease and special decimal entity number parts for emojis eg. pin:128204; (versus ' + String.fromCodePoint(128205) + ') compass:127993; (versus ' + String.fromCodePoint(129517) + ') eg. filter:sepia(74%); Or you can specify <st' + 'yle></st' + 'yle> non-persevering or <st' + 'yle></ST' + 'YLE> persevering CSS of your own (or use a URL ending with .css (or persevering .CSS)) to begin with and/or <sc' + 'ript></sc' + 'ript> non-persevering or <sc' + 'ript></SC' + 'RIPT> persevering Javascript of your own (or use a URL ending with .js (or persevering .JS)) to begin with" style="z-index:675;position:' + posval + ';top:' + eval(10 + eval(eval(lglat - eval(-66 - 34 / 60)) / eval(lglat - smlat) * eval(screenheight))) + 'px;left:0px;">  ' + 'Antarctic Circle' + '</span><hr class=mydl title="Circle of latitude ' + eval(-66 - 34 / 60) + '" style="z-index:675;position:' + posval + ';top:' + eval(eval(lglat - eval(-66 - 34 / 60)) / eval(lglat - smlat) * eval(screenheight)) + 'px;left:0px;height:1px;width:' + screenwidth + 'px;background-color:rgba(0,255,0,0.5);"></hr>';
}
}
}
for (var am=-180; am<=250; am+=10) {
if (am >= smlong && am <= lglong) {
if (Math.abs(longis - am) <= 5) {
if (ameridian == '') {
if (('' + longis).split('.0')[0].slice(-1) == '0') {
bmeridian+='<span onclick="event.stopPropagation(); if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) { alert(this.title); }" title="At prompt window, prefixing, and persevering, CSS map image styling available (and able to be turned off via nocssplease and special decimal entity number parts for emojis eg. pin:128204; (versus ' + String.fromCodePoint(128205) + ') compass:127993; (versus ' + String.fromCodePoint(129517) + ') eg. filter:sepia(74%); Or you can specify <st' + 'yle></st' + 'yle> non-persevering or <st' + 'yle></ST' + 'YLE> persevering CSS of your own (or use a URL ending with .css (or persevering .CSS)) to begin with and/or <sc' + 'ript></sc' + 'ript> non-persevering or <sc' + 'ript></SC' + 'RIPT> persevering Javascript of your own (or use a URL ending with .js (or persevering .JS)) to begin with" style="z-index:675;position:' + posval + ';left:' + eval(eval(eval('' + longis) - smlong) / eval(lglong - smlong) * eval(screenwidth)) + 'px;top:90px;">  ' + (('' + longis).replace('-','') + (('' + longis).substring(0,1) == '-' ? 'W' : 'E')).replace(/^0E$/g,' Greenwich<br> Meridian').replace(/^180E/g,'  International<br>  Date<br>  Line').replace(/^180W/g,'International<br> Date<br> Line').replace('E','°E').replace('W','°W') + '</span><hr id=mydm title="Meridian ' + longis + '" style="z-index:675;position:' + posval + ';left:' + eval(eval(eval('' + longis) - smlong) / eval(lglong - smlong) * eval(screenwidth)) + 'px;top:0px;height:' + screenheight + 'px;width:1px;background-color:rgba(255,0,0,0.5);"></hr>';
} else {
bmeridian+='<span onclick="event.stopPropagation(); if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) { alert(this.title); }" title="At prompt window, prefixing, and persevering, CSS map image styling available (and able to be turned off via nocssplease and special decimal entity number parts for emojis eg. pin:128204; (versus ' + String.fromCodePoint(128205) + ') compass:127993; (versus ' + String.fromCodePoint(129517) + ') eg. filter:sepia(74%); Or you can specify <st' + 'yle></st' + 'yle> non-persevering or <st' + 'yle></ST' + 'YLE> persevering CSS of your own (or use a URL ending with .css (or persevering .CSS)) to begin with and/or <sc' + 'ript></sc' + 'ript> non-persevering or <sc' + 'ript></SC' + 'RIPT> persevering Javascript of your own (or use a URL ending with .js (or persevering .JS)) to begin with" style="z-index:675;position:' + posval + ';left:' + eval(eval(eval('' + longis) - smlong) / eval(lglong - smlong) * eval(screenwidth)) + 'px;top:90px;">  ' + (('' + longis).replace('-','') + (('' + longis).substring(0,1) == '-' ? 'W' : 'E')).replace(/^0E$/g,' Greenwich<br> Meridian').replace(/^180E/g,'  International<br>  Date<br>  Line').replace(/^180W/g,'International<br> Date<br> Line').replace('E','°E').replace('W','°W') + '</span><hr id=mydm title="Meridian ' + longis + '" style="z-index:675;border-style:dotted;position:' + posval + ';left:' + eval(eval(eval('' + longis) - smlong) / eval(lglong - smlong) * eval(screenwidth)) + 'px;top:0px;height:' + screenheight + 'px;width:1px;background-color:rgba(255,0,0,0.1);"></hr>';
}
}
}
if (am > 180) {
bmeridian+='<span onclick="event.stopPropagation(); if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) { alert(this.title); }" title="At prompt window, prefixing, and persevering, CSS map image styling available (and able to be turned off via nocssplease and special decimal entity number parts for emojis eg. pin:128204; (versus ' + String.fromCodePoint(128205) + ') compass:127993; (versus ' + String.fromCodePoint(129517) + ') eg. filter:sepia(74%); Or you can specify <st' + 'yle></st' + 'yle> non-persevering or <st' + 'yle></ST' + 'YLE> persevering CSS of your own (or use a URL ending with .css (or persevering .CSS)) to begin with and/or <sc' + 'ript></sc' + 'ript> non-persevering or <sc' + 'ript></SC' + 'RIPT> persevering Javascript of your own (or use a URL ending with .js (or persevering .JS)) to begin with" style="z-index:675;position:' + posval + ';left:' + eval(eval(am - smlong) / eval(lglong - smlong) * eval(screenwidth)) + 'px;top:' + topc + 'px;">  ' + (('' + eval(am - 360)).replace('-','') + (('' + eval(am - 360)).substring(0,1) == '-' ? 'W' : 'E')).replace(/^0E$/g,' Greenwich<br> Meridian').replace(/^180E/g,'  International<br>  Date<br>  Line').replace(/^180W/g,'International<br> Date<br> Line').replace('E','°E').replace('W','°W') + '</span><hr class=mydm title="Meridian ' + eval(am - 180) + '" style="z-index:675;position:' + posval + ';left:' + eval(eval(am - smlong) / eval(lglong - smlong) * eval(screenwidth)) + 'px;top:0px;height:' + screenheight + 'px;width:1px;background-color:rgba(255,0,0,0.5);"></hr>';
} else {
bmeridian+='<span onclick="event.stopPropagation(); if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) { alert(this.title); }" title="At prompt window, prefixing, and persevering, CSS map image styling available (and able to be turned off via nocssplease and special decimal entity number parts for emojis eg. pin:128204; (versus ' + String.fromCodePoint(128205) + ') compass:127993; (versus ' + String.fromCodePoint(129517) + ') eg. filter:sepia(74%); Or you can specify <st' + 'yle></st' + 'yle> non-persevering or <st' + 'yle></ST' + 'YLE> persevering CSS of your own (or use a URL ending with .css (or persevering .CSS)) to begin with and/or <sc' + 'ript></sc' + 'ript> non-persevering or <sc' + 'ript></SC' + 'RIPT> persevering Javascript of your own (or use a URL ending with .js (or persevering .JS)) to begin with" style="z-index:675;position:' + posval + ';left:' + eval(eval(am - smlong) / eval(lglong - smlong) * eval(screenwidth)) + 'px;top:' + topc + 'px;">  ' + (('' + am).replace('-','') + (('' + am).substring(0,1) == '-' ? 'W' : 'E')).replace(/^0E$/g,' Greenwich<br> Meridian').replace(/^180E/g,'  International<br>  Date<br>  Line').replace(/^180W/g,'International<br> Date<br> Line').replace('E','°E').replace('W','°W') + '</span><hr class=mydm title="Meridian ' + am + '" style="z-index:675;position:' + posval + ';left:' + eval(eval(am - smlong) / eval(lglong - smlong) * eval(screenwidth)) + 'px;top:0px;height:' + screenheight + 'px;width:1px;background-color:rgba(255,0,0,0.5);"></hr>';
}
}
}
}

function checklls(smlong, lglat, lglong, smlat) {
var sofardone=',';
var diff, date0, date1, utcDate, tzDate, udate, utzdate;
gdate0=new Date().toLocaleString("en-US", { timeZone: 'UTC' });
gextratztime=('|' + gdate0);
gudate=new Date();
gutcDate = new Date(gudate.toLocaleString('en-US', { timeZone: 'UTC' }));
setTimeout(function(){ prevf='' + smlong + ',' + lglat + ',' + lglong + ',' + smlat; }, fivethousand);
var iplot=0;
var joff=0;
topc='90';
bmeridian='';
bcircleoflatitude='';
//if (lglong > 180) {
// joff=eval(-180 + lglong);
//}
smlong-=joff;
lglong-=joff;
for (var al=90; al>=-90; al-=10) {
if (al >= smlat && al <= lglat) {
if (topc == '90') { topc='' + eval(91 + eval(eval(lglat - al) / eval(lglat - smlat) * eval(screenheight))); }
if (eval((al + 90) % 90) == 0) {
bcircleoflatitude+='<span onclick="event.stopPropagation(); if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) { alert(this.title); }" title="At prompt window, prefixing, and persevering, CSS map image styling available (and able to be turned off via nocssplease and special decimal entity number parts for emojis eg. pin:128204; (versus ' + String.fromCodePoint(128205) + ') compass:127993; (versus ' + String.fromCodePoint(129517) + ') eg. filter:sepia(74%); Or you can specify <st' + 'yle></st' + 'yle> non-persevering or <st' + 'yle></ST' + 'YLE> persevering CSS of your own (or use a URL ending with .css (or persevering .CSS)) to begin with and/or <sc' + 'ript></sc' + 'ript> non-persevering or <sc' + 'ript></SC' + 'RIPT> persevering Javascript of your own (or use a URL ending with .js (or persevering .JS)) to begin with" style="z-index:675;position:' + posval + ';top:' + eval(10 + eval(eval(lglat - al) / eval(lglat - smlat) * eval(screenheight))) + 'px;left:0px;">  ' + (('' + al).replace('-','') + (('' + al).substring(0,1) == '-' ? 'S' : 'N')).replace(/^90N$/g,'   North Pole').replace(/^90S$/g,'   South Pole').replace(/^0N$/g,'   Equator').replace(/^0S$/g,' Equator').replace(/S$/g,'°S').replace(/N$/g,'°N') + '</span><hr class=mydl title="Circle of latitude ' + al + '" style="z-index:675;position:' + posval + ';top:' + eval(eval(lglat - al) / eval(lglat - smlat) * eval(screenheight)) + 'px;left:0px;height:1px;width:' + screenwidth + 'px;background-color:rgba(255,0,0,0.5);"></hr>';
} else {
bcircleoflatitude+='<span onclick="event.stopPropagation(); if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) { alert(this.title); }" title="At prompt window, prefixing, and persevering, CSS map image styling available (and able to be turned off via nocssplease and special decimal entity number parts for emojis eg. pin:128204; (versus ' + String.fromCodePoint(128205) + ') compass:127993; (versus ' + String.fromCodePoint(129517) + ') eg. filter:sepia(74%); Or you can specify <st' + 'yle></st' + 'yle> non-persevering or <st' + 'yle></ST' + 'YLE> persevering CSS of your own (or use a URL ending with .css (or persevering .CSS)) to begin with and/or <sc' + 'ript></sc' + 'ript> non-persevering or <sc' + 'ript></SC' + 'RIPT> persevering Javascript of your own (or use a URL ending with .js (or persevering .JS)) to begin with" style="z-index:675;position:' + posval + ';top:' + eval(10 + eval(eval(lglat - al) / eval(lglat - smlat) * eval(screenheight))) + 'px;left:0px;">  ' + (('' + al).replace('-','') + (('' + al).substring(0,1) == '-' ? 'S' : 'N')).replace(/^90N$/g,'   North Pole').replace(/^90S$/g,'   South Pole').replace(/^0N$/g,'   Equator').replace(/^0S$/g,' Equator').replace(/S$/g,'°S').replace(/N$/g,'°N') + '</span><hr class=mydl title="Circle of latitude ' + al + '" style="z-index:675;position:' + posval + ';top:' + eval(eval(lglat - al) / eval(lglat - smlat) * eval(screenheight)) + 'px;left:0px;height:1px;width:' + screenwidth + 'px;background-color:rgba(0,0,255,0.5);"></hr>';
}

for (iplot=0; iplot<plotlat.length; iplot++) {
if (Math.abs(plotlat[iplot] - al) <= 5) {
if (plotlong[iplot] >= smlong && plotlong[iplot] <= lglong) {

if (plotplace[iplot].trim() == '') {
if (('' + plotlat[iplot] + plotlong[iplot]).indexOf('.') != -1) {
if (legc.indexOf(',' + iplot + '.') != -1 && sofardone.indexOf(',' + '' + iplot + '.' + legc.split(',' + iplot + '.')[1].split(',')[0] + ',') == -1) {
sofardone+='' + iplot + '.' + legc.split(',' + iplot + '.')[1].split(',')[0] + ',';
plotleg('' + iplot + '.' + legc.split(',' + iplot + '.')[1].split(',')[0], smlong, lglat, lglong, smlat);
}
if (legc.indexOf('.' + iplot + ',') != -1 && sofardone.indexOf(',' + legc.split('.' + iplot + ',')[0].split(',')[eval(-1 + legc.split('.' + iplot + ',')[0].split(',').length)] + '.' + iplot + ',') == -1) {
sofardone+=legc.split('.' + iplot + ',')[0].split(',')[eval(-1 + legc.split('.' + iplot + ',')[0].split(',').length)] + '.' + iplot + ',';
plotleg(legc.split('.' + iplot + ',')[0].split(',')[eval(-1 + legc.split('.' + iplot + ',')[0].split(',').length)] + '.' + iplot, smlong, lglat, lglong, smlat);
}
bmeridian+='<span class=place style="z-index:1675;position:' + posval + ';top:' + eval(0 + eval(eval(lglat - eval('' + plotlat[iplot])) / eval(lglat - smlat) * eval(screenheight))) + 'px;left:' + eval(0 + eval(eval('' + plotlong[iplot]) - smlong) / eval(lglong - smlong) * eval(screenwidth)) + 'px;" onclick="event.stopPropagation(); woit(' + "'" + plotplace[iplot].split(', ')[0] + "'" + ');">' + thepin + '</span>';
}
} else {
if (legc.indexOf(',' + iplot + '.') != -1 && sofardone.indexOf(',' + '' + iplot + '.' + legc.split(',' + iplot + '.')[1].split(',')[0] + ',') == -1) {
sofardone+='' + iplot + '.' + legc.split(',' + iplot + '.')[1].split(',')[0] + ',';
plotleg('' + iplot + '.' + legc.split(',' + iplot + '.')[1].split(',')[0], smlong, lglat, lglong, smlat);
}
if (legc.indexOf('.' + iplot + ',') != -1 && sofardone.indexOf(',' + legc.split('.' + iplot + ',')[0].split(',')[eval(-1 + legc.split('.' + iplot + ',')[0].split(',').length)] + '.' + iplot + ',') == -1) {
sofardone+=legc.split('.' + iplot + ',')[0].split(',')[eval(-1 + legc.split('.' + iplot + ',')[0].split(',').length)] + '.' + iplot + ',';
plotleg(legc.split('.' + iplot + ',')[0].split(',')[eval(-1 + legc.split('.' + iplot + ',')[0].split(',').length)] + '.' + iplot, smlong, lglat, lglong, smlat);
}
bmeridian=bmeranalyze('<span class=place style="z-index:675;position:' + posval + ';top:' + eval(10 + eval(eval(lglat - eval('' + plotlat[iplot])) / eval(lglat - smlat) * eval(screenheight))) + 'px;left:' + eval(10 + eval(eval('' + plotlong[iplot]) - smlong) / eval(lglong - smlong) * eval(screenwidth)) + 'px;" onclick=" if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i) || 1 == 1) { if (this.title.trim().length > 0) { plotalert(this.title); } }" title="' + plotanno[iplot].replace(/\"/g,'`').replace(/^/g, String.fromCharCode(10)) + '">' + doplotplace(iplot,'g') + '</span><span class=place style="z-index:1675;position:' + posval + ';top:' + eval(0 + eval(eval(lglat - eval('' + plotlat[iplot])) / eval(lglat - smlat) * eval(screenheight))) + 'px;left:' + eval(0 + eval(eval('' + plotlong[iplot]) - smlong) / eval(lglong - smlong) * eval(screenwidth)) + 'px;" id=span' + plotplace[iplot].split(', ')[0].replace(/\ /g,'_') + ' onclick="event.stopPropagation(); woit(' + "'" + plotplace[iplot].split(', ')[0] + "'" + ');">' + thepin + '</span>');
}

}
}
}

if (Math.abs(latis - al) <= 5) {
if (acircleoflatitude == '') {
if (('' + latis).split('.0')[0].slice(-1) == '0') {
bcircleoflatitude+='<span onclick="event.stopPropagation(); if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) { alert(this.title); }" title="At prompt window, prefixing, and persevering, CSS map image styling available (and able to be turned off via nocssplease and special decimal entity number parts for emojis eg. pin:128204; (versus ' + String.fromCodePoint(128205) + ') compass:127993; (versus ' + String.fromCodePoint(129517) + ') eg. filter:sepia(74%); Or you can specify <st' + 'yle></st' + 'yle> non-persevering or <st' + 'yle></ST' + 'YLE> persevering CSS of your own (or use a URL ending with .css (or persevering .CSS)) to begin with and/or <sc' + 'ript></sc' + 'ript> non-persevering or <sc' + 'ript></SC' + 'RIPT> persevering Javascript of your own (or use a URL ending with .js (or persevering .JS)) to begin with" style="z-index:675;position:' + posval + ';top:' + eval(10 + eval(eval(lglat - eval('' + latis)) / eval(lglat - smlat) * eval(screenheight))) + 'px;left:0px;">  ' + (('' + latis).replace('-','') + (('' + latis).substring(0,1) == '-' ? 'S' : 'N')).replace(/^90N$/g,'   North Pole').replace(/^90S$/g,'   South Pole').replace(/^0N$/g,'   Equator').replace(/^0S$/g,' Equator').replace(/S$/g,'°S').replace(/N$/g,'°N') + '</span><hr id=mydl title="Circle of latitude ' + latis + '" style="z-index:675;position:' + posval + ';top:' + eval(eval(lglat - eval('' + latis)) / eval(lglat - smlat) * eval(screenheight)) + 'px;left:0px;height:1px;width:' + screenwidth + 'px;background-color:rgba(255,0,0,0.5);"></hr>';
} else {
bcircleoflatitude+='<span onclick="event.stopPropagation(); if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) { alert(this.title); }" title="At prompt window, prefixing, and persevering, CSS map image styling available (and able to be turned off via nocssplease and special decimal entity number parts for emojis eg. pin:128204; (versus ' + String.fromCodePoint(128205) + ') compass:127993; (versus ' + String.fromCodePoint(129517) + ') eg. filter:sepia(74%); Or you can specify <st' + 'yle></st' + 'yle> non-persevering or <st' + 'yle></ST' + 'YLE> persevering CSS of your own (or use a URL ending with .css (or persevering .CSS)) to begin with and/or <sc' + 'ript></sc' + 'ript> non-persevering or <sc' + 'ript></SC' + 'RIPT> persevering Javascript of your own (or use a URL ending with .js (or persevering .JS)) to begin with" style="z-index:675;position:' + posval + ';top:' + eval(10 + eval(eval(lglat - eval('' + latis)) / eval(lglat - smlat) * eval(screenheight))) + 'px;left:0px;">  ' + (('' + latis).replace('-','') + (('' + latis).substring(0,1) == '-' ? 'S' : 'N')).replace(/^90N$/g,'   North Pole').replace(/^90S$/g,'   South Pole').replace(/^0N$/g,'   Equator').replace(/^0S$/g,' Equator').replace(/S$/g,'°S').replace(/N$/g,'°N') + '</span><hr id=mydl title="Circle of latitude ' + latis + '" style="border-style:dotted;z-index:675;position:' + posval + ';top:' + eval(eval(lglat - eval('' + latis)) / eval(lglat - smlat) * eval(screenheight)) + 'px;left:0px;height:1px;width:' + screenwidth + 'px;background-color:rgba(255,0,0,0.1);"></hr>';
}
}
}
if (al == 70) {
bcircleoflatitude+='<span onclick="event.stopPropagation(); if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) { alert(this.title); }" title="At prompt window, prefixing, and persevering, CSS map image styling available (and able to be turned off via nocssplease and special decimal entity number parts for emojis eg. pin:128204; (versus ' + String.fromCodePoint(128205) + ') compass:127993; (versus ' + String.fromCodePoint(129517) + ') eg. filter:sepia(74%); Or you can specify <st' + 'yle></st' + 'yle> non-persevering or <st' + 'yle></ST' + 'YLE> persevering CSS of your own (or use a URL ending with .css (or persevering .CSS)) to begin with and/or <sc' + 'ript></sc' + 'ript> non-persevering or <sc' + 'ript></SC' + 'RIPT> persevering Javascript of your own (or use a URL ending with .js (or persevering .JS)) to begin with" style="z-index:675;position:' + posval + ';top:' + eval(10 + eval(eval(lglat - eval(66 + 34 / 60)) / eval(lglat - smlat) * eval(screenheight))) + 'px;left:0px;">  ' + 'Arctic Circle' + '</span><hr class=mydl title="Circle of latitude ' + eval(66 + 34 / 60) + '" style="z-index:675;position:' + posval + ';top:' + eval(eval(lglat - eval(66 + 34 / 60)) / eval(lglat - smlat) * eval(screenheight)) + 'px;left:0px;height:1px;width:' + screenwidth + 'px;background-color:rgba(0,255,0,0.5);"></hr>';
}
if (al == 30) {
bcircleoflatitude+='<span onclick="event.stopPropagation(); if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) { alert(this.title); }" title="At prompt window, prefixing, and persevering, CSS map image styling available (and able to be turned off via nocssplease and special decimal entity number parts for emojis eg. pin:128204; (versus ' + String.fromCodePoint(128205) + ') compass:127993; (versus ' + String.fromCodePoint(129517) + ') eg. filter:sepia(74%); Or you can specify <st' + 'yle></st' + 'yle> non-persevering or <st' + 'yle></ST' + 'YLE> persevering CSS of your own (or use a URL ending with .css (or persevering .CSS)) to begin with and/or <sc' + 'ript></sc' + 'ript> non-persevering or <sc' + 'ript></SC' + 'RIPT> persevering Javascript of your own (or use a URL ending with .js (or persevering .JS)) to begin with" style="z-index:675;position:' + posval + ';top:' + eval(10 + eval(eval(lglat - eval(23 + 26 / 60)) / eval(lglat - smlat) * eval(screenheight))) + 'px;left:0px;">  ' + 'Tropic of Cancer' + '</span><hr class=mydl title="Circle of latitude ' + eval(23 + 26 / 60) + '" style="z-index:675;position:' + posval + ';top:' + eval(eval(lglat - eval(23 + 26 / 60)) / eval(lglat - smlat) * eval(screenheight)) + 'px;left:0px;height:1px;width:' + screenwidth + 'px;background-color:rgba(0,255,0,0.5);"></hr>';
}
if (al == -20) {
bcircleoflatitude+='<span onclick="event.stopPropagation(); if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) { alert(this.title); }" title="At prompt window, prefixing, and persevering, CSS map image styling available (and able to be turned off via nocssplease and special decimal entity number parts for emojis eg. pin:128204; (versus ' + String.fromCodePoint(128205) + ') compass:127993; (versus ' + String.fromCodePoint(129517) + ') eg. filter:sepia(74%); Or you can specify <st' + 'yle></st' + 'yle> non-persevering or <st' + 'yle></ST' + 'YLE> persevering CSS of your own (or use a URL ending with .css (or persevering .CSS)) to begin with and/or <sc' + 'ript></sc' + 'ript> non-persevering or <sc' + 'ript></SC' + 'RIPT> persevering Javascript of your own (or use a URL ending with .js (or persevering .JS)) to begin with" style="z-index:675;position:' + posval + ';top:' + eval(10 + eval(eval(lglat - eval(-23 - 26 / 60)) / eval(lglat - smlat) * eval(screenheight))) + 'px;left:0px;">  ' + 'Tropic of Capricorn' + '</span><hr class=mydl title="Circle of latitude ' + eval(-23 - 26 / 60) + '" style="z-index:675;position:' + posval + ';top:' + eval(eval(lglat - eval(-23 - 26 / 60)) / eval(lglat - smlat) * eval(screenheight)) + 'px;left:0px;height:1px;width:' + screenwidth + 'px;background-color:rgba(0,255,0,0.5);"></hr>';
}
if (al == -60) {
bcircleoflatitude+='<span onclick="event.stopPropagation(); if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) { alert(this.title); }" title="At prompt window, prefixing, and persevering, CSS map image styling available (and able to be turned off via nocssplease and special decimal entity number parts for emojis eg. pin:128204; (versus ' + String.fromCodePoint(128205) + ') compass:127993; (versus ' + String.fromCodePoint(129517) + ') eg. filter:sepia(74%); Or you can specify <st' + 'yle></st' + 'yle> non-persevering or <st' + 'yle></ST' + 'YLE> persevering CSS of your own (or use a URL ending with .css (or persevering .CSS)) to begin with and/or <sc' + 'ript></sc' + 'ript> non-persevering or <sc' + 'ript></SC' + 'RIPT> persevering Javascript of your own (or use a URL ending with .js (or persevering .JS)) to begin with" style="z-index:675;position:' + posval + ';top:' + eval(10 + eval(eval(lglat - eval(-66 - 34 / 60)) / eval(lglat - smlat) * eval(screenheight))) + 'px;left:0px;">  ' + 'Antarctic Circle' + '</span><hr class=mydl title="Circle of latitude ' + eval(-66 - 34 / 60) + '" style="z-index:675;position:' + posval + ';top:' + eval(eval(lglat - eval(-66 - 34 / 60)) / eval(lglat - smlat) * eval(screenheight)) + 'px;left:0px;height:1px;width:' + screenwidth + 'px;background-color:rgba(0,255,0,0.5);"></hr>';
}
}
}
for (var am=-180; am<=250; am+=10) {
if (am >= smlong && am <= lglong) {
if (Math.abs(longis - am) <= 5) {
if (ameridian == '') {
if (('' + longis).split('.0')[0].slice(-1) == '0') {
bmeridian+='<span onclick="event.stopPropagation(); if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) { alert(this.title); }" title="At prompt window, prefixing, and persevering, CSS map image styling available (and able to be turned off via nocssplease and special decimal entity number parts for emojis eg. pin:128204; (versus ' + String.fromCodePoint(128205) + ') compass:127993; (versus ' + String.fromCodePoint(129517) + ') eg. filter:sepia(74%); Or you can specify <st' + 'yle></st' + 'yle> non-persevering or <st' + 'yle></ST' + 'YLE> persevering CSS of your own (or use a URL ending with .css (or persevering .CSS)) to begin with and/or <sc' + 'ript></sc' + 'ript> non-persevering or <sc' + 'ript></SC' + 'RIPT> persevering Javascript of your own (or use a URL ending with .js (or persevering .JS)) to begin with" style="z-index:675;position:' + posval + ';left:' + eval(eval(eval('' + longis) - smlong) / eval(lglong - smlong) * eval(screenwidth)) + 'px;top:90px;">  ' + (('' + longis).replace('-','') + (('' + longis).substring(0,1) == '-' ? 'W' : 'E')).replace(/^0E$/g,' Greenwich<br> Meridian').replace(/^180E/g,'  International<br>  Date<br>  Line').replace(/^180W/g,'International<br> Date<br> Line').replace('E','°E').replace('W','°W') + '</span><hr id=mydm title="Meridian ' + longis + '" style="z-index:675;position:' + posval + ';left:' + eval(eval(eval('' + longis) - smlong) / eval(lglong - smlong) * eval(screenwidth)) + 'px;top:0px;height:' + screenheight + 'px;width:1px;background-color:rgba(255,0,0,0.5);"></hr>';
} else {
bmeridian+='<span onclick="event.stopPropagation(); if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) { alert(this.title); }" title="At prompt window, prefixing, and persevering, CSS map image styling available (and able to be turned off via nocssplease and special decimal entity number parts for emojis eg. pin:128204; (versus ' + String.fromCodePoint(128205) + ') compass:127993; (versus ' + String.fromCodePoint(129517) + ') eg. filter:sepia(74%); Or you can specify <st' + 'yle></st' + 'yle> non-persevering or <st' + 'yle></ST' + 'YLE> persevering CSS of your own (or use a URL ending with .css (or persevering .CSS)) to begin with and/or <sc' + 'ript></sc' + 'ript> non-persevering or <sc' + 'ript></SC' + 'RIPT> persevering Javascript of your own (or use a URL ending with .js (or persevering .JS)) to begin with" style="z-index:675;position:' + posval + ';left:' + eval(eval(eval('' + longis) - smlong) / eval(lglong - smlong) * eval(screenwidth)) + 'px;top:90px;">  ' + (('' + longis).replace('-','') + (('' + longis).substring(0,1) == '-' ? 'W' : 'E')).replace(/^0E$/g,' Greenwich<br> Meridian').replace(/^180E/g,'  International<br>  Date<br>  Line').replace(/^180W/g,'International<br> Date<br> Line').replace('E','°E').replace('W','°W') + '</span><hr id=mydm title="Meridian ' + longis + '" style="z-index:675;border-style:dotted;position:' + posval + ';left:' + eval(eval(eval('' + longis) - smlong) / eval(lglong - smlong) * eval(screenwidth)) + 'px;top:0px;height:' + screenheight + 'px;width:1px;background-color:rgba(255,0,0,0.1);"></hr>';
}
}
}
if (am > 180) {
bmeridian+='<span onclick="event.stopPropagation(); if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) { alert(this.title); }" title="At prompt window, prefixing, and persevering, CSS map image styling available (and able to be turned off via nocssplease and special decimal entity number parts for emojis eg. pin:128204; (versus ' + String.fromCodePoint(128205) + ') compass:127993; (versus ' + String.fromCodePoint(129517) + ') eg. filter:sepia(74%); Or you can specify <st' + 'yle></st' + 'yle> non-persevering or <st' + 'yle></ST' + 'YLE> persevering CSS of your own (or use a URL ending with .css (or persevering .CSS)) to begin with and/or <sc' + 'ript></sc' + 'ript> non-persevering or <sc' + 'ript></SC' + 'RIPT> persevering Javascript of your own (or use a URL ending with .js (or persevering .JS)) to begin with" style="z-index:675;position:' + posval + ';left:' + eval(eval(am - smlong) / eval(lglong - smlong) * eval(screenwidth)) + 'px;top:' + topc + 'px;">  ' + (('' + eval(am - 360)).replace('-','') + (('' + eval(am - 360)).substring(0,1) == '-' ? 'W' : 'E')).replace(/^0E$/g,' Greenwich<br> Meridian').replace(/^180E/g,'  International<br>  Date<br>  Line').replace(/^180W/g,'International<br> Date<br> Line').replace('E','°E').replace('W','°W') + '</span><hr class=mydm title="Meridian ' + eval(am - 180) + '" style="z-index:675;position:' + posval + ';left:' + eval(eval(am - smlong) / eval(lglong - smlong) * eval(screenwidth)) + 'px;top:0px;height:' + screenheight + 'px;width:1px;background-color:rgba(255,0,0,0.5);"></hr>';
} else {
bmeridian+='<span onclick="event.stopPropagation(); if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) { alert(this.title); }" title="At prompt window, prefixing, and persevering, CSS map image styling available (and able to be turned off via nocssplease and special decimal entity number parts for emojis eg. pin:128204; (versus ' + String.fromCodePoint(128205) + ') compass:127993; (versus ' + String.fromCodePoint(129517) + ') eg. filter:sepia(74%); Or you can specify <st' + 'yle></st' + 'yle> non-persevering or <st' + 'yle></ST' + 'YLE> persevering CSS of your own (or use a URL ending with .css (or persevering .CSS)) to begin with and/or <sc' + 'ript></sc' + 'ript> non-persevering or <sc' + 'ript></SC' + 'RIPT> persevering Javascript of your own (or use a URL ending with .js (or persevering .JS)) to begin with" style="z-index:675;position:' + posval + ';left:' + eval(eval(am - smlong) / eval(lglong - smlong) * eval(screenwidth)) + 'px;top:' + topc + 'px;">  ' + (('' + am).replace('-','') + (('' + am).substring(0,1) == '-' ? 'W' : 'E')).replace(/^0E$/g,' Greenwich<br> Meridian').replace(/^180E/g,'  International<br>  Date<br>  Line').replace(/^180W/g,'International<br> Date<br> Line').replace('E','°E').replace('W','°W') + '</span><hr class=mydm title="Meridian ' + am + '" style="z-index:675;position:' + posval + ';left:' + eval(eval(am - smlong) / eval(lglong - smlong) * eval(screenwidth)) + 'px;top:0px;height:' + screenheight + 'px;width:1px;background-color:rgba(255,0,0,0.5);"></hr>';
}
}
}
}

function minusetc(insg) {
var outsg=insg;
var iout=0, outsm=insg.split('-');
if (eval('' + outsm.length) > 1) {
for (iout=1; iout<outsm.length; iout++) {
if (outsm[eval(-1 + iout)].toUpperCase().indexOf('TIMOR') != -1 && outsm[eval(0 + iout)].toUpperCase().indexOf('LESTE') != -1) {
outsg=outsg.replace(outsm[eval(-1 + iout)] + '-' + outsm[eval(0 + iout)], outsm[eval(-1 + iout)] + '%2d' + outsm[eval(0 + iout)]);
} else if (outsm[eval(-1 + iout)].toUpperCase().indexOf('GUINEA') != -1 && outsm[eval(0 + iout)].toUpperCase().indexOf('BISSAU') != -1) {
outsg=outsg.replace(outsm[eval(-1 + iout)] + '-' + outsm[eval(0 + iout)], outsm[eval(-1 + iout)] + '%2d' + outsm[eval(0 + iout)]);
}
}
}
outsg=outsg.replace(/\|\-/g,'|_').replace(/\-/g,',').replace(/\ from\ /g,',').replace(/\ to\ /g,',').replace(/\ FROM\ /g,',').replace(/\ TO\ /g,',').replace(/\%2d/g,'-');
return outsg;
}

function dolater() {
if (neverscragain.indexOf(dscriptstuff.replace(dscriptstuff.split('>')[0] + '>', '').split('</s')[0]) == -1) {
var tag = document.createElement('script');
tag.setAttribute("type", "text/javascript");
neverscragain+=dscriptstuff.replace(dscriptstuff.split('>')[0] + '>', '').split('</s')[0];
//alert('script is ' + dscriptstuff.replace(dscriptstuff.split('>')[0] + '>', '').split('</s')[0]);
tag.innerHTML = dscriptstuff.replace(dscriptstuff.split('>')[0] + '>', '').split('</s')[0];
if (7 == 7) {
document.body.appendChild(tag);
} else {
var firstScriptTag = document.getElementsByTagName('script')[eval(-1 + document.getElementsByTagName('script').length)];
//alert(firstScriptTag.innerHTML.length);
firstScriptTag.parentNode.insertAfter(tag, firstScriptTag);
//alert(firstScriptTag.parentNode.innerHTML.length);
//alert(document.head.innerHTML.slice(-300));
}
}
}

function processinline(zretc) {
var ssss=[], jpos=-1, endtag='', jss=0, suffis='', prefis='';
var wasdstylestuff=dstylestuff;
var wasdscriptstuff=dscriptstuff;
var wasexdstylestuff=exdstylestuff;
var wasexdscriptstuff=exdscriptstuff;
wasprefixingstuff=prefixingstuff;
//alert('here at processinline prefixingstuff=' + prefixingstuff);
ssss=zretc.replace(/\<\/S/g, '</s').split('</s');
if (eval('' + ssss.length) > 1) {
for (jss=eval(-1 + ssss.length); jss>=1; jss--) {
switch (ssss[jss].substring(0,4).toLowerCase()) {
case 'tyle':
endtag='</st' + 'yle>';
if (ssss[jss].substring(0,4).toLowerCase() != ssss[jss].substring(0,4)) {
endtag='</sT' + 'YLE>';
}
if (jss > 1) {
jpos=eval(eval('' + zretc.indexOf(ssss[eval(-1 + jss)])) + eval('' + (ssss[eval(-1 + jss)].split('>')[0] + '>').length));
//dstylestuff+=(ssss[eval(-1 + jss)].replace(ssss[eval(-1 + jss)].split('>')[0] + '>', '') + endtag).substring((ssss[eval(-1 + jss)].replace(ssss[eval(-1 + jss)].split('>')[0] + '>', '') + endtag).indexOf('<'));
zretc=zretc.replace(zretc.substring(jpos).substring(0,eval('' + (ssss[eval(-1 + jss)].replace(ssss[eval(-1 + jss)].split('>')[0] + '>', '') + endtag).length)) + ';', '');
zretc=zretc.replace(zretc.substring(jpos).substring(0,eval('' + (ssss[eval(-1 + jss)].replace(ssss[eval(-1 + jss)].split('>')[0] + '>', '') + endtag).length)), '');
if (neveragain.indexOf(ssss[eval(-1 + jss)].replace(ssss[eval(-1 + jss)].split('>')[0] + '>', '') + endtag) == -1 && document.getElementById('xdstylestuff').innerHTML.indexOf(ssss[eval(-1 + jss)].replace(ssss[eval(-1 + jss)].split('>')[0] + '>', '')) == -1) {
dstylestuff+=(ssss[eval(-1 + jss)].replace(ssss[eval(-1 + jss)].split('>')[0] + '>', '') + endtag).substring((ssss[eval(-1 + jss)].replace(ssss[eval(-1 + jss)].split('>')[0] + '>', '') + endtag).indexOf('<'));
document.getElementById('xdstylestuff').innerHTML+=(ssss[eval(-1 + jss)].replace(ssss[eval(-1 + jss)].split('>')[0] + '>', '') + endtag).substring((ssss[eval(-1 + jss)].replace(ssss[eval(-1 + jss)].split('>')[0] + '>', '') + endtag).indexOf('<')); //ssss[eval(-1 + jss)].replace(ssss[eval(-1 + jss)].split('>')[0] + '>', '') + endtag;
//alert(endtag + ' ... ' + ssss[jss].substring(0,4) + ' ... ' + document.getElementById('xdstylestuff').innerHTML);
if (ssss[jss].substring(0,4).toLowerCase() != ssss[jss].substring(0,4)) {
if (neveragain.indexOf(ssss[eval(-1 + jss)].replace(ssss[eval(-1 + jss)].split('>')[0] + '>', '') + endtag) == -1 && prefixingstuff.indexOf(ssss[eval(-1 + jss)].replace(ssss[eval(-1 + jss)].split('>')[0] + '>', '') + endtag) == -1) {
prefixingstuff+=ssss[eval(-1 + jss)].replace(ssss[eval(-1 + jss)].split('>')[0] + '>', '') + endtag;
console.log('m:' + prefixingstuff);
neveragain+=ssss[eval(-1 + jss)].replace(ssss[eval(-1 + jss)].split('>')[0] + '>', '') + endtag;
//alert(prefixingstuff);
}
}
}
} else {
jpos=eval(eval('' + zretc.indexOf(ssss[eval(-1 + jss)])) + 0);
//dstylestuff+=(ssss[eval(-1 + jss)] + endtag).substring((ssss[eval(-1 + jss)] + endtag).indexOf('<'));
zretc=zretc.replace(zretc.substring(jpos).substring(0,eval('' + (ssss[eval(-1 + jss)] + endtag).length)) + ';', '');
zretc=zretc.replace(zretc.substring(jpos).substring(0,eval('' + (ssss[eval(-1 + jss)] + endtag).length)), '');
if (neveragain.indexOf(ssss[eval(-1 + jss)] + endtag) == -1 && document.getElementById('xdstylestuff').innerHTML.indexOf(ssss[eval(-1 + jss)]) == -1) {
dstylestuff+=(ssss[eval(-1 + jss)] + endtag).substring((ssss[eval(-1 + jss)] + endtag).indexOf('<'));
document.getElementById('xdstylestuff').innerHTML+=(ssss[eval(-1 + jss)] + endtag).substring((ssss[eval(-1 + jss)] + endtag).indexOf('<')); //(ssss[eval(-1 + jss)] + endtag).substring((ssss[eval(-1 + jss)] + endtag).indexOf('<')); //ssss[eval(-1 + jss)] + endtag;
//alert(endtag + ' .;. ' + ssss[jss].substring(0,4) + ' .;. ' + document.getElementById('xdstylestuff').innerHTML);
if (ssss[jss].substring(0,4).toLowerCase() != ssss[jss].substring(0,4)) {
if (neveragain.indexOf(ssss[eval(-1 + jss)] + endtag) == -1 && prefixingstuff.indexOf(ssss[eval(-1 + jss)] + endtag) == -1) {
prefixingstuff+=ssss[eval(-1 + jss)] + endtag;
console.log('n:' + prefixingstuff);
neveragain+=ssss[eval(-1 + jss)] + endtag;
//alert(prefixingstuff);
}
}
}
}
break;

case 'crip':
endtag='</sc' + 'ript>';
if (ssss[jss].substring(0,4).toLowerCase() != ssss[jss].substring(0,4)) {
endtag='</sC' + 'RIPT>';
}
if (jss > 1) {
jpos=eval(eval('' + zretc.indexOf(ssss[eval(-1 + jss)])) + eval('' + (ssss[eval(-1 + jss)].split('>')[0] + '>').length));
//dscriptstuff+=(ssss[eval(-1 + jss)].replace(ssss[eval(-1 + jss)].split('>')[0] + '>', '') + endtag).substring((ssss[eval(-1 + jss)].replace(ssss[eval(-1 + jss)].split('>')[0] + '>', '') + endtag).indexOf('<'));
//alert('dscriptstuff=' + dscriptstuff);
zretc=zretc.replace(zretc.substring(jpos).substring(0,eval('' + (ssss[eval(-1 + jss)].replace(ssss[eval(-1 + jss)].split('>')[0] + '>', '') + endtag).length)) + ';', '');
zretc=zretc.replace(zretc.substring(jpos).substring(0,eval('' + (ssss[eval(-1 + jss)].replace(ssss[eval(-1 + jss)].split('>')[0] + '>', '') + endtag).length)), '');
if (neveragain.indexOf(ssss[eval(-1 + jss)].replace(ssss[eval(-1 + jss)].split('>')[0] + '>', '') + endtag) == -1 && document.getElementById('xdscriptstuff').innerHTML.indexOf(ssss[eval(-1 + jss)].replace(ssss[eval(-1 + jss)].split('>')[0] + '>', '')) == -1) {
dscriptstuff+=(ssss[eval(-1 + jss)].replace(ssss[eval(-1 + jss)].split('>')[0] + '>', '') + endtag).substring((ssss[eval(-1 + jss)].replace(ssss[eval(-1 + jss)].split('>')[0] + '>', '') + endtag).indexOf('<'));
//alert('dscriptstuff=' + dscriptstuff);
document.getElementById('xdscriptstuff').innerHTML+=(ssss[eval(-1 + jss)].replace(ssss[eval(-1 + jss)].split('>')[0] + '>', '') + endtag).substring((ssss[eval(-1 + jss)].replace(ssss[eval(-1 + jss)].split('>')[0] + '>', '') + endtag).indexOf('<')); //ssss[eval(-1 + jss)].replace(ssss[eval(-1 + jss)].split('>')[0] + '>', '') + endtag;
if (ssss[jss].substring(0,4).toLowerCase() != ssss[jss].substring(0,4)) {
if (neveragain.indexOf(ssss[eval(-1 + jss)].replace(ssss[eval(-1 + jss)].split('>')[0] + '>', '') + endtag) == -1 && prefixingstuff.indexOf(ssss[eval(-1 + jss)].replace(ssss[eval(-1 + jss)].split('>')[0] + '>', '') + endtag) == -1) {
prefixingstuff+=ssss[eval(-1 + jss)].replace(ssss[eval(-1 + jss)].split('>')[0] + '>', '') + endtag;
console.log('o:' + prefixingstuff);
neveragain+=ssss[eval(-1 + jss)].replace(ssss[eval(-1 + jss)].split('>')[0] + '>', '') + endtag;
}
}
}
} else {
jpos=eval(eval('' + zretc.indexOf(ssss[eval(-1 + jss)])) + 0);
//dscriptstuff+=(ssss[eval(-1 + jss)] + endtag).substring((ssss[eval(-1 + jss)] + endtag).indexOf('<'));
zretc=zretc.replace(zretc.substring(jpos).substring(0,eval('' + (ssss[eval(-1 + jss)] + endtag).length)) + ';', '');
zretc=zretc.replace(zretc.substring(jpos).substring(0,eval('' + (ssss[eval(-1 + jss)] + endtag).length)), '');
if (neveragain.indexOf(ssss[eval(-1 + jss)] + endtag) == -1 && document.getElementById('xdscriptstuff').innerHTML.indexOf(ssss[eval(-1 + jss)]) == -1) {
dscriptstuff+=(ssss[eval(-1 + jss)] + endtag).substring((ssss[eval(-1 + jss)] + endtag).indexOf('<'));
document.getElementById('xdscriptstuff').innerHTML+=(ssss[eval(-1 + jss)] + endtag).substring((ssss[eval(-1 + jss)] + endtag).indexOf('<')); //ssss[eval(-1 + jss)] + endtag;
if (ssss[jss].substring(0,4).toLowerCase() != ssss[jss].substring(0,4)) {
if (neveragain.indexOf(ssss[eval(-1 + jss)] + endtag) == -1 && prefixingstuff.indexOf(ssss[eval(-1 + jss)] + endtag) == -1) {
prefixingstuff+=ssss[eval(-1 + jss)] + endtag;
console.log('p:' + prefixingstuff);
neveragain+=ssss[eval(-1 + jss)] + endtag;
}
}
}
}
break;

default:
break;

}
}
}

if (wasdscriptstuff != dscriptstuff) { // dynamic Javascript (ideas via YouTube API Embedded Iframe API ... thanks)
if (7 == 7) {
setTimeout(dolater, 8000);
} else {
if (neverscragain.indexOf(dscriptstuff.replace(dscriptstuff.split('>')[0] + '>', '').split('</s')[0]) == -1) {
var tag = document.createElement('script');
tag.setAttribute("type", "text/javascript");
neverscragain+=dscriptstuff.replace(dscriptstuff.split('>')[0] + '>', '').split('</s')[0];
//alert('sCript is ' + dscriptstuff.replace(dscriptstuff.split('>')[0] + '>', '').split('</s')[0]);
tag.innerHTML = dscriptstuff.replace(dscriptstuff.split('>')[0] + '>', '').split('</s')[0];
if (7 == 7) {
document.body.appendChild(tag);
} else {
var firstScriptTag = document.getElementsByTagName('script')[eval(-1 + document.getElementsByTagName('script').length)];
firstScriptTag.parentNode.insertAfter(tag, firstScriptTag);
//alert(document.head.innerHTML.slice(-300));
}
wasdscriptstuff=dscriptstuff;
}
}
}

ssss=zretc.split(' ');
if (eval('' + ssss.length) > 1) {
for (jss=0; jss<ssss.length; jss++) {
if (ssss[jss].toLowerCase().slice(-4) == '.css') {
if (ssss[jss].indexOf('filecss:') == -1) {
zretc=zretc.replace(ssss[jss], 'filecss:' + ssss[jss] + ';');
} else {
zretc=zretc.replace(ssss[jss], ssss[jss] + ';');
}
}
if (ssss[jss].toLowerCase().slice(-3) == '.js') {
//alert('4:' + zretc);
if (ssss[jss].indexOf('filescript:') == -1) {
zretc=zretc.replace(ssss[jss], 'filescript:' + ssss[jss] + ';');
} else {
zretc=zretc.replace(ssss[jss], ssss[jss] + ';');
}
//alert('44:' + zretc);
}
}
}

ssss=zretc.replace(/\.CSS/g, '.css').split('.css');
if (eval('' + ssss.length) > 1) {
for (jss=0; jss<ssss.length; jss++) {
if (eval('' + ssss[jss].length) > 1) {
suffis='';
prefis='';
if ((ssss[eval(1 + jss)] + ' ').substring(0,1) != ';') {
suffis=';';
}
if (ssss[jss].toLowerCase().indexOf('filecss:') == -1) {
if (jss == 0) {
prefis='filecss:';
} else if (ssss[jss].indexOf('.js;') != -1) {
zretc=zretc.replace('.js;', '.js;filecss:');
} else if (ssss[jss].indexOf('.JS;') != -1) {
zretc=zretc.replace('.JS;', '.JS;filecss:');
} else if (ssss[jss].indexOf('.js') != -1) {
zretc=zretc.replace('.js', '.js;filecss:');
} else if (ssss[jss].indexOf('.JS') != -1) {
zretc=zretc.replace('.JS', '.JS;filecss:');
} else if (ssss[jss].indexOf('HTTP') != -1) {
zretc=zretc.replace('HTTP', 'filecss:HTTP');
} else if (ssss[jss].indexOf('http') != -1) {
zretc=zretc.replace('http', 'filecss:http');
} else if (ssss[jss].indexOf('//') != -1) {
zretc=zretc.replace('//', 'filecss://');
} else if (ssss[jss].indexOf('www.') != -1) {
zretc=zretc.replace('www.', 'filecss://www.');
}
}
if ((prefis + suffis) != '') {
zretc=zretc.replace(ssss[jss] + zretc.split(ssss[jss])[1].substring(0,4), prefis + ssss[jss] + zretc.split(ssss[jss])[1].substring(0,4) + suffis);
}
}
}
}

ssss=zretc.replace(/\.JS/g, '.js').split('.js');
if (eval('' + ssss.length) > 1) {
//alert('6:' + zretc);
for (jss=0; jss<ssss.length; jss++) {
if (eval('' + ssss[jss].length) > 1) {
suffis='';
prefis='';
if ((ssss[eval(1 + jss)] + ' ').substring(0,1) != ';') {
suffis=';';
}
if (ssss[jss].toLowerCase().indexOf('filescript:') == -1) {
if (jss == 0) {
prefis='filescript:';
} else if (ssss[jss].indexOf('.css;') != -1) {
zretc=zretc.replace('.css;', '.css;filescript:');
} else if (ssss[jss].indexOf('.CSS;') != -1) {
zretc=zretc.replace('.CSS;', '.CSS;filescript:');
} else if (ssss[jss].indexOf('.css') != -1) {
zretc=zretc.replace('.css', '.css;filescript:');
} else if (ssss[jss].indexOf('.CSS') != -1) {
zretc=zretc.replace('.CSS', '.CSS;filescript:');
} else if (ssss[jss].indexOf('HTTP') != -1) {
zretc=zretc.replace('HTTP', 'filescript:HTTP');
} else if (ssss[jss].indexOf('http') != -1) {
zretc=zretc.replace('http', 'filescript:http');
} else if (ssss[jss].indexOf('//') != -1) {
zretc=zretc.replace('//', 'filescript://');
} else if (ssss[jss].indexOf('www.') != -1) {
zretc=zretc.replace('www.', 'filescript://www.');
}
}
if ((prefis + suffis) != '') {
//alert('676:' + ssss[jss] + ' plus ' + zretc.split(ssss[jss])[1].substring(0,3) + ' from ' + zretc);
zretc=zretc.replace(ssss[jss] + zretc.split(ssss[jss])[1].substring(0,3), prefis + ssss[jss] + zretc.split(ssss[jss])[1].substring(0,3) + suffis);
}
}
}
//alert('66:' + zretc);
}

zretc=zretc.replace(/FILECSS\:/g, 'filecss:').replace(/FILESCRIPT\:/g, 'filescript:');
//alert('7:' + zretc);

ssss=zretc.split('filescript:');
for (jss=1; jss<ssss.length; jss++) {
if (ssss[jss].split(';')[0].indexOf('.JS') != -1) {
if (neveragain.indexOf('filescript:' + ssss[jss].split(';')[0] + ';') == -1 && prefixingstuff.indexOf('filescript:' + ssss[jss].split(';')[0] + ';') == -1) {
prefixingstuff+='filescript:' + ssss[jss].split(';')[0] + ';';
console.log('q:' + prefixingstuff);
neveragain+='filescript:' + ssss[jss].split(';')[0] + ';';
}
if (exdscriptstuff.indexOf(ssss[jss].split(';')[0]) == -1) {
exdscriptstuff+='<scr' + 'ipt type=text/javascript src="' + ssss[jss].split(';')[0] + '"></sCR' + 'IPT>';
}
} else {
if (exdscriptstuff.indexOf(ssss[jss].split(';')[0]) == -1) {
exdscriptstuff+='<scr' + 'ipt type=text/javascript src="' + ssss[jss].split(';')[0] + '"></sc' + 'ript>';
}
}
}

ssss=zretc.split('filecss:');
for (jss=1; jss<ssss.length; jss++) {
if (ssss[jss].split(';')[0].indexOf('.CSS') != -1) {
if (neveragain.indexOf('filecss:' + ssss[jss].split(';')[0] + ';') == -1 && prefixingstuff.indexOf('filecss:' + ssss[jss].split(';')[0] + ';') == -1) {
prefixingstuff+='filecss:' + ssss[jss].split(';')[0] + ';';
console.log('r:' + prefixingstuff);
neveragain+='filecss:' + ssss[jss].split(';')[0] + ';';
}
if (exdstylestuff.indexOf(ssss[jss].split(';')[0]) == -1) {
exdstylestuff+='<li' + 'nk type=text/css href="' + ssss[jss].split(';')[0] + '"></lI' + 'NK>';
}
} else {
if (exdstylestuff.indexOf(ssss[jss].split(';')[0]) == -1) {
exdstylestuff+='<li' + 'nk type=text/css href="' + ssss[jss].split(';')[0] + '"></li' + 'nk>';
}
}
}

if (wasprefixingstuff != prefixingstuff) {
try {
//alert('removing');
window.localStorage.removeItem('earth_scanner_externals');
//alert('removing done');
} catch(anoops) {
}
//alert('setting ' + prefixingstuff);
window.localStorage.setItem('earth_scanner_externals', encodeURIComponent(prefixingstuff));
//alert(window.localStorage.getItem('earth_scanner_externals'));
}

if (1 == 6 && wasexdscriptstuff != exdscriptstuff) {
}

if (1 == 6 && wasexdstylestuff != exdstylestuff) {
}

//alert('98:' + zretc);
return zretc.replace(/\;\ \;/g,';').replace(/\;\;/g,';');
}

function processcss(retc) {
var labels=[], ilab=0, thislab='', theval='';;

if ((retc.trim() + ' ').substring(0,1) == '<' || retc.trim().toLowerCase().replace('.css','.js').indexOf('.js') != -1) {
//alert(retc);
retc=processinline(retc);
//alert(retc);
//alert('*' + retc + '*');
}

if (retc.indexOf(';') != -1 && retc.indexOf(':') != -1) {
if (eval('' + retc.indexOf(';')) > eval('' + retc.indexOf(':'))) {
thecss='';
thecssarg='';
while (eval('' + retc.indexOf(';')) > eval('' + retc.indexOf(':'))) {
if (retc.split(':')[0].split(' ')[eval(-1 + retc.split(':')[0].split(' ').length)] == 'pin') {
theval=retc.split(retc.split(':')[0].split(' ')[eval(-1 + retc.split(':')[0].split(' ').length)] + ':')[1].split(';')[0].trim();
if (theval.substring(0,1) == '&') {
thepin=theval + ';';
} else if (theval.substring(0,1) >= '0' && theval.substring(0,1) <= '9') {
thepin='&#' + theval + ';';
} else {
thepin=theval;
}
} else if (retc.split(':')[0].split(' ')[eval(-1 + retc.split(':')[0].split(' ').length)] == 'compass') {
theval=retc.split(retc.split(':')[0].split(' ')[eval(-1 + retc.split(':')[0].split(' ').length)] + ':')[1].split(';')[0].trim();
if (theval.substring(0,1) == '&') {
thecompass=theval + ';';
} else if (theval.substring(0,1) >= '0' && theval.substring(0,1) <= '9') {
thecompass='&#' + theval + ';';
} else {
thecompass=theval;
}
} else {
thecss+=' ' + retc.split(':')[0].split(' ')[eval(-1 + retc.split(':')[0].split(' ').length)] + ':' + retc.split(retc.split(':')[0].split(' ')[eval(-1 + retc.split(':')[0].split(' ').length)] + ':')[1].split(';')[0] + '; ';
labels=retc.split(':')[0].split(' ')[eval(-1 + retc.split(':')[0].split(' ').length)].split('-');
thislab=labels[0].toLowerCase();
for (ilab=1; ilab<labels.length; ilab++) {
thislab+=labels[ilab].substring(0,1).toUpperCase() + labels[ilab].substring(1).toLowerCase();
}
try {
undos.push(" document.getElementById('myimg').style." + thislab + "='none';");
eval(" document.getElementById('myimg').style." + thislab + "='" + retc.split(retc.split(':')[0].split(' ')[eval(-1 + retc.split(':')[0].split(' ').length)] + ':')[1].split(';')[0] + "';");
} catch(hgfjh) {
}
}
retc=retc.replace(retc.split(':')[0].split(' ')[eval(-1 + retc.split(':')[0].split(' ').length)] + ':' + retc.split(retc.split(':')[0].split(' ')[eval(-1 + retc.split(':')[0].split(' ').length)] + ':')[1].split(';')[0] + ';', '');
}
if (thecss.replace('nocssplease',':').indexOf(':') != -1) {
thecssarg='?css=' + encodeURIComponent(thecss);
}
var cflds=thecss.split(':');
if (('' + window.localStorage.getItem('earth_scanner_css')).replace(/^null/g,'').replace(/^undefined/g,'') != '') {
window.localStorage.removeItem('earth_scanner_css');
}
if (('' + window.localStorage.getItem('earth_scanner_externals')).replace(/^null/g,'').replace(/^undefined/g,'') != '') {
window.localStorage.removeItem('earth_scanner_externals');
}
if (cflds[eval(-1 + cflds.length)].trim() != '') {
window.localStorage.setItem('earth_scanner_css', encodeURIComponent(thecss));
} else {
thecss='';
thecssarg='';
if (eval('' + undos.length) > 0) {
for (ilab=0; ilab<undos.length; ilab++) {
eval('' + undos[ilab]);
}
undos=[];
}
}
}
} else if (retc.indexOf(';') == -1 && retc.replace('nocssplease',':').indexOf(':') != -1) {
if (retc.indexOf(':') != -1) {
retc=retc.split(':')[0].split(' ')[eval(-1 + retc.split(':')[0].split(' ').length)] + ':';
if (retc.indexOf('nocssplease') != -1) {
retc=retc.replace('nocssplease' + retc.split('nocssplease')[1].split('-')[0].split('&')[0].split('#')[0].split(';')[0].split('<')[0],'');
}
retc=retc.replace('nocssplease','');
} else {
if (retc.indexOf('nocssplease') != -1) {
retc=retc.replace('nocssplease' + retc.split('nocssplease')[1].split('-')[0].split('&')[0].split('#')[0].split(';')[0].split('<')[0],'');
}
retc=retc.replace('nocssplease','');
}
if (('' + window.localStorage.getItem('earth_scanner_css')).replace(/^null/g,'').replace(/^undefined/g,'') != '') {
window.localStorage.removeItem('earth_scanner_css');
}
if (('' + window.localStorage.getItem('earth_scanner_externals')).replace(/^null/g,'').replace(/^undefined/g,'') != '') {
window.localStorage.removeItem('earth_scanner_externals');
}
thecss='';
thecssarg='';
if (eval('' + undos.length) > 0) {
for (ilab=0; ilab<undos.length; ilab++) {
eval('' + undos[ilab]);
}
undos=[];
}
}
//alert(retc);
return retc;
}

function cssprompt(inb, ind) {
var xretc=prompt(inb, ind);
if (xretc != null) {
xretc=processcss(xretc);
}
return xretc;
}

function ourprompt(e, blurb, defv) {
var lannos=[], fromannos=[];
var prelannos=[], prefromannos=[];
var locans=null, ijk=0, extras='',thatplace='', utzdate, tzDate, xdate1, xextratztime, xextraemj, xdiff;
var tllg=-180,tlla=90,brlg=-180,brla=90;
if (eval(uc_iso_country_codes.length) == 0) {
for (ijk=0; ijk<iso_country_codes.length; ijk++) {
uc_iso_country_codes.push(iso_country_codes[ijk].toUpperCase());
}
}
if (defv == '') {
e = e || window.event;
e.preventDefault();
if (e.touches) {
if (e.touches[0].pageX) {
xinxy.push(eval(e.touches[0].pageX + document.body.scrollLeft * 0) * 1);
yinxy.push(eval(e.touches[0].pageY + document.body.scrollTop * 0) * 1);
} else {
xinxy.push(eval(e.touches[0].clientX + document.body.scrollLeft * 0) * 1);
yinxy.push(eval(e.touches[0].clientY + document.body.scrollTop * 0) * 1);
}
} else if (e.clientX || e.clientY) {
xinxy.push(e.clientX + document.body.scrollLeft * 0);
yinxy.push(e.clientY + document.body.scrollTop * 0);
} else {
xinxy.push(e.pageX + document.body.scrollLeft * 0);
yinxy.push(e.pageY + document.body.scrollTop * 0);
}
var llsa=blurb.split(') (')[1];
//alert(blurb + ' ... ' + llsa);
tllg=eval(llsa.split(',')[0]);
tlla=eval(llsa.split(',')[1].split(')')[0]);
brlg=eval(llsa.split('(')[1].split(',')[0]);
brla=eval(llsa.split('(')[1].split(',')[1].split(')')[0]);
thislong=eval(tllg + eval(eval(xinxy[eval(-1 + xinxy.length)] / screenwidth) * eval(screenlong)));
thislat=eval(tlla - eval(eval(yinxy[eval(-1 + yinxy.length)] / screenheight) * eval(screenlat)));
var nearbyfour=retnearest(thislong, thislat);
//alert(nearbyfour);
var aatm='youllneverfindthis';
var bbtm=String.fromCharCode(9);
if (blurb.indexOf('Thanks to ') != -1) {
if (blurb.split('Thanks to ')[1].indexOf(' ...') != -1) {
bbtm='Thanks to ' + blurb.split('Thanks to ')[1].split(' ...')[0] + ' ...';
}
}
if (blurb.indexOf(' and around the middle ') != -1) {
aatm=' and around the middle ' + blurb.split(' and around the middle ')[1].split(')')[0] + ')';
}
var ourblurb=null;
ourblurb=(blurb.replace(bbtm,'').replace('Currently top ','Top ').replace(' in terms of ',' as ').replace(aatm, '').replace(/\ and\ /g,' & ').replace('? ', '? ' + ' Nearest timezone place (via N) is ' + nearbyfour.split('|')[3] + ' at [' + nearbyfour.split('|')[0] + ',' + nearbyfour.split('|')[1] + '] to your clicked (via C) [' + thislong + ',' + thislat + '] ') + bbtm.replace(String.fromCharCode(9),'')).replace(String.fromCharCode(10),' ').replace(String.fromCharCode(10),' ').replace(String.fromCharCode(10),' ').replace(String.fromCharCode(10),' ');
} else {
cseplocans=defv;
//alert('cseplocans=' + cseplocans);
//defv='';
}
if (prevf.indexOf(',') != -1 || defv != '') {
if (defv == '') {
if (Math.abs(eval(prevf.split(',')[0]) - tllg) <= 0.5) {
prevf='' + prevone + ',' + prevtwo + ',' + prevthree + ',' + prevfour;
}
if (Math.abs(eval(prevf.split(',')[0]) - tllg) > 0.5) {
tllg=eval(prevf.split(',')[0]);
tlla=eval(prevf.split(',')[1]);
brlg=eval(prevf.split(',')[2]);
brla=eval(prevf.split(',')[3]);
var sthislong=eval(tllg + eval(eval(xinxy[eval(-1 + xinxy.length)] / screenwidth) * eval(screenlong)));
var sthislat=eval(tlla - eval(eval(yinxy[eval(-1 + yinxy.length)] / screenheight) * eval(screenlat)));
var snearbyfour=retnearest(sthislong, sthislat);
//alert(ourblurb + ' ' + prevf + ' vs ' + tllg + ' ... ' + Math.abs(eval(prevf.split(',')[0]) - tllg));
ourblurb=ourblurb.replace('? ', '? ' + ' Nearest timezone place (via P) is ' + snearbyfour.split('|')[3] + ' at [' + snearbyfour.split('|')[0] + ',' + snearbyfour.split('|')[1] + '] to your clicked (via A) [' + sthislong + ',' + sthislat + '] ');
}
}
if (defv == '') {
//cseplocans='';
cseplocans=cssprompt(ourblurb, defv);
var beqts=cseplocans.split('"');
for (var ibeq=1; ibeq<beqts.length; ibeq+=2) {
if (beqts[ibeq].indexOf('-') != -1) {
cseplocans=cseplocans.replace('"' + beqts[ibeq] + '"', beqts[ibeq].replace(/\-/g, '%2d'));
//alert(cseplocans);
}
}
if (cseplocans.trim() != cseplocans.trim().replace(/\?$/g,'') || cseplocans.indexOf('!?') != -1 || cseplocans.indexOf('?!') != -1 || cseplocans.indexOf('?{') != -1 || cseplocans.indexOf('?,') != -1 || cseplocans.indexOf('?-') != -1) {
gdefv=cseplocans;
dountilnoquestion();
scmok=false;
movesallowed=false;
five=0;
setTimeout(scmove, fivethousand);
return null;
}
setTimeout(newhashit, 3000);
} else {
defv='';
}
}
if (cseplocans != null) {
while (cseplocans.indexOf('++') != -1) {
cseplocans=cseplocans.replace('++','');
fivethousand+=1000;
}
if (cseplocans.indexOf('--') != -1) {
if (cseplocans.trim().indexOf('--') == 0) {
cseplocans=cseplocans.replace('--','');
}
if (cseplocans.trim() != cseplocans.trim().replace(/^\-\-$/g,'')) {
cseplocans=cseplocans.replace(cseplocans.trim(), cseplocans.trim().replace(/^\-\-$/g,''));
}
fivethousand-=1000;
}
while (cseplocans.indexOf('<') != -1) {
cseplocans=cseplocans.replace('<','');
reveal=true;
}
while (cseplocans.indexOf('>') != -1) {
cseplocans=cseplocans.replace('>','');
reveal=false;
}
//alert('88:' + cseplocans);
cseplocans=toiuo(cseplocans);
//alert('888:' + cseplocans);
var preannocseplocans=cseplocans;
var precs=cseplocans.split('{'), thisanno='', thisprefix='', thissuffix='';
var prevanno=precs[0];
for (var iprecs=1; iprecs<precs.length; iprecs++) {
//for (var iprecs=eval(-1 + precs.length); iprecs>=1; iprecs--) {
thisanno='{' + precs[iprecs].split('}')[0] + '}';
if (preannocseplocans.indexOf('-' + thisanno) != -1) {
//alert('yes ' + prevanno + ' ... ' + precs[iprecs].split('}')[0]);
lannos.push(precs[iprecs].split('}')[0]);
//prelannos.push(preannocseplocans.split('-' + thisanno)[0].split('{')[eval(-1 + preannocseplocans.split('-' + thisanno)[0].split('{').length)]);
prelannos.push(prevanno);
prevanno='';
} else if (preannocseplocans.indexOf(' from ' + thisanno) != -1) {
//alert('Yes');
fromannos.push(precs[iprecs].split('}')[0]);
prefromannos.push(prevanno);
prevanno='';
} else if (preannocseplocans.indexOf(' FROM ' + thisanno) != -1) {
//alert('Yes');
fromannos.push(precs[iprecs].split('}')[0]);
prefromannos.push(prevanno);
prevanno='';
} else if (preannocseplocans.indexOf(' to ' + thisanno) != -1) {
//alert('YeS');
lannos.push(precs[iprecs].split('}')[0]);
prelannos.push(prevanno);
prevanno='';
} else if (preannocseplocans.indexOf(' TO ' + thisanno) != -1) {
//alert('YEs');
lannos.push(precs[iprecs].split('}')[0]);
prelannos.push(prevanno);
prevanno='';
} else if (iprecs >= 1) {
//alert('YES ' + precs[eval(-2 + iprecs)]);
if (eventualyourtzlist.indexOf('/' + precs[eval(-1 + iprecs)]) != -1) {
prevanno=precs[eval(-1 + iprecs)];
} else if (iprecs > 1) {
prevanno=precs[eval(-2 + iprecs)];
}
}
//alert('Thisanno=' + thisanno);
thissuffix=cseplocans.split(precs[iprecs])[1].substring(0);
thisprefix=cseplocans.split('{')[0];
//alert('thisanno last 5=' + thisanno.slice(-5));
if (cseplocans.indexOf(thisanno) == -1) {
cseplocans=thisprefix + thissuffix;
} else {
//if (cseplocans.indexOf(thisanno) == -1) { alert('Why? ' + 'thisprefix=' + thisprefix + ' and thissuffix=' + thissuffix); }
cseplocans=cseplocans.replace(thisanno,'');
}
//alert('cseplocans=' + cseplocans.substring(0,100));
}
var ioff=0;
var icss=0, css=[cseplocans], zlocans='';
if (cseplocans.indexOf('|') != -1 || (cseplocans.trim().replace('[','').toUpperCase().substring(0,1) >= 'A' && cseplocans.trim().replace('[','').toUpperCase().substring(0,1) <= 'Z')) {
//alert(preannocseplocans.substring(0,100));
css=minusetc(cseplocans).replace('[','').replace(']','').split(',');
//alert('css length=' + css.length + ' and preannocseplocans.length=' + preannocseplocans.length + ' and cseplocans.length=' + cseplocans.length + ' ... ' + preannocseplocans.slice(-60) + ' ... ' + preannocseplocans.split('{').length + ' ....' + + preannocseplocans[4]);
}
var thissuffix='', xlocans='', preparts=[], leglook=0, fleglook=0;
//alert('css length=' + css.length + ' and preannocseplocans=' + preannocseplocans + ' and cseplocans=' + cseplocans + ' and locans set to be=' + iuo(css[0]) + ' from ' + css[0]);
for (icss=0; icss<css.length; icss++) {
zlocans=css[icss];
//alert('7777:' + css[icss] + ' via ' + minusetc(cseplocans));
locans='' + iuo(css[icss]);
//alert('77777:' + locans);
xlocans=locans;
xlocans=zlocans;
thissuffix='';
if (preannocseplocans.indexOf(zlocans + '{') != -1) { thissuffix='{' + preannocseplocans.split(zlocans + '{')[1].split('}')[0] + '}'; }
xlocans+=thissuffix;
//alert('xlocans=' + xlocans + ' and cseplocans=' + cseplocans);
if (cseplocans.indexOf(zlocans + '-') != -1 || cseplocans.toUpperCase().indexOf(zlocans.toUpperCase() + ' TO ') != -1 || cseplocans.toUpperCase().indexOf(zlocans.toUpperCase() + ' FROM ') != -1) {
//alert(' and css[icss]=' + css[icss] + ' and locans=' + locans + ' and xlocans=' + xlocans + ' Thissuffix=' + thissuffix);
if (1 == 5) {
preparts=preannocseplocans.split(zlocans + '{');
if (eval('' + preparts.length) > 1) {
//if (preparts[1].indexOf('-{') != -1) {
// alert('Preparts[1]=' + preparts[1]);
// alert('preParts[1]=' + preparts[1].replace(preparts[1].split('}')[0] + '',''));
// alert('preparts[1]=' + preparts[1].replace(preparts[1].split('}')[0] + '}',''));
//}
}
}
// Budgewoi33.2329° S, 151.5516° E{ydney}-{yes}Budge-Xwoi31.2329° S, 149.5516° E{elbourne}
// ... gets to Budgewoi|151.5516|_33.2329{ydney}-{yes}BudgeXwoi|149.5516|_31.2329{elbourne}
// [151.5516,-33.2329,Budgewoi]{ydney}-{yes}[149.5516,-31.2329,Budge-Xwoi]{elbourne}
// ... gets to [Budgewoi|151.5516|_33.2329]{ydney}-{yes}[BudgeXwoi|149.5516|_31.2329]{elbourne}
if (cseplocans.toUpperCase().indexOf(xlocans.toUpperCase() + ' FROM ') != -1) {
legs.push('' + eval(1 + ioff + plotcc.length) + '.' + eval(ioff + plotcc.length));
if (preannocseplocans.toUpperCase().indexOf(xlocans.toUpperCase() + ' FROM {') == -1) {
legsanno.push('');
} else {
legsanno.push(preannocseplocans.substring(eval(eval((xlocans.toUpperCase() + ' FROM {').length) + preannocseplocans.toUpperCase().indexOf(xlocans.toUpperCase() + ' FROM {'))).split('}')[0]);
preannocseplocans=preannocseplocans.replace('{' + legsanno[eval(-1 + legsanno.length)] + '}', '');
//alert('z:' + legsanno[eval(-1 + legsanno.length)]);
}
legc+='' + eval(1 + ioff + plotcc.length) + '.' + eval(ioff + plotcc.length) + ',';
} else {
legs.push('' + eval(ioff + plotcc.length) + '.' + eval(1 + ioff + plotcc.length));
//alert('ThisSuffiX=' + thissuffix + ' and cseplocans=' + cseplocans + ' and zlocans=' + zlocans + ' and css[' + icss + ']=' + css[icss] + ' plotplace[]=' + plotplace[eval(0 + ioff + plotcc.length)] + ' and pleasenolist=' + pleasenolist);
if (preannocseplocans.indexOf((xlocans + '-' + '{')) != -1 || eval('' + lannos.length) > leglook) {
//alert('ThisSUffix=' + thissuffix);

//alert('css[icss]=' + css[icss] + ' and prelannos[leglook]=' + prelannos[leglook]); // css[icss]=Budgewoi|151.5516|_33.2329 and prelannos[leglook]=Budgewoi|151.5516|_33.2329
if (eval('' + lannos.length) > leglook && css[icss] == prelannos[leglook]) {
legsanno.push(lannos[leglook]);
leglook++;
//alert('xxx1:' + legsanno[eval(-1 + legsanno.length)] + ' vs' + preannocseplocans);
} else {
legsanno.push(preannocseplocans.substring(eval(eval((xlocans.toUpperCase() + '-{').length) + preannocseplocans.toUpperCase().indexOf(xlocans.toUpperCase() + '-{'))).split('}')[0]);
//alert('xxx2:' + legsanno[eval(-1 + legsanno.length)] + ' vs ' + preannocseplocans);
}
preannocseplocans=preannocseplocans.replace('{' + legsanno[eval(-1 + legsanno.length)] + '}', '');
//alert('xx:' + legsanno[eval(-1 + legsanno.length)]);
} else if (preannocseplocans.toUpperCase().indexOf(xlocans.toUpperCase() + ' TO {') == -1 && preannocseplocans.toUpperCase().indexOf(xlocans.toUpperCase() + '-') == -1) {
//alert('whY? ');
legsanno.push('');
} else if (preannocseplocans.toUpperCase().indexOf(xlocans.toUpperCase() + ' TO ') != -1) {
legsanno.push(preannocseplocans.substring(eval(eval((xlocans.toUpperCase() + ' TO {').length) + preannocseplocans.toUpperCase().indexOf(xlocans.toUpperCase() + ' TO {'))).split('}')[0]);
preannocseplocans=preannocseplocans.replace('{' + legsanno[eval(-1 + legsanno.length)] + '}', '');
//alert('y:' + legsanno[eval(-1 + legsanno.length)]);
} else if (preannocseplocans.toUpperCase().indexOf(xlocans.toUpperCase() + '-{') != -1) {
//alert('ThisSuffix=' + thissuffix);
legsanno.push(preannocseplocans.substring(eval(eval((xlocans.toUpperCase() + '-{').length) + preannocseplocans.toUpperCase().indexOf(xlocans.toUpperCase() + '-{'))).split('}')[0]);
preannocseplocans=preannocseplocans.replace('{' + legsanno[eval(-1 + legsanno.length)] + '}', '');
//alert('x:' + legsanno[eval(-1 + legsanno.length)]);
} else {
legsanno.push('');
}
legc+='' + plotcc.length + '.' + eval(1 + plotcc.length) + ',';
//alert(legs[0]);
}
}
//alert('locans=' + locans + ' and zlocans=' + zlocans + ' and xlocans=' + xlocans);
// locans=[144.96306,-37.81417,Melbourne] and zlocans=Melbourne|144.96306|_37.81417 and xlocans=Melbourne|144.96306|_37.81417
if (locans.toUpperCase().trim() == 'N') {
locans=locans.toUpperCase().replace('N', '[' + nearbyfour.split('|')[0] + ',' + nearbyfour.split('|')[1] + ']');
if (preannocseplocans.toUpperCase().indexOf('N{') != -1) {
plotanno.push(preannocseplocans.substring(eval(2 + preannocseplocans.toUpperCase().indexOf('N{'))).split('}')[0]);
} else {
plotanno.push('');
}
plotplace.push(decodeURIComponent(nearbyfour.split('|')[3]));
plotcc.push(nearbyfour.split('|')[2]);
plotlong.push(nearbyfour.split('|')[0]);
plotlat.push(nearbyfour.split('|')[1]);
if (eval('' + nearbyfour.length) > 4) {

plottz.push(nearbyfour.split('|')[4]);
plotct.push(nearbyfour.split('|')[5]);
plotemj.push(nearbyfour.split('|')[6]);

} else {
plottz.push('');
plotct.push('');
plotemj.push('');
}
} else if (locans.toUpperCase().trim() == 'C') {
thisplace=' ';
locans=locans.toUpperCase().replace('C', '[' + thislong + ',' + thislat + ']');
if (preannocseplocans.toUpperCase().indexOf('C{') != -1) {
plotanno.push(preannocseplocans.substring(eval(2 + preannocseplocans.toUpperCase().indexOf('C{'))).split('}')[0]);
} else {
plotanno.push('');
}
plotplace.push('');
plotcc.push(nearbyfour.split('|')[2]);
plotlong.push(thislong);
plotlat.push(thislat);
plotct.push('');
plotemj.push('');
plottz.push('');
} else if (locans.toUpperCase().trim() == 'P') {
locans=locans.toUpperCase().replace('P', '[' + snearbyfour.split('|')[0] + ',' + snearbyfour.split('|')[1] + ']');
if (preannocseplocans.toUpperCase().indexOf('P{') != -1) {
plotanno.push(preannocseplocans.substring(eval(2 + preannocseplocans.toUpperCase().indexOf('P{'))).split('}')[0]);
} else {
plotanno.push('');
}
plotplace.push(decodeURIComponent(snearbyfour.split('|')[3]));
plotcc.push(snearbyfour.split('|')[2]);
plotlong.push(snearbyfour.split('|')[0]);
plotlat.push(snearbyfour.split('|')[1]);
if (eval('' + nearbyfour.length) > 4) {

plottz.push(nearbyfour.split('|')[4]);
plotct.push(nearbyfour.split('|')[5]);
plotemj.push(nearbyfour.split('|')[6]);

} else {
plottz.push('');
plotct.push('');
plotemj.push('');
}
} else if (locans.toUpperCase().trim() == 'A') {
thisplace=' ';
locans=locans.toUpperCase().replace('A', '[' + sthislong + ',' + sthislat + ']');
if (preannocseplocans.toUpperCase().indexOf('A{') != -1) {
plotanno.push(preannocseplocans.substring(eval(2 + preannocseplocans.toUpperCase().indexOf('A{'))).split('}')[0]);
} else {
plotanno.push('');
}
plotplace.push('');
plotcc.push(snearbyfour.split('|')[2]);
plotlong.push(sthislong);
plotlat.push(sthislat);
plotct.push('');
plotemj.push('');
plottz.push('');
} else if (eval('' + ('' + locans.trim()).length) >= 3 && ('' + locans).indexOf(',') == -1 && yourtzlistindexOf('/' + ('' + locans.trim()).replace(/\ /g,'_') + '<') != -1) {

if (preannocseplocans.toUpperCase().indexOf(('' + zlocans).toUpperCase() + '{') != -1) {
plotanno.push(preannocseplocans.substring(eval(eval((('' + zlocans).toUpperCase() + '{').length) + preannocseplocans.toUpperCase().indexOf(('' + zlocans).toUpperCase() + '{'))).split('}')[0]);
//alert('a:' + plotanno[eval(-1 + plotanno.length)]);
} else {
plotanno.push('');
}

//alert(locans);

thisplace=eventualyourtzlist.split('/' + ('' + locans.trim()).replace(/\ /g,'_') + '<')[0].split(' data-geo="')[eval(-1 + eventualyourtzlist.split('/' + ('' + locans.trim()).replace(/\ /g,'_') + '<')[0].split(' data-geo="').length)];
//alert(thisplace);
udate=new Date();
utcDate = new Date(udate.toLocaleString('en-US', { timeZone: 'UTC' }));

if (!realtz) {
thatplace=eventualyourtzlist.split('/' + ('' + locans.trim()).replace(/\ /g,'_') + '<')[0].split(' value="')[eval(-1 + eventualyourtzlist.split('/' + ('' + locans.trim()).replace(/\ /g,'_') + '<')[0].split(' value="').length)].split('"')[0];
//alert(locans + ' ' + thatplace + ' ' + eventualyourtzlist.slice(-150));
} else {
thatplace=thisplace.split('>')[1].split('<')[0].replace('GMT','UTC') + '/' + locans.trim();
}
//alert(thatplace);
utzdate=new Date();
//alert('thatplace=' + thatplace + '!');
tzDate = new Date(utzdate.toLocaleString('en-US', { timeZone: thatplace.replace('GMT','UTC').replace(/\ /g,'_') }));
extratz=',' + thatplace; //.split('/')[eval(-1 + iplacesarr[jk].split('>')[1].split('<')[0].replace('GMT','Europe/London').split('/').length)].replace(/\_/g,' ');
xdate1=new Date().toLocaleString("en-US", { timeZone: thatplace.replace('GMT','UTC').replace(/\ /g,'_') });
xextratztime=(',' + xdate1);
plottz.push(thatplace);
thatplace=thatplace.replace('GMT','Europe/London').split('/')[eval(-1 + thatplace.replace('GMT','Europe/London').split('/').length)].replace(/\_/g,' ');
xdiff = Math.abs(tzDate.getTime() - utcDate.getTime()) / 3600000;
if (xdiff > 0 && (eval('' + utcDate.getDay()) == 0 && eval('' + tzDate.getDay()) == 6 || eval('' + utcDate.getDay()) > eval('' + tzDate.getDay()))) {
xdiff=-xdiff;
}
xextraemj=',' + clockit('' + xdiff);
plotct.push('' + xdate1);
plotemj.push(clockit('' + xdiff));

plotplace.push(decodeURIComponent(eventualyourtzlist.split(thisplace.split('>')[0] + '>')[1].split('<')[0].replace('GMT','Europe/London').split('/')[eval(-1 + eventualyourtzlist.split(thisplace.split('>')[0] + '>')[1].split('<')[0].replace('GMT','Europe/London').split('/').length)].replace(/\_/g,' ')));
plotlong.push((thisplace.split(',')[1]));
plotlat.push((thisplace.split(',')[0]));
plotcc.push(thisplace.split(',')[3]);
if (thisplace.split(',')[3] != '') {
for (ijk=0; ijk<iso_country_codes.length; ijk+=2) {
if (iso_country_codes[ijk].toUpperCase() == thisplace.split(',')[3].toUpperCase()) {
extras=', ' + iso_country_codes[eval(1 + ijk)];
plotplace[eval(-1 + plotplace.length)]+=extras;
extras='';
}
}
}
//alert(extras + ' ... ' + locans);
locans=locans.replace(locans.trim(), '[' + thisplace.split(',')[1] + ',' + thisplace.split(',')[0] + ',' + plotplace[eval(-1 + plotplace.length)] + extras + ']');
//alert('locans=' + locans + '!');
thisplace=' ';
} else if (eval('' + ('' + locans.trim()).length) >= 3 && ('' + locans).indexOf(',') == -1 && yourtzlist.toUpperCase().indexOf('/' + ('' + locans.trim()).toUpperCase().replace(/\ /g,'_') + '<') != -1) {

if (preannocseplocans.toUpperCase().indexOf(('' + zlocans).toUpperCase() + '{') != -1) {
plotanno.push(preannocseplocans.substring(eval(eval((('' + zlocans).toUpperCase() + '{').length) + preannocseplocans.toUpperCase().indexOf(('' + zlocans).toUpperCase() + '{'))).split('}')[0]);
//alert('b:' + plotanno[eval(-1 + plotanno.length)]);
} else {
plotanno.push('');
}

thisplace=yourtzlist.toUpperCase().split('/' + ('' + locans.trim()).toUpperCase().replace(/\ /g,'_') + '<')[0].split(' DATA-GEO="')[eval(-1 + yourtzlist.toUpperCase().split('/' + ('' + locans.trim()).toUpperCase().replace(/\ /g,'_') + '<')[0].split(' DATA-GEO="').length)];
//alert(thisplace);
udate=new Date();
utcDate = new Date(udate.toLocaleString('en-US', { timeZone: 'UTC' }));

thatplace=thisplace.split('>')[1].split('<')[0].replace('GMT','UTC') + '/' + locans.trim();
utzdate=new Date();
tzDate = new Date(utzdate.toLocaleString('en-US', { timeZone: thatplace.replace('GMT','UTC').replace(/\ /g,'_') }));
extratz=',' + thatplace; //.split('/')[eval(-1 + iplacesarr[jk].split('>')[1].split('<')[0].replace('GMT','Europe/London').split('/').length)].replace(/\_/g,' ');
xdate1=new Date().toLocaleString("en-US", { timeZone: thatplace.replace('GMT','UTC') });
xextratztime=(',' + xdate1);
plottz.push(thatplace);
thatplace=thatplace.replace('GMT','Europe/London').split('/')[eval(-1 + thatplace.replace('GMT','Europe/London').split('/').length)].replace(/\_/g,' ');
xdiff = Math.abs(tzDate.getTime() - utcDate.getTime()) / 3600000;
if (xdiff > 0 && (eval('' + utcDate.getDay()) == 0 && eval('' + tzDate.getDay()) == 6 || eval('' + utcDate.getDay()) > eval('' + tzDate.getDay()))) {
xdiff=-xdiff;
}
xextraemj=',' + clockit('' + xdiff);
plotct.push('' + xdate1);
plotemj.push(clockit('' + xdiff));

plotplace.push(decodeURIComponent(yourtzlist.split(thisplace.split('>')[0] + '>')[1].split('<')[0].replace('GMT','Europe/London').split('/')[eval(-1 + yourtzlist.split(thisplace.split('>')[0] + '>')[1].split('<')[0].replace('GMT','Europe/London').split('/').length)].replace(/\_/g,' ')));
plotlong.push((thisplace.split(',')[1]));
plotlat.push((thisplace.split(',')[0]));
plotcc.push(thisplace.split(',')[3]);
if (thisplace.split(',')[3] != '') {
for (ijk=0; ijk<iso_country_codes.length; ijk+=2) {
if (iso_country_codes[ijk].toUpperCase() == thisplace.split(',')[3].toUpperCase()) {
extras=', ' + iso_country_codes[eval(1 + ijk)];
plotplace[eval(-1 + plotplace.length)]+=extras;
extras='';
}
}
}
//alert(extras + ' .... ' + locans);
locans=locans.replace(locans.trim(), '[' + thisplace.split(',')[1] + ',' + thisplace.split(',')[0] + ',' + plotplace[eval(-1 + plotplace.length)] + extras + ']');
//alert(locans);
thisplace=' ';
} else if (eval('' + ('' + locans.trim()).length) == 2 && ('' + locans).indexOf(',') == -1 && yourtzlist.indexOf(',' + ('' + locans.trim()).toUpperCase() + ',') != -1) {

if (preannocseplocans.toUpperCase().indexOf(('' + zlocans).toUpperCase() + '{') != -1) {
plotanno.push(preannocseplocans.substring(eval(eval((('' + zlocans).toUpperCase() + '{').length) + preannocseplocans.toUpperCase().indexOf(('' + zlocans).toUpperCase() + '{'))).split('}')[0]);
//alert('c:' + plotanno[eval(-1 + plotanno.length)]);
} else {
plotanno.push('');
}

thisplace=yourtzlist.split(',' + ('' + locans.trim()).toUpperCase() + ',')[0].split(' data-geo="')[eval(-1 + yourtzlist.split(',' + ('' + locans.trim()).toUpperCase() + ',')[0].split(' data-geo="').length)];

thatplace=yourtzlist.split(',' + ('' + locans.trim()).toUpperCase() + ',')[1].split('>')[1].split('<')[0].replace('GMT','UTC').trim();
utzdate=new Date();
tzDate = new Date(utzdate.toLocaleString('en-US', { timeZone: thatplace.replace('GMT','UTC').replace(/\ /g,'_') }));
extratz=',' + thatplace; //.split('/')[eval(-1 + iplacesarr[jk].split('>')[1].split('<')[0].replace('GMT','Europe/London').split('/').length)].replace(/\_/g,' ');
xdate1=new Date().toLocaleString("en-US", { timeZone: thatplace.replace('GMT','UTC').replace(/\ /g,'_') });
xextratztime=(',' + xdate1);
plottz.push(thatplace);
thatplace=thatplace.replace('GMT','Europe/London').split('/')[eval(-1 + thatplace.replace('GMT','Europe/London').split('/').length)].replace(/\_/g,' ');
xdiff = Math.abs(tzDate.getTime() - utzdate.getTime()) / 3600000;
if (xdiff > 0 && (eval('' + utzdate.getDay()) == 0 && eval('' + tzDate.getDay()) == 6 || eval('' + utzdate.getDay()) > eval('' + tzDate.getDay()))) {
xdiff=-xdiff;
}
xextraemj=',' + clockit('' + xdiff);
plotct.push('' + xdate1);
plotemj.push(clockit('' + xdiff));

plotplace.push(decodeURIComponent(yourtzlist.split(',' + ('' + locans.trim()).toUpperCase() + ',')[1].split('>')[1].split('<')[0].replace('GMT','Europe/London').split('/')[eval(-1 + yourtzlist.split(',' + ('' + locans.trim()).toUpperCase() + ',')[1].split('>')[1].split('<')[0].replace('GMT','Europe/London').split('/').length)].replace(/\_/g,' ')));
plotlong.push((thisplace.split(',')[1]));
plotlat.push((thisplace.split(',')[0]));
plotcc.push(locans.trim());
if (locans != '') {
for (ijk=0; ijk<iso_country_codes.length; ijk+=2) {
if (iso_country_codes[ijk].toUpperCase() == locans.trim().toUpperCase()) {
extras=', ' + iso_country_codes[eval(1 + ijk)];
plotplace[eval(-1 + plotplace.length)]+=extras;
extras='';
}
}
}
//alert(472);
locans=locans.replace(locans.trim(), '[' + thisplace.split(',')[1] + ',' + thisplace.split(',')[0] + ',' + plotplace[eval(-1 + plotplace.length)] + extras + ']');
thisplace=' ';
} else if (eval('' + ('' + locans.trim()).length) >= 3 && ('' + locans).indexOf(',') == -1 && iso_country_codes.indexOf(locans.trim()) != -1) {

if (preannocseplocans.toUpperCase().indexOf(('' + zlocans).toUpperCase() + '{') != -1) {
plotanno.push(preannocseplocans.substring(eval(eval((('' + zlocans).toUpperCase() + '{').length) + preannocseplocans.toUpperCase().indexOf(('' + zlocans).toUpperCase() + '{'))).split('}')[0]);
///alert('d:' + plotanno[eval(-1 + plotanno.length)]);
} else {
plotanno.push('');
}

//alert(iso_country_codes[eval(-1 + eval('' + iso_country_codes.indexOf(locans.trim())))].toUpperCase());
if (yourtzlist.indexOf(',' + ('' + iso_country_codes[eval(-1 + eval('' + iso_country_codes.indexOf(locans.trim())))].toUpperCase()) + ',') != -1) {
//alert(2472);
locans=locans.replace(locans.trim(), '' + iso_country_codes[eval(-1 + eval('' + iso_country_codes.indexOf(locans.trim())))]);
thisplace=yourtzlist.split(',' + ('' + locans.trim()).toUpperCase() + ',')[0].split(' data-geo="')[eval(-1 + yourtzlist.split(',' + ('' + locans.trim()).toUpperCase() + ',')[0].split(' data-geo="').length)];

//alert('thisplace=' + thisplace + ' and thatplace=' + thatplace);
thatplace=yourtzlist.split(thisplace)[1].split('>')[1].split('<')[0].replace('GMT','UTC');
//alert('thisplace=' + thisplace + ' and thatplace=' + thatplace);
utzdate=new Date();
tzDate = new Date(utzdate.toLocaleString('en-US', { timeZone: thatplace.replace('GMT','UTC').replace(/\ /g,'_') }));
extratz=',' + thatplace; //.split('/')[eval(-1 + iplacesarr[jk].split('>')[1].split('<')[0].replace('GMT','Europe/London').split('/').length)].replace(/\_/g,' ');
xdate1=new Date().toLocaleString("en-US", { timeZone: thatplace.replace('GMT','UTC').replace(/\ /g,'_') });
xextratztime=(',' + xdate1);
plottz.push(thatplace);
thatplace=thatplace.replace('GMT','Europe/London').split('/')[eval(-1 + thatplace.replace('GMT','Europe/London').split('/').length)].replace(/\_/g,' ');
xdiff = Math.abs(tzDate.getTime() - utzdate.getTime()) / 3600000;
if (xdiff > 0 && (eval('' + utzdate.getDay()) == 0 && eval('' + tzDate.getDay()) == 6 || eval('' + utzdate.getDay()) > eval('' + tzDate.getDay()))) {
xdiff=-xdiff;
}
xextraemj=',' + clockit('' + xdiff);
plotct.push('' + xdate1);
plotemj.push(clockit('' + xdiff));

plotplace.push(decodeURIComponent(yourtzlist.split(',' + ('' + locans.trim()).toUpperCase() + ',')[1].split('>')[1].split('<')[0].replace('GMT','Europe/London').split('/')[eval(-1 + yourtzlist.split(',' + ('' + locans.trim()).toUpperCase() + ',')[1].split('>')[1].split('<')[0].replace('GMT','Europe/London').split('/').length)].replace(/\_/g,' ')));
plotlong.push((thisplace.split(',')[1]));
plotlat.push((thisplace.split(',')[0]));
plotcc.push(locans.trim());
if (locans != '') {
for (ijk=0; ijk<iso_country_codes.length; ijk+=2) {
if (iso_country_codes[ijk].toUpperCase() == locans.trim().toUpperCase()) {
extras=', ' + iso_country_codes[eval(1 + ijk)];
plotplace[eval(-1 + plotplace.length)]+=extras;
extras='';
}
}
}
//alert(572);
locans=locans.replace(locans.trim(), '[' + thisplace.split(',')[1] + ',' + thisplace.split(',')[0] + ',' + plotplace[eval(-1 + plotplace.length)] + extras + ']');
thisplace=' ';
} else if (locans.trim() != '' && locans.trim() != locans) {
//alert(98);
//alert(7472);
locans=locans.replace(locans.trim(), '');
} else if (locans.trim() != locans) {
//alert('988' + locans + '88');
locans=locans;
} else {
//alert('98' + locans + '8');
locans=null;
}
} else if (eval('' + ('' + locans.trim()).length) >= 3 && ('' + locans).indexOf(',') == -1 && uc_iso_country_codes.indexOf(locans.trim().toUpperCase()) != -1) {

if (preannocseplocans.toUpperCase().indexOf(('' + zlocans).toUpperCase() + '{') != -1) {
plotanno.push(preannocseplocans.substring(eval(eval((('' + zlocans).toUpperCase() + '{').length) + preannocseplocans.toUpperCase().indexOf(('' + zlocans).toUpperCase() + '{'))).split('}')[0]);
//alert('g:' + plotanno[eval(-1 + plotanno.length)]);
} else {
plotanno.push('');
}

//alert(iso_country_codes[eval(-1 + eval('' + uc_iso_country_codes.indexOf(locans.trim())))].toUpperCase());
if (yourtzlist.indexOf(',' + iso_country_codes[eval(-1 + uc_iso_country_codes.indexOf(locans.trim().toUpperCase()))].toUpperCase() + ',') != -1) {
//alert(8472);
locans=locans.replace(locans.trim(), '' + iso_country_codes[eval(-1 + eval('' + uc_iso_country_codes.indexOf(locans.trim().toUpperCase())))]);
thisplace=yourtzlist.split(',' + ('' + locans.trim()).toUpperCase() + ',')[0].split(' data-geo="')[eval(-1 + yourtzlist.split(',' + ('' + locans.trim()).toUpperCase() + ',')[0].split(' data-geo="').length)];

thatplace=thisplace.split('>')[1].split('<')[0].replace('GMT','UTC');
utzdate=new Date();
tzDate = new Date(utzdate.toLocaleString('en-US', { timeZone: thatplace.replace('GMT','UTC').replace(/\ /g,'_') }));
extratz=',' + thatplace; //.split('/')[eval(-1 + iplacesarr[jk].split('>')[1].split('<')[0].replace('GMT','Europe/London').split('/').length)].replace(/\_/g,' ');
xdate1=new Date().toLocaleString("en-US", { timeZone: thatplace.replace('GMT','UTC').replace(/\ /g,'_') });
xextratztime=(',' + xdate1);
plottz.push(thatplace);
thatplace=thatplace.replace('GMT','Europe/London').split('/')[eval(-1 + thatplace.replace('GMT','Europe/London').split('/').length)].replace(/\_/g,' ');
xdiff = Math.abs(tzDate.getTime() - utzdate.getTime()) / 3600000;
if (xdiff > 0 && (eval('' + utzdate.getDay()) == 0 && eval('' + tzDate.getDay()) == 6 || eval('' + utzdate.getDay()) > eval('' + tzDate.getDay()))) {
xdiff=-xdiff;
}
xextraemj=',' + clockit('' + xdiff);
plotct.push('' + xdate1);
plotemj.push(clockit('' + xdiff));

plotplace.push(decodeURIComponent(yourtzlist.split(',' + ('' + locans.trim()).toUpperCase() + ',')[1].split('>')[1].split('<')[0].replace('GMT','Europe/London').split('/')[eval(-1 + yourtzlist.split(',' + ('' + locans.trim()).toUpperCase() + ',')[1].split('>')[1].split('<')[0].replace('GMT','Europe/London').split('/').length)].replace(/\_/g,' ')));
plotlong.push((thisplace.split(',')[1]));
plotlat.push((thisplace.split(',')[0]));
plotcc.push(locans.trim());
if (locans != '') {
for (ijk=0; ijk<iso_country_codes.length; ijk+=2) {
if (iso_country_codes[ijk].toUpperCase() == locans.trim().toUpperCase()) {
extras=', ' + iso_country_codes[eval(1 + ijk)];
plotplace[eval(-1 + plotplace.length)]+=extras;
extras='';
}
}
}
//alert(987);
locans=locans.replace(locans.trim(), '[' + thisplace.split(',')[1] + ',' + thisplace.split(',')[0] + ',' + plotplace[eval(-1 + plotplace.length)] + extras + ']');
thisplace=' ';
} else if (locans.trim() != '' && locans.trim() != locans) {
//alert(8);
//alert(9472);
locans=locans.replace(locans.trim(), '');
} else if (locans.trim() != locans) {
//alert('88' + locans + '88');
locans=locans;
} else {
//alert('8' + locans + '8');
locans=null;
}
} else if (('' + locans).indexOf(',') != -1 && ('' + locans).indexOf('[') != -1) {
//alert('preannocseplocans=' + preannocseplocans + ' and realtz=' + realtz);
if (preannocseplocans.toUpperCase().indexOf(('' + zlocans).toUpperCase() + '{') != -1) {
plotanno.push(preannocseplocans.substring(eval(eval((('' + zlocans).toUpperCase() + '{').length) + preannocseplocans.toUpperCase().indexOf(('' + zlocans).toUpperCase() + '{'))).split('}')[0]);
//alert('h:' + plotanno[eval(-1 + plotanno.length)]);
} else {
plotanno.push('');
}

thisplace=' ';
plotct.push('');
plotemj.push('');
plottz.push('');
plotcc.push('');
if (eval('' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',').length) > 2) {
plotplace.push(thedecodeURIComponent(locans.replace(locans.split(',')[0] + ',' + locans.split(',')[1] + ',', '').replace('(','').replace(')','').replace('[','').replace(']','')));
thisplace=locans.replace(locans.split(',')[0] + ',' + locans.split(',')[1] + ',', '').replace('(','').replace(')','').replace('[','').replace(']','') + ' ';
//alert('ThisPlace=' + thisplace);
if (zlocans.indexOf('|') != -1) { realtz=false; }
if (zlocans.indexOf('|') != -1 || yourtzlistindexOf('/' + ('' + thisplace.trim()).replace(/\ /g,'_') + '<') == -1) {
//alert('Thisplace=' + thisplace + ' ' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[1] + ',' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[0]);
var jmoretzs=('' + retnearest(locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[0], locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[1])).split('|');
if ((plottz[eval(-1 + plotcc.length)] == ' ' || plotcc[eval(-1 + plotcc.length)].trim() == '') && eval('' + jmoretzs.length) > 2) {
if (plottz[eval(-1 + plotcc.length)] == ' ') { plottz[eval(-1 + plotcc.length)]=''; }
if (eval('' + jmoretzs[2].length) == 2) {
if (plotcc[eval(-1 + plotcc.length)] == '') { plotcc[eval(-1 + plotcc.length)]='' + jmoretzs[2]; }

if (!realtz || 1 == 1) {
if (locans.indexOf('.') == -1) {
if (argstuff == '') {
argstuff='?nontz=' + encodeURIComponent(prefixingstuff) + encodeURIComponent(addcty('' + locans.replace(locans.split(',')[0] + ',' + locans.split(',')[1] + ',', '').replace('(','').replace(')','').replace('[','').replace(']','').replace(/\ /g,'_').trim()) + '|' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[0].replace('-','_') + '|' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[1].replace('-','_') + '.0' + '|' + jmoretzs[2]);
} else {
argstuff+=encodeURIComponent(',' + addcty(locans.replace(locans.split(',')[0] + ',' + locans.split(',')[1] + ',', '').replace('(','').replace(')','').replace('[','').replace(']','').replace(/\ /g,'_').trim()) + '|' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[0].replace('-','_') + '|' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[1].replace('-','_') + '.0' + '|' + jmoretzs[2]);
}
} else {
if (argstuff == '') {
argstuff='?nontz=' + encodeURIComponent(prefixingstuff) + encodeURIComponent(addcty('' + locans.replace(locans.split(',')[0] + ',' + locans.split(',')[1] + ',', '').replace('(','').replace(')','').replace('[','').replace(']','').replace(/\ /g,'_').trim()) + '|' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[0].replace('-','_') + '|' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[1].replace('-','_') + '|' + jmoretzs[2]);
} else {
argstuff+=encodeURIComponent(',' + addcty(locans.replace(locans.split(',')[0] + ',' + locans.split(',')[1] + ',', '').replace('(','').replace(')','').replace('[','').replace(']','').replace(/\ /g,'_').trim()) + '|' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[0].replace('-','_') + '|' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[1].replace('-','_') + '|' + jmoretzs[2]);
}
}
}
}

thisplace=locans.replace(locans.split(',')[0] + ',' + locans.split(',')[1] + ',', '').replace('(','').replace(')','').replace('[','').replace(']','') + ' ';
//alert('thisplace=' + thisplace + ' ' + 'argstuff=' + decodeURIComponent(argstuff.substring(7)));

}
if (eval('' + jmoretzs.length) > 4) {
plottz[eval(-1 + plottz.length)]='' + jmoretzs[4];
if (locans.indexOf('.') == -1) {
eventualyourtzlist+='<option value="' + plottz[eval(-1 + plottz.length)] + '" data-geo="' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[1] + '.0,' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[0] + ',GMT,' + plotcc[eval(-1 + plotcc.length)] + ',+0">' + plottz[eval(-1 + plottz.length)].replace(plottz[eval(-1 + plottz.length)].split('/')[eval(-1 + plottz[eval(-1 + plottz.length)].split('/').length)], locans.split('|')[0].replace(/\ /g,'_')) + '</option>';
} else {
eventualyourtzlist+='<option value="' + plottz[eval(-1 + plottz.length)] + '" data-geo="' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[1] + ',' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[0] + ',GMT,' + plotcc[eval(-1 + plotcc.length)] + ',+0">' + plottz[eval(-1 + plottz.length)].replace(plottz[eval(-1 + plottz.length)].split('/')[eval(-1 + plottz[eval(-1 + plottz.length)].split('/').length)], locans.split('|')[0].replace(/\ /g,'_')) + '</option>';
}
if (eventualyourtzlist != yourtzlist) { setTimeout(newhashit, 5000); }
}

var zxc=yourtzlistindexOf('/' + ('' + thisplace.trim()).replace(/\ /g,'_') + '<');

udate=new Date();
utcDate = new Date(udate.toLocaleString('en-US', { timeZone: 'UTC' }));

if (!realtz) {
thatplace=eventualyourtzlist.split('/' + ('' + thisplace.trim()).replace(/\ /g,'_') + '<')[0].split(' value="')[eval(-1 + eventualyourtzlist.split('/' + ('' + thisplace.trim()).replace(/\ /g,'_') + '<')[0].split(' value="').length)].split('"')[0];
//alert(locans + ' ' + thatplace + ' ' + eventualyourtzlist.slice(-150));
} else {
thatplace=eventualyourtzlist.split('/' + ('' + thisplace.trim()).replace(/\ /g,'_') + '<')[0].split(' value="')[eval(-1 + eventualyourtzlist.split('/' + ('' + thisplace.trim()).replace(/\ /g,'_') + '<')[0].split(' value="').length)].split('"')[0];
}
//alert(thatplace);
utzdate=new Date();
//alert('thatplace=' + thatplace + '!');
tzDate = new Date(utzdate.toLocaleString('en-US', { timeZone: thatplace.replace('GMT','UTC').replace(/\ /g,'_') }));
extratz=',' + thatplace;
xdate1=new Date().toLocaleString("en-US", { timeZone: thatplace.replace('GMT','UTC').replace(/\ /g,'_') });
xextratztime=(',' + xdate1);
plottz[eval(-1 + plottz.length)]=thatplace;
thatplace=thatplace.replace('GMT','Europe/London').split('/')[eval(-1 + thatplace.replace('GMT','Europe/London').split('/').length)].replace(/\_/g,' ');
xdiff = Math.abs(tzDate.getTime() - utcDate.getTime()) / 3600000;
if (xdiff > 0 && (eval('' + utcDate.getDay()) == 0 && eval('' + tzDate.getDay()) == 6 || eval('' + utcDate.getDay()) > eval('' + tzDate.getDay()))) {
xdiff=-xdiff;
}
xextraemj=',' + clockit('' + xdiff);
plotct[eval(-1 + plotct.length)]=('' + xdate1);
plotemj[eval(-1 + plotemj.length)]=(clockit('' + xdiff));
//alert('2788' + locans.split('|')[0].replace(/\_/g,' ') + '88');

//alert(('' + retnearest(locans.split('|')[1].replace('_','-'), locans.split('|')[2].replace('_','-'))));
jmoretzs=('' + retnearest(locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[0], locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[1])).split('|');
if (plotcc[eval(-1 + plotcc.length)].trim() == '' && eval('' + jmoretzs.length) > 2) {
if (eval('' + jmoretzs[2].length) == 2) {
plotcc[eval(-1 + plotcc.length)]='' + jmoretzs[2];

if (9 == 7) {

if (!realtz) {
if (locans.indexOf('.') == -1) {
if (argstuff == '') {
argstuff='?nontz=' + encodeURIComponent(prefixingstuff) + encodeURIComponent(addcty('' + thisplace.trim()) + '|' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[0].replace('-','_') + '|' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[1].replace('-','_') + '.0' + '|' + jmoretzs[2]);
} else {
argstuff+=encodeURIComponent(',' + addcty(thisplace.trim()) + '|' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[0].replace('-','_') + '|' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[1].replace('-','_') + '.0' + '|' + jmoretzs[2]);
}
} else {
if (argstuff == '') {
argstuff='?nontz=' + encodeURIComponent(prefixingstuff) + encodeURIComponent(addcty('' + thisplace.trim()) + '|' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[0].replace('-','_') + '|' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[1].replace('-','_') + '|' + jmoretzs[2]);
} else {
argstuff+=encodeURIComponent(',' + addcty(thisplace.trim()) + '|' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[0].replace('-','_') + '|' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[1].replace('-','_') + '|' + jmoretzs[2]);
}
}
}
}

}
if (eval('' + jmoretzs.length) > 4) {
plottz[eval(-1 + plottz.length)]='' + jmoretzs[4];
if (locans.indexOf('.') == -1) {
eventualyourtzlist+='<option value="' + plottz[eval(-1 + plottz.length)] + '" data-geo="' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[1] + '.0,' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[0] + ',GMT,' + plotcc[eval(-1 + plotcc.length)] + ',+0">' + plottz[eval(-1 + plottz.length)].replace(plottz[eval(-1 + plottz.length)].split('/')[eval(-1 + plottz[eval(-1 + plottz.length)].split('/').length)], locans.split('|')[0].replace(/\ /g,'_')) + '</option>';
} else {
eventualyourtzlist+='<option value="' + plottz[eval(-1 + plottz.length)] + '" data-geo="' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[1] + ',' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[0] + ',GMT,' + plotcc[eval(-1 + plotcc.length)] + ',+0">' + plottz[eval(-1 + plottz.length)].replace(plottz[eval(-1 + plottz.length)].split('/')[eval(-1 + plottz[eval(-1 + plottz.length)].split('/').length)], locans.split('|')[0].replace(/\ /g,'_')) + '</option>';
}
if (eventualyourtzlist != yourtzlist) { setTimeout(newhashit, 5000); }
}


}

}

} else {
plotplace.push('');
}
plotlong.push(locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[0]);
if (locans.indexOf('.') == -1) {
plotlat.push(locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[1] + '.0');
} else {
plotlat.push(locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[1]);
}
} else if (('' + locans).indexOf(',') != -1 && ('' + locans).indexOf('.') != -1) {

if (preannocseplocans.toUpperCase().indexOf(('' + zlocans).toUpperCase() + '{') != -1) {
plotanno.push(preannocseplocans.substring(eval(eval((('' + zlocans).toUpperCase() + '{').length) + preannocseplocans.toUpperCase().indexOf(('' + zlocans).toUpperCase() + '{'))).split('}')[0]);
//alert('j:' + plotanno[eval(-1 + plotanno.length)]);
} else {
plotanno.push('');
}

thisplace=' ';
plotct.push('');
plotemj.push('');
plottz.push('');
plotcc.push('');
if (eval('' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',').length) > 2) {
plotplace.push(decodeURIComponent(locans.replace(locans.split(',')[0] + ',' + locans.split(',')[1] + ',', '').replace('(','').replace(')','').replace('[','').replace(']','').trim()));
thisplace=locans.replace(locans.split(',')[0] + ',' + locans.split(',')[1] + ',', '').replace('(','').replace(')','').replace('[','').replace(']','') + ' ';

if (yourtzlistindexOf('/' + ('' + thisplace.trim()).replace(/\ /g,'_') + '<') == -1) {
//alert('thisplace=' + thisplace + ' ' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[1] + ',' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[0]);
var jmoretzs=('' + retnearest(locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[0], locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[1])).split('|');
if (plotcc[eval(-1 + plotcc.length)].trim() == '' && eval('' + jmoretzs.length) > 2) {
if (eval('' + jmoretzs[2].length) == 2) {
plotcc[eval(-1 + plotcc.length)]='' + jmoretzs[2];

if (!realtz || 1 == 1) {
if (locans.indexOf('.') == -1) {
if (argstuff == '') {
argstuff='?nontz=' + encodeURIComponent(prefixingstuff) + encodeURIComponent('' + addcty(locans.replace(locans.split(',')[0] + ',' + locans.split(',')[1] + ',', '').replace('(','').replace(')','').replace('[','').replace(']','').trim().replace(/\ /g,'_').trim()) + '|' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[0].replace('-','_') + '|' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[1].replace('-','_') + '.0' + '|' + jmoretzs[2]);
} else {
argstuff+=encodeURIComponent(',' + addcty(locans.replace(locans.split(',')[0] + ',' + locans.split(',')[1] + ',', '').replace('(','').replace(')','').replace('[','').replace(']','').trim().replace(/\ /g,'_').trim()) + '|' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[0].replace('-','_') + '|' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[1].replace('-','_') + '.0' + '|' + jmoretzs[2]);
}
} else {
if (argstuff == '') {
argstuff='?nontz=' + encodeURIComponent(prefixingstuff) + encodeURIComponent('' + addcty(locans.replace(locans.split(',')[0] + ',' + locans.split(',')[1] + ',', '').replace('(','').replace(')','').replace('[','').replace(']','').trim().replace(/\ /g,'_')) + '|' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[0].replace('-','_') + '|' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[1].replace('-','_') + '|' + jmoretzs[2]);
} else {
//argstuff+=encodeURIComponent(',' + addcty(locans.replace(locans.split(',')[0] + ',' + locans.split(',')[1] + ',', '').replace('(','').replace(')','').replace('[','').replace(']','').trim().replace(/\ /g,'_')) + '|' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[1].replace('-','_') + '|' + jmoretzs[2]);
argstuff+=encodeURIComponent(',' + addcty(locans.replace(locans.split(',')[0] + ',' + locans.split(',')[1] + ',', '').replace('(','').replace(')','').replace('[','').replace(']','').trim().replace(/\ /g,'_')) + '|' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[0].replace('-','_') + '|' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[1].replace('-','_') + '|' + jmoretzs[2]);
}
}
}
}

thisplace=locans.replace(locans.split(',')[0] + ',' + locans.split(',')[1] + ',', '').replace('(','').replace(')','').replace('[','').replace(']','') + ' ';
//alert('thisplace=' + thisplace + ' ' + 'argstuff=' + decodeURIComponent(argstuff.substring(7)));

}
if (eval('' + jmoretzs.length) > 4) {
plottz[eval(-1 + plottz.length)]='' + jmoretzs[4];
if (locans.indexOf('.') == -1) {
eventualyourtzlist+='<option value="' + plottz[eval(-1 + plottz.length)] + '" data-geo="' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[1] + '.0,' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[0] + ',GMT,' + plotcc[eval(-1 + plotcc.length)] + ',+0">' + plottz[eval(-1 + plottz.length)].replace(plottz[eval(-1 + plottz.length)].split('/')[eval(-1 + plottz[eval(-1 + plottz.length)].split('/').length)], locans.split('|')[0].replace(/\ /g,'_')) + '</option>';
} else {
eventualyourtzlist+='<option value="' + plottz[eval(-1 + plottz.length)] + '" data-geo="' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[1] + ',' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[0] + ',GMT,' + plotcc[eval(-1 + plotcc.length)] + ',+0">' + plottz[eval(-1 + plottz.length)].replace(plottz[eval(-1 + plottz.length)].split('/')[eval(-1 + plottz[eval(-1 + plottz.length)].split('/').length)], locans.split('|')[0].replace(/\ /g,'_')) + '</option>';
}
if (eventualyourtzlist != yourtzlist) { setTimeout(newhashit, 5000); }
}

var zxc=yourtzlistindexOf('/' + ('' + thisplace.trim()).replace(/\ /g,'_') + '<');

udate=new Date();
utcDate = new Date(udate.toLocaleString('en-US', { timeZone: 'UTC' }));

if (!realtz) {
thatplace=eventualyourtzlist.split('/' + ('' + thisplace.trim()).replace(/\ /g,'_') + '<')[0].split(' value="')[eval(-1 + eventualyourtzlist.split('/' + ('' + thisplace.trim()).replace(/\ /g,'_') + '<')[0].split(' value="').length)].split('"')[0];
//alert(locans + ' ' + thatplace + ' ' + eventualyourtzlist.slice(-150));
} else {
thatplace=eventualyourtzlist.split('/' + ('' + thisplace.trim()).replace(/\ /g,'_') + '<')[0].split(' value="')[eval(-1 + eventualyourtzlist.split('/' + ('' + thisplace.trim()).replace(/\ /g,'_') + '<')[0].split(' value="').length)].split('"')[0];
}
//alert(thatplace);
utzdate=new Date();
//alert('thatplace=' + thatplace + '!');
tzDate = new Date(utzdate.toLocaleString('en-US', { timeZone: thatplace.replace('GMT','UTC').replace(/\ /g,'_') }));
extratz=',' + thatplace;
xdate1=new Date().toLocaleString("en-US", { timeZone: thatplace.replace('GMT','UTC').replace(/\ /g,'_') });
xextratztime=(',' + xdate1);
plottz[eval(-1 + plottz.length)]=thatplace;
thatplace=thatplace.replace('GMT','Europe/London').split('/')[eval(-1 + thatplace.replace('GMT','Europe/London').split('/').length)].replace(/\_/g,' ');
xdiff = Math.abs(tzDate.getTime() - utcDate.getTime()) / 3600000;
if (xdiff > 0 && (eval('' + utcDate.getDay()) == 0 && eval('' + tzDate.getDay()) == 6 || eval('' + utcDate.getDay()) > eval('' + tzDate.getDay()))) {
xdiff=-xdiff;
}
xextraemj=',' + clockit('' + xdiff);
plotct[eval(-1 + plotct.length)]=('' + xdate1);
plotemj[eval(-1 + plotemj.length)]=(clockit('' + xdiff));
//alert('2788' + locans.split('|')[0].replace(/\_/g,' ') + '88');

//alert(('' + retnearest(locans.split('|')[1].replace('_','-'), locans.split('|')[2].replace('_','-'))));
jmoretzs=('' + retnearest(locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[0], locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[1])).split('|');
if (plotcc[eval(-1 + plotcc.length)].trim() == '' && eval('' + jmoretzs.length) > 2) {
if (eval('' + jmoretzs[2].length) == 2) {
plotcc[eval(-1 + plotcc.length)]='' + jmoretzs[2];

if (9 == 7) {

if (!realtz) {
if (locans.indexOf('.') == -1) {
if (argstuff == '') {
argstuff='?nontz=' + encodeURIComponent(prefixingstuff) + encodeURIComponent('' + addcty(thisplace.trim()) + '|' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[0].replace('-','_') + '|' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[1].replace('-','_') + '.0' + '|' + jmoretzs[2]);
} else {
argstuff+=encodeURIComponent(',' + addcty(thisplace.trim()) + '|' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[0].replace('-','_') + '|' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[1].replace('-','_') + '.0' + '|' + jmoretzs[2]);
}
} else {
if (argstuff == '') {
argstuff='?nontz=' + encodeURIComponent(prefixingstuff) + encodeURIComponent('' + addcty(thisplace.trim()) + '|' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[0].replace('-','_') + '|' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[1].replace('-','_') + '|' + jmoretzs[2]);
} else {
argstuff+=encodeURIComponent(',' + addcty(thisplace.trim()) + '|' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[0].replace('-','_') + '|' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[1].replace('-','_') + '|' + jmoretzs[2]);
}
}
}
}

}
if (eval('' + jmoretzs.length) > 4) {
plottz[eval(-1 + plottz.length)]='' + jmoretzs[4];
if (locans.indexOf('.') == -1) {
eventualyourtzlist+='<option value="' + plottz[eval(-1 + plottz.length)] + '" data-geo="' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[1] + '.0,' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[0] + ',GMT,' + plotcc[eval(-1 + plotcc.length)] + ',+0">' + plottz[eval(-1 + plottz.length)].replace(plottz[eval(-1 + plottz.length)].split('/')[eval(-1 + plottz[eval(-1 + plottz.length)].split('/').length)], locans.split('|')[0].replace(/\ /g,'_')) + '</option>';
} else {
eventualyourtzlist+='<option value="' + plottz[eval(-1 + plottz.length)] + '" data-geo="' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[1] + ',' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[0] + ',GMT,' + plotcc[eval(-1 + plotcc.length)] + ',+0">' + plottz[eval(-1 + plottz.length)].replace(plottz[eval(-1 + plottz.length)].split('/')[eval(-1 + plottz[eval(-1 + plottz.length)].split('/').length)], locans.split('|')[0].replace(/\ /g,'_')) + '</option>';
}
if (eventualyourtzlist != yourtzlist) { setTimeout(newhashit, 5000); }
}


}

}

} else {
plotplace.push('');
}
plotlong.push(locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[0]);
plotlat.push(locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[1]);
} else if (('' + locans).indexOf(',') != -1 && ('' + locans).indexOf('.') == -1) {
//alert(983);
if (preannocseplocans.toUpperCase().indexOf(('' + zlocans).toUpperCase() + '{') != -1) {
plotanno.push(preannocseplocans.substring(eval(eval((('' + zlocans).toUpperCase() + '{').length) + preannocseplocans.toUpperCase().indexOf(('' + zlocans).toUpperCase() + '{'))).split('}')[0]);
//alert('k:' + plotanno[eval(-1 + plotanno.length)]);
} else {
plotanno.push('');
}

thisplace=' ';
//alert('There');
if (eval('' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',').length) > 2) {
plotplace.push(decodeURIComponent(locans.replace(locans.split(',')[0] + ',' + locans.split(',')[1] + ',', '').replace('(','').replace(')','').replace('[','').replace(']','')));
thisplace=locans.replace(locans.split(',')[0] + ',' + locans.split(',')[1] + ',', '').replace('(','').replace(')','').replace('[','').replace(']','') + ' ';

if (yourtzlistindexOf('/' + ('' + thisplace.trim()).replace(/\ /g,'_') + '<') == -1) {
//alert('thisplace=' + thisplace + ' ' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[1] + ',' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[0]);
var jmoretzs=('' + retnearest(locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[0], locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[1])).split('|');
if (plotcc[eval(-1 + plotcc.length)].trim() == '' && eval('' + jmoretzs.length) > 2) {
if (eval('' + jmoretzs[2].length) == 2) {
plotcc[eval(-1 + plotcc.length)]='' + jmoretzs[2];

if (!realtz || 1 == 1) {
if (locans.indexOf('.') == -1) {
if (argstuff == '') {
argstuff='?nontz=' + encodeURIComponent(prefixingstuff) + encodeURIComponent(addcty('' + locans.replace(locans.split(',')[0] + ',' + locans.split(',')[1] + ',', '').replace('(','').replace(')','').replace('[','').replace(']','').replace(/\ /g,'_').trim()) + '|' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[0].replace('-','_') + '|' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[1].replace('-','_') + '.0' + '|' + jmoretzs[2]);
} else {
argstuff+=encodeURIComponent(',' + addcty(locans.replace(locans.split(',')[0] + ',' + locans.split(',')[1] + ',', '').replace('(','').replace(')','').replace('[','').replace(']','').replace(/\ /g,'_').trim()) + '|' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[0].replace('-','_') + '|' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[1].replace('-','_') + '.0' + '|' + jmoretzs[2]);
}
} else {
if (argstuff == '') {
argstuff='?nontz=' + encodeURIComponent(prefixingstuff) + encodeURIComponent(addcty('' + locans.replace(locans.split(',')[0] + ',' + locans.split(',')[1] + ',', '').replace('(','').replace(')','').replace('[','').replace(']','').replace(/\ /g,'_').trim()) + '|' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[0].replace('-','_') + '|' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[1].replace('-','_') + '|' + jmoretzs[2]);
} else {
argstuff+=encodeURIComponent(',' + addcty(locans.replace(locans.split(',')[0] + ',' + locans.split(',')[1] + ',', '').replace('(','').replace(')','').replace('[','').replace(']','').replace(/\ /g,'_').trim()) + '|' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[0].replace('-','_') + '|' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[1].replace('-','_') + '|' + jmoretzs[2]);
}
}
}
}

thisplace=locans.replace(locans.split(',')[0] + ',' + locans.split(',')[1] + ',', '').replace('(','').replace(')','').replace('[','').replace(']','') + ' ';
//alert('thisplace=' + thisplace + ' ' + 'argstuff=' + decodeURIComponent(argstuff.substring(7)));

}
if (eval('' + jmoretzs.length) > 4) {
plottz[eval(-1 + plottz.length)]='' + jmoretzs[4];
if (locans.indexOf('.') == -1) {
eventualyourtzlist+='<option value="' + plottz[eval(-1 + plottz.length)] + '" data-geo="' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[1] + '.0,' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[0] + ',GMT,' + plotcc[eval(-1 + plotcc.length)] + ',+0">' + plottz[eval(-1 + plottz.length)].replace(plottz[eval(-1 + plottz.length)].split('/')[eval(-1 + plottz[eval(-1 + plottz.length)].split('/').length)], locans.split('|')[0].replace(/\ /g,'_')) + '</option>';
} else {
eventualyourtzlist+='<option value="' + plottz[eval(-1 + plottz.length)] + '" data-geo="' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[1] + ',' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[0] + ',GMT,' + plotcc[eval(-1 + plotcc.length)] + ',+0">' + plottz[eval(-1 + plottz.length)].replace(plottz[eval(-1 + plottz.length)].split('/')[eval(-1 + plottz[eval(-1 + plottz.length)].split('/').length)], locans.split('|')[0].replace(/\ /g,'_')) + '</option>';
}
if (eventualyourtzlist != yourtzlist) { setTimeout(newhashit, 5000); }
}

var zxc=yourtzlistindexOf('/' + ('' + thisplace.trim()).replace(/\ /g,'_') + '<');

udate=new Date();
utcDate = new Date(udate.toLocaleString('en-US', { timeZone: 'UTC' }));

if (!realtz) {
thatplace=eventualyourtzlist.split('/' + ('' + thisplace.trim()).replace(/\ /g,'_') + '<')[0].split(' value="')[eval(-1 + eventualyourtzlist.split('/' + ('' + thisplace.trim()).replace(/\ /g,'_') + '<')[0].split(' value="').length)].split('"')[0];
//alert(locans + ' ' + thatplace + ' ' + eventualyourtzlist.slice(-150));
} else {
thatplace=eventualyourtzlist.split('/' + ('' + thisplace.trim()).replace(/\ /g,'_') + '<')[0].split(' value="')[eval(-1 + eventualyourtzlist.split('/' + ('' + thisplace.trim()).replace(/\ /g,'_') + '<')[0].split(' value="').length)].split('"')[0];
}
//alert(thatplace);
utzdate=new Date();
//alert('thatplace=' + thatplace + '!');
tzDate = new Date(utzdate.toLocaleString('en-US', { timeZone: thatplace.replace('GMT','UTC').replace(/\ /g,'_') }));
extratz=',' + thatplace;
xdate1=new Date().toLocaleString("en-US", { timeZone: thatplace.replace('GMT','UTC').replace(/\ /g,'_') });
xextratztime=(',' + xdate1);
plottz[eval(-1 + plottz.length)]=thatplace;
thatplace=thatplace.replace('GMT','Europe/London').split('/')[eval(-1 + thatplace.replace('GMT','Europe/London').split('/').length)].replace(/\_/g,' ');
xdiff = Math.abs(tzDate.getTime() - utcDate.getTime()) / 3600000;
if (xdiff > 0 && (eval('' + utcDate.getDay()) == 0 && eval('' + tzDate.getDay()) == 6 || eval('' + utcDate.getDay()) > eval('' + tzDate.getDay()))) {
xdiff=-xdiff;
}
xextraemj=',' + clockit('' + xdiff);
plotct[eval(-1 + plotct.length)]=('' + xdate1);
plotemj[eval(-1 + plotemj.length)]=(clockit('' + xdiff));
//alert('2788' + locans.split('|')[0].replace(/\_/g,' ') + '88');

//alert(('' + retnearest(locans.split('|')[1].replace('_','-'), locans.split('|')[2].replace('_','-'))));
jmoretzs=('' + retnearest(locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[0], locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[1])).split('|');
if (plotcc[eval(-1 + plotcc.length)].trim() == '' && eval('' + jmoretzs.length) > 2) {
if (eval('' + jmoretzs[2].length) == 2) {
plotcc[eval(-1 + plotcc.length)]='' + jmoretzs[2];

if (9 == 7) {

if (!realtz) {
if (locans.indexOf('.') == -1) {
if (argstuff == '') {
argstuff='?nontz=' + encodeURIComponent(prefixingstuff) + encodeURIComponent('' + addcty(thisplace.trim()) + '|' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[0].replace('-','_') + '|' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[1].replace('-','_') + '.0' + '|' + jmoretzs[2]);
} else {
argstuff+=encodeURIComponent(',' + addcty(thisplace.trim()) + '|' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[0].replace('-','_') + '|' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[1].replace('-','_') + '.0' + '|' + jmoretzs[2]);
}
} else {
if (argstuff == '') {
argstuff='?nontz=' + encodeURIComponent(prefixingstuff) + encodeURIComponent('' + addcty(thisplace.trim()) + '|' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[0].replace('-','_') + '|' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[1].replace('-','_') + '|' + jmoretzs[2]);
} else {
argstuff+=encodeURIComponent(',' + addcty(thisplace.trim()) + '|' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[0].replace('-','_') + '|' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[1].replace('-','_') + '|' + jmoretzs[2]);
}
}
}
}

}
if (eval('' + jmoretzs.length) > 4) {
plottz[eval(-1 + plottz.length)]='' + jmoretzs[4];
if (locans.indexOf('.') == -1) {
eventualyourtzlist+='<option value="' + plottz[eval(-1 + plottz.length)] + '" data-geo="' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[1] + '.0,' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[0] + ',GMT,' + plotcc[eval(-1 + plotcc.length)] + ',+0">' + plottz[eval(-1 + plottz.length)].replace(plottz[eval(-1 + plottz.length)].split('/')[eval(-1 + plottz[eval(-1 + plottz.length)].split('/').length)], locans.split('|')[0].replace(/\ /g,'_')) + '</option>';
} else {
eventualyourtzlist+='<option value="' + plottz[eval(-1 + plottz.length)] + '" data-geo="' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[1] + ',' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[0] + ',GMT,' + plotcc[eval(-1 + plotcc.length)] + ',+0">' + plottz[eval(-1 + plottz.length)].replace(plottz[eval(-1 + plottz.length)].split('/')[eval(-1 + plottz[eval(-1 + plottz.length)].split('/').length)], locans.split('|')[0].replace(/\ /g,'_')) + '</option>';
}
if (eventualyourtzlist != yourtzlist) { setTimeout(newhashit, 5000); }
}


}

}

} else {
plotplace.push('');
}
plotcc.push('');
plotlong.push(locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[0]);
if (locans.indexOf('.') == -1 && eval('' + locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',').length) > 2) {
plotlat.push(locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[1] + '.0');
} else {
plotlat.push(locans.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[1]);
}
plotct.push('');
plotemj.push('');
plottz.push('');
} else if (locans.trim() != '' && locans.trim() != locans) {
//alert(78);
//alert(5472);
locans=locans.replace(locans.trim(), '');
} else if (locans.trim() != locans) {
//alert('788' + locans + '88');
locans=locans;
} else {
if (locans.indexOf('|') != -1) {
//alert('02788' + locans + '88 ' + locans.split('|')[1] + ' ... ' + locans.split('|')[1].indexOf('|'));
var locs=locans.split('|');
if (eval('' + locs.length) >= 3) { // locans.split('|')[1].indexOf('|') != -1) {
plotcc.push('');
plotct.push('');
plotemj.push('');
plottz.push('');
//alert('2788' + locans + '88');
if (eval('' + locs.length) >= 4) { //if (locans.split('|')[1].split('|')[1].indexOf('|') != -1) {



}
plotplace.push(locans.split('|')[0].replace(/\_/g,' '));
if (argstuff == '') {
argstuff='?nontz=' + encodeURIComponent(prefixingstuff) + encodeURIComponent(addcty('' + locans));
} else {
argstuff+=encodeURIComponent(',' + addcty(locans));
}
plotlong.push(locans.split('|')[1].replace('_','-'));
plotlat.push(locans.split('|')[2].replace('_','-'));
//alert('2788' + locans.split('|')[0].replace(/\_/g,' ') + '88');

//alert(('' + retnearest(locans.split('|')[1].replace('_','-'), locans.split('|')[2].replace('_','-'))));
var moretzs=('' + retnearest(locans.split('|')[1].replace('_','-'), locans.split('|')[2].replace('_','-'))).split('|');
// return '' + ntolong + '|' + ntolat + '|' + thiscc + '|' + thisplace + extratz + extratztime + extraemj + gmttztime + gmtemj;
if (plotcc[eval(-1 + plotcc.length)].trim() == '' && eval('' + moretzs.length) > 2) {
if (eval('' + moretzs[2].length) == 2) {
argstuff+=encodeURIComponent('|' + moretzs[2]);
plotcc[eval(-1 + plotcc.length)]='' + moretzs[2];

}
}
if (eval('' + moretzs.length) > 6) {
plottz[eval(-1 + plottz.length)]='' + moretzs[4];
plotct[eval(-1 + plotct.length)]=(moretzs[5]);
plotemj[eval(-1 + plotemj.length)]=(moretzs[6]);
eventualyourtzlist+='<option value="' + plottz[eval(-1 + plottz.length)] + '" data-geo="' + locans.split('|')[2].replace('_','-') + ',' + locans.split('|')[1].replace('_','-') + ',GMT,' + plotcc[eval(-1 + plotcc.length)] + ',+0">' + plottz[eval(-1 + plottz.length)].replace(plottz[eval(-1 + plottz.length)].split('/')[eval(-1 + plottz[eval(-1 + plottz.length)].split('/').length)], locans.split('|')[0].replace(/\ /g,'_')) + '</option>';
if (eventualyourtzlist != yourtzlist) { setTimeout(newhashit, 5000); }
}

} else {
locans=null;
}
} else {
//alert('78' + locans + '8');
if (locans.indexOf('?') == -1 && locans.trim() != '') {
//locans+='?!';
//location.hash='#' + encodeURIComponent(locans + '?!');
if (gdefv == '') { gdefv=cseplocans; }
if (cseplocans.indexOf(locans + ',') != -1) {
if (6 == 6) {
pleasenolist+='' + plotcc.length + '|';
} else {
pleasenolist+=locans + '|';
}
}
gdefv=(gdefv.replace(locans, (locans + '?!').replace(/\-/g, '%2d')).replace(locans.replace(/\-/g, '%2d'), (locans.replace(/\-/g, '%2d') + '?!').replace(/\-/g, '%2d'))).replace(/\?\!\?\!/g, '?!');
//alert('GDeFv=' + gdefv + ' via locans=' + locans);
//if (('' + location.search + ('' + location.hash).replace(/^\#/g,'')).indexOf('nohelp') == -1) {
//setTimeout(dountilnoquestion, 1000);
//} //else {
//document.getElementById('myimg').click();
//}
//ourprompt(e, blurb, '');
if (9 == 4) {
plotplace.push('');
plotcc.push('');
plotlong.push('');
plotlat.push('');
plottz.push('');
plotct.push('');
plotemj.push('');
}
locans=null;
} else {
locans=null;
}
}
}

}
}

if (gdefv.replace('!?','?!').indexOf('?!') != -1 && ('' + location.search + ('' + location.hash).replace(/^\#/g,'')).indexOf('nohelp') == -1) {
//alert('GDefv=' + gdefv);
setTimeout(dountilnoquestion, 1000);
} else if (gdefv.replace('!?','?!').indexOf('?!') != -1 && ('' + location.search + ('' + location.hash).replace(/^\#/g,'')).indexOf('nohelp') != -1) {
gdefv='';
}

//alert(gdefv);

if (lastdtplace != '') {
if (plotplace[eval(-1 + plotplace.length)].trim() != '') {
document.title=document.title.replace(lastdtplace + ' ... ', '' + plotplace[eval(-1 + plotplace.length)] + ' ... ');
lastdtplace='' + plotplace[eval(-1 + plotplace.length)];
}
} else if (eval('' + plotplace.length) > 0) {
if (plotplace[eval(-1 + plotplace.length)].trim() != '') {
document.title='' + plotplace[eval(-1 + plotplace.length)] + ' ... ' + document.title;
lastdtplace='' + plotplace[eval(-1 + plotplace.length)];
}
}
movesallowed=true;
gmovesallowed=true;
return locans;
}

function callintoplay() {
if (movesallowed && prevhash != decodeURIComponent(('' + location.hash).replace(/^null$/g,'').replace(/^undefined$/g,'').replace(/^\#/g,''))) {
scmok=false;
scmove();
}
setTimeout(callintoplay, 5000);
}

function scmove() {
var newlist='', prefnew='', suffnew='', nlist='';
var xdiff=0, ydiff=0;
var longforce='-999', latforce='-999', docreep=true, nosecgo=false; // , prevone=0, prevtwo=0, prevthree=0, prevfour=0
if (movesallowed) {
if (screenlong < 0) {
screenlong=eval(360 * screenwidth / eval(document.getElementById('myimg').width));
screenlat=eval(180 * screenheight / eval(document.getElementById('myimg').height));
//alert(screenlong);
document.getElementById('myimg').onclick=function(event) { event.stopPropagation(); movesallowed=false; gmovesallowed=false; if (gdefv != '') { askfor=ourprompt(event,'Earth Scanner - RJM Programming - February, 2024 ... ' + String.fromCharCode(10) + 'Thanks to https://github.com/nvkelso/natural-earth-raster/blob/master/50m_rasters/HYP_50M_SR_W/HYP_50M_SR_W.README.html ... ' + String.fromCharCode(10) + 'Currently top left of screen is (Longitude,Latitude) ' + '(' + eval(-180 + xp * 360 / 100) + ',' + eval(90 - yp * 180 / 100) + ') and bottom right is (' + eval(-180 + screenlong + xp * 360 / 100) + ',' + eval(90 - screenlat - yp * 180 / 100) + ') and around the middle is (' + eval(-180 + eval(screenlong / 2) + xp * 360 / 100) + ',' + eval(90 - eval(screenlat / 2) - yp * 180 / 100) + ').' + String.fromCharCode(10) + 'Where do you want middle of screen to be in terms of Longitude,Latitude? Suffix with space to show meridians and/or prefix with space to not show meridians.', gdefv); gdefv=''; } else { askfor=ourprompt(event,'Earth Scanner - RJM Programming - February, 2024 ... ' + String.fromCharCode(10) + 'Thanks to https://github.com/nvkelso/natural-earth-raster/blob/master/50m_rasters/HYP_50M_SR_W/HYP_50M_SR_W.README.html ... ' + String.fromCharCode(10) + 'Currently top left of screen is (Longitude,Latitude) ' + '(' + eval(-180 + xp * 360 / 100) + ',' + eval(90 - yp * 180 / 100) + ') and bottom right is (' + eval(-180 + screenlong + xp * 360 / 100) + ',' + eval(90 - screenlat - yp * 180 / 100) + ') and around the middle is (' + eval(-180 + eval(screenlong / 2) + xp * 360 / 100) + ',' + eval(90 - eval(screenlat / 2) - yp * 180 / 100) + ').' + String.fromCharCode(10) + 'Where do you want middle of screen to be in terms of Longitude,Latitude? Suffix with space to show meridians and/or prefix with space to not show meridians.', ''); } if (('' + askfor).replace('(','').replace(')','').replace('[','').replace(']','').indexOf(',') != -1) {
ameridian='';
acircleoflatitude='';
enforcedlong=false;
enforcedxp=-999; } movesallowed=true; gmovesallowed=true; };
}

if (prevhash != decodeURIComponent(('' + location.hash).replace(/^null$/g,'').replace(/^undefined$/g,'').replace(/^\#/g,''))) {
//alert(9);
thishash=decodeURIComponent(('' + location.hash).replace(/^null$/g,'').replace(/^undefined$/g,'').replace(/^\#/g,'')); //.trim();
for (var iop=0; iop<plotplace.length; iop++) {
thishash=thishash.replace(plotplace[iop], '');
}
//alert(thishash);
var thishs=thishash.replace(/\ tJUNKo\ /g,',').replace(/\ frJUNKom\ /g,',').replace(/\ TJUNKO\ /g,',').replace(/\ FRJUNKOM\ /g,',').trim().split(',');
if (thishs[0].trim() != '') {
for (var ipo=0; ipo<thishs.length; ipo++) {
if (newlist == '') {
nlist=thishs[ipo].replace(/\+/g,'').trim(); //.trim();
newlist=thishs[ipo].replace(/\+/g,''); //.trim();
prefnew=thishs[ipo].replace(/\+/g,' ').split(nlist)[0];
if (eval(1 + ipo) == eval('' + thishs.length) && thishs[ipo].replace(/\+/g,' ') != (prefnew + newlist)) {
//alert(98);
suffnew=thishs[ipo].replace(/\+/g,' ').split(newlist)[1];
}
} else {
nlist=thishs[ipo].replace(/\+/g,'').trim(); //.trim();
newlist+=',' + nlist; //.trim();
if (eval(1 + ipo) == eval('' + thishs.length) && thishs[ipo].replace(/\+/g,' ') != nlist) {
suffnew=thishs[ipo].replace(/\+/g,' ').split(nlist)[1];
}
}
}
}
prevhash=decodeURIComponent(('' + location.hash).replace(/^null$/g,'').replace(/^undefined$/g,'').replace(/^\#/g,'')); //.trim();
if (newlist != '') {
//alert('newlist=' + newlist + '|');
gdefv=prefnew + newlist + suffnew;
//alert(prefnew + newlist + suffnew + '!');
if (1 == 1) {
askfor=gdefv;
//alert('askfor=' + askfor);
if (1 == 7 && ('' + askfor).replace('(','').replace(')','').replace('[','').replace(']','').indexOf(',') != -1) {
ameridian='';
acircleoflatitude='';
enforcedlong=false;
enforcedxp=-999;
}
document.getElementById('myimg').click();
gdefv='';
if (scmok) { setTimeout(scmove, fivethousand); } else { scmok=true; }
//if (firstopn) { alert(1); }
if (firstopn && eval('' + plotplace.length) > 0) {
//alert(11);
if (plotplace[eval(-1 + plotplace.length)].trim() != '') {
//alert(111);
document.title='' + plotplace[eval(-1 + plotplace.length)] + ' ... ';
lastdtplace='' + plotplace[eval(-1 + plotplace.length)];
}
firstopn=false;
}
return null;
} else {
ourprompt(null,'Earth Scanner - RJM Programming - February, 2024 ... ' + String.fromCharCode(10) + 'Thanks to https://github.com/nvkelso/natural-earth-raster/blob/master/50m_rasters/HYP_50M_SR_W/HYP_50M_SR_W.README.html ... ' + String.fromCharCode(10) + 'Currently top left of screen is (Longitude,Latitude) ' + '(' + eval(-180 + xp * 360 / 100) + ',' + eval(90 - yp * 180 / 100) + ') and bottom right is (' + eval(-180 + screenlong + xp * 360 / 100) + ',' + eval(90 - screenlat - yp * 180 / 100) + ') and around the middle is (' + eval(-180 + eval(screenlong / 2) + xp * 360 / 100) + ',' + eval(90 - eval(screenlat / 2) - yp * 180 / 100) + ').' + String.fromCharCode(10) + 'Where do you want middle of screen to be in terms of Longitude,Latitude? Suffix with space to show meridians and/or prefix with space to not show meridians.', newlist);
}
}
//if (firstopn) { alert(1); }
if (firstopn && eval('' + plotplace.length) > 0) {
//alert(11);
if (plotplace[eval(-1 + plotplace.length)].trim() != '') {
//alert(111);
document.title='' + plotplace[eval(-1 + plotplace.length)] + ' ... ';
lastdtplace='' + plotplace[eval(-1 + plotplace.length)];
}
firstopn=false;
}
}

//document.title="window.scrollTo(" + eval(xp * eval('' + document.getElementById('myimg').width) / eval(100 * zoomf)) + "," + eval(yp * eval('' + document.getElementById('myimg').height) / eval(100 * zoomf)) + ")";
if (askfor != null) {
movesallowed=true;
gmovesallowed=true;
//alert(56);
if (askfor.trim() != askfor) {
if (askfor.substring(0,1) == ' ') {
documentURL=documentURL + '&nolines=y';
needtocheck=true;
ameridian='';
acircleoflatitude='';
bmeridian='';
bcircleoflatitude='';
document.getElementById('dstyle').innerHTML=endkeys;
if (askfor.trim() == '') { askfor='-180,90'; }
} else if (askfor.slice(-1) == ' ') {
//alert(598);
documentURL=documentURL.replace('nolines=', 'noXlines=');
needtocheck=true;
}
askfor=askfor.trim();
}
if (askfor.replace('(','').replace(')','').replace('[','').replace(']','').indexOf(',') != -1) {
longforce=askfor.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[0];
latforce=askfor.replace('(','').replace(')','').replace('[','').replace(']','').split(',')[1];
needtocheck=true;
docreep=false;
} else if (askfor.replace('(','').replace(')','').replace('[','').replace(']','').indexOf(' ') != -1) {
longforce=askfor.replace('(','').replace(')','').replace('[','').replace(']','').split(' ')[0];
latforce=askfor.replace('(','').replace(')','').replace('[','').replace(']','').split(' ')[1];
needtocheck=true;
docreep=false;
}
if (eval(latforce - screenlat / 2) < -90 && acircleoflatitude == '') {
latforce=eval(-90 + screenlat / 2);
}
if (eval(eval(longforce - screenlong / 2) % screenlong) != 0 && ameridian == '') {
var xxp=eval(-180.0 + eval(screenlong / 2));
while (xxp < longforce) { // && xxp < eval(180 - screenlong / 2)) {
xxp+=screenlong;
endlinedone=true;
}
if (Math.abs(xxp - longforce) > eval(screenlong / 2) || xxp >= 180) {
xxp-=screenlong;
}
longforce=xxp;
//alert('Adjust to ' + longforce);
}
//xp = eval(((eval(eval('' + longforce) + 180) / 360) * eval('' + document.getElementById('myimg').width) / 100) - 0 * eval(eval(screenlong / 720) * eval('' + document.getElementById('myimg').width) / 100));
//yp = eval(((eval(90 - eval('' + latforce)) / 180) * eval('' + document.getElementById('myimg').height) / 100) + 0 * eval(eval(screenlat / 360) * eval('' + document.getElementById('myimg').height) / 100));
xp = eval(eval(eval('' + longforce) - screenlong / 2 + 180) / 3.60); // * eval('' + document.getElementById('myimg').width) / 100) - 0 * eval(eval(screenlong / 720) * eval('' + document.getElementById('myimg').width) / 100));
yp = eval(eval(90 - eval('' + latforce) - screenlat / 2) / 1.80); // * eval('' + document.getElementById('myimg').height) / 100) + 0 * eval(eval(screenlat / 360) * eval('' + document.getElementById('myimg').height) / 100));
//alert('' + xp + ',' + yp + ' ... ' + "window.scrollTo(" + eval(xp * eval('' + document.getElementById('myimg').width) / 100) + "," + eval(yp * eval('' + document.getElementById('myimg').height) / 100) + ")");
askfor=null;
//if (eval(-180 + screenlong + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100) > 173 && eval(-180 + screenlong + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100) < 180) {
// while (eval(-180 + screenlong + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100) > 173 && eval(-180 + screenlong + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100) < 180) {
// xp+=0.001;
// }
//}
//xp-=5;
if (endlinedone) {
checklls(eval(-180 + xp * 360 / 100), eval(90 - yp * 180 / 100), eval(-180 + screenlong + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100), eval(90 - screenlat - yp * 180 / 100));
}
if (enforcedlong) {
enforcedlong=false;
enforcedxp=xp;
//alert(xp + ' or ' + enforcedxp);
}
}
if (9 == 5 && !endlinedone && eval(-180 + screenlong + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100) > eval(180 - screenlong / 1) && eval(-180 + screenlong + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100) < 180) {
//alert('adjust ' + eval(-180 + screenlong + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100) + ' vs ' + eval(180 - screenlong / 2));
while (eval(-180 + screenlong + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100) > eval(180 - screenlong / 1) && eval(-180 + screenlong + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100) < 180) {
xp-=0.001;
}
xp+=0.001;
endlinedone=true;
//alert('' + eval(-180 + screenlong + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100) + ' adJust ' + eval(-180 + screenlong + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100) + ' vs ' + eval(180 - screenlong / 2));
}
eval("window.scrollTo(" + eval((enforcedxp > -990 ? enforcedxp : xp) * eval('' + document.getElementById('myimg').width) / eval(100 * zoomf)) + "," + eval(yp * eval('' + document.getElementById('myimg').height) / eval(100 * zoomf)) + ")");
document.getElementById('myimg').title='Earth Scanner - RJM Programming - February, 2024 ... ' + 'Thanks to https://github.com/nvkelso/natural-earth-raster/blob/master/50m_rasters/HYP_50M_SR_W/HYP_50M_SR_W.README.html ... ' + String.fromCharCode(10) + String.fromCharCode(10) + 'Top left of screen is (Longitude,Latitude) ' + '(' + eval(-180 + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100) + ',' + eval(90 - yp * 180 / 100) + ') and bottom right is (' + eval(-180 + screenlong + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100) + ',' + eval(90 - screenlat - yp * 180 / 100) + ') and around the middle is (' + eval(-180 + eval(screenlong / 2) + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100) + ',' + eval(90 - eval(screenlat / 2) - yp * 180 / 100) + ')' + ' ' + String.fromCharCode(10) + String.fromCharCode(10) + document.body.title;
//document.title=document.getElementById('myimg').title; //'Top left of screen is (Longitude,Latitude) ' + '(' + eval(-180 + xp * 360 / 100) + ',' + eval(90 - yp * 180 / 100) + ') and bottom right is (' + eval(-180 + screenlong + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100) + ',' + eval(90 - screenlat - yp * 180 / 100) + ') and around the middle is (' + eval(-180 + eval(screenlong / 2) + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100) + ',' + eval(90 - eval(screenlat / 2) - yp * 180 / 100) + ')';
if (!docreep) {
//alert(document.title);
xdiff=eval((enforcedxp > -990 ? enforcedxp : xp) * eval('' + document.getElementById('myimg').width) / 100);
ydiff=eval(yp * eval('' + document.getElementById('myimg').height) / 100);
var startkeys=fixkeys;
var coords=fixkeys.split('px');
for (var ic=0; ic<coords.length; ic+=2) {
if (coords[ic].split(' ')[eval(-1 + coords[ic].split(' ').length)].indexOf('<') == -1) {
//alert('' + xdiff + ',' + ydiff+ ',' + coords[ic].split(' ')[eval(-1 + coords[ic].split(' ').length)]);
startkeys=startkeys.replace(' ' + coords[ic].split(' ')[eval(-1 + coords[ic].split(' ').length)] + 'px', ' ' + eval(xdiff + eval('' + coords[ic].split(' ')[eval(-1 + coords[ic].split(' ').length)])) + 'px');
startkeys=startkeys.replace(' ' + coords[eval(1 + ic)].split(' ')[eval(-1 + coords[eval(1 + ic)].split(' ').length)] + 'px', ' ' + eval(ydiff + eval('' + coords[eval(1 + ic)].split(' ')[eval(-1 + coords[eval(1 + ic)].split(' ').length)])) + 'px');
}
}
//alert(startkeys);
if (needtocheck && documentURL.indexOf('nolines=') == -1) {
checklls(eval(-180 + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100), eval(90 - yp * 180 / 100), eval(-180 + screenlong + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100), eval(90 - screenlat - yp * 180 / 100));
//checklls(one,two,three,four); //eval(-180 + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100),eval(90 - yp * 180 / 100),eval(-180 + screenlong + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100),eval(90 - screenlat - yp * 180 / 100));
//needtocheck=false;
}
if ((ameridian + acircleoflatitude + bmeridian + bcircleoflatitude) == '' || documentURL.indexOf('nolines=') != -1) {
document.getElementById('dstyle').innerHTML=startkeys; //.replace(/mymove/g, 'mymove' + num);
} else {
document.getElementById('dstyle').innerHTML=ameridian + acircleoflatitude + bmeridian + bcircleoflatitude + startkeys; //.replace(/mymove/g, 'mymove' + num);
}
endkeys=startkeys;
num++;
//docreep=true;
//return '';
}
one=eval(-180 + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100);
two=eval(90 - yp * 180 / 100);
three=eval(-180 + screenlong + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100);
four=eval(90 - screenlat - yp * 180 / 100);
if (!docreep) {
if (documentURL.indexOf('nolines=') == -1) {
num++;
xp+=five;
prevone=one; //eval(-180 + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100);
prevtwo=two; //eval(90 - yp * 180 / 100);
prevthree=three; //eval(-180 + screenlong + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100);
prevfour=four; //eval(90 - screenlat - yp * 180 / 100);
if (scmok) { setTimeout(scmove, fivethousand); } else { scmok=true; }

return '';
}
}
if (docreep) {
//if (eval(90 - screenlat - yp * 180 / 100) < -90) {
// alert('three=' + three + ' and xp=' + xp + ' and yp=' + yp);
//}
// three=-132 and xp=0 and yp=88.33333333333333
// three=-114 and xp=5 and yp=88.33333333333333
if (xp < 90 && three < 180) {
xp+=five;
if (documentURL.indexOf('nolines=') == -1) {
bmeridian='';
eval("window.scrollTo(" + eval((enforcedxp > -990 ? enforcedxp : (xp - 5)) * eval('' + document.getElementById('myimg').width) / eval(100 * zoomf)) + "," + eval(yp * eval('' + document.getElementById('myimg').height) / eval(100 * zoomf)) + ")");
document.getElementById('myimg').title='Earth Scanner - RJM Programming - February, 2024 ... ' + 'Thanks to https://github.com/nvkelso/natural-earth-raster/blob/master/50m_rasters/HYP_50M_SR_W/HYP_50M_SR_W.README.html ... ' + String.fromCharCode(10) + String.fromCharCode(10) + 'Top left of screen is (Longitude,Latitude) ' + '(' + eval(-180 + (enforcedxp > -990 ? enforcedxp : (xp - 5)) * 360 / 100) + ',' + eval(90 - yp * 180 / 100) + ') and bottom right is (' + eval(-180 + screenlong + (enforcedxp > -990 ? enforcedxp : (xp - 5)) * 360 / 100) + ',' + eval(90 - screenlat - yp * 180 / 100) + ') and around the middle is (' + eval(-180 + eval(screenlong / 2) + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100) + ',' + eval(90 - eval(screenlat / 2) - yp * 180 / 100) + ')' + ' ' + String.fromCharCode(10) + String.fromCharCode(10) + document.body.title;
//document.title=document.getElementById('myimg').title; //'Top left of screen is (Longitude,Latitude) ' + '(' + eval(-180 + xp * 360 / 100) + ',' + eval(90 - yp * 180 / 100) + ') and bottom right is (' + eval(-180 + screenlong + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100) + ',' + eval(90 - screenlat - yp * 180 / 100) + ') and around the middle is (' + eval(-180 + eval(screenlong / 2) + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100) + ',' + eval(90 - eval(screenlat / 2) - yp * 180 / 100) + ')';
//alert(345);
checklls(prevone,prevtwo,prevthree,prevfour); //eval(-180 + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100),eval(90 - yp * 180 / 100),eval(-180 + screenlong + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100),eval(90 - screenlat - yp * 180 / 100));
//needtocheck=false;
//alert('ouch1');
}
} else if (yp >= 85 && (xp >= 90 || three >= 180)) { // used to be 95
enforcedxp=-999;
//alert('Eenforcedxp=' + enforcedxp);
endlinedone=false;
xp=0;
yp=0;
if (document.getElementById('mydl')) {
document.getElementById('mydl').style.display='none';
acircleoflatitude='';
}
if (document.getElementById('mydm')) {
document.getElementById('mydm').style.display='none';
ameridian='';
}
needtocheck=true;
bcircleoflatitude='';
bmeridian='';
//location.href=documentURL;

if (3 == 6) {
eval("window.scrollTo(" + eval((enforcedxp > -990 ? enforcedxp : (xp - 0)) * eval('' + document.getElementById('myimg').width) / eval(100 * zoomf)) + "," + eval(yp * eval('' + document.getElementById('myimg').height) / eval(100 * zoomf)) + ")");
document.getElementById('myimg').title='Earth Scanner - RJM Programming - February, 2024 ... ' + 'Thanks to https://github.com/nvkelso/natural-earth-raster/blob/master/50m_rasters/HYP_50M_SR_W/HYP_50M_SR_W.README.html ... ' + String.fromCharCode(10) + String.fromCharCode(10) + 'Top left of screen is (Longitude,Latitude) ' + '(' + eval(-180 + (enforcedxp > -990 ? enforcedxp : (xp - 0)) * 360 / 100) + ',' + eval(90 - yp * 180 / 100) + ') and bottom right is (' + eval(-180 + screenlong + (enforcedxp > -990 ? enforcedxp : (xp - 0)) * 360 / 100) + ',' + eval(90 - screenlat - yp * 180 / 100) + ') and around the middle is (' + eval(-180 + eval(screenlong / 2) + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100) + ',' + eval(90 - eval(screenlat / 2) - yp * 180 / 100) + ')';
//document.title=document.getElementById('myimg').title; //'Top left of screen is (Longitude,Latitude) ' + '(' + eval(-180 + xp * 360 / 100) + ',' + eval(90 - yp * 180 / 100) + ') and bottom right is (' + eval(-180 + screenlong + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100) + ',' + eval(90 - screenlat - yp * 180 / 100) + ') and around the middle is (' + eval(-180 + eval(screenlong / 2) + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100) + ',' + eval(90 - eval(screenlat / 2) - yp * 180 / 100) + ')';
bcircleoflatitude='';
bmeridian='';
nosecgo=true;
//checklls(prevone,prevtwo,prevthree,prevfour); //eval(-180 + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100),eval(90 - yp * 180 / 100),eval(-180 + screenlong + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100),eval(90 - screenlat - yp * 180 / 100));
//checklls(one,two,three,four); //eval(-180 + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100),eval(90 - yp * 180 / 100),eval(-180 + screenlong + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100),eval(90 - screenlat - yp * 180 / 100));
checklls(eval(-180 + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100), eval(90 - yp * 180 / 100), eval(-180 + screenlong + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100), eval(90 - screenlat - yp * 180 / 100), "window.scrollTo(" + eval((enforcedxp > -990 ? enforcedxp : (xp - 0)) * eval('' + document.getElementById('myimg').width) / eval(100 * zoomf)) + "," + eval(yp * eval('' + document.getElementById('myimg').height) / eval(100 * zoomf)) + ")");
}
xp=-5;

} else {
xp+=five;
xdiff=eval((enforcedxp > -990 ? enforcedxp : xp) * eval('' + document.getElementById('myimg').width) / 100);
ydiff=eval(yp * eval('' + document.getElementById('myimg').height) / 100);
if (needtocheck && documentURL.indexOf('nolines=') == -1) {
prevone=eval(-180 + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100);
prevtwo=eval(90 - yp * 180 / 100);
prevthree=eval(-180 + screenlong + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100);
prevfour=eval(90 - screenlat - yp * 180 / 100);

eval("window.scrollTo(" + eval((enforcedxp > -990 ? enforcedxp : (xp - 0)) * eval('' + document.getElementById('myimg').width) / eval(100 * zoomf)) + "," + eval(yp * eval('' + document.getElementById('myimg').height) / eval(100 * zoomf)) + ")");
document.getElementById('myimg').title='Earth Scanner - RJM Programming - February, 2024 ... ' + 'Thanks to https://github.com/nvkelso/natural-earth-raster/blob/master/50m_rasters/HYP_50M_SR_W/HYP_50M_SR_W.README.html ... ' + String.fromCharCode(10) + String.fromCharCode(10) + 'Top left of screen is (Longitude,Latitude) ' + '(' + eval(-180 + (enforcedxp > -990 ? enforcedxp : (xp - 0)) * 360 / 100) + ',' + eval(90 - yp * 180 / 100) + ') and bottom right is (' + eval(-180 + screenlong + (enforcedxp > -990 ? enforcedxp : (xp - 0)) * 360 / 100) + ',' + eval(90 - screenlat - yp * 180 / 100) + ') and around the middle is (' + eval(-180 + eval(screenlong / 2) + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100) + ',' + eval(90 - eval(screenlat / 2) - yp * 180 / 100) + ')';
//document.title=document.getElementById('myimg').title; //'Top left of screen is (Longitude,Latitude) ' + '(' + eval(-180 + xp * 360 / 100) + ',' + eval(90 - yp * 180 / 100) + ') and bottom right is (' + eval(-180 + screenlong + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100) + ',' + eval(90 - screenlat - yp * 180 / 100) + ') and around the middle is (' + eval(-180 + eval(screenlong / 2) + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100) + ',' + eval(90 - eval(screenlat / 2) - yp * 180 / 100) + ')';
bcircleoflatitude='';
bmeridian='';
nosecgo=true;
//checklls(prevone,prevtwo,prevthree,prevfour); //eval(-180 + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100),eval(90 - yp * 180 / 100),eval(-180 + screenlong + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100),eval(90 - screenlat - yp * 180 / 100));
//checklls(one,two,three,four); //eval(-180 + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100),eval(90 - yp * 180 / 100),eval(-180 + screenlong + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100),eval(90 - screenlat - yp * 180 / 100));
if (document.getElementById('mydl')) {
document.getElementById('mydl').style.display='none';
acircleoflatitude='';
}
if (document.getElementById('mydm')) {
document.getElementById('mydm').style.display='none';
ameridian='';
}
rightchecklls(eval(-180 + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100), eval(90 - yp * 180 / 100), eval(-180 + screenlong + (enforcedxp > -990 ? enforcedxp : xp) * 360 / eval(100 * zoomf)), eval(90 - screenlat - yp * 180 / eval(100 * zoomf)), "window.scrollTo(" + eval((enforcedxp > -990 ? enforcedxp : (xp - 0)) * eval('' + document.getElementById('myimg').width) / eval(100 * zoomf)) + "," + eval(yp * eval('' + document.getElementById('myimg').height) / eval(100 * zoomf)) + ")");
//alert(1345);
}
if (document.getElementById('mydl')) {
document.getElementById('mydl').style.display='none';
acircleoflatitude='';
}
needtocheck=true;
setTimeout(function(){
endlinedone=false;
yp+=5;
xp=0;
one=eval(-180 + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100);
two=eval(90 - yp * 180 / 100);
three=eval(-180 + screenlong + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100);
four=eval(90 - screenlat - yp * 180 / 100);
bcircleoflatitude='';
bmeridian='';
}, 1000);
}
}
}


if (xdiff == 0 && ydiff == 0) {
xdiff=eval((enforcedxp > -990 ? enforcedxp : xp) * eval('' + document.getElementById('myimg').width) / 100);
ydiff=eval(yp * eval('' + document.getElementById('myimg').height) / 100);
}
var startkeys=fixkeys;
var coords=fixkeys.split('px');
for (var ic=0; ic<coords.length; ic+=2) {
if (coords[ic].split(' ')[eval(-1 + coords[ic].split(' ').length)].indexOf('<') == -1) {
//alert('' + xdiff + ',' + ydiff+ ',' + coords[ic].split(' ')[eval(-1 + coords[ic].split(' ').length)]);
startkeys=startkeys.replace(' ' + coords[ic].split(' ')[eval(-1 + coords[ic].split(' ').length)] + 'px', ' ' + eval(xdiff + eval('' + coords[ic].split(' ')[eval(-1 + coords[ic].split(' ').length)])) + 'px');
startkeys=startkeys.replace(' ' + coords[eval(1 + ic)].split(' ')[eval(-1 + coords[eval(1 + ic)].split(' ').length)] + 'px', ' ' + eval(ydiff + eval('' + coords[eval(1 + ic)].split(' ')[eval(-1 + coords[eval(1 + ic)].split(' ').length)])) + 'px');
}
}
//alert(startkeys);
if (needtocheck && documentURL.indexOf('nolines=') == -1) {
//checklls(eval(-180 + xp * 360 / 100), eval(90 - yp * 180 / 100), eval(-180 + screenlong + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100), eval(90 - screenlat - yp * 180 / 100));
if (!nosecgo) { checklls(one,two,three,four); //eval(-180 + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100),eval(90 - yp * 180 / 100),eval(-180 + screenlong + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100),eval(90 - screenlat - yp * 180 / 100)); }
//needtocheck=false;
//alert('ouch2');
}
if ((ameridian + acircleoflatitude + bmeridian + bcircleoflatitude) == '' || documentURL.indexOf('nolines=') != -1) {
document.getElementById('dstyle').innerHTML=startkeys; //.replace(/mymove/g, 'mymove' + num);
} else {
document.getElementById('dstyle').innerHTML=ameridian + acircleoflatitude + bmeridian + bcircleoflatitude + startkeys; //.replace(/mymove/g, 'mymove' + num);
}
num++;
prevone=one; //eval(-180 + xp * 360 / 100);
prevtwo=two; //eval(90 - yp * 180 / 100);
prevthree=three; //eval(-180 + screenlong + (enforcedxp > -990 ? enforcedxp : xp) * 360 / 100);
prevfour=four; //eval(90 - screenlat - yp * 180 / 100);
}
if (scmok) { setTimeout(scmove, fivethousand); } else { scmok=true; }
}

setTimeout(scmove, fivethousand);

var ourprefixingstuff=decodeURIComponent(('' + window.localStorage.getItem('earth_scanner_externals')).replace(/^null/g,'').replace(/^undefined/g,''));
console.log('0:' + ourprefixingstuff);
thecss=earth_scanner_css;
var needlater=false;

if (thecss == '') {
thecss=decodeURIComponent(('' + window.localStorage.getItem('earth_scanner_css')).replace(/^null/g,'').replace(/^undefined/g,''));
if (ourprefixingstuff != '') {
needlater=true; //processcss(ourprefixingstuff + thecss);
}
if (thecss != '') { processcss(thecss); }
} else if (thecss.replace('nocssplease',':').indexOf(':') != -1) {
var cflds=thecss.split(':');
if (('' + window.localStorage.getItem('earth_scanner_css')).replace(/^null/g,'').replace(/^undefined/g,'') != '') {
window.localStorage.removeItem('earth_scanner_css');
}
if (cflds[eval(-1 + cflds.length)].trim() != '') {
window.localStorage.setItem('earth_scanner_css', encodeURIComponent(thecss));
} else {
thecss='';
thecssarg='';
}
}
if (thecss.replace('nocssplease',':').indexOf(':') == -1) {
thecss='';
if (ourprefixingstuff != '') {
window.localStorage.removeItem('earth_scanner_externals');
}
} else {
thecssarg='?css=' + encodeURIComponent(thecss);
if (ourprefixingstuff != '') { needlater=true; }
if (thecss != '') { processcss(thecss); }
}

var speechtotextwo=null;
var atendest='<input type=hidden id=posturl style=display:none; value=""></input><input type=button id=dbutton onclick=checkforstt(); style=display:none;></input>';
var atend='<br><br><div id=dc><canvas title="" id=ourcanvas width=' + ('' + eval(-15 + (window.orientation == 0 ? window.screen.height: window.screen.width)) + 'px').replace('pxpx','').replace('px','') + ' height=660 style="width:' + ('' + eval(-15 + (window.orientation == 0 ? window.screen.height: window.screen.width)) + 'px').replace('pxpx','px') + ';height:660px;border:1px solid red;background-color:' + bcol + ';' + extrastyle + '"></canvas></div><div id=xdscriptstuff></div><div id=xdstylestuff></div><textarea id=myta style=display:none; value=""></textarea><iframe onload=scranal(this); id=scrmytaif style=display:none; src=></iframe><iframe onload=styanal(this); id=stymytaif style=display:none; src=></iframe><iframe class="spag" scrolling="no" data-onload="iifopen(this);" id="cbi" frameborder="0" style="position:fixed;top:0px;left:150px;width:173px;height:218px;margin-top:-204px;display:none;" src="/HTMLCSS/client_browsing.htm?straighttext=312160562686"></iframe><textarea id=result1 style=display:none;></textarea><textarea id=result2 style=display:none;></textarea>' + exdstylestuff + exdscriptstuff + atendest;
var parentiframe='';
var iol='';
if (window.opener) {
var pu=window.opener.document.URL;
//alert(pu);
//alert(window.opener.location.hash);
if (pu.indexOf('#') == -1 && ('' + window.opener.location.hash).replace(/^null/g,'').replace(/^undefined/g,'') != '') {
pu+=('#' + ('' + window.opener.location.hash)).replace(/^\#\#/g, '#');
//alert(pu);
}
thecss+='display:block;';
parentiframe='<br><iframe id=mtif style="width:100%;height:800px;z-index:987;margin:0 0 0 0;margin-left:10px;margin-top:10px;background-color:rgba(0,0,255,0.5);" src="' + pu + '"></iframe><div id=dhiddens style=display:none;><div id=goagain></div><input type=hidden id=ltf value=></input><input type=hidden id=lgf value=></input><input type=hidden id=ltt value=></input><input type=hidden id=lgt value=></input><div id=slong></div><iframe id=niframe src=></iframe></div>';

iol=' onload="document.body.onclick=function(){ document.getElementById(' + "'myimg'" + ').style.display=document.getElementById(' + "'myimg'" + ').style.display.replace(' + "'block','NONE'" + ').replace(' + "'none','block'" + ').replace(' + "'NONE','none'" + '); if (1 == 2) { document.getElementById(' + "'dstyle'" + ').style.display=document.getElementById(' + "'dstyle'" + ').style.display.replace(' + "'visible','HIDDEN'" + ').replace(' + "'hidden','visible'" + ').replace(' + "'HIDDEN','hidden'" + '); } if (document.getElementById(' + "'myimg'" + ').style.display == ' + "'none'" + ') { window.scrollTo(0,0); document.body.style.backgroundColor=' + "'rgba(255,0,0,0.5)'" + '; } else { window.scrollTo(cspx, cspy); document.body.style.backgroundColor=' + "'rgba(0,0,255,0.5)'" + '; } } " ';
setInterval(getcsp, 5000);
}
document.write("<img" + iol + " src='/HTMLCSS/HYP_50M_SR_W.jpg' id=myimg width=" + eval(zoomf * 10800) + " height=" + eval(zoomf * 5400) + " style='margin:0 0 0 0;margin-left:10px;margin-top:10px;" + thecss + "'></img><div id=dstyle style=visibility:visible;></div><input id=sdtitle type=hidden value='Earth Scanner'></input><input id=sdtext type=hidden value='Earth Scanner - RJM Programming'></input><input id=sdurl type=hidden value='" + document.URL.split('#')[0] + ('' + location.hash).replace(/^null/g,'').replace(/^undefined/g,'') + "'></input><iframe scrolling=no farmeborder=0 style='z-index:3456;position:fixed;top:55px;left:15px;width:30px;height:24px;' onload='storeshare(this);' src='/HTMLCSS/web_share_api_test.html?emojize=128231'></iframe><input type=hidden id=itworked value=''></input><iframe onload=coordit(this); id=wif style=display:none;margin-left:50px; src='//wikipedia.org/wiki/Saint_George,_Antigua_and_Barbuda'></iframe><iframe onload=coordittwo(this); id=wiftwo style=display:none; src=></iframe><input type=hidden id=placegeo title='' value=''></input>" + atend + parentiframe);
document.body.title='' + document.title + String.fromCharCode(10) + ' ... at prompt ++ can make delay between snapshots slower and -- can make delay faster ' + String.fromCharCode(10) + ' ... at prompt > can hide time related information else < reveals again ' + String.fromCharCode(10) + ' ... comma lists of TimeZone places (suffix ? for Wikipedia ! forced), Country Codes, Country Names can be plotted via click or via hashtag use at address bar ' + String.fromCharCode(10) + ' ... suffix with space to show meridians and/or prefix to not show meridians ' + String.fromCharCode(10) + ' ... multiple place plotting is faster via comma separated {} annotated list (where, instead of comma, a minus - constructs Trip Leg between those places) ';
document.body.style.backgroundColor='rgba(0,0,255,0.5)';
//alert(document.getElementById('myimg').width);
if (needlater) { processcss(ourprefixingstuff); }
setInterval(scrlookfor, 5000);
//setInterval(stylookfor, 5000);
if (document.URL.indexOf('https:') != -1 && navigator.userAgent.toLowerCase().indexOf('chrome') > -1 && !navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) {
speechtotextwo=window.open('https://www.rjmprogramming.com.au/PHP/speech_supervisor.php?mode=3', '_blank', 'top=0,left=' + eval(-300 + screenwidth) + ',width=300,height=500');
setTimeout(checkforstt, 6000);
setTimeout(function(){ speechtotextwo.document.title='Places for Earth Scanner'; }, 5000);
}

document.onvisibilitychange = function() {
if (document.visibilityState === "hidden") {
document.title=(document.title + ' ... ').split(' ... ')[0] + ' ... ' + 'You Left ' + document.URL + ' At ' + ('' + new Date()) + '.'
document.body.style.backgroundColor='yellow';
if (playing) {
movesallowed=false; five=0; // document.getElementById('main-video').pause();
playing=false;
restart=true;
document.title=(document.title + ' ... ').split(' ... ')[0] + ' ... ' + 'Paused URL at ' + document.URL + ' at ' + ('' + new Date()) + '.';
} else {
movesallowed=false; five=0; // document.getElementById('main-video').pause();
document.title=(document.title + ' ... ').split(' ... ')[0] + ' ... ' + 'You Left ' + document.URL + ' At ' + ('' + new Date()) + '.';
}
} else {
myFunction(true);
}
};

document.onpagehide = function() {
if (document.visibilityState === "hidden") {
document.title=(document.title + ' ... ').split(' ... ')[0] + ' ... ' + 'You Left Earth Scanner at ' + ('' + new Date()) + '.';
document.body.style.backgroundColor='yellow';
if (playing) {
movesallowed=false; five=0; // document.getElementById('main-video').pause();
playing=false;
restart=true;
document.title=(document.title + ' ... ').split(' ... ')[0] + ' ... ' + 'Paused Earth Scanner at ' + ('' + new Date()) + '.';
}
movesallowed=false; five=0; // document.getElementById('main-video').pause();
} else {
myFunction(true);
}
};

document.body.onvisibilityChange=function() { myCloseFunction(); };
document.body.onpageHide=function() { myFunction(false); };
document.body.onpageShow=function() { myFunction(true); };

var nontz=('' + location.search + ('' + location.hash).replace(/^\#/g,'')).split('nontz=')[1] ? decodeURIComponent(('' + location.search + ('' + location.hash).replace(/^\#/g,'')).split('nontz=')[1].split('&')[0].split('#')[0]) : '';
var plotccpush='', plottzpush='', plotemjpush='', plotctpush='', plotplacepush='', plotlatpush='', plotlongpush='';
var locans='', locs=[], moretzs=[], iijk=0, locationhash=('' + location.hash), lochash='';

if (('' + location.hash).indexOf('nontz=') != -1) {
// alert(eventualyourtzlist);
lochash=('' + location.hash).split('&')[1];
}

if (nontz.trim() != '') {
if (nontz.substring(0,1) == '<') {
//alert('here with ' + nontz);
nontz=processinline(nontz);
//alert('There with ' + nontz);
}
var ntzs=nontz.replace(/\,\ /g, encodeURIComponent(', ')).split(',');

for (var intzs=0; intzs<ntzs.length; intzs++) {
locans=ntzs[intzs].replace(encodeURIComponent(', '),', ').replace('#nontz=','').replace('nontz=','');
//alert('0000:' + locans);
locs=locans.split('|');
if (eval('' + locs.length) >= 3) { // locans.split('|')[1].indexOf('|') != -1) {
//alert(locans);
plotccpush='';
plottzpush='';
plotemjpush='';
plotctpush='';
plotplacepush='';
plotlatpush='';
plotlongpush='';
//if (lochash.indexOf(locans.split(',')[0] + '-') != -1 && intzs < eval(-1 + ntzs.length)) {
//if (encodeURIComponent(nontz).indexOf(encodeURIComponent('-') + encodeURIComponent(ntzs[1 + intzs])) == -1) {
//alert('lochash=' + lochash + ' RE locans=' + locans + ' next is ' + ntzs[1 + intzs] + ' and nontz=' + nontz);
//lochash=lochash.replace(locans.split(',')[0] + '-', locans.split(',')[0] + ',');
//}
//}
//alert('2788' + locans + '88');
if (eval('' + locs.length) >= 4) { //if (locans.split('|')[1].split('|')[1].indexOf('|') != -1) {

if (locans.split('|')[3] != '') {
plotccpush=locans.split('|')[3];
//alert('plotccpush=' + plotccpush);
plotemjpush=('' + orflag(plotccpush));
plottzpush=' ';
}


}
if (argstuff == '') {
argstuff='?nontz=' + encodeURIComponent(prefixingstuff) + encodeURIComponent('' + addcty(locans));
} else {
argstuff+=encodeURIComponent(',' + addcty(locans));
}
plotplacepush=(locans.split('|')[0].replace(/\_/g,' '));
//alert('00:' + plotplacepush);

if (plotplacepush.indexOf(', ') != -1) {
if (plotccpush == '') { plotccpush=plotplacepush.split(', ')[1]; }
//alert('plotccpush=' + plotccpush);
plotemjpush=('' + orflag(plotccpush));
plottzpush=' ';
plotplacepush=plotplacepush.split(', ')[0];
//alert('0:' + plotplacepush);
}

if (bigback.indexOf(plotplacepush + ':') == -1 && bigback.indexOf(plotplacepush.replace(/\ /g,'_') + ':') == -1 && nextwiftwo.indexOf(encodeURIComponent(plotplacepush)) == -1) {
//alert(curgdefv);
if (wiftwoavailable) {
wiftwoavailable=false;
//alert('4:' + '/PHP/fgc/index.php?tzexact=&tznickname=' + encodeURIComponent(plotplacepush.replace(/\ /g,'_')));
document.getElementById('wiftwo').src='/PHP/fgc/index.php?tzexact=&tznickname=' + encodeURIComponent(plotplacepush.replace(/\ /g,'_'));
//document.getElementById('placegeo').value=' ';
//override=plotplacepush.replace(/\ \(/g,', ').replace(/\)$/g,'');
//document.getElementById('wif').src='/PHP/fgc/index.php?placegeo=' + encodeURIComponent(plotplacepush.replace(/\ \(/g,', ').replace(/\)$/g,'')).replace(/\%20/g,'_');
} else {
nextwiftwo+='/PHP/fgc/index.php?dopg=y&tzexact=&tznickname=' + encodeURIComponent(plotplacepush.replace(/\ /g,'_')) + '#';
}
}

plotlongpush=(locans.split('|')[1].replace('_','-'));
plotlatpush=(locans.split('|')[2].replace('_','-'));
//alert('2788' + locans.split('|')[0].replace(/\_/g,' ') + '88');

//alert(('' + retnearest(locans.split('|')[1].replace('_','-'), locans.split('|')[2].replace('_','-'))));
moretzs=('' + retnearest(locans.split('|')[1].replace('_','-'), locans.split('|')[2].replace('_','-'))).split('|');
// return '' + ntolong + '|' + ntolat + '|' + thiscc + '|' + thisplace + extratz + extratztime + extraemj + gmttztime + gmtemj;
if ((plottzpush == ' ' || plotccpush.trim() == '') && eval('' + moretzs.length) > 2) {
if (plottzpush == ' ') { plottzpush=''; }
if (eval('' + moretzs[2].length) == 2) {
argstuff+=encodeURIComponent('|' + moretzs[2]);
if (plotccpush == '') { plotccpush='' + moretzs[2]; }
plotemjpush=('' + orflag(plotccpush));
for (iijk=0; iijk<iso_country_codes.length; iijk+=2) {
if (iso_country_codes[iijk].toUpperCase() == moretzs[2]) {
plotctpush='' + iso_country_codes[eval(1 + iijk)];
}
}
}
}
// <option value=\"Australia/Sydney\" data-geo=\"-33.86667,151.21666,AEST,AU,+11\">Australia/Sydney</option>
if (eval('' + moretzs.length) > 4) {
plottzpush='' + moretzs[4];
//alert('locans=' + locans + ' ' + plotlatpush + ' ' + plotccpush);
//alert('plotplacepush=' + plotplacepush + ' and plottzpush=' + plottzpush + ' and locansMINUS=' + locans.split('|')[0].replace(/\ /g,'_'));
eventualyourtzlist+='<option value="' + plottzpush + '" data-geo="' + plotlatpush.replace('_','-') + ',' + plotlongpush.replace('_','-') + ',GMT,' + plotccpush + ',+0">' + plottzpush.replace(plottzpush.split('/')[eval(-1 + plottzpush.split('/').length)], locans.split('|')[0].split(',')[0].replace(/\ /g,'_')) + '</option>';
if (eventualyourtzlist != yourtzlist) { setTimeout(newhashit, 5000); }
}

}

}
if (eventualyourtzlist != yourtzlist) { setTimeout(newhashit, 5000); }

}

if (('' + location.hash).indexOf('nontz=') != -1) {
//alert(eventualyourtzlist.slice(-200));
if (lochash != '') {
location.hash=lochash;
} else {
location.hash=('' + location.hash).split('&')[1];
}
}

latis=location.search.split('latitude=')[1] ? decodeURIComponent(location.search.split('latitude=')[1].split('&')[0]) : '';
longis=location.search.split('longitude=')[1] ? decodeURIComponent(location.search.split('longitude=')[1].split('&')[0]) : '';
if (latis != '' && longis != '') {
askfor='' + longis + ',' + latis;
} else if (latis != '') {
askfor='-168,' + latis;
if (documentURL.indexOf('nolines=') == -1) {
if (('' + latis).split('.0')[0].slice(-1) == '0') {
acircleoflatitude='<span style="z-index:675;position:' + posval + ';top:' + eval(10 + eval(0.5 * eval(screenheight))) + 'px;left:0px;">  ' + (('' + latis).replace('-','') + (('' + latis).substring(0,1) == '-' ? 'S' : 'N')).replace(/^90N$/g,'   North Pole').replace(/^90S$/g,'   South Pole').replace(/^0N$/g,'   Equator').replace(/^0S$/g,' Equator').replace(/S$/g,'°S').replace(/N$/g,'°N') + '</span><hr id=mydl title="Circle of latitude ' + latis + '" style="z-index:675;position:' + posval + ';top:' + eval(screenheight / 2) + 'px;left:0px;height:1px;width:' + screenwidth + 'px;background-color:rgba(255,0,0,0.5);"></hr>';
} else {
acircleoflatitude='<span style="z-index:675;position:' + posval + ';top:' + eval(10 + eval(0.5 * eval(screenheight))) + 'px;left:0px;">  ' + (('' + latis).replace('-','') + (('' + latis).substring(0,1) == '-' ? 'S' : 'N')).replace(/^90N$/g,'   North Pole').replace(/^90S$/g,'   South Pole').replace(/^0N$/g,'   Equator').replace(/^0S$/g,' Equator').replace(/S$/g,'°S').replace(/N$/g,'°N') + '</span><hr id=mydl title="Circle of latitude ' + latis + '" style="border-style:dotted;z-index:675;position:' + posval + ';top:' + eval(screenheight / 2) + 'px;left:0px;height:1px;width:' + screenwidth + 'px;background-color:rgba(255,0,0,0.1);"></hr>';
}
}
} else if (longis != '') {
enforcedlong=true;
askfor='' + longis + ',70';
if (documentURL.indexOf('nolines=') == -1) {
if (('' + longis).split('.0')[0].slice(-1) == '0') {
ameridian='<span style="z-index:675;position:' + posval + ';left:' + eval(10 + eval(0.5 * eval(screenwidth))) + 'px;top:90px;">  ' + (('' + longis).replace('-','') + (('' + longis).substring(0,1) == '-' ? 'W' : 'E')).replace(/^0E$/g,' Greenwich<br> Meridian').replace(/^180E/g,'  International<br>  Date<br>  Line').replace(/^180W/g,'International<br> Date<br> Line').replace('E','°E').replace('W','°W') + '</span><hr id=mydm title="Meridian ' + longis + '" style="z-index:675;position:' + posval + ';left:' + eval(screenwidth / 2) + 'px;top:0px;height:' + screenheight + 'px;width:1px;background-color:rgba(255,0,0,0.5);"></hr>';
} else {
ameridian='<span style="z-index:675;position:' + posval + ';left:' + eval(10 + eval(0.5 * eval(screenwidth))) + 'px;top:90px;">  ' + (('' + longis).replace('-','') + (('' + longis).substring(0,1) == '-' ? 'W' : 'E')).replace(/^0E$/g,' Greenwich<br> Meridian').replace(/^180E/g,'  International<br>  Date<br>  Line').replace(/^180W/g,'International<br> Date<br> Line').replace('E','°E').replace('W','°W') + '</span><hr id=mydm title="Meridian ' + longis + '" style="z-index:675;border-style:dotted;position:' + posval + ';left:' + eval(screenwidth / 2) + 'px;top:0px;height:' + screenheight + 'px;width:1px;background-color:rgba(255,0,0,0.1);"></hr>';
}
}
}

</script>
</head>
<body>
</body>
</html>