<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 prefixer="", suffixer="";
var anyhash='';
var wowo=null;
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;
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.';

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) { 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 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';
plustwenty(vttb);
if (document.getElementById('youtubeid').value == '') { return false; }
return true;
}

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 doemail() {
var arrinput=[], karr=0;
wasdb='';
suffis='';
var anchor=null;
var 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&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&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(){
var arrinput=[], karr=0;
wasdb='';
suffis='';
var anchor=null;
var 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&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&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 thenslapmaybe() {
var retval='', sevencnt=0, interimcnt=-1, intcnt=0, tas=[], jin=0;
var sepr='^%$', huhs=[], inpso=[];
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('#group=')[0].split('^%$');
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('^%$');
if (eval('' + tas.length) > 1) { interimcnt=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) {
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) {
//alert('anyhash=' + anyhash);
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('<') != 0) {
inpso[jin].placeholder='<font onclick="parent.onl(event);" color="black">' + inpso[jin].placeholder.replace(/\ \ \,\ \ /g, '</font> , <font onclick="parent.onl(event);" color="black">') + '</font>';
inpso[jin].setAttribute('data-placeholder', inpso[jin].placeholder);
}
} else if (huhs[jin].value.indexOf('<') != 0) {
inpso[jin].value='<font onclick="parent.onl(event);" color="black">' + huhs[jin].value.replace(/\ \ \,\ \ /g, '</font> , <font 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 onclick="parent.onl(event);" color="black">' + inpso[jin].placeholder.replace(/\ \ \,\ \ /g, '</font> , <font 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 onclick="parent.onl(event);" color="black">' + inpso[jin].value.replace(/\ \ \,\ \ /g, '</font> , <font onclick="parent.onl(event);" color="black">') + '</font>';
}
}
}
inpso[jin].value=huhs[jin];
sevencnt++;
} else {
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)].innerHTML == '') {
if (('' + tas[eval(jin - interimcnt)].placeholder).indexOf('<font') != 0) {
tas[eval(jin - interimcnt)].placeholder='<font onclick="parent.onl(event);" color="black">' + tas[eval(jin - interimcnt)].placeholder.replace(/\ \ \,\ \ /g, '</font> , <font 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)].innerHTML.indexOf('<font') != 0) {
tas[eval(jin - interimcnt)].placeholder='<font onclick="parent.onl(event);" color="black">' + tas[eval(jin - interimcnt)].placeholder.replace(/\ \ \,\ \ /g, '</font> , <font 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)].id).indexOf('reaJUNKlly') != -1 && anyhash != '') {
//alert(22);
if (tas[eval(jin - interimcnt)].innerHTML == '') {
if (('' + tas[eval(jin - interimcnt)].placeholder).indexOf('<font') != 0) {
tas[eval(jin - interimcnt)].placeholder='<font onclick="parent.onl(event);" color="black">' + tas[eval(jin - interimcnt)].placeholder.replace(/\ \ \,\ \ /g, '</font> , <font onclick="parent.onl(event);" color="black">') + '</font>';
huhs[jin]='';
}
} else if (tas[eval(jin - interimcnt)].innerHTML.indexOf('<font') != 0) {
huhs[jin]='<font onclick="parent.onl(event);" color="black">' + huhs[jin].innerHTML.replace(/\ \ \,\ \ /g, '</font> , <font 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 (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 checkip(iois) {
if (iois.src.indexOf('signature_signature.php') != -1) {
var aconto = (iois.contentWindow || iois.contentDocument);
if (aconto != null) {
//alert('111 ' + zwiois.src);
if (aconto.document) { aconto = aconto.document; }
//alert('1111 ' + zawconto.body.innerHTML);
if (aconto.body.innerHTML.indexOf('<p>') == 0) {
ipbit=aconto.body.innerHTML.split('<p>')[1].split('<')[0];
document.getElementById('doverlay').innerHTML='' + ipbit;
//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) {
gpdef=evt.target.outerHTML;
gpdf=nocaret(gpdef);
//alert('here at onl with ' + evt.target.outerHTML);
}

function ouralert(inst, thist, thisih, thiscs) {
//alert('here');
var iwhat=1, fptimethingos=[], 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();
pdef=ournocaret(pdfcomplex); //('' + ('' + thist).replace(/\ \;/g, ' ')).replace(/^undefined/g, '').trim();
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;
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';
document.getElementById('fauxpas' + theone).value=document.getElementById('fauxpas' + theone).value.replace(pdef, 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;
}
}
document.getElementById('fauxpas' + theone).value=document.getElementById('fauxpas' + theone).value.replace(pdef, 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=prefixer + thingos[1].split('#')[0] + suffixer + ' , ' + 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 + ' , ' + things[1].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+=',' + 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[0].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+=' , ' + thingos[2].split('#')[1];
} 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';
}
}
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=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',''); }" 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>
</body>
</html>