<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 locationhref='';
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 speechtitle='"Find Imagine" ... Movie Classical Guitar Sax Washington Disco Wrecking Rock ... examples of YouTube Genre Name or Number 1 to 8 Listening ... ';
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 ourprefix='';
var gelev='';
var gduris=0;
var gtitis='';
var maybeinplayscenario=false, cutoffatthepass=false;
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 laterremotetitle() {
var titleto=speechtitle;
if (speechtotextwo) {
if (!speechtotextwo.closed) {
speechtotextwo.document.title=titleto;
}
}
}
function remotetitle(titleto) {
if (speechtotextwo) {
if (!speechtotextwo.closed) {
speechtotextwo.document.title=titleto;
}
}
}
function swoit() {
speechtotextwo=window.open('https://www.rjmprogramming.com.au/PHP/speech_supervisor.php?mode=3&rand=' + Math.floor(Math.random() * 1989675), '_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);
setInterval(refreshcheckforstt, 30000); // used to be 60000
if (window.opener) {
if (document.title.replace(' A-V',' A+V').indexOf(' A+V') != -1 && document.URL.indexOf('?') != -1) {
if (ourprefix != '') {
speechtitle=('Current genre is ').slice(-1).trim() + ourprefix + ' to Movie Classical Guitar Sax Washington Disco Wrecking Rock ... 1 to 8 ...';
}
if (ytwo) {
speechtitle=('Current genre is ').slice(-1).trim() + ytwo.document.title.replace(' A-V',' A+V').split(' A+V')[0] + ' to Movie Classical Guitar Sax Washington Disco Wrecking Rock ... 1 to 8 ...';
} else if (ourprefix == '') {
speechtitle=('Current genre is ').slice(-1).trim() + document.title.replace(' A-V',' A+V').split(' A+V')[0] + ' to Movie Classical Guitar Sax Washington Disco Wrecking Rock ... 1 to 8 ...';
}
}
}
setTimeout(function(){ speechtotextwo.document.title=speechtitle; }, 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 (window.opener) {
setTimeout(laterremotetitle, 7000);
}
}
function refreshcheckforstt() {
if (speechtotextwo) {
if (!speechtotextwo.closed) {
speechtotextwo.close();
speechtotextwo=null;
if (document.title.replace(' A-V',' A+V').indexOf(' A+V') != -1 && document.URL.indexOf('?') != -1) {
if (ourprefix != '') {
speechtitle=('Current genre is ').slice(-1).trim() + ourprefix + ' to Movie Classical Guitar Sax Washington Disco Wrecking Rock ... 1 to 8 ...';
}
if (ytwo) {
speechtitle=('Current genre is ').slice(-1).trim() + ytwo.document.title.replace(' A-V',' A+V').split(' A+V')[0] + ' to Movie Classical Guitar Sax Washington Disco Wrecking Rock ... 1 to 8 ...';
} else if (ourprefix == '') {
speechtitle=('Current genre is ').slice(-1).trim() + document.title.replace(' A-V',' A+V').split(' A+V')[0] + ' to Movie Classical Guitar Sax Washington Disco Wrecking Rock ... 1 to 8 ...';
}
}
speechtotextwo=window.open('https://www.rjmprogramming.com.au/PHP/speech_supervisor.php?mode=3&rand=' + Math.floor(Math.random() * 1989675), '_blank', 'top=0,left=' + eval(-600 + screen.width) + ',width=600,height=' + eval(-100 + screen.height));
setTimeout(function(){ speechtotextwo.document.title=speechtitle; }, 5000);
}
}
}
function window_open(w1,w2,w3) {
if (speechtotextwo) {
if (!speechtotextwo.closed) {
speechtotextwo.close();
speechtotextwo=null;
if (w1.indexOf('swo=y') == -1 && w1.indexOf('?') != -1) {
w1=w1.replace('?', '?swo=y&');
}
}
}
return window.open(w1,w2,w3);
}
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, tzs='';
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) {
try {
tzs='#' + eval(30 + eval('' + spsa[eval(-1 + eval('' + ispsa))].split('>')[1])) + '.000';
altlh+=tzs;
} catch(hgfjhgj) {
altlh+='#30.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(){ locationhref=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]);
if (ytwo && 7 == 7) {
if (!ytwo.closed) {
if (outuis.indexOf('youtube=') != -1 && outuis.indexOf('?') != -1) {
if (7 == 17) {
document.getElementById('ifgen').src=outuis.split('?')[0] + '?youtube=' + outuis.split('youtube=')[1];
outuis='#'; //return '#';
} else {
var rhsis=outuis.split('youtube=')[1];
outuis=outuis.split('?')[0] + '?youtube=' + rhsis;
}
}
}
}
if (outuis != '#') { location.href=outuis; }
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 != '') {
//alert(4);
var yourprefix='';
if (iois.src.indexOf('atitle=') != -1) {
yourprefix=decodeURIComponent(iois.src.split('atitle=')[1].split('&')[0]);
ourpref=yourprefix;
speechtitle=('Current genre is ').slice(-1).trim() + yourprefix + ' to Movie Classical Guitar Sax Washington Disco Wrecking Rock ... 1 to 8 ...';
} else if (ourprefix.indexOf('title=') != -1) {
yourprefix=decodeURIComponent(ourprefix.split('title=')[1].split('&')[0]);
speechtitle=('Current genre is ').slice(-1).trim() + yourprefix + ' to Movie Classical Guitar Sax Washington Disco Wrecking Rock ... 1 to 8 ...';
}
if (cutoffatthepass) {
cutoffatthepass=false;
if (document.getElementById('divnewtitles')) {
document.getElementById('divnewtitles').innerHTML=ytlist;
document.getElementById('divnewtitles').title=yourprefix;
if (window.opener) {
if (window.opener.document.getElementById('divnewtitles')) {
window.opener.document.getElementById('divnewtitles').title=yourprefix;
} else {
window.opener.document.getElementById('divtitles').innerHTML+='<div id=divnewtitles style=display:none; title="' + yourprefix + '">' + ytlist + '</div>';
}
}
//alert(444);
} else {
//alert(4444);
document.getElementById('divtitles').innerHTML+='<div id=divnewtitles style=display:none; title="' + yourprefix + '">' + ytlist + '</div>';
//document.getElementById('divtitles').innerHTML+='<div id=divnewtitles style=display:none;>' + ytlist + '</div>';
if (window.opener) {
if (window.opener.document.getElementById('divnewtitles')) {
window.opener.document.getElementById('divnewtitles').title=yourprefix;
} else {
window.opener.document.getElementById('divtitles').innerHTML+='<div id=divnewtitles style=display:none; title="' + yourprefix + '">' + ytlist + '</div>';
}
}
}
return '';
}
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(){ locationhref=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(){ locationhref=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 +
//alert('theval=' + theval);
while (zaconto.getElementById('i' + ione)) {
if (theval == '') {
zaconto.getElementById('i' + ione).value='' + zaconto.getElementById('i' + ione).getAttribute('data-value');
} else {
alert('Oops');
zaconto.getElementById('i' + ione).value='';
}
ione++;
}
}
function usethis(iois) {
if (iois.src.indexOf('client_browsing.htm') != -1) {
yaconto = (iois.contentWindow || iois.contentDocument);
if (yaconto != null) {
ywaconto=yaconto;
if (yaconto.document) { yaconto = yaconto.document; }
}
}
}
function usethistwo(iois) {
if (iois.src.indexOf('client_browsing.htm') != -1) {
waconto = (iois.contentWindow || iois.contentDocument);
if (waconto != null) {
wwaconto=waconto;
if (waconto.document) { waconto = waconto.document; }
}
}
}
function checkzz(iois) {
var ione=1;
if (iois.src.indexOf('karaoke_youtube_api.htm') != -1) {
zaconto = (iois.contentWindow || iois.contentDocument);
if (zaconto != null) {
zwaconto=zaconto;
if (zaconto.document) { zaconto = zaconto.document; }
if (document.URL.replace(/\%23http$/g,'#http').indexOf('#http') != -1) {
if (zaconto.getElementById('myh1')) {
setTimeout(function(){
zaconto.getElementById('i0').placeholder='' + zaconto.getElementById('myh1').innerHTML + ' ... double click or right click or spread/pinch to play now ...';
zaconto.getElementById('i0').title='' + zaconto.getElementById('myh1').innerHTML + ' ... double click or right click or spread/pinch to play now ...';
zaconto.getElementById('i0').setAttribute('data-index', '0');
zaconto.getElementById('i0').setAttribute('data-value', '' + zaconto.getElementById('i0').value);
zaconto.getElementById('i0').ondblclick=function(event){ location.href=document.getElementById('iflist').src; };
zaconto.getElementById('i0').oncontextmenu=function(event){ location.href=document.getElementById('iflist').src; };
zaconto.getElementById('i0').ontouchend=function(event){ location.href=document.getElementById('iflist').src; };
while (zaconto.getElementById('i' + ione)) {
zaconto.getElementById('i' + ione).setAttribute('data-value', '' + zaconto.getElementById('i' + ione).value);
zaconto.getElementById('i' + ione).placeholder=zaconto.getElementById('i' + ione).title;
ione++;
}
//alert('1:' + zaconto.getElementById('myh1').innerHTML);
}, 5000);
setInterval(zatogglevalue, 8000);
}
} else {
if (zaconto.getElementById('myh1')) {
setTimeout(function(){
//alert('2:' + zaconto.getElementById('myh1').innerHTML);
zaconto.getElementById('i0').placeholder='' + zaconto.getElementById('myh1').innerHTML + ' ... double click or right click or spread/pinch to play now ...';
//alert('21:' + zaconto.getElementById('myh1').innerHTML);
zaconto.getElementById('i0').title='' + zaconto.getElementById('myh1').innerHTML + ' ... double click or right click or spread/pinch to play now ...';
//alert('22:' + zaconto.getElementById('myh1').innerHTML);
zaconto.getElementById('i0').setAttribute('data-value', '' + zaconto.getElementById('i0').value);
zaconto.getElementById('i0').setAttribute('data-index', '0');
//alert('23:' + zaconto.getElementById('myh1').innerHTML);
zaconto.getElementById('i0').ondblclick=function(event){ location.href=document.getElementById('iflist').src; };
//alert('24:' + zaconto.getElementById('myh1').innerHTML);
zaconto.getElementById('i0').oncontextmenu=function(event){ location.href=document.getElementById('iflist').src; };
//alert('25:' + zaconto.getElementById('myh1').innerHTML);
zaconto.getElementById('i0').ontouchend=function(event){ location.href=document.getElementById('iflist').src; };
//alert('26:' + zaconto.getElementById('myh1').innerHTML);
while (zaconto.getElementById('i' + ione)) {
zaconto.getElementById('i' + ione).setAttribute('data-value', '' + zaconto.getElementById('i' + ione).value);
zaconto.getElementById('i' + ione).placeholder=zaconto.getElementById('i' + ione).title;
ione++;
}
}, 5000);
setInterval(zatogglevalue, 8000);
}
}
}
}
}
function checkss(iois) {
if (iois == null) {
aaconto = (iois.contentWindow || iois.contentDocument);
if (aaconto != null) {
waaconto=aaconto;
if (aaconto.document) { aaconto = aaconto.document; }
if (aaset) {
aaset=false;
aaconto.getElementById('player').style.opacity='0.0';
if (document.URL.indexOf('&startagain=') != -1 && navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) {
setTimeout(function(){ waaconto.sagain(); waaconto.playVideo(); }, 5000);
}
}
}
} else {
ssconto = (iois.contentWindow || iois.contentDocument);
if (4 == 5) {
sscontomonitor=ssconto.monitorplh;
console.warn('document.URL=' + document.URL);
console.warn('parent.document.URL=' + parent.document.URL);
}
//if (('' + document.URL + 's').replace(/\#https/g,'') != ('' + document.URL + 's') || ('' + parent.document.URL + 's').replace(/\#https/g,'') != ('' + parent.document.URL + 's')) {
//alert('Here Opening');
//}
}
}
function checkip(iois) {
if (iois == null) {
if (ipbit != '') {
return ipbit;
}
} else if (iois.src.indexOf('signature_signature.php') != -1) {
var aconto = (iois.contentWindow || iois.contentDocument);
if (aconto != null) {
if (aconto.document) { aconto = aconto.document; }
if (aconto.body.innerHTML.indexOf('<p>') == 0) {
ipbit=aconto.body.innerHTML.split('<p>')[1].split('<')[0];
}
}
}
return '';
}
function mintoajax() {
var postpc='2';
var pc='';
if (document.getElementById('ominpossible')) {
document.getElementById('ominpossible').innerHTML='📹';
}
if (1 == 1) {
if (('' + document.getElementById('ajaxs').style.left) != '0px') {
if (window.top) {
if (top.document.URL.indexOf('/esp_ornot_esp.') != -1 || parent.document.URL.indexOf('/esp_ornot_esp.') != -1) {
pc='26'; //'5';
postpc='';
}
//alert(parent.ajaxsih);
}
document.getElementById('ajaxs').style.position='absolute';
document.getElementById('ajaxs').style.left='0px';
document.getElementById('ajaxs').style.top='' + pc + postpc + 'px';
if (document.getElementById('stz')) {
document.getElementById('stz').scrollIntoView();
}
}
} else {
var rect=document.getElementById('ajaxs').getBoundingClientRect();
window.scrollTo(eval(('' + rect.left).replace('px','').split('.')[0]), eval(('' + rect.top).replace('px','').split('.')[0]));
}
}
function closelastdet() {
var readie=false;
if (lastdet != '') {
var dets=document.getElementsByTagName('details');
for (var idets=0; idets<dets.length; idets++) {
if (('' + dets[idets].id) == lastdet) {
dets[idets].removeAttribute('open');
readie=true;
} else if (readie) {
readie=false;
ets[idets].setAttribute('open', true);
lastdet=('' + dets[idets].id);
}
}
if (readie) {
lastdet='dt1';
document.getElementById(lastdet).setAttribute('open', true);
}
}
}
function audioanal() {
var lhnew='';
var audsz=document.getElementsByTagName('audio');
for (var startw=0; startw<audsz.length; startw++) {
if (('' + audsz[startw].id).indexOf('ab') == 0) {
if (lhnew == '') { lhnew='#'; }
lhnew+=encodeURIComponent('&c' + startw + '=on&j' + startw + '=' + encodeURIComponent(audsz[startw].getAttribute('data-duration')) + '&i' + startw + '=' + encodeURIComponent(audsz[startw].src));
}
}
audsz=document.getElementsByTagName('video');
for (var startw=0; startw<audsz.length; startw++) {
if (('' + audsz[startw].id).indexOf('vb') == 0) {
if (lhnew == '') { lhnew='#'; }
lhnew+=encodeURIComponent('&c' + startw + '=on&j' + startw + '=' + encodeURIComponent(audsz[startw].getAttribute('data-duration')) + '&i' + startw + '=' + encodeURIComponent(audsz[startw].src));
}
}
audsz=document.getElementsByTagName('img');
for (var startw=0; startw<audsz.length; startw++) {
if (('' + audsz[startw].id).indexOf('gb') == 0) {
if (lhnew == '') { lhnew='#'; }
lhnew+=encodeURIComponent('&c' + startw + '=on&j' + startw + '=' + encodeURIComponent(audsz[startw].getAttribute('data-duration')) + '&i' + startw + '=' + encodeURIComponent(audsz[startw].src));
}
}
if (lhnew != '') {
if (!lhwo) {
if (browsebut == '') {
lhwo=window.open('//www.rjmprogramming.com.au/HTMLCSS/karaoke_youtube_api.htm?rand=' + Math.floor(Math.random() * 1989786) + lhnew, '_blank', 'top=10,left=' + eval(-800 + screen.width) + ',width=800,height=600');
}
} else {
if (browsebut == '') {
lhwo.location.href='//www.rjmprogramming.com.au/HTMLCSS/karaoke_youtube_api.htm?rand=' + Math.floor(Math.random() * 1989786) + lhnew;
}
}
}
}
function putdrback() {
var swz=0;
while (document.getElementById('i' + swz)) {
if (document.getElementById('i' + swz).outerHTML.indexOf(' data-realvalue') != -1) {
document.getElementById('i' + swz).value=document.getElementById('i' + swz).getAttribute('data-realvalue');
}
swz++;
}
}
function lookatmultiple(newsc) {
var startw=0, lhnew='', ormaybe=false, gormaybe=false, thispre='';
if (newartwo) { newartwo=false; return false; }
if (('' + newsc) != '2') {
if (('' + newsc) == '1') {
//alert('Here');
if (document.getElementById('i' + startw)) {
while (document.getElementById('j' + startw)) {
document.getElementById('j' + startw).disabled=false;
startw++;
}
startw=0;
if (document.getElementById('c' + startw).checked) {
ormaybe=false;
if (document.getElementById('i' + eval(1 + startw))) {
if (document.getElementById('c' + eval(1 + startw)).checked) {
if (document.getElementById('i' + eval(1 + startw)).value.indexOf('data:') != -1) {
ormaybe=true;
gormaybe=true;
//alert('here now');
}
}
}
//alert('gormaybe=' + gormaybe);
if (document.getElementById('i' + startw).value.indexOf('data:') != -1 || ormaybe) {
if (document.getElementById('i' + startw).value.indexOf('data:') == -1) { startw++; }
while (document.getElementById('i' + startw).value.indexOf('data:') != -1 && document.getElementById('c' + startw).checked) {
if (lhnew == '') { lhnew='#'; }
thispre='';
if (gormaybe) { thispre=document.getElementById('i' + startw).value.split('data:')[0]; document.getElementById('i' + startw).setAttribute('data-realvalue', document.getElementById('i' + startw).value); }
if (document.getElementById('i' + startw).value.indexOf('data:image/svg') != -1) {
lhnew+=encodeURIComponent('&c' + startw + '=on&i' + startw + '=' + encodeURIComponent(document.getElementById('i' + startw).value.split('data:')[0] + 'data:' + document.getElementById('i' + startw).value.split('data:')[1]) + '&j' + startw + '=' + encodeURIComponent(document.getElementById('j' + startw).value));
} else {
lhnew+=encodeURIComponent('&c' + startw + '=on&i' + startw + '=' + encodeURIComponent(document.getElementById('i' + startw).value.split('data:')[0] + 'data:' + document.getElementById('i' + startw).value.split('data:')[1].substring(0,Math.min(5000,eval('' + document.getElementById('i' + startw).value.length)))) + '&j' + startw + '=' + encodeURIComponent(document.getElementById('j' + startw).value));
}
if (gormaybe) { document.getElementById('i' + startw).value=thispre + 'data'; }
startw++;
ormaybe=false;
if (document.getElementById('i' + eval(1 + startw))) {
if (document.getElementById('c' + eval(1 + startw)).checked) {
if (document.getElementById('i' + eval(1 + startw)).value.indexOf('data:') != -1 && document.getElementById('i' + startw).value.indexOf('data:') == -1) {
ormaybe=true;
startw++;
}
}
}
}
}
}
}
if (lhnew != '') {
//alert('yes!');
document.getElementById('myform').action=document.getElementById('myform').action.split('#')[0] + lhnew;
}
}
if (gormaybe) {
setTimeout(putdrback, 2000);
}
if (document.getElementById('ajaxs')) { return true; }
}
if (!document.getElementById('ajaxs')) { return true; }
var vidtitles='';
var newdefc=0, hvis=[];
var aot,jaot=0,aotfactor=1.0,iaot,aotdur=0.0,faot=[60.0,60.0,24.0];
var sin=document.getElementById('ajaxs');
//alert('' + sin.id);
var zero=0, lone=1, tod='', iickk;
var spareanyt='//www.rjmprogramming.com.au/HTMLCSS/karaoke_youtube_api.htm?youtubeid=&youtube_duration=&email=&email=&emoji=on&c0=on&i0=0&j0=&rand=' + Math.floor(Math.random() * 1989786);
for (var ii=0; ii<sin.options.length; ii++) {
if (sin.options[ii].selected) { // && sin.options[ii].text.indexOf(String.fromCodePoint(10004)) != -1) {
if (sin.options[ii].value != '') {
//alert(sin.options[ii].value);
aotdur=0.0;
aotfactor=1.0;
jaot=0;
if (vidtitles == '') {
vidtitles='&vidtitles=' + encodeURIComponent(sin.options[ii].text.split(String.fromCodePoint(10004))[0].trim());
} else {
vidtitles+=encodeURIComponent(String.fromCodePoint(10004) + sin.options[ii].text.split(String.fromCodePoint(10004))[0].trim());
}
aot=sin.options[ii].text.split('(')[eval(-1 + sin.options[ii].text.replace(')',' ').split('(').length)].replace(')',' ').split(':');
if (aot.length == 1 && aot[0].replace(' second ',',').replace(' seconds ',',').indexOf(',') != -1) {
hvis=aot[0].split(' hour');
if (hvis.length != 1) { console.log(hvis[0]); aotdur+=eval(eval('' + hvis[0]) * 60 * 60); aot[0]=aot[0].replace(' hours,',' hour').replace(' hour,',' hour').split(' hour')[1]; }
hvis=aot[0].split(' minute');
if (hvis.length != 1) { console.log(hvis[0]); aotdur+=eval(eval('' + hvis[0]) * 60); aot[0]=aot[0].replace(' minutes,',' minute').replace(' minute,',' minute').split(' minute')[1]; }
hvis=aot[0].split(' second');
if (hvis.length != 1) { console.log(hvis[0]); aotdur+=eval(eval('' + hvis[0]) * 1); }
} else {
for (iaot=eval(-1 + aot.length); iaot>=0; iaot--) {
aotdur+=eval(aotfactor * aot[iaot]);
jaot++;
aotfactor *= faot[jaot];
}
}
if (aotdur > 0.0) {
if (spareanyt.indexOf('youtubeid=&') != -1) {
spareanyt=spareanyt.replace('youtubeid=&', 'youtubeid=' + sin.options[ii].value + '&').replace('youtube_duration=&', 'youtube_duration=' + encodeURIComponent(Math.ceil(eval('' + aotdur)) + '.000') + '&').replace('j0=', 'j0=' + Math.ceil(eval('' + aotdur)) + '');
} else {
spareanyt+='&c' + lone + '=on&i' + lone + '=0|' + sin.options[ii].value + '&j' + lone + '=' + Math.ceil(eval('' + aotdur));
lone++;
tod=' ';
}
newdefc++;
//alert('' + newdefc + ': ' + spareanyt);
}
}
}
}
if (newdefc > 1) {
for (iickk=lone; iickk<=29; iickk++) {
spareanyt+='&c' + iickk + '=off&i' + iickk + '=&j' + iickk + '=';
}
//alert(spareanyt + tod.replace(' ','#' + encodeURIComponent(document.URL.split(':')[0] + ':' + spareanyt + '&loop=y')).trim());
if (newsc == 0 || newsc == 2) {
document.getElementById('myform').target='_blank';
//document.getElementById('myform').action=document.getElementById('myform').action.split('#')[0] + '#' + encodeURIComponent(document.URL.split(':')[0] + ':' + spareanyt + '&loop=y');
document.getElementById('sumlist').innerHTML=document.getElementById('youtubeid').value.trim();
document.getElementById('iflist').src=spareanyt + tod.replace(' ','#' + encodeURIComponent(document.URL.split(':')[0] + ':' + spareanyt + '&loop=y' + vidtitles)).trim();
document.getElementById('detlist').style.display='block';
setTimeout(function(){ document.getElementById('detlist').scrollIntoView(); }, 2000); //location.href='#detlist';
} else if (1 == 1) {
document.getElementById('myform').target='_blank';
document.getElementById('myform').action=document.getElementById('myform').action.split('#')[0] + '#' + encodeURIComponent(document.URL.split(':')[0] + ':' + spareanyt + '&loop=y');
} else {
wowowo=window.open(spareanyt + tod.replace(' ','#' + encodeURIComponent(document.URL.split(':')[0] + ':' + spareanyt + '&loop=y')).trim(), '_blank'); //, 'top=100,left=100,width=1000,height=800');
}
}
return true;
}
function oncntapp(sva,svatl,sov) {
var comma='';
rep+='T';
// var ajaxclist='', ajaxoncnt=0;
//var thismulti=document.getElementById('cajaxs').checked;
if ((eval('' + sva.trim().length) == 34 || eval('' + sva.trim().length) == 22) && sva.trim().indexOf(' ') == -1) {
if (plo) {
if (!plo.closed) {
try {
plo.close();
} catch(ert) {
}
}
plo=null;
}
if (eval('' + sva.trim().length) == 34) {
plo=window.open('//www.youtube.com/watch?v=&index=1&list=' + sva, '_blank', 'width=600,height=600,top=0,left=' + eval(-600 + eval('' + screen.width)));
} else if (eval('' + sva.trim().length) == 22) {
plo=window.open('//open.spotify.com/playlist/' + sva, '_blank', 'width=600,height=600,top=0,left=' + eval(-600 + eval('' + screen.width)));
}
} else if (eval('' + sva.trim().length) == 11 && sva.trim().indexOf(' ') == -1) {
ajaxoncnt++;
if (ajaxclist == '') {
ajaxclist=sva.trim();
ajaxf=svatl.split('(')[0];
sov.style.backgroundColor='lightgreen';
} else if ((',' + ajaxclist + ',').indexOf(',' + sva.trim() + ',') != -1 && firstrepeat) {
firstrepeat=false;
if (ajaxclist.indexOf(sva.trim()) == 0) {
ajaxclist=ajaxclist.replace(sva.trim() + ',', '').replace(sva.trim() + '', '');
} else {
ajaxclist=ajaxclist.replace(',' + sva.trim() + '', '');
}
ajaxoncnt=eval('' + ajaxclist.split(',').length);
sov.style.backgroundColor='white';
} else if ((',' + ajaxclist + ',').indexOf(',' + sva.trim() + ',') != -1 && !firstrepeat) {
ajaxclist+=',' + sva.trim();
sov.style.backgroundColor='lightgreen';
} else {
ajaxclist+=',' + sva.trim();
sov.style.backgroundColor='lightgreen';
}
} else if (sva.trim() == '') {
ajaxclist='';
//if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) {
// alert('why1');
//}
ajaxoncnt=0;
ajaxf='';
}
//document.title='ajaxclist=' + ajaxclist + ' and ajaxoncnt=' + ajaxoncnt;
var tickis=' ' + String.fromCodePoint(10004);
var defc=0;
var sin=document.getElementById('ajaxs');
for (var ii=0; ii<sin.options.length; ii++) {
if (sin.options[ii].selected) {
if (sin.options[ii].value != '') { defc++; }
}
}
if (eval('' + defc) <= eval('' + ajaxoncnt) && eval('' + ajaxoncnt) >= 1 && eval('' + defc) > 1) {
ajaxoncnt=0;
ajaxclist='';
//if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) {
// alert('why2');
//}
ajaxf='';
for (var iiijk=0; iiijk<sin.options.length; iiijk++) {
if (sin.options[iiijk].selected) {
ajaxoncnt++;
ajaxclist+=comma + sin.options[iiijk].value.trim();
comma=',';
if (sin.options[iiijk].innerText.indexOf(tickis) == -1) {
sin.options[iiijk].innerText+=tickis;
} else {
sin.options[iiijk].innerText=sin.options[iiijk].innerText.split(tickis)[0] + tickis;
}
} else {
sin.options[iiijk].style.backgroundColor='white';
if (sin.options[iiijk].innerText.indexOf(tickis) != -1) {
sin.options[iiijk].innerText=sin.options[iiijk].innerText.split(tickis)[0];
}
}
}
} else if (eval('' + defc) <= eval('' + ajaxoncnt) && eval('' + ajaxoncnt) >= 1) {
var atoone=ajaxclist.split(',');
var asofar=',';
for (var iiii=0; iiii<atoone.length; iiii++) {
for (var iii=0; iii<sin.options.length; iii++) {
if (atoone[iiii] == sin.options[iii].value) {
if (sin.options[iii].innerText.indexOf(tickis) != -1 && asofar.indexOf(',' + atoone[iiii] + ',') == -1) {
sin.options[iii].innerText=sin.options[iii].innerText.split(tickis)[0] + tickis + ' ' + eval(1 + iiii);
} else if (sin.options[iii].innerText.indexOf(tickis) != -1 && asofar.indexOf(',' + atoone[iiii] + ',') != -1) {
sin.options[iii].innerText+=' ' + eval(1 + iiii);
} else {
sin.options[iii].innerText+=tickis + ' ' + eval(1 + iiii);
}
}
}
asofar+=atoone[iiii] + ',';
}
//alert('Defc=' + defc + ' and ajaxoncnt=' + ajaxoncnt);
//} else {
// alert('defc=' + defc + ' and ajaxoncnt=' + ajaxoncnt);
} else {
ajaxoncnt=0;
ajaxclist='';
//if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) {
// alert('why1');
//}
ajaxf='';
for (var iiij=0; iiij<sin.options.length; iiij++) {
if (sin.options[iiij].selected) {
ajaxoncnt++;
ajaxclist+=comma + sin.options[iiij].value.trim();
comma=',';
if (sin.options[iiij].innerText.indexOf(tickis) == -1) {
sin.options[iiij].innerText+=tickis;
} else {
sin.options[iiij].innerText=sin.options[iiij].innerText.split(tickis)[0] + tickis;
}
} else {
sin.options[iiij].style.backgroundColor='white';
if (sin.options[iiij].innerText.indexOf(tickis) != -1) {
sin.options[iiij].innerText=sin.options[iiij].innerText.split(tickis)[0];
}
}
}
}
}
function hthrb(inihis) {
var outin=inihis;
var ihparts=inihis.split('</option');
if (eval('' + ihparts.length) > 1) {
outin=ihparts[0] + '</option>';
for (var jnb=1; jnb<eval(-1 + eval('' + ihparts.length)); jnb++) {
if (ihparts[jnb].indexOf(' (0') != -1 || ihparts[jnb].indexOf(' (1') != -1 || ihparts[jnb].indexOf(' (2') != -1 || ihparts[jnb].indexOf(' (3') != -1 || ihparts[jnb].indexOf(' (4') != -1 || ihparts[jnb].indexOf(' (5') != -1 || ihparts[jnb].indexOf(' (6') != -1 || ihparts[jnb].indexOf(' (7') != -1 || ihparts[jnb].indexOf(' (8') != -1 || ihparts[jnb].indexOf(' (9') != -1) {
outin+=ihparts[jnb].substring(1) + '>';
}
}
//alert('outin=' + outin + ' from inihis=' + inihis);
}
if (parent.get_ajaxs_ih) {
parent.set_ajaxs_ih(outin + parent.get_ajaxs_ih());
//alert(parent.get_ajaxs_ih());
return parent.get_ajaxs_ih();
} //else if (('' + parent.document.URL).indexOf('/esp_ornot_esp.htm') != -1) {
//alert('why');
//}
return outin;
}
function alatrdo() {
if (tp != '') {
tp=tp.replace('</table>', '</TABLE>');
if (document.getElementById('placeforvideo') && !navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) {
//alert('45 ' + tp);
document.getElementById('placeforvideo').innerHTML+=tp;
document.getElementById('placeforvideo').scrollIntoView();
document.getElementById('placeforvideo').style.cursor='progress';
document.getElementById('placeforvideo').style.visibility='hidden';
if (paridis.trim() != '') {
parent.document.getElementById(paridis.split('#')[0]).scrollIntoView();
}
setTimeout(function(){ document.getElementById('placeforvideo').style.visibility='visible'; document.getElementById('placeforvideo').style.cursor='cursor'; }, 10000);
} else if (document.getElementById('areyousinging') && !navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) {
//alert('145 ' + tp);
document.getElementById('areyousinging').style.fontSize='8px';
document.getElementById('areyousinging').innerHTML+=tp;
document.getElementById('areyousinging').scrollIntoView();
document.getElementById('areyousinging').style.cursor='progress';
document.getElementById('areyousinging').style.visibility='hidden';
if (paridis.trim() != '') {
parent.document.getElementById(paridis.split('#')[0]).scrollIntoView();
}
setTimeout(function(){ document.getElementById('areyousinging').style.visibility='visible'; document.getElementById('areyousinging').style.cursor='cursor'; }, 10000);
} else {
//alert('245 ' + tp);
document.body.innerHTML+=tp;
document.body.style.cursor='progress';
document.getElementById('tonlyaudios').scrollIntoView();
if (paridis.trim() != '') {
parent.document.getElementById(paridis.split('#')[0]).scrollIntoView();
}
setTimeout(function(){ document.body.style.cursor='cursor'; }, 10000);
}
}
tp='';
cdow=-1;
if (thistprefix != '') {
thistprefix='<table><tr><td>';
}
}
function oncnt(inih) {
var secdelim='"', wascdow=cdow, wasinih=inih;
//alert('here');
if (window.top) {
if (top.document.URL.indexOf('/esp_ornot_esp.') != -1 || parent.document.URL.indexOf('/esp_ornot_esp.') != -1) {
inih=hthrb(inih);
}
}
var valopts=inih.split(' value="');
if (eval('' + valopts.length) == 1) {
valopts=inih.split(' value=');
secdelim='>';
}
if (('' + onlyaudios) > '0') {
if (cdow == -1) {
cdow=eval('' + onlyaudios);
if (cdow > 0) {
//if (wascdow < 0 && cdow > 0) {
// alert('' + cdow + ' ' + valopts.length + ' ... ' + inih + ' ' + secdelim);
//}
}
}
for (var ivalo=1; ivalo<valopts.length; ivalo++) {
//if (wascdow < 0 && cdow > 0) {
// alert(valopts[ivalo].split(secdelim)[0]);
//}
if (eval('' + valopts[ivalo].split(secdelim)[0].length) == 11) {
if (cdow > 0) {
if (!document.getElementById('placeforvideo') && thistprefix == '' && wascdow < 0) {
thistprefix='<table id=tonlyaudios><tr><td><span>';
} else if (document.getElementById('placeforvideo') && thistprefix == '' && wascdow < 0) {
if (document.getElementById('placeforvideo').innerHTML == '') {
thistprefix='<table id=tonlyaudios><tr><td><span>';
}
}
tp=tp.split('</table>')[0] + thistprefix + '<a class="audioytplay" target=_blank title="' + valopts[ivalo].split('>')[1].split('<')[0].replace(/\"/g,'`') + '" href="//www.youtube.com/watch?v=' + valopts[ivalo].split(secdelim)[0] + '">' + valopts[ivalo].split('>')[1].split('<')[0].replace(/\"/g,'`') + String.fromCodePoint(128251) + String.fromCodePoint(127926) + '</a>' + (thistprefix == '' ? ' ' : '</span></td></tr>');
if (thistprefix != '') {
thistprefix='<tr><td>';
}
cdow--;
}
}
}
if (thistprefix != '') {
tp+='</table>';
}
if (wascdow < 0 && cdow > 0) {
//if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) {
//alert('Tp=' + tp + ' ' + inih);
//}
setTimeout(alatrdo, 18000);
}
//if (tp != '') {
// document.getElementById('placeforvideo').innerHTML+=tp;
//}
}
return inih.replace(/\<option\ value/g, "<option onclick=oncntapp(this.value,this.innerText,this); value");
}
function andlr() {
if (document.getElementById('cajaxs')) {
if (!document.getElementById('cajaxs').checked) {
document.getElementById('cajaxs').checked=true;
//alert('lastajaxs=' + lastajaxs);
putmorethanone(true);
//alert('Lastajaxs=' + lastajaxs);
}
}
}
function putmorethanone(mto) {
morethanone=mto;
ourmto=mto;
if (ourmto) { courmto=' checked'; } else { courmto=''; }
if (morethanone) {
top.document.title+=' ';
tdt=' ';
document.getElementById('ajaxs').multiple=true;
courmto=' selected';
if (ajaxsih != '') {
//alert(987);
document.getElementById('ajaxs').innerHTML=oncnt(ajaxsih);
//if (('' + document.URL).indexOf('audiocard=') != -1) {
//alert('2:' + document.getElementById('ajaxs').outerHTML);
//tryagain();
//}
if (courmto != '' && document.getElementById('cajaxs')) { document.getElementById('cajaxs').checked=true; }
} else if (!navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) {
//alert(1987);
if (document.getElementById('cajaxs')) {
document.getElementById('cajaxs').style.visibility='hidden';
}
document.getElementById('ajaxs').style.height='565px'; //'300px';
if (document.getElementById('tablenmup')) {
document.getElementById('tablenmup').style.marginTop='-165px';
}
setTimeout(andlr, 5000);
} else {
if (document.getElementById('cajaxs')) {
document.getElementById('cajaxs').style.visibility='hidden';
}
setTimeout(andlr, 5000);
}
givefactor=0;
document.getElementById('dajaxs').innerHTML=lfends + '<input title="Select Video(s) and then Click Here When Ready to Play them (with up to 20 seconds pause or time for your clicks between each)" type=button onclick=" lookatmultiple(eval(String.fromCharCode(50))); " style=display:inline;width:120px;background-color:olive; value="Sequentially?" id=iajaxsz></input> <input title="Select Video(s) and then Click Here When Ready to Play them (with up to 20 seconds pause or time for your clicks between each)" type=button onclick=" lookatmultiple(eval(String.fromCharCode(48))); givefactor=givefifteen; " style=display:inline;width:120px;background-color:yellow; value="Ready?" id=iajaxs></input> ' + lfb + '<input title="Select Video(s) and then Click Here When Ready to Play them in a 3x3 grid (where click matches to end result matches keep that order)" type=button onclick=" dnineit(); " style=display:inline;width:120px;background-color:orange; value="Grid?" id=gridajaxs></input> ' + lfb + ' <input title="Select Video(s) and then Click Here When Ready to Play them synchronously as a reveal, if possible" type=button onclick=" revealit(); " style=display:inline;width:120px;background-color:pink; value="Reveal?"></input> <input title="Select Video(s) and then Click Here When Ready to prepare links to Play just the Audio Stream part of them" type=button onclick=" justradioit(); " style=display:inline;width:120px;background-color:olive; value="Radio📻?"></input> <input title="Select Video(s) and then Click Here When Ready to prepare links to Play just the Audio Stream part of them" type=button onclick=" justaudioit(); " style=display:inline;width:120px;background-color:silver; value="Audio?"></input> ' + lfb + ' <input title="Select Video(s) and then Click Here When Ready to Play them synchronously, if possible" type=button onclick=" sgive=true; givefactor=givefifteen; " style=display:inline;width:120px;background-color:lightgreen; value="Synchronize?" id=iiajaxs></input> ' + lfb + ' <input title="Select Video(s) and then Click Here When Ready to Play them synchronously and superimposed, if possible" type=button onclick=" pgive=true; sgive=true; givefactor=givefifteen; " style=display:inline;width:120px;background-color:lightblue; value="Superimpose?" id=iiajaxs></input> ' + lfends + lfends;
if (document.getElementById('cajaxs')) { document.getElementById('cajaxs').checked=true; }
//if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) {
// document.getElementById('ajaxs').style.width='80%';
//document.getElementById('myh1').innerHTML+=(' here');
//}
} else {
top.document.title=top.document.title.replace(' ','');
tdt='';
courmto='';
document.getElementById('ajaxs').multiple=false;
//if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) {
// document.getElementById('myh1').innerHTML+=(' There');
//}
}
}
function justaudioit() {
//alert(1);
givefactor=givefifteen;
var mysuff='', imy=0;
while (document.getElementById('myao' + mysuff)) {
imy++;
mysuff='' + imy;
}
bitatstart='<details id=myao' + mysuff + ' open><summary></summary>';
//alert(11);
var jsin=document.getElementById('ajaxs');
for (var jii=0; jii<jsin.options.length; jii++) {
if (jsin.options[jii].selected) {
if (jsin.options[jii].value != '') {
//alert(133);
bitatstart+='<span><a class="audioytplay" target=_blank title="' + jsin.options[jii].innerHTML.replace(/\"/g,'`') + '" href="//www.youtube.com/watch?v=' + jsin.options[jii].value + '">' + jsin.options[jii].innerHTML + ' ' + String.fromCodePoint(128251) + String.fromCodePoint(127926) + '</a></span><br>';
}
}
}
bitatend='</details></td></TR>'; //alert(56);
if (3 == 3) {
//alert(56);
if ((bitatstart + '~').indexOf('<summary></summary>~') == -1) {
//alert(345);
var wooo=window.open('','_blank','top=50,left=50,width=600,height=600');
wooo.document.write('<html><head><title>YouTube Audio Stream of Video Playing - RJM Programming - March, 2025</title><scr' + 'ipt src=//www.rjmprogramming.com.au/ytaudioonly.js></scr' + 'ipt></head><body>' + bitatstart + bitatend.split('</td>')[0] + '<div id=subtitlegoeshere style=background-color:orange; onclick=alert(this.title); title="Captions and subtitles"></div></body></html>');
}
} else {
document.getElementById("iiajaxs").click();
}
}
function justradioit() {
//alert(1);
var delm='';
givefactor=givefifteen;
var mysuff='', imy=0;
while (document.getElementById('myao' + mysuff)) {
imy++;
mysuff='' + imy;
}
bitatstart='//www.rjmprogramming.com.au/HTMLCSS/swipe_media.html?isradio=y&youtube=';
if (putintotoptitle != '') {
bitatstart=bitatstart.replace('?', '?regarding=' + encodeURIComponent(putintotoptitle) + '&');
}
//alert(11);
var jsin=document.getElementById('ajaxs');
for (var jii=0; jii<jsin.options.length; jii++) {
if (jsin.options[jii].selected) {
if (jsin.options[jii].value != '') {
//alert(133);
//bitatstart+='<span><a class="audioytplay" target=_blank title="' + jsin.options[jii].innerHTML.replace(/\"/g,'`') + '" href="//www.youtube.com/watch?v=' + jsin.options[jii].value + '">' + jsin.options[jii].innerHTML + ' ' + String.fromCodePoint(128251) + String.fromCodePoint(127926) + '</a></span><br>';
bitatstart+=encodeURIComponent(delm + jsin.options[jii].value);
delm=',';
}
}
}
window.open(bitatstart, '_blank', 'top=30,left=30,width=' + eval(-60 + screen.width) + ',height=' + eval(-60 + screen.height));
}
function revealit() {
sgive=true;
givefactor=givefifteen;
bitatstart='<details open><summary></summary>';
bitatend='</details></td></TR>'; //alert(56);
document.getElementById("iiajaxs").click();
}
function fieldize(indu) {
var inumis=0, outdu=indu;
while (document.getElementById('i' + inumis) && indu.indexOf('i' + inumis + '=') != -1) {
if (inumis == 0) {
//alert(inumis);
outdu=outdu.replace('youtubeid=' + outdu.split('youtubeid=')[1].split('&')[0], 'youtubeid=' + document.getElementById('i' + inumis).value.split('|')[eval(-1 + document.getElementById('i' + inumis).value.split('|').length)].split('#')[0]);
//alert(outdu);
outdu=outdu.replace('i' + inumis + '=' + outdu.split('i' + inumis + '=')[1].split('&')[0], 'i' + inumis + '=' + document.getElementById('i' + inumis).value.split('#')[0]);
//alert(outdu);
outdu=outdu.replace('youtube_duration=' + outdu.split('youtube_duration=')[1].split('&')[0], 'youtube_duration=' + document.getElementById('j' + inumis).value);
//alert(outdu);
outdu=outdu.replace('j' + inumis + '=' + outdu.split('j' + inumis + '=')[1].split('&')[0], 'j' + inumis + '=' + document.getElementById('j' + inumis).value);
//alert(outdu);
if (outdu.indexOf('c' + inumis + '=') == -1) {
outdu=outdu.replace('&i' + inumis + '=', '&c' + inumis + '=off&i' + inumis + '=');
//alert(outdu);
}
outdu=outdu.replace('c' + inumis + '=' + outdu.split('c' + inumis + '=')[1].split('&')[0], 'c' + inumis + '=' + (document.getElementById('c' + inumis).checked ? 'on' : 'off'));
//alert(outdu);
} else {
//alert(inumis);
outdu=outdu.replace('i' + inumis + '=' + outdu.split('i' + inumis + '=')[1].split('&')[0], 'i' + inumis + '=' + document.getElementById('i' + inumis).value.split('#')[0]);
outdu=outdu.replace('j' + inumis + '=' + outdu.split('j' + inumis + '=')[1].split('&')[0], 'j' + inumis + '=' + document.getElementById('j' + inumis).value);
if (outdu.indexOf('c' + inumis + '=') == -1) {
outdu=outdu.replace('&i' + inumis + '=', '&c' + inumis + '=off&i' + inumis + '=');
}
outdu=outdu.replace('c' + inumis + '=' + outdu.split('c' + inumis + '=')[1].split('&')[0], 'c' + inumis + '=' + (document.getElementById('c' + inumis).checked ? 'on' : 'off'));
//alert(outdu);
}
inumis++;
}
docURL=outdu;
return outdu;
}
function clickto() {
if (1 == 11) {
var ibitis=document.getElementById('emailer').src.split('?')[0].split('#')[0];
ibitis+='?to=' + encodeURIComponent(document.getElementById('to').value);
ibitis+='&cc=' + encodeURIComponent(document.getElementById('cc').value);
ibitis+='&bcc=' + encodeURIComponent(document.getElementById('bcc').value);
ibitis+='&url=' + encodeURIComponent(document.getElementById('url').value);
ibitis+='&urlbig=' + encodeURIComponent(document.getElementById('urlbig').value);
ibitis+='&subject=' + encodeURIComponent(document.getElementById('subject').value);
document.getElementById('emailer').src=ibitis;
} else if (('' + parent.document.URL).indexOf('/swipe_media.htm') != -1) {
if (docURL.indexOf('#') != -1 && docURL.replace(/\%23http$/g,'#http').indexOf('#http') != -1 && eval('' + docURL.split('#').length) >= 2) {
docURL=fieldize(docURL.replace('&','&shuffle=n&').replace('unknowndur=','kundur='));
if (5 == 5) {
document.getElementById('url').value=encodeURIComponent(('' + parent.get_docurl()));
document.getElementById('urlbig').value=encodeURIComponent(('' + parent.get_docurl()));
} else {
document.getElementById('url').value=encodeURIComponent(('' + docURL));
document.getElementById('urlbig').value=encodeURIComponent(('' + docURL));
}
} else {
document.getElementById('url').value=encodeURIComponent(('' + parent.get_docurl()));
document.getElementById('urlbig').value=encodeURIComponent(('' + parent.get_docurl()));
}
document.getElementById('subject').value=('' + parent.document.title);
document.getElementById('sendemail').click();
} else {
document.getElementById('sendemail').click();
}
}
function doto(etv) {
document.getElementById('to').value=etv;
}
function closeaudio() {
try {
if (audiow != null) {
audiow.close();
audioask=false;
if (audiof == '') {
//audiof='';
var outaf=null;
if (dorecord) outaf=prompt('Please enter URL to access local audio you just captured. There is very little chance you will not need to change the default value. If it starts with file: you will have to double click these when prompted, else .wav ones are automated, and you can use local web servers like Mac OS X Apache/PHP MAMP (https://www.mamp.info) for a filename like //localhost:8888/myRecording00.wav that would work if you have copied the audio from the Downloads folder to /Applications/MAMP/htdocs/ for instance. Windows has Apache/PHP EasyPHP (//www.easyphp.org/) local web server.', 'file:///home/Downloads/myRecording00.wav');
if (outaf) {
if (outaf != '') {
morechanges=false;
document.getElementById('i' + audioi).value+=';' + outaf;
document.getElementById('trbutton').style.visibility='visible';
document.getElementById('dkaraoke').style.visibility='visible';
document.getElementById('dkaraokem').style.visibility='visible';
document.getElementById('dkaraoker').style.visibility='visible';
document.getElementById('trrhead').style.display='none';
document.getElementById('karaoke').style.visibility='visible';
if (document.getElementById('d' + emojisuffix + 'karaoke')) {
document.getElementById('d' + emojisuffix + 'karaoke').style.visibility='visible';
document.getElementById('d' + emojisuffix + 'karaokem').style.visibility='visible';
document.getElementById('d' + emojisuffix + 'karaoker').style.visibility='visible';
document.getElementById(emojisuffix + 'karaoke').style.visibility='visible';
// alert(emojisuffix + 'karaoke');
emojistuff();
}
}
} else {
ioffset=-1;
}
}
}
} catch (ee) { }
audiow=null;
}
function toms(inf) {
if (inf.value != '') {
if (inf.value.split(';')[0].substring(0,1) >= '0' && inf.value.split(';')[0].substring(0,1) <= '9') {
if (inf.value.split(';')[0].slice(-1) >= '0' && inf.value.split(';')[0].slice(-1) <= '9') {
var secsare=0;
//alert(Math.floor(secsare / 3600.0));
//alert(('0' + Math.floor(secsare / 60.0)));
//alert(('0' + eval(secsare,60.0)));
//alert('take two off length of ' + ('0' + Math.floor(eval(secsare,60.0))));
if (!ismobileplaylist) {
secsare=eval(inf.value.split(';')[0]);
if (inf.outerHTML.indexOf(' data-index') == -1) {
inf.title=Math.floor(secsare / 3600.0) + ':' + ('0' + Math.floor(secsare / 60.0)).substring(eval(-2 + ('0' + Math.floor(secsare / 60.0)).length)) + ':' + ('0' + eval(secsare % 60.0)).substring(eval(-2 + ('0' + Math.floor((secsare % 60.0))).length));
}
}
//alert(secsare + ' ' + inf.title);
}
}
}
}
function andthe() {
var ii=eval(1 + eval(document.getElementById('updatethisplease').value.replace('i','').replace('j','')));
next_thing='xx' + ii;
//if (next_thing == 'ddkaraoke') { alert('wow'); }
document.getElementById(next_thing).style.visibility='visible';
document.getElementById(document.getElementById('updatethisplease').value).style.backgroundColor=bcol;
setTimeout(andthe, 1000);
}
function afterandth() {
if (nextwocmd != '' && document.getElementById('c' + nextwoin).checked) {
//alert('before=' + document.getElementById('j' + nextwoin).value);
document.getElementById('j' + nextwoin).value='' + Math.ceil('' + document.getElementById('j' + nextwoin).value);
//alert('after=' + document.getElementById('j' + nextwoin).value);
document.getElementById('xx' + nextwoin).style.backgroundColor='palegreen';
nextwo=windowopen(document.getElementById('radioif').getAttribute('data-laterclick'),'_blank',''); //eval(nextwocmd);
nextwocmd='';
setTimeout(twozeroesclose, 1000);
}
}
function andth() {
document.getElementById('mousei').style.visibility='hidden';
document.getElementById('mousej').style.visibility='hidden';
if (('' + event.target.id) == ('c' + nextwoin)) {
if (document.getElementById('c' + nextwoin)) {
setTimeout(afterandth, 300);
}
//} else {
//alert('Clicked ' + event.target.id);
}
}
function mousebelowj(omo) {
//alert(omo.id.replace('j','i'));
document.getElementById(omo.id.replace('j','i')).style.visibility='hidden';
//alert(9000);
mbmode=true;
omo.value='When finished with Table Settings click Orange button to Play your Table Settings';
//alert(90000);
bcol='#f0f0f0';
document.getElementById('updatethisplease').value='j0';
document.getElementById(document.getElementById('updatethisplease').value).style.backgroundColor=bcol;
//alert(900000);
if (document.URL.indexOf('c0=off') == -1) {
document.getElementById('c0').checked=true;
}
document.getElementById('thft').innerHTML='Via Mouse Video Click Pauses ... <br>' + 'where Click, DoubleClick for the Finish entries <br>would mean no user Karaoke part ... <br>' + document.getElementById('thft').innerHTML;
//alert(9000000);
//document.getElementById('karaoke').click();
next=0;
queuenext();
setTimeout(andth, 5000);
andthe();
//alert(90000000);
}
function mousebelowi(omo) {
//alert(900);
document.getElementById(omo.id.replace('i','j')).style.visibility='hidden';
omo.value='When finished with Table Settings click Orange button to Play your Table Settings';
document.getElementById('updatethisplease').value='i0';
bcol='#f5f5f5';
document.getElementById(document.getElementById('updatethisplease').value).style.backgroundColor=bcol;
document.getElementById('thst').innerHTML='Via Mouse Video Click Pauses ... <br>' + document.getElementById('thst').innerHTML;
if (document.URL.indexOf('c0=off') == -1) {
document.getElementById('c0').checked=true;
}
//document.getElementById('karaoke').click();
mbmode=true;
next=0;
queuenext();
setTimeout(andth, 5000);
andthe();
}
function ofc(iois) {
okn=iois.value;
oko=iois;
lastokn=okn;
}
function precval(iois) {
//okn=iois.value;
oko=iois;
lastokn=okn;
if (okn.indexOf(':x') != -1) {
var cvi=okn.split(':');
if (cvi.length > 1) {
var scs=0.0, factor=1.0;
for (var ij=eval(-1 + cvi.length); ij>=0; ij--) {
if (cvi[ij] == "") cvi[ij]="00";
scs+=eval(factor * eval(cvi[ij]));
factor*=60.0;
}
okn='' + scs;
oko.value=okn;
lastokn=okn.replace(':','');
//document.title=oko.value;
//setTimeout(fixval,30);
}
}
}
function fixval() {
if (okn != '') {
oko.value=okn;
} else if (lastokn != '') {
oko.value=lastokn;
lastokn='';
} //else {
//document.title='why';
//}
}
function cval(eiois) {
if (document.URL.indexOf('i0=') == -1) {
//alert(eiois.which);
//okn+=String.fromCharCode(eiois.which || eiois.keyCode);
if ((eiois.which || eiois.keyCode) == 8) {
okn='';
} else if ((eiois.which || eiois.keyCode) == 186 || (eiois.which || eiois.keyCode) == 900000016) {
okn=okn.replace(':','') + ':';
//document.title=okn + ' ' + (eiois.which || eiois.keyCode);
var cvi=okn.split(':');
if (cvi.length > 1) {
var scs=0.0, factor=1.0;
for (var ij=eval(-1 + cvi.length); ij>=0; ij--) {
if (cvi[ij] == "") cvi[ij]="00";
scs+=eval(factor * eval(cvi[ij]));
factor*=60.0;
}
//alert(scs + ' ' + okn);
okn='' + scs;
oko.value=okn;
lastokn=okn.replace(':','');
//document.title=okn + ' ' + (eiois.which || eiois.keyCode) + ' ' + oko.value;
//setTimeout(fixval,30);
}
} else if ((eiois.which || eiois.keyCode) < 46 || (eiois.which || eiois.keyCode) > 58) {
okn=okn;
} else {
okn+=String.fromCharCode(eiois.which || eiois.keyCode);
//document.title+='=' + okn + '+' + eiois.which + ' ' + eiois.keyCode + ' ... ';
}
}
}
function backtobase() {
document.getElementById('radioif').style.zIndex='-999';
document.getElementById('radioif').style.display='none';
document.getElementById('radioif').title='Closed';
if (nextwo) {
if (!nextwo.closed) {
nextwo.close();
nextwo=null;
} else {
nextwo=null;
}
}
if (1 == 2) { alert('Closing non YouTube media now.'); }
}
function lastjcheck() {
if (lastj != '') {
if (document.getElementById(lastj.replace('j','i')).value.indexOf('data:image/gif') != -1 || document.getElementById(lastj.replace('j','i')).value.indexOf('gif;base64,') != -1) {
if (gduration > 0) {
document.getElementById(lastj).value='' + gduration;
} else {
document.getElementById(lastj).value='5';
}
} else if (document.getElementById(lastj.replace('j','i')).value.indexOf('data:image/') != -1) {
document.getElementById(lastj).value='5';
}
document.getElementById(lastj).disabled=true;
lastj='';
}
}
function twozerosclose() {
if (document.getElementById('j0').value.indexOf('.00') != -1 && nextwo != null) {
if (!nextwo.closed) {
nextwo.close();
}
nextwo=null;
} else {
setTimeout(twozerosclose, 1000);
}
}
function allc(myci) {
var inum=1;
while (document.getElementById('c' + inum)) {
if (inum != myci) {
if (document.getElementById('c' + inum).outerHTML.indexOf(' onclick=') == -1) {
document.getElementById('c' + inum).onclick=function(){ andth(); };
}
}
inum++;
}
return myci;
}
function dvalit(forc) {
var mnum=0;
if (('' + document.URL + 's').replace(/\#https/g,'') != ('' + document.URL + 's')) {
while (document.getElementById('i' + mnum)) {
if (document.getElementById('i' + mnum).outerHTML.indexOf(' data-value=') == -1) {
document.getElementById('i' + mnum).setAttribute('data-value', '' + document.getElementById('i' + mnum).value);
} else if (forc) {
document.getElementById('i' + mnum).setAttribute('data-value', '' + document.getElementById('i' + mnum).value);
}
mnum++;
}
}
}
function checkval(iois) {
var newa=null, dta='', iov='', sofarlh='', savediov='', lastvl='', lastul='', zwasdu='', newul='', noneed=false;
prestartv='';
lastj='';
//alert(iois.value);
if (iois.value.trim() != '') { // used to be && left below and not 2 == 4 &&
//alert(iois.value);
if ((2 == 4 && browsebut == '') || ((('' + document.URL + 's').replace(/\#https/g,'') != ('' + document.URL + 's') || ('' + document.URL).toLowerCase().indexOf('cannotenda2') != -1 || (('' + document.URL).indexOf('i1=') != -1 && ('' + document.URL).indexOf('i1=&') == -1)) && (iois.value.trim().indexOf('data:') != -1 || iois.value.trim().toLowerCase().indexOf('http') != -1 || iois.value.trim().toLowerCase().indexOf('//') != -1 || (' ' + iois.value).toLowerCase().replace('#',' ').indexOf(' www.') != -1 || (' ' + iois.value).toLowerCase().replace('#',' ').indexOf(' ../') != -1 || (' ' + iois.value).toLowerCase().replace('#',' ').indexOf(' /') != -1))) {
//alert(iois.value);
if (('' + iois.getAttribute('data-value')).replace(/^undefined/g,'').replace(/^null/g,'') != '') {
//alert('5:' + iois.value);
lastvl=('' + iois.getAttribute('data-value'));
//alert('lastvl:' + lastvl);
if (lastvl != '') {
if (lastul.indexOf('# ') != -1) {
nextul=lastvl.split('|')[eval(-1 + lastvl.split('|').length)].split('#')[0];
lastul=lastvl.split('# ')[1].split(' ')[0];
} else {
lastul=lastvl.split('|')[eval(-1 + lastvl.split('|').length)].split('#')[0];
}
if (lastvl.toLowerCase().indexOf('cannotenda2') != -1 && lastsuch == eval('' + iois.id.replace('i',''))) {
iois.onfocus=function(event){ event.target.value=event.target.getAttribute('data-value'); }
//alert('why');
noneed=true; //return '';
}
//alert('lastul:' + lastul);
}
}
savediov=iois.value;
//alert('Here with ' + iois.id + '.value=' + iois.value);
iov=iois.value;
if (!noneed) {
//alert('iov:' + iov);
if (iois.value.substring(0,1) < '0' || iois.value.substring(0,1) > '9') {
prestartv='';
} else if (iois.value.indexOf('|') != -1) {
prestartv=iois.value.split('|')[0] + '|';
iov=iov.replace(prestartv,'');
}
//alert('prestartv:' + prestartv);
//alert('iov=' + iov);
if (iov.indexOf('#') != -1 && lastvl.toLowerCase().indexOf('cannotenda2') == -1) {
//alert('iov=' + iov);
if (iov.split('#')[0].indexOf(' ') != -1 && iov.split('#')[1].trim().indexOf(' ') == -1) {
iois.value=(prestartv + variants[curvaridx] + '# ' + iov.split('#')[0].trim() + ' ' + iov.split('#')[1].trim()).replace('#cannotenda2','').replace(/\ cannotenda2$/g,''); // cannotenda2
newul=variants[curvaridx];
//alert('4:' + newul + ' ... ' + iois.value);
if (lastul != '') { iois.setAttribute('data-value', '' + iois.value); }
if (lastsuch != eval('' + iois.id.replace('i',''))) { lastsuch=eval('' + iois.id.replace('i','')); setTimeout(function(){ curvaridx++; }, 800); }
} else if (iov.split('#')[1].indexOf(' ') != -1 && iov.split('#')[0].trim().indexOf(' ') == -1) {
iois.value=(prestartv + variants[curvaridx] + '# ' + iov.split('#')[1].trim() + ' ' + iov.split('#')[0].trim()).replace('#cannotenda2','').replace(/\ cannotenda2$/g,'');
newul=variants[curvaridx];
//alert('5:' + newul + ' ... ' + iois.value);
if (lastul != '') { iois.setAttribute('data-value', '' + iois.value.replace('#cannotenda2','').replace(/\ cannotenda2$/g,'')); }
if (lastsuch != eval('' + iois.id.replace('i',''))) { lastsuch=eval('' + iois.id.replace('i','')); setTimeout(function(){ curvaridx++; }, 800); }
}
} else {
iois.value=(prestartv + variants[curvaridx] + '#' + iov).replace('#cannotenda2','').replace(/\ cannotenda2$/g,'');
newul=variants[curvaridx];
//alert('6:' + newul + ' ... ' + iois.value);
if (lastul != '') { iois.setAttribute('data-value', '' + iois.value.replace('#cannotenda2','').replace(/\ cannotenda2$/g,'')); }
if (lastsuch != eval('' + iois.id.replace('i',''))) { lastsuch=eval('' + iois.id.replace('i','')); setTimeout(function(){ curvaridx++; }, 800); }
}
iois.value=iois.value.replace('#cannotenda2','').replace(/\ cannotenda2$/g,'');
if (iois.outerHTML.indexOf(' data-value=') != -1) {
iois.setAttribute('data-value', iois.value.replace('#cannotenda2','').replace(/\ cannotenda2$/g,''));
if (iois.value.toLowerCase().indexOf('cannotenda2|') != -1) {
iois.onfocus=function(event){ event.target.value=event.target.getAttribute('data-value'); }
setTimeout(function(){ iois.value=iois.getAttribute('data-value'); }, 8000);
}
}
}
//alert('60:' + newul + ' ... ' + iois.value);
if (lastul != '') {
if (window.parent) {
if (('' + typeof window.parent.mod_docurl) == 'function') {
zwasdu=window.parent.get_docurl();
//alert('is ' + lastul + ' in ' + zwasdu + ' replaced by ' + newul + ' to become ' + zwasdu.replace(lastul, newul).replace(lastul, newul).replace(lastul, newul));
window.parent.mod_docurl(zwasdu, zwasdu.replace(lastul, newul).replace(lastul, newul).replace(lastul, newul));
}
}
zwasdu=getdocurl();
if (('' + zwasdu + 'ss').replace('%23http','#http').indexOf('#httpss') != -1 && iois.value.indexOf('#') != -1 && (iois.value + '!').indexOf('#!') == -1 && iois.value.split('|')[eval(-1 + iois.value.split('|').length)].split('#')[0].toLowerCase() == 'cannotenda2') {
moddocurl(zwasdu, (zwasdu.replace('%23http','#http').substring(0,eval(-5 + zwasdu.length)) + '#' + encodeURIComponent(iois.value.split('#')[1])).replace(lastul, newul).replace(lastul, newul).replace(lastul, newul).replace(lastul, newul) + '#http');
} else {
moddocurl(zwasdu, zwasdu.replace('%23http','#http').replace(lastul, newul).replace(lastul, newul).replace(lastul, newul).replace(lastul, newul));
}
}
//alert('61:' + newul + ' ... ' + iois.value);
sofarlh=('' + location.hash).replace(/^undefined/g,'').replace(/^null/g,'');
if (sofarlh.replace(/\%23http$/g,'#http').replace('#http','') == '') {
sofarlh=('' + top.window.sessionStorage.getItem('ssytemp')).replace(/^undefined/g,'').replace(/^null/g,'');
}
if (sofarlh.indexOf(encodeURIComponent(iois.value.split('#')[1])) == -1) { // cannotenda2
sofarlh+='#' + encodeURIComponent(iois.value.split('#')[1]);
if (sofarlh.indexOf('#http#') != -1) {
document.getElementById('i0').title=sofarlh.replace('#http#','#') + '#http';
//document.getElementById('plhxxx').innerHTML=sofarlh.replace('#http#','#') + '#http';
//top.document.title=sofarlh.replace('#http#','#') + '#http';
if (8 == 8) {
//nextwo=window.open('/HTMLCSS/karaoke_youtube_api.htm?youtubeid=cannotenda2&youtube_duration=22334.0&tbox=' + ('' + iois.id).replace('i','') + '&email=&emoji=on&i0=&c0=on&i0=' + (prestartv == '' ? '0' : prestartv) + '&j0=22334&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=#' + encodeURIComponent('cannotenda2#' + iois.value.split('cannotenda2#')[1]) + '#huh','_blank','left=' + eval(-500 + eval('' + screen.width)) + ',top=' + eval(-800 + eval('' + screen.height)) + ',height=800,width=500');
if (document.getElementById('c' + ('' + iois.id).replace('i','')).checked) {
//alert('62:' + newul + ' ... ' + iois.value);
nextwoin='' + ('' + iois.id).replace('i','');
document.getElementById('j' + ('' + iois.id).replace('i','')).value='' + Math.ceil('' + document.getElementById('j' + ('' + iois.id).replace('i','')).value);
//alert(document.getElementById('j' + ('' + iois.id).replace('i','')).value);
if (Math.abs(eval(eval('' + document.getElementById('j' + ('' + iois.id).replace('i','')).value) - eval('' + document.getElementById('youtube_duration').value))) <= 1.0) {
document.getElementById('xx' + ('' + iois.id).replace('i','')).style.backgroundColor='palegreen';
//nextwo=windowopen('/HTMLCSS/karaoke_youtube_api.htm?youtubeid=cannotenda2&youtube_duration=22334.0&tbox=' + ('' + iois.id).replace('i','') + '&email=&emoji=on&i0=&c0=on&i0=' + (prestartv == '' ? '0' : prestartv) + '&j0=22334&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=#' + encodeURIComponent('' + iois.value.split('cannotenda2#')[1]) + '#huh','_blank','left=' + eval(0 * eval(-500 + eval('' + screen.width))) + ',top=' + eval(340 + eval(0 * eval(-800 + eval('' + screen.height)))) + ',height=' + eval(-340 + screen.height) + ',width=' + screen.width);
nextwo=windowopen('/HTMLCSS/karaoke_youtube_api.htm?youtubeid=' + (iois.value.indexOf('|') != -1 ? iois.value.split('|')[1].split('#')[0] : iois.value.split('#')[0]) + '&youtube_duration=22334.0&tbox=' + ('' + iois.id).replace('i','') + '&email=&emoji=on&i0=&c0=on&i0=' + (prestartv == '' ? '0' : prestartv) + '&j0=22334&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=#' + encodeURIComponent('' + iois.value.split('#')[1]) + '#huh','_blank','left=' + eval(0 * eval(-500 + eval('' + screen.width))) + ',top=' + eval(340 + eval(0 * eval(-800 + eval('' + screen.height)))) + ',height=' + eval(-340 + screen.height) + ',width=' + screen.width);
setTimeout(twozeroesclose, 1000);
} else {
document.getElementById('xx' + ('' + iois.id).replace('i','')).style.backgroundColor='pink';
//nextwo=windowopen('/HTMLCSS/karaoke_youtube_api.htm?youtubeid=cannotenda2&youtube_duration=22334.0&tbox=' + ('' + iois.id).replace('i','') + '&email=&emoji=on&i0=&c0=on&i0=' + (prestartv == '' ? '0' : prestartv) + '&j0=22334&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=#' + encodeURIComponent('' + iois.value.split('cannotenda2#')[1]) + '#huh','_blank','left=' + eval(0 * eval(-500 + eval('' + screen.width))) + ',top=' + eval(340 + eval(0 * eval(-800 + eval('' + screen.height)))) + ',height=' + eval(-340 + screen.height) + ',width=' + screen.width);
//alert('63:' + newul + ' ... ' + iois.value);
nextwo=windowopen('/HTMLCSS/karaoke_youtube_api.htm?youtubeid=' + (iois.value.indexOf('|') != -1 ? iois.value.split('|')[1].split('#')[0] : iois.value.split('#')[0]) + '&youtube_duration=22334.0&tbox=' + ('' + iois.id).replace('i','') + '&email=&emoji=on&i0=&c0=on&i0=' + (prestartv == '' ? '0' : prestartv) + '&j0=22334&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=#' + encodeURIComponent('' + iois.value.split('#')[1]) + '#huh','_blank','left=' + eval(0 * eval(-500 + eval('' + screen.width))) + ',top=' + eval(340 + eval(0 * eval(-800 + eval('' + screen.height)))) + ',height=' + eval(-340 + screen.height) + ',width=' + screen.width);
if (eval('' + nextwoin) > 0) { document.getElementById('c' + allc(nextwoin)).onclick=function(){ andth(); } };
//nextwocmd="nextwo=window.open('/HTMLCSS/karaoke_youtube_api.htm?youtubeid=cannotenda2&youtube_duration=22334.0&tbox=" + ('' + iois.id).replace('i','') + '&email=&emoji=on&i0=&c0=on&i0=' + (prestartv == '' ? '0' : prestartv) + '&j0=22334&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=#' + encodeURIComponent('' + iois.value.split('cannotenda2#')[1]) + '#huh','_blank','left=' + eval(0 * eval(-500 + eval('' + screen.width))) + ',top=' + eval(340 + eval(0 * eval(-800 + eval('' + screen.height)))) + ",height=" + eval(-340 + screen.height) + ',width=' + screen.width + ")";
nextwocmd="nextwo=window.open('/HTMLCSS/karaoke_youtube_api.htm?youtubeid=' + (iois.value.indexOf('|') != -1 ? iois.value.split('|')[1].split('#')[0] : iois.value.split('#')[0]) + '&youtube_duration=22334.0&tbox=" + ('' + iois.id).replace('i','') + '&email=&emoji=on&i0=&c0=on&i0=' + (prestartv == '' ? '0' : prestartv) + '&j0=22334&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=#' + encodeURIComponent('' + iois.value.split('#')[1]) + '#huh','_blank','left=' + eval(0 * eval(-500 + eval('' + screen.width))) + ',top=' + eval(340 + eval(0 * eval(-800 + eval('' + screen.height)))) + ",height=" + eval(-340 + screen.height) + ',width=' + screen.width + ")";
//document.getElementById('radioif').setAttribute('data-laterclick', "/HTMLCSS/karaoke_youtube_api.htm?youtubeid=cannotenda2&youtube_duration=22334.0&tbox=" + ('' + iois.id).replace('i','') + '&email=&emoji=on&i0=&c0=on&i0=' + (prestartv == '' ? '0' : prestartv) + '&j0=22334&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=#' + encodeURIComponent('' + iois.value.split('cannotenda2#')[1]) + '#huh');
document.getElementById('radioif').setAttribute('data-laterclick', "/HTMLCSS/karaoke_youtube_api.htm?youtubeid=' + (iois.value.indexOf('|') != -1 ? iois.value.split('|')[1].split('#')[0] : iois.value.split('#')[0]) + '&youtube_duration=22334.0&tbox=" + ('' + iois.id).replace('i','') + '&email=&emoji=on&i0=&c0=on&i0=' + (prestartv == '' ? '0' : prestartv) + '&j0=22334&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=#' + encodeURIComponent('' + iois.value.split('#')[1]) + '#huh');
//setTimeout(twozeroesclose, 1000);
}
} else {
nextwoin='' + ('' + iois.id).replace('i','');
if (eval('' + nextwoin) > 0) { document.getElementById('c' + allc(nextwoin)).onclick=function(){ andth(); } };
//nextwocmd="nextwo=window.open('/HTMLCSS/karaoke_youtube_api.htm?youtubeid=cannotenda2&youtube_duration=22334.0&tbox=" + ('' + iois.id).replace('i','') + '&email=&emoji=on&i0=&c0=on&i0=' + (prestartv == '' ? '0' : prestartv) + '&j0=22334&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=#' + encodeURIComponent('' + iois.value.split('cannotenda2#')[1]) + '#huh','_blank','left=' + eval(0 * eval(-500 + eval('' + screen.width))) + ',top=' + eval(340 + eval(0 * eval(-800 + eval('' + screen.height)))) + ",height=" + eval(-340 + screen.height) + ',width=' + screen.width + ")";
//alert('64:' + newul + ' ... ' + iois.value);
nextwocmd="nextwo=window.open('/HTMLCSS/karaoke_youtube_api.htm?youtubeid=' + (iois.value.indexOf('|') != -1 ? iois.value.split('|')[1].split('#')[0] : iois.value.split('#')[0]) + '&youtube_duration=22334.0&tbox=" + ('' + iois.id).replace('i','') + '&email=&emoji=on&i0=&c0=on&i0=' + (prestartv == '' ? '0' : prestartv) + '&j0=22334&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=#' + encodeURIComponent('' + iois.value.split('#')[1]) + '#huh','_blank','left=' + eval(0 * eval(-500 + eval('' + screen.width))) + ',top=' + eval(340 + eval(0 * eval(-800 + eval('' + screen.height)))) + ",height=" + eval(-340 + screen.height) + ',width=' + screen.width + ")";
//document.getElementById('radioif').setAttribute('data-laterclick', "/HTMLCSS/karaoke_youtube_api.htm?youtubeid=cannotenda2&youtube_duration=22334.0&tbox=" + ('' + iois.id).replace('i','') + '&email=&emoji=on&i0=&c0=on&i0=' + (prestartv == '' ? '0' : prestartv) + '&j0=22334&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=#' + encodeURIComponent('' + iois.value.split('cannotenda2#')[1]) + '#huh');
document.getElementById('radioif').setAttribute('data-laterclick', "/HTMLCSS/karaoke_youtube_api.htm?youtubeid=' + (iois.value.indexOf('|') != -1 ? iois.value.split('|')[1].split('#')[0] : iois.value.split('#')[0]) + '&youtube_duration=22334.0&tbox=" + ('' + iois.id).replace('i','') + '&email=&emoji=on&i0=&c0=on&i0=' + (prestartv == '' ? '0' : prestartv) + '&j0=22334&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=#' + encodeURIComponent('' + iois.value.split('#')[1]) + '#huh');
}
} else {
//alert('69:' + newul + ' ... ' + iois.value);
document.getElementById('which_i_thingo').value=('' + iois.id).replace('i','');
document.getElementById('an_i_thingo').value=encodeURIComponent(iois.value);
document.getElementById('sibizzo').click();
top.window.sessionStorage.setItem('ssytemp', sofarlh.replace('#http#','#') + '#http');
if (sscontomonitor && 2 == 7) {
alert(1);
sscontomonitor();
alert(11);
}
}
//location.hash=sofarlh.replace('#http#','#') + '#http';
//alert('3:' + parent.document.URL + ' vS ' + document.URL + ' ' + sofarlh.replace('#http#','#') + '#http');
} else {
//document.getElementById('myh1').title=sofarlh.replace('#http#','#') + '#http';
//document.getElementById('plhxxx').innerHTML=sofarlh;
//alert('4:' + sofarlh);
document.getElementById('i0').title=sofarlh;
top.window.sessionStorage.setItem('ssytemp', sofarlh);
if (8 == 8) { // RE cannotenda2
//nextwo=window.open('/HTMLCSS/karaoke_youtube_api.htm?youtubeid=cannotenda2&youtube_duration=22334.0&tbox=' + ('' + iois.id).replace('i','') + '&email=&emoji=on&i0=&c0=on&i0=' + (prestartv == '' ? '0' : prestartv) + '&j0=22334&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=#' + encodeURIComponent('cannotenda2#' + iois.value.split('cannotenda2#')[1]) + '#huh','_blank','left=' + eval(-500 + eval('' + screen.width)) + ',top=' + eval(-800 + eval('' + screen.height)) + ',height=800,width=500');
if (document.getElementById('c' + ('' + iois.id).replace('i','')).checked) {
//alert('72:' + newul + ' ... ' + iois.value);
nextwoin='' + ('' + iois.id).replace('i','');
document.getElementById('j' + ('' + iois.id).replace('i','')).value='' + Math.ceil('' + document.getElementById('j' + ('' + iois.id).replace('i','')).value);
//alert(document.getElementById('j' + ('' + iois.id).replace('i','')).value);
if (Math.abs(eval(eval('' + document.getElementById('j' + ('' + iois.id).replace('i','')).value) - eval('' + document.getElementById('youtube_duration').value))) <= 1.0) {
document.getElementById('xx' + ('' + iois.id).replace('i','')).style.backgroundColor='palegreen';
nextwo=windowopen('/HTMLCSS/karaoke_youtube_api.htm?youtubeid=' + (iois.value.indexOf('|') != -1 ? iois.value.split('|')[1].split('#')[0] : iois.value.split('#')[0]) + '&youtube_duration=22334.0&tbox=' + ('' + iois.id).replace('i','') + '&email=&emoji=on&i0=&c0=on&i0=' + (prestartv == '' ? '0' : prestartv) + '&j0=22334&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=#' + encodeURIComponent('' + iois.value.split('#')[1]) + '#huh','_blank','left=' + eval(0 * eval(-500 + eval('' + screen.width))) + ',top=' + eval(340 + eval(0 * eval(-800 + eval('' + screen.height)))) + ',height=' + eval(-340 + screen.height) + ',width=' + screen.width);
setTimeout(twozeroesclose, 1000);
} else {
document.getElementById('xx' + ('' + iois.id).replace('i','')).style.backgroundColor='pink';
//alert('73:' + newul + ' ... ' + iois.value);
nextwo=windowopen('/HTMLCSS/karaoke_youtube_api.htm?youtubeid=' + (iois.value.indexOf('|') != -1 ? iois.value.split('|')[1].split('#')[0] : iois.value.split('#')[0]) + '&youtube_duration=22334.0&tbox=' + ('' + iois.id).replace('i','') + '&email=&emoji=on&i0=&c0=on&i0=' + (prestartv == '' ? '0' : prestartv) + '&j0=22334&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=#' + encodeURIComponent('' + iois.value.split('#')[1]) + '#huh','_blank','left=' + eval(0 * eval(-500 + eval('' + screen.width))) + ',top=' + eval(340 + eval(0 * eval(-800 + eval('' + screen.height)))) + ',height=' + eval(-340 + screen.height) + ',width=' + screen.width);
if (eval('' + nextwoin) > 0) { document.getElementById('c' + nextwoin).onclick=function(){ andth(); } };
nextwocmd="nextwo=window.open('/HTMLCSS/karaoke_youtube_api.htm?youtubeid=' + (iois.value.indexOf('|') != -1 ? iois.value.split('|')[1].split('#')[0] : iois.value.split('#')[0]) + '&youtube_duration=22334.0&tbox=" + ('' + iois.id).replace('i','') + '&email=&emoji=on&i0=&c0=on&i0=' + (prestartv == '' ? '0' : prestartv) + '&j0=22334&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=#' + encodeURIComponent('' + iois.value.split('#')[1]) + '#huh','_blank','left=' + eval(0 * eval(-500 + eval('' + screen.width))) + ',top=' + eval(340 + eval(0 * eval(-800 + eval('' + screen.height)))) + ",height=" + eval(