<?php
// images_found.php
// RJM Programming
// February, 2026

  $passeddata="";
  $stylebit="";
  $scriptbit="";
  $jduris="0";
  $displaymode="0";
  $ht='';
  $ftitle='';
  $defdur=30;
  $iwow=0;
  $allin='';
  $gopac='';
  
  if (isset($_GET['csv'])) {
    $passeddata=str_replace('+',' ',urldecode($_GET['csv']));
  }
  
  if (isset($_POST['csv'])) {
    $passeddata=str_replace('+',' ',urldecode($_POST['csv']));
  }

  if (isset($_GET['ftitle'])) {
      $ftitle=trim(str_replace('   ','++ ',str_replace('+',' ',urldecode($_GET['ftitle']))));
  }
  if (isset($_POST['ftitle'])) {
      $ftitle=trim(str_replace('   ','++ ',str_replace('+',' ',urldecode($_POST['ftitle']))));
  }


  if (isset($_GET['duration'])) {
      $jduris=str_replace('+',' ',urldecode($_GET['duration']));
  }
  if (isset($_POST['duration'])) {
      $jduris=str_replace('+',' ',urldecode($_POST['duration']));
  }

  if (isset($_GET['iwow'])) {
      $iwow=str_replace('+',' ',urldecode($_GET['iwow']));
  }
  if (isset($_POST['iwow'])) {
      $iwow=str_replace('+',' ',urldecode($_POST['iwow']));
  }

  if (isset($_GET['displaymode'])) {
      $displaymode=str_replace('+',' ',urldecode($_GET['displaymode']));
      if (('' . $displaymode) != '0') { $gopac='linear-gradient(rgba(255,255,255,0.6),rgba(255,255,255,0.6)),'; }
      if (('' . $displaymode) == '3') { $gopac='linear-gradient(rgba(255,255,255,0.9),rgba(255,255,255,0.9)),'; }
  }
  if (isset($_POST['displaymode'])) {
      $displaymode=str_replace('+',' ',urldecode($_POST['displaymode']));
      if (('' . $displaymode) != '0') { $gopac='linear-gradient(rgba(255,255,255,0.6),rgba(255,255,255,0.6)),'; }
      if (('' . $displaymode) == '3') { $gopac='linear-gradient(rgba(255,255,255,0.9),rgba(255,255,255,0.9)),'; }
  }
  
  function expanded($incsv) {
    global $stylebit, $scriptbit, $ht, $allin;
    $allin=$incsv;
    $outcsv=explode(';',$incsv)[0];
    if ($incsv == '') { return $outcsv; } 
    $altanima=explode(',', explode(';',$incsv)[0]);
    $jal='' . sizeof($altanima);
    if (isset($_GET['duration'])) {
      $duris=str_replace('+',' ',urldecode($_GET['duration']));
    }
    if (isset($_POST['duration'])) {
      $duris=str_replace('+',' ',urldecode($_POST['duration']));
    }
    if ($duris == '' || $duris == '0') { $duris=($defdur * $jal); }
    
    $htbit='<img id=icursl style=object-fit:contain; src=' . $altanima[0] . '></img><div class="meter"><span style="width:95%;"><span class="progress"></span></span></div>';
    $htbit='<span id=tmeter style="text-shadow:-1px 1px 1px #ff2d95;background-color:rgba(255,255,255,0.6);"></span><div class="meter" title="' . explode(' 0',explode(' 1',explode(' 2',explode(' 3',explode(' 4',explode(' 5',explode(' 6',explode(' 7',explode(' 8',explode(' 9',explode(' //',$ftitle)[0])[0])[0])[0])[0])[0])[0])[0])[0])[0])[0] . ' thread images ... click for blog, double click for web application"><span style="width:95%;"><span class="progress"></span></span></div>';
    $ht=$htbit;
    $stbit=" html, body {  height: 100%;  margin: 0; }  .meter { margin-top:0.95%; " . "
" . "    height: 5px; " . "
" . "    position: relative; " . "
" . "    background: #f3efe6; " . "
" . "    overflow: hidden; " . "
" . " } " . "
" . " " . "
" . " .meter span { " . "
" . "    display: block; " . "
" . "    height: 100%; " . "
" . " } " . "
" . " " . "
" . " .progress { " . "
" . "    background-color: #e4c465; " . "
" . "    animation: progressBar " . ($iwow + $duris) . "s ease-in-out infinite; " . "
" . "    animation-fill-mode:both;  " . "
" . " } " . "
" . " " . "
" . " @keyframes progressBar { " . "
" . "  0% { width: 0; } " . "
" . "  100% { width: 100%; } " . "
" . "} ";

    $stylebit='<style> ' . $stbit . '  #xbody { background:' . $gopac . 'URL(' . $altanima[0] . '); background-repeat:no-repeat; background-position:center;  background-size:contain; } </style>';

    $jsis=" var ial=1; " . "
" . " var alcont='" . explode(';',$incsv)[0] . "'; " . "
" . " var alconta=alcont.split(','); " . "
" . " var jal=pbarit(" . $jal . '); ' . "
" . " ourcsvs=('" . $allin . "').split(':'); " . "
";
    $jsis.="
" . " function animateit() { if (moretowait > 0) { setTimeout(animateit, Math.round(eval(1000 * moretowait)));  moretowait=0; return ''; } if (ial < jal) {  if (document.getElementById('icursl')) { document.getElementById('icursl').src=alconta[ial]; }  document.getElementById('xbody').style.background=sqit('url(' . alconta[ial] . ')',ial);  document.getElementById('xbody').style.backgroundRepeat='no-repeat';  document.getElementById('xbody').style.backgroundPosition='center';  document.getElementById('xbody').style.backgroundSize='contain';   } else { ial=0; if (fromarg != toarg) { location.href=document.URL; } else { window.location.reload(); } firstsqit(); if (document.getElementById('icursl')) { document.getElementById('icursl').src=alconta[ial]; } document.getElementById('xbody').style.background=sqit('url(' . alconta[ial] . ')',ial);  document.getElementById('xbody').style.backgroundRepeat='no-repeat';  document.getElementById('xbody').style.backgroundPosition='center';  document.getElementById('xbody').style.backgroundSize='contain';   }  ial++;    setTimeout(animateit,12000); } ";
    $scriptbit=$jsis;

    return $stylebit;
  }
  
  echo "<html>
<head><meta charset=\"UTF-8\"/><title>" . explode(' 0',explode(' 1',explode(' 2',explode(' 3',explode(' 4',explode(' 5',explode(' 6',explode(' 7',explode(' 8',explode(' 9',explode(' //',$ftitle)[0])[0])[0])[0])[0])[0])[0])[0])[0])[0])[0] . "</title>" . expanded($passeddata) . "
<scri" . "pt text/javascript>
  var jaltanima=[], jjal=0, jduris=" . $jduris . ", ftitle='" . $ftitle . "', moretowait=0, pbar='';
  var redsq=String.fromCodePoint(0x1F7E5);
  var whitesq=String.fromCodePoint(0x2B1C);
  var lastclk='', lastdclk='';
  var displaymode=" . $displaymode . ";
  var ourcsvs=[''];
  var gopac='" . $gopac . "';
  var defdur=" . $defdur . ";
  var defdurt=eval(1000 * defdur);
  var bus=''; // 'x'
  var notuntil=false;
  var fromarg='&rand', toarg='&rand', documentURL=document.URL;
  var xtypes = ['audio/x-m4r','audio/wav','audio/x-wav','audio/x-pn-realaudio','audio/x-mpegurl','audio/x-aiff','audio/mpeg','audio/mid',
      'audio/basic','audio/ogg','video/x-sgi-movie','video/x-msvideo','video/quicktime','audio/mp3','video/mp4','video/mpeg',
      'video/x-la-asf','video/ogg','video/webm','audio/mp4', 'image/jpeg', 'image/jpeg', 'image/png', 'image/gif', 'image/bmp', 'image/tif',
      'text/html', 'text/html', 'text/html', 'text/javascript', 'text/css', 'text/plain', 'text/xml', 'text/csv',
      'application/vnd.ms-word', 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'application/x-php', 'application/pdf', 'IMAGE/pdf',
      'application/vnd.openxmlformats-officedocument.presentationml.presentation', 'application/vnd.ms-powerpoint',
      'application/vnd.ms-excel', 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet','video/mp4'];
  var xexts = ['.m4r','.wav','.wav','.ram','.m3u','.aiff','.mp3','.rmi',
      '.snd','.ogg','.movie','.avi','.mov','.mp3','.m4v','.mpeg',
      '.lsx','.ogv','.webm','.m4a', '.jpg', '.jpeg', '.png', '.gif', '.bmp', '.tif',
      '.htm', '.html', '.htmls', '.js', '.css', '.txt', '.xml', '.csv',
      '.doc', '.docx', '.php', '.pdf', '.pdf',
      '.pptx', '.ppt',
      '.xls', '.xlsx','.mp4'];
  
  " . $scriptbit  . " 

function ourtitleit(inimgu, innow, inmax) {
  return ourcsvs[1].split(',')[innow] + ' ' + ourcsvs[2].split(',')[innow] + ' ' + ourcsvs[3].split(',')[innow] + ' ' + ourcsvs[4].split(',')[innow] + ' ' + ourcsvs[5].split(',')[innow];
}

  function mn(whatu) {
    if (whatu.split('#')[0].trim() != '') {
      if (whatu.split('#')[0].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,'') == '') {
        return '//www.rjmprogramming.com.au/ITblog/?p=' + whatu.split('#')[0] + '';
      }
    }
    return whatu.replace('http:','https:');
  }

function emailit(invl, tov, subjid) {
        var anchor = document.createElement('a');
        anchor.href = 'mailto:' + tov + '?subject=' + encodeURIComponent(subjid) + '&body=' + encodeURIComponent(invl.replace('&dnar','&rand'));
        anchor.style.display='none';
        anchor.innerHTML='Email';
        anchor.target='_top';
        anchor.click();
        return invl;
}

function smsit(invl, tov) {
        if (eval('' + tov.trim().length) == 1) {
        displaymode=eval('' + tov.trim());
        } else {
        var anchor = document.createElement('a');
        anchor.href = 'sms:' + tov + '&body=' + encodeURIComponent(invl.replace('&dnar','&rand'));
        anchor.style.display='none'; 
        anchor.innerHTML='SMS';
        anchor.target='_top';
        anchor.click();
        }
        return invl;
}
   
  function outwo(inchk) {
    for (var iut=0; iut<xexts.length; iut++) {
      if (mn(inchk).toLowerCase().indexOf(xexts[iut]) != -1) {
        if (xtypes[iut].indexOf('pdf') != -1) {
    if (document.getElementById('nonimagemedia').innerHTML.indexOf(mn(inchk)) == -1) {
          document.getElementById('nonimagemedia').innerHTML='<object data=\"' + mn(inchk) + '\" type=\"application/pdf\"></object>';
    }
          return 'application/';
        } else if (xtypes[iut].indexOf('image/') != -1) {
          if (displaymode == 3) {
    if (document.getElementById('nonimagemedia').innerHTML.indexOf(mn(inchk)) == -1) {
          document.getElementById('nonimagemedia').style.width='' + screen.width + 'px';
          document.getElementById('nonimagemedia').style.height='' + eval(0.78 * screen.height) + 'px';
          document.getElementById('nonimagemedia').innerHTML='<img style=object-fit:contain;width:100%;height:100%; src=\"' + mn(inchk) + '\"></img>'; // contain
    }
          } else {
          document.getElementById('nonimagemedia').innerHTML='';
          }
          return '';
        } else if (xtypes[iut].indexOf('video/') != -1) {
    if (document.getElementById('nonimagemedia').innerHTML.indexOf(mn(inchk)) == -1) {
          document.getElementById('nonimagemedia').innerHTML='<video controls><source type=\"' + xtypes[iut] + '\" src=\"' + mn(inchk) + '\"></source></video>';
    }
          return 'video/';
        } else if (xtypes[iut].indexOf('audio/') != -1) {
    if (document.getElementById('nonimagemedia').innerHTML.indexOf(mn(inchk)) == -1) {
          document.getElementById('nonimagemedia').innerHTML='<audio controls><source type=\"' + xtypes[iut] + '\" src=\"' + mn(inchk) + '\"></source></audio>';
    }
          return 'audio/';
        }
      }
    } 
    if (displaymode != 0) {
    //alert('3:' + mn(inchk));
    if (document.getElementById('nonimagemedia').innerHTML.indexOf(mn(inchk)) == -1) {
    document.getElementById('nonimagemedia').innerHTML='<iframe style=width:100%;height:800px; src=\"' + mn(inchk) + '\"></iframe>';
    }
    } else {
    document.getElementById('nonimagemedia').innerHTML='';
    }
    return '';
  }
  
  function unred(invx) {
    if (displaymode == 1) {
      invx=invx.replace(' Tutorial ', ' Tutorial ... Cut to the Chase ');
    } else if (displaymode == 2) {
      invx=invx.replace(' Tutorial ', ' Tutorial ... Blog Posting ');
    } else if (displaymode == 3) {
      invx=invx.replace(' Tutorial ', ' Tutorial ... Image Object Fit ');
    } else if (displaymode == 0) {
      invx=invx.replace(' Tutorial ', ' Tutorial ... Background Tutorial Picture ');
    }
    return invx.replace(redsq, \"<span style='cursor:pointer;border:2px dotted yellow;' id=sred ondblclick='event.stopPropagation();ask();' onclick='event.stopPropagation(); setTimeout(function(){ justdur(4); }, 3000);' oncontextmenu='event.stopPropagation(); event.preventDefault(); justdur(5);' title='Click to double default slide duration (currently \" + defdur + \") or right click to halve the default duration or double click to get asked for a display mode or email or SMS sharing recipient.'>\" + redsq + \"</span>\");
  }
  
  function ask() {
     var wasdis='' + displaymode;
     notuntil=true;
     var rans=prompt('Enter display mode (which is currently ' + displaymode + ') ... 0 is for Background Image, 1 is for Cut to the Chase, 2 is for Blog Posting, 3 is for Image Object Fit mode of display.  Or share to an email address or SMS number you enter here.', '');
     notuntil=false;
     if (rans != null) {
      if (eval('' + rans.trim().length) == 1) {
       displaymode=rans.trim();
       if (('' + displaymode) == '0') {  document.getElementById('nonimagemedia').innerHTML=''; }
       if (documentURL.indexOf('&displaymode=' + displaymode) == -1) {
        if (documentURL.indexOf('&displaymode=') != -1) {
       //alert('' + wasdis + ' ... ' + documentURL);
         location.href=documentURL.replace('&displaymode=' + wasdis, '&displaymode=' + displaymode);
        } else if (documentURL.indexOf('&iwow=') != -1) {
         location.href=documentURL.replace('&iwow=', '&displaymode=' + displaymode + '&iwow=');
        }
       }
      } else {
      if (rans == null) {
        return '';
      } else if (rans.indexOf('@') != -1) {
        var plusc='';
    if (('' + displaymode) == '1') {
      plusc=' ... Cut to the Chase ';
    } else if (('' + displaymode) == '2') {
      plusc=' ... Blog Posting ';
    } else if (('' + displaymode) == '3') {
      plusc=' ... Image Object Fit ';
    } else if (('' + displaymode) == '0') {
      plusc=' ... Background Tutorial Picture ';
    }
        if (rans.trim() != rans) {
        return emailit(documentURL, rans.trim(), 'Show images of " . explode(' 0',explode(' 1',explode(' 2',explode(' 3',explode(' 4',explode(' 5',explode(' 6',explode(' 7',explode(' 8',explode(' 9',explode(' //',$ftitle)[0])[0])[0])[0])[0])[0])[0])[0])[0])[0])[0] . " thread' + plusc);
        } else {
        return emailit(documentURL, rans.trim(), 'Show images of " . explode(' 0',explode(' 1',explode(' 2',explode(' 3',explode(' 4',explode(' 5',explode(' 6',explode(' 7',explode(' 8',explode(' 9',explode(' //',$ftitle)[0])[0])[0])[0])[0])[0])[0])[0])[0])[0])[0] . " thread' + plusc);
        }
      } else if (rans.trim() != '' && rans.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,'') == '') {
        if (rans.trim() != rans) {
        return smsit(documentURL, rans.trim());
        } else {
        return smsit(documentURL, rans.trim());
        }
      } 
      }
     }
  }
 
  function pbarit(hwm) {
    for (var iuy=0; iuy<hwm; iuy++) {
      if (iuy == 0) {
        pbar=redsq;
      } else {
        pbar+=whitesq;
      }
    }
    jjal=hwm;
    return hwm;
  }
  
  function analyzetitle() {
    var upref='';
    if (document.getElementById('xbody').title != '') { // click
      var words=document.getElementById('xbody').title.split(' ');
      if (eval('' + words.length) >= 2 && lastclk != words[eval(-2 + words.length)] && words[eval(-2 + words.length)].trim() != '') {
        lastclk=words[eval(-2 + words.length)];
        if (lastclk.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,'') == '') {  upref='//www.rjmprogramming.com.au/ITblog/?p='; }
        window.open(upref + words[eval(-2 + words.length)].replace('http:','').replace('https:','') + '#content', '_blank', 'top=15,left=15,height=500,width=500');
      }
    }
  }
  
  function titleanalyze() { 
    var upref='';
    var usuf='';
    if (document.getElementById('xbody').title != '') { // right click
      var words=document.getElementById('xbody').title.split(' ');
      if (eval('' + words.length) >= 2 && lastdclk != words[eval(-1 + words.length)] && words[eval(-1 + words.length)].trim() != '') {
        lastdclk=words[eval(-1 + words.length)];
        if (lastdclk.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,'') == '') {  upref='//www.rjmprogramming.com.au/ITblog/?p='; usuf='#content'; }
        window.open(upref + words[eval(-1 + words.length)].replace('http:','').replace('https:','') + usuf, '_blank', 'top=15,left=15,height=500,width=500');
      }
    }
  }

  function firstsqit() {
    var idea=-4, theial=0;
    if (ftitle != '') {
      var words=ftitle.trim().split(' ');
      if (eval('' + words.length) >= 4) {
      //alert(words[eval(-4 + words.length)] + ' in ' + ftitle);
        if (words[eval(idea + words.length)] == 'Tutorial') { idea++; }
        var alldur=eval('' + words[eval(idea + words.length)]);
        if (alldur > defdur) { moretowait=eval(-defdur + alldur);  }
      }
      pbarit(jjal);
      document.body.title='' + ftitle;
      document.title= document.body.title.split(' //')[0].split(' 0')[0].split(' 1')[0].split(' 2')[0].split(' 3')[0].split(' 4')[0].split(' 5')[0].split(' 6')[0].split(' 7')[0].split(' 8')[0].split(' 9')[0] + ' ' + pbar; 
      document.getElementById('tmeter').innerHTML='<font size=1>' + unred(document.title) + '</font>' + bus + '<br>';
      //ftitle='';
    }
    
    switch (displaymode) {
    case 0:
    break;
    
    case 1:
    outwo(ourcsvs[-displaymode + ourcsvs.length].split(',')[theial]); // Cut to the Chase
    break;
    
    case 2:
    outwo(ourcsvs[-displaymode + ourcsvs.length].split(',')[theial]); // Blog Posting
    break;
    
    case 3:
    outwo(ourcsvs[-displaymode + ourcsvs.length].split(',')[theial]); // Image Object Fit
    break;
    
    case 4:  // double default duration
    defdur*=2; 
    defdurt=eval(1000 * defdur);
    displaymode=-4;
    break;
    
    case 5:  // halve default duration
    defdur/=2; 
    defdurt=eval(1000 * defdur);
    displaymode=-5;
    break;
    
    default:
    break;
    }
    
  }
  
  function justdur(chw) {
    if (!notuntil) {
    if (('' + chw) == '4') {
    defdur*=2; 
    defdurt=eval(1000 * defdur);
    //displaymode=-4;
    }
    if (('' + chw) == '5') {
    defdur/=2; 
    defdurt=eval(1000 * defdur);
    //displaymode=-5;
    }
    }
  }
  
  function sqit(inu, theial) {
    var idea=-4, words=[], alldur=0, opac='';
    switch (displaymode) {
    case 0:
    outwo(inu.replace('url(','').replace(')',''));  // default background image
    break;
    
    case 1:
    opac='linear-gradient(rgba(255,255,255,0.6),rgba(255,255,255,0.6)),';
    outwo(ourcsvs[-displaymode + ourcsvs.length].split(',')[theial]); // Cut to the Chase
    break;
    
    case 2:
    opac='linear-gradient(rgba(255,255,255,0.6),rgba(255,255,255,0.6)),';
    outwo(ourcsvs[-displaymode + ourcsvs.length].split(',')[theial]); // Blog Posting
    break;
    
    case 3:
    opac='linear-gradient(rgba(255,255,255,0.9),rgba(255,255,255,0.9)),';
    outwo(ourcsvs[-displaymode + ourcsvs.length].split(',')[theial]); // Image Object Fit
    break;
    
    case 4:  // double default duration
    defdur*=2; 
    defdurt=eval(1000 * defdur);
    displaymode=-4;
    break;
    
    case 5:  // halve default duration
    defdur/=2; 
    defdurt=eval(1000 * defdur);
    displaymode=-5;
    break;
    
    default:
    break;
    }
    
    if (eval('' + ourcsvs.length) > 1) { //  altanimtitlea[innow] + ' ' + altanimdura[innow] + ' ' + altanima[innow] + ' ' + altanimpida[innow] + ' ' + altanimcttca[innow];
    document.body.title='' + ourtitleit(inu.split('(')[1].split(')')[0], ial, jal);  
      words=document.getElementById('xbody').title.trim().split(' ');
      if (eval('' + words.length) >= 4) {
        if (words[eval(idea + words.length)] == 'Tutorial') { idea++; }
        alldur=eval('' + words[eval(idea + words.length)]);
        if (alldur > defdur) { moretowait=eval(-defdur + alldur);  }
      }
         document.title= document.body.title.split(' //')[0].split(' 0')[0].split(' 1')[0].split(' 2')[0].split(' 3')[0].split(' 4')[0].split(' 5')[0].split(' 6')[0].split(' 7')[0].split(' 8')[0].split(' 9')[0] + ' ' + pbar; 
         document.getElementById('tmeter').innerHTML='<font size=1>' + unred(document.title) + '</font>' + bus + '<br>';
    } else {
    if (window.parent) {
       if (typeof parent.titleit == 'function') { 
         document.body.title='' + parent.titleit(inu.split('(')[1].split(')')[0], ial, jal);  
      words=document.getElementById('xbody').title.trim().split(' ');
      if (eval('' + words.length) >= 4) {
        if (words[eval(idea + words.length)] == 'Tutorial') { idea++; }
        alldur=eval('' + words[eval(idea + words.length)]);
        if (alldur > defdur) { moretowait=eval(-defdur + alldur);  }
      }
         document.title= document.body.title.split(' //')[0].split(' 0')[0].split(' 1')[0].split(' 2')[0].split(' 3')[0].split(' 4')[0].split(' 5')[0].split(' 6')[0].split(' 7')[0].split(' 8')[0].split(' 9')[0] + ' ' + pbar; 
         document.getElementById('tmeter').innerHTML='<font size=1>' + unred(document.title) + '</font>' + bus + '<br>';
       } 
    }
    if (window.opener) {
       if (typeof window.opener.titleit == 'function') { 
         document.body.title='' + window.opener.titleit(inu.split('(')[1].split(')')[0], ial, jal); 
      words=document.getElementById('xbody').title.trim().split(' ');
      if (eval('' + words.length) >= 4) {
        if (words[eval(idea + words.length)] == 'Tutorial') { idea++; }
        alldur=eval('' + words[eval(idea + words.length)]);
        if (alldur > defdur) { moretowait=eval(-defdur + alldur);  }
      }
         document.title= document.body.title.split(' //')[0].split(' 0')[0].split(' 1')[0].split(' 2')[0].split(' 3')[0].split(' 4')[0].split(' 5')[0].split(' 6')[0].split(' 7')[0].split(' 8')[0].split(' 9')[0] + ' ' + pbar; 
         document.getElementById('tmeter').innerHTML='<font size=1>' + unred(document.title) + '</font>' + bus + '<br>';
       } 
    }
    }
    //bus+='x';
    pbar=pbar.replace(whitesq, redsq);
    return opac + \"url('\" + inu.split('(')[1].split(')')[0] + \"')\"; // no-repeat contain
  }
  
  function jexpand(incsv) {
    ourcsvs=incsv.split(';')
    var outcsv=incsv.split(';')[0];

    if (incsv == '') { return outcsv; } 
    
    jaltanima=incsv.split(';')[0].split(',');
    jjal=pbarit(jaltanima.length);
    if (('' + jduris) == '0' || ('' + jduris) == '') { jduris=eval(" . $defdur . " * jjal); }
    
    var htbit='<img id=icursl style=object-fit:contain; src=' + jaltanima[0] + '></img><div class=\"meter\"><span style=\"width:95%;\"><span class=\"progress\"></span></span></div>';
    htbit='<span id=tmeter style=\"text-shadow:-1px 1px 1px #ff2d95;background-color:rgba(255,255,255,0.6);\"></span><div class=\"meter\" title=\"' + ftitle.split(' //')[0].split(' 0')[0].split(' 1')[0].split(' 2')[0].split(' 3')[0].split(' 4')[0].split(' 5')[0].split(' 6')[0].split(' 7')[0].split(' 8')[0].split(' 9')[0] + ' thread images ... click for blog, double click for web application\"><span style=\"width:95%;\"><span class=\"progress\"></span></span></div>';

    var stbit=\"<style> html, body {  height: 100%;  margin: 0; } .meter { margin-top:0.95%; \" + String.fromCharCode(10) + \"    height: 5px; \" + String.fromCharCode(10) + \"    position: relative; \" + String.fromCharCode(10) + \"    background: #f3efe6; \" + String.fromCharCode(10) + \"    overflow: hidden; \" + String.fromCharCode(10) + \" } \" + String.fromCharCode(10) + \" \" + String.fromCharCode(10) + \" .meter span { \" + String.fromCharCode(10) + \"    display: block; \" + String.fromCharCode(10) + \"    height: 100%; \" + String.fromCharCode(10) + \" } \" + String.fromCharCode(10) + \" \" + String.fromCharCode(10) + \" .progress { \" + String.fromCharCode(10) + \"    background-color: #e4c465; \" + String.fromCharCode(10) + \"    animation: progressBar \" + eval(" . $iwow . " + jduris) + \"s ease-in-out infinite; \" + String.fromCharCode(10) + \"    animation-fill-mode:both;  \" + String.fromCharCode(10) + \" } \" + String.fromCharCode(10) + \" \" + String.fromCharCode(10) + \" @keyframes progressBar { \" + String.fromCharCode(10) + \"  0% { width: 0; } \" + String.fromCharCode(10) + \"  100% { width: 100%; } \" + String.fromCharCode(10) + \"}  #xbody { background:" . $gopac . "URL('\" + jaltanima[0] + \"'); background-repeat:no-repeat; background-position:center; background-size:contain; } </style>\";

    var jsis=\" var ial=1; \" + String.fromCharCode(10) + \" var alcont='\" + incsv + \"'; \" + String.fromCharCode(10) + \" var alconta=alcont.split(','); \" + String.fromCharCode(10) + \" var jal=\" + jjal + '; ' + String.fromCharCode(10);
    jsis+=String.fromCharCode(10) + \" function animateit() { if (moretowait > 0) { setTimeout(animateit, Math.round(eval(1000 * moretowait)));  moretowait=0; return ''; }  if (ial < jal) {  if (document.getElementById('icursl')) { document.getElementById('icursl').src=alconta[ial]; }  document.getElementById('xbody').style.background=sqit('url(' + alconta[ial] + ')',ial);  document.getElementById('xbody').style.backgroundRepeat='no-repeat';  document.getElementById('xbody').style.backgroundPosition='center';  document.getElementById('xbody').style.backgroundSize='contain';  } else { ial=0;  if (fromarg != toarg) { location.href=document.URL; } else {  window.location.reload(); } firstsqit(); if (document.getElementById('icursl')) { document.getElementById('icursl').src=alconta[ial]; } document.getElementById('xbody').style.background=sqit('url(' + alconta[ial] + ')',ial);  document.getElementById('xbody').style.backgroundRepeat='no-repeat';  document.getElementById('xbody').style.backgroundPosition='center';  document.getElementById('xbody').style.backgroundSize='contain';  }  ial++;    setTimeout(animateit,defdurt); } \";


    return stbit + '<scri' + 'pt text/javascript> '  + jsis + '  setTimeout(animateit,defdurt);  ' + '</scri' + 'pt>' + String.fromCharCode(10) + htbit;
  }
  
  function hashit() {
    if (('' + location.hash).replace(/^undefined/g,'').replace(/^null/g,'').replace(/^#/g,'') != '') {
      document.getElementById('xbody').style.width='' + screen.width + 'px';
      document.getElementById('xbody').style.height='' + screen.height + 'px';
      document.write(jexpand(decodeURIComponent(('' + location.hash).replace(/^undefined/g,'').replace(/^null/g,'').replace(/^#/g,''))));
      var theusual=false;
    if (window.parent) {
       if (typeof parent.titleit == 'function') { 
         theusual=true;
       }
    }
    if (window.opener) {
       if (typeof window.opener.titleit == 'function') { 
         theusual=true;
       }
    }
    if (!theusual && eval('' + ourcsvs.length) > 3) {
     toarg='&dnar';
     if (document.URL.indexOf(toarg) == -1) {
     documentURL=document.URL.replace(fromarg, toarg);
     if (ourcsvs[eval(-1 + ourcsvs.length)].indexOf('/ITblog') == -1 && ourcsvs[eval(-1 + ourcsvs.length)].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,'') == '') {
      window.open('//www.rjmprogramming.com.au/ITblog/?p=' + ourcsvs[eval(-1 + ourcsvs.length)].split(',')[0].replace('http:','').replace('https:','').split('#')[0] + '#content','_blank','top=' + eval(-700 + screen.height) + ',left=' + eval(-700 + screen.width) + ',width=700,height=700');
     } else if (ourcsvs[eval(-1 + ourcsvs.length)].indexOf('/ITblog') == -1) {
      window.open(ourcsvs[eval(-1 + ourcsvs.length)].split(',')[0].replace('http:','').replace('https:','').split('#')[0] + '','_blank','top=' + eval(-700 + screen.height) + ',left=' + eval(-700 + screen.width) + ',width=700,height=700');
     } else {
      window.open(ourcsvs[eval(-1 + ourcsvs.length)].split(',')[0].replace('http:','').replace('https:','').split('#')[0] + '#content','_blank','top=' + eval(-700 + screen.height) + ',left=' + eval(-700 + screen.width) + ',width=700,height=700');
     }
     }
    }
    }
  }
  
  document.oncontextmenu=titleanalyze;
  document.onclick=analyzetitle;
  document.ondblclick=titleanalyze;
  
</scr" . "ipt>
</head>
<body id=xbody title='' onclick=analyzetitle(); oncontextmenu=titleanalyze(); ondblclick=titleanalyze(); onload=\" firstsqit(); if (typeof animateit == 'function') { setTimeout(animateit,defdurt); }  \" data-style=\"width:100%;height:100%;\">
<scri" . "pt text/javascript>
  hashit();
</scr" . "ipt>" . $ht . "
<div id=nonimagemedia></div>
</body>
</html>";
?>
