//
// Net:Results Tracking System 2.4
//
// Copyright (c) Fluency Media, LLC
// All Rights Reserved
// Copying, use, distribution prohibited except by license.
/*This script has been obfuscated with Syntropy's  JCE - Javascript Chaos Engine which can be downloaded at http://www.syntropy.se. JCE is free to use if this comment is not removed. */

var ClientID = "TM";
var UsePartialDomain = true;
var DoSiteEntryForAnonymous = true;
var SaveSiteEntryValues = true;

var oP = "netresults.fluencymedia.com"; function netResultsEntry(lZ) { } var _hh = null; function netResultsEvent(lZ, fT, Fv, fV) { var hW = document.location.protocol + "//" + oP + "/EV/" + ClientID + "/" + escape(lZ) + ".nr?RND=" + FL(); if (typeof (fT) != "undefined" && fT != "") { hW += "&R=" + escape(fT); } if (typeof (Fv) != "undefined" && Fv != "") { hW += "&SC=" + escape(Fv); } if (typeof (fV) != "undefined" && fV != "") { hW += "&U=" + escape(fV); } DY(hW, null); } function netResultsAfter(OZ) { if (JJ()) { if (_hh == null) { _hh = OZ; } else { _hh += ";" + OZ; } if (!JJ()) { window.setTimeout(_hh, 10000); } } else { eval(OZ); } } function xA() { var Dx = Dk(); if (Dx["NRX"] != null || Dx["NRC"] != null) { XH(Dx["NRC"], Dx["NRX"], Dx["NRS"]); } else if (Dx["NRDONE"] != null) { iu(false); } else if (uu("NetResults2") == null) { if (DoSiteEntryForAnonymous) { XH("", "", "", "", true); } } } function XH(vw, IE, IA, lZ, PL) { if (typeof (lZ) == "undefined" || lZ == "") { lZ = "SE"; } if (typeof (vw) == "undefined" || vw == null) { vw = ""; } if (typeof (IE) == "undefined" || IE == null) { IE = ""; } if (typeof (IA) == "undefined" || IA == null) { IA = ""; } if (typeof (PL) == "undefined") { PL = false; } var hW = document.location.protocol + "//" + oP + ((!PL) ? "/SE/" : "/SE_SESSION/") + ClientID + ".nr?NRC=" + escape(vw) + "&NRX=" + escape(IE) + "&EV=" + escape(lZ); if (IA != "") { hW += "&NRS=" + escape(IA); } if (document.referrer != null && document.referrer != "") { hW += "&ORIGREF=" + escape(document.referrer).replace(/\+/g, "%2B"); } hW += "&RND=" + FL(); if (SaveSiteEntryValues && (vw != "" || IE != "")) { var rf = new Object(); rf["NRC"] = vw; rf["NRX"] = IE; rf["NRS"] = IA; var xl = new Date(); xl.setTime(xl.getTime() + 90 * (24 * 60 * 60 * 1000)); sJ("NetResults2Value", rf, "/", ((PL) ? "" : xl), ((UsePartialDomain) ? op() : null)); } iu(PL); DY(hW, null); } function iu(PL) { var xl = new Date(); xl.setTime(xl.getTime() + 90 * (24 * 60 * 60 * 1000)); sJ("NetResults2", "true", "/", ((PL) ? "" : xl), ((UsePartialDomain) ? op() : null)); } function YR(hW, Qe) { this.hW = hW; this.Qe = Qe; return this; } var bp = new Array(); var Bu = -1; var hQ = false; var _ST = 0; var dL = new Image(); function DY(hW, Qe) { bp[bp.length] = new YR(hW, Qe); gd(); } function JJ() { return hQ || (bp.length > 0 && Bu < bp.length - 1); } function gd() { if (!hQ) { if (JJ()) { hQ = true; Bu++; var Gh = bp[Bu]; dL.onabort = dt; dL.onload = dt; dL.onerror = dt; dL.src = Gh.hW; _ST = window.setTimeout(dt, 15000); } else { if (_hh != null) { window.setTimeout(_hh, 750); _hh = null; } } } } function dt() { var Gh = bp[Bu]; hQ = false; if (_ST != 0) { window.clearTimeout(_ST); _ST = 0; } if (Gh.Qe != null) { eval(Gh.Qe); } window.setTimeout(gd, 400); } function FL() { return Math.floor(Math.random() * 7630452 + 1); } function Dk() { var CK = document.location.search; if (CK != "" && CK.charAt(0) == '?') { CK = CK.substring(1); } if (CK != "") { return Gu(CK); } else { return new Object(); } } function Gu(Dx) { var nt = new Object(); var kb = Dx.split('&'); for (i in kb) { var gM = kb[i].split('='); nt[gM[0]] = gM[1]; } return nt; } function op() { var gH = window.location.host; var qe = gH.split('.'); if (qe.length == 3 && qe[2].length > 2) { gH = qe[1] + '.' + qe[2]; } return gH; } function sJ(XV, EG, ac, wY, ht, Yu) { if (typeof (EG) == "string") { EG = escape(EG); } else { var tQ = ""; var Property; for (Property in EG) { if (tQ != "") { tQ += "&"; } tQ += escape(Property) + "=" + escape(EG[Property]); } EG = tQ; } document.cookie = XV + "=" + EG + ((wY) ? "; expires=" + wY.toGMTString() : "") + ((ac) ? "; path=" + ac : "") + ((ht) ? "; domain=" + ht : "") + ((Yu) ? "; secure" : ""); } function uu(XV) { var th = document.cookie; var to = XV + "="; var UB = th.indexOf("; " + to); if (UB == -1) { UB = th.indexOf(to); if (UB != 0) return null; } else { UB += 2; } var Pp = document.cookie.indexOf(";", UB); if (Pp == -1) { Pp = th.length; } return unescape(th.substring(UB + to.length, Pp)); } function au(XV, ac, ht) { if (uu(XV)) { document.cookie = XV + "=" + ((ac) ? "; path=" + ac : "") + ((ht) ? "; domain=" + ht : "") + "; expires=Thu, 01-Jan-70 00:00:01 GMT"; } } xA();
