Tue Sep 27 2016
Copied to clipboard! Copy reply
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
var mboxCopyright = "Copyright 1996-2015. Adobe Systems Incorporated. All rights reserved.";var TNT = TNT || {};TNT.a = (function() { return { nestedMboxes: [], b: { companyName: "Test&Target", isProduction: true, adminUrl: "http://admin9.testandtarget.omniture.com/admin", clientCode: "rosettastone", serverHost: "rosettastone.tt.omtrdc.net", mboxTimeout: 15000, mboxLoadedTimeout: 100, mboxFactoryDisabledTimeout: 30 * 60, bodyPollingTimeout: 16, bodyHidingEnabled: true, bodyHiddenStyle: "body{opacity:0}", sessionExpirationTimeout: 31 * 60, experienceManagerDisabledTimeout: 30 * 60, experienceManagerTimeout: 5000, visitorApiTimeout: 500, visitorApiPageDisplayTimeout: 500, overrideMboxEdgeServer: false, overrideMboxEdgeServerTimeout: 31 * 60, tntIdLifetime: 7776000, crossDomain: "disabled", trafficDuration: 10368000, trafficLevelPercentage: 100, clientSessionIdSupport: false, clientTntIdSupport: false, passPageParameters: true, usePersistentCookies: true, crossDomainEnabled: false, crossDomainXOnly: false, imsOrgId: "5E38123F5245B2D20A490D45@AdobeOrg", globalMboxName: "target-global-mbox", globalMboxLocationDomId: "", globalMboxAutoCreate: false, experienceManagerPluginUrl: "//cdn.tt.omtrdc.net/cdn/target.js", siteCatalystPluginName: "tt", mboxVersion: 61, optoutEnabled: false, mboxIsSupportedFunction: function() { return true; }, parametersFunction: function() { return ""; }, cookieDomainFunction: function() { var c = (/([^:]*)(:[0-9]{0,5})?/).exec(document.location.host)[1];
var d = /[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}/;

if (!d.exec(c)) {
 var e =
 (/([^\.]+\.[^\.]{3}|[^\.]+\.[^\.]+\.[^\.]{2})$/).exec(c);
 if (e) {
 c = e[0];
 }
 }

if(document.location.host.indexOf('.rosettastone.de')!=-1){
 c='.rosettastone.de'; 
 }

return c ? c: ""; } }, f: { g: "mboxPage", h: "mboxMCGVID", i: "mboxMCGLH", j: "mboxAAMB", k: "mboxMCAVID", l: "mboxMCSDID", m: "mboxCount", n: "mboxHost", o: "mboxFactoryId", p: "mboxPC", q: "screenHeight", r: "screenWidth", s: "browserWidth", t: "browserHeight", u: "browserTimeOffset", v: "colorDepth", w: "mboxXDomain", x: "mboxURL", y: "mboxReferrer", z: "mboxVersion", A: "mbox", B: "mboxId", C: "mboxDOMLoaded", D: "mboxTime", E: "scPluginVersion" }, F: { G: "mboxDisable", H: "mboxSession", I: "mboxEnv", J: "mboxDebug" }, K: { G: "disable", H: "session", p: "PC", L: "level", M: "check", J: "debug", N: "em-disabled", O: "mboxEdgeServer" }, P: { Q: "default", R: "mbox", S: "mboxImported-", T: 60000, U: "mboxDefault", V: "mboxMarker-", W: 250, E: 1, X: "mboxedge", Y: "tt.omtrdc.net" } }}());TNT.a.Z = {};(function(_) { var ab = {}.toString; function bb(cb) { return cb === void(0); } function db(cb) { return cb === null; } function eb(cb) { if (bb(cb) || db(cb)) { return true; } return cb.length === 0; } function fb(cb) { return ab.call(cb) === '[object Function]'; } function gb(cb) { return ab.call(cb) === '[object Array]'; } function hb(cb) { return ab.call(cb) === '[object String]'; } function ib(cb) { return ab.call(cb) === '[object Object]'; } function jb(kb, lb) { var mb = kb.length, nb = -1; while (++nb < mb) { lb(kb[nb]); } } _.bb = bb; _.db = db; _.eb = eb; _.fb = fb; _.gb = gb; _.hb = hb; _.ib = ib; _.jb = jb;}(TNT.a.Z));mboxUrlBuilder = function(ob, pb) { this.ob = ob; this.pb = pb; this.qb = []; this.rb = function(x) { return x; }; this.sb = null;};mboxUrlBuilder.prototype = { constructor: mboxUrlBuilder, addNewParameter: function (tb, cb) { this.qb.push({name: tb, value: cb}); return this; }, addParameterIfAbsent: function (tb, cb) { if (!cb) { return; } for (var ub = 0; ub < this.qb.length; ub++) { var vb = this.qb[ub]; if (vb.name === tb) { return this; } } this.checkInvalidCharacters(tb); return this.addNewParameter(tb, cb); }, addParameter: function(tb, cb) { this.checkInvalidCharacters(tb); for (var ub = 0; ub < this.qb.length; ub++) { var vb = this.qb[ub]; if (vb.name === tb) { vb.value = cb; return this; } } return this.addNewParameter(tb, cb); }, addParameters: function(qb) { if (!qb) { return this; } for (var ub = 0; ub < qb.length; ub++) { var wb = qb[ub]; var xb = wb.indexOf('='); if (xb === -1 || xb === 0) { continue; } this.addParameter(wb.substring(0, xb), wb.substring(xb + 1, wb.length)); } return this; }, setServerType: function(yb) { this.zb = yb; }, setBasePath: function(sb) { this.sb = sb; }, setUrlProcessAction: function(Ab) { this.rb = Ab; }, buildUrl: function() { var Bb = TNT.a.Cb(this.ob), Db = this.sb ? this.sb : '/m2/' + this.pb + '/mbox/' + this.zb, x = "https://" + Bb + Db, Eb = []; for (var ub = 0; ub < this.qb.length; ub++) { var vb = this.qb[ub]; Eb.push(encodeURIComponent(vb.name) + '=' + encodeURIComponent(vb.value)); } x += x.indexOf('?') != -1 ? '&' + Eb.join('&') : '?' + Eb.join('&'); return this.Fb(this.rb(x)); }, getParameters: function() { return this.qb; }, setParameters: function(qb) { this.qb = qb; }, clone: function() { var Gb = new mboxUrlBuilder(this.ob, this.pb); Gb.setServerType(this.zb); Gb.setBasePath(this.sb); Gb.setUrlProcessAction(this.rb); for (var ub = 0; ub < this.qb.length; ub++) { Gb.addParameter(this.qb[ub].name, this.qb[ub].value); } return Gb; }, Fb: function(Hb) { return Hb.replace(/\"/g, '&quot;').replace(/>/g, '&gt;'); }, checkInvalidCharacters: function (tb) { var Ib = new RegExp('(\'|")'); if (Ib.exec(tb)) { throw "Parameter '" + tb + "' contains invalid characters"; } }};TNT.a.Jb = function() { var Kb = [], Lb = 0, Mb = []; function Nb(Ob, Pb) { Lb += 1; Kb[Ob] = Pb; Qb(); } function Qb() { var mb = Mb.length, nb = -1, Rb; if (Lb !== Kb.length || !Mb.length) { return; } while (++nb < mb) { Rb = Mb[nb]; Rb.fn.apply(Rb.ctx, Kb); } } return { Sb: function () { var Ob = Kb.length; Kb[Kb.length] = null; return function () { Nb(Ob, [].slice.call(arguments)); }; }, Tb: function (cb, context) { Mb.push({fn: cb, ctx: context}); Qb(); } };};(function(_, Z, f, b, Ub) { var Vb = new RegExp("\\|MCMID\\|"), Wb = 'vst.', Xb = Wb + 'trk', Yb = Wb + 'trks'; function Zb(_b, cb) { return encodeURIComponent(_b) + '=' + encodeURIComponent(cb); } function ac(bc) { var cc, dc = function(_b) { return Wb + _b; }; if (!Z.fb(bc.getCustomerIDs)) { return []; } cc = bc.getCustomerIDs(); if (!Z.ib(cc)) { return []; } return _.ec(cc, [], dc); } function fc(bc, gc) { var hc = bc.trackingServer, ic = bc.trackingServerSecure; if (hc) { gc.push(Zb(Xb, hc)); } if (ic) { gc.push(Zb(Yb, ic)); } } function jc(bc, gc) { gc.push.apply(gc, ac(bc)); } function kc(Pb) { var gc = []; Z.jb(Pb, function(kb) { gc.push(kb[0]); }); return gc; } function lc(mc) { return !Z.eb(mc.value); } function nc(Jb, bc, oc, _b) { var pc; if (!Z.fb(bc[oc])) { return; } pc = Jb.Sb(); bc[oc](function(cb) { pc({key:_b, value: cb}); }, true); } function qc(Jb, bc, rc) { rc(Jb, bc, 'getMarketingCloudVisitorID', f.h); rc(Jb, bc, 'getAudienceManagerBlob', f.j); rc(Jb, bc, 'getAnalyticsVisitorID', f.k); rc(Jb, bc, 'getAudienceManagerLocationHint', f.i); } function sc(Jb, bc, tc, uc, vc) { if (uc) { window.clearTimeout(tc.id); vc({optout: uc, params: []}); wc(); return; } qc(Jb, bc, nc); Jb.Tb(function() { if (tc.done) { return; } var f = kc([].slice.call(arguments)), gc = []; window.clearTimeout(tc.id); Z.jb(f, function(mc) { if (lc(mc)) { gc.push(Zb(mc.key, mc.value)); } }); jc(bc, gc); fc(bc, gc); vc({optout: uc, params: gc}); wc(); }); } function xc(yc) { var bc; if (Z.eb(yc) || Z.bb(window.Visitor) || !Z.fb(window.Visitor.getInstance)) { return null; } bc = window.Visitor.getInstance(yc); if (Z.bb(bc) || Z.db(bc) || !bc.isAllowed()) { return null; } return bc; } function zc() { return !Z.db(xc(b.imsOrgId)); } function Ac() { var bc = xc(b.imsOrgId); if (Z.db(bc)) { return false; } if (Z.bb(bc.cookieName)) { return false; } if (!Z.fb(bc.cookieRead)) { return false; } var Bc = bc.cookieRead(bc.cookieName); if (Z.eb(Bc)) { return false; } return Vb.test(Bc); } function Cc(bc, Dc) { return Dc && Z.fb(bc.isOptedOut) && !Z.bb(window.Visitor.OptOut); } function Ec(Dc, vc) { var yc = b.imsOrgId, Fc = b.visitorApiTimeout, Jb = Ub(), tc = {id: NaN, done: false}, bc; bc = xc(yc); if (Z.db(bc)) { vc(null); return; } Gc(); tc.id = window.setTimeout(function() { tc.done = true; vc(null); wc(); }, Fc); if (Cc(bc, Dc)) { bc.isOptedOut(function(uc) { sc(Jb, bc, tc, uc, vc); }, window.Visitor.OptOut.GLOBAL, true); } else { sc(Jb, bc, tc, false, vc); } } function Hc(bc, oc, _b, Ic) { if (bc[oc]) { var cb = bc[oc](); if (cb) { Ic.push(Zb(_b, cb)); } } } function Jc() { var bc = xc(b.imsOrgId), gc = []; Hc(bc, 'getMarketingCloudVisitorID', f.h, gc); Hc(bc, 'getAudienceManagerBlob', f.j, gc); Hc(bc, 'getAnalyticsVisitorID', f.k, gc); Hc(bc, 'getAudienceManagerLocationHint', f.i, gc); jc(bc, gc); fc(bc, gc); return gc; } function Kc(A) { var yc = b.imsOrgId, pb = b.clientCode, bc = xc(yc); if (Z.db(bc) || !Z.fb(bc.getSupplementalDataID)) { return ''; } return bc.getSupplementalDataID('mbox:' + pb + ':' + A); } function Gc() { if (!b.bodyHidingEnabled) { return; } if (!b.globalMboxAutoCreate) { return } var Lc = document.getElementsByTagName('head')[0]; var Mc = document.createElement('style'); Mc.type = 'text/css'; Mc.id = 'at-id-body-style'; if (Mc.styleSheet){ Mc.styleSheet.cssText = css; } else { Mc.appendChild(document.createTextNode(b.bodyHiddenStyle)); } if (Lc) { Lc.appendChild(Mc); } } function wc() { if (!b.bodyHidingEnabled) { return; } if (!b.globalMboxAutoCreate) { return } window.setTimeout(function() { var Lc = document.getElementsByTagName('head')[0]; var Mc = document.getElementById('at-id-body-style'); if (Lc && Mc) { Lc.removeChild(Mc); } }, b.visitorApiPageDisplayTimeout); } _.zc = zc; _.Ac = Ac; _.Ec = Ec; _.Jc = Jc; _.Kc = Kc;}(TNT.a, TNT.a.Z, TNT.a.f, TNT.a.b, TNT.a.Jb));mboxStandardFetcher = function() { };mboxStandardFetcher.prototype = { constructor: mboxStandardFetcher, getType: function() { return 'standard'; }, fetch: function(Nc) { Nc.setServerType(this.getType()); document.write('<' + 'scr' + 'ipt src="' + Nc.buildUrl() + '"><' + '\/scr' + 'ipt>'); }, cancel: function() { }};mboxAjaxFetcher = function() { };mboxAjaxFetcher.prototype = { constructor: mboxAjaxFetcher, getType: function() { return 'ajax'; }, fetch: function(Nc) { Nc.setServerType(this.getType()); var Lc = document.getElementsByTagName('head')[0], Oc = document.createElement('script'); Oc.src = Nc.buildUrl(); Lc.appendChild(Oc); }, cancel: function() {}};(function(_){ function Pc() {} Pc.prototype = { constructor: Pc, getType: function() { return 'ajax'; }, fetch: function(Nc) { Nc.setServerType(this.getType()); document.write('<' + 'scr' + 'ipt src="' + Nc.buildUrl() +'"><' + '\/scr' + 'ipt>'); }, cancel: function() { } }; _.Pc = Pc;}(TNT.a));mboxMap = function() { this.Qc = {}; this.Rc = [];};mboxMap.prototype = { constructor: mboxMap, put: function(_b, cb) { if (!this.Qc[_b]) { this.Rc[this.Rc.length] = _b; } this.Qc[_b] = cb; }, get: function(_b) { return this.Qc[_b]; }, remove: function(_b) { var Sc = []; this.Qc[_b] = undefined; for (var i = 0; i < this.Rc.length; i++) { if (this.Rc[i] !== _b) { Sc.push(this.Rc[i]); } } this.Rc = Sc; }, each: function(Ab) { for (var ub = 0; ub < this.Rc.length; ub++ ) { var _b = this.Rc[ub]; var cb = this.Qc[_b]; if (cb) { var gc = Ab(_b, cb); if (gc === false) { break; } } } }, isEmpty: function() { return this.Rc.length === 0; }};mboxList = function() { this.Tc = [];};mboxList.prototype = { constructor: mboxList, add: function(Uc) { if (!Uc) { return; } this.Tc.push(Uc); }, get: function(A) { var gc = new mboxList(); for (var ub = 0; ub < this.Tc.length; ub++) { var Uc = this.Tc[ub]; if (Uc.getName() === A) { gc.add(Uc); } } return gc; }, getById: function(Ob) { return this.Tc[Ob]; }, length: function() { return this.Tc.length; }, each: function(Ab) { var Z = TNT.a.Z; if (!Z.fb(Ab)) { throw 'Action must be a function, was: ' + typeof(Ab); } for (var ub = 0; ub < this.Tc.length; ub++) { Ab(this.Tc[ub]); } }};mboxSignaler = function(Vc) { this.Vc = Vc;};mboxSignaler.prototype = { constructor: mboxSignaler, signal: function(Wc, A ) { if (!this.Vc.isEnabled()) { return; } var Xc = mboxSignaler.Yc(), Zc = this._c(this.Vc.ad(A)); Xc.appendChild(Zc); var Pb = [].slice.call(arguments, 1), Uc = this.Vc.create(A, Pb, Zc), Nc = Uc.getUrlBuilder(); Nc.addParameter(TNT.a.f.g, mboxGenerateId()); Uc.setFetcher(new mboxAjaxFetcher()); Uc.load(); }, _c: function(bd) { var gc = document.createElement('div'); gc.id = bd; gc.style.visibility = 'hidden'; gc.style.display = 'none'; return gc; }};mboxSignaler.Yc = function() { return document.body;};mboxLocatorDefault = function(cd) { this.cd = cd; document.write('<div id="' + this.cd + '" style="visibility:hidden;display:none">&nbsp;<\/div>');};mboxLocatorDefault.prototype = { constructor: mboxLocatorDefault, locate: function() { var dd = 1, ed = document.getElementById(this.cd); while (ed) { if (ed.nodeType === dd && ed.className && ed.className.indexOf('mboxDefault') !== -1) { return ed; } ed = ed.previousSibling; } return null; }, force: function() { var fd = document.getElementById(this.cd), gd = document.createElement('div'); gd.className = 'mboxDefault'; if (fd) { fd.parentNode.insertBefore(gd, fd); } return gd; }};mboxLocatorNode = function(ed) { this.ed = ed;};mboxLocatorNode.prototype = { constructor: mboxLocatorNode, locate: function() { return typeof(this.ed) === 'string' ? document.getElementById(this.ed) : this.ed; }, force: function() { return null; }};mboxOfferContent = function() { this.hd = function() {};};mboxOfferContent.prototype = { constructor: mboxOfferContent, show: function (Uc) { var gc = Uc.showContent(document.getElementById(Uc.getImportName())); if (gc === 1) { this.hd(); } return gc; }, setOnLoad: function(hd) { this.hd = hd; }};mboxOfferAjax = function(id) { this.id = id; this.hd = function() {};};mboxOfferAjax.prototype = { constructor: mboxOfferAjax, setOnLoad: function(hd) { this.hd = hd; }, show: function(Uc) { var jd = document.createElement('div'), gc; jd.id = Uc.getImportName(); jd.innerHTML = this.id; gc = Uc.showContent(jd); if (gc === 1) { this.hd(); } return gc; }};mboxOfferDefault = function() { this.hd = function() {};};mboxOfferDefault.prototype = { constructor: mboxOfferDefault, show: function(Uc) { var gc = Uc.hide(); if (gc === 1) { this.hd(); } return gc; }, setOnLoad: function(hd) { this.hd = hd; }};mboxCookieManager = function(tb, c) { this.tb = tb; this.kd = TNT.a.K.M; this.ld = TNT.a.b.crossDomainXOnly; this.md = TNT.a.K.G; this.nd = TNT.a.b.usePersistentCookies; this.od = new mboxMap(); this.c = c === '' || c.indexOf('.') === -1 ? '' : '; domain=' + c; this.loadCookies();};mboxCookieManager.prototype = { constructor: mboxCookieManager, isEnabled: function() { this.setCookie(this.kd, 'true', 60); this.loadCookies(); return this.getCookie(this.kd) == 'true'; }, setCookie: function(tb, cb, pd) { if (typeof tb == 'undefined' || typeof cb == 'undefined' || typeof pd == 'undefined') { return; } var qd = Math.ceil(pd + new Date().getTime() / 1000), rd = mboxCookieManager.sd(tb, encodeURIComponent(cb), qd); this.od.put(tb, rd); this.saveCookies(); }, getCookie: function(tb) { var rd = this.od.get(tb); return rd ? decodeURIComponent(rd.value) : null; }, deleteCookie: function(tb) { this.od.remove(tb); this.saveCookies(); }, getCookieNames: function(td) { var ud = []; this.od.each(function(tb, rd) { if (tb.indexOf(td) === 0) { ud[ud.length] = tb; } }); return ud; }, saveCookies: function() { var vd = this, wd = [], xd = 0; this.od.each(function(tb, rd) { if(!vd.ld || tb === vd.md) { wd[wd.length] = mboxCookieManager.yd(rd); if (xd < rd.expireOn) { xd = rd.expireOn; } } }); var zd = new Date(xd * 1000); var Eb = []; Eb.push(this.tb, '=', wd.join('|')); if (vd.nd) { Eb.push('; expires=', zd.toGMTString()); } Eb.push('; path=/', this.c); document.cookie = Eb.join(""); }, loadCookies: function() { var Ad = mboxCookieManager.Bd(this.tb), Cd = mboxCookieManager.Dd(Ad), Ed = Math.ceil(new Date().getTime() / 1000); this.od = new mboxMap(); for (var ub = 0; ub < Cd.length; ub++) { var rd = mboxCookieManager.Fd(Cd[ub]); if (Ed > rd.expireOn) { continue; } this.od.put(rd.name, rd); } }};mboxCookieManager.yd = function(rd) { return rd.name + '#' + rd.value + '#' + rd.expireOn;};mboxCookieManager.Fd = function(ab) { var Eb = ab.split('#'); return mboxCookieManager.sd(Eb[0], Eb[1], Eb[2]);};mboxCookieManager.sd = function(tb, cb, qd) { return {name: tb, value: cb, expireOn: qd};};mboxCookieManager.Bd = function(tb) { var result = new RegExp('(^|; )' + encodeURIComponent(tb) + '=([^;]*)').exec(document.cookie); return result ? result[2] : null;};mboxCookieManager.Dd = function(ab) { if (!ab) { return []; } return ab.split('|');};mboxSession = function(Gd, Hd, Id, Jd, Kd) { var Ld = window.mboxForceSessionId; this.Id = Id; this.Jd = Jd; this.Kd = Kd; this.bd = typeof(Ld) !== 'undefined' ? Ld : mboxGetPageParameter(Hd, true); this.bd = this.bd || Kd.getCookie(Id) || Gd; this.Kd.setCookie(Id, this.bd, Jd);};mboxSession.prototype = { constructor: mboxSession, getId: function() { return this.bd; }, forceId: function(Md) { this.bd = Md; this.Kd.setCookie(this.Id, this.bd, this.Jd); }};mboxPC = function(Id, Jd, Kd) { var Nd = window.mboxForcePCId; this.Id = Id; this.Jd = Jd; this.Kd = Kd; this.bd = typeof(Nd) != 'undefined' ? Nd: Kd.getCookie(Id); if (this.bd) { Kd.setCookie(Id, this.bd, Jd); }};mboxPC.prototype = { constructor: mboxPC, getId: function() { return this.bd; }, forceId: function(Md) { if (this.bd === Md) { return false; } this.bd = Md; this.Kd.setCookie(this.Id, this.bd, this.Jd); return true; }};(function(_, Z, K, b, P) { var Od = new RegExp(".*\\.(\\d+)_\\d+"); function Cb(Qd) { var Rd = Od.exec(Qd); if (Rd && Rd.length === 2) { return P.X + Rd[1] + '.' + P.Y; } return ''; } function Sd(Kd, Td) { var Bb = Cb(Td); if (!Z.eb(Bb)) { Kd.setCookie(K.O, Bb, b.overrideMboxEdgeServerTimeout); } } function Ud(Vd, Kd) { this.Vd= Vd; this.Kd = Kd; Sd(Kd, Vd.getId()); } Ud.prototype = { constructor: Ud, getId: function() { return this.Vd.getId(); }, forceId: function(Md) { if (!this.Vd.forceId(Md)) { return false; } Sd(this.Kd, Md); return true; } }; _.Ud = Ud;}(TNT.a, TNT.a.Z, TNT.a.K, TNT.a.b, TNT.a.P));mboxGetPageParameter = function(tb, Wd) { Wd = Wd || false; var Xd; if (Wd) { Xd = new RegExp("\\?[^#]*" + tb + "=([^\&;#]*)", "i"); } else { Xd = new RegExp("\\?[^#]*" + tb + "=([^\&;#]*)"); } var gc = null; var Yd = Xd.exec(document.location); if (Yd && Yd.length >= 2) { gc = Yd[1]; } return gc;};mboxCookiePageDomain = function() { var c = (/([^:]*)(:[0-9]{0,5})?/).exec(document.location.host)[1]; var d = /[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}/; if (!d.exec(c)) { var e = (/([^\.]+\.[^\.]{3}|[^\.]+\.[^\.]+\.[^\.]{2})$/).exec(c); if (e) { c = e[0]; if (c.indexOf("www.") === 0) { c=c.substr(4); } } } return c ? c: "";};mboxShiftArray = function(Zd) { var gc = []; for (var ub = 1; ub < Zd.length; ub++) { gc[gc.length] = Zd[ub]; } return gc;};mboxGenerateId = function() { var s = [], hex = '0123456789abcdef'; for (var i = 0; i < 36; i++) { s[i] = hex.substr(Math.floor(Math.random() * 0x10), 1); } s[14] = '4'; s[19] = hex.substr((s[19] & 0x3) | 0x8, 1); s[8] = s[13] = s[18] = s[23] = '-'; return s.join('').replace(/-/g, '');};mboxScreenHeight = function() { return screen.height;};mboxScreenWidth = function() { return screen.width;};mboxBrowserWidth = function() { return (window.innerWidth) ? window.innerWidth : document.documentElement ? document.documentElement.clientWidth : document.body.clientWidth;};mboxBrowserHeight = function() { return (window.innerHeight) ? window.innerHeight : document.documentElement ? document.documentElement.clientHeight : document.body.clientHeight;};mboxBrowserTimeOffset = function() { return -new Date().getTimezoneOffset();};mboxScreenColorDepth = function() { return screen.pixelDepth;};mbox = function(tb, bd, Nc, _d, ae, Vc) { this.be = null; this.ce = 0; this.de = _d; this.ae = ae; this.ee = null; this.fe = new mboxOfferContent(); this.gd = null; this.Nc = Nc; this.message = ''; this.ge = {}; this.he = 0; this.ie = 5; this.bd = bd; this.tb = tb; this.je(); Nc.addParameter(TNT.a.f.A, tb); Nc.addParameter(TNT.a.f.B, bd); this.ke = function() {}; this.hd = function() {}; this.le = null; this.me = document.documentMode >= 10 && !Vc.isDomLoaded(); if (this.me) { this.ne = TNT.a.nestedMboxes; this.ne.push(this.tb); }};mbox.prototype.getId = function() { return this.bd;};mbox.prototype.je = function() { var maxLength = TNT.a.P.W; if (this.tb.length > maxLength) { throw "Mbox Name " + this.tb + " exceeds max length of " + maxLength + " characters."; } else if (this.tb.match(/^\s+|\s+$/g)) { throw "Mbox Name " + this.tb + " has leading/trailing whitespace(s)."; }};mbox.prototype.getName = function() { return this.tb;};mbox.prototype.getParameters = function() { var qb = this.Nc.getParameters(); var gc = []; for (var ub = 0; ub < qb.length; ub++) { if (qb[ub].name.indexOf('mbox') !== 0) { gc[gc.length] = qb[ub].name + '=' + qb[ub].value; } } return gc;};mbox.prototype.setOnLoad = function(Ab) { this.hd = Ab; return this;};mbox.prototype.setMessage = function(oe) { this.message = oe; return this;};mbox.prototype.setOnError = function(ke) { this.ke = ke; return this;};mbox.prototype.setFetcher = function(pe) { if (this.ee) { this.ee.cancel(); } this.ee = pe; return this;};mbox.prototype.getFetcher = function() { return this.ee;};function qe(Nc, Uc) { var re = TNT.a, b = re.b, se = b.mboxTimeout; if (re.zc() && re.Ac()) { Nc.addParameters(re.Jc()); } Uc.ee.fetch(Nc); Uc.te = setTimeout(function() { Uc.ke('browser timeout', Uc.ee.getType()); }, se);}function ue(Uc) { var le = Uc.getDefaultDiv(); if (le) { Uc.ve(Uc.getDefaultDiv()); }}function we(Nc, Uc, Dc) { var re = TNT.a; Uc.setFetcher(new mboxAjaxFetcher()); re.Ec(Dc, function(xe) { if (xe === null) { qe(Nc, Uc); return; } if (Dc && xe.optout) { ue(Uc); return; } Nc.addParameters(xe.params); qe(Nc, Uc); });}mbox.prototype.load = function(qb) { var vd = this, Nc = vd.Nc, re = TNT.a, b = re.b, Dc = b.optoutEnabled; if (vd.ee === null) { return vd; } vd.cancelTimeout(); vd.ce = 0; if (qb && qb.length > 0) { Nc = vd.Nc.clone().addParameters(qb); } if (Dc && re.zc()) { we(Nc, vd, Dc); return vd; } var zc = re.zc(); if (zc && !re.Ac()) { we(Nc, vd, false); return vd; } qe(Nc, vd); return vd;};mbox.prototype.loaded = function() { this.cancelTimeout(); if (!this.activate() && this.he < this.ie) { var vd = this; setTimeout(function() { vd.loaded(); }, TNT.a.b.mboxLoadedTimeout); }};mbox.prototype.activate = function() { if (this.ce) { return this.ce; } if (this.me && this.ne[this.ne.length - 1] !== this.tb) { return this.ce; } if (this.show()) { this.cancelTimeout(); this.ce = 1; } if (this.me) { this.ne.pop(); } return this.ce;};mbox.prototype.isActivated = function() { return this.ce;};mbox.prototype.setOffer = function(fe) { var ye = fe && fe.show && fe.setOnLoad; if (!ye) { throw 'Invalid offer'; } var ze = TNT.a.b.globalMboxName === this.tb; ze = ze && fe instanceof mboxOfferDefault; ze = ze && this.ee !== null; ze = ze && this.ee.getType() === 'ajax'; if (!ze) { this.fe = fe; return this; } var Ae = this.fe.hd; this.fe = fe; this.fe.setOnLoad(Ae); return this;};mbox.prototype.getOffer = function() { return this.fe;};mbox.prototype.show = function() { return this.fe.show(this);};mbox.prototype.showContent = function(id) { if (!mbox.Be(id)) { return 0; } this.gd = mbox.Ce(this, this.gd); if (this.gd === null) { return 0; } if (!mbox.De(document.body, this.gd)) { return 0; } if (this.gd === id) { this.ve(this.gd); this.hd(); return 1; } this.Ee(this.gd); this.Ee(id); mbox.Fe(this, id); this.ve(this.gd); this.hd(); return 1;};mbox.Be = function(id) { return id !== undefined && id !== null;};mbox.De = function(Ge, He) { var DOCUMENT_POSITION_CONTAINED_BY = 16; var Ie = Ge.contains !== undefined; if (Ie) { return Ge !== He && Ge.contains(He); } else { return Boolean(Ge.compareDocumentPosition(He) & DOCUMENT_POSITION_CONTAINED_BY); }};mbox.Ce = function(Uc, gd) { if (gd !== undefined && gd !== null && mbox.De(document.body, gd)) { return gd; } return Uc.getDefaultDiv();};mbox.Fe = function(Uc, Je) { Uc.gd.parentNode.replaceChild(Je, Uc.gd); Uc.gd = Je;};mbox.prototype.hide = function() { return this.showContent(this.getDefaultDiv());};mbox.prototype.finalize = function() { if (!this.getDefaultDiv()) { this.de.force(); } if (!this.getDiv()) { this.gd = mbox.Ce(this, this.gd); } this.Ke(); this.setFetcher(new mboxAjaxFetcher()); this.cancelTimeout(); this.hd();};mbox.prototype.cancelTimeout = function() { if (this.te) { clearTimeout(this.te); } if (this.ee) { this.ee.cancel(); }};mbox.prototype.getDiv = function() { return this.gd;};mbox.prototype.getDefaultDiv = function() { if (this.le === null) { this.le = this.de.locate(); } return this.le;};mbox.prototype.setEventTime = function(Le) { this.ge[Le] = (new Date()).getTime();};mbox.prototype.getEventTimes = function() { return this.ge;};mbox.prototype.getImportName = function() { return this.ae;};mbox.prototype.getURL = function() { return this.Nc.buildUrl();};mbox.prototype.getUrlBuilder = function() { return this.Nc;};mbox.prototype.Me = function(gd) { return gd.style.display != 'none';};mbox.prototype.ve = function(gd) { this.Ne(gd, true);};mbox.prototype.Ee = function(gd) { this.Ne(gd, false);};mbox.prototype.Ne = function(gd, Oe) { gd.style.visibility = Oe ? "visible" : "hidden"; gd.style.display = Oe ? "block" : "none";};mbox.prototype.Ke = function() { this.me = false;};mbox.prototype.relocateDefaultDiv = function() { this.le = this.de.locate();};function Pe(Vc) { Vc.getMboxes().each(function(Uc) { Uc.finalize(); });}mboxFactory = function(Bb, pb, Qe) { var re = TNT.a; var b = re.b; var Z = re.Z; var K = re.K; var F = re.F; var P = re.P; var Re = b.mboxVersion; this.Se = false; this.Qe = Qe; this.Tc = new mboxList(); mboxFactories.put(Qe, this); this.Te = b.mboxIsSupportedFunction() && typeof (window.attachEvent || document.addEventListener || window.addEventListener) != 'undefined'; this.Ue = this.Te && mboxGetPageParameter(F.G, true) === null; var Ve = Qe == P.Q; var Id = P.R + (Ve ? '' : ('-' + Qe)); this.Kd = new mboxCookieManager(Id, b.cookieDomainFunction()); if (!b.crossDomainXOnly) { this.Ue = this.Ue && this.Kd.isEnabled(); } this.Ue = this.Ue && Z.db(this.Kd.getCookie(K.G)) && Z.db(this.Kd.getCookie(K.N)); if (this.isAdmin()) { this.enable(); } this.We(); this.Xe = mboxGenerateId(); this.Ye = mboxScreenHeight(); this.Ze = mboxScreenWidth(); this._e = mboxBrowserWidth(); this.af = mboxBrowserHeight(); this.bf = mboxScreenColorDepth(); this.cf = mboxBrowserTimeOffset(); this.df = new mboxSession(this.Xe, F.H, K.H, b.sessionExpirationTimeout, this.Kd); var Vd = new mboxPC(K.p, b.tntIdLifetime, this.Kd); this.ef = b.overrideMboxEdgeServer ? new re.Ud(Vd, this.Kd) : Vd; this.Nc = new mboxUrlBuilder(Bb, pb); this.ff(this.Nc, Ve, Re); this.gf = new Date().getTime(); this.hf = this.gf; var vd = this; this.addOnLoad(function() { vd.hf = new Date().getTime(); }); if (this.Te) { this.addOnLoad(function() { vd.Se = true; Pe(vd); TNT.a.nestedMboxes = []; }); if (this.Ue) { this.limitTraffic(b.trafficLevelPercentage, b.trafficDuration); this.jf(); this.kf = new mboxSignaler(this); } else { if (!b.isProduction) { if (this.isAdmin()) { if (!this.isEnabled()) { alert("mbox disabled, probably due to timeout\n" + "Reset your cookies to re-enable\n(this message will only appear in administrative mode)"); } else { alert("It looks like your browser will not allow " + b.companyName + " to set its administrative cookie. To allow setting the" + " cookie please lower the privacy settings of your browser.\n" + "(this message will only appear in administrative mode)"); } } } } }};mboxFactory.prototype.forcePCId = function(Md) { if (!TNT.a.b.clientTntIdSupport) { return; } if (this.ef.forceId(Md)) { this.df.forceId(mboxGenerateId()); }};mboxFactory.prototype.forceSessionId = function(Md) { if (!TNT.a.b.clientSessionIdSupport) { return; } this.df.forceId(Md);};mboxFactory.prototype.isEnabled = function() { return this.Ue;};mboxFactory.prototype.getDisableReason = function() { return this.Kd.getCookie(TNT.a.K.G);};mboxFactory.prototype.isSupported = function() { return this.Te;};mboxFactory.prototype.disable = function(pd, lf) { if (typeof pd == 'undefined') { pd = 60 * 60; } if (typeof lf == 'undefined') { lf = 'unspecified'; } if (!this.isAdmin()) { this.Ue = false; this.Kd.setCookie(TNT.a.K.G, lf, pd); }};mboxFactory.prototype.enable = function() { this.Ue = true; this.Kd.deleteCookie(TNT.a.K.G);};mboxFactory.prototype.isAdmin = function() { return document.location.href.indexOf(TNT.a.F.I) != -1;};mboxFactory.prototype.limitTraffic = function(mf, pd) { if (TNT.a.b.trafficLevelPercentage != 100) { if (mf == 100) { return; } var nf = true; if (parseInt(this.Kd.getCookie(TNT.a.K.L)) != mf) { nf = (Math.random() * 100) <= mf; } this.Kd.setCookie(TNT.a.K.L, mf, pd); if (!nf) { this.disable(60 * 60, 'limited by traffic'); } }};mboxFactory.prototype.addOnLoad = function(of) { if (this.isDomLoaded()) { of(); } else { var pf = false; var qf = function() { if (pf) { return; } pf = true; of(); }; this.rf.push(qf); if (this.isDomLoaded() && !pf) { qf(); } }};mboxFactory.prototype.getEllapsedTime = function() { return this.hf - this.gf;};mboxFactory.prototype.getEllapsedTimeUntil = function(D) { return D - this.gf;};mboxFactory.prototype.getMboxes = function() { return this.Tc;};mboxFactory.prototype.get = function(A, B) { return this.Tc.get(A).getById(B || 0);};mboxFactory.prototype.update = function(A, qb) { var re = TNT.a, f = re.f; if (!this.isEnabled()) { return; } var vd = this; if (!this.isDomLoaded()) { this.addOnLoad(function() { vd.update(A, qb); }); return; } if (this.Tc.get(A).length() === 0) { throw "Mbox " + A + " is not defined"; } this.Tc.get(A).each(function(Uc) { var Nc = Uc.getUrlBuilder(); Nc.addParameter(f.g, mboxGenerateId()); vd.sf(Nc, A); Uc.load(qb); });};mboxFactory.prototype.setVisitorIdParameters = function(Nc, A) { this.sf(Nc, A);};mboxFactory.prototype.create = function(A, qb, tf) { return this.uf(A, qb, tf);};mboxFactory.prototype.vf = function(A, qb, tf) { return this.uf(A, qb, tf);};mboxFactory.prototype.uf = function(A, qb, tf) { if (!this.isSupported()) { return null; } var wf = new Date(); var D = wf.getTime() - (wf.getTimezoneOffset() * TNT.a.P.T); var Nc = this.Nc.clone(); Nc.addParameter(TNT.a.f.m, this.Tc.length() + 1); Nc.addParameter(TNT.a.f.D, D); Nc.addParameters(qb); this.sf(Nc, A); var B, de, Uc; if (tf) { de = new mboxLocatorNode(tf); } else { if (this.Se) { throw 'The page has already been loaded, can\'t write marker'; } de = new mboxLocatorDefault(this.ad(A)); } try { B = this.Tc.get(A).length(); Uc = new mbox(A, B, Nc, de, this.xf(A), this); if (this.Ue) { Uc.setFetcher(this.Se ? new mboxAjaxFetcher() : new mboxStandardFetcher()); } var vd = this; Uc.setOnError(function(oe, yb) { Uc.setMessage(oe); Uc.activate(); if (!Uc.isActivated()) { vd.disable(TNT.a.b.mboxFactoryDisabledTimeout, oe); window.location.reload(false); } }); this.Tc.add(Uc); } catch (yf) { this.disable(); throw 'Failed creating mbox "' + A + '", the error was: ' + yf; } return Uc;};mboxFactory.prototype.zf = function(Nc) { var p = this.ef.getId(); if (p) { Nc.addParameter(TNT.a.f.p, p); }};mboxFactory.prototype.Af = function(Nc, A) { var Bf = !TNT.isAutoCreateGlobalMbox() && TNT.getGlobalMboxName() === A; if (Bf) { Nc.addParameters(TNT.getTargetPageParameters()); }};mboxFactory.prototype.Cf = function(Nc, A) { var re = TNT.a, Df = re.f.l, l = re.Kc(A); if (l) { Nc.addParameter(Df, l); }};mboxFactory.prototype.Ef = function(Nc) { var re = TNT.a; if (re.zc() && re.Ac()) { Nc.addParameters(re.Jc()); }};mboxFactory.prototype.sf = function(Nc, A) { this.zf(Nc); this.Af(Nc, A); this.Cf(Nc, A); this.Ef(Nc, A);};mboxFactory.prototype.getCookieManager = function() { return this.Kd;};mboxFactory.prototype.getPageId = function() { return this.Xe;};mboxFactory.prototype.getPCId = function() { return this.ef;};mboxFactory.prototype.getSessionId = function() { return this.df;};mboxFactory.prototype.getSignaler = function() { return this.kf;};mboxFactory.prototype.getUrlBuilder = function() { return this.Nc;};mboxFactory.prototype.Ff = function(A) { return this.Qe + '-' + A + '-' + this.Tc.get(A).length();};mboxFactory.prototype.ad = function(A) { return TNT.a.P.V + this.Ff(A);};mboxFactory.prototype.xf = function(A) { return TNT.a.P.S + this.Ff(A);};mboxFactory.prototype.ff = function(Nc, Ve, Re) { Nc.addParameter(TNT.a.f.n, document.location.hostname); Nc.addParameter(TNT.a.f.g, this.Xe); Nc.addParameter(TNT.a.f.q, this.Ye); Nc.addParameter(TNT.a.f.r, this.Ze); Nc.addParameter(TNT.a.f.s, this._e); Nc.addParameter(TNT.a.f.t, this.af); Nc.addParameter(TNT.a.f.u, this.cf); Nc.addParameter(TNT.a.f.v, this.bf); Nc.addParameter(TNT.a.F.H, this.df.getId()); if (!Ve) { Nc.addParameter(TNT.a.f.o, this.Qe); } if (TNT.a.b.crossDomainEnabled) { Nc.addParameter(TNT.a.f.w, TNT.a.b.crossDomain); } var f = TNT.getClientMboxExtraParameters(); if (f) { Nc.addParameters(f.split('&')); } Nc.setUrlProcessAction(function(x) { if (TNT.a.b.passPageParameters) { x += '&'; x += TNT.a.f.x; x += '=' + encodeURIComponent(document.location); var y = encodeURIComponent(document.referrer); if (x.length + y.length < 2000) { x += '&'; x += TNT.a.f.y; x += '=' + y; } } x += '&'; x += TNT.a.f.z; x += '=' + Re; return x; });};mboxFactory.prototype.jf = function() { document.write('<style>.' + TNT.a.P.U + ' { visibility:hidden; }</style>');};mboxFactory.prototype.isDomLoaded = function() { return this.Se;};mboxFactory.prototype.We = function() { if (this.rf) { return; } this.rf = []; var vd = this; (function() { var Gf = document.addEventListener ? "DOMContentLoaded" : "onreadystatechange"; var Hf = false; var If = function() { if (Hf) { return; } Hf = true; for (var i = 0; i < vd.rf.length; ++i) { vd.rf[i](); } }; if (document.addEventListener) { document.addEventListener(Gf, function() { document.removeEventListener(Gf, arguments.callee, false); If(); }, false); window.addEventListener("load", function(){ document.removeEventListener("load", arguments.callee, false); If(); }, false); } else if (document.attachEvent) { if (self !== self.top) { document.attachEvent(Gf, function() { if (document.readyState === 'complete') { document.detachEvent(Gf, arguments.callee); If(); } }); } else { var Jf = function() { try { document.documentElement.doScroll('left'); If(); } catch (Kf) { setTimeout(Jf, 13); } }; Jf(); } } if (document.readyState === "complete") { If(); } })();};mboxScPluginFetcher = function (pb, Lf) { this.pb = pb; this.Lf = Lf;};mboxScPluginFetcher.prototype = { constructor: mboxScPluginFetcher, getType: function () { return 'ajax'; }, fetch: function (Nc) { Nc.setServerType(this.getType()); var Lc = document.getElementsByTagName('head')[0], Oc = document.createElement('script'); Oc.src = this.Mf(Nc); Lc.appendChild(Oc); }, cancel: function () {}, Mf: function (Nc) { Nc.setBasePath('/m2/' + this.pb + '/sc/standard'); this.Nf(Nc); var Of = TNT.a.f.E; var Pf =TNT.a.P.E; Nc.addParameter(Of, Pf); return Nc.buildUrl(); }, Nf: function (Nc) { var Qf = [ "dynamicVariablePrefix", "visitorID", "vmk", "ppu", "charSet", "visitorNamespace", "cookieDomainPeriods", "cookieLifetime", "pageName", "currencyCode", "variableProvider", "channel", "server", "pageType", "transactionID", "purchaseID", "campaign", "state", "zip", "events", "products", "linkName", "linkType", "resolution", "colorDepth", "javascriptVersion", "javaEnabled", "cookiesEnabled", "browserWidth", "browserHeight", "connectionType", "homepage", "pe", "pev1", "pev2", "pev3", "visitorSampling", "visitorSamplingGroup", "dynamicAccountSelection", "dynamicAccountList", "dynamicAccountMatch", "trackDownloadLinks", "trackExternalLinks", "trackInlineStats", "linkLeaveQueryString", "linkDownloadFileTypes", "linkExternalFilters", "linkInternalFilters", "linkTrackVars", "linkTrackEvents", "linkNames", "lnk", "eo" ]; for (var ub = 0; ub < Qf.length; ub++) { this.Rf(Qf[ub], Nc); } for (ub = 1; ub <= 75; ub++) { this.Rf('prop' + ub, Nc); this.Rf('eVar' + ub, Nc); this.Rf('hier' + ub, Nc); } }, Rf: function (tb, Nc) { var Z = TNT.a.Z, cb = this.Lf[tb]; if (Z.eb(cb) || Z.ib(cb)) { return; } Nc.addParameter(tb, cb); }};(function(_){ function Sf(Vc, Lf) { if (!Lf) { return null; } var Tf = TNT.a.b.siteCatalystPluginName, pb = TNT.a.b.clientCode, Z = TNT.a.Z; Lf["m_" + Tf] = function (Lf) { var Uf = '_t', Wf = 'm_i', Xf = Lf[Wf](Tf); Xf.Ue = true; Xf.pb = pb; Xf[Uf] = function () { if (!this.isEnabled()) { return; } var Uc = this.uf(), pe = new mboxScPluginFetcher(this.pb, this.s); if (Uc) { Uc.setFetcher(pe); Uc.load(); } }; Xf.isEnabled = function () { return this.Ue && Vc.isEnabled(); }; Xf.uf = function () { var A = this.Yf(), gd = document.createElement('div'); if (!Z.bb(document.body)) { document.body.appendChild(gd); } return Vc.create(A, [], gd); }; Xf.Yf = function () { var Zf = this.s.events && this.s.events.indexOf('purchase') != -1; return 'SiteCatalyst: ' + (Zf ? 'purchase' : 'event'); }; }; return Lf.loadModule(Tf); } _.Sf = Sf;}(TNT.a));(function(_) { function _f(ag, Id, pd, Kd) { if (ag.targetJSLoaded) { return; } Kd.setCookie(Id, true, pd); window.location.reload(); } function bg(b, K, Kd) { var cg = '_AT', eg = 50, Id = K.N, pd = b.experienceManagerDisabledTimeout, be = b.experienceManagerTimeout, x = b.experienceManagerPluginUrl, fg = function(gg) {}, hg = function(gg) { setTimeout(function() { window[cg].applyWhenReady(gg); }, eg); }; if (cg in window) { return; } window[cg] = {}; if (Kd.getCookie(Id) !== 'true') { document.write('<scr' + 'ipt src="' + x + '"><\/sc' + 'ript>'); window[cg].applyWhenReady = hg; setTimeout(function() { _f(window[cg], Id, pd, Kd); }, be); } else { window[cg].applyWhenReady = fg; } } _.bg = bg;}(TNT.a));(function(_, a, Z, b, f, P){ function ig() { return b.globalMboxName; } function jg() { return b.globalMboxLocationDomId; } function kg() { return b.globalMboxAutoCreate; } function lg() { return b.parametersFunction(); } function mg() { var dd = 1, ng = document.getElementsByTagName('script'), ed = ng[ng.length - 1]; while (ed) { if (ed.nodeType === dd && ed.className === P.U) { return ed; } ed = ed.previousSibling; } return null; } function og(Vc, A, f) { var tf, Uc; if (a.zc()) { tf = mg(); Uc = Vc.create( A, f, tf); } else { Uc = Vc.create( A, f); } if (Uc && Vc.isEnabled()) { Uc.load(); } return Uc; } function pg(Vc, tf, A, f) { return Vc.vf(A, f, tf); } function qg(Vc, A, f) { Vc.update(A, f); } function rg(Kd, tb) { return Kd.getCookie(tb); } function sg(Kd, tb, cb, pd) { Kd.setCookie(tb, cb, pd); } function tg(ug) { var gc = []; var vg = /([^&=]+)=([^&]*)/g; var wg = decodeURIComponent; var Rd = vg.exec(ug); while (Rd) { gc.push([wg(Rd[1]), wg(Rd[2])].join('=')); Rd = vg.exec(ug); } return gc; } function ec(xg, Rc, dc) { var gc = []; for (var _b in xg) { if (!xg.hasOwnProperty(_b)) { continue; } var cb = xg[_b]; if (Z.ib(cb)) { Rc.push(_b); gc = gc.concat(ec(cb, Rc, dc)); Rc.pop(); } else { if (Rc.length > 0) { gc.push([dc(Rc.concat(_b).join('.')), cb].join('=')); } else { gc.push([dc(_b), cb].join('=')); } } } return gc; } function yg() { var zg = window.targetPageParams, dc = function(_b) { return _b }; if (!Z.fb(zg)) { return []; } var gc = null; try { gc = zg(); } catch (Ag) {} if (Z.db(gc)) { return []; } if (Z.gb(gc)) { return gc; } if (Z.hb(gc) && !Z.eb(gc)) { return tg(gc); } if (Z.ib(gc)) { return ec(gc, [], dc); } return []; } function Bg(Vc) { var Cg = ig(), Dg = jg(), Eg = yg(), Fg, Gg, Hg; if (!Dg) { Dg = "mbox-" + Cg + "-" + mboxGenerateId(); Fg = document.createElement("div"); Fg.className = "mboxDefault"; Fg.id = Dg; Fg.style.visibility = "hidden"; Fg.style.display = "none"; Gg = setInterval(function(){ if (document.body) { clearInterval(Gg); document.body.insertBefore(Fg, document.body.firstChild); } }, b.bodyPollingTimeout); } Hg = Vc.create(Cg, Eg, Dg); if (Hg && Vc.isEnabled()) { if (!Vc.isDomLoaded()) { if (!a.zc()) { Hg.setFetcher(new a.Pc()); } else { Hg.setFetcher(new mboxAjaxFetcher()); } } Hg.load(); } } function Ig(Vc, A, qb) { if (!Vc.isEnabled()) { return; } var wf = new Date(), Jg = wf.getTimezoneOffset() * P.T, Nc = Vc.getUrlBuilder().clone(); Nc.setBasePath('/m2/' + b.clientCode + '/viztarget'); Nc.addParameter(f.A, A); Nc.addParameter(f.B, 0); Nc.addParameter(f.m, Vc.getMboxes().length() + 1); Nc.addParameter(f.D, wf.getTime() - Jg); Nc.addParameter(f.g, mboxGenerateId()); Nc.addParameter(f.C, Vc.isDomLoaded()); if (qb && qb.length > 0) { Nc.addParameters(qb); } Vc.zf(Nc); Vc.Kg(Nc, A); Vc.Cf(Nc, A); return Nc.buildUrl(); } function Lg() { return new mboxMap(); } function Mg(Ng, pb, Qe) { return new mboxFactory(Ng, pb, Qe); } function Gc() { if (!b.bodyHidingEnabled) { return; } var Lc = document.getElementsByTagName('head')[0]; var Mc = document.createElement('style'); Mc.id = 'at-id-body-style'; Mc.innerHTML = b.bodyHiddenStyle; if (Lc) { Lc.appendChild(Mc); } } function wc() { if (!b.bodyHidingEnabled) { return; } setTimeout(function() { var Lc = document.getElementsByTagName('head')[0]; var Mc = document.getElementById('at-id-body-style'); if (Lc && Mc) { Lc.removeChild(Mc); } }, b.visitorApiPageDisplayTimeout); } a.og = og; a.pg = pg; a.qg = qg; a.Ig = Ig; a.rg = rg; a.sg = sg; a.Bg = Bg; a.Lg = Lg; a.Mg = Mg; a.ec = ec; a.wc = wc; a.Gc = Gc; _.getGlobalMboxName = ig; _.getGlobalMboxLocation = jg; _.isAutoCreateGlobalMbox = kg; _.getClientMboxExtraParameters = lg; _.getTargetPageParameters = yg;}(TNT, TNT.a, TNT.a.Z, TNT.a.b, TNT.a.f, TNT.a.P));(function(_){ function Og(Kd, b, Pg, Qg) { var Rg = 60 * 60, Sg = mboxGetPageParameter(Pg, true) || Kd.getCookie(Qg); if (!Sg) { return; } setTimeout(function() { if (typeof(window.mboxDebugLoaded) === 'undefined') { alert('Could not load the remote debug.\nPlease check your connection to ' + b.companyName + ' servers'); } }, Rg); var Eb = []; Eb.push(b.adminUrl, '/mbox/mbox_debug.jsp', '?'); Eb.push('mboxServerHost', '=', b.serverHost, '&'); Eb.push('clientCode', '=', b.clientCode); document.write('<' + 'scr' + 'ipt src="' + Eb.join('') + '"><' + '\/scr' + 'ipt>'); } function Tg (b, Ug) { var Z = _.Z, Vg, Wg, cb; if (Z.bb(b) || Z.db(b) || !Z.ib(b)) { return Ug; } for (var _b in b) { Vg = b.hasOwnProperty(_b) && Ug.hasOwnProperty(_b); cb = b[_b]; Wg = !Z.bb(cb) && !Z.db(cb); if (Vg && Wg) { Ug[_b] = cb; } } return Ug; } function Xg(Vc, Kd) { TNT.createGlobalMbox = function() { _.Bg(Vc); }; window.mboxCreate = function(A ) { var f = [].slice.call(arguments, 1); return _.og(Vc, A, f); }; window.mboxDefine = function(tf, A ) { var f = [].slice.call(arguments, 2); return _.pg(Vc, tf, A, f); }; window.mboxUpdate = function(A ) { var f = [].slice.call(arguments, 1); _.qg(Vc, A, f); }; window.mboxVizTargetUrl = function(A ) { var f = [].slice.call(arguments, 1); return _.Ig(Vc, A, f); }; window.mboxSetCookie = function(tb, cb, pd) { return _.sg(Kd, tb, cb, pd); }; window.mboxGetCookie = function(tb) { return _.rg(Kd, tb); }; if (typeof(_.Sf) !== 'undefined') { window.mboxLoadSCPlugin = function(Lf) { return _.Sf(Vc, Lf); } } } function Yg() { if (typeof(window.mboxVersion) !== 'undefined') { return; } _.b = Tg(window.targetGlobalSettings, _.b); var b = _.b, Re = b.mboxVersion, Ng = b.serverHost, pb = b.clientCode, Q = _.P.Q, Pg = _.F.J, Qg = _.K.J, Zg = _.K.O, Vc, Kd; window.mboxFactories = _.Lg(); window.mboxFactoryDefault = Vc = _.Mg(Ng, pb, Q); window.mboxVersion = Re; Kd = Vc.getCookieManager(); Xg(Vc, Kd); Og(Kd, b, Pg, Qg); _.Cb = function(_g) { var ob; if (!b.overrideMboxEdgeServer) { return _g; } ob = Kd.getCookie(Zg); return ob === null ? _g : ob; } } _.Yg = Yg;}(TNT.a));TNT.a.Yg();TNT.a.bg(TNT.a.b, TNT.a.K,window.mboxFactoryDefault.getCookieManager());if (TNT.isAutoCreateGlobalMbox()) { TNT.createGlobalMbox();}