<html>
<head>
<title>Swipe Media ... RJM Programming - August, 2025</title>
<meta id='myviewport' name='viewport' content='width=device-width, initial-scale=0.4, minimum-scale=0.1, maximum-scale=8, user-scalable=yes' >
<style>
td {
border: 1px dotted green;
}

a {
text-shadow:-1px 1px 1px #ff2d95;
background-color:rgba(255,255,255,0.3);
}

.inhouse {
vertical-align: bottom;
padding-bottom: 20px;
}

.inhouse::after {
font-size: 8px;
content: 'Media Gallery \a RJM Programming \a August, 2025 \a Thanks to Lorem Picsum at https://picsum.photos/ \a Thanks to YouTube at https://youtube.com \a ' attr(data-alt) attr(data-vid) attr(data-arb) attr(alt);
white-space: pre-wrap;
}

@media only screen and (min-device-width: 320px) and (max-device-width: 765px) and (orientation: landscape) {
span { padding: 4 12 8 12; }
button { font-size: 22px; border:1px solid gray; }
#femailthft { font-size: 28px; }
#fsmsthft { font-size: 28px; }
#fsavethft { font-size: 28px; }
#fplaythft { font-size: 28px; }
}

@media only screen and (min-device-width: 320px) and (max-device-width: 765px) and (orientation: portrait) {
span { padding: 5 5 15 5; }
button { font-size: 16px; border:1px solid gray; }
#femailthft { font-size: 28px; }
#fsmsthft { font-size: 28px; }
#fsavethft { font-size: 28px; }
#fplaythft { font-size: 28px; }
}

.eggtimer {
border-left-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='826' height='48' viewport='0 0 200 100' style='border-radius:15px;background-color:rgba(0,255,0,0.3);fill:black;font-family:Verdana;font-size:16px;'><text x='0%' y='80%'>\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\01f33f\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\01f33f\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\01f33f\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b</text></svg>");
border-right-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='826' height='48' viewport='0 0 200 100' style='border-radius:15px;background-color:rgba(0,255,0,0.3);fill:black;font-family:Verdana;font-size:16px;'><text x='0%' y='80%'>\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\01f33f\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\01f33f\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\01f33f\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b\0023f3\00231b</text></svg>");
border-left-image-slice: 45% 5%;
border-left-image-repeat: round;
border-right-image-slice: 45% 5%;
border-right-image-repeat: round;
}
</style>
<script type='text/javascript' src='/ytaudioonly.js?rand=34444113331463331444314344443w444e64e54824334694444443434444444442344444604344451313142358'></script>
<script type=text/javascript>

// Monitor scrolling

var asrequestedbystuff='', allowotm=true;
var dword='Disco';
var twcword='The Wrecking Crew';
var yrword='Yacht Rock';

var listword='videolist';
var twcvl=(('' + window.sessionStorage.getItem('the_wrecking_crew_alt_list')).replace(/^undefined$/g,'').replace(/^null$/g,'') != '' ? '&' + listword + '=' + encodeURIComponent(decodeURIComponent(('' + window.sessionStorage.getItem('the_wrecking_crew_alt_list'))).split('&')[0].split('#')[0]) : '');
var yrvl=(('' + window.sessionStorage.getItem('yacht_rock_alt_list')).replace(/^undefined$/g,'').replace(/^null$/g,'') != '' ? '&' + listword + '=' + encodeURIComponent(decodeURIComponent(('' + window.sessionStorage.getItem('yacht_rock_alt_list'))).split('&')[0].split('#')[0]) : '');
var dvl=(('' + window.sessionStorage.getItem('disco_alt_list')).replace(/^undefined$/g,'').replace(/^null$/g,'') != '' ? '&' + listword + '=' + encodeURIComponent(decodeURIComponent(('' + window.sessionStorage.getItem('disco_alt_list'))).split('&')[0].split('#')[0]) : '');

if (twcvl == '') {
twcvl=(('' + window.localStorage.getItem('the_wrecking_crew_alt_list')).replace(/^undefined$/g,'').replace(/^null$/g,'') != '' ? '&listvideo=' + thisencodeURIComponent(decodeURIComponent(('' + window.localStorage.getItem('the_wrecking_crew_alt_list'))).split('&')[0].split('#')[0]) : '');
if (twcvl != '') {
listword='listvideo';
twcword=(twcvl == '' ? 'The Wrecking Crew' : ('&' + listword + '=' + encodeURIComponent(decodeURIComponent(('' + window.localStorage.getItem('the_wrecking_crew_alt_list')))) == twcvl ? 'The Wrecking Crew' : decodeURIComponent(('' + window.localStorage.getItem('the_wrecking_crew_alt_list'))).replace(/\&/g,'#').split('#')[1]));
}
} else {
listword='videolist';
twcword=(twcvl == '' ? 'The Wrecking Crew' : ('&' + listword + '=' + encodeURIComponent(decodeURIComponent(('' + window.sessionStorage.getItem('the_wrecking_crew_alt_list')))) == twcvl ? 'The Wrecking Crew' : decodeURIComponent(('' + window.sessionStorage.getItem('the_wrecking_crew_alt_list'))).replace(/\&/g,'#').split('#')[1]));
}

if (yrvl == '') {
yrvl=(('' + window.localStorage.getItem('yacht_rock_alt_list')).replace(/^undefined$/g,'').replace(/^null$/g,'') != '' ? '&listvideo=' + thisencodeURIComponent(decodeURIComponent(('' + window.localStorage.getItem('yacht_rock_alt_list'))).split('&')[0].split('#')[0]) : '');
if (yrvl != '') {
listword='listvideo';
yrword=(yrvl == '' ? 'Yacht Rock' : ('&' + listword + '=' + encodeURIComponent(decodeURIComponent(('' + window.localStorage.getItem('yacht_rock_alt_list')))) == yrvl ? 'Yacht Rock' : decodeURIComponent(('' + window.localStorage.getItem('yacht_rock_alt_list'))).replace(/\&/g,'#').split('#')[1]));
}
} else {
listword='videolist';
yrword=(yrvl == '' ? 'Yacht Rock' : ('&' + listword + '=' + encodeURIComponent(decodeURIComponent(('' + window.sessionStorage.getItem('yacht_rock_alt_list')))) == yrvl ? 'Yacht Rock' : decodeURIComponent(('' + window.sessionStorage.getItem('yacht_rock_alt_list'))).replace(/\&/g,'#').split('#')[1]));
}


if (dvl == '') {
dvl=(('' + window.localStorage.getItem('disco_alt_list')).replace(/^undefined$/g,'').replace(/^null$/g,'') != '' ? '&listvideo=' + thisencodeURIComponent(decodeURIComponent(('' + window.localStorage.getItem('disco_alt_list'))).split('&')[0].split('#')[0]) : '');
if (dvl != '') {
listword='listvideo';
dword=(dvl == '' ? 'Disco' : ('&' + listword + '=' + encodeURIComponent(decodeURIComponent(('' + window.localStorage.getItem('disco_alt_list')))) == dvl ? 'Disco' : decodeURIComponent(('' + window.localStorage.getItem('disco_alt_list'))).replace(/\&/g,'#').split('#')[1]));
}
} else {
listword='videolist';
dword=(dvl == '' ? 'Disco' : ('&' + listword + '=' + encodeURIComponent(decodeURIComponent(('' + window.sessionStorage.getItem('disco_alt_list')))) == dvl ? 'Disco' : decodeURIComponent(('' + window.sessionStorage.getItem('disco_alt_list'))).replace(/\&/g,'#').split('#')[1]));
}

var gottentowith='';
if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) {
gottentowith=' (accessed via tap of V in slivery leftmost table cell down the bottom) ';
}
var gtitle='', gok=true;
var ifire=-1, firedup=['','Movie Soundtracks','Slow Classical Movements','Solo Guitar','Solo Sax','Mr Smith Goes To Washington',' Disco','The Wrecking Crew','Yacht Rock'];
var speechtotextwo=null;
var secondsidea='';
var alttitle=(location.search.split('atitle=')[1] ? decodeURIComponent(location.search.split('atitle=')[1].split('&')[0]) : '');
var altlh='#radio', asa=false, template='';
var cntcurs=0, lastcurs=0, altlen=-1, ordermatters=[], mattersorder=[], firstidx=-1, ffidx=-1, firstduris='', iij=0;
var completionmatters=(document.URL.indexOf('completionmatters=') != -1 ? true : false);
//var ordmatters=(document.URL.indexOf((document.URL.indexOf('&completionmatters=y&youtube=Klh7sAv9hu4,hMOORQ1Mt2s,k4V3Mo61fJM,-p6OH7FoWoQ,AIOAlaACuv4,HTzGMEfbnAw,CW_ZiojrkVY,FtE3hoR_Nvo') == -1 && document.URL.indexOf('youtube=' + encodeURIComponent('Klh7sAv9hu4,hMOORQ1Mt2s,k4V3Mo61fJM,-p6OH7FoWoQ,AIOAlaACuv4,HTzGMEfbnAw,CW_ZiojrkVY,FtE3hoR_Nvo')) == -1 ? 'ordmatters=' : 'ordJUNKmatters=')) != -1 ? true : false);
var ordmatters=(document.URL.indexOf('ordmatters=') != -1 ? true : false);
var cursanim=[' ',' | ', ' / ', ' - ', ' \ '];
var cursanimtwo=[' ',' | ', ' / ', ' - ', ' \ '];
if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i) || 2 == 2) { // phase of moon emojis for pseudo cursor purposes
cursanimtwo[1]=' ' + String.fromCodePoint(127761) + ' ';
cursanimtwo[2]=' ' + String.fromCodePoint(127762) + ' ';
cursanimtwo[3]=' ' + String.fromCodePoint(127763) + ' ';
cursanimtwo[4]=' ' + String.fromCodePoint(127764) + ' ';
for (iij=127765; iij<=127768; iij++) {
cursanimtwo.push(' ' + String.fromCodePoint(iij) + ' ');
cursanim.push(cursanim[eval(eval(iij - 127764) % 5)]);
}
for (iij=127769; iij<=127772; iij++) {
cursanimtwo.push(' ' + String.fromCodePoint(iij) + ' ');
cursanim.push(cursanim[eval(eval(iij - 127768) % 5)]);
}
for (iij=127773; iij<=127773; iij++) {
cursanimtwo.push(' ' + String.fromCodePoint(iij) + ' ');
cursanim.push(cursanim[eval(eval(iij - 127772) % 5)]);
}
}
var gccount=1, gccsofar='-987';
var dsofar='', wsofar='', czhr=null, pho=false;
var isLandscape = window.matchMedia("(orientation: landscape)").matches;
var isPortrait = window.matchMedia("(orientation: portrait)").matches;

var reipad='|<br>|<br>|<br>|<br>|<br>';
if (navigator.userAgent.match(/iPad/i)) {
reipad='';
}

var gelev='';
var gduris=0;
var gtitis='';

var okdsofar='';
var setoff=false;
var oldradwo=null;
var jload=0;
var jmedias=[];
var relh='', relxh='';
var gtdzero='> </td>';
var dw='';
var ytwo=null;
var radioblurb='', didothers=false, ioisid='';
var lastrecall='';
var doc_URL=document.URL;
var userms=document.URL.replace(/\%23http$/g,'#http').split('#');
if (eval('' + userms.length) >= 2) {
relxh=('' + document.URL).replace(/\%23http$/g,'#http').split(('' + document.URL).replace(/\%23http$/g,'#http').split('#')[0])[1].replace(/\#http$/g,'');
}
relxh='';
var iuser=1;
var independent=true;
var argshuffle='';
if (document.URL.indexOf('shuffle=') != -1) { argshuffle='&shuffle=y'; }

var storedvurl=[];
var storedvtitle=[];
var storedvduration=[];
var lasttitleis='', lkj=0;


var curvaridx=0;
var variants=['cannotenda2','cAnnotenda2','caNnotenda2','canNotenda2','cannOtenda2','cannoTenda2','cannotEnda2','cannoteNda2','cannotenDa2','cannotendA2','cANnotenda2','caNNotenda2','canNOtenda2','Cannotenda2','CAnnotenda2','CaNnotenda2','CanNotenda2','CannOtenda2','CannoTenda2','CannotEnda2','CannoteNda2','CannotenDa2','CannotendA2','CANnotenda2','CaNNotenda2','CanNOtenda2'];
var variantt=['cannotenda2','cAnnotenda2','caNnotenda2','canNotenda2','cannOtenda2','cannoTenda2','cannotEnda2','cannoteNda2','cannotenDa2','cannotendA2','cANnotenda2','caNNotenda2','canNOtenda2','Cannotenda2','CAnnotenda2','CaNnotenda2','CanNotenda2','CannOtenda2','CannoTenda2','CannotEnda2','CannoteNda2','CannotenDa2','CannotendA2','CANnotenda2','CaNNotenda2','CanNOtenda2'];
var variantu=['cannotenda2','cAnnotenda2','caNnotenda2','canNotenda2','cannOtenda2','cannoTenda2','cannotEnda2','cannoteNda2','cannotenDa2','cannotendA2','cANnotenda2','caNNotenda2','canNOtenda2','Cannotenda2','CAnnotenda2','CaNnotenda2','CanNotenda2','CannOtenda2','CannoTenda2','CannotEnda2','CannoteNda2','CannotenDa2','CannotendA2','CANnotenda2','CaNNotenda2','CanNOtenda2'];
var origlenv=eval('' + variants.length);

var sofar=';', gplist='';

var curtdfocus='td0001', curtdn=1, pos3=-1, pos4=-1, lastpos3=-1, lastpos4=-1, readyforswipe=false, vspos3='-1', vspos4='-1';
var doonce=false;
var ytlist='', prefix='';
var thingstot=[''], lasttdid='', lastop='0.0', afi=null;

var isOpera = (navigator.userAgent.match(/Opera|OPR\//) ? true : false);
var agentruew=eval('' + document.documentElement.clientWidth);
var agentrueh=eval('' + document.documentElement.clientHeight);
var amax=Math.max(agentruew,agentrueh);
var amin=Math.min(agentruew,agentrueh);
amin-=60; // used to be -60
if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i) && isLandscape) {
amin-=110;
} else if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i) && isPortrait) {
amin-=90;
}
//if (isOpera) {
// amin-=80;
// alert('Here');
//}
var numc=eval(2 * Math.ceil(eval(amax / amin)));
var iurl=0, jj=1;
var purlideas='';
var urls=['//picsum.photos/' + amin + '/' + amin + '/', '//www.rjmprogramming.com.au/ITblog/' + amin + '/' + amin + '/'];
//var urls=['//www.rjmprogramming.com.au/ITblog/' + amin + '/' + amin + '/', '//www.rjmprogramming.com.au/ITblog/' + amin + '/' + amin + '/'];
var bcol=['yellow', '#f0f0f0'];
var vidids=[];
var dethingos=[];
if (document.URL.indexOf('&asrequested=you') == -1) {
vidids=((location.search + ('' + location.hash).replace(/^null/g,'').replace(/^undefined/g,'').replace(/^\#/g,'&')).split('youtube=')[1] ? decodeURIComponent(decodeURIComponent((location.search + ('' + location.hash).replace(/^null/g,'').replace(/^undefined/g,'').replace(/^\#/g,'&')).split('youtube=')[1].split('&')[0])) : '').split(',');
} else {
vidids=((location.search + ('' + location.hash).replace(/^null/g,'').replace(/^undefined/g,'').replace(/^\#/g,'&')).split('youtube=')[1] ? thisdecodeURIComponent(decodeURIComponent((location.search + ('' + location.hash).replace(/^null/g,'').replace(/^undefined/g,'').replace(/^\#/g,'&')).split('youtube=')[1].split('&')[0])) : '').split(',');
}
var vididslength=eval('' + vidids.length);
if (vididslength > 27) {
var newarr=[];
for (var imb=0; imb<27; imb++) {
newarr.push(vidids[imb]);
}
vidids=[];
for (var jmb=0; jmb<27; jmb++) {
vidids.push(newarr[jmb]);
}
vididslength=eval('' + vidids.length);
}
var isaudio=(location.search + ('' + location.hash).replace(/^null/g,'').replace(/^undefined/g,'').replace(/^\#/g,'&')).split('audioyoutube=')[1] ? true : false;

var idealis=eval('' + vidids.length);
//alert('' + vididslength + ' ' + idealis);
if (ordmatters) {
for (lkj=0; lkj<vidids.length; lkj++) {
mattersorder.push(vidids[lkj]);
ordermatters.push(lkj);
}
}
//if (completionmatters) {
// alert(vidids.length);
//}

var gdal='';

function thisencodeURIComponent(inida) {
var thingos=inida.split(',');
for (var ity=0; ity<thingos.length; ity++) {
document.getElementById('bdiscoavb').setAttribute('data-you', '&asrequested=you');
alert('3:' + asrequestedbystuff);
asrequestedbystuff+='|' + thingos[ity] + '=You';
alert('33:' + asrequestedbystuff);
}
return encodeURIComponent(inida);
}

function andlateris() {
//alert('prewow ' + dethingos.length);
for (var ity=0; ity<dethingos.length; ity++) {
document.getElementById('bdiscoavb').setAttribute('data-you', '&asrequested=you');
//alert('2:' + asrequestedbystuff);
asrequestedbystuff+='|' + dethingos[ity] + '=You';
//alert('22:' + asrequestedbystuff);
}
}

function thisdecodeURIComponent(jnida) {
var inida=decodeURIComponent(jnida);
//alert('apreprewow ' + inida);
dethingos=inida.split(',');
//alert('preprewow ' + dethingos.length);
if (4 == 45) {
andlateris();
} else {
setTimeout(andlateris, 6000);
}
//alert(inida);
return inida;
}

function alert_delayed() {
if (gdal.trim() != '') {
var thisdal=gdal;
gdal='';
alert(thisdal);
}
}

function delayed_alert(ofw) {
gdal=ofw;
if (gdal.trim() != '') {
setTimeout(alert_delayed, 2000);
}
}

function getrequestedbystuff(viavid, titleo) {
var tds=document.getElementsByTagName('td'), ltds=0;
if (titleo) {
try {
titleo.title='';
} catch(hjgfjh) { }
}
if (asrequestedbystuff.indexOf('|' + viavid + '=') != -1) {
for (ltds=0; ltds<tds.length; ltds++) {
if (tds[ltds].innerHTML.indexOf(viavid) != -1) {
if (titleo) {
try {
titleo.title='As requested by ' + asrequestedbystuff.split('|' + viavid + '=')[1].split('|')[0].replace('as requested by', '') + ' ... ';
if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) {
if (titleo.outerHTML.indexOf(' ontouchdown=') == -1) {
titleo.ontouchdown=function(event){ if (event.target.title.trim().replace('honethree','') != '') { delayed_alert(event.target.title); } };
}
} else {
if (titleo.outerHTML.indexOf(' onmousedown=') == -1) {
titleo.onmousedown=function(event){ if (event.target.title.trim().replace('honethree','') != '') { delayed_alert(event.target.title); } };
}
}
} catch(hjgfjh) { }
}
tds[ltds].setAttribute('data-arb', ' ... as requested by ' + asrequestedbystuff.split('|' + viavid + '=')[1].split('|')[0].replace('as requested by', '') + ' ... ');
}
}
return ' ... as requested by ' + asrequestedbystuff.split('|' + viavid + '=')[1].split('|')[0].replace('as requested by', '') + ' ... ';
}
for (ltds=0; ltds<tds.length; ltds++) {
if (tds[ltds].innerHTML.indexOf(viavid) != -1) {
tds[ltds].setAttribute('data-arb', '');
}
}
return '';
}

function windowopen(w1,w2,w3) {
setTimeout(function(){ window.open(w1,w2,w3); }, 4000);
}

function getcurv() {
return curvaridx;
}

function setcurv(viai) {
if (viai >= eval('' + variants.length)) {
while (viai >= eval('' + variants.length)) {
variants.push(variants[eval(viai % origlenv)]);
variantt.push(variants[eval(viai % origlenv)]);
variantu.push(variants[eval(viai % origlenv)]);
}
}
curvaridx=eval('' + viai);
}

function getvart(viai) {
if (viai >= eval('' + variants.length)) {
while (viai >= eval('' + variants.length)) {
variants.push(variants[eval(viai % origlenv)]);
variantt.push(variants[eval(viai % origlenv)]);
variantu.push(variants[eval(viai % origlenv)]);
}
}
return '' + variantt[viai];
}

function getvaru(viai) {
if (viai >= eval('' + variants.length)) {
while (viai >= eval('' + variants.length)) {
variants.push(variants[eval(viai % origlenv)]);
variantt.push(variants[eval(viai % origlenv)]);
variantu.push(variants[eval(viai % origlenv)]);
}
}
return '' + variantu[viai];
}

function getvars(viai) {
if (viai >= eval('' + variants.length)) {
while (viai >= eval('' + variants.length)) {
variants.push(variants[eval(viai % origlenv)]);
variantt.push(variants[eval(viai % origlenv)]);
variantu.push(variants[eval(viai % origlenv)]);
}
}
return '' + variants[viai];
}

function createplaylist(insvalo) {
gok=false;
var tdsare=[], itds=0, itdone=false;
var oklast=['A','E','I','M','Q','U','Y','c','g','k','o','s','w','0','4','8'];
var argshuf='';
var plist=null;
if (('' + getaltlh(false)).replace('#radio','') != '') {
if (gplist.trim() != '') {
plist=gplist;
gplist='';
} else {
plist=prompt('Enter YouTube 11 character code video (comma separated) or audio stream only of video (semicolon separated) list to Radio Play (and add ! to start in shuffle mode and/or # to honour the order you enter and/or & to ensure whole list passes through) ... or a YouTube Search String basis to create a playlist via a Radio' + String.fromCodePoint(128251) + '? button to activate, later. Double click on this cell for playlist redefinitions. Enter altrp for an alternative Radio Play webpage.', '');
}
if (plist != null) {
if (plist.toLowerCase() == 'altrp') {
getaltlh(true);
return '';
}
}
} else {
if (gplist.trim() != '') {
plist=gplist;
gplist='';
} else {
plist=prompt('Enter YouTube 11 character code video (comma separated) or audio stream only of video (semicolon separated) list to Radio Play (and add ! to start in shuffle mode and/or # to honour the order you enter and/or & to ensure whole list passes through) ... or a YouTube Search String basis to create a playlist via a Radio' + String.fromCodePoint(128251) + '? button to activate, later. Double click on this cell for playlist redefinitions.', '');
}
}
if (plist != null) {
if (plist.trim() != '') {
if (plist.indexOf('&') != -1) { completionmatters=true; plist=plist.replace(/\&/g,''); argshuf+='&completionmatters=y'; }
if (plist.indexOf('#') != -1) { ordmatters=true; plist=plist.replace(/\#/g,''); argshuf+='ºatters=y'; }
if (plist.trim().indexOf(' ') != -1 || eval('' + plist.trim().split(',')[0].split(';')[0].length) != 11 || oklast.indexOf(plist.trim().split(',')[0].split(';')[0].slice(-1)) == -1) {
tdsare=document.getElementsByTagName('td');
for (itds=0; itds<tdsare.length; itds++) {
if (!itdone && tdsare[itds].innerHTML == '' && ('' + tdsare[itds].id) != 'td0001') {
itdone=true;
tdsare[itds].innerHTML='<iframe style="width:100%;height:100%;" id=karsearch name=karsearch src="/HTMLCSS/karaoke_youtube_api.htm?youtubeid=++++++++++++' + encodeURIComponent(plist.trim()) + '&minimize=y&youtube_duration=&email=&emoji=on&clickcheck=y"></iframe>';
tdsare[itds].scrollIntoView();
}
}
} else {
if (plist.replace(/\!$/g,'') != plist) { argshuf+='&shuffle=y'; }
if (plist.indexOf(';') != -1 && plist.indexOf(',') == -1) {
console.warn('gccOunt=' + gccount + ' and vidids.length=' + vididslength);
window.open(document.URL.split('?')[0].split('#')[0] + '?isradio=y' + argshuf + '&audioyoutube=' + encodeURIComponent(extraatendmaybe(plist.replace(/\;/g,',').replace(/\!$/g,''),'isradio=y' + argshuf)),'_blank');
} else {
console.warn('gccount=' + gccouNt + ' and vidids.length=' + vididslength);
window.open(document.URL.split('?')[0].split('#')[0] + '?isradio=y' + argshuf + '&youtube=' + encodeURIComponent(extraatendmaybe(plist.replace(/\;/g,',').replace(/\!$/g,''),'isradio=y' + argshuf)),'_blank');
}
}
}
}
setTimeout(function(){ gok=true; }, 5000);
}

function emailsms(insvalo, defeors) {
gok=false;
var insval=insvalo.title, afi=null, saveidea='tube_' + document.title.split(' ...')[0].replace(/\ /g,'_') + '_' + ( ('' + Math.floor(Math.random() * 19897654)) + ('' + Math.floor(Math.random() * 19897654)) + ('' + Math.floor(Math.random() * 19897654)) + '000000000000000000000000000').substring(0,27);
var eors=''; //prompt('Enter an email address or SMS number to send to?', '');
if (defeors.trim() != '') { eors=defeors; }
if (eors != null) {
if (insval.toLowerCase().indexOf('save') != -1) {
var nsi=prompt('Enter name for your recallable save.', saveidea);
if (nsi != null) {
if (('' + nsi).trim() != '') {
window.localStorage.setItem(nsi, encodeURIComponent(doc_URL));
document.getElementById('fsavethft').title+=' ... last save to ' + nsi;
document.getElementById('fsavethft').style.border='3px dotted yellow';
if (nsi.indexOf('tube_') == 0) {
var lhalt=getaltlh(false);
if (lhalt.replace('#radio','') != '') {
window.localStorage.setItem(nsi.replace('tube_', 'esp_ornot_esp_'), encodeURIComponent(lhalt));
document.getElementById('fsavethft').title+=' ... last save to ' + nsi.replace('tube_', 'esp_ornot_esp_');
document.getElementById('fsavethft').style.border='3px dotted yellow';
}
}
}
}
} else if (eors.indexOf('@') != -1 || insval.toLowerCase().indexOf('mail') != -1) {
afi=document.createElement('a');
afi.target='_top';
afi.href='mailto:' + eors + '?subject=' + encodeURIComponent(document.title.split(' ...')[0] + ' ... ') + 'YouTube%20Video%20Playlist%20Idea&20...&body=' + encodeURIComponent(doc_URL);
document.head.appendChild(afi);
afi.click();
} else if (insval.toLowerCase().indexOf('sms') != -1 || (eors.trim() != '' && eors.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,'').trim() != '')) {
afi=document.createElement('a');
afi.target='_top';
afi.href='sms:' + eors + '&body=' + encodeURIComponent(doc_URL);
document.head.appendChild(afi);
afi.click();
}
}
setTimeout(function(){ gok=true; }, 5000);
}

function getaltlh(woize) {
var ispsa=1, jspa=1, spsa=[], jspsa=0;
if (document.getElementById('divtitles')) {
if (document.getElementById('divtitles').innerHTML.indexOf('</span>') != -1) {
altlh='#radio';
spsa=document.getElementById('divtitles').innerHTML.split('</span>');
for (jspsa=0; jspsa<vidids.length; jspsa++) {
for (ispsa=1; ispsa<spsa.length; ispsa+=2) {
if (spsa[ispsa].split('|')[eval(-1 + spsa[ispsa].split('|').length)].split('#')[0].trim() == vidids[jspsa] && altlh.indexOf('#' + spsa[ispsa].split('|')[eval(-1 + spsa[ispsa].split('|').length)].split('#')[0].trim()) == -1) {
altlh+='#' + spsa[ispsa].split('|')[eval(-1 + spsa[ispsa].split('|').length)].split('#')[0];
if (spsa[eval(-1 + eval('' + ispsa))].split('>')[1].indexOf('.') == -1) {
altlh+='#' + eval(30 + eval('' + spsa[eval(-1 + eval('' + ispsa))].split('>')[1])) + '.000';
} else {
altlh+='#' + eval(30 + eval('' + spsa[eval(-1 + eval('' + ispsa))].split('>')[1]));
}
if (spsa[ispsa].indexOf('#') == -1) {
altlh+='#YouTube%20Video%20' + ispsa;
} else {
altlh+='#' + encodeURIComponent(spsa[ispsa].split('#')[1]);
}
}
}
}
}
if (woize && altlh.replace('#Radio','') != '') {
oldradwo=window.open('//www.rjmprogramming.com.au/esp_ornot_esp.html' + altlh,'_blank','top=0,left=0,width=' + screen.width + 'height=' + screen.height);
}
return altlh;
}
}

function get_doc() {
return '' + doc_URL;
}

function get_docurl() {
return '' + doc_URL;
}

function mod_docurl(fromst, tost) {
if (fromst == '?' && tost.substring(0,1) == '?' && tost.indexOf('=') != -1) {
//alert(tost);
if (doc_URL.indexOf(tost.substring(1).split('=')[0] + '=') == -1) {
doc_URL=doc_URL.replace(fromst, tost);
}
} else {
doc_URL=doc_URL.replace(fromst, tost);
}
}

function onl() {
var spans=[], jspan=0;

for (var ii=1; ii<=numc; ii++) {
if (document.getElementById('td' + ('0000' + ii).slice(-4))) {
document.getElementById('td' + ('0000' + ii).slice(-4)).style.backgroundImage="url('" + urls[eval(ii % eval('' + urls.length))] + "?rand=" + Math.floor(Math.random() * 1987865) + "')";
} else {
setTimeout(function(){ document.getElementById('myswiperow').innerHTML+='<td id="td' + ('0000' + jj).slice(-4) + '" style="min-width:' + amin + 'px;min-height:' + amin + 'px;width:' + amin + 'px;height:' + amin + "px;background:url('" + urls[eval(ii % eval('' + urls.length))] + "?rand=" + Math.floor(Math.random() * 1987865) + "');" + 'background-size:contain;background-repeat:no-repeat;"></td>'; jj++; }, eval(ii * 1000));
}
}

// isradio=YES&completionmatters=y&shuffle=y&youtube=
if (document.URL.toLowerCase().indexOf('isradio=yes') != -1 && document.URL.toLowerCase().indexOf('youtube=') != -1 && document.URL.toLowerCase().indexOf('audio') == -1) {
spans=document.getElementsByTagName('span');
for (jspan=0; jspan<spans.length; jspan++) {
if (('' + spans[jspan].title).indexOf('A-V') != -1) {
//alert('this one invisible ' + spans[jspan].outerHTML);
spans[jspan].style.border='1px solid transparent';
} else if (('' + spans[jspan].title).indexOf('A+V') != -1) {
//alert('this one visible ' + spans[jspan].outerHTML);
spans[jspan].style.border='1px solid red';
}
}
} else if (document.URL.toLowerCase().indexOf('isradio=yes') != -1 && document.URL.toLowerCase().indexOf('youtube=') != -1 && document.URL.toLowerCase().indexOf('audio') != -1) {
spans=document.getElementsByTagName('span');
for (jspan=0; jspan<spans.length; jspan++) {
if (('' + spans[jspan].title).indexOf('A+V') != -1) {
//alert('that one invisible ' + spans[jspan].outerHTML);
spans[jspan].style.border='1px solid transparent';
} else if (('' + spans[jspan].title).indexOf('A-V') != -1) {
//alert('that one visible ' + spans[jspan].outerHTML);
spans[jspan].style.border='1px solid red';
}
}
}
}

function opup() {
if (eval('' + lastop) < 1.0) {
lastop='' + eval(0.1 + eval('' + lastop));
if (eval('' + thingstot.length) > 1) {
for (var inm=1; inm<thingstot.length; inm++) {
if (thingstot[inm].indexOf(lastdid + ':') != -1) {
document.getElementById(thingstot[inm].split(lastdid + ':')[1]).style.opacity='' + lastop;
}
}
}
if (eval('' + lastop) < 1.0) {
setTimeout(opup, 1000);
} else {
lastop='1.0';
for (var inm=1; inm<thingstot.length; inm++) {
if (thingstot[inm].indexOf(lastdid + ':') != -1) {
document.getElementById(thingstot[inm].split(lastdid + ':')[1]).style.opacity='' + lastop;
}
}
lastdid='';
lastop='0.0';
}
}
}

function refresh(ictid) {
var ict=eval('' + ictid.replace('td','').replace(/^0/g,'').replace(/^0/g,'').replace(/^0/g,'').replace(/^0/g,''));
//alert('Refreshing cell ' + ict);
//ict=1;
if (document.getElementById(ictid).outerHTML.split('>')[0].indexOf('url(') != -1) {
if (eval('' + thingstot.length) > 1) {
for (var inm=1; inm<thingstot.length; inm++) {
if (thingstot[inm].indexOf(ictid + ':') != -1) {
lastop='0.0';
lastdid='' + ictid;
document.getElementById(thingstot[inm].split(ictid + ':')[1]).style.opacity='' + lastop;
}
}
setTimeout(opup, 5000);
}
} else {
document.getElementById(ictid).style.cursor='progress';
document.getElementById(ictid).style.backgroundImage="url('" + urls[eval(ict % eval('' + urls.length))] + "?rand=" + Math.floor(Math.random() * 1987865) + "')";
//document.getElementById(ictid).style.cursor='crosshair';
}
}

function checkthen(ict) {
var kj=0;
if (document.getElementById('td' + ('0000' + ict).slice(-4))) {
if (document.getElementById('td' + ('0000' + ict).slice(-4)).outerHTML.indexOf('background-image:') == -1) {
document.getElementById('td' + ('0000' + ict).slice(-4)).style.cursor='progress';
document.getElementById('td' + ('0000' + ict).slice(-4)).style.backgroundImage="url('" + urls[eval(ict % eval('' + urls.length))] + "?rand=" + Math.floor(Math.random() * 1987865) + "')";
//document.getElementById('td' + ('0000' + ict).slice(-4)).style.cursor='crosshair';
for (kj=1; kj<=2; kj++) {
if (document.getElementById('td' + ('0000' + eval(kj + eval('' + ict))).slice(-4))) {
if (document.getElementById('td' + ('0000' + eval(kj + eval('' + ict))).slice(-4)).outerHTML.indexOf('background-image:') == -1) {
document.getElementById('td' + ('0000' + eval(kj + eval('' + ict))).slice(-4)).style.cursor='progress';
document.getElementById('td' + ('0000' + eval(kj + eval('' + ict))).slice(-4)).style.backgroundImage="url('" + urls[eval(eval(kj + eval('' + ict)) % eval('' + urls.length))] + "?rand=" + Math.floor(Math.random() * 1987865) + "')";
//document.getElementById('td' + ('0000' + eval(kj + eval('' + ict))).slice(-4)).style.cursor='crosshair';
}
}
}
}
if (3 == 5 && navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i) && document.URL.indexOf('audioyoutube=') != -1) {
curtdn=curtdn;
} else {
if (ict != curtdn) {
document.getElementById('td' + ('0000' + ict).slice(-4)).scrollIntoView();
curtdn=eval('' + ict);
}
}
}
}

function swipechk(ev, ismove) {
if (document.URL.indexOf('youtube=') == -1) {
if (ev.touches) {
if (ev.touches[0].pageX) {
pos3 = ev.touches[0].pageX;
pos4 = ev.touches[0].pageY;
} else {
pos3 = ev.touches[0].clientX;
pos4 = ev.touches[0].clientY;
}
//console.log('pos3 = ' + pos3 + ',pos4 = ' + pos4);
} else if (ev.clientX || ev.clientY) {
pos3 = ev.clientX;
pos4 = ev.clientY;
//console.log('pos3 = ' + pos3 + ' ,pos4 = ' + pos4);
} else {
pos3 = ev.pageX;
pos4 = ev.pageY;
//console.log('pos3 = ' + pos3 + ', pos4 = ' + pos4);
}

if (lastpos3 >= 0 && pos3 >= 0 && readyforswipe && ismove) {
if (lastpos3 > pos3) {
if (Math.abs(lastpos3 - pos3) > 5 && Math.abs(lastpos3 - pos3) > Math.abs(lastpos4 - pos4)) {
curtdn--;
if (curtdn <= 0) {
curtdn++;
} else {
checkthen(curtdn);
readyforswipe=false;
setTimeout(function(){ curtdfocus='td' + ('0000' + curtdn).slice(-4); window.scrollBy(-amin, 0); }, 1000);
pos3=-1;
pos4=-1;
lastpos3=-1;
lastpos4=-1;
}
return '';
} else {
return '';
}
} else if (pos3 > lastpos3 && readyforswipe && ismove) {
if (Math.abs(lastpos3 - pos3) > 5 && Math.abs(lastpos3 - pos3) > Math.abs(lastpos4 - pos4)) {
curtdn++;
if (curtdn > eval(100 * numc)) {
curtdn--;
} else {
checkthen(curtdn);
readyforswipe=false;
setTimeout(function(){ curtdfocus='td' + ('0000' + curtdn).slice(-4); window.scrollBy(amin, 0); }, 1000);
pos3=-1;
pos4=-1;
lastpos3=-1;
lastpos4=-1;
}
return '';
} else {
return '';
}
}
}

if (!ismove) {
lastpos3=-1;
lastpos4=-1;
} else if (pos3 >= 0) {
lastpos3=pos3;
lastpos4=pos4;
}
}
}

function getdur(inytid, indef) {
var outdef='' + indef;

return outdef;
}

function grabcontent(idx) {
var mone=1;
var suffix='', starth='', endh='', istarth='', iendh='', disn='', ayes=false, tog='', argaudio='';
if ((';' + idx + ';') != ';;') {
if (gccsofar.indexOf(';' + idx + ';') == -1 || 9 == 9) {
if (gccsofar.indexOf(';' + idx + ';') != -1) {
mone=0;
//document.title=gccsofar;
}
//gccount++;
//if (completionmatters) { // && gccount < eval('' + vididslength)) {
// document.title='' + gccount + ' Vs ' + vididslength + ' vs ' + gccsofar;
//}
gccsofar+=';' + idx + ';';
}
}
if (firstidx == -1) {
if (idx > 0) {
firstidx=eval('' + idx);
ffidx=firstidx;
firstduris=getdur(vidids[idx],'22234');
}
}
if ((1 == 1 || !navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) && document.URL.indexOf('isradio=') != -1 && document.URL.indexOf('youtube=') != -1 && (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i) || document.URL.indexOf('audioyoutube=') == -1)) {
if (document.URL.indexOf('audioyoutube=') != -1) {
argaudio='&justaudio=';
//alert('Audio here');
isaudio=false;
}
ayes=true;
tog='td0001';
if (eval('' + idx) > 1) {
starth='!--';
endh='--';
disn='display:none;';
}
}
//alert(('' + vidids[idx]));
//if (('' + vidids[idx]).toLowerCase() == 'cannotenda2') {
// alert('Where ' + vidids[0] + ' idx=' + idx + ' vs ' + eval('' + vididslength));
//}
if (vidids[0] != '') {
if (idx < eval('' + vididslength)) {
mone=0; // new line
gccount+=mone; // new position
var cellno=eval(1 + eval('' + idx));
if (eval('' + vidids[idx].length) == 11) {
if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) {
suffix='<br><' + starth + 'div id="div' + ('0000' + eval(1 + idx)).slice(-4) + '"></div' + endh + '>';
}
if (isaudio) {
thingstot.push('td' + ('0000' + eval(1 + idx)).slice(-4) + ':if' + idx);
thingstot.push('td' + ('0000' + eval(1 + idx)).slice(-4) + ':sp' + idx);
thingstot.push('td' + ('0000' + eval(1 + idx)).slice(-4) + ':a' + idx);
if (suffix != '') {
thingstot.push('td' + ('0000' + eval(1 + idx)).slice(-4) + ':div' + + ('0000' + eval(1 + idx)).slice(-4));
}
if (eval('' + idx) == 1 && ayes) {
if (('' + window.sessionStorage.getItem('loop_' + vidids[idx])).replace(/^undefined/g,'').replace(/^null/g,'').trim() != '') {
window.sessionStorage.removeItem('loop_' + vidids[idx]);
}
//if (vidids[idx].toLowerCase() == 'cannotenda2') { alert('Here'); }
if (vidids[idx].toLowerCase() == 'cannotenda2') {
//alert('Here');
gtdzero='><' + istarth + 'iframe onload=pcheckif(this); id=if' + idx + ' style="display:none;zoom:0.7;width:100%;height:70%;float:top;" src="//www.rjmprogramming.com.au/HTMLCSS/karaoke_youtube_api.htm?youtubeid=0Gz_7am23rk' + argshuffle + argaudio + '&youtube_duration=' + getdur('0Gz_7am23rk','22234') + '&unknowndur=y&email=&email=&emoji=on&c0=off&i0=0&j0=' + getdur('0Gz_7am23rk','22234') + '&i1=&j1=&i2=&j2=&i3=&j3=&i4=&j4=&i5=&j5=&i6=&j6=&i7=&j7=&i8=&j8=&i9=&j9=&i10=&j10=&i11=&j11=&i12=&j12=&i13=&j13=&i14=&j14=&i15=&j15=&i16=&j16=&i17=&j17=&i18=&j18=&i19=&j19=&i20=&j20=&i21=&j21=&i22=&j22=&i23=&j23=&i24=&j24=&i25=&j25=&i26=&j26=&i27=&j27=&i28=&j28=&i29=&j29=&rand=' + Math.floor(Math.random() * 1989786) + relxh + '#http"></iframe' + iendh + '><br><' + starth + 'span id=sp' + idx + ' style="float:top;"><a id=a' + idx + ' target="_blank" title="?" class="audioytmaybeplay" href="https://www.youtube.com/watch?v=' + vidids[idx] + '" rel="noopener" alt="Audio ' + cellno + '"></a></span' + endh + '>' + suffix + '<br><br></td>';
} else {
gtdzero='><' + istarth + 'iframe onload=checkif(this); id=if' + idx + ' style="display:none;zoom:0.7;width:100%;height:70%;float:top;" src="//www.rjmprogramming.com.au/HTMLCSS/karaoke_youtube_api.htm?youtubeid=' + vidids[idx] + argshuffle + argaudio + '&youtube_duration=' + getdur(vidids[idx],'22234') + '&unknowndur=y&email=&email=&emoji=on&c0=off&i0=0&j0=' + getdur(vidids[idx],'22234') + '&i1=&j1=&i2=&j2=&i3=&j3=&i4=&j4=&i5=&j5=&i6=&j6=&i7=&j7=&i8=&j8=&i9=&j9=&i10=&j10=&i11=&j11=&i12=&j12=&i13=&j13=&i14=&j14=&i15=&j15=&i16=&j16=&i17=&j17=&i18=&j18=&i19=&j19=&i20=&j20=&i21=&j21=&i22=&j22=&i23=&j23=&i24=&j24=&i25=&j25=&i26=&j26=&i27=&j27=&i28=&j28=&i29=&j29=&rand=' + Math.floor(Math.random() * 1989786) + relxh + '#http"></iframe' + iendh + '><br><' + starth + 'span id=sp' + idx + ' style="float:top;"><a id=a' + idx + ' target="_blank" title="?" class="audioytmaybeplay" href="https://www.youtube.com/watch?v=' + vidids[idx] + '" rel="noopener" alt="Audio ' + cellno + '"></a></span' + endh + '>' + suffix + '<br><br></td>';
}
if (tog != '') { if (document.getElementById(tog)) { document.getElementById(tog).style.cursor='progress'; } }
return ' ';
}
if (tog != '') { if (document.getElementById(tog)) { document.getElementById(tog).style.cursor='progress'; } }
if (vidids[idx].toLowerCase() == 'cannotenda2') {
// alert('Here2');
return '<' + istarth + 'iframe onload=pcheckif(this); id=if' + idx + ' style="display:none;zoom:0.7;width:100%;height:70%;float:top;" src="//www.rjmprogramming.com.au/HTMLCSS/karaoke_youtube_api.htm?youtubeid=0Gz_7am23rk' + argshuffle + argaudio + '&youtube_duration=' + getdur('0Gz_7am23rk','22234') + '&unknowndur=y&email=&email=&emoji=on&c0=off&i0=0&j0=' + getdur('0Gz_7am23rk','22234') + '&i1=&j1=&i2=&j2=&i3=&j3=&i4=&j4=&i5=&j5=&i6=&j6=&i7=&j7=&i8=&j8=&i9=&j9=&i10=&j10=&i11=&j11=&i12=&j12=&i13=&j13=&i14=&j14=&i15=&j15=&i16=&j16=&i17=&j17=&i18=&j18=&i19=&j19=&i20=&j20=&i21=&j21=&i22=&j22=&i23=&j23=&i24=&j24=&i25=&j25=&i26=&j26=&i27=&j27=&i28=&j28=&i29=&j29=&rand=' + Math.floor(Math.random() * 1989786) + relxh + '#http"></iframe' + iendh + '><br><' + starth + 'span id=sp' + idx + ' style="float:top;"><a id=a' + idx + ' target="_blank" title="?" class="audioytmaybeplay" href="https://www.youtube.com/watch?v=' + vidids[idx] + '" rel="noopener" alt="Audio ' + cellno + '"></a></span' + endh + '>' + suffix + '<br><br>';
} else {
return '<' + istarth + 'iframe onload=checkif(this); id=if' + idx + ' style="display:none;zoom:0.7;width:100%;height:70%;float:top;" src="//www.rjmprogramming.com.au/HTMLCSS/karaoke_youtube_api.htm?youtubeid=' + vidids[idx] + argshuffle + argaudio + '&youtube_duration=' + getdur(vidids[idx],'22234') + '&unknowndur=y&email=&email=&emoji=on&c0=off&i0=0&j0=' + getdur(vidids[idx],'22234') + '&i1=&j1=&i2=&j2=&i3=&j3=&i4=&j4=&i5=&j5=&i6=&j6=&i7=&j7=&i8=&j8=&i9=&j9=&i10=&j10=&i11=&j11=&i12=&j12=&i13=&j13=&i14=&j14=&i15=&j15=&i16=&j16=&i17=&j17=&i18=&j18=&i19=&j19=&i20=&j20=&i21=&j21=&i22=&j22=&i23=&j23=&i24=&j24=&i25=&j25=&i26=&j26=&i27=&j27=&i28=&j28=&i29=&j29=&rand=' + Math.floor(Math.random() * 1989786) + relxh + '#http"></iframe' + iendh + '><br><' + starth + 'span id=sp' + idx + ' style="float:top;"><a id=a' + idx + ' target="_blank" title="?" class="audioytmaybeplay" href="https://www.youtube.com/watch?v=' + vidids[idx] + '" rel="noopener" alt="Audio ' + cellno + '"></a></span' + endh + '>' + suffix + '<br><br>';
}
} else {
thingstot.push('td' + ('0000' + eval(1 + idx)).slice(-4) + ':if' + idx);
if (suffix != '') {
thingstot.push('td' + ('0000' + eval(1 + idx)).slice(-4) + ':div' + + ('0000' + eval(1 + idx)).slice(-4));
}
if (eval('' + idx) == 1 && ayes) {
if (('' + window.sessionStorage.getItem('loop_' + vidids[idx])).replace(/^undefined/g,'').replace(/^null/g,'').trim() != '') {
window.sessionStorage.removeItem('loop_' + vidids[idx]);
}
//if (vidids[idx].toLowerCase() == 'cannotenda2') { alert('HerE'); }
if (vidids[idx].toLowerCase() == 'cannotenda2') {
//alert('HeReu');
gtdzero='><' + istarth + 'iframe onload=zzzcheckif(this); id=if' + idx + ' style="' + disn + 'zoom:0.7;width:100%;height:70%;float:top;" src="//www.rjmprogramming.com.au/HTMLCSS/karaoke_youtube_api.htm?youtubeid=0Gz_7am23rk' + argshuffle + argaudio + '&youtube_duration=' + getdur('0Gz_7am23rk','22234') + '&unknowndur=y&email=&email=&emoji=on&c0=off&i0=0&j0=' + getdur('0Gz_7am23rk','22234') + '&i1=&j1=&i2=&j2=&i3=&j3=&i4=&j4=&i5=&j5=&i6=&j6=&i7=&j7=&i8=&j8=&i9=&j9=&i10=&j10=&i11=&j11=&i12=&j12=&i13=&j13=&i14=&j14=&i15=&j15=&i16=&j16=&i17=&j17=&i18=&j18=&i19=&j19=&i20=&j20=&i21=&j21=&i22=&j22=&i23=&j23=&i24=&j24=&i25=&j25=&i26=&j26=&i27=&j27=&i28=&j28=&i29=&j29=&rand=' + Math.floor(Math.random() * 1989786) + relxh + '#http"></iframe' + iendh + '>' + suffix + '</td>';
} else {
gtdzero='><' + istarth + 'iframe onload=zcheckif(this); id=if' + idx + ' style="' + disn + 'zoom:0.7;width:100%;height:70%;float:top;" src="//www.rjmprogramming.com.au/HTMLCSS/karaoke_youtube_api.htm?youtubeid=' + vidids[idx] + argshuffle + argaudio + '&youtube_duration=' + getdur(vidids[idx],'22234') + '&unknowndur=y&email=&email=&emoji=on&c0=off&i0=0&j0=' + getdur(vidids[idx],'22234') + '&i1=&j1=&i2=&j2=&i3=&j3=&i4=&j4=&i5=&j5=&i6=&j6=&i7=&j7=&i8=&j8=&i9=&j9=&i10=&j10=&i11=&j11=&i12=&j12=&i13=&j13=&i14=&j14=&i15=&j15=&i16=&j16=&i17=&j17=&i18=&j18=&i19=&j19=&i20=&j20=&i21=&j21=&i22=&j22=&i23=&j23=&i24=&j24=&i25=&j25=&i26=&j26=&i27=&j27=&i28=&j28=&i29=&j29=&rand=' + Math.floor(Math.random() * 1989786) + relxh + '#http"></iframe' + iendh + '>' + suffix + '</td>';
}
if (tog != '') { if (document.getElementById(tog)) { document.getElementById(tog).style.cursor='progress'; } }
return ' ';
}
if (tog != '') { if (document.getElementById(tog)) { document.getElementById(tog).style.cursor='progress'; } }
if (vidids[idx].toLowerCase() == 'cannotenda2') {
//alert('HERe3 ' + istarth);
return '<' + istarth + 'iframe onload=zzzcheckif(this); id=if' + idx + ' style="' + disn + 'zoom:0.7;width:100%;height:70%;float:top;" src="//www.rjmprogramming.com.au/HTMLCSS/karaoke_youtube_api.htm?youtubeid=0Gz_7am23rk' + argshuffle + argaudio + '&youtube_duration=' + getdur('0Gz_7am23rk','22234') + '&unknowndur=y&email=&email=&emoji=on&c0=off&i0=0&j0=' + getdur('0Gz_7am23rk','22234') + '&i1=&j1=&i2=&j2=&i3=&j3=&i4=&j4=&i5=&j5=&i6=&j6=&i7=&j7=&i8=&j8=&i9=&j9=&i10=&j10=&i11=&j11=&i12=&j12=&i13=&j13=&i14=&j14=&i15=&j15=&i16=&j16=&i17=&j17=&i18=&j18=&i19=&j19=&i20=&j20=&i21=&j21=&i22=&j22=&i23=&j23=&i24=&j24=&i25=&j25=&i26=&j26=&i27=&j27=&i28=&j28=&i29=&j29=&rand=' + Math.floor(Math.random() * 1989786) + relxh + '#http"></iframe' + iendh + '>' + suffix;
} else {
return '<' + istarth + 'iframe onload=zcheckif(this); id=if' + idx + ' style="' + disn + 'zoom:0.7;width:100%;height:70%;float:top;" src="//www.rjmprogramming.com.au/HTMLCSS/karaoke_youtube_api.htm?youtubeid=' + vidids[idx] + argshuffle + argaudio + '&youtube_duration=' + getdur(vidids[idx],'22234') + '&unknowndur=y&email=&email=&emoji=on&c0=off&i0=0&j0=' + getdur(vidids[idx],'22234') + '&i1=&j1=&i2=&j2=&i3=&j3=&i4=&j4=&i5=&j5=&i6=&j6=&i7=&j7=&i8=&j8=&i9=&j9=&i10=&j10=&i11=&j11=&i12=&j12=&i13=&j13=&i14=&j14=&i15=&j15=&i16=&j16=&i17=&j17=&i18=&j18=&i19=&j19=&i20=&j20=&i21=&j21=&i22=&j22=&i23=&j23=&i24=&j24=&i25=&j25=&i26=&j26=&i27=&j27=&i28=&j28=&i29=&j29=&rand=' + Math.floor(Math.random() * 1989786) + relxh + '#http"></iframe' + iendh + '>' + suffix;
}
}
}
}
}
if (tog != '') { if (document.getElementById(tog)) { document.getElementById(tog).style.cursor='progress'; } }
return '';
}

function checkarb(iois) {
var aconto=null;
aconto = (iois.contentWindow || iois.contentDocument);
if (aconto != null) {
if (aconto.document) { aconto = aconto.document; }
if (aconto.body != null) {
//alert('4:' + asrequestedbystuff);
asrequestedbystuff+=aconto.body.innerText;
//alert('44:' + asrequestedbystuff);
}
}
}

function checkiflater(iois) {
var ief=0;
var aconto=null;
try {
aconto = (iois.contentWindow || iois.contentDocument);
if (aconto != null) {
if (aconto.document) { aconto = aconto.document; }
if (aconto.body != null) {
var hones=aconto.getElementsByTagName('h1');
if (eval('' + hones.length) > 0) {
if (hones[0].innerHTML.indexOf('Karaoke via YouTube') != 0) {
if (document.getElementById('a' + iois.id.replace('if',''))) {
document.getElementById('a' + iois.id.replace('if','')).innerHTML=hones[0].innerHTML;
document.getElementById('a' + iois.id.replace('if','')).className='audioytplay';
document.getElementById('a' + iois.id.replace('if','')).title=hones[0].innerHTML;
}
if (!doonce) {
doonce=true;
setTimeout(audioytlook, 10000);
}
}
}
var tyembeds=aconto.body.innerHTML.split('/embed/');
//alert('HEREx ' + tyembeds[1]);
for (var it=1; it<tyembeds.length; it++) {
if (ytlist.trim() == '') {
//if (wsofar != '' && dsofar != '') { alert('Dsofar=' + dsofar + ',' + wsofar); }
ytlist+='' + tyembeds[it].substring(0,11);
ief++;
} else {
//if (wsofar != '' && dsofar != '') { alert('DsoFar=' + dsofar + ',' + wsofar); }
ytlist+=',' + tyembeds[it].substring(0,11);
ief++;
}
}
if (completionmatters && gccount < eval('' + vididslength)) {
if (!pho) {
//top.document.title='yes';
perhapshangon();
}
} else {
if (ytlist != '') { if (1 == 1 && eval('' + vidids.length) >= 1) { if (1 == 4) { alert('gccount=' + gccount + ' and vidids.length=' + vididslength); } } if ((document.URL + ('' + location.hash)).indexOf('independent=') == -1 || prefix.indexOf('completionmatter') != -1) { if (!setoff) { setoff=true; setTimeout(function(){ location.href=maxto(document.URL.split('?')[0].split('#')[0] + '?' + prefix + 'youtube=' + encodeURIComponent(extraatendmaybe(ytlist.trim(),prefix))); }, 5000); } } }
}
}
}
} catch(hgfdhg) { }
}

function maxto(inuis) {
var outuis=inuis;
while (eval('' + outuis.length) >= 650) {
outuis=outuis.substring(0, eval(-14 + eval('' + outuis.length)));
}
//alert(outuis.split('?')[1]);
return outuis;
}

function zcheckif(iois) {
var imore=1, aaconto=null;
var aconto = (iois.contentWindow || iois.contentDocument);
if (aconto != null) {
aaconto=aconto;
if (aconto.document) { aconto = aconto.document; }
if (aconto.body != null) {
if (template == '') { templatye='' + iois.src; }
try {
aconto.getElementById('c0').checked=true;
while (aconto.getElementById('c' + imore)) {
if (aconto.getElementById('j' + imore)) {
if (('' + aconto.getElementById('j' + imore).value).replace(/0/g,'').replace('.','') != '') {
aconto.getElementById('c' + imore).checked=true;
} else if (iois.src.indexOf('&j' + imore + '=') != -1 && iois.src.indexOf('&j' + imore + '=&') == -1) {
aconto.getElementById('i' + imore).value=decodeURIComponent(iois.src.split('&i' + imore + '=')[1].split('&')[0]);
aconto.getElementById('j' + imore).value=decodeURIComponent(iois.src.split('&j' + imore + '=')[1].split('&')[0]);
aconto.getElementById('c' + imore).checked=true;
aaconto.checkval(aconto.getElementById('i' + imore) && imore > 0);
//} else if (iois.src.indexOf('&j' + imore + '=') != -1 && iois.src.indexOf('&j' + imore + '=22234&') == -1) {
// alert('found ' + imore);
}
}
imore++;
}
setTimeout(function(){ var prefar=aconto.getElementById('youtubeid').value + ';' + aconto.getElementById('youtube_duration').value + ';'; if (sofar.indexOf(prefar) == -1) { sofar+=fixone(prefar); } }, 100);
//setTimeout(function(){ var prefar=aconto.getElementById('youtubeid').value + ';' + aconto.getElementById('j0').value + ';'; if (sofar.indexOf(prefar) == -1) { sofar+=fixone(prefar); } }, 100);
} catch(hfgd) {
setTimeout(function(){ xcheckif(document.getElementById(iois.id)); }, 6000);
}
}
}
}


function sparecheckif(iois) {
var imore=1, aaconto=null;
var aconto = (iois.contentWindow || iois.contentDocument);
if (aconto != null && iois.src.indexOf('youtubeid=&') == -1) {
aaconto=aconto;
if (aconto.document) { aconto = aconto.document; }
if (aconto.body != null) {
try {
aconto.getElementById('c0').checked=true;
while (aconto.getElementById('c' + imore)) {
if (aconto.getElementById('j' + imore)) {
if (('' + aconto.getElementById('j' + imore).value).replace(/0/g,'').replace('.','') != '') {
aconto.getElementById('c' + imore).checked=true;
} else if (iois.src.indexOf('&j' + imore + '=') != -1 && iois.src.indexOf('&j' + imore + '=&') == -1) {
aconto.getElementById('i' + imore).value=decodeURIComponent(iois.src.split('&i' + imore + '=')[1].split('&')[0]);
aconto.getElementById('j' + imore).value=decodeURIComponent(iois.src.split('&j' + imore + '=')[1].split('&')[0]);
aconto.getElementById('c' + imore).checked=true;
aaconto.checkval(aconto.getElementById('i' + imore) && imore > 0);
//} else if (iois.src.indexOf('&j' + imore + '=') != -1 && iois.src.indexOf('&j' + imore + '=22234&') == -1) {
// alert('found ' + imore);
}
}
imore++;
}
setTimeout(function(){ var prefar=aconto.getElementById('youtubeid').value + ';' + aconto.getElementById('youtube_duration').value + ';'; if (sofar.indexOf(prefar) == -1) { sofar+=fixone(prefar); } }, 100);
//setTimeout(function(){ var prefar=aconto.getElementById('youtubeid').value + ';' + aconto.getElementById('j0').value + ';'; if (sofar.indexOf(prefar) == -1) { sofar+=fixone(prefar); } }, 100);
} catch(hfgd) {
setTimeout(function(){ xcheckif(document.getElementById(iois.id)); }, 6000);
}
}
}
}


function zzzcheckif(iois) {
var imore=1, aaconto=null;
var aconto = (iois.contentWindow || iois.contentDocument);
if (aconto != null) {
aaconto=aconto;
if (aconto.document) { aconto = aconto.document; }
if (aconto.body != null) {
try {
aconto.getElementById('c0').checked=true;
while (aconto.getElementById('c' + imore)) {
//alert(0);
if (aconto.getElementById('j' + imore)) {
//alert(9);
if (('' + aconto.getElementById('j' + imore).value).replace(/0/g,'').replace('.','') != '') {
//alert(1);
aconto.getElementById('c' + imore).checked=true;
} else if (iois.src.indexOf('&j' + imore + '=') != -1 && iois.src.indexOf('&j' + imore + '=&') == -1) {
//alert(2);
aconto.getElementById('i' + imore).value=decodeURIComponent(iois.src.split('&i' + imore + '=')[1].split('&')[0]);
aconto.getElementById('j' + imore).value=decodeURIComponent(iois.src.split('&j' + imore + '=')[1].split('&')[0]);
aconto.getElementById('c' + imore).checked=true;
//alert(aconto.getElementById('i' + imore).value);
aaconto.checkval(aconto.getElementById('i' + imore));
//} else if (iois.src.indexOf('&j' + imore + '=') != -1 && iois.src.indexOf('&j' + imore + '=22234&') == -1) {
// alert('foUnd ' + imore);
}
}
imore++;
}
//alert(8);
setTimeout(function(){ var prefar=aconto.getElementById('youtubeid').value + ';' + aconto.getElementById('youtube_duration').value + ';'; if (sofar.indexOf(prefar) == -1) { sofar+=fixone(prefar); } }, 100);
} catch(hfgd) {
setTimeout(function(){ xxxcheckif(document.getElementById(iois.id)); }, 6000);
//alert(85);
}
}
}
}

function xcheckif(iois) {
var imore=1, aaconto=null;
var aconto = (iois.contentWindow || iois.contentDocument);
if (aconto != null) {
aaconto=aconto;
if (aconto.document) { aconto = aconto.document; }
if (aconto.body != null) {
try {
aconto.getElementById('c0').checked=true;
while (aconto.getElementById('c' + imore)) {
if (aconto.getElementById('j' + imore)) {
if (('' + aconto.getElementById('j' + imore).value).replace(/0/g,'').replace('.','') != '') {
aconto.getElementById('c' + imore).checked=true;
}
}
imore++;
}
setTimeout(function(){ var prefar=aconto.getElementById('youtubeid').value + ';' + aconto.getElementById('youtube_duration').value + ';'; if (sofar.indexOf(prefar) == -1) { sofar+=fixone(prefar); } }, 100);
} catch(hfgd) {
}
}
}
}


function xxxcheckif(iois) {
var imore=1, aaconto=null;
var aconto = (iois.contentWindow || iois.contentDocument);
if (aconto != null) {
aaconto=aconto;
if (aconto.document) { aconto = aconto.document; }
if (aconto.body != null) {
try {
aconto.getElementById('c0').checked=true;
while (aconto.getElementById('c' + imore)) {
if (aconto.getElementById('j' + imore)) {
if (('' + aconto.getElementById('j' + imore).value).replace(/0/g,'').replace('.','') != '') {
aconto.getElementById('c' + imore).checked=true;
}
}
imore++;
}
//alert(87);
setTimeout(function(){ var prefar=aconto.getElementById('youtubeid').value + ';' + aconto.getElementById('youtube_duration').value + ';'; if (sofar.indexOf(prefar) == -1) { sofar+=fixone(prefar); } }, 100);
} catch(hfgd) {
}
}
}
}

function checkif(iois) {
var aconto = (iois.contentWindow || iois.contentDocument);
if (aconto != null) {
if (aconto.document) { aconto = aconto.document; }
if (aconto.body != null) {
var hones=aconto.getElementsByTagName('h1');
if (eval('' + hones.length) > 0) {
if (hones[0].innerHTML.indexOf('Karaoke via YouTube') == 0) {
ioisid='' + iois.id;
//setTimeout(function(){ checkiflater(document.getElementById(iois.id)); }, 26000); // used to be 6000
setTimeout(perhapshangon, 26000); // used to be 6000
} else {
document.getElementById('a' + iois.id.replace('if','')).innerHTML=hones[0].innerHTML;
document.getElementById('a' + iois.id.replace('if','')).className='audioytplay';
document.getElementById('a' + iois.id.replace('if','')).title=hones[0].innerHTML;
if (!doonce) {
doonce=true;
setTimeout(audioytlook, 10000);
}
}
}
}
}
}

function perhapshangon() {
pho=true;
if (completionmatters && gccount < eval('' + vididslength)) {
//document.title='' + gccount + ' Vs ' + vididslength;
setTimeout(perhapshangon, 5000);
} else if (gccount < eval('' + idealis) && !completionmatters) {
idealis--;
setTimeout(perhapshangon, 5000);
} else {
//document.title='' + gccount + ' vs ' + vididslength;
checkiflater(document.getElementById(ioisid));
}
}

function pcheckif(iois) {
var aconto = (iois.contentWindow || iois.contentDocument);
if (aconto != null) {
if (aconto.document) { aconto = aconto.document; }
if (aconto.body != null) {
var hones=aconto.getElementsByTagName('h1');
if (eval('' + hones.length) > 0) {
if (hones[0].innerHTML.indexOf('Karaoke via YouTube') == 0) {
ioisid='' + iois.id;
//setTimeout(function(){ checkiflater(document.getElementById(iois.id)); }, 26000); // used to be 6000
setTimeout(perhapshangon, 26000); // used to be 6000
} else {
//alert('yes okay');
document.getElementById('a' + iois.id.replace('if','')).innerHTML=hones[0].innerHTML;
document.getElementById('a' + iois.id.replace('if','')).className='audioytplay';
document.getElementById('a' + iois.id.replace('if','')).title=hones[0].innerHTML;
if (!doonce) {
doonce=true;
setTimeout(audioytlook, 10000);
}
}
}
}
}
}

function split_embed(iois) {
var isf=0, itf=0;
var iso=-1;
var sxh=16000;
var dsa=dsofar.trim().split(',');
var wsa=wsofar.trim().split(',');
if (('' + location.hash).indexOf('independent') != -1) { sxh=26000; independent=false; iso=0; }
if (('' + location.hash).indexOf('independentaudio') != -1) { if (prefix.indexOf('&justaudio=y') == -1) { prefix=prefix.replace('&','&justaudio=y&'); } }
var aconto = (iois.contentWindow || iois.contentDocument);
if (aconto != null) {
if (aconto.document) { aconto = aconto.document; }
if (aconto.body != null) {
var tyembeds=aconto.body.innerHTML.split('/embed/');
if (eval('' + tyembeds.length) <= 1) { setTimeout(function(){ checkiflater(document.getElementById(iois.id)); }, sxh); } else {
if (eval('' + dsa.length) > 1) {
for (itf=0; itf<dsa.length; itf++) {
if (ytlist.indexOf('' + dsa[itf]) == -1) {
if (ytlist.trim() == '') {
ytlist+='' + dsa[itf].trim().substring(0,11);
} else {
ytlist+=',' + dsa[itf].trim().substring(0,11);
}
}
}
}
if (eval('' + wsa.length) > 1) {
for (itf=0; itf<wsa.length; itf++) {
if (ytlist.indexOf('' + wsa[itf]) == -1) {
if (ytlist.trim() == '') {
ytlist+='' + wsa[itf].trim().substring(0,11);
} else {
ytlist+=',' + wsa[itf].trim().substring(0,11);
}
}
}
}
for (var it=1; it<tyembeds.length; it++) {
if (iso < 0 || iso < 9) {
if (iso >= 0) { iso++ }
if (ytlist.trim() == '') {
//if (wsofar != '' && dsofar != '') { alert('DsofaR=' + dsofar + ',' + wsofar); }
ytlist+='' + tyembeds[it].substring(0,11);
isf++;
} else {
//if (wsofar != '' && dsofar != '') { alert('DsofAr=' + dsofar + ',' + wsofar); }
ytlist+=',' + tyembeds[it].substring(0,11);
isf++;
}
}
}
if (ytlist != '') {
if (prefix.indexOf('isradio=') != -1 && !navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) {
if (ytwo) {
if (!ytwo.closed) {
ytwo.close();
ytwo=null;
}
ytwo=null;
}
if (!independent) {
prefix='isradio=YES&completionmatters=y' + argshuffle + '&';
if (eval('' + dsa.length) > 1 && eval('' + wsa.length) > 1) {
var anarr=ytlist.split(',');
anarr.sort();
ytlist='' + anarr[0];
for (var inb=1; inb<anarr.length; inb++) {
ytlist+=',' + anarr[inb];
}
}
}
if (!didothers) {
//alert(1);
ytwo=window.open(document.URL.split('?')[0].split('#')[0] + '?' + prefix + 'youtube=' + encodeURIComponent(extraatendmaybe(ytlist.trim(),prefix).trim()) + ('' + document.getElementById('bdiscoavb').getAttribute('data-you')).replace(/^undefined$/g,'').replace(/^null$/g,''),'_blank','top=0,left=0,width=' + screen.width + ',height=' + screen.height);
} else {
//alert(11);
setTimeout(function(){
ytwo=window.open(document.URL.split('?')[0].split('#')[0] + '?' + prefix + 'youtube=' + encodeURIComponent(extraatendmaybe(ytlist.trim(),prefix).trim()) + ('' + document.getElementById('bdiscoavb').getAttribute('data-you')).replace(/^undefined$/g,'').replace(/^null$/g,''),'_blank','top=0,left=0,width=' + screen.width + ',height=' + screen.height);
}, 4000);
}
} else {
if (!independent) {
prefix='isradio=YES&completionmatters=y' + argshuffle + '&';
}
if (!didothers) {
//alert(111);
if (eval('' + vidids.length) >= 1) { if (3 == 4) { alert('gCcount=' + gccount + ' and vidids.length=' + vidids.length + ' ' + tylist.trim().split(',').length + ' ' + document.URL); } }
if ((document.URL + ('' + location.hash)).indexOf('independent=') == -1 || prefix.indexOf('completionmatter') != -1) { if (!setoff) { setoff=true; setTimeout(function(){ location.href=maxto(document.URL.split('?')[0].split('#')[0] + '?' + prefix + 'youtube=' + encodeURIComponent(extraatendmaybe(ytlist.trim(),prefix).trim())); }, 6000); } }
} else {
//alert(1111);
setTimeout(function(){
if (eval('' + vidids.length) >= 1) { if (5 == 6) { alert('gCcounT=' + gccount + ' and vidids.length=' + vidids.length + ' ' + tylist.trim().split(',').length + ' ' + document.URL); } }
if ((document.URL + ('' + location.hash)).indexOf('independent=') == -1 || prefix.indexOf('completionmatter') != -1) { if (!setoff) { setoff=true; setTimeout(function(){ location.href=maxto(document.URL.split('?')[0].split('#')[0] + '?' + prefix + 'youtube=' + encodeURIComponent(extraatendmaybe(ytlist.trim(),prefix).trim())); }, 6000); } }
}, 4000);
}
//}
}
}
}
}
}
}

function split_embed_two(iois) {
//didothers=true;
var iso=-1;
var sxh=16000;
if (('' + location.hash).indexOf('independent') != -1) { sxh=26000; independent=false; iso=0; }
if (('' + location.hash).indexOf('independentaudio') != -1) { if (prefix.indexOf('&justaudio=y') == -1) { prefix=prefix.replace('&','&justaudio=y&'); } }
var aconto = (iois.contentWindow || iois.contentDocument);
if (aconto != null) {
if (aconto.document) { aconto = aconto.document; }
if (aconto.body != null) {
var tyembeds=aconto.body.innerHTML.split('/embed/');
if (eval('' + tyembeds.length) <= 1) { setTimeout(function(){ checkiflater(document.getElementById(iois.id)); }, sxh); } else {
for (var it=1; it<tyembeds.length; it++) {
if (iso < 0 || iso < 9) {
if (iso >= 0) { iso++ }
if (wsofar == ' ') {
wsofar='' + tyembeds[it].substring(0,11);
} else if (wsofar.trim() != '') {
wsofar+=',' + tyembeds[it].substring(0,11);
}
if (ytlist.trim() == '') {
ytlist+='' + tyembeds[it].substring(0,11);
} else {
ytlist+=',' + tyembeds[it].substring(0,11);
}
}
}
if (ytlist != '') {
if (prefix.indexOf('isradio=') != -1 && !navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) {
if (ytwo) {
if (!ytwo.closed) {
ytwo.close();
ytwo=null;
}
ytwo=null;
}
if (1 == 5) {
ytwo=window.open(document.URL.split('?')[0].split('#')[0] + '?' + prefix + 'youtube=' + encodeURIComponent(extraatendmaybe(ytlist.trim(),prefix).trim()),'_blank','top=0,left=0,width=' + screen.width + ',height=' + screen.height);
}
} else {
if (1 == 5) {
location.href=document.URL.split('?')[0].split('#')[0] + '?' + prefix + 'youtube=' + encodeURIComponent(extraatendmaybe(ytlist.trim(),prefix).trim());
}
}
}
}
}
}
}

function bordersmaybe() {
var spans=[], jspan=0;
var iso=-1;
if (document.URL.indexOf('isradio=YES&completionmatters=y&shuffle=y&youtube=') != -1 || document.URL.indexOf('isradio=YES&completionmatters=y&justaudio=y&shuffle=y&youtube=') != -1) {
spans=document.getElementsByTagName('span');
for (jspan=0; jspan<spans.length; jspan++) {
if ((prefix + document.URL).indexOf('justaudio=') != -1) {
if (('' + spans[jspan].title).indexOf('A-V')) {
spans[jspan].style.border='1px solid red';
}
} else {
if (('' + spans[jspan].title).indexOf('A+V')) {
spans[jspan].style.border='1px solid red';
}
}
}
}
}


function split_embed_three(iois) {
//didothers=true;
var spans=[], jspan=0;
var iso=-1;
var sxh=16000;
if (('' + location.hash).indexOf('independent') != -1) { sxh=26000; independent=false; iso=0; }
if (('' + location.hash).indexOf('independentaudio') != -1) { if (prefix.indexOf('&justaudio=y') == -1) { prefix=prefix.replace('&','&justaudio=y&'); } }
if (!independent) {
spans=document.getElementsByTagName('span');
for (jspan=0; jspan<spans.length; jspan++) {
if ((prefix + document.URL).indexOf('justaudio=') != -1) {
if (('' + spans[jspan].title).indexOf('A-V')) {
spans[jspan].style.border='1px solid red';
}
} else {
if (('' + spans[jspan].title).indexOf('A+V')) {
spans[jspan].style.border='1px solid red';
}
}
}
}
var aconto = (iois.contentWindow || iois.contentDocument);
if (aconto != null) {
if (aconto.document) { aconto = aconto.document; }
if (aconto.body != null) {
var tyembeds=aconto.body.innerHTML.split('/embed/');
if (eval('' + tyembeds.length) <= 1) { setTimeout(function(){ checkiflater(document.getElementById(iois.id)); }, sxh); } else {
for (var it=1; it<tyembeds.length; it++) {
if (iso < 0 || iso < 9) {
if (iso >= 0) { iso++ }
if (dsofar == ' ') {
dsofar='' + tyembeds[it].substring(0,11);
} else if (dsofar.trim() != '') {
dsofar+=',' + tyembeds[it].substring(0,11);
}
if (ytlist.trim() == '') {
ytlist+='' + tyembeds[it].substring(0,11);
} else {
ytlist+=',' + tyembeds[it].substring(0,11);
}
}
}
if (ytlist != '') {
if (prefix.indexOf('isradio=') != -1 && !navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) {
if (ytwo) {
if (!ytwo.closed) {
ytwo.close();
ytwo=null;
}
ytwo=null;
}
if (1 == 5) {
ytwo=window.open(document.URL.split('?')[0].split('#')[0] + '?' + prefix + 'youtube=' + encodeURIComponent(extraatendmaybe(ytlist.trim(),prefix).trim()),'_blank','top=0,left=0,width=' + screen.width + ',height=' + screen.height);
}
} else {
if (1 == 5) {
location.href=document.URL.split('?')[0].split('#')[0] + '?' + prefix + 'youtube=' + encodeURIComponent(extraatendmaybe(ytlist.trim(),prefix).trim());
}
}
}
}
}
}
}

function showStuff() {
var dod=true, yytlist='';
if (dsofar.trim() != '') {
dod=false;
}
if (czhr != null) {
if (czhr.readyState == 4) {
if (czhr.status == 200) {
var tyembeds=czhr.responseText.split('/embed/');
//var qwr=prompt('' + tyembeds.length + ':' + czhr.responseText, czhr.responseText);
if (eval('' + tyembeds.length) > 1) {
for (var it=1; it<tyembeds.length; it++) {
if (yytlist.trim() == '') {
yytlist+='' + tyembeds[it].substring(0,11);
if (dod) {
dsofar=yytlist;
} else {
wsofar=yytlist;
}
} else {
yytlist+=',' + tyembeds[it].substring(0,11);
if (dod) {
dsofar=yytlist;
} else {
wsofar=yytlist;
}
}
}
}
}
}
}
}

function mod_gtdzero(ineleven, indur, intit) {
kmore=1;
if (document.getElementById('divtitles').innerHTML.indexOf(ineleven) != -1) { kmore=0; }
// &j0=22234&c1=off&i1=0%7CI_izvAbhExY%23Will%20be%20filled%20in&j1=-1&c2=on&c2=on&i2=0%7CMGemtjVtfZM&j2=172&c3=on&c3=on&i3=0%7CN-aK6JnyFmk&j3=158&c4=on&c4=on&i4=0%7CPC2HkP5gR2g&j4=367&c5=on&c5=on&i5=0%7CRuMnXi7L7wE&j5=327&c6=on&c6=on&i6=0%7CWMRzQkkAx5I&j6=201&c7=on&c7=on&i7=0%7CWrcwRt6J32o&j7=281&c8=on&c8=on&i8=0%7CXKuJUxGntRI&j8=211&c9=on&c9=on&i9=0%7CYTaWayUE5XA&j9=244&c10=on&c10=on&i10=0%7C_uSmds1pCKg&j10=124&c11=on&i11=0%7CcVgFvYcOKC8&j11=333&c12=on&i12=0%7CccenFp_3kq8&j12=254&c13=on&c13=on&i13=0%7CdwxjpIJm9JM&j13=242&c14=on&i14=0%7CeBpYgpF1bqQ&j14=210&c15=on&c15=on&i15=0%7CerQUlp6GYno&j15=182&c16=on&c16=on&i16=0%7CgQ8O9SidZbs&j16=173&c17=on&i17=0%7Ci9_e0rRvyz8&j17=373&c18=on&i18=0%7Cm_oPMpNY9Rc&j18=219&c19=off&i19=0%7CrUdw7V-FC_Q&j19=22234.0&c20=off&i20=0%7CsukxmZcDGlU&j20=22234.0&c21=off&i21=0%7CvAI24i825_E&j21=22234.0&c22=on&i22=0%7CwKGwiH2bw9s&j22=141&c23=off&i23=0%7CxfmZRiePkEM&j23=22234.0&c24=off&i24=0%7CyEbaeLv-aOo&j24=22234.0&c25=off&i25=0%7Cz-2_OstpR5c&j25=22234.0&c26=off&i26=0%7CzROIlspgOjM&j26=22234.0&i27=&j27=&i28=&j28=&i29=&j29=&rand=560460#http"></iframe></td>">


//if (ineleven == 'I_izvAbhExY') {
//document.getElementById('navig').value=ineleven + ' ' + indur + ' ... ' + gtdzero.split('&j0=')[1];
// }

if (gelev != '' && gelev.trim() == gelev && gelev == ineleven) {
gduris='' + indur;
gtitis='' + intit;
if (gtdzero.indexOf(gelev + '%23Will%20be%20filled%20in&j') != -1 && gtdzero.indexOf('=-1&') != -1) {
gtdzero=gtdzero.replace('%23Will%20be%20filled%20in','').replace('=-1&', '=' + indur + '&').replace('&c1=off','&c1=on');
}
document.getElementById('navig').value=ineleven + ' ' + indur + ' ... ' + gtdzero.split('&j0=')[1];
if (gtdzero.indexOf(gelev + '&j') != -1) {
if (gtdzero.split(gelev + '&j')[1].split('=')[1].indexOf('22234') == 0 && ('' + gduris).indexOf('22234') == -1) {
if (gtdzero.split(gelev + '&j')[1].split('=')[0] != '0') {
gtdzero=gtdzero.replace('&c' + gtdzero.split(gelev + '&j')[1].split('=')[0] + '=off', '&c' + gtdzero.split(gelev + '&j')[1].split('=')[0] + '=on');
gtdzero=gtdzero.replace('&j' + gtdzero.split(gelev + '&j')[1].split('=')[0] + '=22234' + gtdzero.split(gelev + '&j')[1].split('=')[1].split('22234')[1].split('&')[0] + '&', '&j' + gtdzero.split(gelev + '&j')[1].split('=')[0] + '=' + gduris + '&');
gelev+=' ';
} else {
gelev+=' ';
}
} else if ((gtdzero.split(gelev + '&j')[1].split('=')[1].substring(0,1) < '0' || gtdzero.split(gelev + '&j')[1].split('=')[1].substring(0,1) > '9') && ('' + gduris).indexOf('22234') == -1) {
if (gtdzero.split(gelev + '&j')[1].split('=')[0] != '0') {
gtdzero=gtdzero.replace('&c' + gtdzero.split(gelev + '&j')[1].split('=')[0] + '=off', '&c' + gtdzero.split(gelev + '&j')[1].split('=')[0] + '=on');
gtdzero=gtdzero.replace('&j' + gtdzero.split(gelev + '&j')[1].split('=')[0] + '=' + gtdzero.split(gelev + '&j')[1].split('=')[1].split('&')[0] + '&', '&j' + gtdzero.split(gelev + '&j')[1].split('=')[0] + '=' + gduris + '&');
gelev+=' ';
} else {
gelev+=' ';
}
}
} else if (gtdzero.split(gelev + '%23Will%20be%20filled%20in&j') != -1) {
try {
if ((gtdzero.split(gelev + '%23Will%20be%20filled%20in&j')[1].split('=')[1].substring(0,1) < '0' || gtdzero.split(gelev + '%23Will%20be%20filled%20in&j')[1].split('=')[1].substring(0,1) > '9') && ('' + gduris).indexOf('22234') == -1) {
if (gtdzero.split(gelev + '%23Will%20be%20filled%20in&j')[1].split('=')[0] != '0') {
gtdzero=gtdzero.replace('&c' + gtdzero.split(gelev + '%23Will%20be%20filled%20in&&j')[1].split('=')[0] + '=off', '&c' + gtdzero.split(gelev + '%23Will%20be%20filled%20in&&j')[1].split('=')[0] + '=on');
gtdzero=gtdzero.replace('%23Will%20be%20filled%20in&j' + gtdzero.split(gelev + '%23Will%20be%20filled%20in&j')[1].split('=')[0] + '=' + gtdzero.split(gelev + '&j')[1].split('=')[1].split('&')[0] + '&', '&j' + gtdzero.split(gelev + '%23Will%20be%20filled%20in&j')[1].split('=')[0] + '=' + gduris + '&');
gelev+=' ';
} else {
gelev+=' ';
}
}
} catch(ytryutr) { gelev=''; }
}
}

if (gtdzero.indexOf(ineleven + '&j') != -1) {
if (gtdzero.split(ineleven + '&j')[1].split('=')[1].indexOf('22234') == 0 && ('' + indur).indexOf('22234') == -1) {
if (gtdzero.split(ineleven + '&j')[1].split('=')[0] != '0') {
gtdzero=gtdzero.replace('&c' + gtdzero.split(ineleven + '&j')[1].split('=')[0] + '=off', '&c' + gtdzero.split(ineleven + '&j')[1].split('=')[0] + '=on');
gtdzero=gtdzero.replace('&j' + gtdzero.split(ineleven + '&j')[1].split('=')[0] + '=22234' + gtdzero.split(ineleven + '&j')[1].split('=')[1].split('22234')[1].split('&')[0] + '&', '&j' + gtdzero.split(ineleven + '&j')[1].split('=')[0] + '=' + indur + '&');
}
} else if ((gtdzero.split(ineleven + '&j')[1].split('=')[1].substring(0,1) < '0' || gtdzero.split(ineleven + '&j')[1].split('=')[1].substring(0,1) > '9') && ('' + indur).indexOf('22234') == -1) {
if (gtdzero.split(ineleven + '&j')[1].split('=')[0] != '0') {
gtdzero=gtdzero.replace('&c' + gtdzero.split(ineleven + '&j')[1].split('=')[0] + '=off', '&c' + gtdzero.split(ineleven + '&j')[1].split('=')[0] + '=on');
gtdzero=gtdzero.replace('&j' + gtdzero.split(ineleven + '&j')[1].split('=')[0] + '=' + gtdzero.split(ineleven + '&j')[1].split('=')[1].split('&')[0] + '&', '&j' + gtdzero.split(ineleven + '&j')[1].split('=')[0] + '=' + indur + '&');
}
}
} else if (gtdzero.split(ineleven + '%23Will%20be%20filled%20in&j') != -1) {
try {
if ((gtdzero.split(ineleven + '%23Will%20be%20filled%20in&j')[1].split('=')[1].substring(0,1) < '0' || gtdzero.split(ineleven + '%23Will%20be%20filled%20in&j')[1].split('=')[1].substring(0,1) > '9') && ('' + indur).indexOf('22234') == -1) {
if (gtdzero.split(ineleven + '%23Will%20be%20filled%20in&j')[1].split('=')[0] != '0') {
gtdzero=gtdzero.replace('&c' + gtdzero.split(ineleven + '%23Will%20be%20filled%20in&&j')[1].split('=')[0] + '=off', '&c' + gtdzero.split(ineleven + '%23Will%20be%20filled%20in&&j')[1].split('=')[0] + '=on');
gtdzero=gtdzero.replace('%23Will%20be%20filled%20in&j' + gtdzero.split(ineleven + '%23Will%20be%20filled%20in&j')[1].split('=')[0] + '=' + gtdzero.split(ineleven + '&j')[1].split('=')[1].split('&')[0] + '&', '&j' + gtdzero.split(ineleven + '%23Will%20be%20filled%20in&j')[1].split('=')[0] + '=' + indur + '&');
}
}
} catch(hgfjhgfj) {
if (6 == 4) {
gelev=ineleven;
gduris=indur;
gtitis=intit;
}
}
} else if (4 == 6) {
gelev=ineleven;
gduris=indur;
gtitis=intit;
}
gccount+kmore;
//if (gccount == 20) {
//document.getElementById('navig').title=gelev + ' ' + gduris + ' ... ' + gtdzero.split('&j0=')[1];
//}
}

function fixone(oneijs) {
var nextis='2', i, fidx=-1, ishouldbe=-1, thisvis='', thisdis=0;
var ytids=oneijs.split(';');
if (gtdzero != '> </td>') {
nextis=gtdzero.split('=&j')[1].split('=')[0].split('&')[0];
//alert('nextis=' + nextis + ' and ordmatters.length=' + ordermatters.length + ' and ' + (ordmatters || document.URL.indexOf('ordmatters=') != -1));
if ((ordmatters || document.URL.indexOf('ordmatters=') != -1) && (eval('' + ordermatters.length) <= eval('' + nextis) || eval('' + mattersorder.length) <= eval('' + nextis))) {
if (6 == 7) { alert('Firstidx=' + firstidx + ' and nextis=' + nextis + ' and ordmatters.length=' + ordermatters.length + ' and ' + (ordmatters || document.URL.indexOf('ordmatters=') != -1) + ' and gtdzero=' + gtdzero.split('?')[1]); }
}
if ((ordmatters || document.URL.indexOf('ordmatters=') != -1) && eval('' + ordermatters.length) > eval('' + nextis) && eval('' + mattersorder.length) > eval('' + nextis)) {
//alert('firstidx=' + firstidx + ' and nextis=' + nextis + ' and ordmatters.length=' + ordermatters.length + ' and ' + (ordmatters || document.URL.indexOf('ordmatters=') != -1) + ' and gtdzero=' + gtdzero.split('?')[1]);
//gtdzero=gtdzero.replace('&i1=0&','&i1=&');
//alert('firstidx=' + firstidx);
//if (gtdzero.indexOf('&j0=&') == -1 && gtdzero.indexOf('&j1=&') != -1 && eval('' + firstidx) > 0) {
if (firstidx > 0 && ffidx > 0) {
//firstidx++;
//gtdzero=gtdzero.replace('&i1=0&','&i1=&');
//ishouldbe=eval('' + mattersorder.indexOf(('' + gtdzero.split('&i0=')[1].split('&')[0])));
thisvis=gtdzero.split('youtubeid=')[1].split('&')[0];
thisdis=gtdzero.split('j0=')[1].split('&')[0];
//alert('thisvis=' + thisvis + ' and thisdis=' + thisdis);
gtdzero=gtdzero.replace('&i' + firstidx + '=' + gtdzero.split('i' + firstidx + '=')[1].split('&')[0] + '&', '&c' + firstidx + '=off&i' + firstidx + '=0' + encodeURIComponent('|') + thisvis + encodeURIComponent('#Will be filled in') + '&');
//alert(firstduris);
gtdzero=gtdzero.replace('j' + firstidx + '=' + gtdzero.split('j' + firstidx + '=')[1].split('&')[0] + '&', 'j' + firstidx + '=' + (firstduris.replace('22234','') == '' ? '-1' : firstduris) + '&');
if (document.getElementById('lastifz').src.indexOf('youtubeid=&') != -1) {
gccount--;
gelev='' + thisvis;
console.error('gelev=' + thisvis);
//if (thisvis == 'Klh7sAv9hu4') {
// mod_gtdzero('Klh7sAv9hu4', '', '');
//}
document.getElementById('lastifz').src=document.getElementById('lastifz').src.replace('youtubeid=&', 'youtubeid=' + thisvis + '&');
}

gtdzero=gtdzero.replace('youtubeid=' + gtdzero.split('youtubeid=')[1].split('&')[0], 'youtubeid=' + mattersorder[0]);
//var qqw=prompt('0:' + 'youtube_duration=' + gtdzero.split('youtube_duration=')[1].split('&')[0], '');
gtdzero=gtdzero.replace('youtube_duration=' + gtdzero.split('youtube_duration=')[1].split('&')[0], 'youtube_duration=22234');
gtdzero=gtdzero.replace('i0=' + gtdzero.split('i0=')[1].split('&')[0] + '&', 'i0=0&');
gtdzero=gtdzero.replace('j0=' + gtdzero.split('j0=')[1].split('&')[0] + '&', 'j0=22234&');

console.error('-1.' + nextis + ':' + gtdzero);

fidx=-9;
//firstidx=-9;
ffidx=-9;
} else {

if (mattersorder[eval('' + nextis)] == ('' + ytids[0])) {
if (2 == 2 && gtdzero.indexOf(('' + ytids[0])) == -1) {
if (('' + ytids[1]).indexOf('22234') == 0) {
gtdzero=gtdzero.replace('i' + nextis + '=' + gtdzero.split('i' + nextis + '=')[1].split('&')[0] + '&', 'c' + nextis + '=off&i' + nextis + '=0' + encodeURIComponent('|') + ytids[0] + '&');
} else {
gtdzero=gtdzero.replace('i' + nextis + '=' + gtdzero.split('i' + nextis + '=')[1].split('&')[0] + '&', 'c' + nextis + '=on&i' + nextis + '=0' + encodeURIComponent('|') + ytids[0] + '&');
}
}
gtdzero=gtdzero.replace('j' + nextis + '=' + gtdzero.split('j' + nextis + '=')[1].split('&')[0] + '&', 'j' + nextis + '=' + ytids[1] + '&');
console.error('0+0.' + document.getElementById('divtitles').innerHTML.indexOf(ytids[0]) + ' ' + nextis + ':' + gtdzero);
}

gtdzero=gtdzero.replace('i0=' + gtdzero.split('i0=')[1].split('&')[0] + '&', 'i0=0&');
gtdzero=gtdzero.replace('j0=' + gtdzero.split('j0=')[1].split('&')[0] + '&', 'j0=22234&');
console.error('000.' + nextis + ':' + gtdzero);
}
if (mattersorder[eval('' + nextis)] != ('' + ytids[0])) {
if (mattersorder.indexOf(('' + ytids[0])) != -1) {
nextis='' + mattersorder.indexOf(('' + ytids[0]));

if (5 == 5 && gtdzero.indexOf(('' + ytids[0])) == -1) {
if (('' + ytids[1]).indexOf('22234') == 0) {
gtdzero=gtdzero.replace('i' + nextis + '=' + gtdzero.split('i' + nextis + '=')[1].split('&')[0] + '&', 'c' + nextis + '=off&i' + nextis + '=0' + encodeURIComponent('|') + ytids[0] + '&');
} else {
gtdzero=gtdzero.replace('i' + nextis + '=' + gtdzero.split('i' + nextis + '=')[1].split('&')[0] + '&', 'c' + nextis + '=on&i' + nextis + '=0' + encodeURIComponent('|') + ytids[0] + '&');
}
}
gtdzero=gtdzero.replace('j' + nextis + '=' + gtdzero.split('j' + nextis + '=')[1].split('&')[0] + '&', 'j' + nextis + '=' + ytids[1] + '&');

if (('' + nextis) == '000') {
gtdzero=gtdzero.replace('youtubeid=' + gtdzero.split('youtubeid=')[1].split('&')[0], 'youtubeid=' + mattersorder[eval('' + nextis)]);
//var qw=prompt('1:' + 'youtube_duration=' + gtdzero.split('youtube_duration=')[1].split('&')[0], '');
gtdzero=gtdzero.replace('youtube_duration=' + gtdzero.split('youtube_duration=')[1].split('&')[0], 'youtube_duration=22234');
//gtdzero=gtdzero.replace('i0=' + gtdzero.split('i0=')[1].split('&')[0] + '&', 'i0=0' + encodeURIComponent('|') + ytids[0] + '&');
//gtdzero=gtdzero.replace('j0=' + gtdzero.split('j0=')[1].split('&')[0] + '&', 'j0=' + ytids[1] + '&');
gtdzero=gtdzero.replace('i0=' + gtdzero.split('i0=')[1].split('&')[0] + '&', 'i0=0&');
gtdzero=gtdzero.replace('j0=' + gtdzero.split('j0=')[1].split('&')[0] + '&', 'j0=22234&');
console.error('00.' + nextis + ':' + gtdzero);
}
}
}
nextis=gtdzero.split('=&j')[1].split('=')[0].split('&')[0];
//alert('nextis=' + nextis + ' and ordmatters.length=' + ordermatters.length + ' and ' + (ordmatters || document.URL.indexOf('ordmatters=') != -1));
// New if cluse below
if ((ordmatters || document.URL.indexOf('ordmatters=') != -1) && (eval('' + ordermatters.length) <= eval('' + nextis) || eval('' + mattersorder.length) <= eval('' + nextis))) {
if (6 == 77) { alert('FirstIdx=' + firstidx + ' and nextis=' + nextis + ' and ordmatters.length=' + ordermatters.length + ' and ' + (ordmatters || document.URL.indexOf('ordmatters=') != -1) + ' and gtdzero=' + gtdzero.split('?')[1]); }

if (thisvis != '') {
gtdzero=gtdzero.replace('&i' + firstidx + '=' + gtdzero.split('i' + firstidx + '=')[1].split('&')[0] + '&', '&c' + firstidx + '=off&i' + firstidx + '=0' + encodeURIComponent('|') + thisvis + encodeURIComponent('#Will be filled in') + '&');
//alert(firstduris);
gtdzero=gtdzero.replace('j' + firstidx + '=' + gtdzero.split('j' + firstidx + '=')[1].split('&')[0] + '&', 'j' + firstidx + '=' + (firstduris.replace('22234','') == '' ? '-1' : firstduris) + '&');
}

gtdzero=gtdzero.replace('youtube_duration=' + gtdzero.split('youtube_duration=')[1].split('&')[0], 'youtube_duration=22234'); // new
gtdzero=gtdzero.replace('i0=' + gtdzero.split('i0=')[1].split('&')[0] + '&', 'i0=0&');
gtdzero=gtdzero.replace('j0=' + gtdzero.split('j0=')[1].split('&')[0] + '&', 'j0=22234&');
}
} else {
while (eval('' + ordermatters.length) <= eval('' + nextis) || eval('' + mattersorder.length) <= eval('' + nextis)) {
ordermatters.push(('' + nextis));
mattersorder.push(('' + ytids[0]));
}
}
//alert('nextis=' + nextis + ' is ' + '&i' + nextis + '=&j' + nextis + '=&' + ' in ... ' + gtdzero);
if (('' + ytids[1]).indexOf('22234') != 0) {
//alert(ytids[0]);
if (ytids[0] == '0Gz_7am23rk') {
//gtdzero=prompt(gtdzero,gtdzero);
if (decodeURIComponent(userms[iuser]).toLowerCase().indexOf('.pdf') != -1) {
if (jload < eval('' + jmedias.length)) {
gtdzero=gtdzero.replace('&i' + ordermatters[nextis] + '=&j' + ordermatters[nextis] + '=&', '&c' + ordermatters[nextis] + '=on&kk' + ordermatters[nextis] + '=' + variants[eval(-1 + iuser)] + encodeURIComponent('' + decodeURIComponent(userms[iuser])) + '&i' + ordermatters[nextis] + '=0' + encodeURIComponent('|') + '0Gz_7am23rk' + '&j' + ordermatters[nextis] + '=' + jmedias[jload] + '&');
jload++;
} else {
gtdzero=gtdzero.replace('&i' + ordermatters[nextis] + '=&j' + ordermatters[nextis] + '=&', '&c' + ordermatters[nextis] + '=on&kk' + ordermatters[nextis] + '=' + variants[eval(-1 + iuser)] + encodeURIComponent('' + decodeURIComponent(userms[iuser])) + '&i' + ordermatters[nextis] + '=0' + encodeURIComponent('|') + '0Gz_7am23rk' + '&j' + ordermatters[nextis] + '=35.00&');
}
} else {
if (jload < eval('' + jmedias.length)) {
gtdzero=gtdzero.replace('&i' + ordermatters[nextis] + '=&j' + ordermatters[nextis] + '=&', '&c' + ordermatters[nextis] + '=on&kk' + ordermatters[nextis] + '=' + variants[eval(-1 + iuser)] + encodeURIComponent('' + decodeURIComponent(userms[iuser])) + '&i' + ordermatters[nextis] + '=0' + encodeURIComponent('|') + '0Gz_7am23rk' + '&j' + ordermatters[nextis] + '=' + jmedias[jload] + '&');
jload++;
} else {
gtdzero=gtdzero.replace('&i' + ordermatters[nextis] + '=&j' + ordermatters[nextis] + '=&', '&c' + ordermatters[nextis] + '=on&kk' + ordermatters[nextis] + '=' + variants[eval(-1 + iuser)] + encodeURIComponent('' + decodeURIComponent(userms[iuser])) + '&i' + ordermatters[nextis] + '=0' + encodeURIComponent('|') + '0Gz_7am23rk' + '&j' + ordermatters[nextis] + '=' + ytids[1] + '&');
}
}
document.getElementById('divtitles').innerHTML=document.getElementById('divtitles').innerHTML.replace('<span>0|0Gz_7am23rk#Virtual Tour</span>', '<span>0|' + variants[eval(-1 + iuser)] + '#' + decodeURIComponent(userms[iuser]) + '</span>');
iuser++;
} else {
if (gtdzero.indexOf('=0' + encodeURIComponent('|') + ytids[0] + '&') != -1) {
gtdzero=secondsoff(gtdzero.replace('&i' + ordermatters[nextis] + '=&j' + ordermatters[nextis] + '=&', '&c' + ordermatters[nextis] + '=off&i' + ordermatters[nextis] + '=0' + encodeURIComponent('|') + ytids[0] + '&j' + ordermatters[nextis] + '=' + ytids[1] + '&'));
} else {
gtdzero=secondsoff(gtdzero.replace('&i' + ordermatters[nextis] + '=&j' + ordermatters[nextis] + '=&', '&c' + ordermatters[nextis] + '=on&i' + ordermatters[nextis] + '=0' + encodeURIComponent('|') + ytids[0] + '&j' + ordermatters[nextis] + '=' + ytids[1] + '&'));
}
}
} else {
//alert('oops ' + ytids[0]);
return '';
}
//alert('nextis=' + nextis + ' .+. ' + gtdzero);
}
return oneijs;
}

function secondsoff(whatg) {
var outwhat=whatg, thisij='0', thisev='', jcons=0, kcons=0, thatij=0;
if ((ordmatters || document.URL.indexOf('ordmatters=') != -1)) {
var cons=whatg.split('=on&i');
var thiscons=[];
for (jcons=1; icons<cons.length; icons++) {
thisij=cons[jcons].split('=')[0];
thisev=cons[jcons].split('=')[1].split('&')[0].split(encodeURIComponent('|'))[eval(-1 + cons[jcons].split('=')[1].split('&')[0].split(encodeURIComponent('|')).length)];
thiscons=outwhat.split(thisev);
if (eval('' + thiscons.length) > 2) {
for (kcons=eval(1 + jcons); icons<cons.length; icons++) {
if (cons[kcons].indexOf(thisev)) {
thatij=cons[kcons].split('=')[0];
if (!navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i) || 3 == 3) {
outwhat=outwhat.replace('&c' + thatij + '=on', '&c' + thatij + '=off');
}
}
}
}
}
}
return outwhat;
}

function dodisco(dwhat) {
setTimeout(cursanimate, 600);
if (dwhat.indexOf('=radnoiswas') != -1) {
document.getElementById(dwhat.split('=radnoiswas')[0]).style.border='1px dotted red';
} else if (dwhat.indexOf('isradio=') == 0) {
document.getElementById(dwhat.split('isradio=')[1].split('&')[0]).style.border='1px dotted red';
}
document.body.style.cursor='progress';
if (independent) {
if (prefix.indexOf('shuffle=') == -1) { prefix=dwhat; }
document.getElementById('spareif').src='/HTMLCSS/disco_version.html?rand=' + Math.floor(Math.random() * 1987865) + dvl;
} else if (dwhat == dwhat.toUpperCase()) {
dsofar=' ';
czhr = new XMLHttpRequest();
czhr.onreadystatechange = showStuff;
czhr.responseType='Document';
czhr.open('GET', '/HTMLCSS/disco_version.html', true);
czhr.send(null);
if (ytlist == '') { ytlist=' '; }
document.getElementById('spareifthree').src='/HTMLCSS/disco_version.html?rand=' + Math.floor(Math.random() * 1987865) + dvl;
//document.getElementById('spareiftwo').src='/HTMLCSS/the_wrecking_crew.html?rand=' + Math.floor(Math.random() * 1987865);
//document.getElementById('spareif').src='/HTMLCSS/yacht_rock.html?rand=' + Math.floor(Math.random() * 1987865);
}
setTimeout(function(){ document.body.style.cursor='pointer'; }, 5000);
}

function dowc(dwhat) { // <button id="bwca" onclick="dowc('bwca=radnoiswas&audio');" style="background-color: yellow; position: fixed; left: 392.25px; top: 714.945px;">The <br>Wrecking <br>Crew<sub>A-V</sub> <span id="bwcb" title="Radio A-V ... double click for compilation" ondblclick="event.stopPropagation(); triplewhammy(this); " onclick="event.stopPropagation(); setTimeout(function(){ dowc('isradio=bwcb&audio'); }, 2000);" style="background-color: yellow; visibility: visible; border: 1px solid red;">📻</span></button>
setTimeout(cursanimate, 600);
if (dwhat.indexOf('=radnoiswas') != -1) {
document.getElementById(dwhat.split('=radnoiswas')[0]).style.border='1px dotted red';
} else if (dwhat.indexOf('isradio=') == 0) {
document.getElementById(dwhat.split('isradio=')[1].split('&')[0]).style.border='1px dotted red';
}
document.body.style.cursor='progress';
if (independent) {
if (prefix.indexOf('shuffle=') == -1) { prefix=dwhat; }
document.getElementById('spareif').src='/HTMLCSS/the_wrecking_crew.html?rand=' + Math.floor(Math.random() * 1987865) + twcvl;
} else if (dwhat == dwhat.toUpperCase()) {
wsofar=' ';
czhr = new XMLHttpRequest();
czhr.onreadystatechange = showStuff;
czhr.responseType='Document';
czhr.open('GET', '/HTMLCSS/the_wrecking_crew.html', true);
czhr.send(null);
if (ytlist == '') { ytlist=' '; }
//document.getElementById('spareifthree').src='/HTMLCSS/disco_version.html?rand=' + Math.floor(Math.random() * 1987865);
document.getElementById('spareiftwo').src='/HTMLCSS/the_wrecking_crew.html?rand=' + Math.floor(Math.random() * 1987865) + twcvl;
//document.getElementById('spareif').src='/HTMLCSS/yacht_rock.html?rand=' + Math.floor(Math.random() * 1987865);
}
setTimeout(function(){ document.body.style.cursor='pointer'; }, 5000);
}


function doyr(dwhat) {
setTimeout(cursanimate, 600);
if (dwhat.indexOf('=radnoiswas') != -1) {
document.getElementById(dwhat.split('=radnoiswas')[0]).style.border='1px dotted red';
} else if (dwhat.indexOf('isradio=') == 0) {
document.getElementById(dwhat.split('isradio=')[1].split('&')[0]).style.border='1px dotted red';
}
document.body.style.cursor='progress';
if (independent) {
if (prefix.indexOf('shuffle=') == -1) { prefix=dwhat; }
document.getElementById('spareif').src='/HTMLCSS/yacht_rock.html?rand=' + Math.floor(Math.random() * 1987865) + yrvl;
} else if (dwhat == dwhat.toUpperCase()) {
if (ytlist == '') { ytlist=' '; }
//document.getElementById('spareifthree').src='/HTMLCSS/disco_version.html?rand=' + Math.floor(Math.random() * 1987865);
//document.getElementById('spareiftwo').src='/HTMLCSS/the_wrecking_crew.html?rand=' + Math.floor(Math.random() * 1987865);
document.getElementById('spareif').src='/HTMLCSS/yacht_rock.html?rand=' + Math.floor(Math.random() * 1987865) + yrvl;
}
setTimeout(function(){ document.body.style.cursor='pointer'; }, 5000);
}

function extraatendmaybe(inl, pfix) {
var firstvi='';
if (pfix.indexOf('isradio=') != -1 && pfix.indexOf('shuffle=') != -1) {
return inl;
}
if (pfix.indexOf('isradio=') != -1 && inl.indexOf(',') != -1) {
firstvi='0Gz_7am23rk'; //inl.trim().split(',')[0];
//inl=inl.replace(inl.trim(), inl.trim() + ',' + firstvi);
}
return inl;
}

function firstonl() {
var recta=null, ioff=-1;
document.getElementById('sfirst').innerHTML=document.getElementById('sfirst').innerHTML.replace('|', reipad + '|');
var bts=document.getElementsByTagName('button');
recta=bts[0].getBoundingClientRect();
if (ioff < 0) { ioff=eval('' + recta.left); ioff=Math.min(ioff,8); }
for (var ib=eval(-1 + eval('' + bts.length)); ib>=0; ib--) {
recta=bts[ib].getBoundingClientRect();
bts[ib].style.position='fixed';
bts[ib].style.left='' + eval(-ioff + eval('' + recta.left)) + 'px';
if (3 == 5 && ('' + bts[ib].id).toLowerCase().indexOf('recall') != -1 && !navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) {
bts[ib].style.top='' + eval(-15 + eval('' + recta.top)) + 'px';
} else {
bts[ib].style.top='' + recta.top + 'px';
}
if (8 == 8 || !navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) {
if ((' ' + bts[ib].id).slice(-1) == 'b') {
bts[ib].style.visibility='visible';
}
}
}
bts=document.getElementsByTagName('span');
for (var ib=eval(-1 + eval('' + bts.length)); ib>=0; ib--) {
if (8 == 8 || !navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) {
if ((' ' + bts[ib].id).slice(-1) == 'b') {
bts[ib].style.visibility='visible';
}
}
}
if (document.URL.indexOf('clickthis=') != -1) {
if (document.getElementById(document.URL.split('clickthis=')[1].split('&')[0].split('#')[0])) {
document.getElementById(document.URL.split('clickthis=')[1].split('&')[0].split('#')[0]).click();
}
}

if (gtdzero != '> </td>') {
document.getElementById('td0001').style.cursor='progress';
setTimeout(function(){
var thenytid=gtdzero.split('youtubeid=')[1].split('&')[0];
if (sofar.indexOf(';' + thenytid + ';') != -1) {
gtdzero=gtdzero.replace(/22234\.0/g, sofar.split(';' + thenytid + ';')[1].split(';')[0]).replace(/22234/g, sofar.split(';' + thenytid + ';')[1].split(';')[0].split('.')[0]);
}
//alert(gtdzero.replace(/^\>/g,'').replace(/\<\/td\>$/g,''));
if (5 == 7) {
//alert(gtdzero.split(' src=')[1]);
document.getElementById('if1').src=gtdzero.split(' src="')[1].split('"')[0];
} else {
//alert(gtdzero.replace(/^\>/g,'').replace(/\<\/td\>$/g,'').replace(/\=off/g,'=on'));
document.getElementById('td0001').innerHTML=gtdzero.replace(/^\>/g,'').replace(/\<\/td\>$/g,'').replace(/\=off/g,'=on');
}
document.getElementById('td0001').style.cursor='pointer';
}, 30000);
}

var wasdt=document.title;
var wasfd=[];
if (document.URL.indexOf('isradio=') != -1) {
if (document.getElementById(document.URL.split('isradio=')[1].split('&')[0].split('#')[0])) {
wasfd=document.body.innerHTML.split(document.getElementById(document.URL.split('isradio=')[1].split('&')[0].split('#')[0]).outerHTML);
if (eval('' + wasfd.length) > 1 && wasdt.indexOf('Radio Play') != -1) {
document.title=document.title.replace('Radio Play', wasfd[0].split('<button ')[eval(-1 + wasfd[0].split('<button ').length)].replace(/\<sup\>/g,' ').replace(/\<sub\>/g,' ').replace(/\<\/sup\>/g,'').replace(/\<\/sub\>/g,'').replace(/\ \;/g,' ').split('>')[1].split('<')[0] + ' Radio Play');
}
document.getElementById(document.URL.split('isradio=')[1].split('&')[0].split('#')[0]).style.border='2px solid red';
}
} else if (document.URL.indexOf('=radnoiswas') != -1) {
if (document.getElementById(document.URL.replace('?','&').split('=radnoiswas')[0].split('&')[eval(-1 + document.URL.replace('?','&').split('=radnoiswas')[0].split('&').length)])) {
wasfd=document.body.innerHTML.split(document.getElementById(document.URL.replace('?','&').split('=radnoiswas')[0].split('&')[eval(-1 + document.URL.replace('?','&').split('=radnoiswas')[0].split('&').length)]).outerHTML);
if (eval('' + wasfd.length) > 1 && wasdt.indexOf('Swipe Media') != -1) {
//alert(document.getElementById(document.URL.replace('?','&').split('=radnoiswas')[0].split('&')[eval(-1 + document.URL.replace('?','&').split('=radnoiswas')[0].split('&').length)]).innerHTML.replace(/\<sup\>/g,' ').replace(/\<sub\>/g,' ').replace(/\<\/sup\>/g,'').replace(/\<\/sub\>/g,'').replace(/\ \;/g,' '));
document.title=document.title.replace('Swipe Media', document.getElementById(document.URL.replace('?','&').split('=radnoiswas')[0].split('&')[eval(-1 + document.URL.replace('?','&').split('=radnoiswas')[0].split('&').length)]).innerHTML.replace(/\<sup\>/g,' ').replace(/\<sub\>/g,' ').replace(/\<\/sup\>/g,'').replace(/\<\/sub\>/g,'').replace(/\ \;/g,' ').split('<')[0] + ' ... Swipe Media');
}
document.getElementById(document.URL.replace('?','&').split('=radnoiswas')[0].split('&')[eval(-1 + document.URL.replace('?','&').split('=radnoiswas')[0].split('&').length)]).style.border='2px solid red';
}
}

var meddurs=document.URL.replace('?','&').split('&dd');
for (var imeds=eval(-1 + meddurs.length); imeds>=1; imeds--) {
jmedias.push(meddurs[imeds].split('=')[1].split('&')[0].split('#')[0]);
}

if (document.URL.indexOf('isradio=') != -1 && 4 == 6) {
document.getElementById('sfirst').style.visibility='visible';
document.getElementById('sfirst').title='Back to beginning ...';
document.getElementById('slast').style.visibility='visible';
document.getElementById('slast').title='Jump to last ...';
document.getElementById('sback').style.visibility='visible';
document.getElementById('sback').title='Jump to previous ...';
document.getElementById('snext').style.visibility='visible';
document.getElementById('snext').title='Jump to next ...';
}

bordersmaybe();
if (!asa && document.URL.indexOf('isradio=') != -1) {
as_soon_as(); //document.getElementById('td0001').style.border='15px dotted yellow';
}

if (alttitle != '' && document.title.indexOf('Disco') != -1) {
document.title=document.title.replace('Disco', alttitle);
document.getElementById('bdiscoavb').title+=' ... but currently playing ' + alttitle;
}

if (!navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i) && document.URL.indexOf('https:') == 0 && document.URL.indexOf('?') == -1 && document.URL.indexOf('rjmprogramming.com.au/HTMLCSS/swipe_media.htm') != -1) {
if (('' + window.navigator.userAgent).toLowerCase().replace('crios','chrome').indexOf('chrom') != -1) {
if (window.parent && window.parent != window.self) {
speechtotextwo=speechtotextwo;
} else {
if (window.opener) {
speechtotextwo=speechtotextwo;
} else {
speechtotextwo=window.open('https://www.rjmprogramming.com.au/PHP/speech_supervisor.php?mode=3', '_blank', 'top=0,left=' + eval(-600 + screen.width) + ',width=600,height=' + eval(-100 + screen.height));
document.body.innerHTML+='<input type=hidden id=posturl style=display:none; value=""></input><input type=button id=dbutton onclick=checkforstt(); style=display:none;></input>';
setTimeout(checkforstt, 1000);
setTimeout(function(){ speechtotextwo.document.title='"Find Imagine" ... example of YouTube Genre Number or Name Listening'; }, 5000);
document.getElementById('td0000').title+=' Or speak (and/or type on keyboard' + gottentowith + ' the numerical versions or space ending word you type regarding) your Radio Play music genre eg. Find three to Start Solo Guitar or Find rock to start Yacht Rock or Find imagine to do a YouTube search that populates a multiple selection dropdown ... ' + String.fromCharCode(10) + '1 is Movie Soundtracks or ' + String.fromCharCode(10) + '2 is Slow Classical Movements or ' + String.fromCharCode(10) + '3 is Solo Guitar or ' + String.fromCharCode(10) + '4 is Solo Sax or ' + String.fromCharCode(10) + '5 is Mr Smith Goes To Washington or ' + String.fromCharCode(10) + '6 is Disco or ' + String.fromCharCode(10) + '7 is The Wrecking Crew or ' + String.fromCharCode(10) + '8 is Yacht Rock';
}
}
}
}

if (!speechtotextwo) {
document.getElementById('td0000').title+=' Or on keyboard' + gottentowith + ' the numerical versions or space ending word you type regarding your Radio Play music genres can be typed in to fire up ... ' + String.fromCharCode(10) + '1 is Movie Soundtracks or ' + String.fromCharCode(10) + '2 is Slow Classical Movements or ' + String.fromCharCode(10) + '3 is Solo Guitar or ' + String.fromCharCode(10) + '4 is Solo Sax or ' + String.fromCharCode(10) + '5 is Mr Smith Goes To Washington or ' + String.fromCharCode(10) + '6 is Disco or ' + String.fromCharCode(10) + '7 is The Wrecking Crew or ' + String.fromCharCode(10) + '8 is Yacht Rock';
}

if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) {
document.getElementById('thev').style.textShadow='2px 2px red';
document.getElementById('thev').title='Access to keyboard via tap here';
}
}


function checkforstt() {
if (document.getElementById('posturl')) {
if (document.getElementById('posturl').value.trim() != '') {
var wasp=purlideas;
var thisppis=document.getElementById('posturl').value;
document.getElementById('posturl').value='';
purlideas+=' ' + thisppis;
if (thisppis.toLowerCase() != 'find') {
if (thisppis.toLowerCase().indexOf('find ') == 0) {
genreideas(thisppis);
} else {
genreideas('find ' + thisppis);
}
}
//alert('found');
}
}
setTimeout(checkforstt, 600);
}


function checkmeout(evt, iscuttothechase) {
if (evt.target.outerHTML.split('>')[0].indexOf('url(') != -1) {
if (evt.target.outerHTML.split('>')[0].split('url(')[1].split(')')[0].indexOf('?rand=') != -1) {
if (iscuttothechase) {
document.getElementById('sparepal').src='/HTMLCSS/select_palette.php?getrandom=' + encodeURIComponent('RAND=' + evt.target.outerHTML.split('>')[0].split('url(')[1].split(')')[0].split('?rand=')[1].split("'")[0].split('"')[0].split(')')[0].split('"')[0]); // + ('&viJUNKa=' + evt.target.id).replace('td','div')
} else {
document.getElementById('sparepal').src='/HTMLCSS/select_palette.php?getrandom=' + encodeURIComponent('rand=' + evt.target.outerHTML.split('>')[0].split('url(')[1].split(')')[0].split('?rand=')[1].split("'")[0].split('"')[0].split(')')[0].split('"')[0]); // + ('&viJUNKa=' + evt.target.id).replace('td','div')
}
}
}
}

function setdurl(towhurl, towhtitle, towhduration) {
if (towhduration.trim() != '') {
if (towhduration.substring(0,1) >= '1' && towhduration.substring(0,1) <= '9') {
if (towhduration.slice(-1) >= '0' && towhduration.slice(-1) <= '9') {
//alert(towhtitle + ' Is ' + towhduration + ' long');
if (towhduration.indexOf('2222') != 0) {
if (lasttitleis != towhtitle) {
//alert(towhtitle + ' is ' + towhduration + ' long');
storedvurl.push(towhurl);
storedvtitle.push(towhtitle);
storedvduration.push(towhduration);
lasttitleis=towhtitle;
//document.title=towhurl + '|' + towhtitle + '|' + towhduration;
}
}
}
}
}
}

function setvurl(towhurl, towhtitle, towhduration) {
if (towhduration.trim() != '') {
if (towhduration.substring(0,1) >= '1' && towhduration.substring(0,1) <= '9') {
if (towhduration.slice(-1) >= '0' && towhduration.slice(-1) <= '9') {
//alert(towhtitle + ' Is ' + towhduration + ' long');
if (towhduration.indexOf('2222') != 0) {
if (lasttitleis != towhtitle) {
//alert(towhtitle + ' is ' + towhduration + ' long');
storedvurl.push(towhurl);
storedvtitle.push(towhtitle);
storedvduration.push(towhduration);
lasttitleis=towhtitle;
//document.title=towhurl + '|' + towhtitle + '|' + towhduration;
//console.warn(storedvtitle);
//console.warn(storedduration);
}
}
}
}
}
}

function recallit(buto) {
if (document.getElementById('recallable').innerHTML.indexOf('<') == -1 && document.getElementById('recallable').innerHTML.indexOf('tube') == 0) {
lastrecall=decodeURIComponent(window.localStorage.getItem(document.getElementById('recallable').innerHTML));
}
if (lastrecall != '' && document.getElementById('recallable').innerHTML.indexOf('<') == -1) {
//alert(21);
ytwo=window.open(lastrecall, '_blank', 'top=0,left=0,width=' + screen.width + ',height=' + screen.height);
} else if (document.getElementById('recallable').innerHTML.indexOf('<') == -1) {
if (('' + window.localStorage.getItem('tube_' + document.getElementById('recallable').innerHTML)).replace(/^undefined/g, '').replace(/^null/g, '') != '') {
//alert(211);
ytwo=window.open(decodeURIComponent(window.localStorage.getItem('tube_' + document.getElementById('recallable').innerHTML)), '_blank', 'top=0,left=0,width=' + screen.width + ',height=' + screen.height);
} else if (('' + window.localStorage.getItem('karaoke_youtube_api-' + document.getElementById('recallable').innerHTML)).replace(/^undefined/g, '').replace(/^null/g, '') != '') {
//alert(2111);
ytwo=window.open(decodeURIComponent(window.localStorage.getItem('karaoke_youtube_api-' + document.getElementById('recallable').innerHTML)), '_blank', 'top=0,left=0,width=' + screen.width + ',height=' + screen.height);
} else if (('' + window.localStorage.getItem(document.getElementById('recallable').innerHTML)).replace(/^undefined/g, '').replace(/^null/g, '') != '') {
//alert(2121);
ytwo=window.open(decodeURIComponent(window.localStorage.getItem(document.getElementById('recallable').innerHTML)), '_blank', 'top=0,left=0,width=' + screen.width + ',height=' + screen.height);
}
}
}

function triplewhammy(obo) {
independent=false;
if ((' ' + obo.title).indexOf('A-V') != -1) {
location.hash='#independentaudio=false';
argshuffle='&justaudio=y&shuffle=y';
} else {
location.hash='#independent=false';
argshuffle='&shuffle=y';
}
prefix='isradio=y' + argshuffle + '&';
dodisco('ISRADIO=BDISCOAVB&');
setTimeout(function(){
prefix='isradio=y' + argshuffle + '&';
dowc('ISRADIO=BWCAVB&');
}, 3000);
setTimeout(function(){
prefix='isradio=y' + argshuffle + '&';
doyr('ISRADIO=BYRAVB&');
}, 7000);
setTimeout(function(){ independent=true; }, 37000);
}

function getcura(inele) {
var tds=document.getElementsByTagName('td'), ltds=0;
for (ltds=0; ltds<tds.length; ltds++) {
if (('' + tds[ltds].getAttribute('data-arb')).replace(/^undefined$/g,'').replace(/^null$/g,'') != '' && ('' + tds[ltds].getAttribute('data-vid')).replace(/^undefined$/g,'').replace(/^null$/g,'').trim() != '') {
tds[ltds].setAttribute('data-arb', getrequestedbystuff(tds[ltds].getAttribute('data-vid').trim(),inele));
} else if (('' + tds[ltds].getAttribute('data-vid')).replace(/^undefined$/g,'').replace(/^null$/g,'').trim() != '') {
tds[ltds].setAttribute('data-arb', getrequestedbystuff(tds[ltds].getAttribute('data-vid').trim(),inele));
}
}
return ''; //cursanim[cntcurs];
}

function naviga(swhat) {
document.getElementById('navig').value='' + swhat.id;
//alert(swhat.id);
//ytwo.lookfornavig();
}

function cursanimate() {
if (altlen == -1) {
if (document.getElementById('td0001').getAttribute('alt').indexOf(' (when emojis appear) ') != -1) {
document.getElementById('td0001').setAttribute('alt', document.getElementById('td0001').getAttribute('alt').replace(' (when emojis appear) ', ' '));
}
altlen=eval(0 + eval('' + document.getElementById('td0001').getAttribute('alt').length));
}
lastcurs=cntcurs;
cntcurs++;
if (cntcurs >= eval('' + cursanim.length)) { cntcurs=1; }
document.getElementById('td0001').setAttribute('alt', document.getElementById('td0001').getAttribute('alt').substring(0,altlen) + cursanimtwo[cntcurs]);
setTimeout(cursanimate, 600);
}

function postassoonas() {
var huhpa=('' + document.getElementById('td0001').getAttribute('data-alt')).replace(/^undefined$/g,'').replace(/^null$/g,'');
var huhpb=('' + document.getElementById('td0001').getAttribute('alt')).replace(/^undefined$/g,'').replace(/^null$/g,'');
if (huhpa.indexOf('Playing ') == 0 || huhpb.indexOf('Playing ') == 0) {
var tds=document.getElementsByTagName('td'), ltds=0;
for (ltds=0; ltds<tds.length; ltds++) {
if (('' + tds[ltds].getAttribute('data-arb')).replace(/^undefined$/g,'').replace(/^null$/g,'') != '' && ('' + tds[ltds].getAttribute('data-vid')).replace(/^undefined$/g,'').replace(/^null$/g,'').trim() != '') {
tds[ltds].setAttribute('data-arb', getrequestedbystuff(tds[ltds].getAttribute('data-vid').trim(),null));
} else if (('' + tds[ltds].getAttribute('data-vid')).replace(/^undefined$/g,'').replace(/^null$/g,'').trim() != '') {
tds[ltds].setAttribute('data-arb', getrequestedbystuff(tds[ltds].getAttribute('data-vid').trim(),null));
}
}

for (var ikh=1; ikh<cursanimtwo.length; ikh++) {
cursanimtwo[ikh]=' ' + String.fromCodePoint(eval(128336 + eval(eval(-1 + ikh) % 12))) + ' ';
}
document.getElementById('td0000').style.borderRight='0px solid transparent';
document.getElementById('td0001').style.borderLeft='0px solid transparent';
document.getElementById('td0001').style.borderRight='0px solid transparent';
document.getElementById('td0002').style.borderLeft='0px solid transparent';
document.getElementById('td0001').style.opacity='1.0';
document.getElementById('td0001').style.cursor='pointer';
//document.getElementById('td0001').className='notapplicable';
} else {
setTimeout(postassoonas, 1000);
}
}

function assoonas() {
asa=true;
if (document.getElementById('td0002')) {
document.getElementById('td0000').style.borderRight='8px dashed orange';
document.getElementById('td0002').style.borderLeft='8px dashed orange';
document.getElementById('td0001').style.borderLeft='0px solid transparent';
document.getElementById('td0001').style.borderRight='0px solid transparent';
document.getElementById('td0001').style.opacity='0.6';
document.getElementById('td0001').style.cursor='progress';
//document.getElementById('td0001').className='eggtimer';
window.opener.document.getElementById('td0000').style.borderRight='0px solid transparent';
window.opener.document.getElementById('td0002').style.borderLeft='0px solid transparent';
setTimeout(postassoonas, 1000);
} else {
setTimeout(assoonas, 1000);
}
}

function as_soon_as() {
asa=true;
if (document.getElementById('td0002')) {
document.getElementById('td0000').style.borderRight='8px dotted yellow';
document.getElementById('td0002').style.borderLeft='8px dotted yellow';
document.getElementById('td0001').style.borderLeft='0px solid transparent';
document.getElementById('td0001').style.borderRight='0px solid transparent';
document.getElementById('td0001').style.opacity='0.6';
document.getElementById('td0001').style.cursor='progress';
setTimeout(postassoonas, 1000);
} else {
setTimeout(postassoonas, 1000);
}
}

//if (document.URL.indexOf('youtube=') == -1) {
if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i) && document.URL.indexOf('youtube=') != -1) {
curtdn=curtdn;
} else {
window.onscroll = function (e) {
// called when the window is scrolled.
vspos4=document.body.scrollTop;
vspos3=document.body.scrollLeft;
//document.title='' + vspos3 + ',' + vspos4;
var vstdn=Math.ceil(eval('' + vspos3) / eval('' + amin));
if (curtdn != vstdn) {
//alert('Checking ' + vstdn);
checkthen(vstdn);
}
}
}
//}

function otmallow() {
allowotm=true;
}

function genreideas(ind) {
if (allowotm) {
allowotm=false;
setTimeout(otmallow, 10000);
var ablurb='Can choose some other Genres out of 1 is Movie Soundtracks or 2 is Slow Classical Movements or 3 is Solo Guitar or 4 is Solo Sax or 5 is Mr Smith Goes To Washington or 6 is Disco or 7 is The Wrecking Crew or 8 is Yacht Rock';
var ans=null;
if (ind.trim() == '') {
ans=prompt(ablurb, '');
} else {
ans=ind;
}

if (ans == null) { return ''; }
if (ans.toLowerCase().replace(/^find\ /g,'').replace('one','1') == '1' || ans.toLowerCase().indexOf('soundtrack') != -1 || ans.toLowerCase().indexOf('movie') != -1) {
prefix='isradio=bdiscoavb&atitle=Movie%20Soundtracks&';
ifired=1;
document.getElementById('spareif').src='/HTMLCSS/disco_version.html?aprefix=001&atitle=Movie%2520Soundtracks&alist=gZXKl36YS9k%2CHWqKPWO5T4o%2CAFa1-kciCb4%2CF2RnxZnubCM%2C3JWTaaS7LdU%2CU5zbcTxxz6M%2CLGs_vGt0MY8%2CcH2PH0auTUU%2CYnzgdBAKyJo%2C-p6OH7FoWoQ%2C057A1RdssoU%2CDhlPAj38rHc%2CyyV_eb3p3Zw%2Cdfe8tCcHnKY%2CK69tbUo3vGs%2C_D0ZQPqeJkk%2CjA9NbU_R-y4%2C8XDB7GMnbUQ%2Cz9_S411e9RI%2CX6ymVaq3Fqk%2CJYMySrHL0Fo%2CRuxHLzwlDY4%2CWkr8iZlKaRk%2C4Yd2PzoF1y8%2C-9012SGz-yY%2C9NEQb6LdHGQ%2CgCTeh8avZQI%2C78N2SP6JFaI%2CntXJJwEk1NA&rand=' + Math.floor(Math.random() * 1987865); // + dvl;
} else if (ans.toLowerCase().replace(/^find\ /g,'').replace('two','2') == '2' || ans.toLowerCase().indexOf('slow') != -1 || ans.toLowerCase().indexOf('classic') != -1 || ans.toLowerCase().indexOf('move') != -1) {
prefix='isradio=bdiscoavb&atitle=Slow%20Classical%20Movements&';
ifired=2;
document.getElementById('spareif').src='/HTMLCSS/disco_version.html?aprefix=002&atitle=Slow%2520Classical%2520Movements&alist=FtE3hoR_Nvo%2CW5IKT_xue4o%2CIfaGhyK78E8%2CBuN3yCmHb_U%2CTdiAwCPb_As%2CeuZcUku9XiE%2CaMs0rNtBZJk%2CsUgoBb8m1eE%2CPppexz-KKig%2Cs-CpJpWm9Vs%2CLGs_vGt0MY8%2C2WfaotSK3mI%2CGKkeDqJBlK8%2CCvFH_6DNRCY%2Cu-_hosF7TpI%2CIOWN5fQnzGk%2CYqVRcFQagtI&rand=' + Math.floor(Math.random() * 1987865); // + dvl;
} else if (ans.toLowerCase().replace(/^find\ /g,'').replace('three','3') == '3' || ans.toLowerCase().indexOf('guitar') != -1) {
prefix='isradio=bdiscoavb&atitle=Solo%20Guitar&';
ifired=3;
document.getElementById('spareif').src='/HTMLCSS/disco_version.html?aprefix=004&atitle=Solo%2520Guitar&alist=_4E_924b9SU%2C6pR1cVgk7Is%2CjoUEC257ZS0%2CIxuThNgl3YA%2CTLV4_xaYynY%2CVJDJs9dumZI%2CJGJdU2dpYxg%2CPl9H9X1GoAc%2C09839DpTctU%2CN4bFqW_eu2I%2CQkF3oxziUI4%2C2BMT0L714S8&rand=' + Math.floor(Math.random() * 1987865); // + dvl;
} else if (ans.toLowerCase().replace(/^find\ /g,'').replace('four','4') == '4' || ans.toLowerCase().indexOf('sax') != -1) {
prefix='isradio=bdiscoavb&atitle=Solo%20Sax&';
ifired=4;
document.getElementById('spareif').src='/HTMLCSS/disco_version.html?aprefix=013&atitle=Solo%2520Sax&alist=Fo6aKnRnBxM%2CHoLhKJuGhK0%2ClW1RAYYs8RI%2C447yaU_4DF8%2CizGwDsrQ1eQ%2C4TYv2PhG89A%2CSECVGN4Bsgg%2C3JWTaaS7LdU%2C_leMA3_maBU%2CZtFUX4Y2U84%2CPXwF7g5wksQ&rand=' + Math.floor(Math.random() * 1987865); // + dvl;
} else if (ans.toLowerCase().replace(/^find\ /g,'').replace('five','5') == '5' || ans.toLowerCase().indexOf('smith') != -1 || ans.toLowerCase().indexOf('washington') != -1) {
prefix='isradio=bdiscoavb&atitle=Mr%20Smith%20Goes%20To%20Washington&';
ifired=5;
document.getElementById('spareif').src='/HTMLCSS/disco_version.html?aprefix=014&atitle=Mr%2520Smith%2520Goes%2520To%2520Washington&alist=zPv0S1-ETdI%2CqYf35nBq8Oo%2CSe3kxManWUY%2Ci7hk-TupE5g%2CLnK0tnaNUag%2CdbH4Amzn-Rk%2CBL-Jg7CyqLQ%2C0v7Ea7kg2gA%2CNRjWEE0hmjQ&rand=' + Math.floor(Math.random() * 1987865); // + dvl;
} else if (ans.toLowerCase().replace(/^find\ /g,'').replace('six','6') == '6' || ans.toLowerCase().indexOf('disco') != -1) {
ifired=6;
document.getElementById('bdiscoavb').click();
} else if (ans.toLowerCase().replace(/^find\ /g,'').replace('seven','7') == '7' || ans.toLowerCase().indexOf('wreck') != -1 || ans.toLowerCase().indexOf('crew') != -1) {
ifired=7;
document.getElementById('bwcavb').click();
} else if (ans.toLowerCase().replace(/^find\ /g,'').replace('eight','8') == '8' || ans.toLowerCase().indexOf('yacht') != -1 || ans.toLowerCase().indexOf('rock') != -1) {
ifired=8;
document.getElementById('byravb').click();
} else if (ind.trim() == '' && ans.toLowerCase().replace('+','=').replace('-','=').indexOf('=') != -1) {
storageideas(ans);
} else if (ind.trim() != '' && ind.trim().indexOf('@') != -1) {
emailsms(document.getElementById('femailthft'), ind.trim());
} else if (ind.trim() != '' && eval(('' + ind.length)) > 4 && ind.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,'') == '') {
emailsms(document.getElementById('fsmsthft'), ind.trim());
} else if (ind.trim() != '' && ind.toLowerCase().indexOf('find ') == 0) {
gplist=ind.substring(5);
document.getElementById('fplaythft').style.border='3px dotted olive';
document.getElementById('fplaythft').title+=' ... set off ... find ' + gplist;
createplaylist(document.getElementById('fplaythft'));
} else if (ind.trim() != '') {
gplist=ind.substring(0);
document.getElementById('fplaythft').style.border='3px dotted darkgreen';
document.getElementById('fplaythft').title+=' ... set off ... find ' + gplist;
createplaylist(document.getElementById('fplaythft'));
}
}
if (ifired >= 1 && ifired <= 8) {
document.getElementById('fplaythft').style.border='3px dotted lightgreen';
document.getElementById('fplaythft').title+=' ... fired up ' + firedup[eval('' + ifired)];
ifired=-1;
}
return '';
}

function storageideas(ind) {
//var ablurb='Can redefine Disco or The Wrecking Crew or Yacht Rock playlists for this web browser tab (only) via entry like Disco=Klh7sAv9hu4,hMOORQ1Mt2s,k4V3Mo61fJM,-p6OH7FoWoQ,AIOAlaACuv4,HTzGMEfbnAw,CW_ZiojrkVY,FtE3hoR_Nvo#My Eight Songs' + String.fromCharCode(10) + ' or to delete one via entry like The Wrecking Crew-' + String.fromCharCode(10) + ' or to add into the mix (for this web browser usage) via entry like Yacht Rock+Klh7sAv9hu4,hMOORQ1Mt2s,k4V3Mo61fJM,-p6OH7FoWoQ,AIOAlaACuv4,HTzGMEfbnAw,CW_ZiojrkVY,FtE3hoR_Nvo#Eight Songs Into the Yacht Rock mix';
var ablurb='Can redefine Disco or The Wrecking Crew or Yacht Rock or All playlists for web browser tab (only) via entry like Disco=Klh7sAv9hu4,hMOORQ1Mt2s,k4V3Mo61fJM#My 3 Songs' + String.fromCharCode(10) + ' or to delete one via entry like The Wrecking Crew-' + String.fromCharCode(10) + ' or to add into the mix (for this web browser usage) via entry like Yacht Rock+Klh7sAv9hu4,k4V3Mo61fJM#Two Songs into the mix' + String.fromCharCode(10) + ' Prefix of M for email moderation for chance of more permanent ongoing basis (after # would be regarding "as requested by [Name]" eg. Mall=HTzGMEfbnAw,CW_ZiojrkVY#Robert ).';
var ansp=null;
if (ind.trim() == '') {
ansp=prompt(ablurb, '');
} else {
ansp=ind;
}
var origansp='';
var moderate=0;
var buts=document.getElementsByTagName('button'), ibuts=0;
var spareihis='', sparerest='', sid=0, gsid=0;
var subjline=String.fromCodePoint(128251) + ' RJM Programming ... Please see whether YouTube links below suit xwz and DO NOT flag as such with "as requested by [yourEmailAddressGoesHere@alseChangeThisPleaseWithAName]" if all okay with YouTube ID list ';

if (ansp == null) { return ''; }
if (ansp.trim() != '' && ansp.toLowerCase().replace('+','=').replace('-','=').indexOf('=') == -1) {
return genreideas(ansp);
} else {
if (ansp.toLowerCase().replace('+','=').replace('-','=').indexOf('mdisco=') == 0) {
gsid=('disco=').length;
subjline=subjline.replace(' xwz ', ' Disco music genre ');
moderate=(ansp.substring(0,1) == 'M' ? 2 : 1);
ansp=ansp.substring(1);
} else if (ansp.toLowerCase().replace('+','=').replace('-','=').indexOf('myacht rock=') == 0) {
gsid=('yacht rock=').length;
subjline=subjline.replace(' xwz ', ' Yacht Rock music genre ');
moderate=(ansp.substring(0,1) == 'M' ? 2 : 1);
ansp=ansp.substring(1);
} else if (ansp.toLowerCase().replace('+','=').replace('-','=').indexOf('mthe wrecking crew=') == 0) {
gsid=('the wrecking crew=').length;
subjline=subjline.replace(' xwz ', ' The Wrecking Crew music genre ');
moderate=(ansp.substring(0,1) == 'M' ? 2 : 1);
ansp=ansp.substring(1);
} else if (ansp.toLowerCase().replace('+','=').replace('-','=').indexOf('mall=') == 0) {
gsid=('all=').length;
subjline=subjline.replace(' xwz ', ' ');
moderate=(ansp.substring(0,1) == 'M' ? 2 : 1);
ansp=ansp.substring(1);
}
var precomlist=ansp.split('&')[0].split('#')[0];
var comlist=precomlist.split(','), icl=0, bodyblurb='';
var boklast=['A','E','I','M','Q','U','Y','c','g','k','o','s','w','0','4','8'];
if (moderate == 2) {
subjline=subjline.replace(' DO NOT ', ' ');
if (ansp.indexOf('#') != -1 || ansp.indexOf('&') != -1) {
subjline=subjline.replace('[yourEmailAddressGoesHere@alseChangeThisPleaseWithAName]', ansp.substring(Math.max(ansp.indexOf('#'),ansp.indexOf('&'))).substring(1));
}
for (icl=eval(-1 + comlist.length); icl>=0; icl--) {
if (icl == 0) { sid=gsid; }
if (bodyblurb == '' && eval('' + comlist[icl].substring(sid).replace(/^\+/g,'').length) == 11 && comlist[icl].substring(sid).indexOf(' ') == -1 && boklast.indexOf(comlist[icl].slice(-1)) != -1) {
bodyblurb='https://www.youtube.com/watch?v=' + comlist[icl].substring(sid).replace(/^\+/g,'');
subjline+=comlist[icl].substring(sid).replace(/^\+/g,'');
} else if (eval('' + comlist[icl].substring(sid).replace(/^\+/g,'').length) == 11 && comlist[icl].substring(sid).indexOf(' ') == -1 && boklast.indexOf(comlist[icl].substring(sid).slice(-1)) != -1) {
bodyblurb+=String.fromCharCode(10) + 'https://www.youtube.com/watch?v=' + comlist[icl].substring(sid).replace(/^\+/g,'');
subjline+=',' + comlist[icl].substring(sid).replace(/^\+/g,'');
}
}
} else if (moderate == 1) {
if (ansp.indexOf('#') != -1 || ansp.indexOf('&') != -1) {
subjline=subjline.replace('[yourEmailAddressGoesHere@alseChangeThisPleaseWithAName]', ansp.substring(Math.max(ansp.indexOf('#'),ansp.indexOf('&'))).substring(1));
}
for (icl=eval(-1 + comlist.length); icl>=0; icl--) {
if (icl == 0) { sid=gsid; }
if (bodyblurb == '' && eval('' + comlist[icl].substring(sid).replace(/^\+/g,'').length) == 11 && comlist[icl].substring(sid).indexOf(' ') == -1 && boklast.indexOf(comlist[icl].slice(-1)) != -1) {
bodyblurb='https://www.youtube.com/watch?v=' + comlist[icl].substring(sid).replace(/^\+/g,'');
subjline+=comlist[icl].substring(sid).replace(/^\+/g,'');
} else if (eval('' + comlist[icl].substring(sid).replace(/^\+/g,'').length) == 11 && comlist[icl].substring(sid).indexOf(' ') == -1 && boklast.indexOf(comlist[icl].substring(sid).slice(-1)) != -1) {
bodyblurb+=String.fromCharCode(10) + 'https://www.youtube.com/watch?v=' + comlist[icl].substring(sid).replace(/^\+/g,'');
subjline+=',' + comlist[icl].substring(sid).replace(/^\+/g,'');
}
}
} else {
origansp=ansp;
if (origansp.toLowerCase().replace('+','=').replace('-','=').indexOf('all=') == 0) {
ansp='Disco' + origansp.substring(('all').length).substring(0,1) + origansp.substring(('all=').length);
}
if (ansp.toLowerCase().replace('+','=').replace('-','=').indexOf('disco=') == 0) {
if (ansp.toLowerCase().indexOf('disco-') == 0) {
try {
window.sessionStorage.removeItem('disco_alt_list');
} catch (hgfh) { }
try {
window.localStorage.removeItem('disco_alt_list');
} catch (hgfh) { }
} else if (ansp.toLowerCase().indexOf('disco=') == 0) {
dvl='&videolist=' + encodeURIComponent(ansp.substring(('disco=').length).split('#')[0].split('&')[0]);
window.sessionStorage.setItem('disco_alt_list', thisencodeURIComponent(ansp.substring(('yacht rock=').length)));
} else {
dvl='&listvideo=' + encodeURIComponent(ansp.substring(('disco=').length).split('#')[0].split('&')[0]);
window.localStorage.setItem('disco_alt_list', thisencodeURIComponent(ansp.substring(('yacht rock=').length)));
}
if (ansp.substring(('disco=').length).replace(/\&/g,'#').indexOf('#') != -1) {
for (ibuts=0; ibuts<buts.length; ibuts++) {
if (buts[ibuts].innerHTML.indexOf('Disco') != -1) {
if (buts[ibuts].innerHTML.indexOf('<span') != -1) {
spareihis='<span' + buts[ibuts].innerHTML.split('<span')[1].split('</span>')[0] + '<span>';
sparerest=buts[ibuts].innerHTML.replace(spareihis,'');
buts[ibuts].innerHTML=spareihis + sparerest.replace(/Disco/g, ansp.substring(('disco=').length).replace(/\&/g,'#').split('#')[1].replace(/\ /g,'<br>'));
} else {
buts[ibuts].innerHTML=buts[ibuts].innerHTML.replace(/Disco/g, ansp.substring(('disco=').length).replace(/\&/g,'#').split('#')[1].replace(/\ /g,'<br>'));
}
}
}
}
}
if (origansp.toLowerCase().replace('+','=').replace('-','=').indexOf('all=') == 0) {
ansp='Yacht Rock' + origansp.substring(('all').length).substring(0,1) + origansp.substring(('all=').length);
}
if (ansp.toLowerCase().replace('+','=').replace('-','=').indexOf('yacht rock=') == 0) {
if (ansp.toLowerCase().indexOf('yacht rock-') == 0) {
try {
window.sessionStorage.removeItem('yacht_rock_alt_list');
} catch (hgfh) { }
try {
window.localStorage.removeItem('yacht_rock_alt_list');
} catch (hgfh) { }
} else if (ansp.toLowerCase().indexOf('yacht rock=') == 0) {
yrvl='&videolist=' + encodeURIComponent(ansp.substring(('yacht rock=').length).split('#')[0].split('&')[0]);
window.sessionStorage.setItem('yacht_rock_alt_list', thisencodeURIComponent(ansp.substring(('yacht rock=').length)));
} else {
yrvl='&listvideo=' + encodeURIComponent(ansp.substring(('yacht rock=').length).split('#')[0].split('&')[0]);
window.localStorage.setItem('yacht_rock_alt_list', thisencodeURIComponent(ansp.substring(('yacht rock=').length)));
}
if (ansp.substring(('yacht rock=').length).replace(/\&/g,'#').indexOf('#') != -1) {
for (ibuts=0; ibuts<buts.length; ibuts++) {
if (buts[ibuts].innerHTML.indexOf('Yacht Rock') != -1) {
if (buts[ibuts].innerHTML.indexOf('<span') != -1) {
spareihis='<span' + buts[ibuts].innerHTML.split('<span')[1].split('</span>')[0] + '<span>';
sparerest=buts[ibuts].innerHTML.replace(spareihis,'');
buts[ibuts].innerHTML=spareihis + sparerest.replace(/Yacht\ Rock/g, ansp.substring(('yacht rock=').length).replace(/\&/g,'#').split('#')[1].replace(/\ /g,'<br>'));
} else {
buts[ibuts].innerHTML=buts[ibuts].innerHTML.replace(/Yacht\ Rock/g, ansp.substring(('yacht rock=').length).replace(/\&/g,'#').split('#')[1].replace(/\ /g,'<br>'));
}
}
}
}
}
if (origansp.toLowerCase().replace('+','=').replace('-','=').indexOf('all=') == 0) {
ansp='The Wrecking Crew' + origansp.substring(('all').length).substring(0,1) + origansp.substring(('all=').length);
}
if (ansp.toLowerCase().replace('+','=').replace('-','=').indexOf('the wrecking crew=') == 0) {
if (ansp.toLowerCase().indexOf('the wrecking crew-') == 0) {
try {
window.sessionStorage.removeItem('the_wrecking_crew_alt_list');
} catch (hgfh) { }
try {
window.localStorage.removeItem('the_wrecking_crew_alt_list');
} catch (hgfh) { }
} else if (ansp.toLowerCase().indexOf('the wrecking crew=') == 0) {
twcvl='&videolist=' + encodeURIComponent(ansp.substring(('the wrecking crew=').length).split('#')[0].split('&')[0]);
window.sessionStorage.setItem('the_wrecking_crew_alt_list', thisencodeURIComponent(ansp.substring(('the wrecking crew=').length)));
} else {
twcvl='&listvideo=' + encodeURIComponent(ansp.substring(('the wrecking crew=').length).split('#')[0].split('&')[0]);
window.localStorage.setItem('the_wrecking_crew_alt_list', thisencodeURIComponent(ansp.substring(('the wrecking crew=').length)));
}
if (ansp.substring(('the wrecking crew=').length).replace(/\&/g,'#').indexOf('#') != -1) {
for (ibuts=0; ibuts<buts.length; ibuts++) {
if (buts[ibuts].innerHTML.indexOf('The Wrecking Crew') != -1) {
if (buts[ibuts].innerHTML.indexOf('<span') != -1) {
spareihis='<span' + buts[ibuts].innerHTML.split('<span')[1].split('</span>')[0] + '<span>';
sparerest=buts[ibuts].innerHTML.replace(spareihis,'');
buts[ibuts].innerHTML=spareihis + sparerest.replace(/The\ Wrecking\ Crew/g, ansp.substring(('the wrecking crew=').length).replace(/\&/g,'#').split('#')[1].replace(/\ /g,'<br>'));
} else {
buts[ibuts].innerHTML=buts[ibuts].innerHTML.replace(/The\ Wrecking\ Crew/g, ansp.substring(('the wrecking crew=').length).replace(/\&/g,'#').split('#')[1].replace(/\ /g,'<br>'));
}
}
}
}
}
}
if (bodyblurb != '') {
document.getElementById('aemail').href='mailto:rmetcalfe@rjmprogramming.com.au?subject=' + encodeURIComponent(subjline) + '&body=' + encodeURIComponent(bodyblurb);
document.getElementById('aemail').click();
}
}
return '';
}

function onkd(e) {
var charx = e.which || e.keyCode;
if (String.fromCharCode(eval('' + charx)) >= '1' && String.fromCharCode(eval('' + charx)) <= '8' && okdsofar == '') {
document.getElementById('fplaythft').style.border='3px dotted green';
document.getElementById('fplaythft').title+=' ... fired up ' + firedup[eval('' + String.fromCharCode(eval('' + charx)))];
genreideas(String.fromCharCode(eval('' + charx)));
} else if (String.fromCharCode(eval('' + charx)) < '1' || String.fromCharCode(eval('' + charx)) > '8' || okdsofar != '') {
okdsofar+=String.fromCharCode(eval('' + charx));
if (okdsofar.trim() != '' && okdsofar.trim() != okdsofar && okdsofar.toLowerCase() != 'solo ') {
genreideas(okdsofar.replace(/^Mr\ /g,'Washington ').replace(/^MR\ /g,'Washington ').replace(/^mr\ /g,'Washington ').replace(/^The\ /g,'wrecking ').replace(/^THE\ /g,'wrecking ').replace(/^the\ /g,'wrecking ').trim());
okdsofar='';
}
}
setTimeout(function(){ document.getElementById('thev').innerHTML='V'; }, 20000);
return true;
}

function putgokback(rev) {
setTimeout(function(){ gok=true; }, 4000);
return rev;
}

function nolfcr(inblb) {
var outblb=inblb;
while (outblb.indexOf(String.fromCharCode(13) + String.fromCharCode(10)) != -1) {
outblb=outblb.replace(String.fromCharCode(13) + String.fromCharCode(10), ' ');
}
while (outblb.indexOf(String.fromCharCode(13)) != -1) {
outblb=outblb.replace(String.fromCharCode(13), ' ');
}
while (outblb.indexOf(String.fromCharCode(10)) != -1) {
outblb=outblb.replace(String.fromCharCode(10), ' ');
}
return outblb;
}

function isitpassableonable(pwhat) {
if (pwhat != null) {
if (pwhat.trim() != '') {
if (pwhat != nolfcr(gtitle)) {
genreideas(pwhat);
}
}
}
}

</script>
</head>
<body onkeypress="onkd(event);" onclick="readyforswipe=true; swipechk(event,false);" onmousemove="swipechk(event,true);" onload="firstonl(); setTimeout(onl, 3000);">
<table id=myswipetable>
<tr id=myswiperow><td id='td0000' onmousedown="gtitle=this.title; setTimeout(function(){ if (gok) { gok=false; isitpassableonable(prompt(nolfcr(gtitle), (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i) ? '' : nolfcr(gtitle)))); gok=true; } }, 4000);" ontouchdown="gtitle=this.title; setTimeout(function(){ if (gok) { gok=false; isitpassableonable(prompt(nolfcr(gtitle), (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i) ? '' : nolfcr(gtitle)))); gok=true; } }, 4000);" ondblclick="gok=putgokback(false); storageideas('');" oncontextmenu="gok=putgokback(false); genreideas('');" ontouchmove="gok=putgokback(false); genreideas('');" title='Double click on this cell for a variety of playlist redefinition ideas or right click (or drag) this cell for other music genre choices.' style=width:24px;vertical-align:bottom;><a style="cursor:pointer;text-decoration:none;" onclick="window.scrollTo(0, document.body.scrollHeight);" data-href='#bdisco'><span style=cursor:pointer;text-decoration:underline; id=femailthft onclick="event.stopPropagation(); emailsms(this,'');" title=Email>📧</span><br><br><span style=cursor:pointer;text-decoration:underline; id=fsmsthft onclick="event.stopPropagation(); emailsms(this,'');" title=SMS>📟</span><br><br><span style=cursor:pointer;text-decoration:underline; id=fsavethft onclick="event.stopPropagation(); emailsms(this,'');" title=Save>💾</span><br><br><span style=cursor:pointer;text-decoration:underline; id=fplaythft onclick="event.stopPropagation(); createplaylist(this);" title=Playlist>🔀</span><br><br><span onclick=naviga(this); id=sback style=visibility:hidden;><</span><br><br><span onclick=naviga(this); id=snext style=visibility:hidden;>></span><br><br><span onclick=naviga(this); id=slast style=visibility:hidden;>>></span><br><br><span onclick=naviga(this); id=sfirst style=visibility:hidden;><<</span><br><br>|<br>|<br>|<br>|<br>|<br>|<br>|<br>|<br>|<br>|<br>|<br>|<br>\<br></a><span onclick="gok=false; event.stopPropagation(); setTimeout(function(){ gok=true; }, 5000);" id=thev contenteditable=true>V</span></td>
<script type=text/javascript>
var dwfrom='youllneverfindthis';
var dwto='youllneverfindthis';
if (document.URL.indexOf('isradio=') != -1) {
dwfrom=' style="min-width:';
dwto=' style="opacity:0.6;cursor:progress;border-left:8px dotted yellow;border-right:8px dotted yellow;min-width:';
}
var bigline="      <button id=bdisco onclick=\"dodisco('bdisco=radnoiswas&');\" style='background-color:yellow;'>" + dword + "<sup>A+V</sup> <span id=bdiscoavb title='Radio A+V ... double click for compilation' ondblclick=\"event.stopPropagation(); triplewhammy(this); \" onclick=\"event.stopPropagation(); setTimeout(function(){ dodisco('isradio=bdiscoavb&'); }, 2000);\" style='background-color:yellow;visibility:hidden;'>📻</span></button> <button id=bdiscoa onclick=\"dodisco('bdiscoa=radnoiswas&audio');\" style='background-color:yellow;'>" + dword + "<sub>A-V</sub> <span id=bdiscob title='Radio A-V ... double click for compilation' ondblclick=\"event.stopPropagation(); triplewhammy(this); \" onclick=\"event.stopPropagation(); setTimeout(function(){ dodisco('isradio=bdiscob&audio'); }, 2000);\" style='background-color:yellow;visibility:hidden;'>📻</span></button>  <button id=bwc onclick=\"dowc('bwc=radnoiswas&');\" style='background-color:yellow;'>" + twcword + "<sup>A+V</sup> <span id=bwcavb title='Radio A+V ... double click for compilation' ondblclick=\"event.stopPropagation(); triplewhammy(this); \" onclick=\"event.stopPropagation(); setTimeout(function(){ dowc('isradio=bwcavb&'); }, 2000);\" style='background-color:yellow;visibility:hidden;'>📻</span></button> <button id=bwca onclick=\"dowc('bwca=radnoiswas&audio');\" style='background-color:yellow;'>" + twcword + "<sub>A-V</sub> <span id=bwcb title='Radio A-V ... double click for compilation' ondblclick=\"event.stopPropagation(); triplewhammy(this); \" onclick=\"event.stopPropagation(); setTimeout(function(){ dowc('isradio=bwcb&audio'); }, 2000);\" style='background-color:yellow;visibility:hidden;'>📻</span></button>  <button id=byr onclick=\"doyr('byr=radnoiswas&');\" style='background-color:yellow;'>" + yrword + "<sup>A+V</sup> <span id=byravb title='Radio A+V ... double click for compilation' ondblclick=\"event.stopPropagation(); triplewhammy(this); \" onclick=\"event.stopPropagation(); setTimeout(function(){ doyr('isradio=byravb&'); }, 2000);\" style='background-color:yellow;visibility:hidden;'>📻</span></button> <button id=byra onclick=\"doyr('byra=radnoiswas&audio');\" style='background-color:yellow;'>" + yrword + "<sub>A-V</sub> <span id=byrb title='Radio A-V ... double click for compilation' ondblclick=\"event.stopPropagation(); triplewhammy(this); \" onclick=\"event.stopPropagation(); setTimeout(function(){ doyr('isradio=byrb&audio'); }, 2000);\" style='background-color:yellow;visibility:hidden;'>📻</span></button>  <button id=recallable title=Saved onclick=\"recallit(this);\" style='background-color:orange;visibility:hidden;'></button>";
if (window.opener) {
if (document.URL.indexOf('isradio=') != -1 && document.URL.indexOf('youtube=') != -1) {
if (!asa) { assoonas(); }
radioblurb=' ... click on start song (when emojis appear) then we suggest minimising window small but on top (next to other work windows) for radio sequenced play';
var doctt='' + document.title;
document.title=String.fromCodePoint(128251) + ' ' + (location.search.split('regarding=')[1] ? decodeURIComponent(location.search.split('regarding=')[1].split('&')[0]) : '') + ' Radio Play ... ' + doctt;
} else {
if (!asa) { as_soon_as(); } //document.getElementById('td0001').style.border='15px dotted yellow';
radioblurb=' ... please wait for more than one checkbox checked before radio sequenced play is started above';
}
} else if (document.URL.indexOf('isradio=') != -1) {
if (!asa) { as_soon_as(); } //document.getElementById('td0001').style.border='15px dotted yellow';
radioblurb=' ... please wait for more than one checkbox checked before radio sequenced play is started above';
if (document.URL.indexOf('youtube=') != -1) {
var xdoctt='' + document.title;
document.title=String.fromCodePoint(128251) + ' ' + (location.search.split('regarding=')[1] ? decodeURIComponent(location.search.split('regarding=')[1].split('&')[0]) : '') + ' Radio Play ... ' + xdoctt;
}
}
if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) {
radioblurb+=' and we recommend screen lock on';
}
for (var kk=1; kk<=eval(100 * numc); kk++) {
if (eval(kk % eval('' + bcol.length)) == 0) {
dw+=('<td class=loremipsum data-alt="" data-arb="" data-vid="" data-curs="' + cursanimtwo[cntcurs] + '" alt="Cell ' + kk + radioblurb + cursanimtwo[cntcurs] + '" title="If not showing an image ( this one thanks to Lorem Picsum at https://picsum.photos/ ) or to reveal it behind audio or video foreground content please double click here at cell ' + kk + '." ondblclick=refresh(this.id); id="td' + ('0000' + kk).slice(-4) + '" style="min-width:' + amin + 'px;min-height:' + amin + 'px;width:' + amin + 'px;height:' + amin + "px;background-color:" + bcol[eval(kk % eval('' + bcol.length))] + ";" + 'background-size:contain;background-repeat:no-repeat;">' + grabcontent(eval(-1 + kk)) + '</td>').replace(dwfrom,dwto);
setTimeout(cursanimate, 600);
} else {
dw+=('<td onmousedown="checkmeout(event,false);" ontouchdown="checkmeout(event,false);" oncontextmenu="checkmeout(event,true);" class=inhouse data-alt="" data-arb="" data-vid="" alt="Cell ' + kk + radioblurb + cursanimtwo[cntcurs] + '" title="If not showing an image ( yellow cell ones thanks to Lorem Picsum at https://picsum.photos/ ) please double click here at cell ' + kk + ' or just click to get popup window of associated WordPress Blog Posting else right click for associated Cut to the Chase." ondblclick=refresh(this.id); id="td' + ('0000' + kk).slice(-4) + '" style="min-width:' + amin + 'px;min-height:' + amin + 'px;width:' + amin + 'px;height:' + amin + "px;background-color:" + bcol[eval(kk % eval('' + bcol.length))] + ";" + 'background-size:contain;background-repeat:no-repeat;">' + grabcontent(eval(-1 + kk)) + '</td>').replace(dwfrom,dwto);
}
dwfrom='youllneverfindthis';
dwto='youllneverfindthis';
}
if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i) && (isPortrait || isLandscape)) {
bigline=bigline.replace(/\>The Wrecking Crew/g,'>The Wrecking <br>Crew').replace(/\>Yacht Rock/g,'>Yacht <br>Rock').replace(/\>Disco/g,'>Disco <br>');
}
document.write(dw + "</tr></table><br>" + bigline);
</script>
<!--/tr>
</table>
<br>
      <button id=bdisco onclick="dodisco('bdisco=radnoiswas&');" style='background-color:yellow;'>Disco<sup>A+V</sup> <span id=bdiscoavb title='Radio A+V ... double click for compilation' ondblclick="event.stopPropagation(); triplewhammy(this); " onclick="event.stopPropagation(); setTimeout(function(){ dodisco('isradio=bdiscoavb&'); }, 2000);" style='background-color:yellow;visibility:hidden;'>📻</span></button> <button id=bdiscoa onclick="dodisco('bdiscoa=radnoiswas&audio');" style='background-color:yellow;'>Disco<sub>A-V</sub> <span id=bdiscob title='Radio A-V ... double click for compilation' ondblclick="event.stopPropagation(); triplewhammy(this); " onclick="event.stopPropagation(); setTimeout(function(){ dodisco('isradio=bdiscob&audio'); }, 2000);" style='background-color:yellow;visibility:hidden;'>📻</span></button>  <button id=bwc onclick="dowc('bwc=radnoiswas&');" style='background-color:yellow;'>The Wrecking Crew<sup>A+V</sup> <span id=bwcavb title='Radio A+V ... double click for compilation' ondblclick="event.stopPropagation(); triplewhammy(this); " onclick="event.stopPropagation(); setTimeout(function(){ dowc('isradio=bwcavb&'); }, 2000);" style='background-color:yellow;visibility:hidden;'>📻</span></button> <button id=bwca onclick="dowc('bwca=radnoiswas&audio');" style='background-color:yellow;'>The Wrecking Crew<sub>A-V</sub> <span id=bwcb title='Radio A-V ... double click for compilation' ondblclick="event.stopPropagation(); triplewhammy(this); " onclick="event.stopPropagation(); setTimeout(function(){ dowc('isradio=bwcb&audio'); }, 2000);" style='background-color:yellow;visibility:hidden;'>📻</span></button>  <button id=byr onclick="doyr('byr=radnoiswas&');" style='background-color:yellow;'>Yacht Rock<sup>A+V</sup> <span id=byravb title='Radio A+V ... double click for compilation' ondblclick="event.stopPropagation(); triplewhammy(this); " onclick="event.stopPropagation(); setTimeout(function(){ doyr('isradio=byravb&'); }, 2000);" style='background-color:yellow;visibility:hidden;'>📻</span></button> <button id=byra onclick="doyr('byra=radnoiswas&audio');" style='background-color:yellow;'>Yacht Rock<sub>A-V</sub> <span id=byrb title='Radio A-V ... double click for compilation' ondblclick="event.stopPropagation(); triplewhammy(this); " onclick="event.stopPropagation(); setTimeout(function(){ doyr('isradio=byrb&audio'); }, 2000);" style='background-color:yellow;visibility:hidden;'>📻</span></button>  <button id=recallable title=Saved onclick="recallit(this);" style='background-color:orange;visibility:hidden;'></button-->
<iframe onload="split_embed(this);" style='display:none;' id=spareif src='/About_Us.html'></iframe>
<iframe onload="split_embed_two(this);" style='display:none;' id=spareiftwo src='/About_Us.html'></iframe>
<iframe onload="split_embed_three(this);" style='display:none;' id=spareifthree src='/About_Us.html'></iframe>
<iframe style='display:none;' id=sparepal src='/About_Us.html?rand=765765'></iframe>
<div id=divtitles style=display:none;></div>
<input type=hidden id=i0 value=''></input>
<input type=hidden id=i1 value=''></input>
<input type=hidden id=i2 value=''></input>
<input type=hidden id=i3 value=''></input>
<input type=hidden id=i4 value=''></input>
<input type=hidden id=i5 value=''></input>
<input type=hidden id=i6 value=''></input>
<input type=hidden id=i7 value=''></input>
<input type=hidden id=i8 value=''></input>
<input type=hidden id=i9 value=''></input>
<input type=hidden id=i10 value=''></input>
<input type=hidden id=i11 value=''></input>
<input type=hidden id=i12 value=''></input>
<input type=hidden id=i13 value=''></input>
<input type=hidden id=i14 value=''></input>
<input type=hidden id=i15 value=''></input>
<input type=hidden id=i16 value=''></input>
<input type=hidden id=i17 value=''></input>
<input type=hidden id=i18 value=''></input>
<input type=hidden id=i19 value=''></input>
<input type=hidden id=i20 value=''></input>
<input type=hidden id=i21 value=''></input>
<input type=hidden id=i22 value=''></input>
<input type=hidden id=i23 value=''></input>
<input type=hidden id=i24 value=''></input>
<input type=hidden id=i25 value=''></input>
<input type=hidden id=i26 value=''></input>
<input type=hidden id=i27 value=''></input>
<input type=hidden id=i28 value=''></input>
<input type=hidden id=i29 value=''></input>
<input type=hidden id=navig value='' title=''></input>
<iframe onload=sparecheckif(this); id=lastifz style="display:none;" src="//www.rjmprogramming.com.au/HTMLCSS/karaoke_youtube_api.htm?youtubeid=&youtube_duration=22234&unknowndur=y&email=&email=&emoji=on&c0=off&i0=0&j0=22234&i1=&j1=&i2=&j2=&i3=&j3=&i4=&j4=&i5=&j5=&i6=&j6=&i7=&j7=&i8=&j8=&i9=&j9=&i10=&j10=&i11=&j11=&i12=&j12=&i13=&j13=&i14=&j14=&i15=&j15=&i16=&j16=&i17=&j17=&i18=&j18=&i19=&j19=&i20=&j20=&i21=&j21=&i22=&j22=&i23=&j23=&i24=&j24=&i25=&j25=&i26=&j26=&i27=&j27=&i28=&j28=&i29=&j29="></iframe>
<a id=aemail target=_top style=display:none; title=Moderation href='mailto:rmetcalfe@rjmprogramming.com.au?subject=&body='>Please Moderate</a>
<iframe onload="checkarb(this);" style='display:none;' id=ifarb src='/as_requested_by.php'></iframe>
</body>
</html>