Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // v:9.2.5
- var skimlinks_pub_id = '40585X1049952';
- var skimlinks_site = 'hello.dj';
- var skimwords_hover_name = 'neutral';
- var skimwords_horizontal_distance = 80;
- var skimwords_vertical_distance = 80;
- var noskoupon = true;
- var noskimproducts = true;
- var skimwords_instant = true; (function() {
- var Tb,
- Ub;
- function Dc() {
- w = $;
- z = function() {
- var a = /^\s+/,
- b = /\s+$/;
- /\S/.test("\u00a0") && (a = /^[\s\xA0]+/, b = /[\s\xA0]+$/);
- return {
- trim: String.prototype.trim ? function(a) {
- return null == a ? "": String.prototype.trim.call(a)
- }: function(c) {
- return null == c ? "": c.toString().replace(a, "").replace(b, "")
- },
- inArray: function(a, b, e) {
- var g;
- if (b) {
- if (Array.prototype.indexOf)
- return Array.prototype.indexOf.call(b, a, e);
- g = b.length;
- for (e = e ? 0 > e ? Math.max(0, g + e) : e: 0; e < g; e++)
- if (e in b && b[e] === a)
- return e
- }
- return - 1
- },
- support: function() {
- var a,
- b,
- e,
- g = t.body;
- b = !0;
- a = t.createElement("div");
- a.style.cssText = "visibility:hidden;border:0;width:0;height:0;position:static;top:0;margin-top:1px";
- g.insertBefore(a, g.firstChild);
- b = t.createElement("div");
- a.appendChild(b);
- b.innerHTML = "<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>";
- e = b.getElementsByTagName("td");
- e[0].style.display = "";
- e[1].style.display = "none";
- b.innerHTML = "";
- b.style.width = b.style.paddingLeft = "1px";
- b = 2 === b.offsetWidth;
- g.removeChild(a);
- return {
- boxModel: b
- }
- } (),
- create: w,
- add_class: function(a, b) {
- class_re = RegExp("\\b" + aa(b) + "\\b");
- class_re.test(a.className) || (a.className += " " + b)
- },
- remove_class: function(a, b) {
- class_re = RegExp("\\b" + aa(b) + "\\b", "g");
- if (class_re.test(a.className))
- a.className = a.className.replace(class_re, "")
- },
- set_html: function(a, b) {
- a.innerHTML = b
- },
- size: function(a) {
- var b,
- e = 0;
- for (b in a)
- a.hasOwnProperty(b) && e++;
- return e
- }
- }
- } ()
- }
- function eb() {
- t = f.document;
- fb = null;
- p = {
- jQueryUrl: "https://ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.min.js",
- jQueryMinVersion: "1.4.4",
- jQueryMaxVersion: "1.9.0",
- pixelPath: "//t.skimresources.com/",
- sw_domain: f.skimlinks_domain || "go.redirectingat.com",
- instantApiUrl: "//i.skimresources.com/api/index.php",
- skimwordsApiUrl: "//i.skimresources.com/api/index.php",
- skimwordsLiteUrl: "//s.skimresources.com/js/lite/",
- productApiUrl: "//d.skimresources.com/api/product.php",
- productCSSDomain: "//s.skimresources.com/css/flyover-",
- trackingApiUrl: "//t.skimresources.com/api/",
- delayBeforeFadeOut: 250
- };
- gb = t.createTextNode("").nodeName;
- hb = ib = null;
- ua = 0;
- i = null;
- jb = "<div id='flyover2-{{id}}' class='flyover2-outer {{multiclass}}'><div class='flyover2-body'></div><div class='flyover2-bottom'><a class='bottom-link' target='_blank' href='http://www.skimlinks.com/?ref=flyover' ref='hoverover'></a><a class='bottom-link-2' title='{{hover_title}}'></a></div></div>";
- ua = 0;
- K = !1;
- Ca = null;
- P = "";
- Da = v = "02";
- kb = "en";
- lb = Vb = 0;
- Ea = Fa = !1;
- mb = '<div class="flyover2-row">{{closeButton}}{{imageLink}}{{titleLink}}<div class="flyover2-box-container"><div class="flyover2-merc-section"><span class="flyover2-merc">{{merchantLink}}</span></div><div class="flyover2-price">{{priceLink}}</div>{{emptyLink}}<br /></div></div>';
- nb = '<div class="flyover2-row {{extraClass}}"><div class="flyover2-merc-section"><span class="flyover2-merc">{{merchantLink}}</span></div><div class="flyover2-price">{{priceLink}}</div>{{emptyLink}}<br /></div>';
- ob = '<div class="flyover2-row first"><div class="flyover2-close nowidth"></div>{{imageLink}}{{titleLink}}</div>';
- pb = '<div class="flyover2-row"><div class="flyover2-search-section">{{link1}}</div>{{link2}}</div>';
- qb = 73;
- rb = 55;
- la = Ga = !1;
- ma = f.skimwords_standard || !1;
- na = f.skimwords_lite || !1;
- oa = f.force_location || L.href;
- Ha = f.skimwords_hover_name || "dark";
- W = f.skimwords_instant || !1;
- Wb = f.skimwords_horizontal_distance || 0;
- Xb = f.skimwords_vertical_distance || 0;
- sb = f.skimwords_block_ie7 || !1;
- tb = f.skimwords_no_limit || !1;
- sw_debug = f.skimwords_debug || 0;
- ub = f.skimwords_force_country || !1;
- vb = f.skimwords_force_tree || !1;
- wb = f.skimwords_prio_threshold || 0;
- xb = f.skimwords_diy || !1;
- Ia = f.skimwords_diy_filter || !1;
- B = f.skimlinks_pub_id || "";
- Yb = f.skimlinks_maxproducts || 3;
- yb = f.noskimproducts || !1;
- __noevents = f.noevents || !1;
- Ea = f.skimwords_merchant_excludes || !1;
- Fa = f.skimwords_merchant_includes || !1; (X = window.skimwords_branded_merchant || !1) && (X = parseInt(X));
- zb = window.skimwords_branded_merchant_url || !1;
- f.skimwords_flyover_version && (Da = f.skimwords_flyover_version);
- if (f.skimwords_instant_api_location)
- p.instantApiUrl = f.skimwords_instant_api_location,
- p.skimwordsApiUrl = f.skimwords_instant_api_location;
- if (f.skimwords_css_location)
- p.productCSSDomain = f.skimwords_css_location;
- if (na || ma)
- W = !0;
- f.skimwords_flyover_template && (jb = f.skimwords_flyover_template);
- f.skimwords_flyover_loop_multi && (mb = f.skimwords_flyover_loop_multi);
- f.skimwords_flyover_loop_simple && (nb = f.skimwords_flyover_loop_simple);
- f.skimwords_flyover_before && (ob = f.skimwords_flyover_before);
- f.skimwords_flyover_after && (pb = f.skimwords_flyover_after);
- f.skimwords_flyover_max_title_multi && (qb = f.skimwords_flyover_max_title_multi);
- f.skimwords_flyover_max_title_single && (rb = f.skimwords_flyover_max_title_single);
- f.skimwords_flyover_big_thumbnails && (Ga = f.skimwords_flyover_big_thumbnails);
- P = ma ? P + "1": na ? P + "2": P + "3";
- Ha && (P += Ha);
- sb && (P += "ie7block");
- E.pag = oa;
- Zb && Zb()
- }
- function $b(a) {
- F(a, "click", Q);
- F(a, "contextmenu", Q)
- }
- function ac() {
- var a = p.productCSSDomain + Ha,
- b = t.createElement("link");
- b.rel = "stylesheet";
- b.text = "text/css";
- b.href = a + ".css";
- t.getElementsByTagName("head")[0].appendChild(b);
- if (X)
- a = p.productCSSDomain + "branded-" + X + ".css",
- b = t.createElement("link"),
- b.rel = "stylesheet",
- b.text = "text/css",
- b.href = a,
- t.getElementsByTagName("head")[0].appendChild(b)
- }
- function Ec(a) {
- var b = t.createElement("div");
- b.innerHTML = a;
- b = b.childNodes[0];
- t.body.appendChild(b);
- return b
- }
- function Fc(a, b, c) {
- var d,
- e;
- e = [];
- i = Ec(a);
- F(i, "mouseover", function() {
- K = !0
- });
- F(i, "mouseout", function() {
- Ja();
- K = !1
- });
- var g = c ? "branded-": "flyover2-",
- a = ba(i, g + "body") ? i: Y(i, g + "body")[0];
- z.set_html(a, b);
- d = Y(a, "skimwords-hover-link");
- for (b = 0, c = d.length; b < c; b++)
- e.push(d[b]);
- d = Y(a, "skimwords-ebay-link");
- for (b = 0, c = d.length; b < c; b++)
- e.push(d[b]);
- for (b = 0, c = e.length; b < c; b++)
- d = e[b],
- $b(d);
- e = Y(i, g + "close")[0];
- F(e, "click", function() {
- Ja();
- K = !1
- });
- e = Y(a, g + "row");
- for (b = 1, c = e.length; b < c; b++)
- d = e[b],
- w(d).hover(function() {
- z.add_class(this, g + "row-hover")
- }, function() {
- z.remove_class(this, g + "row-hover")
- });
- e = Y(a, g + "box-container");
- for (b = 0, c = e.length; b < c; b++)
- d = e[b],
- w(d).hover(function() {
- z.add_class(this, g + "box-container-hover")
- }, function() {
- z.remove_class(this, g + "box-container-hover")
- });
- return i
- }
- function Ja() {
- if (f.skimwords_persistent_flyover)
- return ! 1;
- setTimeout(function() {
- if (!K && i) {
- var a = bc;
- hb = (new Date).getTime();
- var b = {};
- b.dur = hb - ib;
- b.pub = B;
- b.pag = oa;
- b.guid = H;
- b.gid = s(a, "data-group-id");
- b.phr = Ka(a);
- b.url = s(a, "href");
- b.ver = s(a, "data-flyover-version");
- b.pref = M;
- if (i)
- b.pc = Y(i, "merc-link").length;
- a = p.trackingApiUrl + "hover.php?data=" + encodeURIComponent(ca(b)) + (0 != u ? "&dnt=" + u: "") + (I ? "&fdnt=1": "");
- R(a, !1, {
- async: !0
- });
- w(i).fadeOut("fast").slideUp();
- w(i).remove();
- K = i = !1
- }
- }, p.delayBeforeFadeOut)
- }
- function Gc(a, b, c, d, e, g) {
- s(a, "data-flyover", ua);
- w(a).bind("mouseenter", function(f) {
- Ca = setTimeout(function() {
- var h = b,
- j = va(jb, {
- id: c,
- multiclass: d ? "flyovermulti": "",
- hover_title: e ? e: ""
- });
- g && (j = j.replace(/flyover2/g, "branded"), h = h.replace(/flyover2/g, "branded"), zb && (h = h.replace('<div class="branded-close nowidth"></div>', '<a class="branded-logo skimwords-hover-link" target="_blank" href="' + zb + '"></a><div class="branded-close nowidth"></div>')));
- i || Fc(j, h, g);
- var h = f.pageX,
- j = f.pageY,
- l = w(i).width(),
- n = w(i).height();
- w(t).width();
- var m = h,
- n = 0 - n - 5,
- m = h - l / 2;
- w(i).css({
- top: j + "px",
- left: m + "px",
- marginTop: n + "px",
- marginLeft: "0px"
- });
- K || w(i).fadeIn("fast");
- ib = (new Date).getTime();
- bc = a;
- K = !0
- }, 500)
- });
- w(a).bind("mouseleave", function() {
- Ca && clearTimeout(Ca);
- Ja();
- K = !1
- });
- ua++
- }
- function Hc(a) {
- a = a.split(".");
- a[0] = a[0].split("").reverse().join("");
- a[0] = a[0].replace(/(\d{3})(?!,)/g, "$1,");
- a[0] = a[0].split("").reverse().join("");
- a[0] = 0 == a[0].indexOf(",") ? a[0].substring(1) : a[0];
- return a.join(".")
- }
- function cc(a) {
- function b(a, b, c, d, e, g, f) {
- return '<a href="' + c.url + '" class="' + (d || "") + ' skimwords-link skimwords-hover-link" data-skim-creative="' + f + '" data-skim-product="' + g + '" data-skimwords-word="' + e + '" data-skimwords-id="' + c.product_id + "X" + c.merchant_id + '" title="' + b + '" target="_blank" border=0>' + a + "</a>"
- }
- if (a)
- for (var c = S("skimwords-link"), d = 0, e = c.length; d < e; d++) {
- var g = c[d],
- f = parseInt(N(g, "group-id")),
- h = N(g, "skimwords-id"),
- j = N(g, "skimwords-word");
- Ka(g);
- var l = parseInt(N(g, "skim-creative")) % 10,
- n = 0,
- m = "",
- O,
- o = !0,
- x,
- k,
- wa,
- q,
- Ma,
- t,
- T,
- y;
- if (f && a.groups) {
- if (T = a.groups[f]) {
- O = 0;
- x = !1;
- m = [];
- k = "The availability and pricing displayed are not guaranteed and are subject to change.";
- wa = [];
- o = !0;
- for (y in T)
- T.hasOwnProperty(y) && (T[y].mt && (x = !0), y === h ? wa.unshift(y) : wa.push(y));
- var da = !1;
- if (X)
- for (y in T)
- if (T.hasOwnProperty(y) && parseInt(T[y].merchant_id) == X) {
- da = !0;
- x && (x = !1, s(g, "href", T[y].url), s(g, "data-skimwords-id", y), h = y, q = s(g, "data-skim-creative").toString(), s(g, "data-skim-creative", q.charAt(0) + "04" + q.charAt(3) + q.charAt(4)));
- break
- }
- for (Ma = 0, t = wa.length; Ma < t; Ma++)
- if (y = wa[Ma], q = T[y], !(da && parseInt(q.merchant_id) != X)) {
- da && (o = !1, Ga = !0);
- if (x) {
- if (o = !1, !q.mt)
- continue
- } else - 1 !== q.url.indexOf("ebay.") && (o = !1);
- 1E7 < q.product_id && 6 != parseInt(l) ? y = q.product_id - 1E7: (parseInt(l), y = q.product_id);
- var i = y == h,
- A = x ? qb: rb;
- if (!da || i)
- if (i || O < Yb && q.price && " " != q.price) {
- var p = "",
- u = "$",
- n = 1;
- O++;
- s(g, "title", "");
- q.price = Hc(q.price.toString());
- full_title = q.title;
- q.title.length > A && (q.title = q.title.substr(0, A - 3) + "...");
- if (q.country)
- if ("GB" === q.country)
- u = "£";
- else if ("DE" == q.country) {
- k = String.fromCharCode(252);
- var u = String.fromCharCode(246),
- A = String.fromCharCode(228),
- w = String.fromCharCode(196);
- k = "Die Verf" + k + "gbarkeit der Produkte und der ver" + u + "ffentlichte Preis werden nicht garantiert. Preis" + A + "nderungen und " + w + "nderung der Verf" + k + "gbarkeit vorbehalt.";
- u = "€"
- }
- da && (v = "04");
- A = {};
- A.imageLink = b('<img src="' + q.image + (Ga ? "": "_thumb") + '" style="border:0px !important;" title="' + full_title + '" />', "", q, "image", j, y, "2" + v + "1" + l);
- A.titleLink = b(q.title, full_title, q, "product-link flyover2-link", j, y, "2" + v + "2" + l);
- A.merchantLink = b(q.merchant_name, "", q, "merc-link flyover2-clickable", j, q.product_id, "2" + v + "3" + l);
- A.priceLink = b(u + q.price, "", q, "flyover2-clickable", j, q.product_id, "2" + v + "3" + l);
- A.emptyLink = b("", full_title, q, "flyover2-arrow product-link", j, q.product_id, "2" + v + "2" + l);
- A.plainLink = q.url;
- x ? (v = parseInt(Da) + 1, 10 > v && (v = "0" + v), A.closeButton = i ? "<div class='flyover2-close nowidth'></div>": "", p = va(mb, A)) : (v = parseInt(Da), 10 > v && (v = "0" + v), da && (v = "04"), i && (p = va(ob, A)), A.extraClass = i ? "flyover2-row-main": "", p += va(nb, A));
- s(g, "data-flyover-version", v);
- i ? m.splice(0, 0, p) : m.push(p)
- }
- }
- o && (h = "_sacat=See-All-Categories&_nkw=" + j, skim_gets = "&skimlinks_search_product=ebay&skimlinksurl=" + encodeURIComponent("http://www.ebay.com/sch/i.html?") + "&skimlinkspubid=" + B, naked_link = "http://www.ebay.com/sch/i.html?" + h, ebay_link = "http://go.redirectingat.com/forms.php?" + h + skim_gets, m.push(va(pb, {
- link1: '<a href="' + naked_link + '" data-skimlinks-href="' + ebay_link + '" target="_blank" class="search-link flyover2-clickable skimwords-ebay-link" title="Search on eBay">Search on eBay</a>',
- link2: '<a href="' + naked_link + '" data-skimlinks-href="' + ebay_link + '" target="_blank" class="flyover2-arrow flyover2-clickable skimwords-ebay-link" title="Search on eBay"></a>'
- })));
- m = m.join("")
- }
- n && !("msie" === r.browser && 7 > r.version) && z.support.boxModel && Gc(g, m, f, x, k, da)
- }
- }
- }
- function Ic(a) {
- function b(a) {
- for (var b = [], c = 256, d = {}, e = 0; 256 > e; e++)
- d[String.fromCharCode(e)] = e;
- for (var g = "", e = 0, f = a.length; e < f; e++) {
- var h = a.charAt(e),
- La = g + h;
- d[La] ? g = La: (b.push(d[g]), d[La] = c++, g = "" + h)
- }"" != g && b.push(d[g]);
- return b
- }
- function c(a) {
- for (var b = 256, c = [], d = 8, e = 0, g = 0, f = 0, h = a.length; f < h; f++) {
- e = (e << d) + a[f];
- g += d;
- b++;
- for (b >> d && d++; 7 < g;)
- g -= 8,
- c.push(e >> g),
- e & =(1 << g) - 1
- }
- c.push(g ? e << 8 - g: "");
- return c
- }
- function d(a) {
- for (var b = [], c = 0, d = 0, e = "", g = 0, f = a.length; g < f; g++) {
- var h = a[g];
- 127 < h && (h -= 128, d += Math.pow(2, c));
- 0 == h || 34 == h || 37 == h || 38 == h || 39 == h || 43 == h || 61 == h || 92 == h ? b.push("=" + String.fromCharCode(h + 16)) : b.push(String.fromCharCode(h));
- c++;
- 6 < c && (e += 0 == d || 34 == d || 37 == d || 38 == d || 39 == d || 43 == d || 61 == d || 92 == d ? "=" + String.fromCharCode(d + 16) + b.join("") : String.fromCharCode(d) + b.join(""), b = [], c = d = 0)
- }
- return e += 0 == d || 34 == d || 37 == d || 38 == d || 39 == d || 43 == d || 61 == d || 92 == d ? "=" + String.fromCharCode(d + 16) + b.join("") : String.fromCharCode(d) + b.join("")
- }
- for (var a = String.fromCharCode(74) + a, e = "", g = 0, f = 0, h = 0; 256 > h; h++)
- e += String.fromCharCode(224);
- for (var j = 256, l = {}, h = 0; 256 > h; h++)
- l[String.fromCharCode(h)] = h;
- for (var n = [], m = "", O = "", h = 0, o = a.length; h < o; h++) {
- var x = a.charAt(h),
- k = x.charCodeAt(0);
- if (255 < k) {
- var i = k;
- switch (k) {
- case 8364:
- k = 128;
- break;
- case 8218:
- k = 130;
- break;
- case 402:
- k = 131;
- break;
- case 8222:
- k = 132;
- break;
- case 8230:
- k = 133;
- break;
- case 8224:
- k = 134;
- break;
- case 8225:
- k = 135;
- break;
- case 710:
- k = 136;
- break;
- case 8240:
- k = 137;
- break;
- case 352:
- k = 138;
- break;
- case 8249:
- k = 139;
- break;
- case 338:
- k = 140;
- break;
- case 381:
- k = 142;
- break;
- case 8216:
- k = 145;
- break;
- case 8217:
- k = 146;
- break;
- case 8220:
- k = 147;
- break;
- case 8221:
- k = 148;
- break;
- case 8226:
- k = 149;
- break;
- case 8211:
- k = 150;
- break;
- case 8212:
- k = 151;
- break;
- case 732:
- k = 152;
- break;
- case 8482:
- k = 153;
- break;
- case 353:
- k = 154;
- break;
- case 8250:
- k = 155;
- break;
- case 339:
- k = 156;
- break;
- case 382:
- k = 158;
- break;
- case 376:
- k = 159
- }
- i != k ? (x = String.fromCharCode(k), f++, g++, 256 <= g && (m += e, g = 0)) : (0 < g && (m += e.substr(0, g), g = 0), m += String.fromCharCode(parseInt(k / 256)))
- } else
- f++,
- g++,
- 256 <= g && (m += e, g = 0);
- i = O + x;
- l[i] ? O = i: (255 < k && (x = String.fromCharCode(k % 256)), n.push(l[O]), l[i] = j++, O = "" + x)
- }"" != O && n.push(l[O]);
- 0 < g && (m += e.substr(0, g));
- e = d(c(n));
- return a.length != f ? (a = d(c(b(m))), e + "==" + a) : e
- }
- function Jc(a) {
- var a = a.compress || 0,
- b = G.get_content(),
- c,
- d = "";
- a && (a = 1, b = Ic(b));
- ma ? d = "standard": na ? d = "lite": Ia && (d = "diy");
- if ("msie" === r.browser && !f.XDomainRequest)
- W = !1,
- pa("skimwordsDataCallback");
- else {
- b = {
- data: '{"instant":"1","pubcode":"' + B + '","page":"' + oa + '","pref":"' + M + '"' + (ub ? ',"force_country":"' + ub + '"': "") + (vb ? ',"force_tree":"' + vb + '"': "") + (Ea ? ',"merchant_excludes":"' + Ea + '"': "") + (Fa ? ',"merchant_includes":"' + Fa + '"': "") + (xb ? ',"diy":"1"': "") + "}",
- content: b,
- dnt: u,
- fdnt: I ? "1": ""
- };
- a && (b.compressed = 1);
- sw_debug && (b.debug = sw_debug);
- d && (b.filter = d);
- a = [];
- for (c in b)
- b.hasOwnProperty(c) && a.push("" + c + "=" + C(b[c]));
- c = a.join("&");
- if ("msie" !== r.browser) {
- var e = !1,
- g;
- g = new XMLHttpRequest;
- g.open("POST", p.instantApiUrl, !0);
- g.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
- "withCredentials" in g && (g.withCredentials = !0);
- g.async = "true";
- g.onreadystatechange = function() {
- if (!e && 4 === g.readyState)
- if (e = !0, 200 === g.status) {
- var a = {},
- a = JSON && JSON.parse ? JSON.parse(g.responseText) : eval("(" + g.responseText + ")");
- Na(a)
- } else
- W = !1,
- pa("skimwordsDataCallback")
- };
- try {
- g.send(c)
- } catch(La) {}
- } else if (f.XDomainRequest) {
- var h = new XDomainRequest;
- "withCredentials" in h && (h.withCredentials = !0);
- if (h) {
- h.open("POST", p.instantApiUrl, !0);
- h.onload = function() {
- var a = {};
- try {
- a = JSON.parse(h.responseText)
- } catch(b) {
- a = eval("(" + h.responseText + ")")
- }
- Na(a)
- };
- h.onerror = function() {};
- h.onprogress = function() {};
- h.ontimeout = function() {};
- h.async = !0;
- try {
- h.send(c)
- } catch(j) {
- W = !1,
- pa("skimwordsDataCallback")
- }
- }
- } else
- W = !1,
- pa("skimwordsDataCallback")
- }
- }
- function Kc(a) {
- var b = a.offsetWidth,
- a = a.offsetHeight;
- return 468 == b && 60 == a || 234 == b && 60 == a || 728 == b && 90 == a || 300 == b && 250 == a || 250 == b && 250 == a || 336 == b && 280 == a || 160 == b && 600 == a || 120 == b && 600 == a ? !0: !1
- }
- function Lc(a) {
- a.push("div[class=widget-content]");
- a.push("div[class=googleAdText]");
- a.push("div[id=ad]");
- a.push("div[id=banner]");
- a.push("div[id=advertisement]");
- a.push("div[id=adv_container]");
- a.push("div[class=ad]");
- a.push("div[class=banner]");
- a.push("div[class=advertisement]");
- a.push("div[class=ad_container]"); - 1 != L.href.indexOf(".google.") ? (a.push("td[class=gac_c]"), a.push("table[id=mbEnd]"), a.push("span[id=taw]"), a.push("td[class=std]"), a.push("table[class=gssb_e]")) : -1 != L.href.indexOf(".yahoo.") ? (a.push("ul[class=spns reducepx-spnslist]"), a.push("ul[class*=reducepx-spnslist]"), a.push("ul[id=east]")) : -1 != L.href.indexOf(".aol.") ? (a.push("div[class=sllLink]"), a.push("div[class=n]")) : -1 != L.href.indexOf(".bing.") && (a.push("div[class=sb_adsW]"), a.push("div[id=sidebar]"))
- }
- function Mc(a, b) {
- function c(a) {
- var b = a.nodeName === gb ? z.trim(a.nodeValue) : null;
- return b ? (d.push(a), f++, 10 > f ? n.push(b) : (f = 0, n.push(b + "\n"), e += n.join(" SKMLNKS "), n = []), !0) : !1
- }
- var d = [],
- e = "",
- g = [],
- f = 0,
- h,
- j,
- l,
- n = [];
- 0 === a.length && a.push("body");
- Lc(b);
- var m = b.join(",").replace("class=", "class^=");
- h = z.create("body");
- if (h.find(m).size()) {
- for (var i = !0, o = [], m = 0, x = b.length; m < x; m++)
- h.find(b[m]).size() && o.push(b[m]);
- m = o.join(",").replace("class=", "class^=");
- delete o
- } else
- i = !1;
- delete h;
- o = 0;
- for (x = a.length; o < x; o++)
- for (var k = z.create(a[o]), p = 0, q = k.length; p < q; p++) {
- g.push(k[p]);
- for (n = []; 0 < g.length;)
- if (h = g.shift())
- if (j = z.create(h), (!i || !j.is(m)) && !Kc(j) && !xa(h, "noskimwords", !0))
- if (h.hasChildNodes())
- for (l = 0, x = h.childNodes.length; l < x; l++)(j = h.childNodes[l]) && j.nodeName && !c(j, m) && -1 !== ",p,body,div,span,ul,ol,li,table,tbody,td,tr,th,tfoot,col,colgroup,em,strong,big,small,blockquote,cite,b,dl,dfn,dd,dt,ins,form,legend,noframes,pre,noscript,center,font,i,article,section,".indexOf("," + j.nodeName.toLowerCase() + ",") && g.push(j);
- else
- c(h, m);
- e += n.join(" SKMLNKS ") + "\n";
- n = []
- }
- return {
- nodes: d,
- content: e
- }
- }
- function Nc(a, b, c, d, e, g) {
- var f = a.word.split(" "),
- h = aa(a.word);
- "de" == Ab.toLowerCase() && (a.title = "Shopping link hinzugef\u00fcgt von SkimWords");
- if ("cn" === b || "ko" === b || "ja" === b)
- b = "(?:" + h + ")",
- c = '<a href="' + a.link + '" class="skimwords-link" target="_blank" data-skimwords-id="' + c + '" data-skimwords-word="' + encodeURIComponent(a.word) + '" data-group-id="' + d + '" data-skim-creative="' + g + '" data-skim-product="' + e + '" title="' + a.title + '">$1</a>';
- else if ((1 < f.length || "4" !== a.action_type) && (2 > f.length || /[a-zA-Z]+/.test(a.word)))
- b = "(?:^|[\\s]+)(?:\\\\;\\.|,\\'\\\"\\(\\)\\/:\\?])?(" + h + ")(?:\\'s)?(?:[\\\\;,\\.\\'\\\"|\\(\\)\\/:\\?])*(?:[\\s]+|$)",
- c = '$1$2<a href="' + a.link + '" class="skimwords-link" target="_blank" data-skimwords-id="' + c + '" data-skimwords-word="' + encodeURIComponent(a.word) + '" data-group-id="' + d + '" data-skim-creative="' + g + '" data-skim-product="' + e + '" title="' + a.title + '">$3$4</a>$5$6';
- else
- return null;
- a = b.replace(/\?:/g, "");
- return {
- search_regex: RegExp(b, "i"),
- repl_regex: RegExp(a, "i"),
- repl_text: c
- }
- }
- function Oc(a, b) {
- var c = 0,
- d,
- e,
- g,
- f,
- h;
- G.sort(function(a, b) {
- return b.length - a.length
- });
- G.get();
- for (g = 0; g < G.length(); g++)
- if (d = G.get_at(g), !xa(d, "noskimwords") && (e = dc(d, a)) && e.length) {
- spans = ec(e, d);
- for (e = 0, f = spans.length; e < f; e++)
- span = spans[e],
- d = span.match,
- h = span.node,
- !tb && 2 < parseInt(d.phrase.action_type) ? c < b && Bb(h, d) && c++:Bb(h, d)
- }
- }
- function ec(a, b) {
- var c = t.createDocumentFragment(),
- d = 0,
- e,
- g,
- f,
- h,
- j = [],
- l = b.nodeValue,
- n = b.parentNode;
- if (n) {
- for (e = 0, g = a.length; e < g; e++)
- f = a[e],
- h = t.createElement("span"),
- h.className = "skimwords-potential",
- d = t.createTextNode(l.substring(d, f.start)),
- c.appendChild(d),
- h.innerHTML = f.text,
- c.appendChild(h),
- d = {},
- d.node = h,
- d.match = f,
- j.push(d),
- d = f.start + f.text.length;
- e = t.createTextNode(l.substring(d));
- c.appendChild(e);
- n.replaceChild(c, b)
- }
- return j
- }
- function Pc(a) {
- var b,
- c = G.get(),
- d = [],
- e,
- g,
- f,
- h;
- for (f = 0, h = c.length; f < h; f++)
- if (b = c[f], (e = dc(b, a)) && e.length) {
- b = ec(e, b);
- for (e = 0, g = b.length; e < g; e++)
- d.push(b[e])
- }
- return d
- }
- function Cb(a, b) {
- var c = parseInt(a.phrase.action_type),
- d = parseInt(b.phrase.action_type),
- e = parseFloat(a.phrase.gpr),
- g = parseFloat(b.phrase.gpr),
- f = d - c,
- h = g - e;
- if (!h) {
- if (isNaN(e) && isNaN(g)) {
- if (!f)
- return b.phrase.word.length - a.phrase.word.length;
- if (8 !== d && 8 !== c) {
- if (4 === d)
- return 1;
- if (4 === c)
- return - 1
- }
- return f
- }
- return isNaN(e) ? 1: isNaN(g) ? -1: 0
- }
- return 0 < h ? 1: -1
- }
- function dc(a, b) {
- var c,
- d,
- e,
- g,
- f,
- h,
- j,
- l,
- n = [],
- m = [];
- if (!a)
- return m;
- c = a.data;
- if (Oa)
- l = Oa;
- else {
- l = [];
- for (var i in b)
- if (b.hasOwnProperty(i))
- for (g in j = b[i], j)
- if (j.hasOwnProperty(g)) {
- var o = j[g];
- if (!fc || !fc(o))
- o.group_id ? (d = o.group_id, e = "2" + v + "0" + o.action_type) : (d = 0, e = "1" + v + "0" + o.action_type),
- h = o.id,
- f = 1E7 < parseInt(h) && 6 !== o.action_type ? h -= 1E7: 0,
- (d = Nc(o, kb, h, d, f, e)) && l.push({
- phrase: o,
- repl_regex: d.repl_regex,
- replacement: d.repl_text,
- regex: d.search_regex
- })
- }
- l.sort(Cb);
- Oa = l
- }
- g = 0;
- for (i = l.length; g < i; g++) {
- o = l[g];
- d = o.phrase;
- j = {
- start: -1
- };
- j.phrase = d;
- j.text = null;
- if (a && 0 < d.limit)(d = c.match(o.regex)) ? (e = d[0].indexOf(d[1]), j.start = d.index + ( - 1 !== e ? e: 0), j.text = c.substring(j.start, j.start + d[1].length)) : j.start = -1;
- d = 0; - 1 != j.start && j.text && (d = 1);
- d ? (j.repl_regex = o.repl_regex, j.replacement = o.replacement, n.push(j)) : j.start = -1
- }
- if (n && n.length) {
- n.sort(Cb);
- i = n.length;
- c = [];
- for (g = 0; g < i; g++) {
- l = n[g];
- j = {};
- o = !0;
- j.lower = l.start;
- j.upper = l.start + l.text.length;
- d = 0;
- for (e = c.length; d < e; d++)
- if (f = c[d], j.lower >= f.lower && j.lower <= f.upper || j.upper <= f.upper && j.upper >= f.lower || f.lower >= j.lower && f.upper <= j.upper) {
- o = !1;
- break
- }
- o && (m.push(l), c.push(j))
- }
- n = c = null
- }
- m.sort(function(a, b) {
- return a.start - b.start
- });
- return m
- }
- function Bb(a, b) {
- var c = b.phrase;
- if (0 === c.limit)
- return ! 1;
- c.limit--;
- lb++;
- Vb++;
- var d = {};
- d.w = c.word;
- d.lp = c.link;
- 0 == c.group_id ? (d.t = "1" + v + "0" + c.action_type, d.pid = 0) : (d.t = "2" + v + "0" + c.action_type, d.pid = 6 == c.action_type ? c.id: c.id - 1E7);
- a: {
- var e,
- g;
- g = !0;
- for (c = 0, e = qa.length; c < e; c++)
- if (g = qa[c], g = !g.pid && !g.pid ? g.w === d.w: g.pid === d.pid)
- break a;
- qa.push(d)
- }
- Pa++;
- e = (a.data ? a.data: a.childNodes[0].data).replace(b.repl_regex, b.replacement);
- d = t.createElement("span");
- c = t.createDocumentFragment();
- d.innerHTML = e;
- if ("msie" === r.browser && 9 > r.version && (e = a.previousSibling, g = /^\s/, e && e.nodeValue && e.nodeValue.length && g.test(e.nodeValue[e.nodeValue.length - 1]) && (e.nodeValue += " "), (e = a.nextSibling) && e.nodeValue && e.nodeValue.length && g.test(e.nodeValue[0])))
- e.nodeValue = " " + e.nodeValue;
- for (; d.firstChild;)
- e = null,
- d.firstChild.nodeName === gb ? (e = c.appendChild(d.firstChild), G.add(e)) : (e = c.appendChild(d.firstChild), null != e && (Db(e, !0), Eb(e, !0)));
- z.create(a).replaceWith(c);
- return ! 0
- }
- function Qc(a, b) {
- if (a.length) {
- var c,
- d,
- e,
- g,
- f = [],
- h = 0,
- b = b || 0,
- j = "msie" === r.browser && 9 > r.version;
- if (j)
- c = z.create("body").text().length,
- 3E4 < c ? b = Math.ceil(c / 1E4) : j = !1;
- for (e = 0, g = a.length; e < g; e++) {
- d = a[e];
- c = d.node;
- d = d.match;
- var l = d.phrase.gpr ? parseFloat(d.phrase.gpr) : 0,
- n = !1;
- if ("1" === d.phrase.action_type || "2" === d.phrase.action_type || wb && l > wb)
- n = !0;
- j && (n = !0);
- "17075X740592" === B && z.create(c).parents(".atma-norules").length && (n = !0);
- if (!xa(c, "noskimwords") && 0 !== d.phrase.limit && Rc(c, f, n) && (h++, Bb(c, d), b && h >= b))
- break
- }
- }
- }
- function Fb(a) {
- var b = 0,
- c = 0;
- if (a.offsetParent) {
- do b += a.offsetLeft,
- c += a.offsetTop;
- while (a = a.offsetParent)
- }
- return {
- x: b,
- y: c
- }
- }
- function Sc(a, b, c) {
- var d = 0,
- e = a.length - 1,
- g,
- f;
- for ("function" !== typeof c && (c = function(a, b) {
- return a === b ? 0: a > b ? 1: -1
- }); d <= e;)
- if (g = Math.floor((e + d) / 2), f = c(b, a[g]), 0 < f)
- d = g + 1;
- else if (0 > f)
- e = g - 1;
- else
- return {
- found: !0,
- index: g
- };
- return {
- found: !1,
- index: d
- }
- }
- function Rc(a, b, c) {
- function d(a, b) {
- Math.abs(a.x - b.x) <= p && Math.abs(a.y - b.y) <= k && (r = !0);
- return a.y === b.y ? a.x - b.x: a.y - b.y
- }
- var e,
- g,
- f,
- h,
- j,
- l,
- n,
- m,
- i,
- o;
- f = Fb(a);
- var p = Wb,
- k = Xb,
- r = !1;
- if (!p && !k)
- return ! 0;
- p = !p ? 0: p;
- k = !k ? 4: k;
- g = [{
- test: function(a) {
- return 0 < a && a < b.length
- },
- count: function(a) {
- return a - 1
- }
- }, {
- test: function(a) {
- return a < b.length
- },
- count: function(a) {
- return a + 1
- }
- }];
- e = t.createElement("span");
- e.style.position = "absolute";
- a.nextSibling ? a.parentNode.insertBefore(e, a.nextSibling) : a.parentNode.appendChild(e);
- e = Fb(e);
- e = t.createElement("span");
- e.style.position = "absolute";
- a.nextSibling ? a.parentNode.insertBefore(e, a.nextSibling) : a.parentNode.appendChild(e);
- e = Fb(e);
- a = [f, e];
- for (h = 0; h < a.length; h++) {
- j = a[h];
- if (r)
- break;
- l = Sc(b, j, d);
- for (i = 0; i < g.length && !(o = g[i], r); i++)
- for (n = o.count(l.index); o.test(n); n = o.count(n)) {
- m = b[n];
- if (! (Math.abs(j.y - m.y) <= k))
- break;
- if (Math.abs(j.x - m.x) <= p) {
- r = !0;
- break
- }
- }
- }
- if (!c && r)
- return ! r;
- g = f.y === e.y ? f.x - e.x: f.y - e.y;
- 0 < g ? g = e: 0 > g ? (g = f, f = e) : (g = f, f = null);
- l.index === b.length ? (b.push(g), f && b.push(f)) : f ? b.splice(l.index, 0, g, f) : b.splice(l.index, 0, g);
- return c || !r
- }
- function Na(a) {
- if (D = a)
- if ("" == H && D.guid && (H = D.guid), D.lang && (kb = D.lang.toLowerCase()), a = G.get(D.includes, D.excludes), a.length && z.size(D.words)) {
- a = 1;
- if ("mozilla" === r.browser) {
- var b = /Firefox\/(\d.\d)/.exec(navigator.userAgent);
- b && 2 <= b.length && 3.7 >= parseFloat(b[1]) && (a = 0)
- } else "msie" === r.browser && 8 > r.version && (a = 0);
- if (a) {
- var c = Pc(D.words);
- for (a = 0, b = c.length; a < b; a++)
- c[a].orig_i = a;
- c.sort(function(a, b) {
- var c = Cb(a.match, b.match);
- return c ? c: a.orig_i - b.orig_i
- });
- Qc(c, tb ? 0: D.maxkeywords)
- } else
- Oc(D.words, D.maxkeywords);
- c = S("skimwords-link");
- if ("msie" === r.browser && 9 > r.version) {
- var d,
- e,
- f = /^\s/;
- for (a = 0, b = c.length; a < b; a++) {
- e = c[a];
- if ((d = e.previousSibling) && d.nodeValue && d.nodeValue.length && f.test(d.nodeValue[d.nodeValue.length - 1]))
- d.nodeValue += " ";
- if ((d = e.nextSibling) && d.nodeValue && d.nodeValue.length && f.test(d.nodeValue[0]))
- d.nodeValue = " " + d.nodeValue
- }
- }
- setTimeout(function() {
- for (var a = S("skimwords-link"), b, c = 0, d = a.length; c < d; c++)
- b = a[c],
- $b(b),
- gc && gc(b);
- if ("17075X740592" === B) {
- a = w(".atma-norules a.skimwords-link");
- c = 0;
- for (d = a.length; c < d; c++)
- a[c].style.color = "#C9C7C7 !important",
- a[c].style.fontStyle = "normal !important"
- }
- }, 10)
- }
- yb || (D.groups ? (la || (ac(), la = !0), cc({
- groups: D.groups
- })) : (fb = z.create(t), fb.ready(function() {
- la || (ac(), la = !0);
- for (var a = '{"groups": [', b = 0, c = S("skimwords-link"), d = 0, e = c.length; d < e; d++) {
- var f = c[d],
- g = s(f, "data-group-id");
- parseInt(g) && "0" != parseInt(g) && (0 != b && (a += ","), a += '"' + s(f, "data-group-id") + '"', b++)
- }
- b && R(p.productApiUrl + "?callback=productDataCallback&data=" + (a + "]}") + (0 != u ? "&dnt=" + u: "") + (I ? "&fdnt=1": ""))
- })));
- Qa()
- }
- function pa(a) {
- if (na || ma || Ia)
- if (a = "instantDataCallback", na)
- var b = "&filter=lite";
- else
- ma ? b = "&filter=standard": Ia && (b = "&filter=diy");
- else
- b = "";
- if (W)
- var c = encodeURIComponent('{"instant":"1","page":"' + oa + '","pref":"' + M + '","pubcode":"' + B + '"}'),
- d = p.instantApiUrl;
- else
- c = encodeURIComponent('{"page":"' + oa + '","pref":"' + M + '","pubcode":"' + B + '"' + (xb ? ',"diy":"1"': "") + "}"),
- d = p.skimwordsApiUrl;
- R(d + "?callback=" + a + "&data=" + c + (sw_debug ? "&debug=" + sw_debug: "") + (0 != u ? "&dnt=" + u: "") + (I ? "&fdnt=1": "") + b)
- }
- function Tc(a) {
- var b = null,
- c = function() {
- var b = 0;
- return function() {
- f.jQuery ? ($ = w = f.jQuery.noConflict(!0), a($)) : 100 > b++&&setTimeout(c, 10)
- }
- } ();
- if ($)
- a($);
- else {
- try {
- b = f.jQuery
- } catch(d) {}
- p || Ra();
- b && b.fn && b.fn.jquery && b.fn.jquery >= p.jQueryMinVersion ? ($ = w = b, a($)) : R(p.jQueryUrl, c)
- }
- }
- function ra() {
- Tc(function() {
- if ("msie" === r.browser && 8 > r.version)
- if (sb)
- ea = !0;
- else {
- var a = /Windows NT (\d.\d)/.exec(navigator.userAgent);
- a && 2 <= a.length && 6 >= parseFloat(a[1]) && (yb = !0)
- }
- ea || (Dc(), hc(), W ? pa("instantDataCallback") : pa("skimwordsDataCallback"))
- })
- }
- function hc() {
- for (var a = S("skimwords-link"), b = lb = 0, c = a.length; b < c; b++) {
- var d = z.create(a[b]);
- d.after(d.text());
- d.remove()
- }
- }
- var Ra,
- Gb,
- s,
- F,
- ic,
- jc,
- kc,
- Hb,
- ya,
- N,
- C,
- aa,
- Y,
- Ib,
- lc,
- mc,
- r,
- fa,
- Z,
- sa,
- ga,
- Sa,
- Jb,
- E,
- ha,
- ia,
- ja,
- Kb,
- U,
- Ta,
- qa,
- nc,
- Lb,
- S,
- R,
- ba,
- oc,
- Eb,
- Mb,
- Ua,
- xa,
- pc,
- qc,
- rc,
- sc,
- tc,
- uc,
- ca,
- vc,
- Nb,
- wc,
- xc,
- yc,
- Ob,
- Q,
- zc,
- V,
- Ac,
- Va,
- Wa,
- Xa,
- Pb,
- za,
- Bc,
- Aa,
- Ya,
- ka,
- Za,
- $a,
- ta,
- ab,
- J,
- Ba,
- Db,
- Ka,
- Cc,
- Qa,
- bb,
- H,
- Ab,
- u,
- I,
- Qb,
- cb,
- ea,
- B,
- Rb,
- L,
- M,
- db,
- f,
- Sb = {}.hasOwnProperty;
- ga = Sa = null;
- E = {
- pag: "",
- phr: {},
- pub: "",
- slc: 0,
- swc: 0,
- jsl: 0,
- jsf: "",
- guid: "",
- uc: "",
- t: 1
- };
- Jb = /http:/g;
- r = function() {
- var a;
- a = navigator.userAgent.toLowerCase();
- a = /(webkit)[ \/]([\w.]+)/.exec(a) || /(opera)(?:.*version)?[ \/]([\w.]+)/.exec(a) || /(msie) ([\w.]+)/.exec(a) || 0 > a.indexOf("compatible") && /(mozilla)(?:.*? rv:([\w.]+))?/.exec(a) || [];
- return {
- browser: a[1] || "",
- version: parseFloat(a[2]) || 0
- }
- } ();
- qa = [];
- Kb = (new Date).getTime();
- ja = [];
- Ta = [];
- U = Z = null;
- sa = !1;
- ha = [];
- fa = [];
- ia = [];
- xc = function() {
- qa = [];
- Kb = (new Date).getTime();
- ja = [];
- Ta = [];
- U = Z = null;
- sa = !1;
- ha = [];
- fa = [];
- return ia = []
- };
- ab = ta = Za = za = Pb = ka = J = null;
- Wa = [];
- cb = ea = Qb = B = Aa = $a = Va = Xa = Ya = null;
- H = Ab = "";
- I = u = 0;
- Rb = !1;
- f = this;
- L = f.location;
- M = "";
- Tb = ["noskim", "norewrite"];
- Ub = "*doubleclick.net,*mjxads.internet.com,*pgpartner.co.uk,*pgpartner.com,*pricegrabber.co.uk,*pricegrabber.com,*overture.com,*youtube.com".split(",");
- Bc = function() {
- return ! 0
- };
- nc = function(a) {
- var b;
- b = document.createElement("a");
- b.href = a;
- return Ba(b.hostname)
- };
- Ra = function() {
- var a,
- b,
- c,
- d,
- e,
- g,
- i,
- h,
- j,
- l,
- n,
- m,
- p,
- o,
- r,
- k,
- s,
- q,
- t,
- v,
- w;
- Sa = null != (a = document.getElementsByTagName("html")) ? a[0] : void 0;
- ha = null != (b = f.skimlinks_included_classes) ? b: [];
- fa = null != (p = f.skimlinks_excluded_classes) ? p: [];
- ia = null != (r = f.skimlinks_included_ids) ? r: [];
- ga = f.force_location ? nc(f.force_location) : L.hostname;
- J = null != (k = f.skimlinks_tracking) ? k: !1;
- ka = f.skimlinks_site || f.skimlinks_sitename || !1;
- Pb = null != (s = f.skimlinks_domain) ? s: "go.redirectingat.com";
- za = null != (q = f.skimlinks_google) ? q: !1;
- Za = null != za ? za: "skimout";
- ta = null != (t = f.skimlinks_target) ? t: !1;
- ab = null != (v = f.sl_test) ? v: !1;
- Wa = null != (w = f.skimlinks_exclude) ? w: [];
- Ya = null != (c = f.skimlinks_noright) ? c: !1;
- Xa = null != (d = f.skimlinks_exrel) ? d: !1;
- Va = null != (e = f.skimlinks_byrel) ? e: !1;
- $a = null != (g = f.skimlinks_blocked_tag) ? g: !1;
- Aa = 0;
- B = null != (i = f.skimlinks_pub_id) ? i: "";
- if (f.skimlink_legacy_support)
- f.skimlinks = function() {
- return ! 0
- },
- f.mugicPopWin = function() {
- return ! 0
- },
- f.mugicRightClick = function() {
- return ! 0
- };
- u = null != (h = f.skimlinks_dnt) ? h: 0;
- I = null != (j = window.skimlinks_nocookie) ? j: !1;
- Qb = null != (l = f.noimpressions) ? l: !1;
- cb = null != (n = f.noskimlinks || f.noskim) ? n: !1;
- ea = null != (m = f.noskimwords || f.noskim) ? m: !1;
- Rb = null != (o = f.skim_toolbar) ? o: !1;
- if (f.document && f.document.referrer)
- M = f.document.referrer;
- sc(ga) && (ea = cb = !0);
- J && !/^[a-z0-9_\\|]+$/i.test(J) && (J = !1);
- E.pub = B;
- E.uc = J;
- "undefined" !== typeof eb && null !== eb && eb();
- fa.push("noskimlinks");
- return ! 0
- };
- sc = function(a) {
- var b,
- c,
- d,
- e;
- if (f.noskim_domains) {
- e = f.noskim_domains;
- for (c = 0, d = e.length; c < d; c++)
- if (b = e[c], -1 !== a.toLowerCase().indexOf(b.toLowerCase()))
- return ! 0
- }
- return ! 1
- };
- Ba = function() {
- var a;
- a = /^www\./i;
- return function(b) {
- return b.replace(a, "")
- }
- } ();
- F = function() {
- return document.addEventListener ? function(a, b, c) {
- if (a && (a.nodeName || a === f))
- return a.addEventListener(b, c, !1)
- }: function(a, b, c) {
- if (a && (a.nodeName || a === f))
- return a.attachEvent("on" + b, function() {
- return 7 > r.version && !window.event ? (setTimeout(function() {
- return c.call(a, window.event)
- }, 100), !0) : c.call(a, window.event)
- })
- }
- } ();
- Y = function() {
- return document.createElement("div").getElementsByClassName ? function(a, b) {
- return ba(a, b) ? a: a.getElementsByClassName(b)
- }: function(a, b) {
- var c;
- c = Hb(b);
- return Ib(a, c)
- }
- } ();
- C = function() {
- var a,
- b;
- b = [function() {
- var b,
- d,
- e,
- f;
- e = [["%20", "+"], ["!", "%21"], ["'", "%27"], ["\\(", "%28"], ["\\)", "%29"], ["\\*", "%2A"], ["\\~", "%7E"]];
- f = [];
- for (b = 0, d = e.length; b < d; b++)
- a = e[b],
- f.push([RegExp(a[0], "g"), a[1]]);
- return f
- } ()];
- return function(c) {
- var d,
- e,
- c = encodeURIComponent(c);
- for (d = 0, e = b.length; d < e; d++)
- a = b[d],
- c = c.replace(a[0], a[1]);
- return c
- }
- } ();
- qc = function() {
- var a;
- a = /^\/\/|https?:\/\//i;
- return function(b, c) {
- return a.test(b) && (!c || !ga || -1 === c.indexOf(ga)) && (!ga || -1 === ga.indexOf("." + c))
- }
- } ();
- s = function(a, b, c) {
- var d;
- 3 <= arguments.length && (a[b] = c);
- d = a[b];
- null == d && (d = a.getAttribute(b));
- return d
- };
- N = function(a, b, c) {
- arguments[1] = "data-" + b;
- return s.apply(this, arguments)
- };
- Ka = function(a, b) {
- var c;
- c = a.innerText || a.textContent || a.nodeValue;
- if (2 <= arguments.length)
- a.innerText ? a.innerText = b: a.textContent = b,
- c = b;
- return c
- };
- bb = function() {
- var a,
- b;
- if (String.prototype.trim)
- return function(a) {
- return null === a ? "": String.prototype.trim.call(a)
- };
- a = /^\s+/;
- b = /\s+$/;
- /\S/.test("\u00a0") && (a = /^[\s\xA0]+/, b = /[\s\xA0]+$/);
- return function(c) {
- return null === c ? "": c.toString().replace(a, "").replace(b, "")
- }
- } ();
- vc = function(a) {
- var b,
- c,
- d,
- e,
- f;
- if ("object" === typeof a || a instanceof Array) {
- e = "";
- d = 0;
- c = a instanceof Array;
- for (f in a)
- Sb.call(a, f) && (b = a[f], 0 < d && (e += ","), c ? e += ca(b) : (b = ca(b), e += '"' + f + '":' + b), d++);
- return c ? "[" + e + "]": "{" + e + "}"
- }
- return "string" === typeof a ? (b = a.replace(/"/g, '\\"', a), '"' + b + '"') : isNaN(a) ? "null": a.toString()
- };
- ca = function() {
- var a;
- return "undefined" !== typeof JSON && null !== JSON && JSON.stringify && '["la"]' === JSON.stringify(["la"]) ? (a = JSON.stringify, function(b) {
- return a(b)
- }) : vc
- } ();
- aa = function() {
- var a,
- b;
- a = /[-[\]{}()*+?.,\\^$|#\s]/g;
- b = /\s+/g;
- return function(c) {
- return c.replace(a, "\\$&").replace(b, "s+")
- }
- } ();
- Hb = function(a) {
- a = aa(a);
- return RegExp("\\b" + a + "\\b", "i")
- };
- ba = function(a, b) {
- return a.className ? Hb(b).test(a.className) : !1
- };
- Ib = function(a, b) {
- var c,
- d,
- e,
- f,
- i;
- d = [];
- a.className && b.test(a.className) && d.push(a);
- i = a.childNodes;
- for (e = 0, f = i.length; e < f; e++)
- c = i[e],
- d = d.concat(Ib(c, b));
- return d
- };
- jc = function(a) {
- return - 1 !== encodeURIComponent(a).indexOf("%C3%82%C2%A3")
- };
- mc = function(a) {
- a = a.innerHTML.slice(0, 4);
- if ("http" === a || "www." === a)
- a.innerHTML = "<span style='display:none!important;'> </span>";
- return ! 0
- };
- tc = function(a) {
- for (var b, c, d, e, a = a.parentNode; a && a !== Sa;) {
- c = a.id;
- for (d = 0, e = ha.length; d < e; d++)
- if (b = ha[d], ba(a, b))
- return ! 1;
- for (d = 0, e = ia.length; d < e; d++)
- if (b = ia[d], c === b)
- return ! 1;
- for (c = 0, d = fa.length; c < d; c++)
- if (b = fa[c], ba(a, b))
- return ! 0;
- a = a.parentNode
- }
- return ha.length || ia.length ? !0: !1
- };
- xa = function(a, b, c) {
- null == c && (c = !1);
- for (b = RegExp("\\b(?:(?:" + aa(b) + ")|(?:noskim))\\b", "i"); null != a && a !== Sa;) {
- if (a.className && b.test(a.className))
- return ! 0;
- a = c ? null: a.parentNode
- }
- return ! 1
- };
- kc = function(a, b) {
- var c,
- d,
- e,
- g;
- ba(a, "skimwords-link") ? (g = s(a, "data-skimwords-word"), c = s(a, "data-skim-creative"), d = s(a, "data-skim-product"), e = f.skimlinks_domain || "go.redirectingat.com", "undefined" !== typeof p && null !== p && (e = p.sw_domain || e), b = "//" + e + "/?id=" + B + "" + (J ? "&xcust=" + J: "") + "&xs=2&url=" + C(b) + "&xguid=" + H + "&xword=" + (g ? g: "") + "&xcreo=" + (c ? c: "") + "&xpid=" + (d ? d: "") + "&sref=" + C(L) + "&pref=" + C(M) + "" + (u ? "&dnt=" + u: "") + "" + (I ? "&fdnt=1": "")) : xa(a, "noskimlinks") || (c = s(a, "data-skim-creative"), b = "//" + Pb + "/?id=" + B + "" + (ka ? "&site=" + ka: "") + "" + (ab ? "&test=" + ab: "") + "" + (J ? "&xcust=" + J: "") + "&xs=1&url=" + C(b) + "&xguid=" + H + "&xcreo=" + (a && null != c ? c: 0) + "&sref=" + C(L) + "&pref=" + C(M) + "" + (u ? "&dnt=" + u: "") + "" + (I ? "&fdnt=1": ""));
- return b
- };
- Lb = function(a) {
- var b;
- if ((b = a.target || a.srcElement) && !b.href && a.currentTarget)
- b = a.currentTarget;
- for (; b && "A" !== b.nodeName;)
- b = b.parentNode;
- return b
- };
- Q = function(a) {
- var b;
- b = Lb(a);
- wc(b);
- if (f.vglnk && ba(b, "skimwords-link"))
- a && a.stopPropagation ? a.stopPropagation() : (a = f.event, a.cancelBubble = !0);
- return ! 0
- };
- wc = function(a) {
- var b,
- c,
- d,
- e,
- f,
- i;
- f = "msie" === r.browser && 7 > r.version ? 1E4: 100;
- b = !1;
- c = za;
- if (a && a.nodeName && "IMG" === a.nodeName)
- a = a.parentNode;
- if (a) {
- i = a.href;
- if ("msie" === r.browser && a.childNodes.length && 3 === a.childNodes[0].nodeType)
- e = a.innerHTML; (d = N(a, "skimlinks-href")) ? b = !0: (d = kc(a, i), N(a, "skimlinks-href", d));
- c && Cc(i);
- N(a, "skimlinks-orig-link") || (N(a, "skimlinks-orig-link", i), b = !1);
- a.href = d;
- if (e)
- a.innerHTML = e;
- setTimeout(function() {
- a.href = N(a, "skimlinks-orig-link");
- if (e)
- a.innerHTML = e;
- return ! 0
- }, f)
- }
- return b
- };
- rc = function(a) {
- var b,
- c,
- d;
- if (d = Ta)
- for (b in d)
- if (Sb.call(d, b) && (c = d[b], c === a))
- return ! 0;
- return ! 1
- };
- uc = function(a) {
- var b,
- c;
- if (!$a)
- return ! 1;
- b = null != a ? a.previousSibling: void 0;
- if (!b)
- return ! 1;
- a = ("[" + $a + "]").toLowerCase();
- c = Ka(b);
- c = c.toLowerCase();
- c = bb(c);
- b = c.lastIndexOf(a);
- return - 1 !== b && b + a.length === c.length
- };
- Ua = function(a) {
- return ! a || Va && a === Va || !oc(a)
- };
- oc = function(a) {
- var b,
- c,
- d,
- e;
- Z = null;
- if (!a)
- return ! 1;
- a = a.toLowerCase();
- if (Z)
- return Z[a];
- Z = {};
- b = Xa ? [Xa] : [];
- b = b.concat(Tb);
- for (c = 0, d = b.length; c < d; c++)
- e = b[c],
- Z[e.toLowerCase()] = !0;
- return Z[a]
- };
- ic = function() {
- var a,
- b,
- c,
- d;
- U = {};
- ka && Wa.push(ka);
- d = Wa.concat(Ub);
- for (b = 0, c = d.length; b < c; b++)
- a = d[b],
- U[a] = a.length;
- return U
- };
- pc = function(a) {
- var b,
- c,
- d;
- null === U && ic();
- if (!a)
- return ! 1;
- for (b in U)
- if (Sb.call(U, b))
- if (c = U[b], 0 === b.indexOf("*")) {
- if (b = b.substr(1), c -= 1, d = a.lastIndexOf(b), -1 !== d && d === a.length - c)
- return ! 0
- } else if (a === b)
- return ! 0;
- return ! 1
- };
- Mb = function(a, b) {
- return qc(a, b) && !pc(b)
- };
- Cc = function(a) {
- var b,
- c,
- d;
- b = f.pageTracker;
- d = f.urchinTracker;
- c = "/" + Za + "/" + a;
- if (null != b && b._trackPageview)
- return b._trackPageview(c),
- !0;
- if (d)
- return d(c),
- !0;
- if (f._gaq)
- b = f._gaq,
- b.push(["_trackEvent", Za, "click", a]);
- return ! 1
- };
- ya = function(a) {
- var b,
- c,
- d;
- c = C('},"pub"');
- b = "//t.skimresources.com/api/track.php";
- d = [];
- u && d.push("dnt=" + u);
- I && d.push("fdnt=1");
- d.push("data=");
- b += "?" + d.join("&");
- b += C(ca(E).replace(Jb, ""));
- null != a && a.length && (a.join(C(",")), b = b.replace(c, "" + a + c));
- return [b, b.length]
- };
- Qa = function() {
- var a,
- b,
- c,
- d,
- e,
- f,
- i,
- h;
- if (Qb)
- return ! 1;
- e = (new Date).getTime() - Kb;
- d = [];
- b = 8E3;
- "msie" === r.browser && (b = 2E3);
- E.slc = Aa;
- E.swc = "undefined" !== typeof Pa && null !== Pa ? Pa: 0;
- E.jsl = e;
- E.guid = H;
- E.pref = M;
- E.phr = {};
- e = qa;
- a = ya();
- a = a[1];
- for (c = i = 0, h = e.length; i < h; c = ++i) {
- f = e[c];
- f = ca(f).replace(Jb, "");
- c = C('"' + c + '":' + f);
- f = a + c.length + 3 * d.length;
- if (f > b)
- a = ya(d),
- d = a[0],
- R(d, !1, {
- async: !0
- }),
- d = [],
- E.t = 0,
- a = ya(),
- a = a[1];
- d.push(c)
- }
- b = ya(d)[0];
- "msie" === r.browser && 7 > r.version && (b = b.substring(0, 4095));
- R(b, !1, {
- async: !0
- });
- Ob(1);
- return ! 0
- };
- Ob = function(a) {
- if (10 > a)
- return ja = yc(),
- setTimeout(function() {
- return Ob(a + 1)
- }, 2E3 * a)
- };
- yc = function() {
- var a,
- b,
- c,
- d,
- e,
- f,
- i;
- b = {};
- d = [];
- c = [];
- for (e = 0, f = ja.length; e < f; e++)
- a = ja[e],
- a.parentNode ? c.push(a) : b[a.href] = 1;
- i = S();
- for (e = 0, f = i.length; e < f; e++)
- a = i[e],
- b[a.href] && d.push(a);
- Gb(d);
- return d.concat(c)
- };
- Nb = function(a) {
- var b,
- c;
- c = new Date;
- b = c + 300;
- a = Lb(a);
- a = C('{"pubcode":"' + B + '","referrer":"' + L + '","pref":"' + M + '","site":"' + ka + '","url":"' + a.href + '","custom":"' + J + '","product":"1"}');
- for (R("//r.skimresources.com/api/?call=track" + (u ? "&dnt=" + u: "") + (I ? "&fdnt=1": "") + "&data=" + a); c < b;)
- c = new Date;
- return ! 0
- };
- R = function(a, b, c) {
- var g;
- var d,
- e,
- f,
- i,
- h,
- j,
- l = this;
- null == c && (c = {});
- d = c.charset || null;
- j = c.target || null;
- g = null != (e = c.async) ? e: !0,
- c = g;
- e = null != j && j.document ? j.document: document;
- f = e.getElementsByTagName("head")[0];
- h = e.createElement("script");
- i = !1;
- h.type = "text/javascript";
- if (d)
- h.charset = d;
- h.onload = h.onreadystatechange = function() {
- var a;
- a = l.readyState;
- if (!i && (!a || "complete" === a || "loaded" === a))
- if (h.onload = h.onreadystatechange = null, i = !0, b)
- return b.call(j)
- };
- h.async = !1 !== c;
- h.src = a;
- f.appendChild(h);
- return h
- };
- S = function(a) {
- var b,
- c,
- d,
- e,
- f;
- b = null;
- a && (b = RegExp("\\b" + aa(a) + "\\b", "i"));
- f = [];
- e = document.getElementsByTagName("a");
- for (c = 0, d = e.length; c < d; c++) {
- a = e[c];
- try {
- a.href && (!b || a.className && b.test(a.className)) && f.push(a)
- } catch(i) {
- console.log("Malformed IE url")
- }
- }
- return f
- };
- Gb = function(a) {
- var b,
- c,
- d,
- e,
- f,
- i,
- h,
- j,
- l;
- c = ha.length || ia.length || fa.length;
- e = [];
- for (j = 0, l = a.length; j < l; j++)
- if (b = a[j], d = Ba(b.hostname), b.sl_hidden_domain && (d = Ba(b.sl_hidden_domain)), h = bb(b.href), i = s(b, "rel"), f = s(b, "onclick"), (!c || !tc(b)) && !uc(b))
- if (rc(d, b)) {
- if (Ua(i)) {
- ta && s(b, "target", ta);
- if ("msie" === r.browser) {
- if (jc(h))
- continue;
- mc(b)
- }
- null != f && -1 !== f.toString().indexOf("return false") ? F(b, "mousedown", Q) : F(b, "click", Q);
- Db(b, !1);
- Eb(b);
- e.push(b);
- Ya || F(b, "contextmenu", Q);
- Bc(b)
- }
- } else
- Mb(h, d) && Ua(i) && (ta && s(b, "target", ta), F(b, "click", Nb), Ya || F(b, "contextmenu", Nb));
- return e
- };
- Eb = function(a, b) {
- var c,
- d,
- e,
- g;
- if (f.link_icon || 0 < a.getAttribute("data-skim-product") && f.skimwords_product_icon) {
- if (0 < a.getElementsByTagName("img").length)
- return ! 0;
- if ("msie" === r.browser && 8 > r.version)
- a.style.display = "inline-block";
- e = c = "";
- null != b && (c = f.skimwords_icon_class || "", e = f.skimwords_icon_link_class || "");
- g = s(a, "title").replace("'", "'");
- d = f.link_icon || f.skimwords_product_icon;
- c = "<a href='" + s(a, "href") + "' title='" + g + "' style='border:0px;padding:0;margin:0' class='skimlinks-icon-link " + e + "' skimlinked='skimlinked' target='_blank'><img src='" + d + "' class='" + c + "' skimlinked='skimlinked' style='margin: 0px 0px -3px 2px !important; float:none !important; border:0px; float:none !important; display:inline !important;' /></a>";
- d = document.createElement("div");
- d.innerHTML = c;
- c = d.childNodes[0];
- F(c, "mousedown", Q);
- a.appendChild(c)
- }
- return ! 0
- };
- Ac = function() {
- "undefined" !== typeof ra && null !== ra && !ea ? ra() : Qa();
- return ! 0
- };
- lc = function() {
- var a,
- b,
- c,
- d,
- e,
- f,
- i,
- h;
- e = S();
- c = [];
- d = {};
- for (i = 0, h = e.length; i < h; i++)
- a = e[i],
- b = Ba(a.hostname),
- f = bb(a.href),
- a = s(a, "rel"),
- Mb(f, b) && Ua(a) && b && !d[b] && (c.push(b), d[b] = !0);
- return c
- };
- db = function() {
- var a;
- Ra();
- cb ? "undefined" !== typeof ra && null !== ra && !ea ? ra() : Qa() : (a = lc(), a = C('{"pubcode":"' + B + '","domains":' + ca(a) + "}"), a = "//r.skimresources.com/api/?callback=skimlinksApplyHandlers" + (u ? "&dnt=" + u: "") + (I ? "&fdnt=1": "") + (Rb ? "&call=toolbar": "") + "&data=" + a, R(a));
- return ! 0
- };
- V = function() {
- if (sa)
- return ! 1;
- sa = !0;
- db();
- return ! 0
- };
- Db = function(a, b) {
- var c,
- d;
- d = a.style.cssText;
- d += " ";
- if (f.link_background)
- c = f.link_background,
- -1 === c.indexOf("#") && (c = "#" + c),
- d += "background-color: " + c + " !important; ";
- if (null != f.link_tooltip)
- a.title = f.link_tooltip;
- if (b) {
- if (f.skimwords_color)
- c = f.skimwords_color,
- -1 === c.indexOf("#") && (c = "#" + c),
- d += "color: " + c + " !important; ";
- f.skimwords_weight && (d += "font-weight: " + f.skimwords_weight + " !important; ");
- if (f.skimwords_decoration)
- c = f.skimwords_decoration,
- d = "double" === c ? d + "border-bottom: 1px double !important; ": d + ("text-decoration: " + c + " !important; ");
- if (f.skimwords_style)
- c = f.skimwords_style,
- d += "text-style: " + c + "; ";
- if (f.skimwords_link_style)
- c = f.skimwords_link_style,
- d += c + "; ";
- c = " " + a.className;
- if (f.skimwords_link_class)
- c += " " + f.skimwords_link_class,
- a.className = c.substring(1);
- if (f.skimwords_title && null === a.getAttribute("title"))
- a.title = f.skimwords_title;
- if (null === a.getAttribute("title"))
- a.title = "Shopping link added by SkimWords"
- }
- a.style.cssText = d;
- return ! 0
- };
- zc = function() {
- return function() {
- var a,
- b,
- c;
- b = function() {
- if (sa)
- return ! 0;
- try {
- document.documentElement.doScroll("left")
- } catch(a) {
- return setTimeout(b, 50),
- !1
- }
- return V()
- };
- a = function() {
- return document.addEventListener ? function() {
- document.removeEventListener("DOMContentLoaded", a, !1);
- V();
- return ! 0
- }: document.attachEvent ? function() {
- document.detachEvent("onreadystatechange", a);
- V();
- return ! 0
- }: function() {
- V();
- return ! 0
- }
- } ();
- if ("complete" === document.readyState)
- setTimeout(V, 1);
- else if (document.addEventListener)
- document.addEventListener("DOMContentLoaded", a, !1),
- f.addEventListener("load", V, !1);
- else if (document.attachEvent) {
- document.attachEvent("onreadystatechange", a);
- f.attachEvent("onload", V);
- c = !1;
- try {
- c = null === f.frameElement
- } catch(d) {}
- document.documentElement.doScroll && c && b()
- }
- return ! 0
- }
- } ();
- f.skimlinksApplyHandlers = function(a) {
- var b,
- a = null != a ? a: {};
- null != f.skimlinks_runner && (f.skimlinks_runner.skimlinks = 1);
- b = S();
- Ta = a.merchant_domains;
- a.country && (Ab = a.country);
- a.guid && "" === H && (H = a.guid);
- ja = Gb(b);
- Aa += ja.length;
- Ac();
- return ! 0
- };
- f.mugicPopWin = Q;
- f.mugicRight = Q;
- f.skimlinksReload = function() {
- sa = !1;
- V();
- return ! 0
- };
- f.skimlink_legacy_support || (f.skimlinks = db);
- zc();
- var t,
- fb,
- p,
- ib,
- hb,
- ua,
- i,
- z,
- jb,
- bc,
- K,
- Ca,
- P,
- w,
- $,
- Pa = 0,
- na,
- ma,
- W,
- v,
- Da,
- Ha,
- kb,
- Wb,
- Xb,
- sb,
- tb,
- D,
- oa,
- Vb,
- lb,
- Oa,
- Fa,
- Ea,
- mb,
- nb,
- ob,
- pb,
- qb,
- rb,
- Ga,
- ub,
- vb,
- wb,
- X,
- zb,
- xb,
- Ia,
- yb,
- Yb,
- la,
- Zb,
- gc,
- gb,
- fc,
- G = function() {
- var a = [],
- b = "";
- return {
- get: function(c, d, e) {
- c = c || [];
- d = d || [];
- if (a && a.length && !e)
- return a;
- c = Mc(c, d);
- a = c.nodes;
- b = c.content;
- return a
- },
- get_content: function() {
- return b
- },
- add: function(b) {
- a.push(b)
- },
- reset: function() {
- a = [];
- b = ""
- },
- get_at: function(b) {
- return a[b]
- },
- length: function() {
- return a.length
- },
- sort: function(b) {
- a.sort(b)
- }
- }
- } (),
- va = function() {
- var a = RegExp("{{([a-z0-9_][\\.a-z0-9_]*)}}", "gi");
- return function(b, c) {
- return b.replace(a, function(a, b) {
- for (var f = b.split("."), i = f.length, h = c, j = 0; j < i; j++)
- if (h = h[f[j]], j === i - 1)
- return h
- })
- }
- } ();
- f.skimwordsDataCallback = Na;
- f.instantDataCallback = function(a) {
- "" == H && a.guid && (H = a.guid);
- f.skimlinks_runner && (f.skimlinks_runner.skimwords = 1);
- if (1 === a.nc) {
- if (a.includes)
- try {
- G.get(a.includes, a.excludes)
- } catch(b) {
- G.get(["body"], [])
- } else
- G.get(["body"], []);
- Jc(a)
- } else
- 2 !== a.nc && Na(a)
- };
- f.productDataCallback = cc;
- f.skimwordsReload = function() {
- xc();
- Ja();
- K = !1;
- Oa = null;
- for (var a = w("head link[rel=stylesheet]"), b = 0, c = a.length; b < c; b++) {
- var d = a[b];
- d.href && -1 !== d.href.indexOf("skimlinks.") && z.create(d).remove()
- }
- la = !1;
- hc();
- G.reset();
- ua = 0;
- Ra();
- db()
- }
- })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement