<!doctype html><html>
<head>
<meta charset="utf-8"/>
<title>List - RJM Programming - March, 2017</title>
<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.2/themes/smoothness/jquery-ui.css" />
<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
<script src="http://code.jquery.com/ui/1.10.2/jquery-ui.js"></script>
<style>
span { font-size: 40px; background-color: lightblue; }
</style>
<script type='text/javascript'>
var ninehundred=location.search.split('ninehundred=')[1] ? eval(decodeURIComponent(location.search.split('ninehundred=')[1].split('&')[0])) : 900;
var wordsqw="Quantity or Weight";
var wordsi="Item";
var inmytbody="";
var lasturlidea="";
var oeb="";
var was_io=null;
var is_io=null;
var eurl='';
var sofar="";
var wasstr0="";
var str0="";
var str1="";
var nextrow=1;
var maxrow=1;
var en=[48,49,50,51,52,53,54,55,56,57];
var changed=false;
var extracols=["","","","","",""];
var extracolsplus=["","","","","",""];
var acc="<a id='aaccordian' href='#' onclick='showacc();'>#</a><div id='accordian' style='display:none;'>" + accordiancontents(maxrow) + "</div>";
var oarray=[1], oarrc='1', oarrdelim=',', reordered=false;
var cando=true;
var types = ["audio/wav","audio/x-wav","audio/x-pn-realaudio","audio/x-mpegurl","audio/x-aiff","audio/mpeg","audio/mid",
"audio/basic","audio/ogg","video/x-sgi-movie","video/x-msvideo","video/quicktime","audio/mp3","video/mp4","video/mpeg",
"video/x-la-asf","video/ogg","video/webm","audio/mp4", "image/jpeg", "image/jpeg", "image/png", "image/gif", "image/bmp", "image/tif"];
var exts = [".wav",".wav",".ram",".m3u",".aiff",".mp3",".rmi",
".snd",".ogg",".movie",".avi",".mov",".mp3",".m4v",".mpeg",
".lsx",".ogv",".webm",".m4a", ".jpg", ".jpeg", ".png", ".gif", ".bmp", ".tif"];
var locationsearch=location.search.replace('?clear=y','').replace('?','');
var usedc=false;
function clearyes() {
document.getElementById('clear').style.display='none';
}
function clearmaybe() {
if (usedc) {
document.getElementById('clear').click();
} else {
document.getElementById('retain').style.display='none';
setTimeout(clearyes,5000);
}
}
function ml_setCookie() { // thanks to JavaScript and Ajax by Tom Negrino and Dori Smith
var expireDate = new Date();
expireDate.setMonth(expireDate.getMonth()+6);
if (eurl.indexOf('body=') != -1) {
var xpurl=decodeURIComponent(eurl.split('body=')[1]);
if (xpurl.indexOf('?') != -1 && encodeURIComponent(xpurl.split('?')[1]).length <= ninehundred) document.cookie = "locationsearch=" + encodeURIComponent(xpurl.split('?')[1]) + ";expires=" + expireDate.toGMTString();
}
}
function ml_cookieVal(firstcall) {
if (document.cookie != '') {
var expireDate = new Date();
var tCookie=document.cookie.split("; ");
for (var j=0; j<tCookie.length; j++) {
if ("locationsearch" == tCookie[j].split("=")[0]) {
if (document.URL.indexOf('?clear=') != -1 && firstcall) {
expireDate.setMonth(expireDate.getMonth()-6);
document.cookie = "locationsearch=;expires=" + expireDate.toGMTString();
} else if (document.URL.replace('?clear=','').indexOf('?') != -1 && document.URL.indexOf('&') != -1 && firstcall) {
expireDate.setMonth(expireDate.getMonth()+6);
var xpurl=document.URL.split('#')[0].split('?')[1];
document.cookie = "locationsearch=" + encodeURIComponent(xpurl) + ";expires=" + expireDate.toGMTString();
} else {
locationsearch=decodeURIComponent(tCookie[j].split("=")[1]);
if (firstcall) {
document.getElementById('retain').style.display='inline';
document.getElementById('clear').style.display='inline';
usedc=true;
setTimeout(clearmaybe, 5000);
}
}
return locationsearch;
}
}
}
return '';
}
function sortby(direction,sio) {
var nn, arrtosort=[], thisoneis, zero=0, dotp=-1, blanks=" ", newoarrc='', newoarrdelim='';
var idprefix=sio.id.replace('dsort_','').replace('usort_','');
was_io=null;
is_io=null;
var inps=document.getElementsByTagName('input');
for (var ninps=0; ninps<inps.length; ninps++) {
if (inps[ninps].id) {
if (inps[ninps].id.toLowerCase().indexOf(idprefix.toLowerCase()) == 0 && inps[ninps].id != 'i0i' && inps[ninps].id.toLowerCase().replace(idprefix.toLowerCase(),"").substring(0,1) >= "1" && inps[ninps].id.toLowerCase().replace(idprefix.toLowerCase(),"").substring(0,1) <= "9") {
//alert('inps[ninps].id=' + inps[ninps].id);
if (eval(inps[ninps].id.replace(idprefix,"")) != maxrow) {
thisoneis=" " + oarray[-1 + eval(inps[ninps].id.toLowerCase().replace(idprefix.toLowerCase(),""))];
if (idprefix == "qw") {
zero=0;
if ((inps[ninps].value + " ").substring(zero,eval(1 + zero)) == "-" || (inps[ninps].value + " ").substring(zero,eval(1 + zero)) == "." || ((inps[ninps].value + " ").substring(zero,eval(1 + zero)) >= "0" && (inps[ninps].value + " ").substring(zero,eval(1 + zero)) <= "9")) {
while (zero < eval(inps[ninps].value.length - 1) && (inps[ninps].value + " ").substring(zero,eval(1 + zero)) == "-" || (inps[ninps].value + " ").substring(zero,eval(1 + zero)) == "." || ((inps[ninps].value + " ").substring(zero,eval(1 + zero)) >= "0" && (inps[ninps].value + " ").substring(zero,eval(1 + zero)) <= "9")) {
zero++;
}
}
if (zero != 0) {
dotp=inps[ninps].value.substring(0,zero).indexOf(".");
if (dotp == -1) {
arrtosort.push(blanks.substring(0,eval(10 - zero)) + inps[ninps].value + "~!`" + thisoneis.slice(-8));
} else {
arrtosort.push(blanks.substring(0,eval(10 - dotp)) + inps[ninps].value + "~!`" + thisoneis.slice(-8));
}
} else {
arrtosort.push(inps[ninps].value + "~!`" + thisoneis.slice(-8));
}
} else {
arrtosort.push(inps[ninps].value + "~!`" + thisoneis.slice(-8));
}
}
}
}
}
if (arrtosort.length > 1) {
arrtosort.sort();
// newoarrc='', newoarrdelim='';
if (direction != 0) {
for (nn=0; nn<arrtosort.length; nn++) {
newoarrc+=newoarrdelim + arrtosort[nn].split("~!`")[1].trim();
newoarrdelim=',';
}
} else {
for (nn=eval(-1 + arrtosort.length); nn>=0; nn--) {
newoarrc+=newoarrdelim + arrtosort[nn].split("~!`")[1].trim();
newoarrdelim=',';
}
}
oarrc=newoarrc;
oarrdelim=',';
reordered=true;
//alert(oarrc);
oarray=eval("[" + oarrc + "]");
var purl=decodeURIComponent(eurl.split('body=')[1]);
var sortbits=(purl + '&').split('&order=');
if (sortbits.length > 1) {
location.href=purl.replace('&order=' + sortbits[1].split('&')[0], '&order=' + encodeURIComponent('[' + oarrc + ']'));
} else {
location.href=purl + '&order=' + encodeURIComponent('[' + oarrc + ']');
}
}
}
function updatesofar(thisspano) {
var thisspan=thisspano.id;
usedc=false;
document.getElementById('retain').style.display='none';
document.getElementById('clear').style.display='none';
was_io=null;
is_io=null;
if (("_" + sofar + "_").indexOf(("_" + thisspan.replace("span", "") + "_")) == -1) {
if (sofar == "") {
sofar="aa_" + thisspan.replace("span", "");
} else if (sofar.split('a_')[1].split('_').length == 2) {
sofar="aa_" + thisspan.replace("span", "");
} else if (sofar.split('a_')[1].split('_').length == 1) {
sofar+="_" + thisspan.replace("span", "");
accordianclick("",document.getElementById('accordian'));
sofar="";
}
}
}
function showacc() {
if (document.getElementById('accordian').style.display.toLowerCase().indexOf('none') != -1) {
document.getElementById('accordian').style.display='block';
} else {
document.getElementById('accordian').style.display='none';
}
}
function process(oi) {
var coi='', icoi, jcoi, rec, emailurl='mailto:', eqdelim=encodeURIComponent('='), edelim=encodeURIComponent('?');
fixemailurl();
if (eval(oi.id.replace(/i/g,'')) == maxrow) {
if (!changed && maxrow == 1) {
var tds=document.getElementsByTagName('td');
for (var itds=0; itds<tds.length; itds++) {
tds[itds].colSpan=1;
}
document.getElementById('tr0').innerHTML=wasstr0;
str1=str1.replace(/colspan='3'/g,"colspan='1'").replace(/colspan="3"/g,'colspan="1"').replace(/colspan=3/g,"colspan=1");
}
if (maxrow == 1) {
for (var jcol=1; jcol<=6; jcol++) {
if (document.getElementById('h' + jcol)) {
document.getElementById('ih' + jcol).innerHTML='';
}
}
}
if (maxrow > 1) {
if ((',' + oarrc + ',').indexOf(',' + eval(0 + maxrow) + ',') == -1) {
oarrc+=oarrdelim + eval(0 + maxrow);
//alert(oarrc);
oarray.push(eval(0 + maxrow));
oarrdelim=',';
}
}
document.getElementById('accordian').innerHTML=accordiancontents(maxrow);
maxrow++;
nextrow=maxrow;
coi='' + maxrow;
//<tr id='tr1'><td colspan=3><span>1⃣</span></td><td colspan=3><input id='qw1' name='qw1' value=''></input></td><td colspan=3><input style='width:90%;' onblur='process(this);' id='i1' name='i1' value=''></input></td></tr>
//rec="<tr id='tr" + maxrow + "'><td><span>";
rec=str1.replace(/colspan='1'/g,"colspan='one'").replace(/colspan="1"/g,'colspan="one"').replace(/colspan=1/g,"colspan=one").replace(/1/g,maxrow).replace(/colspan='one'/g,"colspan='1'").replace(/colspan="one"/g,'colspan="1"').replace(/colspan=one/g,"colspan=1").split('<span')[0] + '<span ondrop="updatesofar(this);" draggable="true" ondragstart="updatesofar(this);" ondragover="updatesofar(this);" onclick="updatesofar(this);" id="span' + maxrow + '">';
for (icoi=0; icoi<coi.length; icoi++) {
rec+='';
rec+=('' + en[eval(coi.substring(icoi,eval(1 + icoi)))]);
rec+=';';
rec+='8419';
rec+=";";
}
//rec+="</span></td><td><input id='qw" + maxrow + "' name='qw" + maxrow + "' value=''></input></td><td><input style='width:90%;' onblur='process(this);' id='i" + maxrow + "' name='i" + maxrow + "' value=''></input></td></tr>" + String.fromCharCode(10); // + "<tr id='tr" + eval(1 + maxrow) + "' style='display:table-row;'></tr>";
rec+="</span>" + str1.replace('tr1','tr' + maxrow).split('</span>')[1].replace(/colspan='1'/g,"colspan='one'").replace(/colspan="1"/g,'colspan="one"').replace(/colspan=1/g,"colspan=one").replace(/1/g,maxrow).replace(/colspan='one'/g,"colspan='1'").replace(/colspan="one"/g,'colspan="1"').replace(/colspan=one/g,"colspan=1");
document.getElementById('tr' + maxrow).style.display='table-row';
document.getElementById('tr' + maxrow).innerHTML=rec.replace("<tr id='tr" + maxrow + "'>","").replace("</tr>","");
document.getElementById('qw' + maxrow).focus();
}
if (1 == 1) {
fixemailurl();
} /* else {
emailurl+=document.getElementById('i0').value;
emailurl+='?subject=' + encodeURIComponent(document.getElementById('i0i').value);
if (reordered) {
emailurl+='&order=' + encodeURIComponent('[' + oarrc + ']');
}
emailurl+='&body=' + encodeURIComponent(document.URL.split('#')[0].split('?')[0]);
emailurl+=edelim + 'emailee' + eqdelim + encodeURIComponent(document.getElementById('i0').value);
edelim=encodeURIComponent('&');
emailurl+=edelim + 'subject' + eqdelim + encodeURIComponent(encodeURIComponent(document.getElementById('i0i').value));
emailurl+=edelim + 'wordsqw' + eqdelim + encodeURIComponent(encodeURIComponent(document.getElementById('wordsqw').value));
emailurl+=edelim + 'wordsi' + eqdelim + encodeURIComponent(encodeURIComponent(document.getElementById('wordsi').value));
for (icoi=1; icoi<maxrow; icoi++) {
emailurl+=edelim + 'qw' + oarray[eval(-1 + icoi)] + eqdelim + encodeURIComponent(encodeURIComponent(document.getElementById('qw' + icoi).value));
edelim=encodeURIComponent('&');
emailurl+=edelim + 'i' + oarray[eval(-1 + icoi)] + eqdelim + encodeURIComponent(encodeURIComponent(document.getElementById('i' + icoi).value));
for (jcoi=1; jcoi<=extracols.length; jcoi++) {
if (extracols[eval(-1 + jcoi)] != "") {
if (document.getElementById(extracols[eval(-1 + jcoi)].toLowerCase().replace(/\ /g,'_') + oarray[eval(-1 + icoi)])) {
emailurl+=edelim + extracols[eval(-1 + jcoi)].replace(/\ /g,'_') + '__' + jcoi + '___' + oarray[eval(-1 + icoi)] + eqdelim + encodeURIComponent(encodeURIComponent(document.getElementById(extracols[eval(-1 + jcoi)].toLowerCase().replace(/\ /g,'_') + oarray[eval(-1 + icoi)]).value));
} else {
emailurl+=edelim + extracols[eval(-1 + jcoi)].toLowerCase().replace(/\ /g,'_') + '__' + jcoi + '___' + icoi + eqdelim + encodeURIComponent(document.getElementById(extracols[eval(-1 + jcoi)].toLowerCase().replace(/\ /g,'_') + icoi).value);
}
}
}
} */
eurl=emailurl;
document.getElementById('myemail').href=emailurl;
}
function tryurl() {
if (lasturlidea != "") {
//alert(lasturlidea);
window.open(lasturlidea, '_blank', 'top=50,left=50,width=600,height=600');
}
lasturlidea="";
}
function fixemailurl() {
var coi='', icoi, jcoi, rec, emailurl='mailto:', eqdelim=encodeURIComponent('='), edelim=encodeURIComponent('?');
lasturlidea="";
emailurl+=document.getElementById('i0').value;
emailurl+='?subject=' + encodeURIComponent(document.getElementById('i0i').value);
if (reordered) {
emailurl+='&order=' + encodeURIComponent('[' + oarrc + ']');
}
emailurl+='&body=' + encodeURIComponent(document.URL.split('#')[0].split('?')[0]);
emailurl+=edelim + 'emailee' + eqdelim + encodeURIComponent(document.getElementById('i0').value);
edelim=encodeURIComponent('&');
emailurl+=edelim + 'subject' + eqdelim + encodeURIComponent(encodeURIComponent(document.getElementById('i0i').value));
emailurl+=edelim + 'wordsqw' + eqdelim + encodeURIComponent(encodeURIComponent(document.getElementById('wordsqw').value));
emailurl+=edelim + 'wordsi' + eqdelim + encodeURIComponent(encodeURIComponent(document.getElementById('wordsi').value));
for (icoi=1; icoi<maxrow; icoi++) {
emailurl+=edelim + 'qw' + oarray[eval(-1 + icoi)] + eqdelim + encodeURIComponent(encodeURIComponent(document.getElementById('qw' + icoi).value));
edelim=encodeURIComponent('&');
emailurl+=edelim + 'i' + oarray[eval(-1 + icoi)] + eqdelim + encodeURIComponent(encodeURIComponent(document.getElementById('i' + icoi).value));
for (jcoi=1; jcoi<=extracols.length; jcoi++) {
if (extracols[eval(-1 + jcoi)] != "") {
// //emailurl+=edelim + extracols[eval(-1 + jcoi)].toLowerCase().replace(/\ /g,'_') + '__' + jcoi + '___' + icoi + eqdelim + encodeURIComponent(document.getElementById(extracols[eval(-1 + jcoi)].toLowerCase().replace(/\ /g,'_') + icoi).value);
//emailurl+=edelim + extracols[eval(-1 + jcoi)].replace(/\ /g,'_') + '__' + jcoi + '___' + oarray[eval(-1 + icoi)] + eqdelim + encodeURIComponent(encodeURIComponent(document.getElementById(extracols[eval(-1 + jcoi)].toLowerCase().replace(/\ /g,'_') + oarray[eval(-1 + icoi)]).value));
if (document.getElementById(extracols[eval(-1 + jcoi)].toLowerCase().replace(/\ /g,'_') + oarray[eval(-1 + icoi)])) {
emailurl+=edelim + extracols[eval(-1 + jcoi)].replace(/\ /g,'_') + '__' + jcoi + '___' + oarray[eval(-1 + icoi)] + eqdelim + encodeURIComponent(encodeURIComponent(document.getElementById(extracols[eval(-1 + jcoi)].toLowerCase().replace(/\ /g,'_') + oarray[eval(-1 + icoi)]).value));
} else {
emailurl+=edelim + extracols[eval(-1 + jcoi)].toLowerCase().replace(/\ /g,'_') + '__' + jcoi + '___' + icoi + eqdelim + encodeURIComponent(document.getElementById(extracols[eval(-1 + jcoi)].toLowerCase().replace(/\ /g,'_') + icoi).value);
}
}
}
}
eurl=emailurl;
document.getElementById('myemail').href=emailurl;
if (cando || 1 == 1) {
var inps=document.getElementsByTagName('input'), cinsp="", cext="";
for (var ninps=0; ninps<inps.length; ninps++) {
if (inps[ninps].id) {
if (inps[ninps].value.toLowerCase().indexOf('http') == 0) {
cext=inps[ninps].value.split('#')[0].split(".")[eval(-1 + inps[ninps].value.split('#')[0].split(".").length)];
//if (cext.toLowerCase().indexOf("htm") == -1 && cext.toLowerCase().indexOf("asp") == -1 && cext.toLowerCase().indexOf("php") == -1 && cext != "" && cext.indexOf("/") == -1 && document.getElementById('d' + inps[ninps].id)) {
if (cext != "" && cext.indexOf("/") == -1 && document.getElementById('d' + inps[ninps].id)) {
cinps=document.getElementById('d' + inps[ninps].id).innerHTML;
if ((cinps == "" || document.getElementById('d' + inps[ninps].id).outerHTML.toLowerCase().indexOf(inps[ninps].value.split('#')[0].toLowerCase()) == -1) && (",png,jpg,jpeg,tif,tiff,gif,bmp,").indexOf(("," + cext.toLowerCase() + ",")) != -1) {
document.getElementById('d' + inps[ninps].id).style.width='100%';
document.getElementById('d' + inps[ninps].id).style.height='200px';
document.getElementById('d' + inps[ninps].id).style.backgroundImage="url('" + inps[ninps].value.split('#')[0] + "')";
document.getElementById('d' + inps[ninps].id).title='Click to increase height of ' + inps[ninps].value.split('#')[0];
document.getElementById('d' + inps[ninps].id).innerHTML=' ';
} else if ((cinps == "" || document.getElementById('d' + inps[ninps].id).outerHTML.toLowerCase().indexOf(inps[ninps].value.split('#')[0].toLowerCase()) == -1)) {
var ourmime="", parts=inps[ninps].value.split('#')[0].split(".");
var uparts=inps[ninps].value.split('#')[0].split("/");
for (var it=0; it<exts.length; it++) {
if ("." + parts[eval(-1 + parts.length)] == exts[it]) ourmime=types[it];
}
//alert(ourmime);
if (ourmime.indexOf("video") == 0) {
document.getElementById('d' + inps[ninps].id).style.border='7px solid green';
document.getElementById('d' + inps[ninps].id).style.width='100%';
document.getElementById('d' + inps[ninps].id).style.height='200px';
document.getElementById('d' + inps[ninps].id).title='Click to increase height of ' + inps[ninps].value.split('#')[0];
document.getElementById('d' + inps[ninps].id).innerHTML='<video type="' + ourmime + '" controls><source src="' + inps[ninps].value.split('#')[0] + '" title="Media"></source></video>';
} else if (ourmime.indexOf("audio") == 0) {
document.getElementById('d' + inps[ninps].id).style.border='7px solid green';
document.getElementById('d' + inps[ninps].id).style.width='100%';
document.getElementById('d' + inps[ninps].id).style.height='200px';
document.getElementById('d' + inps[ninps].id).title='Click to increase height of ' + inps[ninps].value.split('#')[0];
document.getElementById('d' + inps[ninps].id).innerHTML='<audio type="' + ourmime + '" controls><source src="' + inps[ninps].value.split('#')[0] + '" title="Media"></source></audio>';
} else {
document.getElementById('d' + inps[ninps].id).style.border='7px solid green';
document.getElementById('d' + inps[ninps].id).style.width='100%';
document.getElementById('d' + inps[ninps].id).style.height='200px';
document.getElementById('d' + inps[ninps].id).title='Click to increase height of ' + inps[ninps].value.split('#')[0];
oeb="document.getElementById('" + 'd' + inps[ninps].id + "').innerHTML='<iframe id=fd" + inps[ninps].id + " style=width:100%;height:200px; src=\"http://www.rjmprogramming.com.au/HTMLCSS/mylist.php?mediafile=" + inps[ninps].value.split('#')[0] + "\" title=Media ></iframe>";
document.getElementById('d' + inps[ninps].id).innerHTML='<iframe id=fd' + inps[ninps].id + ' style="width:100%;height:200px;" src="' + inps[ninps].value.split('#')[0] + '" title="Media" onerror=" if (cando) { dooeb(); } "></iframe>';
}
}
}
}
}
}
}
}
function dooeb() {
if (oeb != "") {
//alert(oeb);
eval(oeb);
oeb='';
}
}
function donclick(dthis) {
dthis.style.height='' + eval(eval('0' + dthis.style.height.replace('px','')) + 100) + 'px';
if (document.getElementById('f' + dthis.id)) {
document.getElementById('f' + dthis.id).style.height='' + eval(eval('0' + document.getElementById('f' + dthis.id).style.height.replace('px','')) + 100) + 'px';
}
}
function addcol(iois) {
if (maxrow == 1) {
if (iois.value.replace('+','') != '') {
changed=true;
extracols[eval(-1 + eval(iois.id.replace('h','')))]=iois.value;
document.getElementById('i' + iois.id).innerHTML = "<div style='display:inline;' title='Normal alphabetic sort' id='dsort_" + extracols[eval(-1 + eval(iois.id.replace('h','')))].toLowerCase().replace(/\ /g,'_') + "' onclick='sortby(1,this);'>⬇</div><div style='display:inline;' title='Reverse alphabetic sort' id='usort_" + extracols[eval(-1 + eval(iois.id.replace('h','')))].toLowerCase().replace(/\ /g,'_') + "' onclick='sortby(0,this);'>⬆ </div>" + iois.value;
// name of ... <tr id="tr1"><td colspan="3"><span>1⃣</span></td><td colspan="3"><input id="qw1" name="qw1" value=""></td><td colspan="3"><input style="width:90%;" onblur="process(this);" id="i1" name="i1" value=""></td></tr>
if (iois.id.replace('h','') == '1') {
str1=str1.replace(' colspan="2"><span',' colspan="1"><span').replace(' colspan="3"><span',' colspan="2"><span').replace('<td','<td><input onblur=fixemailurl(); type=text name=' + extracols[eval(-1 + eval(iois.id.replace('h','')))].toLowerCase().replace(/\ /g,'_') + '1 id=' + extracols[eval(-1 + eval(iois.id.replace('h','')))].toLowerCase().replace(/\ /g,'_') + '1 value="" onclick="valueclick(this.value,this);"></input></td><td');
document.getElementById('tr1').innerHTML=str1;
//alert(iois.value.toLowerCase() + ' ... ' + str1);
} else if (iois.id.replace('h','') == '2') {
str1=str1.replace(' colspan="2"><span',' colspan="1"><span').replace(' colspan="3"><span',' colspan="2"><span').replace('</span></td>','</span></td><td><input onblur=fixemailurl(); type=text name=' + extracols[eval(-1 + eval(iois.id.replace('h','')))].toLowerCase().replace(/\ /g,'_') + '1 id=' + extracols[eval(-1 + eval(iois.id.replace('h','')))].toLowerCase().replace(/\ /g,'_') + '1 value="" onclick="valueclick(this.value,this);"></input></td>');
document.getElementById('tr1').innerHTML=str1;
//alert(iois.value.toLowerCase() + ' ... ' + str1);
} else if (iois.id.replace('h','') == '3') {
str1=str1.replace('</td><td colspan="2"><div id="dqw1" onclick="donclick(this);" title="Click to increase height"></div><input id="qw1"','</td><td><input onblur=fixemailurl(); type=text name=' + extracols[eval(-1 + eval(iois.id.replace('h','')))].toLowerCase().replace(/\ /g,'_') + '1 id=' + extracols[eval(-1 + eval(iois.id.replace('h','')))].toLowerCase().replace(/\ /g,'_') + '1 value="" onclick="valueclick(this.value,this);"></input></td><td colspan="1"><div id="dqw1" onclick="donclick(this);" title="Click to increase height"></div><input id="qw1"').replace('</td><td colspan="3"><div id="dqw1" onclick="donclick(this);" title="Click to increase height"></div><input id="qw1"','</td><td><input onblur=fixemailurl(); type=text name=' + extracols[eval(-1 + eval(iois.id.replace('h','')))].toLowerCase().replace(/\ /g,'_') + '1 id=' + extracols[eval(-1 + eval(iois.id.replace('h','')))].toLowerCase().replace(/\ /g,'_') + '1 value="" onclick="valueclick(this.value,this);"></input></td><td colspan="2"><div id="dqw1" onclick="donclick(this);" title="Click to increase height"></div><input id="qw1"');
document.getElementById('tr1').innerHTML=str1;
//alert(iois.value.toLowerCase() + ' ... ' + str1);
} else if (iois.id.replace('h','') == '4') {
str1=str1.replace('<td colspan="2"><div id="dqw1" onclick="donclick(this);" title="Click to increase height"></div><input id="qw1" name="qw1" value="" onclick="valueclick(this.value,this);"></td>','<td colspan="1"><div id="dqw1" onclick="donclick(this);" title="Click to increase height"></div><input id="qw1" name="qw1" value="" onclick="valueclick(this.value,this);"></td><td><input onblur=fixemailurl(); type=text name=' + extracols[eval(-1 + eval(iois.id.replace('h','')))].toLowerCase().replace(/\ /g,'_') + '1 id=' + extracols[eval(-1 + eval(iois.id.replace('h','')))].toLowerCase().replace(/\ /g,'_') + '1 value="" onclick="valueclick(this.value,this);"></input></td>').replace('<td colspan="3"><div id="dqw1" onclick="donclick(this);" title="Click to increase height"></div><input id="qw1" name="qw1" value="" onclick="valueclick(this.value,this);"></td>','<td colspan="2"><div id="dqw1" onclick="donclick(this);" title="Click to increase height"></div><input id="qw1" name="qw1" value="" onclick="valueclick(this.value,this);"></td><td><input onblur=fixemailurl(); type=text name=' + extracols[eval(-1 + eval(iois.id.replace('h','')))].toLowerCase().replace(/\ /g,'_') + '1 id=' + extracols[eval(-1 + eval(iois.id.replace('h','')))].toLowerCase().replace(/\ /g,'_') + '1 value="" onclick="valueclick(this.value,this);"></input></td>');
document.getElementById('tr1').innerHTML=str1;
//alert(iois.value.toLowerCase() + ' ... ' + str1);
} else if (iois.id.replace('h','') == '5') {
str1=str1.replace('</td><td colspan="2"><div id="di1" onclick="donclick(this);" title="Click to increase height"></div><input style="width:90%;" onblur="process(this);" id="i1"','</td><td><input onblur=fixemailurl(); type=text name=' + extracols[eval(-1 + eval(iois.id.replace('h','')))].toLowerCase().replace(/\ /g,'_') + '1 id=' + extracols[eval(-1 + eval(iois.id.replace('h','')))].toLowerCase().replace(/\ /g,'_') + '1 value="" onclick="valueclick(this.value,this);"></input></td><td colspan="1"><div id="di1" onclick="donclick(this);" title="Click to increase height"></div><input style="width:90%;" onblur="process(this);" id="i1"').replace('</td><td colspan="3"><div id="di1" onclick="donclick(this);" title="Click to increase height"></div><input style="width:90%;" onblur="process(this);" id="i1"','</td><td><input onblur=fixemailurl(); type=text name=' + extracols[eval(-1 + eval(iois.id.replace('h','')))].toLowerCase().replace(/\ /g,'_') + '1 id=' + extracols[eval(-1 + eval(iois.id.replace('h','')))].toLowerCase().replace(/\ /g,'_') + '1 value="" onclick="valueclick(this.value,this);"></input></td><td colspan="2"><div id="di1" onclick="donclick(this);" title="Click to increase height"></div><input style="width:90%;" onblur="process(this);" id="i1"');
document.getElementById('tr1').innerHTML=str1;
//alert(iois.value.toLowerCase() + ' ... ' + str1);
} else if (iois.id.replace('h','') == '6') {
str1=str1.replace('<td colspan="2"><div id="di1" onclick="donclick(this);" title="Click to increase height"></div><input style="width:90%;" onblur="process(this);" id="i1" name="i1" value="" onclick="valueclick(this.value,this);"></td>','<td colspan="1"><div id="di1" onclick="donclick(this);" title="Click to increase height"></div><input style="width:90%;" onblur="process(this);" id="i1" name="i1" value="" onclick="valueclick(this.value,this);"></td><td><input onblur=fixemailurl(); type=text name=' + extracols[eval(-1 + eval(iois.id.replace('h','')))].toLowerCase().replace(/\ /g,'_') + '1 id=' + extracols[eval(-1 + eval(iois.id.replace('h','')))].toLowerCase().replace(/\ /g,'_') + '1 value="" onclick="valueclick(this.value,this);"></input></td>').replace('<td colspan="3"><div id="di1" onclick="donclick(this);" title="Click to increase height"></div><input style="width:90%;" onblur="process(this);" id="i1" name="i1" value="" onclick="valueclick(this.value,this);"></td>','<td colspan="2"><div id="di1" onclick="donclick(this);" title="Click to increase height"></div><input style="width:90%;" onblur="process(this);" id="i1" name="i1" value="" onclick="valueclick(this.value,this);"></td><td><input onblur=fixemailurl(); type=text name=' + extracols[eval(-1 + eval(iois.id.replace('h','')))].toLowerCase().replace(/\ /g,'_') + '1 id=' + extracols[eval(-1 + eval(iois.id.replace('h','')))].toLowerCase().replace(/\ /g,'_') + '1 value="" onclick="valueclick(this.value,this);"></input></td>');
document.getElementById('tr1').innerHTML=str1;
//alert(iois.value.toLowerCase() + ' ... ' + str1);
}
}
}
}
function doothers(ubitis) {
var oare=ubitis.split('___1='), ooare;
if (oare.length > 1) {
for (var ioare=0; ioare<eval(-1 + oare.length); ioare++) {
ooare=oare[ioare].split('__');
document.getElementById('h' + ooare[1]).value=ooare[0].split('&')[eval(-1 + ooare[0].split('&').length)].replace(/_/g,' ');
extracols[eval(-1 + eval(ooare[1]))]=document.getElementById('h' + ooare[1]).value;
extracolsplus[eval(-1 + eval(ooare[1]))]=document.getElementById('h' + ooare[1]).value + '__' + ooare[1];
addcol(document.getElementById('h' + ooare[1]));
}
}
}
function addlotsofrows() {
var nextqw='', nexti='', realtr="", jcoi, poarrc='1', poarrdelim=',', maxpossible=99999999, lob=null;
var oarrcp=locationsearch.split('order=')[1] ? decodeURIComponent(locationsearch.split('order=')[1].split('&')[0]) : '';
inmytbody=document.getElementById('mytbody').innerHTML;
if (oarrcp != '') {
oarray=eval(oarrcp);
maxpossible=eval(1 + oarray[0]);
for (ijoarr=0; ijoarr<oarray.length; ijoarr++) {
if (maxpossible < eval(1 + oarray[ijoarr])) maxpossible=eval(1 + oarray[ijoarr]);
}
}
str1=document.getElementById('tr1').innerHTML;
//alert(str1);
document.getElementById('tr1').innerHTML=str1.replace(/colspan='1'/g,"colspan='3'").replace(/colspan="1"/g,'colspan="3"').replace(/colspan=1/g,"colspan=3");
str1=document.getElementById('tr1').outerHTML;
wordsqw=locationsearch.split('wordsqw=')[1] ? decodeURIComponent(locationsearch.split('wordsqw=')[1].split('&')[0]) : wordsqw;
wordsi=locationsearch.split('wordsi=')[1] ? decodeURIComponent(locationsearch.split('wordsi=')[1].split('&')[0]) : wordsi;
wasstr0=document.getElementById('tr0').innerHTML.replace("Quantity or Weight",wordsqw).replace("Item",wordsi);
document.getElementById('wordsqw').value=wordsqw;
document.getElementById('wordsi').value=wordsi;
document.getElementById('tr0').innerHTML="<th id=ih1><input title='Name of a new column' onclick=\"this.value='';\" onblur='addcol(this);' id=h1 type=text value='+'></input></th><th>" + acc + "</th><th id=ih2><input title='Name of a new column' onclick=\"this.value='';\" onblur='addcol(this);' id=h2 type=text value='+'></input></th><th id=ih3><input title='Name of a new column' onclick=\"this.value='';\" onblur='addcol(this);' id=h3 type=text value='+'></input></th><th><div style='display:inline;' title='Normal numerical sort' id='dsort_qw' onclick='sortby(1,this);'>⬇</div><div style='display:inline;' title='Reverse numerical sort' id='usort_qw' onclick='sortby(0,this);'>⬆ </div><input type=text name=wordsqw id=wordsqw value='" + wordsqw + "' onblur='fixemailurl();' style='background-color:orange;'></input></th><th id=ih4><input title='Name of a new column' onclick=\"this.value='';\" onblur='addcol(this);' id=h4 type=text value='+'></input></th><th id=ih5><input title='Name of a new column' onclick=\"this.value='';\" onblur='addcol(this);' id=h5 type=text value='+'></input></th><th><div style='display:inline;' title='Normal alphabetic sort' id='dsort_i' onclick='sortby(1,this);'>⬇</div><div style='display:inline;' title='Reverse alphabetic sort' id='usort_i' onclick='sortby(0,this);'>⬆ </div><input type=text name=wordsi id=wordsi value='" + wordsi + "' onblur='fixemailurl();' style='background-color:orange;'></input></th><th id=ih6><input title='Name of a new column' onclick=\"this.value='';\" onblur='addcol(this);' id=h6 type=text value='+'></input></th>";
str0=document.getElementById('tr0').outerHTML;
document.getElementById('i0').value=locationsearch.split('emailee=')[1] ? decodeURIComponent(locationsearch.split('emailee=')[1].split('&')[0]) : ''; //fill.in@email.to';
document.getElementById('i0i').value=locationsearch.split('subject=')[1] ? decodeURIComponent(locationsearch.split('subject=')[1].split('&')[0]) : 'My List';
for (var iii=2; iii<350; iii++) {
document.getElementById('mytbody').innerHTML+="<tr id='tr" + iii + "' style='display:none;'></tr>";
}
doothers(document.URL.split('#')[0]);
document.getElementById('qw1').value=locationsearch.split('qw' + oarray[0] + '=')[1] ? decodeURIComponent(locationsearch.split('qw' + oarray[0] + '=')[1].split('&')[0]) : '';
document.getElementById('i1').value=locationsearch.split('i' + oarray[0] + '=')[1] ? decodeURIComponent(locationsearch.split('i' + oarray[0] + '=')[1].split('&')[0]) : '';
for (jcoi=1; jcoi<=extracols.length; jcoi++) {
if (extracols[eval(-1 + jcoi)] != "") {
//alert(extracols[eval(-1 + jcoi)].toLowerCase().replace(/\ /g,'_') + '1');
document.getElementById(extracols[eval(-1 + jcoi)].toLowerCase().replace(/\ /g,'_') + '1').value=locationsearch.split(extracolsplus[eval(-1 + jcoi)].replace(/\ /g,'_') + '___' + oarray[0] + '=')[1] ? decodeURIComponent(locationsearch.split(extracolsplus[eval(-1 + jcoi)].replace(/\ /g,'_') + '___' + oarray[0] + '=')[1].split('&')[0]) : '';
}
}
document.getElementById('qw1').focus();
if (document.getElementById('i1').value != "" || document.getElementById('qw1').value != "") {
//alert(1);
process(document.getElementById('i1'));
realtr=document.getElementById('tr0').outerHTML + document.getElementById('tr1').outerHTML;
} else {
//alert(0);
process(document.getElementById('i0'));
}
// http://localhost:8888/mylist.htm?emailee=rmetcalfe15@gmail.com&subject=My%20List&qw3=1&i3=one&qw2=2&i2=two&qw1=3&i1=three
for (var ii=2; ii<350; ii++) {
if (oarrcp == '') {
if ((',' + oarrc + ',').indexOf(',' + eval(0 + ii) + ',') == -1) {
oarrc+=oarrdelim + eval(0 + ii);
oarray.push(eval(0 + ii));
oarrdelim=',';
}
}
nextqw=locationsearch.split('qw' + oarray[eval(-1 + ii)] + '=')[1] ? decodeURIComponent(locationsearch.split('qw' + oarray[eval(-1 + ii)] + '=')[1].split('&')[0]) : '';
nexti=locationsearch.split('i' + oarray[eval(-1 + ii)] + '=')[1] ? decodeURIComponent(locationsearch.split('i' + oarray[eval(-1 + ii)] + '=')[1].split('&')[0]) : '';
if (realtr != "") {
if (nexti != '' || nextqw != '') {
if ((',' + poarrc + ',').indexOf(',' + eval(0 + ii) + ',') == -1) {
poarrc+=poarrdelim + eval(0 + ii);
poarrdelim=',';
}
if (document.getElementById('qw' + ii)) {
document.getElementById('qw' + ii).value=nextqw;
document.getElementById('i' + ii).value=nexti;
for (jcoi=1; jcoi<=extracols.length; jcoi++) {
if (extracols[eval(-1 + jcoi)] != "") {
//alert(extracols[eval(-1 + jcoi)].toLowerCase().replace(/\ /g,'_') + ii);
document.getElementById(extracols[eval(-1 + jcoi)].toLowerCase().replace(/\ /g,'_') + ii).value=locationsearch.split(extracolsplus[eval(-1 + jcoi)].replace(/\ /g,'_') + '___' + oarray[eval(-1 + ii)] + '=')[1] ? decodeURIComponent(locationsearch.split(extracolsplus[eval(-1 + jcoi)].replace(/\ /g,'_') + '___' + oarray[eval(-1 + ii)] + '=')[1].split('&')[0]) : '';
}
}
//alert(oarrc + ' ' + nexti + ' ' + ii + ' ... ' + oarray[eval(-1 + ii)]);
if (eval(1 + ii) < maxpossible) {
process(document.getElementById('i' + ii));
} else {
lob=document.getElementById('i' + ii)
//alert(poarrc + ' ... ' + 'i' + ii);
}
realtr+=document.getElementById('tr' + ii).outerHTML;
}
} else {
realtr+="<tr id='tr" + ii + "' style='display:none;'></tr>";
}
} //else {
// document.getElementById('mytbody').innerHTML+="<tr id='tr" + ii + "' style='display:none;'></tr>";
//}
}
if (poarrc.indexOf(',') != -1) {
oarrc=poarrc;
oarray=eval('[' + poarrc + ']');
}
if (lob != null) process(lob);
//if (realtr != "") document.getElementById('mytbody').innerHTML=realtr;
setInterval(fixemailurl,1000);
}
function valueclick(iovalue, ioo) {
if (iovalue != '') {
if (was_io != null && is_io == null) {
if (was_io.id != ioo.id) {
is_io=ioo;
if (is_io.value.toLowerCase().indexOf('http') == 0) {
window.open(is_io.value, '_blank', 'top=50,left=50,width=600,height=600');
//lasturlidea=is_io.value;
//setTimeout(tryurl,2000);
}
var wasio=was_io.value;
was_io.value=is_io.value;
is_io.value=wasio;
is_io=null;
was_io=null;
fixemailurl();
}
} else if (was_io == null) {
was_io=ioo;
if (was_io.value.toLowerCase().indexOf('http') == 0) {
window.open(was_io.value, '_blank', 'top=50,left=50,width=600,height=600');
//lasturlidea=was_io.value;
//setTimeout(tryurl,2000);
}
}
}
}
function accordianclick(aovalue,ao) {
usedc=false;
document.getElementById('retain').style.display='none';
document.getElementById('clear').style.display='none';
was_io=null;
is_io=null;
if (aovalue == "" && ao != null) {
aovalue=sofar;
}
if (aovalue != '') {
if (aovalue.split('a_')[1].split('_').length > 1) {
var vfrom=eval(aovalue.split('a_')[1].split('_')[0]);
var vto=eval(aovalue.split('a_')[1].split('_')[1]);
//document.title=vfrom + ' to ' + vto;
reordered=true;
document.getElementById('refreshurl').style.display='inline';
var wasio=oarray[eval(-1 + vfrom)];
var wasjo=document.getElementById('tdc' + [eval(0 + vfrom)]).innerHTML;
oarray[eval(-1 + vfrom)]=oarray[eval(-1 + vto)];
document.getElementById('tdc' + [eval(0 + vfrom)]).innerHTML=document.getElementById('tdc' + [eval(0 + vto)]).innerHTML;
oarray[eval(-1 + vto)]=wasio;
document.getElementById('tdc' + [eval(0 + vto)]).innerHTML=wasjo;
var huhc='';
var huhdelim='';
for (var ihj=0; ihj<oarray.length; ihj++) {
huhc+=huhdelim + eval(oarray[ihj]);
huhdelim=',';
}
oarrc=huhc;
ao.value='';
//alert(oarrc);
fixemailurl();
}
}
}
function accordiancontents(imax) {
var ij, ji, acont="";
if (imax < 2) {
return "";
} else {
for (ij=1; ij<=imax; ij++) {
//acont+="<h3>" + ij + "<h3><div><p><ul>";
acont+="<select onchange='accordianclick(this.value,this);'><option value=''>Swap " + ij + " for ... </option>";
for (ji=1; ji<=imax; ji++) {
//if (ji != ij) acont+="<li><a title='Swap row " + ij + " for row " + ji + "' id='aa_" + ij + "_" + ji + "' onclick='accordianclick(this);' href='#'>" + ji + "</a></li>";
if (ji != ij) acont+="<option title='Swap row " + ij + " for row " + ji + "' value='aa_" + ij + "_" + ji + "' id='aa_" + ij + "_" + ji + "'>" + ji + "</option>";
}
//acont+="</ul></p></div>";
acont+="</select><br>";
}
return acont;
}
}
function whichway() {
if (document.getElementById('i0').value.indexOf('@') != -1 && (document.getElementById('i0').value + ' ').toUpperCase() != (document.getElementById('i0').value + ' ') && (document.getElementById('i0').value + ' ').toLowerCase() != (document.getElementById('i0').value + ' ')) {
var zhr = new XMLHttpRequest();
var zform=new FormData();
//zform.append('inline', '');
var irect=document.getElementById('i0').getBoundingClientRect();
var jrect=eval('' + irect.bottom);
jrect+=40;
zform.append('doboth', '' + jrect);
if (document.getElementById('i0').value.indexOf('@') != -1 && document.getElementById('i0').value.indexOf('[') != -1 && document.getElementById('i0').value.indexOf(']') != -1) {
zform.append('to', document.getElementById('i0').value.split('[')[1].split(']')[0]);
zform.append('subj', 'My List to ' + document.getElementById('i0').value.split('[')[0].trim() + ' via [httpreferer] on [date] ... [files]');
} else {
zform.append('to', document.getElementById('i0').value);
zform.append('subj', 'My List to [name] via [httpreferer] on [date] ... [files]');
}
var bigstr='<html><head>' + document.head.innerHTML + '</head>' + document.body.outerHTML + '</html>';
bigstr='<html><head><meta charset="utf-8"/></head>' + document.body.outerHTML + '</html>';
bigstr=bigstr.replace('"i0i" value=""', '"i0i" value="' + document.getElementById('i0i').value + '"').replace('"i0i" value="My List"', '"i0i" value="' + document.getElementById('i0i').value + '"');
var trnumis=1, origb=bigstr;
while (document.getElementById('i' + trnumis)) {
bigstr=bigstr.replace('"qw' + trnumis + '" value=""', '"qw' + trnumis + '" value="' + document.getElementById('qw' + trnumis).value + '"');
bigstr=bigstr.replace('"i' + trnumis + '" value=""', '"i' + trnumis + '" value="' + document.getElementById('i' + trnumis).value + '"');
//if (origb == bigstr) { alert('why ' + trnumis); } else { alert(bigstr.split('"qw' + trnumis + '" value=')[1]); }
trnumis++;
}
zform.append('tdhuhta', bigstr);
//alert(bigstr.split('<style>')[eval(-1 + bigstr.split('<style>').length)].split('</style>')[0]);
zhr.open('post', '//www.rjmprogramming.com.au/PHP/emailhtml.php', true);
zhr.send(zform);
//alert('one');
} else if (document.getElementById('myemail').href.length <= ninehundred) {
//alert("document.getElementById('myemail').href.length=" + document.getElementById('myemail').href.length + " <= " + ninehundred);
ml_setCookie();
document.getElementById('myform').target='_self';
document.getElementById('myform').action='#';
document.getElementById('myform').method='GET';
document.getElementById('myemail').click();
} else if (eurl.indexOf('body=') != -1) {
if (1 == 1) {
document.getElementById('myform').target='myphp'; // '_self'
} else {
document.getElementById('myphp').style.position='absolute';
document.getElementById('myphp').style.top='0px';
document.getElementById('myphp').style.left='0px';
document.getElementById('myphp').style.width='100%';
document.getElementById('myphp').style.height='1200px';
document.getElementById('myphp').style.zIndex='9';
document.getElementById('myphp').style.display='block';
document.getElementById('myform').target='myphp';
}
document.getElementById('myform').action=document.URL.split('#')[0].split('?')[0].replace('.html','.php').replace('.htm','.php');
document.getElementById('myform').method='POST';
var purl=decodeURIComponent(eurl.split('body=')[1]);
document.getElementById('all').value=encodeURIComponent(purl.split('?')[1]);
//alert(document.getElementById('myform').action);
var zzhr = new XMLHttpRequest();
var zzform=new FormData();
if (document.getElementById('i0').value.indexOf('@') != -1 && document.getElementById('i0').value.indexOf('[') != -1 && document.getElementById('i0').value.indexOf(']') != -1) {
zzform.append('to', document.getElementById('i0').value.split('[')[1].split(']')[0]);
zzform.append('subj', 'My List to ' + document.getElementById('i0').value.split('[')[0].trim() + ' via [httpreferer] on [date] ... [files]');
} else {
zzform.append('to', document.getElementById('i0').value);
zzform.append('subj', 'My List to [name] via [httpreferer] on [date] ... [files]');
}
var zbigstr='<html><head>' + document.head.innerHTML + '</head>' + document.body.outerHTML + '</html>';
zbigstr='<html><head><meta charset="utf-8"/></head>' + document.body.outerHTML + '</html>';
zbigstr=zbigstr.replace('"i0i" value=""', '"i0i" value="' + document.getElementById('i0i').value + '"').replace('"i0i" value="My List"', '"i0i" value="' + document.getElementById('i0i').value + '"');
var ztrnumis=1, zorigb=zbigstr;
while (document.getElementById('i' + ztrnumis)) {
zbigstr=zbigstr.replace('"qw' + ztrnumis + '" value=""', '"qw' + ztrnumis + '" value="' + document.getElementById('qw' + ztrnumis).value + '"');
zbigstr=zbigstr.replace('"i' + ztrnumis + '" value=""', '"i' + ztrnumis + '" value="' + document.getElementById('i' + ztrnumis).value + '"');
ztrnumis++;
}
zzform.append('subj', document.getElementById('i0i').value);
zzform.append('tdhuhta', zbigstr);
zzhr.open('post', '//www.rjmprogramming.com.au/PHP/emailhtml.php', true);
zzhr.send(zzform);
//alert('two');
if (1 == 1) { return false; }
return true;
}
return false;
}
$(function() {
$( "#accordion" ).accordion();
});
</script>
</head>
<body style='background-color:yellow;' onload='ml_cookieVal(true); addlotsofrows();' onkeyup='usedc=false; was_io=null; is_io=null;'>
<h1 style='width:100%;text-align:center;'>My List</h1>
<h3 style='width:100%;text-align:center;'>RJM Programming - March, 2017</h3><br>
<form target='_self' id='myform' style='width:100%;text-align:center;' onsubmit="return whichway();" action='#' method='GET'>
<input type='hidden' name='all' id='all' value=''></input>Title for List: <input onblur='process(this);' type='text' name='subject' id='i0i' value='My List'></input><br><br>
<table id='mytable' border=20 style='background-color:orange;width:100%;text-align:center;'><tbody id='mytbody'>
<tr id='tr0'><th><a id='aaccordian' href='#' onclick='showacc();'>#</a><div id='accordian' style='display:none;'>
<!--h3>1</h3>
<div>
<p>
<ul>
<li><a id='aa_1_2' onclick='accordianclick(this);' href='#'>2</a></li>
<li><a id='aa_1_3' onclick='accordianclick(this);' href='#'>3</a></li>
</ul>
</p>
</div>
<h3>2</h3>
<div>
<p>
<ul>
<li><a id='aa_2_1' onclick='accordianclick(this);' href='#'>1</a></li>
<li><a id='aa_2_3' onclick='accordianclick(this);' href='#'>3</a></li>
</ul>
</p>
</div>
<h3>3</h3>
<div>
<p>
<ul>
<li><a id='aa_3_1' onclick='accordianclick(this);' href='#'>1</a></li>
<li><a id='aa_3_2' onclick='accordianclick(this);' href='#'>2</a></li>
</ul>
</p>
</div-->
</div></th><th><div style='display:inline;' title='Normal numerical sort' id='dsort_qw' onclick='sortby(1,this);'>⬇</div><div style='display:inline;' title='Reverse numerical sort' id='usort_qw' onclick='sortby(0,this);'>⬆ </div><input type=text name=wordsqw id=wordsqw value='Quantity or Weight' onblur='fixemailurl();' style='background-color:orange;'></input></th><th><div style='display:inline;' title='Normal alphabetic sort' id='dsort_i' onclick='sortby(1,this);'>⬇</div><div style='display:inline;' title='Reverse alphabetic sort' id='usort_i' onclick='sortby(0,this);'>⬆ </div><input type=text name=wordsi id=wordsi value='Item' onblur='fixemailurl();' style='background-color:orange;'></input></th></tr>
<tr id='tr1'><td id='tdc1' colspan=1><span ondrop="updatesofar(this);" draggable="true" ondragstart="updatesofar(this);" ondragover="updatesofar(this);" onclick="updatesofar(this);" id="span1">1⃣</span></td><td colspan=1><div id="dqw1" onclick="donclick(this);" title="Click to increase height"></div><input id='qw1' name='qw1' value='' onclick="valueclick(this.value,this);"></input></td><td colspan=1><div id="di1" onclick="donclick(this);" title="Click to increase height"></div><input style='width:90%;' onblur='process(this);' id='i1' name='i1' value='' onclick="valueclick(this.value,this);"></input></td></tr>
</tbody></table>
<br><br>
<input onclick="usedc=false; clearmaybe();" type=button id="retain" style="font-size:40px;width:15%;background-color:pink;height:60px;display:none;" value="Retain"></input><input onclick="location.href=document.URL.split('#')[0].split('?')[0] + '?clear=y';" type=button id="clear" style="font-size:40px;width:15%;background-color:pink;height:60px;display:none;" value="Clear"></input><input onclick="ml_setCookie(); location.href=decodeURIComponent(eurl.split('body=')[1]);" style='font-size:40px;width:15%;background-color:pink;height:60px;display:none;' type='button' id='refreshurl' value='Refresh' title='Refresh to show Emojis in numerical order'></input> <input title='Email To' style='font-size:40px;width:15%;background-color:pink;height:60px;' type='submit' name='email' value='Email to '></input> <input style='width:350px;' placeholder='Mix uppercase and lowercase for Inline HTML Email' type='text' name='emailee' onblur='process(this);' id='i0' value=''></input>
</form>
<a style='display:none;' id='myemail' href='mailto:fill.in@email.to?subject=My%20List&body='>Email</a>
<iframe name="myphp" id="myphp" style="display:none;" src='http://www.rjmprogramming.com.au/HTMLCSS/mylist.php?c=y' onload="cando=true; document.getElementById('myform').target='myphp'; document.getElementById('myform').action='http://www.rjmprogramming.com.au/HTMLCSS/mylist.php'; document.getElementById('myform').method='POST';" onerror="cando=false;"></iframe>
<input type=text style='position:absolute;top:-200px;left:-200px;' value=''></input>
</body>
</html>