﻿/*
---- INCLUDED BELOW IS ----
jQuery JavaScript Library v1.4.4
http://jquery.com/

Copyright 2010, John Resig
Dual licensed under the MIT or GPL Version 2 licenses.
http://jquery.org/license

Includes Sizzle.js
http://sizzlejs.com/
Copyright 2010, The Dojo Foundation
Released under the MIT, BSD, and GPL Licenses.

Date: Thu Nov 11 19:04:53 2010 -0500

---- INCLUDED BELOW IS ----
SWFObject v2.2 <http://code.google.com/p/swfobject/> is released under the MIT License <http://www.opensource.org/licenses/mit-license.php>
[Used for video display]

---- INCLUDED BELOW IS ----
jQuery Context Menu Plugin 
Version 1.01
Cory S.N. LaViska
More info: http://abeautifulsite.net/2008/09/jquery-context-menu-plugin/ 
Plugin is dual-licensed under the GNU General Public License and the MIT License and is copyright A Beautiful Site, LLC 

---- INCLUDED BELOW IS ----
jQuery Mousewheel Plugin (jquery.mousewheel.js) 
Copyright (c) 2010 Brandon Aaron (http://brandonaaron.net)
Licensed under the MIT License.
Version: 3.0.4
More info: http://brandonaaron.net/code/mousewheel/docs

---- INCLUDED BELOW IS (MODIFIED) ----
jSwipe - jQuery Plugin
More info: http://plugins.jquery.com/project/swipe ~~ http://www.ryanscherf.com/demos/swipe/
Copyright (c) 2009 Ryan Scherf (www.ryanscherf.com)
Licensed under the MIT license
Version: 0.1.2

---- INCLUDED BELOW IS (MODIFIED) ----
WP Audio Player 
More info: http://wpaudioplayer.com/
Copyright (c) 2008 Martin Laine
Licensed under the MIT license - http://wpaudioplayer.com/license/

---- OVERALL SCRIPT IS ----
DWUser.com EasyRotator script
(c) Copyright 2010-2011 DWUser.com, All Rights Reserved
More info: http://www.dwuser.com/easyrotator/
Update #062211.29

*/
var er_jQueryOrig = window.jQuery;
(function (i, G) {
    function Qa(a, b, d) { if (d === G && a.nodeType === 1) { d = a.getAttribute("data-" + b); if (typeof d === "string") { try { d = d === "true" ? true : d === "false" ? false : d === "null" ? null : !c.isNaN(d) ? parseFloat(d) : Xa.test(d) ? c.parseJSON(d) : d } catch (e) { } c.data(a, b, d) } else d = G } return d } function cb() { return false } function nb() { return true } function rb(a, b, d) { d[0].type = a; return c.event.handle.apply(b, d) } function p(a) {
        var b, d, e, f, h, o, n, v, ba, I, ka, za = []; f = []; h = c.data(this, this.nodeType ? "events" : "__events__"); if (typeof h === "function") h =
h.events; if (!(a.liveFired === this || !h || !h.live || a.button && a.type === "click")) {
            if (a.namespace) ka = RegExp("(^|\\.)" + a.namespace.split(".").join("\\.(?:.*\\.)?") + "(\\.|$)"); a.liveFired = this; var Ta = h.live.slice(0); for (n = 0; n < Ta.length; n++) { h = Ta[n]; h.origType.replace(Za, "") === a.type ? f.push(h.selector) : Ta.splice(n--, 1) } f = c(a.target).closest(f, a.currentTarget); v = 0; for (ba = f.length; v < ba; v++) {
                I = f[v]; for (n = 0; n < Ta.length; n++) {
                    h = Ta[n]; if (I.selector === h.selector && (!ka || ka.test(h.namespace))) {
                        o = I.elem; e = null; if (h.preType ===
"mouseenter" || h.preType === "mouseleave") { a.type = h.preType; e = c(a.relatedTarget).closest(h.selector)[0] } if (!e || e !== o) za.push({ elem: o, handleObj: h, level: I.level })
                    }
                }
            } v = 0; for (ba = za.length; v < ba; v++) { f = za[v]; if (d && f.level > d) break; a.currentTarget = f.elem; a.data = f.handleObj.data; a.handleObj = f.handleObj; ka = f.handleObj.origHandler.apply(f.elem, arguments); if (ka === false || a.isPropagationStopped()) { d = f.level; if (ka === false) b = false; if (a.isImmediatePropagationStopped()) break } } return b
        }
    } function P(a, b) {
        return (a && a !== "*" ?
a + "." : "") + b.replace(sb, "`").replace(tb, "&")
    } function Y(a, b, d) { if (c.isFunction(b)) return c.grep(a, function (f, h) { return !!b.call(f, h, f) === d }); else if (b.nodeType) return c.grep(a, function (f) { return f === b === d }); else if (typeof b === "string") { var e = c.grep(a, function (f) { return f.nodeType === 1 }); if (F.test(b)) return c.filter(b, e, !d); else b = c.filter(b, e) } return c.grep(a, function (f) { return c.inArray(f, b) >= 0 === d }) } function qa(a, b) {
        var d = 0; b.each(function () {
            if (this.nodeName === (a[d] && a[d].nodeName)) {
                var e = c.data(a[d++]),
f = c.data(this, e); if (e = e && e.events) { delete f.handle; f.events = {}; for (var h in e) for (var o in e[h]) c.event.add(this, h, e[h][o], e[h][o].data) }
            }
        })
    } function ua(a, b) { b.src ? c.ajax({ url: b.src, async: false, dataType: "script" }) : c.globalEval(b.text || b.textContent || b.innerHTML || ""); b.parentNode && b.parentNode.removeChild(b) } function Ga(a, b, d) {
        var e = b === "width" ? a.offsetWidth : a.offsetHeight; if (d === "border") return e; c.each(b === "width" ? Na : Ra, function () {
            d || (e -= parseFloat(c.css(a, "padding" + this)) || 0); if (d === "margin") e +=
parseFloat(c.css(a, "margin" + this)) || 0; else e -= parseFloat(c.css(a, "border" + this + "Width")) || 0
        }); return e
    } function la(a, b, d, e) { if (c.isArray(b) && b.length) c.each(b, function (f, h) { d || D.test(a) ? e(a, h) : la(a + "[" + (typeof h === "object" || c.isArray(h) ? f : "") + "]", h, d, e) }); else if (!d && b != null && typeof b === "object") c.isEmptyObject(b) ? e(a, "") : c.each(b, function (f, h) { la(a + "[" + f + "]", h, d, e) }); else e(a, b) } function y(a, b) { var d = {}; c.each(va.concat.apply([], va.slice(0, b)), function () { d[this] = a }); return d } function ja(a) {
        if (!ma[a]) {
            var b =
c("<" + a + ">").appendTo("body"), d = b.css("display"); b.remove(); if (d === "none" || d === "") d = "block"; ma[a] = d
        } return ma[a]
    } function Ha(a) { return c.isWindow(a) ? a : a.nodeType === 9 ? a.defaultView || a.parentWindow : false } var C = i.document, c = function () {
        function a() { if (!b.isReady) { try { C.documentElement.doScroll("left") } catch (m) { setTimeout(a, 1); return } b.ready() } } var b = function (m, J) { return new b.fn.init(m, J) }, d = i.jQuery, e = i.$, f, h = /^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]+)$)/, o = /\S/, n = /^\s+/, v = /\s+$/, ba = /\W/, I = /\d/, ka = /^<(\w+)\s*\/?>(?:<\/\1>)?$/,
za = /^[\],:{}\s]*$/, Ta = /\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g, U = /"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g, Sa = /(?:^|:|,)(?:\s*\[)+/g, gb = /(webkit)[ \/]([\w.]+)/, g = /(opera)(?:.*version)?[ \/]([\w.]+)/, k = /(msie) ([\w.]+)/, u = /(mozilla)(?:.*? rv:([\w.]+))?/, t = navigator.userAgent, z = false, A = [], R, ca = Object.prototype.toString, Ka = Object.prototype.hasOwnProperty, hb = Array.prototype.push, jb = Array.prototype.slice, kb = String.prototype.trim, Ea = Array.prototype.indexOf, ub = {}; b.fn = b.prototype = { init: function (m,
J) {
    var S, ea, Oa; if (!m) return this; if (m.nodeType) { this.context = this[0] = m; this.length = 1; return this } if (m === "body" && !J && C.body) { this.context = C; this[0] = C.body; this.selector = "body"; this.length = 1; return this } if (typeof m === "string") if ((S = h.exec(m)) && (S[1] || !J)) if (S[1]) {
        Oa = J ? J.ownerDocument || J : C; if (ea = ka.exec(m)) if (b.isPlainObject(J)) { m = [C.createElement(ea[1])]; b.fn.attr.call(m, J, true) } else m = [Oa.createElement(ea[1])]; else { ea = b.buildFragment([S[1]], [Oa]); m = (ea.cacheable ? ea.fragment.cloneNode(true) : ea.fragment).childNodes } return b.merge(this,
m)
    } else { if ((ea = C.getElementById(S[2])) && ea.parentNode) { if (ea.id !== S[2]) return f.find(m); this.length = 1; this[0] = ea } this.context = C; this.selector = m; return this } else if (!J && !ba.test(m)) { this.selector = m; this.context = C; m = C.getElementsByTagName(m); return b.merge(this, m) } else return !J || J.jquery ? (J || f).find(m) : b(J).find(m); else if (b.isFunction(m)) return f.ready(m); if (m.selector !== G) { this.selector = m.selector; this.context = m.context } return b.makeArray(m, this)
}, selector: "", jquery: "1.4.4", length: 0, size: function () { return this.length },
    toArray: function () { return jb.call(this, 0) }, get: function (m) { return m == null ? this.toArray() : m < 0 ? this.slice(m)[0] : this[m] }, pushStack: function (m, J, S) { var ea = b(); b.isArray(m) ? hb.apply(ea, m) : b.merge(ea, m); ea.prevObject = this; ea.context = this.context; if (J === "find") ea.selector = this.selector + (this.selector ? " " : "") + S; else if (J) ea.selector = this.selector + "." + J + "(" + S + ")"; return ea }, each: function (m, J) { return b.each(this, m, J) }, ready: function (m) { b.bindReady(); if (b.isReady) m.call(C, b); else A && A.push(m); return this },
    eq: function (m) { return m === -1 ? this.slice(m) : this.slice(m, +m + 1) }, first: function () { return this.eq(0) }, last: function () { return this.eq(-1) }, slice: function () { return this.pushStack(jb.apply(this, arguments), "slice", jb.call(arguments).join(",")) }, map: function (m) { return this.pushStack(b.map(this, function (J, S) { return m.call(J, S, J) })) }, end: function () { return this.prevObject || b(null) }, push: hb, sort: [].sort, splice: [].splice
}; b.fn.init.prototype = b.fn; b.extend = b.fn.extend = function () {
    var m, J, S, ea, Oa, La = arguments[0] ||
{}, db = 1, mb = arguments.length, xb = false; if (typeof La === "boolean") { xb = La; La = arguments[1] || {}; db = 2 } if (typeof La !== "object" && !b.isFunction(La)) La = {}; if (mb === db) { La = this; --db } for (; db < mb; db++) if ((m = arguments[db]) != null) for (J in m) { S = La[J]; ea = m[J]; if (La !== ea) if (xb && ea && (b.isPlainObject(ea) || (Oa = b.isArray(ea)))) { if (Oa) { Oa = false; S = S && b.isArray(S) ? S : [] } else S = S && b.isPlainObject(S) ? S : {}; La[J] = b.extend(xb, S, ea) } else if (ea !== G) La[J] = ea } return La
}; b.extend({ noConflict: function (m) { i.$ = e; if (m) i.jQuery = d; return b },
    isReady: false, readyWait: 1, ready: function (m) { m === true && b.readyWait--; if (!b.readyWait || m !== true && !b.isReady) { if (!C.body) return setTimeout(b.ready, 1); b.isReady = true; if (!(m !== true && --b.readyWait > 0)) if (A) { var J = 0, S = A; for (A = null; m = S[J++]; ) m.call(C, b); b.fn.trigger && b(C).trigger("ready").unbind("ready") } } }, bindReady: function () {
        if (!z) {
            z = true; if (C.readyState === "complete") return setTimeout(b.ready, 1); if (C.addEventListener) { C.addEventListener("DOMContentLoaded", R, false); i.addEventListener("load", b.ready, false) } else if (C.attachEvent) {
                C.attachEvent("onreadystatechange",
R); i.attachEvent("onload", b.ready); var m = false; try { m = i.frameElement == null } catch (J) { } C.documentElement.doScroll && m && a()
            }
        }
    }, isFunction: function (m) { return b.type(m) === "function" }, isArray: Array.isArray || function (m) { return b.type(m) === "array" }, isWindow: function (m) { return m && typeof m === "object" && "setInterval" in m }, isNaN: function (m) { return m == null || !I.test(m) || isNaN(m) }, type: function (m) { return m == null ? String(m) : ub[ca.call(m)] || "object" }, isPlainObject: function (m) {
        if (!m || b.type(m) !== "object" || m.nodeType ||
b.isWindow(m)) return false; if (m.constructor && !Ka.call(m, "constructor") && !Ka.call(m.constructor.prototype, "isPrototypeOf")) return false; for (var J in m); return J === G || Ka.call(m, J)
    }, isEmptyObject: function (m) { for (var J in m) return false; return true }, error: function (m) { throw m; }, parseJSON: function (m) {
        if (typeof m !== "string" || !m) return null; m = b.trim(m); if (za.test(m.replace(Ta, "@").replace(U, "]").replace(Sa, ""))) return i.JSON && i.JSON.parse ? i.JSON.parse(m) : (new Function("return " + m))(); else b.error("Invalid JSON: " +
m)
    }, noop: function () { }, globalEval: function (m) { if (m && o.test(m)) { var J = C.getElementsByTagName("head")[0] || C.documentElement, S = C.createElement("script"); S.type = "text/javascript"; if (b.support.scriptEval) S.appendChild(C.createTextNode(m)); else S.text = m; J.insertBefore(S, J.firstChild); J.removeChild(S) } }, nodeName: function (m, J) { return m.nodeName && m.nodeName.toUpperCase() === J.toUpperCase() }, each: function (m, J, S) {
        var ea, Oa = 0, La = m.length, db = La === G || b.isFunction(m); if (S) if (db) for (ea in m) {
            if (J.apply(m[ea], S) ===
false) break
        } else for (; Oa < La; ) { if (J.apply(m[Oa++], S) === false) break } else if (db) for (ea in m) { if (J.call(m[ea], ea, m[ea]) === false) break } else for (S = m[0]; Oa < La && J.call(S, Oa, S) !== false; S = m[++Oa]); return m
    }, trim: kb ? function (m) { return m == null ? "" : kb.call(m) } : function (m) { return m == null ? "" : m.toString().replace(n, "").replace(v, "") }, makeArray: function (m, J) { var S = J || []; if (m != null) { var ea = b.type(m); m.length == null || ea === "string" || ea === "function" || ea === "regexp" || b.isWindow(m) ? hb.call(S, m) : b.merge(S, m) } return S }, inArray: function (m,
J) { if (J.indexOf) return J.indexOf(m); for (var S = 0, ea = J.length; S < ea; S++) if (J[S] === m) return S; return -1 }, merge: function (m, J) { var S = m.length, ea = 0; if (typeof J.length === "number") for (var Oa = J.length; ea < Oa; ea++) m[S++] = J[ea]; else for (; J[ea] !== G; ) m[S++] = J[ea++]; m.length = S; return m }, grep: function (m, J, S) { var ea = [], Oa; S = !!S; for (var La = 0, db = m.length; La < db; La++) { Oa = !!J(m[La], La); S !== Oa && ea.push(m[La]) } return ea }, map: function (m, J, S) {
    for (var ea = [], Oa, La = 0, db = m.length; La < db; La++) {
        Oa = J(m[La], La, S); if (Oa != null) ea[ea.length] =
Oa
    } return ea.concat.apply([], ea)
}, guid: 1, proxy: function (m, J, S) { if (arguments.length === 2) if (typeof J === "string") { S = m; m = S[J]; J = G } else if (J && !b.isFunction(J)) { S = J; J = G } if (!J && m) J = function () { return m.apply(S || this, arguments) }; if (m) J.guid = m.guid = m.guid || J.guid || b.guid++; return J }, access: function (m, J, S, ea, Oa, La) {
    var db = m.length; if (typeof J === "object") { for (var mb in J) b.access(m, mb, J[mb], ea, Oa, S); return m } if (S !== G) {
        ea = !La && ea && b.isFunction(S); for (mb = 0; mb < db; mb++) Oa(m[mb], J, ea ? S.call(m[mb], mb, Oa(m[mb], J)) :
S, La); return m
    } return db ? Oa(m[0], J) : G
}, now: function () { return (new Date).getTime() }, uaMatch: function (m) { m = m.toLowerCase(); m = gb.exec(m) || g.exec(m) || k.exec(m) || m.indexOf("compatible") < 0 && u.exec(m) || []; return { browser: m[1] || "", version: m[2] || "0"} }, browser: {}
}); b.each("Boolean Number String Function Array Date RegExp Object".split(" "), function (m, J) { ub["[object " + J + "]"] = J.toLowerCase() }); t = b.uaMatch(t); if (t.browser) { b.browser[t.browser] = true; b.browser.version = t.version } if (b.browser.webkit) b.browser.safari =
true; if (Ea) b.inArray = function (m, J) { return Ea.call(J, m) }; if (!/\s/.test("\u00a0")) { n = /^[\s\xA0]+/; v = /[\s\xA0]+$/ } f = b(C); if (C.addEventListener) R = function () { C.removeEventListener("DOMContentLoaded", R, false); b.ready() }; else if (C.attachEvent) R = function () { if (C.readyState === "complete") { C.detachEvent("onreadystatechange", R); b.ready() } }; return i.jQuery = i.$ = b
    } (); (function () {
        c.support = {}; var a = C.documentElement, b = C.createElement("script"), d = C.createElement("div"), e = "script" + c.now(); d.style.display = "none"; d.innerHTML =
"   <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>"; var f = d.getElementsByTagName("*"), h = d.getElementsByTagName("a")[0], o = C.createElement("select"), n = o.appendChild(C.createElement("option")); if (!(!f || !f.length || !h)) {
            c.support = { leadingWhitespace: d.firstChild.nodeType === 3, tbody: !d.getElementsByTagName("tbody").length, htmlSerialize: !!d.getElementsByTagName("link").length, style: /red/.test(h.getAttribute("style")), hrefNormalized: h.getAttribute("href") ===
"/a", opacity: /^0.55$/.test(h.style.opacity), cssFloat: !!h.style.cssFloat, checkOn: d.getElementsByTagName("input")[0].value === "on", optSelected: n.selected, deleteExpando: true, optDisabled: false, checkClone: false, scriptEval: false, noCloneEvent: true, boxModel: null, inlineBlockNeedsLayout: false, shrinkWrapBlocks: false, reliableHiddenOffsets: true
            }; o.disabled = true; c.support.optDisabled = !n.disabled; b.type = "text/javascript"; try { b.appendChild(C.createTextNode("window." + e + "=1;")) } catch (v) { } a.insertBefore(b, a.firstChild);
            if (i[e]) { c.support.scriptEval = true; delete i[e] } try { delete b.test } catch (ba) { c.support.deleteExpando = false } a.removeChild(b); if (d.attachEvent && d.fireEvent) { d.attachEvent("onclick", function I() { c.support.noCloneEvent = false; d.detachEvent("onclick", I) }); d.cloneNode(true).fireEvent("onclick") } d = C.createElement("div"); d.innerHTML = "<input type='radio' name='radiotest' checked='checked'/>"; a = C.createDocumentFragment(); a.appendChild(d.firstChild); c.support.checkClone = a.cloneNode(true).cloneNode(true).lastChild.checked;
            c(function () {
                var I = C.createElement("div"); I.style.width = I.style.paddingLeft = "1px"; C.body.appendChild(I); c.boxModel = c.support.boxModel = I.offsetWidth === 2; if ("zoom" in I.style) { I.style.display = "inline"; I.style.zoom = 1; c.support.inlineBlockNeedsLayout = I.offsetWidth === 2; I.style.display = ""; I.innerHTML = "<div style='width:4px;'></div>"; c.support.shrinkWrapBlocks = I.offsetWidth !== 2 } I.innerHTML = "<table><tr><td style='padding:0;display:none'></td><td>t</td></tr></table>"; var ka = I.getElementsByTagName("td"); c.support.reliableHiddenOffsets =
ka[0].offsetHeight === 0; ka[0].style.display = ""; ka[1].style.display = "none"; c.support.reliableHiddenOffsets = c.support.reliableHiddenOffsets && ka[0].offsetHeight === 0; I.innerHTML = ""; C.body.removeChild(I).style.display = "none"
            }); a = function (I) { var ka = C.createElement("div"); I = "on" + I; var za = I in ka; if (!za) { ka.setAttribute(I, "return;"); za = typeof ka[I] === "function" } return za }; c.support.submitBubbles = a("submit"); c.support.changeBubbles = a("change"); a = b = d = f = h = null
        }
    })(); var fa = {}, Xa = /^(?:\{.*\}|\[.*\])$/; c.extend({ cache: {},
        uuid: 0, expando: "jQuery" + c.now(), noData: { embed: true, object: "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000", applet: true }, data: function (a, b, d) { if (c.acceptData(a)) { a = a == i ? fa : a; var e = a.nodeType, f = e ? a[c.expando] : null, h = c.cache; if (!(e && !f && typeof b === "string" && d === G)) { if (e) f || (a[c.expando] = f = ++c.uuid); else h = a; if (typeof b === "object") if (e) h[f] = c.extend(h[f], b); else c.extend(h, b); else if (e && !h[f]) h[f] = {}; a = e ? h[f] : h; if (d !== G) a[b] = d; return typeof b === "string" ? a[b] : a } } }, removeData: function (a, b) {
            if (c.acceptData(a)) {
                a =
a == i ? fa : a; var d = a.nodeType, e = d ? a[c.expando] : a, f = c.cache, h = d ? f[e] : e; if (b) { if (h) { delete h[b]; d && c.isEmptyObject(h) && c.removeData(a) } } else if (d && c.support.deleteExpando) delete a[c.expando]; else if (a.removeAttribute) a.removeAttribute(c.expando); else if (d) delete f[e]; else for (var o in a) delete a[o]
            }
        }, acceptData: function (a) { if (a.nodeName) { var b = c.noData[a.nodeName.toLowerCase()]; if (b) return !(b === true || a.getAttribute("classid") !== b) } return true }
    }); c.fn.extend({ data: function (a, b) {
        var d = null; if (typeof a ===
"undefined") { if (this.length) { var e = this[0].attributes, f; d = c.data(this[0]); for (var h = 0, o = e.length; h < o; h++) { f = e[h].name; if (f.indexOf("data-") === 0) { f = f.substr(5); Qa(this[0], f, d[f]) } } } return d } else if (typeof a === "object") return this.each(function () { c.data(this, a) }); var n = a.split("."); n[1] = n[1] ? "." + n[1] : ""; if (b === G) { d = this.triggerHandler("getData" + n[1] + "!", [n[0]]); if (d === G && this.length) { d = c.data(this[0], a); d = Qa(this[0], a, d) } return d === G && n[1] ? this.data(n[0]) : d } else return this.each(function () {
    var v = c(this),
ba = [n[0], b]; v.triggerHandler("setData" + n[1] + "!", ba); c.data(this, a, b); v.triggerHandler("changeData" + n[1] + "!", ba)
})
    }, removeData: function (a) { return this.each(function () { c.removeData(this, a) }) }
    }); c.extend({ queue: function (a, b, d) { if (a) { b = (b || "fx") + "queue"; var e = c.data(a, b); if (!d) return e || []; if (!e || c.isArray(d)) e = c.data(a, b, c.makeArray(d)); else e.push(d); return e } }, dequeue: function (a, b) {
        b = b || "fx"; var d = c.queue(a, b), e = d.shift(); if (e === "inprogress") e = d.shift(); if (e) {
            b === "fx" && d.unshift("inprogress"); e.call(a,
function () { c.dequeue(a, b) })
        }
    }
    }); c.fn.extend({ queue: function (a, b) { if (typeof a !== "string") { b = a; a = "fx" } if (b === G) return c.queue(this[0], a); return this.each(function () { var d = c.queue(this, a, b); a === "fx" && d[0] !== "inprogress" && c.dequeue(this, a) }) }, dequeue: function (a) { return this.each(function () { c.dequeue(this, a) }) }, delay: function (a, b) { a = c.fx ? c.fx.speeds[a] || a : a; b = b || "fx"; return this.queue(b, function () { var d = this; setTimeout(function () { c.dequeue(d, b) }, a) }) }, clearQueue: function (a) { return this.queue(a || "fx", []) } });
    var eb = /[\n\t]/g, pb = /\s+/, $a = /\r/g, ia = /^(?:href|src|style)$/, Ua = /^(?:button|input)$/i, ob = /^(?:button|input|object|select|textarea)$/i, ib = /^a(?:rea)?$/i, ab = /^(?:radio|checkbox)$/i; c.props = { "for": "htmlFor", "class": "className", readonly: "readOnly", maxlength: "maxLength", cellspacing: "cellSpacing", rowspan: "rowSpan", colspan: "colSpan", tabindex: "tabIndex", usemap: "useMap", frameborder: "frameBorder" }; c.fn.extend({ attr: function (a, b) { return c.access(this, a, b, true, c.attr) }, removeAttr: function (a) {
        return this.each(function () {
            c.attr(this,
a, ""); this.nodeType === 1 && this.removeAttribute(a)
        })
    }, addClass: function (a) { if (c.isFunction(a)) return this.each(function (ba) { var I = c(this); I.addClass(a.call(this, ba, I.attr("class"))) }); if (a && typeof a === "string") for (var b = (a || "").split(pb), d = 0, e = this.length; d < e; d++) { var f = this[d]; if (f.nodeType === 1) if (f.className) { for (var h = " " + f.className + " ", o = f.className, n = 0, v = b.length; n < v; n++) if (h.indexOf(" " + b[n] + " ") < 0) o += " " + b[n]; f.className = c.trim(o) } else f.className = a } return this }, removeClass: function (a) {
        if (c.isFunction(a)) return this.each(function (v) {
            var ba =
c(this); ba.removeClass(a.call(this, v, ba.attr("class")))
        }); if (a && typeof a === "string" || a === G) for (var b = (a || "").split(pb), d = 0, e = this.length; d < e; d++) { var f = this[d]; if (f.nodeType === 1 && f.className) if (a) { for (var h = (" " + f.className + " ").replace(eb, " "), o = 0, n = b.length; o < n; o++) h = h.replace(" " + b[o] + " ", " "); f.className = c.trim(h) } else f.className = "" } return this
    }, toggleClass: function (a, b) {
        var d = typeof a, e = typeof b === "boolean"; if (c.isFunction(a)) return this.each(function (f) {
            var h = c(this); h.toggleClass(a.call(this,
f, h.attr("class"), b), b)
        }); return this.each(function () { if (d === "string") for (var f, h = 0, o = c(this), n = b, v = a.split(pb); f = v[h++]; ) { n = e ? n : !o.hasClass(f); o[n ? "addClass" : "removeClass"](f) } else if (d === "undefined" || d === "boolean") { this.className && c.data(this, "__className__", this.className); this.className = this.className || a === false ? "" : c.data(this, "__className__") || "" } })
    }, hasClass: function (a) { a = " " + a + " "; for (var b = 0, d = this.length; b < d; b++) if ((" " + this[b].className + " ").replace(eb, " ").indexOf(a) > -1) return true; return false },
        val: function (a) {
            if (!arguments.length) {
                var b = this[0]; if (b) {
                    if (c.nodeName(b, "option")) { var d = b.attributes.value; return !d || d.specified ? b.value : b.text } if (c.nodeName(b, "select")) { var e = b.selectedIndex; d = []; var f = b.options; b = b.type === "select-one"; if (e < 0) return null; var h = b ? e : 0; for (e = b ? e + 1 : f.length; h < e; h++) { var o = f[h]; if (o.selected && (c.support.optDisabled ? !o.disabled : o.getAttribute("disabled") === null) && (!o.parentNode.disabled || !c.nodeName(o.parentNode, "optgroup"))) { a = c(o).val(); if (b) return a; d.push(a) } } return d } if (ab.test(b.type) &&
!c.support.checkOn) return b.getAttribute("value") === null ? "on" : b.value; return (b.value || "").replace($a, "")
                } return G
            } var n = c.isFunction(a); return this.each(function (v) {
                var ba = c(this), I = a; if (this.nodeType === 1) {
                    if (n) I = a.call(this, v, ba.val()); if (I == null) I = ""; else if (typeof I === "number") I += ""; else if (c.isArray(I)) I = c.map(I, function (za) { return za == null ? "" : za + "" }); if (c.isArray(I) && ab.test(this.type)) this.checked = c.inArray(ba.val(), I) >= 0; else if (c.nodeName(this, "select")) {
                        var ka = c.makeArray(I); c("option", this).each(function () {
                            this.selected =
c.inArray(c(this).val(), ka) >= 0
                        }); if (!ka.length) this.selectedIndex = -1
                    } else this.value = I
                }
            })
        }
    }); c.extend({ attrFn: { val: true, css: true, html: true, text: true, data: true, width: true, height: true, offset: true }, attr: function (a, b, d, e) {
        if (!a || a.nodeType === 3 || a.nodeType === 8) return G; if (e && b in c.attrFn) return c(a)[b](d); e = a.nodeType !== 1 || !c.isXMLDoc(a); var f = d !== G; b = e && c.props[b] || b; var h = ia.test(b); if ((b in a || a[b] !== G) && e && !h) {
            if (f) {
                b === "type" && Ua.test(a.nodeName) && a.parentNode && c.error("type property can't be changed");
                if (d === null) a.nodeType === 1 && a.removeAttribute(b); else a[b] = d
            } if (c.nodeName(a, "form") && a.getAttributeNode(b)) return a.getAttributeNode(b).nodeValue; if (b === "tabIndex") return (b = a.getAttributeNode("tabIndex")) && b.specified ? b.value : ob.test(a.nodeName) || ib.test(a.nodeName) && a.href ? 0 : G; return a[b]
        } if (!c.support.style && e && b === "style") { if (f) a.style.cssText = "" + d; return a.style.cssText } f && a.setAttribute(b, "" + d); if (!a.attributes[b] && a.hasAttribute && !a.hasAttribute(b)) return G; a = !c.support.hrefNormalized && e &&
h ? a.getAttribute(b, 2) : a.getAttribute(b); return a === null ? G : a
    }
    }); var Za = /\.(.*)$/, lb = /^(?:textarea|input|select)$/i, sb = /\./g, tb = / /g, vb = /[^\w\s.|`]/g, wb = function (a) { return a.replace(vb, "\\$&") }, fb = { focusin: 0, focusout: 0 }; c.event = { add: function (a, b, d, e) {
        if (!(a.nodeType === 3 || a.nodeType === 8)) {
            if (c.isWindow(a) && a !== i && !a.frameElement) a = i; if (d === false) d = cb; else if (!d) return; var f, h; if (d.handler) { f = d; d = f.handler } if (!d.guid) d.guid = c.guid++; if (h = c.data(a)) {
                var o = a.nodeType ? "events" : "__events__", n = h[o], v = h.handle;
                if (typeof n === "function") { v = n.handle; n = n.events } else if (!n) { a.nodeType || (h[o] = h = function () { }); h.events = n = {} } if (!v) h.handle = v = function () { return typeof c !== "undefined" && !c.event.triggered ? c.event.handle.apply(v.elem, arguments) : G }; v.elem = a; b = b.split(" "); for (var ba = 0, I; o = b[ba++]; ) {
                    h = f ? c.extend({}, f) : { handler: d, data: e }; if (o.indexOf(".") > -1) { I = o.split("."); o = I.shift(); h.namespace = I.slice(0).sort().join(".") } else { I = []; h.namespace = "" } h.type = o; if (!h.guid) h.guid = d.guid; var ka = n[o], za = c.event.special[o] || {};
                    if (!ka) { ka = n[o] = []; if (!za.setup || za.setup.call(a, e, I, v) === false) if (a.addEventListener) a.addEventListener(o, v, false); else a.attachEvent && a.attachEvent("on" + o, v) } if (za.add) { za.add.call(a, h); if (!h.handler.guid) h.handler.guid = d.guid } ka.push(h); c.event.global[o] = true
                } a = null
            }
        }
    }, global: {}, remove: function (a, b, d, e) {
        if (!(a.nodeType === 3 || a.nodeType === 8)) {
            if (d === false) d = cb; var f, h, o = 0, n, v, ba, I, ka, za, Ta = a.nodeType ? "events" : "__events__", U = c.data(a), Sa = U && U[Ta]; if (U && Sa) {
                if (typeof Sa === "function") { U = Sa; Sa = Sa.events } if (b &&
b.type) { d = b.handler; b = b.type } if (!b || typeof b === "string" && b.charAt(0) === ".") { b = b || ""; for (f in Sa) c.event.remove(a, f + b) } else {
                    for (b = b.split(" "); f = b[o++]; ) {
                        I = f; n = f.indexOf(".") < 0; v = []; if (!n) { v = f.split("."); f = v.shift(); ba = RegExp("(^|\\.)" + c.map(v.slice(0).sort(), wb).join("\\.(?:.*\\.)?") + "(\\.|$)") } if (ka = Sa[f]) if (d) {
                            I = c.event.special[f] || {}; for (h = e || 0; h < ka.length; h++) { za = ka[h]; if (d.guid === za.guid) { if (n || ba.test(za.namespace)) { e == null && ka.splice(h--, 1); I.remove && I.remove.call(a, za) } if (e != null) break } } if (ka.length ===
0 || e != null && ka.length === 1) { if (!I.teardown || I.teardown.call(a, v) === false) c.removeEvent(a, f, U.handle); delete Sa[f] }
                        } else for (h = 0; h < ka.length; h++) { za = ka[h]; if (n || ba.test(za.namespace)) { c.event.remove(a, I, za.handler, h); ka.splice(h--, 1) } }
                    } if (c.isEmptyObject(Sa)) { if (b = U.handle) b.elem = null; delete U.events; delete U.handle; if (typeof U === "function") c.removeData(a, Ta); else c.isEmptyObject(U) && c.removeData(a) }
                }
            }
        }
    }, trigger: function (a, b, d, e) {
        var f = a.type || a; if (!e) {
            a = typeof a === "object" ? a[c.expando] ? a : c.extend(c.Event(f),
a) : c.Event(f); if (f.indexOf("!") >= 0) { a.type = f = f.slice(0, -1); a.exclusive = true } if (!d) { a.stopPropagation(); c.event.global[f] && c.each(c.cache, function () { this.events && this.events[f] && c.event.trigger(a, b, this.handle.elem) }) } if (!d || d.nodeType === 3 || d.nodeType === 8) return G; a.result = G; a.target = d; b = c.makeArray(b); b.unshift(a)
        } a.currentTarget = d; (e = d.nodeType ? c.data(d, "handle") : (c.data(d, "__events__") || {}).handle) && e.apply(d, b); e = d.parentNode || d.ownerDocument; try {
            if (!(d && d.nodeName && c.noData[d.nodeName.toLowerCase()])) if (d["on" +
f] && d["on" + f].apply(d, b) === false) { a.result = false; a.preventDefault() }
        } catch (h) { } if (!a.isPropagationStopped() && e) c.event.trigger(a, b, e, true); else if (!a.isDefaultPrevented()) { var o; e = a.target; var n = f.replace(Za, ""), v = c.nodeName(e, "a") && n === "click", ba = c.event.special[n] || {}; if ((!ba._default || ba._default.call(d, a) === false) && !v && !(e && e.nodeName && c.noData[e.nodeName.toLowerCase()])) { try { if (e[n]) { if (o = e["on" + n]) e["on" + n] = null; c.event.triggered = true; e[n]() } } catch (I) { } if (o) e["on" + n] = o; c.event.triggered = false } }
    },
        handle: function (a) {
            var b, d, e, f; d = []; var h = c.makeArray(arguments); a = h[0] = c.event.fix(a || i.event); a.currentTarget = this; b = a.type.indexOf(".") < 0 && !a.exclusive; if (!b) { e = a.type.split("."); a.type = e.shift(); d = e.slice(0).sort(); e = RegExp("(^|\\.)" + d.join("\\.(?:.*\\.)?") + "(\\.|$)") } a.namespace = a.namespace || d.join("."); f = c.data(this, this.nodeType ? "events" : "__events__"); if (typeof f === "function") f = f.events; d = (f || {})[a.type]; if (f && d) {
                d = d.slice(0); f = 0; for (var o = d.length; f < o; f++) {
                    var n = d[f]; if (b || e.test(n.namespace)) {
                        a.handler =
n.handler; a.data = n.data; a.handleObj = n; n = n.handler.apply(this, h); if (n !== G) { a.result = n; if (n === false) { a.preventDefault(); a.stopPropagation() } } if (a.isImmediatePropagationStopped()) break
                    }
                }
            } return a.result
        }, props: "altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),
        fix: function (a) {
            if (a[c.expando]) return a; var b = a; a = c.Event(b); for (var d = this.props.length, e; d; ) { e = this.props[--d]; a[e] = b[e] } if (!a.target) a.target = a.srcElement || C; if (a.target.nodeType === 3) a.target = a.target.parentNode; if (!a.relatedTarget && a.fromElement) a.relatedTarget = a.fromElement === a.target ? a.toElement : a.fromElement; if (a.pageX == null && a.clientX != null) {
                b = C.documentElement; d = C.body; a.pageX = a.clientX + (b && b.scrollLeft || d && d.scrollLeft || 0) - (b && b.clientLeft || d && d.clientLeft || 0); a.pageY = a.clientY + (b && b.scrollTop ||
d && d.scrollTop || 0) - (b && b.clientTop || d && d.clientTop || 0)
            } if (a.which == null && (a.charCode != null || a.keyCode != null)) a.which = a.charCode != null ? a.charCode : a.keyCode; if (!a.metaKey && a.ctrlKey) a.metaKey = a.ctrlKey; if (!a.which && a.button !== G) a.which = a.button & 1 ? 1 : a.button & 2 ? 3 : a.button & 4 ? 2 : 0; return a
        }, guid: 1E8, proxy: c.proxy, special: { ready: { setup: c.bindReady, teardown: c.noop }, live: { add: function (a) { c.event.add(this, P(a.origType, a.selector), c.extend({}, a, { handler: p, guid: a.handler.guid })) }, remove: function (a) {
            c.event.remove(this,
P(a.origType, a.selector), a)
        }
        }, beforeunload: { setup: function (a, b, d) { if (c.isWindow(this)) this.onbeforeunload = d }, teardown: function (a, b) { if (this.onbeforeunload === b) this.onbeforeunload = null } }
        }
    }; c.removeEvent = C.removeEventListener ? function (a, b, d) { a.removeEventListener && a.removeEventListener(b, d, false) } : function (a, b, d) { a.detachEvent && a.detachEvent("on" + b, d) }; c.Event = function (a) {
        if (!this.preventDefault) return new c.Event(a); if (a && a.type) { this.originalEvent = a; this.type = a.type } else this.type = a; this.timeStamp =
c.now(); this[c.expando] = true
    }; c.Event.prototype = { preventDefault: function () { this.isDefaultPrevented = nb; var a = this.originalEvent; if (a) if (a.preventDefault) a.preventDefault(); else a.returnValue = false }, stopPropagation: function () { this.isPropagationStopped = nb; var a = this.originalEvent; if (a) { a.stopPropagation && a.stopPropagation(); a.cancelBubble = true } }, stopImmediatePropagation: function () { this.isImmediatePropagationStopped = nb; this.stopPropagation() }, isDefaultPrevented: cb, isPropagationStopped: cb, isImmediatePropagationStopped: cb };
    var qb = function (a) { var b = a.relatedTarget; try { for (; b && b !== this; ) b = b.parentNode; if (b !== this) { a.type = a.data; c.event.handle.apply(this, arguments) } } catch (d) { } }, bb = function (a) { a.type = a.data; c.event.handle.apply(this, arguments) }; c.each({ mouseenter: "mouseover", mouseleave: "mouseout" }, function (a, b) { c.event.special[a] = { setup: function (d) { c.event.add(this, b, d && d.selector ? bb : qb, a) }, teardown: function (d) { c.event.remove(this, b, d && d.selector ? bb : qb) } } }); if (!c.support.submitBubbles) c.event.special.submit = { setup: function () {
        if (this.nodeName.toLowerCase() !==
"form") { c.event.add(this, "click.specialSubmit", function (a) { var b = a.target, d = b.type; if ((d === "submit" || d === "image") && c(b).closest("form").length) { a.liveFired = G; return rb("submit", this, arguments) } }); c.event.add(this, "keypress.specialSubmit", function (a) { var b = a.target, d = b.type; if ((d === "text" || d === "password") && c(b).closest("form").length && a.keyCode === 13) { a.liveFired = G; return rb("submit", this, arguments) } }) } else return false
    }, teardown: function () { c.event.remove(this, ".specialSubmit") }
    }; if (!c.support.changeBubbles) {
        var l,
r = function (a) { var b = a.type, d = a.value; if (b === "radio" || b === "checkbox") d = a.checked; else if (b === "select-multiple") d = a.selectedIndex > -1 ? c.map(a.options, function (e) { return e.selected }).join("-") : ""; else if (a.nodeName.toLowerCase() === "select") d = a.selectedIndex; return d }, x = function (a, b) {
    var d = a.target, e, f; if (!(!lb.test(d.nodeName) || d.readOnly)) {
        e = c.data(d, "_change_data"); f = r(d); if (a.type !== "focusout" || d.type !== "radio") c.data(d, "_change_data", f); if (!(e === G || f === e)) if (e != null || f) {
            a.type = "change"; a.liveFired =
G; return c.event.trigger(a, b, d)
        }
    }
}; c.event.special.change = { filters: { focusout: x, beforedeactivate: x, click: function (a) { var b = a.target, d = b.type; if (d === "radio" || d === "checkbox" || b.nodeName.toLowerCase() === "select") return x.call(this, a) }, keydown: function (a) { var b = a.target, d = b.type; if (a.keyCode === 13 && b.nodeName.toLowerCase() !== "textarea" || a.keyCode === 32 && (d === "checkbox" || d === "radio") || d === "select-multiple") return x.call(this, a) }, beforeactivate: function (a) { a = a.target; c.data(a, "_change_data", r(a)) } }, setup: function () {
    if (this.type ===
"file") return false; for (var a in l) c.event.add(this, a + ".specialChange", l[a]); return lb.test(this.nodeName)
}, teardown: function () { c.event.remove(this, ".specialChange"); return lb.test(this.nodeName) }
}; l = c.event.special.change.filters; l.focus = l.beforeactivate
    } C.addEventListener && c.each({ focus: "focusin", blur: "focusout" }, function (a, b) {
        function d(e) { e = c.event.fix(e); e.type = b; return c.event.trigger(e, null, e.target) } c.event.special[b] = { setup: function () { fb[b]++ === 0 && C.addEventListener(a, d, true) }, teardown: function () {
            --fb[b] ===
0 && C.removeEventListener(a, d, true)
        }
        }
    }); c.each(["bind", "one"], function (a, b) { c.fn[b] = function (d, e, f) { if (typeof d === "object") { for (var h in d) this[b](h, e, d[h], f); return this } if (c.isFunction(e) || e === false) { f = e; e = G } var o = b === "one" ? c.proxy(f, function (v) { c(this).unbind(v, o); return f.apply(this, arguments) }) : f; if (d === "unload" && b !== "one") this.one(d, e, f); else { h = 0; for (var n = this.length; h < n; h++) c.event.add(this[h], d, o, e) } return this } }); c.fn.extend({ unbind: function (a, b) {
        if (typeof a === "object" && !a.preventDefault) for (var d in a) this.unbind(d,
a[d]); else { d = 0; for (var e = this.length; d < e; d++) c.event.remove(this[d], a, b) } return this
    }, delegate: function (a, b, d, e) { return this.live(b, d, e, a) }, undelegate: function (a, b, d) { return arguments.length === 0 ? this.unbind("live") : this.die(b, null, d, a) }, trigger: function (a, b) { return this.each(function () { c.event.trigger(a, b, this) }) }, triggerHandler: function (a, b) { if (this[0]) { var d = c.Event(a); d.preventDefault(); d.stopPropagation(); c.event.trigger(d, b, this[0]); return d.result } }, toggle: function (a) {
        for (var b = arguments, d =
1; d < b.length; ) c.proxy(a, b[d++]); return this.click(c.proxy(a, function (e) { var f = (c.data(this, "lastToggle" + a.guid) || 0) % d; c.data(this, "lastToggle" + a.guid, f + 1); e.preventDefault(); return b[f].apply(this, arguments) || false }))
    }, hover: function (a, b) { return this.mouseenter(a).mouseleave(b || a) }
    }); var j = { focus: "focusin", blur: "focusout", mouseenter: "mouseover", mouseleave: "mouseout" }; c.each(["live", "die"], function (a, b) {
        c.fn[b] = function (d, e, f, h) {
            var o, n = 0, v, ba, I = h || this.selector; h = h ? this : c(this.context); if (typeof d ===
"object" && !d.preventDefault) { for (o in d) h[b](o, e, d[o], I); return this } if (c.isFunction(e)) { f = e; e = G } for (d = (d || "").split(" "); (o = d[n++]) != null; ) {
                v = Za.exec(o); ba = ""; if (v) { ba = v[0]; o = o.replace(Za, "") } if (o === "hover") d.push("mouseenter" + ba, "mouseleave" + ba); else {
                    v = o; if (o === "focus" || o === "blur") { d.push(j[o] + ba); o += ba } else o = (j[o] || o) + ba; if (b === "live") { ba = 0; for (var ka = h.length; ba < ka; ba++) c.event.add(h[ba], "live." + P(o, I), { data: e, selector: I, handler: f, origType: o, origHandler: f, preType: v }) } else h.unbind("live." + P(o,
I), f)
                }
            } return this
        }
    }); c.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error".split(" "), function (a, b) { c.fn[b] = function (d, e) { if (e == null) { e = d; d = null } return arguments.length > 0 ? this.bind(b, d, e) : this.trigger(b) }; if (c.attrFn) c.attrFn[b] = true }); i.attachEvent && !i.addEventListener && c(i).bind("unload", function () { for (var a in c.cache) if (c.cache[a].handle) try { c.event.remove(c.cache[a].handle.elem) } catch (b) { } });
    (function () {
        function a(g, k, u, t, z, A) { z = 0; for (var R = t.length; z < R; z++) { var ca = t[z]; if (ca) { var Ka = false; for (ca = ca[g]; ca; ) { if (ca.sizcache === u) { Ka = t[ca.sizset]; break } if (ca.nodeType === 1 && !A) { ca.sizcache = u; ca.sizset = z } if (ca.nodeName.toLowerCase() === k) { Ka = ca; break } ca = ca[g] } t[z] = Ka } } } function b(g, k, u, t, z, A) {
            z = 0; for (var R = t.length; z < R; z++) {
                var ca = t[z]; if (ca) {
                    var Ka = false; for (ca = ca[g]; ca; ) {
                        if (ca.sizcache === u) { Ka = t[ca.sizset]; break } if (ca.nodeType === 1) {
                            if (!A) { ca.sizcache = u; ca.sizset = z } if (typeof k !== "string") {
                                if (ca ===
k) { Ka = true; break }
                            } else if (n.filter(k, [ca]).length > 0) { Ka = ca; break }
                        } ca = ca[g]
                    } t[z] = Ka
                }
            }
        } var d = /((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g, e = 0, f = Object.prototype.toString, h = false, o = true; [0, 0].sort(function () { o = false; return 0 }); var n = function (g, k, u, t) {
            u = u || []; var z = k = k || C; if (k.nodeType !== 1 && k.nodeType !== 9) return []; if (!g || typeof g !== "string") return u; var A, R, ca, Ka, hb, jb = true, kb = n.isXML(k), Ea = [], ub = g; do {
                d.exec("");
                if (A = d.exec(ub)) { ub = A[3]; Ea.push(A[1]); if (A[2]) { Ka = A[3]; break } }
            } while (A); if (Ea.length > 1 && ba.exec(g)) if (Ea.length === 2 && v.relative[Ea[0]]) R = gb(Ea[0] + Ea[1], k); else for (R = v.relative[Ea[0]] ? [k] : n(Ea.shift(), k); Ea.length; ) { g = Ea.shift(); if (v.relative[g]) g += Ea.shift(); R = gb(g, R) } else {
                if (!t && Ea.length > 1 && k.nodeType === 9 && !kb && v.match.ID.test(Ea[0]) && !v.match.ID.test(Ea[Ea.length - 1])) { A = n.find(Ea.shift(), k, kb); k = A.expr ? n.filter(A.expr, A.set)[0] : A.set[0] } if (k) {
                    A = t ? { expr: Ea.pop(), set: za(t)} : n.find(Ea.pop(), Ea.length ===
1 && (Ea[0] === "~" || Ea[0] === "+") && k.parentNode ? k.parentNode : k, kb); R = A.expr ? n.filter(A.expr, A.set) : A.set; if (Ea.length > 0) ca = za(R); else jb = false; for (; Ea.length; ) { A = hb = Ea.pop(); if (v.relative[hb]) A = Ea.pop(); else hb = ""; if (A == null) A = k; v.relative[hb](ca, A, kb) }
                } else ca = []
            } ca || (ca = R); ca || n.error(hb || g); if (f.call(ca) === "[object Array]") if (jb) if (k && k.nodeType === 1) for (g = 0; ca[g] != null; g++) { if (ca[g] && (ca[g] === true || ca[g].nodeType === 1 && n.contains(k, ca[g]))) u.push(R[g]) } else for (g = 0; ca[g] != null; g++) ca[g] && ca[g].nodeType ===
1 && u.push(R[g]); else u.push.apply(u, ca); else za(ca, u); if (Ka) { n(Ka, z, u, t); n.uniqueSort(u) } return u
        }; n.uniqueSort = function (g) { if (U) { h = o; g.sort(U); if (h) for (var k = 1; k < g.length; k++) g[k] === g[k - 1] && g.splice(k--, 1) } return g }; n.matches = function (g, k) { return n(g, null, null, k) }; n.matchesSelector = function (g, k) { return n(k, null, null, [g]).length > 0 }; n.find = function (g, k, u) {
            var t; if (!g) return []; for (var z = 0, A = v.order.length; z < A; z++) {
                var R, ca = v.order[z]; if (R = v.leftMatch[ca].exec(g)) {
                    var Ka = R[1]; R.splice(1, 1); if (Ka.substr(Ka.length -
1) !== "\\") { R[1] = (R[1] || "").replace(/\\/g, ""); t = v.find[ca](R, k, u); if (t != null) { g = g.replace(v.match[ca], ""); break } }
                }
            } t || (t = k.getElementsByTagName("*")); return { set: t, expr: g }
        }; n.filter = function (g, k, u, t) {
            for (var z, A, R = g, ca = [], Ka = k, hb = k && k[0] && n.isXML(k[0]); g && k.length; ) {
                for (var jb in v.filter) if ((z = v.leftMatch[jb].exec(g)) != null && z[2]) {
                    var kb, Ea, ub = v.filter[jb]; Ea = z[1]; A = false; z.splice(1, 1); if (Ea.substr(Ea.length - 1) !== "\\") {
                        if (Ka === ca) ca = []; if (v.preFilter[jb]) if (z = v.preFilter[jb](z, Ka, u, ca, t, hb)) {
                            if (z ===
true) continue
                        } else A = kb = true; if (z) for (var m = 0; (Ea = Ka[m]) != null; m++) if (Ea) { kb = ub(Ea, z, m, Ka); var J = t ^ !!kb; if (u && kb != null) if (J) A = true; else Ka[m] = false; else if (J) { ca.push(Ea); A = true } } if (kb !== G) { u || (Ka = ca); g = g.replace(v.match[jb], ""); if (!A) return []; break }
                    }
                } if (g === R) if (A == null) n.error(g); else break; R = g
            } return Ka
        }; n.error = function (g) { throw "Syntax error, unrecognized expression: " + g; }; var v = n.selectors = { order: ["ID", "NAME", "TAG"], match: { ID: /#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/, CLASS: /\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,
            NAME: /\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/, ATTR: /\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/, TAG: /^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/, CHILD: /:(only|nth|last|first)-child(?:\((even|odd|[\dn+\-]*)\))?/, POS: /:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/, PSEUDO: /:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/
        }, leftMatch: {}, attrMap: { "class": "className", "for": "htmlFor" }, attrHandle: { href: function (g) { return g.getAttribute("href") } },
            relative: { "+": function (g, k) { var u = typeof k === "string", t = u && !/\W/.test(k); u = u && !t; if (t) k = k.toLowerCase(); t = 0; for (var z = g.length, A; t < z; t++) if (A = g[t]) { for (; (A = A.previousSibling) && A.nodeType !== 1; ); g[t] = u || A && A.nodeName.toLowerCase() === k ? A || false : A === k } u && n.filter(k, g, true) }, ">": function (g, k) {
                var u, t = typeof k === "string", z = 0, A = g.length; if (t && !/\W/.test(k)) for (k = k.toLowerCase(); z < A; z++) { if (u = g[z]) { u = u.parentNode; g[z] = u.nodeName.toLowerCase() === k ? u : false } } else {
                    for (; z < A; z++) if (u = g[z]) g[z] = t ? u.parentNode : u.parentNode ===
k; t && n.filter(k, g, true)
                }
            }, "": function (g, k, u) { var t, z = e++, A = b; if (typeof k === "string" && !/\W/.test(k)) { t = k = k.toLowerCase(); A = a } A("parentNode", k, z, g, t, u) }, "~": function (g, k, u) { var t, z = e++, A = b; if (typeof k === "string" && !/\W/.test(k)) { t = k = k.toLowerCase(); A = a } A("previousSibling", k, z, g, t, u) }
            }, find: { ID: function (g, k, u) { if (typeof k.getElementById !== "undefined" && !u) return (g = k.getElementById(g[1])) && g.parentNode ? [g] : [] }, NAME: function (g, k) {
                if (typeof k.getElementsByName !== "undefined") {
                    for (var u = [], t = k.getElementsByName(g[1]),
z = 0, A = t.length; z < A; z++) t[z].getAttribute("name") === g[1] && u.push(t[z]); return u.length === 0 ? null : u
                }
            }, TAG: function (g, k) { return k.getElementsByTagName(g[1]) }
            }, preFilter: { CLASS: function (g, k, u, t, z, A) { g = " " + g[1].replace(/\\/g, "") + " "; if (A) return g; A = 0; for (var R; (R = k[A]) != null; A++) if (R) if (z ^ (R.className && (" " + R.className + " ").replace(/[\t\n]/g, " ").indexOf(g) >= 0)) u || t.push(R); else if (u) k[A] = false; return false }, ID: function (g) { return g[1].replace(/\\/g, "") }, TAG: function (g) { return g[1].toLowerCase() }, CHILD: function (g) {
                if (g[1] ===
"nth") { var k = /(-?)(\d*)n((?:\+|-)?\d*)/.exec(g[2] === "even" && "2n" || g[2] === "odd" && "2n+1" || !/\D/.test(g[2]) && "0n+" + g[2] || g[2]); g[2] = k[1] + (k[2] || 1) - 0; g[3] = k[3] - 0 } g[0] = e++; return g
            }, ATTR: function (g, k, u, t, z, A) { k = g[1].replace(/\\/g, ""); if (!A && v.attrMap[k]) g[1] = v.attrMap[k]; if (g[2] === "~=") g[4] = " " + g[4] + " "; return g }, PSEUDO: function (g, k, u, t, z) {
                if (g[1] === "not") if ((d.exec(g[3]) || "").length > 1 || /^\w/.test(g[3])) g[3] = n(g[3], null, null, k); else { g = n.filter(g[3], k, u, true ^ z); u || t.push.apply(t, g); return false } else if (v.match.POS.test(g[0]) ||
v.match.CHILD.test(g[0])) return true; return g
            }, POS: function (g) { g.unshift(true); return g }
            }, filters: { enabled: function (g) { return g.disabled === false && g.type !== "hidden" }, disabled: function (g) { return g.disabled === true }, checked: function (g) { return g.checked === true }, selected: function (g) { return g.selected === true }, parent: function (g) { return !!g.firstChild }, empty: function (g) { return !g.firstChild }, has: function (g, k, u) { return !!n(u[3], g).length }, header: function (g) { return /h\d/i.test(g.nodeName) }, text: function (g) {
                return "text" ===
g.type
            }, radio: function (g) { return "radio" === g.type }, checkbox: function (g) { return "checkbox" === g.type }, file: function (g) { return "file" === g.type }, password: function (g) { return "password" === g.type }, submit: function (g) { return "submit" === g.type }, image: function (g) { return "image" === g.type }, reset: function (g) { return "reset" === g.type }, button: function (g) { return "button" === g.type || g.nodeName.toLowerCase() === "button" }, input: function (g) { return /input|select|textarea|button/i.test(g.nodeName) }
            }, setFilters: { first: function (g, k) {
                return k ===
0
            }, last: function (g, k, u, t) { return k === t.length - 1 }, even: function (g, k) { return k % 2 === 0 }, odd: function (g, k) { return k % 2 === 1 }, lt: function (g, k, u) { return k < u[3] - 0 }, gt: function (g, k, u) { return k > u[3] - 0 }, nth: function (g, k, u) { return u[3] - 0 === k }, eq: function (g, k, u) { return u[3] - 0 === k }
            }, filter: { PSEUDO: function (g, k, u, t) {
                var z = k[1], A = v.filters[z]; if (A) return A(g, u, k, t); else if (z === "contains") return (g.textContent || g.innerText || n.getText([g]) || "").indexOf(k[3]) >= 0; else if (z === "not") {
                    k = k[3]; u = 0; for (t = k.length; u < t; u++) if (k[u] ===
g) return false; return true
                } else n.error("Syntax error, unrecognized expression: " + z)
            }, CHILD: function (g, k) {
                var u = k[1], t = g; switch (u) {
                    case "only": case "first": for (; t = t.previousSibling; ) if (t.nodeType === 1) return false; if (u === "first") return true; t = g; case "last": for (; t = t.nextSibling; ) if (t.nodeType === 1) return false; return true; case "nth": u = k[2]; var z = k[3]; if (u === 1 && z === 0) return true; var A = k[0], R = g.parentNode; if (R && (R.sizcache !== A || !g.nodeIndex)) {
                            var ca = 0; for (t = R.firstChild; t; t = t.nextSibling) if (t.nodeType ===
1) t.nodeIndex = ++ca; R.sizcache = A
                        } t = g.nodeIndex - z; return u === 0 ? t === 0 : t % u === 0 && t / u >= 0
                }
            }, ID: function (g, k) { return g.nodeType === 1 && g.getAttribute("id") === k }, TAG: function (g, k) { return k === "*" && g.nodeType === 1 || g.nodeName.toLowerCase() === k }, CLASS: function (g, k) { return (" " + (g.className || g.getAttribute("class")) + " ").indexOf(k) > -1 }, ATTR: function (g, k) {
                var u = k[1]; u = v.attrHandle[u] ? v.attrHandle[u](g) : g[u] != null ? g[u] : g.getAttribute(u); var t = u + "", z = k[2], A = k[4]; return u == null ? z === "!=" : z === "=" ? t === A : z === "*=" ? t.indexOf(A) >=
0 : z === "~=" ? (" " + t + " ").indexOf(A) >= 0 : !A ? t && u !== false : z === "!=" ? t !== A : z === "^=" ? t.indexOf(A) === 0 : z === "$=" ? t.substr(t.length - A.length) === A : z === "|=" ? t === A || t.substr(0, A.length + 1) === A + "-" : false
            }, POS: function (g, k, u, t) { var z = v.setFilters[k[2]]; if (z) return z(g, u, k, t) }
            }
        }, ba = v.match.POS, I = function (g, k) { return "\\" + (k - 0 + 1) }, ka; for (ka in v.match) { v.match[ka] = RegExp(v.match[ka].source + /(?![^\[]*\])(?![^\(]*\))/.source); v.leftMatch[ka] = RegExp(/(^(?:.|\r|\n)*?)/.source + v.match[ka].source.replace(/\\(\d+)/g, I)) } var za =
function (g, k) { g = Array.prototype.slice.call(g, 0); if (k) { k.push.apply(k, g); return k } return g }; try { Array.prototype.slice.call(C.documentElement.childNodes, 0) } catch (Ta) { za = function (g, k) { var u = 0, t = k || []; if (f.call(g) === "[object Array]") Array.prototype.push.apply(t, g); else if (typeof g.length === "number") for (var z = g.length; u < z; u++) t.push(g[u]); else for (; g[u]; u++) t.push(g[u]); return t } } var U, Sa; if (C.documentElement.compareDocumentPosition) U = function (g, k) {
    if (g === k) { h = true; return 0 } if (!g.compareDocumentPosition ||
!k.compareDocumentPosition) return g.compareDocumentPosition ? -1 : 1; return g.compareDocumentPosition(k) & 4 ? -1 : 1
}; else {
            U = function (g, k) { var u, t, z = [], A = []; u = g.parentNode; t = k.parentNode; var R = u; if (g === k) { h = true; return 0 } else if (u === t) return Sa(g, k); else if (u) { if (!t) return 1 } else return -1; for (; R; ) { z.unshift(R); R = R.parentNode } for (R = t; R; ) { A.unshift(R); R = R.parentNode } u = z.length; t = A.length; for (R = 0; R < u && R < t; R++) if (z[R] !== A[R]) return Sa(z[R], A[R]); return R === u ? Sa(g, A[R], -1) : Sa(z[R], k, 1) }; Sa = function (g, k, u) {
                if (g ===
k) return u; for (g = g.nextSibling; g; ) { if (g === k) return -1; g = g.nextSibling } return 1
            }
        } n.getText = function (g) { for (var k = "", u, t = 0; g[t]; t++) { u = g[t]; if (u.nodeType === 3 || u.nodeType === 4) k += u.nodeValue; else if (u.nodeType !== 8) k += n.getText(u.childNodes) } return k }; (function () {
            var g = C.createElement("div"), k = "script" + (new Date).getTime(), u = C.documentElement; g.innerHTML = "<a name='" + k + "'/>"; u.insertBefore(g, u.firstChild); if (C.getElementById(k)) {
                v.find.ID = function (t, z, A) {
                    if (typeof z.getElementById !== "undefined" && !A) return (z =
z.getElementById(t[1])) ? z.id === t[1] || typeof z.getAttributeNode !== "undefined" && z.getAttributeNode("id").nodeValue === t[1] ? [z] : G : []
                }; v.filter.ID = function (t, z) { var A = typeof t.getAttributeNode !== "undefined" && t.getAttributeNode("id"); return t.nodeType === 1 && A && A.nodeValue === z }
            } u.removeChild(g); u = g = null
        })(); (function () {
            var g = C.createElement("div"); g.appendChild(C.createComment("")); if (g.getElementsByTagName("*").length > 0) v.find.TAG = function (k, u) {
                var t = u.getElementsByTagName(k[1]); if (k[1] === "*") {
                    for (var z =
[], A = 0; t[A]; A++) t[A].nodeType === 1 && z.push(t[A]); t = z
                } return t
            }; g.innerHTML = "<a href='#'></a>"; if (g.firstChild && typeof g.firstChild.getAttribute !== "undefined" && g.firstChild.getAttribute("href") !== "#") v.attrHandle.href = function (k) { return k.getAttribute("href", 2) }; g = null
        })(); C.querySelectorAll && function () {
            var g = n, k = C.createElement("div"); k.innerHTML = "<p class='TEST'></p>"; if (!(k.querySelectorAll && k.querySelectorAll(".TEST").length === 0)) {
                n = function (t, z, A, R) {
                    z = z || C; t = t.replace(/\=\s*([^'"\]]*)\s*\]/g, "='$1']");
                    if (!R && !n.isXML(z)) if (z.nodeType === 9) try { return za(z.querySelectorAll(t), A) } catch (ca) { } else if (z.nodeType === 1 && z.nodeName.toLowerCase() !== "object") { var Ka = z.getAttribute("id"), hb = Ka || "__sizzle__"; Ka || z.setAttribute("id", hb); try { return za(z.querySelectorAll("#" + hb + " " + t), A) } catch (jb) { } finally { Ka || z.removeAttribute("id") } } return g(t, z, A, R)
                }; for (var u in g) n[u] = g[u]; k = null
            }
        } (); (function () {
            var g = C.documentElement, k = g.matchesSelector || g.mozMatchesSelector || g.webkitMatchesSelector || g.msMatchesSelector,
u = false; try { k.call(C.documentElement, "[test!='']:sizzle") } catch (t) { u = true } if (k) n.matchesSelector = function (z, A) { A = A.replace(/\=\s*([^'"\]]*)\s*\]/g, "='$1']"); if (!n.isXML(z)) try { if (u || !v.match.PSEUDO.test(A) && !/!=/.test(A)) return k.call(z, A) } catch (R) { } return n(A, null, null, [z]).length > 0 }
        })(); (function () {
            var g = C.createElement("div"); g.innerHTML = "<div class='test e'></div><div class='test'></div>"; if (!(!g.getElementsByClassName || g.getElementsByClassName("e").length === 0)) {
                g.lastChild.className = "e"; if (g.getElementsByClassName("e").length !==
1) { v.order.splice(1, 0, "CLASS"); v.find.CLASS = function (k, u, t) { if (typeof u.getElementsByClassName !== "undefined" && !t) return u.getElementsByClassName(k[1]) }; g = null }
            }
        })(); n.contains = C.documentElement.contains ? function (g, k) { return g !== k && (g.contains ? g.contains(k) : true) } : C.documentElement.compareDocumentPosition ? function (g, k) { return !!(g.compareDocumentPosition(k) & 16) } : function () { return false }; n.isXML = function (g) { return (g = (g ? g.ownerDocument || g : 0).documentElement) ? g.nodeName !== "HTML" : false }; var gb = function (g,
k) { for (var u, t = [], z = "", A = k.nodeType ? [k] : k; u = v.match.PSEUDO.exec(g); ) { z += u[0]; g = g.replace(v.match.PSEUDO, "") } g = v.relative[g] ? g + "*" : g; u = 0; for (var R = A.length; u < R; u++) n(g, A[u], t); return n.filter(z, t) }; c.find = n; c.expr = n.selectors; c.expr[":"] = c.expr.filters; c.unique = n.uniqueSort; c.text = n.getText; c.isXMLDoc = n.isXML; c.contains = n.contains
    })(); var q = /Until$/, s = /^(?:parents|prevUntil|prevAll)/, B = /,/, F = /^.[^:#\[\.,]*$/, $ = Array.prototype.slice, V = c.expr.match.POS; c.fn.extend({ find: function (a) {
        for (var b = this.pushStack("",
"find", a), d = 0, e = 0, f = this.length; e < f; e++) { d = b.length; c.find(a, this[e], b); if (e > 0) for (var h = d; h < b.length; h++) for (var o = 0; o < d; o++) if (b[o] === b[h]) { b.splice(h--, 1); break } } return b
    }, has: function (a) { var b = c(a); return this.filter(function () { for (var d = 0, e = b.length; d < e; d++) if (c.contains(this, b[d])) return true }) }, not: function (a) { return this.pushStack(Y(this, a, false), "not", a) }, filter: function (a) { return this.pushStack(Y(this, a, true), "filter", a) }, is: function (a) { return !!a && c.filter(a, this).length > 0 }, closest: function (a,
b) {
        var d = [], e, f, h = this[0]; if (c.isArray(a)) { var o, n = {}, v = 1; if (h && a.length) { e = 0; for (f = a.length; e < f; e++) { o = a[e]; n[o] || (n[o] = c.expr.match.POS.test(o) ? c(o, b || this.context) : o) } for (; h && h.ownerDocument && h !== b; ) { for (o in n) { e = n[o]; if (e.jquery ? e.index(h) > -1 : c(h).is(e)) d.push({ selector: o, elem: h, level: v }) } h = h.parentNode; v++ } } return d } o = V.test(a) ? c(a, b || this.context) : null; e = 0; for (f = this.length; e < f; e++) for (h = this[e]; h; ) if (o ? o.index(h) > -1 : c.find.matchesSelector(h, a)) { d.push(h); break } else {
            h = h.parentNode; if (!h || !h.ownerDocument ||
h === b) break
        } d = d.length > 1 ? c.unique(d) : d; return this.pushStack(d, "closest", a)
    }, index: function (a) { if (!a || typeof a === "string") return c.inArray(this[0], a ? c(a) : this.parent().children()); return c.inArray(a.jquery ? a[0] : a, this) }, add: function (a, b) { var d = typeof a === "string" ? c(a, b || this.context) : c.makeArray(a), e = c.merge(this.get(), d); return this.pushStack(!d[0] || !d[0].parentNode || d[0].parentNode.nodeType === 11 || !e[0] || !e[0].parentNode || e[0].parentNode.nodeType === 11 ? e : c.unique(e)) }, andSelf: function () { return this.add(this.prevObject) }
    });
    c.each({ parent: function (a) { return (a = a.parentNode) && a.nodeType !== 11 ? a : null }, parents: function (a) { return c.dir(a, "parentNode") }, parentsUntil: function (a, b, d) { return c.dir(a, "parentNode", d) }, next: function (a) { return c.nth(a, 2, "nextSibling") }, prev: function (a) { return c.nth(a, 2, "previousSibling") }, nextAll: function (a) { return c.dir(a, "nextSibling") }, prevAll: function (a) { return c.dir(a, "previousSibling") }, nextUntil: function (a, b, d) { return c.dir(a, "nextSibling", d) }, prevUntil: function (a, b, d) {
        return c.dir(a, "previousSibling",
d)
    }, siblings: function (a) { return c.sibling(a.parentNode.firstChild, a) }, children: function (a) { return c.sibling(a.firstChild) }, contents: function (a) { return c.nodeName(a, "iframe") ? a.contentDocument || a.contentWindow.document : c.makeArray(a.childNodes) }
    }, function (a, b) { c.fn[a] = function (d, e) { var f = c.map(this, b, d); q.test(a) || (e = d); if (e && typeof e === "string") f = c.filter(e, f); f = this.length > 1 ? c.unique(f) : f; if ((this.length > 1 || B.test(e)) && s.test(a)) f = f.reverse(); return this.pushStack(f, a, $.call(arguments).join(",")) } });
    c.extend({ filter: function (a, b, d) { if (d) a = ":not(" + a + ")"; return b.length === 1 ? c.find.matchesSelector(b[0], a) ? [b[0]] : [] : c.find.matches(a, b) }, dir: function (a, b, d) { var e = []; for (a = a[b]; a && a.nodeType !== 9 && (d === G || a.nodeType !== 1 || !c(a).is(d)); ) { a.nodeType === 1 && e.push(a); a = a[b] } return e }, nth: function (a, b, d) { b = b || 1; for (var e = 0; a; a = a[d]) if (a.nodeType === 1 && ++e === b) break; return a }, sibling: function (a, b) { for (var d = []; a; a = a.nextSibling) a.nodeType === 1 && a !== b && d.push(a); return d } }); var ga = / jQuery\d+="(?:\d+|null)"/g,
na = /^\s+/, Da = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig, Ma = /<([\w:]+)/, Aa = /<tbody/i, Ia = /<|&#?\w+;/, Ca = /<(?:script|object|embed|option|style)/i, M = /checked\s*(?:[^=]|=\s*.checked.)/i, O = /\=([^="'>\s]+\/)>/g, ha = { option: [1, "<select multiple='multiple'>", "</select>"], legend: [1, "<fieldset>", "</fieldset>"], thead: [1, "<table>", "</table>"], tr: [2, "<table><tbody>", "</tbody></table>"], td: [3, "<table><tbody><tr>", "</tr></tbody></table>"], col: [2, "<table><tbody></tbody><colgroup>", "</colgroup></table>"],
    area: [1, "<map>", "</map>"], _default: [0, "", ""]
}; ha.optgroup = ha.option; ha.tbody = ha.tfoot = ha.colgroup = ha.caption = ha.thead; ha.th = ha.td; if (!c.support.htmlSerialize) ha._default = [1, "div<div>", "</div>"]; c.fn.extend({ text: function (a) { if (c.isFunction(a)) return this.each(function (b) { var d = c(this); d.text(a.call(this, b, d.text())) }); if (typeof a !== "object" && a !== G) return this.empty().append((this[0] && this[0].ownerDocument || C).createTextNode(a)); return c.text(this) }, wrapAll: function (a) {
    if (c.isFunction(a)) return this.each(function (d) {
        c(this).wrapAll(a.call(this,
d))
    }); if (this[0]) { var b = c(a, this[0].ownerDocument).eq(0).clone(true); this[0].parentNode && b.insertBefore(this[0]); b.map(function () { for (var d = this; d.firstChild && d.firstChild.nodeType === 1; ) d = d.firstChild; return d }).append(this) } return this
}, wrapInner: function (a) { if (c.isFunction(a)) return this.each(function (b) { c(this).wrapInner(a.call(this, b)) }); return this.each(function () { var b = c(this), d = b.contents(); d.length ? d.wrapAll(a) : b.append(a) }) }, wrap: function (a) { return this.each(function () { c(this).wrapAll(a) }) },
    unwrap: function () { return this.parent().each(function () { c.nodeName(this, "body") || c(this).replaceWith(this.childNodes) }).end() }, append: function () { return this.domManip(arguments, true, function (a) { this.nodeType === 1 && this.appendChild(a) }) }, prepend: function () { return this.domManip(arguments, true, function (a) { this.nodeType === 1 && this.insertBefore(a, this.firstChild) }) }, before: function () {
        if (this[0] && this[0].parentNode) return this.domManip(arguments, false, function (b) { this.parentNode.insertBefore(b, this) }); else if (arguments.length) {
            var a =
c(arguments[0]); a.push.apply(a, this.toArray()); return this.pushStack(a, "before", arguments)
        }
    }, after: function () { if (this[0] && this[0].parentNode) return this.domManip(arguments, false, function (b) { this.parentNode.insertBefore(b, this.nextSibling) }); else if (arguments.length) { var a = this.pushStack(this, "after", arguments); a.push.apply(a, c(arguments[0]).toArray()); return a } }, remove: function (a, b) {
        for (var d = 0, e; (e = this[d]) != null; d++) if (!a || c.filter(a, [e]).length) {
            if (!b && e.nodeType === 1) {
                c.cleanData(e.getElementsByTagName("*"));
                c.cleanData([e])
            } e.parentNode && e.parentNode.removeChild(e)
        } return this
    }, empty: function () { for (var a = 0, b; (b = this[a]) != null; a++) for (b.nodeType === 1 && c.cleanData(b.getElementsByTagName("*")); b.firstChild; ) b.removeChild(b.firstChild); return this }, clone: function (a) {
        var b = this.map(function () {
            if (!c.support.noCloneEvent && !c.isXMLDoc(this)) {
                var d = this.outerHTML, e = this.ownerDocument; if (!d) { d = e.createElement("div"); d.appendChild(this.cloneNode(true)); d = d.innerHTML } return c.clean([d.replace(ga, "").replace(O, '="$1">').replace(na,
"")], e)[0]
            } else return this.cloneNode(true)
        }); if (a === true) { qa(this, b); qa(this.find("*"), b.find("*")) } return b
    }, html: function (a) {
        if (a === G) return this[0] && this[0].nodeType === 1 ? this[0].innerHTML.replace(ga, "") : null; else if (typeof a === "string" && !Ca.test(a) && (c.support.leadingWhitespace || !na.test(a)) && !ha[(Ma.exec(a) || ["", ""])[1].toLowerCase()]) { a = a.replace(Da, "<$1></$2>"); try { for (var b = 0, d = this.length; b < d; b++) if (this[b].nodeType === 1) { c.cleanData(this[b].getElementsByTagName("*")); this[b].innerHTML = a } } catch (e) { this.empty().append(a) } } else c.isFunction(a) ?
this.each(function (f) { var h = c(this); h.html(a.call(this, f, h.html())) }) : this.empty().append(a); return this
    }, replaceWith: function (a) { if (this[0] && this[0].parentNode) { if (c.isFunction(a)) return this.each(function (b) { var d = c(this), e = d.html(); d.replaceWith(a.call(this, b, e)) }); if (typeof a !== "string") a = c(a).detach(); return this.each(function () { var b = this.nextSibling, d = this.parentNode; c(this).remove(); b ? c(b).before(a) : c(d).append(a) }) } else return this.pushStack(c(c.isFunction(a) ? a() : a), "replaceWith", a) }, detach: function (a) {
        return this.remove(a,
true)
    }, domManip: function (a, b, d) {
        var e, f, h, o = a[0], n = []; if (!c.support.checkClone && arguments.length === 3 && typeof o === "string" && M.test(o)) return this.each(function () { c(this).domManip(a, b, d, true) }); if (c.isFunction(o)) return this.each(function (ba) { var I = c(this); a[0] = o.call(this, ba, b ? I.html() : G); I.domManip(a, b, d) }); if (this[0]) {
            e = o && o.parentNode; e = c.support.parentNode && e && e.nodeType === 11 && e.childNodes.length === this.length ? { fragment: e} : c.buildFragment(a, this, n); h = e.fragment; if (f = h.childNodes.length === 1 ? h = h.firstChild :
h.firstChild) { b = b && c.nodeName(f, "tr"); f = 0; for (var v = this.length; f < v; f++) d.call(b ? c.nodeName(this[f], "table") ? this[f].getElementsByTagName("tbody")[0] || this[f].appendChild(this[f].ownerDocument.createElement("tbody")) : this[f] : this[f], f > 0 || e.cacheable || this.length > 1 ? h.cloneNode(true) : h) } n.length && c.each(n, ua)
        } return this
    }
}); c.buildFragment = function (a, b, d) {
    var e, f, h; b = b && b[0] ? b[0].ownerDocument || b[0] : C; if (a.length === 1 && typeof a[0] === "string" && a[0].length < 512 && b === C && !Ca.test(a[0]) && (c.support.checkClone ||
!M.test(a[0]))) { f = true; if (h = c.fragments[a[0]]) if (h !== 1) e = h } if (!e) { e = b.createDocumentFragment(); c.clean(a, b, e, d) } if (f) c.fragments[a[0]] = h ? e : 1; return { fragment: e, cacheable: f }
}; c.fragments = {}; c.each({ appendTo: "append", prependTo: "prepend", insertBefore: "before", insertAfter: "after", replaceAll: "replaceWith" }, function (a, b) {
    c.fn[a] = function (d) {
        var e = []; d = c(d); var f = this.length === 1 && this[0].parentNode; if (f && f.nodeType === 11 && f.childNodes.length === 1 && d.length === 1) { d[b](this[0]); return this } else {
            f = 0; for (var h =
d.length; f < h; f++) { var o = (f > 0 ? this.clone(true) : this).get(); c(d[f])[b](o); e = e.concat(o) } return this.pushStack(e, a, d.selector)
        }
    }
}); c.extend({ clean: function (a, b, d, e) {
    b = b || C; if (typeof b.createElement === "undefined") b = b.ownerDocument || b[0] && b[0].ownerDocument || C; for (var f = [], h = 0, o; (o = a[h]) != null; h++) {
        if (typeof o === "number") o += ""; if (o) {
            if (typeof o === "string" && !Ia.test(o)) o = b.createTextNode(o); else if (typeof o === "string") {
                o = o.replace(Da, "<$1></$2>"); var n = (Ma.exec(o) || ["", ""])[1].toLowerCase(), v = ha[n] || ha._default,
ba = v[0], I = b.createElement("div"); for (I.innerHTML = v[1] + o + v[2]; ba--; ) I = I.lastChild; if (!c.support.tbody) { ba = Aa.test(o); n = n === "table" && !ba ? I.firstChild && I.firstChild.childNodes : v[1] === "<table>" && !ba ? I.childNodes : []; for (v = n.length - 1; v >= 0; --v) c.nodeName(n[v], "tbody") && !n[v].childNodes.length && n[v].parentNode.removeChild(n[v]) } !c.support.leadingWhitespace && na.test(o) && I.insertBefore(b.createTextNode(na.exec(o)[0]), I.firstChild); o = I.childNodes
            } if (o.nodeType) f.push(o); else f = c.merge(f, o)
        }
    } if (d) for (h = 0; f[h]; h++) if (e &&
c.nodeName(f[h], "script") && (!f[h].type || f[h].type.toLowerCase() === "text/javascript")) e.push(f[h].parentNode ? f[h].parentNode.removeChild(f[h]) : f[h]); else { f[h].nodeType === 1 && f.splice.apply(f, [h + 1, 0].concat(c.makeArray(f[h].getElementsByTagName("script")))); d.appendChild(f[h]) } return f
}, cleanData: function (a) {
    for (var b, d, e = c.cache, f = c.event.special, h = c.support.deleteExpando, o = 0, n; (n = a[o]) != null; o++) if (!(n.nodeName && c.noData[n.nodeName.toLowerCase()])) if (d = n[c.expando]) {
        if ((b = e[d]) && b.events) for (var v in b.events) f[v] ?
c.event.remove(n, v) : c.removeEvent(n, v, b.handle); if (h) delete n[c.expando]; else n.removeAttribute && n.removeAttribute(c.expando); delete e[d]
    }
}
}); var oa = /alpha\([^)]*\)/i, ra = /opacity=([^)]*)/, aa = /-([a-z])/ig, wa = /([A-Z])/g, xa = /^-?\d+(?:px)?$/i, ya = /^-?\d/, sa = { position: "absolute", visibility: "hidden", display: "block" }, Na = ["Left", "Right"], Ra = ["Top", "Bottom"], Ya, Wa, Pa, Va = function (a, b) { return b.toUpperCase() }; c.fn.css = function (a, b) {
    if (arguments.length === 2 && b === G) return this; return c.access(this, a, b, true, function (d,
e, f) { return f !== G ? c.style(d, e, f) : c.css(d, e) })
}; c.extend({ cssHooks: { opacity: { get: function (a, b) { if (b) { var d = Ya(a, "opacity", "opacity"); return d === "" ? "1" : d } else return a.style.opacity } } }, cssNumber: { zIndex: true, fontWeight: true, opacity: true, zoom: true, lineHeight: true }, cssProps: { "float": c.support.cssFloat ? "cssFloat" : "styleFloat" }, style: function (a, b, d, e) {
    if (!(!a || a.nodeType === 3 || a.nodeType === 8 || !a.style)) {
        var f, h = c.camelCase(b), o = a.style, n = c.cssHooks[h]; b = c.cssProps[h] || h; if (d !== G) {
            if (!(typeof d === "number" &&
isNaN(d) || d == null)) { if (typeof d === "number" && !c.cssNumber[h]) d += "px"; if (!n || !("set" in n) || (d = n.set(a, d)) !== G) try { o[b] = d } catch (v) { } }
        } else { if (n && "get" in n && (f = n.get(a, false, e)) !== G) return f; return o[b] }
    }
}, css: function (a, b, d) { var e, f = c.camelCase(b), h = c.cssHooks[f]; b = c.cssProps[f] || f; if (h && "get" in h && (e = h.get(a, true, d)) !== G) return e; else if (Ya) return Ya(a, b, f) }, swap: function (a, b, d) { var e = {}, f; for (f in b) { e[f] = a.style[f]; a.style[f] = b[f] } d.call(a); for (f in b) a.style[f] = e[f] }, camelCase: function (a) {
    return a.replace(aa,
Va)
}
}); c.curCSS = c.css; c.each(["height", "width"], function (a, b) { c.cssHooks[b] = { get: function (d, e, f) { var h; if (e) { if (d.offsetWidth !== 0) h = Ga(d, b, f); else c.swap(d, sa, function () { h = Ga(d, b, f) }); if (h <= 0) { h = Ya(d, b, b); if (h === "0px" && Pa) h = Pa(d, b, b); if (h != null) return h === "" || h === "auto" ? "0px" : h } if (h < 0 || h == null) { h = d.style[b]; return h === "" || h === "auto" ? "0px" : h } return typeof h === "string" ? h : h + "px" } }, set: function (d, e) { if (xa.test(e)) { e = parseFloat(e); if (e >= 0) return e + "px" } else return e } } }); if (!c.support.opacity) c.cssHooks.opacity =
{ get: function (a, b) { return ra.test((b && a.currentStyle ? a.currentStyle.filter : a.style.filter) || "") ? parseFloat(RegExp.$1) / 100 + "" : b ? "1" : "" }, set: function (a, b) { var d = a.style; d.zoom = 1; var e = c.isNaN(b) ? "" : "alpha(opacity=" + b * 100 + ")", f = d.filter || ""; d.filter = oa.test(f) ? f.replace(oa, e) : d.filter + " " + e } }; if (C.defaultView && C.defaultView.getComputedStyle) Wa = function (a, b, d) {
    var e; d = d.replace(wa, "-$1").toLowerCase(); if (!(b = a.ownerDocument.defaultView)) return G; if (b = b.getComputedStyle(a, null)) {
        e = b.getPropertyValue(d);
        if (e === "" && !c.contains(a.ownerDocument.documentElement, a)) e = c.style(a, d)
    } return e
}; if (C.documentElement.currentStyle) Pa = function (a, b) { var d, e, f = a.currentStyle && a.currentStyle[b], h = a.style; if (!xa.test(f) && ya.test(f)) { d = h.left; e = a.runtimeStyle.left; a.runtimeStyle.left = a.currentStyle.left; h.left = b === "fontSize" ? "1em" : f || 0; f = h.pixelLeft + "px"; h.left = d; a.runtimeStyle.left = e } return f === "" ? "auto" : f }; Ya = Wa || Pa; if (c.expr && c.expr.filters) {
        c.expr.filters.hidden = function (a) {
            var b = a.offsetHeight; return a.offsetWidth ===
0 && b === 0 || !c.support.reliableHiddenOffsets && (a.style.display || c.css(a, "display")) === "none"
        }; c.expr.filters.visible = function (a) { return !c.expr.filters.hidden(a) }
    } var T = c.now(), da = /<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi, N = /^(?:select|textarea)/i, L = /^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i, w = /^(?:GET|HEAD)$/, D = /\[\]$/, E = /\=\?(&|$)/, K = /\?/, H = /([?&])_=[^&]*/, W = /^(\w+:)?\/\/([^\/?#]+)/, X = /%20/g, Z = /#.*$/, Q = c.fn.load; c.fn.extend({ load: function (a,
b, d) {
        if (typeof a !== "string" && Q) return Q.apply(this, arguments); else if (!this.length) return this; var e = a.indexOf(" "); if (e >= 0) { var f = a.slice(e, a.length); a = a.slice(0, e) } e = "GET"; if (b) if (c.isFunction(b)) { d = b; b = null } else if (typeof b === "object") { b = c.param(b, c.ajaxSettings.traditional); e = "POST" } var h = this; c.ajax({ url: a, type: e, dataType: "html", data: b, complete: function (o, n) {
            if (n === "success" || n === "notmodified") h.html(f ? c("<div>").append(o.responseText.replace(da, "")).find(f) : o.responseText); d && h.each(d, [o.responseText,
n, o])
        }
        }); return this
    }, serialize: function () { return c.param(this.serializeArray()) }, serializeArray: function () { return this.map(function () { return this.elements ? c.makeArray(this.elements) : this }).filter(function () { return this.name && !this.disabled && (this.checked || N.test(this.nodeName) || L.test(this.type)) }).map(function (a, b) { var d = c(this).val(); return d == null ? null : c.isArray(d) ? c.map(d, function (e) { return { name: b.name, value: e} }) : { name: b.name, value: d} }).get() }
    }); c.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),
function (a, b) { c.fn[b] = function (d) { return this.bind(b, d) } }); c.extend({ get: function (a, b, d, e) { if (c.isFunction(b)) { e = e || d; d = b; b = null } return c.ajax({ type: "GET", url: a, data: b, success: d, dataType: e }) }, getScript: function (a, b) { return c.get(a, null, b, "script") }, getJSON: function (a, b, d) { return c.get(a, b, d, "json") }, post: function (a, b, d, e) { if (c.isFunction(b)) { e = e || d; d = b; b = {} } return c.ajax({ type: "POST", url: a, data: b, success: d, dataType: e }) }, ajaxSetup: function (a) { c.extend(c.ajaxSettings, a) }, ajaxSettings: { url: location.href,
    global: true, type: "GET", contentType: "application/x-www-form-urlencoded", processData: true, async: true, xhr: function () { return new i.XMLHttpRequest }, accepts: { xml: "application/xml, text/xml", html: "text/html", script: "text/javascript, application/javascript", json: "application/json, text/javascript", text: "text/plain", _default: "*/*" }
}, ajax: function (a) {
    var b = c.extend(true, {}, c.ajaxSettings, a), d, e, f, h = b.type.toUpperCase(), o = w.test(h); b.url = b.url.replace(Z, ""); b.context = a && a.context != null ? a.context : b; if (b.data &&
b.processData && typeof b.data !== "string") b.data = c.param(b.data, b.traditional); if (b.dataType === "jsonp") { if (h === "GET") E.test(b.url) || (b.url += (K.test(b.url) ? "&" : "?") + (b.jsonp || "callback") + "=?"); else if (!b.data || !E.test(b.data)) b.data = (b.data ? b.data + "&" : "") + (b.jsonp || "callback") + "=?"; b.dataType = "json" } if (b.dataType === "json" && (b.data && E.test(b.data) || E.test(b.url))) {
        d = b.jsonpCallback || "jsonp" + T++; if (b.data) b.data = (b.data + "").replace(E, "=" + d + "$1"); b.url = b.url.replace(E, "=" + d + "$1"); b.dataType = "script"; var n =
i[d]; i[d] = function (t) { if (c.isFunction(n)) n(t); else { i[d] = G; try { delete i[d] } catch (z) { } } f = t; c.handleSuccess(b, U, e, f); c.handleComplete(b, U, e, f); I && I.removeChild(ka) }
    } if (b.dataType === "script" && b.cache === null) b.cache = false; if (b.cache === false && o) { var v = c.now(), ba = b.url.replace(H, "$1_=" + v); b.url = ba + (ba === b.url ? (K.test(b.url) ? "&" : "?") + "_=" + v : "") } if (b.data && o) b.url += (K.test(b.url) ? "&" : "?") + b.data; b.global && c.active++ === 0 && c.event.trigger("ajaxStart"); v = (v = W.exec(b.url)) && (v[1] && v[1].toLowerCase() !== location.protocol ||
v[2].toLowerCase() !== location.host); if (b.dataType === "script" && h === "GET" && v) {
        var I = C.getElementsByTagName("head")[0] || C.documentElement, ka = C.createElement("script"); if (b.scriptCharset) ka.charset = b.scriptCharset; ka.src = b.url; if (!d) { var za = false; ka.onload = ka.onreadystatechange = function () { if (!za && (!this.readyState || this.readyState === "loaded" || this.readyState === "complete")) { za = true; c.handleSuccess(b, U, e, f); c.handleComplete(b, U, e, f); ka.onload = ka.onreadystatechange = null; I && ka.parentNode && I.removeChild(ka) } } } I.insertBefore(ka,
I.firstChild); return G
    } var Ta = false, U = b.xhr(); if (U) {
        b.username ? U.open(h, b.url, b.async, b.username, b.password) : U.open(h, b.url, b.async); try {
            if (b.data != null && !o || a && a.contentType) U.setRequestHeader("Content-Type", b.contentType); if (b.ifModified) { c.lastModified[b.url] && U.setRequestHeader("If-Modified-Since", c.lastModified[b.url]); c.etag[b.url] && U.setRequestHeader("If-None-Match", c.etag[b.url]) } v || U.setRequestHeader("X-Requested-With", "XMLHttpRequest"); U.setRequestHeader("Accept", b.dataType && b.accepts[b.dataType] ?
b.accepts[b.dataType] + ", */*; q=0.01" : b.accepts._default)
        } catch (Sa) { } if (b.beforeSend && b.beforeSend.call(b.context, U, b) === false) { b.global && c.active-- === 1 && c.event.trigger("ajaxStop"); U.abort(); return false } b.global && c.triggerGlobal(b, "ajaxSend", [U, b]); var gb = U.onreadystatechange = function (t) {
            if (!U || U.readyState === 0 || t === "abort") { Ta || c.handleComplete(b, U, e, f); Ta = true; if (U) U.onreadystatechange = c.noop } else if (!Ta && U && (U.readyState === 4 || t === "timeout")) {
                Ta = true; U.onreadystatechange = c.noop; e = t === "timeout" ?
"timeout" : !c.httpSuccess(U) ? "error" : b.ifModified && c.httpNotModified(U, b.url) ? "notmodified" : "success"; var z; if (e === "success") try { f = c.httpData(U, b.dataType, b) } catch (A) { e = "parsererror"; z = A } if (e === "success" || e === "notmodified") d || c.handleSuccess(b, U, e, f); else c.handleError(b, U, e, z); d || c.handleComplete(b, U, e, f); t === "timeout" && U.abort(); if (b.async) U = null
            }
        }; try { var g = U.abort; U.abort = function () { U && Function.prototype.call.call(g, U); gb("abort") } } catch (k) { } b.async && b.timeout > 0 && setTimeout(function () {
            U && !Ta &&
gb("timeout")
        }, b.timeout); try { U.send(o || b.data == null ? null : b.data) } catch (u) { c.handleError(b, U, null, u); c.handleComplete(b, U, e, f) } b.async || gb(); return U
    }
}, param: function (a, b) { var d = [], e = function (h, o) { o = c.isFunction(o) ? o() : o; d[d.length] = encodeURIComponent(h) + "=" + encodeURIComponent(o) }; if (b === G) b = c.ajaxSettings.traditional; if (c.isArray(a) || a.jquery) c.each(a, function () { e(this.name, this.value) }); else for (var f in a) la(f, a[f], b, e); return d.join("&").replace(X, "+") }
}); c.extend({ active: 0, lastModified: {}, etag: {},
    handleError: function (a, b, d, e) { a.error && a.error.call(a.context, b, d, e); a.global && c.triggerGlobal(a, "ajaxError", [b, a, e]) }, handleSuccess: function (a, b, d, e) { a.success && a.success.call(a.context, e, d, b); a.global && c.triggerGlobal(a, "ajaxSuccess", [b, a]) }, handleComplete: function (a, b, d) { a.complete && a.complete.call(a.context, b, d); a.global && c.triggerGlobal(a, "ajaxComplete", [b, a]); a.global && c.active-- === 1 && c.event.trigger("ajaxStop") }, triggerGlobal: function (a, b, d) {
        (a.context && a.context.url == null ? c(a.context) : c.event).trigger(b,
d)
    }, httpSuccess: function (a) { try { return !a.status && location.protocol === "file:" || a.status >= 200 && a.status < 300 || a.status === 304 || a.status === 1223 } catch (b) { } return false }, httpNotModified: function (a, b) { var d = a.getResponseHeader("Last-Modified"), e = a.getResponseHeader("Etag"); if (d) c.lastModified[b] = d; if (e) c.etag[b] = e; return a.status === 304 }, httpData: function (a, b, d) {
        var e = a.getResponseHeader("content-type") || "", f = b === "xml" || !b && e.indexOf("xml") >= 0; a = f ? a.responseXML : a.responseText; f && a.documentElement.nodeName ===
"parsererror" && c.error("parsererror"); if (d && d.dataFilter) a = d.dataFilter(a, b); if (typeof a === "string") if (b === "json" || !b && e.indexOf("json") >= 0) a = c.parseJSON(a); else if (b === "script" || !b && e.indexOf("javascript") >= 0) c.globalEval(a); return a
    }
}); if (i.ActiveXObject) c.ajaxSettings.xhr = function () { if (i.location.protocol !== "file:") try { return new i.XMLHttpRequest } catch (a) { } try { return new i.ActiveXObject("Microsoft.XMLHTTP") } catch (b) { } }; c.support.ajax = !!c.ajaxSettings.xhr(); var ma = {}, Fa = /^(?:toggle|show|hide)$/,
Ja = /^([+\-]=)?([\d+.\-]+)(.*)$/, pa, va = [["height", "marginTop", "marginBottom", "paddingTop", "paddingBottom"], ["width", "marginLeft", "marginRight", "paddingLeft", "paddingRight"], ["opacity"]]; c.fn.extend({ show: function (a, b, d) {
    if (a || a === 0) return this.animate(y("show", 3), a, b, d); else {
        d = 0; for (var e = this.length; d < e; d++) { a = this[d]; b = a.style.display; if (!c.data(a, "olddisplay") && b === "none") b = a.style.display = ""; b === "" && c.css(a, "display") === "none" && c.data(a, "olddisplay", ja(a.nodeName)) } for (d = 0; d < e; d++) {
            a = this[d]; b =
a.style.display; if (b === "" || b === "none") a.style.display = c.data(a, "olddisplay") || ""
        } return this
    }
}, hide: function (a, b, d) { if (a || a === 0) return this.animate(y("hide", 3), a, b, d); else { a = 0; for (b = this.length; a < b; a++) { d = c.css(this[a], "display"); d !== "none" && c.data(this[a], "olddisplay", d) } for (a = 0; a < b; a++) this[a].style.display = "none"; return this } }, _toggle: c.fn.toggle, toggle: function (a, b, d) {
    var e = typeof a === "boolean"; if (c.isFunction(a) && c.isFunction(b)) this._toggle.apply(this, arguments); else a == null || e ? this.each(function () {
        var f =
e ? a : c(this).is(":hidden"); c(this)[f ? "show" : "hide"]()
    }) : this.animate(y("toggle", 3), a, b, d); return this
}, fadeTo: function (a, b, d, e) { return this.filter(":hidden").css("opacity", 0).show().end().animate({ opacity: b }, a, d, e) }, animate: function (a, b, d, e) {
    var f = c.speed(b, d, e); if (c.isEmptyObject(a)) return this.each(f.complete); return this[f.queue === false ? "each" : "queue"](function () {
        var h = c.extend({}, f), o, n = this.nodeType === 1, v = n && c(this).is(":hidden"), ba = this; for (o in a) {
            var I = c.camelCase(o); if (o !== I) {
                a[I] = a[o]; delete a[o];
                o = I
            } if (a[o] === "hide" && v || a[o] === "show" && !v) return h.complete.call(this); if (n && (o === "height" || o === "width")) { h.overflow = [this.style.overflow, this.style.overflowX, this.style.overflowY]; if (c.css(this, "display") === "inline" && c.css(this, "float") === "none") if (c.support.inlineBlockNeedsLayout) if (ja(this.nodeName) === "inline") this.style.display = "inline-block"; else { this.style.display = "inline"; this.style.zoom = 1 } else this.style.display = "inline-block" } if (c.isArray(a[o])) {
                (h.specialEasing = h.specialEasing || {})[o] =
a[o][1]; a[o] = a[o][0]
            }
        } if (h.overflow != null) this.style.overflow = "hidden"; h.curAnim = c.extend({}, a); c.each(a, function (ka, za) { var Ta = new c.fx(ba, h, ka); if (Fa.test(za)) Ta[za === "toggle" ? v ? "show" : "hide" : za](a); else { var U = Ja.exec(za), Sa = Ta.cur() || 0; if (U) { var gb = parseFloat(U[2]), g = U[3] || "px"; if (g !== "px") { c.style(ba, ka, (gb || 1) + g); Sa *= (gb || 1) / Ta.cur(); c.style(ba, ka, Sa + g) } if (U[1]) gb = (U[1] === "-=" ? -1 : 1) * gb + Sa; Ta.custom(Sa, gb, g) } else Ta.custom(Sa, za, "") } }); return true
    })
}, stop: function (a, b) {
    var d = c.timers; a && this.queue([]);
    this.each(function () { for (var e = d.length - 1; e >= 0; e--) if (d[e].elem === this) { b && d[e](true); d.splice(e, 1) } }); b || this.dequeue(); return this
}
}); c.each({ slideDown: y("show", 1), slideUp: y("hide", 1), slideToggle: y("toggle", 1), fadeIn: { opacity: "show" }, fadeOut: { opacity: "hide" }, fadeToggle: { opacity: "toggle"} }, function (a, b) { c.fn[a] = function (d, e, f) { return this.animate(b, d, e, f) } }); c.extend({ speed: function (a, b, d) {
    var e = a && typeof a === "object" ? c.extend({}, a) : { complete: d || !d && b || c.isFunction(a) && a, duration: a, easing: d && b ||
b && !c.isFunction(b) && b
    }; e.duration = c.fx.off ? 0 : typeof e.duration === "number" ? e.duration : e.duration in c.fx.speeds ? c.fx.speeds[e.duration] : c.fx.speeds._default; e.old = e.complete; e.complete = function () { e.queue !== false && c(this).dequeue(); c.isFunction(e.old) && e.old.call(this) }; return e
}, easing: { linear: function (a, b, d, e) { return d + e * a }, swing: function (a, b, d, e) { return (-Math.cos(a * Math.PI) / 2 + 0.5) * e + d } }, timers: [], fx: function (a, b, d) { this.options = b; this.elem = a; this.prop = d; if (!b.orig) b.orig = {} }
}); c.fx.prototype = { update: function () {
    this.options.step &&
this.options.step.call(this.elem, this.now, this); (c.fx.step[this.prop] || c.fx.step._default)(this)
}, cur: function () { if (this.elem[this.prop] != null && (!this.elem.style || this.elem.style[this.prop] == null)) return this.elem[this.prop]; var a = parseFloat(c.css(this.elem, this.prop)); return a && a > -1E4 ? a : 0 }, custom: function (a, b, d) {
    function e(o) { return f.step(o) } var f = this, h = c.fx; this.startTime = c.now(); this.start = a; this.end = b; this.unit = d || this.unit || "px"; this.now = this.start; this.pos = this.state = 0; e.elem = this.elem; if (e() &&
c.timers.push(e) && !pa) pa = setInterval(h.tick, h.interval)
}, show: function () { this.options.orig[this.prop] = c.style(this.elem, this.prop); this.options.show = true; this.custom(this.prop === "width" || this.prop === "height" ? 1 : 0, this.cur()); c(this.elem).show() }, hide: function () { this.options.orig[this.prop] = c.style(this.elem, this.prop); this.options.hide = true; this.custom(this.cur(), 0) }, step: function (a) {
    var b = c.now(), d = true; if (a || b >= this.options.duration + this.startTime) {
        this.now = this.end; this.pos = this.state = 1; this.update();
        this.options.curAnim[this.prop] = true; for (var e in this.options.curAnim) if (this.options.curAnim[e] !== true) d = false; if (d) { if (this.options.overflow != null && !c.support.shrinkWrapBlocks) { var f = this.elem, h = this.options; c.each(["", "X", "Y"], function (n, v) { f.style["overflow" + v] = h.overflow[n] }) } this.options.hide && c(this.elem).hide(); if (this.options.hide || this.options.show) for (var o in this.options.curAnim) c.style(this.elem, o, this.options.orig[o]); this.options.complete.call(this.elem) } return false
    } else {
        a = b - this.startTime;
        this.state = a / this.options.duration; b = this.options.easing || (c.easing.swing ? "swing" : "linear"); this.pos = c.easing[this.options.specialEasing && this.options.specialEasing[this.prop] || b](this.state, a, 0, 1, this.options.duration); this.now = this.start + (this.end - this.start) * this.pos; this.update()
    } return true
}
}; c.extend(c.fx, { tick: function () { for (var a = c.timers, b = 0; b < a.length; b++) a[b]() || a.splice(b--, 1); a.length || c.fx.stop() }, interval: 13, stop: function () { clearInterval(pa); pa = null }, speeds: { slow: 600, fast: 200, _default: 400 },
    step: { opacity: function (a) { c.style(a.elem, "opacity", a.now) }, _default: function (a) { if (a.elem.style && a.elem.style[a.prop] != null) a.elem.style[a.prop] = (a.prop === "width" || a.prop === "height" ? Math.max(0, a.now) : a.now) + a.unit; else a.elem[a.prop] = a.now } }
}); if (c.expr && c.expr.filters) c.expr.filters.animated = function (a) { return c.grep(c.timers, function (b) { return a === b.elem }).length }; var ta = /^t(?:able|d|h)$/i, Ba = /^(?:body|html)$/i; c.fn.offset = "getBoundingClientRect" in C.documentElement ? function (a) {
    var b = this[0], d;
    if (a) return this.each(function (o) { c.offset.setOffset(this, a, o) }); if (!b || !b.ownerDocument) return null; if (b === b.ownerDocument.body) return c.offset.bodyOffset(b); try { d = b.getBoundingClientRect() } catch (e) { } var f = b.ownerDocument, h = f.documentElement; if (!d || !c.contains(h, b)) return d || { top: 0, left: 0 }; b = f.body; f = Ha(f); return { top: d.top + (f.pageYOffset || c.support.boxModel && h.scrollTop || b.scrollTop) - (h.clientTop || b.clientTop || 0), left: d.left + (f.pageXOffset || c.support.boxModel && h.scrollLeft || b.scrollLeft) - (h.clientLeft ||
b.clientLeft || 0)
    }
} : function (a) {
    var b = this[0]; if (a) return this.each(function (ba) { c.offset.setOffset(this, a, ba) }); if (!b || !b.ownerDocument) return null; if (b === b.ownerDocument.body) return c.offset.bodyOffset(b); c.offset.initialize(); var d, e = b.offsetParent, f = b.ownerDocument, h = f.documentElement, o = f.body; d = (f = f.defaultView) ? f.getComputedStyle(b, null) : b.currentStyle; for (var n = b.offsetTop, v = b.offsetLeft; (b = b.parentNode) && b !== o && b !== h; ) {
        if (c.offset.supportsFixedPosition && d.position === "fixed") break; d = f ? f.getComputedStyle(b,
null) : b.currentStyle; n -= b.scrollTop; v -= b.scrollLeft; if (b === e) { n += b.offsetTop; v += b.offsetLeft; if (c.offset.doesNotAddBorder && !(c.offset.doesAddBorderForTableAndCells && ta.test(b.nodeName))) { n += parseFloat(d.borderTopWidth) || 0; v += parseFloat(d.borderLeftWidth) || 0 } e = b.offsetParent } if (c.offset.subtractsBorderForOverflowNotVisible && d.overflow !== "visible") { n += parseFloat(d.borderTopWidth) || 0; v += parseFloat(d.borderLeftWidth) || 0 }
    } if (d.position === "relative" || d.position === "static") { n += o.offsetTop; v += o.offsetLeft } if (c.offset.supportsFixedPosition &&
d.position === "fixed") { n += Math.max(h.scrollTop, o.scrollTop); v += Math.max(h.scrollLeft, o.scrollLeft) } return { top: n, left: v }
}; c.offset = { initialize: function () {
    var a = C.body, b = C.createElement("div"), d, e, f, h = parseFloat(c.css(a, "marginTop")) || 0; c.extend(b.style, { position: "absolute", top: 0, left: 0, margin: 0, border: 0, width: "1px", height: "1px", visibility: "hidden" }); b.innerHTML = "<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";
    a.insertBefore(b, a.firstChild); d = b.firstChild; e = d.firstChild; f = d.nextSibling.firstChild.firstChild; this.doesNotAddBorder = e.offsetTop !== 5; this.doesAddBorderForTableAndCells = f.offsetTop === 5; e.style.position = "fixed"; e.style.top = "20px"; this.supportsFixedPosition = e.offsetTop === 20 || e.offsetTop === 15; e.style.position = e.style.top = ""; d.style.overflow = "hidden"; d.style.position = "relative"; this.subtractsBorderForOverflowNotVisible = e.offsetTop === -5; this.doesNotIncludeMarginInBodyOffset = a.offsetTop !== h; a.removeChild(b);
    c.offset.initialize = c.noop
}, bodyOffset: function (a) { var b = a.offsetTop, d = a.offsetLeft; c.offset.initialize(); if (c.offset.doesNotIncludeMarginInBodyOffset) { b += parseFloat(c.css(a, "marginTop")) || 0; d += parseFloat(c.css(a, "marginLeft")) || 0 } return { top: b, left: d} }, setOffset: function (a, b, d) {
    var e = c.css(a, "position"); if (e === "static") a.style.position = "relative"; var f = c(a), h = f.offset(), o = c.css(a, "top"), n = c.css(a, "left"), v = e === "absolute" && c.inArray("auto", [o, n]) > -1; e = {}; var ba = {}; if (v) ba = f.position(); o = v ? ba.top : parseInt(o,
10) || 0; n = v ? ba.left : parseInt(n, 10) || 0; if (c.isFunction(b)) b = b.call(a, d, h); if (b.top != null) e.top = b.top - h.top + o; if (b.left != null) e.left = b.left - h.left + n; "using" in b ? b.using.call(a, e) : f.css(e)
}
}; c.fn.extend({ position: function () {
    if (!this[0]) return null; var a = this[0], b = this.offsetParent(), d = this.offset(), e = Ba.test(b[0].nodeName) ? { top: 0, left: 0} : b.offset(); d.top -= parseFloat(c.css(a, "marginTop")) || 0; d.left -= parseFloat(c.css(a, "marginLeft")) || 0; e.top += parseFloat(c.css(b[0], "borderTopWidth")) || 0; e.left += parseFloat(c.css(b[0],
"borderLeftWidth")) || 0; return { top: d.top - e.top, left: d.left - e.left }
}, offsetParent: function () { return this.map(function () { for (var a = this.offsetParent || C.body; a && !Ba.test(a.nodeName) && c.css(a, "position") === "static"; ) a = a.offsetParent; return a }) }
}); c.each(["Left", "Top"], function (a, b) {
    var d = "scroll" + b; c.fn[d] = function (e) {
        var f = this[0], h; if (!f) return null; return e !== G ? this.each(function () { if (h = Ha(this)) h.scrollTo(!a ? e : c(h).scrollLeft(), a ? e : c(h).scrollTop()); else this[d] = e }) : (h = Ha(f)) ? "pageXOffset" in h ? h[a ?
"pageYOffset" : "pageXOffset"] : c.support.boxModel && h.document.documentElement[d] || h.document.body[d] : f[d]
    }
}); c.each(["Height", "Width"], function (a, b) {
    var d = b.toLowerCase(); c.fn["inner" + b] = function () { return this[0] ? parseFloat(c.css(this[0], d, "padding")) : null }; c.fn["outer" + b] = function (e) { return this[0] ? parseFloat(c.css(this[0], d, e ? "margin" : "border")) : null }; c.fn[d] = function (e) {
        var f = this[0]; if (!f) return e == null ? null : this; if (c.isFunction(e)) return this.each(function (o) { var n = c(this); n[d](e.call(this, o, n[d]())) });
        if (c.isWindow(f)) return f.document.compatMode === "CSS1Compat" && f.document.documentElement["client" + b] || f.document.body["client" + b]; else if (f.nodeType === 9) return Math.max(f.documentElement["client" + b], f.body["scroll" + b], f.documentElement["scroll" + b], f.body["offset" + b], f.documentElement["offset" + b]); else if (e === G) { f = c.css(f, d); var h = parseFloat(f); return c.isNaN(h) ? f : h } else return this.css(d, typeof e === "string" ? e : e + "px")
    }
})
})(window); var er_$144 = jQuery.noConflict(); if (er_jQueryOrig) window.jQuery = er_jQueryOrig;
var er_swfobject22 = function () {
    function i() { if (!fb) { try { var j = ia.getElementsByTagName("body")[0].appendChild(ia.createElement("span")); j.parentNode.removeChild(j) } catch (q) { return } fb = true; j = ib.length; for (var s = 0; s < j; s++) ib[s]() } } function G(j) { if (fb) j(); else ib[ib.length] = j } function Qa(j) {
        if (typeof $a.addEventListener != fa) $a.addEventListener("load", j, false); else if (typeof ia.addEventListener != fa) ia.addEventListener("load", j, false); else if (typeof $a.attachEvent != fa) y($a, "onload", j); else if (typeof $a.onload ==
"function") { var q = $a.onload; $a.onload = function () { q(); j() } } else $a.onload = j
    } function cb() { var j = ia.getElementsByTagName("body")[0], q = ia.createElement(Xa); q.setAttribute("type", eb); var s = j.appendChild(q); if (s) { var B = 0; (function () { if (typeof s.GetVariable != fa) { var F = s.GetVariable("$version"); if (F) { F = F.split(" ")[1].split(","); x.pv = [parseInt(F[0], 10), parseInt(F[1], 10), parseInt(F[2], 10)] } } else if (B < 10) { B++; setTimeout(arguments.callee, 10); return } j.removeChild(q); s = null; nb() })() } else nb() } function nb() {
        var j =
ab.length; if (j > 0) for (var q = 0; q < j; q++) {
            var s = ab[q].id, B = ab[q].callbackFn, F = { success: false, id: s }; if (x.pv[0] > 0) {
                var $ = la(s); if ($) if (ja(ab[q].swfVersion) && !(x.wk && x.wk < 312)) { C(s, true); if (B) { F.success = true; F.ref = rb(s); B(F) } } else if (ab[q].expressInstall && p()) {
                    F = {}; F.data = ab[q].expressInstall; F.width = $.getAttribute("width") || "0"; F.height = $.getAttribute("height") || "0"; if ($.getAttribute("class")) F.styleclass = $.getAttribute("class"); if ($.getAttribute("align")) F.align = $.getAttribute("align"); var V = {}; $ = $.getElementsByTagName("param");
                    for (var ga = $.length, na = 0; na < ga; na++) if ($[na].getAttribute("name").toLowerCase() != "movie") V[$[na].getAttribute("name")] = $[na].getAttribute("value"); P(F, V, s, B)
                } else { Y($); B && B(F) }
            } else { C(s, true); if (B) { if ((s = rb(s)) && typeof s.SetVariable != fa) { F.success = true; F.ref = s } B(F) } }
        }
    } function rb(j) { var q = null; if ((j = la(j)) && j.nodeName == "OBJECT") if (typeof j.SetVariable != fa) q = j; else if (j = j.getElementsByTagName(Xa)[0]) q = j; return q } function p() { return !qb && ja("6.0.65") && (x.win || x.mac) && !(x.wk && x.wk < 312) } function P(j, q,
s, B) {
        qb = true; vb = B || null; wb = { success: false, id: s }; var F = la(s); if (F) {
            if (F.nodeName == "OBJECT") { sb = qa(F); tb = null } else { sb = F; tb = s } j.id = pb; if (typeof j.width == fa || !/%$/.test(j.width) && parseInt(j.width, 10) < 310) j.width = "310"; if (typeof j.height == fa || !/%$/.test(j.height) && parseInt(j.height, 10) < 137) j.height = "137"; ia.title = ia.title.slice(0, 47) + " - Flash Player Installation"; B = x.ie && x.win ? "ActiveX" : "PlugIn"; B = "MMredirectURL=" + encodeURI($a.location).toString().replace(/&/g, "%26") + "&MMplayerType=" + B + "&MMdoctitle=" +
ia.title; if (typeof q.flashvars != fa) q.flashvars += "&" + B; else q.flashvars = B; if (x.ie && x.win && F.readyState != 4) { B = ia.createElement("div"); s += "SWFObjectNew"; B.setAttribute("id", s); F.parentNode.insertBefore(B, F); F.style.display = "none"; (function () { F.readyState == 4 ? F.parentNode.removeChild(F) : setTimeout(arguments.callee, 10) })() } ua(j, q, s)
        }
    } function Y(j) {
        if (x.ie && x.win && j.readyState != 4) {
            var q = ia.createElement("div"); j.parentNode.insertBefore(q, j); q.parentNode.replaceChild(qa(j), q); j.style.display = "none"; (function () {
                j.readyState ==
4 ? j.parentNode.removeChild(j) : setTimeout(arguments.callee, 10)
            })()
        } else j.parentNode.replaceChild(qa(j), j)
    } function qa(j) { var q = ia.createElement("div"); if (x.win && x.ie) q.innerHTML = j.innerHTML; else if (j = j.getElementsByTagName(Xa)[0]) if (j = j.childNodes) for (var s = j.length, B = 0; B < s; B++) !(j[B].nodeType == 1 && j[B].nodeName == "PARAM") && j[B].nodeType != 8 && q.appendChild(j[B].cloneNode(true)); return q } function ua(j, q, s) {
        var B, F = la(s); if (x.wk && x.wk < 312) return B; if (F) {
            if (typeof j.id == fa) j.id = s; if (x.ie && x.win) {
                var $ =
"", V; for (V in j) if (j[V] != Object.prototype[V]) if (V.toLowerCase() == "data") q.movie = j[V]; else if (V.toLowerCase() == "styleclass") $ += ' class="' + j[V] + '"'; else if (V.toLowerCase() != "classid") $ += " " + V + '="' + j[V] + '"'; V = ""; for (var ga in q) if (q[ga] != Object.prototype[ga]) V += '<param name="' + ga + '" value="' + q[ga] + '" />'; F.outerHTML = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"' + $ + ">" + V + "</object>"; Za[Za.length] = j.id; B = la(j.id)
            } else {
                ga = ia.createElement(Xa); ga.setAttribute("type", eb); for (var na in j) if (j[na] !=
Object.prototype[na]) if (na.toLowerCase() == "styleclass") ga.setAttribute("class", j[na]); else na.toLowerCase() != "classid" && ga.setAttribute(na, j[na]); for ($ in q) if (q[$] != Object.prototype[$] && $.toLowerCase() != "movie") { j = ga; V = $; na = q[$]; s = ia.createElement("param"); s.setAttribute("name", V); s.setAttribute("value", na); j.appendChild(s) } F.parentNode.replaceChild(ga, F); B = ga
            }
        } return B
    } function Ga(j) {
        var q = la(j); if (q && q.nodeName == "OBJECT") if (x.ie && x.win) {
            q.style.display = "none"; (function () {
                if (q.readyState == 4) {
                    var s =
la(j); if (s) { for (var B in s) if (typeof s[B] == "function") s[B] = null; s.parentNode.removeChild(s) }
                } else setTimeout(arguments.callee, 10)
            })()
        } else q.parentNode.removeChild(q)
    } function la(j) { var q = null; try { q = ia.getElementById(j) } catch (s) { } return q } function y(j, q, s) { j.attachEvent(q, s); lb[lb.length] = [j, q, s] } function ja(j) { var q = x.pv; j = j.split("."); j[0] = parseInt(j[0], 10); j[1] = parseInt(j[1], 10) || 0; j[2] = parseInt(j[2], 10) || 0; return q[0] > j[0] || q[0] == j[0] && q[1] > j[1] || q[0] == j[0] && q[1] == j[1] && q[2] >= j[2] ? true : false }
    function Ha(j, q, s, B) {
        if (!(x.ie && x.mac)) {
            var F = ia.getElementsByTagName("head")[0]; if (F) {
                s = s && typeof s == "string" ? s : "screen"; if (B) l = bb = null; if (!bb || l != s) { B = ia.createElement("style"); B.setAttribute("type", "text/css"); B.setAttribute("media", s); bb = F.appendChild(B); if (x.ie && x.win && typeof ia.styleSheets != fa && ia.styleSheets.length > 0) bb = ia.styleSheets[ia.styleSheets.length - 1]; l = s } if (x.ie && x.win) bb && typeof bb.addRule == Xa && bb.addRule(j, q); else bb && typeof ia.createTextNode != fa && bb.appendChild(ia.createTextNode(j +
" {" + q + "}"))
            }
        }
    } function C(j, q) { if (r) { var s = q ? "visible" : "hidden"; if (fb && la(j)) la(j).style.visibility = s; else Ha("#" + j, "visibility:" + s) } } function c(j) { return /[\\\"<>\.;]/.exec(j) != null && typeof encodeURIComponent != fa ? encodeURIComponent(j) : j } var fa = "undefined", Xa = "object", eb = "application/x-shockwave-flash", pb = "SWFObjectExprInst", $a = window, ia = document, Ua = navigator, ob = false, ib = [function () { ob ? cb() : nb() } ], ab = [], Za = [], lb = [], sb, tb, vb, wb, fb = false, qb = false, bb, l, r = true, x = function () {
        var j = typeof ia.getElementById !=
fa && typeof ia.getElementsByTagName != fa && typeof ia.createElement != fa, q = Ua.userAgent.toLowerCase(), s = Ua.platform.toLowerCase(), B = s ? /win/.test(s) : /win/.test(q); s = s ? /mac/.test(s) : /mac/.test(q); q = /webkit/.test(q) ? parseFloat(q.replace(/^.*webkit\/(\d+(\.\d+)?).*$/, "$1")) : false; var F = ! +"\u000b1", $ = [0, 0, 0], V = null; if (typeof Ua.plugins != fa && typeof Ua.plugins["Shockwave Flash"] == Xa) {
            if ((V = Ua.plugins["Shockwave Flash"].description) && !(typeof Ua.mimeTypes != fa && Ua.mimeTypes[eb] && !Ua.mimeTypes[eb].enabledPlugin)) {
                ob =
true; F = false; V = V.replace(/^.*\s+(\S+\s+\S+$)/, "$1"); $[0] = parseInt(V.replace(/^(.*)\..*$/, "$1"), 10); $[1] = parseInt(V.replace(/^.*\.(.*)\s.*$/, "$1"), 10); $[2] = /[a-zA-Z]/.test(V) ? parseInt(V.replace(/^.*[a-zA-Z]+(.*)$/, "$1"), 10) : 0
            }
        } else if (typeof $a.ActiveXObject != fa) try { var ga = new ActiveXObject("ShockwaveFlash.ShockwaveFlash"); if (ga) if (V = ga.GetVariable("$version")) { F = true; V = V.split(" ")[1].split(","); $ = [parseInt(V[0], 10), parseInt(V[1], 10), parseInt(V[2], 10)] } } catch (na) { } return { w3: j, pv: $, wk: q, ie: F, win: B,
            mac: s
        }
    } (); (function () {
        if (x.w3) {
            if (typeof ia.readyState != fa && ia.readyState == "complete" || typeof ia.readyState == fa && (ia.getElementsByTagName("body")[0] || ia.body)) i(); if (!fb) {
                typeof ia.addEventListener != fa && ia.addEventListener("DOMContentLoaded", i, false); if (x.ie && x.win) {
                    ia.attachEvent("onreadystatechange", function () { if (ia.readyState == "complete") { ia.detachEvent("onreadystatechange", arguments.callee); i() } }); $a == top && function () {
                        if (!fb) {
                            try { ia.documentElement.doScroll("left") } catch (j) {
                                setTimeout(arguments.callee,
0); return
                            } i()
                        }
                    } ()
                } x.wk && function () { fb || (/loaded|complete/.test(ia.readyState) ? i() : setTimeout(arguments.callee, 0)) } (); Qa(i)
            }
        }
    })(); (function () { x.ie && x.win && window.attachEvent("onunload", function () { for (var j = lb.length, q = 0; q < j; q++) lb[q][0].detachEvent(lb[q][1], lb[q][2]); j = Za.length; for (q = 0; q < j; q++) Ga(Za[q]); for (var s in x) x[s] = null; x = null; for (var B in er_swfobject22) er_swfobject22[B] = null; er_swfobject22 = null }) })(); return { registerObject: function (j, q, s, B) {
        if (x.w3 && j && q) {
            var F = {}; F.id = j; F.swfVersion = q; F.expressInstall =
s; F.callbackFn = B; ab[ab.length] = F; C(j, false)
        } else B && B({ success: false, id: j })
    }, getObjectById: function (j) { if (x.w3) return rb(j) }, embedSWF: function (j, q, s, B, F, $, V, ga, na, Da) {
        var Ma = { success: false, id: q }; if (x.w3 && !(x.wk && x.wk < 312) && j && q && s && B && F) {
            C(q, false); G(function () {
                s += ""; B += ""; var Aa = {}; if (na && typeof na === Xa) for (var Ia in na) Aa[Ia] = na[Ia]; Aa.data = j; Aa.width = s; Aa.height = B; Ia = {}; if (ga && typeof ga === Xa) for (var Ca in ga) Ia[Ca] = ga[Ca]; if (V && typeof V === Xa) for (var M in V) if (typeof Ia.flashvars != fa) Ia.flashvars +=
"&" + M + "=" + V[M]; else Ia.flashvars = M + "=" + V[M]; if (ja(F)) { Ca = ua(Aa, Ia, q); Aa.id == q && C(q, true); Ma.success = true; Ma.ref = Ca } else if ($ && p()) { Aa.data = $; P(Aa, Ia, q, Da); return } else C(q, true); Da && Da(Ma)
            })
        } else Da && Da(Ma)
    }, switchOffAutoHideShow: function () { r = false }, ua: x, getFlashPlayerVersion: function () { return { major: x.pv[0], minor: x.pv[1], release: x.pv[2]} }, hasFlashPlayerVersion: ja, createSWF: function (j, q, s) { if (x.w3) return ua(j, q, s) }, showExpressInstall: function (j, q, s, B) { x.w3 && p() && P(j, q, s, B) }, removeSWF: function (j) {
        x.w3 &&
Ga(j)
    }, createCSS: function (j, q, s, B) { x.w3 && Ha(j, q, s, B) }, addDomLoadEvent: G, addLoadEvent: Qa, getQueryParamValue: function (j) { var q = ia.location.search || ia.location.hash; if (q) { if (/\?/.test(q)) q = q.split("?")[1]; if (j == null) return c(q); q = q.split("&"); for (var s = 0; s < q.length; s++) if (q[s].substring(0, q[s].indexOf("=")) == j) return c(q[s].substring(q[s].indexOf("=") + 1)) } return "" }, expressInstallCallback: function () {
        if (qb) {
            var j = la(pb); if (j && sb) {
                j.parentNode.replaceChild(sb, j); if (tb) {
                    C(tb, true); if (x.ie && x.win) sb.style.display =
"block"
                } vb && vb(wb)
            } qb = false
        }
    }
    }
} ();
(function (i, G, Qa, cb) {
    if (typeof Qa.erO1I === "undefined") {
        Qa.erO1I = 1; i && function () {
            i.extend(i.fn, { contextMenu: function (p, P) {
                if (p.menu == undefined) return false; if (p.inSpeed == undefined) p.inSpeed = 150; if (p.outSpeed == undefined) p.outSpeed = 75; if (p.inSpeed == 0) p.inSpeed = -1; if (p.outSpeed == 0) p.outSpeed = -1; i(this).each(function () {
                    var Y = i(this), qa = i(Y).offset(); i("#" + p.menu).addClass("contextMenu"); i(this).mousedown(function (ua) {
                        if (ua.button == 2) {
                            ua.stopPropagation(); i(this).mouseup(function (Ga) {
                                Ga.stopPropagation(); var la =
i(this); i(this).unbind(Ga); if (ua.button == 2) {
                                    i(".contextMenu").hide(); var y = i("#" + p.menu); if (i(Y).hasClass("disabled")) return false; var ja = {}, Ha, C; if (self.innerHeight) { ja.pageYOffset = self.pageYOffset; ja.pageXOffset = self.pageXOffset; ja.innerHeight = self.innerHeight; ja.innerWidth = self.innerWidth } else if (G.documentElement && G.documentElement.clientHeight) { ja.pageYOffset = G.documentElement.scrollTop; ja.pageXOffset = G.documentElement.scrollLeft; ja.innerHeight = G.documentElement.clientHeight; ja.innerWidth = G.documentElement.clientWidth } else if (G.body) {
                                        ja.pageYOffset =
G.body.scrollTop; ja.pageXOffset = G.body.scrollLeft; ja.innerHeight = G.body.clientHeight; ja.innerWidth = G.body.clientWidth
                                    } Ga.pageX ? Ha = Ga.pageX : Ha = Ga.clientX + ja.scrollLeft; Ga.pageY ? C = Ga.pageY : C = Ga.clientY + ja.scrollTop; i(G).unbind("click"); i(y).css({ top: C, left: Ha }).fadeIn(p.inSpeed); i(y).find("A").mouseover(function () { i(y).find("LI.hover").removeClass("hover"); i(this).parent().addClass("hover") }).mouseout(function () { i(y).find("LI.hover").removeClass("hover") }); i(G).keypress(function (c) {
                                        switch (c.keyCode) {
                                            case 38: if (i(y).find("LI.hover").size() ==
0) i(y).find("LI:last").addClass("hover"); else { i(y).find("LI.hover").removeClass("hover").prevAll("LI:not(.disabled)").eq(0).addClass("hover"); i(y).find("LI.hover").size() == 0 && i(y).find("LI:last").addClass("hover") } break; case 40: if (i(y).find("LI.hover").size() == 0) i(y).find("LI:first").addClass("hover"); else { i(y).find("LI.hover").removeClass("hover").nextAll("LI:not(.disabled)").eq(0).addClass("hover"); i(y).find("LI.hover").size() == 0 && i(y).find("LI:first").addClass("hover") } break; case 13: i(y).find("LI.hover A").trigger("click");
                                                break; case 27: i(G).trigger("click")
                                        }
                                    }); i("#" + p.menu).find("A").unbind("click"); i("#" + p.menu).find("LI:not(.disabled) A").click(function () { i(G).unbind("click").unbind("keypress"); i(".contextMenu").hide(); P && P(i(this).attr("href").substr(1), i(la), { x: Ha - qa.left, y: C - qa.top, docX: Ha, docY: C }); return false }); setTimeout(function () { i(G).click(function () { i(G).unbind("click").unbind("keypress"); i(y).fadeOut(p.outSpeed); return false }) }, 0)
                                }
                            })
                        }
                    }); if (i.browser.mozilla) i("#" + p.menu).each(function () { i(this).css({ MozUserSelect: "none" }) });
                    else i.browser.msie ? i("#" + p.menu).each(function () { i(this).bind("selectstart.disableTextSelect", function () { return false }) }) : i("#" + p.menu).each(function () { i(this).bind("mousedown.disableTextSelect", function () { return false }) }); i(Y).add(i("UL.contextMenu")).bind("contextmenu", function () { return false })
                }); return i(this)
            }, disableContextMenuItems: function (p) {
                if (p == undefined) { i(this).find("LI").addClass("disabled"); return i(this) } i(this).each(function () {
                    if (p != undefined) for (var P = p.split(","), Y = 0; Y < P.length; Y++) i(this).find('A[href="' +
P[Y] + '"]').parent().addClass("disabled")
                }); return i(this)
            }, enableContextMenuItems: function (p) { if (p == undefined) { i(this).find("LI.disabled").removeClass("disabled"); return i(this) } i(this).each(function () { if (p != undefined) for (var P = p.split(","), Y = 0; Y < P.length; Y++) i(this).find('A[href="' + P[Y] + '"]').parent().removeClass("disabled") }); return i(this) }, disableContextMenu: function () { i(this).each(function () { i(this).addClass("disabled") }); return i(this) }, enableContextMenu: function () {
                i(this).each(function () { i(this).removeClass("disabled") });
                return i(this)
            }, destroyContextMenu: function () { i(this).each(function () { i(this).unbind("mousedown").unbind("mouseup") }); return i(this) }
            })
        } (i); (function (p) {
            function P(qa) {
                var ua = qa || Qa.event, Ga = [].slice.call(arguments, 1), la = 0, y = 0, ja = 0; qa = p.event.fix(ua); qa.type = "mousewheel"; if (qa.wheelDelta) la = qa.wheelDelta / 120; if (qa.detail) la = -qa.detail / 3; ja = la; if (ua.axis !== undefined && ua.axis === ua.HORIZONTAL_AXIS) { ja = 0; y = -1 * la } if (ua.wheelDeltaY !== undefined) ja = ua.wheelDeltaY / 120; if (ua.wheelDeltaX !== undefined) y = -1 * ua.wheelDeltaX /
120; Ga.unshift(qa, la, y, ja); return p.event.handle.apply(this, Ga)
            } var Y = ["DOMMouseScroll", "mousewheel"]; p.event.special.mousewheel = { setup: function () { if (this.addEventListener) for (var qa = Y.length; qa; ) this.addEventListener(Y[--qa], P, false); else this.onmousewheel = P }, teardown: function () { if (this.removeEventListener) for (var qa = Y.length; qa; ) this.removeEventListener(Y[--qa], P, false); else this.onmousewheel = null } }; p.fn.extend({ mousewheel: function (qa) { return qa ? this.bind("mousewheel", qa) : this.trigger("mousewheel") },
                unmousewheel: function (qa) { return this.unbind("mousewheel", qa) }
            })
        })(i); (function (p) {
            p.fn.iosSwipe = function (P) {
                var Y = { dimension: "x", threshold: { x: 30, tolerance: 0.5 }, swipe: function () { } }; P = p.extend(Y, P); if (!this) return false; return this.each(function () {
                    function qa(C) { C.preventDefault(); ja.x = C.targetTouches[0].pageX; ja.y = C.targetTouches[0].pageY } function ua() {
                        var C = y.y - ja.y, c = y.x - ja.x, fa = Math.abs(c), Xa = Math.abs(C); if (Y.dimension == "x") fa > Y.threshold.x && Xa < fa * Y.threshold.tolerance && Y.swipe(c > 0); else Xa > Y.threshold.x &&
fa < Xa * Y.threshold.tolerance && Y.swipe(C > 0)
                    } function Ga(C) { y.x = C.targetTouches[0].pageX; y.y = C.targetTouches[0].pageY; ja.x = y.x; ja.y = y.y } function la() { } p(this); var y = { x: 0, y: 0 }, ja = { x: 0, y: 0 }; try { this.addEventListener("touchstart", Ga, false); this.addEventListener("touchmove", qa, false); this.addEventListener("touchend", ua, false); this.addEventListener("touchcancel", la, false) } catch (Ha) { }
                })
            }
        })(i); var nb = function () {
            function p(la) {
                if (G.all && !Qa[la]) for (var y = 0; y < G.forms.length; y++) if (G.forms[y][la]) return G.forms[y][la];
                return G.all ? Qa[la] : G[la]
            } var P = [], Y, qa = "", ua = {}, Ga = -1; return { determineFlashSupport: function () { return cb.hasFlashPlayerVersion("9") }, setup: function (la, y) { qa = la; ua = y; cb.hasFlashPlayerVersion("9") && cb.createCSS("p.audioplayer_container span", "visibility:hidden;height:24px;overflow:hidden;padding:0;border:none;") }, getPlayer: function (la) { return p(la) }, addListener: function (la, y, ja) { p(la).addListener(y, ja) }, embed: function (la, y) {
                var ja = {}, Ha, C = {}, c = {}, fa = {}; for (Ha in ua) ja[Ha] = ua[Ha]; for (Ha in y) ja[Ha] =
y[Ha]; if (ja.transparentpagebg == "yes") { C.bgcolor = "#FFFFFF"; C.wmode = "transparent" } else { if (ja.pagebg) C.bgcolor = "#" + ja.pagebg; C.wmode = "opaque" } C.menu = "false"; for (Ha in ja) Ha == "pagebg" || Ha == "width" || Ha == "transparentpagebg" || (c[Ha] = ja[Ha]); fa.name = la; fa.style = "outline: none"; c.playerID = la; cb.embedSWF(qa, la, ja.width.toString(), "24", "9", y.expressInstall || false, c, C, fa); P.push(la)
            }, syncVolumes: function (la, y) { Ga = y; for (var ja = 0; ja < P.length; ja++) P[ja] != la && p(P[ja]).setVolume(Ga) }, activate: function (la) {
                Y && Y != la &&
p(Y).close(); Y = la
            }, load: function (la, y, ja, Ha) { p(la).load(y, ja, Ha) }, close: function (la) { p(la).close(); if (la == Y) Y = null }, open: function (la, y) { if (y == undefined) y = 1; p(la).open(y == undefined ? 0 : y - 1) }, getVolume: function () { return Ga }
            }
        } (); i.extend(i.easing, { def: "easeOutQuad", swing: function (p, P, Y, qa, ua) { return i.easing[i.easing.def](p, P, Y, qa, ua) }, easeInQuad: function (p, P, Y, qa, ua) { return qa * (P /= ua) * P + Y }, easeOutQuad: function (p, P, Y, qa, ua) { return -qa * (P /= ua) * (P - 2) + Y }, easeInOutQuad: function (p, P, Y, qa, ua) {
            if ((P /= ua / 2) < 1) return qa /
2 * P * P + Y; return -qa / 2 * (--P * (P - 2) - 1) + Y
        }, easeInCubic: function (p, P, Y, qa, ua) { return qa * (P /= ua) * P * P + Y }, easeOutCubic: function (p, P, Y, qa, ua) { return qa * ((P = P / ua - 1) * P * P + 1) + Y }
        }); i.extend(i.fn, { er_cssValueObj: function (p) { for (var P = {}, Y = 0; Y < p.length; Y++) P[p[Y]] = this.css(p[Y]); return P }, er_cssPositionToNumber: function (p) { p = i(this[0]).css(p); if (p == undefined || p == null) return 0; if (p == "auto") return 0; if (!isNaN(Number(p.split("px").join("")))) return Number(p.split("px").join("")); return 0 }, er_x: function (p) {
            if (arguments.length <
1) return this.er_cssPositionToNumber("left"); return this.css({ left: p })
        }, er_y: function (p) { if (arguments.length < 1) return this.er_cssPositionToNumber("top"); return this.css({ top: p }) }, er_cssWidth: function (p) { if (arguments.length < 1) return this.er_cssPositionToNumber("width"); return this.css({ width: p }) }, er_cssHeight: function (p) { if (arguments.length < 1) return this.er_cssPositionToNumber("height"); return this.css({ height: p }) }, er_alpha: function (p) { if (arguments.length == 1) return this.css({ opacity: p }); return this.css("opacity") },
            er_randomize: function (p) { return this.each(function () { var P = i(this), Y = P.children(p); Y.sort(function () { return Math.round(Math.random()) - 0.5 }); P.children().remove(p); P.append(Y) }) }
        }); i.fn.er_opacity = i.fn.er_alpha; var rb = function () {
            var p = { smallCircleLeftUp: "images/rotator/btns/circle_small_left_up_export.png", smallCircleLeftOver: "images/rotator/btns/circle_small_left_over_export.png", smallCircleRightUp: "images/rotator/btns/circle_small_right_up_export.png", smallCircleRightOver: "images/rotator/btns/circle_small_right_over_export.png",
                bigCircleLeftUp: "images/rotator/btns/circle_big_left_up_export.png", bigCircleLeftOver: "images/rotator/btns/circle_big_left_over_export.png", bigCircleRightUp: "images/rotator/btns/circle_big_right_up_export.png", bigCircleRightOver: "images/rotator/btns/circle_big_right_over_export.png", smallRectLeftUp: "images/rotator/btns/rect_small_left_up_export.png", smallRectLeftOver: "images/rotator/btns/rect_small_left_over_export.png", smallRectRightUp: "images/rotator/btns/rect_small_right_up_export.png", smallRectRightOver: "images/rotator/btns/rect_small_right_over_export.png",
                cozyCircleLeftUp: "images/rotator/btns/circle_arrow2/left_up_export.png", cozyCircleLeftOver: "images/rotator/btns/circle_arrow2/left_over_export.png", cozyCircleRightUp: "images/rotator/btns/circle_arrow2/right_up_export.png", cozyCircleRightOver: "images/rotator/btns/circle_arrow2/right_over_export.png", medMoonLeftUp: "images/rotator/btns/moon_med_left_up_export.png", medMoonLeftOver: "images/rotator/btns/moon_med_left_over_export.png", medMoonRightUp: "images/rotator/btns/moon_med_right_up_export.png", medMoonRightOver: "images/rotator/btns/moon_med_right_over_export.png",
                minArrowLeftUp: "images/rotator/btns/minimal_arrows/left_up_export.png", minArrowLeftOver: "images/rotator/btns/minimal_arrows/left_over_export.png", minArrowRightUp: "images/rotator/btns/minimal_arrows/right_up_export.png", minArrowRightOver: "images/rotator/btns/minimal_arrows/right_over_export.png", circlePunchLeftUp: "images/rotator/btns/circlepunch_small/left_up.png", circlePunchLeftOver: "images/rotator/btns/circlepunch_small/left_over.png", circlePunchRightUp: "images/rotator/btns/circlepunch_small/right_up.png",
                circlePunchRightOver: "images/rotator/btns/circlepunch_small/right_over.png", dotBlack35: "images/rotator/dots/export/20_14_black_35.png", dotBlack65: "images/rotator/dots/export/20_14_black_65.png", dotWhite35: "images/rotator/dots/export/20_14_wite_35.png", dotWhite65: "images/rotator/dots/export/20_14_wite_65.png", vlbCloseUp: "images/rotator/video/x_up_export.png", vlbCloseOver: "images/rotator/video/x_over_export.png", videoPlayOverlay: "images/rotator/video/play_overlay.png"
            }, P = {}, Y = ""; try {
                Y = "https:" == G.location.protocol ?
"s" : ""
            } catch (qa) { } for (var ua in p) { var Ga = p[ua]; if (Ga.indexOf("images/") == 0) Ga = "i" + Ga.substr(6); Ga = "http" + Y + "://easyrotator.s3.amazonaws.com/1/" + Ga; P[ua] = Ga } p = P; P = ".dwuserEasyRotator .erimgMain .erimgMain_slides .visibleWhenSelected {display:none;} .dwuserEasyRotator .erimgMain .erimgMain_slides .erimgMain_slide_selected .visibleWhenSelected {display:block;}"; P += ".dwuserEasyRotator .erthumbGrid .erimgMain_slides .visibleWhenSelected {display:none;} .dwuserEasyRotator .erthumbGrid .erimgMain_slides .erimgMain_slide_selected .visibleWhenSelected {display:block;}";
            P += ".dwuserEasyRotator .eraudio, .dwuserEasyRotator .ervideo {display:none;}"; i("head").append('<style type="text/css">' + P + "</style>"); var la = []; Qa.er_resetPositions = function () { i(la).each(function () { this.call() }) }; i(".dwuserEasyRotator").each(function () {
                var y = i(this); if (!y.hasClass("erACR")) {
                    y.addClass("erACR"); var ja = /autoplaySpeed\:3500/.test(y.attr("data-erConfig") || "") && i(".ebfnr").length > 0; if (i.browser.msie && parseInt(i.browser.version) < 7) y.css({ padding: 30, backgroundColor: "#000", fontFamily: "Georgia,'Times New Roman',Times,_serif",
                        fontSize: 16, color: "#FFF", textAlign: "center"
                    }).html('This content is not compatible with Internet Explorer 6 or earlier.<br />Please install the <a style="color: #FFF;" href="http://www.microsoft.com/windows/internet-explorer/" target="_blank">latest version of IE</a> or a modern browser like <a href="http://www.google.com/chrome/" style="color: #FFF;" target="_blank">Chrome</a> or <a style="color: #FFF;" href="http://www.getfirefox.com/" target="_blank">Firefox</a>.'); else if (!ja && G.location.hostname !=
"translate.googleusercontent.com" && !y.find("'.erabout a[href^=http://www.dwuser.com/]:not([rel*=nofollow])'")[0]) alert("EasyRotator code corruption. Contact support."); else {
                        var Ha = y.find(".erabout").css({ position: "absolute", left: 10, top: 10 }).hide(); Ha.find("a.erabout_ok").click(function (l) { l.preventDefault(); Ha.hide() }); Ha.find("a").css({ border: "none !important", fontWeight: "normal !important", textDecoration: "underline !important" }); var C = "er_" + (Math.random() + "").split(".").join("") + "_cm", c = i('<ul id="' +
C + '" class="er_cm" style="display: none;"><li wasclass="separator"><a href="#about">About Rotator...</a></li></ul>'); i("body").append(c); i("head").append('<style type="text/css">.er_cm{font-family:Verdana,_sans !important;font-size:11px;color:#555;position:absolute;width:170px;z-index:999999;border:solid 1px #CCC;background:#EEE;padding:0px !important;margin:0px !important;display:none;-moz-box-shadow:0 3px 5px #333;-webkit-box-shadow:0 3px 5px #333;-ms-box-shadow:0 3px 5px #333;-o-box-shadow:0 3px 5px #333;box-shadow:0 3px 5px #333;}.er_cm LI{list-style:none;padding:0px !important;margin:0px !important;}.er_cm A{color:#333 !important;font-family:Verdana,_sans !important;font-size:11px !important;text-decoration:none;display:block;line-height:20px !important;height:20px;background-position:6px center;background-repeat:no-repeat;outline:none;padding:0px 5px 2px 20px !important;border:none !important;font-weight:normal !important;}.er_cm A:hover{text-decoration:none;}.er_cm LI.hover A{color:#FFF !important;background-color:#39F}.er_cm LI.separator{border-top:1px solid #FFF}.er_cm LI.preSeparator{border-bottom:1px solid #CCC}</style>');
                        ja || y.contextMenu({ menu: C }, function (l) { if (/about$/.test(l)) { l = i(Qa); l = y.css("position") == "relative" ? { top: 20, left: 20} : { top: l.scrollTop() + 20, left: l.scrollLeft() + 20 }; Ha.css(l).show() } }); var fa = eval("(" + (y.attr("data-erConfig") || "{}") + ")"); C = fa.randomize === true; var Xa = false, eb = function () {
                            if (!Xa) {
                                Xa = true; var l, r = G.domain; try { r = top.window.document.domain } catch (x) { l = true } if (r != "" && r != "translate.google.com" && r != "translate.googleusercontent.com" && r != "cache.googleusercontent.com" && r != "webcache.googleusercontent.com") {
                                    var j =
"http://"; try { j = "https:" == G.location.protocol ? "https://" : "http://" } catch (q) { } r = j + (j == "http://" ? "erpv.dwuser.com" : "dwuser.com") + "/easyrotator/updates/pcisvc.php?d=" + r + "&if=" + (l ? "y" : "n") + "&l=" + escape(location.host + location.pathname) + "&nocache=" + (new Date).getTime() + "&jsoncallback=?"; i.getJSON(r, function (s) {
    if (s && s.v === "n") {
        s = l ? "You are using EasyRotator Pro features, but EasyRotator Pro features cannot be used in cross-domain iframes.  View the rotator page directly, or contact support for more information." :
"You are using EasyRotator Pro features, but EasyRotator Pro hasn't been enabled for this domain (" + G.domain + ').<br />You need to <a style="color: #FFF;" href="http://www.dwuser.com/myaccount/#credits" target="_blank">add it to your account</a>.'; y.css({ padding: 30, backgroundColor: "#000", fontFamily: "Georgia,'Times New Roman',Times,_serif", fontSize: 16, color: "#FFF", textAlign: "center" }).html(s)
    }
})
                                }
                            }
                        }; ja && eb(); var pb = []; y.is(":hidden") && y.parents().each(function () {
                            var l = i(this); l.css("display").toLowerCase() ==
"none" && pb.push(l.css("display", ""))
                        }); var $a; (function () {
                            var l = { use101: false, src: "easyrotatorvideo.s3.amazonaws.com/1/StrobeMediaPlayback.swf", srcYT: "easyrotatorvideo.s3.amazonaws.com/1/StrobeMediaPlayback.swf", srcYTPlugin: "easyrotatorvideo.s3.amazonaws.com/1/YouTubePlugin.swf", srcEI: "easyrotatorvideo.s3.amazonaws.com/1/expressInstall.swf", restartAutoplay: false, ytShowPlayOverlay: true, showTransparentOverlay: true, ytShowTransparentOverlay: false }, r; for (r in l) if (fa["video_" + r] !== undefined) l[r] = fa["video_" +
r]; var x = "http://"; try { x = "https:" == G.location.protocol ? "https://" : "http://" } catch (j) { } for (r in l) if (/^src/.test(r)) l[r] = x + l[r]; if (G.domain == "" && fa.lpp) { var q = ""; (function () { for (var M = fa.lpp.split("-"), O = 0; O < M.length; O++) q += String.fromCharCode(M[O]) })(); for (r in l) if (/^src/.test(r)) { x = l[r]; x = x.substr(x.lastIndexOf("/") + 1); l[r] = q + x } } if (l.use101) { l.src = l.src.replace(/\.swf$/, "_101.swf"); l.srcYT = l.srcYT.replace(/\.swf$/, "_101.swf"); l.srcYTPlugin = l.srcYTPlugin.replace(/\.swf$/, "_101.swf") } var s = {}, B = false,
F = function (M, O) { O.html(""); M.er_alpha(0); setTimeout(function () { M.css({ display: "none" }) }, 300) }, $ = function (M, O, ha, oa) {
    var ra = y.find("[data-ertype=vlb]"), aa, wa; if (ra.length == 0) {
        aa = String(0.3); ra = i('<div data-ertype="vlb" style="position:absolute;left:0;right:0;top:0;bottom:0;background:rgba(50,50,50,0.85);"></div>'); ra.er_alpha(0).css({ "-moz-transition": "opacity " + aa + "s ease-out", "-webkit-transition": "opacity " + aa + "s ease-out", "-o-transition": "opacity " + aa + "s ease-out", transition: "opacity " + aa + "s ease-out" });
        ra.appendTo(y); aa = i('<div class="erVLBoh" style="position:absolute;left:50%;top:50%;overflow:visible;background:#FFF;-webkit-box-shadow:0 2px 15px rgba(0,0,0,0.7);-moz-box-shadow:0 2px 15px rgba(0,0,0,0.7);box-shadow:0 2px 15px rgba(0,0,0,0.7);"></div>'); wa = i('<div class="erVLBmh" style="position:absolute;left:12px;right:12px;top:12px;bottom:12px;background-color:#000;"></div>'); aa.append(wa).appendTo(ra); var xa = p.vlbCloseUp, ya = p.vlbCloseOver; i('<div class="closeButton" style="position:absolute;top:-15px;right:-15px;"><img width="30" height="30" src="' +
xa + '" ersrc-up="' + xa + '" ersrc-over="' + ya + '" /></div>').appendTo(aa)
    } else { aa = ra.find("div.erVLBoh"); wa = ra.find("div.erVLBmh"); ra.er_alpha(0).css({ display: "block" }) } if (!B) { B = true; var sa = aa.find(".closeButton"), Na = sa.find("img"); xa = Na.attr("ersrc-up"); ya = Na.attr("ersrc-over"); sa.bind("mouseenter touchstart", function () { Na[0].src = ya }).bind("mouseleave touchend touchcancel", function () { Na[0].src = xa }).click(function () { F(ra, ra.find("div.erVLBmh")) }) } aa.css({ width: M + 24, height: O + 24, marginLeft: "-" + Math.round(12 +
M / 2) + "px", marginTop: "-" + Math.round(12 + O / 2) + "px"
    }); wa.css({ width: M, height: O }); wa.hide(); setTimeout(function () { ra.er_alpha(1) }, 1); setTimeout(function () { wa.show() }, 310); wa.html(ha); oa(wa)
}, V = {}, ga = "ervBridgeCB" + (Math.random() + "").substr(2); Qa[ga] = function (M) { if (!V[M]) { V[M] = 1; try { var O, ha = cb.getObjectById(M); O = ga + "_" + M + "_onMediaPlayerStateChange"; Qa[O] = function (ra) { ra == "playing" && y.trigger("er_playPause", { v: false }) }; ha.addEventListener("mediaPlayerStateChange", O) } catch (oa) { Qa.console && console.log(oa) } } };
                            var na = 0, Da = "erv" + (Math.random() + "").substr(2) + "p"; $a = function (M, O, ha, oa, ra) {
                                eb(); M = O.poster || M; var aa = O.autoplay === true, wa = O.src; if (!/^https?:/i.test(wa)) {
                                    O = function (Va) { var T = G.location.href, da = T.indexOf("?"); if (da != -1) T = T.substr(0, da); T = T.substr(0, T.lastIndexOf("/") + 1); da = T.replace(/^[^:]+:\/+/, ""); T = T.substr(0, T.length - da.length); var N = da.indexOf("/"); if (/^\//.test(Va) && N != -1) da = da.substr(0, N); for (; Va.substr(0, 3) == "../"; ) { Va = Va.substr(3); da = da.replace(/\/[^\/]+\/$/, "/") } return T + da + Va }; var xa =
wa; if (G.domain == "") { /^file:/i.test(wa) || (xa = O(wa)); xa = xa.replace(/^file:\/+/i, "").replace(/^([^:]{0,9}):/, "$1|"); xa = "../../../../../../../../../../../../../../../../../../../" + xa } else /^file:/i.test(wa) || (xa = O(wa)); wa = xa
                                } var ya = Da + na++, sa = i('<div id="' + ya + '" style="position:absolute;left:0;right:0;top:0;bottom:0;"></div>').appendTo(ha), Na = {}, Ra = false, Ya; if (O = wa.match(/^https?:\/\/www.youtube.com\/watch\?v=([^&]+)/)) { Ra = true; Ya = O[1] } var Wa = /iPod|iPhone|iPad|Android/.test(navigator.userAgent); O = Ra ? l.srcYT :
l.src; var Pa = {}; Pa.javascriptCallbackFunction = ga; Pa.src = wa; Pa.poster = M; Pa.autoPlay = aa && oa == 0 && ra == 0 ? "true" : "false"; Pa.playButtonOverlay = Ra ? l.ytShowPlayOverlay ? "true" : "false" : "true"; Pa.playButtonOverlayBig = (Ra ? l.ytShowTransparentOverlay : l.showTransparentOverlay) ? "true" : "false"; if (Ra) Pa.plugin_YouTubePlugin = l.srcYTPlugin; M = { allowFullScreen: "true", allowScriptAccess: "always", bgcolor: "#000000" }; M.wmode = "opaque"; cb.embedSWF(O, ya, "100%", "100%", l.use101 ? "10.1.0" : "10.0.0", l.srcEI, Pa, M, { name: ya }, function (Va) {
    if (Va.success) {
        Pa.autoPlay ==
"true" && y.trigger("er_playPause", { v: false }); Na = { type: "inline", yt: Ra, id: ya, autoplay: aa, hasBeenAutoplayed: Pa.autoPlay == "true" }
    } else {
        sa.remove(); var T; if (Ra) { Va = Wa ? "0" : "1"; var da = ha.height(); if (Wa) da -= 24; T = '<iframe type="text/html" width="' + ha.width() + '" height="' + da + '" wasstyle="position:absolute; left:0;right:0;top:0;bottom:0;" src="http://www.youtube.com/embed/' + Ya + "?autoplay=" + Va + '" frameborder="0">' } else T = '<video src="' + wa + '" width="100%" height="100%" autoplay controls="controls"></video>'; Va =
i('<img width="100" height="100" src="' + p.videoPlayOverlay + '">').css({ position: "absolute", cursor: "pointer", left: "50%", top: "50%", margin: "-50px 0 0 -50px" }); Va.click(function () { y.trigger("er_playPause", { v: false }); $(ha.width(), ha.height(), T, function (N) { try { var L = N.find("video"); if (L.length > 0) { L[0].load(); L[0].play() } } catch (w) { } }) }); Va.appendTo(ha); Na = { type: "lightbox", yt: Ra, id: ya, autoplay: aa }
    } s["r" + oa] || (s["r" + oa] = {}); s["r" + oa]["c" + ra] || (s["r" + oa]["c" + ra] = []); s["r" + oa]["c" + ra].push(Na)
})
                            }; var Ma = 0, Aa =
0, Ia = function () { var M = s["r" + Ma]; if (M && M["c" + Aa] && M["c" + Aa].length) { M = M["c" + Aa]; for (var O = 0; O < M.length; O++) { var ha = M[O]; try { ha.type == "inline" && cb.getObjectById(ha.id).pause() } catch (oa) { Qa.console && console.log(oa) } } } }, Ca = function (M) {
    Ia(); Aa = M; if ((M = s["r" + Ma]) && M["c" + Aa] && M["c" + Aa].length) {
        M = M["c" + Aa]; for (var O = 0; O < M.length; O++) {
            var ha = M[O]; try {
                if (ha.type == "inline" && ha.autoplay && (l.restartAutoplay || !ha.hasBeenAutoplayed)) {
                    ha.hasBeenAutoplayed = true; cb.getObjectById(ha.id).play2(); y.trigger("er_playPause",
{ v: false })
                }
            } catch (oa) { Qa.console && console.log(oa) }
        }
    }
}; y.bind("er_setRow", function (M, O) { var ha = O.id; Ia(); Ma = ha; Ca(0) }).bind("er_setCol", function (M, O) { Ca(O.id) })
                        })(); if (G.compatMode == "BackCompat" && i.browser.msie) {
                            var ia = '<a style="color:#FFF;" href="http://www.dwuser.com/easyrotator/doctype/" target="_blank">Error: This page doesn\'t have a valid DocType definition, which makes the rotator fail in IE.  For instructions on how to fix this, click here</a>.'; y.css({ padding: 30, backgroundColor: "#000", fontFamily: "Georgia,'Times New Roman',Times,_serif",
                                fontSize: 16, color: "#FFF", textAlign: "center"
                            }).html(ia)
                        } else {
                            var Ua = [], ob = ","; ia = y.find("[data-ertype=content] ul").css({ position: "absolute", display: "none", left: 0, top: 0, width: 0, height: 0 }); ia = y.find("[data-ertype=content] ul"); if (ia.length == 0 || ia.children("li").length == 0) alert("No content specified.  Exiting."); else {
                                C && ia.er_randomize(); y.find("[data-ertype=layout]").find(".erimgMain").each(function () {
                                    var l = i(this), r = eval("(" + (l.attr("data-erConfig") || "{}") + ")"), x = Number(r.numTiles !== undefined ? r.numTiles :
1); if (x == -1) x = ia.first().children().length; var j = Math.min(x, Math.max(1, Number(r.scrollSize !== undefined ? r.scrollSize : x - 1))), q = r.scaleMode || "fillArea", s = r.imgType || "main", B = r.treatAsThumbs === true, F = Number(r.duration !== undefined ? r.duration : 600); if (isNaN(F)) F = 600; var $ = Number(r.durationVertical !== undefined ? r.durationVertical : s == "main" ? F : 300); if (isNaN($)) $ = 600; var V = r.easing !== undefined ? r.easing : "easeOutQuad", ga = r.alwaysPreviousButton === true, na = r.loopNextButton !== false, Da = r.arrowButtonMode; /always|rollover/.test(Da) ||
(Da = "always"); var Ma = r.addMainSlideLinks !== false, Aa = r.slideLinkEvent == "rollover" && !("ontouchstart" in Qa) ? "mouseenter" : "click", Ia = r.infiniteLoop !== undefined ? r.infiniteLoop !== false : fa.pro_infiniteLoop === true, Ca = r.mouseWheel !== undefined ? r.mouseWheel !== false : fa.pro_mouseWheelAndSwipeEnabled === true, M = r.swipeEnabled !== undefined ? r.swipeEnabled === true : fa.pro_mouseWheelAndSwipeEnabled && /iPod|iPad|iPhone|Android/i.test(navigator.userAgent); if (Ia || Ca || M) eb(); var O = l.find(".erimgMain_slides").first(); O.css({ overflow: "hidden" });
                                    var ha = O.find(".erimgMain_slide").remove(), oa = Math.ceil(O.outerWidth() / x), ra = Math.ceil(O.outerHeight()), aa = [], wa = []; if (ob.indexOf("," + s) != -1) alert("EasyRotator: Layout error. Requested image type [" + s + "] already used.  Display will be ignored."); else {
                                        ob += "," + s; Ua = []; ia.each(function (T) {
                                            var da = i(this), N = i('<div style="position: absolute; overflow: hidden; top:' + ra * T + 'px; left:0;" er_row="' + T + '"></div>').appendTo(O); wa = wa.length == 0 ? N : wa.add(N); var L = i('<div style="position: absolute; overflow: visible; top:' +
ra * T + 'px; left:0;" er_row="' + T + '"></div>').appendTo(O); aa = aa.length == 0 ? L : aa.add(L); var w = da.children("li"); if (w.length == 0) alert("Empty category being skipped - this may cause problems!"); else {
                                                Ua.push(w.length); var D = function (E, K, H) {
                                                    var W = eval("(" + (K.find("span.ervideo").attr("data-erConfig") || "{}") + ")"); if (W.src && s == "main") {
                                                        var X = H.find(".erimgMain_video").first(); if (X.length == 0) { X = H.find(".erimgMain_img").first(); X = X.clone().removeClass("erimgMain_img").addClass("erimgMain_video").insertAfter(X) } var Z =
K.find("img." + s).attr("src"); $a(Z, W, X, T, E)
                                                    } H.find(".erimgMain_img").css({ overflow: "hidden" }).each(function () {
                                                        var Q = i(this), ma = Q.width(), Fa = Q.height(), Ja = K.find("img." + s).first().removeAttr("alt"); Ja.attr("ersrc", Ja.attr("src")); Ja.attr("src", ""); Ja.css({ display: "none", position: "absolute" }).attr("border", 0).appendTo(Q).data("erProcessCount", 0).load(function () {
                                                            var pa = i(this); if (!(pa.data("erProcessCount") > 0 || pa.attr("src") == "")) {
                                                                pa.data("erProcessCount", pa.data("erProcessCount") + 1); var va = this.naturalWidth,
ta = this.naturalHeight, Ba = pa.width(), a = pa.height(); if (Ba == 0 && a == 0 && !isNaN(va) && !isNaN(ta) && va > 0 && ta > 0) { Ba = va; a = ta } va = Ba / a; ta = ma / Fa; var b = 1; if (q == "scaleDown" && (va >= ta && Ba > ma || va <= ta && a > Fa) || q == "scaleUpAndDown" || q == "fillArea") { b = q != "fillArea" && va >= ta || q == "fillArea" && va <= ta ? ma / Ba : Fa / a; Ba *= b; a *= b } pa.css({ left: Math.round((ma - Ba) / 2), top: Math.round((Fa - a) / 2), width: Ba, height: a }).show()
                                                            }
                                                        }); (s != "main" || B) && Ma || Q.wrapInner(K.find("a." + s + "Link").click(function () { y.trigger("er_playPause", { v: false }) })); Ja.addClass("erImgLoadMomentarily")
                                                    });
                                                    H.find(".erimgMain_title").each(function () { i(this).html((K.find("span.title").html() || "").split("ul-fake").join("ul").split("li-fake").join("li")) }); H.find(".erimgMain_desc").each(function () { i(this).html((K.find("span.desc").html() || "").split("ul-fake").join("ul").split("li-fake").join("li")) }); H.find(".erimgMain_customField").each(function () { var Q = i(this), ma = Q.attr("data-erfield"); Q.html(K.find("span.customField[data-erfield=" + ma + "]").html() || "") }); if ((B || s != "main") && Ma) H.bind(Aa, function () {
                                                        var Q =
i(this); y.trigger("er_setCol", { id: Number(Q.closest("[er_col]").attr("er_col")) })
                                                    })
                                                }; w.each(function (E) { var K = i(this), H = ha.clone().appendTo(L).attr("er_col", E).css({ left: oa * E, top: 0, position: "absolute", width: oa, height: ra, overflow: "hidden" }); D(E, K, H) }); L.er_cssWidth(oa * w.length).er_cssHeight(ra).er_x(oa * w.length); N.er_cssWidth(oa * w.length * 3).er_cssHeight(1).er_x(0); (function () {
                                                    if (Ia) for (var E = w.length, K = 0; K < x && K < E; K++) {
                                                        L.children("[er_col=" + (E - 1 - K) + "]").first().clone(true).appendTo(L).css({ left: oa * (-K -
1)
                                                        }); L.children("[er_col=" + K + "]").first().clone(true).appendTo(L).css({ left: oa * (E + K) })
                                                    }
                                                })(); setTimeout(function () { L.find("img.erImgLoadMomentarily").each(function () { var E = i(this); if (E.data("erImgLoadMomentarily_done") !== true) { E.attr("src", E.attr("ersrc")); E.data("erImgLoadMomentarily_done", true) } }) }, 1)
                                            }
                                        }); var xa = 0, ya = aa.first(), sa = 0, Na = 0, Ra = 0, Ya = function () { var T = ya.er_x(), da = Math.max(0, ya.er_cssWidth() - oa * x) + T; l.trigger("at0", { v: Math.abs(Na - T) > 9 || ga }); l.trigger("at1", { v: Na - da < -9 || na }) }, Wa = function (T,
da, N) { var L = Na; var w = Na = T, D = ya.er_cssWidth(), E = D / oa; if (Ia && E > x) { var K = (T - ya.er_x()) / oa, H = w; if (K < x && N != "l" && (x > 1 || E > 2 || N !== undefined)) H = T + D; else if (K >= E - x && N != "r" && (x > 1 || E > 2 || N !== undefined)) H = T - D; if (Math.abs(H - L) <= Math.abs(w - L) || N == "r" && Math.abs(L - ya.er_x() - (E - x) * oa) < 10 || N == "l" && Math.abs(L - ya.er_x()) < 10) w = H } da ? O.stop().scrollLeft(T) : O.stop().animate({ scrollLeft: w }, F, V, function () { setTimeout(function () { O.stop().scrollLeft(T) }, 0) }); setTimeout(function () { Ya() }, 10) }, Pa = function (T, da) {
    Ra = T; da ? O.stop().scrollTop(T) :
O.stop().animate({ scrollTop: T }, $, V); setTimeout(function () { Ya() }, 10)
}; setTimeout(function () { Wa(ya.er_x(), true); Pa(0, true) }, 1); var Va = function () { setTimeout(function () { Wa(Na, true); Pa(Ra, true) }, 0) }; la.push(function () { Va() }); y.bind("er_setRow", function (T, da) {
    var N = da.id; if (N != xa) {
        aa.filter("[er_row!=" + xa + "]").er_x(Na); wa.filter("[er_row!=" + xa + "]").each(function () { var D = i(this); D.er_x(Na - D.er_cssWidth()) }); var L = ya, w = aa.filter("[er_row=" + N + "]"); Pa(w.er_y()); xa = N; ya = w; sa = 0; L.find(".erimgMain_slide_selected").removeClass("erimgMain_slide_selected");
        w.find("[er_col=0]").addClass("erimgMain_slide_selected erimgMain_slide_visited")
    }
}).bind("er_setCol", function (T, da) {
    var N = da.id; if (N != sa) {
        var L = ya.children("[er_col=" + N + "]").first(), w; if (j == 1) { var D = L.er_x(), E = 0; w = Math.max(0, Math.round(ya.er_cssWidth() / oa) - x) * oa; D = Math.min(w, Math.max(E, D)); w = ya.er_x() + D } else { E = 0; w = Math.max(0, Math.round(ya.er_cssWidth() / oa) - x); var K = Math.round((Na - ya.er_x()) / oa); D = Number(L.attr("er_col")); if (D >= K && D < K + x) w = Na; else { for (; D >= E + x; ) E += j; E = Math.min(w, E); w = E * oa + ya.er_x() } } Wa(w,
undefined, da.leftOrRight); sa = N; ya.find(".erimgMain_slide_selected").removeClass("erimgMain_slide_selected"); L.addClass("erimgMain_slide_selected erimgMain_slide_visited")
    }
}); ya.children("[er_col=0]").addClass("erimgMain_slide_selected erimgMain_slide_visited"); l.bind("ac0 ac1", function (T) {
    T = T.type == "ac0"; if (s == "main" && !B) y.trigger(T ? "er_prev" : "er_next"); else {
        var da = Math.max(0, Math.round(ya.er_cssWidth() / oa) - x), N = Math.round((Na - ya.er_x()) / oa); Wa((T ? N == 0 ? da : Math.max(0, N - j) : N == da ? 0 : Math.min(da, N + j)) *
oa + ya.er_x(), false, T ? "l" : "r"); y.trigger("er_playPause", { v: false })
    }
}); l.find(".erimgMain_arrowLeft, .erimgMain_arrowRight").each(function () {
    var T = i(this), da = T.hasClass("erimgMain_arrowLeft"), N = eval("(" + (T.attr("data-erConfig") || "{}") + ")"), L = N && N.image || "circleSmall", w = N && N.image2 || "circleSmall", D = i.browser.msie && parseInt(i.browser.version) < 9; l.bind("at" + (da ? 0 : 1), function (H, W) { T.stop(false, true); var X = W.v; if (D) T.css({ display: W.v ? "block" : "none" }); else { X && T.show(); T.fadeTo(300, X ? 1 : 0, function () { X || i(this).hide() }) } });
    D ? T.css({ display: "none" }) : T.css({ zoom: "1" }).er_alpha(0).hide(); if (L == "circleSmall") L = da ? p.smallCircleLeftUp : p.smallCircleRightUp; if (w == "circleSmall") w = da ? p.smallCircleLeftOver : p.smallCircleRightOver; if (L == "circleBig") L = da ? p.bigCircleLeftUp : p.bigCircleRightUp; if (w == "circleBig") w = da ? p.bigCircleLeftOver : p.bigCircleRightOver; if (L == "rectSmall") L = da ? p.smallRectLeftUp : p.smallRectRightUp; if (w == "rectSmall") w = da ? p.smallRectLeftOver : p.smallRectRightOver; if (L == "moonMed") L = da ? p.medMoonLeftUp : p.medMoonRightUp;
    if (w == "moonMed") w = da ? p.medMoonLeftOver : p.medMoonRightOver; if (L == "circleCozy") L = da ? p.cozyCircleLeftUp : p.cozyCircleRightUp; if (w == "circleCozy") w = da ? p.cozyCircleLeftOver : p.cozyCircleRightOver; if (L == "arrowMin") L = da ? p.minArrowLeftUp : p.minArrowRightUp; if (w == "arrowMin") w = da ? p.minArrowLeftOver : p.minArrowRightOver; if (L == "circlePunchSmall") L = da ? p.circlePunchLeftUp : p.circlePunchRightUp; if (w == "circlePunchSmall") w = da ? p.circlePunchLeftOver : p.circlePunchRightOver; (new Image).src = L; (new Image).src = w; var E = i("<img/>").attr("src",
L).css({ zoom: "1" }).appendTo(T); T.bind("mouseenter touchstart", function () { E.attr("src", w) }).bind("mouseleave touchend touchcancel", function () { E.attr("src", L) }); T.click(function () { l.trigger("ac" + (da ? 0 : 1)) }); if (Da == "rollover" && !("ontouchstart" in Qa)) {
        var K = T.children(); K.css({ display: "none" }); D || K.er_alpha(0); l.bind("mouseenter mouseleave", function (H) {
            K.stop(false, true); var W = H.type == "mouseenter"; if (D) K.css({ display: W ? "inline" : "none" }); else {
                W && K.css({ display: "inline" }); K.fadeTo(300, W ? 1 : 0, function () {
                    W ||
i(this).css({ display: "none" })
                })
            }
        })
    }
}); (function () {
    var T = false, da = false; l.bind("at0 at1", function (W, X) { if (W.type == "at0") T = X.v; else da = X.v }); M && l.iosSwipe({ swipe: function (W) { T && !W && l.trigger("ac0"); da && W && l.trigger("ac1") }, threshold: { x: 50, tolerance: 0.5} }); if (Ca) {
        var N = function (W) { if (W > 0 && T) l.trigger("ac0"); else W < 0 && da && l.trigger("ac1") }, L = false, w = 0, D = false, E, K = false, H; l.bind("mousewheel", function (W, X, Z, Q) {
            X = Math.abs(Z); if (!(X > 0 && Math.abs(Q) > X)) {
                Z = X > 0 ? -Z : Q; w += Z; if (L) { if (K && !D) { D = true; N(w) } } else {
                    L = true;
                    w = Z; D = false; clearTimeout(E); K = false; E = setTimeout(function () { K = true }, 50)
                } clearTimeout(H); H = setTimeout(function () { L = false }, 250); W.preventDefault(); return false
            }
        })
    }
})()
                                    }
                                }); y.find("[data-ertype=layout]").find(".erthumbGrid").each(function () {
                                    var l = i(this), r = eval("(" + (l.attr("data-erConfig") || "{}") + ")"), x = r.direction || "horizontal", j = Number(r.spacing !== undefined ? r.spacing : 10), q = r.scaleMode || "fillArea", s = Number(r.duration !== undefined ? r.duration : 600); if (isNaN(s)) s = 600; var B = Number(r.durationVertical !== undefined ?
r.durationVertical : wa == "main" ? s : 300); if (isNaN(B)) B = 600; var F = r.easing !== undefined ? r.easing : "easeOutQuad", $ = r.alwaysPreviousButton === true, V = r.loopNextButton !== false, ga = r.arrowButtonMode; /always|rollover/.test(ga) || (ga = "always"); var na = r.slideLinkEvent == "rollover" && !("ontouchstart" in Qa) ? "mouseenter" : "click", Da = r.mouseWheel !== undefined ? r.mouseWheel !== false : fa.pro_mouseWheelAndSwipeEnabled === true, Ma = r.swipeEnabled !== undefined ? r.swipeEnabled === true : fa.pro_mouseWheelAndSwipeEnabled && /iPod|iPad|iPhone|Android/i.test(navigator.userAgent);
                                    if (Da || Ma) eb(); var Aa = l.find(".erimgMain_slides").first(); Aa.css({ overflow: "hidden" }); var Ia = Aa.find(".erimgMain_slide").css({ position: "absolute" }).remove(), Ca = Aa.width(), M = Aa.height(), O = Ia.width() == 0 ? 40 : Ia.outerWidth(), ha = Ia.height() == 0 ? 40 : Ia.outerHeight(), oa = Math.max(1, Math.floor((Ca + j) / (O + j))), ra = Math.max(1, Math.floor((M + j) / (ha + j))), aa = [], wa = "thumb"; if (ob.indexOf("," + wa) != -1) alert("EasyRotator: Layout error (thumbGrid). Requested image type [" + wa + "] already used.  Display will be ignored."); else {
                                        ob +=
"," + wa; Ua = []; ia.each(function (w) {
    var D = i(this), E = i('<div style="position: absolute; overflow: visible;" er_row="' + w + '"></div>').appendTo(Aa); x == "horizontal" ? E.css({ top: M * w, left: 0 }) : E.css({ left: Ca * w, top: 0 }); aa = aa.length == 0 ? E : aa.add(E); w = D.children("li"); if (w.length == 0) alert("Empty category being skipped - this may cause problems!"); else {
        Ua.push(w.length); var K = function (H, W, X) {
            X.find(".erimgMain_img").css({ overflow: "hidden" }).each(function () {
                var Z = i(this), Q = Z.width(), ma = Z.height(), Fa = W.find("img." +
wa).first().removeAttr("alt"); Fa.attr("ersrc", Fa.attr("src")); Fa.attr("src", ""); Fa.css({ display: "none", position: "absolute" }).attr("border", 0).appendTo(Z).data("erProcessCount", 0).load(function () {
    var Ja = i(this); if (!(Ja.data("erProcessCount") > 0 || Ja.attr("src") == "")) {
        Ja.data("erProcessCount", Ja.data("erProcessCount") + 1); var pa = this.naturalWidth, va = this.naturalHeight, ta = Ja.width(), Ba = Ja.height(); if (ta == 0 && Ba == 0 && !isNaN(pa) && !isNaN(va) && pa > 0 && va > 0) { ta = pa; Ba = va } pa = ta / Ba; va = Q / ma; var a = 1; if (q == "scaleDown" &&
(pa >= va && ta > Q || pa <= va && Ba > ma) || q == "scaleUpAndDown" || q == "fillArea") { a = q != "fillArea" && pa >= va || q == "fillArea" && pa <= va ? Q / ta : ma / Ba; ta *= a; Ba *= a } Ja.css({ left: Math.round((Q - ta) / 2), top: Math.round((ma - Ba) / 2), width: ta, height: Ba }).show()
    }
}); Fa.addClass("erImgLoadMomentarily")
            }); X.find(".erimgMain_title").each(function () { i(this).html((W.find("span.title").html() || "").split("ul-fake").join("ul").split("li-fake").join("li")) }); X.find(".erimgMain_desc").each(function () { i(this).html((W.find("span.desc").html() || "").split("ul-fake").join("ul").split("li-fake").join("li")) });
            X.find(".erimgMain_customField").each(function () { var Z = i(this), Q = Z.attr("data-erfield"); Z.html(W.find("span.customField[data-erfield=" + Q + "]").html() || "") }); X.bind(na, function () { var Z = i(this); y.trigger("er_setCol", { id: Number(Z.closest("[er_col]").attr("er_col")) }) })
        }; w.each(function (H) {
            var W = i(this), X = Ia.clone().appendTo(E).attr("er_col", H).css({ position: "absolute", width: O, height: ha, overflow: "hidden" }), Z, Q, ma; Q = H % (oa * ra); if (x == "horizontal") {
                ma = H % ra; Z = Math.floor(Q / ra); Q = Math.floor(H / ra); Q = Math.floor(Q /
oa); Z = Q * Ca + Z * (O + j); ma *= ha + j
            } else { Z = H % oa; ma = Math.floor(Q / oa); Q = Math.floor(H / oa); Q = Math.floor(Q / ra); Z *= O + j; ma = Q * M + ma * (ha + j) } X.css({ left: Z, top: ma }); K(H, W, X)
        }); w = Math.ceil(w.length / (oa * ra)); x == "horizontal" ? E.er_cssWidth(w * Ca).er_cssHeight(M) : E.er_cssWidth(Ca).er_cssHeight(w * M); setTimeout(function () { E.find("img.erImgLoadMomentarily").each(function () { var H = i(this); if (H.data("erImgLoadMomentarily_done") !== true) { H.attr("src", H.attr("ersrc")); H.data("erImgLoadMomentarily_done", true) } }) }, 1)
    }
}); var xa = x == "horizontal",
ya = 0, sa = aa.first(), Na = 0, Ra = 0, Ya = 0, Wa = false, Pa, Va = function () { Wa = true; clearTimeout(Pa); Pa = setTimeout(function () { Wa = false }, 6E3) }, T = function () { var w = xa ? sa.er_x() : sa.er_y(), D = xa ? Math.max(0, sa.er_cssWidth() - Ca) + w : Math.max(0, sa.er_cssHeight() - M) + w; l.trigger("at0", { v: Math.abs(Ra - w) > 9 || $ }); l.trigger("at1", { v: Ra - D < -9 || V && D != 0 }) }, da = function (w, D) {
    Ra = w; if (D) xa ? Aa.stop().scrollLeft(w) : Aa.stop().scrollTop(w); else xa ? Aa.stop().animate({ scrollLeft: w }, s, F) : Aa.stop().animate({ scrollTop: w }, s, F); setTimeout(function () { T() },
10)
}, N = function (w, D) { Ya = w; if (D) xa ? Aa.stop().scrollTop(w) : Aa.stop().scrollLeft(w); else xa ? Aa.stop().animate({ scrollTop: w }, B, F) : Aa.stop().animate({ scrollLeft: w }, B, F); setTimeout(function () { T() }, 10) }; setTimeout(function () { var w = xa ? sa.er_x() : sa.er_y(); da(w, true); N(0, true) }, 1); var L = function () { setTimeout(function () { da(Ra, true); N(Ya, true) }, 0) }; la.push(function () { L() }); y.bind("er_setRow", function (w, D) {
    var E = D.id; if (E != ya) {
        aa.filter("[er_row!=" + ya + "]")[xa ? "er_x" : "er_y"](Ra); var K = sa, H = aa.filter("[er_row=" +
E + "]"); N(H[xa ? "er_y" : "er_x"]()); ya = E; sa = H; Na = 0; K.find(".erimgMain_slide_selected").removeClass("erimgMain_slide_selected"); H.find("[er_col=0]").addClass("erimgMain_slide_selected erimgMain_slide_visited")
    }
}).bind("er_setCol", function (w, D) {
    var E = D.id; if (E != Na) {
        var K = sa.children("[er_col=" + E + "]").first(); if (!Wa) { var H; H = Number(K.attr("er_col")); H = Math.floor(H / (oa * ra)); H = xa ? sa.er_x() + H * Ca : sa.er_y() + H * M; da(H, undefined, D.leftOrRight) } Na = E; sa.find(".erimgMain_slide_selected").removeClass("erimgMain_slide_selected");
        K.addClass("erimgMain_slide_selected erimgMain_slide_visited")
    }
}); sa.children("[er_col=0]").addClass("erimgMain_slide_selected erimgMain_slide_visited"); l.bind("ac0 ac1", function (w) { w = w.type == "ac0"; var D = Math.round(xa ? sa.er_cssWidth() / Ca : sa.er_cssHeight() / M) - 1, E = Math.round(xa ? (Ra - sa.er_x()) / Ca : (Ra - sa.er_y()) / M); D = w ? E == 0 ? D : Math.max(0, E - 1) : E == D ? 0 : Math.min(D, E + 1); D = xa ? D * Ca + sa.er_x() : D * M + sa.er_y(); da(D, false, w ? "l" : "r"); Va() }); l.find(".erimgMain_arrowLeft, .erimgMain_arrowRight").each(function () {
    var w =
i(this), D = w.hasClass("erimgMain_arrowLeft"), E = eval("(" + (w.attr("data-erConfig") || "{}") + ")"), K = E && E.image || "circleSmall", H = E && E.image2 || "circleSmall", W = i.browser.msie && parseInt(i.browser.version) < 9; l.bind("at" + (D ? 0 : 1), function (Q, ma) { w.stop(false, true); var Fa = ma.v; if (W) w.css({ display: ma.v ? "block" : "none" }); else { Fa && w.show(); w.fadeTo(300, Fa ? 1 : 0, function () { Fa || i(this).hide() }) } }); W ? w.css({ display: "none" }) : w.css({ zoom: "1" }).er_alpha(0).hide(); if (K == "circleSmall") K = D ? p.smallCircleLeftUp : p.smallCircleRightUp;
    if (H == "circleSmall") H = D ? p.smallCircleLeftOver : p.smallCircleRightOver; if (K == "circleBig") K = D ? p.bigCircleLeftUp : p.bigCircleRightUp; if (H == "circleBig") H = D ? p.bigCircleLeftOver : p.bigCircleRightOver; if (K == "rectSmall") K = D ? p.smallRectLeftUp : p.smallRectRightUp; if (H == "rectSmall") H = D ? p.smallRectLeftOver : p.smallRectRightOver; if (K == "moonMed") K = D ? p.medMoonLeftUp : p.medMoonRightUp; if (H == "moonMed") H = D ? p.medMoonLeftOver : p.medMoonRightOver; if (K == "circleCozy") K = D ? p.cozyCircleLeftUp : p.cozyCircleRightUp; if (H == "circleCozy") H =
D ? p.cozyCircleLeftOver : p.cozyCircleRightOver; if (K == "arrowMin") K = D ? p.minArrowLeftUp : p.minArrowRightUp; if (H == "arrowMin") H = D ? p.minArrowLeftOver : p.minArrowRightOver; if (K == "circlePunchSmall") K = D ? p.circlePunchLeftUp : p.circlePunchRightUp; if (H == "circlePunchSmall") H = D ? p.circlePunchLeftOver : p.circlePunchRightOver; (new Image).src = K; (new Image).src = H; var X = i("<img/>").attr("src", K).css({ zoom: "1" }).appendTo(w); w.bind("mouseenter touchstart", function () { X.attr("src", H) }).bind("mouseleave touchend touchcancel", function () {
    X.attr("src",
K)
}); w.click(function () { l.trigger("ac" + (D ? 0 : 1)) }); if (ga == "rollover" && !("ontouchstart" in Qa)) { var Z = w.children(); Z.css({ display: "none" }); W || Z.er_alpha(0); l.bind("mouseenter mouseleave", function (Q) { Z.stop(false, true); var ma = Q.type == "mouseenter"; if (W) Z.css({ display: ma ? "inline" : "none" }); else { ma && Z.css({ display: "inline" }); Z.fadeTo(300, ma ? 1 : 0, function () { ma || i(this).css({ display: "none" }) }) } }) }
}); (function () {
    var w = false, D = false; l.bind("at0 at1", function (ma, Fa) { if (ma.type == "at0") w = Fa.v; else D = Fa.v }); if (Ma) l.iosSwipe({ dimension: xa ?
"x" : "y", swipe: function (ma) { w && !ma && l.trigger("ac0"); D && ma && l.trigger("ac1") }, threshold: { x: 50, tolerance: 0.5 }
    }); if (Da) {
        var E = function (ma) { if (ma > 0 && w) l.trigger("ac0"); else ma < 0 && D && l.trigger("ac1") }, K = false, H = 0, W = false, X, Z = false, Q; l.bind("mousewheel", function (ma, Fa, Ja, pa) {
            Fa = Math.abs(Ja); if (!(xa && Fa > 0 && Math.abs(pa) > Fa)) {
                Ja = xa ? Fa > 0 ? -Ja : pa : pa; H += Ja; if (K) { if (Z && !W) { W = true; E(H) } } else { K = true; H = Ja; W = false; clearTimeout(X); Z = false; X = setTimeout(function () { Z = true }, 50) } clearTimeout(Q); Q = setTimeout(function () {
                    K =
false
                }, 250); ma.preventDefault(); return false
            }
        })
    }
})()
                                    }
                                }); y.find("[data-ertype=layout]").find(".erimgMainOneUp").each(function () {
                                    var l = i(this); eb(); var r = eval("(" + (l.attr("data-erConfig") || "{}") + ")"), x = Number(r.numTiles !== undefined ? r.numTiles : 1); if (x == -1) x = ia.first().children().length; var j = r.scaleMode || "fillArea", q = r.imgType || "main", s = Number(r.duration !== undefined ? r.duration : 600); if (isNaN(s)) s = 600; var B = Number(r.durationVertical !== undefined ? r.durationVertical : q == "main" ? s : 300); if (isNaN(B)) B = 600; var F =
r.alwaysPreviousButton === true, $ = r.loopNextButton !== false, V = r.arrowButtonMode; /always|rollover/.test(V) || (V = "always"); var ga = r.addMainSlideLinks !== false, na = r.slideLinkEvent == "rollover" && !("ontouchstart" in Qa) ? "mouseenter" : "click", Da = r.transition || "fade", Ma = r.mouseWheel !== undefined ? r.mouseWheel !== false : fa.pro_mouseWheelAndSwipeEnabled, Aa = r.swipeEnabled !== undefined ? r.swipeEnabled === true : fa.pro_mouseWheelAndSwipeEnabled && /iPod|iPad|iPhone|Android/i.test(navigator.userAgent), Ia = r.fadeOutOldSlide !== undefined ?
r.fadeOutOldSlide !== false : j != "fillArea"; if (Ma || Aa) eb(); var Ca = l.find(".erimgMain_slides").first(); Ca.css({ overflow: "hidden" }); var M, O; (function () { var N = l.find(".erimgMainOneUp_video"); if (N.length == 0) N = l.find(".erimgMainOneUp_img"); M = N.outerWidth(); O = N.outerHeight() })(); var ha = l.find(".erimgMainOneUp_img").remove(), oa = l.find(".erimgMainOneUp_video").remove(); if (oa.length == 0) oa = ha.clone().removeClass("erimgMainOneUp_img").addClass("erimgMainOneUp_video"); oa.css({ right: "", bottom: "", width: M, height: O });
                                    var ra = Math.ceil(Ca.outerWidth() / x), aa = Math.ceil(Ca.outerHeight()), wa = []; if (ob.indexOf("," + q) != -1) alert("EasyRotator: Layout error. Requested image type [" + q + "] already used.  Display will be ignored."); else {
                                        ob += "," + q; Ua = []; ia.each(function (N) {
                                            var L = i(this).children("li"); if (L.length == 0) alert("Empty category being skipped - this may cause problems!"); else {
                                                Ua.push(L.length); var w = function (E, K, H) {
                                                    var W = eval("(" + (K.find("span.ervideo").attr("data-erConfig") || "{}") + ")"), X; if (W.src && q == "main") {
                                                        X = oa.clone().appendTo(Ca).er_x(ra +
10); H.data("erImgAVD", X); var Z = K.find("img." + q).attr("src"); $a(Z, W, X, N, E)
                                                    } H.css({ overflow: "hidden" }).each(function () {
                                                        var Q = i(this), ma = Q.width(), Fa = Q.height(), Ja = K.find("img." + q).first().removeAttr("alt"); Ja.attr("ersrc", Ja.attr("src")); Ja.attr("src", ""); Ja.css({ display: "none", position: "absolute" }).attr("border", 0).appendTo(Q).data("erProcessCount", 0).load(function () {
                                                            var pa = i(this); if (!(pa.data("erProcessCount") > 0 || pa.attr("src") == "")) {
                                                                pa.data("erProcessCount", pa.data("erProcessCount") + 1); var va = false;
                                                                if (H.is(":hidden")) { va = true; H.show() } var ta = this.naturalWidth, Ba = this.naturalHeight, a = pa.width(), b = pa.height(); if (a == 0 && b == 0 && !isNaN(ta) && !isNaN(Ba) && ta > 0 && Ba > 0) { a = ta; b = Ba } ta = a / b; Ba = ma / Fa; va && H.hide(); va = 1; if (j == "scaleDown" && (ta >= Ba && a > ma || ta <= Ba && b > Fa) || j == "scaleUpAndDown" || j == "fillArea") { va = j != "fillArea" && ta >= Ba || j == "fillArea" && ta <= Ba ? ma / a : Fa / b; a *= va; b *= va } pa.css({ left: Math.round((ma - a) / 2), top: Math.round((Fa - b) / 2), width: a, height: b }).show(); H.data("erImgLoaded", true); H.trigger("erImgLoaded", { v: true })
                                                            }
                                                        });
                                                        q != "main" && ga || Q.wrapInner(K.find("a." + q + "Link").click(function () { y.trigger("er_playPause", { v: false }) })); Ja.addClass("erImgLoadMomentarily")
                                                    }); q != "main" && ga && H.bind(na, function () { var Q = i(this); y.trigger("er_setCol", { id: Number(Q.closest("[er_col]").attr("er_col")) }) })
                                                }, D = []; L.each(function (E) {
                                                    var K = i(this), H = ha.clone().attr({ er_row: N, er_col: E }).css({ left: 0, top: 0, position: "absolute", width: ra, height: aa, overflow: "hidden" }), W = Ca.find("div.erimgMainOneUp_video"); W.length > 0 ? H.insertBefore(W[0]) : H.appendTo(Ca);
                                                    w(E, K, H); D.push(H.hide())
                                                }); wa.push(D); setTimeout(function () { Ca.find("img.erImgLoadMomentarily").each(function () { var E = i(this); if (E.data("erImgLoadMomentarily_done") !== true) { E.attr("src", E.attr("ersrc")); E.data("erImgLoadMomentarily_done", true) } }) }, 1)
                                            }
                                        }); var xa = 0, ya = 0, sa, Na = wa[wa.length - 1][wa[wa.length - 1].length - 1]; (Math.random() + "num").substr(2); r = i.browser; B = i.browser.version; x = parseInt(B); B = parseInt(B.substr(B.indexOf(".") + 1)); var Ra = r.msie && x > 8 || r.mozilla && x + B * 0.1 > 3.5 || r.opera && x > 9 || r.webkit &&
x > 521; if (/AdobeAIR/.test(navigator.userAgent)) Ra = false; var Ya = r.msie && x == 8, Wa = [], Pa, Va = function () {
    i(Wa).each(function () { this.stop(true, true) }); Pa && Pa.stop(true, true); var N = sa; Pa = N; sa = wa[xa][ya]; sa.insertAfter(Na); Na = sa; Ca.find("div.erimgMainOneUp_slide_selected").removeClass("erimgMainOneUp_slide_selected"); sa.addClass("erimgMainOneUp_slide_selected erimgMainOneUp_slide_visited"); Da == "fadexx" ? function (L) {
        L.er_alpha(0).show(); Ya && L.find("*").css({ filter: "inherit" }); L.animate({ opacity: 1 }, s, function () {
            N &&
N.hide()
        })
    } (sa) : setTimeout(function () {
        var L = function () { setTimeout(function () { if (N) { if (Ia) { Ya && N.find("*").css({ filter: "inherit" }); N.fadeOut() } else N.hide(); var X = N.data("erImgAVD"); X && X.er_x(ra + 10) } (X = sa.data("erImgAVD")) && X.er_x(0); sa.show(); i(Wa).each(function () { this.hide() }) }, 10) }, w = {}; w.sliceDownLeft = { init: { width: "stripW", height: 0, opacity: 0 }, end: { height: aa, opacity: 1 }, timeDur: s / 3, timeOffset: 30, numStrips: 12 }; w.sliceDownRight = { init: { width: "stripW", height: 0, opacity: 0 }, end: { height: aa, opacity: 1 }, timeDur: s /
3, timeOffset: -30, numStrips: 12
        }; w.sliceUpLeft = { init: { width: "stripW", height: aa, top: aa, opacity: 0 }, end: { top: 0, opacity: 1 }, timeDur: s / 3, timeOffset: 30, numStrips: 12 }; w.sliceUpRight = { init: { width: "stripW", height: aa, top: aa, opacity: 0 }, end: { top: 0, opacity: 1 }, timeDur: s / 3, timeOffset: -30, numStrips: 12 }; w.sliceUpDownLeft = { init: { width: "stripW", height: aa, top: aa, opacity: 0 }, init2: { width: "stripW", height: aa, top: -aa, opacity: 0 }, end: { top: 0, opacity: 1 }, timeDur: s / 3, timeOffset: 30, numStrips: 12 }; w.sliceUpDownRight = { init: { width: "stripW",
            height: aa, top: aa, opacity: 0
        }, init2: { width: "stripW", height: aa, top: -aa, opacity: 0 }, end: { top: 0, opacity: 1 }, timeDur: s / 3, timeOffset: -30, numStrips: 12
        }; w.blinds = { init: { width: 0, height: aa, opacity: 0 }, end: { width: "stripW", opacity: 1 }, timeDur: s, timeOffset: 1, numStrips: 12 }; w.slideInLeft = { init: { left: ra, width: ra, height: aa }, end: { left: 0 }, timeDur: s, timeOffset: 1, numStrips: 1 }; w.wipeRight = { init: { left: 0, width: 0, height: aa }, end: { width: ra }, timeDur: s, timeOffset: 1, numStrips: 1 }; w.fade2 = { init: { width: ra, height: aa, opacity: 0 }, end: { opacity: 1 },
            timeDur: s, timeOffset: 1, numStrips: 1
        }; var D = w[Da] || w.fade2; if (Da == "random") { var E = "fade,sliceDownLeft,sliceDownRight,sliceUpLeft,sliceUpRight,sliceUpDownLeft,sliceUpDownRight,blinds,slideInLeft,wipeRight".split(","); D = w[E[Math.round(Math.random() * (E.length - 1))]] || w.fade2 } var K = D.numStrips, H = Math.ceil(ra / K); w = function (X) { for (var Z in X) if (isNaN(X[Z])) X[Z] = Number(eval(X[Z].split("stripW").join(H).split("slideW").join(ra).split("slideH").join(aa))) }; w(D.init); w(D.init2); w(D.end); sa.show(); for (var W = 0; W <
K; W++) (function () {
    var X = H * W; if (D.init !== undefined && !isNaN(D.init)) X = D.left; var Z = false, Q = Wa[W]; if (!Q) { Q = i('<div style="position:absolute; left:' + X + 'px; overflow:hidden;">').appendTo(Ca); Z = true } var ma = D.init2 && W % 2 == 1 ? D.init2 : D.init; Q.show().css(ma); if (j == "showAvailable" || Ra) {
        ma = sa.find("img"); var Fa = function (pa, va, ta) {
            Q.css({ backgroundImage: "url(" + pa.attr("src") + ")", backgroundRepeat: "no-repeat", backgroundPosition: pa.er_x() + va + "px " + (pa.er_y() + ta) + "px", backgroundSize: pa.er_cssWidth() + "px " + pa.er_cssHeight() +
"px"
            })
        }; ma.data("erProcessCount") > 0 ? Fa(ma, -H * W, 0) : function (pa, va, ta) { sa.bind("erImgLoaded", function () { Fa(pa, va, ta) }) } (ma, -X, 0)
    } else {
        Z || Q.children().remove(); var Ja = sa.clone().show().appendTo(Q).css({ left: -X, opacity: 1 }); Ja.find("div.erimgMainOneUp_video").remove(); Ja.find("img").data("erImgLoadMomentarily_done", false).load(function () {
            var pa = i(this); if (!(pa.data("erProcessCount") > 0 || pa.attr("src") == "")) {
                pa.data("erProcessCount", pa.data("erProcessCount") + 1); Ja.data("erImgLoaded", true); Ja.trigger("erImgLoaded",
{ v: true }); var va = this.naturalWidth, ta = this.naturalHeight, Ba = pa.width(), a = pa.height(); if (Ba == 0 && a == 0 && !isNaN(va) && !isNaN(ta) && va > 0 && ta > 0) { Ba = va; a = ta } va = Ba / a; ta = ra / aa; var b = 1; if (j == "scaleDown" && (va >= ta && Ba > ra || va <= ta && a > aa) || j == "scaleUpAndDown" || j == "fillArea") { b = j != "fillArea" && va >= ta || j == "fillArea" && va <= ta ? ra / Ba : aa / a; Ba *= b; a *= b } pa.css({ left: Math.round((ra - Ba) / 2), top: Math.round((aa - a) / 2), width: Ba, height: a }).show()
            }
        })
    } Z && Wa.push(Q); Ya && Q.find("div, img, *").attr("contenteditable", "true").css({ filter: "inherit",
        zoom: 1
    }); (function (pa, va, ta, Ba) { var a = D.timeOffset; if (a < 0) a = Math.abs(a) * ta; else a *= Ba - ta; setTimeout(function () { if (pa) { pa.show(); setTimeout(function () { pa.animate(D.end, D.timeDur, va) }, 1) } }, a) })(Q, W == K - 1 && D.timeOffset < 0 || W == 0 && D.timeOffset > 0 ? L : undefined, W, K)
})(); sa.hide(); setTimeout(function () { Ca.find("img.erImgLoadMomentarily").each(function () { var X = i(this); if (X.data("erImgLoadMomentarily_done") !== true) { X.attr("src", X.attr("ersrc")); X.data("erImgLoadMomentarily_done", true) } }) }, 1)
    }, 1)
}, T = function () {
    var N =
ya == wa[xa].length - 1; l.trigger("at0", { v: ya != 0 || F }); l.trigger("at1", { v: !N || $ })
}, da = function (N) { ya = N; Va(); setTimeout(function () { T() }, 10) }; y.bind("er_setRow", function (N, L) { var w = L.id; if (w != xa) { xa = w; da(0) } }).bind("er_setCol", function (N, L) { var w = L.id; w != ya && da(w) }); Va(); setTimeout(function () { T() }, 10); l.bind("ac0 ac1", function (N) { y.trigger(N.type == "ac0" ? "er_prev" : "er_next") }); l.find(".erimgMain_arrowLeft, .erimgMain_arrowRight").each(function () {
    var N = i(this), L = N.hasClass("erimgMain_arrowLeft"), w = eval("(" +
(N.attr("data-erConfig") || "{}") + ")"), D = w && w.image || "circleSmall", E = w && w.image2 || "circleSmall", K = i.browser.msie && parseInt(i.browser.version) < 9; l.bind("at" + (L ? 0 : 1), function (X, Z) { N.stop(false, true); var Q = Z.v; if (K) N.css({ display: Z.v ? "block" : "none" }); else { Q && N.show(); N.fadeTo(300, Q ? 1 : 0, function () { Q || i(this).hide() }) } }); K ? N.css({ display: "none" }) : N.css({ zoom: "1" }).er_alpha(0).hide(); if (D == "circleSmall") D = L ? p.smallCircleLeftUp : p.smallCircleRightUp; if (E == "circleSmall") E = L ? p.smallCircleLeftOver : p.smallCircleRightOver;
    if (D == "circleBig") D = L ? p.bigCircleLeftUp : p.bigCircleRightUp; if (E == "circleBig") E = L ? p.bigCircleLeftOver : p.bigCircleRightOver; if (D == "rectSmall") D = L ? p.smallRectLeftUp : p.smallRectRightUp; if (E == "rectSmall") E = L ? p.smallRectLeftOver : p.smallRectRightOver; if (D == "moonMed") D = L ? p.medMoonLeftUp : p.medMoonRightUp; if (E == "moonMed") E = L ? p.medMoonLeftOver : p.medMoonRightOver; if (D == "circleCozy") D = L ? p.cozyCircleLeftUp : p.cozyCircleRightUp; if (E == "circleCozy") E = L ? p.cozyCircleLeftOver : p.cozyCircleRightOver; if (D == "arrowMin") D =
L ? p.minArrowLeftUp : p.minArrowRightUp; if (E == "arrowMin") E = L ? p.minArrowLeftOver : p.minArrowRightOver; if (D == "circlePunchSmall") D = L ? p.circlePunchLeftUp : p.circlePunchRightUp; if (E == "circlePunchSmall") E = L ? p.circlePunchLeftOver : p.circlePunchRightOver; (new Image).src = D; (new Image).src = E; var H = i("<img/>").attr("src", D).css({ zoom: "1" }).appendTo(N); N.bind("mouseenter touchstart", function () { H.attr("src", E) }).bind("mouseleave touchend touchcancel", function () { H.attr("src", D) }); N.click(function () {
    l.trigger("ac" + (L ?
0 : 1))
}); if (V == "rollover" && !("ontouchstart" in Qa)) { var W = N.children(); W.css({ display: "none" }); K || W.er_alpha(0); l.bind("mouseenter mouseleave", function (X) { W.stop(false, true); var Z = X.type == "mouseenter"; if (K) W.css({ display: Z ? "inline" : "none" }); else { Z && W.css({ display: "inline" }); W.fadeTo(300, Z ? 1 : 0, function () { Z || i(this).css({ display: "none" }) }) } }) }
}); (function () {
    var N = false, L = false; l.bind("at0 at1", function (Z, Q) { if (Z.type == "at0") N = Q.v; else L = Q.v }); Aa && l.iosSwipe({ swipe: function (Z) {
        N && !Z && l.trigger("ac0");
        L && Z && l.trigger("ac1")
    }, threshold: { x: 50, tolerance: 0.5 }
    }); if (Ma) { var w = function (Z) { if (Z > 0 && N) l.trigger("ac0"); else Z < 0 && L && l.trigger("ac1") }, D = false, E = 0, K = false, H, W = false, X; l.bind("mousewheel", function (Z, Q, ma, Fa) { Q = Math.abs(ma); if (!(Q > 0 && Math.abs(Fa) > Q)) { ma = Q > 0 ? -ma : Fa; E += ma; if (D) { if (W && !K) { K = true; w(E) } } else { D = true; E = ma; K = false; clearTimeout(H); W = false; H = setTimeout(function () { W = true }, 50) } clearTimeout(X); X = setTimeout(function () { D = false }, 250); Z.preventDefault(); return false } }) }
})()
                                    }
                                }); y.find("[data-ertype=layout]").find(".erdynamicText").each(function () {
                                    var l =
i(this), r = l.attr("data-erfield") || "title", x = l.html(), j = eval("(" + (l.attr("data-erConfig") || "{}") + ")"), q = i.browser.msie && parseInt(i.browser.version) < 9 ? "0" : "600"; if (j.fadeDur === 0) j.fadeDur = "0"; j.fadeDur = Number(j.fadeDur || q); var s = j.hideWhenEmpty === true, B = function ($, V) {
    var ga = ia.eq($).children("li:eq(" + V + ")"), na = "span." + (/title|desc/.test(r) ? r : "customField[data-erfield=" + r + "]"), Da = x; if (r != "none") Da = ga.find(na).html() || ""; Da = Da.split("{image.index}").join(V + 1).split("{image.total}").join(ia.eq($).children("li").length);
    if (j.fadeDur == 0) { l.html(Da); s && Da == "" ? l.hide() : l.show() } else l.stop(true, true).fadeOut(j.fadeDur / 2, function () { l.html(Da); if (!s || Da != "") l.fadeIn(j.fadeDur / 2) })
}, F = 0; y.bind("er_setRow er_setCol", function ($, V) { var ga = 0; if ($.type == "er_setRow") F = V.id; else ga = V.id; B(F, ga) }); B(0, 0)
                                }); y.find("[data-ertype=layout]").find(".erFixCSS3").each(function () {
                                    var l = i(this), r = ["border-radius", "box-shadow", "text-shadow"], x = ["-moz-", "-webkit-", "-ms-", "-o-"], j = (l.attr("style_real") || "").split(";"), q = {}, s = /\s*([A-Za-z0-9-+_-]+)\:\s*(.*)\s*$/,
B; for (B = 0; B < j.length; B++) { var F = j[B].match(s); if (F && F.length == 3) q[F[1].toLowerCase()] = F[2] } for (B = 0; B < r.length; B++) { j = r[B]; if (s = q[j]) for (F = 0; F < x.length; F++) q[x[F] + j] = s } l.css(q)
                                }); y.find("[data-ertype=layout]").find(".ercats").each(function () {
                                    var l = i(this), r = l.find(".ercats_btn_selected").first(), x = l.find(".ercats_btn_normal").first(), j = r.prev(), q = r.parent(); r.remove().addClass("ercats_btn_internal"); x.remove().addClass("ercats_btn_internal"); ia.each(function (B) {
                                        var F = i(this).attr("data-erlabel") ||
"Category " + (B + 1); B = x.clone().attr("erbtnid", B).html(F); j.length == 1 ? B.insertAfter(j) : B.prependTo(q); j = B
                                    }); var s = function (B) { l.find(".ercats_btn_selected").each(function () { var F = i(this), $ = x.clone().attr("erbtnid", F.attr("erbtnid")).html(F.html()); F.replaceWith($) }); l.find(".ercats_btn_internal[erbtnid=" + B + "]").each(function () { var F = i(this), $ = r.clone().attr("erbtnid", F.attr("erbtnid")).html(F.html()); F.replaceWith($) }) }; s(0); y.bind("er_setRow", function (B, F) { s(Number(F.id)) }); l.find(".ercats_btn_internal").live("click",
function () { var B = Number(i(this).attr("erbtnid")); y.trigger("er_setRow", { id: B }) })
                                }); y.find("[data-ertype=layout]").find(".erdots").each(function () {
                                    var l = i(this), r = 0, x = eval("(" + (l.attr("data-erConfig") || "{}") + ")"); x.showText = x.showText === true; var j = l.find(".erdots_btn_normal").attr("dotType", "0"), q = l.find(".erdots_btn_hover").attr("dotType", "1").remove(), s = l.find(".erdots_btn_selected").attr("dotType", "2").remove(), B = j.parent(); j.remove(); var F = function (ga) {
                                        var na = i(this); ga = ga.type; ga == "click" ? y.trigger("er_setCol",
{ id: na.index() }) : $(na, ga == "mouseenter" ? na.index() == r ? 2 : 1 : na.index() == r ? 2 : 0)
                                    }, $ = function (ga, na) { var Da = [j, q, s], Ma = !isNaN(Number(ga)) ? B.children().eq(ga) : ga; Ma.attr({ "class": Da[na].attr("class"), style: Da[na].attr("style") }); return Ma }, V = function (ga) {
                                        B.children(".erdots_btn_selected, .erdots_btn_hover").each(function () { var Da = i(this); $(Da, 0) }); ga = Ua[ga]; for (var na = B.children().length; na > ga; ) { B.children().last().unbind("mouseenter mouseleave click", F).remove(); na-- } for (; na < ga; ) {
                                            na++; B.append(j.clone().text(x.showText ?
na : "").bind("mouseenter mouseleave click", F))
                                        } B.css({ width: "", position: "absolute" }); B.css({ width: B.innerWidth(), position: "static" }); $(0, 2)
                                    }; y.bind("er_setRow", function (ga, na) { r = 0; V(na.id) }); V(0); y.bind("er_setCol", function (ga, na) { r = na.id; B.children(".erdots_btn_selected").each(function () { $(i(this), 0) }); $(na.id, 2) })
                                }); y.find("[data-ertype=layout]").find(".erplayPause").each(function () {
                                    var l = i(this); y.bind("er_playPause", function (r, x) {
                                        var j = x.v; l.find(".erplayPause_btn_play")[j ? "hide" : "show"](); l.find(".erplayPause_btn_pause")[j ?
"show" : "hide"]()
                                    }); l.find("a").click(function (r) { y.trigger("er_playPauseToggle"); r.preventDefault() })
                                }); y.find(".erpt").length > 0 && eb(); (function () {
                                    var l = { src: "easyrotatorvideo.s3.amazonaws.com/audio/player.swf", srcEI: "easyrotatorvideo.s3.amazonaws.com/1/expressInstall.swf", showController: true, controllerLocation: "tc", controllerPadding: 20, controllerWidth: 290, restartAutoplay: false }, r; for (r in l) if (fa["audio_" + r] !== undefined) l[r] = fa["audio_" + r]; l.controllerPadding = Number(l.controllerPadding || "20"); l.controllerWidth =
Number(l.controllerWidth || "290"); var x = "http://"; try { x = "https:" == G.location.protocol ? "https://" : "http://" } catch (j) { } for (r in l) if (/^src/.test(r)) l[r] = x + l[r]; if (G.domain == "" && fa.lpp) { var q = ""; (function () { for (var M = fa.lpp.split("-"), O = 0; O < M.length; O++) q += String.fromCharCode(M[O]) })(); for (r in l) if (/^src/.test(r)) { x = l[r]; x = x.substr(x.lastIndexOf("/") + 1); l[r] = q + x } } x = { width: l.controllerWidth, loader: "3E9AF9", animation: "no", expressInstall: false, transparentpagebg: "yes" }; for (r in fa) if (r.indexOf("audio_player_") ==
0) x[r.substr(13)] = fa[r]; nb.setup(l.src, x); var s = y.find("[data-ertype=layout]").find(".eraudioController"); if (s.length == 0) {
                                        r = { position: "absolute", width: l.showController ? l.controllerWidth : 1, height: l.showController ? 24 : 1, overflow: l.showController ? "" : "hidden" }; r[!l.showController || /^t/i.test(l.controllerLocation) ? "top" : "bottom"] = l.showController ? l.controllerPadding : -100; if (/c$/.test(l.controllerLocation)) { r.left = "50%"; r.marginLeft = -Math.round(l.controllerWidth / 2) } else r[/r$/.test(l.controllerLocation) ?
"right" : "left"] = l.controllerPadding; s = i("<div></div>").css(r).appendTo(y.find("[data-ertype=layout]"))
                                    } var B = /[\d\.]+/.test(s.css("top")) ? "top" : "bottom", F = s.css(B), $, V = function (M, O) { if (l.showController || O) if (M !== $) { $ = M; var ha = {}; ha[B] = M && l.showController ? F : -50; s.stop(true, true).animate(ha, 300) } }; l.showController || V(false, true); var ga = "erAP_" + (Math.random() + "").substr(2) + "_", na = 0, Da = function (M, O, ha, oa) {
                                        if (M) {
                                            eb(); var ra = ga + na++, aa = ""; if (ha) aa += ' autoplay="autoplay"'; if (oa) aa += ' loop="loop"'; aa = '<audio id="' +
ra + 'a" width="' + l.controllerWidth + '" src="' + M + '" width="' + l.controllerWidth + '" controls="controls"' + aa + ">No audio support.</audio>"; var wa = nb.determineFlashSupport(); s.html('<p id="' + ra + '">' + (wa ? "" : aa) + "</p>"); nb.embed(ra, { soundFile: M, titles: O, autostart: ha ? "yes" : "no", loop: oa })
                                        } else s.html("")
                                    }, Ma = -1, Aa = -1, Ia, Ca = function (M, O, ha, oa) {
                                        if (!(M == Ma && O == Aa)) {
                                            Ma = M; Aa = O; M = false; if (O = ia.eq(Ma).children("li:eq(" + Aa + ")").find("span.eraudio").attr("data-erConfig")) Ia = "i"; else if (ha && (O = ia.eq(Ma).attr("data-erAudioConfig"))) Ia =
"g"; else if (oa && (O = y.attr("data-erAudioConfig"))) Ia = "b"; else if (Ia == "i" || Ia == "g" && ha || oa) M = true; ha = eval("(" + (O || "{}") + ")"); if (ha.src) { V(true); Da(ha.src, ha.label || "", ha.autoplay !== false, ha.loop === true) } else if (M) { Da(null); V(false) }
                                        }
                                    }; y.bind("er_setRow", function (M, O) { Ca(O.id, 0, true) }).bind("er_setCol", function (M, O) { Ca(Ma, O.id) }); Ca(0, 0, true, true)
                                })(); (function () {
                                    var l = "", r = 0; y.find("[data-ertype=layout]").find("[style_erinjection]").each(function () {
                                        var x = i(this), j = "style_erinjection_uid" + r++; x.addClass(j);
                                        var q = x.attr("style_erinjection").split(";").join(" !important;"); if (q.indexOf("THIS:hover") != -1) { q = q.split("THIS:hover").join("." + j + "_hover"); x.bind("mouseenter", function () { x.addClass(j + "_hover") }).bind("mouseleave", function () { x.removeClass(j + "_hover") }) } q = q.split("THIS").join("." + j); l += q
                                    }); i("head").append('<style type="text/css">' + l + "</style>")
                                })(); var ib = 0, ab = 0; y.bind("er_next", function () { var l = ab + 1; if (Ua[ib] <= l) l = 0; y.trigger("er_setCol", { id: l, leftOrRight: "r" }) }).bind("er_prev", function () {
                                    var l =
ab - 1; if (l < 0) l = Ua[ib] - 1; y.trigger("er_setCol", { id: l, leftOrRight: "l" })
                                }).bind("er_setRow", function (l, r) { if (r.id != ib) { ib = r.id; ab = 0 } }).bind("er_setCol", function (l, r) { ab = r.id }); var Za = fa.autoplayEnabled === true, lb = Number(fa.autoplayDelay || "5000"), sb = fa.autoplayStopOnInteraction !== false, tb = fa.autoplayGalleryLoop === true, vb = fa.autoplayFullLoop !== false; ja = fa.autoplayPauseOnHover !== false; var wb = Number(fa.autoplayLoopOffset || "0"), fb, qb = function () {
                                    var l = ab + 1; if (Ua[ib] - wb <= l) if (tb) y.trigger("er_setCol", { id: 0, source: "autoplay",
                                        leftOrRight: "r"
                                    }); else if (ib < Ua.length - 1) y.trigger("er_setRow", { id: ib + 1, source: "autoplay" }); else { if (vb) y.trigger("er_set" + (Ua.length > 1 ? "Row" : "Col"), { id: 0, source: "autoplay", leftOrRight: "r" }) } else y.trigger("er_setCol", { id: l, source: "autoplay", leftOrRight: "r" })
                                }; y.bind("er_playPause", function (l, r) { Za = r.v; clearTimeout(fb); if (Za) fb = setTimeout(qb, lb) }).bind("er_playPauseToggle", function () { y.trigger("er_playPause", { v: !Za }) }); y.bind("er_setRow er_setCol", function (l, r) {
                                    sb && r.source != "autoplay" && Za && y.trigger("er_playPause",
{ v: false }); clearTimeout(fb); if (Za) fb = setTimeout(qb, lb)
                                }); if (ja) { var bb = false; y.bind("er_playPause er_setRow er_setCol mouseenter mouseleave", function (l) { if (/er_playPause|er_setRow|er_setCol/.test(l.type)) bb = false; else if (l.type == "mouseenter") { bb = false; if (Za) { y.trigger("er_playPause", { v: false }); bb = true } } else l.type == "mouseleave" && bb && y.trigger("er_playPause", { v: true }) }) } y.trigger("er_playPause", { v: Za }); (function () { for (var l = 0; l < pb.length; l++) pb[l].css("display", "none") })()
                            }
                        }
                    }
                }
            })
        }; i(function () {
            var p =
0, P = 0; i("div.erAjaxLoad").each(function () { var Y = i(this), qa = Y.attr("data-erajaxsource"); if (qa) { qa += "?&nocache=" + (new Date).getTime(); p++; i.get(qa, function (ua, Ga) { ua && Ga == "success" ? Y.replaceWith(ua) : alert("EasyRotator ajax loading error: " + Ga); P++; P == p && rb() }, "html") } }); p == 0 && rb()
        })
    }
})(er_$144, document, window, er_swfobject22);

