(function() { var S = "scroll", mb = "relative", V = "toggle", u = "hide", G = "display", J = "olddisplay", t = "show", jb = "marginLeft", ib = "marginTop", hb = "Last-Modified", U = "parsererror", R = "json", ab = "notmodified", B = "success", x = "GET", O = "1px", s = "none", Z = "complete", N = "(\\.|$)", M = "(^|\\.)", I = "on", r = "handle", A = "href", qb = "className", L = "fx", w = "previousSibling", lb = "nextSibling", gb = "parentNode", fb = "tabIndex", i = "undefined", F = "opacity", E = "margin", H = "border", eb = "Left", Q = "block", z = "hidden", kb = "absolute", p = "px", Y = "text/javascript", P = "[object Array]", X = "boolean", k = "script", D = "tbody", y = "number", K = "closest", o = "events", l = "*", n = "div", d = false, b = true, c = null, v = "object", C = "height", q = "width", m = ".", g = " ", bb = "find", e = "", f = "string", j = this, h, Jb = j.jQuery, Gb = j.$, a = j.jQuery = j.$ = function(b, c) { return new a.fn.init(b, c) }, Eb = /^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/, Fb = /^.[^:#\[\.,]*$/; a.fn = a.prototype = { init: function(b, g) { var c = this; b = b || document; if (b.nodeType) { c[0] = b; c.length = 1; c.context = b; return c } if (typeof b === f) { var d = Eb.exec(b); if (d && (d[1] || !g)) if (d[1]) b = a.clean([d[1]], g); else { var h = document.getElementById(d[3]); if (h && h.id != d[3]) return a().find(b); var e = a(h || []); e.context = document; e.selector = b; return e } else return a(g).find(b) } else if (a.isFunction(b)) return a(document).ready(b); if (b.selector && b.context) { c.selector = b.selector; c.context = b.context } return c.setArray(a.isArray(b) ? b : a.makeArray(b)) }, selector: e, jquery: "1.3.2", size: function() { return this.length }, "get": function(a) { return a === h ? Array.prototype.slice.call(this) : this[a] }, pushStack: function(h, d, f) { var b = this, c = a(h); c.prevObject = b; c.context = b.context; if (d === bb) c.selector = b.selector + (b.selector ? g : e) + f; else if (d) c.selector = b.selector + m + d + "(" + f + ")"; return c }, setArray: function(a) { this.length = 0; Array.prototype.push.apply(this, a); return this }, each: function(c, b) { return a.each(this, c, b) }, index: function(b) { return a.inArray(b && b.jquery ? b[0] : b, this) }, attr: function(b, e, d) { var c = b; if (typeof b === f) if (e === h) return this[0] && a[d || "attr"](this[0], b); else { c = {}; c[b] = e } return this.each(function(e) { for (b in c) a.attr(d ? this.style : this, b, a.prop(this, c[b], d, e, b)) }) }, css: function(a, b) { if ((a == q || a == C) && parseFloat(b) < 0) b = h; return this.attr(a, b, "curCSS") }, text: function(d) { var b = this; if (typeof d !== v && d != c) return b.empty().append((b[0] && b[0].ownerDocument || document).createTextNode(d)); var f = e; a.each(d || b, function() { a.each(this.childNodes, function() { var b = this; if (b.nodeType != 8) f += b.nodeType != 1 ? b.nodeValue : a.fn.text([b]) }) }); return f }, wrapAll: function(d) { var b = this; if (b[0]) { var c = a(d, b[0].ownerDocument).clone(); b[0].parentNode && c.insertBefore(b[0]); c.map(function() { var a = this; while (a.firstChild) a = a.firstChild; return a }).append(b) } return b }, wrapInner: function(b) { return this.each(function() { a(this).contents().wrapAll(b) }) }, wrap: function(b) { return this.each(function() { a(this).wrapAll(b) }) }, append: function() { return this.domManip(arguments, b, function(a) { this.nodeType == 1 && this.appendChild(a) }) }, prepend: function() { return this.domManip(arguments, b, function(a) { this.nodeType == 1 && this.insertBefore(a, this.firstChild) }) }, before: function() { return this.domManip(arguments, d, function(a) { this.parentNode.insertBefore(a, this) }) }, after: function() { return this.domManip(arguments, d, function(a) { this.parentNode.insertBefore(a, this.nextSibling) }) }, end: function() { return this.prevObject || a([]) }, push: [].push, sort: [].sort, splice: [].splice, find: function(c) { var b = this; if (b.length === 1) { var d = b.pushStack([], bb, c); d.length = 0; a.find(c, b[0], d); return d } else return b.pushStack(a.unique(a.map(b, function(b) { return a.find(c, b) })), bb, c) }, clone: function(g) { var d = this.map(function() { var c = this; if (!a.support.noCloneEvent && !a.isXMLDoc(c)) { var d = c.outerHTML; if (!d) { var f = c.ownerDocument.createElement(n); f.appendChild(c.cloneNode(b)); d = f.innerHTML } return a.clean([d.replace(/ jQuery\d+="(?:\d+|null)"/g, e).replace(/^\s*/, e)])[0] } else return c.cloneNode(b) }); if (g === b) { var f = this.find(l).andSelf(), c = 0; d.find(l).andSelf().each(function() { if (this.nodeName !== f[c].nodeName) return; var b = a.data(f[c], o); for (var d in b) for (var e in b[d]) a.event.add(this, d, b[d][e], b[d][e].data); c++ }) } return d }, filter: function(b) { return this.pushStack(a.isFunction(b) && a.grep(this, function(c, a) { return b.call(c, a) }) || a.multiFilter(b, a.grep(this, function(a) { return a.nodeType === 1 })), "filter", b) }, closest: function(b) { var e = a.expr.match.POS.test(b) ? a(b) : c, d = 0; return this.map(function() { var c = this; while (c && c.ownerDocument) { if (e ? e.index(c) > -1 : a(c).is(b)) { a.data(c, K, d); return c } c = c.parentNode; d++ } }) }, not: function(c) { var d = this; if (typeof c === f) if (Fb.test(c)) return d.pushStack(a.multiFilter(c, d, b), "not", c); else c = a.multiFilter(c, d); var e = c.length && c[c.length - 1] !== h && !c.nodeType; return d.filter(function() { return e ? a.inArray(this, c) < 0 : this != c }) }, add: function(b) { return this.pushStack(a.unique(a.merge(this.get(), typeof b === f ? a(b) : a.makeArray(b)))) }, is: function(b) { return !!b && a.multiFilter(b, this).length > 0 }, hasClass: function(a) { return !!a && this.is(m + a) }, val: function(b) { if (b === h) { var d = this[0]; if (d) { if (a.nodeName(d, "option")) return (d.attributes.value || {}).specified ? d.value : d.text; if (a.nodeName(d, "select")) { var i = d.selectedIndex, k = [], l = d.options, g = d.type == "select-one"; if (i < 0) return c; for (var f = g ? i : 0, m = g ? i + 1 : l.length; f < m; f++) { var j = l[f]; if (j.selected) { b = a(j).val(); if (g) return b; k.push(b) } } return k } return (d.value || e).replace(/\r/g, e) } return h } if (typeof b === y) b += e; return this.each(function() { var c = this; if (c.nodeType != 1) return; if (a.isArray(b) && /radio|checkbox/.test(c.type)) c.checked = a.inArray(c.value, b) >= 0 || a.inArray(c.name, b) >= 0; else if (a.nodeName(c, "select")) { var d = a.makeArray(b); a("option", c).each(function() { this.selected = a.inArray(this.value, d) >= 0 || a.inArray(this.text, d) >= 0 }); if (!d.length) c.selectedIndex = -1 } else c.value = b }) }, html: function(a) { return a === h ? this[0] ? this[0].innerHTML.replace(/ jQuery\d+="(?:\d+|null)"/g, e) : c : this.empty().append(a) }, replaceWith: function(a) { return this.after(a).remove() }, eq: function(a) { return this.slice(a, +a + 1) }, slice: function() { return this.pushStack(Array.prototype.slice.apply(this, arguments), "slice", Array.prototype.slice.call(arguments).join(",")) }, map: function(b) { return this.pushStack(a.map(this, function(a, c) { return b.call(a, c, a) })) }, andSelf: function() { return this.add(this.prevObject) }, domManip: function(i, l, k) { var c = this; if (c[0]) { var e = (c[0].ownerDocument || c[0]).createDocumentFragment(), f = a.clean(i, c[0].ownerDocument || c[0], e), g = e.firstChild; if (g) for (var d = 0, h = c.length; d < h; d++) k.call(j(c[d], g), c.length > 1 || d > 0 ? e.cloneNode(b) : e); f && a.each(f, Kb) } return c; function j(b, c) { return l && a.nodeName(b, "table") && a.nodeName(c, "tr") ? b.getElementsByTagName(D)[0] || b.appendChild(b.ownerDocument.createElement(D)) : b } } }; a.fn.init.prototype = a.fn; function Kb(c, b) { if (b.src) a.ajax({ url: b.src, async: d, dataType: k }); else a.globalEval(b.text || b.textContent || b.innerHTML || e); b.parentNode && b.parentNode.removeChild(b) } function cb() { return +new Date } a.extend = a.fn.extend = function() { var b = arguments[0] || {}, f = 1, k = arguments.length, i = d, j; if (typeof b === X) { i = b; b = arguments[1] || {}; f = 2 } if (typeof b !== v && !a.isFunction(b)) b = {}; if (k == f) { b = this; --f } for (; f < k; f++) if ((j = arguments[f]) != c) for (var g in j) { var l = b[g], e = j[g]; if (b === e) continue; if (i && e && typeof e === v && !e.nodeType) b[g] = a.extend(i, l || (e.length != c ? [] : {}), e); else if (e !== h) b[g] = e } return b }; var Db = /z-?index|font-?weight|opacity|zoom|line-?height/i, Ab = document.defaultView || {}, Bb = Object.prototype.toString; a.extend({ noConflict: function(b) { j.$ = Gb; if (b) j.jQuery = Jb; return a }, isFunction: function(a) { return Bb.call(a) === "[object Function]" }, isArray: function(a) { return Bb.call(a) === P }, isXMLDoc: function(b) { return b.nodeType === 9 && b.documentElement.nodeName !== "HTML" || !!b.ownerDocument && a.isXMLDoc(b.ownerDocument) }, globalEval: function(c) { if (c && /\S/.test(c)) { var d = document.getElementsByTagName("head")[0] || document.documentElement, b = document.createElement(k); b.type = Y; if (a.support.scriptEval) b.appendChild(document.createTextNode(c)); else b.text = c; d.insertBefore(b, d.firstChild); d.removeChild(b) } }, nodeName: function(a, b) { return a.nodeName && a.nodeName.toUpperCase() == b.toUpperCase() }, each: function(a, f, g) { var b, c = 0, e = a.length; if (g) { if (e === h) { for (b in a) if (f.apply(a[b], g) === d) break } else for (; c < e; ) if (f.apply(a[c++], g) === d) break } else if (e === h) { for (b in a) if (f.call(a[b], b, a[b]) === d) break } else for (var i = a[0]; c < e && f.call(i, c, i) !== d; i = a[++c]); return a }, prop: function(f, b, e, d, c) { if (a.isFunction(b)) b = b.call(f, d); return typeof b === y && e == "curCSS" && !Db.test(c) ? b + p : b }, className: { add: function(b, c) { a.each((c || e).split(/\s+/), function(d, c) { if (b.nodeType == 1 && !a.className.has(b.className, c)) b.className += (b.className ? g : e) + c }) }, remove: function(b, c) { if (b.nodeType == 1) b.className = c !== h ? a.grep(b.className.split(/\s+/), function(b) { return !a.className.has(c, b) }).join(g) : e }, has: function(b, c) { return b && a.inArray(c, (b.className || b).toString().split(/\s+/)) > -1 } }, swap: function(b, c, e) { var d = {}; for (var a in c) { d[a] = b.style[a]; b.style[a] = c[a] } e.call(b); for (var a in c) b.style[a] = d[a] }, css: function(c, d, i, f) { if (d == q || d == C) { var e, h = { position: kb, visibility: z, display: Q }, j = d == q ? [eb, "Right"] : ["Top", "Bottom"]; function g() { e = d == q ? c.offsetWidth : c.offsetHeight; if (f === H) return; a.each(j, function() { if (!f) e -= parseFloat(a.curCSS(c, "padding" + this, b)) || 0; if (f === E) e += parseFloat(a.curCSS(c, E + this, b)) || 0; else e -= parseFloat(a.curCSS(c, H + this + "Width", b)) || 0 }) } if (c.offsetWidth !== 0) g(); else a.swap(c, h, g); return Math.max(0, Math.round(e)) } return a.curCSS(c, d, i) }, curCSS: function(f, b, i) { var d, g = f.style; if (b == F && !a.support.opacity) { d = a.attr(g, F); return d == e ? "1" : d } if (b.match(/float/i)) b = pb; if (!i && g && g[b]) d = g[b]; else if (Ab.getComputedStyle) { if (b.match(/float/i)) b = "float"; b = b.replace(/([A-Z])/g, "-$1").toLowerCase(); var h = Ab.getComputedStyle(f, c); if (h) d = h.getPropertyValue(b); if (b == F && d == e) d = "1" } else if (f.currentStyle) { var k = b.replace(/\-(\w)/g, function(b, a) { return a.toUpperCase() }); d = f.currentStyle[b] || f.currentStyle[k]; if (!/^\d+(px)?$/i.test(d) && /^\d/.test(d)) { var j = g.left, l = f.runtimeStyle.left; f.runtimeStyle.left = f.currentStyle.left; g.left = d || 0; d = g.pixelLeft + p; g.left = j; f.runtimeStyle.left = l } } return d }, clean: function(h, d, j) { d = d || document; if (typeof d.createElement === i) d = d.ownerDocument || d[0] && d[0].ownerDocument || document; if (!j && h.length === 1 && typeof h[0] === f) { var m = /^<(\w+)\s*\/?>$/.exec(h[0]); if (m) return [d.createElement(m[1])] } var b = [], l = [], g = d.createElement(n); a.each(h, function(m, c) { if (typeof c === y) c += e; if (!c) return; if (typeof c === f) { c = c.replace(/(<(\w+)[^>]*?)\/>/g, function(b, c, a) { return a.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i) ? b : c + "></" + a + ">" }); var h = c.replace(/^\s+/, e).substring(0, 10).toLowerCase(), k = !h.indexOf("<opt") && [1, "<select multiple='multiple'>", "</select>"] || !h.indexOf("<leg") && [1, "<fieldset>", "</fieldset>"] || h.match(/^<(thead|tbody|tfoot|colg|cap)/) && [1, "<table>", "</table>"] || !h.indexOf("<tr") && [2, "<table><tbody>", "</tbody></table>"] || (!h.indexOf("<td") || !h.indexOf("<th")) && [3, "<table><tbody><tr>", "</tr></tbody></table>"] || !h.indexOf("<col") && [2, "<table><tbody></tbody><colgroup>", "</colgroup></table>"] || !a.support.htmlSerialize && [1, "div<div>", "</div>"] || [0, e, e]; g.innerHTML = k[1] + c + k[2]; while (k[0]--) g = g.lastChild; if (!a.support.tbody) for (var l = /<tbody/i.test(c), j = !h.indexOf("<table") && !l ? g.firstChild && g.firstChild.childNodes : k[1] == "<table>" && !l ? g.childNodes : [], i = j.length - 1; i >= 0; --i) a.nodeName(j[i], D) && !j[i].childNodes.length && j[i].parentNode.removeChild(j[i]); !a.support.leadingWhitespace && /^\s/.test(c) && g.insertBefore(d.createTextNode(c.match(/^\s*/)[0]), g.firstChild); c = a.makeArray(g.childNodes) } if (c.nodeType) b.push(c); else b = a.merge(b, c) }); if (j) { for (var c = 0; b[c]; c++) if (a.nodeName(b[c], k) && (!b[c].type || b[c].type.toLowerCase() === Y)) l.push(b[c].parentNode ? b[c].parentNode.removeChild(b[c]) : b[c]); else { b[c].nodeType === 1 && b.splice.apply(b, [c + 1, 0].concat(a.makeArray(b[c].getElementsByTagName(k)))); j.appendChild(b[c]) } return l } return b }, attr: function(b, d, f) { if (!b || b.nodeType == 3 || b.nodeType == 8) return h; var g = !a.isXMLDoc(b), i = f !== h; d = g && a.props[d] || d; if (b.tagName) { var l = /href|src|style/.test(d); if (d == "selected" && b.parentNode) b.parentNode.selectedIndex; if (d in b && g && !l) { if (i) { if (d == "type" && a.nodeName(b, "input") && b.parentNode) throw "type property can't be changed"; b[d] = f } if (a.nodeName(b, "form") && b.getAttributeNode(d)) return b.getAttributeNode(d).nodeValue; if (d == fb) { var j = b.getAttributeNode(fb); return j && j.specified ? j.value : b.nodeName.match(/(button|input|object|select|textarea)/i) ? 0 : b.nodeName.match(/^(a|area)$/i) && b.href ? 0 : h } return b[d] } if (!a.support.style && g && d == "style") return a.attr(b.style, "cssText", f); i && b.setAttribute(d, e + f); var k = !a.support.hrefNormalized && g && l ? b.getAttribute(d, 2) : b.getAttribute(d); return k === c ? h : k } if (!a.support.opacity && d == F) { if (i) { b.zoom = 1; b.filter = (b.filter || e).replace(/alpha\([^)]*\)/, e) + (parseInt(f) + e == "NaN" ? e : "alpha(opacity=" + f * 100 + ")") } return b.filter && b.filter.indexOf("opacity=") >= 0 ? parseFloat(b.filter.match(/opacity=([^)]*)/)[1]) / 100 + e : e } d = d.replace(/-([a-z])/ig, function(b, a) { return a.toUpperCase() }); if (i) b[d] = f; return b[d] }, trim: function(a) { return (a || e).replace(/^\s+|\s+$/g, e) }, makeArray: function(b) { var e = []; if (b != c) { var d = b.length; if (d == c || typeof b === f || a.isFunction(b) || b.setInterval) e[0] = b; else while (d) e[--d] = b[d] } return e }, inArray: function(d, b) { for (var a = 0, c = b.length; a < c; a++) if (b[a] === d) return a; return -1 }, merge: function(d, e) { var f = 0, b, g = d.length; if (!a.support.getAll) { while ((b = e[f++]) != c) if (b.nodeType != 8) d[g++] = b } else while ((b = e[f++]) != c) d[g++] = b; return d }, unique: function(d) { var e = [], f = {}; try { for (var c = 0, h = d.length; c < h; c++) { var g = a.data(d[c]); if (!f[g]) { f[g] = b; e.push(d[c]) } } } catch (i) { e = d } return e }, grep: function(b, f, d) { for (var c = [], a = 0, e = b.length; a < e; a++) !d != !f(b[a], a) && c.push(b[a]); return c }, map: function(d, g) { for (var a = [], b = 0, f = d.length; b < f; b++) { var e = g(d[b], b); if (e != c) a[a.length] = e } return a.concat.apply([], a) } }); var W = navigator.userAgent.toLowerCase(); a.browser = { version: (W.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/) || [0, "0"])[1], safari: /webkit/.test(W), opera: /opera/.test(W), msie: /msie/.test(W) && !/opera/.test(W), mozilla: /mozilla/.test(W) && !/(compatible|webkit)/.test(W) }; a.each({ parent: function(a) { return a.parentNode }, parents: function(b) { return a.dir(b, gb) }, next: function(b) { return a.nth(b, 2, lb) }, prev: function(b) { return a.nth(b, 2, w) }, nextAll: function(b) { return a.dir(b, lb) }, prevAll: function(b) { return a.dir(b, w) }, siblings: function(b) { return a.sibling(b.parentNode.firstChild, b) }, children: function(b) { return a.sibling(b.firstChild) }, contents: function(b) { return a.nodeName(b, "iframe") ? b.contentDocument || b.contentWindow.document : a.makeArray(b.childNodes) } }, function(b, c) { a.fn[b] = function(d) { var e = a.map(this, c); if (d && typeof d == f) e = a.multiFilter(d, e); return this.pushStack(a.unique(e), b, d) } }); a.each({ appendTo: "append", prependTo: "prepend", insertBefore: "before", insertAfter: "after", replaceAll: "replaceWith" }, function(c, d) { a.fn[c] = function(g) { for (var f = [], i = a(g), e = 0, j = i.length; e < j; e++) { var h = (e > 0 ? this.clone(b) : this).get(); a.fn[d].apply(a(i[e]), h); f = f.concat(h) } return this.pushStack(f, c, g) } }); a.each({ removeAttr: function(b) { a.attr(this, b, e); this.nodeType == 1 && this.removeAttribute(b) }, addClass: function(b) { a.className.add(this, b) }, removeClass: function(b) { a.className.remove(this, b) }, toggleClass: function(c, b) { if (typeof b !== X) b = !a.className.has(this, c); a.className[b ? "add" : "remove"](this, c) }, remove: function(c) { var b = this; if (!c || a.filter(c, [b]).length) { a(l, b).add([b]).each(function() { a.event.remove(this); a.removeData(this) }); b.parentNode && b.parentNode.removeChild(b) } }, empty: function() { var b = this; a(b).children().remove(); while (b.firstChild) b.removeChild(b.firstChild) } }, function(b, c) { a.fn[b] = function() { return this.each(c, arguments) } }); function nb(c, d) { return c[0] && parseInt(a.curCSS(c[0], d, b), 10) || 0 } var T = "jQuery" + cb(), Ib = 0, vb = {}; a.extend({ cache: {}, data: function(c, d, e) { c = c == j ? vb : c; var b = c[T]; if (!b) b = c[T] = ++Ib; if (d && !a.cache[b]) a.cache[b] = {}; if (e !== h) a.cache[b][d] = e; return d ? a.cache[b][d] : b }, removeData: function(b, c) { b = b == j ? vb : b; var d = b[T]; if (c) { if (a.cache[d]) { delete a.cache[d][c]; c = e; for (c in a.cache[d]) break; !c && a.removeData(b) } } else { try { delete b[T] } catch (f) { b.removeAttribute && b.removeAttribute(T) } delete a.cache[d] } }, queue: function(e, b, d) { if (e) { b = (b || L) + "queue"; var c = a.data(e, b); if (!c || a.isArray(d)) c = a.data(e, b, a.makeArray(d)); else d && c.push(d) } return c }, dequeue: function(e, c) { var d = a.queue(e, c), b = d.shift(); if (!c || c === L) b = d[0]; b !== h && b.call(e) } }); a.fn.extend({ data: function(f, g) { var c = this, b = f.split(m); b[1] = b[1] ? m + b[1] : e; if (g === h) { var d = c.triggerHandler("getData" + b[1] + "!", [b[0]]); if (d === h && c.length) d = a.data(c[0], f); return d === h && b[1] ? c.data(b[0]) : d } else return c.trigger("setData" + b[1] + "!", [b[0], g]).each(function() { a.data(this, f, g) }) }, removeData: function(b) { return this.each(function() { a.removeData(this, b) }) }, queue: function(b, c) { if (typeof b !== f) { c = b; b = L } if (c === h) return a.queue(this[0], b); return this.each(function() { var d = a.queue(this, b, c); b == L && d.length == 1 && d[0].call(this) }) }, dequeue: function(b) { return this.each(function() { a.dequeue(this, b) }) } }); (function() { var p = "Syntax error, unrecognized expression: ", u = /((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?/g, t = 0, v = Object.prototype.toString, o = function(l, i, j, w) { j = j || []; i = i || document; if (i.nodeType !== 1 && i.nodeType !== 9) return []; if (!l || typeof l !== f) return j; var a = [], z, k, h, D, C, y, B = b; u.lastIndex = 0; while ((z = u.exec(l)) !== c) { a.push(z[1]); if (z[2]) { y = RegExp.rightContext; break } } if (a.length > 1 && F.exec(l)) if (a.length === 2 && m.relative[a[0]]) k = x(a[0] + a[1], i); else { k = m.relative[a[0]] ? [i] : o(a.shift(), i); while (a.length) { l = a.shift(); if (m.relative[l]) l += a.shift(); k = x(l, k) } } else { var A = w ? { expr: a.pop(), "set": r(w)} : o.find(a.pop(), a.length === 1 && i.parentNode ? i.parentNode : i, q(i)); k = o.filter(A.expr, A.set); if (a.length > 0) h = r(k); else B = d; while (a.length) { var n = a.pop(), t = n; if (!m.relative[n]) n = e; else t = a.pop(); if (t == c) t = i; m.relative[n](h, t, q(i)) } } if (!h) h = k; if (!h) throw p + (n || l); if (v.call(h) === P) if (!B) j.push.apply(j, h); else if (i.nodeType === 1) for (var g = 0; h[g] != c; g++) h[g] && (h[g] === b || h[g].nodeType === 1 && E(i, h[g])) && j.push(k[g]); else for (var g = 0; h[g] != c; g++) h[g] && h[g].nodeType === 1 && j.push(k[g]); else r(h, j); if (y) { o(y, i, j, w); if (s) { hasDuplicate = d; j.sort(s); if (hasDuplicate) for (var g = 1; g < j.length; g++) j[g] === j[g - 1] && j.splice(g--, 1) } } return j }; o.matches = function(a, b) { return o(a, c, c, b) }; o.find = function(a, h, j) { var b, d; if (!a) return []; for (var f = 0, k = m.order.length; f < k; f++) { var g = m.order[f], d; if (d = m.match[g].exec(a)) { var i = RegExp.leftContext; if (i.substr(i.length - 1) !== "\\") { d[1] = (d[1] || e).replace(/\\/g, e); b = m.find[g](d, h, j); if (b != c) { a = a.replace(m.match[g], e); break } } } } if (!b) b = h.getElementsByTagName(l); return { "set": b, expr: a} }; o.filter = function(a, k, s, v) { var u = a, n = [], f = k, g, i, x = k && k[0] && q(k[0]); while (a && k.length) { for (var j in m.filter) if ((g = m.match[j].exec(a)) != c) { var w = m.filter[j], l, o; i = d; if (f == n) n = []; if (m.preFilter[j]) { g = m.preFilter[j](g, f, s, n, v, x); if (!g) i = l = b; else if (g === b) continue } if (g) for (var r = 0; (o = f[r]) != c; r++) if (o) { l = w(o, g, r, f); var t = v ^ !!l; if (s && l != c) if (t) i = b; else f[r] = d; else if (t) { n.push(o); i = b } } if (l !== h) { if (!s) f = n; a = a.replace(m.match[j], e); if (!i) return []; break } } if (a == u) if (i == c) throw p + a; else break; u = a } return f }; var m = o.selectors = { order: ["ID", "NAME", "TAG"], match: { ID: /#((?:[\w\u00c0-\uFFFF_-]|\\.)+)/, CLASS: /\.((?:[\w\u00c0-\uFFFF_-]|\\.)+)/, NAME: /\[name=['"]*((?:[\w\u00c0-\uFFFF_-]|\\.)+)['"]*\]/, ATTR: /\[\s*((?:[\w\u00c0-\uFFFF_-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/, TAG: /^((?:[\w\u00c0-\uFFFF\*_-]|\\.)+)/, CHILD: /:(only|nth|last|first)-child(?:\((even|odd|[\dn+-]*)\))?/, POS: /:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^-]|$)/, PSEUDO: /:((?:[\w\u00c0-\uFFFF_-]|\\.)+)(?:\((['"]*)((?:\([^\)]+\)|[^\2\(\)]*)+)\2\))?/ }, attrMap: { "class": qb, "for": "htmlFor" }, attrHandle: { href: function(a) { return a.getAttribute(A) } }, relative: { "+": function(e, c, l) { var i = typeof c === f, h = i && !/\W/.test(c), j = i && !h; if (h && !l) c = c.toUpperCase(); for (var g = 0, k = e.length, a; g < k; g++) if (a = e[g]) { while ((a = a.previousSibling) && a.nodeType !== 1); e[g] = j || a && a.nodeName === c ? a || d : a === c } j && o.filter(c, e, b) }, ">": function(e, a, k) { var h = typeof a === f; if (h && !/\W/.test(a)) { a = k ? a : a.toUpperCase(); for (var c = 0, i = e.length; c < i; c++) { var g = e[c]; if (g) { var j = g.parentNode; e[c] = j.nodeName === a ? j : d } } } else { for (var c = 0, i = e.length; c < i; c++) { var g = e[c]; if (g) e[c] = h ? g.parentNode : g.parentNode === a } h && o.filter(a, e, b) } }, "": function(e, a, c) { var d = t++, b = D; if (!a.match(/\W/)) { var f = a = c ? a : a.toUpperCase(); b = C } b(gb, a, d, e, f, c) }, "~": function(e, a, c) { var d = t++, b = D; if (typeof a === f && !a.match(/\W/)) { var g = a = c ? a : a.toUpperCase(); b = C } b(w, a, d, e, g, c) } }, find: { ID: function(c, b, d) { if (typeof b.getElementById !== i && !d) { var a = b.getElementById(c[1]); return a ? [a] : [] } }, NAME: function(e, f) { if (typeof f.getElementsByName !== i) { for (var b = [], d = f.getElementsByName(e[1]), a = 0, g = d.length; a < g; a++) d[a].getAttribute("name") === e[1] && b.push(d[a]); return b.length === 0 ? c : b } }, TAG: function(a, b) { return b.getElementsByTagName(a[1]) } }, preFilter: { CLASS: function(b, h, i, k, l, j) { b = g + b[1].replace(/\\/g, e) + g; if (j) return b; for (var f = 0, a; (a = h[f]) != c; f++) if (a) if (l ^ (a.className && (g + a.className + g).indexOf(b) >= 0)) !i && k.push(a); else if (i) h[f] = d; return d }, ID: function(a) { return a[1].replace(/\\/g, e) }, TAG: function(c, b) { for (var a = 0; b[a] === d; a++); return b[a] && q(b[a]) ? c[1] : c[1].toUpperCase() }, CHILD: function(a) { if (a[1] == "nth") { 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 } a[0] = t++; return a }, ATTR: function(a, f, h, d, i, c) { var b = a[1].replace(/\\/g, e); if (!c && m.attrMap[b]) a[1] = m.attrMap[b]; if (a[2] === "~=") a[4] = g + a[4] + g; return a }, PSEUDO: function(a, f, g, e, i) { if (a[1] === "not") if (a[3].match(u).length > 1 || /^\w/.test(a[3])) a[3] = o(a[3], c, c, f); else { var h = o.filter(a[3], f, g, b ^ i); !g && e.push.apply(e, h); return d } else if (m.match.POS.test(a[0]) || m.match.CHILD.test(a[0])) return b; return a }, POS: function(a) { a.unshift(b); return a } }, filters: { enabled: function(a) { return a.disabled === d && a.type !== z }, disabled: function(a) { return a.disabled === b }, checked: function(a) { return a.checked === b }, selected: function(a) { a.parentNode.selectedIndex; return a.selected === b }, parent: function(a) { return !!a.firstChild }, empty: function(a) { return !a.firstChild }, has: function(b, c, a) { return !!o(a[3], b).length }, header: function(a) { return /h\d/i.test(a.nodeName) }, text: function(a) { return "text" === a.type }, radio: function(a) { return "radio" === a.type }, checkbox: function(a) { return "checkbox" === a.type }, file: function(a) { return "file" === a.type }, password: function(a) { return "password" === a.type }, submit: function(a) { return "submit" === a.type }, image: function(a) { return "image" === a.type }, reset: function(a) { return "reset" === a.type }, button: function(a) { return "button" === a.type || a.nodeName.toUpperCase() === "BUTTON" }, input: function(a) { return /input|select|textarea|button/i.test(a.nodeName) } }, setFilters: { first: function(b, a) { return a === 0 }, last: function(d, a, c, b) { return a === b.length - 1 }, even: function(b, a) { return a % 2 === 0 }, odd: function(b, a) { return a % 2 === 1 }, lt: function(c, b, a) { return b < a[3] - 0 }, gt: function(c, b, a) { return b > a[3] - 0 }, nth: function(c, b, a) { return a[3] - 0 == b }, eq: function(c, b, a) { return a[3] - 0 == b } }, filter: { PSEUDO: function(f, a, c, j) { var g = a[1], h = m.filters[g]; if (h) return h(f, c, a, j); else if (g === "contains") return (f.textContent || f.innerText || e).indexOf(a[3]) >= 0; else if (g === "not") { for (var i = a[3], c = 0, k = i.length; c < k; c++) if (i[c] === f) return d; return b } }, CHILD: function(c, g) { var k = g[1], a = c; switch (k) { case "only": case "first": while (a = a.previousSibling) if (a.nodeType === 1) return d; if (k == "first") return b; a = c; case "last": while (a = a.nextSibling) if (a.nodeType === 1) return d; return b; case "nth": var f = g[2], i = g[3]; if (f == 1 && i == 0) return b; var j = g[0], e = c.parentNode; if (e && (e.sizcache !== j || !c.nodeIndex)) { var l = 0; for (a = e.firstChild; a; a = a.nextSibling) if (a.nodeType === 1) a.nodeIndex = ++l; e.sizcache = j } var h = c.nodeIndex - i; if (f == 0) return h == 0; else return h % f == 0 && h / f >= 0 } }, ID: function(a, b) { return a.nodeType === 1 && a.getAttribute("id") === b }, TAG: function(b, a) { return a === l && b.nodeType === 1 || b.nodeName === a }, CLASS: function(a, b) { return (g + (a.className || a.getAttribute("class")) + g).indexOf(b) > -1 }, ATTR: function(i, k) { var h = k[1], j = m.attrHandle[h] ? m.attrHandle[h](i) : i[h] != c ? i[h] : i.getAttribute(h), b = j + e, f = k[2], a = k[4]; return j == c ? f === "!=" : f === "=" ? b === a : f === "*=" ? b.indexOf(a) >= 0 : f === "~=" ? (g + b + g).indexOf(a) >= 0 : !a ? b && j !== d : f === "!=" ? b != a : f === "^=" ? b.indexOf(a) === 0 : f === "$=" ? b.substr(b.length - a.length) === a : f === "|=" ? b === a || b.substr(0, a.length + 1) === a + "-" : d }, POS: function(e, a, d, f) { var c = a[2], b = m.setFilters[c]; if (b) return b(e, d, a, f) } } }, F = m.match.POS; for (var B in m.match) m.match[B] = RegExp(m.match[B].source + /(?![^\[]*\])(?![^\(]*\))/.source); var r = function(b, a) { b = Array.prototype.slice.call(b); if (a) { a.push.apply(a, b); return a } return b }; try { Array.prototype.slice.call(document.documentElement.childNodes) } catch (G) { r = function(a, e) { var c = e || []; if (v.call(a) === P) Array.prototype.push.apply(c, a); else if (typeof a.length === y) for (var b = 0, d = a.length; b < d; b++) c.push(a[b]); else for (var b = 0; a[b]; b++) c.push(a[b]); return c } } var s; if (document.documentElement.compareDocumentPosition) s = function(c, a) { var d = c.compareDocumentPosition(a) & 4 ? -1 : c === a ? 0 : 1; if (d === 0) hasDuplicate = b; return d }; else if ("sourceIndex" in document.documentElement) s = function(d, c) { var a = d.sourceIndex - c.sourceIndex; if (a === 0) hasDuplicate = b; return a }; else if (document.createRange) s = function(e, d) { var c = e.ownerDocument.createRange(), a = d.ownerDocument.createRange(); c.selectNode(e); c.collapse(b); a.selectNode(d); a.collapse(b); var f = c.compareBoundaryPoints(Range.START_TO_END, a); if (f === 0) hasDuplicate = b; return f }; (function() { var b = document.createElement("form"), c = k + (new Date).getTime(); b.innerHTML = "<input name='" + c + "'/>"; var a = document.documentElement; a.insertBefore(b, a.firstChild); if (!!document.getElementById(c)) { m.find.ID = function(b, c, d) { if (typeof c.getElementById !== i && !d) { var a = c.getElementById(b[1]); return a ? a.id === b[1] || typeof a.getAttributeNode !== i && a.getAttributeNode("id").nodeValue === b[1] ? [a] : h : [] } }; m.filter.ID = function(a, c) { var b = typeof a.getAttributeNode !== i && a.getAttributeNode("id"); return a.nodeType === 1 && b && b.nodeValue === c } } a.removeChild(b) })(); (function() { var a = document.createElement(n); a.appendChild(document.createComment(e)); if (a.getElementsByTagName(l).length > 0) m.find.TAG = function(c, e) { var a = e.getElementsByTagName(c[1]); if (c[1] === l) { for (var d = [], b = 0; a[b]; b++) a[b].nodeType === 1 && d.push(a[b]); a = d } return a }; a.innerHTML = "<a href='#'></a>"; if (a.firstChild && typeof a.firstChild.getAttribute !== i && a.firstChild.getAttribute(A) !== "#") m.attrHandle.href = function(a) { return a.getAttribute(A, 2) } })(); document.querySelectorAll && (function() { var a = o, b = document.createElement(n); b.innerHTML = "<p class='TEST'></p>"; if (b.querySelectorAll && b.querySelectorAll(".TEST").length === 0) return; o = function(e, b, c, d) { b = b || document; if (!d && b.nodeType === 9 && !q(b)) try { return r(b.querySelectorAll(e), c) } catch (f) { } return a(e, b, c, d) }; o.find = a.find; o.filter = a.filter; o.selectors = a.selectors; o.matches = a.matches })(); document.getElementsByClassName && document.documentElement.getElementsByClassName && (function() { var a = document.createElement(n); a.innerHTML = "<div class='test e'></div><div class='test'></div>"; if (a.getElementsByClassName("e").length === 0) return; a.lastChild.className = "e"; if (a.getElementsByClassName("e").length === 1) return; m.order.splice(1, 0, "CLASS"); m.find.CLASS = function(b, a, c) { if (typeof a.getElementsByClassName !== i && !c) return a.getElementsByClassName(b[1]) } })(); function C(e, k, g, c, l, h) { for (var i = e == w && !h, b = 0, j = c.length; b < j; b++) { var a = c[b]; if (a) { if (i && a.nodeType === 1) { a.sizcache = g; a.sizset = b } a = a[e]; var f = d; while (a) { if (a.sizcache === g) { f = c[a.sizset]; break } if (a.nodeType === 1 && !h) { a.sizcache = g; a.sizset = b } if (a.nodeName === k) { f = a; break } a = a[e] } c[b] = f } } } function D(h, j, i, e, n, k) { for (var l = h == w && !k, c = 0, m = e.length; c < m; c++) { var a = e[c]; if (a) { if (l && a.nodeType === 1) { a.sizcache = i; a.sizset = c } a = a[h]; var g = d; while (a) { if (a.sizcache === i) { g = e[a.sizset]; break } if (a.nodeType === 1) { if (!k) { a.sizcache = i; a.sizset = c } if (typeof j !== f) { if (a === j) { g = b; break } } else if (o.filter(j, [a]).length > 0) { g = a; break } } a = a[h] } e[c] = g } } } var E = document.compareDocumentPosition ? function(b, a) { return b.compareDocumentPosition(a) & 16 } : function(a, c) { return a !== c && (a.contains ? a.contains(c) : b) }, q = function(a) { return a.nodeType === 9 && a.documentElement.nodeName !== "HTML" || !!a.ownerDocument && q(a.ownerDocument) }, x = function(a, b) { var f = [], g = e, h, d = b.nodeType ? [b] : b; while (h = m.match.PSEUDO.exec(a)) { g += h[0]; a = a.replace(m.match.PSEUDO, e) } a = m.relative[a] ? a + l : a; for (var c = 0, i = d.length; c < i; c++) o(a, d[c], f); return o.filter(g, f) }; a.find = o; a.filter = o.filter; a.expr = o.selectors; a.expr[":"] = a.expr.filters; o.selectors.filters.hidden = function(a) { return a.offsetWidth === 0 || a.offsetHeight === 0 }; o.selectors.filters.visible = function(a) { return a.offsetWidth > 0 || a.offsetHeight > 0 }; o.selectors.filters.animated = function(b) { return a.grep(a.timers, function(a) { return b === a.elem }).length }; a.multiFilter = function(a, b, c) { if (c) a = ":not(" + a + ")"; return o.matches(a, b) }; a.dir = function(d, c) { var b = [], a = d[c]; while (a && a != document) { a.nodeType == 1 && b.push(a); a = a[c] } return b }; a.nth = function(a, b, d) { b = b || 1; for (var c = 0; a; a = a[d]) if (a.nodeType == 1 && ++c == b) break; return a }; a.sibling = function(a, c) { for (var b = []; a; a = a.nextSibling) a.nodeType == 1 && a != c && b.push(a); return b }; return; j.Sizzle = o })(); a.event = { add: function(e, n, f, g) { if (e.nodeType == 3 || e.nodeType == 8) return; if (e.setInterval && e != j) e = j; if (!f.guid) f.guid = this.guid++; if (g !== h) { var p = f; f = this.proxy(p); f.data = g } var l = a.data(e, o) || a.data(e, o, {}), k = a.data(e, r) || a.data(e, r, function() { return typeof a !== i && !a.event.triggered ? a.event.handle.apply(arguments.callee.elem, arguments) : h }); k.elem = e; a.each(n.split(/\s+/), function(j, c) { var h = c.split(m); c = h.shift(); f.type = h.slice().sort().join(m); var i = l[c]; a.event.specialAll[c] && a.event.specialAll[c].setup.call(e, g, h); if (!i) { i = l[c] = {}; if (!a.event.special[c] || a.event.special[c].setup.call(e, g, h) === d) if (e.addEventListener) e.addEventListener(c, k, d); else e.attachEvent && e.attachEvent(I + c, k) } i[f.guid] = f; a.event.global[c] = b }); e = c }, guid: 1, global: {}, remove: function(b, i, k) { if (b.nodeType == 3 || b.nodeType == 8) return; var g = a.data(b, o), j, p; if (g) { if (i === h || typeof i === f && i.charAt(0) == m) for (var n in g) this.remove(b, n + (i || e)); else { if (i.type) { k = i.handler; i = i.type } a.each(i.split(/\s+/), function(l, e) { var f = e.split(m); e = f.shift(); var i = RegExp(M + f.slice().sort().join(".*\\.") + N); if (g[e]) { if (k) delete g[e][k.guid]; else for (var h in g[e]) if (i.test(g[e][h].type)) delete g[e][h]; a.event.specialAll[e] && a.event.specialAll[e].teardown.call(b, f); for (j in g[e]) break; if (!j) { if (!a.event.special[e] || a.event.special[e].teardown.call(b, f) === d) if (b.removeEventListener) b.removeEventListener(e, a.data(b, r), d); else b.detachEvent && b.detachEvent(I + e, a.data(b, r)); j = c; delete g[e] } } }) } for (j in g) break; if (!j) { var l = a.data(b, r); if (l) l.elem = c; a.removeData(b, o); a.removeData(b, r) } } }, trigger: function(c, g, e, i) { var f = c.type || c; if (!i) { c = typeof c === v ? c[T] ? c : a.extend(a.Event(f), c) : a.Event(f); if (f.indexOf("!") >= 0) { c.type = f = f.slice(0, -1); c.exclusive = b } if (!e) { c.stopPropagation(); this.global[f] && a.each(a.cache, function() { this.events && this.events[f] && a.event.trigger(c, g, this.handle.elem) }) } if (!e || e.nodeType == 3 || e.nodeType == 8) return h; c.result = h; c.target = e; g = a.makeArray(g); g.unshift(c) } c.currentTarget = e; var k = a.data(e, r); k && k.apply(e, g); if ((!e[f] || a.nodeName(e, "a") && f == "click") && e[I + f] && e[I + f].apply(e, g) === d) c.result = d; if (!i && e[f] && !c.isDefaultPrevented() && !(a.nodeName(e, "a") && f == "click")) { this.triggered = b; try { e[f]() } catch (l) { } } this.triggered = d; if (!c.isPropagationStopped()) { var j = e.parentNode || e.ownerDocument; j && a.event.trigger(c, g, j, b) } }, handle: function(b) { var i, e; b = arguments[0] = a.event.fix(b || j.event); b.currentTarget = this; var g = b.type.split(m); b.type = g.shift(); i = !g.length && !b.exclusive; var l = RegExp(M + g.slice().sort().join(".*\\.") + N); e = (a.data(this, o) || {})[b.type]; for (var k in e) { var c = e[k]; if (i || l.test(c.type)) { b.handler = c; b.data = c.data; var f = c.apply(this, arguments); if (f !== h) { b.result = f; if (f === d) { b.preventDefault(); b.stopPropagation() } } if (b.isImmediatePropagationStopped()) break } } }, props: "altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode metaKey newValue originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(g), fix: function(b) { if (b[T]) return b; var g = b; b = a.Event(g); for (var h = this.props.length, f; h; ) { f = this.props[--h]; b[f] = g[f] } if (!b.target) b.target = b.srcElement || document; if (b.target.nodeType == 3) b.target = b.target.parentNode; if (!b.relatedTarget && b.fromElement) b.relatedTarget = b.fromElement == b.target ? b.toElement : b.fromElement; if (b.pageX == c && b.clientX != c) { var d = document.documentElement, e = document.body; b.pageX = b.clientX + (d && d.scrollLeft || e && e.scrollLeft || 0) - (d.clientLeft || 0); b.pageY = b.clientY + (d && d.scrollTop || e && e.scrollTop || 0) - (d.clientTop || 0) } if (!b.which && (b.charCode || b.charCode === 0 ? b.charCode : b.keyCode)) b.which = b.charCode || b.keyCode; if (!b.metaKey && b.ctrlKey) b.metaKey = b.ctrlKey; if (!b.which && b.button) b.which = b.button & 1 ? 1 : b.button & 2 ? 3 : b.button & 4 ? 2 : 0; return b }, proxy: function(b, a) { a = a || function() { return b.apply(this, arguments) }; a.guid = b.guid = b.guid || a.guid || this.guid++; return a }, special: { ready: { setup: wb, teardown: function() { } } }, specialAll: { live: { setup: function(c, b) { a.event.add(this, b[0], xb) }, teardown: function(b) { if (b.length) { var c = 0, d = RegExp(M + b[0] + N); a.each(a.data(this, o).live || {}, function() { if (d.test(this.type)) c++ }); c < 1 && a.event.remove(this, b[0], xb) } } }} }; a.Event = function(d) { var c = this; if (!c.preventDefault) return new a.Event(d); if (d && d.type) { c.originalEvent = d; c.type = d.type } else c.type = d; c.timeStamp = cb(); c[T] = b }; function rb() { return d } function tb() { return b } a.Event.prototype = { preventDefault: function() { this.isDefaultPrevented = tb; var a = this.originalEvent; if (!a) return; a.preventDefault && a.preventDefault(); a.returnValue = d }, stopPropagation: function() { this.isPropagationStopped = tb; var a = this.originalEvent; if (!a) return; a.stopPropagation && a.stopPropagation(); a.cancelBubble = b }, stopImmediatePropagation: function() { this.isImmediatePropagationStopped = tb; this.stopPropagation() }, isDefaultPrevented: rb, isPropagationStopped: rb, isImmediatePropagationStopped: rb }; var ub = function(d) { var c = this, b = d.relatedTarget; while (b && b != c) try { b = b.parentNode } catch (e) { b = c } if (b != c) { d.type = d.data; a.event.handle.apply(c, arguments) } }; a.each({ mouseover: "mouseenter", mouseout: "mouseleave" }, function(c, b) { a.event.special[b] = { setup: function() { a.event.add(this, c, ub, b) }, teardown: function() { a.event.remove(this, c, ub) } } }); a.fn.extend({ bind: function(c, d, b) { return c == "unload" ? this.one(c, d, b) : this.each(function() { a.event.add(this, c, b || d, b && d) }) }, one: function(e, c, b) { var d = a.event.proxy(b || c, function(e) { a(this).unbind(e, d); return (b || c).apply(this, arguments) }); return this.each(function() { a.event.add(this, e, d, b && c) }) }, unbind: function(c, b) { return this.each(function() { a.event.remove(this, c, b) }) }, trigger: function(b, c) { return this.each(function() { a.event.trigger(b, c, this) }) }, triggerHandler: function(c, d) { if (this[0]) { var b = a.Event(c); b.preventDefault(); b.stopPropagation(); a.event.trigger(b, d, this[0]); return b.result } }, toggle: function(e) { var b = arguments, c = 1; while (c < b.length) a.event.proxy(e, b[c++]); return this.click(a.event.proxy(e, function(e) { var a = this; a.lastToggle = (a.lastToggle || 0) % c; e.preventDefault(); return b[a.lastToggle++].apply(a, arguments) || d })) }, hover: function(a, b) { return this.mouseenter(a).mouseleave(b) }, ready: function(b) { wb(); if (a.isReady) b.call(document, a); else a.readyList.push(b); return this }, live: function(d, e) { var b = this, c = a.event.proxy(e); c.guid += b.selector + d; a(document).bind(zb(d, b.selector), b.selector, c); return b }, die: function(d, b) { a(document).unbind(zb(d, this.selector), b ? { guid: b.guid + this.selector + d} : c); return this } }); function xb(e) { var g = RegExp(M + e.type + N), f = b, c = []; a.each(a.data(this, o).live || [], function(f, b) { if (g.test(b.type)) { var d = a(e.target).closest(b.data)[0]; d && c.push({ elem: d, fn: b }) } }); c.sort(function(c, b) { return a.data(c.elem, K) - a.data(b.elem, K) }); a.each(c, function() { if (this.fn.call(this.elem, e, this.fn.data) === d) return f = d }); return f } function zb(b, a) { return ["live", b, a.replace(/\./g, "`").replace(/ /g, "|")].join(m) } a.extend({ isReady: d, readyList: [], ready: function() { if (!a.isReady) { a.isReady = b; if (a.readyList) { a.each(a.readyList, function() { this.call(document, a) }); a.readyList = c } a(document).triggerHandler("ready") } } }); var Cb = d; function wb() { var e = "onreadystatechange", c = "DOMContentLoaded"; if (Cb) return; Cb = b; if (document.addEventListener) document.addEventListener(c, function() { document.removeEventListener(c, arguments.callee, d); a.ready() }, d); else if (document.attachEvent) { document.attachEvent(e, function() { if (document.readyState === Z) { document.detachEvent(e, arguments.callee); a.ready() } }); document.documentElement.doScroll && j == j.top && (function() { if (a.isReady) return; try { document.documentElement.doScroll("left") } catch (b) { setTimeout(arguments.callee, 0); return } a.ready() })() } a.event.add(j, "load", a.ready) } a.each("blur,focus,load,resize,scroll,unload,click,dblclick,mousedown,mouseup,mousemove,mouseover,mouseout,mouseenter,mouseleave,change,select,submit,keydown,keypress,keyup,error".split(","), function(c, b) { a.fn[b] = function(a) { return a ? this.bind(b, a) : this.trigger(b) } }); a(j).bind("unload", function() { for (var b in a.cache) b != 1 && a.cache[b].handle && a.event.remove(a.cache[b].handle.elem) }); (function() { var f = "onclick"; a.support = {}; var i = document.documentElement, h = document.createElement(k), e = document.createElement(n), m = k + (new Date).getTime(); e.style.display = s; e.innerHTML = '   <link/><table></table><a href="/a" style="color:red;float:left;opacity:.5;">a</a><select><option>text</option></select><object><param/></object>'; var o = e.getElementsByTagName(l), g = e.getElementsByTagName("a")[0]; if (!o || !o.length || !g) return; a.support = { leadingWhitespace: e.firstChild.nodeType == 3, tbody: !e.getElementsByTagName(D).length, objectAll: !!e.getElementsByTagName(v)[0].getElementsByTagName(l).length, htmlSerialize: !!e.getElementsByTagName("link").length, style: /red/.test(g.getAttribute("style")), hrefNormalized: g.getAttribute(A) === "/a", opacity: g.style.opacity === "0.5", cssFloat: !!g.style.cssFloat, scriptEval: d, noCloneEvent: b, boxModel: c }; h.type = Y; try { h.appendChild(document.createTextNode("window." + m + "=1;")) } catch (p) { } i.insertBefore(h, i.firstChild); if (j[m]) { a.support.scriptEval = b; delete j[m] } i.removeChild(h); if (e.attachEvent && e.fireEvent) { e.attachEvent(f, function() { a.support.noCloneEvent = d; e.detachEvent(f, arguments.callee) }); e.cloneNode(b).fireEvent(f) } a(function() { var b = document.createElement(n); b.style.width = b.style.paddingLeft = O; document.body.appendChild(b); a.boxModel = a.support.boxModel = b.offsetWidth === 2; document.body.removeChild(b).style.display = s }) })(); var pb = a.support.cssFloat ? "cssFloat" : "styleFloat"; a.props = { "for": "htmlFor", "class": qb, "float": pb, cssFloat: pb, styleFloat: pb, readonly: "readOnly", maxlength: "maxLength", cellspacing: "cellSpacing", rowspan: "rowSpan", tabindex: fb }; a.fn.extend({ _load: a.fn.load, load: function(b, d, i) { if (typeof b !== f) return this._load(b); var h = b.indexOf(g); if (h >= 0) { var j = b.slice(h, b.length); b = b.slice(0, h) } var l = x; if (d) if (a.isFunction(d)) { i = d; d = c } else if (typeof d === v) { d = a.param(d); l = "POST" } var k = this; a.ajax({ url: b, type: l, dataType: "html", data: d, complete: function(b, c) { (c == B || c == ab) && k.html(j ? a("<div/>").append(b.responseText.replace(/<script(.|\s)*?\/script>/g, e)).find(j) : b.responseText); i && k.each(i, [b.responseText, c, b]) } }); return this }, serialize: function() { return a.param(this.serializeArray()) }, serializeArray: function() { return this.map(function() { return this.elements ? a.makeArray(this.elements) : this }).filter(function() { var a = this; return a.name && !a.disabled && (a.checked || /select|textarea/i.test(a.nodeName) || /text|hidden|password|search/i.test(a.type)) }).map(function(e, d) { var b = a(this).val(); return b == c ? c : a.isArray(b) ? a.map(b, function(a) { return { name: d.name, value: a} }) : { name: d.name, value: b} }).get() } }); a.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","), function(c, b) { a.fn[b] = function(a) { return this.bind(b, a) } }); var Hb = cb(); a.extend({ "get": function(e, b, d, f) { if (a.isFunction(b)) { d = b; b = c } return a.ajax({ type: x, url: e, data: b, success: d, dataType: f }) }, getScript: function(b, d) { return a.get(b, c, d, k) }, getJSON: function(b, c, d) { return a.get(b, c, d, R) }, post: function(d, b, c, e) { if (a.isFunction(b)) { c = b; b = {} } return a.ajax({ type: "POST", url: d, data: b, success: c, dataType: e }) }, ajaxSetup: function(b) { a.extend(a.ajaxSettings, b) }, ajaxSettings: { url: location.href, global: b, type: x, contentType: "application/x-www-form-urlencoded", processData: b, async: b, xhr: function() { return j.ActiveXObject ? new ActiveXObject("Microsoft.XMLHTTP") : new XMLHttpRequest }, accepts: { xml: "application/xml, text/xml", html: "text/html", script: "text/javascript, application/javascript", json: "application/json, text/javascript", text: "text/plain", _default: "*/*"} }, lastModified: {}, ajax: function(g) { var l = "timeout", n = "ajaxStop", t = "callback"; g = a.extend(b, g, a.extend(b, {}, a.ajaxSettings, g)); var o, q = /=\?(&|$)/g, p, D, r = g.type.toUpperCase(); if (g.data && g.processData && typeof g.data !== f) g.data = a.param(g.data); if (g.dataType == "jsonp") { if (r == x) { if (!g.url.match(q)) g.url += (g.url.match(/\?/) ? "&" : "?") + (g.jsonp || t) + "=?" } else if (!g.data || !g.data.match(q)) g.data = (g.data ? g.data + "&" : e) + (g.jsonp || t) + "=?"; g.dataType = R } if (g.dataType == R && (g.data && g.data.match(q) || g.url.match(q))) { o = "jsonp" + Hb++; if (g.data) g.data = (g.data + e).replace(q, "=" + o + "$1"); g.url = g.url.replace(q, "=" + o + "$1"); g.dataType = k; j[o] = function(a) { D = a; w(); z(); j[o] = h; try { delete j[o] } catch (b) { } u && u.removeChild(m) } } if (g.dataType == k && g.cache == c) g.cache = d; if (g.cache === d && r == x) { var E = cb(), G = g.url.replace(/(\?|&)_=.*?(&|$)/, "$1_=" + E + "$2"); g.url = G + (G == g.url ? (g.url.match(/\?/) ? "&" : "?") + "_=" + E : e) } if (g.data && r == x) { g.url += (g.url.match(/\?/) ? "&" : "?") + g.data; g.data = c } g.global && !a.active++ && a.event.trigger("ajaxStart"); var v = /^(\w+:)?\/\/([^\/?#]+)/.exec(g.url); if (g.dataType == k && r == x && v && (v[1] && v[1] != location.protocol || v[2] != location.host)) { var u = document.getElementsByTagName("head")[0], m = document.createElement(k); m.src = g.url; if (g.scriptCharset) m.charset = g.scriptCharset; if (!o) { var F = d; m.onload = m.onreadystatechange = function() { if (!F && (!this.readyState || this.readyState == "loaded" || this.readyState == Z)) { F = b; w(); z(); m.onload = m.onreadystatechange = c; u.removeChild(m) } } } u.appendChild(m); return h } var y = d, i = g.xhr(); if (g.username) i.open(r, g.url, g.async, g.username, g.password); else i.open(r, g.url, g.async); try { g.data && i.setRequestHeader("Content-Type", g.contentType); g.ifModified && i.setRequestHeader("If-Modified-Since", a.lastModified[g.url] || "Thu, 01 Jan 1970 00:00:00 GMT"); i.setRequestHeader("X-Requested-With", "XMLHttpRequest"); i.setRequestHeader("Accept", g.dataType && g.accepts[g.dataType] ? g.accepts[g.dataType] + ", */*" : g.accepts._default) } catch (C) { } if (g.beforeSend && g.beforeSend(i, g) === d) { g.global && ! --a.active && a.event.trigger(n); i.abort(); return d } g.global && a.event.trigger("ajaxSend", [i, g]); var A = function(d) { if (i.readyState == 0) { if (s) { clearInterval(s); s = c; g.global && ! --a.active && a.event.trigger(n) } } else if (!y && i && (i.readyState == 4 || d == l)) { y = b; if (s) { clearInterval(s); s = c } p = d == l ? l : !a.httpSuccess(i) ? "error" : g.ifModified && a.httpNotModified(i, g.url) ? ab : B; if (p == B) try { D = a.httpData(i, g.dataType, g) } catch (f) { p = U } if (p == B) { var e; try { e = i.getResponseHeader(hb) } catch (f) { } if (g.ifModified && e) a.lastModified[g.url] = e; !o && w() } else a.handleError(g, i, p); z(); d && i.abort(); if (g.async) i = c } }; if (g.async) { var s = setInterval(A, 13); g.timeout > 0 && setTimeout(function() { i && !y && A(l) }, g.timeout) } try { i.send(g.data) } catch (C) { a.handleError(g, i, c, C) } !g.async && A(); function w() { g.success && g.success(D, p); g.global && a.event.trigger("ajaxSuccess", [i, g]) } function z() { g.complete && g.complete(i, p); g.global && a.event.trigger("ajaxComplete", [i, g]); g.global && ! --a.active && a.event.trigger(n) } return i }, handleError: function(b, d, e, c) { b.error && b.error(d, e, c); b.global && a.event.trigger("ajaxError", [d, b, c]) }, active: 0, httpSuccess: function(a) { try { return !a.status && location.protocol == "file:" || a.status >= 200 && a.status < 300 || a.status == 304 || a.status == 1223 } catch (b) { } return d }, httpNotModified: function(b, c) { try { var f = b.getResponseHeader(hb); return b.status == 304 || f == a.lastModified[c] } catch (e) { } return d }, httpData: function(e, c, d) { var h = e.getResponseHeader("content-type"), g = c == "xml" || !c && h && h.indexOf("xml") >= 0, b = g ? e.responseXML : e.responseText; if (g && b.documentElement.tagName == U) throw U; if (d && d.dataFilter) b = d.dataFilter(b, c); if (typeof b === f) { c == k && a.globalEval(b); if (c == R) b = j["eval"]("(" + b + ")") } return b }, param: function(b) { var d = []; function e(a, b) { d[d.length] = encodeURIComponent(a) + "=" + encodeURIComponent(b) } if (a.isArray(b) || b.jquery) a.each(b, function() { e(this.name, this.value) }); else for (var c in b) if (a.isArray(b[c])) a.each(b[c], function() { e(c, this) }); else e(c, a.isFunction(b[c]) ? b[c]() : b[c]); return d.join("&").replace(/%20/g, "+") } }); var sb = {}, ob, yb = [[C, ib, "marginBottom", "paddingTop", "paddingBottom"], [q, jb, "marginRight", "paddingLeft", "paddingRight"], [F]]; function db(d, c) { var b = {}; a.each(yb.concat.apply([], yb.slice(0, c)), function() { b[this] = d }); return b } a.fn.extend({ show: function(i, k) { var b = this; if (i) return b.animate(db(t, 3), i, k); else { for (var c = 0, g = b.length; c < g; c++) { var j = a.data(b[c], J); b[c].style.display = j || e; if (a.css(b[c], G) === s) { var f = b[c].tagName, d; if (sb[f]) d = sb[f]; else { var h = a("<" + f + " />").appendTo("body"); d = h.css(G); if (d === s) d = Q; h.remove(); sb[f] = d } a.data(b[c], J, d) } } for (var c = 0, g = b.length; c < g; c++) b[c].style.display = a.data(b[c], J) || e; return b } }, hide: function(f, g) { var b = this; if (f) return b.animate(db(u, 3), f, g); else { for (var c = 0, e = b.length; c < e; c++) { var d = a.data(b[c], J); !d && d !== s && a.data(b[c], J, a.css(b[c], G)) } for (var c = 0, e = b.length; c < e; c++) b[c].style.display = s; return b } }, _toggle: a.fn.toggle, toggle: function(b, f) { var d = this, e = typeof b === X; return a.isFunction(b) && a.isFunction(f) ? d._toggle.apply(d, arguments) : b == c || e ? d.each(function() { var c = e ? b : a(this).is(":hidden"); a(this)[c ? t : u]() }) : d.animate(db(V, 3), b, f) }, fadeTo: function(a, c, b) { return this.animate({ opacity: c }, a, b) }, animate: function(f, h, j, i) { var g = a.speed(h, j, i); return this[g.queue === d ? "each" : "queue"](function() { var d = this, h = a.extend({}, g), i, k = d.nodeType == 1 && a(d).is(":hidden"), j = d; for (i in f) { if (f[i] == u && k || f[i] == t && !k) return h.complete.call(d); if ((i == C || i == q) && d.style) { h.display = a.css(d, G); h.overflow = d.style.overflow } } if (h.overflow != c) d.style.overflow = z; h.curAnim = a.extend({}, f); a.each(f, function(n, l) { var i = new a.fx(j, h, n); if (/toggle|show|hide/.test(l)) i[l == V ? k ? t : u : l](f); else { var g = l.toString().match(/^([+-]=)?([\d+-.]+)(.*)$/), c = i.cur(b) || 0; if (g) { var d = parseFloat(g[2]), m = g[3] || p; if (m != p) { j.style[n] = (d || 1) + m; c = (d || 1) / i.cur(b) * c; j.style[n] = c + m } if (g[1]) d = (g[1] == "-=" ? -1 : 1) * d + c; i.custom(c, d, m) } else i.custom(c, l, e) } }); return b }) }, stop: function(f, e) { var c = this, d = a.timers; f && c.queue([]); c.each(function() { for (var a = d.length - 1; a >= 0; a--) if (d[a].elem == this) { e && d[a](b); d.splice(a, 1) } }); !e && c.dequeue(); return c } }); a.each({ slideDown: db(t, 1), slideUp: db(u, 1), slideToggle: db(V, 1), fadeIn: { opacity: t }, fadeOut: { opacity: u} }, function(b, c) { a.fn[b] = function(a, b) { return this.animate(c, a, b) } }); a.extend({ speed: function(c, e, f) { var b = typeof c === v ? c : { complete: f || !f && e || a.isFunction(c) && c, duration: c, easing: f && e || e && !a.isFunction(e) && e }; b.duration = a.fx.off ? 0 : typeof b.duration === y ? b.duration : a.fx.speeds[b.duration] || a.fx.speeds._default; b.old = b.complete; b.complete = function() { b.queue !== d && a(this).dequeue(); a.isFunction(b.old) && b.old.call(this) }; return b }, easing: { linear: function(c, d, a, b) { return a + b * c }, swing: function(c, d, a, b) { return (-Math.cos(c * Math.PI) / 2 + .5) * b + a } }, timers: [], fx: function(b, a, c) { this.options = a; this.elem = b; this.prop = c; if (!a.orig) a.orig = {} } }); a.fx.prototype = { update: function() { var b = this; b.options.step && b.options.step.call(b.elem, b.now, b); (a.fx.step[b.prop] || a.fx.step._default)(b); if ((b.prop == C || b.prop == q) && b.elem.style) b.elem.style.display = Q }, cur: function(e) { var b = this; if (b.elem[b.prop] != c && (!b.elem.style || b.elem.style[b.prop] == c)) return b.elem[b.prop]; var d = parseFloat(a.css(b.elem, b.prop, e)); return d && d > -1e4 ? d : parseFloat(a.curCSS(b.elem, b.prop)) || 0 }, custom: function(g, f, e) { var b = this; b.startTime = cb(); b.start = g; b.end = f; b.unit = e || b.unit || p; b.now = b.start; b.pos = b.state = 0; var d = b; function c(a) { return d.step(a) } c.elem = b.elem; if (c() && a.timers.push(c) && !ob) ob = setInterval(function() { for (var c = a.timers, b = 0; b < c.length; b++) !c[b]() && c.splice(b--, 1); if (!c.length) { clearInterval(ob); ob = h } }, 13) }, show: function() { var c = this; c.options.orig[c.prop] = a.attr(c.elem.style, c.prop); c.options.show = b; c.custom(c.prop == q || c.prop == C ? 1 : 0, c.cur()); a(c.elem).show() }, hide: function() { var c = this; c.options.orig[c.prop] = a.attr(c.elem.style, c.prop); c.options.hide = b; c.custom(c.cur(), 0) }, step: function(k) { var e = this, g = cb(); if (k || g >= e.options.duration + e.startTime) { e.now = e.end; e.pos = e.state = 1; e.update(); e.options.curAnim[e.prop] = b; var f = b; for (var j in e.options.curAnim) if (e.options.curAnim[j] !== b) f = d; if (f) { if (e.options.display != c) { e.elem.style.overflow = e.options.overflow; e.elem.style.display = e.options.display; if (a.css(e.elem, G) == s) e.elem.style.display = Q } e.options.hide && a(e.elem).hide(); if (e.options.hide || e.options.show) for (var h in e.options.curAnim) a.attr(e.elem.style, h, e.options.orig[h]); e.options.complete.call(e.elem) } return d } else { var i = g - e.startTime; e.state = i / e.options.duration; e.pos = a.easing[e.options.easing || (a.easing.swing ? "swing" : "linear")](e.state, i, 0, 1, e.options.duration); e.now = e.start + (e.end - e.start) * e.pos; e.update() } return b } }; a.extend(a.fx, { speeds: { slow: 600, fast: 200, _default: 400 }, step: { opacity: function(b) { a.attr(b.elem.style, F, b.now) }, _default: function(a) { if (a.elem.style && a.elem.style[a.prop] != c) a.elem.style[a.prop] = a.now + a.unit; else a.elem[a.prop] = a.now } } }); if (document.documentElement.getBoundingClientRect) a.fn.offset = function() { var b = this; if (!b[0]) return { top: 0, left: 0 }; if (b[0] === b[0].ownerDocument.body) return a.offset.bodyOffset(b[0]); var e = b[0].getBoundingClientRect(), f = b[0].ownerDocument, d = f.body, c = f.documentElement, j = c.clientTop || d.clientTop || 0, i = c.clientLeft || d.clientLeft || 0, h = e.top + (self.pageYOffset || a.boxModel && c.scrollTop || d.scrollTop) - j, g = e.left + (self.pageXOffset || a.boxModel && c.scrollLeft || d.scrollLeft) - i; return { top: h, left: g} }; else a.fn.offset = function() { var g = this; if (!g[0]) return { top: 0, left: 0 }; if (g[0] === g[0].ownerDocument.body) return a.offset.bodyOffset(g[0]); a.offset.initialized || a.offset.initialize(); var b = g[0], j = b.offsetParent, n = b, l = b.ownerDocument, e, k = l.documentElement, h = l.body, m = l.defaultView, i = m.getComputedStyle(b, c), f = b.offsetTop, d = b.offsetLeft; while ((b = b.parentNode) && b !== h && b !== k) { e = m.getComputedStyle(b, c); f -= b.scrollTop, d -= b.scrollLeft; if (b === j) { f += b.offsetTop, d += b.offsetLeft; if (a.offset.doesNotAddBorder && !(a.offset.doesAddBorderForTableAndCells && /^t(able|d|h)$/i.test(b.tagName))) f += parseInt(e.borderTopWidth, 10) || 0, d += parseInt(e.borderLeftWidth, 10) || 0; n = j, j = b.offsetParent } if (a.offset.subtractsBorderForOverflowNotVisible && e.overflow !== "visible") f += parseInt(e.borderTopWidth, 10) || 0, d += parseInt(e.borderLeftWidth, 10) || 0; i = e } if (i.position === mb || i.position === "static") f += h.offsetTop, d += h.offsetLeft; if (i.position === "fixed") f += Math.max(k.scrollTop, h.scrollTop), d += Math.max(k.scrollLeft, h.scrollLeft); return { top: f, left: d} }; a.offset = { initialize: function() { var c = this; if (c.initialized) return; var a = document.body, d = document.createElement(n), e, g, l, i, h, f, j = a.style.marginTop, k = '<div style="position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;"><div></div></div><table style="position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;" cellpadding="0" cellspacing="0"><tr><td></td></tr></table>'; h = { position: kb, top: 0, left: 0, margin: 0, border: 0, width: O, height: O, visibility: z }; for (f in h) d.style[f] = h[f]; d.innerHTML = k; a.insertBefore(d, a.firstChild); e = d.firstChild, g = e.firstChild, i = e.nextSibling.firstChild.firstChild; c.doesNotAddBorder = g.offsetTop !== 5; c.doesAddBorderForTableAndCells = i.offsetTop === 5; e.style.overflow = z, e.style.position = mb; c.subtractsBorderForOverflowNotVisible = g.offsetTop === -5; a.style.marginTop = O; c.doesNotIncludeMarginInBodyOffset = a.offsetTop === 0; a.style.marginTop = j; a.removeChild(d); c.initialized = b }, bodyOffset: function(c) { a.offset.initialized || a.offset.initialize(); var e = c.offsetTop, d = c.offsetLeft; if (a.offset.doesNotIncludeMarginInBodyOffset) e += parseInt(a.curCSS(c, ib, b), 10) || 0, d += parseInt(a.curCSS(c, jb, b), 10) || 0; return { top: e, left: d} } }; a.fn.extend({ position: function() { var a = this, g = 0, f = 0, e; if (a[0]) { var c = a.offsetParent(), d = a.offset(), b = /^body|html$/i.test(c[0].tagName) ? { top: 0, left: 0} : c.offset(); d.top -= nb(a, ib); d.left -= nb(a, jb); b.top += nb(c, "borderTopWidth"); b.left += nb(c, "borderLeftWidth"); e = { top: d.top - b.top, left: d.left - b.left} } return e }, offsetParent: function() { var b = this[0].offsetParent || document.body; while (b && (!/^body|html$/i.test(b.tagName) && a.css(b, "position") == "static")) b = b.offsetParent; return a(b) } }); a.each([eb, "Top"], function(d, e) { var b = S + e; a.fn[b] = function(f) { var e = this; if (!e[0]) return c; return f !== h ? e.each(function() { this == j || this == document ? j.scrollTo(!d ? f : a(j).scrollLeft(), d ? f : a(j).scrollTop()) : (this[b] = f) }) : e[0] == j || e[0] == document ? self[d ? "pageYOffset" : "pageXOffset"] || a.boxModel && document.documentElement[b] || document.body[b] : e[0][b] } }); a.each(["Height", "Width"], function(i, b) { var k = i ? eb : "Top", l = i ? "Right" : "Bottom", g = b.toLowerCase(); a.fn["inner" + b] = function() { return this[0] ? a.css(this[0], g, d, "padding") : c }; a.fn["outer" + b] = function(b) { return this[0] ? a.css(this[0], g, d, b ? E : H) : c }; var e = b.toLowerCase(); a.fn[e] = function(i) { var d = "client", g = this; return g[0] == j ? document.compatMode == "CSS1Compat" && document.documentElement[d + b] || document.body[d + b] : g[0] == document ? Math.max(document.documentElement[d + b], document.body[S + b], document.documentElement[S + b], document.body["offset" + b], document.documentElement["offset" + b]) : i === h ? g.length ? a.css(g[0], e) : c : g.css(e, typeof i === f ? i : i + p) } }) })();

var idT1,idd1,i1=1,timeCount=0;function InitialHide1(){idT1="tabD1";EnbDesbPrv1();EnbDesbNxt1();slideShow()}function slideShow(){timeCount=setInterval("changeNews()",5e3)}function changeNews(){var a=parseInt(i1)+1;idd1=idT1+a;if(document.getElementById(idd1)){idd1="#"+idT1+i1;$(idd1).fadeOut(10,function(){i1=parseInt(i1)+1;idd1="#"+idT1+i1;$(idd1).fadeIn(10);EnbDesbPrv1();EnbDesbNxt1()})}else{idd1="#"+idT1+i1;$(idd1).fadeOut(10,function(){i1=1;idd1="#"+idT1+i1;$(idd1).fadeIn(10);EnbDesbPrv1();EnbDesbNxt1()})}}if(window.addEventListener)window.addEventListener("load",InitialHide1,false);else window.attachEvent&&window.attachEvent("onload",InitialHide1);function EnbDesbPrv1(){var a=parseInt(i1)-1;idd1=idT1+a;if(document.getElementById(idd1))document.getElementById("admPrev").style.display="";else document.getElementById("admPrev").style.display="none"}function EnbDesbNxt1(){var a=parseInt(i1)+1;idd1=idT1+a;if(document.getElementById(idd1))document.getElementById("admNxt").style.display="";else document.getElementById("admNxt").style.display="none"}$(document).ready(function(){$("#admNxt").click(function(){var a=parseInt(i1)+1;idd1=idT1+a;if(document.getElementById(idd1)){idd1="#"+idT1+i1;$(idd1).fadeOut(10,function(){i1=parseInt(i1)+1;idd1="#"+idT1+i1;$(idd1).fadeIn(10);EnbDesbPrv1();EnbDesbNxt1()});clearInterval(timeCount);slideShow()}});$("#admPrev").click(function(){var a=parseInt(i1)-1;idd1=idT1+a;if(document.getElementById(idd1)){idd1="#"+idT1+i1;$(idd1).fadeOut(10,function(){i1=parseInt(i1)-1;idd1="#"+idT1+i1;$(idd1).fadeIn(10);EnbDesbPrv1();EnbDesbNxt1()});clearInterval(timeCount);slideShow()}})});var idT2,idd2,i2=1;ExamtimeCount=0;function InitialHide2(){idT2="tabD2";EnbDesbPrv2();EnbDesbNxt2();ExamslideShow()}function ExamslideShow(){ExamtimeCount=setInterval("ExamchangeNews()",5e3)}function ExamchangeNews(){var a=parseInt(i2)+1;idd2=idT2+a;if(document.getElementById(idd2)){idd2="#"+idT2+i2;$(idd2).fadeOut(10,function(){i2=parseInt(i2)+1;idd2="#"+idT2+i2;$(idd2).fadeIn(10);EnbDesbPrv2();EnbDesbNxt2()})}else{idd2="#"+idT2+i2;$(idd2).fadeOut(10,function(){i2=1;idd2="#"+idT2+i2;$(idd2).fadeIn(10);EnbDesbPrv2();EnbDesbNxt2()})}}if(window.addEventListener)window.addEventListener("load",InitialHide2,false);else window.attachEvent&&window.attachEvent("onload",InitialHide2);function EnbDesbPrv2(){var a="examPrev",b=parseInt(i2)-1;idd2=idT2+b;if(document.getElementById(idd2))document.getElementById(a).style.display="";else document.getElementById(a).style.display="none"}function EnbDesbNxt2(){var a=parseInt(i2)+1;idd2=idT2+a;if(document.getElementById(idd2))document.getElementById("examNxt").style.display="";else document.getElementById("examNxt").style.display="none"}$(document).ready(function(){$("#examNxt").click(function(){var a=parseInt(i2)+1;idd2=idT2+a;if(document.getElementById(idd2)){idd2="#"+idT2+i2;$(idd2).fadeOut(10,function(){i2=parseInt(i2)+1;idd2="#"+idT2+i2;$(idd2).fadeIn(10);EnbDesbPrv2();EnbDesbNxt2()});clearInterval(ExamtimeCount);ExamslideShow()}});$("#examPrev").click(function(){var a=parseInt(i2)-1;idd2=idT2+a;if(document.getElementById(idd2)){idd2="#"+idT2+i2;$(idd2).fadeOut(10,function(){i2=parseInt(i2)-1;idd2="#"+idT2+i2;$(idd2).fadeIn(10);EnbDesbPrv2();EnbDesbNxt2()});clearInterval(ExamtimeCount);ExamslideShow()}})});var idT4,idd4,i4=1;function InitialHide4(){idT4="tabD3";EnbDesbPrv4();EnbDesbNxt4();EventslideShow()}function EventslideShow(){timeCountEvent=setInterval("EventchangeNews()",5e3)}function EventchangeNews(){var a=parseInt(i4)+1;idd4=idT4+a;if(document.getElementById(idd4)){idd4="#"+idT4+i4;$(idd4).fadeOut(10,function(){i4=parseInt(i4)+1;idd4="#"+idT4+i4;$(idd4).fadeIn(10);EnbDesbPrv4();EnbDesbNxt4()})}else{idd4="#"+idT4+i4;$(idd4).fadeOut(10,function(){i4=1;idd4="#"+idT4+i4;$(idd4).fadeIn(10);EnbDesbPrv4();EnbDesbNxt4()})}}if(window.addEventListener)window.addEventListener("load",InitialHide4,false);else window.attachEvent&&window.attachEvent("onload",InitialHide4);function EnbDesbPrv4(){var a="eventPrev",b=parseInt(i4)-1;idd4=idT4+b;if(document.getElementById(idd4))document.getElementById(a).style.display="";else document.getElementById(a).style.display="none"}function EnbDesbNxt4(){var a="eventNxt",b=parseInt(i4)+1;idd4=idT4+b;if(document.getElementById(idd4))document.getElementById(a).style.display="";else document.getElementById(a).style.display="none"}$(document).ready(function(){$("#eventNxt").click(function(){var a=parseInt(i4)+1;idd4=idT4+a;if(document.getElementById(idd4)){idd4="#"+idT4+i4;$(idd4).fadeOut(10,function(){i4=parseInt(i4)+1;idd4="#"+idT4+i4;$(idd4).fadeIn(10);EnbDesbPrv4();EnbDesbNxt4();clearInterval(timeCountEvent);EventslideShow()})}});$("#eventPrev").click(function(){var a=parseInt(i4)-1;idd4=idT4+a;if(document.getElementById(idd4)){idd4="#"+idT4+i4;$(idd4).fadeOut(10,function(){i4=parseInt(i4)-1;idd4="#"+idT4+i4;$(idd4).fadeIn(10);EnbDesbPrv4();EnbDesbNxt4();clearInterval(timeCountEvent);EventslideShow()})}})});var idT3,idd3,i3=1;timeCountResult=0;function InitialHide3(){idT3="tabD4";EnbDesbPrv3();EnbDesbNxt3();ResultslideShow()}function ResultslideShow(){timeCountResult=setInterval("ResultchangeNews()",5e3)}function ResultchangeNews(){var a=parseInt(i3)+1;idd3=idT3+a;if(document.getElementById(idd3)){idd3="#"+idT3+i3;$(idd3).fadeOut(10,function(){i3=parseInt(i3)+1;idd3="#"+idT3+i3;$(idd3).fadeIn(10);EnbDesbPrv3();EnbDesbNxt3()})}else{idd3="#"+idT3+i3;$(idd3).fadeOut(10,function(){i3=1;idd3="#"+idT3+i3;$(idd3).fadeIn(10);EnbDesbPrv3();EnbDesbNxt3()})}}if(window.addEventListener)window.addEventListener("load",InitialHide3,false);else window.attachEvent&&window.attachEvent("onload",InitialHide3);function EnbDesbPrv3(){var a=parseInt(i3)-1;idd3=idT3+a;if(document.getElementById(idd3))document.getElementById("resPrev").style.display="";else document.getElementById("resPrev").style.display="none"}function EnbDesbNxt3(){var a=parseInt(i3)+1;idd3=idT3+a;if(document.getElementById(idd3))document.getElementById("resNxt").style.display="";else document.getElementById("resNxt").style.display="none"}$(document).ready(function(){$("#resNxt").click(function(){var a=parseInt(i3)+1;idd3=idT3+a;if(document.getElementById(idd3)){idd3="#"+idT3+i3;$(idd3).fadeOut(10,function(){i3=parseInt(i3)+1;idd3="#"+idT3+i3;$(idd3).fadeIn(10);EnbDesbPrv3();EnbDesbNxt3();clearInterval(timeCountResult);ResultslideShow()})}});$("#resPrev").click(function(){var a=parseInt(i3)-1;idd3=idT3+a;if(document.getElementById(idd3)){idd3="#"+idT3+i3;$(idd3).fadeOut(10,function(){i3=parseInt(i3)-1;idd3="#"+idT3+i3;$(idd3).fadeIn(10);EnbDesbPrv3();EnbDesbNxt3();clearInterval(timeCountResult);ResultslideShow()})}})});
