<html>
<head>
<title>Animated Plane and Coconut Hunt Game - RJM Programming - July, 2025 ... Thanks to Image by brgfx on Freepik ... 8017 × 2745 ... and https://au.pinterest.com/pin/587930926347995281/</title>
<meta charset="UTF-8"/>
<script type=text/javascript>
var pos3=0, pos4=0, refuelpercent=-1, gamemode='', kapput=false, pxmode=true;
var ew_resize='ew-resize', ppih='', crosshair='crosshair', subj='My%20Animation', cable='contenteditable', mse='mySoundEffect', beara='';
var score=0, goes=0, scoo=null, coconutih='', zilch='', gameon=false, ppgameon=false, timesecs=0, speed=5, curs=0, dod=0, treep=0, complexcursorokay=true, resuscur='', lastsx=-1, lastsy=-1;
var dodd=['Easiest', 'Easier', 'Moderate', 'Hard', 'Difficult'];
var dods=[5, 4, 3, 2, 1];
var dodsb=[1, 2, 3, 4, 5];
var myimgrect=null, onedotone=1.1;
var truew=eval('' + document.documentElement.clientWidth);
var trueh=eval('' + document.documentElement.clientHeight);
var acttop=eval(-45 + trueh);
var acttwotop=eval(-33 + acttop);
var actleft=eval(-160 + truew);
var acttwoleft=eval(40 + actleft);
var firsttop=acttop;
var firsttwotop=acttwotop;
var firstleft=actleft;
var firsttwoleft=eval(30 + actleft);
var deltatop=0.5;
var deltaleft=1.0;
var firstdeltatop=0.5;
var firstdeltaleft=1.0;
var rotdeg=0.0;
var firstrotdeg=0.0;
var isac=false, anchor=null;
var aconto=null, atwoconto=null, lhis='', lhisarr=[], ilh=0;
var acontobodyo=null, atwocontobody0=null;
var prefixbiu="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='826' height='48' viewport='0 0 200 100' style='border-radius:15px;background-color:rgba(0,255,0,0.3);fill:black;font-family:Verdana;font-size:16px;'>";
var suffixbiu="</text></svg>";
var treesalt='';
var planealt='';
var gymnastalt='';
var cloudsalt='';
var groundalt='';
var addalt='', addo=null;
var cssalt='', csso=null;
// Thanks to https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_animations/Using_CSS_animations
var defadd="<p>" + String.fromCharCode(10) + " The Caterpillar and Alice looked at each other for some time in silence: at " + String.fromCharCode(10) + " last the Caterpillar took the hookah out of its mouth, and addressed her in a " + String.fromCharCode(10) + " languid, sleepy voice." + String.fromCharCode(10) + "</p>" + String.fromCharCode(10) + "<style>" + String.fromCharCode(10) + "p { " + String.fromCharCode(10) + " animation-duration: 3s; " + String.fromCharCode(10) + " animation-name: slide-in; " + String.fromCharCode(10) + "} " + String.fromCharCode(10) + " " + String.fromCharCode(10) + "@keyframes slide-in { " + String.fromCharCode(10) + " from { " + String.fromCharCode(10) + " translate: 150vw 0; " + String.fromCharCode(10) + " scale: 200% 1; " + String.fromCharCode(10) + " } " + String.fromCharCode(10) + " " + String.fromCharCode(10) + " to { " + String.fromCharCode(10) + " translate: 0 0; " + String.fromCharCode(10) + " scale: 100% 1; " + String.fromCharCode(10) + " } " + String.fromCharCode(10) + "} " + String.fromCharCode(10) + "</style>";
var defcss="<style>" + String.fromCharCode(10) + " #myif { /* plane */ " + String.fromCharCode(10) + " mix-blend-mode:multiply !important; " + String.fromCharCode(10) + " } " + String.fromCharCode(10) + " " + String.fromCharCode(10) + " #mytwoif { /* gymnast */ " + String.fromCharCode(10) + " mix-blend-mode:multiply !important; " + String.fromCharCode(10) + " } " + String.fromCharCode(10) + " " + String.fromCharCode(10) + " #myimg { /* trees */ " + String.fromCharCode(10) + " mix-blend-mode:multiply !important; " + String.fromCharCode(10) + " } " + String.fromCharCode(10) + " " + String.fromCharCode(10) + " body { " + String.fromCharCode(10) + " border-image-width: 0 0 10px 0 !important; /* ground */ " + String.fromCharCode(10) + " background-repeat:no-repeat !important; /* clouds */ " + String.fromCharCode(10) + " } " + String.fromCharCode(10) + "</style>";
var wasdt='';
var spanpp='<span id=spanbb><br>Easiest: non-mobile get fuel tank of cursor in front of plane for refuelling, for mobile tap there<br>Easier: non-mobile or mobile click/tap there<br>Moderate: bad fuel leak<br>Hard: turbulence<br>Difficult: gymnast has to refuel</span>';
var spanihis=spanpp.split('</span>')[0].replace(spanpp.split('>')[0] + '>', '');

function bearlook() {
if (document.getElementById('sco').innerHTML == String.fromCodePoint(128059)) {
subj='My%20Bear%20Hunt';
beara=asrcit('bear-191995.mp3');
} else {
setTimeout(bearlook, 1000);
}
}

function addlook() {
if (addo) {
if (!addo.closed) {
setTimeout(addlook, 1000);
} else {
addo=null;
setTimeout(function(){ document.body.title=wasdt; wasdt=''; }, 3000);
}
} else {
setTimeout(function(){ document.body.title=wasdt; wasdt=''; }, 3000);
}
}

function csslook() {
if (csso) {
if (!csso.closed) {
setTimeout(csslook, 1000);
} else {
csso=null;
setTimeout(function(){ document.body.title=wasdt; wasdt=''; }, 3000);
}
} else {
setTimeout(function(){ document.body.title=wasdt; wasdt=''; }, 3000);
}
}


function togcur() {
if (complexcursorokay) {
complexcursorokay=false;
document.body.style.cursor='crosshair';
} else {
complexcursorokay=true;
document.body.style.cursor='' + resuscur;
}
}

function anim() {
var topoff=0, it=0;
if (ppgameon) {
setTimeout(anim, 200);
} else {
setTimeout(anim, 500);
}
if (kapput) { return ''; }
if (firsttop > 0 && firstleft > 0) {
firstleft-=deltaleft;
firsttwoleft-=deltaleft;
firsttop-=deltatop;
firsttwotop-=deltatop;
if (ppgameon && (dod >= 3 ? dod : -1) == dod && eval(timesecs % 3) == 0) { // 1 becomes 3
if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) {
topoff=Math.floor(Math.random() * eval(Math.round(trueh * 0.3)) * -1);
} else {
topoff=Math.floor(Math.random() * eval(Math.round(trueh * 0.3)));
}
if (eval(firsttop + topoff + 80) >= myimgrect.top || eval(firsttop + topoff - 80) < 100) {
it=0;
topoff=-topoff;
while (eval(firsttop + topoff + 80) >= myimgrect.top || eval(firsttop + topoff - 80) < 100) {
if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) {
topoff=Math.floor(Math.random() * eval(Math.round(trueh * 0.3)) * -1);
} else {
topoff=Math.floor(Math.random() * eval(Math.round(trueh * 0.3)));
}
if ((it % 2) == 0) {
it++;
} else {
it++;
topoff=-topoff;
}
//document.title='topoff=' + topoff + ' it=' + it;
}
}
//document.title='it=' + it;
}
firsttop+=topoff;
firsttwotop+=topoff;
if (rotdeg == 0.0) {
rotdeg=0.5;
} else {
rotdeg*=1.05;
}
document.getElementById('myif').style.left='' + firstleft + 'px';
if (ppgameon) {
if (firsttop >= myimgrect.top || firsttop < 100) {
if (firsttop >= myimgrect.top) {
firsttop-=Math.abs(deltatop);
rotdeg=-rotdeg;
} else {
firsttop+=Math.abs(deltatop);
rotdeg=-rotdeg;
}
firsttwotop=eval(-33 + firsttop);
if (deltatop >= 0) {
deltatop=-firstdeltatop;
} else if (deltatop < 0) {
deltatop=firstdeltatop;
}
}
}
document.getElementById('myif').style.top='' + firsttop + 'px';
document.getElementById('myif').style.transform='rotate(' + rotdeg + 'deg)';
document.getElementById('mytwoif').style.left='' + firsttwoleft + 'px';
document.getElementById('mytwoif').style.top='' + firsttwotop + 'px';
document.getElementById('mytwoif').style.transform='rotate(' + rotdeg + 'deg)';
deltatop*=1.1;
deltaleft*=onedotone;
if (ppgameon) {
if (dod < 4) {
ppassess(document.getElementById('mytwoif'), firstleft, firsttop, 160, 45);
} else {
ppassess(document.getElementById('mytwoif'), firsttwoleft, firsttwotop, 45, 60);
}
}
} else {
if (!ppgameon) {
firsttop=acttop;
firsttwotop=acttwotop;
deltatop=firstdeltatop;
deltaleft=firstdeltaleft;
} else if (deltatop >= 0) {
onedotone=1.0;
rotdeg=-rotdeg;
deltatop=-firstdeltatop;
} else if (deltatop < 0) {
onedotone=1.0;
rotdeg=-rotdeg;
deltatop=firstdeltatop;
}
firstleft=actleft;
firsttwoleft=acttwoleft;
rotdeg=firstrotdeg;
document.getElementById('myif').style.left='' + firstleft + 'px';
document.getElementById('myif').style.top='' + firsttop + 'px';
document.getElementById('myif').style.transform='rotate(' + rotdeg + 'deg)';
document.getElementById('mytwoif').style.left='' + firsttwoleft + 'px';
document.getElementById('mytwoif').style.top='' + firsttwotop + 'px';
document.getElementById('mytwoif').style.transform='rotate(' + rotdeg + 'deg)';
if (ppgameon) {
if (dod < 4) {
ppassess(document.getElementById('mytwoif'), firstleft, firsttop, 160, 45);
} else {
ppassess(document.getElementById('mytwoif'), firsttwoleft, firsttwotop, 45, 60);
}
}
}
}

function ppassess(ifo, lf, tp, wd, hg) {
var vsx=-1, vsy=-1, found=false, iscl=false;
if (document.getElementById('ppsco').innerHTML == ppih && ('' + document.getElementById('ppsco').style.visibility) == 'visible') {
vsx=eval('' + ('' + document.getElementById('ppsco').style.left).replace('px',''));
vsy=eval('' + ('' + document.getElementById('ppsco').style.top).replace('px',''));
iscl=true;
} else if (!navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i) && dod == 0) {
vsx=eval('' + pos3);
vsy=eval('' + pos4);
}
if (dod < 4) {
if (vsx <= eval(lf + wd) && vsx >= lf && vsy <= eval(tp + hg) && vsy >= tp) {
found=true;
if (iscl) {
document.getElementById('ppsco').style.visibility='hidden';
}
}
} else {
if (vsx <= eval(lf + wd) && vsx >= lf && vsy <= eval(tp + hg) && vsy >= tp) {
found=true;
if (iscl) {
document.getElementById('ppsco').style.visibility='hidden';
}
}
}
if (found) {
refuelpercent+=0.7;
document.getElementById('mySoundEffect').play();
if (refuelpercent > 100.0) { refuelpercent=100.0; }
document.getElementById('refuelprogress').value='' + refuelpercent;
}
}

function dobb() {
ppih=document.getElementById('ppsco').innerHTML;
coconutih=document.getElementById('sco').innerHTML;
document.body.style.cursor="url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' height='36' width='62' viewport='0 0 100 100'><text y='90%'>0,0</text><ellipse cx='14' cy='16' rx='2' ry='2' style='fill:red' />Sorry, your browser does not support inline SVG.</svg>\") 16 16, crosshair";
resuscur='' + document.body.style.cursor;
document.body.title+=String.fromCharCode(10) + String.fromCharCode(10) + 'Click/tap trees to allow for content changes and sharing, right click to toggle cursor style, the coconut to score in the Coconut Hunt Game, the fuel tank to start and position in the Refuel Game in the ...';
var dt='' + document.body.title;
document.body.title='Animated Plane and Coconut Hunt Game ' + String.fromCharCode(10) + 'RJM Programming - July, 2025 ' + String.fromCharCode(10) + dt;
if (4 == 5) {
document.body.style.borderTopImage="url(\"data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 512 512' fill='%23' xmlns='http://www.w3.org/2000/svg'%3E SVG SHAPES HERE %3C/svg%3E\")";
document.body.style.borderTopImageWidth='200px';
document.body.style.borderTopImageRepeat="stretch";
}
if (document.URL.indexOf('rand=hunt') != -1) {
if (document.URL.indexOf('rand=huntbear') != -1) {
coconutih='';
asrcit(decodeURIComponent(document.URL.split('rand=hunt')[1].split('&')[0].split('#')[0]));
document.getElementById('scoresgoestimesecs').innerHTML=document.getElementById('scoresgoestimesecs').innerHTML.replace('Coconut ','Bear ');
setTimeout(function(){
document.getElementById('scoresgoestimesecs').innerHTML=document.getElementById('scoresgoestimesecs').innerHTML.replace('Coconut ','Bear ');
goes++; score+=dodsb[dod]; document.getElementById(mse).play(); scoo=document.getElementById('sco'); document.getElementById('sco').style.cursor=ew_resize; gameon=prehc(true); subj='My%20Hunt'; document.body.title=zilch; if (complexcursorokay) { togcur(); } setTimeout(function(){ scoo.style.cursor=crosshair; if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) { scoo.setAttribute(cable, false); if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) { scoo.setAttribute(cable, false); } } }, 7000); setTimeout(coonut, 8000); //document.getElementById('sco').click();
}, 3000);
} else {
goes++; score+=dodsb[dod]; document.getElementById(mse).play(); scoo=document.getElementById('sco'); document.getElementById('sco').style.cursor=ew_resize; gameon=prehc(true); subj='My%20Hunt'; document.body.title=zilch; if (complexcursorokay) { togcur(); } setTimeout(function(){ scoo.style.cursor=crosshair; if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) { scoo.setAttribute(cable, false); if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) { scoo.setAttribute(cable, false); } } }, 7000); setTimeout(coonut, 8000); //document.getElementById('sco').click();
}
} else if (document.URL.indexOf('rand=refuel') != -1) {
myimgrect=document.getElementById('myimg').getBoundingClientRect();
document.getElementById('ppsco').innerHTML=zilch;
document.getElementById('mySoundEffect').src='./car-gas-cap-opening-automatic-98900.mp3';
ppgameon=true;
hc(true);
refuel();
}
myimgrect=document.getElementById('myimg').getBoundingClientRect();
}

function getsrc(fromoh) {
var forvpre='Currently this content points at ... ' + String.fromCharCode(10);
var forvsuf=String.fromCharCode(10) + 'Enter an alternative content URL (can be clipart style data URI you see often using Google Image (Copy Image Address via right click) Searches) ... or ... ' + String.fromCharCode(10) + String.fromCharCode(10) + '1[:URL] for trees, 2[:URL] for plane, 3[:URL] for gymnast, 4[:URL] for clouds, 5[:emoji(s)] for ground, A for add, C for CSS, P for Plane Refuel Game, H for Hunt Game, E for email, S for SMS';
if (fromoh.indexOf(' src="//') != -1) {
return forvpre + document.URL.split('//')[0] + fromoh.split(' src="')[1].split('"')[0] + forvsuf;
} else if (fromoh.indexOf(" src='//") != -1) {
return forvpre + document.URL.split('//')[0] + fromoh.split(" src='")[1].split("'")[0] + forvsuf;
} else if (fromoh.indexOf(" src=//") != -1) {
return forvpre + document.URL.split('//')[0] + fromoh.split(" src=")[1].split(" ")[0].split(">")[0] + forvsuf;
} else if (fromoh.indexOf(' src="') != -1) {
return forvpre + fromoh.split(' src="')[1].split('"')[0] + forvsuf;
} else if (fromoh.indexOf(" src='") != -1) {
return forvpre + fromoh.split(" src='")[1].split("'")[0] + forvsuf;
} else if (fromoh.indexOf(" src=") != -1) {
return forvpre + fromoh.split(" src=")[1].split(" ")[0].split(">")[0] + forvsuf;
}
return fromoh;
}

function yourprompt(ino, intlis) {
var ei=-1, si=-1;
isac=true;
var opsd=prompt(getsrc(ino.outerHTML), '');
if (opsd == null) { isac=false; return false; }
if (opsd.trim() != '') {
switch (opsd.substring(0,1).toLowerCase().replace('+','s')) {
case '1': // trees
if ((opsd + ' ').substring(0,2) == '1:') {
treesalt='&treesalt=' + encodeURIComponent(opsd);
document.getElementById('myimg').src=('' + (opsd + ' ').substring(2) + '').replace(/^http\:/g,'').replace(/^https\:/g,'');
} else {
opsd=prompt('Enter your (perhaps clipart via Google image search) data URI or URL suiting where trees are.', '');
if (opsd != null) {
if (opsd.trim() != '') {
treesalt='&treesalt=' + encodeURIComponent(opsd);
document.getElementById('myimg').src=('' + opsd + '').replace(/^http\:/g,'').replace(/^https\:/g,'');
}
}
}
break;

case '2': // plane
if ((opsd + ' ').substring(0,2) == '2:') {
planealt='&planealt=' + encodeURIComponent(opsd);
document.getElementById('myif').style.backgroundImage='url(' + ((opsd + ' ').substring(2)).replace(/^http\:/g,'').replace(/^https\:/g,'') + ')';
} else {
opsd=prompt('Enter your (perhaps clipart via Google image search) data URI or URL suiting where plane is.', '');
if (opsd != null) {
if (opsd.trim() != '') {
planealt='&planealt=' + encodeURIComponent(opsd);
document.getElementById('myif').style.backgroundImage='url(' + opsd.replace(/^http\:/g,'').replace(/^https\:/g,'') + ')';
}
}
}
break;

case '3': // gymnast
if ((opsd + ' ').substring(0,2) == '3:') {
gymnastalt='&gymnastalt=' + encodeURIComponent(opsd);
document.getElementById('mytwoif').style.backgroundImage='url(' + ((opsd + ' ').substring(2)).replace(/^http\:/g,'').replace(/^https\:/g,'') + ')';
} else {
opsd=prompt('Enter your (perhaps clipart via Google image search) data URI or URL suiting where gymnast is.', '');
if (opsd != null) {
if (opsd.trim() != '') {
gymnastalt='&gymnastalt=' + encodeURIComponent(opsd);
document.getElementById('mytwoif').style.backgroundImage='url(' + opsd.replace(/^http\:/g,'').replace(/^https\:/g,'') + ')';
}
}
}
break;

case '4': // clouds
if ((opsd + ' ').substring(0,2) == '4:') {
cloudsalt='&cloudsalt=' + encodeURIComponent(opsd);
document.body.style.backgroundImage='url(' + ((opsd + ' ').substring(2)).replace(/^http\:/g,'').replace(/^https\:/g,'') + ')';
} else {
opsd=prompt('Enter your (perhaps via Google image search) data URI or URL suiting where cloud background image is.', '');
if (opsd != null) {
if (opsd.trim() != '') {
cloudsalt='&cloudsalt=' + encodeURIComponent(opsd);
document.body.style.backgroundImage='url(' + opsd.replace(/^http\:/g,'').replace(/^https\:/g,'') + ')';
}
}
}
break;

case '5': // ground
if ((opsd + ' ').substring(0,2) == '5:') {
groundalt='&groundalt=' + encodeURIComponent(opsd);
document.body.innerHTML+='<sty' + 'le> body { border-image:url("' + prefixbiu + (opsd + ' ').substring(2) + suffixbiu + '") !important; </sty' + 'le>'
} else {
opsd=prompt('Enter your (probably quite long) emoji (we are guessing) border image text.', '');
if (opsd != null) {
if (opsd != '') {
groundalt='&groundalt=' + encodeURIComponent(opsd);
document.body.innerHTML+='<sty' + 'le> body { border-image:url("' + prefixbiu + opsd.replace(/^http\:/g,'').replace(/^https\:/g,'') + suffixbiu + '") !important; </sty' + 'le>'
} else {
groundalt='&groundalt='; // + encodeURIComponent(opsd);
document.body.style.borderImage='none';
document.body.style.borderBottom='1px solid transparent';
document.body.style.borderBottomWidth='0px';
//document.body.innerHTML+='<sty' + 'le> body { border-bottom-width:0px !important; } </sty' + 'le>';
}
}
}
break;

case 'e': // email
opsd=opsd.replace(/\:/g,' ');
anchor = document.createElement('a');
if (subj == 'My%20Animation' && ppgameon) { subj='My%20Plane%20Fuel%20Game'; }
if (subj == 'My%20Animation' && gameon) { if (coconutih == document.getElementById('sco').innerHTML) { subj='My%20Coconut%20Hunt'; } else if (document.getElementById('sco').innerHTML == String.fromCodePoint(128059)) { subj='My%20Bear%20Hunt'; beara=asrcit('bear-191995.mp3'); } else { subj='My%20Hunt'; } }
if (opsd.trim().indexOf('@') != -1) {
anchor.href = 'mailto:' + opsd.split('@')[0].split(' ')[eval(-1 + opsd.split('@')[0].split(' ').length)] + opsd.split(opsd.split('@')[0])[1].split(' ')[0] + '?subject=' + subj + '&body=' + encodeURIComponent(document.URL.split('?')[0].split('#')[0] + '?rand=' + (gamemode != '' ? (gamemode + encodeURIComponent(beara)) : ('' + Math.floor(Math.random() * 19897865))) + '#' + treesalt + planealt + gymnastalt + cloudsalt + groundalt + addalt + cssalt);
} else {
anchor.href = 'mailto:?subject=' + subj + '&body=' + encodeURIComponent(document.URL.split('?')[0].split('#')[0] + '?rand=' + (gamemode != '' ? (gamemode + encodeURIComponent(beara)) : ('' + Math.floor(Math.random() * 19897865))) + '#' + treesalt + planealt + gymnastalt + cloudsalt + groundalt + addalt + cssalt);
}
anchor.style.display='none';
document.body.appendChild(anchor);
anchor.innerHTML='Email';
anchor.target='_top';
anchor.click();
break;

case 's': // SMS
opsd=opsd.replace(/\:/g,' ');
anchor = document.createElement('a');
if (opsd.substring(0,1).toLowerCase() == '+') {
anchor.href = 'sms:' + opsd.split(' ')[0] + '&body=' + encodeURIComponent(document.URL.split('?')[0].split('#')[0] + '?rand=' + (gamemode != '' ? (gamemode + encodeURIComponent(beara)) : ('' + Math.floor(Math.random() * 19897865))) + '#' + treesalt + planealt + gymnastalt + cloudsalt + groundalt + addalt + cssalt);
} else if (opsd.indexOf(' ') != -1) {
anchor.href = 'sms:' + opsd.split(' ')[eval(-1 + opsd.split(' ').length)] + '&body=' + encodeURIComponent(document.URL.split('?')[0].split('#')[0] + '?rand=' + (gamemode != '' ? (gamemode + encodeURIComponent(beara)) : ('' + Math.floor(Math.random() * 19897865))) + '#' + treesalt + planealt + gymnastalt + cloudsalt + groundalt + addalt + cssalt);
} else {
anchor.href = 'sms:&body=' + encodeURIComponent(document.URL.split('?')[0].split('#')[0] + '?rand=' + (gamemode != '' ? (gamemode + encodeURIComponent(beara)) : ('' + Math.floor(Math.random() * 19897865))) + '#' + treesalt + planealt + gymnastalt + cloudsalt + groundalt + addalt + cssalt);
}
anchor.style.display='none';
document.body.appendChild(anchor);
anchor.innerHTML='Email';
anchor.target='_top';
anchor.click();
break;

case 'a': // append HTML or CSS
if ((opsd + ' ').indexOf('<') > 0 && (opsd + ' ').indexOf('>') > (opsd + ' ').indexOf('<')) {
if (addalt != '') {
addalt+=encodeURIComponent(opsd.substring((opsd + ' ').indexOf('<')).replace(/\~\~/g, String.fromCharCode(10)));
} else {
addalt='&addalt=' + encodeURIComponent(opsd.substring((opsd + ' ').indexOf('<')).replace(/\~\~/g, String.fromCharCode(10)));
}
document.body.innerHTML+=opsd.substring((opsd + ' ').indexOf('<').replace(/\~\~/g, String.fromCharCode(10)));
} else {
setTimeout(bearlook, 1000);
addo=window.open(document.URL.split('?')[0].split('#')[0] + '?addalt=&lastsx=' + lastsx + '&lastsy=' + lastsy, '_blank', 'top=50,left=50,width=800,height=800');
wasdt='' + document.body.title;
document.body.title='';
setTimeout(addlook, 1000);
}
break;

case 'c': // append CSS or HTML
if ((opsd + ' ').indexOf('<') > 0 && (opsd + ' ').indexOf('>') > (opsd + ' ').indexOf('<')) {
if (cssalt != '') {
cssalt+=encodeURIComponent(opsd.substring((opsd + ' ').indexOf('<')).replace(/\~\~/g, String.fromCharCode(10)));
} else {
cssalt='&cssalt=' + encodeURIComponent(opsd.substring((opsd + ' ').indexOf('<')).replace(/\~\~/g, String.fromCharCode(10)));
}
document.body.innerHTML+=opsd.substring((opsd + ' ').indexOf('<').replace(/\~\~/g, String.fromCharCode(10)));
} else {
wasdt='' + document.body.title;
document.body.title='';
csso=window.open(document.URL.split('?')[0].split('#')[0] + '?cssalt=', '_blank', 'top=60,left=60,width=800,height=800');
setTimeout(csslook, 1000);
}
break;

case 'r': // Refuel Game
case 'p': // Refuel Game
case 'f': // Refuel Game
if (timesecs == 0 || (gameon && !ppgameon)) {
if (gameon) {
newppgame();
} else {
myimgrect=document.getElementById('myimg').getBoundingClientRect();
document.getElementById('mySoundEffect').src='./car-gas-cap-opening-automatic-98900.mp3';
refuelpercent=100.0;
document.body.style.cursor="url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' height='36' width='62' viewport='0 0 100 100'><style> .small { font: 13px sans-serif; } </style><text y='90%'>0,0</text><text x='2' y='40%' class='small'>\\0026fd</text>Sorry, your browser does not support inline SVG.</svg>\") 16 16, crosshair";
document.getElementById('scoresgoestimesecs').innerHTML='Plane Refuel Game ... ' + ppih + ': <progress value=' + refuelpercent + ' min=0.0 max=100.0 step=0.1 id=refuelprogress></progress> Time: <span id=tsecs>' + timesecs + '</span> Difficulty: <span id=diffi>' + dodd[dod] + '</span><br><font size=1>(Place Fuel Pump in way of Plane to Top Up Fuel)</font> <button style=display:none;background-color:lightgreen; id=bkapput onmousedown=newppgame(); ontouchdown=newppgame(); onclick=newppgame();>New Plane Refuel Game ...</button>' + spanpp;
document.getElementById('ppsco').innerHTML=zilch;
ppgameon=true;
hc(true);
//refuel();
}
}
break;

case 'h': // Hunt Game
case 'g': // Hunt Game
if (timesecs == 0 || (!gameon && ppgameon)) {
if (ppgameon) {
newgame();
} else {
goes++;
score+=dodsb[dod];
document.getElementById(mse).play();
scoo=document.getElementById('sco');
document.getElementById('sco').style.cursor=ew_resize;
gameon=prehc(true); subj='My%20Hunt';
document.body.title=zilch;
if (complexcursorokay) { togcur(); }
setTimeout(function(){ scoo.style.cursor=crosshair; if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) { scoo.setAttribute(cable, false); if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) { scoo.setAttribute(cable, false); } } }, 7000);
setTimeout(coonut, 8000); //document.getElementById('sco').click();
}
}
break;

case '<':
if (cssalt != '') {
if (addalt != '') {
addalt+=encodeURIComponent(opsd.replace(/\~\~/g, String.fromCharCode(10)));
} else {
addalt='&addalt=' + encodeURIComponent(opsd.replace(/\~\~/g, String.fromCharCode(10)));
}
} else {
if (cssalt != '') {
cssalt+=encodeURIComponent(opsd.replace(/\~\~/g, String.fromCharCode(10)));
} else {
cssalt='&cssalt=' + encodeURIComponent(opsd.replace(/\~\~/g, String.fromCharCode(10)));
}
}
document.body.innerHTML+=opsd;
break;

default:
if (opsd != null) {
if (opsd.trim() != '') {
treesalt='&treesalt=' + encodeURIComponent(opsd);
document.getElementById('myimg').src=('' + opsd + '').replace(/^http\:/g,'').replace(/^https\:/g,'');
}
}
break;
}
} else {
setTimeout(function(){ ino.click(); }, 100); return true;
}
isac=false;
return false;
}

function setcssalt(tow) {
if ((tow + ' ').trim().substring(0,1) == '<') {
if (cssalt != '') {
cssalt+=encodeURIComponent(tow.trim().replace(/\~\~/g, String.fromCharCode(10)));
} else {
cssalt='&cssalt=' + encodeURIComponent(tow.trim().replace(/\~\~/g, String.fromCharCode(10)));
}
document.body.innerHTML+=tow.trim().replace(/\~\~/g, String.fromCharCode(10));
} else if ((tow + ' ') != '') {
alert('Not proper CSS nor HTML.');
}
}

function setaddalt(tow) {
if ((tow + ' ').trim().substring(0,1) == '<') {
if (addalt != '') {
addalt+=encodeURIComponent(tow.trim().replace(/\~\~/g, String.fromCharCode(10)));
} else {
addalt='&addalt=' + encodeURIComponent(tow.trim().replace(/\~\~/g, String.fromCharCode(10)));
}
document.body.innerHTML+=tow.trim().replace(/\~\~/g, String.fromCharCode(10));
} else if ((tow + ' ') != '') {
alert('Not proper HTML nor CSS.');
}
}

function anyprompt(opsd) {
if (opsd.trim() != '') {
opsd=opsd;
switch (opsd.substring(0,1).toLowerCase().replace('+','s')) {
case '1': // trees
if ((opsd + ' ').substring(0,2) == '1:') {
treesalt='&treesalt=' + encodeURIComponent(opsd);
document.getElementById('myimg').src=('' + (opsd + ' ').substring(2) + '').replace(/^http\:/g,'').replace(/^https\:/g,'');
} else {
opsd=prompt('Enter your (perhaps clipart via Google image search) data URI or URL suiting where trees are.', '');
if (opsd != null) {
if (opsd.trim() != '') {
treesalt='&treesalt=' + encodeURIComponent(opsd);
document.getElementById('myimg').src=('' + opsd + '').replace(/^http\:/g,'').replace(/^https\:/g,'');
}
}
}
break;

case '2': // plane
if ((opsd + ' ').substring(0,2) == '2:') {
planealt='&planealt=' + encodeURIComponent(opsd);
document.getElementById('myif').style.backgroundImage='url(' + ((opsd + ' ').substring(2)).replace(/^http\:/g,'').replace(/^https\:/g,'') + ')';
} else {
opsd=prompt('Enter your (perhaps clipart via Google image search) data URI or URL suiting where plane is.', '');
if (opsd != null) {
if (opsd.trim() != '') {
planealt='&planealt=' + encodeURIComponent(opsd);
document.getElementById('myif').style.backgroundImage='url(' + opsd.replace(/^http\:/g,'').replace(/^https\:/g,'') + ')';
}
}
}
break;

case '3': // gymnast
if ((opsd + ' ').substring(0,2) == '3:') {
gymnastalt='&gymnastalt=' + encodeURIComponent(opsd);
document.getElementById('mytwoif').style.backgroundImage='url(' + ((opsd + ' ').substring(2)).replace(/^http\:/g,'').replace(/^https\:/g,'') + ')';
} else {
opsd=prompt('Enter your (perhaps clipart via Google image search) data URI or URL suiting where gymnast is.', '');
if (opsd != null) {
if (opsd.trim() != '') {
gymnastalt='&gymnastalt=' + encodeURIComponent(opsd);
document.getElementById('mytwoif').style.backgroundImage='url(' + opsd.replace(/^http\:/g,'').replace(/^https\:/g,'') + ')';
}
}
}
break;

case '4': // clouds
if ((opsd + ' ').substring(0,2) == '4:') {
cloudsalt='&cloudsalt=' + encodeURIComponent(opsd);
document.body.style.backgroundImage='url(' + ((opsd + ' ').substring(2)).replace(/^http\:/g,'').replace(/^https\:/g,'') + ')';
} else {
opsd=prompt('Enter your (perhaps via Google image search) data URI or URL suiting where cloud background image is.', '');
if (opsd != null) {
if (opsd.trim() != '') {
cloudsalt='&cloudsalt=' + encodeURIComponent(opsd);
document.body.style.backgroundImage='url(' + opsd.replace(/^http\:/g,'').replace(/^https\:/g,'') + ')';
}
}
}
break;

case '5': // ground
if ((opsd + ' ').substring(0,2) == '5:') {
groundalt='&groundalt=' + encodeURIComponent(opsd);
document.body.innerHTML+='<sty' + 'le> body { border-image:url("' + prefixbiu + (opsd + ' ').substring(2) + suffixbiu + '") !important; </sty' + 'le>'
} else {
opsd=prompt('Enter your (probably quite long) emoji (we are guessing) border image text.', '');
if (opsd != null) {
if (opsd != '') {
groundalt='&groundalt=' + encodeURIComponent(opsd);
document.body.innerHTML+='<sty' + 'le> body { border-image:url("' + prefixbiu + opsd.replace(/^http\:/g,'').replace(/^https\:/g,'') + suffixbiu + '") !important; </sty' + 'le>'
} else {
groundalt='&groundalt='; // + encodeURIComponent(opsd);
document.body.style.borderImage='none';
document.body.style.borderBottom='1px solid transparent';
document.body.style.borderBottomWidth='0px';
//document.body.innerHTML+='<sty' + 'le> body { border-bottom-width:0px !important; } </sty' + 'le>';
}
}
}
break;

case 'e': // email
opsd=opsd.replace(/\:/g,' ');
anchor = document.createElement('a');
if (subj == 'My%20Animation' && ppgameon) { subj='My%20Plane%20Fuel%20Game'; }
if (subj == 'My%20Animation' && gameon) { if (coconutih == document.getElementById('sco').innerHTML) { subj='My%20Coconut%20Hunt'; } else if (document.getElementById('sco').innerHTML == String.fromCodePoint(128059)) { subj='My%20Bear%20Hunt'; beara=asrcit('bear-191995.mp3'); } else { subj='My%20Hunt'; } }
if (opsd.trim().indexOf('@') != -1) {
anchor.href = 'mailto:' + opsd.split('@')[0].split(' ')[eval(-1 + opsd.split('@')[0].split(' ').length)] + opsd.split(opsd.split('@')[0])[1].split(' ')[0] + '?subject=' + subj + '&body=' + encodeURIComponent(document.URL.split('?')[0].split('#')[0] + '?rand=' + (gamemode != '' ? (gamemode + encodeURIComponent(beara)) : ('' + Math.floor(Math.random() * 19897865))) + '#' + treesalt + planealt + gymnastalt + cloudsalt + groundalt + addalt + cssalt);
} else {
anchor.href = 'mailto:?subject=' + subj + '&body=' + encodeURIComponent(document.URL.split('?')[0].split('#')[0] + '?rand=' + (gamemode != '' ? (gamemode + encodeURIComponent(beara)) : ('' + Math.floor(Math.random() * 19897865))) + '#' + treesalt + planealt + gymnastalt + cloudsalt + groundalt + addalt + cssalt);
}
anchor.style.display='none';
document.body.appendChild(anchor);
anchor.innerHTML='Email';
anchor.target='_top';
anchor.click();
break;

case 's': // SMS
opsd=opsd.replace(/\:/g,' ');
anchor = document.createElement('a');
if (opsd.substring(0,1).toLowerCase() == '+') {
anchor.href = 'sms:' + opsd.split(' ')[0] + '&body=' + encodeURIComponent(document.URL.split('?')[0].split('#')[0] + '?rand=' + (gamemode != '' ? (gamemode + encodeURIComponent(beara)) : ('' + Math.floor(Math.random() * 19897865))) + '#' + treesalt + planealt + gymnastalt + cloudsalt + groundalt + addalt + cssalt);
} else if (opsd.indexOf(' ') != -1) {
anchor.href = 'sms:' + opsd.split(' ')[eval(-1 + opsd.split(' ').length)] + '&body=' + encodeURIComponent(document.URL.split('?')[0].split('#')[0] + '?rand=' + (gamemode != '' ? (gamemode + encodeURIComponent(beara)) : ('' + Math.floor(Math.random() * 19897865))) + '#' + treesalt + planealt + gymnastalt + cloudsalt + groundalt + addalt + cssalt);
} else {
anchor.href = 'sms:&body=' + encodeURIComponent(document.URL.split('?')[0].split('#')[0] + '?rand=' + (gamemode != '' ? (gamemode + encodeURIComponent(beara)) : ('' + Math.floor(Math.random() * 19897865))) + '#' + treesalt + planealt + gymnastalt + cloudsalt + groundalt + addalt + cssalt);
}
anchor.style.display='none';
document.body.appendChild(anchor);
anchor.innerHTML='Email';
anchor.target='_top';
anchor.click();
break;

case 'a': // append HTML or CSS
if ((opsd + ' ').indexOf('<') > 0 && (opsd + ' ').indexOf('>') > (opsd + ' ').indexOf('<')) {
if (addalt != '') {
addalt+=encodeURIComponent(opsd.substring((opsd + ' ').indexOf('<')).replace(/\~\~/g, String.fromCharCode(10)));
} else {
addalt='&addalt=' + encodeURIComponent(opsd.substring((opsd + ' ').indexOf('<')).replace(/\~\~/g, String.fromCharCode(10)));
}
document.body.innerHTML+=opsd.substring((opsd + ' ').indexOf('<').replace(/\~\~/g, String.fromCharCode(10)));
} else {
setTimeout(bearlook, 1000);
addo=window.open(document.URL.split('?')[0].split('#')[0] + '?addalt=&lastsx=' + lastsx + '&lastsy=' + lastsy, '_blank', 'top=50,left=50,width=800,height=800');
wasdt='' + document.body.title;
document.body.title='';
setTimeout(addlook, 1000);
}
break;

case 'c': // append CSS or HTML
if ((opsd + ' ').indexOf('<') > 0 && (opsd + ' ').indexOf('>') > (opsd + ' ').indexOf('<')) {
if (cssalt != '') {
cssalt+=encodeURIComponent(opsd.substring((opsd + ' ').indexOf('<')).replace(/\~\~/g, String.fromCharCode(10)));
} else {
cssalt='&cssalt=' + encodeURIComponent(opsd.substring((opsd + ' ').indexOf('<')).replace(/\~\~/g, String.fromCharCode(10)));
}
document.body.innerHTML+=opsd.substring((opsd + ' ').indexOf('<').replace(/\~\~/g, String.fromCharCode(10)));
} else {
wasdt='' + document.body.title;
document.body.title='';
csso=window.open(document.URL.split('?')[0].split('#')[0] + '?cssalt=', '_blank', 'top=60,left=60,width=800,height=800');
setTimeout(csslook, 1000);
}
break;

case 'r': // Refuel Game
case 'p': // Refuel Game
case 'f': // Refuel Game
if (timesecs == 0 || (gameon && !ppgameon)) {
if (gameon) {
newppgame();
} else { myimgrect=document.getElementById('myimg').getBoundingClientRect();
document.getElementById('mySoundEffect').src='./car-gas-cap-opening-automatic-98900.mp3';
refuelpercent=100.0;
document.body.style.cursor="url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' height='36' width='62' viewport='0 0 100 100'><style> .small { font: 13px sans-serif; } </style><text y='90%'>0,0</text><text x='2' y='40%' class='small'>\\0026fd</text>Sorry, your browser does not support inline SVG.</svg>\") 16 16, crosshair";
document.getElementById('scoresgoestimesecs').innerHTML='Plane Refuel Game ... ' + ppih + ': <progress value=' + refuelpercent + ' min=0.0 max=100.0 step=0.1 id=refuelprogress></progress> Time: <span id=tsecs>' + timesecs + '</span> Difficulty: <span id=diffi>' + dodd[dod] + '</span><br><font size=1>(Place Fuel Pump in way of Plane to Top Up Fuel)</font> <button style=display:none;background-color:lightgreen; id=bkapput onmousedown=newppgame(); ontouchdown=newppgame(); onclick=newppgame();>New Plane Refuel Game ...</button>' + spanpp;
document.getElementById('ppsco').innerHTML=zilch;
ppgameon=true;
hc(true);
//refuel();
}
}
break;

case 'h': // Hunt Game
case 'g': // Hunt Game
if (timesecs == 0 || (!gameon && ppgameon)) {
if (ppgameon) {
newgame();
} else {
goes++;
score+=dodsb[dod];
document.getElementById(mse).play();
scoo=document.getElementById('sco');
document.getElementById('sco').style.cursor=ew_resize;
gameon=prehc(true); subj='My%20Hunt';
document.body.title=zilch;
if (complexcursorokay) { togcur(); }
setTimeout(function(){ scoo.style.cursor=crosshair; if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) { scoo.setAttribute(cable, false); if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) { scoo.setAttribute(cable, false); } } }, 7000);
setTimeout(coonut, 8000); //document.getElementById('sco').click();
}
}
break;

case '<':
if (cssalt != '') {
if (addalt != '') {
addalt+=encodeURIComponent(opsd.replace(/\~\~/g, String.fromCharCode(10)));
} else {
addalt='&addalt=' + encodeURIComponent(opsd.replace(/\~\~/g, String.fromCharCode(10)));
}
} else {
if (cssalt != '') {
cssalt+=encodeURIComponent(opsd.replace(/\~\~/g, String.fromCharCode(10)));
} else {
cssalt='&cssalt=' + encodeURIComponent(opsd.replace(/\~\~/g, String.fromCharCode(10)));
}
}
document.body.innerHTML+=opsd;
break;


default:
if (opsd != null) {
if (opsd.trim() != '') {
treesalt='&treesalt=' + encodeURIComponent(opsd);
document.getElementById('myimg').src=('' + opsd + '').replace(/^http\:/g,'').replace(/^https\:/g,'');
}
}
break;
}
}
}

function ourprompt(ino, intlis) {
if (!gameon && !ppgameon) {
var ei=-1, si=-1;
isac=true;
var opsd=null;
if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) {
opsd=prompt(intlis + String.fromCharCode(10) + String.fromCharCode(10) + intlis, '');
} else {
opsd=prompt(getsrc(document.getElementById('myimg').outerHTML), '');
}
if (opsd == null) { isac=false; return false; }
if (opsd.trim() != '') {
opsd=opsd;
switch (opsd.substring(0,1).toLowerCase().replace('+','s')) {
case '1': // trees
if ((opsd + ' ').substring(0,2) == '1:') {
treesalt='&treesalt=' + encodeURIComponent(opsd);
document.getElementById('myimg').src=('' + (opsd + ' ').substring(2) + '').replace(/^http\:/g,'').replace(/^https\:/g,'');
} else {
opsd=prompt('Enter your (perhaps clipart via Google image search) data URI or URL suiting where trees are.', '');
if (opsd != null) {
if (opsd.trim() != '') {
treesalt='&treesalt=' + encodeURIComponent(opsd);
document.getElementById('myimg').src=('' + opsd + '').replace(/^http\:/g,'').replace(/^https\:/g,'');
}
}
}
break;

case '2': // plane
if ((opsd + ' ').substring(0,2) == '2:') {
planealt='&planealt=' + encodeURIComponent(opsd);
document.getElementById('myif').style.backgroundImage='url(' + ((opsd + ' ').substring(2)).replace(/^http\:/g,'').replace(/^https\:/g,'') + ')';
} else {
opsd=prompt('Enter your (perhaps clipart via Google image search) data URI or URL suiting where plane is.', '');
if (opsd != null) {
if (opsd.trim() != '') {
planealt='&planealt=' + encodeURIComponent(opsd);
document.getElementById('myif').style.backgroundImage='url(' + opsd.replace(/^http\:/g,'').replace(/^https\:/g,'') + ')';
}
}
}
break;

case '3': // gymnast
if ((opsd + ' ').substring(0,2) == '3:') {
gymnastalt='&gymnastalt=' + encodeURIComponent(opsd);
document.getElementById('mytwoif').style.backgroundImage='url(' + ((opsd + ' ').substring(2)).replace(/^http\:/g,'').replace(/^https\:/g,'') + ')';
} else {
opsd=prompt('Enter your (perhaps clipart via Google image search) data URI or URL suiting where gymnast is.', '');
if (opsd != null) {
if (opsd.trim() != '') {
gymnastalt='&gymnastalt=' + encodeURIComponent(opsd);
document.getElementById('mytwoif').style.backgroundImage='url(' + opsd.replace(/^http\:/g,'').replace(/^https\:/g,'') + ')';
}
}
}
break;

case '4': // clouds
if ((opsd + ' ').substring(0,2) == '4:') {
cloudsalt='&cloudsalt=' + encodeURIComponent(opsd);
document.body.style.backgroundImage='url(' + ((opsd + ' ').substring(2)).replace(/^http\:/g,'').replace(/^https\:/g,'') + ')';
} else {
opsd=prompt('Enter your (perhaps via Google image search) data URI or URL suiting where cloud background image is.', '');
if (opsd != null) {
if (opsd.trim() != '') {
cloudsalt='&cloudsalt=' + encodeURIComponent(opsd);
document.body.style.backgroundImage='url(' + opsd.replace(/^http\:/g,'').replace(/^https\:/g,'') + ')';
}
}
}
break;

case '5': // ground
if ((opsd + ' ').substring(0,2) == '5:') {
groundalt='&groundalt=' + encodeURIComponent(opsd);
document.body.innerHTML+='<sty' + 'le> body { border-image:url("' + prefixbiu + (opsd + ' ').substring(2) + suffixbiu + '") !important; </sty' + 'le>'
} else {
opsd=prompt('Enter your (probably quite long) emoji (we are guessing) border image text.', '');
if (opsd != null) {
if (opsd != '') {
groundalt='&groundalt=' + encodeURIComponent(opsd);
document.body.innerHTML+='<sty' + 'le> body { border-image:url("' + prefixbiu + opsd.replace(/^http\:/g,'').replace(/^https\:/g,'') + suffixbiu + '") !important; </sty' + 'le>'
} else {
groundalt='&groundalt='; // + encodeURIComponent(opsd);
document.body.style.borderImage='none';
document.body.style.borderBottom='1px solid transparent';
document.body.style.borderBottomWidth='0px';
//document.body.innerHTML+='<sty' + 'le> body { border-bottom-width:0px !important; } </sty' + 'le>';
}
}
}
break;

case 'e': // email
opsd=opsd.replace(/\:/g,' ');
anchor = document.createElement('a');
if (subj == 'My%20Animation' && ppgameon) { subj='My%20Plane%20Fuel%20Game'; }
if (subj == 'My%20Animation' && gameon) { if (coconutih == document.getElementById('sco').innerHTML) { subj='My%20Coconut%20Hunt'; } else if (document.getElementById('sco').innerHTML == String.fromCodePoint(128059)) { subj='My%20Bear%20Hunt'; beara=asrcit('bear-191995.mp3'); } else { subj='My%20Hunt'; } }
if (opsd.trim().indexOf('@') != -1) {
anchor.href = 'mailto:' + opsd.split('@')[0].split(' ')[eval(-1 + opsd.split('@')[0].split(' ').length)] + opsd.split(opsd.split('@')[0])[1].split(' ')[0] + '?subject=' + subj + '&body=' + encodeURIComponent(document.URL.split('?')[0].split('#')[0] + '?rand=' + (gamemode != '' ? (gamemode + encodeURIComponent(beara)) : ('' + Math.floor(Math.random() * 19897865))) + '#' + treesalt + planealt + gymnastalt + cloudsalt + groundalt + addalt + cssalt);
} else {
anchor.href = 'mailto:?subject=' + subj + '&body=' + encodeURIComponent(document.URL.split('?')[0].split('#')[0] + '?rand=' + (gamemode != '' ? (gamemode + encodeURIComponent(beara)) : ('' + Math.floor(Math.random() * 19897865))) + '#' + treesalt + planealt + gymnastalt + cloudsalt + groundalt + addalt + cssalt);
}
anchor.style.display='none';
document.body.appendChild(anchor);
anchor.innerHTML='Email';
anchor.target='_top';
anchor.click();
break;

case 's': // SMS
opsd=opsd.replace(/\:/g,' ');
anchor = document.createElement('a');
if (opsd.substring(0,1).toLowerCase() == '+') {
anchor.href = 'sms:' + opsd.split(' ')[0] + '&body=' + encodeURIComponent(document.URL.split('?')[0].split('#')[0] + '?rand=' + (gamemode != '' ? (gamemode + encodeURIComponent(beara)) : ('' + Math.floor(Math.random() * 19897865))) + '#' + treesalt + planealt + gymnastalt + cloudsalt + groundalt + addalt + cssalt);
} else if (opsd.indexOf(' ') != -1) {
anchor.href = 'sms:' + opsd.split(' ')[eval(-1 + opsd.split(' ').length)] + '&body=' + encodeURIComponent(document.URL.split('?')[0].split('#')[0] + '?rand=' + (gamemode != '' ? (gamemode + encodeURIComponent(beara)) : ('' + Math.floor(Math.random() * 19897865))) + '#' + treesalt + planealt + gymnastalt + cloudsalt + groundalt + addalt + cssalt);
} else {
anchor.href = 'sms:&body=' + encodeURIComponent(document.URL.split('?')[0].split('#')[0] + '?rand=' + (gamemode != '' ? (gamemode + encodeURIComponent(beara)) : ('' + Math.floor(Math.random() * 19897865))) + '#' + treesalt + planealt + gymnastalt + cloudsalt + groundalt + addalt + cssalt);
}
anchor.style.display='none';
document.body.appendChild(anchor);
anchor.innerHTML='Email';
anchor.target='_top';
anchor.click();
break;


case 'a': // append HTML or CSS
if ((opsd + ' ').indexOf('<') > 0 && (opsd + ' ').indexOf('>') > (opsd + ' ').indexOf('<')) {
if (addalt != '') {
addalt+=encodeURIComponent(opsd.substring((opsd + ' ').indexOf('<')).replace(/\~\~/g, String.fromCharCode(10)));
} else {
addalt='&addalt=' + encodeURIComponent(opsd.substring((opsd + ' ').indexOf('<')).replace(/\~\~/g, String.fromCharCode(10)));
}
document.body.innerHTML+=opsd.substring((opsd + ' ').indexOf('<').replace(/\~\~/g, String.fromCharCode(10)));
} else {
setTimeout(bearlook, 1000);
addo=window.open(document.URL.split('?')[0].split('#')[0] + '?addalt=&lastsx=' + lastsx + '&lastsy=' + lastsy, '_blank', 'top=50,left=50,width=800,height=800');
wasdt='' + document.body.title;
document.body.title='';
setTimeout(addlook, 1000);
}
break;

case 'c': // append CSS or HTML
if ((opsd + ' ').indexOf('<') > 0 && (opsd + ' ').indexOf('>') > (opsd + ' ').indexOf('<')) {
if (cssalt != '') {
cssalt+=encodeURIComponent(opsd.substring((opsd + ' ').indexOf('<')).replace(/\~\~/g, String.fromCharCode(10)));
} else {
cssalt='&cssalt=' + encodeURIComponent(opsd.substring((opsd + ' ').indexOf('<')).replace(/\~\~/g, String.fromCharCode(10)));
}
document.body.innerHTML+=opsd.substring((opsd + ' ').indexOf('<').replace(/\~\~/g, String.fromCharCode(10)));
} else {
csso=window.open(document.URL.split('?')[0].split('#')[0] + '?cssalt=', '_blank', 'top=60,left=60,width=800,height=800');
wasdt='' + document.body.title;
document.body.title='';
setTimeout(csslook, 1000);
}
break;

case 'r': // Refuel Game
case 'p': // Refuel Game
case 'f': // Refuel Game
if (timesecs == 0 || (gameon && !ppgameon)) {
if (gameon) {
newppgame();
} else { myimgrect=document.getElementById('myimg').getBoundingClientRect();
document.getElementById('mySoundEffect').src='./car-gas-cap-opening-automatic-98900.mp3';
refuelpercent=100.0;
document.body.style.cursor="url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' height='36' width='62' viewport='0 0 100 100'><style> .small { font: 13px sans-serif; } </style><text y='90%'>0,0</text><text x='2' y='40%' class='small'>\\0026fd</text>Sorry, your browser does not support inline SVG.</svg>\") 16 16, crosshair";
document.getElementById('scoresgoestimesecs').innerHTML='Plane Refuel Game ... ' + ppih + ': <progress value=' + refuelpercent + ' min=0.0 max=100.0 step=0.1 id=refuelprogress></progress> Time: <span id=tsecs>' + timesecs + '</span> Difficulty: <span id=diffi>' + dodd[dod] + '</span><br><font size=1>(Place Fuel Pump in way of Plane to Top Up Fuel)</font> <button style=display:none;background-color:lightgreen; id=bkapput onmousedown=newppgame(); ontouchdown=newppgame(); onclick=newppgame();>New Plane Refuel Game ...</button>' + spanpp;
document.getElementById('ppsco').innerHTML=zilch;
ppgameon=true;
hc(true);
//refuel();
}
}
break;

case 'h': // Hunt Game
case 'g': // Hunt Game
if (timesecs == 0 || (!gameon && ppgameon)) {
if (ppgameon) {
newgame();
} else {
goes++;
score+=dodsb[dod];
document.getElementById(mse).play();
scoo=document.getElementById('sco');
document.getElementById('sco').style.cursor=ew_resize;
gameon=prehc(true); subj='My%20Hunt';
document.body.title=zilch;
if (complexcursorokay) { togcur(); }
setTimeout(function(){ scoo.style.cursor=crosshair; if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) { scoo.setAttribute(cable, false); if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) { scoo.setAttribute(cable, false); } } }, 7000);
setTimeout(coonut, 8000); //document.getElementById('sco').click();
}
}
break;

case '<':
if (cssalt != '') {
if (addalt != '') {
addalt+=encodeURIComponent(opsd.replace(/\~\~/g, String.fromCharCode(10)));
} else {
addalt='&addalt=' + encodeURIComponent(opsd.replace(/\~\~/g, String.fromCharCode(10)));
}
} else {
if (cssalt != '') {
cssalt+=encodeURIComponent(opsd.replace(/\~\~/g, String.fromCharCode(10)));
} else {
cssalt='&cssalt=' + encodeURIComponent(opsd.replace(/\~\~/g, String.fromCharCode(10)));
}
}
document.body.innerHTML+=opsd;
break;

default:
if (opsd != null) {
if (opsd.trim() != '') {
treesalt='&treesalt=' + encodeURIComponent(opsd);
document.getElementById('myimg').src=('' + opsd + '').replace(/^http\:/g,'').replace(/^https\:/g,'');
}
}
break;
}
} else {
setTimeout(function(){ ino.click(); }, 100); return true;
}
isac=false;
}
return false;
}

function getisac() {
return isac;
}

function setisac(tow) {
isac=tow;
}

function myifonl(iois) {
if (4 == 4) {
aconto = (iois.contentWindow || iois.contentDocument);
if (aconto != null) {
if (aconto.document) { aconto = aconto.document; }
acontobodyo=aconto.body;
acontobodyo.title='';
acontobodyo.onmousedown=function(){ return parent.ourprompt(event.target,event.target.title); };
acontobodyo.ontouchdown=function(){ return parent.ourprompt(event.target,event.target.title); };
acontobodyo.onclick=function(){ if (parent.getisac()) { parent.setisac(false); if (event.target.title != '') { alert(event.target.title); } } };
//alert(1);
}
}
}

function mytwoifonl(iois) {
if (4 == 4) {
atwoconto = (iois.contentWindow || iois.contentDocument);
if (atwoconto != null) {
if (atwoconto.document) { atwoconto = atwoconto.document; }
atwocontobodyo=atwoconto.body;
atwocontobodyo.title='';
atwocontobodyo.onmousedown=function(){ return parent.ourprompt(event.target,event.target.title); };
atwocontobodyo.ontouchdown=function(){ return parent.ourprompt(event.target,event.target.title); };
atwocontobodyo.onclick=function(){ if (parent.getisac()) { parent.setisac(false); if (event.target.title != '') { alert(event.target.title); } } };
//alert(111);
}
}
}

function coonut() {
if (gameon && ppgameon) { newgame(); }
setTimeout(coonut, 1000);
curs++;
if (timesecs == 0) {
document.getElementById('scoresgoestimesecs').style.position='absolute';
document.getElementById('scoresgoestimesecs').style.top='20%';
document.getElementById('scoresgoestimesecs').style.left='50%';
document.getElementById('scoresgoestimesecs').style.display='block';
if (coconutih == document.getElementById('sco').innerHTML) {
subj='My%20Coconut%20Hunt';
document.getElementById('sco').title='Click/tap me to score in Coconut Hunt Game';
} else if (document.getElementById('sco').innerHTML == String.fromCodePoint(128059)) {
subj='My%20Bear%20Hunt';
beara=asrcit('bear-191995.mp3');
document.getElementById('sco').title='Click/tap me to score in Bear Hunt Game';
} else {
subj='My%20Hunt';
document.getElementById('sco').title='Click/tap me to score in Hunt Game';
}
document.getElementById('sco').style.left='' + Math.floor(Math.random() * truew) + 'px';
document.getElementById('sco').style.top='' + Math.floor(Math.random() * trueh) + 'px';
} else if (curs >= speed) {
document.getElementById('sco').style.left='' + Math.floor(Math.random() * truew) + 'px';
document.getElementById('sco').style.top='' + Math.floor(Math.random() * trueh) + 'px';
curs=0;
}
timesecs++;
if (eval(timesecs % 100) == 0 && speed > 1) {
speed--;
dod++;
if (ppgameon) {
document.getElementById('spanbb').innerHTML=spanihis;
setTimeout(function(){ document.getElementById('spanbb').innerHTML=''; }, 5000);
}
}
if (coconutih == document.getElementById('sco').innerHTML) {
subj='My%20Coconut%20Hunt';
document.getElementById('scoresgoestimesecs').innerHTML='Coconut Hunt Game ... Score: ' + score + ' Attempts: ' + goes + ' Time: ' + timesecs + ' Difficulty: ' + dodd[dod];
} else if (document.getElementById('sco').innerHTML == String.fromCodePoint(128059)) {
subj='My%20Bear%20Hunt';
beara=asrcit('bear-191995.mp3');
document.getElementById('scoresgoestimesecs').innerHTML='Bear Hunt Game ... Score: ' + score + ' Attempts: ' + goes + ' Time: ' + timesecs + ' Difficulty: ' + dodd[dod];
} else {
subj='My%20Hunt';
document.getElementById('scoresgoestimesecs').innerHTML='Hunt Game ... Score: ' + score + ' Attempts: ' + goes + ' Time: ' + timesecs + ' Difficulty: ' + dodd[dod];
}
}

function putto(ev) {
var xpos3=-1, xpos4=-1;
if (ppgameon) {
if (ev.touches) {
if (ev.touches[0].pageX) {
xpos3 = ev.touches[0].pageX;
xpos4 = ev.touches[0].pageY;
} else {
xpos3 = ev.touches[0].clientX;
xpos4 = ev.touches[0].clientY;
}
//console.log('pos3 = ' + pos3 + ',pos4 = ' + pos4);
} else if (ev.clientX || ev.clientY) {
xpos3 = ev.clientX;
xpos4 = ev.clientY;
//console.log('pos3 = ' + pos3 + ' ,pos4 = ' + pos4);
} else {
xpos3 = ev.pageX;
xpos4 = ev.pageY;
//console.log('pos3 = ' + pos3 + ', pos4 = ' + pos4);
}
}
if (xpos3 >= 0 && xpos4 >= 0) {
document.getElementById('ppsco').innerHTML=ppih;
document.getElementById('ppsco').style.visibility='visible';
document.getElementById('ppsco').style.top='' + xpos4 + 'px';
document.getElementById('ppsco').style.left='' + xpos3 + 'px';
}
}

function curit(ev) {
if (ev.touches) {
if (ev.touches[0].pageX) {
pos3 = ev.touches[0].pageX;
pos4 = ev.touches[0].pageY;
} else {
pos3 = ev.touches[0].clientX;
pos4 = ev.touches[0].clientY;
}
//console.log('pos3 = ' + pos3 + ',pos4 = ' + pos4);
} else if (ev.clientX || ev.clientY) {
pos3 = ev.clientX;
pos4 = ev.clientY;
//console.log('pos3 = ' + pos3 + ' ,pos4 = ' + pos4);
} else {
pos3 = ev.pageX;
pos4 = ev.pageY;
//console.log('pos3 = ' + pos3 + ', pos4 = ' + pos4);
}
//console.warn(document.body.style.cursor);
var bc=('' + document.body.style.cursor);
if (bc.indexOf('</text>') != -1) {
//alert(bc.replace(bc.split('</text>')[0].split('>')[eval(-1 + bc.split('</text>')[0].split('>').length)], '' + Math.round('' + pos3) + ',' + Math.round('' + pos4)));
if (complexcursorokay) {
lastsx=eval('' + pos3);
lastsy=eval('' + pos4);
if (ppgameon) {
if (pxmode) {
document.body.style.cursor=bc.replace(bc.split('</text>')[0].split('>')[eval(-1 + bc.split('</text>')[0].split('>').length)], '' + Math.round('' + pos3) + String.fromCodePoint(9981) + Math.round('' + pos4));
pxmode=false;
} else {
document.body.style.cursor=bc.replace(bc.split('</text>')[0].split('>')[eval(-1 + bc.split('</text>')[0].split('>').length)], '' + Math.round('' + eval(pos3 * 100.0 / eval('' + document.documentElement.clientWidth))) + '%' + String.fromCodePoint(9981) + Math.round('' + eval(pos4 * 100.0 / eval('' + document.documentElement.clientHeight))) + '%');
pxmode=true;
}
} else {
if (pxmode) {
document.body.style.cursor=bc.replace(bc.split('</text>')[0].split('>')[eval(-1 + bc.split('</text>')[0].split('>').length)], '' + Math.round('' + pos3) + ',' + Math.round('' + pos4));
pxmode=false;
} else {
document.body.style.cursor=bc.replace(bc.split('</text>')[0].split('>')[eval(-1 + bc.split('</text>')[0].split('>').length)], '' + Math.round('' + eval(pos3 * 100.0 / eval('' + document.documentElement.clientWidth))) + '%' + ',' + Math.round('' + eval(pos4 * 100.0 / eval('' + document.documentElement.clientHeight))) + '%');
pxmode=true;
}
}
} else {
document.body.style.cursor='crosshair';
}
if (treep != 0) {
if (eval(treep % 2) == 1 || !complexcursorokay) {
document.getElementById('myimg').style.cursor='pointer';
document.getElementById('sco').style.cursor='pointer';
document.getElementById('myif').style.cursor='pointer';
document.getElementById('mytwoif').style.cursor='pointer';
} else {
document.getElementById('myimg').style.cursor=('' + document.body.style.cursor);
document.getElementById('sco').style.cursor=('' + document.body.style.cursor);
document.getElementById('myif').style.cursor=('' + document.body.style.cursor);
document.getElementById('mytwoif').style.cursor=('' + document.body.style.cursor);
}
treep++;
}
}
}

function togglecursor(otree, notpointer) {
if (!notpointer) {
otree.style.cursor='pointer';
treep=0;
} else if (('' + otree.style.cursor == 'pointer')) {
if (complexcursorokay) {
otree.style.cursor=document.body.style.cursor;
}
treep=1;
} else {
treep=2;
}
}

function asrcit(inid) {
if (document.getElementById(mse).src.indexOf(inid) == -1) {
if (inid.indexOf('bear') != -1) { coconutih=''; }
document.getElementById(mse).src='/' + inid.split('/')[eval(-1 + inid.split('/').length)];
}
return inid;
}

function refuel() {
setTimeout(refuel, 1000);
if (kapput) { return ''; }
curs++;
if (timesecs == 0) {
document.getElementById('scoresgoestimesecs').style.position='absolute';
document.getElementById('scoresgoestimesecs').style.top='20%';
document.getElementById('scoresgoestimesecs').style.left='50%';
document.getElementById('scoresgoestimesecs').style.display='block';
subj='My%20Plane%20Refuel%20Game';
} else if (curs >= speed) {
curs=0;
}
timesecs++;
if (timesecs == 20) { document.getElementById('spanbb').innerHTML=''; document.body.title=''; }
document.getElementById('tsecs').innerHTML='' + timesecs;
refuelpercent-=eval(0.1 + eval((dod >= 2 ? dod : 0) * 0.1));
if (refuelpercent < 0) {
refuelpercent=0.0;
kapput=true;
document.getElementById('myif').style.top='' + eval(-50 + trueh) + 'px';
document.getElementById('myif').style.transform='rotate(70deg)';
document.getElementById('mytwoif').style.left='' + firsttwoleft + 'px';
document.getElementById('mytwoif').style.top='' + eval(-83 + trueh) + 'px';
document.getElementById('mytwoif').style.transform='rotate(70deg)';
document.getElementById('bkapput').style.display='inline-block';
document.getElementById('bkapput').style.zIndex='999';
}
document.getElementById('refuelprogress').value='' + refuelpercent;
if (!kapput && eval(timesecs % 100) == 0 && speed > 1) {
speed--;
dod++;
document.getElementById('diffi').innerHTML=dodd[dod];
if (ppgameon) {
document.getElementById('spanbb').innerHTML=spanihis;
setTimeout(function(){ document.getElementById('spanbb').innerHTML=''; }, 5000);
}
}
}

function newppgame() {
location.href=document.URL.split('?')[0].split('#')[0] + '?rand=refuel' + Math.floor(Math.random() * 19897675);
}

function newgame() {
location.href=document.URL.split('?')[0].split('#')[0] + '?rand=hunt' + Math.floor(Math.random() * 19897675);
}

function prehc(tin) {
gamemode='hunt';
return tin;
}


function hc(tin) {
gamemode='refuel';
if (gameon && ppgameon) { newppgame(); }
document.getElementById('sco').setAttribute(cable, false);
if (firsttop >= myimgrect.top) {
firsttop=eval(-10 + eval('' + myimgrect.top));
firsttwotop=eval(-33 + firsttop);
document.getElementById('myif').style.top='' + firsttop + 'px';
document.getElementById('mytwoif').style.top='' + firsttwotop + 'px';
}
document.getElementById('ppsco').style.visibility='hidden';
document.getElementById('ppsco').innerHTML=ppih;
if (timesecs == 0) {
document.getElementById('mySoundEffect').src='./car-gas-cap-opening-automatic-98900.mp3';
refuelpercent=100.0;
document.body.style.cursor="url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' height='36' width='82' viewport='0 0 100 100'><style> .small { font: 13px sans-serif; } </style><text y='90%' opacity='0.5'>0,0</text><text x='0' y='40%' class='small'>\\0026fd</text>Sorry, your browser does not support inline SVG.</svg>\") 16 16, crosshair";
document.getElementById('scoresgoestimesecs').innerHTML='Plane Refuel Game ... ' + ppih + ': <progress value=' + refuelpercent + ' min=0.0 max=100.0 step=0.1 id=refuelprogress></progress> Time: <span id=tsecs>' + timesecs + '</span> Difficulty: <span id=diffi>' + dodd[dod] + '</span><br><font size=1>(Place Fuel Pump in way of Plane to Top Up Fuel)</font> <button style=display:none;background-color:lightgreen; id=bkapput onmousedown=newppgame(); ontouchdown=newppgame(); onclick=newppgame();>New Plane Refuel Game ...</button>' + spanpp;
document.getElementById('ppsco').innerHTML=zilch;
if (!ppgameon) { ppgameon=hc(true); }
refuel();
}
return tin;
}

window.addEventListener("DOMContentLoaded", () => { // thanks to https://stackoverflow.com/questions/5498934/detect-change-in-orientation-using-javascript
const displayOrientation = () => {
location.href=document.URL;
};

if (screen && screen.orientation !== null) {
try {
window.screen.orientation.onchange = displayOrientation;
}
catch (e) { output.innerHTML = e.message; }
}
});

</script>
<style>
body {
border-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='826' height='48' viewport='0 0 200 100' style='border-radius:15px;background-color:rgba(0,255,0,0.3);fill:black;font-family:Verdana;font-size:16px;'><text x='0%' y='80%'>\01f331\01f33f\01f331\01f33f\01f331\01FAB4\01f331\01f33f\01f331\01f33f\01f331\01f33f\01f331\01f33f\01f331\01FAB4\01f331\01f33f\01f331\01FAB4\01f331\01f33f\01f331\01f33f\01f331\01f33f\01f331\01FAB4\01f331\01f33f\01f331\01f33f\01f331\01f33f\01f331\01f33f\01f331\01f33f\01f331\01f33f\01f331\01f33f\01f331\01f33f\01f331\01f33f\01f331\01f33f\01f331\01f33f\01f331\01f33f\01f331\01f33f\01FAB4\01f33f\01f331\01f33f\01f331\01f33f\01f331\01f33f\01f331\01f33f\01f331\01FAB4\01f331\01f33f\01f331\01f33f\01FAB4\01f33f\01f331\01f33f\01f331\01f33f\01f331\01FAB4\01f331\01f33f\01f331\01f33f\01f331\01f33f\01f331\01f33f\01f331\01FAB4\01f331\01f33f\01f331\01FAB4\01f331\01f33f\01f331\01f33f\01f331\01f33f\01f331\01FAB4\01f331\01f33f\01f331\01f33f\01f331\01f33f\01f331\01f33f\01f331\01f33f\01f331\01f33f\01f331\01f33f\01f331\01f33f\01f331\01f33f\01f331\01f33f\01f331\01f33f\01f331\01f33f\01f331\01f33f\01FAB4\01f33f\01f331\01f33f\01f331\01f33f\01f331\01f33f\01f331\01f33f\01f331\01FAB4\01f331\01f33f\01f331\01f33f\01FAB4\01f33f</text></svg>");
border-image-slice: 45% 5%;
border-image-repeat: round;
}

.custom-alert {
display: inline-block;
/* visibility: visible; */
background-color: rgba(102,102,102,0.8);
color: #fff;
text-align: enter;
margin: 5% auto;
padding: 12px 28px;
opacity: 0.9;
z-index: 200;
}

#sco {
z-index:201;
}

#ppsco {
z-index:201;
}
</style>
</head>
<body oncontextmenu=togcur(); ontouchmove=curit(event); onmousemove=curit(event); ondblclick="if (!gameon) { if (4 == 5) { togcur(); } } else if (gameon && speed > 1) { speed--; dod++; }" onmousedown="if (ppgameon) { putto(event); } if (gameon) { goes++; } return ourprompt(this,this.title);" ontouchdown="if (ppgameon) { putto(event); } if (gameon) { goes++; } return ourprompt(this,this.title);" onclick="if (isac) { isac=false; if (('' + this.title) != '') { alert(this.title); } }" title='Thanks to Image by brgfx on Freepik and https://i.makeagif.com/media/8-11-2023/Xu_roP.gif and https://procul.org/images/2025/Animated-Clouds-Gif/ and https://au.pinterest.com/pin/587930926347995281/ and https://giphy.com/explore/trees-swaying-stickers and https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_animations/Using_CSS_animations and https://pixabay.com/sound-effects/search/squelch/ and https://pixabay.com/sound-effects/search/fuel/' onload="dobb();" style="margin:0 0 0 0;padding:0 0 0 0;background-color:rgb(208,255,255,0.5);border-bottom:12px solid green;border-bottom-image:url(//www.istockphoto.com/vector/road-icon-seamless-road-marking-with-two-yellow-solid-lines-symbol-sign-highway-gm1400806684-454266150);border-image-width: 0 0 10px 0;border-image-repeat: stretch;background:url(//i.makeagif.com/media/8-11-2023/Xu_roP.gif);background-size:120% 120%;background-repeat:no-repeat;">
<script type=text/javascript>
var minustwenty=-20;
if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) {
minustwenty=-40;
}
if (1 == 1) {
if ((document.URL + '&').replace('#','&').indexOf('?addalt=&') != -1 && window.opener) {
if (document.URL.indexOf('&last') != -1) {
document.body.title='';
document.write("<textarea title='Enter HTML and/or CSS where ~~ can map to line feed as required' cols=80 rows=40 id=mytaadd data-onblur='window.opener.setaddalt(this.value);'>" + defadd + '<br><br><br>' + String.fromCharCode(10) + '<span id=panda style="position:absolute;left:' + decodeURIComponent((document.URL + '&').split('lastsx=')[1].split('&')[0]) + 'px;top:' + eval(60 + eval('' + decodeURIComponent((document.URL + '&').split('lastsy=')[1].split('&')[0]))) + 'px;">' + String.fromCodePoint(128060) + '</span><br>' + String.fromCharCode(10) + '<p id=pandap style="position:absolute;left:' + decodeURIComponent((document.URL + '&').split('lastsx=')[1].split('&')[0]) + 'px;top:' + decodeURIComponent((document.URL + '&').split('lastsy=')[1].split('&')[0]) + 'px;">' + String.fromCodePoint(128060) + "</p><br><br><iframe onload=\"document.getElementById('sco').innerHTML='" + String.fromCodePoint(128059) + "';\" title=\"We are going now off on a Bear Hunt!\" style=display:none; src=/About_Us.html></iframe>" + "</textarea><br><br><button onclick=\"window.opener.setaddalt(document.getElementById('mytaadd').value); window.close();\">Apply</button> <button onclick=\"document.getElementById('mytaadd').value='';\">Reset</button> <button onclick=\"window.close();\">Close</button> ");
} else {
document.body.title='';
document.write("<textarea title='Enter HTML and/or CSS where ~~ can map to line feed as required' cols=80 rows=40 id=mytaadd data-onblur='window.opener.setaddalt(this.value);'>" + defadd + '<br><br><br>' + String.fromCharCode(10) + '<span id=panda style="position:absolute;left:' + lastsx + 'px;top:' + lastsy + 'px;">' + String.fromCodePoint(128060) + "</span><br><br><iframe onload=\"document.getElementById('sco').innerHTML='" + String.fromCodePoint(128059) + "';\" title=\"We are going now off on a Bear Hunt!\" style=display:none; src=/About_Us.html></iframe>" + "</textarea><br><br><button onclick=\"window.opener.setaddalt(document.getElementById('mytaadd').value); window.close();\">Apply</button> <button onclick=\"document.getElementById('mytaadd').value='';\">Reset</button> <button onclick=\"window.close();\">Close</button> ");
}
} else if ((document.URL + '&').replace('#','&').indexOf('?cssalt=&') != -1 && window.opener) {
document.body.title='';
document.write("<textarea title='Enter CSS and/or HTML where ~~ can map to line feed as required' cols=80 rows=40 id=mytacss data-onblur='window.opener.setcssalt(this.value);'>" + defcss + "</textarea><br><br><button onclick=\"window.opener.setcssalt(document.getElementById('mytacss').value); window.close();\">Apply</button> <button onclick=\"document.getElementById('mytacss').value='';\">Reset</button> <button onclick=\"window.close();\">Close</button> ");
} else {
document.write("<iframe onmouseover='togglecursor(this,true);' onmouseoout='togglecursor(this,false);' onload=myifonl(this); id=myif name=myif frameborder=0 style='z-index:99;transform:rotate(0deg);width:160px;height:45px;position:absolute;top:" + acttop + "px;left:" + actleft + "px;mix-blend-mode:multiply;background:URL(./r8zh_rcsk_141001.gif);background-size:contain;background-repeat:no-repeat;' srcdoc='<html><body style=width:100%;height:100%; onmousedown=\" return parent.ourprompt(this,this.title);\" ontouchdown=\" return parent.ourprompt(this,this.title);\" title=\"\"></body></html>' data-src=''></iframe><iframe onmouseover='togglecursor(this,true);' onmouseoout='togglecursor(this,false);' onload=mytwoifonl(this); id=mytwoif name=mytwoif frameborder=0 style='z-index:99;transform:rotate(0deg);width:45px;height:60px;position:absolute;top:" + acttwotop + "px;left:" + acttwoleft + "px;mix-blend-mode:multiply;background:URL(GIF_from_GIFER.gif);background-size:contain;background-repeat:no-repeat;' srcdoc='<html><body style=width:100%;height:100%; onmousedown=\" return ourprompt(this,this.title);\" ontouchdown=\"return ourprompt(this,this.title);\" title=\"\"></body></html>' data-src=''></iframe><img onmousedown=\" event.stopPropagation(); return yourprompt(this,this.title);\" ontouchdown=\" event.stopPropagation(); return yourprompt(this,this.title);\" title=\"\" onclick=\" event.stopPropagation(); if (isac) { isac=false; if (event.target.title != '') { alert(event.target.title); } } \" src='./swaying_trees.webp' onmouseover='togglecursor(this,true);' onmouseoout='togglecursor(this,false);' style='cursor:pointer;position:absolute;left:" + (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i) ? '50' : '20') + "px;bottom:5px;zoom:0.2;' id=myimg></img><span onmouseover='togglecursor(this,true);' onmouseoout='togglecursor(this,false);' title='Click/tap me to start Coconut Hunt Game at " + dodd[dod] + " (scoring " + dodsb[dod] + " per click/tap of the coconut) and you can fasttrack to more difficult via double click/tap' onmousedown='event.stopPropagation(); goes++; score+=dodsb[dod]; document.getElementById(mse).play(); if (!gameon) { scoo=this; this.style.cursor=ew_resize; gameon=prehc(true); document.body.title=zilch; if (complexcursorokay) { togcur(); } setTimeout(function(){ scoo.style.cursor=crosshair; if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) { scoo.setAttribute(cable, false); } }, 7000); setTimeout(coonut, 8000); }' on" + (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i) ? 'click' : 'touchdown') + "='event.stopPropagation(); goes++; score++; document.getElementById(mse).play(); if (!gameon) { scoo=this; this.style.cursor=ew_resize; gameon=prehc(true); document.body.title=zilch; if (complexcursorokay) { togcur(); } setTimeout(function(){ scoo.style.cursor=crosshair; if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) { scoo.setAttribute(cable, false); } }, 7000); setTimeout(coonut, 8000); }' id=sco contenteditable=" + (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i) ? 'true' : 'true') + " style='mix-blend-mode:multiply;outline:0px solid transparent;caret-color:transparent;cursor:pointer;position:absolute;left:" + (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i) ? '10' : '20') + "px;bottom:" + Math.min(5,Math.abs(minustwenty + 20)) + "px;'>🥥</span><span onclick='this.innerHTML=zilch; ppgameon=true; hc(true);' onmousedown='this.innerHTML=zilch; ppgameon=true; hc(true);' ontouchdown='this.innerHTML=zilch; ppgameon=true; hc(true);' id=ppsco title='Plane Refuelling Game' style='z-index:222;mix-blend-mode:multiply;display:inline-block;position:absolute;left:" + eval(minustwenty + truew) + "px;top:" + eval(minustwenty + trueh) + ";' >⛽</span>");
if (document.URL.replace(/\#$/g,'').indexOf('#') != -1) {
lhis=decodeURIComponent(document.URL.split('#')[1]);
lhisarr=lhis.split('alt=');
for (ilh=1; ilh<lhisarr.length; ilh++) {
anyprompt(lhisarr[ilh].split('&')[0]);
}
} else if (('' + location.hash).replace(/^undefined/g,'').replace(/^null/g,'').replace(/^\#/g,'') != '') {
lhis=decodeURIComponent(('' + location.hash).replace(/^\#/g,''));
lhisarr=lhis.split('alt=');
for (ilh=1; ilh<lhisarr.length; ilh++) {
anyprompt(lhisarr[ilh].split('&')[0]);
}
}
setTimeout(anim, 200);
}
}
</script>
<audio style="display:none;" id="mySoundEffect" src="/crunch-80936.mp3" type="audio/mp3" preload="auto"></audio>
<div class=custom-alert id=scoresgoestimesecs style='display:none;'></div>
</body>
</html>