(function (a, b) { function cv(a) { return f.iswindow(a) ? a : a.nodetype === 9 ? a.defaultview || a.parentwindow : !1 } function cs(a) { if (!ca[a]) { var b = c.body, d = f("<" + a + ">").appendto(b), e = d.css("display"); d.remove(); if (e === "none" || e === "") { ch || (ch = c.createelement("iframe"), ch.frameborder = ch.width = ch.height = 0), b.appendchild(ch); if (!ci || !ch.createelement) ci = (ch.contentwindow || ch.contentdocument).document, ci.write((c.compatmode === "css1compat" ? "" : "") + ""), ci.close(); d = ci.createelement(a), ci.body.appendchild(d), e = f.css(d, "display"), b.removechild(ch) } ca[a] = e } return ca[a] } function cr(a, b) { var c = {}; f.each(cm.concat.apply([], cm.slice(0, b)), function () { c[this] = a }); return c } function cq() { cn = b } function cp() { settimeout(cq, 0); return cn = f.now() } function cf() { try { return new a.activexobject("microsoft.xmlhttp") } catch (b) { } } function ce() { try { return new a.xmlhttprequest } catch (b) { } } function b$(a, c) { a.datafilter && (c = a.datafilter(c, a.datatype)); var d = a.datatypes, e = {}, g, h, i = d.length, j, k = d[0], l, m, n, o, p; for (g = 1; g < i; g++) { if (g === 1) for (h in a.converters) typeof h == "string" && (e[h.tolowercase()] = a.converters[h]); l = k, k = d[g]; if (k === "*") k = l; else if (l !== "*" && l !== k) { m = l + " " + k, n = e[m] || e["* " + k]; if (!n) { p = b; for (o in e) { j = o.split(" "); if (j[0] === l || j[0] === "*") { p = e[j[1] + " " + k]; if (p) { o = e[o], o === !0 ? n = p : p === !0 && (n = o); break } } } } !n && !p && f.error("no conversion from " + m.replace(" ", " to ")), n !== !0 && (c = n ? n(c) : p(o(c))) } } return c } function bz(a, c, d) { var e = a.contents, f = a.datatypes, g = a.responsefields, h, i, j, k; for (i in g) i in d && (c[g[i]] = d[i]); while (f[0] === "*") f.shift(), h === b && (h = a.mimetype || c.getresponseheader("content-type")); if (h) for (i in e) if (e[i] && e[i].test(h)) { f.unshift(i); break } if (f[0] in d) j = f[0]; else { for (i in d) { if (!f[0] || a.converters[i + " " + f[0]]) { j = i; break } k || (k = i) } j = j || k } if (j) { j !== f[0] && f.unshift(j); return d[j] } } function by(a, b, c, d) { if (f.isarray(b)) f.each(b, function (b, e) { c || bc.test(a) ? d(a, e) : by(a + "[" + (typeof e == "object" || f.isarray(e) ? b : "") + "]", e, c, d) }); else if (!c && b != null && typeof b == "object") for (var e in b) by(a + "[" + e + "]", b[e], c, d); else d(a, b) } function bx(a, c, d, e, f, g) { f = f || c.datatypes[0], g = g || {}, g[f] = !0; var h = a[f], i = 0, j = h ? h.length : 0, k = a === br, l; for (; i < j && (k || !l) ; i++) l = h[i](c, d, e), typeof l == "string" && (!k || g[l] ? l = b : (c.datatypes.unshift(l), l = bx(a, c, d, e, l, g))); (k || !l) && !g["*"] && (l = bx(a, c, d, e, "*", g)); return l } function bw(a) { return function (b, c) { typeof b != "string" && (c = b, b = "*"); if (f.isfunction(c)) { var d = b.tolowercase().split(bn), e = 0, g = d.length, h, i, j; for (; e < g; e++) h = d[e], j = /^\+/.test(h), j && (h = h.substr(1) || "*"), i = a[h] = a[h] || [], i[j ? "unshift" : "push"](c) } } } function ba(a, b, c) { var d = b === "width" ? a.offsetwidth : a.offsetheight, e = b === "width" ? bv : bw; if (d > 0) { c !== "border" && f.each(e, function () { c || (d -= parsefloat(f.css(a, "padding" + this)) || 0), c === "margin" ? d += parsefloat(f.css(a, c + this)) || 0 : d -= parsefloat(f.css(a, "border" + this + "width")) || 0 }); return d + "px" } d = bx(a, b, b); if (d < 0 || d == null) d = a.style[b] || 0; d = parsefloat(d) || 0, c && f.each(e, function () { d += parsefloat(f.css(a, "padding" + this)) || 0, c !== "padding" && (d += parsefloat(f.css(a, "border" + this + "width")) || 0), c === "margin" && (d += parsefloat(f.css(a, c + this)) || 0) }); return d + "px" } function bm(a, b) { b.src ? f.ajax({ url: b.src, async: !1, datatype: "script" }) : f.globaleval((b.text || b.textcontent || b.innerhtml || "").replace(be, "/*$0*/")), b.parentnode && b.parentnode.removechild(b) } function bl(a) { f.nodename(a, "input") ? bk(a) : "getelementsbytagname" in a && f.grep(a.getelementsbytagname("input"), bk) } function bk(a) { if (a.type === "checkbox" || a.type === "radio") a.defaultchecked = a.checked } function bj(a) { return "getelementsbytagname" in a ? a.getelementsbytagname("*") : "queryselectorall" in a ? a.queryselectorall("*") : [] } function bi(a, b) { var c; if (b.nodetype === 1) { b.clearattributes && b.clearattributes(), b.mergeattributes && b.mergeattributes(a), c = b.nodename.tolowercase(); if (c === "object") b.outerhtml = a.outerhtml; else if (c !== "input" || a.type !== "checkbox" && a.type !== "radio") { if (c === "option") b.selected = a.defaultselected; else if (c === "input" || c === "textarea") b.defaultvalue = a.defaultvalue } else a.checked && (b.defaultchecked = b.checked = a.checked), b.value !== a.value && (b.value = a.value); b.removeattribute(f.expando) } } function bh(a, b) { if (b.nodetype === 1 && !!f.hasdata(a)) { var c = f.expando, d = f.data(a), e = f.data(b, d); if (d = d[c]) { var g = d.events; e = e[c] = f.extend({}, d); if (g) { delete e.handle, e.events = {}; for (var h in g) for (var i = 0, j = g[h].length; i < j; i++) f.event.add(b, h + (g[h][i].namespace ? "." : "") + g[h][i].namespace, g[h][i], g[h][i].data) } } } } function bg(a, b) { return f.nodename(a, "table") ? a.getelementsbytagname("tbody")[0] || a.appendchild(a.ownerdocument.createelement("tbody")) : a } function w(a, b, c) { b = b || 0; if (f.isfunction(b)) return f.grep(a, function (a, d) { var e = !!b.call(a, d, a); return e === c }); if (b.nodetype) return f.grep(a, function (a, d) { return a === b === c }); if (typeof b == "string") { var d = f.grep(a, function (a) { return a.nodetype === 1 }); if (r.test(b)) return f.filter(b, d, !c); b = f.filter(b, d) } return f.grep(a, function (a, d) { return f.inarray(a, b) >= 0 === c }) } function v(a) { return !a || !a.parentnode || a.parentnode.nodetype === 11 } function n(a, b) { return (a && a !== "*" ? a + "." : "") + b.replace(z, "`").replace(a, "&") } function m(a) { var b, c, d, e, g, h, i, j, k, l, m, n, o, p = [], q = [], r = f._data(this, "events"); if (!(a.livefired === this || !r || !r.live || a.target.disabled || a.button && a.type === "click")) { a.namespace && (n = new regexp("(^|\\.)" + a.namespace.split(".").join("\\.(?:.*\\.)?") + "(\\.|$)")), a.livefired = this; var s = r.live.slice(0); for (i = 0; i < s.length; i++) g = s[i], g.origtype.replace(x, "") === a.type ? q.push(g.selector) : s.splice(i--, 1); e = f(a.target).closest(q, a.currenttarget); for (j = 0, k = e.length; j < k; j++) { m = e[j]; for (i = 0; i < s.length; i++) { g = s[i]; if (m.selector === g.selector && (!n || n.test(g.namespace)) && !m.elem.disabled) { h = m.elem, d = null; if (g.pretype === "mouseenter" || g.pretype === "mouseleave") a.type = g.pretype, d = f(a.relatedtarget).closest(g.selector)[0], d && f.contains(h, d) && (d = h); (!d || d !== h) && p.push({ elem: h, handleobj: g, level: m.level }) } } } for (j = 0, k = p.length; j < k; j++) { e = p[j]; if (c && e.level > c) break; a.currenttarget = e.elem, a.data = e.handleobj.data, a.handleobj = e.handleobj, o = e.handleobj.orighandler.apply(e.elem, arguments); if (o === !1 || a.ispropagationstopped()) { c = e.level, o === !1 && (b = !1); if (a.isimmediatepropagationstopped()) break } } return b } } function k(a, c, d) { var e = f.extend({}, d[0]); e.type = a, e.originalevent = {}, e.livefired = b, f.event.handle.call(c, e), e.isdefaultprevented() && d[0].preventdefault() } function e() { return !0 } function d() { return !1 } function m(a, c, d) { var e = c + "defer", g = c + "queue", h = c + "mark", i = f.data(a, e, b, !0); i && (d === "queue" || !f.data(a, g, b, !0)) && (d === "mark" || !f.data(a, h, b, !0)) && settimeout(function () { !f.data(a, g, b, !0) && !f.data(a, h, b, !0) && (f.removedata(a, e, !0), i.resolve()) }, 0) } function l(a) { for (var b in a) if (b !== "tojson") return !1; return !0 } function k(a, c, d) { if (d === b && a.nodetype === 1) { var e = "data-" + c.replace(j, "$1-$2").tolowercase(); d = a.getattribute(e); if (typeof d == "string") { try { d = d === "true" ? !0 : d === "false" ? !1 : d === "null" ? null : f.isnan(d) ? i.test(d) ? f.parsejson(d) : d : parsefloat(d) } catch (g) { } f.data(a, c, d) } else d = b } return d } var c = a.document, d = a.navigator, e = a.location, f = function () { function j() { if (!e.isready) { try { c.documentelement.doscroll("left") } catch (a) { settimeout(j, 1); return } e.ready() } } var e = function (a, b) { return new e.fn.init(a, b, h) }, f = a.jq, g = a.$, h, i = /^(?:[^<]*(<[\w\w]+>)[^>]*$|#([\w\-]*)$)/, j = /\s/, k = /^\s+/, l = /\s+$/, m = /\d/, n = /^<(\w+)\s*\/?>(?:<\/\1>)?$/, o = /^[\],:{}\s]*$/, p = /\\(?:["\\\/bfnrt]|u[0-9a-fa-f]{4})/g, q = /"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[ee][+\-]?\d+)?/g, r = /(?:^|:|,)(?:\s*\[)+/g, s = /(webkit)[ \/]([\w.]+)/, t = /(opera)(?:.*version)?[ \/]([\w.]+)/, u = /(msie) ([\w.]+)/, v = /(mozilla)(?:.*? rv:([\w.]+))?/, w = /-([a-z])/ig, x = function (a, b) { return b.touppercase() }, y = d.useragent, z, a, b, c = object.prototype.tostring, d = object.prototype.hasownproperty, e = array.prototype.push, f = array.prototype.slice, g = string.prototype.trim, h = array.prototype.indexof, i = {}; e.fn = e.prototype = { constructor: e, init: function (a, d, f) { var g, h, j, k; if (!a) return this; if (a.nodetype) { this.context = this[0] = a, this.length = 1; return this } if (a === "body" && !d && c.body) { this.context = c, this[0] = c.body, this.selector = a, this.length = 1; return this } if (typeof a == "string") { a.charat(0) !== "<" || a.charat(a.length - 1) !== ">" || a.length < 3 ? g = i.exec(a) : g = [null, a, null]; if (g && (g[1] || !d)) { if (g[1]) { d = d instanceof e ? d[0] : d, k = d ? d.ownerdocument || d : c, j = n.exec(a), j ? e.isplainobject(d) ? (a = [c.createelement(j[1])], e.fn.attr.call(a, d, !0)) : a = [k.createelement(j[1])] : (j = e.buildfragment([g[1]], [k]), a = (j.cacheable ? e.clone(j.fragment) : j.fragment).childnodes); return e.merge(this, a) } h = c.getelementbyid(g[2]); if (h && h.parentnode) { if (h.id !== g[2]) return f.find(a); this.length = 1, this[0] = h } this.context = c, this.selector = a; return this } return !d || d.jq ? (d || f).find(a) : this.constructor(d).find(a) } if (e.isfunction(a)) return f.ready(a); a.selector !== b && (this.selector = a.selector, this.context = a.context); return e.makearray(a, this) }, selector: "", jq: "1.6.2", length: 0, size: function () { return this.length }, toarray: function () { return f.call(this, 0) }, get: function (a) { return a == null ? this.toarray() : a < 0 ? this[this.length + a] : this[a] }, pushstack: function (a, b, c) { var d = this.constructor(); e.isarray(a) ? e.apply(d, a) : e.merge(d, a), d.prevobject = this, d.context = this.context, b === "find" ? d.selector = this.selector + (this.selector ? " " : "") + c : b && (d.selector = this.selector + "." + b + "(" + c + ")"); return d }, each: function (a, b) { return e.each(this, a, b) }, ready: function (a) { e.bindready(), a.done(a); return this }, eq: function (a) { return a === -1 ? this.slice(a) : this.slice(a, +a + 1) }, first: function () { return this.eq(0) }, last: function () { return this.eq(-1) }, slice: function () { return this.pushstack(f.apply(this, arguments), "slice", f.call(arguments).join(",")) }, map: function (a) { return this.pushstack(e.map(this, function (b, c) { return a.call(b, c, b) })) }, end: function () { return this.prevobject || this.constructor(null) }, push: e, sort: [].sort, splice: [].splice }, e.fn.init.prototype = e.fn, e.extend = e.fn.extend = function () { var a, c, d, f, g, h, i = arguments[0] || {}, j = 1, k = arguments.length, l = !1; typeof i == "boolean" && (l = i, i = arguments[1] || {}, j = 2), typeof i != "object" && !e.isfunction(i) && (i = {}), k === j && (i = this, --j); for (; j < k; j++) if ((a = arguments[j]) != null) for (c in a) { d = i[c], f = a[c]; if (i === f) continue; l && f && (e.isplainobject(f) || (g = e.isarray(f))) ? (g ? (g = !1, h = d && e.isarray(d) ? d : []) : h = d && e.isplainobject(d) ? d : {}, i[c] = e.extend(l, h, f)) : f !== b && (i[c] = f) } return i }, e.extend({ noconflict: function (b) { a.$ === e && (a.$ = g), b && a.jq === e && (a.jq = f); return e }, isready: !1, readywait: 1, holdready: function (a) { a ? e.readywait++ : e.ready(!0) }, ready: function (a) { if (a === !0 && !--e.readywait || a !== !0 && !e.isready) { if (!c.body) return settimeout(e.ready, 1); e.isready = !0; if (a !== !0 && --e.readywait > 0) return; a.resolvewith(c, [e]), e.fn.trigger && e(c).trigger("ready").unbind("ready") } }, bindready: function () { if (!a) { a = e._deferred(); if (c.readystate === "complete") return settimeout(e.ready, 1); if (c.addeventlistener) c.addeventlistener("domcontentloaded", b, !1), a.addeventlistener("load", e.ready, !1); else if (c.attachevent) { c.attachevent("onreadystatechange", b), a.attachevent("onload", e.ready); var b = !1; try { b = a.frameelement == null } catch (d) { } c.documentelement.doscroll && b && j() } } }, isfunction: function (a) { return e.type(a) === "function" }, isarray: array.isarray || function (a) { return e.type(a) === "array" }, iswindow: function (a) { return a && typeof a == "object" && "setinterval" in a }, isnan: function (a) { return a == null || !m.test(a) || isnan(a) }, type: function (a) { return a == null ? string(a) : i[c.call(a)] || "object" }, isplainobject: function (a) { if (!a || e.type(a) !== "object" || a.nodetype || e.iswindow(a)) return !1; if (a.constructor && !d.call(a, "constructor") && !d.call(a.constructor.prototype, "isprototypeof")) return !1; var c; for (c in a) ; return c === b || d.call(a, c) }, isemptyobject: function (a) { for (var b in a) return !1; return !0 }, error: function (a) { throw a }, parsejson: function (b) { if (typeof b != "string" || !b) return null; b = e.trim(b); if (a.json && a.json.parse) return a.json.parse(b); if (o.test(b.replace(p, "@").replace(q, "]").replace(r, ""))) return (new function("return " + b))(); e.error("invalid json: " + b) }, parsexml: function (b, c, d) { a.domparser ? (d = new domparser, c = d.parsefromstring(b, "text/xml")) : (c = new activexobject("microsoft.xmldom"), c.async = "false", c.loadxml(b)), d = c.documentelement, (!d || !d.nodename || d.nodename === "parsererror") && e.error("invalid xml: " + b); return c }, noop: function () { }, globaleval: function (b) { b && j.test(b) && (a.execscript || function (b) { a.eval.call(a, b) })(b) }, camelcase: function (a) { return a.replace(w, x) }, nodename: function (a, b) { return a.nodename && a.nodename.touppercase() === b.touppercase() }, each: function (a, c, d) { var f, g = 0, h = a.length, i = h === b || e.isfunction(a); if (d) { if (i) { for (f in a) if (c.apply(a[f], d) === !1) break } else for (; g < h;) if (c.apply(a[g++], d) === !1) break } else if (i) { for (f in a) if (c.call(a[f], f, a[f]) === !1) break } else for (; g < h;) if (c.call(a[g], g, a[g++]) === !1) break; return a }, trim: g ? function (a) { return a == null ? "" : g.call(a) } : function (a) { return a == null ? "" : (a + "").replace(k, "").replace(l, "") }, makearray: function (a, b) { var c = b || []; if (a != null) { var d = e.type(a); a.length == null || d === "string" || d === "function" || d === "regexp" || e.iswindow(a) ? e.call(c, a) : e.merge(c, a) } return c }, inarray: function (a, b) { if (h) return h.call(b, a); for (var c = 0, d = b.length; c < d; c++) if (b[c] === a) return c; return -1 }, merge: function (a, c) { var d = a.length, e = 0; if (typeof c.length == "number") for (var f = c.length; e < f; e++) a[d++] = c[e]; else while (c[e] !== b) a[d++] = c[e++]; a.length = d; return a }, grep: function (a, b, c) { var d = [], e; c = !!c; for (var f = 0, g = a.length; f < g; f++) e = !!b(a[f], f), c !== e && d.push(a[f]); return d }, map: function (a, c, d) { var f, g, h = [], i = 0, j = a.length, k = a instanceof e || j !== b && typeof j == "number" && (j > 0 && a[0] && a[j - 1] || j === 0 || e.isarray(a)); if (k) for (; i < j; i++) f = c(a[i], i, d), f != null && (h[h.length] = f); else for (g in a) f = c(a[g], g, d), f != null && (h[h.length] = f); return h.concat.apply([], h) }, guid: 1, proxy: function (a, c) { if (typeof c == "string") { var d = a[c]; c = a, a = d } if (!e.isfunction(a)) return b; var f = f.call(arguments, 2), g = function () { return a.apply(c, f.concat(f.call(arguments))) }; g.guid = a.guid = a.guid || g.guid || e.guid++; return g }, access: function (a, c, d, f, g, h) { var i = a.length; if (typeof c == "object") { for (var j in c) e.access(a, j, c[j], f, g, d); return a } if (d !== b) { f = !h && f && e.isfunction(d); for (var k = 0; k < i; k++) g(a[k], c, f ? d.call(a[k], k, g(a[k], c)) : d, h); return a } return i ? g(a[0], c) : b }, now: function () { return (new date).gettime() }, uamatch: function (a) { a = a.tolowercase(); var b = s.exec(a) || t.exec(a) || u.exec(a) || a.indexof("compatible") < 0 && v.exec(a) || []; return { browser: b[1] || "", version: b[2] || "0" } }, sub: function () { function a(b, c) { return new a.fn.init(b, c) } e.extend(!0, a, this), a.superclass = this, a.fn = a.prototype = this(), a.fn.constructor = a, a.sub = this.sub, a.fn.init = function (d, f) { f && f instanceof e && !(f instanceof a) && (f = a(f)); return e.fn.init.call(this, d, f, b) }, a.fn.init.prototype = a.fn; var b = a(c); return a }, browser: {} }), e.each("boolean number string function array date regexp object".split(" "), function (a, b) { i["[object " + b + "]"] = b.tolowercase() }), z = e.uamatch(y), z.browser && (e.browser[z.browser] = !0, e.browser.version = z.version), e.browser.webkit && (e.browser.safari = !0), j.test(" ") && (k = /^[\s\xa0]+/, l = /[\s\xa0]+$/), h = e(c), c.addeventlistener ? b = function () { c.removeeventlistener("domcontentloaded", b, !1), e.ready() } : c.attachevent && (b = function () { c.readystate === "complete" && (c.detachevent("onreadystatechange", b), e.ready()) }); return e }(), g = "done fail isresolved isrejected promise then always pipe".split(" "), h = [].slice; f.extend({ _deferred: function () { var a = [], b, c, d, e = { done: function () { if (!d) { var c = arguments, g, h, i, j, k; b && (k = b, b = 0); for (g = 0, h = c.length; g < h; g++) i = c[g], j = f.type(i), j === "array" ? e.done.apply(e, i) : j === "function" && a.push(i); k && e.resolvewith(k[0], k[1]) } return this }, resolvewith: function (e, f) { if (!d && !b && !c) { f = f || [], c = 1; try { while (a[0]) a.shift().apply(e, f) } finally { b = [e, f], c = 0 } } return this }, resolve: function () { e.resolvewith(this, arguments); return this }, isresolved: function () { return !!c || !!b }, cancel: function () { d = 1, a = []; return this } }; return e }, deferred: function (a) { var b = f._deferred(), c = f._deferred(), d; f.extend(b, { then: function (a, c) { b.done(a).fail(c); return this }, always: function () { return b.done.apply(b, arguments).fail.apply(this, arguments) }, fail: c.done, rejectwith: c.resolvewith, reject: c.resolve, isrejected: c.isresolved, pipe: function (a, c) { return f.deferred(function (d) { f.each({ done: [a, "resolve"], fail: [c, "reject"] }, function (a, c) { var e = c[0], g = c[1], h; f.isfunction(e) ? b[a](function () { h = e.apply(this, arguments), h && f.isfunction(h.promise) ? h.promise().then(d.resolve, d.reject) : d[g](h) }) : b[a](d[g]) }) }).promise() }, promise: function (a) { if (a == null) { if (d) return d; d = a = {} } var c = g.length; while (c--) a[g[c]] = b[g[c]]; return a } }), b.done(c.cancel).fail(b.cancel), delete b.cancel, a && a.call(b, b); return b }, when: function (a) { function i(a) { return function (c) { b[a] = arguments.length > 1 ? h.call(arguments, 0) : c, --e || g.resolvewith(g, h.call(b, 0)) } } var b = arguments, c = 0, d = b.length, e = d, g = d <= 1 && a && f.isfunction(a.promise) ? a : f.deferred(); if (d > 1) { for (; c < d; c++) b[c] && f.isfunction(b[c].promise) ? b[c].promise().then(i(c), g.reject) : --e; e || g.resolvewith(g, b) } else g !== a && g.resolvewith(g, d ? [a] : []); return g.promise() } }), f.support = function () { var a = c.createelement("div"), b = c.documentelement, d, e, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u; a.setattribute("classname", "t"), a.innerhtml = "
a", d = a.getelementsbytagname("*"), e = a.getelementsbytagname("a")[0]; if (!d || !d.length || !e) return {}; g = c.createelement("select"), h = g.appendchild(c.createelement("option")), i = a.getelementsbytagname("input")[0], k = { leadingwhitespace: a.firstchild.nodetype === 3, tbody: !a.getelementsbytagname("tbody").length, htmlserialize: !!a.getelementsbytagname("link").length, style: /top/.test(e.getattribute("style")), hrefnormalized: e.getattribute("href") === "/a", opacity: /^0.55$/.test(e.style.opacity), cssfloat: !!e.style.cssfloat, checkon: i.value === "on", optselected: h.selected, getsetattribute: a.classname !== "t", submitbubbles: !0, changebubbles: !0, focusinbubbles: !1, deleteexpando: !0, nocloneevent: !0, inlineblockneedslayout: !1, shrinkwrapblocks: !1, reliablemarginright: !0 }, i.checked = !0, k.noclonechecked = i.clonenode(!0).checked, g.disabled = !0, k.optdisabled = !h.disabled; try { delete a.test } catch (v) { k.deleteexpando = !1 } !a.addeventlistener && a.attachevent && a.fireevent && (a.attachevent("onclick", function () { k.nocloneevent = !1 }), a.clonenode(!0).fireevent("onclick")), i = c.createelement("input"), i.value = "t", i.setattribute("type", "radio"), k.radiovalue = i.value === "t", i.setattribute("checked", "checked"), a.appendchild(i), l = c.createdocumentfragment(), l.appendchild(a.firstchild), k.checkclone = l.clonenode(!0).clonenode(!0).lastchild.checked, a.innerhtml = "", a.style.width = a.style.paddingleft = "1px", m = c.getelementsbytagname("body")[0], o = c.createelement(m ? "div" : "body"), p = { visibility: "hidden", width: 0, height: 0, border: 0, margin: 0 }, m && f.extend(p, { position: "absolute", left: -1e3, top: -1e3 }); for (t in p) o.style[t] = p[t]; o.appendchild(a), n = m || b, n.insertbefore(o, n.firstchild), k.appendchecked = i.checked, k.boxmodel = a.offsetwidth === 2, "zoom" in a.style && (a.style.display = "inline", a.style.zoom = 1, k.inlineblockneedslayout = a.offsetwidth === 2, a.style.display = "", a.innerhtml = "
", k.shrinkwrapblocks = a.offsetwidth !== 2), a.innerhtml = "
t
", q = a.getelementsbytagname("td"), u = q[0].offsetheight === 0, q[0].style.display = "", q[1].style.display = "none", k.reliablehiddenoffsets = u && q[0].offsetheight === 0, a.innerhtml = "", c.defaultview && c.defaultview.getcomputedstyle && (j = c.createelement("div"), j.style.width = "0", j.style.marginright = "0", a.appendchild(j), k.reliablemarginright = (parseint((c.defaultview.getcomputedstyle(j, null) || { marginright: 0 }).marginright, 10) || 0) === 0), o.innerhtml = "", n.removechild(o); if (a.attachevent) for (t in { submit: 1, change: 1, focusin: 1 }) s = "on" + t, u = s in a, u || (a.setattribute(s, "return;"), u = typeof a[s] == "function"), k[t + "bubbles"] = u; o = l = g = h = m = j = a = i = null; return k }(), f.boxmodel = f.support.boxmodel; var i = /^(?:\{.*\}|\[.*\])$/, j = /([a-z])([a-z])/g; f.extend({ cache: {}, uuid: 0, expando: "jq" + (f.fn.jq + math.random()).replace(/\d/g, ""), nodata: { embed: !0, object: "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000", applet: !0 }, hasdata: function (a) { a = a.nodetype ? f.cache[a[f.expando]] : a[f.expando]; return !!a && !l(a) }, data: function (a, c, d, e) { if (!!f.acceptdata(a)) { var g = f.expando, h = typeof c == "string", i, j = a.nodetype, k = j ? f.cache : a, l = j ? a[f.expando] : a[f.expando] && f.expando; if ((!l || e && l && !k[l][g]) && h && d === b) return; l || (j ? a[f.expando] = l = ++f.uuid : l = f.expando), k[l] || (k[l] = {}, j || (k[l].tojson = f.noop)); if (typeof c == "object" || typeof c == "function") e ? k[l][g] = f.extend(k[l][g], c) : k[l] = f.extend(k[l], c); i = k[l], e && (i[g] || (i[g] = {}), i = i[g]), d !== b && (i[f.camelcase(c)] = d); if (c === "events" && !i[c]) return i[g] && i[g].events; return h ? i[f.camelcase(c)] || i[c] : i } }, removedata: function (b, c, d) { if (!!f.acceptdata(b)) { var e = f.expando, g = b.nodetype, h = g ? f.cache : b, i = g ? b[f.expando] : f.expando; if (!h[i]) return; if (c) { var j = d ? h[i][e] : h[i]; if (j) { delete j[c]; if (!l(j)) return } } if (d) { delete h[i][e]; if (!l(h[i])) return } var k = h[i][e]; f.support.deleteexpando || h != a ? delete h[i] : h[i] = null, k ? (h[i] = {}, g || (h[i].tojson = f.noop), h[i][e] = k) : g && (f.support.deleteexpando ? delete b[f.expando] : b.removeattribute ? b.removeattribute(f.expando) : b[f.expando] = null) } }, _data: function (a, b, c) { return f.data(a, b, c, !0) }, acceptdata: function (a) { if (a.nodename) { var b = f.nodata[a.nodename.tolowercase()]; if (b) return b !== !0 && a.getattribute("classid") === b } return !0 } }), f.fn.extend({ data: function (a, c) { var d = null; if (typeof a == "undefined") { if (this.length) { d = f.data(this[0]); if (this[0].nodetype === 1) { var e = this[0].attributes, g; for (var h = 0, i = e.length; h < i; h++) g = e[h].name, g.indexof("data-") === 0 && (g = f.camelcase(g.substring(5)), k(this[0], g, d[g])) } } return d } if (typeof a == "object") return this.each(function () { f.data(this, a) }); var j = a.split("."); j[1] = j[1] ? "." + j[1] : ""; if (c === b) { d = this.triggerhandler("getdata" + j[1] + "!", [j[0]]), d === b && this.length && (d = f.data(this[0], a), d = k(this[0], a, d)); return d === b && j[1] ? this.data(j[0]) : d } return this.each(function () { var b = f(this), d = [j[0], c]; b.triggerhandler("setdata" + j[1] + "!", d), f.data(this, a, c), b.triggerhandler("changedata" + j[1] + "!", d) }) }, removedata: function (a) { return this.each(function () { f.removedata(this, a) }) } }), f.extend({ _mark: function (a, c) { a && (c = (c || "fx") + "mark", f.data(a, c, (f.data(a, c, b, !0) || 0) + 1, !0)) }, _unmark: function (a, c, d) { a !== !0 && (d = c, c = a, a = !1); if (c) { d = d || "fx"; var e = d + "mark", g = a ? 0 : (f.data(c, e, b, !0) || 1) - 1; g ? f.data(c, e, g, !0) : (f.removedata(c, e, !0), m(c, d, "mark")) } }, queue: function (a, c, d) { if (a) { c = (c || "fx") + "queue"; var e = f.data(a, c, b, !0); d && (!e || f.isarray(d) ? e = f.data(a, c, f.makearray(d), !0) : e.push(d)); return e || [] } }, dequeue: function (a, b) { b = b || "fx"; var c = f.queue(a, b), d = c.shift(), e; d === "inprogress" && (d = c.shift()), d && (b === "fx" && c.unshift("inprogress"), d.call(a, function () { f.dequeue(a, b) })), c.length || (f.removedata(a, b + "queue", !0), m(a, b, "queue")) } }), f.fn.extend({ queue: function (a, c) { typeof a != "string" && (c = a, a = "fx"); if (c === b) return f.queue(this[0], a); return this.each(function () { var b = f.queue(this, a, c); a === "fx" && b[0] !== "inprogress" && f.dequeue(this, a) }) }, dequeue: function (a) { return this.each(function () { f.dequeue(this, a) }) }, delay: function (a, b) { a = f.fx ? f.fx.speeds[a] || a : a, b = b || "fx"; return this.queue(b, function () { var c = this; settimeout(function () { f.dequeue(c, b) }, a) }) }, clearqueue: function (a) { return this.queue(a || "fx", []) }, promise: function (a, c) { function m() { --h || d.resolvewith(e, [e]) } typeof a != "string" && (c = a, a = b), a = a || "fx"; var d = f.deferred(), e = this, g = e.length, h = 1, i = a + "defer", j = a + "queue", k = a + "mark", l; while (g--) if (l = f.data(e[g], i, b, !0) || (f.data(e[g], j, b, !0) || f.data(e[g], k, b, !0)) && f.data(e[g], i, f._deferred(), !0)) h++, l.done(m); m(); return d.promise() } }); var n = /[\n\t\r]/g, o = /\s+/, p = /\r/g, q = /^(?:button|input)$/i, r = /^(?:button|input|object|select|textarea)$/i, s = /^a(?:rea)?$/i, t = /^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i, u = /\:|^on/, v, w; f.fn.extend({ attr: function (a, b) { return f.access(this, a, b, !0, f.attr) }, removeattr: function (a) { return this.each(function () { f.removeattr(this, a) }) }, prop: function (a, b) { return f.access(this, a, b, !0, f.prop) }, removeprop: function (a) { a = f.propfix[a] || a; return this.each(function () { try { this[a] = b, delete this[a] } catch (c) { } }) }, addclass: function (a) { var b, c, d, e, g, h, i; if (f.isfunction(a)) return this.each(function (b) { f(this).addclass(a.call(this, b, this.classname)) }); if (a && typeof a == "string") { b = a.split(o); for (c = 0, d = this.length; c < d; c++) { e = this[c]; if (e.nodetype === 1) if (!e.classname && b.length === 1) e.classname = a; else { g = " " + e.classname + " "; for (h = 0, i = b.length; h < i; h++) ~g.indexof(" " + b[h] + " ") || (g += b[h] + " "); e.classname = f.trim(g) } } } return this }, removeclass: function (a) { var c, d, e, g, h, i, j; if (f.isfunction(a)) return this.each(function (b) { f(this).removeclass(a.call(this, b, this.classname)) }); if (a && typeof a == "string" || a === b) { c = (a || "").split(o); for (d = 0, e = this.length; d < e; d++) { g = this[d]; if (g.nodetype === 1 && g.classname) if (a) { h = (" " + g.classname + " ").replace(n, " "); for (i = 0, j = c.length; i < j; i++) h = h.replace(" " + c[i] + " ", " "); g.classname = f.trim(h) } else g.classname = "" } } return this }, toggleclass: function (a, b) { var c = typeof a, d = typeof b == "boolean"; if (f.isfunction(a)) return this.each(function (c) { f(this).toggleclass(a.call(this, c, this.classname, b), b) }); return this.each(function () { if (c === "string") { var e, g = 0, h = f(this), i = b, j = a.split(o); while (e = j[g++]) i = d ? i : !h.hasclass(e), h[i ? "addclass" : "removeclass"](e) } else if (c === "undefined" || c === "boolean") this.classname && f._data(this, "__classname__", this.classname), this.classname = this.classname || a === !1 ? "" : f._data(this, "__classname__") || "" }) }, hasclass: function (a) { var b = " " + a + " "; for (var c = 0, d = this.length; c < d; c++) if ((" " + this[c].classname + " ").replace(n, " ").indexof(b) > -1) return !0; return !1 }, val: function (a) { var c, d, e = this[0]; if (!arguments.length) { if (e) { c = f.valhooks[e.nodename.tolowercase()] || f.valhooks[e.type]; if (c && "get" in c && (d = c.get(e, "value")) !== b) return d; d = e.value; return typeof d == "string" ? d.replace(p, "") : d == null ? "" : d } return b } var g = f.isfunction(a); return this.each(function (d) { var e = f(this), h; if (this.nodetype === 1) { g ? h = a.call(this, d, e.val()) : h = a, h == null ? h = "" : typeof h == "number" ? h += "" : f.isarray(h) && (h = f.map(h, function (a) { return a == null ? "" : a + "" })), c = f.valhooks[this.nodename.tolowercase()] || f.valhooks[this.type]; if (!c || !("set" in c) || c.set(this, h, "value") === b) this.value = h } }) } }), f.extend({ valhooks: { option: { get: function (a) { var b = a.attributes.value; return !b || b.specified ? a.value : a.text } }, select: { get: function (a) { var b, c = a.selectedindex, d = [], e = a.options, g = a.type === "select-one"; if (c < 0) return null; for (var h = g ? c : 0, i = g ? c + 1 : e.length; h < i; h++) { var j = e[h]; if (j.selected && (f.support.optdisabled ? !j.disabled : j.getattribute("disabled") === null) && (!j.parentnode.disabled || !f.nodename(j.parentnode, "optgroup"))) { b = f(j).val(); if (g) return b; d.push(b) } } if (g && !d.length && e.length) return f(e[c]).val(); return d }, set: function (a, b) { var c = f.makearray(b); f(a).find("option").each(function () { this.selected = f.inarray(f(this).val(), c) >= 0 }), c.length || (a.selectedindex = -1); return c } } }, attrfn: { val: !0, css: !0, html: !0, text: !0, data: !0, width: !0, height: !0, offset: !0 }, attrfix: { tabindex: "tabindex" }, attr: function (a, c, d, e) { var g = a.nodetype; if (!a || g === 3 || g === 8 || g === 2) return b; if (e && c in f.attrfn) return f(a)[c](d); if (!("getattribute" in a)) return f.prop(a, c, d); var h, i, j = g !== 1 || !f.isxmldoc(a); j && (c = f.attrfix[c] || c, i = f.attrhooks[c], i || (t.test(c) ? i = w : v && c !== "classname" && (f.nodename(a, "form") || u.test(c)) && (i = v))); if (d !== b) { if (d === null) { f.removeattr(a, c); return b } if (i && "set" in i && j && (h = i.set(a, d, c)) !== b) return h; a.setattribute(c, "" + d); return d } if (i && "get" in i && j && (h = i.get(a, c)) !== null) return h; h = a.getattribute(c); return h === null ? b : h }, removeattr: function (a, b) { var c; a.nodetype === 1 && (b = f.attrfix[b] || b, f.support.getsetattribute ? a.removeattribute(b) : (f.attr(a, b, ""), a.removeattributenode(a.getattributenode(b))), t.test(b) && (c = f.propfix[b] || b) in a && (a[c] = !1)) }, attrhooks: { type: { set: function (a, b) { if (q.test(a.nodename) && a.parentnode) f.error("type property can't be changed"); else if (!f.support.radiovalue && b === "radio" && f.nodename(a, "input")) { var c = a.value; a.setattribute("type", b), c && (a.value = c); return b } } }, tabindex: { get: function (a) { var c = a.getattributenode("tabindex"); return c && c.specified ? parseint(c.value, 10) : r.test(a.nodename) || s.test(a.nodename) && a.href ? 0 : b } }, value: { get: function (a, b) { if (v && f.nodename(a, "button")) return v.get(a, b); return b in a ? a.value : null }, set: function (a, b, c) { if (v && f.nodename(a, "button")) return v.set(a, b, c); a.value = b } } }, propfix: { tabindex: "tabindex", readonly: "readonly", "for": "htmlfor", "class": "classname", maxlength: "maxlength", cellspacing: "cellspacing", cellpadding: "cellpadding", rowspan: "rowspan", colspan: "colspan", usemap: "usemap", frameborder: "frameborder", contenteditable: "contenteditable" }, prop: function (a, c, d) { var e = a.nodetype; if (!a || e === 3 || e === 8 || e === 2) return b; var g, h, i = e !== 1 || !f.isxmldoc(a); i && (c = f.propfix[c] || c, h = f.prophooks[c]); return d !== b ? h && "set" in h && (g = h.set(a, d, c)) !== b ? g : a[c] = d : h && "get" in h && (g = h.get(a, c)) !== b ? g : a[c] }, prophooks: {} }), w = { get: function (a, c) { return f.prop(a, c) ? c.tolowercase() : b }, set: function (a, b, c) { var d; b === !1 ? f.removeattr(a, c) : (d = f.propfix[c] || c, d in a && (a[d] = !0), a.setattribute(c, c.tolowercase())); return c } }, f.support.getsetattribute || (f.attrfix = f.propfix, v = f.attrhooks.name = f.attrhooks.title = f.valhooks.button = { get: function (a, c) { var d; d = a.getattributenode(c); return d && d.nodevalue !== "" ? d.nodevalue : b }, set: function (a, b, c) { var d = a.getattributenode(c); if (d) { d.nodevalue = b; return b } } }, f.each(["width", "height"], function (a, b) { f.attrhooks[b] = f.extend(f.attrhooks[b], { set: function (a, c) { if (c === "") { a.setattribute(b, "auto"); return c } } }) })), f.support.hrefnormalized || f.each(["href", "src", "width", "height"], function (a, c) { f.attrhooks[c] = f.extend(f.attrhooks[c], { get: function (a) { var d = a.getattribute(c, 2); return d === null ? b : d } }) }), f.support.style || (f.attrhooks.style = { get: function (a) { return a.style.csstext.tolowercase() || b }, set: function (a, b) { return a.style.csstext = "" + b } }), f.support.optselected || (f.prophooks.selected = f.extend(f.prophooks.selected, { get: function (a) { var b = a.parentnode; b && (b.selectedindex, b.parentnode && b.parentnode.selectedindex) } })), f.support.checkon || f.each(["radio", "checkbox"], function () { f.valhooks[this] = { get: function (a) { return a.getattribute("value") === null ? "on" : a.value } } }), f.each(["radio", "checkbox"], function () { f.valhooks[this] = f.extend(f.valhooks[this], { set: function (a, b) { if (f.isarray(b)) return a.checked = f.inarray(f(a).val(), b) >= 0 } }) }); var x = /\.(.*)$/, y = /^(?:textarea|input|select)$/i, z = /\./g, a = / /g, b = /[^\w\s.|`]/g, c = function (a) { return a.replace(b, "\\$&") }; f.event = { add: function (a, c, d, e) { if (a.nodetype !== 3 && a.nodetype !== 8) { if (d === !1) d = d; else if (!d) return; var g, h; d.handler && (g = d, d = g.handler), d.guid || (d.guid = f.guid++); var i = f._data(a); if (!i) return; var j = i.events, k = i.handle; j || (i.events = j = {}), k || (i.handle = k = function (a) { return typeof f != "undefined" && (!a || f.event.triggered !== a.type) ? f.event.handle.apply(k.elem, arguments) : b }), k.elem = a, c = c.split(" "); var l, m = 0, n; while (l = c[m++]) { h = g ? f.extend({}, g) : { handler: d, data: e }, l.indexof(".") > -1 ? (n = l.split("."), l = n.shift(), h.namespace = n.slice(0).sort().join(".")) : (n = [], h.namespace = ""), h.type = l, h.guid || (h.guid = d.guid); var o = j[l], p = f.event.special[l] || {}; if (!o) { o = j[l] = []; if (!p.setup || p.setup.call(a, e, n, k) === !1) a.addeventlistener ? a.addeventlistener(l, k, !1) : a.attachevent && a.attachevent("on" + l, k) } p.add && (p.add.call(a, h), h.handler.guid || (h.handler.guid = d.guid)), o.push(h), f.event.global[l] = !0 } a = null } }, global: {}, remove: function (a, c, d, e) { if (a.nodetype !== 3 && a.nodetype !== 8) { d === !1 && (d = d); var g, h, i, j, k = 0, l, m, n, o, p, q, r, s = f.hasdata(a) && f._data(a), t = s && s.events; if (!s || !t) return; c && c.type && (d = c.handler, c = c.type); if (!c || typeof c == "string" && c.charat(0) === ".") { c = c || ""; for (h in t) f.event.remove(a, h + c); return } c = c.split(" "); while (h = c[k++]) { r = h, q = null, l = h.indexof(".") < 0, m = [], l || (m = h.split("."), h = m.shift(), n = new regexp("(^|\\.)" + f.map(m.slice(0).sort(), c).join("\\.(?:.*\\.)?") + "(\\.|$)")), p = t[h]; if (!p) continue; if (!d) { for (j = 0; j < p.length; j++) { q = p[j]; if (l || n.test(q.namespace)) f.event.remove(a, r, q.handler, j), p.splice(j--, 1) } continue } o = f.event.special[h] || {}; for (j = e || 0; j < p.length; j++) { q = p[j]; if (d.guid === q.guid) { if (l || n.test(q.namespace)) e == null && p.splice(j--, 1), o.remove && o.remove.call(a, q); if (e != null) break } } if (p.length === 0 || e != null && p.length === 1) (!o.teardown || o.teardown.call(a, m) === !1) && f.removeevent(a, h, s.handle), g = null, delete t[h] } if (f.isemptyobject(t)) { var u = s.handle; u && (u.elem = null), delete s.events, delete s.handle, f.isemptyobject(s) && f.removedata(a, b, !0) } } }, customevent: { getdata: !0, setdata: !0, changedata: !0 }, trigger: function (c, d, e, g) { var h = c.type || c, i = [], j; h.indexof("!") >= 0 && (h = h.slice(0, -1), j = !0), h.indexof(".") >= 0 && (i = h.split("."), h = i.shift(), i.sort()); if (!!e && !f.event.customevent[h] || !!f.event.global[h]) { c = typeof c == "object" ? c[f.expando] ? c : new f.event(h, c) : new f.event(h), c.type = h, c.exclusive = j, c.namespace = i.join("."), c.namespace_re = new regexp("(^|\\.)" + i.join("\\.(?:.*\\.)?") + "(\\.|$)"); if (g || !e) c.preventdefault(), c.stoppropagation(); if (!e) { f.each(f.cache, function () { var a = f.expando, b = this[a]; b && b.events && b.events[h] && f.event.trigger(c, d, b.handle.elem) }); return } if (e.nodetype === 3 || e.nodetype === 8) return; c.result = b, c.target = e, d = d != null ? f.makearray(d) : [], d.unshift(c); var k = e, l = h.indexof(":") < 0 ? "on" + h : ""; do { var m = f._data(k, "handle"); c.currenttarget = k, m && m.apply(k, d), l && f.acceptdata(k) && k[l] && k[l].apply(k, d) === !1 && (c.result = !1, c.preventdefault()), k = k.parentnode || k.ownerdocument || k === c.target.ownerdocument && a } while (k && !c.ispropagationstopped()); if (!c.isdefaultprevented()) { var n, o = f.event.special[h] || {}; if ((!o._default || o._default.call(e.ownerdocument, c) === !1) && (h !== "click" || !f.nodename(e, "a")) && f.acceptdata(e)) { try { l && e[h] && (n = e[l], n && (e[l] = null), f.event.triggered = h, e[h]()) } catch (p) { } n && (e[l] = n), f.event.triggered = b } } return c.result } }, handle: function (c) { c = f.event.fix(c || a.event); var d = ((f._data(this, "events") || {})[c.type] || []).slice(0), e = !c.exclusive && !c.namespace, g = array.prototype.slice.call(arguments, 0); g[0] = c, c.currenttarget = this; for (var h = 0, i = d.length; h < i; h++) { var j = d[h]; if (e || c.namespace_re.test(j.namespace)) { c.handler = j.handler, c.data = j.data, c.handleobj = j; var k = j.handler.apply(this, g); k !== b && (c.result = k, k === !1 && (c.preventdefault(), c.stoppropagation())); if (c.isimmediatepropagationstopped()) break } } return c.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[f.expando]) return a; var d = a; a = f.event(d); for (var e = this.props.length, g; e;) g = this.props[--e], a[g] = d[g]; a.target || (a.target = a.srcelement || c), a.target.nodetype === 3 && (a.target = a.target.parentnode), !a.relatedtarget && a.fromelement && (a.relatedtarget = a.fromelement === a.target ? a.toelement : a.fromelement); if (a.pagex == null && a.clientx != null) { var h = a.target.ownerdocument || c, i = h.documentelement, j = h.body; a.pagex = a.clientx + (i && i.scrollleft || j && j.scrollleft || 0) - (i && i.clientleft || j && j.clientleft || 0), a.pagey = a.clienty + (i && i.scrolltop || j && j.scrolltop || 0) - (i && i.clienttop || j && j.clienttop || 0) } a.which == null && (a.charcode != null || a.keycode != null) && (a.which = a.charcode != null ? a.charcode : a.keycode), !a.metakey && a.ctrlkey && (a.metakey = a.ctrlkey), !a.which && a.button !== b && (a.which = a.button & 1 ? 1 : a.button & 2 ? 3 : a.button & 4 ? 2 : 0); return a }, guid: 1e8, proxy: f.proxy, special: { ready: { setup: f.bindready, teardown: f.noop }, live: { add: function (a) { f.event.add(this, n(a.origtype, a.selector), f.extend({}, a, { handler: m, guid: a.handler.guid })) }, remove: function (a) { f.event.remove(this, n(a.origtype, a.selector), a) } }, beforeunload: { setup: function (a, b, c) { f.iswindow(this) && (this.onbeforeunload = c) }, teardown: function (a, b) { this.onbeforeunload === b && (this.onbeforeunload = null) } } } }, f.removeevent = c.removeeventlistener ? function (a, b, c) { a.removeeventlistener && a.removeeventlistener(b, c, !1) } : function (a, b, c) { a.detachevent && a.detachevent("on" + b, c) }, f.event = function (a, b) { if (!this.preventdefault) return new f.event(a, b); a && a.type ? (this.originalevent = a, this.type = a.type, this.isdefaultprevented = a.defaultprevented || a.returnvalue === !1 || a.getpreventdefault && a.getpreventdefault() ? e : d) : this.type = a, b && f.extend(this, b), this.timestamp = f.now(), this[f.expando] = !0 }, f.event.prototype = { preventdefault: function () { this.isdefaultprevented = e; var a = this.originalevent; !a || (a.preventdefault ? a.preventdefault() : a.returnvalue = !1) }, stoppropagation: function () { this.ispropagationstopped = e; var a = this.originalevent; !a || (a.stoppropagation && a.stoppropagation(), a.cancelbubble = !0) }, stopimmediatepropagation: function () { this.isimmediatepropagationstopped = e, this.stoppropagation() }, isdefaultprevented: d, ispropagationstopped: d, isimmediatepropagationstopped: d }; var f = function (a) { var b = a.relatedtarget, c = !1, d = a.type; a.type = a.data, b !== this && (b && (c = f.contains(this, b)), c || (f.event.handle.apply(this, arguments), a.type = d)) }, g = function (a) { a.type = a.data, f.event.handle.apply(this, arguments) }; f.each({ mouseenter: "mouseover", mouseleave: "mouseout" }, function (a, b) { f.event.special[a] = { setup: function (c) { f.event.add(this, b, c && c.selector ? g : f, a) }, teardown: function (a) { f.event.remove(this, b, a && a.selector ? g : f) } } }), f.support.submitbubbles || (f.event.special.submit = { setup: function (a, b) { if (!f.nodename(this, "form")) f.event.add(this, "click.specialsubmit", function (a) { var b = a.target, c = b.type; (c === "submit" || c === "image") && f(b).closest("form").length && k("submit", this, arguments) }), f.event.add(this, "keypress.specialsubmit", function (a) { var b = a.target, c = b.type; (c === "text" || c === "password") && f(b).closest("form").length && a.keycode === 13 && k("submit", this, arguments) }); else return !1 }, teardown: function (a) { f.event.remove(this, ".specialsubmit") } }); if (!f.support.changebubbles) { var h, i = function (a) { var b = a.type, c = a.value; b === "radio" || b === "checkbox" ? c = a.checked : b === "select-multiple" ? c = a.selectedindex > -1 ? f.map(a.options, function (a) { return a.selected }).join("-") : "" : f.nodename(a, "select") && (c = a.selectedindex); return c }, j = function (c) { var d = c.target, e, g; if (!!y.test(d.nodename) && !d.readonly) { e = f._data(d, "_change_data"), g = i(d), (c.type !== "focusout" || d.type !== "radio") && f._data(d, "_change_data", g); if (e === b || g === e) return; if (e != null || g) c.type = "change", c.livefired = b, f.event.trigger(c, arguments[1], d) } }; f.event.special.change = { filters: { focusout: j, beforedeactivate: j, click: function (a) { var b = a.target, c = f.nodename(b, "input") ? b.type : ""; (c === "radio" || c === "checkbox" || f.nodename(b, "select")) && j.call(this, a) }, keydown: function (a) { var b = a.target, c = f.nodename(b, "input") ? b.type : ""; (a.keycode === 13 && !f.nodename(b, "textarea") || a.keycode === 32 && (c === "checkbox" || c === "radio") || c === "select-multiple") && j.call(this, a) }, beforeactivate: function (a) { var b = a.target; f._data(b, "_change_data", i(b)) } }, setup: function (a, b) { if (this.type === "file") return !1; for (var c in h) f.event.add(this, c + ".specialchange", h[c]); return y.test(this.nodename) }, teardown: function (a) { f.event.remove(this, ".specialchange"); return y.test(this.nodename) } }, h = f.event.special.change.filters, h.focus = h.beforeactivate } f.support.focusinbubbles || f.each({ focus: "focusin", blur: "focusout" }, function (a, b) { function e(a) { var c = f.event.fix(a); c.type = b, c.originalevent = {}, f.event.trigger(c, null, c.target), c.isdefaultprevented() && a.preventdefault() } var d = 0; f.event.special[b] = { setup: function () { d++ === 0 && c.addeventlistener(a, e, !0) }, teardown: function () { --d === 0 && c.removeeventlistener(a, e, !0) } } }), f.each(["bind", "one"], function (a, c) { f.fn[c] = function (a, d, e) { var g; if (typeof a == "object") { for (var h in a) this[c](h, d, a[h], e); return this } if (arguments.length === 2 || d === !1) e = d, d = b; c === "one" ? (g = function (a) { f(this).unbind(a, g); return e.apply(this, arguments) }, g.guid = e.guid || f.guid++) : g = e; if (a === "unload" && c !== "one") this.one(a, d, e); else for (var i = 0, j = this.length; i < j; i++) f.event.add(this[i], a, g, d); return this } }), f.fn.extend({ unbind: function (a, b) { if (typeof a == "object" && !a.preventdefault) for (var c in a) this.unbind(c, a[c]); else for (var d = 0, e = this.length; d < e; d++) f.event.remove(this[d], a, b); return this }, delegate: function (a, b, c, d) { return this.live(b, c, d, a) }, undelegate: function (a, b, c) { return arguments.length === 0 ? this.unbind("live") : this.die(b, null, c, a) }, trigger: function (a, b) { return this.each(function () { f.event.trigger(a, b, this) }) }, triggerhandler: function (a, b) { if (this[0]) return f.event.trigger(a, b, this[0], !0) }, toggle: function (a) { var b = arguments, c = a.guid || f.guid++, d = 0, e = function (c) { var e = (f.data(this, "lasttoggle" + a.guid) || 0) % d; f.data(this, "lasttoggle" + a.guid, e + 1), c.preventdefault(); return b[e].apply(this, arguments) || !1 }; e.guid = c; while (d < b.length) b[d++].guid = c; return this.click(e) }, hover: function (a, b) { return this.mouseenter(a).mouseleave(b || a) } }); var l = { focus: "focusin", blur: "focusout", mouseenter: "mouseover", mouseleave: "mouseout" }; f.each(["live", "die"], function (a, c) { f.fn[c] = function (a, d, e, g) { var h, i = 0, j, k, l, m = g || this.selector, n = g ? this : f(this.context); if (typeof a == "object" && !a.preventdefault) { for (var o in a) n[c](o, d, a[o], m); return this } if (c === "die" && !a && g && g.charat(0) === ".") { n.unbind(g); return this } if (d === !1 || f.isfunction(d)) e = d || d, d = b; a = (a || "").split(" "); while ((h = a[i++]) != null) { j = x.exec(h), k = "", j && (k = j[0], h = h.replace(x, "")); if (h === "hover") { a.push("mouseenter" + k, "mouseleave" + k); continue } l = h, l[h] ? (a.push(l[h] + k), h = h + k) : h = (l[h] || h) + k; if (c === "live") for (var p = 0, q = n.length; p < q; p++) f.event.add(n[p], "live." + n(h, m), { data: d, selector: m, handler: e, origtype: h, orighandler: e, pretype: l }); else n.unbind("live." + n(h, m), e) } return this } }), f.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) { f.fn[b] = function (a, c) { c == null && (c = a, a = null); return arguments.length > 0 ? this.bind(b, a, c) : this.trigger(b) }, f.attrfn && (f.attrfn[b] = !0) }), function () { function u(a, b, c, d, e, f) { for (var g = 0, h = d.length; g < h; g++) { var i = d[g]; if (i) { var j = !1; i = i[a]; while (i) { if (i.sizcache === c) { j = d[i.sizset]; break } if (i.nodetype === 1) { f || (i.sizcache = c, i.sizset = g); if (typeof b != "string") { if (i === b) { j = !0; break } } else if (k.filter(b, [i]).length > 0) { j = i; break } } i = i[a] } d[g] = j } } } function t(a, b, c, d, e, f) { for (var g = 0, h = d.length; g < h; g++) { var i = d[g]; if (i) { var j = !1; i = i[a]; while (i) { if (i.sizcache === c) { j = d[i.sizset]; break } i.nodetype === 1 && !f && (i.sizcache = c, i.sizset = g); if (i.nodename.tolowercase() === b) { j = i; break } i = i[a] } d[g] = j } } } var a = /((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g, d = 0, e = object.prototype.tostring, g = !1, h = !0, i = /\\/g, j = /\w/; [0, 0].sort(function () { h = !1; return 0 }); var k = function (b, d, f, g) { f = f || [], d = d || c; var h = d; if (d.nodetype !== 1 && d.nodetype !== 9) return []; if (!b || typeof b != "string") return f; var i, j, n, o, q, r, s, t, u = !0, w = k.isxml(d), x = [], y = b; do { a.exec(""), i = a.exec(y); if (i) { y = i[3], x.push(i[1]); if (i[2]) { o = i[3]; break } } } while (i); if (x.length > 1 && m.exec(b)) if (x.length === 2 && l.relative[x[0]]) j = v(x[0] + x[1], d); else { j = l.relative[x[0]] ? [d] : k(x.shift(), d); while (x.length) b = x.shift(), l.relative[b] && (b += x.shift()), j = v(b, j) } else { !g && x.length > 1 && d.nodetype === 9 && !w && l.match.id.test(x[0]) && !l.match.id.test(x[x.length - 1]) && (q = k.find(x.shift(), d, w), d = q.expr ? k.filter(q.expr, q.set)[0] : q.set[0]); if (d) { q = g ? { expr: x.pop(), set: p(g) } : k.find(x.pop(), x.length === 1 && (x[0] === "~" || x[0] === "+") && d.parentnode ? d.parentnode : d, w), j = q.expr ? k.filter(q.expr, q.set) : q.set, x.length > 0 ? n = p(j) : u = !1; while (x.length) r = x.pop(), s = r, l.relative[r] ? s = x.pop() : r = "", s == null && (s = d), l.relative[r](n, s, w) } else n = x = [] } n || (n = j), n || k.error(r || b); if (e.call(n) === "[object array]") if (!u) f.push.apply(f, n); else if (d && d.nodetype === 1) for (t = 0; n[t] != null; t++) n[t] && (n[t] === !0 || n[t].nodetype === 1 && k.contains(d, n[t])) && f.push(j[t]); else for (t = 0; n[t] != null; t++) n[t] && n[t].nodetype === 1 && f.push(j[t]); else p(n, f); o && (k(o, h, f, g), k.uniquesort(f)); return f }; k.uniquesort = function (a) { if (r) { g = h, a.sort(r); if (g) for (var b = 1; b < a.length; b++) a[b] === a[b - 1] && a.splice(b--, 1) } return a }, k.matches = function (a, b) { return k(a, null, null, b) }, k.matchesselector = function (a, b) { return k(b, null, null, [a]).length > 0 }, k.find = function (a, b, c) { var d; if (!a) return []; for (var e = 0, f = l.order.length; e < f; e++) { var g, h = l.order[e]; if (g = l.leftmatch[h].exec(a)) { var j = g[1]; g.splice(1, 1); if (j.substr(j.length - 1) !== "\\") { g[1] = (g[1] || "").replace(i, ""), d = l.find[h](g, b, c); if (d != null) { a = a.replace(l.match[h], ""); break } } } } d || (d = typeof b.getelementsbytagname != "undefined" ? b.getelementsbytagname("*") : []); return { set: d, expr: a } }, k.filter = function (a, c, d, e) { var f, g, h = a, i = [], j = c, m = c && c[0] && k.isxml(c[0]); while (a && c.length) { for (var n in l.filter) if ((f = l.leftmatch[n].exec(a)) != null && f[2]) { var o, p, q = l.filter[n], r = f[1]; g = !1, f.splice(1, 1); if (r.substr(r.length - 1) === "\\") continue; j === i && (i = []); if (l.prefilter[n]) { f = l.prefilter[n](f, j, d, i, e, m); if (!f) g = o = !0; else if (f === !0) continue } if (f) for (var s = 0; (p = j[s]) != null; s++) if (p) { o = q(p, f, s, j); var t = e ^ !!o; d && o != null ? t ? g = !0 : j[s] = !1 : t && (i.push(p), g = !0) } if (o !== b) { d || (j = i), a = a.replace(l.match[n], ""); if (!g) return []; break } } if (a === h) if (g == null) k.error(a); else break; h = a } return j }, k.error = function (a) { throw "syntax error, unrecognized expression: " + a }; var l = k.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|(#?(?:[\w\u00c0-\uffff\-]|\\.)*)|)|)\s*\]/, tag: /^((?:[\w\u00c0-\uffff\*\-]|\\.)+)/, child: /:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/, pos: /:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/, pseudo: /:((?:[\w\u00c0-\uffff\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/ }, leftmatch: {}, attrmap: { "class": "classname", "for": "htmlfor" }, attrhandle: { href: function (a) { return a.getattribute("href") }, type: function (a) { return a.getattribute("type") } }, relative: { "+": function (a, b) { var c = typeof b == "string", d = c && !j.test(b), e = c && !d; d && (b = b.tolowercase()); for (var f = 0, g = a.length, h; f < g; f++) if (h = a[f]) { while ((h = h.previoussibling) && h.nodetype !== 1) ; a[f] = e || h && h.nodename.tolowercase() === b ? h || !1 : h === b } e && k.filter(b, a, !0) }, ">": function (a, b) { var c, d = typeof b == "string", e = 0, f = a.length; if (d && !j.test(b)) { b = b.tolowercase(); for (; e < f; e++) { c = a[e]; if (c) { var g = c.parentnode; a[e] = g.nodename.tolowercase() === b ? g : !1 } } } else { for (; e < f; e++) c = a[e], c && (a[e] = d ? c.parentnode : c.parentnode === b); d && k.filter(b, a, !0) } }, "": function (a, b, c) { var e, f = d++, g = u; typeof b == "string" && !j.test(b) && (b = b.tolowercase(), e = b, g = t), g("parentnode", b, f, a, e, c) }, "~": function (a, b, c) { var e, f = d++, g = u; typeof b == "string" && !j.test(b) && (b = b.tolowercase(), e = b, g = t), g("previoussibling", b, f, a, e, c) } }, find: { id: function (a, b, c) { if (typeof b.getelementbyid != "undefined" && !c) { var d = b.getelementbyid(a[1]); return d && d.parentnode ? [d] : [] } }, name: function (a, b) { if (typeof b.getelementsbyname != "undefined") { var c = [], d = b.getelementsbyname(a[1]); for (var e = 0, f = d.length; e < f; e++) d[e].getattribute("name") === a[1] && c.push(d[e]); return c.length === 0 ? null : c } }, tag: function (a, b) { if (typeof b.getelementsbytagname != "undefined") return b.getelementsbytagname(a[1]) } }, prefilter: { class: function (a, b, c, d, e, f) { a = " " + a[1].replace(i, "") + " "; if (f) return a; for (var g = 0, h; (h = b[g]) != null; g++) h && (e ^ (h.classname && (" " + h.classname + " ").replace(/[\t\n\r]/g, " ").indexof(a) >= 0) ? c || d.push(h) : c && (b[g] = !1)); return !1 }, id: function (a) { return a[1].replace(i, "") }, tag: function (a, b) { return a[1].replace(i, "").tolowercase() }, child: function (a) { if (a[1] === "nth") { a[2] || k.error(a[0]), a[2] = a[2].replace(/^\+|\s*/g, ""); var b = /(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2] === "even" && "2n" || a[2] === "odd" && "2n+1" || !/\d/.test(a[2]) && "0n+" + a[2] || a[2]); a[2] = b[1] + (b[2] || 1) - 0, a[3] = b[3] - 0 } else a[2] && k.error(a[0]); a[0] = d++; return a }, attr: function (a, b, c, d, e, f) { var g = a[1] = a[1].replace(i, ""); !f && l.attrmap[g] && (a[1] = l.attrmap[g]), a[4] = (a[4] || a[5] || "").replace(i, ""), a[2] === "~=" && (a[4] = " " + a[4] + " "); return a }, pseudo: function (b, c, d, e, f) { if (b[1] === "not") if ((a.exec(b[3]) || "").length > 1 || /^\w/.test(b[3])) b[3] = k(b[3], null, null, c); else { var g = k.filter(b[3], c, d, !0 ^ f); d || e.push.apply(e, g); return !1 } else if (l.match.pos.test(b[0]) || l.match.child.test(b[0])) return !0; return b }, pos: function (a) { a.unshift(!0); return a } }, filters: { enabled: function (a) { return a.disabled === !1 && a.type !== "hidden" }, disabled: function (a) { return a.disabled === !0 }, checked: function (a) { return a.checked === !0 }, selected: function (a) { a.parentnode && a.parentnode.selectedindex; return a.selected === !0 }, parent: function (a) { return !!a.firstchild }, empty: function (a) { return !a.firstchild }, has: function (a, b, c) { return !!k(c[3], a).length }, header: function (a) { return /h\d/i.test(a.nodename) }, text: function (a) { var b = a.getattribute("type"), c = a.type; return a.nodename.tolowercase() === "input" && "text" === c && (b === c || b === null) }, radio: function (a) { return a.nodename.tolowercase() === "input" && "radio" === a.type }, checkbox: function (a) { return a.nodename.tolowercase() === "input" && "checkbox" === a.type }, file: function (a) { return a.nodename.tolowercase() === "input" && "file" === a.type }, password: function (a) { return a.nodename.tolowercase() === "input" && "password" === a.type }, submit: function (a) { var b = a.nodename.tolowercase(); return (b === "input" || b === "button") && "submit" === a.type }, image: function (a) { return a.nodename.tolowercase() === "input" && "image" === a.type }, reset: function (a) { var b = a.nodename.tolowercase(); return (b === "input" || b === "button") && "reset" === a.type }, button: function (a) { var b = a.nodename.tolowercase(); return b === "input" && "button" === a.type || b === "button" }, input: function (a) { return /input|select|textarea|button/i.test(a.nodename) }, focus: function (a) { return a === a.ownerdocument.activeelement } }, setfilters: { first: function (a, b) { return b === 0 }, last: function (a, b, c, d) { return b === d.length - 1 }, even: function (a, b) { return b % 2 === 0 }, odd: function (a, b) { return b % 2 === 1 }, lt: function (a, b, c) { return b < c[3] - 0 }, gt: function (a, b, c) { return b > c[3] - 0 }, nth: function (a, b, c) { return c[3] - 0 === b }, eq: function (a, b, c) { return c[3] - 0 === b } }, filter: { pseudo: function (a, b, c, d) { var e = b[1], f = l.filters[e]; if (f) return f(a, c, b, d); if (e === "contains") return (a.textcontent || a.innertext || k.gettext([a]) || "").indexof(b[3]) >= 0; if (e === "not") { var g = b[3]; for (var h = 0, i = g.length; h < i; h++) if (g[h] === a) return !1; return !0 } k.error(e) }, child: function (a, b) { var c = b[1], d = a; switch (c) { case "only": case "first": while (d = d.previoussibling) if (d.nodetype === 1) return !1; if (c === "first") return !0; d = a; case "last": while (d = d.nextsibling) if (d.nodetype === 1) return !1; return !0; case "nth": var e = b[2], f = b[3]; if (e === 1 && f === 0) return !0; var g = b[0], h = a.parentnode; if (h && (h.sizcache !== g || !a.nodeindex)) { var i = 0; for (d = h.firstchild; d; d = d.nextsibling) d.nodetype === 1 && (d.nodeindex = ++i); h.sizcache = g } var j = a.nodeindex - f; return e === 0 ? j === 0 : j % e === 0 && j / e >= 0 } }, id: function (a, b) { return a.nodetype === 1 && a.getattribute("id") === b }, tag: function (a, b) { return b === "*" && a.nodetype === 1 || a.nodename.tolowercase() === b }, class: function (a, b) { return (" " + (a.classname || a.getattribute("class")) + " ").indexof(b) > -1 }, attr: function (a, b) { var c = b[1], d = l.attrhandle[c] ? l.attrhandle[c](a) : a[c] != null ? a[c] : a.getattribute(c), e = d + "", f = b[2], g = b[4]; return d == null ? f === "!=" : f === "=" ? e === g : f === "*=" ? e.indexof(g) >= 0 : f === "~=" ? (" " + e + " ").indexof(g) >= 0 : g ? f === "!=" ? e !== g : f === "^=" ? e.indexof(g) === 0 : f === "$=" ? e.substr(e.length - g.length) === g : f === "|=" ? e === g || e.substr(0, g.length + 1) === g + "-" : !1 : e && d !== !1 }, pos: function (a, b, c, d) { var e = b[2], f = l.setfilters[e]; if (f) return f(a, c, b, d) } } }, m = l.match.pos, n = function (a, b) { return "\\" + (b - 0 + 1) }; for (var o in l.match) l.match[o] = new regexp(l.match[o].source + /(?![^\[]*\])(?![^\(]*\))/.source), l.leftmatch[o] = new regexp(/(^(?:.|\r|\n)*?)/.source + l.match[o].source.replace(/\\(\d+)/g, n)); var p = function (a, b) { a = array.prototype.slice.call(a, 0); if (b) { b.push.apply(b, a); return b } return a }; try { array.prototype.slice.call(c.documentelement.childnodes, 0)[0].nodetype } catch (q) { p = function (a, b) { var c = 0, d = b || []; if (e.call(a) === "[object array]") array.prototype.push.apply(d, a); else if (typeof a.length == "number") for (var f = a.length; c < f; c++) d.push(a[c]); else for (; a[c]; c++) d.push(a[c]); return d } } var r, s; c.documentelement.comparedocumentposition ? r = function (a, b) { if (a === b) { g = !0; return 0 } if (!a.comparedocumentposition || !b.comparedocumentposition) return a.comparedocumentposition ? -1 : 1; return a.comparedocumentposition(b) & 4 ? -1 : 1 } : (r = function (a, b) { if (a === b) { g = !0; return 0 } if (a.sourceindex && b.sourceindex) return a.sourceindex - b.sourceindex; var c, d, e = [], f = [], h = a.parentnode, i = b.parentnode, j = h; if (h === i) return s(a, b); if (!h) return -1; if (!i) return 1; while (j) e.unshift(j), j = j.parentnode; j = i; while (j) f.unshift(j), j = j.parentnode; c = e.length, d = f.length; for (var k = 0; k < c && k < d; k++) if (e[k] !== f[k]) return s(e[k], f[k]); return k === c ? s(a, f[k], -1) : s(e[k], b, 1) }, s = function (a, b, c) { if (a === b) return c; var d = a.nextsibling; while (d) { if (d === b) return -1; d = d.nextsibling } return 1 }), k.gettext = function (a) { var b = "", c; for (var d = 0; a[d]; d++) c = a[d], c.nodetype === 3 || c.nodetype === 4 ? b += c.nodevalue : c.nodetype !== 8 && (b += k.gettext(c.childnodes)); return b }, function () { var a = c.createelement("div"), d = "script" + (new date).gettime(), e = c.documentelement; a.innerhtml = "", e.insertbefore(a, e.firstchild), c.getelementbyid(d) && (l.find.id = function (a, c, d) { if (typeof c.getelementbyid != "undefined" && !d) { var e = c.getelementbyid(a[1]); return e ? e.id === a[1] || typeof e.getattributenode != "undefined" && e.getattributenode("id").nodevalue === a[1] ? [e] : b : [] } }, l.filter.id = function (a, b) { var c = typeof a.getattributenode != "undefined" && a.getattributenode("id"); return a.nodetype === 1 && c && c.nodevalue === b }), e.removechild(a), e = a = null }(), function () { var a = c.createelement("div"); a.appendchild(c.createcomment("")), a.getelementsbytagname("*").length > 0 && (l.find.tag = function (a, b) { var c = b.getelementsbytagname(a[1]); if (a[1] === "*") { var d = []; for (var e = 0; c[e]; e++) c[e].nodetype === 1 && d.push(c[e]); c = d } return c }), a.innerhtml = "", a.firstchild && typeof a.firstchild.getattribute != "undefined" && a.firstchild.getattribute("href") !== "#" && (l.attrhandle.href = function (a) { return a.getattribute("href", 2) }), a = null }(), c.queryselectorall && function () { var a = k, b = c.createelement("div"), d = "__sizzle__"; b.innerhtml = "

"; if (!b.queryselectorall || b.queryselectorall(".test").length !== 0) { k = function (b, e, f, g) { e = e || c; if (!g && !k.isxml(e)) { var h = /^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b); if (h && (e.nodetype === 1 || e.nodetype === 9)) { if (h[1]) return p(e.getelementsbytagname(b), f); if (h[2] && l.find.class && e.getelementsbyclassname) return p(e.getelementsbyclassname(h[2]), f) } if (e.nodetype === 9) { if (b === "body" && e.body) return p([e.body], f); if (h && h[3]) { var i = e.getelementbyid(h[3]); if (!i || !i.parentnode) return p([], f); if (i.id === h[3]) return p([i], f) } try { return p(e.queryselectorall(b), f) } catch (j) { } } else if (e.nodetype === 1 && e.nodename.tolowercase() !== "object") { var m = e, n = e.getattribute("id"), o = n || d, q = e.parentnode, r = /^\s*[+~]/.test(b); n ? o = o.replace(/'/g, "\\$&") : e.setattribute("id", o), r && q && (e = e.parentnode); try { if (!r || q) return p(e.queryselectorall("[id='" + o + "'] " + b), f) } catch (s) { } finally { n || m.removeattribute("id") } } } return a(b, e, f, g) }; for (var e in a) k[e] = a[e]; b = null } }(), function () { var a = c.documentelement, b = a.matchesselector || a.mozmatchesselector || a.webkitmatchesselector || a.msmatchesselector; if (b) { var d = !b.call(c.createelement("div"), "div"), e = !1; try { b.call(c.documentelement, "[test!='']:sizzle") } catch (f) { e = !0 } k.matchesselector = function (a, c) { c = c.replace(/\=\s*([^'"\]]*)\s*\]/g, "='$1']"); if (!k.isxml(a)) try { if (e || !l.match.pseudo.test(c) && !/!=/.test(c)) { var f = b.call(a, c); if (f || !d || a.document && a.document.nodetype !== 11) return f } } catch (g) { } return k(c, null, null, [a]).length > 0 } } }(), function () { var a = c.createelement("div"); a.innerhtml = "
"; if (!!a.getelementsbyclassname && a.getelementsbyclassname("e").length !== 0) { a.lastchild.classname = "e"; if (a.getelementsbyclassname("e").length === 1) return; l.order.splice(1, 0, "class"), l.find.class = function (a, b, c) { if (typeof b.getelementsbyclassname != "undefined" && !c) return b.getelementsbyclassname(a[1]) }, a = null } }(), c.documentelement.contains ? k.contains = function (a, b) { return a !== b && (a.contains ? a.contains(b) : !0) } : c.documentelement.comparedocumentposition ? k.contains = function (a, b) { return !!(a.comparedocumentposition(b) & 16) } : k.contains = function () { return !1 }, k.isxml = function (a) { var b = (a ? a.ownerdocument || a : 0).documentelement; return b ? b.nodename !== "html" : !1 }; var v = function (a, b) { var c, d = [], e = "", f = b.nodetype ? [b] : b; while (c = l.match.pseudo.exec(a)) e += c[0], a = a.replace(l.match.pseudo, ""); a = l.relative[a] ? a + "*" : a; for (var g = 0, h = f.length; g < h; g++) k(a, f[g], d); return k.filter(e, d) }; f.find = k, f.expr = k.selectors, f.expr[":"] = f.expr.filters, f.unique = k.uniquesort, f.text = k.gettext, f.isxmldoc = k.isxml, f.contains = k.contains }(); var o = /until$/, p = /^(?:parents|prevuntil|prevall)/, q = /,/, r = /^.[^:#\[\.,]*$/, s = array.prototype.slice, t = f.expr.match.pos, u = { children: !0, contents: !0, next: !0, prev: !0 }; f.fn.extend({ find: function (a) { var b = this, c, d; if (typeof a != "string") return f(a).filter(function () { for (c = 0, d = b.length; c < d; c++) if (f.contains(b[c], this)) return !0 }); var e = this.pushstack("", "find", a), g, h, i; for (c = 0, d = this.length; c < d; c++) { g = e.length, f.find(a, this[c], e); if (c > 0) for (h = g; h < e.length; h++) for (i = 0; i < g; i++) if (e[i] === e[h]) { e.splice(h--, 1); break } } return e }, has: function (a) { var b = f(a); return this.filter(function () { for (var a = 0, c = b.length; a < c; a++) if (f.contains(this, b[a])) return !0 }) }, not: function (a) { return this.pushstack(w(this, a, !1), "not", a) }, filter: function (a) { return this.pushstack(w(this, a, !0), "filter", a) }, is: function (a) { return !!a && (typeof a == "string" ? f.filter(a, this).length > 0 : this.filter(a).length > 0) }, closest: function (a, b) { var c = [], d, e, g = this[0]; if (f.isarray(a)) { var h, i, j = {}, k = 1; if (g && a.length) { for (d = 0, e = a.length; d < e; d++) i = a[d], j[i] || (j[i] = t.test(i) ? f(i, b || this.context) : i); while (g && g.ownerdocument && g !== b) { for (i in j) h = j[i], (h.jq ? h.index(g) > -1 : f(g).is(h)) && c.push({ selector: i, elem: g, level: k }); g = g.parentnode, k++ } } return c } var l = t.test(a) || typeof a != "string" ? f(a, b || this.context) : 0; for (d = 0, e = this.length; d < e; d++) { g = this[d]; while (g) { if (l ? l.index(g) > -1 : f.find.matchesselector(g, a)) { c.push(g); break } g = g.parentnode; if (!g || !g.ownerdocument || g === b || g.nodetype === 11) break } } c = c.length > 1 ? f.unique(c) : c; return this.pushstack(c, "closest", a) }, index: function (a) { if (!a || typeof a == "string") return f.inarray(this[0], a ? f(a) : this.parent().children()); return f.inarray(a.jq ? a[0] : a, this) }, add: function (a, b) { var c = typeof a == "string" ? f(a, b) : f.makearray(a && a.nodetype ? [a] : a), d = f.merge(this.get(), c); return this.pushstack(v(c[0]) || v(d[0]) ? d : f.unique(d)) }, andself: function () { return this.add(this.prevobject) } }), f.each({ parent: function (a) { var b = a.parentnode; return b && b.nodetype !== 11 ? b : null }, parents: function (a) { return f.dir(a, "parentnode") }, parentsuntil: function (a, b, c) { return f.dir(a, "parentnode", c) }, next: function (a) { return f.nth(a, 2, "nextsibling") }, prev: function (a) { return f.nth(a, 2, "previoussibling") }, nextall: function (a) { return f.dir(a, "nextsibling") }, prevall: function (a) { return f.dir(a, "previoussibling") }, nextuntil: function (a, b, c) { return f.dir(a, "nextsibling", c) }, prevuntil: function (a, b, c) { return f.dir(a, "previoussibling", c) }, siblings: function (a) { return f.sibling(a.parentnode.firstchild, a) }, children: function (a) { return f.sibling(a.firstchild) }, contents: function (a) { return f.nodename(a, "iframe") ? a.contentdocument || a.contentwindow.document : f.makearray(a.childnodes) } }, function (a, b) { f.fn[a] = function (c, d) { var e = f.map(this, b, c), g = s.call(arguments); o.test(a) || (d = c), d && typeof d == "string" && (e = f.filter(d, e)), e = this.length > 1 && !u[a] ? f.unique(e) : e, (this.length > 1 || q.test(d)) && p.test(a) && (e = e.reverse()); return this.pushstack(e, a, g.join(",")) } }), f.extend({ filter: function (a, b, c) { c && (a = ":not(" + a + ")"); return b.length === 1 ? f.find.matchesselector(b[0], a) ? [b[0]] : [] : f.find.matches(a, b) }, dir: function (a, c, d) { var e = [], g = a[c]; while (g && g.nodetype !== 9 && (d === b || g.nodetype !== 1 || !f(g).is(d))) g.nodetype === 1 && e.push(g), g = g[c]; return e }, nth: function (a, b, c, d) { b = b || 1; var e = 0; for (; a; a = a[c]) if (a.nodetype === 1 && ++e === b) break; return a }, sibling: function (a, b) { var c = []; for (; a; a = a.nextsibling) a.nodetype === 1 && a !== b && c.push(a); return c } }); var x = / jq\d+="(?:\d+|null)"/g, y = /^\s+/, z = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig, $ = /<([\w:]+)/, _ = /", ""], legend: [1, "
", "
"], thead: [1, "", "
"], tr: [2, "", "
"], td: [3, "", "
"], col: [2, "", "
"], area: [1, "", ""], _default: [0, "", ""] }; bf.optgroup = bf.option, bf.tbody = bf.tfoot = bf.colgroup = bf.caption = bf.thead, bf.th = bf.td, f.support.htmlserialize || (bf._default = [1, "div
", "
"]), f.fn.extend({ text: function (a) { if (f.isfunction(a)) return this.each(function (b) { var c = f(this); c.text(a.call(this, b, c.text())) }); if (typeof a != "object" && a !== b) return this.empty().append((this[0] && this[0].ownerdocument || c).createtextnode(a)); return f.text(this) }, wrapall: function (a) { if (f.isfunction(a)) return this.each(function (b) { f(this).wrapall(a.call(this, b)) }); if (this[0]) { var b = f(a, this[0].ownerdocument).eq(0).clone(!0); this[0].parentnode && b.insertbefore(this[0]), b.map(function () { var a = this; while (a.firstchild && a.firstchild.nodetype === 1) a = a.firstchild; return a }).append(this) } return this }, wrapinner: function (a) { if (f.isfunction(a)) return this.each(function (b) { f(this).wrapinner(a.call(this, b)) }); return this.each(function () { var b = f(this), c = b.contents(); c.length ? c.wrapall(a) : b.append(a) }) }, wrap: function (a) { return this.each(function () { f(this).wrapall(a) }) }, unwrap: function () { return this.parent().each(function () { f.nodename(this, "body") || f(this).replacewith(this.childnodes) }).end() }, append: function () { return this.dommanip(arguments, !0, function (a) { this.nodetype === 1 && this.appendchild(a) }) }, prepend: function () { return this.dommanip(arguments, !0, function (a) { this.nodetype === 1 && this.insertbefore(a, this.firstchild) }) }, before: function () { if (this[0] && this[0].parentnode) return this.dommanip(arguments, !1, function (a) { this.parentnode.insertbefore(a, this) }); if (arguments.length) { var a = f(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, !1, function (a) { this.parentnode.insertbefore(a, this.nextsibling) }); if (arguments.length) { var a = this.pushstack(this, "after", arguments); a.push.apply(a, f(arguments[0]).toarray()); return a } }, remove: function (a, b) { for (var c = 0, d; (d = this[c]) != null; c++) if (!a || f.filter(a, [d]).length) !b && d.nodetype === 1 && (f.cleandata(d.getelementsbytagname("*")), f.cleandata([d])), d.parentnode && d.parentnode.removechild(d); return this }, empty: function () { for (var a = 0, b; (b = this[a]) != null; a++) { b.nodetype === 1 && f.cleandata(b.getelementsbytagname("*")); while (b.firstchild) b.removechild(b.firstchild) } return this }, clone: function (a, b) { a = a == null ? !1 : a, b = b == null ? a : b; return this.map(function () { return f.clone(this, a, b) }) }, html: function (a) { if (a === b) return this[0] && this[0].nodetype === 1 ? this[0].innerhtml.replace(x, "") : null; if (typeof a == "string" && !bb.test(a) && (f.support.leadingwhitespace || !y.test(a)) && !bf[($.exec(a) || ["", ""])[1].tolowercase()]) { a = a.replace(z, "<$1>"); try { for (var c = 0, d = this.length; c < d; c++) this[c].nodetype === 1 && (f.cleandata(this[c].getelementsbytagname("*")), this[c].innerhtml = a) } catch (e) { this.empty().append(a) } } else f.isfunction(a) ? this.each(function (b) { var c = f(this); c.html(a.call(this, b, c.html())) }) : this.empty().append(a); return this }, replacewith: function (a) { if (this[0] && this[0].parentnode) { if (f.isfunction(a)) return this.each(function (b) { var c = f(this), d = c.html(); c.replacewith(a.call(this, b, d)) }); typeof a != "string" && (a = f(a).detach()); return this.each(function () { var b = this.nextsibling, c = this.parentnode; f(this).remove(), b ? f(b).before(a) : f(c).append(a) }) } return this.length ? this.pushstack(f(f.isfunction(a) ? a() : a), "replacewith", a) : this }, detach: function (a) { return this.remove(a, !0) }, dommanip: function (a, c, d) { var e, g, h, i, j = a[0], k = []; if (!f.support.checkclone && arguments.length === 3 && typeof j == "string" && bc.test(j)) return this.each(function () { f(this).dommanip(a, c, d, !0) }); if (f.isfunction(j)) return this.each(function (e) { var g = f(this); a[0] = j.call(this, e, c ? g.html() : b), g.dommanip(a, c, d) }); if (this[0]) { i = j && j.parentnode, f.support.parentnode && i && i.nodetype === 11 && i.childnodes.length === this.length ? e = { fragment: i } : e = f.buildfragment(a, this, k), h = e.fragment, h.childnodes.length === 1 ? g = h = h.firstchild : g = h.firstchild; if (g) { c = c && f.nodename(g, "tr"); for (var l = 0, m = this.length, n = m - 1; l < m; l++) d.call(c ? bg(this[l], g) : this[l], e.cacheable || m > 1 && l < n ? f.clone(h, !0, !0) : h) } k.length && f.each(k, bm) } return this } }), f.buildfragment = function (a, b, d) { var e, g, h, i; b && b[0] && (i = b[0].ownerdocument || b[0]), i.createdocumentfragment || (i = c), a.length === 1 && typeof a[0] == "string" && a[0].length < 512 && i === c && a[0].charat(0) === "<" && !bb.test(a[0]) && (f.support.checkclone || !bc.test(a[0])) && (g = !0, h = f.fragments[a[0]], h && h !== 1 && (e = h)), e || (e = i.createdocumentfragment(), f.clean(a, i, e, d)), g && (f.fragments[a[0]] = h ? e : 1); return { fragment: e, cacheable: g } }, f.fragments = {}, f.each({ appendto: "append", prependto: "prepend", insertbefore: "before", insertafter: "after", replaceall: "replacewith" }, function (a, b) { f.fn[a] = function (c) { var d = [], e = f(c), g = this.length === 1 && this[0].parentnode; if (g && g.nodetype === 11 && g.childnodes.length === 1 && e.length === 1) { e[b](this[0]); return this } for (var h = 0, i = e.length; h < i; h++) { var j = (h > 0 ? this.clone(!0) : this).get(); f(e[h])[b](j), d = d.concat(j) } return this.pushstack(d, a, e.selector) } }), f.extend({ clone: function (a, b, c) { var d = a.clonenode(!0), e, g, h; if ((!f.support.nocloneevent || !f.support.noclonechecked) && (a.nodetype === 1 || a.nodetype === 11) && !f.isxmldoc(a)) { bi(a, d), e = bj(a), g = bj(d); for (h = 0; e[h]; ++h) bi(e[h], g[h]) } if (b) { bh(a, d); if (c) { e = bj(a), g = bj(d); for (h = 0; e[h]; ++h) bh(e[h], g[h]) } } e = g = null; return d }, clean: function (a, b, d, e) { var g; b = b || c, typeof b.createelement == "undefined" && (b = b.ownerdocument || b[0] && b[0].ownerdocument || c); var h = [], i; for (var j = 0, k; (k = a[j]) != null; j++) { typeof k == "number" && (k += ""); if (!k) continue; if (typeof k == "string") if (!ba.test(k)) k = b.createtextnode(k); else { k = k.replace(z, "<$1>"); var l = ($.exec(k) || ["", ""])[1].tolowercase(), m = bf[l] || bf._default, n = m[0], o = b.createelement("div"); o.innerhtml = m[1] + k + m[2]; while (n--) o = o.lastchild; if (!f.support.tbody) { var p = _.test(k), q = l === "table" && !p ? o.firstchild && o.firstchild.childnodes : m[1] === "" && !p ? o.childnodes : []; for (i = q.length - 1; i >= 0; --i) f.nodename(q[i], "tbody") && !q[i].childnodes.length && q[i].parentnode.removechild(q[i]) } !f.support.leadingwhitespace && y.test(k) && o.insertbefore(b.createtextnode(y.exec(k)[0]), o.firstchild), k = o.childnodes } var r; if (!f.support.appendchecked) if (k[0] && typeof (r = k.length) == "number") for (i = 0; i < r; i++) bl(k[i]); else bl(k); k.nodetype ? h.push(k) : h = f.merge(h, k) } if (d) { g = function (a) { return !a.type || bd.test(a.type) }; for (j = 0; h[j]; j++) if (e && f.nodename(h[j], "script") && (!h[j].type || h[j].type.tolowercase() === "text/javascript")) e.push(h[j].parentnode ? h[j].parentnode.removechild(h[j]) : h[j]); else { if (h[j].nodetype === 1) { var s = f.grep(h[j].getelementsbytagname("script"), g); h.splice.apply(h, [j + 1, 0].concat(s)) } d.appendchild(h[j]) } } return h }, cleandata: function (a) { var b, c, d = f.cache, e = f.expando, g = f.event.special, h = f.support.deleteexpando; for (var i = 0, j; (j = a[i]) != null; i++) { if (j.nodename && f.nodata[j.nodename.tolowercase()]) continue; c = j[f.expando]; if (c) { b = d[c] && d[c][e]; if (b && b.events) { for (var k in b.events) g[k] ? f.event.remove(j, k) : f.removeevent(j, k, b.handle); b.handle && (b.handle.elem = null) } h ? delete j[f.expando] : j.removeattribute && j.removeattribute(f.expando), delete d[c] } } } }); var cw = /alpha\([^)]*\)/i, bo = /opacity=([^)]*)/, bp = /([a-z]|^ms)/g, bq = /^-?\d+(?:px)?$/i, br = /^-?\d/, bs = /^[+\-]=/, bt = /[^+\-\.\de]+/g, bu = { position: "absolute", visibility: "hidden", display: "block" }, bv = ["left", "right"], bw = ["top", "bottom"], bx, by, bz; f.fn.css = function (a, c) { if (arguments.length === 2 && c === b) return this; return f.access(this, a, c, !0, function (a, c, d) { return d !== b ? f.style(a, c, d) : f.css(a, c) }) }, f.extend({ csshooks: { opacity: { get: function (a, b) { if (b) { var c = bx(a, "opacity", "opacity"); return c === "" ? "1" : c } return a.style.opacity } } }, cssnumber: { fillopacity: !0, fontweight: !0, lineheight: !0, opacity: !0, orphans: !0, widows: !0, zindex: !0, zoom: !0 }, cssprops: { "float": f.support.cssfloat ? "cssfloat" : "stylefloat" }, style: function (a, c, d, e) { if (!!a && a.nodetype !== 3 && a.nodetype !== 8 && !!a.style) { var g, h, i = f.camelcase(c), j = a.style, k = f.csshooks[i]; c = f.cssprops[i] || i; if (d === b) { if (k && "get" in k && (g = k.get(a, !1, e)) !== b) return g; return j[c] } h = typeof d; if (h === "number" && isnan(d) || d == null) return; h === "string" && bs.test(d) && (d = +d.replace(bt, "") + parsefloat(f.css(a, c)), h = "number"), h === "number" && !f.cssnumber[i] && (d += "px"); if (!k || !("set" in k) || (d = k.set(a, d)) !== b) try { j[c] = d } catch (l) { } } }, css: function (a, c, d) { var e, g; c = f.camelcase(c), g = f.csshooks[c], c = f.cssprops[c] || c, c === "cssfloat" && (c = "float"); if (g && "get" in g && (e = g.get(a, !0, d)) !== b) return e; if (bx) return bx(a, c) }, swap: function (a, b, c) { var d = {}; for (var e in b) d[e] = a.style[e], a.style[e] = b[e]; c.call(a); for (e in b) a.style[e] = d[e] } }), f.curcss = f.css, f.each(["height", "width"], function (a, b) { f.csshooks[b] = { get: function (a, c, d) { var e; if (c) { if (a.offsetwidth !== 0) return ba(a, b, d); f.swap(a, bu, function () { e = ba(a, b, d) }); return e } }, set: function (a, b) { if (!bq.test(b)) return b; b = parsefloat(b); if (b >= 0) return b + "px" } } }), f.support.opacity || (f.csshooks.opacity = { get: function (a, b) { return bo.test((b && a.currentstyle ? a.currentstyle.filter : a.style.filter) || "") ? parsefloat(regexp.$1) / 100 + "" : b ? "1" : "" }, set: function (a, b) { var c = a.style, d = a.currentstyle; c.zoom = 1; var e = f.isnan(b) ? "" : "alpha(opacity=" + b * 100 + ")", g = d && d.filter || c.filter || ""; c.filter = cw.test(g) ? g.replace(cw, e) : g + " " + e } }), f(function () { f.support.reliablemarginright || (f.csshooks.marginright = { get: function (a, b) { var c; f.swap(a, { display: "inline-block" }, function () { b ? c = bx(a, "margin-right", "marginright") : c = a.style.marginright }); return c } }) }), c.defaultview && c.defaultview.getcomputedstyle && (by = function (a, c) { var d, e, g; c = c.replace(bp, "-$1").tolowercase(); if (!(e = a.ownerdocument.defaultview)) return b; if (g = e.getcomputedstyle(a, null)) d = g.getpropertyvalue(c), d === "" && !f.contains(a.ownerdocument.documentelement, a) && (d = f.style(a, c)); return d }), c.documentelement.currentstyle && (bz = function (a, b) { var c, d = a.currentstyle && a.currentstyle[b], e = a.runtimestyle && a.runtimestyle[b], f = a.style; !bq.test(d) && br.test(d) && (c = f.left, e && (a.runtimestyle.left = a.currentstyle.left), f.left = b === "fontsize" ? "1em" : d || 0, d = f.pixelleft + "px", f.left = c, e && (a.runtimestyle.left = e)); return d === "" ? "auto" : d }), bx = by || bz, f.expr && f.expr.filters && (f.expr.filters.hidden = function (a) { var b = a.offsetwidth, c = a.offsetheight; return b === 0 && c === 0 || !f.support.reliablehiddenoffsets && (a.style.display || f.css(a, "display")) === "none" }, f.expr.filters.visible = function (a) { return !f.expr.filters.hidden(a) }); var cx = /%20/g, bc = /\[\]$/, bd = /\r?\n/g, be = /#.*$/, bf = /^(.*?):[ \t]*([^\r\n]*)\r?$/mg, bg = /^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i, bh = /^(?:about|app|app\-storage|.+\-extension|file|widget):$/, bi = /^(?:get|head)$/, bj = /^\/\//, bk = /\?/, bl = /)<[^<]*)*<\/script>/gi, bm = /^(?:select|textarea)/i, bn = /\s+/, bo = /([?&])_=[^&]*/, bp = /^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/, bq = f.fn.load, br = {}, bs = {}, bt, bu; try { bt = e.href } catch (bv) { bt = c.createelement("a"), bt.href = "", bt = bt.href } bu = bp.exec(bt.tolowercase()) || [], f.fn.extend({ load: function (a, c, d) { if (typeof a != "string" && bq) return bq.apply(this, arguments); if (!this.length) return this; var e = a.indexof(" "); if (e >= 0) { var g = a.slice(e, a.length); a = a.slice(0, e) } var h = "get"; c && (f.isfunction(c) ? (d = c, c = b) : typeof c == "object" && (c = f.param(c, f.ajaxsettings.traditional), h = "post")); var i = this; f.ajax({ url: a, type: h, datatype: "html", data: c, complete: function (a, b, c) { c = a.responsetext, a.isresolved() && (a.done(function (a) { c = a }), i.html(g ? f("
").append(c.replace(bl, "")).find(g) : c)), d && i.each(d, [c, b, a]) } }); return this }, serialize: function () { return f.param(this.serializearray()) }, serializearray: function () { return this.map(function () { return this.elements ? f.makearray(this.elements) : this }).filter(function () { return this.name && !this.disabled && (this.checked || bm.test(this.nodename) || bg.test(this.type)) }).map(function (a, b) { var c = f(this).val(); return c == null ? null : f.isarray(c) ? f.map(c, function (a, c) { return { name: b.name, value: a.replace(bd, "\r\n") } }) : { name: b.name, value: c.replace(bd, "\r\n") } }).get() } }), f.each("ajaxstart ajaxstop ajaxcomplete ajaxerror ajaxsuccess ajaxsend".split(" "), function (a, b) { f.fn[b] = function (a) { return this.bind(b, a) } }), f.each(["get", "post"], function (a, c) { f[c] = function (a, d, e, g) { f.isfunction(d) && (g = g || e, e = d, d = b); return f.ajax({ type: c, url: a, data: d, success: e, datatype: g }) } }), f.extend({ getscript: function (a, c) { return f.get(a, b, c, "script") }, getjson: function (a, b, c) { return f.get(a, b, c, "json") }, ajaxsetup: function (a, b) { b ? f.extend(!0, a, f.ajaxsettings, b) : (b = a, a = f.extend(!0, f.ajaxsettings, b)); for (var c in { context: 1, url: 1 }) c in b ? a[c] = b[c] : c in f.ajaxsettings && (a[c] = f.ajaxsettings[c]); return a }, ajaxsettings: { url: bt, islocal: bh.test(bu[1]), global: !0, type: "get", contenttype: "application/x-www-form-urlencoded", processdata: !0, async: !0, accepts: { xml: "application/xml, text/xml", html: "text/html", text: "text/plain", json: "application/json, text/javascript", "*": "*/*" }, contents: { xml: /xml/, html: /html/, json: /json/ }, responsefields: { xml: "responsexml", text: "responsetext" }, converters: { "* text": a.string, "text html": !0, "text json": f.parsejson, "text xml": f.parsexml } }, ajaxprefilter: bw(br), ajaxtransport: bw(bs), ajax: function (a, c) { function w(a, c, l, m) { if (s !== 2) { s = 2, q && cleartimeout(q), p = b, n = m || "", v.readystate = a ? 4 : 0; var o, r, u, w = l ? bz(d, v, l) : b, x, y; if (a >= 200 && a < 300 || a === 304) { if (d.ifmodified) { if (x = v.getresponseheader("last-modified")) f.lastmodified[k] = x; if (y = v.getresponseheader("etag")) f.etag[k] = y } if (a === 304) c = "notmodified", o = !0; else try { r = b$(d, w), c = "success", o = !0 } catch (z) { c = "parsererror", u = z } } else { u = c; if (!c || a) c = "error", a < 0 && (a = 0) } v.status = a, v.statustext = c, o ? h.resolvewith(e, [r, c, v]) : h.rejectwith(e, [v, c, u]), v.statuscode(j), j = b, t && g.trigger("ajax" + (o ? "success" : "error"), [v, d, o ? r : u]), i.resolvewith(e, [v, c]), t && (g.trigger("ajaxcomplete", [v, d]), --f.active || f.event.trigger("ajaxstop")) } } typeof a == "object" && (c = a, a = b), c = c || {}; var d = f.ajaxsetup({}, c), e = d.context || d, g = e !== d && (e.nodetype || e instanceof f) ? f(e) : f.event, h = f.deferred(), i = f._deferred(), j = d.statuscode || {}, k, l = {}, m = {}, n, o, p, q, r, s = 0, t, u, v = { readystate: 0, setrequestheader: function (a, b) { if (!s) { var c = a.tolowercase(); a = m[c] = m[c] || a, l[a] = b } return this }, getallresponseheaders: function () { return s === 2 ? n : null }, getresponseheader: function (a) { var c; if (s === 2) { if (!o) { o = {}; while (c = bf.exec(n)) o[c[1].tolowercase()] = c[2] } c = o[a.tolowercase()] } return c === b ? null : c }, overridemimetype: function (a) { s || (d.mimetype = a); return this }, abort: function (a) { a = a || "abort", p && p.abort(a), w(0, a); return this } }; h.promise(v), v.success = v.done, v.error = v.fail, v.complete = i.done, v.statuscode = function (a) { if (a) { var b; if (s < 2) for (b in a) j[b] = [j[b], a[b]]; else b = a[v.status], v.then(b, b) } return this }, d.url = ((a || d.url) + "").replace(be, "").replace(bj, bu[1] + "//"), d.datatypes = f.trim(d.datatype || "*").tolowercase().split(bn), d.crossdomain == null && (r = bp.exec(d.url.tolowercase()), d.crossdomain = !(!r || r[1] == bu[1] && r[2] == bu[2] && (r[3] || (r[1] === "http:" ? 80 : 443)) == (bu[3] || (bu[1] === "http:" ? 80 : 443)))), d.data && d.processdata && typeof d.data != "string" && (d.data = f.param(d.data, d.traditional)), bx(br, d, c, v); if (s === 2) return !1; t = d.global, d.type = d.type.touppercase(), d.hascontent = !bi.test(d.type), t && f.active++ === 0 && f.event.trigger("ajaxstart"); if (!d.hascontent) { d.data && (d.url += (bk.test(d.url) ? "&" : "?") + d.data), k = d.url; if (d.cache === !1) { var x = f.now(), y = d.url.replace(bo, "$1_=" + x); d.url = y + (y === d.url ? (bk.test(d.url) ? "&" : "?") + "_=" + x : "") } } (d.data && d.hascontent && d.contenttype !== !1 || c.contenttype) && v.setrequestheader("content-type", d.contenttype), d.ifmodified && (k = k || d.url, f.lastmodified[k] && v.setrequestheader("if-modified-since", f.lastmodified[k]), f.etag[k] && v.setrequestheader("if-none-match", f.etag[k])), v.setrequestheader("accept", d.datatypes[0] && d.accepts[d.datatypes[0]] ? d.accepts[d.datatypes[0]] + (d.datatypes[0] !== "*" ? ", */*; q=0.01" : "") : d.accepts["*"]); for (u in d.headers) v.setrequestheader(u, d.headers[u]); if (d.beforesend && (d.beforesend.call(e, v, d) === !1 || s === 2)) { v.abort(); return !1 } for (u in { success: 1, error: 1, complete: 1 }) v[u](d[u]); p = bx(bs, d, c, v); if (!p) w(-1, "no transport"); else { v.readystate = 1, t && g.trigger("ajaxsend", [v, d]), d.async && d.timeout > 0 && (q = settimeout(function () { v.abort("timeout") }, d.timeout)); try { s = 1, p.send(l, w) } catch (z) { status < 2 ? w(-1, z) : f.error(z) } } return v }, param: function (a, c) { var d = [], e = function (a, b) { b = f.isfunction(b) ? b() : b, d[d.length] = encodeuricomponent(a) + "=" + encodeuricomponent(b) }; c === b && (c = f.ajaxsettings.traditional); if (f.isarray(a) || a.jq && !f.isplainobject(a)) f.each(a, function () { e(this.name, this.value) }); else for (var g in a) by(g, a[g], c, e); return d.join("&").replace(cx, "+") } }), f.extend({ active: 0, lastmodified: {}, etag: {} }); var cy = f.now(), ca = /(\=)\?(&|$)|\?\?/i; f.ajaxsetup({ jsonp: "callback", jsonpcallback: function () { return f.expando + "_" + cy++ } }), f.ajaxprefilter("json jsonp", function (b, c, d) { var e = b.contenttype === "application/x-www-form-urlencoded" && typeof b.data == "string"; if (b.datatypes[0] === "jsonp" || b.jsonp !== !1 && (ca.test(b.url) || e && ca.test(b.data))) { var g, h = b.jsonpcallback = f.isfunction(b.jsonpcallback) ? b.jsonpcallback() : b.jsonpcallback, i = a[h], j = b.url, k = b.data, l = "$1" + h + "$2"; b.jsonp !== !1 && (j = j.replace(ca, l), b.url === j && (e && (k = k.replace(ca, l)), b.data === k && (j += (/\?/.test(j) ? "&" : "?") + b.jsonp + "=" + h))), b.url = j, b.data = k, a[h] = function (a) { g = [a] }, d.always(function () { a[h] = i, g && f.isfunction(i) && a[h](g[0]) }), b.converters["script json"] = function () { g || f.error(h + " was not called"); return g[0] }, b.datatypes[0] = "json"; return "script" } }), f.ajaxsetup({ accepts: { script: "text/javascript, application/javascript, application/ecmascript, application/x-ecmascript" }, contents: { script: /javascript|ecmascript/ }, converters: { "text script": function (a) { f.globaleval(a); return a } } }), f.ajaxprefilter("script", function (a) { a.cache === b && (a.cache = !1), a.crossdomain && (a.type = "get", a.global = !1) }), f.ajaxtransport("script", function (a) { if (a.crossdomain) { var d, e = c.head || c.getelementsbytagname("head")[0] || c.documentelement; return { send: function (f, g) { d = c.createelement("script"), d.async = "async", a.scriptcharset && (d.charset = a.scriptcharset), d.src = a.url, d.onload = d.onreadystatechange = function (a, c) { if (c || !d.readystate || /loaded|complete/.test(d.readystate)) d.onload = d.onreadystatechange = null, e && d.parentnode && e.removechild(d), d = b, c || g(200, "success") }, e.insertbefore(d, e.firstchild) }, abort: function () { d && d.onload(0, 1) } } } }); var cz = a.activexobject ? function () { for (var a in cd) cd[a](0, 1) } : !1, cc = 0, cd; f.ajaxsettings.xhr = a.activexobject ? function () { return !this.islocal && ce() || cf() } : ce, function (a) { f.extend(f.support, { ajax: !!a, cors: !!a && "withcredentials" in a }) }(f.ajaxsettings.xhr()), f.support.ajax && f.ajaxtransport(function (c) { if (!c.crossdomain || f.support.cors) { var d; return { send: function (e, g) { var h = c.xhr(), i, j; c.username ? h.open(c.type, c.url, c.async, c.username, c.password) : h.open(c.type, c.url, c.async); if (c.xhrfields) for (j in c.xhrfields) h[j] = c.xhrfields[j]; c.mimetype && h.overridemimetype && h.overridemimetype(c.mimetype), !c.crossdomain && !e["x-requested-with"] && (e["x-requested-with"] = "xmlhttprequest"); try { for (j in e) h.setrequestheader(j, e[j]) } catch (k) { } h.send(c.hascontent && c.data || null), d = function (a, e) { var j, k, l, m, n; try { if (d && (e || h.readystate === 4)) { d = b, i && (h.onreadystatechange = f.noop, cz && delete cd[i]); if (e) h.readystate !== 4 && h.abort(); else { j = h.status, l = h.getallresponseheaders(), m = {}, n = h.responsexml, n && n.documentelement && (m.xml = n), m.text = h.responsetext; try { k = h.statustext } catch (o) { k = "" } !j && c.islocal && !c.crossdomain ? j = m.text ? 200 : 404 : j === 1223 && (j = 204) } } } catch (p) { e || g(-1, p) } m && g(j, k, m, l) }, !c.async || h.readystate === 4 ? d() : (i = ++cc, cz && (cd || (cd = {}, f(a).unload(cz)), cd[i] = d), h.onreadystatechange = d) }, abort: function () { d && d(0, 1) } } } }); var ca = {}, ch, ci, cj = /^(?:toggle|show|hide)$/, ck = /^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i, cl, cm = [["height", "margintop", "marginbottom", "paddingtop", "paddingbottom"], ["width", "marginleft", "marginright", "paddingleft", "paddingright"], ["opacity"]], cn, co = a.webkitrequestanimationframe || a.mozrequestanimationframe || a.orequestanimationframe; f.fn.extend({ show: function (a, b, c) { var d, e; if (a || a === 0) return this.animate(cr("show", 3), a, b, c); for (var g = 0, h = this.length; g < h; g++) d = this[g], d.style && (e = d.style.display, !f._data(d, "olddisplay") && e === "none" && (e = d.style.display = ""), e === "" && f.css(d, "display") === "none" && f._data(d, "olddisplay", cs(d.nodename))); for (g = 0; g < h; g++) { d = this[g]; if (d.style) { e = d.style.display; if (e === "" || e === "none") d.style.display = f._data(d, "olddisplay") || "" } } return this }, hide: function (a, b, c) { if (a || a === 0) return this.animate(cr("hide", 3), a, b, c); for (var d = 0, e = this.length; d < e; d++) if (this[d].style) { var g = f.css(this[d], "display"); g !== "none" && !f._data(this[d], "olddisplay") && f._data(this[d], "olddisplay", g) } for (d = 0; d < e; d++) this[d].style && (this[d].style.display = "none"); return this }, _toggle: f.fn.toggle, toggle: function (a, b, c) { var d = typeof a == "boolean"; f.isfunction(a) && f.isfunction(b) ? this._toggle.apply(this, arguments) : a == null || d ? this.each(function () { var b = d ? a : f(this).is(":hidden"); f(this)[b ? "show" : "hide"]() }) : this.animate(cr("toggle", 3), a, b, c); return this }, fadeto: function (a, b, c, d) { return this.filter(":hidden").css("opacity", 0).show().end().animate({ opacity: b }, a, c, d) }, animate: function (a, b, c, d) { var e = f.speed(b, c, d); if (f.isemptyobject(a)) return this.each(e.complete, [!1]); a = f.extend({}, a); return this[e.queue === !1 ? "each" : "queue"](function () { e.queue === !1 && f._mark(this); var b = f.extend({}, e), c = this.nodetype === 1, d = c && f(this).is(":hidden"), g, h, i, j, k, l, m, n, o; b.animatedproperties = {}; for (i in a) { g = f.camelcase(i), i !== g && (a[g] = a[i], delete a[i]), h = a[g], f.isarray(h) ? (b.animatedproperties[g] = h[1], h = a[g] = h[0]) : b.animatedproperties[g] = b.specialeasing && b.specialeasing[g] || b.easing || "swing"; if (h === "hide" && d || h === "show" && !d) return b.complete.call(this); c && (g === "height" || g === "width") && (b.overflow = [this.style.overflow, this.style.overflowx, this.style.overflowy], f.css(this, "display") === "inline" && f.css(this, "float") === "none" && (f.support.inlineblockneedslayout ? (j = cs(this.nodename), j === "inline" ? this.style.display = "inline-block" : (this.style.display = "inline", this.style.zoom = 1)) : this.style.display = "inline-block")) } b.overflow != null && (this.style.overflow = "hidden"); for (i in a) k = new f.fx(this, b, i), h = a[i], cj.test(h) ? k[h === "toggle" ? d ? "show" : "hide" : h]() : (l = ck.exec(h), m = k.cur(), l ? (n = parsefloat(l[2]), o = l[3] || (f.cssnumber[i] ? "" : "px"), o !== "px" && (f.style(this, i, (n || 1) + o), m = (n || 1) / k.cur() * m, f.style(this, i, m + o)), l[1] && (n = (l[1] === "-=" ? -1 : 1) * n + m), k.custom(m, n, o)) : k.custom(m, h, "")); return !0 }) }, stop: function (a, b) { a && this.queue([]), this.each(function () { var a = f.timers, c = a.length; b || f._unmark(!0, this); while (c--) a[c].elem === this && (b && a[c](!0), a.splice(c, 1)) }), b || this.dequeue(); return this } }), f.each({ slidedown: cr("show", 1), slideup: cr("hide", 1), slidetoggle: cr("toggle", 1), fadein: { opacity: "show" }, fadeout: { opacity: "hide" }, fadetoggle: { opacity: "toggle" } }, function (a, b) { f.fn[a] = function (a, c, d) { return this.animate(b, a, c, d) } }), f.extend({ speed: function (a, b, c) { var d = a && typeof a == "object" ? f.extend({}, a) : { complete: c || !c && b || f.isfunction(a) && a, duration: a, easing: c && b || b && !f.isfunction(b) && b }; d.duration = f.fx.off ? 0 : typeof d.duration == "number" ? d.duration : d.duration in f.fx.speeds ? f.fx.speeds[d.duration] : f.fx.speeds._default, d.old = d.complete, d.complete = function (a) { f.isfunction(d.old) && d.old.call(this), d.queue !== !1 ? f.dequeue(this) : a !== !1 && f._unmark(this) }; return d }, easing: { linear: function (a, b, c, d) { return c + d * a }, swing: function (a, b, c, d) { return (-math.cos(a * math.pi) / 2 + .5) * d + c } }, timers: [], fx: function (a, b, c) { this.options = b, this.elem = a, this.prop = c, b.orig = b.orig || {} } }), f.fx.prototype = { update: function () { this.options.step && this.options.step.call(this.elem, this.now, this), (f.fx.step[this.prop] || f.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, b = f.css(this.elem, this.prop); return isnan(a = parsefloat(b)) ? !b || b === "auto" ? 0 : b : a }, custom: function (a, b, c) { function h(a) { return d.step(a) } var d = this, e = f.fx, g; this.starttime = cn || cp(), this.start = a, this.end = b, this.unit = c || this.unit || (f.cssnumber[this.prop] ? "" : "px"), this.now = this.start, this.pos = this.state = 0, h.elem = this.elem, h() && f.timers.push(h) && !cl && (co ? (cl = !0, g = function () { cl && (co(g), e.tick()) }, co(g)) : cl = setinterval(e.tick, e.interval)) }, show: function () { this.options.orig[this.prop] = f.style(this.elem, this.prop), this.options.show = !0, this.custom(this.prop === "width" || this.prop === "height" ? 1 : 0, this.cur()), f(this.elem).show() }, hide: function () { this.options.orig[this.prop] = f.style(this.elem, this.prop), this.options.hide = !0, this.custom(this.cur(), 0) }, step: function (a) { var b = cn || cp(), c = !0, d = this.elem, e = this.options, g, h; if (a || b >= e.duration + this.starttime) { this.now = this.end, this.pos = this.state = 1, this.update(), e.animatedproperties[this.prop] = !0; for (g in e.animatedproperties) e.animatedproperties[g] !== !0 && (c = !1); if (c) { e.overflow != null && !f.support.shrinkwrapblocks && f.each(["", "x", "y"], function (a, b) { d.style["overflow" + b] = e.overflow[a] }), e.hide && f(d).hide(); if (e.hide || e.show) for (var i in e.animatedproperties) f.style(d, i, e.orig[i]); e.complete.call(d) } return !1 } e.duration == infinity ? this.now = b : (h = b - this.starttime, this.state = h / e.duration, this.pos = f.easing[e.animatedproperties[this.prop]](this.state, h, 0, 1, e.duration), this.now = this.start + (this.end - this.start) * this.pos), this.update(); return !0 } }, f.extend(f.fx, { tick: function () { for (var a = f.timers, b = 0; b < a.length; ++b) a[b]() || a.splice(b--, 1); a.length || f.fx.stop() }, interval: 13, stop: function () { clearinterval(cl), cl = null }, speeds: { slow: 600, fast: 200, _default: 400 }, step: { opacity: function (a) { f.style(a.elem, "opacity", a.now) }, _default: function (a) { 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 : a.elem[a.prop] = a.now } } }), f.expr && f.expr.filters && (f.expr.filters.animated = function (a) { return f.grep(f.timers, function (b) { return a === b.elem }).length }); var cb = /^t(?:able|d|h)$/i, cu = /^(?:body|html)$/i; "getboundingclientrect" in c.documentelement ? f.fn.offset = function (a) { var b = this[0], c; if (a) return this.each(function (b) { f.offset.setoffset(this, a, b) }); if (!b || !b.ownerdocument) return null; if (b === b.ownerdocument.body) return f.offset.bodyoffset(b); try { c = b.getboundingclientrect() } catch (d) { } var e = b.ownerdocument, g = e.documentelement; if (!c || !f.contains(g, b)) return c ? { top: c.top, left: c.left } : { top: 0, left: 0 }; var h = e.body, i = cv(e), j = g.clienttop || h.clienttop || 0, k = g.clientleft || h.clientleft || 0, l = i.pageyoffset || f.support.boxmodel && g.scrolltop || h.scrolltop, m = i.pagexoffset || f.support.boxmodel && g.scrollleft || h.scrollleft, n = c.top + l - j, o = c.left + m - k; return { top: n, left: o } } : f.fn.offset = function (a) { var b = this[0]; if (a) return this.each(function (b) { f.offset.setoffset(this, a, b) }); if (!b || !b.ownerdocument) return null; if (b === b.ownerdocument.body) return f.offset.bodyoffset(b); f.offset.initialize(); var c, d = b.offsetparent, e = b, g = b.ownerdocument, h = g.documentelement, i = g.body, j = g.defaultview, k = j ? j.getcomputedstyle(b, null) : b.currentstyle, l = b.offsettop, m = b.offsetleft; while ((b = b.parentnode) && b !== i && b !== h) { if (f.offset.supportsfixedposition && k.position === "fixed") break; c = j ? j.getcomputedstyle(b, null) : b.currentstyle, l -= b.scrolltop, m -= b.scrollleft, b === d && (l += b.offsettop, m += b.offsetleft, f.offset.doesnotaddborder && (!f.offset.doesaddborderfortableandcells || !cb.test(b.nodename)) && (l += parsefloat(c.bordertopwidth) || 0, m += parsefloat(c.borderleftwidth) || 0), e = d, d = b.offsetparent), f.offset.subtractsborderforoverflownotvisible && c.overflow !== "visible" && (l += parsefloat(c.bordertopwidth) || 0, m += parsefloat(c.borderleftwidth) || 0), k = c } if (k.position === "relative" || k.position === "static") l += i.offsettop, m += i.offsetleft; f.offset.supportsfixedposition && k.position === "fixed" && (l += math.max(h.scrolltop, i.scrolltop), m += math.max(h.scrollleft, i.scrollleft)); return { top: l, left: m } }, f.offset = { initialize: function () { var a = c.body, b = c.createelement("div"), d, e, g, h, i = parsefloat(f.css(a, "margintop")) || 0, j = "
"; f.extend(b.style, { position: "absolute", top: 0, left: 0, margin: 0, border: 0, width: "1px", height: "1px", visibility: "hidden" }), b.innerhtml = j, a.insertbefore(b, a.firstchild), d = b.firstchild, e = d.firstchild, h = d.nextsibling.firstchild.firstchild, this.doesnotaddborder = e.offsettop !== 5, this.doesaddborderfortableandcells = h.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 !== i, a.removechild(b), f.offset.initialize = f.noop }, bodyoffset: function (a) { var b = a.offsettop, c = a.offsetleft; f.offset.initialize(), f.offset.doesnotincludemargininbodyoffset && (b += parsefloat(f.css(a, "margintop")) || 0, c += parsefloat(f.css(a, "marginleft")) || 0); return { top: b, left: c } }, setoffset: function (a, b, c) { var d = f.css(a, "position"); d === "static" && (a.style.position = "relative"); var e = f(a), g = e.offset(), h = f.css(a, "top"), i = f.css(a, "left"), j = (d === "absolute" || d === "fixed") && f.inarray("auto", [h, i]) > -1, k = {}, l = {}, m, n; j ? (l = e.position(), m = l.top, n = l.left) : (m = parsefloat(h) || 0, n = parsefloat(i) || 0), f.isfunction(b) && (b = b.call(a, c, g)), b.top != null && (k.top = b.top - g.top + m), b.left != null && (k.left = b.left - g.left + n), "using" in b ? b.using.call(a, k) : e.css(k) } }, f.fn.extend({ position: function () { if (!this[0]) return null; var a = this[0], b = this.offsetparent(), c = this.offset(), d = cu.test(b[0].nodename) ? { top: 0, left: 0 } : b.offset(); c.top -= parsefloat(f.css(a, "margintop")) || 0, c.left -= parsefloat(f.css(a, "marginleft")) || 0, d.top += parsefloat(f.css(b[0], "bordertopwidth")) || 0, d.left += parsefloat(f.css(b[0], "borderleftwidth")) || 0; return { top: c.top - d.top, left: c.left - d.left } }, offsetparent: function () { return this.map(function () { var a = this.offsetparent || c.body; while (a && !cu.test(a.nodename) && f.css(a, "position") === "static") a = a.offsetparent; return a }) } }), f.each(["left", "top"], function (a, c) { var d = "scroll" + c; f.fn[d] = function (c) { var e, g; if (c === b) { e = this[0]; if (!e) return null; g = cv(e); return g ? "pagexoffset" in g ? g[a ? "pageyoffset" : "pagexoffset"] : f.support.boxmodel && g.document.documentelement[d] || g.document.body[d] : e[d] } return this.each(function () { g = cv(this), g ? g.scrollto(a ? f(g).scrollleft() : c, a ? c : f(g).scrolltop()) : this[d] = c }) } }), f.each(["height", "width"], function (a, c) { var d = c.tolowercase(); f.fn["inner" + c] = function () { var a = this[0]; return a && a.style ? parsefloat(f.css(a, d, "padding")) : null }, f.fn["outer" + c] = function (a) { var b = this[0]; return b && b.style ? parsefloat(f.css(b, d, a ? "margin" : "border")) : null }, f.fn[d] = function (a) { var e = this[0]; if (!e) return a == null ? null : this; if (f.isfunction(a)) return this.each(function (b) { var c = f(this); c[d](a.call(this, b, c[d]())) }); if (f.iswindow(e)) { var g = e.document.documentelement["client" + c]; return e.document.compatmode === "css1compat" && g || e.document.body["client" + c] || g } if (e.nodetype === 9) return math.max(e.documentelement["client" + c], e.body["scroll" + c], e.documentelement["scroll" + c], e.body["offset" + c], e.documentelement["offset" + c]); if (a === b) { var h = f.css(e, d), i = parsefloat(h); return f.isnan(i) ? h : i } return this.css(d, typeof a == "string" ? a : a + "px") } }), a.jq = a.$ = f })(window); (function (b) { var d = 0; b.fn.skitter = function (e) { return this.each(function () { new a(this, e, d); ++d }) }; var c = { velocity: 1, interval: 2500, animation: "", numbers: false, navigation: true, label: true, easing_default: "", box_skitter: null, time_interval: null, images_links: null, image_atual: null, link_atual: null, label_atual: null, width_skitter: null, height_skitter: null, image_i: 1, is_animating: false, is_hover_box_skitter: false, random_ia: null, show_randomly: false, thumbs: false, thumb_width: 70, thumb_height: 40, caption: "bottom", caption_width: 250, animatenumberout: { backgroundcolor: "#333", color: "#fff" }, animatenumberover: { backgroundcolor: "#fff", color: "#000" }, animatenumberactive: { backgroundcolor: "#cc3333", color: "#fff" }, hidetools: false, fullscreen: false, xml: false, dots: false, width_label: null, opacity_elements: 0.75, interval_in_elements: 300, interval_out_elements: 500, structure: 'prevnext
' }; b.skitter = function (g, e, f) { this.box_skitter = b(g); this.timer = null; this.settings = b.extend({}, c, e || {}); this.number_skitter = f; this.setup() }; var a = b.skitter; a.fn = a.prototype = {}; a.fn.extend = b.extend; a.fn.extend({ setup: function () { var w = this; if (this.settings.fullscreen) { var f = b(window).width(); var s = b(window).height(); this.box_skitter.width(f).height(s); this.box_skitter.css({ position: "absolute", top: 0, left: 0, "z-index": 1000 }); b("body").css({ overflown: "hidden" }) } this.settings.width_skitter = parsefloat(this.box_skitter.css("width")); this.settings.height_skitter = parsefloat(this.box_skitter.css("height")); if (!this.settings.width_skitter || !this.settings.height_skitter) { console.warn("width or height size is null! - skitter slideshow"); return false } this.box_skitter.append(this.settings.structure); this.settings.easing_default = this.geteasing(this.settings.easing); if (this.settings.velocity >= 2) { this.settings.velocity = 1.3 } if (this.settings.velocity <= 0) { this.settings.velocity = 1 } if (!this.settings.numbers && !this.settings.thumbs && !this.settings.dots) { this.box_skitter.find(".info_slide").hide() } if (!this.settings.label) { this.box_skitter.find(".label_skitter").hide() } if (!this.settings.navigation) { this.box_skitter.find(".prev_button").hide(); this.box_skitter.find(".next_button").hide() } this.box_skitter.find(".container_skitter").width(this.settings.width_skitter); this.box_skitter.find(".container_skitter").height(this.settings.height_skitter); var p = this.settings.width_label ? this.settings.width_label : this.settings.width_skitter; this.box_skitter.find(".label_skitter").width(p); switch (this.settings.caption) { case "top": this.box_skitter.find(".label_skitter").css({ top: 0, left: 0 }); break; case "right": this.box_skitter.find(".label_skitter").css({ top: 0, right: 0 }).width(this.settings.caption_width).height(this.settings.height_skitter); break; case "bottom": this.box_skitter.find(".label_skitter").css({ bottom: 0, left: 0 }); break; case "left": this.box_skitter.find(".label_skitter").css({ top: 0, left: 0 }).width(this.settings.caption_width).height(this.settings.height_skitter); break; default: this.box_skitter.find(".label_skitter").hide() } var g = " image_number_select", r = 0; this.settings.images_links = new array(); var h = function (x, a, z, u, b) { w.settings.images_links.push([a, x, z, u]); if (w.settings.thumbs) { var y = ""; y = 'width="' + w.settings.thumb_width + '" height="' + w.settings.thumb_height + '"'; w.box_skitter.find(".info_slide").append(' ") } else { w.box_skitter.find(".info_slide").append('' + r + " ") } g = "" }; if (this.settings.xml) { b.ajax({ type: "get", url: this.settings.xml, async: false, datatype: "xml", success: function (u) { var x = b(""); b(u).find("skitter slide").each(function () { ++r; var z = (b(this).find("link").text()) ? b(this).find("link").text() : "#"; var b = b(this).find("image").text(); var a = b(this).find("image").attr("type"); var y = b(this).find("label").text(); h(z, b, a, y) }) } }) } else { if (this.settings.json) { } else { this.box_skitter.find("ul li").each(function () { ++r; var x = (b(this).find("a").length) ? b(this).find("a").attr("href") : "#"; var z = b(this).find("img").attr("src"); var y = b(this).find("img").attr("class"); var u = b(this).find(".label_text").html(); var a = b(this).find("img").attr("rel"); h(x, z, y, u, a) }) } } if (w.settings.thumbs) { w.settings.animatenumberout = { opacity: 0.3, width: w.settings.thumb_width, height: w.settings.thumb_height }; w.settings.animatenumberover = { opacity: 0.6, width: w.settings.thumb_width, height: w.settings.thumb_height }; w.settings.animatenumberactive = { opacity: 1, width: w.settings.thumb_width, height: w.settings.thumb_height }; w.box_skitter.find(".info_slide").addclass("info_slide_thumb"); var m = (r + 1) * parseint(w.settings.thumb_width); w.box_skitter.find(".info_slide_thumb").width(m); w.box_skitter.find(".info_slide_thumb").height(parseint(w.settings.thumb_height) + 5); w.box_skitter.css({ height: w.box_skitter.height() + w.box_skitter.find(".info_slide").height() + 5 }); w.box_skitter.append('
'); var l = w.box_skitter.find(".info_slide").clone(); w.box_skitter.find(".info_slide").remove(); w.box_skitter.find(".container_thumbs").width(w.settings.width_skitter).height(parseint(w.settings.thumb_height) + 10).append(l); var j = 0, e = this.settings.width_skitter, k = this.settings.height_skitter, n = 0, v = w.box_skitter.find(".info_slide_thumb"), t = w.box_skitter.offset().left, o = w.box_skitter.offset().top; v.find(".image_number").each(function () { j += parseint(w.settings.thumb_width) + parseint(b(this).css("marginleft")) + parseint(b(this).css("marginright")) + parseint(b(this).css("paddingleft")) + parseint(b(this).css("paddingright")) }); v.width(j + 10 + "px"); n = v.width(); width_valor = this.settings.width_skitter; width_valor = e - 100; t += 90; if (m > w.settings.width_skitter) { w.box_skitter.mousemove(function (a) { var u = a.pagex, b = a.pagey, z = 0; u = u - t; b = b - o; novo_width = n - width_valor; z = -((novo_width * u) / width_valor); if (z > 0) { z = 0 } if (z < -(n - e - 5)) { z = -(n - e - 5) } if (b > k) { v.css({ left: z }) } }) } w.box_skitter.find(".scroll_thumbs").css({ left: 10 }); if (m < w.settings.width_skitter) { w.box_skitter.find(".info_slide").width(w.settings.width_skitter); w.box_skitter.find(".box_scroll_thumbs").hide() } } else { if (w.settings.dots) { w.box_skitter.find(".info_slide").addclass("info_slide_dots").removeclass("info_slide"); var q = (w.settings.width_skitter - w.box_skitter.find(".info_slide_dots").width()) / 2; w.box_skitter.find(".info_slide_dots").css({ left: q }) } else { if (w.settings.numbers) { if (w.box_skitter.find(".info_slide").height() > 20) { w.box_skitter.find(".info_slide").hide() } } else { w.box_skitter.find(".info_slide").hide() } } } this.box_skitter.find("ul").hide(); if (this.settings.show_randomly) { this.settings.images_links.sort(function (x, u) { return math.random() - 0.5 }) } this.settings.image_atual = this.settings.images_links[0][0]; this.settings.link_atual = this.settings.images_links[0][1]; this.settings.label_atual = this.settings.images_links[0][3]; if (this.settings.images_links.length > 1) { this.box_skitter.find(".prev_button").click(function () { if (w.settings.is_animating == false) { w.cleartimer(true); w.settings.image_i -= 2; if (w.settings.image_i == -2) { w.settings.image_i = w.settings.images_links.length - 2 } else { if (w.settings.image_i == -1) { w.settings.image_i = w.settings.images_links.length - 1 } } w.box_skitter.find(".image a").attr({ href: w.settings.link_atual }); w.box_skitter.find(".image_main").attr({ src: w.settings.image_atual }); w.box_skitter.find(".box_clone").remove(); w.nextimage() } return false }); this.box_skitter.find(".next_button").click(function () { if (w.settings.is_animating == false) { w.cleartimer(true); w.box_skitter.find(".image a").attr({ href: w.settings.link_atual }); w.box_skitter.find(".image_main").attr({ src: w.settings.image_atual }); w.box_skitter.find(".box_clone").remove(); w.nextimage() } return false }); this.box_skitter.find(".next_button, .prev_button").hover(function () { b(this).stop().animate({ opacity: 0.5 }, 200) }, function () { b(this).stop().animate({ opacity: 1 }, 200) }); this.box_skitter.find(".image_number").hover(function () { if (b(this).attr("class") != "image_number image_number_select") { b(this).stop().animate(w.settings.animatenumberover, 300) } }, function () { if (b(this).attr("class") != "image_number image_number_select") { b(this).stop().animate(w.settings.animatenumberout, 500) } }); this.box_skitter.find(".image_number").click(function () { if (b(this).attr("class") != "image_number image_number_select") { if (w.settings.is_animating == false) { w.box_skitter.find(".box_clone").stop(); w.cleartimer(true); var u = b(this).attr("rel"); w.settings.image_i = math.floor(u); w.box_skitter.find(".image a").attr({ href: w.settings.link_atual }); w.box_skitter.find(".image_main").attr({ src: w.settings.image_atual }); w.box_skitter.find(".box_clone").remove(); w.nextimage() } } return false }); this.box_skitter.find(".image_number").css(w.settings.animatenumberout); this.box_skitter.find(".image_number:eq(0)").css(w.settings.animatenumberactive) } if (this.settings.hidetools) { this.hidetools() } this.loadimages() }, loadimages: function () { var e = this; var h = b('
loading
'); this.box_skitter.append(h); var g = this.settings.images_links.length; var f = 0; b.each(this.settings.images_links, function (l) { var k = this; var m = b(''); m.css({ position: "absolute", top: "-9999em" }); e.box_skitter.append(m); var j = new image(); b(j).load(function () { ++f; if (f == g) { e.box_skitter.find(".loading").remove(); e.box_skitter.find(".image_loading").remove(); e.start() } }).error(function () { e.box_skitter.find(".loading, .image_loading, .image_number, .next_button, .prev_button").remove(); e.box_skitter.html('

error loading images. one or more images were not found.

') }).attr("src", k[0]) }) }, start: function () { var e = this; this.setlinkatual(); this.box_skitter.find(".image a img").attr({ src: this.settings.image_atual }); img_link = this.box_skitter.find(".image a"); img_link = this.resizeimage(img_link); img_link.find("img").fadein(1500); this.setvalueboxtext(); this.showboxtext(); this.stoponmouseover(); if (this.settings.images_links.length > 1) { this.timer = settimeout(function () { e.nextimage() }, this.settings.interval) } else { this.box_skitter.find(".loading, .image_loading, .image_number, .next_button, .prev_button").remove() } }, nextimage: function () { animations_functions = ["cube", "cuberandom", "block", "cubestop", "cubestoprandom", "cubehide", "cubesize", "horizontal", "showbars", "showbarsrandom", "tube", "fade", "fadefour", "paralell", "blind", "blindheight", "blindwidth", "directiontop", "directionbottom", "directionright", "directionleft", "cubespread", "glasscube", "glassblock"]; animation_type = (this.settings.animation == "" && this.settings.images_links[this.settings.image_i][2]) ? this.settings.images_links[this.settings.image_i][2] : (this.settings.animation == "" ? "default" : this.settings.animation); if (animation_type == "randomsmart") { if (!this.settings.random_ia) { animations_functions.sort(function () { return 0.5 - math.random() }); this.settings.random_ia = animations_functions } animation_type = this.settings.random_ia[this.settings.image_i] } else { if (animation_type == "random") { var e = parseint(math.random() * animations_functions.length); animation_type = animations_functions[e] } } switch (animation_type) { case "cube": this.animationcube(); break; case "cuberandom": this.animationcube({ random: true }); break; case "block": this.animationblock(); break; case "cubestop": this.animationcubestop(); break; case "cubestoprandom": this.animationcubestop({ random: true }); break; case "cubehide": this.animationcubehide(); break; case "cubesize": this.animationcubesize(); break; case "horizontal": this.animationhorizontal(); break; case "showbars": this.animationshowbars(); break; case "showbarsrandom": this.animationshowbars({ random: true }); break; case "tube": this.animationtube(); break; case "fade": this.animationfade(); break; case "fadefour": this.animationfadefour(); break; case "paralell": this.animationparalell(); break; case "blind": this.animationblind(); break; case "blindheight": this.animationblinddimension({ height: true }); break; case "blindwidth": this.animationblinddimension({ height: false, time_animate: 400, delay: 50 }); break; case "directiontop": this.animationdirection({ direction: "top" }); break; case "directionbottom": this.animationdirection({ direction: "bottom" }); break; case "directionright": this.animationdirection({ direction: "right", total: 5 }); break; case "directionleft": this.animationdirection({ direction: "left", total: 5 }); break; case "cubespread": this.animationcubespread(); break; case "cubejelly": this.animationcubejelly(); break; case "glasscube": this.animationglasscube(); break; case "glassblock": this.animationglassblock(); break; default: this.animationtube(); break } }, animationcube: function (f) { var t = this; var f = b.extend({}, { random: false }, f || {}); this.settings.is_animating = true; easing = (this.settings.easing_default == "") ? "easeoutback" : this.settings.easing_default; var p = 700 / this.settings.velocity; this.setactuallevel(); var e = math.ceil(this.settings.width_skitter / (this.settings.width_skitter / 8)); var s = math.ceil(this.settings.height_skitter / (this.settings.height_skitter / 3)); var z = e * s; var k = math.ceil(this.settings.width_skitter / e); var o = math.ceil(this.settings.height_skitter / s); var r = this.settings.height_skitter + 200; var m = this.settings.height_skitter + 200; var g = 0; var l = 0; for (i = 0; i < z; i++) { r = (i % 2 == 0) ? r : -r; m = (i % 2 == 0) ? m : -m; var v = r + (o * g) + (g * 50); var u = (m + (k * l)) + (l * 50); var y = -(o * g); var x = -(k * l); var w = (o * g); var j = (k * l); var n = this.getboxclone(); n.hide(); if (f.random) { n.css({ left: u + "px", top: v + "px", width: k, height: o }) } else { n.css({ left: (this.settings.width_skitter / 2), top: this.settings.height_skitter + 50, width: k, height: o }) } n.find("img").css({ left: x, top: y }); this.addboxclone(n); var q = 40 * (l); var h = (i == (z - 1)) ? function () { t.finishanimation() } : ""; n.show().delay(q).animate({ top: w + "px", left: j + "px" }, p, easing, h); g++; if (g == s) { g = 0; l++ } } }, animationblock: function (p) { var n = this; this.settings.is_animating = true; easing = (this.settings.easing_default == "") ? "easeoutquad" : this.settings.easing_default; var g = 500 / this.settings.velocity; this.setactuallevel(); var h = math.ceil(this.settings.width_skitter / (this.settings.width_skitter / 10)); var o = math.ceil(this.settings.width_skitter / h); var k = (this.settings.height_skitter); for (i = 0; i < h; i++) { var m = (o * (i)); var l = 0; var f = this.getboxclone(); f.css({ left: this.settings.width_skitter, top: 0, width: o, height: k }); f.find("img").css({ left: -(o * i), top: 0 }); this.addboxclone(f); var e = 80 * (i); var j = (i == (h - 1)) ? function () { n.finishanimation() } : ""; f.delay(e).animate({ top: l, left: m, opacity: "show" }, g, easing, j) } }, animationcubestop: function (f) { var u = this; var f = b.extend({}, { random: false }, f || {}); this.settings.is_animating = true; easing = (this.settings.easing_default == "") ? "easeoutback" : this.settings.easing_default; var q = 800 / this.settings.velocity; var y = this.box_skitter.find(".image_main").attr("src"); this.setactuallevel(); this.setlinkatual(); this.box_skitter.find(".image_main").attr({ src: this.settings.image_atual }); var e = math.ceil(this.settings.width_skitter / (this.settings.width_skitter / 8)); var t = math.ceil(this.settings.height_skitter / (this.settings.width_skitter / 8)); var b = e * t; var k = math.ceil(this.settings.width_skitter / e); var o = math.ceil(this.settings.height_skitter / t); var s = 0; var m = 0; var g = 0; var l = 0; var p = this.settings.width_skitter / 16; for (i = 0; i < b; i++) { s = (i % 2 == 0) ? s : -s; m = (i % 2 == 0) ? m : -m; var w = s + (o * g); var v = (m + (k * l)); var a = -(o * g); var z = -(k * l); var x = w - p; var j = v - p; var n = this.getboxcloneimgold(y); n.css({ left: v + "px", top: w + "px", width: k, height: o }); n.find("img").css({ left: z, top: a }); this.addboxclone(n); n.show(); var r = 30 * i; if (f.random) { q = 1000 / this.settings.velocity; x = w; j = v; r = 30 * (math.random() * 30) } var h = (i == (b - 1)) ? function () { u.finishanimation() } : ""; n.delay(r).animate({ opacity: "hide", top: x + "px", left: j + "px" }, q, easing, h); g++; if (g == t) { g = 0; l++ } } }, animationcubehide: function (f) { var t = this; this.settings.is_animating = true; easing = (this.settings.easing_default == "") ? "easeoutquad" : this.settings.easing_default; var p = 500 / this.settings.velocity; var x = this.box_skitter.find(".image_main").attr("src"); this.setactuallevel(); this.setlinkatual(); this.box_skitter.find(".image_main").attr({ src: this.settings.image_atual }); var e = math.ceil(this.settings.width_skitter / (this.settings.width_skitter / 8)); var s = math.ceil(this.settings.height_skitter / (this.settings.height_skitter / 3)); var a = e * s; var k = math.ceil(this.settings.width_skitter / e); var o = math.ceil(this.settings.height_skitter / s); var r = 0; var m = 0; var g = 0; var l = 0; for (i = 0; i < a; i++) { r = (i % 2 == 0) ? r : -r; m = (i % 2 == 0) ? m : -m; var v = r + (o * g); var u = (m + (k * l)); var z = -(o * g); var y = -(k * l); var w = v - 50; var j = u - 50; var n = this.getboxcloneimgold(x); n.css({ left: u + "px", top: v + "px", width: k, height: o }); n.find("img").css({ left: y, top: z }); this.addboxclone(n); n.show(); var q = 50 * i; q = (i == (a - 1)) ? (a * 50) : q; var h = (i == (a - 1)) ? function () { t.finishanimation() } : ""; n.delay(q).animate({ opacity: "hide" }, p, easing, h); g++; if (g == s) { g = 0; l++ } } }, animationcubejelly: function (f) { var v = this; this.settings.is_animating = true; easing = (this.settings.easing_default == "") ? "easeinback" : this.settings.easing_default; var p = 300 / this.settings.velocity; var z = this.box_skitter.find(".image_main").attr("src"); this.setactuallevel(); this.setlinkatual(); this.box_skitter.find(".image_main").attr({ src: this.settings.image_atual }); var e = math.ceil(this.settings.width_skitter / (this.settings.width_skitter / 8)); var s = math.ceil(this.settings.height_skitter / (this.settings.height_skitter / 3)); var c = e * s; var k = math.ceil(this.settings.width_skitter / e); var o = math.ceil(this.settings.height_skitter / s); var r = 0; var m = 0; var g = 0; var l = 0; var t = -1; for (i = 0; i < c; i++) { if (l % 2 != 0) { if (g == 0) { t = t + s + 1 } t-- } else { if (l > 0 && g == 0) { t = t + 2 } t++ } r = (i % 2 == 0) ? r : -r; m = (i % 2 == 0) ? m : -m; var x = r + (o * g); var w = (m + (k * l)); var b = -(o * g); var a = -(k * l); var y = x - 50; var j = w - 50; var n = this.getboxcloneimgold(z); n.css({ left: w + "px", top: x + "px", width: k, height: o }); n.find("img").css({ left: a, top: b }); this.addboxclone(n); n.show(); var q = (50 * i); var h = (i == (c - 1)) ? function () { v.finishanimation() } : ""; n.delay(q).animate({ width: "+=100px", height: "+=100px", top: "-=20px", left: "-=20px", opacity: "hide" }, p, easing, h); g++; if (g == s) { g = 0; l++ } } }, animationcubesize: function (f) { var u = this; this.settings.is_animating = true; easing = (this.settings.easing_default == "") ? "easeinoutquad" : this.settings.easing_default; var q = 600 / this.settings.velocity; var y = this.box_skitter.find(".image_main").attr("src"); this.setactuallevel(); this.setlinkatual(); this.box_skitter.find(".image_main").attr({ src: this.settings.image_atual }); var e = math.ceil(this.settings.width_skitter / (this.settings.width_skitter / 8)); var t = math.ceil(this.settings.height_skitter / (this.settings.height_skitter / 3)); var b = e * t; var k = math.ceil(this.settings.width_skitter / e); var o = math.ceil(this.settings.height_skitter / t); var s = 0; var m = 0; var g = 0; var l = 0; var p = math.ceil(this.settings.width_skitter / 6); for (i = 0; i < b; i++) { s = (i % 2 == 0) ? s : -s; m = (i % 2 == 0) ? m : -m; var w = s + (o * g); var v = (m + (k * l)); var a = -(o * g); var z = -(k * l); var x = w - p; var j = v - p; var n = this.getboxcloneimgold(y); n.css({ left: v, top: w, width: k, height: o }); n.find("img").css({ left: z, top: a }); this.addboxclone(n); n.show(); var r = 50 * i; var h = (i == (b - 1)) ? function () { u.finishanimation() } : ""; n.delay(r).animate({ opacity: "hide", width: "hide", height: "hide", top: w + (k * 1.5), left: v + (o * 1.5) }, q, easing, h); g++; if (g == t) { g = 0; l++ } } }, animationhorizontal: function (p) { var n = this; this.settings.is_animating = true; easing = (this.settings.easing_default == "") ? "easeoutquad" : this.settings.easing_default; var g = 500 / this.settings.velocity; this.setactuallevel(); var h = math.ceil(this.settings.width_skitter / (this.settings.width_skitter / 7)); var o = (this.settings.width_skitter); var k = math.ceil(this.settings.height_skitter / h); for (i = 0; i < h; i++) { var m = (i % 2 == 0 ? "" : "") + o; var l = (i * k); var f = this.getboxclone(); f.css({ left: m + "px", top: l + "px", width: o, height: k }); f.find("img").css({ left: 0, top: -l }); this.addboxclone(f); var e = 70 * i; var j = (i == (h - 1)) ? function () { n.finishanimation() } : ""; f.delay(e).animate({ opacity: "show", top: l, left: 0 }, g, easing, j) } }, animationshowbars: function (q) { var o = this; var q = b.extend({}, { random: false }, q || {}); this.settings.is_animating = true; easing = (this.settings.easing_default == "") ? "easeoutquad" : this.settings.easing_default; var h = 400 / this.settings.velocity; this.setactuallevel(); var j = math.ceil(this.settings.width_skitter / (this.settings.width_skitter / 10)); var p = math.ceil(this.settings.width_skitter / j); var l = (this.settings.height_skitter); for (i = 0; i < j; i++) { var n = (p * (i)); var m = 0; var g = this.getboxclone(); g.css({ left: n, top: m - 50, width: p, height: l }); g.find("img").css({ left: -(p * i), top: 0 }); this.addboxclone(g); if (q.random) { var f = this.getrandom(j); var e = 50 * f; e = (i == (j - 1)) ? (50 * j) : e } else { var e = 70 * (i); h = h - (i * 2) } var k = (i == (j - 1)) ? function () { o.finishanimation() } : ""; g.delay(e).animate({ opacity: "show", top: m + "px", left: n + "px" }, h, easing, k) } }, animationtube: function (r) { var o = this; this.settings.is_animating = true; easing = (this.settings.easing_default == "") ? "easeoutelastic" : this.settings.easing_default; var h = 600 / this.settings.velocity; this.setactuallevel(); var k = math.ceil(this.settings.width_skitter / (this.settings.width_skitter / 10)); var q = math.ceil(this.settings.width_skitter / k); var m = this.settings.height_skitter; for (i = 0; i < k; i++) { var n = 0; var j = m; var p = q * i; var g = this.getboxclone(); g.css({ left: p, top: j, height: m, width: q }); g.find("img").css({ left: -(p) }); this.addboxclone(g); var f = this.getrandom(k); var e = 40 * f; var l = (i == (k - 1)) ? function () { o.finishanimation() } : ""; g.show().delay(e).animate({ top: n }, h, easing, l) } }, animationfade: function (o) { var m = this; this.settings.is_animating = true; easing = (this.settings.easing_default == "") ? "easeoutquad" : this.settings.easing_default; var g = 800 / this.settings.velocity; this.setactuallevel(); var n = this.settings.width_skitter; var l = this.settings.height_skitter; var j = 2; for (i = 0; i < j; i++) { var h = 0; var e = 0; var f = this.getboxclone(); f.css({ left: e, top: h, width: n, height: l }); this.addboxclone(f); var k = (i == (j - 1)) ? function () { m.finishanimation() } : ""; f.animate({ opacity: "show", left: 0, top: 0 }, g, easing, k) } }, animationfadefour: function (o) { var m = this; this.settings.is_animating = true; easing = (this.settings.easing_default == "") ? "easeoutquad" : this.settings.easing_default; var g = 500 / this.settings.velocity; this.setactuallevel(); var n = this.settings.width_skitter; var l = this.settings.height_skitter; var j = 4; for (i = 0; i < j; i++) { if (i == 0) { var h = "-100px"; var e = "-100px" } else { if (i == 1) { var h = "-100px"; var e = "100px" } else { if (i == 2) { var h = "100px"; var e = "-100px" } else { if (i == 3) { var h = "100px"; var e = "100px" } } } } var f = this.getboxclone(); f.css({ left: e, top: h, width: n, height: l }); this.addboxclone(f); var k = (i == (j - 1)) ? function () { m.finishanimation() } : ""; f.animate({ opacity: "show", left: 0, top: 0 }, g, easing, k) } }, animationparalell: function (p) { var n = this; this.settings.is_animating = true; easing = (this.settings.easing_default == "") ? "easeoutcirc" : this.settings.easing_default; var g = 400 / this.settings.velocity; this.setactuallevel(); var h = math.ceil(this.settings.width_skitter / (this.settings.width_skitter / 16)); var o = math.ceil(this.settings.width_skitter / h); var k = this.settings.height_skitter; for (i = 0; i < h; i++) { var m = (o * (i)); var l = 0; var f = this.getboxclone(); f.css({ left: m, top: l - this.settings.height_skitter, width: o, height: k }); f.find("img").css({ left: -(o * i), top: 0 }); this.addboxclone(f); var e; if (i <= ((h / 2) - 1)) { e = 1400 - (i * 200) } else { if (i > ((h / 2) - 1)) { e = ((i - (h / 2)) * 200) } } e = e / 2.5; var j = (i == (h - 1)) ? function () { n.finishanimation() } : ""; f.show().delay(e).animate({ top: l + "px", left: m + "px" }, g, easing, j) } }, animationblind: function (p) { var n = this; var p = b.extend({}, { height: false }, p || {}); this.settings.is_animating = true; easing = (this.settings.easing_default == "") ? "easeoutquad" : this.settings.easing_default; var g = 400 / this.settings.velocity; this.setactuallevel(); var h = math.ceil(this.settings.width_skitter / (this.settings.width_skitter / 16)); var o = math.ceil(this.settings.width_skitter / h); var k = this.settings.height_skitter; for (i = 0; i < h; i++) { var m = (o * (i)); var l = 0; var f = this.getboxclone(); f.css({ left: m, top: l, width: o, height: k }); f.find("img").css({ left: -(o * i), top: 0 }); this.addboxclone(f); var e; if (!p.height) { if (i <= ((h / 2) - 1)) { e = 1400 - (i * 200) } else { if (i > ((h / 2) - 1)) { e = ((i - (h / 2)) * 200) } } var j = (i == (h - 1)) ? function () { n.finishanimation() } : "" } else { if (i <= ((h / 2) - 1)) { e = 200 + (i * 200) } else { if (i > ((h / 2) - 1)) { e = (((h / 2) - i) * 200) + (h * 100) } } var j = (i == (h / 2)) ? function () { n.finishanimation() } : "" } e = e / 2.5; if (!p.height) { f.delay(e).animate({ opacity: "show", top: l + "px", left: m + "px", width: "show" }, g, easing, j) } else { g = g + (i * 2); easing = "easeoutquad"; f.delay(e).animate({ opacity: "show", top: l + "px", left: m + "px", height: "show" }, g, easing, j) } } }, animationblinddimension: function (p) { var n = this; var p = b.extend({}, { height: true, time_animate: 500, delay: 100 }, p || {}); this.settings.is_animating = true; easing = (this.settings.easing_default == "") ? "easeoutquad" : this.settings.easing_default; var g = p.time_animate / this.settings.velocity; this.setactuallevel(); var h = math.ceil(this.settings.width_skitter / (this.settings.width_skitter / 16)); var o = math.ceil(this.settings.width_skitter / h); var k = this.settings.height_skitter; for (i = 0; i < h; i++) { var m = (o * (i)); var l = 0; var f = this.getboxclone(); f.css({ left: m, top: l, width: o, height: k }); f.find("img").css({ left: -(o * i), top: 0 }); this.addboxclone(f); var e = p.delay * i; var j = (i == (h - 1)) ? function () { n.finishanimation() } : ""; if (!p.height) { f.delay(e).animate({ opacity: "show", top: l + "px", left: m + "px", width: "show" }, g, easing, j) } else { easing = "easeoutquad"; f.delay(e).animate({ opacity: "show", top: l + "px", left: m + "px", height: "show" }, g, easing, j) } } }, animationdirection: function (h) { var s = this; var h = b.extend({}, { direction: "top", delay_type: "sequence", total: 7 }, h || {}); this.settings.is_animating = true; easing = (this.settings.easing_default == "") ? "easeinoutexpo" : this.settings.easing_default; var p = 1200 / this.settings.velocity; var u = this.box_skitter.find(".image_main").attr("src"); this.setactuallevel(); this.setlinkatual(); this.box_skitter.find(".image_main").attr({ src: this.settings.image_atual }); this.box_skitter.find(".image_main").hide(); var z = h.total; for (i = 0; i < z; i++) { switch (h.direction) { default: case "top": var l = math.ceil(this.settings.width_skitter / z); var n = this.settings.height_skitter; var e = 0; var t = (l * i); var j = -n; var o = t; var x = n; var r = t; var y = 0; var f = t; var w = 0; var v = -t; break; case "bottom": var l = math.ceil(this.settings.width_skitter / z); var n = this.settings.height_skitter; var e = 0; var t = (l * i); var j = n; var o = t; var x = -n; var r = t; var y = 0; var f = t; var w = 0; var v = -t; break; case "right": var l = this.settings.width_skitter; var n = math.ceil(this.settings.height_skitter / z); var e = (n * i); var t = 0; var j = e; var o = l; var x = e; var r = -o; var y = e; var f = 0; var w = -e; var v = 0; break; case "left": var l = this.settings.width_skitter; var n = math.ceil(this.settings.height_skitter / z); var e = (n * i); var t = 0; var j = e; var o = -l; var x = e; var r = -o; var y = e; var f = 0; var w = -e; var v = 0; break } switch (h.delay_type) { case "zebra": default: var q = (i % 2 == 0) ? 0 : 150; break; case "random": var q = 30 * (math.random() * 30); break; case "sequence": var q = i * 100; break } var m = this.getboxcloneimgold(u); m.find("img").css({ left: v, top: w }); m.css({ top: e, left: t, width: l, height: n }); this.addboxclone(m); m.show(); m.delay(q).animate({ top: j, left: o }, p, easing); var g = this.getboxclone(); g.find("img").css({ left: v, top: w }); g.css({ top: x, left: r, width: l, height: n }); this.addboxclone(g); g.show(); var k = (i == (z - 1)) ? function () { s.finishanimation() } : ""; g.delay(q).animate({ top: y, left: f }, p, easing, k) } }, animationcubespread: function (f) { var t = this; this.settings.is_animating = true; easing = (this.settings.easing_default == "") ? "easeinoutquad" : this.settings.easing_default; var p = 700 / this.settings.velocity; this.setactuallevel(); var e = math.ceil(this.settings.width_skitter / (this.settings.width_skitter / 8)); var s = math.ceil(this.settings.height_skitter / (this.settings.width_skitter / 8)); var b = e * s; var k = math.ceil(this.settings.width_skitter / e); var o = math.ceil(this.settings.height_skitter / s); var r = 0; var m = 0; var g = 0; var l = 0; var v = new array; var a = new array; for (i = 0; i < b; i++) { r = (i % 2 == 0) ? r : -r; m = (i % 2 == 0) ? m : -m; var w = r + (o * g); var u = (m + (k * l)); v[i] = [w, u]; g++; if (g == s) { g = 0; l++ } } g = 0; l = 0; for (i = 0; i < b; i++) { a[i] = i } var a = t.shufflearray(a); for (i = 0; i < b; i++) { r = (i % 2 == 0) ? r : -r; m = (i % 2 == 0) ? m : -m; var w = r + (o * g); var u = (m + (k * l)); var z = -(o * g); var y = -(k * l); var x = w; var j = u; w = v[a[i]][0]; u = v[a[i]][1]; var n = this.getboxclone(); n.css({ left: u + "px", top: w + "px", width: k, height: o }); n.find("img").css({ left: y, top: z }); this.addboxclone(n); var q = 30 * (math.random() * 30); if (i == (b - 1)) { q = 30 * 30 } var h = (i == (b - 1)) ? function () { t.finishanimation() } : ""; n.delay(q).animate({ opacity: "show", top: x + "px", left: j + "px" }, p, easing, h); g++; if (g == s) { g = 0; l++ } } }, animationglasscube: function (u) { var s = this; this.settings.is_animating = true; easing = (this.settings.easing_default == "") ? "easeoutexpo" : this.settings.easing_default; var l = 500 / this.settings.velocity; this.setactuallevel(); var m = math.ceil(this.settings.width_skitter / (this.settings.width_skitter / 10)) * 2; var t = math.ceil(this.settings.width_skitter / m) * 2; var r = (this.settings.height_skitter) / 2; var g = 0; for (i = 0; i < m; i++) { mod = (i % 2) == 0 ? true : false; var h = (t * (g)); var e = (mod) ? -s.settings.height_skitter : s.settings.height_skitter; var k = (t * (g)); var n = (mod) ? 0 : (r); var q = -(t * g); var p = (mod) ? 0 : -(r); var f = 120 * g; var j = this.getboxclone(); j.css({ left: h, top: e, width: t, height: r }); j.find("img").css({ left: q + (t / 1.5), top: p }).delay(f).animate({ left: q, top: p }, (l * 1.9), "easeoutquad"); this.addboxclone(j); var o = (i == (m - 1)) ? function () { s.finishanimation() } : ""; j.show().delay(f).animate({ top: n, left: k }, l, easing, o); if ((i % 2) != 0) { g++ } } }, animationglassblock: function (t) { var r = this; this.settings.is_animating = true; easing = (this.settings.easing_default == "") ? "easeoutexpo" : this.settings.easing_default; var k = 700 / this.settings.velocity; this.setactuallevel(); var l = math.ceil(this.settings.width_skitter / (this.settings.width_skitter / 10)); var s = math.ceil(this.settings.width_skitter / l); var q = (this.settings.height_skitter); for (i = 0; i < l; i++) { var g = (s * (i)); var e = 0; var j = (s * (i)); var m = 0; var p = -(s * (i)); var o = 0; var f = 100 * i; var h = this.getboxclone(); h.css({ left: g, top: e, width: s, height: q }); h.find("img").css({ left: p + (s / 1.5), top: o }).delay(f).animate({ left: p, top: o }, (k * 1.1), "easeinoutquad"); this.addboxclone(h); var n = (i == (l - 1)) ? function () { r.finishanimation() } : ""; h.delay(f).animate({ top: m, left: j, opacity: "show" }, k, easing, n) } }, finishanimation: function (f) { var e = this; this.box_skitter.find(".image_main").show(); this.showboxtext(); this.settings.is_animating = false; if (!this.settings.is_hover_box_skitter) { this.timer = settimeout(function () { e.completemove() }, this.settings.interval); this.box_skitter.find(".image_main").attr({ src: this.settings.image_atual }); this.box_skitter.find(".image a").attr({ href: this.settings.link_atual }) } }, completemove: function () { this.cleartimer(true); this.box_skitter.find(".box_clone").remove(); this.nextimage() }, setactuallevel: function () { this.setimagelink(); this.addclassnumber(); this.hideboxtext(); this.increasingimage() }, setimagelink: function () { var g = this.settings.images_links[this.settings.image_i][0]; var f = this.settings.images_links[this.settings.image_i][1]; var e = this.settings.images_links[this.settings.image_i][3]; this.settings.image_atual = g; this.settings.link_atual = f; this.settings.label_atual = e }, addclassnumber: function () { var e = this; this.box_skitter.find(".image_number_select").animate(e.settings.animatenumberout, 500).removeclass("image_number_select"); b("#image_n_" + (this.settings.image_i + 1) + "_" + e.number_skitter).animate(e.settings.animatenumberactive, 700).addclass("image_number_select") }, increasingimage: function () { this.settings.image_i++; if (this.settings.image_i == this.settings.images_links.length) { this.settings.image_i = 0 } }, getboxclone: function () { if (this.settings.link_atual != "#") { var f = b('') } else { var f = b('') } f = this.resizeimage(f); var e = b('
'); e.append(f); return e }, getboxcloneimgold: function (g) { if (this.settings.link_atual != "#") { var f = b('') } else { var f = b('') } f = this.resizeimage(f); var e = b('
'); e.append(f); return e }, resizeimage: function (e) { if (this.settings.fullscreen) { e.find("img").height(this.settings.height_skitter) } return e }, addboxclone: function (e) { this.box_skitter.find(".container_skitter").append(e) }, geteasing: function (f) { var e = ["easeinquad", "easeoutquad", "easeinoutquad", "easeincubic", "easeoutcubic", "easeinoutcubic", "easeinquart", "easeoutquart", "easeinoutquart", "easeinquint", "easeoutquint", "easeinoutquint", "easeinsine", "easeoutsine", "easeinoutsine", "easeinexpo", "easeoutexpo", "easeinoutexpo", "easeincirc", "easeoutcirc", "easeinoutcirc", "easeinelastic", "easeoutelastic", "easeinoutelastic", "easeinback", "easeoutback", "easeinoutback", "easeinbounce", "easeoutbounce", "easeinoutbounce", ]; if (jq.inarray(f, e) > 0) { return f } else { return "" } }, getrandom: function (e) { return math.floor(math.random() * e) }, setvalueboxtext: function () { this.box_skitter.find(".label_skitter").html(this.settings.label_atual) }, showboxtext: function () { var e = this; if (this.settings.label_atual != undefined && this.settings.label_atual != "" && e.settings.label) { e.box_skitter.find(".label_skitter").fadein(400) } }, hideboxtext: function () { var e = this; this.box_skitter.find(".label_skitter").fadeout(200, function () { e.setvalueboxtext() }) }, stoponmouseover: function () { var g = this; var f = g.settings.opacity_elements; var e = g.settings.interval_in_elements; var h = g.settings.interval_out_elements; g.box_skitter.hover(function () { if (g.settings.hidetools) { if (g.settings.numbers) { g.box_skitter.find(".info_slide").show().css({ opacity: 0 }).animate({ opacity: f }, e) } if (g.settings.navigation) { g.box_skitter.find(".prev_button").show().css({ opacity: 0 }).animate({ opacity: f }, e); g.box_skitter.find(".next_button").show().css({ opacity: 0 }).animate({ opacity: f }, e) } } g.cleartimer(true); g.settings.is_hover_box_skitter = true }, function () { if (g.settings.hidetools) { if (g.settings.numbers) { g.box_skitter.find(".info_slide").queue("fx", []).show().css({ opacity: f }).animate({ opacity: 0 }, h) } if (g.settings.navigation) { g.box_skitter.find(".prev_button").queue("fx", []).show().css({ opacity: f }).animate({ opacity: 0 }, h); g.box_skitter.find(".next_button").queue("fx", []).show().css({ opacity: f }).animate({ opacity: 0 }, h) } } g.cleartimer(true); if (!g.settings.is_animating && g.settings.images_links.length > 1) { g.timer = settimeout(function () { g.timer = settimeout(function () { g.completemove() }, g.settings.interval); g.box_skitter.find(".image_main").attr({ src: g.settings.image_atual }); g.box_skitter.find(".image a").attr({ href: g.settings.link_atual }) }, g.settings.interval) } g.settings.is_hover_box_skitter = false }) }, cleartimer: function (f) { var e = this; clearinterval(e.timer) }, setlinkatual: function () { if (this.settings.link_atual != "#") { this.box_skitter.find(".image a").attr({ href: this.settings.link_atual }) } else { this.box_skitter.find(".image a").removeattr("href") } }, hidetools: function () { this.box_skitter.find(".info_slide").hide(); this.box_skitter.find(".prev_button").hide(); this.box_skitter.find(".next_button").hide(); this.box_skitter.find(".label_skitter").hide() }, shufflearray: function (h) { var e = this; var f = new array(); var g; while (h.length > 0) { g = e.randomunique(0, h.length - 1); f[f.length] = h[g]; h.splice(g, 1) } return f }, randomunique: function (g, e) { var f; do { f = math.random() } while (f == 1); return (f * (e - g + 1) + g) | 0 } }) })(jq); jq.easing.jswing = jq.easing.swing; jq.extend(jq.easing, { def: "easeoutquad", swing: function (e, f, a, h, g) { return jq.easing[jq.easing.def](e, f, a, h, g) }, easeinquad: function (e, f, a, h, g) { return h * (f /= g) * f + a }, easeoutquad: function (e, f, a, h, g) { return -h * (f /= g) * (f - 2) + a }, easeinoutquad: function (e, f, a, h, g) { if ((f /= g / 2) < 1) { return h / 2 * f * f + a } return -h / 2 * ((--f) * (f - 2) - 1) + a }, easeincubic: function (e, f, a, h, g) { return h * (f /= g) * f * f + a }, easeoutcubic: function (e, f, a, h, g) { return h * ((f = f / g - 1) * f * f + 1) + a }, easeinoutcubic: function (e, f, a, h, g) { if ((f /= g / 2) < 1) { return h / 2 * f * f * f + a } return h / 2 * ((f -= 2) * f * f + 2) + a }, easeinquart: function (e, f, a, h, g) { return h * (f /= g) * f * f * f + a }, easeoutquart: function (e, f, a, h, g) { return -h * ((f = f / g - 1) * f * f * f - 1) + a }, easeinoutquart: function (e, f, a, h, g) { if ((f /= g / 2) < 1) { return h / 2 * f * f * f * f + a } return -h / 2 * ((f -= 2) * f * f * f - 2) + a }, easeinquint: function (e, f, a, h, g) { return h * (f /= g) * f * f * f * f + a }, easeoutquint: function (e, f, a, h, g) { return h * ((f = f / g - 1) * f * f * f * f + 1) + a }, easeinoutquint: function (e, f, a, h, g) { if ((f /= g / 2) < 1) { return h / 2 * f * f * f * f * f + a } return h / 2 * ((f -= 2) * f * f * f * f + 2) + a }, easeinsine: function (e, f, a, h, g) { return -h * math.cos(f / g * (math.pi / 2)) + h + a }, easeoutsine: function (e, f, a, h, g) { return h * math.sin(f / g * (math.pi / 2)) + a }, easeinoutsine: function (e, f, a, h, g) { return -h / 2 * (math.cos(math.pi * f / g) - 1) + a }, easeinexpo: function (e, f, a, h, g) { return (f == 0) ? a : h * math.pow(2, 10 * (f / g - 1)) + a }, easeoutexpo: function (e, f, a, h, g) { return (f == g) ? a + h : h * (-math.pow(2, -10 * f / g) + 1) + a }, easeinoutexpo: function (e, f, a, h, g) { if (f == 0) { return a } if (f == g) { return a + h } if ((f /= g / 2) < 1) { return h / 2 * math.pow(2, 10 * (f - 1)) + a } return h / 2 * (-math.pow(2, -10 * --f) + 2) + a }, easeincirc: function (e, f, a, h, g) { return -h * (math.sqrt(1 - (f /= g) * f) - 1) + a }, easeoutcirc: function (e, f, a, h, g) { return h * math.sqrt(1 - (f = f / g - 1) * f) + a }, easeinoutcirc: function (e, f, a, h, g) { if ((f /= g / 2) < 1) { return -h / 2 * (math.sqrt(1 - f * f) - 1) + a } return h / 2 * (math.sqrt(1 - (f -= 2) * f) + 1) + a }, easeinelastic: function (f, h, e, l, k) { var i = 1.70158; var j = 0; var g = l; if (h == 0) { return e } if ((h /= k) == 1) { return e + l } if (!j) { j = k * 0.3 } if (g < math.abs(l)) { g = l; var i = j / 4 } else { var i = j / (2 * math.pi) * math.asin(l / g) } return -(g * math.pow(2, 10 * (h -= 1)) * math.sin((h * k - i) * (2 * math.pi) / j)) + e }, easeoutelastic: function (f, h, e, l, k) { var i = 1.70158; var j = 0; var g = l; if (h == 0) { return e } if ((h /= k) == 1) { return e + l } if (!j) { j = k * 0.3 } if (g < math.abs(l)) { g = l; var i = j / 4 } else { var i = j / (2 * math.pi) * math.asin(l / g) } return g * math.pow(2, -10 * h) * math.sin((h * k - i) * (2 * math.pi) / j) + l + e }, easeinoutelastic: function (f, h, e, l, k) { var i = 1.70158; var j = 0; var g = l; if (h == 0) { return e } if ((h /= k / 2) == 2) { return e + l } if (!j) { j = k * (0.3 * 1.5) } if (g < math.abs(l)) { g = l; var i = j / 4 } else { var i = j / (2 * math.pi) * math.asin(l / g) } if (h < 1) { return -0.5 * (g * math.pow(2, 10 * (h -= 1)) * math.sin((h * k - i) * (2 * math.pi) / j)) + e } return g * math.pow(2, -10 * (h -= 1)) * math.sin((h * k - i) * (2 * math.pi) / j) * 0.5 + l + e }, easeinback: function (e, f, a, i, h, g) { if (g == undefined) { g = 1.70158 } return i * (f /= h) * f * ((g + 1) * f - g) + a }, easeoutback: function (e, f, a, i, h, g) { if (g == undefined) { g = 1.70158 } return i * ((f = f / h - 1) * f * ((g + 1) * f + g) + 1) + a }, easeinoutback: function (e, f, a, i, h, g) { if (g == undefined) { g = 1.70158 } if ((f /= h / 2) < 1) { return i / 2 * (f * f * (((g *= (1.525)) + 1) * f - g)) + a } return i / 2 * ((f -= 2) * f * (((g *= (1.525)) + 1) * f + g) + 2) + a }, easeinbounce: function (e, f, a, h, g) { return h - jq.easing.easeoutbounce(e, g - f, 0, h, g) + a }, easeoutbounce: function (e, f, a, h, g) { if ((f /= g) < (1 / 2.75)) { return h * (7.5625 * f * f) + a } else { if (f < (2 / 2.75)) { return h * (7.5625 * (f -= (1.5 / 2.75)) * f + 0.75) + a } else { if (f < (2.5 / 2.75)) { return h * (7.5625 * (f -= (2.25 / 2.75)) * f + 0.9375) + a } else { return h * (7.5625 * (f -= (2.625 / 2.75)) * f + 0.984375) + a } } } }, easeinoutbounce: function (e, f, a, h, g) { if (f < g / 2) { return jq.easing.easeinbounce(e, f * 2, 0, h, g) * 0.5 + a } return jq.easing.easeoutbounce(e, f * 2 - g, 0, h, g) * 0.5 + h * 0.5 + a } }); (function (d) { function i() { var b = d("script:first"), a = b.css("color"), c = false; if (/^rgba/.test(a)) c = true; else try { c = a != b.css("color", "rgba(0, 0, 0, 0.5)").css("color"); b.css("color", a) } catch (e) { } return c } function g(b, a, c) { var e = "rgb" + (d.support.rgba ? "a" : "") + "(" + parseint(b[0] + c * (a[0] - b[0]), 10) + "," + parseint(b[1] + c * (a[1] - b[1]), 10) + "," + parseint(b[2] + c * (a[2] - b[2]), 10); if (d.support.rgba) e += "," + (b && a ? parsefloat(b[3] + c * (a[3] - b[3])) : 1); e += ")"; return e } function f(b) { var a, c; if (a = /#([0-9a-fa-f]{2})([0-9a-fa-f]{2})([0-9a-fa-f]{2})/.exec(b)) c = [parseint(a[1], 16), parseint(a[2], 16), parseint(a[3], 16), 1]; else if (a = /#([0-9a-fa-f])([0-9a-fa-f])([0-9a-fa-f])/.exec(b)) c = [parseint(a[1], 16) * 17, parseint(a[2], 16) * 17, parseint(a[3], 16) * 17, 1]; else if (a = /rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(b)) c = [parseint(a[1]), parseint(a[2]), parseint(a[3]), 1]; else if (a = /rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9\.]*)\s*\)/.exec(b)) c = [parseint(a[1], 10), parseint(a[2], 10), parseint(a[3], 10), parsefloat(a[4])]; return c } d.extend(true, d, { support: { rgba: i() } }); var h = ["color", "backgroundcolor", "borderbottomcolor", "borderleftcolor", "borderrightcolor", "bordertopcolor", "outlinecolor"]; d.each(h, function (b, a) { d.fx.step[a] = function (c) { if (!c.init) { c.a = f(d(c.elem).css(a)); c.end = f(c.end); c.init = true } c.elem.style[a] = g(c.a, c.end, c.pos) } }); d.fx.step.bordercolor = function (b) { if (!b.init) b.end = f(b.end); var a = h.slice(2, 6); d.each(a, function (c, e) { b.init || (b[e] = { a: f(d(b.elem).css(e)) }); b.elem.style[e] = g(b[e].a, b.end, b.pos) }); b.init = true } })(jq); (function () { jq.noconflict(); jq('#slideshow').skitter({ width: 980, height: 318, animation: 'random', structure: 'prev' + 'next' + '' + '
' + '
' + '' + '
' + '
' + '
', velocity: 1.3, interval: 3500, thumb_width: '70px', thumb_height: '40px', caption: 'bottom', caption_width: '250', navigation: 1, fullscreen: false }) })();