/*!
 * jQuery JavaScript Library v1.11.0
 * http://jquery.com/
 *
 * Includes Sizzle.js
 * http://sizzlejs.com/
 *
 * Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors
 * Released under the MIT license
 * http://jquery.org/license
 *
 * Date: 2014-01-23T21:02Z
 */
(function(b,a){if(typeof module==="object"&&typeof module.exports==="object"){module.exports=b.document?a(b,true):function(d){if(!d.document){throw new Error("jQuery requires a window with a document")}return a(d)}}else{a(b)}}(typeof window!=="undefined"?window:this,function(a8,ay){var aS=[];var R=aS.slice;var aC=aS.concat;var z=aS.push;var bX=aS.indexOf;var af={};var A=af.toString;var M=af.hasOwnProperty;var ac="".trim;var F={};var al="1.11.0",bL=function(e,b9){return new bL.fn.init(e,b9)},G=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,bV=/^-ms-/,aZ=/-([\da-z])/gi,Q=function(e,b9){return b9.toUpperCase()};bL.fn=bL.prototype={jquery:al,constructor:bL,selector:"",length:0,toArray:function(){return R.call(this)},get:function(e){return e!=null?(e<0?this[e+this.length]:this[e]):R.call(this)},pushStack:function(e){var b9=bL.merge(this.constructor(),e);b9.prevObject=this;b9.context=this.context;return b9},each:function(b9,e){return bL.each(this,b9,e)},map:function(e){return this.pushStack(bL.map(this,function(ca,b9){return e.call(ca,b9,ca)}))},slice:function(){return this.pushStack(R.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(ca){var e=this.length,b9=+ca+(ca<0?e:0);return this.pushStack(b9>=0&&b9<e?[this[b9]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:z,sort:aS.sort,splice:aS.splice};bL.extend=bL.fn.extend=function(){var e,ce,b9,ca,ch,cf,cd=arguments[0]||{},cc=1,cb=arguments.length,cg=false;if(typeof cd==="boolean"){cg=cd;cd=arguments[cc]||{};cc++}if(typeof cd!=="object"&&!bL.isFunction(cd)){cd={}}if(cc===cb){cd=this;cc--}for(;cc<cb;cc++){if((ch=arguments[cc])!=null){for(ca in ch){e=cd[ca];b9=ch[ca];if(cd===b9){continue}if(cg&&b9&&(bL.isPlainObject(b9)||(ce=bL.isArray(b9)))){if(ce){ce=false;cf=e&&bL.isArray(e)?e:[]}else{cf=e&&bL.isPlainObject(e)?e:{}}cd[ca]=bL.extend(cg,cf,b9)}else{if(b9!==undefined){cd[ca]=b9}}}}}return cd};bL.extend({expando:"jQuery"+(al+Math.random()).replace(/\D/g,""),isReady:true,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return bL.type(e)==="function"},isArray:Array.isArray||function(e){return bL.type(e)==="array"},isWindow:function(e){return e!=null&&e==e.window},isNumeric:function(e){return e-parseFloat(e)>=0},isEmptyObject:function(b9){var e;for(e in b9){return false}return true},isPlainObject:function(cb){var b9;if(!cb||bL.type(cb)!=="object"||cb.nodeType||bL.isWindow(cb)){return false}try{if(cb.constructor&&!M.call(cb,"constructor")&&!M.call(cb.constructor.prototype,"isPrototypeOf")){return false}}catch(ca){return false}if(F.ownLast){for(b9 in cb){return M.call(cb,b9)}}for(b9 in cb){}return b9===undefined||M.call(cb,b9)},type:function(e){if(e==null){return e+""}return typeof e==="object"||typeof e==="function"?af[A.call(e)]||"object":typeof e},globalEval:function(e){if(e&&bL.trim(e)){(a8.execScript||function(b9){a8["eval"].call(a8,b9)})(e)}},camelCase:function(e){return e.replace(bV,"ms-").replace(aZ,Q)},nodeName:function(b9,e){return b9.nodeName&&b9.nodeName.toLowerCase()===e.toLowerCase()},each:function(cd,ce,b9){var cc,ca=0,cb=cd.length,e=ag(cd);if(b9){if(e){for(;ca<cb;ca++){cc=ce.apply(cd[ca],b9);if(cc===false){break}}}else{for(ca in cd){cc=ce.apply(cd[ca],b9);if(cc===false){break}}}}else{if(e){for(;ca<cb;ca++){cc=ce.call(cd[ca],ca,cd[ca]);if(cc===false){break}}}else{for(ca in cd){cc=ce.call(cd[ca],ca,cd[ca]);if(cc===false){break}}}}return cd},trim:ac&&!ac.call("\uFEFF\xA0")?function(e){return e==null?"":ac.call(e)}:function(e){return e==null?"":(e+"").replace(G,"")},makeArray:function(e,ca){var b9=ca||[];if(e!=null){if(ag(Object(e))){bL.merge(b9,typeof e==="string"?[e]:e)}else{z.call(b9,e)}}return b9},inArray:function(cb,b9,ca){var e;if(b9){if(bX){return bX.call(b9,cb,ca)}e=b9.length;ca=ca?ca<0?Math.max(0,e+ca):ca:0;for(;ca<e;ca++){if(ca in b9&&b9[ca]===cb){return ca}}}return -1},merge:function(cc,ca){var e=+ca.length,b9=0,cb=cc.length;while(b9<e){cc[cb++]=ca[b9++]}if(e!==e){while(ca[b9]!==undefined){cc[cb++]=ca[b9++]}}cc.length=cb;return cc},grep:function(e,cf,cc){var ce,cb=[],b9=0,ca=e.length,cd=!cc;for(;b9<ca;b9++){ce=!cf(e[b9],b9);if(ce!==cd){cb.push(e[b9])}}return cb},map:function(ca,cf,e){var ce,cc=0,cd=ca.length,b9=ag(ca),cb=[];if(b9){for(;cc<cd;cc++){ce=cf(ca[cc],cc,e);if(ce!=null){cb.push(ce)}}}else{for(cc in ca){ce=cf(ca[cc],cc,e);if(ce!=null){cb.push(ce)}}}return aC.apply([],cb)},guid:1,proxy:function(cc,cb){var e,ca,b9;if(typeof cb==="string"){b9=cc[cb];cb=cc;cc=b9}if(!bL.isFunction(cc)){return undefined}e=R.call(arguments,2);ca=function(){return cc.apply(cb||this,e.concat(R.call(arguments)))};ca.guid=cc.guid=cc.guid||bL.guid++;return ca},now:function(){return +(new Date())},support:F});bL.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(b9,e){af["[object "+e+"]"]=e.toLowerCase()});function ag(ca){var b9=ca.length,e=bL.type(ca);if(e==="function"||bL.isWindow(ca)){return false}if(ca.nodeType===1&&b9){return true}return e==="array"||b9===0||typeof b9==="number"&&b9>0&&(b9-1) in ca}var o=
/*!
 * Sizzle CSS Selector Engine v1.10.16
 * http://sizzlejs.com/
 *
 * Copyright 2013 jQuery Foundation, Inc. and other contributors
 * Released under the MIT license
 * http://jquery.org/license
 *
 * Date: 2014-01-13
 */
(function(dh){var cA,dk,cq,cJ,cM,cY,dp,cK,cZ,c1,cE,cr,da,c5,di,ch,cH,dc="sizzle"+-(new Date()),cL=dh.document,dl=0,c6=0,cc=cC(),db=cC(),cI=cC(),cG=function(dq,e){if(dq===e){cZ=true}return 0},dg=typeof undefined,cS=1<<31,cQ=({}).hasOwnProperty,de=[],df=de.pop,cO=de.push,ca=de.push,cp=de.slice,cg=de.indexOf||function(dr){var dq=0,e=this.length;for(;dq<e;dq++){if(this[dq]===dr){return dq}}return -1},cb="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",cs="[\\x20\\t\\r\\n\\f]",b9="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",cN=b9.replace("w","w#"),c8="\\["+cs+"*("+b9+")"+cs+"*(?:([*^$|!~]?=)"+cs+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+cN+")|)|)"+cs+"*\\]",cn=":("+b9+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+c8.replace(3,8)+")*)|.*)\\)|)",cu=new RegExp("^"+cs+"+|((?:^|[^\\\\])(?:\\\\.)*)"+cs+"+$","g"),cx=new RegExp("^"+cs+"*,"+cs+"*"),cD=new RegExp("^"+cs+"*([>+~]|"+cs+")"+cs+"*"),cw=new RegExp("="+cs+"*([^\\]'\"]*?)"+cs+"*\\]","g"),cU=new RegExp(cn),cW=new RegExp("^"+cN+"$"),c4={ID:new RegExp("^#("+b9+")"),CLASS:new RegExp("^\\.("+b9+")"),TAG:new RegExp("^("+b9.replace("w","w*")+")"),ATTR:new RegExp("^"+c8),PSEUDO:new RegExp("^"+cn),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+cs+"*(even|odd|(([+-]|)(\\d*)n|)"+cs+"*(?:([+-]|)"+cs+"*(\\d+)|))"+cs+"*\\)|)","i"),bool:new RegExp("^(?:"+cb+")$","i"),needsContext:new RegExp("^"+cs+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+cs+"*((?:-\\d)?\\d*)"+cs+"*\\)|)(?=[^-]|$)","i")},cf=/^(?:input|select|textarea|button)$/i,co=/^h\d$/i,cR=/^[^{]+\{\s*\[native \w/,cT=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,c3=/[+~]/,cP=/'|\\/g,cv=new RegExp("\\\\([\\da-f]{1,6}"+cs+"?|("+cs+")|.)","ig"),c7=function(e,ds,dq){var dr="0x"+ds-65536;return dr!==dr||dq?ds:dr<0?String.fromCharCode(dr+65536):String.fromCharCode(dr>>10|55296,dr&1023|56320)};try{ca.apply((de=cp.call(cL.childNodes)),cL.childNodes);de[cL.childNodes.length].nodeType}catch(cF){ca={apply:de.length?function(dq,e){cO.apply(dq,cp.call(e))}:function(ds,dr){var e=ds.length,dq=0;while((ds[e++]=dr[dq++])){}ds.length=e-1}}}function cy(dx,dq,dB,dD){var dC,du,dv,dz,dA,dt,ds,e,dr,dy;if((dq?dq.ownerDocument||dq:cL)!==cE){c1(dq)}dq=dq||cE;dB=dB||[];if(!dx||typeof dx!=="string"){return dB}if((dz=dq.nodeType)!==1&&dz!==9){return[]}if(da&&!dD){if((dC=cT.exec(dx))){if((dv=dC[1])){if(dz===9){du=dq.getElementById(dv);if(du&&du.parentNode){if(du.id===dv){dB.push(du);return dB}}else{return dB}}else{if(dq.ownerDocument&&(du=dq.ownerDocument.getElementById(dv))&&cH(dq,du)&&du.id===dv){dB.push(du);return dB}}}else{if(dC[2]){ca.apply(dB,dq.getElementsByTagName(dx));return dB}else{if((dv=dC[3])&&dk.getElementsByClassName&&dq.getElementsByClassName){ca.apply(dB,dq.getElementsByClassName(dv));return dB}}}}if(dk.qsa&&(!c5||!c5.test(dx))){e=ds=dc;dr=dq;dy=dz===9&&dx;if(dz===1&&dq.nodeName.toLowerCase()!=="object"){dt=ck(dx);if((ds=dq.getAttribute("id"))){e=ds.replace(cP,"\\$&")}else{dq.setAttribute("id",e)}e="[id='"+e+"'] ";dA=dt.length;while(dA--){dt[dA]=e+cl(dt[dA])}dr=c3.test(dx)&&cV(dq.parentNode)||dq;dy=dt.join(",")}if(dy){try{ca.apply(dB,dr.querySelectorAll(dy));return dB}catch(dw){}finally{if(!ds){dq.removeAttribute("id")}}}}}return dj(dx.replace(cu,"$1"),dq,dB,dD)}function cC(){var dq=[];function e(dr,ds){if(dq.push(dr+" ")>cq.cacheLength){delete e[dq.shift()]}return(e[dr+" "]=ds)}return e}function cm(e){e[dc]=true;return e}function ci(dq){var ds=cE.createElement("div");try{return !!dq(ds)}catch(dr){return false}finally{if(ds.parentNode){ds.parentNode.removeChild(ds)}ds=null}}function dm(dq,ds){var e=dq.split("|"),dr=dq.length;while(dr--){cq.attrHandle[e[dr]]=ds}}function cd(dq,e){var ds=e&&dq,dr=ds&&dq.nodeType===1&&e.nodeType===1&&(~e.sourceIndex||cS)-(~dq.sourceIndex||cS);if(dr){return dr}if(ds){while((ds=ds.nextSibling)){if(ds===e){return -1}}}return dq?1:-1}function cz(e){return function(dr){var dq=dr.nodeName.toLowerCase();return dq==="input"&&dr.type===e}}function ce(e){return function(dr){var dq=dr.nodeName.toLowerCase();return(dq==="input"||dq==="button")&&dr.type===e}}function c9(e){return cm(function(dq){dq=+dq;return cm(function(dr,dv){var dt,ds=e([],dr.length,dq),du=ds.length;while(du--){if(dr[(dt=ds[du])]){dr[dt]=!(dv[dt]=dr[dt])}}})})}function cV(e){return e&&typeof e.getElementsByTagName!==dg&&e}dk=cy.support={};cM=cy.isXML=function(e){var dq=e&&(e.ownerDocument||e).documentElement;return dq?dq.nodeName!=="HTML":false};c1=cy.setDocument=function(dr){var e,ds=dr?dr.ownerDocument||dr:cL,dq=ds.defaultView;if(ds===cE||ds.nodeType!==9||!ds.documentElement){return cE}cE=ds;cr=ds.documentElement;da=!cM(ds);if(dq&&dq!==dq.top){if(dq.addEventListener){dq.addEventListener("unload",function(){c1()},false)}else{if(dq.attachEvent){dq.attachEvent("onunload",function(){c1()})}}}dk.attributes=ci(function(dt){dt.className="i";return !dt.getAttribute("className")});dk.getElementsByTagName=ci(function(dt){dt.appendChild(ds.createComment(""));return !dt.getElementsByTagName("*").length});dk.getElementsByClassName=cR.test(ds.getElementsByClassName)&&ci(function(dt){dt.innerHTML="<div class='a'></div><div class='a i'></div>";dt.firstChild.className="i";return dt.getElementsByClassName("i").length===2});dk.getById=ci(function(dt){cr.appendChild(dt).id=dc;return !ds.getElementsByName||!ds.getElementsByName(dc).length});if(dk.getById){cq.find.ID=function(dv,du){if(typeof du.getElementById!==dg&&da){var dt=du.getElementById(dv);return dt&&dt.parentNode?[dt]:[]}};cq.filter.ID=function(du){var dt=du.replace(cv,c7);return function(dv){return dv.getAttribute("id")===dt}}}else{delete cq.find.ID;cq.filter.ID=function(du){var dt=du.replace(cv,c7);return function(dw){var dv=typeof dw.getAttributeNode!==dg&&dw.getAttributeNode("id");return dv&&dv.value===dt}}}cq.find.TAG=dk.getElementsByTagName?function(dt,du){if(typeof du.getElementsByTagName!==dg){return du.getElementsByTagName(dt)}}:function(dt,dx){var dy,dw=[],dv=0,du=dx.getElementsByTagName(dt);if(dt==="*"){while((dy=du[dv++])){if(dy.nodeType===1){dw.push(dy)}}return dw}return du};cq.find.CLASS=dk.getElementsByClassName&&function(du,dt){if(typeof dt.getElementsByClassName!==dg&&da){return dt.getElementsByClassName(du)}};di=[];c5=[];if((dk.qsa=cR.test(ds.querySelectorAll))){ci(function(dt){dt.innerHTML="<select t=''><option selected=''></option></select>";if(dt.querySelectorAll("[t^='']").length){c5.push("[*^$]="+cs+"*(?:''|\"\")")}if(!dt.querySelectorAll("[selected]").length){c5.push("\\["+cs+"*(?:value|"+cb+")")}if(!dt.querySelectorAll(":checked").length){c5.push(":checked")}});ci(function(du){var dt=ds.createElement("input");dt.setAttribute("type","hidden");du.appendChild(dt).setAttribute("name","D");if(du.querySelectorAll("[name=d]").length){c5.push("name"+cs+"*[*^$|!~]?=")}if(!du.querySelectorAll(":enabled").length){c5.push(":enabled",":disabled")}du.querySelectorAll("*,:x");c5.push(",.*:")})}if((dk.matchesSelector=cR.test((ch=cr.webkitMatchesSelector||cr.mozMatchesSelector||cr.oMatchesSelector||cr.msMatchesSelector)))){ci(function(dt){dk.disconnectedMatch=ch.call(dt,"div");ch.call(dt,"[s!='']:x");di.push("!=",cn)})}c5=c5.length&&new RegExp(c5.join("|"));di=di.length&&new RegExp(di.join("|"));e=cR.test(cr.compareDocumentPosition);cH=e||cR.test(cr.contains)?function(du,dt){var dw=du.nodeType===9?du.documentElement:du,dv=dt&&dt.parentNode;return du===dv||!!(dv&&dv.nodeType===1&&(dw.contains?dw.contains(dv):du.compareDocumentPosition&&du.compareDocumentPosition(dv)&16))}:function(du,dt){if(dt){while((dt=dt.parentNode)){if(dt===du){return true}}}return false};cG=e?function(du,dt){if(du===dt){cZ=true;return 0}var dv=!du.compareDocumentPosition-!dt.compareDocumentPosition;if(dv){return dv}dv=(du.ownerDocument||du)===(dt.ownerDocument||dt)?du.compareDocumentPosition(dt):1;if(dv&1||(!dk.sortDetached&&dt.compareDocumentPosition(du)===dv)){if(du===ds||du.ownerDocument===cL&&cH(cL,du)){return -1}if(dt===ds||dt.ownerDocument===cL&&cH(cL,dt)){return 1}return cK?(cg.call(cK,du)-cg.call(cK,dt)):0}return dv&4?-1:1}:function(du,dt){if(du===dt){cZ=true;return 0}var dA,dx=0,dz=du.parentNode,dw=dt.parentNode,dv=[du],dy=[dt];if(!dz||!dw){return du===ds?-1:dt===ds?1:dz?-1:dw?1:cK?(cg.call(cK,du)-cg.call(cK,dt)):0}else{if(dz===dw){return cd(du,dt)}}dA=du;while((dA=dA.parentNode)){dv.unshift(dA)}dA=dt;while((dA=dA.parentNode)){dy.unshift(dA)}while(dv[dx]===dy[dx]){dx++}return dx?cd(dv[dx],dy[dx]):dv[dx]===cL?-1:dy[dx]===cL?1:0};return ds};cy.matches=function(dq,e){return cy(dq,null,null,e)};cy.matchesSelector=function(dr,dt){if((dr.ownerDocument||dr)!==cE){c1(dr)}dt=dt.replace(cw,"='$1']");if(dk.matchesSelector&&da&&(!di||!di.test(dt))&&(!c5||!c5.test(dt))){try{var dq=ch.call(dr,dt);if(dq||dk.disconnectedMatch||dr.document&&dr.document.nodeType!==11){return dq}}catch(ds){}}return cy(dt,cE,null,[dr]).length>0};cy.contains=function(e,dq){if((e.ownerDocument||e)!==cE){c1(e)}return cH(e,dq)};cy.attr=function(dr,e){if((dr.ownerDocument||dr)!==cE){c1(dr)}var dq=cq.attrHandle[e.toLowerCase()],ds=dq&&cQ.call(cq.attrHandle,e.toLowerCase())?dq(dr,e,!da):undefined;return ds!==undefined?ds:dk.attributes||!da?dr.getAttribute(e):(ds=dr.getAttributeNode(e))&&ds.specified?ds.value:null};cy.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)};cy.uniqueSort=function(dr){var ds,dt=[],e=0,dq=0;cZ=!dk.detectDuplicates;cK=!dk.sortStable&&dr.slice(0);dr.sort(cG);if(cZ){while((ds=dr[dq++])){if(ds===dr[dq]){e=dt.push(dq)}}while(e--){dr.splice(dt[e],1)}}cK=null;return dr};cJ=cy.getText=function(dt){var ds,dq="",dr=0,e=dt.nodeType;if(!e){while((ds=dt[dr++])){dq+=cJ(ds)}}else{if(e===1||e===9||e===11){if(typeof dt.textContent==="string"){return dt.textContent}else{for(dt=dt.firstChild;dt;dt=dt.nextSibling){dq+=cJ(dt)}}}else{if(e===3||e===4){return dt.nodeValue}}}return dq};cq=cy.selectors={cacheLength:50,createPseudo:cm,match:c4,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:true}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:true},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){e[1]=e[1].replace(cv,c7);e[3]=(e[4]||e[5]||"").replace(cv,c7);if(e[2]==="~="){e[3]=" "+e[3]+" "}return e.slice(0,4)},CHILD:function(e){e[1]=e[1].toLowerCase();if(e[1].slice(0,3)==="nth"){if(!e[3]){cy.error(e[0])}e[4]=+(e[4]?e[5]+(e[6]||1):2*(e[3]==="even"||e[3]==="odd"));e[5]=+((e[7]+e[8])||e[3]==="odd")}else{if(e[3]){cy.error(e[0])}}return e},PSEUDO:function(dq){var e,dr=!dq[5]&&dq[2];if(c4.CHILD.test(dq[0])){return null}if(dq[3]&&dq[4]!==undefined){dq[2]=dq[4]}else{if(dr&&cU.test(dr)&&(e=ck(dr,true))&&(e=dr.indexOf(")",dr.length-e)-dr.length)){dq[0]=dq[0].slice(0,e);dq[2]=dr.slice(0,e)}}return dq.slice(0,3)}},filter:{TAG:function(dq){var e=dq.replace(cv,c7).toLowerCase();return dq==="*"?function(){return true}:function(dr){return dr.nodeName&&dr.nodeName.toLowerCase()===e}},CLASS:function(e){var dq=cc[e+" "];return dq||(dq=new RegExp("(^|"+cs+")"+e+"("+cs+"|$)"))&&cc(e,function(dr){return dq.test(typeof dr.className==="string"&&dr.className||typeof dr.getAttribute!==dg&&dr.getAttribute("class")||"")})},ATTR:function(dr,dq,e){return function(dt){var ds=cy.attr(dt,dr);if(ds==null){return dq==="!="}if(!dq){return true}ds+="";return dq==="="?ds===e:dq==="!="?ds!==e:dq==="^="?e&&ds.indexOf(e)===0:dq==="*="?e&&ds.indexOf(e)>-1:dq==="$="?e&&ds.slice(-e.length)===e:dq==="~="?(" "+ds+" ").indexOf(e)>-1:dq==="|="?ds===e||ds.slice(0,e.length+1)===e+"-":false}},CHILD:function(dq,dt,ds,du,dr){var dw=dq.slice(0,3)!=="nth",e=dq.slice(-4)!=="last",dv=dt==="of-type";return du===1&&dr===0?function(dx){return !!dx.parentNode}:function(dD,dB,dG){var dx,dJ,dE,dI,dF,dA,dC=dw!==e?"nextSibling":"previousSibling",dH=dD.parentNode,dz=dv&&dD.nodeName.toLowerCase(),dy=!dG&&!dv;if(dH){if(dw){while(dC){dE=dD;while((dE=dE[dC])){if(dv?dE.nodeName.toLowerCase()===dz:dE.nodeType===1){return false}}dA=dC=dq==="only"&&!dA&&"nextSibling"}return true}dA=[e?dH.firstChild:dH.lastChild];if(e&&dy){dJ=dH[dc]||(dH[dc]={});dx=dJ[dq]||[];dF=dx[0]===dl&&dx[1];dI=dx[0]===dl&&dx[2];dE=dF&&dH.childNodes[dF];while((dE=++dF&&dE&&dE[dC]||(dI=dF=0)||dA.pop())){if(dE.nodeType===1&&++dI&&dE===dD){dJ[dq]=[dl,dF,dI];break}}}else{if(dy&&(dx=(dD[dc]||(dD[dc]={}))[dq])&&dx[0]===dl){dI=dx[1]}else{while((dE=++dF&&dE&&dE[dC]||(dI=dF=0)||dA.pop())){if((dv?dE.nodeName.toLowerCase()===dz:dE.nodeType===1)&&++dI){if(dy){(dE[dc]||(dE[dc]={}))[dq]=[dl,dI]}if(dE===dD){break}}}}}dI-=dr;return dI===du||(dI%du===0&&dI/du>=0)}}},PSEUDO:function(ds,dr){var e,dq=cq.pseudos[ds]||cq.setFilters[ds.toLowerCase()]||cy.error("unsupported pseudo: "+ds);if(dq[dc]){return dq(dr)}if(dq.length>1){e=[ds,ds,"",dr];return cq.setFilters.hasOwnProperty(ds.toLowerCase())?cm(function(dv,dx){var du,dt=dq(dv,dr),dw=dt.length;while(dw--){du=cg.call(dv,dt[dw]);dv[du]=!(dx[du]=dt[dw])}}):function(dt){return dq(dt,0,e)}}return dq}},pseudos:{not:cm(function(e){var dq=[],dr=[],ds=cY(e.replace(cu,"$1"));return ds[dc]?cm(function(du,dz,dx,dv){var dy,dt=ds(du,null,dv,[]),dw=du.length;while(dw--){if((dy=dt[dw])){du[dw]=!(dz[dw]=dy)}}}):function(dv,du,dt){dq[0]=dv;ds(dq,null,dt,dr);return !dr.pop()}}),has:cm(function(e){return function(dq){return cy(e,dq).length>0}}),contains:cm(function(e){return function(dq){return(dq.textContent||dq.innerText||cJ(dq)).indexOf(e)>-1}}),lang:cm(function(e){if(!cW.test(e||"")){cy.error("unsupported lang: "+e)}e=e.replace(cv,c7).toLowerCase();return function(dr){var dq;do{if((dq=da?dr.lang:dr.getAttribute("xml:lang")||dr.getAttribute("lang"))){dq=dq.toLowerCase();return dq===e||dq.indexOf(e+"-")===0}}while((dr=dr.parentNode)&&dr.nodeType===1);return false}}),target:function(e){var dq=dh.location&&dh.location.hash;return dq&&dq.slice(1)===e.id},root:function(e){return e===cr},focus:function(e){return e===cE.activeElement&&(!cE.hasFocus||cE.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return e.disabled===false},disabled:function(e){return e.disabled===true},checked:function(e){var dq=e.nodeName.toLowerCase();return(dq==="input"&&!!e.checked)||(dq==="option"&&!!e.selected)},selected:function(e){if(e.parentNode){e.parentNode.selectedIndex}return e.selected===true},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling){if(e.nodeType<6){return false}}return true},parent:function(e){return !cq.pseudos.empty(e)},header:function(e){return co.test(e.nodeName)},input:function(e){return cf.test(e.nodeName)},button:function(dq){var e=dq.nodeName.toLowerCase();return e==="input"&&dq.type==="button"||e==="button"},text:function(dq){var e;return dq.nodeName.toLowerCase()==="input"&&dq.type==="text"&&((e=dq.getAttribute("type"))==null||e.toLowerCase()==="text")},first:c9(function(){return[0]}),last:c9(function(e,dq){return[dq-1]}),eq:c9(function(e,dr,dq){return[dq<0?dq+dr:dq]}),even:c9(function(e,dr){var dq=0;for(;dq<dr;dq+=2){e.push(dq)}return e}),odd:c9(function(e,dr){var dq=1;for(;dq<dr;dq+=2){e.push(dq)}return e}),lt:c9(function(e,ds,dr){var dq=dr<0?dr+ds:dr;for(;--dq>=0;){e.push(dq)}return e}),gt:c9(function(e,ds,dr){var dq=dr<0?dr+ds:dr;for(;++dq<ds;){e.push(dq)}return e})}};cq.pseudos.nth=cq.pseudos.eq;for(cA in {radio:true,checkbox:true,file:true,password:true,image:true}){cq.pseudos[cA]=cz(cA)}for(cA in {submit:true,reset:true}){cq.pseudos[cA]=ce(cA)}function cX(){}cX.prototype=cq.filters=cq.pseudos;cq.setFilters=new cX();function ck(dt,dy){var dq,du,dw,dx,dv,dr,e,ds=db[dt+" "];if(ds){return dy?0:ds.slice(0)}dv=dt;dr=[];e=cq.preFilter;while(dv){if(!dq||(du=cx.exec(dv))){if(du){dv=dv.slice(du[0].length)||dv}dr.push((dw=[]))}dq=false;if((du=cD.exec(dv))){dq=du.shift();dw.push({value:dq,type:du[0].replace(cu," ")});dv=dv.slice(dq.length)}for(dx in cq.filter){if((du=c4[dx].exec(dv))&&(!e[dx]||(du=e[dx](du)))){dq=du.shift();dw.push({value:dq,type:dx,matches:du});dv=dv.slice(dq.length)}}if(!dq){break}}return dy?dv.length:dv?cy.error(dt):db(dt,dr).slice(0)}function cl(ds){var dr=0,dq=ds.length,e="";for(;dr<dq;dr++){e+=ds[dr].value}return e}function ct(dt,dr,ds){var e=dr.dir,du=ds&&e==="parentNode",dq=c6++;return dr.first?function(dx,dw,dv){while((dx=dx[e])){if(dx.nodeType===1||du){return dt(dx,dw,dv)}}}:function(dz,dx,dw){var dA,dy,dv=[dl,dq];if(dw){while((dz=dz[e])){if(dz.nodeType===1||du){if(dt(dz,dx,dw)){return true}}}}else{while((dz=dz[e])){if(dz.nodeType===1||du){dy=dz[dc]||(dz[dc]={});if((dA=dy[e])&&dA[0]===dl&&dA[1]===dq){return(dv[2]=dA[2])}else{dy[e]=dv;if((dv[2]=dt(dz,dx,dw))){return true}}}}}}}function dn(e){return e.length>1?function(dt,ds,dq){var dr=e.length;while(dr--){if(!e[dr](dt,ds,dq)){return false}}return true}:e[0]}function c2(e,dq,dr,ds,dv){var dt,dy=[],du=0,dw=e.length,dx=dq!=null;for(;du<dw;du++){if((dt=e[du])){if(!dr||dr(dt,ds,dv)){dy.push(dt);if(dx){dq.push(du)}}}}return dy}function cj(dr,dq,dt,ds,du,e){if(ds&&!ds[dc]){ds=cj(ds)}if(du&&!du[dc]){du=cj(du,e)}return cm(function(dF,dC,dx,dE){var dH,dD,dz,dy=[],dG=[],dw=dC.length,dv=dF||cB(dq||"*",dx.nodeType?[dx]:dx,[]),dA=dr&&(dF||!dq)?c2(dv,dy,dr,dx,dE):dv,dB=dt?du||(dF?dr:dw||ds)?[]:dC:dA;if(dt){dt(dA,dB,dx,dE)}if(ds){dH=c2(dB,dG);ds(dH,[],dx,dE);dD=dH.length;while(dD--){if((dz=dH[dD])){dB[dG[dD]]=!(dA[dG[dD]]=dz)}}}if(dF){if(du||dr){if(du){dH=[];dD=dB.length;while(dD--){if((dz=dB[dD])){dH.push((dA[dD]=dz))}}du(null,(dB=[]),dH,dE)}dD=dB.length;while(dD--){if((dz=dB[dD])&&(dH=du?cg.call(dF,dz):dy[dD])>-1){dF[dH]=!(dC[dH]=dz)}}}}else{dB=c2(dB===dC?dB.splice(dw,dB.length):dB);if(du){du(null,dC,dB,dE)}else{ca.apply(dC,dB)}}})}function dd(dv){var dq,dt,dr,du=dv.length,dy=cq.relative[dv[0].type],dz=dy||cq.relative[" "],ds=dy?1:0,dw=ct(function(dA){return dA===dq},dz,true),dx=ct(function(dA){return cg.call(dq,dA)>-1},dz,true),e=[function(dC,dB,dA){return(!dy&&(dA||dB!==dp))||((dq=dB).nodeType?dw(dC,dB,dA):dx(dC,dB,dA))}];for(;ds<du;ds++){if((dt=cq.relative[dv[ds].type])){e=[ct(dn(e),dt)]}else{dt=cq.filter[dv[ds].type].apply(null,dv[ds].matches);if(dt[dc]){dr=++ds;for(;dr<du;dr++){if(cq.relative[dv[dr].type]){break}}return cj(ds>1&&dn(e),ds>1&&cl(dv.slice(0,ds-1).concat({value:dv[ds-2].type===" "?"*":""})).replace(cu,"$1"),dt,ds<dr&&dd(dv.slice(ds,dr)),dr<du&&dd((dv=dv.slice(dr))),dr<du&&cl(dv))}e.push(dt)}}return dn(e)}function c0(ds,dr){var e=dr.length>0,dt=ds.length>0,dq=function(dD,dx,dC,dB,dG){var dy,dz,dE,dI=0,dA="0",du=dD&&[],dJ=[],dH=dp,dw=dD||dt&&cq.find.TAG("*",dG),dv=(dl+=dH==null?1:Math.random()||0.1),dF=dw.length;if(dG){dp=dx!==cE&&dx}for(;dA!==dF&&(dy=dw[dA])!=null;dA++){if(dt&&dy){dz=0;while((dE=ds[dz++])){if(dE(dy,dx,dC)){dB.push(dy);break}}if(dG){dl=dv}}if(e){if((dy=!dE&&dy)){dI--}if(dD){du.push(dy)}}}dI+=dA;if(e&&dA!==dI){dz=0;while((dE=dr[dz++])){dE(du,dJ,dx,dC)}if(dD){if(dI>0){while(dA--){if(!(du[dA]||dJ[dA])){dJ[dA]=df.call(dB)}}}dJ=c2(dJ)}ca.apply(dB,dJ);if(dG&&!dD&&dJ.length>0&&(dI+dr.length)>1){cy.uniqueSort(dB)}}if(dG){dl=dv;dp=dH}return du};return e?cm(dq):dq}cY=cy.compile=function(e,du){var dr,dq=[],dt=[],ds=cI[e+" "];if(!ds){if(!du){du=ck(e)}dr=du.length;while(dr--){ds=dd(du[dr]);if(ds[dc]){dq.push(ds)}else{dt.push(ds)}}ds=cI(e,c0(dt,dq))}return ds};function cB(dq,dt,ds){var dr=0,e=dt.length;for(;dr<e;dr++){cy(dq,dt[dr],ds)}return ds}function dj(dr,e,ds,dv){var dt,dx,dq,dy,dw,du=ck(dr);if(!dv){if(du.length===1){dx=du[0]=du[0].slice(0);if(dx.length>2&&(dq=dx[0]).type==="ID"&&dk.getById&&e.nodeType===9&&da&&cq.relative[dx[1].type]){e=(cq.find.ID(dq.matches[0].replace(cv,c7),e)||[])[0];if(!e){return ds}dr=dr.slice(dx.shift().value.length)}dt=c4.needsContext.test(dr)?0:dx.length;while(dt--){dq=dx[dt];if(cq.relative[(dy=dq.type)]){break}if((dw=cq.find[dy])){if((dv=dw(dq.matches[0].replace(cv,c7),c3.test(dx[0].type)&&cV(e.parentNode)||e))){dx.splice(dt,1);dr=dv.length&&cl(dx);if(!dr){ca.apply(ds,dv);return ds}break}}}}}cY(dr,du)(dv,e,!da,ds,c3.test(dr)&&cV(e.parentNode)||e);return ds}dk.sortStable=dc.split("").sort(cG).join("")===dc;dk.detectDuplicates=!!cZ;c1();dk.sortDetached=ci(function(e){return e.compareDocumentPosition(cE.createElement("div"))&1});if(!ci(function(e){e.innerHTML="<a href='#'></a>";return e.firstChild.getAttribute("href")==="#"})){dm("type|href|height|width",function(dq,e,dr){if(!dr){return dq.getAttribute(e,e.toLowerCase()==="type"?1:2)}})}if(!dk.attributes||!ci(function(e){e.innerHTML="<input/>";e.firstChild.setAttribute("value","");return e.firstChild.getAttribute("value")===""})){dm("value",function(dq,e,dr){if(!dr&&dq.nodeName.toLowerCase()==="input"){return dq.defaultValue}})}if(!ci(function(e){return e.getAttribute("disabled")==null})){dm(cb,function(dq,e,ds){var dr;if(!ds){return dq[e]===true?e.toLowerCase():(dr=dq.getAttributeNode(e))&&dr.specified?dr.value:null}})}return cy})(a8);bL.find=o;bL.expr=o.selectors;bL.expr[":"]=bL.expr.pseudos;bL.unique=o.uniqueSort;bL.text=o.getText;bL.isXMLDoc=o.isXML;bL.contains=o.contains;var C=bL.expr.match.needsContext;var a=(/^<(\w+)\s*\/?>(?:<\/\1>|)$/);var aO=/^.[^:#\[\.,]*$/;function aU(ca,e,b9){if(bL.isFunction(e)){return bL.grep(ca,function(cc,cb){return !!e.call(cc,cb,cc)!==b9})}if(e.nodeType){return bL.grep(ca,function(cb){return(cb===e)!==b9})}if(typeof e==="string"){if(aO.test(e)){return bL.filter(e,ca,b9)}e=bL.filter(e,ca)}return bL.grep(ca,function(cb){return(bL.inArray(cb,e)>=0)!==b9})}bL.filter=function(cb,e,ca){var b9=e[0];if(ca){cb=":not("+cb+")"}return e.length===1&&b9.nodeType===1?bL.find.matchesSelector(b9,cb)?[b9]:[]:bL.find.matches(cb,bL.grep(e,function(cc){return cc.nodeType===1}))};bL.fn.extend({find:function(b9){var cc,cb=[],ca=this,e=ca.length;if(typeof b9!=="string"){return this.pushStack(bL(b9).filter(function(){for(cc=0;cc<e;cc++){if(bL.contains(ca[cc],this)){return true}}}))}for(cc=0;cc<e;cc++){bL.find(b9,ca[cc],cb)}cb=this.pushStack(e>1?bL.unique(cb):cb);cb.selector=this.selector?this.selector+" "+b9:b9;return cb},filter:function(e){return this.pushStack(aU(this,e||[],false))},not:function(e){return this.pushStack(aU(this,e||[],true))},is:function(e){return !!aU(this,typeof e==="string"&&C.test(e)?bL(e):e||[],false).length}});var B,p=a8.document,bw=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,bY=bL.fn.init=function(e,ca){var b9,cb;if(!e){return this}if(typeof e==="string"){if(e.charAt(0)==="<"&&e.charAt(e.length-1)===">"&&e.length>=3){b9=[null,e,null]}else{b9=bw.exec(e)}if(b9&&(b9[1]||!ca)){if(b9[1]){ca=ca instanceof bL?ca[0]:ca;bL.merge(this,bL.parseHTML(b9[1],ca&&ca.nodeType?ca.ownerDocument||ca:p,true));if(a.test(b9[1])&&bL.isPlainObject(ca)){for(b9 in ca){if(bL.isFunction(this[b9])){this[b9](ca[b9])}else{this.attr(b9,ca[b9])}}}return this}else{cb=p.getElementById(b9[2]);if(cb&&cb.parentNode){if(cb.id!==b9[2]){return B.find(e)}this.length=1;this[0]=cb}this.context=p;this.selector=e;return this}}else{if(!ca||ca.jquery){return(ca||B).find(e)}else{return this.constructor(ca).find(e)}}}else{if(e.nodeType){this.context=this[0]=e;this.length=1;return this}else{if(bL.isFunction(e)){return typeof B.ready!=="undefined"?B.ready(e):e(bL)}}}if(e.selector!==undefined){this.selector=e.selector;this.context=e.context}return bL.makeArray(e,this)};bY.prototype=bL.fn;B=bL(p);var by=/^(?:parents|prev(?:Until|All))/,bC={children:true,contents:true,next:true,prev:true};bL.extend({dir:function(ca,b9,cc){var e=[],cb=ca[b9];while(cb&&cb.nodeType!==9&&(cc===undefined||cb.nodeType!==1||!bL(cb).is(cc))){if(cb.nodeType===1){e.push(cb)}cb=cb[b9]}return e},sibling:function(ca,b9){var e=[];for(;ca;ca=ca.nextSibling){if(ca.nodeType===1&&ca!==b9){e.push(ca)}}return e}});bL.fn.extend({has:function(cb){var ca,b9=bL(cb,this),e=b9.length;return this.filter(function(){for(ca=0;ca<e;ca++){if(bL.contains(this,b9[ca])){return true}}})},closest:function(cc,cb){var cd,ca=0,b9=this.length,e=[],ce=C.test(cc)||typeof cc!=="string"?bL(cc,cb||this.context):0;for(;ca<b9;ca++){for(cd=this[ca];cd&&cd!==cb;cd=cd.parentNode){if(cd.nodeType<11&&(ce?ce.index(cd)>-1:cd.nodeType===1&&bL.find.matchesSelector(cd,cc))){e.push(cd);break}}}return this.pushStack(e.length>1?bL.unique(e):e)},index:function(e){if(!e){return(this[0]&&this[0].parentNode)?this.first().prevAll().length:-1}if(typeof e==="string"){return bL.inArray(this[0],bL(e))}return bL.inArray(e.jquery?e[0]:e,this)},add:function(e,b9){return this.pushStack(bL.unique(bL.merge(this.get(),bL(e,b9))))},addBack:function(e){return this.add(e==null?this.prevObject:this.prevObject.filter(e))}});function a1(b9,e){do{b9=b9[e]}while(b9&&b9.nodeType!==1);return b9}bL.each({parent:function(b9){var e=b9.parentNode;return e&&e.nodeType!==11?e:null},parents:function(e){return bL.dir(e,"parentNode")},parentsUntil:function(b9,e,ca){return bL.dir(b9,"parentNode",ca)},next:function(e){return a1(e,"nextSibling")},prev:function(e){return a1(e,"previousSibling")},nextAll:function(e){return bL.dir(e,"nextSibling")},prevAll:function(e){return bL.dir(e,"previousSibling")},nextUntil:function(b9,e,ca){return bL.dir(b9,"nextSibling",ca)},prevUntil:function(b9,e,ca){return bL.dir(b9,"previousSibling",ca)},siblings:function(e){return bL.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return bL.sibling(e.firstChild)},contents:function(e){return bL.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:bL.merge([],e.childNodes)}},function(e,b9){bL.fn[e]=function(cc,ca){var cb=bL.map(this,b9,cc);if(e.slice(-5)!=="Until"){ca=cc}if(ca&&typeof ca==="string"){cb=bL.filter(ca,cb)}if(this.length>1){if(!bC[e]){cb=bL.unique(cb)}if(by.test(e)){cb=cb.reverse()}}return this.pushStack(cb)}});var aI=(/\S+/g);var b5={};function ai(b9){var e=b5[b9]={};bL.each(b9.match(aI)||[],function(cb,ca){e[ca]=true});return e}bL.Callbacks=function(ci){ci=typeof ci==="string"?(b5[ci]||ai(ci)):bL.extend({},ci);var cc,cb,e,cd,ce,ca,cf=[],cg=!ci.once&&[],b9=function(cj){cb=ci.memory&&cj;e=true;ce=ca||0;ca=0;cd=cf.length;cc=true;for(;cf&&ce<cd;ce++){if(cf[ce].apply(cj[0],cj[1])===false&&ci.stopOnFalse){cb=false;break}}cc=false;if(cf){if(cg){if(cg.length){b9(cg.shift())}}else{if(cb){cf=[]}else{ch.disable()}}}},ch={add:function(){if(cf){var ck=cf.length;(function cj(cl){bL.each(cl,function(cn,cm){var co=bL.type(cm);if(co==="function"){if(!ci.unique||!ch.has(cm)){cf.push(cm)}}else{if(cm&&cm.length&&co!=="string"){cj(cm)}}})})(arguments);if(cc){cd=cf.length}else{if(cb){ca=ck;b9(cb)}}}return this},remove:function(){if(cf){bL.each(arguments,function(cl,cj){var ck;while((ck=bL.inArray(cj,cf,ck))>-1){cf.splice(ck,1);if(cc){if(ck<=cd){cd--}if(ck<=ce){ce--}}}})}return this},has:function(cj){return cj?bL.inArray(cj,cf)>-1:!!(cf&&cf.length)},empty:function(){cf=[];cd=0;return this},disable:function(){cf=cg=cb=undefined;return this},disabled:function(){return !cf},lock:function(){cg=undefined;if(!cb){ch.disable()}return this},locked:function(){return !cg},fireWith:function(ck,cj){if(cf&&(!e||cg)){cj=cj||[];cj=[ck,cj.slice?cj.slice():cj];if(cc){cg.push(cj)}else{b9(cj)}}return this},fire:function(){ch.fireWith(this,arguments);return this},fired:function(){return !!e}};return ch};bL.extend({Deferred:function(ca){var b9=[["resolve","done",bL.Callbacks("once memory"),"resolved"],["reject","fail",bL.Callbacks("once memory"),"rejected"],["notify","progress",bL.Callbacks("memory")]],cb="pending",cc={state:function(){return cb},always:function(){e.done(arguments).fail(arguments);return this},then:function(){var cd=arguments;return bL.Deferred(function(ce){bL.each(b9,function(cg,cf){var ch=bL.isFunction(cd[cg])&&cd[cg];e[cf[1]](function(){var ci=ch&&ch.apply(this,arguments);if(ci&&bL.isFunction(ci.promise)){ci.promise().done(ce.resolve).fail(ce.reject).progress(ce.notify)}else{ce[cf[0]+"With"](this===cc?ce.promise():this,ch?[ci]:arguments)}})});cd=null}).promise()},promise:function(cd){return cd!=null?bL.extend(cd,cc):cc}},e={};cc.pipe=cc.then;bL.each(b9,function(ce,cd){var cg=cd[2],cf=cd[3];cc[cd[1]]=cg.add;if(cf){cg.add(function(){cb=cf},b9[ce^1][2].disable,b9[2][2].lock)}e[cd[0]]=function(){e[cd[0]+"With"](this===e?cc:this,arguments);return this};e[cd[0]+"With"]=cg.fireWith});cc.promise(e);if(ca){ca.call(e,e)}return e},when:function(cc){var ca=0,ce=R.call(arguments),e=ce.length,b9=e!==1||(cc&&bL.isFunction(cc.promise))?e:0,ch=b9===1?cc:bL.Deferred(),cb=function(cj,ck,ci){return function(cl){ck[cj]=this;ci[cj]=arguments.length>1?R.call(arguments):cl;if(ci===cg){ch.notifyWith(ck,ci)}else{if(!(--b9)){ch.resolveWith(ck,ci)}}}},cg,cd,cf;if(e>1){cg=new Array(e);cd=new Array(e);cf=new Array(e);for(;ca<e;ca++){if(ce[ca]&&bL.isFunction(ce[ca].promise)){ce[ca].promise().done(cb(ca,cf,ce)).fail(ch.reject).progress(cb(ca,cd,cg))}else{--b9}}}if(!b9){ch.resolveWith(cf,ce)}return ch.promise()}});var an;bL.fn.ready=function(e){bL.ready.promise().done(e);return this};bL.extend({isReady:false,readyWait:1,holdReady:function(e){if(e){bL.readyWait++}else{bL.ready(true)}},ready:function(e){if(e===true?--bL.readyWait:bL.isReady){return}if(!p.body){return setTimeout(bL.ready)}bL.isReady=true;if(e!==true&&--bL.readyWait>0){return}an.resolveWith(p,[bL]);if(bL.fn.trigger){bL(p).trigger("ready").off("ready")}}});function bp(){if(p.addEventListener){p.removeEventListener("DOMContentLoaded",b2,false);a8.removeEventListener("load",b2,false)}else{p.detachEvent("onreadystatechange",b2);a8.detachEvent("onload",b2)}}function b2(){if(p.addEventListener||event.type==="load"||p.readyState==="complete"){bp();bL.ready()}}bL.ready.promise=function(cc){if(!an){an=bL.Deferred();if(p.readyState==="complete"){setTimeout(bL.ready)}else{if(p.addEventListener){p.addEventListener("DOMContentLoaded",b2,false);a8.addEventListener("load",b2,false)}else{p.attachEvent("onreadystatechange",b2);a8.attachEvent("onload",b2);var cb=false;try{cb=a8.frameElement==null&&p.documentElement}catch(ca){}if(cb&&cb.doScroll){(function b9(){if(!bL.isReady){try{cb.doScroll("left")}catch(cd){return setTimeout(b9,50)}bp();bL.ready()}})()}}}}return an.promise(cc)};var aF=typeof undefined;var bk;for(bk in bL(F)){break}F.ownLast=bk!=="0";F.inlineBlockNeedsLayout=false;bL(function(){var b9,ca,e=p.getElementsByTagName("body")[0];if(!e){return}b9=p.createElement("div");b9.style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px";ca=p.createElement("div");e.appendChild(b9).appendChild(ca);if(typeof ca.style.zoom!==aF){ca.style.cssText="border:0;margin:0;width:1px;padding:1px;display:inline;zoom:1";if((F.inlineBlockNeedsLayout=(ca.offsetWidth===3))){e.style.zoom=1}}e.removeChild(b9);b9=ca=null});(function(){var ca=p.createElement("div");if(F.deleteExpando==null){F.deleteExpando=true;try{delete ca.test}catch(b9){F.deleteExpando=false}}ca=null})();bL.acceptData=function(ca){var b9=bL.noData[(ca.nodeName+" ").toLowerCase()],e=+ca.nodeType||1;return e!==1&&e!==9?false:!b9||b9!==true&&ca.getAttribute("classid")===b9};var bB=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,aT=/([A-Z])/g;function bD(cb,ca,cc){if(cc===undefined&&cb.nodeType===1){var b9="data-"+ca.replace(aT,"-$1").toLowerCase();cc=cb.getAttribute(b9);if(typeof cc==="string"){try{cc=cc==="true"?true:cc==="false"?false:cc==="null"?null:+cc+""===cc?+cc:bB.test(cc)?bL.parseJSON(cc):cc}catch(cd){}bL.data(cb,ca,cc)}else{cc=undefined}}return cc}function S(b9){var e;for(e in b9){if(e==="data"&&bL.isEmptyObject(b9[e])){continue}if(e!=="toJSON"){return false}}return true}function bf(cb,b9,cd,cc){if(!bL.acceptData(cb)){return}var cf,ce,cg=bL.expando,ch=cb.nodeType,e=ch?bL.cache:cb,ca=ch?cb[cg]:cb[cg]&&cg;if((!ca||!e[ca]||(!cc&&!e[ca].data))&&cd===undefined&&typeof b9==="string"){return}if(!ca){if(ch){ca=cb[cg]=aS.pop()||bL.guid++}else{ca=cg}}if(!e[ca]){e[ca]=ch?{}:{toJSON:bL.noop}}if(typeof b9==="object"||typeof b9==="function"){if(cc){e[ca]=bL.extend(e[ca],b9)}else{e[ca].data=bL.extend(e[ca].data,b9)}}ce=e[ca];if(!cc){if(!ce.data){ce.data={}}ce=ce.data}if(cd!==undefined){ce[bL.camelCase(b9)]=cd}if(typeof b9==="string"){cf=ce[b9];if(cf==null){cf=ce[bL.camelCase(b9)]}}else{cf=ce}return cf}function ae(cc,ca,e){if(!bL.acceptData(cc)){return}var ce,cb,cd=cc.nodeType,b9=cd?bL.cache:cc,cf=cd?cc[bL.expando]:bL.expando;if(!b9[cf]){return}if(ca){ce=e?b9[cf]:b9[cf].data;if(ce){if(!bL.isArray(ca)){if(ca in ce){ca=[ca]}else{ca=bL.camelCase(ca);if(ca in ce){ca=[ca]}else{ca=ca.split(" ")}}}else{ca=ca.concat(bL.map(ca,bL.camelCase))}cb=ca.length;while(cb--){delete ce[ca[cb]]}if(e?!S(ce):!bL.isEmptyObject(ce)){return}}}if(!e){delete b9[cf].data;if(!S(b9[cf])){return}}if(cd){bL.cleanData([cc],true)}else{if(F.deleteExpando||b9!=b9.window){delete b9[cf]}else{b9[cf]=null}}}bL.extend({cache:{},noData:{"applet ":true,"embed ":true,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(e){e=e.nodeType?bL.cache[e[bL.expando]]:e[bL.expando];return !!e&&!S(e)},data:function(b9,e,ca){return bf(b9,e,ca)},removeData:function(b9,e){return ae(b9,e)},_data:function(b9,e,ca){return bf(b9,e,ca,true)},_removeData:function(b9,e){return ae(b9,e,true)}});bL.fn.extend({data:function(cb,ce){var ca,b9,cd,cc=this[0],e=cc&&cc.attributes;if(cb===undefined){if(this.length){cd=bL.data(cc);if(cc.nodeType===1&&!bL._data(cc,"parsedAttrs")){ca=e.length;while(ca--){b9=e[ca].name;if(b9.indexOf("data-")===0){b9=bL.camelCase(b9.slice(5));bD(cc,b9,cd[b9])}}bL._data(cc,"parsedAttrs",true)}}return cd}if(typeof cb==="object"){return this.each(function(){bL.data(this,cb)})}return arguments.length>1?this.each(function(){bL.data(this,cb,ce)}):cc?bD(cc,cb,bL.data(cc,cb)):undefined},removeData:function(e){return this.each(function(){bL.removeData(this,e)})}});bL.extend({queue:function(ca,b9,cb){var e;if(ca){b9=(b9||"fx")+"queue";e=bL._data(ca,b9);if(cb){if(!e||bL.isArray(cb)){e=bL._data(ca,b9,bL.makeArray(cb))}else{e.push(cb)}}return e||[]}},dequeue:function(cd,cc){cc=cc||"fx";var b9=bL.queue(cd,cc),ce=b9.length,cb=b9.shift(),e=bL._queueHooks(cd,cc),ca=function(){bL.dequeue(cd,cc)};if(cb==="inprogress"){cb=b9.shift();ce--}if(cb){if(cc==="fx"){b9.unshift("inprogress")}delete e.stop;cb.call(cd,ca,e)}if(!ce&&e){e.empty.fire()}},_queueHooks:function(ca,b9){var e=b9+"queueHooks";return bL._data(ca,e)||bL._data(ca,e,{empty:bL.Callbacks("once memory").add(function(){bL._removeData(ca,b9+"queue");bL._removeData(ca,e)})})}});bL.fn.extend({queue:function(e,b9){var ca=2;if(typeof e!=="string"){b9=e;e="fx";ca--}if(arguments.length<ca){return bL.queue(this[0],e)}return b9===undefined?this:this.each(function(){var cb=bL.queue(this,e,b9);bL._queueHooks(this,e);if(e==="fx"&&cb[0]!=="inprogress"){bL.dequeue(this,e)}})},dequeue:function(e){return this.each(function(){bL.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(ca,ce){var b9,cb=1,cf=bL.Deferred(),cd=this,e=this.length,cc=function(){if(!(--cb)){cf.resolveWith(cd,[cd])}};if(typeof ca!=="string"){ce=ca;ca=undefined}ca=ca||"fx";while(e--){b9=bL._data(cd[e],ca+"queueHooks");if(b9&&b9.empty){cb++;b9.empty.add(cc)}}cc();return cf.promise(ce)}});var aH=(/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/).source;var bW=["Top","Right","Bottom","Left"];var U=function(b9,e){b9=e||b9;return bL.css(b9,"display")==="none"||!bL.contains(b9.ownerDocument,b9)};var aE=bL.access=function(e,cd,cf,ce,cb,ch,cg){var ca=0,b9=e.length,cc=cf==null;if(bL.type(cf)==="object"){cb=true;for(ca in cf){bL.access(e,cd,ca,cf[ca],true,ch,cg)}}else{if(ce!==undefined){cb=true;if(!bL.isFunction(ce)){cg=true}if(cc){if(cg){cd.call(e,ce);cd=null}else{cc=cd;cd=function(cj,ci,ck){return cc.call(bL(cj),ck)}}}if(cd){for(;ca<b9;ca++){cd(e[ca],cf,cg?ce:ce.call(e[ca],ca,cd(e[ca],cf)))}}}}return cb?e:cc?cd.call(e):b9?cd(e[0],cf):ch};var aP=(/^(?:checkbox|radio)$/i);(function(){var ca=p.createDocumentFragment(),cc=p.createElement("div"),b9=p.createElement("input");cc.setAttribute("className","t");cc.innerHTML="  <link/><table></table><a href='/a'>a</a>";F.leadingWhitespace=cc.firstChild.nodeType===3;F.tbody=!cc.getElementsByTagName("tbody").length;F.htmlSerialize=!!cc.getElementsByTagName("link").length;F.html5Clone=p.createElement("nav").cloneNode(true).outerHTML!=="<:nav></:nav>";b9.type="checkbox";b9.checked=true;ca.appendChild(b9);F.appendChecked=b9.checked;cc.innerHTML="<textarea>x</textarea>";F.noCloneChecked=!!cc.cloneNode(true).lastChild.defaultValue;ca.appendChild(cc);cc.innerHTML="<input type='radio' checked='checked' name='t'/>";F.checkClone=cc.cloneNode(true).cloneNode(true).lastChild.checked;F.noCloneEvent=true;if(cc.attachEvent){cc.attachEvent("onclick",function(){F.noCloneEvent=false});cc.cloneNode(true).click()}if(F.deleteExpando==null){F.deleteExpando=true;try{delete cc.test}catch(cb){F.deleteExpando=false}}ca=cc=b9=null})();(function(){var b9,e,ca=p.createElement("div");for(b9 in {submit:true,change:true,focusin:true}){e="on"+b9;if(!(F[b9+"Bubbles"]=e in a8)){ca.setAttribute(e,"t");F[b9+"Bubbles"]=ca.attributes[e].expando===false}}ca=null})();var bJ=/^(?:input|select|textarea)$/i,a9=/^key/,bP=/^(?:mouse|contextmenu)|click/,bF=/^(?:focusinfocus|focusoutblur)$/,bA=/^([^.]*)(?:\.(.+)|)$/;function W(){return true}function ab(){return false}function ap(){try{return p.activeElement}catch(e){}}bL.event={global:{},add:function(cc,ch,cm,ce,cd){var cf,cn,co,ca,cj,cg,cl,cb,ck,e,b9,ci=bL._data(cc);if(!ci){return}if(cm.handler){ca=cm;cm=ca.handler;cd=ca.selector}if(!cm.guid){cm.guid=bL.guid++}if(!(cn=ci.events)){cn=ci.events={}}if(!(cg=ci.handle)){cg=ci.handle=function(cp){return typeof bL!==aF&&(!cp||bL.event.triggered!==cp.type)?bL.event.dispatch.apply(cg.elem,arguments):undefined};cg.elem=cc}ch=(ch||"").match(aI)||[""];co=ch.length;while(co--){cf=bA.exec(ch[co])||[];ck=b9=cf[1];e=(cf[2]||"").split(".").sort();if(!ck){continue}cj=bL.event.special[ck]||{};ck=(cd?cj.delegateType:cj.bindType)||ck;cj=bL.event.special[ck]||{};cl=bL.extend({type:ck,origType:b9,data:ce,handler:cm,guid:cm.guid,selector:cd,needsContext:cd&&bL.expr.match.needsContext.test(cd),namespace:e.join(".")},ca);if(!(cb=cn[ck])){cb=cn[ck]=[];cb.delegateCount=0;if(!cj.setup||cj.setup.call(cc,ce,e,cg)===false){if(cc.addEventListener){cc.addEventListener(ck,cg,false)}else{if(cc.attachEvent){cc.attachEvent("on"+ck,cg)}}}}if(cj.add){cj.add.call(cc,cl);if(!cl.handler.guid){cl.handler.guid=cm.guid}}if(cd){cb.splice(cb.delegateCount++,0,cl)}else{cb.push(cl)}bL.event.global[ck]=true}cc=null},remove:function(cb,ch,co,cc,cg){var ce,cl,cf,cd,cn,cm,cj,ca,ck,e,b9,ci=bL.hasData(cb)&&bL._data(cb);if(!ci||!(cm=ci.events)){return}ch=(ch||"").match(aI)||[""];cn=ch.length;while(cn--){cf=bA.exec(ch[cn])||[];ck=b9=cf[1];e=(cf[2]||"").split(".").sort();if(!ck){for(ck in cm){bL.event.remove(cb,ck+ch[cn],co,cc,true)}continue}cj=bL.event.special[ck]||{};ck=(cc?cj.delegateType:cj.bindType)||ck;ca=cm[ck]||[];cf=cf[2]&&new RegExp("(^|\\.)"+e.join("\\.(?:.*\\.|)")+"(\\.|$)");cd=ce=ca.length;while(ce--){cl=ca[ce];if((cg||b9===cl.origType)&&(!co||co.guid===cl.guid)&&(!cf||cf.test(cl.namespace))&&(!cc||cc===cl.selector||cc==="**"&&cl.selector)){ca.splice(ce,1);if(cl.selector){ca.delegateCount--}if(cj.remove){cj.remove.call(cb,cl)}}}if(cd&&!ca.length){if(!cj.teardown||cj.teardown.call(cb,e,ci.handle)===false){bL.removeEvent(cb,ck,ci.handle)}delete cm[ck]}}if(bL.isEmptyObject(cm)){delete ci.handle;bL._removeData(cb,"events")}},trigger:function(b9,cg,cc,cn){var ch,cb,cl,cm,cj,cf,ce,cd=[cc||p],ck=M.call(b9,"type")?b9.type:b9,ca=M.call(b9,"namespace")?b9.namespace.split("."):[];cl=cf=cc=cc||p;if(cc.nodeType===3||cc.nodeType===8){return}if(bF.test(ck+bL.event.triggered)){return}if(ck.indexOf(".")>=0){ca=ck.split(".");ck=ca.shift();ca.sort()}cb=ck.indexOf(":")<0&&"on"+ck;b9=b9[bL.expando]?b9:new bL.Event(ck,typeof b9==="object"&&b9);b9.isTrigger=cn?2:3;b9.namespace=ca.join(".");b9.namespace_re=b9.namespace?new RegExp("(^|\\.)"+ca.join("\\.(?:.*\\.|)")+"(\\.|$)"):null;b9.result=undefined;if(!b9.target){b9.target=cc}cg=cg==null?[b9]:bL.makeArray(cg,[b9]);cj=bL.event.special[ck]||{};if(!cn&&cj.trigger&&cj.trigger.apply(cc,cg)===false){return}if(!cn&&!cj.noBubble&&!bL.isWindow(cc)){cm=cj.delegateType||ck;if(!bF.test(cm+ck)){cl=cl.parentNode}for(;cl;cl=cl.parentNode){cd.push(cl);cf=cl}if(cf===(cc.ownerDocument||p)){cd.push(cf.defaultView||cf.parentWindow||a8)}}ce=0;while((cl=cd[ce++])&&!b9.isPropagationStopped()){b9.type=ce>1?cm:cj.bindType||ck;ch=(bL._data(cl,"events")||{})[b9.type]&&bL._data(cl,"handle");if(ch){ch.apply(cl,cg)}ch=cb&&cl[cb];if(ch&&ch.apply&&bL.acceptData(cl)){b9.result=ch.apply(cl,cg);if(b9.result===false){b9.preventDefault()}}}b9.type=ck;if(!cn&&!b9.isDefaultPrevented()){if((!cj._default||cj._default.apply(cd.pop(),cg)===false)&&bL.acceptData(cc)){if(cb&&cc[ck]&&!bL.isWindow(cc)){cf=cc[cb];if(cf){cc[cb]=null}bL.event.triggered=ck;try{cc[ck]()}catch(ci){}bL.event.triggered=undefined;if(cf){cc[cb]=cf}}}}return b9.result},dispatch:function(e){e=bL.event.fix(e);var cc,cd,ch,b9,cb,cg=[],cf=R.call(arguments),ca=(bL._data(this,"events")||{})[e.type]||[],ce=bL.event.special[e.type]||{};cf[0]=e;e.delegateTarget=this;if(ce.preDispatch&&ce.preDispatch.call(this,e)===false){return}cg=bL.event.handlers.call(this,e,ca);cc=0;while((b9=cg[cc++])&&!e.isPropagationStopped()){e.currentTarget=b9.elem;cb=0;while((ch=b9.handlers[cb++])&&!e.isImmediatePropagationStopped()){if(!e.namespace_re||e.namespace_re.test(ch.namespace)){e.handleObj=ch;e.data=ch.data;cd=((bL.event.special[ch.origType]||{}).handle||ch.handler).apply(b9.elem,cf);if(cd!==undefined){if((e.result=cd)===false){e.preventDefault();e.stopPropagation()}}}}}if(ce.postDispatch){ce.postDispatch.call(this,e)}return e.result},handlers:function(e,ca){var b9,cf,cd,cc,ce=[],cb=ca.delegateCount,cg=e.target;if(cb&&cg.nodeType&&(!e.button||e.type!=="click")){for(;cg!=this;cg=cg.parentNode||this){if(cg.nodeType===1&&(cg.disabled!==true||e.type!=="click")){cd=[];for(cc=0;cc<cb;cc++){cf=ca[cc];b9=cf.selector+" ";if(cd[b9]===undefined){cd[b9]=cf.needsContext?bL(b9,this).index(cg)>=0:bL.find(b9,this,null,[cg]).length}if(cd[b9]){cd.push(cf)}}if(cd.length){ce.push({elem:cg,handlers:cd})}}}}if(cb<ca.length){ce.push({elem:this,handlers:ca.slice(cb)})}return ce},fix:function(cb){if(cb[bL.expando]){return cb}var b9,ce,cd,ca=cb.type,e=cb,cc=this.fixHooks[ca];if(!cc){this.fixHooks[ca]=cc=bP.test(ca)?this.mouseHooks:a9.test(ca)?this.keyHooks:{}}cd=cc.props?this.props.concat(cc.props):this.props;cb=new bL.Event(e);b9=cd.length;while(b9--){ce=cd[b9];cb[ce]=e[ce]}if(!cb.target){cb.target=e.srcElement||p}if(cb.target.nodeType===3){cb.target=cb.target.parentNode}cb.metaKey=!!cb.metaKey;return cc.filter?cc.filter(cb,e):cb},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(b9,e){if(b9.which==null){b9.which=e.charCode!=null?e.charCode:e.keyCode}return b9}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(cb,ca){var e,cc,cd,b9=ca.button,ce=ca.fromElement;if(cb.pageX==null&&ca.clientX!=null){cc=cb.target.ownerDocument||p;cd=cc.documentElement;e=cc.body;cb.pageX=ca.clientX+(cd&&cd.scrollLeft||e&&e.scrollLeft||0)-(cd&&cd.clientLeft||e&&e.clientLeft||0);cb.pageY=ca.clientY+(cd&&cd.scrollTop||e&&e.scrollTop||0)-(cd&&cd.clientTop||e&&e.clientTop||0)}if(!cb.relatedTarget&&ce){cb.relatedTarget=ce===cb.target?ca.toElement:ce}if(!cb.which&&b9!==undefined){cb.which=(b9&1?1:(b9&2?3:(b9&4?2:0)))}return cb}},special:{load:{noBubble:true},focus:{trigger:function(){if(this!==ap()&&this.focus){try{this.focus();return false}catch(b9){}}},delegateType:"focusin"},blur:{trigger:function(){if(this===ap()&&this.blur){this.blur();return false}},delegateType:"focusout"},click:{trigger:function(){if(bL.nodeName(this,"input")&&this.type==="checkbox"&&this.click){this.click();return false}},_default:function(e){return bL.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){if(e.result!==undefined){e.originalEvent.returnValue=e.result}}}},simulate:function(ca,cc,cb,b9){var cd=bL.extend(new bL.Event(),cb,{type:ca,isSimulated:true,originalEvent:{}});if(b9){bL.event.trigger(cd,null,cc)}else{bL.event.dispatch.call(cc,cd)}if(cd.isDefaultPrevented()){cb.preventDefault()}}};bL.removeEvent=p.removeEventListener?function(b9,e,ca){if(b9.removeEventListener){b9.removeEventListener(e,ca,false)}}:function(ca,b9,cb){var e="on"+b9;if(ca.detachEvent){if(typeof ca[e]===aF){ca[e]=null}ca.detachEvent(e,cb)}};bL.Event=function(b9,e){if(!(this instanceof bL.Event)){return new bL.Event(b9,e)}if(b9&&b9.type){this.originalEvent=b9;this.type=b9.type;this.isDefaultPrevented=b9.defaultPrevented||b9.defaultPrevented===undefined&&(b9.returnValue===false||b9.getPreventDefault&&b9.getPreventDefault())?W:ab}else{this.type=b9}if(e){bL.extend(this,e)}this.timeStamp=b9&&b9.timeStamp||bL.now();this[bL.expando]=true};bL.Event.prototype={isDefaultPrevented:ab,isPropagationStopped:ab,isImmediatePropagationStopped:ab,preventDefault:function(){var b9=this.originalEvent;this.isDefaultPrevented=W;if(!b9){return}if(b9.preventDefault){b9.preventDefault()}else{b9.returnValue=false}},stopPropagation:function(){var b9=this.originalEvent;this.isPropagationStopped=W;if(!b9){return}if(b9.stopPropagation){b9.stopPropagation()}b9.cancelBubble=true},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=W;this.stopPropagation()}};bL.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(b9,e){bL.event.special[b9]={delegateType:e,bindType:e,handle:function(cc){var ca,ce=this,cd=cc.relatedTarget,cb=cc.handleObj;if(!cd||(cd!==ce&&!bL.contains(ce,cd))){cc.type=cb.origType;ca=cb.handler.apply(this,arguments);cc.type=e}return ca}}});if(!F.submitBubbles){bL.event.special.submit={setup:function(){if(bL.nodeName(this,"form")){return false}bL.event.add(this,"click._submit keypress._submit",function(cb){var ca=cb.target,b9=bL.nodeName(ca,"input")||bL.nodeName(ca,"button")?ca.form:undefined;if(b9&&!bL._data(b9,"submitBubbles")){bL.event.add(b9,"submit._submit",function(e){e._submit_bubble=true});bL._data(b9,"submitBubbles",true)}})},postDispatch:function(e){if(e._submit_bubble){delete e._submit_bubble;if(this.parentNode&&!e.isTrigger){bL.event.simulate("submit",this.parentNode,e,true)}}},teardown:function(){if(bL.nodeName(this,"form")){return false}bL.event.remove(this,"._submit")}}}if(!F.changeBubbles){bL.event.special.change={setup:function(){if(bJ.test(this.nodeName)){if(this.type==="checkbox"||this.type==="radio"){bL.event.add(this,"propertychange._change",function(e){if(e.originalEvent.propertyName==="checked"){this._just_changed=true}});bL.event.add(this,"click._change",function(e){if(this._just_changed&&!e.isTrigger){this._just_changed=false}bL.event.simulate("change",this,e,true)})}return false}bL.event.add(this,"beforeactivate._change",function(ca){var b9=ca.target;if(bJ.test(b9.nodeName)&&!bL._data(b9,"changeBubbles")){bL.event.add(b9,"change._change",function(e){if(this.parentNode&&!e.isSimulated&&!e.isTrigger){bL.event.simulate("change",this.parentNode,e,true)}});bL._data(b9,"changeBubbles",true)}})},handle:function(b9){var e=b9.target;if(this!==e||b9.isSimulated||b9.isTrigger||(e.type!=="radio"&&e.type!=="checkbox")){return b9.handleObj.handler.apply(this,arguments)}},teardown:function(){bL.event.remove(this,"._change");return !bJ.test(this.nodeName)}}}if(!F.focusinBubbles){bL.each({focus:"focusin",blur:"focusout"},function(ca,e){var b9=function(cb){bL.event.simulate(e,cb.target,bL.event.fix(cb),true)};bL.event.special[e]={setup:function(){var cc=this.ownerDocument||this,cb=bL._data(cc,e);if(!cb){cc.addEventListener(ca,b9,true)}bL._data(cc,e,(cb||0)+1)},teardown:function(){var cc=this.ownerDocument||this,cb=bL._data(cc,e)-1;if(!cb){cc.removeEventListener(ca,b9,true);bL._removeData(cc,e)}else{bL._data(cc,e,cb)}}}})}bL.fn.extend({on:function(ca,e,cd,cc,b9){var cb,ce;if(typeof ca==="object"){if(typeof e!=="string"){cd=cd||e;e=undefined}for(cb in ca){this.on(cb,e,cd,ca[cb],b9)}return this}if(cd==null&&cc==null){cc=e;cd=e=undefined}else{if(cc==null){if(typeof e==="string"){cc=cd;cd=undefined}else{cc=cd;cd=e;e=undefined}}}if(cc===false){cc=ab}else{if(!cc){return this}}if(b9===1){ce=cc;cc=function(cf){bL().off(cf);return ce.apply(this,arguments)};cc.guid=ce.guid||(ce.guid=bL.guid++)}return this.each(function(){bL.event.add(this,ca,cc,cd,e)})},one:function(b9,e,cb,ca){return this.on(b9,e,cb,ca,1)},off:function(ca,e,cc){var b9,cb;if(ca&&ca.preventDefault&&ca.handleObj){b9=ca.handleObj;bL(ca.delegateTarget).off(b9.namespace?b9.origType+"."+b9.namespace:b9.origType,b9.selector,b9.handler);return this}if(typeof ca==="object"){for(cb in ca){this.off(cb,e,ca[cb])}return this}if(e===false||typeof e==="function"){cc=e;e=undefined}if(cc===false){cc=ab}return this.each(function(){bL.event.remove(this,ca,cc,e)})},trigger:function(e,b9){return this.each(function(){bL.event.trigger(e,b9,this)})},triggerHandler:function(e,ca){var b9=this[0];if(b9){return bL.event.trigger(e,ca,b9,true)}}});function D(e){var ca=f.split("|"),b9=e.createDocumentFragment();if(b9.createElement){while(ca.length){b9.createElement(ca.pop())}}return b9}var f="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",aG=/ jQuery\d+="(?:null|\d+)"/g,O=new RegExp("<(?:"+f+")[\\s/>]","i"),b8=/^\s+/,aK=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,q=/<([\w:]+)/,b3=/<tbody/i,N=/<|&#?\w+;/,aq=/<(?:script|style|link)/i,bZ=/checked\s*(?:[^=]|=\s*.checked.)/i,bE=/^$|\/(?:java|ecma)script/i,av=/^true\/(.*)/,aR=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,Y={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:F.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},aW=D(p),l=aW.appendChild(p.createElement("div"));Y.optgroup=Y.option;Y.tbody=Y.tfoot=Y.colgroup=Y.caption=Y.thead;Y.th=Y.td;function n(cb,e){var b9,cc,ca=0,cd=typeof cb.getElementsByTagName!==aF?cb.getElementsByTagName(e||"*"):typeof cb.querySelectorAll!==aF?cb.querySelectorAll(e||"*"):undefined;if(!cd){for(cd=[],b9=cb.childNodes||cb;(cc=b9[ca])!=null;ca++){if(!e||bL.nodeName(cc,e)){cd.push(cc)}else{bL.merge(cd,n(cc,e))}}}return e===undefined||e&&bL.nodeName(cb,e)?bL.merge([cb],cd):cd}function b1(e){if(aP.test(e.type)){e.defaultChecked=e.checked}}function a6(b9,e){return bL.nodeName(b9,"table")&&bL.nodeName(e.nodeType!==11?e:e.firstChild,"tr")?b9.getElementsByTagName("tbody")[0]||b9.appendChild(b9.ownerDocument.createElement("tbody")):b9}function w(e){e.type=(bL.find.attr(e,"type")!==null)+"/"+e.type;return e}function bi(b9){var e=av.exec(b9.type);if(e){b9.type=e[1]}else{b9.removeAttribute("type")}return b9}function bx(e,ca){var cb,b9=0;for(;(cb=e[b9])!=null;b9++){bL._data(cb,"globalEval",!ca||bL._data(ca[b9],"globalEval"))}}function aw(cf,b9){if(b9.nodeType!==1||!bL.hasData(cf)){return}var cc,cb,e,ce=bL._data(cf),cd=bL._data(b9,ce),ca=ce.events;if(ca){delete cd.handle;cd.events={};for(cc in ca){for(cb=0,e=ca[cc].length;cb<e;cb++){bL.event.add(b9,cc,ca[cc][cb])}}}if(cd.data){cd.data=bL.extend({},cd.data)}}function V(cc,b9){var cd,cb,ca;if(b9.nodeType!==1){return}cd=b9.nodeName.toLowerCase();if(!F.noCloneEvent&&b9[bL.expando]){ca=bL._data(b9);for(cb in ca.events){bL.removeEvent(b9,cb,ca.handle)}b9.removeAttribute(bL.expando)}if(cd==="script"&&b9.text!==cc.text){w(b9).text=cc.text;bi(b9)}else{if(cd==="object"){if(b9.parentNode){b9.outerHTML=cc.outerHTML}if(F.html5Clone&&(cc.innerHTML&&!bL.trim(b9.innerHTML))){b9.innerHTML=cc.innerHTML}}else{if(cd==="input"&&aP.test(cc.type)){b9.defaultChecked=b9.checked=cc.checked;if(b9.value!==cc.value){b9.value=cc.value}}else{if(cd==="option"){b9.defaultSelected=b9.selected=cc.defaultSelected}else{if(cd==="input"||cd==="textarea"){b9.defaultValue=cc.defaultValue}}}}}}bL.extend({clone:function(b9,cb,e){var cd,ca,cg,cc,ce,cf=bL.contains(b9.ownerDocument,b9);if(F.html5Clone||bL.isXMLDoc(b9)||!O.test("<"+b9.nodeName+">")){cg=b9.cloneNode(true)}else{l.innerHTML=b9.outerHTML;l.removeChild(cg=l.firstChild)}if((!F.noCloneEvent||!F.noCloneChecked)&&(b9.nodeType===1||b9.nodeType===11)&&!bL.isXMLDoc(b9)){cd=n(cg);ce=n(b9);for(cc=0;(ca=ce[cc])!=null;++cc){if(cd[cc]){V(ca,cd[cc])}}}if(cb){if(e){ce=ce||n(b9);cd=cd||n(cg);for(cc=0;(ca=ce[cc])!=null;cc++){aw(ca,cd[cc])}}else{aw(b9,cg)}}cd=n(cg,"script");if(cd.length>0){bx(cd,!cf&&n(b9,"script"))}cd=ce=ca=null;return cg},buildFragment:function(b9,cb,cg,cl){var ch,cd,cf,ck,cm,cj,ca,ce=b9.length,cc=D(cb),e=[],ci=0;for(;ci<ce;ci++){cd=b9[ci];if(cd||cd===0){if(bL.type(cd)==="object"){bL.merge(e,cd.nodeType?[cd]:cd)}else{if(!N.test(cd)){e.push(cb.createTextNode(cd))}else{ck=ck||cc.appendChild(cb.createElement("div"));cm=(q.exec(cd)||["",""])[1].toLowerCase();ca=Y[cm]||Y._default;ck.innerHTML=ca[1]+cd.replace(aK,"<$1></$2>")+ca[2];ch=ca[0];while(ch--){ck=ck.lastChild}if(!F.leadingWhitespace&&b8.test(cd)){e.push(cb.createTextNode(b8.exec(cd)[0]))}if(!F.tbody){cd=cm==="table"&&!b3.test(cd)?ck.firstChild:ca[1]==="<table>"&&!b3.test(cd)?ck:0;ch=cd&&cd.childNodes.length;while(ch--){if(bL.nodeName((cj=cd.childNodes[ch]),"tbody")&&!cj.childNodes.length){cd.removeChild(cj)}}}bL.merge(e,ck.childNodes);ck.textContent="";while(ck.firstChild){ck.removeChild(ck.firstChild)}ck=cc.lastChild}}}}if(ck){cc.removeChild(ck)}if(!F.appendChecked){bL.grep(n(e,"input"),b1)}ci=0;while((cd=e[ci++])){if(cl&&bL.inArray(cd,cl)!==-1){continue}cf=bL.contains(cd.ownerDocument,cd);ck=n(cc.appendChild(cd),"script");if(cf){bx(ck)}if(cg){ch=0;while((cd=ck[ch++])){if(bE.test(cd.type||"")){cg.push(cd)}}}}ck=null;return cc},cleanData:function(b9,ch){var cb,cg,ca,cc,cd=0,ci=bL.expando,e=bL.cache,ce=F.deleteExpando,cf=bL.event.special;for(;(cb=b9[cd])!=null;cd++){if(ch||bL.acceptData(cb)){ca=cb[ci];cc=ca&&e[ca];if(cc){if(cc.events){for(cg in cc.events){if(cf[cg]){bL.event.remove(cb,cg)}else{bL.removeEvent(cb,cg,cc.handle)}}}if(e[ca]){delete e[ca];if(ce){delete cb[ci]}else{if(typeof cb.removeAttribute!==aF){cb.removeAttribute(ci)}else{cb[ci]=null}}aS.push(ca)}}}}}});bL.fn.extend({text:function(e){return aE(this,function(b9){return b9===undefined?bL.text(this):this.empty().append((this[0]&&this[0].ownerDocument||p).createTextNode(b9))},null,e,arguments.length)},append:function(){return this.domManip(arguments,function(e){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var b9=a6(this,e);b9.appendChild(e)}})},prepend:function(){return this.domManip(arguments,function(e){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var b9=a6(this,e);b9.insertBefore(e,b9.firstChild)}})},before:function(){return this.domManip(arguments,function(e){if(this.parentNode){this.parentNode.insertBefore(e,this)}})},after:function(){return this.domManip(arguments,function(e){if(this.parentNode){this.parentNode.insertBefore(e,this.nextSibling)}})},remove:function(e,cc){var cb,b9=e?bL.filter(e,this):this,ca=0;for(;(cb=b9[ca])!=null;ca++){if(!cc&&cb.nodeType===1){bL.cleanData(n(cb))}if(cb.parentNode){if(cc&&bL.contains(cb.ownerDocument,cb)){bx(n(cb,"script"))}cb.parentNode.removeChild(cb)}}return this},empty:function(){var b9,e=0;for(;(b9=this[e])!=null;e++){if(b9.nodeType===1){bL.cleanData(n(b9,false))}while(b9.firstChild){b9.removeChild(b9.firstChild)}if(b9.options&&bL.nodeName(b9,"select")){b9.options.length=0}}return this},clone:function(b9,e){b9=b9==null?false:b9;e=e==null?b9:e;return this.map(function(){return bL.clone(this,b9,e)})},html:function(e){return aE(this,function(cc){var cb=this[0]||{},ca=0,b9=this.length;if(cc===undefined){return cb.nodeType===1?cb.innerHTML.replace(aG,""):undefined}if(typeof cc==="string"&&!aq.test(cc)&&(F.htmlSerialize||!O.test(cc))&&(F.leadingWhitespace||!b8.test(cc))&&!Y[(q.exec(cc)||["",""])[1].toLowerCase()]){cc=cc.replace(aK,"<$1></$2>");try{for(;ca<b9;ca++){cb=this[ca]||{};if(cb.nodeType===1){bL.cleanData(n(cb,false));cb.innerHTML=cc}}cb=0}catch(cd){}}if(cb){this.empty().append(cc)}},null,e,arguments.length)},replaceWith:function(){var e=arguments[0];this.domManip(arguments,function(b9){e=this.parentNode;bL.cleanData(n(this));if(e){e.replaceChild(b9,this)}});return e&&(e.length||e.nodeType)?this:this.remove()},detach:function(e){return this.remove(e,true)},domManip:function(cg,cl){cg=aC.apply([],cg);var ce,ca,e,cc,cj,cf,cd=0,cb=this.length,ci=this,ck=cb-1,ch=cg[0],b9=bL.isFunction(ch);if(b9||(cb>1&&typeof ch==="string"&&!F.checkClone&&bZ.test(ch))){return this.each(function(cn){var cm=ci.eq(cn);if(b9){cg[0]=ch.call(this,cn,cm.html())}cm.domManip(cg,cl)})}if(cb){cf=bL.buildFragment(cg,this[0].ownerDocument,false,this);ce=cf.firstChild;if(cf.childNodes.length===1){cf=ce}if(ce){cc=bL.map(n(cf,"script"),w);e=cc.length;for(;cd<cb;cd++){ca=cf;if(cd!==ck){ca=bL.clone(ca,true,true);if(e){bL.merge(cc,n(ca,"script"))}}cl.call(this[cd],ca,cd)}if(e){cj=cc[cc.length-1].ownerDocument;bL.map(cc,bi);for(cd=0;cd<e;cd++){ca=cc[cd];if(bE.test(ca.type||"")&&!bL._data(ca,"globalEval")&&bL.contains(cj,ca)){if(ca.src){if(bL._evalUrl){bL._evalUrl(ca.src)}}else{bL.globalEval((ca.text||ca.textContent||ca.innerHTML||"").replace(aR,""))}}}}cf=ce=null}}return this}});bL.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,b9){bL.fn[e]=function(ca){var cb,cd=0,cc=[],cf=bL(ca),ce=cf.length-1;for(;cd<=ce;cd++){cb=cd===ce?this:this.clone(true);bL(cf[cd])[b9](cb);z.apply(cc,cb.get())}return this.pushStack(cc)}});var aL,bo={};function a7(e,cb){var b9=bL(cb.createElement(e)).appendTo(cb.body),ca=a8.getDefaultComputedStyle?a8.getDefaultComputedStyle(b9[0]).display:bL.css(b9[0],"display");b9.detach();return ca}function a3(ca){var b9=p,e=bo[ca];if(!e){e=a7(ca,b9);if(e==="none"||!e){aL=(aL||bL("<iframe frameborder='0' width='0' height='0'/>")).appendTo(b9.documentElement);b9=(aL[0].contentWindow||aL[0].contentDocument).document;b9.write();b9.close();e=a7(ca,b9);aL.detach()}bo[ca]=e}return e}(function(){var e,ca,cb=p.createElement("div"),b9="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;padding:0;margin:0;border:0";cb.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>";e=cb.getElementsByTagName("a")[0];e.style.cssText="float:left;opacity:.5";F.opacity=/^0.5/.test(e.style.opacity);F.cssFloat=!!e.style.cssFloat;cb.style.backgroundClip="content-box";cb.cloneNode(true).style.backgroundClip="";F.clearCloneStyle=cb.style.backgroundClip==="content-box";e=cb=null;F.shrinkWrapBlocks=function(){var cc,cd,cf,ce;if(ca==null){cc=p.getElementsByTagName("body")[0];if(!cc){return}ce="border:0;width:0;height:0;position:absolute;top:0;left:-9999px";cd=p.createElement("div");cf=p.createElement("div");cc.appendChild(cd).appendChild(cf);ca=false;if(typeof cf.style.zoom!==aF){cf.style.cssText=b9+";width:1px;padding:1px;zoom:1";cf.innerHTML="<div></div>";cf.firstChild.style.width="5px";ca=cf.offsetWidth!==3}cc.removeChild(cd);cc=cd=cf=null}return ca}})();var a2=(/^margin/);var aa=new RegExp("^("+aH+")(?!px)[a-z%]+$","i");var bt,I,br=/^(top|right|bottom|left)$/;if(a8.getComputedStyle){bt=function(e){return e.ownerDocument.defaultView.getComputedStyle(e,null)};I=function(cf,b9,ce){var cc,cb,cd,e,ca=cf.style;ce=ce||bt(cf);e=ce?ce.getPropertyValue(b9)||ce[b9]:undefined;if(ce){if(e===""&&!bL.contains(cf.ownerDocument,cf)){e=bL.style(cf,b9)}if(aa.test(e)&&a2.test(b9)){cc=ca.width;cb=ca.minWidth;cd=ca.maxWidth;ca.minWidth=ca.maxWidth=ca.width=e;e=ce.width;ca.width=cc;ca.minWidth=cb;ca.maxWidth=cd}}return e===undefined?e:e+""}}else{if(p.documentElement.currentStyle){bt=function(e){return e.currentStyle};I=function(ce,cb,cd){var cf,b9,e,ca,cc=ce.style;cd=cd||bt(ce);ca=cd?cd[cb]:undefined;if(ca==null&&cc&&cc[cb]){ca=cc[cb]}if(aa.test(ca)&&!br.test(cb)){cf=cc.left;b9=ce.runtimeStyle;e=b9&&b9.left;if(e){b9.left=ce.currentStyle.left}cc.left=cb==="fontSize"?"1em":ca;ca=cc.pixelLeft+"px";cc.left=cf;if(e){b9.left=e}}return ca===undefined?ca:ca+""||"auto"}}}function ba(e,b9){return{get:function(){var ca=e();if(ca==null){return}if(ca){delete this.get;return}return(this.get=b9).apply(this,arguments)}}}(function(){var cf,ch,ca,ce,cd,cg,b9=p.createElement("div"),e="border:0;width:0;height:0;position:absolute;top:0;left:-9999px",cc="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;padding:0;margin:0;border:0";b9.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>";cf=b9.getElementsByTagName("a")[0];cf.style.cssText="float:left;opacity:.5";F.opacity=/^0.5/.test(cf.style.opacity);F.cssFloat=!!cf.style.cssFloat;b9.style.backgroundClip="content-box";b9.cloneNode(true).style.backgroundClip="";F.clearCloneStyle=b9.style.backgroundClip==="content-box";cf=b9=null;bL.extend(F,{reliableHiddenOffsets:function(){if(ch!=null){return ch}var cj,cl,ck,cm=p.createElement("div"),ci=p.getElementsByTagName("body")[0];if(!ci){return}cm.setAttribute("className","t");cm.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>";cj=p.createElement("div");cj.style.cssText=e;ci.appendChild(cj).appendChild(cm);cm.innerHTML="<table><tr><td></td><td>t</td></tr></table>";cl=cm.getElementsByTagName("td");cl[0].style.cssText="padding:0;margin:0;border:0;display:none";ck=(cl[0].offsetHeight===0);cl[0].style.display="";cl[1].style.display="none";ch=ck&&(cl[0].offsetHeight===0);ci.removeChild(cj);cm=ci=null;return ch},boxSizing:function(){if(ca==null){cb()}return ca},boxSizingReliable:function(){if(ce==null){cb()}return ce},pixelPosition:function(){if(cd==null){cb()}return cd},reliableMarginRight:function(){var ci,cj,cl,ck;if(cg==null&&a8.getComputedStyle){ci=p.getElementsByTagName("body")[0];if(!ci){return}cj=p.createElement("div");cl=p.createElement("div");cj.style.cssText=e;ci.appendChild(cj).appendChild(cl);ck=cl.appendChild(p.createElement("div"));ck.style.cssText=cl.style.cssText=cc;ck.style.marginRight=ck.style.width="0";cl.style.width="1px";cg=!parseFloat((a8.getComputedStyle(ck,null)||{}).marginRight);ci.removeChild(cj)}return cg}});function cb(){var cj,ck,ci=p.getElementsByTagName("body")[0];if(!ci){return}cj=p.createElement("div");ck=p.createElement("div");cj.style.cssText=e;ci.appendChild(cj).appendChild(ck);ck.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:absolute;display:block;padding:1px;border:1px;width:4px;margin-top:1%;top:1%";bL.swap(ci,ci.style.zoom!=null?{zoom:1}:{},function(){ca=ck.offsetWidth===4});ce=true;cd=false;cg=true;if(a8.getComputedStyle){cd=(a8.getComputedStyle(ck,null)||{}).top!=="1%";ce=(a8.getComputedStyle(ck,null)||{width:"4px"}).width==="4px"}ci.removeChild(cj);ck=ci=null}})();bL.swap=function(cd,cc,ce,cb){var ca,b9,e={};for(b9 in cc){e[b9]=cd.style[b9];cd.style[b9]=cc[b9]}ca=ce.apply(cd,cb||[]);for(b9 in cc){cd.style[b9]=e[b9]}return ca};var bm=/alpha\([^)]*\)/i,aX=/opacity\s*=\s*([^)]*)/,J=/^(none|table(?!-c[ea]).+)/,be=new RegExp("^("+aH+")(.*)$","i"),X=new RegExp("^([+-])=("+aH+")","i"),bh={position:"absolute",visibility:"hidden",display:"block"},bG={letterSpacing:0,fontWeight:400},az=["Webkit","O","Moz","ms"];function d(cb,b9){if(b9 in cb){return b9}var cc=b9.charAt(0).toUpperCase()+b9.slice(1),e=b9,ca=az.length;while(ca--){b9=az[ca]+cc;if(b9 in cb){return b9}}return e}function u(ce,e){var cf,cc,cd,b9=[],ca=0,cb=ce.length;for(;ca<cb;ca++){cc=ce[ca];if(!cc.style){continue}b9[ca]=bL._data(cc,"olddisplay");cf=cc.style.display;if(e){if(!b9[ca]&&cf==="none"){cc.style.display=""}if(cc.style.display===""&&U(cc)){b9[ca]=bL._data(cc,"olddisplay",a3(cc.nodeName))}}else{if(!b9[ca]){cd=U(cc);if(cf&&cf!=="none"||!cd){bL._data(cc,"olddisplay",cd?cf:bL.css(cc,"display"))}}}}for(ca=0;ca<cb;ca++){cc=ce[ca];if(!cc.style){continue}if(!e||cc.style.display==="none"||cc.style.display===""){cc.style.display=e?b9[ca]||"":"none"}}return ce}function aQ(e,ca,cb){var b9=be.exec(ca);return b9?Math.max(0,b9[1]-(cb||0))+(b9[2]||"px"):ca}function aA(cc,b9,e,ce,cb){var ca=e===(ce?"border":"content")?4:b9==="width"?1:0,cd=0;for(;ca<4;ca+=2){if(e==="margin"){cd+=bL.css(cc,e+bW[ca],true,cb)}if(ce){if(e==="content"){cd-=bL.css(cc,"padding"+bW[ca],true,cb)}if(e!=="margin"){cd-=bL.css(cc,"border"+bW[ca]+"Width",true,cb)}}else{cd+=bL.css(cc,"padding"+bW[ca],true,cb);if(e!=="padding"){cd+=bL.css(cc,"border"+bW[ca]+"Width",true,cb)}}}return cd}function x(cc,b9,e){var cb=true,cd=b9==="width"?cc.offsetWidth:cc.offsetHeight,ca=bt(cc),ce=F.boxSizing()&&bL.css(cc,"boxSizing",false,ca)==="border-box";if(cd<=0||cd==null){cd=I(cc,b9,ca);if(cd<0||cd==null){cd=cc.style[b9]}if(aa.test(cd)){return cd}cb=ce&&(F.boxSizingReliable()||cd===cc.style[b9]);cd=parseFloat(cd)||0}return(cd+aA(cc,b9,e||(ce?"border":"content"),cb,ca))+"px"}bL.extend({cssHooks:{opacity:{get:function(ca,b9){if(b9){var e=I(ca,"opacity");return e===""?"1":e}}}},cssNumber:{columnCount:true,fillOpacity:true,fontWeight:true,lineHeight:true,opacity:true,order:true,orphans:true,widows:true,zIndex:true,zoom:true},cssProps:{"float":F.cssFloat?"cssFloat":"styleFloat"},style:function(cb,ca,ch,cc){if(!cb||cb.nodeType===3||cb.nodeType===8||!cb.style){return}var cf,cg,ci,cd=bL.camelCase(ca),b9=cb.style;ca=bL.cssProps[cd]||(bL.cssProps[cd]=d(b9,cd));ci=bL.cssHooks[ca]||bL.cssHooks[cd];if(ch!==undefined){cg=typeof ch;if(cg==="string"&&(cf=X.exec(ch))){ch=(cf[1]+1)*cf[2]+parseFloat(bL.css(cb,ca));cg="number"}if(ch==null||ch!==ch){return}if(cg==="number"&&!bL.cssNumber[cd]){ch+="px"}if(!F.clearCloneStyle&&ch===""&&ca.indexOf("background")===0){b9[ca]="inherit"}if(!ci||!("set" in ci)||(ch=ci.set(cb,ch,cc))!==undefined){try{b9[ca]="";b9[ca]=ch}catch(ce){}}}else{if(ci&&"get" in ci&&(cf=ci.get(cb,false,cc))!==undefined){return cf}return b9[ca]}},css:function(ce,cc,b9,cd){var cb,cf,e,ca=bL.camelCase(cc);cc=bL.cssProps[ca]||(bL.cssProps[ca]=d(ce.style,ca));e=bL.cssHooks[cc]||bL.cssHooks[ca];if(e&&"get" in e){cf=e.get(ce,true,b9)}if(cf===undefined){cf=I(ce,cc,cd)}if(cf==="normal"&&cc in bG){cf=bG[cc]}if(b9===""||b9){cb=parseFloat(cf);return b9===true||bL.isNumeric(cb)?cb||0:cf}return cf}});bL.each(["height","width"],function(b9,e){bL.cssHooks[e]={get:function(cc,cb,ca){if(cb){return cc.offsetWidth===0&&J.test(bL.css(cc,"display"))?bL.swap(cc,bh,function(){return x(cc,e,ca)}):x(cc,e,ca)}},set:function(cc,cd,ca){var cb=ca&&bt(cc);return aQ(cc,cd,ca?aA(cc,e,ca,F.boxSizing()&&bL.css(cc,"boxSizing",false,cb)==="border-box",cb):0)}}});if(!F.opacity){bL.cssHooks.opacity={get:function(b9,e){return aX.test((e&&b9.currentStyle?b9.currentStyle.filter:b9.style.filter)||"")?(0.01*parseFloat(RegExp.$1))+"":e?"1":""},set:function(cc,cd){var cb=cc.style,b9=cc.currentStyle,e=bL.isNumeric(cd)?"alpha(opacity="+cd*100+")":"",ca=b9&&b9.filter||cb.filter||"";cb.zoom=1;if((cd>=1||cd==="")&&bL.trim(ca.replace(bm,""))===""&&cb.removeAttribute){cb.removeAttribute("filter");if(cd===""||b9&&!b9.filter){return}}cb.filter=bm.test(ca)?ca.replace(bm,e):ca+" "+e}}}bL.cssHooks.marginRight=ba(F.reliableMarginRight,function(b9,e){if(e){return bL.swap(b9,{display:"inline-block"},I,[b9,"marginRight"])}});bL.each({margin:"",padding:"",border:"Width"},function(e,b9){bL.cssHooks[e+b9]={expand:function(cc){var cb=0,ca={},cd=typeof cc==="string"?cc.split(" "):[cc];for(;cb<4;cb++){ca[e+bW[cb]+b9]=cd[cb]||cd[cb-2]||cd[0]}return ca}};if(!a2.test(e)){bL.cssHooks[e+b9].set=aQ}});bL.fn.extend({css:function(e,b9){return aE(this,function(ce,cb,cf){var cd,ca,cg={},cc=0;if(bL.isArray(cb)){cd=bt(ce);ca=cb.length;for(;cc<ca;cc++){cg[cb[cc]]=bL.css(ce,cb[cc],false,cd)}return cg}return cf!==undefined?bL.style(ce,cb,cf):bL.css(ce,cb)},e,b9,arguments.length>1)},show:function(){return u(this,true)},hide:function(){return u(this)},toggle:function(e){if(typeof e==="boolean"){return e?this.show():this.hide()}return this.each(function(){if(U(this)){bL(this).show()}else{bL(this).hide()}})}});function L(ca,b9,cc,e,cb){return new L.prototype.init(ca,b9,cc,e,cb)}bL.Tween=L;L.prototype={constructor:L,init:function(cb,b9,cd,e,cc,ca){this.elem=cb;this.prop=cd;this.easing=cc||"swing";this.options=b9;this.start=this.now=this.cur();this.end=e;this.unit=ca||(bL.cssNumber[cd]?"":"px")},cur:function(){var e=L.propHooks[this.prop];return e&&e.get?e.get(this):L.propHooks._default.get(this)},run:function(ca){var b9,e=L.propHooks[this.prop];if(this.options.duration){this.pos=b9=bL.easing[this.easing](ca,this.options.duration*ca,0,1,this.options.duration)}else{this.pos=b9=ca}this.now=(this.end-this.start)*b9+this.start;if(this.options.step){this.options.step.call(this.elem,this.now,this)}if(e&&e.set){e.set(this)}else{L.propHooks._default.set(this)}return this}};L.prototype.init.prototype=L.prototype;L.propHooks={_default:{get:function(b9){var e;if(b9.elem[b9.prop]!=null&&(!b9.elem.style||b9.elem.style[b9.prop]==null)){return b9.elem[b9.prop]}e=bL.css(b9.elem,b9.prop,"");return !e||e==="auto"?0:e},set:function(e){if(bL.fx.step[e.prop]){bL.fx.step[e.prop](e)}else{if(e.elem.style&&(e.elem.style[bL.cssProps[e.prop]]!=null||bL.cssHooks[e.prop])){bL.style(e.elem,e.prop,e.now+e.unit)}else{e.elem[e.prop]=e.now}}}}};L.propHooks.scrollTop=L.propHooks.scrollLeft={set:function(e){if(e.elem.nodeType&&e.elem.parentNode){e.elem[e.prop]=e.now}}};bL.easing={linear:function(e){return e},swing:function(e){return 0.5-Math.cos(e*Math.PI)/2}};bL.fx=L.prototype.init;bL.fx.step={};var P,ah,bU=/^(?:toggle|show|hide)$/,bM=new RegExp("^(?:([+-])=|)("+aH+")([a-z%]*)$","i"),bS=/queueHooks$/,aJ=[j],a5={"*":[function(e,ce){var cg=this.createTween(e,ce),cc=cg.cur(),cb=bM.exec(ce),cf=cb&&cb[3]||(bL.cssNumber[e]?"":"px"),b9=(bL.cssNumber[e]||cf!=="px"&&+cc)&&bM.exec(bL.css(cg.elem,e)),ca=1,cd=20;if(b9&&b9[3]!==cf){cf=cf||b9[3];cb=cb||[];b9=+cc||1;do{ca=ca||".5";b9=b9/ca;bL.style(cg.elem,e,b9+cf)}while(ca!==(ca=cg.cur()/cc)&&ca!==1&&--cd)}if(cb){b9=cg.start=+b9||+cc||0;cg.unit=cf;cg.end=cb[1]?b9+(cb[1]+1)*cb[2]:+cb[2]}return cg}]};function bq(){setTimeout(function(){P=undefined});return(P=bL.now())}function bK(ca,cc){var cb,e={height:ca},b9=0;cc=cc?1:0;for(;b9<4;b9+=2-cc){cb=bW[b9];e["margin"+cb]=e["padding"+cb]=ca}if(cc){e.opacity=e.width=ca}return e}function bg(cc,ce,cb){var b9,cd=(a5[ce]||[]).concat(a5["*"]),e=0,ca=cd.length;for(;e<ca;e++){if((b9=cd[e].call(cb,ce,cc))){return b9}}}function j(cb,ch,e){var ca,cj,ce,cm,cn,ck,cg,cd,cc=this,ci={},b9=cb.style,cf=cb.nodeType&&U(cb),cl=bL._data(cb,"fxshow");if(!e.queue){cn=bL._queueHooks(cb,"fx");if(cn.unqueued==null){cn.unqueued=0;ck=cn.empty.fire;cn.empty.fire=function(){if(!cn.unqueued){ck()}}}cn.unqueued++;cc.always(function(){cc.always(function(){cn.unqueued--;if(!bL.queue(cb,"fx").length){cn.empty.fire()}})})}if(cb.nodeType===1&&("height" in ch||"width" in ch)){e.overflow=[b9.overflow,b9.overflowX,b9.overflowY];cg=bL.css(cb,"display");cd=a3(cb.nodeName);if(cg==="none"){cg=cd}if(cg==="inline"&&bL.css(cb,"float")==="none"){if(!F.inlineBlockNeedsLayout||cd==="inline"){b9.display="inline-block"}else{b9.zoom=1}}}if(e.overflow){b9.overflow="hidden";if(!F.shrinkWrapBlocks()){cc.always(function(){b9.overflow=e.overflow[0];b9.overflowX=e.overflow[1];b9.overflowY=e.overflow[2]})}}for(ca in ch){cj=ch[ca];if(bU.exec(cj)){delete ch[ca];ce=ce||cj==="toggle";if(cj===(cf?"hide":"show")){if(cj==="show"&&cl&&cl[ca]!==undefined){cf=true}else{continue}}ci[ca]=cl&&cl[ca]||bL.style(cb,ca)}}if(!bL.isEmptyObject(ci)){if(cl){if("hidden" in cl){cf=cl.hidden}}else{cl=bL._data(cb,"fxshow",{})}if(ce){cl.hidden=!cf}if(cf){bL(cb).show()}else{cc.done(function(){bL(cb).hide()})}cc.done(function(){var co;bL._removeData(cb,"fxshow");for(co in ci){bL.style(cb,co,ci[co])}});for(ca in ci){cm=bg(cf?cl[ca]:0,ca,cc);if(!(ca in cl)){cl[ca]=cm.start;if(cf){cm.end=cm.start;cm.start=ca==="width"||ca==="height"?1:0}}}}}function ar(cb,cd){var ca,b9,ce,cc,e;for(ca in cb){b9=bL.camelCase(ca);ce=cd[b9];cc=cb[ca];if(bL.isArray(cc)){ce=cc[1];cc=cb[ca]=cc[0]}if(ca!==b9){cb[b9]=cc;delete cb[ca]}e=bL.cssHooks[b9];if(e&&"expand" in e){cc=e.expand(cc);delete cb[b9];for(ca in cc){if(!(ca in cb)){cb[ca]=cc[ca];cd[ca]=ce}}}else{cd[b9]=ce}}}function g(ca,ce,ch){var ci,e,cd=0,b9=aJ.length,cg=bL.Deferred().always(function(){delete cc.elem}),cc=function(){if(e){return false}var co=P||bq(),cl=Math.max(0,cb.startTime+cb.duration-co),cj=cl/cb.duration||0,cn=1-cj,ck=0,cm=cb.tweens.length;for(;ck<cm;ck++){cb.tweens[ck].run(cn)}cg.notifyWith(ca,[cb,cn,cl]);if(cn<1&&cm){return cl}else{cg.resolveWith(ca,[cb]);return false}},cb=cg.promise({elem:ca,props:bL.extend({},ce),opts:bL.extend(true,{specialEasing:{}},ch),originalProperties:ce,originalOptions:ch,startTime:P||bq(),duration:ch.duration,tweens:[],createTween:function(cl,cj){var ck=bL.Tween(ca,cb.opts,cl,cj,cb.opts.specialEasing[cl]||cb.opts.easing);cb.tweens.push(ck);return ck},stop:function(ck){var cj=0,cl=ck?cb.tweens.length:0;if(e){return this}e=true;for(;cj<cl;cj++){cb.tweens[cj].run(1)}if(ck){cg.resolveWith(ca,[cb,ck])}else{cg.rejectWith(ca,[cb,ck])}return this}}),cf=cb.props;ar(cf,cb.opts.specialEasing);for(;cd<b9;cd++){ci=aJ[cd].call(cb,ca,cf,cb.opts);if(ci){return ci}}bL.map(cf,bg,cb);if(bL.isFunction(cb.opts.start)){cb.opts.start.call(ca,cb)}bL.fx.timer(bL.extend(cc,{elem:ca,anim:cb,queue:cb.opts.queue}));return cb.progress(cb.opts.progress).done(cb.opts.done,cb.opts.complete).fail(cb.opts.fail).always(cb.opts.always)}bL.Animation=bL.extend(g,{tweener:function(b9,cc){if(bL.isFunction(b9)){cc=b9;b9=["*"]}else{b9=b9.split(" ")}var cb,e=0,ca=b9.length;for(;e<ca;e++){cb=b9[e];a5[cb]=a5[cb]||[];a5[cb].unshift(cc)}},prefilter:function(b9,e){if(e){aJ.unshift(b9)}else{aJ.push(b9)}}});bL.speed=function(ca,cb,b9){var e=ca&&typeof ca==="object"?bL.extend({},ca):{complete:b9||!b9&&cb||bL.isFunction(ca)&&ca,duration:ca,easing:b9&&cb||cb&&!bL.isFunction(cb)&&cb};e.duration=bL.fx.off?0:typeof e.duration==="number"?e.duration:e.duration in bL.fx.speeds?bL.fx.speeds[e.duration]:bL.fx.speeds._default;if(e.queue==null||e.queue===true){e.queue="fx"}e.old=e.complete;e.complete=function(){if(bL.isFunction(e.old)){e.old.call(this)}if(e.queue){bL.dequeue(this,e.queue)}};return e};bL.fn.extend({fadeTo:function(e,cb,ca,b9){return this.filter(U).css("opacity",0).show().end().animate({opacity:cb},e,ca,b9)},animate:function(ce,cb,cd,cc){var ca=bL.isEmptyObject(ce),e=bL.speed(cb,cd,cc),b9=function(){var cf=g(this,bL.extend({},ce),e);if(ca||bL._data(this,"finish")){cf.stop(true)}};b9.finish=b9;return ca||e.queue===false?this.each(b9):this.queue(e.queue,b9)},stop:function(ca,b9,e){var cb=function(cc){var cd=cc.stop;delete cc.stop;cd(e)};if(typeof ca!=="string"){e=b9;b9=ca;ca=undefined}if(b9&&ca!==false){this.queue(ca||"fx",[])}return this.each(function(){var cf=true,cc=ca!=null&&ca+"queueHooks",ce=bL.timers,cd=bL._data(this);if(cc){if(cd[cc]&&cd[cc].stop){cb(cd[cc])}}else{for(cc in cd){if(cd[cc]&&cd[cc].stop&&bS.test(cc)){cb(cd[cc])}}}for(cc=ce.length;cc--;){if(ce[cc].elem===this&&(ca==null||ce[cc].queue===ca)){ce[cc].anim.stop(e);cf=false;ce.splice(cc,1)}}if(cf||!e){bL.dequeue(this,ca)}})},finish:function(e){if(e!==false){e=e||"fx"}return this.each(function(){var cb,ce=bL._data(this),ca=ce[e+"queue"],b9=ce[e+"queueHooks"],cd=bL.timers,cc=ca?ca.length:0;ce.finish=true;bL.queue(this,e,[]);if(b9&&b9.stop){b9.stop.call(this,true)}for(cb=cd.length;cb--;){if(cd[cb].elem===this&&cd[cb].queue===e){cd[cb].anim.stop(true);cd.splice(cb,1)}}for(cb=0;cb<cc;cb++){if(ca[cb]&&ca[cb].finish){ca[cb].finish.call(this)}}delete ce.finish})}});bL.each(["toggle","show","hide"],function(b9,e){var ca=bL.fn[e];bL.fn[e]=function(cb,cd,cc){return cb==null||typeof cb==="boolean"?ca.apply(this,arguments):this.animate(bK(e,true),cb,cd,cc)}});bL.each({slideDown:bK("show"),slideUp:bK("hide"),slideToggle:bK("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,b9){bL.fn[e]=function(ca,cc,cb){return this.animate(b9,ca,cc,cb)}});bL.timers=[];bL.fx.tick=function(){var ca,b9=bL.timers,e=0;P=bL.now();for(;e<b9.length;e++){ca=b9[e];if(!ca()&&b9[e]===ca){b9.splice(e--,1)}}if(!b9.length){bL.fx.stop()}P=undefined};bL.fx.timer=function(e){bL.timers.push(e);if(e()){bL.fx.start()}else{bL.timers.pop()}};bL.fx.interval=13;bL.fx.start=function(){if(!ah){ah=setInterval(bL.fx.tick,bL.fx.interval)}};bL.fx.stop=function(){clearInterval(ah);ah=null};bL.fx.speeds={slow:600,fast:200,_default:400};bL.fn.delay=function(b9,e){b9=bL.fx?bL.fx.speeds[b9]||b9:b9;e=e||"fx";return this.queue(e,function(cb,ca){var cc=setTimeout(cb,b9);ca.stop=function(){clearTimeout(cc)}})};(function(){var b9,ca,e,cb,cc=p.createElement("div");cc.setAttribute("className","t");cc.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>";b9=cc.getElementsByTagName("a")[0];e=p.createElement("select");cb=e.appendChild(p.createElement("option"));ca=cc.getElementsByTagName("input")[0];b9.style.cssText="top:1px";F.getSetAttribute=cc.className!=="t";F.style=/top/.test(b9.getAttribute("style"));F.hrefNormalized=b9.getAttribute("href")==="/a";F.checkOn=!!ca.value;F.optSelected=cb.selected;F.enctype=!!p.createElement("form").enctype;e.disabled=true;F.optDisabled=!cb.disabled;ca=p.createElement("input");ca.setAttribute("value","");F.input=ca.getAttribute("value")==="";ca.value="t";ca.setAttribute("type","radio");F.radioValue=ca.value==="t";b9=ca=e=cb=cc=null})();var ao=/\r/g;bL.fn.extend({val:function(cb){var e,b9,cc,ca=this[0];if(!arguments.length){if(ca){e=bL.valHooks[ca.type]||bL.valHooks[ca.nodeName.toLowerCase()];if(e&&"get" in e&&(b9=e.get(ca,"value"))!==undefined){return b9}b9=ca.value;return typeof b9==="string"?b9.replace(ao,""):b9==null?"":b9}return}cc=bL.isFunction(cb);return this.each(function(cd){var ce;if(this.nodeType!==1){return}if(cc){ce=cb.call(this,cd,bL(this).val())}else{ce=cb}if(ce==null){ce=""}else{if(typeof ce==="number"){ce+=""}else{if(bL.isArray(ce)){ce=bL.map(ce,function(cf){return cf==null?"":cf+""})}}}e=bL.valHooks[this.type]||bL.valHooks[this.nodeName.toLowerCase()];if(!e||!("set" in e)||e.set(this,ce,"value")===undefined){this.value=ce}})}});bL.extend({valHooks:{option:{get:function(e){var b9=bL.find.attr(e,"value");return b9!=null?b9:bL.text(e)}},select:{get:function(e){var ce,ca,cg=e.options,cc=e.selectedIndex,cb=e.type==="select-one"||cc<0,cf=cb?null:[],cd=cb?cc+1:cg.length,b9=cc<0?cd:cb?cc:0;for(;b9<cd;b9++){ca=cg[b9];if((ca.selected||b9===cc)&&(F.optDisabled?!ca.disabled:ca.getAttribute("disabled")===null)&&(!ca.parentNode.disabled||!bL.nodeName(ca.parentNode,"optgroup"))){ce=bL(ca).val();if(cb){return ce}cf.push(ce)}}return cf},set:function(cd,ce){var cf,cc,ca=cd.options,e=bL.makeArray(ce),cb=ca.length;while(cb--){cc=ca[cb];if(bL.inArray(bL.valHooks.option.get(cc),e)>=0){try{cc.selected=cf=true}catch(b9){cc.scrollHeight}}else{cc.selected=false}}if(!cf){cd.selectedIndex=-1}return ca}}}});bL.each(["radio","checkbox"],function(){bL.valHooks[this]={set:function(e,b9){if(bL.isArray(b9)){return(e.checked=bL.inArray(bL(e).val(),b9)>=0)}}};if(!F.checkOn){bL.valHooks[this].get=function(e){return e.getAttribute("value")===null?"on":e.value}}});var bd,b6,bR=bL.expr.attrHandle,au=/^(?:checked|selected)$/i,bQ=F.getSetAttribute,bI=F.input;bL.fn.extend({attr:function(e,b9){return aE(this,bL.attr,e,b9,arguments.length>1)},removeAttr:function(e){return this.each(function(){bL.removeAttr(this,e)})}});bL.extend({attr:function(cc,cb,cd){var e,ca,b9=cc.nodeType;if(!cc||b9===3||b9===8||b9===2){return}if(typeof cc.getAttribute===aF){return bL.prop(cc,cb,cd)}if(b9!==1||!bL.isXMLDoc(cc)){cb=cb.toLowerCase();e=bL.attrHooks[cb]||(bL.expr.match.bool.test(cb)?b6:bd)}if(cd!==undefined){if(cd===null){bL.removeAttr(cc,cb)}else{if(e&&"set" in e&&(ca=e.set(cc,cd,cb))!==undefined){return ca}else{cc.setAttribute(cb,cd+"");return cd}}}else{if(e&&"get" in e&&(ca=e.get(cc,cb))!==null){return ca}else{ca=bL.find.attr(cc,cb);return ca==null?undefined:ca}}},removeAttr:function(ca,cc){var e,cb,b9=0,cd=cc&&cc.match(aI);if(cd&&ca.nodeType===1){while((e=cd[b9++])){cb=bL.propFix[e]||e;if(bL.expr.match.bool.test(e)){if(bI&&bQ||!au.test(e)){ca[cb]=false}else{ca[bL.camelCase("default-"+e)]=ca[cb]=false}}else{bL.attr(ca,e,"")}ca.removeAttribute(bQ?e:cb)}}},attrHooks:{type:{set:function(e,b9){if(!F.radioValue&&b9==="radio"&&bL.nodeName(e,"input")){var ca=e.value;e.setAttribute("type",b9);if(ca){e.value=ca}return b9}}}}});b6={set:function(b9,ca,e){if(ca===false){bL.removeAttr(b9,e)}else{if(bI&&bQ||!au.test(e)){b9.setAttribute(!bQ&&bL.propFix[e]||e,e)}else{b9[bL.camelCase("default-"+e)]=b9[e]=true}}return e}};bL.each(bL.expr.match.bool.source.match(/\w+/g),function(ca,b9){var e=bR[b9]||bL.find.attr;bR[b9]=bI&&bQ||!au.test(b9)?function(cd,cc,cf){var cb,ce;if(!cf){ce=bR[cc];bR[cc]=cb;cb=e(cd,cc,cf)!=null?cc.toLowerCase():null;bR[cc]=ce}return cb}:function(cc,cb,cd){if(!cd){return cc[bL.camelCase("default-"+cb)]?cb.toLowerCase():null}}});if(!bI||!bQ){bL.attrHooks.value={set:function(b9,ca,e){if(bL.nodeName(b9,"input")){b9.defaultValue=ca}else{return bd&&bd.set(b9,ca,e)}}}}if(!bQ){bd={set:function(ca,cb,b9){var e=ca.getAttributeNode(b9);if(!e){ca.setAttributeNode((e=ca.ownerDocument.createAttribute(b9)))}e.value=cb+="";if(b9==="value"||cb===ca.getAttribute(b9)){return cb}}};bR.id=bR.name=bR.coords=function(ca,b9,cb){var e;if(!cb){return(e=ca.getAttributeNode(b9))&&e.value!==""?e.value:null}};bL.valHooks.button={get:function(ca,b9){var e=ca.getAttributeNode(b9);if(e&&e.specified){return e.value}},set:bd.set};bL.attrHooks.contenteditable={set:function(b9,ca,e){bd.set(b9,ca===""?false:ca,e)}};bL.each(["width","height"],function(b9,e){bL.attrHooks[e]={set:function(ca,cb){if(cb===""){ca.setAttribute(e,"auto");return cb}}}})}if(!F.style){bL.attrHooks.style={get:function(e){return e.style.cssText||undefined},set:function(e,b9){return(e.style.cssText=b9+"")}}}var aM=/^(?:input|select|textarea|button|object)$/i,H=/^(?:a|area)$/i;bL.fn.extend({prop:function(e,b9){return aE(this,bL.prop,e,b9,arguments.length>1)},removeProp:function(e){e=bL.propFix[e]||e;return this.each(function(){try{this[e]=undefined;delete this[e]}catch(b9){}})}});bL.extend({propFix:{"for":"htmlFor","class":"className"},prop:function(cd,cb,ce){var ca,e,cc,b9=cd.nodeType;if(!cd||b9===3||b9===8||b9===2){return}cc=b9!==1||!bL.isXMLDoc(cd);if(cc){cb=bL.propFix[cb]||cb;e=bL.propHooks[cb]}if(ce!==undefined){return e&&"set" in e&&(ca=e.set(cd,ce,cb))!==undefined?ca:(cd[cb]=ce)}else{return e&&"get" in e&&(ca=e.get(cd,cb))!==null?ca:cd[cb]}},propHooks:{tabIndex:{get:function(b9){var e=bL.find.attr(b9,"tabindex");return e?parseInt(e,10):aM.test(b9.nodeName)||H.test(b9.nodeName)&&b9.href?0:-1}}}});if(!F.hrefNormalized){bL.each(["href","src"],function(b9,e){bL.propHooks[e]={get:function(ca){return ca.getAttribute(e,4)}}})}if(!F.optSelected){bL.propHooks.selected={get:function(b9){var e=b9.parentNode;if(e){e.selectedIndex;if(e.parentNode){e.parentNode.selectedIndex}}return null}}}bL.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){bL.propFix[this.toLowerCase()]=this});if(!F.enctype){bL.propFix.enctype="encoding"}var bO=/[\t\r\n\f]/g;bL.fn.extend({addClass:function(cg){var ca,b9,ch,ce,cb,e,cc=0,cd=this.length,cf=typeof cg==="string"&&cg;if(bL.isFunction(cg)){return this.each(function(ci){bL(this).addClass(cg.call(this,ci,this.className))})}if(cf){ca=(cg||"").match(aI)||[];for(;cc<cd;cc++){b9=this[cc];ch=b9.nodeType===1&&(b9.className?(" "+b9.className+" ").replace(bO," "):" ");if(ch){cb=0;while((ce=ca[cb++])){if(ch.indexOf(" "+ce+" ")<0){ch+=ce+" "}}e=bL.trim(ch);if(b9.className!==e){b9.className=e}}}}return this},removeClass:function(cg){var ca,b9,ch,ce,cb,e,cc=0,cd=this.length,cf=arguments.length===0||typeof cg==="string"&&cg;if(bL.isFunction(cg)){return this.each(function(ci){bL(this).removeClass(cg.call(this,ci,this.className))})}if(cf){ca=(cg||"").match(aI)||[];for(;cc<cd;cc++){b9=this[cc];ch=b9.nodeType===1&&(b9.className?(" "+b9.className+" ").replace(bO," "):"");if(ch){cb=0;while((ce=ca[cb++])){while(ch.indexOf(" "+ce+" ")>=0){ch=ch.replace(" "+ce+" "," ")}}e=cg?bL.trim(ch):"";if(b9.className!==e){b9.className=e}}}}return this},toggleClass:function(ca,e){var b9=typeof ca;if(typeof e==="boolean"&&b9==="string"){return e?this.addClass(ca):this.removeClass(ca)}if(bL.isFunction(ca)){return this.each(function(cb){bL(this).toggleClass(ca.call(this,cb,this.className,e),e)})}return this.each(function(){if(b9==="string"){var cd,cc=0,cb=bL(this),ce=ca.match(aI)||[];while((cd=ce[cc++])){if(cb.hasClass(cd)){cb.removeClass(cd)}else{cb.addClass(cd)}}}else{if(b9===aF||b9==="boolean"){if(this.className){bL._data(this,"__className__",this.className)}this.className=this.className||ca===false?"":bL._data(this,"__className__")||""}}})},hasClass:function(e){var cb=" "+e+" ",ca=0,b9=this.length;for(;ca<b9;ca++){if(this[ca].nodeType===1&&(" "+this[ca].className+" ").replace(bO," ").indexOf(cb)>=0){return true}}return false}});bL.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(b9,e){bL.fn[e]=function(cb,ca){return arguments.length>0?this.on(e,null,cb,ca):this.trigger(e)}});bL.fn.extend({hover:function(e,b9){return this.mouseenter(e).mouseleave(b9||e)},bind:function(e,ca,b9){return this.on(e,null,ca,b9)},unbind:function(e,b9){return this.off(e,null,b9)},delegate:function(e,b9,cb,ca){return this.on(b9,e,cb,ca)},undelegate:function(e,b9,ca){return arguments.length===1?this.off(e,"**"):this.off(b9,e||"**",ca)}});var bs=bL.now();var bT=(/\?/);var a4=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;bL.parseJSON=function(e){if(a8.JSON&&a8.JSON.parse){return a8.JSON.parse(e+"")}var cb,ca=null,b9=bL.trim(e+"");return b9&&!bL.trim(b9.replace(a4,function(ce,cc,cd,cf){if(cb&&cc){ca=0}if(ca===0){return ce}cb=cd||cc;ca+=!cf-!cd;return""}))?(Function("return "+b9))():bL.error("Invalid JSON: "+e)};bL.parseXML=function(cb){var b9,ca;if(!cb||typeof cb!=="string"){return null}try{if(a8.DOMParser){ca=new DOMParser();b9=ca.parseFromString(cb,"text/xml")}else{b9=new ActiveXObject("Microsoft.XMLDOM");b9.async="false";b9.loadXML(cb)}}catch(cc){b9=undefined}if(!b9||!b9.documentElement||b9.getElementsByTagName("parsererror").length){bL.error("Invalid XML: "+cb)}return b9};var b7,ad,at=/#.*$/,T=/([?&])_=[^&]*/,ak=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,E=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,t=/^(?:GET|HEAD)$/,aN=/^\/\//,aY=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,y={},bc={},a0="*/".concat("*");try{ad=location.href}catch(bl){ad=p.createElement("a");ad.href="";ad=ad.href}b7=aY.exec(ad.toLowerCase())||[];function bN(e){return function(cc,cd){if(typeof cc!=="string"){cd=cc;cc="*"}var b9,ca=0,cb=cc.toLowerCase().match(aI)||[];if(bL.isFunction(cd)){while((b9=cb[ca++])){if(b9.charAt(0)==="+"){b9=b9.slice(1)||"*";(e[b9]=e[b9]||[]).unshift(cd)}else{(e[b9]=e[b9]||[]).push(cd)}}}}}function r(e,ca,ce,cb){var b9={},cc=(e===bc);function cd(cf){var cg;b9[cf]=true;bL.each(e[cf]||[],function(ci,ch){var cj=ch(ca,ce,cb);if(typeof cj==="string"&&!cc&&!b9[cj]){ca.dataTypes.unshift(cj);cd(cj);return false}else{if(cc){return !(cg=cj)}}});return cg}return cd(ca.dataTypes[0])||!b9["*"]&&cd("*")}function v(ca,cb){var e,b9,cc=bL.ajaxSettings.flatOptions||{};for(b9 in cb){if(cb[b9]!==undefined){(cc[b9]?ca:(e||(e={})))[b9]=cb[b9]}}if(e){bL.extend(true,ca,e)}return ca}function h(cg,cf,cc){var e,cb,ca,cd,b9=cg.contents,ce=cg.dataTypes;while(ce[0]==="*"){ce.shift();if(cb===undefined){cb=cg.mimeType||cf.getResponseHeader("Content-Type")}}if(cb){for(cd in b9){if(b9[cd]&&b9[cd].test(cb)){ce.unshift(cd);break}}}if(ce[0] in cc){ca=ce[0]}else{for(cd in cc){if(!ce[0]||cg.converters[cd+" "+ce[0]]){ca=cd;break}if(!e){e=cd}}ca=ca||e}if(ca){if(ca!==ce[0]){ce.unshift(ca)}return cc[ca]}}function aj(ck,cc,ch,ca){var b9,cf,ci,cd,cb,cj={},cg=ck.dataTypes.slice();if(cg[1]){for(ci in ck.converters){cj[ci.toLowerCase()]=ck.converters[ci]}}cf=cg.shift();while(cf){if(ck.responseFields[cf]){ch[ck.responseFields[cf]]=cc}if(!cb&&ca&&ck.dataFilter){cc=ck.dataFilter(cc,ck.dataType)}cb=cf;cf=cg.shift();if(cf){if(cf==="*"){cf=cb}else{if(cb!=="*"&&cb!==cf){ci=cj[cb+" "+cf]||cj["* "+cf];if(!ci){for(b9 in cj){cd=b9.split(" ");if(cd[1]===cf){ci=cj[cb+" "+cd[0]]||cj["* "+cd[0]];if(ci){if(ci===true){ci=cj[b9]}else{if(cj[b9]!==true){cf=cd[0];cg.unshift(cd[1])}}break}}}}if(ci!==true){if(ci&&ck["throws"]){cc=ci(cc)}else{try{cc=ci(cc)}catch(ce){return{state:"parsererror",error:ci?ce:"No conversion from "+cb+" to "+cf}}}}}}}}return{state:"success",data:cc}}bL.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:ad,type:"GET",isLocal:E.test(b7[1]),global:true,processData:true,async:true,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":a0,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":true,"text json":bL.parseJSON,"text xml":bL.parseXML},flatOptions:{url:true,context:true}},ajaxSetup:function(b9,e){return e?v(v(b9,bL.ajaxSettings),e):v(bL.ajaxSettings,b9)},ajaxPrefilter:bN(y),ajaxTransport:bN(bc),ajax:function(cd,ca){if(typeof cd==="object"){ca=cd;cd=undefined}ca=ca||{};var cm,co,ce,ct,ci,b9,cp,cb,ch=bL.ajaxSetup({},ca),cv=ch.context||ch,ck=ch.context&&(cv.nodeType||cv.jquery)?bL(cv):bL.event,cu=bL.Deferred(),cr=bL.Callbacks("once memory"),cf=ch.statusCode||{},cl={},cs={},cc=0,cg="canceled",cn={readyState:0,getResponseHeader:function(cw){var e;if(cc===2){if(!cb){cb={};while((e=ak.exec(ct))){cb[e[1].toLowerCase()]=e[2]}}e=cb[cw.toLowerCase()]}return e==null?null:e},getAllResponseHeaders:function(){return cc===2?ct:null},setRequestHeader:function(cw,cx){var e=cw.toLowerCase();if(!cc){cw=cs[e]=cs[e]||cw;cl[cw]=cx}return this},overrideMimeType:function(e){if(!cc){ch.mimeType=e}return this},statusCode:function(cw){var e;if(cw){if(cc<2){for(e in cw){cf[e]=[cf[e],cw[e]]}}else{cn.always(cw[cn.status])}}return this},abort:function(cw){var e=cw||cg;if(cp){cp.abort(e)}cj(0,e);return this}};cu.promise(cn).complete=cr.add;cn.success=cn.done;cn.error=cn.fail;ch.url=((cd||ch.url||ad)+"").replace(at,"").replace(aN,b7[1]+"//");ch.type=ca.method||ca.type||ch.method||ch.type;ch.dataTypes=bL.trim(ch.dataType||"*").toLowerCase().match(aI)||[""];if(ch.crossDomain==null){cm=aY.exec(ch.url.toLowerCase());ch.crossDomain=!!(cm&&(cm[1]!==b7[1]||cm[2]!==b7[2]||(cm[3]||(cm[1]==="http:"?"80":"443"))!==(b7[3]||(b7[1]==="http:"?"80":"443"))))}if(ch.data&&ch.processData&&typeof ch.data!=="string"){ch.data=bL.param(ch.data,ch.traditional)}r(y,ch,ca,cn);if(cc===2){return cn}b9=ch.global;if(b9&&bL.active++===0){bL.event.trigger("ajaxStart")}ch.type=ch.type.toUpperCase();ch.hasContent=!t.test(ch.type);ce=ch.url;if(!ch.hasContent){if(ch.data){ce=(ch.url+=(bT.test(ce)?"&":"?")+ch.data);delete ch.data}if(ch.cache===false){ch.url=T.test(ce)?ce.replace(T,"$1_="+bs++):ce+(bT.test(ce)?"&":"?")+"_="+bs++}}if(ch.ifModified){if(bL.lastModified[ce]){cn.setRequestHeader("If-Modified-Since",bL.lastModified[ce])}if(bL.etag[ce]){cn.setRequestHeader("If-None-Match",bL.etag[ce])}}if(ch.data&&ch.hasContent&&ch.contentType!==false||ca.contentType){cn.setRequestHeader("Content-Type",ch.contentType)}cn.setRequestHeader("Accept",ch.dataTypes[0]&&ch.accepts[ch.dataTypes[0]]?ch.accepts[ch.dataTypes[0]]+(ch.dataTypes[0]!=="*"?", "+a0+"; q=0.01":""):ch.accepts["*"]);for(co in ch.headers){cn.setRequestHeader(co,ch.headers[co])}if(ch.beforeSend&&(ch.beforeSend.call(cv,cn,ch)===false||cc===2)){return cn.abort()}cg="abort";for(co in {success:1,error:1,complete:1}){cn[co](ch[co])}cp=r(bc,ch,ca,cn);if(!cp){cj(-1,"No Transport")}else{cn.readyState=1;if(b9){ck.trigger("ajaxSend",[cn,ch])}if(ch.async&&ch.timeout>0){ci=setTimeout(function(){cn.abort("timeout")},ch.timeout)}try{cc=1;cp.send(cl,cj)}catch(cq){if(cc<2){cj(-1,cq)}else{throw cq}}}function cj(cA,cw,cB,cy){var e,cE,cC,cz,cD,cx=cw;if(cc===2){return}cc=2;if(ci){clearTimeout(ci)}cp=undefined;ct=cy||"";cn.readyState=cA>0?4:0;e=cA>=200&&cA<300||cA===304;if(cB){cz=h(ch,cn,cB)}cz=aj(ch,cz,cn,e);if(e){if(ch.ifModified){cD=cn.getResponseHeader("Last-Modified");if(cD){bL.lastModified[ce]=cD}cD=cn.getResponseHeader("etag");if(cD){bL.etag[ce]=cD}}if(cA===204||ch.type==="HEAD"){cx="nocontent"}else{if(cA===304){cx="notmodified"}else{cx=cz.state;cE=cz.data;cC=cz.error;e=!cC}}}else{cC=cx;if(cA||!cx){cx="error";if(cA<0){cA=0}}}cn.status=cA;cn.statusText=(cw||cx)+"";if(e){cu.resolveWith(cv,[cE,cx,cn])}else{cu.rejectWith(cv,[cn,cx,cC])}cn.statusCode(cf);cf=undefined;if(b9){ck.trigger(e?"ajaxSuccess":"ajaxError",[cn,ch,e?cE:cC])}cr.fireWith(cv,[cn,cx]);if(b9){ck.trigger("ajaxComplete",[cn,ch]);if(!(--bL.active)){bL.event.trigger("ajaxStop")}}}return cn},getJSON:function(e,b9,ca){return bL.get(e,b9,ca,"json")},getScript:function(e,b9){return bL.get(e,undefined,b9,"script")}});bL.each(["get","post"],function(e,b9){bL[b9]=function(ca,cc,cd,cb){if(bL.isFunction(cc)){cb=cb||cd;cd=cc;cc=undefined}return bL.ajax({url:ca,type:b9,dataType:cb,data:cc,success:cd})}});bL.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,b9){bL.fn[b9]=function(ca){return this.on(b9,ca)}});bL._evalUrl=function(e){return bL.ajax({url:e,type:"GET",dataType:"script",async:false,global:false,"throws":true})};bL.fn.extend({wrapAll:function(e){if(bL.isFunction(e)){return this.each(function(ca){bL(this).wrapAll(e.call(this,ca))})}if(this[0]){var b9=bL(e,this[0].ownerDocument).eq(0).clone(true);if(this[0].parentNode){b9.insertBefore(this[0])}b9.map(function(){var ca=this;while(ca.firstChild&&ca.firstChild.nodeType===1){ca=ca.firstChild}return ca}).append(this)}return this},wrapInner:function(e){if(bL.isFunction(e)){return this.each(function(b9){bL(this).wrapInner(e.call(this,b9))})}return this.each(function(){var b9=bL(this),ca=b9.contents();if(ca.length){ca.wrapAll(e)}else{b9.append(e)}})},wrap:function(e){var b9=bL.isFunction(e);return this.each(function(ca){bL(this).wrapAll(b9?e.call(this,ca):e)})},unwrap:function(){return this.parent().each(function(){if(!bL.nodeName(this,"body")){bL(this).replaceWith(this.childNodes)}}).end()}});bL.expr.filters.hidden=function(e){return e.offsetWidth<=0&&e.offsetHeight<=0||(!F.reliableHiddenOffsets()&&((e.style&&e.style.display)||bL.css(e,"display"))==="none")};bL.expr.filters.visible=function(e){return !bL.expr.filters.hidden(e)};var bz=/%20/g,aV=/\[\]$/,Z=/\r?\n/g,b=/^(?:submit|button|image|reset|file)$/i,ax=/^(?:input|select|textarea|keygen)/i;function k(ca,cc,b9,cb){var e;if(bL.isArray(cc)){bL.each(cc,function(ce,cd){if(b9||aV.test(ca)){cb(ca,cd)}else{k(ca+"["+(typeof cd==="object"?ce:"")+"]",cd,b9,cb)}})}else{if(!b9&&bL.type(cc)==="object"){for(e in cc){k(ca+"["+e+"]",cc[e],b9,cb)}}else{cb(ca,cc)}}}bL.param=function(e,ca){var cb,b9=[],cc=function(cd,ce){ce=bL.isFunction(ce)?ce():(ce==null?"":ce);b9[b9.length]=encodeURIComponent(cd)+"="+encodeURIComponent(ce)};if(ca===undefined){ca=bL.ajaxSettings&&bL.ajaxSettings.traditional}if(bL.isArray(e)||(e.jquery&&!bL.isPlainObject(e))){bL.each(e,function(){cc(this.name,this.value)})}else{for(cb in e){k(cb,e[cb],ca,cc)}}return b9.join("&").replace(bz,"+")};bL.fn.extend({serialize:function(){return bL.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=bL.prop(this,"elements");return e?bL.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!bL(this).is(":disabled")&&ax.test(this.nodeName)&&!b.test(e)&&(this.checked||!aP.test(e))}).map(function(e,b9){var ca=bL(this).val();return ca==null?null:bL.isArray(ca)?bL.map(ca,function(cb){return{name:b9.name,value:cb.replace(Z,"\r\n")}}):{name:b9.name,value:ca.replace(Z,"\r\n")}}).get()}});bL.ajaxSettings.xhr=a8.ActiveXObject!==undefined?function(){return !this.isLocal&&/^(get|post|head|put|delete|options)$/i.test(this.type)&&bH()||bj()}:bH;var aD=0,am={},aB=bL.ajaxSettings.xhr();if(a8.ActiveXObject){bL(a8).on("unload",function(){for(var e in am){am[e](undefined,true)}})}F.cors=!!aB&&("withCredentials" in aB);aB=F.ajax=!!aB;if(aB){bL.ajaxTransport(function(e){if(!e.crossDomain||F.cors){var b9;return{send:function(cd,ca){var cb,cc=e.xhr(),ce=++aD;cc.open(e.type,e.url,e.async,e.username,e.password);if(e.xhrFields){for(cb in e.xhrFields){cc[cb]=e.xhrFields[cb]}}if(e.mimeType&&cc.overrideMimeType){cc.overrideMimeType(e.mimeType)}if(!e.crossDomain&&!cd["X-Requested-With"]){cd["X-Requested-With"]="XMLHttpRequest"}for(cb in cd){if(cd[cb]!==undefined){cc.setRequestHeader(cb,cd[cb]+"")}}cc.send((e.hasContent&&e.data)||null);b9=function(ch,cg){var cf,ck,ci;if(b9&&(cg||cc.readyState===4)){delete am[ce];b9=undefined;cc.onreadystatechange=bL.noop;if(cg){if(cc.readyState!==4){cc.abort()}}else{ci={};cf=cc.status;if(typeof cc.responseText==="string"){ci.text=cc.responseText}try{ck=cc.statusText}catch(cj){ck=""}if(!cf&&e.isLocal&&!e.crossDomain){cf=ci.text?200:404}else{if(cf===1223){cf=204}}}}if(ci){ca(cf,ck,ci,cc.getAllResponseHeaders())}};if(!e.async){b9()}else{if(cc.readyState===4){setTimeout(b9)}else{cc.onreadystatechange=am[ce]=b9}}},abort:function(){if(b9){b9(undefined,true)}}}}})}function bH(){try{return new a8.XMLHttpRequest()}catch(b9){}}function bj(){try{return new a8.ActiveXObject("Microsoft.XMLHTTP")}catch(b9){}}bL.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(e){bL.globalEval(e);return e}}});bL.ajaxPrefilter("script",function(e){if(e.cache===undefined){e.cache=false}if(e.crossDomain){e.type="GET";e.global=false}});bL.ajaxTransport("script",function(ca){if(ca.crossDomain){var e,b9=p.head||bL("head")[0]||p.documentElement;return{send:function(cb,cc){e=p.createElement("script");e.async=true;if(ca.scriptCharset){e.charset=ca.scriptCharset}e.src=ca.url;e.onload=e.onreadystatechange=function(ce,cd){if(cd||!e.readyState||/loaded|complete/.test(e.readyState)){e.onload=e.onreadystatechange=null;if(e.parentNode){e.parentNode.removeChild(e)}e=null;if(!cd){cc(200,"success")}}};b9.insertBefore(e,b9.firstChild)},abort:function(){if(e){e.onload(undefined,true)}}}}});var bv=[],bb=/(=)\?(?=&|$)|\?\?/;bL.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=bv.pop()||(bL.expando+"_"+(bs++));this[e]=true;return e}});bL.ajaxPrefilter("json jsonp",function(cb,e,cc){var ce,b9,ca,cd=cb.jsonp!==false&&(bb.test(cb.url)?"url":typeof cb.data==="string"&&!(cb.contentType||"").indexOf("application/x-www-form-urlencoded")&&bb.test(cb.data)&&"data");if(cd||cb.dataTypes[0]==="jsonp"){ce=cb.jsonpCallback=bL.isFunction(cb.jsonpCallback)?cb.jsonpCallback():cb.jsonpCallback;if(cd){cb[cd]=cb[cd].replace(bb,"$1"+ce)}else{if(cb.jsonp!==false){cb.url+=(bT.test(cb.url)?"&":"?")+cb.jsonp+"="+ce}}cb.converters["script json"]=function(){if(!ca){bL.error(ce+" was not called")}return ca[0]};cb.dataTypes[0]="json";b9=a8[ce];a8[ce]=function(){ca=arguments};cc.always(function(){a8[ce]=b9;if(cb[ce]){cb.jsonpCallback=e.jsonpCallback;bv.push(ce)}if(ca&&bL.isFunction(b9)){b9(ca[0])}ca=b9=undefined});return"script"}});bL.parseHTML=function(cc,ca,cb){if(!cc||typeof cc!=="string"){return null}if(typeof ca==="boolean"){cb=ca;ca=false}ca=ca||p;var b9=a.exec(cc),e=!cb&&[];if(b9){return[ca.createElement(b9[1])]}b9=bL.buildFragment([cc],ca,e);if(e&&e.length){bL(e).remove()}return bL.merge([],b9.childNodes)};var b4=bL.fn.load;bL.fn.load=function(cb,ce,cf){if(typeof cb!=="string"&&b4){return b4.apply(this,arguments)}var e,ca,cc,b9=this,cd=cb.indexOf(" ");if(cd>=0){e=cb.slice(cd,cb.length);cb=cb.slice(0,cd)}if(bL.isFunction(ce)){cf=ce;ce=undefined}else{if(ce&&typeof ce==="object"){cc="POST"}}if(b9.length>0){bL.ajax({url:cb,type:cc,dataType:"html",data:ce}).done(function(cg){ca=arguments;b9.html(e?bL("<div>").append(bL.parseHTML(cg)).find(e):cg)}).complete(cf&&function(ch,cg){b9.each(cf,ca||[ch.responseText,cg,ch])})}return this};bL.expr.filters.animated=function(e){return bL.grep(bL.timers,function(b9){return e===b9.elem}).length};var b0=a8.document.documentElement;function bu(e){return bL.isWindow(e)?e:e.nodeType===9?e.defaultView||e.parentWindow:false}bL.offset={setOffset:function(ca,ck,ce){var cg,cd,e,cb,b9,ci,cj,cf=bL.css(ca,"position"),cc=bL(ca),ch={};if(cf==="static"){ca.style.position="relative"}b9=cc.offset();e=bL.css(ca,"top");ci=bL.css(ca,"left");cj=(cf==="absolute"||cf==="fixed")&&bL.inArray("auto",[e,ci])>-1;if(cj){cg=cc.position();cb=cg.top;cd=cg.left}else{cb=parseFloat(e)||0;cd=parseFloat(ci)||0}if(bL.isFunction(ck)){ck=ck.call(ca,ce,b9)}if(ck.top!=null){ch.top=(ck.top-b9.top)+cb}if(ck.left!=null){ch.left=(ck.left-b9.left)+cd}if("using" in ck){ck.using.call(ca,ch)}else{cc.css(ch)}}};bL.fn.extend({offset:function(b9){if(arguments.length){return b9===undefined?this:this.each(function(ce){bL.offset.setOffset(this,b9,ce)})}var e,cd,cb={top:0,left:0},ca=this[0],cc=ca&&ca.ownerDocument;if(!cc){return}e=cc.documentElement;if(!bL.contains(e,ca)){return cb}if(typeof ca.getBoundingClientRect!==aF){cb=ca.getBoundingClientRect()}cd=bu(cc);return{top:cb.top+(cd.pageYOffset||e.scrollTop)-(e.clientTop||0),left:cb.left+(cd.pageXOffset||e.scrollLeft)-(e.clientLeft||0)}},position:function(){if(!this[0]){return}var ca,cb,e={top:0,left:0},b9=this[0];if(bL.css(b9,"position")==="fixed"){cb=b9.getBoundingClientRect()}else{ca=this.offsetParent();cb=this.offset();if(!bL.nodeName(ca[0],"html")){e=ca.offset()}e.top+=bL.css(ca[0],"borderTopWidth",true);e.left+=bL.css(ca[0],"borderLeftWidth",true)}return{top:cb.top-e.top-bL.css(b9,"marginTop",true),left:cb.left-e.left-bL.css(b9,"marginLeft",true)}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||b0;while(e&&(!bL.nodeName(e,"html")&&bL.css(e,"position")==="static")){e=e.offsetParent}return e||b0})}});bL.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(ca,b9){var e=/Y/.test(b9);bL.fn[ca]=function(cb){return aE(this,function(cc,cf,ce){var cd=bu(cc);if(ce===undefined){return cd?(b9 in cd)?cd[b9]:cd.document.documentElement[cf]:cc[cf]}if(cd){cd.scrollTo(!e?ce:bL(cd).scrollLeft(),e?ce:bL(cd).scrollTop())}else{cc[cf]=ce}},ca,cb,arguments.length,null)}});bL.each(["top","left"],function(e,b9){bL.cssHooks[b9]=ba(F.pixelPosition,function(cb,ca){if(ca){ca=I(cb,b9);return aa.test(ca)?bL(cb).position()[b9]+"px":ca}})});bL.each({Height:"height",Width:"width"},function(e,b9){bL.each({padding:"inner"+e,content:b9,"":"outer"+e},function(ca,cb){bL.fn[cb]=function(cf,ce){var cd=arguments.length&&(ca||typeof cf!=="boolean"),cc=ca||(cf===true||ce===true?"margin":"border");return aE(this,function(ch,cg,ci){var cj;if(bL.isWindow(ch)){return ch.document.documentElement["client"+e]}if(ch.nodeType===9){cj=ch.documentElement;return Math.max(ch.body["scroll"+e],cj["scroll"+e],ch.body["offset"+e],cj["offset"+e],cj["client"+e])}return ci===undefined?bL.css(ch,cg,cc):bL.style(ch,cg,ci,cc)},b9,cd?cf:undefined,cd,null)}})});bL.fn.size=function(){return this.length};bL.fn.andSelf=bL.fn.addBack;if(typeof define==="function"&&define.amd){define("jquery",[],function(){return bL})}var bn=a8.jQuery,K=a8.$;bL.noConflict=function(e){if(a8.$===bL){a8.$=K}if(e&&a8.jQuery===bL){a8.jQuery=bn}return bL};if(typeof ay===aF){a8.jQuery=a8.$=bL}return bL}));(function(d,b,a,f){var e=d(b);d.fn.lazyload=function(g){var j=this;var k;var h={threshold:0,failure_limit:0,event:"scroll",effect:"show",container:b,data_attribute:"original",skip_invisible:true,appear:null,load:null,placeholder:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB/AAffA0nNPuCLAAAAAElFTkSuQmCC"};function l(){var n=0;j.each(function(){var o=d(this);if(h.skip_invisible&&!o.is(":visible")){return}if(d.abovethetop(this,h)||d.leftofbegin(this,h)){}else{if(!d.belowthefold(this,h)&&!d.rightoffold(this,h)){o.trigger("appear");n=0}else{if(++n>h.failure_limit){return false}}}})}if(g){if(f!==g.failurelimit){g.failure_limit=g.failurelimit;delete g.failurelimit}if(f!==g.effectspeed){g.effect_speed=g.effectspeed;delete g.effectspeed}d.extend(h,g)}k=(h.container===f||h.container===b)?e:d(h.container);if(0===h.event.indexOf("scroll")){k.bind(h.event,function(){return l()})}this.each(function(){var n=this;var o=d(n);n.loaded=false;if(o.attr("src")===f||o.attr("src")===false){if(o.is("img")){o.attr("src",h.placeholder)}}o.one("appear",function(){if(!this.loaded){if(h.appear){var p=j.length;h.appear.call(n,p,h)}d("<img />").bind("load",function(){var r=o.attr("data-"+h.data_attribute);o.hide();if(o.is("img")){o.attr("src",r)}else{o.css("background-image","url('"+r+"')")}o[h.effect](h.effect_speed);n.loaded=true;var q=d.grep(j,function(u){return !u.loaded});j=d(q);if(h.load){var t=j.length;h.load.call(n,t,h)}}).attr("src",o.attr("data-"+h.data_attribute))}});if(0!==h.event.indexOf("scroll")){o.bind(h.event,function(){if(!n.loaded){o.trigger("appear")}})}});e.bind("resize",function(){l()});if((/(?:iphone|ipod|ipad).*os 5/gi).test(navigator.appVersion)){e.bind("pageshow",function(n){if(n.originalEvent&&n.originalEvent.persisted){j.each(function(){d(this).trigger("appear")})}})}d(a).ready(function(){l()});return this};d.belowthefold=function(h,j){var g;if(j.container===f||j.container===b){g=(b.innerHeight?b.innerHeight:e.height())+e.scrollTop()}else{g=d(j.container).offset().top+d(j.container).height()}return g<=d(h).offset().top-j.threshold};d.rightoffold=function(h,j){var g;if(j.container===f||j.container===b){g=e.width()+e.scrollLeft()}else{g=d(j.container).offset().left+d(j.container).width()}return g<=d(h).offset().left-j.threshold};d.abovethetop=function(h,j){var g;if(j.container===f||j.container===b){g=e.scrollTop()}else{g=d(j.container).offset().top}return g>=d(h).offset().top+j.threshold+d(h).height()};d.leftofbegin=function(h,j){var g;if(j.container===f||j.container===b){g=e.scrollLeft()}else{g=d(j.container).offset().left}return g>=d(h).offset().left+j.threshold+d(h).width()};d.inviewport=function(g,h){return !d.rightoffold(g,h)&&!d.leftofbegin(g,h)&&!d.belowthefold(g,h)&&!d.abovethetop(g,h)};d.extend(d.expr[":"],{"below-the-fold":function(g){return d.belowthefold(g,{threshold:0})},"above-the-top":function(g){return !d.belowthefold(g,{threshold:0})},"right-of-screen":function(g){return d.rightoffold(g,{threshold:0})},"left-of-screen":function(g){return !d.rightoffold(g,{threshold:0})},"in-viewport":function(g){return d.inviewport(g,{threshold:0})},"above-the-fold":function(g){return !d.belowthefold(g,{threshold:0})},"right-of-fold":function(g){return d.rightoffold(g,{threshold:0})},"left-of-fold":function(g){return !d.rightoffold(g,{threshold:0})}})})(jQuery,window,document);(function(a){if(typeof define==="function"&&define.amd){define(["jquery"],a)}else{a(jQuery)}}(function(a){var b=window.Slick||{};b=(function(){var d=0;function e(h,k){var g=this,j,f;g.defaults={accessibility:true,appendArrows:a(h),arrows:true,asNavFor:null,prevArrow:'<button type="button" data-role="none" class="slick-prev">Previous</button>',nextArrow:'<button type="button" data-role="none" class="slick-next">Next</button>',autoplay:false,autoplaySpeed:3000,centerMode:false,centerPadding:"50px",cssEase:"ease",customPaging:function(n,l){return'<button type="button" data-role="none">'+(l+1)+"</button>"},dots:false,dotsClass:"slick-dots",draggable:true,easing:"linear",fade:false,focusOnSelect:false,infinite:true,lazyLoad:"ondemand",onBeforeChange:null,onAfterChange:null,onInit:null,onReInit:null,pauseOnHover:true,pauseOnDotsHover:false,responsive:null,rtl:false,slide:"div",slidesToShow:1,slidesToScroll:1,speed:300,swipe:true,touchMove:true,touchThreshold:5,useCSS:true,vertical:false};g.initials={animating:false,dragging:false,autoPlayTimer:null,currentSlide:0,currentLeft:null,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,sliding:false,slideOffset:0,swipeLeft:null,$list:null,touchObject:{},transformsEnabled:false};a.extend(g,g.initials);g.activeBreakpoint=null;g.animType=null;g.animProp=null;g.breakpoints=[];g.breakpointSettings=[];g.cssTransitions=false;g.paused=false;g.positionProp=null;g.$slider=a(h);g.$slidesCache=null;g.transformType=null;g.transitionType=null;g.windowWidth=0;g.windowTimer=null;g.options=a.extend({},g.defaults,k);g.originalSettings=g.options;j=g.options.responsive||null;if(j&&j.length>-1){for(f in j){if(j.hasOwnProperty(f)){g.breakpoints.push(j[f].breakpoint);g.breakpointSettings[j[f].breakpoint]=j[f].settings}}g.breakpoints.sort(function(n,l){return l-n})}g.autoPlay=a.proxy(g.autoPlay,g);g.autoPlayClear=a.proxy(g.autoPlayClear,g);g.changeSlide=a.proxy(g.changeSlide,g);g.selectHandler=a.proxy(g.selectHandler,g);g.setPosition=a.proxy(g.setPosition,g);g.swipeHandler=a.proxy(g.swipeHandler,g);g.dragHandler=a.proxy(g.dragHandler,g);g.keyHandler=a.proxy(g.keyHandler,g);g.autoPlayIterator=a.proxy(g.autoPlayIterator,g);g.instanceUid=d++;g.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/;g.init()}return e}());b.prototype.addSlide=function(d,f,g){var e=this;if(typeof(f)==="boolean"){g=f;f=null}else{if(f<0||(f>=e.slideCount)){return false}}e.unload();if(typeof(f)==="number"){if(f===0&&e.$slides.length===0){a(d).appendTo(e.$slideTrack)}else{if(g){a(d).insertBefore(e.$slides.eq(f))}else{a(d).insertAfter(e.$slides.eq(f))}}}else{if(g===true){a(d).prependTo(e.$slideTrack)}else{a(d).appendTo(e.$slideTrack)}}e.$slides=e.$slideTrack.children(this.options.slide);e.$slideTrack.children(this.options.slide).detach();e.$slideTrack.append(e.$slides);e.$slides.each(function(h,j){a(j).attr("index",h)});e.$slidesCache=e.$slides;e.reinit()};b.prototype.animateSlide=function(g,f){var e={},d=this;if(d.options.rtl===true&&d.options.vertical===false){g=-g}if(d.transformsEnabled===false){if(d.options.vertical===false){d.$slideTrack.animate({left:g},d.options.speed,d.options.easing,f)}else{d.$slideTrack.animate({top:g},d.options.speed,d.options.easing,f)}}else{if(d.cssTransitions===false){a({animStart:d.currentLeft}).animate({animStart:g},{duration:d.options.speed,easing:d.options.easing,step:function(h){if(d.options.vertical===false){e[d.animType]="translate("+h+"px, 0px)";d.$slideTrack.css(e)}else{e[d.animType]="translate(0px,"+h+"px)";d.$slideTrack.css(e)}},complete:function(){if(f){f.call()}}})}else{d.applyTransition();if(d.options.vertical===false){e[d.animType]="translate3d("+g+"px, 0px, 0px)"}else{e[d.animType]="translate3d(0px,"+g+"px, 0px)"}d.$slideTrack.css(e);if(f){setTimeout(function(){d.disableTransition();f.call()},d.options.speed)}}}};b.prototype.applyTransition=function(d){var e=this,f={};if(e.options.fade===false){f[e.transitionType]=e.transformType+" "+e.options.speed+"ms "+e.options.cssEase}else{f[e.transitionType]="opacity "+e.options.speed+"ms "+e.options.cssEase}if(e.options.fade===false){e.$slideTrack.css(f)}else{e.$slides.eq(d).css(f)}};b.prototype.autoPlay=function(){var d=this;if(d.autoPlayTimer){clearInterval(d.autoPlayTimer)}if(d.slideCount>d.options.slidesToShow&&d.paused!==true){d.autoPlayTimer=setInterval(d.autoPlayIterator,d.options.autoplaySpeed)}};b.prototype.autoPlayClear=function(){var d=this;if(d.autoPlayTimer){clearInterval(d.autoPlayTimer)}};b.prototype.autoPlayIterator=function(){var e=this;var d=e.options.asNavFor!=null?a(e.options.asNavFor).getSlick():null;if(e.options.infinite===false){if(e.direction===1){if((e.currentSlide+1)===e.slideCount-1){e.direction=0}e.slideHandler(e.currentSlide+e.options.slidesToScroll);if(d!=null){d.slideHandler(d.currentSlide+d.options.slidesToScroll)}}else{if((e.currentSlide-1===0)){e.direction=1}e.slideHandler(e.currentSlide-e.options.slidesToScroll);if(d!=null){d.slideHandler(d.currentSlide-d.options.slidesToScroll)}}}else{e.slideHandler(e.currentSlide+e.options.slidesToScroll);if(d!=null){d.slideHandler(d.currentSlide+d.options.slidesToScroll)}}};b.prototype.buildArrows=function(){var d=this;if(d.options.arrows===true&&d.slideCount>d.options.slidesToShow){d.$prevArrow=a(d.options.prevArrow);d.$nextArrow=a(d.options.nextArrow);if(d.htmlExpr.test(d.options.prevArrow)){d.$prevArrow.appendTo(d.options.appendArrows)}if(d.htmlExpr.test(d.options.nextArrow)){d.$nextArrow.appendTo(d.options.appendArrows)}if(d.options.infinite!==true){d.$prevArrow.addClass("slick-disabled")}}};b.prototype.buildDots=function(){var e=this,f,d;if(e.options.dots===true&&e.slideCount>e.options.slidesToShow){d='<ul class="'+e.options.dotsClass+'">';for(f=0;f<=e.getDotCount();f+=1){d+="<li>"+e.options.customPaging.call(this,e,f)+"</li>"}d+="</ul>";e.$dots=a(d).appendTo(e.$slider);e.$dots.find("li").first().addClass("slick-active")}};b.prototype.buildOut=function(){var d=this;d.$slides=d.$slider.children(d.options.slide+":not(.slick-cloned)").addClass("slick-slide");d.slideCount=d.$slides.length;d.$slides.each(function(e,f){a(f).attr("index",e)});d.$slidesCache=d.$slides;d.$slider.addClass("slick-slider");d.$slideTrack=(d.slideCount===0)?a('<div class="slick-track"/>').appendTo(d.$slider):d.$slides.wrapAll('<div class="slick-track"/>').parent();d.$list=d.$slideTrack.wrap('<div class="slick-list"/>').parent();d.$slideTrack.css("opacity",0);if(d.options.centerMode===true){d.options.slidesToScroll=1;if(d.options.slidesToShow%2===0){d.options.slidesToShow=3}}a("img[data-lazy]",d.$slider).not("[src]").addClass("slick-loading");d.setupInfinite();d.buildArrows();d.buildDots();d.updateDots();if(d.options.accessibility===true){d.$list.prop("tabIndex",0)}d.setSlideClasses(typeof this.currentSlide==="number"?this.currentSlide:0);if(d.options.draggable===true){d.$list.addClass("draggable")}};b.prototype.checkResponsive=function(){var e=this,d,f;if(e.originalSettings.responsive&&e.originalSettings.responsive.length>-1&&e.originalSettings.responsive!==null){f=null;for(d in e.breakpoints){if(e.breakpoints.hasOwnProperty(d)){if(a(window).width()<e.breakpoints[d]){f=e.breakpoints[d]}}}if(f!==null){if(e.activeBreakpoint!==null){if(f!==e.activeBreakpoint){e.activeBreakpoint=f;e.options=a.extend({},e.options,e.breakpointSettings[f]);e.refresh()}}else{e.activeBreakpoint=f;e.options=a.extend({},e.options,e.breakpointSettings[f]);e.refresh()}}else{if(e.activeBreakpoint!==null){e.activeBreakpoint=null;e.options=a.extend({},e.options,e.originalSettings);e.refresh()}}}};b.prototype.changeSlide=function(h){var g=this,d=a(h.target);var f=g.options.asNavFor!=null?a(g.options.asNavFor).getSlick():null;d.is("a")&&h.preventDefault();switch(h.data.message){case"previous":if(g.slideCount>g.options.slidesToShow){g.slideHandler(g.currentSlide-g.options.slidesToScroll);if(f!=null){f.slideHandler(f.currentSlide-f.options.slidesToScroll)}}break;case"next":if(g.slideCount>g.options.slidesToShow){g.slideHandler(g.currentSlide+g.options.slidesToScroll);if(f!=null){f.slideHandler(f.currentSlide+f.options.slidesToScroll)}}break;case"index":var e=a(h.target).parent().index()*g.options.slidesToScroll;g.slideHandler(e);if(f!=null){f.slideHandler(e)}break;default:return false}};b.prototype.destroy=function(){var d=this;d.autoPlayClear();d.touchObject={};a(".slick-cloned",d.$slider).remove();if(d.$dots){d.$dots.remove()}if(d.$prevArrow){d.$prevArrow.remove();d.$nextArrow.remove()}if(d.$slides.parent().hasClass("slick-track")){d.$slides.unwrap().unwrap()}d.$slides.removeClass("slick-slide slick-active slick-visible").removeAttr("style");d.$slider.removeClass("slick-slider");d.$slider.removeClass("slick-initialized");d.$list.off(".slick");a(window).off(".slick-"+d.instanceUid);a(document).off(".slick-"+d.instanceUid)};b.prototype.disableTransition=function(d){var e=this,f={};f[e.transitionType]="";if(e.options.fade===false){e.$slideTrack.css(f)}else{e.$slides.eq(d).css(f)}};b.prototype.fadeSlide=function(e,f){var d=this;if(d.cssTransitions===false){d.$slides.eq(e).css({zIndex:1000});d.$slides.eq(e).animate({opacity:1},d.options.speed,d.options.easing,f)}else{d.applyTransition(e);d.$slides.eq(e).css({opacity:1,zIndex:1000});if(f){setTimeout(function(){d.disableTransition(e);f.call()},d.options.speed)}}};b.prototype.filterSlides=function(e){var d=this;if(e!==null){d.unload();d.$slideTrack.children(this.options.slide).detach();d.$slidesCache.filter(e).appendTo(d.$slideTrack);d.reinit()}};b.prototype.getCurrent=function(){var d=this;return d.currentSlide};b.prototype.getDotCount=function(){var d=this,g=0,f=0,h=0,e;e=d.options.infinite===true?d.slideCount+d.options.slidesToShow-d.options.slidesToScroll:d.slideCount;while(g<e){h++;f+=d.options.slidesToScroll;g=f+d.options.slidesToShow}return h};b.prototype.getLeft=function(g){var e=this,h,f,d=0;e.slideOffset=0;f=e.$slides.first().outerHeight();if(e.options.infinite===true){if(e.slideCount>e.options.slidesToShow){e.slideOffset=(e.slideWidth*e.options.slidesToShow)*-1;d=(f*e.options.slidesToShow)*-1}if(e.slideCount%e.options.slidesToScroll!==0){if(g+e.options.slidesToScroll>e.slideCount&&e.slideCount>e.options.slidesToShow){e.slideOffset=((e.slideCount%e.options.slidesToShow)*e.slideWidth)*-1;d=((e.slideCount%e.options.slidesToShow)*f)*-1}}}else{if(e.slideCount%e.options.slidesToShow!==0){if(g+e.options.slidesToScroll>e.slideCount&&e.slideCount>e.options.slidesToShow){e.slideOffset=(e.options.slidesToShow*e.slideWidth)-((e.slideCount%e.options.slidesToShow)*e.slideWidth);d=((e.slideCount%e.options.slidesToShow)*f)}}}if(e.options.centerMode===true&&e.options.infinite===true){e.slideOffset+=e.slideWidth*Math.floor(e.options.slidesToShow/2)-e.slideWidth}else{if(e.options.centerMode===true){e.slideOffset+=e.slideWidth*Math.floor(e.options.slidesToShow/2)}}if(e.options.vertical===false){h=((g*e.slideWidth)*-1)+e.slideOffset}else{h=((g*f)*-1)+d}return h};b.prototype.init=function(){var d=this;if(!a(d.$slider).hasClass("slick-initialized")){a(d.$slider).addClass("slick-initialized");d.buildOut();d.setProps();d.startLoad();d.loadSlider();d.initializeEvents();d.checkResponsive()}if(d.options.onInit!==null){d.options.onInit.call(this,d)}};b.prototype.initArrowEvents=function(){var d=this;if(d.options.arrows===true&&d.slideCount>d.options.slidesToShow){d.$prevArrow.on("click.slick",{message:"previous"},d.changeSlide);d.$nextArrow.on("click.slick",{message:"next"},d.changeSlide)}};b.prototype.initDotEvents=function(){var d=this;if(d.options.dots===true&&d.slideCount>d.options.slidesToShow){a("li",d.$dots).on("click.slick",{message:"index"},d.changeSlide)}if(d.options.dots===true&&d.options.pauseOnDotsHover===true&&d.options.autoplay===true){a("li",d.$dots).on("mouseenter.slick",d.autoPlayClear).on("mouseleave.slick",d.autoPlay)}};b.prototype.initializeEvents=function(){var d=this;d.initArrowEvents();d.initDotEvents();d.$list.on("touchstart.slick mousedown.slick",{action:"start"},d.swipeHandler);d.$list.on("touchmove.slick mousemove.slick",{action:"move"},d.swipeHandler);d.$list.on("touchend.slick mouseup.slick",{action:"end"},d.swipeHandler);d.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},d.swipeHandler);if(d.options.pauseOnHover===true&&d.options.autoplay===true){d.$list.on("mouseenter.slick",d.autoPlayClear);d.$list.on("mouseleave.slick",d.autoPlay)}if(d.options.accessibility===true){d.$list.on("keydown.slick",d.keyHandler)}if(d.options.focusOnSelect===true){a(d.options.slide,d.$slideTrack).on("click.slick",d.selectHandler)}a(window).on("orientationchange.slick.slick-"+d.instanceUid,function(){d.checkResponsive();d.setPosition()});a(window).on("resize.slick.slick-"+d.instanceUid,function(){if(a(window).width()!==d.windowWidth){clearTimeout(d.windowDelay);d.windowDelay=window.setTimeout(function(){d.windowWidth=a(window).width();d.checkResponsive();d.setPosition()},50)}});a(window).on("load.slick.slick-"+d.instanceUid,d.setPosition);a(document).on("ready.slick.slick-"+d.instanceUid,d.setPosition)};b.prototype.initUI=function(){var d=this;if(d.options.arrows===true&&d.slideCount>d.options.slidesToShow){d.$prevArrow.show();d.$nextArrow.show()}if(d.options.dots===true&&d.slideCount>d.options.slidesToShow){d.$dots.show()}if(d.options.autoplay===true){d.autoPlay()}};b.prototype.keyHandler=function(e){var d=this;if(e.keyCode===37){d.changeSlide({data:{message:"previous"}})}else{if(e.keyCode===39){d.changeSlide({data:{message:"next"}})}}};b.prototype.lazyLoad=function(){var f=this,d,j,h,g;function e(k){a("img[data-lazy]",k).each(function(){var l=a(this),n=a(this).attr("data-lazy");l.load(function(){l.animate({opacity:1},50)}).css({opacity:0}).attr("src",n).removeAttr("data-lazy").removeClass("slick-loading")})}if(f.options.centerMode===true){if(f.options.infinite===true){h=f.currentSlide+(f.options.slidesToShow/2+1);g=h+f.options.slidesToShow+2}else{h=Math.max(0,f.currentSlide-(f.options.slidesToShow/2+1));g=2+(f.options.slidesToShow/2+1)+f.currentSlide}}else{h=f.options.infinite?f.options.slidesToShow+f.currentSlide:f.currentSlide;g=h+f.options.slidesToShow;if(f.options.fade===true){if(h>0){h--}if(g<=f.slideCount){g++}}}d=f.$slider.find(".slick-slide").slice(h,g);e(d);if(f.slideCount==1){j=f.$slider.find(".slick-slide");e(j)}else{if(f.currentSlide>=f.slideCount-f.options.slidesToShow){j=f.$slider.find(".slick-cloned").slice(0,f.options.slidesToShow);e(j)}else{if(f.currentSlide===0){j=f.$slider.find(".slick-cloned").slice(f.options.slidesToShow*-1);e(j)}}}};b.prototype.loadSlider=function(){var d=this;d.setPosition();d.$slideTrack.css({opacity:1});d.$slider.removeClass("slick-loading");d.initUI();if(d.options.lazyLoad==="progressive"){d.progressiveLazyLoad()}};b.prototype.postSlide=function(e){var d=this;if(d.options.onAfterChange!==null){d.options.onAfterChange.call(this,d,e)}d.animating=false;d.setPosition();d.swipeLeft=null;if(d.options.autoplay===true&&d.paused===false){d.autoPlay()}};b.prototype.progressiveLazyLoad=function(){var e=this,d,f;d=a("img[data-lazy]").length;if(d>0){f=a("img[data-lazy]",e.$slider).first();f.attr("src",f.attr("data-lazy")).removeClass("slick-loading").load(function(){f.removeAttr("data-lazy");e.progressiveLazyLoad()})}};b.prototype.refresh=function(){var d=this,e=d.currentSlide;d.destroy();a.extend(d,d.initials);d.currentSlide=e;d.init()};b.prototype.reinit=function(){var d=this;d.$slides=d.$slideTrack.children(d.options.slide).addClass("slick-slide");d.slideCount=d.$slides.length;if(d.currentSlide>=d.slideCount&&d.currentSlide!==0){d.currentSlide=d.currentSlide-d.options.slidesToScroll}d.setProps();d.setupInfinite();d.buildArrows();d.updateArrows();d.initArrowEvents();d.buildDots();d.updateDots();d.initDotEvents();if(d.options.focusOnSelect===true){a(d.options.slide,d.$slideTrack).on("click.slick",d.selectHandler)}d.setSlideClasses(0);d.setPosition();if(d.options.onReInit!==null){d.options.onReInit.call(this,d)}};b.prototype.removeSlide=function(e,f){var d=this;if(typeof(e)==="boolean"){f=e;e=f===true?0:d.slideCount-1}else{e=f===true?--e:e}if(d.slideCount<1||e<0||e>d.slideCount-1){return false}d.unload();d.$slideTrack.children(this.options.slide).eq(e).remove();d.$slides=d.$slideTrack.children(this.options.slide);d.$slideTrack.children(this.options.slide).detach();d.$slideTrack.append(d.$slides);d.$slidesCache=d.$slides;d.reinit()};b.prototype.setCSS=function(e){var f=this,g={},d,h;if(f.options.rtl===true){e=-e}d=f.positionProp=="left"?e+"px":"0px";h=f.positionProp=="top"?e+"px":"0px";g[f.positionProp]=e;if(f.transformsEnabled===false){f.$slideTrack.css(g)}else{g={};if(f.cssTransitions===false){g[f.animType]="translate("+d+", "+h+")";f.$slideTrack.css(g)}else{g[f.animType]="translate3d("+d+", "+h+", 0px)";f.$slideTrack.css(g)}}};b.prototype.setDimensions=function(){var d=this;if(d.options.vertical===false){if(d.options.centerMode===true){d.$list.css({padding:("0px "+d.options.centerPadding)})}}else{d.$list.height(d.$slides.first().outerHeight(true)*d.options.slidesToShow);if(d.options.centerMode===true){d.$list.css({padding:(d.options.centerPadding+" 0px")})}}d.listWidth=d.$list.width();d.listHeight=d.$list.height();if(d.options.vertical===false){d.slideWidth=Math.ceil(d.listWidth/d.options.slidesToShow);d.$slideTrack.width(Math.ceil((d.slideWidth*d.$slideTrack.children(".slick-slide").length)))}else{d.slideWidth=Math.ceil(d.listWidth);d.$slideTrack.height(Math.ceil((d.$slides.first().outerHeight(true)*d.$slideTrack.children(".slick-slide").length)))}var e=d.$slides.first().outerWidth(true)-d.$slides.first().width();d.$slideTrack.children(".slick-slide").width(d.slideWidth-e)};b.prototype.setFade=function(){var d=this,e;d.$slides.each(function(f,g){e=(d.slideWidth*f)*-1;a(g).css({position:"relative",left:e,top:0,zIndex:800,opacity:0})});d.$slides.eq(d.currentSlide).css({zIndex:900,opacity:1})};b.prototype.setPosition=function(){var d=this;d.setDimensions();if(d.options.fade===false){d.setCSS(d.getLeft(d.currentSlide))}else{d.setFade()}};b.prototype.setProps=function(){var e=this,d=document.body.style;e.positionProp=e.options.vertical===true?"top":"left";if(e.positionProp==="top"){e.$slider.addClass("slick-vertical")}else{e.$slider.removeClass("slick-vertical")}if(d.WebkitTransition!==undefined||d.MozTransition!==undefined||d.msTransition!==undefined){if(e.options.useCSS===true){e.cssTransitions=true}}if(d.OTransform!==undefined){e.animType="OTransform";e.transformType="-o-transform";e.transitionType="OTransition";if(d.perspectiveProperty===undefined&&d.webkitPerspective===undefined){e.animType=false}}if(d.MozTransform!==undefined){e.animType="MozTransform";e.transformType="-moz-transform";e.transitionType="MozTransition";if(d.perspectiveProperty===undefined&&d.MozPerspective===undefined){e.animType=false}}if(d.webkitTransform!==undefined){e.animType="webkitTransform";e.transformType="-webkit-transform";e.transitionType="webkitTransition";if(d.perspectiveProperty===undefined&&d.webkitPerspective===undefined){e.animType=false}}if(d.msTransform!==undefined){e.animType="msTransform";e.transformType="-ms-transform";e.transitionType="msTransition";if(d.msTransform===undefined){e.animType=false}}if(d.transform!==undefined&&e.animType!==false){e.animType="transform";e.transformType="transform";e.transitionType="transition"}e.transformsEnabled=(e.animType!==null&&e.animType!==false)};b.prototype.setSlideClasses=function(g){var f=this,d,e,j,h;f.$slider.find(".slick-slide").removeClass("slick-active").removeClass("slick-center");e=f.$slider.find(".slick-slide");if(f.options.centerMode===true){d=Math.floor(f.options.slidesToShow/2);if(f.options.infinite===true){if(g>=d&&g<=(f.slideCount-1)-d){f.$slides.slice(g-d,g+d+1).addClass("slick-active")}else{j=f.options.slidesToShow+g;e.slice(j-d+1,j+d+2).addClass("slick-active")}if(g===0){e.eq(e.length-1-f.options.slidesToShow).addClass("slick-center")}else{if(g===f.slideCount-1){e.eq(f.options.slidesToShow).addClass("slick-center")}}}f.$slides.eq(g).addClass("slick-center")}else{if(g>=0&&g<=(f.slideCount-f.options.slidesToShow)){f.$slides.slice(g,g+f.options.slidesToShow).addClass("slick-active")}else{if(e.length<=f.options.slidesToShow){e.addClass("slick-active")}else{h=f.slideCount%f.options.slidesToShow;j=f.options.infinite===true?f.options.slidesToShow+g:g;if(f.options.slidesToShow==f.options.slidesToScroll&&(f.slideCount-g)<f.options.slidesToShow){e.slice(j-(f.options.slidesToShow-h),j+h).addClass("slick-active")}else{e.slice(j,j+f.options.slidesToShow).addClass("slick-active")}}}}if(f.options.lazyLoad==="ondemand"){f.lazyLoad()}};b.prototype.setupInfinite=function(){var d=this,e,g,f;if(d.options.fade===true||d.options.vertical===true){d.options.centerMode=false}if(d.options.infinite===true&&d.options.fade===false){g=null;if(d.slideCount>d.options.slidesToShow){if(d.options.centerMode===true){f=d.options.slidesToShow+1}else{f=d.options.slidesToShow}for(e=d.slideCount;e>(d.slideCount-f);e-=1){g=e-1;a(d.$slides[g]).clone(true).attr("id","").prependTo(d.$slideTrack).addClass("slick-cloned")}for(e=0;e<f;e+=1){g=e;a(d.$slides[g]).clone(true).attr("id","").appendTo(d.$slideTrack).addClass("slick-cloned")}d.$slideTrack.find(".slick-cloned").find("[id]").each(function(){a(this).attr("id","")})}}};b.prototype.selectHandler=function(g){var f=this;var e=f.options.asNavFor!=null?a(f.options.asNavFor).getSlick():null;var d=parseInt(a(g.target).parent().attr("index"));if(!d){d=0}if(f.slideCount<=f.options.slidesToShow){return}f.slideHandler(d);if(e!=null){if(e.slideCount<=e.options.slidesToShow){return}e.slideHandler(d)}};b.prototype.slideHandler=function(f){var k,d,h,g,j=null,e=this;if(e.animating===true){return false}k=f;j=e.getLeft(k);h=e.getLeft(e.currentSlide);g=e.slideCount%e.options.slidesToScroll!==0?e.options.slidesToScroll:0;e.currentLeft=e.swipeLeft===null?h:e.swipeLeft;if(e.options.infinite===false&&e.options.centerMode===false&&(f<0||f>(e.slideCount-e.options.slidesToShow+g))){if(e.options.fade===false){k=e.currentSlide;e.animateSlide(h,function(){e.postSlide(k)})}return false}else{if(e.options.infinite===false&&e.options.centerMode===true&&(f<0||f>(e.slideCount-e.options.slidesToScroll))){if(e.options.fade===false){k=e.currentSlide;e.animateSlide(h,function(){e.postSlide(k)})}return false}}if(e.options.autoplay===true){clearInterval(e.autoPlayTimer)}if(k<0){if(e.slideCount%e.options.slidesToScroll!==0){d=e.slideCount-(e.slideCount%e.options.slidesToScroll)}else{d=e.slideCount-e.options.slidesToScroll}}else{if(k>(e.slideCount-1)){d=0}else{d=k}}e.animating=true;if(e.options.onBeforeChange!==null&&f!==e.currentSlide){e.options.onBeforeChange.call(this,e,e.currentSlide,d)}e.currentSlide=d;e.setSlideClasses(e.currentSlide);e.updateDots();e.updateArrows();if(e.options.fade===true){e.fadeSlide(d,function(){e.postSlide(d)});return false}e.animateSlide(j,function(){e.postSlide(d)})};b.prototype.startLoad=function(){var d=this;if(d.options.arrows===true&&d.slideCount>d.options.slidesToShow){d.$prevArrow.hide();d.$nextArrow.hide()}if(d.options.dots===true&&d.slideCount>d.options.slidesToShow){d.$dots.hide()}d.$slider.addClass("slick-loading")};b.prototype.swipeDirection=function(){var d,g,f,h,e=this;d=e.touchObject.startX-e.touchObject.curX;g=e.touchObject.startY-e.touchObject.curY;f=Math.atan2(g,d);h=Math.round(f*180/Math.PI);if(h<0){h=360-Math.abs(h)}if((h<=45)&&(h>=0)){return"left"}if((h<=360)&&(h>=315)){return"left"}if((h>=135)&&(h<=225)){return"right"}return"vertical"};b.prototype.swipeEnd=function(f){var e=this;var d=e.options.asNavFor!=null?a(e.options.asNavFor).getSlick():null;e.dragging=false;if(e.touchObject.curX===undefined){return false}if(e.touchObject.swipeLength>=e.touchObject.minSwipe){a(f.target).on("click.slick",function(g){g.stopImmediatePropagation();g.stopPropagation();g.preventDefault();a(g.target).off("click.slick")});switch(e.swipeDirection()){case"left":e.slideHandler(e.currentSlide+e.options.slidesToScroll);if(d!=null){d.slideHandler(d.currentSlide+d.options.slidesToScroll)}e.touchObject={};break;case"right":e.slideHandler(e.currentSlide-e.options.slidesToScroll);if(d!=null){d.slideHandler(d.currentSlide-d.options.slidesToScroll)}e.touchObject={};break}}else{if(e.touchObject.startX!==e.touchObject.curX){e.slideHandler(e.currentSlide);if(d!=null){d.slideHandler(d.currentSlide)}e.touchObject={}}}};b.prototype.swipeHandler=function(e){var d=this;if((d.options.swipe===false)||("ontouchend" in document&&d.options.swipe===false)){return}else{if((d.options.draggable===false)||(d.options.draggable===false&&!e.originalEvent.touches)){return}}d.touchObject.fingerCount=e.originalEvent&&e.originalEvent.touches!==undefined?e.originalEvent.touches.length:1;d.touchObject.minSwipe=d.listWidth/d.options.touchThreshold;switch(e.data.action){case"start":d.swipeStart(e);break;case"move":d.swipeMove(e);break;case"end":d.swipeEnd(e);break}};b.prototype.swipeMove=function(g){var f=this,h,e,d,j;j=g.originalEvent!==undefined?g.originalEvent.touches:null;h=f.getLeft(f.currentSlide);if(!f.dragging||j&&j.length!==1){return false}f.touchObject.curX=j!==undefined?j[0].pageX:g.clientX;f.touchObject.curY=j!==undefined?j[0].pageY:g.clientY;f.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(f.touchObject.curX-f.touchObject.startX,2)));e=f.swipeDirection();if(e==="vertical"){return}if(g.originalEvent!==undefined&&f.touchObject.swipeLength>4){g.preventDefault()}d=f.touchObject.curX>f.touchObject.startX?1:-1;if(f.options.vertical===false){f.swipeLeft=h+f.touchObject.swipeLength*d}else{f.swipeLeft=h+(f.touchObject.swipeLength*(f.$list.height()/f.listWidth))*d}if(f.options.fade===true||f.options.touchMove===false){return false}if(f.animating===true){f.swipeLeft=null;return false}f.setCSS(f.swipeLeft)};b.prototype.swipeStart=function(e){var d=this,f;if(d.touchObject.fingerCount!==1||d.slideCount<=d.options.slidesToShow){d.touchObject={};return false}if(e.originalEvent!==undefined&&e.originalEvent.touches!==undefined){f=e.originalEvent.touches[0]}d.touchObject.startX=d.touchObject.curX=f!==undefined?f.pageX:e.clientX;d.touchObject.startY=d.touchObject.curY=f!==undefined?f.pageY:e.clientY;d.dragging=true};b.prototype.unfilterSlides=function(){var d=this;if(d.$slidesCache!==null){d.unload();d.$slideTrack.children(this.options.slide).detach();d.$slidesCache.appendTo(d.$slideTrack);d.reinit()}};b.prototype.unload=function(){var d=this;a(".slick-cloned",d.$slider).remove();if(d.$dots){d.$dots.remove()}if(d.$prevArrow){d.$prevArrow.remove();d.$nextArrow.remove()}d.$slides.removeClass("slick-slide slick-active slick-visible").removeAttr("style")};b.prototype.updateArrows=function(){var d=this;if(d.options.arrows===true&&d.options.infinite!==true&&d.slideCount>d.options.slidesToShow){d.$prevArrow.removeClass("slick-disabled");d.$nextArrow.removeClass("slick-disabled");if(d.currentSlide===0){d.$prevArrow.addClass("slick-disabled");d.$nextArrow.removeClass("slick-disabled")}else{if(d.currentSlide>=d.slideCount-d.options.slidesToShow){d.$nextArrow.addClass("slick-disabled");d.$prevArrow.removeClass("slick-disabled")}}}};b.prototype.updateDots=function(){var d=this;if(d.$dots!==null){d.$dots.find("li").removeClass("slick-active");d.$dots.find("li").eq(Math.floor(d.currentSlide/d.options.slidesToScroll)).addClass("slick-active")}};a.fn.slick=function(e){var d=this;return d.each(function(f,g){g.slick=new b(g,e)})};a.fn.slickAdd=function(d,g,f){var e=this;return e.each(function(h,j){j.slick.addSlide(d,g,f)})};a.fn.slickCurrentSlide=function(){var d=this;return d.get(0).slick.getCurrent()};a.fn.slickFilter=function(e){var d=this;return d.each(function(f,g){g.slick.filterSlides(e)})};a.fn.slickGoTo=function(d){var e=this;return e.each(function(g,h){var f=h.slick.options.asNavFor!=null?a(h.slick.options.asNavFor):null;if(f!=null){f.slickGoTo(d)}h.slick.slideHandler(d)})};a.fn.slickNext=function(){var d=this;return d.each(function(e,f){f.slick.changeSlide({data:{message:"next"}})})};a.fn.slickPause=function(){var d=this;return d.each(function(e,f){f.slick.autoPlayClear();f.slick.paused=true})};a.fn.slickPlay=function(){var d=this;return d.each(function(e,f){f.slick.paused=false;f.slick.autoPlay()})};a.fn.slickPrev=function(){var d=this;return d.each(function(e,f){f.slick.changeSlide({data:{message:"previous"}})})};a.fn.slickRemove=function(e,f){var d=this;return d.each(function(g,h){h.slick.removeSlide(e,f)})};a.fn.slickGetOption=function(e){var d=this;return d.get(0).slick.options[e]};a.fn.slickSetOption=function(f,g,e){var d=this;return d.each(function(h,j){j.slick.options[f]=g;if(e===true){j.slick.unload();j.slick.reinit()}})};a.fn.slickUnfilter=function(){var d=this;return d.each(function(e,f){f.slick.unfilterSlides()})};a.fn.unslick=function(){var d=this;return d.each(function(e,f){if(f.slick){f.slick.destroy()}})};a.fn.getSlick=function(){var e=null;var d=this;d.each(function(f,g){e=g.slick});return e}}));$(document).ready(function(){$("#adventkalenderWin a.hidden").hover(function(a){$(this).removeClass("hidden").children("img").show()},function(a){$(this).addClass("hidden").children("img").hide()})});
/*!
 * Article Pages
 */
function showTextPages(){this.box=$("#wrap article .article_body");this.gotoPage=function(a){this.box.find(".article_page_body").hide();this.box.find(".article_page_body:eq("+(a-1)+")").show();$("#wrap article .article_pages").each(function(){$(this).find("a").removeClass("active");$(this).find("a:eq("+(a-1)+")").addClass("active")})}}if($("#wrap article .article_pages").length>0){var pager=new showTextPages()}$(".article_box .overlay_box .arrowContainer .arrow").click(function(g){g.preventDefault();var b=$(this).parent().parent().children("img");var f=b.length;var a=$(this).parent().parent().children("img:visible").index();var d=$(".article_box .article_box_top_copyright");b.hide();if($(this).hasClass("arrowLeft")){a=(a-1>=0)?a-1:f-1}else{a=(a+1>=f)?0:a+1}$(b[a]).show();$(d).removeClass("active");$(d[a]).addClass("active");oe24Tracking.loadOewa();oe24Tracking.googleAnalyticsRefreshTracking()});$(window).bind("scroll",function(){if($("article .article_social").length>0){var o=$(document).scrollTop();var g=$(".nav_portal").height();var l=$(".nav_main_menue_item").height();var n=70;var a=$(".article_box_wrapper").offset().top;var e=n-(g+l);var k=$(".article_box_wrapper").height();var b=$(".article_social").height();var f=$(".content").innerWidth();var j=$(".article_social").innerWidth();var d=$(".content").position().left;var h=f-j+d;if((a+k-g-l-e-b)<o){$(".article_social").css({position:"absolute",left:"auto",right:"0px",top:"auto",bottom:"0px"})}else{if((a-g-l-e)<o){$(".article_social").css({position:"fixed",left:h+"px",right:"auto",top:n+"px",bottom:"auto"})}else{$(".article_social").css({position:"absolute",left:"auto",right:"0px",top:"0px",bottom:"auto"})}}}});(function(a){a.fn.Kommentare=function(f){var h=a(this).find('#setCommentForm :input[name="commentRef"]').val();var e=function(k){return(k>=0&&k<10)?"0"+k:""+k};var j=function(r){var p=new Date(r*1000);var k=e(p.getDate());var n=e(p.getMonth()+1);var o=p.getFullYear();var l=e(p.getHours());var q=e(p.getMinutes());return k+"."+n+"."+o+" "+l+":"+q};var d=function(p,v){var n=(""===p.firstname||""===p.lastname)?p.username:p.firstname+" "+p.lastname+" ("+p.username+")";var q=(v!==null)?v:p.id;var k=a("<span></span>").addClass("name").text(n);var t=a("<div></div>").addClass("trenner").text(">>");var l=a("<span></span>").addClass("datum").text(j(p.date));var o=a("<a></a>").addClass("answerComment").addClass("right").data("answerId",q).text("Antworten");var y=a("<div></div>").addClass("clearfix");var w=a("<p></p>").text(p.text);var x=a("<div></div>").addClass("comment_div").append(k,[t,l,o,y,w]);var u=a("<div></div>").addClass("comment_div_after");var r=a("<div></div>").addClass("comment").append(x,[u]);if(v!==null){r.addClass("antwort")}return r};var g=function(){var o=a("#commentsContainer").data("comments");o.reverse();if(o.length>0){a("#commentsContainer").html("")}for(var p=0;p<o.length;++p){var l=d(o[p],null);a("#commentsContainer").append(l);if(o[p]["answers"]!=null){for(var k=0;k<o[p]["answers"].length;++k){var n=d(o[p]["answers"][k],o[p]["id"]);a("#commentsContainer").append(n)}}}};var b=function(){a.ajax({url:"/user/json/getcomments/"+h,dataType:"json",cache:false,success:(function(k){if(k!==null){a("#commentsContainer").data("comments",k);a("#commentText").text("Posten Sie ("+k.length+")");a("#commentCounter span").text("("+k.length+")");g()}})})};return this.each(function(k){var l=this;b();a(this).on("click",".comment .answerComment",function(){a("#setCommentForm").find(':input[name="commentAnswerRef"]').val(a(this).data("answerId"));a(".commentsHeaderText").text("Posten Sie Ihre Antwort");a("#setCommentForm textarea").attr("placeholder","Schreiben Sie hier Ihre Antwort")});a(this).find("#setCommentForm textarea").bind("keyup",function(){if(a(this).val().length>0){a('#setCommentForm :input[name="setComment"]').val("1");a("#setCommentForm .button").removeAttr("disabled")}else{a('#setCommentForm :input[name="setComment"]').val("0");a("#setCommentForm .button").attr("disabled","disabled")}});a(this).find("form").bind("submit",function(){var n=this;var o=a(this).serialize();a(l).find("#commentMsg").text("");a(l).find("#"+a(this).attr("id")+' button[type="submit"]').attr("disabled","disabled");a(l).find("#"+a(this).attr("id")+' input[type="submit"]').attr("disabled","disabled");a.post("/user/json",o,function(p){a(l).find("#"+a(n).attr("id")+' button[type="submit"]').removeAttr("disabled");a(l).find("#"+a(n).attr("id")+' input[type="submit"]').removeAttr("disabled");if(a(n).attr("id")=="logoutForm"){if(p.error===null){a(l).find("#loginForm").css("display","inline");a(l).find("#commentGuestUsername").css("display","inline");a(l).find("#loginUsername").css("display","none");a(l).find("#logoutForm").css("display","none");a(l).find("#noFirstAndLastname").css("display","none");if(a(l).find("#commentGuestUsername").length==0){a(l).find("#setCommentForm").css("display","none")}else{a(l).find("#setCommentForm").css("display","inline")}a('#loginForm :input[name="username"]').focus()}}if(a(n).attr("id")=="loginForm"){if(p.error===null){a(l).find("#loginUsername").text("Hallo "+p.username);a(l).find("#logoutForm").css("display","inline");a(l).find("#loginUsername").css("display","inline");a(l).find("#setCommentForm").css("display","inline");a(l).find("#loginForm").css("display","none");a(l).find("#commentGuestUsername").css("display","none");if(a(l).find("#commentGuestUsername").length==0){a(l).find("#setCommentForm")[0].reset();a(l).find("#setCommentForm textarea").val("");a(l).find('#setCommentForm :input[name="setComment"]').val("0");a(l).find('#setCommentForm :input[name="commentAnswerRef"]').val("0");a(l).find("#setCommentForm textarea").attr("placeholder","Schreiben Sie hier Ihren Kommentar");a(l).find(".commentsHeaderText").text("Posten Sie Ihre Meinung");a(l).find('#setCommentForm :input[type="submit"]').attr("disabled","disabled")}a(l).find("#setCommentForm textarea").focus();if(p.firstName===null||p.lastName===null){window.location.href="/user?noFirstLastName&redirect="+window.location.href;a(l).find("#noFirstAndLastname").css("display","inline");a(l).find("#setCommentForm").css("display","none")}}}if(p.success!==null){a(l).find("#commentMsg").removeClass("error").addClass("success").html(p.success)}else{if(p.error!==null){a(l).find("#commentMsg").removeClass("success").addClass("error").html(p.error)}}if(p.error===null){a(n)[0].reset();if(a(n).attr("id")=="setCommentForm"){}}},"json").fail(function(){if(a(n).attr("id")=="loginForm"){a(l).find("#commentMsg").removeClass("success").addClass("error").html("Ein Fehler ist aufgetreten.")}a(l).find("#"+a(n).attr("id")+' button[type="submit"]').removeAttr("disabled");a(l).find("#"+a(n).attr("id")+' input[type="submit"]').removeAttr("disabled")});return false})})}})(jQuery);$("section.comments").Kommentare();
/*!
 * Oe24Console Function, Multi Instance Ready
 * @author Roland Eigelsreiter
 * @example  var console = new oe24Console({
                ownObjName:"console",
                id : "consoleElementId"
            });
 * @version 1.1
 * @since 06/2010
 * @link r.eigelsreiter@oe24.at
 */
function oe24Console(param){this.leftClick=function(clearIv){if(typeof clearIv!="undefined"){clearInterval(this.iv)}this.prev()};this.rightClick=function(clearIv){if(typeof clearIv!="undefined"){clearInterval(this.iv)}this.next()};this.prev=function(){var currIndex=this.getTinyIndex();if(currIndex==0){currIndex=this.count-1}else{currIndex--}this.open(currIndex)};this.next=function(){var currIndex=this.getTinyIndex();if(currIndex==(this.count-1)){currIndex=0}else{currIndex++}this.open(currIndex)};this.tinyJump=function(element){var i=$(element).parent().prevAll().length;if(i>=this.count){i=i-this.count}this.open(i,true)};this.open=function(index,clearIv){if(typeof clearIv!="undefined"){clearInterval(this.iv)}this.box.find(".counterText").html((index+1)+"/"+this.count);this.box.find(".bigStory").hide();this.box.find(".tinyStory").removeClass("active");this.box.find(".tinyStory.lastShown").removeClass("lastShown");this.box.find(".bigStory:eq("+index+")").show();this.box.find(".tinyStory:eq("+index+")").addClass("active");this.box.find(".tinyStory:eq("+(index+this.showMaxItems-1)+")").addClass("lastShown");var w=this.box.find(".tinyStory").outerWidth();var l=(w*index+1)*(-1)+30;l++;this.box.find(".tinyStorys .moveBox").css({left:l+"px"})};this.getTinyIndex=function(){return this.box.find(".active").prevAll().length};this.showMaxItems=4;this.box=$("#"+param.id);var html=this.box.find(".tinyStorys .moveBox").html();this.count=this.box.find(".tinyStorys .moveBox .tinyStory").length;this.box.find(".tinyStorys .moveBox").append(html);this.open(0);param.interval=param.interval<1000?1000:param.interval;this.iv=setInterval(function(){eval(param.ownObjName+".next()")},param.interval)}if(typeof consoleBoxes!="undefined"){for(c=0;c<consoleBoxes.length;c++){window["console"+consoleBoxes[c]]=new oe24Console({ownObjName:"console"+consoleBoxes[c],id:"console"+consoleBoxes[c],interval:5000})}}(function(b,e,d,f){function a(n,g){var l=b(n).children(".consoleStories"),h=b(n).children(".consoleCounter"),k=b(n).find(".consoleNavigation"),o=b(n).find(".slickPrev"),p=b(n).find(".slickNext"),q=l.children(".consoleStoriesItem"),j=k.data("interval");l.slick({arrows:false,draggable:false,fade:true,lazyLoad:"ondemand",slidesToShow:1,slidesToScroll:1,slide:"a",onInit:function(){k.css({display:"block",width:"100%"});q.css({display:"block"})},onBeforeChange:function(t,u,r){h.text((r+1)+"/"+t.slideCount)}});k.slick({asNavFor:l,arrows:true,prevArrow:o,nextArrow:p,autoplay:true,autoplaySpeed:j,draggable:false,focusOnSelect:true,lazyLoad:"ondemand",pauseOnHover:true,slidesToShow:4,slidesToScroll:1,slide:"a",speed:250,onInit:function(){o.on("click",function(r){k.slickPause()});p.on("click",function(r){k.slickPause()})},});b(n).find(".consoleNavigationItem").on("click",function(r){r.preventDefault();k.slickPause()})}b.fn.consoleOe24=function(g){return this.each(function(){new a(this,g)})}})(jQuery,window,document);$(".console").consoleOe24();$(document).ready(function(){var e=$(".country_header a");var d=$(".country_body .country");var b=$(".country_body").parents(".content").siblings(".row_caption").find("h2");var a="";e.hover(function(){var f=$(this).index();$(e).removeClass("active");$(e[f]).addClass("active");$(d).removeClass("active");$(d[f]).addClass("active");a=$(this).children("span").attr("data-countryname")},function(){})});(function(f,e,b,h){var d="easyTicker",g={direction:"up",easing:"swing",speed:"slow",interval:2000,height:"auto",visible:0,mousePause:1,controls:{up:"",down:"",toggle:"",playText:"Play",stopText:"Stop"}};function a(k,v){var u=this;u.opts=f.extend({},g,v);u.elem=f(k);u.targ=f(k).children(":first-child");u.timer=0;u.mHover=0;u.winFocus=1;t();j();f([e,b]).off("focus.jqet").on("focus.jqet",function(){u.winFocus=1}).off("blur.jqet").on("blur.jqet",function(){u.winFocus=0});if(u.opts.mousePause==1){u.elem.mouseenter(function(){u.timerTemp=u.timer;p()}).mouseleave(function(){if(u.timerTemp!==0){j()}})}f(u.opts.controls.up).on("click",function(w){w.preventDefault();r("up")});f(u.opts.controls.down).on("click",function(w){w.preventDefault();r("down")});f(u.opts.controls.toggle).on("click",function(w){w.preventDefault();if(u.timer==0){j()}else{p()}});function t(){u.elem.children().css("margin",0).children().css("margin",0);u.elem.css({position:"relative",height:u.opts.height,overflow:"hidden"});u.targ.css({position:"absolute",margin:0});setInterval(function(){n()},100)}function j(){u.timer=setInterval(function(){if(u.winFocus==1){l(u.opts.direction)}},u.opts.interval);f(u.opts.controls.toggle).addClass("et-run").html(u.opts.controls.stopText)}function p(){clearInterval(u.timer);u.timer=0;f(u.opts.controls.toggle).removeClass("et-run").html(u.opts.controls.playText)}function l(z){var A,x,y;if(!u.elem.is(":visible")){return}if(z=="up"){A=":first-child";x="-=";y="appendTo"}else{A=":last-child";x="+=";y="prependTo"}var B=u.targ.children(A);var w=B.outerHeight();u.targ.stop(true,true).animate({top:x+w+"px"},u.opts.speed,u.opts.easing,function(){B.hide()[y](u.targ).fadeIn();u.targ.css("top",0);n()})}function r(w){p();if(w=="up"){l("up")}else{l("down")}}function q(){var w=0;var x=u.elem.css("display");u.elem.css("display","block");u.targ.children().each(function(){w+=f(this).outerHeight()});u.elem.css({display:x,height:w})}function o(x){var w=0;u.targ.children(":lt("+u.opts.visible+")").each(function(){w+=f(this).outerHeight()});if(x==1){u.elem.stop(true,true).animate({height:w},u.opts.speed)}else{u.elem.css("height",w)}}function n(){if(u.opts.height=="auto"&&u.opts.visible!=0){anim=arguments.callee.caller.name=="init"?0:1;o(anim)}else{if(u.opts.height=="auto"){q()}}}return{up:function(){r("up")},down:function(){r("down")},start:j,stop:p,options:u.opts}}f.fn[d]=function(j){return this.each(function(){if(!f.data(this,d)){f.data(this,d,new a(this,j))}})}})(jQuery,window,document);var SuperbannerTimeout=false;function fixed_header(d,g,e,q,j,p,n,l,o,h){var k=(false===e)?0:e.outerHeight(true);var f=(false===p)?0:p.outerHeight(true);var a=(false==h)?0:h.height();var b=$("header").offset().left;if(d>=q&&false!==e&&false!==p){if(false!==e){e.addClass("fixed").css({left:b})}if(false!==p){p.addClass("fixed").css({top:k,left:b})}if(false!==SuperbannerTimeout&&false!==o&&false!==h){o.addClass("fixed").css({"margin-bottom":a});h.addClass("fixed");if(SuperbannerTimeout==null){SuperbannerTimeout=window.setTimeout(function(){clearSuperbanner(o,h)},7000)}}f=(false===p)?0:p.outerHeight(true);if(false!==g){g.css({"margin-bottom":k+f})}}if(d<j&&false!==e&&false!==p){if(false!==e){e.removeClass("fixed").css({left:0})}if(false!==p){p.removeClass("fixed").css({top:0,left:0})}removeFixSuperbanner(o,h);if(false!==g){g.css({"margin-bottom":0})}}}function removeFixSuperbanner(a,b){if(false!==a){a.removeClass("fixed").css({"margin-bottom":0})}if(false!==b){b.removeClass("fixed")}}function clearSuperbanner(a,b){removeFixSuperbanner(a,b);window.clearTimeout(SuperbannerTimeout);SuperbannerTimeout=false}$(document).ready(function(){var b=($("header .nav_top").length)?$("header .nav_top"):false;var a=($("header .nav_portal").length)?$("header .nav_portal"):false;var f=($("header .nav_main").length)?$("header .nav_main"):false;var e=($(".Superbanner_div").length)?$(".Superbanner_div"):false;var h=($("#Superbanner").length)?$("#Superbanner"):false;var g=$(window).scrollTop();var d=navPortalTopStart=(a)?a.offset().top:0;var j=navMainTopStart=(f)?f.offset().top:0;if($("#Superbanner.bb_sticky").length>0){SuperbannerTimeout=null;$("#Superbanner").removeClass("bb_sticky")}fixSuperBanner=function(k){if(typeof k=="undefined"){k=""}d=navPortalTopStart=(a)?a.offset().top:0;if($("#Superbanner.bb_sticky").length>0&&k!="frontpage"){SuperbannerTimeout=null;$("#Superbanner").removeClass("bb_sticky")}};fixed_header(g,b,a,d,navPortalTopStart,f,j,navMainTopStart,e,h);$(window).scroll(function(k){g=$(window).scrollTop();d=(a)?a.offset().top:0;j=(f)?f.offset().top:0;fixed_header(g,b,a,d,navPortalTopStart,f,j,navMainTopStart,e,h)})});$(document).ready(function(){if(typeof weatherDisplay!=="undefined"){var f=$(".nav_main_weather");var b=$(".nav_main_weather_dropdown");var d=$(".nav_main_weather .nav_main_weather_degree");var a=$(".nav_main_weather .nav_main_weather_city");var e=$(".nav_main_weather .icon_weather");$(".nav_main_weather a").click(function(g){g.preventDefault();b.toggleClass("show")});b.children("ul").mouseleave(function(g){b.toggleClass("show")});weatherDisplay.rotatePlace=function(){weatherDisplay.placeIndex=(weatherDisplay.placeIndex+1==weatherDisplay.places.length)?0:weatherDisplay.placeIndex+1;place=weatherDisplay.places[weatherDisplay.placeIndex];d.html(place.temp+"&deg;");a.html(place.name);e.removeClass().addClass("icon_weather icon-wi"+weatherDisplay.pad(place.icon,3));setTimeout(weatherDisplay.rotatePlace,weatherDisplay.timeout)};weatherDisplay.pad=function(g,h){var j="000"+g;return j.substr(j.length-h)};setTimeout(weatherDisplay.rotatePlace,weatherDisplay.timeout)}});$(document).ready(function(){var a=$(".navMainButtons");if(a.length>0){$(".nav_main").hover(function(b){a.fadeIn(150)},function(b){a.fadeOut(150)})}});
/*!
 * Horoskop.js
 */
function NaviSlider(){this.naviClass=".horoscopeNavi";this.wrapperClass=".horoscopeNaviWrapper";this.leftClass=".horoscopeNaviLeft";this.rightClass=".horoscopeNaviRight";this.width=480}NaviSlider.prototype.init=function(){var a=this;$(this.leftClass).click(function(){if(!$(a.leftClass).hasClass("noClick")&&!$(a.rightClass).hasClass("noClick")){$(a.leftClass).addClass("noClick");$(a.rightClass).addClass("noClick");if($(a.naviClass).css("left")!="0"&&$(a.naviClass).css("left")!="0px"){$(a.naviClass).animate({left:"+="+a.width},500,function(){$(a.leftClass).removeClass("noClick");$(a.rightClass).removeClass("noClick")})}else{$(a.leftClass).removeClass("noClick");$(a.rightClass).removeClass("noClick")}}});$(this.rightClass).click(function(){if(!$(a.leftClass).hasClass("noClick")&&!$(a.rightClass).hasClass("noClick")){$(a.leftClass).addClass("noClick");$(a.rightClass).addClass("noClick");if($(a.naviClass).css("left")!="-480px"){$(a.naviClass).animate({left:"-="+a.width},500,function(){$(a.leftClass).removeClass("noClick");$(a.rightClass).removeClass("noClick")})}else{$(a.leftClass).removeClass("noClick");$(a.rightClass).removeClass("noClick")}}});if($(".activeHoroscopeNaviElement ").length>0&&$(".activeHoroscopeNaviElement ").offset().left>445){$(a.rightClass).trigger("click")}};NaviSlider.prototype.debug=function(){console.log(this)};$(document).ready(function(){if($(".horoscope").length>0){var a=new NaviSlider();a.init()}});function receiveSize(a){if(a.origin==="http://webmisc.oe24.at"||a.origin==="http://app.oe24.at"){data=a.data.split("|");document.getElementById(data[1]).style.height=data[0]+"px"}}$(window).on("message",function(a){receiveSize(a.originalEvent);return false});$("img.oe24Lazy").lazyload({threshold:200,skip_invisible:false});(function(b,e,d,f){function a(g,h){this.element=b(g);this.defaults={interval:60,movement:1};this.opts=b.extend(this.defaults,h);this.init()}a.prototype.init=function(){var g=this;this.intervalID=null;this.elementLeft=0;this.elementWidth=this.element.width();this.element.append(this.element.html());this.element.on("mouseenter",function(h){g.stop()});this.element.on("mouseleave",function(h){g.start()});this.start()};a.prototype.start=function(){var g=this;g.stop();g.intervalID=setInterval(function(){g.elementLeft-=g.defaults.movement;g.element.css("left",g.elementLeft+"px");if(g.elementLeft<(g.elementWidth*(-1))){g.elementLeft=0}},g.defaults.interval)};a.prototype.stop=function(){clearInterval(this.intervalID)};b.fn.moneyTicker=function(g){return this.each(function(){new a(this,g)})}})(jQuery,window,document);$(".moneyTicker .atxEntryContent").moneyTicker({interval:20});(function(b){var a={init:function(d){this.interval=null;this.delay=d.delay;this.items=b("#oesterreich_konsole .oeat_item");this.currentIndex=b("#oesterreich_konsole .oeat_item.active").index();b("#oesterreich_konsole").hover(function(){a.stop()},function(){a.next();if(a.delay){a.interval=window.setInterval(function(){a.play()},a.delay)}});b("#oesterreich_konsole .oeat_prev, #oesterreich_konsole .oeat_next").on("click",function(g){var f=b(this).attr("class");g.preventDefault();if("oeat_prev"==f){a.prev()}else{a.next()}});if(this.delay){this.interval=window.setInterval(function(){a.play()},this.delay)}},prev:function(){this.currentIndex=(this.currentIndex-1>=0)?this.currentIndex-1:this.items.length-1;b(this.items).hide();b(this.items[this.currentIndex]).fadeIn();this.stop()},next:function(){this.currentIndex=(this.currentIndex+1<=this.items.length-1)?this.currentIndex+1:0;b(this.items).hide();b(this.items[this.currentIndex]).fadeIn();this.stop()},play:function(){this.currentIndex=(this.currentIndex+1<=this.items.length-1)?this.currentIndex+1:0;b(this.items).hide();b(this.items[this.currentIndex]).fadeIn()},stop:function(){window.clearInterval(this.interval)}};b(document).ready(function(){if(b("#oesterreich_konsole").length&&typeof oeAtKonsoleTeaserHelper!=="undefined"){a.init(oeAtKonsoleTeaserHelper)}})})(jQuery);(function(a,e,d,f){function b(j,l){var k=a(j),n=(1==k.data("autoplay"))?true:false,g=k.data("autoplay-speed"),o=k.parents(".pageSliderBox").find(".prevSlide"),h=k.parents(".pageSliderBox").find(".nextSlide");k.slick({arrows:true,prevArrow:o,nextArrow:h,autoplay:n,autoplaySpeed:g,draggable:false,focusOnSelect:false,lazyLoad:"ondemand",pauseOnHover:true,slidesToShow:2,slidesToScroll:1,slide:"a",speed:250,onInit:function(){o.on("click",function(p){k.slickPause()});h.on("click",function(p){k.slickPause()});k.find(".pageSliderItem").css({display:"block"})}})}a.fn.pageSlider=function(g){return this.each(function(){new b(this,g)})}})(jQuery,window,document);$(".row .pageSlider").pageSlider();
/*!
 * Paginator
 */
function Paginator(){this.containerClass;this.countItems;this.countPages;this.itemsPerPage;this.currentPage;this.generatePaginationNav=function(){var a="";for(i=1;i<=this.countPages;++i){if(i==1){if(this.countPages>1){a=a+'<div class="paginationButton paginationButtonPrev">&lt;</div>'}a=a+'<div class="paginationButton paginationButtonActive">'+i+"</div>"}else{a=a+'<div class="paginationButton">'+i+"</div>"}}if(this.countPages>1){a=a+'<div class="paginationButton paginationButtonNext">&gt;</div>'}$(this.containerClass).after('<div class="paginationNav">'+a+"</div>");var d=this.containerClass;var b=this;$(".paginationButton").click(function(){console.log(b.currentPage);if($(this).hasClass("paginationButtonPrev")){b.currentPage=$(d).children(":visible").attr("class").replace("entry","").trim().substr($(d).children(":visible").attr("class").replace("entry","").trim().lastIndexOf("-")+1);$(".pagination-page-"+b.currentPage).hide();if(b.currentPage==1){b.currentPage=b.countPages}else{b.currentPage--}$(".pagination-page-"+b.currentPage).show();$(".paginationButtonActive").removeClass("paginationButtonActive");$('.paginationButton:contains("'+b.currentPage+'")').addClass("paginationButtonActive")}else{if($(this).hasClass("paginationButtonNext")){b.currentPage=$(d).children(":visible").attr("class").replace("entry","").trim().substr($(d).children(":visible").attr("class").replace("entry","").trim().lastIndexOf("-")+1);$(".pagination-page-"+b.currentPage).hide();if(b.currentPage==b.countPages){b.currentPage=1}else{b.currentPage++}$(".pagination-page-"+b.currentPage).show();$(".paginationButtonActive").removeClass("paginationButtonActive");$('.paginationButton:contains("'+b.currentPage+'")').addClass("paginationButtonActive")}else{$(d).children(":visible").hide();$(d).children(".pagination-page-"+$(this).text()).show();$(".paginationButtonActive").removeClass("paginationButtonActive");$(".paginationButton:contains('"+$(this).text()+"')").addClass("paginationButtonActive");this.currentPage=$(this).text()}}})}}Paginator.prototype.setContainerClass=function(a){this.containerClass=a};Paginator.prototype.setItemsPerPage=function(a){this.itemsPerPage=a};Paginator.prototype.init=function(){this.countItems=$(this.containerClass).children().length;this.countPages=Math.ceil(this.countItems/this.itemsPerPage);var b=1;var a=this.itemsPerPage;var d=0;$(this.containerClass).children().each(function(e){if(d==a){b++;d=0}$(this).addClass("pagination-page-"+b);d++});$(this.containerClass).children().not(".pagination-page-1").hide();this.generatePaginationNav();this.currentPage=1};if($("section.comments .commentsContainer").length>0){var paginator=new Paginator();paginator.setContainerClass("section.comments .commentsContainer");paginator.setItemsPerPage(20);paginator.init()}if($("section.comments .hide_postings .hidePostingDiv").length>0){$("section.comments .hide_postings .hidePostingDiv").click(function(){if($("section.comments .container_postings").css("display")=="none"){$("section.comments .container_postings").css("display","block");$(this).removeClass("icon_arrow3_down");$(this).addClass("icon_arrow3_up");$(this).prev().html("Postings ausblenden")}else{$("section.comments .container_postings").css("display","none");$(this).removeClass("icon_arrow3_up");$(this).addClass("icon_arrow3_down");$(this).prev().html("Postings einblenden")}})}(function(a){a.fn.oe24radioPlayer=function(){var j=30000;var f="/_getPlaylist/wien/playlist.json";var d="wien";var e="http://streamplus14.leonex.de:24954/;";var k="";var g=false;var h=true;var b=function(){a.getJSON(f,function(o){var l=o.tracks[0];var n=o.tracks[1];a("#nowCover").attr("src","/_getCover/"+d+"/"+l.track_id+"/cover.jpg");a("#nowInterpret").text(l.artist);a("#nowTitel").text(l.title);a("#nextInterpret").text(n.artist);a("#nextTitel").text(n.title)})};return this.each(function(n){if(a(".radioOe24Playlist").data("radio-station")=="vorarlberg"){f="/_getPlaylist/vbg/playlist.json";d="vbg";e="http://streamplus7.leonex.de:11850/;"}if(a(".radioOe24Playlist").find(".playlistBody.popup").length>0){h=false}if(typeof jwplayer!=="undefined"){var l=jwplayer("radioStream").setup({flashplayer:"/misc/swf/jwplayer.flash.swf",file:e,type:"mp3",autostart:h,primary:"flash",width:0,height:0});l.setVolume(100)}if(a(".radioOe24Playlist").find(".playlistBody.popup").length>0){k=a(".radioOe24Playlist #popupLink").val();g=a(".radioOe24Playlist #autoPopup").val()}else{a("#btnPlayPause").click(function(){if(a(this).hasClass("pause")){l.play();a(this).addClass("play").removeClass("pause")}else{l.stop();a(this).addClass("pause").removeClass("play")}});a(".radioOe24Playlist .playlistLinks a").click(function(o){parent.window.open(a(this).attr("href"));o.preventDefault()})}a(".radioOe24Playlist .playlistBody.popup").click(function(){window.open(k,"oe24playerwin","width=330,height=480")});if(g){a(".radioOe24Playlist .playlistBody.popup").trigger("click")}b();window.setInterval(function(){b()},j)})}})(jQuery);$(".radioOe24Playlist").oe24radioPlayer();call="";$(function(){$.fn.reverse=[].reverse;$(".recipe input[name=anzPersonen]").keyup(function(){calculateRecipe()});$(".recipe table.zutaten td.zutat input").keyup(function(){getIngredients($(this))});$(".recipe table.zutaten tr .del").click(function(){$(this).parent().parent().remove()});$(".recipe .del.img").click(function(){removeImage($(this))});$(".recipe .add.ingredient").click(function(){addIngredient()});$(".recipe .add.image").click(function(){addImage()});$(".recipe .speichern").click(function(){submitForm()});$(".kategorien .main .mainbox").change(function(){sub=$(this).parent().children(".sub");sub.toggle();sub.children(".checkbox").each(function(){$(this).children(".subbox").prop("checked",false)})})});function calculateRecipe(){anzPers=parseInt($(".recipe input[name=anzPersonen]").val());origAnzPersonen=parseInt($(".recipe input[name=anzPersonen]").data("value"));$(".recipe .zutaten tr td.menge").each(function(){data_val=parseFloat($(this).data("value"));if(data_val!=0&&data_val!=""){val=(Math.round(((data_val/origAnzPersonen)*anzPers)*100))/100;console.log(val%1);switch(val%1){case 0.25:val-=0.25;if(val==0){val=""}val+=" &frac14";break;case 0.5:val-=0.5;if(val==0){val=""}val+=" &frac12";break;case 0.75:val-=0.75;if(val==0){val=""}val+=" &frac34";break}$(this).html(val)}})}function getIngredients(a){if(typeof call.abort=="function"){call.abort()}call=$.ajax({type:"POST",url:"/recipe/json/getAllIngredientsByName/"+a.val(),data:{}}).done(function(b){if(/^[\],:{}\s]*$/.test(b.replace(/\\["\\\/bfnrtu]/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,""))){result=jQuery.parseJSON(b);output="";for(i=0;i<result.length;i++){output+='<a href="#">'+result[i]+"</a>"}$("div").remove(".ingredients_result");if(output!=""){a.after('<div class="ingredients_result">'+output+"</div>")}$(".recipe .ingredients_result a").each(function(){$(this).click(function(){a.val($(this).text());$("div").remove(".ingredients_result")})})}})}function addIngredient(){ingredients=$(".recipe table.zutaten tr").reverse();ingredients.each(function(){ingredientCount=parseInt($(this).data("id"))+1;return false});mass=$("td.mass select.einheitdd:last").clone();row='<tr data-id="'+ingredientCount+'"><td class="menge" data-value=""><div class="del"></div><input class="narrow" data-id ="'+ingredientCount+'" name="menge[]" type="text" /></td><td class="mass"></td><td class="zutat"><input class="semiwide" value="" data-id="'+ingredientCount+'" name="zutat[]" type="text"></td></tr>';$(".recipe table.zutaten tr:last").after(row);mass.appendTo("tr[data-id="+ingredientCount+"] td.mass");$(("tr[data-id="+ingredientCount+"] td.mass select")).prop("selectedIndex",0);$(".recipe table.zutaten tr:last .del").click(function(){$(this).parent().parent().remove()})}function setKat(a){console.log(a);for(i=0;i<a.length;i++){$("input[value="+a[i]+"]").prop("checked",true);$("input[value="+a[i]+"]").parent().children(".sub").css("display","block")}}function addImage(){images=$(".imageinput").reverse();images.each(function(){imgCount=parseInt($(this).data("id"))+1;return false});$(".recipe .imageinput:last").after('<input type="file" class="imageinput" name="bild[]" data-id="'+imgCount+'" />')}function removeImage(a){$(".recipe .hidden_img"+a.data("id")).prop("name","delImg[]");$(".recipe #r_img"+a.data("id")).remove();a.remove()}function anzPersonenError(){errorText="Bitte geben Sie die Anzahl der Personen an<br />";$(".recipe table.zutaten").before("<div class='rezeptError anzPersonenError'>"+errorText+"</div>");$(".recipe .anzPersonen").keyup(function(){$(".anzPersonenError").remove()})}function zutatenError(){errorText="Bitte geben Sie Zutaten an<br />";$(".recipe table.zutaten").after("<div class='rezeptError zError'>"+errorText+"</div>");$(".recipe table.zutaten tr td.zutat input").each(function(){$(this).keyup(function(){$(".zError").remove()})})}function zubereitungszeitError(){errorText="Bitte geben Sie die Zubereitungszeit an.<br />";$(".recipe .zubereitungszeit_b").after("<div class='rezeptError zubereitungszeitError'>"+errorText+"</div>");$(".recipe .zubereitungszeit").keyup(function(){$(".zubereitungszeitError").remove()})}function schwierigkeitsgradError(){errorText="Bitte geben Sie den Schwierigkeitsgrad an.<br />";$(".recipe .schwierigkeitsgrad").after("<div class='rezeptError schwierigkeitsgradError'>"+errorText+"</div>");$(".recipe .schwierigkeitsgrad").change(function(){$(".schwierigkeitsgradError").remove()})}function preiskategorieError(){errorText="Bitte geben Sie die Preiskategorie an.<br />";$(".recipe .preiskategorie").after("<div class='rezeptError preiskategorieError'>"+errorText+"</div>");$(".recipe .preiskategorie").change(function(){$(".preiskategorieError").remove()})}function zubereitungError(){errorText="Bitte verraten Sie uns wie das Gericht zubereitet wird.<br />";$(".recipe .zubereitung").before("<div class='rezeptError zubereitungsError'>"+errorText+"</div>");$(".recipe .zubereitung").keyup(function(){$(".zubereitungsError").remove()})}function headlineError(){errorText="Bitte geben Sie einen Titel für das Rezept an<br />";$(".recipe .headline").before("<div class='rezeptError headlineError'>"+errorText+"</div>");$(".recipe .headline").keyup(function(){$(".headlineError").remove()})}function kategorieError(){errorText="Bitte geben Sie eine oder mehrere Kategorie für das Rezept an<br />";$(".recipe .kategorien").after("<div class='rezeptError kategorieError'>"+errorText+"</div>");$(".recipe .kategorien input[type=checkbox]").change(function(){$(".kategorieError").remove()})}function submitForm(){$(".recipe .rezeptError").remove();zutatError=1;errorfield="";$(".recipe table.zutaten tr td.zutat input").each(function(){if($(this).val()!=""){zutatError=0;return false}});if(zutatError==1){zutatenError();if(errorfield==""){errorfield="zError"}}katError=1;$(".recipe .kategorien input[type=checkbox]").each(function(){if($(this).prop("checked")){katError=0;return false}});if(katError==1){kategorieError();if(errorfield==""){errorfield="kategorieError"}}if($(".recipe .anzPersonen").val()<1){anzPersonenError();if(errorfield==""){errorfield="anzPersonenError"}}if($(".recipe input[name=zubereitungszeit]").val()==""){zubereitungszeitError();if(errorfield==""){errorfield="zubereitungszeitError"}}if($(".recipe select[name=schwierigkeitsgrad]").val()==""){schwierigkeitsgradError();if(errorfield==""){errorfield="schwierigkeitsgradError"}}if($(".recipe select[name=preiskategorie]").val()==""){preiskategorieError();if(errorfield==""){errorfield="preiskategorieError"}}if($(".recipe .zubereitung").val()==""){zubereitungError();if(errorfield==""){errorfield="zubereitungsError"}}if($(".recipe .headline").val()==""){headlineError();if(errorfield==""){errorfield="headlineError"}}if(errorfield!=""){$("html, body").animate({scrollTop:$("."+errorfield).offset().top-150},500)}if(errorfield==""){$(".recipe form[name=articleform]").submit()}}$(".rueckblick select").change(function(a){if($(a.target).val()!="x"){location.href="http://"+rueckblickLinks[$(a.target).val()]}});function initRueckblick(){$(".rueckblick select").each(function(){($(this).val()=="x")?$(this).attr("selected",true):$(this).attr("selected",false)})}$(document).ready(function(){initRueckblick();$(window).unload(function(){initRueckblick()})});
/*!
 * Slideshow.js
 */
(function(a){a.fn.oe24slideShow=function(e){var d=function(j,h){a(j).removeClass("active");a(j[h]).addClass("active");g(h)};var b=function(j,h){a(j).removeClass("active");a(j[h]).addClass("active")};var f=function(n,l,k,j){a(l).removeClass("active");a(n[j]).parent().addClass("active");var h=a(n[j]).parent().index(".slideshowThumbnails");a(k).removeClass("active");a(k[h]).addClass("active")};var g=function(h){if(typeof window.theVoting!="undefined"){window.theVoting.gotoImage(h)}};return this.each(function(j){var k=this;var h=a(k).find(".slide.active").index();k.slides=a(k).find(".slide");k.descriptions=a(k).find(".slideDescription");k.last=k.slides.length-1;k.arrows=a(k).find(".arrow");k.slideshowThumbnails=a(k).find(".slideshowThumbnails");k.thumbnails=a(k.slideshowThumbnails).find("a");k.pages=a(k).find(".slideshowPages a");a(k.arrows).click(function(l){l.preventDefault();if(a(this).hasClass("arrowNext")){h=(h+1>k.last)?0:h+=1}else{h=(h-1<0)?k.last:h-=1}d(k.slides,h);b(k.descriptions,h);f(k.thumbnails,k.slideshowThumbnails,k.pages,h)});a(k.pages).click(function(n){var l=a(this).index();a(k.pages).removeClass("active");a(this).addClass("active");a(k.slideshowThumbnails).removeClass("active");a(k.slideshowThumbnails[l]).addClass("active");n.preventDefault()});a(k.thumbnails).click(function(l){l.preventDefault();h=a(k.slideshowThumbnails).find("a").index(this);d(k.slides,h);b(k.descriptions,h)});g(0)})}})(jQuery);
/*!
 * oe24Subnavigation für Relaunch 2014
 * @author Philipp Jarnig
 *
 * Klettert die Listelemente durch und zeigt die richtige Subliste an, welche ausgewählt wurde.
 */
var oe24SubnavfetchData=oe24SubnavfetchData||[[]];var oe24SubnavfetchDataUrl=oe24SubnavfetchDataUrl||[""];function oe24Subnav(b,h){if(typeof b=="undefined"){return}var d=null;fetchData=function(n,k,l){showData("load",l);d=k.data("jsonurl");if(!d||d==null){d==""}if(d!=""){d=d+n}var j=jQuery.inArray(d,oe24SubnavfetchDataUrl);if(j>=0){l.data(d+n,oe24SubnavfetchData[j]);showData(oe24SubnavfetchData[j],l);return}$.ajax({url:d+"?jsonCallbackSubNav",jsonp:false,cache:true,jsonpCallback:"jsonCallbackSubNav",cache:"true",dataType:"jsonp"}).done(function(o){oe24SubnavfetchData.push(o);oe24SubnavfetchDataUrl.push(d);l.data(d+n,o);showData(o,l)})};showData=function(k,l){subNavContent=l.find(".subnav_content").children();aTop1=subNavContent.nextAll().eq(0);aTop2=subNavContent.nextAll().eq(1);divMore=subNavContent.nextAll().eq(2).children();aMore1=divMore;aMore2=divMore.nextAll().eq(0);aMore3=divMore.nextAll().eq(1);if(typeof k[0]=="undefined"){subNavContent.parent().hide();subNavContent.parent().parent().css("height",40)}else{subNavContent.parent().show();subNavContent.parent().parent().css("height",260)}for(m=0;m<5;++m){var j=m<2?"aTop"+(m+1):"aMore"+(m-1);if(k=="load"||typeof k[m]=="undefined"){window[j].attr("href","#").addClass("empty");window[j].children().first().attr("src","/images/empty.gif");window[j].children().next().html("")}else{window[j].attr("href",k[m].href).removeClass("empty");window[j].children().first().attr("src",k[m].image);window[j].children().next().html(k[m].caption)}}};var a="Zur Zeit ist keine aktuelle Meldung eingelangt.";if(!h){var f="#"+$(b.parentNode).attr("id")+"_content";var g=$(b.parentNode.parentNode.parentNode);g.data("lastSubnavClicked",f);if(typeof g.data($(b).data("jsonurl")+"newest")!="undefined"){showData(g.data($(b).data("jsonurl")+"newest"),g)}else{fetchData("newest",$(b),g)}return}else{var g=$(b.parentNode.parentNode.parentNode);var f=g.data("lastSubnavClicked");if(typeof f=="undefined"){f="#subnav_1_content"}var e=$(b).attr("class").substr(8,1)=="1"?"newest":"top";var b=g.find(f.substr(0,9)).children()[0];if(typeof b=="undefined"||$(b).data("jsonurl")==""){return}if(typeof g.data($(b).data("jsonurl")+e)!="undefined"){showData(g.data($(b).data("jsonurl")+e),g)}else{fetchData(e,$(b),g)}}}$(function(){var a=200,b;$(".nav_main_items .subnav_container .subnav_menu li").on("mouseover","a",function(){var d=this;b=setTimeout(function(){$(d.parentNode.parentNode).children().removeClass("active");$(d.parentNode).addClass("active");$(d.parentNode.parentNode).next().find(".sidebar a").removeClass("active");$(d.parentNode.parentNode).next().find(".sidebar a:first").addClass("active");oe24Subnav(d,false)},a)}).on("mouseout","a",function(){clearTimeout(b)});$(".nav_main_items .subnav_container").on("mouseover",".sidebar a",function(){var d=this;b=setTimeout(function(){$(d.parentNode).children().removeClass("active");$(d).addClass("active");oe24Subnav(d,true)},a)}).on("mouseout",".sidebar a",function(){clearTimeout(b)});$(".nav_main_items .subnav_container").each(function(){});$(".nav_main_items").on("mouseover",">li>a",function(){var d=this;b=setTimeout(function(){$(d).next().find(".subnav_menu li").removeClass("active");$(d).next().find(".subnav_menu li:first").addClass("active");$(d).next().find(".sidebar a").removeClass("active");$(d).next().find(".sidebar a:first").addClass("active");if(typeof $(d).next().find(".subnav_menu li a")[0]!="undefined"){oe24Subnav($(d).next().find(".subnav_menu li a")[0],false)}},a)}).on("mouseout",">li>a",function(){clearTimeout(b)})});
/*!
 * Oe24 Text Slideshow Function
 * @author Nils Biesalski
 * @example var textslideshow = new oe24TextSlideshow({
                id:"textslideshow",
                pages:8
            });
 * @version 1.0
 * @since 01/2012
 *
 */
function oe24TextSlideshow(b){var a=this;this.box=$("#"+b.id);this.page=0;this.prev=function(){a.page--;if(a.page<0){a.page=b.pages-1}a.gotoPage(a.page)};this.next=function(){a.page++;if(a.page>=b.pages){a.page=0}a.gotoPage(a.page)};this.gotoPage=function(d){a.page=d;a.textPosition=this.box.find(".textSlideshowHeadline .textSlideshowPosition");if(navigator.userAgent.toLowerCase().indexOf("chrome")>-1){window.getSelection().setBaseAndExtent(a.textPosition,0,a.textPosition,1)}this.currentItem=this.box.find(".textSlideshowContentArea .tSsEntry");this.currentItem.removeClass("visible");this.currentItem.addClass("hidden");this.nextItem=this.box.find(".textSlideshowContentArea .tSsEntry:eq("+a.page+")");this.nextItem.removeClass("hidden");this.nextItem.addClass("visible");this.box.find(".textSlideshowHeadline .textSlideshowPosition").html((a.page+1)+"/"+b.pages)}}if(typeof text_slideshows!="undefined"){var TextSlideshow=new Array();for(c=0;c<text_slideshows.length;c++){randomId="textSlideshow_"+text_slideshows[c]["id"];TextSlideshow[text_slideshows[c]["id"]]=new oe24TextSlideshow({id:randomId,pages:text_slideshows[c]["pages"]});$("#"+randomId).find(".tSsLeftBtn").bind("click",function(){var a=parseInt($(this).parents(".textSlideshow:first").attr("id").replace(/[^0-9]/ig,""));TextSlideshow[a].prev()});$("#"+randomId).find(".tSsRightBtn").bind("click",function(){var a=parseInt($(this).parents(".textSlideshow:first").attr("id").replace(/[^0-9]/ig,""));TextSlideshow[a].next()})}
/*!
 * Tickerbox JavaScript
 */
}(function(f){var d=true;var g="next";var b="prev";var a="content_container";var e="content";f.fn.oe24Tickerbox=function(l,h,k,n,j){if(typeof h!=="undefined"){g=h}if(typeof k!=="undefined"){b=k}if(typeof l!=="undefined"){d=l}if(typeof n!=="undefined"){a=n}if(typeof j!=="undefined"){e=j}this.each(function(){var t=3;if(f(this).find(".ticker_bilder").length>0){t=4}var p=f(this).find("."+e).length;var q=0;var o=p-t;var r=this;if(d){for(i=0;i<(t-1);i++){f(this).find("."+a).append(f(this).find("."+e).eq(i).clone())}var o=p-1}f(this).find("."+g).click(function(){if(q<=o){f(r).find("."+e).eq(q).css({display:"none"});q++}if(d&&q>o){f(r).find("."+e).css({display:"initial"});q=0}return false});f(this).find("."+b).click(function(){if(q>=0){q--;f(r).find("."+e).eq(q).css({display:"initial"})}if(d&&q<0){f(r).find("."+e+":lt("+o+")").css({display:"none"});q=o}return false})});return this}}(jQuery));$(".ticker_box").oe24Tickerbox(true,"ticker_arrow_right","ticker_arrow_left","ticker_middle","ticker_content");function slideshowVoting(b){var a=this;this.gotoImage=function(e){this.currentImage=e;var d="http://app.oe24.at/polls/votePanel.do?key="+a.param.voteKey+"&template="+a.param.template+"&imgUrl="+a.param.imgUrls[this.currentImage];$("#votingFrame").attr("src",d)};this.showResult=function(){document.location.href=href+"&result=true"};this.currentImage=1;this.param=b}function checkVotingFrameSize(){var d=document.getElementById("vresultframe");var a=d.contentWindow.document.body;var b=a.offsetHeight+30;var e=d.offsetHeight;if(e<b){d.style.height=b+"px"}}$(document).ready(function(){if(typeof votingBoxes!="undefined"){for(s=0;s<votingBoxes.length;s++){window.theVoting=new slideshowVoting({imgUrls:votingBoxes[s]["imgUrls"],voteKey:votingBoxes[s]["voteKey"],template:votingBoxes[s]["template"]})}}});(function(b,e,d,f){function a(g,h){this.element=b(g);this.defaults={interval:2000};this.opts=b.extend(this.defaults,h);this.init()}a.prototype.init=function(){var g=this;this.intervalID=null;this.elementTop=0;this.elementHeight=this.element.height();this.movement=this.element.children().height();this.element.on("mouseenter",function(h){g.stop()});this.element.on("mouseleave",function(h){g.start()});this.start()};a.prototype.start=function(){var g=this;g.stop();g.intervalID=setInterval(function(){g.elementTop-=g.movement;if(g.elementTop<=(g.elementHeight*(-1))){g.elementTop=0}g.element.css("top",g.elementTop+"px")},g.defaults.interval)};a.prototype.stop=function(){clearInterval(this.intervalID)};b.fn.weatherTicker=function(g){return this.each(function(){new a(this,g)})}})(jQuery,window,document);$(".row .breakingNewsWeather .weatherTicker ul").weatherTicker({interval:1600});$(document).ready(function(){$(".weatherNavi a:not(.weatherAtLink)").click(function(d){var a=$(this).parents(".weatherBox");var b=$(this).data("type");d.preventDefault();a.find(".weatherNavi a").removeClass("active");$(this).addClass("active");a.find(".weatherMap .location").each(function(){$(this).find(".wetterIcon img").attr("src","http://www.wetter.at/wetter_public/images/icons/clouds/60x60/icon_"+$(this).find(".wetterIcon").data(b)+".png");$(this).find(".wetterTemperature").html($(this).find(".wetterTemperature").data(b)+"&deg;")});a.find(".weatherText p").html(a.find(".weatherText p").data(b))})});if(typeof shoutBoxes!="undefined"){var initLoadComments;var userTriggerContent=Array();var userTriggerLevels=Array();var commentsTrigger=Array();var userTriggerStatus=Array();var userTriggerTags=Array();var permanentTriggerUserStatus=Array();var xhrArray=Array();(function(){var skipDuplicateContentAtLevel=true;var contentLevel=Object();var maxContentCntperLevel=5;var cookieSessionName="PHPSESSID";var cookieAutoLoginName="loginName";var cookieAutoLoginPass="loginPass";var cookieRememberUserEmail="userEmail";var cookieRememberUserName="userName";var cookieRememberExpiresDays=1;var cookieAutoLoginExpiresDays=14;var guestData=Object();var userLevelReq=0;guestData.status=0;guestData.username=readCookie(cookieRememberUserName);guestData.email=readCookie(cookieRememberUserEmail);function getLayoutLevelsByPrio(){var levelArray=Array();$(".asideBox").each(function(){if($(this).attr("data-id")){levelArray.push($(this).attr("data-id"))}});return levelArray}function getJsTriggerName(inName){if(!inName){return inName}var funcName=inName;var funcParam=Array();var regexFunc=new RegExp("^([a-z]+)((.*))","i");var funcArray=regexFunc.exec(inName);if(funcArray!=null){var funcName=funcArray[1];try{var funcParam=eval("Array"+funcArray[2])}catch(e){}}return Array(funcName,funcParam)}function initUserLevels(inData){if(!inData){return false}foundInLayout=false;var allLoadedLevelIds=Array();var dataByLevel=Object();$.each(inData,function(key,val){if(val.levels){$.each(val.levels,function(key2,val2){dataByLevel[val2]=Object();dataByLevel[val2].items=val.items;dataByLevel[val2].tagNames=val.tagNames});if(!val.jsTrigger){jsTrigger=false}else{jsTrigger=getJsTriggerName(val.jsTrigger)}if(!jsTrigger||!window[jsTrigger[0]]||window[jsTrigger[0]](val,jsTrigger[1])){if(val.items){if(isLevelExists(val.levels)){foundInLayout=true;userLevelReq++;loadUserContentItems(val.items,val.tagNames,val.levels);allLoadedLevelIds.push(val.levels[0])}}}}});for(var i=0;i<userTriggerLevels.length;++i){userTriggerLevels[i](inData,dataByLevel)}userTriggerLevels=Array();if(!foundInLayout){return false}userTriggerStatus.push(function(inData){if(!inData.status){$(".asideBox[data-id]").hide();$(".asideBox[data-id] .inner article").remove();contentLevel=Object()}})}function xhrAbort(){for(var i=0;i<xhrArray.length;++i){xhrArray[i].abort()}xhrArray=Array()}function initUserData(inData,inItems,inTagNames,inLevels){$dataCnt=0;$.each(inLevels,function(keyLevel,valLevel){$.each(inData,function(keyData,valData){$dataCnt++;if(!contentLevel[valLevel]){contentLevel[valLevel]=Array()}if(skipDuplicateContentAtLevel&&$.inArray(valData.id,contentLevel[valLevel])!=-1){return true}if($(".contentBox.contentId"+valData.id).length>0){return true}if(maxContentCntperLevel<=contentLevel[valLevel].length){if(valLevel!="0"){return false}}contentLevel[valLevel].push(valData.id);if(inTagNames&&inTagNames[$dataCnt-1]){if($dataCnt==1){var prefixTitle=$(".asideBox[data-id="+valLevel+"] .overwriteTitle").attr("data-prefixTitle");if(!prefixTitle||prefixTitle==null){prefixTitle=""}else{prefixTitle=prefixTitle.toUpperCase()+" "}$(".asideBox[data-id="+valLevel+"] .overwriteTitle").html(prefixTitle+inTagNames[$dataCnt-1].toUpperCase())}valData.tagName=inTagNames[$dataCnt-1]}$(".asideBox[data-id="+valLevel+"]").attr("data-cnt",contentLevel[valLevel].length);$(".asideBox[data-id="+valLevel+"] .inner").append(Templates.renderArticle(valData));$(".asideBox[data-id="+valLevel+"]").show()})});userLevelReq--;if(userLevelReq==0){for(var i=0;i<userTriggerContent.length;++i){userTriggerContent[i](contentLevel)}userTriggerContent=Array()}if(!inData){return false}}function loadUserContentItems(inItems,inTagNames,inLevels){if(inItems.length<=0){return initUserData(false,inItems,inTagNames,inLevels)}xhrArray.push($.ajax({dataType:"json",url:"/json/article?ids="+inItems.join("-"),success:function(inData){initUserData(inData,inItems,inTagNames,inLevels)}}).fail(function(){userLevelReq--}));return true}function isLevelExists(inData){for(var i=0;i<inData.length;++i){if($(".asideBox[data-id="+inData[i]+"]").length){return true}}return false}initLoadComments=function(inCommentRef){$(document).ready(function(){loadComments(inCommentRef)})};function loadComments(inCommentRef){xhrArray.push($.ajax({dataType:"json",url:"/user/json/getcomments/"+inCommentRef,success:(function(response){for(var i=0;i<commentsTrigger.length;++i){commentsTrigger[i](response)}})}))}function loadUserContent(inUserId){xhrArray.push($.ajax({dataType:"json",url:"/user/json/usercontent/"+inUserId,success:initUserLevels}))}function loadUserTags(inUserId){xhrArray.push($.ajax({dataType:"json",url:"/user/json/tags/"+inUserId,success:initUserTags}))}function initUserTags(inData){if(!inData){return false}$.each(inData,function(key,val){$('input[name="mappedTags[]"][type="checkbox"][value="'+val+'"]').attr("checked","checked");$('input[name="mappedTags[]"][type="hidden"][value="'+val+'"]').removeAttr("disabled");$('div[data-name="mappedTags"][data-id="'+val+'"]').removeClass("disabled")});$(".mainList,.list").each(function(){Checkboxes.update($(this))});for(var i=0;i<userTriggerTags.length;++i){userTriggerTags[i](inData)}}function readCookie(name){if(!document.cookie){return null}var nameEQ=name+"=";var ca=document.cookie.split(";");for(var i=0;i<ca.length;i++){var c=ca[i];while(c.charAt(0)==" "){c=c.substring(1,c.length)}if(c.indexOf(nameEQ)==0){return c.substring(nameEQ.length,c.length)}}return null}function createCookie(name,value,days){if(days){var date=new Date();date.setTime(date.getTime()+(days*24*60*60*1000));var expires="; expires="+date.toGMTString()}else{var expires=""}document.cookie=name+"="+value+expires+"; path=/"}function eraseCookie(name){createCookie(name,"",-1)}function setLoginStatus(response){for(var i=0;i<userTriggerStatus.length;++i){userTriggerStatus[i](response)}userTriggerStatus=Array();for(var i=0;i<permanentTriggerUserStatus.length;++i){permanentTriggerUserStatus[i](response)}if(response.status&&response.status==1){if(response.username){if(response.email){createCookie(cookieRememberUserEmail,response.email,cookieRememberExpiresDays)}createCookie(cookieRememberUserName,response.username,cookieRememberExpiresDays);if(response.cryptPasswd){createCookie(cookieAutoLoginName,response.username,cookieAutoLoginExpiresDays);createCookie(cookieAutoLoginPass,response.cryptPasswd,cookieAutoLoginExpiresDays)}}User.set(response);if($(".asideBox").length>0){loadUserContent(response.id)}}else{eraseCookie(cookieAutoLoginName);eraseCookie(cookieAutoLoginPass);User.unset()}}function checkAutoLogin(){var tmpUser=readCookie(cookieAutoLoginName);var tmpPass=readCookie(cookieAutoLoginPass);if(tmpUser==null||tmpUser==null){setLoginStatus(guestData);return false}if(tmpPass==""||tmpPass==""){setLoginStatus(guestData);return false}$.post("/user/json",{login:1,username:tmpUser,password:"1bc29b36f623ba82aaf6724fd3b16718",cryptPasswd:tmpPass},function(response){setLoginStatus(response)},"json");return true}function checkLoginStatus(){if(readCookie(cookieSessionName)==null||readCookie(cookieSessionName)==""){return checkAutoLogin()}$.post("/user/json","status",function(response){setLoginStatus(response)},"json").fail(function(){User.unset()});return true}function initUserForm(inName){var formClassPre="#"+inName+"Form";$(formClassPre+" input,select,textarea,checkbox").change(function(e){if(e.target.name!="reg_agb"&&e.target.name!="reg_netiquette"){$(formClassPre+' input[name="'+inName+'"]').attr("value",1)}});if(inName=="login"){$(formClassPre+' input[name="'+inName+'"]').attr("value",1)}$(formClassPre).bind("submit",function(){if(inName=="logout"){xhrAbort();eraseCookie(cookieAutoLoginName);eraseCookie(cookieAutoLoginPass);eraseCookie(cookieRememberUserEmail);eraseCookie(cookieRememberUserName)}var data=$(formClassPre).serialize();setErrorMsg(inName,"");setSuccessMsg(inName,"");$(formClassPre+' button[type="submit"]').attr("disabled","disabled");$(formClassPre+' input[type="submit"]').attr("disabled","disabled");$.post("/user/json",data,function(response){$(formClassPre+' button[type="submit"]').removeAttr("disabled");$(formClassPre+' input[type="submit"]').removeAttr("disabled");setErrorMsg(inName,response.error);setSuccessMsg(inName,response.success);if(!response.error||response.error==null){if(response.success||true){if($(formClassPre+' input[name="successUrl"]').length>0){document.location.href=$(formClassPre+' input[name="successUrl"]').attr("value");return true}if(typeof(window[inName+"Success"])!="undefined"&&window[inName+"Success"]&&window[inName+"Success"]!=null){window[inName+"Success"](response);return true}}$("#"+inName+"Form")[0].reset()}setLoginStatus(response)},"json").fail(function(){setErrorMsg(inName,"Es ist ein Verbindungsfehler aufgetreten.");$(formClassPre+' button[type="submit"]').removeAttr("disabled");$(formClassPre+' input[type="submit"]').removeAttr("disabled")});return false})}function setErrorMsg(inClassName,inMsg){MessageBox.show(inMsg)}function setSuccessMsg(inClassName,inMsg){MessageBox.show(inMsg)}function setOutputMsg(inClassName,inMsg){if(!inMsg&&inMsg==null){inMsg=""}$("."+inClassName+"Msg").html(inMsg)}function isOldUser(inData){if(!inData){return true}if(!inData.firstName||inData.firstName==null||inData.firstName=="null"){return true}if(!inData.country||inData.country==null||inData.country=="null"){return true}if(!inData.adress||inData.adress==null||inData.adress=="null"){return true}return false}function initUserMappedTag(inName){if($("#"+inName+"Form").length<=0){return false}userTriggerStatus.push(function(inData){if(!inData.status||isOldUser(inData)){document.location.href="/user"}else{if(inData.status==1){loadUserTags(inData.id)}}});return true}function initUserRegister(inName,userStatus){if($("#"+inName+"Form").length<=0){return false}userTriggerStatus.push(function(inData){if(inData.status==userStatus){$.each(inData,function(keyData,valData){if(valData==null){return true}if(keyData=="country"||keyData=="state"||keyData=="birthdayDay"||keyData=="birthdayMonth"||keyData=="birthdayYear"){$('select[data-source="'+keyData+'"] option[value="'+valData+'"]').attr("selected","selected")}else{if(keyData=="gender"){$('input[data-source="'+keyData+'"][value="'+valData+'"]').attr("checked","checked")}else{$('input[data-source="'+keyData+'"]').attr("value",valData)}}})}})}$(document).ready(function(){initUserRegister("userRegister",true);initUserRegister("login",false);initUserMappedTag("userSettings");initUserForm("userRegister");initUserForm("userSettings");initUserForm("login");initUserForm("logout");initUserForm("getPass");initUserForm("getUsername");initUserForm("setComment");checkLoginStatus()})})()}$(document).ready(function(){if(typeof shoutBoxes!="undefined"){Comments.init();for(s=0;s<shoutBoxes.length;s++){initLoadComments(shoutBoxes[s]["id"]);if(!shoutBoxes.checkPostings){function b(){initLoadComments(shoutBoxes[s]["id"]);$("#setCommentForm")[0].reset()}function a(d){window.setTimeout(function(){initLoadComments(d);a(d)},8000)}a(shoutBoxes[s]["id"])}}}});$(document).ready(function(){var a=null;$(".wm2014TopBox .wmConsoleContainer .arrow").click(function(d){d.preventDefault();if(a!=null){window.clearInterval(a);a=null}b($(this).hasClass("arrowLeft"));oe24Tracking.loadOewa();oe24Tracking.googleAnalyticsRefreshTracking()});function b(g){var e=$(".wm2014TopBox .wmConsoleContainer .consoleImgLink");var f=e.length;var d=$(".wm2014TopBox .wmConsoleContainer .consoleImgLink:visible").index();e.hide();if(g){d=(d-1<0)?f-1:d-1}else{d=(d+1>=f)?0:d+1}$(e[d]).show();$(".wm2014TopBox .wmConsoleContainer .consoleOverlay").html((d+1)+" / "+f)}$(".wm2014TopBox .klappBar").click(function(f){f.preventDefault();$(this).prev().toggle();var d=$(this).find(".klappIcon");if(d.hasClass("icon_arrow4_up")){d.removeClass("icon_arrow4_up").addClass("icon_arrow4_down");$(this).find(".klappText").html("Aufklappen")}else{d.removeClass("icon_arrow4_down").addClass("icon_arrow4_up");$(this).find(".klappText").html("Zuklappen")}});$(".wm2014TopBox .wmVideosContainer .arrow").click(function(l){l.preventDefault();var f=$(".wm2014TopBox .wmVideosContainer .wmVideo");var k=f.length;var d=$(".wm2014TopBox .wmVideosContainer .wmVideo:visible").index();var h=$(".wm2014TopBox .wmVideosContainer .wmVideo:visible").length;f.hide();if($(this).hasClass("arrowLeft")){d=(d-1<0)?k-h:d-1}else{d=(d+h+1>k)?0:d+1}for(var g=0;g<h;++d,++g){$(f[d]).show()}oe24Tracking.loadOewa();oe24Tracking.googleAnalyticsRefreshTracking()});a=window.setInterval(function(){b(false)},5000)});