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; function ControlVersion() { var a; var b; var c; try { b = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7"); a = b.GetVariable("$version") } catch (c) { } if (!a) { try { b = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6"); a = "WIN 6,0,21,0"; b.AllowScriptAccess = "always"; a = b.GetVariable("$version") } catch (c) { } } if (!a) { try { b = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3"); a = b.GetVariable("$version") } catch (c) { } } if (!a) { try { b = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3"); a = "WIN 3,0,18,0" } catch (c) { } } if (!a) { try { b = new ActiveXObject("ShockwaveFlash.ShockwaveFlash"); a = "WIN 2,0,0,11" } catch (c) { a = -1 } } return a } function GetSwfVer() { var g = -1; if (navigator.plugins != null && navigator.plugins.length > 0) { if (navigator.plugins["Shockwave Flash 2.0"] || navigator.plugins["Shockwave Flash"]) { var f = navigator.plugins["Shockwave Flash 2.0"] ? " 2.0" : ""; var a = navigator.plugins["Shockwave Flash" + f].description; var e = a.split(" "); var c = e[2].split("."); var h = c[0]; var b = c[1]; var d = e[3]; if (d == "") { d = e[4] } if (d[0] == "d") { d = d.substring(1) } else { if (d[0] == "r") { d = d.substring(1); if (d.indexOf("d") > 0) { d = d.substring(0, d.indexOf("d")) } } } var g = h + "." + b + "." + d } } else { if (navigator.userAgent.toLowerCase().indexOf("webtv/2.6") != -1) { g = 4 } else { if (navigator.userAgent.toLowerCase().indexOf("webtv/2.5") != -1) { g = 3 } else { if (navigator.userAgent.toLowerCase().indexOf("webtv") != -1) { g = 2 } else { if (isIE && isWin && !isOpera) { g = ControlVersion() } } } } } return g } function DetectFlashVer(f, d, c) { versionStr = GetSwfVer(); 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(".") } var e = versionArray[0]; var a = versionArray[1]; var b = versionArray[2]; if (e > parseFloat(f)) { return true } else { if (e == parseFloat(f)) { if (a > parseFloat(d)) { return true } else { if (a == parseFloat(d)) { if (b >= parseFloat(c)) { return true } } } } } return false } } } function AC_AddExtension(b, a) { if (b.indexOf("?") != -1) { return b.replace(/\?/, a + "?") } else { return b + a } } function AC_Generateobj(e, d, a) { var c = ""; if (isIE && isWin && !isOpera) { c += "<object "; for (var b in e) { c += b + '="' + e[b] + '" ' } c += ">"; for (var b in d) { c += '<param name="' + b + '" value="' + d[b] + '" /> ' } c += "</object>" } else { c += "<embed "; for (var b in a) { c += b + '="' + a[b] + '" ' } c += "> </embed>" } document.write(c) } function AC_FL_RunContent() { var a = AC_GetArgs(arguments, ".swf", "movie", "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000", "application/x-shockwave-flash"); AC_Generateobj(a.objAttrs, a.params, a.embedAttrs) } function AC_SW_RunContent() { var a = AC_GetArgs(arguments, ".dcr", "src", "clsid:166B1BCA-3F9C-11CF-8075-444553540000", null); AC_Generateobj(a.objAttrs, a.params, a.embedAttrs) } function AC_GetArgs(b, e, g, d, h) { var a = new Object(); a.embedAttrs = new Object(); a.params = new Object(); a.objAttrs = new Object(); for (var c = 0; c < b.length; c = c + 2) { var f = b[c].toLowerCase(); switch (f) { case "classid": break; case "pluginspage": a.embedAttrs[b[c]] = b[c + 1]; break; case "src": case "movie": b[c + 1] = AC_AddExtension(b[c + 1], e); a.embedAttrs.src = b[c + 1]; a.params[g] = b[c + 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": case "id": a.objAttrs[b[c]] = b[c + 1]; break; case "width": case "height": case "align": case "vspace": case "hspace": case "class": case "title": case "accesskey": case "name": case "tabindex": a.embedAttrs[b[c]] = a.objAttrs[b[c]] = b[c + 1]; break; default: a.embedAttrs[b[c]] = a.params[b[c]] = b[c + 1] } } a.objAttrs.classid = d; if (h) { a.embedAttrs.type = h } return a } var featuredcontentslider = { ajaxloadingmsg: '<div style="margin: 20px 0 0 20px"><img src="loading.gif" />Please wait...</div>', bustajaxcache: true, enablepersist: true, settingcaches: {}, jumpTo: function(b, a) { this.turnpage(this.settingcaches[b], a) }, ajaxconnect: function(c) { var f = false; if (window.ActiveXObject) { try { f = new ActiveXObject("Msxml2.XMLHTTP") } catch (d) { try { f = new ActiveXObject("Microsoft.XMLHTTP") } catch (d) { } } } else { if (window.XMLHttpRequest) { f = new XMLHttpRequest() } else { return false } } var a = c.contentsource[1]; f.onreadystatechange = function() { featuredcontentslider.ajaxpopulate(f, c) }; document.getElementById(c.id).innerHTML = this.ajaxloadingmsg; var b = (!this.bustajaxcache) ? "" : (a.indexOf("?") != -1) ? "&" + new Date().getTime() : "?" + new Date().getTime(); f.open("GET", a + b, true); f.send(null) }, ajaxpopulate: function(b, a) { if (b.readyState == 4 && (b.status == 200 || window.location.href.indexOf("http") == -1)) { document.getElementById(a.id).innerHTML = b.responseText; this.buildpaginate(a) } }, buildcontentdivs: function(b) { var c = document.getElementById(b.id).getElementsByTagName("div"); for (var a = 0; a < c.length; a++) { if (this.css(c[a], "contentdiv", "check")) { b.contentdivs.push(c[a]); c[a].style.display = "none" } } }, buildpaginate: function(j) { this.buildcontentdivs(j); var e = document.getElementById(j.id); var h = document.getElementById("paginate-" + j.id); var g = ""; var b = j.toc; var a = j.nextprev; if (typeof b == "string" && b != "markup" || typeof b == "object") { for (var c = 1; c <= j.contentdivs.length; c++) { g += '<a href="#' + c + '" class="toc">' + (typeof b == "string" ? b.replace(/#increment/, c) : b[c - 1]) + "</a> " } g = (a[0] != "" ? '<a href="#prev" class="prev">' + a[0] + "</a> " : "") + g + (a[1] != "" ? '<a href="#next" class="next">' + a[1] + "</a>" : ""); h.innerHTML = g } var d = h.getElementsByTagName("a"); var f = 0; for (var c = 0; c < d.length; c++) { if (this.css(d[c], "toc", "check")) { if (f > j.contentdivs.length - 1) { d[c].style.display = "none"; continue } d[c].setAttribute("rel", ++f); d[c][j.revealtype] = function() { featuredcontentslider.turnpage(j, this.getAttribute("rel")); return false }; j.toclinks.push(d[c]) } else { if (this.css(d[c], "prev", "check") || this.css(d[c], "next", "check")) { d[c].onclick = function() { featuredcontentslider.turnpage(j, this.className); return false } } } } this.turnpage(j, j.currentpage, true); if (j.autorotate[0]) { h[j.revealtype] = function() { featuredcontentslider.cleartimer(j, window["fcsautorun" + j.id]) }; e.onclick = function() { featuredcontentslider.cleartimer(j, window["fcsautorun" + j.id]) }; j.autorotate[1] = j.autorotate[1] + (1 / j.enablefade[1] * 50); this.autorotate(j) } }, urlparamselect: function(b) { var a = window.location.search.match(new RegExp(b + "=(\\d+)", "i")); return (a == null) ? null : parseInt(RegExp.$1) }, turnpage: function(d, b, c) { var f = d.currentpage; var a = d.contentdivs.length; var e = (/prev/i.test(b)) ? f - 1 : (/next/i.test(b)) ? f + 1 : parseInt(b); e = (e < 1) ? a : (e > a) ? 1 : e; if (e == d.currentpage && typeof c == "undefined") { return } d.currentpage = e; d.contentdivs[e - 1].style.zIndex = ++d.topzindex; this.cleartimer(d, window["fcsfade" + d.id]); d.cacheprevpage = d.prevpage; if (d.enablefade[0] == true) { d.curopacity = 0; this.fadeup(d) } if (d.enablefade[0] == false) { d.contentdivs[d.prevpage - 1].style.display = "none"; d.onChange(d.prevpage, d.currentpage) } d.contentdivs[e - 1].style.visibility = "visible"; d.contentdivs[e - 1].style.display = "block"; if (d.prevpage <= d.toclinks.length) { this.css(d.toclinks[d.prevpage - 1], "selected", "remove") } if (e <= d.toclinks.length) { this.css(d.toclinks[e - 1], "selected", "add") } d.prevpage = e; if (this.enablepersist) { this.setCookie("fcspersist" + d.id, e) } }, setopacity: function(a, c) { var b = a.contentdivs[a.currentpage - 1]; if (b.filters && b.filters[0]) { if (typeof b.filters[0].opacity == "number") { b.filters[0].opacity = c * 100 } else { b.style.filter = "alpha(opacity=" + c * 100 + ")" } } else { if (typeof b.style.MozOpacity != "undefined") { b.style.MozOpacity = c } else { if (typeof b.style.opacity != "undefined") { b.style.opacity = c } } } a.curopacity = c }, fadeup: function(a) { if (a.curopacity < 1) { this.setopacity(a, a.curopacity + a.enablefade[1]); window["fcsfade" + a.id] = setTimeout(function() { featuredcontentslider.fadeup(a) }, 50) } else { if (a.cacheprevpage != a.currentpage) { a.contentdivs[a.cacheprevpage - 1].style.display = "none" } a.onChange(a.cacheprevpage, a.currentpage) } }, cleartimer: function(a, b) { if (typeof b != "undefined") { clearTimeout(b); clearInterval(b); if (a.cacheprevpage != a.currentpage) { a.contentdivs[a.cacheprevpage - 1].style.display = "none" } } }, css: function(b, a, c) { var d = new RegExp("(^|\\s+)" + a + "($|\\s+)", "ig"); if (c == "check") { return d.test(b.className) } else { if (c == "remove") { b.className = b.className.replace(d, "") } else { if (c == "add") { b.className += " " + a } } } }, autorotate: function(a) { window["fcsautorun" + a.id] = setInterval(function() { featuredcontentslider.turnpage(a, "next") }, a.autorotate[1]) }, getCookie: function(a) { var b = new RegExp(a + "=[^;]+", "i"); if (document.cookie.match(b)) { return document.cookie.match(b)[0].split("=")[1] } return null }, setCookie: function(a, b) { document.cookie = a + "=" + b }, init: function(a) { var c = this.getCookie("fcspersist" + a.id) || 1; var b = this.urlparamselect(a.id); this.settingcaches[a.id] = a; a.contentdivs = []; a.toclinks = []; a.topzindex = 0; a.currentpage = b || ((this.enablepersist) ? c : 1); a.prevpage = a.currentpage; a.revealtype = "on" + (a.revealtype || "click"); a.curopacity = 0; a.onChange = a.onChange || function() { }; if (a.contentsource[0] == "inline") { this.buildpaginate(a) } if (a.contentsource[0] == "ajax") { this.ajaxconnect(a) } } }; $(document).ready(function() { $("#pageflip").hover(function() { $("#pageflip img , .msg_block").stop().animate({ width: "307px", height: "319px" }, 500) }, function() { $("#pageflip img").stop().animate({ width: "90px", height: "93px" }, 220); $(".msg_block").stop().animate({ width: "90px", height: "90px" }, 200) }) });
/*!
* jQuery JavaScript Library v1.5.2
* http://jquery.com/
*
* Copyright 2011, John Resig
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
* Includes Sizzle.js
* http://sizzlejs.com/
* Copyright 2011, The Dojo Foundation
* Released under the MIT, BSD, and GPL Licenses.
*
* Date: Thu Mar 31 15:28:23 2011 -0400
*/
(function(a0, I) {
    var am = a0.document; var b = (function() { var bo = function(bI, bJ) { return new bo.fn.init(bI, bJ, bm) }, bD = a0.jQuery, bq = a0.$, bm, bH = /^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]+)$)/, bw = /\S/, bs = /^\s+/, bn = /\s+$/, br = /\d/, bk = /^<(\w+)\s*\/?>(?:<\/\1>)?$/, bx = /^[\],:{}\s]*$/, bF = /\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g, bz = /"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g, bt = /(?:^|:|,)(?:\s*\[)+/g, bi = /(webkit)[ \/]([\w.]+)/, bB = /(opera)(?:.*version)?[ \/]([\w.]+)/, bA = /(msie) ([\w.]+)/, bC = /(mozilla)(?:.*? rv:([\w.]+))?/, bG = navigator.userAgent, bE, bl, e, bv = Object.prototype.toString, bp = Object.prototype.hasOwnProperty, bj = Array.prototype.push, bu = Array.prototype.slice, by = String.prototype.trim, bf = Array.prototype.indexOf, bh = {}; bo.fn = bo.prototype = { constructor: bo, init: function(bI, bM, bL) { var bK, bN, bJ, bO; if (!bI) { return this } if (bI.nodeType) { this.context = this[0] = bI; this.length = 1; return this } if (bI === "body" && !bM && am.body) { this.context = am; this[0] = am.body; this.selector = "body"; this.length = 1; return this } if (typeof bI === "string") { bK = bH.exec(bI); if (bK && (bK[1] || !bM)) { if (bK[1]) { bM = bM instanceof bo ? bM[0] : bM; bO = (bM ? bM.ownerDocument || bM : am); bJ = bk.exec(bI); if (bJ) { if (bo.isPlainObject(bM)) { bI = [am.createElement(bJ[1])]; bo.fn.attr.call(bI, bM, true) } else { bI = [bO.createElement(bJ[1])] } } else { bJ = bo.buildFragment([bK[1]], [bO]); bI = (bJ.cacheable ? bo.clone(bJ.fragment) : bJ.fragment).childNodes } return bo.merge(this, bI) } else { bN = am.getElementById(bK[2]); if (bN && bN.parentNode) { if (bN.id !== bK[2]) { return bL.find(bI) } this.length = 1; this[0] = bN } this.context = am; this.selector = bI; return this } } else { if (!bM || bM.jquery) { return (bM || bL).find(bI) } else { return this.constructor(bM).find(bI) } } } else { if (bo.isFunction(bI)) { return bL.ready(bI) } } if (bI.selector !== I) { this.selector = bI.selector; this.context = bI.context } return bo.makeArray(bI, this) }, selector: "", jquery: "1.5.2", length: 0, size: function() { return this.length }, toArray: function() { return bu.call(this, 0) }, get: function(bI) { return bI == null ? this.toArray() : (bI < 0 ? this[this.length + bI] : this[bI]) }, pushStack: function(bJ, bL, bI) { var bK = this.constructor(); if (bo.isArray(bJ)) { bj.apply(bK, bJ) } else { bo.merge(bK, bJ) } bK.prevObject = this; bK.context = this.context; if (bL === "find") { bK.selector = this.selector + (this.selector ? " " : "") + bI } else { if (bL) { bK.selector = this.selector + "." + bL + "(" + bI + ")" } } return bK }, each: function(bJ, bI) { return bo.each(this, bJ, bI) }, ready: function(bI) { bo.bindReady(); bl.done(bI); return this }, eq: function(bI) { return bI === -1 ? this.slice(bI) : this.slice(bI, +bI + 1) }, first: function() { return this.eq(0) }, last: function() { return this.eq(-1) }, slice: function() { return this.pushStack(bu.apply(this, arguments), "slice", bu.call(arguments).join(",")) }, map: function(bI) { return this.pushStack(bo.map(this, function(bK, bJ) { return bI.call(bK, bJ, bK) })) }, end: function() { return this.prevObject || this.constructor(null) }, push: bj, sort: [].sort, splice: [].splice }; bo.fn.init.prototype = bo.fn; bo.extend = bo.fn.extend = function() { var bR, bK, bI, bJ, bO, bP, bN = arguments[0] || {}, bM = 1, bL = arguments.length, bQ = false; if (typeof bN === "boolean") { bQ = bN; bN = arguments[1] || {}; bM = 2 } if (typeof bN !== "object" && !bo.isFunction(bN)) { bN = {} } if (bL === bM) { bN = this; --bM } for (; bM < bL; bM++) { if ((bR = arguments[bM]) != null) { for (bK in bR) { bI = bN[bK]; bJ = bR[bK]; if (bN === bJ) { continue } if (bQ && bJ && (bo.isPlainObject(bJ) || (bO = bo.isArray(bJ)))) { if (bO) { bO = false; bP = bI && bo.isArray(bI) ? bI : [] } else { bP = bI && bo.isPlainObject(bI) ? bI : {} } bN[bK] = bo.extend(bQ, bP, bJ) } else { if (bJ !== I) { bN[bK] = bJ } } } } } return bN }; bo.extend({ noConflict: function(bI) { a0.$ = bq; if (bI) { a0.jQuery = bD } return bo }, isReady: false, readyWait: 1, ready: function(bI) { if (bI === true) { bo.readyWait-- } if (!bo.readyWait || (bI !== true && !bo.isReady)) { if (!am.body) { return setTimeout(bo.ready, 1) } bo.isReady = true; if (bI !== true && --bo.readyWait > 0) { return } bl.resolveWith(am, [bo]); if (bo.fn.trigger) { bo(am).trigger("ready").unbind("ready") } } }, bindReady: function() { if (bl) { return } bl = bo._Deferred(); if (am.readyState === "complete") { return setTimeout(bo.ready, 1) } if (am.addEventListener) { am.addEventListener("DOMContentLoaded", e, false); a0.addEventListener("load", bo.ready, false) } else { if (am.attachEvent) { am.attachEvent("onreadystatechange", e); a0.attachEvent("onload", bo.ready); var bI = false; try { bI = a0.frameElement == null } catch (bJ) { } if (am.documentElement.doScroll && bI) { bg() } } } }, isFunction: function(bI) { return bo.type(bI) === "function" }, isArray: Array.isArray || function(bI) { return bo.type(bI) === "array" }, isWindow: function(bI) { return bI && typeof bI === "object" && "setInterval" in bI }, isNaN: function(bI) { return bI == null || !br.test(bI) || isNaN(bI) }, type: function(bI) { return bI == null ? String(bI) : bh[bv.call(bI)] || "object" }, isPlainObject: function(bJ) { if (!bJ || bo.type(bJ) !== "object" || bJ.nodeType || bo.isWindow(bJ)) { return false } if (bJ.constructor && !bp.call(bJ, "constructor") && !bp.call(bJ.constructor.prototype, "isPrototypeOf")) { return false } var bI; for (bI in bJ) { } return bI === I || bp.call(bJ, bI) }, isEmptyObject: function(bJ) { for (var bI in bJ) { return false } return true }, error: function(bI) { throw bI }, parseJSON: function(bI) { if (typeof bI !== "string" || !bI) { return null } bI = bo.trim(bI); if (bx.test(bI.replace(bF, "@").replace(bz, "]").replace(bt, ""))) { return a0.JSON && a0.JSON.parse ? a0.JSON.parse(bI) : (new Function("return " + bI))() } else { bo.error("Invalid JSON: " + bI) } }, parseXML: function(bK, bI, bJ) { if (a0.DOMParser) { bJ = new DOMParser(); bI = bJ.parseFromString(bK, "text/xml") } else { bI = new ActiveXObject("Microsoft.XMLDOM"); bI.async = "false"; bI.loadXML(bK) } bJ = bI.documentElement; if (!bJ || !bJ.nodeName || bJ.nodeName === "parsererror") { bo.error("Invalid XML: " + bK) } return bI }, noop: function() { }, globalEval: function(bK) { if (bK && bw.test(bK)) { var bJ = am.head || am.getElementsByTagName("head")[0] || am.documentElement, bI = am.createElement("script"); if (bo.support.scriptEval()) { bI.appendChild(am.createTextNode(bK)) } else { bI.text = bK } bJ.insertBefore(bI, bJ.firstChild); bJ.removeChild(bI) } }, nodeName: function(bJ, bI) { return bJ.nodeName && bJ.nodeName.toUpperCase() === bI.toUpperCase() }, each: function(bL, bP, bK) { var bJ, bM = 0, bN = bL.length, bI = bN === I || bo.isFunction(bL); if (bK) { if (bI) { for (bJ in bL) { if (bP.apply(bL[bJ], bK) === false) { break } } } else { for (; bM < bN; ) { if (bP.apply(bL[bM++], bK) === false) { break } } } } else { if (bI) { for (bJ in bL) { if (bP.call(bL[bJ], bJ, bL[bJ]) === false) { break } } } else { for (var bO = bL[0]; bM < bN && bP.call(bO, bM, bO) !== false; bO = bL[++bM]) { } } } return bL }, trim: by ? function(bI) { return bI == null ? "" : by.call(bI) } : function(bI) { return bI == null ? "" : bI.toString().replace(bs, "").replace(bn, "") }, makeArray: function(bL, bJ) { var bI = bJ || []; if (bL != null) { var bK = bo.type(bL); if (bL.length == null || bK === "string" || bK === "function" || bK === "regexp" || bo.isWindow(bL)) { bj.call(bI, bL) } else { bo.merge(bI, bL) } } return bI }, inArray: function(bK, bL) { if (bL.indexOf) { return bL.indexOf(bK) } for (var bI = 0, bJ = bL.length; bI < bJ; bI++) { if (bL[bI] === bK) { return bI } } return -1 }, merge: function(bM, bK) { var bL = bM.length, bJ = 0; if (typeof bK.length === "number") { for (var bI = bK.length; bJ < bI; bJ++) { bM[bL++] = bK[bJ] } } else { while (bK[bJ] !== I) { bM[bL++] = bK[bJ++] } } bM.length = bL; return bM }, grep: function(bJ, bO, bI) { var bK = [], bN; bI = !!bI; for (var bL = 0, bM = bJ.length; bL < bM; bL++) { bN = !!bO(bJ[bL], bL); if (bI !== bN) { bK.push(bJ[bL]) } } return bK }, map: function(bJ, bO, bI) { var bK = [], bN; for (var bL = 0, bM = bJ.length; bL < bM; bL++) { bN = bO(bJ[bL], bL, bI); if (bN != null) { bK[bK.length] = bN } } return bK.concat.apply([], bK) }, guid: 1, proxy: function(bK, bJ, bI) { if (arguments.length === 2) { if (typeof bJ === "string") { bI = bK; bK = bI[bJ]; bJ = I } else { if (bJ && !bo.isFunction(bJ)) { bI = bJ; bJ = I } } } if (!bJ && bK) { bJ = function() { return bK.apply(bI || this, arguments) } } if (bK) { bJ.guid = bK.guid = bK.guid || bJ.guid || bo.guid++ } return bJ }, access: function(bI, bQ, bO, bK, bN, bP) { var bJ = bI.length; if (typeof bQ === "object") { for (var bL in bQ) { bo.access(bI, bL, bQ[bL], bK, bN, bO) } return bI } if (bO !== I) { bK = !bP && bK && bo.isFunction(bO); for (var bM = 0; bM < bJ; bM++) { bN(bI[bM], bQ, bK ? bO.call(bI[bM], bM, bN(bI[bM], bQ)) : bO, bP) } return bI } return bJ ? bN(bI[0], bQ) : I }, now: function() { return (new Date()).getTime() }, uaMatch: function(bJ) { bJ = bJ.toLowerCase(); var bI = bi.exec(bJ) || bB.exec(bJ) || bA.exec(bJ) || bJ.indexOf("compatible") < 0 && bC.exec(bJ) || []; return { browser: bI[1] || "", version: bI[2] || "0"} }, sub: function() { function bJ(bL, bM) { return new bJ.fn.init(bL, bM) } bo.extend(true, bJ, this); bJ.superclass = this; bJ.fn = bJ.prototype = this(); bJ.fn.constructor = bJ; bJ.subclass = this.subclass; bJ.fn.init = function bK(bL, bM) { if (bM && bM instanceof bo && !(bM instanceof bJ)) { bM = bJ(bM) } return bo.fn.init.call(this, bL, bM, bI) }; bJ.fn.init.prototype = bJ.fn; var bI = bJ(am); return bJ }, browser: {} }); bo.each("Boolean Number String Function Array Date RegExp Object".split(" "), function(bJ, bI) { bh["[object " + bI + "]"] = bI.toLowerCase() }); bE = bo.uaMatch(bG); if (bE.browser) { bo.browser[bE.browser] = true; bo.browser.version = bE.version } if (bo.browser.webkit) { bo.browser.safari = true } if (bf) { bo.inArray = function(bI, bJ) { return bf.call(bJ, bI) } } if (bw.test("\xA0")) { bs = /^[\s\xA0]+/; bn = /[\s\xA0]+$/ } bm = bo(am); if (am.addEventListener) { e = function() { am.removeEventListener("DOMContentLoaded", e, false); bo.ready() } } else { if (am.attachEvent) { e = function() { if (am.readyState === "complete") { am.detachEvent("onreadystatechange", e); bo.ready() } } } } function bg() { if (bo.isReady) { return } try { am.documentElement.doScroll("left") } catch (bI) { setTimeout(bg, 1); return } bo.ready() } return bo })(); var a = "then done fail isResolved isRejected promise".split(" "), aA = [].slice; b.extend({ _Deferred: function() { var bh = [], bi, bf, bg, e = { done: function() { if (!bg) { var bk = arguments, bl, bo, bn, bm, bj; if (bi) { bj = bi; bi = 0 } for (bl = 0, bo = bk.length; bl < bo; bl++) { bn = bk[bl]; bm = b.type(bn); if (bm === "array") { e.done.apply(e, bn) } else { if (bm === "function") { bh.push(bn) } } } if (bj) { e.resolveWith(bj[0], bj[1]) } } return this }, resolveWith: function(bk, bj) { if (!bg && !bi && !bf) { bj = bj || []; bf = 1; try { while (bh[0]) { bh.shift().apply(bk, bj) } } finally { bi = [bk, bj]; bf = 0 } } return this }, resolve: function() { e.resolveWith(this, arguments); return this }, isResolved: function() { return !!(bf || bi) }, cancel: function() { bg = 1; bh = []; return this } }; return e }, Deferred: function(bf) { var e = b._Deferred(), bh = b._Deferred(), bg; b.extend(e, { then: function(bj, bi) { e.done(bj).fail(bi); return this }, fail: bh.done, rejectWith: bh.resolveWith, reject: bh.resolve, isRejected: bh.isResolved, promise: function(bj) { if (bj == null) { if (bg) { return bg } bg = bj = {} } var bi = a.length; while (bi--) { bj[a[bi]] = e[a[bi]] } return bj } }); e.done(bh.cancel).fail(e.cancel); delete e.cancel; if (bf) { bf.call(e, e) } return e }, when: function(bk) { var bf = arguments, bg = 0, bj = bf.length, bi = bj, e = bj <= 1 && bk && b.isFunction(bk.promise) ? bk : b.Deferred(); function bh(bl) { return function(bm) { bf[bl] = arguments.length > 1 ? aA.call(arguments, 0) : bm; if (!(--bi)) { e.resolveWith(e, aA.call(bf, 0)) } } } if (bj > 1) { for (; bg < bj; bg++) { if (bf[bg] && b.isFunction(bf[bg].promise)) { bf[bg].promise().then(bh(bg), e.reject) } else { --bi } } if (!bi) { e.resolveWith(e, bf) } } else { if (e !== bk) { e.resolveWith(e, bj ? [bk] : []) } } return e.promise() } }); (function() { b.support = {}; var bf = am.createElement("div"); bf.style.display = "none"; bf.innerHTML = "   <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>"; var bo = bf.getElementsByTagName("*"), bm = bf.getElementsByTagName("a")[0], bn = am.createElement("select"), bg = bn.appendChild(am.createElement("option")), bl = bf.getElementsByTagName("input")[0]; if (!bo || !bo.length || !bm) { return } b.support = { leadingWhitespace: bf.firstChild.nodeType === 3, tbody: !bf.getElementsByTagName("tbody").length, htmlSerialize: !!bf.getElementsByTagName("link").length, style: /red/.test(bm.getAttribute("style")), hrefNormalized: bm.getAttribute("href") === "/a", opacity: /^0.55$/.test(bm.style.opacity), cssFloat: !!bm.style.cssFloat, checkOn: bl.value === "on", optSelected: bg.selected, deleteExpando: true, optDisabled: false, checkClone: false, noCloneEvent: true, noCloneChecked: true, boxModel: null, inlineBlockNeedsLayout: false, shrinkWrapBlocks: false, reliableHiddenOffsets: true, reliableMarginRight: true }; bl.checked = true; b.support.noCloneChecked = bl.cloneNode(true).checked; bn.disabled = true; b.support.optDisabled = !bg.disabled; var bh = null; b.support.scriptEval = function() { if (bh === null) { var bq = am.documentElement, br = am.createElement("script"), bt = "script" + b.now(); try { br.appendChild(am.createTextNode("window." + bt + "=1;")) } catch (bs) { } bq.insertBefore(br, bq.firstChild); if (a0[bt]) { bh = true; delete a0[bt] } else { bh = false } bq.removeChild(br) } return bh }; try { delete bf.test } catch (bj) { b.support.deleteExpando = false } if (!bf.addEventListener && bf.attachEvent && bf.fireEvent) { bf.attachEvent("onclick", function bp() { b.support.noCloneEvent = false; bf.detachEvent("onclick", bp) }); bf.cloneNode(true).fireEvent("onclick") } bf = am.createElement("div"); bf.innerHTML = "<input type='radio' name='radiotest' checked='checked'/>"; var bi = am.createDocumentFragment(); bi.appendChild(bf.firstChild); b.support.checkClone = bi.cloneNode(true).cloneNode(true).lastChild.checked; b(function() { var br = am.createElement("div"), e = am.getElementsByTagName("body")[0]; if (!e) { return } br.style.width = br.style.paddingLeft = "1px"; e.appendChild(br); b.boxModel = b.support.boxModel = br.offsetWidth === 2; if ("zoom" in br.style) { br.style.display = "inline"; br.style.zoom = 1; b.support.inlineBlockNeedsLayout = br.offsetWidth === 2; br.style.display = ""; br.innerHTML = "<div style='width:4px;'></div>"; b.support.shrinkWrapBlocks = br.offsetWidth !== 2 } br.innerHTML = "<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>"; var bq = br.getElementsByTagName("td"); b.support.reliableHiddenOffsets = bq[0].offsetHeight === 0; bq[0].style.display = ""; bq[1].style.display = "none"; b.support.reliableHiddenOffsets = b.support.reliableHiddenOffsets && bq[0].offsetHeight === 0; br.innerHTML = ""; if (am.defaultView && am.defaultView.getComputedStyle) { br.style.width = "1px"; br.style.marginRight = "0"; b.support.reliableMarginRight = (parseInt(am.defaultView.getComputedStyle(br, null).marginRight, 10) || 0) === 0 } e.removeChild(br).style.display = "none"; br = bq = null }); var bk = function(e) { var br = am.createElement("div"); e = "on" + e; if (!br.attachEvent) { return true } var bq = (e in br); if (!bq) { br.setAttribute(e, "return;"); bq = typeof br[e] === "function" } return bq }; b.support.submitBubbles = bk("submit"); b.support.changeBubbles = bk("change"); bf = bo = bm = null })(); var aG = /^(?:\{.*\}|\[.*\])$/; b.extend({ cache: {}, uuid: 0, expando: "jQuery" + (b.fn.jquery + Math.random()).replace(/\D/g, ""), noData: { embed: true, object: "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000", applet: true }, hasData: function(e) { e = e.nodeType ? b.cache[e[b.expando]] : e[b.expando]; return !!e && !Q(e) }, data: function(bh, bf, bj, bi) { if (!b.acceptData(bh)) { return } var bm = b.expando, bl = typeof bf === "string", bk, bn = bh.nodeType, e = bn ? b.cache : bh, bg = bn ? bh[b.expando] : bh[b.expando] && b.expando; if ((!bg || (bi && bg && !e[bg][bm])) && bl && bj === I) { return } if (!bg) { if (bn) { bh[b.expando] = bg = ++b.uuid } else { bg = b.expando } } if (!e[bg]) { e[bg] = {}; if (!bn) { e[bg].toJSON = b.noop } } if (typeof bf === "object" || typeof bf === "function") { if (bi) { e[bg][bm] = b.extend(e[bg][bm], bf) } else { e[bg] = b.extend(e[bg], bf) } } bk = e[bg]; if (bi) { if (!bk[bm]) { bk[bm] = {} } bk = bk[bm] } if (bj !== I) { bk[bf] = bj } if (bf === "events" && !bk[bf]) { return bk[bm] && bk[bm].events } return bl ? bk[bf] : bk }, removeData: function(bi, bg, bj) { if (!b.acceptData(bi)) { return } var bl = b.expando, bm = bi.nodeType, bf = bm ? b.cache : bi, bh = bm ? bi[b.expando] : b.expando; if (!bf[bh]) { return } if (bg) { var bk = bj ? bf[bh][bl] : bf[bh]; if (bk) { delete bk[bg]; if (!Q(bk)) { return } } } if (bj) { delete bf[bh][bl]; if (!Q(bf[bh])) { return } } var e = bf[bh][bl]; if (b.support.deleteExpando || bf != a0) { delete bf[bh] } else { bf[bh] = null } if (e) { bf[bh] = {}; if (!bm) { bf[bh].toJSON = b.noop } bf[bh][bl] = e } else { if (bm) { if (b.support.deleteExpando) { delete bi[b.expando] } else { if (bi.removeAttribute) { bi.removeAttribute(b.expando) } else { bi[b.expando] = null } } } } }, _data: function(bf, e, bg) { return b.data(bf, e, bg, true) }, acceptData: function(bf) { if (bf.nodeName) { var e = b.noData[bf.nodeName.toLowerCase()]; if (e) { return !(e === true || bf.getAttribute("classid") !== e) } } return true } }); b.fn.extend({ data: function(bi, bk) { var bj = null; if (typeof bi === "undefined") { if (this.length) { bj = b.data(this[0]); if (this[0].nodeType === 1) { var e = this[0].attributes, bg; for (var bh = 0, bf = e.length; bh < bf; bh++) { bg = e[bh].name; if (bg.indexOf("data-") === 0) { bg = bg.substr(5); aV(this[0], bg, bj[bg]) } } } } return bj } else { if (typeof bi === "object") { return this.each(function() { b.data(this, bi) }) } } var bl = bi.split("."); bl[1] = bl[1] ? "." + bl[1] : ""; if (bk === I) { bj = this.triggerHandler("getData" + bl[1] + "!", [bl[0]]); if (bj === I && this.length) { bj = b.data(this[0], bi); bj = aV(this[0], bi, bj) } return bj === I && bl[1] ? this.data(bl[0]) : bj } else { return this.each(function() { var bn = b(this), bm = [bl[0], bk]; bn.triggerHandler("setData" + bl[1] + "!", bm); b.data(this, bi, bk); bn.triggerHandler("changeData" + bl[1] + "!", bm) }) } }, removeData: function(e) { return this.each(function() { b.removeData(this, e) }) } }); function aV(bg, bf, bh) { if (bh === I && bg.nodeType === 1) { bh = bg.getAttribute("data-" + bf); if (typeof bh === "string") { try { bh = bh === "true" ? true : bh === "false" ? false : bh === "null" ? null : !b.isNaN(bh) ? parseFloat(bh) : aG.test(bh) ? b.parseJSON(bh) : bh } catch (bi) { } b.data(bg, bf, bh) } else { bh = I } } return bh } function Q(bf) { for (var e in bf) { if (e !== "toJSON") { return false } } return true } b.extend({ queue: function(bf, e, bh) { if (!bf) { return } e = (e || "fx") + "queue"; var bg = b._data(bf, e); if (!bh) { return bg || [] } if (!bg || b.isArray(bh)) { bg = b._data(bf, e, b.makeArray(bh)) } else { bg.push(bh) } return bg }, dequeue: function(bh, bg) { bg = bg || "fx"; var e = b.queue(bh, bg), bf = e.shift(); if (bf === "inprogress") { bf = e.shift() } if (bf) { if (bg === "fx") { e.unshift("inprogress") } bf.call(bh, function() { b.dequeue(bh, bg) }) } if (!e.length) { b.removeData(bh, bg + "queue", true) } } }); b.fn.extend({ queue: function(e, bf) { if (typeof e !== "string") { bf = e; e = "fx" } if (bf === I) { return b.queue(this[0], e) } return this.each(function(bh) { var bg = b.queue(this, e, bf); if (e === "fx" && bg[0] !== "inprogress") { b.dequeue(this, e) } }) }, dequeue: function(e) { return this.each(function() { b.dequeue(this, e) }) }, delay: function(bf, e) { bf = b.fx ? b.fx.speeds[bf] || bf : bf; e = e || "fx"; return this.queue(e, function() { var bg = this; setTimeout(function() { b.dequeue(bg, e) }, bf) }) }, clearQueue: function(e) { return this.queue(e || "fx", []) } }); var aE = /[\n\t\r]/g, a5 = /\s+/, aI = /\r/g, a4 = /^(?:href|src|style)$/, g = /^(?:button|input)$/i, D = /^(?:button|input|object|select|textarea)$/i, l = /^a(?:rea)?$/i, R = /^(?:radio|checkbox)$/i; b.props = { "for": "htmlFor", "class": "className", readonly: "readOnly", maxlength: "maxLength", cellspacing: "cellSpacing", rowspan: "rowSpan", colspan: "colSpan", tabindex: "tabIndex", usemap: "useMap", frameborder: "frameBorder" }; b.fn.extend({ attr: function(e, bf) { return b.access(this, e, bf, true, b.attr) }, removeAttr: function(e, bf) { return this.each(function() { b.attr(this, e, ""); if (this.nodeType === 1) { this.removeAttribute(e) } }) }, addClass: function(bl) { if (b.isFunction(bl)) { return this.each(function(bo) { var bn = b(this); bn.addClass(bl.call(this, bo, bn.attr("class"))) }) } if (bl && typeof bl === "string") { var e = (bl || "").split(a5); for (var bh = 0, bg = this.length; bh < bg; bh++) { var bf = this[bh]; if (bf.nodeType === 1) { if (!bf.className) { bf.className = bl } else { var bi = " " + bf.className + " ", bk = bf.className; for (var bj = 0, bm = e.length; bj < bm; bj++) { if (bi.indexOf(" " + e[bj] + " ") < 0) { bk += " " + e[bj] } } bf.className = b.trim(bk) } } } } return this }, removeClass: function(bj) { if (b.isFunction(bj)) { return this.each(function(bn) { var bm = b(this); bm.removeClass(bj.call(this, bn, bm.attr("class"))) }) } if ((bj && typeof bj === "string") || bj === I) { var bk = (bj || "").split(a5); for (var bg = 0, bf = this.length; bg < bf; bg++) { var bi = this[bg]; if (bi.nodeType === 1 && bi.className) { if (bj) { var bh = (" " + bi.className + " ").replace(aE, " "); for (var bl = 0, e = bk.length; bl < e; bl++) { bh = bh.replace(" " + bk[bl] + " ", " ") } bi.className = b.trim(bh) } else { bi.className = "" } } } } return this }, toggleClass: function(bh, bf) { var bg = typeof bh, e = typeof bf === "boolean"; if (b.isFunction(bh)) { return this.each(function(bj) { var bi = b(this); bi.toggleClass(bh.call(this, bj, bi.attr("class"), bf), bf) }) } return this.each(function() { if (bg === "string") { var bk, bj = 0, bi = b(this), bl = bf, bm = bh.split(a5); while ((bk = bm[bj++])) { bl = e ? bl : !bi.hasClass(bk); bi[bl ? "addClass" : "removeClass"](bk) } } else { if (bg === "undefined" || bg === "boolean") { if (this.className) { b._data(this, "__className__", this.className) } this.className = this.className || bh === false ? "" : b._data(this, "__className__") || "" } } }) }, hasClass: function(e) { var bh = " " + e + " "; for (var bg = 0, bf = this.length; bg < bf; bg++) { if ((" " + this[bg].className + " ").replace(aE, " ").indexOf(bh) > -1) { return true } } return false }, val: function(bm) { if (!arguments.length) { var bg = this[0]; if (bg) { if (b.nodeName(bg, "option")) { var bf = bg.attributes.value; return !bf || bf.specified ? bg.value : bg.text } if (b.nodeName(bg, "select")) { var bk = bg.selectedIndex, bn = [], bo = bg.options, bj = bg.type === "select-one"; if (bk < 0) { return null } for (var bh = bj ? bk : 0, bl = bj ? bk + 1 : bo.length; bh < bl; bh++) { var bi = bo[bh]; if (bi.selected && (b.support.optDisabled ? !bi.disabled : bi.getAttribute("disabled") === null) && (!bi.parentNode.disabled || !b.nodeName(bi.parentNode, "optgroup"))) { bm = b(bi).val(); if (bj) { return bm } bn.push(bm) } } if (bj && !bn.length && bo.length) { return b(bo[bk]).val() } return bn } if (R.test(bg.type) && !b.support.checkOn) { return bg.getAttribute("value") === null ? "on" : bg.value } return (bg.value || "").replace(aI, "") } return I } var e = b.isFunction(bm); return this.each(function(br) { var bq = b(this), bs = bm; if (this.nodeType !== 1) { return } if (e) { bs = bm.call(this, br, bq.val()) } if (bs == null) { bs = "" } else { if (typeof bs === "number") { bs += "" } else { if (b.isArray(bs)) { bs = b.map(bs, function(bt) { return bt == null ? "" : bt + "" }) } } } if (b.isArray(bs) && R.test(this.type)) { this.checked = b.inArray(bq.val(), bs) >= 0 } else { if (b.nodeName(this, "select")) { var bp = b.makeArray(bs); b("option", this).each(function() { this.selected = b.inArray(b(this).val(), bp) >= 0 }); if (!bp.length) { this.selectedIndex = -1 } } else { this.value = bs } } }) } }); b.extend({ attrFn: { val: true, css: true, html: true, text: true, data: true, width: true, height: true, offset: true }, attr: function(bf, e, bk, bn) { if (!bf || bf.nodeType === 3 || bf.nodeType === 8 || bf.nodeType === 2) { return I } if (bn && e in b.attrFn) { return b(bf)[e](bk) } var bg = bf.nodeType !== 1 || !b.isXMLDoc(bf), bj = bk !== I; e = bg && b.props[e] || e; if (bf.nodeType === 1) { var bi = a4.test(e); if (e === "selected" && !b.support.optSelected) { var bl = bf.parentNode; if (bl) { bl.selectedIndex; if (bl.parentNode) { bl.parentNode.selectedIndex } } } if ((e in bf || bf[e] !== I) && bg && !bi) { if (bj) { if (e === "type" && g.test(bf.nodeName) && bf.parentNode) { b.error("type property can't be changed") } if (bk === null) { if (bf.nodeType === 1) { bf.removeAttribute(e) } } else { bf[e] = bk } } if (b.nodeName(bf, "form") && bf.getAttributeNode(e)) { return bf.getAttributeNode(e).nodeValue } if (e === "tabIndex") { var bm = bf.getAttributeNode("tabIndex"); return bm && bm.specified ? bm.value : D.test(bf.nodeName) || l.test(bf.nodeName) && bf.href ? 0 : I } return bf[e] } if (!b.support.style && bg && e === "style") { if (bj) { bf.style.cssText = "" + bk } return bf.style.cssText } if (bj) { bf.setAttribute(e, "" + bk) } if (!bf.attributes[e] && (bf.hasAttribute && !bf.hasAttribute(e))) { return I } var bh = !b.support.hrefNormalized && bg && bi ? bf.getAttribute(e, 2) : bf.getAttribute(e); return bh === null ? I : bh } if (bj) { bf[e] = bk } return bf[e] } }); var aR = /\.(.*)$/, a2 = /^(?:textarea|input|select)$/i, L = /\./g, ab = / /g, ax = /[^\w\s.|`]/g, F = function(e) { return e.replace(ax, "\\$&") }; b.event = { add: function(bi, bm, bt, bk) { if (bi.nodeType === 3 || bi.nodeType === 8) { return } try { if (b.isWindow(bi) && (bi !== a0 && !bi.frameElement)) { bi = a0 } } catch (bn) { } if (bt === false) { bt = a7 } else { if (!bt) { return } } var bg, br; if (bt.handler) { bg = bt; bt = bg.handler } if (!bt.guid) { bt.guid = b.guid++ } var bo = b._data(bi); if (!bo) { return } var bs = bo.events, bl = bo.handle; if (!bs) { bo.events = bs = {} } if (!bl) { bo.handle = bl = function(bu) { return typeof b !== "undefined" && b.event.triggered !== bu.type ? b.event.handle.apply(bl.elem, arguments) : I } } bl.elem = bi; bm = bm.split(" "); var bq, bj = 0, bf; while ((bq = bm[bj++])) { br = bg ? b.extend({}, bg) : { handler: bt, data: bk }; if (bq.indexOf(".") > -1) { bf = bq.split("."); bq = bf.shift(); br.namespace = bf.slice(0).sort().join(".") } else { bf = []; br.namespace = "" } br.type = bq; if (!br.guid) { br.guid = bt.guid } var bh = bs[bq], bp = b.event.special[bq] || {}; if (!bh) { bh = bs[bq] = []; if (!bp.setup || bp.setup.call(bi, bk, bf, bl) === false) { if (bi.addEventListener) { bi.addEventListener(bq, bl, false) } else { if (bi.attachEvent) { bi.attachEvent("on" + bq, bl) } } } } if (bp.add) { bp.add.call(bi, br); if (!br.handler.guid) { br.handler.guid = bt.guid } } bh.push(br); b.event.global[bq] = true } bi = null }, global: {}, remove: function(bt, bo, bg, bk) { if (bt.nodeType === 3 || bt.nodeType === 8) { return } if (bg === false) { bg = a7 } var bw, bj, bl, bq, br = 0, bh, bm, bp, bi, bn, e, bv, bs = b.hasData(bt) && b._data(bt), bf = bs && bs.events; if (!bs || !bf) { return } if (bo && bo.type) { bg = bo.handler; bo = bo.type } if (!bo || typeof bo === "string" && bo.charAt(0) === ".") { bo = bo || ""; for (bj in bf) { b.event.remove(bt, bj + bo) } return } bo = bo.split(" "); while ((bj = bo[br++])) { bv = bj; e = null; bh = bj.indexOf(".") < 0; bm = []; if (!bh) { bm = bj.split("."); bj = bm.shift(); bp = new RegExp("(^|\\.)" + b.map(bm.slice(0).sort(), F).join("\\.(?:.*\\.)?") + "(\\.|$)") } bn = bf[bj]; if (!bn) { continue } if (!bg) { for (bq = 0; bq < bn.length; bq++) { e = bn[bq]; if (bh || bp.test(e.namespace)) { b.event.remove(bt, bv, e.handler, bq); bn.splice(bq--, 1) } } continue } bi = b.event.special[bj] || {}; for (bq = bk || 0; bq < bn.length; bq++) { e = bn[bq]; if (bg.guid === e.guid) { if (bh || bp.test(e.namespace)) { if (bk == null) { bn.splice(bq--, 1) } if (bi.remove) { bi.remove.call(bt, e) } } if (bk != null) { break } } } if (bn.length === 0 || bk != null && bn.length === 1) { if (!bi.teardown || bi.teardown.call(bt, bm) === false) { b.removeEvent(bt, bj, bs.handle) } bw = null; delete bf[bj] } } if (b.isEmptyObject(bf)) { var bu = bs.handle; if (bu) { bu.elem = null } delete bs.events; delete bs.handle; if (b.isEmptyObject(bs)) { b.removeData(bt, I, true) } } }, trigger: function(bf, bk, bh) { var bo = bf.type || bf, bj = arguments[3]; if (!bj) { bf = typeof bf === "object" ? bf[b.expando] ? bf : b.extend(b.Event(bo), bf) : b.Event(bo); if (bo.indexOf("!") >= 0) { bf.type = bo = bo.slice(0, -1); bf.exclusive = true } if (!bh) { bf.stopPropagation(); if (b.event.global[bo]) { b.each(b.cache, function() { var bt = b.expando, bs = this[bt]; if (bs && bs.events && bs.events[bo]) { b.event.trigger(bf, bk, bs.handle.elem) } }) } } if (!bh || bh.nodeType === 3 || bh.nodeType === 8) { return I } bf.result = I; bf.target = bh; bk = b.makeArray(bk); bk.unshift(bf) } bf.currentTarget = bh; var bl = b._data(bh, "handle"); if (bl) { bl.apply(bh, bk) } var bq = bh.parentNode || bh.ownerDocument; try { if (!(bh && bh.nodeName && b.noData[bh.nodeName.toLowerCase()])) { if (bh["on" + bo] && bh["on" + bo].apply(bh, bk) === false) { bf.result = false; bf.preventDefault() } } } catch (bp) { } if (!bf.isPropagationStopped() && bq) { b.event.trigger(bf, bk, bq, true) } else { if (!bf.isDefaultPrevented()) { var bg, bm = bf.target, e = bo.replace(aR, ""), br = b.nodeName(bm, "a") && e === "click", bn = b.event.special[e] || {}; if ((!bn._default || bn._default.call(bh, bf) === false) && !br && !(bm && bm.nodeName && b.noData[bm.nodeName.toLowerCase()])) { try { if (bm[e]) { bg = bm["on" + e]; if (bg) { bm["on" + e] = null } b.event.triggered = bf.type; bm[e]() } } catch (bi) { } if (bg) { bm["on" + e] = bg } b.event.triggered = I } } } }, handle: function(e) { var bn, bg, bf, bp, bo, bj = [], bl = b.makeArray(arguments); e = bl[0] = b.event.fix(e || a0.event); e.currentTarget = this; bn = e.type.indexOf(".") < 0 && !e.exclusive; if (!bn) { bf = e.type.split("."); e.type = bf.shift(); bj = bf.slice(0).sort(); bp = new RegExp("(^|\\.)" + bj.join("\\.(?:.*\\.)?") + "(\\.|$)") } e.namespace = e.namespace || bj.join("."); bo = b._data(this, "events"); bg = (bo || {})[e.type]; if (bo && bg) { bg = bg.slice(0); for (var bi = 0, bh = bg.length; bi < bh; bi++) { var bm = bg[bi]; if (bn || bp.test(bm.namespace)) { e.handler = bm.handler; e.data = bm.data; e.handleObj = bm; var bk = bm.handler.apply(this, bl); if (bk !== I) { e.result = bk; if (bk === false) { e.preventDefault(); e.stopPropagation() } } if (e.isImmediatePropagationStopped()) { break } } } } return e.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 pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "), fix: function(bh) { if (bh[b.expando]) { return bh } var bf = bh; bh = b.Event(bf); for (var bg = this.props.length, bj; bg; ) { bj = this.props[--bg]; bh[bj] = bf[bj] } if (!bh.target) { bh.target = bh.srcElement || am } if (bh.target.nodeType === 3) { bh.target = bh.target.parentNode } if (!bh.relatedTarget && bh.fromElement) { bh.relatedTarget = bh.fromElement === bh.target ? bh.toElement : bh.fromElement } if (bh.pageX == null && bh.clientX != null) { var bi = am.documentElement, e = am.body; bh.pageX = bh.clientX + (bi && bi.scrollLeft || e && e.scrollLeft || 0) - (bi && bi.clientLeft || e && e.clientLeft || 0); bh.pageY = bh.clientY + (bi && bi.scrollTop || e && e.scrollTop || 0) - (bi && bi.clientTop || e && e.clientTop || 0) } if (bh.which == null && (bh.charCode != null || bh.keyCode != null)) { bh.which = bh.charCode != null ? bh.charCode : bh.keyCode } if (!bh.metaKey && bh.ctrlKey) { bh.metaKey = bh.ctrlKey } if (!bh.which && bh.button !== I) { bh.which = (bh.button & 1 ? 1 : (bh.button & 2 ? 3 : (bh.button & 4 ? 2 : 0))) } return bh }, guid: 100000000, proxy: b.proxy, special: { ready: { setup: b.bindReady, teardown: b.noop }, live: { add: function(e) { b.event.add(this, o(e.origType, e.selector), b.extend({}, e, { handler: ag, guid: e.handler.guid })) }, remove: function(e) { b.event.remove(this, o(e.origType, e.selector), e) } }, beforeunload: { setup: function(bg, bf, e) { if (b.isWindow(this)) { this.onbeforeunload = e } }, teardown: function(bf, e) { if (this.onbeforeunload === e) { this.onbeforeunload = null } } }} }; b.removeEvent = am.removeEventListener ? function(bf, e, bg) { if (bf.removeEventListener) { bf.removeEventListener(e, bg, false) } } : function(bf, e, bg) { if (bf.detachEvent) { bf.detachEvent("on" + e, bg) } }; b.Event = function(e) { if (!this.preventDefault) { return new b.Event(e) } if (e && e.type) { this.originalEvent = e; this.type = e.type; this.isDefaultPrevented = (e.defaultPrevented || e.returnValue === false || e.getPreventDefault && e.getPreventDefault()) ? i : a7 } else { this.type = e } this.timeStamp = b.now(); this[b.expando] = true }; function a7() { return false } function i() { return true } b.Event.prototype = { preventDefault: function() { this.isDefaultPrevented = i; var bf = this.originalEvent; if (!bf) { return } if (bf.preventDefault) { bf.preventDefault() } else { bf.returnValue = false } }, stopPropagation: function() { this.isPropagationStopped = i; var bf = this.originalEvent; if (!bf) { return } if (bf.stopPropagation) { bf.stopPropagation() } bf.cancelBubble = true }, stopImmediatePropagation: function() { this.isImmediatePropagationStopped = i; this.stopPropagation() }, isDefaultPrevented: a7, isPropagationStopped: a7, isImmediatePropagationStopped: a7 }; var aa = function(bg) { var bf = bg.relatedTarget; try { if (bf && bf !== am && !bf.parentNode) { return } while (bf && bf !== this) { bf = bf.parentNode } if (bf !== this) { bg.type = bg.data; b.event.handle.apply(this, arguments) } } catch (bh) { } }, aM = function(e) { e.type = e.data; b.event.handle.apply(this, arguments) }; b.each({ mouseenter: "mouseover", mouseleave: "mouseout" }, function(bf, e) { b.event.special[bf] = { setup: function(bg) { b.event.add(this, e, bg && bg.selector ? aM : aa, bf) }, teardown: function(bg) { b.event.remove(this, e, bg && bg.selector ? aM : aa) } } }); if (!b.support.submitBubbles) { b.event.special.submit = { setup: function(bf, e) { if (this.nodeName && this.nodeName.toLowerCase() !== "form") { b.event.add(this, "click.specialSubmit", function(bi) { var bh = bi.target, bg = bh.type; if ((bg === "submit" || bg === "image") && b(bh).closest("form").length) { aP("submit", this, arguments) } }); b.event.add(this, "keypress.specialSubmit", function(bi) { var bh = bi.target, bg = bh.type; if ((bg === "text" || bg === "password") && b(bh).closest("form").length && bi.keyCode === 13) { aP("submit", this, arguments) } }) } else { return false } }, teardown: function(e) { b.event.remove(this, ".specialSubmit") } } } if (!b.support.changeBubbles) { var a8, k = function(bf) { var e = bf.type, bg = bf.value; if (e === "radio" || e === "checkbox") { bg = bf.checked } else { if (e === "select-multiple") { bg = bf.selectedIndex > -1 ? b.map(bf.options, function(bh) { return bh.selected }).join("-") : "" } else { if (bf.nodeName.toLowerCase() === "select") { bg = bf.selectedIndex } } } return bg }, Y = function Y(bh) { var bf = bh.target, bg, bi; if (!a2.test(bf.nodeName) || bf.readOnly) { return } bg = b._data(bf, "_change_data"); bi = k(bf); if (bh.type !== "focusout" || bf.type !== "radio") { b._data(bf, "_change_data", bi) } if (bg === I || bi === bg) { return } if (bg != null || bi) { bh.type = "change"; bh.liveFired = I; b.event.trigger(bh, arguments[1], bf) } }; b.event.special.change = { filters: { focusout: Y, beforedeactivate: Y, click: function(bh) { var bg = bh.target, bf = bg.type; if (bf === "radio" || bf === "checkbox" || bg.nodeName.toLowerCase() === "select") { Y.call(this, bh) } }, keydown: function(bh) { var bg = bh.target, bf = bg.type; if ((bh.keyCode === 13 && bg.nodeName.toLowerCase() !== "textarea") || (bh.keyCode === 32 && (bf === "checkbox" || bf === "radio")) || bf === "select-multiple") { Y.call(this, bh) } }, beforeactivate: function(bg) { var bf = bg.target; b._data(bf, "_change_data", k(bf)) } }, setup: function(bg, bf) { if (this.type === "file") { return false } for (var e in a8) { b.event.add(this, e + ".specialChange", a8[e]) } return a2.test(this.nodeName) }, teardown: function(e) { b.event.remove(this, ".specialChange"); return a2.test(this.nodeName) } }; a8 = b.event.special.change.filters; a8.focus = a8.beforeactivate } function aP(bf, bh, e) { var bg = b.extend({}, e[0]); bg.type = bf; bg.originalEvent = {}; bg.liveFired = I; b.event.handle.call(bh, bg); if (bg.isDefaultPrevented()) { e[0].preventDefault() } } if (am.addEventListener) { b.each({ focus: "focusin", blur: "focusout" }, function(bh, e) { var bf = 0; b.event.special[e] = { setup: function() { if (bf++ === 0) { am.addEventListener(bh, bg, true) } }, teardown: function() { if (--bf === 0) { am.removeEventListener(bh, bg, true) } } }; function bg(bi) { var bj = b.event.fix(bi); bj.type = e; bj.originalEvent = {}; b.event.trigger(bj, null, bj.target); if (bj.isDefaultPrevented()) { bi.preventDefault() } } }) } b.each(["bind", "one"], function(bf, e) { b.fn[e] = function(bl, bm, bk) { if (typeof bl === "object") { for (var bi in bl) { this[e](bi, bm, bl[bi], bk) } return this } if (b.isFunction(bm) || bm === false) { bk = bm; bm = I } var bj = e === "one" ? b.proxy(bk, function(bn) { b(this).unbind(bn, bj); return bk.apply(this, arguments) }) : bk; if (bl === "unload" && e !== "one") { this.one(bl, bm, bk) } else { for (var bh = 0, bg = this.length; bh < bg; bh++) { b.event.add(this[bh], bl, bj, bm) } } return this } }); b.fn.extend({ unbind: function(bi, bh) { if (typeof bi === "object" && !bi.preventDefault) { for (var bg in bi) { this.unbind(bg, bi[bg]) } } else { for (var bf = 0, e = this.length; bf < e; bf++) { b.event.remove(this[bf], bi, bh) } } return this }, delegate: function(e, bf, bh, bg) { return this.live(bf, bh, bg, e) }, undelegate: function(e, bf, bg) { if (arguments.length === 0) { return this.unbind("live") } else { return this.die(bf, null, bg, e) } }, trigger: function(e, bf) { return this.each(function() { b.event.trigger(e, bf, this) }) }, triggerHandler: function(e, bg) { if (this[0]) { var bf = b.Event(e); bf.preventDefault(); bf.stopPropagation(); b.event.trigger(bf, bg, this[0]); return bf.result } }, toggle: function(bg) { var e = arguments, bf = 1; while (bf < e.length) { b.proxy(bg, e[bf++]) } return this.click(b.proxy(bg, function(bh) { var bi = (b._data(this, "lastToggle" + bg.guid) || 0) % bf; b._data(this, "lastToggle" + bg.guid, bi + 1); bh.preventDefault(); return e[bi].apply(this, arguments) || false })) }, hover: function(e, bf) { return this.mouseenter(e).mouseleave(bf || e) } }); var aJ = { focus: "focusin", blur: "focusout", mouseenter: "mouseover", mouseleave: "mouseout" }; b.each(["live", "die"], function(bf, e) { b.fn[e] = function(bp, bm, br, bi) { var bq, bn = 0, bo, bh, bt, bk = bi || this.selector, bg = bi ? this : b(this.context); if (typeof bp === "object" && !bp.preventDefault) { for (var bs in bp) { bg[e](bs, bm, bp[bs], bk) } return this } if (b.isFunction(bm)) { br = bm; bm = I } bp = (bp || "").split(" "); while ((bq = bp[bn++]) != null) { bo = aR.exec(bq); bh = ""; if (bo) { bh = bo[0]; bq = bq.replace(aR, "") } if (bq === "hover") { bp.push("mouseenter" + bh, "mouseleave" + bh); continue } bt = bq; if (bq === "focus" || bq === "blur") { bp.push(aJ[bq] + bh); bq = bq + bh } else { bq = (aJ[bq] || bq) + bh } if (e === "live") { for (var bl = 0, bj = bg.length; bl < bj; bl++) { b.event.add(bg[bl], "live." + o(bq, bk), { data: bm, selector: bk, handler: br, origType: bq, origHandler: br, preType: bt }) } } else { bg.unbind("live." + o(bq, bk), br) } } return this } }); function ag(bp) { var bm, bh, bv, bj, e, br, bo, bq, bn, bu, bl, bk, bt, bs = [], bi = [], bf = b._data(this, "events"); if (bp.liveFired === this || !bf || !bf.live || bp.target.disabled || bp.button && bp.type === "click") { return } if (bp.namespace) { bk = new RegExp("(^|\\.)" + bp.namespace.split(".").join("\\.(?:.*\\.)?") + "(\\.|$)") } bp.liveFired = this; var bg = bf.live.slice(0); for (bo = 0; bo < bg.length; bo++) { e = bg[bo]; if (e.origType.replace(aR, "") === bp.type) { bi.push(e.selector) } else { bg.splice(bo--, 1) } } bj = b(bp.target).closest(bi, bp.currentTarget); for (bq = 0, bn = bj.length; bq < bn; bq++) { bl = bj[bq]; for (bo = 0; bo < bg.length; bo++) { e = bg[bo]; if (bl.selector === e.selector && (!bk || bk.test(e.namespace)) && !bl.elem.disabled) { br = bl.elem; bv = null; if (e.preType === "mouseenter" || e.preType === "mouseleave") { bp.type = e.preType; bv = b(bp.relatedTarget).closest(e.selector)[0] } if (!bv || bv !== br) { bs.push({ elem: br, handleObj: e, level: bl.level }) } } } } for (bq = 0, bn = bs.length; bq < bn; bq++) { bj = bs[bq]; if (bh && bj.level > bh) { break } bp.currentTarget = bj.elem; bp.data = bj.handleObj.data; bp.handleObj = bj.handleObj; bt = bj.handleObj.origHandler.apply(bj.elem, arguments); if (bt === false || bp.isPropagationStopped()) { bh = bj.level; if (bt === false) { bm = false } if (bp.isImmediatePropagationStopped()) { break } } } return bm } function o(bf, e) { return (bf && bf !== "*" ? bf + "." : "") + e.replace(L, "`").replace(ab, "&") } b.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(bf, e) { b.fn[e] = function(bh, bg) { if (bg == null) { bg = bh; bh = null } return arguments.length > 0 ? this.bind(e, bh, bg) : this.trigger(e) }; if (b.attrFn) { b.attrFn[e] = true } });
    /*!
    * Sizzle CSS Selector Engine
    *  Copyright 2011, The Dojo Foundation
    *  Released under the MIT, BSD, and GPL Licenses.
    *  More information: http://sizzlejs.com/
    */
    (function() { var bp = /((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g, bq = 0, bt = Object.prototype.toString, bk = false, bj = true, br = /\\/g, bx = /\W/; [0, 0].sort(function() { bj = false; return 0 }); var bh = function(bC, e, bF, bG) { bF = bF || []; e = e || am; var bI = e; if (e.nodeType !== 1 && e.nodeType !== 9) { return [] } if (!bC || typeof bC !== "string") { return bF } var bz, bK, bN, by, bJ, bM, bL, bE, bB = true, bA = bh.isXML(e), bD = [], bH = bC; do { bp.exec(""); bz = bp.exec(bH); if (bz) { bH = bz[3]; bD.push(bz[1]); if (bz[2]) { by = bz[3]; break } } } while (bz); if (bD.length > 1 && bl.exec(bC)) { if (bD.length === 2 && bm.relative[bD[0]]) { bK = bu(bD[0] + bD[1], e) } else { bK = bm.relative[bD[0]] ? [e] : bh(bD.shift(), e); while (bD.length) { bC = bD.shift(); if (bm.relative[bC]) { bC += bD.shift() } bK = bu(bC, bK) } } } else { if (!bG && bD.length > 1 && e.nodeType === 9 && !bA && bm.match.ID.test(bD[0]) && !bm.match.ID.test(bD[bD.length - 1])) { bJ = bh.find(bD.shift(), e, bA); e = bJ.expr ? bh.filter(bJ.expr, bJ.set)[0] : bJ.set[0] } if (e) { bJ = bG ? { expr: bD.pop(), set: bn(bG)} : bh.find(bD.pop(), bD.length === 1 && (bD[0] === "~" || bD[0] === "+") && e.parentNode ? e.parentNode : e, bA); bK = bJ.expr ? bh.filter(bJ.expr, bJ.set) : bJ.set; if (bD.length > 0) { bN = bn(bK) } else { bB = false } while (bD.length) { bM = bD.pop(); bL = bM; if (!bm.relative[bM]) { bM = "" } else { bL = bD.pop() } if (bL == null) { bL = e } bm.relative[bM](bN, bL, bA) } } else { bN = bD = [] } } if (!bN) { bN = bK } if (!bN) { bh.error(bM || bC) } if (bt.call(bN) === "[object Array]") { if (!bB) { bF.push.apply(bF, bN) } else { if (e && e.nodeType === 1) { for (bE = 0; bN[bE] != null; bE++) { if (bN[bE] && (bN[bE] === true || bN[bE].nodeType === 1 && bh.contains(e, bN[bE]))) { bF.push(bK[bE]) } } } else { for (bE = 0; bN[bE] != null; bE++) { if (bN[bE] && bN[bE].nodeType === 1) { bF.push(bK[bE]) } } } } } else { bn(bN, bF) } if (by) { bh(by, bI, bF, bG); bh.uniqueSort(bF) } return bF }; bh.uniqueSort = function(by) { if (bs) { bk = bj; by.sort(bs); if (bk) { for (var e = 1; e < by.length; e++) { if (by[e] === by[e - 1]) { by.splice(e--, 1) } } } } return by }; bh.matches = function(e, by) { return bh(e, null, null, by) }; bh.matchesSelector = function(e, by) { return bh(by, null, null, [e]).length > 0 }; bh.find = function(bE, e, bF) { var bD; if (!bE) { return [] } for (var bA = 0, bz = bm.order.length; bA < bz; bA++) { var bB, bC = bm.order[bA]; if ((bB = bm.leftMatch[bC].exec(bE))) { var by = bB[1]; bB.splice(1, 1); if (by.substr(by.length - 1) !== "\\") { bB[1] = (bB[1] || "").replace(br, ""); bD = bm.find[bC](bB, e, bF); if (bD != null) { bE = bE.replace(bm.match[bC], ""); break } } } } if (!bD) { bD = typeof e.getElementsByTagName !== "undefined" ? e.getElementsByTagName("*") : [] } return { set: bD, expr: bE} }; bh.filter = function(bI, bH, bL, bB) { var bD, e, bz = bI, bN = [], bF = bH, bE = bH && bH[0] && bh.isXML(bH[0]); while (bI && bH.length) { for (var bG in bm.filter) { if ((bD = bm.leftMatch[bG].exec(bI)) != null && bD[2]) { var bM, bK, by = bm.filter[bG], bA = bD[1]; e = false; bD.splice(1, 1); if (bA.substr(bA.length - 1) === "\\") { continue } if (bF === bN) { bN = [] } if (bm.preFilter[bG]) { bD = bm.preFilter[bG](bD, bF, bL, bN, bB, bE); if (!bD) { e = bM = true } else { if (bD === true) { continue } } } if (bD) { for (var bC = 0; (bK = bF[bC]) != null; bC++) { if (bK) { bM = by(bK, bD, bC, bF); var bJ = bB ^ !!bM; if (bL && bM != null) { if (bJ) { e = true } else { bF[bC] = false } } else { if (bJ) { bN.push(bK); e = true } } } } } if (bM !== I) { if (!bL) { bF = bN } bI = bI.replace(bm.match[bG], ""); if (!e) { return [] } break } } } if (bI === bz) { if (e == null) { bh.error(bI) } else { break } } bz = bI } return bF }; bh.error = function(e) { throw "Syntax error, unrecognized expression: " + e }; var bm = bh.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|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/, TAG: /^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/, CHILD: /:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/, POS: /:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/, PSEUDO: /:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/ }, leftMatch: {}, attrMap: { "class": "className", "for": "htmlFor" }, attrHandle: { href: function(e) { return e.getAttribute("href") }, type: function(e) { return e.getAttribute("type") } }, relative: { "+": function(bD, by) { var bA = typeof by === "string", bC = bA && !bx.test(by), bE = bA && !bC; if (bC) { by = by.toLowerCase() } for (var bz = 0, e = bD.length, bB; bz < e; bz++) { if ((bB = bD[bz])) { while ((bB = bB.previousSibling) && bB.nodeType !== 1) { } bD[bz] = bE || bB && bB.nodeName.toLowerCase() === by ? bB || false : bB === by } } if (bE) { bh.filter(by, bD, true) } }, ">": function(bD, by) { var bC, bB = typeof by === "string", bz = 0, e = bD.length; if (bB && !bx.test(by)) { by = by.toLowerCase(); for (; bz < e; bz++) { bC = bD[bz]; if (bC) { var bA = bC.parentNode; bD[bz] = bA.nodeName.toLowerCase() === by ? bA : false } } } else { for (; bz < e; bz++) { bC = bD[bz]; if (bC) { bD[bz] = bB ? bC.parentNode : bC.parentNode === by } } if (bB) { bh.filter(by, bD, true) } } }, "": function(bA, by, bC) { var bB, bz = bq++, e = bv; if (typeof by === "string" && !bx.test(by)) { by = by.toLowerCase(); bB = by; e = bf } e("parentNode", by, bz, bA, bB, bC) }, "~": function(bA, by, bC) { var bB, bz = bq++, e = bv; if (typeof by === "string" && !bx.test(by)) { by = by.toLowerCase(); bB = by; e = bf } e("previousSibling", by, bz, bA, bB, bC) } }, find: { ID: function(by, bz, bA) { if (typeof bz.getElementById !== "undefined" && !bA) { var e = bz.getElementById(by[1]); return e && e.parentNode ? [e] : [] } }, NAME: function(bz, bC) { if (typeof bC.getElementsByName !== "undefined") { var by = [], bB = bC.getElementsByName(bz[1]); for (var bA = 0, e = bB.length; bA < e; bA++) { if (bB[bA].getAttribute("name") === bz[1]) { by.push(bB[bA]) } } return by.length === 0 ? null : by } }, TAG: function(e, by) { if (typeof by.getElementsByTagName !== "undefined") { return by.getElementsByTagName(e[1]) } } }, preFilter: { CLASS: function(bA, by, bz, e, bD, bE) { bA = " " + bA[1].replace(br, "") + " "; if (bE) { return bA } for (var bB = 0, bC; (bC = by[bB]) != null; bB++) { if (bC) { if (bD ^ (bC.className && (" " + bC.className + " ").replace(/[\t\n\r]/g, " ").indexOf(bA) >= 0)) { if (!bz) { e.push(bC) } } else { if (bz) { by[bB] = false } } } } return false }, ID: function(e) { return e[1].replace(br, "") }, TAG: function(by, e) { return by[1].replace(br, "").toLowerCase() }, CHILD: function(e) { if (e[1] === "nth") { if (!e[2]) { bh.error(e[0]) } e[2] = e[2].replace(/^\+|\s*/g, ""); var by = /(-?)(\d*)(?:n([+\-]?\d*))?/.exec(e[2] === "even" && "2n" || e[2] === "odd" && "2n+1" || !/\D/.test(e[2]) && "0n+" + e[2] || e[2]); e[2] = (by[1] + (by[2] || 1)) - 0; e[3] = by[3] - 0 } else { if (e[2]) { bh.error(e[0]) } } e[0] = bq++; return e }, ATTR: function(bB, by, bz, e, bC, bD) { var bA = bB[1] = bB[1].replace(br, ""); if (!bD && bm.attrMap[bA]) { bB[1] = bm.attrMap[bA] } bB[4] = (bB[4] || bB[5] || "").replace(br, ""); if (bB[2] === "~=") { bB[4] = " " + bB[4] + " " } return bB }, PSEUDO: function(bB, by, bz, e, bC) { if (bB[1] === "not") { if ((bp.exec(bB[3]) || "").length > 1 || /^\w/.test(bB[3])) { bB[3] = bh(bB[3], null, null, by) } else { var bA = bh.filter(bB[3], by, bz, true ^ bC); if (!bz) { e.push.apply(e, bA) } return false } } else { if (bm.match.POS.test(bB[0]) || bm.match.CHILD.test(bB[0])) { return true } } return bB }, POS: function(e) { e.unshift(true); return e } }, filters: { enabled: function(e) { return e.disabled === false && e.type !== "hidden" }, disabled: function(e) { return e.disabled === true }, checked: function(e) { return e.checked === true }, selected: function(e) { if (e.parentNode) { e.parentNode.selectedIndex } return e.selected === true }, parent: function(e) { return !!e.firstChild }, empty: function(e) { return !e.firstChild }, has: function(bz, by, e) { return !!bh(e[3], bz).length }, header: function(e) { return (/h\d/i).test(e.nodeName) }, text: function(bz) { var e = bz.getAttribute("type"), by = bz.type; return "text" === by && (e === by || e === null) }, radio: function(e) { return "radio" === e.type }, checkbox: function(e) { return "checkbox" === e.type }, file: function(e) { return "file" === e.type }, password: function(e) { return "password" === e.type }, submit: function(e) { return "submit" === e.type }, image: function(e) { return "image" === e.type }, reset: function(e) { return "reset" === e.type }, button: function(e) { return "button" === e.type || e.nodeName.toLowerCase() === "button" }, input: function(e) { return (/input|select|textarea|button/i).test(e.nodeName) } }, setFilters: { first: function(by, e) { return e === 0 }, last: function(bz, by, e, bA) { return by === bA.length - 1 }, even: function(by, e) { return e % 2 === 0 }, odd: function(by, e) { return e % 2 === 1 }, lt: function(bz, by, e) { return by < e[3] - 0 }, gt: function(bz, by, e) { return by > e[3] - 0 }, nth: function(bz, by, e) { return e[3] - 0 === by }, eq: function(bz, by, e) { return e[3] - 0 === by } }, filter: { PSEUDO: function(bz, bE, bD, bF) { var e = bE[1], by = bm.filters[e]; if (by) { return by(bz, bD, bE, bF) } else { if (e === "contains") { return (bz.textContent || bz.innerText || bh.getText([bz]) || "").indexOf(bE[3]) >= 0 } else { if (e === "not") { var bA = bE[3]; for (var bC = 0, bB = bA.length; bC < bB; bC++) { if (bA[bC] === bz) { return false } } return true } else { bh.error(e) } } } }, CHILD: function(e, bA) { var bD = bA[1], by = e; switch (bD) { case "only": case "first": while ((by = by.previousSibling)) { if (by.nodeType === 1) { return false } } if (bD === "first") { return true } by = e; case "last": while ((by = by.nextSibling)) { if (by.nodeType === 1) { return false } } return true; case "nth": var bz = bA[2], bG = bA[3]; if (bz === 1 && bG === 0) { return true } var bC = bA[0], bF = e.parentNode; if (bF && (bF.sizcache !== bC || !e.nodeIndex)) { var bB = 0; for (by = bF.firstChild; by; by = by.nextSibling) { if (by.nodeType === 1) { by.nodeIndex = ++bB } } bF.sizcache = bC } var bE = e.nodeIndex - bG; if (bz === 0) { return bE === 0 } else { return (bE % bz === 0 && bE / bz >= 0) } } }, ID: function(by, e) { return by.nodeType === 1 && by.getAttribute("id") === e }, TAG: function(by, e) { return (e === "*" && by.nodeType === 1) || by.nodeName.toLowerCase() === e }, CLASS: function(by, e) { return (" " + (by.className || by.getAttribute("class")) + " ").indexOf(e) > -1 }, ATTR: function(bC, bA) { var bz = bA[1], e = bm.attrHandle[bz] ? bm.attrHandle[bz](bC) : bC[bz] != null ? bC[bz] : bC.getAttribute(bz), bD = e + "", bB = bA[2], by = bA[4]; return e == null ? bB === "!=" : bB === "=" ? bD === by : bB === "*=" ? bD.indexOf(by) >= 0 : bB === "~=" ? (" " + bD + " ").indexOf(by) >= 0 : !by ? bD && e !== false : bB === "!=" ? bD !== by : bB === "^=" ? bD.indexOf(by) === 0 : bB === "$=" ? bD.substr(bD.length - by.length) === by : bB === "|=" ? bD === by || bD.substr(0, by.length + 1) === by + "-" : false }, POS: function(bB, by, bz, bC) { var e = by[2], bA = bm.setFilters[e]; if (bA) { return bA(bB, bz, by, bC) } } } }; var bl = bm.match.POS, bg = function(by, e) { return "\\" + (e - 0 + 1) }; for (var bi in bm.match) { bm.match[bi] = new RegExp(bm.match[bi].source + (/(?![^\[]*\])(?![^\(]*\))/.source)); bm.leftMatch[bi] = new RegExp(/(^(?:.|\r|\n)*?)/.source + bm.match[bi].source.replace(/\\(\d+)/g, bg)) } var bn = function(by, e) { by = Array.prototype.slice.call(by, 0); if (e) { e.push.apply(e, by); return e } return by }; try { Array.prototype.slice.call(am.documentElement.childNodes, 0)[0].nodeType } catch (bw) { bn = function(bB, bA) { var bz = 0, by = bA || []; if (bt.call(bB) === "[object Array]") { Array.prototype.push.apply(by, bB) } else { if (typeof bB.length === "number") { for (var e = bB.length; bz < e; bz++) { by.push(bB[bz]) } } else { for (; bB[bz]; bz++) { by.push(bB[bz]) } } } return by } } var bs, bo; if (am.documentElement.compareDocumentPosition) { bs = function(by, e) { if (by === e) { bk = true; return 0 } if (!by.compareDocumentPosition || !e.compareDocumentPosition) { return by.compareDocumentPosition ? -1 : 1 } return by.compareDocumentPosition(e) & 4 ? -1 : 1 } } else { bs = function(bF, bE) { var bC, by, bz = [], e = [], bB = bF.parentNode, bD = bE.parentNode, bG = bB; if (bF === bE) { bk = true; return 0 } else { if (bB === bD) { return bo(bF, bE) } else { if (!bB) { return -1 } else { if (!bD) { return 1 } } } } while (bG) { bz.unshift(bG); bG = bG.parentNode } bG = bD; while (bG) { e.unshift(bG); bG = bG.parentNode } bC = bz.length; by = e.length; for (var bA = 0; bA < bC && bA < by; bA++) { if (bz[bA] !== e[bA]) { return bo(bz[bA], e[bA]) } } return bA === bC ? bo(bF, e[bA], -1) : bo(bz[bA], bE, 1) }; bo = function(by, e, bz) { if (by === e) { return bz } var bA = by.nextSibling; while (bA) { if (bA === e) { return -1 } bA = bA.nextSibling } return 1 } } bh.getText = function(e) { var by = "", bA; for (var bz = 0; e[bz]; bz++) { bA = e[bz]; if (bA.nodeType === 3 || bA.nodeType === 4) { by += bA.nodeValue } else { if (bA.nodeType !== 8) { by += bh.getText(bA.childNodes) } } } return by }; (function() { var by = am.createElement("div"), bz = "script" + (new Date()).getTime(), e = am.documentElement; by.innerHTML = "<a name='" + bz + "'/>"; e.insertBefore(by, e.firstChild); if (am.getElementById(bz)) { bm.find.ID = function(bB, bC, bD) { if (typeof bC.getElementById !== "undefined" && !bD) { var bA = bC.getElementById(bB[1]); return bA ? bA.id === bB[1] || typeof bA.getAttributeNode !== "undefined" && bA.getAttributeNode("id").nodeValue === bB[1] ? [bA] : I : [] } }; bm.filter.ID = function(bC, bA) { var bB = typeof bC.getAttributeNode !== "undefined" && bC.getAttributeNode("id"); return bC.nodeType === 1 && bB && bB.nodeValue === bA } } e.removeChild(by); e = by = null })(); (function() { var e = am.createElement("div"); e.appendChild(am.createComment("")); if (e.getElementsByTagName("*").length > 0) { bm.find.TAG = function(by, bC) { var bB = bC.getElementsByTagName(by[1]); if (by[1] === "*") { var bA = []; for (var bz = 0; bB[bz]; bz++) { if (bB[bz].nodeType === 1) { bA.push(bB[bz]) } } bB = bA } return bB } } e.innerHTML = "<a href='#'></a>"; if (e.firstChild && typeof e.firstChild.getAttribute !== "undefined" && e.firstChild.getAttribute("href") !== "#") { bm.attrHandle.href = function(by) { return by.getAttribute("href", 2) } } e = null })(); if (am.querySelectorAll) { (function() { var e = bh, bA = am.createElement("div"), bz = "__sizzle__"; bA.innerHTML = "<p class='TEST'></p>"; if (bA.querySelectorAll && bA.querySelectorAll(".TEST").length === 0) { return } bh = function(bL, bC, bG, bK) { bC = bC || am; if (!bK && !bh.isXML(bC)) { var bJ = /^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(bL); if (bJ && (bC.nodeType === 1 || bC.nodeType === 9)) { if (bJ[1]) { return bn(bC.getElementsByTagName(bL), bG) } else { if (bJ[2] && bm.find.CLASS && bC.getElementsByClassName) { return bn(bC.getElementsByClassName(bJ[2]), bG) } } } if (bC.nodeType === 9) { if (bL === "body" && bC.body) { return bn([bC.body], bG) } else { if (bJ && bJ[3]) { var bF = bC.getElementById(bJ[3]); if (bF && bF.parentNode) { if (bF.id === bJ[3]) { return bn([bF], bG) } } else { return bn([], bG) } } } try { return bn(bC.querySelectorAll(bL), bG) } catch (bH) { } } else { if (bC.nodeType === 1 && bC.nodeName.toLowerCase() !== "object") { var bD = bC, bE = bC.getAttribute("id"), bB = bE || bz, bN = bC.parentNode, bM = /^\s*[+~]/.test(bL); if (!bE) { bC.setAttribute("id", bB) } else { bB = bB.replace(/'/g, "\\$&") } if (bM && bN) { bC = bC.parentNode } try { if (!bM || bN) { return bn(bC.querySelectorAll("[id='" + bB + "'] " + bL), bG) } } catch (bI) { } finally { if (!bE) { bD.removeAttribute("id") } } } } } return e(bL, bC, bG, bK) }; for (var by in e) { bh[by] = e[by] } bA = null })() } (function() { var e = am.documentElement, bz = e.matchesSelector || e.mozMatchesSelector || e.webkitMatchesSelector || e.msMatchesSelector; if (bz) { var bB = !bz.call(am.createElement("div"), "div"), by = false; try { bz.call(am.documentElement, "[test!='']:sizzle") } catch (bA) { by = true } bh.matchesSelector = function(bD, bF) { bF = bF.replace(/\=\s*([^'"\]]*)\s*\]/g, "='$1']"); if (!bh.isXML(bD)) { try { if (by || !bm.match.PSEUDO.test(bF) && !/!=/.test(bF)) { var bC = bz.call(bD, bF); if (bC || !bB || bD.document && bD.document.nodeType !== 11) { return bC } } } catch (bE) { } } return bh(bF, null, null, [bD]).length > 0 } } })(); (function() { var e = am.createElement("div"); e.innerHTML = "<div class='test e'></div><div class='test'></div>"; if (!e.getElementsByClassName || e.getElementsByClassName("e").length === 0) { return } e.lastChild.className = "e"; if (e.getElementsByClassName("e").length === 1) { return } bm.order.splice(1, 0, "CLASS"); bm.find.CLASS = function(by, bz, bA) { if (typeof bz.getElementsByClassName !== "undefined" && !bA) { return bz.getElementsByClassName(by[1]) } }; e = null })(); function bf(by, bD, bC, bG, bE, bF) { for (var bA = 0, bz = bG.length; bA < bz; bA++) { var e = bG[bA]; if (e) { var bB = false; e = e[by]; while (e) { if (e.sizcache === bC) { bB = bG[e.sizset]; break } if (e.nodeType === 1 && !bF) { e.sizcache = bC; e.sizset = bA } if (e.nodeName.toLowerCase() === bD) { bB = e; break } e = e[by] } bG[bA] = bB } } } function bv(by, bD, bC, bG, bE, bF) { for (var bA = 0, bz = bG.length; bA < bz; bA++) { var e = bG[bA]; if (e) { var bB = false; e = e[by]; while (e) { if (e.sizcache === bC) { bB = bG[e.sizset]; break } if (e.nodeType === 1) { if (!bF) { e.sizcache = bC; e.sizset = bA } if (typeof bD !== "string") { if (e === bD) { bB = true; break } } else { if (bh.filter(bD, [e]).length > 0) { bB = e; break } } } e = e[by] } bG[bA] = bB } } } if (am.documentElement.contains) { bh.contains = function(by, e) { return by !== e && (by.contains ? by.contains(e) : true) } } else { if (am.documentElement.compareDocumentPosition) { bh.contains = function(by, e) { return !!(by.compareDocumentPosition(e) & 16) } } else { bh.contains = function() { return false } } } bh.isXML = function(e) { var by = (e ? e.ownerDocument || e : 0).documentElement; return by ? by.nodeName !== "HTML" : false }; var bu = function(e, bE) { var bC, bA = [], bB = "", bz = bE.nodeType ? [bE] : bE; while ((bC = bm.match.PSEUDO.exec(e))) { bB += bC[0]; e = e.replace(bm.match.PSEUDO, "") } e = bm.relative[e] ? e + "*" : e; for (var bD = 0, by = bz.length; bD < by; bD++) { bh(e, bz[bD], bA) } return bh.filter(bB, bA) }; b.find = bh; b.expr = bh.selectors; b.expr[":"] = b.expr.filters; b.unique = bh.uniqueSort; b.text = bh.getText; b.isXMLDoc = bh.isXML; b.contains = bh.contains })(); var X = /Until$/, aj = /^(?:parents|prevUntil|prevAll)/, aY = /,/, bb = /^.[^:#\[\.,]*$/, N = Array.prototype.slice, G = b.expr.match.POS, ap = { children: true, contents: true, next: true, prev: true }; b.fn.extend({ find: function(e) { var bg = this.pushStack("", "find", e), bj = 0; for (var bh = 0, bf = this.length; bh < bf; bh++) { bj = bg.length; b.find(e, this[bh], bg); if (bh > 0) { for (var bk = bj; bk < bg.length; bk++) { for (var bi = 0; bi < bj; bi++) { if (bg[bi] === bg[bk]) { bg.splice(bk--, 1); break } } } } } return bg }, has: function(bf) { var e = b(bf); return this.filter(function() { for (var bh = 0, bg = e.length; bh < bg; bh++) { if (b.contains(this, e[bh])) { return true } } }) }, not: function(e) { return this.pushStack(aw(this, e, false), "not", e) }, filter: function(e) { return this.pushStack(aw(this, e, true), "filter", e) }, is: function(e) { return !!e && b.filter(e, this).length > 0 }, closest: function(bo, bf) { var bl = [], bi, bg, bn = this[0]; if (b.isArray(bo)) { var bk, bh, bj = {}, e = 1; if (bn && bo.length) { for (bi = 0, bg = bo.length; bi < bg; bi++) { bh = bo[bi]; if (!bj[bh]) { bj[bh] = b.expr.match.POS.test(bh) ? b(bh, bf || this.context) : bh } } while (bn && bn.ownerDocument && bn !== bf) { for (bh in bj) { bk = bj[bh]; if (bk.jquery ? bk.index(bn) > -1 : b(bn).is(bk)) { bl.push({ selector: bh, elem: bn, level: e }) } } bn = bn.parentNode; e++ } } return bl } var bm = G.test(bo) ? b(bo, bf || this.context) : null; for (bi = 0, bg = this.length; bi < bg; bi++) { bn = this[bi]; while (bn) { if (bm ? bm.index(bn) > -1 : b.find.matchesSelector(bn, bo)) { bl.push(bn); break } else { bn = bn.parentNode; if (!bn || !bn.ownerDocument || bn === bf) { break } } } } bl = bl.length > 1 ? b.unique(bl) : bl; return this.pushStack(bl, "closest", bo) }, index: function(e) { if (!e || typeof e === "string") { return b.inArray(this[0], e ? b(e) : this.parent().children()) } return b.inArray(e.jquery ? e[0] : e, this) }, add: function(e, bf) { var bh = typeof e === "string" ? b(e, bf) : b.makeArray(e), bg = b.merge(this.get(), bh); return this.pushStack(C(bh[0]) || C(bg[0]) ? bg : b.unique(bg)) }, andSelf: function() { return this.add(this.prevObject) } }); function C(e) { return !e || !e.parentNode || e.parentNode.nodeType === 11 } b.each({ parent: function(bf) { var e = bf.parentNode; return e && e.nodeType !== 11 ? e : null }, parents: function(e) { return b.dir(e, "parentNode") }, parentsUntil: function(bf, e, bg) { return b.dir(bf, "parentNode", bg) }, next: function(e) { return b.nth(e, 2, "nextSibling") }, prev: function(e) { return b.nth(e, 2, "previousSibling") }, nextAll: function(e) { return b.dir(e, "nextSibling") }, prevAll: function(e) { return b.dir(e, "previousSibling") }, nextUntil: function(bf, e, bg) { return b.dir(bf, "nextSibling", bg) }, prevUntil: function(bf, e, bg) { return b.dir(bf, "previousSibling", bg) }, siblings: function(e) { return b.sibling(e.parentNode.firstChild, e) }, children: function(e) { return b.sibling(e.firstChild) }, contents: function(e) { return b.nodeName(e, "iframe") ? e.contentDocument || e.contentWindow.document : b.makeArray(e.childNodes) } }, function(e, bf) { b.fn[e] = function(bj, bg) { var bi = b.map(this, bf, bj), bh = N.call(arguments); if (!X.test(e)) { bg = bj } if (bg && typeof bg === "string") { bi = b.filter(bg, bi) } bi = this.length > 1 && !ap[e] ? b.unique(bi) : bi; if ((this.length > 1 || aY.test(bg)) && aj.test(e)) { bi = bi.reverse() } return this.pushStack(bi, e, bh.join(",")) } }); b.extend({ filter: function(bg, e, bf) { if (bf) { bg = ":not(" + bg + ")" } return e.length === 1 ? b.find.matchesSelector(e[0], bg) ? [e[0]] : [] : b.find.matches(bg, e) }, dir: function(bg, bf, bi) { var e = [], bh = bg[bf]; while (bh && bh.nodeType !== 9 && (bi === I || bh.nodeType !== 1 || !b(bh).is(bi))) { if (bh.nodeType === 1) { e.push(bh) } bh = bh[bf] } return e }, nth: function(bi, e, bg, bh) { e = e || 1; var bf = 0; for (; bi; bi = bi[bg]) { if (bi.nodeType === 1 && ++bf === e) { break } } return bi }, sibling: function(bg, bf) { var e = []; for (; bg; bg = bg.nextSibling) { if (bg.nodeType === 1 && bg !== bf) { e.push(bg) } } return e } }); function aw(bh, bg, e) { if (b.isFunction(bg)) { return b.grep(bh, function(bj, bi) { var bk = !!bg.call(bj, bi, bj); return bk === e }) } else { if (bg.nodeType) { return b.grep(bh, function(bj, bi) { return (bj === bg) === e }) } else { if (typeof bg === "string") { var bf = b.grep(bh, function(bi) { return bi.nodeType === 1 }); if (bb.test(bg)) { return b.filter(bg, bf, !e) } else { bg = b.filter(bg, bf) } } } } return b.grep(bh, function(bj, bi) { return (b.inArray(bj, bg) >= 0) === e }) } var ac = / jQuery\d+="(?:\d+|null)"/g, ak = /^\s+/, P = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig, d = /<([\w:]+)/, w = /<tbody/i, U = /<|&#?\w+;/, M = /<(?:script|object|embed|option|style)/i, n = /checked\s*(?:[^=]|=\s*.checked.)/i, ao = { 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, "", ""] }; ao.optgroup = ao.option; ao.tbody = ao.tfoot = ao.colgroup = ao.caption = ao.thead; ao.th = ao.td; if (!b.support.htmlSerialize) { ao._default = [1, "div<div>", "</div>"] } b.fn.extend({ text: function(e) { if (b.isFunction(e)) { return this.each(function(bg) { var bf = b(this); bf.text(e.call(this, bg, bf.text())) }) } if (typeof e !== "object" && e !== I) { return this.empty().append((this[0] && this[0].ownerDocument || am).createTextNode(e)) } return b.text(this) }, wrapAll: function(e) { if (b.isFunction(e)) { return this.each(function(bg) { b(this).wrapAll(e.call(this, bg)) }) } if (this[0]) { var bf = b(e, this[0].ownerDocument).eq(0).clone(true); if (this[0].parentNode) { bf.insertBefore(this[0]) } bf.map(function() { var bg = this; while (bg.firstChild && bg.firstChild.nodeType === 1) { bg = bg.firstChild } return bg }).append(this) } return this }, wrapInner: function(e) { if (b.isFunction(e)) { return this.each(function(bf) { b(this).wrapInner(e.call(this, bf)) }) } return this.each(function() { var bf = b(this), bg = bf.contents(); if (bg.length) { bg.wrapAll(e) } else { bf.append(e) } }) }, wrap: function(e) { return this.each(function() { b(this).wrapAll(e) }) }, unwrap: function() { return this.parent().each(function() { if (!b.nodeName(this, "body")) { b(this).replaceWith(this.childNodes) } }).end() }, append: function() { return this.domManip(arguments, true, function(e) { if (this.nodeType === 1) { this.appendChild(e) } }) }, prepend: function() { return this.domManip(arguments, true, function(e) { if (this.nodeType === 1) { this.insertBefore(e, this.firstChild) } }) }, before: function() { if (this[0] && this[0].parentNode) { return this.domManip(arguments, false, function(bf) { this.parentNode.insertBefore(bf, this) }) } else { if (arguments.length) { var e = b(arguments[0]); e.push.apply(e, this.toArray()); return this.pushStack(e, "before", arguments) } } }, after: function() { if (this[0] && this[0].parentNode) { return this.domManip(arguments, false, function(bf) { this.parentNode.insertBefore(bf, this.nextSibling) }) } else { if (arguments.length) { var e = this.pushStack(this, "after", arguments); e.push.apply(e, b(arguments[0]).toArray()); return e } } }, remove: function(e, bh) { for (var bf = 0, bg; (bg = this[bf]) != null; bf++) { if (!e || b.filter(e, [bg]).length) { if (!bh && bg.nodeType === 1) { b.cleanData(bg.getElementsByTagName("*")); b.cleanData([bg]) } if (bg.parentNode) { bg.parentNode.removeChild(bg) } } } return this }, empty: function() { for (var e = 0, bf; (bf = this[e]) != null; e++) { if (bf.nodeType === 1) { b.cleanData(bf.getElementsByTagName("*")) } while (bf.firstChild) { bf.removeChild(bf.firstChild) } } return this }, clone: function(bf, e) { bf = bf == null ? false : bf; e = e == null ? bf : e; return this.map(function() { return b.clone(this, bf, e) }) }, html: function(bh) { if (bh === I) { return this[0] && this[0].nodeType === 1 ? this[0].innerHTML.replace(ac, "") : null } else { if (typeof bh === "string" && !M.test(bh) && (b.support.leadingWhitespace || !ak.test(bh)) && !ao[(d.exec(bh) || ["", ""])[1].toLowerCase()]) { bh = bh.replace(P, "<$1></$2>"); try { for (var bg = 0, bf = this.length; bg < bf; bg++) { if (this[bg].nodeType === 1) { b.cleanData(this[bg].getElementsByTagName("*")); this[bg].innerHTML = bh } } } catch (bi) { this.empty().append(bh) } } else { if (b.isFunction(bh)) { this.each(function(bj) { var e = b(this); e.html(bh.call(this, bj, e.html())) }) } else { this.empty().append(bh) } } } return this }, replaceWith: function(e) { if (this[0] && this[0].parentNode) { if (b.isFunction(e)) { return this.each(function(bh) { var bg = b(this), bf = bg.html(); bg.replaceWith(e.call(this, bh, bf)) }) } if (typeof e !== "string") { e = b(e).detach() } return this.each(function() { var bg = this.nextSibling, bf = this.parentNode; b(this).remove(); if (bg) { b(bg).before(e) } else { b(bf).append(e) } }) } else { return this.length ? this.pushStack(b(b.isFunction(e) ? e() : e), "replaceWith", e) : this } }, detach: function(e) { return this.remove(e, true) }, domManip: function(bl, bp, bo) { var bh, bi, bk, bn, bm = bl[0], bf = []; if (!b.support.checkClone && arguments.length === 3 && typeof bm === "string" && n.test(bm)) { return this.each(function() { b(this).domManip(bl, bp, bo, true) }) } if (b.isFunction(bm)) { return this.each(function(br) { var bq = b(this); bl[0] = bm.call(this, br, bp ? bq.html() : I); bq.domManip(bl, bp, bo) }) } if (this[0]) { bn = bm && bm.parentNode; if (b.support.parentNode && bn && bn.nodeType === 11 && bn.childNodes.length === this.length) { bh = { fragment: bn} } else { bh = b.buildFragment(bl, this, bf) } bk = bh.fragment; if (bk.childNodes.length === 1) { bi = bk = bk.firstChild } else { bi = bk.firstChild } if (bi) { bp = bp && b.nodeName(bi, "tr"); for (var bg = 0, e = this.length, bj = e - 1; bg < e; bg++) { bo.call(bp ? aZ(this[bg], bi) : this[bg], bh.cacheable || (e > 1 && bg < bj) ? b.clone(bk, true, true) : bk) } } if (bf.length) { b.each(bf, ba) } } return this } }); function aZ(e, bf) { return b.nodeName(e, "table") ? (e.getElementsByTagName("tbody")[0] || e.appendChild(e.ownerDocument.createElement("tbody"))) : e } function t(e, bl) { if (bl.nodeType !== 1 || !b.hasData(e)) { return } var bk = b.expando, bh = b.data(e), bi = b.data(bl, bh); if ((bh = bh[bk])) { var bm = bh.events; bi = bi[bk] = b.extend({}, bh); if (bm) { delete bi.handle; bi.events = {}; for (var bj in bm) { for (var bg = 0, bf = bm[bj].length; bg < bf; bg++) { b.event.add(bl, bj + (bm[bj][bg].namespace ? "." : "") + bm[bj][bg].namespace, bm[bj][bg], bm[bj][bg].data) } } } } } function ad(bf, e) { if (e.nodeType !== 1) { return } var bg = e.nodeName.toLowerCase(); e.clearAttributes(); e.mergeAttributes(bf); if (bg === "object") { e.outerHTML = bf.outerHTML } else { if (bg === "input" && (bf.type === "checkbox" || bf.type === "radio")) { if (bf.checked) { e.defaultChecked = e.checked = bf.checked } if (e.value !== bf.value) { e.value = bf.value } } else { if (bg === "option") { e.selected = bf.defaultSelected } else { if (bg === "input" || bg === "textarea") { e.defaultValue = bf.defaultValue } } } } e.removeAttribute(b.expando) } b.buildFragment = function(bj, bh, bf) { var bi, e, bg, bk = (bh && bh[0] ? bh[0].ownerDocument || bh[0] : am); if (bj.length === 1 && typeof bj[0] === "string" && bj[0].length < 512 && bk === am && bj[0].charAt(0) === "<" && !M.test(bj[0]) && (b.support.checkClone || !n.test(bj[0]))) { e = true; bg = b.fragments[bj[0]]; if (bg) { if (bg !== 1) { bi = bg } } } if (!bi) { bi = bk.createDocumentFragment(); b.clean(bj, bk, bi, bf) } if (e) { b.fragments[bj[0]] = bg ? bi : 1 } return { fragment: bi, cacheable: e} }; b.fragments = {}; b.each({ appendTo: "append", prependTo: "prepend", insertBefore: "before", insertAfter: "after", replaceAll: "replaceWith" }, function(e, bf) { b.fn[e] = function(bg) { var bj = [], bm = b(bg), bl = this.length === 1 && this[0].parentNode; if (bl && bl.nodeType === 11 && bl.childNodes.length === 1 && bm.length === 1) { bm[bf](this[0]); return this } else { for (var bk = 0, bh = bm.length; bk < bh; bk++) { var bi = (bk > 0 ? this.clone(true) : this).get(); b(bm[bk])[bf](bi); bj = bj.concat(bi) } return this.pushStack(bj, e, bm.selector) } } }); function a3(e) { if ("getElementsByTagName" in e) { return e.getElementsByTagName("*") } else { if ("querySelectorAll" in e) { return e.querySelectorAll("*") } else { return [] } } } b.extend({ clone: function(bi, bk, bg) { var bj = bi.cloneNode(true), e, bf, bh; if ((!b.support.noCloneEvent || !b.support.noCloneChecked) && (bi.nodeType === 1 || bi.nodeType === 11) && !b.isXMLDoc(bi)) { ad(bi, bj); e = a3(bi); bf = a3(bj); for (bh = 0; e[bh]; ++bh) { ad(e[bh], bf[bh]) } } if (bk) { t(bi, bj); if (bg) { e = a3(bi); bf = a3(bj); for (bh = 0; e[bh]; ++bh) { t(e[bh], bf[bh]) } } } return bj }, clean: function(bg, bi, bp, bk) { bi = bi || am; if (typeof bi.createElement === "undefined") { bi = bi.ownerDocument || bi[0] && bi[0].ownerDocument || am } var bq = []; for (var bo = 0, bj; (bj = bg[bo]) != null; bo++) { if (typeof bj === "number") { bj += "" } if (!bj) { continue } if (typeof bj === "string" && !U.test(bj)) { bj = bi.createTextNode(bj) } else { if (typeof bj === "string") { bj = bj.replace(P, "<$1></$2>"); var br = (d.exec(bj) || ["", ""])[1].toLowerCase(), bh = ao[br] || ao._default, bn = bh[0], bf = bi.createElement("div"); bf.innerHTML = bh[1] + bj + bh[2]; while (bn--) { bf = bf.lastChild } if (!b.support.tbody) { var e = w.test(bj), bm = br === "table" && !e ? bf.firstChild && bf.firstChild.childNodes : bh[1] === "<table>" && !e ? bf.childNodes : []; for (var bl = bm.length - 1; bl >= 0; --bl) { if (b.nodeName(bm[bl], "tbody") && !bm[bl].childNodes.length) { bm[bl].parentNode.removeChild(bm[bl]) } } } if (!b.support.leadingWhitespace && ak.test(bj)) { bf.insertBefore(bi.createTextNode(ak.exec(bj)[0]), bf.firstChild) } bj = bf.childNodes } } if (bj.nodeType) { bq.push(bj) } else { bq = b.merge(bq, bj) } } if (bp) { for (bo = 0; bq[bo]; bo++) { if (bk && b.nodeName(bq[bo], "script") && (!bq[bo].type || bq[bo].type.toLowerCase() === "text/javascript")) { bk.push(bq[bo].parentNode ? bq[bo].parentNode.removeChild(bq[bo]) : bq[bo]) } else { if (bq[bo].nodeType === 1) { bq.splice.apply(bq, [bo + 1, 0].concat(b.makeArray(bq[bo].getElementsByTagName("script")))) } bp.appendChild(bq[bo]) } } } return bq }, cleanData: function(bf) { var bi, bg, e = b.cache, bn = b.expando, bl = b.event.special, bk = b.support.deleteExpando; for (var bj = 0, bh; (bh = bf[bj]) != null; bj++) { if (bh.nodeName && b.noData[bh.nodeName.toLowerCase()]) { continue } bg = bh[b.expando]; if (bg) { bi = e[bg] && e[bg][bn]; if (bi && bi.events) { for (var bm in bi.events) { if (bl[bm]) { b.event.remove(bh, bm) } else { b.removeEvent(bh, bm, bi.handle) } } if (bi.handle) { bi.handle.elem = null } } if (bk) { delete bh[b.expando] } else { if (bh.removeAttribute) { bh.removeAttribute(b.expando) } } delete e[bg] } } } }); function ba(e, bf) { if (bf.src) { b.ajax({ url: bf.src, async: false, dataType: "script" }) } else { b.globalEval(bf.text || bf.textContent || bf.innerHTML || "") } if (bf.parentNode) { bf.parentNode.removeChild(bf) } } var af = /alpha\([^)]*\)/i, al = /opacity=([^)]*)/, aO = /-([a-z])/ig, z = /([A-Z]|^ms)/g, a1 = /^-?\d+(?:px)?$/i, a9 = /^-?\d/, aX = { position: "absolute", visibility: "hidden", display: "block" }, ah = ["Left", "Right"], aT = ["Top", "Bottom"], V, az, aN, m = function(e, bf) { return bf.toUpperCase() }; b.fn.css = function(e, bf) { if (arguments.length === 2 && bf === I) { return this } return b.access(this, e, bf, true, function(bh, bg, bi) { return bi !== I ? b.style(bh, bg, bi) : b.css(bh, bg) }) }; b.extend({ cssHooks: { opacity: { get: function(bg, bf) { if (bf) { var e = V(bg, "opacity", "opacity"); return e === "" ? "1" : e } else { return bg.style.opacity } } } }, cssNumber: { zIndex: true, fontWeight: true, opacity: true, zoom: true, lineHeight: true }, cssProps: { "float": b.support.cssFloat ? "cssFloat" : "styleFloat" }, style: function(bh, bg, bm, bi) { if (!bh || bh.nodeType === 3 || bh.nodeType === 8 || !bh.style) { return } var bl, bj = b.camelCase(bg), bf = bh.style, bn = b.cssHooks[bj]; bg = b.cssProps[bj] || bj; if (bm !== I) { if (typeof bm === "number" && isNaN(bm) || bm == null) { return } if (typeof bm === "number" && !b.cssNumber[bj]) { bm += "px" } if (!bn || !("set" in bn) || (bm = bn.set(bh, bm)) !== I) { try { bf[bg] = bm } catch (bk) { } } } else { if (bn && "get" in bn && (bl = bn.get(bh, false, bi)) !== I) { return bl } return bf[bg] } }, css: function(bj, bi, bf) { var bh, bg = b.camelCase(bi), e = b.cssHooks[bg]; bi = b.cssProps[bg] || bg; if (e && "get" in e && (bh = e.get(bj, true, bf)) !== I) { return bh } else { if (V) { return V(bj, bi, bg) } } }, swap: function(bh, bg, bi) { var e = {}; for (var bf in bg) { e[bf] = bh.style[bf]; bh.style[bf] = bg[bf] } bi.call(bh); for (bf in bg) { bh.style[bf] = e[bf] } }, camelCase: function(e) { return e.replace(aO, m) } }); b.curCSS = b.css; b.each(["height", "width"], function(bf, e) { b.cssHooks[e] = { get: function(bi, bh, bg) { var bj; if (bh) { if (bi.offsetWidth !== 0) { bj = p(bi, e, bg) } else { b.swap(bi, aX, function() { bj = p(bi, e, bg) }) } if (bj <= 0) { bj = V(bi, e, e); if (bj === "0px" && aN) { bj = aN(bi, e, e) } if (bj != null) { return bj === "" || bj === "auto" ? "0px" : bj } } if (bj < 0 || bj == null) { bj = bi.style[e]; return bj === "" || bj === "auto" ? "0px" : bj } return typeof bj === "string" ? bj : bj + "px" } }, set: function(bg, bh) { if (a1.test(bh)) { bh = parseFloat(bh); if (bh >= 0) { return bh + "px" } } else { return bh } } } }); if (!b.support.opacity) { b.cssHooks.opacity = { get: function(bf, e) { return al.test((e && bf.currentStyle ? bf.currentStyle.filter : bf.style.filter) || "") ? (parseFloat(RegExp.$1) / 100) + "" : e ? "1" : "" }, set: function(bh, bi) { var bg = bh.style; bg.zoom = 1; var e = b.isNaN(bi) ? "" : "alpha(opacity=" + bi * 100 + ")", bf = bg.filter || ""; bg.filter = af.test(bf) ? bf.replace(af, e) : bg.filter + " " + e } } } b(function() { if (!b.support.reliableMarginRight) { b.cssHooks.marginRight = { get: function(bg, bf) { var e; b.swap(bg, { display: "inline-block" }, function() { if (bf) { e = V(bg, "margin-right", "marginRight") } else { e = bg.style.marginRight } }); return e } } } }); if (am.defaultView && am.defaultView.getComputedStyle) { az = function(bj, e, bh) { var bg, bi, bf; bh = bh.replace(z, "-$1").toLowerCase(); if (!(bi = bj.ownerDocument.defaultView)) { return I } if ((bf = bi.getComputedStyle(bj, null))) { bg = bf.getPropertyValue(bh); if (bg === "" && !b.contains(bj.ownerDocument.documentElement, bj)) { bg = b.style(bj, bh) } } return bg } } if (am.documentElement.currentStyle) { aN = function(bi, bg) { var bj, bf = bi.currentStyle && bi.currentStyle[bg], e = bi.runtimeStyle && bi.runtimeStyle[bg], bh = bi.style; if (!a1.test(bf) && a9.test(bf)) { bj = bh.left; if (e) { bi.runtimeStyle.left = bi.currentStyle.left } bh.left = bg === "fontSize" ? "1em" : (bf || 0); bf = bh.pixelLeft + "px"; bh.left = bj; if (e) { bi.runtimeStyle.left = e } } return bf === "" ? "auto" : bf } } V = az || aN; function p(bg, bf, e) { var bi = bf === "width" ? ah : aT, bh = bf === "width" ? bg.offsetWidth : bg.offsetHeight; if (e === "border") { return bh } b.each(bi, function() { if (!e) { bh -= parseFloat(b.css(bg, "padding" + this)) || 0 } if (e === "margin") { bh += parseFloat(b.css(bg, "margin" + this)) || 0 } else { bh -= parseFloat(b.css(bg, "border" + this + "Width")) || 0 } }); return bh } if (b.expr && b.expr.filters) { b.expr.filters.hidden = function(bg) { var bf = bg.offsetWidth, e = bg.offsetHeight; return (bf === 0 && e === 0) || (!b.support.reliableHiddenOffsets && (bg.style.display || b.css(bg, "display")) === "none") }; b.expr.filters.visible = function(e) { return !b.expr.filters.hidden(e) } } var j = /%20/g, ai = /\[\]$/, be = /\r?\n/g, bc = /#.*$/, at = /^(.*?):[ \t]*([^\r\n]*)\r?$/mg, aQ = /^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i, aD = /^(?:about|app|app\-storage|.+\-extension|file|widget):$/, aF = /^(?:GET|HEAD)$/, c = /^\/\//, J = /\?/, aW = /<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi, q = /^(?:select|textarea)/i, h = /\s+/, bd = /([?&])_=[^&]*/, S = /(^|\-)([a-z])/g, aL = function(bf, e, bg) { return e + bg.toUpperCase() }, H = /^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/, A = b.fn.load, W = {}, r = {}, av, s; try { av = am.location.href } catch (an) { av = am.createElement("a"); av.href = ""; av = av.href } s = H.exec(av.toLowerCase()) || []; function f(e) { return function(bi, bk) { if (typeof bi !== "string") { bk = bi; bi = "*" } if (b.isFunction(bk)) { var bh = bi.toLowerCase().split(h), bg = 0, bj = bh.length, bf, bl, bm; for (; bg < bj; bg++) { bf = bh[bg]; bm = /^\+/.test(bf); if (bm) { bf = bf.substr(1) || "*" } bl = e[bf] = e[bf] || []; bl[bm ? "unshift" : "push"](bk) } } } } function aK(bf, bo, bj, bn, bl, bh) { bl = bl || bo.dataTypes[0]; bh = bh || {}; bh[bl] = true; var bk = bf[bl], bg = 0, e = bk ? bk.length : 0, bi = (bf === W), bm; for (; bg < e && (bi || !bm); bg++) { bm = bk[bg](bo, bj, bn); if (typeof bm === "string") { if (!bi || bh[bm]) { bm = I } else { bo.dataTypes.unshift(bm); bm = aK(bf, bo, bj, bn, bm, bh) } } } if ((bi || !bm) && !bh["*"]) { bm = aK(bf, bo, bj, bn, "*", bh) } return bm } b.fn.extend({ load: function(bg, bj, bk) { if (typeof bg !== "string" && A) { return A.apply(this, arguments) } else { if (!this.length) { return this } } var bi = bg.indexOf(" "); if (bi >= 0) { var e = bg.slice(bi, bg.length); bg = bg.slice(0, bi) } var bh = "GET"; if (bj) { if (b.isFunction(bj)) { bk = bj; bj = I } else { if (typeof bj === "object") { bj = b.param(bj, b.ajaxSettings.traditional); bh = "POST" } } } var bf = this; b.ajax({ url: bg, type: bh, dataType: "html", data: bj, complete: function(bm, bl, bn) { bn = bm.responseText; if (bm.isResolved()) { bm.done(function(bo) { bn = bo }); bf.html(e ? b("<div>").append(bn.replace(aW, "")).find(e) : bn) } if (bk) { bf.each(bk, [bn, bl, bm]) } } }); return this }, serialize: function() { return b.param(this.serializeArray()) }, serializeArray: function() { return this.map(function() { return this.elements ? b.makeArray(this.elements) : this }).filter(function() { return this.name && !this.disabled && (this.checked || q.test(this.nodeName) || aQ.test(this.type)) }).map(function(e, bf) { var bg = b(this).val(); return bg == null ? null : b.isArray(bg) ? b.map(bg, function(bi, bh) { return { name: bf.name, value: bi.replace(be, "\r\n")} }) : { name: bf.name, value: bg.replace(be, "\r\n")} }).get() } }); b.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "), function(e, bf) { b.fn[bf] = function(bg) { return this.bind(bf, bg) } }); b.each(["get", "post"], function(e, bf) { b[bf] = function(bg, bi, bj, bh) { if (b.isFunction(bi)) { bh = bh || bj; bj = bi; bi = I } return b.ajax({ type: bf, url: bg, data: bi, success: bj, dataType: bh }) } }); b.extend({ getScript: function(e, bf) { return b.get(e, I, bf, "script") }, getJSON: function(e, bf, bg) { return b.get(e, bf, bg, "json") }, ajaxSetup: function(bg, e) { if (!e) { e = bg; bg = b.extend(true, b.ajaxSettings, e) } else { b.extend(true, bg, b.ajaxSettings, e) } for (var bf in { context: 1, url: 1 }) { if (bf in e) { bg[bf] = e[bf] } else { if (bf in b.ajaxSettings) { bg[bf] = b.ajaxSettings[bf] } } } return bg }, ajaxSettings: { url: av, isLocal: aD.test(s[1]), global: true, type: "GET", contentType: "application/x-www-form-urlencoded", processData: true, async: true, accepts: { xml: "application/xml, text/xml", html: "text/html", text: "text/plain", json: "application/json, text/javascript", "*": "*/*" }, contents: { xml: /xml/, html: /html/, json: /json/ }, responseFields: { xml: "responseXML", text: "responseText" }, converters: { "* text": a0.String, "text html": true, "text json": b.parseJSON, "text xml": b.parseXML} }, ajaxPrefilter: f(W), ajaxTransport: f(r), ajax: function(bj, bh) { if (typeof bj === "object") { bh = bj; bj = I } bh = bh || {}; var bn = b.ajaxSetup({}, bh), bB = bn.context || bn, bq = bB !== bn && (bB.nodeType || bB instanceof b) ? b(bB) : b.event, bA = b.Deferred(), bx = b._Deferred(), bl = bn.statusCode || {}, bm, br = {}, bz, bi, bv, bo, bs, bk = 0, bg, bu, bt = { readyState: 0, setRequestHeader: function(e, bC) { if (!bk) { br[e.toLowerCase().replace(S, aL)] = bC } return this }, getAllResponseHeaders: function() { return bk === 2 ? bz : null }, getResponseHeader: function(bC) { var e; if (bk === 2) { if (!bi) { bi = {}; while ((e = at.exec(bz))) { bi[e[1].toLowerCase()] = e[2] } } e = bi[bC.toLowerCase()] } return e === I ? null : e }, overrideMimeType: function(e) { if (!bk) { bn.mimeType = e } return this }, abort: function(e) { e = e || "abort"; if (bv) { bv.abort(e) } bp(0, e); return this } }; function bp(bH, bF, bI, bE) { if (bk === 2) { return } bk = 2; if (bo) { clearTimeout(bo) } bv = I; bz = bE || ""; bt.readyState = bH ? 4 : 0; var bC, bM, bL, bG = bI ? a6(bn, bt, bI) : I, bD, bK; if (bH >= 200 && bH < 300 || bH === 304) { if (bn.ifModified) { if ((bD = bt.getResponseHeader("Last-Modified"))) { b.lastModified[bm] = bD } if ((bK = bt.getResponseHeader("Etag"))) { b.etag[bm] = bK } } if (bH === 304) { bF = "notmodified"; bC = true } else { try { bM = E(bn, bG); bF = "success"; bC = true } catch (bJ) { bF = "parsererror"; bL = bJ } } } else { bL = bF; if (!bF || bH) { bF = "error"; if (bH < 0) { bH = 0 } } } bt.status = bH; bt.statusText = bF; if (bC) { bA.resolveWith(bB, [bM, bF, bt]) } else { bA.rejectWith(bB, [bt, bF, bL]) } bt.statusCode(bl); bl = I; if (bg) { bq.trigger("ajax" + (bC ? "Success" : "Error"), [bt, bn, bC ? bM : bL]) } bx.resolveWith(bB, [bt, bF]); if (bg) { bq.trigger("ajaxComplete", [bt, bn]); if (!(--b.active)) { b.event.trigger("ajaxStop") } } } bA.promise(bt); bt.success = bt.done; bt.error = bt.fail; bt.complete = bx.done; bt.statusCode = function(bC) { if (bC) { var e; if (bk < 2) { for (e in bC) { bl[e] = [bl[e], bC[e]] } } else { e = bC[bt.status]; bt.then(e, e) } } return this }; bn.url = ((bj || bn.url) + "").replace(bc, "").replace(c, s[1] + "//"); bn.dataTypes = b.trim(bn.dataType || "*").toLowerCase().split(h); if (bn.crossDomain == null) { bs = H.exec(bn.url.toLowerCase()); bn.crossDomain = !!(bs && (bs[1] != s[1] || bs[2] != s[2] || (bs[3] || (bs[1] === "http:" ? 80 : 443)) != (s[3] || (s[1] === "http:" ? 80 : 443)))) } if (bn.data && bn.processData && typeof bn.data !== "string") { bn.data = b.param(bn.data, bn.traditional) } aK(W, bn, bh, bt); if (bk === 2) { return false } bg = bn.global; bn.type = bn.type.toUpperCase(); bn.hasContent = !aF.test(bn.type); if (bg && b.active++ === 0) { b.event.trigger("ajaxStart") } if (!bn.hasContent) { if (bn.data) { bn.url += (J.test(bn.url) ? "&" : "?") + bn.data } bm = bn.url; if (bn.cache === false) { var bf = b.now(), by = bn.url.replace(bd, "$1_=" + bf); bn.url = by + ((by === bn.url) ? (J.test(bn.url) ? "&" : "?") + "_=" + bf : "") } } if (bn.data && bn.hasContent && bn.contentType !== false || bh.contentType) { br["Content-Type"] = bn.contentType } if (bn.ifModified) { bm = bm || bn.url; if (b.lastModified[bm]) { br["If-Modified-Since"] = b.lastModified[bm] } if (b.etag[bm]) { br["If-None-Match"] = b.etag[bm] } } br.Accept = bn.dataTypes[0] && bn.accepts[bn.dataTypes[0]] ? bn.accepts[bn.dataTypes[0]] + (bn.dataTypes[0] !== "*" ? ", */*; q=0.01" : "") : bn.accepts["*"]; for (bu in bn.headers) { bt.setRequestHeader(bu, bn.headers[bu]) } if (bn.beforeSend && (bn.beforeSend.call(bB, bt, bn) === false || bk === 2)) { bt.abort(); return false } for (bu in { success: 1, error: 1, complete: 1 }) { bt[bu](bn[bu]) } bv = aK(r, bn, bh, bt); if (!bv) { bp(-1, "No Transport") } else { bt.readyState = 1; if (bg) { bq.trigger("ajaxSend", [bt, bn]) } if (bn.async && bn.timeout > 0) { bo = setTimeout(function() { bt.abort("timeout") }, bn.timeout) } try { bk = 1; bv.send(br, bp) } catch (bw) { if (status < 2) { bp(-1, bw) } else { b.error(bw) } } } return bt }, param: function(e, bg) { var bf = [], bi = function(bj, bk) { bk = b.isFunction(bk) ? bk() : bk; bf[bf.length] = encodeURIComponent(bj) + "=" + encodeURIComponent(bk) }; if (bg === I) { bg = b.ajaxSettings.traditional } if (b.isArray(e) || (e.jquery && !b.isPlainObject(e))) { b.each(e, function() { bi(this.name, this.value) }) } else { for (var bh in e) { v(bh, e[bh], bg, bi) } } return bf.join("&").replace(j, "+") } }); function v(bg, bi, bf, bh) { if (b.isArray(bi) && bi.length) { b.each(bi, function(bk, bj) { if (bf || ai.test(bg)) { bh(bg, bj) } else { v(bg + "[" + (typeof bj === "object" || b.isArray(bj) ? bk : "") + "]", bj, bf, bh) } }) } else { if (!bf && bi != null && typeof bi === "object") { if (b.isArray(bi) || b.isEmptyObject(bi)) { bh(bg, "") } else { for (var e in bi) { v(bg + "[" + e + "]", bi[e], bf, bh) } } } else { bh(bg, bi) } } } b.extend({ active: 0, lastModified: {}, etag: {} }); function a6(bn, bm, bj) { var bf = bn.contents, bl = bn.dataTypes, bg = bn.responseFields, bi, bk, bh, e; for (bk in bg) { if (bk in bj) { bm[bg[bk]] = bj[bk] } } while (bl[0] === "*") { bl.shift(); if (bi === I) { bi = bn.mimeType || bm.getResponseHeader("content-type") } } if (bi) { for (bk in bf) { if (bf[bk] && bf[bk].test(bi)) { bl.unshift(bk); break } } } if (bl[0] in bj) { bh = bl[0] } else { for (bk in bj) { if (!bl[0] || bn.converters[bk + " " + bl[0]]) { bh = bk; break } if (!e) { e = bk } } bh = bh || e } if (bh) { if (bh !== bl[0]) { bl.unshift(bh) } return bj[bh] } } function E(br, bj) { if (br.dataFilter) { bj = br.dataFilter(bj, br.dataType) } var bn = br.dataTypes, bq = {}, bk, bo, bg = bn.length, bl, bm = bn[0], bh, bi, bp, bf, e; for (bk = 1; bk < bg; bk++) { if (bk === 1) { for (bo in br.converters) { if (typeof bo === "string") { bq[bo.toLowerCase()] = br.converters[bo] } } } bh = bm; bm = bn[bk]; if (bm === "*") { bm = bh } else { if (bh !== "*" && bh !== bm) { bi = bh + " " + bm; bp = bq[bi] || bq["* " + bm]; if (!bp) { e = I; for (bf in bq) { bl = bf.split(" "); if (bl[0] === bh || bl[0] === "*") { e = bq[bl[1] + " " + bm]; if (e) { bf = bq[bf]; if (bf === true) { bp = e } else { if (e === true) { bp = bf } } break } } } } if (!(bp || e)) { b.error("No conversion from " + bi.replace(" ", " to ")) } if (bp !== true) { bj = bp ? bp(bj) : e(bf(bj)) } } } } return bj } var ar = b.now(), u = /(\=)\?(&|$)|\?\?/i; b.ajaxSetup({ jsonp: "callback", jsonpCallback: function() { return b.expando + "_" + (ar++) } }); b.ajaxPrefilter("json jsonp", function(bo, bk, bn) { var bm = (typeof bo.data === "string"); if (bo.dataTypes[0] === "jsonp" || bk.jsonpCallback || bk.jsonp != null || bo.jsonp !== false && (u.test(bo.url) || bm && u.test(bo.data))) { var bl, bg = bo.jsonpCallback = b.isFunction(bo.jsonpCallback) ? bo.jsonpCallback() : bo.jsonpCallback, bj = a0[bg], e = bo.url, bi = bo.data, bf = "$1" + bg + "$2", bh = function() { a0[bg] = bj; if (bl && b.isFunction(bj)) { a0[bg](bl[0]) } }; if (bo.jsonp !== false) { e = e.replace(u, bf); if (bo.url === e) { if (bm) { bi = bi.replace(u, bf) } if (bo.data === bi) { e += (/\?/.test(e) ? "&" : "?") + bo.jsonp + "=" + bg } } } bo.url = e; bo.data = bi; a0[bg] = function(bp) { bl = [bp] }; bn.then(bh, bh); bo.converters["script json"] = function() { if (!bl) { b.error(bg + " was not called") } return bl[0] }; bo.dataTypes[0] = "json"; return "script" } }); b.ajaxSetup({ accepts: { script: "text/javascript, application/javascript, application/ecmascript, application/x-ecmascript" }, contents: { script: /javascript|ecmascript/ }, converters: { "text script": function(e) { b.globalEval(e); return e } } }); b.ajaxPrefilter("script", function(e) { if (e.cache === I) { e.cache = false } if (e.crossDomain) { e.type = "GET"; e.global = false } }); b.ajaxTransport("script", function(bg) { if (bg.crossDomain) { var e, bf = am.head || am.getElementsByTagName("head")[0] || am.documentElement; return { send: function(bh, bi) { e = am.createElement("script"); e.async = "async"; if (bg.scriptCharset) { e.charset = bg.scriptCharset } e.src = bg.url; e.onload = e.onreadystatechange = function(bk, bj) { if (!e.readyState || /loaded|complete/.test(e.readyState)) { e.onload = e.onreadystatechange = null; if (bf && e.parentNode) { bf.removeChild(e) } e = I; if (!bj) { bi(200, "success") } } }; bf.insertBefore(e, bf.firstChild) }, abort: function() { if (e) { e.onload(0, 1) } } } } }); var y = b.now(), K, au; function B() { b(a0).unload(function() { for (var e in K) { K[e](0, 1) } }) } function aC() { try { return new a0.XMLHttpRequest() } catch (bf) { } } function ae() { try { return new a0.ActiveXObject("Microsoft.XMLHTTP") } catch (bf) { } } b.ajaxSettings.xhr = a0.ActiveXObject ? function() { return !this.isLocal && aC() || ae() } : aC; au = b.ajaxSettings.xhr(); b.support.ajax = !!au; b.support.cors = au && ("withCredentials" in au); au = I; if (b.support.ajax) { b.ajaxTransport(function(e) { if (!e.crossDomain || b.support.cors) { var bf; return { send: function(bl, bg) { var bk = e.xhr(), bj, bi; if (e.username) { bk.open(e.type, e.url, e.async, e.username, e.password) } else { bk.open(e.type, e.url, e.async) } if (e.xhrFields) { for (bi in e.xhrFields) { bk[bi] = e.xhrFields[bi] } } if (e.mimeType && bk.overrideMimeType) { bk.overrideMimeType(e.mimeType) } if (!e.crossDomain && !bl["X-Requested-With"]) { bl["X-Requested-With"] = "XMLHttpRequest" } try { for (bi in bl) { bk.setRequestHeader(bi, bl[bi]) } } catch (bh) { } bk.send((e.hasContent && e.data) || null); bf = function(bu, bo) { var bp, bn, bm, bs, br; try { if (bf && (bo || bk.readyState === 4)) { bf = I; if (bj) { bk.onreadystatechange = b.noop; delete K[bj] } if (bo) { if (bk.readyState !== 4) { bk.abort() } } else { bp = bk.status; bm = bk.getAllResponseHeaders(); bs = {}; br = bk.responseXML; if (br && br.documentElement) { bs.xml = br } bs.text = bk.responseText; try { bn = bk.statusText } catch (bt) { bn = "" } if (!bp && e.isLocal && !e.crossDomain) { bp = bs.text ? 200 : 404 } else { if (bp === 1223) { bp = 204 } } } } } catch (bq) { if (!bo) { bg(-1, bq) } } if (bs) { bg(bp, bn, bs, bm) } }; if (!e.async || bk.readyState === 4) { bf() } else { if (!K) { K = {}; B() } bj = y++; bk.onreadystatechange = K[bj] = bf } }, abort: function() { if (bf) { bf(0, 1) } } } } }) } var O = {}, aq = /^(?:toggle|show|hide)$/, aH = /^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i, aU, ay = [["height", "marginTop", "marginBottom", "paddingTop", "paddingBottom"], ["width", "marginLeft", "marginRight", "paddingLeft", "paddingRight"], ["opacity"]]; b.fn.extend({ show: function(bh, bk, bj) { var bg, bi; if (bh || bh === 0) { return this.animate(aS("show", 3), bh, bk, bj) } else { for (var bf = 0, e = this.length; bf < e; bf++) { bg = this[bf]; bi = bg.style.display; if (!b._data(bg, "olddisplay") && bi === "none") { bi = bg.style.display = "" } if (bi === "" && b.css(bg, "display") === "none") { b._data(bg, "olddisplay", x(bg.nodeName)) } } for (bf = 0; bf < e; bf++) { bg = this[bf]; bi = bg.style.display; if (bi === "" || bi === "none") { bg.style.display = b._data(bg, "olddisplay") || "" } } return this } }, hide: function(bg, bj, bi) { if (bg || bg === 0) { return this.animate(aS("hide", 3), bg, bj, bi) } else { for (var bf = 0, e = this.length; bf < e; bf++) { var bh = b.css(this[bf], "display"); if (bh !== "none" && !b._data(this[bf], "olddisplay")) { b._data(this[bf], "olddisplay", bh) } } for (bf = 0; bf < e; bf++) { this[bf].style.display = "none" } return this } }, _toggle: b.fn.toggle, toggle: function(bg, bf, bh) { var e = typeof bg === "boolean"; if (b.isFunction(bg) && b.isFunction(bf)) { this._toggle.apply(this, arguments) } else { if (bg == null || e) { this.each(function() { var bi = e ? bg : b(this).is(":hidden"); b(this)[bi ? "show" : "hide"]() }) } else { this.animate(aS("toggle", 3), bg, bf, bh) } } return this }, fadeTo: function(e, bh, bg, bf) { return this.filter(":hidden").css("opacity", 0).show().end().animate({ opacity: bh }, e, bg, bf) }, animate: function(bi, bf, bh, bg) { var e = b.speed(bf, bh, bg); if (b.isEmptyObject(bi)) { return this.each(e.complete) } return this[e.queue === false ? "each" : "queue"](function() { var bl = b.extend({}, e), bp, bm = this.nodeType === 1, bn = bm && b(this).is(":hidden"), bj = this; for (bp in bi) { var bk = b.camelCase(bp); if (bp !== bk) { bi[bk] = bi[bp]; delete bi[bp]; bp = bk } if (bi[bp] === "hide" && bn || bi[bp] === "show" && !bn) { return bl.complete.call(this) } if (bm && (bp === "height" || bp === "width")) { bl.overflow = [this.style.overflow, this.style.overflowX, this.style.overflowY]; if (b.css(this, "display") === "inline" && b.css(this, "float") === "none") { if (!b.support.inlineBlockNeedsLayout) { this.style.display = "inline-block" } else { var bo = x(this.nodeName); if (bo === "inline") { this.style.display = "inline-block" } else { this.style.display = "inline"; this.style.zoom = 1 } } } } if (b.isArray(bi[bp])) { (bl.specialEasing = bl.specialEasing || {})[bp] = bi[bp][1]; bi[bp] = bi[bp][0] } } if (bl.overflow != null) { this.style.overflow = "hidden" } bl.curAnim = b.extend({}, bi); b.each(bi, function(br, bv) { var bu = new b.fx(bj, bl, br); if (aq.test(bv)) { bu[bv === "toggle" ? bn ? "show" : "hide" : bv](bi) } else { var bt = aH.exec(bv), bw = bu.cur(); if (bt) { var bq = parseFloat(bt[2]), bs = bt[3] || (b.cssNumber[br] ? "" : "px"); if (bs !== "px") { b.style(bj, br, (bq || 1) + bs); bw = ((bq || 1) / bu.cur()) * bw; b.style(bj, br, bw + bs) } if (bt[1]) { bq = ((bt[1] === "-=" ? -1 : 1) * bq) + bw } bu.custom(bw, bq, bs) } else { bu.custom(bw, bv, "") } } }); return true }) }, stop: function(bf, e) { var bg = b.timers; if (bf) { this.queue([]) } this.each(function() { for (var bh = bg.length - 1; bh >= 0; bh--) { if (bg[bh].elem === this) { if (e) { bg[bh](true) } bg.splice(bh, 1) } } }); if (!e) { this.dequeue() } return this } }); function aS(bf, e) { var bg = {}; b.each(ay.concat.apply([], ay.slice(0, e)), function() { bg[this] = bf }); return bg } b.each({ slideDown: aS("show", 1), slideUp: aS("hide", 1), slideToggle: aS("toggle", 1), fadeIn: { opacity: "show" }, fadeOut: { opacity: "hide" }, fadeToggle: { opacity: "toggle"} }, function(e, bf) { b.fn[e] = function(bg, bi, bh) { return this.animate(bf, bg, bi, bh) } }); b.extend({ speed: function(bg, bh, bf) { var e = bg && typeof bg === "object" ? b.extend({}, bg) : { complete: bf || !bf && bh || b.isFunction(bg) && bg, duration: bg, easing: bf && bh || bh && !b.isFunction(bh) && bh }; e.duration = b.fx.off ? 0 : typeof e.duration === "number" ? e.duration : e.duration in b.fx.speeds ? b.fx.speeds[e.duration] : b.fx.speeds._default; e.old = e.complete; e.complete = function() { if (e.queue !== false) { b(this).dequeue() } if (b.isFunction(e.old)) { e.old.call(this) } }; return e }, easing: { linear: function(bg, bh, e, bf) { return e + bf * bg }, swing: function(bg, bh, e, bf) { return ((-Math.cos(bg * Math.PI) / 2) + 0.5) * bf + e } }, timers: [], fx: function(bf, e, bg) { this.options = e; this.elem = bf; this.prop = bg; if (!e.orig) { e.orig = {} } } }); b.fx.prototype = { update: function() { if (this.options.step) { this.options.step.call(this.elem, this.now, this) } (b.fx.step[this.prop] || b.fx.step._default)(this) }, cur: function() { if (this.elem[this.prop] != null && (!this.elem.style || this.elem.style[this.prop] == null)) { return this.elem[this.prop] } var e, bf = b.css(this.elem, this.prop); return isNaN(e = parseFloat(bf)) ? !bf || bf === "auto" ? 0 : bf : e }, custom: function(bj, bi, bh) { var e = this, bg = b.fx; this.startTime = b.now(); this.start = bj; this.end = bi; this.unit = bh || this.unit || (b.cssNumber[this.prop] ? "" : "px"); this.now = this.start; this.pos = this.state = 0; function bf(bk) { return e.step(bk) } bf.elem = this.elem; if (bf() && b.timers.push(bf) && !aU) { aU = setInterval(bg.tick, bg.interval) } }, show: function() { this.options.orig[this.prop] = b.style(this.elem, this.prop); this.options.show = true; this.custom(this.prop === "width" || this.prop === "height" ? 1 : 0, this.cur()); b(this.elem).show() }, hide: function() { this.options.orig[this.prop] = b.style(this.elem, this.prop); this.options.hide = true; this.custom(this.cur(), 0) }, step: function(bh) { var bm = b.now(), bi = true; if (bh || bm >= this.options.duration + this.startTime) { this.now = this.end; this.pos = this.state = 1; this.update(); this.options.curAnim[this.prop] = true; for (var bj in this.options.curAnim) { if (this.options.curAnim[bj] !== true) { bi = false } } if (bi) { if (this.options.overflow != null && !b.support.shrinkWrapBlocks) { var bg = this.elem, bn = this.options; b.each(["", "X", "Y"], function(bo, bp) { bg.style["overflow" + bp] = bn.overflow[bo] }) } if (this.options.hide) { b(this.elem).hide() } if (this.options.hide || this.options.show) { for (var e in this.options.curAnim) { b.style(this.elem, e, this.options.orig[e]) } } this.options.complete.call(this.elem) } return false } else { var bf = bm - this.startTime; this.state = bf / this.options.duration; var bk = this.options.specialEasing && this.options.specialEasing[this.prop]; var bl = this.options.easing || (b.easing.swing ? "swing" : "linear"); this.pos = b.easing[bk || bl](this.state, bf, 0, 1, this.options.duration); this.now = this.start + ((this.end - this.start) * this.pos); this.update() } return true } }; b.extend(b.fx, { tick: function() { var bf = b.timers; for (var e = 0; e < bf.length; e++) { if (!bf[e]()) { bf.splice(e--, 1) } } if (!bf.length) { b.fx.stop() } }, interval: 13, stop: function() { clearInterval(aU); aU = null }, speeds: { slow: 600, fast: 200, _default: 400 }, step: { opacity: function(e) { b.style(e.elem, "opacity", e.now) }, _default: function(e) { if (e.elem.style && e.elem.style[e.prop] != null) { e.elem.style[e.prop] = (e.prop === "width" || e.prop === "height" ? Math.max(0, e.now) : e.now) + e.unit } else { e.elem[e.prop] = e.now } } } }); if (b.expr && b.expr.filters) { b.expr.filters.animated = function(e) { return b.grep(b.timers, function(bf) { return e === bf.elem }).length } } function x(bg) { if (!O[bg]) { var e = b("<" + bg + ">").appendTo("body"), bf = e.css("display"); e.remove(); if (bf === "none" || bf === "") { bf = "block" } O[bg] = bf } return O[bg] } var T = /^t(?:able|d|h)$/i, Z = /^(?:body|html)$/i; if ("getBoundingClientRect" in am.documentElement) { b.fn.offset = function(bs) { var bi = this[0], bl; if (bs) { return this.each(function(e) { b.offset.setOffset(this, bs, e) }) } if (!bi || !bi.ownerDocument) { return null } if (bi === bi.ownerDocument.body) { return b.offset.bodyOffset(bi) } try { bl = bi.getBoundingClientRect() } catch (bp) { } var br = bi.ownerDocument, bg = br.documentElement; if (!bl || !b.contains(bg, bi)) { return bl ? { top: bl.top, left: bl.left} : { top: 0, left: 0} } var bm = br.body, bn = aB(br), bk = bg.clientTop || bm.clientTop || 0, bo = bg.clientLeft || bm.clientLeft || 0, bf = bn.pageYOffset || b.support.boxModel && bg.scrollTop || bm.scrollTop, bj = bn.pageXOffset || b.support.boxModel && bg.scrollLeft || bm.scrollLeft, bq = bl.top + bf - bk, bh = bl.left + bj - bo; return { top: bq, left: bh} } } else { b.fn.offset = function(bp) { var bj = this[0]; if (bp) { return this.each(function(bq) { b.offset.setOffset(this, bp, bq) }) } if (!bj || !bj.ownerDocument) { return null } if (bj === bj.ownerDocument.body) { return b.offset.bodyOffset(bj) } b.offset.initialize(); var bm, bg = bj.offsetParent, bf = bj, bo = bj.ownerDocument, bh = bo.documentElement, bk = bo.body, bl = bo.defaultView, e = bl ? bl.getComputedStyle(bj, null) : bj.currentStyle, bn = bj.offsetTop, bi = bj.offsetLeft; while ((bj = bj.parentNode) && bj !== bk && bj !== bh) { if (b.offset.supportsFixedPosition && e.position === "fixed") { break } bm = bl ? bl.getComputedStyle(bj, null) : bj.currentStyle; bn -= bj.scrollTop; bi -= bj.scrollLeft; if (bj === bg) { bn += bj.offsetTop; bi += bj.offsetLeft; if (b.offset.doesNotAddBorder && !(b.offset.doesAddBorderForTableAndCells && T.test(bj.nodeName))) { bn += parseFloat(bm.borderTopWidth) || 0; bi += parseFloat(bm.borderLeftWidth) || 0 } bf = bg; bg = bj.offsetParent } if (b.offset.subtractsBorderForOverflowNotVisible && bm.overflow !== "visible") { bn += parseFloat(bm.borderTopWidth) || 0; bi += parseFloat(bm.borderLeftWidth) || 0 } e = bm } if (e.position === "relative" || e.position === "static") { bn += bk.offsetTop; bi += bk.offsetLeft } if (b.offset.supportsFixedPosition && e.position === "fixed") { bn += Math.max(bh.scrollTop, bk.scrollTop); bi += Math.max(bh.scrollLeft, bk.scrollLeft) } return { top: bn, left: bi} } } b.offset = { initialize: function() { var e = am.body, bf = am.createElement("div"), bi, bk, bj, bl, bg = parseFloat(b.css(e, "marginTop")) || 0, bh = "<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>"; b.extend(bf.style, { position: "absolute", top: 0, left: 0, margin: 0, border: 0, width: "1px", height: "1px", visibility: "hidden" }); bf.innerHTML = bh; e.insertBefore(bf, e.firstChild); bi = bf.firstChild; bk = bi.firstChild; bl = bi.nextSibling.firstChild.firstChild; this.doesNotAddBorder = (bk.offsetTop !== 5); this.doesAddBorderForTableAndCells = (bl.offsetTop === 5); bk.style.position = "fixed"; bk.style.top = "20px"; this.supportsFixedPosition = (bk.offsetTop === 20 || bk.offsetTop === 15); bk.style.position = bk.style.top = ""; bi.style.overflow = "hidden"; bi.style.position = "relative"; this.subtractsBorderForOverflowNotVisible = (bk.offsetTop === -5); this.doesNotIncludeMarginInBodyOffset = (e.offsetTop !== bg); e.removeChild(bf); b.offset.initialize = b.noop }, bodyOffset: function(e) { var bg = e.offsetTop, bf = e.offsetLeft; b.offset.initialize(); if (b.offset.doesNotIncludeMarginInBodyOffset) { bg += parseFloat(b.css(e, "marginTop")) || 0; bf += parseFloat(b.css(e, "marginLeft")) || 0 } return { top: bg, left: bf} }, setOffset: function(bh, bq, bk) { var bl = b.css(bh, "position"); if (bl === "static") { bh.style.position = "relative" } var bj = b(bh), bf = bj.offset(), e = b.css(bh, "top"), bo = b.css(bh, "left"), bp = (bl === "absolute" || bl === "fixed") && b.inArray("auto", [e, bo]) > -1, bn = {}, bm = {}, bg, bi; if (bp) { bm = bj.position() } bg = bp ? bm.top : parseInt(e, 10) || 0; bi = bp ? bm.left : parseInt(bo, 10) || 0; if (b.isFunction(bq)) { bq = bq.call(bh, bk, bf) } if (bq.top != null) { bn.top = (bq.top - bf.top) + bg } if (bq.left != null) { bn.left = (bq.left - bf.left) + bi } if ("using" in bq) { bq.using.call(bh, bn) } else { bj.css(bn) } } }; b.fn.extend({ position: function() { if (!this[0]) { return null } var bg = this[0], bf = this.offsetParent(), bh = this.offset(), e = Z.test(bf[0].nodeName) ? { top: 0, left: 0} : bf.offset(); bh.top -= parseFloat(b.css(bg, "marginTop")) || 0; bh.left -= parseFloat(b.css(bg, "marginLeft")) || 0; e.top += parseFloat(b.css(bf[0], "borderTopWidth")) || 0; e.left += parseFloat(b.css(bf[0], "borderLeftWidth")) || 0; return { top: bh.top - e.top, left: bh.left - e.left} }, offsetParent: function() { return this.map(function() { var e = this.offsetParent || am.body; while (e && (!Z.test(e.nodeName) && b.css(e, "position") === "static")) { e = e.offsetParent } return e }) } }); b.each(["Left", "Top"], function(bf, e) { var bg = "scroll" + e; b.fn[bg] = function(bj) { var bh = this[0], bi; if (!bh) { return null } if (bj !== I) { return this.each(function() { bi = aB(this); if (bi) { bi.scrollTo(!bf ? bj : b(bi).scrollLeft(), bf ? bj : b(bi).scrollTop()) } else { this[bg] = bj } }) } else { bi = aB(bh); return bi ? ("pageXOffset" in bi) ? bi[bf ? "pageYOffset" : "pageXOffset"] : b.support.boxModel && bi.document.documentElement[bg] || bi.document.body[bg] : bh[bg] } } }); function aB(e) { return b.isWindow(e) ? e : e.nodeType === 9 ? e.defaultView || e.parentWindow : false } b.each(["Height", "Width"], function(bf, e) { var bg = e.toLowerCase(); b.fn["inner" + e] = function() { return this[0] ? parseFloat(b.css(this[0], bg, "padding")) : null }; b.fn["outer" + e] = function(bh) { return this[0] ? parseFloat(b.css(this[0], bg, bh ? "margin" : "border")) : null }; b.fn[bg] = function(bi) { var bj = this[0]; if (!bj) { return bi == null ? null : this } if (b.isFunction(bi)) { return this.each(function(bn) { var bm = b(this); bm[bg](bi.call(this, bn, bm[bg]())) }) } if (b.isWindow(bj)) { var bk = bj.document.documentElement["client" + e]; return bj.document.compatMode === "CSS1Compat" && bk || bj.document.body["client" + e] || bk } else { if (bj.nodeType === 9) { return Math.max(bj.documentElement["client" + e], bj.body["scroll" + e], bj.documentElement["scroll" + e], bj.body["offset" + e], bj.documentElement["offset" + e]) } else { if (bi === I) { var bl = b.css(bj, bg), bh = parseFloat(bl); return b.isNaN(bh) ? bl : bh } else { return this.css(bg, typeof bi === "string" ? bi : bi + "px") } } } } }); a0.jQuery = a0.$ = b
})(window);

