/* (c) 2008, 2009, 2010 Add This, LLC */
if (!window._ate) { var _atd = "www.addthis.com/", _atr = "//s7.addthis.com/", _euc = encodeURIComponent, _duc = decodeURIComponent, _atc = { dr: 0, ver: 250, loc: 0, enote: "", cwait: 500, bamp: 0.25, camp: 1, csmp: 0.0001, damp: 1, famp: 0.02, pamp: 0.2, tamp: 1, lamp: 0, vamp: 1, vrmp: 0.0001, ltj: 1, xamp: 0.5, abf: !!window.addthis_do_ab }; (function () { var l; try { l = window.location; if (l.protocol.indexOf("file") === 0 || l.protocol.indexOf("safari-extension") === 0 || l.protocol.indexOf("chrome-extension") === 0) { _atr = "http:" + _atr; } if (l.hostname.indexOf("localhost") != -1) { _atc.loc = 1; } } catch (e) { } var ua = navigator.userAgent.toLowerCase(), d = document, w = window, dl = d.location, b = { win: /windows/.test(ua), xp: (/windows nt 5.1/.test(ua)) || (/windows nt 5.2/.test(ua)), osx: /os x/.test(ua), chr: /chrome/.test(ua), chb: /chrome\/(1[456789])/.test(ua), iph: /iphone/.test(ua), dro: /android/.test(ua), ipa: /ipad/.test(ua), saf: /safari/.test(ua) && !(/chrome/.test(ua)), opr: /opera/.test(ua), msi: (/msie/.test(ua)) && !(/opera/.test(ua)), ffx: /firefox/.test(ua), ff2: /firefox\/2/.test(ua), ffn: /firefox\/((3.[6789][0-9a-z]*)|(4.[0-9a-z]*))/.test(ua), ie6: /msie 6.0/.test(ua), ie7: /msie 7.0/.test(ua), ie8: /msie 8.0/.test(ua), ie9: /msie 9.0/.test(ua), mod: -1 }, _7 = { rev: "106780", bro: b, wlp: (l || {}).protocol, dl: dl, upm: !!w.postMessage && ("" + w.postMessage).toLowerCase().indexOf("[native code]") !== -1, bamp: _atc.bamp - Math.random(), camp: _atc.camp - Math.random(), xamp: _atc.xamp - Math.random(), vamp: _atc.vamp - Math.random(), tamp: _atc.tamp - Math.random(), pamp: _atc.pamp - Math.random(), ab: "-", inst: 1, wait: 500, tmo: null, sub: !!window.at_sub, dbm: 0, uid: null, spt: "static/r07/widget35.png", api: {}, imgz: [], hash: window.location.hash }; d.ce = d.createElement; d.gn = d.getElementsByTagName; window._ate = _7; _7.evl = function (_8, _9) { if (_9) { var _a; eval("evl = " + _8); return _a; } else { return eval(_8); } }; function reduce(o, fn, _d, _e) { if (!o) { return _d; } if (o instanceof Array || (o.length && (typeof o !== "function"))) { for (var i = 0, len = o.length, v = o[0]; i < len; v = o[++i]) { _d = fn.call(_e || o, _d, v, i, o); } } else { for (var _12 in o) { _d = fn.call(_e || o, _d, o[_12], _12, o); } } return _d; } var _13 = function (_14, _15) { reduce(_14, function (acc, v, k) { _15(k, v); }, []); }, _19 = function (a, b) { var _1c = {}; for (var i = 0; i < a.length; i++) { _1c[a[i]] = 1; } for (var i = 0; i < b.length; i++) { if (!_1c[b[i]]) { a.push(b[i]); _1c[b[i]] = 1; } } return a; }, _1e = Array.prototype.slice, _1f = function (a) { return _1e.apply(a, _1e.call(arguments, 1)); }, _21 = function (s) { return ("" + s).replace(/(^\s+|\s+$)/g, ""); }, _23 = function (A, B) { return reduce(_1f(arguments, 1), function (A, _27) { return reduce(_27, function (o, v, k) { if (o) { o[k] = v; } return o; }, A); }, A); }, _2b = function (o, del) { return reduce(o, function (acc, v, k) { k = _21(k); if (k) { acc.push(_euc(k) + "=" + _euc(_21((typeof (v) == "object" ? _2b(v, (del || "&")) : (v))))); } return acc; }, []).join(del || "&"); }, _31 = function (o, del) { return reduce(o, function (acc, v, k) { k = _21(k); if (k) { acc.push(_euc(k) + "=" + _euc(_21(v))); } return acc; }, []).join(del || "&"); }, _37 = function (q, del) { return reduce((q || "").split(del || "&"), function (acc, _3b) { try { var kv = _3b.split("="), k = _21(_duc(kv[0])), v = _21(_duc(kv.slice(1).join("="))); if (v.indexOf(del || "&") > -1 || v.indexOf("=") > -1) { v = _37(v, del || "&"); } if (k) { acc[k] = v; } } catch (e) { } return acc; }, {}); }, _3f = function (q, del) { return reduce((q || "").split(del || "&"), function (acc, _43) { try { var kv = _43.split("="), k = _21(_duc(kv[0])), v = _21(_duc(kv.slice(1).join("="))); if (k) { acc[k] = v; } } catch (e) { } return acc; }, {}); }, _47 = function () { var _48 = _1f(arguments, 0), fn = _48.shift(), _4a = _48.shift(); return function () { return fn.apply(_4a, _48.concat(_1f(arguments, 0))); }; }, _4b = function (un, obj, evt, fn) { if (!obj) { return; } if (we) { obj[(un ? "detach" : "attach") + "Event"]("on" + evt, fn); } else { obj[(un ? "remove" : "add") + "EventListener"](evt, fn, false); } }, _50 = function (obj, evt, fn) { _4b(0, obj, evt, fn); }, _54 = function (obj, evt, fn) { _4b(1, obj, evt, fn); }, _58 = function (s) { return (s.match(/(([^\/\/]*)\/\/|\/\/)?([^\/\?\&\#]+)/i))[0]; }, _5a = function (s) { return s.replace(_58(s), ""); }, _5c = function (obj) { if (null == obj || "object" != typeof obj) { return obj; } if (obj instanceof Object) { var _5e = {}; for (var _5f in obj) { if (obj.hasOwnProperty(_5f)) { _5e[_5f] = _5c(obj[_5f]); } } return _5e; } return null; }, _60 = { unqconcat: _19, reduce: reduce, slice: _1f, strip: _21, extend: _23, toKV: _31, rtoKV: _2b, fromKV: _3f, rfromKV: _37, bind: _47, listen: _50, unlisten: _54, gUD: _58, gUQS: _5a, clone: _5c }; _7.util = _60; _23(_7, _60); (function (i, k, l) { var g, n = i.util; function j(q, p, s, o, r) { this.type = q; this.triggerType = p || q; this.target = s || o; this.triggerTarget = o || s; this.data = r || {}; } n.extend(j.prototype, { constructor: j, bubbles: false, preventDefault: n.noop, stopPropagation: n.noop, clone: function () { return new this.constructor(this.type, this.triggerType, this.target, this.triggerTarget, n.extend({}, this.data)); } }); function e(o, p) { this.target = o; this.queues = {}; this.defaultEventType = p || j; } function a(o) { var p = this.queues; if (!p[o]) { p[o] = []; } return p[o]; } function h(o, p) { this.getQueue(o).push(p); } function d(p, r) { var s = this.getQueue(p), o = s.indexOf(r); if (o !== -1) { s.splice(o, 1); } } function b(o, s, r, q) { var p = this; if (!q) { setTimeout(function () { p.dispatchEvent(new p.defaultEventType(o, o, s, p.target, r)); }, 10); } else { p.dispatchEvent(new p.defaultEventType(o, o, s, p.target, r)); } } function m(p) { for (var r = 0, t = p.target, s = this.getQueue(p.type), o = s.length; r < o; r++) { s[r].call(t, p.clone()); } } function c(p) { if (!p) { return; } for (var o in f) { p[o] = n.bind(f[o], this); } return p; } var f = { constructor: e, getQueue: a, addEventListener: h, removeEventListener: d, dispatchEvent: m, fire: b, decorate: c }; n.extend(e.prototype, f); i.event = { PolyEvent: j, EventDispatcher: e }; })(_7, _7.api, _7); _7.ed = new _7.event.EventDispatcher(_7); var _83 = { isBound: 0, isReady: 0, readyList: [], onReady: function () { if (!_83.isReady) { _83.isReady = 1; var l = _83.readyList.concat(window.addthis_onload || []); for (var fn = 0; fn < l.length; fn++) { l[fn].call(window); } _83.readyList = []; } }, addLoad: function (_86) { var o = w.onload; if (typeof w.onload != "function") { w.onload = _86; } else { w.onload = function () { if (o) { o(); } _86(); }; } }, bindReady: function () { if (r.isBound || _atc.xol) { return; } r.isBound = 1; if (d.addEventListener && !b.opr) { d.addEventListener("DOMContentLoaded", r.onReady, false); } var apc = window.addthis_product; if (apc && apc.indexOf("f") > -1) { r.onReady(); return; } if (b.msi && !b.ie9 && window == top) { (function () { if (r.isReady) { return; } try { d.documentElement.doScroll("left"); } catch (error) { setTimeout(arguments.callee, 0); return; } r.onReady(); })(); } if (b.opr) { d.addEventListener("DOMContentLoaded", function () { if (r.isReady) { return; } for (var i = 0; i < d.styleSheets.length; i++) { if (d.styleSheets[i].disabled) { setTimeout(arguments.callee, 0); return; } } r.onReady(); }, false); } if (b.saf) { var _8a; (function () { if (r.isReady) { return; } if (d.readyState != "loaded" && d.readyState != "complete") { setTimeout(arguments.callee, 0); return; } if (_8a === undefined) { var _8c = d.gn("link"); for (var i = 0; i < _8c.length; i++) { if (_8c[i].getAttribute("rel") == "stylesheet") { _8a++; } } var _8e = d.gn("style"); _8a += _8e.length; } if (d.styleSheets.length != _8a) { setTimeout(arguments.callee, 0); return; } r.onReady(); })(); } r.addLoad(r.onReady); }, append: function (fn, _90) { r.bindReady(); if (r.isReady) { fn.call(window, []); } else { r.readyList.push(function () { return fn.call(window, []); }); } } }, r = _83, a = _7; _23(_7, { plo: [], lad: function (x) { _7.plo.push(x); } }); (function (c, e, d) { var a = window; c.pub = function () { return _euc((window.addthis_config || {}).pubid || (window.addthis_config || {}).username || window.addthis_pub || ""); }; c.usu = function (g, h) { if (!a.addthis_share) { a.addthis_share = {}; } if (h || g != addthis_share.url) { addthis_share.imp_url = 0; } }; c.rsu = function () { var h = document, g = h.title, f = h.location ? h.location.href : ""; if (_atc.ver >= 250 && addthis_share.imp_url && f && f != a.addthis_share.url && !(_7.util.ivc((h.location.hash || "").substr(1).split(",").shift()))) { a.addthis_share.url = a.addthis_url = f; a.addthis_share.title = a.addthis_title = g; return 1; } return 0; }; c.igv = function (f, g) { if (!a.addthis_config) { a.addthis_config = { username: a.addthis_pub }; } else { if (addthis_config.data_use_cookies === false) { _atc.xck = 1; } } if (!a.addthis_share) { a.addthis_share = {}; } if (!addthis_share.url) { if (!a.addthis_url && addthis_share.imp_url === undefined) { addthis_share.imp_url = 1; } addthis_share.url = (a.addthis_url || f || "").split("#{").shift(); } if (!addthis_share.title) { addthis_share.title = (a.addthis_title || g || "").split("#{").shift(); } }; if (!_atc.ost) { if (!a.addthis_conf) { a.addthis_conf = {}; } for (var b in addthis_conf) { _atc[b] = addthis_conf[b]; } _atc.ost = 1; } })(_7, _7.api, _7); (function (b, f, c) { var h, g = document, a = b.util; b.ckv = a.fromKV(g.cookie, ";"); function e(d) { return a.fromKV(g.cookie, ";")[d]; } if (!b.cookie) { b.cookie = {}; } b.cookie.rck = e; })(_7, _7.api, _7); (function (b, c, e) { var a, h = document, g = 0, m = b.util; function j() { if (g) { return 1; } k("xtc", 1); if (1 == b.cookie.rck("xtc")) { g = 1; } f("xtc", 1); return g; } function l(o) { if (_atc.xck) { return; } var n = o || _7.dh || _7.du || (_7.dl ? _7.dl.hostname : ""); if (n.indexOf(".gov") > -1 || n.indexOf(".mil") > -1) { _atc.xck = 1; } var q = typeof (b.pub) === "function" ? b.pub() : b.pub, d = ["usarmymedia", "govdelivery"]; for (i in d) { if (q == d[i]) { _atc.xck = 1; break; } } } function f(n, d) { if (h.cookie) { h.cookie = n + "=; expires=Thu, 01 Jan 1970 00:00:01 GMT; path=/" + (d ? "; domain=" + (b.bro.msi ? "" : ".") + "addthis.com" : ""); } } function k(o, n, p, q, d) { if (!window.at_sub) { l(); } if (!_atc.xck) { if (!d) { var d = new Date(); d.setYear(d.getFullYear() + 2); } document.cookie = o + "=" + n + (!p ? "; expires=" + d.toUTCString() : "") + "; path=/;" + (!q ? " domain=" + (b.bro.msi ? "" : ".") + "addthis.com" : ""); } } if (!b.cookie) { b.cookie = {}; } b.cookie.sck = k; b.cookie.kck = f; b.cookie.cww = j; b.cookie.gov = l; })(_7, _7.api, _7); (function (c, f, d) { var b = c.util, a = {}; timeouts = {}; if (!c.cbs) { c.cbs = {}; } function e(j, i, m, k, g) { i = (_euc(i)).replace(/[0-3][A-Z]|[^a-zA-Z0-9]/g, ""); a[i] = a[i] || 0; var h = a[i]++, l = j + "_" + i + (!g ? h : ""); if (!_7.cbs[l]) { _7.cbs[l] = function () { if (timeouts[l]) { clearTimeout(timeouts[l]); } m.apply(this, arguments); }; } _7.cbs["time_" + l] = (new Date()).getTime(); if (k) { clearTimeout(timeouts[l]); timeouts[l] = setTimeout(k, 10000); } return "_ate.cbs." + _euc(l); } b.scb = e; })(_7, _7.api, _7); (function (b, d, c) { function e() { var k = a(navigator.userAgent, 16), f = ((new Date()).getTimezoneOffset()) + "" + navigator.javaEnabled() + (navigator.userLanguage || navigator.language), h = window.screen.colorDepth + "" + window.screen.width + window.screen.height + window.screen.availWidth + window.screen.availHeight, g = navigator.plugins, l = g.length; if (l > 0) { for (var j = 0; j < Math.min(10, l); j++) { if (j < 5) { f += g[j].name + g[j].description; } else { h += g[j].name + g[j].description; } } } return k.substr(0, 2) + a(f, 16).substr(0, 3) + a(h, 16).substr(0, 3); } function a(h, j) { var f = 291; if (h) { for (var g = 0; g < h.length; g++) { f = (f * (h.charCodeAt(g) + g) + 3) & 1048575; } } return (f & 16777215).toString(j || 32); } b.mun = a; b.gub = e; })(_7, _7.api, _7); (function (d, e, g) { var c, l = d.util, j = 4294967295, b = new Date().getTime(); function h() { return ((b / 1000) & j).toString(16) + ("00000000" + (Math.floor(Math.random() * (j + 1))).toString(16)).slice(-8); } function a(m) { return k(m) ? (new Date((parseInt(m.substr(0, 8), 16) * 1000))) : new Date(); } function i(m) { var n = a(); return ((n.getTime() - 1000 * 86400) > (new Date()).getTime()); } function f(m, o) { var n = a(m); return (((new Date()).getTime() - n.getTime()) > o * 1000); } function k(m) { return m && m.match(/^[0-9a-f]{16}$/) && !i(m); } l.cuid = h; l.ivc = k; l.ioc = f; })(_7, _7.api, _7); (function (c, f, e) { function b(g) { if (!g) { return ""; } else { if (g.indexOf("%") > -1) { g = _duc(g); } } var g = _7.util.atob(g.split(",")[1]); return g; } function d(h) { var j = {}, g, i; j.zip = h.substring(0, 5); j.continent = h.substring(5, 7); j.country = h.substring(7, 9); j.region = h.substring(9, 11); g = h.substring(11, 15); if (g != "0000") { j.lat = (parseInt(g) / 10 - 180).toFixed(1); } lonstr = h.substring(15, 19); if (lonstr != "0000") { j.lon = (parseInt(lonstr) / 10 - 180).toFixed(1); } j.dma = h.substring(19, 22); j.msa = h.substring(22, 26); j.network_type = h.substring(26, 27); j.throughput = h.substring(27, 28); return j; } function a(j, k) { j = j.split(","); for (var h = 0; h < j.length; h++) { var g = j[h].replace(/ /g, ""); if (k.zip == g || k.continent == g || k.country == g || k.region == g) { return 1; } } return 0; } c.util = c.util || {}; c.util.geo = { dec: b, parse: d, isin: a }; })(_7, _7.api, _7); (function (a, c, b) { function d(e) { return e.split("//").pop().split("/").shift().split("#").shift().split("?").shift().split(".").slice(-2).join("."); } a.util = a.util || {}; a.util.host = d; })(_7, _7.api, _7); (function (a, d, c) { function e(g, f) { var h = g.indexOf("#") > -1 && !f ? g.replace(/^[^\#]+\#?|^\#?/, "") : g.replace(/^[^\?]+\??|^\??/, ""), i = a.util.fromKV(h); return i; } function b(k) { var g = document.gn("script"), l = g.length, h = g[l - 1], j = e(h.src); if (k || (h.src && h.src.indexOf("addthis") == -1)) { for (var f = 0; f < l; f++) { if ((g[f].src || "").indexOf(k || "addthis.com") > -1) { j = e(g[f].src); break; } } } return j; } if (!a.util) { a.util = {}; } a.util.gsp = b; a.util.ghp = e; })(_7, _7.api, _7); (function (e, g, f) { var d = e.util, b = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_="; function a(k) { var j = "", n, l, h, p, o, m = 0; if (/[0-9a-fA-F]+/.test(k)) { while (m < k.length) { n = parseInt(k.charAt(m++), 16); l = parseInt(k.charAt(m++), 16); h = parseInt(k.charAt(m++), 16); p = (n << 2) | (isNaN(h) ? l & 3 : (l >> 2)); o = ((l & 3) << 4) | h; j += b.charAt(p) + (isNaN(h) ? "" : b.charAt(o)); } } return j; } function c(k) { var j = "", n, l, h, p, o, m = 0; while (m < k.length) { p = b.indexOf(k.charAt(m++)); o = m >= k.length ? NaN : b.indexOf(k.charAt(m++)); n = p >> 2; l = isNaN(o) ? (p & 3) : (((p & 3) << 2) | (o >> 4)); h = o & 15; j += n.toString(16) + l.toString(16) + (isNaN(o) ? "" : h.toString(16)); } return j; } d.hbtoa = a; d.atohb = c; })(_7, _7.api, _7); (function (f, s, u) { var v = f, j = new Date().getTime(), r = function () { return Math.floor(Math.random() * 4294967295).toString(36); }, w = function () { return Math.floor((new Date().getTime() - j) / 100).toString(16); }, g = 0, i = function (a) { if (g === 0) { v.sid = g = (a || v.util.cuid()); } return g; }, d = null, c = function (a, x) { if (d !== null) { clearTimeout(d); } if (a) { d = setTimeout(function () { x(false); }, _7.wait); } }, o = function (x, a) { return _euc(x) + "=" + _euc(a) + ";" + w(); }, n = 1, h = function (x, z) { var a = (x || "").split("?"), x = a.shift(), y = (a.pop() || "").split("&"); return z(x, y); }, k = function (a, x, z, y) { if (!x) { x = {}; } if (!x.remove) { x.remove = []; } if (x.remove.push) { x.remove.push("sms_ss"); x.remove.push("at_xt"); x.remove.push("fb_ref"); x.remove.push("fb_source"); } if (x.remove) { a = t(a, x.remove); } if (x.clean) { a = l(a); } if (x.defrag) { a = e(a); } if (x.add) { a = m(a, x.add, z, y); } return a; }, m = function (z, B, A, x) { var a = {}; if (B) { for (var y in B) { if (z.indexOf(y + "=") > -1) { continue; } a[y] = p(B[y], z, A, x); } B = _7.util.toKV(a); } return z + (B.length ? ((z.indexOf("?") > -1 ? "&" : "?") + B) : ""); }, p = function (y, x, z, a) { var z = z || addthis_share; return y.replace(/\{\{service\}\}/g, _euc(a || "")).replace(/\{\{code\}\}/g, _euc(a || "")).replace(/\{\{title\}\}/g, _euc(z.title)).replace(/\{\{url\}\}/g, _euc(x)); }, t = function (x, z) { var a = {}, z = z || []; for (var y = 0; y < z.length; y++) { a[z[y]] = 1; } return h(x, function (A, D) { var E = []; if (D) { for (var B in D) { if (typeof (D[B]) == "string") { var C = (D[B] || "").split("="); if (C.length != 2 && D[B]) { E.push(D[B]); } else { if (a[C[0]]) { continue; } else { if (D[B]) { E.push(D[B]); } } } } } A += (E.length ? ("?" + E.join("&")) : ""); } return A; }); }, q = function (a) { var x = a.split("#").pop().split(",").shift().split("=").pop(); if (_7.util.ivc(x)) { return a.split("#").pop().split(","); } return [""]; }, e = function (a) { var x = q(a).shift().split("=").pop(); if (_7.util.ivc(x)) { return a.split("#").shift(); } else { x = a.split("#").slice(1).join("#").split(";").shift(); if (x.split(".").length == 3) { x = x.split(".").slice(0, -1).join("."); } if (x.length == 12 && x.substr(0, 1) == "." && (/[a-zA-Z0-9\-_]{11}/).test(x.substr(1))) { return a.split("#").shift(); } } return a; }, l = function (a) { return h(a, function (y, B) { var x = y.indexOf(";jsessionid"), C = []; if (x > -1) { y = y.substr(0, x); } if (B) { for (var z in B) { if (typeof (B[z]) == "string") { var A = (B[z] || "").split("="); if (A.length == 2) { if (A[0].indexOf("utm_") === 0 || A[0] == "gclid" || A[0] == "sms_ss" || A[0] == "at_xt" || A[0] == "fb_ref" || A[0] == "fb_source") { continue; } } if (B[z]) { C.push(B[z]); } } } y += (C.length ? ("?" + C.join("&")) : ""); } return y; }); }, b = function () { var a = (typeof (v.pub || "") == "function" ? v.pub() : v.pub) || "unknown"; return "AT-" + a + "/-/" + v.ab + "/" + i() + "/" + (n++) + (v.uid !== null ? "/" + v.uid : ""); }; if (!_7.track) { _7.track = {}; } f.util.extend(_7.track, { fcv: o, ran: r, rup: t, aup: m, cof: e, gof: q, clu: l, mgu: k, ssid: i, sta: b, sxm: c }); })(_7, _7.api, _7); (function (c, e, i) { var n = ".", h = ";", s = ".", l = n.length, k = 0, q = { wpp: 1, blg: 1 }; function b(t) { var u = t.split(";").shift(); if (u.split(".").length == 3) { u = u.split(".").slice(0, -1).join("."); } if (u.length == 12 && u.substr(0, 1) == "." && (/[a-zA-Z0-9\-_]{11}/).test(u.substr(1))) { return 1; } return 0; } function r(t) { return (t.length == (11 + l) && (t.substr(0, l) == n) && (/[a-zA-Z0-9\-_]{11}/).test(t.substr(l))); } function o(u) { var t = _7.util.atohb(u.substr(l)); return { id: (t.substr(0, 8) + "00000000," + parseInt(t.substr(16), 10)), fuid: t.substr(8, 8) }; } function g(K, I) { if (!K) { K = document.location; } if (!I) { I = d.referer || d.referrer || ""; } var J, P, A, N, v, E, x = 0, y = 0, G = K ? K.href : "", C = (G || "").split("#").shift(), u = K.hash.substr(1), F = _7.util.ghp(K.search, 1), H = _7.util.ghp(K.hash); y = 0, at_st = H.at_st, at_pco = H.at_pco, v = F.sms_ss, fb_ref = F.fb_ref, at_xt = F.at_xt, q_at_st = F.at_st; if (!at_st) { if (r(u)) { var Q = _7.util.atohb(u.substr(l)); E = Q.substr(8, 8); at_st = Q.substr(0, 8) + "00000000,"; at_st += parseInt(Q.substr(16), 10); } } if (fb_ref && !at_st) { var M = s, B = fb_ref.split(M); if (B.length < 2 && fb_ref.indexOf("_") > -1) { M = "_"; B = fb_ref.split(M); } var w = B.length > 1 ? B.pop() : "", t = B.join(M); if (!r(t)) { t = fb_ref; w = ""; } if (r(t)) { var Q = _7.util.atohb(t.substr(l)); at_xt = Q.substr(0, 16) + "," + parseInt(Q.substr(16), 10); v = "facebook_" + (w || "like"); } else { var O = fb_ref.split("=").pop().split(s); if (O.length == 2 && _7.util.ivc(O[0])) { at_xt = O.join(","); v = "facebook_" + (w || "like"); } } } at_st = (at_st && _7.util.ivc(at_st.split(",").shift())) ? at_st : ""; if (!at_xt) { var M = (u.indexOf(h) > -1) ? h : s, z = u.substr(l).split(M); if (z.length == 2 && r(u.substr(0, 1) + z[0])) { var Q = _7.util.atohb(z[0]); at_xt = Q.substr(0, 16) + "," + parseInt(Q.substr(16), 10); v = z[1]; x = 1; } } if (at_pco) { A = 1; } if (at_st) { y = parseInt(at_st.split(",").pop()) + 1; P = at_st.split(",").shift(); } else { if (G.indexOf(_atd + "book") == -1 && C != I) { var D = [], L; if (at_xt) { L = at_xt.split(","); J = _duc(L.shift()); if (J.indexOf(",") > -1) { L = J.split(","); J = L.shift(); } } else { if (q_at_st) { L = q_at_st.split(","); N = _duc(L.shift()); if (N.indexOf(",") > -1) { L = N.split(","); N = L.shift(); } } } if (L && L.length) { y = Math.min(3, parseInt(L.pop()) + 1); } } } if (!_7.util.ivc(P)) { P = null; } if (!_7.util.ivc(N)) { N = null; } v = (v || "").split("#").shift().split("?").shift(); return { rsi: P, cfc: A, hash: x, rsiq: N, fuid: E, rxi: J, rsc: v, gen: y }; } function f(v, t) { if (!t || (t.data_track_clickback !== false && t.data_track_linkback !== false)) { if (k) { return true; } if (_atc.ver >= 250) { return (k = true); } v = (v || window.addthis_product || "").split(","); for (var u = 0; u < v.length; u++) { if (q[v[u].split("-").shift()]) { return (k = true); } } } return false; } function j(t, u) { t = t || a.util.cuid(); return n + _7.util.hbtoa(t + Math.min(3, u || 0)); } function p(u, v, t) { t = t || a.util.cuid(); return u.indexOf("#") > -1 ? u : u + "#" + j((v ? t : t.substr(0, 8) + _7.gub()), (a.smd || {}).gen) + (v ? s + v : ""); } function m(v) { var u, x, z, A; if (v.indexOf("#") > -1) { var y = v.split("#").slice(1).join("#"); if (b(y)) { var t = y.substr(1).split("."), w = (t.length) ? t.shift() : ""; x = (t.length) ? t.pop() : ""; if (w) { w = _7.util.atohb(w); u = w.substr(0, 16); z = parseInt(w.substr(16), 10); if (!isNaN(z)) { A = A || {}; A.gen = z; } } if (_7.util.ivc(u)) { A = A || {}; A.xid = u; } if (x.search(/^[a-zA-Z0-9_]+$/) != -1) { A = A || {}; A.rsc = x; } } } return A; } _7.extend(_7.track, { cur: p, dcu: m, gcc: j, cpf: n, ctp: f, eop: g, ich: b }); })(_7, _7.api, _7); (function (b, d, c) { function f(g) { if (g == "t.co") { return "twitter"; } for (var h in b.services.map) { var i = b.services.map[h]; if (i === "") { i = h + ".com"; } if (g.indexOf(i) != -1) { return h; } } return; } function e(h) { h = _duc(h); h = h.toLowerCase(); h = h.replace(/[,;:\+\|]/g, " "); h = h.replace(/[^a-z0-9. '\-]/g, ""); h = h.replace(/\s+/g, " "); h = h.replace(/\s+$/g, ""); var k = []; var j = h.split(" "); for (var g = 0; g < j.length; g++) { var i = j[g]; if (i.charAt(0) == "-") { continue; } else { if (/'s$/.test(i)) { k.push(i.substring(0, i.length - 2).replace(/[-']/g, "") + "'s"); } else { k = k.concat(i.replace(/'/g, "").split("-")); } } } return k; } function a() { var h = b.dr; var l = b.ad.clr(h); var i = {}; if (typeof (h) == "undefined" || h === "") { i.type = "direct"; return i; } var j = b.util.host(h); var k = f(j); if (typeof (k) != "undefined") { i.type = "social"; i.service = k; } else { if (b.ad.iss(h)) { i.type = "search"; i.domain = b.util.host(h); var g = b.ad.fst(h); i.terms = e(g); } else { if (l & b.ad.ref.r_ondomain) { i.type = "internal"; i.domain = document.location.hostname; } else { if (l & b.ad.ref.r_offdomain) { i.type = "referred"; i.domain = b.util.host(h); } else { i.type = "direct"; } } } } return i; } if (!b.track) { b.track = {}; } b.track.ts = { get: a, gst: e }; })(_7, _7.api, _7); (function () { var d = document, a = _7, _188 = 0, cvt = [], avt = null, _18b = Math.random() < _atc.csmp, _18c = (!_7.sub && ((dl || {}).href || "").indexOf(".addthis.com") > -1) ? 1 : Math.random() < 1000 * _atc.csmp, _18d = new RegExp(/\(?(\d{3})\)?[- ]?(\d{3})[- ]?(\d{4})/g), _18e = new RegExp(/^((([a-z]|[0-9]|\-)+)\.)+([a-z])+$/ig), qtp = [], xtp = function () { var p; while (p = qtp.pop()) { trk(p); } }, atf = null, pcs = [], spc = null; function apc(c) { c = c.split("-").shift(); for (var i = 0; i < pcs.length; i++) { if (pcs[i] == c) { return; } } pcs.push(c); } function get_atssh() { var div = d.getElementById("_atssh"); if (!div) { div = d.ce("div"); div.style.visibility = "hidden"; div.id = "_atssh"; a.opp(div.style); d.body.insertBefore(div, d.body.firstChild); } return div; } function ctf(url) { var ifr, r = Math.floor(Math.random() * 1000), div = get_atssh(); if (!a.bro.msi) { ifr = d.ce("iframe"); ifr.id = "_atssh" + r; ifr.title = "AddThis utility frame"; } else { if (a.bro.ie6 && !url && d.location.protocol.indexOf("https") == 0) { url = "javascript:''"; } div.innerHTML = "<iframe id=\"_atssh" + r + "\" width=\"1\" height=\"1\" title=\"AddThis utility frame\" name=\"_atssh" + r + "\" " + (url ? "src=\"" + url + "\"" : "") + ">"; ifr = d.getElementById("_atssh" + r); } a.opp(ifr.style); ifr.frameborder = ifr.style.border = 0; ifr.style.top = ifr.style.left = 0; return ifr; } function jsl() { var w = window; return ((((w.jQuery || {}).fn || {}).jquery && 1) | ((w.Prototype || {}).Version && 2) | ((w.YUI || {}).version || (w.YAHOO || {}).VERSION && 4) | ((w.Ext || {}).version && 8) | ((w.dojo || {}).version && 16) | ((w._gaq || w._gat) && 32) | (w.google_ad_client && 64) | ((w.FB || w.fbAsyncInit) && 128) | (w.$BTB && 256) | (w.meebo && 512) | (w.gigya && 1024) | (w.SHARETHIS && 2048) | (w._qevents && 4096) | (w.twttr && 8192)); } function onMenuShare(e) { var _19d = 300; if (e && e.data && e.data.service) { if (a.dcp >= _19d) { return; } trk({ gen: e.data.service.indexOf("facebook") > -1 || e.data.service == "more" ? -1 : _19d, pix: "dest=" + e.data.service }); a.dcp = _19d; } } var _19e, _19f = []; function onApiUsage(evt) { if (evt.data.call) { _19f.push(evt.data.call); } if (!_19e) { _19e = setTimeout(function () { img("ap", "3", "calls=" + _euc(_19f.join(",")), {}); }, 10000); } } function onMenuPop(evt) { var t = {}, data = evt.data || {}, svc = data.svc, pco = data.pco, _1a6 = data.cmo, _1a7 = data.crs, _1a8 = data.cso; if (svc) { t.sh = svc; } if (_1a6) { t.cm = _1a6; } if (_1a8) { t.cs = 1; } if (_1a7) { t.cr = 1; } if (pco) { t.spc = pco; } img("sh", "3", null, t); } function trk(t) { var dr = a.dr, rev = (a.rev || ""); if (!t) { return; } t.xck = _atc.xck ? 1 : 0; t.xxl = 1; t.sid = a.track.ssid(); t.pub = a.pub(); t.ssl = a.ssl || 0; t.du = a.tru(a.du || a.dl.href); if (a.dt) { t.dt = a.dt; } if (a.cb) { t.cb = a.cb; } t.lng = a.lng(); t.ver = _atc.ver; t.jsl = a.track.jsl(); if (!a.upm && a.uid) { t.uid = a.uid; } t.pc = t.spc || pcs.join(","); if (dr) { t.dr = a.tru(dr); } if (a.dh) { t.dh = a.dh; } if (rev) { t.rev = rev; } if (a.xfr) { if (a.upm) { if (atf) { atf.contentWindow.postMessage(_31(t), "*"); } } else { var div = get_atssh(), base = "static/r07/sh69.html" + (false ? "?t=" + new Date().getTime() : ""); if (atf) { div.removeChild(div.firstChild); } atf = ctf(); atf.src = _atr + base + "#" + _31(t); div.appendChild(atf); } } else { qtp.push(t); } } function img(i, c, x, obj, _1b2) { if (!window.at_sub && !_atc.xtr) { var t = obj || {}; t.evt = i; if (x) { t.ext = x; } avt = t; if (_1b2 === 1) { xmi(true); } else { a.track.sxm(true, xmi); } } } function cev(k, v) { cvt.push(a.track.fcv(k, v)); a.track.sxm(true, xmi); } function xmi(_1b6) { var h = a.dl ? a.dl.hostname : ""; if (cvt.length > 0 || avt) { a.track.sxm(false, xmi); if (_atc.xtr) { return; } var t = avt || {}; t.ce = cvt.join(","); cvt = []; avt = null; trk(t); if (_1b6) { var i = d.ce("iframe"); i.id = "_atf"; _7.opp(i.style); d.body.appendChild(i); i = d.getElementById("_atf"); } } } function onCopy() { text = "", p_copy = 250; if (window.getSelection) { text = _7.trim((window.getSelection().toString() || "")).replace(_18d, " ").replace(/[\b]+/g, " ").split(" "); if (text.length) { if (_18b && _188 < 3) { cev("cbc", text.length); } _188++; if (!_18c) { return; } var _1ba = []; for (var i = 0; i < text.length; i++) { if (text[i] && text[i].length <= 50 && text[i].indexOf("@") == -1 && text[i].indexOf("://") == -1 && (!(_18e.test(text[i])))) { _1ba.push(text[i]); } } if (_1ba.length && _1ba.length <= 5 && (!a.dcp || a.dcp < p_copy)) { setTimeout(function () { trk({ gen: p_copy, pix: "tt=" + _euc(_1ba.join(" ")) }); a.dcp = p_copy; }, Math.random() * 10000); } } } } try { if (_18b || _18c) { if (a.bro.msi) { document.body.attachEvent("oncopy", onCopy, true); } else { document.addEventListener("copy", onCopy, true); } } } catch (e) { } a.ed.addEventListener("addthis-internal.api", onApiUsage); a.ed.addEventListener("addthis-internal.compact", onMenuPop); a.ed.addEventListener("addthis.menu.share", onMenuShare); if (!a.track) { a.track = {}; } a.util.extend(a.track, { pcs: pcs, apc: apc, cev: cev, ctf: ctf, jsl: jsl, gtf: get_atssh, qtp: function (p) { qtp.push(p); }, stf: function (f) { atf = f; }, trk: trk, xtp: xtp }); })(); _23(_7, { _rec: [], xfr: !_7.upm || !_7.bro.ffx, pmh: function (e) { if (e.origin.slice(-12) == ".addthis.com") { if (!e.data) { return; } var data = _7.util.rfromKV(e.data), r = _7._rec; for (var n = 0; n < r.length; n++) { r[n](data); } } } }); _23(_7, { lng: function () { return window.addthis_language || (window.addthis_config || {}).ui_language || (_7.bro.msi ? navigator.userLanguage : navigator.language) || "en"; }, iwb: function (l) { var wd = { th: 1, pl: 1, sl: 1, gl: 1, hu: 1, is: 1, nb: 1, se: 1, su: 1, sw: 1 }; return !!wd[l]; }, gfl: function (l) { var map = { ca: "es", cs: "CZ", cy: "GB", da: "DK", de: "DE", eu: "ES", ck: "US", en: "US", es: "LA", fb: "FI", gl: "ES", ja: "JP", ko: "KR", nb: "NO", nn: "NO", sv: "SE", ku: "TR", zh: "CN", "zh-tr": "CN", "zh-hk": "HK", "zh-tw": "TW", fo: "FO", fb: "LT", af: "ZA", sq: "AL", hy: "AM", be: "BY", bn: "IN", bs: "BA", nl: "NL", et: "EE", fr: "FR", ka: "GE", el: "GR", gu: "IN", hi: "IN", ga: "IE", jv: "ID", kn: "IN", kk: "KZ", la: "VA", li: "NL", ms: "MY", mr: "IN", ne: "NP", pa: "IN", pt: "PT", rm: "CH", sa: "IN", sr: "RS", sw: "KE", tl: "PH", ta: "IN", pl: "PL", tt: "RU", te: "IN", ml: "IN", uk: "UA", vi: "VN", tr: "TR", xh: "ZA", zu: "ZA", km: "KH", tg: "TJ", he: "IL", ur: "PK", fa: "IR", yi: "DE", gn: "PY", qu: "PE", ay: "BO", se: "NO", ps: "AF", tl: "ST" }, rv = map[l] || map[l.split("-").shift()]; if (rv) { return l.split("-").shift() + "_" + rv; } else { return "en_US"; } }, ivl: function (l) { var lg = { af: 1, afr: "af", ar: 1, ara: "ar", az: 1, aze: "az", be: 1, bye: "be", bg: 1, bul: "bg", bn: 1, ben: "bn", bs: 1, bos: "bs", ca: 1, cat: "ca", cs: 1, ces: "cs", cze: "cs", cy: 1, cym: "cy", da: 1, dan: "da", de: 1, deu: "de", ger: "de", el: 1, gre: "el", ell: "ell", en: 1, eo: 1, es: 1, esl: "es", spa: "spa", et: 1, est: "et", eu: 1, fa: 1, fas: "fa", per: "fa", fi: 1, fin: "fi", fo: 1, fao: "fo", fr: 1, fra: "fr", fre: "fr", ga: 1, gae: "ga", gdh: "ga", gl: 1, glg: "gl", gu: 1, he: 1, heb: "he", hi: 1, hin: "hin", hr: 1, ht: 1, hy: 1, cro: "hr", hu: 1, hun: "hu", id: 1, ind: "id", is: 1, ice: "is", it: 1, ita: "it", ja: 1, jpn: "ja", ko: 1, kor: "ko", ku: 1, lb: 1, ltz: "lb", lt: 1, lit: "lt", lv: 1, lav: "lv", mk: 1, mac: "mk", mak: "mk", ml: 1, mn: 1, ms: 1, msa: "ms", may: "ms", nb: 1, nl: 1, nla: "nl", dut: "nl", no: 1, nds: 1, nn: 1, nno: "no", oc: 1, oci: "oc", pl: 1, pol: "pl", ps: 1, pt: 1, por: "pt", ro: 1, ron: "ro", rum: "ro", ru: 1, rus: "ru", sk: 1, slk: "sk", slo: "sk", sl: 1, slv: "sl", sq: 1, alb: "sq", sr: 1, se: 1, si: 1, ser: "sr", su: 1, sv: 1, sve: "sv", sw: 1, swe: "sv", ta: 1, tam: "ta", te: 1, teg: "te", th: 1, tha: "th", tl: 1, tgl: "tl", tn: 1, tr: 1, tur: "tr", tt: 1, uk: 1, ukr: "uk", ur: 1, urd: "ur", vi: 1, vec: 1, vie: "vi", "zh-hk": 1, "chi-hk": "zh-hk", "zho-hk": "zh-hk", "zh-tr": 1, "chi-tr": "zh-tr", "zho-tr": "zh-tr", "zh-tw": 1, "chi-tw": "zh-tw", "zho-tw": "zh-tw", zh: 1, chi: "zh", zho: "zh" }; if (lg[l]) { return lg[l]; } l = l.split("-").shift(); if (lg[l]) { if (lg[l] === 1) { return l; } else { return lg[l]; } } return 0; }, ggl: function (l) { var map = { en: "en-US", ar: "ar", ca: "ca", zh: "zh-CN", hr: "hr", cs: "cs", da: "da", nl: "nl", et: "et", fi: "fi", fr: "fr", de: "de", el: "el", he: "iw", hi: "hi", hu: "hu", id: "id", it: "it", ja: "ja", ko: "ko", lv: "lv", lt: "lt", ms: "ms", no: "no", fa: "fa", pl: "pl", pt: "pt-BR", ro: "ro", ru: "ru", sr: "sr", sk: "sk", sl: "sl", es: "es", sv: "sv", th: "th", tr: "tr", uk: "uk", vi: "vi" }; return map[l] || null; }, gvl: function (l) { var rv = _7.ivl(l) || "en"; if (rv === 1) { rv = l; } return rv; }, alg: function (al, f) { var l = _7.gvl((al || _7.lng()).toLowerCase()); if (l.indexOf("en") !== 0 && (!_7.pll || f)) { _7.pll = _7.ajs("static/r07/lang15/" + l + ".js"); } } }); _23(_7, { trim: function (s, e) { try { if (s && s.trim && typeof (s.trim) == "function") { s = s.trim(); } else { s = s.replace(/^[\s\u3000]+/, "").replace(/[\s\u3000]+$/, ""); } if (e) { s = _euc(s); } } catch (e) { } return s || ""; }, trl: [], tru: function (u, k) { var rv = "", _1d4 = 0, _1d5 = -1; if (u) { rv = u.substr(0, 300); if (rv !== u) { if ((_1d5 = rv.lastIndexOf("%")) >= rv.length - 4) { rv = rv.substr(0, _1d5); } if (rv != u) { for (var i in _7.trl) { if (_7.trl[i] == k) { _1d4 = 1; } } if (!_1d4) { _7.trl.push(k); } } } } return rv; }, opp: function (st) { st.width = st.height = "1px"; st.position = "absolute"; st.zIndex = 100000; }, jlr: {}, ajs: function (name, _1d9, _1da, id, el) { if (!_7.jlr[name]) { var o = d.ce("script"), head = (el) ? el : d.gn("head")[0] || d.documentElement; o.setAttribute("type", "text/javascript"); if (_1da) { o.setAttribute("async", "true"); } if (id) { o.setAttribute("id", id); } o.src = (_1d9 ? "" : _atr) + name; head.insertBefore(o, head.firstChild); _7.jlr[name] = 1; return o; } return 1; }, jlo: function () { try { var a = _7, al = a.lng(), aig = function (src) { var img = new Image(); _7.imgz.push(img); img.src = src; }; a.alg(al); if (!a.pld) { if (a.bro.ie6) { aig(_atr + a.spt); aig(_atr + "static/t00/logo1414.gif"); aig(_atr + "static/t00/logo88.gif"); if (window.addthis_feed) { aig("static/r05/feed00.gif", 1); } } if (a.pll && !window.addthis_translations) { setTimeout(function () { a.pld = a.ajs("static/r07/menu89.js"); }, 10); } else { a.pld = a.ajs("static/r07/menu89.js"); } } } catch (e) { } }, ao: function (elt, pane, iurl, _1e7, _1e8, _1e9) { _7.lad(["open", elt, pane, iurl, _1e7, _1e8, _1e9]); _7.jlo(); return false; }, ac: function () { }, as: function (s, cf, sh) { _7.lad(["send", s, cf, sh]); _7.jlo(); } }); (function (e, f, j) { var n = document, l = 1, a = ["cbea", "cbeab", "kkk", "zvys", "phz", "gvgf", "shpxf", "chfflyvcf", "pernzcvr", "svfgvat", "wvmm", "fcybbtr", "flovna"], g = a.length, c = {}; function b(d) { return d.replace(/[a-zA-Z]/g, function (i) { return String.fromCharCode((i <= "Z" ? 90 : 122) >= (i = i.charCodeAt(0) + 13) ? i : i - 26); }); } while (g--) { c[b(a[g])] = 1; } function h(d) { var i = 0; if (!d || typeof (d) != "string") { return i; } d = ((d || "").toLowerCase() + "").replace(/ /g, ""); if (d == "mature" || d == "adult" || d == "rta-5042-1996-1400-1577-rta") { i |= l; } return i; } function m(q) { var t = 0; if (!q || typeof (q) != "string") { return t; } q = ((q || "").toLowerCase() + "").replace(/[^a-zA-Z]/g, " ").split(" "); for (var d = 0, r = q.length; d < r; d++) { if (c[q[d]]) { t |= l; return t; } } return t; } function o() { var s = (w.addthis_title || n.title), i = m(s), r = n.all ? n.all.tags("META") : n.getElementsByTagName ? n.getElementsByTagName("META") : new Array(), q = (r || "").length; if (r && q) { while (q--) { var d = r[q] || {}, u = (d.name || (d.getAttribute ? d.getAttribute("property") : "") || "").toLowerCase(), t = d.content; if (u == "description" || u == "keywords") { i |= m(t); } if (u == "rating") { i |= h(t); } } } return i; } function k() { var s = [], r = n.all ? n.all.tags("META") : n.getElementsByTagName ? n.getElementsByTagName("META") : new Array(), i = (r || "").length; if (r && i) { while (i--) { var d = r[i] || {}, v = ((d.getAttribute ? d.getAttribute("property") : "") || d.name || "").toLowerCase(), u = d.content, q; if (v.indexOf("og:") === 0) { q = v.split(":").pop(); if (s.length < 7) { s.push(q == "type" ? q + "=" + u : q); } } } } return s; } function p() { var s = {}, q = "", r = n.all ? n.all.tags("META") : n.getElementsByTagName ? n.getElementsByTagName("META") : new Array(); if (!r || r.length == 0) { return s; } for (var d = 0; d < r.length; d++) { q = r[d].getAttribute("property") || ""; if (q.search(/^og:/i) != -1) { s[q.replace("og:", "")] = r[d].content; } } return _31(s); } if (!e.ad) { e.ad = {}; } _7.extend(e.ad, { cla: o, gog: k, og: p }); })(_7, _7.api, _7); (function (e, g, j) { var l = document, h = 0, b = 1, a = 2, i = 4; function c(n, m, d) { d = (d === undefined || d) || (window.location.protocol == "https:"); m = _7.util.host(m === undefined ? window.location.href : m); var p = h, q = 0; if (n) { var o = _7.util.host(n); if (m == o) { p |= a; } else { p |= i; } } if (!d && k(n)) { p |= b; } return p; } function k(d) { var n = ".com/"; var m = 0; if (d && d.match(/ws\/results\/(Web|Images|Video|News)/)) { m = 1; } else { if (d && d.indexOf("addthis" == -1) && (d.match(/google.*\/(search|url|m\?)/) || d.indexOf(n + "url") > -1 || d.indexOf("/search?") > -1 || d.indexOf(n + "search") > -1 || d.indexOf(n + "s?bs") > -1 || d.indexOf(n + "s?wd") > -1 || d.indexOf(n + "web") > -1 || d.match(/aol.*\/aol/) || d.indexOf("hotbot" + n) > -1)) { if (f(d) != false) { m = 1; } } } if (m) { return true; } else { return false; } } function f(d) { var n = d.split("?").pop().toLowerCase().split("&"); var o = /^(?:q|search|bs|wd|p|query|qry|text)=(.*)/; for (var m = 0; m < n.length; m++) { if (matches = o.exec(n[m])) { return matches[1]; } } return false; } if (!e.ad) { e.ad = {}; } e.ad.clr = c; e.ad.iss = k; e.ad.fst = f; e.ad.ref = { r_direct: h, r_search: b, r_ondomain: a, r_offdomain: i }; })(_7, _7.api, _7); (function (f, g, h) { var c, j = document, m = f.util, b = f.event.EventDispatcher, k = 25, e = []; function i(p, r, o) { var d = []; function d() { d.push(arguments); } function q() { o[p] = r; while (d.length) { r.apply(o, d.shift()); } } d.ready = q; return d; } function l(p) { if (p && p instanceof a) { e.push(p); } for (var d = 0; d < e.length; ) { var o = e[d]; if (o && o.test()) { e.splice(d, 1); a.fire("load", o, { resource: o }); } else { d++; } } if (e.length) { setTimeout(l, k); } } function a(r, o, q) { var d = this, p = new b(d); p.decorate(p).decorate(d); this.ready = false; this.loading = false; this.id = r; this.url = o; if (typeof (q) === "function") { this.test = q; } else { this.test = function () { return (!!_window[q]); }; } a.addEventListener("load", function (s) { var t = s.resource; if (!t || t.id !== d.id) { return; } d.loading = false; d.ready = true; p.fire(s.type, t, { resource: t }); }); } m.extend(a.prototype, { load: function () { if (!this.loading) { var d; if (this.url.substr(this.url.length - 4) == ".css") { var o = (j.gn("head")[0] || j.documentElement); d = j.ce("link"); d.rel = "stylesheet"; d.type = "text/css"; d.href = this.url; d.media = "all"; o.insertBefore(d, o.firstChild); } else { d = _7.ajs(this.url, 1); } this.loading = true; a.monitor(this); return d; } else { return 1; } } }); var n = new b(a); n.decorate(n).decorate(a); m.extend(a, { known: {}, loading: e, monitor: l }); f.resource = { Resource: a, ApiQueueFactory: i }; })(_7, _7.api, _7); (function (e, u, w) { var y = document, l = y.gn("body").item(0), h = {}, g = {}, o, x = [], c = 0, s = 0, t = 0, j = true, m = [], A = 0, v = 0, i = 0; function p() { return ((_atc.ltj && k() && n()) || (q() && FB.XFBML && FB.XFBML.parse)); } function n() { if (o === undefined) { try { var B = (document.getElementsByTagName("html"))[0]; if (B) { if (B.getAttribute && B.getAttribute("xmlns:fb")) { o = true; } else { if (_7.bro.msi) { var d = B.outerHTML.substr(0, B.outerHTML.indexOf(">")); if (d.indexOf("xmlns:fb") > -1) { o = true; } } } } } catch (C) { o = false; } } return o; } function q() { return (typeof (window.FB) == "object" && FB.Event && typeof (FB.Event.subscribe) == "function"); } function k() { return !window.FB_RequireFeatures && (!window.FB || (!FB.Share && !FB.Bootstrap)); } function f() { if (y.location.href.indexOf(_atr) == -1 && !_7.sub && !c) { if (q()) { var d = (addthis_config.data_ga_tracker || addthis_config.data_ga_property); c = 1; FB.Event.subscribe("message.send", function (D) { var B = {}, E = g[D]; for (var C in addthis_share) { B[C] = addthis_share[C]; } if (E) { for (var C in E) { B[C] = E[C]; } } B.url = D; _7.share.track("facebook_send", 0, B, addthis_config); if (d) { _7.gat("facebook_send", D, addthis_config, B); } }); FB.Event.subscribe("edge.create", function (D) { if (!h[D]) { var B = {}, E = g[D]; for (var C in addthis_share) { B[C] = addthis_share[C]; } if (E) { for (var C in E) { B[C] = E[C]; } } B.url = D; _7.share.track("facebook_like", 0, B, addthis_config); if (d) { _7.gat("facebook_like", D, addthis_config, B); } h[D] = 1; } }); FB.Event.subscribe("edge.remove", function (D) { if (h[D]) { var B = {}, E = g[D]; for (var C in addthis_share) { B[C] = addthis_share[C]; } if (E) { for (var C in E) { B[C] = E[C]; } } B.url = D; _7.share.track("facebook_unlike", 0, B, addthis_config); h[D] = 0; } }); FB.Event.subscribe("comment.create", function (D) { var B = {}, E = g[D.href]; for (var C in addthis_share) { B[C] = addthis_share[C]; } if (E) { for (var C in E) { B[C] = E[C]; } } B.url = D.href; _7.share.track("facebook_comment", 0, B, addthis_config); if (d) { _7.gat("facebook_comment", D.href, addthis_config, B); } }); FB.Event.subscribe("comment.remove", function (D) { var B = {}, E = g[D.href]; for (var C in addthis_share) { B[C] = addthis_share[C]; } if (E) { for (var C in E) { B[C] = E[C]; } } B.url = D.href; _7.share.track("facebook_uncomment", 0, B, addthis_config); }); } else { if (window.fbAsyncInit && !t) { if (s < 3) { setTimeout(f, 3000 + 1000 * 2 * (s++)); } t = 1; } } } } function r(d, E) { var D = "fb-root", C = y.getElementById(D), B = window.fbAsyncInit; x.push(d); if (q() && FB.XFBML && FB.XFBML.parse) { FB.XFBML.parse(d); f(); } else { if (!B) { if (!C) { C = y.ce("div"); C.id = D; document.body.appendChild(C); } if (!B) { var F = y.createElement("script"); F.src = y.location.protocol + "//connect.facebook.net/" + (E || _7.gfl(_7.lng())) + "/all.js"; F.async = true; C.appendChild(F); B = function () { FB.init({ appId: i ? "140586622674265" : "172525162793917", status: true, cookie: true }); }; } } if (j) { j = false; window.__orig__fbAsyncInit = B; window.fbAsyncInit = function () { window.__orig__fbAsyncInit(); for (var G = 0; G < x.length; G++) { FB.XFBML.parse(x[G]); } f(); }; } } } function z(H, F) { if (H.ost) { return; } var I, G = _7.api.ptpa(H, "fb:like"), C = "", E = G.layout || "button_count", J = G.locale || _7.gfl(_7.lng()), d = { standard: [450, G.show_faces ? 80 : 35], button_count: [90, 25], box_count: [55, 65] }, K = G.width || (d[E] ? d[E][0] : 100), D = G.height || (d[E] ? d[E][1] : 25); passthrough = _7.util.toKV(G); _7.ufbl = 1; if (p()) { if (G.layout === undefined) { G.layout = "button_count"; } if (G.show_faces === undefined) { G.show_faces = "false"; } if (G.action === undefined) { G.action = "like"; } if (G.width === undefined) { G.width = K; } if (G.font === undefined) { G.font = "arial"; } if (G.href === undefined) { G.href = _7.track.mgu(F.share.url, { defrag: 1 }); } for (var B in G) { C += " " + B + "=\"" + G[B] + "\""; } if (!F.share.xid) { F.share.xid = _7.util.cuid(); } g[G.href] = {}; for (var B in F.share) { g[G.href][B] = F.share[B]; } H.innerHTML = "<fb:like ref=\"" + _7.share.gcp(F.share, F.conf, ".like").replace(",", "_") + "\" " + C + "></fb:like>"; r(H); } else { if (!_7.bro.msi) { I = y.ce("iframe"); } else { H.innerHTML = "<iframe frameborder=\"0\" scrolling=\"no\" allowTransparency=\"true\" scrollbars=\"no\"" + (_7.bro.ie6 ? " src=\"javascript:''\"" : "") + "></iframe>"; I = H.firstChild; } I.style.overflow = "hidden"; I.style.scrolling = "no"; I.style.scrollbars = "no"; I.style.border = "none"; I.style.borderWidth = "0px"; I.style.width = K + "px"; I.style.height = D + "px"; I.src = "//www.facebook.com/plugins/like.php?href=" + _euc(_7.track.mgu(F.share.url, { defrag: 1 })) + "&layout=button_count&show_faces=false&width=100&action=like&font=arial&" + passthrough; if (!_7.bro.msi) { H.appendChild(I); } } H.noh = H.ost = 1; } function b(E, C, G, d) { var D = E.share_url_transforms || E.url_transforms || {}, F = (E.passthrough || {}).facebook || {}, B = a.track.cof(a.track.mgu(E.url, D, E, "facebook")); B = A ? ("http://www.facebook.com/sharer.php?&t=" + _euc(E.title) + "&u=" + _euc(_7.share.acb("facebook", E, C))) : (v ? ("http://www.facebook.com/connect/prompt_feed.php?message=" + _euc(E.title) + "%0A%0D" + _euc(_7.share.acb("facebook", E, C))) : i ? "http://www.facebook.com/dialog/feed?redirect_uri=" + _euc("http://s7.addthis.com/static/postshare/c00.html") + "&app_id=140586622674265&link=" + _euc(B) + "&name=" + _euc(E.title) + "&description=" + _euc(E.description || "") : _7.share.genurl("facebook", 0, E, C)); if (A || v || i) { _7.share.track("facebook", 0, E, C, 1); } if (C.ui_use_same_window || d) { window.location.href = B; } else { _7.share.ocw(B, 550, 450, "facebook"); } return false; } e.share = e.share || {}; e.share.fb = { like: z, has: q, ns: n, ready: p, compat: k, share: b, sub: f, load: r }; })(_7, _7.api, _7); (function (e, o, r) { var t = document, x = e, i = [], b = n(); function n() { var d = t.gn("link"), B = {}; for (var A = 0; A < d.length; A++) { var a = d[A]; if (a.href && a.rel) { B[a.rel] = a.href; } } return B; } function v() { var a = t.location.protocol; if (a == "file:") { a = "http:"; } return a + "//" + _atd; } function l(A, B, d, a) { return v() + (B ? "feed.php" : (A == "email" && _atc.ver >= 300 ? "tellfriend.php" : "bookmark.php")) + "?v=" + (_atc.ver) + "&winname=addthis&" + z(A, B, d, a) + (x.dr ? "&pre=" + _euc(x.track.cof(x.dr)) : "") + "&tt=0" + (A === "more" && x.bro.ipa ? "&imore=1" : ""); } function z(R, G, U, Z) { var N = x.trim, W = window, S = x.pub(), L = window._atw || {}, M = (U && U.url ? U.url : (L.share && L.share.url ? L.share.url : (W.addthis_url || W.location.href))), Y, F = function (ac) { if (M && M != "") { var d = M.indexOf("#at" + ac); if (d > -1) { M = M.substr(0, d); } } }; if (!Z) { Z = L.conf || {}; } else { for (var T in L.conf) { if (!(Z[T])) { Z[T] = L.conf[T]; } } } if (!U) { U = L.share || {}; } else { for (var T in L.share) { if (!(U[T])) { U[T] = L.share[T]; } } } if (x.rsu()) { U.url = window.addthis_url; U.title = window.addthis_title; M = U.url; } if (!S || S == "undefined") { S = "unknown"; } Y = Z.services_custom; F("pro"); F("opp"); F("cle"); F("clb"); F("abc"); if (M.indexOf("addthis.com/static/r07/ab") > -1) { M = M.split("&"); for (var V = 0; V < M.length; V++) { var P = M[V].split("="); if (P.length == 2) { if (P[0] == "url") { M = P[1]; break; } } } } if (Y instanceof Array) { for (var V = 0; V < Y.length; V++) { if (Y[V].code == R) { Y = Y[V]; break; } } } var X = ((U.templates && U.templates[R]) ? U.templates[R] : ""), A = ((U.modules && U.modules[R]) ? U.modules[R] : ""), D = U.share_url_transforms || U.url_transforms || {}, J = U.track_url_transforms || U.url_transforms, ab = ((D && D.shorten && U.shorteners) ? (typeof (D.shorten) == "string" ? D.shorten : (D.shorten[R] || D.shorten["default"] || "")) : ""), H = "", Q = (Z.product || W.addthis_product || ("men-" + _atc.ver)), B = L.crs, I = "", O = x.track.gof(M), aa = O.length == 2 ? O.shift().split("=").pop() : "", a = O.length == 2 ? O.pop() : "", K = (Z.data_track_clickback || Z.data_track_linkback || !S || S == "AddThis") || (Z.data_track_clickback !== false && _atc.ver >= 250); if (U.email_vars) { for (var T in U.email_vars) { I += (I == "" ? "" : "&") + _euc(T) + "=" + _euc(U.email_vars[T]); } } if (x.track.spc && Q.indexOf(x.track.spc) == -1) { Q += "," + x.track.spc; } if (D && D.shorten && U.shorteners) { for (var T in U.shorteners) { for (var C in U.shorteners[T]) { H += (H.length ? "&" : "") + _euc(T + "." + C) + "=" + _euc(U.shorteners[T][C]); } } } M = x.track.cof(M); M = x.track.mgu(M, D, U, R); if (J) { U.trackurl = x.track.mgu(U.trackurl || M, J, U, R); } var E = "pub=" + S + "&source=" + Q + "&lng=" + (x.lng() || "xx") + "&s=" + R + (Z.ui_508_compliant ? "&u508=1" : "") + (G ? "&h1=" + N((U.feed || U.url).replace("feed://", ""), 1) + "&t1=" : "&url=" + N(M, 1) + "&title=") + N(U.title || W.addthis_title, 1) + (_atc.ver < 200 ? "&logo=" + N(W.addthis_logo, 1) + "&logobg=" + N(W.addthis_logo_background, 1) + "&logocolor=" + N(W.addthis_logo_color, 1) : "") + "&ate=" + x.track.sta() + ((R != "email" || _atc.ver < 300) ? "&frommenu=1" : "") + ((window.addthis_ssh && (!B || addthis_ssh != B) && (addthis_ssh == R || addthis_ssh.search(new RegExp("(?:^|,)(" + R + ")(?:$|,)")) > -1)) ? "&ips=1" : "") + (B ? "&cr=" + (R == B ? 1 : 0) : "") + "&uid=" + _euc(x.uid && x.uid != "x" ? x.uid : x.util.cuid()) + (U.email_template ? "&email_template=" + _euc(U.email_template) : "") + (I ? "&email_vars=" + _euc(I) : "") + (ab ? "&shortener=" + _euc(typeof (ab) == "array" ? ab.join(",") : ab) : "") + (ab && H ? "&" + H : "") + ((U.passthrough || {})[R] ? "&passthrough=" + N((typeof (U.passthrough[R]) == "object" ? x.util.toKV(U.passthrough[R]) : U.passthrough[R]), 1) : "") + (U.description ? "&description=" + N(U.description, 1) : "") + (U.html ? "&html=" + N(U.html, 1) : (U.content ? "&html=" + N(U.content, 1) : "")) + (U.trackurl && U.trackurl != M ? "&trackurl=" + N(U.trackurl, 1) : "") + (U.screenshot ? "&screenshot=" + N(U.screenshot, 1) : "") + (U.swfurl ? "&swfurl=" + N(U.swfurl, 1) : "") + (x.cb ? "&cb=" + x.cb : "") + (x.ufbl ? "&ufbl=1" : "") + (x.uud ? "&uud=1" : "") + (U.iframeurl ? "&iframeurl=" + N(U.iframeurl, 1) : "") + (U.width ? "&width=" + U.width : "") + (U.height ? "&height=" + U.height : "") + (Z.data_track_p32 ? "&p32=" + Z.data_track_p32 : "") + (K || _7.track.ctp(Z.product, Z) ? "&ct=1" : "") + ((K || _7.track.ctp(Z.product, Z)) && M.indexOf("#") > -1 ? "&uct=1" : "") + ((Y && Y.url) ? "&acn=" + _euc(Y.name) + "&acc=" + _euc(Y.code) + "&acu=" + _euc(Y.url) : "") + (x.smd ? (x.smd.rxi ? "&rxi=" + x.smd.rxi : "") + (x.smd.rsi ? "&rsi=" + x.smd.rsi : "") + (x.smd.gen ? "&gen=" + x.smd.gen : "") : ((aa ? "&rsi=" + aa : "") + (a ? "&gen=" + a : ""))) + (U.xid ? "&xid=" + N(U.xid, 1) : "") + (X ? "&template=" + N(X, 1) : "") + (A ? "&module=" + N(A, 1) : "") + (Z.ui_cobrand ? "&ui_cobrand=" + N(Z.ui_cobrand, 1) : "") + (Z.ui_header_color ? "&ui_header_color=" + N(Z.ui_header_color, 1) : "") + (Z.ui_header_background ? "&ui_header_background=" + N(Z.ui_header_background, 1) : ""); return E; } function y(A, d, B) { var a = A.xid; if (d.data_track_clickback || d.data_track_linkback || _7.track.ctp(d.product, d)) { return x.track.gcc(a, (x.smd || {}).gen || 0) + (B || ""); } else { return ""; } } function q(G, I, C, H, d, J) { var F = x.pub(), a = H || I.url || "", B = I.xid || x.util.cuid(), D = (C.data_track_clickback || C.data_track_linkback || !F || F == "AddThis") || (C.data_track_clickback !== false && _atc.ver >= 250); if (a.toLowerCase().indexOf("http%3a%2f%2f") === 0) { a = _duc(a); } if (d) { var A = {}; for (var E in I) { A[E] = I[E]; } A.xid = B; setTimeout(function () { (new Image()).src = l(G == "twitter" && J ? "tweet" : G, 0, A, C); }, 100); } return (D ? x.track.cur(a, G, B) : a); } function g(C, A, a) { var A = A || {}, B = C.share_url_transforms || C.url_transforms || {}, d = x.track.cof(x.track.mgu(C.url, B, C, "mailto")); return "mailto:?subject=" + _euc(C.title ? C.title : d) + "&body=" + _euc(q("mailto", C, A, d, a)); } function h(a) { return ((!a.templates || !a.templates.twitter) && (!x.wlp || x.wlp == "http:")); } function f(d, B, I, A) { var G = B || 550, C = I || 450, H = screen.width, E = screen.height, F = Math.round((H / 2) - (G / 2)), a = 0, D; if (E > C) { F = Math.round((E / 2) - (C / 2)); } w.open(d, A || "addthis_share", "left=" + F + ",top=" + a + ",width=" + G + ",height=" + C + ",personalbar=no,toolbar=no,scrollbars=yes,location=yes,resizable=yes"); return false; } function u(d, A, a) { w.open(l(d, 0, A, a), "addthis_share"); return false; } function j(d) { var a = { twitter: 1, wordpress: 1, email: _atc.ver >= 300, more: _atc.ver >= 300, raiseyourvoice: 1, vk: 1 }; return a[d]; } function p(F, E, B, D, a, A) { var C = { wordpress: { width: 720, height: 570 }, linkedin: { width: 600, height: 400 }, email: _atc.ver >= 300 ? { width: 660, height: 660} : { width: 735, height: 450 }, more: _atc.ver >= 300 ? { width: 660, height: 716} : { width: 735, height: 450 }, vk: { width: 720, height: 290 }, raiseyourvoice: { width: 480, height: 635 }, "default": { width: 550, height: 450} }, d = l(F, 0, E, B); if (B.ui_use_same_window) { window.location.href = d; } else { f(d, D || (C[F] || C["default"]).width, a || (C[F] || C["default"]).height, A); } return false; } function c(F, B, G, D) { var C = F.share_url_transforms || F.url_transforms || {}, A, d = (F.passthrough || {}).twitter || {}, a = x.track.cof(x.track.mgu(F.url, C, F, "twitter")), E = ((F.passthrough || {}).twitter == undefined) ? {} : d; if (!F.templates) { F.templates = {}; } if (!F.templates.twitter) { F.templates.twitter = (F.text || ((F.title == t.title) ? E.text : F.title) || "{{title}}:") + " {{url}} via @" + (F.via || E.via || "AddThis"); } a = l("twitter", 0, F, B); if (A) { F.title = A; } if (B.ui_use_same_window || D) { window.location.href = a; } else { f(a, 550, 450, "twitter_tweet"); } return false; } function k(B, A, a, d) { _7.ed.fire("addthis.menu.share", window.addthis || {}, { element: d || {}, service: B || "unknown", url: A.trackurl || A.url }); } function m(C, D, B, d, A) { var a = l(C, D, B, d); i.push(x.ajs(a, 1)); if (!A) { k(C, B, d); } } function s(A, d, a) { return v() + "tellfriend.php?&fromname=aaa&fromemail=" + _euc(d.from) + "&frommenu=1&tofriend=" + _euc(d.to) + (A.email_template ? "&template=" + _euc(A.email_template) : "") + (d.vars ? "&vars=" + _euc(d.vars) : "") + "&lng=" + (x.lng() || "xx") + "&note=" + _euc(d.note) + "&" + z("email", null, null, a); } e.share = e.share || {}; e.util.extend(e.share, { auw: j, ocw: f, stw: p, siw: u, pts: c, unt: h, uadd: z, genurl: l, geneurl: s, genieu: g, acb: q, gcp: y, svcurl: v, track: m, notify: k, links: b }); })(_7, _7.api, _7); (function (a, b, c) { if (!a.services) { a.services = {}; } a.services.map = { facebook: "", twitter: "", reddit: "", stumbleupon: "", gmail: "mail.google.com", blogger: "", linkedin: "", tumblr: "", delicious: "", yahoomail: "compose.mail.yahoo.com", hotmail: "hotmail.msn.com", "100zakladok": "100zakladok.ru", "2tag": "2tag.nl", "2linkme": "", "7live7": "", a1webmarks: "a1-webmarks.com", a97abi: "", addio: "add.io", menu: "api.addthis.com", adfty: "", adifni: "", aerosocial: "", allmyfaves: "", amazonwishlist: "amazon.com", amenme: "", aim: "lifestream.aol.com", aolmail: "webmail.aol.com", armenix: "", arto: "", aviary: "", baang: "baang.ir", baidu: "cang.baidu.com", bebo: "", bentio: "", biggerpockets: "", bitly: "bit.ly", bizsugar: "", bleetbox: "", blinklist: "", blip: "blip.pl", bloggy: "bloggy.se", blogmarks: "blogmarks.net", blogtrottr: "", blurpalicious: "", bobrdobr: "bobrdobr.ru", bonzobox: "", socialbookmarkingnet: "social-bookmarking.net", bookmarkycz: "bookmarky.cz", bookmerkende: "bookmerken.de", bordom: "bordom.net", box: "box.net", brainify: "", bryderi: "bryderi.se", buddymarks: "", buzzzy: "", camyoo: "", cardthis: "partner.cardthis.com", care2: "", chiq: "", cirip: "cirip.ro", citeulike: "citeulike.org", classicalplace: "", cndig: "cndig.org", colivia: "colivia.de", technerd: "", connotea: "connotea.org", cootopia: "", cosmiq: "cosmiq.de", curateus: "curate.us", designbump: "", designmoo: "", digthiswebhost: "", digaculturanet: "digacultura.net", digg: "", diggita: "diggita.it", diglog: "", digo: "digo.it", digzign: "", diigo: "", dipdive: "", domelhor: "domelhor.net", dosti: "dosti.webdunia.com", dotnetkicks: "", dotnetshoutout: "", woscc: "wos.cc", douban: "", draugiem: "draugiem.lv", drimio: "", dropjack: "", dwellicious: "", dzone: "", edelight: "edelight.de", efactor: "", ekudos: "ekudos.nl", elefantapl: "elefanta.pl", embarkons: "", eucliquei: "eucliquei.com.br", evernote: "", extraplay: "", ezyspot: "", stylishhome: "", fabulously40: "", informazione: "fai.informazione.it", fark: "", farkinda: "", fashiolista: "", fashionburner: "", favable: "", faves: "", favlogde: "favlog.de", favoritende: "favoriten.de", favoritus: "", flaker: "flaker.pl", flosspro: "floss.pro", folkd: "", formspring: "formspring.me", thefreedictionary: "", fresqui: "", friendfeed: "", friendster: "", funp: "", fwisp: "", gabbr: "", gamekicker: "", givealink: "givealink.org", globalgrind: "", govn: "my.go.vn", goodnoows: "", googletranslate: "translate.google.com", gravee: "", greaterdebater: "", grono: "grono.net", habergentr: "haber.gen.tr", hackernews: "news.ycombinator.com", hadashhot: "hadash-hot.co.il", hatena: "b.hatena.ne.jp", gluvsnap: "healthimize.com", hedgehogs: "hedgehogs.net", hellotxt: "", historious: "historio.us", hitmarks: "", hotbookmark: "hotbmark.com", hotklix: "", w3validator: "validator.w3.org", hyves: "hyves.net", idearef: "", identica: "identi.ca", ihavegot: "", index4: "index4.in", indexor: "indexor.co.uk", instapaper: "", investorlinks: "", iorbix: "", isociety: "isociety.be", iwiw: "iwiw.hu", jamespot: "", jappy: "jappy.de", joliprint: "api.joliprint.com", jumptags: "", zooloo: "kablog.com", kaboodle: "", kaevur: "", kaixin: "kaixin001.com", kindleit: "fivefilters.org", kipup: "", kirtsy: "", kledy: "kledy.de", kommenting: "", latafaneracat: "latafanera.cat", laaikit: "laaik.it", ladenzeile: "ladenzeile.de", librerio: "", linkninja: "linkninja.com.br", linkagogo: "", linksgutter: "", linkshares: "linkshares.net", linkuj: "linkuj.cz", livejournal: "", lockerblogger: "", logger24: "", mymailru: "connect.mail.ru", markme: "markme.me", mashbord: "", mawindo: "", meinvz: "meinvz.net", mekusharim: "mekusharim.walla.co.il", memonic: "", memori: "memori.ru", meneame: "meneame.net", live: "profile.live.com", mindbodygreen: "", misterwong: "mister-wong.com", misterwong_de: "mister-wong.de", moemesto: "moemesto.ru", moikrug: "moikrug.ru", mototagz: "", mrcnetworkit: "mrcnetwork.it", multiply: "", myaol: "favorites.my.aol.com", myhayastan: "myhayastan.am", mylinkvault: "", myspace: "", n4g: "", naszaklasa: "nk.pl", netlog: "", netvibes: "", netvouz: "", newsmeback: "", newstrust: "newstrust.net", newsvine: "", nujij: "nujij.nl", odnoklassniki_ru: "odnoklassniki.ru", oknotizie: "oknotizie.virgilio.it", oneview: "oneview.de", ongobee: "", orkut: "promote.orkut.com", dashboard: "api.addthis.com", oyyla: "", packg: "", pafnetde: "pafnet.de", pdfonline: "savepageaspdf.pdfonline.com", pdfmyurl: "", phonefavs: "", pingfm: "ping.fm", planypus: "planyp.us", plaxo: "", plurk: "", pochvalcz: "pochval.cz", popedition: "", posteezy: "", posterous: "", pratiba: "prati.ba", printfriendly: "", pusha: "pusha.se", qrfin: "qrf.in", quantcast: "", qzone: "sns.qzone.qq.com", readitlater: "readitlaterlist.com", rediff: "share.rediff.com", redkum: "", ridefix: "", scoopat: "scoop.at", scoopit: "scoop.it", sekoman: "sekoman.lv", select2gether: "www2.select2gether.com", shaveh: "shaveh.co.il", shetoldme: "", shirintar: "shir.intar.in", simpy: "", sinaweibo: "v.t.sina.com.cn", slashdot: "slashdot.org", smiru: "smi2.ru", sodahead: "", sonico: "", speedtile: "speedtile.net", sphinn: "", spinsnap: "", spokentoyou: "", sportpost: "", yiid: "spread.ly", springpad: "springpadit.com", squidoo: "", startaid: "", startlap: "startlap.hu", storyfollower: "", studivz: "studivz.net", stuffpit: "", stumpedia: "", stylehive: "", svejo: "svejo.net", symbaloo: "", taaza: "", tagmarksde: "tagmarks.de", tagvn: "", tagza: "", tarpipe: "", tellmypolitician: "", thewebblend: "", thinkfinity: "community.thinkfinity.org", thisnext: "", throwpile: "", tipd: "", topsitelernet: "ekle.topsiteler.net", transferr: "", tuenti: "", tulinq: "", tusul: "", tvinx: "", tweetmeme: "api.tweetmeme.com", twitthis: "", typepad: "", upnews: "upnews.it", urlaubswerkde: "urlaubswerk.de", urlcapt: "", viadeo: "", virb: "", visitezmonsite: "", vk: "vkontakte.ru", vkrugudruzei: "vkrugudruzei.ru", voxopolis: "", vybralisme: "vybrali.sme.sk", vyoom: "", webnews: "webnews.de", domaintoolswhois: "domaintools.com", windows: "api.addthis.com", windycitizen: "", wirefan: "", wordpress: "", worio: "", wykop: "wykop.pl", xanga: "", xing: "", yahoobkm: "bookmarks.yahoo.com", yammer: "", yardbarker: "", yemle: "", yigg: "yigg.de", yoolink: "go.yoolink.to", yorumcuyum: "", youblr: "", youbookmarks: "", youmob: "", yuuby: "", zakladoknet: "zakladok.net", zanatic: "", ziczac: "ziczac.it", zingme: "link.apps.zing.vn", zootool: "" }; })(_7, _7.api, _7); var w = window, ac = w.addthis_config || {}, css = new _7.resource.Resource("widgetcss", _atr + "static/r07/widget71.css", function () { return true; }), _2e4 = new _7.resource.Resource("widget32css", _atr + "static/r07/widgetbig71.css", function () { return true; }); function main() { try { if (_atc.xol && !_atc.xcs && ac.ui_use_css !== false) { css.load(); if (_7.bro.ipa) { _2e4.load(); } } var a = _7, msi = a.bro.msi, hp = 0, _2e8 = window.addthis_config || {}, dt = d.title, dr = (typeof (a.rdr) !== "undefined") ? a.rdr : (d.referer || d.referrer || ""), du = dl ? dl.href : null, dh = dl.hostname, _2ed = du, _2ee = 0, al = (_7.lng().split("-")).shift(), _2f0 = _7.track.eop(dl, dr), cvt = [], nabc = !!a.cookie.rck("nabc"), cfc = _2f0.cfc, rsiq = _2f0.rsiq, rsi = _2f0.rsi, rxi = _2f0.rxi, rsc = _2f0.rsc.split("&").shift().split("%").shift().replace(/[^a-z0-9_]/g, ""), gen = _2f0.gen, fuid = _2f0.fuid, ifr, _2fb = _atr + "static/r07/sh69.html#", data, _2fd = function () { if (!_7.track.pcs.length) { _7.track.apc(window.addthis_product || ("men-" + _atc.ver)); } data.pc = _7.track.pcs.join(","); }; if (rsc == "tweet") { rsc = "twitter"; } if (window.addthis_product) { _7.track.apc(addthis_product); if (addthis_product.indexOf("fxe") == -1 && addthis_product.indexOf("bkm") == -1) { _7.track.spc = addthis_product; } } var l = _7.share.links.canonical; if (l) { if (l.indexOf("http") !== 0) { _2ed = (du || "").split("//").pop().split("/"); if (l.indexOf("/") === 0) { _2ed = _2ed.shift() + l; } else { _2ed.pop(); _2ed = _2ed.join("/") + "/" + l; } _2ed = dl.protocol + "//" + _2ed; } else { _2ed = l; } _7.usu(0, 1); } _2ed = _2ed.split("#{").shift(); a.igv(_2ed, d.title || ""); var _2ff = addthis_share.view_url_transforms || addthis_share.track_url_transforms || addthis_share.url_transforms; if (_2ff) { _2ed = _7.track.mgu(_2ed, _2ff); } if (rsi) { rsi = rsi.substr(0, 8) + fuid; } if (a.bro.mod == -1) { var m = document.compatMode; if (m) { var md = 1; if (m == "BackCompat") { md = 2; } else { if (m == "CSS1Compat") { md = 0; } } a.bro.mode = md; if (a.bro.msi) { a.bro.mod = md; } } } a.smd = { rsi: rsi, rxi: rxi, gen: gen, rsc: rsc }; a.dr = a.tru(dr, "fr"); a.du = a.tru(_2ed, "fp"); a.dt = dt = w.addthis_share.title; a.cb = a.ad.cla(); a.dh = dl.hostname; a.ssl = du && du.indexOf("https") === 0 ? 1 : 0; data = { iit: (new Date()).getTime(), cb: a.cb, ab: a.ab, dh: a.dh, dr: a.dr, du: a.du, dt: dt, md: a.bro.mode, inst: a.inst, jsl: a.track.jsl(), lng: a.lng(), ogt: _7.ad.gog().join(","), pc: w.addthis_product || "men", pub: a.pub(), ssl: a.ssl, sid: _7.track.ssid(), srd: _atc.damp, srf: _atc.famp, srp: _atc.pamp, srl: _atc.lamp, srx: _atc.xamp, ver: _atc.ver, xck: _atc.xck || 0, og: _7.ad.og() }; if (a.trl.length) { data.trl = a.trl.join(","); } if (a.rev) { data.rev = a.rev; } if (_2e8.data_track_clickback || _2e8.data_track_linkback || _7.track.ctp(data.pc, _2e8)) { data.ct = a.ct = 1; } if (a.prv) { data.prv = _31(a.prv); } if (rsc) { data.sr = rsc; } if (a.vamp >= 0 && !a.sub) { if (cfc) { cvt.push(a.track.fcv("plv", Math.round(1 / _atc.vamp))); cvt.push(a.track.fcv("cfc", 1)); cvt.push(a.track.fcv("rcf", dl.hash)); data.ce = cvt.join(","); } else { if (rsi && (fuid != a.gub())) { cvt.push(a.track.fcv("plv", Math.round(1 / _atc.vamp))); cvt.push(a.track.fcv("rsi", rsi)); cvt.push(a.track.fcv("gen", gen)); cvt.push(a.track.fcv("abc", 1)); cvt.push(a.track.fcv("fcu", a.gub())); cvt.push(a.track.fcv("rcf", dl.hash)); data.ce = cvt.join(","); _2ee = "addressbar"; } else { if (rxi || rsiq || rsc) { cvt.push(a.track.fcv("plv", Math.round(1 / _atc.vamp))); if (rsc) { cvt.push(a.track.fcv("rsc", rsc)); } if (rxi) { cvt.push(a.track.fcv("rxi", rxi)); } else { if (rsiq) { cvt.push(a.track.fcv("rsi", rsiq)); } } if (rsiq || rxi) { cvt.push(a.track.fcv("gen", gen)); } data.ce = cvt.join(","); _2ee = rsc || "unknown"; } } } } if (_2ee && a.bamp >= 0) { data.clk = 1; a.dcp = data.gen = 50; _7.ed.fire("addthis.user.clickback", window.addthis || {}, { service: _2ee }); } if (!window.at_noxld) { data.xld = 1; } if (a.upm) { data.xd = 1; } if (!nabc && window.history && typeof (history.replaceState) == "function" && (!_7.bro.chr || _7.bro.chb) && (_2e8.data_track_addressbar || _2e8.data_track_addressbar_paths) && ((du || "").split("#").shift() != dr) && (du.indexOf("#") == -1 || rsi || (_2f0.hash && rxi))) { var path = dl.pathname || "", _303, _304 = path != "/"; if (_2e8.data_track_addressbar_paths) { _304 = 0; for (var i = 0; i < _2e8.data_track_addressbar_paths.length; i++) { _303 = new RegExp(_2e8.data_track_addressbar_paths[i].replace(/\*/g, ".*") + "$"); if (_303.test(path)) { _304 = 1; break; } } } if (_304 && (!rsi || a.util.ioc(rsi, 5))) { var _306 = function () { history.replaceState({ d: (new Date()), g: gen }, d.title, _7.track.cur(dl.href.split("#").shift(), null, _7.track.ssid())); }; _306(); } } if (dl.href.indexOf(_atr) == -1 && !a.sub) { if (a.upm) { if (msi) { setTimeout(function () { _2fd(); ifr = a.track.ctf(_2fb + _31(data)); a.track.stf(ifr); }, _7.wait); w.attachEvent("onmessage", a.pmh); } else { ifr = a.track.ctf(); w.addEventListener("message", a.pmh, false); } if (_7.bro.ffx) { ifr.src = _2fb; _7.track.qtp(data); } else { if (!msi) { setTimeout(function () { _2fd(); ifr.src = _2fb + _31(data); }, _7.wait); } } } else { ifr = a.track.ctf(); setTimeout(function () { _2fd(); ifr.src = _2fb + _31(data); }, _7.wait); } if (ifr) { ifr = a.track.gtf().appendChild(ifr); a.track.stf(ifr); } } if (w.addthis_language || ac.ui_language) { a.alg(); } if (a.plo.length > 0) { a.jlo(); } } catch (e) { window.console && console.log("lod", e); } } w._ate = a; w._adr = r; a._ssc = a._ssh = []; a.dat = {}; a._rec.push(function (data) { _13(data, function (k, v) { a.dat[k] = v; }); if (data.ssc) { a._ssc = data.ssc; } if (data.sshs) { var s = window.addthis_ssh = _duc(data.sshs); a.gssh = 1; a._ssh = s.split(","); } if (data.uss) { var u = a._uss = _duc(data.uss).split(","); if (window.addthis_ssh) { var seen = {}, u = u.concat(a._ssh), _30d = []; for (var i = 0; i < u.length; i++) { var s = u[i]; if (!seen[s]) { _30d.push(s); } seen[s] = 1; } u = _30d; } a._ssh = u; window.addthis_ssh = u.join(","); } if (data.ups) { var s = data.ups.split(","); a.ups = {}; for (var i = 0; i < s.length; i++) { if (s[i]) { var o = _3f(_duc(s[i])); a.ups[o.name] = o; } } a._ups = a.ups; } if (data.uid) { a.uid = data.uid; _7.ed.fire("addthis-internal.data.uid", {}, { uid: data.uid }); } if (data.bti) { a.bti = data.bti; _7.ed.fire("addthis-internal.data.bti", {}, { bti: data.bti }); } if (data.bts) { a.bts = parseInt(data.bts); _7.ed.fire("addthis-internal.data.bts", {}, { bts: data.bts }); } if (data.vts) { a.vts = parseInt(data.vts); _7.ed.fire("addthis-internal.data.vts", {}, { vts: data.vts }); } if (data.geo) { a.geo = (data.geo.constructor == "string") ? _7.util.geo.parse(data.geo) : data.geo; _7.ed.fire("addthis-internal.data.geo", {}, { geo: a.geo }); } if (data.dbm) { a.dbm = data.dbm; } if (data.atgotcode) { a.sau = data.atgotcode; } if (data.rdy) { a.xfr = 1; a.track.xtp(); return; } }); try { var _310 = {}, _311 = _7.util.gsp("addthis_widget.js"); if (typeof (_311) == "object") { if (_311.provider) { _310 = { provider: _7.mun(_311.provider_code || _311.provider), auth: _311.auth || _311.provider_auth || "" }; if (_311.uid || _311.provider_uid) { _310.uid = _7.mun(_311.uid || _311.provider_uid); } if (_311.logout) { _310.logout = 1; } _7.prv = _310; } if (_311.pubid || _311.pub || _311.username) { w.addthis_pub = _duc(_311.pubid || _311.pub || _311.username); } if (w.addthis_pub && w.addthis_config) { w.addthis_config.username = w.addthis_pub; } if (_311.domready) { _atc.dr = 1; } if (_311.onready && _311.onready.match(/[a-zA-Z0-9_\.\$]+/)) { try { _7.onr = _7.evl(_311.onready); } catch (e) { window.console && console.log("addthis: onready function (" + _311.onready + ") not defined", e); } } if (_311.async) { _atc.xol = 1; } } if ((window.addthis_conf || {}).xol) { _atc.xol = 1; } if (_atc.ver === 120) { var rc = "atb" + _7.util.cuid(); d.write("<span id=\"" + rc + "\"></span>"); _7.igv(); _7.lad(["span", rc, addthis_share.url || "[url]", addthis_share.title || "[title]"]); } if (w.addthis_clickout) { _7.lad(["cout"]); } if (!_atc.xol && !_atc.xcs && ac.ui_use_css !== false) { css.load(); if (_7.bro.ipa) { _2e4.load(); } } } catch (e) { if (window.console) { console.log("main", e); } } _83.bindReady(); _83.append(main); })(); function addthis_open() { if (typeof iconf == "string") { iconf = null; } return _ate.ao.apply(_ate, arguments); } function addthis_close() { _ate.ac(); } function addthis_sendto() { _ate.as.apply(_ate, arguments); return false; } if (_atc.dr) { _adr.onReady(); } } else { _ate.inst++; } if (_atc.abf) { addthis_open(document.getElementById("ab"), "emailab", window.addthis_url || "[URL]", window.addthis_title || "[TITLE]"); } if (!window.addthis || window.addthis.nodeType !== undefined) { window.addthis = (function () { var e = { a1webmarks: "A1&#8209;Webmarks", aim: "AOL Lifestream", amazonwishlist: "Amazon", aolmail: "AOL Mail", aviary: "Aviary Capture", domaintoolswhois: "Whois Lookup", googlebuzz: "Google Buzz", googlereader: "Google Reader", googletranslate: "Google Translate", linkagogo: "Link-a-Gogo", meneame: "Men&eacute;ame", misterwong: "Mister Wong", mailto: "Email App", myaol: "myAOL", myspace: "MySpace", readitlater: "Read It Later", rss: "RSS", stumbleupon: "StumbleUpon", typepad: "TypePad", wordpress: "WordPress", yahoobkm: "Y! Bookmarks", yahoomail: "Y! Mail", youtube: "YouTube" }, g = document, c = g.gn("body").item(0), f = _ate.util.bind; function b(d, l) { var m; if (window._atw && _atw.list) { m = _atw.list[d] } else { if (e[d]) { m = e[d] } else { m = (l ? d : (d.substr(0, 1).toUpperCase() + d.substr(1))) } } return (m || "").replace(/&nbsp;/g, " ") } function i(d, u, s, r, t) { u = u.toUpperCase(); var p = (d == c && addthis.cache[u] ? addthis.cache[u] : (d || c || g.body).getElementsByTagName(u)), n = [], q, m; if (d == c) { addthis.cache[u] = p } if (t) { for (q = 0; q < p.length; q++) { m = p[q]; if ((m.className || "").indexOf(s) > -1) { n.push(m) } } } else { s = s.replace(/\-/g, "\\-"); var l = new RegExp("(^|\\s)" + s + (r ? "\\w*" : "") + "(\\s|$)"); for (q = 0; q < p.length; q++) { m = p[q]; if (l.test(m.className)) { n.push(m) } } } return (n) } var k = g.getElementsByClassname || i; function j(d) { if (typeof d == "string") { var l = d.substr(0, 1); if (l == "#") { d = g.getElementById(d.substr(1)) } else { if (l == ".") { d = k(c, "*", d.substr(1)) } else { } } } if (!d) { d = [] } else { if (!(d instanceof Array)) { d = [d] } } return d } function a(l, d) { return function () { addthis.plo.push({ call: l, args: arguments, ns: d }) } } function h(m) { var l = this, d = this.queue = []; this.name = m; this.call = function () { d.push(arguments) }; this.call.queuer = this; this.flush = function (p, o) { for (var n = 0; n < d.length; n++) { p.apply(o || l, d[n]) } return p } } return { ost: 0, cache: {}, plo: [], links: [], ems: [], init: _adr.onReady, _Queuer: h, _queueFor: a, _select: j, _gebcn: i, data: { getShareCount: a("getShareCount", "data") }, bar: a("bar"), button: a("button"), counter: a("counter"), count: a("counter"), toolbox: a("toolbox"), update: a("update"), util: { getServiceName: b }, addEventListener: f(_ate.ed.addEventListener, _ate.ed), removeEventListener: f(_ate.ed.removeEventListener, _ate.ed)} })() } _adr.append((function () { if (!window.addthis.ost) { _ate.extend(A, _ate.api); var X = document, M = undefined, L = window, I = 0, e = {}, aa = { compact: 1, expanded: 1, facebook: 1, email: 1, twitter: 1, print: 1, google: 1, live: 1, stumbleupon: 1, myspace: 1, favorites: 1, digg: 1, delicious: 1, blogger: 1, googlebuzz: 1, friendfeed: 1, vk: 1, mymailru: 1, gmail: 1, yahoomail: 1, reddit: 1, orkut: 1 }, E = new _ate.resource.Resource("widget32css", _atr + "static/r07/widgetbig71.css", function () { return true }), R = false, t = L.addthis_config, O = L.addthis_share, F = {}, z = {}, r = X.gn("body").item(0), A = window.addthis, b = A._select, x = A._gebcn(r, "A", "addthis_button_", true, true), V = { rss: "Subscribe via RSS" }, U = { tweet: "Tweet", email: "Email", mailto: "Email", print: "Print", favorites: "Save to Favorites", twitter: "Tweet This", digg: "Digg This", more: "View more services" }, N = { email_vars: 1, passthrough: 1, modules: 1, templates: 1, services_custom: 1 }, Z = { feed: 1, more: _atc.ver < 300, email: _atc.ver < 300, mailto: 1 }, H = { feed: 1, email: _atc.ver < 300, mailto: 1, print: 1, more: !_ate.bro.ipa && _atc.ver < 300, favorites: 1 }, y = { print: 1, favorites: 1, mailto: 1 }, Q = { email: _atc.ver >= 300, more: _atc.ver >= 300 }, J = 0, k = 0, D = 0, T = 0; function j(d) { if (d.indexOf("&") > -1) { d = d.replace(/&([aeiou]).+;/g, "$1") } return d } function c(u, w) { if (w && u !== w) { for (var d in w) { if (u[d] === M) { u[d] = w[d] } } } } function m(ac, u, ad) { var w = ac.onclick || function () { }, d = y[u] ? function () { _ate.share.track(u, 0, ac.share, ac.conf) } : function () { _ate.share.notify(u, ac.share, ac.conf, ac) }; if (ac.conf.data_ga_tracker || addthis_config.data_ga_tracker || ac.conf.data_ga_property || addthis_config.data_ga_property) { ac.onclick = function () { _ate.gat(u, ad, ac.conf, ac.share); d(); return w() } } else { ac.onclick = function () { d(); return w() } } } function s(u, d) { var w = { googlebuzz: "http://www.google.com/profiles/%s", youtube: "http://www.youtube.com/user/%s", facebook: "http://www.facebook.com/profile.php?id=%s", facebook_url: "http://www.facebook.com/%s", rss: "%s", flickr: "http://www.flickr.com/photos/%s", twitter: "http://twitter.com/%s", linkedin: "http://www.linkedin.com/in/%s" }; if (u == "facebook" && isNaN(parseInt(d))) { u = "facebook_url" } return (w[u] || "").replace("%s", d) || "" } function n(u, d) { if (R && !d) { return true } var w = (u.parentNode || {}).className || ""; R = (w.indexOf("32x32") > -1 || u.className.indexOf("32x32") > -1); return R } function B(u) { var w = (u.parentNode || {}).className || "", d = u.conf && u.conf.product && w.indexOf("toolbox") == -1 ? u.conf.product : "tbx" + (u.className.indexOf("32x32") > -1 || w.indexOf("32x32") > -1 ? "32" : "") + "-" + _atc.ver; if (d.indexOf(32) > -1) { R = true } _ate.track.apc(d); return d } function g(w, ac) { var u = {}; for (var d in w) { if (ac[d]) { u[d] = ac[d] } else { u[d] = w[d] } } return u } function W(d, ad, ae, ac) { var u = X.ce("img"); u.width = d; u.height = ad; u.border = 0; u.alt = ae; u.src = ac; return u } function h(ac, ad) { var w, d = [], ae = {}; for (var u = 0; u < ac.attributes.length; u++) { w = ac.attributes[u]; d = w.name.split(ad + ":"); if (d.length == 2) { ae[d.pop()] = w.value } } return ae } _ate.api.ptpa = h; function C(u, ag, d, ac) { var ag = ag || {}, w = {}, ae = h(u, "addthis"); for (var ad in ag) { w[ad] = ag[ad] } if (ac) { for (var ad in u[d]) { w[ad] = u[d][ad] } } for (var ad in ae) { if (ag[ad] && !ac) { w[ad] = ag[ad] } else { var ah = ae[ad]; if (ah) { w[ad] = ah } else { if (ag[ad]) { w[ad] = ag[ad] } } if (w[ad] === "true") { w[ad] = true } else { if (w[ad] === "false") { w[ad] = false } } } if (w[ad] !== M && N[ad] && (typeof w[ad] == "string")) { try { w[ad] = JSON.parse(w[ad].replace(/'/g, '"')) } catch (af) { w[ad] = _ate.evl("(" + w[ad] + ");", true) } } } return w } function K(w) { var u = (w || {}).services_custom; if (!u) { return } if (!(u instanceof Array)) { u = [u] } for (var ac = 0; ac < u.length; ac++) { var d = u[ac]; if (d.name && d.icon && d.url) { d.code = d.url = d.url.replace(/ /g, ""); d.code = d.code.split("//").pop().split("?").shift().split("/").shift().toLowerCase(); e[d.code] = d } } } function p(u, d) { return e[u] || {} } function a(u, d, w, ac) { var ad = { conf: d || {}, share: w || {} }; ad.conf = C(u, d, "conf", ac); ad.share = C(u, w, "share", ac); return ad } function P(au, ag, am, ae) { _ate.igv(); if (au) { ag = ag || {}; am = am || {}; var av = ag.conf || t, ar = ag.share || O, ad = am.onmouseover, w = am.onmouseout, ax = am.onclick, aj = am.internal, ao = am.singleservice; if (ao) { if (ax === M) { ax = Z[ao] ? function (aA, ay, aB) { var az = g(aB, z); return addthis_open(aA, ao, az.url, az.title, g(ay, F), az) } : H[ao] ? function (aA, ay, aB) { var az = g(aB, z); return addthis_sendto(ao, g(ay, F), az) } : Q[ao] ? function (aA, ay, aB) { var az = g(aB, z); return _ate.share.stw(ao, az, ay, 735) } : null } } else { if (!am.noevents) { if (!am.nohover) { if (ad === M) { ad = function (az, ay, aA) { return addthis_open(az, "", null, null, g(ay, F), g(aA, z)) } } if (w === M) { w = function (ay) { return addthis_close() } } if (ax === M) { ax = function (az, ay, aA) { return addthis_sendto("more", g(ay, F), g(aA, z)) } } } else { if (ax === M) { ax = function (az, ay, aA) { return addthis_open(az, "more", null, null, g(ay, F), g(aA, z)) } } } } } au = b(au); for (var at = 0; at < au.length; at++) { var al = au[at], ap = al.parentNode, u = a(al, av, ar, !ae) || {}; c(u.conf, t); c(u.share, O); al.conf = u.conf; al.share = u.share; if (al.conf.ui_language) { _ate.alg(al.conf.ui_language) } K(al.conf); if (ap && ap.className.indexOf("toolbox") > -1 && (al.conf.product || "").indexOf("men") === 0) { al.conf.product = "tbx" + (ap.className.indexOf("32x32") > -1 ? "32" : "") + "-" + _atc.ver; _ate.track.apc(al.conf.product) } if (ao && ao !== "more") { al.conf.product = B(al) } if ((!al.conf || (!al.conf.ui_click && !al.conf.ui_window_panes)) && !_ate.bro.ipa) { _ate.maf = _ate.maf || {}; _ate.maf.key = null; if (ad) { al.onfocus = al.onmouseover = function () { _ate.maf.sib = this.nextSibling; while (_ate.maf.sib && _ate.maf.sib.nodeType == 3 && _ate.maf.sib.nextSibling) { _ate.maf.sib = _ate.maf.sib.nextSibling } if (!_ate.maf.sib || _ate.maf.sib.nodeType == 3) { var ay = this.parentNode; if (!ay) { ay = document.body.firstChild || document.body; while (ay.nodeType == 3 && ay.nextSibling) { ay = ay.nextSibling } } else { while (ay.nextSibling && ay.nodeType == 3) { ay = ay.nextSibling } } _ate.maf.sib = ay } _ate.maf.sib.onfocus = function () { _ate.maf.sib.tabIndex = "" }; return ad(this, this.conf, this.share) } } if (w) { al.onmouseout = function () { return w(this) }; al.onkeypress = al.onkeydown = function (ay) { if (!ay) { var ay = window.event } if (ay.keyCode) { _ate.maf.key = ay.keyCode } else { if (ay.which) { _ate.maf.key = ay.which } } }; al.onblur = function (ay) { if (_ate.maf.key == 9) { _ate.maf.key = null } else { _ate.maf.key = null; return w(this) } } } if (ax) { al.onclick = function () { return ax(al, al.conf, al.share) } } } else { if (ax) { if (ao) { al.onclick = function () { return ax(this, this.conf, this.share) } } else { if (!al.conf.ui_window_panes) { al.onclick = function () { if (_ate.bro.iph || _ate.bro.dro) { return addthis_sendto("more", this.conf, this.share) } else { return addthis_open(this, "", null, null, this.conf, this.share) } } } else { al.onclick = function () { return addthis_sendto("more", this.conf, this.share) } } } } } if (al.tagName.toLowerCase() == "a") { var ac = al.share.url || addthis_share.url; _ate.usu(ac); if (ao) { var ai = p(ao, al.conf), d = al.firstChild; if (ai && ai.code && ai.icon) { if (d && d.className.indexOf("at300bs") > -1) { var ak = "16"; if (n(al, 1)) { d.className = d.className.split("at15nc").join(""); ak = "32" } d.style.background = "url(" + ai.icon + ") no-repeat top left transparent"; if (!d.style.cssText) { d.style.cssText = "" } d.style.cssText = "line-height:" + ak + "px!important;width:" + ak + "px!important;height:" + ak + "px!important;background:" + d.style.background + "!important" } } if (!H[ao]) { if (am.follow) { al.href = ac; al.onclick = function () { _ate.share.track(ao, 1, al.share, al.conf) }; if (al.children && al.children.length == 1 && al.parentNode && al.parentNode.className.indexOf("toolbox") > -1) { var aq = X.ce("span"); aq.className = "addthis_follow_label"; aq.innerHTML = A.util.getServiceName(ao); al.appendChild(aq) } } else { if (ao == "twitter") { al.onclick = function (ay) { return _ate.share.pts(al.share, al.conf) }; al.noh = 1 } else { if (ao == "facebook") { al.onclick = function (ay) { return _ate.share.fb.share(al.share, al.conf) }; al.noh = 1 } else { if (ao == "google_plusone") { al.onclick = function (ay) { return false } } else { if (!al.noh) { if (al.conf.ui_open_windows || _ate.share.auw(ao)) { al.onclick = function (ay) { return _ate.share.stw(ao, al.share, al.conf) } } else { al.onclick = function (ay) { return _ate.share.siw(ao, al.share, al.conf) }; al.href = _ate.share.genurl(ao, 0, al.share, al.conf) } } } } } } m(al, ao, ac); if (!al.noh && !al.target) { al.target = "_blank" } A.links.push(al) } else { if (ao == "mailto" || (ao == "email" && (al.conf.ui_use_mailto || _ate.bro.iph || _ate.bro.ipa || _ate.bro.dro))) { al.onclick = function () { al.share.xid = _ate.util.cuid(); (new Image()).src = _ate.share.genurl("mailto", 0, al.share, al.config); _ate.gat(ao, ac, al.conf, al.share) }; al.href = _ate.share.genieu(al.share, al.config || al.conf); A.ems.push(al) } } if (!al.title || al.at_titled) { var ah = A.util.getServiceName(ao, !ai); al.title = j(am.follow ? (V[ao] ? V[ao] : "Follow on " + ah) : (U[ao] ? U[ao] : "Send to " + ah)); al.at_titled = 1 } if (!al.href) { al.href = "#" } } else { if (al.conf.product && al.parentNode.className.indexOf("toolbox") == -1) { B(al) } } } var af; switch (aj) { case "img": if (!al.hasChildNodes()) { var aw = (al.conf.ui_language || _ate.lng()).split("-").shift(), an = _ate.ivl(aw); if (!an) { aw = "en" } else { if (an !== 1) { aw = an } } af = W(_ate.iwb(aw) ? 150 : 125, 16, "Share", _atr + "static/btn/v2/lg-share-" + aw.substr(0, 2) + ".gif") } break } if (af) { al.appendChild(af) } } } } function f() { if (window.gapi && window.gapi.plusone) { gapi.plusone.go(); return } else { if (!D) { var d = _ate.ajs("//apis.google.com/js/plusone.js", 1, 1); D = 1 } } if (J < 3) { setTimeout(f, 3000 + 1000 * 2 * (J++)) } } function q(d) { var w = d ? d.share : addthis_share, u = d ? d.conf : addthis_config; window._at_plusonecallback = window._at_plusonecallback || function (ae) { var ac = {}; for (var ad in w) { ac[ad] = w[ad] } ac.url = ae.href; _ate.share.track("google_" + (ae.state == "off" ? "un" : "") + "plusone", 0, ac, u) } } function S() { if (window.twttr && !I && twttr.events) { I = 1; twttr.events.bind("click", function (ae) { if (ae.region == "tweetcount") { return } var ad = (ae.target.parentNode && ae.target.parentNode.share) ? ae.target.parentNode.share : {}, w = ad.url || ae.target.baseURI, af = ad.title || addthis_share.title, d = {}; for (var u in addthis_share) { d[u] = addthis_share[u] } for (var u in ad) { d[u] = ad[u] } d.url = w; if (af) { d.title = af } var ac = (ae.region != "follow") ? true : false; _ate.share.track(((ac) ? "tweet" : "twitter_follow_native"), ((ac) ? 0 : 1), d, addthis_config) }) } } function v(d) { if (window.twttr && window.twttr.events && T == 1) { S(); return } else { if (!T) { _ate.ajs("//platform.twitter.com/widgets.js", 1); T = 1 } } if (k < 3) { setTimeout(v, 3000 + 1000 * 2 * (k++)) } } function ab(a7, aZ, bo, a3, bi) { for (var aH = 0; aH < a7.length; aH++) { var aM = a7[aH]; if (aM == null) { continue } if (a3 !== false || !aM.ost) { var aK = a(aM, aZ, bo, !bi), aY = 0, aO = "at300", aL = aM.className || "", ae = "", az = aL.match(/addthis_button_([\w\.]+)(?:\s|$)/), aT = {}, a6 = az && az.length ? az[1] : 0; c(aK.conf, t); c(aK.share, O); if (a6) { if (a6.indexOf("amazonwishlist_native") > -1) { } else { if (a6 === "tweetmeme" && aM.className.indexOf("chiclet_style") == -1) { if (aM.ost) { continue } var bc = h(aM, "tm"), ac = 50, af = 61; ae = _ate.util.toKV(bc); if (bc.style === "compact") { ac = 95; af = 25 } aM.innerHTML = '<iframe frameborder="0" width="' + ac + '" height="' + af + '" scrolling="no" allowTransparency="true" scrollbars="no"' + (_ate.bro.ie6 ? " src=\"javascript:''\"" : "") + "></iframe>"; var aU = aM.firstChild; aU.src = "//api.tweetmeme.com/button.js?url=" + _euc(aK.share.url) + "&" + ae; aM.noh = aM.ost = 1 } else { if (a6 === "pinterest") { if (aM.ost) { continue } var bp = h(aM, "pi:pinit"), aj = _ate.util.clone(aK.share); bp.url = aj.url = bp.url || _ate.track.mgu(aj.url, { defrag: 1 }); bp.url = aj.url = _ate.share.acb("pinterest", aj, addthis_config); if (_ate.bro.ie6 || _ate.bro.ie7 || (_ate.bro.msi && document.compatMode == "BackCompat")) { bp.layout = "" } if (bp.layout == "horizontal") { bp.layout = "&layout=horizontal"; bp.width = "110px"; bp.height = "26px" } else { if (bp.layout == "vertical") { bp.layout = "&layout=vertical"; bp.width = "49px"; bp.height = "59px" } else { bp.layout = ""; bp.width = "49px"; bp.height = "26px" } } aM.innerHTML = '<iframe frameborder="0" role="presentation" scrolling="no" allowTransparency="true" scrollbars="no"' + (_ate.bro.ie6 ? " src=\"javascript:''\"" : "") + ' style="width:' + bp.width + "; height:" + bp.height + ';"></iframe>'; pinitButton = aM.firstChild; if (!aK.conf.pubid) { aK.conf.pubid = addthis_config.pubid || _ate.pub() } pinitButton.src = _atr + "static/r07/pinit.html?url=" + _euc(bp.url) + "&media=" + _euc(bp.media || "") + bp.layout + "&ats=" + _euc(_ate.util.toKV(aj)) + "&atc=" + _euc(_ate.util.toKV(addthis_config)) } else { if (a6 === "linkedin_counter") { if (aM.ost) { continue } var a1 = h(aM, "li"), bo = aK.share, bl = a1.width || 100, u = a1.height || 18, ae, an = "", aS; if (!a1.counter) { a1.counter = "horizontal" } if (!bo.passthrough) { bo.passthrough = {} } bo.passthrough.linkedin = _ate.util.toKV(a1); an = _ate.util.rtoKV(bo); if (a1.counter === "top") { u = 55; bl = 57; if (!a1.height) { a1.height = u } if (!a1.width) { a1.width = bl } } else { if (a1.counter === "right") { bl = 100; if (!a1.width) { a1.width = aA } } } if (a1.width) { bl = a1.width } if (a1.height) { u = a1.height } ae = _ate.util.toKV(a1), aM.innerHTML = '<iframe frameborder="0" role="presentation" scrolling="no" allowTransparency="true" scrollbars="no"' + (_ate.bro.ie6 ? " src=\"javascript:''\"" : "") + ' style="width:' + bl + "px; height:" + u + 'px;"></iframe>'; aS = aM.firstChild; if (!aK.conf.pubid) { aK.conf.pubid = addthis_config.pubid || _ate.pub() } aS.src = _atr + "static/r07/linkedin10.html" + ((_ate.bro.ie6 || _ate.bro.ie7) ? "?" : "#") + "href=" + _euc(aK.share.url) + "&dr=" + _euc(_ate.dr) + "&conf=" + _euc(_ate.util.toKV(aK.conf)) + "&share=" + _euc(an) + "&li=" + _euc(ae); aM.noh = aM.ost = 1 } else { if (a6 === "twitter_follow_native") { var ba = h(aM, "tf"), aD = h(aM, "tw"), aG = X.ce("a"); ba.screen_name = aD.screen_name || ba.screen_name || "addthis"; aG.href = "http://twitter.com/" + ba.screen_name; aG.className = "twitter-follow-button"; aG.innerHTML = "Follow @" + ba.screen_name; for (var a9 in ba) { if (ba.hasOwnProperty(a9)) { aG.setAttribute("data-" + a9, ba[a9]) } } for (var a9 in aD) { if (aD.hasOwnProperty(a9)) { aG.setAttribute("data-" + a9, aD[a9]) } } aM.appendChild(aG); if (!aK.conf.pubid) { aK.conf.pubid = addthis_config.pubid || _ate.pub() } v(aM) } else { if (a6 === "tweet") { if (aM.ost) { continue } var aD = h(aM, "tw"), bo = aK.share, aA = aD.width || 55, aP = aD.height || 20, ae, an = "", a0; aK.share.url_transforms = aK.share.url_transforms || {}; aK.share.url_transforms.defrag = 1; var bd = _ate.util.clone(aK.share), bh = ((_ate.bro.msi && X.compatMode == "BackCompat") || aK.conf.ui_use_tweet_iframe || (aK.share.url_transforms.shorten || {}).twitter == "bitly") ? true : false; if (typeof aD.url != "undefined") { bd.url = aD.url = aD.url } else { bd.url = aD.url = _ate.track.mgu((bd.url || (addthis_share || {}).url), bd.url_transforms, bd, "twitter") } if (!aD.counturl) { aD.counturl = (bh) ? aD.url.replace(/=/g, "%253D") : aD.url } aD.url = _ate.share.acb("twitter", bd, addthis_config); aD.count = aD.count || "horizontal"; bo.passthrough = bo.passthrough || {}; var aW = bo.passthrough.twitter || {}; aK.via = aD.via = aD.via || aW.via || "AddThis"; aK.text = aD.text = aD.text || ((aK.share.title == X.title) ? aW.text : aK.share.title) || ""; aK.related = aD.related = aD.related || aW.related || ""; an = _ate.util.rtoKV(bo, "#@!"); if (aD.count === "vertical") { aP = 62; aD.height = aD.height || aP } else { if (aD.count === "horizontal") { aA = 110; aD.width = aD.width || aA } } if (aD.width) { aA = aD.width } if (aD.height) { aP = aD.height } ae = _ate.util.toKV(aD, "#@!"); if (bh) { aM.innerHTML = '<iframe frameborder="0" role="presentation" scrolling="no" allowTransparency="true" scrollbars="no"' + (_ate.bro.ie6 ? " src=\"javascript:''\"" : "") + ' style="width:' + aA + "px; height:" + aP + 'px;"></iframe>'; a0 = aM.firstChild; if (!aK.conf.pubid) { aK.conf.pubid = addthis_config.pubid || _ate.pub() } a0.src = _atr + "static/r07/tweet10.html" + ((_ate.bro.ie6 || _ate.bro.ie7) ? "?" : "#") + "href=" + _euc(aD.url) + "&dr=" + _euc(_ate.dr) + "&conf=" + _euc(_ate.util.toKV(aK.conf)) + "&share=" + _euc(an) + "&tw=" + _euc(ae) } else { var aC = (bo.templates || {}).twitter || ""; if (!aD.text) { aD.text = bo.title == "" ? "" : bo.title + ":" } var ak = X.ce("a"); ak.href = "http://twitter.com/share"; ak.className = "twitter-share-button"; ak.innerHTML = "Tweet"; for (var a9 in aD) { if (aD.hasOwnProperty(a9)) { ak.setAttribute("data-" + a9, aD[a9]) } } aM.appendChild(ak); if (!aK.conf.pubid) { aK.conf.pubid = addthis_config.pubid || _ate.pub() } v(aM) } aM.noh = aM.ost = 1 } else { if (a6 === "google_plusone") { if (aM.ost) { continue } var a2 = h(aM, "g:plusone"), aR = X.ce("g:plusone"), bk = ""; _ate.gpl = _ate.gpl || {}, _ate.gpl.lang = _ate.gpl.lang || null; a2.lang = _ate.gpl.lang = _ate.gpl.lang || ((typeof a2.lang == "undefined") ? null : a2.lang); window.___gcfg = window.___gcfg || {}; window.___gcfg.lang = _ate.gpl.lang || a2.lang || _ate.ggl((aK.conf || {}).ui_language || window.addthis_language) || "en-US"; a2.href = a2.href || _ate.track.mgu(aK.share.url, { defrag: 1 }); a2.size = a2.size || (n(aM, true) ? "standard" : "small"); a2.callback = a2.callback || "_at_plusonecallback"; q(aK); for (var aF in a2) { if (a2.hasOwnProperty(aF)) { aR.setAttribute(aF, a2[aF]) } } aM.appendChild(aR); aM.noh = aM.ost = 1; f() } else { if (a6 === "facebook_send") { if (aM.ost || _ate.bro.ie6) { continue } var bg, a5 = h(aM, "fb:send"), aB = "", aq = a5.width || 55, aw = a5.height || 20; ae = _ate.util.toKV(a5); _ate.ufbl = 1; if (_ate.share.fb.ready()) { a5.href = a5.href || _ate.track.mgu(aK.share.url, { defrag: 1 }); for (var aF in a5) { aB += " " + aF + '="' + a5[aF] + '"' } aM.innerHTML = '<fb:send ref="' + _ate.share.gcp(aK.share, aK.conf, ".send").replace(",", "_") + '" ' + aB + "></fb:send>"; _ate.share.fb.load(aM) } else { aM.className = ""; aM.innerHTML = "<span></span>"; aM.style.width = aM.style.height = "0px" } aM.noh = aM.ost = 1 } else { if (a6 === "facebook_share") { aK.conf = aK.conf || {}; aK.conf.data_track_clickback = aK.conf.data_track_linkback = false; function at(br, bq) { if (!br) { return } br.setAttribute("style", bq); br.style.cssText = bq; return } var aE = "AT" + _ate.util.cuid(), a5 = h(aM, "fb:share"), av = X.ce("span"), bj = X.ce("div"), w = X.ce("div"), aV = X.ce("div"), aJ = X.ce("div"), bm = X.ce("div"), ap = aK.share.url = a5.href || _ate.track.mgu(aK.share.url, { defrag: 1 }), d = typeof (d) != "undefined" ? d : {}; d[aE] = ap.replace(/\#.*/, ""); at(av, "text-decoration:none;color:#000000;display:inline-block;cursor:pointer;"); at(aV, "text-decoration:none;margin-top:10px;"); at(w, "display:block;z-index:-1;background:none repeat scroll 0 0 #ECEEF5; border:1px solid #CAD4E7; filter:none; border-radius: 4px; color:#000000; font-family:Verdana,Helvetica,sans-serif; font-size:18px; line-height:16px; height:39px; text-align:center; width:58px;"); at(aJ, "display:block;margin:-1px 0 0px 10px;height:4px;width:10px;font-size:1px;line-height:4px;background:url('" + _atr + "static/t00/fb_arrow.png') no-repeat ;"); at(bm, "background-image:url('" + _atr + "static/t00/fb_btn.png');background-repeat:no-repeat; display:inline-block;font-family:Verdana,Helvetica,sans-serif; font-size:1px; height:22px; line-height:16px; white-space:nowrap; width:60px;"); aV.innerHTML = "0"; aV.id = aE; aJ.innerHTML = "&nbsp;"; aK.share.passthrough = aK.share.passthrough || {}; aK.share.passthrough.facebook_share = _ate.util.toKV({ src: "sp" }); bm.onmouseover = function () { this.style.opacity = "0.75" }; bm.onmouseout = function () { this.style.opacity = "1.0" }; bm.onclick = function () { var bq = this.parentNode.firstChild.firstChild; if (bq && isNaN(bq.innerHTML) != true) { var br = parseInt(bq.innerHTML) + 1; bq.removeChild(bq.firstChild); bq.appendChild(document.createTextNode(br)) } }; w.appendChild(aV); bj.appendChild(w); bj.appendChild(aJ); bj.appendChild(bm); av.appendChild(bj); aM.appendChild(av); aM.style.textDecoration = "none"; var aI = _ate.util.scb("fbsc", ap, function (bs) { if (bs.length > 0) { for (var bq in d) { if (d[bq] == bs[0].url) { var bt = bs[0].share_count, br = document.getElementById(bq); if (bt > 10000) { bt = parseInt(bt / 1000) + "K" } if (br.firstChild) { br.removeChild(br.firstChild) } br.appendChild(document.createTextNode(bt)) } } } }, function () { }); _ate.ajs("//api.facebook.com/restserver.php?method=links.getStats&format=json&callback=" + aI + "&urls=" + ap, 1) } else { if (a6 === "facebook_like") { _ate.share.fb.like(aM, aK) } else { if (a6.indexOf("stumbleupon_badge") > -1) { if (_ate.bro.ie6) { continue } var am = h(aM, "su:badge"), ad = am.style || "1", a4 = aK.share.url = am.href || _ate.track.mgu(aK.share.url, { defrag: 1 }), bb = am.height || "20px", ay = am.width || "75px"; if (ad == "5") { bb = am.height || "60px" } else { if (ad == "6") { bb = am.height || "31px" } } aM.innerHTML = '<iframe src="http' + (_ate.ssl ? "s" : "") + '://www.stumbleupon.com/badge/embed/{{STYLE}}/?url={{URL}}" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:{{WIDTH}}; height:{{HEIGHT}};" allowtransparency="true"></iframe>'.replace("{{STYLE}}", ad).replace("{{URL}}", _euc(a4)).replace("{{HEIGHT}}", bb).replace("{{WIDTH}}", ay); aM.noh = aM.ost = 1 } else { if (a6.indexOf("hyves_respect") > -1) { var bf = h(aM, "hy:respect"), ah = aK.share.url = bf.url || _ate.track.mgu(aK.share.url, { defrag: 1 }), aX = bf.width || "140px", aN = '<iframe src="http' + (_ate.ssl ? "s" : "") + '://www.hyves.nl/respect/button?url={{URL}}" style="border: medium none; overflow:hidden; width:{{WIDTH}}; height:22px;" scrolling="no" frameborder="0" allowTransparency="true" ></iframe>'.replace("{{URL}}", _ate.share.acb("hyves", aK.share, addthis_config)).replace("{{WIDTH}}", aX); aM.innerHTML = aN; aM.noh = aM.ost = 1 } else { if (a6.indexOf("preferred") > -1) { if (aM._iss) { continue } az = aL.match(/addthis_button_preferred_([0-9]+)(?:\s|$)/); var ao = ((az && az.length) ? Math.min(16, Math.max(1, parseInt(az[1]))) : 1) - 1; if (!aM.conf) { aM.conf = {} } aM.conf.product = "tbx-" + _atc.ver; B(aM); if (window._atw) { if (!aM.parentNode.services) { aM.parentNode.services = {} } var al = _atw.conf.services_exclude || "", au = _atw.loc, be = aM.parentNode.services, bn = _ate.util.unqconcat(addthis_options.replace(",more", "").split(","), au.split(",")); do { a6 = bn[ao++] } while (ao < bn.length && (al.indexOf(a6) > -1 || be[a6])); if (be[a6]) { for (var aF in _atw.list) { if (!be[aF] && al.indexOf(aF) == -1) { a6 = aF; break } } } aM._ips = 1; if (aM.className.indexOf(a6) == -1) { aM.className += " addthis_button_" + a6; aM._iss = 1 } aM.parentNode.services[a6] = 1 } else { _ate.alg(aK.conf.ui_language || window.addthis_language); _ate.plo.unshift(["deco", ab, [aM], aZ, bo, true]); if (_ate.gssh) { _ate.pld = _ate.ajs("static/r07/menu89.js") } else { if (!_ate.pld) { _ate.pld = 1; var ag = function () { _ate.pld = _ate.ajs("static/r07/menu89.js") }; if (_ate.upm) { _ate._rec.push(function (bq) { if (bq.ssh) { ag() } }); setTimeout(ag, 500) } else { ag() } } } continue } } else { if (a6.indexOf("follow") > -1) { a6 = a6.split("_follow").shift(); aT.follow = true; aK.share.url = s(a6, aK.share.userid) } } } } } } } } } } } } } } if (_ate.bro.msi && !document.getElementById("at300bhoveriefilter")) { var ar = document.getElementsByTagName("head")[0], aQ = document.createElement("style"), ai = document.createTextNode(".at300b:hover,.at300bs:hover {filter:alpha(opacity=80);}"); aQ.id = "at300bhoveriefilter"; aQ.type = "text/css"; if (aQ.styleSheet) { aQ.styleSheet.cssText = ai.nodeValue } else { aQ.appendChild(ai) } ar.appendChild(aQ) } if (!aa[a6] && (R || n(aM))) { E.load() } if (!aM.childNodes.length) { var a8 = X.ce("span"); aM.appendChild(a8); a8.className = aO + "bs at15nc at15t_" + a6 } else { if (aM.childNodes.length == 1) { var ax = aM.childNodes[0]; if (ax.nodeType == 3) { var a8 = X.ce("span"); aM.insertBefore(a8, ax); a8.className = aO + "bs at15nc at15t_" + a6 } } else { if (aM.firstChild && aM.firstChild.nodeType == 3 && aM.firstChild.textContent == "\n") { } else { aY = 1 } } } if (a6 === "compact" || a6 === "expanded") { if (!aY && aL.indexOf(aO) == -1) { aM.className += " " + aO + "m" } if (aK.conf.product && aK.conf.product.indexOf("men-") == -1) { aK.conf.product += ",men-" + _atc.ver } if (!aM.href) { aM.href = "#" } if (aM.parentNode && aM.parentNode.services) { aK.conf.parentServices = aM.parentNode.services } if (a6 === "expanded") { aT.nohover = true; aT.singleservice = "more" } } else { if ((aM.parentNode.className || "").indexOf("toolbox") > -1) { if (!aM.parentNode.services) { aM.parentNode.services = {} } aM.parentNode.services[a6] = 1 } if (!aY && aL.indexOf(aO) == -1) { aM.className += " " + aO + "b" } aT.singleservice = a6 } if (aM._ips) { aT.issh = true } P([aM], aK, aT, bi); aM.ost = 1; B(aM) } } } } function i(ai, d, af, ah) { if (ai == "facebook_unlike" || ai == "google_unplusone") { return } var w = af.data_ga_tracker, ad = af.data_ga_property; if (ad) { if (typeof (window._gat) == "object" && _gat._getTracker) { w = _gat._getTracker(ad) } else { if (typeof (window._gaq) == "object" && _gaq._getAsyncTracker) { w = _gaq._getAsyncTracker(ad) } else { if (typeof (window._gaq) == "array") { _gaq.push([function () { _ate.gat(ai, d, af, ah) } ]) } } } } if (w && typeof (w) == "string") { w = window[w] } if (w && typeof (w) == "object") { var ag = d || (ah || {}).url || location.href, u = ai, ac = "share"; if (u.indexOf("_") > -1) { u = u.split("_"); ac = u.pop(); if (ac.length <= 2) { ac = "share" } u = u.shift() } if (ag.toLowerCase().replace("https", "http").indexOf("http%3a%2f%2f") == 0) { ag = _duc(ag) } try { if (af.data_ga_social && w._trackSocial && ai != "google_plusone") { w._trackSocial(u, ac, ah.url) } else { w._trackEvent("addthis", ai, ag) } } catch (ae) { try { w._initData(); if (af.data_ga_social && w._trackSocial && ai != "google_plusone") { w._trackSocial(u, ac, ah.url) } else { w._trackEvent("addthis", ai, ag) } } catch (ae) { } } } } _ate.gat = i; A.update = function (af, ad, w) { if (af == "share") { if (ad == "url") { _ate.usu(0, 1) } if (!window.addthis_share) { window.addthis_share = {} } window.addthis_share[ad] = w; z[ad] = w; for (var d in A.links) { var ae = A.links[d], ac = new RegExp("&" + ad + "=(.*)&"), u = "&" + ad + "=" + _euc(w) + "&"; if (ae.share) { ae.share[ad] = w } if (!ae.noh) { ae.href = ae.href.replace(ac, u); if (ae.href.indexOf(ad) == -1) { ae.href += u } } } for (var d in A.ems) { var ae = A.ems[d]; ae.href = _ate.share.genieu(addthis_share) } } else { if (af == "config") { if (!window.addthis_config) { window.addthis_config = {} } window.addthis_config[ad] = w; F[ad] = w } } }; A._render = P; var l = [new _ate.resource.Resource("countercss", _atr + "static/r07/counter71.css", function () { return true }), new _ate.resource.Resource("counter", _atr + "js/250/plugin.sharecounter.js", function () { return window.addthis.counter.ost })]; if (!L.JSON || !L.JSON.stringify) { l.unshift(new _ate.resource.Resource("json2", _atr + "static/r07/json2.js", function () { return L.JSON && L.JSON.stringify })) } A.counter = function (ac, u, w) { if (ac) { ac = A._select(ac); if (ac.length) { if (!A.counter.selects) { A.counter.selects = [] } A.counter.selects = A.counter.selects.concat({ counter: ac, config: u, share: w }); for (var d in l) { if ((l[d] || {}).load) { l[d].load() } } } } }; A.count = function (ac, u, w) { if (ac) { ac = A._select(ac); if (ac.length) { if (!A.count.selects) { A.count.selects = [] } A.count.selects = A.count.selects.concat({ counter: ac, config: u, share: w }); for (var d in l) { if ((l[d] || {}).load) { l[d].load() } } } } }; A.data.getShareCount = function (w, u) { if (!A.counter.reqs) { A.counter.reqs = [] } A.counter.reqs.push({ share: u, callback: w }); for (var d in l) { if ((l[d] || {}).load) { l[d].load() } } }; if (document.compatMode == "BackCompat" && _ate.bro.msi && false) { var o = [new _ate.resource.Resource("barcss", _atr + "bannerQuirks.css", function () { return true }), new _ate.resource.Resource("barjs", _atr + "static/r07/banner01.js", function () { return true })] } else { var o = [new _ate.resource.Resource("barcss", _atr + "static/r07/banner01.css", function () { return true }), new _ate.resource.Resource("barjs", _atr + "static/r07/banner01.js", function () { return true })] } A.bar = function (ag, w, ae, d) { if (ag) { ag = A._select(ag); if (ag.length) { if (!A.bar.selects) { A.bar.selects = [] } A.bar.selects = A.bar.selects.concat(ag); for (var ac = 0; ac < ag.length; ac++) { var ad = ag[ac], af = "bar" + (ad.className.indexOf("vertical") > -1 ? "vt" : "hz") + "-" + _atc.ver; _ate.track.apc(af) } for (var u in o) { if ((o[u] || {}).load) { o[u].load() } } } } }; var G = new _ate.resource.Resource("overlayjs", _atr + "static/r07/overlay01.js", function () { return true }); A.overlay = function (ac, u, w, d) { if (ac) { ac = A._select(ac); if (ac.length) { if (!A.overlay.selects) { A.overlay.selects = [] } A.overlay.selects = A.overlay.selects.concat(ac); _ate.track.apc("ovr-" + _atc.ver); if ((G || {}).load) { G.load() } } } }; A.button = function (w, d, u) { d = d || {}; if (!d.product) { d.product = "men-" + _atc.ver } P(w, { conf: d, share: u }, { internal: "img" }) }; A.toolbox = function (af, u, ag, ah) { var ai = b(af); for (var ac = 0; ac < ai.length; ac++) { var w = ai[ac], ad = a(w, u, ag, ah), d = X.ce("div"), ae; w.services = {}; if (!ad.conf.product) { ad.conf.product = "tbx" + (w.className.indexOf("32x32") > -1 ? "32" : "") + "-" + _atc.ver } if (w) { ae = w.getElementsByTagName("a"); if (ae) { ab(ae, ad.conf, ad.share, !ah, !ah) } w.appendChild(d) } d.className = "atclear" } }; function Y(d) { if (!d || d.length < 5 || d.length > 30) { throw new Error("Service code must be between 5 and 30 characters.") } else { if (d.search(/^[a-zA-Z0-9_]+$/) == -1) { throw new Error("Service code must consist entirely of letters, numbers and underscores.") } } return true } A.logShare = function (w, d, ae, u) { var af = u || addthis_config, ad = ae || addthis_share; af.product = "hdl-" + _atc.ver; ad.imp_url = 0; var w = w || (ae && ae.url) || addthis_share.url, ac = _ate.track.dcu(w); if (ac.rsc && !d) { d = ac.rsc } if (Y(d)) { ad.url = w; _ate.share.track(d, 0, ad, af) } }; A.addClickTag = function (w, d, ac, u) { var w = w || ac && ac.url || addthis_share.url; if (Y(d)) { w = _ate.track.cur(_ate.track.cof(w), d) } return w }; A.ready = function () { var d = A, u = ".addthis_"; if (d.ost) { return } d.ost = 1; A.toolbox(u + "toolbox", null, null, true); A.button(u + "button"); A.counter(u + "counter"); A.count(u + "count"); A.bar(u + "bar"); A.overlay(u + "shareable"); ab(x, null, null, false); _ate.ed.fire("addthis.ready", A); if (_ate.onr) { _ate.onr(A) } for (var w = 0, ad = d.plo, ac; w < ad.length; w++) { ac = ad[w]; (ac.ns ? d[ac.ns] : d)[ac.call].apply(this, ac.args) } _ate.share.fb.sub(); S(); q() }; A.util.getAttributes = a; window.addthis = A; window.addthis.ready() } })); if (!window.addthis) { window.addthis = {} } addthis.user = (function () { var G = _ate, w = addthis, m = 1000, q = {}, k = 0, e = 0, j = 0, i = {}, o; addthis.HIGH = 3; addthis.MED = 2; addthis.LOW = 1; addthis.ASC = 1; addthis.DSC = addthis.DESC = 0; function C(a, u) { return G.reduce(["getID", "getGeolocation", "getServiceShareHistory"], a, u) } function r(a, u) { return function (I) { setTimeout(function () { I(G[a] || u) }, 0) } } function y(a) { if (k) { return } if (!a || !a.uid) { return } if (o !== null) { clearTimeout(o) } o = null; k = 1; C(function (J, u, I) { q[u] = q[u].queuer.flush(r.apply(w, J[I]), w); return J }, [["uid", ""], ["geo", ""], ["_ssh", []]]) } function g() { if (!_ate.pld) { _ate.pld = (new _ate.resource.Resource("menujs", _atr + "static/r07/menu89.js", function () { return true })).load() } } function d(a) { if (e && (a.uid || a.ssh !== undefined)) { g(); e = 0 } } function D() { var a = { uid: "x", geo: {}, ssh: "", ups: "" }; j = 1; y(a); d(a) } o = setTimeout(D, m); G._rec.push(y); function f(I) { var u = {}; for (var a = 0; a < I.length; a++) { u[I[a]] = I[a] } return u } function F(I, J) { if (typeof (J) == "array") { J = f(J) } I = I.split(","); for (var u = 0; u < I.length; u++) { var a = I[u].replace(/ /g, ""); if (J[a]) { return 1 } } return 0 } function v(K, L, J) { if (typeof (L) == "array") { return 0 } K = K.split(","); for (var I = 0; I < K.length; I++) { var a = K[I].replace(/ /g, ""); for (var u = 0; u < J.length; J++) { if (L[J[u]] == a) { return 1 } } } return 0 } function h(a) { return G.util.geo.isin(a, G.geo) } function n(a) { return F(a, i.interests) } function p(a) { if (!_ate.uud) { _ate.ed.fire("addthis-internal.api", window.addthis || {}, { call: "rdy" }) } _ate.uud = 1; if (window._atw) { _atw.gps(function () { if (c()) { a(i); return } i.interests = []; for (var I in _ate.bti) { i.interests.push(_ate.bti[I]) } var L = [], u = {}; if (G._uss) { for (var K = 0; K < G._uss.length; K++) { if (!u[G._uss[K]]) { L.push({ name: G._uss[K], score: addthis.HIGH }) } } } if (G._ups) { for (var K = 0; K < G._ups.length; K++) { if (!u[G._ups[K]]) { L.push({ name: G._ups[K], score: addthis.HIGH }) } } } if (G._ssc) { for (var J in G._ssc) { if (!u[J]) { L.push({ name: J, score: G._ssc[J] }) } } } i.services = L; i.activity = {}; i.activity.social = _ate.bts; i.activity.view = _ate.vts; i.source = x(); if (_ate.geo && typeof (_ate.geo) == "object" && _ate.geo[0] && _ate.geo[1]) { var M = ""; for (var K in _ate.geo) { if (typeof (_ate.geo[K]) == "string") { M += _ate.geo[K] } } _ate.geo = _ate.util.geo.parse(M) } for (var I in _ate.geo) { if (!isNaN(parseInt(_ate.geo[I]))) { _ate.geo[I] = parseInt(_ate.geo[I]) } } s.location = i.location = _ate.geo || {}; i.location.contains = h; if (a) { a(i) } _ate.ed.fire("addthis.user.data", window.addthis || {}, {}) }) } else { _ate.ed.addEventListener("addthis.menu.ready", function () { p(a) }); _ate.alg(); if (G.gssh || j) { g() } else { if (!G.pld && !e) { _ate._rec.push(d) } } e = 1 } } function l(a) { p(a) } q.getData = l; q.getPreferredServices = function (a) { if (window._atw) { _atw.gps(a) } else { _ate.ed.addEventListener("addthis.menu.ready", function () { _atw.gps(a) }); _ate.alg(); if (G.gssh || j) { g() } else { if (!G.pld && !e) { _ate._rec.push(d) } } e = 1 } }; function c() { _ate.ed.fire("addthis-internal.api", window.addthis || {}, { call: "ioo" }); return G.uid == "0000000000000000" } function B(a) { _ate.ed.fire("addthis-internal.api", window.addthis || {}, { call: "iuf" }); return (G._ssh && G._ssh.indexOf(a) > -1) || (G._ssc && G._ssc[a]) } function A(a) { if (!a) { a = [] } a._sortasc = function (u) { a.sort(function (J, I) { return a._isort(J, I, addthis.ASC, u) }) }; a._sortdsc = function (u) { a.sort(function (J, I) { return a._isort(J, I, addthis.DSC, u) }) }; a._isort = function (J, u, L, M) { var K = J[M], I = u[M]; if (typeof (K) == "string" && !isNaN(parseInt(K))) { K = parseInt(K, 10); I = parseInt(I, 10); if (L) { return K - K } return K - I } if (K > I) { return L ? 1 : -1 } else { if (K == I) { return 0 } } return L ? -1 : 1 }; a.map = function (I) { if (!I) { I = "name" } var J = {}; for (var u = 0; u < a.length; u++) { J[a[u][I]] = a[u] } return J }; a.keys = function (J, I, K) { if (!I) { I = "name" } if (!K) { K = "score" } var L = []; if (J == addthis.ASC) { a._sortasc(K) } else { a._sortdsc(K) } for (var u = 0; u < a.length; u++) { L.push(typeof (a[u]) == "object" ? a[u].name : a[u]) } return L }; a.top = function (I, J) { if (!J) { J = "score" } a._sortdsc(J); var K = []; for (var u = 0; u < Math.min(I || 1, a.length); u++) { K.push(a[u].name) } return K }; a.filter = function (K) { var J = []; for (var I = 0; I < a.length; I++) { for (var u in K) { if (typeof (K[u]) != "function") { if (a[I][u] == K[u]) { J.push(a[I]) } } } } return A(J) }; return a } function t() { _ate.ed.fire("addthis-internal.api", window.addthis || {}, { call: "gti" }); return A(i.interests) } function b() { _ate.ed.fire("addthis-internal.api", window.addthis || {}, { call: "gts" }); return A(i.services) } function x() { _ate.ed.fire("addthis-internal.api", window.addthis || {}, { call: "gtt" }); return G.track.ts.get() } function H() { _ate.ed.fire("addthis-internal.api", window.addthis || {}, { call: "gtl" }); return i.location } function z(J) { _ate.ed.fire("addthis-internal.api", window.addthis || {}, { call: "isl" }); var I = x(); if (I.type == "social") { if (typeof (J) == "string") { J = J.split(","); var a = {}; for (var u = 0; u < J.length; u++) { a[J[u]] = 1 } if (!a[I.service]) { return false } } return true } return false } function E(u) { _ate.ed.fire("addthis-internal.api", window.addthis || {}, { call: "ish" }); var J = x(); if (J.type == "search") { if (typeof (u) == "string") { u = u.split(","); var I = {}; for (var a = 0; a < u.length; a++) { I[u[a]] = 1 } if (J.terms && J.terms.length) { for (var a = 0; a < J.terms.length; a++) { if (!I[J.terms[a]]) { return false } } } } return true } return false } var s = { ready: p, isReturning: function (a) { }, isOptedOut: c, isUserOf: B, hasInterest: n, isLocatedIn: h, interests: t, services: b, location: H }; addthis.session = { source: x, isSocial: z, isSearch: E }; _ate.extend(q, s); return C(function (u, a) { u[a] = (new w._Queuer(a)).call; return u }, q) })();
