22,51d21 < var retx = 0.0, rety = 0.0; < < function prereturnxy(inlatinlongthis) { < //alert(inlatinlongthis.title); < var prestuff = inlatinlongthis.title.split(","); < if (prestuff.length == 2) { < //alert(prestuff[0]); < return returnxy(prestuff[0], prestuff[1]); < } < return "0.0,0.0"; < } < < function returnxy(inlat, inlong) { < var retval="0.0,0.0"; < < var ourx = eval((rio_de_janeirox + eval(((inlong) + (43.1729)) * ((318.0 * (rio_de_janeirox / rio_de_janeiro_x))) / (16.8438)))); < var oury = eval((rio_de_janeiroy + eval(((inlat) + (22.9068)) * (((-375.0) * (rio_de_janeiroy / rio_de_janeiro_y))) / (19.8068)))); < < retx = ourx; < rety = oury; < < retval = ourx + "," + oury; < < context.fillStyle = '#0000ff'; < context.fillRect(retx, rety, 5, 5); < < return retval; < } < < 95c65 < document.getElementById('myiframe').src = "http://www.rjmprogramming.com.au/PHP/Map/map.php?title=Your%20Place%20and%20Airports&label=['Lat',&value='Lon','Name']&data=,[" + ourlat.toFixed(5).replace(/0+$/, "") + "," + ourlong.toFixed(5).replace(/0+$/, "") + ",~Your%20Place~]" --- > document.getElementById('myiframe').src = "http://www.rjmprogramming.com.au/PHP/Map/map.php?title=Your%20Place&label=['Lat',&value='Lon','Name']&data=,[" + ourlat + "," + ourlong + ",~Your%20Place~]" 97,98d66 < < document.getElementById('mypiframe').src = "intair.php?num=4&lat=" + ourlat + "&long=" + ourlong; 120,122c88,89 <