(function(h,k){function u(a){return c.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:false}function s(a){if(!Ja[a]){var b=c("<"+a+">").appendTo("body"),d=b.css("display");b.remove();if(d==="none"||d===""){ka||(ka=J.createElement("iframe"),ka.frameBorder=ka.width=ka.height=0);J.body.appendChild(ka);if(!Aa||!ka.createElement){Aa=(ka.contentWindow||ka.contentDocument).document;Aa.write("<!doctype><html><body></body></html>")}b=Aa.createElement(a);Aa.body.appendChild(b);d=c.css(b,"display");
J.body.removeChild(ka)}Ja[a]=d}return Ja[a]}function o(a,b){var d={};c.each(Va.concat.apply([],Va.slice(0,b)),function(){d[this]=a});return d}function y(){Da=k}function z(){setTimeout(y,0);return Da=c.now()}function I(){try{return new h.XMLHttpRequest}catch(a){}}function K(a,b,d,e){if(c.isArray(b))c.each(b,function(g,j){d||tb.test(a)?e(a,j):K(a+"["+(typeof j=="object"||c.isArray(j)?g:"")+"]",j,d,e)});else if(!d&&b!=null&&typeof b=="object")for(var f in b)K(a+"["+f+"]",b[f],d,e);else e(a,b)}function D(a,
b,d,e,f,g){f=f||b.dataTypes[0];g=g||{};g[f]=true;f=a[f];for(var j=0,n=f?f.length:0,p=a===Ka,q;j<n&&(p||!q);j++){q=f[j](b,d,e);typeof q=="string"&&(!p||g[q]?q=k:(b.dataTypes.unshift(q),q=D(a,b,d,e,q,g)))}(p||!q)&&!g["*"]&&(q=D(a,b,d,e,"*",g));return q}function C(a){return function(b,d){typeof b!="string"&&(d=b,b="*");if(c.isFunction(d))for(var e=b.toLowerCase().split(Wa),f=0,g=e.length,j,n;f<g;f++){j=e[f];(n=/^\+/.test(j))&&(j=j.substr(1)||"*");j=a[j]=a[j]||[];j[n?"unshift":"push"](d)}}}function aa(a,
b,d){var e=b==="width"?a.offsetWidth:a.offsetHeight;if(d==="border")return e;c.each(b==="width"?ub:vb,function(){d||(e-=parseFloat(c.css(a,"padding"+this))||0);d==="margin"?e+=parseFloat(c.css(a,"margin"+this))||0:e-=parseFloat(c.css(a,"border"+this+"Width"))||0});return e}function O(a,b){b.src?c.ajax({url:b.src,async:false,dataType:"script"}):c.globalEval((b.text||b.textContent||b.innerHTML||"").replace(wb,"/*$0*/"));b.parentNode&&b.parentNode.removeChild(b)}function S(a){c.nodeName(a,"input")?ha(a):
a.getElementsByTagName&&c.grep(a.getElementsByTagName("input"),ha)}function ha(a){if(a.type==="checkbox"||a.type==="radio")a.defaultChecked=a.checked}function da(a){return"getElementsByTagName"in a?a.getElementsByTagName("*"):"querySelectorAll"in a?a.querySelectorAll("*"):[]}function la(a,b){var d;if(b.nodeType===1){b.clearAttributes&&b.clearAttributes();b.mergeAttributes&&b.mergeAttributes(a);d=b.nodeName.toLowerCase();if(d==="object")b.outerHTML=a.outerHTML;else if(d!=="input"||a.type!=="checkbox"&&
a.type!=="radio")if(d==="option")b.selected=a.defaultSelected;else{if(d==="input"||d==="textarea")b.defaultValue=a.defaultValue}else{a.checked&&(b.defaultChecked=b.checked=a.checked);b.value!==a.value&&(b.value=a.value)}b.removeAttribute(c.expando)}}function ba(a,b){if(b.nodeType===1&&c.hasData(a)){var d=c.expando,e=c.data(a),f=c.data(b,e);if(e=e[d]){var g=e.events;f=f[d]=c.extend({},e);if(g){delete f.handle;f.events={};for(var j in g){d=0;for(e=g[j].length;d<e;d++)c.event.add(b,j+(g[j][d].namespace?
".":"")+g[j][d].namespace,g[j][d],g[j][d].data)}}}}}function P(a,b,d){b=b||0;if(c.isFunction(b))return c.grep(a,function(f,g){return!!b.call(f,g,f)===d});if(b.nodeType)return c.grep(a,function(f){return f===b===d});if(typeof b=="string"){var e=c.grep(a,function(f){return f.nodeType===1});if(xb.test(b))return c.filter(b,e,!d);b=c.filter(b,e)}return c.grep(a,function(f){return c.inArray(f,b)>=0===d})}function F(a,b){return(a&&a!=="*"?a+".":"")+b.replace(yb,"`").replace(zb,"&")}function L(a){var b,d,
e,f,g,j,n,p,q,x,N,W=[];f=[];g=c._data(this,"events");if(!(a.liveFired===this||!g||!g.live||a.target.disabled||a.button&&a.type==="click")){a.namespace&&(N=RegExp("(^|\\.)"+a.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)"));a.liveFired=this;var R=g.live.slice(0);for(n=0;n<R.length;n++){g=R[n];g.origType.replace(La,"")===a.type?f.push(g.selector):R.splice(n--,1)}f=c(a.target).closest(f,a.currentTarget);p=0;for(q=f.length;p<q;p++){x=f[p];for(n=0;n<R.length;n++){g=R[n];if(x.selector===g.selector&&
(!N||N.test(g.namespace))&&!x.elem.disabled){j=x.elem;e=null;if(g.preType==="mouseenter"||g.preType==="mouseleave"){a.type=g.preType;(e=c(a.relatedTarget).closest(g.selector)[0])&&c.contains(j,e)&&(e=j)}(!e||e!==j)&&W.push({elem:j,handleObj:g,level:x.level})}}}p=0;for(q=W.length;p<q;p++){f=W[p];if(d&&f.level>d)break;a.currentTarget=f.elem;a.data=f.handleObj.data;a.handleObj=f.handleObj;N=f.handleObj.origHandler.apply(f.elem,arguments);if(N===false||a.isPropagationStopped()){d=f.level;N===false&&(b=
false);if(a.isImmediatePropagationStopped())break}}return b}}function X(a,b,d){var e=c.extend({},d[0]);e.type=a;e.originalEvent={};e.liveFired=k;c.event.handle.call(b,e);e.isDefaultPrevented()&&d[0].preventDefault()}function M(){return true}function ea(){return false}function Xa(a,b,d){var e=b+"defer",f=b+"queue",g=b+"mark",j=c.data(a,e,k,true);j&&(d==="queue"||!c.data(a,f,k,true))&&(d==="mark"||!c.data(a,g,k,true))&&setTimeout(function(){!c.data(a,f,k,true)&&!c.data(a,g,k,true)&&(c.removeData(a,
e,true),j.resolve())},0)}function Ma(a){for(var b in a)if(b!=="toJSON")return false;return true}function Ya(a,b,d){if(d===k&&a.nodeType===1){d="data-"+b.replace(Ab,"$1-$2").toLowerCase();d=a.getAttribute(d);if(typeof d=="string"){try{d=d==="true"?true:d==="false"?false:d==="null"?null:c.isNaN(d)?Bb.test(d)?c.parseJSON(d):d:parseFloat(d)}catch(e){}c.data(a,b,d)}else d=k}return d}var J=h.document,Cb=h.navigator,Db=h.location,c=function(){function a(){if(!b.isReady){try{J.documentElement.doScroll("left")}catch(m){setTimeout(a,
1);return}b.ready()}}var b=function(m,B){return new b.fn.init(m,B,f)},d=h.jQuery,e=h.$,f,g=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,j=/\S/,n=/^\s+/,p=/\s+$/,q=/\d/,x=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,N=/^[\],:{}\s]*$/,W=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,R=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,Y=/(?:^|:|,)(?:\s*\[)+/g,ia=/(webkit)[ \/]([\w.]+)/,fa=/(opera)(?:.*version)?[ \/]([\w.]+)/,ga=/(msie) ([\w.]+)/,ma=/(mozilla)(?:.*? rv:([\w.]+))?/,i=Cb.userAgent,l,t,v=Object.prototype.toString,
r=Object.prototype.hasOwnProperty,w=Array.prototype.push,E=Array.prototype.slice,H=String.prototype.trim,U=Array.prototype.indexOf,ca={};b.fn=b.prototype={constructor:b,init:function(m,B,G){var A,V;if(!m)return this;if(m.nodeType){this.context=this[0]=m;this.length=1;return this}if(m==="body"&&!B&&J.body){this.context=J;this[0]=J.body;this.selector=m;this.length=1;return this}if(typeof m=="string"){m.charAt(0)!=="<"||m.charAt(m.length-1)!==">"||m.length<3?A=g.exec(m):A=[null,m,null];if(A&&(A[1]||
!B)){if(A[1]){V=(B=B instanceof b?B[0]:B)?B.ownerDocument||B:J;(G=x.exec(m))?b.isPlainObject(B)?(m=[J.createElement(G[1])],b.fn.attr.call(m,B,true)):m=[V.createElement(G[1])]:(G=b.buildFragment([A[1]],[V]),m=(G.cacheable?b.clone(G.fragment):G.fragment).childNodes);return b.merge(this,m)}if((B=J.getElementById(A[2]))&&B.parentNode){if(B.id!==A[2])return G.find(m);this.length=1;this[0]=B}this.context=J;this.selector=m;return this}return!B||B.jquery?(B||G).find(m):this.constructor(B).find(m)}if(b.isFunction(m))return G.ready(m);
m.selector!==k&&(this.selector=m.selector,this.context=m.context);return b.makeArray(m,this)},selector:"",jquery:"1.6.1",length:0,size:function(){return this.length},toArray:function(){return E.call(this,0)},get:function(m){return m==null?this.toArray():m<0?this[this.length+m]:this[m]},pushStack:function(m,B,G){var A=this.constructor();b.isArray(m)?w.apply(A,m):b.merge(A,m);A.prevObject=this;A.context=this.context;B==="find"?A.selector=this.selector+(this.selector?" ":"")+G:B&&(A.selector=this.selector+
"."+B+"("+G+")");return A},each:function(m,B){return b.each(this,m,B)},ready:function(m){b.bindReady();l.done(m);return this},eq:function(m){return m===-1?this.slice(m):this.slice(m,+m+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(E.apply(this,arguments),"slice",E.call(arguments).join(","))},map:function(m){return this.pushStack(b.map(this,function(B,G){return m.call(B,G,B)}))},end:function(){return this.prevObject||this.constructor(null)},
push:w,sort:[].sort,splice:[].splice};b.fn.init.prototype=b.fn;b.extend=b.fn.extend=function(){var m,B,G,A,V,T,Q=arguments[0]||{},Z=1,ua=arguments.length,pa=false;typeof Q=="boolean"&&(pa=Q,Q=arguments[1]||{},Z=2);typeof Q!="object"&&!b.isFunction(Q)&&(Q={});for(ua===Z&&(Q=this,--Z);Z<ua;Z++)if((m=arguments[Z])!=null)for(B in m){G=Q[B];A=m[B];if(Q!==A)pa&&A&&(b.isPlainObject(A)||(V=b.isArray(A)))?(V?(V=false,T=G&&b.isArray(G)?G:[]):T=G&&b.isPlainObject(G)?G:{},Q[B]=b.extend(pa,T,A)):A!==k&&(Q[B]=
A)}return Q};b.extend({noConflict:function(m){h.$===b&&(h.$=e);m&&h.jQuery===b&&(h.jQuery=d);return b},isReady:false,readyWait:1,holdReady:function(m){m?b.readyWait++:b.ready(true)},ready:function(m){if(m===true&&!--b.readyWait||m!==true&&!b.isReady){if(!J.body)return setTimeout(b.ready,1);b.isReady=true;if(!(m!==true&&--b.readyWait>0)){l.resolveWith(J,[b]);b.fn.trigger&&b(J).trigger("ready").unbind("ready")}}},bindReady:function(){if(!l){l=b._Deferred();if(J.readyState==="complete")return setTimeout(b.ready,
1);if(J.addEventListener){J.addEventListener("DOMContentLoaded",t,false);h.addEventListener("load",b.ready,false)}else if(J.attachEvent){J.attachEvent("onreadystatechange",t);h.attachEvent("onload",b.ready);var m=false;try{m=h.frameElement==null}catch(B){}J.documentElement.doScroll&&m&&a()}}},isFunction:function(m){return b.type(m)==="function"},isArray:Array.isArray||function(m){return b.type(m)==="array"},isWindow:function(m){return m&&typeof m=="object"&&"setInterval"in m},isNaN:function(m){return m==
null||!q.test(m)||isNaN(m)},type:function(m){return m==null?String(m):ca[v.call(m)]||"object"},isPlainObject:function(m){if(!m||b.type(m)!=="object"||m.nodeType||b.isWindow(m))return false;if(m.constructor&&!r.call(m,"constructor")&&!r.call(m.constructor.prototype,"isPrototypeOf"))return false;var B;for(B in m);return B===k||r.call(m,B)},isEmptyObject:function(m){for(var B in m)return false;return true},error:function(m){throw m;},parseJSON:function(m){if(typeof m!="string"||!m)return null;m=b.trim(m);
if(h.JSON&&h.JSON.parse)return h.JSON.parse(m);if(N.test(m.replace(W,"@").replace(R,"]").replace(Y,"")))return(new Function("return "+m))();b.error("Invalid JSON: "+m)},parseXML:function(m,B,G){h.DOMParser?(G=new DOMParser,B=G.parseFromString(m,"text/xml")):(B=new ActiveXObject("Microsoft.XMLDOM"),B.async="false",B.loadXML(m));G=B.documentElement;(!G||!G.nodeName||G.nodeName==="parsererror")&&b.error("Invalid XML: "+m);return B},noop:function(){},globalEval:function(m){m&&j.test(m)&&(h.execScript||
function(B){h.eval.call(h,B)})(m)},nodeName:function(m,B){return m.nodeName&&m.nodeName.toUpperCase()===B.toUpperCase()},each:function(m,B,G){var A,V=0,T=m.length,Q=T===k||b.isFunction(m);if(G)if(Q)for(A in m){if(B.apply(m[A],G)===false)break}else for(;V<T;){if(B.apply(m[V++],G)===false)break}else if(Q)for(A in m){if(B.call(m[A],A,m[A])===false)break}else for(;V<T;)if(B.call(m[V],V,m[V++])===false)break;return m},trim:H?function(m){return m==null?"":H.call(m)}:function(m){return m==null?"":(m+"").replace(n,
"").replace(p,"")},makeArray:function(m,B){var G=B||[];if(m!=null){var A=b.type(m);m.length==null||A==="string"||A==="function"||A==="regexp"||b.isWindow(m)?w.call(G,m):b.merge(G,m)}return G},inArray:function(m,B){if(U)return U.call(B,m);for(var G=0,A=B.length;G<A;G++)if(B[G]===m)return G;return-1},merge:function(m,B){var G=m.length,A=0;if(typeof B.length=="number")for(var V=B.length;A<V;A++)m[G++]=B[A];else for(;B[A]!==k;)m[G++]=B[A++];m.length=G;return m},grep:function(m,B,G){var A=[],V;G=!!G;for(var T=
0,Q=m.length;T<Q;T++){V=!!B(m[T],T);G!==V&&A.push(m[T])}return A},map:function(m,B,G){var A,V,T=[],Q=0,Z=m.length;if(m instanceof b||Z!==k&&typeof Z=="number"&&(Z>0&&m[0]&&m[Z-1]||Z===0||b.isArray(m)))for(;Q<Z;Q++){A=B(m[Q],Q,G);A!=null&&(T[T.length]=A)}else for(V in m){A=B(m[V],V,G);A!=null&&(T[T.length]=A)}return T.concat.apply([],T)},guid:1,proxy:function(m,B){if(typeof B=="string"){var G=m[B];B=m;m=G}if(!b.isFunction(m))return k;var A=E.call(arguments,2);G=function(){return m.apply(B,A.concat(E.call(arguments)))};
G.guid=m.guid=m.guid||G.guid||b.guid++;return G},access:function(m,B,G,A,V,T){var Q=m.length;if(typeof B=="object"){for(var Z in B)b.access(m,Z,B[Z],A,V,G);return m}if(G!==k){A=!T&&A&&b.isFunction(G);for(Z=0;Z<Q;Z++)V(m[Z],B,A?G.call(m[Z],Z,V(m[Z],B)):G,T);return m}return Q?V(m[0],B):k},now:function(){return(new Date).getTime()},uaMatch:function(m){m=m.toLowerCase();m=ia.exec(m)||fa.exec(m)||ga.exec(m)||m.indexOf("compatible")<0&&ma.exec(m)||[];return{browser:m[1]||"",version:m[2]||"0"}},sub:function(){function m(G,
A){return new m.fn.init(G,A)}b.extend(true,m,this);m.superclass=this;m.fn=m.prototype=this();m.fn.constructor=m;m.sub=this.sub;m.fn.init=function(G,A){A&&A instanceof b&&!(A instanceof m)&&(A=m(A));return b.fn.init.call(this,G,A,B)};m.fn.init.prototype=m.fn;var B=m(J);return m},browser:{}});b.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(m,B){ca["[object "+B+"]"]=B.toLowerCase()});i=b.uaMatch(i);i.browser&&(b.browser[i.browser]=true,b.browser.version=i.version);
b.browser.webkit&&(b.browser.safari=true);j.test(" ")&&(n=/^[\s\xA0]+/,p=/[\s\xA0]+$/);f=b(J);J.addEventListener?t=function(){J.removeEventListener("DOMContentLoaded",t,false);b.ready()}:J.attachEvent&&(t=function(){J.readyState==="complete"&&(J.detachEvent("onreadystatechange",t),b.ready())});return b}(),Na="done fail isResolved isRejected promise then always pipe".split(" "),Za=[].slice;c.extend({_Deferred:function(){var a=[],b,d,e,f={done:function(){if(!e){var g=arguments,j,n,p,q,x;b&&(x=b,b=0);
j=0;for(n=g.length;j<n;j++){p=g[j];q=c.type(p);q==="array"?f.done.apply(f,p):q==="function"&&a.push(p)}x&&f.resolveWith(x[0],x[1])}return this},resolveWith:function(g,j){if(!e&&!b&&!d){j=j||[];d=1;try{for(;a[0];)a.shift().apply(g,j)}finally{b=[g,j];d=0}}return this},resolve:function(){f.resolveWith(this,arguments);return this},isResolved:function(){return!!d||!!b},cancel:function(){e=1;a=[];return this}};return f},Deferred:function(a){var b=c._Deferred(),d=c._Deferred(),e;c.extend(b,{then:function(f,
g){b.done(f).fail(g);return this},always:function(){return b.done.apply(b,arguments).fail.apply(this,arguments)},fail:d.done,rejectWith:d.resolveWith,reject:d.resolve,isRejected:d.isResolved,pipe:function(f,g){return c.Deferred(function(j){c.each({done:[f,"resolve"],fail:[g,"reject"]},function(n,p){var q=p[0],x=p[1],N;c.isFunction(q)?b[n](function(){(N=q.apply(this,arguments))&&c.isFunction(N.promise)?N.promise().then(j.resolve,j.reject):j[x](N)}):b[n](j[x])})}).promise()},promise:function(f){if(f==
null){if(e)return e;e=f={}}for(var g=Na.length;g--;)f[Na[g]]=b[Na[g]];return f}});b.done(d.cancel).fail(b.cancel);delete b.cancel;a&&a.call(b,b);return b},when:function(a){function b(n){return function(p){d[n]=arguments.length>1?Za.call(arguments,0):p;--g||j.resolveWith(j,Za.call(d,0))}}var d=arguments,e=0,f=d.length,g=f,j=f<=1&&a&&c.isFunction(a.promise)?a:c.Deferred();if(f>1){for(;e<f;e++)d[e]&&c.isFunction(d[e].promise)?d[e].promise().then(b(e),j.reject):--g;g||j.resolveWith(j,d)}else j!==a&&j.resolveWith(j,
f?[a]:[]);return j.promise()}});c.support=function(){var a=J.createElement("div"),b=J.documentElement,d,e,f,g,j,n,p;a.setAttribute("className","t");a.innerHTML="   <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/>";d=a.getElementsByTagName("*");e=a.getElementsByTagName("a")[0];if(!d||!d.length||!e)return{};f=J.createElement("select");g=f.appendChild(J.createElement("option"));d=a.getElementsByTagName("input")[0];n={leadingWhitespace:a.firstChild.nodeType===
3,tbody:!a.getElementsByTagName("tbody").length,htmlSerialize:!!a.getElementsByTagName("link").length,style:/top/.test(e.getAttribute("style")),hrefNormalized:e.getAttribute("href")==="/a",opacity:/^0.55$/.test(e.style.opacity),cssFloat:!!e.style.cssFloat,checkOn:d.value==="on",optSelected:g.selected,getSetAttribute:a.className!=="t",submitBubbles:true,changeBubbles:true,focusinBubbles:false,deleteExpando:true,noCloneEvent:true,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableMarginRight:true};
d.checked=true;n.noCloneChecked=d.cloneNode(true).checked;f.disabled=true;n.optDisabled=!g.disabled;try{delete a.test}catch(q){n.deleteExpando=false}!a.addEventListener&&a.attachEvent&&a.fireEvent&&(a.attachEvent("onclick",function x(){n.noCloneEvent=false;a.detachEvent("onclick",x)}),a.cloneNode(true).fireEvent("onclick"));d=J.createElement("input");d.value="t";d.setAttribute("type","radio");n.radioValue=d.value==="t";d.setAttribute("checked","checked");a.appendChild(d);e=J.createDocumentFragment();
e.appendChild(a.firstChild);n.checkClone=e.cloneNode(true).cloneNode(true).lastChild.checked;a.innerHTML="";a.style.width=a.style.paddingLeft="1px";e=J.createElement("body");f={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"};for(p in f)e.style[p]=f[p];e.appendChild(a);b.insertBefore(e,b.firstChild);n.appendChecked=d.checked;n.boxModel=a.offsetWidth===2;"zoom"in a.style&&(a.style.display="inline",a.style.zoom=1,n.inlineBlockNeedsLayout=a.offsetWidth===2,a.style.display="",
a.innerHTML="<div style='width:4px;'></div>",n.shrinkWrapBlocks=a.offsetWidth!==2);a.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>";f=a.getElementsByTagName("td");d=f[0].offsetHeight===0;f[0].style.display="";f[1].style.display="none";n.reliableHiddenOffsets=d&&f[0].offsetHeight===0;a.innerHTML="";J.defaultView&&J.defaultView.getComputedStyle&&(j=J.createElement("div"),j.style.width="0",j.style.marginRight="0",a.appendChild(j),n.reliableMarginRight=
(parseInt((J.defaultView.getComputedStyle(j,null)||{marginRight:0}).marginRight,10)||0)===0);e.innerHTML="";b.removeChild(e);if(a.attachEvent)for(p in{submit:1,change:1,focusin:1}){b="on"+p;(d=b in a)||(a.setAttribute(b,"return;"),d=typeof a[b]=="function");n[p+"Bubbles"]=d}return n}();c.boxModel=c.support.boxModel;var Bb=/^(?:\{.*\}|\[.*\])$/,Ab=/([a-z])([A-Z])/g;c.extend({cache:{},uuid:0,expando:"jQuery"+(c.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:true,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",
applet:true},hasData:function(a){a=a.nodeType?c.cache[a[c.expando]]:a[c.expando];return!!a&&!Ma(a)},data:function(a,b,d,e){if(c.acceptData(a)){var f=c.expando,g=typeof b=="string",j=a.nodeType,n=j?c.cache:a,p=j?a[c.expando]:a[c.expando]&&c.expando;if(!((!p||e&&p&&!n[p][f])&&g&&d===k)){p||(j?a[c.expando]=p=++c.uuid:p=c.expando);n[p]||(n[p]={},j||(n[p].toJSON=c.noop));if(typeof b=="object"||typeof b=="function")e?n[p][f]=c.extend(n[p][f],b):n[p]=c.extend(n[p],b);a=n[p];e&&(a[f]||(a[f]={}),a=a[f]);d!==
k&&(a[c.camelCase(b)]=d);if(b==="events"&&!a[b])return a[f]&&a[f].events;return g?a[c.camelCase(b)]:a}}},removeData:function(a,b,d){if(c.acceptData(a)){var e=c.expando,f=a.nodeType,g=f?c.cache:a,j=f?a[c.expando]:c.expando;if(g[j]){if(b){var n=d?g[j][e]:g[j];if(n){delete n[b];if(!Ma(n))return}}if(d){delete g[j][e];if(!Ma(g[j]))return}b=g[j][e];c.support.deleteExpando||g!=h?delete g[j]:g[j]=null;b?(g[j]={},f||(g[j].toJSON=c.noop),g[j][e]=b):f&&(c.support.deleteExpando?delete a[c.expando]:a.removeAttribute?
a.removeAttribute(c.expando):a[c.expando]=null)}}},_data:function(a,b,d){return c.data(a,b,d,true)},acceptData:function(a){if(a.nodeName){var b=c.noData[a.nodeName.toLowerCase()];if(b)return b!==true&&a.getAttribute("classid")===b}return true}});c.fn.extend({data:function(a,b){var d=null;if(typeof a=="undefined"){if(this.length){d=c.data(this[0]);if(this[0].nodeType===1)for(var e=this[0].attributes,f,g=0,j=e.length;g<j;g++){f=e[g].name;f.indexOf("data-")===0&&(f=c.camelCase(f.substring(5)),Ya(this[0],
f,d[f]))}}return d}if(typeof a=="object")return this.each(function(){c.data(this,a)});var n=a.split(".");n[1]=n[1]?"."+n[1]:"";if(b===k){d=this.triggerHandler("getData"+n[1]+"!",[n[0]]);d===k&&this.length&&(d=c.data(this[0],a),d=Ya(this[0],a,d));return d===k&&n[1]?this.data(n[0]):d}return this.each(function(){var p=c(this),q=[n[0],b];p.triggerHandler("setData"+n[1]+"!",q);c.data(this,a,b);p.triggerHandler("changeData"+n[1]+"!",q)})},removeData:function(a){return this.each(function(){c.removeData(this,
a)})}});c.extend({_mark:function(a,b){a&&(b=(b||"fx")+"mark",c.data(a,b,(c.data(a,b,k,true)||0)+1,true))},_unmark:function(a,b,d){a!==true&&(d=b,b=a,a=false);if(b){d=d||"fx";var e=d+"mark";(a=a?0:(c.data(b,e,k,true)||1)-1)?c.data(b,e,a,true):(c.removeData(b,e,true),Xa(b,d,"mark"))}},queue:function(a,b,d){if(a){b=(b||"fx")+"queue";var e=c.data(a,b,k,true);d&&(!e||c.isArray(d)?e=c.data(a,b,c.makeArray(d),true):e.push(d));return e||[]}},dequeue:function(a,b){b=b||"fx";var d=c.queue(a,b),e=d.shift();
e==="inprogress"&&(e=d.shift());e&&(b==="fx"&&d.unshift("inprogress"),e.call(a,function(){c.dequeue(a,b)}));d.length||(c.removeData(a,b+"queue",true),Xa(a,b,"queue"))}});c.fn.extend({queue:function(a,b){typeof a!="string"&&(b=a,a="fx");if(b===k)return c.queue(this[0],a);return this.each(function(){var d=c.queue(this,a,b);a==="fx"&&d[0]!=="inprogress"&&c.dequeue(this,a)})},dequeue:function(a){return this.each(function(){c.dequeue(this,a)})},delay:function(a,b){a=c.fx?c.fx.speeds[a]||a:a;b=b||"fx";
return this.queue(b,function(){var d=this;setTimeout(function(){c.dequeue(d,b)},a)})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,b){function d(){--j||e.resolveWith(f,[f])}typeof a!="string"&&(b=a,a=k);a=a||"fx";for(var e=c.Deferred(),f=this,g=f.length,j=1,n=a+"defer",p=a+"queue",q=a+"mark",x;g--;)if(x=c.data(f[g],n,k,true)||(c.data(f[g],p,k,true)||c.data(f[g],q,k,true))&&c.data(f[g],n,c._Deferred(),true)){j++;x.done(d)}d();return e.promise()}});var $a=/[\n\t\r]/g,Oa=
/\s+/,Eb=/\r/g,Fb=/^(?:button|input)$/i,Gb=/^(?:button|input|object|select|textarea)$/i,Hb=/^a(?:rea)?$/i,ab=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,Ib=/\:/,qa,bb;c.fn.extend({attr:function(a,b){return c.access(this,a,b,true,c.attr)},removeAttr:function(a){return this.each(function(){c.removeAttr(this,a)})},prop:function(a,b){return c.access(this,a,b,true,c.prop)},removeProp:function(a){a=c.propFix[a]||a;return this.each(function(){try{this[a]=
k;delete this[a]}catch(b){}})},addClass:function(a){if(c.isFunction(a))return this.each(function(q){var x=c(this);x.addClass(a.call(this,q,x.attr("class")||""))});if(a&&typeof a=="string")for(var b=(a||"").split(Oa),d=0,e=this.length;d<e;d++){var f=this[d];if(f.nodeType===1)if(f.className){for(var g=" "+f.className+" ",j=f.className,n=0,p=b.length;n<p;n++)g.indexOf(" "+b[n]+" ")<0&&(j+=" "+b[n]);f.className=c.trim(j)}else f.className=a}return this},removeClass:function(a){if(c.isFunction(a))return this.each(function(p){var q=
c(this);q.removeClass(a.call(this,p,q.attr("class")))});if(a&&typeof a=="string"||a===k)for(var b=(a||"").split(Oa),d=0,e=this.length;d<e;d++){var f=this[d];if(f.nodeType===1&&f.className)if(a){for(var g=(" "+f.className+" ").replace($a," "),j=0,n=b.length;j<n;j++)g=g.replace(" "+b[j]+" "," ");f.className=c.trim(g)}else f.className=""}return this},toggleClass:function(a,b){var d=typeof a,e=typeof b=="boolean";if(c.isFunction(a))return this.each(function(f){var g=c(this);g.toggleClass(a.call(this,
f,g.attr("class"),b),b)});return this.each(function(){if(d==="string")for(var f,g=0,j=c(this),n=b,p=a.split(Oa);f=p[g++];){n=e?n:!j.hasClass(f);j[n?"addClass":"removeClass"](f)}else if(d==="undefined"||d==="boolean"){this.className&&c._data(this,"__className__",this.className);this.className=this.className||a===false?"":c._data(this,"__className__")||""}})},hasClass:function(a){a=" "+a+" ";for(var b=0,d=this.length;b<d;b++)if((" "+this[b].className+" ").replace($a," ").indexOf(a)>-1)return true;return false},
val:function(a){var b,d,e=this[0];if(!arguments.length){if(e){if((b=c.valHooks[e.nodeName.toLowerCase()]||c.valHooks[e.type])&&"get"in b&&(d=b.get(e,"value"))!==k)return d;return(e.value||"").replace(Eb,"")}return k}var f=c.isFunction(a);return this.each(function(g){var j=c(this),n;if(this.nodeType===1){f?n=a.call(this,g,j.val()):n=a;n==null?n="":typeof n=="number"?n+="":c.isArray(n)&&(n=c.map(n,function(p){return p==null?"":p+""}));b=c.valHooks[this.nodeName.toLowerCase()]||c.valHooks[this.type];
if(!b||!("set"in b)||b.set(this,n,"value")===k)this.value=n}})}});c.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){var b,d=a.selectedIndex,e=[],f=a.options;a=a.type==="select-one";if(d<0)return null;for(var g=a?d:0,j=a?d+1:f.length;g<j;g++){b=f[g];if(b.selected&&(c.support.optDisabled?!b.disabled:b.getAttribute("disabled")===null)&&(!b.parentNode.disabled||!c.nodeName(b.parentNode,"optgroup"))){b=c(b).val();if(a)return b;
e.push(b)}}if(a&&!e.length&&f.length)return c(f[d]).val();return e},set:function(a,b){var d=c.makeArray(b);c(a).find("option").each(function(){this.selected=c.inArray(c(this).val(),d)>=0});d.length||(a.selectedIndex=-1);return d}}},attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attrFix:{tabindex:"tabIndex"},attr:function(a,b,d,e){var f=a.nodeType;if(!a||f===3||f===8||f===2)return k;if(e&&b in c.attrFn)return c(a)[b](d);if(!("getAttribute"in a))return c.prop(a,
b,d);var g;b=(f=f!==1||!c.isXMLDoc(a))&&c.attrFix[b]||b;(e=c.attrHooks[b])||(!ab.test(b)||typeof d!="boolean"&&d!==k&&d.toLowerCase()!==b.toLowerCase()?qa&&(c.nodeName(a,"form")||Ib.test(b))&&(e=qa):e=bb);if(d!==k){if(d===null){c.removeAttr(a,b);return k}if(e&&"set"in e&&f&&(g=e.set(a,d,b))!==k)return g;a.setAttribute(b,""+d);return d}if(e&&"get"in e&&f)return e.get(a,b);g=a.getAttribute(b);return g===null?k:g},removeAttr:function(a,b){var d;a.nodeType===1&&(b=c.attrFix[b]||b,c.support.getSetAttribute?
a.removeAttribute(b):(c.attr(a,b,""),a.removeAttributeNode(a.getAttributeNode(b))),ab.test(b)&&(d=c.propFix[b]||b)in a&&(a[d]=false))},attrHooks:{type:{set:function(a,b){if(Fb.test(a.nodeName)&&a.parentNode)c.error("type property can't be changed");else if(!c.support.radioValue&&b==="radio"&&c.nodeName(a,"input")){var d=a.value;a.setAttribute("type",b);d&&(a.value=d);return b}}},tabIndex:{get:function(a){var b=a.getAttributeNode("tabIndex");return b&&b.specified?parseInt(b.value,10):Gb.test(a.nodeName)||
Hb.test(a.nodeName)&&a.href?0:k}}},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(a,b,d){var e=a.nodeType;if(!a||e===3||e===8||e===2)return k;var f;b=(e!==1||!c.isXMLDoc(a))&&c.propFix[b]||b;e=c.propHooks[b];return d!==k?e&&"set"in e&&(f=e.set(a,d,b))!==k?f:a[b]=
d:e&&"get"in e&&(f=e.get(a,b))!==k?f:a[b]},propHooks:{}});bb={get:function(a,b){return a[c.propFix[b]||b]?b.toLowerCase():k},set:function(a,b,d){var e;b===false?c.removeAttr(a,d):(e=c.propFix[d]||d,e in a&&(a[e]=b),a.setAttribute(d,d.toLowerCase()));return d}};c.attrHooks.value={get:function(a,b){if(qa&&c.nodeName(a,"button"))return qa.get(a,b);return a.value},set:function(a,b,d){if(qa&&c.nodeName(a,"button"))return qa.set(a,b,d);a.value=b}};c.support.getSetAttribute||(c.attrFix=c.propFix,qa=c.attrHooks.name=
c.valHooks.button={get:function(a,b){var d;return(d=a.getAttributeNode(b))&&d.nodeValue!==""?d.nodeValue:k},set:function(a,b,d){if(a=a.getAttributeNode(d))return a.nodeValue=b}},c.each(["width","height"],function(a,b){c.attrHooks[b]=c.extend(c.attrHooks[b],{set:function(d,e){if(e===""){d.setAttribute(b,"auto");return e}}})}));c.support.hrefNormalized||c.each(["href","src","width","height"],function(a,b){c.attrHooks[b]=c.extend(c.attrHooks[b],{get:function(d){d=d.getAttribute(b,2);return d===null?
k:d}})});c.support.style||(c.attrHooks.style={get:function(a){return a.style.cssText.toLowerCase()||k},set:function(a,b){return a.style.cssText=""+b}});c.support.optSelected||(c.propHooks.selected=c.extend(c.propHooks.selected,{get:function(){}}));c.support.checkOn||c.each(["radio","checkbox"],function(){c.valHooks[this]={get:function(a){return a.getAttribute("value")===null?"on":a.value}}});c.each(["radio","checkbox"],function(){c.valHooks[this]=c.extend(c.valHooks[this],{set:function(a,b){if(c.isArray(b))return a.checked=
c.inArray(c(a).val(),b)>=0}})});var La=/\.(.*)$/,Pa=/^(?:textarea|input|select)$/i,yb=/\./g,zb=/ /g,Jb=/[^\w\s.|`]/g,Kb=function(a){return a.replace(Jb,"\\$&")};c.event={add:function(a,b,d,e){if(a.nodeType!==3&&a.nodeType!==8){if(d===false)d=ea;else if(!d)return;var f,g;d.handler&&(f=d,d=f.handler);d.guid||(d.guid=c.guid++);if(g=c._data(a)){var j=g.events,n=g.handle;j||(g.events=j={});n||(g.handle=n=function(R){return typeof c!="undefined"&&(!R||c.event.triggered!==R.type)?c.event.handle.apply(n.elem,
arguments):k});n.elem=a;b=b.split(" ");for(var p,q=0,x;p=b[q++];){g=f?c.extend({},f):{handler:d,data:e};p.indexOf(".")>-1?(x=p.split("."),p=x.shift(),g.namespace=x.slice(0).sort().join(".")):(x=[],g.namespace="");g.type=p;g.guid||(g.guid=d.guid);var N=j[p],W=c.event.special[p]||{};if(!N){N=j[p]=[];if(!W.setup||W.setup.call(a,e,x,n)===false)a.addEventListener?a.addEventListener(p,n,false):a.attachEvent&&a.attachEvent("on"+p,n)}W.add&&(W.add.call(a,g),g.handler.guid||(g.handler.guid=d.guid));N.push(g);
c.event.global[p]=true}a=null}}},global:{},remove:function(a,b,d,e){if(a.nodeType!==3&&a.nodeType!==8){d===false&&(d=ea);var f,g,j=0,n,p,q,x,N,W,R=c.hasData(a)&&c._data(a),Y=R&&R.events;if(R&&Y){b&&b.type&&(d=b.handler,b=b.type);if(!b||typeof b=="string"&&b.charAt(0)==="."){b=b||"";for(f in Y)c.event.remove(a,f+b)}else{for(b=b.split(" ");f=b[j++];){x=f;n=f.indexOf(".")<0;p=[];n||(p=f.split("."),f=p.shift(),q=RegExp("(^|\\.)"+c.map(p.slice(0).sort(),Kb).join("\\.(?:.*\\.)?")+"(\\.|$)"));if(N=Y[f])if(d){x=
c.event.special[f]||{};for(g=e||0;g<N.length;g++){W=N[g];if(d.guid===W.guid){if(n||q.test(W.namespace)){e==null&&N.splice(g--,1);x.remove&&x.remove.call(a,W)}if(e!=null)break}}if(N.length===0||e!=null&&N.length===1){(!x.teardown||x.teardown.call(a,p)===false)&&c.removeEvent(a,f,R.handle);delete Y[f]}}else for(g=0;g<N.length;g++){W=N[g];if(n||q.test(W.namespace)){c.event.remove(a,x,W.handler,g);N.splice(g--,1)}}}if(c.isEmptyObject(Y)){(b=R.handle)&&(b.elem=null);delete R.events;delete R.handle;c.isEmptyObject(R)&&
c.removeData(a,k,true)}}}}},customEvent:{getData:true,setData:true,changeData:true},trigger:function(a,b,d,e){var f=a.type||a,g=[],j;f.indexOf("!")>=0&&(f=f.slice(0,-1),j=true);f.indexOf(".")>=0&&(g=f.split("."),f=g.shift(),g.sort());if(d&&!c.event.customEvent[f]||c.event.global[f]){a=typeof a=="object"?a[c.expando]?a:new c.Event(f,a):new c.Event(f);a.type=f;a.exclusive=j;a.namespace=g.join(".");a.namespace_re=RegExp("(^|\\.)"+g.join("\\.(?:.*\\.)?")+"(\\.|$)");if(e||!d){a.preventDefault();a.stopPropagation()}if(d){if(!(d.nodeType===
3||d.nodeType===8)){a.result=k;a.target=d;b=b?c.makeArray(b):[];b.unshift(a);g=d;e=f.indexOf(":")<0?"on"+f:"";do{j=c._data(g,"handle");a.currentTarget=g;j&&j.apply(g,b);e&&c.acceptData(g)&&g[e]&&g[e].apply(g,b)===false&&(a.result=false,a.preventDefault());g=g.parentNode||g.ownerDocument||g===a.target.ownerDocument&&h}while(g&&!a.isPropagationStopped());if(!a.isDefaultPrevented()){var n;g=c.event.special[f]||{};if((!g._default||g._default.call(d.ownerDocument,a)===false)&&(f!=="click"||!c.nodeName(d,
"a"))&&c.acceptData(d)){try{e&&d[f]&&(n=d[e],n&&(d[e]=null),c.event.triggered=f,d[f]())}catch(p){}n&&(d[e]=n);c.event.triggered=k}}return a.result}}else c.each(c.cache,function(){var q=this[c.expando];q&&q.events&&q.events[f]&&c.event.trigger(a,b,q.handle.elem)})}},handle:function(a){a=c.event.fix(a||h.event);var b=((c._data(this,"events")||{})[a.type]||[]).slice(0),d=!a.exclusive&&!a.namespace,e=Array.prototype.slice.call(arguments,0);e[0]=a;a.currentTarget=this;for(var f=0,g=b.length;f<g;f++){var j=
b[f];if(d||a.namespace_re.test(j.namespace)){a.handler=j.handler;a.data=j.data;a.handleObj=j;j=j.handler.apply(this,e);j!==k&&(a.result=j,j===false&&(a.preventDefault(),a.stopPropagation()));if(a.isImmediatePropagationStopped())break}}return a.result},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),
fix:function(a){if(a[c.expando])return a;var b=a;a=c.Event(b);for(var d=this.props.length,e;d;){e=this.props[--d];a[e]=b[e]}a.target||(a.target=a.srcElement||J);a.target.nodeType===3&&(a.target=a.target.parentNode);!a.relatedTarget&&a.fromElement&&(a.relatedTarget=a.fromElement===a.target?a.toElement:a.fromElement);if(a.pageX==null&&a.clientX!=null){d=a.target.ownerDocument||J;b=d.documentElement;d=d.body;a.pageX=a.clientX+(b&&b.scrollLeft||d&&d.scrollLeft||0)-(b&&b.clientLeft||d&&d.clientLeft||0);
a.pageY=a.clientY+(b&&b.scrollTop||d&&d.scrollTop||0)-(b&&b.clientTop||d&&d.clientTop||0)}a.which==null&&(a.charCode!=null||a.keyCode!=null)&&(a.which=a.charCode!=null?a.charCode:a.keyCode);!a.metaKey&&a.ctrlKey&&(a.metaKey=a.ctrlKey);!a.which&&a.button!==k&&(a.which=a.button&1?1:a.button&2?3:a.button&4?2:0);return a},guid:1E8,proxy:c.proxy,special:{ready:{setup:c.bindReady,teardown:c.noop},live:{add:function(a){c.event.add(this,F(a.origType,a.selector),c.extend({},a,{handler:L,guid:a.handler.guid}))},
remove:function(a){c.event.remove(this,F(a.origType,a.selector),a)}},beforeunload:{setup:function(a,b,d){c.isWindow(this)&&(this.onbeforeunload=d)},teardown:function(a,b){this.onbeforeunload===b&&(this.onbeforeunload=null)}}}};c.removeEvent=J.removeEventListener?function(a,b,d){a.removeEventListener&&a.removeEventListener(b,d,false)}:function(a,b,d){a.detachEvent&&a.detachEvent("on"+b,d)};c.Event=function(a,b){if(!this.preventDefault)return new c.Event(a,b);a&&a.type?(this.originalEvent=a,this.type=
a.type,this.isDefaultPrevented=a.defaultPrevented||a.returnValue===false||a.getPreventDefault&&a.getPreventDefault()?M:ea):this.type=a;b&&c.extend(this,b);this.timeStamp=c.now();this[c.expando]=true};c.Event.prototype={preventDefault:function(){this.isDefaultPrevented=M;var a=this.originalEvent;!a||(a.preventDefault?a.preventDefault():a.returnValue=false)},stopPropagation:function(){this.isPropagationStopped=M;var a=this.originalEvent;!a||(a.stopPropagation&&a.stopPropagation(),a.cancelBubble=true)},
stopImmediatePropagation:function(){this.isImmediatePropagationStopped=M;this.stopPropagation()},isDefaultPrevented:ea,isPropagationStopped:ea,isImmediatePropagationStopped:ea};var cb=function(a){var b=a.relatedTarget;a.type=a.data;try{if(!(b&&b!==J&&!b.parentNode)){for(;b&&b!==this;)b=b.parentNode;b!==this&&c.event.handle.apply(this,arguments)}}catch(d){}},db=function(a){a.type=a.data;c.event.handle.apply(this,arguments)};c.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){c.event.special[a]=
{setup:function(d){c.event.add(this,b,d&&d.selector?db:cb,a)},teardown:function(d){c.event.remove(this,b,d&&d.selector?db:cb)}}});c.support.submitBubbles||(c.event.special.submit={setup:function(){if(c.nodeName(this,"form"))return false;else{c.event.add(this,"click.specialSubmit",function(a){var b=a.target,d=b.type;(d==="submit"||d==="image")&&c(b).closest("form").length&&X("submit",this,arguments)});c.event.add(this,"keypress.specialSubmit",function(a){var b=a.target,d=b.type;(d==="text"||d==="password")&&
c(b).closest("form").length&&a.keyCode===13&&X("submit",this,arguments)})}},teardown:function(){c.event.remove(this,".specialSubmit")}});if(!c.support.changeBubbles){var Ba,eb=function(a){var b=a.type,d=a.value;b==="radio"||b==="checkbox"?d=a.checked:b==="select-multiple"?d=a.selectedIndex>-1?c.map(a.options,function(e){return e.selected}).join("-"):"":c.nodeName(a,"select")&&(d=a.selectedIndex);return d},Ea=function(a,b){var d=a.target,e,f;if(Pa.test(d.nodeName)&&!d.readOnly){e=c._data(d,"_change_data");
f=eb(d);(a.type!=="focusout"||d.type!=="radio")&&c._data(d,"_change_data",f);if(!(e===k||f===e))if(e!=null||f){a.type="change";a.liveFired=k;c.event.trigger(a,b,d)}}};c.event.special.change={filters:{focusout:Ea,beforedeactivate:Ea,click:function(a){var b=a.target,d=c.nodeName(b,"input")?b.type:"";(d==="radio"||d==="checkbox"||c.nodeName(b,"select"))&&Ea.call(this,a)},keydown:function(a){var b=a.target,d=c.nodeName(b,"input")?b.type:"";(a.keyCode===13&&!c.nodeName(b,"textarea")||a.keyCode===32&&(d===
"checkbox"||d==="radio")||d==="select-multiple")&&Ea.call(this,a)},beforeactivate:function(a){a=a.target;c._data(a,"_change_data",eb(a))}},setup:function(){if(this.type==="file")return false;for(var a in Ba)c.event.add(this,a+".specialChange",Ba[a]);return Pa.test(this.nodeName)},teardown:function(){c.event.remove(this,".specialChange");return Pa.test(this.nodeName)}};Ba=c.event.special.change.filters;Ba.focus=Ba.beforeactivate}c.support.focusinBubbles||c.each({focus:"focusin",blur:"focusout"},function(a,
b){function d(f){var g=c.event.fix(f);g.type=b;g.originalEvent={};c.event.trigger(g,null,g.target);g.isDefaultPrevented()&&f.preventDefault()}var e=0;c.event.special[b]={setup:function(){e++===0&&J.addEventListener(a,d,true)},teardown:function(){--e===0&&J.removeEventListener(a,d,true)}}});c.each(["bind","one"],function(a,b){c.fn[b]=function(d,e,f){var g;if(typeof d=="object"){for(var j in d)this[b](j,e,d[j],f);return this}if(arguments.length===2||e===false){f=e;e=k}b==="one"?(g=function(p){c(this).unbind(p,
g);return f.apply(this,arguments)},g.guid=f.guid||c.guid++):g=f;if(d==="unload"&&b!=="one")this.one(d,e,f);else{j=0;for(var n=this.length;j<n;j++)c.event.add(this[j],d,g,e)}return this}});c.fn.extend({unbind:function(a,b){if(typeof a=="object"&&!a.preventDefault)for(var d in a)this.unbind(d,a[d]);else{d=0;for(var e=this.length;d<e;d++)c.event.remove(this[d],a,b)}return this},delegate:function(a,b,d,e){return this.live(b,d,e,a)},undelegate:function(a,b,d){return arguments.length===0?this.unbind("live"):
this.die(b,null,d,a)},trigger:function(a,b){return this.each(function(){c.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0])return c.event.trigger(a,b,this[0],true)},toggle:function(a){var b=arguments,d=a.guid||c.guid++,e=0,f=function(g){var j=(c.data(this,"lastToggle"+a.guid)||0)%e;c.data(this,"lastToggle"+a.guid,j+1);g.preventDefault();return b[j].apply(this,arguments)||false};for(f.guid=d;e<b.length;)b[e++].guid=d;return this.click(f)},hover:function(a,b){return this.mouseenter(a).mouseleave(b||
a)}});var Qa={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};c.each(["live","die"],function(a,b){c.fn[b]=function(d,e,f,g){var j=0,n,p,q=g||this.selector,x=g?this:c(this.context);if(typeof d=="object"&&!d.preventDefault){for(n in d)x[b](n,e,d[n],q);return this}if(b==="die"&&!d&&g&&g.charAt(0)==="."){x.unbind(g);return this}if(e===false||c.isFunction(e)){f=e||ea;e=k}for(d=(d||"").split(" ");(g=d[j++])!=null;){n=La.exec(g);p="";n&&(p=n[0],g=g.replace(La,""));if(g==="hover")d.push("mouseenter"+
p,"mouseleave"+p);else{n=g;Qa[g]?(d.push(Qa[g]+p),g+=p):g=(Qa[g]||g)+p;if(b==="live"){p=0;for(var N=x.length;p<N;p++)c.event.add(x[p],"live."+F(g,q),{data:e,selector:q,handler:f,origType:g,origHandler:f,preType:n})}else x.unbind("live."+F(g,q),f)}}return this}});c.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error".split(" "),function(a,b){c.fn[b]=function(d,
e){e==null&&(e=d,d=null);return arguments.length>0?this.bind(b,d,e):this.trigger(b)};c.attrFn&&(c.attrFn[b]=true)});(function(){function a(i,l,t,v,r,w){r=0;for(var E=v.length;r<E;r++){var H=v[r];if(H){var U=false;for(H=H[i];H;){if(H.sizcache===t){U=v[H.sizset];break}if(H.nodeType===1){w||(H.sizcache=t,H.sizset=r);if(typeof l!="string"){if(H===l){U=true;break}}else if(q.filter(l,[H]).length>0){U=H;break}}H=H[i]}v[r]=U}}}function b(i,l,t,v,r,w){r=0;for(var E=v.length;r<E;r++){var H=v[r];if(H){var U=
false;for(H=H[i];H;){if(H.sizcache===t){U=v[H.sizset];break}H.nodeType===1&&!w&&(H.sizcache=t,H.sizset=r);if(H.nodeName.toLowerCase()===l){U=H;break}H=H[i]}v[r]=U}}}var d=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,e=0,f=Object.prototype.toString,g=false,j=true,n=/\\/g,p=/\W/;[0,0].sort(function(){j=false;return 0});var q=function(i,l,t,v){t=t||[];var r=l=l||J;if(l.nodeType!==1&&l.nodeType!==9)return[];if(!i||
typeof i!="string")return t;var w,E,H,U,ca,m,B=true,G=q.isXML(l),A=[],V=i;do{d.exec("");if(w=d.exec(V)){V=w[3];A.push(w[1]);if(w[2]){U=w[3];break}}}while(w);if(A.length>1&&N.exec(i))if(A.length===2&&x.relative[A[0]])E=ma(A[0]+A[1],l);else for(E=x.relative[A[0]]?[l]:q(A.shift(),l);A.length;){i=A.shift();x.relative[i]&&(i+=A.shift());E=ma(i,E)}else{!v&&A.length>1&&l.nodeType===9&&!G&&x.match.ID.test(A[0])&&!x.match.ID.test(A[A.length-1])&&(ca=q.find(A.shift(),l,G),l=ca.expr?q.filter(ca.expr,ca.set)[0]:
ca.set[0]);if(l){ca=v?{expr:A.pop(),set:Y(v)}:q.find(A.pop(),A.length===1&&(A[0]==="~"||A[0]==="+")&&l.parentNode?l.parentNode:l,G);E=ca.expr?q.filter(ca.expr,ca.set):ca.set;for(A.length>0?H=Y(E):B=false;A.length;){w=m=A.pop();x.relative[m]?w=A.pop():m="";w==null&&(w=l);x.relative[m](H,w,G)}}else H=[]}H||(H=E);H||q.error(m||i);if(f.call(H)==="[object Array]")if(B)if(l&&l.nodeType===1)for(i=0;H[i]!=null;i++)H[i]&&(H[i]===true||H[i].nodeType===1&&q.contains(l,H[i]))&&t.push(E[i]);else for(i=0;H[i]!=
null;i++)H[i]&&H[i].nodeType===1&&t.push(E[i]);else t.push.apply(t,H);else Y(H,t);U&&(q(U,r,t,v),q.uniqueSort(t));return t};q.uniqueSort=function(i){if(fa){g=j;i.sort(fa);if(g)for(var l=1;l<i.length;l++)i[l]===i[l-1]&&i.splice(l--,1)}return i};q.matches=function(i,l){return q(i,null,null,l)};q.matchesSelector=function(i,l){return q(l,null,null,[i]).length>0};q.find=function(i,l,t){var v;if(!i)return[];for(var r=0,w=x.order.length;r<w;r++){var E,H=x.order[r];if(E=x.leftMatch[H].exec(i)){var U=E[1];
E.splice(1,1);if(U.substr(U.length-1)!=="\\"){E[1]=(E[1]||"").replace(n,"");v=x.find[H](E,l,t);if(v!=null){i=i.replace(x.match[H],"");break}}}}v||(v=typeof l.getElementsByTagName!="undefined"?l.getElementsByTagName("*"):[]);return{set:v,expr:i}};q.filter=function(i,l,t,v){for(var r,w,E=i,H=[],U=l,ca=l&&l[0]&&q.isXML(l[0]);i&&l.length;){for(var m in x.filter)if((r=x.leftMatch[m].exec(i))!=null&&r[2]){var B,G,A=x.filter[m];G=r[1];w=false;r.splice(1,1);if(G.substr(G.length-1)!=="\\"){U===H&&(H=[]);if(x.preFilter[m])if(r=
x.preFilter[m](r,U,t,H,v,ca)){if(r===true)continue}else w=B=true;if(r)for(var V=0;(G=U[V])!=null;V++)if(G){B=A(G,r,V,U);var T=v^!!B;t&&B!=null?T?w=true:U[V]=false:T&&(H.push(G),w=true)}if(B!==k){t||(U=H);i=i.replace(x.match[m],"");if(!w)return[];break}}}if(i===E)if(w==null)q.error(i);else break;E=i}return U};q.error=function(i){throw"Syntax error, unrecognized expression: "+i;};var x=q.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(i){return i.getAttribute("href")},type:function(i){return i.getAttribute("type")}},relative:{"+":function(i,l){var t=typeof l=="string",v=t&&!p.test(l);t=t&&!v;v&&(l=l.toLowerCase());v=0;for(var r=i.length,w;v<r;v++)if(w=i[v]){for(;(w=w.previousSibling)&&w.nodeType!==1;);i[v]=t||w&&w.nodeName.toLowerCase()===l?w||false:w===l}t&&q.filter(l,i,true)},">":function(i,l){var t,v=typeof l=="string",r=0,w=i.length;if(v&&!p.test(l))for(l=l.toLowerCase();r<w;r++){if(t=
i[r]){t=t.parentNode;i[r]=t.nodeName.toLowerCase()===l?t:false}}else{for(;r<w;r++)(t=i[r])&&(i[r]=v?t.parentNode:t.parentNode===l);v&&q.filter(l,i,true)}},"":function(i,l,t){var v,r=e++,w=a;typeof l=="string"&&!p.test(l)&&(l=l.toLowerCase(),v=l,w=b);w("parentNode",l,r,i,v,t)},"~":function(i,l,t){var v,r=e++,w=a;typeof l=="string"&&!p.test(l)&&(l=l.toLowerCase(),v=l,w=b);w("previousSibling",l,r,i,v,t)}},find:{ID:function(i,l,t){if(typeof l.getElementById!="undefined"&&!t)return(i=l.getElementById(i[1]))&&
i.parentNode?[i]:[]},NAME:function(i,l){if(typeof l.getElementsByName!="undefined"){for(var t=[],v=l.getElementsByName(i[1]),r=0,w=v.length;r<w;r++)v[r].getAttribute("name")===i[1]&&t.push(v[r]);return t.length===0?null:t}},TAG:function(i,l){if(typeof l.getElementsByTagName!="undefined")return l.getElementsByTagName(i[1])}},preFilter:{CLASS:function(i,l,t,v,r,w){i=" "+i[1].replace(n,"")+" ";if(w)return i;w=0;for(var E;(E=l[w])!=null;w++)E&&(r^(E.className&&(" "+E.className+" ").replace(/[\t\n\r]/g,
" ").indexOf(i)>=0)?t||v.push(E):t&&(l[w]=false));return false},ID:function(i){return i[1].replace(n,"")},TAG:function(i){return i[1].replace(n,"").toLowerCase()},CHILD:function(i){if(i[1]==="nth"){i[2]||q.error(i[0]);i[2]=i[2].replace(/^\+|\s*/g,"");var l=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(i[2]==="even"&&"2n"||i[2]==="odd"&&"2n+1"||!/\D/.test(i[2])&&"0n+"+i[2]||i[2]);i[2]=l[1]+(l[2]||1)-0;i[3]=l[3]-0}else i[2]&&q.error(i[0]);i[0]=e++;return i},ATTR:function(i,l,t,v,r,w){l=i[1]=i[1].replace(n,"");
!w&&x.attrMap[l]&&(i[1]=x.attrMap[l]);i[4]=(i[4]||i[5]||"").replace(n,"");i[2]==="~="&&(i[4]=" "+i[4]+" ");return i},PSEUDO:function(i,l,t,v,r){if(i[1]==="not")if((d.exec(i[3])||"").length>1||/^\w/.test(i[3]))i[3]=q(i[3],null,null,l);else{i=q.filter(i[3],l,t,true^r);t||v.push.apply(v,i);return false}else if(x.match.POS.test(i[0])||x.match.CHILD.test(i[0]))return true;return i},POS:function(i){i.unshift(true);return i}},filters:{enabled:function(i){return i.disabled===false&&i.type!=="hidden"},disabled:function(i){return i.disabled===
true},checked:function(i){return i.checked===true},selected:function(i){return i.selected===true},parent:function(i){return!!i.firstChild},empty:function(i){return!i.firstChild},has:function(i,l,t){return!!q(t[3],i).length},header:function(i){return/h\d/i.test(i.nodeName)},text:function(i){var l=i.getAttribute("type"),t=i.type;return i.nodeName.toLowerCase()==="input"&&"text"===t&&(l===t||l===null)},radio:function(i){return i.nodeName.toLowerCase()==="input"&&"radio"===i.type},checkbox:function(i){return i.nodeName.toLowerCase()===
"input"&&"checkbox"===i.type},file:function(i){return i.nodeName.toLowerCase()==="input"&&"file"===i.type},password:function(i){return i.nodeName.toLowerCase()==="input"&&"password"===i.type},submit:function(i){var l=i.nodeName.toLowerCase();return(l==="input"||l==="button")&&"submit"===i.type},image:function(i){return i.nodeName.toLowerCase()==="input"&&"image"===i.type},reset:function(i){var l=i.nodeName.toLowerCase();return(l==="input"||l==="button")&&"reset"===i.type},button:function(i){var l=
i.nodeName.toLowerCase();return l==="input"&&"button"===i.type||l==="button"},input:function(i){return/input|select|textarea|button/i.test(i.nodeName)},focus:function(i){return i===i.ownerDocument.activeElement}},setFilters:{first:function(i,l){return l===0},last:function(i,l,t,v){return l===v.length-1},even:function(i,l){return l%2===0},odd:function(i,l){return l%2===1},lt:function(i,l,t){return l<t[3]-0},gt:function(i,l,t){return l>t[3]-0},nth:function(i,l,t){return t[3]-0===l},eq:function(i,l,
t){return t[3]-0===l}},filter:{PSEUDO:function(i,l,t,v){var r=l[1],w=x.filters[r];if(w)return w(i,t,l,v);if(r==="contains")return(i.textContent||i.innerText||q.getText([i])||"").indexOf(l[3])>=0;if(r==="not"){l=l[3];t=0;for(v=l.length;t<v;t++)if(l[t]===i)return false;return true}q.error(r)},CHILD:function(i,l){var t=l[1],v=i;switch(t){case "only":case "first":for(;v=v.previousSibling;)if(v.nodeType===1)return false;if(t==="first")return true;v=i;case "last":for(;v=v.nextSibling;)if(v.nodeType===1)return false;
return true;case "nth":t=l[2];var r=l[3];if(t===1&&r===0)return true;var w=l[0],E=i.parentNode;if(E&&(E.sizcache!==w||!i.nodeIndex)){var H=0;for(v=E.firstChild;v;v=v.nextSibling)v.nodeType===1&&(v.nodeIndex=++H);E.sizcache=w}v=i.nodeIndex-r;return t===0?v===0:v%t===0&&v/t>=0}},ID:function(i,l){return i.nodeType===1&&i.getAttribute("id")===l},TAG:function(i,l){return l==="*"&&i.nodeType===1||i.nodeName.toLowerCase()===l},CLASS:function(i,l){return(" "+(i.className||i.getAttribute("class"))+" ").indexOf(l)>
-1},ATTR:function(i,l){var t=l[1];t=x.attrHandle[t]?x.attrHandle[t](i):i[t]!=null?i[t]:i.getAttribute(t);var v=t+"",r=l[2],w=l[4];return t==null?r==="!=":r==="="?v===w:r==="*="?v.indexOf(w)>=0:r==="~="?(" "+v+" ").indexOf(w)>=0:w?r==="!="?v!==w:r==="^="?v.indexOf(w)===0:r==="$="?v.substr(v.length-w.length)===w:r==="|="?v===w||v.substr(0,w.length+1)===w+"-":false:v&&t!==false},POS:function(i,l,t,v){var r=x.setFilters[l[2]];if(r)return r(i,t,l,v)}}},N=x.match.POS,W=function(i,l){return"\\"+(l-0+1)};
for(var R in x.match){x.match[R]=RegExp(x.match[R].source+/(?![^\[]*\])(?![^\(]*\))/.source);x.leftMatch[R]=RegExp(/(^(?:.|\r|\n)*?)/.source+x.match[R].source.replace(/\\(\d+)/g,W))}var Y=function(i,l){i=Array.prototype.slice.call(i,0);if(l){l.push.apply(l,i);return l}return i};try{Array.prototype.slice.call(J.documentElement.childNodes,0)}catch(ia){Y=function(i,l){var t=0,v=l||[];if(f.call(i)==="[object Array]")Array.prototype.push.apply(v,i);else if(typeof i.length=="number")for(var r=i.length;t<
r;t++)v.push(i[t]);else for(;i[t];t++)v.push(i[t]);return v}}var fa,ga;J.documentElement.compareDocumentPosition?fa=function(i,l){if(i===l){g=true;return 0}if(!i.compareDocumentPosition||!l.compareDocumentPosition)return i.compareDocumentPosition?-1:1;return i.compareDocumentPosition(l)&4?-1:1}:(fa=function(i,l){if(i===l){g=true;return 0}if(i.sourceIndex&&l.sourceIndex)return i.sourceIndex-l.sourceIndex;var t,v,r=[],w=[];t=i.parentNode;v=l.parentNode;var E=t;if(t===v)return ga(i,l);if(!t)return-1;
if(!v)return 1;for(;E;){r.unshift(E);E=E.parentNode}for(E=v;E;){w.unshift(E);E=E.parentNode}t=r.length;v=w.length;for(E=0;E<t&&E<v;E++)if(r[E]!==w[E])return ga(r[E],w[E]);return E===t?ga(i,w[E],-1):ga(r[E],l,1)},ga=function(i,l,t){if(i===l)return t;for(i=i.nextSibling;i;){if(i===l)return-1;i=i.nextSibling}return 1});q.getText=function(i){for(var l="",t,v=0;i[v];v++){t=i[v];t.nodeType===3||t.nodeType===4?l+=t.nodeValue:t.nodeType!==8&&(l+=q.getText(t.childNodes))}return l};(function(){var i=J.createElement("div"),
l="script"+(new Date).getTime(),t=J.documentElement;i.innerHTML="<a name='"+l+"'/>";t.insertBefore(i,t.firstChild);J.getElementById(l)&&(x.find.ID=function(v,r,w){if(typeof r.getElementById!="undefined"&&!w)return(r=r.getElementById(v[1]))?r.id===v[1]||typeof r.getAttributeNode!="undefined"&&r.getAttributeNode("id").nodeValue===v[1]?[r]:k:[]},x.filter.ID=function(v,r){var w=typeof v.getAttributeNode!="undefined"&&v.getAttributeNode("id");return v.nodeType===1&&w&&w.nodeValue===r});t.removeChild(i);
t=i=null})();(function(){var i=J.createElement("div");i.appendChild(J.createComment(""));i.getElementsByTagName("*").length>0&&(x.find.TAG=function(l,t){var v=t.getElementsByTagName(l[1]);if(l[1]==="*"){for(var r=[],w=0;v[w];w++)v[w].nodeType===1&&r.push(v[w]);v=r}return v});i.innerHTML="<a href='#'></a>";i.firstChild&&typeof i.firstChild.getAttribute!="undefined"&&i.firstChild.getAttribute("href")!=="#"&&(x.attrHandle.href=function(l){return l.getAttribute("href",2)});i=null})();J.querySelectorAll&&
function(){var i=q,l=J.createElement("div");l.innerHTML="<p class='TEST'></p>";if(!l.querySelectorAll||l.querySelectorAll(".TEST").length!==0){q=function(v,r,w,E){r=r||J;if(!E&&!q.isXML(r)){var H=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(v);if(H&&(r.nodeType===1||r.nodeType===9)){if(H[1])return Y(r.getElementsByTagName(v),w);if(H[2]&&x.find.CLASS&&r.getElementsByClassName)return Y(r.getElementsByClassName(H[2]),w)}if(r.nodeType===9){if(v==="body"&&r.body)return Y([r.body],w);if(H&&H[3]){var U=r.getElementById(H[3]);
if(!U||!U.parentNode)return Y([],w);if(U.id===H[3])return Y([U],w)}try{return Y(r.querySelectorAll(v),w)}catch(ca){}}else if(r.nodeType===1&&r.nodeName.toLowerCase()!=="object"){H=r;var m=(U=r.getAttribute("id"))||"__sizzle__",B=r.parentNode,G=/^\s*[+~]/.test(v);U?m=m.replace(/'/g,"\\$&"):r.setAttribute("id",m);G&&B&&(r=r.parentNode);try{if(!G||B)return Y(r.querySelectorAll("[id='"+m+"'] "+v),w)}catch(A){}finally{U||H.removeAttribute("id")}}}return i(v,r,w,E)};for(var t in i)q[t]=i[t];l=null}}();
(function(){var i=J.documentElement,l=i.matchesSelector||i.mozMatchesSelector||i.webkitMatchesSelector||i.msMatchesSelector;if(l){var t=!l.call(J.createElement("div"),"div"),v=false;try{l.call(J.documentElement,"[test!='']:sizzle")}catch(r){v=true}q.matchesSelector=function(w,E){E=E.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!q.isXML(w))try{if(v||!x.match.PSEUDO.test(E)&&!/!=/.test(E)){var H=l.call(w,E);if(H||!t||w.document&&w.document.nodeType!==11)return H}}catch(U){}return q(E,null,null,[w]).length>
0}}})();(function(){var i=J.createElement("div");i.innerHTML="<div class='test e'></div><div class='test'></div>";if(i.getElementsByClassName&&i.getElementsByClassName("e").length!==0){i.lastChild.className="e";if(i.getElementsByClassName("e").length!==1){x.order.splice(1,0,"CLASS");x.find.CLASS=function(l,t,v){if(typeof t.getElementsByClassName!="undefined"&&!v)return t.getElementsByClassName(l[1])};i=null}}})();J.documentElement.contains?q.contains=function(i,l){return i!==l&&(i.contains?i.contains(l):
true)}:J.documentElement.compareDocumentPosition?q.contains=function(i,l){return!!(i.compareDocumentPosition(l)&16)}:q.contains=function(){return false};q.isXML=function(i){return(i=(i?i.ownerDocument||i:0).documentElement)?i.nodeName!=="HTML":false};var ma=function(i,l){for(var t,v=[],r="",w=l.nodeType?[l]:l;t=x.match.PSEUDO.exec(i);){r+=t[0];i=i.replace(x.match.PSEUDO,"")}i=x.relative[i]?i+"*":i;t=0;for(var E=w.length;t<E;t++)q(i,w[t],v);return q.filter(r,v)};c.find=q;c.expr=q.selectors;c.expr[":"]=
c.expr.filters;c.unique=q.uniqueSort;c.text=q.getText;c.isXMLDoc=q.isXML;c.contains=q.contains})();var Lb=/Until$/,Mb=/^(?:parents|prevUntil|prevAll)/,Nb=/,/,xb=/^.[^:#\[\.,]*$/,Ob=Array.prototype.slice,fb=c.expr.match.POS,Pb={children:true,contents:true,next:true,prev:true};c.fn.extend({find:function(a){var b=this,d,e;if(typeof a!="string")return c(a).filter(function(){d=0;for(e=b.length;d<e;d++)if(c.contains(b[d],this))return true});var f=this.pushStack("","find",a),g,j,n;d=0;for(e=this.length;d<
e;d++){g=f.length;c.find(a,this[d],f);if(d>0)for(j=g;j<f.length;j++)for(n=0;n<g;n++)if(f[n]===f[j]){f.splice(j--,1);break}}return f},has:function(a){var b=c(a);return this.filter(function(){for(var d=0,e=b.length;d<e;d++)if(c.contains(this,b[d]))return true})},not:function(a){return this.pushStack(P(this,a,false),"not",a)},filter:function(a){return this.pushStack(P(this,a,true),"filter",a)},is:function(a){return!!a&&(typeof a=="string"?c.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,
b){var d=[],e,f,g=this[0];if(c.isArray(a)){var j,n={},p=1;if(g&&a.length){e=0;for(f=a.length;e<f;e++){j=a[e];n[j]||(n[j]=fb.test(j)?c(j,b||this.context):j)}for(;g&&g.ownerDocument&&g!==b;){for(j in n){e=n[j];(e.jquery?e.index(g)>-1:c(g).is(e))&&d.push({selector:j,elem:g,level:p})}g=g.parentNode;p++}}return d}j=fb.test(a)||typeof a!="string"?c(a,b||this.context):0;e=0;for(f=this.length;e<f;e++)for(g=this[e];g;){if(j?j.index(g)>-1:c.find.matchesSelector(g,a)){d.push(g);break}g=g.parentNode;if(!g||!g.ownerDocument||
g===b||g.nodeType===11)break}d=d.length>1?c.unique(d):d;return this.pushStack(d,"closest",a)},index:function(a){if(!a||typeof a=="string")return c.inArray(this[0],a?c(a):this.parent().children());return c.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var d=typeof a=="string"?c(a,b):c.makeArray(a&&a.nodeType?[a]:a),e=c.merge(this.get(),d);return this.pushStack(!d[0]||!d[0].parentNode||d[0].parentNode.nodeType===11||!e[0]||!e[0].parentNode||e[0].parentNode.nodeType===11?e:c.unique(e))},andSelf:function(){return this.add(this.prevObject)}});
c.each({parent:function(a){return(a=a.parentNode)&&a.nodeType!==11?a:null},parents:function(a){return c.dir(a,"parentNode")},parentsUntil:function(a,b,d){return c.dir(a,"parentNode",d)},next:function(a){return c.nth(a,2,"nextSibling")},prev:function(a){return c.nth(a,2,"previousSibling")},nextAll:function(a){return c.dir(a,"nextSibling")},prevAll:function(a){return c.dir(a,"previousSibling")},nextUntil:function(a,b,d){return c.dir(a,"nextSibling",d)},prevUntil:function(a,b,d){return c.dir(a,"previousSibling",
d)},siblings:function(a){return c.sibling(a.parentNode.firstChild,a)},children:function(a){return c.sibling(a.firstChild)},contents:function(a){return c.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:c.makeArray(a.childNodes)}},function(a,b){c.fn[a]=function(d,e){var f=c.map(this,b,d),g=Ob.call(arguments);Lb.test(a)||(e=d);e&&typeof e=="string"&&(f=c.filter(e,f));f=this.length>1&&!Pb[a]?c.unique(f):f;(this.length>1||Nb.test(e))&&Mb.test(a)&&(f=f.reverse());return this.pushStack(f,
a,g.join(","))}});c.extend({filter:function(a,b,d){d&&(a=":not("+a+")");return b.length===1?c.find.matchesSelector(b[0],a)?[b[0]]:[]:c.find.matches(a,b)},dir:function(a,b,d){var e=[];for(a=a[b];a&&a.nodeType!==9&&(d===k||a.nodeType!==1||!c(a).is(d));){a.nodeType===1&&e.push(a);a=a[b]}return e},nth:function(a,b,d){b=b||1;for(var e=0;a;a=a[d])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){for(var d=[];a;a=a.nextSibling)a.nodeType===1&&a!==b&&d.push(a);return d}});var Qb=/ jQuery\d+="(?:\d+|null)"/g,
Ra=/^\s+/,gb=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,hb=/<([\w:]+)/,Rb=/<tbody/i,Sb=/<|&#?\w+;/,ib=/<(?:script|object|embed|option|style)/i,jb=/checked\s*(?:[^=]|=\s*.checked.)/i,Tb=/\/(java|ecma)script/i,wb=/^\s*<!(?:\[CDATA\[|\-\-)/,ja={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,"",""]};ja.optgroup=ja.option;ja.tbody=ja.tfoot=ja.colgroup=ja.caption=ja.thead;ja.th=ja.td;c.support.htmlSerialize||(ja._default=[1,"div<div>","</div>"]);c.fn.extend({text:function(a){if(c.isFunction(a))return this.each(function(b){var d=c(this);d.text(a.call(this,b,d.text()))});if(typeof a!="object"&&a!==k)return this.empty().append((this[0]&&this[0].ownerDocument||J).createTextNode(a));return c.text(this)},wrapAll:function(a){if(c.isFunction(a))return this.each(function(d){c(this).wrapAll(a.call(this,
d))});if(this[0]){var b=c(a,this[0].ownerDocument).eq(0).clone(true);this[0].parentNode&&b.insertBefore(this[0]);b.map(function(){for(var d=this;d.firstChild&&d.firstChild.nodeType===1;)d=d.firstChild;return d}).append(this)}return this},wrapInner:function(a){if(c.isFunction(a))return this.each(function(b){c(this).wrapInner(a.call(this,b))});return this.each(function(){var b=c(this),d=b.contents();d.length?d.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){c(this).wrapAll(a)})},
unwrap:function(){return this.parent().each(function(){c.nodeName(this,"body")||c(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this)});if(arguments.length){var a=
c(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this.nextSibling)});if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,c(arguments[0]).toArray());return a}},remove:function(a,b){for(var d=0,e;(e=this[d])!=null;d++)if(!a||c.filter(a,[e]).length){!b&&e.nodeType===1&&(c.cleanData(e.getElementsByTagName("*")),
c.cleanData([e]));e.parentNode&&e.parentNode.removeChild(e)}return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++)for(b.nodeType===1&&c.cleanData(b.getElementsByTagName("*"));b.firstChild;)b.removeChild(b.firstChild);return this},clone:function(a,b){a=a==null?false:a;b=b==null?a:b;return this.map(function(){return c.clone(this,a,b)})},html:function(a){if(a===k)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(Qb,""):null;if(typeof a=="string"&&!ib.test(a)&&(c.support.leadingWhitespace||
!Ra.test(a))&&!ja[(hb.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(gb,"<$1></$2>");try{for(var b=0,d=this.length;b<d;b++)this[b].nodeType===1&&(c.cleanData(this[b].getElementsByTagName("*")),this[b].innerHTML=a)}catch(e){this.empty().append(a)}}else c.isFunction(a)?this.each(function(f){var g=c(this);g.html(a.call(this,f,g.html()))}):this.empty().append(a);return this},replaceWith:function(a){if(this[0]&&this[0].parentNode){if(c.isFunction(a))return this.each(function(b){var d=c(this),e=d.html();
d.replaceWith(a.call(this,b,e))});typeof a!="string"&&(a=c(a).detach());return this.each(function(){var b=this.nextSibling,d=this.parentNode;c(this).remove();b?c(b).before(a):c(d).append(a)})}return this.length?this.pushStack(c(c.isFunction(a)?a():a),"replaceWith",a):this},detach:function(a){return this.remove(a,true)},domManip:function(a,b,d){var e,f,g,j=a[0],n=[];if(!c.support.checkClone&&arguments.length===3&&typeof j=="string"&&jb.test(j))return this.each(function(){c(this).domManip(a,b,d,true)});
if(c.isFunction(j))return this.each(function(x){var N=c(this);a[0]=j.call(this,x,b?N.html():k);N.domManip(a,b,d)});if(this[0]){g=j&&j.parentNode;c.support.parentNode&&g&&g.nodeType===11&&g.childNodes.length===this.length?e={fragment:g}:e=c.buildFragment(a,this,n);g=e.fragment;g.childNodes.length===1?f=g=g.firstChild:f=g.firstChild;if(f){b=b&&c.nodeName(f,"tr");f=0;for(var p=this.length,q=p-1;f<p;f++)d.call(b?c.nodeName(this[f],"table")?this[f].getElementsByTagName("tbody")[0]||this[f].appendChild(this[f].ownerDocument.createElement("tbody")):
this[f]:this[f],e.cacheable||p>1&&f<q?c.clone(g,true,true):g)}n.length&&c.each(n,O)}return this}});c.buildFragment=function(a,b,d){var e,f,g;b=b&&b[0]?b[0].ownerDocument||b[0]:J;a.length===1&&typeof a[0]=="string"&&a[0].length<512&&b===J&&a[0].charAt(0)==="<"&&!ib.test(a[0])&&(c.support.checkClone||!jb.test(a[0]))&&(f=true,g=c.fragments[a[0]],g&&g!==1&&(e=g));e||(e=b.createDocumentFragment(),c.clean(a,b,e,d));f&&(c.fragments[a[0]]=g?e:1);return{fragment:e,cacheable:f}};c.fragments={};c.each({appendTo:"append",
prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){c.fn[a]=function(d){var e=[];d=c(d);var 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}f=0;for(var g=d.length;f<g;f++){var j=(f>0?this.clone(true):this).get();c(d[f])[b](j);e=e.concat(j)}return this.pushStack(e,a,d.selector)}});c.extend({clone:function(a,b,d){var e=a.cloneNode(true),f,g,j;if((!c.support.noCloneEvent||!c.support.noCloneChecked)&&
(a.nodeType===1||a.nodeType===11)&&!c.isXMLDoc(a)){la(a,e);f=da(a);g=da(e);for(j=0;f[j];++j)la(f[j],g[j])}if(b){ba(a,e);if(d){f=da(a);g=da(e);for(j=0;f[j];++j)ba(f[j],g[j])}}return e},clean:function(a,b,d,e){b=b||J;typeof b.createElement=="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||J);for(var f=[],g,j=0,n;(n=a[j])!=null;j++){typeof n=="number"&&(n+="");if(n){if(typeof n=="string")if(Sb.test(n)){n=n.replace(gb,"<$1></$2>");g=(hb.exec(n)||["",""])[1].toLowerCase();var p=ja[g]||ja._default,
q=p[0],x=b.createElement("div");for(x.innerHTML=p[1]+n+p[2];q--;)x=x.lastChild;if(!c.support.tbody){q=Rb.test(n);p=g==="table"&&!q?x.firstChild&&x.firstChild.childNodes:p[1]==="<table>"&&!q?x.childNodes:[];for(g=p.length-1;g>=0;--g)c.nodeName(p[g],"tbody")&&!p[g].childNodes.length&&p[g].parentNode.removeChild(p[g])}!c.support.leadingWhitespace&&Ra.test(n)&&x.insertBefore(b.createTextNode(Ra.exec(n)[0]),x.firstChild);n=x.childNodes}else n=b.createTextNode(n);var N;if(!c.support.appendChecked)if(n[0]&&
typeof(N=n.length)=="number")for(g=0;g<N;g++)S(n[g]);else S(n);n.nodeType?f.push(n):f=c.merge(f,n)}}if(d){a=function(W){return!W.type||Tb.test(W.type)};for(j=0;f[j];j++)if(e&&c.nodeName(f[j],"script")&&(!f[j].type||f[j].type.toLowerCase()==="text/javascript"))e.push(f[j].parentNode?f[j].parentNode.removeChild(f[j]):f[j]);else{if(f[j].nodeType===1){b=c.grep(f[j].getElementsByTagName("script"),a);f.splice.apply(f,[j+1,0].concat(b))}d.appendChild(f[j])}}return f},cleanData:function(a){for(var b,d,e=
c.cache,f=c.expando,g=c.event.special,j=c.support.deleteExpando,n=0,p;(p=a[n])!=null;n++)if(!(p.nodeName&&c.noData[p.nodeName.toLowerCase()]))if(d=p[c.expando]){if((b=e[d]&&e[d][f])&&b.events){for(var q in b.events)g[q]?c.event.remove(p,q):c.removeEvent(p,q,b.handle);b.handle&&(b.handle.elem=null)}j?delete p[c.expando]:p.removeAttribute&&p.removeAttribute(c.expando);delete e[d]}}});var kb=/alpha\([^)]*\)/i,Ub=/opacity=([^)]*)/,Vb=/-([a-z])/ig,Wb=/([A-Z]|^ms)/g,lb=/^-?\d+(?:px)?$/i,Xb=/^-?\d/,Yb=/^[+\-]=/,
Zb=/[^+\-\.\de]+/g,$b={position:"absolute",visibility:"hidden",display:"block"},ub=["Left","Right"],vb=["Top","Bottom"],va,mb,Fa,ac=function(a,b){return b.toUpperCase()};c.fn.css=function(a,b){if(arguments.length===2&&b===k)return this;return c.access(this,a,b,true,function(d,e,f){return f!==k?c.style(d,e,f):c.css(d,e)})};c.extend({cssHooks:{opacity:{get:function(a,b){if(b){var d=va(a,"opacity","opacity");return d===""?"1":d}return a.style.opacity}}},cssNumber:{zIndex:true,fontWeight:true,opacity:true,
zoom:true,lineHeight:true,widows:true,orphans:true},cssProps:{"float":c.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,b,d,e){if(a&&a.nodeType!==3&&a.nodeType!==8&&a.style){var f,g=c.camelCase(b),j=a.style,n=c.cssHooks[g];b=c.cssProps[g]||g;if(d===k){if(n&&"get"in n&&(f=n.get(a,false,e))!==k)return f;return j[b]}e=typeof d;if(!(e==="number"&&isNaN(d)||d==null)){e==="string"&&Yb.test(d)&&(d=+d.replace(Zb,"")+parseFloat(c.css(a,b)));e==="number"&&!c.cssNumber[g]&&(d+="px");if(!n||!("set"in
n)||(d=n.set(a,d))!==k)try{j[b]=d}catch(p){}}}},css:function(a,b,d){var e,f;b=c.camelCase(b);f=c.cssHooks[b];b=c.cssProps[b]||b;b==="cssFloat"&&(b="float");if(f&&"get"in f&&(e=f.get(a,true,d))!==k)return e;if(va)return va(a,b)},swap:function(a,b,d){var e={};for(var f in b){e[f]=a.style[f];a.style[f]=b[f]}d.call(a);for(f in b)a.style[f]=e[f]},camelCase:function(a){return a.replace(Vb,ac)}});c.curCSS=c.css;c.each(["height","width"],function(a,b){c.cssHooks[b]={get:function(d,e,f){var g;if(e){d.offsetWidth!==
0?g=aa(d,b,f):c.swap(d,$b,function(){g=aa(d,b,f)});if(g<=0){g=va(d,b,b);g==="0px"&&Fa&&(g=Fa(d,b,b));if(g!=null)return g===""||g==="auto"?"0px":g}if(g<0||g==null){g=d.style[b];return g===""||g==="auto"?"0px":g}return typeof g=="string"?g:g+"px"}},set:function(d,e){if(!lb.test(e))return e;e=parseFloat(e);if(e>=0)return e+"px"}}});c.support.opacity||(c.cssHooks.opacity={get:function(a,b){return Ub.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":
""},set:function(a,b){var d=a.style,e=a.currentStyle;d.zoom=1;var f=c.isNaN(b)?"":"alpha(opacity="+b*100+")";e=e&&e.filter||d.filter||"";d.filter=kb.test(e)?e.replace(kb,f):e+" "+f}});c(function(){c.support.reliableMarginRight||(c.cssHooks.marginRight={get:function(a,b){var d;c.swap(a,{display:"inline-block"},function(){b?d=va(a,"margin-right","marginRight"):d=a.style.marginRight});return d}})});J.defaultView&&J.defaultView.getComputedStyle&&(mb=function(a,b){var d,e;b=b.replace(Wb,"-$1").toLowerCase();
if(!(e=a.ownerDocument.defaultView))return k;if(e=e.getComputedStyle(a,null)){d=e.getPropertyValue(b);d===""&&!c.contains(a.ownerDocument.documentElement,a)&&(d=c.style(a,b))}return d});J.documentElement.currentStyle&&(Fa=function(a,b){var d,e=a.currentStyle&&a.currentStyle[b],f=a.runtimeStyle&&a.runtimeStyle[b],g=a.style;!lb.test(e)&&Xb.test(e)&&(d=g.left,f&&(a.runtimeStyle.left=a.currentStyle.left),g.left=b==="fontSize"?"1em":e||0,e=g.pixelLeft+"px",g.left=d,f&&(a.runtimeStyle.left=f));return e===
""?"auto":e});va=mb||Fa;c.expr&&c.expr.filters&&(c.expr.filters.hidden=function(a){var b=a.offsetHeight;return a.offsetWidth===0&&b===0||!c.support.reliableHiddenOffsets&&(a.style.display||c.css(a,"display"))==="none"},c.expr.filters.visible=function(a){return!c.expr.filters.hidden(a)});var bc=/%20/g,tb=/\[\]$/,nb=/\r?\n/g,cc=/#.*$/,dc=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,ec=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,fc=/^(?:GET|HEAD)$/,gc=/^\/\//,
ob=/\?/,hc=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,ic=/^(?:select|textarea)/i,Wa=/\s+/,jc=/([?&])_=[^&]*/,pb=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,qb=c.fn.load,Ka={},rb={},ra,sa;try{ra=Db.href}catch(rc){ra=J.createElement("a");ra.href="";ra=ra.href}sa=pb.exec(ra.toLowerCase())||[];c.fn.extend({load:function(a,b,d){if(typeof a!="string"&&qb)return qb.apply(this,arguments);if(!this.length)return this;var e=a.indexOf(" ");if(e>=0){var f=a.slice(e,a.length);a=a.slice(0,e)}e="GET";
b&&(c.isFunction(b)?(d=b,b=k):typeof b=="object"&&(b=c.param(b,c.ajaxSettings.traditional),e="POST"));var g=this;c.ajax({url:a,type:e,dataType:"html",data:b,complete:function(j,n,p){p=j.responseText;j.isResolved()&&(j.done(function(q){p=q}),g.html(f?c("<div>").append(p.replace(hc,"")).find(f):p));d&&g.each(d,[p,n,j])}});return this},serialize:function(){return c.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?c.makeArray(this.elements):this}).filter(function(){return this.name&&
!this.disabled&&(this.checked||ic.test(this.nodeName)||ec.test(this.type))}).map(function(a,b){var d=c(this).val();return d==null?null:c.isArray(d)?c.map(d,function(e){return{name:b.name,value:e.replace(nb,"\r\n")}}):{name:b.name,value:d.replace(nb,"\r\n")}}).get()}});c.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){c.fn[b]=function(d){return this.bind(b,d)}});c.each(["get","post"],function(a,b){c[b]=function(d,e,f,g){c.isFunction(e)&&(g=g||f,f=e,e=
k);return c.ajax({type:b,url:d,data:e,success:f,dataType:g})}});c.extend({getScript:function(a,b){return c.get(a,k,b,"script")},getJSON:function(a,b,d){return c.get(a,b,d,"json")},ajaxSetup:function(a,b){b?c.extend(true,a,c.ajaxSettings,b):(b=a,a=c.extend(true,c.ajaxSettings,b));for(var d in{context:1,url:1})d in b?a[d]=b[d]:d in c.ajaxSettings&&(a[d]=c.ajaxSettings[d]);return a},ajaxSettings:{url:ra,isLocal:/^(?:about|app|app\-storage|.+\-extension|file|widget):$/.test(sa[1]),global:true,type:"GET",
contentType:"application/x-www-form-urlencoded",processData:true,async:true,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":"*/*"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":h.String,"text html":true,"text json":c.parseJSON,"text xml":c.parseXML}},ajaxPrefilter:C(Ka),ajaxTransport:C(rb),ajax:function(a,b){function d(r,w,E,H){if(ga!==2){ga=2;ia&&clearTimeout(ia);
Y=k;W=H||"";l.readyState=r?4:0;var U,ca,m;if(E){H=e;var B=l,G=H.contents,A=H.dataTypes,V=H.responseFields,T,Q,Z,ua;for(Q in V)Q in E&&(B[V[Q]]=E[Q]);for(;A[0]==="*";){A.shift();T===k&&(T=H.mimeType||B.getResponseHeader("content-type"))}if(T)for(Q in G)if(G[Q]&&G[Q].test(T)){A.unshift(Q);break}if(A[0]in E)Z=A[0];else{for(Q in E){if(!A[0]||H.converters[Q+" "+A[0]]){Z=Q;break}ua||(ua=Q)}Z=Z||ua}if(Z){Z!==A[0]&&A.unshift(Z);E=E[Z]}else E=void 0}else E=k;E=E;if(r>=200&&r<300||r===304){if(e.ifModified){if(T=
l.getResponseHeader("Last-Modified"))c.lastModified[q]=T;if(T=l.getResponseHeader("Etag"))c.etag[q]=T}if(r===304){w="notmodified";U=true}else try{T=e;E=E;T.dataFilter&&(E=T.dataFilter(E,T.dataType));var pa=T.dataTypes;Q={};var Ca,Ga,kc=pa.length,Ha,na=pa[0],wa,Sa,oa,ta,xa;for(Ca=1;Ca<kc;Ca++){if(Ca===1)for(Ga in T.converters)typeof Ga=="string"&&(Q[Ga.toLowerCase()]=T.converters[Ga]);wa=na;na=pa[Ca];if(na==="*")na=wa;else if(wa!=="*"&&wa!==na){Sa=wa+" "+na;oa=Q[Sa]||Q["* "+na];if(!oa){xa=k;for(ta in Q){Ha=
ta.split(" ");if(Ha[0]===wa||Ha[0]==="*")if(xa=Q[Ha[1]+" "+na]){ta=Q[ta];ta===true?oa=xa:xa===true&&(oa=ta);break}}}!oa&&!xa&&c.error("No conversion from "+Sa.replace(" "," to "));oa!==true&&(E=oa?oa(E):xa(ta(E)))}}ca=E;w="success";U=true}catch(lc){w="parsererror";m=lc}}else{m=w;if(!w||r){w="error";r<0&&(r=0)}}l.status=r;l.statusText=w;U?j.resolveWith(f,[ca,w,l]):j.rejectWith(f,[l,w,m]);l.statusCode(p);p=k;ma&&g.trigger("ajax"+(U?"Success":"Error"),[l,e,U?ca:m]);n.resolveWith(f,[l,w]);ma&&(g.trigger("ajaxComplete",
[l,e]),--c.active||c.event.trigger("ajaxStop"))}}typeof a=="object"&&(b=a,a=k);b=b||{};var e=c.ajaxSetup({},b),f=e.context||e,g=f!==e&&(f.nodeType||f instanceof c)?c(f):c.event,j=c.Deferred(),n=c._Deferred(),p=e.statusCode||{},q,x={},N={},W,R,Y,ia,fa,ga=0,ma,i,l={readyState:0,setRequestHeader:function(r,w){if(!ga){var E=r.toLowerCase();r=N[E]=N[E]||r;x[r]=w}return this},getAllResponseHeaders:function(){return ga===2?W:null},getResponseHeader:function(r){var w;if(ga===2){if(!R)for(R={};w=dc.exec(W);)R[w[1].toLowerCase()]=
w[2];w=R[r.toLowerCase()]}return w===k?null:w},overrideMimeType:function(r){ga||(e.mimeType=r);return this},abort:function(r){r=r||"abort";Y&&Y.abort(r);d(0,r);return this}};j.promise(l);l.success=l.done;l.error=l.fail;l.complete=n.done;l.statusCode=function(r){if(r){var w;if(ga<2)for(w in r)p[w]=[p[w],r[w]];else{w=r[l.status];l.then(w,w)}}return this};e.url=((a||e.url)+"").replace(cc,"").replace(gc,sa[1]+"//");e.dataTypes=c.trim(e.dataType||"*").toLowerCase().split(Wa);e.crossDomain==null&&(fa=pb.exec(e.url.toLowerCase()),
e.crossDomain=!(!fa||fa[1]==sa[1]&&fa[2]==sa[2]&&(fa[3]||(fa[1]==="http:"?80:443))==(sa[3]||(sa[1]==="http:"?80:443))));e.data&&e.processData&&typeof e.data!="string"&&(e.data=c.param(e.data,e.traditional));D(Ka,e,b,l);if(ga===2)return false;ma=e.global;e.type=e.type.toUpperCase();e.hasContent=!fc.test(e.type);ma&&c.active++===0&&c.event.trigger("ajaxStart");if(!e.hasContent){e.data&&(e.url+=(ob.test(e.url)?"&":"?")+e.data);q=e.url;if(e.cache===false){fa=c.now();var t=e.url.replace(jc,"$1_="+fa);
e.url=t+(t===e.url?(ob.test(e.url)?"&":"?")+"_="+fa:"")}}(e.data&&e.hasContent&&e.contentType!==false||b.contentType)&&l.setRequestHeader("Content-Type",e.contentType);e.ifModified&&(q=q||e.url,c.lastModified[q]&&l.setRequestHeader("If-Modified-Since",c.lastModified[q]),c.etag[q]&&l.setRequestHeader("If-None-Match",c.etag[q]));l.setRequestHeader("Accept",e.dataTypes[0]&&e.accepts[e.dataTypes[0]]?e.accepts[e.dataTypes[0]]+(e.dataTypes[0]!=="*"?", */*; q=0.01":""):e.accepts["*"]);for(i in e.headers)l.setRequestHeader(i,
e.headers[i]);if(e.beforeSend&&(e.beforeSend.call(f,l,e)===false||ga===2)){l.abort();return false}for(i in{success:1,error:1,complete:1})l[i](e[i]);if(Y=D(rb,e,b,l)){l.readyState=1;ma&&g.trigger("ajaxSend",[l,e]);e.async&&e.timeout>0&&(ia=setTimeout(function(){l.abort("timeout")},e.timeout));try{ga=1;Y.send(x,d)}catch(v){status<2?d(-1,v):c.error(v)}}else d(-1,"No Transport");return l},param:function(a,b){var d=[],e=function(g,j){j=c.isFunction(j)?j():j;d[d.length]=encodeURIComponent(g)+"="+encodeURIComponent(j)};
b===k&&(b=c.ajaxSettings.traditional);if(c.isArray(a)||a.jquery&&!c.isPlainObject(a))c.each(a,function(){e(this.name,this.value)});else for(var f in a)K(f,a[f],b,e);return d.join("&").replace(bc,"+")}});c.extend({active:0,lastModified:{},etag:{}});var mc=c.now(),Ia=/(\=)\?(&|$)|\?\?/i;c.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return c.expando+"_"+mc++}});c.ajaxPrefilter("json jsonp",function(a,b,d){b=a.contentType==="application/x-www-form-urlencoded"&&typeof a.data=="string";if(a.dataTypes[0]===
"jsonp"||a.jsonp!==false&&(Ia.test(a.url)||b&&Ia.test(a.data))){var e,f=a.jsonpCallback=c.isFunction(a.jsonpCallback)?a.jsonpCallback():a.jsonpCallback,g=h[f],j=a.url,n=a.data,p="$1"+f+"$2";a.jsonp!==false&&(j=j.replace(Ia,p),a.url===j&&(b&&(n=n.replace(Ia,p)),a.data===n&&(j+=(/\?/.test(j)?"&":"?")+a.jsonp+"="+f)));a.url=j;a.data=n;h[f]=function(q){e=[q]};d.always(function(){h[f]=g;e&&c.isFunction(g)&&h[f](e[0])});a.converters["script json"]=function(){e||c.error(f+" was not called");return e[0]};
a.dataTypes[0]="json";return"script"}});c.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){c.globalEval(a);return a}}});c.ajaxPrefilter("script",function(a){a.cache===k&&(a.cache=false);a.crossDomain&&(a.type="GET",a.global=false)});c.ajaxTransport("script",function(a){if(a.crossDomain){var b,d=J.head||J.getElementsByTagName("head")[0]||J.documentElement;
return{send:function(e,f){b=J.createElement("script");b.async="async";a.scriptCharset&&(b.charset=a.scriptCharset);b.src=a.url;b.onload=b.onreadystatechange=function(g,j){if(j||!b.readyState||/loaded|complete/.test(b.readyState)){b.onload=b.onreadystatechange=null;d&&b.parentNode&&d.removeChild(b);b=k;j||f(200,"success")}};d.insertBefore(b,d.firstChild)},abort:function(){b&&b.onload(0,1)}}}});var Ta=h.ActiveXObject?function(){for(var a in ya)ya[a](0,1)}:false,nc=0,ya;c.ajaxSettings.xhr=h.ActiveXObject?
function(){var a;if(!(a=!this.isLocal&&I()))a:{try{a=new h.ActiveXObject("Microsoft.XMLHTTP");break a}catch(b){}a=void 0}return a}:I;(function(a){c.extend(c.support,{ajax:!!a,cors:!!a&&"withCredentials"in a})})(c.ajaxSettings.xhr());c.support.ajax&&c.ajaxTransport(function(a){if(!a.crossDomain||c.support.cors){var b;return{send:function(d,e){var f=a.xhr(),g,j;a.username?f.open(a.type,a.url,a.async,a.username,a.password):f.open(a.type,a.url,a.async);if(a.xhrFields)for(j in a.xhrFields)f[j]=a.xhrFields[j];
a.mimeType&&f.overrideMimeType&&f.overrideMimeType(a.mimeType);!a.crossDomain&&!d["X-Requested-With"]&&(d["X-Requested-With"]="XMLHttpRequest");try{for(j in d)f.setRequestHeader(j,d[j])}catch(n){}f.send(a.hasContent&&a.data||null);b=function(p,q){var x,N,W,R,Y;try{if(b&&(q||f.readyState===4)){b=k;g&&(f.onreadystatechange=c.noop,Ta&&delete ya[g]);if(q)f.readyState!==4&&f.abort();else{x=f.status;W=f.getAllResponseHeaders();R={};(Y=f.responseXML)&&Y.documentElement&&(R.xml=Y);R.text=f.responseText;try{N=
f.statusText}catch(ia){N=""}!x&&a.isLocal&&!a.crossDomain?x=R.text?200:404:x===1223&&(x=204)}}}catch(fa){q||e(-1,fa)}R&&e(x,N,R,W)};!a.async||f.readyState===4?b():(g=++nc,Ta&&(ya||(ya={},c(h).unload(Ta)),ya[g]=b),f.onreadystatechange=b)},abort:function(){b&&b(0,1)}}}});var Ja={},ka,Aa,oc=/^(?:toggle|show|hide)$/,pc=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,za,Va=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],
Da,Ua=h.webkitRequestAnimationFrame||h.mozRequestAnimationFrame||h.oRequestAnimationFrame;c.fn.extend({show:function(a,b,d){var e;if(a||a===0)return this.animate(o("show",3),a,b,d);b=0;for(d=this.length;b<d;b++){a=this[b];a.style&&(e=a.style.display,!c._data(a,"olddisplay")&&e==="none"&&(e=a.style.display=""),e===""&&c.css(a,"display")==="none"&&c._data(a,"olddisplay",s(a.nodeName)))}for(b=0;b<d;b++){a=this[b];if(a.style){e=a.style.display;if(e===""||e==="none")a.style.display=c._data(a,"olddisplay")||
""}}return this},hide:function(a,b,d){if(a||a===0)return this.animate(o("hide",3),a,b,d);a=0;for(b=this.length;a<b;a++)if(this[a].style){d=c.css(this[a],"display");d!=="none"&&!c._data(this[a],"olddisplay")&&c._data(this[a],"olddisplay",d)}for(a=0;a<b;a++)this[a].style&&(this[a].style.display="none");return this},_toggle:c.fn.toggle,toggle:function(a,b,d){var e=typeof a=="boolean";c.isFunction(a)&&c.isFunction(b)?this._toggle.apply(this,arguments):a==null||e?this.each(function(){var f=e?a:c(this).is(":hidden");
c(this)[f?"show":"hide"]()}):this.animate(o("toggle",3),a,b,d);return this},fadeTo:function(a,b,d,e){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,d,e)},animate:function(a,b,d,e){var f=c.speed(b,d,e);if(c.isEmptyObject(a))return this.each(f.complete,[false]);a=c.extend({},a);return this[f.queue===false?"each":"queue"](function(){f.queue===false&&c._mark(this);var g=c.extend({},f),j=this.nodeType===1,n=j&&c(this).is(":hidden"),p,q,x,N,W,R,Y,ia;g.animatedProperties=
{};for(x in a){p=c.camelCase(x);x!==p&&(a[p]=a[x],delete a[x]);q=a[p];c.isArray(q)?(g.animatedProperties[p]=q[1],q=a[p]=q[0]):g.animatedProperties[p]=g.specialEasing&&g.specialEasing[p]||g.easing||"swing";if(q==="hide"&&n||q==="show"&&!n)return g.complete.call(this);j&&(p==="height"||p==="width")&&(g.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY],c.css(this,"display")==="inline"&&c.css(this,"float")==="none"&&(c.support.inlineBlockNeedsLayout?(N=s(this.nodeName),N==="inline"?
this.style.display="inline-block":(this.style.display="inline",this.style.zoom=1)):this.style.display="inline-block"))}g.overflow!=null&&(this.style.overflow="hidden");for(x in a){j=new c.fx(this,g,x);q=a[x];oc.test(q)?j[q==="toggle"?n?"show":"hide":q]():(W=pc.exec(q),R=j.cur(),W?(Y=parseFloat(W[2]),ia=W[3]||(c.cssNumber[x]?"":"px"),ia!=="px"&&(c.style(this,x,(Y||1)+ia),R=(Y||1)/j.cur()*R,c.style(this,x,R+ia)),W[1]&&(Y=(W[1]==="-="?-1:1)*Y+R),j.custom(R,Y,ia)):j.custom(R,q,""))}return true})},stop:function(a,
b){a&&this.queue([]);this.each(function(){var d=c.timers,e=d.length;for(b||c._unmark(true,this);e--;)d[e].elem===this&&(b&&d[e](true),d.splice(e,1))});b||this.dequeue();return this}});c.each({slideDown:o("show",1),slideUp:o("hide",1),slideToggle:o("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){c.fn[a]=function(d,e,f){return this.animate(b,d,e,f)}});c.extend({speed:function(a,b,d){var e=a&&typeof a=="object"?c.extend({},a):{complete:d||!d&&
b||c.isFunction(a)&&a,duration:a,easing:d&&b||b&&!c.isFunction(b)&&b};e.duration=c.fx.off?0:typeof e.duration=="number"?e.duration:e.duration in c.fx.speeds?c.fx.speeds[e.duration]:c.fx.speeds._default;e.old=e.complete;e.complete=function(f){e.queue!==false?c.dequeue(this):f!==false&&c._unmark(this);c.isFunction(e.old)&&e.old.call(this)};return e},easing:{linear:function(a,b,d,e){return d+e*a},swing:function(a,b,d,e){return(-Math.cos(a*Math.PI)/2+0.5)*e+d}},timers:[],fx:function(a,b,d){this.options=
b;this.elem=a;this.prop=d;b.orig=b.orig||{}}});c.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(c.fx.step[this.prop]||c.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 a,b=c.css(this.elem,this.prop);return isNaN(a=parseFloat(b))?!b||b==="auto"?0:b:a},custom:function(a,b,d){function e(n){return f.step(n)}var f=this,g=c.fx,j;this.startTime=
Da||z();this.start=a;this.end=b;this.unit=d||this.unit||(c.cssNumber[this.prop]?"":"px");this.now=this.start;this.pos=this.state=0;e.elem=this.elem;e()&&c.timers.push(e)&&!za&&(Ua?(za=1,j=function(){za&&(Ua(j),g.tick())},Ua(j)):za=setInterval(g.tick,g.interval))},show:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());c(this.elem).show()},hide:function(){this.options.orig[this.prop]=c.style(this.elem,
this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(a){var b=Da||z(),d=true,e=this.elem,f=this.options,g,j;if(a||b>=f.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();f.animatedProperties[this.prop]=true;for(g in f.animatedProperties)f.animatedProperties[g]!==true&&(d=false);if(d){f.overflow!=null&&!c.support.shrinkWrapBlocks&&c.each(["","X","Y"],function(p,q){e.style["overflow"+q]=f.overflow[p]});f.hide&&c(e).hide();if(f.hide||f.show)for(var n in f.animatedProperties)c.style(e,
n,f.orig[n]);f.complete.call(e)}return false}f.duration==Infinity?this.now=b:(j=b-this.startTime,this.state=j/f.duration,this.pos=c.easing[f.animatedProperties[this.prop]](this.state,j,0,1,f.duration),this.now=this.start+(this.end-this.start)*this.pos);this.update();return true}};c.extend(c.fx,{tick:function(){for(var a=c.timers,b=0;b<a.length;++b)a[b]()||a.splice(b--,1);a.length||c.fx.stop()},interval:13,stop:function(){clearInterval(za);za=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){c.style(a.elem,
"opacity",a.now)},_default:function(a){a.elem.style&&a.elem.style[a.prop]!=null?a.elem.style[a.prop]=(a.prop==="width"||a.prop==="height"?Math.max(0,a.now):a.now)+a.unit:a.elem[a.prop]=a.now}}});c.expr&&c.expr.filters&&(c.expr.filters.animated=function(a){return c.grep(c.timers,function(b){return a===b.elem}).length});var qc=/^t(?:able|d|h)$/i,sb=/^(?:body|html)$/i;"getBoundingClientRect"in J.documentElement?c.fn.offset=function(a){var b=this[0],d;if(a)return this.each(function(j){c.offset.setOffset(this,
a,j)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);try{d=b.getBoundingClientRect()}catch(e){}var f=b.ownerDocument,g=f.documentElement;if(!d||!c.contains(g,b))return d?{top:d.top,left:d.left}:{top:0,left:0};b=f.body;f=u(f);return{top:d.top+(f.pageYOffset||c.support.boxModel&&g.scrollTop||b.scrollTop)-(g.clientTop||b.clientTop||0),left:d.left+(f.pageXOffset||c.support.boxModel&&g.scrollLeft||b.scrollLeft)-(g.clientLeft||b.clientLeft||0)}}:c.fn.offset=
function(a){var b=this[0];if(a)return this.each(function(x){c.offset.setOffset(this,a,x)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);c.offset.initialize();var d,e=b.offsetParent,f=b,g=b.ownerDocument,j=g.documentElement,n=g.body;d=(g=g.defaultView)?g.getComputedStyle(b,null):b.currentStyle;for(var p=b.offsetTop,q=b.offsetLeft;(b=b.parentNode)&&b!==n&&b!==j;){if(c.offset.supportsFixedPosition&&d.position==="fixed")break;d=g?g.getComputedStyle(b,null):
b.currentStyle;p-=b.scrollTop;q-=b.scrollLeft;b===e&&(p+=b.offsetTop,q+=b.offsetLeft,c.offset.doesNotAddBorder&&(!c.offset.doesAddBorderForTableAndCells||!qc.test(b.nodeName))&&(p+=parseFloat(d.borderTopWidth)||0,q+=parseFloat(d.borderLeftWidth)||0),f=e,e=b.offsetParent);c.offset.subtractsBorderForOverflowNotVisible&&d.overflow!=="visible"&&(p+=parseFloat(d.borderTopWidth)||0,q+=parseFloat(d.borderLeftWidth)||0);d=d}if(d.position==="relative"||d.position==="static"){p+=n.offsetTop;q+=n.offsetLeft}c.offset.supportsFixedPosition&&
d.position==="fixed"&&(p+=Math.max(j.scrollTop,n.scrollTop),q+=Math.max(j.scrollLeft,n.scrollLeft));return{top:p,left:q}};c.offset={initialize:function(){var a=J.body,b=J.createElement("div"),d,e,f,g=parseFloat(c.css(a,"marginTop"))||0;c.extend(b.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"});b.innerHTML="<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";
a.insertBefore(b,a.firstChild);d=b.firstChild;e=d.firstChild;f=d.nextSibling.firstChild.firstChild;this.doesNotAddBorder=e.offsetTop!==5;this.doesAddBorderForTableAndCells=f.offsetTop===5;e.style.position="fixed";e.style.top="20px";this.supportsFixedPosition=e.offsetTop===20||e.offsetTop===15;e.style.position=e.style.top="";d.style.overflow="hidden";d.style.position="relative";this.subtractsBorderForOverflowNotVisible=e.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==g;a.removeChild(b);
c.offset.initialize=c.noop},bodyOffset:function(a){var b=a.offsetTop,d=a.offsetLeft;c.offset.initialize();c.offset.doesNotIncludeMarginInBodyOffset&&(b+=parseFloat(c.css(a,"marginTop"))||0,d+=parseFloat(c.css(a,"marginLeft"))||0);return{top:b,left:d}},setOffset:function(a,b,d){var e=c.css(a,"position");e==="static"&&(a.style.position="relative");var f=c(a),g=f.offset(),j=c.css(a,"top"),n=c.css(a,"left"),p={},q={},x,N;(e==="absolute"||e==="fixed")&&c.inArray("auto",[j,n])>-1?(q=f.position(),x=q.top,
N=q.left):(x=parseFloat(j)||0,N=parseFloat(n)||0);c.isFunction(b)&&(b=b.call(a,d,g));b.top!=null&&(p.top=b.top-g.top+x);b.left!=null&&(p.left=b.left-g.left+N);"using"in b?b.using.call(a,p):f.css(p)}};c.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),d=this.offset(),e=sb.test(b[0].nodeName)?{top:0,left:0}:b.offset();d.top-=parseFloat(c.css(a,"marginTop"))||0;d.left-=parseFloat(c.css(a,"marginLeft"))||0;e.top+=parseFloat(c.css(b[0],"borderTopWidth"))||0;e.left+=
parseFloat(c.css(b[0],"borderLeftWidth"))||0;return{top:d.top-e.top,left:d.left-e.left}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||J.body;a&&!sb.test(a.nodeName)&&c.css(a,"position")==="static";)a=a.offsetParent;return a})}});c.each(["Left","Top"],function(a,b){var d="scroll"+b;c.fn[d]=function(e){var f,g;if(e===k){f=this[0];if(!f)return null;return(g=u(f))?"pageXOffset"in g?g[a?"pageYOffset":"pageXOffset"]:c.support.boxModel&&g.document.documentElement[d]||g.document.body[d]:
f[d]}return this.each(function(){(g=u(this))?g.scrollTo(a?c(g).scrollLeft():e,a?e:c(g).scrollTop()):this[d]=e})}});c.each(["Height","Width"],function(a,b){var d=b.toLowerCase();c.fn["inner"+b]=function(){return this[0]?parseFloat(c.css(this[0],d,"padding")):null};c.fn["outer"+b]=function(e){return this[0]?parseFloat(c.css(this[0],d,e?"margin":"border")):null};c.fn[d]=function(e){var f=this[0];if(!f)return e==null?null:this;if(c.isFunction(e))return this.each(function(j){var n=c(this);n[d](e.call(this,
j,n[d]()))});if(c.isWindow(f)){var g=f.document.documentElement["client"+b];return f.document.compatMode==="CSS1Compat"&&g||f.document.body["client"+b]||g}if(f.nodeType===9)return Math.max(f.documentElement["client"+b],f.body["scroll"+b],f.documentElement["scroll"+b],f.body["offset"+b],f.documentElement["offset"+b]);if(e===k){f=c.css(f,d);g=parseFloat(f);return c.isNaN(g)?f:g}return this.css(d,typeof e=="string"?e:e+"px")}});h.jQuery=h.$=c})(window);
jQuery.cookie=function(h,k,u){if(typeof k!="undefined"){u=u||{};if(k===null){k="";u.expires=-1}var s="";if(u.expires&&(typeof u.expires=="number"||u.expires.toUTCString)){if(typeof u.expires=="number"){s=new Date;s.setTime(s.getTime()+u.expires*24*60*60*1E3)}else s=u.expires;s="; expires="+s.toUTCString()}var o=u.path?"; path="+u.path:"",y=u.domain?"; domain="+u.domain:"";u=u.secure?"; secure":"";document.cookie=[h,"=",encodeURIComponent(k),s,o,y,u].join("")}else{k=null;if(document.cookie&&document.cookie!=
""){u=document.cookie.split(";");for(s=0;s<u.length;s++){o=jQuery.trim(u[s]);if(o.substring(0,h.length+1)==h+"="){k=decodeURIComponent(o.substring(h.length+1));break}}}return k}};
var Query=function(){function h(y,z,I,K){s=true;(K=typeof K==="string"?jQuery(K):K)&&K.show("fast");jQuery.ajax({url:y,type:"POST",data:z,error:function(){s=false;K&&K.hide("fast");u()},success:function(D){I(D);s=false;K&&K.hide("fast");u()}})}function k(y){o.push(y)}function u(){var y=o.shift();y&&h.apply(null,y)}var s=false,o=[];return{init:function(){},add:function(y,z,I,K){var D;if(typeof z==="function"){D={};z=z;I=I||false}else{D=z||{};z=I||function(){};I=K||false}s===true?k([y,D,z,I]):h(y,D,
z,I)}}}();Query.init();function scrollToElement(h,k){var u=jQuery(h).offset().top;if(typeof k==="number")u+=k;if(jQuery.browser.msie)jQuery(document.documentElement).animate({scrollTop:u},200);else jQuery.browser.mozilla||jQuery.browser.opera?jQuery("html").animate({scrollTop:u},200):jQuery(document.body).animate({scrollTop:u},200)}
var LazyJSLoad=function(){function h(u,s,o,y){var z=document.createElement("script"),I=s||false;z.charset="utf8";z.src=u;if(I){var K=o||window,D=y||[];z.onreadystatechange=function(){if(z.readyState=="loaded"||z.readyState=="complete")I.apply(K,D.constructor===Array?D:[D])};z.onload=function(){I.apply(K,D.constructor===Array?D:[D])}}k.appendChild(z)}var k=document.getElementsByTagName("head")[0];return{load:function(){h.apply(null,arguments)},onready:function(){var u=arguments;jQuery(document).ready(function(){h.apply(null,
u)})}}}();jQuery.extend(jQuery.easing,{easeInBounce:function(h,k,u,s,o){return s-jQuery.easing.easeOutBounce(h,o-k,0,s,o)+u},easeOutBounce:function(h,k,u,s,o){return(k/=o)<1/2.75?s*7.5625*k*k+u:k<2/2.75?s*(7.5625*(k-=1.5/2.75)*k+0.75)+u:k<2.5/2.75?s*(7.5625*(k-=2.25/2.75)*k+0.9375)+u:s*(7.5625*(k-=2.625/2.75)*k+0.984375)+u}});
function show_all_left_menu(h){var k=$("#id_left_menu");h=$(h).find("a");if(k.hasClass("opened_menu")){k.animate({height:"40px"}).removeClass("opened_menu");h.removeClass("i_arrow_up").addClass("i_arrow_down").attr("stick","\u0415\u0449\u0435");$.cookie("left_menu_status","close",{path:"/",domain:"."+serverName})}else{k.animate({height:"85px"}).addClass("opened_menu");h.removeClass("i_arrow_down").addClass("i_arrow_up").attr("stick","\u0421\u0432\u0435\u0440\u043d\u0443\u0442\u044c");$.cookie("left_menu_status",
"open",{path:"/",domain:"."+serverName})}}function resetForm(h,k){k||(k="input,select,textarea");$(document.forms[h]).find(k).val("")}function submitForm(h){$(document.forms[h]).submit()}function nl2br(h){return(h+"").replace(/([^>]?)\n/g,"$1<br />\n")}
(function(h){function k(u){h(u.data("alert")).remove();u.data("alert",null)}h(window);h.fn.ShowAlert=function(u,s,o,y){this.each(function(){var z=h(this);if(o===true||!z.data("alert"))window.setTimeout(function(){z.data("alert",ShowAlert(z,u,y));s&&z.HideAlert(2E3)},100)});return h(this)};h.fn.HideAlert=function(u){this.each(function(){var s=h(this);if(s.data("alert"))u?window.setTimeout(function(){k(s)},u):k(s)});return h(this)}})(jQuery);
function ShowAlert(h,k,u){h=$(h);var s=h.offset();if(u=u||null){var o=u.offset();s={top:s.top-o.top,left:s.left-o.left}}k=k||"undefined";var y=$('<div class="info_stick"></div>').text(k).css({top:s.top-23,left:s.left+10});switch(h[0].tagName.toLowerCase()){case "textarea":case "input":var z=function(){y.remove();$(this).unbind("keyup",z);$(this).unbind("change",I)},I=function(){y.remove();$(this).unbind("keyup",z);$(this).unbind("change",I)};h.bind("keyup",z);h.bind("change",I);break;case "select":case "checkbox":var K=
function(){y.remove();$(this).unbind("change",K)};h.bind("change",K);break;default:var D=function(){y.remove();$(this).unbind("click",D)};h.bind("click",D);break}$(u||document.body).append(y);return y.get(0)}function spawnChat(h){if(h=parseInt(h))(h=window.open(siteRoot+"/messages/chat/"+h,"chat"+h,"status=0,toolbar=0,location=0,menubar=0,directories=0,scrollbars=0,resizable=0,location,width=530,height=590,fullscreen=0"))&&h.focus()}
function rateItem(h,k,u,s,o,y,z){var I=parseInt(h);h=parseInt(k);s=parseInt(s);Query.add(siteRoot+"/vote/vote/",{rate:I,itemId:h,parentId:s,serviceName:u},function(K){if(K=="ok")if(o=="reload")if(y)window.location.href=(y.indexOf("http://")==-1?siteRoot:"")+y;else window.location.reload();else{$(o).each(function(){var D=parseInt($(this).text())+I;$(this).text(D)});typeof z=="function"&&z()}})}
function addToNotepad(h,k,u,s){h=$(h);Query.add(siteRoot+"/favorites/ajax/add/",{id:k,author:u,type:s},function(o){if(o=="ok"&&h.length){h.unbind("click").click(function(){removeFromNotepad(h,k,u,s)});h.find("span").text("\u0423\u0434\u0430\u043b\u0438\u0442\u044c \u0438\u0437 \u0437\u0430\u043a\u043b\u0430\u0434\u043e\u043a")}})}
function removeFromNotepad(h,k,u,s){h=$(h);Query.add(siteRoot+"/favorites/ajax/remove/",{id:k,author:u,type:s},function(o){if(o=="ok"&&h.length){h.unbind("click").click(function(){addToNotepad(h,k,u,s)});h.find("span").text("\u0412 \u0437\u0430\u043a\u043b\u0430\u0434\u043a\u0438")}})}function aut_popup(h){h&&$("#aut_popup_text").html(h);show_popup("autorization_popup");return false}
function resize_popup(){var h=$("#popup_window div.content");$("#popup_window").find(".popup-tc, .popup-bc").css({width:"auto"});$("#popup_window").removeClass("hide");var k=Math.round(h.get(0).offsetWidth);h=Math.round(h.get(0).offsetHeight);$("#popup_window").find(".popup-tc, .popup-bc").css({width:k+"px"});$("#popup_window").css({marginTop:-h/2+"px",marginLeft:-k/2+"px"})}
function show_popup(h){close_popup(false);var k=$("#popup_window");k.data("expose")||k.expose({color:"#fff",zIndex:100001,loadSpeed:0,closeSpeed:0,onBeforeClose:function(){close_popup(false)}});k.data("expose").load();k.data("element",h);k.find("div.content").append($("#"+h).children());resize_popup()}
function close_popup(h){h!==false&&$("#popup_window").data("expose")&&$("#popup_window").data("expose").close();h=$("#popup_window");h.addClass("hide");var k=h.find("div.content"),u=$("#"+h.data("element"));u.length&&u.append(k.children());h.data("element",null);k.html("")}
function send_user_message_about_error(){var h=$("#error_user_message_name").val(),k=$("#error_user_message").val();if(h.length!=0&&k.length!=0){Query.init();Query.add(siteRoot+"/feedback/ajax/?action=send",{email:h,text:k},function(u){u=="OK"&&show_popup("user_answer_about_error_ok")})}}
function quickForm(h){var k=document.createElement("form");k.action=h||window.location.href;k.method="post";for(var u=1;u<arguments.length;u+=2){var s=document.createElement("input");s.type="hidden";s.name=arguments[u];s.value=arguments[u+1];k.appendChild(s)}document.body.appendChild(k);k.submit()}function Paginator(h,k){$(k).load(h,function(){var u=$(k).offset();window.scrollTo(u.left,u.top-50)})}
var jQueryAjaxScroller={__construct:function(h,k,u,s,o,y,z,I,K,D){this.container=typeof h=="string"?$(h):h;this.button_left=typeof k=="string"?$(k):k;this.button_right=typeof u=="string"?$(u):u;this.speed=parseInt(s);this.total_pages=parseInt(o);this.width=parseInt(y)*parseInt(z);this.url=I;this.load_img=K;this.ajax_params=D;this.ajax_params.page=this.ajax_params.page||1;this.init()},init:function(){var h=this;this.current=$(this.container.children()[0]);this.current.addClass("currentElement");this.ajax_params.page==
1&&this.button_left.css("visibility","hidden");this.ajax_params.page==this.total_pages&&this.button_right.css("visibility","hidden");this.button_left.click(function(){if(h.current.prev().length==0){h.container.css("background","url('"+h.load_img+"') center no-repeat");h.ajax_params.page--;Query.add(h.url,h.ajax_params,function(k){h.container.css("background","none");h.container.prepend(k);h.moveLeft(true)})}else{h.ajax_params.page--;h.moveLeft()}});this.button_right.click(function(){if(h.current.next().length==
0){h.container.css("background","url('"+h.load_img+"') center no-repeat");h.ajax_params.page++;Query.add(h.url,h.ajax_params,function(k){h.container.css("background","none");h.container.append(k);h.moveRight()})}else{h.ajax_params.page++;h.moveRight()}})},moveLeft:function(h){if(this.ajax_params.page>0){this.current.removeClass("currentElement");this.current=this.current.prev();this.current.addClass("currentElement");this.current.css("width",this.width+"px");h&&this.current.css("marginLeft","-"+this.width+
"px");this.ajax_params.page==1&&this.button_left.css("visibility","hidden");this.button_right.css("visibility","visible");$(this.container.children()[0]).animate({marginLeft:"+="+this.width},this.speed)}else this.button_left.css("visibility","hidden")},moveRight:function(){if(this.ajax_params.page<=this.total_pages){this.current.removeClass("currentElement");this.current=this.current.next();this.current.addClass("currentElement");this.current.css("width",this.width+"px");this.ajax_params.page==this.total_pages&&
this.button_right.css("visibility","hidden");this.button_left.css("visibility","visible");$(this.container.children()[0]).animate({marginLeft:"-="+this.width},this.speed)}else this.button_right.css("visibility","hidden")}};function close_current_infoblock(h){$.cookie("close_current_infoblock",h,{path:"/",domain:".{/literal}{$serverName}{literal}"});$("#closeQuestionsAboutSetHomePage").remove();$("#informer_top").animate({height:"0px"})}
function activeSmallTabFunc(){var h=jQuery(this);h.parent().find(".tab_on").removeClass("tab_on").addClass("tab_off");!h.hasClass("tshirt")&&!h.hasClass("tshirt_select")&&h.removeClass("tab_off").addClass("tab_on")}function insertSmile(h){current_wisywig_area&&current_wisywig_area.length&&current_wisywig_area.htmlarea("smiley_insert",h)}function insertImageWisywig(h){current_wisywig_area&&current_wisywig_area.length&&current_wisywig_area.htmlarea("insertImages",h)}
function setUserbarPosition(){jQuery("#top_user_menu").each(function(){var h=jQuery(this),k=false,u=jQuery.browser.msie?window:document;jQuery(u).scroll(function(){var o=$(this).scrollTop();if(o>225&&!k){k=true;h.css("top",225).css("position","absolute")}else if(o<225&&k){k=false;h.css("top",0).css("position","fixed")}});if(currentUserId){var s=h.find("div.top_user_buttons");s.find("span.switcher_services i").mousedown(function(o){o.preventDefault();if(jQuery(this).hasClass("i_arrow_down")){jQuery(this).removeClass("i_arrow_down").addClass("i_arrow_up");
s.addClass("top_user_buttons_bg")}else{jQuery(this).removeClass("i_arrow_up").addClass("i_arrow_down");s.removeClass("top_user_buttons_bg")}})}jQuery(u).scroll()})}
jQuery(document).ready(function(){jQuery("div.autoriz_user_area","#top_user_menu").each(function(){var h=jQuery(this);jQuery("#enter_top_button").click(function(){function k(u){if(!h.find(u.target).size()&&u.target!=h[0]){h.removeClass("enter_open");jQuery(document.body).unbind("click",k);$("#password_restore_cancel").click()}}h.addClass("enter_open");$("#login_input").focus();jQuery(document.body).bind("click",k)});jQuery(document.body).scroll(function(k){console.debug(k)})});jQuery("div.main_search_inp",
"#top_user_menu").each(function(){function h(s){s.preventDefault();if(u){k.find("#menu_list").animate({height:0},200);k.find("td.where_search_select_end i").removeClass("i_arrow_up").addClass("i_arrow_down");u=false}else{k.find("#menu_list").animate({height:111},200);k.find("td.where_search_select_end i").removeClass("i_arrow_down").addClass("i_arrow_up");u=true}}var k=jQuery(this),u=false;k.find("td.where_search_select, td.where_search_select_end").mousedown(h);k.find("#menu_list a").click(function(s){k.find("span.current_search_type").html(jQuery(this).html());
jQuery("a","#menu_list").removeClass("this_type_selected");jQuery("#area-current-input").val(jQuery(this).attr("area"));jQuery(this).addClass("this_type_selected");h(s)})});jQuery("div.tabbed-container").each(function(){var h=jQuery(this),k=h.children("table").find("td:even"),u=h.children("div").children().children().children("div.tabs-content");k.each(function(s){jQuery(this).mousedown(function(o){o.preventDefault();k.removeClass("active");k.addClass("unactive");k.eq(s).addClass("active").removeClass("unactive");
u.removeClass("active");u.eq(s).addClass("active")})})})});(function(h){var k=document.createElement("input").placeholder==="string";h.fn.placeholder=function(){this.each(function(){if(!k){var u=h(this),s=false;u.parents("form:first").submit(function(){s&&u.val("")});u.blur(function(){if(s=h.trim(u.val()).length===0){u.val(u.attr("placeholder"));u.css("color","#A9A9A9")}});u.focus(function(){if(s){u.val("");u.css("color","")}});u.blur()}});return this}})(jQuery);
(function(h){window.parseResponse=function(){};h.prototype.ajaxSubmit=function(k,u){function s(){var K=this[0].contentWindow?this[0].contentWindow.document:this[0].contentDocument?this[0].contentDocument:this[0].document;if(K&&K.body.innerHTML.length)try{jQuery.isFunction(I)&&I.call(null,K.body.innerHTML,y)}finally{this.unbind("load")}}function o(K){var D="auto_iframe_"+Math.floor(Math.random()*99999),C=jQuery('<iframe style="position: absolute; top: -1000em; left: -1000em" action="'+K+'" src="about:blank" id="'+
D+'" name="'+D+'"></iframe>').appendTo(document.body);y.attr("target",D);C.bind("load",function(){s.call(C)});y[0].submit();y.removeAttr("target")}if(this[0].tagName.toLowerCase()!=="form")return false;var y=this,z=u||null,I=k||null;y.unbind("submit.ajax").bind("submit.ajax",function(K){if(!K.isDefaultPrevented()){K.preventDefault();K=y.attr("action")||window.location.pathname;var D=y.attr("method").toLowerCase()||"get";jQuery.isFunction(z)&&z.call(null,y)===false||(y[0].enctype=="multipart/form-data"&&
D=="post"?o(K):jQuery[D](K,y.serialize(),function(C){jQuery.isFunction(I)&&I.call(null,C,y)}))}});return this}})(jQuery);
var formvalidator=function(h,k){function u(y,z){if(z=="all")return true;return y.match(o[z])?y.match(o[z]).join("")==y:false}var s=[],o={string:/[\u0430-\u044f\u0410-\u042fa-zA-Z\u0451\u0401 \-]*/gi,address:/[\u0430-\u044f\u0410-\u042fa-zA-Z\u0451\u04010-9 \Q#\u2116,.`'-\/\E]*/gi,number:/[0-9\- ]*/gi,mail:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/gi,site:/^(http:\/\/)?([\w\-]{2,}\.)+[\w]{2,4}(.*)?$/gi,phone:/^\+?[0-9\s\.\-\(\)]*$/gi,
"class":/^([1-9]|1[0-2])\s?[\u0430-\u044f]?$/gi,login:/^[a-zA-Z0-9][a-zA-Z0-9-_\.]+$/gi,name:/^[^\s\t\n\r`~!@#$%\^&\*\(\)_\+=\\\|'";:<>\/,.]+$/ig};(k||$(h).find("input,select,textarea")).each(function(){var y=$(this).attr("validate");if(this.disabled===false&&typeof y!="undefined"){var z=y.split("|");y={require:0,type:"all",max:0,min:false,text:""};for(var I=0;I<z.length;I++){var K=z[I].split("=");y[K[0]]=K[1]}switch(this.tagName){case "TEXTAREA":case "INPUT":requireCheck=y.require==1&&this.value.length==
0;typeCheck=this.value.length>0&&!u(this.value,y.type);maxCheck=this.value.length>0&&y.max>0&&this.value.length>y.max;minCheck=this.value.length>0&&y.min!=false&&this.value.length<y.min;break;case "SELECT":z=this.options[this.selectedIndex].value;requireCheck=y.require==1&&z.length==0;typeCheck=z.length!=0&&!u(z,y.type);maxCheck=typeof z!="undefined"&&y.max>0&&z>y.max;minCheck=typeof z!="undefined"&&y.min!=false&&z<y.min;break}if(requireCheck||typeCheck||maxCheck||minCheck){this.error_text=y.text;
s.push(this)}$(this).removeClass("err")}});if(s.length>0){$(s).each(function(){$(this).ShowAlert(this.error_text,false,true)});return false}else return true},datevalidor=function(h){var k=$("#"+h);h=k.find("select[name=Date_Year]");var u=k.find("select[name=Date_Month]");k=k.find("select[name=Date_Day]");if(k.val()<1){ShowAlert([k.get(0),u.get(0),h.get(0)],"\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0434\u0430\u0442\u0443");return false}if(u.val()<1){ShowAlert([u.get(0),h.get(0),k.get(0)],
"\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u043c\u0435\u0441\u044f\u0446");return false}if(h.val()<1){ShowAlert([h.get(0),u.get(0),k.get(0)],"\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0433\u043e\u0434");return false}var s=new Date(h.val(),u.val()-1,k.val());if(NOW-s<0){ShowAlert([u.get(0),h.get(0),k.get(0)],"\u041d\u0435\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u0443\u043a\u0430\u0437\u0430\u043d\u0430 \u0434\u0430\u0442\u0430");return false}return true},datevalidorArray=
function(h,k){for(var u in k){var s=$("#"+h),o=s.find("select[name="+k[u]+"Year]"),y=s.find("select[name="+k[u]+"Month]");s=s.find("select[name="+k[u]+"Day]");if(s.val()<1){ShowAlert([s.get(0),y.get(0),o.get(0)],"\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0434\u0430\u0442\u0443");return false}if(y.val()<1){ShowAlert([y.get(0),o.get(0),s.get(0)],"\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u043c\u0435\u0441\u044f\u0446");return false}if(o.val()<1){ShowAlert([o.get(0),y.get(0),s.get(0)],
"\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0433\u043e\u0434");return false}var z=new Date(o.val(),y.val()-1,s.val());if(NOW-z<0){ShowAlert([y.get(0),o.get(0),s.get(0)],"\u041d\u0435\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u0443\u043a\u0430\u0437\u0430\u043d\u0430 \u0434\u0430\u0442\u0430");return false}}return true};
(function(h){function k(s,o){function y(F,L){h(D).bind(F,function(X,M){if(L&&L.call(this,M.index)===false&&M)M.proceed=false});return D}function z(F,L){return F.indexOf("#")!=-1?h(F).eq(0):L.siblings(F).eq(0)}function I(){if(S.is(":empty")||S.data("me")==D){S.empty();S.data("me",D);for(var F=0;F<D.getPageAmount();F++){var L=h("<"+o.naviItem+"/>").attr("href",F).click(function(X){var M=h(this);M.parent().children().removeClass(o.activeClass);M.addClass(o.activeClass);D.setPage(M.attr("href"));return X.preventDefault()});
F===0&&L.addClass(o.activeClass);S.append(L)}}else S.children().each(function(X){var M=h(this);M.attr("href",X);X===0&&M.addClass(o.activeClass);M.click(function(){S.find("."+o.activeClass).removeClass(o.activeClass);M.addClass(o.activeClass);D.setPage(M.attr("href"))})});o.clickable&&D.getItems().each(function(X){var M=h(this);if(!M.data("set")){M.bind("click.scrollable",function(){D.click(X)});M.data("set",true)}});o.hoverClass&&D.getItems().hover(function(){h(this).addClass(o.hoverClass)},function(){h(this).removeClass(o.hoverClass)});
return D}function K(){P||(P=setInterval(function(){if(o.interval===0){clearInterval(P);P=0}else D.next()},o.interval))}var D=this;u||(u=D);h.each(o,function(F,L){h.isFunction(L)&&y(F,L)});var C=!o.vertical,aa=h(o.items,s),O=0,S=z(o.navi,s),ha=z(o.prev,s),da=z(o.next,s),la=z(o.prevPage,s),ba=z(o.nextPage,s);h.extend(D,{getIndex:function(){return O},getConf:function(){return o},getSize:function(){return D.getItems().size()},getPageAmount:function(){return Math.ceil(this.getSize()/o.size)},getPageIndex:function(){return Math.ceil(O/
o.size)},getRoot:function(){return s},getItemWrap:function(){return aa},getItems:function(){return aa.children()},getVisibleItems:function(){return D.getItems().slice(O,O+o.size)},seekTo:function(F,L,X){if(L===undefined)L=o.speed;if(h.isFunction(L)){X=L;L=o.speed}if(F<0)F=0;if(F>D.getSize()-o.size)return D;var M=D.getItems().eq(F);if(!M.length)return D;var ea={index:F,proceed:true};h(D).trigger("onBeforeSeek",ea);if(!ea.proceed)return D;if(C){M=-M.position().left;aa.animate({left:M},L,o.easing,X?
function(){X.call(D)}:null)}else{M=-M.position().top;aa.animate({top:M},L,o.easing,X?function(){X.call(D)}:null)}if(S.length){L=o.activeClass;M=Math.ceil(F/o.size);M=Math.min(M,S.children().length-1);S.children().removeClass(L).eq(M).addClass(L)}F===0?ha.add(la).addClass(o.disabledClass):ha.add(la).removeClass(o.disabledClass);F>=D.getSize()-o.size?da.add(ba).addClass(o.disabledClass):da.add(ba).removeClass(o.disabledClass);u=D;O=F;h(D).trigger("onSeek",{index:F});return D},move:function(F,L,X){F=
O+F;if(o.loop&&F>D.getSize()-o.size)F=0;return this.seekTo(F,L,X)},next:function(F,L){return this.move(1,F,L)},prev:function(F,L){return this.move(-1,F,L)},movePage:function(F,L,X){return this.move(o.size*F,L,X)},setPage:function(F,L,X){var M=o.size;F=M*F;if(F+M>=this.getSize())F=this.getSize()-o.size;return this.seekTo(F,L,X)},prevPage:function(F,L){return this.setPage(this.getPageIndex()-1,F,L)},nextPage:function(F,L){return this.setPage(this.getPageIndex()+1,F,L)},begin:function(F,L){return this.seekTo(0,
F,L)},end:function(F,L){return this.seekTo(this.getSize()-o.size,F,L)},reload:function(){return I()},click:function(F,L,X){var M=D.getItems().eq(F),ea=o.activeClass;if(F<0||F>=this.getSize())return D;if(o.size==2){F==D.getIndex()&&F--;D.getItems().removeClass(ea);M.addClass(ea);return this.seekTo(F,L,X)}if(!M.hasClass(ea)){D.getItems().removeClass(ea);M.addClass(ea);M=F-Math.floor(o.size/2);if(M>D.getSize()-o.size)M=D.getSize()-o.size;if(M!==F)return this.seekTo(M,L,X)}return D},onBeforeSeek:function(F){return y("onBeforeSeek",
F)},onSeek:function(F){return y("onSeek",F)}});h.isFunction(h.fn.mousewheel)&&s.bind("mousewheel.scrollable",function(F,L){var X=h.browser.opera?1:-1;D.move(L>0?X:-X,50);return false});ha.addClass(o.disabledClass).click(function(){D.prev()});da.click(function(){D.next()});ba.click(function(){D.nextPage()});la.addClass(o.disabledClass).click(function(){D.prevPage()});o.keyboard&&h(document).unbind("keydown.scrollable").bind("keydown.scrollable",function(F){var L=u;if(!(!L||F.altKey||F.ctrlKey)){if(C&&
(F.keyCode==37||F.keyCode==39)){L.move(F.keyCode==37?-1:1);return F.preventDefault()}if(!C&&(F.keyCode==38||F.keyCode==40)){L.move(F.keyCode==38?-1:1);return F.preventDefault()}return true}});I();var P=null;if(o.interval>0){s.hover(function(){clearInterval(P);P=0},function(){K()});K()}}h.tools=h.tools||{version:{}};h.tools.version.scrollable="1.0.5";var u=null;h.fn.scrollable=function(s){var o=this.eq(typeof s=="number"?s:0).data("scrollable");if(o)return o;var y={size:5,vertical:false,clickable:true,
loop:false,interval:0,speed:400,keyboard:true,activeClass:"active",disabledClass:"disabled",hoverClass:null,easing:"swing",items:".items",prev:".prev",next:".next",prevPage:".prevPage",nextPage:".nextPage",navi:".navi",naviItem:"a",api:false,onBeforeSeek:null,onSeek:null};h.extend(y,s);this.each(function(){o=new k(h(this),y);h(this).data("scrollable",o)});return y.api?o:this}})(jQuery);
(function(h){function k(s,o){function y(P,F){h(z).bind(P,function(L,X){if(F&&F.call(this)===false&&X)X.proceed=false});return z}var z=this,I=h(window),K,D,C,aa,O,S,ha,da=o.expose&&h.tools.version.expose;h.each(o,function(P,F){h.isFunction(F)&&y(P,F)});var la=o.target||s.attr("rel"),ba=la?h(la):null;if(ba)O=s;else ba=s;I.ready(function(){S=ba.attr("overlay");if(!S){S=ba.css("backgroundImage");if(!S)throw"background-image CSS property not set for overlay element: "+la;S=S.substring(S.indexOf("(")+1,
S.indexOf(")")).replace(/\"/g,"");ba.css("backgroundImage","none");ba.attr("overlay",S)}C=ba.outerWidth({margin:true});aa=ba.outerHeight({margin:true});D=h('<img src="'+S+'"/>');D.css({border:0,position:"absolute",display:"none"}).width(C).attr("overlay",true);h("body").append(D);O&&O.bind("click.overlay",function(P){z.load(P.pageY-I.scrollTop(),P.pageX-I.scrollLeft());return P.preventDefault()});o.close=o.close||".close";ba.find(o.close).length||ba.prepend('<div class="close"></div>');K=ba.find(o.close);
K.bind("click.overlay",function(){z.close()});o.preload&&setTimeout(function(){(new Image).src=S},2E3)});h.extend(z,{load:function(P,F){if(!D){I.load(function(){z.load(P,F)});return z}if(z.isOpened())return z;o.oneInstance&&h.each(u,function(){this.close()});var L={proceed:true};h(z).trigger("onBeforeLoad",L);if(!L.proceed)return z;if(da){D.expose(o.expose);ha=D.expose().load()}P=P||o.start.top;F=F||o.start.left;var X=o.finish.top,M=o.finish.left;if(X=="center")X=Math.max((I.height()-aa)/2,0);if(M==
"center")M=Math.max((I.width()-C)/2,0);if(!o.start.absolute){P+=I.scrollTop();F+=I.scrollLeft()}if(!o.finish.absolute){X+=I.scrollTop();M+=I.scrollLeft()}D.css({top:P,left:F,width:o.start.width,zIndex:o.zIndex}).show();D.animate({top:X,left:M,width:C},o.speed,function(){ba.css({position:"absolute",top:X,left:M});var ea=D.css("zIndex");K.add(ba).css("zIndex",++ea);ba.fadeIn(o.fadeInSpeed,function(){h(z).trigger("onLoad")})});return z},close:function(){if(!z.isOpened())return z;var P={proceed:true};
h(z).trigger("onBeforeClose",P);if(!P.proceed)return z;ha&&ha.close();if(D.is(":visible")){ba.hide();var F=o.start.top,L=o.start.left;if(O){P=O.offset();F=P.top+O.height()/2;L=P.left+O.width()/2}D.animate({top:F,left:L,width:0},o.closeSpeed,function(){h(z).trigger("onClose",P)})}return z},getBackgroundImage:function(){return D},getContent:function(){return ba},getTrigger:function(){return O},isOpened:function(){return ba.is(":visible")},getConf:function(){return o},onBeforeLoad:function(P){return y("onBeforeLoad",
P)},onLoad:function(P){return y("onLoad",P)},onBeforeClose:function(P){return y("onBeforeClose",P)},onClose:function(P){return y("onClose",P)}});h(document).keydown(function(P){P.keyCode==27&&z.close()});o.closeOnClick&&h(document).bind("click.overlay",function(P){if(ba.is(":visible, :animated")){P=h(P.target);P.attr("overlay")||P.parents("[overlay]").length||z.close()}})}h.tools=h.tools||{version:{}};h.tools.version.overlay="1.0.4";var u=[];h.fn.overlay=function(s){var o=this.eq(typeof s=="number"?
s:0).data("overlay");if(o)return o;var y=h(window),z={start:{top:Math.round(y.height()/2),left:Math.round(y.width()/2),width:0,absolute:false},finish:{top:80,left:"center",absolute:false},speed:"normal",fadeInSpeed:"fast",closeSpeed:"fast",close:null,oneInstance:true,closeOnClick:true,preload:true,zIndex:9999,api:false,expose:null,target:null};if(h.isFunction(s))s={onBeforeLoad:s};h.extend(true,z,s);this.each(function(){o=new k(h(this),z);u.push(o);h(this).data("overlay",o)});return z.api?o:this}})(jQuery);
(function(h){function k(){var s=h(window).width();if(h.browser.mozilla)return s;var o;o=window.innerHeight&&window.scrollMaxY?window.innerWidth+window.scrollMaxX:document.body.scrollHeight>document.body.offsetHeight?document.body.scrollWidth:document.body.offsetWidth;return o<s?o+20:s}function u(s,o){function y(C,aa){h(z).bind(C,function(O,S){if(aa&&aa.call(this)===false&&S)S.proceed=false});return z}var z=this,I=null,K=false,D=0;h.each(o,function(C,aa){h.isFunction(aa)&&y(C,aa)});h(window).bind("resize.expose",
function(){I&&I.css({width:k(),height:h(document).height()})});h.extend(this,{getMask:function(){return I},getExposed:function(){return s},getConf:function(){return o},isLoaded:function(){return K},load:function(){if(K)return z;D=s.eq(0).css("zIndex");if(o.maskId)I=h("#"+o.maskId);if(!I||!I.length){I=h("<div/>").css({position:"absolute",top:0,left:0,width:k(),height:h(document).height(),display:"none",opacity:0,zIndex:o.zIndex});o.maskId&&I.attr("id",o.maskId);h("body").append(I);var C=I.css("backgroundColor");
if(!C||C=="transparent"||C=="rgba(0, 0, 0, 0)")I.css("backgroundColor",o.color);o.closeOnEsc&&h(document).bind("keydown.unexpose",function(O){O.keyCode==27&&z.close()});o.closeOnClick&&I.bind("click.unexpose",function(){z.close()})}C={proceed:true};h(z).trigger("onBeforeLoad",C);if(!C.proceed)return z;h.each(s,function(){var O=h(this);/relative|absolute|fixed/i.test(O.css("position"))||O.css("position","relative")});s.css({zIndex:o.zIndex+1});var aa=I.height();this.isLoaded()||I.css({opacity:0,display:"block"}).fadeTo(o.loadSpeed,
o.opacity,function(){I.height()!=aa&&I.css("height",aa);h(z).trigger("onLoad")});K=true;return z},close:function(){if(!K)return z;var C={proceed:true};h(z).trigger("onBeforeClose",C);if(C.proceed===false)return z;I.fadeOut(o.closeSpeed,function(){h(z).trigger("onClose");s.css({zIndex:h.browser.msie?D:null})});K=false;return z},onBeforeLoad:function(C){return y("onBeforeLoad",C)},onLoad:function(C){return y("onLoad",C)},onBeforeClose:function(C){return y("onBeforeClose",C)},onClose:function(C){return y("onClose",
C)}})}h.tools=h.tools||{version:{}};h.tools.version.expose="1.0.3";h.fn.expose=function(s){var o=this.eq(typeof s=="number"?s:0).data("expose");if(o)return o;var y={maskId:null,loadSpeed:"slow",closeSpeed:"fast",closeOnClick:true,closeOnEsc:true,zIndex:9998,opacity:0.8,color:"#456",api:false};if(typeof s=="string")s={color:s};h.extend(y,s);this.each(function(){o=new u(h(this),y);h(this).data("expose",o)});return y.api?o:this}})(jQuery);
(function(h){var k=["click","change","mouseup","mousedown","mousemove"];h.fn.checkBox=function(){var u=h(this).filter(":checkbox, :radio"),s={};u.each(function(){var o=this,y=jQuery(o);if(!y.data("styled")){y.data("styled",true);if(o.id.length===0)o.id="uniq"+Math.floor(Math.random()*1E7);for(var z=0;z<k.length;z++)if(typeof o["on"+k[z]]==="function"){y.bind(k[z],o["on"+k[z]]);o["on"+k[z]]=null}var I=jQuery('<label for="'+o.id+'" class="ui-'+o.type+(o.checked?" ui-"+o.type+"-state-checked":"")+(o.className?
" "+o.className:"")+'"></label>');if(o.type==="radio")if(s[o.name])s[o.name].push(I);else s[o.name]=Array(I);y.addClass("ui-input");y.before(I);y.change(function(){y.blur();if(o.checked){o.type==="radio"&&h.each(s[o.name],function(K,D){D.removeClass("ui-"+o.type+"-state-checked")});I.addClass("ui-"+o.type+"-state-checked")}else I.removeClass("ui-"+o.type+"-state-checked")})}});return u}})(jQuery);
(function(h,k,u){function s(C,aa){var O=(C[0]||0)-(aa[0]||0);return O>0||!O&&C.length>0&&s(C.slice(1),aa.slice(1))}function o(C){if(typeof C!=y)return C;var aa=[],O="";for(var S in C){O=typeof C[S]==y?o(C[S]):[S,z?encodeURI(C[S]):C[S]].join("=");aa.push(O)}return aa.join("&")}var y="object",z=true;try{var I=u.description||(new u("ShockwaveFlash.ShockwaveFlash")).GetVariable("$version")}catch(K){I="Unavailable"}var D=I.match(/\d+/g)||[0];h[k]={available:D[0]>0,activeX:u&&!u.name,version:{original:I,
array:D,string:D.join("."),major:parseInt(D[0],10)||0,minor:parseInt(D[1],10)||0,release:parseInt(D[2],10)||0},hasVersion:function(C){C=/string|number/.test(typeof C)?C.toString().split("."):/object/.test(typeof C)?[C.major,C.minor]:C||[0,0];return s(D,C)},encodeParams:true,expressInstall:"expressInstall.swf",expressInstallIsActive:false,create:function(C){if(!C.swf||this.expressInstallIsActive||!this.available&&!C.hasVersionFail)return false;if(!this.hasVersion(C.hasVersion||1)){this.expressInstallIsActive=
true;if(typeof C.hasVersionFail=="function")if(!C.hasVersionFail.apply(C))return false;C={swf:C.expressInstall||this.expressInstall,height:137,width:214,flashvars:{MMredirectURL:location.href,MMplayerType:this.activeX?"ActiveX":"PlugIn",MMdoctitle:document.title.slice(0,47)+" - Flash Player Installation"}}}attrs={data:C.swf,type:"application/x-shockwave-flash",id:C.id||"flash_"+Math.floor(Math.random()*999999999),width:C.width||320,height:C.height||180,style:C.style||""};z=typeof C.useEncode!=="undefined"?
C.useEncode:this.encodeParams;C.movie=C.swf;C.wmode=C.wmode||"opaque";delete C.fallback;delete C.hasVersion;delete C.hasVersionFail;delete C.height;delete C.id;delete C.swf;delete C.useEncode;delete C.width;var aa=document.createElement("div"),O=attrs,S=[];for(var ha in O)O[ha]&&S.push([ha,'="',O[ha],'"'].join(""));O=S.join(" ");var da;C=C;S=[];for(da in C)S.push(['<param name="',da,'" value="',o(C[da]),'" />'].join(""));da=S.join("");da=["<object ",O,">",da,"</object>"];aa.innerHTML=da.join.call(da,
"");return aa.firstChild}};h.fn[k]=function(C){var aa=this.find(y).andSelf().filter(y);/string|object/.test(typeof C)&&this.each(function(){var O=h(this),S;C=typeof C==y?C:{swf:C};C.fallback=this;if(S=h[k].create(C)){O.children().remove();O.html(S)}});typeof C=="function"&&aa.each(function(){var O=this;O.jsInteractionTimeoutMs=O.jsInteractionTimeoutMs||0;if(O.jsInteractionTimeoutMs<660)O.clientWidth||O.clientHeight?C.call(O):setTimeout(function(){h(O)[k](C)},O.jsInteractionTimeoutMs+66)});return aa}})(jQuery,
"flash",navigator.plugins["Shockwave Flash"]||window.ActiveXObject);
function create_flash(h){if(typeof h.hasVersion=="undefined")h.hasVersion=9;if(typeof h.wmode=="undefined")h.wmode="transparent";if(typeof h.allowFullScreen=="undefined")h.allowFullScreen="true";if(typeof h.allowScriptAccess=="undefined")h.allowScriptAccess="always";if(typeof h.bgcolor=="undefined")h.bgcolor="#ffffff";h.quality="high";h.align="middle";h.play="true";h.loop="true";h.scale="showall";h.devicefont="false";h.menu="true";container=h.id;h.id=null;if(h.flashvars)h.flashvars.currentDomen="";
else h.flashvars={currentDomen:""};(flash=$.flash.create(h))&&$("#"+container).html(flash);return flash}var popups_obj,popups_id,popups_type,popups_timeout,popup_color=".popups_blue";
$(document).ready(function(){$("a.popups_cross").mouseover(function(){$(this).addClass("hover_popups")}).mouseout(function(){$(this).removeClass("hover_popups")}).click(function(){close_popups("")});$(".tviggle").click(function(){var h=$(this),k=h.next().val().replace("XXX",h.height());h.hide().after(k)});$("#popups").hover(function(){window.clearTimeout(popups_timeout)},function(){popups_timeout=window.setTimeout(function(){close_popups("zone_out")},600)})});
function close_popups(h){if(h=="zone_out"&&popups_type=="touch"||h==""){$("#popups").hide();$("#popups").attr("class","popups_r10");$("#"+popups_id).append($("#popups .content_div").children());window.clearTimeout(popups_timeout);window.onresize=function(){}}}
function set_popups_position(h){var k=h.style.width||h.clientWidth||h.offsetWidth||0,u=h.style.height||h.clientHeight||h.offsetHeight||0,s=0,o=35,y=$("div#main"),z=y.offset();y=y.attr("clientWidth")||y.css("width")||y.attr("offsetWidth")||970;var I=0,K=$("#popups");I=K.outerWidth();s=K.outerHeight();k=Math.floor($(h).offset().left-35+parseInt(k)/2);s=Math.floor($(h).offset().top-parseInt(s)+parseInt(u)/2-20);h=parseInt(k)-parseInt(z.left)+parseInt(I);if(popup_color=="popups_yellow")o=15;if(h>y){I=
h-y;$("#popups .say_bottom").css({left:I+o});k-=I}else $("#popups .say_bottom").css({left:o});if($("#popups").hasClass("popups_yellow"))k+=25;K.css({left:k,top:s})}
function showPopups(h,k,u,s,o,y){o=y||false;$("#popups").css("display")!="none"&&close_popups("");popups_id=u;switch(k){case "blue":popup_color="popups_blue";break;case "red":popup_color="popups_blue";break;case "orange":popup_color="popups_orange";break;case "yellow":popup_color="popups_yellow";break;case "plantex":popup_color="popups_plantex";break;default:popup_color="popups_blue";break}switch(s){case "touch":popups_type="touch";$("#popups .popups_cross").hide();break;case "unclosed":popups_type=
"classic";$("#popups .popups_cross").hide();break;default:popups_type="classic";$("#popups .popups_cross").show();break}popup_color=="popups_yellow"&&$("#popups").attr("class","popups_r4");$("#popups").addClass(popup_color);$("#popups .content_div").append($("#"+popups_id).children());$("#popups").show();popups_obj=h;k=o?o:h;$(k).attr("hoverfunc")||$(k).hover(function(){window.clearTimeout(popups_timeout)},function(){popups_timeout=window.setTimeout(function(){close_popups("zone_out")},600)}).attr("hoverfunc",
true);set_popups_position(h);window.onresize=function(){set_popups_position(popups_obj)}}function create_popup(h){var k=jQuery("#"+h);if(k.length)return k;k=jQuery('<div id="'+h+'" class="hide"><div></div></div>');jQuery(document.body).append(k);return k}
function create_popup_ajax_loader(h,k,u){var s=jQuery("#"+h);if(s.length){jQuery("#ajax_loader_big").css({width:parseInt(k),height:parseInt(u)});return s}s=jQuery('<div id="'+h+'" class="hide"><div><div id="ajax_loader_big" class="ajax_loader_blue_big" style="width: '+parseInt(k)+"px; height: "+parseInt(u)+'px; top: 0; left: 0; background-position: 50% 50%;"></div></div></div>');jQuery(document.body).append(s);return s};

