5,9c5 < < --- > 11c7 < var ssize=1, lastpurl='', purlvsplacebits=[], purlplacebits=[], aplace='', wthere=false, url = "//www.rjmprogramming.com.au/PHP/Map/map.php?title=Other%20Side%20Of%20the%20World&onclick=y&label=['Lat',&value='Lon','Name']&data="; --- > var aplace='', wthere=false, url = "//www.rjmprogramming.com.au/PHP/Map/map.php?title=Other%20Side%20Of%20the%20World&onclick=y&label=['Lat',&value='Lon','Name']&data="; 18,31c14 < < // PlaceName|GMTOffset|TimeRightNow|TimeZoneName < //
< // < // < //
< // < //
< // < // < // < //
< < --- > // %2Fq%2Fzmw%3A00000.18.94326 Australia/Darwin,-23.700001,133.880005,AU Alice%20Springs%2C%20Australia 34,174d16 < function do_td_bottom(osel) { < var suffix="",newval="", prefix="", rest="", j=1; < var atzpurl=tzpurl.split("?"); < < for (var i=1; i<=osel.length; i++) { < if (suffix == "") prefix=atzpurl[0] + "?"; < if (osel.options[eval(-1 + i)].selected) { < if (suffix == "") { < rest+=osel.options[eval(-1 + i)].value; < } else { < rest+='&' + osel.options[eval(-1 + i)].value.replace(/=/g, (suffix + '=')); < } < suffix='' + eval(1 + j); < j++; < } < } < if (prefix != "" && rest != "") { < document.getElementById('td_bottom').innerHTML=''; < location.href='#td_bottom'; < } < } < < function pretzbits() { < tzbits(document.getElementById('itd_bl')); < } < < function tzbits(iois) { < var ibase=0, there=false, interested=-1; < 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.indexOf("return checktop(") != -1) { < var proposeds='', acbits=aconto.body.innerHTML.split("return checktop("), sproposeds='', repthis=''; < var inps=acbits[1].split('')[0].split(' 1) { < proposeds=proposeds.replace('|','|' + inps[jnps].split('value="')[1].split('"')[0]); < //alert("2: " + proposeds); < < } else if (inps[jnps].indexOf('name="rightnow"') != -1 && proposeds.split('|').length == 1) { < proposeds+='||' + inps[jnps].split('value="')[1].split('"')[0]; < //alert("3: " + proposeds); < } else if (inps[jnps].indexOf('name="rightnow"') != -1 && proposeds.split('|').length == 2) { < proposeds+='|' + inps[jnps].split('value="')[1].split('"')[0]; < //alert("4: " + proposeds); < } else if (inps[jnps].indexOf('name="rightnow"') != -1 && proposeds.split('|').length > 2) { < proposeds=proposeds.replace(proposeds.split('|')[0] + '|' + proposeds.split('|')[1],proposeds.split('|')[0] + '|' + proposeds.split('|')[1] + '|' + inps[jnps].split('value="')[1].split('"')[0]); < //alert("5: " + proposeds); < < < } else if (inps[jnps].indexOf('name="tzname"') != -1 && proposeds.split('|').length == 1) { < proposeds+='|||' + inps[jnps].split('value="')[1].split('"')[0]; < //alert("6: " + proposeds); < } else if (inps[jnps].indexOf('name="tzname"') != -1 && proposeds.split('|').length == 2) { < proposeds+='||' + inps[jnps].split('value="')[1].split('"')[0]; < //alert("7: " + proposeds); < } else if (inps[jnps].indexOf('name="tzname"') != -1 && proposeds.split('|').length == 3) { < proposeds+='|' + inps[jnps].split('value="')[1].split('"')[0]; < //alert("8: " + proposeds); < } else if (inps[jnps].indexOf('name="tzname"') != -1 && proposeds.split('|').length > 3) { < proposeds=proposeds.replace(proposeds.split('|')[0] + '|' + proposeds.split('|')[1] + '|' + proposeds.split('|')[2],proposeds.split('|')[0] + '|' + proposeds.split('|')[1] + '|' + proposeds.split('|')[2] + '|' + inps[jnps].split('value="')[1].split('"')[0]); < //alert("9: " + proposeds); < } < < } < for (ibase=0; ibase')[0]); < purlvsplacebits.push(proposeds); < document.getElementById('dmulti').style.display='inline'; < } < if (interested != -1 && sproposeds != proposeds) { < document.getElementById('myiframe').src=lastpurl.replace(repthis, ',~' + encodeURIComponent(proposeds) + '~').replace(repthis.replace(',~',''), repthis.replace(',~','').replace('~','| | | ~')); < lastpurl=lastpurl.replace(repthis, ',~' + encodeURIComponent(proposeds) + '~').replace(repthis.replace(',~',''), repthis.replace(',~','').replace('~','| | | ~')); < } < } < } < } < } < } < < function saveurls(purl) { < var outpurl=purl, ibase=0, thebaseplacebits=purl.split(',~'), vsbaseplace='', baseplace='', there=false; < if (thebaseplacebits.length > 1) { < baseplace=decodeURIComponent(thebaseplacebits[1].split('~')[0]); < vsbaseplace=baseplace.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]; < < if (vsbaseplace != baseplace) { < if (vsbaseplace.split(' (').length == 2) vsbaseplace=vsbaseplace.replace(' (' + vsbaseplace.split(' (')[1].split(')')[0] + ')',''); < for (ibase=0; ibase showit(); 216,219d57 < function postgleanlatlongr() { < somelatlong(document.getElementById('mygir')); < } < 274c112 < document.getElementById(tdwhere).innerHTML=''; --- > document.getElementById(tdwhere).innerHTML=''; 280,285c118 < if (document.getElementById('smulti').innerHTML.indexOf('>' + document.getElementById("ourselcont").options[document.getElementById("ourselcont").selectedIndex].text + '<') == -1) { < document.getElementById('smulti').innerHTML+=''; < ssize++; < document.getElementById('smulti').size='' + ssize; < } < document.getElementById('td_bl').innerHTML=''; --- > document.getElementById('td_bl').innerHTML=''; 529d361 < sih+=''; 544d375 < sih+=''; 569c400 < showit(sval); --- > showit(); 587c418 < function showit(sho) { --- > function showit() { 589,590c420,421 < oururl+=',[' + document.getElementById('latitude').value + ',' + document.getElementById('longitude').value + ',~' + encodeURIComponent(document.getElementById('place').value) + '~]' + document.getElementById('sfrom').value.replace(']%20',']'); < oururl+=',[' + eval(0.000000 - document.getElementById('latitude').value) + ',' + (eval(document.getElementById('longitude').value) < 0.0 ? eval(180.000000 + (document.getElementById('longitude').value)) : eval(document.getElementById('longitude').value - 180.0)) + ',~' + encodeURIComponent("Other side of the world to ... " + document.getElementById('place').value) + '~]' + document.getElementById('sto').value.replace(']%20',']'); --- > oururl+=',[' + document.getElementById('latitude').value + ',' + document.getElementById('longitude').value + ',~' + encodeURIComponent(document.getElementById('place').value) + '~]' + document.getElementById('sfrom').value; > oururl+=',[' + eval(0.000000 - document.getElementById('latitude').value) + ',' + (eval(document.getElementById('longitude').value) < 0.0 ? eval(180.000000 + (document.getElementById('longitude').value)) : eval(document.getElementById('longitude').value - 180.0)) + ',~' + encodeURIComponent("Other side of the world to ... " + document.getElementById('place').value) + '~]' + document.getElementById('sto').value; 593c424 < document.getElementById("myiframe").src=saveurls(oururl.replace(',-180',',179.99999').replace(',180',',179.99999')); --- > document.getElementById("myiframe").src=oururl.replace(',-180',',179.99999').replace(',180',',179.99999'); 595,599d425 < if (sho != null) { < if (sho.value.indexOf(']%20') != -1) { < andshowit(sho); < } < } 629c455 < Place Name:   

 

--- > Place Name:   

 

634c460 < --- > 636,637c462 < < --- > 643d467 <