/*
 * jQuery JavaScript Library v1.5.2
 * http://jquery.com/
 *
 * Copyright 2011, John Resig
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * Includes Sizzle.js
 * http://sizzlejs.com/
 * Copyright 2011, The Dojo Foundation
 * Released under the MIT, BSD, and GPL Licenses.
 *
 * Date: Thu Mar 31 15:28:23 2011 -0400
 */
(function(Aq,Ao){function AF(A){return Ak.isWindow(A)?A:A.nodeType===9?A.defaultView||A.parentWindow:!1
}function AL(B){if(!BN[B]){var A=Ak("<"+B+">").appendTo("body"),C=A.css("display");
A.remove();
if(C==="none"||C===""){C="block"
}BN[B]=C
}return BN[B]
}function AN(B,A){var C={};
Ak.each(AO.concat.apply([],AO.slice(0,A)),function(){C[this]=B
});
return C
}function B2(){try{return new Aq.ActiveXObject("Microsoft.XMLHTTP")
}catch(A){}}function BU(){try{return new Aq.XMLHttpRequest
}catch(A){}}function BW(){Ak(Aq).unload(function(){for(var A in BZ){BZ[A](0,1)
}})
}function Bi(N,M){N.dataFilter&&(M=N.dataFilter(M,N.dataType));
var L=N.dataTypes,K={},J,I,H=L.length,G,F=L[0],E,D,C,B,A;
for(J=1;
J<H;
J++){if(J===1){for(I in N.converters){typeof I==="string"&&(K[I.toLowerCase()]=N.converters[I])
}}E=F,F=L[J];
if(F==="*"){F=E
}else{if(E!=="*"&&E!==F){D=E+" "+F,C=K[D]||K["* "+F];
if(!C){A=Ao;
for(B in K){G=B.split(" ");
if(G[0]===E||G[0]==="*"){A=K[G[1]+" "+F];
if(A){B=K[B],B===!0?C=A:A===!0&&(C=B);
break
}}}}!C&&!A&&Ak.error("No conversion from "+D.replace(" "," to ")),C!==!0&&(M=C?C(M):A(B(M)))
}}}return M
}function Bj(J,I,H){var G=J.contents,F=J.dataTypes,E=J.responseFields,D,C,B,A;
for(C in E){C in H&&(I[E[C]]=H[C])
}while(F[0]==="*"){F.shift(),D===Ao&&(D=J.mimeType||I.getResponseHeader("content-type"))
}if(D){for(C in G){if(G[C]&&G[C].test(D)){F.unshift(C);
break
}}}if(F[0] in H){B=F[0]
}else{for(C in H){if(!F[0]||J.converters[C+" "+F[0]]){B=C;
break
}A||(A=C)
}B=B||A
}if(B){B!==F[0]&&F.unshift(B);
return H[B]
}}function Bk(B,A,E,D){if(Ak.isArray(A)&&A.length){Ak.each(A,function(F,G){E||Ap.test(B)?D(B,G):Bk(B+"["+(typeof G==="object"||Ak.isArray(G)?F:"")+"]",G,E,D)
})
}else{if(E||A==null||typeof A!=="object"){D(B,A)
}else{if(Ak.isArray(A)||Ak.isEmptyObject(A)){D(B,"")
}else{for(var C in A){Bk(B+"["+C+"]",A[C],E,D)
}}}}}function Bl(K,J,I,H,G,F){G=G||J.dataTypes[0],F=F||{},F[G]=!0;
var E=K[G],D=0,C=E?E.length:0,B=K===Br,A;
for(;
D<C&&(B||!A);
D++){A=E[D](J,I,H),typeof A==="string"&&(!B||F[A]?A=Ao:(J.dataTypes.unshift(A),A=Bl(K,J,I,H,A,F)))
}(B||!A)&&!F["*"]&&(A=Bl(K,J,I,H,"*",F));
return A
}function Bm(A){return function(B,I){typeof B!=="string"&&(I=B,B="*");
if(Ak.isFunction(I)){var H=B.toLowerCase().split(Bx),G=0,F=H.length,E,D,C;
for(;
G<F;
G++){E=H[G],C=/^\+/.test(E),C&&(E=E.substr(1)||"*"),D=A[E]=A[E]||[],D[C?"unshift":"push"](I)
}}}
}function At(B,A,E){var D=A==="width"?A0:Ay,C=A==="width"?B.offsetWidth:B.offsetHeight;
if(E==="border"){return C
}Ak.each(D,function(){E||(C-=parseFloat(Ak.css(B,"padding"+this))||0),E==="margin"?C+=parseFloat(Ak.css(B,"margin"+this))||0:C-=parseFloat(Ak.css(B,"border"+this+"Width"))||0
});
return C
}function BG(B,A){A.src?Ak.ajax({url:A.src,async:!1,dataType:"script"}):Ak.globalEval(A.text||A.textContent||A.innerHTML||""),A.parentNode&&A.parentNode.removeChild(A)
}function BI(A){return"getElementsByTagName" in A?A.getElementsByTagName("*"):"querySelectorAll" in A?A.querySelectorAll("*"):[]
}function BK(B,A){if(A.nodeType===1){var C=A.nodeName.toLowerCase();
A.clearAttributes(),A.mergeAttributes(B);
if(C==="object"){A.outerHTML=B.outerHTML
}else{if(C!=="input"||B.type!=="checkbox"&&B.type!=="radio"){if(C==="option"){A.selected=B.defaultSelected
}else{if(C==="input"||C==="textarea"){A.defaultValue=B.defaultValue
}}}else{B.checked&&(A.defaultChecked=A.checked=B.checked),A.value!==B.value&&(A.value=B.value)
}}A.removeAttribute(Ak.expando)
}}function As(I,H){if(H.nodeType===1&&Ak.hasData(I)){var G=Ak.expando,F=Ak.data(I),E=Ak.data(H,F);
if(F=F[G]){var D=F.events;
E=E[G]=Ak.extend({},F);
if(D){delete E.handle,E.events={};
for(var C in D){for(var B=0,A=D[C].length;
B<A;
B++){Ak.event.add(H,C+(D[C][B].namespace?".":"")+D[C][B].namespace,D[C][B],D[C][B].data)
}}}}}}function B1(B,A){return Ak.nodeName(B,"table")?B.getElementsByTagName("tbody")[0]||B.appendChild(B.ownerDocument.createElement("tbody")):B
}function BH(B,A,D){if(Ak.isFunction(A)){return Ak.grep(B,function(E,G){var F=!!A.call(E,G,E);
return F===D
})
}if(A.nodeType){return Ak.grep(B,function(E,F){return E===A===D
})
}if(typeof A==="string"){var C=Ak.grep(B,function(E){return E.nodeType===1
});
if(BP.test(A)){return Ak.filter(A,C,!D)
}A=Ak.filter(A,C)
}return Ak.grep(B,function(E,F){return Ak.inArray(E,A)>=0===D
})
}function BJ(A){return !A||!A.parentNode||A.parentNode.nodeType===11
}function BT(B,A){return(B&&B!=="*"?B+".":"")+A.replace(AJ,"`").replace(AH,"&")
}function BV(R){var Q,P,O,N,M,L,K,J,I,H,G,F,E,D=[],C=[],B=Ak._data(this,"events");
if(R.liveFired!==this&&B&&B.live&&!R.target.disabled&&(!R.button||R.type!=="click")){R.namespace&&(F=new RegExp("(^|\\.)"+R.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)")),R.liveFired=this;
var A=B.live.slice(0);
for(K=0;
K<A.length;
K++){M=A[K],M.origType.replace(AM,"")===R.type?C.push(M.selector):A.splice(K--,1)
}N=Ak(R.target).closest(C,R.currentTarget);
for(J=0,I=N.length;
J<I;
J++){G=N[J];
for(K=0;
K<A.length;
K++){M=A[K];
if(G.selector===M.selector&&(!F||F.test(M.namespace))&&!G.elem.disabled){L=G.elem,O=null;
if(M.preType==="mouseenter"||M.preType==="mouseleave"){R.type=M.preType,O=Ak(R.relatedTarget).closest(M.selector)[0]
}(!O||O!==L)&&D.push({elem:L,handleObj:M,level:G.level})
}}}for(J=0,I=D.length;
J<I;
J++){N=D[J];
if(P&&N.level>P){break
}R.currentTarget=N.elem,R.data=N.handleObj.data,R.handleObj=N.handleObj,E=N.handleObj.origHandler.apply(N.elem,arguments);
if(E===!1||R.isPropagationStopped()){P=N.level,E===!1&&(Q=!1);
if(R.isImmediatePropagationStopped()){break
}}}return Q
}}function Ba(A,D,C){var B=Ak.extend({},C[0]);
B.type=A,B.originalEvent={},B.liveFired=Ao,Ak.event.handle.call(D,B),B.isDefaultPrevented()&&C[0].preventDefault()
}function AB(){return !0
}function AC(){return !1
}function Aa(B){for(var A in B){if(A!=="toJSON"){return !1
}}return !0
}function Ac(A,D,C){if(C===Ao&&A.nodeType===1){C=A.getAttribute("data-"+D);
if(typeof C==="string"){try{C=C==="true"?!0:C==="false"?!1:C==="null"?null:Ak.isNaN(C)?Ae.test(C)?Ak.parseJSON(C):C:parseFloat(C)
}catch(B){}Ak.data(A,D,C)
}else{C=Ao
}}return C
}var Am=Aq.document,Ak=function(){function M(){if(!CA.isReady){try{Am.documentElement.doScroll("left")
}catch(A){setTimeout(M,1);
return 
}CA.ready()
}}var CA=function(B,A){return new CA.fn.init(B,A,B7)
},B9=Aq.jQuery,B8=Aq.$,B7,B6=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]+)$)/,B5=/\S/,B4=/^\s+/,B3=/\s+$/,c=/\d/,b=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,a=/^[\],:{}\s]*$/,Z=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,Y=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,W=/(?:^|:|,)(?:\s*\[)+/g,U=/(webkit)[ \/]([\w.]+)/,S=/(opera)(?:.*version)?[ \/]([\w.]+)/,Q=/(msie) ([\w.]+)/,O=/(mozilla)(?:.*? rv:([\w.]+))?/,L=navigator.userAgent,K,J,I,H=Object.prototype.toString,X=Object.prototype.hasOwnProperty,V=Array.prototype.push,T=Array.prototype.slice,R=String.prototype.trim,P=Array.prototype.indexOf,N={};
CA.fn=CA.prototype={constructor:CA,init:function(A,G,F){var E,D,C,B;
if(!A){return this
}if(A.nodeType){this.context=this[0]=A,this.length=1;
return this
}if(A==="body"&&!G&&Am.body){this.context=Am,this[0]=Am.body,this.selector="body",this.length=1;
return this
}if(typeof A==="string"){E=B6.exec(A);
if(!E||!E[1]&&G){return !G||G.jquery?(G||F).find(A):this.constructor(G).find(A)
}if(E[1]){G=G instanceof CA?G[0]:G,B=G?G.ownerDocument||G:Am,C=b.exec(A),C?CA.isPlainObject(G)?(A=[Am.createElement(C[1])],CA.fn.attr.call(A,G,!0)):A=[B.createElement(C[1])]:(C=CA.buildFragment([E[1]],[B]),A=(C.cacheable?CA.clone(C.fragment):C.fragment).childNodes);
return CA.merge(this,A)
}D=Am.getElementById(E[2]);
if(D&&D.parentNode){if(D.id!==E[2]){return F.find(A)
}this.length=1,this[0]=D
}this.context=Am,this.selector=A;
return this
}if(CA.isFunction(A)){return F.ready(A)
}A.selector!==Ao&&(this.selector=A.selector,this.context=A.context);
return CA.makeArray(A,this)
},selector:"",jquery:"1.5.2",length:0,size:function(){return this.length
},toArray:function(){return T.call(this,0)
},get:function(A){return A==null?this.toArray():A<0?this[this.length+A]:this[A]
},pushStack:function(B,A,D){var C=this.constructor();
CA.isArray(B)?V.apply(C,B):CA.merge(C,B),C.prevObject=this,C.context=this.context,A==="find"?C.selector=this.selector+(this.selector?" ":"")+D:A&&(C.selector=this.selector+"."+A+"("+D+")");
return C
},each:function(B,A){return CA.each(this,B,A)
},ready:function(A){CA.bindReady(),J.done(A);
return this
},eq:function(A){return A===-1?this.slice(A):this.slice(A,+A+1)
},first:function(){return this.eq(0)
},last:function(){return this.eq(-1)
},slice:function(){return this.pushStack(T.apply(this,arguments),"slice",T.call(arguments).join(","))
},map:function(A){return this.pushStack(CA.map(this,function(B,C){return A.call(B,C,B)
}))
},end:function(){return this.prevObject||this.constructor(null)
},push:V,sort:[].sort,splice:[].splice},CA.fn.init.prototype=CA.fn,CA.extend=CA.fn.extend=function(){var n,m,d,G,F,E,D=arguments[0]||{},C=1,B=arguments.length,A=!1;
typeof D==="boolean"&&(A=D,D=arguments[1]||{},C=2),typeof D!=="object"&&!CA.isFunction(D)&&(D={}),B===C&&(D=this,--C);
for(;
C<B;
C++){if((n=arguments[C])!=null){for(m in n){d=D[m],G=n[m];
if(D===G){continue
}A&&G&&(CA.isPlainObject(G)||(F=CA.isArray(G)))?(F?(F=!1,E=d&&CA.isArray(d)?d:[]):E=d&&CA.isPlainObject(d)?d:{},D[m]=CA.extend(A,E,G)):G!==Ao&&(D[m]=G)
}}}return D
},CA.extend({noConflict:function(A){Aq.$=B8,A&&(Aq.jQuery=B9);
return CA
},isReady:!1,readyWait:1,ready:function(A){A===!0&&CA.readyWait--;
if(!CA.readyWait||A!==!0&&!CA.isReady){if(!Am.body){return setTimeout(CA.ready,1)
}CA.isReady=!0;
if(A!==!0&&--CA.readyWait>0){return 
}J.resolveWith(Am,[CA]),CA.fn.trigger&&CA(Am).trigger("ready").unbind("ready")
}},bindReady:function(){if(!J){J=CA._Deferred();
if(Am.readyState==="complete"){return setTimeout(CA.ready,1)
}if(Am.addEventListener){Am.addEventListener("DOMContentLoaded",I,!1),Aq.addEventListener("load",CA.ready,!1)
}else{if(Am.attachEvent){Am.attachEvent("onreadystatechange",I),Aq.attachEvent("onload",CA.ready);
var A=!1;
try{A=Aq.frameElement==null
}catch(B){}Am.documentElement.doScroll&&A&&M()
}}}},isFunction:function(A){return CA.type(A)==="function"
},isArray:Array.isArray||function(A){return CA.type(A)==="array"
},isWindow:function(A){return A&&typeof A==="object"&&"setInterval" in A
},isNaN:function(A){return A==null||!c.test(A)||isNaN(A)
},type:function(A){return A==null?String(A):N[H.call(A)]||"object"
},isPlainObject:function(A){if(!A||CA.type(A)!=="object"||A.nodeType||CA.isWindow(A)){return !1
}if(A.constructor&&!X.call(A,"constructor")&&!X.call(A.constructor.prototype,"isPrototypeOf")){return !1
}var B;
for(B in A){}return B===Ao||X.call(A,B)
},isEmptyObject:function(B){for(var A in B){return !1
}return !0
},error:function(A){throw A
},parseJSON:function(A){if(typeof A!=="string"||!A){return null
}A=CA.trim(A);
if(a.test(A.replace(Z,"@").replace(Y,"]").replace(W,""))){return Aq.JSON&&Aq.JSON.parse?Aq.JSON.parse(A):(new Function("return "+A))()
}CA.error("Invalid JSON: "+A)
},parseXML:function(A,C,B){Aq.DOMParser?(B=new DOMParser,C=B.parseFromString(A,"text/xml")):(C=new ActiveXObject("Microsoft.XMLDOM"),C.async="false",C.loadXML(A)),B=C.documentElement,(!B||!B.nodeName||B.nodeName==="parsererror")&&CA.error("Invalid XML: "+A);
return C
},noop:function(){},globalEval:function(B){if(B&&B5.test(B)){var A=Am.head||Am.getElementsByTagName("head")[0]||Am.documentElement,C=Am.createElement("script");
CA.support.scriptEval()?C.appendChild(Am.createTextNode(B)):C.text=B,A.insertBefore(C,A.firstChild),A.removeChild(C)
}},nodeName:function(B,A){return B.nodeName&&B.nodeName.toUpperCase()===A.toUpperCase()
},each:function(A,d,G){var F,E=0,D=A.length,C=D===Ao||CA.isFunction(A);
if(G){if(C){for(F in A){if(d.apply(A[F],G)===!1){break
}}}else{for(;
E<D;
){if(d.apply(A[E++],G)===!1){break
}}}}else{if(C){for(F in A){if(d.call(A[F],F,A[F])===!1){break
}}}else{for(var B=A[0];
E<D&&d.call(B,E,B)!==!1;
B=A[++E]){}}}return A
},trim:R?function(A){return A==null?"":R.call(A)
}:function(A){return A==null?"":(A+"").replace(B4,"").replace(B3,"")
},makeArray:function(B,A){var D=A||[];
if(B!=null){var C=CA.type(B);
B.length==null||C==="string"||C==="function"||C==="regexp"||CA.isWindow(B)?V.call(D,B):CA.merge(D,B)
}return D
},inArray:function(B,A){if(A.indexOf){return A.indexOf(B)
}for(var D=0,C=A.length;
D<C;
D++){if(A[D]===B){return D
}}return -1
},merge:function(A,E){var D=A.length,C=0;
if(typeof E.length==="number"){for(var B=E.length;
C<B;
C++){A[D++]=E[C]
}}else{while(E[C]!==Ao){A[D++]=E[C++]
}}A.length=D;
return A
},grep:function(B,A,G){var F=[],E;
G=!!G;
for(var D=0,C=B.length;
D<C;
D++){E=!!A(B[D],D),G!==E&&F.push(B[D])
}return F
},map:function(B,A,G){var F=[],E;
for(var D=0,C=B.length;
D<C;
D++){E=A(B[D],D,G),E!=null&&(F[F.length]=E)
}return F.concat.apply([],F)
},guid:1,proxy:function(A,C,B){arguments.length===2&&(typeof C==="string"?(B=A,A=B[C],C=Ao):C&&!CA.isFunction(C)&&(B=C,C=Ao)),!C&&A&&(C=function(){return A.apply(B||this,arguments)
}),A&&(C.guid=A.guid=A.guid||C.guid||CA.guid++);
return C
},access:function(l,d,G,F,E,D){var C=l.length;
if(typeof d==="object"){for(var B in d){CA.access(l,B,d[B],F,E,G)
}return l
}if(G!==Ao){F=!D&&F&&CA.isFunction(G);
for(var A=0;
A<C;
A++){E(l[A],d,F?G.call(l[A],A,E(l[A],d)):G,D)
}return l
}return C?E(l[0],d):Ao
},now:function(){return(new Date).getTime()
},uaMatch:function(B){B=B.toLowerCase();
var A=U.exec(B)||S.exec(B)||Q.exec(B)||B.indexOf("compatible")<0&&O.exec(B)||[];
return{browser:A[1]||"",version:A[2]||"0"}
},sub:function(){function B(D,E){return new B.fn.init(D,E)
}CA.extend(!0,B,this),B.superclass=this,B.fn=B.prototype=this(),B.fn.constructor=B,B.subclass=this.subclass,B.fn.init=function A(D,E){E&&E instanceof CA&&!(E instanceof B)&&(E=B(E));
return CA.fn.init.call(this,D,E,C)
},B.fn.init.prototype=B.fn;
var C=B(Am);
return B
},browser:{}}),CA.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(B,A){N["[object "+A+"]"]=A.toLowerCase()
}),K=CA.uaMatch(L),K.browser&&(CA.browser[K.browser]=!0,CA.browser.version=K.version),CA.browser.webkit&&(CA.browser.safari=!0),P&&(CA.inArray=function(B,A){return P.call(A,B)
}),B5.test(" ")&&(B4=/^[\s\xA0]+/,B3=/[\s\xA0]+$/),B7=CA(Am),Am.addEventListener?I=function(){Am.removeEventListener("DOMContentLoaded",I,!1),CA.ready()
}:Am.attachEvent&&(I=function(){Am.readyState==="complete"&&(Am.detachEvent("onreadystatechange",I),CA.ready())
});
return CA
}(),Ai="then done fail isResolved isRejected promise".split(" "),Ag=[].slice;
Ak.extend({_Deferred:function(){var B=[],A,E,D,C={done:function(){if(!D){var K=arguments,J,I,H,G,F;
A&&(F=A,A=0);
for(J=0,I=K.length;
J<I;
J++){H=K[J],G=Ak.type(H),G==="array"?C.done.apply(C,H):G==="function"&&B.push(H)
}F&&C.resolveWith(F[0],F[1])
}return this
},resolveWith:function(G,F){if(!D&&!A&&!E){F=F||[],E=1;
try{while(B[0]){B.shift().apply(G,F)
}}finally{A=[G,F],E=0
}}return this
},resolve:function(){C.resolveWith(this,arguments);
return this
},isResolved:function(){return E||A
},cancel:function(){D=1,B=[];
return this
}};
return C
},Deferred:function(B){var A=Ak._Deferred(),D=Ak._Deferred(),C;
Ak.extend(A,{then:function(E,F){A.done(E).fail(F);
return this
},fail:D.done,rejectWith:D.resolveWith,reject:D.resolve,isRejected:D.isResolved,promise:function(E){if(E==null){if(C){return C
}C=E={}
}var F=Ai.length;
while(F--){E[Ai[F]]=A[Ai[F]]
}return E
}}),A.done(D.cancel).fail(A.cancel),delete A.cancel,B&&B.call(A,A);
return A
},when:function(B){function C(H){return function(I){A[H]=arguments.length>1?Ag.call(arguments,0):I,--E||D.resolveWith(D,Ag.call(A,0))
}
}var A=arguments,G=0,F=A.length,E=F,D=F<=1&&B&&Ak.isFunction(B.promise)?B:Ak.Deferred();
if(F>1){for(;
G<F;
G++){A[G]&&Ak.isFunction(A[G].promise)?A[G].promise().then(C(G),D.reject):--E
}E||D.resolveWith(D,A)
}else{D!==B&&D.resolveWith(D,F?[B]:[])
}return D.promise()
}}),function(){Ak.support={};
var K=Am.createElement("div");
K.style.display="none",K.innerHTML="   <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";
var J=K.getElementsByTagName("*"),I=K.getElementsByTagName("a")[0],H=Am.createElement("select"),G=H.appendChild(Am.createElement("option")),F=K.getElementsByTagName("input")[0];
if(J&&J.length&&I){Ak.support={leadingWhitespace:K.firstChild.nodeType===3,tbody:!K.getElementsByTagName("tbody").length,htmlSerialize:!!K.getElementsByTagName("link").length,style:/red/.test(I.getAttribute("style")),hrefNormalized:I.getAttribute("href")==="/a",opacity:/^0.55$/.test(I.style.opacity),cssFloat:!!I.style.cssFloat,checkOn:F.value==="on",optSelected:G.selected,deleteExpando:!0,optDisabled:!1,checkClone:!1,noCloneEvent:!0,noCloneChecked:!0,boxModel:null,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableHiddenOffsets:!0,reliableMarginRight:!0},F.checked=!0,Ak.support.noCloneChecked=F.cloneNode(!0).checked,H.disabled=!0,Ak.support.optDisabled=!G.disabled;
var E=null;
Ak.support.scriptEval=function(){if(E===null){var L=Am.documentElement,O=Am.createElement("script"),N="script"+Ak.now();
try{O.appendChild(Am.createTextNode("window."+N+"=1;"))
}catch(M){}L.insertBefore(O,L.firstChild),Aq[N]?(E=!0,delete Aq[N]):E=!1,L.removeChild(O)
}return E
};
try{delete K.test
}catch(D){Ak.support.deleteExpando=!1
}!K.addEventListener&&K.attachEvent&&K.fireEvent&&(K.attachEvent("onclick",function C(){Ak.support.noCloneEvent=!1,K.detachEvent("onclick",C)
}),K.cloneNode(!0).fireEvent("onclick")),K=Am.createElement("div"),K.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";
var B=Am.createDocumentFragment();
B.appendChild(K.firstChild),Ak.support.checkClone=B.cloneNode(!0).cloneNode(!0).lastChild.checked,Ak(function(){var M=Am.createElement("div"),L=Am.getElementsByTagName("body")[0];
if(L){M.style.width=M.style.paddingLeft="1px",L.appendChild(M),Ak.boxModel=Ak.support.boxModel=M.offsetWidth===2,"zoom" in M.style&&(M.style.display="inline",M.style.zoom=1,Ak.support.inlineBlockNeedsLayout=M.offsetWidth===2,M.style.display="",M.innerHTML="<div style='width:4px;'></div>",Ak.support.shrinkWrapBlocks=M.offsetWidth!==2),M.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>";
var N=M.getElementsByTagName("td");
Ak.support.reliableHiddenOffsets=N[0].offsetHeight===0,N[0].style.display="",N[1].style.display="none",Ak.support.reliableHiddenOffsets=Ak.support.reliableHiddenOffsets&&N[0].offsetHeight===0,M.innerHTML="",Am.defaultView&&Am.defaultView.getComputedStyle&&(M.style.width="1px",M.style.marginRight="0",Ak.support.reliableMarginRight=(parseInt(Am.defaultView.getComputedStyle(M,null).marginRight,10)||0)===0),L.removeChild(M).style.display="none",M=N=null
}});
var A=function(M){var L=Am.createElement("div");
M="on"+M;
if(!L.attachEvent){return !0
}var N=M in L;
N||(L.setAttribute(M,"return;"),N=typeof L[M]==="function");
return N
};
Ak.support.submitBubbles=A("submit"),Ak.support.changeBubbles=A("change"),K=J=I=null
}}();
var Ae=/^(?:\{.*\}|\[.*\])$/;
Ak.extend({cache:{},uuid:0,expando:"jQuery"+(Ak.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(A){A=A.nodeType?Ak.cache[A[Ak.expando]]:A[Ak.expando];
return !!A&&!Aa(A)
},data:function(J,I,H,G){if(Ak.acceptData(J)){var F=Ak.expando,E=typeof I==="string",D,C=J.nodeType,B=C?Ak.cache:J,A=C?J[Ak.expando]:J[Ak.expando]&&Ak.expando;
if((!A||G&&A&&!B[A][F])&&E&&H===Ao){return 
}A||(C?J[Ak.expando]=A=++Ak.uuid:A=Ak.expando),B[A]||(B[A]={},C||(B[A].toJSON=Ak.noop));
if(typeof I==="object"||typeof I==="function"){G?B[A][F]=Ak.extend(B[A][F],I):B[A]=Ak.extend(B[A],I)
}D=B[A],G&&(D[F]||(D[F]={}),D=D[F]),H!==Ao&&(D[I]=H);
if(I==="events"&&!D[I]){return D[F]&&D[F].events
}return E?D[I]:D
}},removeData:function(I,H,G){if(Ak.acceptData(I)){var F=Ak.expando,E=I.nodeType,D=E?Ak.cache:I,C=E?I[Ak.expando]:Ak.expando;
if(!D[C]){return 
}if(H){var B=G?D[C][F]:D[C];
if(B){delete B[H];
if(!Aa(B)){return 
}}}if(G){delete D[C][F];
if(!Aa(D[C])){return 
}}var A=D[C][F];
Ak.support.deleteExpando||D!=Aq?delete D[C]:D[C]=null,A?(D[C]={},E||(D[C].toJSON=Ak.noop),D[C][F]=A):E&&(Ak.support.deleteExpando?delete I[Ak.expando]:I.removeAttribute?I.removeAttribute(Ak.expando):I[Ak.expando]=null)
}},_data:function(B,A,C){return Ak.data(B,A,C,!0)
},acceptData:function(B){if(B.nodeName){var A=Ak.noData[B.nodeName.toLowerCase()];
if(A){return A!==!0&&B.getAttribute("classid")===A
}}return !0
}}),Ak.fn.extend({data:function(A,H){var G=null;
if(typeof A==="undefined"){if(this.length){G=Ak.data(this[0]);
if(this[0].nodeType===1){var F=this[0].attributes,E;
for(var D=0,C=F.length;
D<C;
D++){E=F[D].name,E.indexOf("data-")===0&&(E=E.substr(5),Ac(this[0],E,G[E]))
}}}return G
}if(typeof A==="object"){return this.each(function(){Ak.data(this,A)
})
}var B=A.split(".");
B[1]=B[1]?"."+B[1]:"";
if(H===Ao){G=this.triggerHandler("getData"+B[1]+"!",[B[0]]),G===Ao&&this.length&&(G=Ak.data(this[0],A),G=Ac(this[0],A,G));
return G===Ao&&B[1]?this.data(B[0]):G
}return this.each(function(){var I=Ak(this),J=[B[0],H];
I.triggerHandler("setData"+B[1]+"!",J),Ak.data(this,A,H),I.triggerHandler("changeData"+B[1]+"!",J)
})
},removeData:function(A){return this.each(function(){Ak.removeData(this,A)
})
}}),Ak.extend({queue:function(B,A,D){if(B){A=(A||"fx")+"queue";
var C=Ak._data(B,A);
if(!D){return C||[]
}!C||Ak.isArray(D)?C=Ak._data(B,A,Ak.makeArray(D)):C.push(D);
return C
}},dequeue:function(B,A){A=A||"fx";
var D=Ak.queue(B,A),C=D.shift();
C==="inprogress"&&(C=D.shift()),C&&(A==="fx"&&D.unshift("inprogress"),C.call(B,function(){Ak.dequeue(B,A)
})),D.length||Ak.removeData(B,A+"queue",!0)
}}),Ak.fn.extend({queue:function(A,B){typeof A!=="string"&&(B=A,A="fx");
if(B===Ao){return Ak.queue(this[0],A)
}return this.each(function(C){var D=Ak.queue(this,A,B);
A==="fx"&&D[0]!=="inprogress"&&Ak.dequeue(this,A)
})
},dequeue:function(A){return this.each(function(){Ak.dequeue(this,A)
})
},delay:function(B,A){B=Ak.fx?Ak.fx.speeds[B]||B:B,A=A||"fx";
return this.queue(A,function(){var C=this;
setTimeout(function(){Ak.dequeue(C,A)
},B)
})
},clearQueue:function(A){return this.queue(A||"fx",[])
}});
var AZ=/[\n\t\r]/g,AY=/\s+/,AX=/\r/g,AW=/^(?:href|src|style)$/,AV=/^(?:button|input)$/i,AT=/^(?:button|input|object|select|textarea)$/i,AR=/^a(?:rea)?$/i,AP=/^(?:radio|checkbox)$/i;
Ak.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"},Ak.fn.extend({attr:function(B,A){return Ak.access(this,B,A,!0,Ak.attr)
},removeAttr:function(B,A){return this.each(function(){Ak.attr(this,B,""),this.nodeType===1&&this.removeAttribute(B)
})
},addClass:function(I){if(Ak.isFunction(I)){return this.each(function(J){var K=Ak(this);
K.addClass(I.call(this,J,K.attr("class")))
})
}if(I&&typeof I==="string"){var H=(I||"").split(AY);
for(var G=0,F=this.length;
G<F;
G++){var E=this[G];
if(E.nodeType===1){if(E.className){var D=" "+E.className+" ",C=E.className;
for(var B=0,A=H.length;
B<A;
B++){D.indexOf(" "+H[B]+" ")<0&&(C+=" "+H[B])
}E.className=Ak.trim(C)
}else{E.className=I
}}}}return this
},removeClass:function(B){if(Ak.isFunction(B)){return this.each(function(I){var J=Ak(this);
J.removeClass(B.call(this,I,J.attr("class")))
})
}if(B&&typeof B==="string"||B===Ao){var H=(B||"").split(AY);
for(var G=0,F=this.length;
G<F;
G++){var E=this[G];
if(E.nodeType===1&&E.className){if(B){var D=(" "+E.className+" ").replace(AZ," ");
for(var C=0,A=H.length;
C<A;
C++){D=D.replace(" "+H[C]+" "," ")
}E.className=Ak.trim(D)
}else{E.className=""
}}}}return this
},toggleClass:function(B,A){var D=typeof B,C=typeof A==="boolean";
if(Ak.isFunction(B)){return this.each(function(F){var E=Ak(this);
E.toggleClass(B.call(this,F,E.attr("class"),A),A)
})
}return this.each(function(){if(D==="string"){var I,H=0,G=Ak(this),F=A,E=B.split(AY);
while(I=E[H++]){F=C?F:!G.hasClass(I),G[F?"addClass":"removeClass"](I)
}}else{if(D==="undefined"||D==="boolean"){this.className&&Ak._data(this,"__className__",this.className),this.className=this.className||B===!1?"":Ak._data(this,"__className__")||""
}}})
},hasClass:function(B){var A=" "+B+" ";
for(var D=0,C=this.length;
D<C;
D++){if((" "+this[D].className+" ").replace(AZ," ").indexOf(A)>-1){return !0
}}return !1
},val:function(K){if(!arguments.length){var J=this[0];
if(J){if(Ak.nodeName(J,"option")){var I=J.attributes.value;
return !I||I.specified?J.value:J.text
}if(Ak.nodeName(J,"select")){var H=J.selectedIndex,G=[],F=J.options,E=J.type==="select-one";
if(H<0){return null
}for(var D=E?H:0,C=E?H+1:F.length;
D<C;
D++){var B=F[D];
if(B.selected&&(Ak.support.optDisabled?!B.disabled:B.getAttribute("disabled")===null)&&(!B.parentNode.disabled||!Ak.nodeName(B.parentNode,"optgroup"))){K=Ak(B).val();
if(E){return K
}G.push(K)
}}if(E&&!G.length&&F.length){return Ak(F[H]).val()
}return G
}if(AP.test(J.type)&&!Ak.support.checkOn){return J.getAttribute("value")===null?"on":J.value
}return(J.value||"").replace(AX,"")
}return Ao
}var A=Ak.isFunction(K);
return this.each(function(L){var O=Ak(this),N=K;
if(this.nodeType===1){A&&(N=K.call(this,L,O.val())),N==null?N="":typeof N==="number"?N+="":Ak.isArray(N)&&(N=Ak.map(N,function(P){return P==null?"":P+""
}));
if(Ak.isArray(N)&&AP.test(this.type)){this.checked=Ak.inArray(O.val(),N)>=0
}else{if(Ak.nodeName(this,"select")){var M=Ak.makeArray(N);
Ak("option",this).each(function(){this.selected=Ak.inArray(Ak(this).val(),M)>=0
}),M.length||(this.selectedIndex=-1)
}else{this.value=N
}}}})
}}),Ak.extend({attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(J,I,H,G){if(!J||J.nodeType===3||J.nodeType===8||J.nodeType===2){return Ao
}if(G&&I in Ak.attrFn){return Ak(J)[I](H)
}var F=J.nodeType!==1||!Ak.isXMLDoc(J),E=H!==Ao;
I=F&&Ak.props[I]||I;
if(J.nodeType===1){var D=AW.test(I);
if(I==="selected"&&!Ak.support.optSelected){var C=J.parentNode;
C&&(C.selectedIndex,C.parentNode&&C.parentNode.selectedIndex)
}if((I in J||J[I]!==Ao)&&F&&!D){E&&(I==="type"&&AV.test(J.nodeName)&&J.parentNode&&Ak.error("type property can't be changed"),H===null?J.nodeType===1&&J.removeAttribute(I):J[I]=H);
if(Ak.nodeName(J,"form")&&J.getAttributeNode(I)){return J.getAttributeNode(I).nodeValue
}if(I==="tabIndex"){var B=J.getAttributeNode("tabIndex");
return B&&B.specified?B.value:AT.test(J.nodeName)||AR.test(J.nodeName)&&J.href?0:Ao
}return J[I]
}if(!Ak.support.style&&F&&I==="style"){E&&(J.style.cssText=""+H);
return J.style.cssText
}E&&J.setAttribute(I,""+H);
if(!J.attributes[I]&&(J.hasAttribute&&!J.hasAttribute(I))){return Ao
}var A=!Ak.support.hrefNormalized&&F&&D?J.getAttribute(I,2):J.getAttribute(I);
return A===null?Ao:A
}E&&(J[I]=H);
return J[I]
}});
var AM=/\.(.*)$/,AK=/^(?:textarea|input|select)$/i,AJ=/\./g,AH=/ /g,AE=/[^\w\s.|`]/g,AD=function(A){return A.replace(AE,"\\$&")
};
Ak.event={add:function(O,N,M,L){if(O.nodeType!==3&&O.nodeType!==8){try{Ak.isWindow(O)&&(O!==Aq&&!O.frameElement)&&(O=Aq)
}catch(K){}if(M===!1){M=AC
}else{if(!M){return 
}}var J,I;
M.handler&&(J=M,M=J.handler),M.guid||(M.guid=Ak.guid++);
var H=Ak._data(O);
if(!H){return 
}var G=H.events,F=H.handle;
G||(H.events=G={}),F||(H.handle=F=function(P){return typeof Ak!=="undefined"&&Ak.event.triggered!==P.type?Ak.event.handle.apply(F.elem,arguments):Ao
}),F.elem=O,N=N.split(" ");
var E,D=0,C;
while(E=N[D++]){I=J?Ak.extend({},J):{handler:M,data:L},E.indexOf(".")>-1?(C=E.split("."),E=C.shift(),I.namespace=C.slice(0).sort().join(".")):(C=[],I.namespace=""),I.type=E,I.guid||(I.guid=M.guid);
var B=G[E],A=Ak.event.special[E]||{};
if(!B){B=G[E]=[];
if(!A.setup||A.setup.call(O,L,C,F)===!1){O.addEventListener?O.addEventListener(E,F,!1):O.attachEvent&&O.attachEvent("on"+E,F)
}}A.add&&(A.add.call(O,I),I.handler.guid||(I.handler.guid=M.guid)),B.push(I),Ak.event.global[E]=!0
}O=null
}},global:{},remove:function(S,R,Q,P){if(S.nodeType!==3&&S.nodeType!==8){Q===!1&&(Q=AC);
var O,N,M,L,K=0,J,I,H,G,F,E,D,C=Ak.hasData(S)&&Ak._data(S),B=C&&C.events;
if(!C||!B){return 
}R&&R.type&&(Q=R.handler,R=R.type);
if(!R||typeof R==="string"&&R.charAt(0)==="."){R=R||"";
for(N in B){Ak.event.remove(S,N+R)
}return 
}R=R.split(" ");
while(N=R[K++]){D=N,E=null,J=N.indexOf(".")<0,I=[],J||(I=N.split("."),N=I.shift(),H=new RegExp("(^|\\.)"+Ak.map(I.slice(0).sort(),AD).join("\\.(?:.*\\.)?")+"(\\.|$)")),F=B[N];
if(!F){continue
}if(!Q){for(L=0;
L<F.length;
L++){E=F[L];
if(J||H.test(E.namespace)){Ak.event.remove(S,D,E.handler,L),F.splice(L--,1)
}}continue
}G=Ak.event.special[N]||{};
for(L=P||0;
L<F.length;
L++){E=F[L];
if(Q.guid===E.guid){if(J||H.test(E.namespace)){P==null&&F.splice(L--,1),G.remove&&G.remove.call(S,E)
}if(P!=null){break
}}}if(F.length===0||P!=null&&F.length===1){(!G.teardown||G.teardown.call(S,I)===!1)&&Ak.removeEvent(S,N,C.handle),O=null,delete B[N]
}}if(Ak.isEmptyObject(B)){var A=C.handle;
A&&(A.elem=null),delete C.events,delete C.handle,Ak.isEmptyObject(C)&&Ak.removeData(S,Ao,!0)
}}},trigger:function(N,M,L){var K=N.type||N,J=arguments[3];
if(!J){N=typeof N==="object"?N[Ak.expando]?N:Ak.extend(Ak.Event(K),N):Ak.Event(K),K.indexOf("!")>=0&&(N.type=K=K.slice(0,-1),N.exclusive=!0),L||(N.stopPropagation(),Ak.event.global[K]&&Ak.each(Ak.cache,function(){var O=Ak.expando,P=this[O];
P&&P.events&&P.events[K]&&Ak.event.trigger(N,M,P.handle.elem)
}));
if(!L||L.nodeType===3||L.nodeType===8){return Ao
}N.result=Ao,N.target=L,M=Ak.makeArray(M),M.unshift(N)
}N.currentTarget=L;
var I=Ak._data(L,"handle");
I&&I.apply(L,M);
var H=L.parentNode||L.ownerDocument;
try{L&&L.nodeName&&Ak.noData[L.nodeName.toLowerCase()]||L["on"+K]&&L["on"+K].apply(L,M)===!1&&(N.result=!1,N.preventDefault())
}catch(G){}if(!N.isPropagationStopped()&&H){Ak.event.trigger(N,M,H,!0)
}else{if(!N.isDefaultPrevented()){var F,E=N.target,D=K.replace(AM,""),C=Ak.nodeName(E,"a")&&D==="click",B=Ak.event.special[D]||{};
if((!B._default||B._default.call(L,N)===!1)&&!C&&!(E&&E.nodeName&&Ak.noData[E.nodeName.toLowerCase()])){try{E[D]&&(F=E["on"+D],F&&(E["on"+D]=null),Ak.event.triggered=N.type,E[D]())
}catch(A){}F&&(E["on"+D]=F),Ak.event.triggered=Ao
}}}},handle:function(L){var K,J,I,H,G,F=[],E=Ak.makeArray(arguments);
L=E[0]=Ak.event.fix(L||Aq.event),L.currentTarget=this,K=L.type.indexOf(".")<0&&!L.exclusive,K||(I=L.type.split("."),L.type=I.shift(),F=I.slice(0).sort(),H=new RegExp("(^|\\.)"+F.join("\\.(?:.*\\.)?")+"(\\.|$)")),L.namespace=L.namespace||F.join("."),G=Ak._data(this,"events"),J=(G||{})[L.type];
if(G&&J){J=J.slice(0);
for(var D=0,C=J.length;
D<C;
D++){var B=J[D];
if(K||H.test(B.namespace)){L.handler=B.handler,L.data=B.data,L.handleObj=B;
var A=B.handler.apply(this,E);
A!==Ao&&(L.result=A,A===!1&&(L.preventDefault(),L.stopPropagation()));
if(L.isImmediatePropagationStopped()){break
}}}}return L.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[Ak.expando]){return A
}var F=A;
A=Ak.Event(F);
for(var E=this.props.length,D;
E;
){D=this.props[--E],A[D]=F[D]
}A.target||(A.target=A.srcElement||Am),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){var C=Am.documentElement,B=Am.body;
A.pageX=A.clientX+(C&&C.scrollLeft||B&&B.scrollLeft||0)-(C&&C.clientLeft||B&&B.clientLeft||0),A.pageY=A.clientY+(C&&C.scrollTop||B&&B.scrollTop||0)-(C&&C.clientTop||B&&B.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!==Ao&&(A.which=A.button&1?1:A.button&2?3:A.button&4?2:0);
return A
},guid:100000000,proxy:Ak.proxy,special:{ready:{setup:Ak.bindReady,teardown:Ak.noop},live:{add:function(A){Ak.event.add(this,BT(A.origType,A.selector),Ak.extend({},A,{handler:BV,guid:A.handler.guid}))
},remove:function(A){Ak.event.remove(this,BT(A.origType,A.selector),A)
}},beforeunload:{setup:function(B,A,C){Ak.isWindow(this)&&(this.onbeforeunload=C)
},teardown:function(B,A){this.onbeforeunload===A&&(this.onbeforeunload=null)
}}}},Ak.removeEvent=Am.removeEventListener?function(B,A,C){B.removeEventListener&&B.removeEventListener(A,C,!1)
}:function(B,A,C){B.detachEvent&&B.detachEvent("on"+A,C)
},Ak.Event=function(A){if(!this.preventDefault){return new Ak.Event(A)
}A&&A.type?(this.originalEvent=A,this.type=A.type,this.isDefaultPrevented=A.defaultPrevented||A.returnValue===!1||A.getPreventDefault&&A.getPreventDefault()?AB:AC):this.type=A,this.timeStamp=Ak.now(),this[Ak.expando]=!0
},Ak.Event.prototype={preventDefault:function(){this.isDefaultPrevented=AB;
var A=this.originalEvent;
A&&(A.preventDefault?A.preventDefault():A.returnValue=!1)
},stopPropagation:function(){this.isPropagationStopped=AB;
var A=this.originalEvent;
A&&(A.stopPropagation&&A.stopPropagation(),A.cancelBubble=!0)
},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=AB,this.stopPropagation()
},isDefaultPrevented:AC,isPropagationStopped:AC,isImmediatePropagationStopped:AC};
var AA=function(B){var A=B.relatedTarget;
try{if(A&&A!==Am&&!A.parentNode){return 
}while(A&&A!==this){A=A.parentNode
}A!==this&&(B.type=B.data,Ak.event.handle.apply(this,arguments))
}catch(C){}},Bh=function(A){A.type=A.data,Ak.event.handle.apply(this,arguments)
};
Ak.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(B,A){Ak.event.special[B]={setup:function(C){Ak.event.add(this,A,C&&C.selector?Bh:AA,B)
},teardown:function(C){Ak.event.remove(this,A,C&&C.selector?Bh:AA)
}}
}),Ak.support.submitBubbles||(Ak.event.special.submit={setup:function(B,A){if(this.nodeName&&this.nodeName.toLowerCase()!=="form"){Ak.event.add(this,"click.specialSubmit",function(D){var C=D.target,E=C.type;
(E==="submit"||E==="image")&&Ak(C).closest("form").length&&Ba("submit",this,arguments)
}),Ak.event.add(this,"keypress.specialSubmit",function(D){var C=D.target,E=C.type;
(E==="text"||E==="password")&&Ak(C).closest("form").length&&D.keyCode===13&&Ba("submit",this,arguments)
})
}else{return !1
}},teardown:function(A){Ak.event.remove(this,".specialSubmit")
}});
if(!Ak.support.changeBubbles){var Bg,Be=function(B){var A=B.type,C=B.value;
A==="radio"||A==="checkbox"?C=B.checked:A==="select-multiple"?C=B.selectedIndex>-1?Ak.map(B.options,function(D){return D.selected
}).join("-"):"":B.nodeName.toLowerCase()==="select"&&(C=B.selectedIndex);
return C
},Bc=function Bc(A){var D=A.target,C,B;
if(AK.test(D.nodeName)&&!D.readOnly){C=Ak._data(D,"_change_data"),B=Be(D),(A.type!=="focusout"||D.type!=="radio")&&Ak._data(D,"_change_data",B);
if(C===Ao||B===C){return 
}if(C!=null||B){A.type="change",A.liveFired=Ao,Ak.event.trigger(A,arguments[1],D)
}}};
Ak.event.special.change={filters:{focusout:Bc,beforedeactivate:Bc,click:function(B){var A=B.target,C=A.type;
(C==="radio"||C==="checkbox"||A.nodeName.toLowerCase()==="select")&&Bc.call(this,B)
},keydown:function(B){var A=B.target,C=A.type;
(B.keyCode===13&&A.nodeName.toLowerCase()!=="textarea"||B.keyCode===32&&(C==="checkbox"||C==="radio")||C==="select-multiple")&&Bc.call(this,B)
},beforeactivate:function(B){var A=B.target;
Ak._data(A,"_change_data",Be(A))
}},setup:function(B,A){if(this.type==="file"){return !1
}for(var C in Bg){Ak.event.add(this,C+".specialChange",Bg[C])
}return AK.test(this.nodeName)
},teardown:function(A){Ak.event.remove(this,".specialChange");
return AK.test(this.nodeName)
}},Bg=Ak.event.special.change.filters,Bg.focus=Bg.beforeactivate
}Am.addEventListener&&Ak.each({focus:"focusin",blur:"focusout"},function(B,A){function C(E){var F=Ak.event.fix(E);
F.type=A,F.originalEvent={},Ak.event.trigger(F,null,F.target),F.isDefaultPrevented()&&E.preventDefault()
}var D=0;
Ak.event.special[A]={setup:function(){D++===0&&Am.addEventListener(B,C,!0)
},teardown:function(){--D===0&&Am.removeEventListener(B,C,!0)
}}
}),Ak.each(["bind","one"],function(A,B){Ak.fn[B]=function(C,I,H){if(typeof C==="object"){for(var G in C){this[B](G,I,C[G],H)
}return this
}if(Ak.isFunction(I)||I===!1){H=I,I=Ao
}var F=B==="one"?Ak.proxy(H,function(J){Ak(this).unbind(J,F);
return H.apply(this,arguments)
}):H;
if(C==="unload"&&B!=="one"){this.one(C,I,H)
}else{for(var E=0,D=this.length;
E<D;
E++){Ak.event.add(this[E],C,F,I)
}}return this
}
}),Ak.fn.extend({unbind:function(B,A){if(typeof B!=="object"||B.preventDefault){for(var D=0,C=this.length;
D<C;
D++){Ak.event.remove(this[D],B,A)
}}else{for(var E in B){this.unbind(E,B[E])
}}return this
},delegate:function(B,A,D,C){return this.live(A,D,C,B)
},undelegate:function(B,A,C){return arguments.length===0?this.unbind("live"):this.die(A,null,C,B)
},trigger:function(B,A){return this.each(function(){Ak.event.trigger(B,A,this)
})
},triggerHandler:function(B,A){if(this[0]){var C=Ak.Event(B);
C.preventDefault(),C.stopPropagation(),Ak.event.trigger(C,A,this[0]);
return C.result
}},toggle:function(B){var A=arguments,C=1;
while(C<A.length){Ak.proxy(B,A[C++])
}return this.click(Ak.proxy(B,function(E){var D=(Ak._data(this,"lastToggle"+B.guid)||0)%C;
Ak._data(this,"lastToggle"+B.guid,D+1),E.preventDefault();
return A[D].apply(this,arguments)||!1
}))
},hover:function(B,A){return this.mouseenter(B).mouseleave(A||B)
}});
var BY={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};
Ak.each(["live","die"],function(A,B){Ak.fn[B]=function(P,O,N,M){var L,K=0,J,I,H,G=M||this.selector,F=M?this:Ak(this.context);
if(typeof P==="object"&&!P.preventDefault){for(var E in P){F[B](E,O,P[E],G)
}return this
}Ak.isFunction(O)&&(N=O,O=Ao),P=(P||"").split(" ");
while((L=P[K++])!=null){J=AM.exec(L),I="",J&&(I=J[0],L=L.replace(AM,""));
if(L==="hover"){P.push("mouseenter"+I,"mouseleave"+I);
continue
}H=L,L==="focus"||L==="blur"?(P.push(BY[L]+I),L=L+I):L=(BY[L]||L)+I;
if(B==="live"){for(var D=0,C=F.length;
D<C;
D++){Ak.event.add(F[D],"live."+BT(L,G),{data:O,selector:G,handler:N,origType:L,origHandler:N,preType:H})
}}else{F.unbind("live."+BT(L,G),N)
}}return this
}
}),Ak.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(B,A){Ak.fn[A]=function(C,D){D==null&&(D=C,C=null);
return arguments.length>0?this.bind(A,C,D):this.trigger(A)
},Ak.attrFn&&(Ak.attrFn[A]=!0)
}),function(){function B(m,l,k,Z,Y,X){for(var W=0,V=Z.length;
W<V;
W++){var U=Z[W];
if(U){var T=!1;
U=U[m];
while(U){if(U.sizcache===k){T=Z[U.sizset];
break
}if(U.nodeType===1){X||(U.sizcache=k,U.sizset=W);
if(typeof l!=="string"){if(U===l){T=!0;
break
}}else{if(L.filter(l,[U]).length>0){T=U;
break
}}}U=U[m]
}Z[W]=T
}}}function C(m,l,k,Z,Y,X){for(var W=0,V=Z.length;
W<V;
W++){var U=Z[W];
if(U){var T=!1;
U=U[m];
while(U){if(U.sizcache===k){T=Z[U.sizset];
break
}U.nodeType===1&&!X&&(U.sizcache=k,U.sizset=W);
if(U.nodeName.toLowerCase()===l){T=U;
break
}U=U[m]
}Z[W]=T
}}}var S=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,R=0,Q=Object.prototype.toString,P=!1,O=!0,N=/\\/g,M=/\W/;
[0,0].sort(function(){O=!1;
return 0
});
var L=function(l,f,c,a){c=c||[],f=f||Am;
var Z=f;
if(f.nodeType!==1&&f.nodeType!==9){return[]
}if(!l||typeof l!=="string"){return c
}var Y,X,W,V,U,T,B3,z,v=!0,p=L.isXML(f),m=[],k=l;
do{S.exec(""),Y=S.exec(k);
if(Y){k=Y[3],m.push(Y[1]);
if(Y[2]){V=Y[3];
break
}}}while(Y);
if(m.length>1&&J.exec(l)){if(m.length===2&&K.relative[m[0]]){X=A(m[0]+m[1],f)
}else{X=K.relative[m[0]]?[f]:L(m.shift(),f);
while(m.length){l=m.shift(),K.relative[l]&&(l+=m.shift()),X=A(l,X)
}}}else{!a&&m.length>1&&f.nodeType===9&&!p&&K.match.ID.test(m[0])&&!K.match.ID.test(m[m.length-1])&&(U=L.find(m.shift(),f,p),f=U.expr?L.filter(U.expr,U.set)[0]:U.set[0]);
if(f){U=a?{expr:m.pop(),set:G(a)}:L.find(m.pop(),m.length===1&&(m[0]==="~"||m[0]==="+")&&f.parentNode?f.parentNode:f,p),X=U.expr?L.filter(U.expr,U.set):U.set,m.length>0?W=G(X):v=!1;
while(m.length){T=m.pop(),B3=T,K.relative[T]?B3=m.pop():T="",B3==null&&(B3=f),K.relative[T](W,B3,p)
}}else{W=m=[]
}}W||(W=X),W||L.error(T||l);
if(Q.call(W)==="[object Array]"){if(v){if(f&&f.nodeType===1){for(z=0;
W[z]!=null;
z++){W[z]&&(W[z]===!0||W[z].nodeType===1&&L.contains(f,W[z]))&&c.push(X[z])
}}else{for(z=0;
W[z]!=null;
z++){W[z]&&W[z].nodeType===1&&c.push(X[z])
}}}else{c.push.apply(c,W)
}}else{G(W,c)
}V&&(L(V,Z,c,a),L.uniqueSort(c));
return c
};
L.uniqueSort=function(U){if(E){P=O,U.sort(E);
if(P){for(var T=1;
T<U.length;
T++){U[T]===U[T-1]&&U.splice(T--,1)
}}}return U
},L.matches=function(U,T){return L(U,null,null,T)
},L.matchesSelector=function(U,T){return L(T,null,null,[U]).length>0
},L.find=function(l,k,Z){var Y;
if(!l){return[]
}for(var X=0,W=K.order.length;
X<W;
X++){var V,U=K.order[X];
if(V=K.leftMatch[U].exec(l)){var T=V[1];
V.splice(1,1);
if(T.substr(T.length-1)!=="\\"){V[1]=(V[1]||"").replace(N,""),Y=K.find[U](V,k,Z);
if(Y!=null){l=l.replace(K.match[U],"");
break
}}}}Y||(Y=typeof k.getElementsByTagName!=="undefined"?k.getElementsByTagName("*"):[]);
return{set:Y,expr:l}
},L.filter=function(y,x,w,v){var u,l,k=y,b=[],Z=x,Y=x&&x[0]&&L.isXML(x[0]);
while(y&&x.length){for(var X in K.filter){if((u=K.leftMatch[X].exec(y))!=null&&u[2]){var W,V,U=K.filter[X],T=u[1];
l=!1,u.splice(1,1);
if(T.substr(T.length-1)==="\\"){continue
}Z===b&&(b=[]);
if(K.preFilter[X]){u=K.preFilter[X](u,Z,w,b,v,Y);
if(u){if(u===!0){continue
}}else{l=W=!0
}}if(u){for(var B3=0;
(V=Z[B3])!=null;
B3++){if(V){W=U(V,u,B3,Z);
var z=v^!!W;
w&&W!=null?z?l=!0:Z[B3]=!1:z&&(b.push(V),l=!0)
}}}if(W!==Ao){w||(Z=b),y=y.replace(K.match[X],"");
if(!l){return[]
}break
}}}if(y===k){if(l==null){L.error(y)
}else{break
}}k=y
}return Z
},L.error=function(T){throw"Syntax error, unrecognized expression: "+T
};
var K=L.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(T){return T.getAttribute("href")
},type:function(T){return T.getAttribute("type")
}},relative:{"+":function(U,T){var j=typeof T==="string",Z=j&&!M.test(T),Y=j&&!Z;
Z&&(T=T.toLowerCase());
for(var X=0,W=U.length,V;
X<W;
X++){if(V=U[X]){while((V=V.previousSibling)&&V.nodeType!==1){}U[X]=Y||V&&V.nodeName.toLowerCase()===T?V||!1:V===T
}}Y&&L.filter(T,U,!0)
},">":function(U,T){var Z,Y=typeof T==="string",X=0,W=U.length;
if(Y&&!M.test(T)){T=T.toLowerCase();
for(;
X<W;
X++){Z=U[X];
if(Z){var V=Z.parentNode;
U[X]=V.nodeName.toLowerCase()===T?V:!1
}}}else{for(;
X<W;
X++){Z=U[X],Z&&(U[X]=Y?Z.parentNode:Z.parentNode===T)
}Y&&L.filter(T,U,!0)
}},"":function(U,T,Y){var X,W=R++,V=B;
typeof T==="string"&&!M.test(T)&&(T=T.toLowerCase(),X=T,V=C),V("parentNode",T,W,U,X,Y)
},"~":function(U,T,Y){var X,W=R++,V=B;
typeof T==="string"&&!M.test(T)&&(T=T.toLowerCase(),X=T,V=C),V("previousSibling",T,W,U,X,Y)
}},find:{ID:function(U,T,W){if(typeof T.getElementById!=="undefined"&&!W){var V=T.getElementById(U[1]);
return V&&V.parentNode?[V]:[]
}},NAME:function(U,T){if(typeof T.getElementsByName!=="undefined"){var Y=[],X=T.getElementsByName(U[1]);
for(var W=0,V=X.length;
W<V;
W++){X[W].getAttribute("name")===U[1]&&Y.push(X[W])
}return Y.length===0?null:Y
}},TAG:function(U,T){if(typeof T.getElementsByTagName!=="undefined"){return T.getElementsByTagName(U[1])
}}},preFilter:{CLASS:function(U,T,j,Z,Y,X){U=" "+U[1].replace(N,"")+" ";
if(X){return U
}for(var W=0,V;
(V=T[W])!=null;
W++){V&&(Y^(V.className&&(" "+V.className+" ").replace(/[\t\n\r]/g," ").indexOf(U)>=0)?j||Z.push(V):j&&(T[W]=!1))
}return !1
},ID:function(T){return T[1].replace(N,"")
},TAG:function(U,T){return U[1].replace(N,"").toLowerCase()
},CHILD:function(U){if(U[1]==="nth"){U[2]||L.error(U[0]),U[2]=U[2].replace(/^\+|\s*/g,"");
var T=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(U[2]==="even"&&"2n"||U[2]==="odd"&&"2n+1"||!/\D/.test(U[2])&&"0n+"+U[2]||U[2]);
U[2]=T[1]+(T[2]||1)-0,U[3]=T[3]-0
}else{U[2]&&L.error(U[0])
}U[0]=R++;
return U
},ATTR:function(U,T,Z,Y,X,W){var V=U[1]=U[1].replace(N,"");
!W&&K.attrMap[V]&&(U[1]=K.attrMap[V]),U[4]=(U[4]||U[5]||"").replace(N,""),U[2]==="~="&&(U[4]=" "+U[4]+" ");
return U
},PSEUDO:function(T,Y,X,W,V){if(T[1]==="not"){if((S.exec(T[3])||"").length>1||/^\w/.test(T[3])){T[3]=L(T[3],null,null,Y)
}else{var U=L.filter(T[3],Y,X,!0^V);
X||W.push.apply(W,U);
return !1
}}else{if(K.match.POS.test(T[0])||K.match.CHILD.test(T[0])){return !0
}}return T
},POS:function(T){T.unshift(!0);
return T
}},filters:{enabled:function(T){return T.disabled===!1&&T.type!=="hidden"
},disabled:function(T){return T.disabled===!0
},checked:function(T){return T.checked===!0
},selected:function(T){T.parentNode&&T.parentNode.selectedIndex;
return T.selected===!0
},parent:function(T){return !!T.firstChild
},empty:function(T){return !T.firstChild
},has:function(U,T,V){return !!L(V[3],U).length
},header:function(T){return/h\d/i.test(T.nodeName)
},text:function(U){var T=U.getAttribute("type"),V=U.type;
return"text"===V&&(T===V||T===null)
},radio:function(T){return"radio"===T.type
},checkbox:function(T){return"checkbox"===T.type
},file:function(T){return"file"===T.type
},password:function(T){return"password"===T.type
},submit:function(T){return"submit"===T.type
},image:function(T){return"image"===T.type
},reset:function(T){return"reset"===T.type
},button:function(T){return"button"===T.type||T.nodeName.toLowerCase()==="button"
},input:function(T){return/input|select|textarea|button/i.test(T.nodeName)
}},setFilters:{first:function(U,T){return T===0
},last:function(U,T,W,V){return T===V.length-1
},even:function(U,T){return T%2===0
},odd:function(U,T){return T%2===1
},lt:function(U,T,V){return T<V[3]-0
},gt:function(U,T,V){return T>V[3]-0
},nth:function(U,T,V){return V[3]-0===T
},eq:function(U,T,V){return V[3]-0===T
}},filter:{PSEUDO:function(k,j,Z,Y){var X=j[1],W=K.filters[X];
if(W){return W(k,Z,j,Y)
}if(X==="contains"){return(k.textContent||k.innerText||L.getText([k])||"").indexOf(j[3])>=0
}if(X==="not"){var V=j[3];
for(var U=0,T=V.length;
U<T;
U++){if(V[U]===k){return !1
}}return !0
}L.error(X)
},CHILD:function(m,l){var k=l[1],Z=m;
switch(k){case"only":case"first":while(Z=Z.previousSibling){if(Z.nodeType===1){return !1
}}if(k==="first"){return !0
}Z=m;
case"last":while(Z=Z.nextSibling){if(Z.nodeType===1){return !1
}}return !0;
case"nth":var Y=l[2],X=l[3];
if(Y===1&&X===0){return !0
}var W=l[0],V=m.parentNode;
if(V&&(V.sizcache!==W||!m.nodeIndex)){var U=0;
for(Z=V.firstChild;
Z;
Z=Z.nextSibling){Z.nodeType===1&&(Z.nodeIndex=++U)
}V.sizcache=W
}var T=m.nodeIndex-X;
return Y===0?T===0:T%Y===0&&T/Y>=0
}},ID:function(U,T){return U.nodeType===1&&U.getAttribute("id")===T
},TAG:function(U,T){return T==="*"&&U.nodeType===1||U.nodeName.toLowerCase()===T
},CLASS:function(U,T){return(" "+(U.className||U.getAttribute("class"))+" ").indexOf(T)>-1
},ATTR:function(U,T){var Z=T[1],Y=K.attrHandle[Z]?K.attrHandle[Z](U):U[Z]!=null?U[Z]:U.getAttribute(Z),X=Y+"",W=T[2],V=T[4];
return Y==null?W==="!=":W==="="?X===V:W==="*="?X.indexOf(V)>=0:W==="~="?(" "+X+" ").indexOf(V)>=0:V?W==="!="?X!==V:W==="^="?X.indexOf(V)===0:W==="$="?X.substr(X.length-V.length)===V:W==="|="?X===V||X.substr(0,V.length+1)===V+"-":!1:X&&Y!==!1
},POS:function(U,T,Y,X){var W=T[2],V=K.setFilters[W];
if(V){return V(U,Y,T,X)
}}}},J=K.match.POS,I=function(U,T){return"\\"+(T-0+1)
};
for(var H in K.match){K.match[H]=new RegExp(K.match[H].source+/(?![^\[]*\])(?![^\(]*\))/.source),K.leftMatch[H]=new RegExp(/(^(?:.|\r|\n)*?)/.source+K.match[H].source.replace(/\\(\d+)/g,I))
}var G=function(U,T){U=Array.prototype.slice.call(U,0);
if(T){T.push.apply(T,U);
return T
}return U
};
try{Array.prototype.slice.call(Am.documentElement.childNodes,0)[0].nodeType
}catch(F){G=function(U,T){var X=0,W=T||[];
if(Q.call(U)==="[object Array]"){Array.prototype.push.apply(W,U)
}else{if(typeof U.length==="number"){for(var V=U.length;
X<V;
X++){W.push(U[X])
}}else{for(;
U[X];
X++){W.push(U[X])
}}}return W
}
}var E,D;
Am.documentElement.compareDocumentPosition?E=function(U,T){if(U===T){P=!0;
return 0
}if(!U.compareDocumentPosition||!T.compareDocumentPosition){return U.compareDocumentPosition?-1:1
}return U.compareDocumentPosition(T)&4?-1:1
}:(E=function(m,l){var g,Z,Y=[],X=[],W=m.parentNode,V=l.parentNode,U=W;
if(m===l){P=!0;
return 0
}if(W===V){return D(m,l)
}if(!W){return -1
}if(!V){return 1
}while(U){Y.unshift(U),U=U.parentNode
}U=V;
while(U){X.unshift(U),U=U.parentNode
}g=Y.length,Z=X.length;
for(var T=0;
T<g&&T<Z;
T++){if(Y[T]!==X[T]){return D(Y[T],X[T])
}}return T===g?D(m,X[T],-1):D(Y[T],l,1)
},D=function(U,T,W){if(U===T){return W
}var V=U.nextSibling;
while(V){if(V===T){return -1
}V=V.nextSibling
}return 1
}),L.getText=function(U){var T="",W;
for(var V=0;
U[V];
V++){W=U[V],W.nodeType===3||W.nodeType===4?T+=W.nodeValue:W.nodeType!==8&&(T+=L.getText(W.childNodes))
}return T
},function(){var T=Am.createElement("div"),V="script"+(new Date).getTime(),U=Am.documentElement;
T.innerHTML="<a name='"+V+"'/>",U.insertBefore(T,U.firstChild),Am.getElementById(V)&&(K.find.ID=function(W,Z,Y){if(typeof Z.getElementById!=="undefined"&&!Y){var X=Z.getElementById(W[1]);
return X?X.id===W[1]||typeof X.getAttributeNode!=="undefined"&&X.getAttributeNode("id").nodeValue===W[1]?[X]:Ao:[]
}},K.filter.ID=function(X,W){var Y=typeof X.getAttributeNode!=="undefined"&&X.getAttributeNode("id");
return X.nodeType===1&&Y&&Y.nodeValue===W
}),U.removeChild(T),U=T=null
}(),function(){var T=Am.createElement("div");
T.appendChild(Am.createComment("")),T.getElementsByTagName("*").length>0&&(K.find.TAG=function(V,U){var Y=U.getElementsByTagName(V[1]);
if(V[1]==="*"){var X=[];
for(var W=0;
Y[W];
W++){Y[W].nodeType===1&&X.push(Y[W])
}Y=X
}return Y
}),T.innerHTML="<a href='#'></a>",T.firstChild&&typeof T.firstChild.getAttribute!=="undefined"&&T.firstChild.getAttribute("href")!=="#"&&(K.attrHandle.href=function(U){return U.getAttribute("href",2)
}),T=null
}(),Am.querySelectorAll&&function(){var U=L,T=Am.createElement("div"),W="__sizzle__";
T.innerHTML="<p class='TEST'></p>";
if(!T.querySelectorAll||T.querySelectorAll(".TEST").length!==0){L=function(w,v,u,p){v=v||Am;
if(!p&&!L.isXML(v)){var l=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(w);
if(l&&(v.nodeType===1||v.nodeType===9)){if(l[1]){return G(v.getElementsByTagName(w),u)
}if(l[2]&&K.find.CLASS&&v.getElementsByClassName){return G(v.getElementsByClassName(l[2]),u)
}}if(v.nodeType===9){if(w==="body"&&v.body){return G([v.body],u)
}if(l&&l[3]){var k=v.getElementById(l[3]);
if(!k||!k.parentNode){return G([],u)
}if(k.id===l[3]){return G([k],u)
}}try{return G(v.querySelectorAll(w),u)
}catch(d){}}else{if(v.nodeType===1&&v.nodeName.toLowerCase()!=="object"){var c=v,a=v.getAttribute("id"),Z=a||W,Y=v.parentNode,X=/^\s*[+~]/.test(w);
a?Z=Z.replace(/'/g,"\\$&"):v.setAttribute("id",Z),X&&Y&&(v=v.parentNode);
try{if(!X||Y){return G(v.querySelectorAll("[id='"+Z+"'] "+w),u)
}}catch(x){}finally{a||c.removeAttribute("id")
}}}}return U(w,v,u,p)
};
for(var V in U){L[V]=U[V]
}T=null
}}(),function(){var U=Am.documentElement,T=U.matchesSelector||U.mozMatchesSelector||U.webkitMatchesSelector||U.msMatchesSelector;
if(T){var X=!T.call(Am.createElement("div"),"div"),W=!1;
try{T.call(Am.documentElement,"[test!='']:sizzle")
}catch(V){W=!0
}L.matchesSelector=function(Y,d){d=d.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");
if(!L.isXML(Y)){try{if(W||!K.match.PSEUDO.test(d)&&!/!=/.test(d)){var b=T.call(Y,d);
if(b||!X||Y.document&&Y.document.nodeType!==11){return b
}}}catch(Z){}}return L(d,null,null,[Y]).length>0
}
}}(),function(){var T=Am.createElement("div");
T.innerHTML="<div class='test e'></div><div class='test'></div>";
if(T.getElementsByClassName&&T.getElementsByClassName("e").length!==0){T.lastChild.className="e";
if(T.getElementsByClassName("e").length===1){return 
}K.order.splice(1,0,"CLASS"),K.find.CLASS=function(V,U,W){if(typeof U.getElementsByClassName!=="undefined"&&!W){return U.getElementsByClassName(V[1])
}},T=null
}}(),Am.documentElement.contains?L.contains=function(U,T){return U!==T&&(U.contains?U.contains(T):!0)
}:Am.documentElement.compareDocumentPosition?L.contains=function(U,T){return !!(U.compareDocumentPosition(T)&16)
}:L.contains=function(){return !1
},L.isXML=function(U){var T=(U?U.ownerDocument||U:0).documentElement;
return T?T.nodeName!=="HTML":!1
};
var A=function(U,T){var j,Z=[],Y="",X=T.nodeType?[T]:T;
while(j=K.match.PSEUDO.exec(U)){Y+=j[0],U=U.replace(K.match.PSEUDO,"")
}U=K.relative[U]?U+"*":U;
for(var W=0,V=X.length;
W<V;
W++){L(U,X[W],Z)
}return L.filter(Y,Z)
};
Ak.find=L,Ak.expr=L.selectors,Ak.expr[":"]=Ak.expr.filters,Ak.unique=L.uniqueSort,Ak.text=L.getText,Ak.isXMLDoc=L.isXML,Ak.contains=L.contains
}();
var BS=/Until$/,BR=/^(?:parents|prevUntil|prevAll)/,BQ=/,/,BP=/^.[^:#\[\.,]*$/,BO=Array.prototype.slice,BM=Ak.expr.match.POS,BL={children:!0,contents:!0,next:!0,prev:!0};
Ak.fn.extend({find:function(B){var A=this.pushStack("","find",B),G=0;
for(var F=0,E=this.length;
F<E;
F++){G=A.length,Ak.find(B,this[F],A);
if(F>0){for(var D=G;
D<A.length;
D++){for(var C=0;
C<G;
C++){if(A[C]===A[D]){A.splice(D--,1);
break
}}}}}return A
},has:function(B){var A=Ak(B);
return this.filter(function(){for(var C=0,D=A.length;
C<D;
C++){if(Ak.contains(this,A[C])){return !0
}}})
},not:function(A){return this.pushStack(BH(this,A,!1),"not",A)
},filter:function(A){return this.pushStack(BH(this,A,!0),"filter",A)
},is:function(A){return !!A&&Ak.filter(A,this).length>0
},closest:function(K,J){var I=[],H,G,F=this[0];
if(Ak.isArray(K)){var E,D,C={},B=1;
if(F&&K.length){for(H=0,G=K.length;
H<G;
H++){D=K[H],C[D]||(C[D]=Ak.expr.match.POS.test(D)?Ak(D,J||this.context):D)
}while(F&&F.ownerDocument&&F!==J){for(D in C){E=C[D],(E.jquery?E.index(F)>-1:Ak(F).is(E))&&I.push({selector:D,elem:F,level:B})
}F=F.parentNode,B++
}}return I
}var A=BM.test(K)?Ak(K,J||this.context):null;
for(H=0,G=this.length;
H<G;
H++){F=this[H];
while(F){if(A?A.index(F)>-1:Ak.find.matchesSelector(F,K)){I.push(F);
break
}F=F.parentNode;
if(!F||!F.ownerDocument||F===J){break
}}}I=I.length>1?Ak.unique(I):I;
return this.pushStack(I,"closest",K)
},index:function(A){if(!A||typeof A==="string"){return Ak.inArray(this[0],A?Ak(A):this.parent().children())
}return Ak.inArray(A.jquery?A[0]:A,this)
},add:function(B,A){var D=typeof B==="string"?Ak(B,A):Ak.makeArray(B),C=Ak.merge(this.get(),D);
return this.pushStack(BJ(D[0])||BJ(C[0])?C:Ak.unique(C))
},andSelf:function(){return this.add(this.prevObject)
}}),Ak.each({parent:function(B){var A=B.parentNode;
return A&&A.nodeType!==11?A:null
},parents:function(A){return Ak.dir(A,"parentNode")
},parentsUntil:function(B,A,C){return Ak.dir(B,"parentNode",C)
},next:function(A){return Ak.nth(A,2,"nextSibling")
},prev:function(A){return Ak.nth(A,2,"previousSibling")
},nextAll:function(A){return Ak.dir(A,"nextSibling")
},prevAll:function(A){return Ak.dir(A,"previousSibling")
},nextUntil:function(B,A,C){return Ak.dir(B,"nextSibling",C)
},prevUntil:function(B,A,C){return Ak.dir(B,"previousSibling",C)
},siblings:function(A){return Ak.sibling(A.parentNode.firstChild,A)
},children:function(A){return Ak.sibling(A.firstChild)
},contents:function(A){return Ak.nodeName(A,"iframe")?A.contentDocument||A.contentWindow.document:Ak.makeArray(A.childNodes)
}},function(B,A){Ak.fn[B]=function(F,E){var D=Ak.map(this,A,F),C=BO.call(arguments);
BS.test(B)||(E=F),E&&typeof E==="string"&&(D=Ak.filter(E,D)),D=this.length>1&&!BL[B]?Ak.unique(D):D,(this.length>1||BQ.test(E))&&BR.test(B)&&(D=D.reverse());
return this.pushStack(D,B,C.join(","))
}
}),Ak.extend({filter:function(B,A,C){C&&(B=":not("+B+")");
return A.length===1?Ak.find.matchesSelector(A[0],B)?[A[0]]:[]:Ak.find.matches(B,A)
},dir:function(A,E,D){var C=[],B=A[E];
while(B&&B.nodeType!==9&&(D===Ao||B.nodeType!==1||!Ak(B).is(D))){B.nodeType===1&&C.push(B),B=B[E]
}return C
},nth:function(B,A,E,D){A=A||1;
var C=0;
for(;
B;
B=B[E]){if(B.nodeType===1&&++C===A){break
}}return B
},sibling:function(B,A){var C=[];
for(;
B;
B=B.nextSibling){B.nodeType===1&&B!==A&&C.push(B)
}return C
}});
var BF=/ jQuery\d+="(?:\d+|null)"/g,BD=/^\s+/,BB=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,A9=/<([\w:]+)/,A7=/<tbody/i,A5=/<|&#?\w+;/,A3=/<(?:script|object|embed|option|style)/i,A1=/checked\s*(?:[^=]|=\s*.checked.)/i,Az={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,"",""]};
Az.optgroup=Az.option,Az.tbody=Az.tfoot=Az.colgroup=Az.caption=Az.thead,Az.th=Az.td,Ak.support.htmlSerialize||(Az._default=[1,"div<div>","</div>"]),Ak.fn.extend({text:function(A){if(Ak.isFunction(A)){return this.each(function(B){var C=Ak(this);
C.text(A.call(this,B,C.text()))
})
}if(typeof A!=="object"&&A!==Ao){return this.empty().append((this[0]&&this[0].ownerDocument||Am).createTextNode(A))
}return Ak.text(this)
},wrapAll:function(B){if(Ak.isFunction(B)){return this.each(function(C){Ak(this).wrapAll(B.call(this,C))
})
}if(this[0]){var A=Ak(B,this[0].ownerDocument).eq(0).clone(!0);
this[0].parentNode&&A.insertBefore(this[0]),A.map(function(){var C=this;
while(C.firstChild&&C.firstChild.nodeType===1){C=C.firstChild
}return C
}).append(this)
}return this
},wrapInner:function(A){if(Ak.isFunction(A)){return this.each(function(B){Ak(this).wrapInner(A.call(this,B))
})
}return this.each(function(){var B=Ak(this),C=B.contents();
C.length?C.wrapAll(A):B.append(A)
})
},wrap:function(A){return this.each(function(){Ak(this).wrapAll(A)
})
},unwrap:function(){return this.parent().each(function(){Ak.nodeName(this,"body")||Ak(this).replaceWith(this.childNodes)
}).end()
},append:function(){return this.domManip(arguments,!0,function(A){this.nodeType===1&&this.appendChild(A)
})
},prepend:function(){return this.domManip(arguments,!0,function(A){this.nodeType===1&&this.insertBefore(A,this.firstChild)
})
},before:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,!1,function(B){this.parentNode.insertBefore(B,this)
})
}if(arguments.length){var A=Ak(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,!1,function(B){this.parentNode.insertBefore(B,this.nextSibling)
})
}if(arguments.length){var A=this.pushStack(this,"after",arguments);
A.push.apply(A,Ak(arguments[0]).toArray());
return A
}},remove:function(B,A){for(var D=0,C;
(C=this[D])!=null;
D++){if(!B||Ak.filter(B,[C]).length){!A&&C.nodeType===1&&(Ak.cleanData(C.getElementsByTagName("*")),Ak.cleanData([C])),C.parentNode&&C.parentNode.removeChild(C)
}}return this
},empty:function(){for(var B=0,A;
(A=this[B])!=null;
B++){A.nodeType===1&&Ak.cleanData(A.getElementsByTagName("*"));
while(A.firstChild){A.removeChild(A.firstChild)
}}return this
},clone:function(B,A){B=B==null?!1:B,A=A==null?B:A;
return this.map(function(){return Ak.clone(this,B,A)
})
},html:function(A){if(A===Ao){return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(BF,""):null
}if(typeof A!=="string"||A3.test(A)||!Ak.support.leadingWhitespace&&BD.test(A)||Az[(A9.exec(A)||["",""])[1].toLowerCase()]){Ak.isFunction(A)?this.each(function(E){var F=Ak(this);
F.html(A.call(this,E,F.html()))
}):this.empty().append(A)
}else{A=A.replace(BB,"<$1></$2>");
try{for(var D=0,C=this.length;
D<C;
D++){this[D].nodeType===1&&(Ak.cleanData(this[D].getElementsByTagName("*")),this[D].innerHTML=A)
}}catch(B){this.empty().append(A)
}}return this
},replaceWith:function(A){if(this[0]&&this[0].parentNode){if(Ak.isFunction(A)){return this.each(function(B){var D=Ak(this),C=D.html();
D.replaceWith(A.call(this,B,C))
})
}typeof A!=="string"&&(A=Ak(A).detach());
return this.each(function(){var B=this.nextSibling,C=this.parentNode;
Ak(this).remove(),B?Ak(B).before(A):Ak(C).append(A)
})
}return this.length?this.pushStack(Ak(Ak.isFunction(A)?A():A),"replaceWith",A):this
},detach:function(A){return this.remove(A,!0)
},domManip:function(L,K,J){var I,H,G,F,E=L[0],D=[];
if(!Ak.support.checkClone&&arguments.length===3&&typeof E==="string"&&A1.test(E)){return this.each(function(){Ak(this).domManip(L,K,J,!0)
})
}if(Ak.isFunction(E)){return this.each(function(N){var M=Ak(this);
L[0]=E.call(this,N,K?M.html():Ao),M.domManip(L,K,J)
})
}if(this[0]){F=E&&E.parentNode,Ak.support.parentNode&&F&&F.nodeType===11&&F.childNodes.length===this.length?I={fragment:F}:I=Ak.buildFragment(L,this,D),G=I.fragment,G.childNodes.length===1?H=G=G.firstChild:H=G.firstChild;
if(H){K=K&&Ak.nodeName(H,"tr");
for(var C=0,B=this.length,A=B-1;
C<B;
C++){J.call(K?B1(this[C],H):this[C],I.cacheable||B>1&&C<A?Ak.clone(G,!0,!0):G)
}}D.length&&Ak.each(D,BG)
}return this
}}),Ak.buildFragment=function(B,A,G){var F,E,D,C=A&&A[0]?A[0].ownerDocument||A[0]:Am;
B.length===1&&typeof B[0]==="string"&&B[0].length<512&&C===Am&&B[0].charAt(0)==="<"&&!A3.test(B[0])&&(Ak.support.checkClone||!A1.test(B[0]))&&(E=!0,D=Ak.fragments[B[0]],D&&(D!==1&&(F=D))),F||(F=C.createDocumentFragment(),Ak.clean(B,C,F,G)),E&&(Ak.fragments[B[0]]=D?F:1);
return{fragment:F,cacheable:E}
},Ak.fragments={},Ak.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(B,A){Ak.fn[B]=function(I){var H=[],G=Ak(I),F=this.length===1&&this[0].parentNode;
if(F&&F.nodeType===11&&F.childNodes.length===1&&G.length===1){G[A](this[0]);
return this
}for(var E=0,D=G.length;
E<D;
E++){var C=(E>0?this.clone(!0):this).get();
Ak(G[E])[A](C),H=H.concat(C)
}return this.pushStack(H,B,G.selector)
}
}),Ak.extend({clone:function(B,A,G){var F=B.cloneNode(!0),E,D,C;
if((!Ak.support.noCloneEvent||!Ak.support.noCloneChecked)&&(B.nodeType===1||B.nodeType===11)&&!Ak.isXMLDoc(B)){BK(B,F),E=BI(B),D=BI(F);
for(C=0;
E[C];
++C){BK(E[C],D[C])
}}if(A){As(B,F);
if(G){E=BI(B),D=BI(F);
for(C=0;
E[C];
++C){As(E[C],D[C])
}}}return F
},clean:function(N,M,L,K){M=M||Am,typeof M.createElement==="undefined"&&(M=M.ownerDocument||M[0]&&M[0].ownerDocument||Am);
var J=[];
for(var I=0,H;
(H=N[I])!=null;
I++){typeof H==="number"&&(H+="");
if(!H){continue
}if(typeof H!=="string"||A5.test(H)){if(typeof H==="string"){H=H.replace(BB,"<$1></$2>");
var G=(A9.exec(H)||["",""])[1].toLowerCase(),F=Az[G]||Az._default,E=F[0],D=M.createElement("div");
D.innerHTML=F[1]+H+F[2];
while(E--){D=D.lastChild
}if(!Ak.support.tbody){var C=A7.test(H),B=G==="table"&&!C?D.firstChild&&D.firstChild.childNodes:F[1]==="<table>"&&!C?D.childNodes:[];
for(var A=B.length-1;
A>=0;
--A){Ak.nodeName(B[A],"tbody")&&!B[A].childNodes.length&&B[A].parentNode.removeChild(B[A])
}}!Ak.support.leadingWhitespace&&BD.test(H)&&D.insertBefore(M.createTextNode(BD.exec(H)[0]),D.firstChild),H=D.childNodes
}}else{H=M.createTextNode(H)
}H.nodeType?J.push(H):J=Ak.merge(J,H)
}if(L){for(I=0;
J[I];
I++){!K||!Ak.nodeName(J[I],"script")||J[I].type&&J[I].type.toLowerCase()!=="text/javascript"?(J[I].nodeType===1&&J.splice.apply(J,[I+1,0].concat(Ak.makeArray(J[I].getElementsByTagName("script")))),L.appendChild(J[I])):K.push(J[I].parentNode?J[I].parentNode.removeChild(J[I]):J[I])
}}return J
},cleanData:function(J){var I,H,G=Ak.cache,F=Ak.expando,E=Ak.event.special,D=Ak.support.deleteExpando;
for(var C=0,B;
(B=J[C])!=null;
C++){if(B.nodeName&&Ak.noData[B.nodeName.toLowerCase()]){continue
}H=B[Ak.expando];
if(H){I=G[H]&&G[H][F];
if(I&&I.events){for(var A in I.events){E[A]?Ak.event.remove(B,A):Ak.removeEvent(B,A,I.handle)
}I.handle&&(I.handle.elem=null)
}D?delete B[Ak.expando]:B.removeAttribute&&B.removeAttribute(Ak.expando),delete G[H]
}}}});
var BE=/alpha\([^)]*\)/i,BC=/opacity=([^)]*)/,BA=/-([a-z])/ig,A8=/([A-Z]|^ms)/g,A6=/^-?\d+(?:px)?$/i,A4=/^-?\d/,A2={position:"absolute",visibility:"hidden",display:"block"},A0=["Left","Right"],Ay=["Top","Bottom"],Ax,Aw,Av,Au=function(B,A){return A.toUpperCase()
};
Ak.fn.css=function(A,B){if(arguments.length===2&&B===Ao){return this
}return Ak.access(this,A,B,!0,function(C,E,D){return D!==Ao?Ak.style(C,E,D):Ak.css(C,E)
})
},Ak.extend({cssHooks:{opacity:{get:function(B,A){if(A){var C=Ax(B,"opacity","opacity");
return C===""?"1":C
}return B.style.opacity
}}},cssNumber:{zIndex:!0,fontWeight:!0,opacity:!0,zoom:!0,lineHeight:!0},cssProps:{"float":Ak.support.cssFloat?"cssFloat":"styleFloat"},style:function(I,H,G,F){if(I&&I.nodeType!==3&&I.nodeType!==8&&I.style){var E,D=Ak.camelCase(H),C=I.style,B=Ak.cssHooks[D];
H=Ak.cssProps[D]||D;
if(G===Ao){if(B&&"get" in B&&(E=B.get(I,!1,F))!==Ao){return E
}return C[H]
}if(typeof G==="number"&&isNaN(G)||G==null){return 
}typeof G==="number"&&!Ak.cssNumber[D]&&(G+="px");
if(!B||!("set" in B)||(G=B.set(I,G))!==Ao){try{C[H]=G
}catch(A){}}}},css:function(A,F,E){var D,C=Ak.camelCase(F),B=Ak.cssHooks[C];
F=Ak.cssProps[C]||C;
if(B&&"get" in B&&(D=B.get(A,!0,E))!==Ao){return D
}if(Ax){return Ax(A,F,C)
}},swap:function(B,A,E){var D={};
for(var C in A){D[C]=B.style[C],B.style[C]=A[C]
}E.call(B);
for(C in A){B.style[C]=D[C]
}},camelCase:function(A){return A.replace(BA,Au)
}}),Ak.curCSS=Ak.css,Ak.each(["height","width"],function(B,A){Ak.cssHooks[A]={get:function(C,F,E){var D;
if(F){C.offsetWidth!==0?D=At(C,A,E):Ak.swap(C,A2,function(){D=At(C,A,E)
});
if(D<=0){D=Ax(C,A,A),D==="0px"&&Av&&(D=Av(C,A,A));
if(D!=null){return D===""||D==="auto"?"0px":D
}}if(D<0||D==null){D=C.style[A];
return D===""||D==="auto"?"0px":D
}return typeof D==="string"?D:D+"px"
}},set:function(D,C){if(!A6.test(C)){return C
}C=parseFloat(C);
if(C>=0){return C+"px"
}}}
}),Ak.support.opacity||(Ak.cssHooks.opacity={get:function(B,A){return BC.test((A&&B.currentStyle?B.currentStyle.filter:B.style.filter)||"")?parseFloat(RegExp.$1)/100+"":A?"1":""
},set:function(B,A){var E=B.style;
E.zoom=1;
var D=Ak.isNaN(A)?"":"alpha(opacity="+A*100+")",C=E.filter||"";
E.filter=BE.test(C)?C.replace(BE,D):E.filter+" "+D
}}),Ak(function(){Ak.support.reliableMarginRight||(Ak.cssHooks.marginRight={get:function(B,A){var C;
Ak.swap(B,{display:"inline-block"},function(){A?C=Ax(B,"margin-right","marginRight"):C=B.style.marginRight
});
return C
}})
}),Am.defaultView&&Am.defaultView.getComputedStyle&&(Aw=function(A,F,E){var D,C,B;
E=E.replace(A8,"-$1").toLowerCase();
if(!(C=A.ownerDocument.defaultView)){return Ao
}if(B=C.getComputedStyle(A,null)){D=B.getPropertyValue(E),D===""&&!Ak.contains(A.ownerDocument.documentElement,A)&&(D=Ak.style(A,E))
}return D
}),Am.documentElement.currentStyle&&(Av=function(B,A){var F,E=B.currentStyle&&B.currentStyle[A],D=B.runtimeStyle&&B.runtimeStyle[A],C=B.style;
!A6.test(E)&&A4.test(E)&&(F=C.left,D&&(B.runtimeStyle.left=B.currentStyle.left),C.left=A==="fontSize"?"1em":E||0,E=C.pixelLeft+"px",C.left=F,D&&(B.runtimeStyle.left=D));
return E===""?"auto":E
}),Ax=Aw||Av,Ak.expr&&Ak.expr.filters&&(Ak.expr.filters.hidden=function(B){var A=B.offsetWidth,C=B.offsetHeight;
return A===0&&C===0||!Ak.support.reliableHiddenOffsets&&(B.style.display||Ak.css(B,"display"))==="none"
},Ak.expr.filters.visible=function(A){return !Ak.expr.filters.hidden(A)
});
var Ar=/%20/g,Ap=/\[\]$/,An=/\r?\n/g,Al=/#.*$/,Aj=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,Ah=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,Af=/^(?:about|app|app\-storage|.+\-extension|file|widget):$/,Ad=/^(?:GET|HEAD)$/,Ab=/^\/\//,B0=/\?/,Bz=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,By=/^(?:select|textarea)/i,Bx=/\s+/,Bw=/([?&])_=[^&]*/,Bv=/(^|\-)([a-z])/g,Bu=function(B,A,C){return A+C.toUpperCase()
},Bt=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,Bs=Ak.fn.load,Br={},Bq={},Bp,Bo;
try{Bp=Am.location.href
}catch(Bn){Bp=Am.createElement("a"),Bp.href="",Bp=Bp.href
}Bo=Bt.exec(Bp.toLowerCase())||[],Ak.fn.extend({load:function(A,G,F){if(typeof A!=="string"&&Bs){return Bs.apply(this,arguments)
}if(!this.length){return this
}var E=A.indexOf(" ");
if(E>=0){var D=A.slice(E,A.length);
A=A.slice(0,E)
}var C="GET";
G&&(Ak.isFunction(G)?(F=G,G=Ao):typeof G==="object"&&(G=Ak.param(G,Ak.ajaxSettings.traditional),C="POST"));
var B=this;
Ak.ajax({url:A,type:C,dataType:"html",data:G,complete:function(I,H,J){J=I.responseText,I.isResolved()&&(I.done(function(K){J=K
}),B.html(D?Ak("<div>").append(J.replace(Bz,"")).find(D):J)),F&&B.each(F,[J,H,I])
}});
return this
},serialize:function(){return Ak.param(this.serializeArray())
},serializeArray:function(){return this.map(function(){return this.elements?Ak.makeArray(this.elements):this
}).filter(function(){return this.name&&!this.disabled&&(this.checked||By.test(this.nodeName)||Ah.test(this.type))
}).map(function(B,A){var C=Ak(this).val();
return C==null?null:Ak.isArray(C)?Ak.map(C,function(D,E){return{name:A.name,value:D.replace(An,"\r\n")}
}):{name:A.name,value:C.replace(An,"\r\n")}
}).get()
}}),Ak.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(B,A){Ak.fn[A]=function(C){return this.bind(A,C)
}
}),Ak.each(["get","post"],function(A,B){Ak[B]=function(C,F,E,D){Ak.isFunction(F)&&(D=D||E,E=F,F=Ao);
return Ak.ajax({type:B,url:C,data:F,success:E,dataType:D})
}
}),Ak.extend({getScript:function(A,B){return Ak.get(A,Ao,B,"script")
},getJSON:function(B,A,C){return Ak.get(B,A,C,"json")
},ajaxSetup:function(B,A){A?Ak.extend(!0,B,Ak.ajaxSettings,A):(A=B,B=Ak.extend(!0,Ak.ajaxSettings,A));
for(var C in {context:1,url:1}){C in A?B[C]=A[C]:C in Ak.ajaxSettings&&(B[C]=Ak.ajaxSettings[C])
}return B
},ajaxSettings:{url:Bp,isLocal:Af.test(Bo[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":"*/*"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":Aq.String,"text html":!0,"text json":Ak.parseJSON,"text xml":Ak.parseXML}},ajaxPrefilter:Bm(Br),ajaxTransport:Bm(Bq),ajax:function(W,V){function D(g,d,Z,Y){if(H!==2){H=2,J&&clearTimeout(J),K=Ao,M=Y||"",E.readyState=g?4:0;
var X,k,j,h=Z?Bj(U,E,Z):Ao,f,e;
if(g>=200&&g<300||g===304){if(U.ifModified){if(f=E.getResponseHeader("Last-Modified")){Ak.lastModified[O]=f
}if(e=E.getResponseHeader("Etag")){Ak.etag[O]=e
}}if(g===304){d="notmodified",X=!0
}else{try{k=Bi(U,h),d="success",X=!0
}catch(b){d="parsererror",j=b
}}}else{j=d;
if(!d||g){d="error",g<0&&(g=0)
}}E.status=g,E.statusText=d,X?R.resolveWith(T,[k,d,E]):R.rejectWith(T,[E,d,j]),E.statusCode(P),P=Ao,G&&S.trigger("ajax"+(X?"Success":"Error"),[E,U,X?k:j]),Q.resolveWith(T,[E,d]),G&&(S.trigger("ajaxComplete",[E,U]),--Ak.active||Ak.event.trigger("ajaxStop"))
}}typeof W==="object"&&(V=W,W=Ao),V=V||{};
var U=Ak.ajaxSetup({},V),T=U.context||U,S=T!==U&&(T.nodeType||T instanceof Ak)?Ak(T):Ak.event,R=Ak.Deferred(),Q=Ak._Deferred(),P=U.statusCode||{},O,N={},M,L,K,J,I,H=0,G,F,E={readyState:0,setRequestHeader:function(Y,X){H||(N[Y.toLowerCase().replace(Bv,Bu)]=X);
return this
},getAllResponseHeaders:function(){return H===2?M:null
},getResponseHeader:function(X){var Y;
if(H===2){if(!L){L={};
while(Y=Aj.exec(M)){L[Y[1].toLowerCase()]=Y[2]
}}Y=L[X.toLowerCase()]
}return Y===Ao?null:Y
},overrideMimeType:function(X){H||(U.mimeType=X);
return this
},abort:function(X){X=X||"abort",K&&K.abort(X),D(0,X);
return this
}};
R.promise(E),E.success=E.done,E.error=E.fail,E.complete=Q.done,E.statusCode=function(Y){if(Y){var X;
if(H<2){for(X in Y){P[X]=[P[X],Y[X]]
}}else{X=Y[E.status],E.then(X,X)
}}return this
},U.url=((W||U.url)+"").replace(Al,"").replace(Ab,Bo[1]+"//"),U.dataTypes=Ak.trim(U.dataType||"*").toLowerCase().split(Bx),U.crossDomain==null&&(I=Bt.exec(U.url.toLowerCase()),U.crossDomain=I&&(I[1]!=Bo[1]||I[2]!=Bo[2]||(I[3]||(I[1]==="http:"?80:443))!=(Bo[3]||(Bo[1]==="http:"?80:443)))),U.data&&U.processData&&typeof U.data!=="string"&&(U.data=Ak.param(U.data,U.traditional)),Bl(Br,U,V,E);
if(H===2){return !1
}G=U.global,U.type=U.type.toUpperCase(),U.hasContent=!Ad.test(U.type),G&&Ak.active++===0&&Ak.event.trigger("ajaxStart");
if(!U.hasContent){U.data&&(U.url+=(B0.test(U.url)?"&":"?")+U.data),O=U.url;
if(U.cache===!1){var C=Ak.now(),B=U.url.replace(Bw,"$1_="+C);
U.url=B+(B===U.url?(B0.test(U.url)?"&":"?")+"_="+C:"")
}}if(U.data&&U.hasContent&&U.contentType!==!1||V.contentType){N["Content-Type"]=U.contentType
}U.ifModified&&(O=O||U.url,Ak.lastModified[O]&&(N["If-Modified-Since"]=Ak.lastModified[O]),Ak.etag[O]&&(N["If-None-Match"]=Ak.etag[O])),N.Accept=U.dataTypes[0]&&U.accepts[U.dataTypes[0]]?U.accepts[U.dataTypes[0]]+(U.dataTypes[0]!=="*"?", */*; q=0.01":""):U.accepts["*"];
for(F in U.headers){E.setRequestHeader(F,U.headers[F])
}if(U.beforeSend&&(U.beforeSend.call(T,E,U)===!1||H===2)){E.abort();
return !1
}for(F in {success:1,error:1,complete:1}){E[F](U[F])
}K=Bl(Bq,U,V,E);
if(K){E.readyState=1,G&&S.trigger("ajaxSend",[E,U]),U.async&&U.timeout>0&&(J=setTimeout(function(){E.abort("timeout")
},U.timeout));
try{H=1,K.send(N,D)
}catch(A){status<2?D(-1,A):Ak.error(A)
}}else{D(-1,"No Transport")
}return E
},param:function(A,E){var D=[],C=function(G,F){F=Ak.isFunction(F)?F():F,D[D.length]=encodeURIComponent(G)+"="+encodeURIComponent(F)
};
E===Ao&&(E=Ak.ajaxSettings.traditional);
if(Ak.isArray(A)||A.jquery&&!Ak.isPlainObject(A)){Ak.each(A,function(){C(this.name,this.value)
})
}else{for(var B in A){Bk(B,A[B],E,C)
}}return D.join("&").replace(Ar,"+")
}}),Ak.extend({active:0,lastModified:{},etag:{}});
var Bf=Ak.now(),Bd=/(\=)\?(&|$)|\?\?/i;
Ak.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return Ak.expando+"_"+Bf++
}}),Ak.ajaxPrefilter("json jsonp",function(K,J,I){var H=typeof K.data==="string";
if(K.dataTypes[0]==="jsonp"||J.jsonpCallback||J.jsonp!=null||K.jsonp!==!1&&(Bd.test(K.url)||H&&Bd.test(K.data))){var G,F=K.jsonpCallback=Ak.isFunction(K.jsonpCallback)?K.jsonpCallback():K.jsonpCallback,E=Aq[F],D=K.url,C=K.data,B="$1"+F+"$2",A=function(){Aq[F]=E,G&&Ak.isFunction(E)&&Aq[F](G[0])
};
K.jsonp!==!1&&(D=D.replace(Bd,B),K.url===D&&(H&&(C=C.replace(Bd,B)),K.data===C&&(D+=(/\?/.test(D)?"&":"?")+K.jsonp+"="+F))),K.url=D,K.data=C,Aq[F]=function(L){G=[L]
},I.then(A,A),K.converters["script json"]=function(){G||Ak.error(F+" was not called");
return G[0]
},K.dataTypes[0]="json";
return"script"
}}),Ak.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(A){Ak.globalEval(A);
return A
}}}),Ak.ajaxPrefilter("script",function(A){A.cache===Ao&&(A.cache=!1),A.crossDomain&&(A.type="GET",A.global=!1)
}),Ak.ajaxTransport("script",function(A){if(A.crossDomain){var C,B=Am.head||Am.getElementsByTagName("head")[0]||Am.documentElement;
return{send:function(E,D){C=Am.createElement("script"),C.async="async",A.scriptCharset&&(C.charset=A.scriptCharset),C.src=A.url,C.onload=C.onreadystatechange=function(F,G){if(!C.readyState||/loaded|complete/.test(C.readyState)){C.onload=C.onreadystatechange=null,B&&C.parentNode&&B.removeChild(C),C=Ao,G||D(200,"success")
}},B.insertBefore(C,B.firstChild)
},abort:function(){C&&C.onload(0,1)
}}
}});
var Bb=Ak.now(),BZ,BX;
Ak.ajaxSettings.xhr=Aq.ActiveXObject?function(){return !this.isLocal&&BU()||B2()
}:BU,BX=Ak.ajaxSettings.xhr(),Ak.support.ajax=!!BX,Ak.support.cors=BX&&"withCredentials" in BX,BX=Ao,Ak.support.ajax&&Ak.ajaxTransport(function(A){if(!A.crossDomain||Ak.support.cors){var B;
return{send:function(H,G){var F=A.xhr(),E,D;
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(D in A.xhrFields){F[D]=A.xhrFields[D]
}}A.mimeType&&F.overrideMimeType&&F.overrideMimeType(A.mimeType),!A.crossDomain&&!H["X-Requested-With"]&&(H["X-Requested-With"]="XMLHttpRequest");
try{for(D in H){F.setRequestHeader(D,H[D])
}}catch(C){}F.send(A.hasContent&&A.data||null),B=function(Q,P){var O,N,M,L,K;
try{if(B&&(P||F.readyState===4)){B=Ao,E&&(F.onreadystatechange=Ak.noop,delete BZ[E]);
if(P){F.readyState!==4&&F.abort()
}else{O=F.status,M=F.getAllResponseHeaders(),L={},K=F.responseXML,K&&K.documentElement&&(L.xml=K),L.text=F.responseText;
try{N=F.statusText
}catch(J){N=""
}O||!A.isLocal||A.crossDomain?O===1223&&(O=204):O=L.text?200:404
}}}catch(I){P||G(-1,I)
}L&&G(O,N,L,M)
},A.async&&F.readyState!==4?(BZ||(BZ={},BW()),E=Bb++,F.onreadystatechange=BZ[E]=B):B()
},abort:function(){B&&B(0,1)
}}
}});
var BN={},AU=/^(?:toggle|show|hide)$/,AS=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,AQ,AO=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];
Ak.fn.extend({show:function(B,A,G){var F,E;
if(B||B===0){return this.animate(AN("show",3),B,A,G)
}for(var D=0,C=this.length;
D<C;
D++){F=this[D],E=F.style.display,!Ak._data(F,"olddisplay")&&E==="none"&&(E=F.style.display=""),E===""&&Ak.css(F,"display")==="none"&&Ak._data(F,"olddisplay",AL(F.nodeName))
}for(D=0;
D<C;
D++){F=this[D],E=F.style.display;
if(E===""||E==="none"){F.style.display=Ak._data(F,"olddisplay")||""
}}return this
},hide:function(B,A,F){if(B||B===0){return this.animate(AN("hide",3),B,A,F)
}for(var E=0,D=this.length;
E<D;
E++){var C=Ak.css(this[E],"display");
C!=="none"&&!Ak._data(this[E],"olddisplay")&&Ak._data(this[E],"olddisplay",C)
}for(E=0;
E<D;
E++){this[E].style.display="none"
}return this
},_toggle:Ak.fn.toggle,toggle:function(B,A,D){var C=typeof B==="boolean";
Ak.isFunction(B)&&Ak.isFunction(A)?this._toggle.apply(this,arguments):B==null||C?this.each(function(){var E=C?B:Ak(this).is(":hidden");
Ak(this)[E?"show":"hide"]()
}):this.animate(AN("toggle",3),B,A,D);
return this
},fadeTo:function(B,A,D,C){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:A},B,D,C)
},animate:function(B,A,E,D){var C=Ak.speed(A,E,D);
if(Ak.isEmptyObject(B)){return this.each(C.complete)
}return this[C.queue===!1?"each":"queue"](function(){var F=Ak.extend({},C),L,K=this.nodeType===1,J=K&&Ak(this).is(":hidden"),I=this;
for(L in B){var H=Ak.camelCase(L);
L!==H&&(B[H]=B[L],delete B[L],L=H);
if(B[L]==="hide"&&J||B[L]==="show"&&!J){return F.complete.call(this)
}if(K&&(L==="height"||L==="width")){F.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY];
if(Ak.css(this,"display")==="inline"&&Ak.css(this,"float")==="none"){if(Ak.support.inlineBlockNeedsLayout){var G=AL(this.nodeName);
G==="inline"?this.style.display="inline-block":(this.style.display="inline",this.style.zoom=1)
}else{this.style.display="inline-block"
}}}Ak.isArray(B[L])&&((F.specialEasing=F.specialEasing||{})[L]=B[L][1],B[L]=B[L][0])
}F.overflow!=null&&(this.style.overflow="hidden"),F.curAnim=Ak.extend({},B),Ak.each(B,function(S,R){var Q=new Ak.fx(I,F,S);
if(AU.test(R)){Q[R==="toggle"?J?"show":"hide":R](B)
}else{var P=AS.exec(R),O=Q.cur();
if(P){var N=parseFloat(P[2]),M=P[3]||(Ak.cssNumber[S]?"":"px");
M!=="px"&&(Ak.style(I,S,(N||1)+M),O=(N||1)/Q.cur()*O,Ak.style(I,S,O+M)),P[1]&&(N=(P[1]==="-="?-1:1)*N+O),Q.custom(O,N,M)
}else{Q.custom(O,R,"")
}}});
return !0
})
},stop:function(B,A){var C=Ak.timers;
B&&this.queue([]),this.each(function(){for(var D=C.length-1;
D>=0;
D--){C[D].elem===this&&(A&&C[D](!0),C.splice(D,1))
}}),A||this.dequeue();
return this
}}),Ak.each({slideDown:AN("show",1),slideUp:AN("hide",1),slideToggle:AN("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(B,A){Ak.fn[B]=function(C,E,D){return this.animate(A,C,E,D)
}
}),Ak.extend({speed:function(B,A,D){var C=B&&typeof B==="object"?Ak.extend({},B):{complete:D||!D&&A||Ak.isFunction(B)&&B,duration:B,easing:D&&A||A&&!Ak.isFunction(A)&&A};
C.duration=Ak.fx.off?0:typeof C.duration==="number"?C.duration:C.duration in Ak.fx.speeds?Ak.fx.speeds[C.duration]:Ak.fx.speeds._default,C.old=C.complete,C.complete=function(){C.queue!==!1&&Ak(this).dequeue(),Ak.isFunction(C.old)&&C.old.call(this)
};
return C
},easing:{linear:function(B,A,D,C){return D+C*B
},swing:function(B,A,D,C){return(-Math.cos(B*Math.PI)/2+0.5)*C+D
}},timers:[],fx:function(B,A,C){this.options=A,this.elem=B,this.prop=C,A.orig||(A.orig={})
}}),Ak.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this),(Ak.fx.step[this.prop]||Ak.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 B,A=Ak.css(this.elem,this.prop);
return isNaN(B=parseFloat(A))?!A||A==="auto"?0:A:B
},custom:function(B,A,F){function C(G){return E.step(G)
}var E=this,D=Ak.fx;
this.startTime=Ak.now(),this.start=B,this.end=A,this.unit=F||this.unit||(Ak.cssNumber[this.prop]?"":"px"),this.now=this.start,this.pos=this.state=0,C.elem=this.elem,C()&&Ak.timers.push(C)&&!AQ&&(AQ=setInterval(D.tick,D.interval))
},show:function(){this.options.orig[this.prop]=Ak.style(this.elem,this.prop),this.options.show=!0,this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur()),Ak(this.elem).show()
},hide:function(){this.options.orig[this.prop]=Ak.style(this.elem,this.prop),this.options.hide=!0,this.custom(this.cur(),0)
},step:function(J){var I=Ak.now(),H=!0;
if(J||I>=this.options.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),this.options.curAnim[this.prop]=!0;
for(var G in this.options.curAnim){this.options.curAnim[G]!==!0&&(H=!1)
}if(H){if(this.options.overflow!=null&&!Ak.support.shrinkWrapBlocks){var F=this.elem,E=this.options;
Ak.each(["","X","Y"],function(L,K){F.style["overflow"+K]=E.overflow[L]
})
}this.options.hide&&Ak(this.elem).hide();
if(this.options.hide||this.options.show){for(var D in this.options.curAnim){Ak.style(this.elem,D,this.options.orig[D])
}}this.options.complete.call(this.elem)
}return !1
}var C=I-this.startTime;
this.state=C/this.options.duration;
var B=this.options.specialEasing&&this.options.specialEasing[this.prop],A=this.options.easing||(Ak.easing.swing?"swing":"linear");
this.pos=Ak.easing[B||A](this.state,C,0,1,this.options.duration),this.now=this.start+(this.end-this.start)*this.pos,this.update();
return !0
}},Ak.extend(Ak.fx,{tick:function(){var B=Ak.timers;
for(var A=0;
A<B.length;
A++){B[A]()||B.splice(A--,1)
}B.length||Ak.fx.stop()
},interval:13,stop:function(){clearInterval(AQ),AQ=null
},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(A){Ak.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
}}}),Ak.expr&&Ak.expr.filters&&(Ak.expr.filters.animated=function(A){return Ak.grep(Ak.timers,function(B){return A===B.elem
}).length
});
var AI=/^t(?:able|d|h)$/i,AG=/^(?:body|html)$/i;
"getBoundingClientRect" in Am.documentElement?Ak.fn.offset=function(N){var M=this[0],L;
if(N){return this.each(function(O){Ak.offset.setOffset(this,N,O)
})
}if(!M||!M.ownerDocument){return null
}if(M===M.ownerDocument.body){return Ak.offset.bodyOffset(M)
}try{L=M.getBoundingClientRect()
}catch(K){}var J=M.ownerDocument,I=J.documentElement;
if(!L||!Ak.contains(I,M)){return L?{top:L.top,left:L.left}:{top:0,left:0}
}var H=J.body,G=AF(J),F=I.clientTop||H.clientTop||0,E=I.clientLeft||H.clientLeft||0,D=G.pageYOffset||Ak.support.boxModel&&I.scrollTop||H.scrollTop,C=G.pageXOffset||Ak.support.boxModel&&I.scrollLeft||H.scrollLeft,B=L.top+D-F,A=L.left+C-E;
return{top:B,left:A}
}:Ak.fn.offset=function(L){var K=this[0];
if(L){return this.each(function(M){Ak.offset.setOffset(this,L,M)
})
}if(!K||!K.ownerDocument){return null
}if(K===K.ownerDocument.body){return Ak.offset.bodyOffset(K)
}Ak.offset.initialize();
var J,I=K.offsetParent,H=K,G=K.ownerDocument,F=G.documentElement,E=G.body,D=G.defaultView,C=D?D.getComputedStyle(K,null):K.currentStyle,B=K.offsetTop,A=K.offsetLeft;
while((K=K.parentNode)&&K!==E&&K!==F){if(Ak.offset.supportsFixedPosition&&C.position==="fixed"){break
}J=D?D.getComputedStyle(K,null):K.currentStyle,B-=K.scrollTop,A-=K.scrollLeft,K===I&&(B+=K.offsetTop,A+=K.offsetLeft,Ak.offset.doesNotAddBorder&&(!Ak.offset.doesAddBorderForTableAndCells||!AI.test(K.nodeName))&&(B+=parseFloat(J.borderTopWidth)||0,A+=parseFloat(J.borderLeftWidth)||0),H=I,I=K.offsetParent),Ak.offset.subtractsBorderForOverflowNotVisible&&J.overflow!=="visible"&&(B+=parseFloat(J.borderTopWidth)||0,A+=parseFloat(J.borderLeftWidth)||0),C=J
}if(C.position==="relative"||C.position==="static"){B+=E.offsetTop,A+=E.offsetLeft
}Ak.offset.supportsFixedPosition&&C.position==="fixed"&&(B+=Math.max(F.scrollTop,E.scrollTop),A+=Math.max(F.scrollLeft,E.scrollLeft));
return{top:B,left:A}
},Ak.offset={initialize:function(){var B=Am.body,A=Am.createElement("div"),H,G,F,E,D=parseFloat(Ak.css(B,"marginTop"))||0,C="<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>";
Ak.extend(A.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"}),A.innerHTML=C,B.insertBefore(A,B.firstChild),H=A.firstChild,G=H.firstChild,E=H.nextSibling.firstChild.firstChild,this.doesNotAddBorder=G.offsetTop!==5,this.doesAddBorderForTableAndCells=E.offsetTop===5,G.style.position="fixed",G.style.top="20px",this.supportsFixedPosition=G.offsetTop===20||G.offsetTop===15,G.style.position=G.style.top="",H.style.overflow="hidden",H.style.position="relative",this.subtractsBorderForOverflowNotVisible=G.offsetTop===-5,this.doesNotIncludeMarginInBodyOffset=B.offsetTop!==D,B.removeChild(A),Ak.offset.initialize=Ak.noop
},bodyOffset:function(B){var A=B.offsetTop,C=B.offsetLeft;
Ak.offset.initialize(),Ak.offset.doesNotIncludeMarginInBodyOffset&&(A+=parseFloat(Ak.css(B,"marginTop"))||0,C+=parseFloat(Ak.css(B,"marginLeft"))||0);
return{top:A,left:C}
},setOffset:function(M,L,K){var J=Ak.css(M,"position");
J==="static"&&(M.style.position="relative");
var I=Ak(M),H=I.offset(),G=Ak.css(M,"top"),F=Ak.css(M,"left"),E=(J==="absolute"||J==="fixed")&&Ak.inArray("auto",[G,F])>-1,D={},C={},B,A;
E&&(C=I.position()),B=E?C.top:parseInt(G,10)||0,A=E?C.left:parseInt(F,10)||0,Ak.isFunction(L)&&(L=L.call(M,K,H)),L.top!=null&&(D.top=L.top-H.top+B),L.left!=null&&(D.left=L.left-H.left+A),"using" in L?L.using.call(M,D):I.css(D)
}},Ak.fn.extend({position:function(){if(!this[0]){return null
}var B=this[0],A=this.offsetParent(),D=this.offset(),C=AG.test(A[0].nodeName)?{top:0,left:0}:A.offset();
D.top-=parseFloat(Ak.css(B,"marginTop"))||0,D.left-=parseFloat(Ak.css(B,"marginLeft"))||0,C.top+=parseFloat(Ak.css(A[0],"borderTopWidth"))||0,C.left+=parseFloat(Ak.css(A[0],"borderLeftWidth"))||0;
return{top:D.top-C.top,left:D.left-C.left}
},offsetParent:function(){return this.map(function(){var A=this.offsetParent||Am.body;
while(A&&(!AG.test(A.nodeName)&&Ak.css(A,"position")==="static")){A=A.offsetParent
}return A
})
}}),Ak.each(["Left","Top"],function(A,C){var B="scroll"+C;
Ak.fn[B]=function(F){var E=this[0],D;
if(!E){return null
}if(F!==Ao){return this.each(function(){D=AF(this),D?D.scrollTo(A?Ak(D).scrollLeft():F,A?F:Ak(D).scrollTop()):this[B]=F
})
}D=AF(E);
return D?"pageXOffset" in D?D[A?"pageYOffset":"pageXOffset"]:Ak.support.boxModel&&D.document.documentElement[B]||D.document.body[B]:E[B]
}
}),Ak.each(["Height","Width"],function(A,C){var B=C.toLowerCase();
Ak.fn["inner"+C]=function(){return this[0]?parseFloat(Ak.css(this[0],B,"padding")):null
},Ak.fn["outer"+C]=function(D){return this[0]?parseFloat(Ak.css(this[0],B,D?"margin":"border")):null
},Ak.fn[B]=function(D){var H=this[0];
if(!H){return D==null?null:this
}if(Ak.isFunction(D)){return this.each(function(I){var J=Ak(this);
J[B](D.call(this,I,J[B]()))
})
}if(Ak.isWindow(H)){var G=H.document.documentElement["client"+C];
return H.document.compatMode==="CSS1Compat"&&G||H.document.body["client"+C]||G
}if(H.nodeType===9){return Math.max(H.documentElement["client"+C],H.body["scroll"+C],H.documentElement["scroll"+C],H.body["offset"+C],H.documentElement["offset"+C])
}if(D===Ao){var F=Ak.css(H,B),E=parseFloat(F);
return Ak.isNaN(E)?F:E
}return this.css(B,typeof D==="string"?D:D+"px")
}
}),Aq.jQuery=Aq.$=Ak
})(window);
$.namespace=function(){var a=arguments,o=null,i,j,d,rt;
for(i=0;
i<a.length;
++i){d=a[i].split(".");
rt=d[0];
eval("if (typeof "+rt+' == "undefined"){'+rt+" = {};} o = "+rt+";");
for(j=1;
j<d.length;
++j){o[d[j]]=o[d[j]]||{};
o=o[d[j]]
}}};
$.namespace("SCSC");
SCSC.ajaxTimeout=5000;
$.ajaxSetup({beforeSend:function(B,A){SCSC.commons.hideErrorMessage()
},error:function(A,C,B){SCSC.commons.errorHandling(A.responseText)
},timeout:SCSC.ajaxTimeout});
(function(A){A("html").addClass("stylish-select");
A(".field").bind("load",function(){if(!Array.prototype.indexOf){Array.prototype.indexOf=function(C,D){for(var B=(D||0);
B<this.length;
B++){alert(C+":object"+D+":Start");
if(this[B]===C){return B
}}}
}});
A.fn.extend({getSetSSValue:function(B){if(B){A(this).val(B).change();
return this
}else{return A(this).find(":selected").val()
}},resetSS:function(){var B=A(this).data("ssOpts");
$this=A(this);
$this.next().remove();
$this.unbind(".sSelect").sSelect(B)
}});
A.fn.sSelect=function(B){return this.each(function(){var I={defaultText:"Please select",animationSpeed:0,ddMaxHeight:"",containerClass:""};
var L=A.extend(I,B),E=A(this),T=A('<div class="arrow"></div>'),J=A('<div class="selectedTxt"></div>'),R=A('<div class="newListSelected '+L.containerClass+'"></div>'),a=A('<ul class="newList" style="visibility:hidden;"></ul>'),U=-1,D=-1,M=[],X=false,W=false,Y;
A(this).data("ssOpts",B);
R.insertAfter(E);
R.attr("tabindex",E.attr("tabindex")||"0");
J.prependTo(T);
T.prependTo(R);
a.appendTo(R);
E.css({position:"absolute",left:"-99999px"});
J.data("ssReRender",!J.is(":visible"));
if(E.children("optgroup").length==0){E.children().each(function(c){var d=A(this).html();
var b=A(this).val();
M.push(d.charAt(0).toLowerCase());
if(A(this).attr("selected")==true){L.defaultText=d;
D=c
}a.append(A('<li><a href="javaScript:void(0);">'+d+"</a></li>").data("key",b))
});
Y=a.children().children()
}else{E.children("optgroup").each(function(){var b=A(this).attr("label"),d=A('<li class="newListOptionTitle">'+b+"</li>");
d.appendTo(a);
var c=A("<ul></ul>");
c.appendTo(d);
A(this).children().each(function(){++U;
var f=A(this).html();
var e=A(this).val();
M.push(f.charAt(0).toLowerCase());
if(A(this).attr("selected")==true){L.defaultText=f;
D=U
}c.append(A('<li><a href="javaScript:void(0);">'+f+"</a></li>").data("key",e))
})
});
Y=a.find("ul li a")
}var O=a.height(),N=R.height(),Z=Y.length;
if(D!=-1){H(D,true)
}else{J.text(L.defaultText)
}function P(){var c=R.offset().top,b=jQuery(window).height(),d=jQuery(window).scrollTop();
if(O>parseInt(L.ddMaxHeight)){O=parseInt(L.ddMaxHeight)
}c=c-d;
if(c+O>=b){a.css({top:"18px",height:O});
E.onTop=true
}else{a.css({top:"18px",height:O});
E.onTop=false
}}P();
A(window).bind("resize.sSelect scroll.sSelect",P);
function S(){R.css("position","relative")
}function C(){R.css("position","static")
}T.bind("click.sSelect",function(b){b.stopPropagation();
if(A(this).data("ssReRender")){O=a.height("").height();
N=R.height();
A(this).data("ssReRender",false);
P()
}A(".newList").not(A(this).next()).hide().parent().css("position","static").removeClass("newListSelFocus");
a.toggle();
S();
Y.eq(D).focus()
});
Y.bind("click.sSelect",function(c){var b=A(c.target);
D=Y.index(b);
A(this).parent().parent().parent().prev().children().attr("selected",false);
A(this).parent().parent().parent().prev().children().eq(D).attr("selected",true);
W=true;
H(D);
a.hide();
R.css("position","static")
});
Y.bind("mouseenter.sSelect",function(c){var b=A(c.target);
b.addClass("newListHover")
}).bind("mouseleave.sSelect",function(c){var b=A(c.target);
b.removeClass("newListHover")
});
function H(b,f){Y.removeClass("hiLite").eq(b).addClass("hiLite");
if(a.is(":visible")){Y.eq(b).focus()
}var e=Y.eq(b).html();
var d=Y.eq(b).parent().data("key");
if(f==true){E.val(d);
J.text(e);
return false
}try{E.val(d)
}catch(c){E[0].selectedIndex=b
}E.change();
J.text(e)
}E.bind("change.sSelect",function(b){$targetInput=A(b.target);
if(W==true){W=false;
return false
}$currentOpt=$targetInput.find(":selected");
D=$targetInput.find("option").index($currentOpt);
H(D,true)
});
function Q(b){A(b).unbind("keydown.sSelect").bind("keydown.sSelect",function(f){var d=f.which;
W=true;
switch(d){case 40:case 39:V();
return false;
break;
case 38:case 37:K();
return false;
break;
case 33:case 36:G();
return false;
break;
case 34:case 35:F();
return false;
break;
case 13:case 27:a.hide();
C();
return false;
break
}keyPressed=String.fromCharCode(d).toLowerCase();
var c=M.indexOf(keyPressed);
if(typeof c!="undefined"){++D;
D=M.indexOf(keyPressed,D);
if(D==-1||D==null||X!=keyPressed){D=M.indexOf(keyPressed)
}H(D);
X=keyPressed;
return false
}})
}function V(){if(D<(Z-1)){++D;
H(D)
}}function K(){if(D>0){--D;
H(D)
}}function G(){D=0;
H(D)
}function F(){D=Z-1;
H(D)
}R.bind("click.sSelect",function(b){b.stopPropagation();
Q(this)
});
R.bind("focus.sSelect",function(){A(this).addClass("newListSelFocus");
Q(this)
});
R.bind("blur.sSelect",function(){A(this).removeClass("newListSelFocus")
});
A(document).bind("click.sSelect",function(){R.removeClass("newListSelFocus");
a.hide();
C()
});
J.bind("mouseenter.sSelect",function(c){var b=A(c.target);
b.parent().addClass("newListSelHover")
}).bind("mouseleave.sSelect",function(c){var b=A(c.target);
b.parent().removeClass("newListSelHover")
});
a.css({left:"8px",display:"none",visibility:"visible",position:"absolute"})
})
}
})(jQuery);
/*
 * jQuery clueTip plugin v1.2.1
 *
 * Date: Mon Jul 18 11:21:34 2011 EDT
 * Requires: jQuery v1.3+
 *
 * Copyright 2011, Karl Swedberg
 * Dual licensed under the MIT and GPL licenses:
 * http://www.opensource.org/licenses/mit-license.php
 * http://www.gnu.org/licenses/gpl.html
 *
 *
 * Examples can be found at http://plugins.learningjquery.com/cluetip/demo/
 *
*/
(function(D){D.cluetip={version:"1.2.1",template:["<div>",'<div class="cluetip-outer">','<h3 class="cluetip-title ui-widget-header ui-cluetip-header"></h3>','<div class="cluetip-inner ui-widget-content ui-cluetip-content"></div>',"</div>",'<div class="cluetip-extra"></div>','<div class="cluetip-arrows ui-state-default"></div>',"</div>"].join(""),setup:{insertionType:"appendTo",insertionElement:"body"},defaults:{multiple:false,width:275,height:"auto",cluezIndex:97,positionBy:"auto",topOffset:15,leftOffset:15,local:false,localPrefix:null,localIdSuffix:null,hideLocal:true,attribute:"rel",titleAttribute:"title",splitTitle:"",escapeTitle:false,showTitle:true,cluetipClass:"default",hoverClass:"",waitImage:true,cursor:"help",arrows:false,dropShadow:true,dropShadowSteps:6,sticky:false,mouseOutClose:false,activation:"hover",clickThrough:true,tracking:false,delayedClose:0,closePosition:"top",closeText:"Close",truncate:0,fx:{open:"show",openSpeed:""},hoverIntent:{sensitivity:3,interval:50,timeout:0},onActivate:function(F){return true
},onShow:function(G,F){},onHide:function(G,F){},ajaxCache:true,ajaxProcess:function(F){F=F.replace(/<(script|style|title)[^<]+<\/(script|style|title)>/gm,"").replace(/<(link|meta)[^>]+>/g,"");
return F
},ajaxSettings:{dataType:"html"},debug:false}};
var E,A="cluetip ui-widget ui-widget-content ui-cluetip",B=0,C=0;
D.fn.attrProp=D.fn.prop||D.fn.attr;
D.fn.cluetip=function(I,V){var R,N,M,J,L,T;
if(typeof I=="object"){V=I;
I=null
}if(I=="destroy"){var K=this.data("cluetip");
if(K){D(K.selector).remove();
D.removeData(this,"title");
D.removeData(this,"cluetip");
D(document).unbind(".cluetip");
return this.unbind(".cluetip")
}}V=D.extend(true,{},D.cluetip.defaults,V||{});
B++;
var H=D.cluetip.backCompat||!V.multiple?"cluetip":"cluetip-"+B,Q="#"+H,O=D.cluetip.backCompat?"#":".",G=D.cluetip.setup.insertionType,F=D.cluetip.setup.insertionElement||"body";
G=(/appendTo|prependTo|insertBefore|insertAfter/).test(G)?G:"appendTo";
R=D(Q);
if(!R.length){R=D(D.cluetip.template)[G](F).attr("id",H).css({position:"absolute",display:"none"});
var U=+V.cluezIndex;
M=R.find(O+"cluetip-outer").css({position:"relative",zIndex:U});
N=R.find(O+"cluetip-inner");
J=R.find(O+"cluetip-title")
}E=D("#cluetip-waitimage");
if(!E.length){E=D("<div></div>").attr("id","cluetip-waitimage").css({position:"absolute"})
}E.insertBefore(R).hide();
var S=(parseInt(R.css("paddingLeft"),10)||0)+(parseInt(R.css("paddingRight"),10)||0);
this.each(function(s){var c=this,j=D(this),q=D.extend(true,{},V,D.metadata?j.metadata():D.meta?j.data():j.data("cluetip")||{}),Y=false,AB=false,AA=0,o=q[q.attribute]||j.attrProp(q.attribute)||j.attr(q.attribute),b=q.cluetipClass;
U=+q.cluezIndex;
j.data("cluetip",{title:c.title,zIndex:U,selector:Q});
if(!o&&!q.splitTitle&&!I){return true
}if(q.local&&q.localPrefix){o=q.localPrefix+o
}if(q.local&&q.hideLocal&&o){D(o+":first").hide()
}var p=parseInt(q.topOffset,10),l=parseInt(q.leftOffset,10);
var k,AC,g=isNaN(parseInt(q.height,10))?"auto":(/\D/g).test(q.height)?q.height:q.height+"px";
var W,d,u,AH,w,AD;
var h=parseInt(q.width,10)||275,AE=h+S+q.dropShadowSteps,m=this.offsetWidth,e,v,AI,x,X;
var z;
var r=(q.attribute!="title")?j.attrProp(q.titleAttribute):"";
if(q.splitTitle){if(r==undefined){r=""
}z=r.split(q.splitTitle);
r=z.shift()
}if(q.escapeTitle){r=r.replace(/&/g,"&amp;").replace(/>/g,"&gt;").replace(/</g,"&lt;")
}var a;
function AG(){return false
}var f=function(AJ){var AP=q.onActivate(j);
if(AP===false){return false
}AB=true;
R=D(Q).css({position:"absolute"});
M=R.find(O+"cluetip-outer");
N=R.find(O+"cluetip-inner");
J=R.find(O+"cluetip-title");
L=R.find(O+"cluetip-arrows");
R.removeClass().css({width:h});
if(o==j.attr("href")){j.css("cursor",q.cursor)
}if(q.hoverClass){j.addClass(q.hoverClass)
}d=u=j.offset().top;
e=j.offset().left;
m=j.innerWidth();
if(AJ.type==focus){x=e+(m/2)+l;
R.css({left:v});
w=u+p
}else{x=AJ.pageX;
w=AJ.pageY
}if(c.tagName.toLowerCase()!="area"){W=D(document).scrollTop();
X=D(window).width()
}if(q.positionBy=="fixed"){v=m+e+l;
R.css({left:v})
}else{v=(m>e&&e>AE)||e+m+AE+l>X?e-AE-l:m+e+l;
if(c.tagName.toLowerCase()=="area"||q.positionBy=="mouse"||m+AE>X){if(x+20+AE>X){R.addClass(" cluetip-"+b);
v=(x-AE-l)>=0?x-AE-l-parseInt(R.css("marginLeft"),10)+parseInt(N.css("marginRight"),10):x-(AE/2)
}else{v=x+l
}}var AK=v<0?AJ.pageY+p:AJ.pageY;
R.css({left:(v>0&&q.positionBy!="bottomTop")?v:(x+(AE/2)>X)?X/2-AE/2:Math.max(x-(AE/2),0),zIndex:j.data("cluetip").zIndex});
L.css({zIndex:j.data("cluetip").zIndex+1})
}AC=D(window).height();
if(I){if(typeof I=="function"){I=I.call(c)
}N.html(I);
y(AK)
}else{if(z){var AM=z.length;
N.html(AM?z[0]:"");
if(AM>1){for(var AL=1;
AL<AM;
AL++){N.append('<div class="split-body">'+z[AL]+"</div>")
}}y(AK)
}else{if(!q.local&&o.indexOf("#")!==0){if(/\.(jpe?g|tiff?|gif|png)(?:\?.*)?$/i.test(o)){N.html('<img src="'+o+'" alt="'+r+'" />');
y(AK)
}else{var AR=q.ajaxSettings.beforeSend,AN=q.ajaxSettings.error,AO=q.ajaxSettings.success,AU=q.ajaxSettings.complete;
var AT={cache:q.ajaxCache,url:o,beforeSend:function(AW,AV){if(AR){AR.call(c,AW,R,N,AV)
}M.children().empty();
if(q.waitImage){E.css({top:w+20,left:x+20,zIndex:j.data("cluetip").zIndex-1}).show()
}},error:function(AV,AW){if(AB){if(AN){AN.call(c,AV,AW,R,N)
}else{N.html("<i>sorry, the contents could not be loaded</i>")
}}},success:function(AV,AW){Y=q.ajaxProcess.call(c,AV);
if(AB){if(AO){AO.call(c,AV,AW,R,N)
}N.html(Y)
}},complete:function(AX,AZ){if(AU){AU.call(c,AX,AZ,R,N)
}var AY=N[0].getElementsByTagName("img");
C=AY.length;
for(var AW=0,AV=AY.length;
AW<AV;
AW++){if(AY[AW].complete){C--
}}if(C&&!D.browser.opera){D(AY).bind("load error",function(){C--;
if(C<1){E.hide();
if(AB){y(AK)
}}})
}else{E.hide();
if(AB){y(AK)
}}}};
var AQ=D.extend(true,{},q.ajaxSettings,AT);
D.ajax(AQ)
}}else{if(q.local){var AS=D(o+(/#\S+$/.test(o)?"":":eq("+s+")")).clone(true).show();
if(q.localIdSuffix){AS.attr("id",AS[0].id+q.localIdSuffix)
}N.html(AS);
y(AK)
}}}}};
var y=function(AM){var AK,AL,AP,AQ="",AO="";
R.addClass("cluetip-"+b);
if(q.truncate){var AN=N.text().slice(0,q.truncate)+"...";
N.html(AN)
}function AJ(){}r?J.show().html(r):(q.showTitle)?J.show().html("&nbsp;"):J.hide();
if(q.sticky){AK=D('<div class="cluetip-close"><a href="#">'+q.closeText+"</a></div>");
(q.closePosition=="bottom")?AK.appendTo(N):(q.closePosition=="title")?AK.prependTo(J):AK.prependTo(N);
AK.bind("click.cluetip",function(){n();
return false
});
if(q.mouseOutClose){R.bind("mouseleave.cluetip",function(){n()
})
}else{R.unbind("mouseleave.cluetip")
}}M.css({zIndex:j.data("cluetip").zIndex,overflow:g=="auto"?"visible":"auto",height:g});
k=g=="auto"?Math.max(R.outerHeight(),R.height()):parseInt(g,10);
AH=u;
AD=W+AC;
if(q.positionBy=="fixed"){AH=u-q.dropShadowSteps+p
}else{if((v<x&&Math.max(v,0)+AE>x)||q.positionBy=="bottomTop"){if(u+k+p>AD&&w-W>k+p){AH=w-k-p;
AO="top"
}else{AH=w+p;
AO="bottom"
}}else{if(u+k+p>AD){AH=(k>=AC)?W:AD-k-p
}else{if(j.css("display")=="block"||c.tagName.toLowerCase()=="area"||q.positionBy=="mouse"){AH=AM-p
}else{AH=u-q.dropShadowSteps
}}}}if(AO==""){v<e?AO="left":AO="right"
}AL=" clue-"+AO+"-"+b+" cluetip-"+b;
if(b=="rounded"){AL+=" ui-corner-all"
}R.css({top:AH+"px"}).attrProp({className:A+AL});
if(q.arrows){if(/(left|right)/.test(AO)){AP=R.height()-L.height();
AQ=v>=0&&AM>0?(u-AH-q.dropShadowSteps):0;
AQ=AP>AQ?AQ:AP;
AQ+="px"
}L.css({top:AQ}).show()
}else{L.hide()
}T=P(R,q);
if(T&&T.length){T.hide().css({height:k,width:h,zIndex:j.data("cluetip").zIndex-1}).show()
}R.hide()[q.fx.open](q.fx.openSpeed||0);
if(D.fn.bgiframe){R.bgiframe()
}if(q.delayedClose>0){AA=setTimeout(n,q.delayedClose)
}q.onShow.call(c,R,N)
};
var AF=function(AJ){AB=false;
E.hide();
if(!q.sticky||(/click|toggle/).test(q.activation)){n();
clearTimeout(AA)
}if(q.hoverClass){j.removeClass(q.hoverClass)
}};
var n=function(AO){var AK=AO&&AO.data("cluetip")?AO:j,AM=AK.data("cluetip").selector,AN=D(AM),AJ=AN.find(O+"cluetip-inner"),AL=AN.find(O+"cluetip-arrows");
AN.hide().removeClass();
q.onHide.call(AK[0],AN,AJ);
AK.removeClass("cluetip-clicked");
if(r){AK.attrProp(q.titleAttribute,r)
}AK.css("cursor","");
if(q.arrows){AL.css({top:""})
}};
D(document).unbind("hideCluetip.cluetip").bind("hideCluetip.cluetip",function(AJ){n(D(AJ.target))
});
if((/click|toggle/).test(q.activation)){j.bind("click.cluetip",function(AJ){if(R.is(":hidden")||!j.is(".cluetip-clicked")){f(AJ);
D(".cluetip-clicked").removeClass("cluetip-clicked");
j.addClass("cluetip-clicked")
}else{AF(AJ)
}return false
})
}else{if(q.activation=="focus"){j.bind("focus.cluetip",function(AJ){j.attrProp("title","");
f(AJ)
});
j.bind("blur.cluetip",function(AJ){j.attrProp("title",j.data("cluetip").title);
AF(AJ)
})
}else{j[q.clickThrough?"unbind":"bind"]("click.cluetip",AG);
var Z=function(AJ){if(q.tracking==true){var AL=v-AJ.pageX;
var AK=AH?AH-AJ.pageY:u-AJ.pageY;
j.bind("mousemove.cluetip",function(AM){R.css({left:AM.pageX+AL,top:AM.pageY+AK})
})
}};
if(D.fn.hoverIntent&&q.hoverIntent){j.hoverIntent({sensitivity:q.hoverIntent.sensitivity,interval:q.hoverIntent.interval,over:function(AJ){f(AJ);
Z(AJ)
},timeout:q.hoverIntent.timeout,out:function(AJ){AF(AJ);
j.unbind("mousemove.cluetip")
}})
}else{j.bind("mouseenter.cluetip",function(AJ){f(AJ);
Z(AJ)
}).bind("mouseleave.cluetip",function(AJ){AF(AJ);
j.unbind("mousemove.cluetip")
})
}j.bind("mouseover.cluetip",function(AJ){j.attrProp("title","")
}).bind("mouseleave.cluetip",function(AJ){j.attrProp("title",j.data("cluetip").title)
})
}}});
function P(c,Z,d){var Y=(Z.dropShadow&&Z.dropShadowSteps)?+Z.dropShadowSteps:0;
if(D.support.boxShadow){var X=Y===0?"0 0 ":"1px 1px ";
c.css(D.support.boxShadow,X+Y+"px rgba(0,0,0,0.5)");
return false
}var W=c.find("cluetip-drop-shadow");
if(Y==W.length){return W
}W.remove();
var b=[];
for(var a=0;
a<Y;
){b[a++]='<div style="top:'+a+"px;left:"+a+'px;"></div>'
}d=D(b.join("")).css({position:"absolute",backgroundColor:"#000",zIndex:U-1,opacity:0.1}).addClass("cluetip-drop-shadow").prependTo("#cluetip");
return d
}return this
};
(function(){D.support=D.support||{};
var F=document.createElement("div"),H=F.style,O=["boxShadow"],M=["moz","Moz","webkit","o"];
for(var N=0,J=O.length;
N<J;
N++){var G=O[N],I=G.charAt(0).toUpperCase()+G.slice(1);
if(typeof H[G]!=="undefined"){D.support[G]=G
}else{for(var L=0,K=M.length;
L<K;
L++){if(typeof H[M[L]+I]!=="undefined"){D.support[G]=M[L]+I;
break
}}}}F=null
})();
D.fn.cluetip.defaults=D.cluetip.defaults
})(jQuery);
jQuery.fn.labelify=function(A){A=jQuery.extend({text:"title",labelledClass:""},A);
var B={title:function(E){return $(E).attr("title")
},label:function(E){return $("label[for="+E.id+"]").text()
}};
var D;
var C=$(this);
return $(this).each(function(){if(typeof A.text==="string"){D=B[A.text]
}else{D=A.text
}if(typeof D!=="function"){return 
}var F=D(this);
if(!F){return 
}$(this).data("label",D(this).replace(/\n/g,""));
$(this).focus(function(){if(this.value===$(this).data("label")){this.value=this.defaultValue;
$(this).removeClass(A.labelledClass)
}}).blur(function(){if(this.value===this.defaultValue){this.value=$(this).data("label");
$(this).addClass(A.labelledClass)
}});
var E=function(){C.each(function(){if(this.value===$(this).data("label")){this.value=this.defaultValue;
$(this).removeClass(A.labelledClass)
}})
};
$(this).parents("form").submit(E);
$(window).unload(E);
if(this.value!==this.defaultValue){return 
}this.value=$(this).data("label");
$(this).addClass(A.labelledClass)
})
};
/*
 * jQuery UI 1.8.16
 *
 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * http://docs.jquery.com/UI
 */
(function(D,C){function B(F,E){var G=F.nodeName.toLowerCase();
if("area"===G){E=F.parentNode;
G=E.name;
if(!F.href||!G||E.nodeName.toLowerCase()!=="map"){return false
}F=D("img[usemap=#"+G+"]")[0];
return !!F&&A(F)
}return(/input|select|textarea|button|object/.test(G)?!F.disabled:"a"==G?F.href||E:E)&&A(F)
}function A(E){return !D(E).parents().andSelf().filter(function(){return D.curCSS(this,"visibility")==="hidden"||D.expr.filters.hidden(this)
}).length
}D.ui=D.ui||{};
if(!D.ui.version){D.extend(D.ui,{version:"1.8.16",keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91}});
D.fn.extend({propAttr:D.fn.prop||D.fn.attr,_focus:D.fn.focus,focus:function(F,E){return typeof F==="number"?this.each(function(){var G=this;
setTimeout(function(){D(G).focus();
E&&E.call(G)
},F)
}):this._focus.apply(this,arguments)
},scrollParent:function(){var E;
E=D.browser.msie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(D.curCSS(this,"position",1))&&/(auto|scroll)/.test(D.curCSS(this,"overflow",1)+D.curCSS(this,"overflow-y",1)+D.curCSS(this,"overflow-x",1))
}).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(D.curCSS(this,"overflow",1)+D.curCSS(this,"overflow-y",1)+D.curCSS(this,"overflow-x",1))
}).eq(0);
return/fixed/.test(this.css("position"))||!E.length?D(document):E
},zIndex:function(F){if(F!==C){return this.css("zIndex",F)
}if(this.length){F=D(this[0]);
for(var E;
F.length&&F[0]!==document;
){E=F.css("position");
if(E==="absolute"||E==="relative"||E==="fixed"){E=parseInt(F.css("zIndex"),10);
if(!isNaN(E)&&E!==0){return E
}}F=F.parent()
}}return 0
},disableSelection:function(){return this.bind((D.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(E){E.preventDefault()
})
},enableSelection:function(){return this.unbind(".ui-disableSelection")
}});
D.each(["Width","Height"],function(F,E){function J(M,L,K,N){D.each(I,function(){L-=parseFloat(D.curCSS(M,"padding"+this,true))||0;
if(K){L-=parseFloat(D.curCSS(M,"border"+this+"Width",true))||0
}if(N){L-=parseFloat(D.curCSS(M,"margin"+this,true))||0
}});
return L
}var I=E==="Width"?["Left","Right"]:["Top","Bottom"],H=E.toLowerCase(),G={innerWidth:D.fn.innerWidth,innerHeight:D.fn.innerHeight,outerWidth:D.fn.outerWidth,outerHeight:D.fn.outerHeight};
D.fn["inner"+E]=function(K){if(K===C){return G["inner"+E].call(this)
}return this.each(function(){D(this).css(H,J(this,K)+"px")
})
};
D.fn["outer"+E]=function(L,K){if(typeof L!=="number"){return G["outer"+E].call(this,L)
}return this.each(function(){D(this).css(H,J(this,L,true,K)+"px")
})
}
});
D.extend(D.expr[":"],{data:function(F,E,G){return !!D.data(F,G[3])
},focusable:function(E){return B(E,!isNaN(D.attr(E,"tabindex")))
},tabbable:function(F){var E=D.attr(F,"tabindex"),G=isNaN(E);
return(G||E>=0)&&B(F,!G)
}});
D(function(){var F=document.body,E=F.appendChild(E=document.createElement("div"));
D.extend(E.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0});
D.support.minHeight=E.offsetHeight===100;
D.support.selectstart="onselectstart" in E;
F.removeChild(E).style.display="none"
});
D.extend(D.ui,{plugin:{add:function(F,E,H){F=D.ui[F].prototype;
for(var G in H){F.plugins[G]=F.plugins[G]||[];
F.plugins[G].push([E,H[G]])
}},call:function(F,E,H){if((E=F.plugins[E])&&F.element[0].parentNode){for(var G=0;
G<E.length;
G++){F.options[E[G][0]]&&E[G][1].apply(F.element,H)
}}}},contains:function(F,E){return document.compareDocumentPosition?F.compareDocumentPosition(E)&16:F!==E&&F.contains(E)
},hasScroll:function(F,E){if(D(F).css("overflow")==="hidden"){return false
}E=E&&E==="left"?"scrollLeft":"scrollTop";
var G=false;
if(F[E]>0){return true
}F[E]=1;
G=F[E]>0;
F[E]=0;
return G
},isOverAxis:function(F,E,G){return F>E&&F<E+G
},isOver:function(F,E,J,I,H,G){return D.ui.isOverAxis(F,J,H)&&D.ui.isOverAxis(E,I,G)
}})
}})(jQuery);
/*
 * jQuery UI Widget 1.8.16
 *
 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * http://docs.jquery.com/UI/Widget
 */
(function(A,D){if(A.cleanData){var C=A.cleanData;
A.cleanData=function(E){for(var H=0,G;
(G=E[H])!=null;
H++){try{A(G).triggerHandler("remove")
}catch(F){}}C(E)
}
}else{var B=A.fn.remove;
A.fn.remove=function(E,F){return this.each(function(){if(!F){if(!E||A.filter(E,[this]).length){A("*",this).add([this]).each(function(){try{A(this).triggerHandler("remove")
}catch(G){}})
}}return B.call(A(this),E,F)
})
}
}A.widget=function(E,I,H){var G=E.split(".")[0],F;
E=E.split(".")[1];
F=G+"-"+E;
if(!H){H=I;
I=A.Widget
}A.expr[":"][F]=function(J){return !!A.data(J,E)
};
A[G]=A[G]||{};
A[G][E]=function(J,K){arguments.length&&this._createWidget(J,K)
};
I=new I;
I.options=A.extend(true,{},I.options);
A[G][E].prototype=A.extend(true,I,{namespace:G,widgetName:E,widgetEventPrefix:A[G][E].prototype.widgetEventPrefix||E,widgetBaseClass:F},H);
A.widget.bridge(E,A[G][E])
};
A.widget.bridge=function(E,F){A.fn[E]=function(J){var I=typeof J==="string",H=Array.prototype.slice.call(arguments,1),G=this;
J=!I&&H.length?A.extend.apply(null,[true,J].concat(H)):J;
if(I&&J.charAt(0)==="_"){return G
}I?this.each(function(){var L=A.data(this,E),K=L&&A.isFunction(L[J])?L[J].apply(L,H):L;
if(K!==L&&K!==D){G=K;
return false
}}):this.each(function(){var K=A.data(this,E);
K?K.option(J||{})._init():A.data(this,E,new F(J,this))
});
return G
}
};
A.Widget=function(E,F){arguments.length&&this._createWidget(E,F)
};
A.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:false},_createWidget:function(E,G){A.data(G,this.widgetName,this);
this.element=A(G);
this.options=A.extend(true,{},this.options,this._getCreateOptions(),E);
var F=this;
this.element.bind("remove."+this.widgetName,function(){F.destroy()
});
this._create();
this._trigger("create");
this._init()
},_getCreateOptions:function(){return A.metadata&&A.metadata.get(this.element[0])[this.widgetName]
},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+this.widgetName).removeData(this.widgetName);
this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+"-disabled ui-state-disabled")
},widget:function(){return this.element
},option:function(E,G){var F=E;
if(arguments.length===0){return A.extend({},this.options)
}if(typeof E==="string"){if(G===D){return this.options[E]
}F={};
F[E]=G
}this._setOptions(F);
return this
},_setOptions:function(E){var F=this;
A.each(E,function(H,G){F._setOption(H,G)
});
return this
},_setOption:function(E,F){this.options[E]=F;
if(E==="disabled"){this.widget()[F?"addClass":"removeClass"](this.widgetBaseClass+"-disabled ui-state-disabled").attr("aria-disabled",F)
}return this
},enable:function(){return this._setOption("disabled",false)
},disable:function(){return this._setOption("disabled",true)
},_trigger:function(E,I,H){var G=this.options[E];
I=A.Event(I);
I.type=(E===this.widgetEventPrefix?E:this.widgetEventPrefix+E).toLowerCase();
H=H||{};
if(I.originalEvent){E=A.event.props.length;
for(var F;
E;
){F=A.event.props[--E];
I[F]=I.originalEvent[F]
}}this.element.trigger(I,H);
return !(A.isFunction(G)&&G.call(this.element[0],I,H)===false||I.isDefaultPrevented())
}}
})(jQuery);
/*
 * jQuery UI Mouse 1.8.16
 *
 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * http://docs.jquery.com/UI/Mouse
 *
 * Depends:
 *	jquery.ui.widget.js
 */
(function(A){var B=false;
A(document).mouseup(function(){B=false
});
A.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var C=this;
this.element.bind("mousedown."+this.widgetName,function(D){return C._mouseDown(D)
}).bind("click."+this.widgetName,function(D){if(true===A.data(D.target,C.widgetName+".preventClickEvent")){A.removeData(D.target,C.widgetName+".preventClickEvent");
D.stopImmediatePropagation();
return false
}});
this.started=false
},_mouseDestroy:function(){this.element.unbind("."+this.widgetName)
},_mouseDown:function(C){if(!B){this._mouseStarted&&this._mouseUp(C);
this._mouseDownEvent=C;
var F=this,E=C.which==1,D=typeof this.options.cancel=="string"&&C.target.nodeName?A(C.target).closest(this.options.cancel).length:false;
if(!E||D||!this._mouseCapture(C)){return true
}this.mouseDelayMet=!this.options.delay;
if(!this.mouseDelayMet){this._mouseDelayTimer=setTimeout(function(){F.mouseDelayMet=true
},this.options.delay)
}if(this._mouseDistanceMet(C)&&this._mouseDelayMet(C)){this._mouseStarted=this._mouseStart(C)!==false;
if(!this._mouseStarted){C.preventDefault();
return true
}}true===A.data(C.target,this.widgetName+".preventClickEvent")&&A.removeData(C.target,this.widgetName+".preventClickEvent");
this._mouseMoveDelegate=function(G){return F._mouseMove(G)
};
this._mouseUpDelegate=function(G){return F._mouseUp(G)
};
A(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);
C.preventDefault();
return B=true
}},_mouseMove:function(C){if(A.browser.msie&&!(document.documentMode>=9)&&!C.button){return this._mouseUp(C)
}if(this._mouseStarted){this._mouseDrag(C);
return C.preventDefault()
}if(this._mouseDistanceMet(C)&&this._mouseDelayMet(C)){(this._mouseStarted=this._mouseStart(this._mouseDownEvent,C)!==false)?this._mouseDrag(C):this._mouseUp(C)
}return !this._mouseStarted
},_mouseUp:function(C){A(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);
if(this._mouseStarted){this._mouseStarted=false;
C.target==this._mouseDownEvent.target&&A.data(C.target,this.widgetName+".preventClickEvent",true);
this._mouseStop(C)
}return false
},_mouseDistanceMet:function(C){return Math.max(Math.abs(this._mouseDownEvent.pageX-C.pageX),Math.abs(this._mouseDownEvent.pageY-C.pageY))>=this.options.distance
},_mouseDelayMet:function(){return this.mouseDelayMet
},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return true
}})
})(jQuery);
(function(E){E.ui=E.ui||{};
var D=/left|center|right/,C=/top|center|bottom/,B=E.fn.position,A=E.fn.offset;
E.fn.position=function(F){if(!F||!F.of){return B.apply(this,arguments)
}F=E.extend({},F);
var G=E(F.of),M=G[0],K=(F.collision||"flip").split(" "),L=F.offset?F.offset.split(" "):[0,0],J,H,I;
if(M.nodeType===9){J=G.width();
H=G.height();
I={top:0,left:0}
}else{if(M.setTimeout){J=G.width();
H=G.height();
I={top:G.scrollTop(),left:G.scrollLeft()}
}else{if(M.preventDefault){F.at="left top";
J=H=0;
I={top:F.of.pageY,left:F.of.pageX}
}else{J=G.outerWidth();
H=G.outerHeight();
I=G.offset()
}}}E.each(["my","at"],function(){var N=(F[this]||"").split(" ");
if(N.length===1){N=D.test(N[0])?N.concat(["center"]):C.test(N[0])?["center"].concat(N):["center","center"]
}N[0]=D.test(N[0])?N[0]:"center";
N[1]=C.test(N[1])?N[1]:"center";
F[this]=N
});
if(K.length===1){K[1]=K[0]
}L[0]=parseInt(L[0],10)||0;
if(L.length===1){L[1]=L[0]
}L[1]=parseInt(L[1],10)||0;
if(F.at[0]==="right"){I.left+=J
}else{if(F.at[0]==="center"){I.left+=J/2
}}if(F.at[1]==="bottom"){I.top+=H
}else{if(F.at[1]==="center"){I.top+=H/2
}}I.left+=L[0];
I.top+=L[1];
return this.each(function(){var T=E(this),R=T.outerWidth(),Q=T.outerHeight(),P=parseInt(E.curCSS(this,"marginLeft",true))||0,O=parseInt(E.curCSS(this,"marginTop",true))||0,V=R+P+(parseInt(E.curCSS(this,"marginRight",true))||0),U=Q+O+(parseInt(E.curCSS(this,"marginBottom",true))||0),S=E.extend({},I),N;
if(F.my[0]==="right"){S.left-=R
}else{if(F.my[0]==="center"){S.left-=R/2
}}if(F.my[1]==="bottom"){S.top-=Q
}else{if(F.my[1]==="center"){S.top-=Q/2
}}S.left=Math.round(S.left);
S.top=Math.round(S.top);
N={left:S.left-P,top:S.top-O};
E.each(["left","top"],function(X,W){E.ui.position[K[X]]&&E.ui.position[K[X]][W](S,{targetWidth:J,targetHeight:H,elemWidth:R,elemHeight:Q,collisionPosition:N,collisionWidth:V,collisionHeight:U,offset:L,my:F.my,at:F.at})
});
E.fn.bgiframe&&T.bgiframe();
T.offset(E.extend(S,{using:F.using}))
})
};
E.ui.position={fit:{left:function(F,G){var H=E(window);
H=G.collisionPosition.left+G.collisionWidth-H.width()-H.scrollLeft();
F.left=H>0?F.left-H:Math.max(F.left-G.collisionPosition.left,F.left)
},top:function(F,G){var H=E(window);
H=G.collisionPosition.top+G.collisionHeight-H.height()-H.scrollTop();
F.top=H>0?F.top-H:Math.max(F.top-G.collisionPosition.top,F.top)
}},flip:{left:function(F,G){if(G.at[0]!=="center"){var K=E(window);
K=G.collisionPosition.left+G.collisionWidth-K.width()-K.scrollLeft();
var I=G.my[0]==="left"?-G.elemWidth:G.my[0]==="right"?G.elemWidth:0,J=G.at[0]==="left"?G.targetWidth:-G.targetWidth,H=-2*G.offset[0];
F.left+=G.collisionPosition.left<0?I+J+H:K>0?I+J+H:0
}},top:function(F,G){if(G.at[1]!=="center"){var K=E(window);
K=G.collisionPosition.top+G.collisionHeight-K.height()-K.scrollTop();
var I=G.my[1]==="top"?-G.elemHeight:G.my[1]==="bottom"?G.elemHeight:0,J=G.at[1]==="top"?G.targetHeight:-G.targetHeight,H=-2*G.offset[1];
F.top+=G.collisionPosition.top<0?I+J+H:K>0?I+J+H:0
}}}};
if(!E.offset.setOffset){E.offset.setOffset=function(F,G){if(/static/.test(E.curCSS(F,"position"))){F.style.position="relative"
}var K=E(F),I=K.offset(),J=parseInt(E.curCSS(F,"top",true),10)||0,H=parseInt(E.curCSS(F,"left",true),10)||0;
I={top:G.top-I.top+J,left:G.left-I.left+H};
"using" in G?G.using.call(F,I):K.css(I)
};
E.fn.offset=function(F){var G=this[0];
if(!G||!G.ownerDocument){return null
}if(F){return this.each(function(){E.offset.setOffset(this,F)
})
}return A.call(this)
}
}})(jQuery);
(function(A){A.widget("ui.accordion",{options:{active:0,animated:"slide",autoHeight:true,clearStyle:false,collapsible:false,event:"click",fillSpace:false,header:"> li > :first-child,> :not(li):even",icons:{header:"ui-icon-triangle-1-e",headerSelected:"ui-icon-triangle-1-s"},navigation:false,navigationFilter:function(){return this.href.toLowerCase()===location.href.toLowerCase()
}},_create:function(){var C=this,B=C.options;
C.running=0;
C.element.addClass("ui-accordion ui-widget ui-helper-reset").children("li").addClass("ui-accordion-li-fix");
C.headers=C.element.find(B.header).addClass("ui-accordion-header ui-helper-reset ui-state-default ui-corner-all").bind("mouseenter.accordion",function(){B.disabled||A(this).addClass("ui-state-hover")
}).bind("mouseleave.accordion",function(){B.disabled||A(this).removeClass("ui-state-hover")
}).bind("focus.accordion",function(){B.disabled||A(this).addClass("ui-state-focus")
}).bind("blur.accordion",function(){B.disabled||A(this).removeClass("ui-state-focus")
});
C.headers.next().addClass("ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom");
if(B.navigation){var E=C.element.find("a").filter(B.navigationFilter).eq(0);
if(E.length){var D=E.closest(".ui-accordion-header");
C.active=D.length?D:E.closest(".ui-accordion-content").prev()
}}C.active=C._findActive(C.active||B.active).addClass("ui-state-default ui-state-active").toggleClass("ui-corner-all").toggleClass("ui-corner-top");
C.active.next().addClass("ui-accordion-content-active");
C._createIcons();
C.resize();
C.element.attr("role","tablist");
C.headers.attr("role","tab").bind("keydown.accordion",function(F){return C._keydown(F)
}).next().attr("role","tabpanel");
C.headers.not(C.active||"").attr({"aria-expanded":"false","aria-selected":"false",tabIndex:-1}).next().hide();
C.active.length?C.active.attr({"aria-expanded":"true","aria-selected":"true",tabIndex:0}):C.headers.eq(0).attr("tabIndex",0);
A.browser.safari||C.headers.find("a").attr("tabIndex",-1);
B.event&&C.headers.bind(B.event.split(" ").join(".accordion ")+".accordion",function(F){C._clickHandler.call(C,F,this);
F.preventDefault()
})
},_createIcons:function(){var B=this.options;
if(B.icons){A("<span></span>").addClass("ui-icon "+B.icons.header).prependTo(this.headers);
this.active.children(".ui-icon").toggleClass(B.icons.header).toggleClass(B.icons.headerSelected);
this.element.addClass("ui-accordion-icons")
}},_destroyIcons:function(){this.headers.children(".ui-icon").remove();
this.element.removeClass("ui-accordion-icons")
},destroy:function(){var C=this.options;
this.element.removeClass("ui-accordion ui-widget ui-helper-reset").removeAttr("role");
this.headers.unbind(".accordion").removeClass("ui-accordion-header ui-accordion-disabled ui-helper-reset ui-state-default ui-corner-all ui-state-active ui-state-disabled ui-corner-top").removeAttr("role").removeAttr("aria-expanded").removeAttr("aria-selected").removeAttr("tabIndex");
this.headers.find("a").removeAttr("tabIndex");
this._destroyIcons();
var B=this.headers.next().css("display","").removeAttr("role").removeClass("ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content ui-accordion-content-active ui-accordion-disabled ui-state-disabled");
if(C.autoHeight||C.fillHeight){B.css("height","")
}return A.Widget.prototype.destroy.call(this)
},_setOption:function(C,B){A.Widget.prototype._setOption.apply(this,arguments);
C=="active"&&this.activate(B);
if(C=="icons"){this._destroyIcons();
B&&this._createIcons()
}if(C=="disabled"){this.headers.add(this.headers.next())[B?"addClass":"removeClass"]("ui-accordion-disabled ui-state-disabled")
}},_keydown:function(C){if(!(this.options.disabled||C.altKey||C.ctrlKey)){var B=A.ui.keyCode,F=this.headers.length,D=this.headers.index(C.target),E=false;
switch(C.keyCode){case B.RIGHT:case B.DOWN:E=this.headers[(D+1)%F];
break;
case B.LEFT:case B.UP:E=this.headers[(D-1+F)%F];
break;
case B.SPACE:case B.ENTER:this._clickHandler({target:C.target},C.target);
C.preventDefault()
}if(E){A(C.target).attr("tabIndex",-1);
A(E).attr("tabIndex",0);
E.focus();
return false
}return true
}},resize:function(){var C=this.options,B;
if(C.fillSpace){if(A.browser.msie){var D=this.element.parent().css("overflow");
this.element.parent().css("overflow","hidden")
}B=this.element.parent().height();
A.browser.msie&&this.element.parent().css("overflow",D);
this.headers.each(function(){B-=A(this).outerHeight(true)
});
this.headers.next().each(function(){A(this).height(Math.max(0,B-A(this).innerHeight()+A(this).height()))
}).css("overflow","auto")
}else{if(C.autoHeight){B=0;
this.headers.next().each(function(){B=Math.max(B,A(this).height("").height())
}).height(B)
}}return this
},activate:function(B){this.options.active=B;
B=this._findActive(B)[0];
this._clickHandler({target:B},B);
return this
},_findActive:function(B){return B?typeof B==="number"?this.headers.filter(":eq("+B+")"):this.headers.not(this.headers.not(B)):B===false?A([]):this.headers.filter(":eq(0)")
},_clickHandler:function(C,B){var I=this.options;
if(!I.disabled){if(C.target){C=A(C.currentTarget||B);
B=C[0]===this.active[0];
I.active=I.collapsible&&B?false:this.headers.index(C);
if(!(this.running||!I.collapsible&&B)){var E=this.active;
D=C.next();
F=this.active.next();
H={options:I,newHeader:B&&I.collapsible?A([]):C,oldHeader:this.active,newContent:B&&I.collapsible?A([]):D,oldContent:F};
var G=this.headers.index(this.active[0])>this.headers.index(C[0]);
this.active=B?A([]):C;
this._toggle(D,F,H,B,G);
E.removeClass("ui-state-active ui-corner-top").addClass("ui-state-default ui-corner-all").children(".ui-icon").removeClass(I.icons.headerSelected).addClass(I.icons.header);
if(!B){C.removeClass("ui-state-default ui-corner-all").addClass("ui-state-active ui-corner-top").children(".ui-icon").removeClass(I.icons.header).addClass(I.icons.headerSelected);
C.next().addClass("ui-accordion-content-active")
}}}else{if(I.collapsible){this.active.removeClass("ui-state-active ui-corner-top").addClass("ui-state-default ui-corner-all").children(".ui-icon").removeClass(I.icons.headerSelected).addClass(I.icons.header);
this.active.next().addClass("ui-accordion-content-active");
var F=this.active.next(),H={options:I,newHeader:A([]),oldHeader:I.active,newContent:A([]),oldContent:F},D=this.active=A([]);
this._toggle(D,F,H)
}}}},_toggle:function(K,J,I,E,G){var F=this,H=F.options;
F.toShow=K;
F.toHide=J;
F.data=I;
var C=function(){if(F){return F._completed.apply(F,arguments)
}};
F._trigger("changestart",null,F.data);
F.running=J.size()===0?K.size():J.size();
if(H.animated){I={};
I=H.collapsible&&E?{toShow:A([]),toHide:J,complete:C,down:G,autoHeight:H.autoHeight||H.fillSpace}:{toShow:K,toHide:J,complete:C,down:G,autoHeight:H.autoHeight||H.fillSpace};
if(!H.proxied){H.proxied=H.animated
}if(!H.proxiedDuration){H.proxiedDuration=H.duration
}H.animated=A.isFunction(H.proxied)?H.proxied(I):H.proxied;
H.duration=A.isFunction(H.proxiedDuration)?H.proxiedDuration(I):H.proxiedDuration;
E=A.ui.accordion.animations;
var D=H.duration,B=H.animated;
if(B&&!E[B]&&!A.easing[B]){B="slide"
}E[B]||(E[B]=function(L){this.slide(L,{easing:B,duration:D||700})
});
E[B](I)
}else{if(H.collapsible&&E){K.toggle()
}else{J.hide();
K.show()
}C(true)
}J.prev().attr({"aria-expanded":"false","aria-selected":"false",tabIndex:-1}).blur();
K.prev().attr({"aria-expanded":"true","aria-selected":"true",tabIndex:0}).focus()
},_completed:function(B){this.running=B?0:--this.running;
if(!this.running){this.options.clearStyle&&this.toShow.add(this.toHide).css({height:"",overflow:""});
this.toHide.removeClass("ui-accordion-content-active");
if(this.toHide.length){this.toHide.parent()[0].className=this.toHide.parent()[0].className
}this._trigger("change",null,this.data)
}}});
A.extend(A.ui.accordion,{version:"1.8.16",animations:{slide:function(C,B){C=A.extend({easing:"swing",duration:300},C,B);
if(C.toHide.size()){if(C.toShow.size()){var H=C.toShow.css("overflow"),D=0,F={},E={},G;
B=C.toShow;
G=B[0].style.width;
B.width(parseInt(B.parent().width(),10)-parseInt(B.css("paddingLeft"),10)-parseInt(B.css("paddingRight"),10)-(parseInt(B.css("borderLeftWidth"),10)||0)-(parseInt(B.css("borderRightWidth"),10)||0));
A.each(["height","paddingTop","paddingBottom"],function(I,J){E[J]="hide";
I=(""+A.css(C.toShow[0],J)).match(/^([\d+-.]+)(.*)$/);
F[J]={value:I[1],unit:I[2]||"px"}
});
C.toShow.css({height:0,overflow:"hidden"}).show();
C.toHide.filter(":hidden").each(C.complete).end().filter(":visible").animate(E,{step:function(I,J){if(J.prop=="height"){D=J.end-J.start===0?0:(J.now-J.start)/(J.end-J.start)
}C.toShow[0].style[J.prop]=D*F[J.prop].value+F[J.prop].unit
},duration:C.duration,easing:C.easing,complete:function(){C.autoHeight||C.toShow.css("height","");
C.toShow.css({width:G,overflow:H});
C.complete()
}})
}else{C.toHide.animate({height:"hide",paddingTop:"hide",paddingBottom:"hide"},C)
}}else{C.toShow.animate({height:"show",paddingTop:"show",paddingBottom:"show"},C)
}},bounceslide:function(B){this.slide(B,{easing:B.down?"easeOutBounce":"swing",duration:B.down?1000:200})
}}})
})(jQuery);
(function(B){var A=0;
B.widget("ui.autocomplete",{options:{appendTo:"body",autoFocus:false,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null},pending:0,_create:function(){var D=this,C=this.element[0].ownerDocument,E;
this.element.addClass("ui-autocomplete-input").attr("autocomplete","off").attr({role:"textbox","aria-autocomplete":"list","aria-haspopup":"true"}).bind("keydown.autocomplete",function(G){if(!(D.options.disabled||D.element.propAttr("readOnly"))){E=false;
var F=B.ui.keyCode;
switch(G.keyCode){case F.PAGE_UP:D._move("previousPage",G);
break;
case F.PAGE_DOWN:D._move("nextPage",G);
break;
case F.UP:D._move("previous",G);
G.preventDefault();
break;
case F.DOWN:D._move("next",G);
G.preventDefault();
break;
case F.ENTER:case F.NUMPAD_ENTER:if(D.menu.active){E=true;
G.preventDefault()
}case F.TAB:if(!D.menu.active){return 
}D.menu.select(G);
break;
case F.ESCAPE:D.element.val(D.term);
D.close(G);
break;
default:clearTimeout(D.searching);
D.searching=setTimeout(function(){if(D.term!=D.element.val()){D.selectedItem=null;
D.search(null,G)
}},D.options.delay);
break
}}}).bind("keypress.autocomplete",function(F){if(E){E=false;
F.preventDefault()
}}).bind("focus.autocomplete",function(){if(!D.options.disabled){D.selectedItem=null;
D.previous=D.element.val()
}}).bind("blur.autocomplete",function(F){if(!D.options.disabled){clearTimeout(D.searching);
D.closing=setTimeout(function(){D.close(F);
D._change(F)
},150)
}});
this._initSource();
this.response=function(){return D._response.apply(D,arguments)
};
this.menu=B("<ul></ul>").addClass("ui-autocomplete").appendTo(B(this.options.appendTo||"body",C)[0]).mousedown(function(G){var F=D.menu.element[0];
B(G.target).closest(".ui-menu-item").length||setTimeout(function(){B(document).one("mousedown",function(H){H.target!==D.element[0]&&H.target!==F&&!B.ui.contains(F,H.target)&&D.close()
})
},1);
setTimeout(function(){clearTimeout(D.closing)
},13)
}).menu({focus:function(G,F){F=F.item.data("item.autocomplete");
false!==D._trigger("focus",G,{item:F})&&/^key/.test(G.originalEvent.type)&&D.element.val(F.value)
},selected:function(I,H){var G=H.item.data("item.autocomplete"),F=D.previous;
if(D.element[0]!==C.activeElement){D.element.focus();
D.previous=F;
setTimeout(function(){D.previous=F;
D.selectedItem=G
},1)
}false!==D._trigger("select",I,{item:G})&&D.element.val(G.value);
D.term=D.element.val();
D.close(I);
D.selectedItem=G
},blur:function(){D.menu.element.is(":visible")&&D.element.val()!==D.term&&D.element.val(D.term)
}}).zIndex(this.element.zIndex()+1).css({top:0,left:0}).hide().data("menu");
B.fn.bgiframe&&this.menu.element.bgiframe()
},destroy:function(){this.element.removeClass("ui-autocomplete-input").removeAttr("autocomplete").removeAttr("role").removeAttr("aria-autocomplete").removeAttr("aria-haspopup");
this.menu.element.remove();
B.Widget.prototype.destroy.call(this)
},_setOption:function(D,C){B.Widget.prototype._setOption.apply(this,arguments);
D==="source"&&this._initSource();
if(D==="appendTo"){this.menu.element.appendTo(B(C||"body",this.element[0].ownerDocument)[0])
}D==="disabled"&&C&&this.xhr&&this.xhr.abort()
},_initSource:function(){var D=this,C,E;
if(B.isArray(this.options.source)){C=this.options.source;
this.source=function(G,F){F(B.ui.autocomplete.filter(C,G.term))
}
}else{if(typeof this.options.source==="string"){E=this.options.source;
this.source=function(G,F){D.xhr&&D.xhr.abort();
D.xhr=B.ajax({url:E,data:G,dataType:"json",autocompleteRequest:++A,success:function(H){this.autocompleteRequest===A&&F(H)
},error:function(){this.autocompleteRequest===A&&F([])
}})
}
}else{this.source=this.options.source
}}},search:function(D,C){D=D!=null?D:this.element.val();
this.term=this.element.val();
if(D.length<this.options.minLength){return this.close(C)
}clearTimeout(this.closing);
if(this._trigger("search",C)!==false){return this._search(D)
}},_search:function(C){this.pending++;
this.element.addClass("ui-autocomplete-loading");
this.source({term:C},this.response)
},_response:function(C){if(!this.options.disabled&&C&&C.length){C=this._normalize(C);
this._suggest(C);
this._trigger("open")
}else{this.close()
}this.pending--;
this.pending||this.element.removeClass("ui-autocomplete-loading")
},close:function(C){clearTimeout(this.closing);
if(this.menu.element.is(":visible")){this.menu.element.hide();
this.menu.deactivate();
this._trigger("close",C)
}},_change:function(C){this.previous!==this.element.val()&&this._trigger("change",C,{item:this.selectedItem})
},_normalize:function(C){if(C.length&&C[0].label&&C[0].value){return C
}return B.map(C,function(D){if(typeof D==="string"){return{label:D,value:D}
}return B.extend({label:D.label||D.value,value:D.value||D.label},D)
})
},_suggest:function(D){var C=this.menu.element.empty().zIndex(this.element.zIndex()+1);
this._renderMenu(C,D);
this.menu.deactivate();
this.menu.refresh();
C.show();
this._resizeMenu();
C.position(B.extend({of:this.element},this.options.position));
this.options.autoFocus&&this.menu.next(new B.Event("mouseover"))
},_resizeMenu:function(){var C=this.menu.element;
C.outerWidth(Math.max(C.width("").outerWidth(),this.element.outerWidth()))
},_renderMenu:function(D,C){var E=this;
B.each(C,function(G,F){E._renderItem(D,F)
})
},_renderItem:function(D,C){return B("<li></li>").data("item.autocomplete",C).append(B("<a></a>").text(C.label)).appendTo(D)
},_move:function(D,C){if(this.menu.element.is(":visible")){if(this.menu.first()&&/^previous/.test(D)||this.menu.last()&&/^next/.test(D)){this.element.val(this.term);
this.menu.deactivate()
}else{this.menu[D](C)
}}else{this.search(null,C)
}},widget:function(){return this.menu.element
}});
B.extend(B.ui.autocomplete,{escapeRegex:function(C){return C.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")
},filter:function(D,C){var E=new RegExp(B.ui.autocomplete.escapeRegex(C),"i");
return B.grep(D,function(F){return E.test(F.label||F.value||F)
})
}})
})(jQuery);
(function(A){A.widget("ui.menu",{_create:function(){var B=this;
this.element.addClass("ui-menu ui-widget ui-widget-content ui-corner-all").attr({role:"listbox","aria-activedescendant":"ui-active-menuitem"}).click(function(C){if(A(C.target).closest(".ui-menu-item a").length){C.preventDefault();
B.select(C)
}});
this.refresh()
},refresh:function(){var B=this;
this.element.children("li:not(.ui-menu-item):has(a)").addClass("ui-menu-item").attr("role","menuitem").children("a").addClass("ui-corner-all").attr("tabindex",-1).mouseenter(function(C){B.activate(C,A(this).parent())
}).mouseleave(function(){B.deactivate()
})
},activate:function(E,C){this.deactivate();
if(this.hasScroll()){var B=C.offset().top-this.element.offset().top,D=this.element.scrollTop(),F=this.element.height();
if(B<0){this.element.scrollTop(D+B)
}else{B>=F&&this.element.scrollTop(D+B-F+C.height())
}}this.active=C.eq(0).children("a").addClass("ui-state-hover").attr("id","ui-active-menuitem").end();
this._trigger("focus",E,{item:C})
},deactivate:function(){if(this.active){this.active.children("a").removeClass("ui-state-hover").removeAttr("id");
this._trigger("blur");
this.active=null
}},next:function(B){this.move("next",".ui-menu-item:first",B)
},previous:function(B){this.move("prev",".ui-menu-item:last",B)
},first:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length
},last:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length
},move:function(D,C,B){if(this.active){D=this.active[D+"All"](".ui-menu-item").eq(0);
D.length?this.activate(B,D):this.activate(B,this.element.children(C))
}else{this.activate(B,this.element.children(C))
}},nextPage:function(E){if(this.hasScroll()){if(!this.active||this.last()){this.activate(E,this.element.children(".ui-menu-item:first"))
}else{var C=this.active.offset().top,B=this.element.height(),D=this.element.children(".ui-menu-item").filter(function(){var F=A(this).offset().top-C-B+A(this).height();
return F<10&&F>-10
});
D.length||(D=this.element.children(".ui-menu-item:last"));
this.activate(E,D)
}}else{this.activate(E,this.element.children(".ui-menu-item").filter(!this.active||this.last()?":first":":last"))
}},previousPage:function(D){if(this.hasScroll()){if(!this.active||this.first()){this.activate(D,this.element.children(".ui-menu-item:last"))
}else{var C=this.active.offset().top,B=this.element.height();
result=this.element.children(".ui-menu-item").filter(function(){var E=A(this).offset().top-C+B-A(this).height();
return E<10&&E>-10
});
result.length||(result=this.element.children(".ui-menu-item:first"));
this.activate(D,result)
}}else{this.activate(D,this.element.children(".ui-menu-item").filter(!this.active||this.first()?":last":":first"))
}},hasScroll:function(){return this.element.height()<this.element[A.fn.prop?"prop":"attr"]("scrollHeight")
},select:function(B){this._trigger("selected",B,{item:this.active})
}})
})(jQuery);
(function(F,E){function D(){return ++C
}function B(){return ++A
}var C=0,A=0;
F.widget("ui.tabs",{options:{add:null,ajaxOptions:null,cache:false,cookie:null,collapsible:false,disable:null,disabled:[],enable:null,event:"click",fx:null,idPrefix:"ui-tabs-",load:null,panelTemplate:"<div></div>",remove:null,select:null,show:null,spinner:"<em>Loading&#8230;</em>",tabTemplate:"<li><a href='#{href}'><span>#{label}</span></a></li>"},_create:function(){this._tabify(true)
},_setOption:function(G,H){if(G=="selected"){this.options.collapsible&&H==this.options.selected||this.select(H)
}else{this.options[G]=H;
this._tabify()
}},_tabId:function(G){return G.title&&G.title.replace(/\s/g,"_").replace(/[^\w\u00c0-\uFFFF-]/g,"")||this.options.idPrefix+D()
},_sanitizeSelector:function(G){return G.replace(/:/g,"\\:")
},_cookie:function(){var G=this.cookie||(this.cookie=this.options.cookie.name||"ui-tabs-"+B());
return F.cookie.apply(null,[G].concat(F.makeArray(arguments)))
},_ui:function(G,H){return{tab:G,panel:H,index:this.anchors.index(G)}
},_cleanup:function(){this.lis.filter(".ui-state-processing").removeClass("ui-state-processing").find("span:data(label.tabs)").each(function(){var G=F(this);
G.html(G.data("label.tabs")).removeData("label.tabs")
})
},_tabify:function(P){function N(S,T){S.css("display","");
!F.support.opacity&&T.opacity&&S[0].style.removeAttribute("filter")
}var Q=this,O=this.options,M=/^#.+/;
this.list=this.element.find("ol,ul").eq(0);
this.lis=F(" > li:has(a[href])",this.list);
this.anchors=this.lis.map(function(){return F("a",this)[0]
});
this.panels=F([]);
this.anchors.each(function(U,W){var T=F(W).attr("href"),S=T.split("#")[0],V;
if(S&&(S===location.toString().split("#")[0]||(V=F("base")[0])&&S===V.href)){T=W.hash;
W.href=T
}if(M.test(T)){Q.panels=Q.panels.add(Q.element.find(Q._sanitizeSelector(T)))
}else{if(T&&T!=="#"){F.data(W,"href.tabs",T);
F.data(W,"load.tabs",T.replace(/#.*$/,""));
T=Q._tabId(W);
W.href="#"+T;
W=Q.element.find("#"+T);
if(!W.length){W=F(O.panelTemplate).attr("id",T).addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").insertAfter(Q.panels[U-1]||Q.list);
W.data("destroy.tabs",true)
}Q.panels=Q.panels.add(W)
}else{O.disabled.push(U)
}}});
if(P){this.element.addClass("ui-tabs ui-widget ui-widget-content ui-corner-all");
this.list.addClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all");
this.lis.addClass("ui-state-default ui-corner-top");
this.panels.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom");
if(O.selected===E){location.hash&&this.anchors.each(function(S,T){if(T.hash==location.hash){O.selected=S;
return false
}});
if(typeof O.selected!=="number"&&O.cookie){O.selected=parseInt(Q._cookie(),10)
}if(typeof O.selected!=="number"&&this.lis.filter(".ui-tabs-selected").length){O.selected=this.lis.index(this.lis.filter(".ui-tabs-selected"))
}O.selected=O.selected||(this.lis.length?0:-1)
}else{if(O.selected===null){O.selected=-1
}}O.selected=O.selected>=0&&this.anchors[O.selected]||O.selected<0?O.selected:0;
O.disabled=F.unique(O.disabled.concat(F.map(this.lis.filter(".ui-state-disabled"),function(S){return Q.lis.index(S)
}))).sort();
F.inArray(O.selected,O.disabled)!=-1&&O.disabled.splice(F.inArray(O.selected,O.disabled),1);
this.panels.addClass("ui-tabs-hide");
this.lis.removeClass("ui-tabs-selected ui-state-active");
if(O.selected>=0&&this.anchors.length){Q.element.find(Q._sanitizeSelector(Q.anchors[O.selected].hash)).removeClass("ui-tabs-hide");
this.lis.eq(O.selected).addClass("ui-tabs-selected ui-state-active");
Q.element.queue("tabs",function(){Q._trigger("show",null,Q._ui(Q.anchors[O.selected],Q.element.find(Q._sanitizeSelector(Q.anchors[O.selected].hash))[0]))
});
this.load(O.selected)
}F(window).bind("unload",function(){Q.lis.add(Q.anchors).unbind(".tabs");
Q.lis=Q.anchors=Q.panels=null
})
}else{O.selected=this.lis.index(this.lis.filter(".ui-tabs-selected"))
}this.element[O.collapsible?"addClass":"removeClass"]("ui-tabs-collapsible");
O.cookie&&this._cookie(O.selected,O.cookie);
P=0;
for(var L;
L=this.lis[P];
P++){F(L)[F.inArray(P,O.disabled)!=-1&&!F(L).hasClass("ui-tabs-selected")?"addClass":"removeClass"]("ui-state-disabled")
}O.cache===false&&this.anchors.removeData("cache.tabs");
this.lis.add(this.anchors).unbind(".tabs");
if(O.event!=="mouseover"){var K=function(S,T){T.is(":not(.ui-state-disabled)")&&T.addClass("ui-state-"+S)
},I=function(S,T){T.removeClass("ui-state-"+S)
};
this.lis.bind("mouseover.tabs",function(){K("hover",F(this))
});
this.lis.bind("mouseout.tabs",function(){I("hover",F(this))
});
this.anchors.bind("focus.tabs",function(){K("focus",F(this).closest("li"))
});
this.anchors.bind("blur.tabs",function(){I("focus",F(this).closest("li"))
})
}var J,H;
if(O.fx){if(F.isArray(O.fx)){J=O.fx[0];
H=O.fx[1]
}else{J=H=O.fx
}}var G=H?function(S,T){F(S).closest("li").addClass("ui-tabs-selected ui-state-active");
T.hide().removeClass("ui-tabs-hide").animate(H,H.duration||"normal",function(){N(T,H);
Q._trigger("show",null,Q._ui(S,T[0]))
})
}:function(S,T){F(S).closest("li").addClass("ui-tabs-selected ui-state-active");
T.removeClass("ui-tabs-hide");
Q._trigger("show",null,Q._ui(S,T[0]))
},R=J?function(S,T){T.animate(J,J.duration||"normal",function(){Q.lis.removeClass("ui-tabs-selected ui-state-active");
T.addClass("ui-tabs-hide");
N(T,J);
Q.element.dequeue("tabs")
})
}:function(S,T){Q.lis.removeClass("ui-tabs-selected ui-state-active");
T.addClass("ui-tabs-hide");
Q.element.dequeue("tabs")
};
this.anchors.bind(O.event+".tabs",function(){var U=this,V=F(U).closest("li"),T=Q.panels.filter(":not(.ui-tabs-hide)"),S=Q.element.find(Q._sanitizeSelector(U.hash));
if(V.hasClass("ui-tabs-selected")&&!O.collapsible||V.hasClass("ui-state-disabled")||V.hasClass("ui-state-processing")||Q.panels.filter(":animated").length||Q._trigger("select",null,Q._ui(this,S[0]))===false){this.blur();
return false
}O.selected=Q.anchors.index(this);
Q.abort();
if(O.collapsible){if(V.hasClass("ui-tabs-selected")){O.selected=-1;
O.cookie&&Q._cookie(O.selected,O.cookie);
Q.element.queue("tabs",function(){R(U,T)
}).dequeue("tabs");
this.blur();
return false
}else{if(!T.length){O.cookie&&Q._cookie(O.selected,O.cookie);
Q.element.queue("tabs",function(){G(U,S)
});
Q.load(Q.anchors.index(this));
this.blur();
return false
}}}O.cookie&&Q._cookie(O.selected,O.cookie);
if(S.length){T.length&&Q.element.queue("tabs",function(){R(U,T)
});
Q.element.queue("tabs",function(){G(U,S)
});
Q.load(Q.anchors.index(this))
}else{throw"jQuery UI Tabs: Mismatching fragment identifier."
}F.browser.msie&&this.blur()
});
this.anchors.bind("click.tabs",function(){return false
})
},_getIndex:function(G){if(typeof G=="string"){G=this.anchors.index(this.anchors.filter("[href$="+G+"]"))
}return G
},destroy:function(){var G=this.options;
this.abort();
this.element.unbind(".tabs").removeClass("ui-tabs ui-widget ui-widget-content ui-corner-all ui-tabs-collapsible").removeData("tabs");
this.list.removeClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all");
this.anchors.each(function(){var I=F.data(this,"href.tabs");
if(I){this.href=I
}var H=F(this).unbind(".tabs");
F.each(["href","load","cache"],function(K,J){H.removeData(J+".tabs")
})
});
this.lis.unbind(".tabs").add(this.panels).each(function(){F.data(this,"destroy.tabs")?F(this).remove():F(this).removeClass("ui-state-default ui-corner-top ui-tabs-selected ui-state-active ui-state-hover ui-state-focus ui-state-disabled ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide")
});
G.cookie&&this._cookie(null,G.cookie);
return this
},add:function(G,K,H){if(H===E){H=this.anchors.length
}var L=this,J=this.options;
K=F(J.tabTemplate.replace(/#\{href\}/g,G).replace(/#\{label\}/g,K));
G=!G.indexOf("#")?G.replace("#",""):this._tabId(F("a",K)[0]);
K.addClass("ui-state-default ui-corner-top").data("destroy.tabs",true);
var I=L.element.find("#"+G);
I.length||(I=F(J.panelTemplate).attr("id",G).data("destroy.tabs",true));
I.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide");
if(H>=this.lis.length){K.appendTo(this.list);
I.appendTo(this.list[0].parentNode)
}else{K.insertBefore(this.lis[H]);
I.insertBefore(this.panels[H])
}J.disabled=F.map(J.disabled,function(M){return M>=H?++M:M
});
this._tabify();
if(this.anchors.length==1){J.selected=0;
K.addClass("ui-tabs-selected ui-state-active");
I.removeClass("ui-tabs-hide");
this.element.queue("tabs",function(){L._trigger("show",null,L._ui(L.anchors[0],L.panels[0]))
});
this.load(0)
}this._trigger("add",null,this._ui(this.anchors[H],this.panels[H]));
return this
},remove:function(G){G=this._getIndex(G);
var I=this.options,H=this.lis.eq(G).remove(),J=this.panels.eq(G).remove();
if(H.hasClass("ui-tabs-selected")&&this.anchors.length>1){this.select(G+(G+1<this.anchors.length?1:-1))
}I.disabled=F.map(F.grep(I.disabled,function(K){return K!=G
}),function(K){return K>=G?--K:K
});
this._tabify();
this._trigger("remove",null,this._ui(H.find("a")[0],J[0]));
return this
},enable:function(G){G=this._getIndex(G);
var H=this.options;
if(F.inArray(G,H.disabled)!=-1){this.lis.eq(G).removeClass("ui-state-disabled");
H.disabled=F.grep(H.disabled,function(I){return I!=G
});
this._trigger("enable",null,this._ui(this.anchors[G],this.panels[G]));
return this
}},disable:function(G){G=this._getIndex(G);
var H=this.options;
if(G!=H.selected){this.lis.eq(G).addClass("ui-state-disabled");
H.disabled.push(G);
H.disabled.sort();
this._trigger("disable",null,this._ui(this.anchors[G],this.panels[G]))
}return this
},select:function(G){G=this._getIndex(G);
if(G==-1){if(this.options.collapsible&&this.options.selected!=-1){G=this.options.selected
}else{return this
}}this.anchors.eq(G).trigger(this.options.event+".tabs");
return this
},load:function(G){G=this._getIndex(G);
var K=this,H=this.options,L=this.anchors.eq(G)[0],J=F.data(L,"load.tabs");
this.abort();
if(!J||this.element.queue("tabs").length!==0&&F.data(L,"cache.tabs")){this.element.dequeue("tabs")
}else{this.lis.eq(G).addClass("ui-state-processing");
if(H.spinner){var I=F("span",L);
I.data("label.tabs",I.html()).html(H.spinner)
}this.xhr=F.ajax(F.extend({},H.ajaxOptions,{url:J,success:function(N,O){K.element.find(K._sanitizeSelector(L.hash)).html(N);
K._cleanup();
H.cache&&F.data(L,"cache.tabs",true);
K._trigger("load",null,K._ui(K.anchors[G],K.panels[G]));
try{H.ajaxOptions.success(N,O)
}catch(M){}},error:function(N,O){K._cleanup();
K._trigger("load",null,K._ui(K.anchors[G],K.panels[G]));
try{H.ajaxOptions.error(N,O,G,L)
}catch(M){}}}));
K.element.dequeue("tabs");
return this
}},abort:function(){this.element.queue([]);
this.panels.stop(false,true);
this.element.queue("tabs",this.element.queue("tabs").splice(-2,2));
if(this.xhr){this.xhr.abort();
delete this.xhr
}this._cleanup();
return this
},url:function(G,H){this.anchors.eq(G).removeData("cache.tabs").data("load.tabs",H);
return this
},length:function(){return this.anchors.length
}});
F.extend(F.ui.tabs,{version:"1.8.16"});
F.extend(F.ui.tabs.prototype,{rotation:null,rotate:function(G,J){var H=this,K=this.options,I=H._rotate||(H._rotate=function(L){clearTimeout(H.rotation);
H.rotation=setTimeout(function(){var M=K.selected;
H.select(++M<H.anchors.length?M:0)
},G);
L&&L.stopPropagation()
});
J=H._unrotate||(H._unrotate=!J?function(L){L.clientX&&H.rotate(null)
}:function(){t=K.selected;
I()
});
if(G){this.element.bind("tabsshow",I);
this.anchors.bind(K.event+".tabs",J);
I()
}else{clearTimeout(H.rotation);
this.element.unbind("tabsshow",I);
this.anchors.unbind(K.event+".tabs",J);
delete this._rotate;
delete this._unrotate
}return this
}})
})(jQuery);
(function(d,C){function M(){this.debug=false;
this._curInst=null;
this._keyEvent=false;
this._disabledInputs=[];
this._inDialog=this._datepickerShowing=false;
this._mainDivId="ui-datepicker-div";
this._inlineClass="ui-datepicker-inline";
this._appendClass="ui-datepicker-append";
this._triggerClass="ui-datepicker-trigger";
this._dialogClass="ui-datepicker-dialog";
this._disableClass="ui-datepicker-disabled";
this._unselectableClass="ui-datepicker-unselectable";
this._currentClass="ui-datepicker-current-day";
this._dayOverClass="ui-datepicker-days-cell-over";
this.regional=[];
this.regional[""]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"mm/dd/yy",firstDay:0,isRTL:false,showMonthAfterYear:false,yearSuffix:""};
this._defaults={showOn:"focus",showAnim:"fadeIn",showOptions:{},defaultDate:null,appendText:"",buttonText:"...",buttonImage:"",buttonImageOnly:false,hideIfNoPrevNext:false,navigationAsDateFormat:false,gotoCurrent:false,changeMonth:false,changeYear:false,yearRange:"c-10:c+10",showOtherMonths:false,selectOtherMonths:false,showWeek:false,calculateWeek:this.iso8601Week,shortYearCutoff:"+10",minDate:null,maxDate:null,duration:"fast",beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:"",altFormat:"",constrainInput:true,showButtonPanel:false,autoSize:false,disabled:false};
d.extend(this._defaults,this.regional[""]);
this.dpDiv=N(d('<div id="'+this._mainDivId+'" class="ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all"></div>'))
}function N(a){return a.bind("mouseout",function(b){b=d(b.target).closest("button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a");
b.length&&b.removeClass("ui-state-hover ui-datepicker-prev-hover ui-datepicker-next-hover")
}).bind("mouseover",function(b){b=d(b.target).closest("button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a");
if(!(d.datepicker._isDisabledDatepicker(J.inline?a.parent()[0]:J.input[0])||!b.length)){b.parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover");
b.addClass("ui-state-hover");
b.hasClass("ui-datepicker-prev")&&b.addClass("ui-datepicker-prev-hover");
b.hasClass("ui-datepicker-next")&&b.addClass("ui-datepicker-next-hover")
}})
}function H(a,b){d.extend(a,b);
for(var c in b){if(b[c]==null||b[c]==C){a[c]=b[c]
}}return a
}d.extend(d.ui,{datepicker:{version:"1.8.16"}});
var B=(new Date).getTime(),J;
d.extend(M.prototype,{markerClassName:"hasDatepicker",maxRows:4,log:function(){this.debug&&console.log.apply("",arguments)
},_widgetDatepicker:function(){return this.dpDiv
},setDefaults:function(a){H(this._defaults,a||{});
return this
},_attachDatepicker:function(a,b){var c=null;
for(var e in this._defaults){var f=a.getAttribute("date:"+e);
if(f){c=c||{};
try{c[e]=eval(f)
}catch(h){c[e]=f
}}}e=a.nodeName.toLowerCase();
f=e=="div"||e=="span";
if(!a.id){this.uuid+=1;
a.id="dp"+this.uuid
}var i=this._newInst(d(a),f);
i.settings=d.extend({},b||{},c||{});
if(e=="input"){this._connectDatepicker(a,i)
}else{f&&this._inlineDatepicker(a,i)
}},_newInst:function(a,b){return{id:a[0].id.replace(/([^A-Za-z0-9_-])/g,"\\\\$1"),input:a,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:b,dpDiv:!b?this.dpDiv:N(d('<div class="'+this._inlineClass+' ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all"></div>'))}
},_connectDatepicker:function(a,b){var c=d(a);
b.append=d([]);
b.trigger=d([]);
if(!c.hasClass(this.markerClassName)){this._attachments(c,b);
c.addClass(this.markerClassName).keydown(this._doKeyDown).keypress(this._doKeyPress).keyup(this._doKeyUp).bind("setData.datepicker",function(e,f,h){b.settings[f]=h
}).bind("getData.datepicker",function(e,f){return this._get(b,f)
});
this._autoSize(b);
d.data(a,"datepicker",b);
b.settings.disabled&&this._disableDatepicker(a)
}},_attachments:function(a,b){var c=this._get(b,"appendText"),e=this._get(b,"isRTL");
b.append&&b.append.remove();
if(c){b.append=d('<span class="'+this._appendClass+'">'+c+"</span>");
a[e?"before":"after"](b.append)
}a.unbind("focus",this._showDatepicker);
b.trigger&&b.trigger.remove();
c=this._get(b,"showOn");
if(c=="focus"||c=="both"){a.focus(this._showDatepicker)
}if(c=="button"||c=="both"){c=this._get(b,"buttonText");
var f=this._get(b,"buttonImage");
b.trigger=d(this._get(b,"buttonImageOnly")?d("<img/>").addClass(this._triggerClass).attr({src:f,alt:c,title:c}):d('<button type="button"></button>').addClass(this._triggerClass).html(f==""?c:d("<img/>").attr({src:f,alt:c,title:c})));
a[e?"before":"after"](b.trigger);
b.trigger.click(function(){d.datepicker._datepickerShowing&&d.datepicker._lastInput==a[0]?d.datepicker._hideDatepicker():d.datepicker._showDatepicker(a[0]);
return false
})
}},_autoSize:function(a){if(this._get(a,"autoSize")&&!a.inline){var b=new Date(2009,11,20),c=this._get(a,"dateFormat");
if(c.match(/[DM]/)){var e=function(f){for(var h=0,i=0,g=0;
g<f.length;
g++){if(f[g].length>h){h=f[g].length;
i=g
}}return i
};
b.setMonth(e(this._get(a,c.match(/MM/)?"monthNames":"monthNamesShort")));
b.setDate(e(this._get(a,c.match(/DD/)?"dayNames":"dayNamesShort"))+20-b.getDay())
}a.input.attr("size",this._formatDate(a,b).length)
}},_inlineDatepicker:function(a,b){var c=d(a);
if(!c.hasClass(this.markerClassName)){c.addClass(this.markerClassName).append(b.dpDiv).bind("setData.datepicker",function(e,f,h){b.settings[f]=h
}).bind("getData.datepicker",function(e,f){return this._get(b,f)
});
d.data(a,"datepicker",b);
this._setDate(b,this._getDefaultDate(b),true);
this._updateDatepicker(b);
this._updateAlternate(b);
b.settings.disabled&&this._disableDatepicker(a);
b.dpDiv.css("display","block")
}},_dialogDatepicker:function(a,b,c,e,f){a=this._dialogInst;
if(!a){this.uuid+=1;
this._dialogInput=d('<input type="text" id="'+("dp"+this.uuid)+'" style="position: absolute; top: -100px; width: 0px; z-index: -10;"/>');
this._dialogInput.keydown(this._doKeyDown);
d("body").append(this._dialogInput);
a=this._dialogInst=this._newInst(this._dialogInput,false);
a.settings={};
d.data(this._dialogInput[0],"datepicker",a)
}H(a.settings,e||{});
b=b&&b.constructor==Date?this._formatDate(a,b):b;
this._dialogInput.val(b);
this._pos=f?f.length?f:[f.pageX,f.pageY]:null;
if(!this._pos){this._pos=[document.documentElement.clientWidth/2-100+(document.documentElement.scrollLeft||document.body.scrollLeft),document.documentElement.clientHeight/2-150+(document.documentElement.scrollTop||document.body.scrollTop)]
}this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+"px");
a.settings.onSelect=c;
this._inDialog=true;
this.dpDiv.addClass(this._dialogClass);
this._showDatepicker(this._dialogInput[0]);
d.blockUI&&d.blockUI(this.dpDiv);
d.data(this._dialogInput[0],"datepicker",a);
return this
},_destroyDatepicker:function(a){var b=d(a),c=d.data(a,"datepicker");
if(b.hasClass(this.markerClassName)){var e=a.nodeName.toLowerCase();
d.removeData(a,"datepicker");
if(e=="input"){c.append.remove();
c.trigger.remove();
b.removeClass(this.markerClassName).unbind("focus",this._showDatepicker).unbind("keydown",this._doKeyDown).unbind("keypress",this._doKeyPress).unbind("keyup",this._doKeyUp)
}else{if(e=="div"||e=="span"){b.removeClass(this.markerClassName).empty()
}}}},_enableDatepicker:function(a){var b=d(a),c=d.data(a,"datepicker");
if(b.hasClass(this.markerClassName)){var e=a.nodeName.toLowerCase();
if(e=="input"){a.disabled=false;
c.trigger.filter("button").each(function(){this.disabled=false
}).end().filter("img").css({opacity:"1.0",cursor:""})
}else{if(e=="div"||e=="span"){b=b.children("."+this._inlineClass);
b.children().removeClass("ui-state-disabled");
b.find("select.ui-datepicker-month, select.ui-datepicker-year").removeAttr("disabled")
}}this._disabledInputs=d.map(this._disabledInputs,function(f){return f==a?null:f
})
}},_disableDatepicker:function(a){var b=d(a),c=d.data(a,"datepicker");
if(b.hasClass(this.markerClassName)){var e=a.nodeName.toLowerCase();
if(e=="input"){a.disabled=true;
c.trigger.filter("button").each(function(){this.disabled=true
}).end().filter("img").css({opacity:"0.5",cursor:"default"})
}else{if(e=="div"||e=="span"){b=b.children("."+this._inlineClass);
b.children().addClass("ui-state-disabled");
b.find("select.ui-datepicker-month, select.ui-datepicker-year").attr("disabled","disabled")
}}this._disabledInputs=d.map(this._disabledInputs,function(f){return f==a?null:f
});
this._disabledInputs[this._disabledInputs.length]=a
}},_isDisabledDatepicker:function(a){if(!a){return false
}for(var b=0;
b<this._disabledInputs.length;
b++){if(this._disabledInputs[b]==a){return true
}}return false
},_getInst:function(a){try{return d.data(a,"datepicker")
}catch(b){throw"Missing instance data for this datepicker"
}},_optionDatepicker:function(a,b,c){var e=this._getInst(a);
if(arguments.length==2&&typeof b=="string"){return b=="defaults"?d.extend({},d.datepicker._defaults):e?b=="all"?d.extend({},e.settings):this._get(e,b):null
}var f=b||{};
if(typeof b=="string"){f={};
f[b]=c
}if(e){this._curInst==e&&this._hideDatepicker();
var h=this._getDateDatepicker(a,true),i=this._getMinMaxDate(e,"min"),g=this._getMinMaxDate(e,"max");
H(e.settings,f);
if(i!==null&&f.dateFormat!==C&&f.minDate===C){e.settings.minDate=this._formatDate(e,i)
}if(g!==null&&f.dateFormat!==C&&f.maxDate===C){e.settings.maxDate=this._formatDate(e,g)
}this._attachments(d(a),e);
this._autoSize(e);
this._setDate(e,h);
this._updateAlternate(e);
this._updateDatepicker(e)
}},_changeDatepicker:function(a,b,c){this._optionDatepicker(a,b,c)
},_refreshDatepicker:function(a){(a=this._getInst(a))&&this._updateDatepicker(a)
},_setDateDatepicker:function(a,b){if(a=this._getInst(a)){this._setDate(a,b);
this._updateDatepicker(a);
this._updateAlternate(a)
}},_getDateDatepicker:function(a,b){(a=this._getInst(a))&&!a.inline&&this._setDateFromField(a,b);
return a?this._getDate(a):null
},_doKeyDown:function(a){var b=d.datepicker._getInst(a.target),c=true,e=b.dpDiv.is(".ui-datepicker-rtl");
b._keyEvent=true;
if(d.datepicker._datepickerShowing){switch(a.keyCode){case 9:d.datepicker._hideDatepicker();
c=false;
break;
case 13:c=d("td."+d.datepicker._dayOverClass+":not(."+d.datepicker._currentClass+")",b.dpDiv);
c[0]&&d.datepicker._selectDay(a.target,b.selectedMonth,b.selectedYear,c[0]);
if(a=d.datepicker._get(b,"onSelect")){c=d.datepicker._formatDate(b);
a.apply(b.input?b.input[0]:null,[c,b])
}else{d.datepicker._hideDatepicker()
}return false;
case 27:d.datepicker._hideDatepicker();
break;
case 33:d.datepicker._adjustDate(a.target,a.ctrlKey?-d.datepicker._get(b,"stepBigMonths"):-d.datepicker._get(b,"stepMonths"),"M");
break;
case 34:d.datepicker._adjustDate(a.target,a.ctrlKey?+d.datepicker._get(b,"stepBigMonths"):+d.datepicker._get(b,"stepMonths"),"M");
break;
case 35:if(a.ctrlKey||a.metaKey){d.datepicker._clearDate(a.target)
}c=a.ctrlKey||a.metaKey;
break;
case 36:if(a.ctrlKey||a.metaKey){d.datepicker._gotoToday(a.target)
}c=a.ctrlKey||a.metaKey;
break;
case 37:if(a.ctrlKey||a.metaKey){d.datepicker._adjustDate(a.target,e?+1:-1,"D")
}c=a.ctrlKey||a.metaKey;
if(a.originalEvent.altKey){d.datepicker._adjustDate(a.target,a.ctrlKey?-d.datepicker._get(b,"stepBigMonths"):-d.datepicker._get(b,"stepMonths"),"M")
}break;
case 38:if(a.ctrlKey||a.metaKey){d.datepicker._adjustDate(a.target,-7,"D")
}c=a.ctrlKey||a.metaKey;
break;
case 39:if(a.ctrlKey||a.metaKey){d.datepicker._adjustDate(a.target,e?-1:+1,"D")
}c=a.ctrlKey||a.metaKey;
if(a.originalEvent.altKey){d.datepicker._adjustDate(a.target,a.ctrlKey?+d.datepicker._get(b,"stepBigMonths"):+d.datepicker._get(b,"stepMonths"),"M")
}break;
case 40:if(a.ctrlKey||a.metaKey){d.datepicker._adjustDate(a.target,+7,"D")
}c=a.ctrlKey||a.metaKey;
break;
default:c=false
}}else{if(a.keyCode==36&&a.ctrlKey){d.datepicker._showDatepicker(this)
}else{c=false
}}if(c){a.preventDefault();
a.stopPropagation()
}},_doKeyPress:function(a){var b=d.datepicker._getInst(a.target);
if(d.datepicker._get(b,"constrainInput")){b=d.datepicker._possibleChars(d.datepicker._get(b,"dateFormat"));
var c=String.fromCharCode(a.charCode==C?a.keyCode:a.charCode);
return a.ctrlKey||a.metaKey||c<" "||!b||b.indexOf(c)>-1
}},_doKeyUp:function(a){a=d.datepicker._getInst(a.target);
if(a.input.val()!=a.lastVal){try{if(d.datepicker.parseDate(d.datepicker._get(a,"dateFormat"),a.input?a.input.val():null,d.datepicker._getFormatConfig(a))){d.datepicker._setDateFromField(a);
d.datepicker._updateAlternate(a);
d.datepicker._updateDatepicker(a)
}}catch(b){d.datepicker.log(b)
}}return true
},_showDatepicker:function(a){a=a.target||a;
if(a.nodeName.toLowerCase()!="input"){a=d("input",a.parentNode)[0]
}if(!(d.datepicker._isDisabledDatepicker(a)||d.datepicker._lastInput==a)){var b=d.datepicker._getInst(a);
if(d.datepicker._curInst&&d.datepicker._curInst!=b){d.datepicker._datepickerShowing&&d.datepicker._triggerOnClose(d.datepicker._curInst);
d.datepicker._curInst.dpDiv.stop(true,true)
}var c=d.datepicker._get(b,"beforeShow");
c=c?c.apply(a,[a,b]):{};
if(c!==false){H(b.settings,c);
b.lastVal=null;
d.datepicker._lastInput=a;
d.datepicker._setDateFromField(b);
if(d.datepicker._inDialog){a.value=""
}if(!d.datepicker._pos){d.datepicker._pos=d.datepicker._findPos(a);
d.datepicker._pos[1]+=a.offsetHeight
}var e=false;
d(a).parents().each(function(){e|=d(this).css("position")=="fixed";
return !e
});
if(e&&d.browser.opera){d.datepicker._pos[0]-=document.documentElement.scrollLeft;
d.datepicker._pos[1]-=document.documentElement.scrollTop
}c={left:d.datepicker._pos[0],top:d.datepicker._pos[1]};
d.datepicker._pos=null;
b.dpDiv.empty();
b.dpDiv.css({position:"absolute",display:"block",top:"-1000px"});
d.datepicker._updateDatepicker(b);
c=d.datepicker._checkOffset(b,c,e);
b.dpDiv.css({position:d.datepicker._inDialog&&d.blockUI?"static":e?"fixed":"absolute",display:"none",left:c.left+"px",top:c.top+"px"});
if(!b.inline){c=d.datepicker._get(b,"showAnim");
var f=d.datepicker._get(b,"duration"),h=function(){var i=b.dpDiv.find("iframe.ui-datepicker-cover");
if(i.length){var g=d.datepicker._getBorders(b.dpDiv);
i.css({left:-g[0],top:-g[1],width:b.dpDiv.outerWidth(),height:b.dpDiv.outerHeight()})
}};
b.dpDiv.zIndex(d(a).zIndex()+1);
d.datepicker._datepickerShowing=true;
d.effects&&d.effects[c]?b.dpDiv.show(c,d.datepicker._get(b,"showOptions"),f,h):b.dpDiv[c||"show"](c?f:null,h);
if(!c||!f){h()
}b.input.is(":visible")&&!b.input.is(":disabled")&&b.input.focus();
d.datepicker._curInst=b
}}}},_updateDatepicker:function(a){this.maxRows=4;
var b=d.datepicker._getBorders(a.dpDiv);
J=a;
a.dpDiv.empty().append(this._generateHTML(a));
var c=a.dpDiv.find("iframe.ui-datepicker-cover");
c.length&&c.css({left:-b[0],top:-b[1],width:a.dpDiv.outerWidth(),height:a.dpDiv.outerHeight()});
a.dpDiv.find("."+this._dayOverClass+" a").mouseover();
b=this._getNumberOfMonths(a);
c=b[1];
a.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width("");
c>1&&a.dpDiv.addClass("ui-datepicker-multi-"+c).css("width",17*c+"em");
a.dpDiv[(b[0]!=1||b[1]!=1?"add":"remove")+"Class"]("ui-datepicker-multi");
a.dpDiv[(this._get(a,"isRTL")?"add":"remove")+"Class"]("ui-datepicker-rtl");
a==d.datepicker._curInst&&d.datepicker._datepickerShowing&&a.input&&a.input.is(":visible")&&!a.input.is(":disabled")&&a.input[0]!=document.activeElement&&a.input.focus();
if(a.yearshtml){var e=a.yearshtml;
setTimeout(function(){e===a.yearshtml&&a.yearshtml&&a.dpDiv.find("select.ui-datepicker-year:first").replaceWith(a.yearshtml);
e=a.yearshtml=null
},0)
}},_getBorders:function(a){var b=function(c){return{thin:1,medium:2,thick:3}[c]||c
};
return[parseFloat(b(a.css("border-left-width"))),parseFloat(b(a.css("border-top-width")))]
},_checkOffset:function(a,b,c){var e=a.dpDiv.outerWidth(),f=a.dpDiv.outerHeight(),h=a.input?a.input.outerWidth():0,i=a.input?a.input.outerHeight():0,g=document.documentElement.clientWidth+d(document).scrollLeft(),j=document.documentElement.clientHeight+d(document).scrollTop();
b.left-=this._get(a,"isRTL")?e-h:0;
b.left-=c&&b.left==a.input.offset().left?d(document).scrollLeft():0;
b.top-=c&&b.top==a.input.offset().top+i?d(document).scrollTop():0;
b.left-=Math.min(b.left,b.left+e>g&&g>e?Math.abs(b.left+e-g):0);
b.top-=Math.min(b.top,b.top+f>j&&j>f?Math.abs(f+i):0);
return b
},_findPos:function(a){for(var b=this._get(this._getInst(a),"isRTL");
a&&(a.type=="hidden"||a.nodeType!=1||d.expr.filters.hidden(a));
){a=a[b?"previousSibling":"nextSibling"]
}a=d(a).offset();
return[a.left,a.top]
},_triggerOnClose:function(a){var b=this._get(a,"onClose");
if(b){b.apply(a.input?a.input[0]:null,[a.input?a.input.val():"",a])
}},_hideDatepicker:function(a){var b=this._curInst;
if(!(!b||a&&b!=d.data(a,"datepicker"))){if(this._datepickerShowing){a=this._get(b,"showAnim");
var c=this._get(b,"duration"),e=function(){d.datepicker._tidyDialog(b);
this._curInst=null
};
d.effects&&d.effects[a]?b.dpDiv.hide(a,d.datepicker._get(b,"showOptions"),c,e):b.dpDiv[a=="slideDown"?"slideUp":a=="fadeIn"?"fadeOut":"hide"](a?c:null,e);
a||e();
d.datepicker._triggerOnClose(b);
this._datepickerShowing=false;
this._lastInput=null;
if(this._inDialog){this._dialogInput.css({position:"absolute",left:"0",top:"-100px"});
if(d.blockUI){d.unblockUI();
d("body").append(this.dpDiv)
}}this._inDialog=false
}}},_tidyDialog:function(a){a.dpDiv.removeClass(this._dialogClass).unbind(".ui-datepicker-calendar")
},_checkExternalClick:function(a){if(d.datepicker._curInst){a=d(a.target);
a[0].id!=d.datepicker._mainDivId&&a.parents("#"+d.datepicker._mainDivId).length==0&&!a.hasClass(d.datepicker.markerClassName)&&!a.hasClass(d.datepicker._triggerClass)&&d.datepicker._datepickerShowing&&!(d.datepicker._inDialog&&d.blockUI)&&d.datepicker._hideDatepicker()
}},_adjustDate:function(a,b,c){a=d(a);
var e=this._getInst(a[0]);
if(!this._isDisabledDatepicker(a[0])){this._adjustInstDate(e,b+(c=="M"?this._get(e,"showCurrentAtPos"):0),c);
this._updateDatepicker(e)
}},_gotoToday:function(a){a=d(a);
var b=this._getInst(a[0]);
if(this._get(b,"gotoCurrent")&&b.currentDay){b.selectedDay=b.currentDay;
b.drawMonth=b.selectedMonth=b.currentMonth;
b.drawYear=b.selectedYear=b.currentYear
}else{var c=new Date;
b.selectedDay=c.getDate();
b.drawMonth=b.selectedMonth=c.getMonth();
b.drawYear=b.selectedYear=c.getFullYear()
}this._notifyChange(b);
this._adjustDate(a)
},_selectMonthYear:function(a,b,c){a=d(a);
var e=this._getInst(a[0]);
e["selected"+(c=="M"?"Month":"Year")]=e["draw"+(c=="M"?"Month":"Year")]=parseInt(b.options[b.selectedIndex].value,10);
this._notifyChange(e);
this._adjustDate(a)
},_selectDay:function(a,b,c,e){var f=d(a);
if(!(d(e).hasClass(this._unselectableClass)||this._isDisabledDatepicker(f[0]))){f=this._getInst(f[0]);
f.selectedDay=f.currentDay=d("a",e).html();
f.selectedMonth=f.currentMonth=b;
f.selectedYear=f.currentYear=c;
this._selectDate(a,this._formatDate(f,f.currentDay,f.currentMonth,f.currentYear))
}},_clearDate:function(a){a=d(a);
this._getInst(a[0]);
this._selectDate(a,"")
},_selectDate:function(a,b){a=this._getInst(d(a)[0]);
b=b!=null?b:this._formatDate(a);
a.input&&a.input.val(b);
this._updateAlternate(a);
var c=this._get(a,"onSelect");
if(c){c.apply(a.input?a.input[0]:null,[b,a])
}else{a.input&&a.input.trigger("change")
}if(a.inline){this._updateDatepicker(a)
}else{this._hideDatepicker();
this._lastInput=a.input[0];
typeof a.input[0]!="object"&&a.input.focus();
this._lastInput=null
}},_updateAlternate:function(a){var b=this._get(a,"altField");
if(b){var c=this._get(a,"altFormat")||this._get(a,"dateFormat"),e=this._getDate(a),f=this.formatDate(c,e,this._getFormatConfig(a));
d(b).each(function(){d(this).val(f)
})
}},noWeekends:function(a){a=a.getDay();
return[a>0&&a<6,""]
},iso8601Week:function(a){a=new Date(a.getTime());
a.setDate(a.getDate()+4-(a.getDay()||7));
var b=a.getTime();
a.setMonth(0);
a.setDate(1);
return Math.floor(Math.round((b-a)/86400000)/7)+1
},parseDate:function(a,b,c){if(a==null||b==null){throw"Invalid arguments"
}b=typeof b=="object"?b.toString():b+"";
if(b==""){return null
}var e=(c?c.shortYearCutoff:null)||this._defaults.shortYearCutoff;
e=typeof e!="string"?e:(new Date).getFullYear()%100+parseInt(e,10);
for(var f=(c?c.dayNamesShort:null)||this._defaults.dayNamesShort,h=(c?c.dayNames:null)||this._defaults.dayNames,i=(c?c.monthNamesShort:null)||this._defaults.monthNamesShort,g=(c?c.monthNames:null)||this._defaults.monthNames,j=c=-1,l=-1,u=-1,k=false,o=function(p){(p=A+1<a.length&&a.charAt(A+1)==p)&&A++;
return p
},m=function(p){var D=o(p);
p=new RegExp("^\\d{1,"+(p=="@"?14:p=="!"?20:p=="y"&&D?4:p=="o"?3:2)+"}");
p=b.substring(q).match(p);
if(!p){throw"Missing number at position "+q
}q+=p[0].length;
return parseInt(p[0],10)
},n=function(p,D,K){p=d.map(o(p)?K:D,function(w,x){return[[x,w]]
}).sort(function(w,x){return -(w[1].length-x[1].length)
});
var E=-1;
d.each(p,function(w,x){w=x[1];
if(b.substr(q,w.length).toLowerCase()==w.toLowerCase()){E=x[0];
q+=w.length;
return false
}});
if(E!=-1){return E+1
}else{throw"Unknown name at position "+q
}},s=function(){if(b.charAt(q)!=a.charAt(A)){throw"Unexpected literal at position "+q
}q++
},q=0,A=0;
A<a.length;
A++){if(k){if(a.charAt(A)=="'"&&!o("'")){k=false
}else{s()
}}else{switch(a.charAt(A)){case"d":l=m("d");
break;
case"D":n("D",f,h);
break;
case"o":u=m("o");
break;
case"m":j=m("m");
break;
case"M":j=n("M",i,g);
break;
case"y":c=m("y");
break;
case"@":var v=new Date(m("@"));
c=v.getFullYear();
j=v.getMonth()+1;
l=v.getDate();
break;
case"!":v=new Date((m("!")-this._ticksTo1970)/10000);
c=v.getFullYear();
j=v.getMonth()+1;
l=v.getDate();
break;
case"'":if(o("'")){s()
}else{k=true
}break;
default:s()
}}}if(q<b.length){throw"Extra/unparsed characters found in date: "+b.substring(q)
}if(c==-1){c=(new Date).getFullYear()
}else{if(c<100){c+=(new Date).getFullYear()-(new Date).getFullYear()%100+(c<=e?0:-100)
}}if(u>-1){j=1;
l=u;
do{e=this._getDaysInMonth(c,j-1);
if(l<=e){break
}j++;
l-=e
}while(1)
}v=this._daylightSavingAdjust(new Date(c,j-1,l));
if(v.getFullYear()!=c||v.getMonth()+1!=j||v.getDate()!=l){throw"Invalid date"
}return v
},ATOM:"yy-mm-dd",COOKIE:"D, dd M yy",ISO_8601:"yy-mm-dd",RFC_822:"D, d M y",RFC_850:"DD, dd-M-y",RFC_1036:"D, d M y",RFC_1123:"D, d M yy",RFC_2822:"D, d M yy",RSS:"D, d M y",TICKS:"!",TIMESTAMP:"@",W3C:"yy-mm-dd",_ticksTo1970:(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925))*24*60*60*10000000,formatDate:function(a,b,c){if(!b){return""
}var e=(c?c.dayNamesShort:null)||this._defaults.dayNamesShort,f=(c?c.dayNames:null)||this._defaults.dayNames,h=(c?c.monthNamesShort:null)||this._defaults.monthNamesShort;
c=(c?c.monthNames:null)||this._defaults.monthNames;
var i=function(o){(o=k+1<a.length&&a.charAt(k+1)==o)&&k++;
return o
},g=function(o,m,n){m=""+m;
if(i(o)){for(;
m.length<n;
){m="0"+m
}}return m
},j=function(o,m,n,s){return i(o)?s[m]:n[m]
},l="",u=false;
if(b){for(var k=0;
k<a.length;
k++){if(u){if(a.charAt(k)=="'"&&!i("'")){u=false
}else{l+=a.charAt(k)
}}else{switch(a.charAt(k)){case"d":l+=g("d",b.getDate(),2);
break;
case"D":l+=j("D",b.getDay(),e,f);
break;
case"o":l+=g("o",Math.round(((new Date(b.getFullYear(),b.getMonth(),b.getDate())).getTime()-(new Date(b.getFullYear(),0,0)).getTime())/86400000),3);
break;
case"m":l+=g("m",b.getMonth()+1,2);
break;
case"M":l+=j("M",b.getMonth(),h,c);
break;
case"y":l+=i("y")?b.getFullYear():(b.getYear()%100<10?"0":"")+b.getYear()%100;
break;
case"@":l+=b.getTime();
break;
case"!":l+=b.getTime()*10000+this._ticksTo1970;
break;
case"'":if(i("'")){l+="'"
}else{u=true
}break;
default:l+=a.charAt(k)
}}}}return l
},_possibleChars:function(a){for(var b="",c=false,e=function(h){(h=f+1<a.length&&a.charAt(f+1)==h)&&f++;
return h
},f=0;
f<a.length;
f++){if(c){if(a.charAt(f)=="'"&&!e("'")){c=false
}else{b+=a.charAt(f)
}}else{switch(a.charAt(f)){case"d":case"m":case"y":case"@":b+="0123456789";
break;
case"D":case"M":return null;
case"'":if(e("'")){b+="'"
}else{c=true
}break;
default:b+=a.charAt(f)
}}}return b
},_get:function(a,b){return a.settings[b]!==C?a.settings[b]:this._defaults[b]
},_setDateFromField:function(a,b){if(a.input.val()!=a.lastVal){var c=this._get(a,"dateFormat"),e=a.lastVal=a.input?a.input.val():null,f,h;
f=h=this._getDefaultDate(a);
var i=this._getFormatConfig(a);
try{f=this.parseDate(c,e,i)||h
}catch(g){this.log(g);
e=b?"":e
}a.selectedDay=f.getDate();
a.drawMonth=a.selectedMonth=f.getMonth();
a.drawYear=a.selectedYear=f.getFullYear();
a.currentDay=e?f.getDate():0;
a.currentMonth=e?f.getMonth():0;
a.currentYear=e?f.getFullYear():0;
this._adjustInstDate(a)
}},_getDefaultDate:function(a){return this._restrictMinMax(a,this._determineDate(a,this._get(a,"defaultDate"),new Date))
},_determineDate:function(a,b,c){var e=function(h){var i=new Date;
i.setDate(i.getDate()+h);
return i
},f=function(h){try{return d.datepicker.parseDate(d.datepicker._get(a,"dateFormat"),h,d.datepicker._getFormatConfig(a))
}catch(i){}var g=(h.toLowerCase().match(/^c/)?d.datepicker._getDate(a):null)||new Date,j=g.getFullYear(),l=g.getMonth();
g=g.getDate();
for(var u=/([+-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,k=u.exec(h);
k;
){switch(k[2]||"d"){case"d":case"D":g+=parseInt(k[1],10);
break;
case"w":case"W":g+=parseInt(k[1],10)*7;
break;
case"m":case"M":l+=parseInt(k[1],10);
g=Math.min(g,d.datepicker._getDaysInMonth(j,l));
break;
case"y":case"Y":j+=parseInt(k[1],10);
g=Math.min(g,d.datepicker._getDaysInMonth(j,l));
break
}k=u.exec(h)
}return new Date(j,l,g)
};
if(b=(b=b==null||b===""?c:typeof b=="string"?f(b):typeof b=="number"?isNaN(b)?c:e(b):new Date(b.getTime()))&&b.toString()=="Invalid Date"?c:b){b.setHours(0);
b.setMinutes(0);
b.setSeconds(0);
b.setMilliseconds(0)
}return this._daylightSavingAdjust(b)
},_daylightSavingAdjust:function(a){if(!a){return null
}a.setHours(a.getHours()>12?a.getHours()+2:0);
return a
},_setDate:function(a,b,c){var e=!b,f=a.selectedMonth,h=a.selectedYear;
b=this._restrictMinMax(a,this._determineDate(a,b,new Date));
a.selectedDay=a.currentDay=b.getDate();
a.drawMonth=a.selectedMonth=a.currentMonth=b.getMonth();
a.drawYear=a.selectedYear=a.currentYear=b.getFullYear();
if((f!=a.selectedMonth||h!=a.selectedYear)&&!c){this._notifyChange(a)
}this._adjustInstDate(a);
if(a.input){a.input.val(e?"":this._formatDate(a))
}},_getDate:function(a){return !a.currentYear||a.input&&a.input.val()==""?null:this._daylightSavingAdjust(new Date(a.currentYear,a.currentMonth,a.currentDay))
},_generateHTML:function(a){var b=new Date;
b=this._daylightSavingAdjust(new Date(b.getFullYear(),b.getMonth(),b.getDate()));
var c=this._get(a,"isRTL"),e=this._get(a,"showButtonPanel"),f=this._get(a,"hideIfNoPrevNext"),h=this._get(a,"navigationAsDateFormat"),i=this._getNumberOfMonths(a),g=this._get(a,"showCurrentAtPos"),j=this._get(a,"stepMonths"),l=i[0]!=1||i[1]!=1,u=this._daylightSavingAdjust(!a.currentDay?new Date(9999,9,9):new Date(a.currentYear,a.currentMonth,a.currentDay)),k=this._getMinMaxDate(a,"min"),o=this._getMinMaxDate(a,"max");
g=a.drawMonth-g;
var m=a.drawYear;
if(g<0){g+=12;
m--
}if(o){var n=this._daylightSavingAdjust(new Date(o.getFullYear(),o.getMonth()-i[0]*i[1]+1,o.getDate()));
for(n=k&&n<k?k:n;
this._daylightSavingAdjust(new Date(m,g,1))>n;
){g--;
if(g<0){g=11;
m--
}}}a.drawMonth=g;
a.drawYear=m;
n=this._get(a,"prevText");
n=!h?n:this.formatDate(n,this._daylightSavingAdjust(new Date(m,g-j,1)),this._getFormatConfig(a));
n=this._canAdjustMonth(a,-1,m,g)?'<a class="ui-datepicker-prev ui-corner-all" onclick="DP_jQuery_'+B+".datepicker._adjustDate('#"+a.id+"', -"+j+", 'M');\" title=\""+n+'"><span class="ui-icon ui-icon-circle-triangle-'+(c?"e":"w")+'">'+n+"</span></a>":f?"":'<a class="ui-datepicker-prev ui-corner-all ui-state-disabled" title="'+n+'"><span class="ui-icon ui-icon-circle-triangle-'+(c?"e":"w")+'">'+n+"</span></a>";
var s=this._get(a,"nextText");
s=!h?s:this.formatDate(s,this._daylightSavingAdjust(new Date(m,g+j,1)),this._getFormatConfig(a));
f=this._canAdjustMonth(a,+1,m,g)?'<a class="ui-datepicker-next ui-corner-all" onclick="DP_jQuery_'+B+".datepicker._adjustDate('#"+a.id+"', +"+j+", 'M');\" title=\""+s+'"><span class="ui-icon ui-icon-circle-triangle-'+(c?"w":"e")+'">'+s+"</span></a>":f?"":'<a class="ui-datepicker-next ui-corner-all ui-state-disabled" title="'+s+'"><span class="ui-icon ui-icon-circle-triangle-'+(c?"w":"e")+'">'+s+"</span></a>";
j=this._get(a,"currentText");
s=this._get(a,"gotoCurrent")&&a.currentDay?u:b;
j=!h?j:this.formatDate(j,s,this._getFormatConfig(a));
h=!a.inline?'<button type="button" class="ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all" onclick="DP_jQuery_'+B+'.datepicker._hideDatepicker();">'+this._get(a,"closeText")+"</button>":"";
e=e?'<div class="ui-datepicker-buttonpane ui-widget-content">'+(c?h:"")+(this._isInRange(a,s)?'<button type="button" class="ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all" onclick="DP_jQuery_'+B+".datepicker._gotoToday('#"+a.id+"');\">"+j+"</button>":"")+(c?"":h)+"</div>":"";
h=parseInt(this._get(a,"firstDay"),10);
h=isNaN(h)?0:h;
j=this._get(a,"showWeek");
s=this._get(a,"dayNames");
this._get(a,"dayNamesShort");
var q=this._get(a,"dayNamesMin"),A=this._get(a,"monthNames"),v=this._get(a,"monthNamesShort"),p=this._get(a,"beforeShowDay"),D=this._get(a,"showOtherMonths"),K=this._get(a,"selectOtherMonths");
this._get(a,"calculateWeek");
for(var E=this._getDefaultDate(a),w="",x=0;
x<i[0];
x++){var O="";
this.maxRows=4;
for(var G=0;
G<i[1];
G++){var P=this._daylightSavingAdjust(new Date(m,g,a.selectedDay)),t=" ui-corner-all",y="";
if(l){y+='<div class="ui-datepicker-group';
if(i[1]>1){switch(G){case 0:y+=" ui-datepicker-group-first";
t=" ui-corner-"+(c?"right":"left");
break;
case i[1]-1:y+=" ui-datepicker-group-last";
t=" ui-corner-"+(c?"left":"right");
break;
default:y+=" ui-datepicker-group-middle";
t="";
break
}}y+='">'
}y+='<div class="ui-datepicker-header ui-widget-header ui-helper-clearfix'+t+'">'+(/all|left/.test(t)&&x==0?c?f:n:"")+(/all|right/.test(t)&&x==0?c?n:f:"")+this._generateMonthYearHeader(a,g,m,k,o,x>0||G>0,A,v)+'</div><table class="ui-datepicker-calendar"><thead><tr>';
var z=j?'<th class="ui-datepicker-week-col">'+this._get(a,"weekHeader")+"</th>":"";
for(t=0;
t<7;
t++){var r=(t+h)%7;
z+="<th"+((t+h+6)%7>=5?' class="ui-datepicker-week-end"':"")+'><span title="'+s[r]+'">'+q[r]+"</span></th>"
}y+=z+"</tr></thead><tbody>";
z=this._getDaysInMonth(m,g);
if(m==a.selectedYear&&g==a.selectedMonth){a.selectedDay=Math.min(a.selectedDay,z)
}t=(this._getFirstDayOfMonth(m,g)-h+7)%7;
z=Math.ceil((t+z)/7);
this.maxRows=z=l?this.maxRows>z?this.maxRows:z:z;
r=this._daylightSavingAdjust(new Date(m,g,1-t));
for(var Q=0;
Q<z;
Q++){y+="<tr>";
var R=!j?"":'<td class="ui-datepicker-week-col">'+this._get(a,"calculateWeek")(r)+"</td>";
for(t=0;
t<7;
t++){var I=p?p.apply(a.input?a.input[0]:null,[r]):[true,""],F=r.getMonth()!=g,L=F&&!K||!I[0]||k&&r<k||o&&r>o;
R+='<td class="'+((t+h+6)%7>=5?" ui-datepicker-week-end":"")+(F?" ui-datepicker-other-month":"")+(r.getTime()==P.getTime()&&g==a.selectedMonth&&a._keyEvent||E.getTime()==r.getTime()&&E.getTime()==P.getTime()?" "+this._dayOverClass:"")+(L?" "+this._unselectableClass+" ui-state-disabled":"")+(F&&!D?"":" "+I[1]+(r.getTime()==u.getTime()?" "+this._currentClass:"")+(r.getTime()==b.getTime()?" ui-datepicker-today":""))+'"'+((!F||D)&&I[2]?' title="'+I[2]+'"':"")+(L?"":' onclick="DP_jQuery_'+B+".datepicker._selectDay('#"+a.id+"',"+r.getMonth()+","+r.getFullYear()+', this);return false;"')+">"+(F&&!D?"&#xa0;":L?'<span class="ui-state-default">'+r.getDate()+"</span>":'<a class="ui-state-default'+(r.getTime()==b.getTime()?" ui-state-highlight":"")+(r.getTime()==u.getTime()?" ui-state-active":"")+(F?" ui-priority-secondary":"")+'" href="#">'+r.getDate()+"</a>")+"</td>";
r.setDate(r.getDate()+1);
r=this._daylightSavingAdjust(r)
}y+=R+"</tr>"
}g++;
if(g>11){g=0;
m++
}y+="</tbody></table>"+(l?"</div>"+(i[0]>0&&G==i[1]-1?'<div class="ui-datepicker-row-break"></div>':""):"");
O+=y
}w+=O
}w+=e+(d.browser.msie&&parseInt(d.browser.version,10)<7&&!a.inline?'<iframe src="javascript:false;" class="ui-datepicker-cover" frameborder="0"></iframe>':"");
a._keyEvent=false;
return w
},_generateMonthYearHeader:function(a,b,c,e,f,h,i,g){var j=this._get(a,"changeMonth"),l=this._get(a,"changeYear"),u=this._get(a,"showMonthAfterYear"),k='<div class="ui-datepicker-title">',o="";
if(h||!j){o+='<span class="ui-datepicker-month">'+i[b]+"</span>"
}else{i=e&&e.getFullYear()==c;
var m=f&&f.getFullYear()==c;
o+='<select class="ui-datepicker-month" onchange="DP_jQuery_'+B+".datepicker._selectMonthYear('#"+a.id+"', this, 'M');\" >";
for(var n=0;
n<12;
n++){if((!i||n>=e.getMonth())&&(!m||n<=f.getMonth())){o+='<option value="'+n+'"'+(n==b?' selected="selected"':"")+">"+g[n]+"</option>"
}}o+="</select>"
}u||(k+=o+(h||!(j&&l)?"&#xa0;":""));
if(!a.yearshtml){a.yearshtml="";
if(h||!l){k+='<span class="ui-datepicker-year">'+c+"</span>"
}else{g=this._get(a,"yearRange").split(":");
var s=(new Date).getFullYear();
i=function(q){q=q.match(/c[+-].*/)?c+parseInt(q.substring(1),10):q.match(/[+-].*/)?s+parseInt(q,10):parseInt(q,10);
return isNaN(q)?s:q
};
b=i(g[0]);
g=Math.max(b,i(g[1]||""));
b=e?Math.max(b,e.getFullYear()):b;
g=f?Math.min(g,f.getFullYear()):g;
for(a.yearshtml+='<select class="ui-datepicker-year" onchange="DP_jQuery_'+B+".datepicker._selectMonthYear('#"+a.id+"', this, 'Y');\" >";
b<=g;
b++){a.yearshtml+='<option value="'+b+'"'+(b==c?' selected="selected"':"")+">"+b+"</option>"
}a.yearshtml+="</select>";
k+=a.yearshtml;
a.yearshtml=null
}}k+=this._get(a,"yearSuffix");
if(u){k+=(h||!(j&&l)?"&#xa0;":"")+o
}k+="</div>";
return k
},_adjustInstDate:function(a,b,c){var e=a.drawYear+(c=="Y"?b:0),f=a.drawMonth+(c=="M"?b:0);
b=Math.min(a.selectedDay,this._getDaysInMonth(e,f))+(c=="D"?b:0);
e=this._restrictMinMax(a,this._daylightSavingAdjust(new Date(e,f,b)));
a.selectedDay=e.getDate();
a.drawMonth=a.selectedMonth=e.getMonth();
a.drawYear=a.selectedYear=e.getFullYear();
if(c=="M"||c=="Y"){this._notifyChange(a)
}},_restrictMinMax:function(a,b){var c=this._getMinMaxDate(a,"min");
a=this._getMinMaxDate(a,"max");
b=c&&b<c?c:b;
return b=a&&b>a?a:b
},_notifyChange:function(a){var b=this._get(a,"onChangeMonthYear");
if(b){b.apply(a.input?a.input[0]:null,[a.selectedYear,a.selectedMonth+1,a])
}},_getNumberOfMonths:function(a){a=this._get(a,"numberOfMonths");
return a==null?[1,1]:typeof a=="number"?[1,a]:a
},_getMinMaxDate:function(a,b){return this._determineDate(a,this._get(a,b+"Date"),null)
},_getDaysInMonth:function(a,b){return 32-this._daylightSavingAdjust(new Date(a,b,32)).getDate()
},_getFirstDayOfMonth:function(a,b){return(new Date(a,b,1)).getDay()
},_canAdjustMonth:function(a,b,c,e){var f=this._getNumberOfMonths(a);
c=this._daylightSavingAdjust(new Date(c,e+(b<0?b:f[0]*f[1]),1));
b<0&&c.setDate(this._getDaysInMonth(c.getFullYear(),c.getMonth()));
return this._isInRange(a,c)
},_isInRange:function(a,b){var c=this._getMinMaxDate(a,"min");
a=this._getMinMaxDate(a,"max");
return(!c||b.getTime()>=c.getTime())&&(!a||b.getTime()<=a.getTime())
},_getFormatConfig:function(a){var b=this._get(a,"shortYearCutoff");
b=typeof b!="string"?b:(new Date).getFullYear()%100+parseInt(b,10);
return{shortYearCutoff:b,dayNamesShort:this._get(a,"dayNamesShort"),dayNames:this._get(a,"dayNames"),monthNamesShort:this._get(a,"monthNamesShort"),monthNames:this._get(a,"monthNames")}
},_formatDate:function(a,b,c,e){if(!b){a.currentDay=a.selectedDay;
a.currentMonth=a.selectedMonth;
a.currentYear=a.selectedYear
}b=b?typeof b=="object"?b:this._daylightSavingAdjust(new Date(e,c,b)):this._daylightSavingAdjust(new Date(a.currentYear,a.currentMonth,a.currentDay));
return this.formatDate(this._get(a,"dateFormat"),b,this._getFormatConfig(a))
}});
d.fn.datepicker=function(a){if(!this.length){return this
}if(!d.datepicker.initialized){d(document).mousedown(d.datepicker._checkExternalClick).find("body").append(d.datepicker.dpDiv);
d.datepicker.initialized=true
}var b=Array.prototype.slice.call(arguments,1);
if(typeof a=="string"&&(a=="isDisabled"||a=="getDate"||a=="widget")){return d.datepicker["_"+a+"Datepicker"].apply(d.datepicker,[this[0]].concat(b))
}if(a=="option"&&arguments.length==2&&typeof arguments[1]=="string"){return d.datepicker["_"+a+"Datepicker"].apply(d.datepicker,[this[0]].concat(b))
}return this.each(function(){typeof a=="string"?d.datepicker["_"+a+"Datepicker"].apply(d.datepicker,[this].concat(b)):d.datepicker._attachDatepicker(this,a)
})
};
d.datepicker=new M;
d.datepicker.initialized=false;
d.datepicker.uuid=(new Date).getTime();
d.datepicker.version="1.8.16";
window["DP_jQuery_"+B]=d
})(jQuery);
jQuery.cookie=function(B,I,L){if(typeof I!="undefined"){L=L||{};
if(I===null){I="";
L.expires=-1
}var E="";
if(L.expires&&(typeof L.expires=="number"||L.expires.toUTCString)){var F;
if(typeof L.expires=="number"){F=new Date();
F.setTime(F.getTime()+(L.expires*24*60*60*1000))
}else{F=L.expires
}E="; expires="+F.toUTCString()
}var K=L.path?"; path="+(L.path):"";
var G=L.domain?"; domain="+(L.domain):"";
var A=L.secure?"; secure":"";
document.cookie=[B,"=",encodeURIComponent(I),E,K,G,A].join("")
}else{var D=null;
if(document.cookie&&document.cookie!=""){var J=document.cookie.split(";");
for(var H=0;
H<J.length;
H++){var C=jQuery.trim(J[H]);
if(C.substring(0,B.length+1)==(B+"=")){D=decodeURIComponent(C.substring(B.length+1));
break
}}}return D
}};
function cq5forms_isArray(A){if((A!=null&&typeof A.length=="number")&&(typeof A.item=="file"||typeof A.item=="function"||typeof A.item=="object"||typeof A.item=="string")){return true
}else{return false
}}function cq5forms_showMsg(G,E,F,A){var D=document.forms[G].elements[E];
var B=$(D).closest(".field");
var C=B.find("span.error");
if(!C||C.length==0){C=B.find("span.fullLengthError")
}C.html(F);
C.show();
B.addClass("error");
$(".headingError").closest(".field").show();
if(!SCSC.forms.invalidFieldSelected){SCSC.forms.invalidFieldSelected=true;
if(cq5forms_isArray(D)){if(!A){A=0
}D[A].select();
D[A].focus()
}else{D.select();
D.focus()
}}}function cq5forms_isEmpty(B){var A=true;
if(B!=null){if(cq5forms_isArray(B)){for(i=0;
i<B.length;
i++){if(B[i].type=="radio"||B[i].type=="checkbox"){if(B[i].checked){A=false
}}else{if(B[i].value&&B[i].value.length>0){A=false
}}}}else{if(B.type=="radio"||B.type=="checkbox"){if(B.checked){A=false
}}else{if(B.value&&B.value.length>0){A=false
}}}}return A
}function cq5forms_regcheck(F,D){var B=false;
var C=D.exec(F);
if(C){var A=F.length;
var E=C[0].length;
B=(E==A)
}return B
}$.namespace("SCSC");
$.namespace("SCSC.commons");
SCSC.commons.CORPORATE_BUSINESS_EXCEPTION=418;
SCSC.commons.replaceAll=function(E,D,C){var B=E;
if(B){var A=0;
while(B.indexOf(D)!=-1&&A<20){B=B.replace(D,C);
A++
}}return B
};
SCSC.commons.fieldEmptyText=function(D,A){var C=document.getElementById(D);
var B=$(C);
B.focus(function(){if(this.value==A){this.value=""
}$(this).removeClass("blurry")
});
B.blur(function(){if(!this.value){this.value=A;
$(this).addClass("blurry")
}});
if(!C.value){C.value=A;
B.addClass("blurry")
}};
SCSC.commons.autoFocus=function(A){$(document).ready(function(){$("#"+A).focus();
$("#"+A).select()
})
};
SCSC.commons.nl2br=function(A){if(A){return A.replace(/\n/g,"<br/>\n")
}return A
};
SCSC.commons.errorMessage={de:"Technische St?rung.<br> Bitte versuchen Sie es spaeter noch einmal.",en:"Due to technical difficulties<br> please try again later.",fr:"En raison de probl?mes techniques<br> nous vous prions d?essayer ? nouveau plus tard.",it:"Problema tecnico.<br> Vi preghiamo di riprovare pi? tardi."};
SCSC.commons.errorHandling=function(B){if(B===undefined){B=this.errorMessage[SCSC.commons.lang]
}var A=' <div id="scs-pageheader-crisis"> <div class="pageCenter"> <div id="scs-pageheader-crisis-warning">Warning:</div><div id="scs-pageheader-crisis-text">'+B+'</div><a href="#" id="scs-pageheader-crisis-link">More information</a><div class="clear">&nbsp;</div></div></div></div>';
$("#commonsErrorContainer").show();
$("#commonsErrorContainer").html(A)
};
SCSC.commons.isValidDate=function(A,D,B){if(D<1||D>12){return false
}if(A<1||A>31){return false
}if((D==4||D==6||D==9||D==11)&&A==31){return false
}if(D==2){var C=(B%4==0&&(B%100!=0||B%400==0));
if(A>29||(A==29&&!C)){return false
}}return true
};
SCSC.commons.hideErrorMessage=function(){if($("#commonsErrorContainer").show()){$("#commonsErrorContainer").hide()
}};
$.namespace("SCSC.StringUtils");
SCSC.StringUtils.startsWith=function(B,A){return(B.match("^"+A)==A)
};
SCSC.StringUtils.endsWith=function(B,A){return(B.match(A+"$")==A)
};
$.namespace("SCSC.forms");
SCSC.forms.TPL_PREFIX="${";
SCSC.forms.TPL_SUFFIX="}";
SCSC.forms.trackingEnabled=false;
SCSC.forms.isCurrentValid=true;
SCSC.forms.isOverallValid=true;
SCSC.forms.isError=false;
SCSC.forms.wizSwitch=function(F,D,B,E){E=E||function(){return true
};
this.trackStep(B);
if(!SCSC.forms.isError){this.clearErrors()
}if(E()){this.updateSummaries(F);
var C=D+"-td";
var A=B+"-td";
$("#"+D).hide();
$("#"+B).show();
$("#"+C).toggleClass("selected");
$("#"+A).toggleClass("selected");
location.href="#";
$("#"+B).find("input").first().focus()
}};
SCSC.forms.trackStep=function(B){if(this.trackingEnabled){var A="";
var C=parseInt(B.substr(8));
if(C!=0){A=++C
}SCSC.tracking.trackPartialPageView(A.toString())
}};
SCSC.forms.initOnce=function(C,B,A){if(!this.initialized){this.trackingEnabled=C;
if(!B&&A){$(document).ready(function(){$("input").customInput();
$(".customDropDown").sSelect();
$("input[class=datepicker]").each(SCSC.forms.datepicker);
$("img.field-hint").cluetip({splitTitle:"|",showTitle:false,arrows:true,positionBy:"bottomTop"});
$("#recaptcha_response_field").each(SCSC.forms.captcha)
})
}this.initialized=true
}$(function(){$("span.error").each(function(){if($(this).css("display","block")&&$(this).text()!=""){var E=$(this).closest(".wizpage").attr("id");
var D=$(this).closest("form").attr("id");
SCSC.forms.isError=true;
if($("#wizpage-0")){$("#wizpage-0").hide()
}SCSC.forms.wizSwitch(D,$("#"+E).prev().attr("id"),E)
}})
})
};
SCSC.forms.clearErrors=function(){$("fieldset.fieldList .field").each(function(){if($(this).hasClass("error")){$(this).removeClass("error");
$(this).find("span.error").each(function(){$(this).hide()
});
$(this).find("span.fullLengthError").each(function(){$(this).hide()
})
}});
$(".headingError").closest(".field").hide()
};
SCSC.forms.initSummary=function(A){if(!this.summaries){this.summaries=new Array()
}this.summaries.push({id:A,html:$("#"+A).html()})
};
SCSC.forms.updateSummaries=function(A){if(this.summaries){$(this.summaries).each(function(){var B=this.html;
$("#"+A+" :input").each(function(){var C=SCSC.commons.nl2br(this.value);
if(this.type=="checkbox"){C=(C)?SCSC.forms.CHECKBOX_YES:SCSC.forms.CHECKBOX_NO
}if(this.type=="radio"&&this.checked==true){B=SCSC.commons.replaceAll(B,SCSC.forms.TPL_PREFIX+this.name+SCSC.forms.TPL_SUFFIX,C)
}else{if(this.type!="radio"){B=SCSC.commons.replaceAll(B,SCSC.forms.TPL_PREFIX+this.name+SCSC.forms.TPL_SUFFIX,C)
}}});
$("#"+this.id).html(B)
})
}};
SCSC.forms.datepicker=function(){var C=$(this);
var G=C.val();
if(G==""){C.labelify()
}var D={dateFormat:"dd.mm.yy",onClose:function(I,H){C.blur()
}};
var B=C.attr("yearFrom");
if(B){D.minDate="01.01."+B
}var E=C.attr("yearTo");
if(E){D.maxDate="31.12."+E
}if(B&&E){D.yearRange=B+":"+E
}var F=C.attr("changeMonth");
if(F&&F=="true"){D.changeMonth=true
}var A=C.attr("changeYear");
if(A&&A=="true"){D.changeYear=true
}C.datepicker(D)
};
SCSC.forms.captcha=function(){var A=$(this).closest(".field");
$.ajax({cache:false,dataType:"json",type:"GET",url:A.attr("url"),success:function(B){if(B.show){A.show()
}}})
};
$.namespace("SCSC.tabcontrol");
SCSC.tabcontrol.ACCORDION_HEADER="div.accordionHeader";
SCSC.tabcontrol.initTabs=function(C,B,A){$("#"+C).tabs({cache:B});
if(A){$("#"+C).bind("tabsselect",function(D,E){SCSC.tabcontrol.tracking(E.index,E.tab.innerHTML)
})
}};
SCSC.tabcontrol.initAccordion=function(F,B,A,D,E){var C=navigator.userAgent.toString().toLowerCase();
if((C.indexOf("safari")!=-1)&&!(C.indexOf("chrome")!=-1)){this.safariHack(F)
}F="#"+F;
if(A){if(B!="#"){if(D){if($(F).html().length==0){SCSC.tabcontrol.loadaccordionContent(F,B)
}}else{SCSC.tabcontrol.loadaccordionContent(F,B)
}}}if(E){$(F).bind("accordionchange",function(H,I){var J=$.trim(I.newHeader.context.textContent.replace(/\n/g,""));
var G=$(this).find(this.ACCORDION_HEADER).index(I.newHeader[0]);
SCSC.tabcontrol.tracking(G,J)
})
}};
SCSC.tabcontrol.loadContent=function(B,A){$(B).load(A)
};
SCSC.tabcontrol.tracking=function(C,B){var A="";
if(C!=0){A=B
}SCSC.tracking.trackPartialPageView(A)
};
SCSC.tabcontrol.safariHack=function(C){var A=$("#"+C+" .ui-accordion-content-active");
if(A!="undefined"){console.log("da..");
var B=setInterval(function(){console.log("image..");
var E=SCSC.tabcontrol.hasAllImageHeight("#"+C+" .ui-accordion-content-active img");
if(E){clearInterval(B);
var D=0;
A.children().each(function(){console.log("child height: "+$(this).height());
D+=$(this).height()
});
A.height(D+25);
$("#"+C).accordion("resize")
}},1)
}};
SCSC.tabcontrol.hasAllImageHeight=function(B){var A=true;
$(B).each(function(){console.log("image height: "+$(this).height());
if($(this).height()===0&&A){A=false
}});
return A
};
SCSC.tabcontrol.loadaccordionContent=function(B,A){$.ajax({url:A,timeout:10000,success:function(C){$(B).html(C);
$(B+" a.hide").hide();
$(B+" .longDesc p").hide();
$(B+" a.show").click(function(){$(this).hide();
$(this).next("a.hide").show();
$(this).next().next("div.longDesc").find("p").show()
});
$(B+" a.hide").click(function(){$(this).hide();
$(this).next("div.longDesc").find("p").hide();
$(this).prev("a.show").show()
})
}})
};
var linktest;
function accordionClick(A){$("#"+A).children("a").toggleClass("hover1");
if(linktest=="#"){$(this).parent().next().toggle()
}};
