/* (c) 2008, 2009 Add This, LLC */
if (!window._ate) {
    var _atd = "www.addthis.com/",
        _atr = "//s7.addthis.com/",
        _euc = encodeURIComponent,
        _duc = decodeURIComponent,
        _atu = "undefined",
        _atc = {
        dr: 0,
        ver: 250,
        loc: 0,
        enote: "",
        cwait: 500,
        tamp: -1,
        samp: 0.01,
        camp: 1,
        vamp: 1,
        addr: -1,
        addt: 1,
        xfl: !!window.addthis_disable_flash,
        abf: !!window.addthis_do_ab
    };
    (function () {
        try {
            var I = window.location;
            if (I.protocol.indexOf("file") === 0) {
                _atr = "http:" + _atr
            }
            if (I.hostname.indexOf("localhost") != -1) {
                _atc.loc = 1
            }
        } catch(N) {}
        var L = navigator.userAgent.toLowerCase(),
            O = document,
            u = window,
            t = u.addEventListener,
            h = u.attachEvent,
            J = O.location,
            Q = {
            win: /windows/.test(L),
            xp: /windows nt 5.1/.test(L) || /windows nt 5.2/.test(L),
            chr: /chrome/.test(L),
            iph: /iphone/.test(L),
            saf: /safari/.test(L),
            web: /webkit/.test(L),
            opr: /opera/.test(L),
            msi: (/msie/.test(L)) && !(/opera/.test(L)),
            ffx: /firefox/.test(L),
            ff2: /firefox\/2/.test(L),
            ie6: /msie 6.0/.test(L),
            ie7: /msie 7.0/.test(L),
            mod: -1
        },
            n = {
            isBound: false,
            isReady: false,
            readyList: window.addthis_onload || [],
            onReady: function () {
                if (!n.isReady) {
                    n.isReady = true;
                    var a = n.readyList;
                    for (var b = 0; b < a.length; b++) {
                        a[b].call(window)
                    }
                    n.readyList = []
                }
            },
            addLoad: function (a) {
                var b = u.onload;
                if (typeof u.onload != "function") {
                    u.onload = a
                } else {
                    u.onload = function () {
                        if (b) {
                            b()
                        }
                        a()
                    }
                }
            },
            bindReady: function () {
                if (A.isBound) {
                    return
                }
                A.isBound = true;
                if (O.addEventListener && !Q.opr) {
                    O.addEventListener("DOMContentLoaded", A.onReady, false)
                }
                var a = window.addthis_product;
                if (a && a.indexOf("f") > -1) {
                    A.onReady();
                    return
                }
                if (Q.msi && window == top) {
                    (function () {
                        if (A.isReady) {
                            return
                        }
                        try {
                            O.documentElement.doScroll("left")
                        } catch(c) {
                            setTimeout(arguments.callee, 0);
                            return
                        }
                        A.onReady()
                    })()
                }
                if (Q.opr) {
                    O.addEventListener("DOMContentLoaded", function () {
                        if (A.isReady) {
                            return
                        }
                        for (var c = 0; c < O.styleSheets.length; c++) {
                            if (O.styleSheets[c].disabled) {
                                setTimeout(arguments.callee, 0);
                                return
                            }
                        }
                        A.onReady()
                    },
                    false)
                }
                if (Q.saf) {
                    var b;
                    (function () {
                        if (A.isReady) {
                            return
                        }
                        if (O.readyState != "loaded" && O.readyState != "complete") {
                            setTimeout(arguments.callee, 0);
                            return
                        }
                        if (b === undefined) {
                            var c = O.gn("link");
                            for (var d = 0; d < c.length; d++) {
                                if (c[d].getAttribute("rel") == "stylesheet") {
                                    b++
                                }
                            }
                            var e = O.gn("style");
                            b += e.length
                        }
                        if (O.styleSheets.length != b) {
                            setTimeout(arguments.callee, 0);
                            return
                        }
                        A.onReady()
                    })()
                }
                A.addLoad(A.onReady)
            },
            append: function (b, a) {
                A.bindReady();
                if (A.isReady) {
                    b.call(window, [])
                } else {
                    A.readyList.push(function () {
                        return b.call(window, [])
                    })
                }
            }
        },
            A = n,
            v = function (q, l, p, c) {
            if (!q) {
                return p
            }
            if (q instanceof Array) {
                for (var e = 0, a = q.length, b = q[0]; e < a; b = q[++e]) {
                    p = l.call(c || q, p, b, e, q)
                }
            } else {
                for (var d in q) {
                    p = l.call(c || q, p, q[d], d, q)
                }
            }
            return p
        },
            D = Array.prototype.slice,
            F = function (b) {
            return D.apply(b, D.call(arguments, 1))
        },
            E = function (a) {
            return a.replace(/(^\s+|\s+$)/g, "")
        },
            M = function (a, b) {
            return v(F(arguments, 1), function (d, c) {
                return v(c, function (l, i, e) {
                    l[e] = i;
                    return l
                },
                d)
            },
            a)
        },
            j = function (b, a) {
            return v(b, function (e, d, c) {
                c = E(c);
                if (c) {
                    e.push(_euc(c) + "=" + _euc(E(d)))
                }
                return e
            },
            []).join(a || "&")
        },
            g = function (b, a) {
            return v((b || "").split(a || "&"), function (i, l) {
                var e = l.split("="),
                    d = E(_duc(e[0])),
                    c = E(_duc(e.slice(1).join("=")));
                if (d) {
                    i[d] = c
                }
                return i
            },
            {})
        },
            f = {
            vst: [],
            rev: "$Rev: 73025 $",
            _euc: _euc,
            _duc: _duc,
            reduce: v,
            slice: F,
            strip: E,
            extend: M,
            toKV: j,
            fromKV: g,
            bro: Q,
            clck: 1,
            show: 1,
            dl: J,
            camp: _atc.camp - Math.random(),
            samp: _atc.samp - Math.random(),
            vamp: _atc.vamp - Math.random(),
            tamp: _atc.tamp - Math.random(),
            ab: "-",
            scnt: 1,
            seq: 1,
            inst: 1,
            wait: 500,
            tmo: null,
            cvt: [],
            svt: [],
            sttm: new Date().getTime(),
            max: 4294967295,
            pix: "tev",
            sid: 0,
            sub: !!window.at_sub,
            dbm: 0,
            uid: null,
            oot: null,
            swf: "//bin.clearspring.com/at/v/1/button1.6.swf",
            evu: "//o.addthis.com/at/",
            spt: "static/r07/widget13.png",
            ifpp: null,
            trim: function (a, b) {
                try {
                    a = a.replace(/^[\s\u3000]+|[\s\u3000]+$/g, "");
                    if (b) {
                        a = _euc(a)
                    }
                } catch(b) {}
                return a
            },
            gat: function () {},
            com: function (a) {
                if (window.parent && window.postMessage) {
                    window.parent.postMessage(a, "*")
                } else {
                    f.ifm(a)
                }
            },
            ifwn: function () {
                var b = f;
                try {
                    b.rec(b.sifr.contentWindow.name)
                } catch(c) {}
            },
            ifm: function (b) {
                if (addthis_wpl) {
                    var c = (addthis_wpl.split("#"))[0];
                    window.parent.location.href = c + "#at" + b
                }
                return false
            },
            hash: window.location.hash,
            ifp: function () {
                var c = f,
                    b = window.location.hash,
                    i = 0;
                if (b && b.indexOf("#at") > -1) {
                    b = b.substr(3).split(";");
                    for (var e in b) {
                        var d = b[e].length > 3 ? b[e].substr(0, 3) : null;
                        switch (d) {
                        case "ssh":
                            i = 1;
                            c.ssh(b[e].substr(4));
                            break;
                        case "uid":
                            i = 1;
                            c.asetup(b[e].substr(4));
                            break
                        }
                    }
                    if (i) {
                        if (!c.hash.length || c.hash == "") {
                            c.hash = "#"
                        }
                        window.location.hash = c.hash
                    }
                }
                if (c.gssh && c.guid) {
                    clearInterval(c.ifpp)
                }
            },
            pmh: function (a) {
                if (a.origin.slice(-12) == ".addthis.com") {
                    f.rec(a.data)
                }
            },
            _rec: [],
            rec: function (d) {
                if (!d) {
                    return
                }
                var l = g(d),
                    b = f,
                    c = b.sifr,
                    e = b._rec;
                if (l.ssh) {
                    b.ssh(l.ssh)
                }
                if (l.uid) {
                    b.asetup(l.uid)
                }
                if (l.dbm) {
                    b.dbm = l.dbm
                }
                if (c && c.parentNode) {
                    c.parentNode.removeChild(c);
                    b.sifr = null
                }
                for (var p = 0; p < e.length; p++) {
                    e[p](l)
                }
            },
            ssh: function (b) {
                f.gssh = 1;
                var a = window.addthis_ssh = _duc(b);
                f._ssh = a.split(",")
            },
            mun: function (c) {
                var a = 291;
                if (c) {
                    for (var b = 0; b < c.length; b++) {
                        a = (a * (c.charCodeAt(b) + b) + 3) & 1048575
                    }
                }
                return (a & 16777215).toString(32)
            },
            jsl: function () {
                return ((((u.jQuery || {}).fn || {}).jquery && 1) | ((u.Prototype || {}).Version && 2) | ((u.YUI || {}).version || (u.YAHOO || {}).VERSION && 4) | ((u.Ext || {}).version && 8) | ((u.dojo || {}).version && 16))
            },
            ibt: function () {
                if (f.bti) {
                    return f.bti
                }
                var a = (window.addthis_product || "men").substr(0, 3),
                    b = a == "bkm" || a == "fct" || a == "fxe";
                if (b) {
                    f.bti = b
                }
                return b
            },
            off: function () {
                return Math.floor((new Date().getTime() - f.sttm) / 100).toString(16)
            },
            ran: function () {
                return Math.floor(Math.random() * 4294967295).toString(36)
            },
            srd: function () {
                if (f.dr) {
                    return "&pre=" + _euc(f.dr)
                } else {
                    return ""
                }
            },
            cst: function (a) {
                return "CXNID=2000001.521545608054043907" + (a || 2) + "NXC"
            },
            imgz: [],
            hrr: function (c) {
                if (c && c.urls && c.urls instanceof Array) {
                    for (var b = 0; b < c.urls.length; b++) {
                        var a = new Image();
                        f.imgz.push(a);
                        a.src = c.urls[b]
                    }
                }
            },
            img: function (p, r, b) {
                if (!window.at_sub && !_atc.xtr) {
                    var e = f,
                        q = e.dr,
                        d = ((e.rev || "").split(" "));
                    if (q) {
                        q = q.split("?").shift().split("http://").pop().split("https://").pop();
                        if (q.length > 25) {
                            q = q.substr(0, 25)
                        }
                    }
                    var l = new Image();
                    e.imgz.push(l);
                    l.src = _atr + "live/t00/" + p + ".gif?" + (e.uid !== null ? "uid=" + e.uid + "&" : "") + e.ran() + "&" + e.cst(r) + (e.pub() ? "&pub=" + e.pub() : "") + (q ? "&dr=" + _euc(q) : "") + (d.length > 1 ? "&rev=" + d[1] : "") + (b ? "&" + b : "")
                }
            },
            cuid: function () {
                return ((f.sttm / 1000) & f.max).toString(16) + ("00000000" + (Math.floor(Math.random() * (f.max + 1))).toString(16)).slice(-8)
            },
            ssid: function () {
                if (f.sid === 0) {
                    f.sid = f.cuid()
                }
                return f.sid
            },
            sev: function (b, a) {
                f.pix = "sev-" + (typeof(b) !== "number" ? _euc(b) : b);
                f.svt.push(b + ";" + f.off());
                if (a === 1) {
                    f.xmi(true)
                } else {
                    f.sxm(true)
                }
            },
            cev: function (b, a) {
                f.pix = "cev-" + _euc(b);
                f.cvt.push(_euc(b) + "=" + _euc(a) + ";" + f.off());
                f.sxm(true)
            },
            sxm: function (a) {
                if (f.tmo !== null) {
                    clearTimeout(f.tmo)
                }
                if (a) {
                    f.tmo = f.sto("_ate.xmi(false)", f.wait)
                }
            },
            sto: function (b, a) {
                return setTimeout(b, a)
            },
            sta: function () {
                var b = f;
                return "AT-" + (b.pub() ? b.pub() : "unknown") + "/-/" + b.ab + "/" + b.ssid() + "/" + (b.seq++) + (b.uid !== null ? "/" + b.uid : "")
            },
            xred: function () {
                var s = window,
                    r = f,
                    x = 0,
                    e = O.referer || O.referrer || "",
                    b = J ? J.href : null,
                q = ".com/",
                p = 0;
                if (r.camp >= 0 && b && J && J.protocol && (e.indexOf(".com") > -1) && (J.protocol.indexOf("https") == -1)) {
                    if (e && e.match(/ws\/results\/(Web|Images|Video|News)/)) {
                        p = 1
                    } else {
                        if (e.indexOf(q + "search") > -1 || e.indexOf(q + "url") > -1) {
                            var y = e.split("?").pop().split("&");
                            for (var l = 0; l < y.length; l++) {
                                if (y[l].indexOf("q=") === 0 || y[l].indexOf("p=") === 0 || y[l].indexOf("query") === 0 || y[l].indexOf("qry") === 0 || y[l].indexOf("text") === 0) {
                                    p = 1;
                                    break
                                }
                            }
                        }
                    }
                    if (!_atc.xtr && !_atc.xck && p && r.mun(r.pub()) !== "mu2r") {
                        var d = O.ce("script");
                        d.src = "//cf.addthis.com/red/p.json?callback=_ate.hrr" + (r.pub() ? "&pub=" + r.pub() : "") + (r.uid && r.uid !== "anonymous" ? "&uid=" + _euc(r.uid) : "") + "&url=" + _euc(b) + "&ref=" + _euc((O.referer || O.referrer));
                        O.gn("head")[0].appendChild(d)
                    }
                }
            },
            xld: function () {
                var b = f,
                    e = {
                    "6jb4": 1,
                    sirb: 1,
                    q8fc: 1,
                    mv86: 1,
                    qmo0: 1
                },
                    c = b.jsl(),
                    d = b.mun(b.pub());
                if (!b.xld_p) {
                    b.xld_p = 1;
                    if (e[d]) {
                        _atc.samp /= 2;
                        b.samp -= _atc.samp
                    }
                    if (b.samp >= 0 && !b.sub) {
                        b.sev("20");
                        b.cev("plo", Math.round(1 / _atc.samp));
                        if (b.dr) {
                            b.cev("pre", b.dr)
                        }
                    }
                    b.xred();
                    b.img(_atc.ver + "lo", "2", c ? "jsl=" + c : "")
                }
            },
            xmi: function (r) {
                var b = f,
                    p = b.dl ? b.dl.hostname : "";
                if (!b.uid) {
                    b.dck("X" + b.cuid())
                } else {
                    b.coo()
                }
                if (b.cvt.length + b.svt.length > 0) {
                    b.sxm(false);
                    if (b.seq === 1) {
                        b.cev("pin", b.inst)
                    }
                    if (_atc.xtr) {
                        return
                    }
                    if (p.indexOf(".gov") > -1 || p.indexOf(".mil") > -1) {
                        _atc.xck = 1
                    }
                    var s = b.pix + "-" + b.ran() + ".png?ev=" + f.sta() + "&se=" + b.svt.join(",") + "&ce=" + b.cvt.join(",") + (_atc.xck ? "&xck=1" : ""),
                        e = b.evu + s;
                    b.cvt = [];
                    b.svt = [];
                    if (r) {
                        var q = document,
                            l = q.ce("iframe");
                        l.id = "_atf";
                        l.src = e;
                        f.opp(l.style);
                        q.body.appendChild(l);
                        l = q.getElementById("_atf")
                    } else {
                        var c = new Image();
                        b.imgz.push(c);
                        c.src = e
                    }
                }
            },
            loc: function () {
                return _atc.loc
            },
            opp: function (a) {
                a.width = a.height = "1px";
                a.position = "absolute";
                a.zIndex = 100000
            },
            pub: function () {
                return _euc(window.addthis_config && addthis_config.username ? addthis_config.username : (window.addthis_pub || ""))
            },
            plo: [],
            lad: function (a) {
                f.plo.push(a)
            },
            lng: function () {
                return window.addthis_language || (window.addthis_config || {}).ui_language || (f.bro.msi ? navigator.userLanguage : navigator.language)
            },
            ivl: function (a) {
                var b = {
                    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",
                    es: 1,
                    esl: "es",
                    spa: "spa",
                    et: 1,
                    est: "et",
                    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",
                    he: 1,
                    heb: "he",
                    hi: 1,
                    hin: "hin",
                    hr: 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",
                    lb: 1,
                    ltz: "lb",
                    lt: 1,
                    lit: "lt",
                    lv: 1,
                    lav: "lv",
                    mk: 1,
                    mac: "mk",
                    mak: "mk",
                    ms: 1,
                    msa: "ms",
                    may: "ms",
                    nb: 1,
                    nl: 1,
                    nla: "nl",
                    dut: "nl",
                    no: 1,
                    nno: "no",
                    oc: 1,
                    oci: "oc",
                    pl: 1,
                    pol: "pl",
                    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,
                    ser: "sr",
                    sv: 1,
                    sve: "sv",
                    swe: "sv",
                    ta: 1,
                    tam: "ta",
                    te: 1,
                    teg: "te",
                    th: 1,
                    tha: "th",
                    tl: 1,
                    tgl: "tl",
                    tr: 1,
                    tur: "tr",
                    uk: 1,
                    ukr: "uk",
                    ur: 1,
                    urd: "ur",
                    vi: 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 (b[a]) {
                    return b[a]
                }
                a = a.split("-").shift();
                if (b[a]) {
                    if (b[a] === 1) {
                        return a
                    } else {
                        return b[a]
                    }
                }
                return 0
            },
            alg: function (e, c) {
                var i = document,
                    a = (e || f.lng() || "en").toLowerCase(),
                    b = f.ivl(a);
                if (a.indexOf("en") !== 0 && (!f.pll || c)) {
                    if (b) {
                        if (b !== 1) {
                            a = b
                        }
                        f.pll = f.ajs("static/r07/lang00/" + a + ".js")
                    }
                }
            },
            jlr: {},
            ajs: function (a) {
                if (!f.jlr[a]) {
                    var b = O.ce("script");
                    b.src = _atr + a;
                    O.gn("head")[0].appendChild(b);
                    f.jlr[a] = 1;
                    return b
                }
                return 1
            },
            jlo: function () {
                try {
                    var p = document,
                        b = f,
                        l = b.lng();
                    b.alg(l);
                    if (!b.pld) {
                        if (b.bro.ie6) {
                            var c = new Image();
                            b.imgz.push(c);
                            c.src = _atr + b.spt;
                            if (window.addthis_feed) {
                                c = new Image();
                                b.imgz.push(c);
                                c.src = _atr + "static/r05/feed00.gif"
                            }
                        }
                        if (b.pll && !window.addthis_translations) {
                            b.sto(function () {
                                b.pld = b.ajs("static/r07/menu43.js")
                            },
                            10)
                        } else {
                            b.pld = b.ajs("static/r07/menu43.js")
                        }
                    }
                } catch(i) {}
            },
            igv: function (a, b) {
                if (!u.addthis_share) {
                    u.addthis_share = {}
                }
                if (!addthis_share.url) {
                    u.addthis_share.url = u.addthis_url || a
                }
                if (!addthis_share.title) {
                    u.addthis_share.title = u.addthis_title || b
                }
                if (!u.addthis_config) {
                    u.addthis_config = {
                        username: u.addthis_pub
                    }
                } else {
                    if (addthis_config.data_use_flash === false) {
                        _atc.xfl = 1
                    }
                    if (addthis_config.data_use_cookies === false) {
                        _atc.xck = 1
                    }
                }
            },
            lod: function (S) {
                try {
                    var U = window,
                        ak = f,
                        x = ak.bro.msi,
                        d = 0,
                        Z = O.referer || O.referrer || "",
                        X = J ? J.href : null,
                    ag = J.hostname,
                    aj = X ? X.indexOf("sms_ss") : -1,
                    ah = ((S === 1 || U.addthis_load_flash) && !_atc.abf),
                    ac = ((U.addthis_language || (U.addthis_config ? U.addthis_config.ui_language : null) || (ak.bro.msi ? navigator.userLanguage : navigator.language)).split("-")).shift(),
                    s = (J.href.indexOf(_atr) == -1) && !ak.bro.ie6 && !ak.bro.ie7,
                    ad = O.gn("link"),
                    q = _atr + "static/r07/sh10.html",
                    y = "_ate.ifwn()",
                    r,
                    T;
                    if (!U.postMessage) {
                        var W = O.gn("img");
                        for (var ae = 0; ae < W.length; ae++) {
                            if (W[ae].src.split("//").pop().indexOf(ag) == 0) {
                                r = W[ae].src;
                                break
                            }
                        }
                    }
                    if (s && (!_atc.xic || (U.postMessage || ak.bro.msi))) {
                        if (!x) {
                            T = O.ce("iframe")
                        } else {
                            var V = O.ce("div");
                            V.style.visibility = "hidden";
                            ak.opp(V.style);
                            O.body.insertBefore(V, O.body.firstChild);
                            V.innerHTML = '<iframe id="_atssh" width="1" height="1" name="_atssh" ' + (!U.postMessage ? 'onload="' + y + '" ' : "") + ">";
                            T = O.getElementById("_atssh")
                        }
                    }
                    for (var ae = 0; ae < ad.length; ae++) {
                        var ab = ad[ae];
                        if (ab.rel && ab.rel == "canonical" && ab.href) {
                            X = ab.href
                        }
                    }
                    ak.igv(X, O.title || "");
                    ak.gov();
                    ak.dr = Z;
                    var p = (ak.swf && !_atc.xfl && !(ak.loc()) && !_atc.abf && (ah || ak.uid === null || (ak.uid !== "anonymous" && ak.oot && ((new Date()).getTime() - ak.oot > 60480000))));
                    q += "#swfp=" + (p && x ? 1 : 0);
                    if (!x && p) {
                        var c = function (e, l, a) {
                            var i = O.ce("param");
                            i.name = l;
                            i.value = a;
                            e.appendChild(i)
                        },
                            V = O.ce("div"),
                            Y = "atff",
                            b = Y + "c",
                            aa = O.ce("object");
                        V.id = b;
                        O.body.insertBefore(V, O.body.firstChild);
                        setTimeout(function () {
                            var a = O.getElementById(b);
                            aa.id = Y;
                            aa.data = ak.swf;
                            aa.width = aa.height = "1px";
                            aa.type = "application/x-shockwave-flash";
                            c(aa, "wmode", "transparent");
                            c(aa, "allowScriptAccess", "always");
                            a.appendChild(aa)
                        },
                        10)
                    }
                    if (s && T) {
                        T.id = "_atssh";
                        ak.opp(T.style);
                        T.frameborder = T.style.border = 0;
                        T.style.top = T.style.left = 0;
                        if (U.postMessage) {
                            T.src = q;
                            if (x) {
                                U.attachEvent("onmessage", ak.pmh)
                            } else {
                                U.addEventListener("message", ak.pmh, false)
                            }
                            T = O.body.appendChild(T)
                        } else {
                            if (r && !_atc.xic && ak.bro.msi && window == top) {
                                T.onload = y;
                                T.src = r;
                                T = O.body.appendChild(T);
                                T.src = q + "&wpl=" + _euc(r)
                            }
                        }
                        ak.sifr = T
                    }
                    if (!ah) {
                        if (p) {
                            ak.uoo();
                            if (ak.bro.ie6 || ak.bro.ie7) {
                                ak.sto("if (_ate.xld) _ate.xld()", 5000)
                            } else {
                                ak.sto("_ate.xld()", 5000)
                            }
                        } else {
                            ak.guid = 1;
                            ak.xld()
                        }
                        if (aj > -1 && X.indexOf(_atd + "book") == -1) {
                            var af = X.substr(aj);
                            af = af.split("&").shift().split("#").shift().split("=").pop();
                            if (ak.vamp >= 0 && !ak.sub && af.length) {
                                ak.cev("plv", Math.round(1 / _atc.vamp));
                                ak.cev("rsc", af)
                            }
                        }
                    }
                    if (window.addthis_language || (window.addthis_config || {}).ui_language) {
                        ak.alg()
                    }
                    if (ak.plo.length > 0) {
                        ak.jlo()
                    }
                } catch(ai) {}
            },
            kck: function (a) {
                var b = document;
                if (b.cookie) {
                    b.cookie = a + "= ; expires=Tue, 31 Mar 2009 05:47:11 UTC; path=/"
                }
            },
            rck: function (e) {
                var p = document;
                if (p.cookie) {
                    var b = p.cookie.split(";");
                    for (var l = 0; l < b.length; l++) {
                        var q = b[l],
                            a = q.indexOf(e + "=");
                        if (a >= 0) {
                            return q.substring(a + (e.length + 1))
                        }
                    }
                }
                return
            },
            uoo: function () {
                f.sck("_csoot", (new Date().getTime()))
            },
            coo: function (a) {
                if (f.uid == "anonymous" && !f.oot) {
                    _atc.xck = 1;
                    f.uoo()
                }
            },
            dck: function (a) {
                f.uid = a;
                f.sck("_csuid", a);
                f.coo()
            },
            gov: function () {
                var b = f.dl ? f.dl.hostname : "";
                if (b.indexOf(".gov") > -1 || b.indexOf(".mil") > -1) {
                    _atc.xck = 1;
                    _atc.xfl = 1
                }
                var c = f.pub(),
                    a = ["usarmymedia", "govdelivery"];
                for (K in a) {
                    if (c == a[K]) {
                        _atc.xck = 1;
                        _atc.xfl = 1;
                        break
                    }
                }
            },
            sck: function (b, a, c) {
                f.gov();
                if (!_atc.xck) {
                    O.cookie = b + "=" + a + (!c ? "; expires=Wed, 04 Oct 2028 03:19:53 GMT" : "") + "; path=/"
                }
            },
            asetup: function (b) {
                var c = f;
                try {
                    if (!c.guid) {
                        c.guid = 1;
                        if (b !== null && b !== _atu) {
                            c.dck(b)
                        }
                        c.xld()
                    }
                } catch(d) {}
                return b
            },
            ao: function (b, i, e, c, d, a) {
                f.lad(["open", b, i, e, c, d, a]);
                f.jlo();
                return false
            },
            ac: function () {},
            as: function (b, c, a) {
                f.lad(["send", b, c, a]);
                f.jlo()
            }
        },
            R = f;
        u._ate = R;
        u._adr = A;
        O.ce = O.createElement;
        O.gn = O.getElementsByTagName;
        A.bindReady();
        if (!_atc.ost) {
            if (!u.addthis_conf) {
                u.addthis_conf = {}
            }
            for (var K in addthis_conf) {
                _atc[K] = addthis_conf[K]
            }
            _atc.ost = 1
        }
        A.append(R.lod);
        if (O.cookie) {
            var m = O.cookie.split(";");
            for (var K = 0; K < m.length; K++) {
                var P = m[K],
                    o = P.indexOf("_csuid="),
                    k = P.indexOf("_csoot=");
                if (o >= 0) {
                    f.uid = P.substring(o + 7)
                } else {
                    if (k >= 0) {
                        f.oot = P.substring(k + 7)
                    }
                }
            }
        }
        try {
            if (!_atc.xcs) {
                var I = O.ce("link");
                I.rel = "stylesheet";
                I.type = "text/css";
                I.href = _atr + "static/r07/widget27.css";
                I.media = "all";
                O.gn("head")[0].appendChild(I)
            }
        } catch(N) {}
        var H = O.gn("script"),
            z = H[H.length - 1],
            B = z.src.indexOf("#") > -1 ? z.src.replace(/^[^\#]+\#?/, "") : z.src.replace(/^[^\?]+\??/, ""),
        C = g(B);
        if (C.pub) {
            u.addthis_pub = _duc(C.pub)
        } else {
            if (C.username) {
                u.addthis_pub = _duc(C.username)
            }
        }
        if (u.addthis_pub && u.addthis_config) {
            u.addthis_config.username = u.addthis_pub
        }
        if (C.domready) {
            _atc.dr = 1
        }
        try {
            if (_atc.ver === 120) {
                var G = "atb" + u._ate.cuid();
                O.write('<span id="' + G + '"></span>');
                u._ate.igv();
                u._ate.lad(["span", G, addthis_share.url || "[url]", addthis_share.title || "[title]"])
            }
            if (u.addthis_clickout) {
                f.lad(["cout"])
            }
        } catch(N) {}
    })();

    function addthis_open(b, f, e, c, d, a) {
        if (typeof d == "string") {
            d = null
        }
        return _ate.ao(b, f, e, c, d, a)
    }
    function addthis_close() {
        _ate.ac()
    }
    function addthis_sendto(b, c, a) {
        _ate.as(b, c, a);
        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 a = {
            aim: "AIM",
            domaintoolswhois: "Whois Lookup",
            kirtsy: "kIRTSY",
            linkagogo: "Link-a-Gogo",
            meneame: "Men&eacute;ame",
            misterwong: "Mister Wong",
            mailto: "Email App",
            myaol: "myAOL",
            myspace: "MySpace",
            readitlater: "Read It Later",
            shetoldme: "She Told Me",
            stumbleupon: "StumbleUpon",
            typepad: "TypePad",
            wordpress: "WordPress",
            yahoobkm: "Y! Bookmarks",
            yahoomail: "Y! Mail"
        },
            c = function (f, g) {
            var h;
            if (window._atw && _atw.list) {
                h = _atw.list[f]
            } else {
                if (a[f]) {
                    h = a[f]
                } else {
                    h = (g ? f : (f.substr(0, 1).toUpperCase() + f.substr(1)))
                }
            }
            return h.replace(/&nbsp;/g, " ")
        };

        function d(g, f) {
            return function () {
                addthis.plo.push({
                    call: g,
                    args: arguments,
                    ns: f
                })
            }
        }
        function b(h) {
            var g = this,
                f = this.queue = [];
            this.name = h;
            this.call = function () {
                f.push(arguments)
            };
            this.call.queuer = this;
            this.flush = function (l, k) {
                for (var j = 0; j < f.length; j++) {
                    l.apply(k || g, f[j])
                }
                return l
            }
        }
        return {
            ost: 0,
            cache: {},
            plo: [],
            links: [],
            ems: [],
            _Queuer: b,
            _queueFor: d,
            button: d("button"),
            toolbox: d("toolbox"),
            update: d("update"),
            util: {
                getServiceName: c
            }
        }
    })()
}
_adr.append((function () {
    if (!window.addthis.ost) {
        var d = document,
            u = undefined,
            w = window,
            unaccent = function (s) {
            if (s.indexOf("&") > -1) {
                s = s.replace(/&([aeiou]).+;/g, "$1")
            }
            return s
        },
            customServices = {},
            globalConfig = w.addthis_config,
            globalShare = w.addthis_share,
            upConfig = {},
            upShare = {},
            body = d.gn("body").item(0),
            mrg = function (o, n) {
            if (n && o !== n) {
                for (var k in n) {
                    if (o[k] === u) {
                        o[k] = n[k]
                    }
                }
            }
        },
            addga = function (o, ss, au) {
            var oldclick = o.onclick ||
            function () {};
            if (o.conf.data_ga_tracker || addthis_config.data_ga_tracker || o.conf.data_ga_property || addthis_config.data_ga_property) {
                o.onclick = function () {
                    _ate.gat(ss, au, o.conf, o.share);
                    oldclick()
                }
            }
        },
            rpl = function (o, n) {
            var r = {};
            for (var k in o) {
                if (n[k]) {
                    r[k] = n[k]
                } else {
                    r[k] = o[k]
                }
            }
            return r
        },
            addthis = window.addthis,
            genieu = function (share) {
            return "mailto:?subject=" + _euc(share.title ? share.title : "%20") + "&body=" + _euc(share.title ? share.title : "") + (share.title ? "%0D%0A" : "") + _euc(share.url) + "%0D%0A%0D%0AShared via AddThis.com"
        },
            gebcn = function (oParent, tag, className, allowSuffix, optimizable) {
            tag = tag.toUpperCase();
            var els = (oParent == body && addthis.cache[tag] ? addthis.cache[tag] : (oParent || body).getElementsByTagName(tag)),
                rv = [],
                i, o;
            if (oParent == body) {
                addthis.cache[tag] = els
            }
            if (optimizable) {
                for (i = 0; i < els.length; i++) {
                    o = els[i];
                    if (o.className.indexOf(className) > -1) {
                        rv.push(o)
                    }
                }
            } else {
                className = className.replace(/\-/g, "\\-");
                var rx = new RegExp("(^|\\s)" + className + (allowSuffix ? "\\w*" : "") + "(\\s|$)");
                for (i = 0; i < els.length; i++) {
                    o = els[i];
                    if (rx.test(o.className)) {
                        rv.push(o)
                    }
                }
            }
            return (rv)
        },
            b_title = {
            email: "Email",
            mailto: "Email",
            print: "Print",
            favorites: "Save to Favorites",
            twitter: "Tweet This",
            digg: "Digg This"
        },
            json = {
            email_vars: 1,
            templates: 1,
            services_custom: 1
        },
            nosend = {
            more: 1,
            email: 1,
            mailto: 1
        },
            nowindow = {
            email: 1,
            mailto: 1,
            print: 1,
            more: 1,
            favorites: 1
        },
            a_config = ["username", "services_custom", "services_custom_name", "services_custom_url", "services_custom_title", "services_exclude", "services_compact", "services_expanded", "ui_click", "ui_hide_embed", "ui_delay", "ui_hover_direction", "ui_language", "ui_offset_top", "ui_offset_left", "ui_header_color", "ui_header_background", "ui_use_embeddable_services_beta", "ui_icons", "ui_cobrand", "data_use_flash", "data_use_cookies", "data_track_linkback"],
            a_share = ["url", "title", "templates", "email_template", "email_vars", "html", "swfurl", "width", "height", "screenshot", "author", "description", "content"],
            getElementsByClassName = d.getElementsByClassname || gebcn,
            _svcurl = function (config, share) {
            var sv = config.services instanceof Array ? config.services[0] : config.services || "";
            return "http://" + _atd + "bookmark.php?v=" + _atc.ver + "&pub=" + _euc(_ate.pub()) + "&s=" + sv + (share.url ? "&url=" + _euc(share.url) : "") + (share.title ? "&title=" + _euc(share.title) : "") + "&tt=0"
        },
            _select = function (what) {
            if (typeof what == "string") {
                var c = what.substr(0, 1);
                if (c == "#") {
                    what = d.getElementById(what.substr(1))
                } else {
                    if (c == ".") {
                        what = getElementsByClassName(body, "*", what.substr(1))
                    } else {}
                }
            } if (! (what instanceof Array)) {
                what = [what]
            }
            return what
        },
            _parseAttributes = function (el, attrs, overrides, childWins) {
            var rv = {};
            overrides = overrides || {};
            for (var i = 0; i < attrs.length; i++) {
                if (overrides[attrs[i]] && !childWins) {
                    rv[attrs[i]] = overrides[attrs[i]]
                } else {
                    if (el) {
                        var p = "addthis:" + attrs[i],
                            v = el.getAttribute ? el.getAttribute(p) || el[p] : el[p];
                        if (v) {
                            rv[attrs[i]] = v
                        } else {
                            if (overrides[attrs[i]]) {
                                rv[attrs[i]] = overrides[attrs[i]]
                            }
                        }
                        if (rv[attrs[i]] === "true") {
                            rv[attrs[i]] = true
                        } else {
                            if (rv[attrs[i]] === "false") {
                                rv[attrs[i]] = false
                            }
                        }
                    }
                }
                if (rv[attrs[i]] !== undefined && json[attrs[i]] && (typeof rv[attrs[i]] == "string")) {
                    eval("var e = " + rv[attrs[i]]);
                    rv[attrs[i]] = e
                }
            }
            return rv
        },
            _processCustomServices = function (conf) {
            var acs = (conf || {}).services_custom;
            if (!acs) {
                return
            }
            if (! (acs instanceof Array)) {
                acs = [acs]
            }
            for (var i = 0; i < acs.length; i++) {
                var service = acs[i];
                if (service.name && service.icon && service.url) {
                    service.code = service.url = service.url.replace(/ /g, "");
                    if (service.code.indexOf("http") === 0) {
                        service.code = service.code.substr((service.code.indexOf("https") === 0 ? 8 : 7))
                    }
                    service.code = service.code.split("?").shift().split("/").shift().toLowerCase();
                    customServices[service.code] = service
                }
            }
        },
            _getCustomService = function (ss, conf) {
            return customServices[ss] || {}
        },
            _getATtributes = function (el, config, share, childWins) {
            var rv = {
                conf: config || {},
                share: share || {}
            };
            rv.conf = _parseAttributes(el, a_config, config, childWins);
            rv.share = _parseAttributes(el, a_share, share, childWins);
            return rv
        },
            _render = function (what, conf, attrs) {
            if (what) {
                conf = conf || {};
                attrs = attrs || {};
                var config = conf.conf || globalConfig,
                    share = conf.share || globalShare;
                var onmouseover = attrs.onmouseover,
                    onmouseout = attrs.onmouseout,
                    onclick = attrs.onclick,
                    internal = attrs.internal,
                    ss = attrs.singleservice;
                if (ss) {
                    config.product = "tbx-" + _atc.ver;
                    if (onclick === u) {
                        onclick = nosend[ss] ?
                        function (el, config, share) {
                            var s = rpl(share, upShare);
                            return addthis_open(el, ss, s.url, s.title, rpl(config, upConfig), s)
                        } : nowindow[ss] ?
                        function (el, config, share) {
                            var s = rpl(share, upShare);
                            return addthis_sendto(ss, rpl(config, upConfig), s)
                        } : null
                    }
                } else {
                    if (!attrs.noevents) {
                        if (!attrs.nohover) {
                            if (onmouseover === u) {
                                onmouseover = function (el, config, share) {
                                    return addthis_open(el, "", null, null, config, share)
                                }
                            }
                            if (onmouseout === u) {
                                onmouseout = function (el) {
                                    return addthis_close()
                                }
                            }
                            if (onclick === u) {
                                onclick = function (el, config, share) {
                                    return addthis_sendto("more", config, share)
                                }
                            }
                        } else {
                            if (onclick === u) {
                                onclick = function (el, config, share) {
                                    return addthis_open(el, "more", null, null, config, share)
                                }
                            }
                        }
                    }
                }
                what = _select(what);
                for (var i = 0; i < what.length; i++) {
                    var o = what[i],
                        oattr = _getATtributes(o, config, share, true) || {};
                    mrg(oattr.conf, globalConfig);
                    mrg(oattr.share, globalShare);
                    o.conf = oattr.conf;
                    o.share = oattr.share;
                    if (o.conf.ui_language) {
                        _ate.alg(o.conf.ui_language)
                    }
                    _processCustomServices(o.conf);
                    if (!o.conf || !o.conf.ui_click) {
                        if (onmouseover) {
                            o.onmouseover = function () {
                                return onmouseover(this, this.conf, this.share)
                            }
                        }
                        if (onmouseout) {
                            o.onmouseout = function () {
                                return onmouseout(this)
                            }
                        }
                        if (onclick) {
                            o.onclick = function () {
                                return onclick(this, this.conf, this.share)
                            }
                        }
                    } else {
                        if (onclick) {
                            o.onclick = function () {
                                return addthis_open(this, "", null, null, this.conf, this.share)
                            }
                        }
                    }
                    if (o.tagName.toLowerCase() == "a") {
                        if (ss) {
                            var customService = _getCustomService(ss, o.conf);
                            o.conf.product = "tbx-" + _atc.ver;
                            if (customService && customService.code && customService.icon) {
                                if (o.firstChild && o.firstChild.className.indexOf("at300bs") > -1) {
                                    o.firstChild.style.background = "url(" + customService.icon + ") no-repeat top left"
                                }
                            }
                            if (!nowindow[ss]) {
                                var t = _ate.trim,
                                    template = o.share.templates && o.share.templates[ss] ? o.share.templates[ss] : "",
                                url = o.share.url || addthis_share.url,
                                title = o.share.title || addthis_share.title,
                                swfurl = o.share.swfurl || addthis_share.swfurl,
                                width = o.share.width || addthis_share.width,
                                height = o.share.height || addthis_share.height,
                                description = o.share.description || addthis_share.description,
                                screenshot = o.share.screenshot || addthis_share.screenshot;
                                o.href = "//" + _atd + "bookmark.php?pub=" + t(addthis_config.username || o.conf.username || _ate.pub(), 1) + "&v=" + _atc.ver + "&source=tbx-" + _atc.ver + "&tt=0&s=" + ss + "&url=" + _euc(url || "") + "&title=" + t(title || "", 1) + "&content=" + t(o.share.content || addthis_share.content || "", 1) + (template ? "&template=" + _euc(template) : "") + (o.conf.data_track_linkback ? "&sms_ss=1" : "") + "&lng=" + (o.conf.ui_language || _ate.lng() || "xy").split("-").shift() + (description ? "&description=" + t(description, 1) : "") + (swfurl ? "&swfurl=" + _euc(swfurl) : "") + (attrs.issh ? "&ips=1" : "") + (width ? "&width=" + _euc(width) : "") + (height ? "&height=" + _euc(height) : "") + (screenshot ? "&screenshot=" + _euc(screenshot) : "") + (customService && customService.url ? "&acn=" + _euc(customService.name) + "&acc=" + _euc(customService.code) + "&acu=" + _euc(customService.url) : "") + (_ate.uid ? "&uid=" + _euc(_ate.uid) : "");
                                addga(o, ss, url);
                                o.target = "_blank";
                                addthis.links.push(o)
                            } else {
                                if (ss == "mailto" || (ss == "email" && (o.conf.ui_use_mailto || _ate.bro.iph))) {
                                    o.onclick = function () {};
                                    o.href = genieu(o.share);
                                    addga(o, ss, url);
                                    addthis.ems.push(o)
                                }
                            }
                            if (!o.title) {
                                o.title = unaccent(b_title[ss] ? b_title[ss] : "Send to " + addthis.util.getServiceName(ss, !customService))
                            }
                        }
                    }
                    if (internal) {
                        var app = internal;
                        if (!o.hasChildNodes()) {
                            if (internal == "img") {
                                var img = d.ce("img");
                                img.width = 125;
                                img.height = 16;
                                img.border = 0;
                                img.alt = "Share";
                                img.src = "//s7.addthis.com/static/btn/v2/lg-share-en.gif";
                                app = img
                            }
                            o.appendChild(app)
                        }
                    }
                }
            }
        },
            buttons = gebcn(body, "A", "addthis_button_", true, true),
            _renderToolbox = function (collection, config, share, reprocess) {
            for (var i = 0; i < collection.length; i++) {
                var b = collection[i];
                if (b == null) {
                    continue
                }
                if (reprocess !== false || !b.ost) {
                    var config = config || globalConfig,
                        share = share || globalShare,
                        attr = _getATtributes(b, config, share, true),
                        hc = 0,
                        a = "at300",
                        c = b.className || "",
                        s = c.match(/addthis_button_([\w\.]+)(?:\s|$)/),
                        options = u,
                        sv = s && s.length ? s[1] : 0;
                    if (sv) {
                        if (sv.indexOf("preferred") > -1) {
                            s = c.match(/addthis_button_preferred_([0-9]+)(?:\s|$)/);
                            var svidx = ((s && s.length) ? Math.min(12, Math.max(1, parseInt(s[1]))) : 1) - 1;
                            if (window._atw) {
                                var excl = _atw.conf.services_exclude,
                                    locopts = _atw.loc,
                                    opts = addthis_options.replace(",more", "").split(",");
                                if (svidx < opts.length) {
                                    sv = opts[svidx];
                                    locopts = locopts.replace(sv, "").replace(",,", "").replace(/,$|^,/, "")
                                } else {
                                    if (typeof locopts != "array") {
                                        locopts = locopts.split(",")
                                    }
                                    do {
                                        if (svidx < locopts.length) {
                                            sv = locopts[svidx]
                                        } else {
                                            break
                                        }
                                    } while (excl.indexOf(svidx++) == -1)
                                }
                                b._ips = 1;
                                if (b.className.indexOf(sv) == -1) {
                                    b.className += " addthis_button_" + sv
                                }
                            } else {
                                if (config.ui_language || window.addthis_language) {
                                    _ate.alg(config.ui_language)
                                }
                                _ate.plo.push(["deco", _renderToolbox, [b], config, share, true]);
                                if (_ate.gssh) {
                                    _ate.pld = _ate.ajs("static/r07/menu43.js")
                                } else {
                                    if (!_ate.pld) {
                                        _ate.pld = 1;
                                        _ate.sto("_ate.pld = _ate.ajs('static/r07/menu43.js');", 100)
                                    }
                                }
                                continue
                            }
                        }
                        if (!b.childNodes.length) {
                            var sp = d.ce("span");
                            b.appendChild(sp);
                            sp.className = a + "bs at15t_" + sv
                        } else {
                            if (b.childNodes.length == 1) {
                                var cn = b.childNodes[0];
                                if (cn.nodeType == 3) {
                                    var sp = d.ce("span"),
                                        tv = cn.nodeValue;
                                    b.insertBefore(sp, cn);
                                    sp.className = a + "bs at15t_" + sv
                                }
                            } else {
                                hc = 1
                            }
                        }
                        if (sv === "compact") {
                            if (!hc && c.indexOf(a) == -1) {
                                b.className += " " + a + "m"
                            }
                        } else {
                            if (sv === "expanded") {
                                if (!hc && c.indexOf(a) == -1) {
                                    b.className += " " + a + "m"
                                }
                                options = {
                                    nohover: true
                                }
                            } else {
                                if (!hc && c.indexOf(a) == -1) {
                                    b.className += " " + a + "b"
                                }
                                options = {
                                    singleservice: sv
                                }
                            }
                        }
                        if (b._ips) {
                            if (!options) {
                                options = {}
                            }
                            options.issh = true
                        }
                        _render([b], attr, options);
                        b.ost = 1
                    }
                }
            }
        },
            gat = function (s, au, conf, share) {
            var pageTracker = conf.data_ga_tracker,
                propertyId = conf.data_ga_property;
            if (propertyId && typeof(window._gat) == "object") {
                pageTracker = _gat._getTracker(propertyId)
            }
            if (pageTracker && typeof(pageTracker) == "string") {
                pageTracker = window[pageTracker]
            }
            if (pageTracker && typeof(pageTracker) == "object") {
                var gaUrl = au || (share || {}).url || location.href;
                if (gaUrl.toLowerCase().replace("https", "http").indexOf("http%3a%2f%2f") == 0) {
                    gaUrl = _duc(gaUrl)
                }
                try {
                    pageTracker._trackEvent("addthis", s, gaUrl)
                } catch(e) {
                    try {
                        pageTracker._initData();
                        pageTracker._trackEvent("addthis", s, gaUrl)
                    } catch(e) {}
                }
            }
        };
        _ate.gat = gat;
        addthis.update = function (which, what, value) {
            if (which == "share") {
                if (!window.addthis_share) {
                    window.addthis_share = {}
                }
                window.addthis_share[what] = value;
                upShare[what] = value;
                for (var i in addthis.links) {
                    var o = addthis.links[i],
                        rx = new RegExp("&" + what + "=(.*)&"),
                        ns = "&" + what + "=" + _euc(value) + "&";
                    o.href = o.href.replace(rx, ns);
                    if (o.href.indexOf(what) == -1) {
                        o.href += ns
                    }
                }
                for (var i in addthis.ems) {
                    var o = addthis.ems[i];
                    o.href = genieu(addthis_share)
                }
            } else {
                if (which == "config") {
                    if (!window.addthis_config) {
                        window.addthis_config = {}
                    }
                    window.addthis_config[what] = value;
                    upConfig[what] = value
                }
            }
        };
        addthis.button = function (what, config, share) {
            _render(what, {
                conf: config,
                share: share
            },
            {
                internal: "img"
            })
        };
        addthis.toolbox = function (what, config, share) {
            var toolboxes = _select(what);
            for (var i = 0; i < toolboxes.length; i++) {
                var tb = toolboxes[i],
                    attr = _getATtributes(tb, config, share),
                    sp = d.ce("div"),
                    c = tb.getElementsByTagName("a");
                if (c) {
                    _renderToolbox(c, attr.conf, attr.share)
                }
                tb.appendChild(sp);
                sp.className = "atclear"
            }
        };
        addthis.ready = function () {
            var at = addthis,
                a = ".addthis_";
            if (at.ost) {
                return
            }
            at.ost = 1;
            addthis.toolbox(a + "toolbox");
            addthis.button(a + "button");
            _renderToolbox(buttons, null, null, false);
            for (var i = 0, plo = at.plo, q; i < plo.length; i++) {
                q = plo[i];
                (q.ns ? at[q.ns] : at)[q.call].apply(this, q.args)
            }
        };
        window.addthis = addthis;
        window.addthis.ready()
    }
}));
_ate.extend(addthis, {
    user: (function () {
        var f = _ate,
            c = addthis,
            g = {},
            d = 0,
            j;

        function i(a, k) {
            return f.reduce(["getID", "getServiceShareHistory"], a, k)
        }
        function h(a, k) {
            return function (l) {
                setTimeout(function () {
                    l(f[a] || k)
                },
                0)
            }
        }
        function b() {
            if (d) {
                return
            }
            if (j !== null) {
                clearTimeout(j)
            }
            j = null;
            d = 1;
            i(function (l, a, k) {
                g[a] = g[a].queuer.flush(h.apply(c, l[k]), c);
                return l
            },
            [
                ["uid", ""],
                ["_ssh", []]
            ])
        }
        f._rec.push(b);
        j = setTimeout(b, 5000);
        g.getPreferredServices = function (a) {
            if (window._atw) {
                a(addthis_options.split(","))
            } else {
                f.plo.push(["pref", a]);
                _ate.alg();
                if (f.gssh) {
                    f.pld = f.ajs("static/r07/menu43.js")
                } else {
                    if (!f.pld) {
                        f.pld = 1;
                        f.sto("_ate.pld = _ate.ajs('static/r07/menu43.js');", 100)
                    }
                }
            }
        };
        return i(function (k, a) {
            k[a] = (new c._Queuer(a)).call;
            return k
        },
        g)
    })()
});