73,82d72 < function windowopen(w1,w2,w3) { // elevations changed navigation < var xw1=w1; < //https://veloroutes.org/elevation/?location=-23.0000000%2C56.000000&units=m < //https://api.opentopodata.org/v1/test-dataset?locations=23%2C56&units=m < if (w1.indexOf('//veloroutes.org/elevation/?location=') != -1) { < xw1=xw1.replace('//veloroutes.org/elevation/?location=','//api.opentopodata.org/v1/test-dataset?locations=').replace('http://','//').replace('https://','//'); < } < return window.open(xw1,w2,w3); < } < 352c342 < if (evok) { if (evis) { if (!evis.closed) { evis.close(); } evis=null; } evis=windowopen(('http://veloroutes.org/elevation/?location=' + ('' + eval(toplat - eval(eval((pos4 / height) * 180.0))).toPrecision(9)).replace('+-','-') + ('%2C' + eval(eval((pos3 / width) * 360.0) + toplong).toPrecision(9)).replace('+-','-') + '&units=m'), '_blank', 'top=250,left=' + eval(-710 + screen.width) + ',height=400,width=700'); } --- > if (evok) { if (evis) { if (!evis.closed) { evis.close(); } evis=null; } evis=window.open(('http://veloroutes.org/elevation/?location=' + ('' + eval(toplat - eval(eval((pos4 / height) * 180.0))).toPrecision(9)).replace('+-','-') + ('%2C' + eval(eval((pos3 / width) * 360.0) + toplong).toPrecision(9)).replace('+-','-') + '&units=m'), '_blank', 'top=250,left=' + eval(-710 + screen.width) + ',height=400,width=700'); } 357c347 < if (evok) { if (evis) { if (!evis.closed) { evis.close(); } evis=null; } evis=windowopen(('http://veloroutes.org/elevation/?location=' + ('' + eval(toplat - eval(eval((pos4 / height) * 180.0))).toPrecision(9)).replace('+-','-') + ('%2C' + eval(eval((pos3 / width) * 360.0) + toplong).toPrecision(9)).replace('+-','-') + '&units=m'), '_blank', 'top=250,left=' + eval(-710 + screen.width) + ',height=400,width=700'); } --- > if (evok) { if (evis) { if (!evis.closed) { evis.close(); } evis=null; } evis=window.open(('http://veloroutes.org/elevation/?location=' + ('' + eval(toplat - eval(eval((pos4 / height) * 180.0))).toPrecision(9)).replace('+-','-') + ('%2C' + eval(eval((pos3 / width) * 360.0) + toplong).toPrecision(9)).replace('+-','-') + '&units=m'), '_blank', 'top=250,left=' + eval(-710 + screen.width) + ',height=400,width=700'); } 421,422c411,412 < document.getElementById('custom-alert-1').innerHTML=linkize("World Scroll and Click Around ...

" + document.getElementById('world').title + " and https://maps.google.com and https://earth.google.com/web/ and https://api.opentopodata.org and http://veloroutes.org/ and https://wikipedia.org"); < //document.body.innerHTML+="
World Scroll and Click Around ...

" + document.getElementById('world').title + " and https://maps.google.com and https://earth.google.com/web/ and https://api.opentopodata.org and http://veloroutes.org/ and https://wikipedia.org" + "
"; --- > document.getElementById('custom-alert-1').innerHTML=linkize("World Scroll and Click Around ...

" + document.getElementById('world').title + " and https://maps.google.com and https://earth.google.com/web/ and http://veloroutes.org/ and https://wikipedia.org"); > //document.body.innerHTML+="
World Scroll and Click Around ...

" + document.getElementById('world').title + " and https://maps.google.com and https://earth.google.com/web/ and http://veloroutes.org/ and https://wikipedia.org" + "
"; 728c718 < if (evok) { if (evis) { if (!evis.closed) { evis.close(); } evis=null; } evis=windowopen('http://veloroutes.org/elevation/?location=' + ('' + eval('' + latis).toPrecision(9) + '%2C' + eval('' + longis).toPrecision(9)).replace('+-','-') + '&units=m', '_blank', 'top=250,left=' + eval(-710 + screen.width) + ',height=400,width=700'); } --- > if (evok) { if (evis) { if (!evis.closed) { evis.close(); } evis=null; } evis=window.open('http://veloroutes.org/elevation/?location=' + ('' + eval('' + latis).toPrecision(9) + '%2C' + eval('' + longis).toPrecision(9)).replace('+-','-') + '&units=m', '_blank', 'top=250,left=' + eval(-710 + screen.width) + ',height=400,width=700'); } 732c722 < if (evok) { if (evis) { if (!evis.closed) { evis.close(); } evis=null; } evis=windowopen('http://veloroutes.org/elevation/?location=' + ('' + eval('' + latis).toPrecision(9) + '%2C' + eval('' + longis).toPrecision(9)).replace('+-','-') + '&units=m', '_blank', 'top=250,left=' + eval(-710 + screen.width) + ',height=400,width=700'); } --- > if (evok) { if (evis) { if (!evis.closed) { evis.close(); } evis=null; } evis=window.open('http://veloroutes.org/elevation/?location=' + ('' + eval('' + latis).toPrecision(9) + '%2C' + eval('' + longis).toPrecision(9)).replace('+-','-') + '&units=m', '_blank', 'top=250,left=' + eval(-710 + screen.width) + ',height=400,width=700'); }