/* jquery.blockUI.min.js */ !function () { "use strict"; function setup($) { function install(el, opts) { var css, themedCSS, full = el == window, msg = opts && void 0 !== opts.message ? opts.message : void 0; if (opts = $.extend({}, $.blockUI.defaults, opts || {}), !opts.ignoreIfBlocked || !$(el).data("blockUI.isBlocked")) { if (opts.overlayCSS = $.extend({}, $.blockUI.defaults.overlayCSS, opts.overlayCSS || {}), css = $.extend({}, $.blockUI.defaults.css, opts.css || {}), opts.onOverlayClick && (opts.overlayCSS.cursor = "pointer"), themedCSS = $.extend({}, $.blockUI.defaults.themedCSS, opts.themedCSS || {}), msg = void 0 === msg ? opts.message : msg, full && pageBlock && remove(window, { fadeOut: 0 }), msg && "string" != typeof msg && (msg.parentNode || msg.jquery)) { var node = msg.jquery ? msg[0] : msg, data = {}; $(el).data("blockUI.history", data), data.el = node, data.parent = node.parentNode, data.display = node.style.display, data.position = node.style.position, data.parent && data.parent.removeChild(node) } $(el).data("blockUI.onUnblock", opts.onUnblock); var lyr1, lyr2, lyr3, s, z = opts.baseZ; lyr1 = $(msie || opts.forceIframe ? '' : '
'), lyr2 = $(opts.theme ? '' : ''), opts.theme && full ? (s = ' ") : opts.theme ? (s = ' ") : s = full ? '' : '', lyr3 = $(s), msg && (opts.theme ? (lyr3.css(themedCSS), lyr3.addClass("ui-widget-content")) : lyr3.css(css)), opts.theme || lyr2.css(opts.overlayCSS), lyr2.css("position", full ? "fixed" : "absolute"), (msie || opts.forceIframe) && lyr1.css("opacity", 0); var layers = [lyr1, lyr2, lyr3], $par = $(full ? "body" : el); $.each(layers, function () { this.appendTo($par) }), opts.theme && opts.draggable && $.fn.draggable && lyr3.draggable({ handle: ".ui-dialog-titlebar", cancel: "li" }); var expr = setExpr && (!$.support.boxModel || $("object,embed", full ? null : el).length > 0); if (ie6 || expr) { if (full && opts.allowBodyStretch && $.support.boxModel && $("html,body").css("height", "100%"), (ie6 || !$.support.boxModel) && !full) var t = sz(el, "borderTopWidth"), l = sz(el, "borderLeftWidth"), fixT = t ? "(0 - " + t + ")" : 0, fixL = l ? "(0 - " + l + ")" : 0; $.each(layers, function (i, o) { var s = o[0].style; if (s.position = "absolute", 2 > i) full ? s.setExpression("height", "Math.max(document.body.scrollHeight, document.body.offsetHeight) - (jQuery.support.boxModel?0:" + opts.quirksmodeOffsetHack + ') + "px"') : s.setExpression("height", 'this.parentNode.offsetHeight + "px"'), full ? s.setExpression("width", 'jQuery.support.boxModel && document.documentElement.clientWidth || document.body.clientWidth + "px"') : s.setExpression("width", 'this.parentNode.offsetWidth + "px"'), fixL && s.setExpression("left", fixL), fixT && s.setExpression("top", fixT); else if (opts.centerY) full && s.setExpression("top", '(document.documentElement.clientHeight || document.body.clientHeight) / 2 - (this.offsetHeight / 2) + (blah = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"'), s.marginTop = 0; else if (!opts.centerY && full) { var top = opts.css && opts.css.top ? parseInt(opts.css.top, 10) : 0, expression = "((document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + " + top + ') + "px"'; s.setExpression("top", expression) } }) } if (msg && (opts.theme ? lyr3.find(".ui-widget-content").append(msg) : lyr3.append(msg), (msg.jquery || msg.nodeType) && $(msg).show()), (msie || opts.forceIframe) && opts.showOverlay && lyr1.show(), opts.fadeIn) { var cb = opts.onBlock ? opts.onBlock : noOp, cb1 = opts.showOverlay && !msg ? cb : noOp, cb2 = msg ? cb : noOp; opts.showOverlay && lyr2._fadeIn(opts.fadeIn, cb1), msg && lyr3._fadeIn(opts.fadeIn, cb2) } else opts.showOverlay && lyr2.show(), msg && lyr3.show(), opts.onBlock && opts.onBlock.bind(lyr3)(); if (bind(1, el, opts), full ? (pageBlock = lyr3[0], pageBlockEls = $(opts.focusableElements, pageBlock), opts.focusInput && setTimeout(focus, 20)) : center(lyr3[0], opts.centerX, opts.centerY), opts.timeout) { var to = setTimeout(function () { full ? $.unblockUI(opts) : $(el).unblock(opts) }, opts.timeout); $(el).data("blockUI.timeout", to) } } } function remove(el, opts) { var count, full = el == window, $el = $(el), data = $el.data("blockUI.history"), to = $el.data("blockUI.timeout"); to && (clearTimeout(to), $el.removeData("blockUI.timeout")), opts = $.extend({}, $.blockUI.defaults, opts || {}), bind(0, el, opts), null === opts.onUnblock && (opts.onUnblock = $el.data("blockUI.onUnblock"), $el.removeData("blockUI.onUnblock")); var els; els = full ? $("body").children().filter(".blockUI").add("body > .blockUI") : $el.find(">.blockUI"), opts.cursorReset && (els.length > 1 && (els[1].style.cursor = opts.cursorReset), els.length > 2 && (els[2].style.cursor = opts.cursorReset)), full && (pageBlock = pageBlockEls = null), opts.fadeOut ? (count = els.length, els.stop().fadeOut(opts.fadeOut, function () { 0 === --count && reset(els, data, opts, el) })) : reset(els, data, opts, el) } function reset(els, data, opts, el) { var $el = $(el); if (!$el.data("blockUI.isBlocked")) { els.each(function (i, o) { this.parentNode && this.parentNode.removeChild(this) }), data && data.el && (data.el.style.display = data.display, data.el.style.position = data.position, data.el.style.cursor = "default", data.parent && data.parent.appendChild(data.el), $el.removeData("blockUI.history")), $el.data("blockUI.static") && $el.css("position", "static"), "function" == typeof opts.onUnblock && opts.onUnblock(el, opts); var body = $(document.body), w = body.width(), cssW = body[0].style.width; body.width(w - 1).width(w), body[0].style.width = cssW } } function bind(b, el, opts) { var full = el == window, $el = $(el); if ((b || (!full || pageBlock) && (full || $el.data("blockUI.isBlocked"))) && ($el.data("blockUI.isBlocked", b), full && opts.bindEvents && (!b || opts.showOverlay))) { var events = "mousedown mouseup keydown keypress keyup touchstart touchend touchmove"; b ? $(document).bind(events, opts, handler) : $(document).unbind(events, handler) } } function handler(e) { if ("keydown" === e.type && e.keyCode && 9 == e.keyCode && pageBlock && e.data.constrainTabKey) { var els = pageBlockEls, fwd = !e.shiftKey && e.target === els[els.length - 1], back = e.shiftKey && e.target === els[0]; if (fwd || back) return setTimeout(function () { focus(back) }, 10), !1 } var opts = e.data, target = $(e.target); return target.hasClass("blockOverlay") && opts.onOverlayClick && opts.onOverlayClick(e), target.parents("div." + opts.blockMsgClass).length > 0 ? !0 : 0 === target.parents().children().filter("div.blockUI").length } function focus(back) { if (pageBlockEls) { var e = pageBlockEls[back === !0 ? pageBlockEls.length - 1 : 0]; e && e.focus() } } function center(el, x, y) { var p = el.parentNode, s = el.style, l = (p.offsetWidth - el.offsetWidth) / 2 - sz(p, "borderLeftWidth"), t = (p.offsetHeight - el.offsetHeight) / 2 - sz(p, "borderTopWidth"); x && (s.left = l > 0 ? l + "px" : "0"), y && (s.top = t > 0 ? t + "px" : "0") } function sz(el, p) { return parseInt($.css(el, p), 10) || 0 } $.fn._fadeIn = $.fn.fadeIn; var noOp = $.noop || function () { }, msie = /MSIE/.test(navigator.userAgent), ie6 = /MSIE 6.0/.test(navigator.userAgent) && !/MSIE 8.0/.test(navigator.userAgent), setExpr = (document.documentMode || 0, $.isFunction(document.createElement("div").style.setExpression)); $.blockUI = function (opts) { install(window, opts) }, $.unblockUI = function (opts) { remove(window, opts) }, $.growlUI = function (title, message, timeout, onClose) { var $m = $(''); title && $m.append("" + title + "
") }) } function showVideoContainer() { displayModalPanel("VideoContainer") } function showVideoContainer2() { displayModalPanel("VideoContainer2") } function showVideoContainer3() { displayModalPanel("VideoContainer3") } function showVideoContainer4() { displayModalPanel("VideoContainer4") } function showVideoContainer5() { displayModalPanel("VideoContainer5") } function showVideoContainer6() { displayModalPanel("VideoContainer6") } function HelpCenterMasterInit() { $(window).scroll(function () { if ($("a[name=comments]").length) { var distanceTop = $("a[name=comments]").offset().top - $(window).height(); $(window).scrollTop() > distanceTop ? ($("#PopupAlsoBlock").animate({ right: "0px" }, 200), $("#SeeAlsoBlock").html($("#SeeAlsoBlockLinks").html())) : $("#PopupAlsoBlock").stop(!0).animate({ right: "-430px" }, 100) } }), $("#PopupAlsoBlock .close").bind("click", function () { $(this).parent().remove() }) } function IndexPageInit(watermarkText, searchPath) { $("#navitem_help").attr("class", "navCurrentItem"), $("#txtSearch").Watermark(watermarkText, "#7A7A7A"), $("#txtSearch").unbind("keyup").bind("keyup", function (event) { return 13 == event.keyCode ? void Search(searchPath) : void 0 }), $("#SearchExample").click(function () { $("#txtSearch").val($("#SearchExample").text()), $("#txtSearch").focus(), Search(searchPath) }), $("#switcherMenu span").on("click", function () { var type = $(this).attr("data-name"), value = getCookie("type-menu"); $("[id$=ListMenu]").hide(), $("[id$=MainContent]").hide(), $("#switcherMenu span").removeClass("active"), $(this).addClass("active"), $("#" + type + "ListMenu").show(), $("#" + type + "MainContent").show(), value != type && setCookie("type-menu", type) }) } $(function () { $(".screenphoto").click(function () { $img = $("#" + $(this).attr("target")); var alt = $img.attr("alt"), path = $("#" + $(this).attr("target")).attr("src"); $("#scrHelpContent").html($("#scrHelpTemplate").tmpl({ CurScreen: path, curalt: alt })), $("#scrHelpContainer").width($img.width() + "px"), displayModalPanel("scrHelpContainer") }), $(".text-container-link").on("click", function () { $id = $("#" + $(this).attr("data-content")), $("#textHelpContent").html($id.html()), $("#textHelpContainer .tag_name").text($(this).text()), displayModalPanel("textHelpContainer") }) }); /* jquery.watermarkinput.min.js */ !function ($) { var map = new Array; $.Watermark = { ShowAll: function () { for (var i = 0; i < map.length; i++) "" == map[i].obj.val() ? (map[i].obj.val(map[i].text), map[i].obj.css("color", map[i].WatermarkColor)) : map[i].obj.css("color", map[i].DefaultColor) }, HideAll: function () { for (var i = 0; i < map.length; i++) map[i].obj.val() == map[i].text && map[i].obj.val("") } }, $.fn.Watermark = function (text, color) { return color || (color = "#aaa"), this.each(function () { function clearMessage() { input.val() == text && input.val(""), input.css("color", defaultColor) } function insertMessage() { 0 == input.val().length || input.val() == text ? (input.val(text), input.css("color", color)) : input.css("color", defaultColor) } var input = $(this), defaultColor = input.css("color"); map[map.length] = { text: text, obj: input, DefaultColor: defaultColor, WatermarkColor: color }, input.focus(clearMessage), input.blur(insertMessage), input.change(insertMessage), insertMessage() }) } }(jQuery); /* core/basemaster.init.min.js */ $(function () { LanguageSelectorManager.init(), $(document).keyup(function (event) { if ($(".blockUI").is(":visible")) { var code; if (!e) var e = event; e.keyCode ? code = e.keyCode : e.which && (code = e.which), 27 == code && $.unblockUI() } }) }); /* help/dropit.min.js */ !function ($) { $.fn.dropit = function (method) { var methods = { init: function (options) { return this.dropit.settings = $.extend({}, this.dropit.defaults, options), this.each(function () { var $el = $(this), settings = $.fn.dropit.settings; $el.addClass("dropit").find(">" + settings.triggerParentEl + ":has(" + settings.submenuEl + ")").addClass("dropit-trigger").find(settings.submenuEl).addClass("dropit-submenu").hide(), $el.off(settings.action).on(settings.action, settings.triggerParentEl + ":has(" + settings.submenuEl + ") > " + settings.triggerEl, function () { return "click" == settings.action && $(this).parents(settings.triggerParentEl).hasClass("dropit-open") ? (settings.beforeHide.call(this), $(this).parents(settings.triggerParentEl).removeClass("dropit-open").find(settings.submenuEl).hide(), settings.afterHide.call(this), !1) : (settings.beforeHide.call(this), $(".dropit-open").removeClass("dropit-open").find(".dropit-submenu").hide(), settings.afterHide.call(this), settings.beforeShow.call(this), $(this).parents(settings.triggerParentEl).addClass("dropit-open").find(settings.submenuEl).show(), settings.afterShow.call(this), !1) }), $(document).on("click", function () { settings.beforeHide.call(this), $(".dropit-open").removeClass("dropit-open").find(".dropit-submenu").hide(), settings.afterHide.call(this) }), "mouseenter" == settings.action && $el.on("mouseleave", ".dropit-open", function () { settings.beforeHide.call(this), $(this).removeClass("dropit-open").find(settings.submenuEl).hide(), settings.afterHide.call(this) }), settings.afterLoad.call(this) }) } }; return methods[method] ? methods[method].apply(this, Array.prototype.slice.call(arguments, 1)) : "object" != typeof method && method ? void $.error('Method "' + method + '" does not exist in dropit plugin!') : methods.init.apply(this, arguments) }, $.fn.dropit.defaults = { action: "click", submenuEl: "ul", triggerEl: "a", triggerParentEl: "li", afterLoad: function () { }, beforeShow: function () { }, afterShow: function () { }, beforeHide: function () { }, afterHide: function () { } }, $.fn.dropit.settings = {} }(jQuery); /* pushy.min.js */ !function (a) { function b() { g.hasClass(k) ? h.toggleClass(l) : h.toggleClass(m) } function c() { g.hasClass(k) ? (h.addClass(l), g.animate({ left: "0px" }, p), i.animate({ left: q }, p), j.animate({ left: q }, p)) : (h.addClass(m), g.animate({ right: "0px" }, p), i.animate({ right: q }, p), j.animate({ right: q }, p)) } function d() { g.hasClass(k) ? (h.removeClass(l), g.animate({ left: "-" + q }, p), i.animate({ left: "0px" }, p), j.animate({ left: "0px" }, p)) : (h.removeClass(m), g.animate({ right: "-" + q }, p), i.animate({ right: "0px" }, p), j.animate({ right: "0px" }, p)) } function e() { a(r).addClass(t), a(r).on("click", function () { var b = a(this); b.hasClass(t) ? (a(r).addClass(t).removeClass(s), b.removeClass(t).addClass(s)) : b.addClass(t).removeClass(s) }) } function f() { a(r).addClass(t), u.children("a").on("click", function (b) { b.preventDefault(), a(this).toggleClass(s).next(".pushy-submenu ul").slideToggle(200).end().parent(r).siblings(r).children("a").removeClass(s).next(".pushy-submenu ul").slideUp(200) }) } var g = a(".pushy"), h = a("body"), i = a("#container"), j = a(".push"), k = "pushy-left", l = "pushy-open-left", m = "pushy-open-right", n = a(".site-overlay"), o = a(".ham_menu, .pushy-link"), p = 200, q = g.width() + "px", r = ".pushy-submenu", s = "pushy-submenu-open", t = "pushy-submenu-closed", u = a(r), v = function () { var a = document.createElement("p"), b = !1, c = { webkitTransform: "-webkit-transform", OTransform: "-o-transform", msTransform: "-ms-transform", MozTransform: "-moz-transform", transform: "transform" }; document.body.insertBefore(a, null); for (var d in c) void 0 !== a.style[d] && (a.style[d] = "translate3d(1px,1px,1px)", b = window.getComputedStyle(a).getPropertyValue(c[d])); return document.body.removeChild(a), void 0 !== b && b.length > 0 && "none" !== b }(); if (v) g.css({ visibility: "visible" }), e(), o.on("click", function () { b() }), n.on("click", function () { b() }); else { h.addClass("no-csstransforms3d"), g.hasClass(k) ? g.css({ left: "-" + q }) : g.css({ right: "-" + q }), g.css({ visibility: "visible" }), i.css({ "overflow-x": "hidden" }); var w = !1; f(), o.on("click", function () { w ? (d(), w = !1) : (c(), w = !0) }), n.on("click", function () { w ? (d(), w = !1) : (c(), w = !0) }) } }(jQuery);