<html>
<head>
<title>Song Lyric Faux Pas - RJM Programming - July, 2025</title>
<meta charset="UTF-8"/>
<meta id='myviewport' name='viewport' content='width=device-width, initial-scale=0.7, minimum-scale=0.1, maximum-scale=8, user-scalable=yes' >
<style>
input[type=text] {
width: 95%;
background-color: #f0f0f0;
}
textarea {
width: 95%;
background-color: #f8f8f8;
}
@media only screen and (min-device-width: 320px) and (max-device-width: 765px) and (orientation: portrait) {
input[type=submit] {
font-size: 36px;
color: blue;
border-radius: 30px;
margin: 9 9 9 9;
}
button {
font-size: 24px;
}
}
textarea {
width: 95%;
background-color: #f8f8f8;
}
@media only screen and (min-device-width: 320px) and (max-device-width: 765px) and (orientation: landscape) {
input[type=submit] {
font-size: 36px;
color: blue;
border-radius: 30px;
margin: 9 9 9 9;
}
button {
font-size: 24px;
}
}
</style>
<script type=text/javascript>
var gevt=null, ginst='', gthist='', gthisih='', gthiscs=null, nost=false, lastnost='', atwork=false, huhs=[];
var prefixer="", suffixer="", kbd=[''], ikbd=0, isShift=false, beforek='', afterk='', beforekih='', afterkih='', canbeequal=false, awaitblur=false;
var wowo=null;
var anyhash='';
var gpdef='', gpdf='', pdef='', pans='', ctis='', ctsecs=0.0, startTime=null, endTime=null; // thanks to https://stackoverflow.com/questions/41632942/how-to-measure-time-elapsed-on-javascript
var ptov=true, bellzero=' ', invislist=[], invisunlist=[], giv=0, ipbit='';
var theone='01', aone=1, templatediv='';
var yidhelper=null, suffixactual='', wasdb='', suffis='';
var aonest='.wav.audio/wav.m4a.audio/mp4.mp3.audio.mpeg.aiff.audio/aiff.aif.audio/aiff.';
var ovo=null, ovoid='', ovrect=null, ovodiv=null, newrect=null, ovodivcont='';
var bw=1;
function overlayit(ino) {
ovo=ino;
ovoid='' + ino.id;
setTimeout(afterov, 5000);
}
function checkonit() {
if (('' + document.getElementById('ovodivid').style.zIndex).indexOf('-') != -1) {
setTimeout(checkonit, 5000);
} else {
setTimeout(checkonit, 15000);
}
if (!atwork) {
newrect=document.getElementById(ovoid).getBoundingClientRect();
if (newrect.left == ovrect.left && newrect.width == ovrect.width && newrect.top == ovrect.top && newrect.height == ovrect.height) {
if (ovodivcont != ovo.value) {
document.getElementById('ovodivid').innerHTML=document.getElementById(ovoid).value.replace(/\ on/g, ' data-on');
ovodivcont=document.getElementById(ovoid).value;
document.getElementById('ovodivid').title=ovodivcont;
document.getElementById(ovoid).title=document.getElementById(ovoid).title.split(String.fromCharCode(10) + String.fromCharCode(10))[0] + String.fromCharCode(10) + String.fromCharCode(10) + document.getElementById('ovodivid').innerText;
}
} else if (ovodivcont != ovo.value) {
bw=7;
document.getElementById('ovodivid').style.border='' + bw + 'px solid rgb(238,156,58)';
document.getElementById('ovodivid').style.left='' + newrect.left + 'px';
document.getElementById('ovodivid').style.top='' + newrect.top + 'px';
document.getElementById('ovodivid').style.width='' + eval(-bw - bw + newrect.width) + 'px';
document.getElementById('ovodivid').style.height='' + eval(-bw - bw + newrect.height) + 'px';
ovodivcont=document.getElementById(ovoid).value;
document.getElementById('ovodivid').innerHTML=ovodivcnt.replace(/\ on/g, ' data-on');
document.getElementById('ovodivid').title=ovodivcont;
ovodivcont=document.getElementById(ovoid).value;
document.getElementById(ovoid).title=document.getElementById(ovoid).title.split(String.fromCharCode(10) + String.fromCharCode(10))[0] + String.fromCharCode(10) + String.fromCharCode(10) + document.getElementById('ovodivid').innerText;
} else {
bw=7;
document.getElementById('ovodivid').style.border='' + bw + 'px solid rgb(238,156,58)';
document.getElementById('ovodivid').style.left='' + newrect.left + 'px';
document.getElementById('ovodivid').style.top='' + newrect.top + 'px';
document.getElementById('ovodivid').style.width='' + eval(-bw - bw + newrect.width) + 'px';
document.getElementById('ovodivid').style.height='' + eval(-bw - bw + newrect.height) + 'px';
}
if (('' + document.getElementById('ovodivid').style.zIndex).indexOf('-') != -1) {
document.getElementById('ovodivid').style.opacity='1.0';
document.getElementById(ovoid).style.opacity='0.0';
//setTimeout(checkonit, 5000);
} else {
document.getElementById('ovodivid').style.opacity='0.0';
document.getElementById(ovoid).style.opacity='1.0';
//setTimeout(checkonit, 15000);
}
document.getElementById('ovodivid').style.zIndex='' + eval(-1 * eval('' + document.getElementById('ovodivid').style.zIndex));
}
}
function afterov() {
if (ovo != null && ovoid != '') {
ovrect=ovo.getBoundingClientRect();
if (document.getElementById('lastdiv').innerHTML == '') {
ovodivcont=ovo.value;
document.getElementById('lastdiv').innerHTML='<div id="ovodivid" style="border:1px solid rgb(238,156,58);position:absolute;z-index:99;opacity:1.0;overflow:hidden;left:' + ovrect.left + 'px;top:' + ovrect.top + 'px;width:' + eval(-bw - bw + ovrect.width) + 'px;height:' + eval(-bw - bw + ovrect.height) + 'px;">' + ovodivcont.replace(/\ on/g, ' data-on') + '</div>';
document.getElementById('ovodivid').title=ovodivcont;
document.getElementById(ovoid).style.opacity='0.0';
if (document.getElementById(ovoid).title.indexOf(String.fromCharCode(10) + String.fromCharCode(10)) == -1) {
document.getElementById(ovoid).title+=String.fromCharCode(10) + String.fromCharCode(10) + document.getElementById('ovodivid').innerText;
}
setTimeout(checkonit, 5000);
}
}
}
function obl(e) {
var eti='', tets='', itets=0, changeg=true, xeti='', prevtets='';
//document.title='awaitblur=' + awaitblur;
if (beforekih != '') {
eti=e.target.innerHTML;
var neweti=eti;
if (kbd[0] != '') {
if (eti.indexOf(kbd[0]) == -1) {
for (var ix=0; ix<kbd.length; ix++) {
xeti+=kbd[ix];
}
kbd=[xeti];
//alert('condensed to ' + xeti);
} else {
if (eval('' + kbd.length) > 1) {
if (kbd[1] == '') {
kbd=[kbd[0]];
//alert('Condensed to ' + xeti);
//} else {
// alert('kbd[1]=' + kbd[1] + ' kbd[0]=' + kbd[0]);
}
}
}
//if (eti.indexOf(kbd[0]) != -1 && eval('' + kbd.length) == 1 && eti.indexOf(kbd[0].substring(0,1)) != -1) {
// alert('found ' + kbd[0] + ' in ' + eti);
//}
if (eti.indexOf(kbd[0]) == -1 && eval('' + kbd.length) == 1 && eti.indexOf(kbd[0].substring(0,1)) != -1) {
//document.title='';
//alert('no find of ' + kbd[0] + ' in ' + eti);
ikbd=0;
tets=kbd[0].substring(0,1);
itets++;
while (neweti.indexOf(tets) != -1) {
if (tets != neweti) {
if (neweti.indexOf(kbd[ikbd].substring(itets).substring(0,1)) == -1) {
neweti=neweti.replace(neweti.split(tets)[0] + tets, '');
if (kbd[ikbd].substring(itets) == '') {
tets=neweti + ' ';
} else {
kbd.push(kbd[ikbd].substring(itets));
ikbd++;
kbd[eval(-1 + ikbd)]=tets;
tets=kbd[eval(0 + ikbd)].substring(0,1);
itets=1;
}
} else {
prevtets=tets;
tets+=kbd[ikbd].substring(itets).substring(0,1);
if (prevtets != '') {
if (neweti.indexOf(prevtets) != -1 && neweti.indexOf(tets) == -1) {
//alert(kbd[ikbd] + ' must contain ' + prevtets);
kbd.push(kbd[ikbd].split(prevtets)[1]);
ikbd++;
kbd[eval(-1 + ikbd)]=prevtets;
tets=kbd[eval(0 + ikbd)].substring(0,1);
itets=0;
neweti=neweti.split(prevtets)[1];
//alert('we only end if ' + neweti + ' is same as ' + tets + '.');
prevtets='';
}
}
document.title=' trying ' + tets + ' in ' + eti;
itets++;
}
} else {
tets=neweti + ' ';
}
}
}
//alert('200 eti=' + eti + ' kbd[0]=' + kbd[0]);
if (eti.indexOf(kbd[0]) != -1) {
//alert('201 ' + ' last kbd[] is ' + kbd[eval(-1 + kbd.length)]);
if (document.getElementById('fauxpas' + theone).value.indexOf(beforekih) != -1) {
//alert('202 ' + kbd.length);
canbeequl=true;
for (var ijh=0; ijh<kbd.length; ijh++) {
if (kbd[ijh] != '') {
if (document.getElementById('fauxpas' + theone).value.indexOf(beforekih) != -1 && eti.indexOf(kbd[ijh]) != -1) {
if (changeg) {
changeg=false;
gpdef=prefixer + kbd[ijh] + suffixer;
gpdf=ournocaret(gpdef);
}
//alert('203 ' + kbd[ijh] + ' ' + beforekih + ' will chnage if you find ' + prefixer + kbd[ijh] + suffixer);
document.getElementById('fauxpas' + theone).value=document.getElementById('fauxpas' + theone).value.replace(beforekih, eti.replace(kbd[ijh], prefixer.replace('>', ' class="new">') + kbd[ijh] + suffixer));
beforekih=ournocaret(document.getElementById('fauxpas' + theone).value.split(prefixer + kbd[ijh] + suffixer)[1]).split(' , ')[0]; // beforekih.replace(beforekih.split(prefixer + kbd[ijh] + suffixer)[0] + prefixer + kbd[ijh] + suffixer, '');
eti=eti.replace(eti.split(kbd[ijh])[0] + kbd[ijh], '').split(' , ')[0];
document.title=('205 ' + ' last kbd[] is ' + String.fromCharCode(10) + kbd[eval(-1 + kbd.length)] + ' beforekih=' + String.fromCharCode(10) + beforekih);
console.warn('205 ' + ' last kbd[] is ' + String.fromCharCode(10) + kbd[eval(-1 + kbd.length)] + ' beforekih=' + String.fromCharCode(10) + beforekih);
console.warn(eti + ' needs to contain ' + String.fromCharCode(10) + kbd[eval(-1 + kbd.length)]);
console.warn(beforekih + ' needs to be in ' + String.fromCharCode(10) + document.getElementById('fauxpas' + theone).value);
}
}
}
} else {
kbd=[''];
ikbd=0;
beforek='';
beforekih='';
}
}
}
}
if (!awaitblur) {
kbd=['']; ikbd=''; beforek=''; beforekih='';
} else {
setTimeout(function(){ awaitblur=false; kbd=['']; ikbd=''; beforek=''; beforekih='';
if (9 == 8) { document.getElementsByTagName('h3')[0].innerHTML+='f'; }
}, 1000); // was 1000
}
}
function okd(e) {
if (beforek == '') {
beforek=document.getElementById('fauxpas' + theone).value;
beforekih=e.target.innerHTML;
}
var key;
if (e) {
key = e.keyCode;
isShift = !!e.shiftKey; // typecast to boolean
//if (isShift) { return ''; }
} else {
key = e.which;
isShift = !!e.shiftKey;
//if (isShift) { return ''; }
}
if (e.altKey) {
if (kbd[ikbd] != '') {
kbd.push('');
ikbd++;
//alert('alt');
}
}
if (e.ctrlKey) {
if (kbd[ikbd] != '') {
kbd.push('');
ikbd++;
//alert('ctrl');
}
}
if (e.keyCode == 8 || e.keyCode == 46) {
awaitblur=true;
kbd=[''];
ikbd=0;
beforek='';
beforekih='';
} else {
var charx = e.which || e.keyCode;
//alert('' + charx);
//if (/[a-zA-Z]/.test(e.key) && e.key.length == 1) {
if (9 == 5) { document.getElementsByTagName('h3')[0].innerHTML+='' + e.key.length; }
if (e.key.length == 1) {
if (eval('' + e.keyCode) >= 32) {
if (isShift) {
kbd[ikbd]+=String.fromCharCode(eval(('' + e.keyCode))).toUpperCase();
} else {
kbd[ikbd]+=String.fromCharCode(eval(('' + e.keyCode))).toLowerCase();
}
awaitblur=true;
if (5 == 6) { document.getElementsByTagName('h3')[0].innerHTML+='t'; }
//document.title='kbd[' + ikbd + ']=' + kbd[ikbd];
}
gthisih=e.target.innerHTML;
}
}
return true;
}
function appendage(inid) {
if (document.getElementById(inid)) {
if (document.getElementById(inid).value == '') {
if (('' + document.getElementById(inid).getAttribute('data-placeholder')).replace(/^undefined/g,'').replace(/^null/g,'') != '') {
if (document.URL.indexOf('/song_lyric_faux_pas.htm') != -1 && anyhash == '') { document.getElementById(inid).style.visibility='hidden'; }
invislist.push(inid);
document.getElementById(inid).value='' + document.getElementById(inid).getAttribute('data-placeholder');
}
}
if (document.getElementById(inid).value.trim() != '') {
return '~{ "title": "' + document.getElementById(inid).value.replace(/\~/g,' ') + '" }';
}
}
return '';
}
function plustwenty(inzx) {
var outzx=inzx, lastext='';
var wdsx=inzx.replace(/\"\:\ \"/g, ' ').split(' ');
for (var ibn=0; ibn<wdsx.length; ibn++) {
if (wdsx[ibn].toLowerCase().replace(/^http\:/g,'').replace(/^https\:/g,'').indexOf('//') == 0) {
if (wdsx[ibn].indexOf('.') != -1) {
lastext='.' + wdsx[ibn].split('.')[eval(-1 + wdsx[ibn].split('.').length)].toLowerCase().split('#')[0].split('&')[0].split('?')[0] + '.';
if (aonest.indexOf(lastext) != -1) {
document.getElementById('diaudio').innerHTML='<audio style="visibility:hidden;" controls id=diaudiov><source src="//' + wdsx[ibn].split('//')[1] + '" type="' + aonest.split(lastext).split('.')[0] + '" class="loop autoplay"></source></audio>';
}
}
//if (wdsx[ibn] != wdsx[ibn].replace(/\+/g,'%20').replace(/\~/g,'%7e')) {
// document.getElementById('fauxpasreally' + theone).value=document.getElementById('fauxpasreally' + theone).value.replace(/\+/g,'%20').replace(/\~/g,'%7e');
//}
outzx=outzx.replace(wdsx[ibn], wdsx[ibn].replace(/\+/g,'%2B').replace(/\~/g,'%7e'));
} else if (wdsx[ibn] != wdsx[ibn].replace(/^\+[0-9]/g,'')) {
//if (wdsx[ibn] != wdsx[ibn].replace(/\+/g,'%2b').replace(/\~/g,'%7e')) {
// document.getElementById('fauxpasreally' + theone).value=document.getElementById('fauxpasreally' + theone).value.replace(/\+/g,'%2b').replace(/\~/g,'%7e');
//}
outzx=outzx.replace(wdsx[ibn], wdsx[ibn].replace(/\+/g,'%2b').replace(/\~/g,'%7e'));
}
}
return outzx;
}
function wasdosrtetc() {
var prexf=bellzero, iv=0, firstiv=-1, jins=0, ins=[], types=['textarea','input'], kins=0;
var ourown='', startast=true;
var vttb='WEBVTT FILE~~', vttbi=1, curblurb='', vals=[], currvi=0, jcur=1, firstcur='', wasv='1';
if (ptov || 11 == 11) {
for (kins=0; kins<types.length; kins++) {
ins=document.getElementsByTagName(types[kins]);
for (jins=0; jins<ins.length; jins++) {
if ((('' + ins[jins].value) == '' && ('' + ins[jins].placeholder) != '' && ('' + ins[jins].id).indexOf('beep') == -1) || (('' + ins[jins].id).indexOf('faux') == 0 && ('' + ins[jins].id).indexOf('' + theone) != -1)) {
if (ins[jins].value == '') {
if (('' + ins[jins].getAttribute('data-placeholder')).replace(/^undefined/g,'').replace(/^null/g,'') != '') {
if (document.URL.indexOf('/song_lyric_faux_pas.htm') != -1 && anyhash == '') { ins[jins].style.visibility='hidden'; }
invislist.push(ins[jins].id);
ins[jins].value='' + ins[jins].getAttribute('data-placeholder');
} else {
ins[jins].value=ins[jins].placeholder;
}
}
if (('' + ins[jins].id).indexOf('faux') == 0 && ('' + ins[jins].id).indexOf('really') == -1 && ('' + ins[jins].id).indexOf('' + theone) != -1) {
//alert('' + ins[jins].name + '=' + ins[jins].value);
vals=[];
if (curblurb != '' && ('' + ins[jins].id).indexOf('secs') != -1 && ('' + ins[jins].id).indexOf('' + theone) != -1) {
vals=ins[jins].value.split(',');
}
if (curblurb == '') {
if (vttb != 'WEBVTT FILE~~') {
curblub='~~';
}
curblurb+='' + vttbi + '~' + 'youllneverfindthis --> youllneverfindthis' + '~' + ins[jins].value.replace(/\~~/g,'~') + appendage(ins[jins].id.replace('fauxpas','fauxpasreally'));
//alert(curblurb);
wasv='' + vttbi;
vttbi++;
} else if (curblurb.indexOf('youllneverfindthis') != -1 && firstcur == '') {
vals=ins[jins].value.split(',');
//alert('2:' + ins[jins].name + '=' + ins[jins].value + ' ... ' + curblurb);
if (eval('' + vals.length) == 1 || firstcur != '') {
curblurb=curblurb.replace('youllneverfindthis', fromsecs(ins[jins].value.split(',')[currvi]));
} else if (eval('' + vals.length) > 1 && firstcur == '') {
firstcur=curblurb;
curblurb=curblurb.replace('youllneverfindthis', fromsecs(ins[jins].value.split(',')[currvi]));
for (jcur=1; jcur<vals.length; jcur++) {
curblurb+='~~' + firstcur.replace(wasv, '' + vttbi);
curblurb=curblurb.replace('youllneverfindthis --> ', fromsecs(vals[jcur]) + ' --> ');
vttbi++;
}
currvi=0;
}
if (curblurb.indexOf('youllneverfindthis') == -1) {
vttb+=curblurb;
curblurb='';
currvi=0;
firstcur='';
//alert('why?');
//} else {
//alert('firstcur=' + firstcur);
}
} else if (eval('' + vals.length) > 1 && firstcur != '') {
//alert('3:' + ins[jins].name + '=' + ins[jins].value + ' ... ' + curblurb);
iv=eval('' + invisunlist.length);
firstiv=iv;
while (eval('' + invisunlist.length) < eval('' + invislist.length)) {
invisunlist.push(eval(eval(iv + 1000) * eval('' + vals[eval(-1 + vals.length)])));
if (firstiv == 0) {
setTimeout(function(){ document.getElementById(invislist[giv]).style.visibility='visible'; giv++; }, eval('' + invisunlist[iv]));
}
iv++;
}
curblurb=curblurb.replace('youllneverfindthis', fromsecs(ins[jins].value.split(',')[currvi]));
for (jcur=1; jcur<vals.length; jcur++) {
curblurb=curblurb.replace('youllneverfindthis', fromsecs(vals[jcur]) + '');
vttbi++;
}
currvi=0;
if (curblurb.indexOf('youllneverfindthis') == -1) {
vttb+=curblurb;
curblurb='';
currvi=0;
firstcur='';
}
}
}
} // if
if (ins[jins].id == 'srt') { if (vttb != 'WEBVTT FILE~~') { if (prexf.trim() != '' && 7 == 4) { vttb=vttb.replace('~~1~', '~~' + prexf.trim() + '1~'); } ins[jins].value=plustwenty(vttb); } }
if (kins == 1 && (ins[jins].outerHTML.indexOf(' name=') != -1 || ins[jins].id == 'srt')) {
if (ourown == '') {
ourown='?rand=' + Math.floor(Math.random() * 156) + '&' + ins[jins].name + '=' + encodeURIComponent(ins[jins].value);
//alert(ourown);
} else if (ins[jins].id == 'srt') {
//alert(567);
if (eval('' + (ourown + vttb).length) > 800 && document.getElementById('youtubeid').value != '') {
ourown+='#srt=' + encodeURIComponent(ins[jins].value);
startast=false;
//alert(('/HTMLCSS/karaoke_youtube_api.htm' + ourown).split('#')[1]);
document.getElementById('rightif').src='/HTMLCSS/karaoke_youtube_api.htm' + ourown;
} else if (ins[jins].outerHTML.indexOf(' name=') != -1) {
ourown+='&' + ins[jins].name + '=' + encodeURIComponent(ins[jins].value);
}
} else {
ourown+='&' + ins[jins].name + '=' + encodeURIComponent(ins[jins].value);
//alert(ourown);
}
}
} // for
}
}
prov=true;
document.getElementById('rightif').style.display='block';
plustwenty(vttb);
if (document.getElementById('youtubeid').value == '') { return false; }
return true;
}
function dosrtetc() {
var prexf=bellzero, iv=0, firstiv=-1, jins=0, ins=[], types=['textarea','input'], kins=0;
var ourown='', startast=true;
var vttb='WEBVTT FILE~~', vttbi=1, curblurb='', vals=[], currvi=0, jcur=1, firstcur='', wasv='1';
if (ptov || 11 == 11) {
for (kins=0; kins<types.length; kins++) {
ins=document.getElementsByTagName(types[kins]);
for (jins=0; jins<ins.length; jins++) {
if ((('' + ins[jins].value) == '' && ('' + ins[jins].placeholder) != '' && ('' + ins[jins].id).indexOf('beep') == -1) || (('' + ins[jins].id).indexOf('faux') == 0 && ('' + ins[jins].id).indexOf('' + theone) != -1)) {
if (ins[jins].value == '') {
if (('' + ins[jins].getAttribute('data-placeholder')).replace(/^undefined/g,'').replace(/^null/g,'') != '') {
if (document.URL.indexOf('/song_lyric_faux_pas.htm') != -1) { ins[jins].style.visibility='hidden'; }
invislist.push(ins[jins].id);
ins[jins].value='' + ins[jins].getAttribute('data-placeholder');
} else {
ins[jins].value=ins[jins].placeholder;
}
}
if (('' + ins[jins].id).indexOf('faux') == 0 && ('' + ins[jins].id).indexOf('really') == -1 && ('' + ins[jins].id).indexOf('' + theone) != -1) {
//alert('' + ins[jins].name + '=' + ins[jins].value);
vals=[];
if (curblurb != '' && ('' + ins[jins].id).indexOf('secs') != -1 && ('' + ins[jins].id).indexOf('' + theone) != -1) {
vals=ins[jins].value.split(',');
}
if (curblurb == '') {
if (vttb != 'WEBVTT FILE~~') {
curblub='~~';
}
curblurb+='' + vttbi + '~' + 'youllneverfindthis --> youllneverfindthis' + '~' + ins[jins].value.replace(/\~~/g,'~') + appendage(ins[jins].id.replace('fauxpas','fauxpasreally'));
//alert(curblurb);
wasv='' + vttbi;
vttbi++;
} else if (curblurb.indexOf('youllneverfindthis') != -1 && firstcur == '') {
vals=ins[jins].value.split(',');
//alert('2:' + ins[jins].name + '=' + ins[jins].value + ' ... ' + curblurb);
if (eval('' + vals.length) == 1 || firstcur != '') {
curblurb=curblurb.replace('youllneverfindthis', fromsecs(ins[jins].value.split(',')[currvi]));
} else if (eval('' + vals.length) > 1 && firstcur == '') {
firstcur=curblurb;
curblurb=curblurb.replace('youllneverfindthis', fromsecs(ins[jins].value.split(',')[currvi]));
for (jcur=1; jcur<vals.length; jcur++) {
curblurb+='~~' + firstcur.replace(wasv, '' + vttbi);
curblurb=curblurb.replace('youllneverfindthis --> ', fromsecs(vals[jcur]) + ' --> ');
vttbi++;
}
currvi=0;
}
if (curblurb.indexOf('youllneverfindthis') == -1) {
vttb+=curblurb;
curblurb='';
currvi=0;
firstcur='';
//alert('why?');
//} else {
//alert('firstcur=' + firstcur);
}
} else if (eval('' + vals.length) > 1 && firstcur != '') {
//alert('3:' + ins[jins].name + '=' + ins[jins].value + ' ... ' + curblurb);
iv=eval('' + invisunlist.length);
firstiv=iv;
while (eval('' + invisunlist.length) < eval('' + invislist.length)) {
invisunlist.push(eval(eval(iv + 1000) * eval('' + vals[eval(-1 + vals.length)])));
if (firstiv == 0) {
setTimeout(function(){ document.getElementById(invislist[giv]).style.visibility='visible'; giv++; }, eval('' + invisunlist[iv]));
}
iv++;
}
curblurb=curblurb.replace('youllneverfindthis', fromsecs(ins[jins].value.split(',')[currvi]));
for (jcur=1; jcur<vals.length; jcur++) {
curblurb=curblurb.replace('youllneverfindthis', fromsecs(vals[jcur]) + '');
vttbi++;
}
currvi=0;
if (curblurb.indexOf('youllneverfindthis') == -1) {
vttb+=curblurb;
curblurb='';
currvi=0;
firstcur='';
}
}
}
} // if
if (ins[jins].id == 'srt') { if (vttb != 'WEBVTT FILE~~') { if (prexf.trim() != '' && 7 == 4) { vttb=vttb.replace('~~1~', '~~' + prexf.trim() + '1~'); } ins[jins].value=plustwenty(vttb); } }
if (kins == 1 && (ins[jins].outerHTML.indexOf(' name=') != -1 || ins[jins].id == 'srt')) {
if (ourown == '') {
ourown='?rand=' + Math.floor(Math.random() * 156) + '&' + ins[jins].name + '=' + encodeURIComponent(ins[jins].value);
//alert(ourown);
} else if (ins[jins].id == 'srt') {
//alert(567);
if (eval('' + (ourown + vttb).length) > 800 && document.getElementById('youtubeid').value != '') {
ourown+='#srt=' + encodeURIComponent(ins[jins].value);
startast=false;
//alert(('/HTMLCSS/karaoke_youtube_api.htm' + ourown).split('#')[1]);
document.getElementById('rightif').src='/HTMLCSS/karaoke_youtube_api.htm' + ourown;
} else if (ins[jins].outerHTML.indexOf(' name=') != -1) {
ourown+='&' + ins[jins].name + '=' + encodeURIComponent(ins[jins].value);
}
} else {
ourown+='&' + ins[jins].name + '=' + encodeURIComponent(ins[jins].value);
//alert(ourown);
}
}
} // for
}
}
prov=true;
document.getElementById('rightif').style.display='block';
//alert(vttb);
plustwenty(vttb);
if (document.getElementById('youtubeid').value == '') { return false; }
return startast;
}
function fromsecs(outsecs) {
var fromthistimestamp=''; // 21.681 becomes 00:00:02.681
var hrs=Math.floor(eval(outsecs / 3600.0));
var mns=Math.floor(eval(eval(outsecs - hrs * 3600.0) / 60.0));
var scs=Math.floor(eval(eval(outsecs - hrs * 3600.0 - mns * 60.0) / 1.0));
var msc=('' + ('' + (eval(eval(outsecs - hrs * 3600.0 - mns * 60.0 - scs) / 1.0)) + '.').split('.')[1] + '000').substring(0,3);
fromthistimestamp=('0' + ('' + hrs)).slice(-2) + ':' + ('0' + ('' + mns)).slice(-2) + ':' + ('0' + ('' + scs)).slice(-2) + ',' + msc;
//alert('' + outsecs + ' becomes ' + fromthistimestamp);
return fromthistimestamp;
}
function mapsome() {
document.getElementById('refurl').value=document.getElementById('refurl' + theone).value;
document.getElementById('songname').value=document.getElementById('songname' + theone).value;
document.getElementById('youtubeid').value=document.getElementById('youtubeid' + theone).value;
document.getElementById('sum' + theone).innerHTML=document.getElementById('sum' + theone).innerHTML.replace('Song','Current song');
}
function onemore(ao) {
aone=eval('' + ao.getAttribute('data-offset'));
//alert('aone=' + aone + ' and theone=' + theone + ' and templatediv=' + templatediv);
if (document.getElementById('det' + theone)) {
document.getElementById('sum' + theone).innerHTML=document.getElementById('sum' + theone).innerHTML.replace('Current song','Song');
document.getElementById('det' + theone).open=false;
}
aone=1;
while (document.getElementById('det' + ('0' + aone).slice(-2))) {
aone++;
}
theone=('0' + aone).slice(-2);
document.getElementById('tbtheone').value='' + theone;
ao.setAttribute('data-offset', '' + aone);
document.getElementById('moredfp').innerHTML+=templatediv.replace(/01\"/g, theone + '"');
mapsome();
var dets=document.getElementsByTagName('summary');
for (var idets=0; idets<dets.length; idets++) {
if (dets[idets].id.indexOf(theone) == -1) {
dets[idets].innerHTML=dets[idets].innerHTML.replace('Current song','Song');
}
}
}
function gettheone() {
return '' + theone;
}
function andlater() {
var arrinput=[], karr=0;
if (wasdb != '') {
document.body.innerHTML=wasdb;
wasdb='';
if (suffis != '') {
arrinput=document.getElementsByTagName('input');
for (karr=0; karr<arrinput.length; karr++) {
if (('' + arrinput[karr].id).indexOf('really') != -1) {
if (arrinput[karr].value != '') {
if (arrinput[karr].value.indexOf(' ... ' + suffis)) {
arrinput[karr].value=arrinput[karr].value.replace(' ... ' + suffis, '');
}
}
if (arrinput[karr].getAttribute('data-placeholder').indexOf(' ... ' + suffis) != -1) {
arrinput[karr].setAttribute('data-placeholder', '' + arrinput[karr].getAttribute('data-placeholder').replace(' ... ' + suffis,''));
}
}
}
suffis='';
}
}
}
function nosq(emis) {
var retsofar='', newret='';
if (emis.indexOf('[') > 0 && emis.indexOf(']') > emis.indexOf('[') && emis.indexOf('#') > emis.indexOf(']') && emis.split('#')[eval(-1 + emis.split('#').length)].indexOf('[') > 0 && emis.split('#')[eval(-1 + emis.split('#').length)].indexOf(']') > emis.split('#')[eval(-1 + emis.split('#').length)].indexOf('[')) {
retsofar=emis.split('#')[eval(-1 + emis.split('#').length)] + ',' + emis.replace(/\ /g,'%20').split('#')[0];
} else if (emis.indexOf('[') == -1 && emis.indexOf('#') == -1) {
return emis.trim();
}
alert(retsofar);
if (retsofar != '') {
var rets=retsofar.split('[');
for (var irets=1; irets<rets.length; irets++) {
if (newret == '') {
newret='' + rets[irets].split(']')[0];
} else {
newret+=',' + rets[irets].split(']')[0];
}
}
alert(newret);
return newret;
}
return emis.trim();
}
function docollaborate(amcollaborator) {
var colans='', colarr=[];
if (!amcollaborator) {
colans=prompt('To collaborate, as the collaboration group Originator please enter a (optionally if multiple comma separated) Name[contactAllEmailOrAllSMS] list to collaborate with then a hash # to separate a Originator[emailOrSMStoMatchNameType] ... eg. RMet[rmetcalfe15@gmail.com],RMetcalfe[rmetcalfe15@gmail.com]#RM[rmetcalfe15@gmail.com]', '');
if (colans == null) { colans=''; }
if (colans.indexOf('[') > 0 && colans.indexOf(']') > colans.indexOf('[') && colans.indexOf('#') > colans.indexOf(']') && colans.split('#')[eval(-1 + colans.split('#').length)].indexOf('[') > 0 && colans.split('#')[eval(-1 + colans.split('#').length)].indexOf(']') > colans.split('#')[eval(-1 + colans.split('#').length)].indexOf('[')) {
if (colans.indexOf('@') != -1) {
doemail(colans);
} else {
dosms(colans);
}
}
} else if (decodeURIComponent(anyhash).indexOf('@') != -1) {
//alert(decodeURIComponent(anyhash.replace(/^\#group\=/g,'')));
colarr=decodeURIComponent(anyhash.replace(/^\#group\=/g,'')).split(',');
if (decodeURIComponent(anyhash.replace(/^\#group\=/g,'')).indexOf('#') == -1) {
doemail((decodeURIComponent(anyhash.replace(/^\#group\=/g,'')) + '~').replace(',' + colarr[eval(-1 + colarr.length)] + '~', '#' + colarr[eval(-1 + colarr.length)]).replace(/\~$/g,''));
} else {
doemail(decodeURIComponent(anyhash.replace(/^\#group\=/g,'')));
}
} else if (anyhash.trim() != '') {
colarr=decodeURIComponent(anyhash.replace(/^\#group\=/g,'')).split(',');
if (decodeURIComponent(anyhash.replace(/^\#group\=/g,'')).indexOf('#') == -1) {
dosms((decodeURIComponent(anyhash.replace(/^\#group\=/g,'')) + '~').replace(',' + colarr[eval(-1 + colarr.length)] + '~', '#' + colarr[eval(-1 + colarr.length)]).replace(/\~$/g,''));
} else {
dosms(decodeURIComponent(anyhash.replace(/^\#group\=/g,'')));
}
}
}
function doemail(inemis) {
var arrinput=[], karr=0;
wasdb='';
suffis='';
var anchor=null;
var emis='';
if (('' + inemis).replace(/^undefined/g,'').replace(/^null/g,'') != '') {
//alert(inemis);
emis=inemis;
} else {
emis=prompt('Please enter email address to send to. Can # separate an additionally suffixed personalized message to recipient when faux pas reached.', '');
}
if (emis == null) { emis=''; }
if (emis.indexOf('[') > 0 && emis.indexOf(']') > emis.indexOf('[') && emis.indexOf('#') > emis.indexOf(']') && emis.split('#')[eval(-1 + emis.split('#').length)].indexOf('[') > 0 && emis.split('#')[eval(-1 + emis.split('#').length)].indexOf(']') > emis.split('#')[eval(-1 + emis.split('#').length)].indexOf('[')) {
anyhash='#group=' + encodeURIComponent(emis.split('#')[eval(-1 + emis.split('#').length)] + ',' + emis.replace(/\ /g,'%20').split('#')[0]);
emis=nosq(emis); //emis.replace('#',',');
//alert(emis);
} else {
anyhash='';
}
//alert(anyhash);
if (emis.indexOf('#') != -1) { suffis=emis.split('#')[1].trim(); emis=emis.split('#')[0]; }
if (suffis.trim() != '') {
wasdb=document.body.innerHTML;
arrinput=document.getElementsByTagName('input');
for (karr=0; karr<arrinput.length; karr++) {
if (('' + arrinput[karr].id).indexOf('really') != -1) {
if (arrinput[karr].value != '') {
arrinput[karr].value+=' ... ' + suffis;
} else {
arrinput[karr].setAttribute('data-placeholder', '' + arrinput[karr].getAttribute('data-placeholder') + ' ... ' + suffis);
}
}
}
}
if (emis.indexOf('@') != -1) {
anchor = document.createElement('a');
if (emis.trim() == emis.trim().toUpperCase()) {
anchor.href = 'mailto:' + nosq(emis.trim()) + '?subject=My%20Song%20Lyric%20Faux%20Pas' + (inemis == '' ? '' : encodeURIComponent(' regarding collaboration group ' + inemis.replace('#',','))) + '&body=' + encodeURIComponent(document.URL.split('?')[0].split('#')[0] + '?rand=' + theone + '.' + Math.floor(Math.random() * 19897865) + '#bodyih=' + encodeURIComponent(seveninps(document.getElementById('dfp').innerHTML)));
} else {
anchor.href = 'mailto:' + nosq(emis.trim()) + '?subject=My%20Song%20Lyric%20Faux%20Pas' + (inemis == '' ? '' : encodeURIComponent(' regarding collaboration group ' + inemis.replace('#',','))) + '&body=' + encodeURIComponent(document.URL.split('?')[0].split('#')[0] + '?rand=' + theone + '.' + Math.floor(Math.random() * 19897865) + '#bodyih=' + encodeURIComponent(seveninps(document.getElementById('dfp').innerHTML))); // + encodeURIComponent(document.body.innerHTML));
}
anchor.style.display='none';
document.body.appendChild(anchor);
anchor.innerHTML='Email';
anchor.target='_top';
anchor.click();
if (suffis.trim() != '') {
setTimeout(andlater, 3000);
}
} else if (emis.trim() != '' && emis.trim().replace(/0/g,'').replace(/1/g,'').replace(/2/g,'').replace(/3/g,'').replace(/4/g,'').replace(/5/g,'').replace(/6/g,'').replace(/7/g,'').replace(/8/g,'').replace(/9/g,'') == '') {
anchor = document.createElement('a');
anchor.href = 'sms:' + nosq(emis.trim()) + '&body=' + encodeURIComponent(document.URL.split('?')[0].split('#')[0] + '?rand=' + theone + '.' + Math.floor(Math.random() * 19897865) + '#bodyih=' + encodeURIComponent(seveninps(document.getElementById('dfp').innerHTML))); // + encodeURIComponent(seveninps(document.getElementById('dfp').innerHTML)));
anchor.style.display='none';
anchor.innerHTML='SMS';
anchor.target='_top';
anchor.click();
if (suffis.trim() != '') {
setTimeout(andlater, 3000);
}
}
}
function dosms(inemis) {
var arrinput=[], karr=0;
wasdb='';
suffis='';
var anchor=null;
var emis='';
if (('' + inemis).replace(/^undefined/g,'').replace(/^null/g,'') != '') {
emis=inemis;
} else {
emis=prompt('Please enter SMS number to send to. Can # separate an additionally suffixed personalized message to recipient when faux pas reached.', '');
}
if (emis == null) { emis=''; }
if (emis.indexOf('[') > 0 && emis.indexOf(']') > emis.indexOf('[') && emis.indexOf('#') > emis.indexOf(']') && emis.split('#')[eval(-1 + emis.split('#').length)].indexOf('[') > 0 && emis.split('#')[eval(-1 + emis.split('#').length)].indexOf(']') > emis.split('#')[eval(-1 + emis.split('#').length)].indexOf('[')) {
anyhash='#group=' + encodeURIComponent(emis.split('#')[eval(-1 + emis.split('#').length)] + ',' + emis.replace(/\ /g,'%20').split('#')[0]);
emis=nosq(emis); //emis.replace('#',',');
//alert(emis);
} else {
anyhash='';
}
if (emis.indexOf('#') != -1) { suffis=emis.split('#')[1].trim(); emis=emis.split('#')[0]; }
if (suffis.trim() != '') {
wasdb=document.body.innerHTML;
arrinput=document.getElementsByTagName('input');
for (karr=0; karr<arrinput.length; karr++) {
if (('' + arrinput[karr].id).indexOf('really') != -1) {
if (arrinput[karr].value != '') {
arrinput[karr].value+=' ... ' + suffis;
} else {
arrinput[karr].setAttribute('data-placeholder', '' + arrinput[karr].getAttribute('data-placeholder') + ' ... ' + suffis);
}
}
}
}
if (emis.indexOf('@') != -1) {
anchor = document.createElement('a');
if (emis.trim() == emis.trim().toUpperCase()) {
anchor.href = 'mailto:' + nosq(emis.trim()) + '?subject=My%20Song%20Lyric%20Faux%20Pas' + (inemis == '' ? '' : encodeURIComponent(' regarding collaboration group ' + inemis.replace('#',','))) + '&body=' + encodeURIComponent(document.URL.split('?')[0].split('#')[0] + '?rand=' + theone + '.' + Math.floor(Math.random() * 19897865) + '#bodyih=' + encodeURIComponent(seveninps(document.getElementById('dfp').innerHTML)));
} else {
anchor.href = 'mailto:' + nosq(emis.trim()) + '?subject=My%20Song%20Lyric%20Faux%20Pas' + (inemis == '' ? '' : encodeURIComponent(' regarding collaboration group ' + inemis.replace('#',','))) + '&body=' + encodeURIComponent(document.URL.split('?')[0].split('#')[0] + '?rand=' + theone + '.' + Math.floor(Math.random() * 19897865) + '#bodyih=' + encodeURIComponent(seveninps(document.getElementById('dfp').innerHTML))); // + encodeURIComponent(document.body.innerHTML));
}
anchor.style.display='none';
document.body.appendChild(anchor);
anchor.innerHTML='Email';
anchor.target='_top';
anchor.click();
if (suffis.trim() != '') {
setTimeout(andlater, 3000);
}
} else if (emis.trim() != '' && emis.trim().replace(/0/g,'').replace(/1/g,'').replace(/2/g,'').replace(/3/g,'').replace(/4/g,'').replace(/5/g,'').replace(/6/g,'').replace(/7/g,'').replace(/8/g,'').replace(/9/g,'') == '') {
anchor = document.createElement('a');
anchor.href = 'sms:' + nosq(emis.trim()) + '&body=' + encodeURIComponent(document.URL.split('?')[0].split('#')[0] + '?rand=' + theone + '.' + Math.floor(Math.random() * 19897865) + '#bodyih=' + encodeURIComponent(seveninps(document.getElementById('dfp').innerHTML)));
anchor.style.display='none';
anchor.innerHTML='SMS';
anchor.target='_top';
anchor.click();
if (suffis.trim() != '') {
setTimeout(andlater, 3000);
}
}
}
function lookatthreetosix() {
var starts=huhs[3].split(',');
var ends=huhs[4].split(',');
if (eval('' + ends.length) < eval('' + starts.length) && eval('' + ends.length) > 0 && ends[0] != '') {
while (eval('' + ends.length) < eval('' + starts.length)) {
huhs[4]+=',' + ends[eval(-1 + ends.length)];
ends=huhs[4].split(',');
}
}
ends=huhs[2].split(' , ');
if (eval('' + ends.length) < eval('' + starts.length) && eval('' + ends.length) > 0 && ends[0] != '') {
while (eval('' + ends.length) < eval('' + starts.length)) {
huhs[2]+=' , ' + ends[eval(-1 + ends.length)];
ends=huhs[2].split(' , ');
}
}
ends=huhs[5].split(' , ');
if (eval('' + ends.length) < eval('' + starts.length) && eval('' + ends.length) > 0 && ends[0] != '') {
while (eval('' + ends.length) < eval('' + starts.length)) {
huhs[5]+=' , ' + ends[eval(-1 + ends.length)];
ends=huhs[5].split(' , ');
}
}
}
function thenslapmaybe() {
var retval='', sevencnt=0, interimcnt=-1, intcnt=0, tas=[], jin=0;
var sepr='^%$', inpso=[];
huhs=[];
if (decodeURIComponent(('#' + location.hash)).indexOf('#bodyih=') != -1) {
if (decodeURIComponent(('#' + location.hash)).split('#bodyih=')[1].indexOf('<ta' + 'ble') != -1) {
//alert(decodeURIComponent(('#' + location.hash)).split('#bodyih=')[1]);
document.body.innerHTML=decodeURIComponent(('#' + location.hash)).split('#bodyih=')[1].split('#group=')[0];
//alert(decodeURIComponent(('#' + location.hash)).split('#bodyih=')[1].slice(-150));
} else {
huhs=decodeURIComponent(('#' + location.hash)).split('#bodyih=')[1].split('^%$');
if (anyhash != '') {
lookatthreetosix();
}
//alert('' + eval('' + huhs.length) + ' ' + decodeURIComponent(('#' + location.hash)).split('#bodyih=')[1].split('#group=')[0]);
if (eval('' + huhs.length) >= 7) {
//huhs=decodeURIComponent(('#' + location.hash)).split('#bodyih=')[1].split('#group=')[0].split('^%$');
inpso=document.getElementsByTagName('input');
tas=document.getElementsByTagName('textarea');
if (eval('' + tas.length) > 1) { interimcnt=2; } else if (anyhash != '') { overlayit(inpso[2]); }
for (jin=0; jin<7; jin++) {
if (interimcnt >= 0 && sevencnt < interimcnt) {
inpso[jin].value=huhs[jin];
//alert('seven=' + sevencnt);
sevencnt++;
} else if (eval(jin - interimcnt) == 4) {
//alert(huhs[jin]);
inpso[2].value=huhs[jin];
sevencnt++;
} else {
//alert('tai=' + eval(jin - interimcnt));
//tas[eval(jin - interimcnt)].innerHTML=huhs[jin];
tas[eval(jin - interimcnt)].innerHTML=huhs[jin];
sevencnt++;
}
if (jin == 0 && huhs[jin].trim() != '' && huhs[1].trim() == '') {
yidhelper=window.open('/HTMLCSS/karaoke_youtube_api.htm?youtubeid=++++++++++++' + encodeURIComponent(huhs[jin]) + '#srt=','_blank','top=50,left=' + eval(-600 + screen.width) + ',width=600,height=900');
}
//inpso[eval(1 + jin)].focus(); //inpso[jin].blur();
//alert(1);
}
sevencnt=0;
interimcnt=-1;
if (eval('' + tas.length) > 1) { interimcnt=2; }
inpso=document.getElementsByTagName('input');
tas=document.getElementsByTagName('textarea');
if (eval('' + tas.length) > 1) { interimcnt=2; }
for (jin=0; jin<7; jin++) {
if (interimcnt >= 0 && sevencnt < interimcnt) {
if (('' + inpso[jin].id).indexOf('fauxpas') == 0 && anyhash != '') {
if (eval('' + ('' + inpso[jin].id).split('fauxpas')[1].length) == 2) {
if (inpso[jin].value == '') {
if (('' + inpso[jin].placeholder).indexOf('<font') != 0) {
inpso[jin].placeholder='<font contenteditable="true" onblur="parent.obl(event);" onkeydown="parent.okd(event);" onclick="parent.onl(event);" color="black">' + inpso[jin].placeholder.replace(/\ \ \,\ \ /g, '</font> , <font contenteditable="true" onblur="parent.obl(event);" onkeydown="parent.okd(event);" onclick="parent.onl(event);" color="black">') + '</font>';
inpso[jin].setAttribute('data-placeholder', inpso[jin].placeholder);
}
} else if (huhs[jin].value.indexOf('<font') != 0) {
inpso[jin].value='<font contenteditable="true" onblur="parent.obl(event);" onkeydown="parent.okd(event);" onclick="parent.onl(event);" color="black">' + huhs[jin].value.replace(/\ \ \,\ \ /g, '</font> , <font contenteditable="true" onblur="parent.obl(event);" onkeydown="parent.okd(event);" onclick="parent.onl(event);" color="black">') + '</font>';
}
} else if (eval(jin - interimcnt) == 4 && anyhash != '') {
inpso[2].value=huhs[jin];
sevencnt++;
} else if (('' + inpso[jin].id).indexOf('reaJUNKlly') != -1 && anyhash != '') {
if (inpso[jin].value == '') {
if (('' + inpso[jin].placeholder).indexOf('<font') != 0) {
inpso[jin].placeholder='<font contenteditable="true" onblur="parent.obl(event);" onkeydown="parent.okd(event);" onclick="parent.onl(event);" color="black">' + inpso[jin].placeholder.replace(/\ \ \,\ \ /g, '</font> , <font contenteditable="true" onblur="parent.obl(event);" onkeydown="parent.okd(event);" onclick="parent.onl(event);" color="black">') + '</font>';
inpso[jin].setAttribute('data-placeholder', inpso[jin].placeholder);
}
} else if (inpso[jin].value.indexOf('<font') != 0) {
inpso[jin].value='<font contenteditable="true" onblur="parent.obl(event);" onkeydown="parent.okd(event);" onclick="parent.onl(event);" color="black">' + inpso[jin].value.replace(/\ \ \,\ \ /g, '</font> , <font contenteditable="true" onblur="parent.obl(event);" onkeydown="parent.okd(event);" onclick="parent.onl(event);" color="black">') + '</font>';
}
}
}
//inpso[jin].value=huhs[jin];
sevencnt++;
} else if (eval(jin - interimcnt) < 4) {
if (('' + tas[eval(jin - interimcnt)].id).indexOf('fauxpas') == 0 && anyhash != '') {
if (eval('' + ('' + tas[eval(jin - interimcnt)].id).split('fauxpas')[1].length) == 2) {
//alert(2);
if (tas[eval(jin - interimcnt)].value == '') {
if (('' + tas[eval(jin - interimcnt)].placeholder).indexOf('<font') != 0) {
tas[eval(jin - interimcnt)].placeholder='<font contenteditable="true" onblur="parent.obl(event);" onkeydown="parent.okd(event);" onclick="parent.onl(event);" color="black">' + tas[eval(jin - interimcnt)].placeholder.replace(/\ \ \,\ \ /g, '</font> , <font contenteditable="true" onblur="parent.obl(event);" onkeydown="parent.okd(event);" onclick="parent.onl(event);" color="black">') + '</font>';
tas[eval(jin - interimcnt)].setAttribute('data-placeholder', tas[eval(jin - interimcnt)].placeholder);
huhs[jin]='';
}
} else if (tas[eval(jin - interimcnt)].value.indexOf('<font') != 0) {
tas[eval(jin - interimcnt)].value='<font contenteditable="true" onblur="parent.obl(event);" onkeydown="parent.okd(event);" onclick="parent.onl(event);" color="black">' + tas[eval(jin - interimcnt)].value.replace(/\ \ \,\ \ /g, '</font> , <font contenteditable="true" onblur="parent.obl(event);" onkeydown="parent.okd(event);" onclick="parent.onl(event);" color="black">') + '</font>';
huhs[jin]='';
}
if (eval(jin - interimcnt) == 0) {
overlayit(tas[eval(jin - interimcnt)]);
}
} else if (('' + tas[eval(jin - interimcnt)].id).indexOf('reaJUNKlly') != -1 && anyhash != '') {
//alert(22);
if (tas[eval(jin - interimcnt)].value == '') {
if (('' + tas[eval(jin - interimcnt)].placeholder).indexOf('<font') != 0) {
tas[eval(jin - interimcnt)].placeholder='<font contenteditable="true" onblur="parent.obl(event);" onkeydown="parent.okd(event);" onclick="parent.onl(event);" color="black">' + tas[eval(jin - interimcnt)].placeholder.replace(/\ \ \,\ \ /g, '</font> , <font contenteditable="true" onclick="parent.onl(event);" color="black">') + '</font>';
huhs[jin]='';
}
} else if (tas[eval(jin - interimcnt)].innerHTML.indexOf('<font') != 0) {
tas[eval(jin - interimcnt)].innerHTML=huhs[jin]='<font contenteditable="true" onblur="parent.obl(event);" onkeydown="parent.okd(event);" onclick="parent.onl(event);" color="black">' + tas[eval(jin - interimcnt)].value.replace(/\ \ \,\ \ /g, '</font> , <font contenteditable="true" onclick="parent.onl(event);" color="black">') + '</font>';
}
}
}
//tas[eval(jin - interimcnt)].innerHTML=huhs[jin];
sevencnt++;
}
if (jin == 0 && huhs[jin].trim() != '' && huhs[1].trim() == '') {
yidhelper=window.open('/HTMLCSS/karaoke_youtube_api.htm?youtubeid=++++++++++++' + encodeURIComponent(huhs[jin]) + '#srt=','_blank','top=50,left=' + eval(-600 + screen.width) + ',width=600,height=900');
}
//inpso[eval(1 + jin)].focus(); //inpso[jin].blur();
//alert(1);
}
}
//document.getElementById('dfp').innerHTML=decodeURIComponent(('#' + location.hash)).split('#bodyih=')[1];
}
setTimeout(function(){
var dets=document.getElementsByTagName('details');
for (var idets=0; idets<dets.length; idets++) {
if (dets[idets].open) {
if (document.getElementById(dets[idets].id.replace('det','sum')).innerHTML.indexOf('Current video') != -1) {
theone=('' + dets[idets].id).replace('det','');
document.getElementById('tbtheone').value='' + theone;
mapsome();
}
}
}
if (theone != '01' || 2 == 2) {
if (yidhelper == null && document.getElementById('youtubeid' + theone).value == '' && document.getElementById('songname' + theone).value != '') {
yidhelper=window.open('/HTMLCSS/karaoke_youtube_api.htm?youtubeid=++++++++++++' + encodeURIComponent(document.getElementById('songname' + theone).value) + '#srt=','_blank','top=50,left=' + eval(-600 + screen.width) + ',width=600,height=900');
}
}
}, 2000);
}
}
function wasthenslapmaybe() {
var sepr='^%$', huhs=[], inpso=[];
if (decodeURIComponent(('#' + location.hash)).indexOf('#bodyih=') != -1) {
if (decodeURIComponent(('#' + location.hash)).split('#bodyih=')[1].indexOf('<ta' + 'ble') != -1) {
document.body.innerHTML=decodeURIComponent(('#' + location.hash)).split('#bodyih=')[1];
} else {
huhs=decodeURIComponent(('#' + location.hash)).split('#bodyih=')[1].split('^%$');
inpso=document.getElementsByTagName('input');
for (var jin=0; jin<7; jin++) {
inpso[jin].value=huhs[jin];
if (jin == 0 && huhs[jin].trim() != '' && huhs[1].trim() == '') {
yidhelper=window.open('/HTMLCSS/karaoke_youtube_api.htm?youtubeid=++++++++++++' + encodeURIComponent(huhs[jin]) + '#srt=','_blank','top=50,left=' + eval(-600 + screen.width) + ',width=600,height=900');
}
//inpso[eval(1 + jin)].focus(); //inpso[jin].blur();
//alert(1);
}
//document.getElementById('dfp').innerHTML=decodeURIComponent(('#' + location.hash)).split('#bodyih=')[1];
}
setTimeout(function(){
var dets=document.getElementsByTagName('details');
for (var idets=0; idets<dets.length; idets++) {
if (dets[idets].open) {
if (document.getElementById(dets[idets].id.replace('det','sum')).innerHTML.indexOf('Current song') != -1) {
theone=('' + dets[idets].id).replace('det','');
document.getElementById('tbtheone').value='' + theone;
mapsome();
}
}
}
if (theone != '01' || 2 == 2) {
if (yidhelper == null && document.getElementById('youtubeid' + theone).value == '' && document.getElementById('songname' + theone).value != '') {
yidhelper=window.open('/HTMLCSS/karaoke_youtube_api.htm?youtubeid=++++++++++++' + encodeURIComponent(document.getElementById('songname' + theone).value) + '#srt=','_blank','top=50,left=' + eval(-600 + screen.width) + ',width=600,height=900');
}
}
}, 2000);
}
}
function seveninps(inihnotused) {
var retval='', sevencnt=0, interimcnt=-1, intcnt=0;
var tas=document.getElementsByTagName('textarea');
if (eval('' + tas.length) > 1) { interimcnt=2; }
var inpso=document.getElementsByTagName('input');
for (var jin=0; jin<inpso.length; jin++) {
if ((' ' + inpso[jin].id).slice(-2) == theone) {
if (sevencnt == 0) {
retval+='' + inpso[jin].value;
sevencnt++;
} else if (sevencnt < 7) {
retval+='^%$' + inpso[jin].value;
sevencnt++;
}
}
if (interimcnt == sevencnt) {
interimcnt=-4;
for (var kin=0; kin<tas.length; kin++) {
if ((' ' + inpso[jin].id).slice(-2) == theone && intcnt < Math.abs(interimcnt)) {
if (sevencnt == 0) {
retval+='' + tas[kin].value;
sevencnt++;
intcnt++;
} else if (sevencnt < 7) {
retval+='^%$' + tas[kin].value;
sevencnt++;
intcnt++;
}
}
}
}
}
return retval + anyhash;
}
function mobissue() {
//alert(0);
if (decodeURIComponent(document.URL).indexOf('#') != -1 && eval('' + decodeURIComponent(document.URL).split('#').length) > 1) {
//alert(decodeURIComponent(document.URL).split('#')[eval(-1 + decodeURIComponent(document.URL).split('#').length)]);
var emis=decodeURIComponent(decodeURIComponent(document.URL).split('#')[eval(-1 + decodeURIComponent(document.URL).split('#').length)]).replace(/^group\=/g,'');
//alert(emis);
if (emis.indexOf('[') > 0 && emis.indexOf(']') > emis.indexOf('[')) { // && emis.indexOf('#') > emis.indexOf(']')) {
//alert(134);
anyhash='#group=' + encodeURIComponent(emis.split('#')[eval(-1 + emis.split('#').length)] + ',' + emis.replace(/\ /g,'%20').split('#')[0]);
//alert(anyhash);
prefixer='<font onclick="parent.onl(event);" color="blue">';
suffixer='</font>';
}
}
if (anyhash != '') { // am a collaborator
//alert(anyhash);
setTimeout(function(){
document.getElementById('dcol').innerHTML='<button id=bdcol style=display:inline-block; onclick=docollaborate(true); title=" ... via edits of caption content via orange area subtitles presented as you Play video or via textarea changes of HTML and optionally back to collaboration group ' + decodeURIComponent(anyhash.replace(/\#group\=/g,'')).replace('#',',') + '">Feedback</button>';
}, 6000);
} else {
setTimeout(function(){
document.getElementById('dcol').innerHTML='<button id=bdcol style=display:inline-block; onclick=docollaborate(false); title="Invite a group to collaborate including a ' + "'From'" + ' contact # hash separated from a comma separated collaboration group list in format Name[contactAllEmailsOrAllSMS]#Originator[contactAsPerListType]">Collaborate</button>';
}, 6000);
}
if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) {
document.getElementById('dfp').innerHTML=document.getElementById('dfp').innerHTML.replace(/\<\/textarea\>/g, '</input>').replace(/\<textarea\ rows\=\"1\"\ data\-type\=/g, '<input type=');
}
var sih=document.getElementById('sisterhood').innerHTML.split(document.getElementById('sisterhood').innerHTML.split('</option>')[0] + '</option>')[1];
document.getElementById('sisterhood').innerHTML+=sih.replace(/option\ value/g, 'option title="Down below" value').replace(/\<\/option\>/g, ' (down below)</option>').replace(/\.html/g, '.html#below');
document.getElementById('sisterhood').innerHTML+=sih.replace(/option\ value/g, 'option title="Popup window" value').replace(/\<\/option\>/g, ' (popup window)</option>').replace(/\.html/g, '.html#popup');
}
function uaprefix() { // thanks to https://tutorial.techaltum.com/javascript-navigator.html
if (navigator.userAgent.search("Edge") != -1) {
return '00';
} else if (navigator.userAgent.search("Chrome") != -1) {
return '000';
} else if (navigator.userAgent.search("Firefox") != -1) {
return '0000';
} else if (navigator.userAgent.search("Safari") != -1) {
return '00000';
} else if (/MSIE|Trident|Edge\//.test(navigator.userAgent)) {
return '000000';
} else {
return '0000000';
}
}
function checkip(iniois) {
var iois=document.getElementById('srcif');
if (('' + iois.src).indexOf('signature_signature.php') != -1) {
var aconto = (iois.contentWindow || iois.contentDocument);
if (aconto != null) {
//alert('111 ');
if (aconto.document) { aconto = aconto.document; }
//alert('1111 ' + aconto.body.innerHTML);
if (aconto.body.innerHTML.indexOf('<p>') == 0) {
ipbit=uaprefix() + aconto.body.innerHTML.split('<p>')[1].split('<')[0];
document.getElementById('doverlay').innerHTML='' + ipbit;
setTimeout(function(){
if (prefixer.indexOf('blue') != -1 || 12 == 12) {
var ibps=document.getElementById('doverlay').innerHTML.replace(/\_\_/g,'_').split('_');
var numzeros=eval(eval('' + ibps[0].length) - eval('' + ibps[0].replace(/^0/g,'').replace(/^0/g,'').replace(/^0/g,'').replace(/^0/g,'').replace(/^0/g,'').replace(/^0/g,'').replace(/^0/g,'').replace(/^0/g,'').replace(/^0/g,'').replace(/^0/g,'').replace(/^0/g,'').replace(/^0/g,'').replace(/^0/g,'').replace(/^0/g,'').replace(/^0/g,'').length));
if (numzeros > 0) {
numzeros*=3;
}
prefixer=prefixer.replace('blue','rgb(' + eval(numzeros + eval(eval('' + ibps[0]) % 100)) + ',' + eval(eval(numzeros + eval((eval('' + ibps[Math.max(0,eval(-3 + ibps.length))]) + eval('' + ibps[Math.max(0,eval(-2 + ibps.length))]) % 100))) % 100) + ',' + eval(numzeros + eval(eval('' + ibps[eval(-1 + ibps.length)]) % 100)) + ')');
document.getElementById('doverlay').title='' + 'rgb(' + eval(numzeros + eval(eval('' + ibps[0]) % 100)) + ',' + eval(eval(numzeros + eval((eval('' + ibps[Math.max(0,eval(-3 + ibps.length))]) + eval('' + ibps[Math.max(0,eval(-2 + ibps.length))]) % 100))) % 100) + ',' + eval(numzeros + eval(eval('' + ibps[eval(-1 + ibps.length)]) % 100)) + ')';
}
}, 4000);
//setTimeout(cipb, 2000);
}
}
}
}
function ournocaret(inht) {
var outht=inht;
var outins=inht.split('<'), iouts=0;
if (inht.indexOf('>') != -1 && inht.indexOf('<') != -1) {
outht=outins[0];
for (iouts=1; iouts<outins.length; iouts++) {
outht+=outins[iouts].split('>')[eval(-1 + outins[iouts].split('>').length)];
}
}
return outht;
}
function onl(evt) { //evt) {
gevt=evt;
//if (kbd[0] != '') { alert('onl'); }
//kbd=[''];
//beforek='';
//beforekih='';
//canbeequal=false;
//ikbd=0;
if (kbd[ikbd] != '') {
kbd.push('');
ikbd=eval(-1 + kbd.length);
//alert('new word');
} else if (!awaitblur) {
//alert(evt.target.outerHTML);
kbd=[''];
ikbd=0;
canbeequal=false;
beforek='';
beforekih='';
//alert(evt.target.outerHTML);
if (evt.target.outerHTML.indexOf('<font') == 0 && evt.target.outerHTML.indexOf(' contenteditable=') == -1) {
gpdef=evt.target.outerHTML; //prefixer + evt.target.innerHTML + suffixer;
gpdf=ournocaret(gpdef);
nost=true;
youralert(); //yonl();
} else {
setTimeout(yonl, 4000);
}
//} else {
// alert('oops');
}
}
function yonl() { //evt) {
ikbd=0;
gpdef=gevt.target.outerHTML;
gpdf=ournocaret(gpdef);
//alert('here at onl with ' + evt.target.outerHTML);
}
function ouralert(inst, thist, thisih, thiscs) {
if (kbd[0] == '') {
//if (kbd[0] != '') { alert('ouralert'); }
kbd=[''];
ikbd=0;
canbeequal=false;
beforek='';
beforekih='';
ginst=inst;
gthist=inst;
gthisih=thisih;
gthiscs=thiscs;
if (!nost) { setTimeout(youralert, 5000); }
nost=false;
}
}
function youralert() { //inst, thist, thisih, thiscs) {
if (awaitblur) {
setTimeout(youralert, 1000);
return '';
}
setTimeout(function(){ nost=false; }, 1500);
inst=ginst;
thist=ginst;
thisih=gthisih;
thiscs=gthiscs;
// lastnost
//alert('here and thisih=' + thisih);
ikbd=0;
var iwhat=1, fptimethingos=[], ihfptimethingos=[], fptimethingoends=[], cbefore='0.000', cafter='', kfind=-1, ifg=0, sofarone='', sofartwo='';
var fitsinbetween='';
var threemodes='Regarding a , delimitation (2 spaces comma 2 spaces) can ... ' + String.fromCharCode(10) + ' 1) amend matching blurb (can # delimit) with one changed string ';
threemodes+=String.fromCharCode(10) + ' 2) accept one numerical as end seconds (accepting start one above) , changed (or not) string ';
threemodes+=String.fromCharCode(10) + ' 3) accept two numerical as start seconds , end one , changed (or not) string ';
if (('' + thiscs) == 'null' || ('' + thiscs) == 'undefined') { thiscs='' + document.getElementById('curct').innerHTML; }
var pdfcomplex=('' + ('' + thisih).replace(/\ \;/g, ' ')).replace(/^undefined/g, '').trim();
ihfptimethingos=pdfcomplex.split(' , ');
pdef=ournocaret(pdfcomplex); //('' + ('' + thist).replace(/\ \;/g, ' ')).replace(/^undefined/g, '').trim();
if (kbd[0] != '') {
//alert('kbd[0]=' + kbd[0]);
//alert(eval('' + pdfcomplex.split(kbd[0]).length));
if (eval('' + pdfcomplex.split(kbd[0]).length) == 2) {
gpdf=kbd[0];
}
}
if (gpdf != '') {
if (pdef != gpdf) {
threemodes+=String.fromCharCode(10) + ' 4) type 4 for longer replacement string attempt ';
}
pdef=gpdf;
gpdf='';
}
fptimethingos=document.getElementById('fauxpas' + theone).value.split(' , ');
var timethingos=document.getElementById('fauxpasstartsecs' + theone).value.split(',');
while (eval('' + timethingos.length) < eval('' + fptimethingos.length)) {
if (eval('' + timethingos.length) == 1 && timethingos[0] == '') {
timethingos[0]='0.000';
}
document.getElementById('fauxpasstartsecs' + theone).value+=',' + timethingos[eval(-1 + timethingos.length)];
timethingos.push(timethingos[eval(-1 + timethingos.length)]);
}
var timethingoends=document.getElementById('fauxpasendsecs' + theone).value.split(',');
while (eval('' + timethingoends.length) < eval('' + timethingos.length)) {
if (eval('' + timethingoends.length) == 1 && timethingoends[0] == '') {
timethingoends[0]='0.000';
}
document.getElementById('fauxpasendsecs' + theone).value+=',' + timethingoends[eval(-1 + timethingoends.length)];
timethingoends.push(timethingoends[eval(-1 + timethingoends.length)]);
}
if (timethingos[0].trim() == '') { // none
} else if (eval('' + timethingos.length) == 1 && eval('' + thiscs) >= eval('' + timethingos[0])) {
fitsinbetween='You have, potentially, the last caption here ';
cafter='22111.0';
if (('' + timethingoends[0]).trim() != '') { cbefore='' + timethingoends[eval(-1 + timethingoends.length)]; }
} else if (eval('' + timethingos.length) >= 1 && eval('' + thiscs) < eval('' + timethingos[0])) {
fitsinbetween='You have, potentially, the first caption here so squeeze any 2) type entry in before ' + timethingos[0] + ' or apply 3) technique below ';
if (('' + timethingoends[0]).trim() != '') { cafter='' + timethingoends[0]; }
if (('' + timethingos[0]).trim() != '') { cbefore='' + timethingos[0]; }
} else {
//while (iwhat < eval('' + timethingos.length)) {
while (iwhat < eval('' + timethingos.length) && (eval('' + thiscs) < eval('' + timethingos[eval(-1 + iwhat)]) || eval('' + thiscs) > eval('' + timethingos[eval(0 + iwhat)]))) {
//alert('' + thiscs + ' is not in between ' + eval('' + timethingos[eval(-1 + iwhat)]) + ' and ' + eval('' + timethingos[eval(0 + iwhat)]))
iwhat++;
}
//}
if (iwhat < eval('' + timethingos.length)) {
cafter='' + timethingos[iwhat];
fitsinbetween='You have, potentially, new caption number ' + eval(1 + eval('' + iwhat)) + ' here so squeeze any entry in before ' + timethingos[iwhat] + ' or apply 3) technique below ';
} else {
fitsinbetween='You have, potentially, the last caption here ';
cafter='22111.0';
if (('' + timethingoends[0]).trim() != '') { cbefore='' + timethingoends[eval(-1 + timethingoends.length)]; }
}
}
document.getElementById('fauxpas' + theone).style.visibility='visible';
document.getElementById('fauxpasreally' + theone).style.visibility='visible';
pans=prompt('At ' + eval('' + thiscs).toFixed(3) + ' ... ' + fitsinbetween + String.fromCharCode(10) + threemodes + String.fromCharCode(10) + pdef, pdef);
if (pans == null) {
pans='';
return pans;
} else if (pans == '4') {
pans=ouralert(inst, thist, thisih, thiscs);
return pans;
} else if (pans == pdef) {
pans=pans;
if (!canbeequal || 1 == 1) {
ikbd=0;
canbeequal=false;
beforek='';
beforekih='';
kbd=[''];
awaitblur=false;
if (8 == 4) { document.getElementsByTagName('h3')[0].innerHTML+='F'; }
return pans;
}
}
var thingos=pans.split(' , ');
if (eval('' + thingos.length) == 1) {
fptimethingos=document.getElementById('fauxpas' + theone).value.split(' , ');
//alert(fptimethingos.length + ' vs ' + timethingos.length);
while (eval('' + fptimethingos.length) < eval('' + timethingos.length)) {
document.getElementById('fauxpas' + theone).value+=' , ' + prefixer + fptimethingos[eval(-1 + fptimethingos.length)] + suffixer;
fptimethingos.push(fptimethingos[eval(-1 + fptimethingos.length)]);
}
fptimethingoends=document.getElementById('fauxpasreally' + theone).value.split(' , ');
while (eval('' + fptimethingoends.length) < eval('' + timethingos.length)) {
document.getElementById('fauxpasreally' + theone).value+=' , ' + fptimethingoends[eval(-1 + fptimethingoends.length)];
fptimethingoends.push(fptimethingoends[eval(-1 + fptimethingoends.length)]);
}
if (thingos[0].split('#')[0].trim() == '') {
if (pdef.trim() != '') {
document.getElementById('fauxpas' + theone).style.visibility='visible';
document.getElementById('fauxpasreally' + theone).style.visibility='visible';
//alert(pdfcomplex + ' ... pdef=' + pdef + ' .+. ' + document.getElementById('fauxpas' + theone).value);
if (document.getElementById('fauxpas' + theone).value.indexOf('' + pdfcomplex) != -1 && pdfcomplex.indexOf(pdef) != -1) {
//if (kbd[0] != '') {
// alert('The issue ... ' + kbd[0]);
//}
document.getElementById('fauxpas' + theone).value=document.getElementById('fauxpas' + theone).value.replace('' + pdfcomplex, '' + pdfcomplex.replace(pdef,prefixer + thingos[0].split('#')[0]) + suffixer);
} else if (document.getElementById('fauxpas' + theone).value.indexOf('>' + pdef) != -1) {
document.getElementById('fauxpas' + theone).value=document.getElementById('fauxpas' + theone).value.replace('>' + pdef, '>' + thingos[0].split('#')[0]);
} else if (document.getElementById('fauxpas' + theone).value.indexOf('>' + pdef) != -1) {
document.getElementById('fauxpas' + theone).value=document.getElementById('fauxpas' + theone).value.replace('>' + pdef, '>' + prefixer + thingos[0].split('#')[0] + suffixer);
} else if (document.getElementById('fauxpas' + theone).value.indexOf('' + pdef) != -1) {
document.getElementById('fauxpas' + theone).value=document.getElementById('fauxpas' + theone).value.replace('' + pdef, '' + prefixer + thingos[0].split('#')[0] + suffixer);
} else if (document.getElementById('fauxpas' + theone).value.indexOf('' + pdfcomplex) != -1 && document.getElementById('fauxpas' + theone).value.indexOf('' + pdef) == -1) {
document.getElementById('fauxpas' + theone).value=document.getElementById('fauxpas' + theone).value.replace(pdfcomplex, prefixer + thingos[0].split('#')[0] + suffixer);
} else if (document.getElementById('fauxpas' + theone).value.indexOf('' + pdef) != -1) {
document.getElementById('fauxpas' + theone).value=document.getElementById('fauxpas' + theone).value.replace(pdef, prefixer + thingos[0].split('#')[0] + suffixer);
} else {
if (ihfptimethingos.indexOf(pdfcomplex) != -1) {
document.getElementById('fauxpas' + theone).value=document.getElementById('fauxpas' + theone).value.replace(ihfptimethingos[ihfptimethingos.indexOf(pdef)], prefixer + thingos[0].split('#')[0] + suffixer);
} else if (fptimethingos.indexOf(pdef) != -1) {
document.getElementById('fauxpas' + theone).value=document.getElementById('fauxpas' + theone).value.replace(fptimethingos[fptimethingos.indexOf(pdef)], prefixer + thingos[0].split('#')[0] + suffixer);
} else if (document.getElementById('fauxpas' + theone).value.indexOf(' , ') == -1) {
document.getElementById('fauxpas' + theone).value=prefixer + thingos[0].split('#')[0] + suffixer;
}
}
kfind=-1;
for (ifg=0; ifg<fptimethingos.length; ifg++) {
if (fptimethingos[ifg].trim() == pdef) {
kfind=ifg;
}
}
if (thingos[0].indexOf('#') != -1 && kfind >= 0 && eval('' + fptimethingoends.length) > kfind) {
document.getElementById('fauxpasreally' + theone).value=document.getElementById('fauxpasreally' + theone).value.replace(fptimethingoends[kfind], thingos[0].split('#')[1]);
}
}
} else {
document.getElementById('fauxpas' + theone).style.visibility='visible';
document.getElementById('fauxpasreally' + theone).style.visibility='visible';
kfind=-1;
for (ifg=0; ifg<fptimethingos.length; ifg++) {
if (fptimethingos[ifg].trim() == pdef) {
kfind=ifg;
}
}
//alert(pdfcomplex + ' ... Pdef=' + pdef + ' .+. ' + document.getElementById('fauxpas' + theone).value);
if (document.getElementById('fauxpas' + theone).value.indexOf('' + pdfcomplex) != -1 && pdfcomplex.indexOf(pdef) != -1) {
//alert(1);
if (kbd[0] != '') {
alert('the issue ... ' + kbd[0]);
}
document.getElementById('fauxpas' + theone).value=document.getElementById('fauxpas' + theone).value.replace('' + pdfcomplex, '' + pdfcomplex.replace(pdef,prefixer + thingos[0].split('#')[0]) + suffixer);
} else if (document.getElementById('fauxpas' + theone).value.indexOf('>' + pdef) != -1) {
//alert(2);
document.getElementById('fauxpas' + theone).value=document.getElementById('fauxpas' + theone).value.replace('>' + pdef, '>' + thingos[0].split('#')[0]);
} else if (document.getElementById('fauxpas' + theone).value.indexOf('>' + pdef) != -1) {
//alert(3); // lobbed here
document.getElementById('fauxpas' + theone).value=document.getElementById('fauxpas' + theone).value.replace('>' + pdef, '>' + prefixer + thingos[0].split('#')[0] + suffixer);
} else if (document.getElementById('fauxpas' + theone).value.indexOf('' + pdef) != -1) {
//alert(4);
document.getElementById('fauxpas' + theone).value=document.getElementById('fauxpas' + theone).value.replace('' + pdef, '' + prefixer + thingos[0].split('#')[0] + suffixer);
} else if (document.getElementById('fauxpas' + theone).value.indexOf('' + pdfcomplex) != -1 && document.getElementById('fauxpas' + theone).value.indexOf('' + pdef) == -1) {
//alert(5);
document.getElementById('fauxpas' + theone).value=document.getElementById('fauxpas' + theone).value.replace(pdfcomplex, prefixer + thingos[0].split('#')[0] + suffixer);
} else if (document.getElementById('fauxpas' + theone).value.indexOf('' + pdef) != -1) {
//alert(6);
document.getElementById('fauxpas' + theone).value=document.getElementById('fauxpas' + theone).value.replace(pdef, prefixer + thingos[0].split('#')[0] + suffixer);
} else {
if (ihfptimethingos.indexOf(pdfcomplex) != -1) {
//alert(7);
if (kbd[0] != '') {
document.getElementById('fauxpas' + theone).value=document.getElementById('fauxpas' + theone).value.replace(kbd[0], prefixer + thingos[0].split('#')[0] + suffixer);
//alert('thE issue ... ' + kbd[0] + ' ... ');
} else {
document.getElementById('fauxpas' + theone).value=document.getElementById('fauxpas' + theone).value.replace(ihfptimethingos[ihfptimethingos.indexOf(pdef)], prefixer + thingos[0].split('#')[0] + suffixer);
}
} else if (fptimethingos.indexOf(pdef) != -1) {
//alert(8);
document.getElementById('fauxpas' + theone).value=document.getElementById('fauxpas' + theone).value.replace(fptimethingos[fptimethingos.indexOf(pdef)], prefixer + thingos[0].split('#')[0] + suffixer);
} else if (document.getElementById('fauxpas' + theone).value.indexOf(' , ') == -1) {
//alert(9);
document.getElementById('fauxpas' + theone).value=prefixer + thingos[0].split('#')[0] + suffixer;
}
}
if (thingos[0].indexOf('#') != -1 && kfind >= 0 && eval('' + fptimethingoends.length) > kfind) {
document.getElementById('fauxpasreally' + theone).value=document.getElementById('fauxpasreally' + theone).value.replace(fptimethingoends[kfind], thingos[0].split('#')[1]);
} else if (kfind >= 0 && eval('' + fptimethingoends.length) > kfind && 6 == 7) {
document.getElementById('fauxpasreally' + theone).value=document.getElementById('fauxpasreally' + theone).value.replace(fptimethingoends[kfind], '');
}
}
} else if (eval('' + thingos.length) == 2) {
fptimethingos=document.getElementById('fauxpas' + theone).value.split(' , ');
//alert(fptimethingos.length + ' vs ' + timethingos.length);
while (eval('' + fptimethingos.length) < eval('' + timethingos.length)) {
document.getElementById('fauxpas' + theone).value+=' , ' + prefixer + fptimethingos[eval(-1 + fptimethingos.length)] + suffixer;
fptimethingos.push(fptimethingos[eval(-1 + fptimethingos.length)]);
}
fptimethingoends=document.getElementById('fauxpasreally' + theone).value.split(' , ');
while (eval('' + fptimethingoends.length) < eval('' + timethingos.length)) {
document.getElementById('fauxpasreally' + theone).value+=' , ' + fptimethingoends[eval(-1 + fptimethingoends.length)];
fptimethingoends.push(fptimethingoends[eval(-1 + fptimethingoends.length)]);
}
if (thingos[0].trim() == '' && cafter != '') {
thingos[0]=cafter;
}
if (thingos[0].trim() != '') {
document.getElementById('fauxpas' + theone).style.visibility='visible';
document.getElementById('fauxpasreally' + theone).style.visibility='visible';
if (eval('' + thiscs) < eval('' + timethingos[0])) {
document.getElementById('fauxpasstartsecs' + theone).value=thiscs + ',' + document.getElementById('fauxpasstartsecs' + theone).value;
document.getElementById('fauxpasendsecs' + theone).value=thingos[0] + ',' + document.getElementById('fauxpasendsecs' + theone).value;
document.getElementById('fauxpas' + theone).value=thingos[1].split('#')[0] + ' , ' + document.getElementById('fauxpas' + theone).value;
if (thingos[1].indexOf('#') != -1) {
document.getElementById('fauxpasreally' + theone).value=thingos[1].split('#')[1] + ' , ' + document.getElementById('fauxpasreally' + theone).value;
} else {
document.getElementById('fauxpasreally' + theone).value=' , ' + document.getElementById('fauxpasreally' + theone).value;
}
} else if (eval('' + thiscs) > eval('' + timethingos[eval(-1 + timethingos.length)])) {
document.getElementById('fauxpasstartsecs' + theone).value+=',' + thiscs;
document.getElementById('fauxpasendsecs' + theone).value+=',' + thingos[0];
document.getElementById('fauxpas' + theone).value+=' , ' + prefixer + thingos[1].split('#')[0] + suffixer;
if (thingos[1].indexOf('#') != -1) {
document.getElementById('fauxpasreally' + theone).value+=' , ' + thingos[1].split('#')[1];
} else {
document.getElementById('fauxpasreally' + theone).value+=' , ';
}
} else {
iwhat=1;
sofarone='';
sofartwo='';
while (iwhat < eval('' + timethingos.length) && (eval('' + thiscs) < eval('' + timethingos[eval(-1 + iwhat)]) || eval('' + thiscs) > eval('' + timethingos[eval(0 + iwhat)]))) {
if (iwhat == 1) {
sofarone=fptimethingos[eval(-1 + iwhat)];
sofartwo=fptimethingoends[eval(-1 + iwhat)];
} else {
sofarone+=' , ' + fptimethingos[eval(-1 + iwhat)];
sofartwo+=' , ' + fptimethingoends[eval(-1 + iwhat)];
}
iwhat++;
}
if (iwhat < eval('' + timethingos.length)) {
//fitsinbetween='You have, potentially, new caption number ' + eval(1 + eval('' + iwhat)) + ' here so squeeze any entry in before ' + timethingos[iwhat] + ' or apply 3) technique below ';
document.getElementById('fauxpasstartsecs' + theone).value=document.getElementById('fauxpasstartsecs' + theone).value.replace(('' + timethingos[eval(0 + iwhat)]), thiscs + (',' + timethingos[eval(0 + iwhat)]));
document.getElementById('fauxpasendsecs' + theone).value=document.getElementById('fauxpasstartsecs' + theone).value.replace(('' + timethingoends[eval(0 + iwhat)]), thingos[0] + (',' + timethingoends[eval(0 + iwhat)]));
document.getElementById('fauxpas' + theone).value=document.getElementById('fauxpas' + theone).value.replace(sofarone, sofarone + ' , ' + prefixer + thingos[1].split('#')[0] + suffixer);
if (thingos[1].indexOf('#') != -1) {
document.getElementById('fauxpasreally' + theone).value=document.getElementById('fauxpasreally' + theone).value.replace(sofartwo, sofartwo + ' , ' + prefixer + things[1].split('#')[1] + suffixer);
} else {
document.getElementById('fauxpasreally' + theone).value=document.getElementById('fauxpasreally' + theone).value.replace(sofartwo, sofartwo + ' , ');
}
} else {
//fitsinbetween='You have, potentially, the last caption here ';
document.getElementById('fauxpasstartsecs' + theone).value+=',' + thiscs;
document.getElementById('fauxpasendsecs' + theone).value+=',' + thingos[0];
document.getElementById('fauxpas' + theone).value+=' , ' + prefixer + thingos[1].split('#')[0] + suffixer;
if (thingos[1].indexOf('#') != -1) {
document.getElementById('fauxpasreally' + theone).value+=' , ' + thingos[1].split('#')[1];
} else {
document.getElementById('fauxpasreally' + theone).value+=' , ';
}
}
}
} else if (thingos[1].split('#')[0] != pdef) {
document.getElementById('fauxpas' + theone).style.visibility='visible';
document.getElementById('fauxpasreally' + theone).style.visibility='visible';
document.getElementById('fauxpas' + theone).value=document.getElementById('fauxpas' + theone).value.replace(pdef, prefixer + thingos[1].split('#')[0] + suffixer);
kfind=-1;
for (ifg=0; ifg<fptimethingos.length; ifg++) {
if (fptimethingos[ifg].trim() == pdef) {
kfind=ifg;
}
}
if (thingos[1].indexOf('#') != -1 && kfind >= 0 && eval('' + fptimethingoends.length) > kfind) {
document.getElementById('fauxpasreally' + theone).value=document.getElementById('fauxpasreally' + theone).value.replace(fptimethingoends[kfind], thingos[1].split('#')[1]);
}
}
} else if (eval('' + thingos.length) > 2) {
fptimethingos=document.getElementById('fauxpas' + theone).value.split(' , ');
//alert(fptimethingos.length + ' vs ' + timethingos.length);
while (eval('' + fptimethingos.length) < eval('' + timethingos.length)) {
document.getElementById('fauxpas' + theone).value+=' , ' + prefixer + fptimethingos[eval(-1 + fptimethingos.length)] + suffixer;
fptimethingos.push(fptimethingos[eval(-1 + fptimethingos.length)]);
}
fptimethingoends=document.getElementById('fauxpasreally' + theone).value.split(' , ');
while (eval('' + fptimethingoends.length) < eval('' + timethingos.length)) {
document.getElementById('fauxpasreally' + theone).value+=' , ' + fptimethingoends[eval(-1 + fptimethingoends.length)];
fptimethingoends.push(fptimethingoends[eval(-1 + fptimethingoends.length)]);
}
if (thingos[1].trim() == '' && cafter != '') {
thingos[1]=cafter;
}
if (thingos[0].trim() == '' && cbefore != '') {
thingos[0]=cbefore;
}
if (thingos[0].trim() != '' && thingos[1].trim() != '') {
if (eval('' + thingos[0]) < eval('' + timethingos[0])) {
document.getElementById('fauxpasstartsecs' + theone).value=thingos[0] + ',' + document.getElementById('fauxpasstartsecs' + theone).value;
document.getElementById('fauxpasendsecs' + theone).value=thingos[1] + ',' + document.getElementById('fauxpasendsecs' + theone).value;
document.getElementById('fauxpas' + theone).value=prefixer + thingos[2].split('#')[0] + suffixer + ' , ' + document.getElementById('fauxpas' + theone).value;
if (thingos[2].indexOf('#') != -1) {
document.getElementById('fauxpasreally' + theone).value=thingos[2].split('#')[1] + ' , ' + document.getElementById('fauxpasreally' + theone).value;
} else {
document.getElementById('fauxpasreally' + theone).value=' , ' + document.getElementById('fauxpasreally' + theone).value;
}
} else if (eval('' + thingos[0]) > eval('' + timethingos[eval(-1 + timethingos.length)])) {
document.getElementById('fauxpasstartsecs' + theone).value+=',' + thingos[0];
document.getElementById('fauxpasendsecs' + theone).value+=',' + thingos[1];
document.getElementById('fauxpas' + theone).value+=' , ' + prefixer + thingos[2].split('#')[0] + suffixer;
if (thingos[2].indexOf('#') != -1) {
document.getElementById('fauxpasreally' + theone).value+=' , ' + prefixer + thingos[2].split('#')[1] + suffixer;
} else {
document.getElementById('fauxpasreally' + theone).value+=' , ';
}
} else {
iwhat=1;
sofarone='';
sofartwo='';
while (iwhat < eval('' + timethingos.length) && (eval('' + thingos[0]) < eval('' + timethingos[eval(-1 + iwhat)]) || eval('' + thingos[0]) > eval('' + timethingos[eval(0 + iwhat)]))) {
if (iwhat == 1) {
sofarone=fptimethingos[eval(-1 + iwhat)];
sofartwo=fptimethingoends[eval(-1 + iwhat)];
} else {
sofarone+=' , ' + fptimethingos[eval(-1 + iwhat)];
sofartwo+=' , ' + fptimethingoends[eval(-1 + iwhat)];
}
iwhat++;
}
if (iwhat < eval('' + timethingos.length)) {
//fitsinbetween='You have, potentially, new caption number ' + eval(1 + eval('' + iwhat)) + ' here so squeeze any entry in before ' + timethingos[iwhat] + ' or apply 3) technique below ';
document.getElementById('fauxpasstartsecs' + theone).value=document.getElementById('fauxpasstartsecs' + theone).value.replace(('' + timethingos[eval(0 + iwhat)]), thingos[0] + (',' + timethingos[eval(0 + iwhat)]));
document.getElementById('fauxpasendsecs' + theone).value=document.getElementById('fauxpasstartsecs' + theone).value.replace(('' + timethingoends[eval(0 + iwhat)]), thingos[1] + (',' + timethingoends[eval(0 + iwhat)]));
document.getElementById('fauxpas' + theone).value=document.getElementById('fauxpas' + theone).value.replace(sofarone, sofarone + ' , ' + prefixer + thingos[2].split('#')[0] + suffixer);
if (thingos[2].indexOf('#') != -1) {
document.getElementById('fauxpasreally' + theone).value=document.getElementById('fauxpasreally' + theone).value.replace(sofartwo, sofartwo + ' , ' + thingos[2].split('#')[1]);
} else {
document.getElementById('fauxpasreally' + theone).value=document.getElementById('fauxpasreally' + theone).value.replace(sofartwo, sofartwo + ' , ');
}
} else {
//fitsinbetween='You have, potentially, the last caption here ';
document.getElementById('fauxpasstartsecs' + theone).value+=',' + thingos[0];
document.getElementById('fauxpasendsecs' + theone).value+=',' + thingos[1];
document.getElementById('fauxpas' + theone).value+=' , ' + prefixer + thingos[2].split('#')[0] + suffixer;
if (thingos[2].indexOf('#') != -1) {
document.getElementById('fauxpasreally' + theone).value+=' , ' + thingos[2].split('#')[1];
} else {
document.getElementById('fauxpasreally' + theone).value+=' , ';
}
}
}
document.getElementById('fauxpas' + theone).style.visibility='visible';
document.getElementById('fauxpasreally' + theone).style.visibility='visible';
} else if (thingos[2].split('#')[0] != pdef) {
document.getElementById('fauxpas' + theone).style.visibility='visible';
document.getElementById('fauxpasreally' + theone).style.visibility='visible';
}
}
ikbd=0;
canbeequal=false;
beforek='';
beforekih='';
kbd=[''];
awaitblur=false;
if (3 == 5) { document.getElementsByTagName('h3')[0].innerHTML+='a'; }
return pans;
}
function curctyetmore() {
if (ctis != '') {
setTimeout(curctyetmore, 300);
endTime = new Date();
var timeDiff = endTime - startTime; //in ms
startTime=endTime;
// strip the ms
timeDiff /= 1000;
ctsecs+=timeDiff;
document.getElementById('curct').innerHTML='' + ctsecs;
if (document.getElementById('curct').title == '') {
ctis='';
}
} else {
setTimeout(curctmore, 300);
}
}
function curctmore() {
ctis=document.getElementById('curct').title;
if (ctis != '') { ctsecs=eval('' + document.getElementById('curct').innerHTML); startTime = new Date(); setTimeout(curctyetmore, 300); } else { setTimeout(curctmore, 300); }
}
function fontcol(tbo) {
var inht=tbo.value, iouts=0, prefw='';
var outht=inht;
var outins=outht.split('<'), iouts=0;
if (inht.indexOf('>') != -1 && inht.indexOf('<') != -1) {
// make a new parser
var parser = new DOMParser();
// convert html string into DOM
var newh=new DOMParser().parseFromString(inht, "text/html"); // thanks to https://stackoverflow.com/questions/57074776/parse-html-string-to-dom-and-convert-it-back-to-string
outht=('' + newh.body.innerHTML);
}
if (outht != inht) {
tbo.value=outht;
}
return tbo;
}
function selchange(sthis) {
if (sthis.value.trim() != '') {
if (sthis.outerHTML.indexOf('option value="' + sthis.value + '"') != -1) {
location.href='' + sthis.value;
sthis.value='';
} else if (sthis.outerHTML.indexOf('option title="Down below" value="' + sthis.value + '"') != -1) {
document.getElementById('downbelow').src='' + sthis.value;
document.getElementById('downbelow').style.display='block';
sthis.value='';
} else if (sthis.outerHTML.indexOf('option title="Popup window" value="' + sthis.value + '"') != -1) {
wowo=window.open('' + sthis.value, '_blank','top=100,left=300,width=960,height=800');
sthis.value='';
}
}
}
setTimeout(curctmore, 500);
</script>
<script type=text/javascript src='/beep.js?iam=song_lyric_faux_pas.html&rand=76576533' defer></script>
</head>
<body onload=" mobissue(); templatediv=document.getElementById('dfp').innerHTML; setTimeout(thenslapmaybe,3000);">
<table style="width:100%;">
<tr><th id=thleft></th><th id=thright></th>
<tr><td id=tdleft style='vertical-align:top;'>
<h1>Song Lyric Faux Pas <select style="width:24px;display:inline-block;" id=sisterhood onchange="selchange(this);"><option value=''>-</option><option value='./video_commentary.html'>Video Commentary</option><option value='./song_lyric_faux_pas.html'>Song Lyric Faux Pas</option></select> Karaoke <button onclick="event.stopPropagation(); bellzero=bellzero.replace(' ','x').replace('0',' ').replace('x','0'); if (this.innerHTML.indexOf('</strike>') != -1) { this.innerHTML=this.innerHTML.replace('<strike>','').replace('</strike>',''); } else { this.innerHTML='<strike>' + this.innerHTML + '</strike>'; } ourbeep(); " id=cbbeep><strike>Beep</strike></button> Style - <button onclick="setTimeout(function(){ doemail(''); }, 2000);" id="butemail">Email 📧</button> <button onclick="setTimeout(function(){ dosms(''); }, 2000);" id="butsms">SMS 📟</button> <div id=dcol style=display:inline-block;></div> <div id=diaudio style=display:none;></div></h1>
<h3>RJM Programming <a title="Add another song into the mix for consideration." style=text-decoration:underline;cursor:pointer; data-offset="2" onclick="onemore(this);">+</a> July, 2025</h3>
<form id=myform onsubmit="return dosrtetc();" target=rightif method=GET action='/HTMLCSS/karaoke_youtube_api.htm'>
<div id=dfp>
<details ontoggle="if (('' + this.open) == 'true') { document.getElementById('sum' + theone).innerHTML=document.getElementById('sum' + theone).innerHTML.replace('Current song','Song'); theone=this.id.replace('det',''); mapsome(); } else { document.getElementById('sum' + this.id.replace('det','').replace('sum','')).innerHTML=document.getElementById('sum' + this.id.replace('det','').replace('sum','')).innerHTML.replace('Current song','Song'); } " id="det01" open><summary id="sum01">Current song ...</summary>
<input type=text ondblclick="alert(this.title);" onblur="if (eval('' + this.value.trim().length) > 0) { theone=this.id.replace('songname',''); document.getElementById('tbtheone').value='' + theone; document.getElementById('songname').value=this.value; mapsome(); document.getElementById('refurl' + theone).value=''; document.getElementById('refurl' + theone).placeholder=''; yidhelper=window.open('/HTMLCSS/karaoke_youtube_api.htm?youtubeid=++++++++++++' + encodeURIComponent(this.value) + '#srt=','_blank','top=50,left=' + eval(-600 + screen.width) + ',width=600,height=900'); }" title="Song Name" id=songname01 placeholder="I'd Really Love To See You Tonight (England Dan and John Ford Coley)" value=""></input><br>
<input type=text ondblclick="alert(this.title);" onblur="if (eval('' + this.value.trim().length) > 0) { theone=this.id.replace('youtubeid',''); document.getElementById('tbtheone').value='' + theone; document.getElementById('youtubeid').value=this.value; mapsome(); }" title="YouTube 11 character ID pointing at a Karaoke version for your Song" id=youtubeid01 placeholder="sckfm7UJJfQ" value=""></input><br><br>
<textarea rows="1" data-type=text ondblclick="alert(this.title);" onblur="if (eval('' + this.value.trim().length) > 0) { theone=fontcol(this).id.replace('fauxpas',''); document.getElementById('tbtheone').value='' + theone; mapsome(); document.getElementById(this.id.replace('fauxpas','fauxpasreally')).setAttribute('data-placeholder',''); } atwork=false;" onkeydown="atwork=true;" title="Faux pas lyric ... multiple can be separated by , (ie. space space comma space space)" data-name=fauxpas01 id=fauxpas01 data-placeholder="But there's a warm wind blowing the stars around" placeholder="Your faux pas lyric goes here" value=""></textarea><br>
<textarea rows="1" data-type=text ondblclick="alert(this.title);" onblur="if (eval('' + this.value.trim().length) > 0) { theone=this.id.replace('fauxpasstartsecs',''); document.getElementById('tbtheone').value='' + theone; mapsome(); }" title="Faux pas start time(s) ... optionally comma separated" data-name=fauxpasstartsecs01 id=fauxpasstartsecs01 placeholder="52.0,96.0,133.0,151.0" value=""></textarea><br>
<textarea rows="1" data-type=text ondblclick="alert(this.title);" onblur="if (eval('' + this.value.trim().length) > 0) { theone=this.id.replace('fauxpasendsecs',''); document.getElementById('tbtheone').value='' + theone; mapsome(); }" title="Faux pas end time(s) ... optionally comma separated" data-name=fauxpasendsecs01 id=fauxpasendsecs01 placeholder="56.0,100.0,137.0,155.0" value=""></textarea><br>
<textarea rows="1" data-type=text ondblclick="alert(this.title);" onblur="if (eval('' + this.value.trim().length) > 0) { theone=this.id.replace('fauxpasreally',''); document.getElementById('tbtheone').value='' + theone; mapsome(); }" title="Optional correct lyric ... multiple can be separated by , (ie. space space comma space space)" data-name=fauxpasreally01 data-placeholder="But there's a warm wind blowing the stars are out" placeholder="Optionally the correct lyric goes here" value="" id="fauxpasreally01"></textarea><br><br>
<input type=text ondblclick="alert(this.title);" onblur="if (eval('' + this.value.trim().length) > 0) { theone=this.id.replace('refurl',''); document.getElementById('tbtheone').value='' + theone; document.getElementById('refurl').value=this.value; mapsome(); }" title="Optional total song lyrics link" id=refurl01 placeholder="https://genius.com/England-dan-and-john-ford-coley-id-really-love-to-see-you-tonight-lyrics" value=""></input><br>
</details>
</div>
<div id=moredfp>
</div>
<input type=hidden title="Song Name" name=songname id=songname placeholder="I'd Really Love To See You Tonight (England Dan and John Ford Coley)" value=""></input><br>
<input type=hidden title="YouTube 11 character ID pointing at a Karaoke version for your Song" name=youtubeid id=youtubeid placeholder="sckfm7UJJfQ" value=""></input><br><br>
<input type=hidden name=refurl id=refurl placeholder="https://genius.com/England-dan-and-john-ford-coley-id-really-love-to-see-you-tonight-lyrics" value=""></input><br><br>
<input type=hidden name=youtube_duration value='22220.000'></input><input type=hidden name=email value=''></input><input type=hidden name=email value=''></input><input type=hidden name=emoji value='on'></input><input type=hidden name=c0 value='on'></input><input type=hidden name=rand166 value='off'></input><input type=hidden name=i0 value='0'></input><input type=hidden name=j0 value='313'></input><input type=hidden name=i1 value=''></input><input type=hidden name=j1 value=''></input><input type=hidden name=i2 value=''></input><input type=hidden name=j2 value=''></input><input type=hidden name=i3 value=''></input><input type=hidden name=j3 value=''></input><input type=hidden name=i4 value=''></input><input type=hidden name=j4 value=''></input><input type=hidden name=i5 value=''></input><input type=hidden name=j5 value=''></input><input type=hidden name=i6 value=''></input><input type=hidden name=j6 value=''></input><input type=hidden name=i7 value=''></input><input type=hidden name=j7 value=''></input><input type=hidden name=i8 value=''></input><input type=hidden name=j8 value=''></input><input type=hidden name=i9 value=''></input><input type=hidden name=j9 value=''></input><input type=hidden name=i10 value=''></input><input type=hidden name=j10 value=''></input><input type=hidden name=i11 value=''></input><input type=hidden name=j11 value=''></input><input type=hidden name=i12 value=''></input><input type=hidden name=j12 value=''></input><input type=hidden name=i13 value=''></input><input type=hidden name=j13 value=''></input><input type=hidden name=i14 value=''></input><input type=hidden name=j14 value=''></input><input type=hidden name=i15 value=''></input><input type=hidden name=j15 value=''></input><input type=hidden name=i16 value=''></input><input type=hidden name=j16 value=''></input><input type=hidden name=i17 value=''></input><input type=hidden name=j17 value=''></input><input type=hidden name=i18 value=''></input><input type=hidden name=j18 value=''></input><input type=hidden name=i19 value=''></input><input type=hidden name=j19 value=''></input><input type=hidden name=i20 value=''></input><input type=hidden name=j20 value=''></input><input type=hidden name=i21 value=''></input><input type=hidden name=j21 value=''></input><input type=hidden name=i22 value=''></input><input type=hidden name=j22 value=''></input><input type=hidden name=i23 value=''></input><input type=hidden name=j23 value=''></input><input type=hidden name=i24 value=''></input><input type=hidden name=j24 value=''></input><input type=hidden name=i25 value=''></input><input type=hidden name=j25 value=''></input><input type=hidden name=i26 value=''></input><input type=hidden name=j26 value=''></input><input type=hidden name=i27 value=''></input><input type=hidden name=j27 value=''></input><input type=hidden name=i28 value=''></input><input type=hidden name=j28 value=''></input><input type=hidden name=i29 value=''></input><input type=hidden name=j29 value=''></input>
<input id=srt type=hidden value="WEBVTT FILE~~1~00:00:52,000 --> 00:00:56,000~But there's a warm wind blowing the stars around"></input>
<input id=realb type=submit value=Example style="background-color:lightgreen;"></input> <input type=submit onclick="ptov=false; if (3 == 4) { document.getElementById('realb').click(); }" value=Play style="background-color:lightgreen;"></input></form>
</td><td id=tdright style="width:55%;vertical-align:top;overflow-x:visible;">
<iframe onload="if (document.getElementById('youtubeid').value != '') { }" name=rightif id=rightif src="/HTMLCSS/karaoke_youtube_api.htm" style="display:none;width:800px;height:900px;"></iframe>
</td></tr>
</table>
<input type=hidden id=tbtheone value='01'></input>
<input type=hidden id=conceptsubject value='Subtitle and caption'></input>
<iframe id=srcif src="/HTMLCSS/signature_signature.php?getmeipaddress=y" style="display:none;" onload="checkip(this);"></iframe>
<div style="display:none;" id=doverlay></div>
<div style="display:none;" id=curct></div>
<iframe id=downbelow name=downbelow src="/HTMLCSS/signature_signature.php?getmeipaddress=y" style="display:none;width:100%;height:900px;"></iframe>
<div id=lastdiv></div>
</body>
</html>