/*
* 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(ak, ah) {
    var N = function(a1, a0) { return new N.fn.init(a1, a0) }, F = ak.jQuery, V = ak.$, aU = ak.document, aw, aN = /^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/, aM = /^.[^:#\[\.,]*$/, S = /\S/, aj = /^(\s|\u00A0)+|(\s|\u00A0)+$/g, q = /^<(\w+)\s*\/?>(?:<\/\1>)?$/, am = navigator.userAgent, at, aV = false, P = [], aL, ag = Object.prototype.toString, U = Object.prototype.hasOwnProperty, ai = Array.prototype.push, Z = Array.prototype.slice, aa = Array.prototype.indexOf; N.fn = N.prototype = { init: function(a3, a2) { var a0, a1, a5, a4; if (!a3) { return this } if (a3.nodeType) { this.context = this[0] = a3; this.length = 1; return this } if (a3 === "body" && !a2) { this.context = aU; this[0] = aU.body; this.selector = "body"; this.length = 1; return this } if (typeof a3 === "string") { a0 = aN.exec(a3); if (a0 && (a0[1] || !a2)) { if (a0[1]) { a4 = (a2 ? a2.ownerDocument || a2 : aU); a5 = q.exec(a3); if (a5) { if (N.isPlainObject(a2)) { a3 = [aU.createElement(a5[1])]; N.fn.attr.call(a3, a2, true) } else { a3 = [a4.createElement(a5[1])] } } else { a5 = d([a0[1]], [a4]); a3 = (a5.cacheable ? a5.fragment.cloneNode(true) : a5.fragment).childNodes } return N.merge(this, a3) } else { a1 = aU.getElementById(a0[2]); if (a1) { if (a1.id !== a0[2]) { return aw.find(a3) } this.length = 1; this[0] = a1 } this.context = aU; this.selector = a3; return this } } else { if (!a2 && /^\w+$/.test(a3)) { this.selector = a3; this.context = aU; a3 = aU.getElementsByTagName(a3); return N.merge(this, a3) } else { if (!a2 || a2.jquery) { return (a2 || aw).find(a3) } else { return N(a2).find(a3) } } } } else { if (N.isFunction(a3)) { return aw.ready(a3) } } if (a3.selector !== ah) { this.selector = a3.selector; this.context = a3.context } return N.makeArray(a3, this) }, selector: "", jquery: "1.4.2", length: 0, size: function() { return this.length }, toArray: function() { return Z.call(this, 0) }, get: function(a0) { return a0 == null ? this.toArray() : (a0 < 0 ? this.slice(a0)[0] : this[a0]) }, pushStack: function(a3, a0, a2) { var a1 = N(); if (N.isArray(a3)) { ai.apply(a1, a3) } else { N.merge(a1, a3) } a1.prevObject = this; a1.context = this.context; if (a0 === "find") { a1.selector = this.selector + (this.selector ? " " : "") + a2 } else { if (a0) { a1.selector = this.selector + "." + a0 + "(" + a2 + ")" } } return a1 }, each: function(a1, a0) { return N.each(this, a1, a0) }, ready: function(a0) { N.bindReady(); if (N.isReady) { a0.call(aU, N) } else { if (P) { P.push(a0) } } return this }, eq: function(a0) { return a0 === -1 ? this.slice(a0) : this.slice(a0, +a0 + 1) }, first: function() { return this.eq(0) }, last: function() { return this.eq(-1) }, slice: function() { return this.pushStack(Z.apply(this, arguments), "slice", Z.call(arguments).join(",")) }, map: function(a0) { return this.pushStack(N.map(this, function(a1, a2) { return a0.call(a1, a2, a1) })) }, end: function() { return this.prevObject || N(null) }, push: ai, sort: [].sort, splice: [].splice }; N.fn.init.prototype = N.fn; N.extend = N.fn.extend = function() { var a6 = arguments[0] || {}, a4 = 1, a5 = arguments.length, a2 = false, a0, a1, a8, a3; if (typeof a6 === "boolean") { a2 = a6; a6 = arguments[1] || {}; a4 = 2 } if (typeof a6 !== "object" && !N.isFunction(a6)) { a6 = {} } if (a5 === a4) { a6 = this; --a4 } for (; a4 < a5; a4++) { if ((a0 = arguments[a4]) != null) { for (a1 in a0) { a8 = a6[a1]; a3 = a0[a1]; if (a6 === a3) { continue } if (a2 && a3 && (N.isPlainObject(a3) || N.isArray(a3))) { var a7 = a8 && (N.isPlainObject(a8) || N.isArray(a8)) ? a8 : N.isArray(a3) ? [] : {}; a6[a1] = N.extend(a2, a7, a3) } else { if (a3 !== ah) { a6[a1] = a3 } } } } } return a6 }; N.extend({ noConflict: function(a0) { ak.$ = V; if (a0) { ak.jQuery = F } return N }, isReady: false, ready: function() { if (!N.isReady) { if (!aU.body) { return setTimeout(N.ready, 13) } N.isReady = true; if (P) { var a0, a1 = 0; while ((a0 = P[a1++])) { a0.call(aU, N) } P = null } if (N.fn.triggerHandler) { N(aU).triggerHandler("ready") } } }, bindReady: function() { if (aV) { return } aV = true; if (aU.readyState === "complete") { return N.ready() } if (aU.addEventListener) { aU.addEventListener("DOMContentLoaded", aL, false); ak.addEventListener("load", N.ready, false) } else { if (aU.attachEvent) { aU.attachEvent("onreadystatechange", aL); ak.attachEvent("onload", N.ready); var a0 = false; try { a0 = ak.frameElement == null } catch (a1) { } if (aU.documentElement.doScroll && a0) { H() } } } }, isFunction: function(a0) { return ag.call(a0) === "[object Function]" }, isArray: function(a0) { return ag.call(a0) === "[object Array]" }, isPlainObject: function(a1) { if (!a1 || ag.call(a1) !== "[object Object]" || a1.nodeType || a1.setInterval) { return false } if (a1.constructor && !U.call(a1, "constructor") && !U.call(a1.constructor.prototype, "isPrototypeOf")) { return false } var a0; for (a0 in a1) { } return a0 === ah || U.call(a1, a0) }, isEmptyObject: function(a1) { for (var a0 in a1) { return false } return true }, error: function(a0) { throw a0 }, parseJSON: function(a0) { if (typeof a0 !== "string" || !a0) { return null } a0 = N.trim(a0); if (/^[\],:{}\s]*$/.test(a0.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g, "@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g, "]").replace(/(?:^|:|,)(?:\s*\[)+/g, ""))) { return ak.JSON && ak.JSON.parse ? ak.JSON.parse(a0) : (new Function("return " + a0))() } else { N.error("Invalid JSON: " + a0) } }, noop: function() { }, globalEval: function(a2) { if (a2 && S.test(a2)) { var a0 = aU.getElementsByTagName("head")[0] || aU.documentElement, a1 = aU.createElement("script"); a1.type = "text/javascript"; if (N.support.scriptEval) { a1.appendChild(aU.createTextNode(a2)) } else { a1.text = a2 } a0.insertBefore(a1, a0.firstChild); a0.removeChild(a1) } }, nodeName: function(a1, a0) { return a1.nodeName && a1.nodeName.toUpperCase() === a0.toUpperCase() }, each: function(a2, a7, a4) { var a3, a0 = 0, a5 = a2.length, a6 = a5 === ah || N.isFunction(a2); if (a4) { if (a6) { for (a3 in a2) { if (a7.apply(a2[a3], a4) === false) { break } } } else { for (; a0 < a5; ) { if (a7.apply(a2[a0++], a4) === false) { break } } } } else { if (a6) { for (a3 in a2) { if (a7.call(a2[a3], a3, a2[a3]) === false) { break } } } else { for (var a1 = a2[0]; a0 < a5 && a7.call(a1, a0, a1) !== false; a1 = a2[++a0]) { } } } return a2 }, trim: function(a0) { return (a0 || "").replace(aj, "") }, makeArray: function(a1, a0) { var a2 = a0 || []; if (a1 != null) { if (a1.length == null || typeof a1 === "string" || N.isFunction(a1) || (typeof a1 !== "function" && a1.setInterval)) { ai.call(a2, a1) } else { N.merge(a2, a1) } } return a2 }, inArray: function(a1, a3) { if (a3.indexOf) { return a3.indexOf(a1) } for (var a2 = 0, a0 = a3.length; a2 < a0; a2++) { if (a3[a2] === a1) { return a2 } } return -1 }, merge: function(a0, a1) { var a2 = a0.length, a3 = 0; if (typeof a1.length === "number") { for (var a4 = a1.length; a3 < a4; a3++) { a0[a2++] = a1[a3] } } else { while (a1[a3] !== ah) { a0[a2++] = a1[a3++] } } a0.length = a2; return a0 }, grep: function(a5, a0, a1) { var a2 = []; for (var a3 = 0, a4 = a5.length; a3 < a4; a3++) { if (!a1 !== !a0(a5[a3], a3)) { a2.push(a5[a3]) } } return a2 }, map: function(a6, a0, a4) { var a2 = [], a1; for (var a3 = 0, a5 = a6.length; a3 < a5; a3++) { a1 = a0(a6[a3], a3, a4); if (a1 != null) { a2[a2.length] = a1 } } return a2.concat.apply([], a2) }, guid: 1, proxy: function(a0, a2, a1) { if (arguments.length === 2) { if (typeof a2 === "string") { a1 = a0; a0 = a1[a2]; a2 = ah } else { if (a2 && !N.isFunction(a2)) { a1 = a2; a2 = ah } } } if (!a2 && a0) { a2 = function() { return a0.apply(a1 || this, arguments) } } if (a0) { a2.guid = a0.guid = a0.guid || a2.guid || N.guid++ } return a2 }, uaMatch: function(a1) { a1 = a1.toLowerCase(); var a0 = /(webkit)[ \/]([\w.]+)/.exec(a1) || /(opera)(?:.*version)?[ \/]([\w.]+)/.exec(a1) || /(msie) ([\w.]+)/.exec(a1) || !/compatible/.test(a1) && /(mozilla)(?:.*? rv:([\w.]+))?/.exec(a1) || []; return { browser: a0[1] || "", version: a0[2] || "0"} }, browser: {} }); at = N.uaMatch(am); if (at.browser) { N.browser[at.browser] = true; N.browser.version = at.version } if (N.browser.webkit) { N.browser.safari = true } if (aa) { N.inArray = function(a0, a1) { return aa.call(a1, a0) } } aw = N(aU); if (aU.addEventListener) { aL = function() { aU.removeEventListener("DOMContentLoaded", aL, false); N.ready() } } else { if (aU.attachEvent) { aL = function() { if (aU.readyState === "complete") { aU.detachEvent("onreadystatechange", aL); N.ready() } } } } function H() { if (N.isReady) { return } try { aU.documentElement.doScroll("left") } catch (a0) { setTimeout(H, 1); return } N.ready() } function M(a1, a0) { if (a0.src) { N.ajax({ url: a0.src, async: false, dataType: "script" }) } else { N.globalEval(a0.text || a0.textContent || a0.innerHTML || "") } if (a0.parentNode) { a0.parentNode.removeChild(a0) } } function Q(a4, a2, a3, a5, a8, a7) { var a6 = a4.length; if (typeof a2 === "object") { for (var a1 in a2) { Q(a4, a1, a2[a1], a5, a8, a3) } return a4 } if (a3 !== ah) { a5 = !a7 && a5 && N.isFunction(a3); for (var a0 = 0; a0 < a6; a0++) { a8(a4[a0], a2, a5 ? a3.call(a4[a0], a0, a8(a4[a0], a2)) : a3, a7) } return a4 } return a6 ? a8(a4[0], a2) : ah } function E() { return (new Date).getTime() } (function() { N.support = {}; var a3 = aU.documentElement, a5 = aU.createElement("script"), a9 = aU.createElement("div"), a0 = "script" + E(); a9.style.display = "none"; a9.innerHTML = "   <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>"; var a6 = a9.getElementsByTagName("*"), a2 = a9.getElementsByTagName("a")[0]; if (!a6 || !a6.length || !a2) { return } N.support = { leadingWhitespace: a9.firstChild.nodeType === 3, tbody: !a9.getElementsByTagName("tbody").length, htmlSerialize: !!a9.getElementsByTagName("link").length, style: /red/.test(a2.getAttribute("style")), hrefNormalized: a2.getAttribute("href") === "/a", opacity: /^0.55$/.test(a2.style.opacity), cssFloat: !!a2.style.cssFloat, checkOn: a9.getElementsByTagName("input")[0].value === "on", optSelected: aU.createElement("select").appendChild(aU.createElement("option")).selected, parentNode: a9.removeChild(a9.appendChild(aU.createElement("div"))).parentNode === null, deleteExpando: true, checkClone: false, scriptEval: false, noCloneEvent: true, boxModel: null }; a5.type = "text/javascript"; try { a5.appendChild(aU.createTextNode("window." + a0 + "=1;")) } catch (a4) { } a3.insertBefore(a5, a3.firstChild); if (ak[a0]) { N.support.scriptEval = true; delete ak[a0] } try { delete a5.test } catch (a4) { N.support.deleteExpando = false } a3.removeChild(a5); if (a9.attachEvent && a9.fireEvent) { a9.attachEvent("onclick", function a8() { N.support.noCloneEvent = false; a9.detachEvent("onclick", a8) }); a9.cloneNode(true).fireEvent("onclick") } a9 = aU.createElement("div"); a9.innerHTML = "<input type='radio' name='radiotest' checked='checked'/>"; var a1 = aU.createDocumentFragment(); a1.appendChild(a9.firstChild); N.support.checkClone = a1.cloneNode(true).cloneNode(true).lastChild.checked; N(function() { var ba = aU.createElement("div"); ba.style.width = ba.style.paddingLeft = "1px"; aU.body.appendChild(ba); N.boxModel = N.support.boxModel = ba.offsetWidth === 2; aU.body.removeChild(ba).style.display = "none"; ba = null }); var a7 = function(bb) { var ba = aU.createElement("div"); bb = "on" + bb; var bc = (bb in ba); if (!bc) { ba.setAttribute(bb, "return;"); bc = typeof ba[bb] === "function" } ba = null; return bc }; N.support.submitBubbles = a7("submit"); N.support.changeBubbles = a7("change"); a3 = a5 = a9 = a6 = a2 = null })(); N.props = { "for": "htmlFor", "class": "className", readonly: "readOnly", maxlength: "maxLength", cellspacing: "cellSpacing", rowspan: "rowSpan", colspan: "colSpan", tabindex: "tabIndex", usemap: "useMap", frameborder: "frameBorder" }; var y = "jQuery" + E(), G = 0, af = {}; N.extend({ cache: {}, expando: y, noData: { embed: true, object: true, applet: true }, data: function(a2, a1, a5) { if (a2.nodeName && N.noData[a2.nodeName.toLowerCase()]) { return } a2 = a2 == ak ? af : a2; var a3 = a2[y], a4 = N.cache, a0; if (!a3 && typeof a1 === "string" && a5 === ah) { return null } if (!a3) { a3 = ++G } if (typeof a1 === "object") { a2[y] = a3; a0 = a4[a3] = N.extend(true, {}, a1) } else { if (!a4[a3]) { a2[y] = a3; a4[a3] = {} } } a0 = a4[a3]; if (a5 !== ah) { a0[a1] = a5 } return typeof a1 === "string" ? a0[a1] : a0 }, removeData: function(a2, a1) { if (a2.nodeName && N.noData[a2.nodeName.toLowerCase()]) { return } a2 = a2 == ak ? af : a2; var a3 = a2[y], a4 = N.cache, a0 = a4[a3]; if (a1) { if (a0) { delete a0[a1]; if (N.isEmptyObject(a0)) { N.removeData(a2) } } } else { if (N.support.deleteExpando) { delete a2[N.expando] } else { if (a2.removeAttribute) { a2.removeAttribute(N.expando) } } delete a4[a3] } } }); N.fn.extend({ data: function(a1, a0) { if (typeof a1 === "undefined" && this.length) { return N.data(this[0]) } else { if (typeof a1 === "object") { return this.each(function() { N.data(this, a1) }) } } var a2 = a1.split("."); a2[1] = a2[1] ? "." + a2[1] : ""; if (a0 === ah) { var a3 = this.triggerHandler("getData" + a2[1] + "!", [a2[0]]); if (a3 === ah && this.length) { a3 = N.data(this[0], a1) } return a3 === ah && a2[1] ? this.data(a2[0]) : a3 } else { return this.trigger("setData" + a2[1] + "!", [a2[0], a0]).each(function() { N.data(this, a1, a0) }) } }, removeData: function(a0) { return this.each(function() { N.removeData(this, a0) }) } }); N.extend({ queue: function(a0, a1, a3) { if (!a0) { return } a1 = (a1 || "fx") + "queue"; var a2 = N.data(a0, a1); if (!a3) { return a2 || [] } if (!a2 || N.isArray(a3)) { a2 = N.data(a0, a1, N.makeArray(a3)) } else { a2.push(a3) } return a2 }, dequeue: function(a1, a2) { a2 = a2 || "fx"; var a3 = N.queue(a1, a2), a0 = a3.shift(); if (a0 === "inprogress") { a0 = a3.shift() } if (a0) { if (a2 === "fx") { a3.unshift("inprogress") } a0.call(a1, function() { N.dequeue(a1, a2) }) } } }); N.fn.extend({ queue: function(a0, a1) { if (typeof a0 !== "string") { a1 = a0; a0 = "fx" } if (a1 === ah) { return N.queue(this[0], a0) } return this.each(function(a4, a3) { var a2 = N.queue(this, a0, a1); if (a0 === "fx" && a2[0] !== "inprogress") { N.dequeue(this, a0) } }) }, dequeue: function(a0) { return this.each(function() { N.dequeue(this, a0) }) }, delay: function(a1, a0) { a1 = N.fx ? N.fx.speeds[a1] || a1 : a1; a0 = a0 || "fx"; return this.queue(a0, function() { var a2 = this; setTimeout(function() { N.dequeue(a2, a0) }, a1) }) }, clearQueue: function(a0) { return this.queue(a0 || "fx", []) } }); var c = /[\n\t]/g, aD = /\s+/, aK = /\r/g, B = /href|src|style/, f = /(button|input)/i, aC = /(button|input|object|select|textarea)/i, w = /^(a|area)$/i, av = /radio|checkbox/; N.fn.extend({ attr: function(a0, a1) { return Q(this, a0, a1, true, N.attr) }, removeAttr: function(a1, a0) { return this.each(function() { N.attr(this, a1, ""); if (this.nodeType === 1) { this.removeAttribute(a1) } }) }, addClass: function(a3) { if (N.isFunction(a3)) { return this.each(function(ba) { var a9 = N(this); a9.addClass(a3.call(this, ba, a9.attr("class"))) }) } if (a3 && typeof a3 === "string") { var a1 = (a3 || "").split(aD); for (var a0 = 0, a2 = this.length; a0 < a2; a0++) { var a7 = this[a0]; if (a7.nodeType === 1) { if (!a7.className) { a7.className = a3 } else { var a8 = " " + a7.className + " ", a6 = a7.className; for (var a5 = 0, a4 = a1.length; a5 < a4; a5++) { if (a8.indexOf(" " + a1[a5] + " ") < 0) { a6 += " " + a1[a5] } } a7.className = N.trim(a6) } } } } return this }, removeClass: function(a3) { if (N.isFunction(a3)) { return this.each(function(a9) { var a8 = N(this); a8.removeClass(a3.call(this, a9, a8.attr("class"))) }) } if ((a3 && typeof a3 === "string") || a3 === ah) { var a1 = (a3 || "").split(aD); for (var a0 = 0, a2 = this.length; a0 < a2; a0++) { var a6 = this[a0]; if (a6.nodeType === 1 && a6.className) { if (a3) { var a7 = (" " + a6.className + " ").replace(c, " "); for (var a5 = 0, a4 = a1.length; a5 < a4; a5++) { a7 = a7.replace(" " + a1[a5] + " ", " ") } a6.className = N.trim(a7) } else { a6.className = "" } } } } return this }, toggleClass: function(a0, a1) { var a2 = typeof a0, a3 = typeof a1 === "boolean"; if (N.isFunction(a0)) { return this.each(function(a5) { var a4 = N(this); a4.toggleClass(a0.call(this, a5, a4.attr("class"), a1), a1) }) } return this.each(function() { if (a2 === "string") { var a5, a7 = 0, a6 = N(this), a4 = a1, a8 = a0.split(aD); while ((a5 = a8[a7++])) { a4 = a3 ? a4 : !a6.hasClass(a5); a6[a4 ? "addClass" : "removeClass"](a5) } } else { if (a2 === "undefined" || a2 === "boolean") { if (this.className) { N.data(this, "__className__", this.className) } this.className = this.className || a0 === false ? "" : N.data(this, "__className__") || "" } } }) }, hasClass: function(a1) { var a0 = " " + a1 + " "; for (var a2 = 0, a3 = this.length; a2 < a3; a2++) { if ((" " + this[a2].className + " ").replace(c, " ").indexOf(a0) > -1) { return true } } return false }, val: function(a2) { if (a2 === ah) { var a8 = this[0]; if (a8) { if (N.nodeName(a8, "option")) { return (a8.attributes.value || {}).specified ? a8.value : a8.text } if (N.nodeName(a8, "select")) { var a3 = a8.selectedIndex, a4 = [], a0 = a8.options, a7 = a8.type === "select-one"; if (a3 < 0) { return null } for (var a6 = a7 ? a3 : 0, a9 = a7 ? a3 + 1 : a0.length; a6 < a9; a6++) { var a5 = a0[a6]; if (a5.selected) { a2 = N(a5).val(); if (a7) { return a2 } a4.push(a2) } } return a4 } if (av.test(a8.type) && !N.support.checkOn) { return a8.getAttribute("value") === null ? "on" : a8.value } return (a8.value || "").replace(aK, "") } return ah } var a1 = N.isFunction(a2); return this.each(function(bb) { var ba = N(this), bc = a2; if (this.nodeType !== 1) { return } if (a1) { bc = a2.call(this, bb, ba.val()) } if (typeof bc === "number") { bc += "" } if (N.isArray(bc) && av.test(this.type)) { this.checked = N.inArray(ba.val(), bc) >= 0 } else { if (N.nodeName(this, "select")) { var bd = N.makeArray(bc); N("option", this).each(function() { this.selected = N.inArray(N(this).val(), bd) >= 0 }); if (!bd.length) { this.selectedIndex = -1 } } else { this.value = bc } } }) } }); N.extend({ attrFn: { val: true, css: true, html: true, text: true, data: true, width: true, height: true, offset: true }, attr: function(a5, a1, a3, a0) { if (!a5 || a5.nodeType === 3 || a5.nodeType === 8) { return ah } if (a0 && a1 in N.attrFn) { return N(a5)[a1](a3) } var a9 = a5.nodeType !== 1 || !N.isXMLDoc(a5), a2 = a3 !== ah; a1 = a9 && N.props[a1] || a1; if (a5.nodeType === 1) { var a8 = B.test(a1); if (a1 === "selected" && !N.support.optSelected) { var a7 = a5.parentNode; if (a7) { a7.selectedIndex; if (a7.parentNode) { a7.parentNode.selectedIndex } } } if (a1 in a5 && a9 && !a8) { if (a2) { if (a1 === "type" && f.test(a5.nodeName) && a5.parentNode) { N.error("type property can't be changed") } a5[a1] = a3 } if (N.nodeName(a5, "form") && a5.getAttributeNode(a1)) { return a5.getAttributeNode(a1).nodeValue } if (a1 === "tabIndex") { var a6 = a5.getAttributeNode("tabIndex"); return a6 && a6.specified ? a6.value : aC.test(a5.nodeName) || w.test(a5.nodeName) && a5.href ? 0 : ah } return a5[a1] } if (!N.support.style && a9 && a1 === "style") { if (a2) { a5.style.cssText = "" + a3 } return a5.style.cssText } if (a2) { a5.setAttribute(a1, "" + a3) } var a4 = !N.support.hrefNormalized && a9 && a8 ? a5.getAttribute(a1, 2) : a5.getAttribute(a1); return a4 === null ? ah : a4 } return N.style(a5, a1, a3) } }); var aT = /\.(.*)$/, an = function(a0) { return a0.replace(/[^\w\s\.\|`]/g, function(a1) { return "\\" + a1 }) }; N.event = { add: function(bc, a3, bd, a7) { if (bc.nodeType === 3 || bc.nodeType === 8) { return } if (bc.setInterval && (bc !== ak && !bc.frameElement)) { bc = ak } var a4, a5; if (bd.handler) { a4 = bd; bd = a4.handler } if (!bd.guid) { bd.guid = N.guid++ } var a9 = N.data(bc); if (!a9) { return } var a6 = a9.events = a9.events || {}, ba = a9.handle, ba; if (!ba) { a9.handle = ba = function() { return typeof N !== "undefined" && !N.event.triggered ? N.event.handle.apply(ba.elem, arguments) : ah } } ba.elem = bc; a3 = a3.split(" "); var a1, a0 = 0, a8; while ((a1 = a3[a0++])) { a5 = a4 ? N.extend({}, a4) : { handler: bd, data: a7 }; if (a1.indexOf(".") > -1) { a8 = a1.split("."); a1 = a8.shift(); a5.namespace = a8.slice(0).sort().join(".") } else { a8 = []; a5.namespace = "" } a5.type = a1; a5.guid = bd.guid; var a2 = a6[a1], bb = N.event.special[a1] || {}; if (!a2) { a2 = a6[a1] = []; if (!bb.setup || bb.setup.call(bc, a7, a8, ba) === false) { if (bc.addEventListener) { bc.addEventListener(a1, ba, false) } else { if (bc.attachEvent) { bc.attachEvent("on" + a1, ba) } } } } if (bb.add) { bb.add.call(bc, a5); if (!a5.handler.guid) { a5.handler.guid = bd.guid } } a2.push(a5); N.event.global[a1] = true } bc = null }, global: {}, remove: function(a0, bb, bf, bh) { if (a0.nodeType === 3 || a0.nodeType === 8) { return } var a3, a1, ba, a5 = 0, bc, a8, bg, a4, a2, a9, bd, bi = N.data(a0), be = bi && bi.events; if (!bi || !be) { return } if (bb && bb.type) { bf = bb.handler; bb = bb.type } if (!bb || typeof bb === "string" && bb.charAt(0) === ".") { bb = bb || ""; for (a1 in be) { N.event.remove(a0, a1 + bb) } return } bb = bb.split(" "); while ((a1 = bb[a5++])) { bd = a1; a9 = null; bc = a1.indexOf(".") < 0; a8 = []; if (!bc) { a8 = a1.split("."); a1 = a8.shift(); bg = new RegExp("(^|\\.)" + N.map(a8.slice(0).sort(), an).join("\\.(?:.*\\.)?") + "(\\.|$)") } a2 = be[a1]; if (!a2) { continue } if (!bf) { for (var a6 = 0; a6 < a2.length; a6++) { a9 = a2[a6]; if (bc || bg.test(a9.namespace)) { N.event.remove(a0, bd, a9.handler, a6); a2.splice(a6--, 1) } } continue } a4 = N.event.special[a1] || {}; for (var a6 = bh || 0; a6 < a2.length; a6++) { a9 = a2[a6]; if (bf.guid === a9.guid) { if (bc || bg.test(a9.namespace)) { if (bh == null) { a2.splice(a6--, 1) } if (a4.remove) { a4.remove.call(a0, a9) } } if (bh != null) { break } } } if (a2.length === 0 || bh != null && a2.length === 1) { if (!a4.teardown || a4.teardown.call(a0, a8) === false) { t(a0, a1, bi.handle) } a3 = null; delete be[a1] } } if (N.isEmptyObject(be)) { var a7 = bi.handle; if (a7) { a7.elem = null } delete bi.events; delete bi.handle; if (N.isEmptyObject(bi)) { N.removeData(a0) } } }, trigger: function(a4, a5, ba) { var a2 = a4.type || a4, a6 = arguments[3]; if (!a6) { a4 = typeof a4 === "object" ? a4[y] ? a4 : N.extend(N.Event(a2), a4) : N.Event(a2); if (a2.indexOf("!") >= 0) { a4.type = a2 = a2.slice(0, -1); a4.exclusive = true } if (!ba) { a4.stopPropagation(); if (N.event.global[a2]) { N.each(N.cache, function() { if (this.events && this.events[a2]) { N.event.trigger(a4, a5, this.handle.elem) } }) } } if (!ba || ba.nodeType === 3 || ba.nodeType === 8) { return ah } a4.result = ah; a4.target = ba; a5 = N.makeArray(a5); a5.unshift(a4) } a4.currentTarget = ba; var a8 = N.data(ba, "handle"); if (a8) { a8.apply(ba, a5) } var a9 = ba.parentNode || ba.ownerDocument; try { if (!(ba && ba.nodeName && N.noData[ba.nodeName.toLowerCase()])) { if (ba["on" + a2] && ba["on" + a2].apply(ba, a5) === false) { a4.result = false } } } catch (a7) { } if (!a4.isPropagationStopped() && a9) { N.event.trigger(a4, a5, a9, true) } else { if (!a4.isDefaultPrevented()) { var a0 = a4.target, a1, bb = N.nodeName(a0, "a") && a2 === "click", a3 = N.event.special[a2] || {}; if ((!a3._default || a3._default.call(ba, a4) === false) && !bb && !(a0 && a0.nodeName && N.noData[a0.nodeName.toLowerCase()])) { try { if (a0[a2]) { a1 = a0["on" + a2]; if (a1) { a0["on" + a2] = null } N.event.triggered = true; a0[a2]() } } catch (a7) { } if (a1) { a0["on" + a2] = a1 } N.event.triggered = false } } } }, handle: function(a4) { var a8, a7, a6, a1, a5; a4 = arguments[0] = N.event.fix(a4 || ak.event); a4.currentTarget = this; a8 = a4.type.indexOf(".") < 0 && !a4.exclusive; if (!a8) { a6 = a4.type.split("."); a4.type = a6.shift(); a1 = new RegExp("(^|\\.)" + a6.slice(0).sort().join("\\.(?:.*\\.)?") + "(\\.|$)") } var a5 = N.data(this, "events"), a7 = a5[a4.type]; if (a5 && a7) { a7 = a7.slice(0); for (var a0 = 0, a2 = a7.length; a0 < a2; a0++) { var a9 = a7[a0]; if (a8 || a1.test(a9.namespace)) { a4.handler = a9.handler; a4.data = a9.data; a4.handleObj = a9; var a3 = a9.handler.apply(this, arguments); if (a3 !== ah) { a4.result = a3; if (a3 === false) { a4.preventDefault(); a4.stopPropagation() } } if (a4.isImmediatePropagationStopped()) { break } } } } return a4.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(a3) { if (a3[y]) { return a3 } var a2 = a3; a3 = N.Event(a2); for (var a4 = this.props.length, a5; a4; ) { a5 = this.props[--a4]; a3[a5] = a2[a5] } if (!a3.target) { a3.target = a3.srcElement || aU } if (a3.target.nodeType === 3) { a3.target = a3.target.parentNode } if (!a3.relatedTarget && a3.fromElement) { a3.relatedTarget = a3.fromElement === a3.target ? a3.toElement : a3.fromElement } if (a3.pageX == null && a3.clientX != null) { var a1 = aU.documentElement, a0 = aU.body; a3.pageX = a3.clientX + (a1 && a1.scrollLeft || a0 && a0.scrollLeft || 0) - (a1 && a1.clientLeft || a0 && a0.clientLeft || 0); a3.pageY = a3.clientY + (a1 && a1.scrollTop || a0 && a0.scrollTop || 0) - (a1 && a1.clientTop || a0 && a0.clientTop || 0) } if (!a3.which && ((a3.charCode || a3.charCode === 0) ? a3.charCode : a3.keyCode)) { a3.which = a3.charCode || a3.keyCode } if (!a3.metaKey && a3.ctrlKey) { a3.metaKey = a3.ctrlKey } if (!a3.which && a3.button !== ah) { a3.which = (a3.button & 1 ? 1 : (a3.button & 2 ? 3 : (a3.button & 4 ? 2 : 0))) } return a3 }, guid: 100000000, proxy: N.proxy, special: { ready: { setup: N.bindReady, teardown: N.noop }, live: { add: function(a0) { N.event.add(this, a0.origType, N.extend({}, a0, { handler: aq })) }, remove: function(a2) { var a1 = true, a0 = a2.origType.replace(aT, ""); N.each(N.data(this, "events").live || [], function() { if (a0 === this.origType.replace(aT, "")) { a1 = false; return false } }); if (a1) { N.event.remove(this, a2.origType, aq) } } }, beforeunload: { setup: function(a2, a0, a1) { if (this.setInterval) { this.onbeforeunload = a1 } return false }, teardown: function(a0, a1) { if (this.onbeforeunload === a1) { this.onbeforeunload = null } } }} }; var t = aU.removeEventListener ? function(a0, a1, a2) { a0.removeEventListener(a1, a2, false) } : function(a0, a1, a2) { a0.detachEvent("on" + a1, a2) }; N.Event = function(a0) { if (!this.preventDefault) { return new N.Event(a0) } if (a0 && a0.type) { this.originalEvent = a0; this.type = a0.type } else { this.type = a0 } this.timeStamp = E(); this[y] = true }; function aG() { return false } function ac() { return true } N.Event.prototype = { preventDefault: function() { this.isDefaultPrevented = ac; var a0 = this.originalEvent; if (!a0) { return } if (a0.preventDefault) { a0.preventDefault() } a0.returnValue = false }, stopPropagation: function() { this.isPropagationStopped = ac; var a0 = this.originalEvent; if (!a0) { return } if (a0.stopPropagation) { a0.stopPropagation() } a0.cancelBubble = true }, stopImmediatePropagation: function() { this.isImmediatePropagationStopped = ac; this.stopPropagation() }, isDefaultPrevented: aG, isPropagationStopped: aG, isImmediatePropagationStopped: aG }; var R = function(a1) { var a0 = a1.relatedTarget; try { while (a0 && a0 !== this) { a0 = a0.parentNode } if (a0 !== this) { a1.type = a1.data; N.event.handle.apply(this, arguments) } } catch (a2) { } }, aX = function(a0) { a0.type = a0.data; N.event.handle.apply(this, arguments) }; N.each({ mouseenter: "mouseover", mouseleave: "mouseout" }, function(a1, a0) { N.event.special[a1] = { setup: function(a2) { N.event.add(this, a0, a2 && a2.selector ? aX : R, a1) }, teardown: function(a2) { N.event.remove(this, a0, a2 && a2.selector ? aX : R) } } }); if (!N.support.submitBubbles) { N.event.special.submit = { setup: function(a1, a0) { if (this.nodeName.toLowerCase() !== "form") { N.event.add(this, "click.specialSubmit", function(a4) { var a2 = a4.target, a3 = a2.type; if ((a3 === "submit" || a3 === "image") && N(a2).closest("form").length) { return J("submit", this, arguments) } }); N.event.add(this, "keypress.specialSubmit", function(a4) { var a2 = a4.target, a3 = a2.type; if ((a3 === "text" || a3 === "password") && N(a2).closest("form").length && a4.keyCode === 13) { return J("submit", this, arguments) } }) } else { return false } }, teardown: function(a0) { N.event.remove(this, ".specialSubmit") } } } if (!N.support.changeBubbles) { var aS = /textarea|input|select/i, aY, g = function(a0) { var a1 = a0.type, a2 = a0.value; if (a1 === "radio" || a1 === "checkbox") { a2 = a0.checked } else { if (a1 === "select-multiple") { a2 = a0.selectedIndex > -1 ? N.map(a0.options, function(a3) { return a3.selected }).join("-") : "" } else { if (a0.nodeName.toLowerCase() === "select") { a2 = a0.selectedIndex } } } return a2 }, aZ = function aZ(a1) { var a0 = a1.target, a3, a2; if (!aS.test(a0.nodeName) || a0.readOnly) { return } a3 = N.data(a0, "_change_data"); a2 = g(a0); if (a1.type !== "focusout" || a0.type !== "radio") { N.data(a0, "_change_data", a2) } if (a3 === ah || a2 === a3) { return } if (a3 != null || a2) { a1.type = "change"; return N.event.trigger(a1, arguments[1], a0) } }; N.event.special.change = { filters: { focusout: aZ, click: function(a2) { var a0 = a2.target, a1 = a0.type; if (a1 === "radio" || a1 === "checkbox" || a0.nodeName.toLowerCase() === "select") { return aZ.call(this, a2) } }, keydown: function(a2) { var a0 = a2.target, a1 = a0.type; if ((a2.keyCode === 13 && a0.nodeName.toLowerCase() !== "textarea") || (a2.keyCode === 32 && (a1 === "checkbox" || a1 === "radio")) || a1 === "select-multiple") { return aZ.call(this, a2) } }, beforeactivate: function(a1) { var a0 = a1.target; N.data(a0, "_change_data", g(a0)) } }, setup: function(a2, a0) { if (this.type === "file") { return false } for (var a1 in aY) { N.event.add(this, a1 + ".specialChange", aY[a1]) } return aS.test(this.nodeName) }, teardown: function(a0) { N.event.remove(this, ".specialChange"); return aS.test(this.nodeName) } }; aY = N.event.special.change.filters } function J(a2, a1, a0) { a0[0].type = a2; return N.event.handle.apply(a1, a0) } if (aU.addEventListener) { N.each({ focus: "focusin", blur: "focusout" }, function(a1, a0) { N.event.special[a0] = { setup: function() { this.addEventListener(a1, a2, true) }, teardown: function() { this.removeEventListener(a1, a2, true) } }; function a2(a3) { a3 = N.event.fix(a3); a3.type = a0; return N.event.handle.call(this, a3) } }) } N.each(["bind", "one"], function(a1, a0) { N.fn[a0] = function(a5, a8, a2) { if (typeof a5 === "object") { for (var a3 in a5) { this[a0](a3, a8, a5[a3], a2) } return this } if (N.isFunction(a8)) { a2 = a8; a8 = ah } var a4 = a0 === "one" ? N.proxy(a2, function(a9) { N(this).unbind(a9, a4); return a2.apply(this, arguments) }) : a2; if (a5 === "unload" && a0 !== "one") { this.one(a5, a8, a2) } else { for (var a7 = 0, a6 = this.length; a7 < a6; a7++) { N.event.add(this[a7], a5, a4, a8) } } return this } }); N.fn.extend({ unbind: function(a2, a0) { if (typeof a2 === "object" && !a2.preventDefault) { for (var a1 in a2) { this.unbind(a1, a2[a1]) } } else { for (var a3 = 0, a4 = this.length; a3 < a4; a3++) { N.event.remove(this[a3], a2, a0) } } return this }, delegate: function(a1, a2, a3, a0) { return this.live(a2, a3, a0, a1) }, undelegate: function(a1, a2, a0) { if (arguments.length === 0) { return this.unbind("live") } else { return this.die(a2, null, a0, a1) } }, trigger: function(a0, a1) { return this.each(function() { N.event.trigger(a0, a1, this) }) }, triggerHandler: function(a1, a2) { if (this[0]) { var a0 = N.Event(a1); a0.preventDefault(); a0.stopPropagation(); N.event.trigger(a0, a2, this[0]); return a0.result } }, toggle: function(a0) { var a1 = arguments, a2 = 1; while (a2 < a1.length) { N.proxy(a0, a1[a2++]) } return this.click(N.proxy(a0, function(a4) { var a3 = (N.data(this, "lastToggle" + a0.guid) || 0) % a2; N.data(this, "lastToggle" + a0.guid, a3 + 1); a4.preventDefault(); return a1[a3].apply(this, arguments) || false })) }, hover: function(a1, a0) { return this.mouseenter(a1).mouseleave(a0 || a1) } }); var u = { focus: "focusin", blur: "focusout", mouseenter: "mouseover", mouseleave: "mouseout" }; N.each(["live", "die"], function(a1, a0) { N.fn[a0] = function(a4, a7, a5, bc) { var a6, a2 = 0, a9, a8, a3, bb = bc || this.selector, ba = bc ? this : N(this.context); if (N.isFunction(a7)) { a5 = a7; a7 = ah } a4 = (a4 || "").split(" "); while ((a6 = a4[a2++]) != null) { a9 = aT.exec(a6); a8 = ""; if (a9) { a8 = a9[0]; a6 = a6.replace(aT, "") } if (a6 === "hover") { a4.push("mouseenter" + a8, "mouseleave" + a8); continue } a3 = a6; if (a6 === "focus" || a6 === "blur") { a4.push(u[a6] + a8); a6 = a6 + a8 } else { a6 = (u[a6] || a6) + a8 } if (a0 === "live") { ba.each(function() { N.event.add(this, D(a6, bb), { data: a7, selector: bb, handler: a5, origType: a6, origHandler: a5, preType: a3 }) }) } else { ba.unbind(D(a6, bb), a5) } } return this } }); function aq(a4) { var a1, a5 = [], a9 = [], a8 = arguments, bd, ba, bc, a6, bb, a0, a2, a3, a7 = N.data(this, "events"); if (a4.liveFired === this || !a7 || !a7.live || a4.button && a4.type === "click") { return } a4.liveFired = this; var be = a7.live.slice(0); for (bb = 0; bb < be.length; bb++) { bc = be[bb]; if (bc.origType.replace(aT, "") === a4.type) { a9.push(bc.selector) } else { be.splice(bb--, 1) } } ba = N(a4.target).closest(a9, a4.currentTarget); for (a0 = 0, a2 = ba.length; a0 < a2; a0++) { for (bb = 0; bb < be.length; bb++) { bc = be[bb]; if (ba[a0].selector === bc.selector) { a6 = ba[a0].elem; bd = null; if (bc.preType === "mouseenter" || bc.preType === "mouseleave") { bd = N(a4.relatedTarget).closest(bc.selector)[0] } if (!bd || bd !== a6) { a5.push({ elem: a6, handleObj: bc }) } } } } for (a0 = 0, a2 = a5.length; a0 < a2; a0++) { ba = a5[a0]; a4.currentTarget = ba.elem; a4.data = ba.handleObj.data; a4.handleObj = ba.handleObj; if (ba.handleObj.origHandler.apply(ba.elem, a8) === false) { a1 = false; break } } return a1 } function D(a0, a1) { return "live." + (a0 && a0 !== "*" ? a0 + "." : "") + a1.replace(/\./g, "`").replace(/ /g, "&") } N.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(a1, a0) { N.fn[a0] = function(a2) { return a2 ? this.bind(a0, a2) : this.trigger(a0) }; if (N.attrFn) { N.attrFn[a0] = true } }); if (ak.attachEvent && !ak.addEventListener) {
        ak.attachEvent("onunload", function() { for (var a1 in N.cache) { if (N.cache[a1].handle) { try { N.event.remove(N.cache[a1].handle.elem) } catch (a0) { } } } });
        /*
        * Sizzle CSS Selector Engine - v1.0
        *  Copyright 2009, The Dojo Foundation
        *  Released under the MIT, BSD, and GPL Licenses.
        *  More information: http://sizzlejs.com/
        */
    } (function() { var bf = /((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g, a2 = 0, a3 = Object.prototype.toString, bb = false, bc = true; [0, 0].sort(function() { bc = false; return 0 }); var a1 = function(bu, bx, bj, bk) { bj = bj || []; var bv = bx = bx || aU; if (bx.nodeType !== 1 && bx.nodeType !== 9) { return [] } if (!bu || typeof bu !== "string") { return bj } var bt = [], bp, bs, bw, bo, bm = true, by = a4(bx), bq = bu; while ((bf.exec(""), bp = bf.exec(bq)) !== null) { bq = bp[3]; bt.push(bp[1]); if (bp[2]) { bo = bp[3]; break } } if (bt.length > 1 && be.exec(bu)) { if (bt.length === 2 && a6.relative[bt[0]]) { bs = a7(bt[0] + bt[1], bx) } else { bs = a6.relative[bt[0]] ? [bx] : a1(bt.shift(), bx); while (bt.length) { bu = bt.shift(); if (a6.relative[bu]) { bu += bt.shift() } bs = a7(bu, bs) } } } else { if (!bk && bt.length > 1 && bx.nodeType === 9 && !by && a6.match.ID.test(bt[0]) && !a6.match.ID.test(bt[bt.length - 1])) { var bl = a1.find(bt.shift(), bx, by); bx = bl.expr ? a1.filter(bl.expr, bl.set)[0] : bl.set[0] } if (bx) { var bl = bk ? { expr: bt.pop(), set: bd(bk)} : a1.find(bt.pop(), bt.length === 1 && (bt[0] === "~" || bt[0] === "+") && bx.parentNode ? bx.parentNode : bx, by); bs = bl.expr ? a1.filter(bl.expr, bl.set) : bl.set; if (bt.length > 0) { bw = bd(bs) } else { bm = false } while (bt.length) { var bi = bt.pop(), br = bi; if (!a6.relative[bi]) { bi = "" } else { br = bt.pop() } if (br == null) { br = bx } a6.relative[bi](bw, br, by) } } else { bw = bt = [] } } if (!bw) { bw = bs } if (!bw) { a1.error(bi || bu) } if (a3.call(bw) === "[object Array]") { if (!bm) { bj.push.apply(bj, bw) } else { if (bx && bx.nodeType === 1) { for (var bn = 0; bw[bn] != null; bn++) { if (bw[bn] && (bw[bn] === true || bw[bn].nodeType === 1 && a9(bx, bw[bn]))) { bj.push(bs[bn]) } } } else { for (var bn = 0; bw[bn] != null; bn++) { if (bw[bn] && bw[bn].nodeType === 1) { bj.push(bs[bn]) } } } } } else { bd(bw, bj) } if (bo) { a1(bo, bv, bj, bk); a1.uniqueSort(bj) } return bj }; a1.uniqueSort = function(bj) { if (a5) { bb = bc; bj.sort(a5); if (bb) { for (var bi = 1; bi < bj.length; bi++) { if (bj[bi] === bj[bi - 1]) { bj.splice(bi--, 1) } } } } return bj }; a1.matches = function(bj, bi) { return a1(bj, null, null, bi) }; a1.find = function(bq, bp, bn) { var bl, bo; if (!bq) { return [] } for (var bi = 0, bk = a6.order.length; bi < bk; bi++) { var bm = a6.order[bi], bo; if ((bo = a6.leftMatch[bm].exec(bq))) { var bj = bo[1]; bo.splice(1, 1); if (bj.substr(bj.length - 1) !== "\\") { bo[1] = (bo[1] || "").replace(/\\/g, ""); bl = a6.find[bm](bo, bp, bn); if (bl != null) { bq = bq.replace(a6.match[bm], ""); break } } } } if (!bl) { bl = bp.getElementsByTagName("*") } return { set: bl, expr: bq} }; a1.filter = function(bk, bm, bv, bl) { var bq = bk, br = [], bi = bm, bt, bw, bn = bm && bm[0] && a4(bm[0]); while (bk && bm.length) { for (var bj in a6.filter) { if ((bt = a6.leftMatch[bj].exec(bk)) != null && bt[2]) { var bs = a6.filter[bj], bo, bu, by = bt[1]; bw = false; bt.splice(1, 1); if (by.substr(by.length - 1) === "\\") { continue } if (bi === br) { br = [] } if (a6.preFilter[bj]) { bt = a6.preFilter[bj](bt, bi, bv, br, bl, bn); if (!bt) { bw = bo = true } else { if (bt === true) { continue } } } if (bt) { for (var bp = 0; (bu = bi[bp]) != null; bp++) { if (bu) { bo = bs(bu, bt, bp, bi); var bx = bl ^ !!bo; if (bv && bo != null) { if (bx) { bw = true } else { bi[bp] = false } } else { if (bx) { br.push(bu); bw = true } } } } } if (bo !== ah) { if (!bv) { bi = br } bk = bk.replace(a6.match[bj], ""); if (!bw) { return [] } break } } } if (bk === bq) { if (bw == null) { a1.error(bk) } else { break } } bq = bk } return bi }; a1.error = function(bi) { throw "Syntax error, unrecognized expression: " + bi }; var a6 = a1.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(bi) { return bi.getAttribute("href") } }, relative: { "+": function(bp, bl) { var bm = typeof bl === "string", bn = bm && !/\W/.test(bl), bj = bm && !bn; if (bn) { bl = bl.toLowerCase() } for (var bi = 0, bk = bp.length, bo; bi < bk; bi++) { if ((bo = bp[bi])) { while ((bo = bo.previousSibling) && bo.nodeType !== 1) { } bp[bi] = bj || bo && bo.nodeName.toLowerCase() === bl ? bo || false : bo === bl } } if (bj) { a1.filter(bl, bp, true) } }, ">": function(bl, bm) { var bn = typeof bm === "string"; if (bn && !/\W/.test(bm)) { bm = bm.toLowerCase(); for (var bj = 0, bo = bl.length; bj < bo; bj++) { var bk = bl[bj]; if (bk) { var bi = bk.parentNode; bl[bj] = bi.nodeName.toLowerCase() === bm ? bi : false } } } else { for (var bj = 0, bo = bl.length; bj < bo; bj++) { var bk = bl[bj]; if (bk) { bl[bj] = bn ? bk.parentNode : bk.parentNode === bm } } if (bn) { a1.filter(bm, bl, true) } } }, "": function(bk, bl, bn) { var bj = a2++, bi = ba; if (typeof bl === "string" && !/\W/.test(bl)) { var bm = bl = bl.toLowerCase(); bi = bg } bi("parentNode", bl, bj, bk, bm, bn) }, "~": function(bk, bl, bn) { var bj = a2++, bi = ba; if (typeof bl === "string" && !/\W/.test(bl)) { var bm = bl = bl.toLowerCase(); bi = bg } bi("previousSibling", bl, bj, bk, bm, bn) } }, find: { ID: function(bj, bl, bi) { if (typeof bl.getElementById !== "undefined" && !bi) { var bk = bl.getElementById(bj[1]); return bk ? [bk] : [] } }, NAME: function(bi, bm) { if (typeof bm.getElementsByName !== "undefined") { var bn = [], bl = bm.getElementsByName(bi[1]); for (var bk = 0, bj = bl.length; bk < bj; bk++) { if (bl[bk].getAttribute("name") === bi[1]) { bn.push(bl[bk]) } } return bn.length === 0 ? null : bn } }, TAG: function(bi, bj) { return bj.getElementsByTagName(bi[1]) } }, preFilter: { CLASS: function(bn, bp, bk, bj, bl, bm) { bn = " " + bn[1].replace(/\\/g, "") + " "; if (bm) { return bn } for (var bi = 0, bo; (bo = bp[bi]) != null; bi++) { if (bo) { if (bl ^ (bo.className && (" " + bo.className + " ").replace(/[\t\n]/g, " ").indexOf(bn) >= 0)) { if (!bk) { bj.push(bo) } } else { if (bk) { bp[bi] = false } } } } return false }, ID: function(bi) { return bi[1].replace(/\\/g, "") }, TAG: function(bi, bj) { return bi[1].toLowerCase() }, CHILD: function(bi) { if (bi[1] === "nth") { var bj = /(-?)(\d*)n((?:\+|-)?\d*)/.exec(bi[2] === "even" && "2n" || bi[2] === "odd" && "2n+1" || !/\D/.test(bi[2]) && "0n+" + bi[2] || bi[2]); bi[2] = (bj[1] + (bj[2] || 1)) - 0; bi[3] = bj[3] - 0 } bi[0] = a2++; return bi }, ATTR: function(bl, bm, bo, bk, bj, bi) { var bn = bl[1].replace(/\\/g, ""); if (!bi && a6.attrMap[bn]) { bl[1] = a6.attrMap[bn] } if (bl[2] === "~=") { bl[4] = " " + bl[4] + " " } return bl }, PSEUDO: function(bk, bl, bm, bj, bi) { if (bk[1] === "not") { if ((bf.exec(bk[3]) || "").length > 1 || /^\w/.test(bk[3])) { bk[3] = a1(bk[3], null, null, bl) } else { var bn = a1.filter(bk[3], bl, bm, true ^ bi); if (!bm) { bj.push.apply(bj, bn) } return false } } else { if (a6.match.POS.test(bk[0]) || a6.match.CHILD.test(bk[0])) { return true } } return bk }, POS: function(bi) { bi.unshift(true); return bi } }, filters: { enabled: function(bi) { return bi.disabled === false && bi.type !== "hidden" }, disabled: function(bi) { return bi.disabled === true }, checked: function(bi) { return bi.checked === true }, selected: function(bi) { bi.parentNode.selectedIndex; return bi.selected === true }, parent: function(bi) { return !!bi.firstChild }, empty: function(bi) { return !bi.firstChild }, has: function(bj, bk, bi) { return !!a1(bi[3], bj).length }, header: function(bi) { return /h\d/i.test(bi.nodeName) }, text: function(bi) { return "text" === bi.type }, radio: function(bi) { return "radio" === bi.type }, checkbox: function(bi) { return "checkbox" === bi.type }, file: function(bi) { return "file" === bi.type }, password: function(bi) { return "password" === bi.type }, submit: function(bi) { return "submit" === bi.type }, image: function(bi) { return "image" === bi.type }, reset: function(bi) { return "reset" === bi.type }, button: function(bi) { return "button" === bi.type || bi.nodeName.toLowerCase() === "button" }, input: function(bi) { return /input|select|textarea|button/i.test(bi.nodeName) } }, setFilters: { first: function(bi, bj) { return bj === 0 }, last: function(bj, bk, bi, bl) { return bk === bl.length - 1 }, even: function(bi, bj) { return bj % 2 === 0 }, odd: function(bi, bj) { return bj % 2 === 1 }, lt: function(bj, bk, bi) { return bk < bi[3] - 0 }, gt: function(bj, bk, bi) { return bk > bi[3] - 0 }, nth: function(bj, bk, bi) { return bi[3] - 0 === bk }, eq: function(bj, bk, bi) { return bi[3] - 0 === bk } }, filter: { PSEUDO: function(bo, bn, bi, bm) { var bl = bn[1], bj = a6.filters[bl]; if (bj) { return bj(bo, bi, bn, bm) } else { if (bl === "contains") { return (bo.textContent || bo.innerText || bh([bo]) || "").indexOf(bn[3]) >= 0 } else { if (bl === "not") { var bk = bn[3]; for (var bi = 0, bp = bk.length; bi < bp; bi++) { if (bk[bi] === bo) { return false } } return true } else { a1.error("Syntax error, unrecognized expression: " + bl) } } } }, CHILD: function(bp, bn) { var bj = bn[1], bi = bp; switch (bj) { case "only": case "first": while ((bi = bi.previousSibling)) { if (bi.nodeType === 1) { return false } } if (bj === "first") { return true } bi = bp; case "last": while ((bi = bi.nextSibling)) { if (bi.nodeType === 1) { return false } } return true; case "nth": var br = bn[2], bo = bn[3]; if (br === 1 && bo === 0) { return true } var bm = bn[0], bl = bp.parentNode; if (bl && (bl.sizcache !== bm || !bp.nodeIndex)) { var bq = 0; for (bi = bl.firstChild; bi; bi = bi.nextSibling) { if (bi.nodeType === 1) { bi.nodeIndex = ++bq } } bl.sizcache = bm } var bk = bp.nodeIndex - bo; if (br === 0) { return bk === 0 } else { return (bk % br === 0 && bk / br >= 0) } } }, ID: function(bj, bi) { return bj.nodeType === 1 && bj.getAttribute("id") === bi }, TAG: function(bj, bi) { return (bi === "*" && bj.nodeType === 1) || bj.nodeName.toLowerCase() === bi }, CLASS: function(bj, bi) { return (" " + (bj.className || bj.getAttribute("class")) + " ").indexOf(bi) > -1 }, ATTR: function(bk, bi) { var bn = bi[1], bj = a6.attrHandle[bn] ? a6.attrHandle[bn](bk) : bk[bn] != null ? bk[bn] : bk.getAttribute(bn), bo = bj + "", bl = bi[2], bm = bi[4]; return bj == null ? bl === "!=" : bl === "=" ? bo === bm : bl === "*=" ? bo.indexOf(bm) >= 0 : bl === "~=" ? (" " + bo + " ").indexOf(bm) >= 0 : !bm ? bo && bj !== false : bl === "!=" ? bo !== bm : bl === "^=" ? bo.indexOf(bm) === 0 : bl === "$=" ? bo.substr(bo.length - bm.length) === bm : bl === "|=" ? bo === bm || bo.substr(0, bm.length + 1) === bm + "-" : false }, POS: function(bk, bi, bl, bn) { var bj = bi[2], bm = a6.setFilters[bj]; if (bm) { return bm(bk, bl, bi, bn) } } } }; var be = a6.match.POS; for (var a0 in a6.match) { a6.match[a0] = new RegExp(a6.match[a0].source + /(?![^\[]*\])(?![^\(]*\))/.source); a6.leftMatch[a0] = new RegExp(/(^(?:.|\r|\n)*?)/.source + a6.match[a0].source.replace(/\\(\d+)/g, function(bi, bj) { return "\\" + (bj - 0 + 1) })) } var bd = function(bj, bi) { bj = Array.prototype.slice.call(bj, 0); if (bi) { bi.push.apply(bi, bj); return bi } return bj }; try { Array.prototype.slice.call(aU.documentElement.childNodes, 0)[0].nodeType } catch (a8) { bd = function(bl, bk) { var bm = bk || []; if (a3.call(bl) === "[object Array]") { Array.prototype.push.apply(bm, bl) } else { if (typeof bl.length === "number") { for (var bj = 0, bi = bl.length; bj < bi; bj++) { bm.push(bl[bj]) } } else { for (var bj = 0; bl[bj]; bj++) { bm.push(bl[bj]) } } } return bm } } var a5; if (aU.documentElement.compareDocumentPosition) { a5 = function(bi, bj) { if (!bi.compareDocumentPosition || !bj.compareDocumentPosition) { if (bi == bj) { bb = true } return bi.compareDocumentPosition ? -1 : 1 } var bk = bi.compareDocumentPosition(bj) & 4 ? -1 : bi === bj ? 0 : 1; if (bk === 0) { bb = true } return bk } } else { if ("sourceIndex" in aU.documentElement) { a5 = function(bi, bj) { if (!bi.sourceIndex || !bj.sourceIndex) { if (bi == bj) { bb = true } return bi.sourceIndex ? -1 : 1 } var bk = bi.sourceIndex - bj.sourceIndex; if (bk === 0) { bb = true } return bk } } else { if (aU.createRange) { a5 = function(bj, bk) { if (!bj.ownerDocument || !bk.ownerDocument) { if (bj == bk) { bb = true } return bj.ownerDocument ? -1 : 1 } var bl = bj.ownerDocument.createRange(), bi = bk.ownerDocument.createRange(); bl.setStart(bj, 0); bl.setEnd(bj, 0); bi.setStart(bk, 0); bi.setEnd(bk, 0); var bm = bl.compareBoundaryPoints(Range.START_TO_END, bi); if (bm === 0) { bb = true } return bm } } } } function bh(bl) { var bj = "", bi; for (var bk = 0; bl[bk]; bk++) { bi = bl[bk]; if (bi.nodeType === 3 || bi.nodeType === 4) { bj += bi.nodeValue } else { if (bi.nodeType !== 8) { bj += bh(bi.childNodes) } } } return bj } (function() { var bj = aU.createElement("div"), bk = "script" + (new Date).getTime(); bj.innerHTML = "<a name='" + bk + "'/>"; var bi = aU.documentElement; bi.insertBefore(bj, bi.firstChild); if (aU.getElementById(bk)) { a6.find.ID = function(bm, bo, bl) { if (typeof bo.getElementById !== "undefined" && !bl) { var bn = bo.getElementById(bm[1]); return bn ? bn.id === bm[1] || typeof bn.getAttributeNode !== "undefined" && bn.getAttributeNode("id").nodeValue === bm[1] ? [bn] : ah : [] } }; a6.filter.ID = function(bm, bl) { var bn = typeof bm.getAttributeNode !== "undefined" && bm.getAttributeNode("id"); return bm.nodeType === 1 && bn && bn.nodeValue === bl } } bi.removeChild(bj); bi = bj = null })(); (function() { var bi = aU.createElement("div"); bi.appendChild(aU.createComment("")); if (bi.getElementsByTagName("*").length > 0) { a6.find.TAG = function(bk, bn) { var bm = bn.getElementsByTagName(bk[1]); if (bk[1] === "*") { var bl = []; for (var bj = 0; bm[bj]; bj++) { if (bm[bj].nodeType === 1) { bl.push(bm[bj]) } } bm = bl } return bm } } bi.innerHTML = "<a href='#'></a>"; if (bi.firstChild && typeof bi.firstChild.getAttribute !== "undefined" && bi.firstChild.getAttribute("href") !== "#") { a6.attrHandle.href = function(bj) { return bj.getAttribute("href", 2) } } bi = null })(); if (aU.querySelectorAll) { (function() { var bi = a1, bj = aU.createElement("div"); bj.innerHTML = "<p class='TEST'></p>"; if (bj.querySelectorAll && bj.querySelectorAll(".TEST").length === 0) { return } a1 = function(bn, bl, bp, bm) { bl = bl || aU; if (!bm && bl.nodeType === 9 && !a4(bl)) { try { return bd(bl.querySelectorAll(bn), bp) } catch (bo) { } } return bi(bn, bl, bp, bm) }; for (var bk in bi) { a1[bk] = bi[bk] } bj = null })() } (function() { var bi = aU.createElement("div"); bi.innerHTML = "<div class='test e'></div><div class='test'></div>"; if (!bi.getElementsByClassName || bi.getElementsByClassName("e").length === 0) { return } bi.lastChild.className = "e"; if (bi.getElementsByClassName("e").length === 1) { return } a6.order.splice(1, 0, "CLASS"); a6.find.CLASS = function(bk, bl, bj) { if (typeof bl.getElementsByClassName !== "undefined" && !bj) { return bl.getElementsByClassName(bk[1]) } }; bi = null })(); function bg(bk, bm, bo, br, bp, bn) { for (var bi = 0, bj = br.length; bi < bj; bi++) { var bq = br[bi]; if (bq) { bq = bq[bk]; var bl = false; while (bq) { if (bq.sizcache === bo) { bl = br[bq.sizset]; break } if (bq.nodeType === 1 && !bn) { bq.sizcache = bo; bq.sizset = bi } if (bq.nodeName.toLowerCase() === bm) { bl = bq; break } bq = bq[bk] } br[bi] = bl } } } function ba(bk, bm, bo, br, bp, bn) { for (var bi = 0, bj = br.length; bi < bj; bi++) { var bq = br[bi]; if (bq) { bq = bq[bk]; var bl = false; while (bq) { if (bq.sizcache === bo) { bl = br[bq.sizset]; break } if (bq.nodeType === 1) { if (!bn) { bq.sizcache = bo; bq.sizset = bi } if (typeof bm !== "string") { if (bq === bm) { bl = true; break } } else { if (a1.filter(bm, [bq]).length > 0) { bl = bq; break } } } bq = bq[bk] } br[bi] = bl } } } var a9 = aU.compareDocumentPosition ? function(bi, bj) { return !!(bi.compareDocumentPosition(bj) & 16) } : function(bi, bj) { return bi !== bj && (bi.contains ? bi.contains(bj) : true) }; var a4 = function(bj) { var bi = (bj ? bj.ownerDocument || bj : 0).documentElement; return bi ? bi.nodeName !== "HTML" : false }; var a7 = function(bm, bp) { var bl = [], bn = "", bo, bj = bp.nodeType ? [bp] : bp; while ((bo = a6.match.PSEUDO.exec(bm))) { bn += bo[0]; bm = bm.replace(a6.match.PSEUDO, "") } bm = a6.relative[bm] ? bm + "*" : bm; for (var bi = 0, bk = bj.length; bi < bk; bi++) { a1(bm, bj[bi], bl) } return a1.filter(bn, bl) }; N.find = a1; N.expr = a1.selectors; N.expr[":"] = N.expr.filters; N.unique = a1.uniqueSort; N.text = bh; N.isXMLDoc = a4; N.contains = a9; return; ak.Sizzle = a1 })(); var al = /Until$/, n = /^(?:parents|prevUntil|prevAll)/, aH = /,/, Z = Array.prototype.slice; var L = function(a1, a2, a3) { if (N.isFunction(a2)) { return N.grep(a1, function(a4, a5) { return !!a2.call(a4, a5, a4) === a3 }) } else { if (a2.nodeType) { return N.grep(a1, function(a4, a5) { return (a4 === a2) === a3 }) } else { if (typeof a2 === "string") { var a0 = N.grep(a1, function(a4) { return a4.nodeType === 1 }); if (aM.test(a2)) { return N.filter(a2, a0, !a3) } else { a2 = N.filter(a2, a0) } } } } return N.grep(a1, function(a4, a5) { return (N.inArray(a4, a2) >= 0) === a3 }) }; N.fn.extend({ find: function(a3) { var a6 = this.pushStack("", "find", a3), a5 = 0; for (var a4 = 0, a2 = this.length; a4 < a2; a4++) { a5 = a6.length; N.find(a3, this[a4], a6); if (a4 > 0) { for (var a1 = a5; a1 < a6.length; a1++) { for (var a0 = 0; a0 < a5; a0++) { if (a6[a0] === a6[a1]) { a6.splice(a1--, 1); break } } } } } return a6 }, has: function(a1) { var a0 = N(a1); return this.filter(function() { for (var a2 = 0, a3 = a0.length; a2 < a3; a2++) { if (N.contains(this, a0[a2])) { return true } } }) }, not: function(a0) { return this.pushStack(L(this, a0, false), "not", a0) }, filter: function(a0) { return this.pushStack(L(this, a0, true), "filter", a0) }, is: function(a0) { return !!a0 && N.filter(a0, this).length > 0 }, closest: function(a6, a8) { if (N.isArray(a6)) { var a1 = [], a5 = this[0], a7, a0 = {}, a2; if (a5 && a6.length) { for (var a3 = 0, a9 = a6.length; a3 < a9; a3++) { a2 = a6[a3]; if (!a0[a2]) { a0[a2] = N.expr.match.POS.test(a2) ? N(a2, a8 || this.context) : a2 } } while (a5 && a5.ownerDocument && a5 !== a8) { for (a2 in a0) { a7 = a0[a2]; if (a7.jquery ? a7.index(a5) > -1 : N(a5).is(a7)) { a1.push({ selector: a2, elem: a5 }); delete a0[a2] } } a5 = a5.parentNode } } return a1 } var a4 = N.expr.match.POS.test(a6) ? N(a6, a8 || this.context) : null; return this.map(function(ba, bb) { while (bb && bb.ownerDocument && bb !== a8) { if (a4 ? a4.index(bb) > -1 : N(bb).is(a6)) { return bb } bb = bb.parentNode } return null }) }, index: function(a0) { if (!a0 || typeof a0 === "string") { return N.inArray(this[0], a0 ? N(a0) : this.parent().children()) } return N.inArray(a0.jquery ? a0[0] : a0, this) }, add: function(a2, a1) { var a0 = typeof a2 === "string" ? N(a2, a1 || this.context) : N.makeArray(a2), a3 = N.merge(this.get(), a0); return this.pushStack(aE(a0[0]) || aE(a3[0]) ? a3 : N.unique(a3)) }, andSelf: function() { return this.add(this.prevObject) } }); function aE(a0) { return !a0 || !a0.parentNode || a0.parentNode.nodeType === 11 } N.each({ parent: function(a1) { var a0 = a1.parentNode; return a0 && a0.nodeType !== 11 ? a0 : null }, parents: function(a0) { return N.dir(a0, "parentNode") }, parentsUntil: function(a1, a2, a0) { return N.dir(a1, "parentNode", a0) }, next: function(a0) { return N.nth(a0, 2, "nextSibling") }, prev: function(a0) { return N.nth(a0, 2, "previousSibling") }, nextAll: function(a0) { return N.dir(a0, "nextSibling") }, prevAll: function(a0) { return N.dir(a0, "previousSibling") }, nextUntil: function(a1, a2, a0) { return N.dir(a1, "nextSibling", a0) }, prevUntil: function(a1, a2, a0) { return N.dir(a1, "previousSibling", a0) }, siblings: function(a0) { return N.sibling(a0.parentNode.firstChild, a0) }, children: function(a0) { return N.sibling(a0.firstChild) }, contents: function(a0) { return N.nodeName(a0, "iframe") ? a0.contentDocument || a0.contentWindow.document : N.makeArray(a0.childNodes) } }, function(a1, a0) { N.fn[a1] = function(a2, a3) { var a4 = N.map(this, a0, a2); if (!al.test(a1)) { a3 = a2 } if (a3 && typeof a3 === "string") { a4 = N.filter(a3, a4) } a4 = this.length > 1 ? N.unique(a4) : a4; if ((this.length > 1 || aH.test(a3)) && n.test(a1)) { a4 = a4.reverse() } return this.pushStack(a4, a1, Z.call(arguments).join(",")) } }); N.extend({ filter: function(a1, a2, a0) { if (a0) { a1 = ":not(" + a1 + ")" } return N.find.matches(a1, a2) }, dir: function(a2, a0, a1) { var a3 = [], a4 = a2[a0]; while (a4 && a4.nodeType !== 9 && (a1 === ah || a4.nodeType !== 1 || !N(a4).is(a1))) { if (a4.nodeType === 1) { a3.push(a4) } a4 = a4[a0] } return a3 }, nth: function(a3, a1, a0, a2) { a1 = a1 || 1; var a4 = 0; for (; a3; a3 = a3[a0]) { if (a3.nodeType === 1 && ++a4 === a1) { break } } return a3 }, sibling: function(a1, a2) { var a0 = []; for (; a1; a1 = a1.nextSibling) { if (a1.nodeType === 1 && a1 !== a2) { a0.push(a1) } } return a0 } }); var ax = / jQuery\d+="(?:\d+|null)"/g, aF = /^\s+/, Y = /(<([\w:]+)[^>]*?)\/>/g, T = /^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i, ar = /<([\w:]+)/, h = /<tbody/i, k = /<|&#?\w+;/, C = /<script|<object|<embed|<option|<style/i, ae = /checked\s*(?:[^=]|=\s*.checked.)/i, I = function(a1, a2, a0) { return T.test(a0) ? a1 : a2 + "></" + a0 + ">" }, ad = { 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, "", ""] }; ad.optgroup = ad.option; ad.tbody = ad.tfoot = ad.colgroup = ad.caption = ad.thead; ad.th = ad.td; if (!N.support.htmlSerialize) { ad._default = [1, "div<div>", "</div>"] } N.fn.extend({ text: function(a0) { if (N.isFunction(a0)) { return this.each(function(a2) { var a1 = N(this); a1.text(a0.call(this, a2, a1.text())) }) } if (typeof a0 !== "object" && a0 !== ah) { return this.empty().append((this[0] && this[0].ownerDocument || aU).createTextNode(a0)) } return N.text(this) }, wrapAll: function(a0) { if (N.isFunction(a0)) { return this.each(function(a2) { N(this).wrapAll(a0.call(this, a2)) }) } if (this[0]) { var a1 = N(a0, this[0].ownerDocument).eq(0).clone(true); if (this[0].parentNode) { a1.insertBefore(this[0]) } a1.map(function() { var a2 = this; while (a2.firstChild && a2.firstChild.nodeType === 1) { a2 = a2.firstChild } return a2 }).append(this) } return this }, wrapInner: function(a0) { if (N.isFunction(a0)) { return this.each(function(a1) { N(this).wrapInner(a0.call(this, a1)) }) } return this.each(function() { var a1 = N(this), a2 = a1.contents(); if (a2.length) { a2.wrapAll(a0) } else { a1.append(a0) } }) }, wrap: function(a0) { return this.each(function() { N(this).wrapAll(a0) }) }, unwrap: function() { return this.parent().each(function() { if (!N.nodeName(this, "body")) { N(this).replaceWith(this.childNodes) } }).end() }, append: function() { return this.domManip(arguments, true, function(a0) { if (this.nodeType === 1) { this.appendChild(a0) } }) }, prepend: function() { return this.domManip(arguments, true, function(a0) { if (this.nodeType === 1) { this.insertBefore(a0, this.firstChild) } }) }, before: function() { if (this[0] && this[0].parentNode) { return this.domManip(arguments, false, function(a1) { this.parentNode.insertBefore(a1, this) }) } else { if (arguments.length) { var a0 = N(arguments[0]); a0.push.apply(a0, this.toArray()); return this.pushStack(a0, "before", arguments) } } }, after: function() { if (this[0] && this[0].parentNode) { return this.domManip(arguments, false, function(a1) { this.parentNode.insertBefore(a1, this.nextSibling) }) } else { if (arguments.length) { var a0 = this.pushStack(this, "after", arguments); a0.push.apply(a0, N(arguments[0]).toArray()); return a0 } } }, remove: function(a2, a1) { for (var a3 = 0, a0; (a0 = this[a3]) != null; a3++) { if (!a2 || N.filter(a2, [a0]).length) { if (!a1 && a0.nodeType === 1) { N.cleanData(a0.getElementsByTagName("*")); N.cleanData([a0]) } if (a0.parentNode) { a0.parentNode.removeChild(a0) } } } return this }, empty: function() { for (var a1 = 0, a0; (a0 = this[a1]) != null; a1++) { if (a0.nodeType === 1) { N.cleanData(a0.getElementsByTagName("*")) } while (a0.firstChild) { a0.removeChild(a0.firstChild) } } return this }, clone: function(a0) { var a1 = this.map(function() { if (!N.support.noCloneEvent && !N.isXMLDoc(this)) { var a4 = this.outerHTML, a3 = this.ownerDocument; if (!a4) { var a2 = a3.createElement("div"); a2.appendChild(this.cloneNode(true)); a4 = a2.innerHTML } return N.clean([a4.replace(ax, "").replace(/=([^="'>\s]+\/)>/g, '="$1">').replace(aF, "")], a3)[0] } else { return this.cloneNode(true) } }); if (a0 === true) { K(this, a1); K(this.find("*"), a1.find("*")) } return a1 }, html: function(a0) { if (a0 === ah) { return this[0] && this[0].nodeType === 1 ? this[0].innerHTML.replace(ax, "") : null } else { if (typeof a0 === "string" && !C.test(a0) && (N.support.leadingWhitespace || !aF.test(a0)) && !ad[(ar.exec(a0) || ["", ""])[1].toLowerCase()]) { a0 = a0.replace(Y, I); try { for (var a1 = 0, a3 = this.length; a1 < a3; a1++) { if (this[a1].nodeType === 1) { N.cleanData(this[a1].getElementsByTagName("*")); this[a1].innerHTML = a0 } } } catch (a2) { this.empty().append(a0) } } else { if (N.isFunction(a0)) { this.each(function(a6) { var a5 = N(this), a4 = a5.html(); a5.empty().append(function() { return a0.call(this, a6, a4) }) }) } else { this.empty().append(a0) } } } return this }, replaceWith: function(a0) { if (this[0] && this[0].parentNode) { if (N.isFunction(a0)) { return this.each(function(a3) { var a2 = N(this), a1 = a2.html(); a2.replaceWith(a0.call(this, a3, a1)) }) } if (typeof a0 !== "string") { a0 = N(a0).detach() } return this.each(function() { var a2 = this.nextSibling, a1 = this.parentNode; N(this).remove(); if (a2) { N(a2).before(a0) } else { N(a1).append(a0) } }) } else { return this.pushStack(N(N.isFunction(a0) ? a0() : a0), "replaceWith", a0) } }, detach: function(a0) { return this.remove(a0, true) }, domManip: function(a7, a0, bb) { var a6, a8, a4 = a7[0], a5 = [], a2, ba; if (!N.support.checkClone && arguments.length === 3 && typeof a4 === "string" && ae.test(a4)) { return this.each(function() { N(this).domManip(a7, a0, bb, true) }) } if (N.isFunction(a4)) { return this.each(function(bd) { var bc = N(this); a7[0] = a4.call(this, bd, a0 ? bc.html() : ah); bc.domManip(a7, a0, bb) }) } if (this[0]) { ba = a4 && a4.parentNode; if (N.support.parentNode && ba && ba.nodeType === 11 && ba.childNodes.length === this.length) { a6 = { fragment: ba} } else { a6 = d(a7, this, a5) } a2 = a6.fragment; if (a2.childNodes.length === 1) { a8 = a2 = a2.firstChild } else { a8 = a2.firstChild } if (a8) { a0 = a0 && N.nodeName(a8, "tr"); for (var a9 = 0, a3 = this.length; a9 < a3; a9++) { bb.call(a0 ? a1(this[a9], a8) : this[a9], a9 > 0 || a6.cacheable || this.length > 1 ? a2.cloneNode(true) : a2) } } if (a5.length) { N.each(a5, M) } } return this; function a1(bc, bd) { return N.nodeName(bc, "table") ? (bc.getElementsByTagName("tbody")[0] || bc.appendChild(bc.ownerDocument.createElement("tbody"))) : bc } } }); function K(a0, a2) { var a1 = 0; a2.each(function() { if (this.nodeName !== (a0[a1] && a0[a1].nodeName)) { return } var a3 = N.data(a0[a1++]), a7 = N.data(this, a3), a5 = a3 && a3.events; if (a5) { delete a7.handle; a7.events = {}; for (var a6 in a5) { for (var a4 in a5[a6]) { N.event.add(this, a6, a5[a6][a4], a5[a6][a4].data) } } } }) } function d(a1, a3, a4) { var a6, a0, a2, a5 = (a3 && a3[0] ? a3[0].ownerDocument || a3[0] : aU); if (a1.length === 1 && typeof a1[0] === "string" && a1[0].length < 512 && a5 === aU && !C.test(a1[0]) && (N.support.checkClone || !ae.test(a1[0]))) { a0 = true; a2 = N.fragments[a1[0]]; if (a2) { if (a2 !== 1) { a6 = a2 } } } if (!a6) { a6 = a5.createDocumentFragment(); N.clean(a1, a5, a6, a4) } if (a0) { N.fragments[a1[0]] = a2 ? a6 : 1 } return { fragment: a6, cacheable: a0} } N.fragments = {}; N.each({ appendTo: "append", prependTo: "prepend", insertBefore: "before", insertAfter: "after", replaceAll: "replaceWith" }, function(a1, a0) { N.fn[a1] = function(a5) { var a8 = [], a4 = N(a5), a3 = this.length === 1 && this[0].parentNode; if (a3 && a3.nodeType === 11 && a3.childNodes.length === 1 && a4.length === 1) { a4[a0](this[0]); return this } else { for (var a6 = 0, a2 = a4.length; a6 < a2; a6++) { var a7 = (a6 > 0 ? this.clone(true) : this).get(); N.fn[a0].apply(N(a4[a6]), a7); a8 = a8.concat(a7) } return this.pushStack(a8, a1, a4.selector) } } }); N.extend({ clean: function(a7, bb, a2, bd) { bb = bb || aU; if (typeof bb.createElement === "undefined") { bb = bb.ownerDocument || bb[0] && bb[0].ownerDocument || aU } var a3 = []; for (var a0 = 0, bc; (bc = a7[a0]) != null; a0++) { if (typeof bc === "number") { bc += "" } if (!bc) { continue } if (typeof bc === "string" && !k.test(bc)) { bc = bb.createTextNode(bc) } else { if (typeof bc === "string") { bc = bc.replace(Y, I); var a8 = (ar.exec(bc) || ["", ""])[1].toLowerCase(), a4 = ad[a8] || ad._default, a1 = a4[0], a5 = bb.createElement("div"); a5.innerHTML = a4[1] + bc + a4[2]; while (a1--) { a5 = a5.lastChild } if (!N.support.tbody) { var ba = h.test(bc), a6 = a8 === "table" && !ba ? a5.firstChild && a5.firstChild.childNodes : a4[1] === "<table>" && !ba ? a5.childNodes : []; for (var a9 = a6.length - 1; a9 >= 0; --a9) { if (N.nodeName(a6[a9], "tbody") && !a6[a9].childNodes.length) { a6[a9].parentNode.removeChild(a6[a9]) } } } if (!N.support.leadingWhitespace && aF.test(bc)) { a5.insertBefore(bb.createTextNode(aF.exec(bc)[0]), a5.firstChild) } bc = a5.childNodes } } if (bc.nodeType) { a3.push(bc) } else { a3 = N.merge(a3, bc) } } if (a2) { for (var a0 = 0; a3[a0]; a0++) { if (bd && N.nodeName(a3[a0], "script") && (!a3[a0].type || a3[a0].type.toLowerCase() === "text/javascript")) { bd.push(a3[a0].parentNode ? a3[a0].parentNode.removeChild(a3[a0]) : a3[a0]) } else { if (a3[a0].nodeType === 1) { a3.splice.apply(a3, [a0 + 1, 0].concat(N.makeArray(a3[a0].getElementsByTagName("script")))) } a2.appendChild(a3[a0]) } } } return a3 }, cleanData: function(a5) { var a3, a1, a7 = N.cache, a8 = N.event.special, a2 = N.support.deleteExpando; for (var a0 = 0, a6; (a6 = a5[a0]) != null; a0++) { a1 = a6[N.expando]; if (a1) { a3 = a7[a1]; if (a3.events) { for (var a4 in a3.events) { if (a8[a4]) { N.event.remove(a6, a4) } else { t(a6, a4, a3.handle) } } } if (a2) { delete a6[N.expando] } else { if (a6.removeAttribute) { a6.removeAttribute(N.expando) } } delete a7[a1] } } } }); var p = /z-?index|font-?weight|opacity|zoom|line-?height/i, aQ = /alpha\([^)]*\)/, b = /opacity=([^)]*)/, z = /float/i, ap = /-([a-z])/ig, ao = /([A-Z])/g, aB = /^-?\d+(?:px)?$/i, aR = /^-?\d/, aO = { position: "absolute", visibility: "hidden", display: "block" }, au = ["Left", "Right"], m = ["Top", "Bottom"], x = aU.defaultView && aU.defaultView.getComputedStyle, W = N.support.cssFloat ? "cssFloat" : "styleFloat", r = function(a1, a0) { return a0.toUpperCase() }; N.fn.css = function(a0, a1) { return Q(this, a0, a1, true, function(a3, a2, a4) { if (a4 === ah) { return N.curCSS(a3, a2) } if (typeof a4 === "number" && !p.test(a2)) { a4 += "px" } N.style(a3, a2, a4) }) }; N.extend({ style: function(a3, a1, a6) { if (!a3 || a3.nodeType === 3 || a3.nodeType === 8) { return ah } if ((a1 === "width" || a1 === "height") && parseFloat(a6) < 0) { a6 = ah } var a2 = a3.style || a3, a0 = a6 !== ah; if (!N.support.opacity && a1 === "opacity") { if (a0) { a2.zoom = 1; var a4 = parseInt(a6, 10) + "" === "NaN" ? "" : "alpha(opacity=" + a6 * 100 + ")"; var a5 = a2.filter || N.curCSS(a3, "filter") || ""; a2.filter = aQ.test(a5) ? a5.replace(aQ, a4) : a4 } return a2.filter && a2.filter.indexOf("opacity=") >= 0 ? (parseFloat(b.exec(a2.filter)[1]) / 100) + "" : "" } if (z.test(a1)) { a1 = W } a1 = a1.replace(ap, r); if (a0) { a2[a1] = a6 } return a2[a1] }, css: function(a5, a4, a7, a6) { if (a4 === "width" || a4 === "height") { var a3, a2 = aO, a1 = a4 === "width" ? au : m; function a0() { a3 = a4 === "width" ? a5.offsetWidth : a5.offsetHeight; if (a6 === "border") { return } N.each(a1, function() { if (!a6) { a3 -= parseFloat(N.curCSS(a5, "padding" + this, true)) || 0 } if (a6 === "margin") { a3 += parseFloat(N.curCSS(a5, "margin" + this, true)) || 0 } else { a3 -= parseFloat(N.curCSS(a5, "border" + this + "Width", true)) || 0 } }) } if (a5.offsetWidth !== 0) { a0() } else { N.swap(a5, a2, a0) } return Math.max(0, Math.round(a3)) } return N.curCSS(a5, a4, a7) }, curCSS: function(a8, a3, ba) { var a0, a9 = a8.style, a2; if (!N.support.opacity && a3 === "opacity" && a8.currentStyle) { a0 = b.test(a8.currentStyle.filter || "") ? (parseFloat(RegExp.$1) / 100) + "" : ""; return a0 === "" ? "1" : a0 } if (z.test(a3)) { a3 = W } if (!ba && a9 && a9[a3]) { a0 = a9[a3] } else { if (x) { if (z.test(a3)) { a3 = "float" } a3 = a3.replace(ao, "-$1").toLowerCase(); var a5 = a8.ownerDocument.defaultView; if (!a5) { return null } var a7 = a5.getComputedStyle(a8, null); if (a7) { a0 = a7.getPropertyValue(a3) } if (a3 === "opacity" && a0 === "") { a0 = "1" } } else { if (a8.currentStyle) { var a4 = a3.replace(ap, r); a0 = a8.currentStyle[a3] || a8.currentStyle[a4]; if (!aB.test(a0) && aR.test(a0)) { var a1 = a9.left, a6 = a8.runtimeStyle.left; a8.runtimeStyle.left = a8.currentStyle.left; a9.left = a4 === "fontSize" ? "1em" : (a0 || 0); a0 = a9.pixelLeft + "px"; a9.left = a1; a8.runtimeStyle.left = a6 } } } } return a0 }, swap: function(a2, a3, a4) { var a0 = {}; for (var a1 in a3) { a0[a1] = a2.style[a1]; a2.style[a1] = a3[a1] } a4.call(a2); for (var a1 in a3) { a2.style[a1] = a0[a1] } } }); if (N.expr && N.expr.filters) { N.expr.filters.hidden = function(a2) { var a1 = a2.offsetWidth, a0 = a2.offsetHeight, a3 = a2.nodeName.toLowerCase() === "tr"; return a1 === 0 && a0 === 0 && !a3 ? true : a1 > 0 && a0 > 0 && !a3 ? false : N.curCSS(a2, "display") === "none" }; N.expr.filters.visible = function(a0) { return !N.expr.filters.hidden(a0) } } var O = E(), s = /<script(.|\s)*?\/script>/gi, e = /select|textarea/i, az = /color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week/i, aW = /=\?(&|$)/, aA = /\?/, ab = /(\?|&)_=.*?(&|$)/, o = /^(\w+:)?\/\/([^\/?#]+)/, v = /%20/g, A = N.fn.load; N.fn.extend({ load: function(a3, a0, a6) { if (typeof a3 !== "string") { return A.call(this, a3) } else { if (!this.length) { return this } } var a1 = a3.indexOf(" "); if (a1 >= 0) { var a4 = a3.slice(a1, a3.length); a3 = a3.slice(0, a1) } var a2 = "GET"; if (a0) { if (N.isFunction(a0)) { a6 = a0; a0 = null } else { if (typeof a0 === "object") { a0 = N.param(a0, N.ajaxSettings.traditional); a2 = "POST" } } } var a5 = this; N.ajax({ url: a3, type: a2, dataType: "html", data: a0, complete: function(a8, a7) { if (a7 === "success" || a7 === "notmodified") { a5.html(a4 ? N("<div />").append(a8.responseText.replace(s, "")).find(a4) : a8.responseText) } if (a6) { a5.each(a6, [a8.responseText, a7, a8]) } } }); return this }, serialize: function() { return N.param(this.serializeArray()) }, serializeArray: function() { return this.map(function() { return this.elements ? N.makeArray(this.elements) : this }).filter(function() { return this.name && !this.disabled && (this.checked || e.test(this.nodeName) || az.test(this.type)) }).map(function(a1, a0) { var a2 = N(this).val(); return a2 == null ? null : N.isArray(a2) ? N.map(a2, function(a4, a3) { return { name: a0.name, value: a4} }) : { name: a0.name, value: a2} }).get() } }); N.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "), function(a1, a0) { N.fn[a0] = function(a2) { return this.bind(a0, a2) } }); N.extend({ get: function(a2, a3, a0, a1) { if (N.isFunction(a3)) { a1 = a1 || a0; a0 = a3; a3 = null } return N.ajax({ type: "GET", url: a2, data: a3, success: a0, dataType: a1 }) }, getScript: function(a0, a1) { return N.get(a0, null, a1, "script") }, getJSON: function(a1, a2, a0) { return N.get(a1, a2, a0, "json") }, post: function(a2, a3, a0, a1) { if (N.isFunction(a3)) { a1 = a1 || a0; a0 = a3; a3 = {} } return N.ajax({ type: "POST", url: a2, data: a3, success: a0, dataType: a1 }) }, ajaxSetup: function(a0) { N.extend(N.ajaxSettings, a0) }, ajaxSettings: { url: location.href, global: true, type: "GET", contentType: "application/x-www-form-urlencoded", processData: true, async: true, xhr: ak.XMLHttpRequest && (ak.location.protocol !== "file:" || !ak.ActiveXObject) ? function() { return new ak.XMLHttpRequest() } : function() { try { return new ak.ActiveXObject("Microsoft.XMLHTTP") } catch (a0) { } }, 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(a9) { var a5 = N.extend(true, {}, N.ajaxSettings, a9); var a1, a7, a8, bj = a9 && a9.context || a5, a2 = a5.type.toUpperCase(); if (a5.data && a5.processData && typeof a5.data !== "string") { a5.data = N.param(a5.data, a5.traditional) } if (a5.dataType === "jsonp") { if (a2 === "GET") { if (!aW.test(a5.url)) { a5.url += (aA.test(a5.url) ? "&" : "?") + (a5.jsonp || "callback") + "=?" } } else { if (!a5.data || !aW.test(a5.data)) { a5.data = (a5.data ? a5.data + "&" : "") + (a5.jsonp || "callback") + "=?" } } a5.dataType = "json" } if (a5.dataType === "json" && (a5.data && aW.test(a5.data) || aW.test(a5.url))) { a1 = a5.jsonpCallback || ("jsonp" + O++); if (a5.data) { a5.data = (a5.data + "").replace(aW, "=" + a1 + "$1") } a5.url = a5.url.replace(aW, "=" + a1 + "$1"); a5.dataType = "script"; ak[a1] = ak[a1] || function(bm) { a8 = bm; ba(); bf(); ak[a1] = ah; try { delete ak[a1] } catch (bn) { } if (bl) { bl.removeChild(bi) } } } if (a5.dataType === "script" && a5.cache === null) { a5.cache = false } if (a5.cache === false && a2 === "GET") { var a0 = E(); var a4 = a5.url.replace(ab, "$1_=" + a0 + "$2"); a5.url = a4 + ((a4 === a5.url) ? (aA.test(a5.url) ? "&" : "?") + "_=" + a0 : "") } if (a5.data && a2 === "GET") { a5.url += (aA.test(a5.url) ? "&" : "?") + a5.data } if (a5.global && !N.active++) { N.event.trigger("ajaxStart") } var bk = o.exec(a5.url), a6 = bk && (bk[1] && bk[1] !== location.protocol || bk[2] !== location.host); if (a5.dataType === "script" && a2 === "GET" && a6) { var bl = aU.getElementsByTagName("head")[0] || aU.documentElement; var bi = aU.createElement("script"); bi.src = a5.url; if (a5.scriptCharset) { bi.charset = a5.scriptCharset } if (!a1) { var a3 = false; bi.onload = bi.onreadystatechange = function() { if (!a3 && (!this.readyState || this.readyState === "loaded" || this.readyState === "complete")) { a3 = true; ba(); bf(); bi.onload = bi.onreadystatechange = null; if (bl && bi.parentNode) { bl.removeChild(bi) } } } } bl.insertBefore(bi, bl.firstChild); return ah } var bg = false; var bc = a5.xhr(); if (!bc) { return } if (a5.username) { bc.open(a2, a5.url, a5.async, a5.username, a5.password) } else { bc.open(a2, a5.url, a5.async) } try { if (a5.data || a9 && a9.contentType) { bc.setRequestHeader("Content-Type", a5.contentType) } if (a5.ifModified) { if (N.lastModified[a5.url]) { bc.setRequestHeader("If-Modified-Since", N.lastModified[a5.url]) } if (N.etag[a5.url]) { bc.setRequestHeader("If-None-Match", N.etag[a5.url]) } } if (!a6) { bc.setRequestHeader("X-Requested-With", "XMLHttpRequest") } bc.setRequestHeader("Accept", a5.dataType && a5.accepts[a5.dataType] ? a5.accepts[a5.dataType] + ", */*" : a5.accepts._default) } catch (bb) { } if (a5.beforeSend && a5.beforeSend.call(bj, bc, a5) === false) { if (a5.global && ! --N.active) { N.event.trigger("ajaxStop") } bc.abort(); return false } if (a5.global) { bd("ajaxSend", [bc, a5]) } var be = bc.onreadystatechange = function(bm) { if (!bc || bc.readyState === 0 || bm === "abort") { if (!bg) { bf() } bg = true; if (bc) { bc.onreadystatechange = N.noop } } else { if (!bg && bc && (bc.readyState === 4 || bm === "timeout")) { bg = true; bc.onreadystatechange = N.noop; a7 = bm === "timeout" ? "timeout" : !N.httpSuccess(bc) ? "error" : a5.ifModified && N.httpNotModified(bc, a5.url) ? "notmodified" : "success"; var bo; if (a7 === "success") { try { a8 = N.httpData(bc, a5.dataType, a5) } catch (bn) { a7 = "parsererror"; bo = bn } } if (a7 === "success" || a7 === "notmodified") { if (!a1) { ba() } } else { N.handleError(a5, bc, a7, bo) } bf(); if (bm === "timeout") { bc.abort() } if (a5.async) { bc = null } } } }; try { var bh = bc.abort; bc.abort = function() { if (bc) { bh.call(bc) } be("abort") } } catch (bb) { } if (a5.async && a5.timeout > 0) { setTimeout(function() { if (bc && !bg) { be("timeout") } }, a5.timeout) } try { bc.send(a2 === "POST" || a2 === "PUT" || a2 === "DELETE" ? a5.data : null) } catch (bb) { N.handleError(a5, bc, null, bb); bf() } if (!a5.async) { be() } function ba() { if (a5.success) { a5.success.call(bj, a8, a7, bc) } if (a5.global) { bd("ajaxSuccess", [bc, a5]) } } function bf() { if (a5.complete) { a5.complete.call(bj, bc, a7) } if (a5.global) { bd("ajaxComplete", [bc, a5]) } if (a5.global && ! --N.active) { N.event.trigger("ajaxStop") } } function bd(bn, bm) { (a5.context ? N(a5.context) : N.event).trigger(bn, bm) } return bc }, handleError: function(a0, a3, a1, a2) { if (a0.error) { a0.error.call(a0.context || a0, a3, a1, a2) } if (a0.global) { (a0.context ? N(a0.context) : N.event).trigger("ajaxError", [a3, a0, a2]) } }, active: 0, httpSuccess: function(a1) { try { return !a1.status && location.protocol === "file:" || (a1.status >= 200 && a1.status < 300) || a1.status === 304 || a1.status === 1223 || a1.status === 0 } catch (a0) { } return false }, httpNotModified: function(a3, a1) { var a2 = a3.getResponseHeader("Last-Modified"), a0 = a3.getResponseHeader("Etag"); if (a2) { N.lastModified[a1] = a2 } if (a0) { N.etag[a1] = a0 } return a3.status === 304 || a3.status === 0 }, httpData: function(a4, a2, a0) { var a3 = a4.getResponseHeader("content-type") || "", a1 = a2 === "xml" || !a2 && a3.indexOf("xml") >= 0, a5 = a1 ? a4.responseXML : a4.responseText; if (a1 && a5.documentElement.nodeName === "parsererror") { N.error("parsererror") } if (a0 && a0.dataFilter) { a5 = a0.dataFilter(a5, a2) } if (typeof a5 === "string") { if (a2 === "json" || !a2 && a3.indexOf("json") >= 0) { a5 = N.parseJSON(a5) } else { if (a2 === "script" || !a2 && a3.indexOf("javascript") >= 0) { N.globalEval(a5) } } } return a5 }, param: function(a3, a5) { var a1 = []; if (a5 === ah) { a5 = N.ajaxSettings.traditional } if (N.isArray(a3) || a3.jquery) { N.each(a3, function() { a2(this.name, this.value) }) } else { for (var a4 in a3) { a0(a4, a3[a4]) } } return a1.join("&").replace(v, "+"); function a0(a6, a7) { if (N.isArray(a7)) { N.each(a7, function(a9, a8) { if (a5 || /\[\]$/.test(a6)) { a2(a6, a8) } else { a0(a6 + "[" + (typeof a8 === "object" || N.isArray(a8) ? a9 : "") + "]", a8) } }) } else { if (!a5 && a7 != null && typeof a7 === "object") { N.each(a7, function(a9, a8) { a0(a6 + "[" + a9 + "]", a8) }) } else { a2(a6, a7) } } } function a2(a7, a6) { a6 = N.isFunction(a6) ? a6() : a6; a1[a1.length] = encodeURIComponent(a7) + "=" + encodeURIComponent(a6) } } }); var aP = {}, aJ = /toggle|show|hide/, aI = /^([+-]=)?([\d+-.]+)(.*)$/, ay, X = [["height", "marginTop", "marginBottom", "paddingTop", "paddingBottom"], ["width", "marginLeft", "marginRight", "paddingLeft", "paddingRight"], ["opacity"]]; N.fn.extend({ show: function(a4, a9) { if (a4 || a4 === 0) { return this.animate(a("show", 3), a4, a9) } else { for (var a0 = 0, a3 = this.length; a0 < a3; a0++) { var a5 = N.data(this[a0], "olddisplay"); this[a0].style.display = a5 || ""; if (N.css(this[a0], "display") === "none") { var a8 = this[a0].nodeName, a6; if (aP[a8]) { a6 = aP[a8] } else { var a7 = N("<" + a8 + " />").appendTo("body"); a6 = a7.css("display"); if (a6 === "none") { a6 = "block" } a7.remove(); aP[a8] = a6 } N.data(this[a0], "olddisplay", a6) } } for (var a1 = 0, a2 = this.length; a1 < a2; a1++) { this[a1].style.display = N.data(this[a1], "olddisplay") || "" } return this } }, hide: function(a1, a6) { if (a1 || a1 === 0) { return this.animate(a("hide", 3), a1, a6) } else { for (var a3 = 0, a2 = this.length; a3 < a2; a3++) { var a0 = N.data(this[a3], "olddisplay"); if (!a0 && a0 !== "none") { N.data(this[a3], "olddisplay", N.css(this[a3], "display")) } } for (var a4 = 0, a5 = this.length; a4 < a5; a4++) { this[a4].style.display = "none" } return this } }, _toggle: N.fn.toggle, toggle: function(a0, a1) { var a2 = typeof a0 === "boolean"; if (N.isFunction(a0) && N.isFunction(a1)) { this._toggle.apply(this, arguments) } else { if (a0 == null || a2) { this.each(function() { var a3 = a2 ? a0 : N(this).is(":hidden"); N(this)[a3 ? "show" : "hide"]() }) } else { this.animate(a("toggle", 3), a0, a1) } } return this }, fadeTo: function(a1, a0, a2) { return this.filter(":hidden").css("opacity", 0).show().end().animate({ opacity: a0 }, a1, a2) }, animate: function(a4, a2, a0, a1) { var a3 = N.speed(a2, a0, a1); if (N.isEmptyObject(a4)) { return this.each(a3.complete) } return this[a3.queue === false ? "each" : "queue"](function() { var a9 = N.extend({}, a3), a8, a6 = this.nodeType === 1 && N(this).is(":hidden"), a7 = this; for (a8 in a4) { var a5 = a8.replace(ap, r); if (a8 !== a5) { a4[a5] = a4[a8]; delete a4[a8]; a8 = a5 } if (a4[a8] === "hide" && a6 || a4[a8] === "show" && !a6) { return a9.complete.call(this) } if ((a8 === "height" || a8 === "width") && this.style) { a9.display = N.css(this, "display"); a9.overflow = this.style.overflow } if (N.isArray(a4[a8])) { (a9.specialEasing = a9.specialEasing || {})[a8] = a4[a8][1]; a4[a8] = a4[a8][0] } } if (a9.overflow != null) { this.style.overflow = "hidden" } a9.curAnim = N.extend({}, a4); N.each(a4, function(ba, bg) { var bf = new N.fx(a7, a9, ba); if (aJ.test(bg)) { bf[bg === "toggle" ? a6 ? "show" : "hide" : bg](a4) } else { var be = aI.exec(bg), bc = bf.cur(true) || 0; if (be) { var bd = parseFloat(be[2]), bb = be[3] || "px"; if (bb !== "px") { a7.style[ba] = (bd || 1) + bb; bc = ((bd || 1) / bf.cur(true)) * bc; a7.style[ba] = bc + bb } if (be[1]) { bd = ((be[1] === "-=" ? -1 : 1) * bd) + bc } bf.custom(bc, bd, bb) } else { bf.custom(bc, bg, "") } } }); return true }) }, stop: function(a0, a2) { var a1 = N.timers; if (a0) { this.queue([]) } this.each(function() { for (var a3 = a1.length - 1; a3 >= 0; a3--) { if (a1[a3].elem === this) { if (a2) { a1[a3](true) } a1.splice(a3, 1) } } }); if (!a2) { this.dequeue() } return this } }); N.each({ slideDown: a("show", 1), slideUp: a("hide", 1), slideToggle: a("toggle", 1), fadeIn: { opacity: "show" }, fadeOut: { opacity: "hide"} }, function(a1, a0) { N.fn[a1] = function(a2, a3) { return this.animate(a0, a2, a3) } }); N.extend({ speed: function(a2, a1, a0) { var a3 = a2 && typeof a2 === "object" ? a2 : { complete: a0 || !a0 && a1 || N.isFunction(a2) && a2, duration: a2, easing: a0 && a1 || a1 && !N.isFunction(a1) && a1 }; a3.duration = N.fx.off ? 0 : typeof a3.duration === "number" ? a3.duration : N.fx.speeds[a3.duration] || N.fx.speeds._default; a3.old = a3.complete; a3.complete = function() { if (a3.queue !== false) { N(this).dequeue() } if (N.isFunction(a3.old)) { a3.old.call(this) } }; return a3 }, easing: { linear: function(a2, a0, a3, a1) { return a3 + a1 * a2 }, swing: function(a2, a0, a3, a1) { return ((-Math.cos(a2 * Math.PI) / 2) + 0.5) * a1 + a3 } }, timers: [], fx: function(a0, a1, a2) { this.options = a1; this.elem = a0; this.prop = a2; if (!a1.orig) { a1.orig = {} } } }); N.fx.prototype = { update: function() { if (this.options.step) { this.options.step.call(this.elem, this.now, this) } (N.fx.step[this.prop] || N.fx.step._default)(this); if ((this.prop === "height" || this.prop === "width") && this.elem.style) { this.elem.style.display = "block" } }, cur: function(a1) { if (this.elem[this.prop] != null && (!this.elem.style || this.elem.style[this.prop] == null)) { return this.elem[this.prop] } var a0 = parseFloat(N.css(this.elem, this.prop, a1)); return a0 && a0 > -10000 ? a0 : parseFloat(N.curCSS(this.elem, this.prop)) || 0 }, custom: function(a0, a1, a2) { this.startTime = E(); this.start = a0; this.end = a1; this.unit = a2 || this.unit || "px"; this.now = this.start; this.pos = this.state = 0; var a3 = this; function a4(a5) { return a3.step(a5) } a4.elem = this.elem; if (a4() && N.timers.push(a4) && !ay) { ay = setInterval(N.fx.tick, 13) } }, show: function() { this.options.orig[this.prop] = N.style(this.elem, this.prop); this.options.show = true; this.custom(this.prop === "width" || this.prop === "height" ? 1 : 0, this.cur()); N(this.elem).show() }, hide: function() { this.options.orig[this.prop] = N.style(this.elem, this.prop); this.options.hide = true; this.custom(this.cur(), 0) }, step: function(a1) { var a7 = E(), a8 = true; if (a1 || a7 >= this.options.duration + this.startTime) { this.now = this.end; this.pos = this.state = 1; this.update(); this.options.curAnim[this.prop] = true; for (var a0 in this.options.curAnim) { if (this.options.curAnim[a0] !== true) { a8 = false } } if (a8) { if (this.options.display != null) { this.elem.style.overflow = this.options.overflow; var a2 = N.data(this.elem, "olddisplay"); this.elem.style.display = a2 ? a2 : this.options.display; if (N.css(this.elem, "display") === "none") { this.elem.style.display = "block" } } if (this.options.hide) { N(this.elem).hide() } if (this.options.hide || this.options.show) { for (var a6 in this.options.curAnim) { N.style(this.elem, a6, this.options.orig[a6]) } } this.options.complete.call(this.elem) } return false } else { var a3 = a7 - this.startTime; this.state = a3 / this.options.duration; var a5 = this.options.specialEasing && this.options.specialEasing[this.prop]; var a4 = this.options.easing || (N.easing.swing ? "swing" : "linear"); this.pos = N.easing[a5 || a4](this.state, a3, 0, 1, this.options.duration); this.now = this.start + ((this.end - this.start) * this.pos); this.update() } return true } }; N.extend(N.fx, { tick: function() { var a0 = N.timers; for (var a1 = 0; a1 < a0.length; a1++) { if (!a0[a1]()) { a0.splice(a1--, 1) } } if (!a0.length) { N.fx.stop() } }, stop: function() { clearInterval(ay); ay = null }, speeds: { slow: 600, fast: 200, _default: 400 }, step: { opacity: function(a0) { N.style(a0.elem, "opacity", a0.now) }, _default: function(a0) { if (a0.elem.style && a0.elem.style[a0.prop] != null) { a0.elem.style[a0.prop] = (a0.prop === "width" || a0.prop === "height" ? Math.max(0, a0.now) : a0.now) + a0.unit } else { a0.elem[a0.prop] = a0.now } } } }); if (N.expr && N.expr.filters) { N.expr.filters.animated = function(a0) { return N.grep(N.timers, function(a1) { return a0 === a1.elem }).length } } function a(a1, a2) { var a0 = {}; N.each(X.concat.apply([], X.slice(0, a2)), function() { a0[this] = a1 }); return a0 } if ("getBoundingClientRect" in aU.documentElement) { N.fn.offset = function(a0) { var a9 = this[0]; if (a0) { return this.each(function(ba) { N.offset.setOffset(this, a0, ba) }) } if (!a9 || !a9.ownerDocument) { return null } if (a9 === a9.ownerDocument.body) { return N.offset.bodyOffset(a9) } var a3 = a9.getBoundingClientRect(), a5 = a9.ownerDocument, a8 = a5.body, a6 = a5.documentElement, a7 = a6.clientTop || a8.clientTop || 0, a1 = a6.clientLeft || a8.clientLeft || 0, a2 = a3.top + (self.pageYOffset || N.support.boxModel && a6.scrollTop || a8.scrollTop) - a7, a4 = a3.left + (self.pageXOffset || N.support.boxModel && a6.scrollLeft || a8.scrollLeft) - a1; return { top: a2, left: a4} } } else { N.fn.offset = function(a0) { var bb = this[0]; if (a0) { return this.each(function(bc) { N.offset.setOffset(this, a0, bc) }) } if (!bb || !bb.ownerDocument) { return null } if (bb === bb.ownerDocument.body) { return N.offset.bodyOffset(bb) } N.offset.initialize(); var ba = bb.offsetParent, a1 = bb, a7 = bb.ownerDocument, a4, a8 = a7.documentElement, a9 = a7.body, a5 = a7.defaultView, a6 = a5 ? a5.getComputedStyle(bb, null) : bb.currentStyle, a2 = bb.offsetTop, a3 = bb.offsetLeft; while ((bb = bb.parentNode) && bb !== a9 && bb !== a8) { if (N.offset.supportsFixedPosition && a6.position === "fixed") { break } a4 = a5 ? a5.getComputedStyle(bb, null) : bb.currentStyle; a2 -= bb.scrollTop; a3 -= bb.scrollLeft; if (bb === ba) { a2 += bb.offsetTop; a3 += bb.offsetLeft; if (N.offset.doesNotAddBorder && !(N.offset.doesAddBorderForTableAndCells && /^t(able|d|h)$/i.test(bb.nodeName))) { a2 += parseFloat(a4.borderTopWidth) || 0; a3 += parseFloat(a4.borderLeftWidth) || 0 } a1 = ba, ba = bb.offsetParent } if (N.offset.subtractsBorderForOverflowNotVisible && a4.overflow !== "visible") { a2 += parseFloat(a4.borderTopWidth) || 0; a3 += parseFloat(a4.borderLeftWidth) || 0 } a6 = a4 } if (a6.position === "relative" || a6.position === "static") { a2 += a9.offsetTop; a3 += a9.offsetLeft } if (N.offset.supportsFixedPosition && a6.position === "fixed") { a2 += Math.max(a8.scrollTop, a9.scrollTop); a3 += Math.max(a8.scrollLeft, a9.scrollLeft) } return { top: a2, left: a3} } } N.offset = { initialize: function() { var a5 = aU.body, a2 = aU.createElement("div"), a7, a4, a0, a6, a1 = parseFloat(N.curCSS(a5, "marginTop", true)) || 0, a3 = "<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>"; N.extend(a2.style, { position: "absolute", top: 0, left: 0, margin: 0, border: 0, width: "1px", height: "1px", visibility: "hidden" }); a2.innerHTML = a3; a5.insertBefore(a2, a5.firstChild); a7 = a2.firstChild; a4 = a7.firstChild; a6 = a7.nextSibling.firstChild.firstChild; this.doesNotAddBorder = (a4.offsetTop !== 5); this.doesAddBorderForTableAndCells = (a6.offsetTop === 5); a4.style.position = "fixed", a4.style.top = "20px"; this.supportsFixedPosition = (a4.offsetTop === 20 || a4.offsetTop === 15); a4.style.position = a4.style.top = ""; a7.style.overflow = "hidden", a7.style.position = "relative"; this.subtractsBorderForOverflowNotVisible = (a4.offsetTop === -5); this.doesNotIncludeMarginInBodyOffset = (a5.offsetTop !== a1); a5.removeChild(a2); a5 = a2 = a7 = a4 = a0 = a6 = null; N.offset.initialize = N.noop }, bodyOffset: function(a0) { var a1 = a0.offsetTop, a2 = a0.offsetLeft; N.offset.initialize(); if (N.offset.doesNotIncludeMarginInBodyOffset) { a1 += parseFloat(N.curCSS(a0, "marginTop", true)) || 0; a2 += parseFloat(N.curCSS(a0, "marginLeft", true)) || 0 } return { top: a1, left: a2} }, setOffset: function(a7, a0, a6) { if (/static/.test(N.curCSS(a7, "position"))) { a7.style.position = "relative" } var a4 = N(a7), a5 = a4.offset(), a3 = parseInt(N.curCSS(a7, "top", true), 10) || 0, a2 = parseInt(N.curCSS(a7, "left", true), 10) || 0; if (N.isFunction(a0)) { a0 = a0.call(a7, a6, a5) } var a1 = { top: (a0.top - a5.top) + a3, left: (a0.left - a5.left) + a2 }; if ("using" in a0) { a0.using.call(a7, a1) } else { a4.css(a1) } } }; N.fn.extend({ position: function() { if (!this[0]) { return null } var a1 = this[0], a3 = this.offsetParent(), a2 = this.offset(), a0 = /^body|html$/i.test(a3[0].nodeName) ? { top: 0, left: 0} : a3.offset(); a2.top -= parseFloat(N.curCSS(a1, "marginTop", true)) || 0; a2.left -= parseFloat(N.curCSS(a1, "marginLeft", true)) || 0; a0.top += parseFloat(N.curCSS(a3[0], "borderTopWidth", true)) || 0; a0.left += parseFloat(N.curCSS(a3[0], "borderLeftWidth", true)) || 0; return { top: a2.top - a0.top, left: a2.left - a0.left} }, offsetParent: function() { return this.map(function() { var a0 = this.offsetParent || aU.body; while (a0 && (!/^body|html$/i.test(a0.nodeName) && N.css(a0, "position") === "static")) { a0 = a0.offsetParent } return a0 }) } }); N.each(["Left", "Top"], function(a2, a0) { var a1 = "scroll" + a0; N.fn[a1] = function(a5) { var a3 = this[0], a4; if (!a3) { return null } if (a5 !== ah) { return this.each(function() { a4 = l(this); if (a4) { a4.scrollTo(!a2 ? a5 : N(a4).scrollLeft(), a2 ? a5 : N(a4).scrollTop()) } else { this[a1] = a5 } }) } else { a4 = l(a3); return a4 ? ("pageXOffset" in a4) ? a4[a2 ? "pageYOffset" : "pageXOffset"] : N.support.boxModel && a4.document.documentElement[a1] || a4.document.body[a1] : a3[a1] } } }); function l(a0) { return ("scrollTo" in a0 && a0.document) ? a0 : a0.nodeType === 9 ? a0.defaultView || a0.parentWindow : false } N.each(["Height", "Width"], function(a2, a0) { var a1 = a0.toLowerCase(); N.fn["inner" + a0] = function() { return this[0] ? N.css(this[0], a1, false, "padding") : null }; N.fn["outer" + a0] = function(a3) { return this[0] ? N.css(this[0], a1, false, a3 ? "margin" : "border") : null }; N.fn[a1] = function(a3) { var a4 = this[0]; if (!a4) { return a3 == null ? null : this } if (N.isFunction(a3)) { return this.each(function(a6) { var a5 = N(this); a5[a1](a3.call(this, a6, a5[a1]())) }) } return ("scrollTo" in a4 && a4.document) ? a4.document.compatMode === "CSS1Compat" && a4.document.documentElement["client" + a0] || a4.document.body["client" + a0] : (a4.nodeType === 9) ? Math.max(a4.documentElement["client" + a0], a4.body["scroll" + a0], a4.documentElement["scroll" + a0], a4.body["offset" + a0], a4.documentElement["offset" + a0]) : a3 === ah ? N.css(a4, a1) : this.css(a1, typeof a3 === "string" ? a3 : a3 + "px") } }); ak.jQuery = ak.$ = N
})(window); jQuery.noConflict(); if (!cGB) { var cGB = true; if (!cm_ClientID) { var cm_ClientID = "99999999" } if (!cm_HOST) { var cm_HOST = "test.coremetrics.com/cm?" } if (!cm_ClientTS) { var dt = new Date(); var cm_ClientTS = dt.getTime() } if (!cm_TrackLink) { var cm_TrackLink = "" } if (!cm_DelayHandlerReg) { var cm_DelayHandlerReg = "" } if (!cm_SkipHandlerReg) { var cm_SkipHandlerReg = "" } if (!cm_TrackTime) { var cm_TrackTime = false } if (!cm_TrackImpressions) { var cm_TrackImpressions = "" } if (!cm_SecureTags || cm_SecureTags == null) { var cm_SecureTags = "|2|3|" } if (!cm_FirstPartyDetect) { var cm_FirstPartyDetect = false } if (!cm_DownloadExtensions) { var cm_DownloadExtensions = null } if (!cm_UseUTF8) { var cm_UseUTF8 = false } if (!cm_FormError) { var cm_FormError = "" } if (cm_UseCookie == null) { var cm_UseCookie = true } if (!cm_TimeoutSecs) { var cm_TimeoutSecs = 15 } if (!cm_OffsiteImpressionsEnabled) { var cm_OffsiteImpressionsEnabled = false } if (!cm_AvidHost) { var cm_AvidHost = "ad.coremetrics.com/cookie-id.js?fn=cmSetAvid" } var cm_AvidLoadTimedOut = false; if (!cm_JSFEnabled) { var cm_JSFEnabled = false } if (!cm_JSFPCookieDomain) { var cm_JSFPCookieDomain = null } if (!cm_JSFMigrationEnabled) { var cm_JSFMigrationEnabled = 0 } if (!cm_JSFSessionType) { var cm_JSFSessionType = "I" } if (!cm_JSFSessionTimeout) { var cm_JSFSessionTimeout = 1800 } if (!cm_JSFCoreCookieName) { var cm_JSFCoreCookieName = "CoreID6" } if (!cm_JSFSpecCookieNames) { var cm_JSFSpecCookieNames = new Array() } if (!cmUA) { var cmUA = new Object(); cmUA.MSIE = 2083 } if (!cmDefaultLimit) { var cmDefaultLimit = 8197 } if (cGQ == null) { var cGQ = true } if (!cGO) { var cGO = 1024 } if (!cGR) { var cGR = 600000 } if (!encodeURIComponent) { var encodeURIComponent = null } var cG8; var cG8Index; var cG6 = document; var cGT; var cG7 = new _cG7(); cG6.cmTagCtl = cG7; var CI = cmStartTagSet; var CJ = cmSendTagSet; var cG1 = 0; var cG0 = new Array("vn1", "vn2", "st", "pi", "rs", "ec", "rf", "ul"); var cmLastPageID = null; var cGA = null; var cmMigrationDisabled = 0; var cmMigrationFrom1p_CM = 1; var cmMigrationFrom1p_SA = 2; var cmValidFlag_SessionContinue = 1; var cmValidFlag_NewSession = 2; var cmValidFlag_NewVisitor = 4; var cmValidFlag_SessionReset = 32; var cmSACookieName = "sauid"; var cmCore_JSFParamEnabled = "cjen"; var cmCore_JSFParamUserID = "cjuid"; var cmCore_JSFParamSessionID = "cjsid"; var cmCore_JSFParamValidFlag = "cjvf"; var cmCore_JSFParamSpecCookiesCount = "cjscc"; var cmCore_JSFParamSpecCookiesNames = "cjscn"; var cmCore_JSFParamSpecCookiesValues = "cjscv"; var cmSpecCookieNames = ""; var cmSpecCookieValues = ""; var cmSpecCookiesCount = 0; if (!cG4) { var cG4 = 5000 } if (!cG5) { var cG5 = 200 } var cG2 = new Object(); var cG3 = new Object(); var cGM = navigator.appVersion; var cGN = navigator.userAgent; var cGS = cGN.indexOf("Opera") >= 0; var cGU = cGN.indexOf("Safari") >= 0; var cmT2 = -1; var cmT3 = -1; var cGC = ""; var cGD = ""; var cGE = ""; var cGF = ""; var cGG = ""; var cGH = ""; var cGI = ""; var cGJ = ""; var cGK = ""; var cGL = ""; var chost = null; var cci = null; CI(); for (var cmSpecCookieIndex = 0; cmSpecCookieIndex < cm_JSFSpecCookieNames.length; cmSpecCookieIndex++) { var currSpecCookieName = cm_JSFSpecCookieNames[cmSpecCookieIndex]; var currSpecCookieValue = cI(cm_JSFSpecCookieNames[cmSpecCookieIndex]); if (currSpecCookieValue == null) { continue } if (currSpecCookieValue.length == 0) { continue } cmSpecCookieNames = cmSpecCookieNames + (cmSpecCookieNames != "" ? "|" : "") + escape(currSpecCookieName); cmSpecCookieValues = cmSpecCookieValues + (cmSpecCookieValues != "" ? "|" : "") + escape(currSpecCookieValue); cmSpecCookiesCount++ } var dt = new Date(); var cmYearOffset = 0; if (dt.getFullYear) { cmYearOffset = dt.getFullYear() } else { cmYearOffset = dt.getYear(); if (cmYearOffset < 1900) { cmYearOffset += 1900 } } dt.setYear(cmYearOffset + 15); var cmCookieExpDate = dt.toGMTString(); if (cm_UseCookie) { var pi = cI("cmRS", "pi", ""); if (pi != "") { cmLastPageID = pi } chost = cm_HOST; cm_HOST = cI("cmRS", "ho", chost); cci = cm_ClientID; cm_ClientID = cI("cmRS", "ci", cci); var cT3 = cI("cmRS", "t3", ""); if (cT3 != "") { cGA = cT3 } var jsfpdata = cI("cmRS", "cjen", ""); if (jsfpdata != "") { cm_JSFEnabled = true } var cT1 = cI("cmRS", "t1", ""); if (cT1 != "" && (!cGA || cm_ClientTS - cGA < cGR)) { cmAddShared("st", cT1); var ul = cI("cmRS", "ul", ""); var rf = cI("cmRS", "rf", ""); var cT2 = cI("cmRS", "t2", ""); var cT4 = cI("cmRS", "t4", ""); if (cm_TrackTime) { cN(cT1, cT2, cT3, cT4, true, pi) } var hr = cI("cmRS", "hr", ""); if (hr != "") { var ti = cI("cmRS", "lti", ""); if (cm_ClientTS - ti < cGR) { var nm = cI("cmRS", "ln", ""); cM(cT1, ti, nm, hr, true, pi, ul, rf) } } var cV6 = cI("cmRS", "ac", ""); var cV7 = cI("cmRS", "fd", ""); if ((cV6 != "") || (cV7 != "")) { var ti = cI("cmRS", "fti", ""); if (cm_ClientTS - ti < cGR) { var cV9 = cI("cmRS", "fn", ""); var cV0 = cI("cmRS", "fu", ""); cL(cT1, ti, cV9, cV6, cV0, cV7, true, pi, ul, rf) } } var cError = unescape(cI("cmRS", "uer", "")); CH(cT1, cT3, cError, true, pi) } CC("cmRS") } if (!cGS && (cF(4) || CD(5))) { this.onload = cK(this, "onload", this.onload, "cY(e)", cY); this.onunload = cK(this, "onunload", this.onunload, "cZ(e)", cZ); if (cm_DelayHandlerReg.indexOf("L") == -1) { window.cX("main") } if (cm_DelayHandlerReg.indexOf("F") == -1) { cU() } } CJ(1); if (cm_OffsiteImpressionsEnabled) { var cm_Avid = cI("CMAVID"); if (cm_Avid == null) { document.write("<script src='" + C8(null) + "//" + cm_AvidHost + "' language='javascript1.1' type='text/javascript'></script>"); var cm_AvidLoadTimer = setTimeout("cm_AvidLoadTimedOut=true", 2000) } } if (chost) { cm_HOST = chost } if (cci) { cm_ClientID = cci } } var cI = cI; var cE = cE; function cmStartTagSet() { if (cG8) { return } cG8 = new Array(); cG8[0] = new _cm(); cG8Index = 1 } function cmAddShared(a, b) { if (cG8) { cG8[0][a] = b } } function cmSendTagSet() { var b; var a = cG8; while ((b = C7(arguments[0])) != null) { c9(b, a[0].ci) } cG8 = null } function CQ(b, c, a) { this.pl = b; this.hosts = c.split(","); if (a) { this.qs = a } this.cM5 = CR } function CR() { var b = arguments; var c = b[0] ? b[0] : this.hosts[0]; return this.pl + "//" + c + (this.qs ? this.qs : "") } function _cG7() { this.cM0 = new Object(); this.uls = new Object(); this.rfs = new Object(); this.cTI = new Array(); this.cPE = 0; this.normalizeURL = c2; this.getPageID = c1; this.getPluginPageID = cmGetPluginPageID } function cmGetPluginPageID(b) { splitClientIDs = cm_ClientID.split(";"); finalClientID = b; for (var a = 0; a < splitClientIDs.length; a++) { if (splitClientIDs[a] == b) { finalClientID = cm_ClientID; break } } return this.getPageID(finalClientID) } function c1(a) { var b = cG7.cM0[a]; return b ? b : "" } function CS(a) { var b = cG7.uls[a]; if (!b) { b = window.location.href } return b ? b : "" } function CT(a) { var b = cG7.rfs[a]; if (!b) { b = cG6.referrer } return b ? b : "" } function CP(e) { var d = cGT; if (!d) { d = cGT = cG7.normalizeURL(window.location.href, false) } var c = e.indexOf("#"); if (c >= 0 && c <= d.length) { var b = d.indexOf("#"); if (b < 0) { b = d.length } if (e.substring(0, c) == d.substring(0, b)) { return e.substring(c) } } return e } function c2(b, a) { if (a) { b = CP(b); var c = window.location.protocol + "//" + window.location.host; if (b.indexOf(c) == 0) { b = b.substring(c.length) } } return cD(b) } function c4() { for (var a in cmUA) { if (cGM.indexOf(a) != -1) { return cmUA[a] } } return cmDefaultLimit } function C0(a) { if (cG7) { if (cG7.cTI && cG7.cTI[a]) { cG7.cTI[a].cmLD = true; if (cG7.cTI[a].ci) { cmJSFSetValidFlagValue(cmValidFlag_SessionContinue, false, cG7.cTI[a].ci); cmJSFSetSessionCookies(false, cG7.cTI[a].ci) } } cG7.cPE--; if (cG7.onResponse) { cG7.onResponse(a) } } dontExit = false } function CN(a) { if (cG7) { cG7.cPE--; var b = null; if (cG7.cTI && cG7.cTI[a]) { b = cG7.cTI[a]; b.cmLD = true } if (cG7.onError && (!b || !b.cmTO)) { cG7.onError(3, b) } } } function c6(b, a) { if (cG3) { cG3[b] = true } C0(a) } function CO(a) { if (cG7 && cG7.cTI && cG7.cTI[a] && !(cG7.cTI[a].cmLD)) { var b = cG7.cTI[a]; b.cmTO = b.src; b.src = ""; if (cG7.onError) { cG7.onError(4, b.cmTO) } } } function c8(a) { if (!cG3 || cG3[a]) { return true } var b = new Date(); if ((b.getTime() - cG2[a]) > cG4) { return true } return false } function CV(a, e, c) { if (!c) { c = cm_ClientID } if ((!cG2[a] || c8(a)) && (cm_OffsiteImpressionsEnabled == false || cm_Avid != null || cm_AvidLoadTimedOut)) { var d = new Image(); var f = cG1; cG7.cTI[cG1++] = d; if (!cG2[a]) { var b = new Date(); cG2[a] = b.getTime(); d.onload = new Function("if(c6)c6('" + a + "'," + f + ");") } else { d.onload = new Function("if(C0)C0(" + f + ");") } d.onerror = new Function("if(CN)CN(" + f + ");"); if (cm_OffsiteImpressionsEnabled && cm_Avid != null) { e += "&avid=" + cm_Avid } var g = c4(); if (e.length > g) { e = e.substring(0, g - 6) + "&err=O" } if (cG7.onTagSent) { cG7.onTagSent(e, f) } d.src = e; d.ci = c; setTimeout("if(CO)CO(" + f + ");", cm_TimeoutSecs * 1000) } else { setTimeout('if(CV)CV("' + a + '","' + e + '","' + c + '");', cG5) } } function c9(a, d) { if (cI("CMDisabled")) { return } for (var c in a.hosts) { var b = a.cM5(a.hosts[c]); cG7.cPE++; CV(a.hosts[c], b, d) } } function cC() { if (!this.ul) { if (this.tid == "8" || (this.tid == "9" || this.tid == "10")) { this.ul = window.location.protocol + "//" + window.location.hostname } else { this.ul = window.location.href } } if (cG8) { cG8[cG8Index++] = this } else { var a = this.getImgSrc(arguments[0], 1); c9(a, this.ci); return a } } function C4(d, b, a) { if (!a) { if (!d.rf) { if (!document.referrer) { b.rf = "" } else { b.rf = document.referrer } } else { if (d != b) { b.rf = d.rf } } if (!d.ul || d.ul == "" || d.ul == "(none)") { b.ul = window.location.href } else { if (d != b) { b.ul = d.ul } } var c = cG7.normalizeURL(b.ul, false); if (c != "") { b.ul = c } } } function C5(b, a) { if (cm_FirstPartyDetect && !a) { if (cI("cmRS") || cI("TestSess")) { b.ts = "Y" } else { CB("TestSess", "Y"); b.ts = cI("TestSess") } b.tp = cI("TestPerm"); if (b.tp != "Y") { dt.setHours(dt.getHours() + 5); CB("TestPerm", "Y", dt.toGMTString()); b.tp = cI("TestPerm") } } } function C6(c, e, f) { var b = ""; if (c.tid) { b += "tid=" + c.tid } var a = (c.tid == 1 || (c.pc && c.pc.charAt(0) == "Y")); if (!c.lp && a) { c.lp = cmLastPageID } for (var d in c) { if (!c[d] || c[d] == "" || c[d].constructor == Function || d == "qs" || d == "tid") { continue } if (e && e[d] == c[d]) { continue } if (b != "") { b += "&" } b += cD(d) + "=" + cE(cD(c[d])) } if (!c.rs && c.ci) { if (c.pi && a) { cG7.cM0[c.ci] = c.pi } if (c.ul) { cG7.uls[c.ci] = c.ul } if (c.rf) { cG7.rfs[c.ci] = c.rf } } if (e && cm_SecureTags.indexOf("|" + c.tid + "|") != -1) { e.protocol = "https:" } if (cm_JSFEnabled && !f) { cmJSFSetSessionCookies(false, c.ci); b += (b != "" ? "&" : "") + cmCore_JSFParamEnabled + "=1"; var g = cI(cm_JSFCoreCookieName); b += "&" + cmCore_JSFParamUserID + "=" + (g != null ? g : ""); b += "&" + cmCore_JSFParamSessionID + "=" + cmJSFGetSessionValue(c.ci); if (cmSpecCookiesCount > 0) { b += "&" + cmCore_JSFParamSpecCookiesCount + "=" + cmSpecCookiesCount; b += "&" + cmCore_JSFParamSpecCookiesNames + "=" + cmSpecCookieNames; b += "&" + cmCore_JSFParamSpecCookiesValues + "=" + cmSpecCookieValues } b += "&" + cmCore_JSFParamValidFlag + "=" + cmJSFGetValidFlagValue(c.ci) } return b } function C8(b) { var a = location.protocol; if (b && b.protocol) { a = b.protocol } if (a != "http:" && a != "https:") { a = "http:" } return a } function c0() { var d = arguments; C4(this, this, d[0]); C5(this, d[0]); var e = new Object(); var b = C6(this, e); var c = new CQ(C8(e), cm_HOST, b); return d[1] ? c : c.cM5() } function C7() { var n, d, m, f, k, e, o, c, b, g; if (!cG8 || cG8.length < 2) { return null } n = cG8[0]; d = cG8[1]; n.ci = d.ci; for (b = 2; b < cG8.length; b++) { if (n.ci.indexOf(cG8[b].ci) == -1) { n.ci += ";" + cG8[b].ci } } for (b = 0; b < cG0.length; b++) { m = cG0[b]; if (!n[m]) { n[m] = d[m] } } f = arguments; C4(d, n, f[0]); C5(n, f[0]); k = C8(n); img = new CQ(k, cm_HOST); img.qs = C6(n); e = c4(); o = 0; for (var q = 0; q < img.hosts.length; q++) { c = k.length + img.hosts[q].length + img.qs.length; if (c > o) { o = c } } for (b = 1; b < cG8.length; b++) { g = C6(cG8[b], n, true); if (b > 1 && o + g.length + 1 > e) { for (j = 1; j < cG8.length - b + 1; j++) { cG8[j] = cG8[j + b - 1] } cG8.length = cG8.length - b + 1; break } o += g.length + 1; img.qs += "&" + g } if (b == cG8.length) { cG8 = null } return img } function _cm() { var d, c = arguments; this.ci = cm_ClientID; for (d = 0; d < c.length; d++) { this[c[d]] = c[++d] } this.write = cC; this.getImgSrc = c0; this.writeImg = cC; this.st = cm_ClientTS; this.vn1 = "4.2.5"; if (cF(5.5) || !cF(0)) { var b = (cm_UseUTF8 && encodeURIComponent) || cGU ? "utf-8" : cG6.charset; if (!b) { b = cG6.defaultCharset } if (!b) { b = cG6.characterSet } this.ec = b } } function cD(a) { var b = ""; a = b + (!a ? "" : a); return a.split("'").join(b).split('"').join(b).split("\r").join(b).split("\n").join(b) } function cE(a) { var b = 0, c; while (a.charAt(b) == " " && b != a.length) { b++ } c = a.length - 1; while (a.charAt(c) == " " && c != 0) { c-- } a = a.substring(b, c + 1); if (cm_UseUTF8 && encodeURIComponent) { a = encodeURIComponent(a) } else { a = preEscape(a); a = escape(a); var d = new RegExp("%25u00", "g"); a = a.replace(d, "%u00") } a = a.split("+").join("%2B"); return a } function preEscape(b) { for (var c = 160; c < 256; c++) { var a = new RegExp(String.fromCharCode(c), "g"); b = b.replace(a, "%u00" + c.toString(16)) } return b } function cF(b) { var a = cGM.indexOf("MSIE"); if (a != -1) { return (parseFloat(cGM.substring(a + 5)) >= b) } return false } function CD(a) { return (cGN.indexOf("Gecko") != -1 && parseInt(cGM) >= a) } function cI(b, c, e) { var a = cG6.cookie; var d = cJ(b, a, ";"); if (!c || !d) { if (!d && e != null) { return e } return d } d = cJ(c, d, "&"); if (!d && e != null) { return e } return unescape(d) } function CL() { var e, f, d, b, a = 0; f = cG6.cookie; if (f) { e = f.split(";"); a = e.length; for (b = 0; b < e.length; b++) { d = e[b].split("="); if (d.length < 2 || d[1] == null || d[1] == "") { a-- } } } return a } function CB(a, c, f, d) { var e, g, h, b = cG6.cookie; e = null; g = c.length + 1; if (!cI(a)) { g += a.length } if (g > 4096) { e = 1 } else { if (b) { if (CL() >= 50) { e = 2 } } } if (e) { if (cG7.onError) { cG7.onError(e, name) } return false } h = a + "=" + c + ";path=/"; if (d) { h += ";domain=" + d } if (f) { h += ";expires=" + f } cG6.cookie = h; return true } function cmSetSubCookie(h, l, c, e, d) { var g = cI(h); var f; if (!g) { f = l + "=" + c } else { var n = "&"; var k = l + "="; var b = g.indexOf(k); if (b >= 0) { if (b > 0 && g.charAt(b - 1) != n) { b = g.indexOf(n + k); if (b >= 0) { b++ } } } if (b >= 0) { var a = b + l.length + 1; var m = g.indexOf(n, a); if (m < 0) { m = g.length } f = g.substring(0, a) + c + g.substring(m) } else { f = g + n + l + "=" + c } } CB(h, f, e, d) } function CC(b, d) { var a = cI(b); if (a != null) { var c = new Date(); c.setYear(1973); var a = b + "=;path=/;expires=" + c.toGMTString(); if (d) { a += ";domain=" + d } cG6.cookie = a } return a } function cJ(e, g, c) { var h, f, d, b, a = null; h = e + "="; f = c + " "; d = g.indexOf(f + h); if (d == -1) { f = c; d = g.indexOf(f + h) } if (d == -1) { d = g.indexOf(h); if (d != 0) { return null } } else { d += f.length } b = g.indexOf(f, d); if (b == -1) { b = g.length } return g.substring(d + h.length, b) } function cK(b, h, c, e, a) { if (c) { var d = c.toString(); if (d.indexOf(e) == -1) { if (cGU && d.indexOf("function (") == 0) { if (h == "onload") { e = d.substring(d.indexOf("{"), d.length) + ";" + e + ";" } else { e = e + ";" + d.substring(d.indexOf("{"), d.length) } } else { b["_c_" + h] = c; if (h == "onload") { e = "if(!e)var e=null;var ret=this._c_" + h + "(" + (cF(5) ? "" : "e") + ");" + e + ";return ret;" } else { e = "if(!e)var e=null;" + e + ";return this._c_" + h + "(" + (cF(5) ? "" : "e") + ");" } } if (h == "onsubmit") { b.cmFunction1 = cP; b.cmFunction2 = b.onsubmit; return cmAlternateOnSubmit } else { var g = new Function("e", e); return g } } else { return c } } else { if (h == "onsubmit") { b.cmFunction1 = cP; return cmAlternateOnSubmit } else { return a } } } function cmAlternateOnSubmit(a) { a = CG(a); if (!a) { if (document.cmPostbackForm) { a = document.cmPostbackForm } else { if (this.cmFunction1) { a = this } else { return true } } } else { if (a) { if (a.form) { a = a.form } } else { return true } } if (a.cM1 >= 0) { CI(); cO(a ? a.cM1 : -1, "S"); CA(1); CJ(1); CE() } if (a.cmFunction2) { return a.cmFunction2() } else { return true } } function CG(a) { var a; if (cF(4)) { if (window.event) { a = window.event.srcElement } } else { if (a) { if (CD(5)) { a = a.currentTarget } else { a = a.target } } } return a } function CU(g, a, c, f, b) { var d, e; g.pi = c ? c : c1(a); if (cGQ) { if (f || b) { g.ul = f ? f : ""; g.rf = b ? b : "" } else { d = CS(a); e = CT(a); if (g.pi == "" || d.indexOf("cm_") > 0 || (e != "" && e.indexOf(window.location.protocol + "//" + window.location.host) != 0)) { g.ul = d; g.rf = e } } } } function cL(e, b, g, f, c, h, l, d, m, a) { var k = new _cm("tid", "10"); CU(k, k.ci, d, m, a); k.st = e; k.ti = b; k.fo = g; k.ac = f; k.hr = c; k.fi = h; if (l) { k.rs = "Y" } k.write(1) } function cM(g, h, d, c, f, e, a, b) { var m = new _cm("tid", "8"); CU(m, m.ci, e, a, b); m.st = g; m.ti = h; m.nm = d; m.hr = c; var k = c.indexOf("cm_cr="); var l = c.indexOf("cm_me="); if (k > -1) { var n = c.indexOf("&", k); if (n == -1) { m.cm_cr = c.substring(k + 6) } else { m.cm_cr = c.substring(k + 6, n) } } if (l > -1) { var n = c.indexOf("&", l); if (n == -1) { m.cm_me = c.substring(l + 6) } else { m.cm_me = c.substring(l + 6, n) } } if (f) { m.rs = "Y" } m.write(1) } function cN(a, g, f, d, b, c) { var e = new _cm("tid", "11"); e.pi = c ? c : c1(e.ci); e.st = a; e.lc = g; e.lx = d; e.cx = f; if (b) { e.rs = "Y" } e.write(1) } function CM(b) { var c, e, d, f; if ((c = b.indexOf("?")) == -1) { c = b.lastIndexOf("/") } if (c != -1) { e = b.indexOf("#", c); if (e == -1) { e = b.length } while (c != -1 && c < e) { c = b.indexOf("cm_", c); if (c != -1) { d = b.indexOf("&", c); if (d == -1) { d = e } f = b.indexOf("=", c); if (f != -1 && f < d) { this[b.substring(c, f)] = b.substring(f + 1, d) } c = d } } } } function CK(c, b, l, g, e) { var k, d, m, f, a, h; if ((b || l) && c) { k = new _cm("tid", "9"); d = new CM(CP(c)); if (b) { m = k.cm_sp_o = d.cm_sp_o; if (!m) { m = k.cm_sp = d.cm_sp } } if (l) { f = k.cm_re_o = d.cm_re_o; if (!f) { f = k.cm_re = d.cm_re } } if (g) { if (c.indexOf("#") == -1) { a = k.cm_cr = d.cm_cr } } if (e) { h = k.cm_me = d.cm_me } if (m || f || a || h) { k.pi = c1(k.ci); k.st = cm_ClientTS; k.write(1) } } } function CH(b, c, d, a, f) { if (d != cGL) { var e = new _cm("tid", "12"); e.pi = f ? f : c1(e.ci); e.st = b; e.ti = c; if (a) { e.rs = "Y" } e.er = d; e.write(1); cGL = cm_FormError } } function cO(a, d) { var c, b = ""; d = a + ":" + d; if (a != -1) { var e = cG6.forms[a]; if (cF(5)) { b = e.attributes.action.nodeValue } else { if (e.attributes.getNamedItem) { b = e.attributes.getNamedItem("action"); if (b) { b = b.value } } else { b = e.action } } if (!b) { b = "" } } if (cV(b)) { c = new Date(); cGH = c.getTime(); cGF = d; cGE = cG7.normalizeURL(b, true); cL(cm_ClientTS, cGH, cGD, cGF, cGE, cGC, false); cGG = cGC; cGC = "" } else { cGF = "" } } function cP(a) { CI(); var a = CG(a); cO(a ? a.cM1 : -1, "S"); CA(1); CJ(1); CE() } function cQ(a) { var a = CG(a); if (a) { cO(a.cM1, "R") } } function cR(a) { var a = CG(a); if (a) { a.cM3 = "xyzzy" } } function cS(a) { var a = CG(a); if (a) { a.cM3 = a.value } } function cT(b) { var b = CG(b); if (b && (b.type != "submit") && (b.type != "reset")) { if (b.value != b.cM3) { var a = b.name; if (!a) { a = b.id } var c = cGC + b.cM1 + ":" + b.cM2 + ":" + a.split(":").join("|").split(";").join("|") + ";"; if (c.length < 1000) { cGC = c } } } } function CF(a) { var a = CG(a); if (a) { cGC = cGC + a.cM1 + ":" + a.cM2 + ":" + a.name + ";" } } function cU() { if (cm_SkipHandlerReg.indexOf("F") == -1) { var c, f, a, d, b; for (c = 0; c < cG6.forms.length; c++) { f = cG6.forms[c]; if (f.cM1 == null) { f.cM1 = c; if (cF(5)) { a = f.attributes.name.nodeValue } else { if (f.attributes.getNamedItem) { a = f.attributes.getNamedItem("name"); if (a) { a = a.value } } else { a = f.name } } if (!a) { a = "" } cGD = cGD + a + ":" + c + ";"; f.onsubmit = cK(f, "onsubmit", f.onsubmit, "cP(e)", cP); f.onreset = cK(f, "onreset", f.onreset, "cQ(e)", cQ); for (d = 0; d < f.elements.length; d++) { b = f.elements[d]; b.cM1 = c; b.cM2 = d; b.cM3 = ""; b.onfocus = cK(b, "onfocus", b.onfocus, "cS(e)", cS); b.onblur = cK(b, "onblur", b.onblur, "cT(e)", cT); b.onchange = cK(b, "onchange", b.onchange, "cR(e)", cR); if (b.type == "submit" || b.type == "button") { b.onclick = cK(b, "onclick", b.onclick, "CF(e)", CF) } } } } } } function cV(a) { if (cm_TrackLink == true || cm_TrackLink == "A") { return true } else { if (cm_TrackLink == "E" && a.indexOf("/") != 0) { return true } var b; if ((b = cm_DownloadExtensions) != null) { var d = a.lastIndexOf("."); if (d != -1) { var f = a.substring(d); for (var c = 0; c < b.length; c++) { if (f == b[c]) { return true } } } } return false } } function cW(a) { CI(); var a = CG(a); if (a) { C9(a) } CA(1); CJ(1); CE() } function C9(f) { cGI = ""; cGJ = ""; cGK = ""; var c = f.tagName.toUpperCase(); if (c == "AREA") { cGJ = f.href ? f.href : ""; var g = f.parentElement ? f.parentElement : f.parentNode; if (g != null) { cGI = g.name ? g.name : "" } } else { while (c != "A" && c != "HTML") { if (!f.parentElement) { f = f.parentNode } else { f = f.parentElement } if (f) { c = f.tagName.toUpperCase() } } if (c == "A") { cGJ = f.href ? f.href : ""; cGI = f.name ? f.name : "" } } var d = f.getAttribute("manual_cm_re"); if (d) { cGJ = cGJ + ((cGJ.indexOf("?") > -1) ? "&" : "?") + "cm_re=" + d } var a = f.getAttribute("manual_cm_sp"); if (a) { cGJ = cGJ + ((cGJ.indexOf("?") > -1) ? "&" : "?") + "cm_sp=" + a } cGJ = cG7.normalizeURL(cGJ, true); if (cV(cGJ) == true) { var b = new Date(); cGK = b.getTime(); cM(cm_ClientTS, cGK, cGI, cGJ, false) } else { cGJ = "" } } function cX(d) { CI(); var a, f, b, g, e, c, k; b = cm_TrackImpressions; g = (b.indexOf("S") != -1); e = (b.indexOf("R") != -1); c = (b.indexOf("C") != -1); k = (b.indexOf("C") != -1); for (a = 0; a < cG6.links.length; a++) { f = cG6.links[a]; if (cm_SkipHandlerReg.indexOf("L") == -1) { if (!CD(5)) { f.onclick = cK(f, "onclick", f.onclick, "cW(e)", cW) } else { if (!f.cM4) { f.addEventListener("click", cW, false); f.cM4 = 1 } } } if (d == "onload") { var h = f.href; if (f.getAttribute("manual_cm_re")) { if (f.href.indexOf("?") > -1) { h = h + "&cm_re=" + f.getAttribute("manual_cm_re") } else { h = h + "?cm_re=" + f.getAttribute("manual_cm_re") } } if (f.getAttribute("manual_cm_sp")) { if (f.href.indexOf("?") > -1) { h = h + "&cm_sp=" + f.getAttribute("manual_cm_sp") } else { h = h + "?cm_sp=" + f.getAttribute("manual_cm_sp") } } if (!f.cmImpressionSent) { CK(h, g, e, c, k); f.cmImpressionSent = 1 } } } CJ(1) } function cY(b) { var a = new Date(); cmT2 = a.getTime(); CH(cm_ClientTS, cmT2, cm_FormError, false); if (!cGS && (cF(4) || CD(5))) { window.cX("onload"); cU() } cGB = null } function cZ(f) { cG3 = null; CI(); var a = false; if (cGC != "") { cO(-1, "U"); a = true } CA(0); CH(cm_ClientTS, cmT3, cm_FormError, false); CJ(1); if (a) { dontExit = true; var c = new Date(); var b = new Date(); for (; dontExit && (b - c < 1000); ) { b = new Date() } } CE(); if (cm_UseCookie && cG7.cPE == 0) { var g = escape(c1(cm_ClientID)); CB("cmRS", "t3=" + cmT3 + "&pi=" + g) } if (cG7.onUnload) { cG7.onUnload() } if (cF(5) && !cF(5.5) && window.parent != window) { cG7.cTI = null } else { if (!cGU) { for (var d = 0; d < cG7.cTI.length; d++) { cG7.cTI[d].onload = null; cG7.cTI[d].onerror = null } } } } function CA(c) { var b = new Date(); var a = b.getTime(); if (cm_TrackTime && (cmT3 == -1 || c == 1 || (a - cmT3) > 10000)) { cN(cm_ClientTS, cmT2, a, cGA, false) } cmT3 = a } function CE() { if (cm_UseCookie) { var e, f, c, b, d = ""; e = cGA ? "&t4=" + cGA : ""; f = (cGJ != "") ? "&lti=" + cGK + "&ln=" + escape(cGI) + "&hr=" + escape(cGJ) : ""; c = new Object(); CU(c, cm_ClientID); var a = ""; if (cm_JSFEnabled) { a = "&cjen=1" } b = "&t1=" + cm_ClientTS + "&t2=" + cmT2 + "&t3=" + cmT3 + e + f + "&fti=" + cGH + "&fn=" + escape(cGD) + "&ac=" + cGF + "&fd=" + escape(cGG) + "&uer=" + escape(cm_FormError) + "&fu=" + escape(cGE) + "&pi=" + escape(c.pi) + "&ho=" + escape(cm_HOST) + "&ci=" + escape(cm_ClientID); if (c.ul && c.rf && c.ul.length + c.rf.length < cGO) { d = "&ul=" + escape(c.ul) + "&rf=" + escape(c.rf) } if (!CB("cmRS", b + d + a)) { if (!CB("cmRS", b + a)) { CB("cmRS", "t3=" + cmT3 + "&pi=" + escape(c.pi) + a) } } } } function cmSetAvid(a) { clearTimeout(cm_AvidLoadTimer); if (a) { cm_Avid = a; CB("CMAVID", cm_Avid) } cm_AvidLoadTimedOut = false } function cmJSFConvertSAtoCM(c) { var a = c.length; var d = 22; var b = 23; if (a < 19) { return null } if (c.charAt(0) != "U" && c.charAt(0) != "u") { return null } if (a < d) { c = c + c.substring(a - (d - a), a) } var e = "99"; e = e + c.substring(1, b - 1); return e } function cmJSFSetSessionCookies(c, a) { if (!cm_JSFEnabled) { return } var b = a.split(";"); for (var d = 0; d < b.length; d++) { cmJSFSetSingleSessionCookie(c, b[d]) } } function debugReadCookie(b) { var d = b + "="; var a = document.cookie.split(";"); for (var f = 0; f < a.length; f++) { var e = a[f]; while (e.charAt(0) == " ") { e = e.substring(1, e.length) } if (e.indexOf(d) == 0) { return e.substring(d.length, e.length) } } return null } function cmJSFSetSingleSessionCookie(c, h, a) { if (!cm_JSFEnabled) { return } if (cI(cm_JSFCoreCookieName) == null) { if (!cmJSFDoMigrateCookies()) { CB(cm_JSFCoreCookieName, cmJSFCreateUserId(), cmCookieExpDate, cm_JSFPCookieDomain) } if (!a) { cmJSFSetSingleSessionCookie(true, h, true) } cmJSFSetValidFlagSingleValue(cmValidFlag_NewSession, false, h); cmJSFSetValidFlagSingleValue(cmValidFlag_NewVisitor, true, h); return } var d = (cmJSFGetSessionLoginCookieValue(h) != null); if (!d) { if (cmJSFCombineSessionCookies(h)) { d = (cmJSFGetSessionLoginCookieValue(h) != null) } } if (!d && !c) { if (!a) { cmJSFSetSingleSessionCookie(true, h, true) } cmJSFSetValidFlagSingleValue(cmValidFlag_NewSession, true, h); return } var e = new Date(); var b = e.getTime(); var f = b + cm_JSFSessionTimeout * 1000; var k = cmJSFIsSessionExpired(cmJSFGetSessionExpireCookieValue(h)); if ((c != null && c == true) || k) { var g = b.toString(); if (g.length < 10) { while (g.length < 10) { g = "0" + g } } else { g = g.substring(0, 10) } cmJSFSetSessionLoginCookieValue(h, g); if (k) { cmJSFSetValidFlagSingleValue(cmValidFlag_SessionReset, true, h) } else { cmJSFSetValidFlagSingleValue(cmValidFlag_NewSession, true, h) } if (cm_JSFSessionType == "T") { cmJSFSetSessionExpiresCookieValue(h, f.toString()) } } if (cm_JSFSessionType == "I") { cmJSFSetSessionExpiresCookieValue(h, f.toString()) } } function cmJSFIsSessionExpired(a) { if (a == null) { return false } var b = new Date(); if (b.getTime() > a) { return true } else { return false } } function cmJSFCreateUserId() { var f = new Date(); var c = Math.random(); if (c == 0) { c = Math.random() } var b = Math.random(); if (b == 0) { b = Math.random() } var e = c.toString().substring(2, 4) + b.toString().substring(2, 12) + f.getTime().toString(); var a = e.length; var d = 23; if (a < d) { e = e + e.substring(a - (d - a), a) } if (a > d) { e = e.substring(0, d) } return e } function cmJSFSetValidFlagValue(b, e, c) { if (!cm_JSFEnabled) { return } var a = c.split(";"); for (var d = 0; d < a.length; d++) { cmJSFSetValidFlagSingleValue(b, e, a[d]) } } function cmJSFSetValidFlagSingleValue(c, a, b) { var f = null; var d = cmJSFGetSessionValidFlagCookieValue(b); if (d) { var e = parseInt(d); if (!isNaN(e)) { f = e } } if (f == null) { f = cmValidFlag_SessionContinue } if (a) { if (c == cmValidFlag_NewSession) { f &= ~cmValidFlag_SessionReset } if (c == cmValidFlag_SessionReset) { f &= ~cmValidFlag_NewSession } f |= c } else { f = c } f |= cmValidFlag_SessionContinue; cmJSFSetSessionValidFlagCookieValue(b, f) } function cmJSFCreateCombinedSessionCookieName(a) { return a + "_clogin" } function cmJSFCombineSessionCookies(a) { var e = cI(a + "_login"); var b = cI(a + "_expires"); var d = cI(a + "_valid"); if (e != null && b != null & d != null) { var c = "l=" + e + "&e=" + b + "&v=" + d; CB(cmJSFCreateCombinedSessionCookieName(a), c, null, cm_JSFPCookieDomain); CC(a + "_login", cm_JSFPCookieDomain); CC(a + "_expires", cm_JSFPCookieDomain); CC(a + "_valid", cm_JSFPCookieDomain); return true } return false } function cmJSFSetSessionLoginCookieValue(a, b) { cmSetSubCookie(cmJSFCreateCombinedSessionCookieName(a), "l", b, null, cm_JSFPCookieDomain) } function cmJSFSetSessionExpiresCookieValue(a, b) { cmSetSubCookie(cmJSFCreateCombinedSessionCookieName(a), "e", b, null, cm_JSFPCookieDomain) } function cmJSFSetSessionValidFlagCookieValue(a, b) { cmSetSubCookie(cmJSFCreateCombinedSessionCookieName(a), "v", b, null, cm_JSFPCookieDomain) } function cmJSFGetSessionLoginCookieValue(a) { return cI(cmJSFCreateCombinedSessionCookieName(a), "l") } function cmJSFGetSessionExpireCookieValue(a) { return cI(cmJSFCreateCombinedSessionCookieName(a), "e") } function cmJSFGetSessionValidFlagCookieValue(a) { return cI(cmJSFCreateCombinedSessionCookieName(a), "v") } function cmJSFGetSessionValue(b) { var f = ""; var c = ""; var a = b.split(";"); for (var e = 0; e < a.length; e++) { var g = a[e]; if (g == "") { continue } var d = cmJSFGetSessionLoginCookieValue(g); f += c + (d != null ? d : ""); if (c == "") { c = "|" } } return f } function cmJSFGetValidFlagValue(c) { var f = ""; var d = ""; var b = c.split(";"); for (var e = 0; e < b.length; e++) { var g = b[e]; if (g == "") { continue } var a = cmJSFGetSessionValidFlagCookieValue(g); f += d + (a != null ? a : ""); if (d == "") { d = "|" } } return f } function cmJSFDoMigrateCookies() { if (cm_JSFMigrationEnabled == cmMigrationFrom1p_SA) { if (cI(cm_JSFCoreCookieName) == null) { var a = cI(cmSACookieName); if (a) { a = cmJSFConvertSAtoCM(a); if (a != null) { CB(cm_JSFCoreCookieName, a, cmCookieExpDate, cm_JSFPCookieDomain); return true } } } } return false } _cm.prototype.addTP = function() { var b = new cmTP(new cmApp()); for (var a in b) { if (b[a] == null || b[a] == "" || b[a].toString().indexOf("function ") == 0) { continue } this[a] = cE(cD(b[a])) } return this }; function cmApp() { var a = navigator, d = a.appName, e = this; if (d == "Netscape") { e.b = "ns" } else { if (d == "Microsoft Internet Explorer") { e.b = "ie" } else { e.b = d } } e.v = parseInt(a.appVersion) } function cmTP(c) { var n = navigator, w = window.screen; this.jv = cmJv; if (c.b == "ns" && c.v >= 3) { for (var i = 0; i < n.plugins.length; i++) { eval("this.np" + i + "=n.plugins[" + i + "].name") } } if (c.v > 3) { if (c.v >= 4 && (c.b == "ns" || c.b == "ie")) { this.je = (n.javaEnabled() == true) ? "y" : "n" } if (c.b == "ie") { this.ce = n.cookieEnabled; this.cp = n.cpuClass } this.sw = w.width; this.sh = w.height; this.pd = w.colorDepth; if (this.pd == 0) { this.pd = w.pixelDepth } var fs = w.fontSmoothingEnabled; if (fs) { this.fs = fs ? "y" : "n" } } var tz = new Date(); if (tz.getTimezoneOffset() == 0) { this.tz = "0" } else { this.tz = tz.getTimezoneOffset() / 60 } } _cm.prototype.addTP = function() { var b = new cmTP(new cmApp()); for (var a in b) { if (b[a] == null || b[a] == "" || b[a].toString().indexOf("function ") == 0) { continue } this[a] = cE(cD(b[a])) } return this }; function cmApp() { var a = navigator, d = a.appName, e = this; if (d == "Netscape") { e.b = "ns" } else { if (d == "Microsoft Internet Explorer") { e.b = "ie" } else { e.b = d } } e.v = parseInt(a.appVersion) } function cmTP(c) { var n = navigator, w = window.screen; this.jv = cmJv; if (c.b == "ns" && c.v >= 3) { for (var i = 0; i < n.plugins.length; i++) { eval("this.np" + i + "=n.plugins[" + i + "].name") } } if (c.v > 3) { if (c.v >= 4 && (c.b == "ns" || c.b == "ie")) { this.je = (n.javaEnabled() == true) ? "y" : "n" } if (c.b == "ie") { this.ce = n.cookieEnabled; this.cp = n.cpuClass } this.sw = w.width; this.sh = w.height; this.pd = w.colorDepth; if (this.pd == 0) { this.pd = w.pixelDepth } var fs = w.fontSmoothingEnabled; if (fs) { this.fs = fs ? "y" : "n" } } var tz = new Date(); this.tz = tz.getTimezoneOffset() / 60 } var cm_exAttr = new Array; var cm_ClientID = "90081360"; var cm_TrackLink = "A"; var cm_TrackImpressions = ""; var cm_JSFEnabled = false; var cmJv = "1.0"; if (typeof (isNaN) == "function") { cmJv = "1.1" } if (typeof (isFinite) == "function") { cmJv = "1.2" } if (typeof (NaN) == "number") { cmJv = "1.3" } if (typeof (decodeURI) == "function") { cmJv = "1.5" } if (typeof (Array.forEach) == "function") { cmJv = "1.6" } if (typeof (Iterator) == "object") { cmJv = "1.7" } var cmCheckCMEMFlag = true; var cmUserAgentString = "0"; if (cGN.indexOf("Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; KTXN)") >= 0) { var cmUserAgentString = "1" } if (cGN.indexOf("Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; KTXN") >= 0) { var cmUserAgentString = "1" } function cmSetProduction() { cm_HOST = "www2.coldwatercreek.com/eluminate?" } function cmCreateManualImpressionTag(c, b, a) { var d = new _cm("tid", "9", "vn2", "e4.0"); d.pi = c; d.cm_sp = b; d.cm_re = a; d.st = cm_ClientTS; d.writeImg() } function cmCreateManualLinkClickTag(a, e, d) { if (c == null && cM != null) { var c = cM } if (c != null) { var b = new Date(); cmLnkT3 = b.getTime(); c(cm_ClientTS, cmLnkT3, e, a, false, d) } } function cmCreateManualPageviewTag(c, b, a, f, e) { var d = new _cm("tid", "1", "vn2", "e4.0"); d.pi = c; d.cg = b; d.ul = a; d.rf = f; if (e) { d.se = e } d.writeImg() } function cmCreateTechPropsTag(a, b) { if (a == null) { a = cmGetDefaultPageID() } var c = new _cm("tid", "6", "vn2", "e4.0"); c.pc = "Y"; c.pi = a; c.cg = b; c.ul = document.URL; if (parent.cm_ref != null) { c.rf = parent.cm_ref; parent.cm_ref = document.URL } if (parent.cm_set_mmc) { c.ul = document.location.href + ((document.location.href.indexOf("?") < 0) ? "?" : "&") + parent.cm_mmc_params; parent.cm_ref = c.ul; parent.cm_set_mmc = false } c.addTP(); if (cmUserAgentString == "0") { c.writeImg() } } function cmCreatePageviewTag(c, s, f, e, o, t, m, v, k, g, q, a, l, u, h, r, p, b, n) { if (c == null) { c = cmGetDefaultPageID() } var d = new _cm("tid", "1", "vn2", "e4.0"); d.pi = c; if (f) { d.se = f } d.sr = e; if (s) { d.cg = s } if (o) { d.pv1 = o } if (t) { d.pv2 = t } if (m) { d.pv3 = m } if (v) { d.pv4 = v } if (k) { d.pv5 = k } if (g) { d.pv6 = g } if (q) { d.pv7 = q } if (a) { d.pv8 = a } if (l) { d.pv9 = l } if (u) { d.pv10 = u } if (h) { d.pv11 = h } if (r) { d.pv12 = r } if (p) { d.pv13 = p } if (b) { d.pv14 = b } if (n) { d.pv15 = n } d.ul = document.URL; if (parent.cm_ref != null) { d.rf = parent.cm_ref; parent.cm_ref = document.URL } if (parent.cm_set_mmc) { d.ul = document.location.href + ((document.location.href.indexOf("?") < 0) ? "?" : "&") + parent.cm_mmc_params; parent.cm_ref = d.ul; parent.cm_set_mmc = false } if (cmUserAgentString == "0") { d.writeImg() } } function cmCreateDefaultPageviewTag(a) { cmCreatePageviewTag(cmGetDefaultPageID(), a, null) } function cmCreateProductviewTag(b, c, a) { var d = new _cm("tid", "5", "vn2", "e4.0"); if (c == null) { c = "" } if (parent.cm_ref != null) { d.rf = parent.cm_ref; parent.cm_ref = document.URL } d.ul = document.URL; if (parent.cm_set_mmc) { d.ul = document.location.href + ((document.location.href.indexOf("?") < 0) ? "?" : "&") + parent.cm_mmc_params; parent.cm_ref = d.ul; parent.cm_set_mmc = false } d.pr = b; d.pm = c; d.cg = a; d.pc = "N"; d.pi = "PRODUCT: " + c + " (" + b + ")"; if (cmUserAgentString == "0") { d.writeImg() } } function ThrowPageView(a, b) { cmCreatePageviewTag(a, b, null, null, null, null) } var cmShopProducts = new Array(); var cmShopIds = new Array(); var cmShopCats = new Array(); var cmShopQtys = new Array(); var cmShopPrices = new Array(); var cmShopCounter = 0; var cmShopOrderIds = new Array(); var cmShopCustomerIds = new Array(); var cmShopOrderPrices = new Array(); var cmDiscountedPrices = new Array(); var cmShopSKUs = ""; var cmBasketGUID = ""; function cmGetProductIndex(b) { var a = 0; for (a = 0; a < cmShopCounter; a++) { if (b == cmShopIds[a]) { return a } } return -1 } function cmCreateShopAction5Tag(p, b, d, o, h, k, n) { p = p.toUpperCase(); var a = cmGetProductIndex(p); if (a != -1) { var c = cmShopPrices[a]; var f = cmShopQtys[a]; var g = cmDiscountedPrices[a]; var e = f + parseInt(d); var l = (c * f + parseInt(d) * parseFloat(o)) / (e); var m = (g * f + parseInt(d) * parseFloat(k)) / (e); cmDiscountedPrices[a] = m; cmShopPrices[a] = l; cmShopQtys[a] = e } else { if (!h) { h = "" } cmShopProducts[cmShopCounter] = b; cmShopIds[cmShopCounter] = p; cmShopCats[cmShopCounter] = h; cmShopQtys[cmShopCounter] = parseInt(d); cmShopPrices[cmShopCounter] = parseFloat(o); cmDiscountedPrices[cmShopCounter] = parseFloat(k); cmShopCounter++ } if (n != null) { cmBasketGUID = n } cmShopSKUs = cmGetOSK() } function cmDisplayShop5s() { var a; for (a = 0; a < cmShopCounter; a++) { var b = new _cm("tid", "4", "vn2", "e4.0"); b.at = "5"; b.pr = cmShopIds[a]; b.pm = cmShopProducts[a]; b.cg = cmShopCats[a]; b.qt = cmShopQtys[a]; b.bp = cmShopPrices[a]; b.pc = "N"; b.sx1 = cmDiscountedPrices[a]; b.sx2 = cmBasketGUID; b.ul = document.URL; if (cmUserAgentString == "0") { b.writeImg() } } cmShopSKUs = cmGetOSK(); cmShopCounter = 0 } function cmCreateShopAction9Tag(p, e, o, n, a, l, k, r, b, m) { p = p.toUpperCase(); var s = cmGetProductIndex(p); if (s != -1) { var h = cmShopPrices[s]; var g = cmShopQtys[s]; var q = cmDiscountedPrices[s]; var f = g + parseInt(o); var d = (h * g + parseInt(o) * parseFloat(n)) / (f); var c = (q * g + parseInt(o) * parseFloat(b)) / (f); cmDiscountedPrices[s] = c; cmShopPrices[s] = d; cmShopQtys[s] = f } else { if (!r) { r = "" } cmShopProducts[cmShopCounter] = e; cmShopIds[cmShopCounter] = p; cmShopOrderIds[cmShopCounter] = l; cmShopOrderPrices[cmShopCounter] = k; cmShopCustomerIds[cmShopCounter] = a; cmShopCats[cmShopCounter] = r; cmShopQtys[cmShopCounter] = parseInt(o); cmShopPrices[cmShopCounter] = parseFloat(n); cmShopQtys[s] = f; cmDiscountedPrices[cmShopCounter] = parseFloat(b); cmShopCounter++ } if (m != null) { cmBasketGUID = m } cmShopSKUs = cmGetOSK() } function cmDisplayShop9s() { var a; for (a = 0; a < cmShopCounter; a++) { var b = new _cm("tid", "4", "vn2", "e4.0"); b.at = "9"; b.pr = cmShopIds[a]; b.pm = cmShopProducts[a]; b.cg = cmShopCats[a]; b.qt = cmShopQtys[a]; b.bp = cmShopPrices[a]; b.cd = cmShopCustomerIds[a]; b.on = cmShopOrderIds[a]; b.tr = cmShopOrderPrices[a]; b.sx1 = cmDiscountedPrices[a]; b.sx2 = cmBasketGUID; b.pc = "N"; b.ul = document.URL; if (cmUserAgentString == "0") { b.writeImg() } } cmShopSKUs = cmGetOSK(); cmShopCounter = 0 } function cmCreateOrderTag(f, e, c, k, g, b, a, d) { var h = new _cm("tid", "3", "vn2", "e4.0"); h.on = f; h.tr = e; h.osk = cmShopSKUs; h.sg = c; h.cd = k; h.sa = b; h.ct = g; h.zp = a; h.or1 = cmBasketGUID; h.ul = document.URL; if (cmUserAgentString == "0") { h.writeImg() } } function cmGetOSK() { var a = 0; var b = ""; for (a = 0; a < cmShopCounter; a++) { b += "|" + cmShopIds[a] + "|" + cmShopPrices[a] + "|" + cmShopQtys[a] + "|" } return b } function cmCreateRegistrationTag(c, d, b, a, e, h, g) { var f = new _cm("tid", "2", "vn2", "e4.0"); f.cd = c; f.em = d; f.sa = a; f.ct = b; f.zp = e; f.ul = document.URL; if (h && g) { f.nl = h; f.sd = g } if (cmUserAgentString == "0") { f.writeImg() } } function cmCreateErrorTag(a, b) { var c = new _cm("tid", "404", "vn2", "e4.0"); if (parent.cm_ref != null) { c.rf = parent.cm_ref; parent.cm_ref = document.URL } c.ul = document.URL; if (parent.cm_set_mmc) { c.ul = document.location.href + ((document.location.href.indexOf("?") < 0) ? "?" : "&") + parent.cm_mmc_params; parent.cm_ref = c.ul; parent.cm_set_mmc = false } c.pc = "Y"; if (a == null) { c.pi = cmGetDefaultPageID() } else { c.pi = a } c.cg = b; if (cmUserAgentString == "0") { c.writeImg() } } function cmGetDefaultPageID() { var a = window.location.pathname; if (a.toLowerCase().match("cwc.aspx") == "cwc.aspx") { a = "cwc.aspx?provider=" + getQueryStringVal("provider") } else { var d = a.indexOf("?"); if (d != -1) { a = a.substr(0, d) } var e = a.indexOf("#"); if (e != -1) { a = a.substr(0, e) } var b = a.indexOf(";"); if (b != -1) { a = a.substr(0, b) } var c = a.lastIndexOf("/"); if (c == a.length - 1) { a = a + "default.aspx" } while (a.indexOf("/") == 0) { a = a.substr(1, a.length) } } return (a) } function getQueryStringVal(c) { var d = unescape(location.search.substr(1)).split("&"); for (var b = 0; b < d.length; b++) { var a = d[b].split("="); if (a[0].toLowerCase() == c.toLowerCase()) { return a[1] } } return "" } if (defaultNormalize == null) { var defaultNormalize = null } function myNormalizeURL(c, a) { var b = c; if (defaultNormalize != null) { b = defaultNormalize(b, a) } return b } if (document.cmTagCtl != null) { var func = "" + document.cmTagCtl.normalizeURL; if (func.indexOf("myNormalizeURL") == -1) { defaultNormalize = document.cmTagCtl.normalizeURL; document.cmTagCtl.normalizeURL = myNormalizeURL } } var isAOL = (navigator.userAgent.search(/ AOL/) > 5); var isIE = (!isAOL && navigator.userAgent.search(/MSIE/i) > 5); var isMAC = (navigator.userAgent.search(/MAC/i) >= 5); var isNS4 = (!isIE && navigator.userAgent.search(/MOZILLA\/4\./i) >= 0); var isNS6 = (navigator.userAgent.search(/NETSCAPE/i) > 5 || navigator.userAgent.search(/MOZILLA\/5\./i) >= 0); var isFramed = (window != top); var searchMessage = "search by keyword or item#"; var popup = null; function openWin(a, c, e, f) { if (popup) { if (!popup.closed) { popup.close() } } popup = null; var b = ((screen.height / 2) - (e / 2)) / 2; var d = ((screen.width / 2) - (c / 2)) / 2; if (f != null) { if (f.substring(0, 1) != ",") { f = "," + f } } popup = window.open(a, "_blank", "height=" + e + ",width=" + c + f); popup.focus() } function getCookieValue(a) { var b = document.cookie; var d = b.search(a + "="); if (d == -1) { return "" } var c = b.indexOf(";", d); return unescape(b.substring(d + 1 + a.length, (c == -1) ? b.length : c)) } function keepShopping() { var a = ""; var c = self.location.host; var b = getCookieValue("KeepShopping"); if (0 != b.length && -1 < b.toLowerCase().indexOf("productid")) { a = "products/productlink.aspx?" + b } document.location.href = "http://" + c + "/" + a } function executeLink(g, d) { var a = self.location.hostname; if (!isMAC) { if (navigator.userAgent.search(/MSIE/i) != -1) { var f = d.toLowerCase().indexOf("deptid="); var e = 0; var c = ""; var b = ""; c = d.indexOf("&", f); b = d.substring(f + 7, (c == -1) ? d.length : c); e = b; if (0 > f || 1 > e) { d = d.replace("asp/product.asp", "products/productLink.aspx"); d = d.replace("asp/Product.asp", "products/productLink.aspx") } if (e < 30 || d.toLowerCase().search("deptid=9000") != -1) { d = d.replace("asp/product.asp", "products/product.aspx") } } } if (d.toLowerCase().search("deptid=9000") != -1) { d = d.replace("asp/productlist.asp?SearchMethod=UseCriteria", "aspx/productList.aspx?itemSetId=6") } if (d.toLowerCase().search("productid=7538") != -1) { d = "aspx/productlist.aspx?itemSetId=7" } if (d.toLowerCase().search("productid=16616") != -1) { d = "aspx/GiftCard/GiftCard.aspx" } if (g == true) { document.location.href = "https://" + a + "/" + d } else { document.location.href = "http://" + a + "/" + d } } function FixAction(e, c, a) { var d = document.getElementById(a); var b = self.location.host; c = (c.substring(0, 1) == "/") ? c : "/" + c; if (e == true) { d.action = "https://" + b + c } else { d.action = "http://" + b + c } d.submit() } function ValidateEmailOpt(a) { var b = document.optout.email; if (b.value == "") { alert("Please include your email address."); b.focus(); return false } FixAction(false, "asp/emailoptthankyou.asp", a); return true } function ReturnAction(c, b) { var a = self.location.host; if (c == true) { return ("https://" + a + "/" + b) } else { return ("http://" + a + "/" + b) } } function setupLayerEvent(a) { } function fireGoButton() { var a = document.getElementById("question").value.toLowerCase(); if (a.indexOf("keyword or item#") == -1 && a.replace(/^\s+/g, "").replace(/\s+$/g, "") != "") { a = a.replace("&", "and"); var b = (getQueryString("IsOutlet") == "1" || self.location.pathname.toLowerCase().indexOf("outlet") > -1) ? "&IsOutlet=1" : ""; self.location = ReturnAction(false, "Products/ProductSearch.aspx?provider=productSearch&cmd=czsearch&question=" + a + b) } } function Certify(a) { popupWin = window.open(a, "Participant", "location,scrollbars,width=450,height=300,left=350,top=0"); window.top.name = "opener" } function popUp(a) { sealWin = window.open(a, "win", "toolbar=1,location=0,directories=0,status=1,menubar=1,scrollbars=1,resizable=1,width=800,height=650"); self.name = "mainWin" } function KeywordSearch() { if (document.location.protocol == "http:") { document.write('<input type="text" 	style="float:left;" 	id="question" 	name="question" 	value="search by keyword or item#" 	onkeypress="if(event.keyCode==13){fireGoButton();return false;}" 	onfocus="if(this.value==\'search by keyword or item#\')this.value=\'\';" 	onblur="if(this.value.replace(/ /g, \'\')==\'\')this.value=\'search by keyword or item#\'" 	><img style="float:left;" 	id="goButtonImg" 	src="http://image.coldwatercreek.com/spcr.gif" 	border="0" 	onclick="fireGoButton();" 	onmouseover="this.style.cursor=\'pointer\';" 	onmouseout="this.style.cursor=\'default\';" 	 >') } return "" } function getDOMElementValue(c, a) { if (document.layers) { for (var b = 0; b < document.forms[a].elements.length; b++) { if (document.forms[a].elements[b].name == c) { switch (document.forms[a].elements[b].type) { case "text": return (document.forms[a].elements[b].value); break; case "select-one": return (document.forms[a].elements[b].options[document.forms[a].elements[b].selectedIndex].value); break } } } return null } else { return document.all(c).value } } function getCookieParm(a, d) { var g = document.cookie; var c = a + "="; var f = g.indexOf("; " + c); if (f == -1) { f = g.indexOf(c); if (f != 0) { return "" } } else { f += 2 } var e = document.cookie.indexOf(";", f); if (e == -1) { e = g.length } var b = unescape(g.substring(f + c.length, e)); c = d + "="; f = b.indexOf(c); if (f == -1) { f = b.indexOf(c); if (f != 0) { return "" } } else { e = b.indexOf("&", f) } if (e == -1) { e = b.length } return unescape(b.substring(f + c.length, e)) } function showEmailForm() { if (httpIs != "https:") { document.getElementById("tblFtrEmailUpdate").style.visibility = "visible" } } var httpIs = location.protocol; var strImgHost = (httpIs == "https:") ? "https://a248.e.akamai.net/f/248/1791/1d/origin.image.coldwatercreek.com" : "http://image.coldwatercreek.com"; function imageChange(imageID, imageName) { document.images[imageID].src = eval(imageName + ".src") } function wireupOnload(a) { if (window.addEventListener) { window.addEventListener("load", a, false) } else { if (window.attachEvent) { window.attachEvent("onload", a) } } } function getQueryString(b) { var c, d, e; e = self.location.search; b = b.toLowerCase(); urlParamStrLower = e.toLowerCase(); if (self.location.search.length > 1) { var a = (urlParamStrLower.indexOf("?" + b + "=") > -1) ? "?" + b + "=" : "&" + b + "="; if (urlParamStrLower.indexOf(a) > -1) { c = urlParamStrLower.indexOf(a) + a.length; d = urlParamStrLower.indexOf("&", c); if (d == (-1)) { d = urlParamStrLower.length } return (e.substring(c, d)) } else { return ("") } } else { if (self.location.hash.length > 1) { if ((self.location.hash.indexOf("?" + b + "=") > -1) || (self.location.hash.indexOf("&" + b + "=") > -1)) { c = self.location.hash.indexOf(b + "=") + b.length + 1; d = self.location.hash.indexOf("&", c); if (d == (-1)) { d = self.location.hash.length } return (self.location.hash.substring(c, d)) } else { return ("") } } else { return ("") } } } function executeChat(a) { cmSetProduction(); cmCreatePageviewTag("CUSTOMER SERVICE: INSTANT HELP", "A21000000", null, null, null, null); document.cookie = "CHAT=" + escape(document.location.href) + ";path=/;"; document.location.href = "http://www.coldwatercreek.com/asp/chat.asp?load=&ver=" + a } function BTT() { document.write("<div align='right'><a href='#top' class='btt'>back to top</a></div>") } function myvoid() { } function showDetailView(b, a) { var c; c = "/GiftCard/GiftCardPopup.aspx?ImageFileName=" + b + "&cid=" + a; openPicWin(c, 600, 350, "directories=no,status=no,scrollbars=yes,resizable=yes,menubar=no") } function textCounter(a, b) { var e = a; var h = a.rows; var c = a.cols; var f; var g = 0; var d = e.value.split("\n"); if (e.value.length > b || d.length > h || (d.length == h && d[h - 1].length > c)) { if (e.value.length > b) { e.value = e.value.substring(0, b) } else { for (f = 0; f < h; f++) { g += d[f].length } e.value = e.value.substring(0, g + 2) } } } var popup = null; function openPicWin(a, c, e, f) { if (popup) { if (!popup.closed) { popup.close() } } popup = null; var b = (screen.height / 2) - (e / 2); var d = (screen.width / 2) - (c / 2); if (f != null) { if (f.substring(0, 1) != ",") { f = "," + f } } popup = window.open(a, "ColdwaterCreek", "TOP=" + b + ",LEFT=" + d + ",HEIGHT=" + e + ",WIDTH=" + c + f); popup.focus() } function btnOn(a) { a.className = a.className.replace(/_off/i, "_on") } function btnOff(a) { a.className = a.className.replace(/_on/i, "_off") } function getQueryStringParam(b) { var f = location.search; var a = 0; var d = 0; var c = 0; var e = ""; if (b) { if (f.indexOf(b) != -1) { a = f.indexOf(b) + b.length + 1; d = ((c = (f.indexOf("&", a))) == -1) ? f.length : c; e = f.substring(a, d); e = unescape(e) } } return e } function disableButton(a) { document.getElementById(a + "_Disabled").style.display = "block"; document.getElementById(a + "_Enabled").style.display = "none" } var navloaded = false; AddEvent(window, "load", LoadNav); function $(a) { return document.getElementById(a) } function AddEvent(c, a, b) { if (c.addEventListener) { c.addEventListener(a, b, false); return true } else { if (c.attachEvent) { return c.attachEvent("on" + a, b) } else { return false } } } function LoadNav(a) { if (!navloaded) { ele = $(document.navnode); if (ele) { SelectNode(ele) } navloaded = true } } function SelectNode(a) { if (a.parentNode.className == "lvl2") { a.style.color = "#C44506"; for (var b = 0; b < a.parentNode.childNodes.length; b++) { if (a.parentNode.childNodes[b].nodeName == "DIV") { a.parentNode.childNodes[b].style.display = "block" } } } a.parentNode.className += "_on"; for (var b = 0; b < a.parentNode.parentNode.childNodes.length; b++) { if (a.parentNode.parentNode.childNodes[b].nodeName == "DIV") { a.parentNode.parentNode.childNodes[b].style.display = "block" } } if (a.parentNode.parentNode.className.substr(0, 3) == "lvl") { SelectNode(a.parentNode) } } var imgObject; var strNewImgPath = ""; var finalAltImg = strImgHost + "/Spcr.gif"; function testImage(c) { imgObject = c; var b = imgObject.src.toLowerCase(); strNewImgPath = newImagePath(b); var a = new Image(); a.onload = isGoodImgPath; a.onerror = isBadImgPath; a.src = strNewImgPath } function isGoodImgPath() { imgObject.src = strNewImgPath } function isBadImgPath() { var a = finalAltImg; if (strNewImgPath != a) { imgObject.src = a } } function newImagePath(a) { var b = ""; if (a.match("36x45") != null) { b = strImgHost + "/Products/36x45/missing_36x45.gif" } else { if (a.match("104x130") != null) { b = strImgHost + "/Products/104x130/missing_104x130.gif" } else { if (a.match("144x180") != null) { b = strImgHost + "/Products/144x180/missing_144x180.gif" } else { if (a.match("220x275") != null) { b = strImgHost + "/Products/220x275/missing_220x275.gif" } else { if (a.match("296x370") != null) { b = strImgHost + "/Products/296x370/missing_296x370.gif" } else { if (a.match("524x655") != null) { b = strImgHost + "/Products/524x655/missing_524x655.gif" } else { b = finalAltImg } } } } } } return b } function setSecureImage(b, a) { b.src = strImgHost + a } function renderSecureImage(b, a) { var c = ""; c = '<img src="' + strImgHost + b + '" ' + a + " />"; document.write(c) } function assignUrl(a, b) { if (document.location.hostname != "localhost") { if (b) { document.location.href = "https://" + document.location.host + a } else { document.location.href = "http://" + document.location.host + a } } else { document.location.href = a } } function setHttpSecure(b, a) { if (document.location.hostname != "localhost") { if (b) { a.href = a.href.replace(/http:/i, "https:") } else { a.href = a.href.replace(/https:/i, "http:") } } } var Url = { encode: function(a) { return escape(this._utf8_encode(a)) }, decode: function(a) { return this._utf8_decode(unescape(a)) }, _utf8_encode: function(b) { b = b.replace(/\r\n/g, "\n"); var d = ""; for (var a = 0; a < b.length; a++) { var e = b.charCodeAt(a); if (e < 128) { d += String.fromCharCode(e) } else { if ((e > 127) && (e < 2048)) { d += String.fromCharCode((e >> 6) | 192); d += String.fromCharCode((e & 63) | 128) } else { d += String.fromCharCode((e >> 12) | 224); d += String.fromCharCode(((e >> 6) & 63) | 128); d += String.fromCharCode((e & 63) | 128) } } } return d }, _utf8_decode: function(b) { var a = ""; var e = 0; var d = c1 = c2 = 0; while (e < b.length) { d = b.charCodeAt(e); if (d < 128) { a += String.fromCharCode(d); e++ } else { if ((d > 191) && (d < 224)) { c2 = b.charCodeAt(e + 1); a += String.fromCharCode(((d & 31) << 6) | (c2 & 63)); e += 2 } else { c2 = b.charCodeAt(e + 1); c3 = b.charCodeAt(e + 2); a += String.fromCharCode(((d & 15) << 12) | ((c2 & 63) << 6) | (c3 & 63)); e += 3 } } } return a } }; var requiredMajorVersion = 8; var requiredMinorVersion = 0; var requiredRevision = 0; var jsVersion = 1; var flashKeyword = ""; function showFlash(h, d, g, a, b, l, c) { flashKeyword = c; var k = document.getElementById(b); if (k) { var e = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision); if (e) { var f = String("http://image.coldwatercreek.com/Flash/" + h); k.innerHTML = AC_FL_RunContent("codebase", "http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,19,0", "wmode", "transparent", "width", g, "height", a, "loop", "true", "title", d, "src", f, "quality", "high", "pluginspage", "http://www.macromedia.com/go/getflashplayer", "movie", f, "docwrite", l, "allowscriptaccess", "always", "FlashVars", "keyword=" + flashKeyword) } } } function AC_AddExtension(b, a) { if (b.indexOf("?") != -1) { return b.replace(/\?/, a + "?") } else { return b + a } } function AC_Generateobj(e, a, d) { var b = "<object "; for (var c in e) { b += c + '="' + e[c] + '" ' } b += ">"; for (var c in a) { b += '<param name="' + c + '" value="' + a[c] + '" /> ' } b += "<embed "; for (var c in d) { b += c + '="' + d[c] + '" ' } b += " ></embed></object>"; return b } function AC_FL_RunContent() { var b = document.URL.replace(/&/g, "%26").replace(/%/g, "%25"); var d = String(".swf"); var c = AC_GetArgs(arguments, d, "movie", "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000", "application/x-shockwave-flash"); var a = AC_Generateobj(c.objAttrs, c.params, c.embedAttrs); if (c.docWrite == true) { document.write(a) } else { return a } } function AC_SW_RunContent() { var b = AC_GetArgs(arguments, ".dcr", "src", "clsid:166B1BCA-3F9C-11CF-8075-444553540000", null); var a = AC_Generateobj(b.objAttrs, b.params, b.embedAttrs); if (b.docWrite == true) { document.write(a) } else { return a } } function AC_GetArgs(e, d, h, f, c) { var b = new Object(); b.embedAttrs = new Object(); b.params = new Object(); b.objAttrs = new Object(); b.docWrite = new Boolean(true); for (var a = 0; a < e.length; a = a + 2) { var g = e[a].toLowerCase(); switch (g) { case "classid": break; case "pluginspage": b.embedAttrs[e[a]] = e[a + 1]; break; case "src": case "movie": e[a + 1] = AC_AddExtension(e[a + 1], d); b.embedAttrs.src = e[a + 1]; b.params[h] = e[a + 1]; break; case "onafterupdate": case "onbeforeupdate": case "onblur": case "oncellchange": case "onclick": case "ondblClick": case "ondrag": case "ondragend": case "ondragenter": case "ondragleave": case "ondragover": case "ondrop": case "onfinish": case "onfocus": case "onhelp": case "onmousedown": case "onmouseup": case "onmouseover": case "onmousemove": case "onmouseout": case "onkeypress": case "onkeydown": case "onkeyup": case "onload": case "onlosecapture": case "onpropertychange": case "onreadystatechange": case "onrowsdelete": case "onrowenter": case "onrowexit": case "onrowsinserted": case "onstart": case "onscroll": case "onbeforeeditfocus": case "onactivate": case "onbeforedeactivate": case "ondeactivate": case "type": case "codebase": b.objAttrs[e[a]] = e[a + 1]; break; case "allowscriptaccess": b.params[e[a]] = e[a + 1]; b.embedAttrs[e[a]] = b.objAttrs[e[a]] = e[a + 1]; break; case "FlashVars": b.params[e[a]] = e[a + 1]; b.embedAttrs[e[a]] = b.objAttrs[e[a]] = e[a + 1]; break; case "width": case "height": case "align": case "vspace": case "hspace": case "class": case "title": case "accesskey": case "name": case "id": case "tabindex": b.embedAttrs[e[a]] = b.objAttrs[e[a]] = e[a + 1]; break; case "docwrite": b.docWrite = e[a + 1]; break; default: b.embedAttrs[e[a]] = b.params[e[a]] = e[a + 1] } } b.objAttrs.classid = f; if (c) { b.embedAttrs.type = c } return b } var isIE = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false; var isWin = (navigator.appVersion.toLowerCase().indexOf("win") != -1) ? true : false; var isOpera = (navigator.userAgent.indexOf("Opera") != -1) ? true : false; jsVersion = 1.1; function JSGetSwfVer(b) { if (navigator.plugins != null && navigator.plugins.length > 0) { if (navigator.plugins["Shockwave Flash 2.0"] || navigator.plugins["Shockwave Flash"]) { var a = navigator.plugins["Shockwave Flash 2.0"] ? " 2.0" : ""; var c = navigator.plugins["Shockwave Flash" + a].description; descArray = c.split(" "); tempArrayMajor = descArray[2].split("."); versionMajor = tempArrayMajor[0]; versionMinor = tempArrayMajor[1]; if (descArray[3] != "") { tempArrayMinor = descArray[3].split("r") } else { tempArrayMinor = descArray[4].split("r") } versionRevision = tempArrayMinor[1] > 0 ? tempArrayMinor[1] : 0; flashVer = versionMajor + "." + versionMinor + "." + versionRevision } else { flashVer = -1 } } else { if (navigator.userAgent.toLowerCase().indexOf("webtv/2.6") != -1) { flashVer = 4 } else { if (navigator.userAgent.toLowerCase().indexOf("webtv/2.5") != -1) { flashVer = 3 } else { if (navigator.userAgent.toLowerCase().indexOf("webtv") != -1) { flashVer = 2 } else { flashVer = -1 } } } } return flashVer } function DetectFlashVer(a, c, b) { reqVer = parseFloat(a + "." + b); for (i = 25; i > 0; i--) { if (isIE && isWin && !isOpera) { versionStr = VBGetSwfVer(i) } else { versionStr = JSGetSwfVer(i) } if (versionStr == -1) { return false } else { if (versionStr != 0) { if (isIE && isWin && !isOpera) { tempArray = versionStr.split(" "); tempString = tempArray[1]; versionArray = tempString.split(",") } else { versionArray = versionStr.split(".") } versionMajor = versionArray[0]; versionMinor = versionArray[1]; versionRevision = versionArray[2]; versionString = versionMajor + "." + versionRevision; versionNum = parseFloat(versionString); if ((versionMajor > a) && (versionNum >= reqVer)) { return true } else { return ((versionNum >= reqVer && versionMinor >= c) ? true : false) } } } } return (reqVer ? false : 0) } (function(c) { c.fn.jqm = function(e) { var f = { overlay: 50, overlayClass: "jqmOverlay", closeClass: "jqmClose", trigger: ".jqModal", ajax: b, ajaxText: "", target: b, modal: b, toTop: b, onShow: b, onHide: b, onLoad: b }; return this.each(function() { if (this._jqm) { return l[this._jqm].c = c.extend({}, l[this._jqm].c, e) } o++; this._jqm = o; l[o] = { c: c.extend(f, c.jqm.params, e), a: b, w: c(this).addClass("jqmID" + o), s: o }; if (f.trigger) { c(this).jqmAddTrigger(f.trigger) } }) }; c.fn.jqmAddClose = function(f) { return n(this, f, "jqmHide") }; c.fn.jqmAddTrigger = function(f) { return n(this, f, "jqmShow") }; c.fn.jqmShow = function(e) { return this.each(function() { e = e || window.event; c.jqm.open(this._jqm, e) }) }; c.fn.jqmHide = function(e) { return this.each(function() { e = e || window.event; c.jqm.close(this._jqm, e) }) }; c.jqm = { hash: {}, open: function(A, B) { var D = l[A], w = D.c, e = "." + w.closeClass, v = (parseInt(D.w.css("z-index"))), v = (v > 0) ? v : 3000, f = c("<div></div>").css({ height: "100%", width: "100%", position: "fixed", left: 0, top: 0, "z-index": v - 1, opacity: w.overlay / 100 }); if (D.a) { return b } D.t = B; D.a = true; D.w.css("z-index", v); if (w.modal) { if (!q[0]) { h("bind") } q.push(A) } else { if (w.overlay > 0) { D.w.jqmAddClose(f) } else { f = b } } D.o = (f) ? f.addClass(w.overlayClass).prependTo("body") : b; if (k) { c("html,body").css({ height: "100%", width: "100%" }); if (f) { f = f.css({ position: "absolute" })[0]; for (var m in { Top: 1, Left: 1 }) { f.style.setExpression(m.toLowerCase(), "(_=(document.documentElement.scroll" + m + " || document.body.scroll" + m + "))+'px'") } } } if (w.ajax) { var x = w.target || D.w, C = w.ajax, x = (typeof x == "string") ? c(x, D.w) : c(x), C = (C.substr(0, 1) == "@") ? c(B).attr(C.substring(1)) : C; x.html(w.ajaxText).load(C, function() { if (w.onLoad) { w.onLoad.call(this, D) } if (e) { D.w.jqmAddClose(c(e, D.w)) } d(D) }) } else { if (e) { D.w.jqmAddClose(c(e, D.w)) } } if (w.toTop && D.o) { D.w.before('<span id="jqmP' + D.w[0]._jqm + '"></span>').insertAfter(D.o) } (w.onShow) ? w.onShow(D) : D.w.show(); d(D); return b }, close: function(e) { var f = l[e]; if (!f.a) { return b } f.a = b; if (q[0]) { q.pop(); if (!q[0]) { h("unbind") } } if (f.c.toTop && f.o) { c("#jqmP" + f.w[0]._jqm).after(f.w).remove() } if (f.c.onHide) { f.c.onHide(f) } else { f.w.hide(); if (f.o) { f.o.remove() } } return b }, params: {} }; var o = 0, l = c.jqm.hash, q = [], k = c.browser.msie && (c.browser.version == "6.0"), b = false, a = c('<iframe src="javascript:false;document.write(\'\');" class="jqm"></iframe>').css({ opacity: 0 }), d = function(e) { if (k) { if (e.o) { e.o.html('<p style="width:100%;height:100%"/>').prepend(a) } else { if (!c("iframe.jqm", e.w)[0]) { e.w.prepend(a) } } } g(e) }, g = function(e) { try { c(":input:visible", e.w)[0].focus() } catch (f) { } }, h = function(e) { c()[e]("keypress", p)[e]("keydown", p)[e]("mousedown", p) }, p = function(s) { var m = l[q[q.length - 1]], f = (!c(s.target).parents(".jqmID" + m.s)[0]); if (f) { g(m) } return !f }, n = function(f, e, m) { return f.each(function() { var r = this._jqm; c(e).each(function() { if (!this[m]) { this[m] = []; c(this).click(function() { for (var u in { jqmShow: 1, jqmHide: 1 }) { for (var t in this[u]) { if (l[this[u][t]]) { l[this[u][t]].w[u](this) } } } return b }) } this[m].push(r) }) }) } })(jQuery); function showProductVideo(b, c, a) { jQuery(b).load("/contentzone/?zonename=PD_Videos&filename=" + a + "&keyword=" + c) };