/* * jQuery JavaScript Library v1.6.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 Jun 30 14:16:56 2011 -0400 */ if(typeof jQuery==="undefined"){(function(d,b){function C(b){return a.isWindow(b)?b:b.nodeType===9?b.defaultView||b.parentWindow:!1}function fb(b){if(!A[b]){var g=c.body,d=a("<"+b+">").appendTo(g),e=d.css("display");d.remove();if(e==="none"||e===""){f||(f=c.createElement("iframe"),f.frameBorder=f.width=f.height=0),g.appendChild(f);if(!m||!f.createElement)m=(f.contentWindow||f.contentDocument).document,m.write((c.compatMode==="CSS1Compat"?"":"")+""),m.close();d=m.createElement(b),m.body.appendChild(d),e=a.css(d,"display"),g.removeChild(f)}A[b]=e}return A[b]}function o(c,d){var b={};a.each(db.concat.apply([],db.slice(0,d)),function(){b[this]=c});return b}function bc(){t=b}function eb(){setTimeout(bc,0);return t=a.now()}function Yb(){try{return new d.ActiveXObject("Microsoft.XMLHTTP")}catch(a){}}function cb(){try{return new d.XMLHttpRequest}catch(a){}}function wb(g,h){g.dataFilter&&(h=g.dataFilter(h,g.dataType));for(var n=g.dataTypes,i={},l,p=n.length,m,c=n[0],j,o,d,e,f,k=1;k0){d!=="border"&&a.each(f,function(){d||(b-=parseFloat(a.css(c,"padding"+this))||0),d==="margin"?(b+=parseFloat(a.css(c,d+this))||0):(b-=parseFloat(a.css(c,"border"+this+"Width"))||0)});return b+"px"}b=k(c,e,e);if(b<0||b==null)b=c.style[e]||0;b=parseFloat(b)||0,d&&a.each(f,function(){b+=parseFloat(a.css(c,"padding"+this))||0,d!=="padding"&&(b+=parseFloat(a.css(c,"border"+this+"Width"))||0),d==="margin"&&(b+=parseFloat(a.css(c,d+this))||0)});return b+"px"}function Kb(c,b){b.src?a.ajax({url:b.src,async:!1,dataType:"script"}):a.globalEval((b.text||b.textContent||b.innerHTML||"").replace(Bb,"/*$0*/")),b.parentNode&&b.parentNode.removeChild(b)}function S(b){a.nodeName(b,"input")?Q(b):"getElementsByTagName"in b&&a.grep(b.getElementsByTagName("input"),Q)}function Q(a){if(a.type==="checkbox"||a.type==="radio")a.defaultChecked=a.checked}function q(a){return"getElementsByTagName"in a?a.getElementsByTagName("*"):"querySelectorAll"in a?a.querySelectorAll("*"):[]}function P(c,b){var d;if(b.nodeType===1){b.clearAttributes&&b.clearAttributes(),b.mergeAttributes&&b.mergeAttributes(c),d=b.nodeName.toLowerCase();if(d==="object")b.outerHTML=c.outerHTML;else if(d!=="input"||c.type!=="checkbox"&&c.type!=="radio"){if(d==="option")b.selected=c.defaultSelected;else if(d==="input"||d==="textarea")b.defaultValue=c.defaultValue}else c.checked&&(b.defaultChecked=b.checked=c.checked),b.value!==c.value&&(b.value=c.value);b.removeAttribute(a.expando)}}function O(h,g){if(g.nodeType===1&&!!a.hasData(h)){var i=a.expando,e=a.data(h),f=a.data(g,e);if(e=e[i]){var b=e.events;f=f[i]=a.extend({},e);if(b){delete f.handle,f.events={};for(var c in b)for(var d=0,j=b[c].length;d=0===d})}function sb(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function w(a,b){return(a&&a!=="*"?a+".":"")+b.replace(xc,"`").replace(dc,"&")}function kc(b){var q,l,g,c,d,h,e,f,k,s,i,m,n,o=[],r=[],p=a._data(this,"events");if(!(b.liveFired===this||!p||!p.live||b.target.disabled||b.button&&b.type==="click")){b.namespace&&(m=new RegExp("(^|\\.)"+b.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)")),b.liveFired=this;var j=p.live.slice(0);for(e=0;el)break;b.currentTarget=c.elem,b.data=c.handleObj.data,b.handleObj=c.handleObj,n=c.handleObj.origHandler.apply(c.elem,arguments);if(n===!1||b.isPropagationStopped()){l=c.level,n===!1&&(q=!1);if(b.isImmediatePropagationStopped())break}}return q}}function mb(e,f,d){var c=a.extend({},d[0]);c.type=e,c.originalEvent={},c.liveFired=b,a.event.handle.call(f,c),c.isDefaultPrevented()&&d[0].preventDefault()}function u(){return!0}function i(){return!1}function ob(c,d,e){var f=d+"defer",g=d+"queue",h=d+"mark",i=a.data(c,f,b,!0);i&&(e==="queue"||!a.data(c,g,b,!0))&&(e==="mark"||!a.data(c,h,b,!0))&&setTimeout(function(){!a.data(c,g,b,!0)&&!a.data(c,h,b,!0)&&(a.removeData(c,f,!0),i.resolve())},0)}function E(a){for(var b in a)if(b!=="toJSON")return!1;return!0}function nb(d,e,c){if(c===b&&d.nodeType===1){var f="data-"+e.replace(jc,"$1-$2").toLowerCase();c=d.getAttribute(f);if(typeof c=="string"){try{c=c==="true"?!0:c==="false"?!1:c==="null"?null:a.isNaN(c)?ic.test(c)?a.parseJSON(c):c:parseFloat(c)}catch(g){}a.data(d,e,c)}else c=b}return c}var c=d.document,gc=d.navigator,hc=d.location,a=function(){function o(){if(!a.isReady){try{c.documentElement.doScroll("left")}catch(b){setTimeout(o,1);return}a.ready()}}var a=function(b,c){return new a.fn.init(b,c,l)},t=d.jQuery,u=d.$,l,v=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,p=/\S/,q=/^\s+/,r=/\s+$/,w=/\d/,x=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,y=/^[\],:{}\s]*$/,z=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,A=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,B=/(?:^|:|,)(?:\s*\[)+/g,C=/(webkit)[ \/]([\w.]+)/,D=/(opera)(?:.*version)?[ \/]([\w.]+)/,E=/(msie) ([\w.]+)/,F=/(mozilla)(?:.*? rv:([\w.]+))?/,G=/-([a-z])/ig,H=function(b,a){return a.toUpperCase()},I=gc.userAgent,h,g,e,s=Object.prototype.toString,i=Object.prototype.hasOwnProperty,j=Array.prototype.push,f=Array.prototype.slice,k=String.prototype.trim,m=Array.prototype.indexOf,n={};a.fn=a.prototype={constructor:a,init:function(d,e,i){var f,h,g,j;if(!d)return this;if(d.nodeType){this.context=this[0]=d,this.length=1;return this}if(d==="body"&&!e&&c.body){this.context=c,this[0]=c.body,this.selector=d,this.length=1;return this}if(typeof d=="string"){d.charAt(0)!=="<"||d.charAt(d.length-1)!==">"||d.length<3?(f=v.exec(d)):(f=[null,d,null]);if(f&&(f[1]||!e)){if(f[1]){e=e instanceof a?e[0]:e,j=e?e.ownerDocument||e:c,g=x.exec(d),g?a.isPlainObject(e)?(d=[c.createElement(g[1])],a.fn.attr.call(d,e,!0)):(d=[j.createElement(g[1])]):(g=a.buildFragment([f[1]],[j]),d=(g.cacheable?a.clone(g.fragment):g.fragment).childNodes);return a.merge(this,d)}h=c.getElementById(f[2]);if(h&&h.parentNode){if(h.id!==f[2])return i.find(d);this.length=1,this[0]=h}this.context=c,this.selector=d;return this}return!e||e.jquery?(e||i).find(d):this.constructor(e).find(d)}if(a.isFunction(d))return i.ready(d);d.selector!==b&&(this.selector=d.selector,this.context=d.context);return a.makeArray(d,this)},selector:"",jquery:"1.6.2",length:0,size:function(){return this.length},toArray:function(){return f.call(this,0)},"get":function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(c,d,e){var b=this.constructor();a.isArray(c)?j.apply(b,c):a.merge(b,c),b.prevObject=this,b.context=this.context,d==="find"?(b.selector=this.selector+(this.selector?" ":"")+e):d&&(b.selector=this.selector+"."+d+"("+e+")");return b},each:function(b,c){return a.each(this,b,c)},ready:function(b){a.bindReady(),g.done(b);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(f.apply(this,arguments),"slice",f.call(arguments).join(","))},map:function(b){return this.pushStack(a.map(this,function(a,c){return b.call(a,c,a)}))},end:function(){return this.prevObject||this.constructor(null)},push:j,sort:[].sort,splice:[].splice},a.fn.init.prototype=a.fn,a.extend=a.fn.extend=function(){var h,g,e,d,i,j,c=arguments[0]||{},f=1,l=arguments.length,k=!1;typeof c=="boolean"&&(k=c,c=arguments[1]||{},f=2),typeof c!="object"&&!a.isFunction(c)&&(c={}),l===f&&(c=this,--f);for(;f0)return;g.resolveWith(c,[a]),a.fn.trigger&&a(c).trigger("ready").unbind("ready")}},bindReady:function(){if(!g){g=a._Deferred();if(c.readyState==="complete")return setTimeout(a.ready,1);if(c.addEventListener)c.addEventListener("DOMContentLoaded",e,!1),d.addEventListener("load",a.ready,!1);else if(c.attachEvent){c.attachEvent("onreadystatechange",e),d.attachEvent("onload",a.ready);var b=!1;try{b=d.frameElement==null}catch(f){}c.documentElement.doScroll&&b&&o()}}},isFunction:function(b){return a.type(b)==="function"},isArray:Array.isArray||function(b){return a.type(b)==="array"},isWindow:function(a){return a&&typeof a=="object"&&"setInterval"in a},isNaN:function(a){return a==null||!w.test(a)||isNaN(a)},type:function(a){return a==null?String(a):n[s.call(a)]||"object"},isPlainObject:function(c){if(!c||a.type(c)!=="object"||c.nodeType||a.isWindow(c))return!1;if(c.constructor&&!i.call(c,"constructor")&&!i.call(c.constructor.prototype,"isPrototypeOf"))return!1;var d;for(d in c);return d===b||i.call(c,d)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw a;},parseJSON:function(b){if(typeof b!="string"||!b)return null;b=a.trim(b);if(d.JSON&&d.JSON.parse)return d.JSON.parse(b);if(y.test(b.replace(z,"@").replace(A,"]").replace(B,"")))return new Function("return "+b)();a.error("Invalid JSON: "+b)},parseXML:function(e,b,c){d.DOMParser?(c=new DOMParser,b=c.parseFromString(e,"text/xml")):(b=new ActiveXObject("Microsoft.XMLDOM"),b.async="false",b.loadXML(e)),c=b.documentElement,(!c||!c.nodeName||c.nodeName==="parsererror")&&a.error("Invalid XML: "+e);return b},noop:function(){},globalEval:function(a){a&&p.test(a)&&(d.execScript||function(a){d.eval.call(d,a)})(a)},camelCase:function(a){return a.replace(G,H)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(c,f,g){var d,e=0,h=c.length,i=h===b||a.isFunction(c);if(g){if(i){for(d in c)if(f.apply(c[d],g)===!1)break}else for(;e0&&c[0]&&c[f-1]||f===0||a.isArray(c));if(k)for(;g1?kb.call(arguments,0):d,--g||b.resolveWith(b,kb.call(c,0))}}var c=arguments,d=0,f=c.length,g=f,b=f<=1&&e&&a.isFunction(e.promise)?e:a.Deferred();if(f>1){for(;d
a",s=b.getElementsByTagName("*"),g=b.getElementsByTagName("a")[0];if(!s||!s.length||!g)return{};m=c.createElement("select"),n=m.appendChild(c.createElement("option")),e=b.getElementsByTagName("input")[0],d={leadingWhitespace:b.firstChild.nodeType===3,tbody:!b.getElementsByTagName("tbody").length,htmlSerialize:!!b.getElementsByTagName("link").length,style:/top/.test(g.getAttribute("style")),hrefNormalized:g.getAttribute("href")==="/a",opacity:/^0.55$/.test(g.style.opacity),cssFloat:!!g.style.cssFloat,checkOn:e.value==="on",optSelected:n.selected,getSetAttribute:b.className!=="t",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0},e.checked=!0,d.noCloneChecked=e.cloneNode(!0).checked,m.disabled=!0,d.optDisabled=!n.disabled;try{delete b.test}catch(v){d.deleteExpando=!1}!b.addEventListener&&b.attachEvent&&b.fireEvent&&(b.attachEvent("onclick",function(){d.noCloneEvent=!1}),b.cloneNode(!0).fireEvent("onclick")),e=c.createElement("input"),e.value="t",e.setAttribute("type","radio"),d.radioValue=e.value==="t",e.setAttribute("checked","checked"),b.appendChild(e),o=c.createDocumentFragment(),o.appendChild(b.firstChild),d.checkClone=o.cloneNode(!0).cloneNode(!0).lastChild.checked,b.innerHTML="",b.style.width=b.style.paddingLeft="1px",k=c.getElementsByTagName("body")[0],f=c.createElement(k?"div":"body"),q={visibility:"hidden",width:0,height:0,border:0,margin:0},k&&a.extend(q,{position:"absolute",left:-1e3,top:-1e3});for(i in q)f.style[i]=q[i];f.appendChild(b),p=k||t,p.insertBefore(f,p.firstChild),d.appendChecked=e.checked,d.boxModel=b.offsetWidth===2,"zoom"in b.style&&(b.style.display="inline",b.style.zoom=1,d.inlineBlockNeedsLayout=b.offsetWidth===2,b.style.display="",b.innerHTML="
",d.shrinkWrapBlocks=b.offsetWidth!==2),b.innerHTML="
t
",l=b.getElementsByTagName("td"),j=l[0].offsetHeight===0,l[0].style.display="",l[1].style.display="none",d.reliableHiddenOffsets=j&&l[0].offsetHeight===0,b.innerHTML="",c.defaultView&&c.defaultView.getComputedStyle&&(h=c.createElement("div"),h.style.width="0",h.style.marginRight="0",b.appendChild(h),d.reliableMarginRight=(parseInt((c.defaultView.getComputedStyle(h,null)||{marginRight:0}).marginRight,10)||0)===0),f.innerHTML="",p.removeChild(f);if(b.attachEvent)for(i in{submit:1,change:1,focusin:1})r="on"+i,j=r in b,j||(b.setAttribute(r,"return;"),j=typeof b[r]=="function"),d[i+"Bubbles"]=j;f=o=m=n=k=h=b=e=null;return d}(),a.boxModel=a.support.boxModel;var ic=/^(?:\{.*\}|\[.*\])$/,jc=/([a-z])([A-Z])/g;a.extend({cache:{},uuid:0,expando:"jQuery"+(a.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(b){b=b.nodeType?a.cache[b[a.expando]]:b[a.expando];return!!b&&!E(b)},data:function(h,e,j,k){if(!!a.acceptData(h)){var g=a.expando,l=typeof e=="string",d,i=h.nodeType,f=i?a.cache:h,c=i?h[a.expando]:h[a.expando]&&a.expando;if((!c||k&&c&&!f[c][g])&&l&&j===b)return;c||(i?(h[a.expando]=c=++a.uuid):(c=a.expando)),f[c]||(f[c]={},i||(f[c].toJSON=a.noop));if(typeof e=="object"||typeof e=="function")k?(f[c][g]=a.extend(f[c][g],e)):(f[c]=a.extend(f[c],e));d=f[c],k&&(d[g]||(d[g]={}),d=d[g]),j!==b&&(d[a.camelCase(e)]=j);return e==="events"&&!d[e]?d[g]&&d[g].events:l?d[a.camelCase(e)]||d[e]:d}},removeData:function(e,i,j){if(!!a.acceptData(e)){var f=a.expando,g=e.nodeType,b=g?a.cache:e,c=g?e[a.expando]:a.expando;if(!b[c])return;if(i){var h=j?b[c][f]:b[c];if(h){delete h[i];if(!E(h))return}}if(j){delete b[c][f];if(!E(b[c]))return}var k=b[c][f];a.support.deleteExpando||b!=d?delete b[c]:(b[c]=null),k?(b[c]={},g||(b[c].toJSON=a.noop),b[c][f]=k):g&&(a.support.deleteExpando?delete e[a.expando]:e.removeAttribute?e.removeAttribute(a.expando):(e[a.expando]=null))}},_data:function(b,c,d){return a.data(b,c,d,!0)},acceptData:function(b){if(b.nodeName){var c=a.noData[b.nodeName.toLowerCase()];if(c)return c!==!0&&b.getAttribute("classid")===c}return!0}}),a.fn.extend({data:function(e,g){var c=null;if(typeof e=="undefined"){if(this.length){c=a.data(this[0]);if(this[0].nodeType===1)for(var i=this[0].attributes,f,h=0,j=i.length;h-1)return!0;return!1},val:function(f){var c,d,e=this[0];if(!arguments.length){if(e){c=a.valHooks[e.nodeName.toLowerCase()]||a.valHooks[e.type];if(c&&"get"in c&&(d=c.get(e,"value"))!==b)return d;d=e.value;return typeof d=="string"?d.replace(nc,""):d==null?"":d}return b}var g=a.isFunction(f);return this.each(function(e){var h=a(this),d;if(this.nodeType===1){g?(d=f.call(this,e,h.val())):(d=f),d==null?(d=""):typeof d=="number"?(d+=""):a.isArray(d)&&(d=a.map(d,function(a){return a==null?"":a+""})),c=a.valHooks[this.nodeName.toLowerCase()]||a.valHooks[this.type];if(!c||!("set"in c)||c.set(this,d,"value")===b)this.value=d}})}}),a.extend({valHooks:{option:{"get":function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{"get":function(f){var g,c=f.selectedIndex,h=[],d=f.options,e=f.type==="select-one";if(c<0)return null;for(var i=e?c:0,j=e?c+1:d.length;i=0}),b.length||(c.selectedIndex=-1);return b}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attrFix:{tabindex:"tabIndex"},attr:function(d,c,f,k){var h=d.nodeType;if(!d||h===3||h===8||h===2)return b;if(k&&c in a.attrFn)return a(d)[c](f);if(!("getAttribute"in d))return a.prop(d,c,f);var g,e,i=h!==1||!a.isXMLDoc(d);i&&(c=a.attrFix[c]||c,e=a.attrHooks[c],e||(qb.test(c)?(e=ub):j&&c!=="className"&&(a.nodeName(d,"form")||uc.test(c))&&(e=j)));if(f!==b){if(f===null){a.removeAttr(d,c);return b}if(e&&"set"in e&&i&&(g=e.set(d,f,c))!==b)return g;d.setAttribute(c,""+f);return f}if(e&&"get"in e&&i&&(g=e.get(d,c))!==null)return g;g=d.getAttribute(c);return g===null?b:g},removeAttr:function(c,b){var d;c.nodeType===1&&(b=a.attrFix[b]||b,a.support.getSetAttribute?c.removeAttribute(b):(a.attr(c,b,""),c.removeAttributeNode(c.getAttributeNode(b))),qb.test(b)&&(d=a.propFix[b]||b)in c&&(c[d]=!1))},attrHooks:{type:{"set":function(b,c){if(oc.test(b.nodeName)&&b.parentNode)a.error("type property can't be changed");else if(!a.support.radioValue&&c==="radio"&&a.nodeName(b,"input")){var d=b.value;b.setAttribute("type",c),d&&(b.value=d);return c}}},tabIndex:{"get":function(a){var c=a.getAttributeNode("tabIndex");return c&&c.specified?parseInt(c.value,10):rc.test(a.nodeName)||sc.test(a.nodeName)&&a.href?0:b}},value:{"get":function(b,c){return j&&a.nodeName(b,"button")?j.get(b,c):c in b?b.value:null},"set":function(b,c,d){if(j&&a.nodeName(b,"button"))return j.set(b,c,d);b.value=c}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(d,c,h){var f=d.nodeType;if(!d||f===3||f===8||f===2)return b;var g,e,i=f!==1||!a.isXMLDoc(d);i&&(c=a.propFix[c]||c,e=a.propHooks[c]);return h!==b?e&&"set"in e&&(g=e.set(d,h,c))!==b?g:(d[c]=h):e&&"get"in e&&(g=e.get(d,c))!==b?g:d[c]},propHooks:{}}),ub={"get":function(d,c){return a.prop(d,c)?c.toLowerCase():b},"set":function(c,e,b){var d;e===!1?a.removeAttr(c,b):(d=a.propFix[b]||b,d in c&&(c[d]=!0),c.setAttribute(b,b.toLowerCase()));return b}},a.support.getSetAttribute||(a.attrFix=a.propFix,j=a.attrHooks.name=a.attrHooks.title=a.valHooks.button={"get":function(c,d){var a;a=c.getAttributeNode(d);return a&&a.nodeValue!==""?a.nodeValue:b},"set":function(c,a,d){var b=c.getAttributeNode(d);if(b){b.nodeValue=a;return a}}},a.each(["width","height"],function(c,b){a.attrHooks[b]=a.extend(a.attrHooks[b],{"set":function(c,a){if(a===""){c.setAttribute(b,"auto");return a}}})})),a.support.hrefNormalized||a.each(["href","src","width","height"],function(d,c){a.attrHooks[c]=a.extend(a.attrHooks[c],{"get":function(d){var a=d.getAttribute(c,2);return a===null?b:a}})}),a.support.style||(a.attrHooks.style={"get":function(a){return a.style.cssText.toLowerCase()||b},"set":function(a,b){return a.style.cssText=""+b}}),a.support.optSelected||(a.propHooks.selected=a.extend(a.propHooks.selected,{"get":function(b){var a=b.parentNode;a&&(a.selectedIndex,a.parentNode&&a.parentNode.selectedIndex)}})),a.support.checkOn||a.each(["radio","checkbox"],function(){a.valHooks[this]={"get":function(a){return a.getAttribute("value")===null?"on":a.value}}}),a.each(["radio","checkbox"],function(){a.valHooks[this]=a.extend(a.valHooks[this],{"set":function(b,c){if(a.isArray(c))return b.checked=a.inArray(a(b).val(),c)>=0}})});var H=/\.(.*)$/,I=/^(?:textarea|input|select)$/i,xc=/\./g,dc=/ /g,ec=/[^\w\s.|`]/g,fc=function(a){return a.replace(ec,"\\$&")};a.event={add:function(c,n,d,p){if(c.nodeType!==3&&c.nodeType!==8){if(d===!1)d=i;else if(!d)return;var k,f;d.handler&&(k=d,d=k.handler),d.guid||(d.guid=a.guid++);var h=a._data(c);if(!h)return;var l=h.events,g=h.handle;l||(h.events=l={}),g||(h.handle=g=function(c){return typeof a!="undefined"&&(!c||a.event.triggered!==c.type)?a.event.handle.apply(g.elem,arguments):b}),g.elem=c,n=n.split(" ");var e,q=0,j;while(e=n[q++]){f=k?a.extend({},k):{handler:d,data:p},e.indexOf(".")>-1?(j=e.split("."),e=j.shift(),f.namespace=j.slice(0).sort().join(".")):(j=[],f.namespace=""),f.type=e,f.guid||(f.guid=d.guid);var o=l[e],m=a.event.special[e]||{};if(!o){o=l[e]=[];if(!m.setup||m.setup.call(c,p,j,g)===!1)c.addEventListener?c.addEventListener(e,g,!1):c.attachEvent&&c.attachEvent("on"+e,g)}m.add&&(m.add.call(c,f),f.handler.guid||(f.handler.guid=d.guid)),o.push(f),a.event.global[e]=!0}c=null}},global:{},remove:function(f,c,k,o){if(f.nodeType!==3&&f.nodeType!==8){k===!1&&(k=i);var t,d,v,e,u=0,p,l,q,m,g,h,r,j=a.hasData(f)&&a._data(f),n=j&&j.events;if(!j||!n)return;c&&c.type&&(k=c.handler,c=c.type);if(!c||typeof c=="string"&&c.charAt(0)==="."){c=c||"";for(d in n)a.event.remove(f,d+c);return}c=c.split(" ");while(d=c[u++]){r=d,h=null,p=d.indexOf(".")<0,l=[],p||(l=d.split("."),d=l.shift(),q=new RegExp("(^|\\.)"+a.map(l.slice(0).sort(),fc).join("\\.(?:.*\\.)?")+"(\\.|$)")),g=n[d];if(!g)continue;if(!k){for(e=0;e=0&&(e=e.slice(0,-1),l=!0),e.indexOf(".")>=0&&(j=e.split("."),e=j.shift(),j.sort());if(!!f&&!a.event.customEvent[e]||!!a.event.global[e]){c=typeof c=="object"?c[a.expando]?c:new a.Event(e,c):new a.Event(e),c.type=e,c.exclusive=l,c.namespace=j.join("."),c.namespace_re=new RegExp("(^|\\.)"+j.join("\\.(?:.*\\.)?")+"(\\.|$)");if(o||!f)c.preventDefault(),c.stopPropagation();if(!f){a.each(a.cache,function(){var d=a.expando,b=this[d];b&&b.events&&b.events[e]&&a.event.trigger(c,h,b.handle.elem)});return}if(f.nodeType===3||f.nodeType===8)return;c.result=b,c.target=f,h=h!=null?a.makeArray(h):[],h.unshift(c);var g=f,i=e.indexOf(":")<0?"on"+e:"";do{var m=a._data(g,"handle");c.currentTarget=g,m&&m.apply(g,h),i&&a.acceptData(g)&&g[i]&&g[i].apply(g,h)===!1&&(c.result=!1,c.preventDefault()),g=g.parentNode||g.ownerDocument||g===c.target.ownerDocument&&d}while(g&&!c.isPropagationStopped());if(!c.isDefaultPrevented()){var k,n=a.event.special[e]||{};if((!n._default||n._default.call(f.ownerDocument,c)===!1)&&(e!=="click"||!a.nodeName(f,"a"))&&a.acceptData(f)){try{i&&f[e]&&(k=f[i],k&&(f[i]=null),a.event.triggered=e,f[e]())}catch(p){}k&&(f[i]=k),a.event.triggered=b}}return c.result}},handle:function(c){c=a.event.fix(c||d.event);var h=((a._data(this,"events")||{})[c.type]||[]).slice(0),j=!c.exclusive&&!c.namespace,i=Array.prototype.slice.call(arguments,0);i[0]=c,c.currentTarget=this;for(var f=0,k=h.length;f-1?a.map(b.options,function(a){return a.selected}).join("-"):""):a.nodeName(b,"select")&&(c=b.selectedIndex);return c},v=function(d){var c=d.target,e,f;if(!!I.test(c.nodeName)&&!c.readOnly){e=a._data(c,"_change_data"),f=lb(c),(d.type!=="focusout"||c.type!=="radio")&&a._data(c,"_change_data",f);if(e===b||f===e)return;if(e!=null||f)d.type="change",d.liveFired=b,a.event.trigger(d,arguments[1],c)}};a.event.special.change={filters:{focusout:v,beforedeactivate:v,click:function(c){var b=c.target,d=a.nodeName(b,"input")?b.type:"";(d==="radio"||d==="checkbox"||a.nodeName(b,"select"))&&v.call(this,c)},keydown:function(b){var c=b.target,d=a.nodeName(c,"input")?c.type:"";(b.keyCode===13&&!a.nodeName(c,"textarea")||b.keyCode===32&&(d==="checkbox"||d==="radio")||d==="select-multiple")&&v.call(this,b)},beforeactivate:function(c){var b=c.target;a._data(b,"_change_data",lb(b))}},setup:function(){if(this.type==="file")return!1;for(var b in p)a.event.add(this,b+".specialChange",p[b]);return I.test(this.nodeName)},teardown:function(){a.event.remove(this,".specialChange");return I.test(this.nodeName)}},p=a.event.special.change.filters,p.focus=p.beforeactivate}a.support.focusinBubbles||a.each({focus:"focusin",blur:"focusout"},function(b,d){function f(c){var b=a.event.fix(c);b.type=d,b.originalEvent={},a.event.trigger(b,null,b.target),b.isDefaultPrevented()&&c.preventDefault()}var e=0;a.event.special[d]={setup:function(){e++===0&&c.addEventListener(b,f,!0)},teardown:function(){--e===0&&c.removeEventListener(b,f,!0)}}}),a.each(["bind","one"],function(d,c){a.fn[c]=function(d,e,f){var g;if(typeof d=="object"){for(var i in d)this[c](i,e,d[i],f);return this}if(arguments.length===2||e===!1)f=e,e=b;c==="one"?(g=function(b){a(this).unbind(b,g);return f.apply(this,arguments)},g.guid=f.guid||a.guid++):(g=f);if(d==="unload"&&c!=="one")this.one(d,e,f);else for(var h=0,j=this.length;h0?this.bind(b,a,c):this.trigger(b)},a.attrFn&&(a.attrFn[b]=!0)}),function(){function r(g,f,h,c,k,i){for(var b=0,j=c.length;b0){e=a;break}}a=a[g]}c[b]=e}}}function q(e,g,f,c,j,h){for(var b=0,i=c.length;b+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,n=0,o=Object.prototype.toString,i=!1,p=!0,g=/\\/g,j=/\W/;[0,0].sort(function(){p=!1;return 0});var d=function(k,b,i,r){i=i||[],b=b||c;var y=b;if(b.nodeType!==1&&b.nodeType!==9)return[];if(!k||typeof k!="string")return i;var n,l,g,v,j,p,q,h,w=!0,u=d.isXML(b),a=[],x=k;do{m.exec(""),n=m.exec(x);if(n){x=n[3],a.push(n[1]);if(n[2]){v=n[3];break}}}while(n);if(a.length>1&&t.exec(k))if(a.length===2&&e.relative[a[0]])l=s(a[0]+a[1],b);else{l=e.relative[a[0]]?[b]:d(a.shift(),b);while(a.length)k=a.shift(),e.relative[k]&&(k+=a.shift()),l=s(k,l)}else{!r&&a.length>1&&b.nodeType===9&&!u&&e.match.ID.test(a[0])&&!e.match.ID.test(a[a.length-1])&&(j=d.find(a.shift(),b,u),b=j.expr?d.filter(j.expr,j.set)[0]:j.set[0]);if(b){j=r?{expr:a.pop(),"set":f(r)}:d.find(a.pop(),a.length===1&&(a[0]==="~"||a[0]==="+")&&b.parentNode?b.parentNode:b,u),l=j.expr?d.filter(j.expr,j.set):j.set,a.length>0?(g=f(l)):(w=!1);while(a.length)p=a.pop(),q=p,e.relative[p]?(q=a.pop()):(p=""),q==null&&(q=b),e.relative[p](g,q,u)}else g=a=[]}g||(g=l),g||d.error(p||k);if(o.call(g)==="[object Array]")if(!w)i.push.apply(i,g);else if(b&&b.nodeType===1)for(h=0;g[h]!=null;h++)g[h]&&(g[h]===!0||g[h].nodeType===1&&d.contains(b,g[h]))&&i.push(l[h]);else for(h=0;g[h]!=null;h++)g[h]&&g[h].nodeType===1&&i.push(l[h]);else f(g,i);v&&(d(v,y,i,r),d.uniqueSort(i));return i};d.uniqueSort=function(a){if(l){i=p,a.sort(l);if(i)for(var b=1;b0},d.find=function(b,d,j){var c;if(!b)return[];for(var f=0,k=e.order.length;f":function(e,b){var c,f=typeof b=="string",a=0,g=e.length;if(f&&!j.test(b)){b=b.toLowerCase();for(;a=0)?e||f.push(a):e&&(d[c]=!1));return!1},ID:function(a){return a[1].replace(g,"")},TAG:function(a){return a[1].replace(g,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||d.error(a[0]),a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0,a[3]=b[3]-0}else a[2]&&d.error(a[0]);a[0]=n++;return a},ATTR:function(a,d,f,h,i,c){var b=a[1]=a[1].replace(g,"");!c&&e.attrMap[b]&&(a[1]=e.attrMap[b]),a[4]=(a[4]||a[5]||"").replace(g,""),a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(a,b,c,f,g){if(a[1]==="not")if((m.exec(a[3])||"").length>1||/^\w/.test(a[3]))a[3]=d(a[3],null,null,b);else{var h=d.filter(a[3],b,c,!0^g);c||f.push.apply(f,h);return!1}else if(e.match.POS.test(a[0])||e.match.CHILD.test(a[0]))return!0;return a},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){a.parentNode&&a.parentNode.selectedIndex;return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,c,b){return!!d(b[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){var b=a.getAttribute("type"),c=a.type;return a.nodeName.toLowerCase()==="input"&&"text"===c&&(b===c||b===null)},radio:function(a){return a.nodeName.toLowerCase()==="input"&&"radio"===a.type},checkbox:function(a){return a.nodeName.toLowerCase()==="input"&&"checkbox"===a.type},file:function(a){return a.nodeName.toLowerCase()==="input"&&"file"===a.type},password:function(a){return a.nodeName.toLowerCase()==="input"&&"password"===a.type},submit:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"submit"===a.type},image:function(a){return a.nodeName.toLowerCase()==="input"&&"image"===a.type},reset:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"reset"===a.type},button:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&"button"===a.type||b==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)},focus:function(a){return a===a.ownerDocument.activeElement}},setFilters:{first:function(b,a){return a===0},last:function(c,a,d,b){return a===b.length-1},even:function(b,a){return a%2===0},odd:function(b,a){return a%2===1},lt:function(c,a,b){return ab[3]-0},nth:function(c,a,b){return b[3]-0===a},eq:function(c,a,b){return b[3]-0===a}},filter:{PSEUDO:function(a,b,i,j){var c=b[1],g=e.filters[c];if(g)return g(a,i,b,j);if(c==="contains")return(a.textContent||a.innerText||d.getText([a])||"").indexOf(b[3])>=0;if(c==="not"){for(var h=b[3],f=0,k=h.length;f=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(f,g){var d=g[1],h=e.attrHandle[d]?e.attrHandle[d](f):f[d]!=null?f[d]:f.getAttribute(d),b=h+"",c=g[2],a=g[4];return h==null?c==="!=":c==="="?b===a:c==="*="?b.indexOf(a)>=0:c==="~="?(" "+b+" ").indexOf(a)>=0:a?c==="!="?b!==a:c==="^="?b.indexOf(a)===0:c==="$="?b.substr(b.length-a.length)===a:c==="|="?b===a||b.substr(0,a.length+1)===a+"-":!1:b&&h!==!1},POS:function(c,a,d,f){var g=a[2],b=e.setFilters[g];if(b)return b(c,d,a,f)}}},t=e.match.POS,u=function(b,a){return"\\"+(a-0+1)};for(var k in e.match)e.match[k]=new RegExp(e.match[k].source+/(?![^\[]*\])(?![^\(]*\))/.source),e.leftMatch[k]=new RegExp(/(^(?:.|\r|\n)*?)/.source+e.match[k].source.replace(/\\(\d+)/g,u));var f=function(a,b){a=Array.prototype.slice.call(a,0);if(b){b.push.apply(b,a);return b}return a};try{Array.prototype.slice.call(c.documentElement.childNodes,0)[0].nodeType}catch(v){f=function(a,d){var b=0,c=d||[];if(o.call(a)==="[object Array]")Array.prototype.push.apply(c,a);else if(typeof a.length=="number")for(var e=a.length;b",d.insertBefore(a,d.firstChild),c.getElementById(f)&&(e.find.ID=function(c,d,e){if(typeof d.getElementById!="undefined"&&!e){var a=d.getElementById(c[1]);return a?a.id===c[1]||typeof a.getAttributeNode!="undefined"&&a.getAttributeNode("id").nodeValue===c[1]?[a]:b:[]}},e.filter.ID=function(a,c){var b=typeof a.getAttributeNode!="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&b&&b.nodeValue===c}),d.removeChild(a),d=a=null}(),function(){var a=c.createElement("div");a.appendChild(c.createComment("")),a.getElementsByTagName("*").length>0&&(e.find.TAG=function(c,e){var a=e.getElementsByTagName(c[1]);if(c[1]==="*"){for(var d=[],b=0;a[b];b++)a[b].nodeType===1&&d.push(a[b]);a=d}return a}),a.innerHTML="",a.firstChild&&typeof a.firstChild.getAttribute!="undefined"&&a.firstChild.getAttribute("href")!=="#"&&(e.attrHandle.href=function(a){return a.getAttribute("href",2)}),a=null}(),c.querySelectorAll&&function(){var b=d,a=c.createElement("div"),h="__sizzle__";a.innerHTML="

";if(!a.querySelectorAll||a.querySelectorAll(".TEST").length!==0){d=function(j,a,g,n){a=a||c;if(!n&&!d.isXML(a)){var i=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(j);if(i&&(a.nodeType===1||a.nodeType===9)){if(i[1])return f(a.getElementsByTagName(j),g);if(i[2]&&e.find.CLASS&&a.getElementsByClassName)return f(a.getElementsByClassName(i[2]),g)}if(a.nodeType===9){if(j==="body"&&a.body)return f([a.body],g);if(i&&i[3]){var k=a.getElementById(i[3]);if(!k||!k.parentNode)return f([],g);if(k.id===i[3])return f([k],g)}try{return f(a.querySelectorAll(j),g)}catch(r){}}else if(a.nodeType===1&&a.nodeName.toLowerCase()!=="object"){var q=a,m=a.getAttribute("id"),l=m||h,o=a.parentNode,p=/^\s*[+~]/.test(j);m?(l=l.replace(/'/g,"\\$&")):a.setAttribute("id",l),p&&o&&(a=a.parentNode);try{if(!p||o)return f(a.querySelectorAll("[id='"+l+"'] "+j),g)}catch(s){}finally{m||q.removeAttribute("id")}}}return b(j,a,g,n)};for(var g in b)d[g]=b[g];a=null}}(),function(){var a=c.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector;if(b){var g=!b.call(c.createElement("div"),"div"),f=!1;try{b.call(c.documentElement,"[test!='']:sizzle")}catch(h){f=!0}d.matchesSelector=function(c,a){a=a.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!d.isXML(c))try{if(f||!e.match.PSEUDO.test(a)&&!/!=/.test(a)){var h=b.call(c,a);if(h||!g||c.document&&c.document.nodeType!==11)return h}}catch(i){}return d(a,null,null,[c]).length>0}}}(),function(){var a=c.createElement("div");a.innerHTML="
";if(!!a.getElementsByClassName&&a.getElementsByClassName("e").length!==0){a.lastChild.className="e";if(a.getElementsByClassName("e").length===1)return;e.order.splice(1,0,"CLASS"),e.find.CLASS=function(b,a,c){if(typeof a.getElementsByClassName!="undefined"&&!c)return a.getElementsByClassName(b[1])},a=null}}(),c.documentElement.contains?(d.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}):c.documentElement.compareDocumentPosition?(d.contains=function(a,b){return!!(a.compareDocumentPosition(b)&16)}):(d.contains=function(){return!1}),d.isXML=function(a){var b=(a?a.ownerDocument||a:0).documentElement;return b?b.nodeName!=="HTML":!1};var s=function(a,b){var f,g=[],h="",i=b.nodeType?[b]:b;while(f=e.match.PSEUDO.exec(a))h+=f[0],a=a.replace(e.match.PSEUDO,"");a=e.relative[a]?a+"*":a;for(var c=0,j=i.length;c0)for(d=h;d0:this.filter(b).length>0)},closest:function(c,g){var e=[],f,h,b=this[0];if(a.isArray(c)){var i,d,j={},k=1;if(b&&c.length){for(f=0,h=c.length;f-1:a(b).is(i))&&e.push({selector:d,elem:b,level:k});b=b.parentNode,k++}}return e}var l=rb.test(c)||typeof c!="string"?a(c,g||this.context):0;for(f=0,h=this.length;f-1:a.find.matchesSelector(b,c)){e.push(b);break}b=b.parentNode;if(!b||!b.ownerDocument||b===g||b.nodeType===11)break}}e=e.length>1?a.unique(e):e;return this.pushStack(e,"closest",c)},index:function(b){return!b||typeof b=="string"?a.inArray(this[0],b?a(b):this.parent().children()):a.inArray(b.jquery?b[0]:b,this)},add:function(b,e){var d=typeof b=="string"?a(b,e):a.makeArray(b&&b.nodeType?[b]:b),c=a.merge(this.get(),d);return this.pushStack(sb(d[0])||sb(c[0])?c:a.unique(c))},andSelf:function(){return this.add(this.prevObject)}}),a.each({parent:function(b){var a=b.parentNode;return a&&a.nodeType!==11?a:null},parents:function(b){return a.dir(b,"parentNode")},parentsUntil:function(b,d,c){return a.dir(b,"parentNode",c)},next:function(b){return a.nth(b,2,"nextSibling")},prev:function(b){return a.nth(b,2,"previousSibling")},nextAll:function(b){return a.dir(b,"nextSibling")},prevAll:function(b){return a.dir(b,"previousSibling")},nextUntil:function(b,d,c){return a.dir(b,"nextSibling",c)},prevUntil:function(b,d,c){return a.dir(b,"previousSibling",c)},siblings:function(b){return a.sibling(b.parentNode.firstChild,b)},children:function(b){return a.sibling(b.firstChild)},contents:function(b){return a.nodeName(b,"iframe")?b.contentDocument||b.contentWindow.document:a.makeArray(b.childNodes)}},function(b,c){a.fn[b]=function(f,e){var d=a.map(this,c,f),g=tc.call(arguments);lc.test(b)||(e=f),e&&typeof e=="string"&&(d=a.filter(e,d)),d=this.length>1&&!vc[b]?a.unique(d):d,(this.length>1||pc.test(e))&&mc.test(b)&&(d=d.reverse());return this.pushStack(d,b,g.join(","))}}),a.extend({filter:function(b,c,d){d&&(b=":not("+b+")");return c.length===1?a.find.matchesSelector(c[0],b)?[c[0]]:[]:a.find.matches(b,c)},dir:function(g,d,e){var f=[],c=g[d];while(c&&c.nodeType!==9&&(e===b||c.nodeType!==1||!a(c).is(e)))c.nodeType===1&&f.push(c),c=c[d];return f},nth:function(a,b,c){b=b||1;for(var d=0;a;a=a[c])if(a.nodeType===1&&++d===b)break;return a},sibling:function(a,c){for(var b=[];a;a=a.nextSibling)a.nodeType===1&&a!==c&&b.push(a);return b}});var wc=/ jQuery\d+="(?:\d+|null)"/g,J=/^\s+/,vb=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,hb=/<([\w:]+)/,yc=/",""],legend:[1,"
","
"],thead:[1,"","
"],tr:[2,"","
"],td:[3,"","
"],col:[2,"","
"],area:[1,"",""],_default:[0,"",""]};e.optgroup=e.option,e.tbody=e.tfoot=e.colgroup=e.caption=e.thead,e.th=e.td,a.support.htmlSerialize||(e._default=[1,"div
","
"]),a.fn.extend({text:function(d){return a.isFunction(d)?this.each(function(c){var b=a(this);b.text(d.call(this,c,b.text()))}):typeof d!="object"&&d!==b?this.empty().append((this[0]&&this[0].ownerDocument||c).createTextNode(d)):a.text(this)},wrapAll:function(b){if(a.isFunction(b))return this.each(function(c){a(this).wrapAll(b.call(this,c))});if(this[0]){var c=a(b,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&c.insertBefore(this[0]),c.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(b){return a.isFunction(b)?this.each(function(c){a(this).wrapInner(b.call(this,c))}):this.each(function(){var c=a(this),d=c.contents();d.length?d.wrapAll(b):c.append(b)})},wrap:function(b){return this.each(function(){a(this).wrapAll(b)})},unwrap:function(){return this.parent().each(function(){a.nodeName(this,"body")||a(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var b=a(arguments[0]);b.push.apply(b,this.toArray());return this.pushStack(b,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var b=this.pushStack(this,"after",arguments);b.push.apply(b,a(arguments[0]).toArray());return b}},remove:function(c,e){for(var d=0,b;(b=this[d])!=null;d++)if(!c||a.filter(c,[b]).length)!e&&b.nodeType===1&&(a.cleanData(b.getElementsByTagName("*")),a.cleanData([b])),b.parentNode&&b.parentNode.removeChild(b);return this},empty:function(){for(var c=0,b;(b=this[c])!=null;c++){b.nodeType===1&&a.cleanData(b.getElementsByTagName("*"));while(b.firstChild)b.removeChild(b.firstChild)}return this},clone:function(b,c){b=b==null?!1:b,c=c==null?b:c;return this.map(function(){return a.clone(this,b,c)})},html:function(c){if(c===b)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(wc,""):null;if(typeof c=="string"&&!L.test(c)&&(a.support.leadingWhitespace||!J.test(c))&&!e[(hb.exec(c)||["",""])[1].toLowerCase()]){c=c.replace(vb,"<$1>");try{for(var d=0,f=this.length;d1&&i0?this.clone(!0):this).get();a(d[e])[c](h),f=f.concat(h)}return this.pushStack(f,b,d.selector)}}),a.extend({clone:function(c,g,h){var e=c.cloneNode(!0),d,f,b;if((!a.support.noCloneEvent||!a.support.noCloneChecked)&&(c.nodeType===1||c.nodeType===11)&&!a.isXMLDoc(c)){P(c,e),d=q(c),f=q(e);for(b=0;d[b];++b)P(d[b],f[b])}if(g){O(c,e);if(h){d=q(c),f=q(e);for(b=0;d[b];++b)O(d[b],f[b])}}d=f=null;return e},clean:function(r,h,l,m){var n;h=h||c,typeof h.createElement=="undefined"&&(h=h.ownerDocument||h[0]&&h[0].ownerDocument||c);for(var d=[],g,f=0,b;(b=r[f])!=null;f++){typeof b=="number"&&(b+="");if(!b)continue;if(typeof b=="string")if(!xb.test(b))b=h.createTextNode(b);else{b=b.replace(vb,"<$1>");var o=(hb.exec(b)||["",""])[1].toLowerCase(),k=e[o]||e._default,s=k[0],i=h.createElement("div");i.innerHTML=k[1]+b+k[2];while(s--)i=i.lastChild;if(!a.support.tbody){var p=yc.test(b),j=o==="table"&&!p?i.firstChild&&i.firstChild.childNodes:k[1]===""&&!p?i.childNodes:[];for(g=j.length-1;g>=0;--g)a.nodeName(j[g],"tbody")&&!j[g].childNodes.length&&j[g].parentNode.removeChild(j[g])}!a.support.leadingWhitespace&&J.test(b)&&i.insertBefore(h.createTextNode(J.exec(b)[0]),i.firstChild),b=i.childNodes}var q;if(!a.support.appendChecked)if(b[0]&&typeof(q=b.length)=="number")for(g=0;g=0)return a+"px"}}}),a.support.opacity||(a.cssHooks.opacity={"get":function(a,b){return Nb.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},"set":function(d,e){var b=d.style,f=d.currentStyle;b.zoom=1;var g=a.isNaN(e)?"":"alpha(opacity="+e*100+")",c=f&&f.filter||b.filter||"";b.filter=T.test(c)?c.replace(T,g):c+" "+g}}),a(function(){a.support.reliableMarginRight||(a.cssHooks.marginRight={"get":function(b,d){var c;a.swap(b,{display:"inline-block"},function(){d?(c=k(b,"margin-right","marginRight")):(c=b.style.marginRight)});return c}})}),c.defaultView&&c.defaultView.getComputedStyle&&(ab=function(c,d){var e,f,g;d=d.replace(Ob,"-$1").toLowerCase();if(!(f=c.ownerDocument.defaultView))return b;if(g=f.getComputedStyle(c,null))e=g.getPropertyValue(d),e===""&&!a.contains(c.ownerDocument.documentElement,c)&&(e=a.style(c,d));return e}),c.documentElement.currentStyle&&(bb=function(a,d){var f,b=a.currentStyle&&a.currentStyle[d],e=a.runtimeStyle&&a.runtimeStyle[d],c=a.style;!X.test(b)&&Pb.test(b)&&(f=c.left,e&&(a.runtimeStyle.left=a.currentStyle.left),c.left=d==="fontSize"?"1em":b||0,b=c.pixelLeft+"px",c.left=f,e&&(a.runtimeStyle.left=e));return b===""?"auto":b}),k=ab||bb,a.expr&&a.expr.filters&&(a.expr.filters.hidden=function(b){var c=b.offsetWidth,d=b.offsetHeight;return c===0&&d===0||!a.support.reliableHiddenOffsets&&(b.style.display||a.css(b,"display"))==="none"},a.expr.filters.visible=function(b){return!a.expr.filters.hidden(b)});var yb=/%20/g,zb=/\[\]$/,N=/\r?\n/g,Cb=/#.*$/,Db=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,Fb=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,Gb=/^(?:about|app|app\-storage|.+\-extension|file|widget):$/,Hb=/^(?:GET|HEAD)$/,Ib=/^\/\//,R=/\?/,Jb=/)<[^<]*)*<\/script>/gi,Lb=/^(?:select|textarea)/i,U=/\s+/,Mb=/([?&])_=[^&]*/,V=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,W=a.fn.load,x={},Y={},g,h;try{g=hc.href}catch(zc){g=c.createElement("a"),g.href="",g=g.href}h=V.exec(g.toLowerCase())||[],a.fn.extend({load:function(d,c,e){if(typeof d!="string"&&W)return W.apply(this,arguments);if(!this.length)return this;var f=d.indexOf(" ");if(f>=0){var g=d.slice(f,d.length);d=d.slice(0,f)}var h="GET";c&&(a.isFunction(c)?(e=c,c=b):typeof c=="object"&&(c=a.param(c,a.ajaxSettings.traditional),h="POST"));var i=this;a.ajax({url:d,type:h,dataType:"html",data:c,complete:function(c,d,b){b=c.responseText,c.isResolved()&&(c.done(function(a){b=a}),i.html(g?a("
").append(b.replace(Jb,"")).find(g):b)),e&&i.each(e,[b,d,c])}});return this},serialize:function(){return a.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?a.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||Lb.test(this.nodeName)||Fb.test(this.type))}).map(function(d,c){var b=a(this).val();return b==null?null:a.isArray(b)?a.map(b,function(a){return{name:c.name,value:a.replace(N,"\r\n")}}):{name:c.name,value:b.replace(N,"\r\n")}}).get()}}),a.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(c,b){a.fn[b]=function(a){return this.bind(b,a)}}),a.each(["get","post"],function(d,c){a[c]=function(g,d,e,f){a.isFunction(d)&&(f=f||e,e=d,d=b);return a.ajax({type:c,url:g,data:d,success:e,dataType:f})}}),a.extend({getScript:function(c,d){return a.get(c,b,d,"script")},getJSON:function(b,c,d){return a.get(b,c,d,"json")},ajaxSetup:function(b,c){c?a.extend(!0,b,a.ajaxSettings,c):(c=b,b=a.extend(!0,a.ajaxSettings,c));for(var d in{context:1,url:1})d in c?(b[d]=c[d]):d in a.ajaxSettings&&(b[d]=a.ajaxSettings[d]);return b},ajaxSettings:{url:g,isLocal:Gb.test(h[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,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":d.String,"text html":!0,"text json":a.parseJSON,"text xml":a.parseXML}},ajaxPrefilter:Z(x),ajaxTransport:Z(Y),ajax:function(n,i){function q(i,h,p,x){if(e!==2){e=2,v&&clearTimeout(v),j=b,u=x||"",d.readyState=i?4:0;var k,n,l,y=p?Vb(c,d,p):b,q,r;if(i>=200&&i<300||i===304){if(c.ifModified){if(q=d.getResponseHeader("Last-Modified"))a.lastModified[f]=q;if(r=d.getResponseHeader("Etag"))a.etag[f]=r}if(i===304)h="notmodified",k=!0;else try{n=wb(c,y),h="success",k=!0}catch(z){h="parsererror",l=z}}else{l=h;if(!h||i)h="error",i<0&&(i=0)}d.status=i,d.statusText=h,k?t.resolveWith(g,[n,h,d]):t.rejectWith(g,[d,h,l]),d.statusCode(o),o=b,m&&s.trigger("ajax"+(k?"Success":"Error"),[d,c,k?n:l]),w.resolveWith(g,[d,h]),m&&(s.trigger("ajaxComplete",[d,c]),--a.active||a.event.trigger("ajaxStop"))}}typeof n=="object"&&(i=n,n=b),i=i||{};var c=a.ajaxSetup({},i),g=c.context||c,s=g!==c&&(g.nodeType||g instanceof a)?a(g):a.event,t=a.Deferred(),w=a._Deferred(),o=c.statusCode||{},f,y={},z={},u,p,j,v,k,e=0,m,l,d={readyState:0,setRequestHeader:function(a,c){if(!e){var b=a.toLowerCase();a=z[b]=z[b]||a,y[a]=c}return this},getAllResponseHeaders:function(){return e===2?u:null},getResponseHeader:function(c){var a;if(e===2){if(!p){p={};while(a=Db.exec(u))p[a[1].toLowerCase()]=a[2]}a=p[c.toLowerCase()]}return a===b?null:a},overrideMimeType:function(a){e||(c.mimeType=a);return this},abort:function(a){a=a||"abort",j&&j.abort(a),q(0,a);return this}};t.promise(d),d.success=d.done,d.error=d.fail,d.complete=w.done,d.statusCode=function(b){if(b){var a;if(e<2)for(a in b)o[a]=[o[a],b[a]];else a=b[d.status],d.then(a,a)}return this},c.url=((n||c.url)+"").replace(Cb,"").replace(Ib,h[1]+"//"),c.dataTypes=a.trim(c.dataType||"*").toLowerCase().split(U),c.crossDomain==null&&(k=V.exec(c.url.toLowerCase()),c.crossDomain=!(!k||k[1]==h[1]&&k[2]==h[2]&&(k[3]||(k[1]==="http:"?80:443))==(h[3]||(h[1]==="http:"?80:443)))),c.data&&c.processData&&typeof c.data!="string"&&(c.data=a.param(c.data,c.traditional)),r(x,c,i,d);if(e===2)return!1;m=c.global,c.type=c.type.toUpperCase(),c.hasContent=!Hb.test(c.type),m&&a.active++===0&&a.event.trigger("ajaxStart");if(!c.hasContent){c.data&&(c.url+=(R.test(c.url)?"&":"?")+c.data),f=c.url;if(c.cache===!1){var A=a.now(),B=c.url.replace(Mb,"$1_="+A);c.url=B+(B===c.url?(R.test(c.url)?"&":"?")+"_="+A:"")}}(c.data&&c.hasContent&&c.contentType!==!1||i.contentType)&&d.setRequestHeader("Content-Type",c.contentType),c.ifModified&&(f=f||c.url,a.lastModified[f]&&d.setRequestHeader("If-Modified-Since",a.lastModified[f]),a.etag[f]&&d.setRequestHeader("If-None-Match",a.etag[f])),d.setRequestHeader("Accept",c.dataTypes[0]&&c.accepts[c.dataTypes[0]]?c.accepts[c.dataTypes[0]]+(c.dataTypes[0]!=="*"?", */*; q=0.01":""):c.accepts["*"]);for(l in c.headers)d.setRequestHeader(l,c.headers[l]);if(c.beforeSend&&(c.beforeSend.call(g,d,c)===!1||e===2)){d.abort();return!1}for(l in{success:1,error:1,complete:1})d[l](c[l]);j=r(Y,c,i,d);if(!j)q(-1,"No Transport");else{d.readyState=1,m&&s.trigger("ajaxSend",[d,c]),c.async&&c.timeout>0&&(v=setTimeout(function(){d.abort("timeout")},c.timeout));try{e=1,j.send(y,q)}catch(C){status<2?q(-1,C):a.error(C)}}return d},param:function(c,d){var e=[],f=function(c,b){b=a.isFunction(b)?b():b,e[e.length]=encodeURIComponent(c)+"="+encodeURIComponent(b)};d===b&&(d=a.ajaxSettings.traditional);if(a.isArray(c)||c.jquery&&!a.isPlainObject(c))a.each(c,function(){f(this.name,this.value)});else for(var g in c)y(g,c[g],d,f);return e.join("&").replace(yb,"+")}}),a.extend({active:0,lastModified:{},etag:{}});var Wb=a.now(),s=/(\=)\?(&|$)|\?\?/i;a.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return a.expando+"_"+Wb++}}),a.ajaxPrefilter("json jsonp",function(b,l,k){var h=b.contentType==="application/x-www-form-urlencoded"&&typeof b.data=="string";if(b.dataTypes[0]==="jsonp"||b.jsonp!==!1&&(s.test(b.url)||h&&s.test(b.data))){var f,c=b.jsonpCallback=a.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,i=d[c],e=b.url,g=b.data,j="$1"+c+"$2";b.jsonp!==!1&&(e=e.replace(s,j),b.url===e&&(h&&(g=g.replace(s,j)),b.data===g&&(e+=(/\?/.test(e)?"&":"?")+b.jsonp+"="+c))),b.url=e,b.data=g,d[c]=function(a){f=[a]},k.always(function(){d[c]=i,f&&a.isFunction(i)&&d[c](f[0])}),b.converters["script json"]=function(){f||a.error(c+" was not called");return f[0]},b.dataTypes[0]="json";return"script"}}),a.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(b){a.globalEval(b);return b}}}),a.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),a.ajaxTransport("script",function(d){if(d.crossDomain){var a,e=c.head||c.getElementsByTagName("head")[0]||c.documentElement;return{send:function(g,f){a=c.createElement("script"),a.async="async",d.scriptCharset&&(a.charset=d.scriptCharset),a.src=d.url,a.onload=a.onreadystatechange=function(d,c){if(c||!a.readyState||/loaded|complete/.test(a.readyState))a.onload=a.onreadystatechange=null,e&&a.parentNode&&e.removeChild(a),a=b,c||f(200,"success")},e.insertBefore(a,e.firstChild)},abort:function(){a&&a.onload(0,1)}}}});var z=d.ActiveXObject?function(){for(var a in l)l[a](0,1)}:!1,Xb=0,l;a.ajaxSettings.xhr=d.ActiveXObject?function(){return!this.isLocal&&cb()||Yb()}:cb,function(b){a.extend(a.support,{ajax:!!b,cors:!!b&&"withCredentials"in b})}(a.ajaxSettings.xhr()),a.support.ajax&&a.ajaxTransport(function(c){if(!c.crossDomain||a.support.cors){var e;return{send:function(h,j){var f=c.xhr(),i,g;c.username?f.open(c.type,c.url,c.async,c.username,c.password):f.open(c.type,c.url,c.async);if(c.xhrFields)for(g in c.xhrFields)f[g]=c.xhrFields[g];c.mimeType&&f.overrideMimeType&&f.overrideMimeType(c.mimeType),!c.crossDomain&&!h["X-Requested-With"]&&(h["X-Requested-With"]="XMLHttpRequest");try{for(g in h)f.setRequestHeader(g,h[g])}catch(k){}f.send(c.hasContent&&c.data||null),e=function(o,k){var d,m,n,g,h;try{if(e&&(k||f.readyState===4)){e=b,i&&(f.onreadystatechange=a.noop,z&&delete l[i]);if(k)f.readyState!==4&&f.abort();else{d=f.status,n=f.getAllResponseHeaders(),g={},h=f.responseXML,h&&h.documentElement&&(g.xml=h),g.text=f.responseText;try{m=f.statusText}catch(p){m=""}!d&&c.isLocal&&!c.crossDomain?(d=g.text?200:404):d===1223&&(d=204)}}}catch(q){k||j(-1,q)}g&&j(d,m,g,n)},!c.async||f.readyState===4?e():(i=++Xb,z&&(l||(l={},a(d).unload(z)),l[i]=e),f.onreadystatechange=e)},abort:function(){e&&e(0,1)}}}});var A={},f,m,Zb=/^(?:toggle|show|hide)$/,ac=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,n,db=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],t,B=d.webkitRequestAnimationFrame||d.mozRequestAnimationFrame||d.oRequestAnimationFrame;a.fn.extend({show:function(e,g,h){var b,c;if(e||e===0)return this.animate(o("show",3),e,g,h);for(var d=0,f=this.length;d=b.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),b.animatedProperties[this.prop]=!0;for(g in b.animatedProperties)b.animatedProperties[g]!==!0&&(f=!1);if(f){b.overflow!=null&&!a.support.shrinkWrapBlocks&&a.each(["","X","Y"],function(a,d){c.style["overflow"+d]=b.overflow[a]}),b.hide&&a(c).hide();if(b.hide||b.show)for(var h in b.animatedProperties)a.style(c,h,b.orig[h]);b.complete.call(c)}return!1}b.duration==Infinity?(this.now=d):(e=d-this.startTime,this.state=e/b.duration,this.pos=a.easing[b.animatedProperties[this.prop]](this.state,e,0,1,b.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update();return!0}},a.extend(a.fx,{tick:function(){for(var b=a.timers,c=0;c
";a.extend(e.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"}),e.innerHTML=i,d.insertBefore(e,d.firstChild),f=e.firstChild,b=f.firstChild,g=f.nextSibling.firstChild.firstChild,this.doesNotAddBorder=b.offsetTop!==5,this.doesAddBorderForTableAndCells=g.offsetTop===5,b.style.position="fixed",b.style.top="20px",this.supportsFixedPosition=b.offsetTop===20||b.offsetTop===15,b.style.position=b.style.top="",f.style.overflow="hidden",f.style.position="relative",this.subtractsBorderForOverflowNotVisible=b.offsetTop===-5,this.doesNotIncludeMarginInBodyOffset=d.offsetTop!==h,d.removeChild(e),a.offset.initialize=a.noop},bodyOffset:function(b){var c=b.offsetTop,d=b.offsetLeft;a.offset.initialize(),a.offset.doesNotIncludeMarginInBodyOffset&&(c+=parseFloat(a.css(b,"marginTop"))||0,d+=parseFloat(a.css(b,"marginLeft"))||0);return{top:c,left:d}},setOffset:function(c,b,m){var e=a.css(c,"position");e==="static"&&(c.style.position="relative");var f=a(c),g=f.offset(),k=a.css(c,"top"),l=a.css(c,"left"),n=(e==="absolute"||e==="fixed")&&a.inArray("auto",[k,l])>-1,d={},h={},i,j;n?(h=f.position(),i=h.top,j=h.left):(i=parseFloat(k)||0,j=parseFloat(l)||0),a.isFunction(b)&&(b=b.call(c,m,g)),b.top!=null&&(d.top=b.top-g.top+i),b.left!=null&&(d.left=b.left-g.left+j),"using"in b?b.using.call(c,d):f.css(d)}},a.fn.extend({position:function(){if(!this[0])return null;var e=this[0],b=this.offsetParent(),c=this.offset(),d=gb.test(b[0].nodeName)?{top:0,left:0}:b.offset();c.top-=parseFloat(a.css(e,"marginTop"))||0,c.left-=parseFloat(a.css(e,"marginLeft"))||0,d.top+=parseFloat(a.css(b[0],"borderTopWidth"))||0,d.left+=parseFloat(a.css(b[0],"borderLeftWidth"))||0;return{top:c.top-d.top,left:c.left-d.left}},offsetParent:function(){return this.map(function(){var b=this.offsetParent||c.body;while(b&&!gb.test(b.nodeName)&&a.css(b,"position")==="static")b=b.offsetParent;return b})}}),a.each(["Left","Top"],function(d,e){var c="scroll"+e;a.fn[c]=function(f){var g,e;if(f===b){g=this[0];if(!g)return null;e=C(g);return e?"pageXOffset"in e?e[d?"pageYOffset":"pageXOffset"]:a.support.boxModel&&e.document.documentElement[c]||e.document.body[c]:g[c]}return this.each(function(){e=C(this),e?e.scrollTo(d?a(e).scrollLeft():f,d?f:a(e).scrollTop()):(this[c]=f)})}}),a.each(["Height","Width"],function(e,c){var d=c.toLowerCase();a.fn["inner"+c]=function(){var b=this[0];return b&&b.style?parseFloat(a.css(b,d,"padding")):null},a.fn["outer"+c]=function(c){var b=this[0];return b&&b.style?parseFloat(a.css(b,d,c?"margin":"border")):null},a.fn[d]=function(f){var e=this[0];if(!e)return f==null?null:this;if(a.isFunction(f))return this.each(function(c){var b=a(this);b[d](f.call(this,c,b[d]()))});if(a.isWindow(e)){var g=e.document.documentElement["client"+c];return e.document.compatMode==="CSS1Compat"&&g||e.document.body["client"+c]||g}if(e.nodeType===9)return Math.max(e.documentElement["client"+c],e.body["scroll"+c],e.documentElement["scroll"+c],e.body["offset"+c],e.documentElement["offset"+c]);if(f===b){var h=a.css(e,d),i=parseFloat(h);return a.isNaN(i)?h:i}return this.css(d,typeof f=="string"?f:f+"px")}}),d.jQuery=d.$=a})(window);var $j=jQuery.noConflict()}else var $j=jQuery;typeof Sys!="undefined"&&typeof Sys.Application!="undefined"&&Sys.Application.notifyScriptLoaded()