/* jQuery JavaScript Library v1.3.2 */
(function() {
    var l = this, g, y = l.jQuery, p = l.$, o = l.jQuery = l.$ = function(E, F) { return new o.fn.init(E, F) }, D = /^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/, f = /^.[^:#\[\.,]*$/; o.fn = o.prototype = { init: function(E, H) { E = E || document; if (E.nodeType) { this[0] = E; this.length = 1; this.context = E; return this } if (typeof E === "string") { var G = D.exec(E); if (G && (G[1] || !H)) { if (G[1]) { E = o.clean([G[1]], H) } else { var I = document.getElementById(G[3]); if (I && I.id != G[3]) { return o().find(E) } var F = o(I || []); F.context = document; F.selector = E; return F } } else { return o(H).find(E) } } else { if (o.isFunction(E)) { return o(document).ready(E) } } if (E.selector && E.context) { this.selector = E.selector; this.context = E.context } return this.setArray(o.isArray(E) ? E : o.makeArray(E)) }, selector: "", jquery: "1.3.2", size: function() { return this.length }, get: function(E) { return E === g ? Array.prototype.slice.call(this) : this[E] }, pushStack: function(F, H, E) { var G = o(F); G.prevObject = this; G.context = this.context; if (H === "find") { G.selector = this.selector + (this.selector ? " " : "") + E } else { if (H) { G.selector = this.selector + "." + H + "(" + E + ")" } } return G }, setArray: function(E) { this.length = 0; Array.prototype.push.apply(this, E); return this }, each: function(F, E) { return o.each(this, F, E) }, index: function(E) { return o.inArray(E && E.jquery ? E[0] : E, this) }, attr: function(F, H, G) { var E = F; if (typeof F === "string") { if (H === g) { return this[0] && o[G || "attr"](this[0], F) } else { E = {}; E[F] = H } } return this.each(function(I) { for (F in E) { o.attr(G ? this.style : this, F, o.prop(this, E[F], G, I, F)) } }) }, css: function(E, F) { if ((E == "width" || E == "height") && parseFloat(F) < 0) { F = g } return this.attr(E, F, "curCSS") }, text: function(F) { if (typeof F !== "object" && F != null) { return this.empty().append((this[0] && this[0].ownerDocument || document).createTextNode(F)) } var E = ""; o.each(F || this, function() { o.each(this.childNodes, function() { if (this.nodeType != 8) { E += this.nodeType != 1 ? this.nodeValue : o.fn.text([this]) } }) }); return E }, wrapAll: function(E) { if (this[0]) { var F = o(E, this[0].ownerDocument).clone(); if (this[0].parentNode) { F.insertBefore(this[0]) } F.map(function() { var G = this; while (G.firstChild) { G = G.firstChild } return G }).append(this) } return this }, wrapInner: function(E) { return this.each(function() { o(this).contents().wrapAll(E) }) }, wrap: function(E) { return this.each(function() { o(this).wrapAll(E) }) }, append: function() { return this.domManip(arguments, true, function(E) { if (this.nodeType == 1) { this.appendChild(E) } }) }, prepend: function() { return this.domManip(arguments, true, function(E) { if (this.nodeType == 1) { this.insertBefore(E, this.firstChild) } }) }, before: function() { return this.domManip(arguments, false, function(E) { this.parentNode.insertBefore(E, this) }) }, after: function() { return this.domManip(arguments, false, function(E) { this.parentNode.insertBefore(E, this.nextSibling) }) }, end: function() { return this.prevObject || o([]) }, push: [].push, sort: [].sort, splice: [].splice, find: function(E) { if (this.length === 1) { var F = this.pushStack([], "find", E); F.length = 0; o.find(E, this[0], F); return F } else { return this.pushStack(o.unique(o.map(this, function(G) { return o.find(E, G) })), "find", E) } }, clone: function(G) { var E = this.map(function() { if (!o.support.noCloneEvent && !o.isXMLDoc(this)) { var I = this.outerHTML; if (!I) { var J = this.ownerDocument.createElement("div"); J.appendChild(this.cloneNode(true)); I = J.innerHTML } return o.clean([I.replace(/ jQuery\d+="(?:\d+|null)"/g, "").replace(/^\s*/, "")])[0] } else { return this.cloneNode(true) } }); if (G === true) { var H = this.find("*").andSelf(), F = 0; E.find("*").andSelf().each(function() { if (this.nodeName !== H[F].nodeName) { return } var I = o.data(H[F], "events"); for (var K in I) { for (var J in I[K]) { o.event.add(this, K, I[K][J], I[K][J].data) } } F++ }) } return E }, filter: function(E) { return this.pushStack(o.isFunction(E) && o.grep(this, function(G, F) { return E.call(G, F) }) || o.multiFilter(E, o.grep(this, function(F) { return F.nodeType === 1 })), "filter", E) }, closest: function(E) { var G = o.expr.match.POS.test(E) ? o(E) : null, F = 0; return this.map(function() { var H = this; while (H && H.ownerDocument) { if (G ? G.index(H) > -1 : o(H).is(E)) { o.data(H, "closest", F); return H } H = H.parentNode; F++ } }) }, not: function(E) { if (typeof E === "string") { if (f.test(E)) { return this.pushStack(o.multiFilter(E, this, true), "not", E) } else { E = o.multiFilter(E, this) } } var F = E.length && E[E.length - 1] !== g && !E.nodeType; return this.filter(function() { return F ? o.inArray(this, E) < 0 : this != E }) }, add: function(E) { return this.pushStack(o.unique(o.merge(this.get(), typeof E === "string" ? o(E) : o.makeArray(E)))) }, is: function(E) { return !!E && o.multiFilter(E, this).length > 0 }, hasClass: function(E) { return !!E && this.is("." + E) }, val: function(K) { if (K === g) { var E = this[0]; if (E) { if (o.nodeName(E, "option")) { return (E.attributes.value || {}).specified ? E.value : E.text } if (o.nodeName(E, "select")) { var I = E.selectedIndex, L = [], M = E.options, H = E.type == "select-one"; if (I < 0) { return null } for (var F = H ? I : 0, J = H ? I + 1 : M.length; F < J; F++) { var G = M[F]; if (G.selected) { K = o(G).val(); if (H) { return K } L.push(K) } } return L } return (E.value || "").replace(/\r/g, "") } return g } if (typeof K === "number") { K += "" } return this.each(function() { if (this.nodeType != 1) { return } if (o.isArray(K) && /radio|checkbox/.test(this.type)) { this.checked = (o.inArray(this.value, K) >= 0 || o.inArray(this.name, K) >= 0) } else { if (o.nodeName(this, "select")) { var N = o.makeArray(K); o("option", this).each(function() { this.selected = (o.inArray(this.value, N) >= 0 || o.inArray(this.text, N) >= 0) }); if (!N.length) { this.selectedIndex = -1 } } else { this.value = K } } }) }, html: function(E) { return E === g ? (this[0] ? this[0].innerHTML.replace(/ jQuery\d+="(?:\d+|null)"/g, "") : null) : this.empty().append(E) }, replaceWith: function(E) { return this.after(E).remove() }, eq: function(E) { return this.slice(E, +E + 1) }, slice: function() { return this.pushStack(Array.prototype.slice.apply(this, arguments), "slice", Array.prototype.slice.call(arguments).join(",")) }, map: function(E) { return this.pushStack(o.map(this, function(G, F) { return E.call(G, F, G) })) }, andSelf: function() { return this.add(this.prevObject) }, domManip: function(J, M, L) { if (this[0]) { var I = (this[0].ownerDocument || this[0]).createDocumentFragment(), F = o.clean(J, (this[0].ownerDocument || this[0]), I), H = I.firstChild; if (H) { for (var G = 0, E = this.length; G < E; G++) { L.call(K(this[G], H), this.length > 1 || G > 0 ? I.cloneNode(true) : I) } } if (F) { o.each(F, z) } } return this; function K(N, O) { return M && o.nodeName(N, "table") && o.nodeName(O, "tr") ? (N.getElementsByTagName("tbody")[0] || N.appendChild(N.ownerDocument.createElement("tbody"))) : N } } }; o.fn.init.prototype = o.fn; function z(E, F) { if (F.src) { o.ajax({ url: F.src, async: false, dataType: "script" }) } else { o.globalEval(F.text || F.textContent || F.innerHTML || "") } if (F.parentNode) { F.parentNode.removeChild(F) } } function e() { return +new Date } o.extend = o.fn.extend = function() { var J = arguments[0] || {}, H = 1, I = arguments.length, E = false, G; if (typeof J === "boolean") { E = J; J = arguments[1] || {}; H = 2 } if (typeof J !== "object" && !o.isFunction(J)) { J = {} } if (I == H) { J = this; --H } for (; H < I; H++) { if ((G = arguments[H]) != null) { for (var F in G) { var K = J[F], L = G[F]; if (J === L) { continue } if (E && L && typeof L === "object" && !L.nodeType) { J[F] = o.extend(E, K || (L.length != null ? [] : {}), L) } else { if (L !== g) { J[F] = L } } } } } return J }; var b = /z-?index|font-?weight|opacity|zoom|line-?height/i, q = document.defaultView || {}, s = Object.prototype.toString; o.extend({ noConflict: function(E) { l.$ = p; if (E) { l.jQuery = y } return o }, isFunction: function(E) { return s.call(E) === "[object Function]" }, isArray: function(E) { return s.call(E) === "[object Array]" }, isXMLDoc: function(E) { return E.nodeType === 9 && E.documentElement.nodeName !== "HTML" || !!E.ownerDocument && o.isXMLDoc(E.ownerDocument) }, globalEval: function(G) { if (G && /\S/.test(G)) { var F = document.getElementsByTagName("head")[0] || document.documentElement, E = document.createElement("script"); E.type = "text/javascript"; if (o.support.scriptEval) { E.appendChild(document.createTextNode(G)) } else { E.text = G } F.insertBefore(E, F.firstChild); F.removeChild(E) } }, nodeName: function(F, E) { return F.nodeName && F.nodeName.toUpperCase() == E.toUpperCase() }, each: function(G, K, F) { var E, H = 0, I = G.length; if (F) { if (I === g) { for (E in G) { if (K.apply(G[E], F) === false) { break } } } else { for (; H < I; ) { if (K.apply(G[H++], F) === false) { break } } } } else { if (I === g) { for (E in G) { if (K.call(G[E], E, G[E]) === false) { break } } } else { for (var J = G[0]; H < I && K.call(J, H, J) !== false; J = G[++H]) { } } } return G }, prop: function(H, I, G, F, E) { if (o.isFunction(I)) { I = I.call(H, F) } return typeof I === "number" && G == "curCSS" && !b.test(E) ? I + "px" : I }, className: { add: function(E, F) { o.each((F || "").split(/\s+/), function(G, H) { if (E.nodeType == 1 && !o.className.has(E.className, H)) { E.className += (E.className ? " " : "") + H } }) }, remove: function(E, F) { if (E.nodeType == 1) { E.className = F !== g ? o.grep(E.className.split(/\s+/), function(G) { return !o.className.has(F, G) }).join(" ") : "" } }, has: function(F, E) { return F && o.inArray(E, (F.className || F).toString().split(/\s+/)) > -1 } }, swap: function(H, G, I) { var E = {}; for (var F in G) { E[F] = H.style[F]; H.style[F] = G[F] } I.call(H); for (var F in G) { H.style[F] = E[F] } }, css: function(H, F, J, E) { if (F == "width" || F == "height") { var L, G = { position: "absolute", visibility: "hidden", display: "block" }, K = F == "width" ? ["Left", "Right"] : ["Top", "Bottom"]; function I() { L = F == "width" ? H.offsetWidth : H.offsetHeight; if (E === "border") { return } o.each(K, function() { if (!E) { L -= parseFloat(o.curCSS(H, "padding" + this, true)) || 0 } if (E === "margin") { L += parseFloat(o.curCSS(H, "margin" + this, true)) || 0 } else { L -= parseFloat(o.curCSS(H, "border" + this + "Width", true)) || 0 } }) } if (H.offsetWidth !== 0) { I() } else { o.swap(H, G, I) } return Math.max(0, Math.round(L)) } return o.curCSS(H, F, J) }, curCSS: function(I, F, G) { var L, E = I.style; if (F == "opacity" && !o.support.opacity) { L = o.attr(E, "opacity"); return L == "" ? "1" : L } if (F.match(/float/i)) { F = w } if (!G && E && E[F]) { L = E[F] } else { if (q.getComputedStyle) { if (F.match(/float/i)) { F = "float" } F = F.replace(/([A-Z])/g, "-$1").toLowerCase(); var M = q.getComputedStyle(I, null); if (M) { L = M.getPropertyValue(F) } if (F == "opacity" && L == "") { L = "1" } } else { if (I.currentStyle) { var J = F.replace(/\-(\w)/g, function(N, O) { return O.toUpperCase() }); L = I.currentStyle[F] || I.currentStyle[J]; if (!/^\d+(px)?$/i.test(L) && /^\d/.test(L)) { var H = E.left, K = I.runtimeStyle.left; I.runtimeStyle.left = I.currentStyle.left; E.left = L || 0; L = E.pixelLeft + "px"; E.left = H; I.runtimeStyle.left = K } } } } return L }, clean: function(F, K, I) { K = K || document; if (typeof K.createElement === "undefined") { K = K.ownerDocument || K[0] && K[0].ownerDocument || document } if (!I && F.length === 1 && typeof F[0] === "string") { var H = /^<(\w+)\s*\/?>$/.exec(F[0]); if (H) { return [K.createElement(H[1])] } } var G = [], E = [], L = K.createElement("div"); o.each(F, function(P, S) { if (typeof S === "number") { S += "" } if (!S) { return } if (typeof S === "string") { S = S.replace(/(<(\w+)[^>]*?)\/>/g, function(U, V, T) { return T.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i) ? U : V + "></" + T + ">" }); var O = S.replace(/^\s+/, "").substring(0, 10).toLowerCase(); var Q = !O.indexOf("<opt") && [1, "<select multiple='multiple'>", "</select>"] || !O.indexOf("<leg") && [1, "<fieldset>", "</fieldset>"] || O.match(/^<(thead|tbody|tfoot|colg|cap)/) && [1, "<table>", "</table>"] || !O.indexOf("<tr") && [2, "<table><tbody>", "</tbody></table>"] || (!O.indexOf("<td") || !O.indexOf("<th")) && [3, "<table><tbody><tr>", "</tr></tbody></table>"] || !O.indexOf("<col") && [2, "<table><tbody></tbody><colgroup>", "</colgroup></table>"] || !o.support.htmlSerialize && [1, "div<div>", "</div>"] || [0, "", ""]; L.innerHTML = Q[1] + S + Q[2]; while (Q[0]--) { L = L.lastChild } if (!o.support.tbody) { var R = /<tbody/i.test(S), N = !O.indexOf("<table") && !R ? L.firstChild && L.firstChild.childNodes : Q[1] == "<table>" && !R ? L.childNodes : []; for (var M = N.length - 1; M >= 0; --M) { if (o.nodeName(N[M], "tbody") && !N[M].childNodes.length) { N[M].parentNode.removeChild(N[M]) } } } if (!o.support.leadingWhitespace && /^\s/.test(S)) { L.insertBefore(K.createTextNode(S.match(/^\s*/)[0]), L.firstChild) } S = o.makeArray(L.childNodes) } if (S.nodeType) { G.push(S) } else { G = o.merge(G, S) } }); if (I) { for (var J = 0; G[J]; J++) { if (o.nodeName(G[J], "script") && (!G[J].type || G[J].type.toLowerCase() === "text/javascript")) { E.push(G[J].parentNode ? G[J].parentNode.removeChild(G[J]) : G[J]) } else { if (G[J].nodeType === 1) { G.splice.apply(G, [J + 1, 0].concat(o.makeArray(G[J].getElementsByTagName("script")))) } I.appendChild(G[J]) } } return E } return G }, attr: function(J, G, K) { if (!J || J.nodeType == 3 || J.nodeType == 8) { return g } var H = !o.isXMLDoc(J), L = K !== g; G = H && o.props[G] || G; if (J.tagName) { var F = /href|src|style/.test(G); if (G == "selected" && J.parentNode) { J.parentNode.selectedIndex } if (G in J && H && !F) { if (L) { if (G == "type" && o.nodeName(J, "input") && J.parentNode) { throw "type property can't be changed" } J[G] = K } if (o.nodeName(J, "form") && J.getAttributeNode(G)) { return J.getAttributeNode(G).nodeValue } if (G == "tabIndex") { var I = J.getAttributeNode("tabIndex"); return I && I.specified ? I.value : J.nodeName.match(/(button|input|object|select|textarea)/i) ? 0 : J.nodeName.match(/^(a|area)$/i) && J.href ? 0 : g } return J[G] } if (!o.support.style && H && G == "style") { return o.attr(J.style, "cssText", K) } if (L) { J.setAttribute(G, "" + K) } var E = !o.support.hrefNormalized && H && F ? J.getAttribute(G, 2) : J.getAttribute(G); return E === null ? g : E } if (!o.support.opacity && G == "opacity") { if (L) { J.zoom = 1; J.filter = (J.filter || "").replace(/alpha\([^)]*\)/, "") + (parseInt(K) + "" == "NaN" ? "" : "alpha(opacity=" + K * 100 + ")") } return J.filter && J.filter.indexOf("opacity=") >= 0 ? (parseFloat(J.filter.match(/opacity=([^)]*)/)[1]) / 100) + "" : "" } G = G.replace(/-([a-z])/ig, function(M, N) { return N.toUpperCase() }); if (L) { J[G] = K } return J[G] }, trim: function(E) { return (E || "").replace(/^\s+|\s+$/g, "") }, makeArray: function(G) { var E = []; if (G != null) { var F = G.length; if (F == null || typeof G === "string" || o.isFunction(G) || G.setInterval) { E[0] = G } else { while (F) { E[--F] = G[F] } } } return E }, inArray: function(G, H) { for (var E = 0, F = H.length; E < F; E++) { if (H[E] === G) { return E } } return -1 }, merge: function(H, E) { var F = 0, G, I = H.length; if (!o.support.getAll) { while ((G = E[F++]) != null) { if (G.nodeType != 8) { H[I++] = G } } } else { while ((G = E[F++]) != null) { H[I++] = G } } return H }, unique: function(K) { var F = [], E = {}; try { for (var G = 0, H = K.length; G < H; G++) { var J = o.data(K[G]); if (!E[J]) { E[J] = true; F.push(K[G]) } } } catch (I) { F = K } return F }, grep: function(F, J, E) { var G = []; for (var H = 0, I = F.length; H < I; H++) { if (!E != !J(F[H], H)) { G.push(F[H]) } } return G }, map: function(E, J) { var F = []; for (var G = 0, H = E.length; G < H; G++) { var I = J(E[G], G); if (I != null) { F[F.length] = I } } return F.concat.apply([], F) } }); var C = navigator.userAgent.toLowerCase(); o.browser = { version: (C.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/) || [0, "0"])[1], safari: /webkit/.test(C), opera: /opera/.test(C), msie: /msie/.test(C) && !/opera/.test(C), mozilla: /mozilla/.test(C) && !/(compatible|webkit)/.test(C) }; o.each({ parent: function(E) { return E.parentNode }, parents: function(E) { return o.dir(E, "parentNode") }, next: function(E) { return o.nth(E, 2, "nextSibling") }, prev: function(E) { return o.nth(E, 2, "previousSibling") }, nextAll: function(E) { return o.dir(E, "nextSibling") }, prevAll: function(E) { return o.dir(E, "previousSibling") }, siblings: function(E) { return o.sibling(E.parentNode.firstChild, E) }, children: function(E) { return o.sibling(E.firstChild) }, contents: function(E) { return o.nodeName(E, "iframe") ? E.contentDocument || E.contentWindow.document : o.makeArray(E.childNodes) } }, function(E, F) { o.fn[E] = function(G) { var H = o.map(this, F); if (G && typeof G == "string") { H = o.multiFilter(G, H) } return this.pushStack(o.unique(H), E, G) } }); o.each({ appendTo: "append", prependTo: "prepend", insertBefore: "before", insertAfter: "after", replaceAll: "replaceWith" }, function(E, F) { o.fn[E] = function(G) { var J = [], L = o(G); for (var K = 0, H = L.length; K < H; K++) { var I = (K > 0 ? this.clone(true) : this).get(); o.fn[F].apply(o(L[K]), I); J = J.concat(I) } return this.pushStack(J, E, G) } }); o.each({ removeAttr: function(E) { o.attr(this, E, ""); if (this.nodeType == 1) { this.removeAttribute(E) } }, addClass: function(E) { o.className.add(this, E) }, removeClass: function(E) { o.className.remove(this, E) }, toggleClass: function(F, E) { if (typeof E !== "boolean") { E = !o.className.has(this, F) } o.className[E ? "add" : "remove"](this, F) }, remove: function(E) { if (!E || o.filter(E, [this]).length) { o("*", this).add([this]).each(function() { o.event.remove(this); o.removeData(this) }); if (this.parentNode) { this.parentNode.removeChild(this) } } }, empty: function() { o(this).children().remove(); while (this.firstChild) { this.removeChild(this.firstChild) } } }, function(E, F) { o.fn[E] = function() { return this.each(F, arguments) } }); function j(E, F) { return E[0] && parseInt(o.curCSS(E[0], F, true), 10) || 0 } var h = "jQuery" + e(), v = 0, A = {}; o.extend({ cache: {}, data: function(F, E, G) { F = F == l ? A : F; var H = F[h]; if (!H) { H = F[h] = ++v } if (E && !o.cache[H]) { o.cache[H] = {} } if (G !== g) { o.cache[H][E] = G } return E ? o.cache[H][E] : H }, removeData: function(F, E) { F = F == l ? A : F; var H = F[h]; if (E) { if (o.cache[H]) { delete o.cache[H][E]; E = ""; for (E in o.cache[H]) { break } if (!E) { o.removeData(F) } } } else { try { delete F[h] } catch (G) { if (F.removeAttribute) { F.removeAttribute(h) } } delete o.cache[H] } }, queue: function(F, E, H) { if (F) { E = (E || "fx") + "queue"; var G = o.data(F, E); if (!G || o.isArray(H)) { G = o.data(F, E, o.makeArray(H)) } else { if (H) { G.push(H) } } } return G }, dequeue: function(H, G) { var E = o.queue(H, G), F = E.shift(); if (!G || G === "fx") { F = E[0] } if (F !== g) { F.call(H) } } }); o.fn.extend({ data: function(E, G) { var H = E.split("."); H[1] = H[1] ? "." + H[1] : ""; if (G === g) { var F = this.triggerHandler("getData" + H[1] + "!", [H[0]]); if (F === g && this.length) { F = o.data(this[0], E) } return F === g && H[1] ? this.data(H[0]) : F } else { return this.trigger("setData" + H[1] + "!", [H[0], G]).each(function() { o.data(this, E, G) }) } }, removeData: function(E) { return this.each(function() { o.removeData(this, E) }) }, queue: function(E, F) { if (typeof E !== "string") { F = E; E = "fx" } if (F === g) { return o.queue(this[0], E) } return this.each(function() { var G = o.queue(this, E, F); if (E == "fx" && G.length == 1) { G[0].call(this) } }) }, dequeue: function(E) { return this.each(function() { o.dequeue(this, E) }) } });
    (function() { var R = /((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?/g, L = 0, H = Object.prototype.toString; var F = function(Y, U, ab, ac) { ab = ab || []; U = U || document; if (U.nodeType !== 1 && U.nodeType !== 9) { return [] } if (!Y || typeof Y !== "string") { return ab } var Z = [], W, af, ai, T, ad, V, X = true; R.lastIndex = 0; while ((W = R.exec(Y)) !== null) { Z.push(W[1]); if (W[2]) { V = RegExp.rightContext; break } } if (Z.length > 1 && M.exec(Y)) { if (Z.length === 2 && I.relative[Z[0]]) { af = J(Z[0] + Z[1], U) } else { af = I.relative[Z[0]] ? [U] : F(Z.shift(), U); while (Z.length) { Y = Z.shift(); if (I.relative[Y]) { Y += Z.shift() } af = J(Y, af) } } } else { var ae = ac ? { expr: Z.pop(), set: E(ac)} : F.find(Z.pop(), Z.length === 1 && U.parentNode ? U.parentNode : U, Q(U)); af = F.filter(ae.expr, ae.set); if (Z.length > 0) { ai = E(af) } else { X = false } while (Z.length) { var ah = Z.pop(), ag = ah; if (!I.relative[ah]) { ah = "" } else { ag = Z.pop() } if (ag == null) { ag = U } I.relative[ah](ai, ag, Q(U)) } } if (!ai) { ai = af } if (!ai) { throw "Syntax error, unrecognized expression: " + (ah || Y) } if (H.call(ai) === "[object Array]") { if (!X) { ab.push.apply(ab, ai) } else { if (U.nodeType === 1) { for (var aa = 0; ai[aa] != null; aa++) { if (ai[aa] && (ai[aa] === true || ai[aa].nodeType === 1 && K(U, ai[aa]))) { ab.push(af[aa]) } } } else { for (var aa = 0; ai[aa] != null; aa++) { if (ai[aa] && ai[aa].nodeType === 1) { ab.push(af[aa]) } } } } } else { E(ai, ab) } if (V) { F(V, U, ab, ac); if (G) { hasDuplicate = false; ab.sort(G); if (hasDuplicate) { for (var aa = 1; aa < ab.length; aa++) { if (ab[aa] === ab[aa - 1]) { ab.splice(aa--, 1) } } } } } return ab }; F.matches = function(T, U) { return F(T, null, null, U) }; F.find = function(aa, T, ab) { var Z, X; if (!aa) { return [] } for (var W = 0, V = I.order.length; W < V; W++) { var Y = I.order[W], X; if ((X = I.match[Y].exec(aa))) { var U = RegExp.leftContext; if (U.substr(U.length - 1) !== "\\") { X[1] = (X[1] || "").replace(/\\/g, ""); Z = I.find[Y](X, T, ab); if (Z != null) { aa = aa.replace(I.match[Y], ""); break } } } } if (!Z) { Z = T.getElementsByTagName("*") } return { set: Z, expr: aa} }; F.filter = function(ad, ac, ag, W) { var V = ad, ai = [], aa = ac, Y, T, Z = ac && ac[0] && Q(ac[0]); while (ad && ac.length) { for (var ab in I.filter) { if ((Y = I.match[ab].exec(ad)) != null) { var U = I.filter[ab], ah, af; T = false; if (aa == ai) { ai = [] } if (I.preFilter[ab]) { Y = I.preFilter[ab](Y, aa, ag, ai, W, Z); if (!Y) { T = ah = true } else { if (Y === true) { continue } } } if (Y) { for (var X = 0; (af = aa[X]) != null; X++) { if (af) { ah = U(af, Y, X, aa); var ae = W ^ !!ah; if (ag && ah != null) { if (ae) { T = true } else { aa[X] = false } } else { if (ae) { ai.push(af); T = true } } } } } if (ah !== g) { if (!ag) { aa = ai } ad = ad.replace(I.match[ab], ""); if (!T) { return [] } break } } } if (ad == V) { if (T == null) { throw "Syntax error, unrecognized expression: " + ad } else { break } } V = ad } return aa }; var I = F.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(T) { return T.getAttribute("href") } }, relative: { "+": function(aa, T, Z) { var X = typeof T === "string", ab = X && !/\W/.test(T), Y = X && !ab; if (ab && !Z) { T = T.toUpperCase() } for (var W = 0, V = aa.length, U; W < V; W++) { if ((U = aa[W])) { while ((U = U.previousSibling) && U.nodeType !== 1) { } aa[W] = Y || U && U.nodeName === T ? U || false : U === T } } if (Y) { F.filter(T, aa, true) } }, ">": function(Z, U, aa) { var X = typeof U === "string"; if (X && !/\W/.test(U)) { U = aa ? U : U.toUpperCase(); for (var V = 0, T = Z.length; V < T; V++) { var Y = Z[V]; if (Y) { var W = Y.parentNode; Z[V] = W.nodeName === U ? W : false } } } else { for (var V = 0, T = Z.length; V < T; V++) { var Y = Z[V]; if (Y) { Z[V] = X ? Y.parentNode : Y.parentNode === U } } if (X) { F.filter(U, Z, true) } } }, "": function(W, U, Y) { var V = L++, T = S; if (!U.match(/\W/)) { var X = U = Y ? U : U.toUpperCase(); T = P } T("parentNode", U, V, W, X, Y) }, "~": function(W, U, Y) { var V = L++, T = S; if (typeof U === "string" && !U.match(/\W/)) { var X = U = Y ? U : U.toUpperCase(); T = P } T("previousSibling", U, V, W, X, Y) } }, find: { ID: function(U, V, W) { if (typeof V.getElementById !== "undefined" && !W) { var T = V.getElementById(U[1]); return T ? [T] : [] } }, NAME: function(V, Y, Z) { if (typeof Y.getElementsByName !== "undefined") { var U = [], X = Y.getElementsByName(V[1]); for (var W = 0, T = X.length; W < T; W++) { if (X[W].getAttribute("name") === V[1]) { U.push(X[W]) } } return U.length === 0 ? null : U } }, TAG: function(T, U) { return U.getElementsByTagName(T[1]) } }, preFilter: { CLASS: function(W, U, V, T, Z, aa) { W = " " + W[1].replace(/\\/g, "") + " "; if (aa) { return W } for (var X = 0, Y; (Y = U[X]) != null; X++) { if (Y) { if (Z ^ (Y.className && (" " + Y.className + " ").indexOf(W) >= 0)) { if (!V) { T.push(Y) } } else { if (V) { U[X] = false } } } } return false }, ID: function(T) { return T[1].replace(/\\/g, "") }, TAG: function(U, T) { for (var V = 0; T[V] === false; V++) { } return T[V] && Q(T[V]) ? U[1] : U[1].toUpperCase() }, CHILD: function(T) { if (T[1] == "nth") { var U = /(-?)(\d*)n((?:\+|-)?\d*)/.exec(T[2] == "even" && "2n" || T[2] == "odd" && "2n+1" || !/\D/.test(T[2]) && "0n+" + T[2] || T[2]); T[2] = (U[1] + (U[2] || 1)) - 0; T[3] = U[3] - 0 } T[0] = L++; return T }, ATTR: function(X, U, V, T, Y, Z) { var W = X[1].replace(/\\/g, ""); if (!Z && I.attrMap[W]) { X[1] = I.attrMap[W] } if (X[2] === "~=") { X[4] = " " + X[4] + " " } return X }, PSEUDO: function(X, U, V, T, Y) { if (X[1] === "not") { if (X[3].match(R).length > 1 || /^\w/.test(X[3])) { X[3] = F(X[3], null, null, U) } else { var W = F.filter(X[3], U, V, true ^ Y); if (!V) { T.push.apply(T, W) } return false } } else { if (I.match.POS.test(X[0]) || I.match.CHILD.test(X[0])) { return true } } return X }, POS: function(T) { T.unshift(true); return T } }, filters: { enabled: function(T) { return T.disabled === false && T.type !== "hidden" }, disabled: function(T) { return T.disabled === true }, checked: function(T) { return T.checked === true }, selected: function(T) { T.parentNode.selectedIndex; return T.selected === true }, parent: function(T) { return !!T.firstChild }, empty: function(T) { return !T.firstChild }, has: function(V, U, T) { return !!F(T[3], V).length }, header: function(T) { return /h\d/i.test(T.nodeName) }, text: function(T) { return "text" === T.type }, radio: function(T) { return "radio" === T.type }, checkbox: function(T) { return "checkbox" === T.type }, file: function(T) { return "file" === T.type }, password: function(T) { return "password" === T.type }, submit: function(T) { return "submit" === T.type }, image: function(T) { return "image" === T.type }, reset: function(T) { return "reset" === T.type }, button: function(T) { return "button" === T.type || T.nodeName.toUpperCase() === "BUTTON" }, input: function(T) { return /input|select|textarea|button/i.test(T.nodeName) } }, setFilters: { first: function(U, T) { return T === 0 }, last: function(V, U, T, W) { return U === W.length - 1 }, even: function(U, T) { return T % 2 === 0 }, odd: function(U, T) { return T % 2 === 1 }, lt: function(V, U, T) { return U < T[3] - 0 }, gt: function(V, U, T) { return U > T[3] - 0 }, nth: function(V, U, T) { return T[3] - 0 == U }, eq: function(V, U, T) { return T[3] - 0 == U } }, filter: { PSEUDO: function(Z, V, W, aa) { var U = V[1], X = I.filters[U]; if (X) { return X(Z, W, V, aa) } else { if (U === "contains") { return (Z.textContent || Z.innerText || "").indexOf(V[3]) >= 0 } else { if (U === "not") { var Y = V[3]; for (var W = 0, T = Y.length; W < T; W++) { if (Y[W] === Z) { return false } } return true } } } }, CHILD: function(T, W) { var Z = W[1], U = T; switch (Z) { case "only": case "first": while (U = U.previousSibling) { if (U.nodeType === 1) { return false } } if (Z == "first") { return true } U = T; case "last": while (U = U.nextSibling) { if (U.nodeType === 1) { return false } } return true; case "nth": var V = W[2], ac = W[3]; if (V == 1 && ac == 0) { return true } var Y = W[0], ab = T.parentNode; if (ab && (ab.sizcache !== Y || !T.nodeIndex)) { var X = 0; for (U = ab.firstChild; U; U = U.nextSibling) { if (U.nodeType === 1) { U.nodeIndex = ++X } } ab.sizcache = Y } var aa = T.nodeIndex - ac; if (V == 0) { return aa == 0 } else { return (aa % V == 0 && aa / V >= 0) } } }, ID: function(U, T) { return U.nodeType === 1 && U.getAttribute("id") === T }, TAG: function(U, T) { return (T === "*" && U.nodeType === 1) || U.nodeName === T }, CLASS: function(U, T) { return (" " + (U.className || U.getAttribute("class")) + " ").indexOf(T) > -1 }, ATTR: function(Y, W) { var V = W[1], T = I.attrHandle[V] ? I.attrHandle[V](Y) : Y[V] != null ? Y[V] : Y.getAttribute(V), Z = T + "", X = W[2], U = W[4]; return T == null ? X === "!=" : X === "=" ? Z === U : X === "*=" ? Z.indexOf(U) >= 0 : X === "~=" ? (" " + Z + " ").indexOf(U) >= 0 : !U ? Z && T !== false : X === "!=" ? Z != U : X === "^=" ? Z.indexOf(U) === 0 : X === "$=" ? Z.substr(Z.length - U.length) === U : X === "|=" ? Z === U || Z.substr(0, U.length + 1) === U + "-" : false }, POS: function(X, U, V, Y) { var T = U[2], W = I.setFilters[T]; if (W) { return W(X, V, U, Y) } } } }; var M = I.match.POS; for (var O in I.match) { I.match[O] = RegExp(I.match[O].source + /(?![^\[]*\])(?![^\(]*\))/.source) } var E = function(U, T) { U = Array.prototype.slice.call(U); if (T) { T.push.apply(T, U); return T } return U }; try { Array.prototype.slice.call(document.documentElement.childNodes) } catch (N) { E = function(X, W) { var U = W || []; if (H.call(X) === "[object Array]") { Array.prototype.push.apply(U, X) } else { if (typeof X.length === "number") { for (var V = 0, T = X.length; V < T; V++) { U.push(X[V]) } } else { for (var V = 0; X[V]; V++) { U.push(X[V]) } } } return U } } var G; if (document.documentElement.compareDocumentPosition) { G = function(U, T) { var V = U.compareDocumentPosition(T) & 4 ? -1 : U === T ? 0 : 1; if (V === 0) { hasDuplicate = true } return V } } else { if ("sourceIndex" in document.documentElement) { G = function(U, T) { var V = U.sourceIndex - T.sourceIndex; if (V === 0) { hasDuplicate = true } return V } } else { if (document.createRange) { G = function(W, U) { var V = W.ownerDocument.createRange(), T = U.ownerDocument.createRange(); V.selectNode(W); V.collapse(true); T.selectNode(U); T.collapse(true); var X = V.compareBoundaryPoints(Range.START_TO_END, T); if (X === 0) { hasDuplicate = true } return X } } } } (function() { var U = document.createElement("form"), V = "script" + (new Date).getTime(); U.innerHTML = "<input name='" + V + "'/>"; var T = document.documentElement; T.insertBefore(U, T.firstChild); if (!!document.getElementById(V)) { I.find.ID = function(X, Y, Z) { if (typeof Y.getElementById !== "undefined" && !Z) { var W = Y.getElementById(X[1]); return W ? W.id === X[1] || typeof W.getAttributeNode !== "undefined" && W.getAttributeNode("id").nodeValue === X[1] ? [W] : g : [] } }; I.filter.ID = function(Y, W) { var X = typeof Y.getAttributeNode !== "undefined" && Y.getAttributeNode("id"); return Y.nodeType === 1 && X && X.nodeValue === W } } T.removeChild(U) })(); (function() { var T = document.createElement("div"); T.appendChild(document.createComment("")); if (T.getElementsByTagName("*").length > 0) { I.find.TAG = function(U, Y) { var X = Y.getElementsByTagName(U[1]); if (U[1] === "*") { var W = []; for (var V = 0; X[V]; V++) { if (X[V].nodeType === 1) { W.push(X[V]) } } X = W } return X } } T.innerHTML = "<a href='#'></a>"; if (T.firstChild && typeof T.firstChild.getAttribute !== "undefined" && T.firstChild.getAttribute("href") !== "#") { I.attrHandle.href = function(U) { return U.getAttribute("href", 2) } } })(); if (document.querySelectorAll) { (function() { var T = F, U = document.createElement("div"); U.innerHTML = "<p class='TEST'></p>"; if (U.querySelectorAll && U.querySelectorAll(".TEST").length === 0) { return } F = function(Y, X, V, W) { X = X || document; if (!W && X.nodeType === 9 && !Q(X)) { try { return E(X.querySelectorAll(Y), V) } catch (Z) { } } return T(Y, X, V, W) }; F.find = T.find; F.filter = T.filter; F.selectors = T.selectors; F.matches = T.matches })() } if (document.getElementsByClassName && document.documentElement.getElementsByClassName) { (function() { var T = document.createElement("div"); T.innerHTML = "<div class='test e'></div><div class='test'></div>"; if (T.getElementsByClassName("e").length === 0) { return } T.lastChild.className = "e"; if (T.getElementsByClassName("e").length === 1) { return } I.order.splice(1, 0, "CLASS"); I.find.CLASS = function(U, V, W) { if (typeof V.getElementsByClassName !== "undefined" && !W) { return V.getElementsByClassName(U[1]) } } })() } function P(U, Z, Y, ad, aa, ac) { var ab = U == "previousSibling" && !ac; for (var W = 0, V = ad.length; W < V; W++) { var T = ad[W]; if (T) { if (ab && T.nodeType === 1) { T.sizcache = Y; T.sizset = W } T = T[U]; var X = false; while (T) { if (T.sizcache === Y) { X = ad[T.sizset]; break } if (T.nodeType === 1 && !ac) { T.sizcache = Y; T.sizset = W } if (T.nodeName === Z) { X = T; break } T = T[U] } ad[W] = X } } } function S(U, Z, Y, ad, aa, ac) { var ab = U == "previousSibling" && !ac; for (var W = 0, V = ad.length; W < V; W++) { var T = ad[W]; if (T) { if (ab && T.nodeType === 1) { T.sizcache = Y; T.sizset = W } T = T[U]; var X = false; while (T) { if (T.sizcache === Y) { X = ad[T.sizset]; break } if (T.nodeType === 1) { if (!ac) { T.sizcache = Y; T.sizset = W } if (typeof Z !== "string") { if (T === Z) { X = true; break } } else { if (F.filter(Z, [T]).length > 0) { X = T; break } } } T = T[U] } ad[W] = X } } } var K = document.compareDocumentPosition ? function(U, T) { return U.compareDocumentPosition(T) & 16 } : function(U, T) { return U !== T && (U.contains ? U.contains(T) : true) }; var Q = function(T) { return T.nodeType === 9 && T.documentElement.nodeName !== "HTML" || !!T.ownerDocument && Q(T.ownerDocument) }; var J = function(T, aa) { var W = [], X = "", Y, V = aa.nodeType ? [aa] : aa; while ((Y = I.match.PSEUDO.exec(T))) { X += Y[0]; T = T.replace(I.match.PSEUDO, "") } T = I.relative[T] ? T + "*" : T; for (var Z = 0, U = V.length; Z < U; Z++) { F(T, V[Z], W) } return F.filter(X, W) }; o.find = F; o.filter = F.filter; o.expr = F.selectors; o.expr[":"] = o.expr.filters; F.selectors.filters.hidden = function(T) { return T.offsetWidth === 0 || T.offsetHeight === 0 }; F.selectors.filters.visible = function(T) { return T.offsetWidth > 0 || T.offsetHeight > 0 }; F.selectors.filters.animated = function(T) { return o.grep(o.timers, function(U) { return T === U.elem }).length }; o.multiFilter = function(V, T, U) { if (U) { V = ":not(" + V + ")" } return F.matches(V, T) }; o.dir = function(V, U) { var T = [], W = V[U]; while (W && W != document) { if (W.nodeType == 1) { T.push(W) } W = W[U] } return T }; o.nth = function(X, T, V, W) { T = T || 1; var U = 0; for (; X; X = X[V]) { if (X.nodeType == 1 && ++U == T) { break } } return X }; o.sibling = function(V, U) { var T = []; for (; V; V = V.nextSibling) { if (V.nodeType == 1 && V != U) { T.push(V) } } return T }; return; l.Sizzle = F })(); o.event = { add: function(I, F, H, K) { if (I.nodeType == 3 || I.nodeType == 8) { return } if (I.setInterval && I != l) { I = l } if (!H.guid) { H.guid = this.guid++ } if (K !== g) { var G = H; H = this.proxy(G); H.data = K } var E = o.data(I, "events") || o.data(I, "events", {}), J = o.data(I, "handle") || o.data(I, "handle", function() { return typeof o !== "undefined" && !o.event.triggered ? o.event.handle.apply(arguments.callee.elem, arguments) : g }); J.elem = I; o.each(F.split(/\s+/), function(M, N) { var O = N.split("."); N = O.shift(); H.type = O.slice().sort().join("."); var L = E[N]; if (o.event.specialAll[N]) { o.event.specialAll[N].setup.call(I, K, O) } if (!L) { L = E[N] = {}; if (!o.event.special[N] || o.event.special[N].setup.call(I, K, O) === false) { if (I.addEventListener) { I.addEventListener(N, J, false) } else { if (I.attachEvent) { I.attachEvent("on" + N, J) } } } } L[H.guid] = H; o.event.global[N] = true }); I = null }, guid: 1, global: {}, remove: function(K, H, J) { if (K.nodeType == 3 || K.nodeType == 8) { return } var G = o.data(K, "events"), F, E; if (G) { if (H === g || (typeof H === "string" && H.charAt(0) == ".")) { for (var I in G) { this.remove(K, I + (H || "")) } } else { if (H.type) { J = H.handler; H = H.type } o.each(H.split(/\s+/), function(M, O) { var Q = O.split("."); O = Q.shift(); var N = RegExp("(^|\\.)" + Q.slice().sort().join(".*\\.") + "(\\.|$)"); if (G[O]) { if (J) { delete G[O][J.guid] } else { for (var P in G[O]) { if (N.test(G[O][P].type)) { delete G[O][P] } } } if (o.event.specialAll[O]) { o.event.specialAll[O].teardown.call(K, Q) } for (F in G[O]) { break } if (!F) { if (!o.event.special[O] || o.event.special[O].teardown.call(K, Q) === false) { if (K.removeEventListener) { K.removeEventListener(O, o.data(K, "handle"), false) } else { if (K.detachEvent) { K.detachEvent("on" + O, o.data(K, "handle")) } } } F = null; delete G[O] } } }) } for (F in G) { break } if (!F) { var L = o.data(K, "handle"); if (L) { L.elem = null } o.removeData(K, "events"); o.removeData(K, "handle") } } }, trigger: function(I, K, H, E) { var G = I.type || I; if (!E) { I = typeof I === "object" ? I[h] ? I : o.extend(o.Event(G), I) : o.Event(G); if (G.indexOf("!") >= 0) { I.type = G = G.slice(0, -1); I.exclusive = true } if (!H) { I.stopPropagation(); if (this.global[G]) { o.each(o.cache, function() { if (this.events && this.events[G]) { o.event.trigger(I, K, this.handle.elem) } }) } } if (!H || H.nodeType == 3 || H.nodeType == 8) { return g } I.result = g; I.target = H; K = o.makeArray(K); K.unshift(I) } I.currentTarget = H; var J = o.data(H, "handle"); if (J) { J.apply(H, K) } if ((!H[G] || (o.nodeName(H, "a") && G == "click")) && H["on" + G] && H["on" + G].apply(H, K) === false) { I.result = false } if (!E && H[G] && !I.isDefaultPrevented() && !(o.nodeName(H, "a") && G == "click")) { this.triggered = true; try { H[G]() } catch (L) { } } this.triggered = false; if (!I.isPropagationStopped()) { var F = H.parentNode || H.ownerDocument; if (F) { o.event.trigger(I, K, F, true) } } }, handle: function(K) { var J, E; K = arguments[0] = o.event.fix(K || l.event); K.currentTarget = this; var L = K.type.split("."); K.type = L.shift(); J = !L.length && !K.exclusive; var I = RegExp("(^|\\.)" + L.slice().sort().join(".*\\.") + "(\\.|$)"); E = (o.data(this, "events") || {})[K.type]; for (var G in E) { var H = E[G]; if (J || I.test(H.type)) { K.handler = H; K.data = H.data; var F = H.apply(this, arguments); if (F !== g) { K.result = F; if (F === false) { K.preventDefault(); K.stopPropagation() } } if (K.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(H) { if (H[h]) { return H } var F = H; H = o.Event(F); for (var G = this.props.length, J; G; ) { J = this.props[--G]; H[J] = F[J] } if (!H.target) { H.target = H.srcElement || document } if (H.target.nodeType == 3) { H.target = H.target.parentNode } if (!H.relatedTarget && H.fromElement) { H.relatedTarget = H.fromElement == H.target ? H.toElement : H.fromElement } if (H.pageX == null && H.clientX != null) { var I = document.documentElement, E = document.body; H.pageX = H.clientX + (I && I.scrollLeft || E && E.scrollLeft || 0) - (I.clientLeft || 0); H.pageY = H.clientY + (I && I.scrollTop || E && E.scrollTop || 0) - (I.clientTop || 0) } if (!H.which && ((H.charCode || H.charCode === 0) ? H.charCode : H.keyCode)) { H.which = H.charCode || H.keyCode } if (!H.metaKey && H.ctrlKey) { H.metaKey = H.ctrlKey } if (!H.which && H.button) { H.which = (H.button & 1 ? 1 : (H.button & 2 ? 3 : (H.button & 4 ? 2 : 0))) } return H }, proxy: function(F, E) { E = E || function() { return F.apply(this, arguments) }; E.guid = F.guid = F.guid || E.guid || this.guid++; return E }, special: { ready: { setup: B, teardown: function() { } } }, specialAll: { live: { setup: function(E, F) { o.event.add(this, F[0], c) }, teardown: function(G) { if (G.length) { var E = 0, F = RegExp("(^|\\.)" + G[0] + "(\\.|$)"); o.each((o.data(this, "events").live || {}), function() { if (F.test(this.type)) { E++ } }); if (E < 1) { o.event.remove(this, G[0], c) } } } }} }; o.Event = function(E) { if (!this.preventDefault) { return new o.Event(E) } if (E && E.type) { this.originalEvent = E; this.type = E.type } else { this.type = E } this.timeStamp = e(); this[h] = true }; function k() { return false } function u() { return true } o.Event.prototype = { preventDefault: function() { this.isDefaultPrevented = u; var E = this.originalEvent; if (!E) { return } if (E.preventDefault) { E.preventDefault() } E.returnValue = false }, stopPropagation: function() { this.isPropagationStopped = u; var E = this.originalEvent; if (!E) { return } if (E.stopPropagation) { E.stopPropagation() } E.cancelBubble = true }, stopImmediatePropagation: function() { this.isImmediatePropagationStopped = u; this.stopPropagation() }, isDefaultPrevented: k, isPropagationStopped: k, isImmediatePropagationStopped: k }; var a = function(F) { var E = F.relatedTarget; while (E && E != this) { try { E = E.parentNode } catch (G) { E = this } } if (E != this) { F.type = F.data; o.event.handle.apply(this, arguments) } }; o.each({ mouseover: "mouseenter", mouseout: "mouseleave" }, function(F, E) { o.event.special[E] = { setup: function() { o.event.add(this, F, a, E) }, teardown: function() { o.event.remove(this, F, a) } } }); o.fn.extend({ bind: function(F, G, E) { return F == "unload" ? this.one(F, G, E) : this.each(function() { o.event.add(this, F, E || G, E && G) }) }, one: function(G, H, F) { var E = o.event.proxy(F || H, function(I) { o(this).unbind(I, E); return (F || H).apply(this, arguments) }); return this.each(function() { o.event.add(this, G, E, F && H) }) }, unbind: function(F, E) { return this.each(function() { o.event.remove(this, F, E) }) }, trigger: function(E, F) { return this.each(function() { o.event.trigger(E, F, this) }) }, triggerHandler: function(E, G) { if (this[0]) { var F = o.Event(E); F.preventDefault(); F.stopPropagation(); o.event.trigger(F, G, this[0]); return F.result } }, toggle: function(G) { var E = arguments, F = 1; while (F < E.length) { o.event.proxy(G, E[F++]) } return this.click(o.event.proxy(G, function(H) { this.lastToggle = (this.lastToggle || 0) % F; H.preventDefault(); return E[this.lastToggle++].apply(this, arguments) || false })) }, hover: function(E, F) { return this.mouseenter(E).mouseleave(F) }, ready: function(E) { B(); if (o.isReady) { E.call(document, o) } else { o.readyList.push(E) } return this }, live: function(G, F) { var E = o.event.proxy(F); E.guid += this.selector + G; o(document).bind(i(G, this.selector), this.selector, E); return this }, die: function(F, E) { o(document).unbind(i(F, this.selector), E ? { guid: E.guid + this.selector + F} : null); return this } }); function c(H) { var E = RegExp("(^|\\.)" + H.type + "(\\.|$)"), G = true, F = []; o.each(o.data(this, "events").live || [], function(I, J) { if (E.test(J.type)) { var K = o(H.target).closest(J.data)[0]; if (K) { F.push({ elem: K, fn: J }) } } }); F.sort(function(J, I) { return o.data(J.elem, "closest") - o.data(I.elem, "closest") }); o.each(F, function() { if (this.fn.call(this.elem, H, this.fn.data) === false) { return (G = false) } }); return G } function i(F, E) { return ["live", F, E.replace(/\./g, "`").replace(/ /g, "|")].join(".") } o.extend({ isReady: false, readyList: [], ready: function() { if (!o.isReady) { o.isReady = true; if (o.readyList) { o.each(o.readyList, function() { this.call(document, o) }); o.readyList = null } o(document).triggerHandler("ready") } } }); var x = false; function B() { if (x) { return } x = true; if (document.addEventListener) { document.addEventListener("DOMContentLoaded", function() { document.removeEventListener("DOMContentLoaded", arguments.callee, false); o.ready() }, false) } else { if (document.attachEvent) { document.attachEvent("onreadystatechange", function() { if (document.readyState === "complete") { document.detachEvent("onreadystatechange", arguments.callee); o.ready() } }); if (document.documentElement.doScroll && l == l.top) { (function() { if (o.isReady) { return } try { document.documentElement.doScroll("left") } catch (E) { setTimeout(arguments.callee, 0); return } o.ready() })() } } } o.event.add(l, "load", o.ready) } o.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(F, E) { o.fn[E] = function(G) { return G ? this.bind(E, G) : this.trigger(E) } }); o(l).bind("unload", function() { for (var E in o.cache) { if (E != 1 && o.cache[E].handle) { o.event.remove(o.cache[E].handle.elem) } } }); (function() { o.support = {}; var F = document.documentElement, G = document.createElement("script"), K = document.createElement("div"), J = "script" + (new Date).getTime(); K.style.display = "none"; K.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 = K.getElementsByTagName("*"), E = K.getElementsByTagName("a")[0]; if (!H || !H.length || !E) { return } o.support = { leadingWhitespace: K.firstChild.nodeType == 3, tbody: !K.getElementsByTagName("tbody").length, objectAll: !!K.getElementsByTagName("object")[0].getElementsByTagName("*").length, htmlSerialize: !!K.getElementsByTagName("link").length, style: /red/.test(E.getAttribute("style")), hrefNormalized: E.getAttribute("href") === "/a", opacity: E.style.opacity === "0.5", cssFloat: !!E.style.cssFloat, scriptEval: false, noCloneEvent: true, boxModel: null }; G.type = "text/javascript"; try { G.appendChild(document.createTextNode("window." + J + "=1;")) } catch (I) { } F.insertBefore(G, F.firstChild); if (l[J]) { o.support.scriptEval = true; delete l[J] } F.removeChild(G); if (K.attachEvent && K.fireEvent) { K.attachEvent("onclick", function() { o.support.noCloneEvent = false; K.detachEvent("onclick", arguments.callee) }); K.cloneNode(true).fireEvent("onclick") } o(function() { var L = document.createElement("div"); L.style.width = L.style.paddingLeft = "1px"; document.body.appendChild(L); o.boxModel = o.support.boxModel = L.offsetWidth === 2; document.body.removeChild(L).style.display = "none" }) })(); var w = o.support.cssFloat ? "cssFloat" : "styleFloat"; o.props = { "for": "htmlFor", "class": "className", "float": w, cssFloat: w, styleFloat: w, readonly: "readOnly", maxlength: "maxLength", cellspacing: "cellSpacing", rowspan: "rowSpan", tabindex: "tabIndex" }; o.fn.extend({ _load: o.fn.load, load: function(G, J, K) { if (typeof G !== "string") { return this._load(G) } var I = G.indexOf(" "); if (I >= 0) { var E = G.slice(I, G.length); G = G.slice(0, I) } var H = "GET"; if (J) { if (o.isFunction(J)) { K = J; J = null } else { if (typeof J === "object") { J = o.param(J); H = "POST" } } } var F = this; o.ajax({ url: G, type: H, dataType: "html", data: J, complete: function(M, L) { if (L == "success" || L == "notmodified") { F.html(E ? o("<div/>").append(M.responseText.replace(/<script(.|\s)*?\/script>/g, "")).find(E) : M.responseText) } if (K) { F.each(K, [M.responseText, L, M]) } } }); return this }, serialize: function() { return o.param(this.serializeArray()) }, serializeArray: function() { return this.map(function() { return this.elements ? o.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(E, F) { var G = o(this).val(); return G == null ? null : o.isArray(G) ? o.map(G, function(I, H) { return { name: F.name, value: I} }) : { name: F.name, value: G} }).get() } }); o.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","), function(E, F) { o.fn[F] = function(G) { return this.bind(F, G) } }); var r = e(); o.extend({ get: function(E, G, H, F) { if (o.isFunction(G)) { H = G; G = null } return o.ajax({ type: "GET", url: E, data: G, success: H, dataType: F }) }, getScript: function(E, F) { return o.get(E, null, F, "script") }, getJSON: function(E, F, G) { return o.get(E, F, G, "json") }, post: function(E, G, H, F) { if (o.isFunction(G)) { H = G; G = {} } return o.ajax({ type: "POST", url: E, data: G, success: H, dataType: F }) }, ajaxSetup: function(E) { o.extend(o.ajaxSettings, E) }, ajaxSettings: { url: location.href, global: true, type: "GET", contentType: "application/x-www-form-urlencoded", processData: true, async: true, xhr: function() { return l.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 = o.extend(true, M, o.extend(true, {}, o.ajaxSettings, M)); var W, F = /=\?(&|$)/g, R, V, G = M.type.toUpperCase(); if (M.data && M.processData && typeof M.data !== "string") { M.data = o.param(M.data) } if (M.dataType == "jsonp") { if (G == "GET") { if (!M.url.match(F)) { M.url += (M.url.match(/\?/) ? "&" : "?") + (M.jsonp || "callback") + "=?" } } else { if (!M.data || !M.data.match(F)) { M.data = (M.data ? M.data + "&" : "") + (M.jsonp || "callback") + "=?" } } M.dataType = "json" } if (M.dataType == "json" && (M.data && M.data.match(F) || M.url.match(F))) { W = "jsonp" + r++; if (M.data) { M.data = (M.data + "").replace(F, "=" + W + "$1") } M.url = M.url.replace(F, "=" + W + "$1"); M.dataType = "script"; l[W] = function(X) { V = X; I(); L(); l[W] = g; try { delete l[W] } catch (Y) { } if (H) { H.removeChild(T) } } } if (M.dataType == "script" && M.cache == null) { M.cache = false } if (M.cache === false && G == "GET") { var E = e(); var U = M.url.replace(/(\?|&)_=.*?(&|$)/, "$1_=" + E + "$2"); M.url = U + ((U == M.url) ? (M.url.match(/\?/) ? "&" : "?") + "_=" + E : "") } if (M.data && G == "GET") { M.url += (M.url.match(/\?/) ? "&" : "?") + M.data; M.data = null } if (M.global && !o.active++) { o.event.trigger("ajaxStart") } var Q = /^(\w+:)?\/\/([^\/?#]+)/.exec(M.url); if (M.dataType == "script" && G == "GET" && Q && (Q[1] && Q[1] != location.protocol || Q[2] != location.host)) { var H = document.getElementsByTagName("head")[0]; var T = document.createElement("script"); T.src = M.url; if (M.scriptCharset) { T.charset = M.scriptCharset } if (!W) { var O = false; T.onload = T.onreadystatechange = function() { if (!O && (!this.readyState || this.readyState == "loaded" || this.readyState == "complete")) { O = true; I(); L(); T.onload = T.onreadystatechange = null; H.removeChild(T) } } } H.appendChild(T); return g } var K = false; var J = M.xhr(); if (M.username) { J.open(G, M.url, M.async, M.username, M.password) } else { J.open(G, M.url, M.async) } try { if (M.data) { J.setRequestHeader("Content-Type", M.contentType) } if (M.ifModified) { J.setRequestHeader("If-Modified-Since", o.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 (S) { } if (M.beforeSend && M.beforeSend(J, M) === false) { if (M.global && ! --o.active) { o.event.trigger("ajaxStop") } J.abort(); return false } if (M.global) { o.event.trigger("ajaxSend", [J, M]) } var N = function(X) { if (J.readyState == 0) { if (P) { clearInterval(P); P = null; if (M.global && ! --o.active) { o.event.trigger("ajaxStop") } } } else { if (!K && J && (J.readyState == 4 || X == "timeout")) { K = true; if (P) { clearInterval(P); P = null } R = X == "timeout" ? "timeout" : !o.httpSuccess(J) ? "error" : M.ifModified && o.httpNotModified(J, M.url) ? "notmodified" : "success"; if (R == "success") { try { V = o.httpData(J, M.dataType, M) } catch (Z) { R = "parsererror" } } if (R == "success") { var Y; try { Y = J.getResponseHeader("Last-Modified") } catch (Z) { } if (M.ifModified && Y) { o.lastModified[M.url] = Y } if (!W) { I() } } else { o.handleError(M, J, R) } L(); if (X) { J.abort() } if (M.async) { J = null } } } }; if (M.async) { var P = setInterval(N, 13); if (M.timeout > 0) { setTimeout(function() { if (J && !K) { N("timeout") } }, M.timeout) } } try { J.send(M.data) } catch (S) { o.handleError(M, J, null, S) } if (!M.async) { N() } function I() { if (M.success) { M.success(V, R) } if (M.global) { o.event.trigger("ajaxSuccess", [J, M]) } } function L() { if (M.complete) { M.complete(J, R) } if (M.global) { o.event.trigger("ajaxComplete", [J, M]) } if (M.global && ! --o.active) { o.event.trigger("ajaxStop") } } return J }, handleError: function(F, H, E, G) { if (F.error) { F.error(H, E, G) } if (F.global) { o.event.trigger("ajaxError", [H, F, G]) } }, active: 0, httpSuccess: function(F) { try { return !F.status && location.protocol == "file:" || (F.status >= 200 && F.status < 300) || F.status == 304 || F.status == 1223 } catch (E) { } return false }, httpNotModified: function(G, E) { try { var H = G.getResponseHeader("Last-Modified"); return G.status == 304 || H == o.lastModified[E] } catch (F) { } return false }, httpData: function(J, H, G) { var F = J.getResponseHeader("content-type"), E = H == "xml" || !H && F && F.indexOf("xml") >= 0, I = E ? J.responseXML : J.responseText; if (E && I.documentElement.tagName == "parsererror") { throw "parsererror" } if (G && G.dataFilter) { I = G.dataFilter(I, H) } if (typeof I === "string") { if (H == "script") { o.globalEval(I) } if (H == "json") { I = l["eval"]("(" + I + ")") } } return I }, param: function(E) { var G = []; function H(I, J) { G[G.length] = encodeURIComponent(I) + "=" + encodeURIComponent(J) } if (o.isArray(E) || E.jquery) { o.each(E, function() { H(this.name, this.value) }) } else { for (var F in E) { if (o.isArray(E[F])) { o.each(E[F], function() { H(F, this) }) } else { H(F, o.isFunction(E[F]) ? E[F]() : E[F]) } } } return G.join("&").replace(/%20/g, "+") } }); var m = {}, n, d = [["height", "marginTop", "marginBottom", "paddingTop", "paddingBottom"], ["width", "marginLeft", "marginRight", "paddingLeft", "paddingRight"], ["opacity"]]; function t(F, E) { var G = {}; o.each(d.concat.apply([], d.slice(0, E)), function() { G[this] = F }); return G } o.fn.extend({ show: function(J, L) { if (J) { return this.animate(t("show", 3), J, L) } else { for (var H = 0, F = this.length; H < F; H++) { var E = o.data(this[H], "olddisplay"); this[H].style.display = E || ""; if (o.css(this[H], "display") === "none") { var G = this[H].tagName, K; if (m[G]) { K = m[G] } else { var I = o("<" + G + " />").appendTo("body"); K = I.css("display"); if (K === "none") { K = "block" } I.remove(); m[G] = K } o.data(this[H], "olddisplay", K) } } for (var H = 0, F = this.length; H < F; H++) { this[H].style.display = o.data(this[H], "olddisplay") || "" } return this } }, hide: function(H, I) { if (H) { return this.animate(t("hide", 3), H, I) } else { for (var G = 0, F = this.length; G < F; G++) { var E = o.data(this[G], "olddisplay"); if (!E && E !== "none") { o.data(this[G], "olddisplay", o.css(this[G], "display")) } } for (var G = 0, F = this.length; G < F; G++) { this[G].style.display = "none" } return this } }, _toggle: o.fn.toggle, toggle: function(G, F) { var E = typeof G === "boolean"; return o.isFunction(G) && o.isFunction(F) ? this._toggle.apply(this, arguments) : G == null || E ? this.each(function() { var H = E ? G : o(this).is(":hidden"); o(this)[H ? "show" : "hide"]() }) : this.animate(t("toggle", 3), G, F) }, fadeTo: function(E, G, F) { return this.animate({ opacity: G }, E, F) }, animate: function(I, F, H, G) { var E = o.speed(F, H, G); return this[E.queue === false ? "each" : "queue"](function() { var K = o.extend({}, E), M, L = this.nodeType == 1 && o(this).is(":hidden"), J = this; for (M in I) { if (I[M] == "hide" && L || I[M] == "show" && !L) { return K.complete.call(this) } if ((M == "height" || M == "width") && this.style) { K.display = o.css(this, "display"); K.overflow = this.style.overflow } } if (K.overflow != null) { this.style.overflow = "hidden" } K.curAnim = o.extend({}, I); o.each(I, function(O, S) { var R = new o.fx(J, K, O); if (/toggle|show|hide/.test(S)) { R[S == "toggle" ? L ? "show" : "hide" : S](I) } else { var Q = S.toString().match(/^([+-]=)?([\d+-.]+)(.*)$/), T = R.cur(true) || 0; if (Q) { var N = parseFloat(Q[2]), P = Q[3] || "px"; if (P != "px") { J.style[O] = (N || 1) + P; T = ((N || 1) / R.cur(true)) * T; J.style[O] = T + P } if (Q[1]) { N = ((Q[1] == "-=" ? -1 : 1) * N) + T } R.custom(T, N, P) } else { R.custom(T, S, "") } } }); return true }) }, stop: function(F, E) { var G = o.timers; if (F) { this.queue([]) } this.each(function() { for (var H = G.length - 1; H >= 0; H--) { if (G[H].elem == this) { if (E) { G[H](true) } G.splice(H, 1) } } }); if (!E) { this.dequeue() } return this } }); o.each({ slideDown: t("show", 1), slideUp: t("hide", 1), slideToggle: t("toggle", 1), fadeIn: { opacity: "show" }, fadeOut: { opacity: "hide"} }, function(E, F) { o.fn[E] = function(G, H) { return this.animate(F, G, H) } }); o.extend({ speed: function(G, H, F) { var E = typeof G === "object" ? G : { complete: F || !F && H || o.isFunction(G) && G, duration: G, easing: F && H || H && !o.isFunction(H) && H }; E.duration = o.fx.off ? 0 : typeof E.duration === "number" ? E.duration : o.fx.speeds[E.duration] || o.fx.speeds._default; E.old = E.complete; E.complete = function() { if (E.queue !== false) { o(this).dequeue() } if (o.isFunction(E.old)) { E.old.call(this) } }; return E }, easing: { linear: function(G, H, E, F) { return E + F * G }, swing: function(G, H, E, F) { return ((-Math.cos(G * Math.PI) / 2) + 0.5) * F + E } }, timers: [], fx: function(F, E, G) { this.options = E; this.elem = F; this.prop = G; if (!E.orig) { E.orig = {} } } }); o.fx.prototype = { update: function() { if (this.options.step) { this.options.step.call(this.elem, this.now, this) } (o.fx.step[this.prop] || o.fx.step._default)(this); if ((this.prop == "height" || this.prop == "width") && this.elem.style) { this.elem.style.display = "block" } }, cur: function(F) { if (this.elem[this.prop] != null && (!this.elem.style || this.elem.style[this.prop] == null)) { return this.elem[this.prop] } var E = parseFloat(o.css(this.elem, this.prop, F)); return E && E > -10000 ? E : parseFloat(o.curCSS(this.elem, this.prop)) || 0 }, custom: function(I, H, G) { this.startTime = e(); this.start = I; this.end = H; this.unit = G || this.unit || "px"; this.now = this.start; this.pos = this.state = 0; var E = this; function F(J) { return E.step(J) } F.elem = this.elem; if (F() && o.timers.push(F) && !n) { n = setInterval(function() { var K = o.timers; for (var J = 0; J < K.length; J++) { if (!K[J]()) { K.splice(J--, 1) } } if (!K.length) { clearInterval(n); n = g } }, 13) } }, show: function() { this.options.orig[this.prop] = o.attr(this.elem.style, this.prop); this.options.show = true; this.custom(this.prop == "width" || this.prop == "height" ? 1 : 0, this.cur()); o(this.elem).show() }, hide: function() { this.options.orig[this.prop] = o.attr(this.elem.style, this.prop); this.options.hide = true; this.custom(this.cur(), 0) }, step: function(H) { var G = e(); if (H || G >= this.options.duration + this.startTime) { this.now = this.end; this.pos = this.state = 1; this.update(); this.options.curAnim[this.prop] = true; var E = true; for (var F in this.options.curAnim) { if (this.options.curAnim[F] !== true) { E = false } } if (E) { if (this.options.display != null) { this.elem.style.overflow = this.options.overflow; this.elem.style.display = this.options.display; if (o.css(this.elem, "display") == "none") { this.elem.style.display = "block" } } if (this.options.hide) { o(this.elem).hide() } if (this.options.hide || this.options.show) { for (var I in this.options.curAnim) { o.attr(this.elem.style, I, this.options.orig[I]) } } this.options.complete.call(this.elem) } return false } else { var J = G - this.startTime; this.state = J / this.options.duration; this.pos = o.easing[this.options.easing || (o.easing.swing ? "swing" : "linear")](this.state, J, 0, 1, this.options.duration); this.now = this.start + ((this.end - this.start) * this.pos); this.update() } return true } }; o.extend(o.fx, { speeds: { slow: 600, fast: 200, _default: 400 }, step: { opacity: function(E) { o.attr(E.elem.style, "opacity", E.now) }, _default: function(E) { if (E.elem.style && E.elem.style[E.prop] != null) { E.elem.style[E.prop] = E.now + E.unit } else { E.elem[E.prop] = E.now } } } }); if (document.documentElement.getBoundingClientRect) { o.fn.offset = function() { if (!this[0]) { return { top: 0, left: 0} } if (this[0] === this[0].ownerDocument.body) { return o.offset.bodyOffset(this[0]) } var G = this[0].getBoundingClientRect(), J = this[0].ownerDocument, F = J.body, E = J.documentElement, L = E.clientTop || F.clientTop || 0, K = E.clientLeft || F.clientLeft || 0, I = G.top + (self.pageYOffset || o.boxModel && E.scrollTop || F.scrollTop) - L, H = G.left + (self.pageXOffset || o.boxModel && E.scrollLeft || F.scrollLeft) - K; return { top: I, left: H} } } else { o.fn.offset = function() { if (!this[0]) { return { top: 0, left: 0} } if (this[0] === this[0].ownerDocument.body) { return o.offset.bodyOffset(this[0]) } o.offset.initialized || o.offset.initialize(); var J = this[0], G = J.offsetParent, F = J, O = J.ownerDocument, M, H = O.documentElement, K = O.body, L = O.defaultView, E = L.getComputedStyle(J, null), N = J.offsetTop, I = J.offsetLeft; while ((J = J.parentNode) && J !== K && J !== H) { M = L.getComputedStyle(J, null); N -= J.scrollTop, I -= J.scrollLeft; if (J === G) { N += J.offsetTop, I += J.offsetLeft; if (o.offset.doesNotAddBorder && !(o.offset.doesAddBorderForTableAndCells && /^t(able|d|h)$/i.test(J.tagName))) { N += parseInt(M.borderTopWidth, 10) || 0, I += parseInt(M.borderLeftWidth, 10) || 0 } F = G, G = J.offsetParent } if (o.offset.subtractsBorderForOverflowNotVisible && M.overflow !== "visible") { N += parseInt(M.borderTopWidth, 10) || 0, I += parseInt(M.borderLeftWidth, 10) || 0 } E = M } if (E.position === "relative" || E.position === "static") { N += K.offsetTop, I += K.offsetLeft } if (E.position === "fixed") { N += Math.max(H.scrollTop, K.scrollTop), I += Math.max(H.scrollLeft, K.scrollLeft) } return { top: N, left: I} } } o.offset = { initialize: function() { if (this.initialized) { return } var L = document.body, F = document.createElement("div"), H, G, N, I, M, E, J = L.style.marginTop, K = '<div style="position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;"><div></div></div><table style="position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;" cellpadding="0" cellspacing="0"><tr><td></td></tr></table>'; M = { position: "absolute", top: 0, left: 0, margin: 0, border: 0, width: "1px", height: "1px", visibility: "hidden" }; for (E in M) { F.style[E] = M[E] } F.innerHTML = K; L.insertBefore(F, L.firstChild); H = F.firstChild, G = H.firstChild, I = H.nextSibling.firstChild.firstChild; this.doesNotAddBorder = (G.offsetTop !== 5); this.doesAddBorderForTableAndCells = (I.offsetTop === 5); H.style.overflow = "hidden", H.style.position = "relative"; this.subtractsBorderForOverflowNotVisible = (G.offsetTop === -5); L.style.marginTop = "1px"; this.doesNotIncludeMarginInBodyOffset = (L.offsetTop === 0); L.style.marginTop = J; L.removeChild(F); this.initialized = true }, bodyOffset: function(E) { o.offset.initialized || o.offset.initialize(); var G = E.offsetTop, F = E.offsetLeft; if (o.offset.doesNotIncludeMarginInBodyOffset) { G += parseInt(o.curCSS(E, "marginTop", true), 10) || 0, F += parseInt(o.curCSS(E, "marginLeft", true), 10) || 0 } return { top: G, left: F} } }; o.fn.extend({ position: function() { var I = 0, H = 0, F; if (this[0]) { var G = this.offsetParent(), J = this.offset(), E = /^body|html$/i.test(G[0].tagName) ? { top: 0, left: 0} : G.offset(); J.top -= j(this, "marginTop"); J.left -= j(this, "marginLeft"); E.top += j(G, "borderTopWidth"); E.left += j(G, "borderLeftWidth"); F = { top: J.top - E.top, left: J.left - E.left} } return F }, offsetParent: function() { var E = this[0].offsetParent || document.body; while (E && (!/^body|html$/i.test(E.tagName) && o.css(E, "position") == "static")) { E = E.offsetParent } return o(E) } }); o.each(["Left", "Top"], function(F, E) { var G = "scroll" + E; o.fn[G] = function(H) { if (!this[0]) { return null } return H !== g ? this.each(function() { this == l || this == document ? l.scrollTo(!F ? H : o(l).scrollLeft(), F ? H : o(l).scrollTop()) : this[G] = H }) : this[0] == l || this[0] == document ? self[F ? "pageYOffset" : "pageXOffset"] || o.boxModel && document.documentElement[G] || document.body[G] : this[0][G] } }); o.each(["Height", "Width"], function(I, G) { var E = I ? "Left" : "Top", H = I ? "Right" : "Bottom", F = G.toLowerCase(); o.fn["inner" + G] = function() { return this[0] ? o.css(this[0], F, false, "padding") : null }; o.fn["outer" + G] = function(K) { return this[0] ? o.css(this[0], F, false, K ? "margin" : "border") : null }; var J = G.toLowerCase(); o.fn[J] = function(K) { return this[0] == l ? document.compatMode == "CSS1Compat" && document.documentElement["client" + G] || document.body["client" + G] : this[0] == document ? Math.max(document.documentElement["client" + G], document.body["scroll" + G], document.documentElement["scroll" + G], document.body["offset" + G], document.documentElement["offset" + G]) : K === g ? (this.length ? o.css(this[0], J) : null) : this.css(J, typeof K === "string" ? K : K + "px") } })
})();

var $j = jQuery.noConflict();

/* jQuery UI Library v1.7.2 */
jQuery.ui || (function(h) { var i = h.fn.remove, c = h.browser.mozilla && (parseFloat(h.browser.version) < 1.9); h.ui = { version: "1.7.2", plugin: { add: function(k, l, n) { var m = h.ui[k].prototype; for (var j in n) { m.plugins[j] = m.plugins[j] || []; m.plugins[j].push([l, n[j]]) } }, call: function(j, l, k) { var n = j.plugins[l]; if (!n || !j.element[0].parentNode) { return } for (var m = 0; m < n.length; m++) { if (j.options[n[m][0]]) { n[m][1].apply(j.element, k) } } } }, contains: function(k, j) { return document.compareDocumentPosition ? k.compareDocumentPosition(j) & 16 : k !== j && k.contains(j) }, hasScroll: function(m, k) { if (h(m).css("overflow") == "hidden") { return false } var j = (k && k == "left") ? "scrollLeft" : "scrollTop", l = false; if (m[j] > 0) { return true } m[j] = 1; l = (m[j] > 0); m[j] = 0; return l }, isOverAxis: function(k, j, l) { return (k > j) && (k < (j + l)) }, isOver: function(o, k, n, m, j, l) { return h.ui.isOverAxis(o, n, j) && h.ui.isOverAxis(k, m, l) }, keyCode: { BACKSPACE: 8, CAPS_LOCK: 20, COMMA: 188, CONTROL: 17, DELETE: 46, DOWN: 40, END: 35, ENTER: 13, ESCAPE: 27, HOME: 36, INSERT: 45, LEFT: 37, NUMPAD_ADD: 107, NUMPAD_DECIMAL: 110, NUMPAD_DIVIDE: 111, NUMPAD_ENTER: 108, NUMPAD_MULTIPLY: 106, NUMPAD_SUBTRACT: 109, PAGE_DOWN: 34, PAGE_UP: 33, PERIOD: 190, RIGHT: 39, SHIFT: 16, SPACE: 32, TAB: 9, UP: 38} }; if (c) { var e = h.attr, d = h.fn.removeAttr, g = "http://www.w3.org/2005/07/aaa", a = /^aria-/, b = /^wairole:/; h.attr = function(k, j, l) { var m = l !== undefined; return (j == "role" ? (m ? e.call(this, k, j, "wairole:" + l) : (e.apply(this, arguments) || "").replace(b, "")) : (a.test(j) ? (m ? k.setAttributeNS(g, j.replace(a, "aaa:"), l) : e.call(this, k, j.replace(a, "aaa:"))) : e.apply(this, arguments))) }; h.fn.removeAttr = function(j) { return (a.test(j) ? this.each(function() { this.removeAttributeNS(g, j.replace(a, "")) }) : d.call(this, j)) } } h.fn.extend({ remove: function() { h("*", this).add(this).each(function() { h(this).triggerHandler("remove") }); return i.apply(this, arguments) }, enableSelection: function() { return this.attr("unselectable", "off").css("MozUserSelect", "").unbind("selectstart.ui") }, disableSelection: function() { return this.attr("unselectable", "on").css("MozUserSelect", "none").bind("selectstart.ui", function() { return false }) }, scrollParent: function() { var j; if ((h.browser.msie && (/(static|relative)/).test(this.css("position"))) || (/absolute/).test(this.css("position"))) { j = this.parents().filter(function() { return (/(relative|absolute|fixed)/).test(h.curCSS(this, "position", 1)) && (/(auto|scroll)/).test(h.curCSS(this, "overflow", 1) + h.curCSS(this, "overflow-y", 1) + h.curCSS(this, "overflow-x", 1)) }).eq(0) } else { j = this.parents().filter(function() { return (/(auto|scroll)/).test(h.curCSS(this, "overflow", 1) + h.curCSS(this, "overflow-y", 1) + h.curCSS(this, "overflow-x", 1)) }).eq(0) } return (/fixed/).test(this.css("position")) || !j.length ? h(document) : j } }); h.extend(h.expr[":"], { data: function(l, k, j) { return !!h.data(l, j[3]) }, focusable: function(k) { var l = k.nodeName.toLowerCase(), j = h.attr(k, "tabindex"); return (/input|select|textarea|button|object/.test(l) ? !k.disabled : "a" == l || "area" == l ? k.href || !isNaN(j) : !isNaN(j)) && !h(k)["area" == l ? "parents" : "closest"](":hidden").length }, tabbable: function(k) { var j = h.attr(k, "tabindex"); return (isNaN(j) || j >= 0) && h(k).is(":focusable") } }); function f(m, n, o, l) { function k(q) { var p = h[m][n][q] || []; return (typeof p == "string" ? p.split(/,?\s+/) : p) } var j = k("getter"); if (l.length == 1 && typeof l[0] == "string") { j = j.concat(k("getterSetter")) } return (h.inArray(o, j) != -1) } h.widget = function(k, j) { var l = k.split(".")[0]; k = k.split(".")[1]; h.fn[k] = function(p) { var n = (typeof p == "string"), o = Array.prototype.slice.call(arguments, 1); if (n && p.substring(0, 1) == "_") { return this } if (n && f(l, k, p, o)) { var m = h.data(this[0], k); return (m ? m[p].apply(m, o) : undefined) } return this.each(function() { var q = h.data(this, k); (!q && !n && h.data(this, k, new h[l][k](this, p))._init()); (q && n && h.isFunction(q[p]) && q[p].apply(q, o)) }) }; h[l] = h[l] || {}; h[l][k] = function(o, n) { var m = this; this.namespace = l; this.widgetName = k; this.widgetEventPrefix = h[l][k].eventPrefix || k; this.widgetBaseClass = l + "-" + k; this.options = h.extend({}, h.widget.defaults, h[l][k].defaults, h.metadata && h.metadata.get(o)[k], n); this.element = h(o).bind("setData." + k, function(q, p, r) { if (q.target == o) { return m._setData(p, r) } }).bind("getData." + k, function(q, p) { if (q.target == o) { return m._getData(p) } }).bind("remove", function() { return m.destroy() }) }; h[l][k].prototype = h.extend({}, h.widget.prototype, j); h[l][k].getterSetter = "option" }; h.widget.prototype = { _init: function() { }, destroy: function() { this.element.removeData(this.widgetName).removeClass(this.widgetBaseClass + "-disabled " + this.namespace + "-state-disabled").removeAttr("aria-disabled") }, option: function(l, m) { var k = l, j = this; if (typeof l == "string") { if (m === undefined) { return this._getData(l) } k = {}; k[l] = m } h.each(k, function(n, o) { j._setData(n, o) }) }, _getData: function(j) { return this.options[j] }, _setData: function(j, k) { this.options[j] = k; if (j == "disabled") { this.element[k ? "addClass" : "removeClass"](this.widgetBaseClass + "-disabled " + this.namespace + "-state-disabled").attr("aria-disabled", k) } }, enable: function() { this._setData("disabled", false) }, disable: function() { this._setData("disabled", true) }, _trigger: function(l, m, n) { var p = this.options[l], j = (l == this.widgetEventPrefix ? l : this.widgetEventPrefix + l); m = h.Event(m); m.type = j; if (m.originalEvent) { for (var k = h.event.props.length, o; k; ) { o = h.event.props[--k]; m[o] = m.originalEvent[o] } } this.element.trigger(m, n); return !(h.isFunction(p) && p.call(this.element[0], m, n) === false || m.isDefaultPrevented()) } }; h.widget.defaults = { disabled: false }; h.ui.mouse = { _mouseInit: function() { var j = this; this.element.bind("mousedown." + this.widgetName, function(k) { return j._mouseDown(k) }).bind("click." + this.widgetName, function(k) { if (j._preventClickEvent) { j._preventClickEvent = false; k.stopImmediatePropagation(); return false } }); if (h.browser.msie) { this._mouseUnselectable = this.element.attr("unselectable"); this.element.attr("unselectable", "on") } this.started = false }, _mouseDestroy: function() { this.element.unbind("." + this.widgetName); (h.browser.msie && this.element.attr("unselectable", this._mouseUnselectable)) }, _mouseDown: function(l) { l.originalEvent = l.originalEvent || {}; if (l.originalEvent.mouseHandled) { return } (this._mouseStarted && this._mouseUp(l)); this._mouseDownEvent = l; var k = this, m = (l.which == 1), j = (typeof this.options.cancel == "string" ? h(l.target).parents().add(l.target).filter(this.options.cancel).length : false); if (!m || j || !this._mouseCapture(l)) { return true } this.mouseDelayMet = !this.options.delay; if (!this.mouseDelayMet) { this._mouseDelayTimer = setTimeout(function() { k.mouseDelayMet = true }, this.options.delay) } if (this._mouseDistanceMet(l) && this._mouseDelayMet(l)) { this._mouseStarted = (this._mouseStart(l) !== false); if (!this._mouseStarted) { l.preventDefault(); return true } } this._mouseMoveDelegate = function(n) { return k._mouseMove(n) }; this._mouseUpDelegate = function(n) { return k._mouseUp(n) }; h(document).bind("mousemove." + this.widgetName, this._mouseMoveDelegate).bind("mouseup." + this.widgetName, this._mouseUpDelegate); (h.browser.safari || l.preventDefault()); l.originalEvent.mouseHandled = true; return true }, _mouseMove: function(j) { if (h.browser.msie && !j.button) { return this._mouseUp(j) } if (this._mouseStarted) { this._mouseDrag(j); return j.preventDefault() } if (this._mouseDistanceMet(j) && this._mouseDelayMet(j)) { this._mouseStarted = (this._mouseStart(this._mouseDownEvent, j) !== false); (this._mouseStarted ? this._mouseDrag(j) : this._mouseUp(j)) } return !this._mouseStarted }, _mouseUp: function(j) { h(document).unbind("mousemove." + this.widgetName, this._mouseMoveDelegate).unbind("mouseup." + this.widgetName, this._mouseUpDelegate); if (this._mouseStarted) { this._mouseStarted = false; this._preventClickEvent = (j.target == this._mouseDownEvent.target); this._mouseStop(j) } return false }, _mouseDistanceMet: function(j) { return (Math.max(Math.abs(this._mouseDownEvent.pageX - j.pageX), Math.abs(this._mouseDownEvent.pageY - j.pageY)) >= this.options.distance) }, _mouseDelayMet: function(j) { return this.mouseDelayMet }, _mouseStart: function(j) { }, _mouseDrag: function(j) { }, _mouseStop: function(j) { }, _mouseCapture: function(j) { return true } }; h.ui.mouse.defaults = { cancel: null, distance: 1, delay: 0} })(jQuery); jQuery.effects || (function(e) { e.effects = { version: "1.7.2", save: function(g, h) { for (var f = 0; f < h.length; f++) { if (h[f] !== null) { g.data("ec.storage." + h[f], g[0].style[h[f]]) } } }, restore: function(g, h) { for (var f = 0; f < h.length; f++) { if (h[f] !== null) { g.css(h[f], g.data("ec.storage." + h[f])) } } }, setMode: function(f, g) { if (g == "toggle") { g = f.is(":hidden") ? "show" : "hide" } return g }, getBaseline: function(g, h) { var i, f; switch (g[0]) { case "top": i = 0; break; case "middle": i = 0.5; break; case "bottom": i = 1; break; default: i = g[0] / h.height } switch (g[1]) { case "left": f = 0; break; case "center": f = 0.5; break; case "right": f = 1; break; default: f = g[1] / h.width } return { x: f, y: i} }, createWrapper: function(f) { if (f.parent().is(".ui-effects-wrapper")) { return f.parent() } var g = { width: f.outerWidth(true), height: f.outerHeight(true), "float": f.css("float") }; f.wrap('<div class="ui-effects-wrapper" style="font-size:100%;background:transparent;border:none;margin:0;padding:0"></div>'); var j = f.parent(); if (f.css("position") == "static") { j.css({ position: "relative" }); f.css({ position: "relative" }) } else { var i = f.css("top"); if (isNaN(parseInt(i, 10))) { i = "auto" } var h = f.css("left"); if (isNaN(parseInt(h, 10))) { h = "auto" } j.css({ position: f.css("position"), top: i, left: h, zIndex: f.css("z-index") }).show(); f.css({ position: "relative", top: 0, left: 0 }) } j.css(g); return j }, removeWrapper: function(f) { if (f.parent().is(".ui-effects-wrapper")) { return f.parent().replaceWith(f) } return f }, setTransition: function(g, i, f, h) { h = h || {}; e.each(i, function(k, j) { unit = g.cssUnit(j); if (unit[0] > 0) { h[j] = unit[0] * f + unit[1] } }); return h }, animateClass: function(h, i, k, j) { var f = (typeof k == "function" ? k : (j ? j : null)); var g = (typeof k == "string" ? k : null); return this.each(function() { var q = {}; var o = e(this); var p = o.attr("style") || ""; if (typeof p == "object") { p = p.cssText } if (h.toggle) { o.hasClass(h.toggle) ? h.remove = h.toggle : h.add = h.toggle } var l = e.extend({}, (document.defaultView ? document.defaultView.getComputedStyle(this, null) : this.currentStyle)); if (h.add) { o.addClass(h.add) } if (h.remove) { o.removeClass(h.remove) } var m = e.extend({}, (document.defaultView ? document.defaultView.getComputedStyle(this, null) : this.currentStyle)); if (h.add) { o.removeClass(h.add) } if (h.remove) { o.addClass(h.remove) } for (var r in m) { if (typeof m[r] != "function" && m[r] && r.indexOf("Moz") == -1 && r.indexOf("length") == -1 && m[r] != l[r] && (r.match(/color/i) || (!r.match(/color/i) && !isNaN(parseInt(m[r], 10)))) && (l.position != "static" || (l.position == "static" && !r.match(/left|top|bottom|right/)))) { q[r] = m[r] } } o.animate(q, i, g, function() { if (typeof e(this).attr("style") == "object") { e(this).attr("style")["cssText"] = ""; e(this).attr("style")["cssText"] = p } else { e(this).attr("style", p) } if (h.add) { e(this).addClass(h.add) } if (h.remove) { e(this).removeClass(h.remove) } if (f) { f.apply(this, arguments) } }) }) } }; function c(g, f) { var i = g[1] && g[1].constructor == Object ? g[1] : {}; if (f) { i.mode = f } var h = g[1] && g[1].constructor != Object ? g[1] : (i.duration ? i.duration : g[2]); h = e.fx.off ? 0 : typeof h === "number" ? h : e.fx.speeds[h] || e.fx.speeds._default; var j = i.callback || (e.isFunction(g[1]) && g[1]) || (e.isFunction(g[2]) && g[2]) || (e.isFunction(g[3]) && g[3]); return [g[0], i, h, j] } e.fn.extend({ _show: e.fn.show, _hide: e.fn.hide, __toggle: e.fn.toggle, _addClass: e.fn.addClass, _removeClass: e.fn.removeClass, _toggleClass: e.fn.toggleClass, effect: function(g, f, h, i) { return e.effects[g] ? e.effects[g].call(this, { method: g, options: f || {}, duration: h, callback: i }) : null }, show: function() { if (!arguments[0] || (arguments[0].constructor == Number || (/(slow|normal|fast)/).test(arguments[0]))) { return this._show.apply(this, arguments) } else { return this.effect.apply(this, c(arguments, "show")) } }, hide: function() { if (!arguments[0] || (arguments[0].constructor == Number || (/(slow|normal|fast)/).test(arguments[0]))) { return this._hide.apply(this, arguments) } else { return this.effect.apply(this, c(arguments, "hide")) } }, toggle: function() { if (!arguments[0] || (arguments[0].constructor == Number || (/(slow|normal|fast)/).test(arguments[0])) || (e.isFunction(arguments[0]) || typeof arguments[0] == "boolean")) { return this.__toggle.apply(this, arguments) } else { return this.effect.apply(this, c(arguments, "toggle")) } }, addClass: function(g, f, i, h) { return f ? e.effects.animateClass.apply(this, [{ add: g }, f, i, h]) : this._addClass(g) }, removeClass: function(g, f, i, h) { return f ? e.effects.animateClass.apply(this, [{ remove: g }, f, i, h]) : this._removeClass(g) }, toggleClass: function(g, f, i, h) { return ((typeof f !== "boolean") && f) ? e.effects.animateClass.apply(this, [{ toggle: g }, f, i, h]) : this._toggleClass(g, f) }, morph: function(f, h, g, j, i) { return e.effects.animateClass.apply(this, [{ add: h, remove: f }, g, j, i]) }, switchClass: function() { return this.morph.apply(this, arguments) }, cssUnit: function(f) { var g = this.css(f), h = []; e.each(["em", "px", "%", "pt"], function(j, k) { if (g.indexOf(k) > 0) { h = [parseFloat(g), k] } }); return h } }); e.each(["backgroundColor", "borderBottomColor", "borderLeftColor", "borderRightColor", "borderTopColor", "color", "outlineColor"], function(g, f) { e.fx.step[f] = function(h) { if (h.state == 0) { h.start = d(h.elem, f); h.end = b(h.end) } h.elem.style[f] = "rgb(" + [Math.max(Math.min(parseInt((h.pos * (h.end[0] - h.start[0])) + h.start[0], 10), 255), 0), Math.max(Math.min(parseInt((h.pos * (h.end[1] - h.start[1])) + h.start[1], 10), 255), 0), Math.max(Math.min(parseInt((h.pos * (h.end[2] - h.start[2])) + h.start[2], 10), 255), 0)].join(",") + ")" } }); function b(g) { var f; if (g && g.constructor == Array && g.length == 3) { return g } if (f = /rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(g)) { return [parseInt(f[1], 10), parseInt(f[2], 10), parseInt(f[3], 10)] } if (f = /rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(g)) { return [parseFloat(f[1]) * 2.55, parseFloat(f[2]) * 2.55, parseFloat(f[3]) * 2.55] } if (f = /#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(g)) { return [parseInt(f[1], 16), parseInt(f[2], 16), parseInt(f[3], 16)] } if (f = /#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(g)) { return [parseInt(f[1] + f[1], 16), parseInt(f[2] + f[2], 16), parseInt(f[3] + f[3], 16)] } if (f = /rgba\(0, 0, 0, 0\)/.exec(g)) { return a.transparent } return a[e.trim(g).toLowerCase()] } function d(h, f) { var g; do { g = e.curCSS(h, f); if (g != "" && g != "transparent" || e.nodeName(h, "body")) { break } f = "backgroundColor" } while (h = h.parentNode); return b(g) } var a = { aqua: [0, 255, 255], azure: [240, 255, 255], beige: [245, 245, 220], black: [0, 0, 0], blue: [0, 0, 255], brown: [165, 42, 42], cyan: [0, 255, 255], darkblue: [0, 0, 139], darkcyan: [0, 139, 139], darkgrey: [169, 169, 169], darkgreen: [0, 100, 0], darkkhaki: [189, 183, 107], darkmagenta: [139, 0, 139], darkolivegreen: [85, 107, 47], darkorange: [255, 140, 0], darkorchid: [153, 50, 204], darkred: [139, 0, 0], darksalmon: [233, 150, 122], darkviolet: [148, 0, 211], fuchsia: [255, 0, 255], gold: [255, 215, 0], green: [0, 128, 0], indigo: [75, 0, 130], khaki: [240, 230, 140], lightblue: [173, 216, 230], lightcyan: [224, 255, 255], lightgreen: [144, 238, 144], lightgrey: [211, 211, 211], lightpink: [255, 182, 193], lightyellow: [255, 255, 224], lime: [0, 255, 0], magenta: [255, 0, 255], maroon: [128, 0, 0], navy: [0, 0, 128], olive: [128, 128, 0], orange: [255, 165, 0], pink: [255, 192, 203], purple: [128, 0, 128], violet: [128, 0, 128], red: [255, 0, 0], silver: [192, 192, 192], white: [255, 255, 255], yellow: [255, 255, 0], transparent: [255, 255, 255] }; e.easing.jswing = e.easing.swing; e.extend(e.easing, { def: "easeOutQuad", swing: function(g, h, f, j, i) { return e.easing[e.easing.def](g, h, f, j, i) }, easeInQuad: function(g, h, f, j, i) { return j * (h /= i) * h + f }, easeOutQuad: function(g, h, f, j, i) { return -j * (h /= i) * (h - 2) + f }, easeInOutQuad: function(g, h, f, j, i) { if ((h /= i / 2) < 1) { return j / 2 * h * h + f } return -j / 2 * ((--h) * (h - 2) - 1) + f }, easeInCubic: function(g, h, f, j, i) { return j * (h /= i) * h * h + f }, easeOutCubic: function(g, h, f, j, i) { return j * ((h = h / i - 1) * h * h + 1) + f }, easeInOutCubic: function(g, h, f, j, i) { if ((h /= i / 2) < 1) { return j / 2 * h * h * h + f } return j / 2 * ((h -= 2) * h * h + 2) + f }, easeInQuart: function(g, h, f, j, i) { return j * (h /= i) * h * h * h + f }, easeOutQuart: function(g, h, f, j, i) { return -j * ((h = h / i - 1) * h * h * h - 1) + f }, easeInOutQuart: function(g, h, f, j, i) { if ((h /= i / 2) < 1) { return j / 2 * h * h * h * h + f } return -j / 2 * ((h -= 2) * h * h * h - 2) + f }, easeInQuint: function(g, h, f, j, i) { return j * (h /= i) * h * h * h * h + f }, easeOutQuint: function(g, h, f, j, i) { return j * ((h = h / i - 1) * h * h * h * h + 1) + f }, easeInOutQuint: function(g, h, f, j, i) { if ((h /= i / 2) < 1) { return j / 2 * h * h * h * h * h + f } return j / 2 * ((h -= 2) * h * h * h * h + 2) + f }, easeInSine: function(g, h, f, j, i) { return -j * Math.cos(h / i * (Math.PI / 2)) + j + f }, easeOutSine: function(g, h, f, j, i) { return j * Math.sin(h / i * (Math.PI / 2)) + f }, easeInOutSine: function(g, h, f, j, i) { return -j / 2 * (Math.cos(Math.PI * h / i) - 1) + f }, easeInExpo: function(g, h, f, j, i) { return (h == 0) ? f : j * Math.pow(2, 10 * (h / i - 1)) + f }, easeOutExpo: function(g, h, f, j, i) { return (h == i) ? f + j : j * (-Math.pow(2, -10 * h / i) + 1) + f }, easeInOutExpo: function(g, h, f, j, i) { if (h == 0) { return f } if (h == i) { return f + j } if ((h /= i / 2) < 1) { return j / 2 * Math.pow(2, 10 * (h - 1)) + f } return j / 2 * (-Math.pow(2, -10 * --h) + 2) + f }, easeInCirc: function(g, h, f, j, i) { return -j * (Math.sqrt(1 - (h /= i) * h) - 1) + f }, easeOutCirc: function(g, h, f, j, i) { return j * Math.sqrt(1 - (h = h / i - 1) * h) + f }, easeInOutCirc: function(g, h, f, j, i) { if ((h /= i / 2) < 1) { return -j / 2 * (Math.sqrt(1 - h * h) - 1) + f } return j / 2 * (Math.sqrt(1 - (h -= 2) * h) + 1) + f }, easeInElastic: function(g, i, f, m, l) { var j = 1.70158; var k = 0; var h = m; if (i == 0) { return f } if ((i /= l) == 1) { return f + m } if (!k) { k = l * 0.3 } if (h < Math.abs(m)) { h = m; var j = k / 4 } else { var j = k / (2 * Math.PI) * Math.asin(m / h) } return -(h * Math.pow(2, 10 * (i -= 1)) * Math.sin((i * l - j) * (2 * Math.PI) / k)) + f }, easeOutElastic: function(g, i, f, m, l) { var j = 1.70158; var k = 0; var h = m; if (i == 0) { return f } if ((i /= l) == 1) { return f + m } if (!k) { k = l * 0.3 } if (h < Math.abs(m)) { h = m; var j = k / 4 } else { var j = k / (2 * Math.PI) * Math.asin(m / h) } return h * Math.pow(2, -10 * i) * Math.sin((i * l - j) * (2 * Math.PI) / k) + m + f }, easeInOutElastic: function(g, i, f, m, l) { var j = 1.70158; var k = 0; var h = m; if (i == 0) { return f } if ((i /= l / 2) == 2) { return f + m } if (!k) { k = l * (0.3 * 1.5) } if (h < Math.abs(m)) { h = m; var j = k / 4 } else { var j = k / (2 * Math.PI) * Math.asin(m / h) } if (i < 1) { return -0.5 * (h * Math.pow(2, 10 * (i -= 1)) * Math.sin((i * l - j) * (2 * Math.PI) / k)) + f } return h * Math.pow(2, -10 * (i -= 1)) * Math.sin((i * l - j) * (2 * Math.PI) / k) * 0.5 + m + f }, easeInBack: function(g, h, f, k, j, i) { if (i == undefined) { i = 1.70158 } return k * (h /= j) * h * ((i + 1) * h - i) + f }, easeOutBack: function(g, h, f, k, j, i) { if (i == undefined) { i = 1.70158 } return k * ((h = h / j - 1) * h * ((i + 1) * h + i) + 1) + f }, easeInOutBack: function(g, h, f, k, j, i) { if (i == undefined) { i = 1.70158 } if ((h /= j / 2) < 1) { return k / 2 * (h * h * (((i *= (1.525)) + 1) * h - i)) + f } return k / 2 * ((h -= 2) * h * (((i *= (1.525)) + 1) * h + i) + 2) + f }, easeInBounce: function(g, h, f, j, i) { return j - e.easing.easeOutBounce(g, i - h, 0, j, i) + f }, easeOutBounce: function(g, h, f, j, i) { if ((h /= i) < (1 / 2.75)) { return j * (7.5625 * h * h) + f } else { if (h < (2 / 2.75)) { return j * (7.5625 * (h -= (1.5 / 2.75)) * h + 0.75) + f } else { if (h < (2.5 / 2.75)) { return j * (7.5625 * (h -= (2.25 / 2.75)) * h + 0.9375) + f } else { return j * (7.5625 * (h -= (2.625 / 2.75)) * h + 0.984375) + f } } } }, easeInOutBounce: function(g, h, f, j, i) { if (h < i / 2) { return e.easing.easeInBounce(g, h * 2, 0, j, i) * 0.5 + f } return e.easing.easeOutBounce(g, h * 2 - i, 0, j, i) * 0.5 + j * 0.5 + f } }) })(jQuery); (function(a) { a.effects.blind = function(b) { return this.queue(function() { var d = a(this), c = ["position", "top", "left"]; var h = a.effects.setMode(d, b.options.mode || "hide"); var g = b.options.direction || "vertical"; a.effects.save(d, c); d.show(); var j = a.effects.createWrapper(d).css({ overflow: "hidden" }); var e = (g == "vertical") ? "height" : "width"; var i = (g == "vertical") ? j.height() : j.width(); if (h == "show") { j.css(e, 0) } var f = {}; f[e] = h == "show" ? i : 0; j.animate(f, b.duration, b.options.easing, function() { if (h == "hide") { d.hide() } a.effects.restore(d, c); a.effects.removeWrapper(d); if (b.callback) { b.callback.apply(d[0], arguments) } d.dequeue() }) }) } })(jQuery); (function(a) { a.effects.bounce = function(b) { return this.queue(function() { var e = a(this), l = ["position", "top", "left"]; var k = a.effects.setMode(e, b.options.mode || "effect"); var n = b.options.direction || "up"; var c = b.options.distance || 20; var d = b.options.times || 5; var g = b.duration || 250; if (/show|hide/.test(k)) { l.push("opacity") } a.effects.save(e, l); e.show(); a.effects.createWrapper(e); var f = (n == "up" || n == "down") ? "top" : "left"; var p = (n == "up" || n == "left") ? "pos" : "neg"; var c = b.options.distance || (f == "top" ? e.outerHeight({ margin: true }) / 3 : e.outerWidth({ margin: true }) / 3); if (k == "show") { e.css("opacity", 0).css(f, p == "pos" ? -c : c) } if (k == "hide") { c = c / (d * 2) } if (k != "hide") { d-- } if (k == "show") { var h = { opacity: 1 }; h[f] = (p == "pos" ? "+=" : "-=") + c; e.animate(h, g / 2, b.options.easing); c = c / 2; d-- } for (var j = 0; j < d; j++) { var o = {}, m = {}; o[f] = (p == "pos" ? "-=" : "+=") + c; m[f] = (p == "pos" ? "+=" : "-=") + c; e.animate(o, g / 2, b.options.easing).animate(m, g / 2, b.options.easing); c = (k == "hide") ? c * 2 : c / 2 } if (k == "hide") { var h = { opacity: 0 }; h[f] = (p == "pos" ? "-=" : "+=") + c; e.animate(h, g / 2, b.options.easing, function() { e.hide(); a.effects.restore(e, l); a.effects.removeWrapper(e); if (b.callback) { b.callback.apply(this, arguments) } }) } else { var o = {}, m = {}; o[f] = (p == "pos" ? "-=" : "+=") + c; m[f] = (p == "pos" ? "+=" : "-=") + c; e.animate(o, g / 2, b.options.easing).animate(m, g / 2, b.options.easing, function() { a.effects.restore(e, l); a.effects.removeWrapper(e); if (b.callback) { b.callback.apply(this, arguments) } }) } e.queue("fx", function() { e.dequeue() }); e.dequeue() }) } })(jQuery); (function(a) { a.effects.clip = function(b) { return this.queue(function() { var f = a(this), j = ["position", "top", "left", "height", "width"]; var i = a.effects.setMode(f, b.options.mode || "hide"); var k = b.options.direction || "vertical"; a.effects.save(f, j); f.show(); var c = a.effects.createWrapper(f).css({ overflow: "hidden" }); var e = f[0].tagName == "IMG" ? c : f; var g = { size: (k == "vertical") ? "height" : "width", position: (k == "vertical") ? "top" : "left" }; var d = (k == "vertical") ? e.height() : e.width(); if (i == "show") { e.css(g.size, 0); e.css(g.position, d / 2) } var h = {}; h[g.size] = i == "show" ? d : 0; h[g.position] = i == "show" ? 0 : d / 2; e.animate(h, { queue: false, duration: b.duration, easing: b.options.easing, complete: function() { if (i == "hide") { f.hide() } a.effects.restore(f, j); a.effects.removeWrapper(f); if (b.callback) { b.callback.apply(f[0], arguments) } f.dequeue() } }) }) } })(jQuery); (function(a) { a.effects.drop = function(b) { return this.queue(function() { var e = a(this), d = ["position", "top", "left", "opacity"]; var i = a.effects.setMode(e, b.options.mode || "hide"); var h = b.options.direction || "left"; a.effects.save(e, d); e.show(); a.effects.createWrapper(e); var f = (h == "up" || h == "down") ? "top" : "left"; var c = (h == "up" || h == "left") ? "pos" : "neg"; var j = b.options.distance || (f == "top" ? e.outerHeight({ margin: true }) / 2 : e.outerWidth({ margin: true }) / 2); if (i == "show") { e.css("opacity", 0).css(f, c == "pos" ? -j : j) } var g = { opacity: i == "show" ? 1 : 0 }; g[f] = (i == "show" ? (c == "pos" ? "+=" : "-=") : (c == "pos" ? "-=" : "+=")) + j; e.animate(g, { queue: false, duration: b.duration, easing: b.options.easing, complete: function() { if (i == "hide") { e.hide() } a.effects.restore(e, d); a.effects.removeWrapper(e); if (b.callback) { b.callback.apply(this, arguments) } e.dequeue() } }) }) } })(jQuery); (function(a) { a.effects.explode = function(b) { return this.queue(function() { var k = b.options.pieces ? Math.round(Math.sqrt(b.options.pieces)) : 3; var e = b.options.pieces ? Math.round(Math.sqrt(b.options.pieces)) : 3; b.options.mode = b.options.mode == "toggle" ? (a(this).is(":visible") ? "hide" : "show") : b.options.mode; var h = a(this).show().css("visibility", "hidden"); var l = h.offset(); l.top -= parseInt(h.css("marginTop"), 10) || 0; l.left -= parseInt(h.css("marginLeft"), 10) || 0; var g = h.outerWidth(true); var c = h.outerHeight(true); for (var f = 0; f < k; f++) { for (var d = 0; d < e; d++) { h.clone().appendTo("body").wrap("<div></div>").css({ position: "absolute", visibility: "visible", left: -d * (g / e), top: -f * (c / k) }).parent().addClass("ui-effects-explode").css({ position: "absolute", overflow: "hidden", width: g / e, height: c / k, left: l.left + d * (g / e) + (b.options.mode == "show" ? (d - Math.floor(e / 2)) * (g / e) : 0), top: l.top + f * (c / k) + (b.options.mode == "show" ? (f - Math.floor(k / 2)) * (c / k) : 0), opacity: b.options.mode == "show" ? 0 : 1 }).animate({ left: l.left + d * (g / e) + (b.options.mode == "show" ? 0 : (d - Math.floor(e / 2)) * (g / e)), top: l.top + f * (c / k) + (b.options.mode == "show" ? 0 : (f - Math.floor(k / 2)) * (c / k)), opacity: b.options.mode == "show" ? 1 : 0 }, b.duration || 500) } } setTimeout(function() { b.options.mode == "show" ? h.css({ visibility: "visible" }) : h.css({ visibility: "visible" }).hide(); if (b.callback) { b.callback.apply(h[0]) } h.dequeue(); a("div.ui-effects-explode").remove() }, b.duration || 500) }) } })(jQuery); (function(a) { a.effects.fold = function(b) { return this.queue(function() { var e = a(this), k = ["position", "top", "left"]; var h = a.effects.setMode(e, b.options.mode || "hide"); var o = b.options.size || 15; var n = !(!b.options.horizFirst); var g = b.duration ? b.duration / 2 : a.fx.speeds._default / 2; a.effects.save(e, k); e.show(); var d = a.effects.createWrapper(e).css({ overflow: "hidden" }); var i = ((h == "show") != n); var f = i ? ["width", "height"] : ["height", "width"]; var c = i ? [d.width(), d.height()] : [d.height(), d.width()]; var j = /([0-9]+)%/.exec(o); if (j) { o = parseInt(j[1], 10) / 100 * c[h == "hide" ? 0 : 1] } if (h == "show") { d.css(n ? { height: 0, width: o} : { height: o, width: 0 }) } var m = {}, l = {}; m[f[0]] = h == "show" ? c[0] : o; l[f[1]] = h == "show" ? c[1] : 0; d.animate(m, g, b.options.easing).animate(l, g, b.options.easing, function() { if (h == "hide") { e.hide() } a.effects.restore(e, k); a.effects.removeWrapper(e); if (b.callback) { b.callback.apply(e[0], arguments) } e.dequeue() }) }) } })(jQuery); (function(a) { a.effects.highlight = function(b) { return this.queue(function() { var e = a(this), d = ["backgroundImage", "backgroundColor", "opacity"]; var h = a.effects.setMode(e, b.options.mode || "show"); var c = b.options.color || "#ffff99"; var g = e.css("backgroundColor"); a.effects.save(e, d); e.show(); e.css({ backgroundImage: "none", backgroundColor: c }); var f = { backgroundColor: g }; if (h == "hide") { f.opacity = 0 } e.animate(f, { queue: false, duration: b.duration, easing: b.options.easing, complete: function() { if (h == "hide") { e.hide() } a.effects.restore(e, d); if (h == "show" && a.browser.msie) { this.style.removeAttribute("filter") } if (b.callback) { b.callback.apply(this, arguments) } e.dequeue() } }) }) } })(jQuery); (function(a) { a.effects.pulsate = function(b) { return this.queue(function() { var d = a(this); var g = a.effects.setMode(d, b.options.mode || "show"); var f = b.options.times || 5; var e = b.duration ? b.duration / 2 : a.fx.speeds._default / 2; if (g == "hide") { f-- } if (d.is(":hidden")) { d.css("opacity", 0); d.show(); d.animate({ opacity: 1 }, e, b.options.easing); f = f - 2 } for (var c = 0; c < f; c++) { d.animate({ opacity: 0 }, e, b.options.easing).animate({ opacity: 1 }, e, b.options.easing) } if (g == "hide") { d.animate({ opacity: 0 }, e, b.options.easing, function() { d.hide(); if (b.callback) { b.callback.apply(this, arguments) } }) } else { d.animate({ opacity: 0 }, e, b.options.easing).animate({ opacity: 1 }, e, b.options.easing, function() { if (b.callback) { b.callback.apply(this, arguments) } }) } d.queue("fx", function() { d.dequeue() }); d.dequeue() }) } })(jQuery); (function(a) { a.effects.puff = function(b) { return this.queue(function() { var f = a(this); var c = a.extend(true, {}, b.options); var h = a.effects.setMode(f, b.options.mode || "hide"); var g = parseInt(b.options.percent, 10) || 150; c.fade = true; var e = { height: f.height(), width: f.width() }; var d = g / 100; f.from = (h == "hide") ? e : { height: e.height * d, width: e.width * d }; c.from = f.from; c.percent = (h == "hide") ? g : 100; c.mode = h; f.effect("scale", c, b.duration, b.callback); f.dequeue() }) }; a.effects.scale = function(b) { return this.queue(function() { var g = a(this); var d = a.extend(true, {}, b.options); var j = a.effects.setMode(g, b.options.mode || "effect"); var h = parseInt(b.options.percent, 10) || (parseInt(b.options.percent, 10) == 0 ? 0 : (j == "hide" ? 0 : 100)); var i = b.options.direction || "both"; var c = b.options.origin; if (j != "effect") { d.origin = c || ["middle", "center"]; d.restore = true } var f = { height: g.height(), width: g.width() }; g.from = b.options.from || (j == "show" ? { height: 0, width: 0} : f); var e = { y: i != "horizontal" ? (h / 100) : 1, x: i != "vertical" ? (h / 100) : 1 }; g.to = { height: f.height * e.y, width: f.width * e.x }; if (b.options.fade) { if (j == "show") { g.from.opacity = 0; g.to.opacity = 1 } if (j == "hide") { g.from.opacity = 1; g.to.opacity = 0 } } d.from = g.from; d.to = g.to; d.mode = j; g.effect("size", d, b.duration, b.callback); g.dequeue() }) }; a.effects.size = function(b) { return this.queue(function() { var c = a(this), n = ["position", "top", "left", "width", "height", "overflow", "opacity"]; var m = ["position", "top", "left", "overflow", "opacity"]; var j = ["width", "height", "overflow"]; var p = ["fontSize"]; var k = ["borderTopWidth", "borderBottomWidth", "paddingTop", "paddingBottom"]; var f = ["borderLeftWidth", "borderRightWidth", "paddingLeft", "paddingRight"]; var g = a.effects.setMode(c, b.options.mode || "effect"); var i = b.options.restore || false; var e = b.options.scale || "both"; var o = b.options.origin; var d = { height: c.height(), width: c.width() }; c.from = b.options.from || d; c.to = b.options.to || d; if (o) { var h = a.effects.getBaseline(o, d); c.from.top = (d.height - c.from.height) * h.y; c.from.left = (d.width - c.from.width) * h.x; c.to.top = (d.height - c.to.height) * h.y; c.to.left = (d.width - c.to.width) * h.x } var l = { from: { y: c.from.height / d.height, x: c.from.width / d.width }, to: { y: c.to.height / d.height, x: c.to.width / d.width} }; if (e == "box" || e == "both") { if (l.from.y != l.to.y) { n = n.concat(k); c.from = a.effects.setTransition(c, k, l.from.y, c.from); c.to = a.effects.setTransition(c, k, l.to.y, c.to) } if (l.from.x != l.to.x) { n = n.concat(f); c.from = a.effects.setTransition(c, f, l.from.x, c.from); c.to = a.effects.setTransition(c, f, l.to.x, c.to) } } if (e == "content" || e == "both") { if (l.from.y != l.to.y) { n = n.concat(p); c.from = a.effects.setTransition(c, p, l.from.y, c.from); c.to = a.effects.setTransition(c, p, l.to.y, c.to) } } a.effects.save(c, i ? n : m); c.show(); a.effects.createWrapper(c); c.css("overflow", "hidden").css(c.from); if (e == "content" || e == "both") { k = k.concat(["marginTop", "marginBottom"]).concat(p); f = f.concat(["marginLeft", "marginRight"]); j = n.concat(k).concat(f); c.find("*[width]").each(function() { child = a(this); if (i) { a.effects.save(child, j) } var q = { height: child.height(), width: child.width() }; child.from = { height: q.height * l.from.y, width: q.width * l.from.x }; child.to = { height: q.height * l.to.y, width: q.width * l.to.x }; if (l.from.y != l.to.y) { child.from = a.effects.setTransition(child, k, l.from.y, child.from); child.to = a.effects.setTransition(child, k, l.to.y, child.to) } if (l.from.x != l.to.x) { child.from = a.effects.setTransition(child, f, l.from.x, child.from); child.to = a.effects.setTransition(child, f, l.to.x, child.to) } child.css(child.from); child.animate(child.to, b.duration, b.options.easing, function() { if (i) { a.effects.restore(child, j) } }) }) } c.animate(c.to, { queue: false, duration: b.duration, easing: b.options.easing, complete: function() { if (g == "hide") { c.hide() } a.effects.restore(c, i ? n : m); a.effects.removeWrapper(c); if (b.callback) { b.callback.apply(this, arguments) } c.dequeue() } }) }) } })(jQuery); (function(a) { a.effects.shake = function(b) { return this.queue(function() { var e = a(this), l = ["position", "top", "left"]; var k = a.effects.setMode(e, b.options.mode || "effect"); var n = b.options.direction || "left"; var c = b.options.distance || 20; var d = b.options.times || 3; var g = b.duration || b.options.duration || 140; a.effects.save(e, l); e.show(); a.effects.createWrapper(e); var f = (n == "up" || n == "down") ? "top" : "left"; var p = (n == "up" || n == "left") ? "pos" : "neg"; var h = {}, o = {}, m = {}; h[f] = (p == "pos" ? "-=" : "+=") + c; o[f] = (p == "pos" ? "+=" : "-=") + c * 2; m[f] = (p == "pos" ? "-=" : "+=") + c * 2; e.animate(h, g, b.options.easing); for (var j = 1; j < d; j++) { e.animate(o, g, b.options.easing).animate(m, g, b.options.easing) } e.animate(o, g, b.options.easing).animate(h, g / 2, b.options.easing, function() { a.effects.restore(e, l); a.effects.removeWrapper(e); if (b.callback) { b.callback.apply(this, arguments) } }); e.queue("fx", function() { e.dequeue() }); e.dequeue() }) } })(jQuery); (function(a) { a.effects.slide = function(b) { return this.queue(function() { var e = a(this), d = ["position", "top", "left"]; var i = a.effects.setMode(e, b.options.mode || "show"); var h = b.options.direction || "left"; a.effects.save(e, d); e.show(); a.effects.createWrapper(e).css({ overflow: "hidden" }); var f = (h == "up" || h == "down") ? "top" : "left"; var c = (h == "up" || h == "left") ? "pos" : "neg"; var j = b.options.distance || (f == "top" ? e.outerHeight({ margin: true }) : e.outerWidth({ margin: true })); if (i == "show") { e.css(f, c == "pos" ? -j : j) } var g = {}; g[f] = (i == "show" ? (c == "pos" ? "+=" : "-=") : (c == "pos" ? "-=" : "+=")) + j; e.animate(g, { queue: false, duration: b.duration, easing: b.options.easing, complete: function() { if (i == "hide") { e.hide() } a.effects.restore(e, d); a.effects.removeWrapper(e); if (b.callback) { b.callback.apply(this, arguments) } e.dequeue() } }) }) } })(jQuery); (function(a) { a.effects.transfer = function(b) { return this.queue(function() { var f = a(this), h = a(b.options.to), e = h.offset(), g = { top: e.top, left: e.left, height: h.innerHeight(), width: h.innerWidth() }, d = f.offset(), c = a('<div class="ui-effects-transfer"></div>').appendTo(document.body).addClass(b.options.className).css({ top: d.top, left: d.left, height: f.innerHeight(), width: f.innerWidth(), position: "absolute" }).animate(g, b.duration, b.options.easing, function() { c.remove(); (b.callback && b.callback.apply(f[0], arguments)); f.dequeue() }) }) } })(jQuery); var $j = jQuery.noConflict(); (function(a) { a.fn.hoverIntent = function(k, j) { var l = { sensitivity: 7, interval: 100, timeout: 0 }; l = a.extend(l, j ? { over: k, out: j} : k); var n, m, h, d; var e = function(f) { n = f.pageX; m = f.pageY }; var c = function(g, f) { f.hoverIntent_t = clearTimeout(f.hoverIntent_t); if ((Math.abs(h - n) + Math.abs(d - m)) < l.sensitivity) { a(f).unbind("mousemove", e); f.hoverIntent_s = 1; return l.over.apply(f, [g]) } else { h = n; d = m; f.hoverIntent_t = setTimeout(function() { c(g, f) }, l.interval) } }; var i = function(g, f) { f.hoverIntent_t = clearTimeout(f.hoverIntent_t); f.hoverIntent_s = 0; return l.out.apply(f, [g]) }; var b = function(q) { var o = (q.type == "mouseover" ? q.fromElement : q.toElement) || q.relatedTarget; while (o && o != this) { try { o = o.parentNode } catch (q) { o = this } } if (o == this) { return false } var g = jQuery.extend({}, q); var f = this; if (f.hoverIntent_t) { f.hoverIntent_t = clearTimeout(f.hoverIntent_t) } if (q.type == "mouseover") { h = g.pageX; d = g.pageY; a(f).bind("mousemove", e); if (f.hoverIntent_s != 1) { f.hoverIntent_t = setTimeout(function() { c(g, f) }, l.interval) } } else { a(f).unbind("mousemove", e); if (f.hoverIntent_s == 1) { f.hoverIntent_t = setTimeout(function() { i(g, f) }, l.timeout) } } }; return this.mouseover(b).mouseout(b) } })(jQuery);

/* hoverIntent r5 */
(function($j) { $j.fn.hoverIntent = function(f, g) { var cfg = { sensitivity: 7, interval: 100, timeout: 0 }; cfg = $j.extend(cfg, g ? { over: f, out: g} : f); var cX, cY, pX, pY; var track = function(ev) { cX = ev.pageX; cY = ev.pageY; }; var compare = function(ev, ob) { ob.hoverIntent_t = clearTimeout(ob.hoverIntent_t); if ((Math.abs(pX - cX) + Math.abs(pY - cY)) < cfg.sensitivity) { $j(ob).unbind("mousemove", track); ob.hoverIntent_s = 1; return cfg.over.apply(ob, [ev]); } else { pX = cX; pY = cY; ob.hoverIntent_t = setTimeout(function() { compare(ev, ob); }, cfg.interval); } }; var delay = function(ev, ob) { ob.hoverIntent_t = clearTimeout(ob.hoverIntent_t); ob.hoverIntent_s = 0; return cfg.out.apply(ob, [ev]); }; var handleHover = function(e) { var p = (e.type == "mouseover" ? e.fromElement : e.toElement) || e.relatedTarget; while (p && p != this) { try { p = p.parentNode; } catch (e) { p = this; } } if (p == this) { return false; } var ev = jQuery.extend({}, e); var ob = this; if (ob.hoverIntent_t) { ob.hoverIntent_t = clearTimeout(ob.hoverIntent_t); } if (e.type == "mouseover") { pX = ev.pageX; pY = ev.pageY; $j(ob).bind("mousemove", track); if (ob.hoverIntent_s != 1) { ob.hoverIntent_t = setTimeout(function() { compare(ev, ob); }, cfg.interval); } } else { $j(ob).unbind("mousemove", track); if (ob.hoverIntent_s == 1) { ob.hoverIntent_t = setTimeout(function() { delay(ev, ob); }, cfg.timeout); } } }; return this.mouseover(handleHover).mouseout(handleHover); }; })(jQuery);

/* jQuery Callout 0.1*/
(function(a) { a.fn.callout = function(f) { f = a.extend({ orient: "above", align: "left", text: "", arrowHeight: 10, nudgeHorizontal: 0, nudgeVertical: 0, arrowInset: 20, cornerRadius: 3, region: undefined }, f || {}); f.target = a(this).filter(":first"); if (f.target.length === 0 || f.target.data("__callout") != null) { return } var g = f.content ? a(f.content).html() : (f.text || ""); var e = a("<div/>").css({ position: "absolute", visibility: "hidden" }).attr("class", f.className).html(g).prependTo("body"); if (f.cornerRadius > 0) { a.each(["top", "left", "bottom", "right"], function(m, n) { e.css("padding-" + n, Math.max(e.pixels("padding-" + n), f.cornerRadius)) }) } f = a.extend(f, { borderColor: a(e).css("border-top-color"), borderWidth: a(e).pixels("border-top-width"), backColor: a(e).css("background-color"), zIndex: parseInt(a(e).css("z-index"), 0), paddingTop: e.pixels("padding-top"), paddingBottom: e.pixels("padding-bottom"), paddingLeft: e.pixels("padding-left"), paddingRight: e.pixels("padding-right") }); e.width(f.width - e.pixels("padding-left") - e.pixels("padding-right") - 2 * f.borderWidth); if (f.zIndex === 0 || isNaN(f.zIndex)) { f.zIndex = 9999 } f.mainHeight = e.height() + f.paddingTop + f.paddingBottom + 2 * f.borderWidth; f.height = f.mainHeight + f.arrowHeight + f.borderWidth; if ((a.browser.msie || a.browser.chrome) && f.cornerRadius > 0) { f.paddingTop -= (f.cornerRadius - f.borderWidth); f.paddingBottom -= (f.cornerRadius - f.borderWidth) } a(e).remove(); var d = a("<div />").attr("id", a(this).attr("id") + "_callout").css({ position: "absolute", display: "none", "z-index": f.zIndex, "background-color": f.region ? a(f.region).css("background-color") : "transparent" }).prependTo(f.region ? f.region : "body"); var h = a("<div />").attr("id", "mainBox").css({ position: "absolute", "background-color": f.borderWidth > 0 ? f.borderColor : "transparent", "z-index": f.zIndex }).width(f.width).appendTo(d); var j = a("<div/>").attr("id", "contentBox").css({ position: "absolute", "background-color": f.backColor, "margin-left": f.borderWidth + "px", "margin-top": f.borderWidth + "px", "z-index": f.zIndex }).width(f.width - 2 * f.borderWidth).appendTo(h); var c = a("<div/>").attr("class", f.className).css({ border: "none", width: "auto", "margin-top": f.paddingTop + "px", "margin-bottom": f.paddingBottom + "px", "margin-left": f.paddingLeft + "px", "margin-right": f.paddingRight + "px", overflow: "hidden", padding: "0 0 0 0" }).html(g).appendTo(j); if (!a.browser.msie && !a.browser.chrome) { c.height(f.mainHeight - 2 * f.borderWidth - f.paddingTop - f.paddingBottom) } f.targetOffset = f.target.offset(); if (f.align.toLowerCase() == "right") { f.arrowLeft = f.width - f.arrowHeight - f.arrowInset - f.paddingRight; f.offsetLeft = f.targetOffset.left + f.nudgeHorizontal + f.target.width() - f.width } else { f.arrowLeft = f.arrowInset; f.offsetLeft = f.targetOffset.left + f.nudgeHorizontal } var k = a("<div />").css({ position: "absolute", width: "0px", height: "0px", left: "0px", top: "0px", "border-left-style": "dotted", "border-left-color": "transparent", "border-right-style": "dotted", "border-right-color": "transparent", "margin-left": f.arrowLeft + "px", "z-index": f.zIndex + 2, "border-width": (2 * f.borderWidth + f.arrowHeight) + "px" }); var l = a("<div />").css({ position: "relative", left: -1 * f.arrowHeight + "px", height: "0px", width: "0px", "border-width": f.arrowHeight + "px", "border-left-style": "dotted", "border-right-style": "dotted", "border-left-color": "transparent", "border-right-color": "transparent", "z-index": f.zIndex + 1 }).appendTo(k); if (f.orient.toLowerCase() == "below") { a(k).css({ "border-top": "none", "border-bottom": "solid " + (f.arrowHeight + 2 * f.borderWidth) + "px " + f.borderColor, top: "0px" }).prependTo(h); a(l).css({ "border-top-style": "none", top: 2 * f.borderWidth + "px", "border-bottom": f.arrowHeight + "px solid " + f.backColor }); j.css("top", f.arrowHeight + f.borderWidth); f.offsetTop = f.targetOffset.top + f.target.height() + f.nudgeVertical } else { a(k).css({ "border-bottom": "none", "border-top-style": "solid", "border-top-width": (f.arrowHeight + 2 * f.borderWidth) + "px", "border-top-color": f.borderColor, top: f.mainHeight - f.borderWidth + "px" }).appendTo(h); a(l).css({ "border-bottom-style": "none", top: -1 * (2 * f.borderWidth + f.arrowHeight) + "px", "border-top": f.arrowHeight + "px solid " + f.backColor }); f.offsetTop = f.targetOffset.top - (f.mainHeight + f.arrowHeight) + f.nudgeVertical } if (f.borderWidth > 0) { var b = a("<div />").width(f.width).css({ position: "absolute", display: "none", "z-index": f.zIndex - 1, "background-color": f.borderColor, left: f.offsetLeft + "px", top: f.offsetTop + (f.orient == "below" ? f.arrowHeight + f.borderWidth : 0) + "px" }).prependTo(f.region ? f.region : "body"); var i = f.mainHeight; if (a.browser.msie || a.browser.chrome) { i -= (2 * f.cornerRadius) } b.append(a("<div />").height(i)) } a(d).css({ left: f.offsetLeft + "px", top: f.offsetTop + "px" }); if (f.cornerRadius > 0) { if (b) { b.corners(f.cornerRadius + "px"); a(j).corners(f.cornerRadius - f.borderWidth + "px"); f.borderBox = b } else { a(j).corners(f.cornerRadius + "px") } } if (typeof (f.showCallback) == "function") { f.showCallback.apply(d, [f]) } else { d.show(); if (b) { b.show() } } f.target.data("__callout", [d, b]); return this }; a.browser.chrome = navigator.userAgent.toLowerCase().indexOf("chrome") > -1; a.fn.pixels = function(c) { var d = a(this).css(c); var b = d.indexOf("px"); if (b == -1) { return 0 } return parseFloat(d.substr(0, b)) }; a.fn.closeCallout = function() { return a(this).each(function() { var b = a(this).data("__callout"); if (b == null) { return } a.each(b, function() { a(this).remove() }); a(this).data("__callout", null) }) } })(jQuery);

/* jQuery Corners 0.3 */
jQuery.fn.corners = function(c) { var o = "rounded_by_jQuery_corners"; var x = b(c); var f = false; try { f = (document.body.style.WebkitBorderRadius !== undefined); var A = navigator.userAgent.indexOf("Chrome"); if (A >= 0) { f = false } } catch (e) { } var y = false; try { y = (document.body.style.MozBorderRadius !== undefined); var A = navigator.userAgent.indexOf("Firefox"); if (A >= 0 && parseInt(navigator.userAgent.substring(A + 8)) < 3) { y = false } } catch (e) { } return this.each(function(D, H) { $e = jQuery(H); if ($e.hasClass(o)) { return } $e.addClass(o); var C = /{(.*)}/.exec(H.className); var E = C ? b(C[1], x) : x; var I = H.nodeName.toLowerCase(); if (I == "input") { H = p(H) } if (f && E.webkit) { l(H, E) } else { if (y && E.mozilla && (E.sizex == E.sizey)) { n(H, E) } else { var F = d(H.parentNode); var G = d(H); switch (I) { case "a": case "input": B(H, E, F, G); break; default: t(H, E, F, G); break } } } }); function l(F, E) { var C = "" + E.sizex + "px " + E.sizey + "px"; var D = jQuery(F); if (E.tl) { D.css("WebkitBorderTopLeftRadius", C) } if (E.tr) { D.css("WebkitBorderTopRightRadius", C) } if (E.bl) { D.css("WebkitBorderBottomLeftRadius", C) } if (E.br) { D.css("WebkitBorderBottomRightRadius", C) } } function n(F, E) { var C = "" + E.sizex + "px"; var D = jQuery(F); if (E.tl) { D.css("-moz-border-radius-topleft", C) } if (E.tr) { D.css("-moz-border-radius-topright", C) } if (E.bl) { D.css("-moz-border-radius-bottomleft", C) } if (E.br) { D.css("-moz-border-radius-bottomright", C) } } function B(K, N, L, C) { var M = u("table"); var I = u("tbody"); M.appendChild(I); var J = u("tr"); var F = u("td", "top"); J.appendChild(F); var H = u("tr"); var E = v(K, N, u("td")); H.appendChild(E); var G = u("tr"); var D = u("td", "bottom"); G.appendChild(D); if (N.tl || N.tr) { I.appendChild(J); z(F, N, L, C, true) } I.appendChild(H); if (N.bl || N.br) { I.appendChild(G); z(D, N, L, C, false) } K.appendChild(M); if (jQuery.browser.msie) { M.onclick = s } K.style.overflow = "hidden" } function s() { if (!this.parentNode.onclick) { this.parentNode.click() } } function p(E) { var D = document.createElement("a"); D.id = E.id; D.className = E.className; if (E.onclick) { D.href = "javascript:"; D.onclick = E.onclick } else { jQuery(E).parent("form").each(function() { D.href = this.action }); D.onclick = j } var C = document.createTextNode(E.value); D.appendChild(C); E.parentNode.replaceChild(D, E); return D } function j() { jQuery(this).parent("form").each(function() { this.submit() }); return false } function t(F, C, D, E) { var G = v(F, C, document.createElement("div")); F.appendChild(G); if (C.tl || C.tr) { z(F, C, D, E, true) } if (C.bl || C.br) { z(F, C, D, E, false) } } function v(G, F, H) { var D = jQuery(G); var I; while (I = G.firstChild) { H.appendChild(I) } if (G.style.height) { var E = parseInt(D.css("height")); H.style.height = E + "px"; E += parseInt(D.css("padding-top")) + parseInt(D.css("padding-bottom")); G.style.height = E + "px" } if (G.style.width) { var C = parseInt(D.css("width")); H.style.width = C + "px"; C += parseInt(D.css("padding-left")) + parseInt(D.css("padding-right")); G.style.width = C + "px" } H.style.paddingLeft = D.css("padding-left"); H.style.paddingRight = D.css("padding-right"); if (F.tl || F.tr) { H.style.paddingTop = w(G, F, D.css("padding-top"), true) } else { H.style.paddingTop = D.css("padding-top") } if (F.bl || F.br) { H.style.paddingBottom = w(G, F, D.css("padding-bottom"), false) } else { H.style.paddingBottom = D.css("padding-bottom") } G.style.padding = 0; return H } function w(G, C, F, E) { if (F.indexOf("px") < 0) { try { console.error("%s padding not in pixels", (E ? "top" : "bottom"), G) } catch (D) { } F = C.sizey + "px" } F = parseInt(F); if (F - C.sizey < 0) { try { console.error("%s padding is %ipx for %ipx corner:", (E ? "top" : "bottom"), F, C.sizey, G) } catch (D) { } F = C.sizey } return F - C.sizey + "px" } function u(D, C) { var E = document.createElement(D); E.style.border = "none"; E.style.borderCollapse = "collapse"; E.style.borderSpacing = 0; E.style.padding = 0; E.style.margin = 0; if (C) { E.style.verticalAlign = C } return E } function d(D) { try { var E = jQuery.css(D, "background-color"); if (E.match(/^(transparent|rgba\(0,\s*0,\s*0,\s*0\))$/i) && D.parentNode) { return d(D.parentNode) } if (E == null) { return "#ffffff" } if (E.indexOf("rgb") > -1) { E = a(E) } if (E.length == 4) { E = m(E) } return E } catch (C) { return "#ffffff" } } function m(C) { return "#" + C.substring(1, 2) + C.substring(1, 2) + C.substring(2, 3) + C.substring(2, 3) + C.substring(3, 4) + C.substring(3, 4) } function a(H) { var C = 255; var E = ""; var D; var F = /([0-9]+)[, ]+([0-9]+)[, ]+([0-9]+)/; var G = F.exec(H); for (D = 1; D < 4; D++) { E += ("0" + parseInt(G[D]).toString(16)).slice(-2) } return "#" + E } function b(D, F) { var D = D || ""; var E = { sizex: 5, sizey: 5, tl: false, tr: false, bl: false, br: false, webkit: true, mozilla: true, transparent: false }; if (F) { E.sizex = F.sizex; E.sizey = F.sizey; E.webkit = F.webkit; E.transparent = F.transparent; E.mozilla = F.mozilla } var C = false; var G = false; jQuery.each(D.split(" "), function(H, J) { J = J.toLowerCase(); var I = parseInt(J); if (I > 0 && J == I + "px") { E.sizey = I; if (!C) { E.sizex = I } C = true } else { switch (J) { case "no-native": E.webkit = E.mozilla = false; break; case "webkit": E.webkit = true; break; case "no-webkit": E.webkit = false; break; case "mozilla": E.mozilla = true; break; case "no-mozilla": E.mozilla = false; break; case "anti-alias": E.transparent = false; break; case "transparent": E.transparent = true; break; case "top": G = E.tl = E.tr = true; break; case "right": G = E.tr = E.br = true; break; case "bottom": G = E.bl = E.br = true; break; case "left": G = E.tl = E.bl = true; break; case "top-left": G = E.tl = true; break; case "top-right": G = E.tr = true; break; case "bottom-left": G = E.bl = true; break; case "bottom-right": G = E.br = true; break } } }); if (!G) { if (!F) { E.tl = E.tr = E.bl = E.br = true } else { E.tl = F.tl; E.tr = F.tr; E.bl = F.bl; E.br = F.br } } return E } function q(F, D, G) { var E = Array(parseInt("0x" + F.substring(1, 3)), parseInt("0x" + F.substring(3, 5)), parseInt("0x" + F.substring(5, 7))); var C = Array(parseInt("0x" + D.substring(1, 3)), parseInt("0x" + D.substring(3, 5)), parseInt("0x" + D.substring(5, 7))); r = "0" + Math.round(E[0] + (C[0] - E[0]) * G).toString(16); g = "0" + Math.round(E[1] + (C[1] - E[1]) * G).toString(16); D = "0" + Math.round(E[2] + (C[2] - E[2]) * G).toString(16); return "#" + r.substring(r.length - 2) + g.substring(g.length - 2) + D.substring(D.length - 2) } function z(G, C, D, F, E) { if (C.transparent) { h(G, C, D, E) } else { k(G, C, D, F, E) } } function k(H, S, M, C, K) { var G, F; var I = document.createElement("div"); I.style.fontSize = "1px"; I.style.backgroundColor = M; var D = 0; for (G = 1; G <= S.sizey; G++) { var P, O, N; arc = Math.sqrt(1 - Math.pow(1 - G / S.sizey, 2)) * S.sizex; var E = S.sizex - Math.ceil(arc); var R = Math.floor(D); var Q = S.sizex - E - R; var L = document.createElement("div"); var J = I; L.style.margin = "0px " + E + "px"; L.style.height = "1px"; L.style.overflow = "hidden"; for (F = 1; F <= Q; F++) { if (F == 1) { if (F == Q) { P = ((arc + D) * 0.5) - R } else { O = Math.sqrt(1 - Math.pow(1 - (E + 1) / S.sizex, 2)) * S.sizey; P = (O - (S.sizey - G)) * (arc - R - Q + 1) * 0.5 } } else { if (F == Q) { O = Math.sqrt(1 - Math.pow((S.sizex - E - F + 1) / S.sizex, 2)) * S.sizey; P = 1 - (1 - (O - (S.sizey - G))) * (1 - (D - R)) * 0.5 } else { N = Math.sqrt(1 - Math.pow((S.sizex - E - F) / S.sizex, 2)) * S.sizey; O = Math.sqrt(1 - Math.pow((S.sizex - E - F + 1) / S.sizex, 2)) * S.sizey; P = ((O + N) * 0.5) - (S.sizey - G) } } i(S, L, J, K, q(M, C, P)); J = L; var L = J.cloneNode(false); L.style.margin = "0px 1px" } i(S, L, J, K, C); D = arc } if (K) { H.insertBefore(I, H.firstChild) } else { H.appendChild(I) } } function i(E, C, G, F, D) { if (F && !E.tl) { C.style.marginLeft = 0 } if (F && !E.tr) { C.style.marginRight = 0 } if (!F && !E.bl) { C.style.marginLeft = 0 } if (!F && !E.br) { C.style.marginRight = 0 } C.style.backgroundColor = D; if (F) { G.appendChild(C) } else { G.insertBefore(C, G.firstChild) } } function h(E, M, J, G) { var F = document.createElement("div"); F.style.fontSize = "1px"; var C = document.createElement("div"); C.style.overflow = "hidden"; C.style.height = "1px"; C.style.borderColor = J; C.style.borderStyle = "none solid"; var K = M.sizex - 1; var H = M.sizey - 1; if (!H) { H = 1 } for (var D = 0; D < M.sizey; D++) { var L = K - Math.floor(Math.sqrt(1 - Math.pow(1 - D / H, 2)) * K); if (D == 2 && M.sizex == 6 && M.sizey == 6) { L = 2 } var I = C.cloneNode(false); I.style.borderWidth = "0 " + L + "px"; if (G) { I.style.borderWidth = "0 " + (M.tr ? L : 0) + "px 0 " + (M.tl ? L : 0) + "px" } else { I.style.borderWidth = "0 " + (M.br ? L : 0) + "px 0 " + (M.bl ? L : 0) + "px" } G ? F.appendChild(I) : F.insertBefore(I, F.firstChild) } if (G) { E.insertBefore(F, E.firstChild) } else { E.appendChild(F) } } };

/* jQuery Cycle Plugin 2.86 */
(function(i) { var l = "2.86"; if (i.support == undefined) { i.support = { opacity: !(i.browser.msie)} } function a(r) { if (i.fn.cycle.debug) { f(r) } } function f() { if (window.console && window.console.log) { window.console.log("[cycle] " + Array.prototype.join.call(arguments, " ")) } } i.fn.cycle = function(s, r) { var t = { s: this.selector, c: this.context }; if (this.length === 0 && s != "stop") { if (!i.isReady && t.s) { f("DOM not ready, queuing slideshow"); i(function() { i(t.s, t.c).cycle(s, r) }); return this } f("terminating; zero elements found by selector" + (i.isReady ? "" : " (DOM not ready)")); return this } return this.each(function() { var x = m(this, s, r); if (x === false) { return } x.updateActivePagerLink = x.updateActivePagerLink || i.fn.cycle.updateActivePagerLink; if (this.cycleTimeout) { clearTimeout(this.cycleTimeout) } this.cycleTimeout = this.cyclePause = 0; var y = i(this); var z = x.slideExpr ? i(x.slideExpr, this) : y.children(); var v = z.get(); if (v.length < 2) { f("terminating; too few slides: " + v.length); return } var u = k(y, z, v, x, t); if (u === false) { return } var w = u.continuous ? 10 : h(u.currSlide, u.nextSlide, u, !u.rev); if (w) { w += (u.delay || 0); if (w < 10) { w = 10 } a("first timeout: " + w); this.cycleTimeout = setTimeout(function() { e(v, u, 0, !u.rev) }, w) } }) }; function m(r, u, s) { if (r.cycleStop == undefined) { r.cycleStop = 0 } if (u === undefined || u === null) { u = {} } if (u.constructor == String) { switch (u) { case "destroy": case "stop": var w = i(r).data("cycle.opts"); if (!w) { return false } r.cycleStop++; if (r.cycleTimeout) { clearTimeout(r.cycleTimeout) } r.cycleTimeout = 0; i(r).removeData("cycle.opts"); if (u == "destroy") { q(w) } return false; case "toggle": r.cyclePause = (r.cyclePause === 1) ? 0 : 1; v(r.cyclePause, s, r); return false; case "pause": r.cyclePause = 1; return false; case "resume": r.cyclePause = 0; v(false, s, r); return false; case "prev": case "next": var w = i(r).data("cycle.opts"); if (!w) { f('options not found, "prev/next" ignored'); return false } i.fn.cycle[u](w); return false; default: u = { fx: u} } return u } else { if (u.constructor == Number) { var t = u; u = i(r).data("cycle.opts"); if (!u) { f("options not found, can not advance slide"); return false } if (t < 0 || t >= u.elements.length) { f("invalid slide index: " + t); return false } u.nextSlide = t; if (r.cycleTimeout) { clearTimeout(r.cycleTimeout); r.cycleTimeout = 0 } if (typeof s == "string") { u.oneTimeFx = s } e(u.elements, u, 1, t >= u.currSlide); return false } } return u; function v(y, z, x) { if (!y && z === true) { var A = i(x).data("cycle.opts"); if (!A) { f("options not found, can not resume"); return false } if (x.cycleTimeout) { clearTimeout(x.cycleTimeout); x.cycleTimeout = 0 } e(A.elements, A, 1, 1) } } } function b(r, s) { if (!i.support.opacity && s.cleartype && r.style.filter) { try { r.style.removeAttribute("filter") } catch (t) { } } } function q(r) { if (r.next) { i(r.next).unbind(r.prevNextEvent) } if (r.prev) { i(r.prev).unbind(r.prevNextEvent) } if (r.pager || r.pagerAnchorBuilder) { i.each(r.pagerAnchors || [], function() { this.unbind().remove() }) } r.pagerAnchors = null; if (r.destroy) { r.destroy(r) } } function k(z, L, v, u, F) { var D = i.extend({}, i.fn.cycle.defaults, u || {}, i.metadata ? z.metadata() : i.meta ? z.data() : {}); if (D.autostop) { D.countdown = D.autostopCount || v.length } var s = z[0]; z.data("cycle.opts", D); D.$cont = z; D.stopCount = s.cycleStop; D.elements = v; D.before = D.before ? [D.before] : []; D.after = D.after ? [D.after] : []; D.after.unshift(function() { D.busy = 0 }); if (!i.support.opacity && D.cleartype) { D.after.push(function() { b(this, D) }) } if (D.continuous) { D.after.push(function() { e(v, D, 0, !D.rev) }) } n(D); if (!i.support.opacity && D.cleartype && !D.cleartypeNoBg) { g(L) } if (z.css("position") == "static") { z.css("position", "relative") } if (D.width) { z.width(D.width) } if (D.height && D.height != "auto") { z.height(D.height) } if (D.startingSlide) { D.startingSlide = parseInt(D.startingSlide) } if (D.random) { D.randomMap = []; for (var J = 0; J < v.length; J++) { D.randomMap.push(J) } D.randomMap.sort(function(N, w) { return Math.random() - 0.5 }); D.randomIndex = 1; D.startingSlide = D.randomMap[1] } else { if (D.startingSlide >= v.length) { D.startingSlide = 0 } } D.currSlide = D.startingSlide || 0; var y = D.startingSlide; L.css({ position: "absolute", top: 0, left: 0 }).hide().each(function(w) { var N = y ? w >= y ? v.length - (w - y) : y - w : v.length - w; i(this).css("z-index", N) }); i(v[y]).css("opacity", 1).show(); b(v[y], D); if (D.fit && D.width) { L.width(D.width) } if (D.fit && D.height && D.height != "auto") { L.height(D.height) } var E = D.containerResize && !z.innerHeight(); if (E) { var x = 0, C = 0; for (var H = 0; H < v.length; H++) { var r = i(v[H]), M = r[0], B = r.outerWidth(), K = r.outerHeight(); if (!B) { B = M.offsetWidth || M.width || r.attr("width") } if (!K) { K = M.offsetHeight || M.height || r.attr("height") } x = B > x ? B : x; C = K > C ? K : C } if (x > 0 && C > 0) { z.css({ width: x + "px", height: C + "px" }) } } if (D.pause) { z.hover(function() { this.cyclePause++ }, function() { this.cyclePause-- }) } if (c(D) === false) { return false } var t = false; u.requeueAttempts = u.requeueAttempts || 0; L.each(function() { var P = i(this); this.cycleH = (D.fit && D.height) ? D.height : (P.height() || this.offsetHeight || this.height || P.attr("height") || 0); this.cycleW = (D.fit && D.width) ? D.width : (P.width() || this.offsetWidth || this.width || P.attr("width") || 0); if (P.is("img")) { var N = (i.browser.msie && this.cycleW == 28 && this.cycleH == 30 && !this.complete); var Q = (i.browser.mozilla && this.cycleW == 34 && this.cycleH == 19 && !this.complete); var O = (i.browser.opera && ((this.cycleW == 42 && this.cycleH == 19) || (this.cycleW == 37 && this.cycleH == 17)) && !this.complete); var w = (this.cycleH == 0 && this.cycleW == 0 && !this.complete); if (N || Q || O || w) { if (F.s && D.requeueOnImageNotLoaded && ++u.requeueAttempts < 100) { f(u.requeueAttempts, " - img slide not loaded, requeuing slideshow: ", this.src, this.cycleW, this.cycleH); setTimeout(function() { i(F.s, F.c).cycle(u) }, D.requeueTimeout); t = true; return false } else { f("could not determine size of image: " + this.src, this.cycleW, this.cycleH) } } } return true }); if (t) { return false } D.cssBefore = D.cssBefore || {}; D.animIn = D.animIn || {}; D.animOut = D.animOut || {}; L.not(":eq(" + y + ")").css(D.cssBefore); if (D.cssFirst) { i(L[y]).css(D.cssFirst) } if (D.timeout) { D.timeout = parseInt(D.timeout); if (D.speed.constructor == String) { D.speed = i.fx.speeds[D.speed] || parseInt(D.speed) } if (!D.sync) { D.speed = D.speed / 2 } var G = D.fx == "shuffle" ? 500 : 250; while ((D.timeout - D.speed) < G) { D.timeout += D.speed } } if (D.easing) { D.easeIn = D.easeOut = D.easing } if (!D.speedIn) { D.speedIn = D.speed } if (!D.speedOut) { D.speedOut = D.speed } D.slideCount = v.length; D.currSlide = D.lastSlide = y; if (D.random) { if (++D.randomIndex == v.length) { D.randomIndex = 0 } D.nextSlide = D.randomMap[D.randomIndex] } else { D.nextSlide = D.startingSlide >= (v.length - 1) ? 0 : D.startingSlide + 1 } if (!D.multiFx) { var I = i.fn.cycle.transitions[D.fx]; if (i.isFunction(I)) { I(z, L, D) } else { if (D.fx != "custom" && !D.multiFx) { f("unknown transition: " + D.fx, "; slideshow terminating"); return false } } } var A = L[y]; if (D.before.length) { D.before[0].apply(A, [A, A, D, true]) } if (D.after.length > 1) { D.after[1].apply(A, [A, A, D, true]) } if (D.next) { i(D.next).bind(D.prevNextEvent, function() { return o(D, D.rev ? -1 : 1) }) } if (D.prev) { i(D.prev).bind(D.prevNextEvent, function() { return o(D, D.rev ? 1 : -1) }) } if (D.pager || D.pagerAnchorBuilder) { d(v, D) } j(D, v); return D } function n(r) { r.original = { before: [], after: [] }; r.original.cssBefore = i.extend({}, r.cssBefore); r.original.cssAfter = i.extend({}, r.cssAfter); r.original.animIn = i.extend({}, r.animIn); r.original.animOut = i.extend({}, r.animOut); i.each(r.before, function() { r.original.before.push(this) }); i.each(r.after, function() { r.original.after.push(this) }) } function c(x) { var v, t, s = i.fn.cycle.transitions; if (x.fx.indexOf(",") > 0) { x.multiFx = true; x.fxs = x.fx.replace(/\s*/g, "").split(","); for (v = 0; v < x.fxs.length; v++) { var w = x.fxs[v]; t = s[w]; if (!t || !s.hasOwnProperty(w) || !i.isFunction(t)) { f("discarding unknown transition: ", w); x.fxs.splice(v, 1); v-- } } if (!x.fxs.length) { f("No valid transitions named; slideshow terminating."); return false } } else { if (x.fx == "all") { x.multiFx = true; x.fxs = []; for (p in s) { t = s[p]; if (s.hasOwnProperty(p) && i.isFunction(t)) { x.fxs.push(p) } } } } if (x.multiFx && x.randomizeEffects) { var u = Math.floor(Math.random() * 20) + 30; for (v = 0; v < u; v++) { var r = Math.floor(Math.random() * x.fxs.length); x.fxs.push(x.fxs.splice(r, 1)[0]) } a("randomized fx sequence: ", x.fxs) } return true } function j(s, r) { s.addSlide = function(u, v) { var t = i(u), w = t[0]; if (!s.autostopCount) { s.countdown++ } r[v ? "unshift" : "push"](w); if (s.els) { s.els[v ? "unshift" : "push"](w) } s.slideCount = r.length; t.css("position", "absolute"); t[v ? "prependTo" : "appendTo"](s.$cont); if (v) { s.currSlide++; s.nextSlide++ } if (!i.support.opacity && s.cleartype && !s.cleartypeNoBg) { g(t) } if (s.fit && s.width) { t.width(s.width) } if (s.fit && s.height && s.height != "auto") { $slides.height(s.height) } w.cycleH = (s.fit && s.height) ? s.height : t.height(); w.cycleW = (s.fit && s.width) ? s.width : t.width(); t.css(s.cssBefore); if (s.pager || s.pagerAnchorBuilder) { i.fn.cycle.createPagerAnchor(r.length - 1, w, i(s.pager), r, s) } if (i.isFunction(s.onAddSlide)) { s.onAddSlide(t) } else { t.hide() } } } i.fn.cycle.resetState = function(s, r) { r = r || s.fx; s.before = []; s.after = []; s.cssBefore = i.extend({}, s.original.cssBefore); s.cssAfter = i.extend({}, s.original.cssAfter); s.animIn = i.extend({}, s.original.animIn); s.animOut = i.extend({}, s.original.animOut); s.fxFn = null; i.each(s.original.before, function() { s.before.push(this) }); i.each(s.original.after, function() { s.after.push(this) }); var t = i.fn.cycle.transitions[r]; if (i.isFunction(t)) { t(s.$cont, i(s.elements), s) } }; function e(y, r, x, A) { if (x && r.busy && r.manualTrump) { a("manualTrump in go(), stopping active transition"); i(y).stop(true, true); r.busy = false } if (r.busy) { a("transition active, ignoring new tx request"); return } var v = r.$cont[0], C = y[r.currSlide], B = y[r.nextSlide]; if (v.cycleStop != r.stopCount || v.cycleTimeout === 0 && !x) { return } if (!x && !v.cyclePause && ((r.autostop && (--r.countdown <= 0)) || (r.nowrap && !r.random && r.nextSlide < r.currSlide))) { if (r.end) { r.end(r) } return } var z = false; if ((x || !v.cyclePause) && (r.nextSlide != r.currSlide)) { z = true; var w = r.fx; C.cycleH = C.cycleH || i(C).height(); C.cycleW = C.cycleW || i(C).width(); B.cycleH = B.cycleH || i(B).height(); B.cycleW = B.cycleW || i(B).width(); if (r.multiFx) { if (r.lastFx == undefined || ++r.lastFx >= r.fxs.length) { r.lastFx = 0 } w = r.fxs[r.lastFx]; r.currFx = w } if (r.oneTimeFx) { w = r.oneTimeFx; r.oneTimeFx = null } i.fn.cycle.resetState(r, w); if (r.before.length) { i.each(r.before, function(D, E) { if (v.cycleStop != r.stopCount) { return } E.apply(B, [C, B, r, A]) }) } var t = function() { i.each(r.after, function(D, E) { if (v.cycleStop != r.stopCount) { return } E.apply(B, [C, B, r, A]) }) }; a("tx firing; currSlide: " + r.currSlide + "; nextSlide: " + r.nextSlide); r.busy = 1; if (r.fxFn) { r.fxFn(C, B, r, t, A, x && r.fastOnEvent) } else { if (i.isFunction(i.fn.cycle[r.fx])) { i.fn.cycle[r.fx](C, B, r, t, A, x && r.fastOnEvent) } else { i.fn.cycle.custom(C, B, r, t, A, x && r.fastOnEvent) } } } if (z || r.nextSlide == r.currSlide) { r.lastSlide = r.currSlide; if (r.random) { r.currSlide = r.nextSlide; if (++r.randomIndex == y.length) { r.randomIndex = 0 } r.nextSlide = r.randomMap[r.randomIndex]; if (r.nextSlide == r.currSlide) { r.nextSlide = (r.currSlide == r.slideCount - 1) ? 0 : r.currSlide + 1 } } else { var u = (r.nextSlide + 1) == y.length; r.nextSlide = u ? 0 : r.nextSlide + 1; r.currSlide = u ? y.length - 1 : r.nextSlide - 1 } } if (z && r.pager) { r.updateActivePagerLink(r.pager, r.currSlide, r.activePagerClass) } var s = 0; if (r.timeout && !r.continuous) { s = h(C, B, r, A) } else { if (r.continuous && v.cyclePause) { s = 10 } } if (s > 0) { v.cycleTimeout = setTimeout(function() { e(y, r, 0, !r.rev) }, s) } } i.fn.cycle.updateActivePagerLink = function(r, t, s) { i(r).each(function() { i(this).children().removeClass(s).eq(t).addClass(s) }) }; function h(w, u, v, s) { if (v.timeoutFn) { var r = v.timeoutFn(w, u, v, s); while ((r - v.speed) < 250) { r += v.speed } a("calculated timeout: " + r + "; speed: " + v.speed); if (r !== false) { return r } } return v.timeout } i.fn.cycle.next = function(r) { o(r, r.rev ? -1 : 1) }; i.fn.cycle.prev = function(r) { o(r, r.rev ? 1 : -1) }; function o(t, w) { var s = t.elements; var v = t.$cont[0], u = v.cycleTimeout; if (u) { clearTimeout(u); v.cycleTimeout = 0 } if (t.random && w < 0) { t.randomIndex--; if (--t.randomIndex == -2) { t.randomIndex = s.length - 2 } else { if (t.randomIndex == -1) { t.randomIndex = s.length - 1 } } t.nextSlide = t.randomMap[t.randomIndex] } else { if (t.random) { t.nextSlide = t.randomMap[t.randomIndex] } else { t.nextSlide = t.currSlide + w; if (t.nextSlide < 0) { if (t.nowrap) { return false } t.nextSlide = s.length - 1 } else { if (t.nextSlide >= s.length) { if (t.nowrap) { return false } t.nextSlide = 0 } } } } var r = t.onPrevNextEvent || t.prevNextClick; if (i.isFunction(r)) { r(w > 0, t.nextSlide, s[t.nextSlide]) } e(s, t, 1, w >= 0); return false } function d(s, t) { var r = i(t.pager); i.each(s, function(u, v) { i.fn.cycle.createPagerAnchor(u, v, r, s, t) }); t.updateActivePagerLink(t.pager, t.startingSlide, t.activePagerClass) } i.fn.cycle.createPagerAnchor = function(v, w, t, u, x) { var s; if (i.isFunction(x.pagerAnchorBuilder)) { s = x.pagerAnchorBuilder(v, w); a("pagerAnchorBuilder(" + v + ", el) returned: " + s) } else { s = '<a href="#">' + (v + 1) + "</a>" } if (!s) { return } var y = i(s); if (y.parents("body").length === 0) { var r = []; if (t.length > 1) { t.each(function() { var z = y.clone(true); i(this).append(z); r.push(z[0]) }); y = i(r) } else { y.appendTo(t) } } x.pagerAnchors = x.pagerAnchors || []; x.pagerAnchors.push(y); y.bind(x.pagerEvent, function(C) { C.preventDefault(); x.nextSlide = v; var B = x.$cont[0], A = B.cycleTimeout; if (A) { clearTimeout(A); B.cycleTimeout = 0 } var z = x.onPagerEvent || x.pagerClick; if (i.isFunction(z)) { z(x.nextSlide, u[x.nextSlide]) } e(u, x, 1, x.currSlide < v) }); if (!/^click/.test(x.pagerEvent) && !x.allowPagerClickBubble) { y.bind("click.cycle", function() { return false }) } if (x.pauseOnPagerHover) { y.hover(function() { x.$cont[0].cyclePause++ }, function() { x.$cont[0].cyclePause-- }) } }; i.fn.cycle.hopsFromLast = function(u, t) { var s, r = u.lastSlide, v = u.currSlide; if (t) { s = v > r ? v - r : u.slideCount - r } else { s = v < r ? r - v : r + u.slideCount - v } return s }; function g(t) { a("applying clearType background-color hack"); function s(u) { u = parseInt(u).toString(16); return u.length < 2 ? "0" + u : u } function r(x) { for (; x && x.nodeName.toLowerCase() != "html"; x = x.parentNode) { var u = i.css(x, "background-color"); if (u.indexOf("rgb") >= 0) { var w = u.match(/\d+/g); return "#" + s(w[0]) + s(w[1]) + s(w[2]) } if (u && u != "transparent") { return u } } return "#ffffff" } t.each(function() { i(this).css("background-color", r(this)) }) } i.fn.cycle.commonReset = function(x, u, v, s, t, r) { i(v.elements).not(x).hide(); v.cssBefore.opacity = 1; v.cssBefore.display = "block"; if (s !== false && u.cycleW > 0) { v.cssBefore.width = u.cycleW } if (t !== false && u.cycleH > 0) { v.cssBefore.height = u.cycleH } v.cssAfter = v.cssAfter || {}; v.cssAfter.display = "none"; i(x).css("zIndex", v.slideCount + (r === true ? 1 : 0)); i(u).css("zIndex", v.slideCount + (r === true ? 0 : 1)) }; i.fn.cycle.custom = function(D, x, r, u, w, s) { var C = i(D), y = i(x); var t = r.speedIn, B = r.speedOut, v = r.easeIn, A = r.easeOut; y.css(r.cssBefore); if (s) { if (typeof s == "number") { t = B = s } else { t = B = 1 } v = A = null } var z = function() { y.animate(r.animIn, t, v, u) }; C.animate(r.animOut, B, A, function() { if (r.cssAfter) { C.css(r.cssAfter) } if (!r.sync) { z() } }); if (r.sync) { z() } }; i.fn.cycle.transitions = { fade: function(s, t, r) { t.not(":eq(" + r.currSlide + ")").css("opacity", 0); r.before.push(function(w, u, v) { i.fn.cycle.commonReset(w, u, v); v.cssBefore.opacity = 0 }); r.animIn = { opacity: 1 }; r.animOut = { opacity: 0 }; r.cssBefore = { top: 0, left: 0} } }; i.fn.cycle.ver = function() { return l }; i.fn.cycle.defaults = { fx: "fade", timeout: 4000, timeoutFn: null, continuous: 0, speed: 1000, speedIn: null, speedOut: null, next: null, prev: null, onPrevNextEvent: null, prevNextEvent: "click.cycle", pager: null, onPagerEvent: null, pagerEvent: "click.cycle", allowPagerClickBubble: false, pagerAnchorBuilder: null, before: null, after: null, end: null, easing: null, easeIn: null, easeOut: null, shuffle: null, animIn: null, animOut: null, cssBefore: null, cssAfter: null, fxFn: null, height: "auto", startingSlide: 0, sync: 1, random: 0, fit: 0, containerResize: 1, pause: 0, pauseOnPagerHover: 0, autostop: 0, autostopCount: 0, delay: 0, slideExpr: null, cleartype: !i.support.opacity, cleartypeNoBg: false, nowrap: 0, fastOnEvent: 0, randomizeEffects: 1, rev: 0, manualTrump: true, requeueOnImageNotLoaded: true, requeueTimeout: 250, activePagerClass: "activeSlide", updateActivePagerLink: null} })(jQuery);

/* Masked Input plugin for jQuery Version: 1.2.2 */
(function(c) { var a = (c.browser.msie ? "paste" : "input") + ".mask"; var b = (window.orientation != undefined); c.mask = { definitions: { "9": "[0-9]", a: "[A-Za-z]", "*": "[A-Za-z0-9]"} }; c.fn.extend({ caret: function(f, d) { if (this.length == 0) { return } if (typeof f == "number") { d = (typeof d == "number") ? d : f; return this.each(function() { if (this.setSelectionRange) { this.focus(); this.setSelectionRange(f, d) } else { if (this.createTextRange) { var g = this.createTextRange(); g.collapse(true); g.moveEnd("character", d); g.moveStart("character", f); g.select() } } }) } else { if (this[0].setSelectionRange) { f = this[0].selectionStart; d = this[0].selectionEnd } else { if (document.selection && document.selection.createRange) { var e = document.selection.createRange(); f = 0 - e.duplicate().moveStart("character", -100000); d = f + e.text.length } } return { begin: f, end: d} } }, unmask: function() { return this.trigger("unmask") }, mask: function(f, j) { if (!f && this.length > 0) { var g = c(this[0]); var i = g.data("tests"); return c.map(g.data("buffer"), function(m, l) { return i[l] ? m : null }).join("") } j = c.extend({ placeholder: "_", completed: null }, j); var e = c.mask.definitions; var i = []; var k = f.length; var h = null; var d = f.length; c.each(f.split(""), function(l, m) { if (m == "?") { d--; k = l } else { if (e[m]) { i.push(new RegExp(e[m])); if (h == null) { h = i.length - 1 } } else { i.push(null) } } }); return this.each(function() { var u = c(this); var p = c.map(f.split(""), function(y, x) { if (y != "?") { return e[y] ? j.placeholder : y } }); var s = false; var w = u.val(); u.data("buffer", p).data("tests", i); function t(x) { while (++x <= d && !i[x]) { } return x } function o(z) { while (!i[z] && --z >= 0) { } for (var y = z; y < d; y++) { if (i[y]) { p[y] = j.placeholder; var x = t(y); if (x < d && i[y].test(p[x])) { p[y] = p[x] } else { break } } } r(); u.caret(Math.max(h, z)) } function l(B) { for (var z = B, A = j.placeholder; z < d; z++) { if (i[z]) { var x = t(z); var y = p[z]; p[z] = A; if (x < d && i[x].test(y)) { A = y } else { break } } } } function q(y) { var z = c(this).caret(); var x = y.keyCode; s = (x < 16 || (x > 16 && x < 32) || (x > 32 && x < 41)); if ((z.begin - z.end) != 0 && (!s || x == 8 || x == 46)) { m(z.begin, z.end) } if (x == 8 || x == 46 || (b && x == 127)) { o(z.begin + (x == 46 ? 0 : -1)); return false } else { if (x == 27) { u.val(w); u.caret(0, n()); return false } } } function v(A) { if (s) { s = false; return (A.keyCode == 8) ? false : null } A = A || window.event; var x = A.charCode || A.keyCode || A.which; var C = c(this).caret(); if (A.ctrlKey || A.altKey || A.metaKey) { return true } else { if ((x >= 32 && x <= 125) || x > 186) { var z = t(C.begin - 1); if (z < d) { var B = String.fromCharCode(x); if (i[z].test(B)) { l(z); p[z] = B; r(); var y = t(z); c(this).caret(y); if (j.completed && y == d) { j.completed.call(u) } } } } } return false } function m(z, x) { for (var y = z; y < x && y < d; y++) { if (i[y]) { p[y] = j.placeholder } } } function r() { return u.val(p.join("")).val() } function n(y) { var C = u.val(); var B = -1; for (var x = 0, A = 0; x < d; x++) { if (i[x]) { p[x] = j.placeholder; while (A++ < C.length) { var z = C.charAt(A - 1); if (i[x].test(z)) { p[x] = z; B = x; break } } if (A > C.length) { break } } else { if (p[x] == C[A] && x != k) { A++; B = x } } } if (!y && B + 1 < k) { u.val(""); m(0, d) } else { if (y || B + 1 >= k) { r(); if (!y) { u.val(u.val().substring(0, B + 1)) } } } return (k ? x : h) } if (!u.attr("readonly")) { u.one("unmask", function() { u.unbind(".mask").removeData("buffer").removeData("tests") }).bind("focus.mask", function() { w = u.val(); var x = n(); r(); setTimeout(function() { if (x == f.length) { u.caret(0, x) } else { u.caret(x) } }, 0) }).bind("blur.mask", function() { n(); if (u.val() != w) { u.change() } }).bind("keydown.mask", q).bind("keypress.mask", v).bind(a, function() { setTimeout(function() { u.caret(n(true)) }, 0) }) } n() }) } }) })(jQuery);

/* password_strength_plugin.js @version 1.0.1 */
(function(a) { a.fn.shortPass = "Too short"; a.fn.badPass = "Weak"; a.fn.goodPass = "Good"; a.fn.strongPass = "Strong"; a.fn.samePassword = "Username/Password identical."; a.fn.resultStyle = ""; a.fn.passStrength = function(b) { var d = { shortPass: "shortPass", badPass: "badPass", goodPass: "goodPass", strongPass: "strongPass", baseStyle: "testresult", userid: "", messageloc: 1 }; var c = a.extend(d, b); return this.each(function() { var e = a(this); a(e).unbind().keyup(function() { var f = a.fn.teststrength(a(this).val(), a(c.userid).val(), c); if (c.messageloc === 1) { a(this).next("." + c.baseStyle).remove(); a(this).after('<span class="' + c.baseStyle + '"><span></span></span>'); a(this).next("." + c.baseStyle).addClass(a(this).resultStyle).find("span").text(f) } else { a(this).prev("." + c.baseStyle).remove(); a(this).before('<span class="' + c.baseStyle + '"><span></span></span>'); a(this).prev("." + c.baseStyle).addClass(a(this).resultStyle).find("span").text(f) } }); a.fn.teststrength = function(f, i, g) { var h = 0; if (f.length < 6) { this.resultStyle = g.shortPass; return a(this).shortPass } if (f.toLowerCase() == i.toLowerCase()) { this.resultStyle = g.badPass; return a(this).samePassword } h += f.length * 4; h += (a.fn.checkRepetition(1, f).length - f.length) * 1; h += (a.fn.checkRepetition(2, f).length - f.length) * 1; h += (a.fn.checkRepetition(3, f).length - f.length) * 1; h += (a.fn.checkRepetition(4, f).length - f.length) * 1; if (f.match(/(.*[0-9].*[0-9].*[0-9])/)) { h += 5 } if (f.match(/(.*[!,@,#,$,%,^,&,*,?,_,~].*[!,@,#,$,%,^,&,*,?,_,~])/)) { h += 5 } if (f.match(/([a-z].*[A-Z])|([A-Z].*[a-z])/)) { h += 10 } if (f.match(/([a-zA-Z])/) && f.match(/([0-9])/)) { h += 15 } if (f.match(/([!,@,#,$,%,^,&,*,?,_,~])/) && f.match(/([0-9])/)) { h += 15 } if (f.match(/([!,@,#,$,%,^,&,*,?,_,~])/) && f.match(/([a-zA-Z])/)) { h += 15 } if (f.match(/^\w+$/) || f.match(/^\d+$/)) { h -= 10 } if (h < 0) { h = 0 } if (h > 100) { h = 100 } if (h < 34) { this.resultStyle = g.badPass; return a(this).badPass } if (h < 68) { this.resultStyle = g.goodPass; return a(this).goodPass } this.resultStyle = g.strongPass; return a(this).strongPass } }) } })(jQuery); $j.fn.checkRepetition = function(a, f) { var d = ""; for (var c = 0; c < f.length; c++) { var e = true; for (var b = 0; b < a && (b + c + a) < f.length; b++) { e = e && (f.charAt(b + c) == f.charAt(b + c + a)) } if (b < a) { e = false } if (e) { c += a - 1; e = false } else { d += f.charAt(c) } } return d }; $j(document).ready(function() { $j(".password_test").passStrength({ userid: "a" }) });

/* jQuery.ScrollTo - @version 1.4.2 */
(function(c) { var a = c.scrollTo = function(d, f, g) { c(window).scrollTo(d, f, g) }; a.defaults = { axis: "xy", duration: parseFloat(c.fn.jquery) >= 1.3 ? 0 : 1 }; a.window = function(d) { return c(window)._scrollable() }; c.fn._scrollable = function() { return this.map(function() { var d = this, f = !d.nodeName || c.inArray(d.nodeName.toLowerCase(), ["iframe", "#document", "html", "body"]) != -1; if (!f) { return d } var g = (d.contentWindow || d).document || d.ownerDocument || d; return c.browser.safari || g.compatMode == "BackCompat" ? g.body : g.documentElement }) }; c.fn.scrollTo = function(f, e, d) { if (typeof e == "object") { d = e; e = 0 } if (typeof d == "function") { d = { onAfter: d} } if (f == "max") { f = 9000000000 } d = c.extend({}, a.defaults, d); e = e || d.speed || d.duration; d.queue = d.queue && d.axis.length > 1; if (d.queue) { e /= 2 } d.offset = b(d.offset); d.over = b(d.over); return this._scrollable().each(function() { var n = this, l = c(n), m = f, j, k = {}, h = l.is("html,body"); switch (typeof m) { case "number": case "string": if (/^([+-]=)?\d+(\.\d+)?(px|%)?$/.test(m)) { m = b(m); break } m = c(m, this); case "object": if (m.is || m.style) { j = (m = c(m)).offset() } } c.each(d.axis.split(""), function(q, r) { var t = r == "x" ? "Left" : "Top", s = t.toLowerCase(), v = "scroll" + t, p = n[v], g = a.max(n, r); if (j) { k[v] = j[s] + (h ? 0 : p - l.offset()[s]); if (d.margin) { k[v] -= parseInt(m.css("margin" + t)) || 0; k[v] -= parseInt(m.css("border" + t + "Width")) || 0 } k[v] += d.offset[s] || 0; if (d.over[s]) { k[v] += m[r == "x" ? "width" : "height"]() * d.over[s] } } else { var u = m[s]; k[v] = u.slice && u.slice(-1) == "%" ? parseFloat(u) / 100 * g : u } if (/^\d+$/.test(k[v])) { k[v] = k[v] <= 0 ? 0 : Math.min(k[v], g) } if (!q && d.queue) { if (p != k[v]) { i(d.onAfterFirst) } delete k[v] } }); i(d.onAfter); function i(g) { l.animate(k, e, d.easing, g && function() { g.call(this, f, d) }) } }).end() }; a.max = function(g, j) { var n = j == "x" ? "Width" : "Height", k = "scroll" + n; if (!c(g).is("html,body")) { return g[k] - c(g)[n.toLowerCase()]() } var o = "client" + n, f = g.ownerDocument.documentElement, d = g.ownerDocument.body; return Math.max(f[k], d[k]) - Math.min(f[o], d[o]) }; function b(d) { return typeof d == "object" ? d : { top: d, left: d} } })(jQuery);

/*	SWFObject v2.2 */
var swfobject = function() { var D = "undefined", r = "object", S = "Shockwave Flash", W = "ShockwaveFlash.ShockwaveFlash", q = "application/x-shockwave-flash", R = "SWFObjectExprInst", x = "onreadystatechange", O = window, j = document, t = navigator, T = false, U = [h], o = [], N = [], I = [], l, Q, E, B, J = false, a = false, n, G, m = true, M = function() { var aa = typeof j.getElementById != D && typeof j.getElementsByTagName != D && typeof j.createElement != D, ah = t.userAgent.toLowerCase(), Y = t.platform.toLowerCase(), ae = Y ? /win/.test(Y) : /win/.test(ah), ac = Y ? /mac/.test(Y) : /mac/.test(ah), af = /webkit/.test(ah) ? parseFloat(ah.replace(/^.*webkit\/(\d+(\.\d+)?).*$/, "$1")) : false, X = ! +"\v1", ag = [0, 0, 0], ab = null; if (typeof t.plugins != D && typeof t.plugins[S] == r) { ab = t.plugins[S].description; if (ab && !(typeof t.mimeTypes != D && t.mimeTypes[q] && !t.mimeTypes[q].enabledPlugin)) { T = true; X = false; ab = ab.replace(/^.*\s+(\S+\s+\S+$)/, "$1"); ag[0] = parseInt(ab.replace(/^(.*)\..*$/, "$1"), 10); ag[1] = parseInt(ab.replace(/^.*\.(.*)\s.*$/, "$1"), 10); ag[2] = /[a-zA-Z]/.test(ab) ? parseInt(ab.replace(/^.*[a-zA-Z]+(.*)$/, "$1"), 10) : 0 } } else { if (typeof O.ActiveXObject != D) { try { var ad = new ActiveXObject(W); if (ad) { ab = ad.GetVariable("$version"); if (ab) { X = true; ab = ab.split(" ")[1].split(","); ag = [parseInt(ab[0], 10), parseInt(ab[1], 10), parseInt(ab[2], 10)] } } } catch (Z) { } } } return { w3: aa, pv: ag, wk: af, ie: X, win: ae, mac: ac} } (), k = function() { if (!M.w3) { return } if ((typeof j.readyState != D && j.readyState == "complete") || (typeof j.readyState == D && (j.getElementsByTagName("body")[0] || j.body))) { f() } if (!J) { if (typeof j.addEventListener != D) { j.addEventListener("DOMContentLoaded", f, false) } if (M.ie && M.win) { j.attachEvent(x, function() { if (j.readyState == "complete") { j.detachEvent(x, arguments.callee); f() } }); if (O == top) { (function() { if (J) { return } try { j.documentElement.doScroll("left") } catch (X) { setTimeout(arguments.callee, 0); return } f() })() } } if (M.wk) { (function() { if (J) { return } if (!/loaded|complete/.test(j.readyState)) { setTimeout(arguments.callee, 0); return } f() })() } s(f) } } (); function f() { if (J) { return } try { var Z = j.getElementsByTagName("body")[0].appendChild(C("span")); Z.parentNode.removeChild(Z) } catch (aa) { return } J = true; var X = U.length; for (var Y = 0; Y < X; Y++) { U[Y]() } } function K(X) { if (J) { X() } else { U[U.length] = X } } function s(Y) { if (typeof O.addEventListener != D) { O.addEventListener("load", Y, false) } else { if (typeof j.addEventListener != D) { j.addEventListener("load", Y, false) } else { if (typeof O.attachEvent != D) { i(O, "onload", Y) } else { if (typeof O.onload == "function") { var X = O.onload; O.onload = function() { X(); Y() } } else { O.onload = Y } } } } } function h() { if (T) { V() } else { H() } } function V() { var X = j.getElementsByTagName("body")[0]; var aa = C(r); aa.setAttribute("type", q); var Z = X.appendChild(aa); if (Z) { var Y = 0; (function() { if (typeof Z.GetVariable != D) { var ab = Z.GetVariable("$version"); if (ab) { ab = ab.split(" ")[1].split(","); M.pv = [parseInt(ab[0], 10), parseInt(ab[1], 10), parseInt(ab[2], 10)] } } else { if (Y < 10) { Y++; setTimeout(arguments.callee, 10); return } } X.removeChild(aa); Z = null; H() })() } else { H() } } function H() { var ag = o.length; if (ag > 0) { for (var af = 0; af < ag; af++) { var Y = o[af].id; var ab = o[af].callbackFn; var aa = { success: false, id: Y }; if (M.pv[0] > 0) { var ae = c(Y); if (ae) { if (F(o[af].swfVersion) && !(M.wk && M.wk < 312)) { w(Y, true); if (ab) { aa.success = true; aa.ref = z(Y); ab(aa) } } else { if (o[af].expressInstall && A()) { var ai = {}; ai.data = o[af].expressInstall; ai.width = ae.getAttribute("width") || "0"; ai.height = ae.getAttribute("height") || "0"; if (ae.getAttribute("class")) { ai.styleclass = ae.getAttribute("class") } if (ae.getAttribute("align")) { ai.align = ae.getAttribute("align") } var ah = {}; var X = ae.getElementsByTagName("param"); var ac = X.length; for (var ad = 0; ad < ac; ad++) { if (X[ad].getAttribute("name").toLowerCase() != "movie") { ah[X[ad].getAttribute("name")] = X[ad].getAttribute("value") } } P(ai, ah, Y, ab) } else { p(ae); if (ab) { ab(aa) } } } } } else { w(Y, true); if (ab) { var Z = z(Y); if (Z && typeof Z.SetVariable != D) { aa.success = true; aa.ref = Z } ab(aa) } } } } } function z(aa) { var X = null; var Y = c(aa); if (Y && Y.nodeName == "OBJECT") { if (typeof Y.SetVariable != D) { X = Y } else { var Z = Y.getElementsByTagName(r)[0]; if (Z) { X = Z } } } return X } function A() { return !a && F("6.0.65") && (M.win || M.mac) && !(M.wk && M.wk < 312) } function P(aa, ab, X, Z) { a = true; E = Z || null; B = { success: false, id: X }; var ae = c(X); if (ae) { if (ae.nodeName == "OBJECT") { l = g(ae); Q = null } else { l = ae; Q = X } aa.id = R; if (typeof aa.width == D || (!/%$/.test(aa.width) && parseInt(aa.width, 10) < 310)) { aa.width = "310" } if (typeof aa.height == D || (!/%$/.test(aa.height) && parseInt(aa.height, 10) < 137)) { aa.height = "137" } j.title = j.title.slice(0, 47) + " - Flash Player Installation"; var ad = M.ie && M.win ? "ActiveX" : "PlugIn", ac = "MMredirectURL=" + O.location.toString().replace(/&/g, "%26") + "&MMplayerType=" + ad + "&MMdoctitle=" + j.title; if (typeof ab.flashvars != D) { ab.flashvars += "&" + ac } else { ab.flashvars = ac } if (M.ie && M.win && ae.readyState != 4) { var Y = C("div"); X += "SWFObjectNew"; Y.setAttribute("id", X); ae.parentNode.insertBefore(Y, ae); ae.style.display = "none"; (function() { if (ae.readyState == 4) { ae.parentNode.removeChild(ae) } else { setTimeout(arguments.callee, 10) } })() } u(aa, ab, X) } } function p(Y) { if (M.ie && M.win && Y.readyState != 4) { var X = C("div"); Y.parentNode.insertBefore(X, Y); X.parentNode.replaceChild(g(Y), X); Y.style.display = "none"; (function() { if (Y.readyState == 4) { Y.parentNode.removeChild(Y) } else { setTimeout(arguments.callee, 10) } })() } else { Y.parentNode.replaceChild(g(Y), Y) } } function g(ab) { var aa = C("div"); if (M.win && M.ie) { aa.innerHTML = ab.innerHTML } else { var Y = ab.getElementsByTagName(r)[0]; if (Y) { var ad = Y.childNodes; if (ad) { var X = ad.length; for (var Z = 0; Z < X; Z++) { if (!(ad[Z].nodeType == 1 && ad[Z].nodeName == "PARAM") && !(ad[Z].nodeType == 8)) { aa.appendChild(ad[Z].cloneNode(true)) } } } } } return aa } function u(ai, ag, Y) { var X, aa = c(Y); if (M.wk && M.wk < 312) { return X } if (aa) { if (typeof ai.id == D) { ai.id = Y } if (M.ie && M.win) { var ah = ""; for (var ae in ai) { if (ai[ae] != Object.prototype[ae]) { if (ae.toLowerCase() == "data") { ag.movie = ai[ae] } else { if (ae.toLowerCase() == "styleclass") { ah += ' class="' + ai[ae] + '"' } else { if (ae.toLowerCase() != "classid") { ah += " " + ae + '="' + ai[ae] + '"' } } } } } var af = ""; for (var ad in ag) { if (ag[ad] != Object.prototype[ad]) { af += '<param name="' + ad + '" value="' + ag[ad] + '" />' } } aa.outerHTML = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"' + ah + ">" + af + "</object>"; N[N.length] = ai.id; X = c(ai.id) } else { var Z = C(r); Z.setAttribute("type", q); for (var ac in ai) { if (ai[ac] != Object.prototype[ac]) { if (ac.toLowerCase() == "styleclass") { Z.setAttribute("class", ai[ac]) } else { if (ac.toLowerCase() != "classid") { Z.setAttribute(ac, ai[ac]) } } } } for (var ab in ag) { if (ag[ab] != Object.prototype[ab] && ab.toLowerCase() != "movie") { e(Z, ab, ag[ab]) } } aa.parentNode.replaceChild(Z, aa); X = Z } } return X } function e(Z, X, Y) { var aa = C("param"); aa.setAttribute("name", X); aa.setAttribute("value", Y); Z.appendChild(aa) } function y(Y) { var X = c(Y); if (X && X.nodeName == "OBJECT") { if (M.ie && M.win) { X.style.display = "none"; (function() { if (X.readyState == 4) { b(Y) } else { setTimeout(arguments.callee, 10) } })() } else { X.parentNode.removeChild(X) } } } function b(Z) { var Y = c(Z); if (Y) { for (var X in Y) { if (typeof Y[X] == "function") { Y[X] = null } } Y.parentNode.removeChild(Y) } } function c(Z) { var X = null; try { X = j.getElementById(Z) } catch (Y) { } return X } function C(X) { return j.createElement(X) } function i(Z, X, Y) { Z.attachEvent(X, Y); I[I.length] = [Z, X, Y] } function F(Z) { var Y = M.pv, X = Z.split("."); X[0] = parseInt(X[0], 10); X[1] = parseInt(X[1], 10) || 0; X[2] = parseInt(X[2], 10) || 0; return (Y[0] > X[0] || (Y[0] == X[0] && Y[1] > X[1]) || (Y[0] == X[0] && Y[1] == X[1] && Y[2] >= X[2])) ? true : false } function v(ac, Y, ad, ab) { if (M.ie && M.mac) { return } var aa = j.getElementsByTagName("head")[0]; if (!aa) { return } var X = (ad && typeof ad == "string") ? ad : "screen"; if (ab) { n = null; G = null } if (!n || G != X) { var Z = C("style"); Z.setAttribute("type", "text/css"); Z.setAttribute("media", X); n = aa.appendChild(Z); if (M.ie && M.win && typeof j.styleSheets != D && j.styleSheets.length > 0) { n = j.styleSheets[j.styleSheets.length - 1] } G = X } if (M.ie && M.win) { if (n && typeof n.addRule == r) { n.addRule(ac, Y) } } else { if (n && typeof j.createTextNode != D) { n.appendChild(j.createTextNode(ac + " {" + Y + "}")) } } } function w(Z, X) { if (!m) { return } var Y = X ? "visible" : "hidden"; if (J && c(Z)) { c(Z).style.visibility = Y } else { v("#" + Z, "visibility:" + Y) } } function L(Y) { var Z = /[\\\"<>\.;]/; var X = Z.exec(Y) != null; return X && typeof encodeURIComponent != D ? encodeURIComponent(Y) : Y } var d = function() { if (M.ie && M.win) { window.attachEvent("onunload", function() { var ac = I.length; for (var ab = 0; ab < ac; ab++) { I[ab][0].detachEvent(I[ab][1], I[ab][2]) } var Z = N.length; for (var aa = 0; aa < Z; aa++) { y(N[aa]) } for (var Y in M) { M[Y] = null } M = null; for (var X in swfobject) { swfobject[X] = null } swfobject = null }) } } (); return { registerObject: function(ab, X, aa, Z) { if (M.w3 && ab && X) { var Y = {}; Y.id = ab; Y.swfVersion = X; Y.expressInstall = aa; Y.callbackFn = Z; o[o.length] = Y; w(ab, false) } else { if (Z) { Z({ success: false, id: ab }) } } }, getObjectById: function(X) { if (M.w3) { return z(X) } }, embedSWF: function(ab, ah, ae, ag, Y, aa, Z, ad, af, ac) { var X = { success: false, id: ah }; if (M.w3 && !(M.wk && M.wk < 312) && ab && ah && ae && ag && Y) { w(ah, false); K(function() { ae += ""; ag += ""; var aj = {}; if (af && typeof af === r) { for (var al in af) { aj[al] = af[al] } } aj.data = ab; aj.width = ae; aj.height = ag; var am = {}; if (ad && typeof ad === r) { for (var ak in ad) { am[ak] = ad[ak] } } if (Z && typeof Z === r) { for (var ai in Z) { if (typeof am.flashvars != D) { am.flashvars += "&" + ai + "=" + Z[ai] } else { am.flashvars = ai + "=" + Z[ai] } } } if (F(Y)) { var an = u(aj, am, ah); if (aj.id == ah) { w(ah, true) } X.success = true; X.ref = an } else { if (aa && A()) { aj.data = aa; P(aj, am, ah, ac); return } else { w(ah, true) } } if (ac) { ac(X) } }) } else { if (ac) { ac(X) } } }, switchOffAutoHideShow: function() { m = false }, ua: M, getFlashPlayerVersion: function() { return { major: M.pv[0], minor: M.pv[1], release: M.pv[2]} }, hasFlashPlayerVersion: F, createSWF: function(Z, Y, X) { if (M.w3) { return u(Z, Y, X) } else { return undefined } }, showExpressInstall: function(Z, aa, X, Y) { if (M.w3 && A()) { P(Z, aa, X, Y) } }, removeSWF: function(X) { if (M.w3) { y(X) } }, createCSS: function(aa, Z, Y, X) { if (M.w3) { v(aa, Z, Y, X) } }, addDomLoadEvent: K, addLoadEvent: s, getQueryParamValue: function(aa) { var Z = j.location.search || j.location.hash; if (Z) { if (/\?/.test(Z)) { Z = Z.split("?")[1] } if (aa == null) { return L(Z) } var Y = Z.split("&"); for (var X = 0; X < Y.length; X++) { if (Y[X].substring(0, Y[X].indexOf("=")) == aa) { return L(Y[X].substring((Y[X].indexOf("=") + 1))) } } } return "" }, expressInstallCallback: function() { if (a) { var X = c(R); if (X && l) { X.parentNode.replaceChild(l, X); if (Q) { w(Q, true); if (M.ie && M.win) { l.style.display = "block" } } if (E) { E(B) } } a = false } } } } ();

/* Thickbox 3.1 */
var tb_pathToImage = "/Content/images/global/loadingAnimation.gif"; $j(document).ready(function() { tb_init("a.thickbox, area.thickbox, input.thickbox"); imgLoader = new Image(); imgLoader.src = tb_pathToImage }); function tb_init(a) { $j(a).click(function() { var c = this.title || this.name || null; var b = this.href || this.alt; var d = this.rel || false; tb_show(c, b, d); this.blur(); return false }) } function tb_show(j, b, h) { try { if (typeof document.body.style.maxHeight === "undefined") { $j("body", "html").css({ height: "100%", width: "100%" }); $j("html").css("overflow", "hidden"); if (document.getElementById("TB_HideSelect") === null) { $j("body").append("<iframe id='TB_HideSelect'></iframe><div id='TB_overlay'></div><div id='TB_window'></div>"); $j("#TB_overlay").click(tb_remove) } } else { if (document.getElementById("TB_overlay") === null) { $j("body").append("<div id='TB_overlay'></div><div id='TB_window'></div>"); $j("#TB_overlay").click(tb_remove) } } if (tb_detectMacXFF()) { $j("#TB_overlay").addClass("TB_overlayMacFFBGHack") } else { $j("#TB_overlay").addClass("TB_overlayBG") } if (j === null) { j = "" } $j("body").append("<div id='TB_load'><img src='" + imgLoader.src + "' /></div>"); $j("#TB_load").show(); var c; if (b.indexOf("?") !== -1) { c = b.substr(0, b.indexOf("?")) } else { c = b } var f = /\.jpg$|\.jpeg$|\.png$|\.gif$|\.bmp$/; var k = c.toLowerCase().match(f); if (k == ".jpg" || k == ".jpeg" || k == ".png" || k == ".gif" || k == ".bmp") { TB_PrevCaption = ""; TB_PrevURL = ""; TB_PrevHTML = ""; TB_NextCaption = ""; TB_NextURL = ""; TB_NextHTML = ""; TB_imageCount = ""; TB_FoundURL = false; if (h) { TB_TempArray = $j("a[rel=" + h + "]").get(); for (TB_Counter = 0; ((TB_Counter < TB_TempArray.length) && (TB_NextHTML === "")); TB_Counter++) { var g = TB_TempArray[TB_Counter].href.toLowerCase().match(f); if (!(TB_TempArray[TB_Counter].href == b)) { if (TB_FoundURL) { TB_NextCaption = TB_TempArray[TB_Counter].title; TB_NextURL = TB_TempArray[TB_Counter].href; TB_NextHTML = "<span id='TB_next'>&nbsp;&nbsp;<a href='#'>Next &gt;</a></span>" } else { TB_PrevCaption = TB_TempArray[TB_Counter].title; TB_PrevURL = TB_TempArray[TB_Counter].href; TB_PrevHTML = "<span id='TB_prev'>&nbsp;&nbsp;<a href='#'>&lt; Prev</a></span>" } } else { TB_FoundURL = true; TB_imageCount = "Image " + (TB_Counter + 1) + " of " + (TB_TempArray.length) } } } imgPreloader = new Image(); imgPreloader.onload = function() { imgPreloader.onload = null; var n = tb_getPageSize(); var l = n[0] - 150; var q = n[1] - 150; var m = imgPreloader.width; var e = imgPreloader.height; if (m > l) { e = e * (l / m); m = l; if (e > q) { m = m * (q / e); e = q } } else { if (e > q) { m = m * (q / e); e = q; if (m > l) { e = e * (l / m); m = l } } } TB_WIDTH = m + 30; TB_HEIGHT = e + 60; $j("#TB_window").append("<a href='' id='TB_ImageOff' title='Close'><img id='TB_Image' src='" + b + "' width='" + m + "' height='" + e + "' alt='" + j + "'/></a><div id='TB_caption'>" + j + "<div id='TB_secondLine'>" + TB_imageCount + TB_PrevHTML + TB_NextHTML + "</div></div><div id='TB_closeWindow'><a href='#' class='TB_closeWindowButton' title='Close'>close</a> or Esc Key</div>"); $j(".TB_closeWindowButton").click(tb_remove); if (!(TB_PrevHTML === "")) { function p() { if ($j(document).unbind("click", p)) { $j(document).unbind("click", p) } $j("#TB_window").remove(); $j("body").append("<div id='TB_window'></div>"); tb_show(TB_PrevCaption, TB_PrevURL, h); return false } $j("#TB_prev").click(p) } if (!(TB_NextHTML === "")) { function o() { $j("#TB_window").remove(); $j("body").append("<div id='TB_window'></div>"); tb_show(TB_NextCaption, TB_NextURL, h); return false } $j("#TB_next").click(o) } document.onkeydown = function(r) { if (r == null) { keycode = event.keyCode } else { keycode = r.which } if (keycode == 27) { tb_remove() } else { if (keycode == 190) { if (!(TB_NextHTML == "")) { document.onkeydown = ""; o() } } else { if (keycode == 188) { if (!(TB_PrevHTML == "")) { document.onkeydown = ""; p() } } } } }; tb_position(); $j("#TB_load").remove(); $j("#TB_ImageOff").click(tb_remove); $j("#TB_window").css({ display: "block" }) }; imgPreloader.src = b } else { var a = b.replace(/^[^\?]+\??/, ""); var d = tb_parseQuery(a); TB_WIDTH = (d.width * 1) + 30 || 630; TB_HEIGHT = (d.height * 1) + 40 || 440; ajaxContentW = TB_WIDTH - 30; ajaxContentH = TB_HEIGHT - 45; if (b.indexOf("TB_iframe") != -1) { urlNoQuery = b.split("TB_"); $j("#TB_iframeContent").remove(); if (d.modal != "true") { $j("#TB_window").append("<div id='TB_title'><div id='TB_ajaxWindowTitle'>" + j + "</div><div id='TB_closeAjaxWindow'><a href='#' class='TB_closeWindowButton' title='Close'>close</a> or Esc Key</div></div><iframe frameborder='0' hspace='0' src='" + urlNoQuery[0] + "' id='TB_iframeContent' name='TB_iframeContent" + Math.round(Math.random() * 1000) + "' onload='tb_showIframe()' style='width:" + (ajaxContentW + 29) + "px;height:" + (ajaxContentH + 17) + "px;' > </iframe>") } else { $j("#TB_overlay").unbind(); $j("#TB_window").append("<iframe frameborder='0' hspace='0' src='" + urlNoQuery[0] + "' id='TB_iframeContent' name='TB_iframeContent" + Math.round(Math.random() * 1000) + "' onload='tb_showIframe()' style='width:" + (ajaxContentW + 29) + "px;height:" + (ajaxContentH + 17) + "px;'> </iframe>") } } else { if ($j("#TB_window").css("display") != "block") { if (d.modal != "true") { $j("#TB_window").append("<div id='TB_title'><div id='TB_ajaxWindowTitle'>" + j + "</div><div id='TB_closeAjaxWindow'><a href='#' class='TB_closeWindowButton'>close</a> or Esc Key</div></div><div id='TB_ajaxContent' style='width:" + ajaxContentW + "px;height:" + ajaxContentH + "px'></div>") } else { $j("#TB_overlay").unbind(); $j("#TB_window").append("<div id='TB_ajaxContent' class='TB_modal' style='width:" + ajaxContentW + "px;height:" + ajaxContentH + "px;'></div>") } } else { $j("#TB_ajaxContent")[0].style.width = ajaxContentW + "px"; $j("#TB_ajaxContent")[0].style.height = ajaxContentH + "px"; $j("#TB_ajaxContent")[0].scrollTop = 0; $j("#TB_ajaxWindowTitle").html(j) } } $j(".TB_closeWindowButton").click(tb_remove); if (b.indexOf("TB_inline") != -1) { $j("#TB_ajaxContent").append($j("#" + d.inlineId).children()); $j("#TB_window").unload(function() { $j("#" + d.inlineId).append($j("#TB_ajaxContent").children()) }); tb_position(); $j("#TB_load").remove(); $j("#TB_window").css({ display: "block" }) } else { if (b.indexOf("TB_iframe") != -1) { tb_position(); if ($j.browser.safari) { $j("#TB_load").remove(); $j("#TB_window").css({ display: "block" }) } } else { $j("#TB_ajaxContent").load(b += "&random=" + (new Date().getTime()), function() { tb_position(); $j("#TB_load").remove(); tb_init("#TB_ajaxContent a.thickbox"); $j("#TB_window").css({ display: "block" }) }) } } } if (!d.modal) { document.onkeyup = function(l) { if (l == null) { keycode = event.keyCode } else { keycode = l.which } if (keycode == 27) { tb_remove() } } } } catch (i) { } } function tb_showIframe() { $j("#TB_load").remove(); $j("#TB_window").css({ display: "block" }) } function tb_remove() { $j("#TB_imageOff").unbind("click"); $j(".TB_closeWindowButton").unbind("click"); $j("#TB_window").fadeOut("fast", function() { $j("#TB_window,#TB_overlay,#TB_HideSelect").trigger("unload").unbind().remove() }); $j("#TB_load").remove(); if (typeof document.body.style.maxHeight == "undefined") { $j("body", "html").css({ height: "auto", width: "auto" }); $j("html").css("overflow", "") } document.onkeydown = ""; document.onkeyup = ""; return false } function tb_position() { jQuery("#TB_window").css({ marginLeft: "-" + parseInt((TB_WIDTH / 2), 10) + "px", width: TB_WIDTH + "px" }); var a = jQuery.browser.version; if (a instanceof Object) { a = a.number() } if (!(jQuery.browser.msie && a < 8)) { jQuery("#TB_window").css({ marginTop: "-" + parseInt((TB_HEIGHT / 2), 10) + "px" }) } } function tb_parseQuery(d) { var e = {}; if (!d) { return e } var a = d.split(/[;&]/); for (var c = 0; c < a.length; c++) { var g = a[c].split("="); if (!g || g.length != 2) { continue } var b = unescape(g[0]); var f = unescape(g[1]); f = f.replace(/\+/g, " "); e[b] = f } return e } function tb_getPageSize() { var c = document.documentElement; var a = window.innerWidth || self.innerWidth || (c && c.clientWidth) || document.body.clientWidth; var b = window.innerHeight || self.innerHeight || (c && c.clientHeight) || document.body.clientHeight; arrayPageSize = [a, b]; return arrayPageSize } function tb_detectMacXFF() { var a = navigator.userAgent.toLowerCase(); if (a.indexOf("mac") != -1 && a.indexOf("firefox") != -1) { return true } };

/* bgiframe Version 2.1.2 */
(function(a) { a.fn.bgiframe = (a.browser.msie && /msie 6\.0/i.test(navigator.userAgent) ? function(d) { d = a.extend({ top: "auto", left: "auto", width: "auto", height: "auto", opacity: true, src: "javascript:false;" }, d); var c = '<iframe class="bgiframe"frameborder="0"tabindex="-1"src="' + d.src + '"style="display:block;position:absolute;z-index:-1;' + (d.opacity !== false ? "filter:Alpha(Opacity='0');" : "") + "top:" + (d.top == "auto" ? "expression(((parseInt(this.parentNode.currentStyle.borderTopWidth)||0)*-1)+'px')" : b(d.top)) + ";left:" + (d.left == "auto" ? "expression(((parseInt(this.parentNode.currentStyle.borderLeftWidth)||0)*-1)+'px')" : b(d.left)) + ";width:" + (d.width == "auto" ? "expression(this.parentNode.offsetWidth+'px')" : b(d.width)) + ";height:" + (d.height == "auto" ? "expression(this.parentNode.offsetHeight+'px')" : b(d.height)) + ';"/>'; return this.each(function() { if (a(this).children("iframe.bgiframe").length === 0) { this.insertBefore(document.createElement(c), this.firstChild) } }) } : function() { return this }); a.fn.bgIframe = a.fn.bgiframe; function b(c) { return c && c.constructor === Number ? c + "px" : c } })(jQuery);

/* labelify - version 2.0 */
(function(a) { a.fn.labelify = function(f) { if (typeof f === "string" && f === "hasLabel") { return jQuery(this).data("hasLabel") } var b, e, d, g, h, i, c; c = a.extend({ text: "title", labeledClass: "" }, f); if (c.labelledClass) { c.labeledClass = c.labelledClass } g = { title: function(j) { return a(j).attr("title") }, label: function(j) { return a("label[for=" + j.id + "]").text() } }; i = a(this); b = function(j) { a(j).addClass(c.labeledClass).data("hasLabel", true); j.value = a(j).data("label") }; e = function(j) { j.value = ""; a(j).removeClass(c.labeledClass).data("hasLabel", false) }; d = function(j) { c.labeledClass }; return a(this).each(function() { var j = a(this), k; if (typeof c.text === "string") { h = g[c.text] } else { h = c.text } if (typeof h !== "function" || !h(this)) { return } j.bind("focus.label", function() { if (this.value.replace(/\n/g, "\r") === a(this).data("label")) { e(this) } }).bind("blur.label", function() { if (this.value === "") { b(this) } }).data("label", h(this).replace(/\n/g, "")); k = function() { i.each(function() { if (this.value.replace(/\n/g, "\r") === a(this).data("label")) { e(this) } }) }; j.parents("form").submit(k); a(window).unload(k); if (this.value !== "") { return } b(this) }) }; a.fn.extend({ serializeArray: function() { return this.map(function() { return this.elements ? jQuery.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, d) { var c = jQuery(this); var e = c.labelify("hasLabel") ? "" : c.val(); return e == null ? null : jQuery.isArray(e) ? jQuery.map(e, function(g, f) { return { name: d.name, value: g} }) : { name: d.name, value: e} }).get() } }) })(jQuery);

/*	ColorBox v1.3.7 */
(function(c) { function o(b, d) { d = d === "x" ? n.width() : n.height(); return typeof b === "string" ? Math.round(b.match(/%/) ? d / 100 * parseInt(b, 10) : parseInt(b, 10)) : b } function K(b) { b = c.isFunction(b) ? b.call(h) : b; return a.photo || b.match(/\.(gif|png|jpg|jpeg|bmp)(?:\?([^#]*))?(?:#(\.*))?$/i) } function Y() { for (var b in a) if (c.isFunction(a[b]) && b.substring(0, 2) !== "on") a[b] = a[b].call(h); a.rel = a.rel || h.rel || "nofollow"; a.href = a.href || c(h).attr("href"); a.title = a.title || h.title } function Z(b) { h = b; a = c.extend({}, c(h).data(s)); Y(); if (a.rel !== "nofollow") { j = c(".cboxElement").filter(function() { return (c(this).data(s).rel || this.rel) === a.rel }); g = j.index(h); if (g < 0) { j = j.add(h); g = j.length - 1 } } else { j = c(h); g = 0 } if (!q) { A = q = l; L = h; try { L.blur() } catch (d) { } c.event.trigger(ba); a.onOpen && a.onOpen.call(h); r.css({ opacity: parseFloat(a.opacity), cursor: a.overlayClose ? "pointer" : "auto" }).show(); a.w = o(a.initialWidth, "x"); a.h = o(a.initialHeight, "y"); e.position(0); M && n.bind("resize.cboxIE6 scroll.cboxIE6", function() { r.css({ width: n.width(), height: n.height(), top: n.scrollTop(), left: n.scrollLeft() }) }).trigger("scroll.cboxIE6") } N.add(E).add(F).add(t).add(O).hide(); P.html(a.close).show(); e.slideshow(); e.load() } var s = "colorbox", l = true, e, B = c.browser.msie && !c.support.opacity, M = B && c.browser.version < 7, ba = "cbox_open", I = "cbox_load", Q = "cbox_complete", r, k, x, p, R, S, T, U, j, n, m, J, G, O, N, t, F, E, P, y, z, u, v, h, L, g, a, q, A, $ = { transition: "elastic", speed: 350, width: false, height: false, innerWidth: false, innerHeight: false, initialWidth: "400", initialHeight: "400", maxWidth: false, maxHeight: false, scalePhotos: l, scrolling: l, inline: false, html: false, iframe: false, photo: false, href: false, title: false, rel: false, opacity: 0.9, preloading: l, current: "image {current} of {total}", previous: "previous", next: "next", close: "close", open: false, overlayClose: l, loop: l, slideshow: false, slideshowAuto: l, slideshowSpeed: 2500, slideshowStart: "start slideshow", slideshowStop: "stop slideshow", onOpen: false, onLoad: false, onComplete: false, onCleanup: false, onClosed: false, escKey: l, arrowKey: l }; e = c.fn.colorbox = c.colorbox = function(b, d) { var f = this; if (f.selector && !f.length) return f; b = b || {}; if (d) b.onComplete = d; if (!f.length || f.selector === undefined) { f = c("<a/>"); b.open = l } f.each(function() { c(this).data(s, c.extend({}, c(this).data(s) || $, b)).addClass("cboxElement") }); b.open && Z(f[0]); return f }; e.init = function() { function b(d) { return c('<div id="cbox' + d + '"/>') } n = c(window); k = c('<div id="colorbox"/>'); r = b("Overlay").hide(); x = b("Wrapper"); p = b("Content").append(m = b("LoadedContent").css({ width: 0, height: 0 }), G = b("LoadingOverlay").add(b("LoadingGraphic")), O = b("Title"), N = b("Current"), F = b("Next"), E = b("Previous"), t = b("Slideshow"), P = b("Close")); x.append(c("<div/>").append(b("TopLeft"), R = b("TopCenter"), b("TopRight")), c("<div/>").append(S = b("MiddleLeft"), p, T = b("MiddleRight")), c("<div/>").append(b("BottomLeft"), U = b("BottomCenter"), b("BottomRight"))).children().children().css({ "float": "left" }); J = c("<div id='cboxLoadingBay' style='position:absolute; width:9999px;'/>"); c("body").prepend(r, k.append(x, J)); if (B) { k.addClass("cboxIE"); M && r.css("position", "absolute") } p.children().hover(function() { c(this).addClass("hover") }, function() { c(this).removeClass("hover") }).addClass("hover"); y = R.height() + U.height() + p.outerHeight(l) - p.height(); z = S.width() + T.width() + p.outerWidth(l) - p.width(); u = m.outerHeight(l); v = m.outerWidth(l); k.css({ "padding-bottom": y, "padding-right": z }).hide(); F.click(e.next); E.click(e.prev); P.click(e.close); p.children().removeClass("hover"); c(".cboxElement").live("click", function(d) { if (d.button !== 0 && typeof d.button !== "undefined" || d.ctrlKey || d.shiftKey || d.altKey) return l; else { Z(this); return false } }); r.click(function() { a.overlayClose && e.close() }); c(document).bind("keydown", function(d) { if (q && a.escKey && d.keyCode === 27) { d.preventDefault(); e.close() } if (q && a.arrowKey && !A && j.length > 1) if (d.keyCode === 37 && (g > 0 || a.loop)) { d.preventDefault(); E.click() } else if (d.keyCode === 39 && (g < j.length - 1 || a.loop)) { d.preventDefault(); F.click() } }) }; e.remove = function() { k.add(r).remove(); c(".cboxElement").removeData(s).removeClass("cboxElement") }; e.position = function(b, d) { function f(C) { R[0].style.width = U[0].style.width = p[0].style.width = C.style.width; G[0].style.height = G[1].style.height = p[0].style.height = S[0].style.height = T[0].style.height = C.style.height } var i, w = Math.max(n.height() - a.h - u - y, 0) / 2 + n.scrollTop(), H = Math.max(n.width() - a.w - v - z, 0) / 2 + n.scrollLeft(); i = k.width() === a.w + v && k.height() === a.h + u ? 0 : b; x[0].style.width = x[0].style.height = "9999px"; k.dequeue().animate({ width: a.w + v, height: a.h + u, top: w, left: H }, { duration: i, complete: function() { f(this); A = false; x[0].style.width = a.w + v + z + "px"; x[0].style.height = a.h + u + y + "px"; d && d() }, step: function() { f(this) } }) }; e.resize = function(b) { if (q) { b = b || {}; if (b.width) a.w = o(b.width, "x") - v - z; if (b.innerWidth) a.w = o(b.innerWidth, "x"); m.css({ width: a.w }); if (b.height) a.h = o(b.height, "y") - u - y; if (b.innerHeight) a.h = o(b.innerHeight, "y"); if (!b.innerHeight && !b.height) { b = m.wrapInner("<div style='overflow:auto'></div>").children(); a.h = b.height(); b.replaceWith(b.children()) } m.css({ height: a.h }); e.position(a.transition === "none" ? 0 : a.speed) } }; e.prep = function(b) { function d(w) { var H, C, V, W, D = j.length, X = a.loop; e.position(w, function() { function aa() { B && k[0].style.removeAttribute("filter") } if (q) { B && f && m.fadeIn(100); if (a.iframe) c("<iframe frameborder=0" + (a.scrolling ? "" : " scrolling='no'") + (B ? " allowtransparency='true'" : "") + "/>").appendTo(m).attr({ src: a.href, id: "cboxIframe", name: (new Date).getTime() }); m.show(); O.show().html(a.title); if (D > 1) { N.html(a.current.replace(/\{current\}/, g + 1).replace(/\{total\}/, D)).show(); F[X || g < D - 1 ? "show" : "hide"]().html(a.next); E[X || g > 0 ? "show" : "hide"]().html(a.previous); H = g > 0 ? j[g - 1] : j[D - 1]; V = g < D - 1 ? j[g + 1] : j[0]; if (a.slideshow) { t.show(); g === D - 1 && !X && k.is(".cboxSlideshow_on") && t.click() } if (a.preloading) { W = c(V).data(s).href || V.href; C = c(H).data(s).href || H.href; if (K(W)) c("<img/>")[0].src = W; if (K(C)) c("<img/>")[0].src = C } } G.hide(); a.transition === "fade" ? k.fadeTo(i, 1, function() { aa() }) : aa(); n.bind("resize.cbox", function() { e.position(0) }); c.event.trigger(Q); a.onComplete && a.onComplete.call(h) } }) } if (q) { var f, i = a.transition === "none" ? 0 : a.speed; n.unbind("resize.cbox"); m.remove(); m = c('<div id="cboxLoadedContent"/>').html(b); m.hide().appendTo(J).css({ width: function() { a.w = a.w || m.width(); a.w = a.mw && a.mw < a.w ? a.mw : a.w; return a.w } (), overflow: a.scrolling ? "auto" : "hidden" }).css({ height: function() { a.h = a.h || m.height(); a.h = a.mh && a.mh < a.h ? a.mh : a.h; return a.h } () }).prependTo(p); c("#cboxPhoto").css({ cssFloat: "none" }); M && c("select:not(#colorbox select)").filter(function() { return this.style.visibility !== "hidden" }).css({ visibility: "hidden" }).one("cbox_cleanup", function() { this.style.visibility = "inherit" }); a.transition === "fade" ? k.fadeTo(i, 0, function() { d(0) }) : d(i) } }; e.load = function() { var b, d, f, i = e.prep; A = l; h = j[g]; a = c.extend({}, c(h).data(s)); Y(); c.event.trigger(I); a.onLoad && a.onLoad.call(h); a.h = a.height ? o(a.height, "y") - u - y : a.innerHeight ? o(a.innerHeight, "y") : false; a.w = a.width ? o(a.width, "x") - v - z : a.innerWidth ? o(a.innerWidth, "x") : false; a.mw = a.w; a.mh = a.h; if (a.maxWidth) { a.mw = o(a.maxWidth, "x") - v - z; a.mw = a.w && a.w < a.mw ? a.w : a.mw } if (a.maxHeight) { a.mh = o(a.maxHeight, "y") - u - y; a.mh = a.h && a.h < a.mh ? a.h : a.mh } b = a.href; G.show(); if (a.inline) { c('<div id="cboxInlineTemp"/>').hide().insertBefore(c(b)[0]).bind(I + " cbox_cleanup", function() { c(this).replaceWith(m.children()) }); i(c(b)) } else if (a.iframe) i(" "); else if (a.html) i(a.html); else if (K(b)) { d = new Image; d.onload = function() { var w; d.onload = null; d.id = "cboxPhoto"; c(d).css({ margin: "auto", border: "none", display: "block", cssFloat: "left" }); if (a.scalePhotos) { f = function() { d.height -= d.height * w; d.width -= d.width * w }; if (a.mw && d.width > a.mw) { w = (d.width - a.mw) / d.width; f() } if (a.mh && d.height > a.mh) { w = (d.height - a.mh) / d.height; f() } } if (a.h) d.style.marginTop = Math.max(a.h - d.height, 0) / 2 + "px"; i(d); j.length > 1 && c(d).css({ cursor: "pointer" }).click(e.next); if (B) d.style.msInterpolationMode = "bicubic" }; d.src = b } else c("<div>Request unsuccessful.</div>").appendTo(J).load(b, function() { i(this) }) }; e.next = function() { if (!A) { g = g < j.length - 1 ? g + 1 : 0; e.load() } }; e.prev = function() { if (!A) { g = g > 0 ? g - 1 : j.length - 1; e.load() } }; e.slideshow = function() { function b() { t.text(a.slideshowStop).bind(Q, function() { f = setTimeout(e.next, a.slideshowSpeed) }).bind(I, function() { clearTimeout(f) }).one("click", function() { d() }); k.removeClass(i + "off").addClass(i + "on") } var d, f, i = "cboxSlideshow_"; t.bind("cbox_closed", function() { t.unbind(); clearTimeout(f); k.removeClass(i + "off " + i + "on") }); d = function() { clearTimeout(f); t.text(a.slideshowStart).unbind(Q + " " + I).one("click", function() { b(); f = setTimeout(e.next, a.slideshowSpeed) }); k.removeClass(i + "on").addClass(i + "off") }; if (a.slideshow && j.length > 1) a.slideshowAuto ? b() : d() }; e.close = function() { if (q) { q = false; c.event.trigger("cbox_cleanup"); a.onCleanup && a.onCleanup.call(h); n.unbind(".cbox .cboxIE6"); k.add(r).stop().fadeTo("fast", 0, function() { c("#colorbox iframe").attr("src", "about:blank"); m.remove(); k.add(r).css({ opacity: 1, cursor: "auto" }).hide(); try { L.focus() } catch (b) { } setTimeout(function() { c.event.trigger("cbox_closed"); a.onClosed && a.onClosed.call(h) }, 1) }) } }; e.element = function() { return c(h) }; e.settings = $; c(e.init) })(jQuery);

/* matchDimensions - version 0.1 */
(function($) { $.fn.matchDimensions = function(customOptions) { var options = $.extend({}, $.fn.matchDimensions.defaultOptions, customOptions); var minHeight = options.minHeight; var minWidth = options.minWidth; var matchHeight = options.matchHeight; var matchWidth = options.matchWidth; this.each(function() { var h = $(this).height(); var w = $(this).width(); minHeight = (h > minHeight) ? h : minHeight; minWidth = (w > minWidth) ? w : minWidth }); if (matchHeight) { this.height(minHeight) } if (matchWidth) { this.width(minWidth) } }; $.fn.matchDimensions.defaultOptions = { matchHeight: true, matchWidth: false, minHeight: 120, minWidth: 120} })(jQuery);

/* Conversion Ruler -- Copyright (C) 2009,Market Acumen,Inc. All Rights Reserved. Updated: 2009-07-08 15:06:27 */var siteid = 2412; var dD = document; var CRCookie = ''; var CRCrossCode = ''; var CRLandingCode = ''; var CRLandTime = false; var CRMemory = ''; var CRActionMinutes = 15, CRScript = false, CRNoLand = '', _cRd = (dD.URL.indexOf('crtest=1') >= 0), _cRY = false, _cRT = false, _cRS = false, _cRI = {}, _cRaa = (dD.URL.indexOf('https') >= 0) ? 's' : '', _ud = 'undefined', _cRe = false, _cRab = 0; var okay = true; var valid = true; function tlitrack(a, b, c, d, e) { cr_track(a, b, c, d, e); } try { if (typeof top.document.URL != _ud) { _cRab = 1; } } catch (e) { } if (!_cRd && _cRab) { _cRd = (top.document.URL.indexOf('crtest=1') >= 0); }
function _c1() { if (!dD.getElementsByTagName || !dD.createElement) { return null; } var h = dD.getElementsByTagName("head"); if (h.length > 0) { return h[0]; } var e = dD.createElement("HEAD"); dD.appendChild(e); return e; } var _c0 = _c1(); function _c2(u) { var n = _cR0(); var t; if (_c0) { t = 's'; var x = dD.createElement("SCRIPT"); x.type = "text/javascript"; x.charset = "utf-8"; x.src = u + "&isjs=1&_r=" + n; x.onload = function() { if (_cRd) { alert('s:' + x.src); } }; _c0.appendChild(x); } else { t = 'i'; _cRI[n] = new Image(); _cRI[n].onload = function() { if (_cRd) { alert('i:' + u); } }; _cRI[n].src = u + "&_r=" + n; } if (_cRd) { alert('ConversionRuler: Recording ' + t + ' ' + u); } }
function _cR0() { var n = new Date(); return (Math.random() + '').substring(2, 12) + n.getTime() + n.getMilliseconds(); }
function _cRf(n, d) { var c = dD.cookie; var s = c.indexOf(n + '='); if (s < 0) { return d; } s += n.length + 1; var e = c.indexOf(';', s); if (e < 0) { e = c.length; } return unescape(c.substring(s, e)); }
function CR_QS(n) { var d = arguments.length > 1 ? arguments[1] : null; var q = location.search; if (q.substring(0, 1) == "?") q = q.substring(1); q = q.split("&"); var p; n = n.toLowerCase(); for (var i = 0; i < q.length; i++) { p = q[i].split("=", 2); if (p.length == 2 && p[0].toLowerCase() == n) { return unescape(p[1]); } } return d; }
function _cRt(n, v) { var d = new Date(); if (CRActionMinutes < 0) { d.setFullYear(2020); } else if (CRActionMinutes > 0) { var dd = parseInt(CRActionMinutes * 60000); d.setTime(d.getTime() + dd); } dD.cookie = n + "=" + escape(v) + ';path=/;expires=' + d.toGMTString(); }
function _cRa() { var t = siteid + 'mem'; var u = "http" + _cRaa + "://www.conversionruler.com/bin/tracker.php?siteid=" + siteid + "&cr_no=1&cr_m=" + escape(CRMemory); _cRI[t] = new Image(); _cRI[t].onload = _cRb; _cRI[t].src = u; _cRS = false; }
function _cRy(x, def) { if (_cRr(x, null) == null) { return def; } var r = new RegExp('[^0-9.]', 'g'); x = "" + x; x = x.replace(r, ''); return (x != '') ? x : def; }
function _cRr(x, def) { x = '' + x; return (x === _ud || x === 'null') ? def : x; }
function _cRl(x, f, d) { var i = x.indexOf(f); return (i >= 0) ? x.substring(0, i) : d; }
function _cRq(x, f, d) { var i = x.indexOf(f); return (i >= 0) ? x.substring(i + f.length) : d; }
function _cRp(n, v) { v = _cRr(v, ""); return (v == "") ? "" : "&" + n + "=" + escape(v); }
function _cRb() { }
function _cRc(uds, v, s0, s1) { var r = true; if (_cRd && !CRScript) { v = 'js-not-called'; r = false; } else if (v == '') { if (uds == '') { return false; } v = uds; r = false; } dD.write(s0 + v + s1); return r; }
function _cRm(n, a, f, v) { var uds = (a.length > f) ? a[f++] : ''; return _cRc(uds, v, '<input type="hidden" name="' + n + '" value="', '" />'); }
function _cRn(a, f, v) { var s0 = (a.length > f) ? a[f++] : ''; var s1 = (a.length > f) ? a[f++] : ''; var uds = (a.length > f) ? a[f++] : ''; return _cRc(uds, v, s0, s1); }
function _cRh() { var _s = screen; if (_s && _s.width && _s.height) { var x = _s.width + "x" + _s.height; if (_s.colorDepth) { return x + "-" + _s.colorDepth; } if (_s.pixelDepth) { return x + "-" + _s.pixelDepth; } return x; } return ""; }
function _cRj() { var n = navigator; return (n && n.javaEnabled()) ? '1' : '0'; }
function _cRi(d) { var k = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"; return k.charAt(d.getFullYear() - 2000) + k.charAt(d.getMonth() + 1) + k.charAt(d.getDate()) + k.charAt(d.getHours()) + k.charAt(d.getMinutes()) + k.charAt(d.getSeconds()); }
function _cRk() { var now = new Date(); var qs = _cRp("ct", _cRi(now)); if (now.getTimezoneOffset) { qs = qs + _cRp("gmto", now.getTimezoneOffset()); } return qs; }
function _cRx() { if (_cRab) { return top.document.URL; } return ''; }
function _cRs() { var r = window.document.referrer; if (_cRab) { var u = _cRp("refb", top.document.referrer); if (dD.URL == top.document.URL) { return u; } return u + _cRp("tu", top.document.URL); } else { return _cRp("refb", r); } }
function _cRw(x, i, c) { if (x.length < i + 1) { return x; } return x.substr(0, i) + c + x.substr(i + 1, x.length - i - 1); }
function _cRv(x) { var i, j0, j1, c0, c1, temp, r, c = "0123456789ABCDEF"; x = '' + x; r = "13579BDFECA86420"; for (i = 0; i < x.length; i++) { j0 = i & 15; j1 = (i + 1) & 15; c0 = (x.charCodeAt(i) >> 4) & 15; c1 = (x.charCodeAt(i)) & 15; r = _cRw(r, j0, c.charAt(((c.indexOf(r.charAt(j0)) ^ c0) + x.length + i + 19) & 15)); r = _cRw(r, j1, c.charAt(((c.indexOf(r.charAt(j1)) ^ c1) + x.length + i + 39) & 15)); } return r; }
function _cRu(siteid, a, a0r, a0d, a1r, a1d, a2r, a2d, a3r, a3d) { var cn = "CR_" + siteid + "_" + a; var cc = _cRv(a0r + "|" + a0d + "|" + a1r + "|" + a1d + "|" + a2r + "|" + a2d + "|" + a3r + "|" + a3d + "|" + _cRx() + "|" + dD.URL); var cv = _cRf(cn, false); var w = window; if (cv == cc) { if (_cRd) { alert("ConversionRuler: Recording anyway"); } else if (!_cRe) { return false; } } _cRt(cn, cc); var i, aul = '', aulv = ['category', 'source', 'campaign', 'keyword', 'split', 'amount', 'text']; for (i = 0; i < 8; i++) { aulv[aulv.length] = '' + i; } for (i = 0; i < 4; i++) { aulv[aulv.length] = 'split' + i; } for (i = 0; i < aulv.length; i++) { aul += _cRp('cr' + aulv[i], w['cr' + aulv[i]]); } var amts = [a0r, a1r, a2r, a3r]; var txts = [a0d, a1d, a2d, a3d]; for (i = 0; i < 4; i++) { var n = 'cramount' + i; aul += _cRp(n, amts[i] || w[n]); n = 'crtext' + i; aul += _cRp(n, txts[i] || w[n]); } var n = navigator; var qs = "?siteid=" + siteid + "&actn=" + a + _cRs() + _cRp("referer", dD.URL) + aul + _cRp('ti', dD.title) + _cRp('l', n.userLanguage || n.language) + _cRp('sc', _cRh()) + _cRp('j', _cRj()) + _cRk() + _cRp('noland', CRNoLand) + (_cRY ? _cRp("cr_m", CRMemory) : "") + "&v=2158"; return "http" + _cRaa + "://www.conversionruler.com/bin/tracker.php" + qs; }
function CRMemory_Set(i, v) { if (i < 0 || i > 16) { return false; } var om = CRMemory; var a = CRMemory.split('|'); a[i] = v; CRMemory = a.join('|'); if (CRMemory != om) { _cRY = true; if (_cRT && !_cRS) { _cRS = setTimeout('_cRa', 500); } return true; } return false; }
function CRMemory_Get(i) { var d = (arguments.length > 1) ? arguments[1] : ''; if (i < 0 || i > 16) { return d; } var om = CRMemory; var a = CRMemory.split('|'); if (typeof a[i] == _ud) { return d; } if (a[i] == '') { return d; } return a[i]; }
function CRMemory_HiddenInput(i, n/*,uds */) { return _cRm(n, arguments, 2, CRMemory_Get(i)); }
function CRMemory_Output(i/*,s0,s1,uds */) { return _cRn(arguments, 1, CRMemory_Get(i)); }
function cr_link(w, a, b, c, d, e, f, g, h, i) { setTimeout(function() { cr_track(a, b, c, d, e, f, g, h, i); }, 5); setTimeout(function() { document.location = w.href; }, 100); return false; }
function cr_track(a, a0r, a0d, a1r, a1d, a2r, a2d, a3r, a3d) { var u; if (typeof (siteid) == _ud) { if (_cRd) { alert("ConversionRuler: No site id specified."); } return true; } a = _cRr(a, 0); a0r = _cRy(a0r, ""); a0d = _cRr(a0d, ""); a1r = _cRy(a1r, ""); a1d = _cRr(a1d, ""); u = _cRu(siteid, a, a0r, a0d, a1r, a1d, a2r, a2d, a3r, a3d); if (!u) { if (_cRd) { alert('ConversionRuler: Already recorded this page'); } return true; } _c2(u); _cRT = true; return true; } if (typeof CRMemory_0 != _ud) { CRMemory_Set(0, CRMemory_0); } if (typeof CRMemory_1 != _ud) { CRMemory_Set(1, CRMemory_1); } if (typeof CRMemory_2 != _ud) { CRMemory_Set(2, CRMemory_2); } if (typeof CRMemory_3 != _ud) { CRMemory_Set(3, CRMemory_3); }

/* Google Analytics */
var _gat=new Object({c:"length",lb:"4.3.1",m:"cookie",b:undefined,cb:function(d,a){this.zb=d;this.Nb=a},r:"__utma=",W:"__utmb=",ma:"__utmc=",Ta:"__utmk=",na:"__utmv=",oa:"__utmx=",Sa:"GASO=",X:"__utmz=",lc:"http://www.google-analytics.com/__utm.gif",mc:"https://ssl.google-analytics.com/__utm.gif",Wa:"utmcid=",Ya:"utmcsr=",$a:"utmgclid=",Ua:"utmccn=",Xa:"utmcmd=",Za:"utmctr=",Va:"utmcct=",Hb:false,_gasoDomain:undefined,_gasoCPath:undefined,e:window,a:document,k:navigator,t:function(d){var a=1,c=0,h,
o;if(!_gat.q(d)){a=0;for(h=d[_gat.c]-1;h>=0;h--){o=d.charCodeAt(h);a=(a<<6&268435455)+o+(o<<14);c=a&266338304;a=c!=0?a^c>>21:a}}return a},C:function(d,a,c){var h=_gat,o="-",k,l,s=h.q;if(!s(d)&&!s(a)&&!s(c)){k=h.w(d,a);if(k>-1){l=d.indexOf(c,k);if(l<0)l=d[h.c];o=h.F(d,k+h.w(a,"=")+1,l)}}return o},Ea:function(d){var a=false,c=0,h,o;if(!_gat.q(d)){a=true;for(h=0;h<d[_gat.c];h++){o=d.charAt(h);c+="."==o?1:0;a=a&&c<=1&&(0==h&&"-"==o||_gat.P(".0123456789",o))}}return a},d:function(d,a){var c=encodeURIComponent;
return c instanceof Function?(a?encodeURI(d):c(d)):escape(d)},J:function(d,a){var c=decodeURIComponent,h;d=d.split("+").join(" ");if(c instanceof Function)try{h=a?decodeURI(d):c(d)}catch(o){h=unescape(d)}else h=unescape(d);return h},Db:function(d){return d&&d.hash?_gat.F(d.href,_gat.w(d.href,"#")):""},q:function(d){return _gat.b==d||"-"==d||""==d},Lb:function(d){return d[_gat.c]>0&&_gat.P(" \n\r\t",d)},P:function(d,a){return _gat.w(d,a)>-1},h:function(d,a){d[d[_gat.c]]=a},T:function(d){return d.toLowerCase()},
z:function(d,a){return d.split(a)},w:function(d,a){return d.indexOf(a)},F:function(d,a,c){c=_gat.b==c?d[_gat.c]:c;return d.substring(a,c)},uc:function(){var d=_gat.b,a=window;if(a&&a.gaGlobal&&a.gaGlobal.hid)d=a.gaGlobal.hid;else{d=Math.round(Math.random()*2147483647);a.gaGlobal=a.gaGlobal?a.gaGlobal:{};a.gaGlobal.hid=d}return d},wa:function(){return Math.round(Math.random()*2147483647)},Gc:function(){return(_gat.wa()^_gat.vc())*2147483647},vc:function(){var d=_gat.k,a=_gat.a,c=_gat.e,h=a[_gat.m]?
a[_gat.m]:"",o=c.history[_gat.c],k,l,s=[d.appName,d.version,d.language?d.language:d.browserLanguage,d.platform,d.userAgent,d.javaEnabled()?1:0].join("");if(c.screen)s+=c.screen.width+"x"+c.screen.height+c.screen.colorDepth;else if(c.java){l=java.awt.Toolkit.getDefaultToolkit().getScreenSize();s+=l.screen.width+"x"+l.screen.height}s+=h;s+=a.referrer?a.referrer:"";k=s[_gat.c];while(o>0)s+=o--^k++;return _gat.t(s)}});_gat.hc=function(){var d=this,a=_gat.cb;function c(h,o){return new a(h,o)}d.db="utm_campaign";d.eb="utm_content";d.fb="utm_id";d.gb="utm_medium";d.hb="utm_nooverride";d.ib="utm_source";d.jb="utm_term";d.kb="gclid";d.pa=0;d.I=0;d.wb="15768000";d.Tb="1800";d.ea=[];d.ga=[];d.Ic="cse";d.Gb="q";d.ab="google";d.fa=[c(d.ab,d.Gb),c("yahoo","p"),c("msn","q"),c("bing","q"),c("aol","query"),c("aol","encquery"),c("lycos","query"),c("ask","q"),c("altavista","q"),c("netscape","query"),c("cnn","query"),c("looksmart","qt"),c("about",
"terms"),c("mamma","query"),c("alltheweb","q"),c("gigablast","q"),c("voila","rdata"),c("virgilio","qs"),c("live","q"),c("baidu","wd"),c("alice","qs"),c("yandex","text"),c("najdi","q"),c("aol","q"),c("club-internet","query"),c("mama","query"),c("seznam","q"),c("search","q"),c("wp","szukaj"),c("onet","qt"),c("netsprint","q"),c("google.interia","q"),c("szukacz","q"),c("yam","k"),c("pchome","q"),c("kvasir","searchExpr"),c("sesam","q"),c("ozu","q"),c("terra","query"),c("nostrum","query"),c("mynet","q"),
c("ekolay","q"),c("search.ilse","search_for")];d.B=undefined;d.Kb=false;d.p="/";d.ha=100;d.Da="/__utm.gif";d.ta=1;d.ua=1;d.G="|";d.sa=1;d.qa=1;d.pb=1;d.g="auto";d.D=1;d.Ga=1000;d.Yc=10;d.nc=10;d.Zc=0.2};_gat.Y=function(d,a){var c,h,o,k,l,s,q,f=this,n=_gat,w=n.q,x=n.c,g,z=a;f.a=d;function B(i){var b=i instanceof Array?i.join("."):"";return w(b)?"-":b}function A(i,b){var e=[],j;if(!w(i)){e=n.z(i,".");if(b)for(j=0;j<e[x];j++)if(!n.Ea(e[j]))e[j]="-"}return e}function p(){return u(63072000000)}function u(i){var b=new Date,e=new Date(b.getTime()+i);return"expires="+e.toGMTString()+"; "}function m(i,b){f.a[n.m]=i+"; path="+z.p+"; "+b+f.Cc()}function r(i,b,e){var j=f.V,t,v;for(t=0;t<j[x];t++){v=j[t][0];
v+=w(b)?b:b+j[t][4];j[t][2](n.C(i,v,e))}}f.Jb=function(){return n.b==g||g==f.t()};f.Ba=function(){return l?l:"-"};f.Wb=function(i){l=i};f.Ma=function(i){g=n.Ea(i)?i*1:"-"};f.Aa=function(){return B(s)};f.Na=function(i){s=A(i)};f.Hc=function(){return g?g:"-"};f.Cc=function(){return w(z.g)?"":"domain="+z.g+";"};f.ya=function(){return B(c)};f.Ub=function(i){c=A(i,1)};f.K=function(){return B(h)};f.La=function(i){h=A(i,1)};f.za=function(){return B(o)};f.Vb=function(i){o=A(i,1)};f.Ca=function(){return B(k)};
f.Xb=function(i){k=A(i);for(var b=0;b<k[x];b++)if(b<4&&!n.Ea(k[b]))k[b]="-"};f.Dc=function(){return q};f.Uc=function(i){q=i};f.pc=function(){c=[];h=[];o=[];k=[];l=n.b;s=[];g=n.b};f.t=function(){var i="",b;for(b=0;b<f.V[x];b++)i+=f.V[b][1]();return n.t(i)};f.Ha=function(i){var b=f.a[n.m],e=false;if(b){r(b,i,";");f.Ma(f.t());e=true}return e};f.Rc=function(i){r(i,"","&");f.Ma(n.C(i,n.Ta,"&"))};f.Wc=function(){var i=f.V,b=[],e;for(e=0;e<i[x];e++)n.h(b,i[e][0]+i[e][1]());n.h(b,n.Ta+f.t());return b.join("&")};
f.bd=function(i,b){var e=f.V,j=z.p,t;f.Ha(i);z.p=b;for(t=0;t<e[x];t++)if(!w(e[t][1]()))e[t][3]();z.p=j};f.dc=function(){m(n.r+f.ya(),p())};f.Pa=function(){m(n.W+f.K(),u(z.Tb*1000))};f.ec=function(){m(n.ma+f.za(),"")};f.Ra=function(){m(n.X+f.Ca(),u(z.wb*1000))};f.fc=function(){m(n.oa+f.Ba(),p())};f.Qa=function(){m(n.na+f.Aa(),p())};f.cd=function(){m(n.Sa+f.Dc(),"")};f.V=[[n.r,f.ya,f.Ub,f.dc,"."],[n.W,f.K,f.La,f.Pa,""],[n.ma,f.za,f.Vb,f.ec,""],[n.oa,f.Ba,f.Wb,f.fc,""],[n.X,f.Ca,f.Xb,f.Ra,"."],[n.na,
f.Aa,f.Na,f.Qa,"."]]};_gat.jc=function(d){var a=this,c=_gat,h=d,o,k=function(l){var s=(new Date).getTime(),q;q=(s-l[3])*(h.Zc/1000);if(q>=1){l[2]=Math.min(Math.floor(l[2]*1+q),h.nc);l[3]=s}return l};a.O=function(l,s,q,f,n,w,x){var g,z=h.D,B=q.location;if(!o)o=new c.Y(q,h);o.Ha(f);g=c.z(o.K(),".");if(g[1]<500||n){if(w)g=k(g);if(n||!w||g[2]>=1){if(!n&&w)g[2]=g[2]*1-1;g[1]=g[1]*1+1;l="?utmwv="+_gat.lb+"&utmn="+c.wa()+(c.q(B.hostname)?"":"&utmhn="+c.d(B.hostname))+(h.ha==100?"":"&utmsp="+c.d(h.ha))+l;if(0==z||2==z){var A=
new Image(1,1);A.src=h.Da+l;var p=2==z?function(){}:x||function(){};A.onload=p}if(1==z||2==z){var u=new Image(1,1);u.src=("https:"==B.protocol?c.mc:c.lc)+l+"&utmac="+s+"&utmcc="+a.wc(q,f);u.onload=x||function(){}}}}o.La(g.join("."));o.Pa()};a.wc=function(l,s){var q=[],f=[c.r,c.X,c.na,c.oa],n,w=l[c.m],x;for(n=0;n<f[c.c];n++){x=c.C(w,f[n]+s,";");if(!c.q(x))c.h(q,f[n]+x+";")}return c.d(q.join("+"))}};_gat.i=function(){this.la=[]};_gat.i.bb=function(d,a,c,h,o,k){var l=this;l.cc=d;l.Oa=a;l.L=c;l.sb=h;l.Pb=o;l.Qb=k};_gat.i.bb.prototype.S=function(){var d=this,a=_gat.d;return"&"+["utmt=item","utmtid="+a(d.cc),"utmipc="+a(d.Oa),"utmipn="+a(d.L),"utmiva="+a(d.sb),"utmipr="+a(d.Pb),"utmiqt="+a(d.Qb)].join("&")};_gat.i.$=function(d,a,c,h,o,k,l,s){var q=this;q.v=d;q.ob=a;q.bc=c;q.ac=h;q.Yb=o;q.ub=k;q.$b=l;q.xb=s;q.ca=[]};_gat.i.$.prototype.mb=function(d,a,c,h,o){var k=this,l=k.Eb(d),s=k.v,q=_gat;if(q.b==
l)q.h(k.ca,new q.i.bb(s,d,a,c,h,o));else{l.cc=s;l.Oa=d;l.L=a;l.sb=c;l.Pb=h;l.Qb=o}};_gat.i.$.prototype.Eb=function(d){var a,c=this.ca,h;for(h=0;h<c[_gat.c];h++)a=d==c[h].Oa?c[h]:a;return a};_gat.i.$.prototype.S=function(){var d=this,a=_gat.d;return"&"+["utmt=tran","utmtid="+a(d.v),"utmtst="+a(d.ob),"utmtto="+a(d.bc),"utmttx="+a(d.ac),"utmtsp="+a(d.Yb),"utmtci="+a(d.ub),"utmtrg="+a(d.$b),"utmtco="+a(d.xb)].join("&")};_gat.i.prototype.nb=function(d,a,c,h,o,k,l,s){var q=this,f=_gat,n=q.xa(d);if(f.b==
n){n=new f.i.$(d,a,c,h,o,k,l,s);f.h(q.la,n)}else{n.ob=a;n.bc=c;n.ac=h;n.Yb=o;n.ub=k;n.$b=l;n.xb=s}return n};_gat.i.prototype.xa=function(d){var a,c=this.la,h;for(h=0;h<c[_gat.c];h++)a=d==c[h].v?c[h]:a;return a};_gat.gc=function(d){var a=this,c="-",h=_gat,o=d;a.Ja=screen;a.qb=!self.screen&&self.java?java.awt.Toolkit.getDefaultToolkit():h.b;a.a=document;a.e=window;a.k=navigator;a.Ka=c;a.Sb=c;a.tb=c;a.Ob=c;a.Mb=1;a.Bb=c;function k(){var l,s,q,f,n="ShockwaveFlash",w="$version",x=a.k?a.k.plugins:h.b;if(x&&x[h.c]>0)for(l=0;l<x[h.c]&&!q;l++){s=x[l];if(h.P(s.name,"Shockwave Flash"))q=h.z(s.description,"Shockwave Flash ")[1]}else{n=n+"."+n;try{f=new ActiveXObject(n+".7");q=f.GetVariable(w)}catch(g){}if(!q)try{f=
new ActiveXObject(n+".6");q="WIN 6,0,21,0";f.AllowScriptAccess="always";q=f.GetVariable(w)}catch(z){}if(!q)try{f=new ActiveXObject(n);q=f.GetVariable(w)}catch(z){}if(q){q=h.z(h.z(q," ")[1],",");q=q[0]+"."+q[1]+" r"+q[2]}}return q?q:c}a.xc=function(){var l;if(self.screen){a.Ka=a.Ja.width+"x"+a.Ja.height;a.Sb=a.Ja.colorDepth+"-bit"}else if(a.qb)try{l=a.qb.getScreenSize();a.Ka=l.width+"x"+l.height}catch(s){}a.Ob=h.T(a.k&&a.k.language?a.k.language:(a.k&&a.k.browserLanguage?a.k.browserLanguage:c));a.Mb=
a.k&&a.k.javaEnabled()?1:0;a.Bb=o?k():c;a.tb=h.d(a.a.characterSet?a.a.characterSet:(a.a.charset?a.a.charset:c))};a.Xc=function(){return"&"+["utmcs="+h.d(a.tb),"utmsr="+a.Ka,"utmsc="+a.Sb,"utmul="+a.Ob,"utmje="+a.Mb,"utmfl="+h.d(a.Bb)].join("&")}};_gat.n=function(d,a,c,h,o){var k=this,l=_gat,s=l.q,q=l.b,f=l.P,n=l.C,w=l.T,x=l.z,g=l.c;k.a=a;k.f=d;k.Rb=c;k.ja=h;k.o=o;function z(p){return s(p)||"0"==p||!f(p,"://")}function B(p){var u="";p=w(x(p,"://")[1]);if(f(p,"/")){p=x(p,"/")[1];if(f(p,"?"))u=x(p,"?")[0]}return u}function A(p){var u="";u=w(x(p,"://")[1]);if(f(u,"/"))u=x(u,"/")[0];return u}k.Fc=function(p){var u=k.Fb(),m=k.o;return new l.n.s(n(p,m.fb+"=","&"),n(p,m.ib+"=","&"),n(p,m.kb+"=","&"),k.ba(p,m.db,"(not set)"),k.ba(p,m.gb,"(not set)"),
k.ba(p,m.jb,u&&!s(u.R)?l.J(u.R):q),k.ba(p,m.eb,q))};k.Ib=function(p){var u=A(p),m=B(p);if(f(u,k.o.ab)){p=x(p,"?").join("&");if(f(p,"&"+k.o.Gb+"="))if(m==k.o.Ic)return true}return false};k.Fb=function(){var p,u,m=k.Rb,r,i,b=k.o.fa;if(z(m)||k.Ib(m))return;p=A(m);for(r=0;r<b[g];r++){i=b[r];if(f(p,w(i.zb))){m=x(m,"?").join("&");if(f(m,"&"+i.Nb+"=")){u=x(m,"&"+i.Nb+"=")[1];if(f(u,"&"))u=x(u,"&")[0];return new l.n.s(q,i.zb,q,"(organic)","organic",u,q)}}}};k.ba=function(p,u,m){var r=n(p,u+"=","&"),i=!s(r)?
l.J(r):(!s(m)?m:"-");return i};k.Nc=function(p){var u=k.o.ea,m=false,r,i;if(p&&"organic"==p.da){r=w(l.J(p.R));for(i=0;i<u[g];i++)m=m||w(u[i])==r}return m};k.Ec=function(){var p="",u="",m=k.Rb;if(z(m)||k.Ib(m))return;p=w(x(m,"://")[1]);if(f(p,"/")){u=l.F(p,l.w(p,"/"));if(f(u,"?"))u=x(u,"?")[0];p=x(p,"/")[0]}if(0==l.w(p,"www."))p=l.F(p,4);return new l.n.s(q,p,q,"(referral)","referral",q,u)};k.sc=function(p){var u="";if(k.o.pa){u=l.Db(p);u=""!=u?u+"&":u}u+=p.search;return u};k.zc=function(){return new l.n.s(q,
"(direct)",q,"(direct)","(none)",q,q)};k.Oc=function(p){var u=false,m,r,i=k.o.ga;if(p&&"referral"==p.da){m=w(l.d(p.ia));for(r=0;r<i[g];r++)u=u||f(m,w(i[r]))}return u};k.U=function(p){return q!=p&&p.Fa()};k.yc=function(p,u){var m="",r="-",i,b,e=0,j,t,v=k.f;if(!p)return"";t=k.a[l.m]?k.a[l.m]:"";m=k.sc(k.a.location);if(k.o.I&&p.Jb()){r=p.Ca();if(!s(r)&&!f(r,";")){p.Ra();return""}}r=n(t,l.X+v+".",";");i=k.Fc(m);if(k.U(i)){b=n(m,k.o.hb+"=","&");if("1"==b&&!s(r))return""}if(!k.U(i)){i=k.Fb();if(!s(r)&&
k.Nc(i))return""}if(!k.U(i)&&u){i=k.Ec();if(!s(r)&&k.Oc(i))return""}if(!k.U(i))if(s(r)&&u)i=k.zc();if(!k.U(i))return"";if(!s(r)){var y=x(r,"."),E=new l.n.s;E.Cb(y.slice(4).join("."));j=w(E.ka())==w(i.ka());e=y[3]*1}if(!j||u){var F=n(t,l.r+v+".",";"),I=F.lastIndexOf("."),G=I>9?l.F(F,I+1)*1:0;e++;G=0==G?1:G;p.Xb([v,k.ja,G,e,i.ka()].join("."));p.Ra();return"&utmcn=1"}else return"&utmcr=1"}};_gat.n.s=function(d,a,c,h,o,k,l){var s=this;s.v=d;s.ia=a;s.ra=c;s.L=h;s.da=o;s.R=k;s.vb=l};_gat.n.s.prototype.ka=
function(){var d=this,a=_gat,c=[],h=[[a.Wa,d.v],[a.Ya,d.ia],[a.$a,d.ra],[a.Ua,d.L],[a.Xa,d.da],[a.Za,d.R],[a.Va,d.vb]],o,k;if(d.Fa())for(o=0;o<h[a.c];o++)if(!a.q(h[o][1])){k=h[o][1].split("+").join("%20");k=k.split(" ").join("%20");a.h(c,h[o][0]+k)}return c.join("|")};_gat.n.s.prototype.Fa=function(){var d=this,a=_gat.q;return!(a(d.v)&&a(d.ia)&&a(d.ra))};_gat.n.s.prototype.Cb=function(d){var a=this,c=_gat,h=function(o){return c.J(c.C(d,o,"|"))};a.v=h(c.Wa);a.ia=h(c.Ya);a.ra=h(c.$a);a.L=h(c.Ua);a.da=
h(c.Xa);a.R=h(c.Za);a.vb=h(c.Va)};_gat.Z=function(){var d=this,a=_gat,c={},h="k",o="v",k=[h,o],l="(",s=")",q="*",f="!",n="'",w={};w[n]="'0";w[s]="'1";w[q]="'2";w[f]="'3";var x=1;function g(m,r,i,b){if(a.b==c[m])c[m]={};if(a.b==c[m][r])c[m][r]=[];c[m][r][i]=b}function z(m,r,i){return a.b!=c[m]&&a.b!=c[m][r]?c[m][r][i]:a.b}function B(m,r){if(a.b!=c[m]&&a.b!=c[m][r]){c[m][r]=a.b;var i=true,b;for(b=0;b<k[a.c];b++)if(a.b!=c[m][k[b]]){i=false;break}if(i)c[m]=a.b}}function A(m){var r="",i=false,b,e;for(b=0;b<k[a.c];b++){e=m[k[b]];if(a.b!=
e){if(i)r+=k[b];r+=p(e);i=false}else i=true}return r}function p(m){var r=[],i,b;for(b=0;b<m[a.c];b++)if(a.b!=m[b]){i="";if(b!=x&&a.b==m[b-1]){i+=b.toString();i+=f}i+=u(m[b]);a.h(r,i)}return l+r.join(q)+s}function u(m){var r="",i,b,e;for(i=0;i<m[a.c];i++){b=m.charAt(i);e=w[b];r+=a.b!=e?e:b}return r}d.Kc=function(m){return a.b!=c[m]};d.N=function(){var m=[],r;for(r in c)if(a.b!=c[r])a.h(m,r.toString()+A(c[r]));return m.join("")};d.Sc=function(m){if(m==a.b)return d.N();var r=[m.N()],i;for(i in c)if(a.b!=
c[i]&&!m.Kc(i))a.h(r,i.toString()+A(c[i]));return r.join("")};d._setKey=function(m,r,i){if(typeof i!="string")return false;g(m,h,r,i);return true};d._setValue=function(m,r,i){if(typeof i!="number"&&(a.b==Number||!(i instanceof Number)))return false;if(Math.round(i)!=i||i==NaN||i==Infinity)return false;g(m,o,r,i.toString());return true};d._getKey=function(m,r){return z(m,h,r)};d._getValue=function(m,r){return z(m,o,r)};d._clearKey=function(m){B(m,h)};d._clearValue=function(m){B(m,o)}};_gat.ic=function(d,a){var c=this;c.jd=a;c.Pc=d;c._trackEvent=function(h,o,k){return a._trackEvent(c.Pc,h,o,k)}};_gat.kc=function(d){var a=this,c=_gat,h=c.b,o=c.q,k=c.w,l=c.F,s=c.C,q=c.P,f=c.z,n="location",w=c.c,x=h,g=new c.hc,z=false;a.a=document;a.e=window;a.ja=Math.round((new Date).getTime()/1000);a.H=d;a.yb=a.a.referrer;a.va=h;a.j=h;a.A=h;a.M=false;a.aa=h;a.rb="";a.l=h;a.Ab=h;a.f=h;a.u=h;function B(){if("auto"==g.g){var b=a.a.domain;if("www."==l(b,0,4))b=l(b,4);g.g=b}g.g=c.T(g.g)}function A(){var b=g.g,e=k(b,"www.google.")*k(b,".google.")*k(b,"google.");return e||"/"!=g.p||k(b,"google.org")>-1}function p(b,
e,j){if(o(b)||o(e)||o(j))return"-";var t=s(b,c.r+a.f+".",e),v;if(!o(t)){v=f(t,".");v[5]=v[5]?v[5]*1+1:1;v[3]=v[4];v[4]=j;t=v.join(".")}return t}function u(){return"file:"!=a.a[n].protocol&&A()}function m(b){if(!b||""==b)return"";while(c.Lb(b.charAt(0)))b=l(b,1);while(c.Lb(b.charAt(b[w]-1)))b=l(b,0,b[w]-1);return b}function r(b,e,j){if(!o(b())){e(c.J(b()));if(!q(b(),";"))j()}}function i(b){var e,j=""!=b&&a.a[n].host!=b;if(j)for(e=0;e<g.B[w];e++)j=j&&k(c.T(b),c.T(g.B[e]))==-1;return j}a.Bc=function(){if(!g.g||
""==g.g||"none"==g.g){g.g="";return 1}B();return g.pb?c.t(g.g):1};a.tc=function(b,e){if(o(b))b="-";else{e+=g.p&&"/"!=g.p?g.p:"";var j=k(b,e);b=j>=0&&j<=8?"0":("["==b.charAt(0)&&"]"==b.charAt(b[w]-1)?"-":b)}return b};a.Ia=function(b){var e="",j=a.a;e+=a.aa?a.aa.Xc():"";e+=g.qa?a.rb:"";e+=g.ta&&!o(j.title)?"&utmdt="+c.d(j.title):"";e+="&utmhid="+c.uc()+"&utmr="+a.va+"&utmp="+a.Tc(b);return e};a.Tc=function(b){var e=a.a[n];b=h!=b&&""!=b?c.d(b,true):c.d(e.pathname+unescape(e.search),true);return b};a.$c=
function(b){if(a.Q()){var e="";if(a.l!=h&&a.l.N().length>0)e+="&utme="+c.d(a.l.N());e+=a.Ia(b);x.O(e,a.H,a.a,a.f)}};a.qc=function(){var b=new c.Y(a.a,g);return b.Ha(a.f)?b.Wc():h};a._getLinkerUrl=function(b,e){var j=f(b,"#"),t=b,v=a.qc();if(v)if(e&&1>=j[w])t+="#"+v;else if(!e||1>=j[w])if(1>=j[w])t+=(q(b,"?")?"&":"?")+v;else t=j[0]+(q(b,"?")?"&":"?")+v+"#"+j[1];return t};a.Zb=function(){var b;if(a.A&&a.A[w]>=10&&!q(a.A,"=")){a.u.Uc(a.A);a.u.cd();c._gasoDomain=g.g;c._gasoCPath=g.p;b=a.a.createElement("script");
b.type="text/javascript";b.id="_gasojs";b.src="https://www.google.com/analytics/reporting/overlay_js?gaso="+a.A+"&"+c.wa();a.a.getElementsByTagName("head")[0].appendChild(b)}};a.Jc=function(){var b=a.a[c.m],e=a.ja,j=a.u,t=a.f+"",v=a.e,y=v?v.gaGlobal:h,E,F=q(b,c.r+t+"."),I=q(b,c.W+t),G=q(b,c.ma+t),C,D=[],H="",K=false,J;b=o(b)?"":b;if(g.I){E=c.Db(a.a[n]);if(g.pa&&!o(E))H=E+"&";H+=a.a[n].search;if(!o(H)&&q(H,c.r)){j.Rc(H);if(!j.Jb())j.pc();C=j.ya()}r(j.Ba,j.Wb,j.fc);r(j.Aa,j.Na,j.Qa)}if(!o(C))if(o(j.K())||
o(j.za())){C=p(H,"&",e);a.M=true}else{D=f(j.K(),".");t=D[0]}else if(F)if(!I||!G){C=p(b,";",e);a.M=true}else{C=s(b,c.r+t+".",";");D=f(s(b,c.W+t,";"),".")}else{C=[t,c.Gc(),e,e,e,1].join(".");a.M=true;K=true}C=f(C,".");if(v&&y&&y.dh==t){C[4]=y.sid?y.sid:C[4];if(K){C[3]=y.sid?y.sid:C[4];if(y.vid){J=f(y.vid,".");C[1]=J[0];C[2]=J[1]}}}j.Ub(C.join("."));D[0]=t;D[1]=D[1]?D[1]:0;D[2]=undefined!=D[2]?D[2]:g.Yc;D[3]=D[3]?D[3]:C[4];j.La(D.join("."));j.Vb(t);if(!o(j.Hc()))j.Ma(j.t());j.dc();j.Pa();j.ec()};a.Lc=
function(){x=new c.jc(g)};a._initData=function(){var b;if(!z){a.Lc();a.f=a.Bc();a.u=new c.Y(a.a,g)}if(u())a.Jc();if(!z){if(u()){a.va=a.tc(a.Ac(),a.a.domain);if(g.sa){a.aa=new c.gc(g.ua);a.aa.xc()}if(g.qa){b=new c.n(a.f,a.a,a.va,a.ja,g);a.rb=b.yc(a.u,a.M)}}a.l=new c.Z;a.Ab=new c.Z;z=true}if(!c.Hb)a.Mc()};a._visitCode=function(){a._initData();var b=s(a.a[c.m],c.r+a.f+".",";"),e=f(b,".");return e[w]<4?"":e[1]};a._cookiePathCopy=function(b){a._initData();if(a.u)a.u.bd(a.f,b)};a.Mc=function(){var b=a.a[n].hash,
e;e=b&&""!=b&&0==k(b,"#gaso=")?s(b,"gaso=","&"):s(a.a[c.m],c.Sa,";");if(e[w]>=10){a.A=e;if(a.e.addEventListener)a.e.addEventListener("load",a.Zb,false);else a.e.attachEvent("onload",a.Zb)}c.Hb=true};a.Q=function(){return a._visitCode()%10000<g.ha*100};a.Vc=function(){var b,e,j=a.a.links;if(!g.Kb){var t=a.a.domain;if("www."==l(t,0,4))t=l(t,4);g.B.push("."+t)}for(b=0;b<j[w]&&(g.Ga==-1||b<g.Ga);b++){e=j[b];if(i(e.host))if(!e.gatcOnclick){e.gatcOnclick=e.onclick?e.onclick:a.Qc;e.onclick=function(v){var y=
!this.target||this.target=="_self"||this.target=="_top"||this.target=="_parent";y=y&&!a.oc(v);a.ad(v,this,y);return y?false:(this.gatcOnclick?this.gatcOnclick(v):true)}}}};a.Qc=function(){};a._trackPageview=function(b){if(u()){a._initData();if(g.B)a.Vc();a.$c(b);a.M=false}};a._trackTrans=function(){var b=a.f,e=[],j,t,v,y;a._initData();if(a.j&&a.Q()){for(j=0;j<a.j.la[w];j++){t=a.j.la[j];c.h(e,t.S());for(v=0;v<t.ca[w];v++)c.h(e,t.ca[v].S())}for(y=0;y<e[w];y++)x.O(e[y],a.H,a.a,b,true)}};a._setTrans=
function(){var b=a.a,e,j,t,v,y=b.getElementById?b.getElementById("utmtrans"):(b.utmform&&b.utmform.utmtrans?b.utmform.utmtrans:h);a._initData();if(y&&y.value){a.j=new c.i;v=f(y.value,"UTM:");g.G=!g.G||""==g.G?"|":g.G;for(e=0;e<v[w];e++){v[e]=m(v[e]);j=f(v[e],g.G);for(t=0;t<j[w];t++)j[t]=m(j[t]);if("T"==j[0])a._addTrans(j[1],j[2],j[3],j[4],j[5],j[6],j[7],j[8]);else if("I"==j[0])a._addItem(j[1],j[2],j[3],j[4],j[5],j[6])}}};a._addTrans=function(b,e,j,t,v,y,E,F){a.j=a.j?a.j:new c.i;return a.j.nb(b,e,
j,t,v,y,E,F)};a._addItem=function(b,e,j,t,v,y){var E;a.j=a.j?a.j:new c.i;E=a.j.xa(b);if(!E)E=a._addTrans(b,"","","","","","","");E.mb(e,j,t,v,y)};a._setVar=function(b){if(b&&""!=b&&A()){a._initData();var e=new c.Y(a.a,g),j=a.f;e.Na(j+"."+c.d(b));e.Qa();if(a.Q())x.O("&utmt=var",a.H,a.a,a.f)}};a._link=function(b,e){if(g.I&&b){a._initData();a.a[n].href=a._getLinkerUrl(b,e)}};a._linkByPost=function(b,e){if(g.I&&b&&b.action){a._initData();b.action=a._getLinkerUrl(b.action,e)}};a._setXKey=function(b,e,
j){a.l._setKey(b,e,j)};a._setXValue=function(b,e,j){a.l._setValue(b,e,j)};a._getXKey=function(b,e){return a.l._getKey(b,e)};a._getXValue=function(b,e){return a.l.getValue(b,e)};a._clearXKey=function(b){a.l._clearKey(b)};a._clearXValue=function(b){a.l._clearValue(b)};a._createXObj=function(){a._initData();return new c.Z};a._sendXEvent=function(b){var e="";a._initData();if(a.Q()){e+="&utmt=event&utme="+c.d(a.l.Sc(b))+a.Ia();x.O(e,a.H,a.a,a.f,false,true)}};a._createEventTracker=function(b){a._initData();
return new c.ic(b,a)};a._trackEvent=function(b,e,j,t){var v=true,y=a.Ab;if(h!=b&&h!=e&&""!=b&&""!=e){y._clearKey(5);y._clearValue(5);v=y._setKey(5,1,b)?v:false;v=y._setKey(5,2,e)?v:false;v=h==j||y._setKey(5,3,j)?v:false;v=h==t||y._setValue(5,1,t)?v:false;if(v)a._sendXEvent(y)}else v=false;return v};a.ad=function(b,e,j){a._initData();if(a.Q()){var t=new c.Z;t._setKey(6,1,e.href);var v=j?function(){a.rc(b,e)}:undefined;x.O("&utmt=event&utme="+c.d(t.N())+a.Ia(),a.H,a.a,a.f,false,true,v)}};a.rc=function(b,
e){if(!b)b=a.e.event;var j=true;if(e.gatcOnclick)j=e.gatcOnclick(b);if(j||typeof j=="undefined")if(!e.target||e.target=="_self")a.e.location=e.href;else if(e.target=="_top")a.e.top.document.location=e.href;else if(e.target=="_parent")a.e.parent.document.location=e.href};a.oc=function(b){if(!b)b=a.e.event;var e=b.shiftKey||b.ctrlKey||b.altKey;if(!e)if(b.modifiers&&a.e.Event)e=b.modifiers&a.e.Event.CONTROL_MASK||b.modifiers&a.e.Event.SHIFT_MASK||b.modifiers&a.e.Event.ALT_MASK;return e};a._setDomainName=
function(b){g.g=b};a.dd=function(){return g.g};a._addOrganic=function(b,e){c.h(g.fa,new c.cb(b,e))};a._clearOrganic=function(){g.fa=[]};a.hd=function(){return g.fa};a._addIgnoredOrganic=function(b){c.h(g.ea,b)};a._clearIgnoredOrganic=function(){g.ea=[]};a.ed=function(){return g.ea};a._addIgnoredRef=function(b){c.h(g.ga,b)};a._clearIgnoredRef=function(){g.ga=[]};a.fd=function(){return g.ga};a._setAllowHash=function(b){g.pb=b?1:0};a._setCampaignTrack=function(b){g.qa=b?1:0};a._setClientInfo=function(b){g.sa=
b?1:0};a._getClientInfo=function(){return g.sa};a._setCookiePath=function(b){g.p=b};a._setTransactionDelim=function(b){g.G=b};a._setCookieTimeout=function(b){g.wb=b};a._setDetectFlash=function(b){g.ua=b?1:0};a._getDetectFlash=function(){return g.ua};a._setDetectTitle=function(b){g.ta=b?1:0};a._getDetectTitle=function(){return g.ta};a._setLocalGifPath=function(b){g.Da=b};a._getLocalGifPath=function(){return g.Da};a._setLocalServerMode=function(){g.D=0};a._setRemoteServerMode=function(){g.D=1};a._setLocalRemoteServerMode=
function(){g.D=2};a.gd=function(){return g.D};a._getServiceMode=function(){return g.D};a._setSampleRate=function(b){g.ha=b};a._setSessionTimeout=function(b){g.Tb=b};a._setAllowLinker=function(b){g.I=b?1:0};a._setAllowAnchor=function(b){g.pa=b?1:0};a._setCampNameKey=function(b){g.db=b};a._setCampContentKey=function(b){g.eb=b};a._setCampIdKey=function(b){g.fb=b};a._setCampMediumKey=function(b){g.gb=b};a._setCampNOKey=function(b){g.hb=b};a._setCampSourceKey=function(b){g.ib=b};a._setCampTermKey=function(b){g.jb=
b};a._setCampCIdKey=function(b){g.kb=b};a._getAccount=function(){return a.H};a._getVersion=function(){return _gat.lb};a.kd=function(b){g.B=[];if(b)g.B=b};a.md=function(b){g.Kb=b};a.ld=function(b){g.Ga=b};a._setReferrerOverride=function(b){a.yb=b};a.Ac=function(){return a.yb}};_gat._getTracker=function(d){var a=new _gat.kc(d);return a};
