26,27c26
< var changesmade=false, calcapv='', fullBoringTrIh='', onetd='', origih='', firstlook=true, valvalue='';
< var mths=['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'];
---
> var changesmade=false;
32c31
< var useintl=false, docURL='', usuff='';
---
> var useintl=false, docURL='';
51,57d49
< if (origih == '') { origih=document.getElementById('wp-calendar').innerHTML; }
< if (document.URL.indexOf('month=') != -1 && document.URL.indexOf('year=') != -1 && firstlook) {
< now = new Date(eval('' + document.URL.split('year=')[1].split('&')[0].split('#')[0]), eval('' + document.URL.split('month=')[1].split('&')[0].split('#')[0]), 1);
< } else if (('' + parent.document.URL).indexOf('month=') != -1 && ('' + parent.document.URL).indexOf('year=') != -1 && firstlook) {
< now = new Date(eval('' + ('' + parent.document.URL).split('year=')[1].split('&')[0].split('#')[0]), eval('' + ('' + parent.document.URL).split('month=')[1].split('&')[0].split('#')[0]), 1);
< }
< firstlook=false;
65a58
> var mths=['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'];
138,139c131,132
< fullBoringTrIh=document.getElementById('week1').innerHTML;
< onetd='
| ', rowonesofar=document.getElementById('week0').innerHTML.split('', ij=0, ji=0, ki=0;
---
> var fullBoringTrIh=document.getElementById('week1').innerHTML;
> var onetd=' | | ', rowonesofar=document.getElementById('week0').innerHTML.split('', ij=0, ji=0, ki=0;
148d140
< calcapv=document.getElementById('calcap').innerHTML;
302c294
< zform.append('tihis', document.getElementById('wp-calendar').innerHTML.replace(' zform.append('tihis', document.getElementById('wp-calendar').innerHTML);
318,320d309
< if (changesmade) {
< window.open(document.URL.split('?')[0].split('#')[0] + '?_x_tr_tl=' + val.value + usuff, blankis, 'top=0,width=800,height=800,left=' + eval(-800 + screen.width));
< } else {
322d310
< }
325,328c313
< valvalue='//www-rjmprogramming-com-au.translate.goog/' + docURL.split('?')[0].split('#')[0] + '?_x_tr_sl=en&_x_tr_hl=en-GB&_x_tr_pto=nui&_x_tr_tl=' + val.value + usuff;
< setTimeout(function(){
< window.open(valvalue, '_blank', 'top=0,width=800,height=800,left=' + eval(-800 + screen.width));
< }, 2000);
---
> window.open('//www-rjmprogramming-com-au.translate.goog/' + docURL.split('?')[0].split('#')[0] + '?_x_tr_sl=en&_x_tr_hl=en-GB&_x_tr_pto=nui&_x_tr_tl=' + val.value + '#' + encodeURIComponent(document.getElementById('wp-calendar').innerHTML), '_blank', 'top=0,width=800,height=800,left=' + eval(-800 + screen.width));
338,340d322
< if (changesmade) {
< window.open(document.URL.split('?')[0].split('#')[0] + '?_x_tr_tl=' + val.value + usuff, blankis, 'top=0,width=800,height=800,left=' + eval(-800 + screen.width));
< } else {
342d323
< }
345,348c326
< valvalue='//www-rjmprogramming-com-au.translate.goog/' + docURL.split('?')[0].split('#')[0] + '?_x_tr_sl=en&_x_tr_hl=en-GB&_x_tr_pto=nui&_x_tr_tl=' + val.value + usuff;
< setTimeout(function(){
< window.open(valvalue, '_top');
< }, 2000);
---
> window.open('//www-rjmprogramming-com-au.translate.goog/' + docURL.split('?')[0].split('#')[0] + '?_x_tr_sl=en&_x_tr_hl=en-GB&_x_tr_pto=nui&_x_tr_tl=' + val.value + '#' + encodeURIComponent(document.getElementById('wp-calendar').innerHTML), '_top');
362,375d339
< function newmy(ocap) {
< if (ocap.innerHTML != calcapv) {
< if (ocap.innerHTML.indexOf(',') != -1) {
< if (mths.indexOf(ocap.innerHTML.split(',')[0].trim()) != -1 && eval('' + ocap.innerHTML.split(',')[1].trim().length) == 4) {
< //changesmade=true;
< usuff='&year=' + ocap.innerHTML.split(',')[1].trim() + '&month=' + mths.indexOf(ocap.innerHTML.split(',')[0].trim());
< now = new Date(eval('' + ocap.innerHTML.split(',')[1].trim()), eval('' + mths.indexOf(ocap.innerHTML.split(',')[0].trim())), 1);
< document.getElementById('wp-calendar').innerHTML=origih;
< thismonth();
< }
< }
< }
< }
<
378c342
<
---
>
426c390
< |