(function (a) {
    a.fn.backtotop = function (c) {
        var b = a.extend({ tophide: 200, speed: 2E3, delay: 0, easing: "easeOut", offset: 200 }, c || {}); return this.each(function () {
            function c() { var l = parseInt(a(window).height()); g = parseInt(a(document).scrollTop()); var f = parseInt(a(e).height()), l = g + l - f - b.offset, f = g > b.tophide ? 1 : 0; (new Date).getTime() - d >= b.delay - 20 && a(e).stop().animate({ top: l, opacity: f }, b.speed, b.easing) } parseInt(a(this).offset().top); parseInt(a(this).css("top")); var d = 0, e = this, g = parseInt(a(document).scrollTop());
            g <= b.tophide && a(this).css({ opacity: 0 }); a(this).show(); c(); a(this).click(function (b) { b.preventDefault(); a(document).scrollTop(0) }); a(window).scroll(function () { setTimeout(c, b.delay); d = (new Date).getTime() }); a(window).resize(function () { setTimeout(c, b.delay); d = (new Date).getTime() })
        })
    }; a.fn.newsdisplay = function (c) {
        var b = a.extend({ showClass: "shown", hideClass: "hidden", moreText: "More", lessText: "Less", showhide: ".title", moreless: ".moreless", moreChildren: ".content-more" }, c || {}); return this.each(function () {
            function c() {
                a(this).is(":hidden") ?
a(d).removeClass(b.showClass) : a(d).addClass(b.showClass)
            } var d = this; a(this).hasClass(b.hideClass) && (a(this).removeClass(b.hideClass), a(this).find(".contentbody").hide()); a(this).find(b.showhide).toggle(function (e) { e.preventDefault(); a(d).find(".contentbody").toggle("blind", {}, 1E3, c); a(d).find(b.moreless).html() == b.lessText && a(d).find(b.moreless).click() }, function (b) { b.preventDefault(); a(d).find(".contentbody").toggle("blind", {}, 1E3, c) }); a(this).find(b.moreless).toggle(function (c) {
                c.preventDefault();
                a(this).html(b.lessText); a(d).find(b.moreChildren).show()
            }, function (c) { c.preventDefault(); a(this).html(b.moreText); a(d).find(b.moreChildren).hide() })
        })
    }; a.fn.carousel = function (c) {
        var b = a.extend({ animtimeout: 1E3, pausetimeout: 6E3, slider: "#overridethis", controls: "#overridethis", height: 567, nextbtn: ".next", prevbtn: ".prev" }, c || {}); return this.each(function () {
            function c() { f && (g = (g + 1) % e, d(g)) } function d(d) {
                clearTimeout(k); k = setTimeout(c, b.pausetimeout + b.animtimeout); a(b.slider).stop().animate({ top: -d * b.height },
b.animtimeout); a(b.controls).removeClass("active"); a(b.controls).eq(d).addClass("active")
            } var e = a(b.controls).length, g = 0, k = setTimeout(c, b.pausetimeout), f = true; a(b.controls).click(function (c) { c.preventDefault(); g = a(b.controls).index(this); d(g) }); a(this).find(b.nextbtn).click(function (a) { a.preventDefault(); g = (g + 1) % e; d(g) }); a(this).find(b.prevbtn).click(function (a) { a.preventDefault(); g = (g - 1 + e) % e; d(g) })
        })
    }; a.mbpopupinit = function () {
        a("#mb-popup").length == 0 && a("body").append('<div id="mb-popup">'); a("#mb-screen").length ==
0 && a("body").append('<div id="mb-screen">'); a("#mb-screen, #mb-popup").hide(); a("#mb-popup").data("processed") != "processed" && (a("#mb-popup").html('<div id="mb-popup-close"></div><div id="mb-popup-content"></div><div class="t"></div><div class="tl"></div><div class="tr"></div><div class="l"></div><div class="r"></div><div class="b"></div><div class="bl"></div><div class="br"></div>'), a("#mb-screen, #mb-popup-close").click(function (c) { c.preventDefault(); a.mbpopuphide() }), a("#mb-popup").data("processed",
"processed"))
    }; a.mbpopuphide = function () { a("#mb-popup").hide(); a(document).trigger("popup.hide"); a("#mb-screen").fadeOut(200); a("#mb-popup-content").html(""); a("#mb-popup").removeClass(); a("#mb-popup").css({ width: "", marginLeft: "" }) }; popupcallback = function (c) { c = a.extend({ callback: null, close_callback: null }, c || {}); typeof c.callback == "function" && c.callback(); if (typeof c.close_callback == "function") a(document).one("popup.hide", c.close_callback) }; a.fn.mbpopupajax = function (c) {
        function b() {
            var b = a(document).scrollTop();
            a("#mb-popup").addClass(l.addClass); a("#mb-screen").show(); a.ajax({ url: l.url, success: function (l) { a("#mb-popup").css({ top: b + 150 }); a("#mb-popup").show(); a("#mb-popup").animate({ top: b + 100 }, 200); a("#mb-popup-content").html(l); popupcallback(c) } })
        } var l = a.extend({ url: "popup-signup-minimal.html", instant: false, addClass: "ajax" }, c || {}); a.mbpopupinit(); return this.each(function () { l.instant ? b() : a(this).click(function (a) { a.preventDefault(); b() }) })
    }; a.fn.mbpopupvideo = function (c) {
        var b = a.extend({ video: "", defaultHeight: 450,
            defaultWidth: 800
        }, c || {}); a.mbpopupinit(); return this.each(function () {
            a(this).click(function (c) {
                c.preventDefault(); var c = a(document).scrollTop(), d = parseInt(a(this).attr("data-height")) || b.defaultHeight, e = parseInt(a(this).attr("data-width")) || b.defaultWidth, g = {}; if (a(this).attr("data-video")) g.videourl = a(this).attr("data-video"); if (a(this).attr("data-image")) g.imageurl = a(this).attr("data-image"); a("#mb-popup").addClass("video"); a("#mb-screen, #mb-popup").show(); a("#mb-popup").css({ top: c + 150, width: e,
                    marginLeft: -e / 2
                }); a("#mb-popup").animate({ top: c + 100 }, 200); a("#mb-popup-content").flash({ swf: "http://nxcache.nexon.net/mabinogi/swf/flex-video-player.swf", height: d, width: e, allowScriptAccess: "always", flashvars: g })
            })
        })
    }; a.fn.newhere = function (c) {
        a(this).click(function (b) {
            b.preventDefault(); a("body").toggleClass("expanded"); a("body").hasClass("expanded") ? (a("#m-header").stop().animate({ height: 424 }, 300, "linear", function () { a("#m-intro").html('<iframe width="450" height="250" src="http://www.youtube.com/embed/bVWQvJ_pkAc?autoplay=1" ></iframe>') }),
a("#m-intro, #m-signup-download").stop().fadeTo(300, 1, function () { a("#m-intro, #m-signup-download").css("opacity", "") }), a("#m-events").stop().fadeTo(300, 0, function () { a("#m-events").hide() })) : (a("#m-events").stop().fadeTo(300, 1, function () { a("#m-events").css("opacity", "") }), a("#m-intro, #m-signup-download").stop().fadeTo(300, 0, function () { a("#m-intro, #m-signup-download").hide() }), a("#m-header").stop().animate({ height: 234 }, 300, "linear", function () { a("#m-intro").html("") }))
        }); c && (a("#m-header").css({ height: 424 }),
a("#m-intro, #m-signup-download").show(), a("#m-events").hide(), a(this).click())
    }; a.fn.funexpand = function (c) { var b = a.extend({ oHeight: 108, eHeight: 57, expandThese: "#overridethis", timeout: 200 }, c || {}); return this.each(function () { a(this).toggle(function () { a(b.expandThese).stop().animate({ height: b.oHeight }, b.timeout) }, function () { a(b.expandThese).stop().animate({ height: b.eHeight }, b.timeout) }) }) }; a.fn.hoverdropdown = function (c) {
        var b = a.extend({ oHeight: 0, eHeight: 400, timeout: 100, expandThese: "#overridethis" }, c ||
{}); return this.each(function () { a(b.expandThese).hide().css({ height: b.oHeight }); a(this).hover(function (c) { c.preventDefault(); a(b.expandThese).show().stop().animate({ height: b.eHeight }, b.timeout) }, function (c) { c.preventDefault(); a(b.expandThese).stop().animate({ height: b.oHeight + "px" }, b.timeout, "linear", function () { a(this).hide() }) }) })
    }; a.fn.popup = function (c) {
        var b = a.extend({ width: 100, height: 100, top: 500, contents: "blah", type: "video", index: "li" }, c || {}); return this.each(function () {
            a(this).click(function (c) {
                c.preventDefault();
                a("#popup").length == 0 && (a("body").append('<div id="popup"><div id="popup-inner"><div id="popup-content"></div><div id="popup-close"></div></div></div><div id="screen"></div>'), a("#screen, #popup").hide(), a("#screen, #popup-close").click(function (b) { b.preventDefault(); a("#screen, #popup").hide(); a("#popup-content").html("") })); a("#popup").removeClass("images").css({ top: b.top }); a("#popup-inner").css({ left: -b.width / 2 - 20, width: b.width + 40, height: b.height + 40 }); a("#popup-content").html('<table><tr><td class="tl"></td><td class="b"></td><td class="tr"></td></tr> <tr><td id="popup-cl"></td><td id="popup-inner-content"></td><td id="popup-cr"></td></tr> <tr><td class="bl"></td><td></td><td class="br"></td></tr></table>');
                a("#popup-inner-content").html(b.contents).css({ width: b.width, height: b.height }); if (b.type == "images") {
                    a("#popup").addClass("images"); a("#popup-inner").css({ left: -b.width / 2 - 70, width: b.width + 120, height: b.height + 20 }); var d = a(b.index).index(this), e = a(b.index).length; a("#popup-inner-content").html('<img src="' + a(b.index).eq(d).attr("href") + '" alt=""/>'); a("#popup-cl, #popup-cr").css({ height: b.height + 20 }).html('<a href="#"></a>'); var g = function () {
                        a("#popup-inner-content").html('<img src="' + a(b.index).eq(d).attr("href") +
'" alt=""/>')
                    }; a("#popup-cr a").click(function (a) { a.preventDefault(); d = (d + 1) % e; g() }); a("#popup-cl a").click(function (a) { a.preventDefault(); d = (d - 1 + e) % e; g() })
                } b.type == "demo" && a("#popup").find("a").click(function (b) { b.preventDefault(); b = a(this).attr("rel").split("x"); b = "height=" + b[1] + ", width=" + b[0]; window.open(a(this).attr("href"), "DemoPopup", b) }); a("#screen, #popup").show()
            })
        })
    }; a.fn.pseudohover = function (c) {
        var b = a.extend({ hover: "#overridethis", pseudo: "#overridethis", className: "" }, c || {}); return this.each(function () {
            var c =
a(b.hover).index(this); a(this).hover(function (d) { d.preventDefault(); a(b.pseudo).removeClass(b.className); a(b.pseudo).eq(c).addClass(b.className) }, function (c) { c.preventDefault(); a(b.pseudo).removeClass(b.className) })
        })
    }; a.fn.highlightcarousel = function (c) {
        var b = a.extend({ slides: "#m-items-carousel li", tabbed: false, tabs: "#m-funstuff-tabs li", tabslides: "ul", animtimeout: 1E3, pausetimeout: 3E3, nextbtn: ".next", prevbtn: ".prev", parent: "#mod-hotitems", slider: ".images", desc: true, descholder: "#m-items-display-text",
            imgholder: "#m-items-display-image", newicon: "#m-items-new", overlay: "#m-items-display-overlay", width: 54
        }, c || {}); return this.each(function () {
            function c() { a(b.tabs).eq(i).addClass("active").siblings().removeClass("active"); a(b.slider).html(a(b.tabs).eq(i).find(b.tabslides).html()); d() } function d() { h = n = 0; m = a(b.slides).length; a(b.slider).stop().css({ left: 0, width: m * b.width }); g(0); clearTimeout(j); j = setTimeout(e, b.pausetimeout); a(b.slides).click(function (c) { c.preventDefault(); g(a(b.slides).index(this)) }) }
            function e() { h = h == m - 1 ? 0 : Math.min(m - 1, h + 1); if (h > n + 3 || h < n) n = n == m - 4 ? 0 : Math.min(m - 4, h), f(n); g(h) } function g(c) {
                h = c; var c = a(b.slides).eq(c), d = c.find("a").attr("href"), l = c.find("img").attr("alt"), g = c.find("img").attr("alt2"), f = c.find("p").html(); a(b.imgholder).css("background-image", "url(" + l + ")"); g && g != "null" ? a(b.imgholder).html('<img src="' + g + '" />') : a(b.imgholder).html(""); a(b.imgholder).parent().attr("href", d); b.desc && a(b.descholder).html(f); c.is(".new") ? a(b.newicon).show() : a(b.newicon).hide(); c.addClass("active").siblings().removeClass("active");
                clearTimeout(j); j = setTimeout(e, b.pausetimeout + b.animtimeout)
            } function f(c) { clearTimeout(j); j = setTimeout(e, b.pausetimeout + b.animtimeout); a(b.slider).stop().animate({ left: -c * b.width }, b.animtimeout) } var m = 0, n = 0, i = 0, h = 0, j = setTimeout(e, b.pausetimeout); b.tabbed ? (a(b.slider).html(a(b.tabs).eq(i).find(b.tabslides).html()), c(i), a(b.tabs).click(function (d) { d.preventDefault(); i != a(b.tabs).index(this) && (i = a(b.tabs).index(this), c(i)) })) : d(); a(b.nextbtn).click(function (a) {
                a.preventDefault(); m > 4 && (n = Math.min(m -
4, n + 4), f(n))
            }); a(b.prevbtn).click(function (a) { a.preventDefault(); m > 4 && (n = Math.max(0, n - 4), f(n)) })
        })
    }; a.fn.tabs = function (c) { var b = a.extend({ classname: "active", tabcontent: "#overridethis" }, c || {}), e = this; a(b.tabcontent).hide(); a(b.tabcontent).eq(0).show(); return this.each(function () { a(this).click(function (c) { c.preventDefault(); a(e).removeClass(b.classname); a(this).addClass(b.classname); a(b.tabcontent).hide(); a(b.tabcontent).eq(a(e).index(this)).show() }) }) }; (function (a) {
        a.fn.tab = function (b, e) {
            if (b == null) return this;
            var d = a.extend({ containerId: "tabContent", tabWrapperId: "tabWrapper", imageTabs: true, onState: "_on.", offState: "_off.", textOnClass: "selected", callback: "true", h1: 1, h2: 2 }, e || {}); return this.each(function () {
                a(this).css("cursor", "pointer").click(function (e) {
                    e.preventDefault(); if (d.imageTabs) {
                        var l = d.offState, f = d.onState; a(this).attr("src").indexOf(l) > 0 && (a("#" + d.tabWrapperId + " img").each(function () { a(this).attr("src", a(this).attr("src").indexOf(f) > 0 ? a(this).attr("src").replace(f, l) : a(this).attr("src")) }),
a(this).attr("src", a(this).attr("src").replace(l, f)), a("#" + d.containerId).html("").load(b, d.callback ? a.nav(d.h1, d.h2) : function () { }))
                    } else f = d.textOnClass, a(this).hasClass(f) || (a("#" + d.tabWrapperId + " a").each(function () { a(this).removeClass(f) }), a(this).addClass(f), a("#" + d.containerId).html("").load(b, d.callback ? a.nav(d.h1, d.h2) : function () { }))
                })
            })
        } 
    })(jQuery); (function (a) { a.nav = function () { } })(jQuery); a.fn.jqm = function (c) {
        var b = { overlay: 50, overlayClass: "jqmOverlay", closeClass: "jqmClose", trigger: ".jqModal",
            ajax: h, ajaxText: "", target: h, modal: h, toTop: h, onShow: h, onHide: h, onLoad: h
        }; return this.each(function () { if (this._jqm) return i[this._jqm].c = a.extend({}, i[this._jqm].c, c); f++; this._jqm = f; i[f] = { c: a.extend(b, a.jqm.params, c), a: h, w: a(this).addClass("jqmID" + f), s: f }; b.trigger && a(this).jqmAddTrigger(b.trigger) })
    }; a.fn.jqmAddClose = function (a) { return e(this, a, "jqmHide") }; a.fn.jqmAddTrigger = function (a) { return e(this, a, "jqmShow") }; a.fn.jqmShow = function (c) {
        return this.each(function () {
            c = c || window.event; a.jqm.open(this._jqm,
c)
        })
    }; a.fn.jqmHide = function (c) { return this.each(function () { c = c || window.event; a.jqm.close(this._jqm, c) }) }; a.jqm = { hash: {}, open: function (c, b) {
        var e = i[c], d = e.c, f = "." + d.closeClass, g = parseInt(e.w.css("z-index")), g = g > 0 ? g : 3E3, k = a("<div></div>").css({ height: "100%", width: "100%", position: "fixed", left: 0, top: 0, "z-index": g - 1, opacity: d.overlay / 100 }); if (e.a) return h; e.t = b; e.a = true; e.w.css("z-index", g); d.modal ? (j[0] || t("bind"), j.push(c)) : d.overlay > 0 ? e.w.jqmAddClose(k) : k = h; e.o = k ? k.addClass(d.overlayClass).prependTo("body") :
h; if (o && (a("html,body").css({ height: "100%", width: "100%" }), k)) { var k = k.css({ position: "absolute" })[0], m; for (m in { Top: 1, Left: 1 }) k.style.setExpression(m.toLowerCase(), "(_=(document.documentElement.scroll" + m + " || document.body.scroll" + m + "))+'px'") } d.ajax ? (g = d.target || e.w, k = d.ajax, g = typeof g == "string" ? a(g, e.w) : a(g), k = k.substr(0, 1) == "@" ? a(b).attr(k.substring(1)) : k, g.html(d.ajaxText).load(k, function () { d.onLoad && d.onLoad.call(this, e); f && e.w.jqmAddClose(a(f, e.w)); s(e) })) : f && e.w.jqmAddClose(a(f, e.w)); d.toTop &&
e.o && e.w.before('<span id="jqmP' + e.w[0]._jqm + '"></span>').insertAfter(e.o); d.onShow ? d.onShow(e) : e.w.show(); s(e); return h
    }, close: function (c) { c = i[c]; if (!c.a) return h; c.a = h; j[0] && (j.pop(), j[0] || t("unbind")); c.c.toTop && c.o && a("#jqmP" + c.w[0]._jqm).after(c.w).remove(); if (c.c.onHide) c.c.onHide(c); else c.w.hide(), c.o && c.o.remove(); return h }, params: {}
    }; var f = 0, i = a.jqm.hash, j = [], o = a.browser.msie && a.browser.version == "6.0", h = false, q = a('<iframe src="javascript:false;document.write(\'\');" class="jqm"></iframe>').css({ opacity: 0 }),
s = function (c) { o && (c.o ? c.o.html('<p style="width:100%;height:100%"/>').prepend(q) : a("iframe.jqm", c.w)[0] || c.w.prepend(q)); r(c) }, r = function (c) { try { a(":input:visible", c.w)[0].focus() } catch (b) { } }, t = function (c) { a()[c]("keypress", p)[c]("keydown", p)[c]("mousedown", p) }, p = function (c) { var b = i[j[j.length - 1]]; (c = !a(c.target).parents(".jqmID" + b.s)[0]) && r(b); return !c }, e = function (c, b, e) {
    return c.each(function () {
        var c = this._jqm; a(b).each(function () {
            this[e] || (this[e] = [], a(this).click(function () {
                for (var a in { jqmShow: 1,
                    jqmHide: 1
                }) for (var b in this[a]) if (i[this[a][b]]) i[this[a][b]].w[a](this); return h
            })); this[e].push(c)
        })
    })
}; a.cookie = function (a, b, e) {
    if (typeof b != "undefined") {
        e = e || {}; if (b === null) b = "", e.expires = -1; var d = ""; if (e.expires && (typeof e.expires == "number" || e.expires.toUTCString)) typeof e.expires == "number" ? (d = new Date, d.setTime(d.getTime() + e.expires * 864E5)) : d = e.expires, d = "; expires=" + d.toUTCString(); var f = e.path ? "; path=" + e.path : "", g = e.domain ? "; domain=" + e.domain : "", h = e.secure ? "; secure" : ""; document.cookie =
[a, "=", e.unescape == "true" ? b : encodeURIComponent(b), d, f, g, h].join("")
    } else { b = null; if (document.cookie && document.cookie != "") { e = document.cookie.split(";"); for (d = 0; d < e.length; d++) if (f = jQuery.trim(e[d]), f.substring(0, a.length + 1) == a + "=") { b = decodeURIComponent(f.substring(a.length + 1)); break } } return b } 
}; a.fn.navBuilder = function (c, b) {
    function e(b, c) {
        var d = a("<ul>"); c && d.attr("id", c); for (var f = 0; f < b.sub_categories.length; f++) d.append(a("<li>").append(a("<a>").attr("href", b.urls[f]).html(b.sub_categories[f])));
        return d
    } function d(b, c) { var e = location.pathname.toLowerCase(), d, e = e.substr(0, e.lastIndexOf("/") + 1); if (!(e.length < 2) && (d = function () { for (var a = 0; a < c.length; a++) for (var b = c[a].urls, d = 0; d < b.length; d++) if (b[d].toLowerCase().indexOf(e) >= 0) return a; return -1 } (), !(d < 0))) { var h = a(f.headerElement).children().eq(d); h.addClass("active"); a(b).mouseleave(function () { h.addClass("active") }) } } if (c === null) return this; var f = a.extend({ listID: null, buildMenu: true, headerElement: a("<ul>").attr("id", "main"), dropList: a("<ul>").attr("id",
"drop")
    }, b || {}); this.each(function () { if (f.buildMenu) { for (var b = f.headerElement, d = f.dropList, h = 0; h < c.length; h++) { var i = c[h].main_category; b.append(a("<li>").attr("id", "n-" + i.toLowerCase()).append(a("<a>").attr("href", c[h].urls[0]).html(i))); d.append(a("<li>").attr("id", "d-" + i.toLowerCase()).append(e(c[h]))) } a(this).append(b).append(d) } else a(this).append(e(c, f.listID)) }); f.buildMenu && d(this, c); return this
} 
})(jQuery);
jQuery.extend(jQuery.easing, { easeIn: function (a, f, i, j, o) { return j * (f /= o) * f * f * f * f + i }, easeOut: function (a, f, i, j, o) { return j * ((f = f / o - 1) * f * f * f * f + 1) + i }, easeInOut: function (a, f, i, j, o) { return (f /= o / 2) < 1 ? j / 2 * f * f * f * f * f + i : j / 2 * ((f -= 2) * f * f * f * f + 2) + i } });
(function (a, f, i) {
    function j(a, c) { var b = (a[0] || 0) - (c[0] || 0); return b > 0 || !b && a.length > 0 && j(a.slice(1), c.slice(1)) } function o(a) { if (typeof a != q) return a; var c = [], b = "", f; for (f in a) b = typeof a[f] == q ? o(a[f]) : [f, s ? encodeURI(a[f]) : a[f]].join("="), c.push(b); return c.join("&") } function h(a) { var c = [], b; for (b in a) c.push(['<param name="', b, '" value="', o(a[b]), '" />'].join("")); return c.join("") } var q = "object", s = true; try { var r = i.description || (new i("ShockwaveFlash.ShockwaveFlash")).GetVariable("$version") } catch (t) {
        r =
"Unavailable"
    } var p = r.match(/\d+/g) || [0]; a[f] = { available: p[0] > 0, activeX: i && !i.name, version: { original: r, array: p, string: p.join("."), major: parseInt(p[0], 10) || 0, minor: parseInt(p[1], 10) || 0, release: parseInt(p[2], 10) || 0 }, hasVersion: function (a) { a = /string|number/.test(typeof a) ? a.toString().split(".") : /object/.test(typeof a) ? [a.major, a.minor] : a || [0, 0]; return j(p, a) }, encodeParams: true, expressInstall: "expressInstall.swf", expressInstallIsActive: false, create: function (a) {
        if (!a.swf || this.expressInstallIsActive ||
!this.available && !a.hasVersionFail) return false; if (!this.hasVersion(a.hasVersion || 1)) { this.expressInstallIsActive = true; if (typeof a.hasVersionFail == "function" && !a.hasVersionFail.apply(a)) return false; a = { swf: a.expressInstall || this.expressInstall, height: 137, width: 214, flashvars: { MMredirectURL: location.href, MMplayerType: this.activeX ? "ActiveX" : "PlugIn", MMdoctitle: document.title.slice(0, 47) + " - Flash Player Installation"}} } attrs = { data: a.swf, type: "application/x-shockwave-flash", id: a.id || "flash_" + Math.floor(Math.random() *
999999999), width: a.width || 320, height: a.height || 180, style: a.style || ""
}; s = typeof a.useEncode !== "undefined" ? a.useEncode : this.encodeParams; a.movie = a.swf; a.wmode = a.wmode || "opaque"; delete a.fallback; delete a.hasVersion; delete a.hasVersionFail; delete a.height; delete a.id; delete a.swf; delete a.useEncode; delete a.width; var c = document.createElement("div"), b; b = attrs; var f = [], d; for (d in b) b[d] && f.push([d, '="', b[d], '"'].join("")); b = f.join(" "); c.innerHTML = ["<object ", b, ">", h(a), "</object>"].join(""); return c.firstChild
    } 
    };
    a.fn[f] = function (e) { var c = this.find(q).andSelf().filter(q); /string|object/.test(typeof e) && this.each(function () { var b = a(this), c; e = typeof e == q ? e : { swf: e }; e.fallback = this; if (c = a[f].create(e)) b.children().remove(), b.html(c) }); typeof e == "function" && c.each(function () { var b = this; b.jsInteractionTimeoutMs = b.jsInteractionTimeoutMs || 0; b.jsInteractionTimeoutMs < 660 && (b.clientWidth || b.clientHeight ? e.call(b) : setTimeout(function () { a(b)[f](e) }, b.jsInteractionTimeoutMs + 66)) }); return c } 
})(jQuery, "flash", navigator.plugins["Shockwave Flash"] ||
window.ActiveXObject); jQuery.fn.digits = function () { return this.each(function () { $(this).text($(this).text().replace(/(\d)(?=(\d\d\d)+(?!\d))/g, "$1,")) }) }; String.prototype.digits = function () { var a; return a = this.replace(/(\d)(?=(\d\d\d)+(?!\d))/g, "$1,") }; String.prototype.format = function () { for (var a = this, f = arguments.length; f--; ) a = a.replace(RegExp("\\{" + f + "\\}", "gm"), arguments[f]); return a };
