<html>
<head>
<title>Select Palette - RJM Programming - May, 2025</title>
<meta http-equiv="content-type" content="application/xhtml+xml; charset=utf-8" />
<style>
#mysel {
width: 100%;
height: 97%;
font-color: transparent;
background-color: yellow !important;
z-index: -9;
}

textarea {
background-color: #f0f0f0;
}
</style>
<script type=text/javascript>
var doutf8=true;
var linesofcontent=[];
var linesofbcss=[], stylebit='';
var xis=20, yis=10;
var prmptstr="To share on today's Bulletin Board enter a username (within which any emojis can identify this person) and/or contact string (prepend space to hide contact information and another prepended space to hide Speech Bubble to anyone but Group Talk list, and append space to remember, append another space to apply to all other Speech Bubbles, and a comma separated list represents a Group Talk list that should start with your own details and which might allow for invitational communications) eg. " + String.fromCharCode(10) + "Robert 🥌 Metcalfe[rmetcalfe15@gmail.com],RJ⛳️M[rmetcalfe@rjmprogramming.com.au] ";
var woois=null, woodone=false;
var gtaval='', ista=false, xgtaval='', lastghuh='', lastnumlines=0;
var isthefirst=true;
var taar=[];
var preadd=0, csidone=false;
var windowuser='', windowcontact='', windowotheruser='', windowothercontact='', windowask=true, suffix='';
var zhr=null, zform=null, rawhtml='', startedsi=false, zwo=null, zlen=-9, reallyopen=false, laterdo='', laterdos='', lastincs='', filters='', mfilters='';
var bcol='0,0,255', bord='', amrecipient=false, amsender=false, sivdone=false, fixwhodone=false;
var youremoji='', outhtmlentities='', nonouthtmlentities='', invitetrue=true;
var applyprivacy=(('' + document.URL).indexOf('privacy=') == -1 ? (('' + document.URL).indexOf(encodeURIComponent('privacy=')) == -1 ? 'n' : ('' + document.URL).split(encodeURIComponent('privacy='))[1].substring(0,1)) : ('' + document.URL).split('privacy=')[1].substring(0,1));
var apprivurl=('&privacy=' + applyprivacy).replace('&privacy=n','');
var prfind='', gprfind='';

/**
* Convert a string to HTML entities ... Thanks to https://zditect.com/code/javascript/easy-solution-to-encode-html-entities-in-javascript.html
*/
String.prototype.toHtmlEntities = function() {
return this.replace(/./gm, function(s) {
return (s.match(/[a-z0-9" . "\\" . "s]+/i)) ? s : '&#' + s.charCodeAt(0) + ';';
});
};

/**
* Create string from HTML entities
*/
String.fromHtmlEntities = function(string) {
return (string+'').replace(/&#" . "\\" . "d+;/gm,function(s) {
return String.fromCharCode(s.match(/" . "\\" . "d+/gm)[0]);
})
};

// Thanks to https://stackoverflow.com/questions/45576748/how-can-i-detect-rendering-support-for-emoji-in-javascript ... below ...
/** Check if browser probably supports native emoji rendering
* @param {string} emoji - which emoji to use to test; a multicharacter emoji (grapheme
* cluster) will have lower chance of false positives; common emojis (smiley face),
* sometimes have unicode alternatives the browser will render
* @returns {boolean}
*/
function supports_emoji(emoji="🤦🏼‍♂️"){
const el = document.createElement("div");
el.style = "position:absolute;visibility:hidden;";
el.textContent = emoji;
document.body.appendChild(el);
const size = el.getBoundingClientRect();
el.remove();
// expecting a roughly square emoji; incorrectly rendered grapheme clusters will be
// rendered as multiple characters (width > height), while single character emojis are
// usually rendered as a thinner rectangle (height > width)
const square = Math.abs(1-size.width/size.height);
// tune this for more/less leeway in detection
return square < .09;
}

function taappriv(htis) {
var outht=htis;
var delprfind='';
var slines=htis.split(String.fromCharCode(10)), klines=0;
var thisttl='', wasoutht='';
var wasappflag=applyprivacy;
prfind='';
//alert('len=' + slines.length);
if (applyprivacy == 'y' && eval('' + slines.length) > 1) {
//alert(1);
for (klines=0; klines<slines.length; klines++) {
if (slines[klines].indexOf('To:') != -1) {
if (prfind == '') {
prfind=slines[klines].split('To:')[1].split('<')[0].split(String.fromCharCode(10))[0];
delprfind='To:' + prfind;
//treg(null, prfind);
while (outht.indexOf(delprfind) != -1) {
outht=outht.replace(delprfind, '');
}
}
} else if (slines[klines].indexOf(' to:') != -1) {
if (prfind == '') {
prfind=slines[klines].split(' to:')[1].split('<')[0].split(String.fromCharCode(10))[0];
delprfind=' to:' + prfind;
//treg(null, prfind);
while (outht.indexOf(delprfind) != -1) {
outht=outht.replace(delprfind, '');
}
}
} else if (slines[klines].indexOf(' TO:') != -1) {
if (prfind == '') {
prfind=slines[klines].split(' TO:')[1].split('<')[0].split(String.fromCharCode(10))[0];
delprfind=' TO:' + prfind;
//treg(null, prfind);
while (outht.indexOf(delprfind) != -1) {
outht=outht.replace(delprfind, '');
}
}
}
}
} else if (applyprivacy == 'Y' && eval('' + slines.length) > 1) {
//alert(11);
for (klines=0; klines<slines.length; klines++) {
if (slines[klines].indexOf('To:') != -1) {
if (prfind == '') {
prfind=slines[klines].split('To:')[1].split('<')[0].split(String.fromCharCode(10))[0];
delprfind='To:' + prfind;
//treg(null, prfind);
while (outht.indexOf(delprfind) != -1) {
outht=outht.replace(delprfind, '');
}
}
} else if (slines[klines].indexOf(' to:') != -1) {
if (prfind == '') {
prfind=slines[klines].split(' to:')[1].split('<')[0].split(String.fromCharCode(10))[0];
delprfind=' to:' + prfind;
//treg(null, prfind);
while (outht.indexOf(delprfind) != -1) {
outht=outht.replace(delprfind, '');
}
}
} else if (slines[klines].indexOf(' TO:') != -1) {
if (prfind == '') {
prfind=slines[klines].split(' TO:')[1].split('<')[0].split(String.fromCharCode(10))[0];
delprfind=' TO:' + prfind;
//treg(null, prfind);
while (outht.indexOf(delprfind) != -1) {
outht=outht.replace(delprfind, '');
}
}

}
}
} else {
//alert(111);
for (klines=0; klines<slines.length; klines++) {
//alert('slines[klines]=' + slines[klines]);
if (slines[klines].indexOf('To:') != -1) {
if (prfind == '') {
prfind=slines[klines].split('To:')[1].split('<')[0].split(String.fromCharCode(10))[0];
delprfind='To:' + prfind;
if (delprfind.indexOf('To: ') != -1) {
applyprivacy='Y';
apprivurl='&privacy=Y';
} else if (delprfind.indexOf('To: ') != -1) {
applyprivacy='y';
apprivurl='&privacy=y';
} else {
applyprivacy='n';
apprivurl='';
}
//treg(null, prfind);
while (outht.indexOf(delprfind) != -1) {
outht=outht.replace(delprfind, '');
}
}
} else if (slines[klines].indexOf(' to:') != -1) {
alert('Here');
if (prfind == '') {
prfind=slines[klines].split(' to:')[1].split('<')[0].split(String.fromCharCode(10))[0];
delprfind=' to:' + prfind;
if (delprfind.indexOf(' to: ') != -1) {
applyprivacy='Y';
apprivurl='&privacy=Y';
} else if (delprfind.indexOf(' to: ') != -1) {
applyprivacy='y';
apprivurl='&privacy=y';
} else {
applyprivacy='n';
apprivurl='';
}
//treg(null, prfind);
while (outht.indexOf(delprfind) != -1) {
outht=outht.replace(delprfind, '');
}
}
} else if (slines[klines].indexOf(' TO:') != -1) {
if (prfind == '') {
prfind=slines[klines].split(' TO:')[1].split('<')[0].split(String.fromCharCode(10))[0];
delprfind=' TO:' + prfind;
if (delprfind.indexOf(' TO: ') != -1) {
applyprivacy='Y';
apprivurl='&privacy=Y';
} else if (delprfind.indexOf(' TO: ') != -1) {
applyprivacy='y';
apprivurl='&privacy=y';
} else {
applyprivacy='n';
apprivurl='';
}
//treg(null, prfind);
while (outht.indexOf(delprfind) != -1) {
outht=outht.replace(delprfind, '');
}
}
}
if (wasoutht != '') {
outht=wasoutht;
}
}
}
//if (prfind != '') {
// setTimeout(pretreg, 1000);
//}
if (wasappflag != applyprivacy || applyprivacy != 'n') {
gprfind=prfind;
setTimeout(preapp, 300); //return appriv(outht);
}
return outht;
}

function preapp() {
appriv('');
}

function appriv(htis) {
var outht=htis;
var delprfind='';
var wascont=document.getElementById('dcont').innerHTML;
var slines=document.getElementById('dcont').innerHTML.split('<svg '), klines=0;
var thisttl='', wasoutht='';
var wasappflag=applyprivacy;
prfind=gprfind;
gprfind='';
if (applyprivacy == 'y' && eval('' + slines.length) > 1) {
for (klines=1; klines<slines.length; klines++) {
if (slines[klines].indexOf(' data-applyprivacy="n"') != -1) {
outht=outht.replace(slines[klines], slines[klines].replace(' data-applyprivacy="n"', ' data-applyprivacy="y"'));
slines[klines]=slines[klines].replace(' data-applyprivacy="n"', ' data-applyprivacy="y"');
} else if (slines[klines].indexOf(' data-applyprivacy="Y"') != -1) {
outht=outht.replace(slines[klines], slines[klines].replace(' data-applyprivacy="Y"', ' data-applyprivacy="y"'));
slines[klines]=slines[klines].replace(' data-applyprivacy="Y"', ' data-applyprivacy="y"');
}
if (slines[klines].indexOf('</title>') != -1) {
thisttl=slines[klines].split('</title>')[0].split('>')[eval(-1 + slines[klines].split('</title>')[0].split('>').length)];
if (thisttl.indexOf('[') != -1 && thisttl.indexOf(']') != -1 && thisttl.indexOf('[]') == -1) {
outht=outht.replace('[' + thisttl.split('[')[1].split(']')[0] + ']', '');
}
}
if (slines[klines].indexOf('To:') != -1) {
if (prfind == '') {
prfind=slines[klines].split('To:')[1].split('<')[0].split(String.fromCharCode(10))[0];
delprfind='To:' + prfind;
//treg(null, prfind);
while (document.getElementById('dcont').innerHTML.indexOf(delprfind) != -1) {
document.getElementById('dcont').innerHTML=document.getElementById('dcont').innerHTML.replace(delprfind, '');
}
while (outht.indexOf(delprfind) != -1) {
outht=outht.replace(delprfind, '');
}
}
} else if (slines[klines].indexOf(' to:') != -1) {
if (prfind == '') {
prfind=slines[klines].split(' to:')[1].split('<')[0].split(String.fromCharCode(10))[0];
delprfind=' to:' + prfind;
//treg(null, prfind);
while (document.getElementById('dcont').innerHTML.indexOf(delprfind) != -1) {
document.getElementById('dcont').innerHTML=document.getElementById('dcont').innerHTML.replace(delprfind, '');
}
while (outht.indexOf(delprfind) != -1) {
outht=outht.replace(delprfind, '');
}
}
} else if (slines[klines].indexOf(' TO:') != -1) {
if (prfind == '') {
prfind=slines[klines].split(' TO:')[1].split('<')[0].split(String.fromCharCode(10))[0];
delprfind=' TO:' + prfind;
//treg(null, prfind);
while (document.getElementById('dcont').innerHTML.indexOf(delprfind) != -1) {
document.getElementById('dcont').innerHTML=document.getElementById('dcont').innerHTML.replace(delprfind, '');
}
while (outht.indexOf(delprfind) != -1) {
outht=outht.replace(delprfind, '');
}
}
}
}
} else if (applyprivacy == 'Y' && eval('' + slines.length) > 1) {
for (klines=1; klines<slines.length; klines++) {
if (slines[klines].indexOf(' data-applyprivacy="n"') != -1) {
outht=outht.replace(slines[klines], slines[klines].replace(' data-applyprivacy="n"', ' data-applyprivacy="Y"'));
slines[klines]=slines[klines].replace(' data-applyprivacy="n"', ' data-applyprivacy="Y"');
} else if (slines[klines].indexOf(' data-applyprivacy="y"') != -1) {
outht=outht.replace(slines[klines], slines[klines].replace(' data-applyprivacy="y"', ' data-applyprivacy="Y"'));
slines[klines]=slines[klines].replace(' data-applyprivacy="y"', ' data-applyprivacy="Y"');
}
if (slines[klines].indexOf('To:') != -1) {
if (prfind == '') {
prfind=slines[klines].split('To:')[1].split('<')[0].split(String.fromCharCode(10))[0];
delprfind='To:' + prfind;
//treg(null, prfind);
while (document.getElementById('dcont').innerHTML.indexOf(delprfind) != -1) {
document.getElementById('dcont').innerHTML=document.getElementById('dcont').innerHTML.replace(delprfind, '');
}
while (outht.indexOf(delprfind) != -1) {
outht=outht.replace(delprfind, '');
}
}
} else if (slines[klines].indexOf(' to:') != -1) {
if (prfind == '') {
prfind=slines[klines].split(' to:')[1].split('<')[0].split(String.fromCharCode(10))[0];
delprfind=' to:' + prfind;
//treg(null, prfind);
while (document.getElementById('dcont').innerHTML.indexOf(delprfind) != -1) {
document.getElementById('dcont').innerHTML=document.getElementById('dcont').innerHTML.replace(delprfind, '');
}
while (outht.indexOf(delprfind) != -1) {
outht=outht.replace(delprfind, '');
}
}
} else if (slines[klines].indexOf(' TO:') != -1) {
if (prfind == '') {
prfind=slines[klines].split(' TO:')[1].split('<')[0].split(String.fromCharCode(10))[0];
delprfind=' TO:' + prfind;
//treg(null, prfind);
while (document.getElementById('dcont').innerHTML.indexOf(delprfind) != -1) {
document.getElementById('dcont').innerHTML=document.getElementById('dcont').innerHTML.replace(delprfind, '');
}
while (outht.indexOf(delprfind) != -1) {
outht=outht.replace(delprfind, '');
}
}

}
}
} else {
for (klines=1; klines<slines.length; klines++) {
wasoutht=outht;
if (!amsender && !amrecipient && slines[klines].indexOf(' data-applyprivacy="Y"') != -1) {
wasoutht=wasoutht.replace('<svg ' + slines[klines].split('</svg>')[0] + '</svg>', '');
} else {
wasoutht='';
}
if (slines[klines].indexOf('To:') != -1) {
if (prfind == '') {
prfind=slines[klines].split('To:')[1].split('<')[0].split(String.fromCharCode(10))[0];
delprfind='To:' + prfind;
if (delprfind.indexOf('To: ') != -1) {
applyprivacy='Y';
apprivurl='&privacy=Y';
} else if (delprfind.indexOf('To: ') != -1) {
applyprivacy='y';
apprivurl='&privacy=y';
} else {
applyprivacy='n';
apprivurl='';
}
//treg(null, prfind);
while (document.getElementById('dcont').innerHTML.indexOf(delprfind) != -1) {
document.getElementById('dcont').innerHTML=document.getElementById('dcont').innerHTML.replace(delprfind, '');
}
while (outht.indexOf(delprfind) != -1) {
outht=outht.replace(delprfind, '');
}
}
} else if (slines[klines].indexOf(' to:') != -1) {
alert('Here');
if (prfind == '') {
prfind=slines[klines].split(' to:')[1].split('<')[0].split(String.fromCharCode(10))[0];
delprfind=' to:' + prfind;
if (delprfind.indexOf(' to: ') != -1) {
applyprivacy='Y';
apprivurl='&privacy=Y';
} else if (delprfind.indexOf(' to: ') != -1) {
applyprivacy='y';
apprivurl='&privacy=y';
} else {
applyprivacy='n';
apprivurl='';
}
//treg(null, prfind);
while (document.getElementById('dcont').innerHTML.indexOf(delprfind) != -1) {
document.getElementById('dcont').innerHTML=document.getElementById('dcont').innerHTML.replace(delprfind, '');
}
while (outht.indexOf(delprfind) != -1) {
outht=outht.replace(delprfind, '');
}
}
} else if (slines[klines].indexOf(' TO:') != -1) {
if (prfind == '') {
prfind=slines[klines].split(' TO:')[1].split('<')[0].split(String.fromCharCode(10))[0];
delprfind=' TO:' + prfind;
if (delprfind.indexOf(' TO: ') != -1) {
applyprivacy='Y';
apprivurl='&privacy=Y';
} else if (delprfind.indexOf(' TO: ') != -1) {
applyprivacy='y';
apprivurl='&privacy=y';
} else {
applyprivacy='n';
apprivurl='';
}
//treg(null, prfind);
while (document.getElementById('dcont').innerHTML.indexOf(delprfind) != -1) {
document.getElementById('dcont').innerHTML=document.getElementById('dcont').innerHTML.replace(delprfind, '');
}
while (outht.indexOf(delprfind) != -1) {
outht=outht.replace(delprfind, '');
}
}
}
if (wasoutht != '') {
outht=wasoutht;
}
}
}
if (prfind != '') {
//alert('9:' + prfind);
gctown(prfind.trim());
if (windowuser != '') {
document.getElementById('dcont').innerHTML=document.getElementById('dcont').innerHTML.replace(/\ data\-owner\=\"\"/g, ' data-owner="' + windowuser + '"');
}
if (windowcontact != '') {
document.getElementById('dcont').innerHTML=document.getElementById('dcont').innerHTML.replace(/\ data\-contact\=\"\"/g, ' data-contact="' + windowcontact + '"');
}
if (windowotheruser != '') {
if (windowuser != '') {
document.getElementById('dcont').innerHTML=document.getElementById('dcont').innerHTML.replace(/\ data\-otherowner\=\"\"/g, ' data-otherowner="' + windowotheruser + ',' + windowuser + '"');
} else {
document.getElementById('dcont').innerHTML=document.getElementById('dcont').innerHTML.replace(/\ data\-otherowner\=\"\"/g, ' data-otherowner="' + windowotheruser + '"');
}
}
if (windowothercontact != '') {
if (windowcontact != '') {
document.getElementById('dcont').innerHTML=document.getElementById('dcont').innerHTML.replace(/\ data\-othercontact\=\"\"/g, ' data-othercontact="' + windowothercontact + ',' + windowcontact + '"');
} else {
document.getElementById('dcont').innerHTML=document.getElementById('dcont').innerHTML.replace(/\ data\-othercontact\=\"\"/g, ' data-othercontact="' + windowothercontact + '"');
}
}
//alert('99:' + document.getElementById('dcont').innerHTML);
amsender=true;
alert('apprivurl=' + apprivurl + ' and applyprivacy=' + applyprivacy);
invitesmaybe(true, prfind);
//setTimeout(pretreg, 1000);
ajaxit();
}
if (wasappflag != applyprivacy) {
return appriv(outht);
}
if (wascont != document.getElementById('dcont').innerHTML) {

var svgs=document.getElementsByTagName('svg');
for (var ibn=0; ibn<svgs.length; ibn++) {
if (ibn == 0) {
treg(svgs[ibn], null);
}
}
}
return outht;
}

function maybeemoji(insvg) {
var outthing='', newoutthing='', jb=0;
var outsvg=insvg;
//alert('0:' + outsvg);
if (outsvg.indexOf(' data-otherc') != -1 && outsvg.indexOf(' data-ip') != -1) {
outsvg=outsvg.replace(outsvg.split(' data-otherc')[1].split(' data-ip')[0],'').split('97%')[0];
}

//alert(outsvg);

outhtmlentities='';
nonouthtmlentities='';

var nonencodeds=outsvg.split('&#');
for (jb=1; jb<nonencodeds.length; jb++) {
if (eval('' + nonencodeds[jb].split(';')[0]) >= 1000 && nonouthtmlentities == '') {
outhtmlentities+='&#'+nonencodeds[jb].split(';')[0]+';';
newoutthing+=String.fromCodePoint(eval('' + nonencodeds[jb].split(';')[0]));
if (nonencodeds[jb] != (nonencodeds[jb].split(';')[0] + ';')) {
nonouthtmlentities=' ';
}
} else if (outhtmlentities != '') {
nonouthtmlentities+='&#'+nonencodeds[jb].split(';')[0]+';';
}
}

if (outhtmlentities != '') { outthing=outhtmlentities; }


if (outhtmlentities == '') {
if (outsvg.toHtmlEntities().replace(/\&\#[0-9][0-9][0-9]\;/g,' ').replace(/\&\#[0-9][0-9]\;/g,' ').replace(/\&\#[0-9]\;/g,' ').indexOf('&#') >= 0) {
//alert('2987:' + outsvg.toHtmlEntities().replace(/\&\#[0-9][0-9][0-9]\;/g,' ').replace(/\&\#[0-9][0-9]\;/g,' ').replace(/\&\#[0-9]\;/g,' '));
nonencodeds=outsvg.toHtmlEntities().replace(/\&\#[0-9][0-9][0-9]\;/g,' ').replace(/\&\#[0-9][0-9]\;/g,' ').replace(/\&\#[0-9]\;/g,' ').split('&#')
for (jb=1; jb<nonencodeds.length; jb++) {
if (eval('' + nonencodeds[jb].split(';')[0]) >= 1000 && nonouthtmlentities == '') {
outhtmlentities+='&#'+nonencodeds[jb].split(';')[0]+';';
newoutthing+=String.fromCodePoint(eval('' + nonencodeds[jb].split(';')[0]));
if (nonencodeds[jb] != (nonencodeds[jb].split(';')[0] + ';')) {
nonouthtmlentities=' ';
}
} else if (outhtmlentities != '') {
nonouthtmlentities+='&#'+nonencodeds[jb].split(';')[0]+';';
}
}

if (outhtmlentities != '') { outthing=outhtmlentities; }

}
}

if (outhtmlentities == '') {
//alert(987);
var encodedStr=outsvg.replace(/[\u00A0-\u9999<>\&]/g, function(i) {
if (eval('' + i.charCodeAt(0)) >= 1000 && nonouthtmlentities == '') {
outhtmlentities+='&#'+i.charCodeAt(0)+';';
newoutthing+=String.fromCodePoint(eval('' + i.charCodeAt(0)));
} else if (outhtmlentities != '') {
nonouthtmlentities+='&#'+i.charCodeAt(0)+';';
}
return '&#'+i.charCodeAt(0)+';';
});
}

if (outhtmlentities != '') { outthing=outhtmlentities; }

if (outhtmlentities == '') {
if (document.getElementById('myip').value != '' && insvg.replace(/\'/g,'"').indexOf(' data-owner="') != -1 && insvg.replace(/\'/g,'"').indexOf(' data-contact="') != -1) {
var basisstr=insvg.replace(/\'/g,'"').split(' data-owner="')[1].split('"')[0] + insvg.replace(/\'/g,'"').split(' data-contact="')[1].split('"')[0] + document.getElementById('myip').value;
var bcnt=999, koffset=0;
for (var ib=0; ib<basisstr.length; ib++) {
//if (bcnt == 999) { bcnt=129293; }
//bcnt+=eval('' + basisstr.substring(ib).charCodeAt(0));
koffset+=eval('' + basisstr.substring(ib).charCodeAt(0));
}
if (koffset > 0) {
bcnt+=Math.round(eval(eval('' + koffset) / 10));
var itries=0;
if (4 == 5) { bcnt=129293; }
while (supports_emoji(String.fromCodePoint(eval('' + bcnt)))) {
bcnt++;
itries++;
if (itries >= 230) { bcnt=129293; }
}
//alert(bcnt);
outthing='&#' + bcnt + ';';
newoutthing+=String.fromCodePoint(eval('' + bcnt));
}
}
}
return insvg.replace('></text>', '>' + newoutthing + '</text>').replace(" data-emoji=''", " data-emoji='" + newoutthing + "'").replace(' data-emoji=""', ' data-emoji="' + newoutthing + '"');
}

function getlast(inl) {
return inl;
}

function postowr() {
if (applyprivacy != 'n' && apprivurl != '') {
return (apprivurl);
}
return '';
}

function owr(incs) {
var xfilters='&me=' + encodeURIComponent(incs.trim());
var jjncs=incs.split(';');
if (eval('' + jjncs.length) < 3) {
xfilters='&me=' + encodeURIComponent(incs.trim());
} else if (jjncs[2].trim() != '') {
if (jjncs[eval(-1 + jjncs.length)].trim() != '' && jjncs[eval(-1 + jjncs.length)].trim() != jjncs[2].trim()) {
xfilters='&me=' + encodeURIComponent(jjncs[2].split(',')[0] + ';' + jjncs[eval(-1 + jjncs.length)].split(',')[0] + ';' + jjncs[0].trim() + jjncs[2].replace(getlast(jjncs[2]).split(',')[0],'') + ';' + jjncs[1].trim() + jjncs[eval(-1 + jjncs.length)].replace(getlast(jjncs[eval(-1 + jjncs.length)]).split(',')[0],''));
} else {
xfilters='&me=' + encodeURIComponent(jjncs[2].split(',')[0] + ';' + jjncs[1].trim() + ';' + jjncs[0].trim() + jjncs[2].replace(getlast(jjncs[2]).split(',')[0],'') + ';' + jjncs[eval(-1 + jjncs.length)]);
}
} else if (jjncs[eval(-1 + jjncs.length)].trim() != '') {
xfilters='&me=' + encodeURIComponent(jjncs[2].split(',')[0] + ';' + jjncs[eval(-1 + jjncs.length)].split(',')[0] + ';' + jjncs[0].trim() + jjncs[2].replace(getlast(jjncs[2]).split(',')[0],'') + ';' + jjncs[1].trim() + jjncs[eval(-1 + jjncs.length)].replace(getlast(jjncs[eval(-1 + jjncs.length)]).split(',')[0],''));
} else {
xfilters='&me=' + encodeURIComponent(incs.trim());
}
return decodeURIComponent(xfilters.replace('&me=',''));
}

function checksi() {
var rectone=null;
console.log('checksi ' + ('' + new Date()) + ' !' + document.getElementById('totop').value + '!');
if (document.getElementById('totop').value != '') { document.getElementById('totop').value=''; window.scrollTo(0,0); }
reallyopen=false;
csidone=true;
if (zwo) {
if (!zwo.closed) {
reallyopen=true;
}
}
if (zlen > 0 && reallyopen && document.getElementById('publicreport').innerHTML.indexOf('<svg ') != -1) {
//alert(4);
if (eval('' + document.getElementById('publicreport').innerHTML.replace(/none\;/g,'block;').length) != zlen) {
//alert(44);
document.getElementById('sumpublicreport').innerHTML='Your public Bulletin Board ... ' + ('' + new Date()) + ' ... ';
zwo.document.body.innerHTML=appriv(document.getElementById('dtlpublicreport').outerHTML.replace(/none\;/g, 'block;'));
//} else {
//alert(444);
}
} else if (document.getElementById('publicreport').innerHTML.indexOf('<svg ') != -1) {
//alert(5);
document.getElementById('sumpublicreport').innerHTML='Your public Bulletin Board ... ' + ('' + new Date()) + ' ... ';
if (!startedsi || amrecipient) {
//alert(55);
if (reallyopen && amrecipient) {
zwo.close();
}
//alert(23);
zwo=window.open('', '_blank', 'top=350,left=20,width=' + eval(-40 + eval('' + screen.width)) + ',height=400');
zwo.document.write(appriv(document.getElementById('dtlpublicreport').outerHTML.replace(/none\;/g, 'block;')));
zlen=eval('' + zwo.document.body.innerHTML.length);
if (amrecipient) {
document.getElementById('hrpublicreport').style.marginTop='80px';
document.getElementById('hrpublicreport').style.display='block';
document.getElementById('hrpublictworeport').style.display='block';
document.getElementById('dtlpublicreport').style.display='block';
if (sivdone && (amrecipient || amsender)) {
if (!navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) {
if (window.opener) { window.opener.document.getElementById('totop').value='y'; window.opener.scrollTo(0, 0); } else {
window.scrollTo(0, 0); }
}
}

if (!sivdone) {
sivdone=true;
if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) {
document.getElementById('hrpublicreport').scrollIntoView();
} else {
rectone=document.getElementById('hrpublicreport').getBoundingClientRect();
window.scrollTo(0, eval(-190 + eval('' + rectone.top)));
}
}
}
} else {
document.getElementById('hrpublicreport').style.marginTop='80px';
document.getElementById('hrpublicreport').style.display='block';
document.getElementById('hrpublictworeport').style.display='block';
document.getElementById('dtlpublicreport').style.display='block';
if (sivdone && (amrecipient || amsender)) {
if (!navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) {
if (window.opener) { window.opener.document.getElementById('totop').value='y'; window.opener.scrollTo(0, 0); } else {
window.scrollTo(0, 0); }
}
}

if (!sivdone) {
sivdone=true;
if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) {
document.getElementById('hrpublicreport').scrollIntoView();
} else {
rectone=document.getElementById('hrpublicreport').getBoundingClientRect();
window.scrollTo(0, eval(-190 + eval('' + rectone.top)));
}
}
//}
}
startedsi=true;
setInterval(startsi, 5000); //document.getElementById('ifpublicreport').src='./select_palette.php?extract=' + Math.floor(Math.random() * 19897675) + apprivurl;

}
}

function dolater() {
if (laterdo != '') {
if (1 == 1) {
document.getElementById('dstyle').innerHTML+='<a onclick="this.style.display=' + "'none'" + ';" target=_top href="' + 'mailto:' + laterdo + '?subject=' + encodeURIComponent('Bulletin Board Group Talk member has logged in ...') + '&body=' + encodeURIComponent(document.URL.split('?')[0].split('#')[0] + '#sharedss=' + encodeURIComponent(owr(lastincs))) + postowr() + '">Please Email this invitation ...</a>';
} else {
anchor = document.createElement('a');
anchor.href = 'mailto:' + laterdo + '?subject=' + encodeURIComponent('Bulletin Board Group Talk member has logged in ...') + '&body=' + encodeURIComponent(document.URL.split('?')[0].split('#')[0] + '#sharedss=' + encodeURIComponent(owr(lastincs)) + postowr());
laterdo='';
anchor.style.display='none';
anchor.innerHTML='Email';
anchor.target='_top';
alert('Sending email now ...');
anchor.click();
}
}
if (laterdos != '') {
if (1 == 1) {
document.getElementById('dstyle').innerHTML+=' <a onclick="this.style.display=' + "'none'" + ';" target=_top href="' + 'sms:' + laterdos + '&body=' + encodeURIComponent(document.URL.split('?')[0].split('#')[0] + '#sharedss=' + encodeURIComponent(owr(lastincs)) + postowr()) + '">Please SMS this invitation ...</a>';
} else {
anchor = document.createElement('a');
anchor.href = 'sms:' + laterdos + '&body=' + encodeURIComponent(document.URL.split('?')[0].split('#')[0] + '#sharedss=' + encodeURIComponent(owr(lastincs)) + postowr());
laterdos='';
anchor.style.display='none';
anchor.innerHTML='SMS';
anchor.target='_top';
alert('Sending SMS now ...');
anchor.click();
}
}
}

function trueifrec() {
return amrecipient;
}

function invitesmaybe(dosends, incs) {
filters='';
//alert(8);
if (lastincs == incs || incs.trim() == '') { return incs; }
//alert(88);
if (window.opener) {
if (!amrecipient) {
amrecipient=window.opener.trueifrec();
if (amrecipient) { fixwho(); }
}
}
//alert(888);
if (amrecipient) { return incs; }
//alert(8888);
lastincs=incs;
//alert('here with ' + incs);
var elist='', slist='', anchor=null;
var jjncs=incs.split(';');
var jncs=incs.replace(/\,/g,';').split(';');
for (var kn=0; kn<jncs.length; kn++) {
//alert('in:' + jncs[kn]);
if (jncs[kn].indexOf('[') != -1 && jncs[kn].indexOf(']') != -1) { jncs[kn]=jncs[kn].split('[')[1].split(']')[0]; }
if (jncs[kn].indexOf('@') != -1) {
if (elist == '') {
elist=jncs[kn];
} else if ((',' + elist + ',').toLowerCase().indexOf(',' + jncs[kn] + ',') == -1) {
elist+=',' + jncs[kn];
}
} else if (jncs[kn].trim() != '' && jncs[kn].replace(/0/g,'').replace(/1/g,'').replace(/2/g,'').replace(/3/g,'').replace(/4/g,'').replace(/5/g,'').replace(/6/g,'').replace(/7/g,'').replace(/8/g,'').replace(/9/g,'') == '') {
if (slist == '') {
slist=jncs[kn];
} else if ((',' + slist + ',').toLowerCase().indexOf(',' + jncs[kn] + ',') == -1) {
slist+=',' + jncs[kn];
}
}
//alert('out:' + elist + ' ... ' + slist);
}

if (elist != '' && slist != '') {
laterdos=slist;
//alert('maybe');
if (eval('' + jjncs.length) < 3) {
filters='&me=' + encodeURIComponent(incs);
} else if (jjncs[2].trim() != '') {
if (jjncs[eval(-1 + jjncs.length)].trim() != '' && jjncs[eval(-1 + jjncs.length)].trim() != jjncs[2].trim()) {
filters='&me=' + encodeURIComponent(jjncs[2].split(',')[0] + ';' + jjncs[eval(-1 + jjncs.length)].split(',')[0] + ';' + jjncs[0].trim() + jjncs[2].replace(getlast(jjncs[2]).split(',')[0],'') + ';' + jjncs[1].trim() + jjncs[eval(-1 + jjncs.length)].replace(getlast(jjncs[eval(-1 + jjncs.length)]).split(',')[0],''));
} else {
filters='&me=' + encodeURIComponent(jjncs[2].split(',')[0] + ';' + jjncs[1].trim() + ';' + jjncs[0].trim() + jjncs[2].replace(getlast(jjncs[2]).split(',')[0],'') + ';' + jjncs[eval(-1 + jjncs.length)]);
}
} else if (jjncs[eval(-1 + jjncs.length)].trim() != '') {
filters='&me=' + encodeURIComponent(jjncs[2].split(',')[0] + ';' + jjncs[eval(-1 + jjncs.length)].split(',')[0] + ';' + jjncs[0].trim() + jjncs[2].replace(getlast(jjncs[2]).split(',')[0],'') + ';' + jjncs[1].trim() + jjncs[eval(-1 + jjncs.length)].replace(getlast(jjncs[eval(-1 + jjncs.length)]).split(',')[0],''));
} else {
filters='&me=' + encodeURIComponent(incs);
}
if (dosends) {
//alert('not maybe');
amsender=true;
laterdo=elist;
setTimeout(dolater, 15000);
anchor = document.createElement('a');
anchor.href = 'sms:' + slist + '&body=' + encodeURIComponent('Bulletin Board Group Talk member has logged in ...' + String.fromCharCode(10) + document.URL.split('?')[0].split('#')[0] + '#sharedss=' + encodeURIComponent(owr(incs)) + postowr());
anchor.style.display='none';
anchor.innerHTML='SMS';
anchor.target='_top';
anchor.click();
} else { // comes in via email or SMS
if (('' + window.sessionStorage.getItem('select_palette_rememberings')).replace(/^undefined/g,'').replace(/^null/g,'') == '') {
//alert('email ss ' + incs);
window.sessionStorage.setItem('select_palette_rememberings', incs);
}
if (!windowask && (windowuser != '' || windowcontact != '')) {
//alert('email But');
windowask=windowask;
} else {
amrecipient=true;
fixwho();
//alert('email Process ' + incs);
windowask=false;
windowuser=incs.split(';')[0];
if (eval('' + incs.split(';').length) > 1) { windowcontact=incs.split(';')[1]; }
if (eval('' + incs.split(';').length) > 2) { windowotheruser=incs.split(';')[2]; }
if (eval('' + incs.split(';').length) > 3) { windowothercontact=incs.split(';')[3]; }
if (!startedsi) {
startedsi=true;
var huhc=(document.URL.split('/select_palette')[0] + '/select_palette.php?extract=' + Math.floor(Math.random() * 19897675) + '&me=' + (('' + location.hash).replace('#sharedss=','')).split('&')[0] + apprivurl);
if (huhc.indexOf('%26privacy%3D') != -1) { huhc=huhc.replace('&privacy=','&dummy=').replace('%26privacy%3D','&privacy='); }
//alert('will try ' + huhc); //'./select_palette.php?extract=' + Math.floor(Math.random() * 19897675) + '&me=' + (('' + location.hash).replace('#sharedss=','')).split('&')[0] + apprivurl);
document.getElementById('ifpublicreport').src=huhc;
if (apprivurl.indexOf('&me=') == -1) { apprivurl='&me=' + (('' + location.hash).replace('#sharedss=','')).split('&')[0] + apprivurl; }
setInterval(startsi, 5000);
setTimeout(function(){
var xrectone=document.getElementById('hrpublicreport').getBoundingClientRect();
window.scrollTo(0, eval(-190 + eval('' + xrectone.top)));
}, 3000);
}
}
}
} else if (elist.indexOf(',') != -1) {
laterdo=elist;
if (eval('' + jjncs.length) < 3) {
filters='&me=' + encodeURIComponent(incs);
} else if (jjncs[2].trim() != '') {
if (jjncs[eval(-1 + jjncs.length)].trim() != '' && jjncs[eval(-1 + jjncs.length)].trim() != jjncs[2].trim()) {
filters='&me=' + encodeURIComponent(jjncs[2].split(',')[0] + ';' + jjncs[eval(-1 + jjncs.length)].split(',')[0] + ';' + jjncs[0].trim() + jjncs[2].replace(getlast(jjncs[2]).split(',')[0],'') + ';' + jjncs[1].trim() + jjncs[eval(-1 + jjncs.length)].replace(getlast(jjncs[eval(-1 + jjncs.length)]).split(',')[0],''));
} else {
filters='&me=' + encodeURIComponent(jjncs[2].split(',')[0] + ';' + jjncs[1].trim() + ';' + jjncs[0].trim() + jjncs[2].replace(getlast(jjncs[2]).split(',')[0],'') + ';' + jjncs[eval(-1 + jjncs.length)]);
}
} else if (jjncs[eval(-1 + jjncs.length)].trim() != '') {
filters='&me=' + encodeURIComponent(jjncs[2].split(',')[0] + ';' + jjncs[eval(-1 + jjncs.length)].split(',')[0] + ';' + jjncs[0].trim() + jjncs[2].replace(getlast(jjncs[2]).split(',')[0],'') + ';' + jjncs[1].trim() + jjncs[eval(-1 + jjncs.length)].replace(getlast(jjncs[eval(-1 + jjncs.length)]).split(',')[0],''));
} else {
filters='&me=' + encodeURIComponent(incs);
}
if (dosends) {
amsender=true;
anchor = document.createElement('a');
anchor.href = 'mailto:' + elist + '?subject=' + encodeURIComponent('Bulletin Board Group Talk member has logged in ...') + '&body=' + encodeURIComponent(document.URL.split('?')[0].split('#')[0] + '#sharedss=' + encodeURIComponent(owr(incs)) + postowr());
anchor.style.display='none';
anchor.innerHTML='Email';
anchor.target='_top';
setTimeout(dolater, 15000);
anchor.click();
} else { // comes in via email or SMS
if (('' + window.sessionStorage.getItem('select_palette_rememberings')).replace(/^undefined/g,'').replace(/^null/g,'') == '') {
//alert('email ss');
window.sessionStorage.setItem('select_palette_rememberings', incs);
}
if (!windowask && (windowuser != '' || windowcontact != '')) {
//alert('email bUt');
windowask=windowask;
} else {
amrecipient=true;
fixwho();
//alert('email proCess ' + incs);
windowask=false;
windowuser=incs.split(';')[0];
if (eval('' + incs.split(';').length) > 1) { windowcontact=incs.split(';')[1]; }
if (eval('' + incs.split(';').length) > 2) { windowotheruser=incs.split(';')[2]; }
if (eval('' + incs.split(';').length) > 3) { windowothercontact=incs.split(';')[3]; }
}
}
} else if (slist.indexOf(',') != -1) {
laterdos=slist;
if (eval('' + jjncs.length) < 3) {
filters='&me=' + encodeURIComponent(incs);
} else if (jjncs[2].trim() != '') {
if (jjncs[eval(-1 + jjncs.length)].trim() != '' && jjncs[eval(-1 + jjncs.length)].trim() != jjncs[2].trim()) {
filters='&me=' + encodeURIComponent(jjncs[2].split(',')[0] + ';' + jjncs[eval(-1 + jjncs.length)].split(',')[0] + ';' + jjncs[0].trim() + jjncs[2].replace(getlast(jjncs[2]).split(',')[0],'') + ';' + jjncs[1].trim() + jjncs[eval(-1 + jjncs.length)].replace(getlast(jjncs[eval(-1 + jjncs.length)]).split(',')[0],''));
} else {
filters='&me=' + encodeURIComponent(jjncs[2].split(',')[0] + ';' + jjncs[1].trim() + ';' + jjncs[0].trim() + jjncs[2].replace(getlast(jjncs[2]).split(',')[0],'') + ';' + jjncs[eval(-1 + jjncs.length)]);
}
} else if (jjncs[eval(-1 + jjncs.length)].trim() != '') {
filters='&me=' + encodeURIComponent(jjncs[2].split(',')[0] + ';' + jjncs[eval(-1 + jjncs.length)].split(',')[0] + ';' + jjncs[0].trim() + jjncs[2].replace(getlast(jjncs[2]).split(',')[0],'') + ';' + jjncs[1].trim() + jjncs[eval(-1 + jjncs.length)].replace(getlast(jjncs[eval(-1 + jjncs.length)]).split(',')[0],''));
} else {
filters='&me=' + encodeURIComponent(incs);
}
if (dosends) {
amsender=true;
anchor = document.createElement('a');
anchor.href = 'sms:' + slist + '&body=' + encodeURIComponent('Bulletin Board Group Talk member has logged in ...' + String.fromCharCode(10) + document.URL.split('?')[0].split('#')[0] + '#sharedss=' + encodeURIComponent(owr(incs)) + postowr());
anchor.style.display='none';
anchor.innerHTML='SMS';
anchor.target='_top';
setTimeout(dolater, 15000);
anchor.click();
} else { // comes in via email or SMS
if (('' + window.sessionStorage.getItem('select_palette_rememberings')).replace(/^undefined/g,'').replace(/^null/g,'') == '') {
//alert('email ss');
window.sessionStorage.setItem('select_palette_rememberings', incs);
}
if (!windowask && (windowuser != '' || windowcontact != '')) {
//alert('email buT');
windowask=windowask;
} else {
amrecipient=true;
fixwho();
//alert('email procesS ' + incs);
windowask=false;
windowuser=incs.split(';')[0];
if (eval('' + incs.split(';').length) > 1) { windowcontact=incs.split(';')[1]; }
if (eval('' + incs.split(';').length) > 2) { windowotheruser=incs.split(';')[2]; }
if (eval('' + incs.split(';').length) > 3) { windowothercontact=incs.split(';')[3]; }
}
}
}

//alert('filters=' + filters);
return incs;
}

function startsi() {
reallyopen=false;
console.log('startsi ' + ('' + new Date()) + ' !' + document.getElementById('totop').value + '!');
if (document.getElementById('totop').value != '') { document.getElementById('totop').value=''; window.scrollTo(0,0); }
if (zwo) {
if (!zwo.closed) {
reallyopen=true;
}
}
if (('' + document.URL + location.hash).indexOf('sharedss=') != -1) {
invitesmaybe(false,decodeURIComponent(('' + document.URL + location.hash).split('sharedss=')[1].split('&')[0].split('#')[0]));
document.getElementById('ifpublicreport').src='./select_palette.php?extract=' + Math.floor(Math.random() * 19897675) + filters + apprivurl + '&from=' + encodeURIComponent(document.getElementById('myip').innerHTML);
if (!startedsi) {
setInterval(checksi, 5000);
}
} else if (invitesmaybe(invitetrue,('' + window.sessionStorage.getItem('select_palette_rememberings')).replace(/^undefined/g,'').replace(/^null/g,'')) != '') {
invitetrue=false;
document.getElementById('ifpublicreport').src='./select_palette.php?extract=' + Math.floor(Math.random() * 19897675) + filters + apprivurl + '&from=' + encodeURIComponent(document.getElementById('myip').innerHTML);
if (!startedsi) {
setInterval(checksi, 5000);
}
}
}

function stateChanged() {
reallyopen=false;
if (zwo) {
if (!zwo.closed) {
reallyopen=true;
}
}
if (zhr.readyState == 4) {
if (zhr.status == 200) {
rawhtml = zhr.response;
//alert('here with ' + rawhtml.length + ' ' + rawhtml.indexOf('<svg '));
if (!startedsi && rawhtml.indexOf('<svg ') != -1) {
//alert('there with ' + rawhtml.length);
startedsi=true;
document.getElementById('sumpublicreport').innerHTML='Your public Bulletin Board ... ' + ('' + new Date()) + ' ... ';
if (reallyopen) {
zwo.document.body.innerHTML=document.getElementById('dtlpublicreport').outerHTML.replace(/none\;/g, 'block;');
} else {
document.getElementById('hrpublicreport').style.marginTop='80px';
document.getElementById('hrpublicreport').style.display='block';
document.getElementById('hrpublictworeport').style.display='block';
document.getElementById('dtlpublicreport').style.display='block';

if ((amrecipient || amsender)) {
if (!navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) {
window.scrollTo(0, 0);
}
}

}
setInterval(startsi, 5000); //document.getElementById('ifpublicreport').src='./select_palette.php?extract=' + Math.floor(Math.random() * 19897675) + mfilters + apprivurl + '&from=' + encodeURIComponent(document.getElementById('myip').innerHTML);
} else if (reallyopen && rawhtml.indexOf('<svg ') != -1) {
//alert('where with ' + rawhtml.length);
zwo.document.body.innerHTML=document.getElementById('dtlpublicreport').outerHTML.replace(/none\;/g, 'block;');
} else if (filters != '') {
document.getElementById('ifpublicreport').src='./select_palette.php?extract=' + Math.floor(Math.random() * 19897675) + filters + apprivurl + '&from=' + encodeURIComponent(document.getElementById('myip').innerHTML);
if (!csidone) {
csidone=true;
setInterval(checksi, 5000);
}
} else if (filters == '') {
document.getElementById('ifpublicreport').src='./select_palette.php?extract=' + Math.floor(Math.random() * 19897675) + filters + apprivurl + '&from=' + encodeURIComponent(document.getElementById('myip').innerHTML);
if (!csidone) {
csidone=true;
setInterval(checksi, 5000);
}
}
}
}
}

function ajaxit() {
//alert('here at ajaxit ' + document.getElementById('dcont').innerHTML);
if (amrecipient && ('' + location.hash).indexOf('sharedss=') != -1) {
document.getElementById('me').value=('' + location.hash).split('sharedss=')[1].split('&')[0].split('#')[0];
document.getElementById('indata').value=document.getElementById('dcont').innerHTML;
document.getElementById('subpost').click();
if (!startedsi) {
setInterval(checksi, 5000);
}
} else {
//alert('Here at ajaxit ' + document.getElementById('dcont').innerHTML);
zhr = new XMLHttpRequest();
zform = new FormData();
zform.append('indata', '' + document.getElementById('dcont').innerHTML);
if (('' + location.hash).indexOf('sharedss=') != -1) {
zform.append('me', '' + ('' + location.hash).split('sharedss=')[1].split('&')[0].split('#')[0]);
}
if (applyprivacy != 'n') { // amsender || amrecipient) {
//alert('heRe at ajaxit ' + document.getElementById('dcont').innerHTML);
zform.append('privacy', 'y');
}
zhr.onreadystatechange=stateChanged;
zhr.open('post', './select_palette.php', true);
zhr.send(zform);
}
}

function doemail() {
var anchor=null;
if (woois) {
if (!woois.closed) {
if (woois.document.getElementById('myta').outerHTML.indexOf(' data-done="y"') == -1) {
if (woois.document.getElementById('myta').value.trim() != '') {
woois.document.getElementById('myta').setAttribute('data-done', 'y');
setTimeout(doemail, 6000);
return '';
}
} else if (woois.document.getElementById('myta').value.trim() != '') {
setTimeout(doemail, 6000);
return '';
}
woois.close();
woois=null;
setTimeout(doemail, 6000);
return '';
}
}
var emis=prompt('Please enter email address to send to.', '');
if (emis == null) { emis=''; }
if (emis.indexOf('@') != -1) {
anchor = document.createElement('a');
anchor.href = 'mailto:' + emis.trim() + '?subject=My%20Speech%20Bubble%20data&body=' + encodeURIComponent(document.URL.split('?')[0].split('#')[0] + '?rand=' + Math.floor(Math.random() * 19897865) + '#bodyih=' + encodeURIComponent(document.body.innerHTML));
anchor.style.display='none';
document.body.appendChild(anchor);
anchor.innerHTML='Email';
anchor.target='_top';
anchor.click();

} else if (emis.trim() != '' && emis.trim().replace(/0/g,'').replace(/1/g,'').replace(/2/g,'').replace(/3/g,'').replace(/4/g,'').replace(/5/g,'').replace(/6/g,'').replace(/7/g,'').replace(/8/g,'').replace(/9/g,'') == '') {
anchor = document.createElement('a');
anchor.href = 'sms:' + emis.trim() + '&body=' + encodeURIComponent(document.URL.split('?')[0].split('#')[0] + '?rand=' + Math.floor(Math.random() * 19897865) + '#bodyih=' + encodeURIComponent(document.body.innerHTML));
anchor.style.display='none';
anchor.innerHTML='SMS';
anchor.target='_top';
anchor.click();
}
}

function dosms(){
var anchor=null;
if (woois) {
if (!woois.closed) {
if (woois.document.getElementById('myta').outerHTML.indexOf(' data-done="y"') == -1) {
if (woois.document.getElementById('myta').value.trim() != '') {
woois.document.getElementById('myta').setAttribute('data-done', 'y');
setTimeout(dosms, 6000);
return '';
}
} else if (woois.document.getElementById('myta').value.trim() != '') {
setTimeout(dosms, 6000);
return '';
}
woois.close();
woois=null;
setTimeout(dosms, 6000);
return '';
}
}
var emis=prompt('Please enter SMS number to send to.', '');
if (emis == null) { emis=''; }
if (emis.indexOf('@') != -1) {
anchor = document.createElement('a');
anchor.href = 'mailto:' + emis.trim() + '?subject=My%20Speech%20Bubble%20data&body=' + encodeURIComponent(document.URL.split('?')[0].split('#')[0] + '?rand=' + Math.floor(Math.random() * 19897865) + '#bodyih=' + encodeURIComponent(document.body.innerHTML));
anchor.style.display='none';
document.body.appendChild(anchor);
anchor.innerHTML='Email';
anchor.target='_top';
anchor.click();

} else if (emis.trim() != '' && emis.trim().replace(/0/g,'').replace(/1/g,'').replace(/2/g,'').replace(/3/g,'').replace(/4/g,'').replace(/5/g,'').replace(/6/g,'').replace(/7/g,'').replace(/8/g,'').replace(/9/g,'') == '') {
anchor = document.createElement('a');
anchor.href = 'sms:' + emis.trim() + '&body=' + encodeURIComponent(document.URL.split('?')[0].split('#')[0] + '?rand=' + Math.floor(Math.random() * 19897865) + '#bodyih=' + encodeURIComponent(document.body.innerHTML));
anchor.style.display='none';
anchor.innerHTML='SMS';
anchor.target='_top';
anchor.click();
}
}

function dotdotdotten() {
var preta='', anotherdata='', locationhash=('' + location.hash).replace(/^undefined/g,'').replace(/^null/g,'').replace(/^\#/g,'');
document.body.title=document.title + ' ... click/tap to manage Speech Bubble(s) or Lines of Text display here';
if (window.opener) {
var wodiv=window.opener.document.getElementById('dcont').innerHTML;
var wasrec=amrecipient;
amrecipient=window.opener.trueifrec();
if (amrecipient && !wasrec) { fixwho(); }
//alert(amrecipient);
if (wodiv.indexOf('<svg') != -1) {
anotherdata=' data-notfirst=y ';
locationhash='';
preta='<details id=wodt open><summary id=wosm>Speech Bubble(s) so far ...</summary>' + window.opener.document.getElementById('dcont').innerHTML + '</details><hr><br>';
}
document.body.innerHTML=preta + '<textarea placeholder="Add your next bit of content (where ~~ on a single record of data can be line feed(s))." id=myta style=width:100%;height:50%; ' + anotherdata + ' data-done="n" onblur="this.style.cursor=' + "'progress'" + '; setTimeout(function(){ document.getElementById(' + "'myta'" + ').setAttribute(' + "'data-done','y'" + '); }, 5000);">' + decodeURIComponent(('' + locationhash).replace(/^\#/g,'')).replace(/\<br\>/g, String.fromCharCode(10)) + '</textarea><br><br><button onclick="setTimeout(function(){ window.opener.doemail(); }, 2000);" id=butemail>Email 📧</button>  <button onclick="setTimeout(function(){ window.opener.dosms(); }, 2000);" id=butsms>SMS 📟</button>';
document.getElementById('myta').placeholder+=' ' + String.fromCharCode(10) + 'Real textarea line feed usage can help you start creating speech bubble(s). ' + String.fromCharCode(10) + 'Lines of data that are just ~~ separate your entry of multiple speech bubbles. ' + String.fromCharCode(10) + 'Starting with a ~~ line of data starts afresh with all data.';
document.getElementById('myta').placeholder+=' ' + String.fromCharCode(10) + String.fromCharCode(10) + String.fromCharCode(10) + prmptstr.replace("To share on today's Bulletin Board enter a username ", "You can append username/contact details to the end of a line here with To: (then optional privacy space(s)) for Group Talk definition with or without privacy ").replace(", and append space to remember, append another space to apply to all other Speech Bubbles", " applies to all Speech Bubbles");
} else {
if (decodeURIComponent(('#' + location.hash)).indexOf('#bodyih=') != -1) {
document.body.innerHTML=decodeURIComponent(('#' + location.hash)).split('#bodyih=')[1];
}
addcontents(document.getElementById('mysel').title.replace(/\.\.\./g, '... ~~'));
document.getElementById('mysel').title=document.getElementById('mysel').title.replace(/\.\.\./g, '... ' + String.fromCharCode(10));
linesofcontent=[];
linesofbcss=[];
stylebit='';
//document.getElementById('mysel').readonly=true;
//document.getElementById('mysel').disabled=true;
}
}

function preaddcontents() {
addcontents('');
return false;
}

function bfta() {
var taval='', ita=0, ioffset=0;
taar=[];
if (woois) {
if (!woois.closed) {
if (woois.document.getElementById('myta').outerHTML.indexOf(' data-done="y"') != -1) {
if ((amsender || amrecipient) && woois.document.getElementById('myta').value.indexOf(String.fromCharCode(10) + '~~' + String.fromCharCode(10)) == -1 && woois.document.getElementById('myta').value.trim() != '') {
woois.document.getElementById('myta').value+=String.fromCharCode(10) + '~~' + String.fromCharCode(10);
ioffset=-1;
if (!navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) {
setTimeout(function(){ document.getElementById('totop').value=' '; }, 8000);
}
} else if ((amsender || amrecipient) && woois.document.getElementById('myta').value.trim() != '') {
if (!navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) {
setTimeout(function(){ document.getElementById('totop').value=' '; }, 8000);
}
}
if (woois.document.getElementById('myta').outerHTML.indexOf(' data-notfirst=') != -1) {
taar=[' '];
if (('' + woois.document.getElementById('myta').value + String.fromCharCode(10)).indexOf('~~' + String.fromCharCode(10)) == 0) {
woois.document.getElementById('myta').value=woois.document.getElementById('myta').value.replace('~~','');
gtaval='';
xgtaval='';
lastghuh='';
lastnumlines=0;
isthefirst=true;
} else {
isthefirst=false;
}
} else {
isthefirst=true;
}
//alert('THere');
taval=taappriv(woois.document.getElementById('myta').value);
if (taval.indexOf(String.fromCharCode(10) + '~~' + String.fromCharCode(10)) != -1) {
taar=taval.split(String.fromCharCode(10) + '~~' + String.fromCharCode(10));
for (ita=0; ita<eval(ioffset + eval('' + taar.length)); ita++) {
linesofcontent=[];
ista=true;
addcontents(taar[ita]);
ista=false;
isthefirst=false;
}
} else {
//alert('taval=' + taval);
linesofcontent=[];
ista=true;
addcontents(taval);
ista=false;
}
woois.close();
woois=null;
}
}
}
}

function ourprompt(theblurb, thedef) {
if (!woodone) {
woodone=true;
setInterval(bfta, 1000);
}
if (woois) {
if (!woois.closed) {
woois.close();
woois=null;
}
}
if (amrecipient || amsender) {
woois=window.open('./select_palette.html#' + encodeURIComponent(gtaval), '_blank', 'top=50,left=50,width=' + eval(-100 + eval('' + screen.width)) + ',height=550');
} else {
woois=window.open('./select_palette.html#' + encodeURIComponent(gtaval), '_blank', 'top=50,left=50,width=' + eval(-100 + eval('' + screen.width)) + ',height=600');
}
return '';
}

function defwuwc(inwindowuser,inwindowcontact) {
if ((inwindowuser + inwindowcontact) == '') { return ''; }
if (inwindowuser != '' && inwindowcontact != '') { return inwindowuser + '[' + inwindowcontact + ']'; }
if (inwindowuser != '' && inwindowcontact == '') { return inwindowuser; }
return inwindowcontact;
}

function restuser(ctown) {
if (ctown.indexOf('[') != -1 && ctown.indexOf(']') != -1) {
while (ctown.indexOf('[') != -1) {
ctown=ctown.replace('[' + ctown.split('[')[1].split(']')[0] + ']', '').replace('[' + ctown.split('[')[1].split(']')[0] + '', '');
}
}
return ctown;
}

function restcontact(ctown) {
var outoftown=ctown, thatone='';;
if (ctown.indexOf('[') != -1 && ctown.indexOf(']') != -1) {
ctown='';
while (outoftown.indexOf('[') != -1) {
thatone=outoftown.split('[')[1].split(']')[0];
if (ctown == '') {
ctown=thatone;
} else if ((',' + ctown.toLowerCase() + ',').indexOf(',' + thatone.toLowerCase() + ',') == -1) {
ctown+=',' + thatone;
}
outoftown=outoftown.replace('[' + thatone + ']', '').replace('[' + thatone + '', '');
}
} else if (ctown.indexOf('@') != -1) {
return ctown;
} else if (('' + ctown.trim()) != '' && ('' + ctown.trim()).replace(/\,/g,'').replace(/0/g,'').replace(/1/g,'').replace(/2/g,'').replace(/3/g,'').replace(/4/g,'').replace(/5/g,'').replace(/6/g,'').replace(/7/g,'').replace(/8/g,'').replace(/9/g,'') == '') {
return ctown;
} else {
return '';
}
return ctown;
}

function topthings(theone, thetwo) {
filters=theone;
mfilters=thetwo;
}

function gctown(ctown) {
var dotherest=false, towtt='<title></title>', towttout='<title></title>';
var ourwindowask=windowask;
//alert('ctown=' + ctown);
if (ctown.indexOf('[') > 0 && ctown.indexOf(']') != -1) {
if (ctown.indexOf(',') != -1) {
windowotheruser=restuser(ctown.replace(ctown.split(',')[0] + ',','')); //.split(',')[1].split('[')[0];
windowothercontact=restcontact(ctown.replace(ctown.split(',')[0] + ',','')); //(ctown + '[]').split(',')[1].split('[')[1].split(']')[0];
//alert('Ctown=' + ctown + ' windowotheruser=' + windowotheruser + ' and windowothercontact=' + windowothercontact);
}
windowuser=ctown.split('[')[0];
windowcontact=ctown.split('[')[1].split(']')[0];
filters='&me=' + encodeURIComponent(windowuser + ';' + windowcontact + ';' + windowotheruser + ';' + windowothercontact);
mfilters=filters;
if (window.opener) {
window.opener.topthings(filters, mfilters);
}
if (apprivurl.indexOf('&me=') == -1) { apprivurl=mfilters + apprivurl; }
} else if (ctown.indexOf('[') == 0 && ctown.indexOf(']') != -1) {
if (ctown.indexOf(',') != -1) {
windowotheruser=restuser(ctown.replace(ctown.split(',')[0] + ',','')); //ctown.split(',')[1].split('[')[0];
windowothercontact=restcontact(ctown.replace(ctown.split(',')[0] + ',','')); //(ctown + '[]').split(',')[1].split('[')[1].split(']')[0];
//alert('CtowN=' + ctown + ' windowotheruser=' + windowotheruser + ' and windowothercontact=' + windowothercontact);
}
windowcontact=ctown.split('[')[1].split(']')[0];
windowuser=windowcontact;
filters='&me=' + encodeURIComponent(windowuser + ';' + windowcontact + ';' + windowotheruser + ';' + windowothercontact);
mfilters=filters;
if (window.opener) {
window.opener.topthings(filters, mfilters);
}
if (apprivurl.indexOf('&me=') == -1) { apprivurl=mfilters + apprivurl; }
} else {
if (ctown.indexOf(',') != -1) {
windowotheruser=restuser(ctown.replace(ctown.split(',')[0] + ',','')); //ctown.split(',')[1].split('[')[0];
windowothercontact=restcontact(ctown.replace(ctown.split(',')[0] + ',','')); //(ctown + '[]').split(',')[1].split('[')[1].split(']')[0];
//alert('CtoWn=' + ctown + ' windowotheruser=' + windowotheruser + ' and windowothercontact=' + windowothercontact);
}
windowuser=ctown;
windowcontact='';
filters='&me=' + encodeURIComponent(windowuser + ';' + windowcontact + ';' + windowotheruser + ';' + windowothercontact);
mfilters=filters;
if (window.opener) {
window.opener.topthings(filters, mfilters);
}
if (apprivurl.indexOf('&me=') == -1) { apprivurl=mfilters + apprivurl; }
}
}

function pretreg() {
return treg(null, prfind);
}

function treg(ttis, vs) {
var dotherest=false, towtt='<title></title>', towttout='<title></title>';
var ctown=defwuwc(windowuser,windowcontact);
var ourwindowask=windowask;
var gvs='';
if (!vs) {
gvs=gvs;
} else if (document.getElementById('publicreport').outerHTML.indexOf(' data-public=') != -1) {
gvs='' + vs;
ttis=document.getElementById('publicreport');
}
preadd=1;

if (gvs != '' || ttis.outerHTML.indexOf(' data-public=') != -1) {
if (windowuser == '' && windowcontact == '' && windowask) {
if (gvs != '') {
ctown=gvs;
} else {
ctown=prompt(prmptstr, defwuwc(windowuser,windowcontact));
}
}
//alert('ctown=' + ctown);
if (ctown == null) { ctown=''; }
if (ctown != ctown.replace(/^\ /g,'')) {
if (ctown != ctown.replace(/^\ \ /g,'')) {
applyprivacy='Y';
} else {
applyprivacy='y';
}
while (ctown != ctown.replace(/^\ /g,'')) {
ctown=ctown.substring(1);
}
} else {
applyprivacy='n';
}
if (ctown != ctown.replace(/\ \ $/g,'')) {
windowask=false;
dotherest=true;
ctown=ctown.trim();
} else if (ctown != ctown.replace(/\ $/g,'')) {
windowask=false;
ctown=ctown.trim();
}
if (ctown.indexOf('[') > 0 && ctown.indexOf(']') != -1) {
if (ctown.indexOf(',') != -1) {
windowotheruser=restuser(ctown.replace(ctown.split(',')[0] + ',','')); //.split(',')[1].split('[')[0];
windowothercontact=restcontact(ctown.replace(ctown.split(',')[0] + ',','')); //(ctown + '[]').split(',')[1].split('[')[1].split(']')[0];
}
windowuser=ctown.split('[')[0];
windowcontact=ctown.split('[')[1].split(']')[0];
} else if (ctown.indexOf('[') == 0 && ctown.indexOf(']') != -1) {
if (ctown.indexOf(',') != -1) {
windowotheruser=restuser(ctown.replace(ctown.split(',')[0] + ',','')); //ctown.split(',')[1].split('[')[0];
windowothercontact=restcontact(ctown.replace(ctown.split(',')[0] + ',','')); //(ctown + '[]').split(',')[1].split('[')[1].split(']')[0];
}
windowcontact=ctown.split('[')[1].split(']')[0];
windowuser=windowcontact;
} else {
if (ctown.indexOf(',') != -1) {
windowotheruser=restuser(ctown.replace(ctown.split(',')[0] + ',','')); //ctown.split(',')[1].split('[')[0];
windowothercontact=restcontact(ctown.replace(ctown.split(',')[0] + ',','')); //(ctown + '[]').split(',')[1].split('[')[1].split(']')[0];
}
windowuser=ctown;
windowcontact='';
}
if (windowcontact != '') {
ttis.setAttribute('data-contact', windowcontact);
if (windowuser == '') { towttout='<title>' + windowcontact + '</title>'; }
}
if (windowuser != '') {
ttis.setAttribute('data-owner', windowuser);
towttout='<title>' + defwuwc(windowuser, windowcontact) + '</title>';
}
if (windowuser != '' || windowcontact != '') {
ttis.setAttribute('data-public', 'y');
ttis.setAttribute('data-otherowner', windowotheruser);
ttis.setAttribute('data-othercontact', windowothercontact);
window.sessionStorage.setItem('select_palette_rememberings', invitesmaybe(true, windowuser + ';' + windowcontact + ';' + windowotheruser + ';' + windowothercontact));
ttis.innerHTML=ttis.innerHTML.replace(/\<text\ /g,'<text stroke="blue" ').replace(towtt, towttout.replace('</title>', ' ... ' + ttis.getAttribute('data-dts') + '</title>'));
if (dotherest) {
var svgs=document.getElementsByTagName('svg');
for (var isvgs=0; isvgs<svgs.length; isvgs++) {
if (svgs[isvgs].outerHTML.indexOf(' stroke=') == -1) {
if (('' + svgs[isvgs].id) != ('' + ttis.id)) {
if (windowcontact != '') {
svgs[isvgs].setAttribute('data-contact', windowcontact);
if (windowuser == '') { svgs[isvgs].title=windowcontact; }
}
if (windowuser != '') {
svgs[isvgs].setAttribute('data-owner', windowuser);
svgs[isvgs].title=defwuwc(windowuser, windowcontact);
}
if (windowuser != '' || windowcontact != '') {
svgs[isvgs].setAttribute('data-public', 'y');
}
svgs[isvgs].setAttribute('data-otherowner', windowotheruser);
svgs[isvgs].setAttribute('data-othercontact', windowothercontact);
svgs[isvgs].innerHTML=svgs[isvgs].innerHTML.replace(/\<text\ /g,'<text stroke="blue" ').replace(towtt, towttout.replace('</title>', ' ... ' + svgs[isvgs].getAttribute('data-dts') + '</title>'));
}
}
}
}
} else {
windowask=ourwindowask;
}
}

if (windowuser != '' || windowcontact != '') {
ajaxit();
}

//alert(ttis.outerHTML);
setTimeout(function(){ preadd=0; }, 5000);
}

function preaddcontents() {
if (preadd == 0) {
return addcontents('');
}
return false;
}

function addcontents(inboc) {
//alert(98);
var nboc='', seventeen="17", zero=0, numlines=1, one=1, grest='', ghuh='', wasfound=false, jnew=0;
var dts=('' + new Date());
var gts=('' + new Date().toLocaleString('en-AU',{timeZone:'UTC', hour12:false}).replace(',',''));
if (eval('' + gts.split('/').length) == 3 && eval('' + gts.split(':').length) >= 3) {
var xgts=gts;
gts=xgts.split('/')[2].replace(' ',':').split(':')[0] + xgts.split('/')[1] + xgts.split('/')[0] + xgts.split(':')[eval(-3 + xgts.split(':').length)].split(' ')[eval(-1 + xgts.split(':')[eval(-3 + xgts.split(':').length)].split(' ').length)] + xgts.split(':')[eval(-2 + xgts.split(':').length)] + xgts.split(':')[eval(-1 + xgts.split(':').length)];
}
if (!navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) {
zero="-60";
}
if (inboc == '') {
nboc=ourprompt('Add your next bit of content (where ~~ can be line feed).', '');
} else {
nboc=inboc;
if (!ista) { seventeen="12"; }
if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) {
zero="80";
} else {
zero="-60";
}
}
if (!nboc) { nboc=''; }
var dct='';
var dow='';
var tow='';
var sco=''
var dp=',';
if (!windowask && (windowuser != '' || windowcontact != '')) {
//alert('good sign');
dp='y';
sco=' stroke="blue"';
if (windowcontact != '') {
if (windowuser == '') {
dct=windowcontact;
tow=defwuwc(windowuser, windowcontact) + ' ... ' + dts;
} else {
dct=windowcontact;
}
}
if (windowuser != '') {
dow=windowuser;
tow=defwuwc(windowuser, windowcontact) + ' ... ' + dts;
}
}
if (nboc != ' ') {
var newlines=nboc.split('~~');
if (eval('' + newlines.length) == 1) {
newlines=inboc.split(String.fromCharCode(10));
} else {
ista=false;
}
if (ista) {
numlines=eval('' + newlines.length);
one=numlines;
//alert(seventeen + ' ... ' + one);
if (one == 1 && eval('' + taar.length) == 0) { ista=false; }
}
gtaval='';
xgtaval='';
for (var inew=0; inew<newlines.length; inew++) {
linesofcontent.push(newlines[inew]);
if (seventeen == "17") {
if (gtaval == '' || (lastghuh != '' && lastghuh == gtaval) || (lastghuh != '' && lastghuh.replace(/\<br\>$/g, '') == gtaval)) {
if (gtaval != '' && numlines > lastnumlines && ista) {
numlines-=lastnumlines;
one=numlines;
wasfound=true;
jnew=inew;
}
gtaval=newlines[inew];
xgtaval=gtaval;
} else {
gtaval+='<br>' + newlines[inew];
xgtaval+="</text><text" + sco + " x='5%' y='" + eval(eval(1 + inew - jnew) * eval(90 / numlines)) + "%' xml:space='preserve'>" + newlines[inew];
}
}
}
//alert('gtaval=' + gtaval);
linesofbcss=[];
stylebit='<style> #mysel { background: ; } </style>';
xis=20;
yis=10;
for (var jnew=0; jnew<linesofcontent.length; jnew+=one) {
if (jnew == 0) {
if (ista) {
// Wed May 14 2025 11:18:37 GMT+1000 (Australian Eastern Standard Time)
if (wasfound || (lastghuh != '' && gtaval.indexOf(lastghuh) == 0 && lastghuh != gtaval)) {
document.getElementById('dcont').innerHTML+=maybeemoji("<br><br><br><svg name=\"" + gts + "\" data-public=\"" + dp + "\" data-contact='" + dct + "' data-owner='" + dow + "' data-emoji='" + youremoji + "' data-applyprivacy='" + applyprivacy + "' data-othercontact='" + windowothercontact + "' data-otherowner='" + windowotheruser + "' data-ip='" + document.getElementById('myip').innerHTML + "' data-dts='" + dts + "' onmousedown=\" event.stopPropagation(); event.preventDefault(); preadd=0; setTimeout(preaddcontents,2000); \" ontouchdown=\" event.stopPropagation(); event.preventDefault(); preadd=0; setTimeout(preaddcontents,2000); \" id='" + dts.replace(/\:/g,'!').replace(/\(/g,'-').replace(/\)/g,'|').replace(/\ /g,'_') + suffix + "' ontouchend='treg(this,null);' oncontextmenu='treg(this,null);' xmlns='http://www.w3.org/2000/svg' width='" + eval(" + zero + " + eval('' + screen.width)) + "' height='" + eval(48 * numlines) + "' viewport='0 0 100 100' style='border-top-left-radius:35px;border-bottom-right-radius:35px;border-top-right-radius:35px;" + bord + "background-color:rgba(" + bcol + ",0.3);fill:black;font-family:Verdana;font-size:" + seventeen + "px;'><title>" + tow + "</title><text" + sco + " x='5%' y='" + eval(90 / numlines) + "%' xml:space='preserve'>" + xgtaval.replace(/\<br\>/g, String.fromCharCode(10)) + "</text><text x='0%' y='97%'></text></svg>");
} else if (!isthefirst) {
document.getElementById('dcont').innerHTML+=maybeemoji("<br><br><br><svg name=\"" + gts + "\" data-public=\"" + dp + "\" data-contact='" + dct + "' data-owner='" + dow + "' data-emoji='" + youremoji + "' data-applyprivacy='" + applyprivacy + "' data-othercontact='" + windowothercontact + "' data-otherowner='" + windowotheruser + "' data-ip='" + document.getElementById('myip').innerHTML + "' data-dts='" + dts + "' onmousedown=\" event.stopPropagation(); event.preventDefault(); preadd=0; setTimeout(preaddcontents,2000); \" ontouchdown=\" event.stopPropagation(); event.preventDefault(); preadd=0; setTimeout(preaddcontents,2000); \" id='" + dts.replace(/\:/g,'!').replace(/\(/g,'-').replace(/\)/g,'|').replace(/\ /g,'_') + suffix + "' ontouchend='treg(this,null);' oncontextmenu='treg(this,null);' xmlns='http://www.w3.org/2000/svg' width='" + eval(" + zero + " + eval('' + screen.width)) + "' height='" + eval(48 * numlines) + "' viewport='0 0 100 100' style='border-top-left-radius:35px;border-bottom-right-radius:35px;border-top-right-radius:35px;" + bord + "background-color:rgba(" + bcol + ",0.3);fill:black;font-family:Verdana;font-size:" + seventeen + "px;'><title>" + tow + "</title><text" + sco + " x='5%' y='" + eval(90 / numlines) + "%' xml:space='preserve'>" + xgtaval.replace(/\<br\>/g, String.fromCharCode(10)) + "</text><text x='0%' y='97%'></text></svg>");
} else {
document.getElementById('dcont').innerHTML=maybeemoji("<svg name=\"" + gts + "\" data-public=\"" + dp + "\" data-contact='" + dct + "' data-owner='" + dow + "' data-emoji='" + youremoji + "' data-applyprivacy='" + applyprivacy + "' data-othercontact='" + windowothercontact + "' data-otherowner='" + windowotheruser + "' data-ip='" + document.getElementById('myip').innerHTML + "' data-dts='" + dts + "' onmousedown=\" event.stopPropagation(); event.preventDefault(); preadd=0; setTimeout(preaddcontents,2000); \" ontouchdown=\" event.stopPropagation(); event.preventDefault(); preadd=0; setTimeout(preaddcontents,2000); \" id='" + dts.replace(/\:/g,'!').replace(/\(/g,'-').replace(/\)/g,'|').replace(/\ /g,'_') + suffix + "' ontouchend='treg(this,null);' oncontextmenu='treg(this,null);' xmlns='http://www.w3.org/2000/svg' width='" + eval(" + zero + " + eval('' + screen.width)) + "' height='" + eval(48 * numlines) + "' viewport='0 0 100 100' style='border-top-left-radius:35px;border-bottom-right-radius:35px;border-top-right-radius:35px;" + bord + "background-color:rgba(" + bcol + ",0.3);fill:black;font-family:Verdana;font-size:" + seventeen + "px;'><title>" + tow + "</title><text" + sco + " x='5%' y='" + eval(90 / numlines) + "%' xml:space='preserve'>" + xgtaval.replace(/\<br\>/g, String.fromCharCode(10)) + "</text><text x='0%' y='97%'></text></svg>");
}
suffix+='_';
//stylebit=stylebit.replace('; ', "url(\"data:image/svg+xml;base64," + window.btoa("<svg xmlns='http://www.w3.org/2000/svg' width='" + eval(" + zero + " + eval('' + screen.width)) + "' height='" + eval(48 * numlines) + "' viewport='0 0 100 100' style='border-radius:15px;background-color:rgba(" + bcol + ",0.3);fill:black;font-family:Verdana;font-size:" + seventeen + "px;'><text x='5%' y='60%' xml:space='preserve'>" + gtaval + "</text></svg>") + "\") no-repeat " + xis + "px " + yis + "px ; ");
if (wasfound) {
gtaval=lastghuh + gtaval;
if ((gtaval + '~~').indexOf('<br>~~') == -1) { gtaval+='<br>'; }
numlines+=lastnumlines;
//alert(numlines + ' ... ' + gtaval);
}
lastghuh=gtaval;
lastnumlines=numlines;

if (windowuser != '' || windowcontact != '') {
ajaxit();
}

} else {
try {
if (doutf8) {
stylebit=stylebit.replace('; ', "url(\"data:image/svg+xml;utf8," + ((("<svg xmlns='http://www.w3.org/2000/svg' width='" + eval(" + zero + " + eval('' + screen.width)) + "' height='" + eval(48 * numlines) + "' viewport='0 0 100 100' style='border-radius:15px;background-color:rgba(" + bcol + ",0.3);fill:black;font-family:Verdana;font-size:" + seventeen + "px;'><text x='5%' y='60%' xml:space='preserve'>" + linesofcontent[jnew] + "</text></svg>") + "\") no-repeat " + xis + "px " + yis + "px ; ")));
} else {
stylebit=stylebit.replace('; ', "url(\"data:image/svg+xml;base64," + window.btoa((("<svg xmlns='http://www.w3.org/2000/svg' width='" + eval(" + zero + " + eval('' + screen.width)) + "' height='" + eval(48 * numlines) + "' viewport='0 0 100 100' style='border-radius:15px;background-color:rgba(" + bcol + ",0.3);fill:black;font-family:Verdana;font-size:" + seventeen + "px;'><text x='5%' y='60%' xml:space='preserve'>" + linesofcontent[jnew] + "</text></svg>") + "\") no-repeat " + xis + "px " + yis + "px ; ")));
}
//alert('Ok ' + window.btoa(linesofcontent[jnew]));
} catch (nogo) {
//alert('Bad');
stylebit=stylebit.replace('; ', "url(\"data:image/svg+xml;base64," + window.btoa(unescape(encodeURIComponent("<svg xmlns='http://www.w3.org/2000/svg' width='" + eval(" + zero + " + eval('' + screen.width)) + "' height='" + eval(48 * numlines) + "' viewport='0 0 100 100' style='border-radius:15px;background-color:rgba(" + bcol + ",0.3);fill:black;font-family:Verdana;font-size:" + seventeen + "px;'><text x='5%' y='60%' xml:space='preserve'>" + linesofcontent[jnew] + "</text></svg>") + "\") no-repeat " + xis + "px " + yis + "px ; ")));
}
}
} else {
try {
if (doutf8) {
stylebit=stylebit.replace('; ', ",url(\"data:image/svg+xml;utf8," + ((("<svg xmlns='http://www.w3.org/2000/svg' width='" + eval(" + zero + " + eval('' + screen.width)) + "' height='" + eval(48 * numlines) + "' viewport='0 0 100 100' style='border-radius:15px;background-color:rgba(" + bcol + ",0.3);fill:black;font-family:Verdana;font-size:" + seventeen + "px;'><text x='5%' y='60%' xml:space='preserve'>" + linesofcontent[jnew] + "</text></svg>") + "\") no-repeat " + xis + "px " + yis + "px ; ")));
} else {
stylebit=stylebit.replace('; ', ",url(\"data:image/svg+xml;base64," + window.btoa((("<svg xmlns='http://www.w3.org/2000/svg' width='" + eval(" + zero + " + eval('' + screen.width)) + "' height='" + eval(48 * numlines) + "' viewport='0 0 100 100' style='border-radius:15px;background-color:rgba(" + bcol + ",0.3);fill:black;font-family:Verdana;font-size:" + seventeen + "px;'><text x='5%' y='60%' xml:space='preserve'>" + linesofcontent[jnew] + "</text></svg>") + "\") no-repeat " + xis + "px " + yis + "px ; ")));
}
//alert('ok ' + window.btoa(linesofcontent[jnew]));
} catch (nogo) {
//alert('bad');
stylebit=stylebit.replace('; ', ",url(\"data:image/svg+xml;base64," + window.btoa(unescape(encodeURIComponent("<svg xmlns='http://www.w3.org/2000/svg' width='" + eval(" + zero + " + eval('' + screen.width)) + "' height='" + eval(48 * numlines) + "' viewport='0 0 100 100' style='border-radius:15px;background-color:rgba(" + bcol + ",0.3);fill:black;font-family:Verdana;font-size:" + seventeen + "px;'><text x='5%' y='60%' xml:space='preserve'>" + linesofcontent[jnew] + "</text></svg>") + "\") no-repeat " + xis + "px " + yis + "px ; ")));
}
}
yis+=50;
}
document.getElementById('dstyle').innerHTML+=stylebit;
}
//doutf8=false;
//alert(564);
return false;
}

function bcolis(what) {
var wsa=what.split(',');
if (eval('' + wsa.length) == 3) {
bcol=what;
document.getElementById('myip').title=what;
bord='border-top:1px solid rgb(' + eval(wsa[eval(-1 + wsa.length)] % 256) + ',' + eval(wsa[eval(-1 + wsa.length)] % 256) + ',' + eval(wsa[eval(-1 + wsa.length)] % 256) + ');';
bord+='border-bottom:1px solid rgb(' + eval(wsa[0] % 256) + ',' + eval(wsa[0] % 256) + ',' + eval(wsa[0] % 256) + ');';
bord+='border-left:2px solid rgb(' + eval(wsa[1] % 256) + ',' + eval(wsa[1] % 256) + ',' + eval(wsa[1] % 256) + ');';
bord+='border-right:2px solid rgb(' + eval(wsa[2] % 256) + ',' + eval(wsa[2] % 256) + ',' + eval(wsa[2] % 256) + ');';
}
}

function fixwho() {
if (document.getElementById('iwindowuser').value != '') {
if (windowotheruser.indexOf(document.getElementById('iwindowuser').value) != -1) {
windowotheruser=windowotheruser.replace(document.getElementById('iwindowuser').value, windowuser);
}
windowuser=document.getElementById('iwindowuser').value;
document.getElementById('iwindowuser').value='';
}
if (document.getElementById('iwindowcontact').value != '') {
if (windowothercontact.indexOf(document.getElementById('iwindowcontact').value) != -1) {
windowothercontact=windowothercontact.replace(document.getElementById('iwindowcontact').value, windowcontact);
}
windowcontact=document.getElementById('iwindowcontact').value;
document.getElementById('iwindowcontact').value='';
}
if (document.getElementById('iwindowotheruser').value != '') {
windowotheruser=document.getElementById('iwindowotheruser').value;
document.getElementById('iwindowotheruser').value='';
}
if (document.getElementById('iwindowothercontact').value != '') {
windowothercontact=document.getElementById('iwindowothercontact').value;
document.getElementById('iwindowothercontact').value='';
}
if (!fixwhodone) {
setInterval(fixwho, 2000);
}
fixwhodone=true;
}

</script>
</head>
<body onload="startsi(); dotdotdotten();">
<!--table style=width:100%;height:100%;><tr><td id=tdleft-->
<div id=dcont onmousedown=" event.stopPropagation(); event.preventDefault(); return addcontents(''); " ontouchdown=" event.stopPropagation(); event.preventDefault(); return addcontents(''); ">
<select title='Select Palette - RJM Programming - May, 2025 ... ... Click to fill with your speech bubble feeling prose or poetry (eg. haiku).' id=mysel multiple></select>
</div>
<!--/td><td id=tdright-->
<hr id=hrpublicreport style=display:none;></hr>
<hr id=hrpublictworeport style=display:none;></hr>
<details style=display:none; id=dtlpublicreport open><summary id=sumpublicreport></summary>
<div id=publicreport></div>
</details>
<form id=formpost method=POST target=postif action='./select_palette.php' style=display:none;>
<textarea style=display:none; name=indata id=indata value=''></textarea><input type=hidden name=me id=me value=''></input><input type=submit style=display:none; id=subpost></input>
</form>
<iframe name=postif style=display:none; id=ifpublicreport src='./select_palette.php'></iframe>
<!--/td></tr></table-->
<div id=dstyle></div>
<div id=myip title='0,0,255' style=display:none;></div>
<input type=hidden id=iwindowuser value=''></input>
<input type=hidden id=iwindowcontact value=''></input>
<input type=hidden id=iwindowotheruser value=''></input>
<input type=hidden id=iwindowothercontact value=''></input>
<input type=hidden id=totop value=''></input>
</body>
</html>