﻿(function(d,b){var c=d.document,Ub=d.navigator,Zb=d.location,a=function(){var a=function(b,c){return new a.fn.init(b,c,m)},F=d.jQuery,I=d.$,m,z=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,n=/\S/,p=/^\s+/,o=/\s+$/,y=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,v=/^[\],:{}\s]*$/,t=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,u=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,s=/(?:^|:|,)(?:\s*\[)+/g,E=/(webkit)[ \/]([\w.]+)/,G=/(opera)(?:.*version)?[ \/]([\w.]+)/,H=/(msie) ([\w.]+)/,C=/(mozilla)(?:.*? rv:([\w.]+))?/,x=/-([a-z]|[0-9])/ig,A=/^-ms-/,w=function(b,a){return (a+"").toUpperCase()},B=Ub.userAgent,g,h,e,D=Object.prototype.toString,i=Object.prototype.hasOwnProperty,j=Array.prototype.push,f=Array.prototype.slice,r=String.prototype.trim,q=Array.prototype.indexOf,l={};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"){if(d.charAt(0)==="<"&&d.charAt(d.length-1)===">"&&d.length>=3)f=[null,d,null];else f=z.exec(d);if(f&&(f[1]||!e))if(f[1]){e=e instanceof a?e[0]:e;j=e?e.ownerDocument||e:c;g=y.exec(d);if(g)if(a.isPlainObject(e)){d=[c.createElement(g[1])];a.fn.attr.call(d,e,true)}else d=[j.createElement(g[1])];else{g=a.buildFragment([f[1]],[j]);d=(g.cacheable?a.clone(g.fragment):g.fragment).childNodes}return a.merge(this,d)}else{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}else if(!e||e.jquery)return (e||i).find(d);else return this.constructor(e).find(d)}else if(a.isFunction(d))return i.ready(d);if(d.selector!==b){this.selector=d.selector;this.context=d.context}return a.makeArray(d,this)},selector:"",jquery:"1.7.1",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();if(a.isArray(c))j.apply(b,c);else a.merge(b,c);b.prevObject=this;b.context=this.context;if(d==="find")b.selector=this.selector+(this.selector?" ":"")+e;else if(d)b.selector=this.selector+"."+d+"("+e+")";return b},each:function(b,c){return a.each(this,b,c)},ready:function(b){a.bindReady();h.add(b);return this},eq:function(a){a=+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 i,g,e,d,h,j,c=arguments[0]||{},f=1,l=arguments.length,k=false;if(typeof c==="boolean"){k=c;c=arguments[1]||{};f=2}if(typeof c!=="object"&&!a.isFunction(c))c={};if(l===f){c=this;--f}for(;f<l;f++)if((i=arguments[f])!=null)for(g in i){e=c[g];d=i[g];if(c===d)continue;if(k&&d&&(a.isPlainObject(d)||(h=a.isArray(d)))){if(h){h=false;j=e&&a.isArray(e)?e:[]}else j=e&&a.isPlainObject(e)?e:{};c[g]=a.extend(k,j,d)}else if(d!==b)c[g]=d}return c};a.extend({noConflict:function(b){if(d.$===a)d.$=I;if(b&&d.jQuery===a)d.jQuery=F;return a},isReady:false,readyWait:1,holdReady:function(b){if(b)a.readyWait++;else a.ready(true)},ready:function(b){if(b===true&&!--a.readyWait||b!==true&&!a.isReady){if(!c.body)return setTimeout(a.ready,1);a.isReady=true;if(b!==true&&--a.readyWait>0)return;h.fireWith(c,[a]);if(a.fn.trigger)a(c).trigger("ready").off("ready")}},bindReady:function(){if(h)return;h=a.Callbacks("once memory");if(c.readyState==="complete")return setTimeout(a.ready,1);if(c.addEventListener){c.addEventListener("DOMContentLoaded",e,false);d.addEventListener("load",a.ready,false)}else if(c.attachEvent){c.attachEvent("onreadystatechange",e);d.attachEvent("onload",a.ready);var b=false;try{b=d.frameElement==null}catch(f){}if(c.documentElement.doScroll&&b)k()}},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},isNumeric:function(a){return !isNaN(parseFloat(a))&&isFinite(a)},type:function(a){return a==null?String(a):l[D.call(a)]||"object"},isPlainObject:function(c){if(!c||a.type(c)!=="object"||c.nodeType||a.isWindow(c))return false;try{if(c.constructor&&!i.call(c,"constructor")&&!i.call(c.constructor.prototype,"isPrototypeOf"))return false}catch(e){return false}var d;for(d in c);return d===b||i.call(c,d)},isEmptyObject:function(a){for(var b in a)return false;return true},error:function(a){throw new Error(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(v.test(b.replace(t,"@").replace(u,"]").replace(s,"")))return new Function("return "+b)();a.error("Invalid JSON: "+b)},parseXML:function(e){var c,f;try{if(d.DOMParser){f=new DOMParser;c=f.parseFromString(e,"text/xml")}else{c=new ActiveXObject("Microsoft.XMLDOM");c.async="false";c.loadXML(e)}}catch(g){c=b}if(!c||!c.documentElement||c.getElementsByTagName("parsererror").length)a.error("Invalid XML: "+e);return c},noop:function(){},globalEval:function(a){if(a&&n.test(a))(d.execScript||function(a){d["eval"].call(d,a)})(a)},camelCase:function(a){return a.replace(A,"ms-").replace(x,w)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(c,f,h){var d,e=0,g=c.length,i=g===b||a.isFunction(c);if(h){if(i){for(d in c)if(f.apply(c[d],h)===false)break}else for(;e<g;)if(f.apply(c[e++],h)===false)break}else if(i){for(d in c)if(f.call(c[d],d,c[d])===false)break}else for(;e<g;)if(f.call(c[e],e,c[e++])===false)break;return c},trim:r?function(a){return a==null?"":r.call(a)}:function(a){return a==null?"":a.toString().replace(p,"").replace(o,"")},makeArray:function(b,e){var d=e||[];if(b!=null){var c=a.type(b);if(b.length==null||c==="string"||c==="function"||c==="regexp"||a.isWindow(b))j.call(d,b);else a.merge(d,b)}return d},inArray:function(d,b,a){var c;if(b){if(q)return q.call(b,d,a);c=b.length;a=a?a<0?Math.max(0,c+a):a:0;for(;a<c;a++)if(a in b&&b[a]===d)return a}return -1},merge:function(c,a){var e=c.length,d=0;if(typeof a.length==="number")for(var f=a.length;d<f;d++)c[e++]=a[d];else while(a[d]!==b)c[e++]=a[d++];c.length=e;return c},grep:function(b,f,c){var e=[],d;c=!!c;for(var a=0,g=b.length;a<g;a++){d=!!f(b[a],a);if(c!==d)e.push(b[a])}return e},map:function(c,i,j){var e,h,f=[],g=0,d=c.length,k=c instanceof a||d!==b&&typeof d==="number"&&(d>0&&c[0]&&c[d-1]||d===0||a.isArray(c));if(k)for(;g<d;g++){e=i(c[g],g,j);if(e!=null)f[f.length]=e}else for(h in c){e=i(c[h],h,j);if(e!=null)f[f.length]=e}return f.concat.apply([],f)},guid:1,proxy:function(c,d){if(typeof d==="string"){var h=c[d];d=c;c=h}if(!a.isFunction(c))return b;var g=f.call(arguments,2),e=function(){return c.apply(d,g.concat(f.call(arguments)))};e.guid=c.guid=c.guid||e.guid||a.guid++;return e},access:function(c,d,f,g,h,j){var i=c.length;if(typeof d==="object"){for(var k in d)a.access(c,k,d[k],g,h,f);return c}if(f!==b){g=!j&&g&&a.isFunction(f);for(var e=0;e<i;e++)h(c[e],d,g?f.call(c[e],e,h(c[e],d)):f,j);return c}return i?h(c[0],d):b},now:function(){return (new Date).getTime()},uaMatch:function(a){a=a.toLowerCase();var b=E.exec(a)||G.exec(a)||H.exec(a)||a.indexOf("compatible")<0&&C.exec(a)||[];return {browser:b[1]||"",version:b[2]||"0"}},sub:function(){function b(a,c){return new b.fn.init(a,c)}a.extend(true,b,this);b.superclass=this;b.fn=b.prototype=this();b.fn.constructor=b;b.sub=this.sub;b.fn.init=function e(e,c){if(c&&c instanceof a&&!(c instanceof b))c=b(c);return a.fn.init.call(this,e,c,d)};b.fn.init.prototype=b.fn;var d=b(c);return b},browser:{}});a.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(b,a){l["[object "+a+"]"]=a.toLowerCase()});g=a.uaMatch(B);if(g.browser){a.browser[g.browser]=true;a.browser.version=g.version}if(a.browser.webkit)a.browser.safari=true;if(n.test(" ")){p=/^[\s\xA0]+/;o=/[\s\xA0]+$/}m=a(c);if(c.addEventListener)e=function(){c.removeEventListener("DOMContentLoaded",e,false);a.ready()};else if(c.attachEvent)e=function(){if(c.readyState==="complete"){c.detachEvent("onreadystatechange",e);a.ready()}};function k(){if(a.isReady)return;try{c.documentElement.doScroll("left")}catch(b){setTimeout(k,1);return}a.ready()}return a}(),ab={};function Ib(a){var d=ab[a]={},b,c;a=a.split(/\s+/);for(b=0,c=a.length;b<c;b++)d[a[b]]=true;return d}a.Callbacks=function(e){e=e?ab[e]||Ib(e):{};var c=[],f=[],d,j,k,i,g,m=function(i){var d,g,b,f,j;for(d=0,g=i.length;d<g;d++){b=i[d];f=a.type(b);if(f==="array")m(b);else if(f==="function")if(!e.unique||!h.has(b))c.push(b)}},l=function(b,a){a=a||[];d=!e.memory||[b,a];j=true;g=k||0;k=0;i=c.length;for(;c&&g<i;g++)if(c[g].apply(b,a)===false&&e.stopOnFalse){d=true;break}j=false;if(c)if(!e.once){if(f&&f.length){d=f.shift();h.fireWith(d[0],d[1])}}else if(d===true)h.disable();else c=[]},h={add:function(){if(c){var a=c.length;m(arguments);if(j)i=c.length;else if(d&&d!==true){k=a;l(d[0],d[1])}}return this},remove:function(){if(c){var d=arguments,b=0,f=d.length;for(;b<f;b++)for(var a=0;a<c.length;a++)if(d[b]===c[a]){if(j)if(a<=i){i--;if(a<=g)g--}c.splice(a--,1);if(e.unique)break}}return this},has:function(d){if(c){var a=0,b=c.length;for(;a<b;a++)if(d===c[a])return true}return false},empty:function(){c=[];return this},disable:function(){c=f=d=b;return this},disabled:function(){return !c},lock:function(){f=b;if(!d||d===true)h.disable();return this},locked:function(){return !f},fireWith:function(a,b){if(f)if(j){if(!e.once)f.push([a,b])}else if(!(e.once&&d))l(a,b);return this},fire:function(){h.fireWith(this,arguments);return this},fired:function(){return !!d}};return h};var y=[].slice;a.extend({Deferred:function(j){var e=a.Callbacks("once memory"),f=a.Callbacks("once memory"),d=a.Callbacks("memory"),i="pending",h={resolve:e,reject:f,notify:d},g={done:e.add,fail:f.add,progress:d.add,state:function(){return i},isResolved:e.fired,isRejected:f.fired,then:function(c,d,a){b.done(c).fail(d).progress(a);return this},always:function(){b.done.apply(b,arguments).fail.apply(b,arguments);return this},pipe:function(d,e,c){return a.Deferred(function(f){a.each({done:[d,"resolve"],fail:[e,"reject"],progress:[c,"notify"]},function(d,g){var h=g[0],e=g[1],c;if(a.isFunction(h))b[d](function(){c=h.apply(this,arguments);if(c&&a.isFunction(c.promise))c.promise().then(f.resolve,f.reject,f.notify);else f[e+"With"](this===b?f:this,[c])});else b[d](f[e])})}).promise()},promise:function(a){if(a==null)a=g;else for(var b in g)a[b]=g[b];return a}},b=g.promise({}),c;for(c in h){b[c]=h[c].fire;b[c+"With"]=h[c].fireWith}b.done(function(){i="resolved"},f.disable,d.lock).fail(function(){i="rejected"},e.disable,d.lock);if(j)j.call(b,b);return b},when:function(f){var c=y.call(arguments,0),d=0,e=c.length,i=new Array(e),g=e,l=e,b=e<=1&&f&&a.isFunction(f.promise)?f:a.Deferred(),h=b.promise();function k(a){return function(d){c[a]=arguments.length>1?y.call(arguments,0):d;if(!--g)b.resolveWith(b,c)}}function j(a){return function(c){i[a]=arguments.length>1?y.call(arguments,0):c;b.notifyWith(h,i)}}if(e>1){for(;d<e;d++)if(c[d]&&c[d].promise&&a.isFunction(c[d].promise))c[d].promise().then(k(d),b.reject,j(d));else--g;if(!g)b.resolveWith(b,c)}else if(b!==f)b.resolveWith(b,e?[f]:[]);return h}});a.support=function(){var e,o,j,m,n,f,i,g,k,r,l,p,h,b=c.createElement("div"),q=c.documentElement;b.setAttribute("className","t");b.innerHTML="   <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/>";o=b.getElementsByTagName("*");j=b.getElementsByTagName("a")[0];if(!o||!o.length||!j)return {};m=c.createElement("select");n=m.appendChild(c.createElement("option"));f=b.getElementsByTagName("input")[0];e={leadingWhitespace:b.firstChild.nodeType===3,tbody:!b.getElementsByTagName("tbody").length,htmlSerialize:!!b.getElementsByTagName("link").length,style:/top/.test(j.getAttribute("style")),hrefNormalized:j.getAttribute("href")==="/a",opacity:/^0.55/.test(j.style.opacity),cssFloat:!!j.style.cssFloat,checkOn:f.value==="on",optSelected:n.selected,getSetAttribute:b.className!=="t",enctype:!!c.createElement("form").enctype,html5Clone:c.createElement("nav").cloneNode(true).outerHTML!=="<:nav></:nav>",submitBubbles:true,changeBubbles:true,focusinBubbles:false,deleteExpando:true,noCloneEvent:true,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableMarginRight:true};f.checked=true;e.noCloneChecked=f.cloneNode(true).checked;m.disabled=true;e.optDisabled=!n.disabled;try{delete b.test}catch(s){e.deleteExpando=false}if(!b.addEventListener&&b.attachEvent&&b.fireEvent){b.attachEvent("onclick",function(){e.noCloneEvent=false});b.cloneNode(true).fireEvent("onclick")}f=c.createElement("input");f.value="t";f.setAttribute("type","radio");e.radioValue=f.value==="t";f.setAttribute("checked","checked");b.appendChild(f);g=c.createDocumentFragment();g.appendChild(b.lastChild);e.checkClone=g.cloneNode(true).cloneNode(true).lastChild.checked;e.appendChecked=f.checked;g.removeChild(f);g.appendChild(b);b.innerHTML="";if(d.getComputedStyle){i=c.createElement("div");i.style.width="0";i.style.marginRight="0";b.style.width="2px";b.appendChild(i);e.reliableMarginRight=(parseInt((d.getComputedStyle(i,null)||{marginRight:0}).marginRight,10)||0)===0}if(b.attachEvent)for(p in {submit:1,change:1,focusin:1}){l="on"+p;h=l in b;if(!h){b.setAttribute(l,"return;");h=typeof b[l]==="function"}e[p+"Bubbles"]=h}g.removeChild(b);g=m=n=i=b=f=null;a(function(){var f,i,d,r,q,g,l,n,o,m,p,j=c.getElementsByTagName("body")[0];if(!j)return;l=1;n="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;";o="visibility:hidden;border:0;";m="style='"+n+"border:5px solid #000;padding:0;'";p="<div "+m+"><div></div></div>"+"<table "+m+" cellpadding='0' cellspacing='0'>"+"<tr><td></td></tr></table>";f=c.createElement("div");f.style.cssText=o+"width:0;height:0;position:static;top:0;margin-top:"+l+"px";j.insertBefore(f,j.firstChild);b=c.createElement("div");f.appendChild(b);b.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>";k=b.getElementsByTagName("td");h=k[0].offsetHeight===0;k[0].style.display="";k[1].style.display="none";e.reliableHiddenOffsets=h&&k[0].offsetHeight===0;b.innerHTML="";b.style.width=b.style.paddingLeft="1px";a.boxModel=e.boxModel=b.offsetWidth===2;if(typeof b.style.zoom!=="undefined"){b.style.display="inline";b.style.zoom=1;e.inlineBlockNeedsLayout=b.offsetWidth===2;b.style.display="";b.innerHTML="<div style='width:4px;'></div>";e.shrinkWrapBlocks=b.offsetWidth!==2}b.style.cssText=n+o;b.innerHTML=p;i=b.firstChild;d=i.firstChild;q=i.nextSibling.firstChild.firstChild;g={doesNotAddBorder:d.offsetTop!==5,doesAddBorderForTableAndCells:q.offsetTop===5};d.style.position="fixed";d.style.top="20px";g.fixedPosition=d.offsetTop===20||d.offsetTop===15;d.style.position=d.style.top="";i.style.overflow="hidden";i.style.position="relative";g.subtractsBorderForOverflowNotVisible=d.offsetTop===-5;g.doesNotIncludeMarginInBodyOffset=j.offsetTop!==l;j.removeChild(f);b=f=null;a.extend(e,g)});return e}();var lc=/^(?:\{.*\}|\[.*\])$/,Rb=/([A-Z])/g;a.extend({cache:{},uuid:0,expando:"jQuery"+(a.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:true,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:true},hasData:function(b){b=b.nodeType?a.cache[b[a.expando]]:b[a.expando];return !!b&&!w(b)},data:function(g,f,k,l){if(!a.acceptData(g))return;var m,d,i,h=a.expando,n=typeof f==="string",j=g.nodeType,e=j?a.cache:g,c=j?g[h]:g[h]&&h,o=f==="events";if((!c||!e[c]||!o&&!l&&!e[c].data)&&n&&k===b)return;if(!c)if(j)g[h]=c=++a.uuid;else c=h;if(!e[c]){e[c]={};if(!j)e[c].toJSON=a.noop}if(typeof f==="object"||typeof f==="function")if(l)e[c]=a.extend(e[c],f);else e[c].data=a.extend(e[c].data,f);m=d=e[c];if(!l){if(!d.data)d.data={};d=d.data}if(k!==b)d[a.camelCase(f)]=k;if(o&&!d[f])return m.events;if(n){i=d[f];if(i==null)i=d[a.camelCase(f)]}else i=d;return i},removeData:function(d,b,j){if(!a.acceptData(d))return;var f,h,k,g=a.expando,i=d.nodeType,c=i?a.cache:d,e=i?d[g]:g;if(!c[e])return;if(b){f=j?c[e]:c[e].data;if(f){if(!a.isArray(b))if(b in f)b=[b];else{b=a.camelCase(b);if(b in f)b=[b];else b=b.split(" ")}for(h=0,k=b.length;h<k;h++)delete f[b[h]];if(!(j?w:a.isEmptyObject)(f))return}}if(!j){delete c[e].data;if(!w(c[e]))return}if(a.support.deleteExpando||!c.setInterval)delete c[e];else c[e]=null;if(i)if(a.support.deleteExpando)delete d[g];else if(d.removeAttribute)d.removeAttribute(g);else d[g]=null},_data:function(c,d,b){return a.data(c,d,b,true)},acceptData:function(c){if(c.nodeName){var b=a.noData[c.nodeName.toLowerCase()];if(b)return !(b===true||c.getAttribute("classid")!==b)}return true}});a.fn.extend({data:function(e,g){var c,h,f,d=null;if(typeof e==="undefined"){if(this.length){d=a.data(this[0]);if(this[0].nodeType===1&&!a._data(this[0],"parsedAttrs")){h=this[0].attributes;for(var i=0,j=h.length;i<j;i++){f=h[i].name;if(f.indexOf("data-")===0){f=a.camelCase(f.substring(5));hb(this[0],f,d[f])}}a._data(this[0],"parsedAttrs",true)}}return d}else if(typeof e==="object")return this.each(function(){a.data(this,e)});c=e.split(".");c[1]=c[1]?"."+c[1]:"";if(g===b){d=this.triggerHandler("getData"+c[1]+"!",[c[0]]);if(d===b&&this.length){d=a.data(this[0],e);d=hb(this[0],e,d)}return d===b&&c[1]?this.data(c[0]):d}else return this.each(function(){var d=a(this),b=[c[0],g];d.triggerHandler("setData"+c[1]+"!",b);a.data(this,e,g);d.triggerHandler("changeData"+c[1]+"!",b)})},removeData:function(b){return this.each(function(){a.removeData(this,b)})}});function hb(d,e,c){if(c===b&&d.nodeType===1){var f="data-"+e.replace(Rb,"-$1").toLowerCase();c=d.getAttribute(f);if(typeof c==="string"){try{c=c==="true"?true:c==="false"?false:c==="null"?null:a.isNumeric(c)?parseFloat(c):lc.test(c)?a.parseJSON(c):c}catch(g){}a.data(d,e,c)}else c=b}return c}function w(c){for(var b in c){if(b==="data"&&a.isEmptyObject(c[b]))continue;if(b!=="toJSON")return false}return true}function G(b,c,h){var d=c+"defer",e=c+"queue",f=c+"mark",g=a._data(b,d);if(g&&(h==="queue"||!a._data(b,e))&&(h==="mark"||!a._data(b,f)))setTimeout(function(){if(!a._data(b,e)&&!a._data(b,f)){a.removeData(b,d,true);g.fire()}},0)}a.extend({_mark:function(c,b){if(c){b=(b||"fx")+"mark";a._data(c,b,(a._data(c,b)||0)+1)}},_unmark:function(d,b,c){if(d!==true){c=b;b=d;d=false}if(b){c=c||"fx";var e=c+"mark",f=d?0:(a._data(b,e)||1)-1;if(f)a._data(b,e,f);else{a.removeData(b,e,true);G(b,c,"mark")}}},queue:function(e,d,c){var b;if(e){d=(d||"fx")+"queue";b=a._data(e,d);if(c)if(!b||a.isArray(c))b=a._data(e,d,a.makeArray(c));else b.push(c);return b||[]}},dequeue:function(c,b){b=b||"fx";var d=a.queue(c,b),e=d.shift(),f={};if(e==="inprogress")e=d.shift();if(e){if(b==="fx")d.unshift("inprogress");a._data(c,b+".run",f);e.call(c,function(){a.dequeue(c,b)},f)}if(!d.length){a.removeData(c,b+"queue "+b+".run",true);G(c,b,"queue")}}});a.fn.extend({queue:function(c,d){if(typeof c!=="string"){d=c;c="fx"}if(d===b)return a.queue(this[0],c);return this.each(function(){var b=a.queue(this,c,d);if(c==="fx"&&b[0]!=="inprogress")a.dequeue(this,c)})},dequeue:function(b){return this.each(function(){a.dequeue(this,b)})},delay:function(b,c){b=a.fx?a.fx.speeds[b]||b:b;c=c||"fx";return this.queue(c,function(d,c){var a=setTimeout(d,b);c.stop=function(){clearTimeout(a)}})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(c,m){if(typeof c!=="string"){m=c;c=b}c=c||"fx";var i=a.Deferred(),d=this,e=d.length,h=1,f=c+"defer",k=c+"queue",l=c+"mark",j;function g(){if(!--h)i.resolveWith(d,[d])}while(e--)if(j=a.data(d[e],f,b,true)||(a.data(d[e],k,b,true)||a.data(d[e],l,b,true))&&a.data(d[e],f,a.Callbacks("once memory"),true)){h++;j.add(g)}g();return i.promise()}});var mb=/[\n\t\r]/g,s=/\s+/,jc=/\r/g,uc=/^(?:button|input)$/i,Pb=/^(?:button|input|object|select|textarea)$/i,Ob=/^a(?:rea)?$/i,ib=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,M=a.support.getSetAttribute,g,gb,S;a.fn.extend({attr:function(c,b){return a.access(this,c,b,true,a.attr)},removeAttr:function(b){return this.each(function(){a.removeAttr(this,b)})},prop:function(c,b){return a.access(this,c,b,true,a.prop)},removeProp:function(c){c=a.propFix[c]||c;return this.each(function(){try{this[c]=b;delete this[c]}catch(a){}})},addClass:function(b){var d,g,i,c,f,e,h;if(a.isFunction(b))return this.each(function(c){a(this).addClass(b.call(this,c,this.className))});if(b&&typeof b==="string"){d=b.split(s);for(g=0,i=this.length;g<i;g++){c=this[g];if(c.nodeType===1)if(!c.className&&d.length===1)c.className=b;else{f=" "+c.className+" ";for(e=0,h=d.length;e<h;e++)if(!~f.indexOf(" "+d[e]+" "))f+=d[e]+" ";c.className=a.trim(f)}}}return this},removeClass:function(c){var h,g,j,d,e,f,i;if(a.isFunction(c))return this.each(function(b){a(this).removeClass(c.call(this,b,this.className))});if(c&&typeof c==="string"||c===b){h=(c||"").split(s);for(g=0,j=this.length;g<j;g++){d=this[g];if(d.nodeType===1&&d.className)if(c){e=(" "+d.className+" ").replace(mb," ");for(f=0,i=h.length;f<i;f++)e=e.replace(" "+h[f]+" "," ");d.className=a.trim(e)}else d.className=""}}return this},toggleClass:function(b,c){var d=typeof b,e=typeof c==="boolean";if(a.isFunction(b))return this.each(function(d){a(this).toggleClass(b.call(this,d,this.className,c),c)});return this.each(function(){if(d==="string"){var f,j=0,h=a(this),g=c,i=b.split(s);while(f=i[j++]){g=e?g:!h.hasClass(f);h[g?"addClass":"removeClass"](f)}}else if(d==="undefined"||d==="boolean"){if(this.className)a._data(this,"__className__",this.className);this.className=this.className||b===false?"":a._data(this,"__className__")||""}})},hasClass:function(c){var b=" "+c+" ",a=0,d=this.length;for(;a<d;a++)if(this[a].nodeType===1&&(" "+this[a].className+" ").replace(mb," ").indexOf(b)>-1)return true;return false},val:function(f){var c,d,g,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(jc,""):d==null?"":d}return}g=a.isFunction(f);return this.each(function(h){var e=a(this),d;if(this.nodeType!==1)return;if(g)d=f.call(this,h,e.val());else d=f;if(d==null)d="";else if(typeof d==="number")d+="";else if(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(i){var h,f,j,b,d=i.selectedIndex,g=[],c=i.options,e=i.type==="select-one";if(d<0)return null;f=e?d:0;j=e?d+1:c.length;for(;f<j;f++){b=c[f];if(b.selected&&(a.support.optDisabled?!b.disabled:b.getAttribute("disabled")===null)&&(!b.parentNode.disabled||!a.nodeName(b.parentNode,"optgroup"))){h=a(b).val();if(e)return h;g.push(h)}}if(e&&!g.length&&c.length)return a(c[d]).val();return g},"set":function(c,d){var b=a.makeArray(d);a(c).find("option").each(function(){this.selected=a.inArray(a(this).val(),b)>=0});if(!b.length)c.selectedIndex=-1;return b}}},attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(d,c,f,k){var h,e,i,j=d.nodeType;if(!d||j===3||j===8||j===2)return;if(k&&c in a.attrFn)return a(d)[c](f);if(typeof d.getAttribute==="undefined")return a.prop(d,c,f);i=j!==1||!a.isXMLDoc(d);if(i){c=c.toLowerCase();e=a.attrHooks[c]||(ib.test(c)?gb:g)}if(f!==b)if(f===null){a.removeAttr(d,c);return}else if(e&&"set" in e&&i&&(h=e.set(d,f,c))!==b)return h;else{d.setAttribute(c,""+f);return f}else if(e&&"get" in e&&i&&(h=e.get(d,c))!==null)return h;else{h=d.getAttribute(c);return h===null?b:h}},removeAttr:function(c,g){var d,e,b,h,f=0;if(g&&c.nodeType===1){e=g.toLowerCase().split(s);h=e.length;for(;f<h;f++){b=e[f];if(b){d=a.propFix[b]||b;a.attr(c,b,"");c.removeAttribute(M?b:d);if(ib.test(b)&&d in c)c[d]=false}}}},attrHooks:{type:{"set":function(b,c){if(uc.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);if(d)b.value=d;return c}}},value:{"get":function(b,c){if(g&&a.nodeName(b,"button"))return g.get(b,c);return c in b?b.value:null},"set":function(b,c,d){if(g&&a.nodeName(b,"button"))return g.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(e,c,h){var g,d,i,f=e.nodeType;if(!e||f===3||f===8||f===2)return;i=f!==1||!a.isXMLDoc(e);if(i){c=a.propFix[c]||c;d=a.propHooks[c]}if(h!==b)if(d&&"set" in d&&(g=d.set(e,h,c))!==b)return g;else return e[c]=h;else if(d&&"get" in d&&(g=d.get(e,c))!==null)return g;else return e[c]},propHooks:{tabIndex:{"get":function(a){var c=a.getAttributeNode("tabindex");return c&&c.specified?parseInt(c.value,10):Pb.test(a.nodeName)||Ob.test(a.nodeName)&&a.href?0:b}}}});a.attrHooks.tabindex=a.propHooks.tabIndex;gb={"get":function(f,c){var d,e=a.prop(f,c);return e===true||typeof e!=="boolean"&&(d=f.getAttributeNode(c))&&d.nodeValue!==false?c.toLowerCase():b},"set":function(c,e,b){var d;if(e===false)a.removeAttr(c,b);else{d=a.propFix[b]||b;if(d in c)c[d]=true;c.setAttribute(b,b.toLowerCase())}return b}};if(!M){S={name:true,id:true};g=a.valHooks.button={"get":function(d,c){var a;a=d.getAttributeNode(c);return a&&(S[c]?a.nodeValue!=="":a.specified)?a.nodeValue:b},"set":function(b,e,d){var a=b.getAttributeNode(d);if(!a){a=c.createAttribute(d);b.setAttributeNode(a)}return a.nodeValue=e+""}};a.attrHooks.tabindex.set=g.set;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.attrHooks.contenteditable={"get":g.get,"set":function(b,a,c){if(a==="")a="false";g.set(b,a,c)}}}if(!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}})});if(!a.support.style)a.attrHooks.style={"get":function(a){return a.style.cssText.toLowerCase()||b},"set":function(b,a){return b.style.cssText=""+a}};if(!a.support.optSelected)a.propHooks.selected=a.extend(a.propHooks.selected,{"get":function(b){var a=b.parentNode;if(a){a.selectedIndex;if(a.parentNode)a.parentNode.selectedIndex}return null}});if(!a.support.enctype)a.propFix.enctype="encoding";if(!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(c,b){if(a.isArray(b))return c.checked=a.inArray(a(c).val(),b)>=0}})});var C=/^(?:textarea|input|select)$/i,Q=/^([^\.]*)?(?:\.(.+))?$/,Qb=/\bhover(\.\S+)?\b/,Vb=/^key/,Jb=/^(?:mouse|contextmenu)|click/,W=/^(?:focusinfocus|focusoutblur)$/,fc=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,Nb=function(b){var a=fc.exec(b);if(a){a[1]=(a[1]||"").toLowerCase();a[3]=a[3]&&new RegExp("(?:^|\\s)"+a[3]+"(?:\\s|$)")}return a},hc=function(c,a){var b=c.attributes||{};return (!a[1]||c.nodeName.toLowerCase()===a[1])&&(!a[2]||(b.id||{}).value===a[2])&&(!a[3]||a[3].test((b["class"]||{}).value))},cb=function(b){return a.event.special.hover?b:b.replace(Qb,"mouseenter$1 mouseleave$1")};a.event={add:function(c,l,e,r,m){var j,f,k,o,n,d,q,i,p,s,h,g;if(c.nodeType===3||c.nodeType===8||!l||!e||!(j=a._data(c)))return;if(e.handler){p=e;e=p.handler}if(!e.guid)e.guid=a.guid++;k=j.events;if(!k)j.events=k={};f=j.handle;if(!f){j.handle=f=function(c){return typeof a!=="undefined"&&(!c||a.event.triggered!==c.type)?a.event.dispatch.apply(f.elem,arguments):b};f.elem=c}l=a.trim(cb(l)).split(" ");for(o=0;o<l.length;o++){n=Q.exec(l[o])||[];d=n[1];q=(n[2]||"").split(".").sort();g=a.event.special[d]||{};d=(m?g.delegateType:g.bindType)||d;g=a.event.special[d]||{};i=a.extend({type:d,origType:n[1],data:r,handler:e,guid:e.guid,selector:m,quick:Nb(m),"namespace":q.join(".")},p);h=k[d];if(!h){h=k[d]=[];h.delegateCount=0;if(!g.setup||g.setup.call(c,r,q,f)===false)if(c.addEventListener)c.addEventListener(d,f,false);else if(c.attachEvent)c.attachEvent("on"+d,f)}if(g.add){g.add.call(c,i);if(!i.handler.guid)i.handler.guid=e.guid}if(m)h.splice(h.delegateCount++,0,i);else h.push(i);a.event.global[d]=true}c=null},global:{},remove:function(g,j,n,h,s){var m=a.hasData(g)&&a._data(g),l,p,b,r,e,q,k,i,f,o,c,d;if(!m||!(i=m.events))return;j=a.trim(cb(j||"")).split(" ");for(l=0;l<j.length;l++){p=Q.exec(j[l])||[];b=r=p[1];e=p[2];if(!b){for(b in i)a.event.remove(g,b+j[l],n,h,true);continue}f=a.event.special[b]||{};b=(h?f.delegateType:f.bindType)||b;c=i[b]||[];q=c.length;e=e?new RegExp("(^|\\.)"+e.split(".").sort().join("\\.(?:.*\\.)?")+"(\\.|$)"):null;for(k=0;k<c.length;k++){d=c[k];if((s||r===d.origType)&&(!n||n.guid===d.guid)&&(!e||e.test(d.namespace))&&(!h||h===d.selector||h==="**"&&d.selector)){c.splice(k--,1);if(d.selector)c.delegateCount--;if(f.remove)f.remove.call(g,d)}}if(c.length===0&&q!==c.length){if(!f.teardown||f.teardown.call(g,e)===false)a.removeEvent(g,b,m.handle);delete i[b]}}if(a.isEmptyObject(i)){o=m.handle;if(o)o.elem=null;a.removeData(g,["events","handle"],true)}},customEvent:{getData:true,setData:true,changeData:true},trigger:function(c,i,f,r){if(f&&(f.nodeType===3||f.nodeType===8))return;var e=c.type||c,o=[],p,s,j,g,h,l,k,n,m,q;if(W.test(e+a.event.triggered))return;if(e.indexOf("!")>=0){e=e.slice(0,-1);s=true}if(e.indexOf(".")>=0){o=e.split(".");e=o.shift();o.sort()}if((!f||a.event.customEvent[e])&&!a.event.global[e])return;c=typeof c==="object"?c[a.expando]?c:new a.Event(e,c):new a.Event(e);c.type=e;c.isTrigger=true;c.exclusive=s;c.namespace=o.join(".");c.namespace_re=c.namespace?new RegExp("(^|\\.)"+o.join("\\.(?:.*\\.)?")+"(\\.|$)"):null;l=e.indexOf(":")<0?"on"+e:"";if(!f){p=a.cache;for(j in p)if(p[j].events&&p[j].events[e])a.event.trigger(c,i,p[j].handle.elem,true);return}c.result=b;if(!c.target)c.target=f;i=i!=null?a.makeArray(i):[];i.unshift(c);k=a.event.special[e]||{};if(k.trigger&&k.trigger.apply(f,i)===false)return;m=[[f,k.bindType||e]];if(!r&&!k.noBubble&&!a.isWindow(f)){q=k.delegateType||e;g=W.test(q+e)?f:f.parentNode;h=null;for(;g;g=g.parentNode){m.push([g,q]);h=g}if(h&&h===f.ownerDocument)m.push([h.defaultView||h.parentWindow||d,q])}for(j=0;j<m.length&&!c.isPropagationStopped();j++){g=m[j][0];c.type=m[j][1];n=(a._data(g,"events")||{})[c.type]&&a._data(g,"handle");if(n)n.apply(g,i);n=l&&g[l];if(n&&a.acceptData(g)&&n.apply(g,i)===false)c.preventDefault()}c.type=e;if(!r&&!c.isDefaultPrevented())if((!k._default||k._default.apply(f.ownerDocument,i)===false)&&!(e==="click"&&a.nodeName(f,"a"))&&a.acceptData(f))if(l&&f[e]&&(e!=="focus"&&e!=="blur"||c.target.offsetWidth!==0)&&!a.isWindow(f)){h=f[l];if(h)f[l]=null;a.event.triggered=e;f[e]();a.event.triggered=b;if(h)f[l]=h}return c.result},dispatch:function(c){c=a.event.fix(c||d.event);var l=(a._data(this,"events")||{})[c.type]||[],j=l.delegateCount,r=[].slice.call(arguments,0),s=!c.exclusive&&!c.namespace,k=[],f,q,g,o,p,m,h,n,e,i,t;r[0]=c;c.delegateTarget=this;if(j&&!c.target.disabled&&!(c.button&&c.type==="click")){o=a(this);o.context=this.ownerDocument||this;for(g=c.target;g!=this;g=g.parentNode||this){m={};n=[];o[0]=g;for(f=0;f<j;f++){e=l[f];i=e.selector;if(m[i]===b)m[i]=e.quick?hc(g,e.quick):o.is(i);if(m[i])n.push(e)}if(n.length)k.push({elem:g,matches:n})}}if(l.length>j)k.push({elem:this,matches:l.slice(j)});for(f=0;f<k.length&&!c.isPropagationStopped();f++){h=k[f];c.currentTarget=h.elem;for(q=0;q<h.matches.length&&!c.isImmediatePropagationStopped();q++){e=h.matches[q];if(s||!c.namespace&&!e.namespace||c.namespace_re&&c.namespace_re.test(e.namespace)){c.data=e.data;c.handleObj=e;p=((a.event.special[e.origType]||{}).handle||e.handler).apply(h.elem,r);if(p!==b){c.result=p;if(p===false){c.preventDefault();c.stopPropagation()}}}}}return c.result},props:"attrChange attrName relatedNode srcElement altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(b,a){if(b.which==null)b.which=a.charCode!=null?a.charCode:a.keyCode;return b}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(a,f){var i,e,d,g=f.button,h=f.fromElement;if(a.pageX==null&&f.clientX!=null){i=a.target.ownerDocument||c;e=i.documentElement;d=i.body;a.pageX=f.clientX+(e&&e.scrollLeft||d&&d.scrollLeft||0)-(e&&e.clientLeft||d&&d.clientLeft||0);a.pageY=f.clientY+(e&&e.scrollTop||d&&d.scrollTop||0)-(e&&e.clientTop||d&&d.clientTop||0)}if(!a.relatedTarget&&h)a.relatedTarget=h===a.target?f.toElement:h;if(!a.which&&g!==b)a.which=g&1?1:g&2?3:g&4?2:0;return a}},fix:function(d){if(d[a.expando])return d;var h,g,e=d,f=a.event.fixHooks[d.type]||{},i=f.props?this.props.concat(f.props):this.props;d=a.Event(e);for(h=i.length;h;){g=i[--h];d[g]=e[g]}if(!d.target)d.target=e.srcElement||c;if(d.target.nodeType===3)d.target=d.target.parentNode;if(d.metaKey===b)d.metaKey=d.ctrlKey;return f.filter?f.filter(d,e):d},special:{ready:{setup:a.bindReady},load:{noBubble:true},focus:{delegateType:"focusin"},blur:{delegateType:"focusout"},beforeunload:{setup:function(d,c,b){if(a.isWindow(this))this.onbeforeunload=b},teardown:function(b,a){if(this.onbeforeunload===a)this.onbeforeunload=null}}},simulate:function(f,d,c,e){var b=a.extend(new a.Event,c,{type:f,isSimulated:true,originalEvent:{}});if(e)a.event.trigger(b,null,d);else a.event.dispatch.call(d,b);if(b.isDefaultPrevented())c.preventDefault()}};a.event.handle=a.event.dispatch;a.removeEvent=c.removeEventListener?function(a,c,b){if(a.removeEventListener)a.removeEventListener(c,b,false)}:function(a,c,b){if(a.detachEvent)a.detachEvent("on"+c,b)};a.Event=function(b,c){if(!(this instanceof a.Event))return new a.Event(b,c);if(b&&b.type){this.originalEvent=b;this.type=b.type;this.isDefaultPrevented=b.defaultPrevented||b.returnValue===false||b.getPreventDefault&&b.getPreventDefault()?p:k}else this.type=b;if(c)a.extend(this,c);this.timeStamp=b&&b.timeStamp||a.now();this[a.expando]=true};function k(){return false}function p(){return true}a.Event.prototype={preventDefault:function(){this.isDefaultPrevented=p;var a=this.originalEvent;if(!a)return;if(a.preventDefault)a.preventDefault();else a.returnValue=false},stopPropagation:function(){this.isPropagationStopped=p;var a=this.originalEvent;if(!a)return;if(a.stopPropagation)a.stopPropagation();a.cancelBubble=true},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=p;this.stopPropagation()},isDefaultPrevented:k,isPropagationStopped:k,isImmediatePropagationStopped:k};a.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(c,b){a.event.special[c]={delegateType:b,bindType:b,handle:function(c){var f=this,e=c.relatedTarget,d=c.handleObj,h=d.selector,g;if(!e||e!==f&&!a.contains(f,e)){c.type=d.origType;g=d.handler.apply(this,arguments);c.type=b}return g}}});if(!a.support.submitBubbles)a.event.special.submit={setup:function(){if(a.nodeName(this,"form"))return false;a.event.add(this,"click._submit keypress._submit",function(e){var d=e.target,c=a.nodeName(d,"input")||a.nodeName(d,"button")?d.form:b;if(c&&!c._submit_attached){a.event.add(c,"submit._submit",function(b){if(this.parentNode&&!b.isTrigger)a.event.simulate("submit",this.parentNode,b,true)});c._submit_attached=true}})},teardown:function(){if(a.nodeName(this,"form"))return false;a.event.remove(this,"._submit")}};if(!a.support.changeBubbles)a.event.special.change={setup:function(){if(C.test(this.nodeName)){if(this.type==="checkbox"||this.type==="radio"){a.event.add(this,"propertychange._change",function(a){if(a.originalEvent.propertyName==="checked")this._just_changed=true});a.event.add(this,"click._change",function(b){if(this._just_changed&&!b.isTrigger){this._just_changed=false;a.event.simulate("change",this,b,true)}})}return false}a.event.add(this,"beforeactivate._change",function(c){var b=c.target;if(C.test(b.nodeName)&&!b._change_attached){a.event.add(b,"change._change",function(b){if(this.parentNode&&!b.isSimulated&&!b.isTrigger)a.event.simulate("change",this.parentNode,b,true)});b._change_attached=true}})},handle:function(a){var b=a.target;if(this!==b||a.isSimulated||a.isTrigger||b.type!=="radio"&&b.type!=="checkbox")return a.handleObj.handler.apply(this,arguments)},teardown:function(){a.event.remove(this,"._change");return C.test(this.nodeName)}};if(!a.support.focusinBubbles)a.each({focus:"focusin",blur:"focusout"},function(e,f){var b=0,d=function(b){a.event.simulate(f,b.target,a.event.fix(b),true)};a.event.special[f]={setup:function(){if(b++===0)c.addEventListener(e,d,true)},teardown:function(){if(--b===0)c.removeEventListener(e,d,true)}}});a.fn.extend({on:function(g,d,e,c,i){var f,h;if(typeof g==="object"){if(typeof d!=="string"){e=d;d=b}for(h in g)this.on(h,d,e,g[h],i);return this}if(e==null&&c==null){c=d;e=d=b}else if(c==null)if(typeof d==="string"){c=e;e=b}else{c=e;e=d;d=b}if(c===false)c=k;else if(!c)return this;if(i===1){f=c;c=function(b){a().off(b);return f.apply(this,arguments)};c.guid=f.guid||(f.guid=a.guid++)}return this.each(function(){a.event.add(this,g,c,e,d)})},one:function(b,a,c,d){return this.on.call(this,b,a,c,d,1)},off:function(c,e,f){if(c&&c.preventDefault&&c.handleObj){var d=c.handleObj;a(c.delegateTarget).off(d.namespace?d.type+"."+d.namespace:d.type,d.selector,d.handler);return this}if(typeof c==="object"){for(var g in c)this.off(g,e,c[g]);return this}if(e===false||typeof e==="function"){f=e;e=b}if(f===false)f=k;return this.each(function(){a.event.remove(this,c,f,e)})},bind:function(a,b,c){return this.on(a,null,b,c)},unbind:function(a,b){return this.off(a,null,b)},live:function(b,c,d){a(this.context).on(b,this.selector,c,d);return this},die:function(b,c){a(this.context).off(b,this.selector||"**",c);return this},delegate:function(a,b,c,d){return this.on(b,a,c,d)},undelegate:function(a,b,c){return arguments.length==1?this.off(a,"**"):this.off(b,a,c)},trigger:function(c,b){return this.each(function(){a.event.trigger(c,b,this)})},triggerHandler:function(c,b){if(this[0])return a.event.trigger(c,b,this[0],true)},toggle:function(c){var b=arguments,f=c.guid||a.guid++,d=0,e=function(f){var e=(a._data(this,"lastToggle"+c.guid)||0)%d;a._data(this,"lastToggle"+c.guid,e+1);f.preventDefault();return b[e].apply(this,arguments)||false};e.guid=f;while(d<b.length)b[d++].guid=f;return this.click(e)},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}});a.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(c,b){a.fn[b]=function(a,c){if(c==null){c=a;a=null}return arguments.length>0?this.on(b,null,a,c):this.trigger(b)};if(a.attrFn)a.attrFn[b]=true;if(Vb.test(b))a.event.fixHooks[b]=a.event.keyHooks;if(Jb.test(b))a.event.fixHooks[b]=a.event.mouseHooks});(function(){var n=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,h="sizcache"+(Math.random()+"").replace(".",""),p=0,u=Object.prototype.toString,j=false,q=true,g=/\\/g,x=/\r\n/g,l=/\W/;[0,0].sort(function(){q=false;return 0});var d=function(k,b,i,o){i=i||[];b=b||c;var y=b;if(b.nodeType!==1&&b.nodeType!==9)return [];if(!k||typeof k!=="string")return i;var m,l,g,t,j,p,q,h,v=true,r=d.isXML(b),a=[],x=k;do{n.exec("");m=n.exec(x);if(m){x=m[3];a.push(m[1]);if(m[2]){t=m[3];break}}}while(m);if(a.length>1&&w.exec(k))if(a.length===2&&e.relative[a[0]])l=s(a[0]+a[1],b,o);else{l=e.relative[a[0]]?[b]:d(a.shift(),b);while(a.length){k=a.shift();if(e.relative[k])k+=a.shift();l=s(k,l,o)}}else{if(!o&&a.length>1&&b.nodeType===9&&!r&&e.match.ID.test(a[0])&&!e.match.ID.test(a[a.length-1])){j=d.find(a.shift(),b,r);b=j.expr?d.filter(j.expr,j.set)[0]:j.set[0]}if(b){j=o?{expr:a.pop(),"set":f(o)}:d.find(a.pop(),a.length===1&&(a[0]==="~"||a[0]==="+")&&b.parentNode?b.parentNode:b,r);l=j.expr?d.filter(j.expr,j.set):j.set;if(a.length>0)g=f(l);else v=false;while(a.length){p=a.pop();q=p;if(!e.relative[p])p="";else q=a.pop();if(q==null)q=b;e.relative[p](g,q,r)}}else g=a=[]}if(!g)g=l;if(!g)d.error(p||k);if(u.call(g)==="[object Array]"){if(!v)i.push.apply(i,g);else if(b&&b.nodeType===1){for(h=0;g[h]!=null;h++)if(g[h]&&(g[h]===true||g[h].nodeType===1&&d.contains(b,g[h])))i.push(l[h])}else for(h=0;g[h]!=null;h++)if(g[h]&&g[h].nodeType===1)i.push(l[h])}else f(g,i);if(t){d(t,y,i,o);d.uniqueSort(i)}return i};d.uniqueSort=function(a){if(k){j=q;a.sort(k);if(j)for(var b=1;b<a.length;b++)if(a[b]===a[b-1])a.splice(b--,1)}return a};d.matches=function(a,b){return d(a,null,null,b)};d.matchesSelector=function(b,a){return d(a,null,null,[b]).length>0};d.find=function(b,h,k){var c,f,j,a,d,i;if(!b)return [];for(f=0,j=e.order.length;f<j;f++){d=e.order[f];if(a=e.leftMatch[d].exec(b)){i=a[1];a.splice(1,1);if(i.substr(i.length-1)!=="\\"){a[1]=(a[1]||"").replace(g,"");c=e.find[d](a,h,k);if(c!=null){b=b.replace(e.match[d],"");break}}}}if(!c)c=typeof h.getElementsByTagName!=="undefined"?h.getElementsByTagName("*"):[];return {"set":c,expr:b}};d.filter=function(c,k,n,r){var a,g,h,j,m,q,o,l,p,s=c,i=[],f=k,t=k&&k[0]&&d.isXML(k[0]);while(c&&k.length){for(h in e.filter)if((a=e.leftMatch[h].exec(c))!=null&&a[2]){q=e.filter[h];o=a[1];g=false;a.splice(1,1);if(o.substr(o.length-1)==="\\")continue;if(f===i)i=[];if(e.preFilter[h]){a=e.preFilter[h](a,f,n,i,r,t);if(!a)g=j=true;else if(a===true)continue}if(a)for(l=0;(m=f[l])!=null;l++)if(m){j=q(m,a,l,f);p=r^j;if(n&&j!=null)if(p)g=true;else f[l]=false;else if(p){i.push(m);g=true}}if(j!==b){if(!n)f=i;c=c.replace(e.match[h],"");if(!g)return [];break}}if(c===s)if(g==null)d.error(c);else break;s=c}return f};d.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)};var o=d.getText=function(a){var e,c,b=a.nodeType,d="";if(b){if(b===1||b===9)if(typeof a.textContent==="string")return a.textContent;else if(typeof a.innerText==="string")return a.innerText.replace(x,"");else for(a=a.firstChild;a;a=a.nextSibling)d+=o(a);else if(b===3||b===4)return a.nodeValue}else for(e=0;c=a[e];e++)if(c.nodeType!==8)d+=o(c);return d},e=d.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(a){return a.getAttribute("href")},type:function(a){return a.getAttribute("type")}},relative:{"+":function(c,b){var g=typeof b==="string",h=g&&!l.test(b),f=g&&!h;if(h)b=b.toLowerCase();for(var e=0,i=c.length,a;e<i;e++)if(a=c[e]){while((a=a.previousSibling)&&a.nodeType!==1);c[e]=f||a&&a.nodeName.toLowerCase()===b?a||false:a===b}if(f)d.filter(b,c,true)},">":function(e,c){var b,f=typeof c==="string",a=0,h=e.length;if(f&&!l.test(c)){c=c.toLowerCase();for(;a<h;a++){b=e[a];if(b){var g=b.parentNode;e[a]=g.nodeName.toLowerCase()===c?g:false}}}else{for(;a<h;a++){b=e[a];if(b)e[a]=f?b.parentNode:b.parentNode===c}if(f)d.filter(c,e,true)}},"":function(d,a,f){var b,e=p++,c=t;if(typeof a==="string"&&!l.test(a)){a=a.toLowerCase();b=a;c=r}c("parentNode",a,e,d,b,f)},"~":function(d,a,f){var b,e=p++,c=t;if(typeof a==="string"&&!l.test(a)){a=a.toLowerCase();b=a;c=r}c("previousSibling",a,e,d,b,f)}},find:{ID:function(d,b,c){if(typeof b.getElementById!=="undefined"&&!c){var a=b.getElementById(d[1]);return a&&a.parentNode?[a]:[]}},NAME:function(e,d){if(typeof d.getElementsByName!=="undefined"){var c=[],b=d.getElementsByName(e[1]);for(var a=0,f=b.length;a<f;a++)if(b[a].getAttribute("name")===e[1])c.push(b[a]);return c.length===0?null:c}},TAG:function(b,a){if(typeof a.getElementsByTagName!=="undefined")return a.getElementsByTagName(b[1])}},preFilter:{CLASS:function(b,d,e,f,i,h){b=" "+b[1].replace(g,"")+" ";if(h)return b;for(var c=0,a;(a=d[c])!=null;c++)if(a)if(i^(a.className&&(" "+a.className+" ").replace(/[\t\n\r]/g," ").indexOf(b)>=0)){if(!e)f.push(a)}else if(e)d[c]=false;return false},ID:function(a){return a[1].replace(g,"")},TAG:function(a){return a[1].replace(g,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){if(!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 if(a[2])d.error(a[0]);a[0]=p++;return a},ATTR:function(a,d,f,h,i,c){var b=a[1]=a[1].replace(g,"");if(!c&&e.attrMap[b])a[1]=e.attrMap[b];a[4]=(a[4]||a[5]||"").replace(g,"");if(a[2]==="~=")a[4]=" "+a[4]+" ";return a},PSEUDO:function(a,b,c,f,g){if(a[1]==="not")if((n.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,true^g);if(!c)f.push.apply(f,h);return false}else if(e.match.POS.test(a[0])||e.match.CHILD.test(a[0]))return true;return a},POS:function(a){a.unshift(true);return a}},filters:{enabled:function(a){return a.disabled===false&&a.type!=="hidden"},disabled:function(a){return a.disabled===true},checked:function(a){return a.checked===true},selected:function(a){if(a.parentNode)a.parentNode.selectedIndex;return a.selected===true},parent:function(a){return !!a.firstChild},empty:function(a){return !a.firstChild},has:function(b,c,a){return !!d(a[3],b).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(d,b,c,a){return b===a.length-1},even:function(b,a){return a%2===0},odd:function(b,a){return a%2===1},lt:function(c,b,a){return b<a[3]-0},gt:function(c,b,a){return b>a[3]-0},nth:function(c,b,a){return a[3]-0===b},eq:function(c,b,a){return a[3]-0===b}},filter:{PSEUDO:function(a,b,j,i){var c=b[1],g=e.filters[c];if(g)return g(a,j,b,i);else if(c==="contains")return (a.textContent||a.innerText||o([a])||"").indexOf(b[3])>=0;else if(c==="not"){var h=b[3];for(var f=0,k=h.length;f<k;f++)if(h[f]===a)return false;return true}else d.error(c)},CHILD:function(d,e){var c,i,g,b,l,j,f,k=e[1],a=d;switch(k){case "only":case "first":while(a=a.previousSibling)if(a.nodeType===1)return false;if(k==="first")return true;a=d;case "last":while(a=a.nextSibling)if(a.nodeType===1)return false;return true;case "nth":c=e[2];i=e[3];if(c===1&&i===0)return true;g=e[0];b=d.parentNode;if(b&&(b[h]!==g||!d.nodeIndex)){j=0;for(a=b.firstChild;a;a=a.nextSibling)if(a.nodeType===1)a.nodeIndex=++j;b[h]=g}f=d.nodeIndex-i;if(c===0)return f===0;else return f%c===0&&f/c>=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||!!a.nodeName&&a.nodeName.toLowerCase()===b},CLASS:function(a,b){return (" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(g,i){var f=i[1],h=d.attr?d.attr(g,f):e.attrHandle[f]?e.attrHandle[f](g):g[f]!=null?g[f]:g.getAttribute(f),b=h+"",c=i[2],a=i[4];return h==null?c==="!=":!c&&d.attr?h!=null:c==="="?b===a:c==="*="?b.indexOf(a)>=0:c==="~="?(" "+b+" ").indexOf(a)>=0:!a?b&&h!==false: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+"-":false},POS:function(d,b,g,c){var f=b[2],a=e.setFilters[f];if(a)return a(d,g,b,c)}}},w=e.match.POS,v=function(b,a){return "\\"+(a-0+1)};for(var m in e.match){e.match[m]=new RegExp(e.match[m].source+/(?![^\[]*\])(?![^\(]*\))/.source);e.leftMatch[m]=new RegExp(/(^(?:.|\r|\n)*?)/.source+e.match[m].source.replace(/\\(\d+)/g,v))}var f=function(b,a){b=Array.prototype.slice.call(b,0);if(a){a.push.apply(a,b);return a}return b};try{Array.prototype.slice.call(c.documentElement.childNodes,0)[0].nodeType}catch(y){f=function(a,d){var b=0,c=d||[];if(u.call(a)==="[object Array]")Array.prototype.push.apply(c,a);else if(typeof a.length==="number")for(var e=a.length;b<e;b++)c.push(a[b]);else for(;a[b];b++)c.push(a[b]);return c}}var k,i;if(c.documentElement.compareDocumentPosition)k=function(a,b){if(a===b){j=true;return 0}if(!a.compareDocumentPosition||!b.compareDocumentPosition)return a.compareDocumentPosition?-1:1;return a.compareDocumentPosition(b)&4?-1:1};else{k=function(c,d){if(c===d){j=true;return 0}else if(c.sourceIndex&&d.sourceIndex)return c.sourceIndex-d.sourceIndex;var k,l,e=[],f=[],g=c.parentNode,h=d.parentNode,b=g;if(g===h)return i(c,d);else if(!g)return -1;else if(!h)return 1;while(b){e.unshift(b);b=b.parentNode}b=h;while(b){f.unshift(b);b=b.parentNode}k=e.length;l=f.length;for(var a=0;a<k&&a<l;a++)if(e[a]!==f[a])return i(e[a],f[a]);return a===k?i(c,f[a],-1):i(e[a],d,1)};i=function(b,c,d){if(b===c)return d;var a=b.nextSibling;while(a){if(a===c)return -1;a=a.nextSibling}return 1}}(function(){var a=c.createElement("div"),f="script"+(new Date).getTime(),d=c.documentElement;a.innerHTML="<a name='"+f+"'/>";d.insertBefore(a,d.firstChild);if(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(""));if(a.getElementsByTagName("*").length>0)e.find.TAG=function(c,e){var a=e.getElementsByTagName(c[1]);if(c[1]==="*"){var d=[];for(var b=0;a[b];b++)if(a[b].nodeType===1)d.push(a[b]);a=d}return a};a.innerHTML="<a href='#'></a>";if(a.firstChild&&typeof a.firstChild.getAttribute!=="undefined"&&a.firstChild.getAttribute("href")!=="#")e.attrHandle.href=function(a){return a.getAttribute("href",2)};a=null})();if(c.querySelectorAll)(function(){var b=d,a=c.createElement("div"),h="__sizzle__";a.innerHTML="<p class='TEST'></p>";if(a.querySelectorAll&&a.querySelectorAll(".TEST").length===0)return;d=function(j,a,g,p){a=a||c;if(!p&&!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);else 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);else if(i&&i[3]){var k=a.getElementById(i[3]);if(k&&k.parentNode){if(k.id===i[3])return f([k],g)}else return f([],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,n=/^\s*[+~]/.test(j);if(!m)a.setAttribute("id",l);else l=l.replace(/'/g,"\\$&");if(n&&o)a=a.parentNode;try{if(!n||o)return f(a.querySelectorAll("[id='"+l+"'] "+j),g)}catch(r){}finally{if(!m)q.removeAttribute("id")}}}return b(j,a,g,p)};for(var g in b)d[g]=b[g];a=null})();(function(){var b=c.documentElement,a=b.matchesSelector||b.mozMatchesSelector||b.webkitMatchesSelector||b.msMatchesSelector;if(a){var g=!a.call(c.createElement("div"),"div"),f=false;try{a.call(c.documentElement,"[test!='']:sizzle")}catch(h){f=true}d.matchesSelector=function(c,b){b=b.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!d.isXML(c))try{if(f||!e.match.PSEUDO.test(b)&&!/!=/.test(b)){var h=a.call(c,b);if(h||!g||c.document&&c.document.nodeType!==11)return h}}catch(i){}return d(b,null,null,[c]).length>0}}})();(function(){var a=c.createElement("div");a.innerHTML="<div class='test e'></div><div class='test'></div>";if(!a.getElementsByClassName||a.getElementsByClassName("e").length===0)return;a.lastChild.className="e";if(a.getElementsByClassName("e").length===1)return;e.order.splice(1,0,"CLASS");e.find.CLASS=function(c,a,b){if(typeof a.getElementsByClassName!=="undefined"&&!b)return a.getElementsByClassName(c[1])};a=null})();function r(f,i,e,c,k,g){for(var b=0,j=c.length;b<j;b++){var a=c[b];if(a){var d=false;a=a[f];while(a){if(a[h]===e){d=c[a.sizset];break}if(a.nodeType===1&&!g){a[h]=e;a.sizset=b}if(a.nodeName.toLowerCase()===i){d=a;break}a=a[f]}c[b]=d}}}function t(i,f,g,c,l,j){for(var b=0,k=c.length;b<k;b++){var a=c[b];if(a){var e=false;a=a[i];while(a){if(a[h]===g){e=c[a.sizset];break}if(a.nodeType===1){if(!j){a[h]=g;a.sizset=b}if(typeof f!=="string"){if(a===f){e=true;break}}else if(d.filter(f,[a]).length>0){e=a;break}}a=a[i]}c[b]=e}}}if(c.documentElement.contains)d.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):true)};else if(c.documentElement.compareDocumentPosition)d.contains=function(a,b){return !!(a.compareDocumentPosition(b)&16)};else d.contains=function(){return false};d.isXML=function(a){var b=(a?a.ownerDocument||a:0).documentElement;return b?b.nodeName!=="HTML":false};var s=function(a,b,j){var h,f=[],g="",i=b.nodeType?[b]:b;while(h=e.match.PSEUDO.exec(a)){g+=h[0];a=a.replace(e.match.PSEUDO,"")}a=e.relative[a]?a+"*":a;for(var c=0,k=i.length;c<k;c++)d(a,i[c],f,j);return d.filter(g,f)};d.attr=a.attr;d.selectors.attrMap={};a.find=d;a.expr=d.selectors;a.expr[":"]=a.expr.filters;a.unique=d.uniqueSort;a.text=d.getText;a.isXMLDoc=d.isXML;a.contains=d.contains})();var qc=/Until$/,Gb=/^(?:parents|prevUntil|prevAll)/,Bb=/,/,Yb=/^.[^:#\[\.,]*$/,vc=Array.prototype.slice,vb=a.expr.match.POS,xb={children:true,contents:true,next:true,prev:true};a.fn.extend({find:function(e){var i=this,b,f;if(typeof e!=="string")return a(e).filter(function(){for(b=0,f=i.length;b<f;b++)if(a.contains(i[b],this))return true});var c=this.pushStack("","find",e),h,d,g;for(b=0,f=this.length;b<f;b++){h=c.length;a.find(e,this[b],c);if(b>0)for(d=h;d<c.length;d++)for(g=0;g<h;g++)if(c[g]===c[d]){c.splice(d--,1);break}}return c},has:function(c){var b=a(c);return this.filter(function(){for(var c=0,d=b.length;c<d;c++)if(a.contains(this,b[c]))return true})},not:function(a){return this.pushStack(pb(this,a,false),"not",a)},filter:function(a){return this.pushStack(pb(this,a,true),"filter",a)},is:function(b){return !!b&&(typeof b==="string"?vb.test(b)?a(b,this.context).index(this[0])>=0:a.filter(b,this).length>0:this.filter(b).length>0)},closest:function(c,f){var e=[],d,i,b=this[0];if(a.isArray(c)){var g=1;while(b&&b.ownerDocument&&b!==f){for(d=0;d<c.length;d++)if(a(b).is(c[d]))e.push({selector:c[d],elem:b,level:g});b=b.parentNode;g++}return e}var h=vb.test(c)||typeof c!=="string"?a(c,f||this.context):0;for(d=0,i=this.length;d<i;d++){b=this[d];while(b)if(h?h.index(b)>-1:a.find.matchesSelector(b,c)){e.push(b);break}else{b=b.parentNode;if(!b||!b.ownerDocument||b===f||b.nodeType===11)break}}e=e.length>1?a.unique(e):e;return this.pushStack(e,"closest",c)},index:function(b){if(!b)return this[0]&&this[0].parentNode?this.prevAll().length:-1;if(typeof b==="string")return a.inArray(this[0],a(b));return 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(P(d[0])||P(c[0])?c:a.unique(c))},andSelf:function(){return this.add(this.prevObject)}});function P(a){return !a||!a.parentNode||a.parentNode.nodeType===11}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(c,d,b){return a.dir(c,"parentNode",b)},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(c,d,b){return a.dir(c,"nextSibling",b)},prevUntil:function(c,d,b){return a.dir(c,"previousSibling",b)},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);if(!qc.test(b))e=f;if(e&&typeof e==="string")d=a.filter(e,d);d=this.length>1&&!xb[b]?a.unique(d):d;if((this.length>1||Bb.test(e))&&Gb.test(b))d=d.reverse();return this.pushStack(d,b,vc.call(arguments).join(","))}});a.extend({filter:function(c,b,d){if(d)c=":not("+c+")";return b.length===1?a.find.matchesSelector(b[0],c)?[b[0]]:[]:a.find.matches(c,b)},dir:function(g,f,e){var d=[],c=g[f];while(c&&c.nodeType!==9&&(e===b||c.nodeType!==1||!a(c).is(e))){if(c.nodeType===1)d.push(c);c=c[f]}return d},nth:function(a,b,c){b=b||1;var d=0;for(;a;a=a[c])if(a.nodeType===1&&++d===b)break;return a},sibling:function(a,c){var b=[];for(;a;a=a.nextSibling)if(a.nodeType===1&&a!==c)b.push(a);return b}});function pb(c,b,d){b=b||0;if(a.isFunction(b))return a.grep(c,function(a,e){var c=!!b.call(a,e,a);return c===d});else if(b.nodeType)return a.grep(c,function(a){return a===b===d});else if(typeof b==="string"){var e=a.grep(c,function(a){return a.nodeType===1});if(Yb.test(b))return a.filter(b,e,!d);else b=a.filter(b,e)}return a.grep(c,function(c){return a.inArray(c,b)>=0===d})}function I(c){var b=db.split("|"),a=c.createDocumentFragment();if(a.createElement)while(b.length)a.createElement(b.pop());return a}var db="abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",Cb=/ jQuery\d+="(?:\d+|null)"/g,v=/^\s+/,eb=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,kb=/<([\w:]+)/,pc=/<tbody/i,tc=/<|&#?\w+;/,Fb=/<(?:script|style)/i,dc=/<(?:script|object|embed|option|style)/i,T=new RegExp("<(?:"+db+")","i"),jb=/checked\s*(?:[^=]|=\s*.checked.)/i,Kb=/\/(java|ecma)script/i,Eb=/^\s*<!(?:\[CDATA\[|\-\-)/,e={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]},U=I(c);e.optgroup=e.option;e.tbody=e.tfoot=e.colgroup=e.caption=e.thead;e.th=e.td;if(!a.support.htmlSerialize)e._default=[1,"div<div>","</div>"];a.fn.extend({text:function(d){if(a.isFunction(d))return this.each(function(c){var b=a(this);b.text(d.call(this,c,b.text()))});if(typeof d!=="object"&&d!==b)return this.empty().append((this[0]&&this[0].ownerDocument||c).createTextNode(d));return 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(true);if(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){if(a.isFunction(b))return this.each(function(c){a(this).wrapInner(b.call(this,c))});return this.each(function(){var d=a(this),c=d.contents();if(c.length)c.wrapAll(b);else d.append(b)})},wrap:function(b){var c=a.isFunction(b);return this.each(function(d){a(this).wrapAll(c?b.call(this,d):b)})},unwrap:function(){return this.parent().each(function(){if(!a.nodeName(this,"body"))a(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,true,function(a){if(this.nodeType===1)this.appendChild(a)})},prepend:function(){return this.domManip(arguments,true,function(a){if(this.nodeType===1)this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(a){this.parentNode.insertBefore(a,this)});else if(arguments.length){var b=a.clean(arguments);b.push.apply(b,this.toArray());return this.pushStack(b,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(a){this.parentNode.insertBefore(a,this.nextSibling)});else if(arguments.length){var b=this.pushStack(this,"after",arguments);b.push.apply(b,a.clean(arguments));return b}},remove:function(c,e){for(var d=0,b;(b=this[d])!=null;d++)if(!c||a.filter(c,[b]).length){if(!e&&b.nodeType===1){a.cleanData(b.getElementsByTagName("*"));a.cleanData([b])}if(b.parentNode)b.parentNode.removeChild(b)}return this},empty:function(){for(var c=0,b;(b=this[c])!=null;c++){if(b.nodeType===1)a.cleanData(b.getElementsByTagName("*"));while(b.firstChild)b.removeChild(b.firstChild)}return this},clone:function(b,c){b=b==null?false: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(Cb,""):null;else if(typeof c==="string"&&!Fb.test(c)&&(a.support.leadingWhitespace||!v.test(c))&&!e[(kb.exec(c)||["",""])[1].toLowerCase()]){c=c.replace(eb,"<$1></$2>");try{for(var d=0,f=this.length;d<f;d++)if(this[d].nodeType===1){a.cleanData(this[d].getElementsByTagName("*"));this[d].innerHTML=c}}catch(g){this.empty().append(c)}}else if(a.isFunction(c))this.each(function(d){var b=a(this);b.html(c.call(this,d,b.html()))});else this.empty().append(c);return this},replaceWith:function(b){if(this[0]&&this[0].parentNode){if(a.isFunction(b))return this.each(function(e){var c=a(this),d=c.html();c.replaceWith(b.call(this,e,d))});if(typeof b!=="string")b=a(b).detach();return this.each(function(){var c=this.nextSibling,d=this.parentNode;a(this).remove();if(c)a(c).before(b);else a(d).append(b)})}else return this.length?this.pushStack(a(a.isFunction(b)?b():b),"replaceWith",b):this},detach:function(a){return this.remove(a,true)},domManip:function(h,d,k){var j,g,c,f,e=h[0],l=[];if(!a.support.checkClone&&arguments.length===3&&typeof e==="string"&&jb.test(e))return this.each(function(){a(this).domManip(h,d,k,true)});if(a.isFunction(e))return this.each(function(f){var c=a(this);h[0]=e.call(this,f,d?c.html():b);c.domManip(h,d,k)});if(this[0]){f=e&&e.parentNode;if(a.support.parentNode&&f&&f.nodeType===11&&f.childNodes.length===this.length)j={fragment:f};else j=a.buildFragment(h,this,l);c=j.fragment;if(c.childNodes.length===1)g=c=c.firstChild;else g=c.firstChild;if(g){d=d&&a.nodeName(g,"tr");for(var i=0,m=this.length,n=m-1;i<m;i++)k.call(d?yc(this[i],g):this[i],j.cacheable||m>1&&i<n?a.clone(c,true,true):c)}if(l.length)a.each(l,Mb)}return this}});function yc(b){return a.nodeName(b,"table")?b.getElementsByTagName("tbody")[0]||b.appendChild(b.ownerDocument.createElement("tbody")):b}function N(h,f){if(f.nodeType!==1||!a.hasData(h))return;var c,d,i,g=a._data(h),e=a._data(f,g),b=g.events;if(b){delete e.handle;e.events={};for(c in b)for(d=0,i=b[c].length;d<i;d++)a.event.add(f,c+(b[c][d].namespace?".":"")+b[c][d].namespace,b[c][d],b[c][d].data)}if(e.data)e.data=a.extend({},e.data)}function H(c,b){var d;if(b.nodeType!==1)return;if(b.clearAttributes)b.clearAttributes();if(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(c.checked)b.defaultChecked=b.checked=c.checked;if(b.value!==c.value)b.value=c.value}else if(d==="option")b.selected=c.defaultSelected;else if(d==="input"||d==="textarea")b.defaultValue=c.defaultValue;b.removeAttribute(a.expando)}a.buildFragment=function(i,g,j){var d,h,f,e,b=i[0];if(g&&g[0])e=g[0].ownerDocument||g[0];if(!e.createDocumentFragment)e=c;if(i.length===1&&typeof b==="string"&&b.length<512&&e===c&&b.charAt(0)==="<"&&!dc.test(b)&&(a.support.checkClone||!jb.test(b))&&(a.support.html5Clone||!T.test(b))){h=true;f=a.fragments[b];if(f&&f!==1)d=f}if(!d){d=e.createDocumentFragment();a.clean(i,e,d,j)}if(h)a.fragments[b]=f?d:1;return {fragment:d,cacheable:h}};a.fragments={};a.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(c,b){a.fn[c]=function(i){var g=[],d=a(i),f=this.length===1&&this[0].parentNode;if(f&&f.nodeType===11&&f.childNodes.length===1&&d.length===1){d[b](this[0]);return this}else{for(var e=0,j=d.length;e<j;e++){var h=(e>0?this.clone(true):this).get();a(d[e])[b](h);g=g.concat(h)}return this.pushStack(g,c,d.selector)}}});function r(a){if(typeof a.getElementsByTagName!=="undefined")return a.getElementsByTagName("*");else if(typeof a.querySelectorAll!=="undefined")return a.querySelectorAll("*");else return []}function K(a){if(a.type==="checkbox"||a.type==="radio")a.defaultChecked=a.checked}function Z(b){var c=(b.nodeName||"").toLowerCase();if(c==="input")K(b);else if(c!=="script"&&typeof b.getElementsByTagName!=="undefined")a.grep(b.getElementsByTagName("input"),K)}function Db(b){var a=c.createElement("div");U.appendChild(a);a.innerHTML=b.outerHTML;return a.firstChild}a.extend({clone:function(c,h,g){var d,e,b,f=a.support.html5Clone||!T.test("<"+c.nodeName)?c.cloneNode(true):Db(c);if((!a.support.noCloneEvent||!a.support.noCloneChecked)&&(c.nodeType===1||c.nodeType===11)&&!a.isXMLDoc(c)){H(c,f);d=r(c);e=r(f);for(b=0;d[b];++b)if(e[b])H(d[b],e[b])}if(h){N(c,f);if(g){d=r(c);e=r(f);for(b=0;d[b];++b)N(d[b],e[b])}}d=e=null;return f},clean:function(t,g,m,o){var l;g=g||c;if(typeof g.createElement==="undefined")g=g.ownerDocument||g[0]&&g[0].ownerDocument||c;var d=[],i;for(var f=0,b;(b=t[f])!=null;f++){if(typeof b==="number")b+="";if(!b)continue;if(typeof b==="string")if(!tc.test(b))b=g.createTextNode(b);else{b=b.replace(eb,"<$1></$2>");var q=(kb.exec(b)||["",""])[1].toLowerCase(),k=e[q]||e._default,s=k[0],h=g.createElement("div");if(g===c)U.appendChild(h);else I(g).appendChild(h);h.innerHTML=k[1]+b+k[2];while(s--)h=h.lastChild;if(!a.support.tbody){var n=pc.test(b),j=q==="table"&&!n?h.firstChild&&h.firstChild.childNodes:k[1]==="<table>"&&!n?h.childNodes:[];for(i=j.length-1;i>=0;--i)if(a.nodeName(j[i],"tbody")&&!j[i].childNodes.length)j[i].parentNode.removeChild(j[i])}if(!a.support.leadingWhitespace&&v.test(b))h.insertBefore(g.createTextNode(v.exec(b)[0]),h.firstChild);b=h.childNodes}var p;if(!a.support.appendChecked)if(b[0]&&typeof(p=b.length)==="number")for(i=0;i<p;i++)Z(b[i]);else Z(b);if(b.nodeType)d.push(b);else d=a.merge(d,b)}if(m){l=function(a){return !a.type||Kb.test(a.type)};for(f=0;d[f];f++)if(o&&a.nodeName(d[f],"script")&&(!d[f].type||d[f].type.toLowerCase()==="text/javascript"))o.push(d[f].parentNode?d[f].parentNode.removeChild(d[f]):d[f]);else{if(d[f].nodeType===1){var r=a.grep(d[f].getElementsByTagName("script"),l);d.splice.apply(d,[f+1,0].concat(r))}m.appendChild(d[f])}}return d},cleanData:function(j){var c,d,f=a.cache,i=a.event.special,h=a.support.deleteExpando;for(var g=0,b;(b=j[g])!=null;g++){if(b.nodeName&&a.noData[b.nodeName.toLowerCase()])continue;d=b[a.expando];if(d){c=f[d];if(c&&c.events){for(var e in c.events)if(i[e])a.event.remove(b,e);else a.removeEvent(b,e,c.handle);if(c.handle)c.handle.elem=null}if(h)delete b[a.expando];else if(b.removeAttribute)b.removeAttribute(a.expando);delete f[d]}}}});function Mb(c,b){if(b.src)a.ajax({url:b.src,async:false,dataType:"script"});else a.globalEval((b.text||b.textContent||b.innerHTML||"").replace(Eb,"/*$0*/"));if(b.parentNode)b.parentNode.removeChild(b)}var E=/alpha\([^)]*\)/i,ec=/opacity=([^)]*)/,rc=/([A-Z]|^ms)/g,nb=/^-?\d+(?:px)?$/i,xc=/^-?\d/,ic=/^([\-+])=([\-+.\de]+)/,gc={position:"absolute",visibility:"hidden",display:"block"},Xb=["Left","Right"],Tb=["Top","Bottom"],m,L,R;a.fn.css=function(d,c){if(arguments.length===2&&c===b)return this;return a.access(this,d,c,true,function(d,e,c){return c!==b?a.style(d,e,c):a.css(d,e)})};a.extend({cssHooks:{opacity:{"get":function(a,c){if(c){var b=m(a,"opacity","opacity");return b===""?"1":b}else return a.style.opacity}}},cssNumber:{fillOpacity:true,fontWeight:true,lineHeight:true,opacity:true,orphans:true,widows:true,zIndex:true,zoom:true},cssProps:{"float":a.support.cssFloat?"cssFloat":"styleFloat"},style:function(d,f,c,k){if(!d||d.nodeType===3||d.nodeType===8||!d.style)return;var h,g,i=a.camelCase(f),j=d.style,e=a.cssHooks[i];f=a.cssProps[i]||i;if(c!==b){g=typeof c;if(g==="string"&&(h=ic.exec(c))){c=+(h[1]+1)*+h[2]+parseFloat(a.css(d,f));g="number"}if(c==null||g==="number"&&isNaN(c))return;if(g==="number"&&!a.cssNumber[i])c+="px";if(!e||!("set" in e)||(c=e.set(d,c))!==b)try{j[f]=c}catch(l){}}else{if(e&&"get" in e&&(h=e.get(d,false,k))!==b)return h;return j[f]}},css:function(e,c,g){var f,d;c=a.camelCase(c);d=a.cssHooks[c];c=a.cssProps[c]||c;if(c==="cssFloat")c="float";if(d&&"get" in d&&(f=d.get(e,true,g))!==b)return f;else if(m)return m(e,c)},swap:function(b,c,e){var d={};for(var a in c){d[a]=b.style[a];b.style[a]=c[a]}e.call(b);for(a in c)b.style[a]=d[a]}});a.curCSS=a.css;a.each(["height","width"],function(c,b){a.cssHooks[b]={"get":function(c,f,d){var e;if(f){if(c.offsetWidth!==0)return qb(c,b,d);else a.swap(c,gc,function(){e=qb(c,b,d)});return e}},"set":function(b,a){if(nb.test(a)){a=parseFloat(a);if(a>=0)return a+"px"}else return a}}});if(!a.support.opacity)a.cssHooks.opacity={"get":function(a,b){return ec.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},"set":function(g,e){var d=g.style,b=g.currentStyle,f=a.isNumeric(e)?"alpha(opacity="+e*100+")":"",c=b&&b.filter||d.filter||"";d.zoom=1;if(e>=1&&a.trim(c.replace(E,""))===""){d.removeAttribute("filter");if(b&&!b.filter)return}d.filter=E.test(c)?c.replace(E,f):c+" "+f}};a(function(){if(!a.support.reliableMarginRight)a.cssHooks.marginRight={"get":function(b,d){var c;a.swap(b,{display:"inline-block"},function(){if(d)c=m(b,"margin-right","marginRight");else c=b.style.marginRight});return c}}});if(c.defaultView&&c.defaultView.getComputedStyle)L=function(b,c){var d,f,e;c=c.replace(rc,"-$1").toLowerCase();if((f=b.ownerDocument.defaultView)&&(e=f.getComputedStyle(b,null))){d=e.getPropertyValue(c);if(d===""&&!a.contains(b.ownerDocument.documentElement,b))d=a.style(b,c)}return d};if(c.documentElement.currentStyle)R=function(a,e){var g,d,f,b=a.currentStyle&&a.currentStyle[e],c=a.style;if(b===null&&c&&(f=c[e]))b=f;if(!nb.test(b)&&xc.test(b)){g=c.left;d=a.runtimeStyle&&a.runtimeStyle.left;if(d)a.runtimeStyle.left=a.currentStyle.left;c.left=e==="fontSize"?"1em":b||0;b=c.pixelLeft+"px";c.left=g;if(d)a.runtimeStyle.left=d}return b===""?"auto":b};m=L||R;function qb(c,g,e){var b=g==="width"?c.offsetWidth:c.offsetHeight,f=g==="width"?Xb:Tb,d=0,h=f.length;if(b>0){if(e!=="border")for(;d<h;d++){if(!e)b-=parseFloat(a.css(c,"padding"+f[d]))||0;if(e==="margin")b+=parseFloat(a.css(c,e+f[d]))||0;else b-=parseFloat(a.css(c,"border"+f[d]+"Width"))||0}return b+"px"}b=m(c,g,g);if(b<0||b==null)b=c.style[g]||0;b=parseFloat(b)||0;if(e)for(;d<h;d++){b+=parseFloat(a.css(c,"padding"+f[d]))||0;if(e!=="padding")b+=parseFloat(a.css(c,"border"+f[d]+"Width"))||0;if(e==="margin")b+=parseFloat(a.css(c,e+f[d]))||0}return b+"px"}if(a.expr&&a.expr.filters){a.expr.filters.hidden=function(b){var d=b.offsetWidth,c=b.offsetHeight;return d===0&&c===0||!a.support.reliableHiddenOffsets&&(b.style&&b.style.display||a.css(b,"display"))==="none"};a.expr.filters.visible=function(b){return !a.expr.filters.hidden(b)}}var Ac=/%20/g,ac=/\[\]$/,rb=/\r?\n/g,sc=/#.*$/,cc=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,nc=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,Ab=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,Sb=/^(?:GET|HEAD)$/,Wb=/^\/\//,ob=/\?/,kc=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,zb=/^(?:select|textarea)/i,X=/\s+/,Bc=/([?&])_=[^&]*/,ub=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,tb=a.fn.load,B={},bb={},h,i,fb=["*/"]+["*"];try{h=Zb.href}catch(Cc){h=c.createElement("a");h.href="";h=h.href}i=ub.exec(h.toLowerCase())||[];function F(b){return function(d,f){if(typeof d!=="string"){f=d;d="*"}if(a.isFunction(f)){var h=d.toLowerCase().split(X),g=0,j=h.length,c,i,e;for(;g<j;g++){c=h[g];e=/^\+/.test(c);if(e)c=c.substr(1)||"*";i=b[c]=b[c]||[];i[e?"unshift":"push"](f)}}}}function o(e,d,g,i,f,c){f=f||d.dataTypes[0];c=c||{};c[f]=true;var j=e[f],k=0,l=j?j.length:0,h=e===B,a;for(;k<l&&(h||!a);k++){a=j[k](d,g,i);if(typeof a==="string")if(!h||c[a])a=b;else{d.dataTypes.unshift(a);a=o(e,d,g,i,a,c)}}if((h||!a)&&!c["*"])a=o(e,d,g,i,"*",c);return a}function Y(f,e){var c,d,g=a.ajaxSettings.flatOptions||{};for(c in e)if(e[c]!==b)(g[c]?f:d||(d={}))[c]=e[c];if(d)a.extend(true,f,d)}a.fn.extend({load:function(d,c,e){if(typeof d!=="string"&&tb)return tb.apply(this,arguments);else 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 i="GET";if(c)if(a.isFunction(c)){e=c;c=b}else if(typeof c==="object"){c=a.param(c,a.ajaxSettings.traditional);i="POST"}var h=this;a.ajax({url:d,type:i,dataType:"html",data:c,complete:function(c,d,b){b=c.responseText;if(c.isResolved()){c.done(function(a){b=a});h.html(g?a("<div>").append(b.replace(kc,"")).find(g):b)}if(e)h.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||zb.test(this.nodeName)||nc.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(rb,"\r\n")}}):{name:c.name,value:b.replace(rb,"\r\n")}}).get()}});a.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(c,b){a.fn[b]=function(a){return this.on(b,a)}});a.each(["get","post"],function(d,c){a[c]=function(g,d,e,f){if(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(d,c){return a.get(d,b,c,"script")},getJSON:function(d,c,b){return a.get(d,c,b,"json")},ajaxSetup:function(b,c){if(c)Y(b,a.ajaxSettings);else{c=b;b=a.ajaxSettings}Y(b,c);return b},ajaxSettings:{url:h,isLocal:Ab.test(i[1]),global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":fb},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":d.String,"text html":true,"text json":a.parseJSON,"text xml":a.parseXML},flatOptions:{context:true,url:true}},ajaxPrefilter:F(B),ajaxTransport:F(bb),ajax:function(r,h){if(typeof r==="object"){h=r;r=b}h=h||{};var c=a.ajaxSetup({},h),g=c.context||c,t=g!==c&&(g.nodeType||g instanceof a)?a(g):a.event,v=a.Deferred(),x=a.Callbacks("once memory"),p=c.statusCode||{},f,y={},w={},s,n,j,u,k,e=0,m,l,d={readyState:0,setRequestHeader:function(a,c){if(!e){var b=a.toLowerCase();a=w[b]=w[b]||a;y[a]=c}return this},getAllResponseHeaders:function(){return e===2?s:null},getResponseHeader:function(c){var a;if(e===2){if(!n){n={};while(a=cc.exec(s))n[a[1].toLowerCase()]=a[2]}a=n[c.toLowerCase()]}return a===b?null:a},overrideMimeType:function(a){if(!e)c.mimeType=a;return this},abort:function(a){a=a||"abort";if(j)j.abort(a);q(0,a);return this}};function q(i,o,r,z){if(e===2)return;e=2;if(u)clearTimeout(u);j=b;s=z||"";d.readyState=i>0?4:0;var k,n,l,h=o,y=r?wb(c,d,r):b,q,w;if(i>=200&&i<300||i===304){if(c.ifModified){if(q=d.getResponseHeader("Last-Modified"))a.lastModified[f]=q;if(w=d.getResponseHeader("Etag"))a.etag[f]=w}if(i===304){h="notmodified";k=true}else try{n=Hb(c,y);h="success";k=true}catch(A){h="parsererror";l=A}}else{l=h;if(!h||i){h="error";if(i<0)i=0}}d.status=i;d.statusText=""+(o||h);if(k)v.resolveWith(g,[n,h,d]);else v.rejectWith(g,[d,h,l]);d.statusCode(p);p=b;if(m)t.trigger("ajax"+(k?"Success":"Error"),[d,c,k?n:l]);x.fireWith(g,[d,h]);if(m){t.trigger("ajaxComplete",[d,c]);if(!--a.active)a.event.trigger("ajaxStop")}}v.promise(d);d.success=d.done;d.error=d.fail;d.complete=x.add;d.statusCode=function(b){if(b){var a;if(e<2)for(a in b)p[a]=[p[a],b[a]];else{a=b[d.status];d.then(a,a)}}return this};c.url=((r||c.url)+"").replace(sc,"").replace(Wb,i[1]+"//");c.dataTypes=a.trim(c.dataType||"*").toLowerCase().split(X);if(c.crossDomain==null){k=ub.exec(c.url.toLowerCase());c.crossDomain=!!(k&&(k[1]!=i[1]||k[2]!=i[2]||(k[3]||(k[1]==="http:"?80:443))!=(i[3]||(i[1]==="http:"?80:443))))}if(c.data&&c.processData&&typeof c.data!=="string")c.data=a.param(c.data,c.traditional);o(B,c,h,d);if(e===2)return false;m=c.global;c.type=c.type.toUpperCase();c.hasContent=!Sb.test(c.type);if(m&&a.active++===0)a.event.trigger("ajaxStart");if(!c.hasContent){if(c.data){c.url+=(ob.test(c.url)?"&":"?")+c.data;delete c.data}f=c.url;if(c.cache===false){var A=a.now(),z=c.url.replace(Bc,"$1_="+A);c.url=z+(z===c.url?(ob.test(c.url)?"&":"?")+"_="+A:"")}}if(c.data&&c.hasContent&&c.contentType!==false||h.contentType)d.setRequestHeader("Content-Type",c.contentType);if(c.ifModified){f=f||c.url;if(a.lastModified[f])d.setRequestHeader("If-Modified-Since",a.lastModified[f]);if(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]!=="*"?", "+fb+"; 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)===false||e===2)){d.abort();return false}for(l in {success:1,error:1,complete:1})d[l](c[l]);j=o(bb,c,h,d);if(!j)q(-1,"No Transport");else{d.readyState=1;if(m)t.trigger("ajaxSend",[d,c]);if(c.async&&c.timeout>0)u=setTimeout(function(){d.abort("timeout")},c.timeout);try{e=1;j.send(y,q)}catch(C){if(e<2)q(-1,C);else throw C}}return d},param:function(c,d){var e=[],g=function(c,b){b=a.isFunction(b)?b():b;e[e.length]=encodeURIComponent(c)+"="+encodeURIComponent(b)};if(d===b)d=a.ajaxSettings.traditional;if(a.isArray(c)||c.jquery&&!a.isPlainObject(c))a.each(c,function(){g(this.name,this.value)});else for(var f in c)z(f,c[f],d,g);return e.join("&").replace(Ac,"+")}});function z(c,b,d,e){if(a.isArray(b))a.each(b,function(f,b){if(d||ac.test(c))e(c,b);else z(c+"["+(typeof b==="object"||a.isArray(b)?f:"")+"]",b,d,e)});else if(!d&&b!=null&&typeof b==="object")for(var f in b)z(c+"["+f+"]",b[f],d,e);else e(c,b)}a.extend({active:0,lastModified:{},etag:{}});function wb(f,k,e){var i=f.contents,c=f.dataTypes,j=f.responseFields,g,a,d,h;for(a in j)if(a in e)k[j[a]]=e[a];while(c[0]==="*"){c.shift();if(g===b)g=f.mimeType||k.getResponseHeader("content-type")}if(g)for(a in i)if(i[a]&&i[a].test(g)){c.unshift(a);break}if(c[0] in e)d=c[0];else{for(a in e){if(!c[0]||f.converters[a+" "+c[0]]){d=a;break}if(!h)h=a}d=d||h}if(d){if(d!==c[0])c.unshift(d);return e[d]}}function Hb(j,h){if(j.dataFilter)h=j.dataFilter(h,j.dataType);var o=j.dataTypes,g={},k,l,p=o.length,m,c=o[0],i,n,d,e,f;for(k=1;k<p;k++){if(k===1)for(l in j.converters)if(typeof l==="string")g[l.toLowerCase()]=j.converters[l];i=c;c=o[k];if(c==="*")c=i;else if(i!=="*"&&i!==c){n=i+" "+c;d=g[n]||g["* "+c];if(!d){f=b;for(e in g){m=e.split(" ");if(m[0]===i||m[0]==="*"){f=g[m[1]+" "+c];if(f){e=g[e];if(e===true)d=f;else if(f===true)d=e;break}}}}if(!(d||f))a.error("No conversion from "+n.replace(" "," to "));if(d!==true)h=d?d(h):f(e(h))}}return h}var zc=a.now(),u=/(\=)\?(&|$)|\?\?/i;a.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return a.expando+"_"+zc++}});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!==false&&(u.test(b.url)||h&&u.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";if(b.jsonp!==false){e=e.replace(u,j);if(b.url===e){if(h)g=g.replace(u,j);if(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;if(f&&a.isFunction(i))d[c](f[0])});b.converters["script json"]=function(){if(!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){if(a.cache===b)a.cache=false;if(a.crossDomain){a.type="GET";a.global=false}});a.ajaxTransport("script",function(e){if(e.crossDomain){var a,d=c.head||c.getElementsByTagName("head")[0]||c.documentElement;return {send:function(g,f){a=c.createElement("script");a.async="async";if(e.scriptCharset)a.charset=e.scriptCharset;a.src=e.url;a.onload=a.onreadystatechange=function(e,c){if(c||!a.readyState||/loaded|complete/.test(a.readyState)){a.onload=a.onreadystatechange=null;if(d&&a.parentNode)d.removeChild(a);a=b;if(!c)f(200,"success")}};d.insertBefore(a,d.firstChild)},abort:function(){if(a)a.onload(0,1)}}}});var x=d.ActiveXObject?function(){for(var a in j)j[a](0,1)}:false,wc=0,j;function J(){try{return new d.XMLHttpRequest}catch(a){}}function yb(){try{return new d.ActiveXObject("Microsoft.XMLHTTP")}catch(a){}}a.ajaxSettings.xhr=d.ActiveXObject?function(){return !this.isLocal&&J()||yb()}:J;(function(b){a.extend(a.support,{ajax:!!b,cors:!!b&&"withCredentials" in b})})(a.ajaxSettings.xhr());if(a.support.ajax)a.ajaxTransport(function(c){if(!c.crossDomain||a.support.cors){var e;return {send:function(h,k){var f=c.xhr(),i,g;if(c.username)f.open(c.type,c.url,c.async,c.username,c.password);else f.open(c.type,c.url,c.async);if(c.xhrFields)for(g in c.xhrFields)f[g]=c.xhrFields[g];if(c.mimeType&&f.overrideMimeType)f.overrideMimeType(c.mimeType);if(!c.crossDomain&&!h["X-Requested-With"])h["X-Requested-With"]="XMLHttpRequest";try{for(g in h)f.setRequestHeader(g,h[g])}catch(l){}f.send(c.hasContent&&c.data||null);e=function(o,m){var g,l,n,d,h;try{if(e&&(m||f.readyState===4)){e=b;if(i){f.onreadystatechange=a.noop;if(x)delete j[i]}if(m){if(f.readyState!==4)f.abort()}else{g=f.status;n=f.getAllResponseHeaders();d={};h=f.responseXML;if(h&&h.documentElement)d.xml=h;d.text=f.responseText;try{l=f.statusText}catch(p){l=""}if(!g&&c.isLocal&&!c.crossDomain)g=d.text?200:404;else if(g===1223)g=204}}}catch(p){if(!m)k(-1,p)}if(d)k(g,l,d,n)};if(!c.async||f.readyState===4)e();else{i=++wc;if(x){if(!j){j={};a(d).unload(x)}j[i]=e}f.onreadystatechange=e}},abort:function(){if(e)e(0,1)}}}});var A={},f,l,bc=/^(?:toggle|show|hide)$/,mc=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,q,lb=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],t;a.fn.extend({show:function(e,h,g){var b,c;if(e||e===0)return this.animate(n("show",3),e,h,g);else{for(var d=0,f=this.length;d<f;d++){b=this[d];if(b.style){c=b.style.display;if(!a._data(b,"olddisplay")&&c==="none")c=b.style.display="";if(c===""&&a.css(b,"display")==="none")a._data(b,"olddisplay",O(b.nodeName))}}for(d=0;d<f;d++){b=this[d];if(b.style){c=b.style.display;if(c===""||c==="none")b.style.display=a._data(b,"olddisplay")||""}}return this}},hide:function(e,h,g){if(e||e===0)return this.animate(n("hide",3),e,h,g);else{var c,d,b=0,f=this.length;for(;b<f;b++){c=this[b];if(c.style){d=a.css(c,"display");if(d!=="none"&&!a._data(c,"olddisplay"))a._data(c,"olddisplay",d)}}for(b=0;b<f;b++)if(this[b].style)this[b].style.display="none";return this}},_toggle:a.fn.toggle,toggle:function(b,d,e){var c=typeof b==="boolean";if(a.isFunction(b)&&a.isFunction(d))this._toggle.apply(this,arguments);else if(b==null||c)this.each(function(){var d=c?b:a(this).is(":hidden");a(this)[d?"show":"hide"]()});else this.animate(n("toggle",3),b,d,e);return this},fadeTo:function(c,d,b,a){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:d},c,b,a)},animate:function(b,g,f,e){var c=a.speed(g,f,e);if(a.isEmptyObject(b))return this.each(c.complete,[false]);b=a.extend({},b);function d(){if(c.queue===false)a._mark(this);var g=a.extend({},c),o=this.nodeType===1,n=o&&a(this).is(":hidden"),f,d,e,i,j,h,k,l,m;g.animatedProperties={};for(e in b){f=a.camelCase(e);if(e!==f){b[f]=b[e];delete b[e]}d=b[f];if(a.isArray(d)){g.animatedProperties[f]=d[1];d=b[f]=d[0]}else g.animatedProperties[f]=g.specialEasing&&g.specialEasing[f]||g.easing||"swing";if(d==="hide"&&n||d==="show"&&!n)return g.complete.call(this);if(o&&(f==="height"||f==="width")){g.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY];if(a.css(this,"display")==="inline"&&a.css(this,"float")==="none")if(!a.support.inlineBlockNeedsLayout||O(this.nodeName)==="inline")this.style.display="inline-block";else this.style.zoom=1}}if(g.overflow!=null)this.style.overflow="hidden";for(e in b){i=new a.fx(this,g,e);d=b[e];if(bc.test(d)){m=a._data(this,"toggle"+e)||(d==="toggle"?n?"show":"hide":0);if(m){a._data(this,"toggle"+e,m==="show"?"hide":"show");i[m]()}else i[d]()}else{j=mc.exec(d);h=i.cur();if(j){k=parseFloat(j[2]);l=j[3]||(a.cssNumber[e]?"":"px");if(l!=="px"){a.style(this,e,(k||1)+l);h=(k||1)/i.cur()*h;a.style(this,e,h+l)}if(j[1])k=(j[1]==="-="?-1:1)*k+h;i.custom(h,k,l)}else i.custom(h,d,"")}}return true}return c.queue===false?this.each(d):this.queue(c.queue,d)},stop:function(c,e,d){if(typeof c!=="string"){d=e;e=c;c=b}if(e&&c!==false)this.queue(c||"fx",[]);return this.each(function(){var b,g=false,f=a.timers,e=a._data(this);if(!d)a._unmark(true,this);function h(f,e,b){var c=e[b];a.removeData(f,b,true);c.stop(d)}if(c==null){for(b in e)if(e[b]&&e[b].stop&&b.indexOf(".run")===b.length-4)h(this,e,b)}else if(e[b=c+".run"]&&e[b].stop)h(this,e,b);for(b=f.length;b--;)if(f[b].elem===this&&(c==null||f[b].queue===c)){if(d)f[b](true);else f[b].saveState();g=true;f.splice(b,1)}if(!(d&&g))a.dequeue(this,c)})}});function V(){setTimeout(Lb,0);return t=a.now()}function Lb(){t=b}function n(c,d){var b={};a.each(lb.concat.apply([],lb.slice(0,d)),function(){b[this]=c});return b}a.each({slideDown:n("show",1),slideUp:n("hide",1),slideToggle:n("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(c,b){a.fn[c]=function(d,c,a){return this.animate(b,d,c,a)}});a.extend({speed:function(c,d,e){var b=c&&typeof c==="object"?a.extend({},c):{complete:e||!e&&d||a.isFunction(c)&&c,duration:c,easing:e&&d||d&&!a.isFunction(d)&&d};b.duration=a.fx.off?0:typeof b.duration==="number"?b.duration:b.duration in a.fx.speeds?a.fx.speeds[b.duration]:a.fx.speeds._default;if(b.queue==null||b.queue===true)b.queue="fx";b.old=b.complete;b.complete=function(c){if(a.isFunction(b.old))b.old.call(this);if(b.queue)a.dequeue(this,b.queue);else if(c!==false)a._unmark(this)};return b},easing:{linear:function(c,d,a,b){return a+b*c},swing:function(c,d,a,b){return (-Math.cos(c*Math.PI)/2+.5)*b+a}},timers:[],fx:function(b,a,c){this.options=a;this.elem=b;this.prop=c;a.orig=a.orig||{}}});a.fx.prototype={update:function(){if(this.options.step)this.options.step.call(this.elem,this.now,this);(a.fx.step[this.prop]||a.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];var c,b=a.css(this.elem,this.prop);return isNaN(c=parseFloat(b))?!b||b==="auto"?0:b:c},custom:function(f,h,g){var c=this,e=a.fx;this.startTime=t||V();this.end=h;this.now=this.start=f;this.pos=this.state=0;this.unit=g||this.unit||(a.cssNumber[this.prop]?"":"px");function d(a){return c.step(a)}d.queue=this.options.queue;d.elem=this.elem;d.saveState=function(){if(c.options.hide&&a._data(c.elem,"fxshow"+c.prop)===b)a._data(c.elem,"fxshow"+c.prop,c.start)};if(d()&&a.timers.push(d)&&!q)q=setInterval(e.tick,e.interval)},show:function(){var c=a._data(this.elem,"fxshow"+this.prop);this.options.orig[this.prop]=c||a.style(this.elem,this.prop);this.options.show=true;if(c!==b)this.custom(this.cur(),c);else this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());a(this.elem).show()},hide:function(){this.options.orig[this.prop]=a._data(this.elem,"fxshow"+this.prop)||a.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(i){var c,f,e,g=t||V(),h=true,d=this.elem,b=this.options;if(i||g>=b.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();b.animatedProperties[this.prop]=true;for(c in b.animatedProperties)if(b.animatedProperties[c]!==true)h=false;if(h){if(b.overflow!=null&&!a.support.shrinkWrapBlocks)a.each(["","X","Y"],function(a,c){d.style["overflow"+c]=b.overflow[a]});if(b.hide)a(d).hide();if(b.hide||b.show)for(c in b.animatedProperties){a.style(d,c,b.orig[c]);a.removeData(d,"fxshow"+c,true);a.removeData(d,"toggle"+c,true)}e=b.complete;if(e){b.complete=false;e.call(d)}}return false}else{if(b.duration==Infinity)this.now=g;else{f=g-this.startTime;this.state=f/b.duration;this.pos=a.easing[b.animatedProperties[this.prop]](this.state,f,0,1,b.duration);this.now=this.start+(this.end-this.start)*this.pos}this.update()}return true}};a.extend(a.fx,{tick:function(){var d,b=a.timers,c=0;for(;c<b.length;c++){d=b[c];if(!d()&&b[c]===d)b.splice(c--,1)}if(!b.length)a.fx.stop()},interval:13,stop:function(){clearInterval(q);q=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(b){a.style(b.elem,"opacity",b.now)},_default:function(a){if(a.elem.style&&a.elem.style[a.prop]!=null)a.elem.style[a.prop]=a.now+a.unit;else a.elem[a.prop]=a.now}}});a.each(["width","height"],function(c,b){a.fx.step[b]=function(c){a.style(c.elem,b,Math.max(0,c.now)+c.unit)}});if(a.expr&&a.expr.filters)a.expr.filters.animated=function(b){return a.grep(a.timers,function(a){return b===a.elem}).length};function O(b){if(!A[b]){var g=c.body,d=a("<"+b+">").appendTo(g),e=d.css("display");d.remove();if(e==="none"||e===""){if(!f){f=c.createElement("iframe");f.frameBorder=f.width=f.height=0}g.appendChild(f);if(!l||!f.createElement){l=(f.contentWindow||f.contentDocument).document;l.write((c.compatMode==="CSS1Compat"?"<!doctype html>":"")+"<html><body>");l.close()}d=l.createElement(b);l.body.appendChild(d);e=a.css(d,"display");g.removeChild(f)}A[b]=e}return A[b]}var oc=/^t(?:able|d|h)$/i,sb=/^(?:body|html)$/i;if("getBoundingClientRect" in c.documentElement)a.fn.offset=function(g){var b=this[0],c;if(g)return this.each(function(b){a.offset.setOffset(this,g,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return a.offset.bodyOffset(b);try{c=b.getBoundingClientRect()}catch(o){}var f=b.ownerDocument,d=f.documentElement;if(!c||!a.contains(d,b))return c?{top:c.top,left:c.left}:{top:0,left:0};var e=f.body,h=D(f),k=d.clientTop||e.clientTop||0,i=d.clientLeft||e.clientLeft||0,l=h.pageYOffset||a.support.boxModel&&d.scrollTop||e.scrollTop,j=h.pageXOffset||a.support.boxModel&&d.scrollLeft||e.scrollLeft,n=c.top+l-k,m=c.left+j-i;return {top:n,left:m}};else a.fn.offset=function(l){var b=this[0];if(l)return this.each(function(b){a.offset.setOffset(this,l,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return a.offset.bodyOffset(b);var c,i=b.offsetParent,m=b,k=b.ownerDocument,j=k.documentElement,g=k.body,h=k.defaultView,f=h?h.getComputedStyle(b,null):b.currentStyle,e=b.offsetTop,d=b.offsetLeft;while((b=b.parentNode)&&b!==g&&b!==j){if(a.support.fixedPosition&&f.position==="fixed")break;c=h?h.getComputedStyle(b,null):b.currentStyle;e-=b.scrollTop;d-=b.scrollLeft;if(b===i){e+=b.offsetTop;d+=b.offsetLeft;if(a.support.doesNotAddBorder&&!(a.support.doesAddBorderForTableAndCells&&oc.test(b.nodeName))){e+=parseFloat(c.borderTopWidth)||0;d+=parseFloat(c.borderLeftWidth)||0}m=i;i=b.offsetParent}if(a.support.subtractsBorderForOverflowNotVisible&&c.overflow!=="visible"){e+=parseFloat(c.borderTopWidth)||0;d+=parseFloat(c.borderLeftWidth)||0}f=c}if(f.position==="relative"||f.position==="static"){e+=g.offsetTop;d+=g.offsetLeft}if(a.support.fixedPosition&&f.position==="fixed"){e+=Math.max(j.scrollTop,g.scrollTop);d+=Math.max(j.scrollLeft,g.scrollLeft)}return {top:e,left:d}};a.offset={bodyOffset:function(b){var d=b.offsetTop,c=b.offsetLeft;if(a.support.doesNotIncludeMarginInBodyOffset){d+=parseFloat(a.css(b,"marginTop"))||0;c+=parseFloat(a.css(b,"marginLeft"))||0}return {top:d,left:c}},setOffset:function(c,b,n){var g=a.css(c,"position");if(g==="static")c.style.position="relative";var h=a(c),f=h.offset(),l=a.css(c,"top"),k=a.css(c,"left"),m=(g==="absolute"||g==="fixed")&&a.inArray("auto",[l,k])>-1,d={},e={},j,i;if(m){e=h.position();j=e.top;i=e.left}else{j=parseFloat(l)||0;i=parseFloat(k)||0}if(a.isFunction(b))b=b.call(c,n,f);if(b.top!=null)d.top=b.top-f.top+j;if(b.left!=null)d.left=b.left-f.left+i;if("using" in b)b.using.call(c,d);else h.css(d)}};a.fn.extend({position:function(){if(!this[0])return null;var e=this[0],b=this.offsetParent(),d=this.offset(),c=sb.test(b[0].nodeName)?{top:0,left:0}:b.offset();d.top-=parseFloat(a.css(e,"marginTop"))||0;d.left-=parseFloat(a.css(e,"marginLeft"))||0;c.top+=parseFloat(a.css(b[0],"borderTopWidth"))||0;c.left+=parseFloat(a.css(b[0],"borderLeftWidth"))||0;return {top:d.top-c.top,left:d.left-c.left}},offsetParent:function(){return this.map(function(){var b=this.offsetParent||c.body;while(b&&(!sb.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(g){var f,e;if(g===b){f=this[0];if(!f)return null;e=D(f);return e?"pageXOffset" in e?e[d?"pageYOffset":"pageXOffset"]:a.support.boxModel&&e.document.documentElement[c]||e.document.body[c]:f[c]}return this.each(function(){e=D(this);if(e)e.scrollTo(!d?g:a(e).scrollLeft(),d?g:a(e).scrollTop());else this[c]=g})}});function D(b){return a.isWindow(b)?b:b.nodeType===9?b.defaultView||b.parentWindow:false}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")):this[d]():null};a.fn["outer"+c]=function(c){var b=this[0];return b?b.style?parseFloat(a.css(b,d,c?"margin":"border")):this[d]():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],h=e.document.body;return e.document.compatMode==="CSS1Compat"&&g||h&&h["client"+c]||g}else 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]);else if(f===b){var i=a.css(e,d),j=parseFloat(i);return a.isNumeric(j)?j:i}else return this.css(d,typeof f==="string"?f:f+"px")}});d.jQuery=d.$=a;if(typeof define==="function"&&define.amd&&define.amd.jQuery)define("jquery",[],function(){return a})})(window)
