13c13 < var origgifloc='', pbefore='', intc='', fourhundred=0; --- > var origgifloc='', pbefore=''; 17,49c17 < if (tv == '' && intc != '') { < tv=intc; < document.getElementById('agname').value=intc; < document.getElementById('mygimage').src=intc; < if (window.parent) { < if (window.parent != window.self) { < parent.document.getElementById('myta').setAttribute('data-img', document.getElementById('myta').getAttribute('data-img')); < parent.document.getElementById('myta').title=document.getElementById('myta').title; < parent.document.getElementById('agname').value=intc; < parent.document.getElementById('mygimage').src=intc; < parent.document.getElementById('agname').value=intc; < parent.document.getElementById('mygimage').title='Finding slide ' + eval(1 + eval(eval(-1 + eval('' + gifloc.replace('%',''))) % ij)) + ' of ' + ij + ' ... please wait ...'; < parent.document.getElementById('slidenumber').value='' + eval(1 + eval(eval(-1 + eval('' + gifloc.replace('%',''))) % ij)); < parent.unsetit(); < } < } < //alert('Yes ' + tv); < //tv=gifurl; < ij=0; < setTimeout(function(){ intc=''; }, 27000); < } < if (tv.trim() != '') { < if (tv.indexOf('data') != 0 && tv.indexOf('//') != -1 && document.URL.indexOf('//') != -1) { < if (tv.split('//')[1].split('/')[0].toLowerCase().replace(/^www\./g,'') != document.URL.split('//')[1].split('/')[0].toLowerCase().replace(/^www\./g,'')) { < //alert('yes ' + tv); < document.getElementById('myiffour').src='/getex.php?dodu=y&url=' + encodeURIComponent(tv); //window.open('/getex.php?dodu=y&url=' + encodeURIComponent(tv), '_blank'); < } else { < prefetch(tv); < } < } else { < prefetch(tv); < } < } --- > if (tv.trim() != '') { prefetch(tv); } 55,56c23 < //alert('YEs '); < fetch(whatgifmaybe.replace('http:','').replace('https:','')) --- > fetch(whatgifmaybe.replace('http;','https:')) 122,126c89 < if (intc != '') { < document.getElementById('dimg').style.background='linear-gradient(rgba(255,255,255,0.9),rgba(255,255,255,0.9)),url(' + intc + ')'; < } else { < document.getElementById('dimg').style.background='linear-gradient(rgba(255,255,255,0.9),rgba(255,255,255,0.9)),url(' + gifurl.replace('https:','').replace('http:','') + ')'; < } --- > document.getElementById('dimg').style.background='linear-gradient(rgba(255,255,255,0.9),rgba(255,255,255,0.9)),url(' + gifurl + ')'; 136,140c99 < if (intc != '') { < newimg.src=intc; < } else { < newimg.src=gifurl.replace('https:','').replace('http:',''); < } --- > newimg.src=gifurl; 142,144c101,102 < goisrc=gifurl.replace('https:','').replace('http:',''); < document.getElementById('mygimage').src=gifurl.replace('https:','').replace('http:',''); < fourhundred=eval('' + document.getElementById('agname').value.length); --- > goisrc=gifurl; > document.getElementById('mygimage').src=gifurl; 149,150d106 < if (intc == '' && fourhundred < 400) { < //alert('gifurl=' + gifurl); 152d107 < } 166,167d120 < //} else if (intc != '') { < //window.open('//www.rjmprogramming.com.au/Mac/extract_ag_slide_huh_of.html?slide=' + encodeURIComponent(document.getElementById('slidenumber').value) + '&random=' + encodeURIComponent(document.getElementById('random').value) + '#url=' + encodeURIComponent(document.getElementById('agname').value), '_blank', 'top=10,left=10,width=600,height=600'); 171,173c124 < //alert('post'); < //alert('post: ' + document.getElementById('myform').outerHTML); < document.getElementById('random').value='' + Math.floor(Math.random() * 198786753); --- > //alert(document.getElementById('myform').outerHTML); 195,200d145 < var orok=false; < if (window.parent) { < if (window.parent != window.self) { < orok=true; < } < } 205c150 < if (aconto.body != null && (intc == '' && document.getElementById('myta').title == '') || orok) { --- > if (aconto.body != null) { 213c158 < //alert('why? ' + goisrc); --- > //alert(goisrc); 219,227d163 < if (window.parent) { < if (window.parent != window.self) { < parent.document.getElementById('mygimage').style.opacity='1.0'; < parent.document.getElementById('mygimage').src=goisrc; < parent.document.getElementById('dimg').style.background='url(' + goisrc + ')'; < parent.document.body.style.cursor='pointer'; < parent.document.getElementById('mygimage').title='Found slide ' + eval(1 + eval(eval(-1 + eval('' + gifloc.replace('%',''))) % ij)) + ' of ' + ij + '. Click to also show the original animated GIF.'; < } < } 235d170 < var sofarok=true; 243,252c178,179 < if (wans.trim() == '') { huhs='junk'; } < if (wans.indexOf('data') != 0 && wans.indexOf('//') != -1 && document.URL.indexOf('//') != -1) { < if (wans.split('//')[1].split('/')[0].toLowerCase().replace(/^www\./g,'') != document.URL.split('//')[1].split('/')[0].toLowerCase().replace(/^www\./g,'')) { < sofarok=false; < if (eval('' + wansh.length) > 1) { gifloc='' + wansh[1]; } else { gifloc='1'; } < //alert('wans=' + wans); < ob(wans); < } < } < if (sofarok && top.location.href.indexOf('?') == -1) { --- > if (wans.trim() == '') { huhs='junk'; } > if (top.location.href.indexOf('?') == -1) { 254d180 < //alert(15); 257d182 < //alert(215); 260c185 < } else if (sofarok) { --- > } else { 262d186 < //alert(315); 265d188 < //alert(415); 280,282d202 < if (('' + document.getElementById('myta').getAttribute('data-img')).indexOf('data') == 0) { < wo.document.write('