25d24 < var ed=''; 221,230d219 < function mister(oured) { < var ourret=''; < if (ed != '' && oured == ed) { < ourret='
Message received via postMessage ...' + ed.replace(/\>/g,'>').replace(/\
'; < ed=''; < } < if (ourret == '') { document.getElementById('prelhs').innerHTML='Back to top ...
'; ourret='Back to form ...
'; } < return ourret; < } < 234d222 < //alert(event.origin.toLowerCase()); 241,242d228 < //alert(1543); < 244d229 < //alert(2543); 246,249d230 < if (xrawurl != '' && xrawurl != document.URL && document.URL.indexOf('&whereami=where-am-i&whatami=what-am-i') == -1) { location.href=document.URL.replace('https:','http:').split('?')[0].split('#')[0] + '?url=' + encodeURIComponent(xrawurl) + '&tarea=&submit=Create+Legend+for+HTML+Map+Data&whereami=where-am-i&whatami=what-am-i'; } < //if (xrawurl != '' && xrawurl != document.URL && document.URL.indexOf('&whereami=the&whatami=') == -1) { location.href=document.URL.split('?')[0].split('#')[0] + '?url=' + encodeURIComponent(xrawurl) + '&tarea=&submit=Create+Legend+for+HTML+Map+Data&whereami=the&whatami='; } < < //alert(3543); 251d231 < //alert(event.data); 255,256c235 < ed=event.data; < //setTimeout(displayEd, 2000); --- > 300c279 < geoif+=mister(ed) + "
" + idurl; --- > geoif+="
" + idurl; 325c304 < geoif+=mister(ed) + preg + '
/g,'
').replace(/What Child /g,'

What Parent ') + '
'; --- > geoif+=preg + '
/g,'
').replace(/What Child /g,'

What Parent ') + '
'; 328,329d306 < //alert(event.data); < ed=event.data; 415c392 < geoif+=mister(ed) + "
" + idurl; --- > geoif+="
" + idurl; 446c423 < geoif+=mister(ed) + "
" + idurl; --- > geoif+="
" + idurl; 484,486c461 < popup.postMessage("hello there! " + document.URL, "HTTP://members.ozemail.com.au"); < < //if (xrawurl != '') { location.href=document.URL.split('?')[0].split('#')[0] + '?url=' + encodeURIComponent(xrawurl) + '&tarea=&submit=Create+Legend+for+HTML+Map+Data&whereami=where-am-i&whatami=what-am-i'; } --- > popup.postMessage("hello there!", "HTTP://members.ozemail.com.au"); 695c670 < //alert('spaReR=' + sparer + ' ' + isOpera); --- > alert('spaReR=' + sparer + ' ' + isOpera); 947c922 < //if (ed != '') { alert(ed); } --- > 998,1000c973 < function woalt() { < check_if(document.getElementById('myif')); < } --- > 1024c997 < setTimeout(crossdomainiframe, 1000); //crossdomainiframe(); --- > crossdomainiframe(); 1066,1092d1038 < if (9 == 9) { < if (iois.value.toLowerCase().indexOf('members.ozemail.com.au/~mkuulma/') != -1) { < if (iois.value.toLowerCase().indexOf('whereami=') == -1) { < if (iois.value.toLowerCase().indexOf('?') == -1) { < //alert(whereami); < iois.value+='?whereami=where-am-i'; < } else { < iois.value+='&whereami=where-am-i'; < } < } < if (whatami.replace('the','') != '') { < if (iois.value.toLowerCase().indexOf('whatami=') == -1) { < if (iois.value.toLowerCase().indexOf('?') == -1) { < //alert(whatami); < iois.value+='?whatami=what-am-i'; < } else { < iois.value+='&whatami=what-am-i'; < } < } < } < xrawurl=iois.value; < popup=window.open(iois.value, '_blank', 'top=150,left=650,width=600,height=600'); < setTimeout(crossdomainiframe, 2000); < //woalt(); < return; < } < } 1141,1143d1086 < function displayEd() { < if (ed != '') { alert(ed); ed=''; } < } 1152c1095 < document.getElementById('myform').action='./post_message_test.htm'; --- > document.getElementById('myform').action='./legend_via_map.htm'; 1160c1103 <
--- >
1176,1177c1119,1120 <
< HTML Url:

--- > > HTML Url: