(function() { function B(a, b) { b.src ? c.ajax({ url: b.src, async: false, dataType: "script" }) : c.globalEval(b.text || b.textContent || b.innerHTML || ""); b.parentNode && b.parentNode.removeChild(b) } function L() { return +new Date } function A(a, b) { return a[0] && parseInt(c.curCSS(a[0], b, true), 10) || 0 } function u() { return false } function o() { return true } function F(a) { var b = RegExp("(^|\\.)" + a.type + "(\\.|$)"), d = true, f = []; c.each(c.data(this, "events").live || [], function(h, k) { if (b.test(k.type)) (h = c(a.target).closest(k.data)[0]) && f.push({ elem: h, fn: k }) }); f.sort(function(h, k) { return c.data(h.elem, "closest") - c.data(k.elem, "closest") }); c.each(f, function() { if (this.fn.call(this.elem, a, this.fn.data) === false) return d = false }); return d } function I(a, b) { return ["live", a, b.replace(/\./g, "`").replace(/ /g, "|")].join(".") } function Q() { if (!ea) { ea = true; if (document.addEventListener) document.addEventListener("DOMContentLoaded", function() { document.removeEventListener("DOMContentLoaded", arguments.callee, false); c.ready() }, false); else if (document.attachEvent) { document.attachEvent("onreadystatechange", function() { if (document.readyState === "complete") { document.detachEvent("onreadystatechange", arguments.callee); c.ready() } }); document.documentElement.doScroll && j == j.top && function() { if (!c.isReady) { try { document.documentElement.doScroll("left") } catch (a) { setTimeout(arguments.callee, 0); return } c.ready() } } () } c.event.add(j, "load", c.ready) } } function E(a, b) { var d = {}; c.each(fa.concat.apply([], fa.slice(0, b)), function() { d[this] = a }); return d } var j = this, n, w = j.jQuery, D = j.$, c = j.jQuery = j.$ = function(a, b) { return new c.fn.init(a, b) }, O = /^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/, U = /^.[^:#\[\.,]*$/; c.fn = c.prototype = { init: function(a, b) { a = a || document; if (a.nodeType) { this[0] = a; this.length = 1; this.context = a; return this } if (typeof a === "string") { var d = O.exec(a); if (d && (d[1] || !b)) if (d[1]) a = c.clean([d[1]], b); else { if ((b = document.getElementById(d[3])) && b.id != d[3]) return c().find(a); d = c(b || []); d.context = document; d.selector = a; return d } else return c(b).find(a) } else if (c.isFunction(a)) return c(document).ready(a); if (a.selector && a.context) { this.selector = a.selector; this.context = a.context } return this.setArray(c.isArray(a) ? a : c.makeArray(a)) }, selector: "", jquery: "1.3.2", size: function() { return this.length }, get: function(a) { return a === n ? Array.prototype.slice.call(this) : this[a] }, pushStack: function(a, b, d) { a = c(a); a.prevObject = this; a.context = this.context; if (b === "find") a.selector = this.selector + (this.selector ? " " : "") + d; else if (b) a.selector = this.selector + "." + b + "(" + d + ")"; return a }, setArray: function(a) { this.length = 0; Array.prototype.push.apply(this, a); return this }, each: function(a, b) { return c.each(this, a, b) }, index: function(a) { return c.inArray(a && a.jquery ? a[0] : a, this) }, attr: function(a, b, d) { var f = a; if (typeof a === "string") if (b === n) return this[0] && c[d || "attr"](this[0], a); else { f = {}; f[a] = b } return this.each(function(h) { for (a in f) c.attr(d ? this.style : this, a, c.prop(this, f[a], d, h, a)) }) }, css: function(a, b) { if ((a == "width" || a == "height") && parseFloat(b) < 0) b = n; return this.attr(a, b, "curCSS") }, text: function(a) { if (typeof a !== "object" && a != null) return this.empty().append((this[0] && this[0].ownerDocument || document).createTextNode(a)); var b = ""; c.each(a || this, function() { c.each(this.childNodes, function() { if (this.nodeType != 8) b += this.nodeType != 1 ? this.nodeValue : c.fn.text([this]) }) }); return b }, wrapAll: function(a) { if (this[0]) { a = c(a, this[0].ownerDocument).clone(); this[0].parentNode && a.insertBefore(this[0]); a.map(function() { for (var b = this; b.firstChild; ) b = b.firstChild; return b }).append(this) } return this }, wrapInner: function(a) { return this.each(function() { c(this).contents().wrapAll(a) }) }, wrap: function(a) { return this.each(function() { c(this).wrapAll(a) }) }, append: function() { return this.domManip(arguments, true, function(a) { this.nodeType == 1 && this.appendChild(a) }) }, prepend: function() { return this.domManip(arguments, true, function(a) { this.nodeType == 1 && this.insertBefore(a, this.firstChild) }) }, before: function() { 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 || c([]) }, push: [].push, sort: [].sort, splice: [].splice, find: function(a) { if (this.length === 1) { var b = this.pushStack([], "find", a); b.length = 0; c.find(a, this[0], b); return b } else return this.pushStack(c.unique(c.map(this, function(d) { return c.find(a, d) })), "find", a) }, clone: function(a) { var b = this.map(function() { if (!c.support.noCloneEvent && !c.isXMLDoc(this)) { var h = this.outerHTML; if (!h) { h = this.ownerDocument.createElement("div"); h.appendChild(this.cloneNode(true)); h = h.innerHTML } return c.clean([h.replace(/ jQuery\d+="(?:\d+|null)"/g, "").replace(/^\s*/, "")])[0] } else return this.cloneNode(true) }); if (a === true) { var d = this.find("*").andSelf(), f = 0; b.find("*").andSelf().each(function() { if (this.nodeName === d[f].nodeName) { var h = c.data(d[f], "events"); for (var k in h) for (var m in h[k]) c.event.add(this, k, h[k][m], h[k][m].data); f++ } }) } return b }, filter: function(a) { return this.pushStack(c.isFunction(a) && c.grep(this, function(b, d) { return a.call(b, d) }) || c.multiFilter(a, c.grep(this, function(b) { return b.nodeType === 1 })), "filter", a) }, closest: function(a) { var b = c.expr.match.POS.test(a) ? c(a) : null, d = 0; return this.map(function() { for (var f = this; f && f.ownerDocument; ) { if (b ? b.index(f) > -1 : c(f).is(a)) { c.data(f, "closest", d); return f } f = f.parentNode; d++ } }) }, not: function(a) { if (typeof a === "string") if (U.test(a)) return this.pushStack(c.multiFilter(a, this, true), "not", a); else a = c.multiFilter(a, this); var b = a.length && a[a.length - 1] !== n && !a.nodeType; return this.filter(function() { return b ? c.inArray(this, a) < 0 : this != a }) }, add: function(a) { return this.pushStack(c.unique(c.merge(this.get(), typeof a === "string" ? c(a) : c.makeArray(a)))) }, is: function(a) { return !!a && c.multiFilter(a, this).length > 0 }, hasClass: function(a) { return !!a && this.is("." + a) }, val: function(a) { if (a === n) { var b = this[0]; if (b) { if (c.nodeName(b, "option")) return (b.attributes.value || {}).specified ? b.value : b.text; if (c.nodeName(b, "select")) { var d = b.selectedIndex, f = [], h = b.options; b = b.type == "select-one"; if (d < 0) return null; var k = b ? d : 0; for (d = b ? d + 1 : h.length; k < d; k++) { var m = h[k]; if (m.selected) { a = c(m).val(); if (b) return a; f.push(a) } } return f } return (b.value || "").replace(/\r/g, "") } return n } if (typeof a === "number") a += ""; return this.each(function() { if (this.nodeType == 1) if (c.isArray(a) && /radio|checkbox/.test(this.type)) this.checked = c.inArray(this.value, a) >= 0 || c.inArray(this.name, a) >= 0; else if (c.nodeName(this, "select")) { var p = c.makeArray(a); c("option", this).each(function() { this.selected = c.inArray(this.value, p) >= 0 || c.inArray(this.text, p) >= 0 }); if (!p.length) this.selectedIndex = -1 } else this.value = a }) }, html: function(a) { return a === n ? 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(c.map(this, function(b, d) { return a.call(b, d, b) })) }, andSelf: function() { return this.add(this.prevObject) }, domManip: function(a, b, d) { function f(C, J) { return b && c.nodeName(C, "table") && c.nodeName(J, "tr") ? C.getElementsByTagName("tbody")[0] || C.appendChild(C.ownerDocument.createElement("tbody")) : C } if (this[0]) { var h = (this[0].ownerDocument || this[0]).createDocumentFragment(); a = c.clean(a, this[0].ownerDocument || this[0], h); var k = h.firstChild; if (k) for (var m = 0, p = this.length; m < p; m++) d.call(f(this[m], k), this.length > 1 || m > 0 ? h.cloneNode(true) : h); a && c.each(a, B) } return this } }; c.fn.init.prototype = c.fn; c.extend = c.fn.extend = function() { var a = arguments[0] || {}, b = 1, d = arguments.length, f = false, h; if (typeof a === "boolean") { f = a; a = arguments[1] || {}; b = 2 } if (typeof a !== "object" && !c.isFunction(a)) a = {}; if (d == b) { a = this; --b } for (; b < d; b++) if ((h = arguments[b]) != null) for (var k in h) { var m = a[k], p = h[k]; if (a !== p) if (f && p && typeof p === "object" && !p.nodeType) a[k] = c.extend(f, m || (p.length != null ? [] : {}), p); else if (p !== n) a[k] = p } return a }; var X = /z-?index|font-?weight|opacity|zoom|line-?height/i, W = document.defaultView || {}, T = Object.prototype.toString; c.extend({ noConflict: function(a) { j.$ = D; if (a) j.jQuery = w; return c }, isFunction: function(a) { return T.call(a) === "[object Function]" }, isArray: function(a) { return T.call(a) === "[object Array]" }, isXMLDoc: function(a) { return a.nodeType === 9 && a.documentElement.nodeName !== "HTML" || !!a.ownerDocument && c.isXMLDoc(a.ownerDocument) }, globalEval: function(a) { if (a && /\S/.test(a)) { var b = document.getElementsByTagName("head")[0] || document.documentElement, d = document.createElement("script"); d.type = "text/javascript"; if (c.support.scriptEval) d.appendChild(document.createTextNode(a)); else d.text = a; b.insertBefore(d, b.firstChild); b.removeChild(d) } }, nodeName: function(a, b) { return a.nodeName && a.nodeName.toUpperCase() == b.toUpperCase() }, each: function(a, b, d) { var f, h = 0, k = a.length; if (d) if (k === n) for (f in a) { if (b.apply(a[f], d) === false) break } else for (; h < k; ) { if (b.apply(a[h++], d) === false) break } else if (k === n) for (f in a) { if (b.call(a[f], f, a[f]) === false) break } else for (d = a[0]; h < k && b.call(d, h, d) !== false; d = a[++h]); return a }, prop: function(a, b, d, f, h) { if (c.isFunction(b)) b = b.call(a, f); return typeof b === "number" && d == "curCSS" && !X.test(h) ? b + "px" : b }, className: { add: function(a, b) { c.each((b || "").split(/\s+/), function(d, f) { if (a.nodeType == 1 && !c.className.has(a.className, f)) a.className += (a.className ? " " : "") + f }) }, remove: function(a, b) { if (a.nodeType == 1) a.className = b !== n ? c.grep(a.className.split(/\s+/), function(d) { return !c.className.has(b, d) }).join(" ") : "" }, has: function(a, b) { return a && c.inArray(b, (a.className || a).toString().split(/\s+/)) > -1 } }, swap: function(a, b, d) { var f = {}; for (var h in b) { f[h] = a.style[h]; a.style[h] = b[h] } d.call(a); for (h in b) a.style[h] = f[h] }, css: function(a, b, d, f) { if (b == "width" || b == "height") { var h; d = { position: "absolute", visibility: "hidden", display: "block" }; var k = b == "width" ? ["Left", "Right"] : ["Top", "Bottom"]; function m() { h = b == "width" ? a.offsetWidth : a.offsetHeight; f !== "border" && c.each(k, function() { f || (h -= parseFloat(c.curCSS(a, "padding" + this, true)) || 0); if (f === "margin") h += parseFloat(c.curCSS(a, "margin" + this, true)) || 0; else h -= parseFloat(c.curCSS(a, "border" + this + "Width", true)) || 0 }) } a.offsetWidth !== 0 ? m() : c.swap(a, d, m); return Math.max(0, Math.round(h)) } return c.curCSS(a, b, d) }, curCSS: function(a, b, d) { var f, h = a.style; if (b == "opacity" && !c.support.opacity) { f = c.attr(h, "opacity"); return f == "" ? "1" : f } if (b.match(/float/i)) b = Z; if (!d && h && h[b]) f = h[b]; else if (W.getComputedStyle) { if (b.match(/float/i)) b = "float"; b = b.replace(/([A-Z])/g, "-$1").toLowerCase(); if (a = W.getComputedStyle(a, null)) f = a.getPropertyValue(b); if (b == "opacity" && f == "") f = "1" } else if (a.currentStyle) { f = b.replace(/\-(\w)/g, function(k, m) { return m.toUpperCase() }); f = a.currentStyle[b] || a.currentStyle[f]; if (!/^\d+(px)?$/i.test(f) && /^\d/.test(f)) { b = h.left; d = a.runtimeStyle.left; a.runtimeStyle.left = a.currentStyle.left; h.left = f || 0; f = h.pixelLeft + "px"; h.left = b; a.runtimeStyle.left = d } } return f }, clean: function(a, b, d) { b = b || document; if (typeof b.createElement === "undefined") b = b.ownerDocument || b[0] && b[0].ownerDocument || document; if (!d && a.length === 1 && typeof a[0] === "string") { var f = /^<(\w+)\s*\/?>$/.exec(a[0]); if (f) return [b.createElement(f[1])] } var h = []; f = []; var k = b.createElement("div"); c.each(a, function(m, p) { if (typeof p === "number") p += ""; if (p) { if (typeof p === "string") { p = p.replace(/(<(\w+)[^>]*?)\/>/g, function(G, M, P) { return P.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i) ? G : M + "></" + P + ">" }); m = p.replace(/^\s+/, "").substring(0, 10).toLowerCase(); var C = !m.indexOf("<opt") && [1, "<select multiple='multiple'>", "</select>"] || !m.indexOf("<leg") && [1, "<fieldset>", "</fieldset>"] || m.match(/^<(thead|tbody|tfoot|colg|cap)/) && [1, "<table>", "</table>"] || !m.indexOf("<tr") && [2, "<table><tbody>", "</tbody></table>"] || (!m.indexOf("<td") || !m.indexOf("<th")) && [3, "<table><tbody><tr>", "</tr></tbody></table>"] || !m.indexOf("<col") && [2, "<table><tbody></tbody><colgroup>", "</colgroup></table>"] || !c.support.htmlSerialize && [1, "div<div>", "</div>"] || [0, "", ""]; for (k.innerHTML = C[1] + p + C[2]; C[0]--; ) k = k.lastChild; if (!c.support.tbody) { var J = /<tbody/i.test(p); m = !m.indexOf("<table") && !J ? k.firstChild && k.firstChild.childNodes : C[1] == "<table>" && !J ? k.childNodes : []; for (C = m.length - 1; C >= 0; --C) c.nodeName(m[C], "tbody") && !m[C].childNodes.length && m[C].parentNode.removeChild(m[C]) } !c.support.leadingWhitespace && /^\s/.test(p) && k.insertBefore(b.createTextNode(p.match(/^\s*/)[0]), k.firstChild); p = c.makeArray(k.childNodes) } if (p.nodeType) h.push(p); else h = c.merge(h, p) } }); if (d) { for (a = 0; h[a]; a++) if (c.nodeName(h[a], "script") && (!h[a].type || h[a].type.toLowerCase() === "text/javascript")) f.push(h[a].parentNode ? h[a].parentNode.removeChild(h[a]) : h[a]); else { h[a].nodeType === 1 && h.splice.apply(h, [a + 1, 0].concat(c.makeArray(h[a].getElementsByTagName("script")))); d.appendChild(h[a]) } return f } return h }, attr: function(a, b, d) { if (!a || a.nodeType == 3 || a.nodeType == 8) return n; var f = !c.isXMLDoc(a), h = d !== n; b = f && c.props[b] || b; if (a.tagName) { var k = /href|src|style/.test(b); if (b in a && f && !k) { if (h) { if (b == "type" && c.nodeName(a, "input") && a.parentNode) throw "type property can't be changed"; a[b] = d } if (c.nodeName(a, "form") && a.getAttributeNode(b)) return a.getAttributeNode(b).nodeValue; if (b == "tabIndex") return (b = a.getAttributeNode("tabIndex")) && b.specified ? b.value : a.nodeName.match(/(button|input|object|select|textarea)/i) ? 0 : a.nodeName.match(/^(a|area)$/i) && a.href ? 0 : n; return a[b] } if (!c.support.style && f && b == "style") return c.attr(a.style, "cssText", d); h && a.setAttribute(b, "" + d); a = !c.support.hrefNormalized && f && k ? a.getAttribute(b, 2) : a.getAttribute(b); return a === null ? n : a } if (!c.support.opacity && b == "opacity") { if (h) { a.zoom = 1; a.filter = (a.filter || "").replace(/alpha\([^)]*\)/, "") + (parseInt(d) + "" == "NaN" ? "" : "alpha(opacity=" + d * 100 + ")") } return a.filter && a.filter.indexOf("opacity=") >= 0 ? parseFloat(a.filter.match(/opacity=([^)]*)/)[1]) / 100 + "" : "" } b = b.replace(/-([a-z])/ig, function(m, p) { return p.toUpperCase() }); if (h) a[b] = d; return a[b] }, trim: function(a) { return (a || "").replace(/^\s+|\s+$/g, "") }, makeArray: function(a) { var b = []; if (a != null) { var d = a.length; if (d == null || typeof a === "string" || c.isFunction(a) || a.setInterval) b[0] = a; else for (; d; ) b[--d] = a[d] } return b }, inArray: function(a, b) { for (var d = 0, f = b.length; d < f; d++) if (b[d] === a) return d; return -1 }, merge: function(a, b) { var d = 0, f, h = a.length; if (c.support.getAll) for (; (f = b[d++]) != null; ) a[h++] = f; else for (; (f = b[d++]) != null; ) if (f.nodeType != 8) a[h++] = f; return a }, unique: function(a) { var b = [], d = {}; try { for (var f = 0, h = a.length; f < h; f++) { var k = c.data(a[f]); if (!d[k]) { d[k] = true; b.push(a[f]) } } } catch (m) { b = a } return b }, grep: function(a, b, d) { for (var f = [], h = 0, k = a.length; h < k; h++) !d != !b(a[h], h) && f.push(a[h]); return f }, map: function(a, b) { for (var d = [], f = 0, h = a.length; f < h; f++) { var k = b(a[f], f); if (k != null) d[d.length] = k } return d.concat.apply([], d) } }); var r = navigator.userAgent.toLowerCase(); c.browser = { version: (r.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/) || [0, "0"])[1], safari: /webkit/.test(r), opera: /opera/.test(r), msie: /msie/.test(r) && !/opera/.test(r), mozilla: /mozilla/.test(r) && !/(compatible|webkit)/.test(r) }; c.each({ parent: function(a) { return a.parentNode }, parents: function(a) { return c.dir(a, "parentNode") }, next: function(a) { return c.nth(a, 2, "nextSibling") }, prev: function(a) { return c.nth(a, 2, "previousSibling") }, nextAll: function(a) { return c.dir(a, "nextSibling") }, prevAll: function(a) { return c.dir(a, "previousSibling") }, siblings: function(a) { return c.sibling(a.parentNode.firstChild, a) }, children: function(a) { return c.sibling(a.firstChild) }, contents: function(a) { return c.nodeName(a, "iframe") ? a.contentDocument || a.contentWindow.document : c.makeArray(a.childNodes) } }, function(a, b) { c.fn[a] = function(d) { var f = c.map(this, b); if (d && typeof d == "string") f = c.multiFilter(d, f); return this.pushStack(c.unique(f), a, d) } }); c.each({ appendTo: "append", prependTo: "prepend", insertBefore: "before", insertAfter: "after", replaceAll: "replaceWith" }, function(a, b) { c.fn[a] = function(d) { for (var f = [], h = c(d), k = 0, m = h.length; k < m; k++) { var p = (k > 0 ? this.clone(true) : this).get(); c.fn[b].apply(c(h[k]), p); f = f.concat(p) } return this.pushStack(f, a, d) } }); c.each({ removeAttr: function(a) { c.attr(this, a, ""); this.nodeType == 1 && this.removeAttribute(a) }, addClass: function(a) { c.className.add(this, a) }, removeClass: function(a) { c.className.remove(this, a) }, toggleClass: function(a, b) { if (typeof b !== "boolean") b = !c.className.has(this, a); c.className[b ? "add" : "remove"](this, a) }, remove: function(a) { if (!a || c.filter(a, [this]).length) { c("*", this).add([this]).each(function() { c.event.remove(this); c.removeData(this) }); this.parentNode && this.parentNode.removeChild(this) } }, empty: function() { for (c(this).children().remove(); this.firstChild; ) this.removeChild(this.firstChild) } }, function(a, b) { c.fn[a] = function() { return this.each(b, arguments) } }); var t = "jQuery" + L(), H = 0, y = {}; c.extend({ cache: {}, data: function(a, b, d) { a = a == j ? y : a; var f = a[t]; f || (f = a[t] = ++H); if (b && !c.cache[f]) c.cache[f] = {}; if (d !== n) c.cache[f][b] = d; return b ? c.cache[f][b] : f }, removeData: function(a, b) { a = a == j ? y : a; var d = a[t]; if (b) { if (c.cache[d]) { delete c.cache[d][b]; b = ""; for (b in c.cache[d]) break; b || c.removeData(a) } } else { try { delete a[t] } catch (f) { a.removeAttribute && a.removeAttribute(t) } delete c.cache[d] } }, queue: function(a, b, d) { if (a) { b = (b || "fx") + "queue"; var f = c.data(a, b); if (!f || c.isArray(d)) f = c.data(a, b, c.makeArray(d)); else d && f.push(d) } return f }, dequeue: function(a, b) { var d = c.queue(a, b), f = d.shift(); if (!b || b === "fx") f = d[0]; f !== n && f.call(a) } }); c.fn.extend({ data: function(a, b) { var d = a.split("."); d[1] = d[1] ? "." + d[1] : ""; if (b === n) { var f = this.triggerHandler("getData" + d[1] + "!", [d[0]]); if (f === n && this.length) f = c.data(this[0], a); return f === n && d[1] ? this.data(d[0]) : f } else return this.trigger("setData" + d[1] + "!", [d[0], b]).each(function() { c.data(this, a, b) }) }, removeData: function(a) { return this.each(function() { c.removeData(this, a) }) }, queue: function(a, b) { if (typeof a !== "string") { b = a; a = "fx" } if (b === n) return c.queue(this[0], a); return this.each(function() { var d = c.queue(this, a, b); a == "fx" && d.length == 1 && d[0].call(this) }) }, dequeue: function(a) { return this.each(function() { c.dequeue(this, a) }) } }); (function() { function a(e, g, i, l, q, s) { q = e == "previousSibling" && !s; for (var v = 0, K = l.length; v < K; v++) { var x = l[v]; if (x) { if (q && x.nodeType === 1) { x.sizcache = i; x.sizset = v } x = x[e]; for (var N = false; x; ) { if (x.sizcache === i) { N = l[x.sizset]; break } if (x.nodeType === 1 && !s) { x.sizcache = i; x.sizset = v } if (x.nodeName === g) { N = x; break } x = x[e] } l[v] = N } } } function b(e, g, i, l, q, s) { q = e == "previousSibling" && !s; for (var v = 0, K = l.length; v < K; v++) { var x = l[v]; if (x) { if (q && x.nodeType === 1) { x.sizcache = i; x.sizset = v } x = x[e]; for (var N = false; x; ) { if (x.sizcache === i) { N = l[x.sizset]; break } if (x.nodeType === 1) { if (!s) { x.sizcache = i; x.sizset = v } if (typeof g !== "string") { if (x === g) { N = true; break } } else if (k.filter(g, [x]).length > 0) { N = x; break } } x = x[e] } l[v] = N } } } var d = /((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?/g, f = 0, h = Object.prototype.toString, k = function(e, g, i, l) { i = i || []; g = g || document; if (g.nodeType !== 1 && g.nodeType !== 9) return []; if (!e || typeof e !== "string") return i; var q = [], s, v, K, x = true; for (d.lastIndex = 0; (s = d.exec(e)) !== null; ) { q.push(s[1]); if (s[2]) { K = RegExp.rightContext; break } } if (q.length > 1 && p.exec(e)) if (q.length === 2 && m.relative[q[0]]) s = V(q[0] + q[1], g); else for (s = m.relative[q[0]] ? [g] : k(q.shift(), g); q.length; ) { e = q.shift(); if (m.relative[e]) e += q.shift(); s = V(e, s) } else { s = l ? { expr: q.pop(), set: J(l)} : k.find(q.pop(), q.length === 1 && g.parentNode ? g.parentNode : g, z(g)); s = k.filter(s.expr, s.set); if (q.length > 0) v = J(s); else x = false; for (; q.length; ) { var N = q.pop(), S = N; if (m.relative[N]) S = q.pop(); else N = ""; if (S == null) S = g; m.relative[N](v, S, z(g)) } } v || (v = s); if (!v) throw "Syntax error, unrecognized expression: " + (N || e); if (h.call(v) === "[object Array]") if (x) if (g.nodeType === 1) for (e = 0; v[e] != null; e++) { if (v[e] && (v[e] === true || v[e].nodeType === 1 && P(g, v[e]))) i.push(s[e]) } else for (e = 0; v[e] != null; e++) v[e] && v[e].nodeType === 1 && i.push(s[e]); else i.push.apply(i, v); else J(v, i); if (K) { k(K, g, i, l); if (M) { hasDuplicate = false; i.sort(M); if (hasDuplicate) for (e = 1; e < i.length; e++) i[e] === i[e - 1] && i.splice(e--, 1) } } return i }; k.matches = function(e, g) { return k(e, null, null, g) }; k.find = function(e, g, i) { var l, q; if (!e) return []; for (var s = 0, v = m.order.length; s < v; s++) { var K = m.order[s]; if (q = m.match[K].exec(e)) { var x = RegExp.leftContext; if (x.substr(x.length - 1) !== "\\") { q[1] = (q[1] || "").replace(/\\/g, ""); l = m.find[K](q, g, i); if (l != null) { e = e.replace(m.match[K], ""); break } } } } l || (l = g.getElementsByTagName("*")); return { set: l, expr: e} }; k.filter = function(e, g, i, l) { for (var q = e, s = [], v = g, K, x, N = g && g[0] && z(g[0]); e && g.length; ) { for (var S in m.filter) if ((K = m.match[S].exec(e)) != null) { var ha = m.filter[S], Y, aa; x = false; if (v == s) s = []; if (m.preFilter[S]) if (K = m.preFilter[S](K, v, i, s, l, N)) { if (K === true) continue } else x = Y = true; if (K) for (var ba = 0; (aa = v[ba]) != null; ba++) if (aa) { Y = ha(aa, K, ba, v); var ga = l ^ !!Y; if (i && Y != null) if (ga) x = true; else v[ba] = false; else if (ga) { s.push(aa); x = true } } if (Y !== n) { i || (v = s); e = e.replace(m.match[S], ""); if (!x) return []; break } } if (e == q) if (x == null) throw "Syntax error, unrecognized expression: " + e; else break; q = e } return v }; var m = k.selectors = { order: ["ID", "NAME", "TAG"], match: { ID: /#((?:[\w\u00c0-\uFFFF_-]|\\.)+)/, CLASS: /\.((?:[\w\u00c0-\uFFFF_-]|\\.)+)/, NAME: /\[name=['"]*((?:[\w\u00c0-\uFFFF_-]|\\.)+)['"]*\]/, ATTR: /\[\s*((?:[\w\u00c0-\uFFFF_-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\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(e) { return e.getAttribute("href") } }, relative: { "+": function(e, g, i) { var l = typeof g === "string", q = l && !/\W/.test(g); l = l && !q; if (q && !i) g = g.toUpperCase(); i = 0; q = e.length; for (var s; i < q; i++) if (s = e[i]) { for (; (s = s.previousSibling) && s.nodeType !== 1; ); e[i] = l || s && s.nodeName === g ? s || false : s === g } l && k.filter(g, e, true) }, ">": function(e, g, i) { var l = typeof g === "string"; if (l && !/\W/.test(g)) { g = i ? g : g.toUpperCase(); i = 0; for (var q = e.length; i < q; i++) { var s = e[i]; if (s) { l = s.parentNode; e[i] = l.nodeName === g ? l : false } } } else { i = 0; for (q = e.length; i < q; i++) if (s = e[i]) e[i] = l ? s.parentNode : s.parentNode === g; l && k.filter(g, e, true) } }, "": function(e, g, i) { var l = f++, q = b; if (!g.match(/\W/)) { var s = g = i ? g : g.toUpperCase(); q = a } q("parentNode", g, l, e, s, i) }, "~": function(e, g, i) { var l = f++, q = b; if (typeof g === "string" && !g.match(/\W/)) { var s = g = i ? g : g.toUpperCase(); q = a } q("previousSibling", g, l, e, s, i) } }, find: { ID: function(e, g, i) { if (typeof g.getElementById !== "undefined" && !i) return (e = g.getElementById(e[1])) ? [e] : [] }, NAME: function(e, g) { if (typeof g.getElementsByName !== "undefined") { var i = []; g = g.getElementsByName(e[1]); for (var l = 0, q = g.length; l < q; l++) g[l].getAttribute("name") === e[1] && i.push(g[l]); return i.length === 0 ? null : i } }, TAG: function(e, g) { return g.getElementsByTagName(e[1]) } }, preFilter: { CLASS: function(e, g, i, l, q, s) { e = " " + e[1].replace(/\\/g, "") + " "; if (s) return e; s = 0; for (var v; (v = g[s]) != null; s++) if (v) if (q ^ (v.className && (" " + v.className + " ").indexOf(e) >= 0)) i || l.push(v); else if (i) g[s] = false; return false }, ID: function(e) { return e[1].replace(/\\/g, "") }, TAG: function(e, g) { for (var i = 0; g[i] === false; i++); return g[i] && z(g[i]) ? e[1] : e[1].toUpperCase() }, CHILD: function(e) { if (e[1] == "nth") { var g = /(-?)(\d*)n((?:\+|-)?\d*)/.exec(e[2] == "even" && "2n" || e[2] == "odd" && "2n+1" || !/\D/.test(e[2]) && "0n+" + e[2] || e[2]); e[2] = g[1] + (g[2] || 1) - 0; e[3] = g[3] - 0 } e[0] = f++; return e }, ATTR: function(e, g, i, l, q, s) { g = e[1].replace(/\\/g, ""); if (!s && m.attrMap[g]) e[1] = m.attrMap[g]; if (e[2] === "~=") e[4] = " " + e[4] + " "; return e }, PSEUDO: function(e, g, i, l, q) { if (e[1] === "not") if (e[3].match(d).length > 1 || /^\w/.test(e[3])) e[3] = k(e[3], null, null, g); else { e = k.filter(e[3], g, i, true ^ q); i || l.push.apply(l, e); return false } else if (m.match.POS.test(e[0]) || m.match.CHILD.test(e[0])) return true; return e }, POS: function(e) { e.unshift(true); return e } }, filters: { enabled: function(e) { return e.disabled === false && e.type !== "hidden" }, disabled: function(e) { return e.disabled === true }, checked: function(e) { return e.checked === true }, selected: function(e) { return e.selected === true }, parent: function(e) { return !!e.firstChild }, empty: function(e) { return !e.firstChild }, has: function(e, g, i) { return !!k(i[3], e).length }, header: function(e) { return /h\d/i.test(e.nodeName) }, text: function(e) { return "text" === e.type }, radio: function(e) { return "radio" === e.type }, checkbox: function(e) { return "checkbox" === e.type }, file: function(e) { return "file" === e.type }, password: function(e) { return "password" === e.type }, submit: function(e) { return "submit" === e.type }, image: function(e) { return "image" === e.type }, reset: function(e) { return "reset" === e.type }, button: function(e) { return "button" === e.type || e.nodeName.toUpperCase() === "BUTTON" }, input: function(e) { return /input|select|textarea|button/i.test(e.nodeName) } }, setFilters: { first: function(e, g) { return g === 0 }, last: function(e, g, i, l) { return g === l.length - 1 }, even: function(e, g) { return g % 2 === 0 }, odd: function(e, g) { return g % 2 === 1 }, lt: function(e, g, i) { return g < i[3] - 0 }, gt: function(e, g, i) { return g > i[3] - 0 }, nth: function(e, g, i) { return i[3] - 0 == g }, eq: function(e, g, i) { return i[3] - 0 == g } }, filter: { PSEUDO: function(e, g, i, l) { var q = g[1], s = m.filters[q]; if (s) return s(e, i, g, l); else if (q === "contains") return (e.textContent || e.innerText || "").indexOf(g[3]) >= 0; else if (q === "not") { g = g[3]; i = 0; for (l = g.length; i < l; i++) if (g[i] === e) return false; return true } }, CHILD: function(e, g) { var i = g[1], l = e; switch (i) { case "only": case "first": for (; l = l.previousSibling; ) if (l.nodeType === 1) return false; if (i == "first") return true; l = e; case "last": for (; l = l.nextSibling; ) if (l.nodeType === 1) return false; return true; case "nth": i = g[2]; var q = g[3]; if (i == 1 && q == 0) return true; g = g[0]; var s = e.parentNode; if (s && (s.sizcache !== g || !e.nodeIndex)) { var v = 0; for (l = s.firstChild; l; l = l.nextSibling) if (l.nodeType === 1) l.nodeIndex = ++v; s.sizcache = g } e = e.nodeIndex - q; return i == 0 ? e == 0 : e % i == 0 && e / i >= 0 } }, ID: function(e, g) { return e.nodeType === 1 && e.getAttribute("id") === g }, TAG: function(e, g) { return g === "*" && e.nodeType === 1 || e.nodeName === g }, CLASS: function(e, g) { return (" " + (e.className || e.getAttribute("class")) + " ").indexOf(g) > -1 }, ATTR: function(e, g) { var i = g[1]; e = m.attrHandle[i] ? m.attrHandle[i](e) : e[i] != null ? e[i] : e.getAttribute(i); i = e + ""; var l = g[2]; g = g[4]; return e == null ? l === "!=" : l === "=" ? i === g : l === "*=" ? i.indexOf(g) >= 0 : l === "~=" ? (" " + i + " ").indexOf(g) >= 0 : !g ? i && e !== false : l === "!=" ? i != g : l === "^=" ? i.indexOf(g) === 0 : l === "$=" ? i.substr(i.length - g.length) === g : l === "|=" ? i === g || i.substr(0, g.length + 1) === g + "-" : false }, POS: function(e, g, i, l) { var q = m.setFilters[g[2]]; if (q) return q(e, i, g, l) } } }, p = m.match.POS; for (var C in m.match) m.match[C] = RegExp(m.match[C].source + /(?![^\[]*\])(?![^\(]*\))/.source); var J = function(e, g) { e = Array.prototype.slice.call(e); if (g) { g.push.apply(g, e); return g } return e }; try { Array.prototype.slice.call(document.documentElement.childNodes) } catch (G) { J = function(e, g) { g = g || []; if (h.call(e) === "[object Array]") Array.prototype.push.apply(g, e); else if (typeof e.length === "number") for (var i = 0, l = e.length; i < l; i++) g.push(e[i]); else for (i = 0; e[i]; i++) g.push(e[i]); return g } } var M; if (document.documentElement.compareDocumentPosition) M = function(e, g) { e = e.compareDocumentPosition(g) & 4 ? -1 : e === g ? 0 : 1; if (e === 0) hasDuplicate = true; return e }; else if ("sourceIndex" in document.documentElement) M = function(e, g) { e = e.sourceIndex - g.sourceIndex; if (e === 0) hasDuplicate = true; return e }; else if (document.createRange) M = function(e, g) { var i = e.ownerDocument.createRange(), l = g.ownerDocument.createRange(); i.selectNode(e); i.collapse(true); l.selectNode(g); l.collapse(true); e = i.compareBoundaryPoints(Range.START_TO_END, l); if (e === 0) hasDuplicate = true; return e }; (function() { var e = document.createElement("form"), g = "script" + (new Date).getTime(); e.innerHTML = "<input name='" + g + "'/>"; var i = document.documentElement; i.insertBefore(e, i.firstChild); if (document.getElementById(g)) { m.find.ID = function(l, q, s) { if (typeof q.getElementById !== "undefined" && !s) return (q = q.getElementById(l[1])) ? q.id === l[1] || typeof q.getAttributeNode !== "undefined" && q.getAttributeNode("id").nodeValue === l[1] ? [q] : n : [] }; m.filter.ID = function(l, q) { var s = typeof l.getAttributeNode !== "undefined" && l.getAttributeNode("id"); return l.nodeType === 1 && s && s.nodeValue === q } } i.removeChild(e) })(); (function() { var e = document.createElement("div"); e.appendChild(document.createComment("")); if (e.getElementsByTagName("*").length > 0) m.find.TAG = function(g, i) { i = i.getElementsByTagName(g[1]); if (g[1] === "*") { g = []; for (var l = 0; i[l]; l++) i[l].nodeType === 1 && g.push(i[l]); i = g } return i }; e.innerHTML = "<a href='#'></a>"; if (e.firstChild && typeof e.firstChild.getAttribute !== "undefined" && e.firstChild.getAttribute("href") !== "#") m.attrHandle.href = function(g) { return g.getAttribute("href", 2) } })(); document.querySelectorAll && function() { var e = k, g = document.createElement("div"); g.innerHTML = "<p class='TEST'></p>"; if (!(g.querySelectorAll && g.querySelectorAll(".TEST").length === 0)) { k = function(i, l, q, s) { l = l || document; if (!s && l.nodeType === 9 && !z(l)) try { return J(l.querySelectorAll(i), q) } catch (v) { } return e(i, l, q, s) }; k.find = e.find; k.filter = e.filter; k.selectors = e.selectors; k.matches = e.matches } } (); document.getElementsByClassName && document.documentElement.getElementsByClassName && function() { var e = document.createElement("div"); e.innerHTML = "<div class='test e'></div><div class='test'></div>"; if (e.getElementsByClassName("e").length !== 0) { e.lastChild.className = "e"; if (e.getElementsByClassName("e").length !== 1) { m.order.splice(1, 0, "CLASS"); m.find.CLASS = function(g, i, l) { if (typeof i.getElementsByClassName !== "undefined" && !l) return i.getElementsByClassName(g[1]) } } } } (); var P = document.compareDocumentPosition ? function(e, g) { return e.compareDocumentPosition(g) & 16 } : function(e, g) { return e !== g && (e.contains ? e.contains(g) : true) }, z = function(e) { return e.nodeType === 9 && e.documentElement.nodeName !== "HTML" || !!e.ownerDocument && z(e.ownerDocument) }, V = function(e, g) { var i = [], l = "", q; for (g = g.nodeType ? [g] : g; q = m.match.PSEUDO.exec(e); ) { l += q[0]; e = e.replace(m.match.PSEUDO, "") } e = m.relative[e] ? e + "*" : e; q = 0; for (var s = g.length; q < s; q++) k(e, g[q], i); return k.filter(l, i) }; c.find = k; c.filter = k.filter; c.expr = k.selectors; c.expr[":"] = c.expr.filters; k.selectors.filters.hidden = function(e) { return e.offsetWidth === 0 || e.offsetHeight === 0 }; k.selectors.filters.visible = function(e) { return e.offsetWidth > 0 || e.offsetHeight > 0 }; k.selectors.filters.animated = function(e) { return c.grep(c.timers, function(g) { return e === g.elem }).length }; c.multiFilter = function(e, g, i) { if (i) e = ":not(" + e + ")"; return k.matches(e, g) }; c.dir = function(e, g) { var i = []; for (e = e[g]; e && e != document; ) { e.nodeType == 1 && i.push(e); e = e[g] } return i }; c.nth = function(e, g, i) { g = g || 1; for (var l = 0; e; e = e[i]) if (e.nodeType == 1 && ++l == g) break; return e }; c.sibling = function(e, g) { for (var i = []; e; e = e.nextSibling) e.nodeType == 1 && e != g && i.push(e); return i } })(); c.event = { add: function(a, b, d, f) { if (!(a.nodeType == 3 || a.nodeType == 8)) { if (a.setInterval && a != j) a = j; if (!d.guid) d.guid = this.guid++; if (f !== n) { d = this.proxy(d); d.data = f } var h = c.data(a, "events") || c.data(a, "events", {}), k = c.data(a, "handle") || c.data(a, "handle", function() { return typeof c !== "undefined" && !c.event.triggered ? c.event.handle.apply(arguments.callee.elem, arguments) : n }); k.elem = a; c.each(b.split(/\s+/), function(m, p) { m = p.split("."); p = m.shift(); d.type = m.slice().sort().join("."); var C = h[p]; c.event.specialAll[p] && c.event.specialAll[p].setup.call(a, f, m); if (!C) { C = h[p] = {}; if (!c.event.special[p] || c.event.special[p].setup.call(a, f, m) === false) if (a.addEventListener) a.addEventListener(p, k, false); else a.attachEvent && a.attachEvent("on" + p, k) } C[d.guid] = d; c.event.global[p] = true }); a = null } }, guid: 1, global: {}, remove: function(a, b, d) { if (!(a.nodeType == 3 || a.nodeType == 8)) { var f = c.data(a, "events"), h; if (f) { if (b === n || typeof b === "string" && b.charAt(0) == ".") for (var k in f) this.remove(a, k + (b || "")); else { if (b.type) { d = b.handler; b = b.type } c.each(b.split(/\s+/), function(m, p) { m = p.split("."); p = m.shift(); var C = RegExp("(^|\\.)" + m.slice().sort().join(".*\\.") + "(\\.|$)"); if (f[p]) { if (d) delete f[p][d.guid]; else for (var J in f[p]) C.test(f[p][J].type) && delete f[p][J]; c.event.specialAll[p] && c.event.specialAll[p].teardown.call(a, m); for (h in f[p]) break; if (!h) { if (!c.event.special[p] || c.event.special[p].teardown.call(a, m) === false) if (a.removeEventListener) a.removeEventListener(p, c.data(a, "handle"), false); else a.detachEvent && a.detachEvent("on" + p, c.data(a, "handle")); h = null; delete f[p] } } }) } for (h in f) break; if (!h) { if (b = c.data(a, "handle")) b.elem = null; c.removeData(a, "events"); c.removeData(a, "handle") } } } }, trigger: function(a, b, d, f) { var h = a.type || a; if (!f) { a = typeof a === "object" ? a[t] ? a : c.extend(c.Event(h), a) : c.Event(h); if (h.indexOf("!") >= 0) { a.type = h = h.slice(0, -1); a.exclusive = true } if (!d) { a.stopPropagation(); this.global[h] && c.each(c.cache, function() { this.events && this.events[h] && c.event.trigger(a, b, this.handle.elem) }) } if (!d || d.nodeType == 3 || d.nodeType == 8) return n; a.result = n; a.target = d; b = c.makeArray(b); b.unshift(a) } a.currentTarget = d; var k = c.data(d, "handle"); k && k.apply(d, b); if ((!d[h] || c.nodeName(d, "a") && h == "click") && d["on" + h] && d["on" + h].apply(d, b) === false) a.result = false; if (!f && d[h] && !a.isDefaultPrevented() && !(c.nodeName(d, "a") && h == "click")) { this.triggered = true; try { d[h]() } catch (m) { } } this.triggered = false; if (!a.isPropagationStopped()) (d = d.parentNode || d.ownerDocument) && c.event.trigger(a, b, d, true) }, handle: function(a) { var b, d; a = arguments[0] = c.event.fix(a || j.event); a.currentTarget = this; d = a.type.split("."); a.type = d.shift(); b = !d.length && !a.exclusive; var f = RegExp("(^|\\.)" + d.slice().sort().join(".*\\.") + "(\\.|$)"); d = (c.data(this, "events") || {})[a.type]; for (var h in d) { var k = d[h]; if (b || f.test(k.type)) { a.handler = k; a.data = k.data; k = k.apply(this, arguments); if (k !== n) { a.result = k; if (k === false) { a.preventDefault(); a.stopPropagation() } } if (a.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(a) { if (a[t]) return a; var b = a; a = c.Event(b); for (var d = this.props.length, f; d; ) { f = this.props[--d]; a[f] = b[f] } if (!a.target) a.target = a.srcElement || document; if (a.target.nodeType == 3) a.target = a.target.parentNode; if (!a.relatedTarget && a.fromElement) a.relatedTarget = a.fromElement == a.target ? a.toElement : a.fromElement; if (a.pageX == null && a.clientX != null) { b = document.documentElement; d = document.body; a.pageX = a.clientX + (b && b.scrollLeft || d && d.scrollLeft || 0) - (b.clientLeft || 0); a.pageY = a.clientY + (b && b.scrollTop || d && d.scrollTop || 0) - (b.clientTop || 0) } if (!a.which && (a.charCode || a.charCode === 0 ? a.charCode : a.keyCode)) a.which = a.charCode || a.keyCode; if (!a.metaKey && a.ctrlKey) a.metaKey = a.ctrlKey; if (!a.which && a.button) a.which = a.button & 1 ? 1 : a.button & 2 ? 3 : a.button & 4 ? 2 : 0; return a }, 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: Q, teardown: function() { } } }, specialAll: { live: { setup: function(a, b) { c.event.add(this, b[0], F) }, teardown: function(a) { if (a.length) { var b = 0, d = RegExp("(^|\\.)" + a[0] + "(\\.|$)"); c.each(c.data(this, "events").live || {}, function() { d.test(this.type) && b++ }); b < 1 && c.event.remove(this, a[0], F) } } }} }; c.Event = function(a) { if (!this.preventDefault) return new c.Event(a); if (a && a.type) { this.originalEvent = a; this.type = a.type } else this.type = a; this.timeStamp = L(); this[t] = true }; c.Event.prototype = { preventDefault: function() { this.isDefaultPrevented = o; var a = this.originalEvent; if (a) { a.preventDefault && a.preventDefault(); a.returnValue = false } }, stopPropagation: function() { this.isPropagationStopped = o; var a = this.originalEvent; if (a) { a.stopPropagation && a.stopPropagation(); a.cancelBubble = true } }, stopImmediatePropagation: function() { this.isImmediatePropagationStopped = o; this.stopPropagation() }, isDefaultPrevented: u, isPropagationStopped: u, isImmediatePropagationStopped: u }; var R = function(a) { for (var b = a.relatedTarget; b && b != this; ) try { b = b.parentNode } catch (d) { b = this } if (b != this) { a.type = a.data; c.event.handle.apply(this, arguments) } }; c.each({ mouseover: "mouseenter", mouseout: "mouseleave" }, function(a, b) { c.event.special[b] = { setup: function() { c.event.add(this, a, R, b) }, teardown: function() { c.event.remove(this, a, R) } } }); c.fn.extend({ bind: function(a, b, d) { return a == "unload" ? this.one(a, b, d) : this.each(function() { c.event.add(this, a, d || b, d && b) }) }, one: function(a, b, d) { var f = c.event.proxy(d || b, function(h) { c(this).unbind(h, f); return (d || b).apply(this, arguments) }); return this.each(function() { c.event.add(this, a, f, d && b) }) }, unbind: function(a, b) { return this.each(function() { c.event.remove(this, a, b) }) }, trigger: function(a, b) { return this.each(function() { c.event.trigger(a, b, this) }) }, triggerHandler: function(a, b) { if (this[0]) { a = c.Event(a); a.preventDefault(); a.stopPropagation(); c.event.trigger(a, b, this[0]); return a.result } }, toggle: function(a) { for (var b = arguments, d = 1; d < b.length; ) c.event.proxy(a, b[d++]); return this.click(c.event.proxy(a, function(f) { this.lastToggle = (this.lastToggle || 0) % d; f.preventDefault(); return b[this.lastToggle++].apply(this, arguments) || false })) }, hover: function(a, b) { return this.mouseenter(a).mouseleave(b) }, ready: function(a) { Q(); c.isReady ? a.call(document, c) : c.readyList.push(a); return this }, live: function(a, b) { b = c.event.proxy(b); b.guid += this.selector + a; c(document).bind(I(a, this.selector), this.selector, b); return this }, die: function(a, b) { c(document).unbind(I(a, this.selector), b ? { guid: b.guid + this.selector + a} : null); return this } }); c.extend({ isReady: false, readyList: [], ready: function() { if (!c.isReady) { c.isReady = true; if (c.readyList) { c.each(c.readyList, function() { this.call(document, c) }); c.readyList = null } c(document).triggerHandler("ready") } } }); var ea = false; c.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(a, b) { c.fn[b] = function(d) { return d ? this.bind(b, d) : this.trigger(b) } }); c(j).bind("unload", function() { for (var a in c.cache) a != 1 && c.cache[a].handle && c.event.remove(c.cache[a].handle.elem) }); (function() { c.support = {}; var a = document.documentElement, b = document.createElement("script"), d = document.createElement("div"), f = "script" + (new Date).getTime(); d.style.display = "none"; d.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 h = d.getElementsByTagName("*"), k = d.getElementsByTagName("a")[0]; if (!(!h || !h.length || !k)) { c.support = { leadingWhitespace: d.firstChild.nodeType == 3, tbody: !d.getElementsByTagName("tbody").length, objectAll: !!d.getElementsByTagName("object")[0].getElementsByTagName("*").length, htmlSerialize: !!d.getElementsByTagName("link").length, style: /red/.test(k.getAttribute("style")), hrefNormalized: k.getAttribute("href") === "/a", opacity: k.style.opacity === "0.5", cssFloat: !!k.style.cssFloat, scriptEval: false, noCloneEvent: true, boxModel: null }; b.type = "text/javascript"; try { b.appendChild(document.createTextNode("window." + f + "=1;")) } catch (m) { } a.insertBefore(b, a.firstChild); if (j[f]) { c.support.scriptEval = true; delete j[f] } a.removeChild(b); if (d.attachEvent && d.fireEvent) { d.attachEvent("onclick", function() { c.support.noCloneEvent = false; d.detachEvent("onclick", arguments.callee) }); d.cloneNode(true).fireEvent("onclick") } c(function() { var p = document.createElement("div"); p.style.width = p.style.paddingLeft = "1px"; document.body.appendChild(p); c.boxModel = c.support.boxModel = p.offsetWidth === 2; document.body.removeChild(p).style.display = "none" }) } })(); var Z = c.support.cssFloat ? "cssFloat" : "styleFloat"; c.props = { "for": "htmlFor", "class": "className", "float": Z, cssFloat: Z, styleFloat: Z, readonly: "readOnly", maxlength: "maxLength", cellspacing: "cellSpacing", rowspan: "rowSpan", tabindex: "tabIndex" }; c.fn.extend({ _load: c.fn.load, load: function(a, b, d) { if (typeof a !== "string") return this._load(a); var f = a.indexOf(" "); if (f >= 0) { var h = a.slice(f, a.length); a = a.slice(0, f) } f = "GET"; if (b) if (c.isFunction(b)) { d = b; b = null } else if (typeof b === "object") { b = c.param(b); f = "POST" } var k = this; c.ajax({ url: a, type: f, dataType: "html", data: b, complete: function(m, p) { if (p == "success" || p == "notmodified") k.html(h ? c("<div/>").append(m.responseText.replace(/<script(.|\s)*?\/script>/g, "")).find(h) : m.responseText); d && k.each(d, [m.responseText, p, m]) } }); return this }, serialize: function() { return c.param(this.serializeArray()) }, serializeArray: function() { return this.map(function() { return this.elements ? c.makeArray(this.elements) : this }).filter(function() { return this.name && !this.disabled && (this.checked || /select|textarea/i.test(this.nodeName) || /text|hidden|password|search/i.test(this.type)) }).map(function(a, b) { a = c(this).val(); return a == null ? null : c.isArray(a) ? c.map(a, function(d) { return { name: b.name, value: d} }) : { name: b.name, value: a} }).get() } }); c.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","), function(a, b) { c.fn[b] = function(d) { return this.bind(b, d) } }); var ia = L(); c.extend({ get: function(a, b, d, f) { if (c.isFunction(b)) { d = b; b = null } return c.ajax({ type: "GET", url: a, data: b, success: d, dataType: f }) }, getScript: function(a, b) { return c.get(a, null, b, "script") }, getJSON: function(a, b, d) { return c.get(a, b, d, "json") }, post: function(a, b, d, f) { if (c.isFunction(b)) { d = b; b = {} } return c.ajax({ type: "POST", url: a, data: b, success: d, dataType: f }) }, ajaxSetup: function(a) { c.extend(c.ajaxSettings, a) }, ajaxSettings: { url: location.href, global: true, type: "GET", contentType: "application/x-www-form-urlencoded", processData: true, async: true, xhr: function() { return 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(a) { function b() { a.success && a.success(m, k); a.global && c.event.trigger("ajaxSuccess", [z, a]) } function d() { a.complete && a.complete(z, k); a.global && c.event.trigger("ajaxComplete", [z, a]); a.global && ! --c.active && c.event.trigger("ajaxStop") } a = c.extend(true, a, c.extend(true, {}, c.ajaxSettings, a)); var f, h = /=\?(&|$)/g, k, m, p = a.type.toUpperCase(); if (a.data && a.processData && typeof a.data !== "string") a.data = c.param(a.data); if (a.dataType == "jsonp") { if (p == "GET") a.url.match(h) || (a.url += (a.url.match(/\?/) ? "&" : "?") + (a.jsonp || "callback") + "=?"); else if (!a.data || !a.data.match(h)) a.data = (a.data ? a.data + "&" : "") + (a.jsonp || "callback") + "=?"; a.dataType = "json" } if (a.dataType == "json" && (a.data && a.data.match(h) || a.url.match(h))) { f = "jsonp" + ia++; if (a.data) a.data = (a.data + "").replace(h, "=" + f + "$1"); a.url = a.url.replace(h, "=" + f + "$1"); a.dataType = "script"; j[f] = function(l) { m = l; b(); d(); j[f] = n; try { delete j[f] } catch (q) { } J && J.removeChild(G) } } if (a.dataType == "script" && a.cache == null) a.cache = false; if (a.cache === false && p == "GET") { h = L(); var C = a.url.replace(/(\?|&)_=.*?(&|$)/, "$1_=" + h + "$2"); a.url = C + (C == a.url ? (a.url.match(/\?/) ? "&" : "?") + "_=" + h : "") } if (a.data && p == "GET") { a.url += (a.url.match(/\?/) ? "&" : "?") + a.data; a.data = null } a.global && !c.active++ && c.event.trigger("ajaxStart"); h = /^(\w+:)?\/\/([^\/?#]+)/.exec(a.url); if (a.dataType == "script" && p == "GET" && h && (h[1] && h[1] != location.protocol || h[2] != location.host)) { var J = document.getElementsByTagName("head")[0], G = document.createElement("script"); G.src = a.url; if (a.scriptCharset) G.charset = a.scriptCharset; if (!f) { var M = false; G.onload = G.onreadystatechange = function() { if (!M && (!this.readyState || this.readyState == "loaded" || this.readyState == "complete")) { M = true; b(); d(); G.onload = G.onreadystatechange = null; J.removeChild(G) } } } J.appendChild(G); return n } var P = false, z = a.xhr(); a.username ? z.open(p, a.url, a.async, a.username, a.password) : z.open(p, a.url, a.async); try { a.data && z.setRequestHeader("Content-Type", a.contentType); if (a.ifModified) z.setRequestHeader("If-Modified-Since", c.lastModified[a.url] || "Thu, 01 Jan 1970 00:00:00 GMT"); z.setRequestHeader("X-Requested-With", "XMLHttpRequest"); z.setRequestHeader("Accept", a.dataType && a.accepts[a.dataType] ? a.accepts[a.dataType] + ", */*" : a.accepts._default) } catch (V) { } if (a.beforeSend && a.beforeSend(z, a) === false) { a.global && ! --c.active && c.event.trigger("ajaxStop"); z.abort(); return false } a.global && c.event.trigger("ajaxSend", [z, a]); var e = function(l) { if (z.readyState == 0) { if (g) { clearInterval(g); g = null; a.global && ! --c.active && c.event.trigger("ajaxStop") } } else if (!P && z && (z.readyState == 4 || l == "timeout")) { P = true; if (g) { clearInterval(g); g = null } k = l == "timeout" ? "timeout" : !c.httpSuccess(z) ? "error" : a.ifModified && c.httpNotModified(z, a.url) ? "notmodified" : "success"; if (k == "success") try { m = c.httpData(z, a.dataType, a) } catch (q) { k = "parsererror" } if (k == "success") { var s; try { s = z.getResponseHeader("Last-Modified") } catch (v) { } if (a.ifModified && s) c.lastModified[a.url] = s; f || b() } else c.handleError(a, z, k); d(); l && z.abort(); if (a.async) z = null } }; if (a.async) { var g = setInterval(e, 13); a.timeout > 0 && setTimeout(function() { z && !P && e("timeout") }, a.timeout) } try { z.send(a.data) } catch (i) { c.handleError(a, z, null, i) } a.async || e(); return z }, handleError: function(a, b, d, f) { a.error && a.error(b, d, f); a.global && c.event.trigger("ajaxError", [b, a, f]) }, 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 false }, httpNotModified: function(a, b) { try { var d = a.getResponseHeader("Last-Modified"); return a.status == 304 || d == c.lastModified[b] } catch (f) { } return false }, httpData: function(a, b, d) { var f = a.getResponseHeader("content-type"); a = (f = b == "xml" || !b && f && f.indexOf("xml") >= 0) ? a.responseXML : a.responseText; if (f && a.documentElement.tagName == "parsererror") throw "parsererror"; if (d && d.dataFilter) a = d.dataFilter(a, b); if (typeof a === "string") { b == "script" && c.globalEval(a); if (b == "json") a = j.eval("(" + a + ")") } return a }, param: function(a) { function b(h, k) { d[d.length] = encodeURIComponent(h) + "=" + encodeURIComponent(k) } var d = []; if (c.isArray(a) || a.jquery) c.each(a, function() { b(this.name, this.value) }); else for (var f in a) c.isArray(a[f]) ? c.each(a[f], function() { b(f, this) }) : b(f, c.isFunction(a[f]) ? a[f]() : a[f]); return d.join("&").replace(/%20/g, "+") } }); var da = {}, ca, fa = [["height", "marginTop", "marginBottom", "paddingTop", "paddingBottom"], ["width", "marginLeft", "marginRight", "paddingLeft", "paddingRight"], ["opacity"]]; c.fn.extend({ show: function(a, b) { if (a) return this.animate(E("show", 3), a, b); else { a = 0; for (b = this.length; a < b; a++) { var d = c.data(this[a], "olddisplay"); this[a].style.display = d || ""; if (c.css(this[a], "display") === "none") { d = this[a].tagName; var f; if (da[d]) f = da[d]; else { var h = c("<" + d + " />").appendTo("body"); f = h.css("display"); if (f === "none") f = "block"; h.remove(); da[d] = f } c.data(this[a], "olddisplay", f) } } a = 0; for (b = this.length; a < b; a++) this[a].style.display = c.data(this[a], "olddisplay") || ""; return this } }, hide: function(a, b) { if (a) return this.animate(E("hide", 3), a, b); else { a = 0; for (b = this.length; a < b; a++) { var d = c.data(this[a], "olddisplay"); !d && d !== "none" && c.data(this[a], "olddisplay", c.css(this[a], "display")) } a = 0; for (b = this.length; a < b; a++) this[a].style.display = "none"; return this } }, _toggle: c.fn.toggle, toggle: function(a, b) { var d = typeof a === "boolean"; return c.isFunction(a) && c.isFunction(b) ? this._toggle.apply(this, arguments) : a == null || d ? this.each(function() { var f = d ? a : c(this).is(":hidden"); c(this)[f ? "show" : "hide"]() }) : this.animate(E("toggle", 3), a, b) }, fadeTo: function(a, b, d) { return this.animate({ opacity: b }, a, d) }, animate: function(a, b, d, f) { var h = c.speed(b, d, f); return this[h.queue === false ? "each" : "queue"](function() { var k = c.extend({}, h), m, p = this.nodeType == 1 && c(this).is(":hidden"), C = this; for (m in a) { if (a[m] == "hide" && p || a[m] == "show" && !p) return k.complete.call(this); if ((m == "height" || m == "width") && this.style) { k.display = c.css(this, "display"); k.overflow = this.style.overflow } } if (k.overflow != null) this.style.overflow = "hidden"; k.curAnim = c.extend({}, a); c.each(a, function(J, G) { var M = new c.fx(C, k, J); if (/toggle|show|hide/.test(G)) M[G == "toggle" ? p ? "show" : "hide" : G](a); else { var P = G.toString().match(/^([+-]=)?([\d+-.]+)(.*)$/), z = M.cur(true) || 0; if (P) { G = parseFloat(P[2]); var V = P[3] || "px"; if (V != "px") { C.style[J] = (G || 1) + V; z = (G || 1) / M.cur(true) * z; C.style[J] = z + V } if (P[1]) G = (P[1] == "-=" ? -1 : 1) * G + z; M.custom(z, G, V) } else M.custom(z, G, "") } }); return true }) }, stop: function(a, b) { var d = c.timers; a && this.queue([]); this.each(function() { for (var f = d.length - 1; f >= 0; f--) if (d[f].elem == this) { b && d[f](true); d.splice(f, 1) } }); b || this.dequeue(); return this } }); c.each({ slideDown: E("show", 1), slideUp: E("hide", 1), slideToggle: E("toggle", 1), fadeIn: { opacity: "show" }, fadeOut: { opacity: "hide"} }, function(a, b) { c.fn[a] = function(d, f) { return this.animate(b, d, f) } }); c.extend({ speed: function(a, b, d) { var f = typeof a === "object" ? a : { complete: d || !d && b || c.isFunction(a) && a, duration: a, easing: d && b || b && !c.isFunction(b) && b }; f.duration = c.fx.off ? 0 : typeof f.duration === "number" ? f.duration : c.fx.speeds[f.duration] || c.fx.speeds._default; f.old = f.complete; f.complete = function() { f.queue !== false && c(this).dequeue(); c.isFunction(f.old) && f.old.call(this) }; return f }, easing: { linear: function(a, b, d, f) { return d + f * a }, swing: function(a, b, d, f) { return (-Math.cos(a * Math.PI) / 2 + 0.5) * f + d } }, timers: [], fx: function(a, b, d) { this.options = b; this.elem = a; this.prop = d; if (!b.orig) b.orig = {} } }); c.fx.prototype = { update: function() { this.options.step && this.options.step.call(this.elem, this.now, this); (c.fx.step[this.prop] || c.fx.step._default)(this); if ((this.prop == "height" || this.prop == "width") && this.elem.style) this.elem.style.display = "block" }, cur: function(a) { if (this.elem[this.prop] != null && (!this.elem.style || this.elem.style[this.prop] == null)) return this.elem[this.prop]; return (a = parseFloat(c.css(this.elem, this.prop, a))) && a > -10000 ? a : parseFloat(c.curCSS(this.elem, this.prop)) || 0 }, custom: function(a, b, d) { function f(k) { return h.step(k) } this.startTime = L(); this.start = a; this.end = b; this.unit = d || this.unit || "px"; this.now = this.start; this.pos = this.state = 0; var h = this; f.elem = this.elem; if (f() && c.timers.push(f) && !ca) ca = setInterval(function() { for (var k = c.timers, m = 0; m < k.length; m++) k[m]() || k.splice(m--, 1); if (!k.length) { clearInterval(ca); ca = n } }, 13) }, show: function() { this.options.orig[this.prop] = c.attr(this.elem.style, this.prop); this.options.show = true; this.custom(this.prop == "width" || this.prop == "height" ? 1 : 0, this.cur()); c(this.elem).show() }, hide: function() { this.options.orig[this.prop] = c.attr(this.elem.style, this.prop); this.options.hide = true; this.custom(this.cur(), 0) }, step: function(a) { var b = L(); if (a || b >= this.options.duration + this.startTime) { this.now = this.end; this.pos = this.state = 1; this.update(); a = this.options.curAnim[this.prop] = true; for (var d in this.options.curAnim) if (this.options.curAnim[d] !== true) a = false; if (a) { if (this.options.display != null) { this.elem.style.overflow = this.options.overflow; this.elem.style.display = this.options.display; if (c.css(this.elem, "display") == "none") this.elem.style.display = "block" } this.options.hide && c(this.elem).hide(); if (this.options.hide || this.options.show) for (var f in this.options.curAnim) c.attr(this.elem.style, f, this.options.orig[f]); this.options.complete.call(this.elem) } return false } else { d = b - this.startTime; this.state = d / this.options.duration; this.pos = c.easing[this.options.easing || (c.easing.swing ? "swing" : "linear")](this.state, d, 0, 1, this.options.duration); this.now = this.start + (this.end - this.start) * this.pos; this.update() } return true } }; c.extend(c.fx, { speeds: { slow: 600, fast: 200, _default: 400 }, step: { opacity: function(a) { c.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 } } }); c.fn.offset = document.documentElement.getBoundingClientRect ? function() { if (!this[0]) return { top: 0, left: 0 }; if (this[0] === this[0].ownerDocument.body) return c.offset.bodyOffset(this[0]); var a = this[0].getBoundingClientRect(), b = this[0].ownerDocument, d = b.body; b = b.documentElement; return { top: a.top + (self.pageYOffset || c.boxModel && b.scrollTop || d.scrollTop) - (b.clientTop || d.clientTop || 0), left: a.left + (self.pageXOffset || c.boxModel && b.scrollLeft || d.scrollLeft) - (b.clientLeft || d.clientLeft || 0)} } : function() { if (!this[0]) return { top: 0, left: 0 }; if (this[0] === this[0].ownerDocument.body) return c.offset.bodyOffset(this[0]); c.offset.initialized || c.offset.initialize(); var a = this[0], b = a.offsetParent, d = a.ownerDocument, f, h = d.documentElement, k = d.body; d = d.defaultView; f = d.getComputedStyle(a, null); for (var m = a.offsetTop, p = a.offsetLeft; (a = a.parentNode) && a !== k && a !== h; ) { f = d.getComputedStyle(a, null); m -= a.scrollTop; p -= a.scrollLeft; if (a === b) { m += a.offsetTop; p += a.offsetLeft; if (c.offset.doesNotAddBorder && !(c.offset.doesAddBorderForTableAndCells && /^t(able|d|h)$/i.test(a.tagName))) { m += parseInt(f.borderTopWidth, 10) || 0; p += parseInt(f.borderLeftWidth, 10) || 0 } b = a.offsetParent } if (c.offset.subtractsBorderForOverflowNotVisible && f.overflow !== "visible") { m += parseInt(f.borderTopWidth, 10) || 0; p += parseInt(f.borderLeftWidth, 10) || 0 } f = f } if (f.position === "relative" || f.position === "static") { m += k.offsetTop; p += k.offsetLeft } if (f.position === "fixed") { m += Math.max(h.scrollTop, k.scrollTop); p += Math.max(h.scrollLeft, k.scrollLeft) } return { top: m, left: p} }; c.offset = { initialize: function() { if (!this.initialized) { var a = document.body, b = document.createElement("div"), d, f, h, k = a.style.marginTop; d = { position: "absolute", top: 0, left: 0, margin: 0, border: 0, width: "1px", height: "1px", visibility: "hidden" }; for (f in d) b.style[f] = d[f]; b.innerHTML = '<div style="position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;"><div></div></div><table style="position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;" cellpadding="0" cellspacing="0"><tr><td></td></tr></table>'; a.insertBefore(b, a.firstChild); d = b.firstChild; f = d.firstChild; h = d.nextSibling.firstChild.firstChild; this.doesNotAddBorder = f.offsetTop !== 5; this.doesAddBorderForTableAndCells = h.offsetTop === 5; d.style.overflow = "hidden"; d.style.position = "relative"; this.subtractsBorderForOverflowNotVisible = f.offsetTop === -5; a.style.marginTop = "1px"; this.doesNotIncludeMarginInBodyOffset = a.offsetTop === 0; a.style.marginTop = k; a.removeChild(b); this.initialized = true } }, bodyOffset: function(a) { c.offset.initialized || c.offset.initialize(); var b = a.offsetTop, d = a.offsetLeft; if (c.offset.doesNotIncludeMarginInBodyOffset) { b += parseInt(c.curCSS(a, "marginTop", true), 10) || 0; d += parseInt(c.curCSS(a, "marginLeft", true), 10) || 0 } return { top: b, left: d} } }; c.fn.extend({ position: function() { var a; if (this[0]) { a = this.offsetParent(); var b = this.offset(), d = /^body|html$/i.test(a[0].tagName) ? { top: 0, left: 0} : a.offset(); b.top -= A(this, "marginTop"); b.left -= A(this, "marginLeft"); d.top += A(a, "borderTopWidth"); d.left += A(a, "borderLeftWidth"); a = { top: b.top - d.top, left: b.left - d.left} } return a }, offsetParent: function() { for (var a = this[0].offsetParent || document.body; a && !/^body|html$/i.test(a.tagName) && c.css(a, "position") == "static"; ) a = a.offsetParent; return c(a) } }); c.each(["Left", "Top"], function(a, b) { var d = "scroll" + b; c.fn[d] = function(f) { if (!this[0]) return null; return f !== n ? this.each(function() { this == j || this == document ? j.scrollTo(!a ? f : c(j).scrollLeft(), a ? f : c(j).scrollTop()) : (this[d] = f) }) : this[0] == j || this[0] == document ? self[a ? "pageYOffset" : "pageXOffset"] || c.boxModel && document.documentElement[d] || document.body[d] : this[0][d] } }); c.each(["Height", "Width"], function(a, b) { var d = b.toLowerCase(); c.fn["inner" + b] = function() { return this[0] ? c.css(this[0], d, false, "padding") : null }; c.fn["outer" + b] = function(h) { return this[0] ? c.css(this[0], d, false, h ? "margin" : "border") : null }; var f = b.toLowerCase(); c.fn[f] = function(h) { return this[0] == j ? document.compatMode == "CSS1Compat" && document.documentElement["client" + b] || document.body["client" + b] : this[0] == document ? Math.max(document.documentElement["client" + b], document.body["scroll" + b], document.documentElement["scroll" + b], document.body["offset" + b], document.documentElement["offset" + b]) : h === n ? this.length ? c.css(this[0], f) : null : this.css(f, typeof h === "string" ? h : h + "px") } }) })(); (function(B) { function L(u, o) { function F(r, t) { B(j).bind(r, function(H, y) { if (t && t.call(this, y.index) === false && y) y.proceed = false }); return j } function I(r, t) { return r.indexOf("#") != -1 ? B(r).eq(0) : t.siblings(r).eq(0) } function Q() { if (c.is(":empty") || c.data("me") == j) { c.empty(); c.data("me", j); for (var r = 0; r < j.getPageAmount(); r++) { var t = B("<" + o.naviItem + "/>").attr("href", r).click(function(H) { var y = B(this); y.parent().children().removeClass(o.activeClass); y.addClass(o.activeClass); j.setPage(y.attr("href")); return H.preventDefault() }); r === 0 && t.addClass(o.activeClass); c.append(t) } } else c.children().each(function(H) { var y = B(this); y.attr("href", H); H === 0 && y.addClass(o.activeClass); y.click(function() { c.find("." + o.activeClass).removeClass(o.activeClass); y.addClass(o.activeClass); j.setPage(y.attr("href")) }) }); o.clickable && j.getItems().each(function(H) { var y = B(this); if (!y.data("set")) { y.bind("click.scrollable", function() { j.click(H) }); y.data("set", true) } }); o.hoverClass && j.getItems().hover(function() { B(this).addClass(o.hoverClass) }, function() { B(this).removeClass(o.hoverClass) }); return j } function E() { T || (T = setInterval(function() { if (o.interval === 0) { clearInterval(T); T = 0 } else j.next() }, o.interval)) } var j = this; A || (A = j); B.each(o, function(r, t) { B.isFunction(t) && F(r, t) }); var n = !o.vertical, w = B(o.items, u), D = 0, c = I(o.navi, u), O = I(o.prev, u), U = I(o.next, u), X = I(o.prevPage, u), W = I(o.nextPage, u); B.extend(j, { getIndex: function() { return D }, getConf: function() { return o }, getSize: function() { return j.getItems().size() }, getPageAmount: function() { return Math.ceil(this.getSize() / o.size) }, getPageIndex: function() { return Math.ceil(D / o.size) }, getRoot: function() { return u }, getItemWrap: function() { return w }, getItems: function() { return w.children() }, getVisibleItems: function() { return j.getItems().slice(D, D + o.size) }, seekTo: function(r, t, H) { if (t === undefined) t = o.speed; if (B.isFunction(t)) { H = t; t = o.speed } if (r < 0) r = 0; if (r > j.getSize() - o.size) return j; var y = j.getItems().eq(r); if (!y.length) return j; var R = { index: r, proceed: true }; B(j).trigger("onBeforeSeek", R); if (!R.proceed) return j; if (n) { y = -y.position().left; w.animate({ left: y }, t, o.easing, H ? function() { H.call(j) } : null) } else { y = -y.position().top; w.animate({ top: y }, t, o.easing, H ? function() { H.call(j) } : null) } if (c.length) { t = o.activeClass; y = Math.ceil(r / o.size); y = Math.min(y, c.children().length - 1); c.children().removeClass(t).eq(y).addClass(t) } r === 0 ? O.add(X).addClass(o.disabledClass) : O.add(X).removeClass(o.disabledClass); r >= j.getSize() - o.size ? U.add(W).addClass(o.disabledClass) : U.add(W).removeClass(o.disabledClass); A = j; D = r; B(j).trigger("onSeek", { index: r }); return j }, move: function(r, t, H) { r = D + r; if (o.loop && r > j.getSize() - o.size) r = 0; return this.seekTo(r, t, H) }, next: function(r, t) { return this.move(1, r, t) }, prev: function(r, t) { return this.move(-1, r, t) }, movePage: function(r, t, H) { return this.move(o.size * r, t, H) }, setPage: function(r, t, H) { var y = o.size; r = y * r; if (r + y >= this.getSize()) r = this.getSize() - o.size; return this.seekTo(r, t, H) }, prevPage: function(r, t) { return this.setPage(this.getPageIndex() - 1, r, t) }, nextPage: function(r, t) { return this.setPage(this.getPageIndex() + 1, r, t) }, begin: function(r, t) { return this.seekTo(0, r, t) }, end: function(r, t) { return this.seekTo(this.getSize() - o.size, r, t) }, reload: function() { return Q() }, click: function(r, t, H) { var y = j.getItems().eq(r), R = o.activeClass; if (r < 0 || r >= this.getSize()) return j; if (o.size == 2) { r == j.getIndex() && r--; j.getItems().removeClass(R); y.addClass(R); return this.seekTo(r, t, H) } if (!y.hasClass(R)) { j.getItems().removeClass(R); y.addClass(R); y = Math.floor(o.size / 2); y = r - y; if (y > j.getSize() - o.size) y = j.getSize() - o.size; if (y !== r) return this.seekTo(y, t, H) } return j }, onBeforeSeek: function(r) { return F("onBeforeSeek", r) }, onSeek: function(r) { return F("onSeek", r) } }); B.isFunction(B.fn.mousewheel) && u.bind("mousewheel.scrollable", function(r, t) { r = B.browser.opera ? 1 : -1; j.move(t > 0 ? r : -r, 50); return false }); O.addClass(o.disabledClass).click(function() { j.prev() }); U.click(function() { j.next() }); W.click(function() { j.nextPage() }); X.addClass(o.disabledClass).click(function() { j.prevPage() }); o.keyboard && B(document).unbind("keydown.scrollable").bind("keydown.scrollable", function(r) { var t = A; if (!(!t || r.altKey || r.ctrlKey)) { if (n && (r.keyCode == 37 || r.keyCode == 39)) { t.move(r.keyCode == 37 ? -1 : 1); return r.preventDefault() } if (!n && (r.keyCode == 38 || r.keyCode == 40)) { t.move(r.keyCode == 38 ? -1 : 1); return r.preventDefault() } return true } }); Q(); var T = null; if (o.interval > 0) { u.hover(function() { clearInterval(T); T = 0 }, function() { E() }); E() } } B.tools = B.tools || { version: {} }; B.tools.version.scrollable = "1.0.5"; var A = null; B.fn.scrollable = function(u) { var o = this.eq(typeof u == "number" ? u : 0).data("scrollable"); if (o) return o; var F = { size: 5, vertical: false, clickable: true, loop: false, interval: 0, speed: 400, keyboard: true, activeClass: "active", disabledClass: "disabled", hoverClass: null, easing: "swing", items: ".items", prev: ".prev", next: ".next", prevPage: ".prevPage", nextPage: ".nextPage", navi: ".navi", naviItem: "a", api: false, onBeforeSeek: null, onSeek: null }; B.extend(F, u); this.each(function() { o = new L(B(this), F); B(this).data("scrollable", o) }); return F.api ? o : this } })(jQuery); (function() { function B() { if (E.done) return false; var j = document; if (j && j.getElementsByTagName && j.getElementById && j.body) { clearInterval(E.timer); E.timer = null; for (j = 0; j < E.ready.length; j++) E.ready[j].call(); E.ready = null; E.done = true } } function L(j, n) { if (n) for (key in n) if (n.hasOwnProperty(key)) j[key] = n[key]; return j } function A(j) { switch (u(j)) { case "string": j = j.replace(new RegExp('(["\\\\])', "g"), "\\$1"); j = j.replace(/^\s?(\d+)%/, "$1pct"); return '"' + j + '"'; case "array": return "[" + o(j, function(D) { return A(D) }).join(",") + "]"; case "function": return '"function()"'; case "object": var n = []; for (var w in j) j.hasOwnProperty(w) && n.push('"' + w + '":' + A(j[w])); return "{" + n.join(",") + "}" } return String(j).replace(/\s/g, " ").replace(/\'/g, '"') } function u(j) { if (j === null || j === undefined) return false; var n = typeof j; return n == "object" && j.push ? "array" : n } function o(j, n) { var w = []; for (var D in j) if (j.hasOwnProperty(D)) w[D] = n(j[D]); return w } function F(j, n) { var w = L({}, j), D = document.all; j = '<object width="' + w.width + '" height="' + w.height + '"'; if (D && !w.id) w.id = "_" + ("" + Math.random()).substring(9); if (w.id) j += ' id="' + w.id + '"'; w.src += (w.src.indexOf("?") != -1 ? "&" : "?") + Math.random(); j += w.w3c || !D ? ' data="' + w.src + '" type="application/x-shockwave-flash"' : ' classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'; j += ">"; if (w.w3c || D) j += '<param name="movie" value="' + w.src + '" />'; w.width = w.height = w.id = w.w3c = w.src = null; for (var c in w) if (w[c] !== null) j += '<param name="' + c + '" value="' + w[c] + '" />'; c = ""; if (n) { for (var O in n) if (n[O] !== null) c += O + "=" + (typeof n[O] == "object" ? A(n[O]) : n[O]) + "&"; c = c.substring(0, c.length - 1); j += '<param name="flashvars" value=\'' + c + "' />" } j += "</object>"; return j } function I(j, n, w) { var D = flashembed.getVersion(); L(this, { getContainer: function() { return j }, getConf: function() { return n }, getVersion: function() { return D }, getFlashvars: function() { return w }, getApi: function() { return j.firstChild }, getHTML: function() { return F(n, w) } }); var c = n.version, O = n.expressInstall, U = !c || flashembed.isSupported(c); if (U) { n.onFail = n.version = n.expressInstall = null; j.innerHTML = F(n, w) } else if (c && O && flashembed.isSupported([6, 65])) { L(n, { src: O }); w = { MMredirectURL: location.href, MMplayerType: "PlugIn", MMdoctitle: document.title }; j.innerHTML = F(n, w) } else if (j.innerHTML.replace(/\s/g, "") === "") { j.innerHTML = "<h2>Flash version " + c + " or greater is required</h2><h3>" + (D[0] > 0 ? "Your version is " + D : "You have no flash plugin installed") + "</h3>" + (j.tagName == "A" ? "<p>Click here to download latest version</p>" : "<p>Download latest version from <a href='http://www.adobe.com/go/getflashplayer'>here</a></p>"); if (j.tagName == "A") j.onclick = function() { location.href = "http://www.adobe.com/go/getflashplayer" } } if (!U && n.onFail) { c = n.onFail.call(this); if (typeof c == "string") j.innerHTML = c } if (document.all) window[n.id] = document.getElementById(n.id) } var Q = typeof jQuery == "function", E = Q ? jQuery : function(j) { if (E.done) return j(); if (E.timer) E.ready.push(j); else { E.ready = [j]; E.timer = setInterval(B, 13) } }; window.attachEvent && window.attachEvent("onbeforeunload", function() { __flash_unloadHandler = function() { }; __flash_savedUnloadHandler = function() { } }); window.flashembed = function(j, n, w) { if (typeof j == "string") { var D = document.getElementById(j); if (D) j = D; else { E(function() { flashembed(j, n, w) }); return } } if (j) { D = { width: "100%", height: "100%", allowfullscreen: true, allowscriptaccess: "always", quality: "high", version: null, onFail: null, expressInstall: null, w3c: false }; if (typeof n == "string") n = { src: n }; L(D, n); return new I(j, D, w) } }; L(window.flashembed, { getVersion: function() { var j = [0, 0]; if (navigator.plugins && typeof navigator.plugins["Shockwave Flash"] == "object") { var n = navigator.plugins["Shockwave Flash"].description; if (typeof n != "undefined") { n = n.replace(/^.*\s+(\S+\s+\S+$)/, "$1"); j = parseInt(n.replace(/^(.*)\..*$/, "$1"), 10); n = /r/.test(n) ? parseInt(n.replace(/^.*r(.*)$/, "$1"), 10) : 0; j = [j, n] } } else if (window.ActiveXObject) { try { n = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7") } catch (w) { try { n = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6"); j = [6, 0]; n.AllowScriptAccess = "always" } catch (D) { if (j[0] == 6) return j } try { n = new ActiveXObject("ShockwaveFlash.ShockwaveFlash") } catch (c) { } } if (typeof n == "object") { n = n.GetVariable("$version"); if (typeof n != "undefined") { n = n.replace(/^\S+\s+(.*)$/, "$1").split(","); j = [parseInt(n[0], 10), parseInt(n[2], 10)] } } } return j }, isSupported: function(j) { var n = flashembed.getVersion(); return n[0] > j[0] || n[0] == j[0] && n[1] >= j[1] }, domReady: E, asString: A, getHTML: F }); if (Q) { jQuery.tools = jQuery.tools || { version: {} }; jQuery.tools.version.flashembed = "1.0.3"; jQuery.fn.flashembed = function(j, n) { var w = null; this.each(function() { w = flashembed(this, j, n) }); return j.api === false ? this : w } } })(); var headline_count, headline_interval, old_headline = 0, current_headline = 0; $(document).ready(function() { headline_count = $("div.headline").size(); $("div.headline:eq(" + current_headline + ")").css("top", "5px"); headline_interval = setInterval(headline_rotate, 6E3); $("#scrollup").hover(function() { clearInterval(headline_interval) }, function() { headline_interval = setInterval(headline_rotate, 6E3) }) }); function headline_rotate() { current_headline = (old_headline + 1) % headline_count; $("div.headline:eq(" + old_headline + ")").stop().animate({ top: -105 }, 0, function() { $(this).css("top", "110px") }); $("div.headline:eq(" + current_headline + ")").stop().animate({ top: 5 }, 0); old_headline = current_headline } (function() { function B() { var u = ""; for (var o in this) if (typeof this[o] != "function") u += o + '="' + this[o] + '" '; return u } function L() { var u = ""; for (var o in this) if (typeof this[o] != "function") u += o + "=" + encodeURIComponent(this[o]) + "&"; return u.replace(/&$/, "") } var A; A = jQuery.fn.flash = function(u, o, F, I) { var Q = F || A.replace; o = A.copy(A.pluginOptions, o); if (!A.hasFlash(o.version)) if (o.expressInstall && A.hasFlash(6, 0, 65)) var E = { flashvars: { MMredirectURL: location, MMplayerType: "PlugIn", MMdoctitle: jQuery("title").text()} }; else if (o.update) Q = I || A.update; else return this; u = A.copy(A.htmlOptions, E, u); return this.each(function() { Q.call(this, A.copy(u)) }) }; A.copy = function() { for (var u = {}, o = {}, F = 0; F < arguments.length; F++) { var I = arguments[F]; if (I != undefined) { jQuery.extend(u, I); I.flashvars != undefined && jQuery.extend(o, I.flashvars) } } u.flashvars = o; return u }; A.hasFlash = function(u, o, F) { if (/hasFlash\=true/.test(location)) return true; if (/hasFlash\=false/.test(location)) return false; var I = A.hasFlash.playerVersion().match(/\d+/g); u = String([u, o, F]).match(/\d+/g) || String(A.pluginOptions.version).match(/\d+/g); for (o = 0; o < 3; o++) { I[o] = parseInt(I[o] || 0); u[o] = parseInt(u[o] || 0); if (I[o] < u[o]) return false; if (I[o] > u[o]) return true } return true }; A.hasFlash.playerVersion = function() { try { try { var u = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6"); try { u.AllowScriptAccess = "always" } catch (o) { return "6,0,0" } } catch (F) { } return (new ActiveXObject("ShockwaveFlash.ShockwaveFlash")).GetVariable("$version").replace(/\D+/g, ",").match(/^,?(.+),?$/)[1] } catch (I) { try { if (navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin) return (navigator.plugins["Shockwave Flash 2.0"] || navigator.plugins["Shockwave Flash"]).description.replace(/\D+/g, ",").match(/^,?(.+),?$/)[1] } catch (Q) { } } return "0,0,0" }; A.htmlOptions = { height: 240, flashvars: {}, pluginspage: "http://www.adobe.com/go/getflashplayer", src: "#", type: "application/x-shockwave-flash", width: 320 }; A.pluginOptions = { expressInstall: false, update: true, version: "6.0.65" }; A.replace = function(u) { this.innerHTML = '<div class="alt">' + this.innerHTML + "</div>"; jQuery(this).addClass("flash-replaced").prepend(A.transform(u)) }; A.update = function() { var u = String(location).split("?"); u.splice(1, 0, "?hasFlash=true&"); u = u.join(""); u = '<p>This content requires the Flash Player. <a href="http://www.adobe.com/go/getflashplayer">Download Flash Player</a>. Already have Flash Player? <a href="' + u + '">Click here.</a></p>'; this.innerHTML = '<span class="alt">' + this.innerHTML + "</span>"; jQuery(this).addClass("flash-update").prepend(u) }; A.transform = function(u) { u.toString = B; if (u.flashvars) u.flashvars.toString = L; return "<embed " + String(u) + "/>" }; window.attachEvent && window.attachEvent("onbeforeunload", function() { __flash_unloadHandler = function() { }; __flash_savedUnloadHandler = function() { } }) })();
 function popUpHelp(URL) { day = new Date; id = day.getTime(); eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=320,height=482,left=650,top=100');") };
