var mboxCopyright = "Copyright 1996-2011. Adobe Systems Incorporated. All rights reserved.";mboxUrlBuilder = function(a, b) { this.a = a; this.b = b; this.c = new Array(); this.d = function(e) { return e; }; this.f = null;};mboxUrlBuilder.prototype.addParameter = function(g, h) { var i = new RegExp('(\'|")'); if (i.exec(g)) { throw "Parameter '" + g + "' contains invalid characters"; } for (var j = 0; j < this.c.length; j++) { var k = this.c[j]; if (k.name == g) { k.value = h; return this; } } var l = new Object(); l.name = g; l.value = h; this.c[this.c.length] = l; return this;};mboxUrlBuilder.prototype.addParameters = function(c) { if (!c) { return this; } for (var j = 0; j < c.length; j++) { var m = c[j].indexOf('='); if (m == -1 || m == 0) { continue; } this.addParameter(c[j].substring(0, m), c[j].substring(m + 1, c[j].length)); } return this;};mboxUrlBuilder.prototype.setServerType = function(n) { this.o = n;};mboxUrlBuilder.prototype.setBasePath = function(f) { this.f = f;};mboxUrlBuilder.prototype.setUrlProcessAction = function(p) { this.d = p;};mboxUrlBuilder.prototype.buildUrl = function() { var q = this.f ? this.f : '/m2/' + this.b + '/mbox/' + this.o; var r = document.location.protocol == 'file:' ? 'http:' : document.location.protocol; var e = r + "//" + this.a + q; var s = e.indexOf('?') != -1 ? '&' : '?'; for (var j = 0; j < this.c.length; j++) { var k = this.c[j]; e += s + encodeURIComponent(k.name) + '=' + encodeURIComponent(k.value); s = '&'; } return this.t(this.d(e));};mboxUrlBuilder.prototype.getParameters = function() { return this.c;};mboxUrlBuilder.prototype.setParameters = function(c) { this.c = c;};mboxUrlBuilder.prototype.clone = function() { var u = new mboxUrlBuilder(this.a, this.b); u.setServerType(this.o); u.setBasePath(this.f); u.setUrlProcessAction(this.d); for (var j = 0; j < this.c.length; j++) { u.addParameter(this.c[j].name, this.c[j].value); } return u;};mboxUrlBuilder.prototype.t = function(v) { return v.replace(/\"/g, '&quot;').replace(/>/g, '&gt;');};mboxStandardFetcher = function() { };mboxStandardFetcher.prototype.getType = function() { return 'standard';};mboxStandardFetcher.prototype.fetch = function(w) { w.setServerType(this.getType()); document.write('<' + 'scr' + 'ipt src="' + w.buildUrl() + '" language="JavaScript"><' + '\/scr' + 'ipt>');};mboxStandardFetcher.prototype.cancel = function() { };mboxAjaxFetcher = function() { };mboxAjaxFetcher.prototype.getType = function() { return 'ajax';};mboxAjaxFetcher.prototype.fetch = function(w) { w.setServerType(this.getType()); var e = w.buildUrl(); this.x = document.createElement('script'); this.x.src = e; document.body.appendChild(this.x);};mboxAjaxFetcher.prototype.cancel = function() { };mboxMap = function() { this.y = new Object(); this.z = new Array();};mboxMap.prototype.put = function(A, h) { if (!this.y[A]) { this.z[this.z.length] = A; } this.y[A] = h;};mboxMap.prototype.get = function(A) { return this.y[A];};mboxMap.prototype.remove = function(A) { this.y[A] = undefined;};mboxMap.prototype.each = function(p) { for (var j = 0; j < this.z.length; j++ ) { var A = this.z[j]; var h = this.y[A]; if (h) { var B = p(A, h); if (B === false) { break; } } }};mboxFactory = function(C, b, D) { this.E = false; this.C = C; this.D = D; this.F = new mboxList(); mboxFactories.put(D, this); this.G = typeof document.createElement('div').replaceChild != 'undefined' && (function() { return true; })() && typeof document.getElementById != 'undefined' && typeof (window.attachEvent || document.addEventListener || window.addEventListener) != 'undefined' && typeof encodeURIComponent != 'undefined'; this.H = this.G && mboxGetPageParameter('mboxDisable') == null; var I = D == 'default'; this.J = new mboxCookieManager( 'mbox' + (I ? '' : ('-' + D)), (function() { return mboxCookiePageDomain(); })()); this.H = this.H && this.J.isEnabled() && (this.J.getCookie('disable') == null); if (this.isAdmin()) { this.enable(); } this.K(); this.L = mboxGenerateId(); this.M = mboxScreenHeight(); this.N = mboxScreenWidth(); this.O = mboxBrowserWidth(); this.P = mboxBrowserHeight(); this.Q = mboxScreenColorDepth(); this.R = mboxBrowserTimeOffset(); this.S = new mboxSession(this.L, 'mboxSession', 'session', 31 * 60, this.J); this.T = new mboxPC('PC', 1209600, this.J); this.w = new mboxUrlBuilder(C, b); this.U(this.w, I); this.V = new Date().getTime(); this.W = this.V; var X = this; this.addOnLoad(function() { X.W = new Date().getTime(); }); if (this.G) { this.addOnLoad(function() { X.E = true; X.getMboxes().each(function(Y) { Y.setFetcher(new mboxAjaxFetcher()); Y.finalize(); }); }); this.limitTraffic(20, 10368000); if (this.H) { this.Z(); this._ = new mboxSignaler(function(ab, c) { return X.create(ab, c); }, this.J); } }};mboxFactory.prototype.forcePCId = function(bb) { if (this.T.forceId(bb)) { this.S.forceId(mboxGenerateId()); }};mboxFactory.prototype.forceSessionId = function(bb) { this.S.forceId(bb);};mboxFactory.prototype.isEnabled = function() { return this.H;};mboxFactory.prototype.getDisableReason = function() { return this.J.getCookie('disable');};mboxFactory.prototype.isSupported = function() { return this.G;};mboxFactory.prototype.disable = function(cb, db) { if (typeof cb == 'undefined') { cb = 60 * 60; } if (typeof db == 'undefined') { db = 'unspecified'; } if (!this.isAdmin()) { this.H = false; this.J.setCookie('disable', db, cb); }};mboxFactory.prototype.enable = function() { this.H = true; this.J.deleteCookie('disable');};mboxFactory.prototype.isAdmin = function() { return document.location.href.indexOf('mboxEnv') != -1;};mboxFactory.prototype.limitTraffic = function(eb, cb) { if (eb == 100) { return; } var fb = false; if (this.J.getCookie('traffic') == 'true' || this.isAdmin()) { fb = true; } else if ( parseInt(this.J.getCookie('level')) != eb) { fb = (Math.random() * 100) <= eb; } this.J.setCookie('level', eb, cb); this.J.setCookie('traffic', fb, cb); if (fb) { this.enable(); } else { this.disable(60 * 60, 'limited by traffic'); }};mboxFactory.prototype.addOnLoad = function(gb) { if (this.isDomLoaded()) { gb(); } else { var hb = false; var ib = function() { if (hb) { return; } hb = true; gb(); }; this.jb.push(ib); if (this.isDomLoaded() && !hb) { ib(); } }};mboxFactory.prototype.getEllapsedTime = function() { return this.W - this.V;};mboxFactory.prototype.getEllapsedTimeUntil = function(kb) { return kb - this.V;};mboxFactory.prototype.getMboxes = function() { return this.F;};mboxFactory.prototype.get = function(ab, lb) { return this.F.get(ab).getById(lb || 0);};mboxFactory.prototype.update = function(ab, c) { if (!this.isEnabled()) { return; } if (!this.isDomLoaded()) { var X = this; this.addOnLoad(function() { X.update(ab, c); }); return; } if (this.F.get(ab).length() == 0) { throw "Mbox " + ab + " is not defined"; } this.F.get(ab).each(function(Y) { Y.getUrlBuilder() .addParameter('mboxPage', mboxGenerateId()); Y.load(c); });};mboxFactory.prototype.create = function( ab, c, mb) { if (!this.isSupported()) { return null; } var e = this.w.clone(); e.addParameter('mboxCount', this.F.length() + 1); e.addParameters(c); var lb = this.F.get(ab).length(); var nb = this.D + '-' + ab + '-' + lb; var ob; if (mb) { ob = new mboxLocatorNode(mb); } else { if (this.E) { throw 'The page has already been loaded, can\'t write marker'; } ob = new mboxLocatorDefault(nb); } try { var X = this; var pb = 'mboxImported-' + nb; var Y = new mbox(ab, lb, e, ob, pb); if (this.H) { Y.setFetcher( this.E ? new mboxAjaxFetcher() : new mboxStandardFetcher()); } Y.setOnError(function(qb, n) { Y.setMessage(qb); Y.activate(); if (!Y.isActivated()) { X.disable(60 * 60, qb); window.location.reload(false); } }); this.F.add(Y); } catch (rb) { this.disable(); throw 'Failed creating mbox "' + ab + '", the error was: ' + rb; } var sb = new Date(); e.addParameter('mboxTime', sb.getTime() - (sb.getTimezoneOffset() * 60000)); return Y;};mboxFactory.prototype.getCookieManager = function() { return this.J;};mboxFactory.prototype.getPageId = function() { return this.L;};mboxFactory.prototype.getPCId = function() { return this.T;};mboxFactory.prototype.getSessionId = function() { return this.S;};mboxFactory.prototype.getSignaler = function() { return this._;};mboxFactory.prototype.getUrlBuilder = function() { return this.w;};mboxFactory.prototype.U = function(e, I) { e.addParameter('mboxHost', document.location.hostname) .addParameter('mboxSession', this.S.getId()); if (!I) { e.addParameter('mboxFactoryId', this.D); } if (this.T.getId() != null) { e.addParameter('mboxPC', this.T.getId()); } e.addParameter('mboxPage', this.L); e.addParameter('screenHeight', this.M); e.addParameter('screenWidth', this.N); e.addParameter('browserWidth', this.O); e.addParameter('browserHeight', this.P); e.addParameter('browserTimeOffset', this.R); e.addParameter('colorDepth', this.Q); e.setUrlProcessAction(function(e) { e += '&mboxURL=' + encodeURIComponent(document.location); var tb = encodeURIComponent(document.referrer); if (e.length + tb.length < 2000) { e += '&mboxReferrer=' + tb; } e += '&mboxVersion=' + mboxVersion; return e; });};mboxFactory.prototype.ub = function() { return "";};mboxFactory.prototype.Z = function() { document.write('<style>.' + 'mboxDefault' + ' { visibility:hidden; }</style>');};mboxFactory.prototype.isDomLoaded = function() { return this.E;};mboxFactory.prototype.K = function() { if (this.jb != null) { return; } this.jb = new Array(); var X = this; (function() { var vb = document.addEventListener ? "DOMContentLoaded" : "onreadystatechange"; var wb = false; var xb = function() { if (wb) { return; } wb = true; for (var i = 0; i < X.jb.length; ++i) { X.jb[i](); } }; if (document.addEventListener) { document.addEventListener(vb, function() { document.removeEventListener(vb, arguments.callee, false); xb(); }, false); window.addEventListener("load", function(){ document.removeEventListener("load", arguments.callee, false); xb(); }, false); } else if (document.attachEvent) { if (self !== self.top) { document.attachEvent(vb, function() { if (document.readyState === 'complete') { document.detachEvent(vb, arguments.callee); xb(); } }); } else { var yb = function() { try { document.documentElement.doScroll('left'); xb(); } catch (zb) { setTimeout(yb, 13); } }; yb(); } } if (document.readyState === "complete") { xb(); } })();};mboxSignaler = function(Ab, J) { this.J = J; var Bb = J.getCookieNames('signal-'); for (var j = 0; j < Bb.length; j++) { var Cb = Bb[j]; var Db = J.getCookie(Cb).split('&'); var Y = Ab(Db[0], Db); Y.load(); J.deleteCookie(Cb); }};mboxSignaler.prototype.signal = function(Eb, ab ) { this.J.setCookie('signal-' + Eb, mboxShiftArray(arguments).join('&'), 45 * 60);};mboxList = function() { this.F = new Array();};mboxList.prototype.add = function(Y) { if (Y != null) { this.F[this.F.length] = Y; }};mboxList.prototype.get = function(ab) { var B = new mboxList(); for (var j = 0; j < this.F.length; j++) { var Y = this.F[j]; if (Y.getName() == ab) { B.add(Y); } } return B;};mboxList.prototype.getById = function(Fb) { return this.F[Fb];};mboxList.prototype.length = function() { return this.F.length;};mboxList.prototype.each = function(p) { if (typeof p != 'function') { throw 'Action must be a function, was: ' + typeof(p); } for (var j = 0; j < this.F.length; j++) { p(this.F[j]); }};mboxLocatorDefault = function(g) { this.g = 'mboxMarker-' + g; document.write('<div id="' + this.g + '" style="visibility:hidden;display:none">&nbsp;</div>');};mboxLocatorDefault.prototype.locate = function() { var Gb = document.getElementById(this.g); while (Gb != null) { if (Gb.nodeType == 1) { if (Gb.className == 'mboxDefault') { return Gb; } } Gb = Gb.previousSibling; } return null;};mboxLocatorDefault.prototype.force = function() { var Hb = document.createElement('div'); Hb.className = 'mboxDefault'; var Ib = document.getElementById(this.g); Ib.parentNode.insertBefore(Hb, Ib); return Hb;};mboxLocatorNode = function(Jb) { this.Gb = Jb;};mboxLocatorNode.prototype.locate = function() { return typeof this.Gb == 'string' ? document.getElementById(this.Gb) : this.Gb;};mboxLocatorNode.prototype.force = function() { return null;};mboxCreate = function(ab ) { var Y = mboxFactoryDefault.create( ab, mboxShiftArray(arguments)); if (Y) { Y.load(); } return Y;};mboxDefine = function(mb, ab ) { var Y = mboxFactoryDefault.create(ab, mboxShiftArray(mboxShiftArray(arguments)), mb); return Y;};mboxUpdate = function(ab ) { mboxFactoryDefault.update(ab, mboxShiftArray(arguments));};mbox = function(g, Kb, w, Lb, pb) { this.Mb = null; this.Nb = 0; this.ob = Lb; this.pb = pb; this.Ob = null; this.Pb = new mboxOfferContent(); this.Hb = null; this.w = w; this.message = ''; this.Qb = new Object(); this.Rb = 0; this.Kb = Kb; this.g = g; this.Sb(); w.addParameter('mbox', g) .addParameter('mboxId', Kb); this.Tb = function() {}; this.Ub = function() {}; this.Vb = null;};mbox.prototype.getId = function() { return this.Kb;};mbox.prototype.Sb = function() { if (this.g.length > 250) { throw "Mbox Name " + this.g + " exceeds max length of " + "250 characters."; } else if (this.g.match(/^\s+|\s+$/g)) { throw "Mbox Name " + this.g + " has leading/trailing whitespace(s)."; }};mbox.prototype.getName = function() { return this.g;};mbox.prototype.getParameters = function() { var c = this.w.getParameters(); var B = new Array(); for (var j = 0; j < c.length; j++) { if (c[j].name.indexOf('mbox') != 0) { B[B.length] = c[j].name + '=' + c[j].value; } } return B;};mbox.prototype.setOnLoad = function(p) { this.Ub = p; return this;};mbox.prototype.setMessage = function(qb) { this.message = qb; return this;};mbox.prototype.setOnError = function(Tb) { this.Tb = Tb; return this;};mbox.prototype.setFetcher = function(Wb) { if (this.Ob) { this.Ob.cancel(); } this.Ob = Wb; return this;};mbox.prototype.getFetcher = function() { return this.Ob;};mbox.prototype.load = function(c) { if (this.Ob == null) { return this; } this.setEventTime("load.start"); this.cancelTimeout(); this.Nb = 0; var w = (c && c.length > 0) ? this.w.clone().addParameters(c) : this.w; this.Ob.fetch(w); var X = this; this.Xb = setTimeout(function() { X.Tb('browser timeout', X.Ob.getType()); }, 15000); this.setEventTime("load.end"); return this;};mbox.prototype.loaded = function() { this.cancelTimeout(); if (!this.activate()) { var X = this; setTimeout(function() { X.loaded(); }, 100); }};mbox.prototype.activate = function() { if (this.Nb) { return this.Nb; } this.setEventTime('activate' + ++this.Rb + '.start'); if (this.show()) { this.cancelTimeout(); this.Nb = 1; } this.setEventTime('activate' + this.Rb + '.end'); return this.Nb;};mbox.prototype.isActivated = function() { return this.Nb;};mbox.prototype.setOffer = function(Pb) { if (Pb && Pb.show && Pb.setOnLoad) { this.Pb = Pb; } else { throw 'Invalid offer'; } return this;};mbox.prototype.getOffer = function() { return this.Pb;};mbox.prototype.show = function() { this.setEventTime('show.start'); var B = this.Pb.show(this); this.setEventTime(B == 1 ? "show.end.ok" : "show.end"); return B;};mbox.prototype.showContent = function(Yb) { if (Yb == null) { return 0; } if (this.Hb == null || !this.Hb.parentNode) { this.Hb = this.getDefaultDiv(); if (this.Hb == null) { return 0; } } if (this.Hb != Yb) { this.Zb(this.Hb); this.Hb.parentNode.replaceChild(Yb, this.Hb); this.Hb = Yb; } this._b(Yb); this.Ub(); return 1;};mbox.prototype.hide = function() { this.setEventTime('hide.start'); var B = this.showContent(this.getDefaultDiv()); this.setEventTime(B == 1 ? 'hide.end.ok' : 'hide.end.fail'); return B;};mbox.prototype.finalize = function() { this.setEventTime('finalize.start'); this.cancelTimeout(); if (this.getDefaultDiv() == null) { if (this.ob.force() != null) { this.setMessage('No default content, an empty one has been added'); } else { this.setMessage('Unable to locate mbox'); } } if (!this.activate()) { this.hide(); this.setEventTime('finalize.end.hide'); } this.setEventTime('finalize.end.ok');};mbox.prototype.cancelTimeout = function() { if (this.Xb) { clearTimeout(this.Xb); } if (this.Ob != null) { this.Ob.cancel(); }};mbox.prototype.getDiv = function() { return this.Hb;};mbox.prototype.getDefaultDiv = function() { if (this.Vb == null) { this.Vb = this.ob.locate(); } return this.Vb;};mbox.prototype.setEventTime = function(ac) { this.Qb[ac] = (new Date()).getTime();};mbox.prototype.getEventTimes = function() { return this.Qb;};mbox.prototype.getImportName = function() { return this.pb;};mbox.prototype.getURL = function() { return this.w.buildUrl();};mbox.prototype.getUrlBuilder = function() { return this.w;};mbox.prototype.bc = function(Hb) { return Hb.style.display != 'none';};mbox.prototype._b = function(Hb) { this.cc(Hb, true);};mbox.prototype.Zb = function(Hb) { this.cc(Hb, false);};mbox.prototype.cc = function(Hb, dc) { Hb.style.visibility = dc ? "visible" : "hidden"; Hb.style.display = dc ? "block" : "none";};mboxOfferContent = function() { this.Ub = function() {};};mboxOfferContent.prototype.show = function(Y) { var B = Y.showContent(document.getElementById(Y.getImportName())); if (B == 1) { this.Ub(); } return B;};mboxOfferContent.prototype.setOnLoad = function(Ub) { this.Ub = Ub;};mboxOfferAjax = function(Yb) { this.Yb = Yb; this.Ub = function() {};};mboxOfferAjax.prototype.setOnLoad = function(Ub) { this.Ub = Ub;};mboxOfferAjax.prototype.show = function(Y) { var ec = document.createElement('div'); ec.id = Y.getImportName(); ec.innerHTML = this.Yb; var B = Y.showContent(ec); if (B == 1) { this.Ub(); } return B;};mboxOfferDefault = function() { this.Ub = function() {};};mboxOfferDefault.prototype.setOnLoad = function(Ub) { this.Ub = Ub;};mboxOfferDefault.prototype.show = function(Y) { var B = Y.hide(); if (B == 1) { this.Ub(); } return B;};mboxCookieManager = function mboxCookieManager(g, fc) { this.g = g; this.fc = fc == '' || fc.indexOf('.') == -1 ? '' : '; domain=' + fc; this.gc = new mboxMap(); this.loadCookies();};mboxCookieManager.prototype.isEnabled = function() { this.setCookie('check', 'true', 60); this.loadCookies(); return this.getCookie('check') == 'true';};mboxCookieManager.prototype.setCookie = function(g, h, cb) { if (typeof g != 'undefined' && typeof h != 'undefined' && typeof cb != 'undefined') { var hc = new Object(); hc.name = g; hc.value = escape(h); hc.expireOn = Math.ceil(cb + new Date().getTime() / 1000); this.gc.put(g, hc); this.saveCookies(); }};mboxCookieManager.prototype.getCookie = function(g) { var hc = this.gc.get(g); return hc ? unescape(hc.value) : null;};mboxCookieManager.prototype.deleteCookie = function(g) { this.gc.remove(g); this.saveCookies();};mboxCookieManager.prototype.getCookieNames = function(ic) { var jc = new Array(); this.gc.each(function(g, hc) { if (g.indexOf(ic) == 0) { jc[jc.length] = g; } }); return jc;};mboxCookieManager.prototype.saveCookies = function() { var kc = new Array(); var lc = 0; this.gc.each(function(g, hc) { kc[kc.length] = g + '#' + hc.value + '#' + hc.expireOn; if (lc < hc.expireOn) { lc = hc.expireOn; } }); var mc = new Date(lc * 1000); document.cookie = this.g + '=' + kc.join('|') + '; expires=' + mc.toGMTString() + '; path=/' + this.fc;};mboxCookieManager.prototype.loadCookies = function() { this.gc = new mboxMap(); var nc = document.cookie.indexOf(this.g + '='); if (nc != -1) { var oc = document.cookie.indexOf(';', nc); if (oc == -1) { oc = document.cookie.indexOf(',', nc); if (oc == -1) { oc = document.cookie.length; } } var pc = document.cookie.substring( nc + this.g.length + 1, oc).split('|'); var qc = Math.ceil(new Date().getTime() / 1000); for (var j = 0; j < pc.length; j++) { var hc = pc[j].split('#'); if (qc <= hc[2]) { var rc = new Object(); rc.name = hc[0]; rc.value = hc[1]; rc.expireOn = hc[2]; this.gc.put(rc.name, rc); } } }};mboxSession = function(sc, tc, Cb, uc, J) { this.tc = tc; this.Cb = Cb; this.uc = uc; this.J = J; this.vc = false; this.Kb = typeof mboxForceSessionId != 'undefined' ? mboxForceSessionId : mboxGetPageParameter(this.tc); if (this.Kb == null || this.Kb.length == 0) { this.Kb = J.getCookie(Cb); if (this.Kb == null || this.Kb.length == 0) { this.Kb = sc; this.vc = true; } } J.setCookie(Cb, this.Kb, uc);};mboxSession.prototype.getId = function() { return this.Kb;};mboxSession.prototype.forceId = function(bb) { this.Kb = bb; this.J.setCookie(this.Cb, this.Kb, this.uc);};mboxPC = function(Cb, uc, J) { this.Cb = Cb; this.uc = uc; this.J = J; this.Kb = typeof mboxForcePCId != 'undefined' ? mboxForcePCId : J.getCookie(Cb); if (this.Kb != null) { J.setCookie(Cb, this.Kb, uc); }};mboxPC.prototype.getId = function() { return this.Kb;};mboxPC.prototype.forceId = function(bb) { if (this.Kb != bb) { this.Kb = bb; this.J.setCookie(this.Cb, this.Kb, this.uc); return true; } return false;};mboxGetPageParameter = function(g) { var B = null; var wc = new RegExp(g + "=([^\&]*)"); var xc = wc.exec(document.location); if (xc != null && xc.length >= 2) { B = xc[1]; } return B;};mboxSetCookie = function(g, h, cb) { return mboxFactoryDefault.getCookieManager().setCookie(g, h, cb);};mboxGetCookie = function(g) { return mboxFactoryDefault.getCookieManager().getCookie(g);};mboxCookiePageDomain = function() { var fc = (/([^:]*)(:[0-9]{0,5})?/).exec(document.location.host)[1]; var yc = /[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}/; if (!yc.exec(fc)) { var zc = (/([^\.]+\.[^\.]{3}|[^\.]+\.[^\.]+\.[^\.]{2})$/).exec(fc); if (zc) { fc = zc[0]; } } return fc ? fc: "";};mboxShiftArray = function(Ac) { var B = new Array(); for (var j = 1; j < Ac.length; j++) { B[B.length] = Ac[j]; } return B;};mboxGenerateId = function() { return (new Date()).getTime() + "-" + Math.floor(Math.random() * 999999);};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;};if (typeof mboxVersion == 'undefined') { var mboxVersion = 40; var mboxFactories = new mboxMap(); var mboxFactoryDefault = new mboxFactory('espndotcom.tt.omtrdc.net', 'espndotcom', 'default');};if (mboxGetPageParameter("mboxDebug") != null || mboxFactoryDefault.getCookieManager() .getCookie("debug") != null) { setTimeout(function() { if (typeof mboxDebugLoaded == 'undefined') { alert('Could not load the remote debug.\nPlease check your connection' + ' to Test&amp;Target servers'); } }, 60*60); document.write('<' + 'scr' + 'ipt language="Javascript1.2" src=' + '"http://admin16.testandtarget.omniture.com/admin/mbox/mbox_debug.jsp?mboxServerHost=espndotcom.tt.omtrdc.net' + '&clientCode=espndotcom"><' + '\/scr' + 'ipt>');};mboxScPluginFetcher = function(b, Bc) { this.b = b; this.Bc = Bc;};mboxScPluginFetcher.prototype.Cc = function(w) { w.setBasePath('/m2/' + this.b + '/sc/standard'); this.Dc(w); var e = w.buildUrl(); e += '&scPluginVersion=1'; return e;};mboxScPluginFetcher.prototype.Dc = function(w) { var Ec = [ "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 j = 0; j < Ec.length; j++) { this.Fc(Ec[j], w); } for (var j = 1; j <= 75; j++) { this.Fc('prop' + j, w); this.Fc('eVar' + j, w); this.Fc('hier' + j, w); }};mboxScPluginFetcher.prototype.Fc = function(g, w) { var h = this.Bc[g]; if (typeof(h) === 'undefined' || h === null || h === '') { return; } w.addParameter(g, h);};mboxScPluginFetcher.prototype.cancel = function() { };mboxStandardScPluginFetcher = function(b, Bc) { mboxScPluginFetcher.call(this, b, Bc);};mboxStandardScPluginFetcher.prototype = new mboxScPluginFetcher;mboxStandardScPluginFetcher.prototype.getType = function() { return 'standard';};mboxStandardScPluginFetcher.prototype.fetch = function(w) { w.setServerType(this.getType()); var e = this.Cc(w); document.write('<' + 'scr' + 'ipt src="' + e + '" language="JavaScript"><' + '\/scr' + 'ipt>');};mboxAjaxScPluginFetcher = function(b, Bc) { mboxScPluginFetcher.call(this, b, Bc);};mboxAjaxScPluginFetcher.prototype = new mboxScPluginFetcher;mboxAjaxScPluginFetcher.prototype.fetch = function(w) { w.setServerType(this.getType()); var e = this.Cc(w); this.x = document.createElement('script'); this.x.src = e; document.body.appendChild(this.x);};mboxAjaxScPluginFetcher.prototype.getType = function() { return 'ajax';};function mboxLoadSCPlugin(Bc) { if (!Bc) { return null; } Bc.m_tt = function(Bc) { var Gc = Bc.m_i('tt'); Gc.H = true; Gc.b = 'espndotcom'; Gc['_t'] = function() { if (!this.isEnabled()) { return; } var Y = this.Ic(); if (Y) { var Wb = mboxFactoryDefault.isDomLoaded() ? new mboxAjaxScPluginFetcher(this.b, this.s) : new mboxStandardScPluginFetcher(this.b, this.s); Y.setFetcher(Wb); Y.load(); } }; Gc.isEnabled = function() { return this.H && mboxFactoryDefault.isEnabled(); }; Gc.Ic = function() { var ab = this.Jc(); var Hb = document.createElement('DIV'); return mboxFactoryDefault.create(ab, new Array(), Hb); }; Gc.Jc = function() { var Kc = this.s.events && this.s.events.indexOf('purchase') != -1; return 'SiteCatalyst: ' + (Kc ? 'purchase' : 'event'); }; }; return Bc.loadModule('tt');};
