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