/*! * 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 */ (function(n,t){function ut(n){return i.isWindow(n)?n:n.nodeType===9?n.defaultView||n.parentWindow:!1}function dt(n){if(!wt[n]){var e=r.body,t=i("<"+n+">").appendTo(e),u=t.css("display");t.remove();(u==="none"||u==="")&&(f||(f=r.createElement("iframe"),f.frameBorder=f.width=f.height=0),e.appendChild(f),v&&f.createElement||(v=(f.contentWindow||f.contentDocument).document,v.write((r.compatMode==="CSS1Compat"?"":"")+""),v.close()),t=v.createElement(n),v.body.appendChild(t),u=i.css(t,"display"),e.removeChild(f));wt[n]=u}return wt[n]}function c(n,t){var r={};return i.each(yr.concat.apply([],yr.slice(0,t)),function(){r[this]=n}),r}function wr(){rt=t}function gt(){return setTimeout(wr,0),rt=i.now()}function br(){try{return new n.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}function ni(){try{return new n.XMLHttpRequest}catch(t){}}function kr(n,r){n.dataFilter&&(r=n.dataFilter(r,n.dataType));for(var v=n.dataTypes,s={},l,p=v.length,a,u=v[0],h,y,f,e,o,c=1;c0?(r!=="border"&&i.each(f,function(){r||(u-=parseFloat(i.css(n,"padding"+this))||0);r==="margin"?u+=parseFloat(i.css(n,r+this))||0:u-=parseFloat(i.css(n,"border"+this+"Width"))||0}),u+"px"):(u=l(n,t,t),(u<0||u==null)&&(u=n.style[t]||0),u=parseFloat(u)||0,r&&i.each(f,function(){u+=parseFloat(i.css(n,"padding"+this))||0;r!=="padding"&&(u+=parseFloat(i.css(n,"border"+this+"Width"))||0);r==="margin"&&(u+=parseFloat(i.css(n,r+this))||0)}),u+"px")}function gr(n,t){t.src?i.ajax({url:t.src,async:!1,dataType:"script"}):i.globalEval((t.text||t.textContent||t.innerHTML||"").replace(rf,"/*$0*/"));t.parentNode&&t.parentNode.removeChild(t)}function ri(n){i.nodeName(n,"input")?ui(n):"getElementsByTagName"in n&&i.grep(n.getElementsByTagName("input"),ui)}function ui(n){(n.type==="checkbox"||n.type==="radio")&&(n.defaultChecked=n.checked)}function d(n){return"getElementsByTagName"in n?n.getElementsByTagName("*"):"querySelectorAll"in n?n.querySelectorAll("*"):[]}function fi(n,t){var r;t.nodeType===1&&(t.clearAttributes&&t.clearAttributes(),t.mergeAttributes&&t.mergeAttributes(n),r=t.nodeName.toLowerCase(),r==="object"?t.outerHTML=n.outerHTML:r!=="input"||n.type!=="checkbox"&&n.type!=="radio"?r==="option"?t.selected=n.defaultSelected:(r==="input"||r==="textarea")&&(t.defaultValue=n.defaultValue):(n.checked&&(t.defaultChecked=t.checked=n.checked),t.value!==n.value&&(t.value=n.value)),t.removeAttribute(i.expando))}function ei(n,t){var r,u,f,h;if(t.nodeType===1&&!!i.hasData(n)){var s=i.expando,e=i.data(n),o=i.data(t,e);if((e=e[s])&&(r=e.events,o=o[s]=i.extend({},e),r)){delete o.handle;o.events={};for(u in r)for(f=0,h=r[u].length;f=0===r})}function si(n){return!n||!n.parentNode||n.parentNode.nodeType===11}function g(n,t){return(n&&n!=="*"?n+".":"")+t.replace(hu,"`").replace(cu,"&")}function tu(n){var w,l,e,t,r,s,u,f,c,h,a,v,y=[],b=[],p=i._data(this,"events"),o;if(!(n.liveFired===this||!p||!p.live||n.target.disabled||n.button&&n.type==="click")){for(n.namespace&&(a=new RegExp("(^|\\.)"+n.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)")),n.liveFired=this,o=p.live.slice(0),u=0;ul)break;if(n.currentTarget=t.elem,n.data=t.handleObj.data,n.handleObj=t.handleObj,v=t.handleObj.origHandler.apply(t.elem,arguments),(v===!1||n.isPropagationStopped())&&(l=t.level,v===!1&&(w=!1),n.isImmediatePropagationStopped()))break}return w}}function hi(n,r,u){var f=i.extend({},u[0]);f.type=n;f.originalEvent={};f.liveFired=t;i.event.handle.call(r,f);f.isDefaultPrevented()&&u[0].preventDefault()}function nt(){return!0}function e(){return!1}function ci(n,r,u){var f=r+"defer",e=r+"queue",o=r+"mark",s=i.data(n,f,t,!0);!s||u!=="queue"&&i.data(n,e,t,!0)||u!=="mark"&&i.data(n,o,t,!0)||setTimeout(function(){i.data(n,e,t,!0)||i.data(n,o,t,!0)||(i.removeData(n,f,!0),s.resolve())},0)}function et(n){for(var t in n)if(t!=="toJSON")return!1;return!0}function li(n,r,u){if(u===t&&n.nodeType===1){var f="data-"+r.replace(yi,"$1-$2").toLowerCase();if(u=n.getAttribute(f),typeof u=="string"){try{u=u==="true"?!0:u==="false"?!1:u==="null"?null:i.isNaN(u)?vi.test(u)?i.parseJSON(u):u:parseFloat(u)}catch(e){}i.data(n,r,u)}else u=t}return u}var r=n.document,iu=n.navigator,ru=n.location,i=function(){function c(){if(!i.isReady){try{r.documentElement.doScroll("left")}catch(n){setTimeout(c,1);return}i.ready()}}var i=function(n,t){return new i.fn.init(n,t,l)},k=n.jQuery,d=n.$,l,g=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,a=/\S/,v=/^\s+/,y=/\s+$/,nt=/\d/,tt=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,it=/^[\],:{}\s]*$/,rt=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,ut=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,ft=/(?:^|:|,)(?:\s*\[)+/g,et=/(webkit)[ \/]([\w.]+)/,ot=/(opera)(?:.*version)?[ \/]([\w.]+)/,st=/(msie) ([\w.]+)/,ht=/(mozilla)(?:.*? rv:([\w.]+))?/,ct=/-([a-z])/ig,lt=function(n,t){return t.toUpperCase()},at=iu.userAgent,e,o,u,vt=Object.prototype.toString,s=Object.prototype.hasOwnProperty,h=Array.prototype.push,f=Array.prototype.slice,p=String.prototype.trim,w=Array.prototype.indexOf,b={};return i.fn=i.prototype={constructor:i,init:function(n,u,f){var o,s,e,h;if(!n)return this;if(n.nodeType)return this.context=this[0]=n,this.length=1,this;if(n==="body"&&!u&&r.body)return this.context=r,this[0]=r.body,this.selector=n,this.length=1,this;if(typeof n=="string"){if(o=n.charAt(0)!=="<"||n.charAt(n.length-1)!==">"||n.length<3?g.exec(n):[null,n,null],o&&(o[1]||!u)){if(o[1])return u=u instanceof i?u[0]:u,h=u?u.ownerDocument||u:r,e=tt.exec(n),e?i.isPlainObject(u)?(n=[r.createElement(e[1])],i.fn.attr.call(n,u,!0)):n=[h.createElement(e[1])]:(e=i.buildFragment([o[1]],[h]),n=(e.cacheable?i.clone(e.fragment):e.fragment).childNodes),i.merge(this,n);if(s=r.getElementById(o[2]),s&&s.parentNode){if(s.id!==o[2])return f.find(n);this.length=1;this[0]=s}return this.context=r,this.selector=n,this}return!u||u.jquery?(u||f).find(n):this.constructor(u).find(n)}return i.isFunction(n)?f.ready(n):(n.selector!==t&&(this.selector=n.selector,this.context=n.context),i.makeArray(n,this))},selector:"",jquery:"1.6.2",length:0,size:function(){return this.length},toArray:function(){return f.call(this,0)},get:function(n){return n==null?this.toArray():n<0?this[this.length+n]:this[n]},pushStack:function(n,t,r){var u=this.constructor();return i.isArray(n)?h.apply(u,n):i.merge(u,n),u.prevObject=this,u.context=this.context,t==="find"?u.selector=this.selector+(this.selector?" ":"")+r:t&&(u.selector=this.selector+"."+t+"("+r+")"),u},each:function(n,t){return i.each(this,n,t)},ready:function(n){return i.bindReady(),o.done(n),this},eq:function(n){return n===-1?this.slice(n):this.slice(n,+n+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(n){return this.pushStack(i.map(this,function(t,i){return n.call(t,i,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:h,sort:[].sort,splice:[].splice},i.fn.init.prototype=i.fn,i.extend=i.fn.extend=function(){var o,e,u,r,s,h,n=arguments[0]||{},f=1,l=arguments.length,c=!1;for(typeof n=="boolean"&&(c=n,n=arguments[1]||{},f=2),typeof n!="object"&&!i.isFunction(n)&&(n={}),l===f&&(n=this,--f);f0)return;o.resolveWith(r,[i]);i.fn.trigger&&i(r).trigger("ready").unbind("ready")}},bindReady:function(){if(!o){if(o=i._Deferred(),r.readyState==="complete")return setTimeout(i.ready,1);if(r.addEventListener)r.addEventListener("DOMContentLoaded",u,!1),n.addEventListener("load",i.ready,!1);else if(r.attachEvent){r.attachEvent("onreadystatechange",u);n.attachEvent("onload",i.ready);var t=!1;try{t=n.frameElement==null}catch(f){}r.documentElement.doScroll&&t&&c()}}},isFunction:function(n){return i.type(n)==="function"},isArray:Array.isArray||function(n){return i.type(n)==="array"},isWindow:function(n){return n&&typeof n=="object"&&"setInterval"in n},isNaN:function(n){return n==null||!nt.test(n)||isNaN(n)},type:function(n){return n==null?String(n):b[vt.call(n)]||"object"},isPlainObject:function(n){if(!n||i.type(n)!=="object"||n.nodeType||i.isWindow(n)||n.constructor&&!s.call(n,"constructor")&&!s.call(n.constructor.prototype,"isPrototypeOf"))return!1;for(var r in n);return r===t||s.call(n,r)},isEmptyObject:function(n){for(var t in n)return!1;return!0},error:function(n){throw n;},parseJSON:function(t){if(typeof t!="string"||!t)return null;if(t=i.trim(t),n.JSON&&n.JSON.parse)return n.JSON.parse(t);if(it.test(t.replace(rt,"@").replace(ut,"]").replace(ft,"")))return new Function("return "+t)();i.error("Invalid JSON: "+t)},parseXML:function(t,r,u){return n.DOMParser?(u=new DOMParser,r=u.parseFromString(t,"text/xml")):(r=new ActiveXObject("Microsoft.XMLDOM"),r.async="false",r.loadXML(t)),u=r.documentElement,(!u||!u.nodeName||u.nodeName==="parsererror")&&i.error("Invalid XML: "+t),r},noop:function(){},globalEval:function(t){t&&a.test(t)&&(n.execScript||function(t){n.eval.call(n,t)})(t)},camelCase:function(n){return n.replace(ct,lt)},nodeName:function(n,t){return n.nodeName&&n.nodeName.toUpperCase()===t.toUpperCase()},each:function(n,r,u){var f,e=0,o=n.length,s=o===t||i.isFunction(n);if(u){if(s){for(f in n)if(r.apply(n[f],u)===!1)break}else for(;e0&&n[0]&&n[o-1]||o===0||i.isArray(n));if(c)for(;s1?ai.call(arguments,0):i;--e||t.resolveWith(t,ai.call(r,0))}}var r=arguments,u=0,f=r.length,e=f,t=f<=1&&n&&i.isFunction(n.promise)?n:i.Deferred();if(f>1){for(;u<\/table>a<\/a>",k=n.getElementsByTagName("*"),e=n.getElementsByTagName("a")[0],!k||!k.length||!e)return{};a=r.createElement("select");v=a.appendChild(r.createElement("option"));u=n.getElementsByTagName("input")[0];t={leadingWhitespace:n.firstChild.nodeType===3,tbody:!n.getElementsByTagName("tbody").length,htmlSerialize:!!n.getElementsByTagName("link").length,style:/top/.test(e.getAttribute("style")),hrefNormalized:e.getAttribute("href")==="/a",opacity:/^0.55$/.test(e.style.opacity),cssFloat:!!e.style.cssFloat,checkOn:u.value==="on",optSelected:v.selected,getSetAttribute:n.className!=="t",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0};u.checked=!0;t.noCloneChecked=u.cloneNode(!0).checked;a.disabled=!0;t.optDisabled=!v.disabled;try{delete n.test}catch(g){t.deleteExpando=!1}!n.addEventListener&&n.attachEvent&&n.fireEvent&&(n.attachEvent("onclick",function(){t.noCloneEvent=!1}),n.cloneNode(!0).fireEvent("onclick"));u=r.createElement("input");u.value="t";u.setAttribute("type","radio");t.radioValue=u.value==="t";u.setAttribute("checked","checked");n.appendChild(u);y=r.createDocumentFragment();y.appendChild(n.firstChild);t.checkClone=y.cloneNode(!0).cloneNode(!0).lastChild.checked;n.innerHTML="";n.style.width=n.style.paddingLeft="1px";c=r.getElementsByTagName("body")[0];f=r.createElement(c?"div":"body");w={visibility:"hidden",width:0,height:0,border:0,margin:0};c&&i.extend(w,{position:"absolute",left:-1e3,top:-1e3});for(s in w)f.style[s]=w[s];if(f.appendChild(n),p=c||d,p.insertBefore(f,p.firstChild),t.appendChecked=u.checked,t.boxModel=n.offsetWidth===2,"zoom"in n.style&&(n.style.display="inline",n.style.zoom=1,t.inlineBlockNeedsLayout=n.offsetWidth===2,n.style.display="",n.innerHTML="
<\/div>",t.shrinkWrapBlocks=n.offsetWidth!==2),n.innerHTML="
","<\/select>"],legend:[1,"
","<\/fieldset>"],thead:[1,"
<\/td>t<\/td><\/tr><\/table>",l=n.getElementsByTagName("td"),h=l[0].offsetHeight===0,l[0].style.display="",l[1].style.display="none",t.reliableHiddenOffsets=h&&l[0].offsetHeight===0,n.innerHTML="",r.defaultView&&r.defaultView.getComputedStyle&&(o=r.createElement("div"),o.style.width="0",o.style.marginRight="0",n.appendChild(o),t.reliableMarginRight=(parseInt((r.defaultView.getComputedStyle(o,null)||{marginRight:0}).marginRight,10)||0)===0),f.innerHTML="",p.removeChild(f),n.attachEvent)for(s in{submit:1,change:1,focusin:1})b="on"+s,h=b in n,h||(n.setAttribute(b,"return;"),h=typeof n[b]=="function"),t[s+"Bubbles"]=h;return f=y=a=v=c=o=n=u=null,t}();i.boxModel=i.support.boxModel;vi=/^(?:\{.*\}|\[.*\])$/;yi=/([a-z])([A-Z])/g;i.extend({cache:{},uuid:0,expando:"jQuery"+(i.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(n){return n=n.nodeType?i.cache[n[i.expando]]:n[i.expando],!!n&&!et(n)},data:function(n,r,u,f){if(!!i.acceptData(n)){var h=i.expando,l=typeof r=="string",o,c=n.nodeType,s=c?i.cache:n,e=c?n[i.expando]:n[i.expando]&&i.expando;return(!e||f&&e&&!s[e][h])&&l&&u===t?void 0:(e||(c?n[i.expando]=e=++i.uuid:e=i.expando),s[e]||(s[e]={},c||(s[e].toJSON=i.noop)),(typeof r=="object"||typeof r=="function")&&(f?s[e][h]=i.extend(s[e][h],r):s[e]=i.extend(s[e],r)),o=s[e],f&&(o[h]||(o[h]={}),o=o[h]),u!==t&&(o[i.camelCase(r)]=u),r==="events"&&!o[r])?o[h]&&o[h].events:l?o[i.camelCase(r)]||o[r]:o}},removeData:function(t,r,u){var h,c;if(!!i.acceptData(t)){var o=i.expando,s=t.nodeType,f=s?i.cache:t,e=s?t[i.expando]:i.expando;if(!f[e])return;if(r&&(h=u?f[e][o]:f[e],h&&(delete h[r],!et(h))))return;if(u&&(delete f[e][o],!et(f[e])))return;c=f[e][o];i.support.deleteExpando||f!=n?delete f[e]:f[e]=null;c?(f[e]={},s||(f[e].toJSON=i.noop),f[e][o]=c):s&&(i.support.deleteExpando?delete t[i.expando]:t.removeAttribute?t.removeAttribute(i.expando):t[i.expando]=null)}},_data:function(n,t,r){return i.data(n,t,r,!0)},acceptData:function(n){if(n.nodeName){var t=i.noData[n.nodeName.toLowerCase()];if(t)return t!==!0&&n.getAttribute("classid")===t}return!0}});i.fn.extend({data:function(n,r){var f=null,s,e,o,h,u;if(typeof n=="undefined"){if(this.length&&(f=i.data(this[0]),this[0].nodeType===1))for(s=this[0].attributes,o=0,h=s.length;o-1)return!0;return!1},val:function(n){var r,u,f=this[0],e;return arguments.length?(e=i.isFunction(n),this.each(function(u){var o=i(this),f;this.nodeType===1&&(f=e?n.call(this,u,o.val()):n,f==null?f="":typeof f=="number"?f+="":i.isArray(f)&&(f=i.map(f,function(n){return n==null?"":n+""})),r=i.valHooks[this.nodeName.toLowerCase()]||i.valHooks[this.type],r&&"set"in r&&r.set(this,f,"value")!==t||(this.value=f))})):f?(r=i.valHooks[f.nodeName.toLowerCase()]||i.valHooks[f.type],r&&"get"in r&&(u=r.get(f,"value"))!==t)?u:(u=f.value,typeof u=="string"?u.replace(uu,""):u==null?"":u):t}});i.extend({valHooks:{option:{get:function(n){var t=n.attributes.value;return!t||t.specified?n.value:n.text}},select:{get:function(n){var o,r=n.selectedIndex,s=[],u=n.options,f=n.type==="select-one",e,h,t;if(r<0)return null;for(e=f?r:0,h=f?r+1:u.length;e=0}),r.length||(n.selectedIndex=-1),r}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attrFix:{tabindex:"tabIndex"},attr:function(n,r,u,f){var h=n.nodeType,s,e,c;return!n||h===3||h===8||h===2?t:f&&r in i.attrFn?i(n)[r](u):("getAttribute"in n)?(c=h!==1||!i.isXMLDoc(n),c&&(r=i.attrFix[r]||r,e=i.attrHooks[r],e||(wi.test(r)?e=bi:o&&r!=="className"&&(i.nodeName(n,"form")||su.test(r))&&(e=o))),u!==t)?u===null?(i.removeAttr(n,r),t):e&&"set"in e&&c&&(s=e.set(n,u,r))!==t?s:(n.setAttribute(r,""+u),u):e&&"get"in e&&c&&(s=e.get(n,r))!==null?s:(s=n.getAttribute(r),s===null?t:s):i.prop(n,r,u)},removeAttr:function(n,t){var r;n.nodeType===1&&(t=i.attrFix[t]||t,i.support.getSetAttribute?n.removeAttribute(t):(i.attr(n,t,""),n.removeAttributeNode(n.getAttributeNode(t))),wi.test(t)&&(r=i.propFix[t]||t)in n&&(n[r]=!1))},attrHooks:{type:{set:function(n,t){if(fu.test(n.nodeName)&&n.parentNode)i.error("type property can't be changed");else if(!i.support.radioValue&&t==="radio"&&i.nodeName(n,"input")){var r=n.value;return n.setAttribute("type",t),r&&(n.value=r),t}}},tabIndex:{get:function(n){var i=n.getAttributeNode("tabIndex");return i&&i.specified?parseInt(i.value,10):eu.test(n.nodeName)||ou.test(n.nodeName)&&n.href?0:t}},value:{get:function(n,t){return o&&i.nodeName(n,"button")?o.get(n,t):t in n?n.value:null},set:function(n,t,r){if(o&&i.nodeName(n,"button"))return o.set(n,t,r);n.value=t}}},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(n,r,u){var e=n.nodeType,o,f,s;return!n||e===3||e===8||e===2?t:(s=e!==1||!i.isXMLDoc(n),s&&(r=i.propFix[r]||r,f=i.propHooks[r]),u!==t?f&&"set"in f&&(o=f.set(n,u,r))!==t?o:n[r]=u:f&&"get"in f&&(o=f.get(n,r))!==t?o:n[r])},propHooks:{}});bi={get:function(n,r){return i.prop(n,r)?r.toLowerCase():t},set:function(n,t,r){var u;return t===!1?i.removeAttr(n,r):(u=i.propFix[r]||r,u in n&&(n[u]=!0),n.setAttribute(r,r.toLowerCase())),r}};i.support.getSetAttribute||(i.attrFix=i.propFix,o=i.attrHooks.name=i.attrHooks.title=i.valHooks.button={get:function(n,i){var r;return r=n.getAttributeNode(i),r&&r.nodeValue!==""?r.nodeValue:t},set:function(n,t,i){var r=n.getAttributeNode(i);if(r)return r.nodeValue=t,t}},i.each(["width","height"],function(n,t){i.attrHooks[t]=i.extend(i.attrHooks[t],{set:function(n,i){if(i==="")return n.setAttribute(t,"auto"),i}})}));i.support.hrefNormalized||i.each(["href","src","width","height"],function(n,r){i.attrHooks[r]=i.extend(i.attrHooks[r],{get:function(n){var i=n.getAttribute(r,2);return i===null?t:i}})});i.support.style||(i.attrHooks.style={get:function(n){return n.style.cssText.toLowerCase()||t},set:function(n,t){return n.style.cssText=""+t}});i.support.optSelected||(i.propHooks.selected=i.extend(i.propHooks.selected,{get:function(n){var t=n.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}));i.support.checkOn||i.each(["radio","checkbox"],function(){i.valHooks[this]={get:function(n){return n.getAttribute("value")===null?"on":n.value}}});i.each(["radio","checkbox"],function(){i.valHooks[this]=i.extend(i.valHooks[this],{set:function(n,t){if(i.isArray(t))return n.checked=i.inArray(i(n).val(),t)>=0}})});var ht=/\.(.*)$/,ct=/^(?:textarea|input|select)$/i,hu=/\./g,cu=/ /g,lu=/[^\w\s.|`]/g,au=function(n){return n.replace(lu,"\\$&")};i.event={add:function(n,r,u,f){var y,s,c,l,h,o,w,a,p,v;if(n.nodeType!==3&&n.nodeType!==8){if(u===!1)u=e;else if(!u)return;if(u.handler&&(y=u,u=y.handler),u.guid||(u.guid=i.guid++),c=i._data(n),!c)return;for(l=c.events,h=c.handle,l||(c.events=l={}),h||(c.handle=h=function(n){return typeof i!="undefined"&&(!n||i.event.triggered!==n.type)?i.event.handle.apply(h.elem,arguments):t}),h.elem=n,r=r.split(" "),w=0;o=r[w++];)s=y?i.extend({},y):{handler:u,data:f},o.indexOf(".")>-1?(a=o.split("."),o=a.shift(),s.namespace=a.slice(0).sort().join(".")):(a=[],s.namespace=""),s.type=o,s.guid||(s.guid=u.guid),p=l[o],v=i.event.special[o]||{},p||(p=l[o]=[],v.setup&&v.setup.call(n,f,a,h)!==!1||(n.addEventListener?n.addEventListener(o,h,!1):n.attachEvent&&n.attachEvent("on"+o,h))),v.add&&(v.add.call(n,s),s.handler.guid||(s.handler.guid=u.guid)),p.push(s),i.event.global[o]=!0;n=null}},global:{},remove:function(n,r,u,f){var b;if(n.nodeType!==3&&n.nodeType!==8){u===!1&&(u=e);var d,o,s,g=0,p,a,w,v,h,c,k,l=i.hasData(n)&&i._data(n),y=l&&l.events;if(!l||!y)return;if(r&&r.type&&(u=r.handler,r=r.type),!r||typeof r=="string"&&r.charAt(0)==="."){r=r||"";for(o in y)i.event.remove(n,o+r);return}for(r=r.split(" ");o=r[g++];)if(k=o,c=null,p=o.indexOf(".")<0,a=[],p||(a=o.split("."),o=a.shift(),w=new RegExp("(^|\\.)"+i.map(a.slice(0).sort(),au).join("\\.(?:.*\\.)?")+"(\\.|$)")),h=y[o],h){if(!u){for(s=0;s=0&&(o=o.slice(0,-1),y=!0),o.indexOf(".")>=0&&(c=o.split("."),o=c.shift(),c.sort()),!!f&&!i.event.customEvent[o]||!!i.event.global[o]){if(r=typeof r=="object"?r[i.expando]?r:new i.Event(o,r):new i.Event(o),r.type=o,r.exclusive=y,r.namespace=c.join("."),r.namespace_re=new RegExp("(^|\\.)"+c.join("\\.(?:.*\\.)?")+"(\\.|$)"),(e||!f)&&(r.preventDefault(),r.stopPropagation()),!f){i.each(i.cache,function(){var t=i.expando,n=this[t];n&&n.events&&n.events[o]&&i.event.trigger(r,u,n.handle.elem)});return}if(f.nodeType===3||f.nodeType===8)return;r.result=t;r.target=f;u=u!=null?i.makeArray(u):[];u.unshift(r);s=f;h=o.indexOf(":")<0?"on"+o:"";do a=i._data(s,"handle"),r.currentTarget=s,a&&a.apply(s,u),h&&i.acceptData(s)&&s[h]&&s[h].apply(s,u)===!1&&(r.result=!1,r.preventDefault()),s=s.parentNode||s.ownerDocument||s===r.target.ownerDocument&&n;while(s&&!r.isPropagationStopped());if(!r.isDefaultPrevented()&&(v=i.event.special[o]||{},(!v._default||v._default.call(f.ownerDocument,r)===!1)&&(o!=="click"||!i.nodeName(f,"a"))&&i.acceptData(f))){try{h&&f[o]&&(l=f[h],l&&(f[h]=null),i.event.triggered=o,f[o]())}catch(p){}l&&(f[h]=l);i.event.triggered=t}return r.result}},handle:function(r){var f,h,u,e;r=i.event.fix(r||n.event);var o=((i._data(this,"events")||{})[r.type]||[]).slice(0),c=!r.exclusive&&!r.namespace,s=Array.prototype.slice.call(arguments,0);for(s[0]=r,r.currentTarget=this,f=0,h=o.length;f-1?i.map(n.options,function(n){return n.selected}).join("-"):"":i.nodeName(n,"select")&&(t=n.selectedIndex),t},w=function(n){var r=n.target,u,f;if(!!ct.test(r.nodeName)&&!r.readOnly){if(u=i._data(r,"_change_data"),f=vt(r),(n.type!=="focusout"||r.type!=="radio")&&i._data(r,"_change_data",f),u===t||f===u)return;(u!=null||f)&&(n.type="change",n.liveFired=t,i.event.trigger(n,arguments[1],r))}},i.event.special.change={filters:{focusout:w,beforedeactivate:w,click:function(n){var t=n.target,r=i.nodeName(t,"input")?t.type:"";(r==="radio"||r==="checkbox"||i.nodeName(t,"select"))&&w.call(this,n)},keydown:function(n){var t=n.target,r=i.nodeName(t,"input")?t.type:"";(n.keyCode!==13||i.nodeName(t,"textarea"))&&(n.keyCode!==32||r!=="checkbox"&&r!=="radio")&&r!=="select-multiple"||w.call(this,n)},beforeactivate:function(n){var t=n.target;i._data(t,"_change_data",vt(t))}},setup:function(){if(this.type==="file")return!1;for(var n in p)i.event.add(this,n+".specialChange",p[n]);return ct.test(this.nodeName)},teardown:function(){return i.event.remove(this,".specialChange"),ct.test(this.nodeName)}},p=i.event.special.change.filters,p.focus=p.beforeactivate);i.support.focusinBubbles||i.each({focus:"focusin",blur:"focusout"},function(n,t){function u(n){var r=i.event.fix(n);r.type=t;r.originalEvent={};i.event.trigger(r,null,r.target);r.isDefaultPrevented()&&n.preventDefault()}var f=0;i.event.special[t]={setup:function(){f++==0&&r.addEventListener(n,u,!0)},teardown:function(){--f==0&&r.removeEventListener(n,u,!0)}}});i.each(["bind","one"],function(n,r){i.fn[r]=function(n,u,f){var e,s,o,h;if(typeof n=="object"){for(s in n)this[r](s,u,n[s],f);return this}if((arguments.length===2||u===!1)&&(f=u,u=t),r==="one"?(e=function(n){return i(this).unbind(n,e),f.apply(this,arguments)},e.guid=f.guid||i.guid++):e=f,n==="unload"&&r!=="one")this.one(n,u,f);else for(o=0,h=this.length;o0?this.bind(t,n,i):this.trigger(t)};i.attrFn&&(i.attrFn[t]=!0)}),function(){function p(t,i,r,u,f,e){for(var o,h,s=0,c=u.length;s0){h=o;break}o=o[t]}u[s]=h}}function w(n,t,i,r,u,f){for(var e,s,o=0,h=r.length;o+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,v=0,b=Object.prototype.toString,h=!1,k=!0,e=/\\/g,c=/\W/,n,o,f,l,s,y;[0,0].sort(function(){return k=!1,0});n=function(t,i,e,o){var tt;if(e=e||[],i=i||r,tt=i,i.nodeType!==1&&i.nodeType!==9)return[];if(!t||typeof t!="string")return e;var p,v,h,nt,l,w,k,c,it=!0,g=n.isXML(i),s=[],rt=t;do if(a.exec(""),p=a.exec(rt),p&&(rt=p[3],s.push(p[1]),p[2])){nt=p[3];break}while(p);if(s.length>1&&d.exec(t))if(s.length===2&&u.relative[s[0]])v=y(s[0]+s[1],i);else for(v=u.relative[s[0]]?[i]:n(s.shift(),i);s.length;)t=s.shift(),u.relative[t]&&(t+=s.shift()),v=y(t,v);else if(!o&&s.length>1&&i.nodeType===9&&!g&&u.match.ID.test(s[0])&&!u.match.ID.test(s[s.length-1])&&(l=n.find(s.shift(),i,g),i=l.expr?n.filter(l.expr,l.set)[0]:l.set[0]),i)for(l=o?{expr:s.pop(),set:f(o)}:n.find(s.pop(),s.length===1&&(s[0]==="~"||s[0]==="+")&&i.parentNode?i.parentNode:i,g),v=l.expr?n.filter(l.expr,l.set):l.set,s.length>0?h=f(v):it=!1;s.length;)w=s.pop(),k=w,u.relative[w]?k=s.pop():w="",k==null&&(k=i),u.relative[w](h,k,g);else h=s=[];if(h||(h=v),h||n.error(w||t),b.call(h)==="[object Array]")if(it)if(i&&i.nodeType===1)for(c=0;h[c]!=null;c++)h[c]&&(h[c]===!0||h[c].nodeType===1&&n.contains(i,h[c]))&&e.push(v[c]);else for(c=0;h[c]!=null;c++)h[c]&&h[c].nodeType===1&&e.push(v[c]);else e.push.apply(e,h);else f(h,e);return nt&&(n(nt,tt,e,o),n.uniqueSort(e)),e};n.uniqueSort=function(n){if(l&&(h=k,n.sort(l),h))for(var t=1;t0};n.find=function(n,t,i){var f,o,c,r,s,h;if(!n)return[];for(o=0,c=u.order.length;o":function(t,i){var u,f=typeof i=="string",r=0,o=t.length,e;if(f&&!c.test(i))for(i=i.toLowerCase();r=0)?i||r.push(o):i&&(t[s]=!1));return!1},ID:function(n){return n[1].replace(e,"")},TAG:function(n){return n[1].replace(e,"").toLowerCase()},CHILD:function(t){if(t[1]==="nth"){t[2]||n.error(t[0]);t[2]=t[2].replace(/^\+|\s*/g,"");var i=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(t[2]==="even"&&"2n"||t[2]==="odd"&&"2n+1"||!/\D/.test(t[2])&&"0n+"+t[2]||t[2]);t[2]=i[1]+(i[2]||1)-0;t[3]=i[3]-0}else t[2]&&n.error(t[0]);return t[0]=v++,t},ATTR:function(n,t,i,r,f,o){var s=n[1]=n[1].replace(e,"");return!o&&u.attrMap[s]&&(n[1]=u.attrMap[s]),n[4]=(n[4]||n[5]||"").replace(e,""),n[2]==="~="&&(n[4]=" "+n[4]+" "),n},PSEUDO:function(t,i,r,f,e){if(t[1]==="not")if((a.exec(t[3])||"").length>1||/^\w/.test(t[3]))t[3]=n(t[3],null,null,i);else{var o=n.filter(t[3],i,r,!0^e);return r||f.push.apply(f,o),!1}else if(u.match.POS.test(t[0])||u.match.CHILD.test(t[0]))return!0;return t},POS:function(n){return n.unshift(!0),n}},filters:{enabled:function(n){return n.disabled===!1&&n.type!=="hidden"},disabled:function(n){return n.disabled===!0},checked:function(n){return n.checked===!0},selected:function(n){return n.parentNode&&n.parentNode.selectedIndex,n.selected===!0},parent:function(n){return!!n.firstChild},empty:function(n){return!n.firstChild},has:function(t,i,r){return!!n(r[3],t).length},header:function(n){return/h\d/i.test(n.nodeName)},text:function(n){var t=n.getAttribute("type"),i=n.type;return n.nodeName.toLowerCase()==="input"&&"text"===i&&(t===i||t===null)},radio:function(n){return n.nodeName.toLowerCase()==="input"&&"radio"===n.type},checkbox:function(n){return n.nodeName.toLowerCase()==="input"&&"checkbox"===n.type},file:function(n){return n.nodeName.toLowerCase()==="input"&&"file"===n.type},password:function(n){return n.nodeName.toLowerCase()==="input"&&"password"===n.type},submit:function(n){var t=n.nodeName.toLowerCase();return(t==="input"||t==="button")&&"submit"===n.type},image:function(n){return n.nodeName.toLowerCase()==="input"&&"image"===n.type},reset:function(n){var t=n.nodeName.toLowerCase();return(t==="input"||t==="button")&&"reset"===n.type},button:function(n){var t=n.nodeName.toLowerCase();return t==="input"&&"button"===n.type||t==="button"},input:function(n){return/input|select|textarea|button/i.test(n.nodeName)},focus:function(n){return n===n.ownerDocument.activeElement}},setFilters:{first:function(n,t){return t===0},last:function(n,t,i,r){return t===r.length-1},even:function(n,t){return t%2==0},odd:function(n,t){return t%2==1},lt:function(n,t,i){return ti[3]-0},nth:function(n,t,i){return i[3]-0===t},eq:function(n,t,i){return i[3]-0===t}},filter:{PSEUDO:function(t,i,r,f){var e=i[1],h=u.filters[e],s,o,c;if(h)return h(t,r,i,f);if(e==="contains")return(t.textContent||t.innerText||n.getText([t])||"").indexOf(i[3])>=0;if(e==="not"){for(s=i[3],o=0,c=s.length;o=0}},ID:function(n,t){return n.nodeType===1&&n.getAttribute("id")===t},TAG:function(n,t){return t==="*"&&n.nodeType===1||n.nodeName.toLowerCase()===t},CLASS:function(n,t){return(" "+(n.className||n.getAttribute("class"))+" ").indexOf(t)>-1},ATTR:function(n,t){var e=t[1],o=u.attrHandle[e]?u.attrHandle[e](n):n[e]!=null?n[e]:n.getAttribute(e),r=o+"",f=t[2],i=t[4];return o==null?f==="!=":f==="="?r===i:f==="*="?r.indexOf(i)>=0:f==="~="?(" "+r+" ").indexOf(i)>=0:i?f==="!="?r!==i:f==="^="?r.indexOf(i)===0:f==="$="?r.substr(r.length-i.length)===i:f==="|="?r===i||r.substr(0,i.length+1)===i+"-":!1:r&&o!==!1},POS:function(n,t,i,r){var e=t[2],f=u.setFilters[e];if(f)return f(n,i,t,r)}}},d=u.match.POS,g=function(n,t){return"\\"+(+t+1)};for(o in u.match)u.match[o]=new RegExp(u.match[o].source+/(?![^\[]*\])(?![^\(]*\))/.source),u.leftMatch[o]=new RegExp(/(^(?:.|\r|\n)*?)/.source+u.match[o].source.replace(/\\(\d+)/g,g));f=function(n,t){return(n=Array.prototype.slice.call(n,0),t)?(t.push.apply(t,n),t):n};try{Array.prototype.slice.call(r.documentElement.childNodes,0)[0].nodeType}catch(nt){f=function(n,t){var i=0,r=t||[],u;if(b.call(n)==="[object Array]")Array.prototype.push.apply(r,n);else if(typeof n.length=="number")for(u=n.length;i";i.insertBefore(n,i.firstChild);r.getElementById(f)&&(u.find.ID=function(n,i,r){if(typeof i.getElementById!="undefined"&&!r){var u=i.getElementById(n[1]);return u?u.id===n[1]||typeof u.getAttributeNode!="undefined"&&u.getAttributeNode("id").nodeValue===n[1]?[u]:t:[]}},u.filter.ID=function(n,t){var i=typeof n.getAttributeNode!="undefined"&&n.getAttributeNode("id");return n.nodeType===1&&i&&i.nodeValue===t});i.removeChild(n);i=n=null}(),function(){var n=r.createElement("div");n.appendChild(r.createComment(""));n.getElementsByTagName("*").length>0&&(u.find.TAG=function(n,t){var i=t.getElementsByTagName(n[1]),u,r;if(n[1]==="*"){for(u=[],r=0;i[r];r++)i[r].nodeType===1&&u.push(i[r]);i=u}return i});n.innerHTML="<\/a>";n.firstChild&&typeof n.firstChild.getAttribute!="undefined"&&n.firstChild.getAttribute("href")!=="#"&&(u.attrHandle.href=function(n){return n.getAttribute("href",2)});n=null}();r.querySelectorAll&&function(){var i=n,t=r.createElement("div"),o="__sizzle__",e;if(t.innerHTML="

<\/p>",!t.querySelectorAll||t.querySelectorAll(".TEST").length!==0){n=function(t,e,s,h){var c,l;if(e=e||r,!h&&!n.isXML(e)){if(c=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(t),c&&(e.nodeType===1||e.nodeType===9)){if(c[1])return f(e.getElementsByTagName(t),s);if(c[2]&&u.find.CLASS&&e.getElementsByClassName)return f(e.getElementsByClassName(c[2]),s)}if(e.nodeType===9){if(t==="body"&&e.body)return f([e.body],s);if(c&&c[3]){if(l=e.getElementById(c[3]),!l||!l.parentNode)return f([],s);if(l.id===c[3])return f([l],s)}try{return f(e.querySelectorAll(t),s)}catch(b){}}else if(e.nodeType===1&&e.nodeName.toLowerCase()!=="object"){var w=e,v=e.getAttribute("id"),a=v||o,y=e.parentNode,p=/^\s*[+~]/.test(t);v?a=a.replace(/'/g,"\\$&"):e.setAttribute("id",a);p&&y&&(e=e.parentNode);try{if(!p||y)return f(e.querySelectorAll("[id='"+a+"'] "+t),s)}catch(k){}finally{v||w.removeAttribute("id")}}}return i(t,e,s,h)};for(e in i)n[e]=i[e];t=null}}(),function(){var t=r.documentElement,i=t.matchesSelector||t.mozMatchesSelector||t.webkitMatchesSelector||t.msMatchesSelector,e,f;if(i){e=!i.call(r.createElement("div"),"div");f=!1;try{i.call(r.documentElement,"[test!='']:sizzle")}catch(o){f=!0}n.matchesSelector=function(t,r){if(r=r.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']"),!n.isXML(t))try{if(f||!u.match.PSEUDO.test(r)&&!/!=/.test(r)){var o=i.call(t,r);if(o||!e||t.document&&t.document.nodeType!==11)return o}}catch(s){}return n(r,null,null,[t]).length>0}}}(),function(){var n=r.createElement("div");if(n.innerHTML="

<\/div>
<\/div>",!!n.getElementsByClassName&&n.getElementsByClassName("e").length!==0){if(n.lastChild.className="e",n.getElementsByClassName("e").length===1)return;u.order.splice(1,0,"CLASS");u.find.CLASS=function(n,t,i){if(typeof t.getElementsByClassName!="undefined"&&!i)return t.getElementsByClassName(n[1])};n=null}}();n.contains=r.documentElement.contains?function(n,t){return n!==t&&(n.contains?n.contains(t):!0)}:r.documentElement.compareDocumentPosition?function(n,t){return!!(n.compareDocumentPosition(t)&16)}:function(){return!1};n.isXML=function(n){var t=(n?n.ownerDocument||n:0).documentElement;return t?t.nodeName!=="HTML":!1};y=function(t,i){for(var f,e=[],o="",s=i.nodeType?[i]:i,r,h;f=u.match.PSEUDO.exec(t);)o+=f[0],t=t.replace(u.match.PSEUDO,"");for(t=u.relative[t]?t+"*":t,r=0,h=s.length;r0)for(u=o;u0:this.filter(n).length>0)},closest:function(n,t){var f=[],e,s,r=this[0],h,u,o,c,l;if(i.isArray(n)){if(o={},c=1,r&&n.length){for(e=0,s=n.length;e-1:i(r).is(h))&&f.push({selector:u,elem:r,level:c});r=r.parentNode;c++}}return f}for(l=ki.test(n)||typeof n!="string"?i(n,t||this.context):0,e=0,s=this.length;e-1:i.find.matchesSelector(r,n)){f.push(r);break}if(r=r.parentNode,!r||!r.ownerDocument||r===t||r.nodeType===11)break}return f=f.length>1?i.unique(f):f,this.pushStack(f,"closest",n)},index:function(n){return!n||typeof n=="string"?i.inArray(this[0],n?i(n):this.parent().children()):i.inArray(n.jquery?n[0]:n,this)},add:function(n,t){var u=typeof n=="string"?i(n,t):i.makeArray(n&&n.nodeType?[n]:n),r=i.merge(this.get(),u);return this.pushStack(si(u[0])||si(r[0])?r:i.unique(r))},andSelf:function(){return this.add(this.prevObject)}});i.each({parent:function(n){var t=n.parentNode;return t&&t.nodeType!==11?t:null},parents:function(n){return i.dir(n,"parentNode")},parentsUntil:function(n,t,r){return i.dir(n,"parentNode",r)},next:function(n){return i.nth(n,2,"nextSibling")},prev:function(n){return i.nth(n,2,"previousSibling")},nextAll:function(n){return i.dir(n,"nextSibling")},prevAll:function(n){return i.dir(n,"previousSibling")},nextUntil:function(n,t,r){return i.dir(n,"nextSibling",r)},prevUntil:function(n,t,r){return i.dir(n,"previousSibling",r)},siblings:function(n){return i.sibling(n.parentNode.firstChild,n)},children:function(n){return i.sibling(n.firstChild)},contents:function(n){return i.nodeName(n,"iframe")?n.contentDocument||n.contentWindow.document:i.makeArray(n.childNodes)}},function(n,t){i.fn[n]=function(r,u){var f=i.map(this,t,r),e=bu.call(arguments);return vu.test(n)||(u=r),u&&typeof u=="string"&&(f=i.filter(u,f)),f=this.length>1&&!ku[n]?i.unique(f):f,(this.length>1||pu.test(u))&&yu.test(n)&&(f=f.reverse()),this.pushStack(f,n,e.join(","))}});i.extend({filter:function(n,t,r){return r&&(n=":not("+n+")"),t.length===1?i.find.matchesSelector(t[0],n)?[t[0]]:[]:i.find.matches(n,t)},dir:function(n,r,u){for(var e=[],f=n[r];f&&f.nodeType!==9&&(u===t||f.nodeType!==1||!i(f).is(u));)f.nodeType===1&&e.push(f),f=f[r];return e},nth:function(n,t,i){t=t||1;for(var r=0;n;n=n[i])if(n.nodeType===1&&++r===t)break;return n},sibling:function(n,t){for(var i=[];n;n=n.nextSibling)n.nodeType===1&&n!==t&&i.push(n);return i}});var du=/ jQuery\d+="(?:\d+|null)"/g,yt=/^\s+/,di=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,gi=/<([\w:]+)/,gu=/
","<\/table>"],tr:[2,"
","<\/tbody><\/table>"],td:[3,"
","<\/tr><\/tbody><\/table>"],col:[2,"
<\/tbody>","<\/colgroup><\/table>"],area:[1,"","<\/map>"],_default:[0,"",""]};u.optgroup=u.option;u.tbody=u.tfoot=u.colgroup=u.caption=u.thead;u.th=u.td;i.support.htmlSerialize||(u._default=[1,"div
","<\/div>"]);i.fn.extend({text:function(n){return i.isFunction(n)?this.each(function(t){var r=i(this);r.text(n.call(this,t,r.text()))}):typeof n!="object"&&n!==t?this.empty().append((this[0]&&this[0].ownerDocument||r).createTextNode(n)):i.text(this)},wrapAll:function(n){if(i.isFunction(n))return this.each(function(t){i(this).wrapAll(n.call(this,t))});if(this[0]){var t=i(n,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]);t.map(function(){for(var n=this;n.firstChild&&n.firstChild.nodeType===1;)n=n.firstChild;return n}).append(this)}return this},wrapInner:function(n){return i.isFunction(n)?this.each(function(t){i(this).wrapInner(n.call(this,t))}):this.each(function(){var t=i(this),r=t.contents();r.length?r.wrapAll(n):t.append(n)})},wrap:function(n){return this.each(function(){i(this).wrapAll(n)})},unwrap:function(){return this.parent().each(function(){i.nodeName(this,"body")||i(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(n){this.nodeType===1&&this.appendChild(n)})},prepend:function(){return this.domManip(arguments,!0,function(n){this.nodeType===1&&this.insertBefore(n,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(n){this.parentNode.insertBefore(n,this)});if(arguments.length){var n=i(arguments[0]);return n.push.apply(n,this.toArray()),this.pushStack(n,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(n){this.parentNode.insertBefore(n,this.nextSibling)});if(arguments.length){var n=this.pushStack(this,"after",arguments);return n.push.apply(n,i(arguments[0]).toArray()),n}},remove:function(n,t){for(var u=0,r;(r=this[u])!=null;u++)(!n||i.filter(n,[r]).length)&&(t||r.nodeType!==1||(i.cleanData(r.getElementsByTagName("*")),i.cleanData([r])),r.parentNode&&r.parentNode.removeChild(r));return this},empty:function(){for(var t=0,n;(n=this[t])!=null;t++)for(n.nodeType===1&&i.cleanData(n.getElementsByTagName("*"));n.firstChild;)n.removeChild(n.firstChild);return this},clone:function(n,t){return n=n==null?!1:n,t=t==null?n:t,this.map(function(){return i.clone(this,n,t)})},html:function(n){if(n===t)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(du,""):null;if(typeof n!="string"||nr.test(n)||!i.support.leadingWhitespace&&yt.test(n)||u[(gi.exec(n)||["",""])[1].toLowerCase()])i.isFunction(n)?this.each(function(t){var r=i(this);r.html(n.call(this,t,r.html()))}):this.empty().append(n);else{n=n.replace(di,"<$1><\/$2>");try{for(var r=0,f=this.length;r1&&s0?this.clone(!0):this).get(),i(u[f])[t](s),e=e.concat(s);return this.pushStack(e,n,u.selector)}});i.extend({clone:function(n,t,r){var e=n.cloneNode(!0),f,o,u;if((!i.support.noCloneEvent||!i.support.noCloneChecked)&&(n.nodeType===1||n.nodeType===11)&&!i.isXMLDoc(n))for(fi(n,e),f=d(n),o=d(e),u=0;f[u];++u)fi(f[u],o[u]);if(t&&(ei(n,e),r))for(f=d(n),o=d(e),u=0;f[u];++u)ei(f[u],o[u]);return f=o=null,e},clean:function(n,t,f,e){var p,s,c,h,o,y,a,b,k;for(t=t||r,typeof t.createElement=="undefined"&&(t=t.ownerDocument||t[0]&&t[0].ownerDocument||r),s=[],h=0;(o=n[h])!=null;h++)if(typeof o=="number"&&(o+=""),o){if(typeof o=="string")if(nf.test(o)){o=o.replace(di,"<$1><\/$2>");var w=(gi.exec(o)||["",""])[1].toLowerCase(),v=u[w]||u._default,d=v[0],l=t.createElement("div");for(l.innerHTML=v[1]+o+v[2];d--;)l=l.lastChild;if(!i.support.tbody)for(y=gu.test(o),a=w==="table"&&!y?l.firstChild&&l.firstChild.childNodes:v[1]==="
"&&!y?l.childNodes:[],c=a.length-1;c>=0;--c)i.nodeName(a[c],"tbody")&&!a[c].childNodes.length&&a[c].parentNode.removeChild(a[c]);!i.support.leadingWhitespace&&yt.test(o)&&l.insertBefore(t.createTextNode(yt.exec(o)[0]),l.firstChild);o=l.childNodes}else o=t.createTextNode(o);if(!i.support.appendChecked)if(o[0]&&typeof(b=o.length)=="number")for(c=0;c=0?t+"px":void 0):t}}});i.support.opacity||(i.cssHooks.opacity={get:function(n,t){return uf.test((t&&n.currentStyle?n.currentStyle.filter:n.style.filter)||"")?parseFloat(RegExp.$1)/100+"":t?"1":""},set:function(n,t){var u=n.style,e=n.currentStyle,f,r;u.zoom=1;f=i.isNaN(t)?"":"alpha(opacity="+t*100+")";r=e&&e.filter||u.filter||"";u.filter=ir.test(r)?r.replace(ir,f):r+" "+f}});i(function(){i.support.reliableMarginRight||(i.cssHooks.marginRight={get:function(n,t){var r;return i.swap(n,{display:"inline-block"},function(){r=t?l(n,"margin-right","marginRight"):n.style.marginRight}),r}})});r.defaultView&&r.defaultView.getComputedStyle&&(ur=function(n,r){var u,f,e;return(r=r.replace(ff,"-$1").toLowerCase(),!(f=n.ownerDocument.defaultView))?t:((e=f.getComputedStyle(n,null))&&(u=e.getPropertyValue(r),u!==""||i.contains(n.ownerDocument.documentElement,n)||(u=i.style(n,r))),u)});r.documentElement.currentStyle&&(fr=function(n,t){var f,i=n.currentStyle&&n.currentStyle[t],u=n.runtimeStyle&&n.runtimeStyle[t],r=n.style;return!rr.test(i)&&ef.test(i)&&(f=r.left,u&&(n.runtimeStyle.left=n.currentStyle.left),r.left=t==="fontSize"?"1em":i||0,i=r.pixelLeft+"px",r.left=f,u&&(n.runtimeStyle.left=u)),i===""?"auto":i});l=ur||fr;i.expr&&i.expr.filters&&(i.expr.filters.hidden=function(n){var t=n.offsetWidth,r=n.offsetHeight;return t===0&&r===0||!i.support.reliableHiddenOffsets&&(n.style.display||i.css(n,"display"))==="none"},i.expr.filters.visible=function(n){return!i.expr.filters.hidden(n)});var af=/%20/g,vf=/\[\]$/,er=/\r?\n/g,yf=/#.*$/,pf=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,wf=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bf=/^(?:GET|HEAD)$/,kf=/^\/\//,or=/\?/,df=/)<[^<]*)*<\/script>/gi,gf=/^(?:select|textarea)/i,sr=/\s+/,ne=/([?&])_=[^&]*/,hr=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,cr=i.fn.load,pt={},lr={},s,h;try{s=ru.href}catch(re){s=r.createElement("a");s.href="";s=s.href}h=hr.exec(s.toLowerCase())||[];i.fn.extend({load:function(n,r,u){var f,e,o,s;return typeof n!="string"&&cr?cr.apply(this,arguments):this.length?(f=n.indexOf(" "),f>=0&&(e=n.slice(f,n.length),n=n.slice(0,f)),o="GET",r&&(i.isFunction(r)?(u=r,r=t):typeof r=="object"&&(r=i.param(r,i.ajaxSettings.traditional),o="POST")),s=this,i.ajax({url:n,type:o,dataType:"html",data:r,complete:function(n,t,r){r=n.responseText;n.isResolved()&&(n.done(function(n){r=n}),s.html(e?i("
").append(r.replace(df,"")).find(e):r));u&&s.each(u,[r,t,n])}}),this):this},serialize:function(){return i.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?i.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||gf.test(this.nodeName)||wf.test(this.type))}).map(function(n,t){var r=i(this).val();return r==null?null:i.isArray(r)?i.map(r,function(n){return{name:t.name,value:n.replace(er,"\r\n")}}):{name:t.name,value:r.replace(er,"\r\n")}}).get()}});i.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(n,t){i.fn[t]=function(n){return this.bind(t,n)}});i.each(["get","post"],function(n,r){i[r]=function(n,u,f,e){return i.isFunction(u)&&(e=e||f,f=u,u=t),i.ajax({type:r,url:n,data:u,success:f,dataType:e})}});i.extend({getScript:function(n,r){return i.get(n,t,r,"script")},getJSON:function(n,t,r){return i.get(n,t,r,"json")},ajaxSetup:function(n,t){t?i.extend(!0,n,i.ajaxSettings,t):(t=n,n=i.extend(!0,i.ajaxSettings,t));for(var r in{context:1,url:1})r in t?n[r]=t[r]:r in i.ajaxSettings&&(n[r]=i.ajaxSettings[r]);return n},ajaxSettings:{url:s,isLocal:/^(?:about|app|app\-storage|.+\-extension|file|widget):$/.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":n.String,"text html":!0,"text json":i.parseJSON,"text xml":i.parseXML}},ajaxPrefilter:ti(pt),ajaxTransport:ti(lr),ajax:function(n,r){function y(n,r,h,l){if(e!==2){e=2;nt&&clearTimeout(nt);c=t;g=l||"";f.readyState=n?4:0;var a,w,y,it=h?dr(u,f,h):t,k,tt;if(n>=200&&n<300||n===304)if(u.ifModified&&((k=f.getResponseHeader("Last-Modified"))&&(i.lastModified[o]=k),(tt=f.getResponseHeader("Etag"))&&(i.etag[o]=tt)),n===304)r="notmodified",a=!0;else try{w=kr(u,it);r="success";a=!0}catch(ut){r="parsererror";y=ut}else y=r,(!r||n)&&(r="error",n<0&&(n=0));f.status=n;f.statusText=r;a?d.resolveWith(s,[w,r,f]):d.rejectWith(s,[f,r,y]);f.statusCode(p);p=t;v&&b.trigger("ajax"+(a?"Success":"Error"),[f,u,a?w:y]);rt.resolveWith(s,[f,r]);v&&(b.trigger("ajaxComplete",[f,u]),--i.active||i.event.trigger("ajaxStop"))}}var tt,it;typeof n=="object"&&(r=n,n=t);r=r||{};var u=i.ajaxSetup({},r),s=u.context||u,b=s!==u&&(s.nodeType||s instanceof i)?i(s):i.event,d=i.Deferred(),rt=i._Deferred(),p=u.statusCode||{},o,ut={},ft={},g,w,c,nt,l,e=0,v,a,f={readyState:0,setRequestHeader:function(n,t){if(!e){var i=n.toLowerCase();n=ft[i]=ft[i]||n;ut[n]=t}return this},getAllResponseHeaders:function(){return e===2?g:null},getResponseHeader:function(n){var i;if(e===2){if(!w)for(w={};i=pf.exec(g);)w[i[1].toLowerCase()]=i[2];i=w[n.toLowerCase()]}return i===t?null:i},overrideMimeType:function(n){return e||(u.mimeType=n),this},abort:function(n){return n=n||"abort",c&&c.abort(n),y(0,n),this}};if(d.promise(f),f.success=f.done,f.error=f.fail,f.complete=rt.done,f.statusCode=function(n){if(n){var t;if(e<2)for(t in n)p[t]=[p[t],n[t]];else t=n[f.status],f.then(t,t)}return this},u.url=((n||u.url)+"").replace(yf,"").replace(kf,h[1]+"//"),u.dataTypes=i.trim(u.dataType||"*").toLowerCase().split(sr),u.crossDomain==null&&(l=hr.exec(u.url.toLowerCase()),u.crossDomain=!(!l||l[1]==h[1]&&l[2]==h[2]&&(l[3]||(l[1]==="http:"?80:443))==(h[3]||(h[1]==="http:"?80:443)))),u.data&&u.processData&&typeof u.data!="string"&&(u.data=i.param(u.data,u.traditional)),k(pt,u,r,f),e===2)return!1;v=u.global;u.type=u.type.toUpperCase();u.hasContent=!bf.test(u.type);v&&i.active++==0&&i.event.trigger("ajaxStart");u.hasContent||(u.data&&(u.url+=(or.test(u.url)?"&":"?")+u.data),o=u.url,u.cache===!1&&(tt=i.now(),it=u.url.replace(ne,"$1_="+tt),u.url=it+(it===u.url?(or.test(u.url)?"&":"?")+"_="+tt:"")));(u.data&&u.hasContent&&u.contentType!==!1||r.contentType)&&f.setRequestHeader("Content-Type",u.contentType);u.ifModified&&(o=o||u.url,i.lastModified[o]&&f.setRequestHeader("If-Modified-Since",i.lastModified[o]),i.etag[o]&&f.setRequestHeader("If-None-Match",i.etag[o]));f.setRequestHeader("Accept",u.dataTypes[0]&&u.accepts[u.dataTypes[0]]?u.accepts[u.dataTypes[0]]+(u.dataTypes[0]!=="*"?", */*; q=0.01":""):u.accepts["*"]);for(a in u.headers)f.setRequestHeader(a,u.headers[a]);if(u.beforeSend&&(u.beforeSend.call(s,f,u)===!1||e===2))return f.abort(),!1;for(a in{success:1,error:1,complete:1})f[a](u[a]);if(c=k(lr,u,r,f),c){f.readyState=1;v&&b.trigger("ajaxSend",[f,u]);u.async&&u.timeout>0&&(nt=setTimeout(function(){f.abort("timeout")},u.timeout));try{e=1;c.send(ut,y)}catch(et){status<2?y(-1,et):i.error(et)}}else y(-1,"No Transport");return f},param:function(n,r){var u=[],e=function(n,t){t=i.isFunction(t)?t():t;u[u.length]=encodeURIComponent(n)+"="+encodeURIComponent(t)},f;if(r===t&&(r=i.ajaxSettings.traditional),i.isArray(n)||n.jquery&&!i.isPlainObject(n))i.each(n,function(){e(this.name,this.value)});else for(f in n)ft(f,n[f],r,e);return u.join("&").replace(af,"+")}});i.extend({active:0,lastModified:{},etag:{}});ar=i.now();b=/(\=)\?(&|$)|\?\?/i;i.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return i.expando+"_"+ar++}});i.ajaxPrefilter("json jsonp",function(t,r,u){var h=t.contentType==="application/x-www-form-urlencoded"&&typeof t.data=="string";if(t.dataTypes[0]==="jsonp"||t.jsonp!==!1&&(b.test(t.url)||h&&b.test(t.data))){var o,f=t.jsonpCallback=i.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,c=n[f],e=t.url,s=t.data,l="$1"+f+"$2";return t.jsonp!==!1&&(e=e.replace(b,l),t.url===e&&(h&&(s=s.replace(b,l)),t.data===s&&(e+=(/\?/.test(e)?"&":"?")+t.jsonp+"="+f))),t.url=e,t.data=s,n[f]=function(n){o=[n]},u.always(function(){n[f]=c;o&&i.isFunction(c)&&n[f](o[0])}),t.converters["script json"]=function(){return o||i.error(f+" was not called"),o[0]},t.dataTypes[0]="json","script"}});i.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(n){return i.globalEval(n),n}}});i.ajaxPrefilter("script",function(n){n.cache===t&&(n.cache=!1);n.crossDomain&&(n.type="GET",n.global=!1)});i.ajaxTransport("script",function(n){if(n.crossDomain){var i,u=r.head||r.getElementsByTagName("head")[0]||r.documentElement;return{send:function(f,e){i=r.createElement("script");i.async="async";n.scriptCharset&&(i.charset=n.scriptCharset);i.src=n.url;i.onload=i.onreadystatechange=function(n,r){(r||!i.readyState||/loaded|complete/.test(i.readyState))&&(i.onload=i.onreadystatechange=null,u&&i.parentNode&&u.removeChild(i),i=t,r||e(200,"success"))};u.insertBefore(i,u.firstChild)},abort:function(){i&&i.onload(0,1)}}}});it=n.ActiveXObject?function(){for(var n in a)a[n](0,1)}:!1;vr=0;i.ajaxSettings.xhr=n.ActiveXObject?function(){return!this.isLocal&&ni()||br()}:ni,function(n){i.extend(i.support,{ajax:!!n,cors:!!n&&"withCredentials"in n})}(i.ajaxSettings.xhr());i.support.ajax&&i.ajaxTransport(function(r){if(!r.crossDomain||i.support.cors){var u;return{send:function(f,e){var o=r.xhr(),h,s;if(r.username?o.open(r.type,r.url,r.async,r.username,r.password):o.open(r.type,r.url,r.async),r.xhrFields)for(s in r.xhrFields)o[s]=r.xhrFields[s];r.mimeType&&o.overrideMimeType&&o.overrideMimeType(r.mimeType);r.crossDomain||f["X-Requested-With"]||(f["X-Requested-With"]="XMLHttpRequest");try{for(s in f)o.setRequestHeader(s,f[s])}catch(c){}o.send(r.hasContent&&r.data||null);u=function(n,f){var s,v,y,c,l;try{if(u&&(f||o.readyState===4))if(u=t,h&&(o.onreadystatechange=i.noop,it&&delete a[h]),f)o.readyState!==4&&o.abort();else{s=o.status;y=o.getAllResponseHeaders();c={};l=o.responseXML;l&&l.documentElement&&(c.xml=l);c.text=o.responseText;try{v=o.statusText}catch(w){v=""}!s&&r.isLocal&&!r.crossDomain?s=c.text?200:404:s===1223&&(s=204)}}catch(p){f||e(-1,p)}c&&e(s,v,c,y)};!r.async||o.readyState===4?u():(h=++vr,it&&(a||(a={},i(n).unload(it)),a[h]=u),o.onreadystatechange=u)},abort:function(){u&&u(0,1)}}}});var wt={},f,v,te=/^(?:toggle|show|hide)$/,ie=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,y,yr=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],rt,bt=n.webkitRequestAnimationFrame||n.mozRequestAnimationFrame||n.oRequestAnimationFrame;i.fn.extend({show:function(n,t,r){var u,e,f,o;if(n||n===0)return this.animate(c("show",3),n,t,r);for(f=0,o=this.length;f=t.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();t.animatedProperties[this.prop]=!0;for(s in t.animatedProperties)t.animatedProperties[s]!==!0&&(o=!1);if(o){if(t.overflow==null||i.support.shrinkWrapBlocks||i.each(["","X","Y"],function(n,i){r.style["overflow"+i]=t.overflow[n]}),t.hide&&i(r).hide(),t.hide||t.show)for(e in t.animatedProperties)i.style(r,e,t.orig[e]);t.complete.call(r)}return!1}return t.duration==Infinity?this.now=u:(f=u-this.startTime,this.state=f/t.duration,this.pos=i.easing[t.animatedProperties[this.prop]](this.state,f,0,1,t.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update(),!0}};i.extend(i.fx,{tick:function(){for(var n=i.timers,t=0;t
<\/div><\/div>
<\/td><\/tr><\/table>";t.insertBefore(u,t.firstChild);f=u.firstChild;n=f.firstChild;e=f.nextSibling.firstChild.firstChild;this.doesNotAddBorder=n.offsetTop!==5;this.doesAddBorderForTableAndCells=e.offsetTop===5;n.style.position="fixed";n.style.top="20px";this.supportsFixedPosition=n.offsetTop===20||n.offsetTop===15;n.style.position=n.style.top="";f.style.overflow="hidden";f.style.position="relative";this.subtractsBorderForOverflowNotVisible=n.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=t.offsetTop!==o;t.removeChild(u);i.offset.initialize=i.noop},bodyOffset:function(n){var t=n.offsetTop,r=n.offsetLeft;return i.offset.initialize(),i.offset.doesNotIncludeMarginInBodyOffset&&(t+=parseFloat(i.css(n,"marginTop"))||0,r+=parseFloat(i.css(n,"marginLeft"))||0),{top:t,left:r}},setOffset:function(n,t,r){var f=i.css(n,"position");f==="static"&&(n.style.position="relative");var e=i(n),o=e.offset(),l=i.css(n,"top"),a=i.css(n,"left"),v=(f==="absolute"||f==="fixed")&&i.inArray("auto",[l,a])>-1,u={},s={},h,c;v?(s=e.position(),h=s.top,c=s.left):(h=parseFloat(l)||0,c=parseFloat(a)||0);i.isFunction(t)&&(t=t.call(n,r,o));t.top!=null&&(u.top=t.top-o.top+h);t.left!=null&&(u.left=t.left-o.left+c);"using"in t?t.using.call(n,u):e.css(u)}};i.fn.extend({position:function(){if(!this[0])return null;var u=this[0],n=this.offsetParent(),t=this.offset(),r=kt.test(n[0].nodeName)?{top:0,left:0}:n.offset();return t.top-=parseFloat(i.css(u,"marginTop"))||0,t.left-=parseFloat(i.css(u,"marginLeft"))||0,r.top+=parseFloat(i.css(n[0],"borderTopWidth"))||0,r.left+=parseFloat(i.css(n[0],"borderLeftWidth"))||0,{top:t.top-r.top,left:t.left-r.left}},offsetParent:function(){return this.map(function(){for(var n=this.offsetParent||r.body;n&&!kt.test(n.nodeName)&&i.css(n,"position")==="static";)n=n.offsetParent;return n})}});i.each(["Left","Top"],function(n,r){var u="scroll"+r;i.fn[u]=function(r){var e,f;return r===t?(e=this[0],!e)?null:(f=ut(e),f?"pageXOffset"in f?f[n?"pageYOffset":"pageXOffset"]:i.support.boxModel&&f.document.documentElement[u]||f.document.body[u]:e[u]):this.each(function(){f=ut(this);f?f.scrollTo(n?i(f).scrollLeft():r,n?r:i(f).scrollTop()):this[u]=r})}});i.each(["Height","Width"],function(n,r){var u=r.toLowerCase();i.fn["inner"+r]=function(){var n=this[0];return n&&n.style?parseFloat(i.css(n,u,"padding")):null};i.fn["outer"+r]=function(n){var t=this[0];return t&&t.style?parseFloat(i.css(t,u,n?"margin":"border")):null};i.fn[u]=function(n){var f=this[0],e,o,s;return f?i.isFunction(n)?this.each(function(t){var r=i(this);r[u](n.call(this,t,r[u]()))}):i.isWindow(f)?(e=f.document.documentElement["client"+r],f.document.compatMode==="CSS1Compat"&&e||f.document.body["client"+r]||e):f.nodeType===9?Math.max(f.documentElement["client"+r],f.body["scroll"+r],f.documentElement["scroll"+r],f.body["offset"+r],f.documentElement["offset"+r]):n===t?(o=i.css(f,u),s=parseFloat(o),i.isNaN(s)?o:s):this.css(u,typeof n=="string"?n:n+"px"):n==null?null:this}});n.jQuery=n.$=i})(window);