<!doctype html>
<html>
<head>
<title>Cockpit Feel - RJM Programming - December, 2015</title>
<meta id='myviewport' name='viewport' content='width=device-width, initial-scale=1, minimum-scale=0.1, maximum-scale=8, user-scalable=yes' >
<link href='//www.rjmprogramming.com.au/PHP/emboss_h1.css' rel='stylesheet' type='text/css'>

<script type="text/javascript">
var userip="127.0.0.1";
</script>

<script type='text/javascript'>

var goodname='';
var goodurl='';
var goodmodeofshowofurl='';
var firstgo=true;
var prefix="Regarding our Cockpit Choice of up to 9 URL web applications ... append by #form for form entry ... ";
var nomore='';
var computedStyle=null; // = getComputedStyle(document.body, null)
var bh=800; //computedStyle.height;
var bw=900; //computedStyle.width;
var hsuff="%";
var wsuff="%";
var hp="25";
var wp="33";
var urls=['','','','','','','','',''];
var mapping=['11', '12', '13', '21', '22', '23', '31', '32', '33'];
var oktogo=true;
var cancelps=false;
var amready=false;
var lastblogp='', sofarblogp=',';
var today=new Date();
var yyyy = today.getFullYear();
var feeling_lucky=false, doing_preg=false, minrange=20140101, maxrange=eval(eval(1 + yyyy) * 10000 + 101);
var pval=0, ourhuh='';
var audiourls=[], curaudio=-1, zhr=null, rawhtml='', sof='';
var xcsv='';
var tcsv='';
var dri=["127462","127463","127464","127465","127466","127467","127468","127469","127470","127471","127472","127473","127474","127475","127476","127477","127478","127479","127480","127481","127482","127483","127484","127485","127486","127487"];
var lri="ABCDEFGHIJKLMNOPQRSTUVWXYZ";

function andlater(osel) {
xcsv='';
tcsv='';
for (var i=0; i<osel.length; i++) { if (osel.options[i].value.trim() != '') { if (osel.options[i].selected) { if (xcsv.length == 0) { if (osel.options[i].innerText.indexOf('(') != -1) { if (tcsv == '') { tcsv+='' + minuses(osel.options[i].innerText.split('(')[1].split(')')[0]); } else { tcsv+=',' + minuses(osel.options[i].innerText.split('(')[1].split(')')[0]); } } if (osel.options[i].value.indexOf('?p=') != -1) { xcsv+='' + osel.options[i].value.split('?p=')[1].split('&')[0]; } } else { if (osel.options[i].innerText.indexOf('(') != -1) { if (tcsv == '') { tcsv+='' + minuses(osel.options[i].innerText.split('(')[1].split(')')[0]); } else { tcsv+=',' + minuses(osel.options[i].innerText.split('(')[1].split(')')[0]); } } if (osel.options[i].value.indexOf('?p=') != -1) { xcsv+=',' + osel.options[i].value.split('?p=')[1].split('&')[0]; } } } } }
setTimeout(alater, 2000);
//alert('xcsv=' + xcsv + ' and tcsv=' + tcsv);
if (tcsv.indexOf('-') != -1 && xcsv.indexOf('-') == -1) {
return xcsv;
}
return tcsv;
}

function minuses(inidea) {
if (eval('' + inidea.length) == 8) {
return inidea.substring(0,4) + '-' + inidea.substring(4).substring(0,2) + '-' + inidea.slice(-2);
}
return inidea;
}

function alater() {
document.getElementById('blogp').value=xcsv;
document.getElementById('blogt').value=tcsv;
}


function windowopen(myurl,mytarget) {
if (1 == 3) { top.window.open(myurl,mytarget); }
}

function doems() {
document.getElementById('inurl').placeholder=document.URL.split('?')[0].split('#')[0];
document.getElementById('emoji').value=String.fromCodePoint(128279);
document.getElementById('cutei').value=String.fromCodePoint(127939);
document.getElementById('imgei').value=String.fromCodePoint(128444);
if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) {
document.getElementById('myform').method='GET';
}
orccflags();
}

function hashit(inl) {
var invl=inl.value, lcode='';
if (invl.trim() != '') {
if (inl.outerHTML.indexOf(' value="' + invl + '">' + invl + ';') != -1) {
lcode=inl.outerHTML.split(' value="' + invl + '">' + invl + ';')[1].split('_')[0];
} //else {
//alert('oops');
//}
var osel=document.getElementById('tuts');
audiourls=[];
for (var i=0; i<osel.length; i++) {
if (osel.options[i].selected) {
audiourls.push(osel.options[i].value.split('?p=')[1].split('&')[0]);
}
}
if (eval('' + audiourls.length) > 0) {
inl.style.cursor='progress';
document.getElementById('mysub').style.cursor='progress';
alert(4);
ajaxit();
}
document.getElementById('doptsel').innerHTML='<input type=hidden name=voice value=" -v ' + invl + ' "></input><input type=hidden name=lang value="' + lcode + '"></input>';
document.getElementById('myform').action=document.getElementById('myform').action.split('#')[0] + '#' + '%20%2Dv%20' + encodeURIComponent(invl) + '%20';
} else {
audiourls=[];
document.getElementById('doptsel').innerHTML='';
document.getElementById('myform').action=document.getElementById('myform').action.split('#')[0];
}
}

function ihit(proposed, iac) {
if (proposed.indexOf('</head>') != -1) {
proposed=proposed.split('</head>')[eval(-1 + proposed.split('</head>').length)];
//alert(' hEre with ' + proposed);
}
if (proposed.indexOf(' class="entry-content">') != -1) {
proposed=proposed.split(' class="entry-content">')[1].split('</hr>')[0];
//alert(' herE with ' + proposed);
} else if (proposed.indexOf(' id="post-' + iac + '"') != -1) {
proposed=proposed.split(' id="post-' + iac + '"')[1].split('</hr>')[0];
//alert(' here with ' + proposed);
} else if (proposed.indexOf('</body>') != -1) {
proposed=proposed.split('</body>')[eval(-1 + proposed.split('</body>').length)].split('<body ')[eval(-1 + proposed.split('</body>')[eval(-1 + proposed.split('</body>').length)].split('<body ').length)];
//alert(' Here with ' + proposed);
} else if (proposed.indexOf('</head>') != -1) {
proposed=proposed.split('</head>')[eval(-1 + proposed.split('</head>').length)];
//alert(' hEre with ' + proposed);
}
var beg='';
var prebegs=proposed.split('<?php');
for (var jjj=1; jjj<prebegs.length; jjj++) {
proposed=proposed.replace('<?php' + prebegs[jjj].split('?>')[0] + '?>', 'code');
}
prebegs=proposed.split('&#');
for (jjj=1; jjj<prebegs.length; jjj++) {
proposed=proposed.replace('&#' + prebegs[jjj].split(';')[0] + ';', ' ');
}
prebegs=proposed.split('&#');
for (jjj=1; jjj<prebegs.length; jjj++) {
proposed=proposed.replace('&#' + prebegs[jjj].split(';')[0] + ';', ' ');
}
var begs=proposed.split('>');
for (var jj=1; jj<begs.length; jj++) {
if (begs[jj].indexOf('</code') != -1) {
beg+=' code';
} else if (begs[jj].indexOf('<') != -1) {
beg+=' ' + begs[jj].split('<')[0].split('[')[0];
}
}
while (beg.indexOf(String.fromCharCode(10)) != -1) {
beg=beg.replace(String.fromCharCode(10), ' ');
}
while (beg.indexOf(String.fromCharCode(9)) != -1) {
beg=beg.replace(String.fromCharCode(9), ' ');
}
while (beg.indexOf(String.fromCharCode(39)) != -1) {
beg=beg.replace(String.fromCharCode(39), '');
}
while (beg.indexOf(String.fromCharCode(34)) != -1) {
beg=beg.replace(String.fromCharCode(34), ' ');
}
while (beg.indexOf('(') != -1) {
beg=beg.replace('(', ' ');
}
while (beg.indexOf(')') != -1) {
beg=beg.replace(')', ' ');
}
while (beg.indexOf(' ') != -1) {
beg=beg.replace(' ', ' ');
}
while (beg.indexOf(' ') != -1) {
beg=beg.replace(' ', ' ');
}
while (beg.indexOf(' ') != -1) {
beg=beg.replace(' ', ' ');
}
//alert(beg.substring(0,500));
return beg.substring(0,500);
}

function stateChanged() {
var ik=0, cp='pointer';
if (zhr.readyState == 4) {
if (zhr.status == 200) {
var ac=audiourls[curaudio];
rawhtml = ihit(zhr.responseText, ac); //(zhr.response.innerText || zhr.response.contentWindow || zhr.response.contentDocument);
if (document.getElementById('daudiourls').innerHTML == '') {
//alert('first');
sof=' djzx' + ac + rawhtml; //' Hello we go again as we proceed to define a sentence longer than thirty characters.';
document.getElementById('daudiourls').innerHTML='<input type=hidden name=jinn id=jinn style=display:none; value="' + sof + '"></input>'; //' djzx' + ac + ' Hello we go again as we proceed to define a sentence longer than thirty characters."></input>';
audiourls[curaudio]='Hello we go again as we proceed to define a sentence longer than thirty characters.';
for (ik=0; ik<audiourls.length; ik++) {
if (eval('' + audiourls[ik].length) < 30 && audiourls[ik].indexOf(' ') == -1) {
cp='progress';
}
}
document.getElementById('optsel').style.cursor=cp;
document.getElementById('mysub').style.cursor=cp;
} else if (document.getElementById('jinn')) {
sof+=' djzx' + ac + rawhtml; //' Hello we go again as we proceed to define a sentence longer than thirty characters.';
document.getElementById('jinn').value=sof;
} else {
//sof=document.getElementById('jinn').value;
//alert('sof=' + sof);
//document.getElementById('jinn').value+=' djzx' + ac + ' Hello we go again as we proceed to define a sentence longer than thirty characters.';
sof+=' djzx' + ac + rawhtml; //' Hello we go again as we proceed to define a sentence longer than thirty characters.';
document.getElementById('daudiourls').innerHTML='<input type=hidden name=jinn id=jinn style=display:none; value="' + sof + '"></input>'; //' djzx' + ac + ' Hello we go again as we proceed to define a sentence longer than thirty characters."></input>';
//alert(document.getElementById('daudiourls').innerHTML);
audiourls[curaudio]='Hello we go again as we proceed to define a sentence longer than thirty characters.';
for (ik=0; ik<audiourls.length; ik++) {
if (eval('' + audiourls[ik].length) < 30 && audiourls[ik].indexOf(' ') == -1) {
cp='progress';
}
}
document.getElementById('optsel').style.cursor=cp;
document.getElementById('mysub').style.cursor=cp;
}
}
}
}

function callajax() {
zhr = new XMLHttpRequest();
//zhr.responseType='Document';
zhr.onreadystatechange=stateChanged;
zhr.open('get', '//www.rjmprogramming.com.au/ITblog/?p=' + audiourls[curaudio], true);
zhr.send(null);
}

function ajaxit() {
if (eval('' + audiourls.length) == 0 || ('' + document.getElementById('myform').method).toUpperCase() == 'GET') {
document.getElementById('daudiourls').innerHTML='';
document.getElementById('optsel').style.cursor='pointer';
document.getElementById('mysub').style.cursor='pointer';
} else {
for (var ik=0; ik<audiourls.length; ik++) {
if (eval('' + audiourls[ik].length) < 30 && audiourls[ik].indexOf(' ') == -1) {
if (ik != curaudio) {
curaudio=ik;
callajax();
setTimeout(ajaxit, 1000);
return '';
} else {
setTimeout(ajaxit, 1000);
return '';
}
}
}
document.getElementById('optsel').style.cursor='pointer';
document.getElementById('mysub').style.cursor='pointer';
}
setTimeout(ajaxit, 1000);
}

function orccflags() {
var ccsuff='', ccchar=' ', cde='', sfcp='', thec='', iccsuff=0, thiscc='';
var osel=document.getElementById('optsel');
var wasih=document.getElementById('optsel').innerHTML;
var isih=wasih;
for (var i=0; i<osel.length; i++) {
if (eval('' + (osel.options[i].innerText + '_').split('_')[1].length) == 2) {
thiscc=(osel.options[i].innerText + '_').split('_')[1].toUpperCase();
ccsuff='';
ccchar=' ';
cde='';
sfcp='';
thec='';
for (iccsuff=0; iccsuff<thiscc.length; iccsuff++) {
ccchar=thiscc.substring(iccsuff, eval(1 + eval('' + iccsuff))).toUpperCase();
thec+=ccchar;
sfcp+=String.fromCodePoint(eval('' + dri[eval('' + lri.indexOf(ccchar))]));
ccsuff+=cde + ('' + dri[eval('' + lri.indexOf(ccchar))]); //'&#' + dri[eval('' + lri.indexOf(ccchar))] + ';';
cde='.';
}
isih=isih.replace('>' + osel.options[i].innerText + '<', '>' + osel.options[i].innerText + ' ' + sfcp + '<');
}
}
osel.innerHTML=osel.innerHTML.replace(wasih, isih);
}


function setCookie(thisg, tn) { // thanks to JavaScript and Ajax by Tom Negrino and Dori Smith
if (nomore != 'y') {
var expireDate = new Date();
expireDate.setMonth(expireDate.getMonth()+6);
var huh='';
if (urls[eval(-1 + tn)] != "#nomore") {
//alert("urls[" + eval(-1 + tn) + "]=" + urls[eval(-1 + tn)]);
if (prefix != '') {
if (('' + tn) == '1') {
huh=prompt(prefix + "What is your URL (" + tn + " of up to 9) of interest ... append by #iframe if you want it to be tried in an iframe ... append by #nomore if you want this one to be last considered of up to 9 ... use Cancel for just using dropdown multiple selections or OK to blank for no more now or to Feeling Lucky or some other posting criteria search string with same rules as Post RE blog checkbox (and which is not a URL)", urls[eval(-1 + tn)]);
if (huh == null || ('' + huh).toLowerCase() == 'feeling lucky' || ( ('' + huh).replace(/^null/g,'').replace(/^undefined/g,'').trim() != '' && (('' + huh).replace(/^null/g,'').replace(/^undefined/g,'').trim().indexOf(' ') != -1 || ('' + huh).replace(/^null/g,'').replace(/^undefined/g,'').trim().indexOf('.') == -1))) {
if (('' + huh).toLowerCase() == 'feeling lucky') {
feeling_lucky=true;
huh=null;
} else if (huh != null) {
doing_preg=true;
ourhuh=huh;
setTimeout(function(){
document.getElementById('ifbppop').src='//www.rjmprogramming.com.au/itnewblog/match/mapper.php?otherpm=' + encodeURIComponent(ourhuh);
}, 2000);
huh=null;
}
cancelps=true;
nomore='y';
document.body.style.cursor='progress';
setInterval(function(){
if (amready) {
document.getElementById('dtbl').style.width='100%';
if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) {
document.getElementById('dtbl').style.height='66vh';
} else {
document.getElementById('dtbl').style.height='75%';
}
for (var ijh=0; ijh<mapping.length; ijh++) {
document.getElementById('td' + mapping[ijh]).style.width='33%';
document.getElementById('td' + mapping[ijh]).style.height='33%';
if (feeling_lucky) {
pval='';
while ((sofarblogp + ',').indexOf(',' + pval + ',') != -1 || pval == '') {
pval=eval('' + minrange) + Math.floor(Math.random() * eval(maxrange - minrange));
if (mapping[ijh] == '22') { pval=20260204; }
while (document.getElementById('dopt').innerHTML.indexOf('(' + pval + ')') == -1 || (sofarblogp + ',').indexOf(',' + pval + ',') != -1) {
pval=eval('' + minrange) + Math.floor(Math.random() * eval(maxrange - minrange));
}
if (sofarblogp != ',') { sofarblogp+=','; }
sofarblogp+='' + pval;
//alert('2:' + pval + ' ' + document.getElementById('dopt').innerHTML.split('(' + pval + ')')[0].split('?p=')[eval(-1 + document.getElementById('dopt').innerHTML.split('(' + pval + ')')[0].split('?p=').length)].split('&')[0].split('#')[0]);
pval=document.getElementById('dopt').innerHTML.split('(' + pval + ')')[0].split('?p=')[eval(-1 + document.getElementById('dopt').innerHTML.split('(' + pval + ')')[0].split('?p=').length)].split('&')[0].split('#')[0];
}
if (sofarblogp != ',') { sofarblogp+=','; }
sofarblogp+='' + pval;
document.getElementById('td' + mapping[ijh]).innerHTML='<iframe src="//www.rjmprogramming.com.au/ITblog/?p=' + pval + '&openappin=30#content" style=width:100%;height:100%;></iframe>';
} else {
document.getElementById('td' + mapping[ijh]).innerHTML+=document.getElementById('dopt').innerHTML.replace(' multiple', ' size=9 multiple').replace(' selected=', ' id=selfirstopt selected=');
}
}
if (!doing_preg) { document.body.style.cursor='pointer'; }
if (!feeling_lucky) { setInterval(blogpandtmonitor, 15000); }
amready=false;
}
}, 5000);
}
} else {
huh=prompt(prefix + "What is your URL (" + tn + " of up to 9) of interest ... append by #iframe if you want it to be tried in an iframe ... append by #nomore if you want this one to be last considered of up to 9 ... use Cancel for no more now", urls[eval(-1 + tn)]);
}
} else {
if (('' + tn) == '1') {
huh=prompt(prefix + "What is your URL (" + tn + " of up to 9) of interest ... append by #iframe if you want it to be tried in an iframe ... append by #nomore if you want this one to be last considered of up to 9 ... use Cancel for just using dropdown multiple selections or OK to blank for no more now or to Feeling Lucky or some other posting criteria search string with same rules as Post RE blog checkbox (and which is not a URL)", urls[eval(-1 + tn)]);
if (huh == null || ('' + huh).toLowerCase() == 'feeling lucky' || ( ('' + huh).replace(/^null/g,'').replace(/^undefined/g,'').trim() != '' && (('' + huh).replace(/^null/g,'').replace(/^undefined/g,'').trim().indexOf(' ') != -1 || ('' + huh).replace(/^null/g,'').replace(/^undefined/g,'').trim().indexOf('.') == -1))) {
if (('' + huh).toLowerCase() == 'feeling lucky') {
feeling_lucky=true;
huh=null;
} else if (huh != null) {
doing_preg=true;
ourhuh=huh;
setTimeout(function(){
document.getElementById('ifbppop').src='//www.rjmprogramming.com.au/itnewblog/match/mapper.php?otherpm=' + encodeURIComponent(ourhuh);
}, 2000);
huh=null;
}
cancelps=true;
nomore='y';
document.body.style.cursor='progress';
setInterval(function(){
if (amready) {
document.getElementById('dtbl').style.width='100%';
if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) {
document.getElementById('dtbl').style.height='66vh';
} else {
document.getElementById('dtbl').style.height='75%';
}
for (var ijh=0; ijh<mapping.length; ijh++) {
document.getElementById('td' + mapping[ijh]).style.width='33%';
document.getElementById('td' + mapping[ijh]).style.height='33%';
if (feeling_lucky) {
pval='';
while ((sofarblogp + ',').indexOf(',' + pval + ',') != -1 || pval == '') {
pval=eval('' + minrange) + Math.floor(Math.random() * eval(maxrange - minrange));
if (mapping[ijh] == '22') { pval=20260204; }
while (document.getElementById('dopt').innerHTML.indexOf('(' + pval + ')') == -1 || (sofarblogp + ',').indexOf(',' + pval + ',') != -1) {
pval=eval('' + minrange) + Math.floor(Math.random() * eval(maxrange - minrange));
}
if (sofarblogp != ',') { sofarblogp+=','; }
sofarblogp+='' + pval;
//alert('2:' + pval + ' ' + document.getElementById('dopt').innerHTML.split('(' + pval + ')')[0].split('?p=')[eval(-1 + document.getElementById('dopt').innerHTML.split('(' + pval + ')')[0].split('?p=').length)].split('&')[0].split('#')[0]);
pval=document.getElementById('dopt').innerHTML.split('(' + pval + ')')[0].split('?p=')[eval(-1 + document.getElementById('dopt').innerHTML.split('(' + pval + ')')[0].split('?p=').length)].split('&')[0].split('#')[0];
}
if (sofarblogp != ',') { sofarblogp+=','; }
sofarblogp+='' + pval;
document.getElementById('td' + mapping[ijh]).innerHTML='<iframe src="//www.rjmprogramming.com.au/ITblog/?p=' + pval + '&openappin=30#content" style=width:100%;height:100%;></iframe>';
} else {
document.getElementById('td' + mapping[ijh]).innerHTML+=document.getElementById('dopt').innerHTML.replace(' multiple', ' size=9 multiple').replace(' selected=', ' id=selfirstopt selected=');
}
}
if (!doing_preg) { document.body.style.cursor='pointer'; }
if (!feeling_lucky) { setInterval(blogpandtmonitor, 15000); }
amready=false;
}
}, 5000);
}
} else {
huh=prompt(prefix + "What is your URL (" + tn + " of up to 9) of interest ... append by #iframe if you want it to be tried in an iframe ... append by #nomore if you want this one to be last considered of up to 9 ... use Cancel for no more now", urls[eval(-1 + tn)]);
}
}
} else {
//alert("Urls[" + eval(-1 + tn) + "]=" + urls[eval(-1 + tn)]);
huh='#nomore';
}
prefix="";
if (huh == null) {
huh='';
nomore='y';
} else {
if (huh.indexOf("#iframe") != -1) {
goodmodeofshowofurl="iframe";
} else {
goodmodeofshowofurl="";
}
if (huh.indexOf("#form") != -1 && urls[0] != '') {
location.href='./cockpit_feel.html?form=y';
return;
}
document.cookie = thisg + "=" + huh.replace("#form","") + ";expires=" + expireDate.toGMTString();
if (huh.indexOf("#nomore") != -1) {
nomore='y';
fixstuff(tn);
}
if (huh.indexOf("#form") != -1) {
location.href='./cockpit_feel.html?form=y';
}
}
}
}

function cookieVal(cName) {
if (document.cookie != '') {
var tCookie=document.cookie.split("; ");

for (var j=0; j<tCookie.length; j++) {
if (cName == tCookie[j].split("=")[0]) {
return decodeURIComponent(tCookie[j].split("=")[1]);
}
}
}
return '';
}

function checkif(iois, numcell, gurl) {
var allok=false;
try {
if (iois != null) {
var aconto = (iois.contentWindow || iois.contentDocument);
if (aconto != null) {
if (aconto.document) { aconto = aconto.document; }
if (aconto.body != null) {
if (aconto.body.innerHTML.indexOf('>Not Found<') == -1) allok=true;
}
}
}
} catch (eeee) { }
if (!allok) {
if (gurl.indexOf('#nomore') != -1) {
var otn=eval(numcell % 10) + eval(eval(eval((numcell - eval(numcell % 10)) / 10) * 3) - 3);
fixstuff(otn);
}
//alert('window.open("' + iois.src.replace('#iframe','').replace('#nomore','') + '", "CockPitFeel' + numcell + '", "top=' + eval(eval(eval((numcell - eval(numcell % 10)) / 10) - 0) * hp) + hsuff + ',left=' + eval(eval(eval(numcell % 10) - 1) * wp) + wsuff + ',width=' + wp + wsuff + ',height=' + hp + hsuff + '");');
eval('window.open("' + iois.src.replace('#iframe','').replace('#nomore','') + '", "CockPitFeel' + numcell + '", "top=' + eval(eval(eval((numcell - eval(numcell % 10)) / 10) - 0) * hp) + hsuff + ',left=' + eval(eval(eval(numcell % 10) - 1) * wp) + wsuff + ',width=' + wp + wsuff + ',height=' + hp + hsuff + '");');
}
}

function getme(thiscell) {
if (document.URL.indexOf("?clear=") != -1 && firstgo) {
firstgo=false;
deleteAllCookies();
}
if (computedStyle == null) {
computedStyle = getComputedStyle(document.body, null)
bh=computedStyle.height;
bw=computedStyle.width;
//alert(bw + ' ... ' + bh);
hsuff="%";
wsuff="%";
hp="25";
wp="33";
if (bw.indexOf(":") == -1 && bw.indexOf("px") != -1) {
wsuff="";
wp=eval(bw.replace("px","") / 3);
//alert("width=" + wp);
}
if (bh.indexOf(":") == -1 && bh.indexOf("px") != -1 && 1 == 2) {
hsuff="";
hp=eval(bh.replace("px","") / 4);
//alert("height=" + hp);
} else {
bh="800";
hsuff="";
hp=eval(bh.replace("px","") / 4);
}
}
var numcell=thiscell.replace('td','');
var oldidea='td' + numcell + '_' + userip + '.html';
goodname = 'cell' + numcell + "_" + userip;
goodurl = ("" + cookieVal(goodname));
//alert(document.cookie + ' ... ' + goodname + ' --- ' + goodurl);
var otn=eval(numcell % 10) + eval(eval(eval((numcell - eval(numcell % 10)) / 10) * 3) - 3);
if (goodurl.indexOf("/") == -1) {
setCookie(goodname, otn);
goodurl = ("" + cookieVal(goodname));
}
if (numcell == 33) setTimeout(andthen, 3000);
if (goodurl.indexOf("#nomore") != -1) {
nomore='y';
fixstuff(otn);
}
//alert("goodurl=" + goodurl);
if (goodurl.indexOf("/") == -1) {
return '';
} else if (goodurl.indexOf("#iframe") != -1) {
return '<div title="Open in new window" style="border:1px solid black;overflow:scroll;width:100%;height:100%" onclick=" window.open(' + "'" + goodurl.replace("#form","").replace("#iframe","").replace("#nomore","") + "','_blank'" + '); "><iframe style="overflow:scroll;width:97%;height:97%" id="if' + numcell + '" onload="checkif(this,' + numcell + ',' + "'" + goodurl + "'" + ');" src="' + goodurl.replace("#form","").replace("#iframe","").replace("#nomore","") + '"></iframe><a href=# style=text_decoration:none title=New>⤴</a></div>';
}
//alert('window.open("' + goodurl + '", "CockPitFeel' + numcell + '", "top=' + eval(eval(eval((numcell - eval(numcell % 10)) / 10) - 0) * hp) + hsuff + ',left=' + eval(eval(eval(numcell % 10) - 1) * wp) + wsuff + ',width=' + wp + wsuff + ',height=' + hp + hsuff + '");');
eval('window.open("' + goodurl + '", "CockPitFeel' + numcell + '", "top=' + eval(eval(eval((numcell - eval(numcell % 10)) / 10) - 0) * hp) + hsuff + ',left=' + eval(eval(eval(numcell % 10) - 1) * wp) + wsuff + ',width=' + wp + wsuff + ',height=' + hp + hsuff + '");');
//window.open(goodurl, "CockPitFeel" + numcell, "top=" + eval(eval(eval((numcell - eval(numcell % 10)) / 10) - 0) * hp) + hsuff + ",left=" + eval(eval(eval(numcell % 10) - 1) * wp) + wsuff + ",width=" + wp + wsuff + ",height=" + hp + hsuff);
return '';
}

function fixstuff(ot) {
if (eval(ot) == 1) {
bh=eval(("" + bh).replace("px","") * 3);
bw=eval(("" + bw).replace("px","") * 3);
document.getElementById('td11').style.width='100%';
document.getElementById('td11').style.height='800px';
wsuff="";
wp=eval(("" + bw).replace("px","") / 3);
bh="800";
hsuff="";
hp=eval(("" + bh).replace("px","") / 4);
} else if (eval(ot) == 2) {
bh=eval(("" + bh).replace("px","") * 3);
bw=eval(("" + bw).replace("px","") * 2);
document.getElementById('td11').style.width='50%';
document.getElementById('td11').style.height='800px';
document.getElementById('td12').style.width='50%';
document.getElementById('td12').style.height='800px';
wsuff="";
wp=eval(("" + bw).replace("px","") / 3);
bh="800";
hsuff="";
hp=eval(("" + bh).replace("px","") / 4);
} else if (eval(ot) == 3) {
bh=eval(("" + bh).replace("px","") * 3);
bw=eval(("" + bw).replace("px","") * 1);
document.getElementById('td11').style.width='33%';
document.getElementById('td11').style.height='800px';
document.getElementById('td12').style.width='33%';
document.getElementById('td12').style.height='800px';
document.getElementById('td13').style.width='33%';
document.getElementById('td13').style.height='800px';
wsuff="";
wp=eval(("" + bw).replace("px","") / 3);
bh="800";
hsuff="";
hp=eval(("" + bh).replace("px","") / 4);
}



}

function deleteAllCookies() {
var expireDate = new Date();
expireDate.setDate(expireDate.getDate()-1);
var numcell;
for (numcell=11; numcell<=33; numcell++) {
goodname = 'cell' + numcell + "_" + userip;
if (eval(numcell % 10) >= 1 && eval(numcell % 10) <= 3) {
if (("" + cookieVal(goodname)).indexOf("/") != -1) {
document.cookie = goodname + "=;expires=" + expireDate.toGMTString();
//alert("delete " + goodname + "=;expires=");
}
}
}
}

function andthen() {
document.getElementById('myh1').innerHTML+=" ... <a title=Reask onclick=\" location.href='./cockpit_feel.html?clear=y'; \" href='#'>Reask</a>";
document.getElementById('aatend').innerHTML="<a title=Reask onclick=\" location.href='./cockpit_feel.html?clear=y'; \" href='#'>Clear</a>";
}

function checkget() {
var i;
var expireDate = new Date();
expireDate.setMonth(expireDate.getMonth()+6);
for (i=1; i<=9; i++) {
//alert(98);
goodname = 'cell' + mapping[eval(-1 + i)] + "_" + userip;
//alert(goodname);
goodurl = ("" + cookieVal(goodname));
urls[eval(-1 + i)]=location.search.split('url' + i + '=')[1] ? decodeURIComponent(location.search.split('url' + i + '=')[1].split('&')[0]) : goodurl;
//alert(urls[eval(-1 + i)]);
}
if (document.URL.indexOf("url1=") != -1) {
deleteAllCookies();
for (i=1; i<=9; i++) {
goodname = 'cell' + mapping[eval(-1 + i)] + "_" + userip;
if (urls[eval(-1 + i)] == "") {
document.cookie = goodname + "=#nomore;expires=" + expireDate.toGMTString();
if (urls[0] != "") urls[eval(-1 + i)] = "#nomore";
} else {
document.cookie = goodname + "=" + encodeURIComponent(urls[eval(-1 + i)]) + ";expires=" + expireDate.toGMTString();
}
//alert("new " + goodname + "=" + urls[eval(-1 + i)] + ";expires=");
}
}
if (document.URL.indexOf("?form=") != -1) {
var dbits="<h1 id='myh1' align='center'>Cockpit Feel of up to 9 Web Applications ... <a title=Reask onclick=\" location.href='./cockpit_feel.html?clear=y'; \" href='#'>Reask</a></h1><br><br>";
dbits+="<form method='GET' action='./cockpit_feel.html'>";
for (i=1; i<=9; i++) {
if (urls[eval(-1 + i)] == "#nomore") {
dbits+="Url " + i + ": <input type='url' style='width:380px;' name=url" + i + " value=''></input><br><br>";
} else {
dbits+="Url " + i + ": <input type='url' style='width:380px;' name=url" + i + " value='" + urls[eval(-1 + i)] + "'></input><br><br>";
}
}
dbits+="<input type=submit value='Run'></input></form><br><br>";
document.getElementById('maindiv').innerHTML=dbits;
oktogo = false;
return false;
}
if (document.URL.indexOf("?") == -1) {

}
return true;
}

function autokeyway() {
}

function checkw(iois) {
if (iois != null) {
var aconto = (iois.contentWindow || iois.contentDocument);
if (aconto != null) {
if (aconto.document) { aconto = aconto.document; }
if (aconto.getElementById('tuts') != null) {
document.getElementById('dopt').innerHTML='Blog Posting(s): ' + aconto.getElementById('tuts').outerHTML.replace(' onchange=', ' multiple onchange="document.getElementById(' + "'" + 'blogp' + "'" + ').value=andlater(this); " data-onchange=').replace(/\(show\ blog\,\ toggle\ sort\ order\)/g,'').replace(/\(show\ blog\,\ toggle\ sort\ order\,\ click\ for\ keyboard\ autocompletion\)/g,'').replace(/\(show\ blog\,\ toggle\ sort\ order\,\ click\ for\ autocompletion\ keyboard\)/g,'').replace(/\(toggle\ sort\ order\)/g,'') + '<br><br>';
amready=true;
}
}
}
}

function blogpandtmonitor() {
var bpt=[], ib=0, jb=0;
if (lastblogp != document.getElementById('blogp').value && document.getElementById('blogp').value != '') {
lastblogp=document.getElementById('blogp').value;
bpt=document.getElementById('blogp').value.split(',');
document.getElementById('blogp').value='';
for (ib=0; ib<bpt.length; ib++) {
if (sofarblogp.indexOf(',' + bpt[ib] + ',') == -1) {
for (jb=0; jb<mapping.length; jb++) {
if (document.getElementById('td' + mapping[jb]).innerHTML.indexOf('<select ') != -1 && sofarblogp.indexOf(',' + bpt[ib] + ',') == -1) {
sofarblogp+=bpt[ib] + ',';
document.getElementById('td' + mapping[jb]).innerHTML='<iframe src="//www.rjmprogramming.com.au/ITblog/?p=' + bpt[ib] + '&openappin=30#content" style=width:100%;height:100%;></iframe>';
}
}
}
}
if (doing_preg) { document.body.style.cursor='pointer'; }
}
}

</script>

</head>
<body style='background-color: yellow;'>
<div align='center' style='width:100%;height:800px;' id='maindiv'>
<h1 id='myh1' align='center'>Cockpit Feel of up to 9 Web Applications ... <a title=Form onclick=" location.href='./cockpit_feel.html?form=y'; " href='#'>Form</a></h1>
<table style='background-color: white;' id=dtbl>
<tbody>
<tr>
<td id='td11'><script> if (checkget()) { document.write(getme('td11')); } </script></td><td id='td12'><script> if (oktogo) { document.write(getme('td12')); } </script></td><td id='td13'><script> if (oktogo) { document.write(getme('td13')); } </script></td>
</tr>
<tr>
<td id='td21'><script> if (oktogo) { document.write(getme('td21')); } </script></td><td id='td22'><script> if (oktogo) { document.write(getme('td22')); } </script></td><td id='td23'><script> if (oktogo) { document.write(getme('td23')); } </script></td>
</tr>
<tr>
<td id='td31'><script> if (oktogo) { document.write(getme('td31')); } </script></td><td id='td32'><script> if (oktogo) { document.write(getme('td32')); } </script></td><td id='td33'><script> if (oktogo) { document.write(getme('td33')); } </script></td>
</tr>
</tbody>
</table>
<br><br>
<div id='aatend'></div>
</div>
<div id='dopt' style=display:none;></div>
<input type=hidden name=blogp value='' id="blogp"></input>
<input type=hidden name=blogt value='' id="blogt"></input>
<input type=hidden data-name=emoji value='' id="emoji"></input>
<input type=hidden data-name=cutei value='' id="cutei"></input>
<input type=hidden data-name=imgei value='' id="imgei"></input>
<iframe src='//www.rjmprogramming.com.au/Welcome.html?rand=887876' onload='checkw(this);' style='display:none;'></iframe>
<iframe id=ifbppop src='//www.rjmprogramming.com.au/About_Us.html' style='display:none;'></iframe>
</body>
</html>