<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Living Room - How many things can you name?</title>
<style>
.did { display: none; }
</style>
<!--
How to install the image map:
Copy and paste the img, map and area blocks into the body of your page.
This imagemap is created at Mobilefish.com.
http://www.mobilefish.com/services/image_map/image_map.php
-->
<script type="text/javascript">
var whereami=location.search.split('whereami=')[1] ? decodeURIComponent(location.search.split('whereami=')[1]).split('&')[0].toLowerCase().replace(/_/g,'-').replace(/whereami/g,'where-am-i') : 'the';
var whatami=location.search.split('whatami=')[1] ? decodeURIComponent(location.search.split('whatami=')[1]).split('&')[0].toLowerCase().replace(/_/g,'-').replace(/whereami/g,'what-am-i') : '';
var startPos=null;
var firstgeo=true;
var evtis=null;
var idhtml='';
function check_id(iois) {
if (iois != null) {
var aconto = (iois.contentWindow || iois.contentDocument);
if (aconto != null) {
if (aconto.document) { aconto = aconto.document; }
if (aconto.body != null) {
idhtml=aconto.body.innerHTML;
}
}
}
}
function identify_yourself() { // ideas via http://stackoverflow.com/questions/2069364/how-to-get-phpinfo-variables-from-php-programatically ... thanks
if (whatami.replace('the','') != '') {
document.getElementById('ddid').innerHTML="<h3>What Child Host is Like</h3><br><iframe onload=check_id(this); src='./check_php.php?ampostmessaging=y' title=What style='overflow:scroll;height:600px;width:600px;' width=600 height=600></iframe>";
}
}
function locate_yourself(evnt) { // ideas via http://www.html5rocks.com/en/tutorials/geolocation/trip_meter/ ... thanks // ideas via http://www.html5rocks.com/en/tutorials/geolocation/trip_meter/ ... thanks
evtis=evnt;
try {
navigator.geolocation.getCurrentPosition(function(position) {
if (firstgeo) {
startPos = position;
//document.getElementById('sLat').innerHTML = startPos.coords.latitude;
//document.getElementById('sLon').innerHTML = startPos.coords.longitude;
//document.getElementById('pLat').innerHTML = startPos.coords.latitude;
//document.getElementById('pLon').innerHTML = startPos.coords.longitude;
//document.getElementById('eLat').innerHTML = startPos.coords.latitude;
//document.getElementById('eLon').innerHTML = startPos.coords.longitude;
if (whatami.replace('the','') != '') document.getElementById('ddid').style.display='block';
evtis.source.postMessage(document.body.innerHTML.replace(' class="did"','').replace(" class='did'","") + idhtml + "</body></html> Hello RJM Programming! " + whereami + " secret " + whatami + " response " +
"is: av-a" + "-car-do! " + " Latitude/Longitude: " + startPos.coords.latitude + "," + startPos.coords.longitude,
evtis.origin);
firstgeo=false;
}
});
} catch(ee) { }
}
function myalert(athis,proposed) {
if (prompt(athis.title.replace("that", "this")).toLowerCase() != proposed.toLowerCase()) {
alert(proposed);
}
}
// Thanks to https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage with code below ...
// Called sometime after postMessage is called
function receiveMessage(event) {
// Do we trust the sender of this message?
//document.title=event.origin;
//if (event.origin !== "http://members.ozemail.com.au" && event.origin !== "http://www.rjmprogramming.com.au") {
if (event.origin !== "http://www.rjmprogramming.com.au" && event.origin !== "https://www.rjmprogramming.com.au") {
return;
}
//document.title=event.source;
// event.source is window.opener
// event.data is "hello there!"
if (document.URL.indexOf("/~mkuulma/") != -1) {
if (event.source == window.opener) {
if (('' + event.data).indexOf("hello there!") == 0) {
var wop='';
var wbits=(' ' + event.data).split("hello there");
wop=('of ' + wbits[1].replace('!','').trim() + '~').replace('of ~','').replace('~','');
// Assuming you've verified the origin of the received message (which
// you must do in any case), a convenient idiom for replying to a
// message is to call postMessage on event.source and provide
// event.origin as the targetOrigin.
var decision=confirm(event.data.split('!')[0] + '! ... is the message ' + wop + ' via postMessage. Do you want to show your location map and phpinfo for the domain ' + wop + '?');
if (decision) {
//if (whereami.replace('the','') != '') {
// locate_yourself(event);
//} else {
if (whatami.replace('the','') != '') document.getElementById('ddid').style.display='block';
event.source.postMessage(document.body.innerHTML.replace(' class="did"','').replace(" class='did'","") + idhtml + "</body></html> Hello RJM Programming! " + whereami + " secret " + whatami + " response " +
"is: av-a" + "-car-do!",
event.origin);
//}
}
}
}
}
}
if (window.addEventListener) {
window.addEventListener("message", receiveMessage, false);
} else if (window.attachEvent) {
window.attachEvent("onmessage", receiveMessage);
}
</script>
</head>
<body onload="identify_yourself();">
<!-- START COPY -->
<img src="livingroom.jpg" usemap="#st12192" width="1827" height="1223" alt="click map" border="0" />
<map id="st12192" name="st12192">
<!-- Region 1 laptop -->
<area shape="poly" alt="What is that?" title="What is that?" coords="1240,671,1306,653,1339,588,1264,576,1240,629,1163,647" href="http://www.thefreedictionary.com/laptop" target="_blank" onClick="myalert(this,'laptop');" />
<!-- Region 2 heater -->
<area shape="poly" alt="What is that?" title="What is that?" coords="917,998,938,965,989,959,1004,959,1007,968,1022,953,989,899,827,938,809,1001,824,1031" href="http://www.thefreedictionary.com/heater" target="_blank" onClick="myalert(this,'heater');" />
<!-- Region 3 cushion -->
<area shape="poly" alt="What is that?" title="What is that?" coords="0,1052,192,959,33,932,3,968" href="http://www.thefreedictionary.com/cushion" target="_blank" onClick="myalert(this,'cushion');" />
<!-- Region 4 newspapers -->
<area shape="poly" alt="What are those?" title="What are those?" coords="1693,752,1717,734,1795,755,1822,737,1822,707,1648,668,1552,716" href="http://www.thefreedictionary.com/newspapers" target="_blank" onClick="myalert(this,'newspapers');" />
<!-- Region 5 knitting -->
<area shape="poly" alt="What is that?" title="What is that?" coords="1645,668,1690,635,1717,614,1786,635,1822,650,1822,701" href="http://www.thefreedictionary.com/knitting" target="_blank" onClick="myalert(this,'knitting');" />
<!-- Region 6 hand_lotion -->
<area shape="poly" alt="What is that?" title="What is that?" coords="1339,650,1357,650,1351,606,1351,582,1339,582,1336,594,1333,609,1336,635" href="http://www.thefreedictionary.com/hand+lotion" target="_blank" onClick="myalert(this,'hand lotion');" />
<!-- Region 7 setee -->
<area shape="poly" alt="What is that?" title="What is that?" coords="183,971,351,1193,465,1163,513,1178,725,1079,815,1076,884,1064,1007,1013,1001,971,1067,932,1130,950,1202,911,1246,956,1285,1010,1267,1088,1285,1094,1276,1222,6,1214,0,1055" href="http://www.thefreedictionary.com/setee" target="_blank" onClick="myalert(this,'setee');" />
<!-- Region 8 doona -->
<area shape="poly" alt="What is that?" title="What is that?" coords="540,1163,591,1079,614,1079,665,1052,734,1052,809,1034,857,1022,911,998,950,962,974,959,998,962,1013,1019,926,1052,875,1067,830,1076,785,1076,746,1085,722,1085,707,1100,689,1106,626,1130,576,1151" href="http://www.thefreedictionary.com/doona" target="_blank" onClick="myalert(this,'doona');" />
<!-- Region 9 chairs -->
<area shape="poly" alt="What are those?" title="What are those?" coords="1025,620,1085,638,1079,585,1175,579,1187,638,1222,620,1255,576,1474,582,1480,617,1507,611,1516,582,1642,579,1639,647,1375,635,1375,591,1261,585,1222,632,1172,641,1112,659,1133,740,1160,725,1276,791,1276,908,1360,947,1372,803,1360,650,1489,662,1504,788,1543,794,1624,764,1642,983,1621,992,1615,812,1525,875,1501,1016,1486,1016,1483,878,1399,872,1381,986,1255,932,1255,800,1222,791,1187,821,1196,896,1175,893,1175,830,1151,833,1151,890,1133,893,1136,839,1118,833,1106,944,1088,941,1100,839,1070,818,1046,920,1028,920,1037,761,1031,668" href="http://www.thefreedictionary.com/chairs" target="_blank" onClick="myalert(this,'chairs');" />
<!-- Region 10 dining_table -->
<area shape="poly" alt="What is that?" title="What is that?" coords="1495,767,1543,773,1549,1028,1573,1034,1591,764,1624,761,1627,959,1639,962,1648,785,1780,794,1795,755,1702,746,1663,752,1552,728,1591,695,1570,686,1489,704,1492,752,1366,695,1330,683,1270,701,1166,668,1109,647,1124,677,1145,695,1133,872,1148,899,1169,698,1258,719,1360,728,1360,710" href="http://www.thefreedictionary.com/dining+table" target="_blank" onClick="myalert(this,'dining table');" />
<!-- Region 11 coffee_table -->
<area shape="poly" alt="What is that?" title="What is that?" coords="516,1076,510,974,420,887,441,851,638,818,812,884,809,1034,797,1037,785,908,692,944,707,1046,695,1046,674,956,597,965,609,1073,597,1073,576,959,525,971,534,1076" href="http://www.thefreedictionary.com/coffee+table" target="_blank" onClick="myalert(this,'coffee table');" />
<!-- Region 12 ottoman -->
<area shape="poly" alt="What is that?" title="What is that?" coords="764,866,851,869,851,899,863,899,863,863,929,791,932,731,878,740,860,731,842,731,827,758,764,767,722,770,659,767,632,797,644,815,629,845,680,833" href="http://www.thefreedictionary.com/ottoman" target="_blank" onClick="myalert(this,'ottoman');" />
<!-- Region 13 clothes_basket -->
<area shape="poly" alt="What is that?" title="What is that?" coords="674,734,713,737,722,710,809,704,842,674,848,734,824,752,776,755,788,722,761,719,743,728,734,752,737,770,674,776" href="http://www.thefreedictionary.com/clothes+basket" target="_blank" onClick="myalert(this,'clothes basket');" />
<!-- Region 14 clothes -->
<area shape="poly" alt="What are those?" title="What are those?" coords="761,773,785,746,779,713,824,698,830,689,836,734,875,734,872,752,908,740,947,713,929,698,908,704,869,668,836,629,794,629,764,626,761,644,731,632,677,668,674,734,707,719,719,740,737,692,752,707,776,683,779,698,749,722,728,740,728,785,740,770" href="http://www.thefreedictionary.com/clothes" target="_blank" onClick="myalert(this,'clothes');" />
<!-- Region 15 light_switch -->
<area shape="poly" alt="What is that?" title="What is that?" coords="983,426,989,459,1001,465,1001,432" href="http://www.thefreedictionary.com/light+switch" target="_blank" onClick="myalert(this,'light switch');" />
<!-- Region 16 power_switch -->
<area shape="poly" alt="What is that?" title="What is that?" coords="989,465,1004,459,1004,501,989,501" href="http://www.thefreedictionary.com/power+switch" target="_blank" onClick="myalert(this,'power switch');" />
<!-- Region 17 television -->
<area shape="poly" alt="What is that?" title="What is that?" coords="90,552,342,528,336,600,330,671,117,704,108,623" href="http://www.thefreedictionary.com/television" target="_blank" onClick="myalert(this,'television');" />
<!-- Region 18 speakers -->
<area shape="poly" alt="What are those?" title="What are those?" coords="51,731,36,647,93,632,111,698,333,665,336,606,393,594,399,674,330,698,330,677,111,710,108,728" href="http://www.thefreedictionary.com/speakers" target="_blank" onClick="myalert(this,'speakers');" />
<!-- Region 19 amplifier -->
<area shape="poly" alt="What is that?" title="What is that?" coords="81,761,87,791,237,770,228,740" href="http://www.thefreedictionary.com/amplifier" target="_blank" onClick="myalert(this,'amplifier');" />
<!-- Region 20 compact_disk_player -->
<area shape="poly" alt="What is that?" title="What is that?" coords="93,791,234,770,234,785,93,812" href="http://www.thefreedictionary.com/compact+disk+player" target="_blank" onClick="myalert(this,'compact disk player');" />
<!-- Region 21 DVD_Player -->
<area shape="poly" alt="What is that?" title="What is that?" coords="96,815,237,785,237,806,99,833" href="http://www.thefreedictionary.com/DVD+Player+(software)" target="_blank" onClick="myalert(this,'DVD Player');" />
<!-- Region 22 videos -->
<area shape="poly" alt="What are those?" title="What are those?" coords="246,740,405,701,411,773,258,803" href="http://www.thefreedictionary.com/videos" target="_blank" onClick="myalert(this,'videos');" />
<!-- Region 23 rug -->
<area shape="poly" alt="What is that?" title="What is that?" coords="462,935,429,887,183,947,345,1190,447,1160,489,1160,516,1166,549,1160,597,1079,579,971,603,974,617,1061,689,1040,677,962,698,950,710,1031,794,1028,785,944,782,911,603,962,564,956,537,974,537,1088,507,1088,501,989,498,947,483,917" href="http://www.thefreedictionary.com/rug" target="_blank" onClick="myalert(this,'rug');" />
<!-- Region 24 shelves -->
<area shape="poly" alt="What are those?" title="What are those?" coords="426,857,78,932,9,462,9,345,926,312,950,740,929,749,932,761,962,755,938,297,3,318,0,504,15,635,60,941,102,950,429,881" href="http://www.thefreedictionary.com/shelves" target="_blank" onClick="myalert(this,'shelves');" />
<!-- Region 25 terrine -->
<area shape="poly" alt="What is that?" title="What is that?" coords="300,411,363,405,360,387,333,366,333,351,324,348,324,369,300,396" href="http://www.thefreedictionary.com/terrine" target="_blank" onClick="myalert(this,'terrine');" />
<!-- Region 26 bowl -->
<area shape="poly" alt="What is that?" title="What is that?" coords="734,543,716,522,791,507,788,531" href="http://www.thefreedictionary.com/bowl" target="_blank" onClick="myalert(this,'bowl');" />
<!-- Region 27 light -->
<area shape="poly" alt="What is that?" title="What is that?" coords="620,650,611,635,606,606,623,588,653,588,674,603,674,626,662,647,635,647" href="http://www.thefreedictionary.com/light" target="_blank" onClick="myalert(this,'light');" />
<!-- Region 28 books -->
<area shape="poly" alt="What are those?" title="What are those?" coords="399,393,390,336,932,315,935,453,878,465,893,534,863,546,887,614,839,620,830,390,764,399,764,477,710,465,698,555,620,570,617,501,591,501,591,653,489,671,471,609,471,498,555,483,537,390,198,420,192,339,84,348,96,420,15,438,24,528,207,510,204,429,213,432,216,522,15,540,9,429,81,411,78,339,201,342,207,408,219,408,210,348,270,339,273,402,366,396" href="http://www.thefreedictionary.com/books" target="_blank" onClick="myalert(this,'books');" />
<!-- Region 29 power_leads -->
<area shape="poly" alt="What are those?" title="What are those?" coords="87,932,249,890,243,854,177,854,135,836,78,839,96,878,90,896,69,905" href="http://www.thefreedictionary.com/power+leads" target="_blank" onClick="myalert(this,'power leads');" />
<!-- Region 30 doors -->
<area shape="poly" alt="What are those?" title="What are those?" coords="1061,582,1046,225,1822,114,1822,606,1798,638,1702,591,1681,555,1516,561,1510,614,1474,614,1474,576,1261,576,1231,614,1181,609,1175,576,1112,564" href="http://www.thefreedictionary.com/doors" target="_blank" onClick="myalert(this,'doors');" />
<!-- Region 31 wall -->
<area shape="poly" alt="What is that?" title="What is that?" coords="3,312,6,198,1052,222,1055,579,1031,588,1025,611,989,632,962,632,950,504,1010,501,1004,420,983,417,983,495,953,495,944,297" href="http://www.thefreedictionary.com/wall" target="_blank" onClick="myalert(this,'wall');" />
<!-- Region 32 floor -->
<area shape="poly" alt="What is that?" title="What is that?" coords="977,755,992,752,1028,803,1028,878,1028,956,1046,929,1070,842,1094,848,1088,923,1115,944,1118,896,1163,896,1190,884,1214,836,1237,833,1255,923,1294,938,1303,851,1324,791,1360,797,1369,845,1354,974,1396,983,1411,887,1474,899,1477,1025,1504,1025,1513,920,1540,905,1549,1025,1585,1031,1594,875,1612,863,1612,992,1639,989,1657,857,1690,848,1675,962,1705,995,1711,938,1729,947,1714,1091,1738,1097,1753,1007,1774,1031,1774,1217,1285,1208,1282,1094,1270,1073,1282,983,1249,950,1208,902,1118,959,1073,935,1031,965,1010,947,1013,902,965,902,878,929,827,908,827,881,845,881,854,911,869,914,869,881,908,848,911,866,926,863,926,821,947,767" href="http://www.thefreedictionary.com/floor" target="_blank" onClick="myalert(this,'floor');" />
<!-- Region 33 uplight -->
<area shape="poly" alt="What is that?" title="What is that?" coords="1172,132,1240,126,1243,141,1193,153,1172,150" href="http://www.thefreedictionary.com/uplight" target="_blank" onClick="myalert(this,'uplight');" />
<!-- Region 34 windows -->
<area shape="poly" alt="What are those?" title="What are those?" coords="57,9,1115,99,1163,87,1432,6" href="http://www.thefreedictionary.com/windows" target="_blank" onClick="myalert(this,'windows');" />
<!-- Region 35 bulkhead -->
<area shape="poly" alt="What is that?" title="What is that?" coords="9,192,0,12,1118,87,1178,84,1441,9,1825,6,1825,69,1243,189,1234,117,1175,129,1175,153,1225,144,1234,192,1151,213,1073,225,1022,219" href="http://www.thefreedictionary.com/bulkhead" target="_blank" onClick="myalert(this,'bulkhead');" />
<!-- Region 36 painting -->
<area shape="poly" alt="What is that?" title="What is that?" coords="453,408,543,405,543,486,459,495" href="http://www.thefreedictionary.com/painting" target="_blank" onClick="myalert(this,'painting');" />
<!-- Region 37 teapot -->
<area shape="poly" alt="What is that?" title="What is that?" coords="764,435,803,435,803,462,764,465" href="http://www.thefreedictionary.com/teapot" target="_blank" onClick="myalert(this,'teapot');" />
<area shape="default" nohref alt="" />
</map>
<!-- END COPY -->
<div id='ddid' class='xdid' style='display:none;'></div>
</body>
</html>