window.Modernizr=function(at,ar,aq){function ab(b){aj.cssText=b}function Z(d,c){return ab(af.join(d+";")+(c||""))}function X(d,c){return typeof d===c}function V(d,c){return !!~(""+d).indexOf(c)}function T(f,c){for(var g in f){if(aj[f[g]]!==aq){return c=="pfx"?f[g]:!0}}return !1}function R(g,c,k){for(var j in g){var h=c[g[j]];if(h!==aq){return k===!1?g[j]:X(h,"function")?h.bind(k||c):h}}return !1}function O(g,f,k){var j=g.charAt(0).toUpperCase()+g.slice(1),h=(g+" "+ad.join(j+" ")+j).split(" ");return X(f,"string")||X(f,"undefined")?T(h,f):(h=(g+" "+aa.join(j+" ")+j).split(" "),R(h,f,k))}var ap="2.6.0",ao={},an=!0,am=ar.documentElement,al="modernizr",ak=ar.createElement(al),aj=ak.style,ai,ah=":)",ag={}.toString,af=" -webkit- -moz- -o- -ms- ".split(" "),ae="Webkit Moz O ms",ad=ae.split(" "),aa=ae.toLowerCase().split(" "),Y={},W={},U={},S=[],P=S.slice,N,M=function(t,s,r,q){var p,o,n,h=ar.createElement("div"),g=ar.body,b=g?g:ar.createElement("body");if(parseInt(r,10)){while(r--){n=ar.createElement("div"),n.id=q?q[r]:al+(r+1),h.appendChild(n)}}return p=["&#173;",'<style id="s',al,'">',t,"</style>"].join(""),h.id=al,(g?h:b).innerHTML+=p,b.appendChild(h),g||(b.style.background="",am.appendChild(b)),o=s(h,t),g?h.parentNode.removeChild(h):b.parentNode.removeChild(b),!!o},K=function(){function c(h,g){g=g||ar.createElement(b[h]||"div"),h="on"+h;var a=h in g;return a||(g.setAttribute||(g=ar.createElement("div")),g.setAttribute&&g.removeAttribute&&(g.setAttribute(h,""),a=X(g[h],"function"),X(g[h],"undefined")||(g[h]=aq),g.removeAttribute(h))),g=null,a}var b={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return c}(),J={}.hasOwnProperty,ac;!X(J,"undefined")&&!X(J.call,"undefined")?ac=function(d,c){return J.call(d,c)}:ac=function(d,c){return c in d&&X(d.constructor.prototype[c],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(a){var h=this;if(typeof h!="function"){throw new TypeError}var g=P.call(arguments,1),f=function(){if(this instanceof f){var b=function(){};b.prototype=h.prototype;var d=new b,c=h.apply(d,g.concat(P.call(arguments)));return Object(c)===c?c:d}return h.apply(a,g.concat(P.call(arguments)))};return f}),Y.flexbox=function(){return O("flexWrap")},Y.rgba=function(){return ab("background-color:rgba(150,255,150,.5)"),V(aj.backgroundColor,"rgba")},Y.hsla=function(){return ab("background-color:hsla(120,40%,100%,.5)"),V(aj.backgroundColor,"rgba")||V(aj.backgroundColor,"hsla")},Y.multiplebgs=function(){return ab("background:url(https://),url(https://),red url(https://)"),/(url\s*\(.*?){3}/.test(aj.background)},Y.backgroundsize=function(){return O("backgroundSize")},Y.borderimage=function(){return O("borderImage")},Y.borderradius=function(){return O("borderRadius")},Y.boxshadow=function(){return O("boxShadow")},Y.textshadow=function(){return ar.createElement("div").style.textShadow===""},Y.opacity=function(){return Z("opacity:.55"),/^0.55$/.test(aj.opacity)},Y.cssanimations=function(){return O("animationName")},Y.csscolumns=function(){return O("columnCount")},Y.cssgradients=function(){var f="background-image:",d="gradient(linear,left top,right bottom,from(#9f9),to(white));",g="linear-gradient(left top,#9f9, white);";return ab((f+"-webkit- ".split(" ").join(d+f)+af.join(g+f)).slice(0,-f.length)),V(aj.backgroundImage,"gradient")},Y.cssreflections=function(){return O("boxReflect")},Y.csstransforms=function(){return !!O("transform")},Y.csstransforms3d=function(){var b=!!O("perspective");return b&&"webkitPerspective" in am.style&&M("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(a,d){b=a.offsetLeft===9&&a.offsetHeight===3}),b},Y.csstransitions=function(){return O("transition")},Y.fontface=function(){var b;return M('@font-face {font-family:"font";src:url("https://")}',function(l,k){var j=ar.getElementById("smodernizr"),h=j.sheet||j.styleSheet,a=h?h.cssRules&&h.cssRules[0]?h.cssRules[0].cssText:h.cssText||"":"";b=/src/i.test(a)&&a.indexOf(k.split(" ")[0])===0}),b},Y.generatedcontent=function(){var b;return M(['#modernizr:after{content:"',ah,'";visibility:hidden}'].join(""),function(a){b=a.offsetHeight>=1}),b};for(var L in Y){ac(Y,L)&&(N=L.toLowerCase(),ao[N]=Y[L](),S.push((ao[N]?"":"no-")+N))}return ao.addTest=function(f,c){if(typeof f=="object"){for(var g in f){ac(f,g)&&ao.addTest(g,f[g])}}else{f=f.toLowerCase();if(ao[f]!==aq){return ao}c=typeof c=="function"?c():c,an&&(am.className+=" "+(c?"":"no-")+f),ao[f]=c}return ao},ab(""),ak=ai=null,function(au,I){function z(g,f){var j=g.createElement("p"),h=g.getElementsByTagName("head")[0]||g.documentElement;return j.innerHTML="x<style>"+f+"</style>",h.insertBefore(j.lastChild,h.firstChild)}function y(){var b=s.elements;return typeof b=="string"?b.split(" "):b}function x(d){var c=B[d[D]];return c||(c={},C++,d[D]=C,B[C]=c),c}function w(b,j,h){j||(j=I);if(A){return j.createElement(b)}h||(h=x(j));var d;return h.cache[b]?d=h.cache[b].cloneNode():F.test(b)?d=(h.cache[b]=h.createElem(b)).cloneNode():d=h.createElem(b),d.canHaveChildren&&!G.test(b)?h.frag.appendChild(d):d}function v(b,m){b||(b=I);if(A){return b.createDocumentFragment()}m=m||x(b);var l=m.frag.cloneNode(),k=0,j=y(),h=j.length;for(;k<h;k++){l.createElement(j[k])}return l}function u(d,c){c.cache||(c.cache={},c.createElem=d.createElement,c.createFrag=d.createDocumentFragment,c.frag=c.createFrag()),d.createElement=function(a){return s.shivMethods?w(a,d,c):c.createElem(a)},d.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+y().join().replace(/\w+/g,function(b){return c.createElem(b),c.frag.createElement(b),'c("'+b+'")'})+");return n}")(s,c.frag)}function t(b){b||(b=I);var d=x(b);return s.shivCSS&&!E&&!d.hasCSS&&(d.hasCSS=!!z(b,"article,aside,figcaption,figure,footer,header,hgroup,nav,section{display:block}mark{background:#FF0;color:#000}")),A||u(b,d),b}var H=au.html5||{},G=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,F=/^<|^(?:a|b|button|code|div|fieldset|form|h1|h2|h3|h4|h5|h6|i|iframe|img|input|label|li|link|ol|option|p|param|q|script|select|span|strong|style|table|tbody|td|textarea|tfoot|th|thead|tr|ul)$/i,E,D="_html5shiv",C=0,B={},A;(function(){try{var b=I.createElement("a");b.innerHTML="<xyz></xyz>",E="hidden" in b,A=b.childNodes.length==1||function(){I.createElement("a");var c=I.createDocumentFragment();return typeof c.cloneNode=="undefined"||typeof c.createDocumentFragment=="undefined"||typeof c.createElement=="undefined"}()}catch(d){E=!0,A=!0}})();var s={elements:H.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",shivCSS:H.shivCSS!==!1,supportsUnknownElements:A,shivMethods:H.shivMethods!==!1,type:"default",shivDocument:t,createElement:w,createDocumentFragment:v};au.html5=s,t(I)}(this,ar),ao._version=ap,ao._prefixes=af,ao._domPrefixes=aa,ao._cssomPrefixes=ad,ao.hasEvent=K,ao.testProp=function(b){return T([b])},ao.testAllProps=O,ao.testStyles=M,am.className=am.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(an?" js "+S.join(" "):""),ao}(this,this.document),function(ae,ad,ac){function ab(b){return P.call(b)=="[object Function]"}function aa(b){return typeof b=="string"}function Z(){}function Y(b){return !b||b=="loaded"||b=="complete"||b=="uninitialized"}function X(){var b=O.shift();M=1,b?b.t?S(function(){(b.t=="c"?L.injectCss:L.injectJs)(b.s,0,b.a,b.x,b.e,1)},0):(b(),X()):M=0}function W(w,v,t,s,q,p,n){function m(a){if(!g&&Y(h.readyState)&&(x.r=g=1,!M&&X(),h.onload=h.onreadystatechange=null,a)){w!="img"&&S(function(){I.removeChild(h)},50);for(var c in D[v]){D[v].hasOwnProperty(c)&&D[v][c].onload()}}}var n=n||L.errorTimeout,h={},g=0,b=0,x={t:t,s:v,e:q,a:p,x:n};D[v]===1&&(b=1,D[v]=[],h=ad.createElement(w)),w=="object"?h.data=v:(h.src=v,h.type=w),h.width=h.height="0",h.onerror=h.onload=h.onreadystatechange=function(){m.call(this,b)},O.splice(s,0,x),w!="img"&&(b||D[v]===2?(I.insertBefore(h,J?null:R),S(m,n)):D[v].push(h))}function V(h,g,l,k,j){return M=0,g=g||"j",aa(h)?W(g=="c"?G:H,h,g,this.i++,l,k,j):(O.splice(this.i++,0,h),O.length==1&&X()),this}function U(){var b=L;return b.loader={load:V,i:0},b}var T=ad.documentElement,S=ae.setTimeout,R=ad.getElementsByTagName("script")[0],P={}.toString,O=[],M=0,K="MozAppearance" in T.style,J=K&&!!ad.createRange().compareNode,I=J?T:R.parentNode,T=ae.opera&&P.call(ae.opera)=="[object Opera]",T=!!ad.attachEvent&&!T,H=K?"object":T?"script":"img",G=T?"script":H,F=Array.isArray||function(b){return P.call(b)=="[object Array]"},E=[],D={},C={timeout:function(d,c){return c.length&&(d.timeout=c[0]),d}},N,L;L=function(h){function d(l){var l=l.split("!"),j=E.length,s=l.pop(),r=l.length,s={url:s,origUrl:s,prefixes:l},q,p,m;for(p=0;p<r;p++){m=l[p].split("="),(q=C[m.shift()])&&(s=q(s,m))}for(p=0;p<j;p++){s=E[p](s)}return s}function o(m,t,s,r,q){var p=d(m),b=p.autoCallback;p.url.split(".").pop().split("?").shift(),p.bypass||(t&&(t=ab(t)?t:t[m]||t[r]||t[m.split("/").pop().split("?")[0]]||X),p.instead?p.instead(m,t,s,r,q):(D[p.url]?p.noexec=!0:D[p.url]=1,s.load(p.url,p.forceCSS||!p.forceJS&&"css"==p.url.split(".").pop().split("?").shift()?"c":ac,p.noexec,p.attrs,p.timeout),(ab(t)||ab(b))&&s.load(function(){U(),t&&t(p.origUrl,q,r),b&&b(p.origUrl,q,r),D[p.url]=2})))}function n(x,w){function v(b,j){if(b){if(aa(b)){j||(s=function(){var l=[].slice.call(arguments);r.apply(this,l),q()}),o(b,s,w,0,u)}else{if(Object(b)===b){for(g in p=function(){var a=0,l;for(l in b){b.hasOwnProperty(l)&&a++}return a}(),b){b.hasOwnProperty(g)&&(!j&&!--p&&(ab(s)?s=function(){var l=[].slice.call(arguments);r.apply(this,l),q()}:s[g]=function(l){return function(){var a=[].slice.call(arguments);l&&l.apply(this,a),q()}}(r[g])),o(b[g],s,w,g,u))}}}}else{!j&&q()}}var u=!!x.test,t=x.load||x.both,s=x.callback||Z,r=s,q=x.complete||Z,p,g;v(u?x.yep:x.nope,!!t),t&&v(t)}var k,f,c=this.yepnope.loader;if(aa(h)){o(h,0,c,0)}else{if(F(h)){for(k=0;k<h.length;k++){f=h[k],aa(f)?o(f,0,c,0):F(f)?L(f):Object(f)===f&&n(f,c)}}else{Object(h)===h&&n(h,c)}}},L.addPrefix=function(d,c){C[d]=c},L.addFilter=function(b){E.push(b)},L.errorTimeout=10000,ad.readyState==null&&ad.addEventListener&&(ad.readyState="loading",ad.addEventListener("DOMContentLoaded",N=function(){ad.removeEventListener("DOMContentLoaded",N,0),ad.readyState="complete"},0)),ae.yepnope=U(),ae.yepnope.executeStack=X,ae.yepnope.injectJs=function(r,q,p,n,m,h){var g=ad.createElement("script"),f,b,n=n||L.errorTimeout;g.src=r;for(b in p){g.setAttribute(b,p[b])}q=h?X:q||Z,g.onreadystatechange=g.onload=function(){!f&&Y(g.readyState)&&(f=1,q(),g.onload=g.onreadystatechange=null)},S(function(){f||(f=1,q(1))},n),m?g.onload():R.parentNode.insertBefore(g,R)},ae.yepnope.injectCss=function(b,n,m,l,k,h){var l=ad.createElement("link"),f,n=h?X:n||Z;l.href=b,l.rel="stylesheet",l.type="text/css";for(f in m){l.setAttribute(f,m[f])}k||(R.parentNode.insertBefore(l,R),S(n,0))}}(this,document),Modernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0))};
/*!
 * jQuery JavaScript Library v1.8.1
 * http://jquery.com/
 *
 * Includes Sizzle.js
 * http://sizzlejs.com/
 *
 * Copyright 2012 jQuery Foundation and other contributors
 * Released under the MIT license
 * http://jquery.org/license
 *
 * Date: Thu Aug 30 2012 17:17:22 GMT-0400 (Eastern Daylight Time)
 */
(function(a4,aD){var x,ah,p=a4.document,aK=a4.location,d=a4.navigator,bi=a4.jQuery,J=a4.$,ao=Array.prototype.push,a6=Array.prototype.slice,aM=Array.prototype.indexOf,A=Object.prototype.toString,X=Object.prototype.hasOwnProperty,aQ=String.prototype.trim,bI=function(b1,b2){return new bI.fn.init(b1,b2,x)},bz=/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,ac=/\S/,aX=/\s+/,D=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,bq=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,a=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,bh=/^[\],:{}\s]*$/,bk=/(?:^|:|,)(?:\s*\[)+/g,bF=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,a2=/"[^"\\\r\n]*"|true|false|null|-?(?:\d\d*\.|)\d+(?:[eE][\-+]?\d+|)/g,bR=/^-ms-/,aW=/-([\da-z])/gi,O=function(b1,b2){return(b2+"").toUpperCase()},aH=function(){if(p.addEventListener){p.removeEventListener("DOMContentLoaded",aH,false);bI.ready()}else{if(p.readyState==="complete"){p.detachEvent("onreadystatechange",aH);bI.ready()}}},ab={};bI.fn=bI.prototype={constructor:bI,init:function(b1,b5,b4){var b3,b6,b2,b7;if(!b1){return this}if(b1.nodeType){this.context=this[0]=b1;this.length=1;return this}if(typeof b1==="string"){if(b1.charAt(0)==="<"&&b1.charAt(b1.length-1)===">"&&b1.length>=3){b3=[null,b1,null]}else{b3=bq.exec(b1)}if(b3&&(b3[1]||!b5)){if(b3[1]){b5=b5 instanceof bI?b5[0]:b5;b7=(b5&&b5.nodeType?b5.ownerDocument||b5:p);b1=bI.parseHTML(b3[1],b7,true);if(a.test(b3[1])&&bI.isPlainObject(b5)){this.attr.call(b1,b5,true)}return bI.merge(this,b1)}else{b6=p.getElementById(b3[2]);if(b6&&b6.parentNode){if(b6.id!==b3[2]){return b4.find(b1)}this.length=1;this[0]=b6}this.context=p;this.selector=b1;return this}}else{if(!b5||b5.jquery){return(b5||b4).find(b1)}else{return this.constructor(b5).find(b1)}}}else{if(bI.isFunction(b1)){return b4.ready(b1)}}if(b1.selector!==aD){this.selector=b1.selector;this.context=b1.context}return bI.makeArray(b1,this)},selector:"",jquery:"1.8.1",length:0,size:function(){return this.length},toArray:function(){return a6.call(this)},get:function(b1){return b1==null?this.toArray():(b1<0?this[this.length+b1]:this[b1])},pushStack:function(b2,b4,b1){var b3=bI.merge(this.constructor(),b2);b3.prevObject=this;b3.context=this.context;if(b4==="find"){b3.selector=this.selector+(this.selector?" ":"")+b1}else{if(b4){b3.selector=this.selector+"."+b4+"("+b1+")"}}return b3},each:function(b2,b1){return bI.each(this,b2,b1)},ready:function(b1){bI.ready.promise().done(b1);return this},eq:function(b1){b1=+b1;return b1===-1?this.slice(b1):this.slice(b1,b1+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(a6.apply(this,arguments),"slice",a6.call(arguments).join(","))},map:function(b1){return this.pushStack(bI.map(this,function(b3,b2){return b1.call(b3,b2,b3)}))},end:function(){return this.prevObject||this.constructor(null)},push:ao,sort:[].sort,splice:[].splice};bI.fn.init.prototype=bI.fn;bI.extend=bI.fn.extend=function(){var ca,b3,b1,b2,b7,b8,b6=arguments[0]||{},b5=1,b4=arguments.length,b9=false;if(typeof b6==="boolean"){b9=b6;b6=arguments[1]||{};b5=2}if(typeof b6!=="object"&&!bI.isFunction(b6)){b6={}}if(b4===b5){b6=this;--b5}for(;b5<b4;b5++){if((ca=arguments[b5])!=null){for(b3 in ca){b1=b6[b3];b2=ca[b3];if(b6===b2){continue}if(b9&&b2&&(bI.isPlainObject(b2)||(b7=bI.isArray(b2)))){if(b7){b7=false;b8=b1&&bI.isArray(b1)?b1:[]}else{b8=b1&&bI.isPlainObject(b1)?b1:{}}b6[b3]=bI.extend(b9,b8,b2)}else{if(b2!==aD){b6[b3]=b2}}}}}return b6};bI.extend({noConflict:function(b1){if(a4.$===bI){a4.$=J}if(b1&&a4.jQuery===bI){a4.jQuery=bi}return bI},isReady:false,readyWait:1,holdReady:function(b1){if(b1){bI.readyWait++}else{bI.ready(true)}},ready:function(b1){if(b1===true?--bI.readyWait:bI.isReady){return}if(!p.body){return setTimeout(bI.ready,1)}bI.isReady=true;if(b1!==true&&--bI.readyWait>0){return}ah.resolveWith(p,[bI]);if(bI.fn.trigger){bI(p).trigger("ready").off("ready")}},isFunction:function(b1){return bI.type(b1)==="function"},isArray:Array.isArray||function(b1){return bI.type(b1)==="array"},isWindow:function(b1){return b1!=null&&b1==b1.window},isNumeric:function(b1){return !isNaN(parseFloat(b1))&&isFinite(b1)},type:function(b1){return b1==null?String(b1):ab[A.call(b1)]||"object"},isPlainObject:function(b3){if(!b3||bI.type(b3)!=="object"||b3.nodeType||bI.isWindow(b3)){return false}try{if(b3.constructor&&!X.call(b3,"constructor")&&!X.call(b3.constructor.prototype,"isPrototypeOf")){return false}}catch(b2){return false}var b1;for(b1 in b3){}return b1===aD||X.call(b3,b1)},isEmptyObject:function(b2){var b1;for(b1 in b2){return false}return true},error:function(b1){throw new Error(b1)},parseHTML:function(b4,b3,b1){var b2;if(!b4||typeof b4!=="string"){return null}if(typeof b3==="boolean"){b1=b3;b3=0}b3=b3||p;if((b2=a.exec(b4))){return[b3.createElement(b2[1])]}b2=bI.buildFragment([b4],b3,b1?null:[]);return bI.merge([],(b2.cacheable?bI.clone(b2.fragment):b2.fragment).childNodes)},parseJSON:function(b1){if(!b1||typeof b1!=="string"){return null}b1=bI.trim(b1);if(a4.JSON&&a4.JSON.parse){return a4.JSON.parse(b1)}if(bh.test(b1.replace(bF,"@").replace(a2,"]").replace(bk,""))){return(new Function("return "+b1))()}bI.error("Invalid JSON: "+b1)},parseXML:function(b3){var b1,b2;if(!b3||typeof b3!=="string"){return null}try{if(a4.DOMParser){b2=new DOMParser();b1=b2.parseFromString(b3,"text/xml")}else{b1=new ActiveXObject("Microsoft.XMLDOM");b1.async="false";b1.loadXML(b3)}}catch(b4){b1=aD}if(!b1||!b1.documentElement||b1.getElementsByTagName("parsererror").length){bI.error("Invalid XML: "+b3)}return b1},noop:function(){},globalEval:function(b1){if(b1&&ac.test(b1)){(a4.execScript||function(b2){a4["eval"].call(a4,b2)})(b1)}},camelCase:function(b1){return b1.replace(bR,"ms-").replace(aW,O)},nodeName:function(b2,b1){return b2.nodeName&&b2.nodeName.toUpperCase()===b1.toUpperCase()},each:function(b6,b7,b3){var b2,b4=0,b5=b6.length,b1=b5===aD||bI.isFunction(b6);if(b3){if(b1){for(b2 in b6){if(b7.apply(b6[b2],b3)===false){break}}}else{for(;b4<b5;){if(b7.apply(b6[b4++],b3)===false){break}}}}else{if(b1){for(b2 in b6){if(b7.call(b6[b2],b2,b6[b2])===false){break}}}else{for(;b4<b5;){if(b7.call(b6[b4],b4,b6[b4++])===false){break}}}}return b6},trim:aQ&&!aQ.call("\uFEFF\xA0")?function(b1){return b1==null?"":aQ.call(b1)}:function(b1){return b1==null?"":b1.toString().replace(D,"")},makeArray:function(b1,b3){var b4,b2=b3||[];if(b1!=null){b4=bI.type(b1);if(b1.length==null||b4==="string"||b4==="function"||b4==="regexp"||bI.isWindow(b1)){ao.call(b2,b1)}else{bI.merge(b2,b1)}}return b2},inArray:function(b4,b2,b3){var b1;if(b2){if(aM){return aM.call(b2,b4,b3)}b1=b2.length;b3=b3?b3<0?Math.max(0,b1+b3):b3:0;for(;b3<b1;b3++){if(b3 in b2&&b2[b3]===b4){return b3}}}return -1},merge:function(b5,b3){var b1=b3.length,b4=b5.length,b2=0;if(typeof b1==="number"){for(;b2<b1;b2++){b5[b4++]=b3[b2]}}else{while(b3[b2]!==aD){b5[b4++]=b3[b2++]}}b5.length=b4;return b5},grep:function(b2,b7,b1){var b6,b3=[],b4=0,b5=b2.length;b1=!!b1;for(;b4<b5;b4++){b6=!!b7(b2[b4],b4);if(b1!==b6){b3.push(b2[b4])}}return b3},map:function(b1,b8,b9){var b6,b7,b5=[],b3=0,b2=b1.length,b4=b1 instanceof bI||b2!==aD&&typeof b2==="number"&&((b2>0&&b1[0]&&b1[b2-1])||b2===0||bI.isArray(b1));if(b4){for(;b3<b2;b3++){b6=b8(b1[b3],b3,b9);if(b6!=null){b5[b5.length]=b6}}}else{for(b7 in b1){b6=b8(b1[b7],b7,b9);if(b6!=null){b5[b5.length]=b6}}}return b5.concat.apply([],b5)},guid:1,proxy:function(b5,b4){var b3,b1,b2;if(typeof b4==="string"){b3=b5[b4];b4=b5;b5=b3}if(!bI.isFunction(b5)){return aD}b1=a6.call(arguments,2);b2=function(){return b5.apply(b4,b1.concat(a6.call(arguments)))};b2.guid=b5.guid=b5.guid||b2.guid||bI.guid++;return b2},access:function(b1,b7,ca,b8,b5,cb,b9){var b3,b6=ca==null,b4=0,b2=b1.length;if(ca&&typeof ca==="object"){for(b4 in ca){bI.access(b1,b7,b4,ca[b4],1,cb,b8)}b5=1}else{if(b8!==aD){b3=b9===aD&&bI.isFunction(b8);if(b6){if(b3){b3=b7;b7=function(cd,cc,ce){return b3.call(bI(cd),ce)}}else{b7.call(b1,b8);b7=null}}if(b7){for(;b4<b2;b4++){b7(b1[b4],ca,b3?b8.call(b1[b4],b4,b7(b1[b4],ca)):b8,b9)}}b5=1}}return b5?b1:b6?b7.call(b1):b2?b7(b1[0],ca):cb},now:function(){return(new Date()).getTime()}});bI.ready.promise=function(b4){if(!ah){ah=bI.Deferred();if(p.readyState==="complete"){setTimeout(bI.ready,1)}else{if(p.addEventListener){p.addEventListener("DOMContentLoaded",aH,false);a4.addEventListener("load",bI.ready,false)}else{p.attachEvent("onreadystatechange",aH);a4.attachEvent("onload",bI.ready);var b3=false;try{b3=a4.frameElement==null&&p.documentElement}catch(b2){}if(b3&&b3.doScroll){(function b1(){if(!bI.isReady){try{b3.doScroll("left")}catch(b5){return setTimeout(b1,50)}bI.ready()}})()}}}}return ah.promise(b4)};bI.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(b2,b1){ab["[object "+b1+"]"]=b1.toLowerCase()});x=bI(p);var bW={};function ae(b2){var b1=bW[b2]={};bI.each(b2.split(aX),function(b4,b3){b1[b3]=true});return b1}bI.Callbacks=function(cb){cb=typeof cb==="string"?(bW[cb]||ae(cb)):bI.extend({},cb);var b4,b1,b5,b3,b6,b7,b8=[],b9=!cb.once&&[],b2=function(cc){b4=cb.memory&&cc;b1=true;b7=b3||0;b3=0;b6=b8.length;b5=true;for(;b8&&b7<b6;b7++){if(b8[b7].apply(cc[0],cc[1])===false&&cb.stopOnFalse){b4=false;break}}b5=false;if(b8){if(b9){if(b9.length){b2(b9.shift())}}else{if(b4){b8=[]}else{ca.disable()}}}},ca={add:function(){if(b8){var cd=b8.length;(function cc(ce){bI.each(ce,function(cg,cf){var ch=bI.type(cf);if(ch==="function"&&(!cb.unique||!ca.has(cf))){b8.push(cf)}else{if(cf&&cf.length&&ch!=="string"){cc(cf)}}})})(arguments);if(b5){b6=b8.length}else{if(b4){b3=cd;b2(b4)}}}return this},remove:function(){if(b8){bI.each(arguments,function(ce,cc){var cd;while((cd=bI.inArray(cc,b8,cd))>-1){b8.splice(cd,1);if(b5){if(cd<=b6){b6--}if(cd<=b7){b7--}}}})}return this},has:function(cc){return bI.inArray(cc,b8)>-1},empty:function(){b8=[];return this},disable:function(){b8=b9=b4=aD;return this},disabled:function(){return !b8},lock:function(){b9=aD;if(!b4){ca.disable()}return this},locked:function(){return !b9},fireWith:function(cd,cc){cc=cc||[];cc=[cd,cc.slice?cc.slice():cc];if(b8&&(!b1||b9)){if(b5){b9.push(cc)}else{b2(cc)}}return this},fire:function(){ca.fireWith(this,arguments);return this},fired:function(){return !!b1}};return ca};bI.extend({Deferred:function(b3){var b2=[["resolve","done",bI.Callbacks("once memory"),"resolved"],["reject","fail",bI.Callbacks("once memory"),"rejected"],["notify","progress",bI.Callbacks("memory")]],b4="pending",b5={state:function(){return b4},always:function(){b1.done(arguments).fail(arguments);return this},then:function(){var b6=arguments;return bI.Deferred(function(b7){bI.each(b2,function(b9,b8){var cb=b8[0],ca=b6[b9];b1[b8[1]](bI.isFunction(ca)?function(){var cc=ca.apply(this,arguments);if(cc&&bI.isFunction(cc.promise)){cc.promise().done(b7.resolve).fail(b7.reject).progress(b7.notify)}else{b7[cb+"With"](this===b1?b7:this,[cc])}}:b7[cb])});b6=null}).promise()},promise:function(b6){return typeof b6==="object"?bI.extend(b6,b5):b5}},b1={};b5.pipe=b5.then;bI.each(b2,function(b7,b6){var b9=b6[2],b8=b6[3];b5[b6[1]]=b9.add;if(b8){b9.add(function(){b4=b8},b2[b7^1][2].disable,b2[2][2].lock)}b1[b6[0]]=b9.fire;b1[b6[0]+"With"]=b9.fireWith});b5.promise(b1);if(b3){b3.call(b1,b1)}return b1},when:function(b5){var b3=0,b7=a6.call(arguments),b1=b7.length,b2=b1!==1||(b5&&bI.isFunction(b5.promise))?b1:0,ca=b2===1?b5:bI.Deferred(),b4=function(cc,cd,cb){return function(ce){cd[cc]=this;cb[cc]=arguments.length>1?a6.call(arguments):ce;if(cb===b9){ca.notifyWith(cd,cb)}else{if(!(--b2)){ca.resolveWith(cd,cb)}}}},b9,b6,b8;if(b1>1){b9=new Array(b1);b6=new Array(b1);b8=new Array(b1);for(;b3<b1;b3++){if(b7[b3]&&bI.isFunction(b7[b3].promise)){b7[b3].promise().done(b4(b3,b8,b7)).fail(ca.reject).progress(b4(b3,b6,b9))}else{--b2}}}if(!b2){ca.resolveWith(b8,b7)}return ca.promise()}});bI.support=(function(){var cd,cc,ca,cb,b4,b9,b8,b6,b5,b3,b1,b2=p.createElement("div");b2.setAttribute("className","t");b2.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>";cc=b2.getElementsByTagName("*");ca=b2.getElementsByTagName("a")[0];ca.style.cssText="top:1px;float:left;opacity:.5";if(!cc||!cc.length||!ca){return{}}cb=p.createElement("select");b4=cb.appendChild(p.createElement("option"));b9=b2.getElementsByTagName("input")[0];cd={leadingWhitespace:(b2.firstChild.nodeType===3),tbody:!b2.getElementsByTagName("tbody").length,htmlSerialize:!!b2.getElementsByTagName("link").length,style:/top/.test(ca.getAttribute("style")),hrefNormalized:(ca.getAttribute("href")==="/a"),opacity:/^0.5/.test(ca.style.opacity),cssFloat:!!ca.style.cssFloat,checkOn:(b9.value==="on"),optSelected:b4.selected,getSetAttribute:b2.className!=="t",enctype:!!p.createElement("form").enctype,html5Clone:p.createElement("nav").cloneNode(true).outerHTML!=="<:nav></:nav>",boxModel:(p.compatMode==="CSS1Compat"),submitBubbles:true,changeBubbles:true,focusinBubbles:false,deleteExpando:true,noCloneEvent:true,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableMarginRight:true,boxSizingReliable:true,pixelPosition:false};b9.checked=true;cd.noCloneChecked=b9.cloneNode(true).checked;cb.disabled=true;cd.optDisabled=!b4.disabled;try{delete b2.test}catch(b7){cd.deleteExpando=false}if(!b2.addEventListener&&b2.attachEvent&&b2.fireEvent){b2.attachEvent("onclick",b1=function(){cd.noCloneEvent=false});b2.cloneNode(true).fireEvent("onclick");b2.detachEvent("onclick",b1)}b9=p.createElement("input");b9.value="t";b9.setAttribute("type","radio");cd.radioValue=b9.value==="t";b9.setAttribute("checked","checked");b9.setAttribute("name","t");b2.appendChild(b9);b8=p.createDocumentFragment();b8.appendChild(b2.lastChild);cd.checkClone=b8.cloneNode(true).cloneNode(true).lastChild.checked;cd.appendChecked=b9.checked;b8.removeChild(b9);b8.appendChild(b2);if(b2.attachEvent){for(b5 in {submit:true,change:true,focusin:true}){b6="on"+b5;b3=(b6 in b2);if(!b3){b2.setAttribute(b6,"return;");b3=(typeof b2[b6]==="function")}cd[b5+"Bubbles"]=b3}}bI(function(){var cf,cj,ch,ci,cg="padding:0;margin:0;border:0;display:block;overflow:hidden;",ce=p.getElementsByTagName("body")[0];if(!ce){return}cf=p.createElement("div");cf.style.cssText="visibility:hidden;border:0;width:0;height:0;position:static;top:0;margin-top:1px";ce.insertBefore(cf,ce.firstChild);cj=p.createElement("div");cf.appendChild(cj);cj.innerHTML="<table><tr><td></td><td>t</td></tr></table>";ch=cj.getElementsByTagName("td");ch[0].style.cssText="padding:0;margin:0;border:0;display:none";b3=(ch[0].offsetHeight===0);ch[0].style.display="";ch[1].style.display="none";cd.reliableHiddenOffsets=b3&&(ch[0].offsetHeight===0);cj.innerHTML="";cj.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;";cd.boxSizing=(cj.offsetWidth===4);cd.doesNotIncludeMarginInBodyOffset=(ce.offsetTop!==1);if(a4.getComputedStyle){cd.pixelPosition=(a4.getComputedStyle(cj,null)||{}).top!=="1%";cd.boxSizingReliable=(a4.getComputedStyle(cj,null)||{width:"4px"}).width==="4px";ci=p.createElement("div");ci.style.cssText=cj.style.cssText=cg;ci.style.marginRight=ci.style.width="0";cj.style.width="1px";cj.appendChild(ci);cd.reliableMarginRight=!parseFloat((a4.getComputedStyle(ci,null)||{}).marginRight)}if(typeof cj.style.zoom!=="undefined"){cj.innerHTML="";cj.style.cssText=cg+"width:1px;padding:1px;display:inline;zoom:1";cd.inlineBlockNeedsLayout=(cj.offsetWidth===3);cj.style.display="block";cj.style.overflow="visible";cj.innerHTML="<div></div>";cj.firstChild.style.width="5px";cd.shrinkWrapBlocks=(cj.offsetWidth!==3);cf.style.zoom=1}ce.removeChild(cf);cf=cj=ch=ci=null});b8.removeChild(b2);cc=ca=cb=b4=b9=b8=b2=null;return cd})();var bv=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,aN=/([A-Z])/g;bI.extend({cache:{},deletedIds:[],uuid:0,expando:"jQuery"+(bI.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:true,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:true},hasData:function(b1){b1=b1.nodeType?bI.cache[b1[bI.expando]]:b1[bI.expando];return !!b1&&!P(b1)},data:function(b4,b2,b6,b5){if(!bI.acceptData(b4)){return}var b7,b9,ca=bI.expando,b8=typeof b2==="string",cb=b4.nodeType,b1=cb?bI.cache:b4,b3=cb?b4[ca]:b4[ca]&&ca;if((!b3||!b1[b3]||(!b5&&!b1[b3].data))&&b8&&b6===aD){return}if(!b3){if(cb){b4[ca]=b3=bI.deletedIds.pop()||++bI.uuid}else{b3=ca}}if(!b1[b3]){b1[b3]={};if(!cb){b1[b3].toJSON=bI.noop}}if(typeof b2==="object"||typeof b2==="function"){if(b5){b1[b3]=bI.extend(b1[b3],b2)}else{b1[b3].data=bI.extend(b1[b3].data,b2)}}b7=b1[b3];if(!b5){if(!b7.data){b7.data={}}b7=b7.data}if(b6!==aD){b7[bI.camelCase(b2)]=b6}if(b8){b9=b7[b2];if(b9==null){b9=b7[bI.camelCase(b2)]}}else{b9=b7}return b9},removeData:function(b4,b2,b5){if(!bI.acceptData(b4)){return}var b8,b7,b6,b9=b4.nodeType,b1=b9?bI.cache:b4,b3=b9?b4[bI.expando]:bI.expando;if(!b1[b3]){return}if(b2){b8=b5?b1[b3]:b1[b3].data;if(b8){if(!bI.isArray(b2)){if(b2 in b8){b2=[b2]}else{b2=bI.camelCase(b2);if(b2 in b8){b2=[b2]}else{b2=b2.split(" ")}}}for(b7=0,b6=b2.length;b7<b6;b7++){delete b8[b2[b7]]}if(!(b5?P:bI.isEmptyObject)(b8)){return}}}if(!b5){delete b1[b3].data;if(!P(b1[b3])){return}}if(b9){bI.cleanData([b4],true)}else{if(bI.support.deleteExpando||b1!=b1.window){delete b1[b3]}else{b1[b3]=null}}},_data:function(b2,b1,b3){return bI.data(b2,b1,b3,true)},acceptData:function(b2){var b1=b2.nodeName&&bI.noData[b2.nodeName.toLowerCase()];return !b1||b1!==true&&b2.getAttribute("classid")===b1}});bI.fn.extend({data:function(ca,b9){var b5,b2,b8,b1,b4,b3=this[0],b7=0,b6=null;if(ca===aD){if(this.length){b6=bI.data(b3);if(b3.nodeType===1&&!bI._data(b3,"parsedAttrs")){b8=b3.attributes;for(b4=b8.length;b7<b4;b7++){b1=b8[b7].name;if(b1.indexOf("data-")===0){b1=bI.camelCase(b1.substring(5));bx(b3,b1,b6[b1])}}bI._data(b3,"parsedAttrs",true)}}return b6}if(typeof ca==="object"){return this.each(function(){bI.data(this,ca)})}b5=ca.split(".",2);b5[1]=b5[1]?"."+b5[1]:"";b2=b5[1]+"!";return bI.access(this,function(cb){if(cb===aD){b6=this.triggerHandler("getData"+b2,[b5[0]]);if(b6===aD&&b3){b6=bI.data(b3,ca);b6=bx(b3,ca,b6)}return b6===aD&&b5[1]?this.data(b5[0]):b6}b5[1]=cb;this.each(function(){var cc=bI(this);cc.triggerHandler("setData"+b2,b5);bI.data(this,ca,cb);cc.triggerHandler("changeData"+b2,b5)})},null,b9,arguments.length>1,null,false)},removeData:function(b1){return this.each(function(){bI.removeData(this,b1)})}});function bx(b3,b2,b4){if(b4===aD&&b3.nodeType===1){var b1="data-"+b2.replace(aN,"-$1").toLowerCase();b4=b3.getAttribute(b1);if(typeof b4==="string"){try{b4=b4==="true"?true:b4==="false"?false:b4==="null"?null:+b4+""===b4?+b4:bv.test(b4)?bI.parseJSON(b4):b4}catch(b5){}bI.data(b3,b2,b4)}else{b4=aD}}return b4}function P(b2){var b1;for(b1 in b2){if(b1==="data"&&bI.isEmptyObject(b2[b1])){continue}if(b1!=="toJSON"){return false}}return true}bI.extend({queue:function(b3,b2,b4){var b1;if(b3){b2=(b2||"fx")+"queue";b1=bI._data(b3,b2);if(b4){if(!b1||bI.isArray(b4)){b1=bI._data(b3,b2,bI.makeArray(b4))}else{b1.push(b4)}}return b1||[]}},dequeue:function(b6,b5){b5=b5||"fx";var b2=bI.queue(b6,b5),b7=b2.length,b4=b2.shift(),b1=bI._queueHooks(b6,b5),b3=function(){bI.dequeue(b6,b5)};if(b4==="inprogress"){b4=b2.shift();b7--}if(b4){if(b5==="fx"){b2.unshift("inprogress")}delete b1.stop;b4.call(b6,b3,b1)}if(!b7&&b1){b1.empty.fire()}},_queueHooks:function(b3,b2){var b1=b2+"queueHooks";return bI._data(b3,b1)||bI._data(b3,b1,{empty:bI.Callbacks("once memory").add(function(){bI.removeData(b3,b2+"queue",true);bI.removeData(b3,b1,true)})})}});bI.fn.extend({queue:function(b1,b2){var b3=2;if(typeof b1!=="string"){b2=b1;b1="fx";b3--}if(arguments.length<b3){return bI.queue(this[0],b1)}return b2===aD?this:this.each(function(){var b4=bI.queue(this,b1,b2);bI._queueHooks(this,b1);if(b1==="fx"&&b4[0]!=="inprogress"){bI.dequeue(this,b1)}})},dequeue:function(b1){return this.each(function(){bI.dequeue(this,b1)})},delay:function(b2,b1){b2=bI.fx?bI.fx.speeds[b2]||b2:b2;b1=b1||"fx";return this.queue(b1,function(b4,b3){var b5=setTimeout(b4,b2);b3.stop=function(){clearTimeout(b5)}})},clearQueue:function(b1){return this.queue(b1||"fx",[])},promise:function(b3,b7){var b2,b4=1,b8=bI.Deferred(),b6=this,b1=this.length,b5=function(){if(!(--b4)){b8.resolveWith(b6,[b6])}};if(typeof b3!=="string"){b7=b3;b3=aD}b3=b3||"fx";while(b1--){b2=bI._data(b6[b1],b3+"queueHooks");if(b2&&b2.empty){b4++;b2.empty.add(b5)}}b5();return b8.promise(b7)}});var a9,bX,o,bL=/[\t\r\n]/g,ak=/\r/g,k=/^(?:button|input)$/i,aC=/^(?:button|input|object|select|textarea)$/i,E=/^a(?:rea|)$/i,N=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,bN=bI.support.getSetAttribute;bI.fn.extend({attr:function(b1,b2){return bI.access(this,bI.attr,b1,b2,arguments.length>1)},removeAttr:function(b1){return this.each(function(){bI.removeAttr(this,b1)})},prop:function(b1,b2){return bI.access(this,bI.prop,b1,b2,arguments.length>1)},removeProp:function(b1){b1=bI.propFix[b1]||b1;return this.each(function(){try{this[b1]=aD;delete this[b1]}catch(b2){}})},addClass:function(b5){var b7,b3,b2,b4,b6,b8,b1;if(bI.isFunction(b5)){return this.each(function(b9){bI(this).addClass(b5.call(this,b9,this.className))})}if(b5&&typeof b5==="string"){b7=b5.split(aX);for(b3=0,b2=this.length;b3<b2;b3++){b4=this[b3];if(b4.nodeType===1){if(!b4.className&&b7.length===1){b4.className=b5}else{b6=" "+b4.className+" ";for(b8=0,b1=b7.length;b8<b1;b8++){if(!~b6.indexOf(" "+b7[b8]+" ")){b6+=b7[b8]+" "}}b4.className=bI.trim(b6)}}}}return this},removeClass:function(b7){var b4,b5,b6,b8,b2,b3,b1;if(bI.isFunction(b7)){return this.each(function(b9){bI(this).removeClass(b7.call(this,b9,this.className))})}if((b7&&typeof b7==="string")||b7===aD){b4=(b7||"").split(aX);for(b3=0,b1=this.length;b3<b1;b3++){b6=this[b3];if(b6.nodeType===1&&b6.className){b5=(" "+b6.className+" ").replace(bL," ");for(b8=0,b2=b4.length;b8<b2;b8++){while(b5.indexOf(" "+b4[b8]+" ")>-1){b5=b5.replace(" "+b4[b8]+" "," ")}}b6.className=b7?bI.trim(b5):""}}}return this},toggleClass:function(b4,b2){var b3=typeof b4,b1=typeof b2==="boolean";if(bI.isFunction(b4)){return this.each(function(b5){bI(this).toggleClass(b4.call(this,b5,this.className,b2),b2)})}return this.each(function(){if(b3==="string"){var b7,b6=0,b5=bI(this),b8=b2,b9=b4.split(aX);while((b7=b9[b6++])){b8=b1?b8:!b5.hasClass(b7);b5[b8?"addClass":"removeClass"](b7)}}else{if(b3==="undefined"||b3==="boolean"){if(this.className){bI._data(this,"__className__",this.className)}this.className=this.className||b4===false?"":bI._data(this,"__className__")||""}}})},hasClass:function(b1){var b4=" "+b1+" ",b3=0,b2=this.length;for(;b3<b2;b3++){if(this[b3].nodeType===1&&(" "+this[b3].className+" ").replace(bL," ").indexOf(b4)>-1){return true}}return false},val:function(b4){var b1,b2,b5,b3=this[0];if(!arguments.length){if(b3){b1=bI.valHooks[b3.type]||bI.valHooks[b3.nodeName.toLowerCase()];if(b1&&"get" in b1&&(b2=b1.get(b3,"value"))!==aD){return b2}b2=b3.value;return typeof b2==="string"?b2.replace(ak,""):b2==null?"":b2}return}b5=bI.isFunction(b4);return this.each(function(b7){var b8,b6=bI(this);if(this.nodeType!==1){return}if(b5){b8=b4.call(this,b7,b6.val())}else{b8=b4}if(b8==null){b8=""}else{if(typeof b8==="number"){b8+=""}else{if(bI.isArray(b8)){b8=bI.map(b8,function(b9){return b9==null?"":b9+""})}}}b1=bI.valHooks[this.type]||bI.valHooks[this.nodeName.toLowerCase()];if(!b1||!("set" in b1)||b1.set(this,b8,"value")===aD){this.value=b8}})}});bI.extend({valHooks:{option:{get:function(b1){var b2=b1.attributes.value;return !b2||b2.specified?b1.value:b1.text}},select:{get:function(b1){var b7,b2,b6,b4,b5=b1.selectedIndex,b8=[],b9=b1.options,b3=b1.type==="select-one";if(b5<0){return null}b2=b3?b5:0;b6=b3?b5+1:b9.length;for(;b2<b6;b2++){b4=b9[b2];if(b4.selected&&(bI.support.optDisabled?!b4.disabled:b4.getAttribute("disabled")===null)&&(!b4.parentNode.disabled||!bI.nodeName(b4.parentNode,"optgroup"))){b7=bI(b4).val();if(b3){return b7}b8.push(b7)}}if(b3&&!b8.length&&b9.length){return bI(b9[b5]).val()}return b8},set:function(b2,b3){var b1=bI.makeArray(b3);bI(b2).find("option").each(function(){this.selected=bI.inArray(bI(this).val(),b1)>=0});if(!b1.length){b2.selectedIndex=-1}return b1}}},attrFn:{},attr:function(b7,b4,b8,b6){var b3,b1,b5,b2=b7.nodeType;if(!b7||b2===3||b2===8||b2===2){return}if(b6&&bI.isFunction(bI.fn[b4])){return bI(b7)[b4](b8)}if(typeof b7.getAttribute==="undefined"){return bI.prop(b7,b4,b8)}b5=b2!==1||!bI.isXMLDoc(b7);if(b5){b4=b4.toLowerCase();b1=bI.attrHooks[b4]||(N.test(b4)?bX:a9)}if(b8!==aD){if(b8===null){bI.removeAttr(b7,b4);return}else{if(b1&&"set" in b1&&b5&&(b3=b1.set(b7,b8,b4))!==aD){return b3}else{b7.setAttribute(b4,""+b8);return b8}}}else{if(b1&&"get" in b1&&b5&&(b3=b1.get(b7,b4))!==null){return b3}else{b3=b7.getAttribute(b4);return b3===null?aD:b3}}},removeAttr:function(b4,b6){var b5,b7,b2,b1,b3=0;if(b6&&b4.nodeType===1){b7=b6.split(aX);for(;b3<b7.length;b3++){b2=b7[b3];if(b2){b5=bI.propFix[b2]||b2;b1=N.test(b2);if(!b1){bI.attr(b4,b2,"")}b4.removeAttribute(bN?b2:b5);if(b1&&b5 in b4){b4[b5]=false}}}}},attrHooks:{type:{set:function(b1,b2){if(k.test(b1.nodeName)&&b1.parentNode){bI.error("type property can't be changed")}else{if(!bI.support.radioValue&&b2==="radio"&&bI.nodeName(b1,"input")){var b3=b1.value;b1.setAttribute("type",b2);if(b3){b1.value=b3}return b2}}}},value:{get:function(b2,b1){if(a9&&bI.nodeName(b2,"button")){return a9.get(b2,b1)}return b1 in b2?b2.value:null},set:function(b2,b3,b1){if(a9&&bI.nodeName(b2,"button")){return a9.set(b2,b3,b1)}b2.value=b3}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(b6,b4,b7){var b3,b1,b5,b2=b6.nodeType;if(!b6||b2===3||b2===8||b2===2){return}b5=b2!==1||!bI.isXMLDoc(b6);if(b5){b4=bI.propFix[b4]||b4;b1=bI.propHooks[b4]}if(b7!==aD){if(b1&&"set" in b1&&(b3=b1.set(b6,b7,b4))!==aD){return b3}else{return(b6[b4]=b7)}}else{if(b1&&"get" in b1&&(b3=b1.get(b6,b4))!==null){return b3}else{return b6[b4]}}},propHooks:{tabIndex:{get:function(b2){var b1=b2.getAttributeNode("tabindex");return b1&&b1.specified?parseInt(b1.value,10):aC.test(b2.nodeName)||E.test(b2.nodeName)&&b2.href?0:aD}}}});bX={get:function(b2,b1){var b4,b3=bI.prop(b2,b1);return b3===true||typeof b3!=="boolean"&&(b4=b2.getAttributeNode(b1))&&b4.nodeValue!==false?b1.toLowerCase():aD},set:function(b2,b4,b1){var b3;if(b4===false){bI.removeAttr(b2,b1)}else{b3=bI.propFix[b1]||b1;if(b3 in b2){b2[b3]=true}b2.setAttribute(b1,b1.toLowerCase())}return b1}};if(!bN){o={name:true,id:true,coords:true};a9=bI.valHooks.button={get:function(b3,b2){var b1;b1=b3.getAttributeNode(b2);return b1&&(o[b2]?b1.value!=="":b1.specified)?b1.value:aD},set:function(b3,b4,b2){var b1=b3.getAttributeNode(b2);if(!b1){b1=p.createAttribute(b2);b3.setAttributeNode(b1)}return(b1.value=b4+"")}};bI.each(["width","height"],function(b2,b1){bI.attrHooks[b1]=bI.extend(bI.attrHooks[b1],{set:function(b3,b4){if(b4===""){b3.setAttribute(b1,"auto");return b4}}})});bI.attrHooks.contenteditable={get:a9.get,set:function(b2,b3,b1){if(b3===""){b3="false"}a9.set(b2,b3,b1)}}}if(!bI.support.hrefNormalized){bI.each(["href","src","width","height"],function(b2,b1){bI.attrHooks[b1]=bI.extend(bI.attrHooks[b1],{get:function(b4){var b3=b4.getAttribute(b1,2);return b3===null?aD:b3}})})}if(!bI.support.style){bI.attrHooks.style={get:function(b1){return b1.style.cssText.toLowerCase()||aD},set:function(b1,b2){return(b1.style.cssText=""+b2)}}}if(!bI.support.optSelected){bI.propHooks.selected=bI.extend(bI.propHooks.selected,{get:function(b2){var b1=b2.parentNode;if(b1){b1.selectedIndex;if(b1.parentNode){b1.parentNode.selectedIndex}}return null}})}if(!bI.support.enctype){bI.propFix.enctype="encoding"}if(!bI.support.checkOn){bI.each(["radio","checkbox"],function(){bI.valHooks[this]={get:function(b1){return b1.getAttribute("value")===null?"on":b1.value}}})}bI.each(["radio","checkbox"],function(){bI.valHooks[this]=bI.extend(bI.valHooks[this],{set:function(b1,b2){if(bI.isArray(b2)){return(b1.checked=bI.inArray(bI(b1).val(),b2)>=0)}}})});var bG=/^(?:textarea|input|select)$/i,bt=/^([^\.]*|)(?:\.(.+)|)$/,bc=/(?:^|\s)hover(\.\S+|)\b/,a5=/^key/,bM=/^(?:mouse|contextmenu)|click/,bA=/^(?:focusinfocus|focusoutblur)$/,at=function(b1){return bI.event.special.hover?b1:b1.replace(bc,"mouseenter$1 mouseleave$1")};bI.event={add:function(b4,b8,cf,b6,b5){var b9,b7,cg,ce,cd,cb,b1,cc,b2,b3,ca;if(b4.nodeType===3||b4.nodeType===8||!b8||!cf||!(b9=bI._data(b4))){return}if(cf.handler){b2=cf;cf=b2.handler;b5=b2.selector}if(!cf.guid){cf.guid=bI.guid++}cg=b9.events;if(!cg){b9.events=cg={}}b7=b9.handle;if(!b7){b9.handle=b7=function(ch){return typeof bI!=="undefined"&&(!ch||bI.event.triggered!==ch.type)?bI.event.dispatch.apply(b7.elem,arguments):aD};b7.elem=b4}b8=bI.trim(at(b8)).split(" ");for(ce=0;ce<b8.length;ce++){cd=bt.exec(b8[ce])||[];cb=cd[1];b1=(cd[2]||"").split(".").sort();ca=bI.event.special[cb]||{};cb=(b5?ca.delegateType:ca.bindType)||cb;ca=bI.event.special[cb]||{};cc=bI.extend({type:cb,origType:cd[1],data:b6,handler:cf,guid:cf.guid,selector:b5,namespace:b1.join(".")},b2);b3=cg[cb];if(!b3){b3=cg[cb]=[];b3.delegateCount=0;if(!ca.setup||ca.setup.call(b4,b6,b1,b7)===false){if(b4.addEventListener){b4.addEventListener(cb,b7,false)}else{if(b4.attachEvent){b4.attachEvent("on"+cb,b7)}}}}if(ca.add){ca.add.call(b4,cc);if(!cc.handler.guid){cc.handler.guid=cf.guid}}if(b5){b3.splice(b3.delegateCount++,0,cc)}else{b3.push(cc)}bI.event.global[cb]=true}b4=null},global:{},remove:function(b4,b9,cf,b5,b8){var cg,ch,cc,b3,b2,b6,b7,ce,cb,b1,cd,ca=bI.hasData(b4)&&bI._data(b4);if(!ca||!(ce=ca.events)){return}b9=bI.trim(at(b9||"")).split(" ");for(cg=0;cg<b9.length;cg++){ch=bt.exec(b9[cg])||[];cc=b3=ch[1];b2=ch[2];if(!cc){for(cc in ce){bI.event.remove(b4,cc+b9[cg],cf,b5,true)}continue}cb=bI.event.special[cc]||{};cc=(b5?cb.delegateType:cb.bindType)||cc;b1=ce[cc]||[];b6=b1.length;b2=b2?new RegExp("(^|\\.)"+b2.split(".").sort().join("\\.(?:.*\\.|)")+"(\\.|$)"):null;for(b7=0;b7<b1.length;b7++){cd=b1[b7];if((b8||b3===cd.origType)&&(!cf||cf.guid===cd.guid)&&(!b2||b2.test(cd.namespace))&&(!b5||b5===cd.selector||b5==="**"&&cd.selector)){b1.splice(b7--,1);if(cd.selector){b1.delegateCount--}if(cb.remove){cb.remove.call(b4,cd)}}}if(b1.length===0&&b6!==b1.length){if(!cb.teardown||cb.teardown.call(b4,b2,ca.handle)===false){bI.removeEvent(b4,cc,ca.handle)}delete ce[cc]}}if(bI.isEmptyObject(ce)){delete ca.handle;bI.removeData(b4,"events",true)}},customEvent:{getData:true,setData:true,changeData:true},trigger:function(b2,b9,b7,cg){if(b7&&(b7.nodeType===3||b7.nodeType===8)){return}var b1,b4,ca,ce,b6,b5,cc,cb,b8,cf,cd=b2.type||b2,b3=[];if(bA.test(cd+bI.event.triggered)){return}if(cd.indexOf("!")>=0){cd=cd.slice(0,-1);b4=true}if(cd.indexOf(".")>=0){b3=cd.split(".");cd=b3.shift();b3.sort()}if((!b7||bI.event.customEvent[cd])&&!bI.event.global[cd]){return}b2=typeof b2==="object"?b2[bI.expando]?b2:new bI.Event(cd,b2):new bI.Event(cd);b2.type=cd;b2.isTrigger=true;b2.exclusive=b4;b2.namespace=b3.join(".");b2.namespace_re=b2.namespace?new RegExp("(^|\\.)"+b3.join("\\.(?:.*\\.|)")+"(\\.|$)"):null;b5=cd.indexOf(":")<0?"on"+cd:"";if(!b7){b1=bI.cache;for(ca in b1){if(b1[ca].events&&b1[ca].events[cd]){bI.event.trigger(b2,b9,b1[ca].handle.elem,true)}}return}b2.result=aD;if(!b2.target){b2.target=b7}b9=b9!=null?bI.makeArray(b9):[];b9.unshift(b2);cc=bI.event.special[cd]||{};if(cc.trigger&&cc.trigger.apply(b7,b9)===false){return}b8=[[b7,cc.bindType||cd]];if(!cg&&!cc.noBubble&&!bI.isWindow(b7)){cf=cc.delegateType||cd;ce=bA.test(cf+cd)?b7:b7.parentNode;for(b6=b7;ce;ce=ce.parentNode){b8.push([ce,cf]);b6=ce}if(b6===(b7.ownerDocument||p)){b8.push([b6.defaultView||b6.parentWindow||a4,cf])}}for(ca=0;ca<b8.length&&!b2.isPropagationStopped();ca++){ce=b8[ca][0];b2.type=b8[ca][1];cb=(bI._data(ce,"events")||{})[b2.type]&&bI._data(ce,"handle");if(cb){cb.apply(ce,b9)}cb=b5&&ce[b5];if(cb&&bI.acceptData(ce)&&cb.apply(ce,b9)===false){b2.preventDefault()}}b2.type=cd;if(!cg&&!b2.isDefaultPrevented()){if((!cc._default||cc._default.apply(b7.ownerDocument,b9)===false)&&!(cd==="click"&&bI.nodeName(b7,"a"))&&bI.acceptData(b7)){if(b5&&b7[cd]&&((cd!=="focus"&&cd!=="blur")||b2.target.offsetWidth!==0)&&!bI.isWindow(b7)){b6=b7[b5];if(b6){b7[b5]=null}bI.event.triggered=cd;b7[cd]();bI.event.triggered=aD;if(b6){b7[b5]=b6}}}}return b2.result},dispatch:function(b1){b1=bI.event.fix(b1||a4.event);var b8,b7,ch,cb,ca,b2,b9,cf,b4,cg,b5=((bI._data(this,"events")||{})[b1.type]||[]),b6=b5.delegateCount,cd=[].slice.call(arguments),b3=!b1.exclusive&&!b1.namespace,cc=bI.event.special[b1.type]||{},ce=[];cd[0]=b1;b1.delegateTarget=this;if(cc.preDispatch&&cc.preDispatch.call(this,b1)===false){return}if(b6&&!(b1.button&&b1.type==="click")){for(ch=b1.target;ch!=this;ch=ch.parentNode||this){if(ch.disabled!==true||b1.type!=="click"){ca={};b9=[];for(b8=0;b8<b6;b8++){cf=b5[b8];b4=cf.selector;if(ca[b4]===aD){ca[b4]=bI(b4,this).index(ch)>=0}if(ca[b4]){b9.push(cf)}}if(b9.length){ce.push({elem:ch,matches:b9})}}}}if(b5.length>b6){ce.push({elem:this,matches:b5.slice(b6)})}for(b8=0;b8<ce.length&&!b1.isPropagationStopped();b8++){b2=ce[b8];b1.currentTarget=b2.elem;for(b7=0;b7<b2.matches.length&&!b1.isImmediatePropagationStopped();b7++){cf=b2.matches[b7];if(b3||(!b1.namespace&&!cf.namespace)||b1.namespace_re&&b1.namespace_re.test(cf.namespace)){b1.data=cf.data;b1.handleObj=cf;cb=((bI.event.special[cf.origType]||{}).handle||cf.handler).apply(b2.elem,cd);if(cb!==aD){b1.result=cb;if(cb===false){b1.preventDefault();b1.stopPropagation()}}}}}if(cc.postDispatch){cc.postDispatch.call(this,b1)}return b1.result},props:"attrChange attrName relatedNode srcElement altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(b2,b1){if(b2.which==null){b2.which=b1.charCode!=null?b1.charCode:b1.keyCode}return b2}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(b4,b3){var b5,b6,b1,b2=b3.button,b7=b3.fromElement;if(b4.pageX==null&&b3.clientX!=null){b5=b4.target.ownerDocument||p;b6=b5.documentElement;b1=b5.body;b4.pageX=b3.clientX+(b6&&b6.scrollLeft||b1&&b1.scrollLeft||0)-(b6&&b6.clientLeft||b1&&b1.clientLeft||0);b4.pageY=b3.clientY+(b6&&b6.scrollTop||b1&&b1.scrollTop||0)-(b6&&b6.clientTop||b1&&b1.clientTop||0)}if(!b4.relatedTarget&&b7){b4.relatedTarget=b7===b4.target?b3.toElement:b7}if(!b4.which&&b2!==aD){b4.which=(b2&1?1:(b2&2?3:(b2&4?2:0)))}return b4}},fix:function(b3){if(b3[bI.expando]){return b3}var b2,b6,b1=b3,b4=bI.event.fixHooks[b3.type]||{},b5=b4.props?this.props.concat(b4.props):this.props;b3=bI.Event(b1);for(b2=b5.length;b2;){b6=b5[--b2];b3[b6]=b1[b6]}if(!b3.target){b3.target=b1.srcElement||p}if(b3.target.nodeType===3){b3.target=b3.target.parentNode}b3.metaKey=!!b3.metaKey;return b4.filter?b4.filter(b3,b1):b3},special:{load:{noBubble:true},focus:{delegateType:"focusin"},blur:{delegateType:"focusout"},beforeunload:{setup:function(b3,b2,b1){if(bI.isWindow(this)){this.onbeforeunload=b1}},teardown:function(b2,b1){if(this.onbeforeunload===b1){this.onbeforeunload=null}}}},simulate:function(b2,b4,b3,b1){var b5=bI.extend(new bI.Event(),b3,{type:b2,isSimulated:true,originalEvent:{}});if(b1){bI.event.trigger(b5,null,b4)}else{bI.event.dispatch.call(b4,b5)}if(b5.isDefaultPrevented()){b3.preventDefault()}}};bI.event.handle=bI.event.dispatch;bI.removeEvent=p.removeEventListener?function(b2,b1,b3){if(b2.removeEventListener){b2.removeEventListener(b1,b3,false)}}:function(b3,b2,b4){var b1="on"+b2;if(b3.detachEvent){if(typeof b3[b1]==="undefined"){b3[b1]=null}b3.detachEvent(b1,b4)}};bI.Event=function(b2,b1){if(!(this instanceof bI.Event)){return new bI.Event(b2,b1)}if(b2&&b2.type){this.originalEvent=b2;this.type=b2.type;this.isDefaultPrevented=(b2.defaultPrevented||b2.returnValue===false||b2.getPreventDefault&&b2.getPreventDefault())?T:Z}else{this.type=b2}if(b1){bI.extend(this,b1)}this.timeStamp=b2&&b2.timeStamp||bI.now();this[bI.expando]=true};function Z(){return false}function T(){return true}bI.Event.prototype={preventDefault:function(){this.isDefaultPrevented=T;var b1=this.originalEvent;if(!b1){return}if(b1.preventDefault){b1.preventDefault()}else{b1.returnValue=false}},stopPropagation:function(){this.isPropagationStopped=T;var b1=this.originalEvent;if(!b1){return}if(b1.stopPropagation){b1.stopPropagation()}b1.cancelBubble=true},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=T;this.stopPropagation()},isDefaultPrevented:Z,isPropagationStopped:Z,isImmediatePropagationStopped:Z};bI.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(b2,b1){bI.event.special[b2]={delegateType:b1,bindType:b1,handle:function(b6){var b4,b8=this,b7=b6.relatedTarget,b5=b6.handleObj,b3=b5.selector;if(!b7||(b7!==b8&&!bI.contains(b8,b7))){b6.type=b5.origType;b4=b5.handler.apply(this,arguments);b6.type=b1}return b4}}});if(!bI.support.submitBubbles){bI.event.special.submit={setup:function(){if(bI.nodeName(this,"form")){return false}bI.event.add(this,"click._submit keypress._submit",function(b3){var b2=b3.target,b1=bI.nodeName(b2,"input")||bI.nodeName(b2,"button")?b2.form:aD;if(b1&&!bI._data(b1,"_submit_attached")){bI.event.add(b1,"submit._submit",function(b4){b4._submit_bubble=true});bI._data(b1,"_submit_attached",true)}})},postDispatch:function(b1){if(b1._submit_bubble){delete b1._submit_bubble;if(this.parentNode&&!b1.isTrigger){bI.event.simulate("submit",this.parentNode,b1,true)}}},teardown:function(){if(bI.nodeName(this,"form")){return false}bI.event.remove(this,"._submit")}}}if(!bI.support.changeBubbles){bI.event.special.change={setup:function(){if(bG.test(this.nodeName)){if(this.type==="checkbox"||this.type==="radio"){bI.event.add(this,"propertychange._change",function(b1){if(b1.originalEvent.propertyName==="checked"){this._just_changed=true}});bI.event.add(this,"click._change",function(b1){if(this._just_changed&&!b1.isTrigger){this._just_changed=false}bI.event.simulate("change",this,b1,true)})}return false}bI.event.add(this,"beforeactivate._change",function(b2){var b1=b2.target;if(bG.test(b1.nodeName)&&!bI._data(b1,"_change_attached")){bI.event.add(b1,"change._change",function(b3){if(this.parentNode&&!b3.isSimulated&&!b3.isTrigger){bI.event.simulate("change",this.parentNode,b3,true)}});bI._data(b1,"_change_attached",true)}})},handle:function(b2){var b1=b2.target;if(this!==b1||b2.isSimulated||b2.isTrigger||(b1.type!=="radio"&&b1.type!=="checkbox")){return b2.handleObj.handler.apply(this,arguments)}},teardown:function(){bI.event.remove(this,"._change");return !bG.test(this.nodeName)}}}if(!bI.support.focusinBubbles){bI.each({focus:"focusin",blur:"focusout"},function(b4,b1){var b2=0,b3=function(b5){bI.event.simulate(b1,b5.target,bI.event.fix(b5),true)};bI.event.special[b1]={setup:function(){if(b2++===0){p.addEventListener(b4,b3,true)}},teardown:function(){if(--b2===0){p.removeEventListener(b4,b3,true)}}}})}bI.fn.extend({on:function(b3,b1,b6,b5,b2){var b7,b4;if(typeof b3==="object"){if(typeof b1!=="string"){b6=b6||b1;b1=aD}for(b4 in b3){this.on(b4,b1,b6,b3[b4],b2)}return this}if(b6==null&&b5==null){b5=b1;b6=b1=aD}else{if(b5==null){if(typeof b1==="string"){b5=b6;b6=aD}else{b5=b6;b6=b1;b1=aD}}}if(b5===false){b5=Z}else{if(!b5){return this}}if(b2===1){b7=b5;b5=function(b8){bI().off(b8);return b7.apply(this,arguments)};b5.guid=b7.guid||(b7.guid=bI.guid++)}return this.each(function(){bI.event.add(this,b3,b5,b6,b1)})},one:function(b2,b1,b4,b3){return this.on(b2,b1,b4,b3,1)},off:function(b3,b1,b5){var b2,b4;if(b3&&b3.preventDefault&&b3.handleObj){b2=b3.handleObj;bI(b3.delegateTarget).off(b2.namespace?b2.origType+"."+b2.namespace:b2.origType,b2.selector,b2.handler);return this}if(typeof b3==="object"){for(b4 in b3){this.off(b4,b1,b3[b4])}return this}if(b1===false||typeof b1==="function"){b5=b1;b1=aD}if(b5===false){b5=Z}return this.each(function(){bI.event.remove(this,b3,b5,b1)})},bind:function(b1,b3,b2){return this.on(b1,null,b3,b2)},unbind:function(b1,b2){return this.off(b1,null,b2)},live:function(b1,b3,b2){bI(this.context).on(b1,this.selector,b3,b2);return this},die:function(b1,b2){bI(this.context).off(b1,this.selector||"**",b2);return this},delegate:function(b1,b2,b4,b3){return this.on(b2,b1,b4,b3)},undelegate:function(b1,b2,b3){return arguments.length==1?this.off(b1,"**"):this.off(b2,b1||"**",b3)},trigger:function(b1,b2){return this.each(function(){bI.event.trigger(b1,b2,this)})},triggerHandler:function(b1,b2){if(this[0]){return bI.event.trigger(b1,b2,this[0],true)}},toggle:function(b4){var b2=arguments,b1=b4.guid||bI.guid++,b3=0,b5=function(b6){var b7=(bI._data(this,"lastToggle"+b4.guid)||0)%b3;bI._data(this,"lastToggle"+b4.guid,b7+1);b6.preventDefault();return b2[b7].apply(this,arguments)||false};b5.guid=b1;while(b3<b2.length){b2[b3++].guid=b1}return this.click(b5)},hover:function(b1,b2){return this.mouseenter(b1).mouseleave(b2||b1)}});bI.each(("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu").split(" "),function(b2,b1){bI.fn[b1]=function(b4,b3){if(b3==null){b3=b4;b4=null}return arguments.length>0?this.on(b1,null,b4,b3):this.trigger(b1)};if(a5.test(b1)){bI.event.fixHooks[b1]=bI.event.keyHooks}if(bM.test(b1)){bI.event.fixHooks[b1]=bI.event.mouseHooks}});
/*!
 * Sizzle CSS Selector Engine
 *  Copyright 2012 jQuery Foundation and other contributors
 *  Released under the MIT license
 *  http://sizzlejs.com/
 */
(function(cO,ch){var cp,cT,cb,cG,b2,cl,cx,ce,cg,cd,ca=true,ct="undefined",cW=("sizcache"+Math.random()).replace(".",""),b9=cO.document,cc=b9.documentElement,cf=0,ck=[].slice,cS=[].push,cY=function(c3,c4){c3[cW]=c4||true;return c3},c1=function(){var c3={},c4=[];return cY(function(c5,c6){if(c4.push(c5)>cG.cacheLength){delete c3[c4.shift()]}return(c3[c5]=c6)},c3)},cQ=c1(),cR=c1(),cm=c1(),cw="[\\x20\\t\\r\\n\\f]",cj="(?:\\\\.|[-\\w]|[^\\x00-\\xa0])+",ci=cj.replace("w","w#"),c0="([*^$|!~]?=)",cL="\\["+cw+"*("+cj+")"+cw+"*(?:"+c0+cw+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+ci+")|)|)"+cw+"*\\]",c2=":("+cj+")(?:\\((?:(['\"])((?:\\\\.|[^\\\\])*?)\\2|([^()[\\]]*|(?:(?:"+cL+")|[^:]|\\\\.)*|.*))\\)|)",cy=":(nth|eq|gt|lt|first|last|even|odd)(?:\\(((?:-\\d)?\\d*)\\)|)(?=[^-]|$)",cU=new RegExp("^"+cw+"+|((?:^|[^\\\\])(?:\\\\.)*)"+cw+"+$","g"),b6=new RegExp("^"+cw+"*,"+cw+"*"),cD=new RegExp("^"+cw+"*([\\x20\\t\\r\\n\\f>+~])"+cw+"*"),cI=new RegExp(c2),cK=/^(?:#([\w\-]+)|(\w+)|\.([\w\-]+))$/,cB=/^:not/,cN=/[\x20\t\r\n\f]*[+~]/,cX=/:not\($/,cq=/h\d/i,cJ=/input|select|textarea|button/i,cr=/\\(?!\\)/g,cC={ID:new RegExp("^#("+cj+")"),CLASS:new RegExp("^\\.("+cj+")"),NAME:new RegExp("^\\[name=['\"]?("+cj+")['\"]?\\]"),TAG:new RegExp("^("+cj.replace("w","w*")+")"),ATTR:new RegExp("^"+cL),PSEUDO:new RegExp("^"+c2),CHILD:new RegExp("^:(only|nth|last|first)-child(?:\\("+cw+"*(even|odd|(([+-]|)(\\d*)n|)"+cw+"*(?:([+-]|)"+cw+"*(\\d+)|))"+cw+"*\\)|)","i"),POS:new RegExp(cy,"ig"),needsContext:new RegExp("^"+cw+"*[>+~]|"+cy,"i")},cF=function(c3){var c5=b9.createElement("div");try{return c3(c5)}catch(c4){return false}finally{c5=null}},b8=cF(function(c3){c3.appendChild(b9.createComment(""));return !c3.getElementsByTagName("*").length}),cA=cF(function(c3){c3.innerHTML="<a href='#'></a>";return c3.firstChild&&typeof c3.firstChild.getAttribute!==ct&&c3.firstChild.getAttribute("href")==="#"}),co=cF(function(c4){c4.innerHTML="<select></select>";var c3=typeof c4.lastChild.getAttribute("multiple");return c3!=="boolean"&&c3!=="string"}),cz=cF(function(c3){c3.innerHTML="<div class='hidden e'></div><div class='hidden'></div>";if(!c3.getElementsByClassName||!c3.getElementsByClassName("e").length){return false}c3.lastChild.className="e";return c3.getElementsByClassName("e").length===2}),b1=cF(function(c4){c4.id=cW+0;c4.innerHTML="<a name='"+cW+"'></a><div name='"+cW+"'></div>";cc.insertBefore(c4,cc.firstChild);var c3=b9.getElementsByName&&b9.getElementsByName(cW).length===2+b9.getElementsByName(cW+0).length;cb=!b9.getElementById(cW);cc.removeChild(c4);return c3});try{ck.call(cc.childNodes,0)[0].nodeType}catch(cZ){ck=function(c4){var c5,c3=[];for(;(c5=this[c4]);c4++){c3.push(c5)}return c3}}function cM(c6,c3,c8,db){c8=c8||[];c3=c3||b9;var c9,c4,da,c5,c7=c3.nodeType;if(c7!==1&&c7!==9){return[]}if(!c6||typeof c6!=="string"){return c8}da=cl(c3);if(!da&&!db){if((c9=cK.exec(c6))){if((c5=c9[1])){if(c7===9){c4=c3.getElementById(c5);if(c4&&c4.parentNode){if(c4.id===c5){c8.push(c4);return c8}}else{return c8}}else{if(c3.ownerDocument&&(c4=c3.ownerDocument.getElementById(c5))&&cx(c3,c4)&&c4.id===c5){c8.push(c4);return c8}}}else{if(c9[2]){cS.apply(c8,ck.call(c3.getElementsByTagName(c6),0));return c8}else{if((c5=c9[3])&&cz&&c3.getElementsByClassName){cS.apply(c8,ck.call(c3.getElementsByClassName(c5),0));return c8}}}}}return cV(c6,c3,c8,db,da)}cM.matches=function(c4,c3){return cM(c4,null,null,c3)};cM.matchesSelector=function(c3,c4){return cM(c4,null,null,[c3]).length>0};function cE(c3){return function(c5){var c4=c5.nodeName.toLowerCase();return c4==="input"&&c5.type===c3}}function b5(c3){return function(c5){var c4=c5.nodeName.toLowerCase();return(c4==="input"||c4==="button")&&c5.type===c3}}b2=cM.getText=function(c7){var c6,c4="",c5=0,c3=c7.nodeType;if(c3){if(c3===1||c3===9||c3===11){if(typeof c7.textContent==="string"){return c7.textContent}else{for(c7=c7.firstChild;c7;c7=c7.nextSibling){c4+=b2(c7)}}}else{if(c3===3||c3===4){return c7.nodeValue}}}else{for(;(c6=c7[c5]);c5++){c4+=b2(c6)}}return c4};cl=cM.isXML=function cl(c3){var c4=c3&&(c3.ownerDocument||c3).documentElement;return c4?c4.nodeName!=="HTML":false};cx=cM.contains=cc.contains?function(c4,c3){var c6=c4.nodeType===9?c4.documentElement:c4,c5=c3&&c3.parentNode;return c4===c5||!!(c5&&c5.nodeType===1&&c6.contains&&c6.contains(c5))}:cc.compareDocumentPosition?function(c4,c3){return c3&&!!(c4.compareDocumentPosition(c3)&16)}:function(c4,c3){while((c3=c3.parentNode)){if(c3===c4){return true}}return false};cM.attr=function(c6,c5){var c3,c4=cl(c6);if(!c4){c5=c5.toLowerCase()}if(cG.attrHandle[c5]){return cG.attrHandle[c5](c6)}if(co||c4){return c6.getAttribute(c5)}c3=c6.getAttributeNode(c5);return c3?typeof c6[c5]==="boolean"?c6[c5]?c5:null:c3.specified?c3.value:null:null};cG=cM.selectors={cacheLength:50,createPseudo:cY,match:cC,order:new RegExp("ID|TAG"+(b1?"|NAME":"")+(cz?"|CLASS":"")),attrHandle:cA?{}:{href:function(c3){return c3.getAttribute("href",2)},type:function(c3){return c3.getAttribute("type")}},find:{ID:cb?function(c6,c5,c4){if(typeof c5.getElementById!==ct&&!c4){var c3=c5.getElementById(c6);return c3&&c3.parentNode?[c3]:[]}}:function(c6,c5,c4){if(typeof c5.getElementById!==ct&&!c4){var c3=c5.getElementById(c6);return c3?c3.id===c6||typeof c3.getAttributeNode!==ct&&c3.getAttributeNode("id").value===c6?[c3]:ch:[]}},TAG:b8?function(c3,c4){if(typeof c4.getElementsByTagName!==ct){return c4.getElementsByTagName(c3)}}:function(c3,c7){var c6=c7.getElementsByTagName(c3);if(c3==="*"){var c8,c5=[],c4=0;for(;(c8=c6[c4]);c4++){if(c8.nodeType===1){c5.push(c8)}}return c5}return c6},NAME:function(c3,c4){if(typeof c4.getElementsByName!==ct){return c4.getElementsByName(name)}},CLASS:function(c5,c4,c3){if(typeof c4.getElementsByClassName!==ct&&!c3){return c4.getElementsByClassName(c5)}}},relative:{">":{dir:"parentNode",first:true}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:true},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(c3){c3[1]=c3[1].replace(cr,"");c3[3]=(c3[4]||c3[5]||"").replace(cr,"");if(c3[2]==="~="){c3[3]=" "+c3[3]+" "}return c3.slice(0,4)},CHILD:function(c3){c3[1]=c3[1].toLowerCase();if(c3[1]==="nth"){if(!c3[2]){cM.error(c3[0])}c3[3]=+(c3[3]?c3[4]+(c3[5]||1):2*(c3[2]==="even"||c3[2]==="odd"));c3[4]=+((c3[6]+c3[7])||c3[2]==="odd")}else{if(c3[2]){cM.error(c3[0])}}return c3},PSEUDO:function(c5,c6,c4){var c7,c3;if(cC.CHILD.test(c5[0])){return null}if(c5[3]){c5[2]=c5[3]}else{if((c7=c5[4])){if(cI.test(c7)&&(c3=b3(c7,c6,c4,true))&&(c3=c7.indexOf(")",c7.length-c3)-c7.length)){c7=c7.slice(0,c3);c5[0]=c5[0].slice(0,c3)}c5[2]=c7}}return c5.slice(0,3)}},filter:{ID:cb?function(c3){c3=c3.replace(cr,"");return function(c4){return c4.getAttribute("id")===c3}}:function(c3){c3=c3.replace(cr,"");return function(c5){var c4=typeof c5.getAttributeNode!==ct&&c5.getAttributeNode("id");return c4&&c4.value===c3}},TAG:function(c3){if(c3==="*"){return function(){return true}}c3=c3.replace(cr,"").toLowerCase();return function(c4){return c4.nodeName&&c4.nodeName.toLowerCase()===c3}},CLASS:function(c3){var c4=cQ[cW][c3];if(!c4){c4=cQ(c3,new RegExp("(^|"+cw+")"+c3+"("+cw+"|$)"))}return function(c5){return c4.test(c5.className||(typeof c5.getAttribute!==ct&&c5.getAttribute("class"))||"")}},ATTR:function(c5,c4,c3){if(!c4){return function(c6){return cM.attr(c6,c5)!=null}}return function(c7){var c6=cM.attr(c7,c5),c8=c6+"";if(c6==null){return c4==="!="}switch(c4){case"=":return c8===c3;case"!=":return c8!==c3;case"^=":return c3&&c8.indexOf(c3)===0;case"*=":return c3&&c8.indexOf(c3)>-1;case"$=":return c3&&c8.substr(c8.length-c3.length)===c3;case"~=":return(" "+c8+" ").indexOf(c3)>-1;case"|=":return c8===c3||c8.substr(0,c3.length+1)===c3+"-"}}},CHILD:function(c4,c6,c7,c5){if(c4==="nth"){var c3=cf++;return function(db){var c8,dc,da=0,c9=db;if(c7===1&&c5===0){return true}c8=db.parentNode;if(c8&&(c8[cW]!==c3||!db.sizset)){for(c9=c8.firstChild;c9;c9=c9.nextSibling){if(c9.nodeType===1){c9.sizset=++da;if(c9===db){break}}}c8[cW]=c3}dc=db.sizset-c5;if(c7===0){return dc===0}else{return(dc%c7===0&&dc/c7>=0)}}}return function(c9){var c8=c9;switch(c4){case"only":case"first":while((c8=c8.previousSibling)){if(c8.nodeType===1){return false}}if(c4==="first"){return true}c8=c9;case"last":while((c8=c8.nextSibling)){if(c8.nodeType===1){return false}}return true}}},PSEUDO:function(c8,c7,c5,c4){var c3,c6=cG.pseudos[c8]||cG.pseudos[c8.toLowerCase()];if(!c6){cM.error("unsupported pseudo: "+c8)}if(!c6[cW]){if(c6.length>1){c3=[c8,c8,"",c7];return function(c9){return c6(c9,0,c3)}}return c6}return c6(c7,c5,c4)}},pseudos:{not:cY(function(c3,c5,c4){var c6=ce(c3.replace(cU,"$1"),c5,c4);return function(c7){return !c6(c7)}}),enabled:function(c3){return c3.disabled===false},disabled:function(c3){return c3.disabled===true},checked:function(c3){var c4=c3.nodeName.toLowerCase();return(c4==="input"&&!!c3.checked)||(c4==="option"&&!!c3.selected)},selected:function(c3){if(c3.parentNode){c3.parentNode.selectedIndex}return c3.selected===true},parent:function(c3){return !cG.pseudos.empty(c3)},empty:function(c4){var c3;c4=c4.firstChild;while(c4){if(c4.nodeName>"@"||(c3=c4.nodeType)===3||c3===4){return false}c4=c4.nextSibling}return true},contains:cY(function(c3){return function(c4){return(c4.textContent||c4.innerText||b2(c4)).indexOf(c3)>-1}}),has:cY(function(c3){return function(c4){return cM(c3,c4).length>0}}),header:function(c3){return cq.test(c3.nodeName)},text:function(c5){var c4,c3;return c5.nodeName.toLowerCase()==="input"&&(c4=c5.type)==="text"&&((c3=c5.getAttribute("type"))==null||c3.toLowerCase()===c4)},radio:cE("radio"),checkbox:cE("checkbox"),file:cE("file"),password:cE("password"),image:cE("image"),submit:b5("submit"),reset:b5("reset"),button:function(c4){var c3=c4.nodeName.toLowerCase();return c3==="input"&&c4.type==="button"||c3==="button"},input:function(c3){return cJ.test(c3.nodeName)},focus:function(c3){var c4=c3.ownerDocument;return c3===c4.activeElement&&(!c4.hasFocus||c4.hasFocus())&&!!(c3.type||c3.href)},active:function(c3){return c3===c3.ownerDocument.activeElement}},setFilters:{first:function(c5,c4,c3){return c3?c5.slice(1):[c5[0]]},last:function(c6,c5,c4){var c3=c6.pop();return c4?c6:[c3]},even:function(c8,c7,c6){var c5=[],c4=c6?1:0,c3=c8.length;for(;c4<c3;c4=c4+2){c5.push(c8[c4])}return c5},odd:function(c8,c7,c6){var c5=[],c4=c6?0:1,c3=c8.length;for(;c4<c3;c4=c4+2){c5.push(c8[c4])}return c5},lt:function(c5,c4,c3){return c3?c5.slice(+c4):c5.slice(0,+c4)},gt:function(c5,c4,c3){return c3?c5.slice(0,+c4+1):c5.slice(+c4+1)},eq:function(c6,c5,c4){var c3=c6.splice(+c5,1);return c4?c6:c3}}};function b4(c4,c3,c5){if(c4===c3){return c5}var c6=c4.nextSibling;while(c6){if(c6===c3){return -1}c6=c6.nextSibling}return 1}cg=cc.compareDocumentPosition?function(c4,c3){if(c4===c3){cd=true;return 0}return(!c4.compareDocumentPosition||!c3.compareDocumentPosition?c4.compareDocumentPosition:c4.compareDocumentPosition(c3)&4)?-1:1}:function(db,da){if(db===da){cd=true;return 0}else{if(db.sourceIndex&&da.sourceIndex){return db.sourceIndex-da.sourceIndex}}var c8,c4,c5=[],c3=[],c7=db.parentNode,c9=da.parentNode,dc=c7;if(c7===c9){return b4(db,da)}else{if(!c7){return -1}else{if(!c9){return 1}}}while(dc){c5.unshift(dc);dc=dc.parentNode}dc=c9;while(dc){c3.unshift(dc);dc=dc.parentNode}c8=c5.length;c4=c3.length;for(var c6=0;c6<c8&&c6<c4;c6++){if(c5[c6]!==c3[c6]){return b4(c5[c6],c3[c6])}}return c6===c8?b4(db,c3[c6],-1):b4(c5[c6],da,1)};[0,0].sort(cg);ca=!cd;cM.uniqueSort=function(c4){var c5,c3=1;cd=ca;c4.sort(cg);if(cd){for(;(c5=c4[c3]);c3++){if(c5===c4[c3-1]){c4.splice(c3--,1)}}}return c4};cM.error=function(c3){throw new Error("Syntax error, unrecognized expression: "+c3)};function b3(da,c4,dc,dj){var c5,dd,df,dg,de,c7,di,db,c3,c6,c9=!dc&&c4!==b9,dh=(c9?"<s>":"")+da.replace(cU,"$1<s>"),c8=cR[cW][dh];if(c8){return dj?0:ck.call(c8,0)}de=da;c7=[];db=0;c3=cG.preFilter;c6=cG.filter;while(de){if(!c5||(dd=b6.exec(de))){if(dd){de=de.slice(dd[0].length);df.selector=di}c7.push(df=[]);di="";if(c9){de=" "+de}}c5=false;if((dd=cD.exec(de))){di+=dd[0];de=de.slice(dd[0].length);c5=df.push({part:dd.pop().replace(cU," "),string:dd[0],captures:dd})}for(dg in c6){if((dd=cC[dg].exec(de))&&(!c3[dg]||(dd=c3[dg](dd,c4,dc)))){di+=dd[0];de=de.slice(dd[0].length);c5=df.push({part:dg,string:dd.shift(),captures:dd})}}if(!c5){break}}if(di){df.selector=di}return dj?de.length:de?cM.error(da):ck.call(cR(dh,c7),0)}function cu(c8,c7,c6,c4){var c3=c7.dir,c5=cf++;if(!c8){c8=function(c9){return c9===c6}}return c7.first?function(c9){while((c9=c9[c3])){if(c9.nodeType===1){return c8(c9)&&c9}}}:c4?function(c9){while((c9=c9[c3])){if(c9.nodeType===1){if(c8(c9)){return c9}}}}:function(da){var c9,db=c5+"."+cp,dc=db+"."+cT;while((da=da[c3])){if(da.nodeType===1){if((c9=da[cW])===dc){return da.sizset}else{if(typeof c9==="string"&&c9.indexOf(db)===0){if(da.sizset){return da}}else{da[cW]=dc;if(c8(da)){da.sizset=true;return da}da.sizset=false}}}}}}function cs(c3,c4){return c3?function(c6){var c5=c4(c6);return c5&&c3(c5===true?c6:c5)}:c4}function cv(c8,c6,c3){var c5,c7,c4=0;for(;(c5=c8[c4]);c4++){if(cG.relative[c5.part]){c7=cu(c7,cG.relative[c5.part],c6,c3)}else{c7=cs(c7,cG.filter[c5.part].apply(null,c5.captures.concat(c6,c3)))}}return c7}function b7(c3){return function(c5){var c6,c4=0;for(;(c6=c3[c4]);c4++){if(c6(c5)){return true}}return false}}ce=cM.compile=function(c4,c7,c5){var c9,c6,c3,c8=cm[cW][c4];if(c8&&c8.context===c7){return c8}c9=b3(c4,c7,c5);for(c6=0,c3=c9.length;c6<c3;c6++){c9[c6]=cv(c9[c6],c7,c5)}c8=cm(c4,b7(c9));c8.context=c7;c8.runs=c8.dirruns=0;return c8};function cn(c4,c8,c7,c5){var c6=0,c3=c8.length;for(;c6<c3;c6++){cM(c4,c8[c6],c7,c5)}}function cH(c3,c5,c9,da,c4,c8){var c6,c7=cG.setFilters[c5.toLowerCase()];if(!c7){cM.error(c5)}if(c3||!(c6=c4)){cn(c3||"*",da,(c6=[]),c4)}return c6.length>0?c7(c6,c9,c8):[]}function cP(dm,c3,df,c5){var db,dg,dh,de,c8,di,c7,dd,c9,dc,dl,dn,c4,dj=0,dk=dm.length,c6=cC.POS,da=new RegExp("^"+c6.source+"(?!"+cw+")","i"),dp=function(){var dr=1,dq=arguments.length-2;for(;dr<dq;dr++){if(arguments[dr]===ch){c9[dr]=ch}}};for(;dj<dk;dj++){db=dm[dj];dg="";dd=c5;for(dh=0,de=db.length;dh<de;dh++){c8=db[dh];di=c8.string;if(c8.part==="PSEUDO"){c6.exec("");c7=0;while((c9=c6.exec(di))){dc=true;dl=c6.lastIndex=c9.index+c9[0].length;if(dl>c7){dg+=di.slice(c7,c9.index);c7=dl;dn=[c3];if(cD.test(dg)){if(dd){dn=dd}dd=c5}if((c4=cX.test(dg))){dg=dg.slice(0,-5).replace(cD,"$&*");c7++}if(c9.length>1){c9[0].replace(da,dp)}dd=cH(dg,c9[1],c9[2],dn,dd,c4)}dg=""}}if(!dc){dg+=di}dc=false}if(dg){if(cD.test(dg)){cn(dg,dd||[c3],df,c5)}else{cM(dg,c3,df,c5?c5.concat(dd):dd)}}else{cS.apply(df,dd)}}return dk===1?df:cM.uniqueSort(df)}function cV(c9,c4,db,de,dd){c9=c9.replace(cU,"$1");var c3,df,c7,c6,da,dh,c8,c5,di,dg,dc=b3(c9,c4,dd),dj=c4.nodeType;if(cC.POS.test(c9)){return cP(dc,c4,db,de)}if(de){c3=ck.call(de,0)}else{if(dc.length===1){if((dh=ck.call(dc[0],0)).length>2&&(c8=dh[0]).part==="ID"&&dj===9&&!dd&&cG.relative[dh[1].part]){c4=cG.find.ID(c8.captures[0].replace(cr,""),c4,dd)[0];if(!c4){return db}c9=c9.slice(dh.shift().string.length)}di=((dc=cN.exec(dh[0].string))&&!dc.index&&c4.parentNode)||c4;c5="";for(da=dh.length-1;da>=0;da--){c8=dh[da];dg=c8.part;c5=c8.string+c5;if(cG.relative[dg]){break}if(cG.order.test(dg)){c3=cG.find[dg](c8.captures[0].replace(cr,""),di,dd);if(c3==null){continue}else{c9=c9.slice(0,c9.length-c5.length)+c5.replace(cC[dg],"");if(!c9){cS.apply(db,ck.call(c3,0))}break}}}}}if(c9){df=ce(c9,c4,dd);cp=df.dirruns++;if(c3==null){c3=cG.find.TAG("*",(cN.test(c9)&&c4.parentNode)||c4)}for(da=0;(c6=c3[da]);da++){cT=df.runs++;if(df(c6)){db.push(c6)}}}return db}if(b9.querySelectorAll){(function(){var c8,c9=cV,c7=/'|\\/g,c5=/\=[\x20\t\r\n\f]*([^'"\]]*)[\x20\t\r\n\f]*\]/g,c4=[],c3=[":active"],c6=cc.matchesSelector||cc.mozMatchesSelector||cc.webkitMatchesSelector||cc.oMatchesSelector||cc.msMatchesSelector;cF(function(da){da.innerHTML="<select><option selected=''></option></select>";if(!da.querySelectorAll("[selected]").length){c4.push("\\["+cw+"*(?:checked|disabled|ismap|multiple|readonly|selected|value)")}if(!da.querySelectorAll(":checked").length){c4.push(":checked")}});cF(function(da){da.innerHTML="<p test=''></p>";if(da.querySelectorAll("[test^='']").length){c4.push("[*^$]="+cw+"*(?:\"\"|'')")}da.innerHTML="<input type='hidden'/>";if(!da.querySelectorAll(":enabled").length){c4.push(":enabled",":disabled")}});c4=c4.length&&new RegExp(c4.join("|"));cV=function(dg,db,dh,dk,dj){if(!dk&&!dj&&(!c4||!c4.test(dg))){if(db.nodeType===9){try{cS.apply(dh,ck.call(db.querySelectorAll(dg),0));return dh}catch(df){}}else{if(db.nodeType===1&&db.nodeName.toLowerCase()!=="object"){var de,di,dl,dd=db.getAttribute("id"),da=dd||cW,dc=cN.test(dg)&&db.parentNode||db;if(dd){da=da.replace(c7,"\\$&")}else{db.setAttribute("id",da)}de=b3(dg,db,dj);da="[id='"+da+"']";for(di=0,dl=de.length;di<dl;di++){de[di]=da+de[di].selector}try{cS.apply(dh,ck.call(dc.querySelectorAll(de.join(",")),0));return dh}catch(df){}finally{if(!dd){db.removeAttribute("id")}}}}}return c9(dg,db,dh,dk,dj)};if(c6){cF(function(db){c8=c6.call(db,"div");try{c6.call(db,"[test!='']:sizzle");c3.push(cC.PSEUDO.source,cC.POS.source,"!=")}catch(da){}});c3=new RegExp(c3.join("|"));cM.matchesSelector=function(db,dd){dd=dd.replace(c5,"='$1']");if(!cl(db)&&!c3.test(dd)&&(!c4||!c4.test(dd))){try{var da=c6.call(db,dd);if(da||c8||db.document&&db.document.nodeType!==11){return da}}catch(dc){}}return cM(dd,null,null,[db]).length>0}}})()}cG.setFilters.nth=cG.setFilters.eq;cG.filters=cG.pseudos;cM.attr=bI.attr;bI.find=cM;bI.expr=cM.selectors;bI.expr[":"]=bI.expr.pseudos;bI.unique=cM.uniqueSort;bI.text=cM.getText;bI.isXMLDoc=cM.isXML;bI.contains=cM.contains})(a4);var ai=/Until$/,bs=/^(?:parents|prev(?:Until|All))/,an=/^.[^:#\[\.,]*$/,z=bI.expr.match.needsContext,bw={children:true,contents:true,next:true,prev:true};bI.fn.extend({find:function(b1){var b5,b2,b7,b8,b6,b4,b3=this;if(typeof b1!=="string"){return bI(b1).filter(function(){for(b5=0,b2=b3.length;b5<b2;b5++){if(bI.contains(b3[b5],this)){return true}}})}b4=this.pushStack("","find",b1);for(b5=0,b2=this.length;b5<b2;b5++){b7=b4.length;bI.find(b1,this[b5],b4);if(b5>0){for(b8=b7;b8<b4.length;b8++){for(b6=0;b6<b7;b6++){if(b4[b6]===b4[b8]){b4.splice(b8--,1);break}}}}}return b4},has:function(b4){var b3,b2=bI(b4,this),b1=b2.length;return this.filter(function(){for(b3=0;b3<b1;b3++){if(bI.contains(this,b2[b3])){return true}}})},not:function(b1){return this.pushStack(aO(this,b1,false),"not",b1)},filter:function(b1){return this.pushStack(aO(this,b1,true),"filter",b1)},is:function(b1){return !!b1&&(typeof b1==="string"?z.test(b1)?bI(b1,this.context).index(this[0])>=0:bI.filter(b1,this).length>0:this.filter(b1).length>0)},closest:function(b5,b4){var b6,b3=0,b1=this.length,b2=[],b7=z.test(b5)||typeof b5!=="string"?bI(b5,b4||this.context):0;for(;b3<b1;b3++){b6=this[b3];while(b6&&b6.ownerDocument&&b6!==b4&&b6.nodeType!==11){if(b7?b7.index(b6)>-1:bI.find.matchesSelector(b6,b5)){b2.push(b6);break}b6=b6.parentNode}}b2=b2.length>1?bI.unique(b2):b2;return this.pushStack(b2,"closest",b5)},index:function(b1){if(!b1){return(this[0]&&this[0].parentNode)?this.prevAll().length:-1}if(typeof b1==="string"){return bI.inArray(this[0],bI(b1))}return bI.inArray(b1.jquery?b1[0]:b1,this)},add:function(b1,b2){var b4=typeof b1==="string"?bI(b1,b2):bI.makeArray(b1&&b1.nodeType?[b1]:b1),b3=bI.merge(this.get(),b4);return this.pushStack(aT(b4[0])||aT(b3[0])?b3:bI.unique(b3))},addBack:function(b1){return this.add(b1==null?this.prevObject:this.prevObject.filter(b1))}});bI.fn.andSelf=bI.fn.addBack;function aT(b1){return !b1||!b1.parentNode||b1.parentNode.nodeType===11}function a0(b2,b1){do{b2=b2[b1]}while(b2&&b2.nodeType!==1);return b2}bI.each({parent:function(b2){var b1=b2.parentNode;return b1&&b1.nodeType!==11?b1:null},parents:function(b1){return bI.dir(b1,"parentNode")},parentsUntil:function(b2,b1,b3){return bI.dir(b2,"parentNode",b3)},next:function(b1){return a0(b1,"nextSibling")},prev:function(b1){return a0(b1,"previousSibling")},nextAll:function(b1){return bI.dir(b1,"nextSibling")},prevAll:function(b1){return bI.dir(b1,"previousSibling")},nextUntil:function(b2,b1,b3){return bI.dir(b2,"nextSibling",b3)},prevUntil:function(b2,b1,b3){return bI.dir(b2,"previousSibling",b3)},siblings:function(b1){return bI.sibling((b1.parentNode||{}).firstChild,b1)},children:function(b1){return bI.sibling(b1.firstChild)},contents:function(b1){return bI.nodeName(b1,"iframe")?b1.contentDocument||b1.contentWindow.document:bI.merge([],b1.childNodes)}},function(b1,b2){bI.fn[b1]=function(b5,b3){var b4=bI.map(this,b2,b5);if(!ai.test(b1)){b3=b5}if(b3&&typeof b3==="string"){b4=bI.filter(b3,b4)}b4=this.length>1&&!bw[b1]?bI.unique(b4):b4;if(this.length>1&&bs.test(b1)){b4=b4.reverse()}return this.pushStack(b4,b1,a6.call(arguments).join(","))}});bI.extend({filter:function(b3,b1,b2){if(b2){b3=":not("+b3+")"}return b1.length===1?bI.find.matchesSelector(b1[0],b3)?[b1[0]]:[]:bI.find.matches(b3,b1)},dir:function(b3,b2,b5){var b1=[],b4=b3[b2];while(b4&&b4.nodeType!==9&&(b5===aD||b4.nodeType!==1||!bI(b4).is(b5))){if(b4.nodeType===1){b1.push(b4)}b4=b4[b2]}return b1},sibling:function(b3,b2){var b1=[];for(;b3;b3=b3.nextSibling){if(b3.nodeType===1&&b3!==b2){b1.push(b3)}}return b1}});function aO(b4,b3,b1){b3=b3||0;if(bI.isFunction(b3)){return bI.grep(b4,function(b6,b5){var b7=!!b3.call(b6,b5,b6);return b7===b1})}else{if(b3.nodeType){return bI.grep(b4,function(b6,b5){return(b6===b3)===b1})}else{if(typeof b3==="string"){var b2=bI.grep(b4,function(b5){return b5.nodeType===1});if(an.test(b3)){return bI.filter(b3,b2,!b1)}else{b3=bI.filter(b3,b2)}}}}return bI.grep(b4,function(b6,b5){return(bI.inArray(b6,b3)>=0)===b1})}function B(b1){var b3=c.split("|"),b2=b1.createDocumentFragment();if(b2.createElement){while(b3.length){b2.createElement(b3.pop())}}return b2}var c="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",ax=/ jQuery\d+="(?:null|\d+)"/g,b0=/^\s+/,aA=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,q=/<([\w:]+)/,bV=/<tbody/i,K=/<|&#?\w+;/,al=/<(?:script|style|link)/i,ar=/<(?:script|object|embed|option|style)/i,L=new RegExp("<(?:"+c+")[\\s/>]","i"),aG=/^(?:checkbox|radio)$/,bT=/checked\s*(?:[^=]|=\s*.checked.)/i,by=/\/(java|ecma)script/i,aJ=/^\s*<!(?:\[CDATA\[|\-\-)|[\]\-]{2}>\s*$/g,V={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,"",""]},aS=B(p),m=aS.appendChild(p.createElement("div"));V.optgroup=V.option;V.tbody=V.tfoot=V.colgroup=V.caption=V.thead;V.th=V.td;if(!bI.support.htmlSerialize){V._default=[1,"X<div>","</div>"]}bI.fn.extend({text:function(b1){return bI.access(this,function(b2){return b2===aD?bI.text(this):this.empty().append((this[0]&&this[0].ownerDocument||p).createTextNode(b2))},null,b1,arguments.length)},wrapAll:function(b1){if(bI.isFunction(b1)){return this.each(function(b3){bI(this).wrapAll(b1.call(this,b3))})}if(this[0]){var b2=bI(b1,this[0].ownerDocument).eq(0).clone(true);if(this[0].parentNode){b2.insertBefore(this[0])}b2.map(function(){var b3=this;while(b3.firstChild&&b3.firstChild.nodeType===1){b3=b3.firstChild}return b3}).append(this)}return this},wrapInner:function(b1){if(bI.isFunction(b1)){return this.each(function(b2){bI(this).wrapInner(b1.call(this,b2))})}return this.each(function(){var b2=bI(this),b3=b2.contents();if(b3.length){b3.wrapAll(b1)}else{b2.append(b1)}})},wrap:function(b1){var b2=bI.isFunction(b1);return this.each(function(b3){bI(this).wrapAll(b2?b1.call(this,b3):b1)})},unwrap:function(){return this.parent().each(function(){if(!bI.nodeName(this,"body")){bI(this).replaceWith(this.childNodes)}}).end()},append:function(){return this.domManip(arguments,true,function(b1){if(this.nodeType===1||this.nodeType===11){this.appendChild(b1)}})},prepend:function(){return this.domManip(arguments,true,function(b1){if(this.nodeType===1||this.nodeType===11){this.insertBefore(b1,this.firstChild)}})},before:function(){if(!aT(this[0])){return this.domManip(arguments,false,function(b2){this.parentNode.insertBefore(b2,this)})}if(arguments.length){var b1=bI.clean(arguments);return this.pushStack(bI.merge(b1,this),"before",this.selector)}},after:function(){if(!aT(this[0])){return this.domManip(arguments,false,function(b2){this.parentNode.insertBefore(b2,this.nextSibling)})}if(arguments.length){var b1=bI.clean(arguments);return this.pushStack(bI.merge(this,b1),"after",this.selector)}},remove:function(b1,b4){var b3,b2=0;for(;(b3=this[b2])!=null;b2++){if(!b1||bI.filter(b1,[b3]).length){if(!b4&&b3.nodeType===1){bI.cleanData(b3.getElementsByTagName("*"));bI.cleanData([b3])}if(b3.parentNode){b3.parentNode.removeChild(b3)}}}return this},empty:function(){var b2,b1=0;for(;(b2=this[b1])!=null;b1++){if(b2.nodeType===1){bI.cleanData(b2.getElementsByTagName("*"))}while(b2.firstChild){b2.removeChild(b2.firstChild)}}return this},clone:function(b2,b1){b2=b2==null?false:b2;b1=b1==null?b2:b1;return this.map(function(){return bI.clone(this,b2,b1)})},html:function(b1){return bI.access(this,function(b5){var b4=this[0]||{},b3=0,b2=this.length;if(b5===aD){return b4.nodeType===1?b4.innerHTML.replace(ax,""):aD}if(typeof b5==="string"&&!al.test(b5)&&(bI.support.htmlSerialize||!L.test(b5))&&(bI.support.leadingWhitespace||!b0.test(b5))&&!V[(q.exec(b5)||["",""])[1].toLowerCase()]){b5=b5.replace(aA,"<$1></$2>");try{for(;b3<b2;b3++){b4=this[b3]||{};if(b4.nodeType===1){bI.cleanData(b4.getElementsByTagName("*"));b4.innerHTML=b5}}b4=0}catch(b6){}}if(b4){this.empty().append(b5)}},null,b1,arguments.length)},replaceWith:function(b1){if(!aT(this[0])){if(bI.isFunction(b1)){return this.each(function(b4){var b3=bI(this),b2=b3.html();b3.replaceWith(b1.call(this,b4,b2))})}if(typeof b1!=="string"){b1=bI(b1).detach()}return this.each(function(){var b3=this.nextSibling,b2=this.parentNode;bI(this).remove();if(b3){bI(b3).before(b1)}else{bI(b2).append(b1)}})}return this.length?this.pushStack(bI(bI.isFunction(b1)?b1():b1),"replaceWith",b1):this},detach:function(b1){return this.remove(b1,true)},domManip:function(b7,cb,ca){b7=[].concat.apply([],b7);var b3,b5,b6,b9,b4=0,b8=b7[0],b2=[],b1=this.length;if(!bI.support.checkClone&&b1>1&&typeof b8==="string"&&bT.test(b8)){return this.each(function(){bI(this).domManip(b7,cb,ca)})}if(bI.isFunction(b8)){return this.each(function(cd){var cc=bI(this);b7[0]=b8.call(this,cd,cb?cc.html():aD);cc.domManip(b7,cb,ca)})}if(this[0]){b3=bI.buildFragment(b7,this,b2);b6=b3.fragment;b5=b6.firstChild;if(b6.childNodes.length===1){b6=b5}if(b5){cb=cb&&bI.nodeName(b5,"tr");for(b9=b3.cacheable||b1-1;b4<b1;b4++){ca.call(cb&&bI.nodeName(this[b4],"table")?y(this[b4],"tbody"):this[b4],b4===b9?b6:bI.clone(b6,true,true))}}b6=b5=null;if(b2.length){bI.each(b2,function(cc,cd){if(cd.src){if(bI.ajax){bI.ajax({url:cd.src,type:"GET",dataType:"script",async:false,global:false,"throws":true})}else{bI.error("no ajax")}}else{bI.globalEval((cd.text||cd.textContent||cd.innerHTML||"").replace(aJ,""))}if(cd.parentNode){cd.parentNode.removeChild(cd)}})}}return this}});function y(b2,b1){return b2.getElementsByTagName(b1)[0]||b2.appendChild(b2.ownerDocument.createElement(b1))}function aq(b8,b2){if(b2.nodeType!==1||!bI.hasData(b8)){return}var b5,b4,b1,b7=bI._data(b8),b6=bI._data(b2,b7),b3=b7.events;if(b3){delete b6.handle;b6.events={};for(b5 in b3){for(b4=0,b1=b3[b5].length;b4<b1;b4++){bI.event.add(b2,b5,b3[b5][b4])}}}if(b6.data){b6.data=bI.extend({},b6.data)}}function G(b2,b1){var b3;if(b1.nodeType!==1){return}if(b1.clearAttributes){b1.clearAttributes()}if(b1.mergeAttributes){b1.mergeAttributes(b2)}b3=b1.nodeName.toLowerCase();if(b3==="object"){if(b1.parentNode){b1.outerHTML=b2.outerHTML}if(bI.support.html5Clone&&(b2.innerHTML&&!bI.trim(b1.innerHTML))){b1.innerHTML=b2.innerHTML}}else{if(b3==="input"&&aG.test(b2.type)){b1.defaultChecked=b1.checked=b2.checked;if(b1.value!==b2.value){b1.value=b2.value}}else{if(b3==="option"){b1.selected=b2.defaultSelected}else{if(b3==="input"||b3==="textarea"){b1.defaultValue=b2.defaultValue}else{if(b3==="script"&&b1.text!==b2.text){b1.text=b2.text}}}}}b1.removeAttribute(bI.expando)}bI.buildFragment=function(b4,b5,b2){var b3,b1,b6,b7=b4[0];b5=b5||p;b5=!b5.nodeType&&b5[0]||b5;b5=b5.ownerDocument||b5;if(b4.length===1&&typeof b7==="string"&&b7.length<512&&b5===p&&b7.charAt(0)==="<"&&!ar.test(b7)&&(bI.support.checkClone||!bT.test(b7))&&(bI.support.html5Clone||!L.test(b7))){b1=true;b3=bI.fragments[b7];b6=b3!==aD}if(!b3){b3=b5.createDocumentFragment();bI.clean(b4,b5,b3,b2);if(b1){bI.fragments[b7]=b6&&b3}}return{fragment:b3,cacheable:b1}};bI.fragments={};bI.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(b1,b2){bI.fn[b1]=function(b3){var b5,b7=0,b6=[],b9=bI(b3),b4=b9.length,b8=this.length===1&&this[0].parentNode;if((b8==null||b8&&b8.nodeType===11&&b8.childNodes.length===1)&&b4===1){b9[b2](this[0]);return this}else{for(;b7<b4;b7++){b5=(b7>0?this.clone(true):this).get();bI(b9[b7])[b2](b5);b6=b6.concat(b5)}return this.pushStack(b6,b1,b9.selector)}}});function n(b1){if(typeof b1.getElementsByTagName!=="undefined"){return b1.getElementsByTagName("*")}else{if(typeof b1.querySelectorAll!=="undefined"){return b1.querySelectorAll("*")}else{return[]}}}function bU(b1){if(aG.test(b1.type)){b1.defaultChecked=b1.checked}}bI.extend({clone:function(b5,b7,b3){var b1,b2,b4,b6;if(bI.support.html5Clone||bI.isXMLDoc(b5)||!L.test("<"+b5.nodeName+">")){b6=b5.cloneNode(true)}else{m.innerHTML=b5.outerHTML;m.removeChild(b6=m.firstChild)}if((!bI.support.noCloneEvent||!bI.support.noCloneChecked)&&(b5.nodeType===1||b5.nodeType===11)&&!bI.isXMLDoc(b5)){G(b5,b6);b1=n(b5);b2=n(b6);for(b4=0;b1[b4];++b4){if(b2[b4]){G(b1[b4],b2[b4])}}}if(b7){aq(b5,b6);if(b3){b1=n(b5);b2=n(b6);for(b4=0;b1[b4];++b4){aq(b1[b4],b2[b4])}}}b1=b2=null;return b6},clean:function(ce,b3,b1,b4){var cb,ca,cd,ci,b7,ch,b8,b5,b2,cc,cg,b9,b6=b3===p&&aS,cf=[];if(!b3||typeof b3.createDocumentFragment==="undefined"){b3=p}for(cb=0;(cd=ce[cb])!=null;cb++){if(typeof cd==="number"){cd+=""}if(!cd){continue}if(typeof cd==="string"){if(!K.test(cd)){cd=b3.createTextNode(cd)}else{b6=b6||B(b3);b8=b3.createElement("div");b6.appendChild(b8);cd=cd.replace(aA,"<$1></$2>");ci=(q.exec(cd)||["",""])[1].toLowerCase();b7=V[ci]||V._default;ch=b7[0];b8.innerHTML=b7[1]+cd+b7[2];while(ch--){b8=b8.lastChild}if(!bI.support.tbody){b5=bV.test(cd);b2=ci==="table"&&!b5?b8.firstChild&&b8.firstChild.childNodes:b7[1]==="<table>"&&!b5?b8.childNodes:[];for(ca=b2.length-1;ca>=0;--ca){if(bI.nodeName(b2[ca],"tbody")&&!b2[ca].childNodes.length){b2[ca].parentNode.removeChild(b2[ca])}}}if(!bI.support.leadingWhitespace&&b0.test(cd)){b8.insertBefore(b3.createTextNode(b0.exec(cd)[0]),b8.firstChild)}cd=b8.childNodes;b8.parentNode.removeChild(b8)}}if(cd.nodeType){cf.push(cd)}else{bI.merge(cf,cd)}}if(b8){cd=b8=b6=null}if(!bI.support.appendChecked){for(cb=0;(cd=cf[cb])!=null;cb++){if(bI.nodeName(cd,"input")){bU(cd)}else{if(typeof cd.getElementsByTagName!=="undefined"){bI.grep(cd.getElementsByTagName("input"),bU)}}}}if(b1){cg=function(cj){if(!cj.type||by.test(cj.type)){return b4?b4.push(cj.parentNode?cj.parentNode.removeChild(cj):cj):b1.appendChild(cj)}};for(cb=0;(cd=cf[cb])!=null;cb++){if(!(bI.nodeName(cd,"script")&&cg(cd))){b1.appendChild(cd);if(typeof cd.getElementsByTagName!=="undefined"){b9=bI.grep(bI.merge([],cd.getElementsByTagName("script")),cg);cf.splice.apply(cf,[cb+1,0].concat(b9));cb+=b9.length}}}}return cf},cleanData:function(b2,ca){var b5,b3,b4,b9,b6=0,cb=bI.expando,b1=bI.cache,b7=bI.support.deleteExpando,b8=bI.event.special;for(;(b4=b2[b6])!=null;b6++){if(ca||bI.acceptData(b4)){b3=b4[cb];b5=b3&&b1[b3];if(b5){if(b5.events){for(b9 in b5.events){if(b8[b9]){bI.event.remove(b4,b9)}else{bI.removeEvent(b4,b9,b5.handle)}}}if(b1[b3]){delete b1[b3];if(b7){delete b4[cb]}else{if(b4.removeAttribute){b4.removeAttribute(cb)}else{b4[cb]=null}}bI.deletedIds.push(b3)}}}}}});(function(){var b1,b2;bI.uaMatch=function(b4){b4=b4.toLowerCase();var b3=/(chrome)[ \/]([\w.]+)/.exec(b4)||/(webkit)[ \/]([\w.]+)/.exec(b4)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(b4)||/(msie) ([\w.]+)/.exec(b4)||b4.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(b4)||[];return{browser:b3[1]||"",version:b3[2]||"0"}};b1=bI.uaMatch(d.userAgent);b2={};if(b1.browser){b2[b1.browser]=true;b2.version=b1.version}if(b2.chrome){b2.webkit=true}else{if(b2.webkit){b2.safari=true}}bI.browser=b2;bI.sub=function(){function b3(b6,b7){return new b3.fn.init(b6,b7)}bI.extend(true,b3,this);b3.superclass=this;b3.fn=b3.prototype=this();b3.fn.constructor=b3;b3.sub=this.sub;b3.fn.init=function b5(b6,b7){if(b7&&b7 instanceof bI&&!(b7 instanceof b3)){b7=b3(b7)}return bI.fn.init.call(this,b6,b7,b4)};b3.fn.init.prototype=b3.fn;var b4=b3(p);return b3}})();var F,aB,aY,bg=/alpha\([^)]*\)/i,aU=/opacity=([^)]*)/,bm=/^(top|right|bottom|left)$/,H=/^(none|table(?!-c[ea]).+)/,a1=/^margin/,ba=new RegExp("^("+bz+")(.*)$","i"),Y=new RegExp("^("+bz+")(?!px)[a-z%]+$","i"),U=new RegExp("^([-+])=("+bz+")","i"),bj={},bb={position:"absolute",visibility:"hidden",display:"block"},bC={letterSpacing:0,fontWeight:400},bS=["Top","Right","Bottom","Left"],au=["Webkit","O","Moz","ms"],aL=bI.fn.toggle;function b(b4,b2){if(b2 in b4){return b2}var b5=b2.charAt(0).toUpperCase()+b2.slice(1),b1=b2,b3=au.length;while(b3--){b2=au[b3]+b5;if(b2 in b4){return b2}}return b1}function S(b2,b1){b2=b1||b2;return bI.css(b2,"display")==="none"||!bI.contains(b2.ownerDocument,b2)}function t(b6,b1){var b5,b7,b2=[],b3=0,b4=b6.length;for(;b3<b4;b3++){b5=b6[b3];if(!b5.style){continue}b2[b3]=bI._data(b5,"olddisplay");if(b1){if(!b2[b3]&&b5.style.display==="none"){b5.style.display=""}if(b5.style.display===""&&S(b5)){b2[b3]=bI._data(b5,"olddisplay",bE(b5.nodeName))}}else{b7=F(b5,"display");if(!b2[b3]&&b7!=="none"){bI._data(b5,"olddisplay",b7)}}}for(b3=0;b3<b4;b3++){b5=b6[b3];if(!b5.style){continue}if(!b1||b5.style.display==="none"||b5.style.display===""){b5.style.display=b1?b2[b3]||"":"none"}}return b6}bI.fn.extend({css:function(b1,b2){return bI.access(this,function(b4,b3,b5){return b5!==aD?bI.style(b4,b3,b5):bI.css(b4,b3)},b1,b2,arguments.length>1)},show:function(){return t(this,true)},hide:function(){return t(this)},toggle:function(b3,b2){var b1=typeof b3==="boolean";if(bI.isFunction(b3)&&bI.isFunction(b2)){return aL.apply(this,arguments)}return this.each(function(){if(b1?b3:S(this)){bI(this).show()}else{bI(this).hide()}})}});bI.extend({cssHooks:{opacity:{get:function(b3,b2){if(b2){var b1=F(b3,"opacity");return b1===""?"1":b1}}}},cssNumber:{fillOpacity:true,fontWeight:true,lineHeight:true,opacity:true,orphans:true,widows:true,zIndex:true,zoom:true},cssProps:{"float":bI.support.cssFloat?"cssFloat":"styleFloat"},style:function(b3,b2,b9,b4){if(!b3||b3.nodeType===3||b3.nodeType===8||!b3.style){return}var b7,b8,ca,b5=bI.camelCase(b2),b1=b3.style;b2=bI.cssProps[b5]||(bI.cssProps[b5]=b(b1,b5));ca=bI.cssHooks[b2]||bI.cssHooks[b5];if(b9!==aD){b8=typeof b9;if(b8==="string"&&(b7=U.exec(b9))){b9=(b7[1]+1)*b7[2]+parseFloat(bI.css(b3,b2));b8="number"}if(b9==null||b8==="number"&&isNaN(b9)){return}if(b8==="number"&&!bI.cssNumber[b5]){b9+="px"}if(!ca||!("set" in ca)||(b9=ca.set(b3,b9,b4))!==aD){try{b1[b2]=b9}catch(b6){}}}else{if(ca&&"get" in ca&&(b7=ca.get(b3,false,b4))!==aD){return b7}return b1[b2]}},css:function(b7,b5,b6,b2){var b8,b4,b1,b3=bI.camelCase(b5);b5=bI.cssProps[b3]||(bI.cssProps[b3]=b(b7.style,b3));b1=bI.cssHooks[b5]||bI.cssHooks[b3];if(b1&&"get" in b1){b8=b1.get(b7,true,b2)}if(b8===aD){b8=F(b7,b5)}if(b8==="normal"&&b5 in bC){b8=bC[b5]}if(b6||b2!==aD){b4=parseFloat(b8);return b6||bI.isNumeric(b4)?b4||0:b8}return b8},swap:function(b5,b4,b6){var b3,b2,b1={};for(b2 in b4){b1[b2]=b5.style[b2];b5.style[b2]=b4[b2]}b3=b6.call(b5);for(b2 in b4){b5.style[b2]=b1[b2]}return b3}});if(a4.getComputedStyle){F=function(b8,b2){var b1,b5,b4,b7,b6=a4.getComputedStyle(b8,null),b3=b8.style;if(b6){b1=b6[b2];if(b1===""&&!bI.contains(b8.ownerDocument,b8)){b1=bI.style(b8,b2)}if(Y.test(b1)&&a1.test(b2)){b5=b3.width;b4=b3.minWidth;b7=b3.maxWidth;b3.minWidth=b3.maxWidth=b3.width=b1;b1=b6.width;b3.width=b5;b3.minWidth=b4;b3.maxWidth=b7}}return b1}}else{if(p.documentElement.currentStyle){F=function(b5,b3){var b6,b1,b2=b5.currentStyle&&b5.currentStyle[b3],b4=b5.style;if(b2==null&&b4&&b4[b3]){b2=b4[b3]}if(Y.test(b2)&&!bm.test(b3)){b6=b4.left;b1=b5.runtimeStyle&&b5.runtimeStyle.left;if(b1){b5.runtimeStyle.left=b5.currentStyle.left}b4.left=b3==="fontSize"?"1em":b2;b2=b4.pixelLeft+"px";b4.left=b6;if(b1){b5.runtimeStyle.left=b1}}return b2===""?"auto":b2}}}function aI(b1,b3,b4){var b2=ba.exec(b3);return b2?Math.max(0,b2[1]-(b4||0))+(b2[2]||"px"):b3}function av(b4,b2,b1,b6){var b3=b1===(b6?"border":"content")?4:b2==="width"?1:0,b5=0;for(;b3<4;b3+=2){if(b1==="margin"){b5+=bI.css(b4,b1+bS[b3],true)}if(b6){if(b1==="content"){b5-=parseFloat(F(b4,"padding"+bS[b3]))||0}if(b1!=="margin"){b5-=parseFloat(F(b4,"border"+bS[b3]+"Width"))||0}}else{b5+=parseFloat(F(b4,"padding"+bS[b3]))||0;if(b1!=="padding"){b5+=parseFloat(F(b4,"border"+bS[b3]+"Width"))||0}}}return b5}function v(b4,b2,b1){var b5=b2==="width"?b4.offsetWidth:b4.offsetHeight,b3=true,b6=bI.support.boxSizing&&bI.css(b4,"boxSizing")==="border-box";if(b5<=0||b5==null){b5=F(b4,b2);if(b5<0||b5==null){b5=b4.style[b2]}if(Y.test(b5)){return b5}b3=b6&&(bI.support.boxSizingReliable||b5===b4.style[b2]);b5=parseFloat(b5)||0}return(b5+av(b4,b2,b1||(b6?"border":"content"),b3))+"px"}function bE(b3){if(bj[b3]){return bj[b3]}var b1=bI("<"+b3+">").appendTo(p.body),b2=b1.css("display");b1.remove();if(b2==="none"||b2===""){aB=p.body.appendChild(aB||bI.extend(p.createElement("iframe"),{frameBorder:0,width:0,height:0}));if(!aY||!aB.createElement){aY=(aB.contentWindow||aB.contentDocument).document;aY.write("<!doctype html><html><body>");aY.close()}b1=aY.body.appendChild(aY.createElement(b3));b2=F(b1,"display");p.body.removeChild(aB)}bj[b3]=b2;return b2}bI.each(["height","width"],function(b2,b1){bI.cssHooks[b1]={get:function(b5,b4,b3){if(b4){if(b5.offsetWidth===0&&H.test(F(b5,"display"))){return bI.swap(b5,bb,function(){return v(b5,b1,b3)})}else{return v(b5,b1,b3)}}},set:function(b4,b5,b3){return aI(b4,b5,b3?av(b4,b1,b3,bI.support.boxSizing&&bI.css(b4,"boxSizing")==="border-box"):0)}}});if(!bI.support.opacity){bI.cssHooks.opacity={get:function(b2,b1){return aU.test((b1&&b2.currentStyle?b2.currentStyle.filter:b2.style.filter)||"")?(0.01*parseFloat(RegExp.$1))+"":b1?"1":""},set:function(b5,b6){var b4=b5.style,b2=b5.currentStyle,b1=bI.isNumeric(b6)?"alpha(opacity="+b6*100+")":"",b3=b2&&b2.filter||b4.filter||"";b4.zoom=1;if(b6>=1&&bI.trim(b3.replace(bg,""))===""&&b4.removeAttribute){b4.removeAttribute("filter");if(b2&&!b2.filter){return}}b4.filter=bg.test(b3)?b3.replace(bg,b1):b3+" "+b1}}}bI(function(){if(!bI.support.reliableMarginRight){bI.cssHooks.marginRight={get:function(b2,b1){return bI.swap(b2,{display:"inline-block"},function(){if(b1){return F(b2,"marginRight")}})}}}if(!bI.support.pixelPosition&&bI.fn.position){bI.each(["top","left"],function(b1,b2){bI.cssHooks[b2]={get:function(b5,b4){if(b4){var b3=F(b5,b2);return Y.test(b3)?bI(b5).position()[b2]+"px":b3}}}})}});if(bI.expr&&bI.expr.filters){bI.expr.filters.hidden=function(b1){return(b1.offsetWidth===0&&b1.offsetHeight===0)||(!bI.support.reliableHiddenOffsets&&((b1.style&&b1.style.display)||F(b1,"display"))==="none")};bI.expr.filters.visible=function(b1){return !bI.expr.filters.hidden(b1)}}bI.each({margin:"",padding:"",border:"Width"},function(b1,b2){bI.cssHooks[b1+b2]={expand:function(b5){var b4,b6=typeof b5==="string"?b5.split(" "):[b5],b3={};for(b4=0;b4<4;b4++){b3[b1+bS[b4]+b2]=b6[b4]||b6[b4-2]||b6[0]}return b3}};if(!a1.test(b1)){bI.cssHooks[b1+b2].set=aI}});var bu=/%20/g,aR=/\[\]$/,W=/\r?\n/g,bB=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,aF=/^(?:select|textarea)/i;bI.fn.extend({serialize:function(){return bI.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?bI.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||aF.test(this.nodeName)||bB.test(this.type))}).map(function(b1,b2){var b3=bI(this).val();return b3==null?null:bI.isArray(b3)?bI.map(b3,function(b5,b4){return{name:b2.name,value:b5.replace(W,"\r\n")}}):{name:b2.name,value:b3.replace(W,"\r\n")}}).get()}});bI.param=function(b1,b3){var b4,b2=[],b5=function(b6,b7){b7=bI.isFunction(b7)?b7():(b7==null?"":b7);b2[b2.length]=encodeURIComponent(b6)+"="+encodeURIComponent(b7)};if(b3===aD){b3=bI.ajaxSettings&&bI.ajaxSettings.traditional}if(bI.isArray(b1)||(b1.jquery&&!bI.isPlainObject(b1))){bI.each(b1,function(){b5(this.name,this.value)})}else{for(b4 in b1){l(b4,b1[b4],b3,b5)}}return b2.join("&").replace(bu,"+")};function l(b3,b5,b2,b4){var b1;if(bI.isArray(b5)){bI.each(b5,function(b7,b6){if(b2||aR.test(b3)){b4(b3,b6)}else{l(b3+"["+(typeof b6==="object"?b7:"")+"]",b6,b2,b4)}})}else{if(!b2&&bI.type(b5)==="object"){for(b1 in b5){l(b3+"["+b1+"]",b5[b1],b2,b4)}}else{b4(b3,b5)}}}var aa,bZ,ap=/#.*$/,af=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,C=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,s=/^(?:GET|HEAD)$/,aE=/^\/\//,bP=/\?/,g=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,R=/([?&])_=[^&]*/,aV=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,bY=bI.fn.load,w={},a8={},aZ=["*/"]+["*"];try{aa=aK.href}catch(bf){aa=p.createElement("a");aa.href="";aa=aa.href}bZ=aV.exec(aa.toLowerCase())||[];function bK(b1){return function(b5,b7){if(typeof b5!=="string"){b7=b5;b5="*"}var b2,b8,b9,b4=b5.toLowerCase().split(aX),b3=0,b6=b4.length;if(bI.isFunction(b7)){for(;b3<b6;b3++){b2=b4[b3];b9=/^\+/.test(b2);if(b9){b2=b2.substr(1)||"*"}b8=b1[b2]=b1[b2]||[];b8[b9?"unshift":"push"](b7)}}}}function r(b2,cb,b6,b9,b8,b4){b8=b8||cb.dataTypes[0];b4=b4||{};b4[b8]=true;var ca,b7=b2[b8],b3=0,b1=b7?b7.length:0,b5=(b2===w);for(;b3<b1&&(b5||!ca);b3++){ca=b7[b3](cb,b6,b9);if(typeof ca==="string"){if(!b5||b4[ca]){ca=aD}else{cb.dataTypes.unshift(ca);ca=r(b2,cb,b6,b9,ca,b4)}}}if((b5||!ca)&&!b4["*"]){ca=r(b2,cb,b6,b9,"*",b4)}return ca}function u(b3,b4){var b2,b1,b5=bI.ajaxSettings.flatOptions||{};for(b2 in b4){if(b4[b2]!==aD){(b5[b2]?b3:(b1||(b1={})))[b2]=b4[b2]}}if(b1){bI.extend(true,b3,b1)}}bI.fn.load=function(b4,b7,b8){if(typeof b4!=="string"&&bY){return bY.apply(this,arguments)}if(!this.length){return this}var b1,b5,b3,b2=this,b6=b4.indexOf(" ");if(b6>=0){b1=b4.slice(b6,b4.length);b4=b4.slice(0,b6)}if(bI.isFunction(b7)){b8=b7;b7=aD}else{if(b7&&typeof b7==="object"){b5="POST"}}bI.ajax({url:b4,type:b5,dataType:"html",data:b7,complete:function(ca,b9){if(b8){b2.each(b8,b3||[ca.responseText,b9,ca])}}}).done(function(b9){b3=arguments;b2.html(b1?bI("<div>").append(b9.replace(g,"")).find(b1):b9)});return this};bI.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(b1,b2){bI.fn[b2]=function(b3){return this.on(b2,b3)}});bI.each(["get","post"],function(b1,b2){bI[b2]=function(b3,b5,b6,b4){if(bI.isFunction(b5)){b4=b4||b6;b6=b5;b5=aD}return bI.ajax({type:b2,url:b3,data:b5,success:b6,dataType:b4})}});bI.extend({getScript:function(b1,b2){return bI.get(b1,aD,b2,"script")},getJSON:function(b1,b2,b3){return bI.get(b1,b2,b3,"json")},ajaxSetup:function(b2,b1){if(b1){u(b2,bI.ajaxSettings)}else{b1=b2;b2=bI.ajaxSettings}u(b2,b1);return b2},ajaxSettings:{url:aa,isLocal:C.test(bZ[1]),global:true,type:"GET",contentType:"application/x-www-form-urlencoded; charset=UTF-8",processData:true,async:true,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":aZ},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a4.String,"text html":true,"text json":bI.parseJSON,"text xml":bI.parseXML},flatOptions:{context:true,url:true}},ajaxPrefilter:bK(w),ajaxTransport:bK(a8),ajax:function(b6,b3){if(typeof b6==="object"){b3=b6;b6=aD}b3=b3||{};var b9,cn,b4,ci,cb,cf,b2,ch,ca=bI.ajaxSetup({},b3),cp=ca.context||ca,cd=cp!==ca&&(cp.nodeType||cp instanceof bI)?bI(cp):bI.event,co=bI.Deferred(),ck=bI.Callbacks("once memory"),b7=ca.statusCode||{},ce={},cl={},b5=0,b8="canceled",cg={readyState:0,setRequestHeader:function(cr,cs){if(!b5){var cq=cr.toLowerCase();cr=cl[cq]=cl[cq]||cr;ce[cr]=cs}return this},getAllResponseHeaders:function(){return b5===2?cn:null},getResponseHeader:function(cr){var cq;if(b5===2){if(!b4){b4={};while((cq=af.exec(cn))){b4[cq[1].toLowerCase()]=cq[2]}}cq=b4[cr.toLowerCase()]}return cq===aD?null:cq},overrideMimeType:function(cq){if(!b5){ca.mimeType=cq}return this},abort:function(cq){cq=cq||b8;if(ci){ci.abort(cq)}cc(0,cq);return this}};function cc(cv,cr,cw,ct){var cq,cz,cx,cu,cy,cs=cr;if(b5===2){return}b5=2;if(cb){clearTimeout(cb)}ci=aD;cn=ct||"";cg.readyState=cv>0?4:0;if(cw){cu=h(ca,cg,cw)}if(cv>=200&&cv<300||cv===304){if(ca.ifModified){cy=cg.getResponseHeader("Last-Modified");if(cy){bI.lastModified[b9]=cy}cy=cg.getResponseHeader("Etag");if(cy){bI.etag[b9]=cy}}if(cv===304){cs="notmodified";cq=true}else{cq=ag(ca,cu);cs=cq.state;cz=cq.data;cx=cq.error;cq=!cx}}else{cx=cs;if(!cs||cv){cs="error";if(cv<0){cv=0}}}cg.status=cv;cg.statusText=""+(cr||cs);if(cq){co.resolveWith(cp,[cz,cs,cg])}else{co.rejectWith(cp,[cg,cs,cx])}cg.statusCode(b7);b7=aD;if(b2){cd.trigger("ajax"+(cq?"Success":"Error"),[cg,ca,cq?cz:cx])}ck.fireWith(cp,[cg,cs]);if(b2){cd.trigger("ajaxComplete",[cg,ca]);if(!(--bI.active)){bI.event.trigger("ajaxStop")}}}co.promise(cg);cg.success=cg.done;cg.error=cg.fail;cg.complete=ck.add;cg.statusCode=function(cr){if(cr){var cq;if(b5<2){for(cq in cr){b7[cq]=[b7[cq],cr[cq]]}}else{cq=cr[cg.status];cg.always(cq)}}return this};ca.url=((b6||ca.url)+"").replace(ap,"").replace(aE,bZ[1]+"//");ca.dataTypes=bI.trim(ca.dataType||"*").toLowerCase().split(aX);if(ca.crossDomain==null){cf=aV.exec(ca.url.toLowerCase());ca.crossDomain=!!(cf&&(cf[1]!=bZ[1]||cf[2]!=bZ[2]||(cf[3]||(cf[1]==="http:"?80:443))!=(bZ[3]||(bZ[1]==="http:"?80:443))))}if(ca.data&&ca.processData&&typeof ca.data!=="string"){ca.data=bI.param(ca.data,ca.traditional)}r(w,ca,b3,cg);if(b5===2){return cg}b2=ca.global;ca.type=ca.type.toUpperCase();ca.hasContent=!s.test(ca.type);if(b2&&bI.active++===0){bI.event.trigger("ajaxStart")}if(!ca.hasContent){if(ca.data){ca.url+=(bP.test(ca.url)?"&":"?")+ca.data;delete ca.data}b9=ca.url;if(ca.cache===false){var b1=bI.now(),cm=ca.url.replace(R,"$1_="+b1);ca.url=cm+((cm===ca.url)?(bP.test(ca.url)?"&":"?")+"_="+b1:"")}}if(ca.data&&ca.hasContent&&ca.contentType!==false||b3.contentType){cg.setRequestHeader("Content-Type",ca.contentType)}if(ca.ifModified){b9=b9||ca.url;if(bI.lastModified[b9]){cg.setRequestHeader("If-Modified-Since",bI.lastModified[b9])}if(bI.etag[b9]){cg.setRequestHeader("If-None-Match",bI.etag[b9])}}cg.setRequestHeader("Accept",ca.dataTypes[0]&&ca.accepts[ca.dataTypes[0]]?ca.accepts[ca.dataTypes[0]]+(ca.dataTypes[0]!=="*"?", "+aZ+"; q=0.01":""):ca.accepts["*"]);for(ch in ca.headers){cg.setRequestHeader(ch,ca.headers[ch])}if(ca.beforeSend&&(ca.beforeSend.call(cp,cg,ca)===false||b5===2)){return cg.abort()}b8="abort";for(ch in {success:1,error:1,complete:1}){cg[ch](ca[ch])}ci=r(a8,ca,b3,cg);if(!ci){cc(-1,"No Transport")}else{cg.readyState=1;if(b2){cd.trigger("ajaxSend",[cg,ca])}if(ca.async&&ca.timeout>0){cb=setTimeout(function(){cg.abort("timeout")},ca.timeout)}try{b5=1;ci.send(ce,cc)}catch(cj){if(b5<2){cc(-1,cj)}else{throw cj}}}return cg},active:0,lastModified:{},etag:{}});function h(ca,b9,b6){var b5,b7,b4,b1,b2=ca.contents,b8=ca.dataTypes,b3=ca.responseFields;for(b7 in b3){if(b7 in b6){b9[b3[b7]]=b6[b7]}}while(b8[0]==="*"){b8.shift();if(b5===aD){b5=ca.mimeType||b9.getResponseHeader("content-type")}}if(b5){for(b7 in b2){if(b2[b7]&&b2[b7].test(b5)){b8.unshift(b7);break}}}if(b8[0] in b6){b4=b8[0]}else{for(b7 in b6){if(!b8[0]||ca.converters[b7+" "+b8[0]]){b4=b7;break}if(!b1){b1=b7}}b4=b4||b1}if(b4){if(b4!==b8[0]){b8.unshift(b4)}return b6[b4]}}function ag(cb,b3){var b9,b1,b7,b5,b8=cb.dataTypes.slice(),b2=b8[0],ca={},b4=0;if(cb.dataFilter){b3=cb.dataFilter(b3,cb.dataType)}if(b8[1]){for(b9 in cb.converters){ca[b9.toLowerCase()]=cb.converters[b9]}}for(;(b7=b8[++b4]);){if(b7!=="*"){if(b2!=="*"&&b2!==b7){b9=ca[b2+" "+b7]||ca["* "+b7];if(!b9){for(b1 in ca){b5=b1.split(" ");if(b5[1]===b7){b9=ca[b2+" "+b5[0]]||ca["* "+b5[0]];if(b9){if(b9===true){b9=ca[b1]}else{if(ca[b1]!==true){b7=b5[0];b8.splice(b4--,0,b7)}}break}}}}if(b9!==true){if(b9&&cb["throws"]){b3=b9(b3)}else{try{b3=b9(b3)}catch(b6){return{state:"parsererror",error:b9?b6:"No conversion from "+b2+" to "+b7}}}}}b2=b7}}return{state:"success",data:b3}}var br=[],ay=/\?/,a7=/(=)\?(?=&|$)|\?\?/,bn=bI.now();bI.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var b1=br.pop()||(bI.expando+"_"+(bn++));this[b1]=true;return b1}});bI.ajaxPrefilter("json jsonp",function(cb,b6,ca){var b9,b1,b8,b4=cb.data,b2=cb.url,b3=cb.jsonp!==false,b7=b3&&a7.test(b2),b5=b3&&!b7&&typeof b4==="string"&&!(cb.contentType||"").indexOf("application/x-www-form-urlencoded")&&a7.test(b4);if(cb.dataTypes[0]==="jsonp"||b7||b5){b9=cb.jsonpCallback=bI.isFunction(cb.jsonpCallback)?cb.jsonpCallback():cb.jsonpCallback;b1=a4[b9];if(b7){cb.url=b2.replace(a7,"$1"+b9)}else{if(b5){cb.data=b4.replace(a7,"$1"+b9)}else{if(b3){cb.url+=(ay.test(b2)?"&":"?")+cb.jsonp+"="+b9}}}cb.converters["script json"]=function(){if(!b8){bI.error(b9+" was not called")}return b8[0]};cb.dataTypes[0]="json";a4[b9]=function(){b8=arguments};ca.always(function(){a4[b9]=b1;if(cb[b9]){cb.jsonpCallback=b6.jsonpCallback;br.push(b9)}if(b8&&bI.isFunction(b1)){b1(b8[0])}b8=b1=aD});return"script"}});bI.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(b1){bI.globalEval(b1);return b1}}});bI.ajaxPrefilter("script",function(b1){if(b1.cache===aD){b1.cache=false}if(b1.crossDomain){b1.type="GET";b1.global=false}});bI.ajaxTransport("script",function(b3){if(b3.crossDomain){var b1,b2=p.head||p.getElementsByTagName("head")[0]||p.documentElement;return{send:function(b4,b5){b1=p.createElement("script");b1.async="async";if(b3.scriptCharset){b1.charset=b3.scriptCharset}b1.src=b3.url;b1.onload=b1.onreadystatechange=function(b7,b6){if(b6||!b1.readyState||/loaded|complete/.test(b1.readyState)){b1.onload=b1.onreadystatechange=null;if(b2&&b1.parentNode){b2.removeChild(b1)}b1=aD;if(!b6){b5(200,"success")}}};b2.insertBefore(b1,b2.firstChild)},abort:function(){if(b1){b1.onload(0,1)}}}}});var aj,aP=a4.ActiveXObject?function(){for(var b1 in aj){aj[b1](0,1)}}:false,aw=0;function bD(){try{return new a4.XMLHttpRequest()}catch(b1){}}function bd(){try{return new a4.ActiveXObject("Microsoft.XMLHTTP")}catch(b1){}}bI.ajaxSettings.xhr=a4.ActiveXObject?function(){return !this.isLocal&&bD()||bd()}:bD;(function(b1){bI.extend(bI.support,{ajax:!!b1,cors:!!b1&&("withCredentials" in b1)})})(bI.ajaxSettings.xhr());if(bI.support.ajax){bI.ajaxTransport(function(b1){if(!b1.crossDomain||bI.support.cors){var b2;return{send:function(b8,b3){var b6,b5,b7=b1.xhr();if(b1.username){b7.open(b1.type,b1.url,b1.async,b1.username,b1.password)}else{b7.open(b1.type,b1.url,b1.async)}if(b1.xhrFields){for(b5 in b1.xhrFields){b7[b5]=b1.xhrFields[b5]}}if(b1.mimeType&&b7.overrideMimeType){b7.overrideMimeType(b1.mimeType)}if(!b1.crossDomain&&!b8["X-Requested-With"]){b8["X-Requested-With"]="XMLHttpRequest"}try{for(b5 in b8){b7.setRequestHeader(b5,b8[b5])}}catch(b4){}b7.send((b1.hasContent&&b1.data)||null);b2=function(ch,cb){var cc,ca,b9,cf,ce;try{if(b2&&(cb||b7.readyState===4)){b2=aD;if(b6){b7.onreadystatechange=bI.noop;if(aP){delete aj[b6]}}if(cb){if(b7.readyState!==4){b7.abort()}}else{cc=b7.status;b9=b7.getAllResponseHeaders();cf={};ce=b7.responseXML;if(ce&&ce.documentElement){cf.xml=ce}try{cf.text=b7.responseText}catch(ch){}try{ca=b7.statusText}catch(cg){ca=""}if(!cc&&b1.isLocal&&!b1.crossDomain){cc=cf.text?200:404}else{if(cc===1223){cc=204}}}}}catch(cd){if(!cb){b3(-1,cd)}}if(cf){b3(cc,ca,cf,b9)}};if(!b1.async){b2()}else{if(b7.readyState===4){setTimeout(b2,0)}else{b6=++aw;if(aP){if(!aj){aj={};bI(a4).unload(aP)}aj[b6]=b2}b7.onreadystatechange=b2}}},abort:function(){if(b2){b2(0,1)}}}}})}var M,ad,bQ=/^(?:toggle|show|hide)$/,bJ=new RegExp("^(?:([-+])=|)("+bz+")([a-z%]*)$","i"),bO=/queueHooks$/,az=[j],a3={"*":[function(b2,b8){var b5,b9,b1,ca=this.createTween(b2,b8),b6=bJ.exec(b8),b7=ca.cur(),b3=+b7||0,b4=1;if(b6){b5=+b6[2];b9=b6[3]||(bI.cssNumber[b2]?"":"px");if(b9!=="px"&&b3){b3=bI.css(ca.elem,b2,true)||b5||1;do{b1=b4=b4||".5";b3=b3/b4;bI.style(ca.elem,b2,b3+b9);b4=ca.cur()/b7}while(b4!==1&&b4!==b1)}ca.unit=b9;ca.start=b3;ca.end=b6[1]?b3+(b6[1]+1)*b5:b5}return ca}]};function bl(){setTimeout(function(){M=aD},0);return(M=bI.now())}function be(b2,b1){bI.each(b1,function(b7,b5){var b6=(a3[b7]||[]).concat(a3["*"]),b3=0,b4=b6.length;for(;b3<b4;b3++){if(b6[b3].call(b2,b7,b5)){return}}})}function f(b3,b7,ca){var cb,b6=0,b1=0,b2=az.length,b9=bI.Deferred().always(function(){delete b5.elem}),b5=function(){var cg=M||bl(),cd=Math.max(0,b4.startTime+b4.duration-cg),cf=1-(cd/b4.duration||0),cc=0,ce=b4.tweens.length;for(;cc<ce;cc++){b4.tweens[cc].run(cf)}b9.notifyWith(b3,[b4,cf,cd]);if(cf<1&&ce){return cd}else{b9.resolveWith(b3,[b4]);return false}},b4=b9.promise({elem:b3,props:bI.extend({},b7),opts:bI.extend(true,{specialEasing:{}},ca),originalProperties:b7,originalOptions:ca,startTime:M||bl(),duration:ca.duration,tweens:[],createTween:function(cf,cc,ce){var cd=bI.Tween(b3,b4.opts,cf,cc,b4.opts.specialEasing[cf]||b4.opts.easing);b4.tweens.push(cd);return cd},stop:function(cd){var cc=0,ce=cd?b4.tweens.length:0;for(;cc<ce;cc++){b4.tweens[cc].run(1)}if(cd){b9.resolveWith(b3,[b4,cd])}else{b9.rejectWith(b3,[b4,cd])}return this}}),b8=b4.props;am(b8,b4.opts.specialEasing);for(;b6<b2;b6++){cb=az[b6].call(b4,b3,b8,b4.opts);if(cb){return cb}}be(b4,b8);if(bI.isFunction(b4.opts.start)){b4.opts.start.call(b3,b4)}bI.fx.timer(bI.extend(b5,{anim:b4,queue:b4.opts.queue,elem:b3}));return b4.progress(b4.opts.progress).done(b4.opts.done,b4.opts.complete).fail(b4.opts.fail).always(b4.opts.always)}function am(b4,b6){var b3,b2,b7,b5,b1;for(b3 in b4){b2=bI.camelCase(b3);b7=b6[b2];b5=b4[b3];if(bI.isArray(b5)){b7=b5[1];b5=b4[b3]=b5[0]}if(b3!==b2){b4[b2]=b5;delete b4[b3]}b1=bI.cssHooks[b2];if(b1&&"expand" in b1){b5=b1.expand(b5);delete b4[b2];for(b3 in b5){if(!(b3 in b4)){b4[b3]=b5[b3];b6[b3]=b7}}}else{b6[b2]=b7}}}bI.Animation=bI.extend(f,{tweener:function(b2,b5){if(bI.isFunction(b2)){b5=b2;b2=["*"]}else{b2=b2.split(" ")}var b4,b1=0,b3=b2.length;for(;b1<b3;b1++){b4=b2[b1];a3[b4]=a3[b4]||[];a3[b4].unshift(b5)}},prefilter:function(b2,b1){if(b1){az.unshift(b2)}else{az.push(b2)}}});function j(b5,ca,b1){var b9,b3,cc,b4,cg,cf,ce,cd,b6=this,b2=b5.style,cb={},b8=[],b7=b5.nodeType&&S(b5);if(!b1.queue){ce=bI._queueHooks(b5,"fx");if(ce.unqueued==null){ce.unqueued=0;cd=ce.empty.fire;ce.empty.fire=function(){if(!ce.unqueued){cd()}}}ce.unqueued++;b6.always(function(){b6.always(function(){ce.unqueued--;if(!bI.queue(b5,"fx").length){ce.empty.fire()}})})}if(b5.nodeType===1&&("height" in ca||"width" in ca)){b1.overflow=[b2.overflow,b2.overflowX,b2.overflowY];if(bI.css(b5,"display")==="inline"&&bI.css(b5,"float")==="none"){if(!bI.support.inlineBlockNeedsLayout||bE(b5.nodeName)==="inline"){b2.display="inline-block"}else{b2.zoom=1}}}if(b1.overflow){b2.overflow="hidden";if(!bI.support.shrinkWrapBlocks){b6.done(function(){b2.overflow=b1.overflow[0];b2.overflowX=b1.overflow[1];b2.overflowY=b1.overflow[2]})}}for(b9 in ca){cc=ca[b9];if(bQ.exec(cc)){delete ca[b9];if(cc===(b7?"hide":"show")){continue}b8.push(b9)}}b4=b8.length;if(b4){cg=bI._data(b5,"fxshow")||bI._data(b5,"fxshow",{});if(b7){bI(b5).show()}else{b6.done(function(){bI(b5).hide()})}b6.done(function(){var ch;bI.removeData(b5,"fxshow",true);for(ch in cb){bI.style(b5,ch,cb[ch])}});for(b9=0;b9<b4;b9++){b3=b8[b9];cf=b6.createTween(b3,b7?cg[b3]:0);cb[b3]=cg[b3]||bI.style(b5,b3);if(!(b3 in cg)){cg[b3]=cf.start;if(b7){cf.end=cf.start;cf.start=b3==="width"||b3==="height"?1:0}}}}}function I(b3,b2,b5,b1,b4){return new I.prototype.init(b3,b2,b5,b1,b4)}bI.Tween=I;I.prototype={constructor:I,init:function(b4,b2,b6,b1,b5,b3){this.elem=b4;this.prop=b6;this.easing=b5||"swing";this.options=b2;this.start=this.now=this.cur();this.end=b1;this.unit=b3||(bI.cssNumber[b6]?"":"px")},cur:function(){var b1=I.propHooks[this.prop];return b1&&b1.get?b1.get(this):I.propHooks._default.get(this)},run:function(b3){var b2,b1=I.propHooks[this.prop];if(this.options.duration){this.pos=b2=bI.easing[this.easing](b3,this.options.duration*b3,0,1,this.options.duration)}else{this.pos=b2=b3}this.now=(this.end-this.start)*b2+this.start;if(this.options.step){this.options.step.call(this.elem,this.now,this)}if(b1&&b1.set){b1.set(this)}else{I.propHooks._default.set(this)}return this}};I.prototype.init.prototype=I.prototype;I.propHooks={_default:{get:function(b2){var b1;if(b2.elem[b2.prop]!=null&&(!b2.elem.style||b2.elem.style[b2.prop]==null)){return b2.elem[b2.prop]}b1=bI.css(b2.elem,b2.prop,false,"");return !b1||b1==="auto"?0:b1},set:function(b1){if(bI.fx.step[b1.prop]){bI.fx.step[b1.prop](b1)}else{if(b1.elem.style&&(b1.elem.style[bI.cssProps[b1.prop]]!=null||bI.cssHooks[b1.prop])){bI.style(b1.elem,b1.prop,b1.now+b1.unit)}else{b1.elem[b1.prop]=b1.now}}}}};I.propHooks.scrollTop=I.propHooks.scrollLeft={set:function(b1){if(b1.elem.nodeType&&b1.elem.parentNode){b1.elem[b1.prop]=b1.now}}};bI.each(["toggle","show","hide"],function(b2,b1){var b3=bI.fn[b1];bI.fn[b1]=function(b4,b6,b5){return b4==null||typeof b4==="boolean"||(!b2&&bI.isFunction(b4)&&bI.isFunction(b6))?b3.apply(this,arguments):this.animate(bH(b1,true),b4,b6,b5)}});bI.fn.extend({fadeTo:function(b1,b4,b3,b2){return this.filter(S).css("opacity",0).show().end().animate({opacity:b4},b1,b3,b2)},animate:function(b7,b4,b6,b5){var b3=bI.isEmptyObject(b7),b1=bI.speed(b4,b6,b5),b2=function(){var b8=f(this,bI.extend({},b7),b1);if(b3){b8.stop(true)}};return b3||b1.queue===false?this.each(b2):this.queue(b1.queue,b2)},stop:function(b3,b2,b1){var b4=function(b5){var b6=b5.stop;delete b5.stop;b6(b1)};if(typeof b3!=="string"){b1=b2;b2=b3;b3=aD}if(b2&&b3!==false){this.queue(b3||"fx",[])}return this.each(function(){var b8=true,b5=b3!=null&&b3+"queueHooks",b7=bI.timers,b6=bI._data(this);if(b5){if(b6[b5]&&b6[b5].stop){b4(b6[b5])}}else{for(b5 in b6){if(b6[b5]&&b6[b5].stop&&bO.test(b5)){b4(b6[b5])}}}for(b5=b7.length;b5--;){if(b7[b5].elem===this&&(b3==null||b7[b5].queue===b3)){b7[b5].anim.stop(b1);b8=false;b7.splice(b5,1)}}if(b8||!b1){bI.dequeue(this,b3)}})}});function bH(b3,b5){var b4,b1={height:b3},b2=0;b5=b5?1:0;for(;b2<4;b2+=2-b5){b4=bS[b2];b1["margin"+b4]=b1["padding"+b4]=b3}if(b5){b1.opacity=b1.width=b3}return b1}bI.each({slideDown:bH("show"),slideUp:bH("hide"),slideToggle:bH("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(b1,b2){bI.fn[b1]=function(b3,b5,b4){return this.animate(b2,b3,b5,b4)}});bI.speed=function(b3,b4,b2){var b1=b3&&typeof b3==="object"?bI.extend({},b3):{complete:b2||!b2&&b4||bI.isFunction(b3)&&b3,duration:b3,easing:b2&&b4||b4&&!bI.isFunction(b4)&&b4};b1.duration=bI.fx.off?0:typeof b1.duration==="number"?b1.duration:b1.duration in bI.fx.speeds?bI.fx.speeds[b1.duration]:bI.fx.speeds._default;if(b1.queue==null||b1.queue===true){b1.queue="fx"}b1.old=b1.complete;b1.complete=function(){if(bI.isFunction(b1.old)){b1.old.call(this)}if(b1.queue){bI.dequeue(this,b1.queue)}};return b1};bI.easing={linear:function(b1){return b1},swing:function(b1){return 0.5-Math.cos(b1*Math.PI)/2}};bI.timers=[];bI.fx=I.prototype.init;bI.fx.tick=function(){var b3,b2=bI.timers,b1=0;for(;b1<b2.length;b1++){b3=b2[b1];if(!b3()&&b2[b1]===b3){b2.splice(b1--,1)}}if(!b2.length){bI.fx.stop()}};bI.fx.timer=function(b1){if(b1()&&bI.timers.push(b1)&&!ad){ad=setInterval(bI.fx.tick,bI.fx.interval)}};bI.fx.interval=13;bI.fx.stop=function(){clearInterval(ad);ad=null};bI.fx.speeds={slow:600,fast:200,_default:400};bI.fx.step={};if(bI.expr&&bI.expr.filters){bI.expr.filters.animated=function(b1){return bI.grep(bI.timers,function(b2){return b1===b2.elem}).length}}var bo=/^(?:body|html)$/i;bI.fn.offset=function(cd){if(arguments.length){return cd===aD?this:this.each(function(ce){bI.offset.setOffset(this,cd,ce)})}var b7,b2,b8,b9,b6,ca,b1,b5,cb,b4,b3=this[0],cc=b3&&b3.ownerDocument;if(!cc){return}if((b8=cc.body)===b3){return bI.offset.bodyOffset(b3)}b2=cc.documentElement;if(!bI.contains(b2,b3)){return{top:0,left:0}}b7=b3.getBoundingClientRect();b9=bp(cc);b6=b2.clientTop||b8.clientTop||0;ca=b2.clientLeft||b8.clientLeft||0;b1=b9.pageYOffset||b2.scrollTop;b5=b9.pageXOffset||b2.scrollLeft;cb=b7.top+b1-b6;b4=b7.left+b5-ca;return{top:cb,left:b4}};bI.offset={bodyOffset:function(b1){var b3=b1.offsetTop,b2=b1.offsetLeft;if(bI.support.doesNotIncludeMarginInBodyOffset){b3+=parseFloat(bI.css(b1,"marginTop"))||0;b2+=parseFloat(bI.css(b1,"marginLeft"))||0}return{top:b3,left:b2}},setOffset:function(b4,cd,b7){var b8=bI.css(b4,"position");if(b8==="static"){b4.style.position="relative"}var b6=bI(b4),b2=b6.offset(),b1=bI.css(b4,"top"),cb=bI.css(b4,"left"),cc=(b8==="absolute"||b8==="fixed")&&bI.inArray("auto",[b1,cb])>-1,ca={},b9={},b3,b5;if(cc){b9=b6.position();b3=b9.top;b5=b9.left}else{b3=parseFloat(b1)||0;b5=parseFloat(cb)||0}if(bI.isFunction(cd)){cd=cd.call(b4,b7,b2)}if(cd.top!=null){ca.top=(cd.top-b2.top)+b3}if(cd.left!=null){ca.left=(cd.left-b2.left)+b5}if("using" in cd){cd.using.call(b4,ca)}else{b6.css(ca)}}};bI.fn.extend({position:function(){if(!this[0]){return}var b3=this[0],b2=this.offsetParent(),b4=this.offset(),b1=bo.test(b2[0].nodeName)?{top:0,left:0}:b2.offset();b4.top-=parseFloat(bI.css(b3,"marginTop"))||0;b4.left-=parseFloat(bI.css(b3,"marginLeft"))||0;b1.top+=parseFloat(bI.css(b2[0],"borderTopWidth"))||0;b1.left+=parseFloat(bI.css(b2[0],"borderLeftWidth"))||0;return{top:b4.top-b1.top,left:b4.left-b1.left}},offsetParent:function(){return this.map(function(){var b1=this.offsetParent||p.body;while(b1&&(!bo.test(b1.nodeName)&&bI.css(b1,"position")==="static")){b1=b1.offsetParent}return b1||p.body})}});bI.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(b3,b2){var b1=/Y/.test(b2);bI.fn[b3]=function(b4){return bI.access(this,function(b5,b8,b7){var b6=bp(b5);if(b7===aD){return b6?(b2 in b6)?b6[b2]:b6.document.documentElement[b8]:b5[b8]}if(b6){b6.scrollTo(!b1?b7:bI(b6).scrollLeft(),b1?b7:bI(b6).scrollTop())}else{b5[b8]=b7}},b3,b4,arguments.length,null)}});function bp(b1){return bI.isWindow(b1)?b1:b1.nodeType===9?b1.defaultView||b1.parentWindow:false}bI.each({Height:"height",Width:"width"},function(b1,b2){bI.each({padding:"inner"+b1,content:b2,"":"outer"+b1},function(b3,b4){bI.fn[b4]=function(b8,b7){var b6=arguments.length&&(b3||typeof b8!=="boolean"),b5=b3||(b8===true||b7===true?"margin":"border");return bI.access(this,function(ca,b9,cb){var cc;if(bI.isWindow(ca)){return ca.document.documentElement["client"+b1]}if(ca.nodeType===9){cc=ca.documentElement;return Math.max(ca.body["scroll"+b1],cc["scroll"+b1],ca.body["offset"+b1],cc["offset"+b1],cc["client"+b1])}return cb===aD?bI.css(ca,b9,cb,b5):bI.style(ca,b9,cb,b5)},b2,b6?b8:aD,b6,null)}})});a4.jQuery=a4.$=bI;if(typeof define==="function"&&define.amd&&define.amd.jQuery){define("jquery",[],function(){return bI})}})(window);var kurier=kurier||{};kurier.events=kurier.events||{};kurier.events.HEADER_LOADED="kurier_header_loaded";kurier.events.CONTENT_LOADED="kurier_content_loaded";kurier.events.FOOTER_LOADED="kurier_footer_loaded";kurier.events.ADS_LOADED="kurier_ad_loaded";kurier.events.SESSION_LOADED="kurier_session_loaded";kurier.events.SESSION_ABANDONED="kurier_session_abandoned";var cms=cms||{};cms.makeEventListener=function(a){a.prototype.on=function(f,g){if(typeof this.eventListeners==="undefined"){this.eventListeners={}}var c=f.split(",");for(var b=0;b<c.length;b++){var d=c[b].replace(/\s/,"");if(typeof this.eventListeners[d]==="undefined"){this.eventListeners[d]=[]}this.eventListeners[d].push(g)}return this};a.prototype.trigger=function(f,d){if(typeof this.eventListeners==="undefined"||typeof this.eventListeners[f]==="undefined"){return true}for(var c=0;c<this.eventListeners[f].length;c++){var b=this.eventListeners[f][c].call(this,d);if(typeof b!=="undefined"&&!b){return false}}return true}};cms.toggleFullscreen=function(){if((document.fullScreenElement&&document.fullScreenElement!==null)||(!document.mozFullScreen&&!document.webkitIsFullScreen)){if(document.documentElement.requestFullScreen){document.documentElement.requestFullScreen()}else{if(document.documentElement.mozRequestFullScreen){document.documentElement.mozRequestFullScreen()}else{if(document.documentElement.webkitRequestFullScreen){document.documentElement.webkitRequestFullScreen(Element.ALLOW_KEYBOARD_INPUT)}}}return true}else{if(document.cancelFullScreen){document.cancelFullScreen()}else{if(document.mozCancelFullScreen){document.mozCancelFullScreen()}else{if(document.webkitCancelFullScreen){document.webkitCancelFullScreen()}}}return false}};
/*!
 * jQuery UI 1.8.23
 *
 * Copyright 2012, 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(a,d){a.ui=a.ui||{};if(a.ui.version){return}a.extend(a.ui,{version:"1.8.23",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}});a.fn.extend({propAttr:a.fn.prop||a.fn.attr,_focus:a.fn.focus,focus:function(f,g){return typeof f==="number"?this.each(function(){var h=this;setTimeout(function(){a(h).focus();if(g){g.call(h)}},f)}):this._focus.apply(this,arguments)},scrollParent:function(){var f;if((a.browser.msie&&(/(static|relative)/).test(this.css("position")))||(/absolute/).test(this.css("position"))){f=this.parents().filter(function(){return(/(relative|absolute|fixed)/).test(a.curCSS(this,"position",1))&&(/(auto|scroll)/).test(a.curCSS(this,"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1))}).eq(0)}else{f=this.parents().filter(function(){return(/(auto|scroll)/).test(a.curCSS(this,"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1))}).eq(0)}return(/fixed/).test(this.css("position"))||!f.length?a(document):f},zIndex:function(j){if(j!==d){return this.css("zIndex",j)}if(this.length){var g=a(this[0]),f,h;while(g.length&&g[0]!==document){f=g.css("position");if(f==="absolute"||f==="relative"||f==="fixed"){h=parseInt(g.css("zIndex"),10);if(!isNaN(h)&&h!==0){return h}}g=g.parent()}}return 0},disableSelection:function(){return this.bind((a.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(f){f.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}});if(!a("<a>").outerWidth(1).jquery){a.each(["Width","Height"],function(h,f){var g=f==="Width"?["Left","Right"]:["Top","Bottom"],j=f.toLowerCase(),l={innerWidth:a.fn.innerWidth,innerHeight:a.fn.innerHeight,outerWidth:a.fn.outerWidth,outerHeight:a.fn.outerHeight};function k(o,n,m,p){a.each(g,function(){n-=parseFloat(a.curCSS(o,"padding"+this,true))||0;if(m){n-=parseFloat(a.curCSS(o,"border"+this+"Width",true))||0}if(p){n-=parseFloat(a.curCSS(o,"margin"+this,true))||0}});return n}a.fn["inner"+f]=function(m){if(m===d){return l["inner"+f].call(this)}return this.each(function(){a(this).css(j,k(this,m)+"px")})};a.fn["outer"+f]=function(m,n){if(typeof m!=="number"){return l["outer"+f].call(this,m)}return this.each(function(){a(this).css(j,k(this,m,true,n)+"px")})}})}function c(h,f){var l=h.nodeName.toLowerCase();if("area"===l){var k=h.parentNode,j=k.name,g;if(!h.href||!j||k.nodeName.toLowerCase()!=="map"){return false}g=a("img[usemap=#"+j+"]")[0];return !!g&&b(g)}return(/input|select|textarea|button|object/.test(l)?!h.disabled:"a"==l?h.href||f:f)&&b(h)}function b(f){return !a(f).parents().andSelf().filter(function(){return a.curCSS(this,"visibility")==="hidden"||a.expr.filters.hidden(this)}).length}a.extend(a.expr[":"],{data:a.expr.createPseudo?a.expr.createPseudo(function(f){return function(g){return !!a.data(g,f)}}):function(h,g,f){return !!a.data(h,f[3])},focusable:function(f){return c(f,!isNaN(a.attr(f,"tabindex")))},tabbable:function(h){var f=a.attr(h,"tabindex"),g=isNaN(f);return(g||f>=0)&&c(h,!g)}});a(function(){var f=document.body,g=f.appendChild(g=document.createElement("div"));g.offsetHeight;a.extend(g.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0});a.support.minHeight=g.offsetHeight===100;a.support.selectstart="onselectstart" in g;f.removeChild(g).style.display="none"});if(!a.curCSS){a.curCSS=a.css}a.extend(a.ui,{plugin:{add:function(g,h,k){var j=a.ui[g].prototype;for(var f in k){j.plugins[f]=j.plugins[f]||[];j.plugins[f].push([h,k[f]])}},call:function(f,h,g){var k=f.plugins[h];if(!k||!f.element[0].parentNode){return}for(var j=0;j<k.length;j++){if(f.options[k[j][0]]){k[j][1].apply(f.element,g)}}}},contains:function(g,f){return document.compareDocumentPosition?g.compareDocumentPosition(f)&16:g!==f&&g.contains(f)},hasScroll:function(j,g){if(a(j).css("overflow")==="hidden"){return false}var f=(g&&g==="left")?"scrollLeft":"scrollTop",h=false;if(j[f]>0){return true}j[f]=1;h=(j[f]>0);j[f]=0;return h},isOverAxis:function(g,f,h){return(g>f)&&(g<(f+h))},isOver:function(l,g,k,j,f,h){return a.ui.isOverAxis(l,k,f)&&a.ui.isOverAxis(g,j,h)}})})(jQuery);
/*!
* jQuery Cookie Plugin v1.3
* https://github.com/carhartl/jquery-cookie
*
* Copyright 2011, Klaus Hartl
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://www.opensource.org/licenses/mit-license.php
* http://www.opensource.org/licenses/GPL-2.0
*/
(function(g,b,h){var a=/\+/g;function f(j){return j}function c(j){return decodeURIComponent(j.replace(a," "))}var d=g.cookie=function(q,p,v){if(p!==h){v=g.extend({},d.defaults,v);if(p===null){v.expires=-1}if(typeof v.expires==="number"){var r=v.expires,u=v.expires=new Date();u.setDate(u.getDate()+r)}p=d.json?JSON.stringify(p):String(p);return(b.cookie=[encodeURIComponent(q),"=",d.raw?p:encodeURIComponent(p),v.expires?"; expires="+v.expires.toUTCString():"",v.path?"; path="+v.path:"",v.domain?"; domain="+v.domain:"",v.secure?"; secure":""].join(""))}var j=d.raw?f:c;var s=b.cookie.split("; ");for(var o=0,m=s.length;o<m;o++){var n=s[o].split("=");if(j(n.shift())===q){var k=j(n.join("="));return d.json?JSON.parse(k):k}}return null};d.defaults={};g.removeCookie=function(k,j){if(g.cookie(k)!==null){g.cookie(k,null,j);return true}return false}})(jQuery,document);(function(D){var N,W,T,O,d,o,L,C,R,B,E=0,J={},l=[],f=0,I={},A=[],g=null,q=new Image(),k=/\.(jpg|gif|png|bmp|jpeg)(.*)?$/i,m=/[^\.]\.(swf)\s*$/i,r,P=1,j=0,v="",b,c,S=false,u=D.extend(D("<div/>")[0],{prop:0}),V=D.browser.msie&&D.browser.version<7&&!window.XMLHttpRequest,t=function(){W.hide();q.onerror=q.onload=null;if(g){g.abort()}N.empty()},z=function(){if(false===J.onError(l,E,J)){W.hide();S=false;return}J.titleShow=false;J.width="auto";J.height="auto";N.html('<p id="fancybox-error">The requested content cannot be loaded.<br />Please try again later.</p>');p()},y=function(){var ac=l[E],Z,ab,ae,ad,Y,aa;t();J=D.extend({},D.fn.fancybox.defaults,(typeof D(ac).data("fancybox")=="undefined"?J:D(ac).data("fancybox")));aa=J.onStart(l,E,J);if(aa===false){S=false;return}else{if(typeof aa=="object"){J=D.extend(J,aa)}}ae=J.title||(ac.nodeName?D(ac).attr("title"):ac.title)||"";if(ac.nodeName&&!J.orig){J.orig=D(ac).children("img:first").length?D(ac).children("img:first"):D(ac)}if(ae===""&&J.orig&&J.titleFromAlt){ae=J.orig.attr("alt")}Z=J.href||(ac.nodeName?D(ac).attr("href"):ac.href)||null;if((/^(?:javascript)/i).test(Z)||Z=="#"){Z=null}if(J.type){ab=J.type;if(!Z){Z=J.content}}else{if(J.content){ab="html"}else{if(Z){if(Z.match(k)){ab="image"}else{if(Z.match(m)){ab="swf"}else{if(D(ac).hasClass("iframe")){ab="iframe"}else{if(Z.indexOf("#")===0){ab="inline"}else{ab="ajax"}}}}}}}if(!ab){z();return}if(ab=="inline"){ac=Z.substr(Z.indexOf("#"));ab=D(ac).length>0?"inline":"ajax"}J.type=ab;J.href=Z;J.title=ae;if(J.autoDimensions){if(J.type=="html"||J.type=="inline"||J.type=="ajax"){J.width="auto";J.height="auto"}else{J.autoDimensions=false}}if(J.modal){J.overlayShow=true;J.hideOnOverlayClick=false;J.hideOnContentClick=false;J.enableEscapeButton=false;J.showCloseButton=false}J.padding=parseInt(J.padding,10);J.margin=parseInt(J.margin,10);N.css("padding",(J.padding+J.margin));D(".fancybox-inline-tmp").unbind("fancybox-cancel").bind("fancybox-change",function(){D(this).replaceWith(o.children())});switch(ab){case"html":N.html(J.content);p();break;case"inline":if(D(ac).parent().is("#fancybox-content")===true){S=false;return}D('<div class="fancybox-inline-tmp" />').hide().insertBefore(D(ac)).bind("fancybox-cleanup",function(){D(this).replaceWith(o.children())}).bind("fancybox-cancel",function(){D(this).replaceWith(N.children())});D(ac).appendTo(N);p();break;case"image":S=false;D.fancybox.showActivity();q=new Image();q.onerror=function(){z()};q.onload=function(){S=true;q.onerror=q.onload=null;H()};q.src=Z;break;case"swf":J.scrolling="no";ad='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+J.width+'" height="'+J.height+'"><param name="movie" value="'+Z+'"></param>';Y="";D.each(J.swf,function(af,ag){ad+='<param name="'+af+'" value="'+ag+'"></param>';Y+=" "+af+'="'+ag+'"'});ad+='<embed src="'+Z+'" type="application/x-shockwave-flash" width="'+J.width+'" height="'+J.height+'"'+Y+"></embed></object>";N.html(ad);p();break;case"ajax":S=false;D.fancybox.showActivity();J.ajax.win=J.ajax.success;g=D.ajax(D.extend({},J.ajax,{url:Z,data:J.ajax.data||{},error:function(af,ah,ag){if(af.status>0){z()}},success:function(ag,ai,af){var ah=typeof af=="object"?af:g;if(ah.status==200){if(typeof J.ajax.win=="function"){aa=J.ajax.win(Z,ag,ai,af);if(aa===false){W.hide();return}else{if(typeof aa=="string"||typeof aa=="object"){ag=aa}}}N.html(ag);p()}}}));break;case"iframe":G();break}},p=function(){var Y=J.width,Z=J.height;if(Y.toString().indexOf("%")>-1){Y=parseInt((D(window).width()-(J.margin*2))*parseFloat(Y)/100,10)+"px"}else{Y=Y=="auto"?"auto":Y+"px"}if(Z.toString().indexOf("%")>-1){Z=parseInt((D(window).height()-(J.margin*2))*parseFloat(Z)/100,10)+"px"}else{Z=Z=="auto"?"auto":Z+"px"}N.wrapInner('<div style="width:'+Y+";height:"+Z+";overflow: "+(J.scrolling=="auto"?"auto":(J.scrolling=="yes"?"scroll":"hidden"))+';position:relative;"></div>');J.width=N.width();J.height=N.height();G()},H=function(){J.width=q.width;J.height=q.height;D("<img />").attr({id:"fancybox-img",src:q.src,alt:J.title}).appendTo(N);G()},G=function(){var Z,Y;W.hide();if(O.is(":visible")&&false===I.onCleanup(A,f,I)){D.event.trigger("fancybox-cancel");S=false;return}S=true;D(o.add(T)).unbind();D(window).unbind("resize.fb scroll.fb");D(document).unbind("keydown.fb");if(O.is(":visible")&&I.titlePosition!=="outside"){O.css("height",O.height())}A=l;f=E;I=J;if(I.overlayShow){T.css({"background-color":I.overlayColor,opacity:I.overlayOpacity,cursor:I.hideOnOverlayClick?"pointer":"auto",height:D(document).height()});if(!T.is(":visible")){if(V){D("select:not(#fancybox-tmp select)").filter(function(){return this.style.visibility!=="hidden"}).css({visibility:"hidden"}).one("fancybox-cleanup",function(){this.style.visibility="inherit"})}T.show()}}else{T.hide()}c=U();n();if(O.is(":visible")){D(L.add(R).add(B)).hide();Z=O.position(),b={top:Z.top,left:Z.left,width:O.width(),height:O.height()};Y=(b.width==c.width&&b.height==c.height);o.fadeTo(I.changeFade,0.3,function(){var aa=function(){o.html(N.contents()).fadeTo(I.changeFade,1,x)};D.event.trigger("fancybox-change");o.empty().removeAttr("filter").css({"border-width":I.padding,width:c.width-I.padding*2,height:J.autoDimensions?"auto":c.height-j-I.padding*2});if(Y){aa()}else{u.prop=0;D(u).animate({prop:1},{duration:I.changeSpeed,easing:I.easingChange,step:X,complete:aa})}});return}O.removeAttr("style");o.css("border-width",I.padding);if(I.transitionIn=="elastic"){b=K();o.html(N.contents());O.show();if(I.opacity){c.opacity=0}u.prop=0;D(u).animate({prop:1},{duration:I.speedIn,easing:I.easingIn,step:X,complete:x});return}if(I.titlePosition=="inside"&&j>0){C.show()}o.css({width:c.width-I.padding*2,height:J.autoDimensions?"auto":c.height-j-I.padding*2}).html(N.contents());O.css(c).fadeIn(I.transitionIn=="none"?0:I.speedIn,x)},F=function(Y){if(Y&&Y.length){if(I.titlePosition=="float"){return'<table id="fancybox-title-float-wrap" cellpadding="0" cellspacing="0"><tr><td id="fancybox-title-float-left"></td><td id="fancybox-title-float-main">'+Y+'</td><td id="fancybox-title-float-right"></td></tr></table>'}return'<div id="fancybox-title-'+I.titlePosition+'">'+Y+"</div>"}return false},n=function(){v=I.title||"";j=0;C.empty().removeAttr("style").removeClass();if(I.titleShow===false){C.hide();return}v=D.isFunction(I.titleFormat)?I.titleFormat(v,A,f,I):F(v);if(!v||v===""){C.hide();return}C.addClass("fancybox-title-"+I.titlePosition).html(v).appendTo("body").show();switch(I.titlePosition){case"inside":C.css({width:c.width-(I.padding*2),marginLeft:I.padding,marginRight:I.padding});j=C.outerHeight(true);C.appendTo(d);c.height+=j;break;case"over":C.css({marginLeft:I.padding,width:c.width-(I.padding*2),bottom:I.padding}).appendTo(d);break;case"float":C.css("left",parseInt((C.width()-c.width-40)/2,10)*-1).appendTo(O);break;default:C.css({width:c.width-(I.padding*2),paddingLeft:I.padding,paddingRight:I.padding}).appendTo(O);break}C.hide()},h=function(){if(I.enableEscapeButton||I.enableKeyboardNav){D(document).bind("keydown.fb",function(Y){if(Y.keyCode==27&&I.enableEscapeButton){Y.preventDefault();D.fancybox.close()}else{if((Y.keyCode==37||Y.keyCode==39)&&I.enableKeyboardNav&&Y.target.tagName!=="INPUT"&&Y.target.tagName!=="TEXTAREA"&&Y.target.tagName!=="SELECT"){Y.preventDefault();D.fancybox[Y.keyCode==37?"prev":"next"]()}}})}if(!I.showNavArrows){R.hide();B.hide();return}if((I.cyclic&&A.length>1)||f!==0){R.show()}if((I.cyclic&&A.length>1)||f!=(A.length-1)){B.show()}},x=function(){if(!D.support.opacity){o.get(0).style.removeAttribute("filter");O.get(0).style.removeAttribute("filter")}if(J.autoDimensions){o.css("height","auto")}O.css("height","auto");if(v&&v.length){C.show()}if(I.showCloseButton){L.show()}h();if(I.hideOnContentClick){o.bind("click",D.fancybox.close)}if(I.hideOnOverlayClick){T.bind("click",D.fancybox.close)}D(window).bind("resize.fb",D.fancybox.resize);if(I.centerOnScroll){D(window).bind("scroll.fb",D.fancybox.center)}if(I.type=="iframe"){D('<iframe id="fancybox-frame" name="fancybox-frame'+new Date().getTime()+'" frameborder="0" hspace="0" '+(D.browser.msie?'allowtransparency="true""':"")+' scrolling="'+J.scrolling+'" src="'+I.href+'"></iframe>').appendTo(o)}O.show();S=false;D.fancybox.center();I.onComplete(A,f,I);M()},M=function(){var Y,Z;if((A.length-1)>f){Y=A[f+1].href;if(typeof Y!=="undefined"&&Y.match(k)){Z=new Image();Z.src=Y}}if(f>0){Y=A[f-1].href;if(typeof Y!=="undefined"&&Y.match(k)){Z=new Image();Z.src=Y}}},X=function(Z){var Y={width:parseInt(b.width+(c.width-b.width)*Z,10),height:parseInt(b.height+(c.height-b.height)*Z,10),top:parseInt(b.top+(c.top-b.top)*Z,10),left:parseInt(b.left+(c.left-b.left)*Z,10)};if(typeof c.opacity!=="undefined"){Y.opacity=Z<0.5?0.5:Z}O.css(Y);o.css({width:Y.width-I.padding*2,height:Y.height-(j*Z)-I.padding*2})},w=function(){return[D(window).width()-(I.margin*2),D(window).height()-(I.margin*2),D(document).scrollLeft()+I.margin,D(document).scrollTop()+I.margin]},U=function(){var Y=w(),ac={},Z=I.autoScale,aa=I.padding*2,ab;if(I.width.toString().indexOf("%")>-1){ac.width=parseInt((Y[0]*parseFloat(I.width))/100,10)}else{ac.width=I.width+aa}if(I.height.toString().indexOf("%")>-1){ac.height=parseInt((Y[1]*parseFloat(I.height))/100,10)}else{ac.height=I.height+aa}if(Z&&(ac.width>Y[0]||ac.height>Y[1])){if(J.type=="image"||J.type=="swf"){ab=(I.width)/(I.height);if((ac.width)>Y[0]){ac.width=Y[0];ac.height=parseInt(((ac.width-aa)/ab)+aa,10)}if((ac.height)>Y[1]){ac.height=Y[1];ac.width=parseInt(((ac.height-aa)*ab)+aa,10)}}else{ac.width=Math.min(ac.width,Y[0]);ac.height=Math.min(ac.height,Y[1])}}ac.top=parseInt(Math.max(Y[3]-20,Y[3]+((Y[1]-ac.height-40)*0.5)),10);ac.left=parseInt(Math.max(Y[2]-20,Y[2]+((Y[0]-ac.width-40)*0.5)),10);return ac},s=function(Y){var Z=Y.offset();Z.top+=parseInt(Y.css("paddingTop"),10)||0;Z.left+=parseInt(Y.css("paddingLeft"),10)||0;Z.top+=parseInt(Y.css("border-top-width"),10)||0;Z.left+=parseInt(Y.css("border-left-width"),10)||0;Z.width=Y.width();Z.height=Y.height();return Z},K=function(){var ab=J.orig?D(J.orig):false,aa={},Z,Y;if(ab&&ab.length){Z=s(ab);aa={width:Z.width+(I.padding*2),height:Z.height+(I.padding*2),top:Z.top-I.padding-20,left:Z.left-I.padding-20}}else{Y=w();aa={width:I.padding*2,height:I.padding*2,top:parseInt(Y[3]+Y[1]*0.5,10),left:parseInt(Y[2]+Y[0]*0.5,10)}}return aa},a=function(){if(!W.is(":visible")){clearInterval(r);return}D("div",W).css("top",(P*-40)+"px");P=(P+1)%12};D.fn.fancybox=function(Y){if(!D(this).length){return this}D(this).data("fancybox",D.extend({},Y,(D.metadata?D(this).metadata():{}))).unbind("click.fb").bind("click.fb",function(aa){aa.preventDefault();if(S){return}S=true;D(this).blur();l=[];E=0;var Z=D(this).attr("rel")||"";if(!Z||Z==""||Z==="nofollow"){l.push(this)}else{l=D("a[rel="+Z+"], area[rel="+Z+"]");E=l.index(this)}y();return});return this};D.fancybox=function(ab){var aa;if(S){return}S=true;aa=typeof arguments[1]!=="undefined"?arguments[1]:{};l=[];E=parseInt(aa.index,10)||0;if(D.isArray(ab)){for(var Z=0,Y=ab.length;Z<Y;Z++){if(typeof ab[Z]=="object"){D(ab[Z]).data("fancybox",D.extend({},aa,ab[Z]))}else{ab[Z]=D({}).data("fancybox",D.extend({content:ab[Z]},aa))}}l=jQuery.merge(l,ab)}else{if(typeof ab=="object"){D(ab).data("fancybox",D.extend({},aa,ab))}else{ab=D({}).data("fancybox",D.extend({content:ab},aa))}l.push(ab)}if(E>l.length||E<0){E=0}y()};D.fancybox.showActivity=function(){clearInterval(r);W.show();r=setInterval(a,66)};D.fancybox.hideActivity=function(){W.hide()};D.fancybox.next=function(){return D.fancybox.pos(f+1)};D.fancybox.prev=function(){return D.fancybox.pos(f-1)};D.fancybox.pos=function(Y){if(S){return}Y=parseInt(Y);l=A;if(Y>-1&&Y<A.length){E=Y;y()}else{if(I.cyclic&&A.length>1){E=Y>=A.length?0:A.length-1;y()}}return};D.fancybox.cancel=function(){if(S){return}S=true;D.event.trigger("fancybox-cancel");t();J.onCancel(l,E,J);S=false};D.fancybox.close=function(){if(S||O.is(":hidden")){return}S=true;if(I&&false===I.onCleanup(A,f,I)){S=false;return}t();D(L.add(R).add(B)).hide();D(o.add(T)).unbind();D(window).unbind("resize.fb scroll.fb");D(document).unbind("keydown.fb");o.find("iframe").attr("src",V&&/^https/i.test(window.location.href||"")?"javascript:void(false)":"about:blank");if(I.titlePosition!=="inside"){C.empty()}O.stop();function Y(){T.fadeOut("fast");C.empty().hide();O.hide();D.event.trigger("fancybox-cleanup");o.empty();I.onClosed(A,f,I);A=J=[];f=E=0;I=J={};S=false}if(I.transitionOut=="elastic"){b=K();var Z=O.position();c={top:Z.top,left:Z.left,width:O.width(),height:O.height()};if(I.opacity){c.opacity=1}C.empty().hide();u.prop=1;D(u).animate({prop:0},{duration:I.speedOut,easing:I.easingOut,step:X,complete:Y})}else{O.fadeOut(I.transitionOut=="none"?0:I.speedOut,Y)}};D.fancybox.resize=function(){if(T.is(":visible")){T.css("height",D(document).height())}D.fancybox.center(true)};D.fancybox.center=function(){var Y,Z;if(S){return}Z=arguments[0]===true?1:0;Y=w();if(!Z&&(O.width()>Y[0]||O.height()>Y[1])){return}O.stop().animate({top:parseInt(Math.max(Y[3]-20,Y[3]+((Y[1]-o.height()-40)*0.5)-I.padding)),left:parseInt(Math.max(Y[2]-20,Y[2]+((Y[0]-o.width()-40)*0.5)-I.padding))},typeof arguments[0]=="number"?arguments[0]:200)};D.fancybox.init=function(){if(D("#fancybox-wrap").length){return}D("body").append(N=D('<div id="fancybox-tmp"></div>'),W=D('<div id="fancybox-loading"><div></div></div>'),T=D('<div id="fancybox-overlay"></div>'),O=D('<div id="fancybox-wrap"></div>'));d=D('<div id="fancybox-outer"></div>').append('<div class="fancybox-bg" id="fancybox-bg-n"></div><div class="fancybox-bg" id="fancybox-bg-ne"></div><div class="fancybox-bg" id="fancybox-bg-e"></div><div class="fancybox-bg" id="fancybox-bg-se"></div><div class="fancybox-bg" id="fancybox-bg-s"></div><div class="fancybox-bg" id="fancybox-bg-sw"></div><div class="fancybox-bg" id="fancybox-bg-w"></div><div class="fancybox-bg" id="fancybox-bg-nw"></div>').appendTo(O);d.append(o=D('<div id="fancybox-content"></div>'),L=D('<a id="fancybox-close"></a>'),C=D('<div id="fancybox-title"></div>'),R=D('<a href="javascript:;" id="fancybox-left"><span class="fancy-ico" id="fancybox-left-ico"></span></a>'),B=D('<a href="javascript:;" id="fancybox-right"><span class="fancy-ico" id="fancybox-right-ico"></span></a>'));L.click(D.fancybox.close);W.click(D.fancybox.cancel);R.click(function(Y){Y.preventDefault();D.fancybox.prev()});B.click(function(Y){Y.preventDefault();D.fancybox.next()});if(D.fn.mousewheel){O.bind("mousewheel.fb",function(Y,Z){if(S){Y.preventDefault()}else{if(D(Y.target).get(0).clientHeight==0||D(Y.target).get(0).scrollHeight===D(Y.target).get(0).clientHeight){Y.preventDefault();D.fancybox[Z>0?"prev":"next"]()}}})}if(!D.support.opacity){O.addClass("fancybox-ie")}if(V){W.addClass("fancybox-ie6");O.addClass("fancybox-ie6");D('<iframe id="fancybox-hide-sel-frame" src="'+(/^https/i.test(window.location.href||"")?"javascript:void(false)":"about:blank")+'" scrolling="no" border="0" frameborder="0" tabindex="-1"></iframe>').prependTo(d)}};D.fn.fancybox.defaults={padding:10,margin:40,opacity:false,modal:false,cyclic:false,scrolling:"auto",width:560,height:340,autoScale:true,autoDimensions:true,centerOnScroll:false,ajax:{},swf:{wmode:"transparent"},hideOnOverlayClick:true,hideOnContentClick:false,overlayShow:true,overlayOpacity:0.7,overlayColor:"#777",titleShow:true,titlePosition:"float",titleFormat:null,titleFromAlt:false,transitionIn:"fade",transitionOut:"fade",speedIn:300,speedOut:300,changeSpeed:300,changeFade:"fast",easingIn:"swing",easingOut:"swing",showCloseButton:true,showNavArrows:true,enableEscapeButton:true,enableKeyboardNav:true,onStart:function(){},onCancel:function(){},onComplete:function(){},onCleanup:function(){},onClosed:function(){},onError:function(){}};D(document).ready(function(){D.fancybox.init()})})(jQuery);
/*! http://mths.be/placeholder v2.0.8 by @mathias */
(function(k,m,g){var b=Object.prototype.toString.call(k.operamini)=="[object OperaMini]";var a="placeholder" in m.createElement("input")&&!b;var h="placeholder" in m.createElement("textarea")&&!b;var n=g.fn;var f=g.valHooks;var c=g.propHooks;var p;var o;if(a&&h){o=n.placeholder=function(){return this};o.input=o.textarea=true}else{o=n.placeholder=function(){var r=this;r.filter((a?"textarea":":input")+"[placeholder]").not(".placeholder").bind({"focus.placeholder":d,"blur.placeholder":j}).data("placeholder-enabled",true).trigger("blur.placeholder");return r};o.input=a;o.textarea=h;p={get:function(s){var r=g(s);var t=r.data("placeholder-password");if(t){return t[0].value}return r.data("placeholder-enabled")&&r.hasClass("placeholder")?"":s.value},set:function(s,u){var r=g(s);var t=r.data("placeholder-password");if(t){return t[0].value=u}if(!r.data("placeholder-enabled")){return s.value=u}if(u==""){s.value=u;if(s!=q()){j.call(s)}}else{if(r.hasClass("placeholder")){d.call(s,true,u)||(s.value=u)}else{s.value=u}}return r}};if(!a){f.input=p;c.value=p}if(!h){f.textarea=p;c.value=p}g(function(){g(m).delegate("form","submit.placeholder",function(){var r=g(".placeholder",this).each(d);setTimeout(function(){r.each(j)},10)})});g(k).bind("beforeunload.placeholder",function(){g(".placeholder").each(function(){this.value=""})})}function l(s){var r={};var t=/^jQuery\d+$/;g.each(s.attributes,function(v,u){if(u.specified&&!t.test(u.name)){r[u.name]=u.value}});return r}function d(s,t){var r=this;var u=g(r);if(r.value==u.attr("placeholder")&&u.hasClass("placeholder")){if(u.data("placeholder-password")){u=u.hide().next().show().attr("id",u.removeAttr("id").data("placeholder-id"));if(s===true){return u[0].value=t}u.focus()}else{r.value="";u.removeClass("placeholder");r==q()&&r.select()}}}function j(){var v;var r=this;var u=g(r);var t=this.id;if(r.value==""){if(r.type=="password"){if(!u.data("placeholder-textinput")){try{v=u.clone().attr({type:"text"})}catch(s){v=g("<input>").attr(g.extend(l(this),{type:"text"}))}v.removeAttr("name").data({"placeholder-password":u,"placeholder-id":t}).bind("focus.placeholder",d);u.data({"placeholder-textinput":v,"placeholder-id":t}).before(v)}u=u.removeAttr("id").hide().prev().attr("id",t).show()}u.addClass("placeholder");u[0].value=u.attr("placeholder")}else{u.removeClass("placeholder")}}function q(){try{return m.activeElement}catch(r){}}}(this,document,jQuery));
/*!
 * jQuery hashchange event - v1.3 - 7/21/2010
 * http://benalman.com/projects/jquery-hashchange-plugin/
 *
 * Copyright (c) 2010 "Cowboy" Ben Alman
 * Dual licensed under the MIT and GPL licenses.
 * http://benalman.com/about/license/
 */
(function($,f,b){var c="hashchange",j=document,g,h=$.event.special,k=j.documentMode,d="on"+c in f&&(k===b||k>7);function a(l){l=l||location.href;return"#"+l.replace(/^[^#]*#?(.*)$/,"$1")}$.fn[c]=function(l){return l?this.bind(c,l):this.trigger(c)};$.fn[c].delay=50;h[c]=$.extend(h[c],{setup:function(){if(d){return false}$(g.start)},teardown:function(){if(d){return false}$(g.stop)}});g=(function(){var l={},r,o=a(),m=function(s){return s},n=m,q=m;l.start=function(){r||p()};l.stop=function(){r&&clearTimeout(r);r=b};function p(){var t=a(),s=q(o);if(t!==o){n(o=t,s);$(f).trigger(c)}else{if(s!==o){location.href=location.href.replace(/#.*/,"")+s}}r=setTimeout(p,$.fn[c].delay)}$.browser.msie&&!d&&(function(){var s,t;l.start=function(){if(!s){t=$.fn[c].src;t=t&&t+a();s=$('<iframe tabindex="-1" title="empty"/>').hide().one("load",function(){t||n(a());p()}).attr("src",t||"javascript:0").insertAfter("body")[0].contentWindow;j.onpropertychange=function(){try{if(event.propertyName==="title"){s.document.title=j.title}}catch(u){}}}};l.stop=m;q=function(){return a(s.location.href)};n=function(x,u){var w=s.document,v=$.fn[c].domain;if(x!==u){w.title=j.title;w.open();v&&w.write('<script>document.domain="'+v+'"<\/script>');w.close();s.location.hash=x}}})();return l})()})(jQuery,this);var frontend=frontend||{};frontend.Community=function(b){var a=this;a.sessionLoaded=false;a.loggedIn=false;a.defaults={cookieName:"PHPSESSID",zudCookieName:"zud",gigyaCookieName:"gac_3_QnLk08CBk0qwM7VPgNSVPuyWIvb4Ktrkd9UnOniSAZsJKXWokV7ZSYQzjycohYjl",gigyaTokenCookieName:"glt_3_QnLk08CBk0qwM7VPgNSVPuyWIvb4Ktrkd9UnOniSAZsJKXWokV7ZSYQzjycohYjl",useHttps:($.browser.msie&&parseInt($.browser.version)<=9)||$.browser.opera?false:true};a.options=$.extend(b,a.defaults);(function(){})();a.loadSessionXhr=null;a.loadSession=function(){if(a.hasSessionCookie()||a.hasGigyaCookie()){if(a.loadSessionXhr!==null||a.sessionLoaded){return}a.loadSessionXhr=$.ajax({type:"POST",url:a.options.useHttps?"https://kurier.at/community/sessionupdate":"http://kurier.at/community/sessionupdate",dataType:"json",xhrFields:{withCredentials:true},success:function(d,f,c){$(document).trigger(kurier.events.SESSION_LOADED,d);a.sessionLoaded=true;if(d&&!$.isEmptyObject(d)){a.loggedIn=true}},error:function(c,f,d){a.sessionLoaded=false;a.loggedIn=false},complete:function(c,d){a.loadSessionXhr=null}})}else{$(document).trigger(kurier.events.SESSION_LOADED);a.sessionLoaded=true}};a.hasSessionCookie=function(){return($.cookie(a.options.cookieName)!==null||$.cookie(a.options.zudCookieName)!==null)};a.hasGigyaCookie=function(){return($.cookie(a.options.gigyaCookieName)!==null||$.cookie(a.options.gigyaTokenCookieName)!==null)};a.doLoginXhr=null;a.doLogin=function(f,d,h,g,j,c){if(a.doLoginXhr!==null){return}a.doLoginXhr=$.ajax({type:"POST",url:a.options.useHttps?"https://kurier.at/community/login":"http://kurier.at/community/login",data:{email:f,password:d,permanent:h,terms:g},dataType:"json",xhrFields:{withCredentials:true},success:function(l,m,k){if(l&&!$.isEmptyObject(l)&&l.user){$(document).trigger(kurier.events.SESSION_LOADED,l.user);a.sessionLoaded=true;a.loggedIn=true;if($.type(j)==="function"){j(l)}}else{if(l&&!$.isEmptyObject(l)&&l.error){a.sessionLoaded=false;a.loggedIn=false;if($.type(c)==="function"){c(l)}}}},error:function(k,m,l){a.sessionLoaded=false;a.loggedIn=false;if($.type(c)==="function"){c({user:null,error:k.responseText})}},complete:function(k,l){a.doLoginXhr=null}})};a.doSocialLoginXhr=null;a.doSocialLogin=function(c,k,f,d,h,l,j,g,n,m){if(a.doSocialLoginXhr!==null){return}a.doSocialLoginXhr=$.ajax({type:"POST",url:a.options.useHttps?"https://kurier.at/community/sociallogin":"http://kurier.at/community/sociallogin",data:{UID:c,UIDSignature:k,signatureTimestamp:f,permanent:d,linkingEmail:h,linkingPassword:l,terms:g,nickname:j},dataType:"json",xhrFields:{withCredentials:true},success:function(p,q,o){if(p&&!$.isEmptyObject(p)&&p.user){$(document).trigger(kurier.events.SESSION_LOADED,p.user);a.sessionLoaded=true;a.loggedIn=true;if($.type(n)==="function"){n(p)}}else{if(p&&!$.isEmptyObject(p)&&p.error){a.sessionLoaded=false;a.loggedIn=false;if($.type(m)==="function"){m(p)}}}},error:function(o,q,p){a.sessionLoaded=false;a.loggedIn=false;if($.type(m)==="function"){m({user:null,error:o.responseText})}},complete:function(o,p){a.doSocialLoginXhr=null}})};a.doLogout=function(){$(document).trigger(kurier.events.SESSION_ABANDONED);a.sessionLoaded=false;a.loggedIn=false;setTimeout(function(){location.href="http://kurier.at/community/logout"},1000)};a.doRegisterXhr=null;a.doRegister=function(k,n,h,g,l,c,f,d,m,j){if(a.doRegisterXhr!==null){return}a.doRegisterXhr=$.ajax({type:"POST",url:a.options.useHttps?"https://kurier.at/community/register":"http://kurier.at/community/register",data:{firstName:k,lastName:n,email:h,nickname:g,password:l,passwordRep:c,terms:f,newsletter:d},dataType:"json",xhrFields:{withCredentials:true},success:function(p,q,o){if(p&&!$.isEmptyObject(p)&&p.user){if($.type(m)==="function"){m(p)}}else{if(p&&!$.isEmptyObject(p)&&p.error){if($.type(j)==="function"){j(p)}}}},error:function(o,q,p){if($.type(j)==="function"){j({user:null,error:o.responseText})}},complete:function(o,p){a.doRegisterXhr=null}})};a.doResetPasswordXhr=null;a.doResetPassword=function(d,f,c){if(a.doResetPasswordXhr!==null){return}a.doResetPasswordXhr=$.ajax({type:"POST",url:a.options.useHttps?"https://kurier.at/community/passwordreset":"http://kurier.at/community/passwordreset",data:{email:d},dataType:"json",xhrFields:{withCredentials:true},success:function(h,j,g){if(h&&!$.isEmptyObject(h)&&h.user){if($.type(f)==="function"){f(h)}}else{if(h&&!$.isEmptyObject(h)&&h.error){if($.type(c)==="function"){c(h)}}}},error:function(g,j,h){if($.type(c)==="function"){c({user:null,error:g.responseText})}},complete:function(g,h){a.doResetPasswordXhr=null}})};a.doResetPasswordTokenXhr=null;a.doResetPasswordToken=function(f,d,h,g,c){if(a.doResetPasswordTokenXhr!==null){return}a.doResetPasswordTokenXhr=$.ajax({type:"POST",url:a.options.useHttps?"https://kurier.at/community/resetpassword":"http://kurier.at/community/resetpassword",data:{token:f,password:d,passwordRep:h},dataType:"json",xhrFields:{withCredentials:true},success:function(k,l,j){if(k&&!$.isEmptyObject(k)&&k.user){if($.type(g)==="function"){g(k)}}else{if(k&&!$.isEmptyObject(k)&&k.error){if($.type(c)==="function"){c(k)}}}},error:function(j,l,k){if($.type(c)==="function"){c({user:null,error:j.responseText})}},complete:function(j,k){a.doResetPasswordTokenXhr=null}})};a.doSubscribeNewsletterXhr=null;a.doSubscribeNewsletter=function(d,f,c){if(a.doSubscribeNewsletterXhr!==null){return}a.doSubscribeNewsletterXhr=$.ajax({type:"POST",url:a.options.useHttps?"https://kurier.at/community/newsletter":"http://kurier.at/community/newsletter",data:{email:d},dataType:"json",xhrFields:{withCredentials:true},success:function(h,j,g){if(h&&h.success){if($.type(f)==="function"){f(h)}}else{if(h&&h.error){if($.type(c)==="function"){c(h)}}}},error:function(g,j,h){if($.type(c)==="function"){c({success:null,error:g.responseText})}},complete:function(g,h){a.doSubscribeNewsletterXhr=null}})};a.doActivationXhr=null;a.doActivation=function(d,f,c){if(a.doActivationXhr!==null){return}a.doActivationXhr=$.ajax({type:"POST",url:a.options.useHttps?"https://kurier.at/community/activate":"http://kurier.at/community/activate",data:{token:d},dataType:"json",xhrFields:{withCredentials:true},success:function(h,j,g){if(h&&!$.isEmptyObject(h)&&h.user){if($.type(f)==="function"){f(h)}}else{if(h&&!$.isEmptyObject(h)&&h.error){if($.type(c)==="function"){c(h)}}}},error:function(g,j,h){if($.type(c)==="function"){c({user:null,error:g.responseText})}},complete:function(g,h){a.doActivationXhr=null}})}};var Community;(function(){Community=new frontend.Community()})();$(".columnLeft .contentBox").first().addClass("first");$(".sidebar .contentBox").first().addClass("first");$(".boxPart.w300.h25").first().addClass("first");$(".boxPart.w600.h25").first().addClass("first");var debug=$.noop;var info=$.noop;var warning=$.noop;var error=$.noop;if(typeof console=="object"){if(typeof console.log=="function"){debug=console.log}if(typeof console.info=="function"){info=console.info}if(typeof console.warning=="function"){warning=console.warning}if(typeof console.error=="function"){error=console.error}}var onGigyaServiceReady=function(a){gigya.thisScript.base=gigya.thisScript.protocol=="http"?"http://cdn.gigya.com":"https://cdns.gigya.com"};$(document).bind("ajaxSuccess",function(c,b,a){if(!b.responseText){return}$(document).trigger("unveil-images");$(document).trigger("scroll")});$(document).on("unveil-images",function(){$("img[data-original]:not(.unveil-initialized)").addClass("unveil-initialized").unveil(0,function(){$(this).one("load",function(){this.style.opacity=1})})});$(document).on(kurier.events.HEADER_LOADED,function(){if(navigator.userAgent.match(/Android.+Mobile|iPhone|iPod|BlackBerry|Opera Mini|IEMobile|Windows Phone/i)){$(".mobile-redirect").show()}if(isTouchDevice()==false){$(".searchicon").click(function(){if($(this).hasClass("hidesearch")){$(this).removeClass("hidesearch").addClass("searchicon");$(".nav-bar.side").fadeIn(500);$(".searchfield").animate({top:"-3px"},500,function(){$(this).css("right","0")});$(".searchfield input:text").blur();return false}else{$(this).removeClass("searchicon").addClass("hidesearch");$(".nav-bar.side").fadeOut(500);$(".searchfield").css("right","19px").animate({top:"32px"},500);$(".searchfield input:text").focus();return false}})}if(isTouchDevice()==true){$(".searchicon").click(function(){$("html, body").animate({scrollTop:0},"fast");$(".searchfield input:text").focus()})}if(typeof Community!=="undefined"){Community.loadSession()}if(!($.browser.msie&&parseInt($.browser.version)<=8)&&!navigator.userAgent.match(/Android.+Mobile|iPhone|iPod|BlackBerry|Opera Mini|IEMobile|Windows Phone/i)){$(window).scroll(function(){if($(".topmenus").length>0){var a=$(".topmenus").offset().top+$(".topmenus").height()+47;if($(this).scrollTop()>=a){$(".header").addClass("stickyheader");$(".subheader").addClass("stickycontainer");$(".kurierminilogo").show();$(".romylogo").hide();if($("#AdContainer_Skyscraper").length){$("#AdContainer_Skyscraper").css({top:$("header.header").position().top+80+"px",position:"absolute"})}}else{$(".header").removeClass("stickyheader");$(".subheader").removeClass("stickycontainer");$(".kurierminilogo").hide();$(".romylogo").show();if($(".searchfield").css("right")==("19px")){$(".hidesearch").removeClass("hidesearch").addClass("searchicon");$(".nav-bar.side").fadeIn(500);$(".searchfield").fadeOut(function(){$(this).animate({top:"-3px",right:"0"},100,function(){$(this).fadeIn()})})}if($("#AdContainer_Skyscraper").length){$("#AdContainer_Skyscraper").css({top:$(".wrapper .topmenus").position().top+$(".wrapper .topmenus").height()+"px",position:"absolute"})}}}})}if(isTouchDevice()==true){$(".mainmenu .menuentry a").removeAttr("href");$(".mainmenu .entry a").click(function(){var a=$(this).parent().next(".flyout");if(a.css("display")==("block")){a.fadeOut();$(this).parent().parent().removeClass("hover")}else{a.fadeIn();$(this).parent().parent().addClass("hover")}});$(".flyout").each(function(){$(this).prepend('<span class="closeflyout"></span>')});$(".closeflyout").click(function(){$(this).parent().fadeOut();$(this).parent().parent().removeClass("hover")})}});$(document).on(kurier.events.CONTENT_LOADED,function(){if(!($.browser.msie&&parseInt($.browser.version)<=8)){$(".headlinedivider").bind("inview",function(d,g){if(g==true&&$(this).find(".readmore li").css("right")<("0")){var f=$(this).find(".readmore").children().length-1;var a=$(this).find(".readmore");var c=$(this).find(".readmore li");a.show();c.css("right",-a.width());var b=-1;(function(){if(++b<f){$(c[b]).animate({right:"0"},300,arguments.callee)}})()}});$(".headlinedivider").each(function(b,c){var f=$(c).closest(".grid-block").prev(".grid-block");if(f.height()>50&&f.height()<250){var a="";if(b>0){var d=$(".headlinedivider").eq((b-1));a=d.find(".readmore").clone()}var g=$('<div class="more"><span class="shadow"></span><a href="#" class="moretext open9 blockletters"><span class="icon arrowdown"></span><span class="text">mehr</span></a></div>');g.find(".moretext").on("click",function(){var j=$(this).closest(".morecontent");var h=$(this);if(j.hasClass("collapsed")){if(typeof reloadOewa!=="undefined"){reloadOewa("homepageclick")}j.animate({height:j.data("height")+"px"},300,function(){j.removeClass("collapsed");h.find(".icon").addClass("arrowup").removeClass("arrowdown");h.find(".text").text("weniger");g.find(".readmore").fadeIn(500)})}else{j.animate({height:"50px"},300,function(){j.addClass("collapsed");h.find(".icon").removeClass("arrowup").addClass("arrowdown");h.find(".text").text("mehr");g.find(".readmore").fadeOut(500)})}return false});f.data("height",f.height()+10);f.addClass("morecontent collapsed");f.prepend(g)}})}$("body.frontend-kurier").click(function(){$(".activebubble").fadeOut()});$(".skiwm .tabs a").on("click",function(){var a=$(".skiwm .tabs a").index($(this));var b=$(".skiwm .tabs-content li.tab-content");b.removeClass("active").addClass("hide");b.eq(a).removeClass("hide").addClass("active");$(".skiwm .tabs dd").removeClass("active");$(this).closest("dd").addClass("active");if($("#ski-wm-programm").hasClass("active")){$(".changeweek").show();$(this).closest("header").children("h2.title").text("Programm")}else{$(".changeweek").hide();$(this).closest("header").children("h2.title").text("Medaillenspiegel")}return false});$(".changeweek").on("click",function(){if($(".weektwo").css("display")==("none")){$(".weekone").fadeOut(600);$(".weektwo").fadeIn(600);$(this).text("1. Woche");$(this).children().remove("span.icon");$(this).prepend('<span class="icon arrowleft"></span>')}else{$(".weekone").fadeIn(600);$(".weektwo").fadeOut(600);$(this).text("2. Woche");$(this).children().remove("span.icon");$(this).append('<span class="icon arrowright"></span>')}return false});if(($.browser.msie&&$.browser.version==7)){$(".headlinedivider hr").replaceWith('<div class="hr"></div>')}$(".floatimg").click(function(){if($(".resize",this).parent().hasClass("big")){$(".resize",this).parent().removeClass("big")}else{$(".resize",this).parent().addClass("big")}return false});if($("#slidingteaser, #authorsslider").length>0){$("#slidingteaser, #authorsslider").orbit({timer:false,bullets:true,afterSlideChange:function(){if(typeof reloadOewa!=="undefined"){reloadOewa("sliderclick")}}})}(function(){$(".sectionVideos .relatedvideos figure").on("click",function(){var a=$(this);var b=a.closest(".sectionVideos");var d=b.find(".videoPlayer .BrightcoveExperience");var c=brightcove.api.getExperience(d.attr("id"));if(typeof c!=="undefined"){c.getModule(brightcove.api.modules.APIModules.VIDEO_PLAYER).loadVideoByID(a.data("remoteid"));b.find(".relatedvideos figure").removeClass("hide");a.addClass("hide");b.find(".title").fadeOut("slow",function(){$(this).html(a.data("title"));$(this).fadeIn("slow")});b.find(".description").fadeOut("slow",function(){$(this).html(a.data("description"));$(this).fadeIn("slow")})}})})();$(".ratingbutton").each(function(){var a=$(this);a.click(function(){a.unbind("click");a.click(function(){a.find(".voted").show().animate({top:"-62px",opacity:"1"}).delay(2000).animate({top:"-68px",opacity:"0"},function(){a.find(".voted").css("top","-68px").hide()});return false});if($.cookie("rating:"+a.data("contentid"))!==null){a.find(".voted").show().animate({top:"-62px",opacity:"1"}).delay(2000).animate({top:"-68px",opacity:"0"},function(){a.find(".voted").css("top","-68px").hide()});return false}$.ajax({type:"post",url:"/rate/"+a.data("contentid"),data:{ratingValue:1},beforeSend:function(c,b){a.fadeOut("slow",function(){$(this).children().not(".voted").hide();$(this).find(".thankscontainer").show();$(this).fadeIn("slow")})},success:function(d,f,c){if(d.length>0){var b=$('.ratingbutton[data-contentid="'+a.data("contentid")+'"]');b.each(function(){$(this).fadeOut("slow",function(){$(this).children().not(".voted").show();$(this).find(".thankscontainer").hide();$(this).find(".countcontainer .count").html(d);$(this).removeClass("red").addClass("disabled");$(this).fadeIn("slow")})})}}});return false});if($.cookie("rating:"+a.data("contentid"))!==null){a.removeClass("red").addClass("disabled")}$.ajax("/getrating/"+a.data("contentid"),{beforeSend:function(c,b){a.hide()},success:function(c,d,b){if(c.length>0){a.find(".countcontainer .count").html(c);a.fadeIn("slow")}}})});$("body").on("submit",".newsletter-form-wrapper form",function(d){d.preventDefault();var a=$(this);var c=a.closest(".newsletter-form-wrapper");var b=a.find('input[name="email"]').val();if(!b){return false}Community.doSubscribeNewsletter(b,function(f){c.find(".newsletter-message").removeClass("error").addClass("success").html(f.success).show();a.hide()},function(f){c.find(".newsletter-message").removeClass("success").addClass("error").html(f.error).show()});return false});$("body").on("click",".login-form-wrapper form a.button",function(){$(this).closest("form").trigger("submit");return false});$("body").on("submit",".login-form-wrapper form",function(h){h.preventDefault();var b=$(this);var g=b.closest(".login-form-wrapper");var f=b.find('input[name="email"]').val();var d=b.find('input[name="password"]').val();if(!f||!d){return false}var c=function(){$("#fancybox-loading").fadeOut("fast",function(){$.fancybox.hideActivity()})};var a=function(){$("#fancybox-loading").css("z-index",2147483647);$.fancybox.showActivity();$("#fancybox-loading").hide();$("#fancybox-loading").fadeIn("fast")};a();Community.doLogin(f,d,false,true,function(j){c()},function(j){$(".topmenus .minimenu .symbol.login:first").trigger("click");setTimeout(function(){$("#XloginRegisterErrorMessage").text("Bitte überprüfen Sie Ihre Eingabe.");$("#XloginRegisterErrorMessage").show()},150);c()});return false})});$(document).on("ready",function(){$(".morelink").click(function(){var a=$(this).prev(".morebubble");if(a.css("display")==="none"){a.fadeIn();a.addClass("activebubble")}else{a.fadeOut();a.removeClass("activebubble")}return false});$(".relatedarticles").on("click",function(a){trackAnalytics(["Related","RightRelatedClick"])});$(".relatedbottom").on("click",function(a){trackAnalytics(["Related","BottomRelatedClick"])});if(isTouchDevice()==false){$(".brightcoveExperience").each(function(b,c){var a=true;if($(c).closest(".nodarkensite").length>0){a=false}if($(c).children('param[name*="width"]').attr("value")!="780"){var d=$(c).closest(".galleryParent");BrightcovePlayer.get($(c).attr("id")).onExperienceReady(function(f){f.target.experience.getModule(brightcove.api.modules.APIModules.VIDEO_PLAYER).addEventListener(brightcove.api.events.MediaEvent.PLAY,function(){if(!a){return}d.css("z-index","1000");$(".darkensite").css("z-index","999").fadeIn();$(".header").css("z-index","998");$("#stickyNavWrapper").css("z-index","997")})});d.on("mouseenter",function(){var f=$(this);if(f.data("mouseout-timeout")!==null&&f.data("mouseout-timeout")!==undefined){clearTimeout(f.data("mouseout-timeout"))}else{f.data("mousein-timeout",setTimeout(function(){var g=d.find(".adcontainer.small");if(!($.browser.msie&&parseInt($.browser.version)<=8)){g.animate({right:"-330px"},300,function(){g.css("z-index","99")})}else{g.fadeIn("slow").css("z-index","99")}f.data("mousein-timeout",null)},adDelay))}}).on("mouseleave",function(){var f=$(this);d.css("z-index","97");$(".darkensite").css("z-index","96").fadeOut();$(".header").css("z-index","10006");$("#stickyNavWrapper").css("z-index","98");if(f.data("mousein-timeout")!==null&&f.data("mousein-timeout")!==undefined){clearTimeout(f.data("mousein-timeout"))}else{f.data("mouseout-timeout",setTimeout(function(){var g=d.find(".adcontainer.small");if(!($.browser.msie&&parseInt($.browser.version)<=8)){g.css("z-index","1");setTimeout(function(){g.animate({right:"0"},300)},500)}else{g.fadeOut("slow").css("z-index","1")}f.data("mouseout-timeout",null)},adDelay))}})}else{var d=$(c).closest(".galleryParent");BrightcovePlayer.get($(c).attr("id")).onExperienceReady(function(f){f.target.experience.getModule(brightcove.api.modules.APIModules.VIDEO_PLAYER).addEventListener(brightcove.api.events.MediaEvent.PLAY,function(){if(!a){return}d.css("z-index","1000");$(".darkensite").css("z-index","999").fadeIn();$(".header").css("z-index","998");$("#stickyNavWrapper").css("z-index","997")})});d.mouseleave(function(){d.css("z-index","97");$(".darkensite").css("z-index","96").fadeOut();$(".header").css("z-index","10006");$("#stickyNavWrapper").css("z-index","98")})}})}if(isTouchDevice()===true){$("img[data-original]").each(function(){var a=$(this);a.attr("src",a.attr("data-original"));a.removeAttr("data-original")})}addTitleAttrToHref($(".textsection").find("a"));addTitleAttrToHref($(".slidecaption").find("a"));$.scrollDepth({elements:[".channel-frontpage",".channel-frontpage .Politik",".channel-frontpage .medienhaus-teaserbox",".channel-frontpage .Sport",".channel-frontpage .imageoftheday",".channel-frontpage .Wirtschaft",".channel-frontpage .Menschen",".channel-frontpage .Chronik",".channel-frontpage .Lebensart",".channel-frontpage .Kultur",".channel-frontpage .Kult",".channel-frontpage .Meinung",".channel-frontpage .footer"],userTiming:false,percentage:false,pixelDepth:false})});var documentIsHidden=function(){var a;if(typeof document.hidden!=="undefined"){a=document.hidden}else{if(typeof document.mozHidden!=="undefined"){a=document.mozHidden}else{if(typeof document.msHidden!=="undefined"){a=document.msHidden}else{if(typeof document.webkitHidden!=="undefined"){a=document.webkitHidden}}}}if(typeof a==="undefined"){return false}return a};function trackAnalytics(b){b.unshift("_trackEvent");for(var a in b){b[a]=b[a]+""}_gaq.push(b)}var originalOewaSource;function reloadOewa(b){var a=$("img[alt=oewapixel]");if(typeof originalOewaSource==="undefined"){originalOewaSource=a.attr("src")}var c=originalOewaSource;c=c.replace(/d=([0-9]*)/,"d="+new Date().getTime());if(typeof b!=="undefined"){c=c.replace(/\/[a-z]+\?/,"/"+b+"?")}a.attr("src",c);return}var reloadAdsCallCount=0;function reloadAds(a,b){if(typeof b==="undefined"){b=false}if((!b&&reloadAdsCallCount++%4!==0)||reloadAdsCallCount<3){return}googletag.pubads().refresh([a]);setTimeout(function(){cms.Gallery.hideAdOverlays()},300);if($("#sitebar")){$("#sitebar").remove()}return}function getAdSizes(a){switch(a){case"Fullbanner":return[468,60];case"Gallery":return[[160,600],[300,250],[300,600]];case"MediumRectangle":return[300,250];case"Skyscraper":return[[160,600],[300,600]];case"Superbanner":case"Superbanner_Top":case"Superbanner_Bottom":return[[728,90],[960,100],[960,250]];case"Daily":case"Gewinnspiel":case"Horoskop":return[600,120];case"Navioverlay":return[1,1]}}function redirect(a){var b=$('<a style="display:none;"></a>').attr("href",a);$("body.frontend-kurier").append(b);b.click()}function isTouchDevice(){return(typeof(window.ontouchstart)!="undefined")?true:false}function switchToMobile(){_gaq.push(["_trackEvent","Version Switch","Desktop -> Mobile",window.location.pathname,0,true]);$.removeCookie("nomobileredirect",{domain:"kurier.at",path:"/"});window.location.href=window.location.href.replace("kurier.at","m.kurier.at")}if(!String.format){String.prototype.format=function(){var a=arguments;return this.replace(/\{\{|\}\}|\{(\d+)\}/g,function(b,c){return((b=="{{")?"{":((b=="}}")?"}":a[c]))})}}var e=document.createElement("script");e.language="JavaScript";e.type="text/javascript";e.src="//js.revsci.net/gateway/gw.js?csid=C12308&auto=t";if(document.body==null){document.getElementsByTagName("head")[0].appendChild(e)}else{document.body.insertBefore(e,document.body.firstChild)}function addTitleAttrToHref(a){var b={isHttp:/^((http|https):\/\/)/,isInternal:/\b(strg.mykurier.at|kurier.at)\b/,isSlideshow:/\b(slideshow)$\b/,isVideo:/\bvideo\b/,isArticle:/([0-9][0-9][0-9])$/};a.each(function(){var c=$(this).attr("href");if(b.isHttp.test(c)){if(!$(this).hasClass("sharebtn")){if(b.isInternal.test(c)){if(b.isSlideshow.test(c)){$(this).attr("title","Bildergalerie auf KURIER.at")}else{if(b.isVideo.test(c)){$(this).attr("title","Video auf KURIER.at")}else{if(b.isArticle.test(c)){$(this).attr("title","Artikel auf KURIER.at")}else{$(this).attr("title","Thema auf KURIER.at")}}}}else{$(this).attr("title","externer Link")}}}})}$(document).on(kurier.events.HEADER_LOADED,function(){$(".cancelsearch").click(function(){$("#livesearch").hide();$(".searchfield input:text").focus().attr("value","");$(this).hide();return false});$(".frontend-kurier .searchfield").on("click",".showallresults",function(){submitSearch();return false});$(".frontend-kurier #livesearch").on("mouseenter",function(){$(".frontend-kurier #livesearch .focus").removeClass("focus")});$(".frontend-kurier .searchfield input:text").on("blur",function(){if($(this).attr("value")==("")){$(".cancelsearch").hide()}});$("#searchTerm").on("keyup",function(b){var a=b.keyCode;switch(b.keyCode){case 27:$("#livesearch").hide();$(".searchfield input:text").focus().attr("value","");$(".searchloader").hide();$(this).blur();return false;break;case 38:navigate("up");return false;break;case 40:navigate("down");return false;break;case 13:if($("#livesearch .jsLiveResult.focus").length>0){window.location=$("#livesearch .jsLiveResult.focus").children("a").attr("href")}else{submitSearch($(this).val())}return false;break;default:if((a>47&&a<58)||(a>=63&&a<91)||(a>95&&a<112)){doLiveSearch($(this).val())}break}});$('.searchfield input[name="searchbutton"]').on("click",function(){submitSearch($("#searchTerm").val())})});for(var i=0;i<$(".liveresult").size();i++){$(".liveresult").eq(i).data("number",i);$("#livesearch > .livesearch").css("display","block")}function navigate(a){if($("#livesearch .jsLiveResult.focus").length===0){currentSelection=-1}if(a==="up"&&currentSelection!==-1){if(currentSelection!==0){currentSelection--}}else{if(a==="down"){if(currentSelection!==($("#livesearch .jsLiveResult:visible").size()-1)){currentSelection++}}}$("#livesearch .jsLiveResult:visible").removeClass("focus");$("#livesearch .jsLiveResult:visible").eq(currentSelection).addClass("focus")}function submitSearch(a){if(a.length>0){var b="/search/"+encodeURIComponent(a);window.location.href=b}return false}function resetSearch(){$("#jsAjaxLiveResultContent").hide();$("#jsAjaxLiveResultContent").html('<div class="category"></div><div class="channel-block content shown"><ul><li class="liveresult first"><div class="resultlink"><span>... Bitte warten</span></div></li></ul></div><div class="clear"></div>')}var searchEvalCount=0;var inProgressUntil=4;function evalSearchProgress(a){if(a){$(".cancelsearch").hide();$(".searchloader").hide()}else{searchEvalCount++;$(".searchloader").show();if(searchEvalCount>=inProgressUntil){$(".searchloader").hide();$(".cancelsearch").show();searchEvalCount=0}}}var livesearchHeight=0;function doLiveSearch(b){var c=$(".searchloadcontainer .searchloading");var a=(c.css("width")!="0%");resetSearchHeight();if(a){c.stop();c.css("width","0%")}$("#livesearch").hide();if(b.length<2){return false}resetSearch();evalSearchProgress(true);c.animate({width:"100%"},700,function(){$(".searchloader").show();$("#livesearch").show();$("#jsAjaxLiveResultContent").show();$.ajax("/liveResult/content/"+b,{success:function(f,g,d){$("#jsAjaxLiveResultContent").html(f);$("#jsAjaxLiveResultContent").show();$(document).one(kurier.events.ADS_LOADED,calculateSearchHeight);evalSearchProgress();livesearchHeight=$("#livesearch > .jsLiveSearch").height();if($(".header").hasClass("stickyheader")){livesearchHeight-=10}calculateSearchHeight()},complete:function(){$(".searchloader").hide()}});c.css("width","0%")})}function calculateSearchHeight(){if($("#livesearch").length>0){if($("#livesearch").is(":hidden")){return}var b=$("#livesearch > .jsLiveSearch").offset().top;var a=$(window).height()-b+$(window).scrollTop();if(a<250){a=250}if((a-37)>livesearchHeight){$("#livesearch > .jsLiveSearch").css("height","auto").removeClass("inner-scroll");$("#livesearch > .jsLiveSearch #jsAjaxLiveResultContent").css("height","auto")}else{$("#livesearch > .jsLiveSearch").css("height",a).addClass("inner-scroll");$("#livesearch > .jsLiveSearch #jsAjaxLiveResultContent").css("height",(a-37))}}}function resetSearchHeight(){if($("#livesearch > .jsLiveSearch").hasClass("inner-scroll")){$("#livesearch > .jsLiveSearch").css("height","400px").removeClass("inner-scroll")}}$(window).resize(calculateSearchHeight);$(window).on("scroll",calculateSearchHeight);var advancedSearchXhrs={};function doAdvancedSearch(b,k,a,g,f,h,l,j,c){var d="search_"+b+"_"+k+"_"+a+"_"+g.join("-")+"_"+f+"_"+h;if($.type(advancedSearchXhrs[d])==="object"){return}advancedSearchXhrs[d]=$.ajax({type:"POST",url:"/advancedsearch",data:{term:b,from:k,till:a,channels:g,sort:f,page:h},dataType:"json",success:function(n,o,m){if(n){n.jqXHR=m}if(n&&n.success){if($.type(l)==="function"){l(n)}}else{if(n&&n.error){if($.type(j)==="function"){j(n)}}}},error:function(m,o,n){if($.type(j)==="function"){j({success:null,error:m.responseText,jqXHR:m})}},complete:function(m,n){if($.type(c)==="function"){c({success:null,error:null,jqXHR:m})}advancedSearchXhrs=$.grep(advancedSearchXhrs,function(o){return o!==advancedSearchXhrs[d]})}})}var cms=cms||{};cms.Slideshow=function(c,f){cms.Slideshow.init();f.slice(0,2).find("img[data-src]").each(function(h,g){var j=$(g);j.attr("src",j.attr("data-src"));j.removeAttr("data-src")});var b=this;b.$node=c;b.$node.css("overflow","hidden");b.slideWidth=b.$node.width();b.slideHeight=b.$node.height();var d=[];f.each(function(g,h){d.push($(h).wrap('<li style="float:left;" class="slide-wrapper"></li>').parent()[0])});b.$slides=$(d);b.$slides.width(b.slideWidth);b.$slides.height(b.slideHeight);b.$slideContainer=$("<ul></ul>");b.$slideContainer.width(b.$node.width()*b.$slides.length);b.$slideContainer.css("position","relative");b.$slideContainer.css("left","0px");b.$slideContainer.append(b.$slides);b.$slideContainer.append('<li style="clear: left"></li>');b.$node.prepend(b.$slideContainer);var a=function(g){g=g.originalEvent;if(typeof g.changedTouches!=="undefined"){return[g.changedTouches[0].pageX,g.changedTouches[0].pageY]}return[g.pageX,g.pageY]};b.$slideContainer.on("touchstart",function(j){var k=$(this);var g=k.offset().left;var n=a(j)[0];var l=a(j)[1];var m=b.slideWidth*(b.isFirstSlide()?0.1:1.1);var h=b.slideWidth*(b.isLastSlide()?0.1:1.1);b.$slideContainer.one("touchmove",function(q){var p=n-a(q)[0];var o=l-a(q)[1];if(Math.abs(p)>Math.abs(o)){var r=function(t){var v=a(t)[0];var w=v-n;if(w<0){var s=Math.min(1,-w/h);var u=-h*(1-Math.pow(1-s,3))}else{var s=Math.min(1,w/m);var u=m*(1-Math.pow(1-s,3))}b.$slideContainer.css("left",""+Math.round(g+u)+"px")};k.on("touchmove",r);$(document).one("touchend",function(s){k.off("touchmove",r);if(a(s)[0]==n){b.trigger("dragcancel")}else{b.snap();b.trigger("dragstop");s.preventDefault();return false}});$(document).one("touchcancel",function(s){b.$slideContainer.css("left",""+g+"px");b.trigger("dragcancel")});b.trigger("dragstart");q.preventDefault();return false}})});cms.Slideshow.instances.push(b);b.on("afterslidechange",function(g){if(!g.isUserTriggered){return}b.sizeChanged()})};cms.Slideshow.instances=[];cms.Slideshow.prototype.isFirstSlide=function(){return this.currentSlideNum()==0};cms.Slideshow.prototype.isLastSlide=function(){return this.currentSlideNum()==this.$slides.length-1};cms.Slideshow.prototype.currentLeft=function(){return parseInt(this.$slideContainer.css("left").replace(/px$/,""),10)};cms.Slideshow.prototype.currentSlide=function(){return this.$slides.eq(this.currentSlideNum())};cms.Slideshow.prototype.currentSlideNum=function(){var a=Math.round(-this.currentLeft()/this.slideWidth);return Math.max(0,Math.min(this.$slides.length-1,a))};cms.Slideshow.prototype.snap=function(){this.jumpTo(this.currentSlideNum())};cms.Slideshow.prototype.next=function(){var a=this;if(a.isLastSlide()){a.$slideContainer.stop().animate({left:a.currentLeft()-(a.slideWidth*0.15)},100,"swing",function(){a.jumpTo(0)});return false}a.jumpTo(a.currentSlideNum()+1);return true};cms.Slideshow.prototype.prev=function(){var a=this;if(a.isFirstSlide()){a.$slideContainer.stop().animate({left:a.currentLeft()+(a.slideWidth*0.15)},100,"swing",function(){a.jumpTo(a.$slides.length-1)});return false}a.jumpTo(a.currentSlideNum()-1);return true};cms.Slideshow.prototype.jumpTo=function(c,d){var b=this;if(typeof d==="undefined"){d=true}if(this.$slides.eq(c).length==0){return}this.loadImages([c-1,c,c+1]);var a=-(c*this.slideWidth);if(d){this.$slideContainer.stop().animate({left:a},400,"swing",function(){b.trigger("afterslidechange",{index:c,isUserTriggered:d})})}else{this.$slideContainer.css("left",a);this.trigger("afterslidechange",{index:c,isUserTriggered:d})}this.trigger("slidechange",{index:c,isUserTriggered:d})};cms.Slideshow.prototype.loadImages=function(b){if(typeof b!=="object"){b=[b]}for(var c=0;c<b.length;c++){var a=b[c];this.$slides.eq(a).find("img[data-src]").each(function(g,d){var f=$(d);f.attr("src",f.attr("data-src"));f.removeAttr("data-src")})}};cms.Slideshow.prototype.sizeChanged=function(){var a=this.currentSlideNum();this.slideWidth=this.$node.width();this.slideHeight=this.$node.height();this.$slides.width(this.slideWidth);this.$slides.height(this.slideHeight);this.$slideContainer.width(this.slideWidth*this.$slides.length);this.jumpTo(a,false)};$(window).resize(function(){for(var a=0;a<cms.Slideshow.instances.length;a++){cms.Slideshow.instances[a].sizeChanged()}});$(window).bind("orientationchange",function(){for(var a=0;a<cms.Slideshow.instances.length;a++){cms.Slideshow.instances[a].sizeChanged()}});cms.Slideshow.init=function(){cms.makeEventListener(cms.Slideshow);cms.Slideshow.init=function(){}};var cms=cms||{};cms.Thumblist=function(c,d){cms.Thumblist.init();var b=this;this.$node=c;var a=[];d.each(function(f,g){a.push($(g).wrap('<li style="float:left;" class="slide-wrapper"></li>').parent()[0])});this.$thumbs=$(a);this.$node.css("overflow","hidden");this.$thumbs.on("click",function(g){for(var f=0;f<b.$thumbs.length;f++){if(b.$thumbs[f]===g.delegateTarget){b.jumpTo(f)}}});b.$thumbContainer=b.createThumbContainer();b.$thumbContainer.append(this.$thumbs)};cms.Thumblist.prototype.createThumbContainer=function(){var c=this;var b=$("<ul></ul>");b.width(this.$node.width()*this.$thumbs.length);b.css("position","relative");c.$node.prepend(b);var a=function(d){d=d.originalEvent;if(typeof d.changedTouches!=="undefined"){return[d.changedTouches[0].pageX,d.changedTouches[0].pageY]}return[d.pageX,d.pageY]};b.on("touchstart",function(g){var h=$(this);var d=h.offset().left;var l=a(g)[0];var j=a(g)[1];var k=c.$node.width()*(c.isFirstPage()?0.1:1.1);var f=c.$node.width()*(c.isLastPage()?0.1:1.1);b.one("touchmove",function(o){var n=l-a(o)[0];var m=j-a(o)[1];if(Math.abs(n)>Math.abs(m)){var p=function(r){var t=a(r)[0];var u=t-l;if(u<0){var q=Math.min(1,-u/f);var s=-f*(1-Math.pow(1-q,3))}else{var q=Math.min(1,u/k);var s=k*(1-Math.pow(1-q,3))}b.css("left",""+Math.round(d+s)+"px")};h.on("touchmove",p);$(document).one("touchend",function(q){h.off("touchmove",p);if(a(q)[0]==l){c.trigger("dragcancel")}else{c.snap();c.trigger("dragstop");q.preventDefault();return false}});$(document).one("touchcancel",function(q){b.css("left",""+d+"px");c.trigger("dragcancel")});c.trigger("dragstart");o.preventDefault();return false}})});return b};cms.Thumblist.prototype.jumpTo=function(a,b){this.$thumbs.removeClass("active");this.$thumbs.eq(a).addClass("active");this.scrollIntoView(a,b);this.trigger("select",{index:a})};cms.Thumblist.prototype.thumbsPerPage=function(){return Math.max(1,Math.floor(this.$node.width()/this.$thumbs.width()))};cms.Thumblist.prototype.currentLeft=function(){return parseInt(this.$thumbContainer.css("left").replace(/px$/,""),10)};cms.Thumblist.prototype.currentIndex=function(){return Math.min(this.$thumbs.length-1,Math.max(0,Math.round(-this.currentLeft()/this.$thumbs.width())))};cms.Thumblist.prototype.currentPage=function(){return Math.floor(this.currentIndex()/this.thumbsPerPage())};cms.Thumblist.prototype.pageCount=function(){return Math.ceil(this.$thumbs.length/this.thumbsPerPage())};cms.Thumblist.prototype.isFirstPage=function(){return this.currentPage()==0};cms.Thumblist.prototype.isLastPage=function(){return this.currentPage()==this.pageCount()-1};cms.Thumblist.prototype.snap=function(){var a=Math.round(-this.currentLeft()/this.$thumbs.width()+this.thumbsPerPage()/2);this.scrollIntoView(a)};cms.Thumblist.prototype.scrollToPage=function(b,c){if(b>=this.pageCount()){return}var a=-this.$thumbs.eq(b*this.thumbsPerPage()).position().left+"px";if(typeof c==="undefined"||c){this.$thumbContainer.stop().animate({left:a});this.trigger("scroll",{page:b})}else{this.$thumbContainer.css("left",a)}};cms.Thumblist.prototype.scrollIntoView=function(a,b){this.scrollToPage(Math.floor(a/this.thumbsPerPage()),b)};cms.Thumblist.prototype.scrollBackward=function(b){var a=this;if(this.isFirstPage()){a.$thumbContainer.stop().animate({left:a.currentLeft()+(a.$thumbs.width()*a.thumbsPerPage()*0.15)},100,"swing",function(){a.scrollToPage(0)});return false}this.scrollToPage(this.currentPage()-1);return true};cms.Thumblist.prototype.scrollForward=function(b){var a=this;if(this.isLastPage()){a.$thumbContainer.stop().animate({left:a.currentLeft()-(a.$thumbs.width()*a.thumbsPerPage()*0.15)},100,"swing",function(){a.scrollToPage(a.pageCount()-1)});return false}this.scrollToPage(this.currentPage()+1);return true};cms.Thumblist.prototype.nodeSizeChanged=function(){this.$thumbContainer.width(this.$node.width()*this.$thumbs.length);for(var a=0;a<this.$thumbs.length;a++){if(this.$thumbs.eq(a).hasClass("active")){this.scrollIntoView(a,false);break}}};cms.Thumblist.init=function(){cms.makeEventListener(cms.Thumblist);cms.makeEventListener(cms.BulletThumblist);cms.Thumblist.init=function(){}};cms.BulletThumblist=function(f){var d="imageslider-bullets";if(f.$slides.length<2){d=d+" hide"}var b=$('<div class="'+d+'"></div>');var a=[];for(var c=0;c<f.$slides.length;c++){a.push($("<span>"+(c+1)+"</span>")[0])}cms.Thumblist.call(this,b,$(a))};$.extend(cms.BulletThumblist.prototype,cms.Thumblist.prototype);cms.BulletThumblist.prototype.createThumbContainer=function(){var a=$("<ul></ul>");this.$node.prepend(a);return a};var cms=cms||{};cms.ChannelGallery=function(f){var a=this;this.id=f;var d=$("#"+f+"-slides");var c=d.find(".slide").removeClass("hide");var b=d.find(".slide-text");this.slideshow=new cms.Slideshow(d,c);this.slideshow.$node.addClass("channel-slideshow");d.on("click",function(g){a.slideshow.next();g.preventDefault();return false});$("#"+f+"-nextslide").on("click",function(g){a.slideshow.next();g.preventDefault();return false});$("#"+f+"-prevslide").on("click",function(g){a.slideshow.prev();g.preventDefault();return false});a.slideshow.on("slidechange",function(h){var j=$("#"+f+"-title");j.html(b.eq(h.index).show());if(j.is("a")){var g=j.attr("href").replace(/#.*/,"");j.attr("href",g+"#"+a.id.replace(/[^0-9]/g,"")+","+a.slideshow.currentSlide().find(".slide").attr("data-slide-id"))}})};var cms=cms||{};cms.ContentBoxSlider=function(f){var a=this;this.id=f;var c=$("#"+f+"-boxes");var b=c.find(".slide");this.slideshow=new cms.Slideshow(c,b);this.thumblist=new cms.BulletThumblist(this.slideshow);$("#"+f).append(this.thumblist.$node);var d=false;a.slideshow.on("slidechange",function(g){if(d){return}d=true;a.thumblist.jumpTo(g.index);d=false});a.thumblist.on("select",function(g){if(d){return}d=true;a.slideshow.jumpTo(g.index);d=false});$("#"+f+"-nextslide").on("click",function(g){a.slideshow.next();g.preventDefault();return false});$("#"+f+"-prevslide").on("click",function(g){a.slideshow.prev();g.preventDefault();return false})};var kurier=kurier||{};kurier.SubNav=function(b){var a=this;a.defaults={delay:250,navSelector:".nav-bar",elementSelector:".entry.has-flyout",flyoutSelector:".flyout",hoverClass:"hover"};a.options=$.extend(b,a.defaults);(function(){var d=$(a.options.navSelector);var c=$(a.options.navSelector+" "+a.options.elementSelector);var f=a.options.delay;d.on("mouseenter",function(){f=0}).on("mouseleave",function(){f=a.options.delay});c.on("mouseenter",function(){var j=$(this);var h=$(this).find(a.options.flyoutSelector);if(h.data("status")!=="loaded"){var g;if(!($.browser.msie&&parseInt($.browser.version)<=8)&&typeof comments!=="undefined"){g=function(l,m,k){comments.loadCommentCount(h)}}h.find(".subnav").load("/_frame/subnav/"+h.data("navitem"),g);h.data("status","loaded")}c.filter(".hover").each(function(k,l){if($(l)[0]!==j[0]){clearTimeout($(l).data("mouseout-timeout"));$(l).data("mouseout-timeout",null);$(l).removeClass(a.options.hoverClass).children(a.options.flyoutSelector).hide()}});if(j.data("mouseout-timeout")!==null&&j.data("mouseout-timeout")!==undefined){clearTimeout(j.data("mouseout-timeout"))}else{j.data("mousein-timeout",setTimeout(function(){j.addClass(a.options.hoverClass).children(a.options.flyoutSelector).fadeIn(100);_gaq.push(["_trackEvent","subbnav","view",j.find("span.menuentry a").text(),1,1]);$(".nav-bar .entry.active").not(".hover").addClass("shadow");if(j.hasClass("shadow")){j.removeClass("shadow")}j.data("mousein-timeout",null)},f))}}).on("mouseleave",function(){var g=$(this);if(g.data("mousein-timeout")!==null&&g.data("mousein-timeout")!==undefined){clearTimeout(g.data("mousein-timeout"));$(".nav-bar .entry").removeClass("shadow")}else{g.data("mouseout-timeout",setTimeout(function(){$(g).removeClass(a.options.hoverClass).children(a.options.flyoutSelector).hide();g.data("mouseout-timeout",null);$(".nav-bar .entry").removeClass("shadow")},250))}})})()};var subnav;$(document).on(kurier.events.CONTENT_LOADED,function(){subnav=kurier.SubNav()});var kurier=kurier||{};kurier.endlessslider=kurier.endlessslider||{};kurier.endlessslider.Slider=function(a){var b=this;b.container=$(a);b.iteration=0;b.ajaxActive=false;b.slide=function(d){d=d>0?1:-1;if(b.ajaxActive&&d>0){return false}if(b.iteration==0&&d<0){return false}var c=b.container.find("div[data-iteration="+(b.iteration+d)+"]");if(c.children().size()>0){b.container.find("div[data-iteration="+b.iteration+"]").hide();b.iteration=b.iteration+d;b.loadSlides(b.iteration+d,d);b.container.find("div[data-iteration="+b.iteration+"]").fadeIn(250,function(){$(this).find("img").trigger("unveil")})}return false};b.loadSlides=function(f,g){if(f<0){return false}if(b.container.find("div[data-iteration="+f+"]").children().size()>0){return false}var d="";$("article").each(function(){var h=$(this).attr("data-content");if(typeof h!=="undefined"){d+=h+","}});d=d.slice(0,-1);var c=b.container.data("ajax");if(d.length>0){c+="?exclude="+d}$.ajax(c,{beforeSend:function(){b.ajaxActive=true;if(g===1){b.container.find("a.next").fadeTo(0,0.3)}if(g===-1){b.container.find("a.previous").fadeTo(0,0.3)}},success:function(j,k,h){if(j.length>0){$newDiv=$('<div data-iteration="'+f+'"></div>');$newDiv.append(j);b.container.find("div[data-iteration="+(f-1)+"]").after($newDiv);$newDiv.hide()}b.ajaxActive=false;if(g===1){b.container.find("a.next").fadeTo(0,1)}if(g===-1){b.container.find("a.previous").fadeTo(0,1)}}});return false};b.container.find("a.previous").click(function(){return b.slide(-1)});b.container.find("a.next").click(function(){return b.slide(1)});(function(){})()};(function(b){var m={},a,n,c=document,k=window,j=c.documentElement,l=b.expando;b.event.special.inview={add:function(d){m[d.guid+"-"+this[l]]={data:d,$element:b(this)}},remove:function(d){try{delete m[d.guid+"-"+this[l]]}catch(o){}}};function h(){var p,d,o={height:k.innerHeight,width:k.innerWidth};if(!o.height){p=c.compatMode;if(p||!b.support.boxModel){d=p==="CSS1Compat"?j:c.body;o={height:d.clientHeight,width:d.clientWidth}}}return o}function f(){return{top:k.pageYOffset||j.scrollTop||c.body.scrollTop,left:k.pageXOffset||j.scrollLeft||c.body.scrollLeft}}function g(){var q=b(),p,o=0;b.each(m,function(A,z){var x=z.data.selector,y=z.$element;q=q.add(x?y.find(x):y)});p=q.length;if(p){a=a||h();n=n||f();for(;o<p;o++){if(!b.contains(j,q[o])){continue}var v=b(q[o]),w={height:v.height(),width:v.width()},d=v.offset(),r=v.data("inview"),t,s,u;if(!n||!a){return}if(d.top+w.height>n.top&&d.top<n.top+a.height&&d.left+w.width>n.left&&d.left<n.left+a.width){t=(n.left>d.left?"right":(n.left+a.width)<(d.left+w.width)?"left":"both");s=(n.top>d.top?"bottom":(n.top+a.height)<(d.top+w.height)?"top":"both");u=t+"-"+s;if(!r||r!==u){v.data("inview",u).trigger("inview",[true,t,s])}}else{if(r){v.data("inview",false).trigger("inview",[false])}}}}}b(k).bind("scroll resize",function(){a=n=null});if(!j.addEventListener&&j.attachEvent){j.attachEvent("onfocusin",function(){n=null})}setInterval(g,250)})(jQuery);jQuery.easing.jswing=jQuery.easing.swing;jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(f,g,a,j,h){return jQuery.easing[jQuery.easing.def](f,g,a,j,h)},easeInQuad:function(f,g,a,j,h){return j*(g/=h)*g+a},easeOutQuad:function(f,g,a,j,h){return -j*(g/=h)*(g-2)+a},easeInOutQuad:function(f,g,a,j,h){if((g/=h/2)<1){return j/2*g*g+a}return -j/2*((--g)*(g-2)-1)+a},easeInCubic:function(f,g,a,j,h){return j*(g/=h)*g*g+a},easeOutCubic:function(f,g,a,j,h){return j*((g=g/h-1)*g*g+1)+a},easeInOutCubic:function(f,g,a,j,h){if((g/=h/2)<1){return j/2*g*g*g+a}return j/2*((g-=2)*g*g+2)+a},easeInQuart:function(f,g,a,j,h){return j*(g/=h)*g*g*g+a},easeOutQuart:function(f,g,a,j,h){return -j*((g=g/h-1)*g*g*g-1)+a},easeInOutQuart:function(f,g,a,j,h){if((g/=h/2)<1){return j/2*g*g*g*g+a}return -j/2*((g-=2)*g*g*g-2)+a},easeInQuint:function(f,g,a,j,h){return j*(g/=h)*g*g*g*g+a},easeOutQuint:function(f,g,a,j,h){return j*((g=g/h-1)*g*g*g*g+1)+a},easeInOutQuint:function(f,g,a,j,h){if((g/=h/2)<1){return j/2*g*g*g*g*g+a}return j/2*((g-=2)*g*g*g*g+2)+a},easeInSine:function(f,g,a,j,h){return -j*Math.cos(g/h*(Math.PI/2))+j+a},easeOutSine:function(f,g,a,j,h){return j*Math.sin(g/h*(Math.PI/2))+a},easeInOutSine:function(f,g,a,j,h){return -j/2*(Math.cos(Math.PI*g/h)-1)+a},easeInExpo:function(f,g,a,j,h){return(g==0)?a:j*Math.pow(2,10*(g/h-1))+a},easeOutExpo:function(f,g,a,j,h){return(g==h)?a+j:j*(-Math.pow(2,-10*g/h)+1)+a},easeInOutExpo:function(f,g,a,j,h){if(g==0){return a}if(g==h){return a+j}if((g/=h/2)<1){return j/2*Math.pow(2,10*(g-1))+a}return j/2*(-Math.pow(2,-10*--g)+2)+a},easeInCirc:function(f,g,a,j,h){return -j*(Math.sqrt(1-(g/=h)*g)-1)+a},easeOutCirc:function(f,g,a,j,h){return j*Math.sqrt(1-(g=g/h-1)*g)+a},easeInOutCirc:function(f,g,a,j,h){if((g/=h/2)<1){return -j/2*(Math.sqrt(1-g*g)-1)+a}return j/2*(Math.sqrt(1-(g-=2)*g)+1)+a},easeInElastic:function(g,j,f,n,m){var k=1.70158;var l=0;var h=n;if(j==0){return f}if((j/=m)==1){return f+n}if(!l){l=m*0.3}if(h<Math.abs(n)){h=n;var k=l/4}else{var k=l/(2*Math.PI)*Math.asin(n/h)}return -(h*Math.pow(2,10*(j-=1))*Math.sin((j*m-k)*(2*Math.PI)/l))+f},easeOutElastic:function(g,j,f,n,m){var k=1.70158;var l=0;var h=n;if(j==0){return f}if((j/=m)==1){return f+n}if(!l){l=m*0.3}if(h<Math.abs(n)){h=n;var k=l/4}else{var k=l/(2*Math.PI)*Math.asin(n/h)}return h*Math.pow(2,-10*j)*Math.sin((j*m-k)*(2*Math.PI)/l)+n+f},easeInOutElastic:function(g,j,f,n,m){var k=1.70158;var l=0;var h=n;if(j==0){return f}if((j/=m/2)==2){return f+n}if(!l){l=m*(0.3*1.5)}if(h<Math.abs(n)){h=n;var k=l/4}else{var k=l/(2*Math.PI)*Math.asin(n/h)}if(j<1){return -0.5*(h*Math.pow(2,10*(j-=1))*Math.sin((j*m-k)*(2*Math.PI)/l))+f}return h*Math.pow(2,-10*(j-=1))*Math.sin((j*m-k)*(2*Math.PI)/l)*0.5+n+f},easeInBack:function(f,g,a,k,j,h){if(h==undefined){h=1.70158}return k*(g/=j)*g*((h+1)*g-h)+a},easeOutBack:function(f,g,a,k,j,h){if(h==undefined){h=1.70158}return k*((g=g/j-1)*g*((h+1)*g+h)+1)+a},easeInOutBack:function(f,g,a,k,j,h){if(h==undefined){h=1.70158}if((g/=j/2)<1){return k/2*(g*g*(((h*=(1.525))+1)*g-h))+a}return k/2*((g-=2)*g*(((h*=(1.525))+1)*g+h)+2)+a},easeInBounce:function(f,g,a,j,h){return j-jQuery.easing.easeOutBounce(f,h-g,0,j,h)+a},easeOutBounce:function(f,g,a,j,h){if((g/=h)<(1/2.75)){return j*(7.5625*g*g)+a}else{if(g<(2/2.75)){return j*(7.5625*(g-=(1.5/2.75))*g+0.75)+a}else{if(g<(2.5/2.75)){return j*(7.5625*(g-=(2.25/2.75))*g+0.9375)+a}else{return j*(7.5625*(g-=(2.625/2.75))*g+0.984375)+a}}}},easeInOutBounce:function(f,g,a,j,h){if(g<h/2){return jQuery.easing.easeInBounce(f,g*2,0,j,h)*0.5+a}return jQuery.easing.easeOutBounce(f,g*2-h,0,j,h)*0.5+j*0.5+a}});
/*!
 *
 * Copyright 2009-2012 Kris Kowal under the terms of the MIT
 * license found at http://github.com/kriskowal/q/raw/master/LICENSE
 *
 * With parts by Tyler Close
 * Copyright 2007-2009 Tyler Close under the terms of the MIT X license found
 * at http://www.opensource.org/licenses/mit-license.html
 * Forked at ref_send.js version: 2009-05-11
 *
 * With parts by Mark Miller
 * Copyright (C) 2011 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 */
(function(a){if(typeof bootstrap==="function"){bootstrap("promise",a)}else{if(typeof exports==="object"){module.exports=a()}else{if(typeof define==="function"&&define.amd){define(a)}else{if(typeof ses!=="undefined"){if(!ses.ok()){return}else{ses.makeQ=a}}else{Q=a()}}}}})(function(){var F=false;try{throw new Error()}catch(ai){F=!!ai.stack}var v=X();var k;var ae=function(){};var aj=(function(){var ar={task:void 0,next:null};var aq=ar;var au=false;var an=void 0;var ap=false;function am(){while(ar.next){ar=ar.next;var av=ar.task;ar.task=void 0;var aw=ar.domain;if(aw){ar.domain=void 0;aw.enter()}try{av()}catch(ax){if(ap){if(aw){aw.exit()}setTimeout(am,0);if(aw){aw.enter()}throw ax}else{setTimeout(function(){throw ax},0)}}if(aw){aw.exit()}}au=false}aj=function(av){aq=aq.next={task:av,domain:ap&&process.domain,next:null};if(!au){au=true;an()}};if(typeof process!=="undefined"&&process.nextTick){ap=true;an=function(){process.nextTick(am)}}else{if(typeof setImmediate==="function"){if(typeof window!=="undefined"){an=setImmediate.bind(window,am)}else{an=function(){setImmediate(am)}}}else{if(typeof MessageChannel!=="undefined"){var at=new MessageChannel();at.port1.onmessage=function(){an=ao;at.port1.onmessage=am;am()};var ao=function(){at.port2.postMessage(0)};an=function(){setTimeout(am,0);ao()}}else{an=function(){setTimeout(am,0)}}}}return aj})();var a=Function.call;function q(am){return function(){return a.apply(am,arguments)}}var ac=q(Array.prototype.slice);var c=q(Array.prototype.reduce||function(ap,ao){var am=0,an=this.length;if(arguments.length===1){do{if(am in this){ao=this[am++];break}if(++am>=an){throw new TypeError()}}while(1)}for(;am<an;am++){if(am in this){ao=ap(ao,this[am],am)}}return ao});var S=q(Array.prototype.indexOf||function(an){for(var am=0;am<this.length;am++){if(this[am]===an){return am}}return -1});var b=q(Array.prototype.map||function(ap,an){var am=this;var ao=[];c(am,function(at,ar,aq){ao.push(ap.call(an,ar,aq,am))},void 0);return ao});var I=Object.create||function(an){function am(){}am.prototype=an;return new am()};var B=q(Object.prototype.hasOwnProperty);var H=Object.keys||function(am){var ao=[];for(var an in am){if(B(am,an)){ao.push(an)}}return ao};var al=q(Object.prototype.toString);function W(am){return am===Object(am)}function x(am){return(al(am)==="[object StopIteration]"||am instanceof J)}var J;if(typeof ReturnValue!=="undefined"){J=ReturnValue}else{J=function(am){this.value=am}}var Z="From previous event:";function n(am,aq){if(F&&aq.stack&&typeof am==="object"&&am!==null&&am.stack&&am.stack.indexOf(Z)===-1){var ao=[];for(var ap=aq;!!ap;ap=ap.source){if(ap.stack){ao.unshift(ap.stack)}}ao.unshift(am.stack);var an=ao.join("\n"+Z+"\n");am.stack=L(an)}}function L(ap){var an=ap.split("\n");var aq=[];for(var ao=0;ao<an.length;++ao){var am=an[ao];if(!g(am)&&!aa(am)&&am){aq.push(am)}}return aq.join("\n")}function aa(am){return am.indexOf("(module.js:")!==-1||am.indexOf("(node.js:")!==-1}function ag(am){var ap=/at .+ \((.+):(\d+):(?:\d+)\)$/.exec(am);if(ap){return[ap[1],Number(ap[2])]}var ao=/at ([^ ]+):(\d+):(?:\d+)$/.exec(am);if(ao){return[ao[1],Number(ao[2])]}var an=/.*@(.+):(\d+)$/.exec(am);if(an){return[an[1],Number(an[2])]}}function g(an){var ao=ag(an);if(!ao){return false}var ap=ao[0];var am=ao[1];return ap===k&&am>=v&&am<=t}function X(){if(!F){return}try{throw new Error()}catch(ap){var am=ap.stack.split("\n");var an=am[0].indexOf("@")>0?am[1]:am[2];var ao=ag(an);if(!ao){return}k=ao[0];return ao[1]}}function D(ao,am,an){return function(){if(typeof console!=="undefined"&&typeof console.warn==="function"){console.warn(am+" is deprecated, use "+an+" instead.",new Error("").stack)}return ao.apply(ao,arguments)}}function m(am){if(z(am)){return am}if(N(am)){return M(am)}else{return A(am)}}m.resolve=m;m.nextTick=aj;m.longStackSupport=false;m.defer=h;function h(){var ao=[],aq=[],ap;var am=I(h.prototype);var at=I(O.prototype);at.promiseDispatch=function(aw,ax,av){var au=ac(arguments);if(ao){ao.push(au);if(ax==="when"&&av[1]){aq.push(av[1])}}else{aj(function(){ap.promiseDispatch.apply(ap,au)})}};at.valueOf=function(){if(ao){return at}var au=K(ap);if(z(au)){ap=au}return au};at.inspect=function(){if(!ap){return{state:"pending"}}return ap.inspect()};if(m.longStackSupport&&F){try{throw new Error()}catch(ar){at.stack=ar.stack.substring(ar.stack.indexOf("\n")+1)}}function an(au){ap=au;at.source=au;c(ao,function(aw,av){aj(function(){au.promiseDispatch.apply(au,av)})},void 0);ao=void 0;aq=void 0}am.promise=at;am.resolve=function(au){if(ap){return}an(m(au))};am.fulfill=function(au){if(ap){return}an(A(au))};am.reject=function(au){if(ap){return}an(E(au))};am.notify=function(au){if(ap){return}c(aq,function(aw,av){aj(function(){av(au)})},void 0)};return am}h.prototype.makeNodeResolver=function(){var am=this;return function(an,ao){if(an){am.reject(an)}else{if(arguments.length>2){am.resolve(ac(arguments,1))}else{am.resolve(ao)}}}};m.Promise=U;m.promise=U;function U(ao){if(typeof ao!=="function"){throw new TypeError("resolver must be a function.")}var am=h();try{ao(am.resolve,am.reject,am.notify)}catch(an){am.reject(an)}return am.promise}U.race=o;U.all=y;U.reject=E;U.resolve=m;m.passByCopy=function(am){return am};O.prototype.passByCopy=function(){return this};m.join=function(am,an){return m(am).join(an)};O.prototype.join=function(am){return m([this,am]).spread(function(an,ao){if(an===ao){return an}else{throw new Error("Can't join: not the same: "+an+" "+ao)}})};m.race=o;function o(am){return U(function(aq,ap){for(var ao=0,an=am.length;ao<an;ao++){m(am[ao]).then(aq,ap)}})}O.prototype.race=function(){return this.then(m.race)};m.makePromise=O;function O(an,aq,ap){if(aq===void 0){aq=function(ar){return E(new Error("Promise does not support operation: "+ar))}}if(ap===void 0){ap=function(){return{state:"unknown"}}}var ao=I(O.prototype);ao.promiseDispatch=function(av,aw,at){var ar;try{if(an[aw]){ar=an[aw].apply(ao,at)}else{ar=aq.call(ao,aw,at)}}catch(au){ar=E(au)}if(av){av(ar)}};ao.inspect=ap;if(ap){var am=ap();if(am.state==="rejected"){ao.exception=am.reason}ao.valueOf=function(){var ar=ap();if(ar.state==="pending"||ar.state==="rejected"){return ao}return ar.value}}return ao}O.prototype.toString=function(){return"[object Promise]"};O.prototype.then=function(aq,ar,an){var at=this;var au=h();var ao=false;function ap(ax){try{return typeof aq==="function"?aq(ax):ax}catch(aw){return E(aw)}}function av(aw){if(typeof ar==="function"){n(aw,at);try{return ar(aw)}catch(ax){return E(ax)}}return E(aw)}function am(aw){return typeof an==="function"?an(aw):aw}aj(function(){at.promiseDispatch(function(aw){if(ao){return}ao=true;au.resolve(ap(aw))},"when",[function(aw){if(ao){return}ao=true;au.resolve(av(aw))}])});at.promiseDispatch(void 0,"when",[void 0,function(aw){var ay;var az=false;try{ay=am(aw)}catch(ax){az=true;if(m.onerror){m.onerror(ax)}else{throw ax}}if(!az){au.notify(ay)}}]);return au.promise};m.when=P;function P(ao,am,an,ap){return m(ao).then(am,an,ap)}O.prototype.thenResolve=function(am){return this.then(function(){return am})};m.thenResolve=function(an,am){return m(an).thenResolve(am)};O.prototype.thenReject=function(am){return this.then(function(){throw am})};m.thenReject=function(an,am){return m(an).thenReject(am)};m.nearer=K;function K(an){if(z(an)){var am=an.inspect();if(am.state==="fulfilled"){return am.value}}return an}m.isPromise=z;function z(am){return W(am)&&typeof am.promiseDispatch==="function"&&typeof am.inspect==="function"}m.isPromiseAlike=N;function N(am){return W(am)&&typeof am.then==="function"}m.isPending=ad;function ad(am){return z(am)&&am.inspect().state==="pending"}O.prototype.isPending=function(){return this.inspect().state==="pending"};m.isFulfilled=R;function R(am){return !z(am)||am.inspect().state==="fulfilled"}O.prototype.isFulfilled=function(){return this.inspect().state==="fulfilled"};m.isRejected=V;function V(am){return z(am)&&am.inspect().state==="rejected"}O.prototype.isRejected=function(){return this.inspect().state==="rejected"};var ab=[];var ak=[];var p=true;function ah(){ab.length=0;ak.length=0;if(!p){p=true}}function C(an,am){if(!p){return}ak.push(an);if(am&&typeof am.stack!=="undefined"){ab.push(am.stack)}else{ab.push("(no stack) "+am)}}function l(an){if(!p){return}var am=S(ak,an);if(am!==-1){ak.splice(am,1);ab.splice(am,1)}}m.resetUnhandledRejections=ah;m.getUnhandledReasons=function(){return ab.slice()};m.stopUnhandledRejectionTracking=function(){ah();p=false};ah();m.reject=E;function E(an){var am=O({when:function(aq){if(aq){l(this)}return aq?aq(an):this}},function ap(){return this},function ao(){return{state:"rejected",reason:an}});C(am,an);return am}m.fulfill=A;function A(am){return O({when:function(){return am},get:function(ao){return am[ao]},set:function(ao,ap){am[ao]=ap},"delete":function(ao){delete am[ao]},post:function(ap,ao){if(ap===null||ap===void 0){return am.apply(void 0,ao)}else{return am[ap].apply(am,ao)}},apply:function(ap,ao){return am.apply(ap,ao)},keys:function(){return H(am)}},void 0,function an(){return{state:"fulfilled",value:am}})}function M(an){var am=h();aj(function(){try{an.then(am.resolve,am.reject,am.notify)}catch(ao){am.reject(ao)}});return am.promise}m.master=w;function w(am){return O({isDef:function(){}},function an(ap,ao){return Y(am,ap,ao)},function(){return m(am).inspect()})}m.spread=f;function f(ao,am,an){return m(ao).spread(am,an)}O.prototype.spread=function(am,an){return this.all().then(function(ao){return am.apply(void 0,ao)},an)};m.async=T;function T(am){return function(){function ao(av,at){var ar;if(typeof StopIteration==="undefined"){try{ar=ap[av](at)}catch(au){return E(au)}if(ar.done){return ar.value}else{return P(ar.value,aq,an)}}else{try{ar=ap[av](at)}catch(au){if(x(au)){return au.value}else{return E(au)}}return P(ar,aq,an)}}var ap=am.apply(this,arguments);var aq=ao.bind(ao,"next");var an=ao.bind(ao,"throw");return aq()}}m.spawn=s;function s(am){m.done(m.async(am)())}m["return"]=j;function j(am){throw new J(am)}m.promised=r;function r(am){return function(){return f([this,y(arguments)],function(an,ao){return am.apply(an,ao)})}}m.dispatch=Y;function Y(an,ao,am){return m(an).dispatch(ao,am)}O.prototype.dispatch=function(ap,ao){var an=this;var am=h();aj(function(){an.promiseDispatch(am.resolve,ap,ao)});return am.promise};m.get=function(am,an){return m(am).dispatch("get",[an])};O.prototype.get=function(am){return this.dispatch("get",[am])};m.set=function(am,an,ao){return m(am).dispatch("set",[an,ao])};O.prototype.set=function(am,an){return this.dispatch("set",[am,an])};m.del=m["delete"]=function(am,an){return m(am).dispatch("delete",[an])};O.prototype.del=O.prototype["delete"]=function(am){return this.dispatch("delete",[am])};m.mapply=m.post=function(ao,an,am){return m(ao).dispatch("post",[an,am])};O.prototype.mapply=O.prototype.post=function(an,am){return this.dispatch("post",[an,am])};m.send=m.mcall=m.invoke=function(an,am){return m(an).dispatch("post",[am,ac(arguments,2)])};O.prototype.send=O.prototype.mcall=O.prototype.invoke=function(am){return this.dispatch("post",[am,ac(arguments,1)])};m.fapply=function(an,am){return m(an).dispatch("apply",[void 0,am])};O.prototype.fapply=function(am){return this.dispatch("apply",[void 0,am])};m["try"]=m.fcall=function(am){return m(am).dispatch("apply",[void 0,ac(arguments,1)])};O.prototype.fcall=function(){return this.dispatch("apply",[void 0,ac(arguments)])};m.fbind=function(an){var ap=m(an);var am=ac(arguments,1);return function ao(){return ap.dispatch("apply",[this,am.concat(ac(arguments))])}};O.prototype.fbind=function(){var ao=this;var am=ac(arguments);return function an(){return ao.dispatch("apply",[this,am.concat(ac(arguments))])}};m.keys=function(am){return m(am).dispatch("keys",[])};O.prototype.keys=function(){return this.dispatch("keys",[])};m.all=y;function y(am){return P(am,function(ap){var ao=0;var an=h();c(ap,function(au,at,ar){var aq;if(z(at)&&(aq=at.inspect()).state==="fulfilled"){ap[ar]=aq.value}else{++ao;P(at,function(av){ap[ar]=av;if(--ao===0){an.resolve(ap)}},an.reject,function(av){an.notify({index:ar,value:av})})}},void 0);if(ao===0){an.resolve(ap)}return an.promise})}O.prototype.all=function(){return y(this)};m.allResolved=D(d,"allResolved","allSettled");function d(am){return P(am,function(an){an=b(an,m);return P(y(b(an,function(ao){return P(ao,ae,ae)})),function(){return an})})}O.prototype.allResolved=function(){return d(this)};m.allSettled=u;function u(am){return m(am).allSettled()}O.prototype.allSettled=function(){return this.then(function(am){return y(b(am,function(ao){ao=m(ao);function an(){return ao.inspect()}return ao.then(an,an)}))})};m.fail=m["catch"]=function(am,an){return m(am).then(void 0,an)};O.prototype.fail=O.prototype["catch"]=function(am){return this.then(void 0,am)};m.progress=G;function G(am,an){return m(am).then(void 0,void 0,an)}O.prototype.progress=function(am){return this.then(void 0,void 0,am)};m.fin=m["finally"]=function(am,an){return m(am)["finally"](an)};O.prototype.fin=O.prototype["finally"]=function(am){am=m(am);return this.then(function(an){return am.fcall().then(function(){return an})},function(an){return am.fcall().then(function(){throw an})})};m.done=function(ao,am,ap,an){return m(ao).done(am,ap,an)};O.prototype.done=function(am,ap,ao){var an=function(ar){aj(function(){n(ar,aq);if(m.onerror){m.onerror(ar)}else{throw ar}})};var aq=am||ap||ao?this.then(am,ap,ao):this;if(typeof process==="object"&&process&&process.domain){an=process.domain.bind(an)}aq.then(void 0,an)};m.timeout=function(an,am,ao){return m(an).timeout(am,ao)};O.prototype.timeout=function(an,ao){var am=h();var ap=setTimeout(function(){am.reject(new Error(ao||"Timed out after "+an+" ms"))},an);this.then(function(aq){clearTimeout(ap);am.resolve(aq)},function(aq){clearTimeout(ap);am.reject(aq)},am.notify);return am.promise};m.delay=function(am,an){if(an===void 0){an=am;am=void 0}return m(am).delay(an)};O.prototype.delay=function(am){return this.then(function(ao){var an=h();setTimeout(function(){an.resolve(ao)},am);return an.promise})};m.nfapply=function(an,am){return m(an).nfapply(am)};O.prototype.nfapply=function(an){var am=h();var ao=ac(an);ao.push(am.makeNodeResolver());this.fapply(ao).fail(am.reject);return am.promise};m.nfcall=function(an){var am=ac(arguments,1);return m(an).nfapply(am)};O.prototype.nfcall=function(){var an=ac(arguments);var am=h();an.push(am.makeNodeResolver());this.fapply(an).fail(am.reject);return am.promise};m.nfbind=m.denodeify=function(an){var am=ac(arguments,1);return function(){var ap=am.concat(ac(arguments));var ao=h();ap.push(ao.makeNodeResolver());m(an).fapply(ap).fail(ao.reject);return ao.promise}};O.prototype.nfbind=O.prototype.denodeify=function(){var am=ac(arguments);am.unshift(this);return m.denodeify.apply(void 0,am)};m.nbind=function(ao,am){var an=ac(arguments,2);return function(){var ar=an.concat(ac(arguments));var ap=h();ar.push(ap.makeNodeResolver());function aq(){return ao.apply(am,arguments)}m(aq).fapply(ar).fail(ap.reject);return ap.promise}};O.prototype.nbind=function(){var am=ac(arguments,0);am.unshift(this);return m.nbind.apply(void 0,am)};m.nmapply=m.npost=function(ao,an,am){return m(ao).npost(an,am)};O.prototype.nmapply=O.prototype.npost=function(ao,an){var ap=ac(an||[]);var am=h();ap.push(am.makeNodeResolver());this.dispatch("post",[ao,ap]).fail(am.reject);return am.promise};m.nsend=m.nmcall=m.ninvoke=function(ao,an){var ap=ac(arguments,2);var am=h();ap.push(am.makeNodeResolver());m(ao).dispatch("post",[an,ap]).fail(am.reject);return am.promise};O.prototype.nsend=O.prototype.nmcall=O.prototype.ninvoke=function(an){var ao=ac(arguments,1);var am=h();ao.push(am.makeNodeResolver());this.dispatch("post",[an,ao]).fail(am.reject);return am.promise};m.nodeify=af;function af(an,am){return m(an).nodeify(am)}O.prototype.nodeify=function(am){if(am){this.then(function(an){aj(function(){am(null,an)})},function(an){aj(function(){am(an)})})}else{return this}};var t=X();return m});(function(a){a.fn.unveil=function(j,l){var f=a(window),b=j||0,d=window.devicePixelRatio>1,g=d?"data-original":"data-original",k=this,h;this.one("unveil",function(){var m=this.getAttribute(g);m=m||this.getAttribute("data-original");if(m){this.setAttribute("src",m);if(typeof l==="function"){l.call(this)}}});function c(){var m=k.filter(function(){var o=a(this);if(o.is(":hidden")){return}var n=f.scrollTop(),q=n+f.height(),r=o.offset().top,p=r+o.height();return p>=n-b&&r<=q+b});h=m.trigger("unveil");k=k.not(h)}f.on("scroll.unveil resize.unveil lookup.unveil",c);c();return this}})(window.jQuery||window.Zepto);
/*!
 * @preserve
 * jquery.scrolldepth.js | v0.7
 * Copyright (c) 2014 Rob Flaherty (@robflaherty)
 * Licensed under the MIT and GPL licenses.
 */
(function(h,k,l,f){var g={minHeight:0,elements:[],percentage:true,userTiming:true,pixelDepth:true,nonInteraction:true};var c=h(k),a=[],d=0,b,m,j;h.scrollDepth=function(p){var q=+new Date;p=h.extend({},g,p);if(h(l).height()<p.minHeight){return}if(typeof ga==="function"){b=true}if(typeof _gaq!=="undefined"&&typeof _gaq.push==="function"){m=true}if(typeof p.eventHandler==="function"){j=p.eventHandler}else{if(typeof dataLayer!=="undefined"&&typeof dataLayer.push==="function"){j=dataLayer.push}}if(p.percentage){u("Percentage","Baseline")}else{if(p.elements){u("Elements","Baseline")}}function u(y,w,v,x){if(j){j({event:"ScrollDistance",eventCategory:"Scroll Depth",eventAction:y,eventLabel:w,eventValue:1,eventNonInteraction:p.nonInteraction});if(p.pixelDepth&&arguments.length>2&&v>d){d=v;j({event:"ScrollDistance",eventCategory:"Scroll Depth",eventAction:"Pixel Depth",eventLabel:n(v),eventValue:1,eventNonInteraction:p.nonInteraction})}if(p.userTiming&&arguments.length>3){j({event:"ScrollTiming",eventCategory:"Scroll Depth",eventAction:y,eventLabel:w,eventTiming:x})}}else{if(b){ga("send","event","Scroll Depth",y,w,1,{nonInteraction:p.nonInteraction});if(p.pixelDepth&&arguments.length>2&&v>d){d=v;ga("send","event","Scroll Depth","Pixel Depth",n(v),1,{nonInteraction:p.nonInteraction})}if(p.userTiming&&arguments.length>3){ga("send","timing","Scroll Depth",y,x,w)}}if(m){_gaq.push(["_trackEvent","Scroll Depth",y,w,1,p.nonInteraction]);if(p.pixelDepth&&arguments.length>2&&v>d){d=v;_gaq.push(["_trackEvent","Scroll Depth","Pixel Depth",n(v),1,p.nonInteraction])}if(p.userTiming&&arguments.length>3){_gaq.push(["_trackTiming","Scroll Depth",y,x,w,100])}}}}function t(v){return{"25%":parseInt(v*0.25,10),"50%":parseInt(v*0.5,10),"75%":parseInt(v*0.75,10),"100%":v-5}}function o(w,v,x){h.each(w,function(y,z){if(h.inArray(y,a)===-1&&v>=z){u("Percentage",y,v,x);a.push(y)}})}function s(x,v,w){h.each(x,function(y,z){if(h.inArray(z,a)===-1&&h(z).length){if(v>=h(z).offset().top){u("Elements",z,v,w);a.push(z)}}})}function n(v){return(Math.floor(v/250)*250).toString()}function r(A,C){var y,x,v;var B=null;var z=0;var w=function(){z=new Date;B=null;v=A.apply(y,x)};return function(){var D=new Date;if(!z){z=D}var E=C-(D-z);y=this;x=arguments;if(E<=0){clearTimeout(B);B=null;z=D;v=A.apply(y,x)}else{if(!B){B=setTimeout(w,E)}}return v}}c.on("scroll.scrollDepth",r(function(){var x=h(l).height(),w=k.innerHeight?k.innerHeight:c.height(),v=c.scrollTop()+w,y=t(x),z=+new Date-q;if(a.length>=4+p.elements.length){c.off("scroll.scrollDepth");return}if(p.elements){s(p.elements,v,z)}if(p.percentage){o(y,v,z)}},500))}})(jQuery,window,document);