6,7d5
< var detcnt=0;
< var hgts=[];
9,79d6
< var dods=(location.search.split('nodods=')[1] ? false : true);
< var dodsprefix='', dodssuffix='', dodsmiddle='';
< if (dods) {
< dodsprefix=''; // for image height 1800
< dodsmiddle='
';
< dodssuffix=' ';
< }
<
< function depends(deto, bigh) {
< //alert(bigh);
< var newb='';
< if (!deto.open) {
< if (deto.outerHTML.indexOf(' data-smallh=') == -1) {
< var rectis=deto.getBoundingClientRect();
< deto.setAttribute('data-smallh', ('' + rectis.height).replace('px','') + 'px');
< }
< deto.style.height=bigh;
< deto.style.minHeight=bigh;
< newb='linear-gradient(rgba(255,255,255,0.1),rgba(255,255,255,0.1)),url(' + ('' + deto.style.background).split('url(')[1];
< deto.style.background=newb;
< deto.style.backgroundRepeat='no-repeat';
< deto.style.backgroundPosition='0px 60px';
< //deto.height=bigh;
< } else {
< deto.style.height=deto.getAttribute('data-smallh');
< deto.style.minHeight=deto.getAttribute('data-smallh');
< newb='linear-gradient(rgba(255,255,255,0.9),rgba(255,255,255,0.9)),url(' + ('' + deto.style.background).split('url(')[1];
< deto.style.background=newb;
< deto.style.backgroundRepeat='no-repeat';
< deto.style.backgroundPosition='0px 60px';
< //deto.height=deto.getAttribute('data-smallh');
< }
< }
<
< function dimgh(selem) {
< var img = document.createElement('img');
< img.onload = function() {
< //alert(('' + img.height).replace('px','') + 'px');
< var hashbits=img.src.split('#');
< if (hashbits.length > 1) {
< if (document.getElementById('ilist')) {
< if (eval(('' + img.height).replace('px','')) <= 100) {
< document.getElementById('ilist').value=document.getElementById('ilist').value.replace(':' + img.title, '::' + img.title);
< }
< }
< hgts[eval(hashbits[1])]=(eval(130 + eval(('' + img.height).replace('px',''))) + 'px');
< } else {
< if (document.getElementById('ilist')) {
< if (eval(('' + img.height).replace('px','')) <= 99) {
< document.getElementById('ilist').value=document.getElementById('ilist').value.replace(':' + img.title, '::' + img.title);
< }
< }
< hgts.push(eval(130 + eval(('' + img.height).replace('px',''))) + 'px');
< }
< };
< if (document.getElementById('ilist')) {
< img.title = selem;
< img.src = selem;
< } else {
< img.title = selem;
< img.src = selem + '#' + eval(-1 + hgts.length);
< }
< return selem;
< }
<
< function dethfix() {
< for (var ii=1; ii<=detcnt; ii++) {
< document.getElementById('det' + ii).setAttribute('data-height', hgts[eval(-1 + ii)]);
< //alert(document.getElementById('det' + ii).getAttribute('data-height'));
< }
< }
87,94c14
< //alert(dwiurl);
< if (!dods || dwiurl.indexOf('#') != -1) {
< outval='
' + decodeURIComponent(inval) + '
';
< } else {
< detcnt++;
< hgts.push(0);
< outval=dodsprefix.replace('', ' style="background:linear-gradient(rgba(255,255,255,0.8),rgba(255,255,255,0.8)),url(' + dimgh(dwiurl) + ');background-repeat:no-repeat;background-position:0px 60px;">') + '' + decodeURIComponent(inval) + '
' + dodsmiddle + dodssuffix;
< }
---
> outval='' + inval + '
';
96c16
< outval='' + decodeURIComponent(inval) + '
';
---
> outval='' + inval + '
';
107,114c27
< //alert(dwiurl);
< if (!dods || dwiurl.indexOf('#') != -1) {
< outval+='' + inval + '
';
< } else {
< hgts.push(0);
< detcnt++;
< outval+=dodsprefix.replace('', ' style="background:linear-gradient(rgba(255,255,255,0.8),rgba(255,255,255,0.8)),url(' + dimgh(dwiurl) + ');background-repeat:no-repeat;background-position:0px 60px;">') + '' + inval + '
' + dodsmiddle + dodssuffix;
< }
---
> outval+='' + inval + '
';
122,124d34
< if (detcnt > 0) {
< setTimeout(dethfix, 4000);
< }
138,142c48
< if (eval(-1 + ubits.length) > 1) {
< formo.innerHTML+='';
< } else {
< formo.innerHTML+='';
< }
---
> formo.innerHTML+='';
151,170c57
< function cfsub() {
< document.getElementById('fsub').click();
< }
<
< function checkstodcolon(ithiso) {
< var outv=ithiso.value;
< var ics=[];
< var colons=outv.split(',');
< for (var icx=0; icx
');
---
> var dwstr=(location.search.split('dw1=')[1] ? thisdecodeURIComponent('dw1', location.search.split('dw1=')[1].split('&')[0]) : '');
173,176d59
< div {
< color: blue;
< }
<
187c70
< width: 5rem;
---
> width: 20rem;
190d72
< color: blue;
193c75
< div:not(.nested)::after {
---
> div::after {
208d89
<