Advertisement
Rapptz

Untitled

May 4th, 2013
369
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. window.KONA_VERSION || (window.KONA_VERSION = "2013_04_28");
  2. if (window.parent !== window && !window.dc_Frames) try
  3.     {
  4.         window.parent.location.href !== window.location.href && (window.konaBeenHere = !0)
  5. }
  6. catch (e$$8)
  7. {
  8.     window.konaBeenHere = !0
  9. }
  10. if (!0 !== window.konaBeenHere)
  11. {
  12.     window.konaBeenHere = !0;
  13.     var konaGetTime = function ()
  14.     {
  15.         return (new Date)
  16.             .getTime()
  17.     }, konaStartTime = konaGetTime(),
  18.         KONTERA_INTERFACE = {};
  19.     (function ()
  20.     {
  21.         function a()
  22.         {
  23.             if (!e)
  24.             {
  25.                 if (!document.body) return setTimeout(a, 13);
  26.                 e = true;
  27.                 for (var b = 0; b < f.length; b = b + 1) f[b].call(document)
  28.             }
  29.         }
  30.         function b()
  31.         {
  32.             if (!e)
  33.             {
  34.                 try
  35.                 {
  36.                     document.documentElement.doScroll("left")
  37.                 }
  38.                 catch (c)
  39.                 {
  40.                     setTimeout(b, 1);
  41.                     return
  42.                 }
  43.                 a()
  44.             }
  45.         }
  46.         var c = false,
  47.             d, e = false,
  48.             f = [];
  49.         document.addEventListener ? d = function ()
  50.         {
  51.             document.removeEventListener("DOMContentLoaded",
  52.                 d, false);
  53.             a()
  54.         } : document.attachEvent && (d = function ()
  55.         {
  56.             if (document.readyState === "complete")
  57.             {
  58.                 document.detachEvent("onreadystatechange", d);
  59.                 a()
  60.             }
  61.         });
  62.         KONTERA_INTERFACE.ready = function (g)
  63.         {
  64.             if (!c)
  65.             {
  66.                 c = true;
  67.                 if (document.readyState === "complete") a();
  68.                 else if (document.addEventListener)
  69.                 {
  70.                     document.addEventListener("DOMContentLoaded", d, false);
  71.                     window.addEventListener("load", a, false)
  72.                 }
  73.                 else if (document.attachEvent)
  74.                 {
  75.                     document.attachEvent("onreadystatechange", d);
  76.                     window.attachEvent("onload", a);
  77.                     var h = false;
  78.                     try
  79.                     {
  80.                         h = window.frameElement ===
  81.                             null
  82.                     }
  83.                     catch (k)
  84.                     {}
  85.                     document.documentElement.doScroll && h && b()
  86.                 }
  87.             }
  88.             e ? g.call(document) : f && f.push(g)
  89.         }
  90.     })();
  91.     KONTERA_INTERFACE.getReporterUrl = function ()
  92.     {
  93.         return function (a)
  94.         {
  95.             return a.indexOf("?") > 0 ? a : a + "?"
  96.         }(function ()
  97.         {
  98.             var a = KONTERA_INTERFACE.reactionResponse ? KONTERA_INTERFACE.reactionResponse.reporterUrl : void 0;
  99.             return a ? a : "http://kona33.kontera.com/KonaReport.js?rId=dummy&p=" + window.dc_PublisherID
  100.         }())
  101.     };
  102.     KONTERA_INTERFACE.getReporterParams = function ()
  103.     {
  104.         return KONTERA_INTERFACE.urlToJson(KONTERA_INTERFACE.getReporterUrl())
  105.     };
  106.     var isWindows = function ()
  107.     {
  108.         return navigator.userAgent.indexOf("Windows") !== -1 ? true : false
  109.     }, isMac = function ()
  110.         {
  111.             return navigator.userAgent.indexOf("Mac") !== -1 ? true : false
  112.         }, getQueryVariable = function (a)
  113.         {
  114.             for (var b = "", c = null, d = window.location.search.substring(1)
  115.                     .split("&"), e = 0; e < d.length; e = e + 1)
  116.             {
  117.                 c = d[e].split("=");
  118.                 c[0] === a && (b = c[1])
  119.             }
  120.             return b
  121.         }, kona$ = function (a)
  122.         {
  123.             return document.getElementById(a)
  124.         }, exploreDomainName = function ()
  125.         {
  126.             var a = konaThisURL.toLowerCase(),
  127.                 b = "";
  128.             if (a.indexOf("http://www") === 0 || a.indexOf("https://www") ===
  129.                 0)
  130.             {
  131.                 b = a.indexOf("http://www") + 11;
  132.                 b = a.substring(b, a.length);
  133.                 b.indexOf("/") > -1 && (b = b.substring(0, b.indexOf("/")))
  134.             }
  135.             else if (a.indexOf("http://") === 0 || a.indexOf("https://") === 0)
  136.             {
  137.                 for (var b = a.indexOf("http://") + 7, b = a.substring(b, a.length), c = 0, d = 0; d < b.length; d = d + 1) b.charAt(d) === "." && (c = c + 1);
  138.                 c > 1 && (b = b.substring(b.indexOf(".") + 1, b.length));
  139.                 b.indexOf("/") > -1 && (b = b.substring(0, b.indexOf("/")))
  140.             }
  141.             else if (a.indexOf("/") > -1)
  142.             {
  143.                 b = a.indexOf("/");
  144.                 b = a.substring(0, b)
  145.             }
  146.             b.length <= 4 && (b = a);
  147.             return b
  148.         }, isInArray = function (a, b)
  149.         {
  150.             for (var c =
  151.                 0; c < a.length; c = c + 1) if (a[c] === b) return true;
  152.             return false
  153.         }, KonaHash = function ()
  154.         {
  155.             this.length = 0;
  156.             this.items = [];
  157.             for (var a = 0; a < arguments.length; a = a + 2) if (typeof arguments[a + 1] !== "undefined")
  158.                 {
  159.                     this.items[arguments[a]] = arguments[a + 1];
  160.                     this.length = this.length + 1
  161.                 }
  162.             this.removeItem = function (b)
  163.             {
  164.                 var a;
  165.                 if (typeof this.items[b] !== "undefined")
  166.                 {
  167.                     this.length = this.length - 1;
  168.                     a = this.items[b];
  169.                     delete this.items[b]
  170.                 }
  171.                 return a
  172.             };
  173.             this.getItem = function (b)
  174.             {
  175.                 return this.items[b]
  176.             };
  177.             this.setItem = function (b, a)
  178.             {
  179.                 if (typeof a !== "undefined")
  180.                 {
  181.                     if (typeof this.items[b] ===
  182.                         "undefined") this.length = this.length + 1;
  183.                     this.items[b] = a
  184.                 }
  185.                 return a
  186.             };
  187.             this.hasItem = function (a)
  188.             {
  189.                 return typeof this.items[a] !== "undefined"
  190.             }
  191.         }, readCookie = function (a)
  192.         {
  193.             for (var b = document.cookie.split("; "), c = 0; c < b.length; c = c + 1)
  194.             {
  195.                 var d = b[c].split("=");
  196.                 if (a === d[0]) return unescape(d[1])
  197.             }
  198.             return null
  199.         }, createKonaCookie = function (a, b, c)
  200.         {
  201.             var d = "";
  202.             if (c)
  203.             {
  204.                 d = new Date;
  205.                 d.setTime(d.getTime() + c * 864E5);
  206.                 d = "; expires=" + d.toGMTString()
  207.             }
  208.             document.cookie = a + "=" + b + d + "; path=/"
  209.         }, eraseKonaCookie = function (a)
  210.         {
  211.             createKonaCookie(a, "", -1)
  212.         }, getFlashFullVersion = function ()
  213.         {
  214.             var a = "?";
  215.             if (navigator.plugins && navigator.mimeTypes.length)
  216.             {
  217.                 var b = navigator.plugins["Shockwave Flash"];
  218.                 if (b && b.description) return b.description
  219.             }
  220.             else
  221.             {
  222.                 try
  223.                 {
  224.                     b = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7")
  225.                 }
  226.                 catch (c)
  227.                 {
  228.                     try
  229.                     {
  230.                         b = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");
  231.                         a = [6, 0, 21];
  232.                         b.AllowScriptAccess = "always"
  233.                     }
  234.                     catch (d)
  235.                     {
  236.                         if (a[0] === 6) return a
  237.                     }
  238.                     try
  239.                     {
  240.                         b = new ActiveXObject("ShockwaveFlash.ShockwaveFlash")
  241.                     }
  242.                     catch (e)
  243.                     {}
  244.                 }
  245.                 if (b && b.GetVariable("$version")) return b.GetVariable("$version")
  246.             }
  247.             return a
  248.         }, getFlashVersion = function ()
  249.         {
  250.             var a = [0, 0, 0];
  251.             if (navigator.plugins && navigator.mimeTypes.length)
  252.             {
  253.                 var b = navigator.plugins["Shockwave Flash"];
  254.                 b && b.description && (a = b.description.replace(/([a-zA-Z]|\s)+/, "")
  255.                     .replace(/(\s+r|\s+b[0-9]+)/, ".")
  256.                     .split("."))
  257.             }
  258.             else
  259.             {
  260.                 try
  261.                 {
  262.                     b = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7")
  263.                 }
  264.                 catch (c)
  265.                 {
  266.                     try
  267.                     {
  268.                         b = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");
  269.                         a = [6, 0, 21];
  270.                         b.AllowScriptAccess = "always"
  271.                     }
  272.                     catch (d)
  273.                     {
  274.                         if (a[0] === 6) return a
  275.                     }
  276.                     try
  277.                     {
  278.                         b = new ActiveXObject("ShockwaveFlash.ShockwaveFlash")
  279.                     }
  280.                     catch (e)
  281.                     {}
  282.                 }
  283.                 b && (a =
  284.                     b.GetVariable("$version")
  285.                     .split(" ")[1].split(","))
  286.             }
  287.             return a
  288.         }, checkFlashSupport = function ()
  289.         {
  290.             if (getFlashVersion()[0] >= 8 && !KONTERA_INTERFACE.isMobile) window.hasRMFlashSupport = true
  291.         }, checkFlashSupportForHybrid = function ()
  292.         {
  293.             return getFlashVersion()[0] >= 9 ? true : false
  294.         }, konaStartTime = (new Date)
  295.             .getTime(),
  296.         konaPageLoadMeasureReport = {};
  297.     KONTERA_INTERFACE.ready(function ()
  298.     {
  299.         konaPageLoadMeasureReport.pr = (new Date)
  300.             .getTime() - konaStartTime
  301.     });
  302.     var TWEAK_MODE_DEFAULT = 0,
  303.         konaTweakMode = TWEAK_MODE_DEFAULT;
  304.     KONTERA_INTERFACE.replaceStringWith = function (a, b, c)
  305.     {
  306.         return a.replace(RegExp(b, "gi"), c)
  307.     };
  308.     KONTERA_INTERFACE.trace = function ()
  309.     {
  310.         typeof window.console !== "undefined" && typeof window.console.log === "function" && window.console.log.apply(window.console, arguments)
  311.     };
  312.     var konalogMode = !1,
  313.         isKonaFirst = !1;
  314.     "undefined" === typeof window.konaSuffix && (window.konaSuffix = "?00000000482", isKonaFirst = !0);
  315.     KONTERA_INTERFACE.isMobile = navigator.userAgent.match(/Windows Phone|Android|iPhone|iPad|J2ME|Symbian|BlackBerry|sonyericsson|nokia|Windows CE|Opera Mini/i) || document.location.search.match(/(kona_iphone|kona_android)=1/) ||
  316.         document.location.search.match(/kona_platform=(ios|android)/);
  317.     (function ()
  318.     {
  319.         if (window.KONA_PREV_VERSION)
  320.         {
  321.             var a = KONTERA_INTERFACE.isMobile ? 50 : 90;
  322.             window.konaAB_JSVersion = window.konaAB_JSVersion || a;
  323.             Math.random() * 100 < window.konaAB_JSVersion ? KONA_VERSION = KONA_PREV_VERSION : konaTweakMode = konaTweakMode | 4
  324.         }
  325.         getQueryVariable("konadir") && (KONA_VERSION = getQueryVariable("konadir"))
  326.     })();
  327.     var konaDate = "24_03_2010",
  328.         bOpera = -1 !== navigator.userAgent.toLowerCase()
  329.             .indexOf("opera"),
  330.         bAvant = -1 !== navigator.userAgent.toLowerCase()
  331.             .indexOf("avant"),
  332.         bIE = !bOpera && -1 !== navigator.appName.indexOf("Microsoft"),
  333.         bIE6 = bIE && 6 === navigator.userAgent.charAt(30),
  334.         bIE8 = bIE && -1 !== navigator.userAgent.indexOf("MSIE 8"),
  335.         bChrome = -1 !== navigator.userAgent.toLowerCase()
  336.             .indexOf("chrome"),
  337.         bFlock = -1 !== navigator.userAgent.toLowerCase()
  338.             .indexOf("flock"),
  339.         bSafari = -1 !== navigator.userAgent.toLowerCase()
  340.             .indexOf("safari"),
  341.         bMozilla = !bOpera && !bIE && !bSafari && !bFlock,
  342.         bFireFox2 = bMozilla && -1 !== navigator.userAgent.indexOf("Firefox/2"),
  343.         bFireFox3 = bMozilla && -1 !== navigator.userAgent.indexOf("Firefox/3"),
  344.         bUnknown = !bMozilla && !bFireFox2 && !bFireFox3;
  345.     "undefined" === typeof window.HTTP_KONA && (window.HTTP_KONA = "http://kona.kontera.com");
  346.     "undefined" === typeof window.HTTP_KONAC && (window.HTTP_KONAC = "http://konac.kontera.com");
  347.     var HTTP_KONAX = "http://konax.kontera.com",
  348.         HTTP_IMAGES = "http://images.kontera.com";
  349.     "https:" === window.location.protocol && (HTTP_IMAGES = HTTP_KONAC = HTTP_KONA = "https://secure-js.kontera.com");
  350.     getQueryVariable("konaip") && (HTTP_KONA = "http://" + getQueryVariable("konaip"), HTTP_KONAC = "http://" + getQueryVariable("konaip"));
  351.     var HTTP_KONTERA_BASE = HTTP_KONA,
  352.         konaUserID = "",
  353.         konaSessionID = "",
  354.         konaBaseHere = !1,
  355.         konaRetry = 300,
  356.         delayJSFlowBY = -1,
  357.         isNewLayer = !1,
  358.         isBritannicaFF3 = bFireFox3,
  359.         problematicAdverisers = [];
  360.     KONTERA_INTERFACE.write || (KONTERA_INTERFACE.write = function (a)
  361.     {
  362.         document.write(a)
  363.     });
  364.     "undefined" === typeof window.dc_flowMode && (window.dc_flowMode = 0);
  365.     window.location.search.match("konaflow") && (window.dc_flowMode = parseInt(getQueryVariable("konaflow"), 10));
  366.     "undefined" === typeof window.dc_flowByCommand && (dc_flowByCommand = !1);
  367.     if (1 ===
  368.         window.dc_flowMode || 3 === window.dc_flowMode) "undefined" === typeof window.dc_startInterval ? window.dc_startInterval = 0 : window.delayJSFlowBY = window.dc_startInterval;
  369.     var isDynamicContent;
  370.     if (2 === window.dc_flowMode || 4 === window.dc_flowMode) isDynamicContent = !0;
  371.     3 === window.dc_flowMode && (dc_flowByCommand = !0);
  372.     31107 === dc_PublisherID && (dc_PublisherID = 87143);
  373.     var konaHCdemo = -1,
  374.         konaThisURL = window.location.toString(),
  375.         isRestrictedUrl = !1,
  376.         konaHCdemoUrls = new KonaHash("http://www.mensfitness.com/nutrition/vitamins/194", 0,
  377.             "http://www.mensfitness.com/sports_and_recreation/outdoor_recreation/55", 1, "http://www.mensfitness.com/Tshirt_Workout/fitness/ab_exercises/136?cid=RSS", 2, "http://www.shape.com/workouts/articles/workout_schedule.html", 3, "http://www.shape.com/workouts/articles/blood_sugar.html", 4, "http://www.huffingtonpost.com/2008/11/16/paul-mccartney-hopes-to-r_n_144138.html", 5);
  378.     konaHCdemoUrls.hasItem(konaThisURL) && (konaHCdemo = konaHCdemoUrls.getItem(konaThisURL));
  379.     var konaHCdemoUrls = null,
  380.         hybridGroup = new KonaHash(7792,
  381.             1, 10747, 1, 47839, 1, 52730, 1, 32100, 1, 38144, 1, 64727, 1, 70447, 1, 70448, 1, 73310, 1);
  382.     hybridGroup.hasItem(dc_PublisherID) && 32100 !== dc_PublisherID && (7792 !== dc_PublisherID && 10747 !== dc_PublisherID) && (konaTweakMode |= 32768);
  383.     var dynamicContentPubs = [50635, 50201, 50629, 50630];
  384.     isDynamicContent |= isInArray(dynamicContentPubs, dc_PublisherID);
  385.     var isForcedDynamicContent = !1,
  386.         forcedDynamicContentPubs = new KonaHash(104880, bIE);
  387.     forcedDynamicContentPubs.hasItem(dc_PublisherID) && (isForcedDynamicContent = forcedDynamicContentPubs.getItem(dc_PublisherID));
  388.     if (48817 === dc_PublisherID) for (var restrictedUrlGroup = "http://it.toolbox.com/blogs/ppmtoday http://it.toolbox.com/blogs/db2luw http://it.toolbox.com/blogs/db2zos http://it.toolbox.com/blogs/elsua http://it.toolbox.com/blogs/database-talk http://it.toolbox.com/blogs/penguinista-databasiensis http://it.toolbox.com/blogs/juice-analytics http://it.toolbox.com/blogs/minimalit http://it.toolbox.com/blogs/database-soup http://blogs.ittoolbox.com/pm/ppm".split(" "), j = 0; j < restrictedUrlGroup.length; j += 1) if (-1 !==
  389.                 konaThisURL.toLowerCase()
  390.                 .indexOf(restrictedUrlGroup[j].toLowerCase()))
  391.             {
  392.                 isRestrictedUrl = !0;
  393.                 break
  394.             }
  395.     var konaHCdelayPagesUrls = ["http://autospies.com/", "http://autospies.com/news/recent.aspx"],
  396.         adPreviewMode = !1;
  397.     if ("undefined" !== typeof window.dc_adPreview || "undefined" !== typeof window.dc_standAloneMode) adPreviewMode = !0;
  398.     var nladPreviewMode = !1;
  399.     "undefined" !== typeof window.dc_nladPreview && (nladPreviewMode = !0);
  400.     var delayPageKeyPubs = [50517, 73384, 58050, 85192, 14429, 23724, 4130, 14541, 32528, 7611, 6682, 8192, 35725, 8079,
  401.         5278, 4566, 52987, 12854, 4213, 40109, 61456, 76947, 38115, 52417, 21401, 48820, 35061, 7834, 52993, 50537, 7795, 73386, 64532, 29104, 35267, 50538, 47547, 36981, 7283, 15304, 7121, 72598, 50375, 6912, 73395, 32101, 58816, 64381, 92562, 144527, 141351, 141350, 155821, 58109, 161007, 161008, 161009, 161010, 161011, 161012, 161013, 161014, 161015, 161016, 159088, 167686, 186783, 187350, 192506, 195798, 196319, 191434, 191137, 187350, 188147, 188075, 209905],
  402.         handlePageKey = function ()
  403.         {
  404.             return isInArray(delayPageKeyPubs, dc_PublisherID) || isInArray(konaHCdelayPagesUrls,
  405.                 konaThisURL) || window.dc_flowMode === 3 ? true : false
  406.         }, isDelayPageKey = handlePageKey(),
  407.         sName = "KonaBase.js",
  408.         userInteractionBaseJs;
  409.     userInteractionBaseJs = KONTERA_INTERFACE.isMobile ? "KonaMobile.js" : "KonaFlashBase.js";
  410.     var newLayerGroupTailoring = !1,
  411.         newLayerPublishersArray = [50198, 70028, 71869, 71881, 96216, 74998, 48414, 100478, 100480],
  412.         konaNonSupportedPlatform = !1;
  413.     if (140070 === dc_PublisherID || 140073 === dc_PublisherID) konaNonSupportedPlatform = !0;
  414.     !KONTERA_INTERFACE.isMobile && !0 === window.dc_MobileOnly && (konaNonSupportedPlatform = !0);
  415.     KONTERA_INTERFACE.isRelatedDemo = "1" === getQueryVariable("kona_related");
  416.     if (isInArray(newLayerPublishersArray, dc_PublisherID)) var basePublisherPath = HTTP_KONA + "/javascript/lib/" + KONA_VERSION + "/flash/publishers_design/" + dc_PublisherID + "/",
  417.     isNewLayer = newLayerGroupTailoring = !0, sName = "KonaInfra.js";
  418.     else
  419.     {
  420.         var isUserInteractionLayer;
  421.         window.konaForceNewLayer ? isUserInteractionLayer = !0 : getQueryVariable("konanl") ? isUserInteractionLayer = "1" === getQueryVariable("konanl") : !checkFlashSupportForHybrid() && !KONTERA_INTERFACE.isMobile ?
  422.             (isUserInteractionLayer = !1, window.hasRMFlashSupport = !1) : isUserInteractionLayer = !0
  423.     }
  424.     isUserInteractionLayer && (newLayerGroupTailoring = isNewLayer = !1, sName = userInteractionBaseJs, konaTweakMode |= Math.pow(2, 16));
  425.     var isHybridForLinuxFlag = !1;
  426.     if (hybridGroup.hasItem(dc_PublisherID) && (0 < (konaTweakMode & 18432) || 0 < (konaTweakMode & 32768)) && checkFlashSupportForHybrid()) isHybridForLinuxFlag = !0, sName = "FlashKonaLibBaseRM.js";
  427.     if (!isNewLayer)
  428.     {
  429.         var randCDN = 100 * Math.random();
  430.         getQueryVariable("konac") || 80 >= randCDN ? (konaTweakMode |=
  431.             33554432, HTTP_KONTERA_BASE = HTTP_KONAC) : HTTP_KONTERA_BASE = HTTP_KONA
  432.     }
  433.     adPreviewMode && (sName = "KonaBase.js");
  434.     var isCalledKonaBase = !1;
  435.     String.format = function ()
  436.     {
  437.         if (arguments.length === 0) return null;
  438.         for (var a = arguments[0], b = 1; b < arguments.length; b = b + 1) a = a.replace(RegExp("\\{" + (b - 1) + "\\}", "gm"), arguments[b]);
  439.         return a
  440.     };
  441.     var tryToTraceRounds = 5,
  442.         trace = function (a)
  443.         {
  444.             if (typeof jsTrace !== "undefined") jsTrace.send(a);
  445.             else
  446.             {
  447.                 tryToTraceRounds = tryToTraceRounds - 1;
  448.                 tryToTraceRounds > 0 ? setTimeout("trace('" + a + "')", 500) : tryToTraceRounds =
  449.                     null
  450.             }
  451.         }, logit = function (a)
  452.         {
  453.             trace(a)
  454.         }, KonaJSfiles = [],
  455.         scriptTagId = function ()
  456.         {
  457.             var a = "";
  458.             dc_PublisherID === 503 && bIE6 && (a = "ID='catfish-wrap'");
  459.             return a
  460.         }, startDynamicContentFlow = function ()
  461.         {
  462.             if (!(window.dc_flowMode === 0 || window.dc_flowMode === 1))
  463.             {
  464.                 if (window.dc_flowMode !== 3)
  465.                 {
  466.                     delayJSFlowBY = 3E3;
  467.                     isDynamicContent = true;
  468.                     if (!isCalledKonaBase)
  469.                     {
  470.                         isCalledKonaBase = true;
  471.                         for (var a, b = 0; b < KonaJSfiles.length; b = b + 1)
  472.                         {
  473.                             a = document.createElement("script");
  474.                             a.type = "text/javascript";
  475.                             a.src = KonaJSfiles[b];
  476.                             document.getElementsByTagName("head")[0].appendChild(a)
  477.                         }
  478.                     }
  479.                 }
  480.                 if (typeof konaBaseHere !==
  481.                     "undefined") if (konaBaseHere)
  482.                     {
  483.                         checkDoRunOnPage();
  484.                         if (window.dc_flowMode === 2)
  485.                         {
  486.                             $JK.isReady = true;
  487.                             $JK(function () {})
  488.                         }
  489.                         dcInit()
  490.                     }
  491.                     else
  492.                     {
  493.                         konaRetry = konaRetry - 1;
  494.                         konaRetry > 0 && setTimeout(function ()
  495.                         {
  496.                             startDynamicContentFlow()
  497.                         }, 75)
  498.                     }
  499.             }
  500.         };
  501.     if (!konaNonSupportedPlatform && (isNewLayer && (KonaJSfiles[KonaJSfiles.length] = basePublisherPath + "designParams.js" + konaSuffix), KonaJSfiles[KonaJSfiles.length] = HTTP_KONTERA_BASE + "/javascript/lib/" + KONA_VERSION + "/" + sName, "undefined" !== typeof dc_PublisherID))
  502.     {
  503.         var scriptTags = "",
  504.             disableKontera =
  505.                 readCookie("KonteraContentLink"),
  506.             disableInfra = readCookie("disable_kontera"),
  507.             tagID = scriptTagId();
  508.         if (!isRestrictedUrl && !(isHybridForLinuxFlag && !isWindows() && !isMac() || !checkFlashSupportForHybrid() && hybridGroup.hasItem(dc_PublisherID) || disableKontera || disableInfra || 73310 === dc_PublisherID || isDynamicContent || !isKonaFirst))
  509.         {
  510.             if (!window.document || !window.document.body) KonaJSfiles = [KONTERA_INTERFACE.getReporterUrl() + '&MQKey=Errors&ReportData={"JSVersion":"' + KONA_VERSION + '","url":"' + escape(window.location) +
  511.                     '","errorType":"badtag"}&r=' + Math.floor(1001 * Math.random())];
  512.             for (var i = 0; i < KonaJSfiles.length; i += 1) scriptTags = "<SCRIPT LANGUAGE='JavaScript' " + tagID + " SRC='" + KonaJSfiles[i] + "'><\/SCRIPT>", KONTERA_INTERFACE.write(scriptTags)
  513.         }
  514.         hybridGroup = null;
  515.         4 === window.dc_flowMode && KONTERA_INTERFACE.ready(startDynamicContentFlow)
  516.     }
  517. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement