(function (a) {
    a.fn.infiniteCarousel = function (b) {
        var d = a.extend({ width: 94, speed: 3E3, itemEls: "#p-shop-carousel li", popupEl: "#p-shop-carousel-popup", leftBtn: "#p-shop-carousel-left", rightBtn: "#p-shop-carousel-right", minItemsToRun: 7 }, b || {}); return this.each(function () {
            function c() { i.hide(); g || b() } function b() {
                h = a(d.itemEls); var c = h.eq(0), l = 1 + parseInt(c.css("margin-left")) / d.width; f ? c.stop().animate({ "margin-left": -d.width }, d.speed * l, "linear", function () { c.appendTo(c.parent()).css("margin-left", 0); b() }) :
(l = 1 - l, c.stop().animate({ "margin-left": 0 }, d.speed * l, "linear", function () { h.eq(h.length - 1).prependTo(c.parent()).css("margin-left", -d.width); b() }))
            } var g = a(d.itemEls).length < d.minItemsToRun, f = !0, h = a(d.itemEls), i = a(d.popupEl), k; g && a(d.leftBtn + ", " + d.rightBtn).addClass("disabled"); g || (a(d.leftBtn).click(function (a) { a.preventDefault(); f || (f = !0, b()) }), a(d.rightBtn).click(function (a) { a.preventDefault(); f && (f = !1, b()) })); h.hover(function () {
                clearTimeout(k); var c = a(this), b = h.eq(0), e = 32 + Math.min(557, Math.max(0,
46 + parseInt(b.css("margin-left")) + d.width * h.index(c))); b.stop(); i.children(".name").html(c.attr("data-name")); i.children(".nx").html("(" + c.attr("data-nx") + ")"); i.children(".desc").html(c.attr("data-desc")); i.show().css({ left: e })
            }, function () { k = setTimeout(c, 50) }); i.hover(function () { clearTimeout(k) }, function () { k = setTimeout(c, 50) }); c()
        })
    }; a.fn.popup = function (b) {
        function d() { a("#screen, #popup").fadeOut(200, function () { a("#popup-content").html(""); a("#popup-content").removeClass("static") }) } function c(c) {
            a("#popup-screenshot img").attr("src",
c)
        } var e = a.extend({ width: 100, height: 100, contents: "", type: "video", index: "li" }, b || {}); return this.each(function () {
            a("#popup").length == 0 && (a("body").append('<div id="popup"><div class="tl"></div><div class="tr"></div><div class="bl"></div><div class="br"></div> <div class="t"></div><div class="b"></div><div class="l"></div><div class="r"></div><a href="#" id="popup-close"></a> <div id="popup-content"></div></div><div id="screen"></div>'), a("#screen, #popup").hide()); a(this).click(function (b) {
                b.preventDefault();
                b = a(document).scrollTop() + a(window).height() / 2; a("#popup").css({ top: b - parseInt(e.height) / 2, height: e.height + 60 }); a("#popup").css({ width: e.width + 20, "margin-left": -10 - e.width / 2 }); a("#screen, #popup").fadeIn(200); var f = a(document).height(); a.browser.msie && parseInt(a.browser.version) < 8 && a("#screen").height(f).css("position", "absolute"); if (e.type == "images") {
                    a("#popup").css({ top: b - parseInt(e.height) / 2 }); var h = a(e.index).index(this), i = a(e.index).length; a("#popup-content").html('<a href="#" class="hzbtnc" id="popup-prev"></a><div id="popup-screenshot"><img src="" alt="" /></div><a href="#" class="hzbtnc" id="popup-next"></a>');
                    a("#popup").css({ width: e.width + 126, "margin-left": -(e.width + 126) / 2, height: e.height + 66 }); a("#popup-prev, #popup-next").css({ height: e.height }); a("#popup-screenshot").css({ width: e.width, height: e.height }); c(a(e.index).eq(h).attr("href")); a("#popup-prev").click(function (b) { b.preventDefault(); h = (h + 1) % i; c(a(e.index).eq(h).attr("href")) }); a("#popup-next").click(function (b) { b.preventDefault(); h = (h - 1 + i) % i; c(a(e.index).eq(h).attr("href")) })
                } e.type == "video" && (b = a(this).attr("href"), f = a(this).attr("rel"), b = a.flash.create({ swf: "http://nxcache.nexon.net/maplestory/swf/funstuffvideoplayer.swf",
                    width: 600, height: 440, params: { allowScriptAccess: "always" }, flashvars: { videourl: b, imageurl: f}
                }), a("#popup-content").html('<div id="popup-video">' + b + "</div>"), a("#popup").css({ width: e.width + 106, "margin-left": -53 - e.width / 2, height: e.height + 66 })); e.type == "static" && (a("#popup").css({ top: a(document).scrollTop() + 100, height: "auto", width: e.width + 106, "margin-left": -53 - e.width / 2 }), a("#popup-content").addClass("static"), a("#popup-content").html(e.contents)); e.type == "notice" ? (a("#popup").css({ top: a(document).scrollTop() +
100, height: "auto", width: e.width + 106, "margin-left": -53 - e.width / 2
                }), a("#popup-content").addClass("static"), a("#popup-content").html(e.contents), a("#popup-close").remove()) : a("#screen, #popup-close, .popup-close").click(function (a) { a.preventDefault(); d() }); e.type == "ajax" && (a("#popup").css({ top: a(document).scrollTop() + 100, height: "auto", width: e.width + 106, "margin-left": -53 - e.width / 2 }), a("#popup-content").addClass("static"), a("#popup-content").load(e.contents)); e.type == "iframe" && (a("#popup").css({ top: a(document).scrollTop() +
100, height: "auto", width: e.width + 106, "margin-left": -53 - e.width / 2
                }), a("#popup-content").addClass("static"), a("#popup-content").prepend('<iframe src="' + e.contents + '" frameborder="0" id="popup-iframe" scrolling="no"></iframe>'))
            })
        })
    }; a.popupinit = function () {
        a("#popup").length == 0 && a("body").append('<div id="popup">'); a("#screen").length == 0 && a("body").append('<div id="screen">'); a("#screen, #popup").hide(); a("#popup").hasClass("processed") || (a("#popup").html('<div id="popup-close"></div><div id="popup-content"></div>'),
a("#screen, #popup-close").click(function (b) { b.preventDefault(); a().popuphide() }), a("#popup").addClass("processed"))
    }; a.fn.popuphide = function () { a("#popup").hide(); a("#popup-content").html(""); a("#screen").fadeOut(200); a("#popup").removeClass(); a("#popup").addClass("processed") }; a.fn.popupimage = function (b) {
        a.popupinit(); return this.each(function () {
            a(this).click(function (b) {
                b.preventDefault(); a("#popup").addClass("image"); a("#popup").css({ top: a(document).scrollTop() + 100 }); a("#popup-content").html(a("<img>").attr("src",
a(this).attr("href"))); a("#screen, #popup").fadeIn(200); a("#popup-content img").load(function () { a("#popup").css({ width: a(this).width(), "margin-left": -(a(this).width() / 2) - 4 }) })
            }); b == !0 && a(this).click()
        })
    }; a.fn.popupgallery = function () {
        a.popupinit(); var b = this; return this.each(function () {
            a(this).click(function (d) {
                function c() { a("#popup-content img").attr("src", a(b).eq(g).attr("href")); (a("#popup-content img").complete || a("#popup-content img").readyState === 4) && e() } function e() {
                    var b = a("#popup-content img").width();
                    a("#popup").css({ width: b + 100, "margin-left": -(b / 2) - 50 })
                } d.preventDefault(); var g = a(b).index(this), f = a(b).length; a("#popup").addClass("gallery").css({ top: a(document).scrollTop() + 150 }).animate({ top: a(document).scrollTop() + 100 }, 200); a("#screen, #popup").fadeIn(200, function () {
                    a("#popup-content").html('<a href="#" id="popup-prev"></a><a href="#" id="popup-next"></a>'); a("#popup-content").append(a("<img>").bind("load", function () { e() })); c(); a("#popup-next").click(function (a) {
                        a.preventDefault(); g = (g + 1) % f;
                        c()
                    }); a("#popup-prev").click(function (a) { a.preventDefault(); g = (g - 1 + f) % f; c() })
                })
            })
        })
    }; a.fn.popupvideo = function (b) {
        a.popupinit(); return this.each(function () {
            a(this).click(function (b) {
                b.preventDefault(); a("#popup").addClass("video"); a("#popup").css({ top: a(document).scrollTop() + 150 }).animate({ top: a(document).scrollTop() + 100 }, 200); var b = a(this).data("width") ? parseInt(a(this).data("width")) : 640, c = a(this).data("height") ? parseInt(a(this).data("height")) : 480, e = { videourl: a(this).attr("href") }; if (a(this).data("image")) e.imageurl =
a(this).data("image"); c = a.flash.create({ swf: "http://nxcache.nexon.net/maplestory/swf/flex-video-player.swf", width: b, height: c, allowScriptAccess: "always", wmode: "transparent", flashvars: e }); a("#popup-content").html(c); a("#screen, #popup").fadeIn(200); a("#popup").css({ width: b + 20, "margin-left": -(b / 2) - 10 })
            }); b == !0 && a(this).click()
        })
    }; a.fn.popupyoutubevideo = function () {
        a.popupinit(); var b, d; return this.each(function () {
            a(this).click(function (c) {
                c.preventDefault(); b = a(this).attr("data-video"); a(this).attr("title");
                d = a(this).siblings(".desc").html(); a("#popup").addClass("youtube"); a("#popup-content").addClass("youtube"); a("#popup").css({ top: a(document).scrollTop() + 150 }).animate({ top: a(document).scrollTop() + 195 }, 200); var c = a(this).data("width") ? parseInt(a(this).data("width")) : 620, e = a(this).data("height") ? parseInt(a(this).data("height")) : 377, e = a.flash.create({ swf: "http://www.youtube.com/v/" + b + "?version=3", width: c, height: e, flashvars: { hd: 1, rel: 0, showsearch: 0, showinfo: 0, iv_load_policy: 3, cc_load_policy: 0, autoplay: 1,
                    fs: 1
                }
                }); a("#popup-content").html(e).append(d); a("#screen, #popup").fadeIn(200); a("#popup.video").css({ width: c, "margin-left": -(c / 2) + 200 })
            })
        })
    }; a.fn.popupYoutube = function (b, d) { a.popupinit(); a("#popup-content").load(b, function () { a("#popup").addClass(d); a("#popup").css({ top: a(document).scrollTop() + 100 }); a("#screen, #popup").fadeIn(200) }) }; a.fn.popupajax = function (b) {
        function d() {
            var b = a(document).scrollTop(); a("#popup").addClass(c.addClass); a.ajax({ url: c.url, success: function (d) {
                a("#screen").show(); a("#popup").show().css({ top: b +
150
                }).animate({ top: b + 100 }, 200); c.selector ? a("#popup-content").html(a(d).find(c.selector).html()) : a("#popup-content").html(a(d)); typeof c.callback == "function" && c.callback()
            } 
            })
        } var c = a.extend({ addClass: "ajax", url: !1, instant: !1, selector: !1, callback: function () { } }, b || {}); a.popupinit(); return this.each(function () { c.instant ? d() : a(this).click(function (a) { a.preventDefault(); d() }) })
    }; a.fn.popupajax = function (b) {
        function d() {
            var b = a(document).scrollTop(); a("#popup").addClass(c.addClass); a.ajax({ url: c.url, success: function (d) {
                a("#screen").show();
                a("#popup").show().css({ top: b + 150 }).animate({ top: b + 100 }, 200); c.selector ? a("#popup-content").html(a(d).find(c.selector).html()) : a("#popup-content").html(a(d)); typeof c.callback == "function" && c.callback()
            } 
            })
        } var c = a.extend({ addClass: "ajax", url: !1, instant: !1, selector: !1, callback: function () { } }, b || {}); a.popupinit(); return this.each(function () { c.instant ? d() : a(this).click(function (a) { a.preventDefault(); d() }) })
    }; a.fn.popupmarkup = function (b) {
        function d() {
            var b = a(document).scrollTop(); a("#popup").addClass(c.addClass);
            a("#screen").show(); a("#popup").show().css({ top: b + 150 }).animate({ top: b + 100 }, 200); a("#popup-content").html(c.markup); typeof c.callback == "function" && c.callback()
        } var c = a.extend({ addClass: "ajax", markup: "", instant: !1, callback: function () { } }, b || {}); a.popupinit(); return this.each(function () { c.instant ? d() : a(this).click(function (a) { a.preventDefault(); d() }) })
    }; a.cookie = function (a, d, c) {
        if (typeof d != "undefined") {
            c = c || {}; if (d === null) d = "", c.expires = -1; var e = ""; if (c.expires && (typeof c.expires == "number" || c.expires.toUTCString)) typeof c.expires ==
"number" ? (e = new Date, e.setTime(e.getTime() + c.expires * 864E5)) : e = c.expires, e = "; expires=" + e.toUTCString(); var g = c.path ? "; path=" + c.path : "", f = c.domain ? "; domain=" + c.domain : "", h = c.secure ? "; secure" : ""; document.cookie = [a, "=", c.unescape == "true" ? d : encodeURIComponent(d), e, g, f, h].join("")
        } else { d = null; if (document.cookie && document.cookie != "") { c = document.cookie.split(";"); for (e = 0; e < c.length; e++) if (g = jQuery.trim(c[e]), g.substring(0, a.length + 1) == a + "=") { d = decodeURIComponent(g.substring(a.length + 1)); break } } return d } 
    } 
})(jQuery);
(function (a, b, d) {
    function c(a, b) { var d = (a[0] || 0) - (b[0] || 0); return d > 0 || !d && a.length > 0 && c(a.slice(1), b.slice(1)) } function e(a) { if (typeof a != f) return a; var b = [], c = "", d; for (d in a) c = typeof a[d] == f ? e(a[d]) : [d, h ? encodeURI(a[d]) : a[d]].join("="), b.push(c); return b.join("&") } function g(a) { var b = [], c; for (c in a) b.push(['<param name="', c, '" value="', e(a[c]), '" />'].join("")); return b.join("") } var f = "object", h = !0; try { var i = d.description || (new d("ShockwaveFlash.ShockwaveFlash")).GetVariable("$version") } catch (k) {
        i =
"Unavailable"
    } var j = i.match(/\d+/g) || [0]; a[b] = { available: j[0] > 0, activeX: d && !d.name, version: { original: i, array: j, string: j.join("."), major: parseInt(j[0], 10) || 0, minor: parseInt(j[1], 10) || 0, release: parseInt(j[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 c(j, a) }, encodeParams: !0, expressInstall: "expressInstall.swf", expressInstallIsActive: !1, create: function (a) {
        if (!a.swf || this.expressInstallIsActive || !this.available &&
!a.hasVersionFail) return !1; if (!this.hasVersion(a.hasVersion || 1)) { this.expressInstallIsActive = !0; if (typeof a.hasVersionFail == "function" && !a.hasVersionFail.apply(a)) return !1; 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 || ""
}; h = 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 b = document.createElement("div"), c; c = attrs; var d = [], e; for (e in c) c[e] && d.push([e, '="', c[e], '"'].join("")); c = d.join(" "); b.innerHTML = ["<object ", c, ">", g(a), "</object>"].join(""); return b.firstChild
    } 
    };
    a.fn[b] = function (c) { var d = this.find(f).andSelf().filter(f); /string|object/.test(typeof c) && this.each(function () { var d = a(this), e; c = typeof c == f ? c : { swf: c }; c.fallback = this; if (e = a[b].create(c)) d.children().remove(), d.html(e) }); typeof c == "function" && d.each(function () { var d = this; d.jsInteractionTimeoutMs = d.jsInteractionTimeoutMs || 0; d.jsInteractionTimeoutMs < 660 && (d.clientWidth || d.clientHeight ? c.call(d) : setTimeout(function () { a(d)[b](c) }, d.jsInteractionTimeoutMs + 66)) }); return d } 
})(jQuery, "flash", navigator.plugins["Shockwave Flash"] ||
window.ActiveXObject); jQuery.extend(jQuery.easing, { easeInOut: function (a, b, d, c, e) { return (b /= e / 2) < 1 ? c / 2 * b * b * b * b + d : -c / 2 * ((b -= 2) * b * b * b - 2) + d }, easeIn: function (a, b, d, c, e) { return c * (b /= e) * b * b * b + d }, easeOut: function (a, b, d, c, e) { return -c * ((b = b / e - 1) * b * b * b - 1) + d } }); function getQueryVariable(a) { return getQueryVariableFromString(a, window.location.search) }
function getQueryVariableFromString(a, b) { var d = b.split("?"), c, e; if (d[1] == void 0) return null; else d = d[1].split("&"); for (c = 0; c < d.length; c++) if (e = d[c].split("="), e[0] == a) return e[1]; return null } function ImgError(a) { a.src = "http://nxcache.nexon.net/maplestory/img/temp/no-avatar.png"; a.onerror = ""; return !0 } function formatImageName(a) { return a.toLowerCase().replace(/\s|[-]/g, "_").replace(/[^\w_]/g, "") } function getCookie(a) { return $.cookie(a) !== null ? $.cookie(a) : "" }
function commaFormat(a) { var b = a.length; if (b < 4) return a; for (var d = b % 3, b = Math.floor((b - 1) / 3), a = a.split(""), c = 0; c < b; c++) d == 0 && c == 0 ? a.splice(0, 0, " ") : a.splice(c * 3 + d + c, 0, ","); return a = a.join("") }
function loadNewsListSearch() {
    var a = getQueryVariable("boardNo") || 100, b = getQueryVariable("searchFlag"), d = getQueryVariable("searchValue"); getQueryVariable("pageIndex"); var c, e; $("#m-board-search .fake-select .option").click(function (a) { a.preventDefault(); $("#m-board-search .fake-select .selected").text($(this).text()); $("#m-board-search .fake-select").data("type", $(this).data("type")).addClass("clicked"); $("#m-board-search .fake-select .option").removeClass("hidden"); $(this).addClass("hidden") }); $("#m-board-search .fake-select").bind("mouseenter",
function () { $("#m-board-search .fake-select").removeClass("clicked") }); $("#m-board-search input[type=text]").bind("keydown", function (a) { if (a.keyCode == 14 || a.keyCode == 13) a.preventDefault(), $("#m-board-search input[type=submit]").click() }); b && ($("#m-board-search .fake-select .option[data-type=" + b + "]").click(), $("#m-board-search input[type=text]").val(d)); $("#m-board-search input[type=submit]").click(function (b) {
    b.preventDefault(); c = $("#m-board-search input[type=text]").val(); e = $("#m-board-search .fake-select").data("type");
    window.location.search = "?pageIndex=1&searchFlag=" + e + "&searchValue=" + c + "&boardNo=" + a
})
} function popupCallbackTespia() { $("#popup-content .btn-live-server").click(function (a) { a.preventDefault(); $.popuphide() }); $("#pts-show-again").bind("change", function () { $(this).is(":checked") == !0 ? $.cookie(uhhpp, "true", { expires: 365, path: "/", domain: "maplestory.nexon.net" }) : $.cookie(uhhpp, null, { path: "/", domain: "maplestory.nexon.net" }) }) }
function loadGlobalNavDropDown() {
    var a = $("#nav"), b = $("#drop"), d = $("#main li"), c = 0; b.show().css("left", -5E3); b.children("li").each(function (a) { var b = d.eq(a); c = Math.max(c, $(this).height()); $(this).bind("mouseenter", function () { d.removeClass("hover"); b.addClass("hover") }); $(this).bind("mouseleave", function () { d.removeClass("hover") }) }); b.children("li").height(c); c = b.height(); b.css({ height: 0, left: 0 }); a.bind("mouseenter", function () { b.stop().animate({ height: c }, 100) }); a.bind("mouseleave", function () {
        b.stop().animate({ height: 0 },
100)
    })
} function loadGlobalFunStuffDropDown() { var a = $("#fun"), b = $("#fun-exp"), d = a.css("left"), c = a.height(), e = 0; a.css({ left: -5E3, height: "auto" }); e = a.height(); a.css({ left: d, height: c }); b.click(function (b) { b.preventDefault(); a.hasClass("open") ? a.removeClass("open").stop().animate({ height: c }, 200) : a.addClass("open").stop().animate({ height: e }, 200) }) }
function loadGlobalLoginBox() {
    $("#m-play-loggedout a, #m-play a").click(function (a) { a.preventDefault(); NxLaunchGameMain() }); $.getJSON("/publisher/publisher_startGame.js", function (a) { if (a[0].content_category && (a[0].content_category == "3" || a[0].content_category == "1" && a[0].progress_type == "1")) $("#m-play-loggedout").addClass("maintenance").attr("href", "#"), $("#m-play").addClass("maintenance").attr("href", "#"), $("#m-ticker").show().find("a").attr("href", a[0].content_text).text(a[0].content_title) }); nexon.sso.isLoggedIn ?
($("#m-play-loggedin").removeClass("dn"), $(".loginBox").load("../Controls/Passport.aspx .logoutAjax", function (a) { var b = a.split(" id='pts'>"); b[1] != null && (b = b[1].split("<\/script>"), eval(b[0])); LoadPTSPopupAJAX(a) })) : $("#m-play-loggedout").removeClass("dn")
} var cookieNumber = 1, uhhpp = "userHasHiddenPTSPopup" + cookieNumber;
function LoadPTSPopup() {
    userIsPTSWinner && $.cookie(uhhpp) != "true" && $("body").popupmarkup({ addClass: "tespia", markup: "<div id='pts-popup'><h2>You've Been Chosen!</h2><p class='strong'><strong>Congratulations, Mapler, you have been chosen to play on Tespia, the official public test server of MapleStory.</strong></p><p><strong>Now you can either:</strong><br>1. Play on Tespia featuring unreleased content and help us determine the future of MapleStory. Please note that your character's progress WILL NOT be saved.<br>2. Play on the live server as usual. Your character's progress WILL be saved.</p><a class='btn-tespia' href='http://maplestoryt.nexon.net'>I want to play on Tespia</a><a class='btn-live-server' href='#'>I want to play on the live server</a><label><input type='checkbox' id='pts-show-again'>Don't show this again</label></div>", instant: !0,
        callback: popupCallbackTespia
    })
} function loadGlobalBackToTop() { function a() { var a = $(document).scrollTop() + $(window).height() - f - d, e = $(document).scrollTop() > b ? 1 : 0, a = Math.min(parseInt($(document).height()) - c, a); g.stop().animate({ top: a, opacity: e }, 500, "easeOut") } var b = 400, d = 100, c = 350, e, g = $("#backtotop"), f = g.height(); $(document).scrollTop() <= b && g.css({ opacity: 0 }); g.show(); a(); $(window).bind("scroll resize", function () { clearTimeout(e); e = setTimeout(a, 20) }) }
function loadGlobalNXLinks() { var a = $("#m-nxlinks-games"), b = $("#m-nxlinks-cards"), d, c; d = $.flash.create({ swf: "http://nxcache.nexon.net/maplestory/swf/banner_nx_games.swf", width: 262, height: 66, allowScriptAccess: "always" }); c = $.flash.create({ swf: "http://nxcache.nexon.net/maplestory/swf/banner_nx_card.swf", width: 262, height: 66, allowScriptAccess: "always" }); d && a.html(d); c && b.html(c) }
function NxLaunchGameMain() { $.getJSON("/publisher/publisher_startGame.js", function (a) { if (a != null) switch (a[0].content_category) { case "1": a[0].progress_type != "1" ? NxLaunchGame() : alert(a[0].content_title); break; case "2": NxLaunchGame(); break; case "3": alert(a[0].content_title) } }) }
function LoadPTSPopupAJAX(a) { var b = a.split("<div id='userIsLoggedInAJAX'>"), b = b[1], b = b.split("</div>"), b = b[0]; b.toLowerCase(); b = a.split("<div id='userIsPTSWinnerAJAX'>"); b = b[1]; b = b.split("</div>"); b = b[0]; userIsPTSWinner = b.toLowerCase() == "true"; LoadPTSPopup() } function createCookie(a, b, d) { if (d) { var c = new Date; c.setTime(c.getTime() + d * 864E5); d = "; expires=" + c.toGMTString() } else d = ""; document.cookie = a + "=" + b + d + "; path=/" } var publisher_startGame = [{ content_category: "", content_title: "", content_text: "", progress_type: ""}];
function NxLaunchGame() { _gaq = typeof _gaq != "undefined" ? _gaq : []; _gaq.push(["sdt._trackEvent", "MSWebLaunch", "StartGame"]); _gaq.push(["cdt._trackEvent", "MSWebLaunch", "StartGame"]); nexon.play("33563155") } (function () { $("#m-play-loggedin").length === 0 ? setTimeout(arguments.callee, 5) : loadGlobalLoginBox() })(); $(function () { $("#m-play-loggedin").length === 0 && $("body").append('<div id="m-play-loggedin">'); loadGlobalNavDropDown(); loadGlobalFunStuffDropDown(); loadGlobalBackToTop(); loadGlobalNXLinks() });
