5d4
<
11,41d9
<
< 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;
< }
< }
<
< @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;
< }
< }
47d14
< var aonest='.wav.audio/wav.m4a.audio/mp4.mp3.audio.mpeg.aiff.audio/aiff.aif.audio/aiff.';
53c20
< if (document.URL.indexOf('/song_lyric_faux_pas.htm') != -1) { document.getElementById(inid).style.visibility='hidden'; }
---
> document.getElementById(inid).style.visibility='hidden';
64,93d30
<
< function plustwenty(inzx) {
< var outzx=inzx, lastext='';
< var wdsx=inzx.replace(/\"\:\ \"/g, ' ').split(' ');
< for (var ibn=0; ibn';
< //alert(document.getElementById('diaudio').innerHTML);
< }
< }
< }
< //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;
< }
96,97c33
< var prexf=bellzero, iv=0, firstiv=-1, jins=0, ins=[], types=['textarea','input'], kins=0;
< var ourown='', startast=true;
---
> var prexf=bellzero, iv=0, firstiv=-1;
100,102c36,37
< for (kins=0; kins var ins=document.getElementsByTagName('input');
> for (var jins=0; jins ins[jins].style.visibility='hidden';
177a113
>
179,198c115
< 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);
< }
< }
---
> if (ins[jins].id == 'srt') { if (vttb != 'WEBVTT FILE~~') { if (prexf.trim() != '' && 7 == 4) { vttb=vttb.replace('~~1~', '~~' + prexf.trim() + '1~'); } ins[jins].value=vttb; } }
202d118
< }
206,207d121
< //alert(vttb);
< plustwenty(vttb);
209c123
< return startast;
---
> return true;
386d299
< var retval='', sevencnt=0, interimcnt=-1, intcnt=0, tas=[];
390c303
< //alert(decodeURIComponent(('#' + location.hash)).split('#bodyih=')[1]);
---
> alert(decodeURIComponent(('#' + location.hash)).split('#bodyih=')[1]);
396,397d308
< tas=document.getElementsByTagName('textarea');
< if (eval('' + tas.length) > 1) { interimcnt=2; }
399,405c310
< if (interimcnt >= 0 && sevencnt < interimcnt) {
< inpso[jin].value=huhs[jin];
< sevencnt++;
< } else {
< tas[eval(jin - interimcnt)].innerHTML=huhs[jin];
< sevencnt++;
< }
---
> inpso[jin].value=huhs[jin];
435,437c340
< var retval='', sevencnt=0, interimcnt=-1, intcnt=0;
< var tas=document.getElementsByTagName('textarea');
< if (eval('' + tas.length) > 1) { interimcnt=2; }
---
> var retval='', sevencnt=0;
449,464d351
< if (interimcnt == sevencnt) {
< interimcnt=-4;
< for (var kin=0; kin/g, '').replace(/\