<!--

var RDRID = -1;

function getHSEvents(pgRf)
{ 
   SI = pgRf.indexOf ("?");
   hses="";
   if (SI >= 0)
   {  QS = pgRf.substring (SI+1) + "&"; 
      SI = QS.indexOf ("&");
      while (SI >= 0)
      {st = QS.substring (0,SI);QS = QS.substring (SI+1);SI = QS.indexOf
("&");
      eV = st.split ("=");
      if (eV.length == 2) 
      {  tE = eV[0]; hsI = tE.indexOf ("hs");
         if (hsI == 0)  { tE = tE.substring (2);
            if (tE == 99) { RDRID = eV[1] }
	    else { hses = tE + "~" + escape(eV[1]) + "~" + hses;}}}}}

   return hses;
}
 
tagProt = "http";
if (document.location.protocol.indexOf('https') > -1)
{  tagProt = "https"; }
var ES = "28~flg";
var RN = 0;
var e5 = document.URL.toLowerCase();
 
var TR = document.referrer.toLowerCase();
DI = e5.indexOf("//");
if (DI != -1)
{  chkDom = e5.substring (DI + 2);
   DI = chkDom.indexOf ("/");
   if (DI != -1) { chkDom = chkDom.substring(0,DI) }
   var TR = document.referrer.toLowerCase();
   if (TR != "" && ((TR.indexOf (chkDom) == -1) || (TR.indexOf (chkDom)
> 15)))
   {   TR = escape (TR); SI = TR.indexOf ("/");
   while (SI  >= 0)
   {  st = TR.substring (0,SI); en = TR.substring (SI+1);
      TR = st + "%2F" + en; SI = TR.indexOf ("/"); }
   ES = "2~" + TR + "~" + ES; } }
 
if (window.RegExp) 
{   if (e5.match(/(http|https)\:\/\/www\./) == null)
   { e5 = e5.replace (/(http|https)\:\/\//,"$1://www."); }
   if (e5.match (/(http|https)\:\/\/.*\/.*/) == null)
   { e5 = e5 + "/"; } } 
else 
{   if (e5.indexOf("http://www.") == -1)
   {   e5 = "http://www." + e5.substring(7);  }
   if (e5.indexOf("/",8) == -1)
   {   e5 = e5 + "/";  } }
 
ES = "7~" + screen.width + "x" + screen.height + "~" + ES;
ES = "5~" + escape (e5) + "~" + ES;
ES = ES + "~" + getHSEvents(document.URL.toLowerCase());
if (document.h_xes_ao && document.h_xes_ao.x_ao)
{ ES = ES + document.h_xes_ao.x_ao.value;}
if (ES != "" && RDRID == -1)
{  ES = "spacer.gif?event=" + ES; }
else if (ES != "" && RDRID != -1)
{  ES = RDRID + ".rdr?" + ES }
document.write ("<img name='hs_pix_es' src='" + tagProt + "://images.trafficmentorseo.com/" + ES + "' border=0 height=1 width=1>");
//-->


