
/*
* rige JS Build 03/06/2011 16:43
*/



/* File: jquery-1.4.2.min.js */

/*!
* jQuery JavaScript Library v1.4.2
* http://jquery.com/
*
* Copyright 2010, John Resig
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
* Includes Sizzle.js
* http://sizzlejs.com/
* Copyright 2010, The Dojo Foundation
* Released under the MIT, BSD, and GPL Licenses.
*
* Date: Sat Feb 13 22:33:48 2010 -0500
*/
(function (A, w) {
    function ma() { if (!c.isReady) { try { s.documentElement.doScroll("left") } catch (a) { setTimeout(ma, 1); return } c.ready() } } function Qa(a, b) { b.src ? c.ajax({ url: b.src, async: false, dataType: "script" }) : c.globalEval(b.text || b.textContent || b.innerHTML || ""); b.parentNode && b.parentNode.removeChild(b) } function X(a, b, d, f, e, j) {
        var i = a.length; if (typeof b === "object") { for (var o in b) X(a, o, b[o], f, e, d); return a } if (d !== w) { f = !j && f && c.isFunction(d); for (o = 0; o < i; o++) e(a[o], b, f ? d.call(a[o], o, e(a[o], b)) : d, j); return a } return i ?
e(a[0], b) : w
    } function J() { return (new Date).getTime() } function Y() { return false } function Z() { return true } function na(a, b, d) { d[0].type = a; return c.event.handle.apply(b, d) } function oa(a) {
        var b, d = [], f = [], e = arguments, j, i, o, k, n, r; i = c.data(this, "events"); if (!(a.liveFired === this || !i || !i.live || a.button && a.type === "click")) {
            a.liveFired = this; var u = i.live.slice(0); for (k = 0; k < u.length; k++) { i = u[k]; i.origType.replace(O, "") === a.type ? f.push(i.selector) : u.splice(k--, 1) } j = c(a.target).closest(f, a.currentTarget); n = 0; for (r =
j.length; n < r; n++) for (k = 0; k < u.length; k++) { i = u[k]; if (j[n].selector === i.selector) { o = j[n].elem; f = null; if (i.preType === "mouseenter" || i.preType === "mouseleave") f = c(a.relatedTarget).closest(i.selector)[0]; if (!f || f !== o) d.push({ elem: o, handleObj: i }) } } n = 0; for (r = d.length; n < r; n++) { j = d[n]; a.currentTarget = j.elem; a.data = j.handleObj.data; a.handleObj = j.handleObj; if (j.handleObj.origHandler.apply(j.elem, e) === false) { b = false; break } } return b
        }
    } function pa(a, b) {
        return "live." + (a && a !== "*" ? a + "." : "") + b.replace(/\./g, "`").replace(/ /g,
"&")
    } function qa(a) { return !a || !a.parentNode || a.parentNode.nodeType === 11 } function ra(a, b) { var d = 0; b.each(function () { if (this.nodeName === (a[d] && a[d].nodeName)) { var f = c.data(a[d++]), e = c.data(this, f); if (f = f && f.events) { delete e.handle; e.events = {}; for (var j in f) for (var i in f[j]) c.event.add(this, j, f[j][i], f[j][i].data) } } }) } function sa(a, b, d) {
        var f, e, j; b = b && b[0] ? b[0].ownerDocument || b[0] : s; if (a.length === 1 && typeof a[0] === "string" && a[0].length < 512 && b === s && !ta.test(a[0]) && (c.support.checkClone || !ua.test(a[0]))) {
            e =
true; if (j = c.fragments[a[0]]) if (j !== 1) f = j
        } if (!f) { f = b.createDocumentFragment(); c.clean(a, b, f, d) } if (e) c.fragments[a[0]] = j ? f : 1; return { fragment: f, cacheable: e }
    } function K(a, b) { var d = {}; c.each(va.concat.apply([], va.slice(0, b)), function () { d[this] = a }); return d } function wa(a) { return "scrollTo" in a && a.document ? a : a.nodeType === 9 ? a.defaultView || a.parentWindow : false } var c = function (a, b) { return new c.fn.init(a, b) }, Ra = A.jQuery, Sa = A.$, s = A.document, T, Ta = /^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/, Ua = /^.[^:#\[\.,]*$/, Va = /\S/,
Wa = /^(\s|\u00A0)+|(\s|\u00A0)+$/g, Xa = /^<(\w+)\s*\/?>(?:<\/\1>)?$/, P = navigator.userAgent, xa = false, Q = [], L, $ = Object.prototype.toString, aa = Object.prototype.hasOwnProperty, ba = Array.prototype.push, R = Array.prototype.slice, ya = Array.prototype.indexOf; c.fn = c.prototype = { init: function (a, b) {
    var d, f; if (!a) return this; if (a.nodeType) { this.context = this[0] = a; this.length = 1; return this } if (a === "body" && !b) { this.context = s; this[0] = s.body; this.selector = "body"; this.length = 1; return this } if (typeof a === "string") if ((d = Ta.exec(a)) &&
(d[1] || !b)) if (d[1]) { f = b ? b.ownerDocument || b : s; if (a = Xa.exec(a)) if (c.isPlainObject(b)) { a = [s.createElement(a[1])]; c.fn.attr.call(a, b, true) } else a = [f.createElement(a[1])]; else { a = sa([d[1]], [f]); a = (a.cacheable ? a.fragment.cloneNode(true) : a.fragment).childNodes } return c.merge(this, a) } else { if (b = s.getElementById(d[2])) { if (b.id !== d[2]) return T.find(a); this.length = 1; this[0] = b } this.context = s; this.selector = a; return this } else if (!b && /^\w+$/.test(a)) {
        this.selector = a; this.context = s; a = s.getElementsByTagName(a); return c.merge(this,
a)
    } else return !b || b.jquery ? (b || T).find(a) : c(b).find(a); else if (c.isFunction(a)) return T.ready(a); if (a.selector !== w) { this.selector = a.selector; this.context = a.context } return c.makeArray(a, this)
}, selector: "", jquery: "1.4.2", length: 0, size: function () { return this.length }, toArray: function () { return R.call(this, 0) }, get: function (a) { return a == null ? this.toArray() : a < 0 ? this.slice(a)[0] : this[a] }, pushStack: function (a, b, d) {
    var f = c(); c.isArray(a) ? ba.apply(f, a) : c.merge(f, a); f.prevObject = this; f.context = this.context; if (b ===
"find") f.selector = this.selector + (this.selector ? " " : "") + d; else if (b) f.selector = this.selector + "." + b + "(" + d + ")"; return f
}, each: function (a, b) { return c.each(this, a, b) }, ready: function (a) { c.bindReady(); if (c.isReady) a.call(s, c); else Q && Q.push(a); return this }, eq: function (a) { return a === -1 ? this.slice(a) : this.slice(a, +a + 1) }, first: function () { return this.eq(0) }, last: function () { return this.eq(-1) }, slice: function () { return this.pushStack(R.apply(this, arguments), "slice", R.call(arguments).join(",")) }, map: function (a) {
    return this.pushStack(c.map(this,
function (b, d) { return a.call(b, d, b) }))
}, end: function () { return this.prevObject || c(null) }, push: ba, sort: [].sort, splice: [].splice
}; c.fn.init.prototype = c.fn; c.extend = c.fn.extend = function () {
    var a = arguments[0] || {}, b = 1, d = arguments.length, f = false, e, j, i, o; if (typeof a === "boolean") { f = a; a = arguments[1] || {}; b = 2 } if (typeof a !== "object" && !c.isFunction(a)) a = {}; if (d === b) { a = this; --b } for (; b < d; b++) if ((e = arguments[b]) != null) for (j in e) {
        i = a[j]; o = e[j]; if (a !== o) if (f && o && (c.isPlainObject(o) || c.isArray(o))) {
            i = i && (c.isPlainObject(i) ||
c.isArray(i)) ? i : c.isArray(o) ? [] : {}; a[j] = c.extend(f, i, o)
        } else if (o !== w) a[j] = o
    } return a
}; c.extend({ noConflict: function (a) { A.$ = Sa; if (a) A.jQuery = Ra; return c }, isReady: false, ready: function () { if (!c.isReady) { if (!s.body) return setTimeout(c.ready, 13); c.isReady = true; if (Q) { for (var a, b = 0; a = Q[b++]; ) a.call(s, c); Q = null } c.fn.triggerHandler && c(s).triggerHandler("ready") } }, bindReady: function () {
    if (!xa) {
        xa = true; if (s.readyState === "complete") return c.ready(); if (s.addEventListener) {
            s.addEventListener("DOMContentLoaded",
L, false); A.addEventListener("load", c.ready, false)
        } else if (s.attachEvent) { s.attachEvent("onreadystatechange", L); A.attachEvent("onload", c.ready); var a = false; try { a = A.frameElement == null } catch (b) { } s.documentElement.doScroll && a && ma() }
    }
}, isFunction: function (a) { return $.call(a) === "[object Function]" }, isArray: function (a) { return $.call(a) === "[object Array]" }, isPlainObject: function (a) {
    if (!a || $.call(a) !== "[object Object]" || a.nodeType || a.setInterval) return false; if (a.constructor && !aa.call(a, "constructor") && !aa.call(a.constructor.prototype,
"isPrototypeOf")) return false; var b; for (b in a); return b === w || aa.call(a, b)
}, isEmptyObject: function (a) { for (var b in a) return false; return true }, error: function (a) { throw a; }, parseJSON: function (a) {
    if (typeof a !== "string" || !a) return null; a = c.trim(a); if (/^[\],:{}\s]*$/.test(a.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g, "@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g, "]").replace(/(?:^|:|,)(?:\s*\[)+/g, ""))) return A.JSON && A.JSON.parse ? A.JSON.parse(a) : (new Function("return " +
a))(); else c.error("Invalid JSON: " + a)
}, noop: function () { }, globalEval: function (a) { if (a && Va.test(a)) { var b = s.getElementsByTagName("head")[0] || s.documentElement, d = s.createElement("script"); d.type = "text/javascript"; if (c.support.scriptEval) d.appendChild(s.createTextNode(a)); else d.text = a; b.insertBefore(d, b.firstChild); b.removeChild(d) } }, nodeName: function (a, b) { return a.nodeName && a.nodeName.toUpperCase() === b.toUpperCase() }, each: function (a, b, d) {
    var f, e = 0, j = a.length, i = j === w || c.isFunction(a); if (d) if (i) for (f in a) {
        if (b.apply(a[f],
d) === false) break
    } else for (; e < j; ) { if (b.apply(a[e++], d) === false) break } else if (i) for (f in a) { if (b.call(a[f], f, a[f]) === false) break } else for (d = a[0]; e < j && b.call(d, e, d) !== false; d = a[++e]); return a
}, trim: function (a) { return (a || "").replace(Wa, "") }, makeArray: function (a, b) { b = b || []; if (a != null) a.length == null || typeof a === "string" || c.isFunction(a) || typeof a !== "function" && a.setInterval ? ba.call(b, a) : c.merge(b, a); return b }, inArray: function (a, b) {
    if (b.indexOf) return b.indexOf(a); for (var d = 0, f = b.length; d < f; d++) if (b[d] ===
a) return d; return -1
}, merge: function (a, b) { var d = a.length, f = 0; if (typeof b.length === "number") for (var e = b.length; f < e; f++) a[d++] = b[f]; else for (; b[f] !== w; ) a[d++] = b[f++]; a.length = d; return a }, grep: function (a, b, d) { for (var f = [], e = 0, j = a.length; e < j; e++) !d !== !b(a[e], e) && f.push(a[e]); return f }, map: function (a, b, d) { for (var f = [], e, j = 0, i = a.length; j < i; j++) { e = b(a[j], j, d); if (e != null) f[f.length] = e } return f.concat.apply([], f) }, guid: 1, proxy: function (a, b, d) {
    if (arguments.length === 2) if (typeof b === "string") { d = a; a = d[b]; b = w } else if (b &&
!c.isFunction(b)) { d = b; b = w } if (!b && a) b = function () { return a.apply(d || this, arguments) }; if (a) b.guid = a.guid = a.guid || b.guid || c.guid++; return b
}, uaMatch: function (a) { a = a.toLowerCase(); a = /(webkit)[ \/]([\w.]+)/.exec(a) || /(opera)(?:.*version)?[ \/]([\w.]+)/.exec(a) || /(msie) ([\w.]+)/.exec(a) || !/compatible/.test(a) && /(mozilla)(?:.*? rv:([\w.]+))?/.exec(a) || []; return { browser: a[1] || "", version: a[2] || "0"} }, browser: {}
}); P = c.uaMatch(P); if (P.browser) { c.browser[P.browser] = true; c.browser.version = P.version } if (c.browser.webkit) c.browser.safari =
true; if (ya) c.inArray = function (a, b) { return ya.call(b, a) }; T = c(s); if (s.addEventListener) L = function () { s.removeEventListener("DOMContentLoaded", L, false); c.ready() }; else if (s.attachEvent) L = function () { if (s.readyState === "complete") { s.detachEvent("onreadystatechange", L); c.ready() } }; (function () {
    c.support = {}; var a = s.documentElement, b = s.createElement("script"), d = s.createElement("div"), f = "script" + J(); d.style.display = "none"; d.innerHTML = "   <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";
    var e = d.getElementsByTagName("*"), j = d.getElementsByTagName("a")[0]; if (!(!e || !e.length || !j)) {
        c.support = { leadingWhitespace: d.firstChild.nodeType === 3, tbody: !d.getElementsByTagName("tbody").length, htmlSerialize: !!d.getElementsByTagName("link").length, style: /red/.test(j.getAttribute("style")), hrefNormalized: j.getAttribute("href") === "/a", opacity: /^0.55$/.test(j.style.opacity), cssFloat: !!j.style.cssFloat, checkOn: d.getElementsByTagName("input")[0].value === "on", optSelected: s.createElement("select").appendChild(s.createElement("option")).selected,
            parentNode: d.removeChild(d.appendChild(s.createElement("div"))).parentNode === null, deleteExpando: true, checkClone: false, scriptEval: false, noCloneEvent: true, boxModel: null
        }; b.type = "text/javascript"; try { b.appendChild(s.createTextNode("window." + f + "=1;")) } catch (i) { } a.insertBefore(b, a.firstChild); if (A[f]) { c.support.scriptEval = true; delete A[f] } try { delete b.test } catch (o) { c.support.deleteExpando = false } a.removeChild(b); if (d.attachEvent && d.fireEvent) {
            d.attachEvent("onclick", function k() {
                c.support.noCloneEvent =
false; d.detachEvent("onclick", k)
            }); d.cloneNode(true).fireEvent("onclick")
        } d = s.createElement("div"); d.innerHTML = "<input type='radio' name='radiotest' checked='checked'/>"; a = s.createDocumentFragment(); a.appendChild(d.firstChild); c.support.checkClone = a.cloneNode(true).cloneNode(true).lastChild.checked; c(function () { var k = s.createElement("div"); k.style.width = k.style.paddingLeft = "1px"; s.body.appendChild(k); c.boxModel = c.support.boxModel = k.offsetWidth === 2; s.body.removeChild(k).style.display = "none" }); a = function (k) {
            var n =
s.createElement("div"); k = "on" + k; var r = k in n; if (!r) { n.setAttribute(k, "return;"); r = typeof n[k] === "function" } return r
        }; c.support.submitBubbles = a("submit"); c.support.changeBubbles = a("change"); a = b = d = e = j = null
    }
})(); c.props = { "for": "htmlFor", "class": "className", readonly: "readOnly", maxlength: "maxLength", cellspacing: "cellSpacing", rowspan: "rowSpan", colspan: "colSpan", tabindex: "tabIndex", usemap: "useMap", frameborder: "frameBorder" }; var G = "jQuery" + J(), Ya = 0, za = {}; c.extend({ cache: {}, expando: G, noData: { embed: true, object: true,
    applet: true
}, data: function (a, b, d) { if (!(a.nodeName && c.noData[a.nodeName.toLowerCase()])) { a = a == A ? za : a; var f = a[G], e = c.cache; if (!f && typeof b === "string" && d === w) return null; f || (f = ++Ya); if (typeof b === "object") { a[G] = f; e[f] = c.extend(true, {}, b) } else if (!e[f]) { a[G] = f; e[f] = {} } a = e[f]; if (d !== w) a[b] = d; return typeof b === "string" ? a[b] : a } }, removeData: function (a, b) {
    if (!(a.nodeName && c.noData[a.nodeName.toLowerCase()])) {
        a = a == A ? za : a; var d = a[G], f = c.cache, e = f[d]; if (b) { if (e) { delete e[b]; c.isEmptyObject(e) && c.removeData(a) } } else {
            if (c.support.deleteExpando) delete a[c.expando];
            else a.removeAttribute && a.removeAttribute(c.expando); delete f[d]
        }
    }
}
}); c.fn.extend({ data: function (a, b) {
    if (typeof a === "undefined" && this.length) return c.data(this[0]); else if (typeof a === "object") return this.each(function () { c.data(this, a) }); var d = a.split("."); d[1] = d[1] ? "." + d[1] : ""; if (b === w) { var f = this.triggerHandler("getData" + d[1] + "!", [d[0]]); if (f === w && this.length) f = c.data(this[0], a); return f === w && d[1] ? this.data(d[0]) : f } else return this.trigger("setData" + d[1] + "!", [d[0], b]).each(function () {
        c.data(this,
a, b)
    })
}, removeData: function (a) { return this.each(function () { c.removeData(this, a) }) }
}); c.extend({ queue: function (a, b, d) { if (a) { b = (b || "fx") + "queue"; var f = c.data(a, b); if (!d) return f || []; if (!f || c.isArray(d)) f = c.data(a, b, c.makeArray(d)); else f.push(d); return f } }, dequeue: function (a, b) { b = b || "fx"; var d = c.queue(a, b), f = d.shift(); if (f === "inprogress") f = d.shift(); if (f) { b === "fx" && d.unshift("inprogress"); f.call(a, function () { c.dequeue(a, b) }) } } }); c.fn.extend({ queue: function (a, b) {
    if (typeof a !== "string") { b = a; a = "fx" } if (b ===
w) return c.queue(this[0], a); return this.each(function () { var d = c.queue(this, a, b); a === "fx" && d[0] !== "inprogress" && c.dequeue(this, a) })
}, dequeue: function (a) { return this.each(function () { c.dequeue(this, a) }) }, delay: function (a, b) { a = c.fx ? c.fx.speeds[a] || a : a; b = b || "fx"; return this.queue(b, function () { var d = this; setTimeout(function () { c.dequeue(d, b) }, a) }) }, clearQueue: function (a) { return this.queue(a || "fx", []) }
}); var Aa = /[\n\t]/g, ca = /\s+/, Za = /\r/g, $a = /href|src|style/, ab = /(button|input)/i, bb = /(button|input|object|select|textarea)/i,
cb = /^(a|area)$/i, Ba = /radio|checkbox/; c.fn.extend({ attr: function (a, b) { return X(this, a, b, true, c.attr) }, removeAttr: function (a) { return this.each(function () { c.attr(this, a, ""); this.nodeType === 1 && this.removeAttribute(a) }) }, addClass: function (a) {
    if (c.isFunction(a)) return this.each(function (n) { var r = c(this); r.addClass(a.call(this, n, r.attr("class"))) }); if (a && typeof a === "string") for (var b = (a || "").split(ca), d = 0, f = this.length; d < f; d++) {
        var e = this[d]; if (e.nodeType === 1) if (e.className) {
            for (var j = " " + e.className + " ",
i = e.className, o = 0, k = b.length; o < k; o++) if (j.indexOf(" " + b[o] + " ") < 0) i += " " + b[o]; e.className = c.trim(i)
        } else e.className = a
    } return this
}, removeClass: function (a) {
    if (c.isFunction(a)) return this.each(function (k) { var n = c(this); n.removeClass(a.call(this, k, n.attr("class"))) }); if (a && typeof a === "string" || a === w) for (var b = (a || "").split(ca), d = 0, f = this.length; d < f; d++) {
        var e = this[d]; if (e.nodeType === 1 && e.className) if (a) {
            for (var j = (" " + e.className + " ").replace(Aa, " "), i = 0, o = b.length; i < o; i++) j = j.replace(" " + b[i] + " ",
" "); e.className = c.trim(j)
        } else e.className = ""
    } return this
}, toggleClass: function (a, b) {
    var d = typeof a, f = typeof b === "boolean"; if (c.isFunction(a)) return this.each(function (e) { var j = c(this); j.toggleClass(a.call(this, e, j.attr("class"), b), b) }); return this.each(function () {
        if (d === "string") for (var e, j = 0, i = c(this), o = b, k = a.split(ca); e = k[j++]; ) { o = f ? o : !i.hasClass(e); i[o ? "addClass" : "removeClass"](e) } else if (d === "undefined" || d === "boolean") {
            this.className && c.data(this, "__className__", this.className); this.className =
this.className || a === false ? "" : c.data(this, "__className__") || ""
        }
    })
}, hasClass: function (a) { a = " " + a + " "; for (var b = 0, d = this.length; b < d; b++) if ((" " + this[b].className + " ").replace(Aa, " ").indexOf(a) > -1) return true; return false }, val: function (a) {
    if (a === w) {
        var b = this[0]; if (b) {
            if (c.nodeName(b, "option")) return (b.attributes.value || {}).specified ? b.value : b.text; if (c.nodeName(b, "select")) {
                var d = b.selectedIndex, f = [], e = b.options; b = b.type === "select-one"; if (d < 0) return null; var j = b ? d : 0; for (d = b ? d + 1 : e.length; j < d; j++) {
                    var i =
e[j]; if (i.selected) { a = c(i).val(); if (b) return a; f.push(a) }
                } return f
            } if (Ba.test(b.type) && !c.support.checkOn) return b.getAttribute("value") === null ? "on" : b.value; return (b.value || "").replace(Za, "")
        } return w
    } var o = c.isFunction(a); return this.each(function (k) {
        var n = c(this), r = a; if (this.nodeType === 1) {
            if (o) r = a.call(this, k, n.val()); if (typeof r === "number") r += ""; if (c.isArray(r) && Ba.test(this.type)) this.checked = c.inArray(n.val(), r) >= 0; else if (c.nodeName(this, "select")) {
                var u = c.makeArray(r); c("option", this).each(function () {
                    this.selected =
c.inArray(c(this).val(), u) >= 0
                }); if (!u.length) this.selectedIndex = -1
            } else this.value = r
        }
    })
}
}); c.extend({ attrFn: { val: true, css: true, html: true, text: true, data: true, width: true, height: true, offset: true }, attr: function (a, b, d, f) {
    if (!a || a.nodeType === 3 || a.nodeType === 8) return w; if (f && b in c.attrFn) return c(a)[b](d); f = a.nodeType !== 1 || !c.isXMLDoc(a); var e = d !== w; b = f && c.props[b] || b; if (a.nodeType === 1) {
        var j = $a.test(b); if (b in a && f && !j) {
            if (e) {
                b === "type" && ab.test(a.nodeName) && a.parentNode && c.error("type property can't be changed");
                a[b] = d
            } if (c.nodeName(a, "form") && a.getAttributeNode(b)) return a.getAttributeNode(b).nodeValue; if (b === "tabIndex") return (b = a.getAttributeNode("tabIndex")) && b.specified ? b.value : bb.test(a.nodeName) || cb.test(a.nodeName) && a.href ? 0 : w; return a[b]
        } if (!c.support.style && f && b === "style") { if (e) a.style.cssText = "" + d; return a.style.cssText } e && a.setAttribute(b, "" + d); a = !c.support.hrefNormalized && f && j ? a.getAttribute(b, 2) : a.getAttribute(b); return a === null ? w : a
    } return c.style(a, b, d)
}
}); var O = /\.(.*)$/, db = function (a) {
    return a.replace(/[^\w\s\.\|`]/g,
function (b) { return "\\" + b })
}; c.event = { add: function (a, b, d, f) {
    if (!(a.nodeType === 3 || a.nodeType === 8)) {
        if (a.setInterval && a !== A && !a.frameElement) a = A; var e, j; if (d.handler) { e = d; d = e.handler } if (!d.guid) d.guid = c.guid++; if (j = c.data(a)) {
            var i = j.events = j.events || {}, o = j.handle; if (!o) j.handle = o = function () { return typeof c !== "undefined" && !c.event.triggered ? c.event.handle.apply(o.elem, arguments) : w }; o.elem = a; b = b.split(" "); for (var k, n = 0, r; k = b[n++]; ) {
                j = e ? c.extend({}, e) : { handler: d, data: f }; if (k.indexOf(".") > -1) {
                    r = k.split(".");
                    k = r.shift(); j.namespace = r.slice(0).sort().join(".")
                } else { r = []; j.namespace = "" } j.type = k; j.guid = d.guid; var u = i[k], z = c.event.special[k] || {}; if (!u) { u = i[k] = []; if (!z.setup || z.setup.call(a, f, r, o) === false) if (a.addEventListener) a.addEventListener(k, o, false); else a.attachEvent && a.attachEvent("on" + k, o) } if (z.add) { z.add.call(a, j); if (!j.handler.guid) j.handler.guid = d.guid } u.push(j); c.event.global[k] = true
            } a = null
        }
    }
}, global: {}, remove: function (a, b, d, f) {
    if (!(a.nodeType === 3 || a.nodeType === 8)) {
        var e, j = 0, i, o, k, n, r, u, z = c.data(a),
C = z && z.events; if (z && C) {
            if (b && b.type) { d = b.handler; b = b.type } if (!b || typeof b === "string" && b.charAt(0) === ".") { b = b || ""; for (e in C) c.event.remove(a, e + b) } else {
                for (b = b.split(" "); e = b[j++]; ) {
                    n = e; i = e.indexOf(".") < 0; o = []; if (!i) { o = e.split("."); e = o.shift(); k = new RegExp("(^|\\.)" + c.map(o.slice(0).sort(), db).join("\\.(?:.*\\.)?") + "(\\.|$)") } if (r = C[e]) if (d) {
                        n = c.event.special[e] || {}; for (B = f || 0; B < r.length; B++) {
                            u = r[B]; if (d.guid === u.guid) {
                                if (i || k.test(u.namespace)) { f == null && r.splice(B--, 1); n.remove && n.remove.call(a, u) } if (f !=
null) break
                            }
                        } if (r.length === 0 || f != null && r.length === 1) { if (!n.teardown || n.teardown.call(a, o) === false) Ca(a, e, z.handle); delete C[e] }
                    } else for (var B = 0; B < r.length; B++) { u = r[B]; if (i || k.test(u.namespace)) { c.event.remove(a, n, u.handler, B); r.splice(B--, 1) } }
                } if (c.isEmptyObject(C)) { if (b = z.handle) b.elem = null; delete z.events; delete z.handle; c.isEmptyObject(z) && c.removeData(a) }
            }
        }
    }
}, trigger: function (a, b, d, f) {
    var e = a.type || a; if (!f) {
        a = typeof a === "object" ? a[G] ? a : c.extend(c.Event(e), a) : c.Event(e); if (e.indexOf("!") >= 0) {
            a.type =
e = e.slice(0, -1); a.exclusive = true
        } if (!d) { a.stopPropagation(); c.event.global[e] && c.each(c.cache, function () { this.events && this.events[e] && c.event.trigger(a, b, this.handle.elem) }) } if (!d || d.nodeType === 3 || d.nodeType === 8) return w; a.result = w; a.target = d; b = c.makeArray(b); b.unshift(a)
    } a.currentTarget = d; (f = c.data(d, "handle")) && f.apply(d, b); f = d.parentNode || d.ownerDocument; try { if (!(d && d.nodeName && c.noData[d.nodeName.toLowerCase()])) if (d["on" + e] && d["on" + e].apply(d, b) === false) a.result = false } catch (j) { } if (!a.isPropagationStopped() &&
f) c.event.trigger(a, b, f, true); else if (!a.isDefaultPrevented()) { f = a.target; var i, o = c.nodeName(f, "a") && e === "click", k = c.event.special[e] || {}; if ((!k._default || k._default.call(d, a) === false) && !o && !(f && f.nodeName && c.noData[f.nodeName.toLowerCase()])) { try { if (f[e]) { if (i = f["on" + e]) f["on" + e] = null; c.event.triggered = true; f[e]() } } catch (n) { } if (i) f["on" + e] = i; c.event.triggered = false } }
}, handle: function (a) {
    var b, d, f, e; a = arguments[0] = c.event.fix(a || A.event); a.currentTarget = this; b = a.type.indexOf(".") < 0 && !a.exclusive;
    if (!b) { d = a.type.split("."); a.type = d.shift(); f = new RegExp("(^|\\.)" + d.slice(0).sort().join("\\.(?:.*\\.)?") + "(\\.|$)") } e = c.data(this, "events"); d = e[a.type]; if (e && d) { d = d.slice(0); e = 0; for (var j = d.length; e < j; e++) { var i = d[e]; if (b || f.test(i.namespace)) { a.handler = i.handler; a.data = i.data; a.handleObj = i; i = i.handler.apply(this, arguments); if (i !== w) { a.result = i; if (i === false) { a.preventDefault(); a.stopPropagation() } } if (a.isImmediatePropagationStopped()) break } } } return a.result
}, props: "altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),
    fix: function (a) {
        if (a[G]) return a; var b = a; a = c.Event(b); for (var d = this.props.length, f; d; ) { f = this.props[--d]; a[f] = b[f] } if (!a.target) a.target = a.srcElement || s; if (a.target.nodeType === 3) a.target = a.target.parentNode; if (!a.relatedTarget && a.fromElement) a.relatedTarget = a.fromElement === a.target ? a.toElement : a.fromElement; if (a.pageX == null && a.clientX != null) {
            b = s.documentElement; d = s.body; a.pageX = a.clientX + (b && b.scrollLeft || d && d.scrollLeft || 0) - (b && b.clientLeft || d && d.clientLeft || 0); a.pageY = a.clientY + (b && b.scrollTop ||
d && d.scrollTop || 0) - (b && b.clientTop || d && d.clientTop || 0)
        } if (!a.which && (a.charCode || a.charCode === 0 ? a.charCode : a.keyCode)) a.which = a.charCode || a.keyCode; if (!a.metaKey && a.ctrlKey) a.metaKey = a.ctrlKey; if (!a.which && a.button !== w) a.which = a.button & 1 ? 1 : a.button & 2 ? 3 : a.button & 4 ? 2 : 0; return a
    }, guid: 1E8, proxy: c.proxy, special: { ready: { setup: c.bindReady, teardown: c.noop }, live: { add: function (a) { c.event.add(this, a.origType, c.extend({}, a, { handler: oa })) }, remove: function (a) {
        var b = true, d = a.origType.replace(O, ""); c.each(c.data(this,
"events").live || [], function () { if (d === this.origType.replace(O, "")) return b = false }); b && c.event.remove(this, a.origType, oa)
    }
    }, beforeunload: { setup: function (a, b, d) { if (this.setInterval) this.onbeforeunload = d; return false }, teardown: function (a, b) { if (this.onbeforeunload === b) this.onbeforeunload = null } }
    }
}; var Ca = s.removeEventListener ? function (a, b, d) { a.removeEventListener(b, d, false) } : function (a, b, d) { a.detachEvent("on" + b, d) }; c.Event = function (a) {
    if (!this.preventDefault) return new c.Event(a); if (a && a.type) {
        this.originalEvent =
a; this.type = a.type
    } else this.type = a; this.timeStamp = J(); this[G] = true
}; c.Event.prototype = { preventDefault: function () { this.isDefaultPrevented = Z; var a = this.originalEvent; if (a) { a.preventDefault && a.preventDefault(); a.returnValue = false } }, stopPropagation: function () { this.isPropagationStopped = Z; var a = this.originalEvent; if (a) { a.stopPropagation && a.stopPropagation(); a.cancelBubble = true } }, stopImmediatePropagation: function () { this.isImmediatePropagationStopped = Z; this.stopPropagation() }, isDefaultPrevented: Y, isPropagationStopped: Y,
    isImmediatePropagationStopped: Y
}; var Da = function (a) { var b = a.relatedTarget; try { for (; b && b !== this; ) b = b.parentNode; if (b !== this) { a.type = a.data; c.event.handle.apply(this, arguments) } } catch (d) { } }, Ea = function (a) { a.type = a.data; c.event.handle.apply(this, arguments) }; c.each({ mouseenter: "mouseover", mouseleave: "mouseout" }, function (a, b) { c.event.special[a] = { setup: function (d) { c.event.add(this, b, d && d.selector ? Ea : Da, a) }, teardown: function (d) { c.event.remove(this, b, d && d.selector ? Ea : Da) } } }); if (!c.support.submitBubbles) c.event.special.submit =
{ setup: function () { if (this.nodeName.toLowerCase() !== "form") { c.event.add(this, "click.specialSubmit", function (a) { var b = a.target, d = b.type; if ((d === "submit" || d === "image") && c(b).closest("form").length) return na("submit", this, arguments) }); c.event.add(this, "keypress.specialSubmit", function (a) { var b = a.target, d = b.type; if ((d === "text" || d === "password") && c(b).closest("form").length && a.keyCode === 13) return na("submit", this, arguments) }) } else return false }, teardown: function () { c.event.remove(this, ".specialSubmit") } };
    if (!c.support.changeBubbles) {
        var da = /textarea|input|select/i, ea, Fa = function (a) { var b = a.type, d = a.value; if (b === "radio" || b === "checkbox") d = a.checked; else if (b === "select-multiple") d = a.selectedIndex > -1 ? c.map(a.options, function (f) { return f.selected }).join("-") : ""; else if (a.nodeName.toLowerCase() === "select") d = a.selectedIndex; return d }, fa = function (a, b) {
            var d = a.target, f, e; if (!(!da.test(d.nodeName) || d.readOnly)) {
                f = c.data(d, "_change_data"); e = Fa(d); if (a.type !== "focusout" || d.type !== "radio") c.data(d, "_change_data",
e); if (!(f === w || e === f)) if (f != null || e) { a.type = "change"; return c.event.trigger(a, b, d) }
            }
        }; c.event.special.change = { filters: { focusout: fa, click: function (a) { var b = a.target, d = b.type; if (d === "radio" || d === "checkbox" || b.nodeName.toLowerCase() === "select") return fa.call(this, a) }, keydown: function (a) { var b = a.target, d = b.type; if (a.keyCode === 13 && b.nodeName.toLowerCase() !== "textarea" || a.keyCode === 32 && (d === "checkbox" || d === "radio") || d === "select-multiple") return fa.call(this, a) }, beforeactivate: function (a) {
            a = a.target; c.data(a,
"_change_data", Fa(a))
        }
        }, setup: function () { if (this.type === "file") return false; for (var a in ea) c.event.add(this, a + ".specialChange", ea[a]); return da.test(this.nodeName) }, teardown: function () { c.event.remove(this, ".specialChange"); return da.test(this.nodeName) }
        }; ea = c.event.special.change.filters
    } s.addEventListener && c.each({ focus: "focusin", blur: "focusout" }, function (a, b) {
        function d(f) { f = c.event.fix(f); f.type = b; return c.event.handle.call(this, f) } c.event.special[b] = { setup: function () {
            this.addEventListener(a,
d, true)
        }, teardown: function () { this.removeEventListener(a, d, true) }
        }
    }); c.each(["bind", "one"], function (a, b) { c.fn[b] = function (d, f, e) { if (typeof d === "object") { for (var j in d) this[b](j, f, d[j], e); return this } if (c.isFunction(f)) { e = f; f = w } var i = b === "one" ? c.proxy(e, function (k) { c(this).unbind(k, i); return e.apply(this, arguments) }) : e; if (d === "unload" && b !== "one") this.one(d, f, e); else { j = 0; for (var o = this.length; j < o; j++) c.event.add(this[j], d, i, f) } return this } }); c.fn.extend({ unbind: function (a, b) {
        if (typeof a === "object" &&
!a.preventDefault) for (var d in a) this.unbind(d, a[d]); else { d = 0; for (var f = this.length; d < f; d++) c.event.remove(this[d], a, b) } return this
    }, delegate: function (a, b, d, f) { return this.live(b, d, f, a) }, undelegate: function (a, b, d) { return arguments.length === 0 ? this.unbind("live") : this.die(b, null, d, a) }, trigger: function (a, b) { return this.each(function () { c.event.trigger(a, b, this) }) }, triggerHandler: function (a, b) { if (this[0]) { a = c.Event(a); a.preventDefault(); a.stopPropagation(); c.event.trigger(a, b, this[0]); return a.result } },
        toggle: function (a) { for (var b = arguments, d = 1; d < b.length; ) c.proxy(a, b[d++]); return this.click(c.proxy(a, function (f) { var e = (c.data(this, "lastToggle" + a.guid) || 0) % d; c.data(this, "lastToggle" + a.guid, e + 1); f.preventDefault(); return b[e].apply(this, arguments) || false })) }, hover: function (a, b) { return this.mouseenter(a).mouseleave(b || a) }
    }); var Ga = { focus: "focusin", blur: "focusout", mouseenter: "mouseover", mouseleave: "mouseout" }; c.each(["live", "die"], function (a, b) {
        c.fn[b] = function (d, f, e, j) {
            var i, o = 0, k, n, r = j || this.selector,
u = j ? this : c(this.context); if (c.isFunction(f)) { e = f; f = w } for (d = (d || "").split(" "); (i = d[o++]) != null; ) { j = O.exec(i); k = ""; if (j) { k = j[0]; i = i.replace(O, "") } if (i === "hover") d.push("mouseenter" + k, "mouseleave" + k); else { n = i; if (i === "focus" || i === "blur") { d.push(Ga[i] + k); i += k } else i = (Ga[i] || i) + k; b === "live" ? u.each(function () { c.event.add(this, pa(i, r), { data: f, selector: r, handler: e, origType: i, origHandler: e, preType: n }) }) : u.unbind(pa(i, r), e) } } return this
        }
    }); c.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error".split(" "),
function (a, b) { c.fn[b] = function (d) { return d ? this.bind(b, d) : this.trigger(b) }; if (c.attrFn) c.attrFn[b] = true }); A.attachEvent && !A.addEventListener && A.attachEvent("onunload", function () { for (var a in c.cache) if (c.cache[a].handle) try { c.event.remove(c.cache[a].handle.elem) } catch (b) { } }); (function () {
    function a(g) { for (var h = "", l, m = 0; g[m]; m++) { l = g[m]; if (l.nodeType === 3 || l.nodeType === 4) h += l.nodeValue; else if (l.nodeType !== 8) h += a(l.childNodes) } return h } function b(g, h, l, m, q, p) {
        q = 0; for (var v = m.length; q < v; q++) {
            var t = m[q];
            if (t) { t = t[g]; for (var y = false; t; ) { if (t.sizcache === l) { y = m[t.sizset]; break } if (t.nodeType === 1 && !p) { t.sizcache = l; t.sizset = q } if (t.nodeName.toLowerCase() === h) { y = t; break } t = t[g] } m[q] = y }
        }
    } function d(g, h, l, m, q, p) { q = 0; for (var v = m.length; q < v; q++) { var t = m[q]; if (t) { t = t[g]; for (var y = false; t; ) { if (t.sizcache === l) { y = m[t.sizset]; break } if (t.nodeType === 1) { if (!p) { t.sizcache = l; t.sizset = q } if (typeof h !== "string") { if (t === h) { y = true; break } } else if (k.filter(h, [t]).length > 0) { y = t; break } } t = t[g] } m[q] = y } } } var f = /((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,
e = 0, j = Object.prototype.toString, i = false, o = true; [0, 0].sort(function () { o = false; return 0 }); var k = function (g, h, l, m) {
    l = l || []; var q = h = h || s; if (h.nodeType !== 1 && h.nodeType !== 9) return []; if (!g || typeof g !== "string") return l; for (var p = [], v, t, y, S, H = true, M = x(h), I = g; (f.exec(""), v = f.exec(I)) !== null; ) { I = v[3]; p.push(v[1]); if (v[2]) { S = v[3]; break } } if (p.length > 1 && r.exec(g)) if (p.length === 2 && n.relative[p[0]]) t = ga(p[0] + p[1], h); else for (t = n.relative[p[0]] ? [h] : k(p.shift(), h); p.length; ) {
        g = p.shift(); if (n.relative[g]) g += p.shift();
        t = ga(g, t)
    } else { if (!m && p.length > 1 && h.nodeType === 9 && !M && n.match.ID.test(p[0]) && !n.match.ID.test(p[p.length - 1])) { v = k.find(p.shift(), h, M); h = v.expr ? k.filter(v.expr, v.set)[0] : v.set[0] } if (h) { v = m ? { expr: p.pop(), set: z(m)} : k.find(p.pop(), p.length === 1 && (p[0] === "~" || p[0] === "+") && h.parentNode ? h.parentNode : h, M); t = v.expr ? k.filter(v.expr, v.set) : v.set; if (p.length > 0) y = z(t); else H = false; for (; p.length; ) { var D = p.pop(); v = D; if (n.relative[D]) v = p.pop(); else D = ""; if (v == null) v = h; n.relative[D](y, v, M) } } else y = [] } y || (y = t); y || k.error(D ||
g); if (j.call(y) === "[object Array]") if (H) if (h && h.nodeType === 1) for (g = 0; y[g] != null; g++) { if (y[g] && (y[g] === true || y[g].nodeType === 1 && E(h, y[g]))) l.push(t[g]) } else for (g = 0; y[g] != null; g++) y[g] && y[g].nodeType === 1 && l.push(t[g]); else l.push.apply(l, y); else z(y, l); if (S) { k(S, q, l, m); k.uniqueSort(l) } return l
}; k.uniqueSort = function (g) { if (B) { i = o; g.sort(B); if (i) for (var h = 1; h < g.length; h++) g[h] === g[h - 1] && g.splice(h--, 1) } return g }; k.matches = function (g, h) { return k(g, null, null, h) }; k.find = function (g, h, l) {
    var m, q; if (!g) return [];
    for (var p = 0, v = n.order.length; p < v; p++) { var t = n.order[p]; if (q = n.leftMatch[t].exec(g)) { var y = q[1]; q.splice(1, 1); if (y.substr(y.length - 1) !== "\\") { q[1] = (q[1] || "").replace(/\\/g, ""); m = n.find[t](q, h, l); if (m != null) { g = g.replace(n.match[t], ""); break } } } } m || (m = h.getElementsByTagName("*")); return { set: m, expr: g }
}; k.filter = function (g, h, l, m) {
    for (var q = g, p = [], v = h, t, y, S = h && h[0] && x(h[0]); g && h.length; ) {
        for (var H in n.filter) if ((t = n.leftMatch[H].exec(g)) != null && t[2]) {
            var M = n.filter[H], I, D; D = t[1]; y = false; t.splice(1, 1); if (D.substr(D.length -
1) !== "\\") { if (v === p) p = []; if (n.preFilter[H]) if (t = n.preFilter[H](t, v, l, p, m, S)) { if (t === true) continue } else y = I = true; if (t) for (var U = 0; (D = v[U]) != null; U++) if (D) { I = M(D, t, U, v); var Ha = m ^ !!I; if (l && I != null) if (Ha) y = true; else v[U] = false; else if (Ha) { p.push(D); y = true } } if (I !== w) { l || (v = p); g = g.replace(n.match[H], ""); if (!y) return []; break } }
        } if (g === q) if (y == null) k.error(g); else break; q = g
    } return v
}; k.error = function (g) { throw "Syntax error, unrecognized expression: " + g; }; var n = k.selectors = { order: ["ID", "NAME", "TAG"], match: { ID: /#((?:[\w\u00c0-\uFFFF-]|\\.)+)/,
    CLASS: /\.((?:[\w\u00c0-\uFFFF-]|\\.)+)/, NAME: /\[name=['"]*((?:[\w\u00c0-\uFFFF-]|\\.)+)['"]*\]/, ATTR: /\[\s*((?:[\w\u00c0-\uFFFF-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/, TAG: /^((?:[\w\u00c0-\uFFFF\*-]|\\.)+)/, CHILD: /:(only|nth|last|first)-child(?:\((even|odd|[\dn+-]*)\))?/, POS: /:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^-]|$)/, PSEUDO: /:((?:[\w\u00c0-\uFFFF-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/
}, leftMatch: {}, attrMap: { "class": "className", "for": "htmlFor" }, attrHandle: { href: function (g) { return g.getAttribute("href") } },
    relative: { "+": function (g, h) { var l = typeof h === "string", m = l && !/\W/.test(h); l = l && !m; if (m) h = h.toLowerCase(); m = 0; for (var q = g.length, p; m < q; m++) if (p = g[m]) { for (; (p = p.previousSibling) && p.nodeType !== 1; ); g[m] = l || p && p.nodeName.toLowerCase() === h ? p || false : p === h } l && k.filter(h, g, true) }, ">": function (g, h) {
        var l = typeof h === "string"; if (l && !/\W/.test(h)) { h = h.toLowerCase(); for (var m = 0, q = g.length; m < q; m++) { var p = g[m]; if (p) { l = p.parentNode; g[m] = l.nodeName.toLowerCase() === h ? l : false } } } else {
            m = 0; for (q = g.length; m < q; m++) if (p = g[m]) g[m] =
l ? p.parentNode : p.parentNode === h; l && k.filter(h, g, true)
        }
    }, "": function (g, h, l) { var m = e++, q = d; if (typeof h === "string" && !/\W/.test(h)) { var p = h = h.toLowerCase(); q = b } q("parentNode", h, m, g, p, l) }, "~": function (g, h, l) { var m = e++, q = d; if (typeof h === "string" && !/\W/.test(h)) { var p = h = h.toLowerCase(); q = b } q("previousSibling", h, m, g, p, l) }
    }, find: { ID: function (g, h, l) { if (typeof h.getElementById !== "undefined" && !l) return (g = h.getElementById(g[1])) ? [g] : [] }, NAME: function (g, h) {
        if (typeof h.getElementsByName !== "undefined") {
            var l = [];
            h = h.getElementsByName(g[1]); for (var m = 0, q = h.length; m < q; m++) h[m].getAttribute("name") === g[1] && l.push(h[m]); return l.length === 0 ? null : l
        }
    }, TAG: function (g, h) { return h.getElementsByTagName(g[1]) }
    }, preFilter: { CLASS: function (g, h, l, m, q, p) { g = " " + g[1].replace(/\\/g, "") + " "; if (p) return g; p = 0; for (var v; (v = h[p]) != null; p++) if (v) if (q ^ (v.className && (" " + v.className + " ").replace(/[\t\n]/g, " ").indexOf(g) >= 0)) l || m.push(v); else if (l) h[p] = false; return false }, ID: function (g) { return g[1].replace(/\\/g, "") }, TAG: function (g) { return g[1].toLowerCase() },
        CHILD: function (g) { if (g[1] === "nth") { var h = /(-?)(\d*)n((?:\+|-)?\d*)/.exec(g[2] === "even" && "2n" || g[2] === "odd" && "2n+1" || !/\D/.test(g[2]) && "0n+" + g[2] || g[2]); g[2] = h[1] + (h[2] || 1) - 0; g[3] = h[3] - 0 } g[0] = e++; return g }, ATTR: function (g, h, l, m, q, p) { h = g[1].replace(/\\/g, ""); if (!p && n.attrMap[h]) g[1] = n.attrMap[h]; if (g[2] === "~=") g[4] = " " + g[4] + " "; return g }, PSEUDO: function (g, h, l, m, q) {
            if (g[1] === "not") if ((f.exec(g[3]) || "").length > 1 || /^\w/.test(g[3])) g[3] = k(g[3], null, null, h); else {
                g = k.filter(g[3], h, l, true ^ q); l || m.push.apply(m,
g); return false
            } else if (n.match.POS.test(g[0]) || n.match.CHILD.test(g[0])) return true; return g
        }, POS: function (g) { g.unshift(true); return g }
    }, filters: { enabled: function (g) { return g.disabled === false && g.type !== "hidden" }, disabled: function (g) { return g.disabled === true }, checked: function (g) { return g.checked === true }, selected: function (g) { return g.selected === true }, parent: function (g) { return !!g.firstChild }, empty: function (g) { return !g.firstChild }, has: function (g, h, l) { return !!k(l[3], g).length }, header: function (g) { return /h\d/i.test(g.nodeName) },
        text: function (g) { return "text" === g.type }, radio: function (g) { return "radio" === g.type }, checkbox: function (g) { return "checkbox" === g.type }, file: function (g) { return "file" === g.type }, password: function (g) { return "password" === g.type }, submit: function (g) { return "submit" === g.type }, image: function (g) { return "image" === g.type }, reset: function (g) { return "reset" === g.type }, button: function (g) { return "button" === g.type || g.nodeName.toLowerCase() === "button" }, input: function (g) { return /input|select|textarea|button/i.test(g.nodeName) }
    },
    setFilters: { first: function (g, h) { return h === 0 }, last: function (g, h, l, m) { return h === m.length - 1 }, even: function (g, h) { return h % 2 === 0 }, odd: function (g, h) { return h % 2 === 1 }, lt: function (g, h, l) { return h < l[3] - 0 }, gt: function (g, h, l) { return h > l[3] - 0 }, nth: function (g, h, l) { return l[3] - 0 === h }, eq: function (g, h, l) { return l[3] - 0 === h } }, filter: { PSEUDO: function (g, h, l, m) {
        var q = h[1], p = n.filters[q]; if (p) return p(g, l, h, m); else if (q === "contains") return (g.textContent || g.innerText || a([g]) || "").indexOf(h[3]) >= 0; else if (q === "not") {
            h =
h[3]; l = 0; for (m = h.length; l < m; l++) if (h[l] === g) return false; return true
        } else k.error("Syntax error, unrecognized expression: " + q)
    }, CHILD: function (g, h) {
        var l = h[1], m = g; switch (l) {
            case "only": case "first": for (; m = m.previousSibling; ) if (m.nodeType === 1) return false; if (l === "first") return true; m = g; case "last": for (; m = m.nextSibling; ) if (m.nodeType === 1) return false; return true; case "nth": l = h[2]; var q = h[3]; if (l === 1 && q === 0) return true; h = h[0]; var p = g.parentNode; if (p && (p.sizcache !== h || !g.nodeIndex)) {
                    var v = 0; for (m = p.firstChild; m; m =
m.nextSibling) if (m.nodeType === 1) m.nodeIndex = ++v; p.sizcache = h
                } g = g.nodeIndex - q; return l === 0 ? g === 0 : g % l === 0 && g / l >= 0
        }
    }, ID: function (g, h) { return g.nodeType === 1 && g.getAttribute("id") === h }, TAG: function (g, h) { return h === "*" && g.nodeType === 1 || g.nodeName.toLowerCase() === h }, CLASS: function (g, h) { return (" " + (g.className || g.getAttribute("class")) + " ").indexOf(h) > -1 }, ATTR: function (g, h) {
        var l = h[1]; g = n.attrHandle[l] ? n.attrHandle[l](g) : g[l] != null ? g[l] : g.getAttribute(l); l = g + ""; var m = h[2]; h = h[4]; return g == null ? m === "!=" : m ===
"=" ? l === h : m === "*=" ? l.indexOf(h) >= 0 : m === "~=" ? (" " + l + " ").indexOf(h) >= 0 : !h ? l && g !== false : m === "!=" ? l !== h : m === "^=" ? l.indexOf(h) === 0 : m === "$=" ? l.substr(l.length - h.length) === h : m === "|=" ? l === h || l.substr(0, h.length + 1) === h + "-" : false
    }, POS: function (g, h, l, m) { var q = n.setFilters[h[2]]; if (q) return q(g, l, h, m) }
    }
}, r = n.match.POS; for (var u in n.match) {
        n.match[u] = new RegExp(n.match[u].source + /(?![^\[]*\])(?![^\(]*\))/.source); n.leftMatch[u] = new RegExp(/(^(?:.|\r|\n)*?)/.source + n.match[u].source.replace(/\\(\d+)/g, function (g,
h) { return "\\" + (h - 0 + 1) }))
    } var z = function (g, h) { g = Array.prototype.slice.call(g, 0); if (h) { h.push.apply(h, g); return h } return g }; try { Array.prototype.slice.call(s.documentElement.childNodes, 0) } catch (C) { z = function (g, h) { h = h || []; if (j.call(g) === "[object Array]") Array.prototype.push.apply(h, g); else if (typeof g.length === "number") for (var l = 0, m = g.length; l < m; l++) h.push(g[l]); else for (l = 0; g[l]; l++) h.push(g[l]); return h } } var B; if (s.documentElement.compareDocumentPosition) B = function (g, h) {
        if (!g.compareDocumentPosition ||
!h.compareDocumentPosition) { if (g == h) i = true; return g.compareDocumentPosition ? -1 : 1 } g = g.compareDocumentPosition(h) & 4 ? -1 : g === h ? 0 : 1; if (g === 0) i = true; return g
    }; else if ("sourceIndex" in s.documentElement) B = function (g, h) { if (!g.sourceIndex || !h.sourceIndex) { if (g == h) i = true; return g.sourceIndex ? -1 : 1 } g = g.sourceIndex - h.sourceIndex; if (g === 0) i = true; return g }; else if (s.createRange) B = function (g, h) {
        if (!g.ownerDocument || !h.ownerDocument) { if (g == h) i = true; return g.ownerDocument ? -1 : 1 } var l = g.ownerDocument.createRange(), m =
h.ownerDocument.createRange(); l.setStart(g, 0); l.setEnd(g, 0); m.setStart(h, 0); m.setEnd(h, 0); g = l.compareBoundaryPoints(Range.START_TO_END, m); if (g === 0) i = true; return g
    }; (function () {
        var g = s.createElement("div"), h = "script" + (new Date).getTime(); g.innerHTML = "<a name='" + h + "'/>"; var l = s.documentElement; l.insertBefore(g, l.firstChild); if (s.getElementById(h)) {
            n.find.ID = function (m, q, p) {
                if (typeof q.getElementById !== "undefined" && !p) return (q = q.getElementById(m[1])) ? q.id === m[1] || typeof q.getAttributeNode !== "undefined" &&
q.getAttributeNode("id").nodeValue === m[1] ? [q] : w : []
            }; n.filter.ID = function (m, q) { var p = typeof m.getAttributeNode !== "undefined" && m.getAttributeNode("id"); return m.nodeType === 1 && p && p.nodeValue === q }
        } l.removeChild(g); l = g = null
    })(); (function () {
        var g = s.createElement("div"); g.appendChild(s.createComment("")); if (g.getElementsByTagName("*").length > 0) n.find.TAG = function (h, l) { l = l.getElementsByTagName(h[1]); if (h[1] === "*") { h = []; for (var m = 0; l[m]; m++) l[m].nodeType === 1 && h.push(l[m]); l = h } return l }; g.innerHTML = "<a href='#'></a>";
        if (g.firstChild && typeof g.firstChild.getAttribute !== "undefined" && g.firstChild.getAttribute("href") !== "#") n.attrHandle.href = function (h) { return h.getAttribute("href", 2) }; g = null
    })(); s.querySelectorAll && function () { var g = k, h = s.createElement("div"); h.innerHTML = "<p class='TEST'></p>"; if (!(h.querySelectorAll && h.querySelectorAll(".TEST").length === 0)) { k = function (m, q, p, v) { q = q || s; if (!v && q.nodeType === 9 && !x(q)) try { return z(q.querySelectorAll(m), p) } catch (t) { } return g(m, q, p, v) }; for (var l in g) k[l] = g[l]; h = null } } ();
    (function () { var g = s.createElement("div"); g.innerHTML = "<div class='test e'></div><div class='test'></div>"; if (!(!g.getElementsByClassName || g.getElementsByClassName("e").length === 0)) { g.lastChild.className = "e"; if (g.getElementsByClassName("e").length !== 1) { n.order.splice(1, 0, "CLASS"); n.find.CLASS = function (h, l, m) { if (typeof l.getElementsByClassName !== "undefined" && !m) return l.getElementsByClassName(h[1]) }; g = null } } })(); var E = s.compareDocumentPosition ? function (g, h) { return !!(g.compareDocumentPosition(h) & 16) } :
function (g, h) { return g !== h && (g.contains ? g.contains(h) : true) }, x = function (g) { return (g = (g ? g.ownerDocument || g : 0).documentElement) ? g.nodeName !== "HTML" : false }, ga = function (g, h) { var l = [], m = "", q; for (h = h.nodeType ? [h] : h; q = n.match.PSEUDO.exec(g); ) { m += q[0]; g = g.replace(n.match.PSEUDO, "") } g = n.relative[g] ? g + "*" : g; q = 0; for (var p = h.length; q < p; q++) k(g, h[q], l); return k.filter(m, l) }; c.find = k; c.expr = k.selectors; c.expr[":"] = c.expr.filters; c.unique = k.uniqueSort; c.text = a; c.isXMLDoc = x; c.contains = E
})(); var eb = /Until$/, fb = /^(?:parents|prevUntil|prevAll)/,
gb = /,/; R = Array.prototype.slice; var Ia = function (a, b, d) { if (c.isFunction(b)) return c.grep(a, function (e, j) { return !!b.call(e, j, e) === d }); else if (b.nodeType) return c.grep(a, function (e) { return e === b === d }); else if (typeof b === "string") { var f = c.grep(a, function (e) { return e.nodeType === 1 }); if (Ua.test(b)) return c.filter(b, f, !d); else b = c.filter(b, f) } return c.grep(a, function (e) { return c.inArray(e, b) >= 0 === d }) }; c.fn.extend({ find: function (a) {
    for (var b = this.pushStack("", "find", a), d = 0, f = 0, e = this.length; f < e; f++) {
        d = b.length;
        c.find(a, this[f], b); if (f > 0) for (var j = d; j < b.length; j++) for (var i = 0; i < d; i++) if (b[i] === b[j]) { b.splice(j--, 1); break }
    } return b
}, has: function (a) { var b = c(a); return this.filter(function () { for (var d = 0, f = b.length; d < f; d++) if (c.contains(this, b[d])) return true }) }, not: function (a) { return this.pushStack(Ia(this, a, false), "not", a) }, filter: function (a) { return this.pushStack(Ia(this, a, true), "filter", a) }, is: function (a) { return !!a && c.filter(a, this).length > 0 }, closest: function (a, b) {
    if (c.isArray(a)) {
        var d = [], f = this[0], e, j =
{}, i; if (f && a.length) { e = 0; for (var o = a.length; e < o; e++) { i = a[e]; j[i] || (j[i] = c.expr.match.POS.test(i) ? c(i, b || this.context) : i) } for (; f && f.ownerDocument && f !== b; ) { for (i in j) { e = j[i]; if (e.jquery ? e.index(f) > -1 : c(f).is(e)) { d.push({ selector: i, elem: f }); delete j[i] } } f = f.parentNode } } return d
    } var k = c.expr.match.POS.test(a) ? c(a, b || this.context) : null; return this.map(function (n, r) { for (; r && r.ownerDocument && r !== b; ) { if (k ? k.index(r) > -1 : c(r).is(a)) return r; r = r.parentNode } return null })
}, index: function (a) {
    if (!a || typeof a ===
"string") return c.inArray(this[0], a ? c(a) : this.parent().children()); return c.inArray(a.jquery ? a[0] : a, this)
}, add: function (a, b) { a = typeof a === "string" ? c(a, b || this.context) : c.makeArray(a); b = c.merge(this.get(), a); return this.pushStack(qa(a[0]) || qa(b[0]) ? b : c.unique(b)) }, andSelf: function () { return this.add(this.prevObject) }
}); c.each({ parent: function (a) { return (a = a.parentNode) && a.nodeType !== 11 ? a : null }, parents: function (a) { return c.dir(a, "parentNode") }, parentsUntil: function (a, b, d) {
    return c.dir(a, "parentNode",
d)
}, next: function (a) { return c.nth(a, 2, "nextSibling") }, prev: function (a) { return c.nth(a, 2, "previousSibling") }, nextAll: function (a) { return c.dir(a, "nextSibling") }, prevAll: function (a) { return c.dir(a, "previousSibling") }, nextUntil: function (a, b, d) { return c.dir(a, "nextSibling", d) }, prevUntil: function (a, b, d) { return c.dir(a, "previousSibling", d) }, siblings: function (a) { return c.sibling(a.parentNode.firstChild, a) }, children: function (a) { return c.sibling(a.firstChild) }, contents: function (a) {
    return c.nodeName(a, "iframe") ?
a.contentDocument || a.contentWindow.document : c.makeArray(a.childNodes)
}
}, function (a, b) { c.fn[a] = function (d, f) { var e = c.map(this, b, d); eb.test(a) || (f = d); if (f && typeof f === "string") e = c.filter(f, e); e = this.length > 1 ? c.unique(e) : e; if ((this.length > 1 || gb.test(f)) && fb.test(a)) e = e.reverse(); return this.pushStack(e, a, R.call(arguments).join(",")) } }); c.extend({ filter: function (a, b, d) { if (d) a = ":not(" + a + ")"; return c.find.matches(a, b) }, dir: function (a, b, d) {
    var f = []; for (a = a[b]; a && a.nodeType !== 9 && (d === w || a.nodeType !== 1 || !c(a).is(d)); ) {
        a.nodeType ===
1 && f.push(a); a = a[b]
    } return f
}, nth: function (a, b, d) { b = b || 1; for (var f = 0; a; a = a[d]) if (a.nodeType === 1 && ++f === b) break; return a }, sibling: function (a, b) { for (var d = []; a; a = a.nextSibling) a.nodeType === 1 && a !== b && d.push(a); return d }
}); var Ja = / jQuery\d+="(?:\d+|null)"/g, V = /^\s+/, Ka = /(<([\w:]+)[^>]*?)\/>/g, hb = /^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i, La = /<([\w:]+)/, ib = /<tbody/i, jb = /<|&#?\w+;/, ta = /<script|<object|<embed|<option|<style/i, ua = /checked\s*(?:[^=]|=\s*.checked.)/i, Ma = function (a, b, d) {
    return hb.test(d) ?
a : b + "></" + d + ">"
}, F = { option: [1, "<select multiple='multiple'>", "</select>"], legend: [1, "<fieldset>", "</fieldset>"], thead: [1, "<table>", "</table>"], tr: [2, "<table><tbody>", "</tbody></table>"], td: [3, "<table><tbody><tr>", "</tr></tbody></table>"], col: [2, "<table><tbody></tbody><colgroup>", "</colgroup></table>"], area: [1, "<map>", "</map>"], _default: [0, "", ""] }; F.optgroup = F.option; F.tbody = F.tfoot = F.colgroup = F.caption = F.thead; F.th = F.td; if (!c.support.htmlSerialize) F._default = [1, "div<div>", "</div>"]; c.fn.extend({ text: function (a) {
    if (c.isFunction(a)) return this.each(function (b) {
        var d =
c(this); d.text(a.call(this, b, d.text()))
    }); if (typeof a !== "object" && a !== w) return this.empty().append((this[0] && this[0].ownerDocument || s).createTextNode(a)); return c.text(this)
}, wrapAll: function (a) { if (c.isFunction(a)) return this.each(function (d) { c(this).wrapAll(a.call(this, d)) }); if (this[0]) { var b = c(a, this[0].ownerDocument).eq(0).clone(true); this[0].parentNode && b.insertBefore(this[0]); b.map(function () { for (var d = this; d.firstChild && d.firstChild.nodeType === 1; ) d = d.firstChild; return d }).append(this) } return this },
    wrapInner: function (a) { if (c.isFunction(a)) return this.each(function (b) { c(this).wrapInner(a.call(this, b)) }); return this.each(function () { var b = c(this), d = b.contents(); d.length ? d.wrapAll(a) : b.append(a) }) }, wrap: function (a) { return this.each(function () { c(this).wrapAll(a) }) }, unwrap: function () { return this.parent().each(function () { c.nodeName(this, "body") || c(this).replaceWith(this.childNodes) }).end() }, append: function () { return this.domManip(arguments, true, function (a) { this.nodeType === 1 && this.appendChild(a) }) },
    prepend: function () { return this.domManip(arguments, true, function (a) { this.nodeType === 1 && this.insertBefore(a, this.firstChild) }) }, before: function () { if (this[0] && this[0].parentNode) return this.domManip(arguments, false, function (b) { this.parentNode.insertBefore(b, this) }); else if (arguments.length) { var a = c(arguments[0]); a.push.apply(a, this.toArray()); return this.pushStack(a, "before", arguments) } }, after: function () {
        if (this[0] && this[0].parentNode) return this.domManip(arguments, false, function (b) {
            this.parentNode.insertBefore(b,
this.nextSibling)
        }); else if (arguments.length) { var a = this.pushStack(this, "after", arguments); a.push.apply(a, c(arguments[0]).toArray()); return a }
    }, remove: function (a, b) { for (var d = 0, f; (f = this[d]) != null; d++) if (!a || c.filter(a, [f]).length) { if (!b && f.nodeType === 1) { c.cleanData(f.getElementsByTagName("*")); c.cleanData([f]) } f.parentNode && f.parentNode.removeChild(f) } return this }, empty: function () {
        for (var a = 0, b; (b = this[a]) != null; a++) for (b.nodeType === 1 && c.cleanData(b.getElementsByTagName("*")); b.firstChild; ) b.removeChild(b.firstChild);
        return this
    }, clone: function (a) { var b = this.map(function () { if (!c.support.noCloneEvent && !c.isXMLDoc(this)) { var d = this.outerHTML, f = this.ownerDocument; if (!d) { d = f.createElement("div"); d.appendChild(this.cloneNode(true)); d = d.innerHTML } return c.clean([d.replace(Ja, "").replace(/=([^="'>\s]+\/)>/g, '="$1">').replace(V, "")], f)[0] } else return this.cloneNode(true) }); if (a === true) { ra(this, b); ra(this.find("*"), b.find("*")) } return b }, html: function (a) {
        if (a === w) return this[0] && this[0].nodeType === 1 ? this[0].innerHTML.replace(Ja,
"") : null; else if (typeof a === "string" && !ta.test(a) && (c.support.leadingWhitespace || !V.test(a)) && !F[(La.exec(a) || ["", ""])[1].toLowerCase()]) { a = a.replace(Ka, Ma); try { for (var b = 0, d = this.length; b < d; b++) if (this[b].nodeType === 1) { c.cleanData(this[b].getElementsByTagName("*")); this[b].innerHTML = a } } catch (f) { this.empty().append(a) } } else c.isFunction(a) ? this.each(function (e) { var j = c(this), i = j.html(); j.empty().append(function () { return a.call(this, e, i) }) }) : this.empty().append(a); return this
    }, replaceWith: function (a) {
        if (this[0] &&
this[0].parentNode) { if (c.isFunction(a)) return this.each(function (b) { var d = c(this), f = d.html(); d.replaceWith(a.call(this, b, f)) }); if (typeof a !== "string") a = c(a).detach(); return this.each(function () { var b = this.nextSibling, d = this.parentNode; c(this).remove(); b ? c(b).before(a) : c(d).append(a) }) } else return this.pushStack(c(c.isFunction(a) ? a() : a), "replaceWith", a)
    }, detach: function (a) { return this.remove(a, true) }, domManip: function (a, b, d) {
        function f(u) {
            return c.nodeName(u, "table") ? u.getElementsByTagName("tbody")[0] ||
u.appendChild(u.ownerDocument.createElement("tbody")) : u
        } var e, j, i = a[0], o = [], k; if (!c.support.checkClone && arguments.length === 3 && typeof i === "string" && ua.test(i)) return this.each(function () { c(this).domManip(a, b, d, true) }); if (c.isFunction(i)) return this.each(function (u) { var z = c(this); a[0] = i.call(this, u, b ? z.html() : w); z.domManip(a, b, d) }); if (this[0]) {
            e = i && i.parentNode; e = c.support.parentNode && e && e.nodeType === 11 && e.childNodes.length === this.length ? { fragment: e} : sa(a, this, o); k = e.fragment; if (j = k.childNodes.length ===
1 ? (k = k.firstChild) : k.firstChild) { b = b && c.nodeName(j, "tr"); for (var n = 0, r = this.length; n < r; n++) d.call(b ? f(this[n], j) : this[n], n > 0 || e.cacheable || this.length > 1 ? k.cloneNode(true) : k) } o.length && c.each(o, Qa)
        } return this
    }
}); c.fragments = {}; c.each({ appendTo: "append", prependTo: "prepend", insertBefore: "before", insertAfter: "after", replaceAll: "replaceWith" }, function (a, b) {
    c.fn[a] = function (d) {
        var f = []; d = c(d); var e = this.length === 1 && this[0].parentNode; if (e && e.nodeType === 11 && e.childNodes.length === 1 && d.length === 1) {
            d[b](this[0]);
            return this
        } else { e = 0; for (var j = d.length; e < j; e++) { var i = (e > 0 ? this.clone(true) : this).get(); c.fn[b].apply(c(d[e]), i); f = f.concat(i) } return this.pushStack(f, a, d.selector) }
    }
}); c.extend({ clean: function (a, b, d, f) {
    b = b || s; if (typeof b.createElement === "undefined") b = b.ownerDocument || b[0] && b[0].ownerDocument || s; for (var e = [], j = 0, i; (i = a[j]) != null; j++) {
        if (typeof i === "number") i += ""; if (i) {
            if (typeof i === "string" && !jb.test(i)) i = b.createTextNode(i); else if (typeof i === "string") {
                i = i.replace(Ka, Ma); var o = (La.exec(i) || ["",
""])[1].toLowerCase(), k = F[o] || F._default, n = k[0], r = b.createElement("div"); for (r.innerHTML = k[1] + i + k[2]; n--; ) r = r.lastChild; if (!c.support.tbody) { n = ib.test(i); o = o === "table" && !n ? r.firstChild && r.firstChild.childNodes : k[1] === "<table>" && !n ? r.childNodes : []; for (k = o.length - 1; k >= 0; --k) c.nodeName(o[k], "tbody") && !o[k].childNodes.length && o[k].parentNode.removeChild(o[k]) } !c.support.leadingWhitespace && V.test(i) && r.insertBefore(b.createTextNode(V.exec(i)[0]), r.firstChild); i = r.childNodes
            } if (i.nodeType) e.push(i); else e =
c.merge(e, i)
        }
    } if (d) for (j = 0; e[j]; j++) if (f && c.nodeName(e[j], "script") && (!e[j].type || e[j].type.toLowerCase() === "text/javascript")) f.push(e[j].parentNode ? e[j].parentNode.removeChild(e[j]) : e[j]); else { e[j].nodeType === 1 && e.splice.apply(e, [j + 1, 0].concat(c.makeArray(e[j].getElementsByTagName("script")))); d.appendChild(e[j]) } return e
}, cleanData: function (a) {
    for (var b, d, f = c.cache, e = c.event.special, j = c.support.deleteExpando, i = 0, o; (o = a[i]) != null; i++) if (d = o[c.expando]) {
        b = f[d]; if (b.events) for (var k in b.events) e[k] ?
c.event.remove(o, k) : Ca(o, k, b.handle); if (j) delete o[c.expando]; else o.removeAttribute && o.removeAttribute(c.expando); delete f[d]
    }
}
}); var kb = /z-?index|font-?weight|opacity|zoom|line-?height/i, Na = /alpha\([^)]*\)/, Oa = /opacity=([^)]*)/, ha = /float/i, ia = /-([a-z])/ig, lb = /([A-Z])/g, mb = /^-?\d+(?:px)?$/i, nb = /^-?\d/, ob = { position: "absolute", visibility: "hidden", display: "block" }, pb = ["Left", "Right"], qb = ["Top", "Bottom"], rb = s.defaultView && s.defaultView.getComputedStyle, Pa = c.support.cssFloat ? "cssFloat" : "styleFloat", ja =
function (a, b) { return b.toUpperCase() }; c.fn.css = function (a, b) { return X(this, a, b, true, function (d, f, e) { if (e === w) return c.curCSS(d, f); if (typeof e === "number" && !kb.test(f)) e += "px"; c.style(d, f, e) }) }; c.extend({ style: function (a, b, d) {
    if (!a || a.nodeType === 3 || a.nodeType === 8) return w; if ((b === "width" || b === "height") && parseFloat(d) < 0) d = w; var f = a.style || a, e = d !== w; if (!c.support.opacity && b === "opacity") {
        if (e) {
            f.zoom = 1; b = parseInt(d, 10) + "" === "NaN" ? "" : "alpha(opacity=" + d * 100 + ")"; a = f.filter || c.curCSS(a, "filter") || ""; f.filter =
Na.test(a) ? a.replace(Na, b) : b
        } return f.filter && f.filter.indexOf("opacity=") >= 0 ? parseFloat(Oa.exec(f.filter)[1]) / 100 + "" : ""
    } if (ha.test(b)) b = Pa; b = b.replace(ia, ja); if (e) f[b] = d; return f[b]
}, css: function (a, b, d, f) {
    if (b === "width" || b === "height") {
        var e, j = b === "width" ? pb : qb; function i() {
            e = b === "width" ? a.offsetWidth : a.offsetHeight; f !== "border" && c.each(j, function () {
                f || (e -= parseFloat(c.curCSS(a, "padding" + this, true)) || 0); if (f === "margin") e += parseFloat(c.curCSS(a, "margin" + this, true)) || 0; else e -= parseFloat(c.curCSS(a,
"border" + this + "Width", true)) || 0
            })
        } a.offsetWidth !== 0 ? i() : c.swap(a, ob, i); return Math.max(0, Math.round(e))
    } return c.curCSS(a, b, d)
}, curCSS: function (a, b, d) {
    var f, e = a.style; if (!c.support.opacity && b === "opacity" && a.currentStyle) { f = Oa.test(a.currentStyle.filter || "") ? parseFloat(RegExp.$1) / 100 + "" : ""; return f === "" ? "1" : f } if (ha.test(b)) b = Pa; if (!d && e && e[b]) f = e[b]; else if (rb) {
        if (ha.test(b)) b = "float"; b = b.replace(lb, "-$1").toLowerCase(); e = a.ownerDocument.defaultView; if (!e) return null; if (a = e.getComputedStyle(a, null)) f =
a.getPropertyValue(b); if (b === "opacity" && f === "") f = "1"
    } else if (a.currentStyle) { d = b.replace(ia, ja); f = a.currentStyle[b] || a.currentStyle[d]; if (!mb.test(f) && nb.test(f)) { b = e.left; var j = a.runtimeStyle.left; a.runtimeStyle.left = a.currentStyle.left; e.left = d === "fontSize" ? "1em" : f || 0; f = e.pixelLeft + "px"; e.left = b; a.runtimeStyle.left = j } } return f
}, swap: function (a, b, d) { var f = {}; for (var e in b) { f[e] = a.style[e]; a.style[e] = b[e] } d.call(a); for (e in b) a.style[e] = f[e] }
}); if (c.expr && c.expr.filters) {
        c.expr.filters.hidden = function (a) {
            var b =
a.offsetWidth, d = a.offsetHeight, f = a.nodeName.toLowerCase() === "tr"; return b === 0 && d === 0 && !f ? true : b > 0 && d > 0 && !f ? false : c.curCSS(a, "display") === "none"
        }; c.expr.filters.visible = function (a) { return !c.expr.filters.hidden(a) }
    } var sb = J(), tb = /<script(.|\s)*?\/script>/gi, ub = /select|textarea/i, vb = /color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week/i, N = /=\?(&|$)/, ka = /\?/, wb = /(\?|&)_=.*?(&|$)/, xb = /^(\w+:)?\/\/([^\/?#]+)/, yb = /%20/g, zb = c.fn.load; c.fn.extend({ load: function (a, b, d) {
        if (typeof a !==
"string") return zb.call(this, a); else if (!this.length) return this; var f = a.indexOf(" "); if (f >= 0) { var e = a.slice(f, a.length); a = a.slice(0, f) } f = "GET"; if (b) if (c.isFunction(b)) { d = b; b = null } else if (typeof b === "object") { b = c.param(b, c.ajaxSettings.traditional); f = "POST" } var j = this; c.ajax({ url: a, type: f, dataType: "html", data: b, complete: function (i, o) { if (o === "success" || o === "notmodified") j.html(e ? c("<div />").append(i.responseText.replace(tb, "")).find(e) : i.responseText); d && j.each(d, [i.responseText, o, i]) } }); return this
    },
        serialize: function () { return c.param(this.serializeArray()) }, serializeArray: function () { return this.map(function () { return this.elements ? c.makeArray(this.elements) : this }).filter(function () { return this.name && !this.disabled && (this.checked || ub.test(this.nodeName) || vb.test(this.type)) }).map(function (a, b) { a = c(this).val(); return a == null ? null : c.isArray(a) ? c.map(a, function (d) { return { name: b.name, value: d} }) : { name: b.name, value: a} }).get() }
    }); c.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),
function (a, b) { c.fn[b] = function (d) { return this.bind(b, d) } }); c.extend({ get: function (a, b, d, f) { if (c.isFunction(b)) { f = f || d; d = b; b = null } return c.ajax({ type: "GET", url: a, data: b, success: d, dataType: f }) }, getScript: function (a, b) { return c.get(a, null, b, "script") }, getJSON: function (a, b, d) { return c.get(a, b, d, "json") }, post: function (a, b, d, f) { if (c.isFunction(b)) { f = f || d; d = b; b = {} } return c.ajax({ type: "POST", url: a, data: b, success: d, dataType: f }) }, ajaxSetup: function (a) { c.extend(c.ajaxSettings, a) }, ajaxSettings: { url: location.href,
    global: true, type: "GET", contentType: "application/x-www-form-urlencoded", processData: true, async: true, xhr: A.XMLHttpRequest && (A.location.protocol !== "file:" || !A.ActiveXObject) ? function () { return new A.XMLHttpRequest } : function () { try { return new A.ActiveXObject("Microsoft.XMLHTTP") } catch (a) { } }, accepts: { xml: "application/xml, text/xml", html: "text/html", script: "text/javascript, application/javascript", json: "application/json, text/javascript", text: "text/plain", _default: "*/*" }
}, lastModified: {}, etag: {}, ajax: function (a) {
    function b() {
        e.success &&
e.success.call(k, o, i, x); e.global && f("ajaxSuccess", [x, e])
    } function d() { e.complete && e.complete.call(k, x, i); e.global && f("ajaxComplete", [x, e]); e.global && ! --c.active && c.event.trigger("ajaxStop") } function f(q, p) { (e.context ? c(e.context) : c.event).trigger(q, p) } var e = c.extend(true, {}, c.ajaxSettings, a), j, i, o, k = a && a.context || e, n = e.type.toUpperCase(); if (e.data && e.processData && typeof e.data !== "string") e.data = c.param(e.data, e.traditional); if (e.dataType === "jsonp") {
        if (n === "GET") N.test(e.url) || (e.url += (ka.test(e.url) ?
"&" : "?") + (e.jsonp || "callback") + "=?"); else if (!e.data || !N.test(e.data)) e.data = (e.data ? e.data + "&" : "") + (e.jsonp || "callback") + "=?"; e.dataType = "json"
    } if (e.dataType === "json" && (e.data && N.test(e.data) || N.test(e.url))) { j = e.jsonpCallback || "jsonp" + sb++; if (e.data) e.data = (e.data + "").replace(N, "=" + j + "$1"); e.url = e.url.replace(N, "=" + j + "$1"); e.dataType = "script"; A[j] = A[j] || function (q) { o = q; b(); d(); A[j] = w; try { delete A[j] } catch (p) { } z && z.removeChild(C) } } if (e.dataType === "script" && e.cache === null) e.cache = false; if (e.cache ===
false && n === "GET") { var r = J(), u = e.url.replace(wb, "$1_=" + r + "$2"); e.url = u + (u === e.url ? (ka.test(e.url) ? "&" : "?") + "_=" + r : "") } if (e.data && n === "GET") e.url += (ka.test(e.url) ? "&" : "?") + e.data; e.global && !c.active++ && c.event.trigger("ajaxStart"); r = (r = xb.exec(e.url)) && (r[1] && r[1] !== location.protocol || r[2] !== location.host); if (e.dataType === "script" && n === "GET" && r) {
        var z = s.getElementsByTagName("head")[0] || s.documentElement, C = s.createElement("script"); C.src = e.url; if (e.scriptCharset) C.charset = e.scriptCharset; if (!j) {
            var B =
false; C.onload = C.onreadystatechange = function () { if (!B && (!this.readyState || this.readyState === "loaded" || this.readyState === "complete")) { B = true; b(); d(); C.onload = C.onreadystatechange = null; z && C.parentNode && z.removeChild(C) } }
        } z.insertBefore(C, z.firstChild); return w
    } var E = false, x = e.xhr(); if (x) {
        e.username ? x.open(n, e.url, e.async, e.username, e.password) : x.open(n, e.url, e.async); try {
            if (e.data || a && a.contentType) x.setRequestHeader("Content-Type", e.contentType); if (e.ifModified) {
                c.lastModified[e.url] && x.setRequestHeader("If-Modified-Since",
c.lastModified[e.url]); c.etag[e.url] && x.setRequestHeader("If-None-Match", c.etag[e.url])
            } r || x.setRequestHeader("X-Requested-With", "XMLHttpRequest"); x.setRequestHeader("Accept", e.dataType && e.accepts[e.dataType] ? e.accepts[e.dataType] + ", */*" : e.accepts._default)
        } catch (ga) { } if (e.beforeSend && e.beforeSend.call(k, x, e) === false) { e.global && ! --c.active && c.event.trigger("ajaxStop"); x.abort(); return false } e.global && f("ajaxSend", [x, e]); var g = x.onreadystatechange = function (q) {
            if (!x || x.readyState === 0 || q === "abort") {
                E ||
d(); E = true; if (x) x.onreadystatechange = c.noop
            } else if (!E && x && (x.readyState === 4 || q === "timeout")) { E = true; x.onreadystatechange = c.noop; i = q === "timeout" ? "timeout" : !c.httpSuccess(x) ? "error" : e.ifModified && c.httpNotModified(x, e.url) ? "notmodified" : "success"; var p; if (i === "success") try { o = c.httpData(x, e.dataType, e) } catch (v) { i = "parsererror"; p = v } if (i === "success" || i === "notmodified") j || b(); else c.handleError(e, x, i, p); d(); q === "timeout" && x.abort(); if (e.async) x = null }
        }; try {
            var h = x.abort; x.abort = function () {
                x && h.call(x);
                g("abort")
            }
        } catch (l) { } e.async && e.timeout > 0 && setTimeout(function () { x && !E && g("timeout") }, e.timeout); try { x.send(n === "POST" || n === "PUT" || n === "DELETE" ? e.data : null) } catch (m) { c.handleError(e, x, null, m); d() } e.async || g(); return x
    }
}, handleError: function (a, b, d, f) { if (a.error) a.error.call(a.context || a, b, d, f); if (a.global) (a.context ? c(a.context) : c.event).trigger("ajaxError", [b, a, f]) }, active: 0, httpSuccess: function (a) {
    try {
        return !a.status && location.protocol === "file:" || a.status >= 200 && a.status < 300 || a.status === 304 || a.status ===
1223 || a.status === 0
    } catch (b) { } return false
}, httpNotModified: function (a, b) { var d = a.getResponseHeader("Last-Modified"), f = a.getResponseHeader("Etag"); if (d) c.lastModified[b] = d; if (f) c.etag[b] = f; return a.status === 304 || a.status === 0 }, httpData: function (a, b, d) {
    var f = a.getResponseHeader("content-type") || "", e = b === "xml" || !b && f.indexOf("xml") >= 0; a = e ? a.responseXML : a.responseText; e && a.documentElement.nodeName === "parsererror" && c.error("parsererror"); if (d && d.dataFilter) a = d.dataFilter(a, b); if (typeof a === "string") if (b ===
"json" || !b && f.indexOf("json") >= 0) a = c.parseJSON(a); else if (b === "script" || !b && f.indexOf("javascript") >= 0) c.globalEval(a); return a
}, param: function (a, b) {
    function d(i, o) { if (c.isArray(o)) c.each(o, function (k, n) { b || /\[\]$/.test(i) ? f(i, n) : d(i + "[" + (typeof n === "object" || c.isArray(n) ? k : "") + "]", n) }); else !b && o != null && typeof o === "object" ? c.each(o, function (k, n) { d(i + "[" + k + "]", n) }) : f(i, o) } function f(i, o) { o = c.isFunction(o) ? o() : o; e[e.length] = encodeURIComponent(i) + "=" + encodeURIComponent(o) } var e = []; if (b === w) b = c.ajaxSettings.traditional;
    if (c.isArray(a) || a.jquery) c.each(a, function () { f(this.name, this.value) }); else for (var j in a) d(j, a[j]); return e.join("&").replace(yb, "+")
}
}); var la = {}, Ab = /toggle|show|hide/, Bb = /^([+-]=)?([\d+-.]+)(.*)$/, W, va = [["height", "marginTop", "marginBottom", "paddingTop", "paddingBottom"], ["width", "marginLeft", "marginRight", "paddingLeft", "paddingRight"], ["opacity"]]; c.fn.extend({ show: function (a, b) {
    if (a || a === 0) return this.animate(K("show", 3), a, b); else {
        a = 0; for (b = this.length; a < b; a++) {
            var d = c.data(this[a], "olddisplay");
            this[a].style.display = d || ""; if (c.css(this[a], "display") === "none") { d = this[a].nodeName; var f; if (la[d]) f = la[d]; else { var e = c("<" + d + " />").appendTo("body"); f = e.css("display"); if (f === "none") f = "block"; e.remove(); la[d] = f } c.data(this[a], "olddisplay", f) }
        } a = 0; for (b = this.length; a < b; a++) this[a].style.display = c.data(this[a], "olddisplay") || ""; return this
    }
}, hide: function (a, b) {
    if (a || a === 0) return this.animate(K("hide", 3), a, b); else {
        a = 0; for (b = this.length; a < b; a++) {
            var d = c.data(this[a], "olddisplay"); !d && d !== "none" && c.data(this[a],
"olddisplay", c.css(this[a], "display"))
        } a = 0; for (b = this.length; a < b; a++) this[a].style.display = "none"; return this
    }
}, _toggle: c.fn.toggle, toggle: function (a, b) { var d = typeof a === "boolean"; if (c.isFunction(a) && c.isFunction(b)) this._toggle.apply(this, arguments); else a == null || d ? this.each(function () { var f = d ? a : c(this).is(":hidden"); c(this)[f ? "show" : "hide"]() }) : this.animate(K("toggle", 3), a, b); return this }, fadeTo: function (a, b, d) { return this.filter(":hidden").css("opacity", 0).show().end().animate({ opacity: b }, a, d) },
    animate: function (a, b, d, f) {
        var e = c.speed(b, d, f); if (c.isEmptyObject(a)) return this.each(e.complete); return this[e.queue === false ? "each" : "queue"](function () {
            var j = c.extend({}, e), i, o = this.nodeType === 1 && c(this).is(":hidden"), k = this; for (i in a) {
                var n = i.replace(ia, ja); if (i !== n) { a[n] = a[i]; delete a[i]; i = n } if (a[i] === "hide" && o || a[i] === "show" && !o) return j.complete.call(this); if ((i === "height" || i === "width") && this.style) { j.display = c.css(this, "display"); j.overflow = this.style.overflow } if (c.isArray(a[i])) {
                    (j.specialEasing =
j.specialEasing || {})[i] = a[i][1]; a[i] = a[i][0]
                }
            } if (j.overflow != null) this.style.overflow = "hidden"; j.curAnim = c.extend({}, a); c.each(a, function (r, u) { var z = new c.fx(k, j, r); if (Ab.test(u)) z[u === "toggle" ? o ? "show" : "hide" : u](a); else { var C = Bb.exec(u), B = z.cur(true) || 0; if (C) { u = parseFloat(C[2]); var E = C[3] || "px"; if (E !== "px") { k.style[r] = (u || 1) + E; B = (u || 1) / z.cur(true) * B; k.style[r] = B + E } if (C[1]) u = (C[1] === "-=" ? -1 : 1) * u + B; z.custom(B, u, E) } else z.custom(B, u, "") } }); return true
        })
    }, stop: function (a, b) {
        var d = c.timers; a && this.queue([]);
        this.each(function () { for (var f = d.length - 1; f >= 0; f--) if (d[f].elem === this) { b && d[f](true); d.splice(f, 1) } }); b || this.dequeue(); return this
    }
}); c.each({ slideDown: K("show", 1), slideUp: K("hide", 1), slideToggle: K("toggle", 1), fadeIn: { opacity: "show" }, fadeOut: { opacity: "hide"} }, function (a, b) { c.fn[a] = function (d, f) { return this.animate(b, d, f) } }); c.extend({ speed: function (a, b, d) {
    var f = a && typeof a === "object" ? a : { complete: d || !d && b || c.isFunction(a) && a, duration: a, easing: d && b || b && !c.isFunction(b) && b }; f.duration = c.fx.off ? 0 : typeof f.duration ===
"number" ? f.duration : c.fx.speeds[f.duration] || c.fx.speeds._default; f.old = f.complete; f.complete = function () { f.queue !== false && c(this).dequeue(); c.isFunction(f.old) && f.old.call(this) }; return f
}, easing: { linear: function (a, b, d, f) { return d + f * a }, swing: function (a, b, d, f) { return (-Math.cos(a * Math.PI) / 2 + 0.5) * f + d } }, timers: [], fx: function (a, b, d) { this.options = b; this.elem = a; this.prop = d; if (!b.orig) b.orig = {} }
}); c.fx.prototype = { update: function () {
    this.options.step && this.options.step.call(this.elem, this.now, this); (c.fx.step[this.prop] ||
c.fx.step._default)(this); if ((this.prop === "height" || this.prop === "width") && this.elem.style) this.elem.style.display = "block"
}, cur: function (a) { if (this.elem[this.prop] != null && (!this.elem.style || this.elem.style[this.prop] == null)) return this.elem[this.prop]; return (a = parseFloat(c.css(this.elem, this.prop, a))) && a > -10000 ? a : parseFloat(c.curCSS(this.elem, this.prop)) || 0 }, custom: function (a, b, d) {
    function f(j) { return e.step(j) } this.startTime = J(); this.start = a; this.end = b; this.unit = d || this.unit || "px"; this.now = this.start;
    this.pos = this.state = 0; var e = this; f.elem = this.elem; if (f() && c.timers.push(f) && !W) W = setInterval(c.fx.tick, 13)
}, show: function () { this.options.orig[this.prop] = c.style(this.elem, this.prop); this.options.show = true; this.custom(this.prop === "width" || this.prop === "height" ? 1 : 0, this.cur()); c(this.elem).show() }, hide: function () { this.options.orig[this.prop] = c.style(this.elem, this.prop); this.options.hide = true; this.custom(this.cur(), 0) }, step: function (a) {
    var b = J(), d = true; if (a || b >= this.options.duration + this.startTime) {
        this.now =
this.end; this.pos = this.state = 1; this.update(); this.options.curAnim[this.prop] = true; for (var f in this.options.curAnim) if (this.options.curAnim[f] !== true) d = false; if (d) {
            if (this.options.display != null) { this.elem.style.overflow = this.options.overflow; a = c.data(this.elem, "olddisplay"); this.elem.style.display = a ? a : this.options.display; if (c.css(this.elem, "display") === "none") this.elem.style.display = "block" } this.options.hide && c(this.elem).hide(); if (this.options.hide || this.options.show) for (var e in this.options.curAnim) c.style(this.elem,
e, this.options.orig[e]); this.options.complete.call(this.elem)
        } return false
    } else { e = b - this.startTime; this.state = e / this.options.duration; a = this.options.easing || (c.easing.swing ? "swing" : "linear"); this.pos = c.easing[this.options.specialEasing && this.options.specialEasing[this.prop] || a](this.state, e, 0, 1, this.options.duration); this.now = this.start + (this.end - this.start) * this.pos; this.update() } return true
}
}; c.extend(c.fx, { tick: function () {
    for (var a = c.timers, b = 0; b < a.length; b++) a[b]() || a.splice(b--, 1); a.length ||
c.fx.stop()
}, stop: function () { clearInterval(W); W = null }, speeds: { slow: 600, fast: 200, _default: 400 }, step: { opacity: function (a) { c.style(a.elem, "opacity", a.now) }, _default: function (a) { if (a.elem.style && a.elem.style[a.prop] != null) a.elem.style[a.prop] = (a.prop === "width" || a.prop === "height" ? Math.max(0, a.now) : a.now) + a.unit; else a.elem[a.prop] = a.now } }
}); if (c.expr && c.expr.filters) c.expr.filters.animated = function (a) { return c.grep(c.timers, function (b) { return a === b.elem }).length }; c.fn.offset = "getBoundingClientRect" in s.documentElement ?
function (a) { var b = this[0]; if (a) return this.each(function (e) { c.offset.setOffset(this, a, e) }); if (!b || !b.ownerDocument) return null; if (b === b.ownerDocument.body) return c.offset.bodyOffset(b); var d = b.getBoundingClientRect(), f = b.ownerDocument; b = f.body; f = f.documentElement; return { top: d.top + (self.pageYOffset || c.support.boxModel && f.scrollTop || b.scrollTop) - (f.clientTop || b.clientTop || 0), left: d.left + (self.pageXOffset || c.support.boxModel && f.scrollLeft || b.scrollLeft) - (f.clientLeft || b.clientLeft || 0)} } : function (a) {
    var b =
this[0]; if (a) return this.each(function (r) { c.offset.setOffset(this, a, r) }); if (!b || !b.ownerDocument) return null; if (b === b.ownerDocument.body) return c.offset.bodyOffset(b); c.offset.initialize(); var d = b.offsetParent, f = b, e = b.ownerDocument, j, i = e.documentElement, o = e.body; f = (e = e.defaultView) ? e.getComputedStyle(b, null) : b.currentStyle; for (var k = b.offsetTop, n = b.offsetLeft; (b = b.parentNode) && b !== o && b !== i; ) {
        if (c.offset.supportsFixedPosition && f.position === "fixed") break; j = e ? e.getComputedStyle(b, null) : b.currentStyle;
        k -= b.scrollTop; n -= b.scrollLeft; if (b === d) { k += b.offsetTop; n += b.offsetLeft; if (c.offset.doesNotAddBorder && !(c.offset.doesAddBorderForTableAndCells && /^t(able|d|h)$/i.test(b.nodeName))) { k += parseFloat(j.borderTopWidth) || 0; n += parseFloat(j.borderLeftWidth) || 0 } f = d; d = b.offsetParent } if (c.offset.subtractsBorderForOverflowNotVisible && j.overflow !== "visible") { k += parseFloat(j.borderTopWidth) || 0; n += parseFloat(j.borderLeftWidth) || 0 } f = j
    } if (f.position === "relative" || f.position === "static") { k += o.offsetTop; n += o.offsetLeft } if (c.offset.supportsFixedPosition &&
f.position === "fixed") { k += Math.max(i.scrollTop, o.scrollTop); n += Math.max(i.scrollLeft, o.scrollLeft) } return { top: k, left: n }
}; c.offset = { initialize: function () {
    var a = s.body, b = s.createElement("div"), d, f, e, j = parseFloat(c.curCSS(a, "marginTop", true)) || 0; c.extend(b.style, { position: "absolute", top: 0, left: 0, margin: 0, border: 0, width: "1px", height: "1px", visibility: "hidden" }); b.innerHTML = "<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";
    a.insertBefore(b, a.firstChild); d = b.firstChild; f = d.firstChild; e = d.nextSibling.firstChild.firstChild; this.doesNotAddBorder = f.offsetTop !== 5; this.doesAddBorderForTableAndCells = e.offsetTop === 5; f.style.position = "fixed"; f.style.top = "20px"; this.supportsFixedPosition = f.offsetTop === 20 || f.offsetTop === 15; f.style.position = f.style.top = ""; d.style.overflow = "hidden"; d.style.position = "relative"; this.subtractsBorderForOverflowNotVisible = f.offsetTop === -5; this.doesNotIncludeMarginInBodyOffset = a.offsetTop !== j; a.removeChild(b);
    c.offset.initialize = c.noop
}, bodyOffset: function (a) { var b = a.offsetTop, d = a.offsetLeft; c.offset.initialize(); if (c.offset.doesNotIncludeMarginInBodyOffset) { b += parseFloat(c.curCSS(a, "marginTop", true)) || 0; d += parseFloat(c.curCSS(a, "marginLeft", true)) || 0 } return { top: b, left: d} }, setOffset: function (a, b, d) {
    if (/static/.test(c.curCSS(a, "position"))) a.style.position = "relative"; var f = c(a), e = f.offset(), j = parseInt(c.curCSS(a, "top", true), 10) || 0, i = parseInt(c.curCSS(a, "left", true), 10) || 0; if (c.isFunction(b)) b = b.call(a,
d, e); d = { top: b.top - e.top + j, left: b.left - e.left + i }; "using" in b ? b.using.call(a, d) : f.css(d)
}
}; c.fn.extend({ position: function () {
    if (!this[0]) return null; var a = this[0], b = this.offsetParent(), d = this.offset(), f = /^body|html$/i.test(b[0].nodeName) ? { top: 0, left: 0} : b.offset(); d.top -= parseFloat(c.curCSS(a, "marginTop", true)) || 0; d.left -= parseFloat(c.curCSS(a, "marginLeft", true)) || 0; f.top += parseFloat(c.curCSS(b[0], "borderTopWidth", true)) || 0; f.left += parseFloat(c.curCSS(b[0], "borderLeftWidth", true)) || 0; return { top: d.top -
f.top, left: d.left - f.left
    }
}, offsetParent: function () { return this.map(function () { for (var a = this.offsetParent || s.body; a && !/^body|html$/i.test(a.nodeName) && c.css(a, "position") === "static"; ) a = a.offsetParent; return a }) }
}); c.each(["Left", "Top"], function (a, b) {
    var d = "scroll" + b; c.fn[d] = function (f) {
        var e = this[0], j; if (!e) return null; if (f !== w) return this.each(function () { if (j = wa(this)) j.scrollTo(!a ? f : c(j).scrollLeft(), a ? f : c(j).scrollTop()); else this[d] = f }); else return (j = wa(e)) ? "pageXOffset" in j ? j[a ? "pageYOffset" :
"pageXOffset"] : c.support.boxModel && j.document.documentElement[d] || j.document.body[d] : e[d]
    }
}); c.each(["Height", "Width"], function (a, b) {
    var d = b.toLowerCase(); c.fn["inner" + b] = function () { return this[0] ? c.css(this[0], d, false, "padding") : null }; c.fn["outer" + b] = function (f) { return this[0] ? c.css(this[0], d, false, f ? "margin" : "border") : null }; c.fn[d] = function (f) {
        var e = this[0]; if (!e) return f == null ? null : this; if (c.isFunction(f)) return this.each(function (j) { var i = c(this); i[d](f.call(this, j, i[d]())) }); return "scrollTo" in
e && e.document ? e.document.compatMode === "CSS1Compat" && e.document.documentElement["client" + b] || e.document.body["client" + b] : e.nodeType === 9 ? Math.max(e.documentElement["client" + b], e.body["scroll" + b], e.documentElement["scroll" + b], e.body["offset" + b], e.documentElement["offset" + b]) : f === w ? c.css(e, d) : this.css(d, typeof f === "string" ? f : f + "px")
    }
}); A.jQuery = A.$ = c
})(window);


/* File: jquery.cookie.js */

jQuery.cookie = function (d, e, b) { if (arguments.length > 1 && String(e) !== "[object Object]") { b = jQuery.extend({}, b); if (e === null || e === undefined) { b.expires = -1 } if (typeof b.expires === "number") { var g = b.expires, c = b.expires = new Date(); c.setDate(c.getDate() + g) } e = String(e); return (document.cookie = [encodeURIComponent(d), "=", b.raw ? e : encodeURIComponent(e), b.expires ? "; expires=" + b.expires.toUTCString() : "", b.path ? "; path=" + b.path : "", b.domain ? "; domain=" + b.domain : "", b.secure ? "; secure" : ""].join("")) } b = e || {}; var a, f = b.raw ? function (h) { return h } : decodeURIComponent; return (a = new RegExp("(?:^|; )" + encodeURIComponent(d) + "=([^;]*)").exec(document.cookie)) ? f(a[1]) : null };

/* File: jquery.jcarousel.min.js */

/*!
* jCarousel - Riding carousels with jQuery
*   http://sorgalla.com/jcarousel/
*
* Copyright (c) 2006 Jan Sorgalla (http://sorgalla.com)
* Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php)
* and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses.
*
* Built on top of the jQuery library
*   http://jquery.com
*
* Inspired by the "Carousel Component" by Bill Scott
*   http://billwscott.com/carousel/
*/

(function (g) { var q = { vertical: !1, rtl: !1, start: 1, offset: 1, size: null, scroll: 3, visible: null, animation: "normal", easing: "swing", auto: 0, wrap: null, initCallback: null, setupCallback: null, reloadCallback: null, itemLoadCallback: null, itemFirstInCallback: null, itemFirstOutCallback: null, itemLastInCallback: null, itemLastOutCallback: null, itemVisibleInCallback: null, itemVisibleOutCallback: null, animationStepCallback: null, buttonNextHTML: "<div></div>", buttonPrevHTML: "<div></div>", buttonNextEvent: "click", buttonPrevEvent: "click", buttonNextCallback: null, buttonPrevCallback: null, itemFallbackDimension: null }, m = !1; g(window).bind("load.jcarousel", function () { m = !0 }); g.jcarousel = function (a, c) { this.options = g.extend({}, q, c || {}); this.autoStopped = this.locked = !1; this.buttonPrevState = this.buttonNextState = this.buttonPrev = this.buttonNext = this.list = this.clip = this.container = null; if (!c || c.rtl === void 0) this.options.rtl = (g(a).attr("dir") || g("html").attr("dir") || "").toLowerCase() == "rtl"; this.wh = !this.options.vertical ? "width" : "height"; this.lt = !this.options.vertical ? this.options.rtl ? "right" : "left" : "top"; for (var b = "", d = a.className.split(" "), f = 0; f < d.length; f++) if (d[f].indexOf("jcarousel-skin") != -1) { g(a).removeClass(d[f]); b = d[f]; break } a.nodeName.toUpperCase() == "UL" || a.nodeName.toUpperCase() == "OL" ? (this.list = g(a), this.clip = this.list.parents(".jcarousel-clip"), this.container = this.list.parents(".jcarousel-container")) : (this.container = g(a), this.list = this.container.find("ul,ol").eq(0), this.clip = this.container.find(".jcarousel-clip")); if (this.clip.size() === 0) this.clip = this.list.wrap("<div></div>").parent(); if (this.container.size() === 0) this.container = this.clip.wrap("<div></div>").parent(); b !== "" && this.container.parent()[0].className.indexOf("jcarousel-skin") == -1 && this.container.wrap('<div class=" ' + b + '"></div>'); this.buttonPrev = g(".jcarousel-prev", this.container); if (this.buttonPrev.size() === 0 && this.options.buttonPrevHTML !== null) this.buttonPrev = g(this.options.buttonPrevHTML).appendTo(this.container); this.buttonPrev.addClass(this.className("jcarousel-prev")); this.buttonNext = g(".jcarousel-next", this.container); if (this.buttonNext.size() === 0 && this.options.buttonNextHTML !== null) this.buttonNext = g(this.options.buttonNextHTML).appendTo(this.container); this.buttonNext.addClass(this.className("jcarousel-next")); this.clip.addClass(this.className("jcarousel-clip")).css({ position: "relative" }); this.list.addClass(this.className("jcarousel-list")).css({ overflow: "hidden", position: "relative", top: 0, margin: 0, padding: 0 }).css(this.options.rtl ? "right" : "left", 0); this.container.addClass(this.className("jcarousel-container")).css({ position: "relative" }); !this.options.vertical && this.options.rtl && this.container.addClass("jcarousel-direction-rtl").attr("dir", "rtl"); var j = this.options.visible !== null ? Math.ceil(this.clipping() / this.options.visible) : null, b = this.list.children("li"), e = this; if (b.size() > 0) { var h = 0, i = this.options.offset; b.each(function () { e.format(this, i++); h += e.dimension(this, j) }); this.list.css(this.wh, h + 100 + "px"); if (!c || c.size === void 0) this.options.size = b.size() } this.container.css("display", "block"); this.buttonNext.css("display", "block"); this.buttonPrev.css("display", "block"); this.funcNext = function () { e.next() }; this.funcPrev = function () { e.prev() }; this.funcResize = function () { e.resizeTimer && clearTimeout(e.resizeTimer); e.resizeTimer = setTimeout(function () { e.reload() }, 100) }; this.options.initCallback !== null && this.options.initCallback(this, "init"); !m && g.browser.safari ? (this.buttons(!1, !1), g(window).bind("load.jcarousel", function () { e.setup() })) : this.setup() }; var f = g.jcarousel; f.fn = f.prototype = { jcarousel: "0.2.8" }; f.fn.extend = f.extend = g.extend; f.fn.extend({ setup: function () { this.prevLast = this.prevFirst = this.last = this.first = null; this.animating = !1; this.tail = this.resizeTimer = this.timer = null; this.inTail = !1; if (!this.locked) { this.list.css(this.lt, this.pos(this.options.offset) + "px"); var a = this.pos(this.options.start, !0); this.prevFirst = this.prevLast = null; this.animate(a, !1); g(window).unbind("resize.jcarousel", this.funcResize).bind("resize.jcarousel", this.funcResize); this.options.setupCallback !== null && this.options.setupCallback(this) } }, reset: function () { this.list.empty(); this.list.css(this.lt, "0px"); this.list.css(this.wh, "10px"); this.options.initCallback !== null && this.options.initCallback(this, "reset"); this.setup() }, reload: function () { this.tail !== null && this.inTail && this.list.css(this.lt, f.intval(this.list.css(this.lt)) + this.tail); this.tail = null; this.inTail = !1; this.options.reloadCallback !== null && this.options.reloadCallback(this); if (this.options.visible !== null) { var a = this, c = Math.ceil(this.clipping() / this.options.visible), b = 0, d = 0; this.list.children("li").each(function (f) { b += a.dimension(this, c); f + 1 < a.first && (d = b) }); this.list.css(this.wh, b + "px"); this.list.css(this.lt, -d + "px") } this.scroll(this.first, !1) }, lock: function () { this.locked = !0; this.buttons() }, unlock: function () { this.locked = !1; this.buttons() }, size: function (a) { if (a !== void 0) this.options.size = a, this.locked || this.buttons(); return this.options.size }, has: function (a, c) { if (c === void 0 || !c) c = a; if (this.options.size !== null && c > this.options.size) c = this.options.size; for (var b = a; b <= c; b++) { var d = this.get(b); if (!d.length || d.hasClass("jcarousel-item-placeholder")) return !1 } return !0 }, get: function (a) { return g(">.jcarousel-item-" + a, this.list) }, add: function (a, c) { var b = this.get(a), d = 0, p = g(c); if (b.length === 0) for (var j, e = f.intval(a), b = this.create(a); ; ) { if (j = this.get(--e), e <= 0 || j.length) { e <= 0 ? this.list.prepend(b) : j.after(b); break } } else d = this.dimension(b); p.get(0).nodeName.toUpperCase() == "LI" ? (b.replaceWith(p), b = p) : b.empty().append(c); this.format(b.removeClass(this.className("jcarousel-item-placeholder")), a); p = this.options.visible !== null ? Math.ceil(this.clipping() / this.options.visible) : null; d = this.dimension(b, p) - d; a > 0 && a < this.first && this.list.css(this.lt, f.intval(this.list.css(this.lt)) - d + "px"); this.list.css(this.wh, f.intval(this.list.css(this.wh)) + d + "px"); return b }, remove: function (a) { var c = this.get(a); if (c.length && !(a >= this.first && a <= this.last)) { var b = this.dimension(c); a < this.first && this.list.css(this.lt, f.intval(this.list.css(this.lt)) + b + "px"); c.remove(); this.list.css(this.wh, f.intval(this.list.css(this.wh)) - b + "px") } }, next: function () { this.tail !== null && !this.inTail ? this.scrollTail(!1) : this.scroll((this.options.wrap == "both" || this.options.wrap == "last") && this.options.size !== null && this.last == this.options.size ? 1 : this.first + this.options.scroll) }, prev: function () { this.tail !== null && this.inTail ? this.scrollTail(!0) : this.scroll((this.options.wrap == "both" || this.options.wrap == "first") && this.options.size !== null && this.first == 1 ? this.options.size : this.first - this.options.scroll) }, scrollTail: function (a) { if (!this.locked && !this.animating && this.tail) { this.pauseAuto(); var c = f.intval(this.list.css(this.lt)), c = !a ? c - this.tail : c + this.tail; this.inTail = !a; this.prevFirst = this.first; this.prevLast = this.last; this.animate(c) } }, scroll: function (a, c) { !this.locked && !this.animating && (this.pauseAuto(), this.animate(this.pos(a), c)) }, pos: function (a, c) { var b = f.intval(this.list.css(this.lt)); if (this.locked || this.animating) return b; this.options.wrap != "circular" && (a = a < 1 ? 1 : this.options.size && a > this.options.size ? this.options.size : a); for (var d = this.first > a, g = this.options.wrap != "circular" && this.first <= 1 ? 1 : this.first, j = d ? this.get(g) : this.get(this.last), e = d ? g : g - 1, h = null, i = 0, k = !1, l = 0; d ? --e >= a : ++e < a; ) { h = this.get(e); k = !h.length; if (h.length === 0 && (h = this.create(e).addClass(this.className("jcarousel-item-placeholder")), j[d ? "before" : "after"](h), this.first !== null && this.options.wrap == "circular" && this.options.size !== null && (e <= 0 || e > this.options.size))) j = this.get(this.index(e)), j.length && (h = this.add(e, j.clone(!0))); j = h; l = this.dimension(h); k && (i += l); if (this.first !== null && (this.options.wrap == "circular" || e >= 1 && (this.options.size === null || e <= this.options.size))) b = d ? b + l : b - l } for (var g = this.clipping(), m = [], o = 0, n = 0, j = this.get(a - 1), e = a; ++o; ) { h = this.get(e); k = !h.length; if (h.length === 0) { h = this.create(e).addClass(this.className("jcarousel-item-placeholder")); if (j.length === 0) this.list.prepend(h); else j[d ? "before" : "after"](h); if (this.first !== null && this.options.wrap == "circular" && this.options.size !== null && (e <= 0 || e > this.options.size)) j = this.get(this.index(e)), j.length && (h = this.add(e, j.clone(!0))) } j = h; l = this.dimension(h); if (l === 0) throw Error("jCarousel: No width/height set for items. This will cause an infinite loop. Aborting..."); this.options.wrap != "circular" && this.options.size !== null && e > this.options.size ? m.push(h) : k && (i += l); n += l; if (n >= g) break; e++ } for (h = 0; h < m.length; h++) m[h].remove(); i > 0 && (this.list.css(this.wh, this.dimension(this.list) + i + "px"), d && (b -= i, this.list.css(this.lt, f.intval(this.list.css(this.lt)) - i + "px"))); i = a + o - 1; if (this.options.wrap != "circular" && this.options.size && i > this.options.size) i = this.options.size; if (e > i) { o = 0; e = i; for (n = 0; ++o; ) { h = this.get(e--); if (!h.length) break; n += this.dimension(h); if (n >= g) break } } e = i - o + 1; this.options.wrap != "circular" && e < 1 && (e = 1); if (this.inTail && d) b += this.tail, this.inTail = !1; this.tail = null; if (this.options.wrap != "circular" && i == this.options.size && i - o + 1 >= 1 && (d = f.intval(this.get(i).css(!this.options.vertical ? "marginRight" : "marginBottom")), n - d > g)) this.tail = n - g - d; if (c && a === this.options.size && this.tail) b -= this.tail, this.inTail = !0; for (; a-- > e; ) b += this.dimension(this.get(a)); this.prevFirst = this.first; this.prevLast = this.last; this.first = e; this.last = i; return b }, animate: function (a, c) { if (!this.locked && !this.animating) { this.animating = !0; var b = this, d = function () { b.animating = !1; a === 0 && b.list.css(b.lt, 0); !b.autoStopped && (b.options.wrap == "circular" || b.options.wrap == "both" || b.options.wrap == "last" || b.options.size === null || b.last < b.options.size || b.last == b.options.size && b.tail !== null && !b.inTail) && b.startAuto(); b.buttons(); b.notify("onAfterAnimation"); if (b.options.wrap == "circular" && b.options.size !== null) for (var c = b.prevFirst; c <= b.prevLast; c++) c !== null && !(c >= b.first && c <= b.last) && (c < 1 || c > b.options.size) && b.remove(c) }; this.notify("onBeforeAnimation"); if (!this.options.animation || c === !1) this.list.css(this.lt, a + "px"), d(); else { var f = !this.options.vertical ? this.options.rtl ? { right: a} : { left: a} : { top: a }, d = { duration: this.options.animation, easing: this.options.easing, complete: d }; if (g.isFunction(this.options.animationStepCallback)) d.step = this.options.animationStepCallback; this.list.animate(f, d) } } }, startAuto: function (a) { if (a !== void 0) this.options.auto = a; if (this.options.auto === 0) return this.stopAuto(); if (this.timer === null) { this.autoStopped = !1; var c = this; this.timer = window.setTimeout(function () { c.next() }, this.options.auto * 1E3) } }, stopAuto: function () { this.pauseAuto(); this.autoStopped = !0 }, pauseAuto: function () { if (this.timer !== null) window.clearTimeout(this.timer), this.timer = null }, buttons: function (a, c) { if (a == null && (a = !this.locked && this.options.size !== 0 && (this.options.wrap && this.options.wrap != "first" || this.options.size === null || this.last < this.options.size), !this.locked && (!this.options.wrap || this.options.wrap == "first") && this.options.size !== null && this.last >= this.options.size)) a = this.tail !== null && !this.inTail; if (c == null && (c = !this.locked && this.options.size !== 0 && (this.options.wrap && this.options.wrap != "last" || this.first > 1), !this.locked && (!this.options.wrap || this.options.wrap == "last") && this.options.size !== null && this.first == 1)) c = this.tail !== null && this.inTail; var b = this; this.buttonNext.size() > 0 ? (this.buttonNext.unbind(this.options.buttonNextEvent + ".jcarousel", this.funcNext), a && this.buttonNext.bind(this.options.buttonNextEvent + ".jcarousel", this.funcNext), this.buttonNext[a ? "removeClass" : "addClass"](this.className("jcarousel-next-disabled")).attr("disabled", a ? !1 : !0), this.options.buttonNextCallback !== null && this.buttonNext.data("jcarouselstate") != a && this.buttonNext.each(function () { b.options.buttonNextCallback(b, this, a) }).data("jcarouselstate", a)) : this.options.buttonNextCallback !== null && this.buttonNextState != a && this.options.buttonNextCallback(b, null, a); this.buttonPrev.size() > 0 ? (this.buttonPrev.unbind(this.options.buttonPrevEvent + ".jcarousel", this.funcPrev), c && this.buttonPrev.bind(this.options.buttonPrevEvent + ".jcarousel", this.funcPrev), this.buttonPrev[c ? "removeClass" : "addClass"](this.className("jcarousel-prev-disabled")).attr("disabled", c ? !1 : !0), this.options.buttonPrevCallback !== null && this.buttonPrev.data("jcarouselstate") != c && this.buttonPrev.each(function () { b.options.buttonPrevCallback(b, this, c) }).data("jcarouselstate", c)) : this.options.buttonPrevCallback !== null && this.buttonPrevState != c && this.options.buttonPrevCallback(b, null, c); this.buttonNextState = a; this.buttonPrevState = c }, notify: function (a) { var c = this.prevFirst === null ? "init" : this.prevFirst < this.first ? "next" : "prev"; this.callback("itemLoadCallback", a, c); this.prevFirst !== this.first && (this.callback("itemFirstInCallback", a, c, this.first), this.callback("itemFirstOutCallback", a, c, this.prevFirst)); this.prevLast !== this.last && (this.callback("itemLastInCallback", a, c, this.last), this.callback("itemLastOutCallback", a, c, this.prevLast)); this.callback("itemVisibleInCallback", a, c, this.first, this.last, this.prevFirst, this.prevLast); this.callback("itemVisibleOutCallback", a, c, this.prevFirst, this.prevLast, this.first, this.last) }, callback: function (a, c, b, d, f, j, e) { if (!(this.options[a] == null || typeof this.options[a] != "object" && c != "onAfterAnimation")) { var h = typeof this.options[a] == "object" ? this.options[a][c] : this.options[a]; if (g.isFunction(h)) { var i = this; if (d === void 0) h(i, b, c); else if (f === void 0) this.get(d).each(function () { h(i, this, d, b, c) }); else for (var a = function (a) { i.get(a).each(function () { h(i, this, a, b, c) }) }, k = d; k <= f; k++) k !== null && !(k >= j && k <= e) && a(k) } } }, create: function (a) { return this.format("<li></li>", a) }, format: function (a, c) { for (var a = g(a), b = a.get(0).className.split(" "), d = 0; d < b.length; d++) b[d].indexOf("jcarousel-") != -1 && a.removeClass(b[d]); a.addClass(this.className("jcarousel-item")).addClass(this.className("jcarousel-item-" + c)).css({ "float": this.options.rtl ? "right" : "left", "list-style": "none" }).attr("jcarouselindex", c); return a }, className: function (a) { return a + " " + a + (!this.options.vertical ? "-horizontal" : "-vertical") }, dimension: function (a, c) { var b = g(a); if (c == null) return !this.options.vertical ? b.outerWidth(!0) || f.intval(this.options.itemFallbackDimension) : b.outerHeight(!0) || f.intval(this.options.itemFallbackDimension); else { var d = !this.options.vertical ? c - f.intval(b.css("marginLeft")) - f.intval(b.css("marginRight")) : c - f.intval(b.css("marginTop")) - f.intval(b.css("marginBottom")); g(b).css(this.wh, d + "px"); return this.dimension(b) } }, clipping: function () { return !this.options.vertical ? this.clip[0].offsetWidth - f.intval(this.clip.css("borderLeftWidth")) - f.intval(this.clip.css("borderRightWidth")) : this.clip[0].offsetHeight - f.intval(this.clip.css("borderTopWidth")) - f.intval(this.clip.css("borderBottomWidth")) }, index: function (a, c) { if (c == null) c = this.options.size; return Math.round(((a - 1) / c - Math.floor((a - 1) / c)) * c) + 1 } }); f.extend({ defaults: function (a) { return g.extend(q, a || {}) }, intval: function (a) { a = parseInt(a, 10); return isNaN(a) ? 0 : a }, windowLoaded: function () { m = !0 } }); g.fn.jcarousel = function (a) { if (typeof a == "string") { var c = g(this).data("jcarousel"), b = Array.prototype.slice.call(arguments, 1); return c[a].apply(c, b) } else return this.each(function () { var b = g(this).data("jcarousel"); b ? (a && g.extend(b.options, a), b.reload()) : g(this).data("jcarousel", new f(this, a)) }) } })(jQuery);


/* File: jquery.tools.tooltip.custom.min.js */

/*
* jQuery Tools 1.2.2 - The missing UI library for the Web
* 
* [tooltip]
* 
* NO COPYRIGHTS OR LICENSES. DO WHAT YOU LIKE.
* 
* http://flowplayer.org/tools/
* 
* File generated: Tue May 25 07:12:29 GMT 2010
*/

/* 
* Modified for rige Phoenix
*
* Changes:
* - added support for 'bodyClass' option. Defaults to null. If set, `bodyClass` is used as the container for the tooltip content
*/
(function (f) {
    function p(a, b, c) { var h = c.relative ? a.position().top : a.offset().top, e = c.relative ? a.position().left : a.offset().left, i = c.position[0]; h -= b.outerHeight() - c.offset[0]; e += a.outerWidth() + c.offset[1]; var j = b.outerHeight() + a.outerHeight(); if (i == "center") h += j / 2; if (i == "bottom") h += j; i = c.position[1]; a = b.outerWidth() + a.outerWidth(); if (i == "center") e -= a / 2; if (i == "left") e -= a; return { top: h, left: e} } function t(a, b) {
        var c = this, h = a.add(c), e, i = 0, j = 0, m = a.attr("title"), q = n[b.effect], k, r = a.is(":input"), u = r && a.is(":checkbox, :radio, select, :button"),
s = a.attr("type"), l = b.events[s] || b.events[r ? u ? "widget" : "input" : "def"]; if (!q) throw 'Nonexistent effect "' + b.effect + '"'; l = l.split(/,\s*/); if (l.length != 2) throw "Tooltip: bad events configuration for " + s; a.bind(l[0], function (d) { if (b.predelay) { clearTimeout(i); j = setTimeout(function () { c.show(d) }, b.predelay) } else c.show(d) }).bind(l[1], function (d) { if (b.delay) { clearTimeout(j); i = setTimeout(function () { c.hide(d) }, b.delay) } else c.hide(d) }); if (m && b.cancelDefault) { a.removeAttr("title"); a.data("title", m) } f.extend(c,
{ show: function (d) {
    if (!e) { if (m) { e = f(b.layout).addClass(b.tipClass).appendTo(document.body).hide(); if (b.bodyClass) e.find('.' + b.bodyClass).text(m); else e.append(m) } else if (b.tip) e = f(b.tip).eq(0); else { e = a.next(); e.length || (e = a.parent().next()) } if (!e.length) throw "Cannot find tooltip for " + a; } if (c.isShown()) return c; e.stop(true, true); var g = p(a, e, b); d = d || f.Event(); d.type = "onBeforeShow"; h.trigger(d, [g]); if (d.isDefaultPrevented()) return c; g = p(a, e, b); e.css({ position: "absolute", top: g.top, left: g.left }); k = true; q[0].call(c, function () { d.type = "onShow"; k = "full"; h.trigger(d) });
    g = b.events.tooltip.split(/,\s*/); e.bind(g[0], function () { clearTimeout(i); clearTimeout(j) }); g[1] && !a.is("input:not(:checkbox, :radio), textarea") && e.bind(g[1], function (o) { o.relatedTarget != a[0] && a.trigger(l[1].split(" ")[0]) }); return c
}, hide: function (d) { if (!e || !c.isShown()) return c; d = d || f.Event(); d.type = "onBeforeHide"; h.trigger(d); if (!d.isDefaultPrevented()) { k = false; n[b.effect][1].call(c, function () { d.type = "onHide"; k = false; h.trigger(d) }); return c } }, isShown: function (d) { return d ? k == "full" : k }, getConf: function () { return b },
    getTip: function () { return e }, getTrigger: function () { return a }
}); f.each("onHide,onBeforeShow,onShow,onBeforeHide".split(","), function (d, g) { f.isFunction(b[g]) && f(c).bind(g, b[g]); c[g] = function (o) { f(c).bind(g, o); return c } })
    } f.tools = f.tools || { version: "1.2.2" }; f.tools.tooltip = { conf: { effect: "toggle", fadeOutSpeed: "fast", predelay: 0, delay: 30, opacity: 1, tip: 0, position: ["top", "center"], offset: [0, 0], relative: false, cancelDefault: true, events: { def: "mouseenter,mouseleave", input: "focus,blur", widget: "focus mouseenter,blur mouseleave",
        tooltip: "mouseenter,mouseleave"
    }, layout: "<div/>", bodyClass: null, tipClass: "tooltip"
    }, addEffect: function (a, b, c) { n[a] = [b, c] }
    }; var n = { toggle: [function (a) { var b = this.getConf(), c = this.getTip(); b = b.opacity; b < 1 && c.css({ opacity: b }); c.show(); a.call() }, function (a) { this.getTip().hide(); a.call() } ], fade: [function (a) { var b = this.getConf(); this.getTip().fadeTo(b.fadeInSpeed, b.opacity, a) }, function (a) { this.getTip().fadeOut(this.getConf().fadeOutSpeed, a) } ] }; f.fn.tooltip = function (a) {
        var b = this.data("tooltip"); if (b) return b; a = f.extend(true,
{}, f.tools.tooltip.conf, a); if (typeof a.position == "string") a.position = a.position.split(/,?\s/); this.each(function () { b = new t(f(this), a); f(this).data("tooltip", b) }); return a.api ? b : this
    }
})(jQuery);

/* File: flowplayer-3.2.2.min.js */

/* 
* flowplayer.js 3.2.2. The Flowplayer API
* 
* Copyright 2010 Flowplayer Oy
* 
* This file is part of Flowplayer.
* 
* Flowplayer is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* 
* Flowplayer is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
* GNU General Public License for more details.
* 
* You should have received a copy of the GNU General Public License
* along with Flowplayer.  If not, see <http://www.gnu.org/licenses/>.
* 
* Date: 2010-05-20 17:15:38 +0000 (Thu, 20 May 2010)
* Revision: 480 
*/
(function () { function g(o) { console.log("$f.fireEvent", [].slice.call(o)) } function k(q) { if (!q || typeof q != "object") { return q } var o = new q.constructor(); for (var p in q) { if (q.hasOwnProperty(p)) { o[p] = k(q[p]) } } return o } function m(t, q) { if (!t) { return } var o, p = 0, r = t.length; if (r === undefined) { for (o in t) { if (q.call(t[o], o, t[o]) === false) { break } } } else { for (var s = t[0]; p < r && q.call(s, p, s) !== false; s = t[++p]) { } } return t } function c(o) { return document.getElementById(o) } function i(q, p, o) { if (typeof p != "object") { return q } if (q && p) { m(p, function (r, s) { if (!o || typeof s != "function") { q[r] = s } }) } return q } function n(s) { var q = s.indexOf("."); if (q != -1) { var p = s.slice(0, q) || "*"; var o = s.slice(q + 1, s.length); var r = []; m(document.getElementsByTagName(p), function () { if (this.className && this.className.indexOf(o) != -1) { r.push(this) } }); return r } } function f(o) { o = o || window.event; if (o.preventDefault) { o.stopPropagation(); o.preventDefault() } else { o.returnValue = false; o.cancelBubble = true } return false } function j(q, o, p) { q[o] = q[o] || []; q[o].push(p) } function e() { return "_" + ("" + Math.random()).slice(2, 10) } var h = function (t, r, s) { var q = this, p = {}, u = {}; q.index = r; if (typeof t == "string") { t = { url: t} } i(this, t, true); m(("Begin*,Start,Pause*,Resume*,Seek*,Stop*,Finish*,LastSecond,Update,BufferFull,BufferEmpty,BufferStop").split(","), function () { var v = "on" + this; if (v.indexOf("*") != -1) { v = v.slice(0, v.length - 1); var w = "onBefore" + v.slice(2); q[w] = function (x) { j(u, w, x); return q } } q[v] = function (x) { j(u, v, x); return q }; if (r == -1) { if (q[w]) { s[w] = q[w] } if (q[v]) { s[v] = q[v] } } }); i(this, { onCuepoint: function (x, w) { if (arguments.length == 1) { p.embedded = [null, x]; return q } if (typeof x == "number") { x = [x] } var v = e(); p[v] = [x, w]; if (s.isLoaded()) { s._api().fp_addCuepoints(x, r, v) } return q }, update: function (w) { i(q, w); if (s.isLoaded()) { s._api().fp_updateClip(w, r) } var v = s.getConfig(); var x = (r == -1) ? v.clip : v.playlist[r]; i(x, w, true) }, _fireEvent: function (v, y, w, A) { if (v == "onLoad") { m(p, function (B, C) { if (C[0]) { s._api().fp_addCuepoints(C[0], r, B) } }); return false } A = A || q; if (v == "onCuepoint") { var z = p[y]; if (z) { return z[1].call(s, A, w) } } if (y && "onBeforeBegin,onMetaData,onStart,onUpdate,onResume".indexOf(v) != -1) { i(A, y); if (y.metaData) { if (!A.duration) { A.duration = y.metaData.duration } else { A.fullDuration = y.metaData.duration } } } var x = true; m(u[v], function () { x = this.call(s, A, y, w) }); return x } }); if (t.onCuepoint) { var o = t.onCuepoint; q.onCuepoint.apply(q, typeof o == "function" ? [o] : o); delete t.onCuepoint } m(t, function (v, w) { if (typeof w == "function") { j(u, v, w); delete t[v] } }); if (r == -1) { s.onCuepoint = this.onCuepoint } }; var l = function (p, r, q, t) { var o = this, s = {}, u = false; if (t) { i(s, t) } m(r, function (v, w) { if (typeof w == "function") { s[v] = w; delete r[v] } }); i(this, { animate: function (y, z, x) { if (!y) { return o } if (typeof z == "function") { x = z; z = 500 } if (typeof y == "string") { var w = y; y = {}; y[w] = z; z = 500 } if (x) { var v = e(); s[v] = x } if (z === undefined) { z = 500 } r = q._api().fp_animate(p, y, z, v); return o }, css: function (w, x) { if (x !== undefined) { var v = {}; v[w] = x; w = v } r = q._api().fp_css(p, w); i(o, r); return o }, show: function () { this.display = "block"; q._api().fp_showPlugin(p); return o }, hide: function () { this.display = "none"; q._api().fp_hidePlugin(p); return o }, toggle: function () { this.display = q._api().fp_togglePlugin(p); return o }, fadeTo: function (y, x, w) { if (typeof x == "function") { w = x; x = 500 } if (w) { var v = e(); s[v] = w } this.display = q._api().fp_fadeTo(p, y, x, v); this.opacity = y; return o }, fadeIn: function (w, v) { return o.fadeTo(1, w, v) }, fadeOut: function (w, v) { return o.fadeTo(0, w, v) }, getName: function () { return p }, getPlayer: function () { return q }, _fireEvent: function (w, v, x) { if (w == "onUpdate") { var z = q._api().fp_getPlugin(p); if (!z) { return } i(o, z); delete o.methods; if (!u) { m(z.methods, function () { var B = "" + this; o[B] = function () { var C = [].slice.call(arguments); var D = q._api().fp_invoke(p, B, C); return D === "undefined" || D === undefined ? o : D } }); u = true } } var A = s[w]; if (A) { var y = A.apply(o, v); if (w.slice(0, 1) == "_") { delete s[w] } return y } return o } }) }; function b(q, G, t) { var w = this, v = null, D = false, u, s, F = [], y = {}, x = {}, E, r, p, C, o, A; i(w, { id: function () { return E }, isLoaded: function () { return (v !== null && v.fp_play != undefined && !D) }, getParent: function () { return q }, hide: function (H) { if (H) { q.style.height = "0px" } if (w.isLoaded()) { v.style.height = "0px" } return w }, show: function () { q.style.height = A + "px"; if (w.isLoaded()) { v.style.height = o + "px" } return w }, isHidden: function () { return w.isLoaded() && parseInt(v.style.height, 10) === 0 }, load: function (J) { if (!w.isLoaded() && w._fireEvent("onBeforeLoad") !== false) { var H = function () { u = q.innerHTML; if (u && !flashembed.isSupported(G.version)) { q.innerHTML = "" } flashembed(q, G, { config: t }); if (J) { J.cached = true; j(x, "onLoad", J) } }; var I = 0; m(a, function () { this.unload(function (K) { if (++I == a.length) { H() } }) }) } return w }, unload: function (J) { if (this.isFullscreen() && /WebKit/i.test(navigator.userAgent)) { if (J) { J(false) } return w } if (u.replace(/\s/g, "") !== "") { if (w._fireEvent("onBeforeUnload") === false) { if (J) { J(false) } return w } D = true; try { if (v) { v.fp_close(); w._fireEvent("onUnload") } } catch (H) { } var I = function () { v = null; q.innerHTML = u; D = false; if (J) { J(true) } }; setTimeout(I, 50) } else { if (J) { J(false) } } return w }, getClip: function (H) { if (H === undefined) { H = C } return F[H] }, getCommonClip: function () { return s }, getPlaylist: function () { return F }, getPlugin: function (H) { var J = y[H]; if (!J && w.isLoaded()) { var I = w._api().fp_getPlugin(H); if (I) { J = new l(H, I, w); y[H] = J } } return J }, getScreen: function () { return w.getPlugin("screen") }, getControls: function () { return w.getPlugin("controls")._fireEvent("onUpdate") }, getLogo: function () { try { return w.getPlugin("logo")._fireEvent("onUpdate") } catch (H) { } }, getPlay: function () { return w.getPlugin("play")._fireEvent("onUpdate") }, getConfig: function (H) { return H ? k(t) : t }, getFlashParams: function () { return G }, loadPlugin: function (K, J, M, L) { if (typeof M == "function") { L = M; M = {} } var I = L ? e() : "_"; w._api().fp_loadPlugin(K, J, M, I); var H = {}; H[I] = L; var N = new l(K, null, w, H); y[K] = N; return N }, getState: function () { return w.isLoaded() ? v.fp_getState() : -1 }, play: function (I, H) { var J = function () { if (I !== undefined) { w._api().fp_play(I, H) } else { w._api().fp_play() } }; if (w.isLoaded()) { J() } else { if (D) { setTimeout(function () { w.play(I, H) }, 50) } else { w.load(function () { J() }) } } return w }, getVersion: function () { var I = "flowplayer.js 3.2.0"; if (w.isLoaded()) { var H = v.fp_getVersion(); H.push(I); return H } return I }, _api: function () { if (!w.isLoaded()) { throw "Flowplayer " + w.id() + " not loaded when calling an API method" } return v }, setClip: function (H) { w.setPlaylist([H]); return w }, getIndex: function () { return p } }); m(("Click*,Load*,Unload*,Keypress*,Volume*,Mute*,Unmute*,PlaylistReplace,ClipAdd,Fullscreen*,FullscreenExit,Error,MouseOver,MouseOut").split(","), function () { var H = "on" + this; if (H.indexOf("*") != -1) { H = H.slice(0, H.length - 1); var I = "onBefore" + H.slice(2); w[I] = function (J) { j(x, I, J); return w } } w[H] = function (J) { j(x, H, J); return w } }); m(("pause,resume,mute,unmute,stop,toggle,seek,getStatus,getVolume,setVolume,getTime,isPaused,isPlaying,startBuffering,stopBuffering,isFullscreen,toggleFullscreen,reset,close,setPlaylist,addClip,playFeed,setKeyboardShortcutsEnabled,isKeyboardShortcutsEnabled").split(","), function () { var H = this; w[H] = function (J, I) { if (!w.isLoaded()) { return w } var K = null; if (J !== undefined && I !== undefined) { K = v["fp_" + H](J, I) } else { K = (J === undefined) ? v["fp_" + H]() : v["fp_" + H](J) } return K === "undefined" || K === undefined ? w : K } }); w._fireEvent = function (Q) { if (typeof Q == "string") { Q = [Q] } var R = Q[0], O = Q[1], M = Q[2], L = Q[3], K = 0; if (t.debug) { g(Q) } if (!w.isLoaded() && R == "onLoad" && O == "player") { v = v || c(r); o = v.clientHeight; m(F, function () { this._fireEvent("onLoad") }); m(y, function (S, T) { T._fireEvent("onUpdate") }); s._fireEvent("onLoad") } if (R == "onLoad" && O != "player") { return } if (R == "onError") { if (typeof O == "string" || (typeof O == "number" && typeof M == "number")) { O = M; M = L } } if (R == "onContextMenu") { m(t.contextMenu[O], function (S, T) { T.call(w) }); return } if (R == "onPluginEvent" || R == "onBeforePluginEvent") { var H = O.name || O; var I = y[H]; if (I) { I._fireEvent("onUpdate", O); return I._fireEvent(M, Q.slice(3)) } return } if (R == "onPlaylistReplace") { F = []; var N = 0; m(O, function () { F.push(new h(this, N++, w)) }) } if (R == "onClipAdd") { if (O.isInStream) { return } O = new h(O, M, w); F.splice(M, 0, O); for (K = M + 1; K < F.length; K++) { F[K].index++ } } var P = true; if (typeof O == "number" && O < F.length) { C = O; var J = F[O]; if (J) { P = J._fireEvent(R, M, L) } if (!J || P !== false) { P = s._fireEvent(R, M, L, J) } } m(x[R], function () { P = this.call(w, O, M); if (this.cached) { x[R].splice(K, 1) } if (P === false) { return false } K++ }); return P }; function B() { if ($f(q)) { $f(q).getParent().innerHTML = ""; p = $f(q).getIndex(); a[p] = w } else { a.push(w); p = a.length - 1 } A = parseInt(q.style.height, 10) || q.clientHeight; E = q.id || "fp" + e(); r = G.id || E + "_api"; G.id = r; t.playerId = E; if (typeof t == "string") { t = { clip: { url: t}} } if (typeof t.clip == "string") { t.clip = { url: t.clip} } t.clip = t.clip || {}; if (q.getAttribute("href", 2) && !t.clip.url) { t.clip.url = q.getAttribute("href", 2) } s = new h(t.clip, -1, w); t.playlist = t.playlist || [t.clip]; var H = 0; m(t.playlist, function () { var J = this; if (typeof J == "object" && J.length) { J = { url: "" + J} } m(t.clip, function (K, L) { if (L !== undefined && J[K] === undefined && typeof L != "function") { J[K] = L } }); t.playlist[H] = J; J = new h(J, H, w); F.push(J); H++ }); m(t, function (J, K) { if (typeof K == "function") { if (s[J]) { s[J](K) } else { j(x, J, K) } delete t[J] } }); m(t.plugins, function (J, K) { if (K) { y[J] = new l(J, K, w) } }); if (!t.plugins || t.plugins.controls === undefined) { y.controls = new l("controls", null, w) } y.canvas = new l("canvas", null, w); function I(J) { if (!w.isLoaded() && w._fireEvent("onBeforeClick") !== false) { w.load() } return f(J) } u = q.innerHTML; if (u.replace(/\s/g, "") !== "") { if (q.addEventListener) { q.addEventListener("click", I, false) } else { if (q.attachEvent) { q.attachEvent("onclick", I) } } } else { if (q.addEventListener) { q.addEventListener("click", f, false) } w.load() } } if (typeof q == "string") { var z = c(q); if (!z) { throw "Flowplayer cannot access element: " + q } else { q = z; B() } } else { B() } } var a = []; function d(o) { this.length = o.length; this.each = function (p) { m(o, p) }; this.size = function () { return o.length } } window.flowplayer = window.$f = function () { var p = null; var o = arguments[0]; if (!arguments.length) { m(a, function () { if (this.isLoaded()) { p = this; return false } }); return p || a[0] } if (arguments.length == 1) { if (typeof o == "number") { return a[o] } else { if (o == "*") { return new d(a) } m(a, function () { if (this.id() == o.id || this.id() == o || this.getParent() == o) { p = this; return false } }); return p } } if (arguments.length > 1) { var t = arguments[1], q = (arguments.length == 3) ? arguments[2] : {}; if (typeof t == "string") { t = { src: t} } t = i({ bgcolor: "#000000", version: [9, 0], expressInstall: "http://static.flowplayer.org/swf/expressinstall.swf", cachebusting: true }, t); if (typeof o == "string") { if (o.indexOf(".") != -1) { var s = []; m(n(o), function () { s.push(new b(this, k(t), k(q))) }); return new d(s) } else { var r = c(o); return new b(r !== null ? r : o, t, q) } } else { if (o) { return new b(o, t, q) } } } return null }; i(window.$f, { fireEvent: function () { var o = [].slice.call(arguments); var q = $f(o[0]); return q ? q._fireEvent(o.slice(1)) : null }, addPlugin: function (o, p) { b.prototype[o] = p; return $f }, each: m, extend: i }); if (typeof jQuery == "function") { jQuery.fn.flowplayer = function (q, p) { if (!arguments.length || typeof arguments[0] == "number") { var o = []; this.each(function () { var r = $f(this); if (r) { o.push(r) } }); return arguments.length ? o[arguments[0]] : new d(o) } return this.each(function () { $f(this, k(q), p ? k(p) : {}) }) } } })(); (function () { var h = document.all, j = "http://www.adobe.com/go/getflashplayer", c = typeof jQuery == "function", e = /(\d+)[^\d]+(\d+)[^\d]*(\d*)/, b = { width: "100%", height: "100%", id: "_" + ("" + Math.random()).slice(9), allowfullscreen: true, allowscriptaccess: "always", quality: "high", version: [3, 0], onFail: null, expressInstall: null, w3c: false, cachebusting: false }; if (window.attachEvent) { window.attachEvent("onbeforeunload", function () { __flash_unloadHandler = function () { }; __flash_savedUnloadHandler = function () { } }) } function i(l, f) { if (f) { for (key in f) { if (f.hasOwnProperty(key)) { l[key] = f[key] } } } return l } function a(f, n) { var m = []; for (var l in f) { if (f.hasOwnProperty(l)) { m[l] = n(f[l]) } } return m } window.flashembed = function (f, m, l) { if (typeof f == "string") { f = document.getElementById(f.replace("#", "")) } if (!f) { return } if (typeof m == "string") { m = { src: m} } return new d(f, i(i({}, b), m), l) }; var g = i(window.flashembed, { conf: b, getVersion: function () { var f; try { f = navigator.plugins["Shockwave Flash"].description.slice(16) } catch (n) { try { var l = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7"); f = l && l.GetVariable("$version") } catch (m) { } } f = e.exec(f); return f ? [f[1], f[3]] : [0, 0] }, asString: function (l) { if (l === null || l === undefined) { return null } var f = typeof l; if (f == "object" && l.push) { f = "array" } switch (f) { case "string": l = l.replace(new RegExp('(["\\\\])', "g"), "\\$1"); l = l.replace(/^\s?(\d+\.?\d+)%/, "$1pct"); return '"' + l + '"'; case "array": return "[" + a(l, function (o) { return g.asString(o) }).join(",") + "]"; case "function": return '"function()"'; case "object": var m = []; for (var n in l) { if (l.hasOwnProperty(n)) { m.push('"' + n + '":' + g.asString(l[n])) } } return "{" + m.join(",") + "}" } return String(l).replace(/\s/g, " ").replace(/\'/g, '"') }, getHTML: function (o, l) { o = i({}, o); var n = '<object width="' + o.width + '" height="' + o.height + '" id="' + o.id + '" name="' + o.id + '"'; if (o.cachebusting) { o.src += ((o.src.indexOf("?") != -1 ? "&" : "?") + Math.random()) } if (o.w3c || !h) { n += ' data="' + o.src + '" type="application/x-shockwave-flash"' } else { n += ' classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"' } n += ">"; if (o.w3c || h) { n += '<param name="movie" value="' + o.src + '" />' } o.width = o.height = o.id = o.w3c = o.src = null; o.onFail = o.version = o.expressInstall = null; for (var m in o) { if (o[m]) { n += '<param name="' + m + '" value="' + o[m] + '" />' } } var p = ""; if (l) { for (var f in l) { if (l[f]) { var q = l[f]; p += f + "=" + (/function|object/.test(typeof q) ? g.asString(q) : q) + "&" } } p = p.slice(0, -1); n += '<param name="flashvars" value=\'' + p + "' />" } n += "</object>"; return n }, isSupported: function (f) { return k[0] > f[0] || k[0] == f[0] && k[1] >= f[1] } }); var k = g.getVersion(); function d(f, n, m) { if (g.isSupported(n.version)) { f.innerHTML = g.getHTML(n, m) } else { if (n.expressInstall && g.isSupported([6, 65])) { f.innerHTML = g.getHTML(i(n, { src: n.expressInstall }), { MMredirectURL: location.href, MMplayerType: "PlugIn", MMdoctitle: document.title }) } else { if (!f.innerHTML.replace(/\s/g, "")) { f.innerHTML = "<h2>Flash version " + n.version + " or greater is required</h2><h3>" + (k[0] > 0 ? "Your version is " + k : "You have no flash plugin installed") + "</h3>" + (f.tagName == "A" ? "<p>Click here to download latest version</p>" : "<p>Download latest version from <a href='" + j + "'>here</a></p>"); if (f.tagName == "A") { f.onclick = function () { location.href = j } } } if (n.onFail) { var l = n.onFail.call(this); if (typeof l == "string") { f.innerHTML = l } } } } if (h) { window[n.id] = document.getElementById(n.id) } i(this, { getRoot: function () { return f }, getOptions: function () { return n }, getConf: function () { return m }, getApi: function () { return f.firstChild } }) } if (c) { jQuery.tools = jQuery.tools || { version: "3.2.0" }; jQuery.tools.flashembed = { conf: b }; jQuery.fn.flashembed = function (l, f) { return this.each(function () { $(this).data("flashembed", flashembed(this, l, f)) }) } } })();

/* File: jquery.ThreeDots.min.js */

/*
jQuery.ThreeDots.min

Author Jeremy Horn
Version 1.0.10
Date: 1/25/2009
More: http://tpgblog.com/ThreeDots/
compiled by http://yui.2clics.net/
*/

(function (e) { e.fn.ThreeDots = function (h) { var g = this; if ((typeof h == "object") || (h == undefined)) { e.fn.ThreeDots.the_selected = this; var g = e.fn.ThreeDots.update(h) } return g }; e.fn.ThreeDots.update = function (u) { var k, t = null; var m, j, s, q, o; var l, i; var r, h, n; if ((typeof u == "object") || (u == undefined)) { e.fn.ThreeDots.c_settings = e.extend({}, e.fn.ThreeDots.settings, u); var p = e.fn.ThreeDots.c_settings.max_rows; if (p < 1) { return e.fn.ThreeDots.the_selected } var g = false; jQuery.each(e.fn.ThreeDots.c_settings.valid_delimiters, function (v, w) { if (((new String(w)).length == 1)) { g = true } }); if (g == false) { return e.fn.ThreeDots.the_selected } e.fn.ThreeDots.the_selected.each(function () { k = e(this); if (e(k).children("." + e.fn.ThreeDots.c_settings.text_span_class).length == 0) { return true } l = e(k).children("." + e.fn.ThreeDots.c_settings.text_span_class).get(0); var y = a(k, true); var x = e(l).text(); d(k, l, y); var v = e(l).text(); if ((h = e(k).attr("threedots")) != undefined) { e(l).text(h); e(k).children("." + e.fn.ThreeDots.c_settings.e_span_class).remove() } r = e(l).text(); if (r.length <= 0) { r = "" } e(k).attr("threedots", x); if (a(k, y) > p) { curr_ellipsis = e(k).append('<span style="white-space:nowrap" class="' + e.fn.ThreeDots.c_settings.e_span_class + '">' + e.fn.ThreeDots.c_settings.ellipsis_string + "</span>"); while (a(k, y) > p) { i = b(e(l).text()); e(l).text(i.updated_string); t = i.word; n = i.del; if (n == null) { break } } if (t != null) { var w = c(k, y); if ((a(k, y) <= p - 1) || (w) || (!e.fn.ThreeDots.c_settings.whole_word)) { r = e(l).text(); if (i.del != null) { e(l).text(r + n) } if (a(k, y) > p) { e(l).text(r) } else { e(l).text(e(l).text() + t); if ((a(k, y) > p + 1) || (!e.fn.ThreeDots.c_settings.whole_word) || (v == t) || w) { while ((a(k, y) > p)) { if (e(l).text().length > 0) { e(l).text(e(l).text().substr(0, e(l).text().length - 1)) } else { break } } } } } } } if (x == e(e(k).children("." + e.fn.ThreeDots.c_settings.text_span_class).get(0)).text()) { e(k).children("." + e.fn.ThreeDots.c_settings.e_span_class).remove() } else { if ((e(k).children("." + e.fn.ThreeDots.c_settings.e_span_class)).length > 0) { if (e.fn.ThreeDots.c_settings.alt_text_t) { e(k).children("." + e.fn.ThreeDots.c_settings.text_span_class).attr("title", x) } if (e.fn.ThreeDots.c_settings.alt_text_e) { e(k).children("." + e.fn.ThreeDots.c_settings.e_span_class).attr("title", x) } } } }) } return e.fn.ThreeDots.the_selected }; e.fn.ThreeDots.settings = { valid_delimiters: [" ", ",", "."], ellipsis_string: "...", max_rows: 2, text_span_class: "ellipsis_text", e_span_class: "threedots_ellipsis", whole_word: true, allow_dangle: false, alt_text_e: false, alt_text_t: false }; function c(k, h) { if (e.fn.ThreeDots.c_settings.allow_dangle == true) { return false } var l = e(k).children("." + e.fn.ThreeDots.c_settings.e_span_class).get(0); var g = e(l).css("display"); var i = a(k, h); e(l).css("display", "none"); var j = a(k, h); e(l).css("display", g); if (i > j) { return true } else { return false } } function a(i, j) { var g = typeof j; if ((g == "object") || (g == undefined)) { return e(i).height() / j.lh } else { if (g == "boolean") { var h = f(e(i)); return { lh: h} } } } function b(k) { var j; var i = e.fn.ThreeDots.c_settings.valid_delimiters; k = jQuery.trim(k); var g = -1; var h = null; var l = null; jQuery.each(i, function (m, o) { if (((new String(o)).length != 1) || (o == null)) { return false } var n = k.lastIndexOf(o); if (n != -1) { if (n > g) { g = n; h = k.substring(g + 1); l = o } } }); if (g > 0) { return { updated_string: jQuery.trim(k.substring(0, g)), word: h, del: l} } else { return { updated_string: "", word: jQuery.trim(k), del: null} } } function f(h) { e(h).append("<div id='temp_ellipsis_div' style='position:absolute; visibility:hidden'>H</div>"); var g = e("#temp_ellipsis_div").height(); e("#temp_ellipsis_div").remove(); return g } function d(k, l, m) { var q = e(l).text(); var i = q; var o = e.fn.ThreeDots.c_settings.max_rows; var h, g, n, r, j; var p; if (a(k, m) <= o) { return } else { p = 0; curr_length = i.length; curr_middle = Math.floor((curr_length - p) / 2); h = q.substring(p, p + curr_middle); g = q.substring(p + curr_middle); while (curr_middle != 0) { e(l).text(h); if (a(k, m) <= (o)) { j = Math.floor(g.length / 2); n = g.substring(0, j); p = h.length; i = h + n; curr_length = i.length; e(l).text(i) } else { i = h; curr_length = i.length } curr_middle = Math.floor((curr_length - p) / 2); h = q.substring(0, p + curr_middle); g = q.substring(p + curr_middle) } } } })(jQuery);

/* File: jquery.easing.1.3.js */

jQuery.easing.jswing = jQuery.easing.swing; jQuery.extend(jQuery.easing, { def: "easeOutQuad", swing: function (e, f, a, h, g) { return jQuery.easing[jQuery.easing.def](e, f, a, h, g) }, easeInQuad: function (e, f, a, h, g) { return h * (f /= g) * f + a }, easeOutQuad: function (e, f, a, h, g) { return -h * (f /= g) * (f - 2) + a }, easeInOutQuad: function (e, f, a, h, g) { if ((f /= g / 2) < 1) { return h / 2 * f * f + a } return -h / 2 * ((--f) * (f - 2) - 1) + a }, easeInCubic: function (e, f, a, h, g) { return h * (f /= g) * f * f + a }, easeOutCubic: function (e, f, a, h, g) { return h * ((f = f / g - 1) * f * f + 1) + a }, easeInOutCubic: function (e, f, a, h, g) { if ((f /= g / 2) < 1) { return h / 2 * f * f * f + a } return h / 2 * ((f -= 2) * f * f + 2) + a }, easeInQuart: function (e, f, a, h, g) { return h * (f /= g) * f * f * f + a }, easeOutQuart: function (e, f, a, h, g) { return -h * ((f = f / g - 1) * f * f * f - 1) + a }, easeInOutQuart: function (e, f, a, h, g) { if ((f /= g / 2) < 1) { return h / 2 * f * f * f * f + a } return -h / 2 * ((f -= 2) * f * f * f - 2) + a }, easeInQuint: function (e, f, a, h, g) { return h * (f /= g) * f * f * f * f + a }, easeOutQuint: function (e, f, a, h, g) { return h * ((f = f / g - 1) * f * f * f * f + 1) + a }, easeInOutQuint: function (e, f, a, h, g) { if ((f /= g / 2) < 1) { return h / 2 * f * f * f * f * f + a } return h / 2 * ((f -= 2) * f * f * f * f + 2) + a }, easeInSine: function (e, f, a, h, g) { return -h * Math.cos(f / g * (Math.PI / 2)) + h + a }, easeOutSine: function (e, f, a, h, g) { return h * Math.sin(f / g * (Math.PI / 2)) + a }, easeInOutSine: function (e, f, a, h, g) { return -h / 2 * (Math.cos(Math.PI * f / g) - 1) + a }, easeInExpo: function (e, f, a, h, g) { return (f == 0) ? a : h * Math.pow(2, 10 * (f / g - 1)) + a }, easeOutExpo: function (e, f, a, h, g) { return (f == g) ? a + h : h * (-Math.pow(2, -10 * f / g) + 1) + a }, easeInOutExpo: function (e, f, a, h, g) { if (f == 0) { return a } if (f == g) { return a + h } if ((f /= g / 2) < 1) { return h / 2 * Math.pow(2, 10 * (f - 1)) + a } return h / 2 * (-Math.pow(2, -10 * --f) + 2) + a }, easeInCirc: function (e, f, a, h, g) { return -h * (Math.sqrt(1 - (f /= g) * f) - 1) + a }, easeOutCirc: function (e, f, a, h, g) { return h * Math.sqrt(1 - (f = f / g - 1) * f) + a }, easeInOutCirc: function (e, f, a, h, g) { if ((f /= g / 2) < 1) { return -h / 2 * (Math.sqrt(1 - f * f) - 1) + a } return h / 2 * (Math.sqrt(1 - (f -= 2) * f) + 1) + a }, easeInElastic: function (f, h, e, l, k) { var i = 1.70158; var j = 0; var g = l; if (h == 0) { return e } if ((h /= k) == 1) { return e + l } if (!j) { j = k * 0.3 } if (g < Math.abs(l)) { g = l; var i = j / 4 } else { var i = j / (2 * Math.PI) * Math.asin(l / g) } return -(g * Math.pow(2, 10 * (h -= 1)) * Math.sin((h * k - i) * (2 * Math.PI) / j)) + e }, easeOutElastic: function (f, h, e, l, k) { var i = 1.70158; var j = 0; var g = l; if (h == 0) { return e } if ((h /= k) == 1) { return e + l } if (!j) { j = k * 0.3 } if (g < Math.abs(l)) { g = l; var i = j / 4 } else { var i = j / (2 * Math.PI) * Math.asin(l / g) } return g * Math.pow(2, -10 * h) * Math.sin((h * k - i) * (2 * Math.PI) / j) + l + e }, easeInOutElastic: function (f, h, e, l, k) { var i = 1.70158; var j = 0; var g = l; if (h == 0) { return e } if ((h /= k / 2) == 2) { return e + l } if (!j) { j = k * (0.3 * 1.5) } if (g < Math.abs(l)) { g = l; var i = j / 4 } else { var i = j / (2 * Math.PI) * Math.asin(l / g) } if (h < 1) { return -0.5 * (g * Math.pow(2, 10 * (h -= 1)) * Math.sin((h * k - i) * (2 * Math.PI) / j)) + e } return g * Math.pow(2, -10 * (h -= 1)) * Math.sin((h * k - i) * (2 * Math.PI) / j) * 0.5 + l + e }, easeInBack: function (e, f, a, i, h, g) { if (g == undefined) { g = 1.70158 } return i * (f /= h) * f * ((g + 1) * f - g) + a }, easeOutBack: function (e, f, a, i, h, g) { if (g == undefined) { g = 1.70158 } return i * ((f = f / h - 1) * f * ((g + 1) * f + g) + 1) + a }, easeInOutBack: function (e, f, a, i, h, g) { if (g == undefined) { g = 1.70158 } if ((f /= h / 2) < 1) { return i / 2 * (f * f * (((g *= (1.525)) + 1) * f - g)) + a } return i / 2 * ((f -= 2) * f * (((g *= (1.525)) + 1) * f + g) + 2) + a }, easeInBounce: function (e, f, a, h, g) { return h - jQuery.easing.easeOutBounce(e, g - f, 0, h, g) + a }, easeOutBounce: function (e, f, a, h, g) { if ((f /= g) < (1 / 2.75)) { return h * (7.5625 * f * f) + a } else { if (f < (2 / 2.75)) { return h * (7.5625 * (f -= (1.5 / 2.75)) * f + 0.75) + a } else { if (f < (2.5 / 2.75)) { return h * (7.5625 * (f -= (2.25 / 2.75)) * f + 0.9375) + a } else { return h * (7.5625 * (f -= (2.625 / 2.75)) * f + 0.984375) + a } } } }, easeInOutBounce: function (e, f, a, h, g) { if (f < g / 2) { return jQuery.easing.easeInBounce(e, f * 2, 0, h, g) * 0.5 + a } return jQuery.easing.easeOutBounce(e, f * 2 - g, 0, h, g) * 0.5 + h * 0.5 + a } });

/* File: jquery.simplemodal-1.3.5.custom.js */

(function (c) { var b = c.browser.msie && parseInt(c.browser.version) == 6 && typeof window.XMLHttpRequest != "object", d = null, a = []; c.modal = function (f, e) { return c.modal.impl.init(f, e) }; c.modal.close = function () { c.modal.impl.close() }; c.fn.modal = function (e) { return c.modal.impl.init(this, e) }; c.modal.defaults = { appendTo: "body", focus: true, opacity: 50, overlayId: "simplemodal-overlay", overlayClass: "simplemodal-overlay", overlayCss: {}, containerId: "simplemodal-container", containerCss: {}, containerClassList: [], dataId: "simplemodal-data", dataCss: {}, minHeight: null, minWidth: null, maxHeight: null, maxWidth: null, autoResize: false, autoPosition: true, zIndex: 1000, close: true, closeHTML: '<a class="modalCloseImg" title="Close"></a>', closeClass: "simplemodal-close", escClose: true, overlayClose: false, position: null, persist: false, modal: true, onOpen: null, onShow: null, onClose: null }; c.modal.impl = { o: null, d: {}, init: function (g, e) { var f = this; if (f.d.data) { } d = c.browser.msie && !c.boxModel; f.o = c.extend({}, c.modal.defaults, e); f.zIndex = f.o.zIndex; f.occb = false; if (typeof g == "object") { g = g instanceof jQuery ? g : c(g); f.d.placeholder = false; if (g.parent().parent().size() > 0) { g.before(c("<span></span>").attr("id", "simplemodal-placeholder").css({ display: "none" })); f.d.placeholder = true; f.display = g.css("display"); if (!f.o.persist) { f.d.orig = g.clone(true) } } } else { if (typeof g == "string" || typeof g == "number") { g = c("<div></div>").html(g) } else { alert("SimpleModal Error: Unsupported data type: " + typeof g); return f } } f.create(g); g = null; f.open(); if (c.isFunction(f.o.onShow)) { f.o.onShow.apply(f, [f.d]) } return f }, create: function (f) { var e = this; a = e.getDimensions(); if (e.o.modal && b) { e.d.iframe = c('<iframe src="javascript:false;"></iframe>').css(c.extend(e.o.iframeCss, { display: "none", opacity: 0, position: "fixed", height: a[0], width: a[1], zIndex: e.o.zIndex, top: 0, left: 0 })).appendTo(e.o.appendTo) } if (!c(".simplemodal-overlay").length) { e.d.overlay = c("<div></div>").attr("id", e.o.overlayId).addClass("simplemodal-overlay").css(c.extend(e.o.overlayCss, { display: "none", opacity: e.o.opacity / 100, height: e.o.modal ? a[0] : 0, width: e.o.modal ? a[1] : 0, position: "fixed", left: 0, top: 0, zIndex: e.o.zIndex + 1 })).appendTo(e.o.appendTo) } e.d.container = c("<div></div>").attr("id", e.o.containerId).addClass("simplemodal-container").css(c.extend(e.o.containerCss, { display: "none", position: "fixed", zIndex: e.o.zIndex + 2 })).append(e.o.close && e.o.closeHTML ? c(e.o.closeHTML).addClass(e.o.closeClass) : "").appendTo(e.o.appendTo); c.each(e.o.containerClassList, function (g, h) { e.d.container.addClass(h) }); e.d.wrap = c("<div></div>").attr("tabIndex", -1).addClass("simplemodal-wrap").css({ height: "100%", outline: 0, width: "100%" }).appendTo(e.d.container); e.d.data = f.attr("id", f.attr("id") || e.o.dataId).addClass("simplemodal-data").css(c.extend(e.o.dataCss, { display: "none" })).appendTo("body"); f = null; e.setContainerDimensions(); e.d.data.appendTo(e.d.wrap); if (b || d) { e.fixIE() } }, bindEvents: function () { var e = this; c("." + e.o.closeClass).bind("click.simplemodal", function (f) { f.preventDefault(); e.close() }); if (e.o.modal && e.o.close && e.o.overlayClose) { e.d.overlay.bind("click.simplemodal", function (f) { f.preventDefault(); e.close() }) } c(document).bind("keydown.simplemodal", function (f) { if (e.o.modal && e.o.focus && f.keyCode == 9) { e.watchTab(f) } else { if ((e.o.close && e.o.escClose) && f.keyCode == 27) { f.preventDefault(); e.close() } } }); c(window).bind("resize.simplemodal", function () { a = e.getDimensions(); e.setContainerDimensions(true); if (b || d) { e.fixIE() } else { if (e.o.modal) { e.d.iframe && e.d.iframe.css({ height: a[0], width: a[1] }); e.d.overlay.css({ height: a[0], width: a[1] }) } } }) }, unbindEvents: function () { c("." + this.o.closeClass).unbind("click.simplemodal"); c(document).unbind("keydown.simplemodal"); c(window).unbind("resize.simplemodal"); this.d.overlay.unbind("click.simplemodal") }, fixIE: function () { var e = this, f = e.o.position; c.each([e.d.iframe || null, !e.o.modal ? null : e.d.overlay, e.d.container], function (w, h) { if (h) { var v = "document.body.clientHeight", o = "document.body.clientWidth", j = "document.body.scrollHeight", g = "document.body.scrollLeft", z = "document.body.scrollTop", x = "document.body.scrollWidth", p = "document.documentElement.clientHeight", k = "document.documentElement.clientWidth", y = "document.documentElement.scrollLeft", u = "document.documentElement.scrollTop", q = h[0].style; q.position = "absolute"; if (w < 2) { try { q.removeExpression("height"); q.removeExpression("width"); q.setExpression("height", "" + j + " > " + v + " ? " + j + " : " + v + ' + "px"'); q.setExpression("width", "" + x + " > " + o + " ? " + x + " : " + o + ' + "px"') } catch (m) { } } else { var n, t; if (f && f.constructor == Array) { var r = f[0] ? typeof f[0] == "number" ? f[0].toString() : f[0].replace(/px/, "") : h.css("top").replace(/px/, ""); n = r.indexOf("%") == -1 ? r + " + (t = " + u + " ? " + u + " : " + z + ') + "px"' : parseInt(r.replace(/%/, "")) + " * ((" + p + " || " + v + ") / 100) + (t = " + u + " ? " + u + " : " + z + ') + "px"'; if (f[1]) { var l = typeof f[1] == "number" ? f[1].toString() : f[1].replace(/px/, ""); t = l.indexOf("%") == -1 ? l + " + (t = " + y + " ? " + y + " : " + g + ') + "px"' : parseInt(l.replace(/%/, "")) + " * ((" + k + " || " + o + ") / 100) + (t = " + y + " ? " + y + " : " + g + ') + "px"' } } else { n = "(" + p + " || " + v + ") / 2 - (this.offsetHeight / 2) + (t = " + u + " ? " + u + " : " + z + ') + "px"'; t = "(" + k + " || " + o + ") / 2 - (this.offsetWidth / 2) + (t = " + y + " ? " + y + " : " + g + ') + "px"' } try { q.removeExpression("top"); q.removeExpression("left"); q.setExpression("top", n); q.setExpression("left", t) } catch (m) { } } } }) }, focus: function (h) { var f = this, g = h || "first"; var e = c(":input:enabled:visible:" + g, f.d.wrap); e.length > 0 ? e.focus() : f.d.wrap.focus() }, getDimensions: function () { var f = c(window); var e = c.browser.opera && c.browser.version > "9.5" && c.fn.jquery <= "1.2.6" ? document.documentElement.clientHeight : c.browser.opera && c.browser.version < "9.5" && c.fn.jquery > "1.2.6" ? window.innerHeight : f.height(); return [e, f.width()] }, getVal: function (e) { return e == "auto" ? 0 : e.indexOf("%") > 0 ? e : parseInt(e.replace(/px/, "")) }, setContainerDimensions: function (h) { var j = this; if (!h || (h && j.o.autoResize)) { var i = c.browser.opera ? j.d.container.height() : j.getVal(j.d.container.css("height")), e = c.browser.opera ? j.d.container.width() : j.getVal(j.d.container.css("width")), k = j.d.data.outerHeight(true), g = j.d.data.outerWidth(true); var f = j.o.maxHeight && j.o.maxHeight < a[0] ? j.o.maxHeight : a[0], l = j.o.maxWidth && j.o.maxWidth < a[1] ? j.o.maxWidth : a[1]; if (!i) { if (!k) { i = j.o.minHeight } else { if (k > f) { i = f } else { if (k < j.o.minHeight) { i = j.o.minHeight } else { i = k } } } } else { i = i > f ? f : i } if (!e) { if (!g) { e = j.o.minWidth } else { if (g > l) { e = l } else { if (g < j.o.minWidth) { e = j.o.minWidth } else { e = g } } } } else { e = e > l ? l : e } j.d.container.css({ height: i, width: e }); if (k > i || g > e) { j.d.wrap.css({ overflow: "auto" }) } } if (j.o.autoPosition) { j.setPosition() } }, setPosition: function () { var f = this, h, g, i = (a[0] / 2) - (f.d.container.outerHeight(true) / 2), e = (a[1] / 2) - (f.d.container.outerWidth(true) / 2); if (f.o.position && Object.prototype.toString.call(f.o.position) === "[object Array]") { h = f.o.position[0] || i; g = f.o.position[1] || e } else { h = i; g = e } f.d.container.css({ left: g, top: h }) }, watchTab: function (g) { var f = this; if (c(g.target).parents(".simplemodal-container").length > 0) { f.inputs = c(":input:enabled:visible:first, :input:enabled:visible:last", f.d.data[0]); if ((!g.shiftKey && g.target == f.inputs[f.inputs.length - 1]) || (g.shiftKey && g.target == f.inputs[0]) || f.inputs.length == 0) { g.preventDefault(); var h = g.shiftKey ? "last" : "first"; setTimeout(function () { f.focus(h) }, 10) } } else { g.preventDefault(); setTimeout(function () { f.focus() }, 10) } }, open: function () { var e = this; e.d.iframe && e.d.iframe.show(); if (c.isFunction(e.o.onOpen)) { e.o.onOpen.apply(e, [e.d]) } else { e.d.overlay.show(); e.d.container.show(); e.d.data.show() } e.focus(); e.bindEvents() }, close: function () { var e = this; if (!e.d.data) { return false } e.unbindEvents(); if (c.isFunction(e.o.onClose) && !e.occb) { e.occb = true; e.o.onClose.apply(e, [e.d]) } else { if (e.d.placeholder) { var f = c("#simplemodal-placeholder"); if (e.o.persist) { f.replaceWith(e.d.data.removeClass("simplemodal-data").css("display", e.display)) } else { e.d.data.hide().remove(); f.replaceWith(e.d.orig) } } else { e.d.data.hide().remove() } e.d.container.hide().remove(); e.d.overlay.hide().remove(); e.d.iframe && e.d.iframe.hide().remove(); e.d = {} } } } })(jQuery);

/* File: jquery.superfish.js */

(function (b) { b.fn.superfish = function (k) { var g = b.fn.superfish, j = g.c, f = b(['<span class="', j.arrowClass, '"> &#187;</span>'].join("")), i = function () { var c = b(this), l = d(c); clearTimeout(l.sfTimer); c.showSuperfishUl().siblings().hideSuperfishUl() }, e = function () { var c = b(this), m = d(c), l = g.op; clearTimeout(m.sfTimer); m.sfTimer = setTimeout(function () { l.retainPath = (b.inArray(c[0], l.$path) > -1); c.hideSuperfishUl(); if (l.$path.length && c.parents(["li.", l.hoverClass].join("")).length < 1) { i.call(l.$path) } }, l.delay) }, d = function (c) { var l = c.parents(["ul.", j.menuClass, ":first"].join(""))[0]; g.op = g.o[l.serial]; return l }, h = function (c) { c.addClass(j.anchorClass).append(f.clone()) }; return this.each(function () { var c = this.serial = g.o.length; var m = b.extend({}, g.defaults, k); m.$path = b("li." + m.pathClass, this).slice(0, m.pathLevels).each(function () { b(this).addClass([m.hoverClass, j.bcClass].join(" ")).filter("li:has(ul)").removeClass(m.pathClass) }); g.o[c] = g.op = m; b("li:has(ul)", this)[(b.fn.hoverIntent && !m.disableHI) ? "hoverIntent" : "hover"](i, e).each(function () { if (m.autoArrows) { h(b(">a:first-child", this)) } }).not("." + j.bcClass).hideSuperfishUl(); var l = b("a", this); l.each(function (n) { var o = l.eq(n).parents("li"); l.eq(n).focus(function () { i.call(o) }).blur(function () { e.call(o) }) }); m.onInit.call(this) }).each(function () { var c = [j.menuClass]; if (g.op.dropShadows && !(b.browser.msie && b.browser.version < 7)) { c.push(j.shadowClass) } b(this).addClass(c.join(" ")) }) }; var a = b.fn.superfish; a.o = []; a.op = {}; a.IE7fix = function () { var c = a.op; if (b.browser.msie && b.browser.version > 6 && c.dropShadows && c.animation.opacity != undefined) { this.toggleClass(a.c.shadowClass + "-off") } }; a.c = { bcClass: "sf-breadcrumb", menuClass: "sf-js-enabled", anchorClass: "sf-with-ul", arrowClass: "sf-sub-indicator", shadowClass: "sf-shadow" }; a.defaults = { hoverClass: "sfHover", pathClass: "overideThisToUse", pathLevels: 1, delay: 800, animation: { opacity: "show" }, speed: "normal", autoArrows: true, dropShadows: true, disableHI: false, onInit: function () { }, onBeforeShow: function () { }, onShow: function () { }, onHide: function () { } }; b.fn.extend({ hideSuperfishUl: function () { var e = a.op, d = (e.retainPath === true) ? e.$path : ""; e.retainPath = false; var c = b(["li.", e.hoverClass].join(""), this).add(this).not(d).removeClass(e.hoverClass).find(">ul").hide().css("visibility", "hidden"); e.onHide.call(c); return this }, showSuperfishUl: function () { var e = a.op, d = a.c.shadowClass + "-off", c = this.addClass(e.hoverClass).find(">ul:hidden").css("visibility", "visible"); a.IE7fix.call(c); e.onBeforeShow.call(c); c.animate(e.animation, e.speed, function () { a.IE7fix.call(c); e.onShow.call(c) }); return this } }) })(jQuery);

/* File: jquery.mousewheel.js */

/* Copyright (c) 2010 Brandon Aaron (http://brandonaaron.net)
* Licensed under the MIT License (LICENSE.txt).
*
* Thanks to: http://adomas.org/javascript-mouse-wheel/ for some pointers.
* Thanks to: Mathias Bank(http://www.mathias-bank.de) for a scope bug fix.
* Thanks to: Seamus Leahy for adding deltaX and deltaY
*
* Version: 3.0.4
* 
* Requires: 1.2.2+
*/
(function (c) { var a = ["DOMMouseScroll", "mousewheel"]; c.event.special.mousewheel = { setup: function () { if (this.addEventListener) { for (var d = a.length; d; ) { this.addEventListener(a[--d], b, false) } } else { this.onmousewheel = b } }, teardown: function () { if (this.removeEventListener) { for (var d = a.length; d; ) { this.removeEventListener(a[--d], b, false) } } else { this.onmousewheel = null } } }; c.fn.extend({ mousewheel: function (d) { return d ? this.bind("mousewheel", d) : this.trigger("mousewheel") }, unmousewheel: function (d) { return this.unbind("mousewheel", d) } }); function b(i) { var g = i || window.event, f = [].slice.call(arguments, 1), j = 0, h = true, e = 0, d = 0; i = c.event.fix(g); i.type = "mousewheel"; if (i.wheelDelta) { j = i.wheelDelta / 120 } if (i.detail) { j = -i.detail / 3 } d = j; if (g.axis !== undefined && g.axis === g.HORIZONTAL_AXIS) { d = 0; e = -1 * j } if (g.wheelDeltaY !== undefined) { d = g.wheelDeltaY / 120 } if (g.wheelDeltaX !== undefined) { e = -1 * g.wheelDeltaX / 120 } f.unshift(i, j, e, d); return c.event.handle.apply(this, f) } })(jQuery);

/* File: mwheelIntent.js */

(function (c) { var b = { pos: [-260, -260] }, d = 3, h = document, g = h.documentElement, e = h.body, a, i; function f() { if (this === b.elem) { b.pos = [-260, -260]; b.elem = false; d = 3 } } c.event.special.mwheelIntent = { setup: function () { var j = c(this).bind("mousewheel", c.event.special.mwheelIntent.handler); if (this !== h && this !== g && this !== e) { j.bind("mouseleave", f) } j = null; return true }, teardown: function () { c(this).unbind("mousewheel", c.event.special.mwheelIntent.handler).unbind("mouseleave", f); return true }, handler: function (j, k) { var l = [j.clientX, j.clientY]; if (this === b.elem || Math.abs(b.pos[0] - l[0]) > d || Math.abs(b.pos[1] - l[1]) > d) { b.elem = this; b.pos = l; d = 250; clearTimeout(i); i = setTimeout(function () { d = 10 }, 200); clearTimeout(a); a = setTimeout(function () { d = 3 }, 1500); j = c.extend({}, j, { type: "mwheelIntent" }); return c.event.handle.apply(this, arguments) } } }; c.fn.extend({ mwheelIntent: function (j) { return j ? this.bind("mwheelIntent", j) : this.trigger("mwheelIntent") }, unmwheelIntent: function (j) { return this.unbind("mwheelIntent", j) } }); c(function () { e = h.body; c(h).bind("mwheelIntent.mwheelIntentDefault", c.noop) }) })(jQuery);

/* File: jquery.jscrollpane.js */

/*
* jScrollPane - v2.0.0beta10 - 2011-04-04
* http://jscrollpane.kelvinluck.com/
*
* Copyright (c) 2010 Kelvin Luck
* Dual licensed under the MIT and GPL licenses.
*/
(function (b, a, c) {
    b.fn.jScrollPane = function (f) {
        function d(E, P) {
            var aA, R = this, Z, al, w, an, U, aa, z, r, aB, aG, aw, j, J, i, k, ab, V, ar, Y, u, B, at, ag, ao, H, m, av, az, y, ax, aJ, g, M, ak = true, Q = true, aI = false, l = false, aq = E.clone(false, false).empty(), ad = b.fn.mwheelIntent ? "mwheelIntent.jsp" : "mousewheel.jsp"; aJ = E.css("paddingTop") + " " + E.css("paddingRight") + " " + E.css("paddingBottom") + " " + E.css("paddingLeft"); g = (parseInt(E.css("paddingLeft"), 10) || 0) + (parseInt(E.css("paddingRight"), 10) || 0); function au(aU) { var aS, aT, aN, aP, aO, aL, aK, aR, aQ = false, aM = false; aA = aU; if (Z === c) { aK = E.scrollTop(); aR = E.scrollLeft(); E.css({ overflow: "hidden", padding: 0 }); al = E.innerWidth() + g; w = E.innerHeight(); E.width(al); Z = b('<div class="jspPane" />').css("padding", aJ).append(E.children()); an = b('<div class="jspContainer" />').css({ width: al + "px", height: w + "px" }).append(Z).appendTo(E) } else { E.css("width", ""); aQ = aA.stickToBottom && L(); aM = aA.stickToRight && C(); aL = E.innerWidth() + g != al || E.outerHeight() != w; if (aL) { al = E.innerWidth() + g; w = E.innerHeight(); an.css({ width: al + "px", height: w + "px" }) } if (!aL && M == U && Z.outerHeight() == aa) { E.width(al); return } M = U; Z.css("width", ""); E.width(al); an.find(">.jspVerticalBar,>.jspHorizontalBar").remove().end() } if (aU.contentWidth) { U = aU.contentWidth } else { aS = Z.clone(false, false).css("position", "absolute"); aT = b('<div style="width:1px; position: relative;" />').append(aS); b("body").append(aT); U = Math.max(Z.outerWidth(), aS.outerWidth()); aT.remove() } aa = Z.outerHeight(); z = U / al; r = aa / w; aB = r > 1; aG = z > 1; if (!(aG || aB)) { E.removeClass("jspScrollable"); Z.css({ top: 0, width: an.width() - g }); o(); F(); S(); x(); aj() } else { E.addClass("jspScrollable"); aN = aA.maintainPosition && (J || ab); if (aN) { aP = aE(); aO = aC() } aH(); A(); G(); if (aN) { O(aM ? (U - al) : aP, false); N(aQ ? (aa - w) : aO, false) } K(); ah(); ap(); if (aA.enableKeyboardNavigation) { T() } if (aA.clickOnTrack) { q() } D(); if (aA.hijackInternalLinks) { n() } } if (aA.autoReinitialise && !ax) { ax = setInterval(function () { au(aA) }, aA.autoReinitialiseDelay) } else { if (!aA.autoReinitialise && ax) { clearInterval(ax) } } aK && E.scrollTop(0) && N(aK, false); aR && E.scrollLeft(0) && O(aR, false); E.trigger("jsp-initialised", [aG || aB]) } function aH() { if (aB) { an.append(b('<div class="jspVerticalBar" />').append(b('<div class="jspCap jspCapTop" />'), b('<div class="jspTrack" />').append(b('<div class="jspDrag" />').append(b('<div class="jspDragTop" />'), b('<div class="jspDragBottom" />'))), b('<div class="jspCap jspCapBottom" />'))); V = an.find(">.jspVerticalBar"); ar = V.find(">.jspTrack"); aw = ar.find(">.jspDrag"); if (aA.showArrows) { at = b('<a class="jspArrow jspArrowUp" />').bind("mousedown.jsp", aF(0, -1)).bind("click.jsp", aD); ag = b('<a class="jspArrow jspArrowDown" />').bind("mousedown.jsp", aF(0, 1)).bind("click.jsp", aD); if (aA.arrowScrollOnHover) { at.bind("mouseover.jsp", aF(0, -1, at)); ag.bind("mouseover.jsp", aF(0, 1, ag)) } am(ar, aA.verticalArrowPositions, at, ag) } u = w; an.find(">.jspVerticalBar>.jspCap:visible,>.jspVerticalBar>.jspArrow").each(function () { u -= b(this).outerHeight() }); aw.hover(function () { aw.addClass("jspHover") }, function () { aw.removeClass("jspHover") }).bind("mousedown.jsp", function (aK) { b("html").bind("dragstart.jsp selectstart.jsp", aD); aw.addClass("jspActive"); var s = aK.pageY - aw.position().top; b("html").bind("mousemove.jsp", function (aL) { W(aL.pageY - s, false) }).bind("mouseup.jsp mouseleave.jsp", ay); return false }); p() } } function p() { ar.height(u + "px"); J = 0; Y = aA.verticalGutter + ar.outerWidth(); Z.width(al - Y - g); try { if (V.position().left === 0) { Z.css("margin-left", Y + "px") } } catch (s) { } } function A() { if (aG) { an.append(b('<div class="jspHorizontalBar" />').append(b('<div class="jspCap jspCapLeft" />'), b('<div class="jspTrack" />').append(b('<div class="jspDrag" />').append(b('<div class="jspDragLeft" />'), b('<div class="jspDragRight" />'))), b('<div class="jspCap jspCapRight" />'))); ao = an.find(">.jspHorizontalBar"); H = ao.find(">.jspTrack"); i = H.find(">.jspDrag"); if (aA.showArrows) { az = b('<a class="jspArrow jspArrowLeft" />').bind("mousedown.jsp", aF(-1, 0)).bind("click.jsp", aD); y = b('<a class="jspArrow jspArrowRight" />').bind("mousedown.jsp", aF(1, 0)).bind("click.jsp", aD); if (aA.arrowScrollOnHover) { az.bind("mouseover.jsp", aF(-1, 0, az)); y.bind("mouseover.jsp", aF(1, 0, y)) } am(H, aA.horizontalArrowPositions, az, y) } i.hover(function () { i.addClass("jspHover") }, function () { i.removeClass("jspHover") }).bind("mousedown.jsp", function (aK) { b("html").bind("dragstart.jsp selectstart.jsp", aD); i.addClass("jspActive"); var s = aK.pageX - i.position().left; b("html").bind("mousemove.jsp", function (aL) { X(aL.pageX - s, false) }).bind("mouseup.jsp mouseleave.jsp", ay); return false }); m = an.innerWidth(); ai() } } function ai() { an.find(">.jspHorizontalBar>.jspCap:visible,>.jspHorizontalBar>.jspArrow").each(function () { m -= b(this).outerWidth() }); H.width(m + "px"); ab = 0 } function G() { if (aG && aB) { var aK = H.outerHeight(), s = ar.outerWidth(); u -= aK; b(ao).find(">.jspCap:visible,>.jspArrow").each(function () { m += b(this).outerWidth() }); m -= s; w -= s; al -= aK; H.parent().append(b('<div class="jspCorner" />').css("width", aK + "px")); p(); ai() } if (aG) { Z.width((an.outerWidth() - g) + "px") } aa = Z.outerHeight(); r = aa / w; if (aG) { av = Math.ceil(1 / z * m); if (av > aA.horizontalDragMaxWidth) { av = aA.horizontalDragMaxWidth } else { if (av < aA.horizontalDragMinWidth) { av = aA.horizontalDragMinWidth } } i.width(av + "px"); k = m - av; af(ab) } if (aB) { B = Math.ceil(1 / r * u); if (B > aA.verticalDragMaxHeight) { B = aA.verticalDragMaxHeight } else { if (B < aA.verticalDragMinHeight) { B = aA.verticalDragMinHeight } } aw.height(B + "px"); j = u - B; ae(J) } } function am(aL, aN, aK, s) { var aP = "before", aM = "after", aO; if (aN == "os") { aN = /Mac/.test(navigator.platform) ? "after" : "split" } if (aN == aP) { aM = aN } else { if (aN == aM) { aP = aN; aO = aK; aK = s; s = aO } } aL[aP](aK)[aM](s) } function aF(aK, s, aL) { return function () { I(aK, s, this, aL); this.blur(); return false } } function I(aN, aM, aQ, aP) { aQ = b(aQ).addClass("jspActive"); var aO, aL, aK = true, s = function () { if (aN !== 0) { R.scrollByX(aN * aA.arrowButtonSpeed) } if (aM !== 0) { R.scrollByY(aM * aA.arrowButtonSpeed) } aL = setTimeout(s, aK ? aA.initialDelay : aA.arrowRepeatFreq); aK = false }; s(); aO = aP ? "mouseout.jsp" : "mouseup.jsp"; aP = aP || b("html"); aP.bind(aO, function () { aQ.removeClass("jspActive"); aL && clearTimeout(aL); aL = null; aP.unbind(aO) }) } function q() { x(); if (aB) { ar.bind("mousedown.jsp", function (aP) { if (aP.originalTarget === c || aP.originalTarget == aP.currentTarget) { var aN = b(this), aQ = aN.offset(), aO = aP.pageY - aQ.top - J, aL, aK = true, s = function () { var aT = aN.offset(), aU = aP.pageY - aT.top - B / 2, aR = w * aA.scrollPagePercent, aS = j * aR / (aa - w); if (aO < 0) { if (J - aS > aU) { R.scrollByY(-aR) } else { W(aU) } } else { if (aO > 0) { if (J + aS < aU) { R.scrollByY(aR) } else { W(aU) } } else { aM(); return } } aL = setTimeout(s, aK ? aA.initialDelay : aA.trackClickRepeatFreq); aK = false }, aM = function () { aL && clearTimeout(aL); aL = null; b(document).unbind("mouseup.jsp", aM) }; s(); b(document).bind("mouseup.jsp", aM); return false } }) } if (aG) { H.bind("mousedown.jsp", function (aP) { if (aP.originalTarget === c || aP.originalTarget == aP.currentTarget) { var aN = b(this), aQ = aN.offset(), aO = aP.pageX - aQ.left - ab, aL, aK = true, s = function () { var aT = aN.offset(), aU = aP.pageX - aT.left - av / 2, aR = al * aA.scrollPagePercent, aS = k * aR / (U - al); if (aO < 0) { if (ab - aS > aU) { R.scrollByX(-aR) } else { X(aU) } } else { if (aO > 0) { if (ab + aS < aU) { R.scrollByX(aR) } else { X(aU) } } else { aM(); return } } aL = setTimeout(s, aK ? aA.initialDelay : aA.trackClickRepeatFreq); aK = false }, aM = function () { aL && clearTimeout(aL); aL = null; b(document).unbind("mouseup.jsp", aM) }; s(); b(document).bind("mouseup.jsp", aM); return false } }) } } function x() { if (H) { H.unbind("mousedown.jsp") } if (ar) { ar.unbind("mousedown.jsp") } } function ay() { b("html").unbind("dragstart.jsp selectstart.jsp mousemove.jsp mouseup.jsp mouseleave.jsp"); if (aw) { aw.removeClass("jspActive") } if (i) { i.removeClass("jspActive") } } function W(s, aK) { if (!aB) { return } if (s < 0) { s = 0 } else { if (s > j) { s = j } } if (aK === c) { aK = aA.animateScroll } if (aK) { R.animate(aw, "top", s, ae) } else { aw.css("top", s); ae(s) } } function ae(aK) {
                if (aK === c) { aK = aw.position().top } an.scrollTop(0); J = aK; var aN = J === 0, aL = J == j, aM = aK / j, s = -aM * (aa - w); if (ak != aN || aI != aL) { ak = aN; aI = aL; E.trigger("jsp-arrow-change", [ak, aI, Q, l]) } v(aN, aL); Z.css("top", s);
                E.trigger("jsp-scroll-y", [-s, aN, aL]).trigger("scroll")
            } function X(aK, s) { if (!aG) { return } if (aK < 0) { aK = 0 } else { if (aK > k) { aK = k } } if (s === c) { s = aA.animateScroll } if (s) { R.animate(i, "left", aK, af) } else { i.css("left", aK); af(aK) } } function af(aK) { if (aK === c) { aK = i.position().left } an.scrollTop(0); ab = aK; var aN = ab === 0, aM = ab == k, aL = aK / k, s = -aL * (U - al); if (Q != aN || l != aM) { Q = aN; l = aM; E.trigger("jsp-arrow-change", [ak, aI, Q, l]) } t(aN, aM); Z.css("left", s); E.trigger("jsp-scroll-x", [-s, aN, aM]).trigger("scroll") } function v(aK, s) { if (aA.showArrows) { at[aK ? "addClass" : "removeClass"]("jspDisabled"); ag[s ? "addClass" : "removeClass"]("jspDisabled") } } function t(aK, s) { if (aA.showArrows) { az[aK ? "addClass" : "removeClass"]("jspDisabled"); y[s ? "addClass" : "removeClass"]("jspDisabled") } } function N(s, aK) { var aL = s / (aa - w); W(aL * j, aK) } function O(aK, s) { var aL = aK / (U - al); X(aL * k, s) } function ac(aX, aS, aL) { var aP, aM, aN, s = 0, aW = 0, aK, aR, aQ, aU, aT, aV; try { aP = b(aX) } catch (aO) { return } aM = aP.outerHeight(); aN = aP.outerWidth(); an.scrollTop(0); an.scrollLeft(0); while (!aP.is(".jspPane")) { s += aP.position().top; aW += aP.position().left; aP = aP.offsetParent(); if (/^body|html$/i.test(aP[0].nodeName)) { return } } aK = aC(); aQ = aK + w; if (s < aK || aS) { aT = s - aA.verticalGutter } else { if (s + aM > aQ) { aT = s - w + aM + aA.verticalGutter } } if (aT) { N(aT, aL) } aR = aE(); aU = aR + al; if (aW < aR || aS) { aV = aW - aA.horizontalGutter } else { if (aW + aN > aU) { aV = aW - al + aN + aA.horizontalGutter } } if (aV) { O(aV, aL) } } function aE() { return -Z.position().left } function aC() { return -Z.position().top } function L() { var s = aa - w; return (s > 20) && (s - aC() < 10) } function C() { var s = U - al; return (s > 20) && (s - aE() < 10) } function ah() { an.unbind(ad).bind(ad, function (aN, aO, aM, aK) { var aL = ab, s = J; R.scrollBy(aM * aA.mouseWheelSpeed, -aK * aA.mouseWheelSpeed, false); return aL == ab && s == J }) } function o() { an.unbind(ad) } function aD() { return false } function K() { Z.find(":input,a").unbind("focus.jsp").bind("focus.jsp", function (s) { ac(s.target, false) }) } function F() { Z.find(":input,a").unbind("focus.jsp") } function T() { var s, aK, aM = []; aG && aM.push(ao[0]); aB && aM.push(V[0]); Z.focus(function () { E.focus() }); E.attr("tabindex", 0).unbind("keydown.jsp keypress.jsp").bind("keydown.jsp", function (aP) { if (aP.target !== this && !(aM.length && b(aP.target).closest(aM).length)) { return } var aO = ab, aN = J; switch (aP.keyCode) { case 40: case 38: case 34: case 32: case 33: case 39: case 37: s = aP.keyCode; aL(); break; case 35: N(aa - w); s = null; break; case 36: N(0); s = null; break } aK = aP.keyCode == s && aO != ab || aN != J; return !aK }).bind("keypress.jsp", function (aN) { if (aN.keyCode == s) { aL() } return !aK }); if (aA.hideFocus) { E.css("outline", "none"); if ("hideFocus" in an[0]) { E.attr("hideFocus", true) } } else { E.css("outline", ""); if ("hideFocus" in an[0]) { E.attr("hideFocus", false) } } function aL() { var aO = ab, aN = J; switch (s) { case 40: R.scrollByY(aA.keyboardSpeed, false); break; case 38: R.scrollByY(-aA.keyboardSpeed, false); break; case 34: case 32: R.scrollByY(w * aA.scrollPagePercent, false); break; case 33: R.scrollByY(-w * aA.scrollPagePercent, false); break; case 39: R.scrollByX(aA.keyboardSpeed, false); break; case 37: R.scrollByX(-aA.keyboardSpeed, false); break } aK = aO != ab || aN != J; return aK } } function S() { E.attr("tabindex", "-1").removeAttr("tabindex").unbind("keydown.jsp keypress.jsp") } function D() { if (location.hash && location.hash.length > 1) { var aL, aK; try { aL = b(location.hash) } catch (s) { return } if (aL.length && Z.find(location.hash)) { if (an.scrollTop() === 0) { aK = setInterval(function () { if (an.scrollTop() > 0) { ac(location.hash, true); b(document).scrollTop(an.position().top); clearInterval(aK) } }, 50) } else { ac(location.hash, true); b(document).scrollTop(an.position().top) } } } } function aj() { b("a.jspHijack").unbind("click.jsp-hijack").removeClass("jspHijack") } function n() { aj(); b("a[href^=#]").addClass("jspHijack").bind("click.jsp-hijack", function () { var s = this.href.split("#"), aK; if (s.length > 1) { aK = s[1]; if (aK.length > 0 && Z.find("#" + aK).length > 0) { ac("#" + aK, true); return false } } }) } function ap() { var aL, aK, aN, aM, aO, s = false; an.unbind("touchstart.jsp touchmove.jsp touchend.jsp click.jsp-touchclick").bind("touchstart.jsp", function (aP) { var aQ = aP.originalEvent.touches[0]; aL = aE(); aK = aC(); aN = aQ.pageX; aM = aQ.pageY; aO = false; s = true }).bind("touchmove.jsp", function (aS) { if (!s) { return } var aR = aS.originalEvent.touches[0], aQ = ab, aP = J; R.scrollTo(aL + aN - aR.pageX, aK + aM - aR.pageY); aO = aO || Math.abs(aN - aR.pageX) > 5 || Math.abs(aM - aR.pageY) > 5; return aQ == ab && aP == J }).bind("touchend.jsp", function (aP) { s = false }).bind("click.jsp-touchclick", function (aP) { if (aO) { aO = false; return false } }) } function h() { var s = aC(), aK = aE(); E.removeClass("jspScrollable").unbind(".jsp"); E.replaceWith(aq.append(Z.children())); aq.scrollTop(s); aq.scrollLeft(aK) } b.extend(R, { reinitialise: function (aK) { aK = b.extend({}, aA, aK); au(aK) }, scrollToElement: function (aL, aK, s) { ac(aL, aK, s) }, scrollTo: function (aL, s, aK) { O(aL, aK); N(s, aK) }, scrollToX: function (aK, s) { O(aK, s) }, scrollToY: function (s, aK) { N(s, aK) }, scrollToPercentX: function (aK, s) { O(aK * (U - al), s) }, scrollToPercentY: function (aK, s) { N(aK * (aa - w), s) }, scrollBy: function (aK, s, aL) { R.scrollByX(aK, aL); R.scrollByY(s, aL) }, scrollByX: function (s, aL) { var aK = aE() + s, aM = aK / (U - al); X(aM * k, aL) }, scrollByY: function (s, aL) { var aK = aC() + s, aM = aK / (aa - w); W(aM * j, aL) }, positionDragX: function (s, aK) { X(s, aK) }, positionDragY: function (aK, s) { X(aK, s) }, animate: function (aK, aN, s, aM) { var aL = {}; aL[aN] = s; aK.animate(aL, { duration: aA.animateDuration, ease: aA.animateEase, queue: false, step: aM }) }, getContentPositionX: function () { return aE() }, getContentPositionY: function () { return aC() }, getContentWidth: function () { return U() }, getContentHeight: function () { return aa() }, getPercentScrolledX: function () { return aE() / (U - al) }, getPercentScrolledY: function () { return aC() / (aa - w) }, getIsScrollableH: function () { return aG }, getIsScrollableV: function () { return aB }, getContentPane: function () { return Z }, scrollToBottom: function (s) { W(j, s) }, hijackInternalLinks: function () { n() }, destroy: function () { h() } }); au(P)
        } f = b.extend({}, b.fn.jScrollPane.defaults, f); b.each(["mouseWheelSpeed", "arrowButtonSpeed", "trackClickSpeed", "keyboardSpeed"], function () { f[this] = f[this] || f.speed }); var e; this.each(function () { var g = b(this), h = g.data("jsp"); if (h) { h.reinitialise(f) } else { h = new d(g, f); g.data("jsp", h) } e = e ? e.add(g) : g }); return e
    }; b.fn.jScrollPane.defaults = { showArrows: false, maintainPosition: true, stickToBottom: false, stickToRight: false, clickOnTrack: true, autoReinitialise: false, autoReinitialiseDelay: 500, verticalDragMinHeight: 0, verticalDragMaxHeight: 99999, horizontalDragMinWidth: 0, horizontalDragMaxWidth: 99999, contentWidth: c, animateScroll: false, animateDuration: 300, animateEase: "linear", hijackInternalLinks: false, verticalGutter: 4, horizontalGutter: 4, mouseWheelSpeed: 0, arrowButtonSpeed: 0, arrowRepeatFreq: 50, arrowScrollOnHover: false, trackClickSpeed: 0, trackClickRepeatFreq: 70, verticalArrowPositions: "split", horizontalArrowPositions: "split", enableKeyboardNavigation: true, hideFocus: false, keyboardSpeed: 0, initialDelay: 300, speed: 30, scrollPagePercent: 0.8 }
})(jQuery, this);

/* File: swfobject-2.2.js */

/*	SWFObject v2.2 <http://code.google.com/p/swfobject/> 
is released under the MIT License <http://www.opensource.org/licenses/mit-license.php> 
*/
if (typeof legacySurroundingPage == "undefined") {
    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 } } }
    } ()
};

/* File: swfaddress-2.4.js */

/**
* SWFAddress 2.4: Deep linking for Flash and Ajax <http://www.asual.com/swfaddress/>
*
* SWFAddress is (c) 2006-2009 Rostislav Hristov and contributors
* This software is released under the MIT License <http://www.opensource.org/licenses/mit-license.php>
*
*/
if (typeof excludeSWFAddress == "undefined") { // Some pages need to have SWFAddress disabled: legacy surrounding pages because they need a legacy version of SWFAddress, and others because they use a different deeplinking system.
    if (typeof asual == "undefined") { var asual = {} } if (typeof asual.util == "undefined") { asual.util = {} } asual.util.Browser = new function () { var b = navigator.userAgent.toLowerCase(), a = /webkit/.test(b), e = /opera/.test(b), c = /msie/.test(b) && !/opera/.test(b), d = /mozilla/.test(b) && !/(compatible|webkit)/.test(b), f = parseFloat(c ? b.substr(b.indexOf("msie") + 4) : (b.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/) || [0, "0"])[1]); this.toString = function () { return "[class Browser]" }; this.getVersion = function () { return f }; this.isMSIE = function () { return c }; this.isSafari = function () { return a }; this.isOpera = function () { return e }; this.isMozilla = function () { return d } }; asual.util.Events = new function () { var c = "DOMContentLoaded", j = "onstop", k = window, h = document, b = [], a = asual.util, e = a.Browser, d = e.isMSIE(), g = e.isSafari(); this.toString = function () { return "[class Events]" }; this.addListener = function (n, l, m) { b.push({ o: n, t: l, l: m }); if (!(l == c && (d || g))) { if (n.addEventListener) { n.addEventListener(l, m, false) } else { if (n.attachEvent) { n.attachEvent("on" + l, m) } } } }; this.removeListener = function (p, m, n) { for (var l = 0, o; o = b[l]; l++) { if (o.o == p && o.t == m && o.l == n) { b.splice(l, 1); break } } if (!(m == c && (d || g))) { if (p.removeEventListener) { p.removeEventListener(m, n, false) } else { if (p.detachEvent) { p.detachEvent("on" + m, n) } } } }; var i = function () { for (var m = 0, l; l = b[m]; m++) { if (l.t != c) { a.Events.removeListener(l.o, l.t, l.l) } } }; var f = function () { if (h.readyState == "interactive") { function l() { h.detachEvent(j, l); i() } h.attachEvent(j, l); k.setTimeout(function () { h.detachEvent(j, l) }, 0) } }; if (d || g) { (function () { try { if ((d && h.body) || !/loaded|complete/.test(h.readyState)) { h.documentElement.doScroll("left") } } catch (m) { return setTimeout(arguments.callee, 0) } for (var l = 0, m; m = b[l]; l++) { if (m.t == c) { m.l.call(null) } } })() } if (d) { k.attachEvent("onbeforeunload", f) } this.addListener(k, "unload", i) }; asual.util.Functions = new function () { this.toString = function () { return "[class Functions]" }; this.bind = function (f, b, e) { for (var c = 2, d, a = []; d = arguments[c]; c++) { a.push(d) } return function () { return f.apply(b, a) } } }; var SWFAddressEvent = function (d) { this.toString = function () { return "[object SWFAddressEvent]" }; this.type = d; this.target = [SWFAddress][0]; this.value = SWFAddress.getValue(); this.path = SWFAddress.getPath(); this.pathNames = SWFAddress.getPathNames(); this.parameters = {}; var c = SWFAddress.getParameterNames(); for (var b = 0, a = c.length; b < a; b++) { this.parameters[c[b]] = SWFAddress.getParameter(c[b]) } this.parameterNames = c }; SWFAddressEvent.INIT = "init"; SWFAddressEvent.CHANGE = "change"; SWFAddressEvent.INTERNAL_CHANGE = "internalChange"; SWFAddressEvent.EXTERNAL_CHANGE = "externalChange"; var SWFAddress = new function () { var _getHash = function () { var index = _l.href.indexOf("#"); return index != -1 ? _ec(_dc(_l.href.substr(index + 1))) : "" }; var _getWindow = function () { try { top.document; return top } catch (e) { return window } }; var _strictCheck = function (value, force) { if (_opts.strict) { value = force ? (value.substr(0, 1) != "/" ? "/" + value : value) : (value == "" ? "/" : value) } return value }; var _ieLocal = function (value, direction) { return (_msie && _l.protocol == "file:") ? (direction ? _value.replace(/\?/, "%3F") : _value.replace(/%253F/, "?")) : value }; var _searchScript = function (el) { if (el.childNodes) { for (var i = 0, l = el.childNodes.length, s; i < l; i++) { if (el.childNodes[i].src) { _url = String(el.childNodes[i].src) } if (s = _searchScript(el.childNodes[i])) { return s } } } }; var _titleCheck = function () { if (_d.title != _title && _d.title.indexOf("#") != -1) { _d.title = _title } }; var _listen = function () { if (!_silent) { var hash = _getHash(); var diff = !(_value == hash); if (_safari && _version < 523) { if (_length != _h.length) { _length = _h.length; if (typeof _stack[_length - 1] != UNDEFINED) { _value = _stack[_length - 1] } _update.call(this, false) } } else { if (_msie && diff) { if (_version < 7) { _l.reload() } else { this.setValue(hash) } } else { if (diff) { _value = hash; _update.call(this, false) } } } if (_msie) { _titleCheck.call(this) } } }; var _bodyClick = function (e) { if (_popup.length > 0) { var popup = window.open(_popup[0], _popup[1], eval(_popup[2])); if (typeof _popup[3] != UNDEFINED) { eval(_popup[3]) } } _popup = [] }; var _swfChange = function () { for (var i = 0, id, obj, value = SWFAddress.getValue(), setter = "setSWFAddressValue"; id = _ids[i]; i++) { obj = document.getElementById(id); if (obj) { if (obj.parentNode && typeof obj.parentNode.so != UNDEFINED) { obj.parentNode.so.call(setter, value) } else { if (!(obj && typeof obj[setter] != UNDEFINED)) { var objects = obj.getElementsByTagName("object"); var embeds = obj.getElementsByTagName("embed"); obj = ((objects[0] && typeof objects[0][setter] != UNDEFINED) ? objects[0] : ((embeds[0] && typeof embeds[0][setter] != UNDEFINED) ? embeds[0] : null)) } if (obj) { obj[setter](value) } } } else { if (obj = document[id]) { if (typeof obj[setter] != UNDEFINED) { obj[setter](value) } } } } }; var _jsDispatch = function (type) { this.dispatchEvent(new SWFAddressEvent(type)); type = type.substr(0, 1).toUpperCase() + type.substr(1); if (typeof this["on" + type] == FUNCTION) { this["on" + type]() } }; var _jsInit = function () { if (_util.Browser.isSafari()) { _d.body.addEventListener("click", _bodyClick) } _jsDispatch.call(this, "init") }; var _jsChange = function () { _swfChange(); _jsDispatch.call(this, "change") }; var _update = function (internal) { _jsChange.call(this); if (internal) { _jsDispatch.call(this, "internalChange") } else { _jsDispatch.call(this, "externalChange") } _st(_functions.bind(_track, this), 10) }; var _track = function () { var value = (_l.pathname + (/\/$/.test(_l.pathname) ? "" : "/") + this.getValue()).replace(/\/\//, "/").replace(/^\/$/, ""); var fn = _t[_opts.tracker]; if (typeof fn == FUNCTION) { fn(value) } else { if (typeof _t.pageTracker != UNDEFINED && typeof _t.pageTracker._trackPageview == FUNCTION) { _t.pageTracker._trackPageview(value) } else { if (typeof _t.urchinTracker == FUNCTION) { _t.urchinTracker(value) } } } }; var _htmlWrite = function () { var doc = _frame.contentWindow.document; doc.open(); doc.write("<html><head><title>" + _d.title + "</title><script>var " + ID + ' = "' + _getHash() + '";<\/script></head></html>'); doc.close() }; var _htmlLoad = function () { var win = _frame.contentWindow; var src = win.location.href; _value = (typeof win[ID] != UNDEFINED ? win[ID] : ""); if (_value != _getHash()) { _update.call(SWFAddress, false); _l.hash = _ieLocal(_value, TRUE) } }; var _load = function () { if (!_loaded) { _loaded = TRUE; if (_msie && _version < 8) { var frameset = _d.getElementsByTagName("frameset")[0]; _frame = _d.createElement((frameset ? "" : "i") + "frame"); if (frameset) { frameset.insertAdjacentElement("beforeEnd", _frame); frameset[frameset.cols ? "cols" : "rows"] += ",0"; _frame.src = "javascript:false"; _frame.noResize = true; _frame.frameBorder = _frame.frameSpacing = 0 } else { _frame.src = "javascript:false"; _frame.style.display = "none"; _d.body.insertAdjacentElement("afterBegin", _frame) } _st(function () { _events.addListener(_frame, "load", _htmlLoad); if (typeof _frame.contentWindow[ID] == UNDEFINED) { _htmlWrite() } }, 50) } else { if (_safari) { if (_version < 418) { _d.body.innerHTML += '<form id="' + ID + '" style="position:absolute;top:-9999px;" method="get"></form>'; _form = _d.getElementById(ID) } if (typeof _l[ID] == UNDEFINED) { _l[ID] = {} } if (typeof _l[ID][_l.pathname] != UNDEFINED) { _stack = _l[ID][_l.pathname].split(",") } } } _st(_functions.bind(function () { _jsInit.call(this); _jsChange.call(this); _track.call(this) }, this), 1); if (_msie && _version >= 8) { _d.body.onhashchange = _functions.bind(_listen, this); _si(_functions.bind(_titleCheck, this), 50) } else { _si(_functions.bind(_listen, this), 50) } } }; var ID = "swfaddress", FUNCTION = "function", UNDEFINED = "undefined", TRUE = true, FALSE = false, _util = asual.util, _browser = _util.Browser, _events = _util.Events, _functions = _util.Functions, _version = _browser.getVersion(), _msie = _browser.isMSIE(), _mozilla = _browser.isMozilla(), _opera = _browser.isOpera(), _safari = _browser.isSafari(), _supported = FALSE, _t = _getWindow(), _d = _t.document, _h = _t.history, _l = _t.location, _si = setInterval, _st = setTimeout, _dc = decodeURI, _ec = encodeURI, _frame, _form, _url, _title = _d.title, _length = _h.length, _silent = FALSE, _loaded = FALSE, _justset = TRUE, _juststart = TRUE, _ref = this, _stack = [], _ids = [], _popup = [], _listeners = {}, _value = _getHash(), _opts = { history: TRUE, strict: TRUE }; if (_msie && _d.documentMode && _d.documentMode != _version) { _version = _d.documentMode != 8 ? 7 : 8 } _supported = (_mozilla && _version >= 1) || (_msie && _version >= 6) || (_opera && _version >= 9.5) || (_safari && _version >= 312); if (_supported) { if (_opera) { history.navigationMode = "compatible" } for (var i = 1; i < _length; i++) { _stack.push("") } _stack.push(_getHash()); if (_msie && _l.hash != _getHash()) { _l.hash = "#" + _ieLocal(_getHash(), TRUE) } _searchScript(document); var _qi = _url ? _url.indexOf("?") : -1; if (_qi != -1) { var param, params = _url.substr(_qi + 1).split("&"); for (var i = 0, p; p = params[i]; i++) { param = p.split("="); if (/^(history|strict)$/.test(param[0])) { _opts[param[0]] = (isNaN(param[1]) ? /^(true|yes)$/i.test(param[1]) : (parseInt(param[1]) != 0)) } if (/^tracker$/.test(param[0])) { _opts[param[0]] = param[1] } } } if (_msie) { _titleCheck.call(this) } if (window == _t) { _events.addListener(document, "DOMContentLoaded", _functions.bind(_load, this)) } _events.addListener(_t, "load", _functions.bind(_load, this)) } else { if ((!_supported && _l.href.indexOf("#") != -1) || (_safari && _version < 418 && _l.href.indexOf("#") != -1 && _l.search != "")) { _d.open(); _d.write('<html><head><meta http-equiv="refresh" content="0;url=' + _l.href.substr(0, _l.href.indexOf("#")) + '" /></head></html>'); _d.close() } else { _track() } } this.toString = function () { return "[class SWFAddress]" }; this.back = function () { _h.back() }; this.forward = function () { _h.forward() }; this.up = function () { var path = this.getPath(); this.setValue(path.substr(0, path.lastIndexOf("/", path.length - 2) + (path.substr(path.length - 1) == "/" ? 1 : 0))) }; this.go = function (delta) { _h.go(delta) }; this.href = function (url, target) { target = typeof target != UNDEFINED ? target : "_self"; if (target == "_self") { self.location.href = url } else { if (target == "_top") { _l.href = url } else { if (target == "_blank") { window.open(url) } else { _t.frames[target].location.href = url } } } }; this.popup = function (url, name, options, handler) { try { var popup = window.open(url, name, eval(options)); if (typeof handler != UNDEFINED) { eval(handler) } } catch (ex) { } _popup = arguments }; this.getIds = function () { return _ids }; this.getId = function (index) { return _ids[0] }; this.setId = function (id) { _ids[0] = id }; this.addId = function (id) { this.removeId(id); _ids.push(id) }; this.removeId = function (id) { for (var i = 0; i < _ids.length; i++) { if (id == _ids[i]) { _ids.splice(i, 1); break } } }; this.addEventListener = function (type, listener) { if (typeof _listeners[type] == UNDEFINED) { _listeners[type] = [] } _listeners[type].push(listener) }; this.removeEventListener = function (type, listener) { if (typeof _listeners[type] != UNDEFINED) { for (var i = 0, l; l = _listeners[type][i]; i++) { if (l == listener) { break } } _listeners[type].splice(i, 1) } }; this.dispatchEvent = function (event) { if (this.hasEventListener(event.type)) { event.target = this; for (var i = 0, l; l = _listeners[event.type][i]; i++) { l(event) } return TRUE } return FALSE }; this.hasEventListener = function (type) { return (typeof _listeners[type] != UNDEFINED && _listeners[type].length > 0) }; this.getBaseURL = function () { var url = _l.href; if (url.indexOf("#") != -1) { url = url.substr(0, url.indexOf("#")) } if (url.substr(url.length - 1) == "/") { url = url.substr(0, url.length - 1) } return url }; this.getStrict = function () { return _opts.strict }; this.setStrict = function (strict) { _opts.strict = strict }; this.getHistory = function () { return _opts.history }; this.setHistory = function (history) { _opts.history = history }; this.getTracker = function () { return _opts.tracker }; this.setTracker = function (tracker) { _opts.tracker = tracker }; this.getTitle = function () { return _d.title }; this.setTitle = function (title) { if (!_supported) { return null } if (typeof title == UNDEFINED) { return } if (title == "null") { title = "" } title = _dc(title); _st(function () { _title = _d.title = title; if (_juststart && _frame && _frame.contentWindow && _frame.contentWindow.document) { _frame.contentWindow.document.title = title; _juststart = FALSE } if (!_justset && _mozilla) { _l.replace(_l.href.indexOf("#") != -1 ? _l.href : _l.href + "#") } _justset = FALSE }, 10) }; this.getStatus = function () { return _t.status }; this.setStatus = function (status) { if (!_supported) { return null } if (typeof status == UNDEFINED) { return } if (status == "null") { status = "" } status = _dc(status); if (!_safari) { status = _strictCheck((status != "null") ? status : "", TRUE); if (status == "/") { status = "" } if (!(/http(s)?:\/\//.test(status))) { var index = _l.href.indexOf("#"); status = (index == -1 ? _l.href : _l.href.substr(0, index)) + "#" + status } _t.status = status } }; this.resetStatus = function () { _t.status = "" }; this.getValue = function () { if (!_supported) { return null } return _dc(_strictCheck(_ieLocal(_value, FALSE), FALSE)) }; this.setValue = function (value) { if (!_supported) { return null } if (typeof value == UNDEFINED) { return } if (value == "null") { value = "" } value = _ec(_dc(_strictCheck(value, TRUE))); if (value == "/") { value = "" } if (_value == value) { return } _justset = TRUE; _value = value; _silent = TRUE; _update.call(SWFAddress, true); _stack[_h.length] = _value; if (_safari) { if (_opts.history) { _l[ID][_l.pathname] = _stack.toString(); _length = _h.length + 1; if (_version < 418) { if (_l.search == "") { _form.action = "#" + _value; _form.submit() } } else { if (_version < 523 || _value == "") { var evt = _d.createEvent("MouseEvents"); evt.initEvent("click", TRUE, TRUE); var anchor = _d.createElement("a"); anchor.href = "#" + _value; anchor.dispatchEvent(evt) } else { _l.hash = "#" + _value } } } else { _l.replace("#" + _value) } } else { if (_value != _getHash()) { if (_opts.history) { _l.hash = "#" + _dc(_ieLocal(_value, TRUE)) } else { _l.replace("#" + _dc(_value)) } } } if ((_msie && _version < 8) && _opts.history) { _st(_htmlWrite, 50) } if (_safari) { _st(function () { _silent = FALSE }, 1) } else { _silent = FALSE } }; this.getPath = function () { var value = this.getValue(); if (value.indexOf("?") != -1) { return value.split("?")[0] } else { if (value.indexOf("#") != -1) { return value.split("#")[0] } else { return value } } }; this.getPathNames = function () { var path = this.getPath(), names = path.split("/"); if (path.substr(0, 1) == "/" || path.length == 0) { names.splice(0, 1) } if (path.substr(path.length - 1, 1) == "/") { names.splice(names.length - 1, 1) } return names }; this.getQueryString = function () { var value = this.getValue(), index = value.indexOf("?"); if (index != -1 && index < value.length) { return value.substr(index + 1) } }; this.getParameter = function (param) { var value = this.getValue(); var index = value.indexOf("?"); if (index != -1) { value = value.substr(index + 1); var p, params = value.split("&"), i = params.length, r = []; while (i--) { p = params[i].split("="); if (p[0] == param) { r.push(p[1]) } } if (r.length != 0) { return r.length != 1 ? r : r[0] } } }; this.getParameterNames = function () { var value = this.getValue(); var index = value.indexOf("?"); var names = []; if (index != -1) { value = value.substr(index + 1); if (value != "" && value.indexOf("=") != -1) { var params = value.split("&"), i = 0; while (i < params.length) { names.push(params[i].split("=")[0]); i++ } } } return names }; this.onInit = null; this.onChange = null; this.onInternalChange = null; this.onExternalChange = null; (function () { var _args; if (typeof FlashObject != UNDEFINED) { SWFObject = FlashObject } if (typeof SWFObject != UNDEFINED && SWFObject.prototype && SWFObject.prototype.write) { var _s1 = SWFObject.prototype.write; SWFObject.prototype.write = function () { _args = arguments; if (this.getAttribute("version").major < 8) { this.addVariable("$swfaddress", SWFAddress.getValue()); ((typeof _args[0] == "string") ? document.getElementById(_args[0]) : _args[0]).so = this } var success; if (success = _s1.apply(this, _args)) { _ref.addId(this.getAttribute("id")) } return success } } if (typeof swfobject != UNDEFINED) { var _s2r = swfobject.registerObject; swfobject.registerObject = function () { _args = arguments; _s2r.apply(this, _args); _ref.addId(_args[0]) }; var _s2c = swfobject.createSWF; swfobject.createSWF = function () { _args = arguments; var swf = _s2c.apply(this, _args); if (swf) { _ref.addId(_args[0].id) } return swf }; var _s2e = swfobject.embedSWF; swfobject.embedSWF = function () { _args = arguments; if (typeof _args[8] == UNDEFINED) { _args[8] = {} } if (typeof _args[8].id == UNDEFINED) { _args[8].id = _args[1] } _s2e.apply(this, _args); _ref.addId(_args[8].id) } } if (typeof UFO != UNDEFINED) { var _u = UFO.create; UFO.create = function () { _args = arguments; _u.apply(this, _args); _ref.addId(_args[0].id) } } if (typeof AC_FL_RunContent != UNDEFINED) { var _a = AC_FL_RunContent; AC_FL_RunContent = function () { _args = arguments; _a.apply(this, _args); for (var i = 0, l = _args.length; i < l; i++) { if (_args[i] == "id") { _ref.addId(_args[i + 1]) } } } } })() };
}

/* File: jquery.address-1.3.2.js */

(function (a) {
    a.address = (function () {
        var k = function (i) { a(a.address).trigger(a.extend(a.Event(i), (function () { var aD = {}, aC = a.address.parameterNames(); for (var aB = 0, aA = aC.length; aB < aA; aB++) { aD[aC[aB]] = a.address.parameter(aC[aB]) } return { value: a.address.value(), path: a.address.path(), pathNames: a.address.pathNames(), parameterNames: aC, parameters: aD, queryString: a.address.queryString()} }).call(a.address))) }, ay = function (aB, aA, i) { a(a.address).bind(aB, aA, i); return a.address }, ab = function () { return (d.pushState && e.state !== Z) }, g = function () { return ("/" + b.pathname.replace(new RegExp(e.state), "") + b.search + (ar() ? "#" + ar() : "")).replace(ax, "/") }, ar = function () { var i = b.href.indexOf("#"); return i != -1 ? u(b.href.substr(i + 1), A) : "" }, C = function () { return ab() ? g() : ar() }, au = function () { try { return top.document !== Z ? top : window } catch (i) { return window } }, v = function () { return "javascript" }, n = function (i) { i = i.toString(); return (e.strict && i.substr(0, 1) != "/" ? "/" : "") + i }, u = function (i, aA) { if (e.crawlable && aA) { return (i != "" ? "!" : "") + i } return i.replace(/^\!/, "") }, h = function (i, aA) { return parseInt(i.css(aA), 10) }, E = function (aE) { var aB, aD; for (var aC = 0, aA = aE.childNodes.length; aC < aA; aC++) { if (aE.childNodes[aC].src) { aB = String(aE.childNodes[aC].src) } aD = E(aE.childNodes[aC]); if (aD) { aB = aD } } return aB }, S = function () { if (!I) { var aA = C(), i = s != aA; if (p && ac < 523) { if (m != d.length) { m = d.length; if (P[m - 1] !== Z) { s = P[m - 1] } K(A) } } else { if (i) { if (ai && ac < 7) { b.reload() } else { if (ai && ac < 8 && e.history) { ag(aq, 50) } s = aA; K(A) } } } } }, K = function (i) { k(D); k(i ? ad : am); ag(x, 10) }, x = function () { if (e.tracker !== "null" && e.tracker !== null) { var i = a.isFunction(e.tracker) ? e.tracker : av[e.tracker], aA = (b.pathname + b.search + (a.address && !ab() ? a.address.value() : "")).replace(/\/\//, "/").replace(/^\/$/, ""); if (a.isFunction(i)) { i(aA) } else { if (a.isFunction(av.urchinTracker)) { av.urchinTracker(aA) } else { if (av.pageTracker !== Z && a.isFunction(av.pageTracker._trackPageview)) { av.pageTracker._trackPageview(aA) } else { if (av._gaq !== Z && a.isFunction(av._gaq.push)) { av._gaq.push(["_trackPageview", decodeURI(aA)]) } } } } } }, aq = function () { var i = v() + ":" + A + ";document.open();document.writeln('<html><head><title>" + f.title.replace("'", "\\'") + "</title><script>var " + ak + ' = "' + encodeURIComponent(C()) + (f.domain != b.hostname ? '";document.domain="' + f.domain : "") + "\";<\/script></head></html>');document.close();"; if (ac < 7) { B.src = i } else { B.contentWindow.location.replace(i) } }, at = function () { if (ah && l != -1) { var aA, i = ah.substr(l + 1).split("&"); for (L = 0; L < i.length; L++) { aA = i[L].split("="); if (/^(autoUpdate|crawlable|history|strict|wrap)$/.test(aA[0])) { e[aA[0]] = (isNaN(aA[1]) ? /^(true|yes)$/i.test(aA[1]) : (parseInt(aA[1], 10) !== 0)) } if (/^(state|tracker)$/.test(aA[0])) { e[aA[0]] = aA[1] } } ah = null } s = C() }, o = function () { if (!O) { O = N; at(); var aB = function () { Q.call(this); M.call(this) }, aA = a("body").ajaxComplete(aB); aB(); if (e.wrap) { var aC = a("body > *").wrapAll('<div style="padding:' + (h(aA, "marginTop") + h(aA, "paddingTop")) + "px " + (h(aA, "marginRight") + h(aA, "paddingRight")) + "px " + (h(aA, "marginBottom") + h(aA, "paddingBottom")) + "px " + (h(aA, "marginLeft") + h(aA, "paddingLeft")) + 'px;" />').parent().wrap('<div id="' + ak + '" style="height:100%;overflow:auto;position:relative;' + (p ? (window.statusbar.visible && !/chrome/i.test(V) ? "" : "resize:both;") : "") + '" />'); a("html, body").css({ height: "100%", margin: 0, padding: 0, overflow: "hidden" }); if (p) { a('<style type="text/css" />').appendTo("head").text("#" + ak + "::-webkit-resizer { background-color: #fff; }") } } if (ai && ac < 8) { var i = f.getElementsByTagName("frameset")[0]; B = f.createElement((i ? "" : "i") + "frame"); if (i) { i.insertAdjacentElement("beforeEnd", B); i[i.cols ? "cols" : "rows"] += ",0"; B.noResize = N; B.frameBorder = B.frameSpacing = 0 } else { B.style.display = "none"; B.style.width = B.style.height = 0; B.tabIndex = -1; f.body.insertAdjacentElement("afterBegin", B) } ag(function () { a(B).bind("load", function () { var aD = B.contentWindow; s = aD[ak] !== Z ? a.address.decode(aD[ak]) : ""; if (s != C()) { K(A); b.hash = u(s, N) } }); if (B.contentWindow[ak] === Z) { aq() } }, 50) } else { if (p) { if (ac < 418) { a(f.body).append('<form id="' + ak + '" style="position:absolute;top:-9999px;" method="get"></form>'); t = f.getElementById(ak) } if (b[ak] === Z) { b[ak] = {} } if (b[ak][b.pathname] !== Z) { P = b[ak][b.pathname].split(",") } } } ag(function () { k("init"); K(A) }, 1); if (!ab()) { if ((ai && ac > 7) || (!ai && ("on" + X) in av)) { if (av.addEventListener) { av.addEventListener(X, S, A) } else { if (av.attachEvent) { av.attachEvent("on" + X, S) } } } else { al(S, 50) } } } }, Q = function () { var aB, aD = a("a"), aC = aD.size(), aA = 1, i = -1; ag(function () { if (++i != aC) { aB = a(aD.get(i)); if (aB.is('[rel*="address:"]')) { aB.address() } ag(arguments.callee, aA) } }, aA) }, G = function () { if (s != C()) { s = C(); K(A) } }, ae = function () { if (av.removeEventListener) { av.removeEventListener(X, S, A) } else { if (av.detachEvent) { av.detachEvent("on" + X, S) } } }, M = function () { if (e.crawlable) { var aA = b.pathname.replace(/\/$/, ""), i = "_escaped_fragment_"; if (a("body").html().indexOf(i) != -1) { a("a[href]:not([href^=http]), , a[href*=" + document.domain + "]").each(function () { var aB = a(this).attr("href").replace(/^http:/, "").replace(new RegExp(aA + "/?$"), ""); if (aB == "" || aB.indexOf(i) != -1) { a(this).attr("href", "#" + a.address.decode(aB.replace(new RegExp("/(.*)\\?" + i + "=(.*)$"), "!$2"))) } }) } } }, aw = function (i) { return i.replace(/\+/g, " ") }, J = function (i) { return j(z(i)).replace(/%20/g, "+") }, W = function (i) { return i.split("#")[0].split("?")[0] }, ao = function (i) { var aB = W(i), aA = aB.replace(ax, "/").split("/"); if (aB.substr(0, 1) == "/" || aB.length === 0) { aA.splice(0, 1) } if (aB.substr(aB.length - 1, 1) == "/") { aA.splice(aA.length - 1, 1) } return aA }, R = function (aA) { var i = aA.split("?"); return i.slice(1, i.length).join("?").split("#")[0] }, w = function (i, aB) { aB = R(aB); if (aB) { params = aB.split("&"); var aA = []; for (L = 0; L < params.length; L++) { var aC = params[L].split("="); if (aC[0] == i || a.address.decode(aC[0]) == i) { aA.push(aC.slice(1).join("=")) } } if (aA.length !== 0) { return aA.length != 1 ? aA : aA[0] } } }, aa = function (aD) { var aA = R(aD), aE = []; if (aA && aA.indexOf("=") != -1) { var aF = aA.split("&"); for (var aC = 0; aC < aF.length; aC++) { var aB = aF[aC].split("=")[0]; if (a.inArray(aB, aE) == -1) { aE.push(aB) } } } return aE }, U = function (aA) { var i = aA.split("#"); return i.slice(1, i.length).join("#") }, Z, ak = "jQueryAddress", ap = "string", X = "hashchange", q = "init", D = "change", ad = "internalChange", am = "externalChange", N = true, A = false, e = { autoUpdate: N, crawlable: A, history: N, strict: N, wrap: A }, r = a.browser, ac = parseFloat(a.browser.version), T = r.mozilla, ai = r.msie, Y = r.opera, p = r.webkit || r.safari, af = A, av = au(), f = av.document, d = av.history, b = av.location, al = setInterval, ag = setTimeout, j = encodeURIComponent, z = decodeURIComponent, ax = /\/{2,9}/g, V = navigator.userAgent, B, t, ah = E(document), l = ah ? ah.indexOf("?") : -1, az = f.title, m = d.length, I = A, O = A, H = N, y = N, an = A, P = [], c = {}, s = C(); if (ai) { ac = parseFloat(V.substr(V.indexOf("MSIE") + 4)); if (f.documentMode && f.documentMode != ac) { ac = f.documentMode != 8 ? 7 : 8 } a(document).bind("propertychange", function () { if (f.title != az && f.title.indexOf("#" + C()) != -1) { f.title = az } }) } af = (T && ac >= 1) || (ai && ac >= 6) || (Y && ac >= 9.5) || (p && ac >= 312); if (af) { for (var L = 1; L < m; L++) { P.push("") } P.push(s); if (Y) { history.navigationMode = "compatible" } if (document.readyState == "complete") { var F = setInterval(function () { if (a.address) { o(); clearInterval(F) } }, 50) } else { at(); a(o) } var aj = g(); if (e.state !== Z) { if (d.pushState) { if (aj.substr(0, 3) == "/#/") { b.replace(e.state.replace(/^\/$/, "") + aj.substr(2)) } } else { if (aj != "/" && aj.replace(/^\/#/, "") != ar()) { b.replace(e.state.replace(/^\/$/, "") + "/#" + aj) } } } a(window).bind({ popstate: G, unload: ae }) } else { if ((!af && ar() != "") || (p && ac < 418 && ar() != "" && b.search != "")) { b.replace(b.href.substr(0, b.href.indexOf("#"))) } else { x() } } return { bind: function (aA, aB, i) { return ay(aA, aB, i) }, init: function (i) { return ay(q, i) }, change: function (i) { return ay(D, i) }, internalChange: function (i) { return ay(ad, i) }, externalChange: function (i) { return ay(am, i) }, baseURL: function () { var i = b.href; if (i.indexOf("#") != -1) { i = i.substr(0, i.indexOf("#")) } if (/\/$/.test(i)) { i = i.substr(0, i.length - 1) } return i }, autoUpdate: function (i) { if (i !== Z) { e.autoUpdate = i; return this } return e.autoUpdate }, crawlable: function (i) { if (i !== Z) { e.crawlable = i; return this } return e.crawlable }, history: function (i) { if (i !== Z) { e.history = i; return this } return e.history }, state: function (i) {
            if (i !== Z) {
                e.state = i; return this
            } return e.state
        }, strict: function (i) { if (i !== Z) { e.strict = i; return this } return e.strict }, tracker: function (i) { if (i !== Z) { e.tracker = i; return this } return e.tracker }, wrap: function (i) { if (i !== Z) { e.wrap = i; return this } return e.wrap }, update: function () { an = N; this.value(s); an = A; return this }, encode: function (aC) { var aA = ao(aC), i = aa(aC), aG = R(aC), aE = U(aC), aF = aC.substr(0, 1), aB = aC.substr(aC.length - 1), aD = ""; a.each(aA, function (aI, aH) { aD += "/" + J(aH) }); if (aG !== "") { aD += "?"; if (i.length === 0) { aD += aG } else { a.each(i, function (aI, aH) { var aJ = w(aH, aC); if (typeof aJ !== ap) { a.each(aJ, function (aL, aK) { aD += J(aH) + "=" + J(aK) + "&" }) } else { aD += J(aH) + "=" + J(aJ) + "&" } }); aD = aD.substr(0, aD.length - 1) } } if (aE !== "") { aD += "#" + J(aE) } if (aF != "/" && aD.substr(0, 1) == "/") { aD = aD.substr(1) } if (aF == "/" && aD.substr(0, 1) != "/") { aD = "/" + aD } if (/#|&|\?/.test(aB)) { aD += aB } return aD }, decode: function (aE) { if (aE !== Z) { var aA = [], aD = function (i) { return z(i.toString().replace(/\+/g, "%20")) }; if (typeof aE == "object" && aE.length !== Z) { for (var aC = 0, aB = aE.length; aC < aB; aC++) { aA[aC] = aD(aE[aC]) } return aA } else { return aD(aE) } } }, title: function (i) { if (i !== Z) { ag(function () { az = f.title = i; if (y && B && B.contentWindow && B.contentWindow.document) { B.contentWindow.document.title = i; y = A } if (!H && T) { b.replace(b.href.indexOf("#") != -1 ? b.href : b.href + "#") } H = A }, 50); return this } return f.title }, value: function (aB) { if (aB !== Z) { aB = n(aB); if (e.autoUpdate) { aB = this.encode(aB) } if (aB == "/") { aB = "" } if (s == aB && !an) { return } H = N; s = aB; if (e.autoUpdate || an) { K(N); if (ab()) { d[e.history ? "pushState" : "replaceState"]({}, "", e.state.replace(/\/$/, "") + (s == "" ? "/" : s)) } else { I = N; P[d.length] = s; if (p) { if (e.history) { b[ak][b.pathname] = P.toString(); m = d.length + 1; if (ac < 418) { if (b.search == "") { t.action = "#" + u(s, N); t.submit() } } else { if (ac < 523 || s == "") { var i = f.createEvent("MouseEvents"); i.initEvent("click", N, N); var aA = f.createElement("a"); aA.href = "#" + u(s, N); aA.dispatchEvent(i) } else { b.hash = "#" + u(s, N) } } } else { b.replace("#" + u(s, N)) } } else { if (s != C()) { if (e.history) { b.hash = "#" + u(this.decode(n(s)), N) } else { b.replace("#" + u(s, N)) } } } if ((ai && ac < 8) && e.history) { ag(aq, 50) } if (p) { ag(function () { I = A }, 1) } else { I = A } } } return this } if (!af) { return null } return this.decode(n(s)) }, path: function (aA) { if (aA !== Z) { var i = R(n(s)), aB = U(n(s)); this.value(aA + (i ? "?" + i : "") + (aB ? "#" + aB : "")); return this } return this.decode(W(n(s))) }, pathNames: function () { return this.decode(ao(n(s))) }, queryString: function (i) { if (i !== Z) { var aA = U(n(s)); this.value(this.path() + (i ? "?" + i : "") + (aA ? "#" + aA : "")); return this } return this.decode(R(n(s))) }, parameter: function (aA, aH, aB) { var aF, aD; if (aH !== Z) { var aG = this.parameterNames(); aD = []; aH = aH ? j(aH) : ""; for (aF = 0; aF < aG.length; aF++) { var aC = aG[aF], aI = this.parameter(aC); if (typeof aI == ap) { aI = [aI] } if (aC == aA) { aI = (aH === null || aH === "") ? [] : (aB ? aI.concat([aH]) : [aH]) } for (var aE = 0; aE < aI.length; aE++) { aD.push(aC + "=" + aw(J(aI[aE]))) } } if (a.inArray(aA, aG) == -1 && aH !== null && aH !== "") { aD.push(aA + "=" + aw(J(aH))) } this.queryString(aD.join("&")); return this } return this.decode(w(aA, n(s))) }, parameterNames: function () { return this.decode(aa(n(s))) }, hash: function (i) { if (i !== Z) { this.value(n(s).split("#")[0] + (i ? "#" + i : "")); return this } return this.decode(U(n(s))) }
        }
    })(); a.fn.address = function (b) { if (!a(this).attr("address")) { var c = function (f) { if (a(this).is("a")) { var d = b ? b.call(this) : /address:/.test(a(this).attr("rel")) ? a(this).attr("rel").split("address:")[1].split(" ")[0] : a.address.state() !== undefined && a.address.state() != "/" ? a(this).attr("href").replace(new RegExp("^(.*" + a.address.state() + "|\\.)"), "") : a(this).attr("href").replace(/^(#\!?|\.)/, ""); a.address.value(d); f.preventDefault() } }; a(this).click(c).live("click", c).live("submit", function (g) { if (a(this).is("form")) { var f = a(this).attr("action"), d = b ? b.call(this) : (f.indexOf("?") != -1 ? f.replace(/&$/, "") : f + "?") + a.address.decode(a(this).serialize()); a.address.value(d); g.preventDefault() } }).attr("address", true) } return this }
})(jQuery);

/* File: h_code.js */

/* SiteCatalyst code version: H.21.
Copyright 1996-2010 Adobe, Inc. All Rights Reserved
More info available at http://www.omniture.com */

/*var s_account="bdfbdfrigedev"*/
var s = s_gi(s_account)
/************************** CONFIG SECTION **************************/
/* You may add or alter any code config here. */
s.charSet = "UTF-8"
/* Conversion Config */
s.currencyCode = s_currencyCode
/* Link Tracking Config */
s.trackDownloadLinks = true
s.trackExternalLinks = true
s.trackInlineStats = true
s.linkDownloadFileTypes = "exe,zip,wav,mp3,mov,mpg,avi,wmv,doc,pdf,xls"
s.linkInternalFilters = "javascript:,rige-international.com"
s.linkLeaveQueryString = false
s.linkTrackVars = "None"
s.linkTrackEvents = "None"

/* WARNING: Changing any of the below variables will cause drastic
changes to how your visitor data is collected.  Changes should only be
made when instructed to do so by your account manager.*/
s.visitorNamespace = "beiersdorf"
s.trackingServer = "beiersdorf.122.2o7.net"

/************* DO NOT ALTER ANYTHING BELOW THIS LINE ! **************/
var s_code = '', s_objectID; function s_gi(un, pg, ss) {
    var c = "s._c='s_c';s.wd=window;if(!s.wd.s_c_in){s.wd.s_c_il=new Array;s.wd.s_c_in=0;}s._il=s.wd.s_c_il;s._in=s.wd.s_c_in;s._il[s._in]=s;s.wd.s_c_in++;s"
+ ".an=s_an;s.cls=function(x,c){var i,y='';if(!c)c=this.an;for(i=0;i<x.length;i++){n=x.substring(i,i+1);if(c.indexOf(n)>=0)y+=n}return y};s.fl=function(x,l){return x?(''+x).substring(0,l):x};s.co=func"
+ "tion(o){if(!o)return o;var n=new Object,x;for(x in o)if(x.indexOf('select')<0&&x.indexOf('filter')<0)n[x]=o[x];return n};s.num=function(x){x=''+x;for(var p=0;p<x.length;p++)if(('0123456789').indexO"
+ "f(x.substring(p,p+1))<0)return 0;return 1};s.rep=s_rep;s.sp=s_sp;s.jn=s_jn;s.ape=function(x){var s=this,h='0123456789ABCDEF',i,c=s.charSet,n,l,e,y='';c=c?c.toUpperCase():'';if(x){x=''+x;if(c=='AUTO"
+ "'&&('').charCodeAt){for(i=0;i<x.length;i++){c=x.substring(i,i+1);n=x.charCodeAt(i);if(n>127){l=0;e='';while(n||l<4){e=h.substring(n%16,n%16+1)+e;n=(n-n%16)/16;l++}y+='%u'+e}else if(c=='+')y+='%2B';"
+ "else y+=escape(c)}x=y}else{x=x?s.rep(escape(''+x),'+','%2B'):x;if(x&&c&&s.em==1&&x.indexOf('%u')<0&&x.indexOf('%U')<0){i=x.indexOf('%');while(i>=0){i++;if(h.substring(8).indexOf(x.substring(i,i+1)."
+ "toUpperCase())>=0)return x.substring(0,i)+'u00'+x.substring(i);i=x.indexOf('%',i)}}}}return x};s.epa=function(x){var s=this;return x?unescape(s.rep(''+x,'+',' ')):x};s.pt=function(x,d,f,a){var s=th"
+ "is,t=x,z=0,y,r;while(t){y=t.indexOf(d);y=y<0?t.length:y;t=t.substring(0,y);r=s[f](t,a);if(r)return r;z+=y+d.length;t=x.substring(z,x.length);t=z<x.length?t:''}return ''};s.isf=function(t,a){var c=a"
+ ".indexOf(':');if(c>=0)a=a.substring(0,c);if(t.substring(0,2)=='s_')t=t.substring(2);return (t!=''&&t==a)};s.fsf=function(t,a){var s=this;if(s.pt(a,',','isf',t))s.fsg+=(s.fsg!=''?',':'')+t;return 0}"
+ ";s.fs=function(x,f){var s=this;s.fsg='';s.pt(x,',','fsf',f);return s.fsg};s.si=function(){var s=this,i,k,v,c=s_gi+'var s=s_gi(\"'+s.oun+'\");s.sa(\"'+s.un+'\");';for(i=0;i<s.va_g.length;i++){k=s.va"
+ "_g[i];v=s[k];if(v!=undefined){if(typeof(v)=='string')c+='s.'+k+'=\"'+s_fe(v)+'\";';else c+='s.'+k+'='+v+';'}}c+=\"s.lnk=s.eo=s.linkName=s.linkType=s.wd.s_objectID=s.ppu=s.pe=s.pev1=s.pev2=s.pev3=''"
+ ";\";return c};s.c_d='';s.c_gdf=function(t,a){var s=this;if(!s.num(t))return 1;return 0};s.c_gd=function(){var s=this,d=s.wd.location.hostname,n=s.fpCookieDomainPeriods,p;if(!n)n=s.cookieDomainPerio"
+ "ds;if(d&&!s.c_d){n=n?parseInt(n):2;n=n>2?n:2;p=d.lastIndexOf('.');if(p>=0){while(p>=0&&n>1){p=d.lastIndexOf('.',p-1);n--}s.c_d=p>0&&s.pt(d,'.','c_gdf',0)?d.substring(p):d}}return s.c_d};s.c_r=funct"
+ "ion(k){var s=this;k=s.ape(k);var c=' '+s.d.cookie,i=c.indexOf(' '+k+'='),e=i<0?i:c.indexOf(';',i),v=i<0?'':s.epa(c.substring(i+2+k.length,e<0?c.length:e));return v!='[[B]]'?v:''};s.c_w=function(k,v"
+ ",e){var s=this,d=s.c_gd(),l=s.cookieLifetime,t;v=''+v;l=l?(''+l).toUpperCase():'';if(e&&l!='SESSION'&&l!='NONE'){t=(v!=''?parseInt(l?l:0):-60);if(t){e=new Date;e.setTime(e.getTime()+(t*1000))}}if(k"
+ "&&l!='NONE'){s.d.cookie=k+'='+s.ape(v!=''?v:'[[B]]')+'; path=/;'+(e&&l!='SESSION'?' expires='+e.toGMTString()+';':'')+(d?' domain='+d+';':'');return s.c_r(k)==v}return 0};s.eh=function(o,e,r,f){var"
+ " s=this,b='s_'+e+'_'+s._in,n=-1,l,i,x;if(!s.ehl)s.ehl=new Array;l=s.ehl;for(i=0;i<l.length&&n<0;i++){if(l[i].o==o&&l[i].e==e)n=i}if(n<0){n=i;l[n]=new Object}x=l[n];x.o=o;x.e=e;f=r?x.b:f;if(r||f){x."
+ "b=r?0:o[e];x.o[e]=f}if(x.b){x.o[b]=x.b;return b}return 0};s.cet=function(f,a,t,o,b){var s=this,r,tcf;if(s.apv>=5&&(!s.isopera||s.apv>=7)){tcf=new Function('s','f','a','t','var e,r;try{r=s[f](a)}cat"
+ "ch(e){r=s[t](e)}return r');r=tcf(s,f,a,t)}else{if(s.ismac&&s.u.indexOf('MSIE 4')>=0)r=s[b](a);else{s.eh(s.wd,'onerror',0,o);r=s[f](a);s.eh(s.wd,'onerror',1)}}return r};s.gtfset=function(e){var s=th"
+ "is;return s.tfs};s.gtfsoe=new Function('e','var s=s_c_il['+s._in+'],c;s.eh(window,\"onerror\",1);s.etfs=1;c=s.t();if(c)s.d.write(c);s.etfs=0;return true');s.gtfsfb=function(a){return window};s.gtfs"
+ "f=function(w){var s=this,p=w.parent,l=w.location;s.tfs=w;if(p&&p.location!=l&&p.location.host==l.host){s.tfs=p;return s.gtfsf(s.tfs)}return s.tfs};s.gtfs=function(){var s=this;if(!s.tfs){s.tfs=s.wd"
+ ";if(!s.etfs)s.tfs=s.cet('gtfsf',s.tfs,'gtfset',s.gtfsoe,'gtfsfb')}return s.tfs};s.mrq=function(u){var s=this,l=s.rl[u],n,r;s.rl[u]=0;if(l)for(n=0;n<l.length;n++){r=l[n];s.mr(0,0,r.r,0,r.t,r.u)}};s."
+ "br=function(id,rs){var s=this;if(s.disableBufferedRequests||!s.c_w('s_br',rs))s.brl=rs};s.flushBufferedRequests=function(){this.fbr(0)};s.fbr=function(id){var s=this,br=s.c_r('s_br');if(!br)br=s.br"
+ "l;if(br){if(!s.disableBufferedRequests)s.c_w('s_br','');s.mr(0,0,br)}s.brl=0};s.mr=function(sess,q,rs,id,ta,u){var s=this,dc=s.dc,t1=s.trackingServer,t2=s.trackingServerSecure,tb=s.trackingServerBa"
+ "se,p='.sc',ns=s.visitorNamespace,un=s.cls(u?u:(ns?ns:s.fun)),r=new Object,l,imn='s_i_'+(un),im,b,e;if(!rs){if(t1){if(t2&&s.ssl)t1=t2}else{if(!tb)tb='2o7.net';if(dc)dc=(''+dc).toLowerCase();else dc="
+ "'d1';if(tb=='2o7.net'){if(dc=='d1')dc='112';else if(dc=='d2')dc='122';p=''}t1=un+'.'+dc+'.'+p+tb}rs='http'+(s.ssl?'s':'')+'://'+t1+'/b/ss/'+s.un+'/'+(s.mobile?'5.1':'1')+'/H.21/'+sess+'?AQB=1&ndh=1"
+ "'+(q?q:'')+'&AQE=1';if(s.isie&&!s.ismac){if(s.apv>5.5)rs=s.fl(rs,4095);else rs=s.fl(rs,2047)}if(id){s.br(id,rs);return}}if(s.d.images&&s.apv>=3&&(!s.isopera||s.apv>=7)&&(s.ns6<0||s.apv>=6.1)){if(!s"
+ ".rc)s.rc=new Object;if(!s.rc[un]){s.rc[un]=1;if(!s.rl)s.rl=new Object;s.rl[un]=new Array;setTimeout('if(window.s_c_il)window.s_c_il['+s._in+'].mrq(\"'+un+'\")',750)}else{l=s.rl[un];if(l){r.t=ta;r.u"
+ "=un;r.r=rs;l[l.length]=r;return ''}imn+='_'+s.rc[un];s.rc[un]++}im=s.wd[imn];if(!im)im=s.wd[imn]=new Image;im.s_l=0;im.onload=new Function('e','this.s_l=1;var wd=window,s;if(wd.s_c_il){s=wd.s_c_il["
+ "'+s._in+'];s.mrq(\"'+un+'\");s.nrs--;if(!s.nrs)s.m_m(\"rr\")}');if(!s.nrs){s.nrs=1;s.m_m('rs')}else s.nrs++;im.src=rs;if(rs.indexOf('&pe=')>=0&&(!ta||ta=='_self'||ta=='_top'||(s.wd.name&&ta==s.wd.n"
+ "ame))){b=e=new Date;while(!im.s_l&&e.getTime()-b.getTime()<500)e=new Date}return ''}return '<im'+'g sr'+'c=\"'+rs+'\" width=1 height=1 border=0 alt=\"\">'};s.gg=function(v){var s=this;if(!s.wd['s_'"
+ "+v])s.wd['s_'+v]='';return s.wd['s_'+v]};s.glf=function(t,a){if(t.substring(0,2)=='s_')t=t.substring(2);var s=this,v=s.gg(t);if(v)s[t]=v};s.gl=function(v){var s=this;if(s.pg)s.pt(v,',','glf',0)};s."
+ "rf=function(x){var s=this,y,i,j,h,l,a,b='',c='',t;if(x){y=''+x;i=y.indexOf('?');if(i>0){a=y.substring(i+1);y=y.substring(0,i);h=y.toLowerCase();i=0;if(h.substring(0,7)=='http://')i+=7;else if(h.sub"
+ "string(0,8)=='https://')i+=8;h=h.substring(i);i=h.indexOf(\"/\");if(i>0){h=h.substring(0,i);if(h.indexOf('google')>=0){a=s.sp(a,'&');if(a.length>1){l=',q,ie,start,search_key,word,kw,cd,';for(j=0;j<"
+ "a.length;j++){t=a[j];i=t.indexOf('=');if(i>0&&l.indexOf(','+t.substring(0,i)+',')>=0)b+=(b?'&':'')+t;else c+=(c?'&':'')+t}if(b&&c){y+='?'+b+'&'+c;if(''+x!=y)x=y}}}}}}return x};s.hav=function(){var "
+ "s=this,qs='',fv=s.linkTrackVars,fe=s.linkTrackEvents,mn,i;if(s.pe){mn=s.pe.substring(0,1).toUpperCase()+s.pe.substring(1);if(s[mn]){fv=s[mn].trackVars;fe=s[mn].trackEvents}}fv=fv?fv+','+s.vl_l+','+"
+ "s.vl_l2:'';for(i=0;i<s.va_t.length;i++){var k=s.va_t[i],v=s[k],b=k.substring(0,4),x=k.substring(4),n=parseInt(x),q=k;if(v&&k!='linkName'&&k!='linkType'){if(s.pe||s.lnk||s.eo){if(fv&&(','+fv+',').in"
+ "dexOf(','+k+',')<0)v='';if(k=='events'&&fe)v=s.fs(v,fe)}if(v){if(k=='dynamicVariablePrefix')q='D';else if(k=='visitorID')q='vid';else if(k=='pageURL'){q='g';v=s.fl(v,255)}else if(k=='referrer'){q='"
+ "r';v=s.fl(s.rf(v),255)}else if(k=='vmk'||k=='visitorMigrationKey')q='vmt';else if(k=='visitorMigrationServer'){q='vmf';if(s.ssl&&s.visitorMigrationServerSecure)v=''}else if(k=='visitorMigrationServ"
+ "erSecure'){q='vmf';if(!s.ssl&&s.visitorMigrationServer)v=''}else if(k=='charSet'){q='ce';if(v.toUpperCase()=='AUTO')v='ISO8859-1';else if(s.em==2)v='UTF-8'}else if(k=='visitorNamespace')q='ns';else"
+ " if(k=='cookieDomainPeriods')q='cdp';else if(k=='cookieLifetime')q='cl';else if(k=='variableProvider')q='vvp';else if(k=='currencyCode')q='cc';else if(k=='channel')q='ch';else if(k=='transactionID'"
+ ")q='xact';else if(k=='campaign')q='v0';else if(k=='resolution')q='s';else if(k=='colorDepth')q='c';else if(k=='javascriptVersion')q='j';else if(k=='javaEnabled')q='v';else if(k=='cookiesEnabled')q="
+ "'k';else if(k=='browserWidth')q='bw';else if(k=='browserHeight')q='bh';else if(k=='connectionType')q='ct';else if(k=='homepage')q='hp';else if(k=='plugins')q='p';else if(s.num(x)){if(b=='prop')q='c"
+ "'+n;else if(b=='eVar')q='v'+n;else if(b=='list')q='l'+n;else if(b=='hier'){q='h'+n;v=s.fl(v,255)}}if(v)qs+='&'+q+'='+(k.substring(0,3)!='pev'?s.ape(v):v)}}}return qs};s.ltdf=function(t,h){t=t?t.toL"
+ "owerCase():'';h=h?h.toLowerCase():'';var qi=h.indexOf('?');h=qi>=0?h.substring(0,qi):h;if(t&&h.substring(h.length-(t.length+1))=='.'+t)return 1;return 0};s.ltef=function(t,h){t=t?t.toLowerCase():''"
+ ";h=h?h.toLowerCase():'';if(t&&h.indexOf(t)>=0)return 1;return 0};s.lt=function(h){var s=this,lft=s.linkDownloadFileTypes,lef=s.linkExternalFilters,lif=s.linkInternalFilters;lif=lif?lif:s.wd.locatio"
+ "n.hostname;h=h.toLowerCase();if(s.trackDownloadLinks&&lft&&s.pt(lft,',','ltdf',h))return 'd';if(s.trackExternalLinks&&h.substring(0,1)!='#'&&(lef||lif)&&(!lef||s.pt(lef,',','ltef',h))&&(!lif||!s.pt"
+ "(lif,',','ltef',h)))return 'e';return ''};s.lc=new Function('e','var s=s_c_il['+s._in+'],b=s.eh(this,\"onclick\");s.lnk=s.co(this);s.t();s.lnk=0;if(b)return this[b](e);return true');s.bc=new Functi"
+ "on('e','var s=s_c_il['+s._in+'],f,tcf;if(s.d&&s.d.all&&s.d.all.cppXYctnr)return;s.eo=e.srcElement?e.srcElement:e.target;tcf=new Function(\"s\",\"var e;try{if(s.eo&&(s.eo.tagName||s.eo.parentElement"
+ "||s.eo.parentNode))s.t()}catch(e){}\");tcf(s);s.eo=0');s.oh=function(o){var s=this,l=s.wd.location,h=o.href?o.href:'',i,j,k,p;i=h.indexOf(':');j=h.indexOf('?');k=h.indexOf('/');if(h&&(i<0||(j>=0&&i"
+ ">j)||(k>=0&&i>k))){p=o.protocol&&o.protocol.length>1?o.protocol:(l.protocol?l.protocol:'');i=l.pathname.lastIndexOf('/');h=(p?p+'//':'')+(o.host?o.host:(l.host?l.host:''))+(h.substring(0,1)!='/'?l."
+ "pathname.substring(0,i<0?0:i)+'/':'')+h}return h};s.ot=function(o){var t=o.tagName;t=t&&t.toUpperCase?t.toUpperCase():'';if(t=='SHAPE')t='';if(t){if((t=='INPUT'||t=='BUTTON')&&o.type&&o.type.toUppe"
+ "rCase)t=o.type.toUpperCase();else if(!t&&o.href)t='A';}return t};s.oid=function(o){var s=this,t=s.ot(o),p,c,n='',x=0;if(t&&!o.s_oid){p=o.protocol;c=o.onclick;if(o.href&&(t=='A'||t=='AREA')&&(!c||!p"
+ "||p.toLowerCase().indexOf('javascript')<0))n=s.oh(o);else if(c){n=s.rep(s.rep(s.rep(s.rep(''+c,\"\\r\",''),\"\\n\",''),\"\\t\",''),' ','');x=2}else if(t=='INPUT'||t=='SUBMIT'){if(o.value)n=o.value;"
+ "else if(o.innerText)n=o.innerText;else if(o.textContent)n=o.textContent;x=3}else if(o.src&&t=='IMAGE')n=o.src;if(n){o.s_oid=s.fl(n,100);o.s_oidt=x}}return o.s_oid};s.rqf=function(t,un){var s=this,e"
+ "=t.indexOf('='),u=e>=0?','+t.substring(0,e)+',':'';return u&&u.indexOf(','+un+',')>=0?s.epa(t.substring(e+1)):''};s.rq=function(un){var s=this,c=un.indexOf(','),v=s.c_r('s_sq'),q='';if(c<0)return s"
+ ".pt(v,'&','rqf',un);return s.pt(un,',','rq',0)};s.sqp=function(t,a){var s=this,e=t.indexOf('='),q=e<0?'':s.epa(t.substring(e+1));s.sqq[q]='';if(e>=0)s.pt(t.substring(0,e),',','sqs',q);return 0};s.s"
+ "qs=function(un,q){var s=this;s.squ[un]=q;return 0};s.sq=function(q){var s=this,k='s_sq',v=s.c_r(k),x,c=0;s.sqq=new Object;s.squ=new Object;s.sqq[q]='';s.pt(v,'&','sqp',0);s.pt(s.un,',','sqs',q);v='"
+ "';for(x in s.squ)if(x&&(!Object||!Object.prototype||!Object.prototype[x]))s.sqq[s.squ[x]]+=(s.sqq[s.squ[x]]?',':'')+x;for(x in s.sqq)if(x&&(!Object||!Object.prototype||!Object.prototype[x])&&s.sqq["
+ "x]&&(x==q||c<2)){v+=(v?'&':'')+s.sqq[x]+'='+s.ape(x);c++}return s.c_w(k,v,0)};s.wdl=new Function('e','var s=s_c_il['+s._in+'],r=true,b=s.eh(s.wd,\"onload\"),i,o,oc;if(b)r=this[b](e);for(i=0;i<s.d.l"
+ "inks.length;i++){o=s.d.links[i];oc=o.onclick?\"\"+o.onclick:\"\";if((oc.indexOf(\"s_gs(\")<0||oc.indexOf(\".s_oc(\")>=0)&&oc.indexOf(\".tl(\")<0)s.eh(o,\"onclick\",0,s.lc);}return r');s.wds=functio"
+ "n(){var s=this;if(s.apv>3&&(!s.isie||!s.ismac||s.apv>=5)){if(s.b&&s.b.attachEvent)s.b.attachEvent('onclick',s.bc);else if(s.b&&s.b.addEventListener)s.b.addEventListener('click',s.bc,false);else s.e"
+ "h(s.wd,'onload',0,s.wdl)}};s.vs=function(x){var s=this,v=s.visitorSampling,g=s.visitorSamplingGroup,k='s_vsn_'+s.un+(g?'_'+g:''),n=s.c_r(k),e=new Date,y=e.getYear();e.setYear(y+10+(y<1900?1900:0));"
+ "if(v){v*=100;if(!n){if(!s.c_w(k,x,e))return 0;n=x}if(n%10000>v)return 0}return 1};s.dyasmf=function(t,m){if(t&&m&&m.indexOf(t)>=0)return 1;return 0};s.dyasf=function(t,m){var s=this,i=t?t.indexOf('"
+ "='):-1,n,x;if(i>=0&&m){var n=t.substring(0,i),x=t.substring(i+1);if(s.pt(x,',','dyasmf',m))return n}return 0};s.uns=function(){var s=this,x=s.dynamicAccountSelection,l=s.dynamicAccountList,m=s.dyna"
+ "micAccountMatch,n,i;s.un=s.un.toLowerCase();if(x&&l){if(!m)m=s.wd.location.host;if(!m.toLowerCase)m=''+m;l=l.toLowerCase();m=m.toLowerCase();n=s.pt(l,';','dyasf',m);if(n)s.un=n}i=s.un.indexOf(',');"
+ "s.fun=i<0?s.un:s.un.substring(0,i)};s.sa=function(un){var s=this;s.un=un;if(!s.oun)s.oun=un;else if((','+s.oun+',').indexOf(','+un+',')<0)s.oun+=','+un;s.uns()};s.m_i=function(n,a){var s=this,m,f=n"
+ ".substring(0,1),r,l,i;if(!s.m_l)s.m_l=new Object;if(!s.m_nl)s.m_nl=new Array;m=s.m_l[n];if(!a&&m&&m._e&&!m._i)s.m_a(n);if(!m){m=new Object,m._c='s_m';m._in=s.wd.s_c_in;m._il=s._il;m._il[m._in]=m;s."
+ "wd.s_c_in++;m.s=s;m._n=n;m._l=new Array('_c','_in','_il','_i','_e','_d','_dl','s','n','_r','_g','_g1','_t','_t1','_x','_x1','_rs','_rr','_l');s.m_l[n]=m;s.m_nl[s.m_nl.length]=n}else if(m._r&&!m._m)"
+ "{r=m._r;r._m=m;l=m._l;for(i=0;i<l.length;i++)if(m[l[i]])r[l[i]]=m[l[i]];r._il[r._in]=r;m=s.m_l[n]=r}if(f==f.toUpperCase())s[n]=m;return m};s.m_a=new Function('n','g','e','if(!g)g=\"m_\"+n;var s=s_c"
+ "_il['+s._in+'],c=s[g+\"_c\"],m,x,f=0;if(!c)c=s.wd[\"s_\"+g+\"_c\"];if(c&&s_d)s[g]=new Function(\"s\",s_ft(s_d(c)));x=s[g];if(!x)x=s.wd[\\'s_\\'+g];if(!x)x=s.wd[g];m=s.m_i(n,1);if(x&&(!m._i||g!=\"m_"
+ "\"+n)){m._i=f=1;if((\"\"+x).indexOf(\"function\")>=0)x(s);else s.m_m(\"x\",n,x,e)}m=s.m_i(n,1);if(m._dl)m._dl=m._d=0;s.dlt();return f');s.m_m=function(t,n,d,e){t='_'+t;var s=this,i,x,m,f='_'+t,r=0,"
+ "u;if(s.m_l&&s.m_nl)for(i=0;i<s.m_nl.length;i++){x=s.m_nl[i];if(!n||x==n){m=s.m_i(x);u=m[t];if(u){if((''+u).indexOf('function')>=0){if(d&&e)u=m[t](d,e);else if(d)u=m[t](d);else u=m[t]()}}if(u)r=1;u="
+ "m[t+1];if(u&&!m[f]){if((''+u).indexOf('function')>=0){if(d&&e)u=m[t+1](d,e);else if(d)u=m[t+1](d);else u=m[t+1]()}}m[f]=1;if(u)r=1}}return r};s.m_ll=function(){var s=this,g=s.m_dl,i,o;if(g)for(i=0;"
+ "i<g.length;i++){o=g[i];if(o)s.loadModule(o.n,o.u,o.d,o.l,o.e,1);g[i]=0}};s.loadModule=function(n,u,d,l,e,ln){var s=this,m=0,i,g,o=0,f1,f2,c=s.h?s.h:s.b,b,tcf;if(n){i=n.indexOf(':');if(i>=0){g=n.sub"
+ "string(i+1);n=n.substring(0,i)}else g=\"m_\"+n;m=s.m_i(n)}if((l||(n&&!s.m_a(n,g)))&&u&&s.d&&c&&s.d.createElement){if(d){m._d=1;m._dl=1}if(ln){if(s.ssl)u=s.rep(u,'http:','https:');i='s_s:'+s._in+':'"
+ "+n+':'+g;b='var s=s_c_il['+s._in+'],o=s.d.getElementById(\"'+i+'\");if(s&&o){if(!o.l&&s.wd.'+g+'){o.l=1;if(o.i)clearTimeout(o.i);o.i=0;s.m_a(\"'+n+'\",\"'+g+'\"'+(e?',\"'+e+'\"':'')+')}';f2=b+'o.c+"
+ "+;if(!s.maxDelay)s.maxDelay=250;if(!o.l&&o.c<(s.maxDelay*2)/100)o.i=setTimeout(o.f2,100)}';f1=new Function('e',b+'}');tcf=new Function('s','c','i','u','f1','f2','var e,o=0;try{o=s.d.createElement("
+ "\"script\");if(o){o.type=\"text/javascript\";'+(n?'o.id=i;o.defer=true;o.onload=o.onreadystatechange=f1;o.f2=f2;o.l=0;':'')+'o.src=u;c.appendChild(o);'+(n?'o.c=0;o.i=setTimeout(f2,100)':'')+'}}catc"
+ "h(e){o=0}return o');o=tcf(s,c,i,u,f1,f2)}else{o=new Object;o.n=n+':'+g;o.u=u;o.d=d;o.l=l;o.e=e;g=s.m_dl;if(!g)g=s.m_dl=new Array;i=0;while(i<g.length&&g[i])i++;g[i]=o}}else if(n){m=s.m_i(n);m._e=1}"
+ "return m};s.vo1=function(t,a){if(a[t]||a['!'+t])this[t]=a[t]};s.vo2=function(t,a){if(!a[t]){a[t]=this[t];if(!a[t])a['!'+t]=1}};s.dlt=new Function('var s=s_c_il['+s._in+'],d=new Date,i,vo,f=0;if(s.d"
+ "ll)for(i=0;i<s.dll.length;i++){vo=s.dll[i];if(vo){if(!s.m_m(\"d\")||d.getTime()-vo._t>=s.maxDelay){s.dll[i]=0;s.t(vo)}else f=1}}if(s.dli)clearTimeout(s.dli);s.dli=0;if(f){if(!s.dli)s.dli=setTimeout"
+ "(s.dlt,s.maxDelay)}else s.dll=0');s.dl=function(vo){var s=this,d=new Date;if(!vo)vo=new Object;s.pt(s.vl_g,',','vo2',vo);vo._t=d.getTime();if(!s.dll)s.dll=new Array;s.dll[s.dll.length]=vo;if(!s.max"
+ "Delay)s.maxDelay=250;s.dlt()};s.t=function(vo,id){var s=this,trk=1,tm=new Date,sed=Math&&Math.random?Math.floor(Math.random()*10000000000000):tm.getTime(),sess='s'+Math.floor(tm.getTime()/10800000)"
+ "%10+sed,y=tm.getYear(),vt=tm.getDate()+'/'+tm.getMonth()+'/'+(y<1900?y+1900:y)+' '+tm.getHours()+':'+tm.getMinutes()+':'+tm.getSeconds()+' '+tm.getDay()+' '+tm.getTimezoneOffset(),tcf,tfs=s.gtfs(),"
+ "ta='',q='',qs='',code='',vb=new Object;s.gl(s.vl_g);s.uns();s.m_ll();if(!s.td){var tl=tfs.location,a,o,i,x='',c='',v='',p='',bw='',bh='',j='1.0',k=s.c_w('s_cc','true',0)?'Y':'N',hp='',ct='',pn=0,ps"
+ ";if(String&&String.prototype){j='1.1';if(j.match){j='1.2';if(tm.setUTCDate){j='1.3';if(s.isie&&s.ismac&&s.apv>=5)j='1.4';if(pn.toPrecision){j='1.5';a=new Array;if(a.forEach){j='1.6';i=0;o=new Objec"
+ "t;tcf=new Function('o','var e,i=0;try{i=new Iterator(o)}catch(e){}return i');i=tcf(o);if(i&&i.next)j='1.7'}}}}}if(s.apv>=4)x=screen.width+'x'+screen.height;if(s.isns||s.isopera){if(s.apv>=3){v=s.n."
+ "javaEnabled()?'Y':'N';if(s.apv>=4){c=screen.pixelDepth;bw=s.wd.innerWidth;bh=s.wd.innerHeight}}s.pl=s.n.plugins}else if(s.isie){if(s.apv>=4){v=s.n.javaEnabled()?'Y':'N';c=screen.colorDepth;if(s.apv"
+ ">=5){bw=s.d.documentElement.offsetWidth;bh=s.d.documentElement.offsetHeight;if(!s.ismac&&s.b){tcf=new Function('s','tl','var e,hp=0;try{s.b.addBehavior(\"#default#homePage\");hp=s.b.isHomePage(tl)?"
+ "\"Y\":\"N\"}catch(e){}return hp');hp=tcf(s,tl);tcf=new Function('s','var e,ct=0;try{s.b.addBehavior(\"#default#clientCaps\");ct=s.b.connectionType}catch(e){}return ct');ct=tcf(s)}}}else r=''}if(s.p"
+ "l)while(pn<s.pl.length&&pn<30){ps=s.fl(s.pl[pn].name,100)+';';if(p.indexOf(ps)<0)p+=ps;pn++}s.resolution=x;s.colorDepth=c;s.javascriptVersion=j;s.javaEnabled=v;s.cookiesEnabled=k;s.browserWidth=bw;"
+ "s.browserHeight=bh;s.connectionType=ct;s.homepage=hp;s.plugins=p;s.td=1}if(vo){s.pt(s.vl_g,',','vo2',vb);s.pt(s.vl_g,',','vo1',vo)}if(s.usePlugins)s.doPlugins(s);var l=s.wd.location,r=tfs.document."
+ "referrer;if(!s.pageURL)s.pageURL=l.href?l.href:l;if(!s.referrer&&!s._1_referrer){s.referrer=r;s._1_referrer=1}if((vo&&vo._t)||!s.m_m('d')){s.m_m('g');if(s.lnk||s.eo){var o=s.eo?s.eo:s.lnk;if(!o)ret"
+ "urn '';var p=s.pageName,w=1,t=s.ot(o),n=s.oid(o),x=o.s_oidt,h,l,i,oc;if(s.eo&&o==s.eo){while(o&&!n&&t!='BODY'){o=o.parentElement?o.parentElement:o.parentNode;if(!o)return '';t=s.ot(o);n=s.oid(o);x="
+ "o.s_oidt}oc=o.onclick?''+o.onclick:'';if((oc.indexOf(\"s_gs(\")>=0&&oc.indexOf(\".s_oc(\")<0)||oc.indexOf(\".tl(\")>=0)return ''}ta=n?o.target:1;h=s.oh(o);i=h.indexOf('?');h=s.linkLeaveQueryString|"
+ "|i<0?h:h.substring(0,i);l=s.linkName;t=s.linkType?s.linkType.toLowerCase():s.lt(h);if(t&&(h||l))q+='&pe=lnk_'+(t=='d'||t=='e'?s.ape(t):'o')+(h?'&pev1='+s.ape(h):'')+(l?'&pev2='+s.ape(l):'');else tr"
+ "k=0;if(s.trackInlineStats){if(!p){p=s.pageURL;w=0}t=s.ot(o);i=o.sourceIndex;if(s.gg('objectID')){n=s.gg('objectID');x=1;i=1}if(p&&n&&t)qs='&pid='+s.ape(s.fl(p,255))+(w?'&pidt='+w:'')+'&oid='+s.ape("
+ "s.fl(n,100))+(x?'&oidt='+x:'')+'&ot='+s.ape(t)+(i?'&oi='+i:'')}}if(!trk&&!qs)return '';s.sampled=s.vs(sed);if(trk){if(s.sampled)code=s.mr(sess,(vt?'&t='+s.ape(vt):'')+s.hav()+q+(qs?qs:s.rq(s.un)),0"
+ ",id,ta);qs='';s.m_m('t');if(s.p_r)s.p_r();s.referrer=''}s.sq(qs);}else{s.dl(vo);}if(vo)s.pt(s.vl_g,',','vo1',vb);s.lnk=s.eo=s.linkName=s.linkType=s.wd.s_objectID=s.ppu=s.pe=s.pev1=s.pev2=s.pev3='';"
+ "if(s.pg)s.wd.s_lnk=s.wd.s_eo=s.wd.s_linkName=s.wd.s_linkType='';if(!id&&!s.tc){s.tc=1;s.flushBufferedRequests()}return code};s.tl=function(o,t,n,vo){var s=this;s.lnk=s.co(o);s.linkType=t;s.linkName"
+ "=n;s.t(vo)};if(pg){s.wd.s_co=function(o){var s=s_gi(\"_\",1,1);return s.co(o)};s.wd.s_gs=function(un){var s=s_gi(un,1,1);return s.t()};s.wd.s_dc=function(un){var s=s_gi(un,1);return s.t()}}s.ssl=(s"
+ ".wd.location.protocol.toLowerCase().indexOf('https')>=0);s.d=document;s.b=s.d.body;if(s.d.getElementsByTagName){s.h=s.d.getElementsByTagName('HEAD');if(s.h)s.h=s.h[0]}s.n=navigator;s.u=s.n.userAgen"
+ "t;s.ns6=s.u.indexOf('Netscape6/');var apn=s.n.appName,v=s.n.appVersion,ie=v.indexOf('MSIE '),o=s.u.indexOf('Opera '),i;if(v.indexOf('Opera')>=0||o>0)apn='Opera';s.isie=(apn=='Microsoft Internet Exp"
+ "lorer');s.isns=(apn=='Netscape');s.isopera=(apn=='Opera');s.ismac=(s.u.indexOf('Mac')>=0);if(o>0)s.apv=parseFloat(s.u.substring(o+6));else if(ie>0){s.apv=parseInt(i=v.substring(ie+5));if(s.apv>3)s."
+ "apv=parseFloat(i)}else if(s.ns6>0)s.apv=parseFloat(s.u.substring(s.ns6+10));else s.apv=parseFloat(v);s.em=0;if(String.fromCharCode){i=escape(String.fromCharCode(256)).toUpperCase();s.em=(i=='%C4%80"
+ "'?2:(i=='%U0100'?1:0))}s.sa(un);s.vl_l='dynamicVariablePrefix,visitorID,vmk,visitorMigrationKey,visitorMigrationServer,visitorMigrationServerSecure,ppu,charSet,visitorNamespace,cookieDomainPeriods,"
+ "cookieLifetime,pageName,pageURL,referrer,currencyCode';s.va_l=s.sp(s.vl_l,',');s.vl_t=s.vl_l+',variableProvider,channel,server,pageType,transactionID,purchaseID,campaign,state,zip,events,products,l"
+ "inkName,linkType';for(var n=1;n<51;n++)s.vl_t+=',prop'+n+',eVar'+n+',hier'+n+',list'+n;s.vl_l2=',tnt,pe,pev1,pev2,pev3,resolution,colorDepth,javascriptVersion,javaEnabled,cookiesEnabled,browserWidt"
+ "h,browserHeight,connectionType,homepage,plugins';s.vl_t+=s.vl_l2;s.va_t=s.sp(s.vl_t,',');s.vl_g=s.vl_t+',trackingServer,trackingServerSecure,trackingServerBase,fpCookieDomainPeriods,disableBuffered"
+ "Requests,mobile,visitorSampling,visitorSamplingGroup,dynamicAccountSelection,dynamicAccountList,dynamicAccountMatch,trackDownloadLinks,trackExternalLinks,trackInlineStats,linkLeaveQueryString,linkD"
+ "ownloadFileTypes,linkExternalFilters,linkInternalFilters,linkTrackVars,linkTrackEvents,linkNames,lnk,eo,_1_referrer';s.va_g=s.sp(s.vl_g,',');s.pg=pg;s.gl(s.vl_g);if(!ss)s.wds()",
w = window, l = w.s_c_il, n = navigator, u = n.userAgent, v = n.appVersion, e = v.indexOf('MSIE '), m = u.indexOf('Netscape6/'), a, i, s; if (un) { un = un.toLowerCase(); if (l) for (i = 0; i < l.length; i++) { s = l[i]; if (!s._c || s._c == 's_c') { if (s.oun == un) return s; else if (s.fs && s.sa && s.fs(s.oun, un)) { s.sa(un); return s } } } } w.s_an = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz';
    w.s_sp = new Function("x", "d", "var a=new Array,i=0,j;if(x){if(x.split)a=x.split(d);else if(!d)for(i=0;i<x.length;i++)a[a.length]=x.substring(i,i+1);else while(i>=0){j=x.indexOf(d,i);a[a.length]=x.subst"
+ "ring(i,j<0?x.length:j);i=j;if(i>=0)i+=d.length}}return a");
    w.s_jn = new Function("a", "d", "var x='',i,j=a.length;if(a&&j>0){x=a[0];if(j>1){if(a.join)x=a.join(d);else for(i=1;i<j;i++)x+=d+a[i]}}return x");
    w.s_rep = new Function("x", "o", "n", "return s_jn(s_sp(x,o),n)");
    w.s_d = new Function("x", "var t='`^@$#',l=s_an,l2=new Object,x2,d,b=0,k,i=x.lastIndexOf('~~'),j,v,w;if(i>0){d=x.substring(0,i);x=x.substring(i+2);l=s_sp(l,'');for(i=0;i<62;i++)l2[l[i]]=i;t=s_sp(t,'');d"
+ "=s_sp(d,'~');i=0;while(i<5){v=0;if(x.indexOf(t[i])>=0) {x2=s_sp(x,t[i]);for(j=1;j<x2.length;j++){k=x2[j].substring(0,1);w=t[i]+k;if(k!=' '){v=1;w=d[b+l2[k]]}x2[j]=w+x2[j].substring(1)}}if(v)x=s_jn("
+ "x2,'');else{w=t[i]+' ';if(x.indexOf(w)>=0)x=s_rep(x,w,t[i]);i++;b+=62}}}return x");
    w.s_fe = new Function("c", "return s_rep(s_rep(s_rep(c,'\\\\','\\\\\\\\'),'\"','\\\\\"'),\"\\n\",\"\\\\n\")");
    w.s_fa = new Function("f", "var s=f.indexOf('(')+1,e=f.indexOf(')'),a='',c;while(s>=0&&s<e){c=f.substring(s,s+1);if(c==',')a+='\",\"';else if((\"\\n\\r\\t \").indexOf(c)<0)a+=c;s++}return a?'\"'+a+'\"':"
+ "a");
    w.s_ft = new Function("c", "c+='';var s,e,o,a,d,q,f,h,x;s=c.indexOf('=function(');while(s>=0){s++;d=1;q='';x=0;f=c.substring(s);a=s_fa(f);e=o=c.indexOf('{',s);e++;while(d>0){h=c.substring(e,e+1);if(q){i"
+ "f(h==q&&!x)q='';if(h=='\\\\')x=x?0:1;else x=0}else{if(h=='\"'||h==\"'\")q=h;if(h=='{')d++;if(h=='}')d--}if(d>0)e++}c=c.substring(0,s)+'new Function('+(a?a+',':'')+'\"'+s_fe(c.substring(o+1,e))+'\")"
+ "'+c.substring(e+1);s=c.indexOf('=function(')}return c;");
    c = s_d(c); if (e > 0) { a = parseInt(i = v.substring(e + 5)); if (a > 3) a = parseFloat(i) } else if (m > 0) a = parseFloat(u.substring(m + 10)); else a = parseFloat(v); if (a >= 5 && v.indexOf('Opera') < 0 && u.indexOf('Opera') < 0) { w.s_c = new Function("un", "pg", "ss", "var s=this;" + c); return new s_c(un, pg, ss) } else s = new Function("un", "pg", "ss", "var s=new Object;" + s_ft(c) + ";return s"); return s(un, pg, ss)
}



/* File: rige_omniture.js */

if (!window.s) { var s = { t: function () { }, tl: function () { } } } var Omniture = function () { var c = "unsetTabName"; var k; var e; var d; var o; var l = []; var g; var u; var n; var r; var b; function q(w, x) { k = w.split(":"); e = x; b = 0; d = k.shift(); o = k.shift(); a(); window.s_code = p(); n = Boolean(window.SWFAddress); if (window.enableSWFAddressTracking) { i() } } function a() { s.account = s_account; s.server = document.location.host; s.charSet = "UTF-8"; s.trackDownloadLinks = true; s.trackExternalLinks = true; s.trackInlineStats = true; s.linkDownloadFileTypes = "exe,zip,wav,mp3,mov,mpg,avi,wmv,doc,pdf,xls"; s.linkInternalFilters = "javascript:," + m(location.href); s.linkLeaveQueryString = false; s.linkTrackVars = "None"; s.linkTrackEvents = "None"; s.campaign = s.getQueryParam("cid"); s.prop12 = s.getNewRepeat(); s.prop21 = d; s.prop22 = o; var y = new Date(); var x = (y.getFullYear()); s.prop24 = s.getTimeParting("h", "-7", x); s.prop25 = s.getTimeParting("d", "-7", x); s.prop26 = s.getTimeParting("w", "-7", x); for (var w in e) { s[w] = e[w] } s.eVar1 = s.prop5; s.eVar2 = s.prop6; s.eVar11 = s.prop11; s.eVar12 = s.prop12; s.eVar13 = s.prop13; s.eVar21 = s.prop21 } function p(C, B) { while (l.length) { s[l.shift()] = "" } var y; var x; if (C) { C = t(C); x = (C.length > 0) ? C.split("/") : [] } else { x = [] } if (x.length == 0 && b != -1) { if (++b > 1) { return } } else { b = -1 } if (g) { var w = g.slice(0); if (u) { w.push(u) } y = w.concat(x) } else { y = k.concat(x) } s.pageName = s.eVar14 = y.join(":"); s.hier1 = y.join(","); s.channel = s.prop23 = y.shift(); var A = 1; for (var z = 0; z < y.length; z++) { var D = "prop" + A; s[D] = y[z]; l.push(D); A = (A == 4) ? 28 : A + 1 } if (B) { return } return s.t() } function t(w) { return w.replace(/^[\/ #]+/, "").replace(/[\/ ]+$/, "") } function j(x, w) { if (typeof x == "string") { var y = {}; y.href = x; s.tl(y, w, x) } else { s.tl(x, w) } } function v(D, w, B, E, H) { if (typeof D == "object") { var C = jQuery(D); if ((C.is("a")) && (C.href == "" || C.href == "#" || C.href == undefined) && (C.parent().attr("aria-haspopup") != "" && C.parent().attr("aria-haspopup") != null && C.parent().attr("aria-haspopup") != undefined)) { return false } } var y = {}; var I = s.events; var z = s.linkTrackVars; var G = s.linkTrackEvents; var A = []; if (E) { for (var x in E) { var F = E[x]; A.push(x); y[x] = s[x]; s[x] = F.replace(/%(\w*)%/g, function () { return s[arguments[1]] || "" }) } } if (H) { A.push("events"); s.linkTrackEvents = H.join(","); s.events = s.linkTrackEvents } s.linkTrackVars = A.join(","); s.tl(D, w, B); s.events = I; s.linkTrackVars = z; s.linkTrackEvents = G; for (var x in E) { s[x] = y[x] } } function i() { if (r || !n) { return } SWFAddress.addEventListener(SWFAddressEvent.CHANGE, f); r = true } function h() { if (!n) { return } SWFAddress.removeEventListener(SWFAddressEvent.CHANGE, f); r = false } function f() { if (!n) { return } var w = SWFAddress.getValue(); if (w.size > 0 && w.charAt(0) != "/") { w = "/" + w } p(w) } function m(w) { return w.match(/https?:\/\/(.*?)\//)[1] } return { init: function (w, x) { q(w, x || {}) }, status: function () { return true }, enableModalTracking: function (x, w) { g = []; if (x) { g.push(x) } if (w) { g.push(w) } i() }, disableModalTracking: function () { g = null; u = null; h(); p("/", true) }, modalTabChange: function (w) { if (g) { u = w; b = 0; p("/") } }, startVideo: function (w) { v(true, "o", "Video Started", { eVar27: "%pageName%:Video:" + w, eVar22: "%pageName%:Video:" + w }, ["event18"]) }, endVideo: function (w) { v(true, "o", "Video Finished", { eVar27: "%pageName%:Video:" + w, eVar22: "%pageName%:Video:" + w }, ["event19"]) }, reset: function () { p("/", true) }, track: function (z, w, A, y, x) { v(z, w, A, y, x) }, trackNOPV: function (w) { v(true, "o", w, { eVar22: "%pageName%:" + w }, ["event19"]) }, trackEvent: function (w) { v(true, "o", action, { eVar22: "%pageName%:" + w }, ["event19"]) }, trackLink: function (w) { j(w, "o") }, trackExternalLink: function (w) { j(w, "e") }, trackDownloadLink: function (w) { j(w, "d") }, trackSubPageView: function (w) { p(w) }, setProduct: function (w) { if (w) { s.events = "prodView"; s.products = ";" + w } else { s.events = ""; s.products = "" } }, setErrorPage: function () { s.pageName = null; s.pageType = "errorPage" }, registerSWFAddressListener: function () { i() }, unregisterSWFAddressListener: function () { h() } } } (); s.getNewRepeat = new Function("var s=this,e=new Date(),cval,ct=e.getTime(),y=e.getYear();e.setTime(ct+30*24*60*60*1000);cval=s.c_r('s_nr');if(cval.length==0){s.c_w('s_nr',ct,e);return 'New';}if(cval.length!=0&&ct-cval<30*60*1000){s.c_w('s_nr',ct,e);return 'New';}if(cval<1123916400001){e.setTime(cval+30*24*60*60*1000);s.c_w('s_nr',ct,e);return 'Repeat';}else return 'Repeat';"); s.getTimeParting = new Function("t", "z", "y", "dc=new Date('1/1/2000');var f=15;var ne=8;if(dc.getDay()!=6||dc.getMonth()!=0){return'Data Not Available'}else{;z=parseInt(z);if(y=='2009'){f=8;ne=1};gmar=new Date('3/1/'+y);dsts=f-gmar.getDay();gnov=new Date('11/1/'+y);dste=ne-gnov.getDay();spr=new Date('3/'+dsts+'/'+y);fl=new Date('11/'+dste+'/'+y);cd=new Date();if(cd>spr&&cd<fl){z=z+1}else{z=z};utc=cd.getTime()+(cd.getTimezoneOffset()*60000);tz=new Date(utc + (3600000*z));thisy=tz.getFullYear();var days=['Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'];if(thisy!=y){return'Data Not Available'}else{;thish=tz.getHours();thismin=tz.getMinutes();thisd=tz.getDay();var dow=days[thisd];var ap='AM';var dt='Weekday';var mint='00';if(thismin>15&&thismin<30){mint='15'}if(thismin>30&&thismin<45){mint='30'}if(thismin>45&&thismin<60){mint='45'}if(thish>=12){ap='PM';thish=thish-12};if (thish==0){thish=12};if(thisd==6||thisd==0){dt='Weekend'};var timestring=thish+':'+mint+ap;var daystring=dow;var endstring=dt;if(t=='h'){return timestring}if(t=='d'){return daystring};if(t=='w'){return endstring}}};"); s.getQueryParam = new Function("p", "d", "u", "var s=this,v='',i,t;d=d?d:'';u=u?u:(s.pageURL?s.pageURL:s.wd.location);if(u=='f')u=s.gtfs().location;while(p){i=p.indexOf(',');i=i<0?p.length:i;t=s.p_gpv(p.substring(0,i),u+'');if(t){t=t.indexOf('#')>-1?t.substring(0,t.indexOf('#')):t;}if(t)v+=v?d+t:t;p=p.substring(i==p.length?i:i+1)}return v"); s.p_gpv = new Function("k", "u", "var s=this,v='',i=u.indexOf('?'),q;if(k&&i>-1){q=u.substring(i+1);v=s.pt(q,'&','p_gvf',k)}return v"); s.p_gvf = new Function("t", "k", "if(t){var s=this,i=t.indexOf('='),p=i<0?t:t.substring(0,i),v=i<0?'True':t.substring(i+1);if(p.toLowerCase()==k.toLowerCase())return s.epa(v)}return ''");

/* File: main.js */

jQuery.noConflict(); if (!window.console) { window.console = function () { }; window.console.log = function () { } } var rigeSettings = rigeSettings || {}; rigeSettings.dir = jQuery("html").attr("dir"); rigeSettings.lang = jQuery("html").attr("lang"); rigeSettings.pageType = jQuery("html").attr("data-page-type"); rigeSettings.universalRegexps = { name: /^.+$/, password: /^.+$/, email: /^.+@.+\..+$/, message: /^[\s\S]+$/ }; var rigeOptions = { swfBaseUrl: "/swf/", xmlBaseUrl: "/xml/", introComponent: { autoplayDelay: 8, autoplayResumeDelay: "off"} }; (function () { var b = document.getElementsByTagName("html")[0].lang.toLowerCase(); var d = null; var c = { ja: "rige-supertype-j", ko: "rige-supertype-k", zh: "rige-supertype-c" }; d = c[b] || null; if (!d || typeof FLIR == "undefined") { return } FLIR.rige = {}; FLIR.rige.wrap = '    h2, h3, h4, h5, h6,    #footer .branding,    #language-select-wrapper .international a,    #language-select-wrapper .inner .enter,    #language-select-wrapper .inner h1,    #language-select-header .header .languages,    #product-lineup .section > ul > li .type,    #product-stage-top .header > h1,    #product-stage-top .browse-range .top .title,    #introduction-component .browse-range .top .title,    #product-stage-bottom .tabcontainer,    #landing-stage-bottom h1,    #landing-stage-bottom .scfTitleBorder,    html[data-page-type="productsOverview"] #product-stage-top .header .more,    dl.product-specs dt,    .header h1, .header h2, .header h3, .header h4, .header h5, .header h6,    .default-modal .share li,    .default-modal h1,    .default-modal.locale-select .body > h2,    #language-select-header .header .international a,    #product-lineup .promo > span,    .scfForm legend,    .scfForm input[type="submit"],    .rige,    #product-stage-top h1  '; FLIR.rige.nowrap = "    .find-store > span > span > span,    .button > span > span > span,    #primary-menu > li > a,    #product-lineup .header > .title h2  "; var a = jQuery("html").attr("lang"); if (a != "ja" && a != "zh" && a != "ko") { FLIR.rige.nowrap += ", .learn-more > span > span > span" } FLIR.rige.ignore = "    #product-carousel h2  "; FLIR.rige.forceWrap = [[".header h1, .header h2, .header h3, .header h4, .header h5, .header h6", 10], ["#product-lineup .section h3", 17]]; FLIR.rige.replace = function (g, h) { g = g || jQuery(document.getElementById("outer")); h = h || true; var e = g.find(FLIR.rige.nowrap); var f = g.find(FLIR.rige.wrap); if (h) { e = e.not(jQuery(FLIR.rige.ignore)); f = f.not(jQuery(FLIR.rige.ignore)) } e.each(function () { FLIR.replace(this, new FLIRStyle({ cFont: d, mode: "auto" })) }); f.each(function () { FLIR.replace(this, new FLIRStyle({ cFont: d, mode: "fancyfonts", ff_Wrap: true })) }) }; FLIR.init({ path: rigeSettings.FLIRPath }, new FLIRStyle({ realFontHeight: true, inheritStyle: true, cFont: d, cLine: 1 })); FLIR.rige.replace() })(); var globalPlayer = null; var FlowplayerUtils = function (d, a, c) { function b(g, f) { var h = {}; if (g) { h.controls = { url: a.swfBaseUrl + "flowplayer.controls-rige.swf", autoHide: "always", hideStyle: "fade", all: false, play: true, scrubber: true, mute: true, volume: true, fullscreen: true} } else { h.controls = null } if (f) { h.content = { url: a.swfBaseUrl + "flowplayer.content.swf", bottom: 50, width: "80%", height: 70, backgroundColor: "transparent", backgroundGradient: "none", borderRadius: 4, border: 0, style: { body: { fontSize: "16", fontFamily: "Arial", textAlign: "center", color: "#FFFFFF"}} }; h.captions = { url: a.swfBaseUrl + "flowplayer.captions.swf", captionTarget: "content", button: null} } return h } function e(h, f) { var g = { url: h }; if (f) { g.captionUrl = f + (/.xml$/i.test(f) ? "" : ".xml") } return g } return { createPlayerPlugins: b, createPlayerClip: e} } (jQuery, rigeOptions, rigeSettings); var CarouselAPI = function (g, k, c) { var m = ["0x2D85FF", "0x6D9EFF", "0x4C67FF", "0x8CBFFF", "0xAACBFF", "0xBFE0FF"]; var b = { enableGlowEffects: "true", horizonLinePixelsFromBottom: "120", arrowPaddingFromCenter: "160", arrowVertOffsetFromCenter: "85", carouselBetweenItemPadding: "80", carouselItemBottomPadding: "0", productShadowBottomPadding: "30", productShadowHeight: "0", viewportWidth: "480", viewportHeight: "480", productWidth: "300", productHeight: "480", pieSpinnerRadius: "10", pagerButtonColor: "0xFFFFFF", pagerButtonHoverColor: "0xFFFFFF", pagerDotPadding: "26", pagerDotColor: "0x9ba9ca", pagerDotHoverColor: "0x3a7ab8", pagerDotDisabledColor: "0x122667", pagerPixelsFromBottom: "25", getItemsJSFunction: "CarouselAPI.getCarouselItems", updateIndexJSFunction: "CarouselAPI.setActiveItem", updateGlowEveryXFrames: "4", carouselTweenDuration: "1.0", haloBlurWidth: "130", haloBlurHeight: "140", productHorizontalFudgePixels: "-1", validColors: m.join() }; var e = { scale: "noscale", salign: "tl", bgcolor: "#FFFFFF", allowScriptAccess: "always", wmode: "transparent" }; var f = {}; var d = g("#product-carousel > li"); var a = swfobject && swfobject.hasFlashPlayerVersion("9"); var h = d.map(function (o, q) { var p = g(q); var t = p.find("> img"); if (t.size() == 0) { return null } var r = t.first().attr("src") || t.first().attr("data-src"); if (a && d.length > 1) { t.css({ visibility: "hidden" }) } var n = p.find("> div.header").first().get()[0]; if (n) { n = n.cloneNode(true) } return { url: r, header: n} }).get(); if (a && h) { swfobject.embedSWF(k.swfBaseUrl + "ProductCarouselApp.swf", "product-carousel", "480", "480", "9.0.0", rigeOptions.swfBaseUrl + "expressInstall.swf", b, e, f) } function l() { return { items: g.map(h, function (p, o) { return p.url }), startindex: 0} } function j(n) { var p = h[n]; if (p.header) { g("#product-stage-top > .header").replaceWith(p.header); try { FLIR.rige.replace(jQuery("#product-stage-top"), false) } catch (o) { } } Omniture.track(true, "o", "Product Slider Used", { eVar22: "%pageName%:product slider:used" }, ["event19"]) } return { getCarouselItems: l, setActiveItem: j} } (jQuery, rigeOptions, rigeSettings); function SWFEventHandler(a) { if (a == "complete") { jQuery("#introduction-component").trigger("swfloaded") } } jQuery.fn.maxlength = function (a) { a = jQuery.extend({ className: "charcount" }, a); if (!rigeSettings.getText || !rigeSettings.getText.charsRemaining) { return } var b = rigeSettings.getText.charsRemaining; jQuery(this).each(function (f, h) { var d = jQuery(h); var g = parseInt(rigeSettings.contactMessageMaxLength, 10) || 1000; var e = jQuery("<p/>"); e.addClass(a.className); e.insertAfter(d); var c = jQuery("<span/>").appendTo(e); c.text(b.sprintf(g)); d.keyup(function (m) { var j = jQuery(this); var k = j.val().length; var l = g - k; if (l <= 0) { e.css("color", "red") } else { e.css("color", "") } if (l < 0) { l = 0; j.val(j.val().substr(0, g)); j = j.get(0); j.scrollTop = j.scrollHeight - j.clientHeight } c.text(b.sprintf(l)) }) }) }; jQuery.fn.inputPlaceholder = function (a) { a = jQuery.extend({}, a); jQuery(this).each(function (b, c) { c = jQuery(c); c.data("placeholder", c.val()); c.addClass("placeholder"); c.bind("focus blur", function (f) { var d = jQuery(this); if (d.val() == d.data("placeholder")) { d.val(""); d.removeClass("placeholder") } else { if (d.val() == "") { d.val(d.data("placeholder")); d.addClass("placeholder") } } }) }) }; var urlUtils = function () { function a(c) { if (!c || c.length == 0) { return {} } function d(f) { return decodeURI(f.length === 2 ? f[1] : "") } var e = {}; jQuery.each(c.split("&"), function (h, l) { var j = l.split("="); var g = j[0]; if (e.hasOwnProperty(g)) { var f = e[g]; if (!jQuery.isArray(f)) { f = [f]; e[g] = f } f.push(d(j)) } else { e[g] = d(j) } }); return e } function b(d) { var c = []; jQuery.each(d, function (e, f) { c.push(e + "=" + d[e]) }); return c.join("&") } return { parseQueryStr: a, createQueryStr: b} } (); jQuery.fn.equalize = function () { jQuery(this).each(function () { var a = jQuery(this); var b = 0; a.children().each(function () { b = Math.max(b, jQuery(this).height()) }); a.children().height(b) }); return this }; jQuery.fn.embedFlash = function (a) {
    jQuery(this).each(function () {
        var g = jQuery(this); console.log(g); var b = g.attr("data-swfobject"); if (b) {
            var f = jQuery.parseJSON(b); if (/^[0-9]/.test(f.version)) { f.version = "9" } if (f.flashvars.hasOwnProperty("expertiseModule")) {
                function d(n) { var m = {}; for (var l = 0; l < n.length; l++) { var k = n[l].split("="); m[k[0]] = k[1] } return m } var h = urlUtils.parseQueryStr(f.flashvars.expertiseModule); var c = urlUtils.parseQueryStr(document.location.search.substring(1)); jQuery.extend(c, h); var e = document.location.protocol + "//" + document.location.host + document.location.pathname; e += "?" + urlUtils.createQueryStr(c); f.flashvars.shareURL = encodeURIComponent(e); f.flashvars.request_query_string = encodeURIComponent(f.flashvars.request_query_string)
            } else { f.flashvars.shareURL = document.location.protocol + "//" + document.location.host + document.location.pathname + document.location.search } var j = a; g.wrapInner('<div id="' + j + '"></div>'); swfobject.embedSWF(f.url, j, f.width, f.height, f.version, rigeOptions.swfBaseUrl + "expressInstall.swf", f.flashvars, f.params, f.attributes)
        }
    }); return this
}; jQuery.fn.embedVideoPlayer = function () { jQuery(this).each(function () { var d = jQuery(this); var c = d.attr("data-video-url"); var a = d.attr("data-captions-url"); var e = FlowplayerUtils.createPlayerClip(c, a); e.scaling = "fit"; e.onStart = function (f) { Omniture.track(true, "o", "Video Started", { eVar27: "%pageName%:Video:" + c, eVar22: "%pageName%:Video:" + c }, ["event18"]) }; var b = FlowplayerUtils.createPlayerPlugins(true, a); globalPlayer = $f(this, { src: rigeOptions.swfBaseUrl + "flowplayer.commercial.swf", wmode: "opaque" }, { key: rigeSettings.flowplayerKey || "", canvas: { backgroundGradient: "none", backgroundColor: "#000000" }, play: { url: rigeOptions.swfBaseUrl + "flowplayer.playbutton.swf", opacity: 1, height: "30%" }, clip: e, plugins: b }) }) }; jQuery.fn.embedIframe = function () { jQuery(this).each(function () { var d = jQuery(this); var c = d.attr("data-iframe"); var b = c ? jQuery.parseJSON(c) : {}; var a = jQuery("<iframe/>"); jQuery.each(b, function (e, f) { a.attr(e, f) }); d.append(a) }); return this }; jQuery.fn.removeFlash = function () { jQuery(this).each(function () { var a = jQuery(this); var b = a.attr("id"); if (b) { swfobject.removeSWF(b) } }); return this }; jQuery.fn.tabControl = function (l) { l = jQuery.extend({ tabIndex: 0, tabContentHeight: null, tabContainerClass: "tabcontainer", tabBarClass: "tabs", animateSpeed: 200, onBeforeChange: null, onChange: null }, l); var c = this.find(".tabcontent"); var e = c.find("> li"); var h = c.find(".tabtitle"); var k = jQuery("<div/>").addClass(l.tabContainerClass); var b = jQuery("<div/>").addClass(l.tabBarClass); var a = jQuery("<ul/>"); var j; h.each(function (m, n) { a.append("<li><span><span><span>" + jQuery(n).html() + "</span></span></span></li>") }); j = a.find("> li"); this.prepend(k.append(b.append(a))); h.remove(); f(l.tabIndex); if (l.tabContentHeight == "fixed") { c.equalize() } j.each(function (m, n) { jQuery(n).click(function (o) { f(m) }) }); function d() { return j.index(j.filter(".active")) } function f(n) { var q = e.eq(d()); var p = e.eq(n); var m = p.closest("li").attr("data-tracking-name"); var o = p.closest("ul.tabcontent").attr("data-tracking-type"); var r = p.closest("ul.tabcontent").attr("data-tracking-name"); if (p.parents(".product-details-wrapper").length) { (function () { var t = s.pageName; s.pageName = s.pageName + ":" + m; s.t(); s.pageName = t })() } else { } if (l.onBeforeChange) { l.onBeforeChange(q, p) } j.removeClass("active"); j.eq(n).addClass("active"); e.hide(); p.show(); if (l.tabContentHeight == "animate") { g(q, p) } if (l.onChange) { l.onChange(q, p) } } function g(o, n) { var m = n.height(); c.animate({ height: m }, l.animateSpeed); n.height(m) } return this }; jQuery.fn.scrollableTabControl = function (j) { j = jQuery.extend({ tabBar: this.find(".tabs"), tabControlContainer: this, tabControlBaseClass: "tabcontrol", tabControlOpacity: 0.2, animateSpeed: 250 }, j); var c = j.tabBar; if (!c.length) { return } var g = c.find("li"); var e = c.get(0).scrollWidth; var b = c.width(); var h, a; if (j.tabControlContainer.find(".prev").length) { h = j.tabControlContainer.find(".prev").eq(0) } else { h = jQuery('<div class="' + j.tabControlBaseClass + ' prev"/>').appendTo(j.tabControlContainer) } if (j.tabControlContainer.find(".next").length) { a = j.tabControlContainer.find(".next").eq(0) } else { a = jQuery('<div class="' + j.tabControlBaseClass + ' next"/>').appendTo(j.tabControlContainer) } var d = function () { var k = { left: null, right: null }; jQuery.each(g, function (l, m) { m = jQuery(m); if (m.position().left < 0) { k.left = m.prev().length ? m.prev() : m } else { if (m.position().left + m.width() > c.width()) { k.right = k.right || (m.next().length ? m.next() : m) } } }); return k }; if (e <= b) { j.tabControlContainer.removeClass("has-controls"); h.add(a).hide() } else { j.tabControlContainer.addClass("has-controls"); b = c.width(); f(g.filter(".active")) } h.add(a).click(function (n) { var o = jQuery(this).hasClass("prev") ? "prev" : "next"; switch (o) { case "prev": if (c.scrollLeft() > 0) { var l = d(c).left; var m = l.position().left; c.animate({ scrollLeft: m + c.scrollLeft() }, j.animateSpeed); a.fadeTo(j.animateSpeed, 1).removeClass("disabled"); if (!l.prev().length) { h.fadeTo(j.animateSpeed, j.tabControlOpacity).addClass("disabled") } } break; case "next": if (c.scrollLeft() < e - b) { var l = d(c).right; var m = l.position().left; var k = l.outerWidth(); c.animate({ scrollLeft: (m + k + c.scrollLeft()) - b }, j.animateSpeed); h.fadeTo(j.animateSpeed, 1).removeClass("disabled"); if (!l.next().length) { a.fadeTo(j.animateSpeed, j.tabControlOpacity).addClass("disabled") } } break } }); function f(l) { var m = l.position().left; var k = l.outerWidth(); c.animate({ scrollLeft: (m + (k / 2) + c.scrollLeft()) - (b / 2) }, j.animateSpeed, function () { if (c.scrollLeft() > 0) { h.fadeTo(j.animateSpeed, 1).removeClass("disabled") } else { h.fadeTo(j.animateSpeed, j.tabControlOpacity).addClass("disabled") } if (c.scrollLeft() < e - b) { a.fadeTo(j.animateSpeed, 1).removeClass("disabled") } else { a.fadeTo(j.animateSpeed, j.tabControlOpacity).addClass("disabled") } }) } return this }; jQuery.fn.collapsibles = function (b) { b = jQuery.extend({ mode: "multiple", triggers: ".trigger", content: ".content", relation: "sibling", animateSpeed: 1000 }, b); var a = this; var c = a.find(b.triggers); var d = a.find(b.content); d.hide(); c.click(function (h) { var f = jQuery(this); var g = f.hasClass("active") ? "active" : "inactive"; if (b.mode == "single") { c.removeClass("active"); d.filter(".active").slideUp(b.animateSpeed).removeClass("active") } switch (b.relation) { case "sibling": if (g == "inactive") { f.addClass("active"); f.next(b.content).addClass("active").slideDown(b.animateSpeed) } else { if (g == "active") { f.removeClass("active"); f.next(b.content).removeClass("active").slideUp(b.animateSpeed) } } break } }); return this }; jQuery.fn.initCycle = function (d) { return; d = jQuery.extend({}, d); var b = this; var a = b.find(".gallery"); var c = jQuery('<div class="pagination"><div/></div>').appendTo(b).find("> div"); c.prev = jQuery('<a class="prev">Previous</a>').appendTo(c); c.pager = jQuery('<ol class="pager"/>').appendTo(c); c.next = jQuery('<a class="next">Next</a>').appendTo(c); a.cycle({ timeout: 0, prev: c.prev, next: c.next, pager: c.pager, activePagerClass: "active" }); return this }; jQuery.fn.introComponent = function (a) {
    a = jQuery.extend({ animateSpeed: 250, onLoad: null, onBeforeChange: null, onChange: null, onAjaxLoad: null, autoplay: false, autoplayDelay: 1, autoplayResumeDelay: 3 }, a); this.each(function (h, c) {
        var m = jQuery(c); if (m.hasClass("intro-component-loaded")) { return } else { m.addClass("intro-component-loaded") } var p = m.find(".controls"); var t = m.find(".content").length ? m.find(".content") : m.find(".gallery"); var f = m.hasClass("widget") ? "intro" : "gallery"; var d = p.find(".prev"); var e = p.find(".next"); var j = p.find(".play"); var o; var n = false; if (f == "gallery" && t.find(".videoslide").length) { var k = t.find(".videoslide"); var b = jQuery('<li class="video-container" data-initialplay="true"/>').appendTo(t); var r = $f(b.get(0), { src: rigeOptions.swfBaseUrl + "flowplayer.commercial.swf", wmode: "opaque" }, { key: rigeSettings.flowplayerKey || "", canvas: { backgroundGradient: "none", backgroundColor: "#000000" }, clip: { fadeInSpeed: 0, fadeOutSpeed: 0, autoBuffering: true, bufferLength: 5, autoPlay: false }, plugins: FlowplayerUtils.createPlayerPlugins(false, true) }); r.onStart(function (w) { if (w.captionUrl) { r.getPlugin("captions").loadCaptions(0, w.captionUrl) } }) } p.find("ul > li").bind("focus mouseenter", q("74px", "64px", 1, a.animateSpeed)); p.find("ul > li").bind("blur mouseleave", q("64px", "54px", 0.4, a.animateSpeed)); function q(z, w, y, x, A) { return function () { if (jQuery(this).hasClass("active") || g.isLoading) { return } jQuery("> div", this).stop().animate({ width: z, opacity: y }, x, "linear"); jQuery("> div > div", this).stop().animate({ width: w }, x, "linear", A) } } function l() { n = true; if (rige.defaultModal.isOpen) { clearInterval(o); setTimeout(function () { l() }, 1000); return } o = setInterval(function () { if (rige.defaultModal.isOpen) { clearInterval(o); l(); return } var w = v() + 1; w = w > (p.find("li").length - 1) ? 0 : w; p.find("li").eq(w).triggerHandler("click", ["script"]) }, a.autoplayDelay * 1000) } function v() { return p.find("li").index(p.find("li.active")) } p.find("li").each(function (w, x) {
            if (!jQuery(this).attr("title")) {
                return
            } var y = !!jQuery("html[dir=rtl]").length; jQuery(this).tooltip({ delay: 0, position: y ? "center left" : "center right", offset: y ? [2, -30] : [2, 30], tipClass: "tooltip intro", layout: '<div><span><span class="body"></span></span></div>', bodyClass: "body" })
        }); p.show(); d.fadeTo(a.animateSpeed, 0.2).addClass("disabled"); if (f == "intro") { p.find("ul").css("top", "50%").css("margin-top", "-" + (p.find("ul").height() / 2) + "px") } if (f == "intro") { if (rigeSettings.dir == "rtl") { p.delay(1000).animate({ right: 0 }, a.animateSpeed) } else { p.delay(1000).animate({ left: 0 }, a.animateSpeed) } } var g = jQuery('<div class="loading"/>').appendTo(m).hide(); g.isLoading = false; if (m.hasClass("widget")) { t.find("li").attr("data-index", p.find("li").index(p.find(".active"))) } else { t.find("> li:not(.video-container)").each(function (w, x) { jQuery(this).attr("data-index", w).hide() }) } t.find("> li").css("z-index", "1"); t.find("> li:first").css("z-index", "3").show(); if (f == "intro") { t.find(".learn-more").click(function (w) { var y = jQuery(this); var x = +y.closest("li[data-index]").attr("data-index"); Omniture.track(true, "o", "Intro Component Teaser CTA clicked", { eVar22: "%pageName%:Teaser position " + (x + 1) + ":Click" }, ["event19"]) }) } j.click(function (w) { var x = jQuery(this); if (n) { clearInterval(o); x.addClass("paused"); n = false } else { l(); x.removeClass("paused"); n = true } }); p.find("li").bind("click keyup", function (A, w) { if (A.type == "keyup" && A.which != "13") { return } var x = jQuery(this); if (x.hasClass("active")) { return } p.find("ul > li div").stop().removeAttr("style"); var z = p.find("li").index(x); if (f == "intro" || a.autoplay) { clearInterval(o); if (a.autoplayResumeDelay != "off" || w == "script") { var y = w == "script" ? 0 : a.autoplayResumeDelay; setTimeout(function () { l() }, y * 1000) } } if (w != "script") { Omniture.track(true, "o", "Intro Component Teaser Clicked", { eVar22: "%pageName%:Intro Component Teaser Lg " + (z + 1) + ":Toggle" }, ["event19"]) } if (!t.find('[data-index="' + z + '"]').length && x.attr("data-url")) { if (w != "script") { g.show() } g.isLoading = true; jQuery.get(jQuery(this).attr("data-url"), function (D) { var C = jQuery('<li data-index="' + z + '"/>').appendTo(t).append(D).css("z-index", "1"); if (a.onAjaxLoad) { a.onAjaxLoad(C) } var B = C.find(".main-image").get(0); if (B) { if (B.complete === false) { jQuery(B).load(function () { g.hide(); u(z) }) } else { g.hide(); u(z) } } else { if (!swfobject.hasFlashPlayerVersion("9")) { g.hide(); u(z) } else { var E = jQuery("#introduction-component"); E.bind("swfloaded", function () { E.unbind("swfloaded"); g.hide(); u(z) }); C.addClass("has-flash-content"); C.find(".customflash").embedFlash("introflash" + z) } } }) } else { u(z) } }); p.find(".prev, .next").click(function (y) { y.preventDefault(); if (jQuery(this).hasClass("prev")) { var x = v() - 1; if (x >= 0) { u(x) } } else { if (jQuery(this).hasClass("next")) { var w = v() + 1; if (w <= p.find("li").length - 1) { u(w) } } } }); if (f == "intro" || a.autoplay) { l() } function u(C) { g.isLoading = false; var x = t.find('[data-index="' + v() + '"]'); var B = t.find('[data-index="' + C + '"]'); var E = B; if (f == "gallery" && k && B.find(".videoslide").length && r) { var w = B.find(".videoslide"); var z = w.attr("data-video-url"); var D = w.attr("data-captions-url"); var A = B.siblings(".video-container"); A.attr("data-video-url", z); if (D) { A.attr("data-captions-url", D) } else { A.removeAttr("data-captions-url") } try { r.play(FlowplayerUtils.createPlayerClip(z, D)) } catch (y) { } B = b } else { if (f == "gallery" && k) { x = b; try { r.stop() } catch (y) { } } } p.find(".active").removeClass("active"); p.find("li:nth-child(" + (C + 1) + ")").addClass("active"); if (C > 0) { d.stop().fadeTo(a.animateSpeed, 1).removeClass("disabled") } else { if (C == 0) { d.stop().fadeTo(a.animateSpeed, 0.2).addClass("disabled") } } if (C < p.find("li").length - 1) { e.stop().fadeTo(a.animateSpeed, 1).removeClass("disabled") } else { if (C == p.find("li").length - 1) { e.stop().fadeTo(a.animateSpeed, 0.2).addClass("disabled") } } B.css("z-index", "2").show(); if (x.get(0) !== B.get(0)) { x.stop().fadeOut(100, function () { x.css("z-index", "1").show(); B.css("z-index", "3"); if (x.hasClass("has-flash-content")) { x.find("object").removeFlash(); x.remove() } x.hide() }) } if (a.onChange) { a.onChange(x, B, t, E) } } if (f == "gallery") { u(0) } if (a.onLoad) { a.onLoad(t) }
    }); return this
}; jQuery.fn.imagesLoaded = function (c) { var b = this.filter("img"), a = b.length; b.bind("load.imagesLoaded", function () { if (--a <= 0) { c.call(b, this); b.unbind("load.imagesLoaded") } }).each(function () { if (this.complete || this.complete === undefined) { var d = this.src; this.src = "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw=="; this.src = d } }); return this }; var rige = function (f, j) {
    var e = function () { f('[role="navigation"]:not(.tree-menu):not(.no-superfish):has([aria-haspopup])').superfish({ hoverClass: "hover", delay: 500, autoArrows: false, dropShadows: false }) }; e(); var h = function (o, n, m) {
        if (f("html").attr("data-disable-overlays") == "true") { return } m = jQuery.extend({ containerId: "default-modal", containerCss: { width: "1022px" }, containerClassList: [], tabIndex: 0 }, m); m.containerClassList.push("default-modal"); o = o || n.attr("data-modal-url"); var p = f.modal('      <div class="wrapper">          <div class="body">          </div>          <span class="decoration-nw"></span>          <span class="decoration-ne"></span>          <span class="decoration-se"></span>          <span class="decoration-sw"></span>          <span class="decoration-n"></span>          <span class="decoration-e"></span>          <span class="decoration-s"></span>          <span class="decoration-w"></span>        </div>    ', { opacity: 80, containerCss: m.containerCss, containerId: m.containerId, containerClassList: m.containerClassList, position: [f("#header").outerHeight() - 19], onOpen: function (q) {
            rige.defaultModal.isOpen = true; q.container.data("defaultWidth", q.container.width()); q.container.data("defaultLeft", parseInt(q.container.css("left"), 10)); q.overlay.fadeIn(200); q.container.addClass("loading").fadeIn(200); q.data.show(); f.get(o, function (t) {
                q.container.removeClass("loading").css("height", "auto"); q.container.find(".wrapper").css("height", "100%"); q.data.find(".body").html(t); try { window.turkishToUpper(q.data.get(0)) } catch (r) { } q.data.find(".modal-close").click(function (v) { v.preventDefault(); p.close() }); e(); if (q.container.hasClass("locale-select")) { q.data.find('[type="image"], [type="submit"]').click(function (w) { w.preventDefault(); var v = q.data.find("select#locale").val(); if (v == "" || v == "./") { p.close(); return } window.location = v }) } var u = q.data.find(".tabcontent"); if (u.length) {
                    Omniture.enableModalTracking(u.attr("data-tracking-type"), u.attr("data-tracking-name")); q.container.addClass("has-tabs"); q.data.find(".content").tabControl({ tabContentHeight: "animate", tabIndex: m.tabIndex, onBeforeChange: function (y, B) { swfobject.removeSWF("ExpertiseCustomFlash"); var x = y.find(".video-container").get(0); if (x) { $f(x).stop() } var C = B.find(".video-container"); var w = C.get(0); if (w && C.css("z-index") == 3) { var D = f(w); var v = D.attr("data-initialplay"); var A = D.attr("data-video-url"); var E = D.attr("data-captions-url"); D.attr("data-initialplay", "false"); if (v == "false" && A) { try { $f(w).play(FlowplayerUtils.createPlayerClip(A, E)) } catch (z) { } } else { } } if (B.find('.media-wrapper:not([hidden="true"])').length) { B.find(".text-wrapper").hide().height("auto") } }, onChange: function (w, v) {
                        Omniture.modalTabChange(v.closest("li").attr("data-tracking-name")); (function () { var x = q.container.offset().top; if (q.container.width() > f(window).width() || q.container.height() > f(window).height()) { q.container.css({ position: "absolute", top: x }) } })(); (function () { if ((v.find(".gallery").length || v.find(".video").length || v.find(".customflash").length || v.find(".customiframe").length || v.find(".image")) && !v.has(".text-wrapper").length) { var x = q.container.width(); var A = parseInt(q.container.css("left"), 10); q.data.find(".tabcontainer").hide(); q.container.width("auto"); q.wrap.width("auto"); var z = q.container.width(); var y = A + ((x - z) / 2); q.data.find(".tabcontainer").show(); q.container.width(x); q.wrap.width("100%"); q.container.animate({ width: z, left: y }, 250, function () { q.data.find(".tabcontainer").scrollableTabControl() }) } else { q.container.animate({ width: q.container.data("defaultWidth"), left: q.container.data("defaultLeft") }, 250, function () { q.data.find(".tabcontainer").scrollableTabControl() }) } })(); (function () {
                            if (f.browser.msie && f.browser.version <= 7 && v.find(".gallery").length) {
                                var z = v.find(".gallery").outerWidth();
                                var x = v.find(".pagination").outerWidth(); var y = (z - x) / 2; v.find(".pagination").css("margin-left", y)
                            }
                        })(); if (globalPlayer) { globalPlayer.stop(); globalPlayer.unload() } if (w.find(".customflash").length) { w.find(".customflash").empty() } v.find("div.video").each(function () { var A = f(this); var z = A.attr("data-video-url"); var x = A.attr("data-captions-url"); var B = FlowplayerUtils.createPlayerClip(z, x); B.scaling = "fit"; B.onStart = function (C) { Omniture.track(true, "o", "Video Started", { eVar27: "%pageName%:Video:" + z, eVar22: "%pageName%:Video:" + z }, ["event18"]) }; var y = FlowplayerUtils.createPlayerPlugins(true, x); globalPlayer = $f(this, j.swfBaseUrl + "flowplayer.commercial.swf", { key: rigeSettings.flowplayerKey || "", canvas: { backgroundGradient: "none", backgroundColor: "#000000" }, play: { url: j.swfBaseUrl + "flowplayer.playbutton.swf", opacity: 1, height: "30%" }, clip: B, plugins: y }); (function () { var J = A.attr("data-steps"); if (!J) { return } J = f.parseJSON(J); if (J.steps.length <= 1) { return } var I = A.width(); var K = f('<ol class="steps" style="width: ' + I + 'px"/>').prependTo(A.closest(".tabcontent > li").find(".buttons")); var G = f('<div class="stepProgressBar" style="position:absolute; height:53px; width: 0%; background-color: #c8d7eb;"/>').prependTo(K); var F = 0; var D = 0; var C = 0; var E = []; f.each(J.steps, function (N, Q) { var P = f(this); var O = J.steps[N + 1] || null; var L = N + 1; var M = ((O ? O.start : J.duration) - Q.start) / J.duration; var R = M * I; E.push(Q.start); f('<li data-step="' + L + '" style="right: ' + Math.floor(I - (F + R)) + "px; left: " + F + 'px;border-right:thin solid #ddecff;">' + L + "</li>").click(function () { if (globalPlayer.getStatus().state == 1) { globalPlayer.play(); C = Q.start; return } globalPlayer.seek((Q.start) / 1000); D = (Q.start / J.duration) * 100 }).appendTo(K); F += R }); globalPlayer.getCommonClip().onBeforeSeek(function (M, L) { H(L * 1000) }); globalPlayer.getCommonClip().onCuepoint(E, function (L, M) { H(M) }); function H(M) { for (var L = 0; L < J.steps.length; L++) { if ((L == J.steps.length - 1) || (M >= J.steps[L].start && M < J.steps[L + 1].start)) { A.closest(".tabcontent > li").find(".text-wrapper > .text").html("<h4>" + J.steps[L].title + "</h4>" + J.steps[L].body); G.css("width", String(Math.max((J.steps[L].start / (J.duration)) * 100, D)) + "%"); return } } } globalPlayer.onStart(function (L) { if (C > 0) { globalPlayer.seek(C); C = 0 } else { D = 0 } }); globalPlayer.onFinish(function (L) { G.css("width", "100%") }) })() }); swfobject.removeSWF("ExpertiseCustomFlash"); w.find("iframe").remove(); v.find("div.customflash").embedFlash("ExpertiseCustomFlash"); v.find(".customiframe").embedIframe(); (function () { var y = v.find("> .buttons"); if (y.length) { var x = v.height(); var z = x - y.outerHeight(); v.find(".text-wrapper").show().height(z) } else { v.find(".text-wrapper").show().height("101%") } })()
                    }
                    })
                } try { FLIR.rige.replace(q.data) } catch (r) { } q.data.find(".tabcontainer").scrollableTabControl(); q.data.find("dl.faq").collapsibles({ mode: "single", triggers: "dt", content: "dd" }); q.data.find(".media-gallery").introComponent({ onChange: function (y, x, w, v) { (function () { var z = v.find(".details").html(); x.parents("#default-modal .tabcontent > li").find(".text-wrapper .text").html(z); x.parents("#default-modal .tabcontent > li").find(".text-wrapper").scrollTop(0) })() } }); (function () { q.data.find(".share-in-modal").click(function (v) { v.preventDefault(); var x = f(this); var w = x.attr("data-modal-url"); q.container.find(".simplemodal-close").click(); rige.defaultModal.queue = function () { rige.defaultModal(w, null, { containerCss: { width: "671px"} }) } }) })(); (function () { return; q.data.find(".share-in-modal").click(function (v) { v.preventDefault(); f.get("/modules-components/share-on-social-media", function (x) { var w = {}; w.overlay = f('<div class="modal-in-modal-overlay"/>').appendTo(q.data); w.container = f('<div class="modal-in-modal"/>').appendTo(q.data); w.wrapper = q.data.find(".wrapper").clone().appendTo(w.container); w.container.find(".body").empty().append(x).find(".content").tabControl(); w.overlay.css({ background: "#fff", opacity: 0.8 }); w.container.css({ width: "671px" }); w.wrapper.css({ height: "auto" }); f(document).unbind("keydown.simplemodal"); f(document).bind("keydown.MiM", function (y) { if (y.keyCode == 27) { y.preventDefault(); y.stopPropagation(); if (w && w.container) { w.overlay.remove(); w.container.remove(); w = null } else { p.close(); f(document).unbind("keydown.MiM") } } }); (function () { var y = w.container.outerWidth(); var z = w.overlay.outerWidth(); w.container.css({ left: (z - y) / 2 }) })() }) }) })()
            }, "html")
        }, onClose: function (q) { rige.defaultModal.isOpen = false; Omniture.disableModalTracking(); q.data.hide(); q.container.find("object").removeFlash(); q.overlay.fadeOut(200); q.container.fadeOut(200, function () { p.close(); if (typeof rige.defaultModal.queue == "function") { rige.defaultModal.queue(); rige.defaultModal.queue = null } }) }
        }); return this
    };

    function a() {
        f(".scroll-pane").jScrollPane();
        (function () {
            if (!rigeSettings.showInternationalSiteWarningModal) { return }
            var p = "seenIntlWarning";
            var o = f.cookie(p);
            if (!o) { f.cookie(p, "1"); rige.defaultModal(rigeSettings.internationalSiteWarningModalUrl, null, { containerCss: { width: "370px", height: "240px" }, containerClassList: ["locale-select"] }) }
        })(); f("#product-lineup .section > ul > li a p").ThreeDots({ max_rows: 4 }); f(".product-details-wrapper").tabControl({ tabContentHeight: "fixed" }); f("#small-teasers ul li a").click(function () { var o = f(this).parent().prevAll().length + 1; Omniture.track(this, "o", "Footer Teasers Clicked", { eVar22: "%pageName%:Footer Teaser " + o }, ["event19"]) }); f("#small-teasers ul").jcarousel({ wrap: "circular", initCallback: function (o) { o.buttonPrev.add(o.buttonNext).dblclick(function (p) { if (window.getSelection) { window.getSelection().removeAllRanges() } }); if (o.container.find("li.jcarousel-item").filter(":not(.jcarousel-item-placeholder)").length <= 4) { o.buttonPrev.remove(); o.buttonNext.remove() } o.container.css("zoom", "1"); o.buttonPrev.click(function () { Omniture.track(true, "o", "Footer Teasers Navigation", { eVar22: "%pageName%:Footer Teaser Navigate Back" }, ["event19"]) }); o.buttonNext.click(function () { Omniture.track(true, "o", "Footer Teasers Navigation", { eVar22: "%pageName%:Footer Teaser Navigate Forward" }, ["event19"]) }) } }); f(".teaser ul li a").click(function () { var o = f(this).parent().prevAll().length + 1; Omniture.track(this, "o", "Intro Component Small Teasers Clicked", { eVar22: "%pageName%:Intro Component Small Teaser " + o }, ["event19"]) }); f('.teaser ul, html[data-page-type="Blogger Landing"] ul.carousel').jcarousel({ wrap: "circular", scroll: 1, initCallback: function (r) { (function () { var t = r.container.parent(); t.hide(); setTimeout(function () { t.show() }, 50) })(); r.buttonPrev.add(r.buttonNext).dblclick(function (t) { if (window.getSelection) { window.getSelection().removeAllRanges() } }); var q = r.container.find("li.jcarousel-item").filter(":not(.jcarousel-item-placeholder)").length; if (q <= 1) { r.buttonPrev.remove(); r.buttonNext.remove() } if (q > 1) { var o = f('<div class="pagination"><div><ol/></div></div>').appendTo(r.container.parents(".teaser")); r.list.find("li").each(function (t, u) { o.find("ol").append("<li><a>" + (t + 1) + "</a></li>") }); var p = o.find("ol > li"); p.click(function (u) { u.preventDefault(); var t = parseInt(f(this).text(), 10); r.scroll(t) }); r.buttonPrev.click(function () { Omniture.track(true, "o", "Intro Component Small Teasers Navigation", { eVar22: "%pageName%:Intro Component Small Teaser Navigate Back" }, ["event19"]) }); r.buttonNext.click(function () { Omniture.track(true, "o", "Intro Component Small Teasers Navigation", { eVar22: "%pageName%:Intro Component Small Teaser Navigate Forward" }, ["event19"]) }) } }, itemLoadCallback: function (t, r) { var q = t.container.parents(".teaser").find(".pagination ol > li"); var p = t.first - 1; var o = q.length; p = p - (Math.floor(p / o) * o); q.removeClass("active"); q.eq(p).addClass("active") } }); f("#introduction-component .widget").introComponent(f.extend(rigeOptions.introComponent, { onAjaxLoad: function (p) { try { FLIR.rige.replace(p) } catch (o) { } } })); f("#search input, #newsletter-signup input:not([type=submit])").inputPlaceholder(); f("textarea").maxlength(); jQuery("#language-select > li > ul a").click(function (o) {
            var p = jQuery(this); p.clone().replaceAll("#language-select > li > a"); jQuery('#language-select[role="navigation"] [aria-haspopup="true"] > ul').hide(); o.preventDefault()
        }); jQuery('#language-select[role="navigation"] [aria-haspopup="true"] > ul').mouseleave(function () { jQuery(this).show() }); (function () { var o = f(".tree-menu:not(.static)"); o.find("> li > ul").hide(); if (o.find("> li.active").length) { o.find("> li.active > ul").show() } else { o.find("> li:first").addClass("active").find("> ul").show() } o.find("> li > a").click(function (p) { p.preventDefault(); o.find("> li.active").removeClass("active").find("ul").hide(); f(this).closest("li").addClass("active").find("ul").show(); n() }) })(); var n = function () { var o = f("#product-lineup"); if (!o.length) { return } var A = o.find(".section ul"); var w = A.find("li"); var q = f("<ul/>").append(w.clone()); var x = !!o.find(".tree-menu").length; var y = 4; var z = (x ? (q.find("li:nth-child(" + y + ")").length ? (w.eq(y - 1).position().left > 30 ? 2 : 1) : null) : null); var r = x ? z > 1 ? y + "n+6" : y + "n+3" : y + "n"; var v = "edge"; var t = "last"; var p = "void"; var u = f("html").attr("data-page-type"); var B = []; if (u == "productSet") { r = y + "n"; A.each(function (D, F) { var C = y - f(F).children().length % y; C = C == 4 ? 0 : C; for (var E = 0; E < C; ++E) { f(F).append("<li><div/></li>") } }); w = A.find("li") } w.removeClass(v); q.children().removeClass(v); q.find("li:nth-child(" + r + ")").addClass(v); w.each(function (C, D) { if (q.find("li:nth-child(" + (C + 1) + ")").hasClass(v)) { B.push(w.slice(C + 1, C + 1 + y)); f(D).addClass(v) } }); if (z > 1) { w.filter(":eq(2)").addClass(v); B.unshift(w.slice(3, 6)) } if (z > 0) { B.unshift(w.slice(0, 3)) } if (!x) { B.unshift(w.slice(0, 4)) } A.find("li:last-child").addClass(v).addClass(t); if (u == "productSet") { jQuery.each(B[0], function (C, D) { f(D).css("border", "0").find("> div").css("border", "0") }) } if (u == "searchResultsCategory") { jQuery.each(B, function (C, D) { if (C === 0) { return } jQuery.each(D, function (E, F) { f(F).addClass(p) }) }) } jQuery.each(B, function (C, E) { var D = 0; jQuery.each(E, function (F, G) { var H = f(G).find(":header"); D = H.height() > D ? H.height() : D }); jQuery.each(E, function (F, G) { var H = f(G).find(":header"); H.css("min-height", D) }) }) }; n(); (function () { var o = f("#enteredEmail").val(); if (o) { f(".scfForm .scfEmailTextBox").val(o) } })(); (function () { f('html[data-page-type="Webforms"] .scfForm .scfValidator').wrap("<div/>") })(); (function () { var o = f('html[data-page-type="Webforms"] .privacy-policy'); if (o.length) { o.remove().insertBefore(f(".scfSubmitButtonBorder")) } })(); f(".scfForm .scfError:not(:empty)").addClass("scfError-js"); (function () { if (!f.browser.msie || (f.browser.msie && parseInt(f.browser.version, 10) > 7)) { return } var q = f("#product-stage-top").outerHeight() || f("#landing-stage-top").outerHeight(); var p = f("#product-stage-bottom").outerHeight() || f("#landing-stage-bottom").outerHeight(); var v = f(".menu").outerHeight(); if (!q || !p || !v) { return } var o = parseInt(f(".menu").css("top"), 10) || 0; var u = f(".menu").get(0).offsetTop; var t = Math.max(0, (v + o + u) - (q + p)); var r = f("#product-stage-bottom").length ? f("#product-stage-bottom-wrapper") : f("#landing-stage-bottom-wrapper"); r = r.next().find("> *"); r.css("margin-top", t) })(); f('html[data-page-type="Webforms"] .privacy-policy a').click(function (o) { o.preventDefault(); h(null, f(this), { containerClassList: ["privacy-policy"] }) }); f('html[data-page-type="product"] .product-details .options .share').click(function (o) { o.preventDefault(); h(null, f(this), { containerClassList: ["share-bookmark"], containerCss: { width: "671px"} }) }); f("#default-modal.share-bookmark .share li").live("click", function (o) { var t = f(this); var r = t.find("a"); var q = r.attr("href"); var p = f.trim(r.text()); Omniture.track(true, "o", "Share Button Clicked", { eVar22: "%pageName%:" + p }, ["event19"]) }); f('#share-form [type="submit"]').live("click", function (x) { x.preventDefault(); if (l()) { var w = function (z) { var A = z.split(" ", 1)[0] || ""; var y = z.substring(A.length, z.length); return [A, f.trim(y)] }; var v = f("#share-form").attr("data-page-url") || window.location.toString(); var t = w(f.trim(f("#share-friendname").val())); var o = { Firstname: t[0], Lastname: t[1], Email: f.trim(f("#share-friendemail").val()) }; var p = w(f.trim(f("#share-name").val())); var q = { Q1: p[0], Q2: p[1], Q3: f.trim(f("#share-email").val()), Q5: f.trim(f("#share-message").val()), Q11: v }; var r = b(o, s.pageName || "", q); var u = function (A) { var z = A.success || null; f("#default-modal .send-to-friend .share-form").attr("hidden", "true").hide(); if (z === true) { f("#default-modal .send-to-friend .share-confirmation").attr("hidden", "false").show() } else { f("#default-modal .send-to-friend .share-failure").attr("hidden", "false").show() } f("#default-modal .send-to-friend").height("auto"); var y = f("#default-modal .send-to-friend").height(); f("#default-modal .tabcontent").animate({ height: y }, 250) }; f.ajax({ url: f("#share-form").attr("data-src"), data: r, type: "post", dataType: "json", success: function (y) { u(y) }, error: function () { u() } }) } }); f("#default-modal .send-to-friend .share-confirmation a.send-to-other-friends, #default-modal .send-to-friend .share-failure a.try-again").live("click", function (p) { p.preventDefault(); var r = f(this); var t = r.hasClass("send-to-other-friends") ? "send-again" : "try-again"; if (t == "send-again") { try { f('#default-modal .send-to-friend #share-form textarea,             #default-modal .send-to-friend #share-form input[type="text"],             #default-modal .send-to-friend #share-form input[type="email"]').val("") } catch (q) { } } f("#default-modal .send-to-friend .share-form").attr("hidden", "false").show(); f("#default-modal .send-to-friend .share-confirmation").attr("hidden", "true").hide(); f("#default-modal .send-to-friend .share-failure").attr("hidden", "true").hide(); f("#default-modal .send-to-friend").height("auto"); var o = f("#default-modal .send-to-friend").height(); f("#default-modal .tabcontent").animate({ height: o }, 250) }); (function () { if (rigeSettings.pageType != "Language Selector") { return } f(".languages a").click(function (o) { var p = f(this).attr("lang"); f.cookie("rige_Lang", p, { path: window.location.pathname }) }) })(); f("#nav a").click(function () { Omniture.track(this, "o", "Top Level Nav Clicked", { eVar22: "%pageName%:top level nav:clicked" }, ["event19"]) }); f("#experience-index .column").each(function (p, q) { var o = ["Left", "Centre", "Right"][p]; var r = f(this); r.find("a").click(function () { var t = f(this).prevAll().length + 1; Omniture.track(this, "o", "Experience Overview Clicked", { eVar22: "%pageName%:" + o + " Column Teaser " + t }, ["event19"]) }) });
        /* Change to Remove Error Actual Code is var m=s.pageName.split(":")  */var m = ''; switch (m[m.length - 1]) { case "newsletter-subscribe-start": Omniture.track(true, "o", "Newsletter Subscription Started", { eVar22: "%pageName%:newsletter subscription:started" }, ["event18"]); break; case "newsletter-subscribe-complete": Omniture.track(true, "o", "Newsletter Subscription Complete", { eVar22: "%pageName%:newsletter subscription:complete" }, ["event19"]); break; case "newsletter-unsubscribe-start": Omniture.track(true, "o", "Newsletter Un-subscription Started", { eVar22: "%pageName%:newsletter unsubscription:started" }, ["event18"]); break; case "newsletter-unsubscribe-complete": Omniture.track(true, "o", "Newsletter Un-subscription Complete", { eVar22: "%pageName%:newsletter unsubscription:complete" }, ["event19"]); break } f("ul.range-select a").click(function () { Omniture.track(this, "o", "Browse Range Selection", { eVar22: "%pageName%:Browse Range Selection" }, ["event19"]) }); f("ul.product-select a").click(function () { Omniture.track(this, "o", "Product in Range Selection", { eVar22: "%pageName%:Product in Range Selection" }, ["event19"]) }); f("ul.related-product-select a").click(function () { Omniture.track(this, "o", "Related Product Selection", { eVar22: "%pageName%:Related Product Selection" }, ["event19"]) }); f('html[data-page-type="product"] .print > a').click(function () { Omniture.track(this, "o", "Print Clicked", { eVar22: "%pageName%:Print:Product Details", eVar7: "%pageName%:Print:Product Details" }, ["event19"]) }); f('html[data-page-type="searchResults"] #product-lineup .pagination a').click(function (o) { Omniture.track(this, "o", "Search results pagination used", { eVar22: "%pageName%:paging function:completed" }, ["event19"]) })
    }


    function k(n, p) {
        var o = document.createElement("form"); o.method = "post"; o.action = n; if (p) { for (var m in p) { var q = document.createElement("input"); q.setAttribute("name", m); q.setAttribute("value", p[m]); o.appendChild(q) } } document.body.appendChild(o); o.submit(); document.body.removeChild(o)
    }


    function b(o, p, m) { var n = f.extend({}, o); n.t_Source = p; f.each(m, function (q, r) { n["t_" + q] = r }); return n }
    function l() { var n = false; var m = { Name: f.trim(f("#share-name").val()), Email: f.trim(f("#share-email").val()), FriendName: f.trim(f("#share-friendname").val()), FriendEmail: f.trim(f("#share-friendemail").val()), Message: f.trim(f("#share-message").val()) }; f("#share-form .error").remove(); var o = { Name: f('<p class="error">' + rigeSettings.getText.invalidName + "</p>").hide().insertAfter(f("#share-name")), Email: f('<p class="error">' + rigeSettings.getText.invalidEmail + "</p>").hide().insertAfter(f("#share-email")), FriendName: f('<p class="error">' + rigeSettings.getText.invalidName + "</p>").hide().insertAfter(f("#share-friendname")), FriendEmail: f('<p class="error">' + rigeSettings.getText.invalidEmail + "</p>").hide().insertAfter(f("#share-friendemail")), Message: f('<p class="error">' + rigeSettings.getText.invalidMessage + "</p>").hide().insertAfter(f("#share-message")) }; if (!rigeSettings.universalRegexps.name.test(m.Name)) { o.Name.show(); n = true } else { o.Name.hide() } if (!rigeSettings.universalRegexps.email.test(m.Email)) { o.Email.show(); n = true } else { o.Email.hide() } if (!rigeSettings.universalRegexps.name.test(m.FriendName)) { o.FriendName.show(); n = true } else { o.FriendName.hide() } if (!rigeSettings.universalRegexps.email.test(m.FriendEmail)) { o.FriendEmail.show(); n = true } else { o.FriendEmail.hide() } if (!rigeSettings.universalRegexps.message.test(m.Message)) { o.Message.show(); n = true } else { o.Message.hide() } if (n) { f("#share-form .error:visible").eq(0).prev(":input").get(0).focus(); return false } else { return true } } function d() { var o = document.location.search.substring(1).split("&"); var n = {}; for (i = 0; i < o.length; i++) { var m = o[i].split("="); n[m[0]] = m[1] } return n } var c = d(); function g() { f.each({ nvem: function (n) { var m = {}; if (c.hasOwnProperty("nvemt") && /\b\d+\b/.test(c.nvemt)) { m.tabIndex = new Number(c.nvemt) } if (rige.defaultModal.isOpen) { rige.defaultModal.queue = function () { h(n, null, m) } } else { h(n, null, m) } } }, function (n, m) { if (c.hasOwnProperty(n)) { m(c[n]) } }) } f(document).ready(function () { a(); g() }); f(window).load(function () { (function () { if (f.browser.msie && f.browser.version == "7.0") { setTimeout(function () { f("html").scrollLeft(99999999) }, 100) } })() }); return { defaultModal: h }
} (jQuery, rigeOptions);

function str_repeat(b, a) { for (var c = []; a > 0; c[--a] = b) { } return c.join("") } String.prototype.sprintf = function () { var g = 0, k, h = this, d = [], e, b, j, l, n = ""; while (h) { if (e = /^[^\x25]+/.exec(h)) { d.push(e[0]) } else { if (e = /^\x25{2}/.exec(h)) { d.push("%") } else { if (e = /^\x25(?:(\d+)\$)?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-fosuxX])/.exec(h)) { if (((k = arguments[e[1] || g++]) == null) || (k == undefined)) { throw ("Too few arguments.") } if (/[^s]/.test(e[7]) && (typeof (k) != "number")) { throw ("Expecting number but found " + typeof (k)) } switch (e[7]) { case "b": k = k.toString(2); break; case "c": k = String.fromCharCode(k); break; case "d": k = parseInt(k); break; case "e": k = e[6] ? k.toExponential(e[6]) : k.toExponential(); break; case "f": k = e[6] ? parseFloat(k).toFixed(e[6]) : parseFloat(k); break; case "o": k = k.toString(8); break; case "s": k = ((k = String(k)) && e[6] ? k.substring(0, e[6]) : k); break; case "u": k = Math.abs(k); break; case "x": k = k.toString(16); break; case "X": k = k.toString(16).toUpperCase(); break } k = (/[def]/.test(e[7]) && e[2] && k >= 0 ? "+" + k : k); j = e[3] ? e[3] == "0" ? "0" : e[3].charAt(1) : " "; l = e[5] - String(k).length - n.length; b = e[5] ? str_repeat(j, l) : ""; d.push(n + (e[4] ? k + b : b + k)) } else { throw ("Huh ?!") } } } h = h.substring(e[0].length) } return d.join("") };
