7c7
< var url = "//www.rjmprogramming.com.au/PHP/Map/map.php?title=Other%20Side%20Of%20the%20World&onclick=y&label=['Lat',&value='Lon','Name']&data=";
---
> var url = "http://www.rjmprogramming.com.au/PHP/Map/map.php?title=Other%20Side%20Of%20the%20World&onclick=y&label=['Lat',&value='Lon','Name']&data=";
10,13d9
< var wasvl=0;
< var otherideas='', lastx='';
<
< window.onload = initAll;
31,79d26
< function selto(sio) {
< if (sio.value != '') {
< var cols=sio.options[sio.selectedIndex].title.replace(/_/g,' ').split(',');
< document.getElementById('latitude').value=cols[1];
< document.getElementById('longitude').value=cols[2];
< var placebits=cols[0].split('/'), aname='';
< for (var ival=eval(-1 + placebits.length); ival>=0; ival--) {
< if (aname == '') {
< aname=placebits[ival];
< } else {
< aname+=', ' + placebits[ival];
< }
< }
< document.getElementById('place').value=sio.options[sio.selectedIndex].text; //aname;
< totalmore();
< showit();
< }
< }
<
< function postgleanlatlong() {
< somelatlong(document.getElementById('mygi'));
< }
<
< function somelatlong(iois) {
< var title_eq;
< if (iois != null) {
< var aconto = (iois.contentWindow || iois.contentDocument);
< if (aconto != null) {
< if (aconto.document) { aconto = aconto.document; }
< if (aconto.body != null) {
< //if (aconto.body.innerHTML.trim().length > 0) alert(aconto.body.innerHTML);
< title_eq=aconto.body.innerHTML.split(' id="myselcont"');
< if (document.getElementById('topjsondata').innerHTML != '') {
< //alert(':' + document.getElementById('topjsondata').innerHTML);
< document.getElementById("wudiv").style.display="inline";
< document.getElementById("ourselcont").style.display="inline";
< document.getElementById("ourselcont").innerHTML=document.getElementById('jsondata').innerHTML.replace('Please select ','Optionally select ');
< } else if (title_eq.length > 1) {
< //alert(title_eq[1]);
< document.getElementById("wudiv").style.display="inline";
< document.getElementById("ourselcont").style.display="inline";
< document.getElementById("ourselcont").innerHTML=title_eq[1].split('')[0].replace(title_eq[1].split('>')[0] + '>','').replace('Please select ','Optionally select ');
< //alert(title_eq[1].split(' ')[0]);
< }
< }
< }
< }
< }
<
288,290d234
< while(csses[1].substring(0,1) == '0') {
< csses[1]=csses[1].substring(1);
< }
302,304d245
< while(csses[1].substring(0,1) == '0') {
< csses[1]=csses[1].substring(1);
< }
314,321d254
< function fromshowit() {
< andshowit(document.getElementById('sfrom'));
< }
<
< function toshowit() {
< andshowit(document.getElementById('sto'));
< }
<
342,362d274
<
<
< function initAll() {
< document.getElementById('place').focus();
< }
<
< function ourprewbit() {
< var x = document.getElementById("place").value;
< //if (x.length >= 3) {
< if (x.replace('My Place','').length >= 3 && lastx != x) {
< //document.getElementById("ourselcont").size=8;
< //document.getElementById("ourselcont").style.display="inline";
< //document.getElementById("mybut").style.display="inline";
< //alert('using_key.php?theseparameters=aq%3Fquery%3D' + encodeURIComponent(x));
< //alert(otherideas);
< lastx=x;
< //alert('//www.rjmprogramming.com.au/weather/using_key.php?theseparameters=aq%3F' + otherideas + 'query%3D' + encodeURIComponent(x));
< document.getElementById('mygi').src='//www.rjmprogramming.com.au/weather/autocomplete.htm?place=' + encodeURIComponent(x);
< }
< }
<
365,366c277,278
<
<