// To use this, add the following lines to the pages that you wish to track.
// Fill trackingpixels with pixel URLs inside "", separated by commas
// Use [timestamp] in urls for a cachebuster.
// <SCRIPT type="text/javascript">var trackingpixels=new Array();</SCRIPT>
// <SCRIPT type="text/javascript" SRC="http://cache.ultramercial.com/s/shadow.js"></SCRIPT>
//
// here's the script, don't touch this:

<? include "pixelarray.js"; ?>

try { 
  if (Failover_Time>0) {  // throws error if not set
    var countdown=setTimeout("um_timeout();",Failover_Time*1000);
  } else {
    um_groundhogday();
  }
} catch(er) { 
  um_groundhogday();
}
  
function um_flashloaded() { // call off the dogs  
  // but only if Failover_Time is set
  try { 
    if (Failover_Time>0) { // throws error if not set
      clearTimeout(countdown);  
      um_groundhogday();
    }
  } catch(er) { 
  }
}
function um_timeout() {  // inevitable
  window.location.replace(HTML_Failover_Path);
}

function um_groundhogday() {  // see the shadow
  var hcea=new Array();
  hcea[0]=escape(location.href); // hcel
  hcea[1]=hcrn();
  hcea[2]=escape(hcerc('uri')); // hceu
  var hcep='shadow.um';  // hcep
  try { hcf(hcessf,hcep,hcea); } catch(er) { }
  try { hcb(hcessb,hcep,hcea); } catch(er) { }
  try { hct(trackingpixels);   } catch(er) { }
}


