<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;
}

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

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

@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) }
}
</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 documentURL=document.URL;
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('</style>')[0] + ' </style>';
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 wasthisso='';
if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) {
wasthisso='' + (screen.msOrientation || screen.mozOrientation || (screen.orientation || {}).type); //"portrait";
if (wasthisso == 'portrait') {
screenwidth=window.innerWidth;
screenheight=window.innerHeight;
} else {
screenwidth=window.innerHeight;
screenheight=window.innerWidth;
}
documentURL=documentURL + '&nolines=y';
if (documentURL.indexOf('.html') != -1) {
location.href=document.URL.replace('.html','.htm');
}
}

function checkll(smlong, lglat, lglong, smlat) {
for (var am=-180; am<=180; am+=10) {
if (am >= smlong && am <= lglong) {
if (eval((am + 180) % 180) == 0) {
bmeridian+='<span style="z-index:675;position:fixed;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:fixed;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 style="z-index:675;position:fixed;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:fixed;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 rightchecklls(smlong, lglat, lglong, smlat, scbl) {
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 style="z-index:675;position:fixed;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:fixed;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 style="z-index:675;position:fixed;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:fixed;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>';
}
if (al == 70) {
bcircleoflatitude+='<span style="z-index:675;position:fixed;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:fixed;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 style="z-index:675;position:fixed;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:fixed;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 style="z-index:675;position:fixed;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:fixed;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 style="z-index:675;position:fixed;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:fixed;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 (am > 180) {
bmeridian+='<span style="z-index:675;position:fixed;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:fixed;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 style="z-index:675;position:fixed;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:fixed;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 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 style="z-index:675;position:fixed;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:fixed;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 style="z-index:675;position:fixed;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:fixed;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>';
}
if (al == 70) {
bcircleoflatitude+='<span style="z-index:675;position:fixed;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:fixed;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 style="z-index:675;position:fixed;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:fixed;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 style="z-index:675;position:fixed;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:fixed;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 style="z-index:675;position:fixed;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:fixed;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 (am > 180) {
bmeridian+='<span style="z-index:675;position:fixed;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:fixed;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 style="z-index:675;position:fixed;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:fixed;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 scmove() {
var xdiff=0, ydiff=0;
var longforce='-999', latforce='-999', prevone=0, prevtwo=0, prevthree=0, prevfour=0, docreep=true, nosecgo=false;
if (screenlong < 0) {
screenlong=eval(360 * screenwidth / document.getElementById('myimg').width);
screenlat=eval(180 * screenheight / document.getElementById('myimg').height);
document.getElementById('myimg').onclick=function() { askfor=prompt('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? Prefix with space to show meridians and/or suffix with space to not show meridians.', ''); };
}
//document.title="window.scrollTo(" + eval(xp * eval('' + document.getElementById('myimg').width) / 100) + "," + eval(yp * eval('' + document.getElementById('myimg').height) / 100) + ")";
if (askfor != null) {
if (askfor.trim() != askfor) {
if (askfor.slice(-1) == ' ') {
documentURL=documentURL + '&nolines=y';
needtocheck=false;
}
if (askfor.substring(0,1) == ' ') {
documentURL=documentURL.replace('nolines=', 'noXlines=');
needtocheck=true;
}
askfor=askfor.trim();
}
if (askfor.replace('(','').replace(')','').indexOf(',') != -1) {
longforce=askfor.replace('(','').replace(')','').split(',')[0];
latforce=askfor.replace('(','').replace(')','').split(',')[1];
needtocheck=true;
docreep=false;
} else if (askfor.replace('(','').replace(')','').indexOf(' ') != -1) {
longforce=askfor.replace('(','').replace(')','').split(' ')[0];
latforce=askfor.replace('(','').replace(')','').split(' ')[1];
needtocheck=true;
docreep=false;
}
if (eval(latforce - screenlat / 2) < -90) {
latforce=eval(-90 + screenlat / 2);
}
if (eval(eval(longforce - screenlong / 2) % screenlong) != 0) {
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 (endofline) {
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) / 100) + "," + eval(yp * eval('' + document.getElementById('myimg').height) / 100) + ")");
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) + ')';
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 + 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);
}
num++;
//docreep=true;
//return '';
}
one=eval(-180 + 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+=5;
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);
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+=5;
if (documentURL.indexOf('nolines=') == -1) {
bmeridian='';
eval("window.scrollTo(" + eval((enforcedxp > -990 ? enforcedxp : (xp - 5)) * eval('' + document.getElementById('myimg').width) / 100) + "," + eval(yp * eval('' + document.getElementById('myimg').height) / 100) + ")");
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) + ')';
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;
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) / 100) + "," + eval(yp * eval('' + document.getElementById('myimg').height) / 100) + ")");
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 + 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) / 100) + "," + eval(yp * eval('' + document.getElementById('myimg').height) / 100) + ")");
}
xp=-5;

} else {
xp+=5;
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 + 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) / 100) + "," + eval(yp * eval('' + document.getElementById('myimg').height) / 100) + ")");
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));
rightchecklls(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), "window.scrollTo(" + eval((enforcedxp > -990 ? enforcedxp : (xp - 0)) * eval('' + document.getElementById('myimg').width) / 100) + "," + eval(yp * eval('' + document.getElementById('myimg').height) / 100) + ")");
//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 + 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);
}
}

setInterval(scmove, 5000);
document.write("<img src='/HTMLCSS/HYP_50M_SR_W.jpg' id=myimg></img><div id=dstyle></div>");
var latis=location.search.split('latitude=')[1] ? decodeURIComponent(location.search.split('latitude=')[1].split('&')[0]) : '';
var 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='<hr id=mydl title="Circle of latitude ' + latis + '" style="z-index:675;position:fixed;top:' + eval(screenheight / 2) + 'px;left:0px;height:1px;width:' + screenwidth + 'px;background-color:rgba(255,0,0,0.5);"></hr>';
} else {
acircleoflatitude='<hr id=mydl title="Circle of latitude ' + latis + '" style="border-style:dotted;z-index:675;position:fixed;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='<hr id=mydm title="Meridian ' + longis + '" style="z-index:675;position:fixed;left:' + eval(screenwidth / 2) + 'px;top:0px;height:' + screenheight + 'px;width:1px;background-color:rgba(255,0,0,0.5);"></hr>';
} else {
ameridian='<hr id=mydm title="Meridian ' + longis + '" style="z-index:675;border-style:dotted;position:fixed;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>