/*!
 * jQuery JavaScript Library v1.8.1
 * http://jquery.com/
 *
 * Includes Sizzle.js
 * http://sizzlejs.com/
 *
 * Copyright 2012 jQuery Foundation and other contributors
 * Released under the MIT license
 * http://jquery.org/license
 *
 * Date: Thu Aug 30 2012 17:17:22 GMT-0400 (Eastern Daylight Time)
 */
(function(a3,aC){var x,ag,p=a3.document,aJ=a3.location,d=a3.navigator,bh=a3.jQuery,J=a3.$,an=Array.prototype.push,a5=Array.prototype.slice,aL=Array.prototype.indexOf,A=Object.prototype.toString,W=Object.prototype.hasOwnProperty,aP=String.prototype.trim,bH=function(e,b0){return new bH.fn.init(e,b0,x)},by=/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,ab=/\S/,aW=/\s+/,D=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,bp=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,a=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,bg=/^[\],:{}\s]*$/,bj=/(?:^|:|,)(?:\s*\[)+/g,bE=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,a1=/"[^"\\\r\n]*"|true|false|null|-?(?:\d\d*\.|)\d+(?:[eE][\-+]?\d+|)/g,bQ=/^-ms-/,aV=/-([\da-z])/gi,O=function(e,b0){return(b0+"").toUpperCase()},aG=function(){if(p.addEventListener){p.removeEventListener("DOMContentLoaded",aG,false);bH.ready()}else{if(p.readyState==="complete"){p.detachEvent("onreadystatechange",aG);bH.ready()}}},aa={};bH.fn=bH.prototype={constructor:bH,init:function(e,b3,b2){var b1,b4,b0,b5;if(!e){return this}if(e.nodeType){this.context=this[0]=e;this.length=1;return this}if(typeof e==="string"){if(e.charAt(0)==="<"&&e.charAt(e.length-1)===">"&&e.length>=3){b1=[null,e,null]}else{b1=bp.exec(e)}if(b1&&(b1[1]||!b3)){if(b1[1]){b3=b3 instanceof bH?b3[0]:b3;b5=(b3&&b3.nodeType?b3.ownerDocument||b3:p);e=bH.parseHTML(b1[1],b5,true);if(a.test(b1[1])&&bH.isPlainObject(b3)){this.attr.call(e,b3,true)}return bH.merge(this,e)}else{b4=p.getElementById(b1[2]);if(b4&&b4.parentNode){if(b4.id!==b1[2]){return b2.find(e)}this.length=1;this[0]=b4}this.context=p;this.selector=e;return this}}else{if(!b3||b3.jquery){return(b3||b2).find(e)}else{return this.constructor(b3).find(e)}}}else{if(bH.isFunction(e)){return b2.ready(e)}}if(e.selector!==aC){this.selector=e.selector;this.context=e.context}return bH.makeArray(e,this)},selector:"",jquery:"1.8.1",length:0,size:function(){return this.length},toArray:function(){return a5.call(this)},get:function(e){return e==null?this.toArray():(e<0?this[this.length+e]:this[e])},pushStack:function(b0,b2,e){var b1=bH.merge(this.constructor(),b0);b1.prevObject=this;b1.context=this.context;if(b2==="find"){b1.selector=this.selector+(this.selector?" ":"")+e}else{if(b2){b1.selector=this.selector+"."+b2+"("+e+")"}}return b1},each:function(b0,e){return bH.each(this,b0,e)},ready:function(e){bH.ready.promise().done(e);return this},eq:function(e){e=+e;return e===-1?this.slice(e):this.slice(e,e+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(a5.apply(this,arguments),"slice",a5.call(arguments).join(","))},map:function(e){return this.pushStack(bH.map(this,function(b1,b0){return e.call(b1,b0,b1)}))},end:function(){return this.prevObject||this.constructor(null)},push:an,sort:[].sort,splice:[].splice};bH.fn.init.prototype=bH.fn;bH.extend=bH.fn.extend=function(){var b8,b1,e,b0,b5,b6,b4=arguments[0]||{},b3=1,b2=arguments.length,b7=false;if(typeof b4==="boolean"){b7=b4;b4=arguments[1]||{};b3=2}if(typeof b4!=="object"&&!bH.isFunction(b4)){b4={}}if(b2===b3){b4=this;--b3}for(;b3<b2;b3++){if((b8=arguments[b3])!=null){for(b1 in b8){e=b4[b1];b0=b8[b1];if(b4===b0){continue}if(b7&&b0&&(bH.isPlainObject(b0)||(b5=bH.isArray(b0)))){if(b5){b5=false;b6=e&&bH.isArray(e)?e:[]}else{b6=e&&bH.isPlainObject(e)?e:{}}b4[b1]=bH.extend(b7,b6,b0)}else{if(b0!==aC){b4[b1]=b0}}}}}return b4};bH.extend({noConflict:function(e){if(a3.$===bH){a3.$=J}if(e&&a3.jQuery===bH){a3.jQuery=bh}return bH},isReady:false,readyWait:1,holdReady:function(e){if(e){bH.readyWait++}else{bH.ready(true)}},ready:function(e){if(e===true?--bH.readyWait:bH.isReady){return}if(!p.body){return setTimeout(bH.ready,1)}bH.isReady=true;if(e!==true&&--bH.readyWait>0){return}ag.resolveWith(p,[bH]);if(bH.fn.trigger){bH(p).trigger("ready").off("ready")}},isFunction:function(e){return bH.type(e)==="function"},isArray:Array.isArray||function(e){return bH.type(e)==="array"},isWindow:function(e){return e!=null&&e==e.window},isNumeric:function(e){return !isNaN(parseFloat(e))&&isFinite(e)},type:function(e){return e==null?String(e):aa[A.call(e)]||"object"},isPlainObject:function(b2){if(!b2||bH.type(b2)!=="object"||b2.nodeType||bH.isWindow(b2)){return false}try{if(b2.constructor&&!W.call(b2,"constructor")&&!W.call(b2.constructor.prototype,"isPrototypeOf")){return false}}catch(b1){return false}var b0;for(b0 in b2){}return b0===aC||W.call(b2,b0)},isEmptyObject:function(b0){var e;for(e in b0){return false}return true},error:function(e){throw new Error(e)},parseHTML:function(b2,b1,e){var b0;if(!b2||typeof b2!=="string"){return null}if(typeof b1==="boolean"){e=b1;b1=0}b1=b1||p;if((b0=a.exec(b2))){return[b1.createElement(b0[1])]}b0=bH.buildFragment([b2],b1,e?null:[]);return bH.merge([],(b0.cacheable?bH.clone(b0.fragment):b0.fragment).childNodes)},parseJSON:function(e){if(!e||typeof e!=="string"){return null}e=bH.trim(e);if(a3.JSON&&a3.JSON.parse){return a3.JSON.parse(e)}if(bg.test(e.replace(bE,"@").replace(a1,"]").replace(bj,""))){return(new Function("return "+e))()}bH.error("Invalid JSON: "+e)},parseXML:function(b2){var b0,b1;if(!b2||typeof b2!=="string"){return null}try{if(a3.DOMParser){b1=new DOMParser();b0=b1.parseFromString(b2,"text/xml")}else{b0=new ActiveXObject("Microsoft.XMLDOM");b0.async="false";b0.loadXML(b2)}}catch(b3){b0=aC}if(!b0||!b0.documentElement||b0.getElementsByTagName("parsererror").length){bH.error("Invalid XML: "+b2)}return b0},noop:function(){},globalEval:function(e){if(e&&ab.test(e)){(a3.execScript||function(b0){a3["eval"].call(a3,b0)})(e)}},camelCase:function(e){return e.replace(bQ,"ms-").replace(aV,O)},nodeName:function(b0,e){return b0.nodeName&&b0.nodeName.toUpperCase()===e.toUpperCase()},each:function(b4,b5,b1){var b0,b2=0,b3=b4.length,e=b3===aC||bH.isFunction(b4);if(b1){if(e){for(b0 in b4){if(b5.apply(b4[b0],b1)===false){break}}}else{for(;b2<b3;){if(b5.apply(b4[b2++],b1)===false){break}}}}else{if(e){for(b0 in b4){if(b5.call(b4[b0],b0,b4[b0])===false){break}}}else{for(;b2<b3;){if(b5.call(b4[b2],b2,b4[b2++])===false){break}}}}return b4},trim:aP&&!aP.call("\uFEFF\xA0")?function(e){return e==null?"":aP.call(e)}:function(e){return e==null?"":e.toString().replace(D,"")},makeArray:function(e,b1){var b2,b0=b1||[];if(e!=null){b2=bH.type(e);if(e.length==null||b2==="string"||b2==="function"||b2==="regexp"||bH.isWindow(e)){an.call(b0,e)}else{bH.merge(b0,e)}}return b0},inArray:function(b2,b0,b1){var e;if(b0){if(aL){return aL.call(b0,b2,b1)}e=b0.length;b1=b1?b1<0?Math.max(0,e+b1):b1:0;for(;b1<e;b1++){if(b1 in b0&&b0[b1]===b2){return b1}}}return -1},merge:function(b3,b1){var e=b1.length,b2=b3.length,b0=0;if(typeof e==="number"){for(;b0<e;b0++){b3[b2++]=b1[b0]}}else{while(b1[b0]!==aC){b3[b2++]=b1[b0++]}}b3.length=b2;return b3},grep:function(b0,b5,e){var b4,b1=[],b2=0,b3=b0.length;e=!!e;for(;b2<b3;b2++){b4=!!b5(b0[b2],b2);if(e!==b4){b1.push(b0[b2])}}return b1},map:function(e,b6,b7){var b4,b5,b3=[],b1=0,b0=e.length,b2=e instanceof bH||b0!==aC&&typeof b0==="number"&&((b0>0&&e[0]&&e[b0-1])||b0===0||bH.isArray(e));if(b2){for(;b1<b0;b1++){b4=b6(e[b1],b1,b7);if(b4!=null){b3[b3.length]=b4}}}else{for(b5 in e){b4=b6(e[b5],b5,b7);if(b4!=null){b3[b3.length]=b4}}}return b3.concat.apply([],b3)},guid:1,proxy:function(b3,b2){var b1,e,b0;if(typeof b2==="string"){b1=b3[b2];b2=b3;b3=b1}if(!bH.isFunction(b3)){return aC}e=a5.call(arguments,2);b0=function(){return b3.apply(b2,e.concat(a5.call(arguments)))};b0.guid=b3.guid=b3.guid||b0.guid||bH.guid++;return b0},access:function(e,b5,b8,b6,b3,b9,b7){var b1,b4=b8==null,b2=0,b0=e.length;if(b8&&typeof b8==="object"){for(b2 in b8){bH.access(e,b5,b2,b8[b2],1,b9,b6)}b3=1}else{if(b6!==aC){b1=b7===aC&&bH.isFunction(b6);if(b4){if(b1){b1=b5;b5=function(cb,ca,cc){return b1.call(bH(cb),cc)}}else{b5.call(e,b6);b5=null}}if(b5){for(;b2<b0;b2++){b5(e[b2],b8,b1?b6.call(e[b2],b2,b5(e[b2],b8)):b6,b7)}}b3=1}}return b3?e:b4?b5.call(e):b0?b5(e[0],b8):b9},now:function(){return(new Date()).getTime()}});bH.ready.promise=function(b3){if(!ag){ag=bH.Deferred();if(p.readyState==="complete"){setTimeout(bH.ready,1)}else{if(p.addEventListener){p.addEventListener("DOMContentLoaded",aG,false);a3.addEventListener("load",bH.ready,false)}else{p.attachEvent("onreadystatechange",aG);a3.attachEvent("onload",bH.ready);var b2=false;try{b2=a3.frameElement==null&&p.documentElement}catch(b1){}if(b2&&b2.doScroll){(function b0(){if(!bH.isReady){try{b2.doScroll("left")}catch(b4){return setTimeout(b0,50)}bH.ready()}})()}}}}return ag.promise(b3)};bH.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(b0,e){aa["[object "+e+"]"]=e.toLowerCase()});x=bH(p);var bV={};function ad(b0){var e=bV[b0]={};bH.each(b0.split(aW),function(b2,b1){e[b1]=true});return e}bH.Callbacks=function(b9){b9=typeof b9==="string"?(bV[b9]||ad(b9)):bH.extend({},b9);var b2,e,b3,b1,b4,b5,b6=[],b7=!b9.once&&[],b0=function(ca){b2=b9.memory&&ca;e=true;b5=b1||0;b1=0;b4=b6.length;b3=true;for(;b6&&b5<b4;b5++){if(b6[b5].apply(ca[0],ca[1])===false&&b9.stopOnFalse){b2=false;break}}b3=false;if(b6){if(b7){if(b7.length){b0(b7.shift())}}else{if(b2){b6=[]}else{b8.disable()}}}},b8={add:function(){if(b6){var cb=b6.length;(function ca(cc){bH.each(cc,function(ce,cd){var cf=bH.type(cd);if(cf==="function"&&(!b9.unique||!b8.has(cd))){b6.push(cd)}else{if(cd&&cd.length&&cf!=="string"){ca(cd)}}})})(arguments);if(b3){b4=b6.length}else{if(b2){b1=cb;b0(b2)}}}return this},remove:function(){if(b6){bH.each(arguments,function(cc,ca){var cb;while((cb=bH.inArray(ca,b6,cb))>-1){b6.splice(cb,1);if(b3){if(cb<=b4){b4--}if(cb<=b5){b5--}}}})}return this},has:function(ca){return bH.inArray(ca,b6)>-1},empty:function(){b6=[];return this},disable:function(){b6=b7=b2=aC;return this},disabled:function(){return !b6},lock:function(){b7=aC;if(!b2){b8.disable()}return this},locked:function(){return !b7},fireWith:function(cb,ca){ca=ca||[];ca=[cb,ca.slice?ca.slice():ca];if(b6&&(!e||b7)){if(b3){b7.push(ca)}else{b0(ca)}}return this},fire:function(){b8.fireWith(this,arguments);return this},fired:function(){return !!e}};return b8};bH.extend({Deferred:function(b1){var b0=[["resolve","done",bH.Callbacks("once memory"),"resolved"],["reject","fail",bH.Callbacks("once memory"),"rejected"],["notify","progress",bH.Callbacks("memory")]],b2="pending",b3={state:function(){return b2},always:function(){e.done(arguments).fail(arguments);return this},then:function(){var b4=arguments;return bH.Deferred(function(b5){bH.each(b0,function(b7,b6){var b9=b6[0],b8=b4[b7];e[b6[1]](bH.isFunction(b8)?function(){var ca=b8.apply(this,arguments);if(ca&&bH.isFunction(ca.promise)){ca.promise().done(b5.resolve).fail(b5.reject).progress(b5.notify)}else{b5[b9+"With"](this===e?b5:this,[ca])}}:b5[b9])});b4=null}).promise()},promise:function(b4){return typeof b4==="object"?bH.extend(b4,b3):b3}},e={};b3.pipe=b3.then;bH.each(b0,function(b5,b4){var b7=b4[2],b6=b4[3];b3[b4[1]]=b7.add;if(b6){b7.add(function(){b2=b6},b0[b5^1][2].disable,b0[2][2].lock)}e[b4[0]]=b7.fire;e[b4[0]+"With"]=b7.fireWith});b3.promise(e);if(b1){b1.call(e,e)}return e},when:function(b3){var b1=0,b5=a5.call(arguments),e=b5.length,b0=e!==1||(b3&&bH.isFunction(b3.promise))?e:0,b8=b0===1?b3:bH.Deferred(),b2=function(ca,cb,b9){return function(cc){cb[ca]=this;b9[ca]=arguments.length>1?a5.call(arguments):cc;if(b9===b7){b8.notifyWith(cb,b9)}else{if(!(--b0)){b8.resolveWith(cb,b9)}}}},b7,b4,b6;if(e>1){b7=new Array(e);b4=new Array(e);b6=new Array(e);for(;b1<e;b1++){if(b5[b1]&&bH.isFunction(b5[b1].promise)){b5[b1].promise().done(b2(b1,b6,b5)).fail(b8.reject).progress(b2(b1,b4,b7))}else{--b0}}}if(!b0){b8.resolveWith(b6,b5)}return b8.promise()}});bH.support=(function(){var cc,cb,b9,ca,b3,b8,b7,b5,b4,b2,b0,b1=p.createElement("div");b1.setAttribute("className","t");b1.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>";cb=b1.getElementsByTagName("*");b9=b1.getElementsByTagName("a")[0];b9.style.cssText="top:1px;float:left;opacity:.5";if(!cb||!cb.length||!b9){return{}}ca=p.createElement("select");b3=ca.appendChild(p.createElement("option"));b8=b1.getElementsByTagName("input")[0];cc={leadingWhitespace:(b1.firstChild.nodeType===3),tbody:!b1.getElementsByTagName("tbody").length,htmlSerialize:!!b1.getElementsByTagName("link").length,style:/top/.test(b9.getAttribute("style")),hrefNormalized:(b9.getAttribute("href")==="/a"),opacity:/^0.5/.test(b9.style.opacity),cssFloat:!!b9.style.cssFloat,checkOn:(b8.value==="on"),optSelected:b3.selected,getSetAttribute:b1.className!=="t",enctype:!!p.createElement("form").enctype,html5Clone:p.createElement("nav").cloneNode(true).outerHTML!=="<:nav></:nav>",boxModel:(p.compatMode==="CSS1Compat"),submitBubbles:true,changeBubbles:true,focusinBubbles:false,deleteExpando:true,noCloneEvent:true,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableMarginRight:true,boxSizingReliable:true,pixelPosition:false};b8.checked=true;cc.noCloneChecked=b8.cloneNode(true).checked;ca.disabled=true;cc.optDisabled=!b3.disabled;try{delete b1.test}catch(b6){cc.deleteExpando=false}if(!b1.addEventListener&&b1.attachEvent&&b1.fireEvent){b1.attachEvent("onclick",b0=function(){cc.noCloneEvent=false});b1.cloneNode(true).fireEvent("onclick");b1.detachEvent("onclick",b0)}b8=p.createElement("input");b8.value="t";b8.setAttribute("type","radio");cc.radioValue=b8.value==="t";b8.setAttribute("checked","checked");b8.setAttribute("name","t");b1.appendChild(b8);b7=p.createDocumentFragment();b7.appendChild(b1.lastChild);cc.checkClone=b7.cloneNode(true).cloneNode(true).lastChild.checked;cc.appendChecked=b8.checked;b7.removeChild(b8);b7.appendChild(b1);if(b1.attachEvent){for(b4 in {submit:true,change:true,focusin:true}){b5="on"+b4;b2=(b5 in b1);if(!b2){b1.setAttribute(b5,"return;");b2=(typeof b1[b5]==="function")}cc[b4+"Bubbles"]=b2}}bH(function(){var cd,ch,cf,cg,ce="padding:0;margin:0;border:0;display:block;overflow:hidden;",e=p.getElementsByTagName("body")[0];if(!e){return}cd=p.createElement("div");cd.style.cssText="visibility:hidden;border:0;width:0;height:0;position:static;top:0;margin-top:1px";e.insertBefore(cd,e.firstChild);ch=p.createElement("div");cd.appendChild(ch);ch.innerHTML="<table><tr><td></td><td>t</td></tr></table>";cf=ch.getElementsByTagName("td");cf[0].style.cssText="padding:0;margin:0;border:0;display:none";b2=(cf[0].offsetHeight===0);cf[0].style.display="";cf[1].style.display="none";cc.reliableHiddenOffsets=b2&&(cf[0].offsetHeight===0);ch.innerHTML="";ch.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;";cc.boxSizing=(ch.offsetWidth===4);cc.doesNotIncludeMarginInBodyOffset=(e.offsetTop!==1);if(a3.getComputedStyle){cc.pixelPosition=(a3.getComputedStyle(ch,null)||{}).top!=="1%";cc.boxSizingReliable=(a3.getComputedStyle(ch,null)||{width:"4px"}).width==="4px";cg=p.createElement("div");cg.style.cssText=ch.style.cssText=ce;cg.style.marginRight=cg.style.width="0";ch.style.width="1px";ch.appendChild(cg);cc.reliableMarginRight=!parseFloat((a3.getComputedStyle(cg,null)||{}).marginRight)}if(typeof ch.style.zoom!=="undefined"){ch.innerHTML="";ch.style.cssText=ce+"width:1px;padding:1px;display:inline;zoom:1";cc.inlineBlockNeedsLayout=(ch.offsetWidth===3);ch.style.display="block";ch.style.overflow="visible";ch.innerHTML="<div></div>";ch.firstChild.style.width="5px";cc.shrinkWrapBlocks=(ch.offsetWidth!==3);cd.style.zoom=1}e.removeChild(cd);cd=ch=cf=cg=null});b7.removeChild(b1);cb=b9=ca=b3=b8=b7=b1=null;return cc})();var bu=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,aM=/([A-Z])/g;bH.extend({cache:{},deletedIds:[],uuid:0,expando:"jQuery"+(bH.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:true,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:true},hasData:function(e){e=e.nodeType?bH.cache[e[bH.expando]]:e[bH.expando];return !!e&&!P(e)},data:function(b2,b0,b4,b3){if(!bH.acceptData(b2)){return}var b5,b7,b8=bH.expando,b6=typeof b0==="string",b9=b2.nodeType,e=b9?bH.cache:b2,b1=b9?b2[b8]:b2[b8]&&b8;if((!b1||!e[b1]||(!b3&&!e[b1].data))&&b6&&b4===aC){return}if(!b1){if(b9){b2[b8]=b1=bH.deletedIds.pop()||++bH.uuid}else{b1=b8}}if(!e[b1]){e[b1]={};if(!b9){e[b1].toJSON=bH.noop}}if(typeof b0==="object"||typeof b0==="function"){if(b3){e[b1]=bH.extend(e[b1],b0)}else{e[b1].data=bH.extend(e[b1].data,b0)}}b5=e[b1];if(!b3){if(!b5.data){b5.data={}}b5=b5.data}if(b4!==aC){b5[bH.camelCase(b0)]=b4}if(b6){b7=b5[b0];if(b7==null){b7=b5[bH.camelCase(b0)]}}else{b7=b5}return b7},removeData:function(b2,b0,b3){if(!bH.acceptData(b2)){return}var b6,b5,b4,b7=b2.nodeType,e=b7?bH.cache:b2,b1=b7?b2[bH.expando]:bH.expando;if(!e[b1]){return}if(b0){b6=b3?e[b1]:e[b1].data;if(b6){if(!bH.isArray(b0)){if(b0 in b6){b0=[b0]}else{b0=bH.camelCase(b0);if(b0 in b6){b0=[b0]}else{b0=b0.split(" ")}}}for(b5=0,b4=b0.length;b5<b4;b5++){delete b6[b0[b5]]}if(!(b3?P:bH.isEmptyObject)(b6)){return}}}if(!b3){delete e[b1].data;if(!P(e[b1])){return}}if(b7){bH.cleanData([b2],true)}else{if(bH.support.deleteExpando||e!=e.window){delete e[b1]}else{e[b1]=null}}},_data:function(b0,e,b1){return bH.data(b0,e,b1,true)},acceptData:function(b0){var e=b0.nodeName&&bH.noData[b0.nodeName.toLowerCase()];return !e||e!==true&&b0.getAttribute("classid")===e}});bH.fn.extend({data:function(b8,b7){var b3,b0,b6,e,b2,b1=this[0],b5=0,b4=null;if(b8===aC){if(this.length){b4=bH.data(b1);if(b1.nodeType===1&&!bH._data(b1,"parsedAttrs")){b6=b1.attributes;for(b2=b6.length;b5<b2;b5++){e=b6[b5].name;if(e.indexOf("data-")===0){e=bH.camelCase(e.substring(5));bw(b1,e,b4[e])}}bH._data(b1,"parsedAttrs",true)}}return b4}if(typeof b8==="object"){return this.each(function(){bH.data(this,b8)})}b3=b8.split(".",2);b3[1]=b3[1]?"."+b3[1]:"";b0=b3[1]+"!";return bH.access(this,function(b9){if(b9===aC){b4=this.triggerHandler("getData"+b0,[b3[0]]);if(b4===aC&&b1){b4=bH.data(b1,b8);b4=bw(b1,b8,b4)}return b4===aC&&b3[1]?this.data(b3[0]):b4}b3[1]=b9;this.each(function(){var ca=bH(this);ca.triggerHandler("setData"+b0,b3);bH.data(this,b8,b9);ca.triggerHandler("changeData"+b0,b3)})},null,b7,arguments.length>1,null,false)},removeData:function(e){return this.each(function(){bH.removeData(this,e)})}});function bw(b2,b1,b3){if(b3===aC&&b2.nodeType===1){var b0="data-"+b1.replace(aM,"-$1").toLowerCase();b3=b2.getAttribute(b0);if(typeof b3==="string"){try{b3=b3==="true"?true:b3==="false"?false:b3==="null"?null:+b3+""===b3?+b3:bu.test(b3)?bH.parseJSON(b3):b3}catch(b4){}bH.data(b2,b1,b3)}else{b3=aC}}return b3}function P(b0){var e;for(e in b0){if(e==="data"&&bH.isEmptyObject(b0[e])){continue}if(e!=="toJSON"){return false}}return true}bH.extend({queue:function(b1,b0,b2){var e;if(b1){b0=(b0||"fx")+"queue";e=bH._data(b1,b0);if(b2){if(!e||bH.isArray(b2)){e=bH._data(b1,b0,bH.makeArray(b2))}else{e.push(b2)}}return e||[]}},dequeue:function(b4,b3){b3=b3||"fx";var b0=bH.queue(b4,b3),b5=b0.length,b2=b0.shift(),e=bH._queueHooks(b4,b3),b1=function(){bH.dequeue(b4,b3)};if(b2==="inprogress"){b2=b0.shift();b5--}if(b2){if(b3==="fx"){b0.unshift("inprogress")}delete e.stop;b2.call(b4,b1,e)}if(!b5&&e){e.empty.fire()}},_queueHooks:function(b1,b0){var e=b0+"queueHooks";return bH._data(b1,e)||bH._data(b1,e,{empty:bH.Callbacks("once memory").add(function(){bH.removeData(b1,b0+"queue",true);bH.removeData(b1,e,true)})})}});bH.fn.extend({queue:function(e,b0){var b1=2;if(typeof e!=="string"){b0=e;e="fx";b1--}if(arguments.length<b1){return bH.queue(this[0],e)}return b0===aC?this:this.each(function(){var b2=bH.queue(this,e,b0);bH._queueHooks(this,e);if(e==="fx"&&b2[0]!=="inprogress"){bH.dequeue(this,e)}})},dequeue:function(e){return this.each(function(){bH.dequeue(this,e)})},delay:function(b0,e){b0=bH.fx?bH.fx.speeds[b0]||b0:b0;e=e||"fx";return this.queue(e,function(b2,b1){var b3=setTimeout(b2,b0);b1.stop=function(){clearTimeout(b3)}})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(b1,b5){var b0,b2=1,b6=bH.Deferred(),b4=this,e=this.length,b3=function(){if(!(--b2)){b6.resolveWith(b4,[b4])}};if(typeof b1!=="string"){b5=b1;b1=aC}b1=b1||"fx";while(e--){b0=bH._data(b4[e],b1+"queueHooks");if(b0&&b0.empty){b2++;b0.empty.add(b3)}}b3();return b6.promise(b5)}});var a8,bW,o,bK=/[\t\r\n]/g,aj=/\r/g,k=/^(?:button|input)$/i,aB=/^(?:button|input|object|select|textarea)$/i,E=/^a(?:rea|)$/i,N=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,bM=bH.support.getSetAttribute;bH.fn.extend({attr:function(e,b0){return bH.access(this,bH.attr,e,b0,arguments.length>1)},removeAttr:function(e){return this.each(function(){bH.removeAttr(this,e)})},prop:function(e,b0){return bH.access(this,bH.prop,e,b0,arguments.length>1)},removeProp:function(e){e=bH.propFix[e]||e;return this.each(function(){try{this[e]=aC;delete this[e]}catch(b0){}})},addClass:function(b3){var b5,b1,b0,b2,b4,b6,e;if(bH.isFunction(b3)){return this.each(function(b7){bH(this).addClass(b3.call(this,b7,this.className))})}if(b3&&typeof b3==="string"){b5=b3.split(aW);for(b1=0,b0=this.length;b1<b0;b1++){b2=this[b1];if(b2.nodeType===1){if(!b2.className&&b5.length===1){b2.className=b3}else{b4=" "+b2.className+" ";for(b6=0,e=b5.length;b6<e;b6++){if(!~b4.indexOf(" "+b5[b6]+" ")){b4+=b5[b6]+" "}}b2.className=bH.trim(b4)}}}}return this},removeClass:function(b5){var b2,b3,b4,b6,b0,b1,e;if(bH.isFunction(b5)){return this.each(function(b7){bH(this).removeClass(b5.call(this,b7,this.className))})}if((b5&&typeof b5==="string")||b5===aC){b2=(b5||"").split(aW);for(b1=0,e=this.length;b1<e;b1++){b4=this[b1];if(b4.nodeType===1&&b4.className){b3=(" "+b4.className+" ").replace(bK," ");for(b6=0,b0=b2.length;b6<b0;b6++){while(b3.indexOf(" "+b2[b6]+" ")>-1){b3=b3.replace(" "+b2[b6]+" "," ")}}b4.className=b5?bH.trim(b3):""}}}return this},toggleClass:function(b2,b0){var b1=typeof b2,e=typeof b0==="boolean";if(bH.isFunction(b2)){return this.each(function(b3){bH(this).toggleClass(b2.call(this,b3,this.className,b0),b0)})}return this.each(function(){if(b1==="string"){var b5,b4=0,b3=bH(this),b6=b0,b7=b2.split(aW);while((b5=b7[b4++])){b6=e?b6:!b3.hasClass(b5);b3[b6?"addClass":"removeClass"](b5)}}else{if(b1==="undefined"||b1==="boolean"){if(this.className){bH._data(this,"__className__",this.className)}this.className=this.className||b2===false?"":bH._data(this,"__className__")||""}}})},hasClass:function(e){var b2=" "+e+" ",b1=0,b0=this.length;for(;b1<b0;b1++){if(this[b1].nodeType===1&&(" "+this[b1].className+" ").replace(bK," ").indexOf(b2)>-1){return true}}return false},val:function(b2){var e,b0,b3,b1=this[0];if(!arguments.length){if(b1){e=bH.valHooks[b1.type]||bH.valHooks[b1.nodeName.toLowerCase()];if(e&&"get" in e&&(b0=e.get(b1,"value"))!==aC){return b0}b0=b1.value;return typeof b0==="string"?b0.replace(aj,""):b0==null?"":b0}return}b3=bH.isFunction(b2);return this.each(function(b5){var b6,b4=bH(this);if(this.nodeType!==1){return}if(b3){b6=b2.call(this,b5,b4.val())}else{b6=b2}if(b6==null){b6=""}else{if(typeof b6==="number"){b6+=""}else{if(bH.isArray(b6)){b6=bH.map(b6,function(b7){return b7==null?"":b7+""})}}}e=bH.valHooks[this.type]||bH.valHooks[this.nodeName.toLowerCase()];if(!e||!("set" in e)||e.set(this,b6,"value")===aC){this.value=b6}})}});bH.extend({valHooks:{option:{get:function(e){var b0=e.attributes.value;return !b0||b0.specified?e.value:e.text}},select:{get:function(e){var b5,b0,b4,b2,b3=e.selectedIndex,b6=[],b7=e.options,b1=e.type==="select-one";if(b3<0){return null}b0=b1?b3:0;b4=b1?b3+1:b7.length;for(;b0<b4;b0++){b2=b7[b0];if(b2.selected&&(bH.support.optDisabled?!b2.disabled:b2.getAttribute("disabled")===null)&&(!b2.parentNode.disabled||!bH.nodeName(b2.parentNode,"optgroup"))){b5=bH(b2).val();if(b1){return b5}b6.push(b5)}}if(b1&&!b6.length&&b7.length){return bH(b7[b3]).val()}return b6},set:function(b0,b1){var e=bH.makeArray(b1);bH(b0).find("option").each(function(){this.selected=bH.inArray(bH(this).val(),e)>=0});if(!e.length){b0.selectedIndex=-1}return e}}},attrFn:{},attr:function(b5,b2,b6,b4){var b1,e,b3,b0=b5.nodeType;if(!b5||b0===3||b0===8||b0===2){return}if(b4&&bH.isFunction(bH.fn[b2])){return bH(b5)[b2](b6)}if(typeof b5.getAttribute==="undefined"){return bH.prop(b5,b2,b6)}b3=b0!==1||!bH.isXMLDoc(b5);if(b3){b2=b2.toLowerCase();e=bH.attrHooks[b2]||(N.test(b2)?bW:a8)}if(b6!==aC){if(b6===null){bH.removeAttr(b5,b2);return}else{if(e&&"set" in e&&b3&&(b1=e.set(b5,b6,b2))!==aC){return b1}else{b5.setAttribute(b2,""+b6);return b6}}}else{if(e&&"get" in e&&b3&&(b1=e.get(b5,b2))!==null){return b1}else{b1=b5.getAttribute(b2);return b1===null?aC:b1}}},removeAttr:function(b2,b4){var b3,b5,b0,e,b1=0;if(b4&&b2.nodeType===1){b5=b4.split(aW);for(;b1<b5.length;b1++){b0=b5[b1];if(b0){b3=bH.propFix[b0]||b0;e=N.test(b0);if(!e){bH.attr(b2,b0,"")}b2.removeAttribute(bM?b0:b3);if(e&&b3 in b2){b2[b3]=false}}}}},attrHooks:{type:{set:function(e,b0){if(k.test(e.nodeName)&&e.parentNode){bH.error("type property can't be changed")}else{if(!bH.support.radioValue&&b0==="radio"&&bH.nodeName(e,"input")){var b1=e.value;e.setAttribute("type",b0);if(b1){e.value=b1}return b0}}}},value:{get:function(b0,e){if(a8&&bH.nodeName(b0,"button")){return a8.get(b0,e)}return e in b0?b0.value:null},set:function(b0,b1,e){if(a8&&bH.nodeName(b0,"button")){return a8.set(b0,b1,e)}b0.value=b1}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(b4,b2,b5){var b1,e,b3,b0=b4.nodeType;if(!b4||b0===3||b0===8||b0===2){return}b3=b0!==1||!bH.isXMLDoc(b4);if(b3){b2=bH.propFix[b2]||b2;e=bH.propHooks[b2]}if(b5!==aC){if(e&&"set" in e&&(b1=e.set(b4,b5,b2))!==aC){return b1}else{return(b4[b2]=b5)}}else{if(e&&"get" in e&&(b1=e.get(b4,b2))!==null){return b1}else{return b4[b2]}}},propHooks:{tabIndex:{get:function(b0){var e=b0.getAttributeNode("tabindex");return e&&e.specified?parseInt(e.value,10):aB.test(b0.nodeName)||E.test(b0.nodeName)&&b0.href?0:aC}}}});bW={get:function(b0,e){var b2,b1=bH.prop(b0,e);return b1===true||typeof b1!=="boolean"&&(b2=b0.getAttributeNode(e))&&b2.nodeValue!==false?e.toLowerCase():aC},set:function(b0,b2,e){var b1;if(b2===false){bH.removeAttr(b0,e)}else{b1=bH.propFix[e]||e;if(b1 in b0){b0[b1]=true}b0.setAttribute(e,e.toLowerCase())}return e}};if(!bM){o={name:true,id:true,coords:true};a8=bH.valHooks.button={get:function(b1,b0){var e;e=b1.getAttributeNode(b0);return e&&(o[b0]?e.value!=="":e.specified)?e.value:aC},set:function(b1,b2,b0){var e=b1.getAttributeNode(b0);if(!e){e=p.createAttribute(b0);b1.setAttributeNode(e)}return(e.value=b2+"")}};bH.each(["width","height"],function(b0,e){bH.attrHooks[e]=bH.extend(bH.attrHooks[e],{set:function(b1,b2){if(b2===""){b1.setAttribute(e,"auto");return b2}}})});bH.attrHooks.contenteditable={get:a8.get,set:function(b0,b1,e){if(b1===""){b1="false"}a8.set(b0,b1,e)}}}if(!bH.support.hrefNormalized){bH.each(["href","src","width","height"],function(b0,e){bH.attrHooks[e]=bH.extend(bH.attrHooks[e],{get:function(b2){var b1=b2.getAttribute(e,2);return b1===null?aC:b1}})})}if(!bH.support.style){bH.attrHooks.style={get:function(e){return e.style.cssText.toLowerCase()||aC},set:function(e,b0){return(e.style.cssText=""+b0)}}}if(!bH.support.optSelected){bH.propHooks.selected=bH.extend(bH.propHooks.selected,{get:function(b0){var e=b0.parentNode;if(e){e.selectedIndex;if(e.parentNode){e.parentNode.selectedIndex}}return null}})}if(!bH.support.enctype){bH.propFix.enctype="encoding"}if(!bH.support.checkOn){bH.each(["radio","checkbox"],function(){bH.valHooks[this]={get:function(e){return e.getAttribute("value")===null?"on":e.value}}})}bH.each(["radio","checkbox"],function(){bH.valHooks[this]=bH.extend(bH.valHooks[this],{set:function(e,b0){if(bH.isArray(b0)){return(e.checked=bH.inArray(bH(e).val(),b0)>=0)}}})});var bF=/^(?:textarea|input|select)$/i,bs=/^([^\.]*|)(?:\.(.+)|)$/,bb=/(?:^|\s)hover(\.\S+|)\b/,a4=/^key/,bL=/^(?:mouse|contextmenu)|click/,bz=/^(?:focusinfocus|focusoutblur)$/,ar=function(e){return bH.event.special.hover?e:e.replace(bb,"mouseenter$1 mouseleave$1")};bH.event={add:function(b2,b6,cd,b4,b3){var b7,b5,ce,cc,cb,b9,e,ca,b0,b1,b8;if(b2.nodeType===3||b2.nodeType===8||!b6||!cd||!(b7=bH._data(b2))){return}if(cd.handler){b0=cd;cd=b0.handler;b3=b0.selector}if(!cd.guid){cd.guid=bH.guid++}ce=b7.events;if(!ce){b7.events=ce={}}b5=b7.handle;if(!b5){b7.handle=b5=function(cf){return typeof bH!=="undefined"&&(!cf||bH.event.triggered!==cf.type)?bH.event.dispatch.apply(b5.elem,arguments):aC};b5.elem=b2}b6=bH.trim(ar(b6)).split(" ");for(cc=0;cc<b6.length;cc++){cb=bs.exec(b6[cc])||[];b9=cb[1];e=(cb[2]||"").split(".").sort();b8=bH.event.special[b9]||{};b9=(b3?b8.delegateType:b8.bindType)||b9;b8=bH.event.special[b9]||{};ca=bH.extend({type:b9,origType:cb[1],data:b4,handler:cd,guid:cd.guid,selector:b3,namespace:e.join(".")},b0);b1=ce[b9];if(!b1){b1=ce[b9]=[];b1.delegateCount=0;if(!b8.setup||b8.setup.call(b2,b4,e,b5)===false){if(b2.addEventListener){b2.addEventListener(b9,b5,false)}else{if(b2.attachEvent){b2.attachEvent("on"+b9,b5)}}}}if(b8.add){b8.add.call(b2,ca);if(!ca.handler.guid){ca.handler.guid=cd.guid}}if(b3){b1.splice(b1.delegateCount++,0,ca)}else{b1.push(ca)}bH.event.global[b9]=true}b2=null},global:{},remove:function(b2,b7,cd,b3,b6){var ce,cf,ca,b1,b0,b4,b5,cc,b9,e,cb,b8=bH.hasData(b2)&&bH._data(b2);if(!b8||!(cc=b8.events)){return}b7=bH.trim(ar(b7||"")).split(" ");for(ce=0;ce<b7.length;ce++){cf=bs.exec(b7[ce])||[];ca=b1=cf[1];b0=cf[2];if(!ca){for(ca in cc){bH.event.remove(b2,ca+b7[ce],cd,b3,true)}continue}b9=bH.event.special[ca]||{};ca=(b3?b9.delegateType:b9.bindType)||ca;e=cc[ca]||[];b4=e.length;b0=b0?new RegExp("(^|\\.)"+b0.split(".").sort().join("\\.(?:.*\\.|)")+"(\\.|$)"):null;for(b5=0;b5<e.length;b5++){cb=e[b5];if((b6||b1===cb.origType)&&(!cd||cd.guid===cb.guid)&&(!b0||b0.test(cb.namespace))&&(!b3||b3===cb.selector||b3==="**"&&cb.selector)){e.splice(b5--,1);if(cb.selector){e.delegateCount--}if(b9.remove){b9.remove.call(b2,cb)}}}if(e.length===0&&b4!==e.length){if(!b9.teardown||b9.teardown.call(b2,b0,b8.handle)===false){bH.removeEvent(b2,ca,b8.handle)}delete cc[ca]}}if(bH.isEmptyObject(cc)){delete b8.handle;bH.removeData(b2,"events",true)}},customEvent:{getData:true,setData:true,changeData:true},trigger:function(b0,b7,b5,ce){if(b5&&(b5.nodeType===3||b5.nodeType===8)){return}var e,b2,b8,cc,b4,b3,ca,b9,b6,cd,cb=b0.type||b0,b1=[];if(bz.test(cb+bH.event.triggered)){return}if(cb.indexOf("!")>=0){cb=cb.slice(0,-1);b2=true}if(cb.indexOf(".")>=0){b1=cb.split(".");cb=b1.shift();b1.sort()}if((!b5||bH.event.customEvent[cb])&&!bH.event.global[cb]){return}b0=typeof b0==="object"?b0[bH.expando]?b0:new bH.Event(cb,b0):new bH.Event(cb);b0.type=cb;b0.isTrigger=true;b0.exclusive=b2;b0.namespace=b1.join(".");b0.namespace_re=b0.namespace?new RegExp("(^|\\.)"+b1.join("\\.(?:.*\\.|)")+"(\\.|$)"):null;b3=cb.indexOf(":")<0?"on"+cb:"";if(!b5){e=bH.cache;for(b8 in e){if(e[b8].events&&e[b8].events[cb]){bH.event.trigger(b0,b7,e[b8].handle.elem,true)}}return}b0.result=aC;if(!b0.target){b0.target=b5}b7=b7!=null?bH.makeArray(b7):[];b7.unshift(b0);ca=bH.event.special[cb]||{};if(ca.trigger&&ca.trigger.apply(b5,b7)===false){return}b6=[[b5,ca.bindType||cb]];if(!ce&&!ca.noBubble&&!bH.isWindow(b5)){cd=ca.delegateType||cb;cc=bz.test(cd+cb)?b5:b5.parentNode;for(b4=b5;cc;cc=cc.parentNode){b6.push([cc,cd]);b4=cc}if(b4===(b5.ownerDocument||p)){b6.push([b4.defaultView||b4.parentWindow||a3,cd])}}for(b8=0;b8<b6.length&&!b0.isPropagationStopped();b8++){cc=b6[b8][0];b0.type=b6[b8][1];b9=(bH._data(cc,"events")||{})[b0.type]&&bH._data(cc,"handle");if(b9){b9.apply(cc,b7)}b9=b3&&cc[b3];if(b9&&bH.acceptData(cc)&&b9.apply(cc,b7)===false){b0.preventDefault()}}b0.type=cb;if(!ce&&!b0.isDefaultPrevented()){if((!ca._default||ca._default.apply(b5.ownerDocument,b7)===false)&&!(cb==="click"&&bH.nodeName(b5,"a"))&&bH.acceptData(b5)){if(b3&&b5[cb]&&((cb!=="focus"&&cb!=="blur")||b0.target.offsetWidth!==0)&&!bH.isWindow(b5)){b4=b5[b3];if(b4){b5[b3]=null}bH.event.triggered=cb;b5[cb]();bH.event.triggered=aC;if(b4){b5[b3]=b4}}}}return b0.result},dispatch:function(e){e=bH.event.fix(e||a3.event);var b6,b5,cf,b9,b8,b0,b7,cd,b2,ce,b3=((bH._data(this,"events")||{})[e.type]||[]),b4=b3.delegateCount,cb=[].slice.call(arguments),b1=!e.exclusive&&!e.namespace,ca=bH.event.special[e.type]||{},cc=[];cb[0]=e;e.delegateTarget=this;if(ca.preDispatch&&ca.preDispatch.call(this,e)===false){return}if(b4&&!(e.button&&e.type==="click")){for(cf=e.target;cf!=this;cf=cf.parentNode||this){if(cf.disabled!==true||e.type!=="click"){b8={};b7=[];for(b6=0;b6<b4;b6++){cd=b3[b6];b2=cd.selector;if(b8[b2]===aC){b8[b2]=bH(b2,this).index(cf)>=0}if(b8[b2]){b7.push(cd)}}if(b7.length){cc.push({elem:cf,matches:b7})}}}}if(b3.length>b4){cc.push({elem:this,matches:b3.slice(b4)})}for(b6=0;b6<cc.length&&!e.isPropagationStopped();b6++){b0=cc[b6];e.currentTarget=b0.elem;for(b5=0;b5<b0.matches.length&&!e.isImmediatePropagationStopped();b5++){cd=b0.matches[b5];if(b1||(!e.namespace&&!cd.namespace)||e.namespace_re&&e.namespace_re.test(cd.namespace)){e.data=cd.data;e.handleObj=cd;b9=((bH.event.special[cd.origType]||{}).handle||cd.handler).apply(b0.elem,cb);if(b9!==aC){e.result=b9;if(b9===false){e.preventDefault();e.stopPropagation()}}}}}if(ca.postDispatch){ca.postDispatch.call(this,e)}return e.result},props:"attrChange attrName relatedNode srcElement altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(b0,e){if(b0.which==null){b0.which=e.charCode!=null?e.charCode:e.keyCode}return b0}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(b2,b1){var b3,b4,e,b0=b1.button,b5=b1.fromElement;if(b2.pageX==null&&b1.clientX!=null){b3=b2.target.ownerDocument||p;b4=b3.documentElement;e=b3.body;b2.pageX=b1.clientX+(b4&&b4.scrollLeft||e&&e.scrollLeft||0)-(b4&&b4.clientLeft||e&&e.clientLeft||0);b2.pageY=b1.clientY+(b4&&b4.scrollTop||e&&e.scrollTop||0)-(b4&&b4.clientTop||e&&e.clientTop||0)}if(!b2.relatedTarget&&b5){b2.relatedTarget=b5===b2.target?b1.toElement:b5}if(!b2.which&&b0!==aC){b2.which=(b0&1?1:(b0&2?3:(b0&4?2:0)))}return b2}},fix:function(b1){if(b1[bH.expando]){return b1}var b0,b4,e=b1,b2=bH.event.fixHooks[b1.type]||{},b3=b2.props?this.props.concat(b2.props):this.props;b1=bH.Event(e);for(b0=b3.length;b0;){b4=b3[--b0];b1[b4]=e[b4]}if(!b1.target){b1.target=e.srcElement||p}if(b1.target.nodeType===3){b1.target=b1.target.parentNode}b1.metaKey=!!b1.metaKey;return b2.filter?b2.filter(b1,e):b1},special:{load:{noBubble:true},focus:{delegateType:"focusin"},blur:{delegateType:"focusout"},beforeunload:{setup:function(b1,b0,e){if(bH.isWindow(this)){this.onbeforeunload=e}},teardown:function(b0,e){if(this.onbeforeunload===e){this.onbeforeunload=null}}}},simulate:function(b1,b3,b2,b0){var b4=bH.extend(new bH.Event(),b2,{type:b1,isSimulated:true,originalEvent:{}});if(b0){bH.event.trigger(b4,null,b3)}else{bH.event.dispatch.call(b3,b4)}if(b4.isDefaultPrevented()){b2.preventDefault()}}};bH.event.handle=bH.event.dispatch;bH.removeEvent=p.removeEventListener?function(b0,e,b1){if(b0.removeEventListener){b0.removeEventListener(e,b1,false)}}:function(b1,b0,b2){var e="on"+b0;if(b1.detachEvent){if(typeof b1[e]==="undefined"){b1[e]=null}b1.detachEvent(e,b2)}};bH.Event=function(b0,e){if(!(this instanceof bH.Event)){return new bH.Event(b0,e)}if(b0&&b0.type){this.originalEvent=b0;this.type=b0.type;this.isDefaultPrevented=(b0.defaultPrevented||b0.returnValue===false||b0.getPreventDefault&&b0.getPreventDefault())?S:Y}else{this.type=b0}if(e){bH.extend(this,e)}this.timeStamp=b0&&b0.timeStamp||bH.now();this[bH.expando]=true};function Y(){return false}function S(){return true}bH.Event.prototype={preventDefault:function(){this.isDefaultPrevented=S;var b0=this.originalEvent;if(!b0){return}if(b0.preventDefault){b0.preventDefault()}else{b0.returnValue=false}},stopPropagation:function(){this.isPropagationStopped=S;var b0=this.originalEvent;if(!b0){return}if(b0.stopPropagation){b0.stopPropagation()}b0.cancelBubble=true},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=S;this.stopPropagation()},isDefaultPrevented:Y,isPropagationStopped:Y,isImmediatePropagationStopped:Y};bH.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(b0,e){bH.event.special[b0]={delegateType:e,bindType:e,handle:function(b4){var b2,b6=this,b5=b4.relatedTarget,b3=b4.handleObj,b1=b3.selector;if(!b5||(b5!==b6&&!bH.contains(b6,b5))){b4.type=b3.origType;b2=b3.handler.apply(this,arguments);b4.type=e}return b2}}});if(!bH.support.submitBubbles){bH.event.special.submit={setup:function(){if(bH.nodeName(this,"form")){return false}bH.event.add(this,"click._submit keypress._submit",function(b2){var b1=b2.target,b0=bH.nodeName(b1,"input")||bH.nodeName(b1,"button")?b1.form:aC;if(b0&&!bH._data(b0,"_submit_attached")){bH.event.add(b0,"submit._submit",function(e){e._submit_bubble=true});bH._data(b0,"_submit_attached",true)}})},postDispatch:function(e){if(e._submit_bubble){delete e._submit_bubble;if(this.parentNode&&!e.isTrigger){bH.event.simulate("submit",this.parentNode,e,true)}}},teardown:function(){if(bH.nodeName(this,"form")){return false}bH.event.remove(this,"._submit")}}}if(!bH.support.changeBubbles){bH.event.special.change={setup:function(){if(bF.test(this.nodeName)){if(this.type==="checkbox"||this.type==="radio"){bH.event.add(this,"propertychange._change",function(e){if(e.originalEvent.propertyName==="checked"){this._just_changed=true}});bH.event.add(this,"click._change",function(e){if(this._just_changed&&!e.isTrigger){this._just_changed=false}bH.event.simulate("change",this,e,true)})}return false}bH.event.add(this,"beforeactivate._change",function(b1){var b0=b1.target;if(bF.test(b0.nodeName)&&!bH._data(b0,"_change_attached")){bH.event.add(b0,"change._change",function(e){if(this.parentNode&&!e.isSimulated&&!e.isTrigger){bH.event.simulate("change",this.parentNode,e,true)}});bH._data(b0,"_change_attached",true)}})},handle:function(b0){var e=b0.target;if(this!==e||b0.isSimulated||b0.isTrigger||(e.type!=="radio"&&e.type!=="checkbox")){return b0.handleObj.handler.apply(this,arguments)}},teardown:function(){bH.event.remove(this,"._change");return !bF.test(this.nodeName)}}}if(!bH.support.focusinBubbles){bH.each({focus:"focusin",blur:"focusout"},function(b2,e){var b0=0,b1=function(b3){bH.event.simulate(e,b3.target,bH.event.fix(b3),true)};bH.event.special[e]={setup:function(){if(b0++===0){p.addEventListener(b2,b1,true)}},teardown:function(){if(--b0===0){p.removeEventListener(b2,b1,true)}}}})}bH.fn.extend({on:function(b1,e,b4,b3,b0){var b5,b2;if(typeof b1==="object"){if(typeof e!=="string"){b4=b4||e;e=aC}for(b2 in b1){this.on(b2,e,b4,b1[b2],b0)}return this}if(b4==null&&b3==null){b3=e;b4=e=aC}else{if(b3==null){if(typeof e==="string"){b3=b4;b4=aC}else{b3=b4;b4=e;e=aC}}}if(b3===false){b3=Y}else{if(!b3){return this}}if(b0===1){b5=b3;b3=function(b6){bH().off(b6);return b5.apply(this,arguments)};b3.guid=b5.guid||(b5.guid=bH.guid++)}return this.each(function(){bH.event.add(this,b1,b3,b4,e)})},one:function(b0,e,b2,b1){return this.on(b0,e,b2,b1,1)},off:function(b1,e,b3){var b0,b2;if(b1&&b1.preventDefault&&b1.handleObj){b0=b1.handleObj;bH(b1.delegateTarget).off(b0.namespace?b0.origType+"."+b0.namespace:b0.origType,b0.selector,b0.handler);return this}if(typeof b1==="object"){for(b2 in b1){this.off(b2,e,b1[b2])}return this}if(e===false||typeof e==="function"){b3=e;e=aC}if(b3===false){b3=Y}return this.each(function(){bH.event.remove(this,b1,b3,e)})},bind:function(e,b1,b0){return this.on(e,null,b1,b0)},unbind:function(e,b0){return this.off(e,null,b0)},live:function(e,b1,b0){bH(this.context).on(e,this.selector,b1,b0);return this},die:function(e,b0){bH(this.context).off(e,this.selector||"**",b0);return this},delegate:function(e,b0,b2,b1){return this.on(b0,e,b2,b1)},undelegate:function(e,b0,b1){return arguments.length==1?this.off(e,"**"):this.off(b0,e||"**",b1)},trigger:function(e,b0){return this.each(function(){bH.event.trigger(e,b0,this)})},triggerHandler:function(e,b0){if(this[0]){return bH.event.trigger(e,b0,this[0],true)}},toggle:function(b2){var b0=arguments,e=b2.guid||bH.guid++,b1=0,b3=function(b4){var b5=(bH._data(this,"lastToggle"+b2.guid)||0)%b1;bH._data(this,"lastToggle"+b2.guid,b5+1);b4.preventDefault();return b0[b5].apply(this,arguments)||false};b3.guid=e;while(b1<b0.length){b0[b1++].guid=e}return this.click(b3)},hover:function(e,b0){return this.mouseenter(e).mouseleave(b0||e)}});bH.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(b0,e){bH.fn[e]=function(b2,b1){if(b1==null){b1=b2;b2=null}return arguments.length>0?this.on(e,null,b2,b1):this.trigger(e)};if(a4.test(e)){bH.event.fixHooks[e]=bH.event.keyHooks}if(bL.test(e)){bH.event.fixHooks[e]=bH.event.mouseHooks}});
/*!
 * Sizzle CSS Selector Engine
 *  Copyright 2012 jQuery Foundation and other contributors
 *  Released under the MIT license
 *  http://sizzlejs.com/
 */
(function(cN,cg){var co,cS,ca,cF,b1,ck,cw,cd,cf,cc,b9=true,cs="undefined",cV=("sizcache"+Math.random()).replace(".",""),b8=cN.document,cb=b8.documentElement,ce=0,cj=[].slice,cR=[].push,cX=function(e,c2){e[cV]=c2||true;return e},c0=function(){var e={},c2=[];return cX(function(c3,c4){if(c2.push(c3)>cF.cacheLength){delete e[c2.shift()]}return(e[c3]=c4)},e)},cP=c0(),cQ=c0(),cl=c0(),cv="[\\x20\\t\\r\\n\\f]",ci="(?:\\\\.|[-\\w]|[^\\x00-\\xa0])+",ch=ci.replace("w","w#"),cZ="([*^$|!~]?=)",cK="\\["+cv+"*("+ci+")"+cv+"*(?:"+cZ+cv+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+ch+")|)|)"+cv+"*\\]",c1=":("+ci+")(?:\\((?:(['\"])((?:\\\\.|[^\\\\])*?)\\2|([^()[\\]]*|(?:(?:"+cK+")|[^:]|\\\\.)*|.*))\\)|)",cx=":(nth|eq|gt|lt|first|last|even|odd)(?:\\(((?:-\\d)?\\d*)\\)|)(?=[^-]|$)",cT=new RegExp("^"+cv+"+|((?:^|[^\\\\])(?:\\\\.)*)"+cv+"+$","g"),b5=new RegExp("^"+cv+"*,"+cv+"*"),cC=new RegExp("^"+cv+"*([\\x20\\t\\r\\n\\f>+~])"+cv+"*"),cH=new RegExp(c1),cJ=/^(?:#([\w\-]+)|(\w+)|\.([\w\-]+))$/,cA=/^:not/,cM=/[\x20\t\r\n\f]*[+~]/,cW=/:not\($/,cp=/h\d/i,cI=/input|select|textarea|button/i,cq=/\\(?!\\)/g,cB={ID:new RegExp("^#("+ci+")"),CLASS:new RegExp("^\\.("+ci+")"),NAME:new RegExp("^\\[name=['\"]?("+ci+")['\"]?\\]"),TAG:new RegExp("^("+ci.replace("w","w*")+")"),ATTR:new RegExp("^"+cK),PSEUDO:new RegExp("^"+c1),CHILD:new RegExp("^:(only|nth|last|first)-child(?:\\("+cv+"*(even|odd|(([+-]|)(\\d*)n|)"+cv+"*(?:([+-]|)"+cv+"*(\\d+)|))"+cv+"*\\)|)","i"),POS:new RegExp(cx,"ig"),needsContext:new RegExp("^"+cv+"*[>+~]|"+cx,"i")},cE=function(c2){var c4=b8.createElement("div");try{return c2(c4)}catch(c3){return false}finally{c4=null}},b7=cE(function(e){e.appendChild(b8.createComment(""));return !e.getElementsByTagName("*").length}),cz=cE(function(e){e.innerHTML="<a href='#'></a>";return e.firstChild&&typeof e.firstChild.getAttribute!==cs&&e.firstChild.getAttribute("href")==="#"}),cn=cE(function(c2){c2.innerHTML="<select></select>";var e=typeof c2.lastChild.getAttribute("multiple");return e!=="boolean"&&e!=="string"}),cy=cE(function(e){e.innerHTML="<div class='hidden e'></div><div class='hidden'></div>";if(!e.getElementsByClassName||!e.getElementsByClassName("e").length){return false}e.lastChild.className="e";return e.getElementsByClassName("e").length===2}),b0=cE(function(c2){c2.id=cV+0;c2.innerHTML="<a name='"+cV+"'></a><div name='"+cV+"'></div>";cb.insertBefore(c2,cb.firstChild);var e=b8.getElementsByName&&b8.getElementsByName(cV).length===2+b8.getElementsByName(cV+0).length;ca=!b8.getElementById(cV);cb.removeChild(c2);return e});try{cj.call(cb.childNodes,0)[0].nodeType}catch(cY){cj=function(c2){var c3,e=[];for(;(c3=this[c2]);c2++){e.push(c3)}return e}}function cL(c4,e,c6,c9){c6=c6||[];e=e||b8;var c7,c2,c8,c3,c5=e.nodeType;if(c5!==1&&c5!==9){return[]}if(!c4||typeof c4!=="string"){return c6}c8=ck(e);if(!c8&&!c9){if((c7=cJ.exec(c4))){if((c3=c7[1])){if(c5===9){c2=e.getElementById(c3);if(c2&&c2.parentNode){if(c2.id===c3){c6.push(c2);return c6}}else{return c6}}else{if(e.ownerDocument&&(c2=e.ownerDocument.getElementById(c3))&&cw(e,c2)&&c2.id===c3){c6.push(c2);return c6}}}else{if(c7[2]){cR.apply(c6,cj.call(e.getElementsByTagName(c4),0));return c6}else{if((c3=c7[3])&&cy&&e.getElementsByClassName){cR.apply(c6,cj.call(e.getElementsByClassName(c3),0));return c6}}}}}return cU(c4,e,c6,c9,c8)}cL.matches=function(c2,e){return cL(c2,null,null,e)};cL.matchesSelector=function(e,c2){return cL(c2,null,null,[e]).length>0};function cD(e){return function(c3){var c2=c3.nodeName.toLowerCase();return c2==="input"&&c3.type===e}}function b4(e){return function(c3){var c2=c3.nodeName.toLowerCase();return(c2==="input"||c2==="button")&&c3.type===e}}b1=cL.getText=function(c5){var c4,c2="",c3=0,e=c5.nodeType;if(e){if(e===1||e===9||e===11){if(typeof c5.textContent==="string"){return c5.textContent}else{for(c5=c5.firstChild;c5;c5=c5.nextSibling){c2+=b1(c5)}}}else{if(e===3||e===4){return c5.nodeValue}}}else{for(;(c4=c5[c3]);c3++){c2+=b1(c4)}}return c2};ck=cL.isXML=function ck(e){var c2=e&&(e.ownerDocument||e).documentElement;return c2?c2.nodeName!=="HTML":false};cw=cL.contains=cb.contains?function(c2,e){var c4=c2.nodeType===9?c2.documentElement:c2,c3=e&&e.parentNode;return c2===c3||!!(c3&&c3.nodeType===1&&c4.contains&&c4.contains(c3))}:cb.compareDocumentPosition?function(c2,e){return e&&!!(c2.compareDocumentPosition(e)&16)}:function(c2,e){while((e=e.parentNode)){if(e===c2){return true}}return false};cL.attr=function(c4,c3){var e,c2=ck(c4);if(!c2){c3=c3.toLowerCase()}if(cF.attrHandle[c3]){return cF.attrHandle[c3](c4)}if(cn||c2){return c4.getAttribute(c3)}e=c4.getAttributeNode(c3);return e?typeof c4[c3]==="boolean"?c4[c3]?c3:null:e.specified?e.value:null:null};cF=cL.selectors={cacheLength:50,createPseudo:cX,match:cB,order:new RegExp("ID|TAG"+(b0?"|NAME":"")+(cy?"|CLASS":"")),attrHandle:cz?{}:{href:function(e){return e.getAttribute("href",2)},type:function(e){return e.getAttribute("type")}},find:{ID:ca?function(c4,c3,c2){if(typeof c3.getElementById!==cs&&!c2){var e=c3.getElementById(c4);return e&&e.parentNode?[e]:[]}}:function(c4,c3,c2){if(typeof c3.getElementById!==cs&&!c2){var e=c3.getElementById(c4);return e?e.id===c4||typeof e.getAttributeNode!==cs&&e.getAttributeNode("id").value===c4?[e]:cg:[]}},TAG:b7?function(e,c2){if(typeof c2.getElementsByTagName!==cs){return c2.getElementsByTagName(e)}}:function(e,c5){var c4=c5.getElementsByTagName(e);if(e==="*"){var c6,c3=[],c2=0;for(;(c6=c4[c2]);c2++){if(c6.nodeType===1){c3.push(c6)}}return c3}return c4},NAME:function(e,c2){if(typeof c2.getElementsByName!==cs){return c2.getElementsByName(name)}},CLASS:function(c3,c2,e){if(typeof c2.getElementsByClassName!==cs&&!e){return c2.getElementsByClassName(c3)}}},relative:{">":{dir:"parentNode",first:true}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:true},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){e[1]=e[1].replace(cq,"");e[3]=(e[4]||e[5]||"").replace(cq,"");if(e[2]==="~="){e[3]=" "+e[3]+" "}return e.slice(0,4)},CHILD:function(e){e[1]=e[1].toLowerCase();if(e[1]==="nth"){if(!e[2]){cL.error(e[0])}e[3]=+(e[3]?e[4]+(e[5]||1):2*(e[2]==="even"||e[2]==="odd"));e[4]=+((e[6]+e[7])||e[2]==="odd")}else{if(e[2]){cL.error(e[0])}}return e},PSEUDO:function(c3,c4,c2){var c5,e;if(cB.CHILD.test(c3[0])){return null}if(c3[3]){c3[2]=c3[3]}else{if((c5=c3[4])){if(cH.test(c5)&&(e=b2(c5,c4,c2,true))&&(e=c5.indexOf(")",c5.length-e)-c5.length)){c5=c5.slice(0,e);c3[0]=c3[0].slice(0,e)}c3[2]=c5}}return c3.slice(0,3)}},filter:{ID:ca?function(e){e=e.replace(cq,"");return function(c2){return c2.getAttribute("id")===e}}:function(e){e=e.replace(cq,"");return function(c3){var c2=typeof c3.getAttributeNode!==cs&&c3.getAttributeNode("id");return c2&&c2.value===e}},TAG:function(e){if(e==="*"){return function(){return true}}e=e.replace(cq,"").toLowerCase();return function(c2){return c2.nodeName&&c2.nodeName.toLowerCase()===e}},CLASS:function(e){var c2=cP[cV][e];if(!c2){c2=cP(e,new RegExp("(^|"+cv+")"+e+"("+cv+"|$)"))}return function(c3){return c2.test(c3.className||(typeof c3.getAttribute!==cs&&c3.getAttribute("class"))||"")}},ATTR:function(c3,c2,e){if(!c2){return function(c4){return cL.attr(c4,c3)!=null}}return function(c5){var c4=cL.attr(c5,c3),c6=c4+"";if(c4==null){return c2==="!="}switch(c2){case"=":return c6===e;case"!=":return c6!==e;case"^=":return e&&c6.indexOf(e)===0;case"*=":return e&&c6.indexOf(e)>-1;case"$=":return e&&c6.substr(c6.length-e.length)===e;case"~=":return(" "+c6+" ").indexOf(e)>-1;case"|=":return c6===e||c6.substr(0,e.length+1)===e+"-"}}},CHILD:function(c2,c4,c5,c3){if(c2==="nth"){var e=ce++;return function(c9){var c6,da,c8=0,c7=c9;if(c5===1&&c3===0){return true}c6=c9.parentNode;if(c6&&(c6[cV]!==e||!c9.sizset)){for(c7=c6.firstChild;c7;c7=c7.nextSibling){if(c7.nodeType===1){c7.sizset=++c8;if(c7===c9){break}}}c6[cV]=e}da=c9.sizset-c3;if(c5===0){return da===0}else{return(da%c5===0&&da/c5>=0)}}}return function(c7){var c6=c7;switch(c2){case"only":case"first":while((c6=c6.previousSibling)){if(c6.nodeType===1){return false}}if(c2==="first"){return true}c6=c7;case"last":while((c6=c6.nextSibling)){if(c6.nodeType===1){return false}}return true}}},PSEUDO:function(c6,c5,c3,c2){var e,c4=cF.pseudos[c6]||cF.pseudos[c6.toLowerCase()];if(!c4){cL.error("unsupported pseudo: "+c6)}if(!c4[cV]){if(c4.length>1){e=[c6,c6,"",c5];return function(c7){return c4(c7,0,e)}}return c4}return c4(c5,c3,c2)}},pseudos:{not:cX(function(e,c3,c2){var c4=cd(e.replace(cT,"$1"),c3,c2);return function(c5){return !c4(c5)}}),enabled:function(e){return e.disabled===false},disabled:function(e){return e.disabled===true},checked:function(e){var c2=e.nodeName.toLowerCase();return(c2==="input"&&!!e.checked)||(c2==="option"&&!!e.selected)},selected:function(e){if(e.parentNode){e.parentNode.selectedIndex}return e.selected===true},parent:function(e){return !cF.pseudos.empty(e)},empty:function(c2){var e;c2=c2.firstChild;while(c2){if(c2.nodeName>"@"||(e=c2.nodeType)===3||e===4){return false}c2=c2.nextSibling}return true},contains:cX(function(e){return function(c2){return(c2.textContent||c2.innerText||b1(c2)).indexOf(e)>-1}}),has:cX(function(e){return function(c2){return cL(e,c2).length>0}}),header:function(e){return cp.test(e.nodeName)},text:function(c3){var c2,e;return c3.nodeName.toLowerCase()==="input"&&(c2=c3.type)==="text"&&((e=c3.getAttribute("type"))==null||e.toLowerCase()===c2)},radio:cD("radio"),checkbox:cD("checkbox"),file:cD("file"),password:cD("password"),image:cD("image"),submit:b4("submit"),reset:b4("reset"),button:function(c2){var e=c2.nodeName.toLowerCase();return e==="input"&&c2.type==="button"||e==="button"},input:function(e){return cI.test(e.nodeName)},focus:function(e){var c2=e.ownerDocument;return e===c2.activeElement&&(!c2.hasFocus||c2.hasFocus())&&!!(e.type||e.href)},active:function(e){return e===e.ownerDocument.activeElement}},setFilters:{first:function(c3,c2,e){return e?c3.slice(1):[c3[0]]},last:function(c4,c3,c2){var e=c4.pop();return c2?c4:[e]},even:function(c6,c5,c4){var c3=[],c2=c4?1:0,e=c6.length;for(;c2<e;c2=c2+2){c3.push(c6[c2])}return c3},odd:function(c6,c5,c4){var c3=[],c2=c4?0:1,e=c6.length;for(;c2<e;c2=c2+2){c3.push(c6[c2])}return c3},lt:function(c3,c2,e){return e?c3.slice(+c2):c3.slice(0,+c2)},gt:function(c3,c2,e){return e?c3.slice(0,+c2+1):c3.slice(+c2+1)},eq:function(c4,c3,c2){var e=c4.splice(+c3,1);return c2?c4:e}}};function b3(c2,e,c3){if(c2===e){return c3}var c4=c2.nextSibling;while(c4){if(c4===e){return -1}c4=c4.nextSibling}return 1}cf=cb.compareDocumentPosition?function(c2,e){if(c2===e){cc=true;return 0}return(!c2.compareDocumentPosition||!e.compareDocumentPosition?c2.compareDocumentPosition:c2.compareDocumentPosition(e)&4)?-1:1}:function(c9,c8){if(c9===c8){cc=true;return 0}else{if(c9.sourceIndex&&c8.sourceIndex){return c9.sourceIndex-c8.sourceIndex}}var c6,c2,c3=[],e=[],c5=c9.parentNode,c7=c8.parentNode,da=c5;if(c5===c7){return b3(c9,c8)}else{if(!c5){return -1}else{if(!c7){return 1}}}while(da){c3.unshift(da);da=da.parentNode}da=c7;while(da){e.unshift(da);da=da.parentNode}c6=c3.length;c2=e.length;for(var c4=0;c4<c6&&c4<c2;c4++){if(c3[c4]!==e[c4]){return b3(c3[c4],e[c4])}}return c4===c6?b3(c9,e[c4],-1):b3(c3[c4],c8,1)};[0,0].sort(cf);b9=!cc;cL.uniqueSort=function(c2){var c3,e=1;cc=b9;c2.sort(cf);if(cc){for(;(c3=c2[e]);e++){if(c3===c2[e-1]){c2.splice(e--,1)}}}return c2};cL.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)};function b2(c8,c2,da,dh){var c3,db,dd,de,dc,c5,dg,c9,e,c4,c7=!da&&c2!==b8,df=(c7?"<s>":"")+c8.replace(cT,"$1<s>"),c6=cQ[cV][df];if(c6){return dh?0:cj.call(c6,0)}dc=c8;c5=[];c9=0;e=cF.preFilter;c4=cF.filter;while(dc){if(!c3||(db=b5.exec(dc))){if(db){dc=dc.slice(db[0].length);dd.selector=dg}c5.push(dd=[]);dg="";if(c7){dc=" "+dc}}c3=false;if((db=cC.exec(dc))){dg+=db[0];dc=dc.slice(db[0].length);c3=dd.push({part:db.pop().replace(cT," "),string:db[0],captures:db})}for(de in c4){if((db=cB[de].exec(dc))&&(!e[de]||(db=e[de](db,c2,da)))){dg+=db[0];dc=dc.slice(db[0].length);c3=dd.push({part:de,string:db.shift(),captures:db})}}if(!c3){break}}if(dg){dd.selector=dg}return dh?dc.length:dc?cL.error(c8):cj.call(cQ(df,c5),0)}function ct(c6,c5,c4,c2){var e=c5.dir,c3=ce++;if(!c6){c6=function(c7){return c7===c4}}return c5.first?function(c7){while((c7=c7[e])){if(c7.nodeType===1){return c6(c7)&&c7}}}:c2?function(c7){while((c7=c7[e])){if(c7.nodeType===1){if(c6(c7)){return c7}}}}:function(c8){var c7,c9=c3+"."+co,da=c9+"."+cS;while((c8=c8[e])){if(c8.nodeType===1){if((c7=c8[cV])===da){return c8.sizset}else{if(typeof c7==="string"&&c7.indexOf(c9)===0){if(c8.sizset){return c8}}else{c8[cV]=da;if(c6(c8)){c8.sizset=true;return c8}c8.sizset=false}}}}}}function cr(e,c2){return e?function(c4){var c3=c2(c4);return c3&&e(c3===true?c4:c3)}:c2}function cu(c6,c4,e){var c3,c5,c2=0;for(;(c3=c6[c2]);c2++){if(cF.relative[c3.part]){c5=ct(c5,cF.relative[c3.part],c4,e)}else{c5=cr(c5,cF.filter[c3.part].apply(null,c3.captures.concat(c4,e)))}}return c5}function b6(e){return function(c3){var c4,c2=0;for(;(c4=e[c2]);c2++){if(c4(c3)){return true}}return false}}cd=cL.compile=function(c2,c5,c3){var c7,c4,e,c6=cl[cV][c2];if(c6&&c6.context===c5){return c6}c7=b2(c2,c5,c3);for(c4=0,e=c7.length;c4<e;c4++){c7[c4]=cu(c7[c4],c5,c3)}c6=cl(c2,b6(c7));c6.context=c5;c6.runs=c6.dirruns=0;return c6};function cm(c2,c6,c5,c3){var c4=0,e=c6.length;for(;c4<e;c4++){cL(c2,c6[c4],c5,c3)}}function cG(e,c3,c7,c8,c2,c6){var c4,c5=cF.setFilters[c3.toLowerCase()];if(!c5){cL.error(c3)}if(e||!(c4=c2)){cm(e||"*",c8,(c4=[]),c2)}return c4.length>0?c5(c4,c7,c6):[]}function cO(dk,e,dd,c3){var c9,de,df,dc,c6,dg,c5,db,c7,da,dj,dl,c2,dh=0,di=dk.length,c4=cB.POS,c8=new RegExp("^"+c4.source+"(?!"+cv+")","i"),dm=function(){var dp=1,dn=arguments.length-2;for(;dp<dn;dp++){if(arguments[dp]===cg){c7[dp]=cg}}};for(;dh<di;dh++){c9=dk[dh];de="";db=c3;for(df=0,dc=c9.length;df<dc;df++){c6=c9[df];dg=c6.string;if(c6.part==="PSEUDO"){c4.exec("");c5=0;while((c7=c4.exec(dg))){da=true;dj=c4.lastIndex=c7.index+c7[0].length;if(dj>c5){de+=dg.slice(c5,c7.index);c5=dj;dl=[e];if(cC.test(de)){if(db){dl=db}db=c3}if((c2=cW.test(de))){de=de.slice(0,-5).replace(cC,"$&*");c5++}if(c7.length>1){c7[0].replace(c8,dm)}db=cG(de,c7[1],c7[2],dl,db,c2)}de=""}}if(!da){de+=dg}da=false}if(de){if(cC.test(de)){cm(de,db||[e],dd,c3)}else{cL(de,e,dd,c3?c3.concat(db):db)}}else{cR.apply(dd,db)}}return di===1?dd:cL.uniqueSort(dd)}function cU(c7,c2,c9,dc,db){c7=c7.replace(cT,"$1");var e,dd,c5,c4,c8,df,c6,c3,dg,de,da=b2(c7,c2,db),dh=c2.nodeType;if(cB.POS.test(c7)){return cO(da,c2,c9,dc)}if(dc){e=cj.call(dc,0)}else{if(da.length===1){if((df=cj.call(da[0],0)).length>2&&(c6=df[0]).part==="ID"&&dh===9&&!db&&cF.relative[df[1].part]){c2=cF.find.ID(c6.captures[0].replace(cq,""),c2,db)[0];if(!c2){return c9}c7=c7.slice(df.shift().string.length)}dg=((da=cM.exec(df[0].string))&&!da.index&&c2.parentNode)||c2;c3="";for(c8=df.length-1;c8>=0;c8--){c6=df[c8];de=c6.part;c3=c6.string+c3;if(cF.relative[de]){break}if(cF.order.test(de)){e=cF.find[de](c6.captures[0].replace(cq,""),dg,db);if(e==null){continue}else{c7=c7.slice(0,c7.length-c3.length)+c3.replace(cB[de],"");if(!c7){cR.apply(c9,cj.call(e,0))}break}}}}}if(c7){dd=cd(c7,c2,db);co=dd.dirruns++;if(e==null){e=cF.find.TAG("*",(cM.test(c7)&&c2.parentNode)||c2)}for(c8=0;(c4=e[c8]);c8++){cS=dd.runs++;if(dd(c4)){c9.push(c4)}}}return c9}if(b8.querySelectorAll){(function(){var c6,c7=cU,c5=/'|\\/g,c3=/\=[\x20\t\r\n\f]*([^'"\]]*)[\x20\t\r\n\f]*\]/g,c2=[],e=[":active"],c4=cb.matchesSelector||cb.mozMatchesSelector||cb.webkitMatchesSelector||cb.oMatchesSelector||cb.msMatchesSelector;cE(function(c8){c8.innerHTML="<select><option selected=''></option></select>";if(!c8.querySelectorAll("[selected]").length){c2.push("\\["+cv+"*(?:checked|disabled|ismap|multiple|readonly|selected|value)")}if(!c8.querySelectorAll(":checked").length){c2.push(":checked")}});cE(function(c8){c8.innerHTML="<p test=''></p>";if(c8.querySelectorAll("[test^='']").length){c2.push("[*^$]="+cv+"*(?:\"\"|'')")}c8.innerHTML="<input type='hidden'/>";if(!c8.querySelectorAll(":enabled").length){c2.push(":enabled",":disabled")}});c2=c2.length&&new RegExp(c2.join("|"));cU=function(de,c9,df,di,dh){if(!di&&!dh&&(!c2||!c2.test(de))){if(c9.nodeType===9){try{cR.apply(df,cj.call(c9.querySelectorAll(de),0));return df}catch(dd){}}else{if(c9.nodeType===1&&c9.nodeName.toLowerCase()!=="object"){var dc,dg,dj,db=c9.getAttribute("id"),c8=db||cV,da=cM.test(de)&&c9.parentNode||c9;if(db){c8=c8.replace(c5,"\\$&")}else{c9.setAttribute("id",c8)}dc=b2(de,c9,dh);c8="[id='"+c8+"']";for(dg=0,dj=dc.length;dg<dj;dg++){dc[dg]=c8+dc[dg].selector}try{cR.apply(df,cj.call(da.querySelectorAll(dc.join(",")),0));return df}catch(dd){}finally{if(!db){c9.removeAttribute("id")}}}}}return c7(de,c9,df,di,dh)};if(c4){cE(function(c9){c6=c4.call(c9,"div");try{c4.call(c9,"[test!='']:sizzle");e.push(cB.PSEUDO.source,cB.POS.source,"!=")}catch(c8){}});e=new RegExp(e.join("|"));cL.matchesSelector=function(c9,db){db=db.replace(c3,"='$1']");if(!ck(c9)&&!e.test(db)&&(!c2||!c2.test(db))){try{var c8=c4.call(c9,db);if(c8||c6||c9.document&&c9.document.nodeType!==11){return c8}}catch(da){}}return cL(db,null,null,[c9]).length>0}}})()}cF.setFilters.nth=cF.setFilters.eq;cF.filters=cF.pseudos;cL.attr=bH.attr;bH.find=cL;bH.expr=cL.selectors;bH.expr[":"]=bH.expr.pseudos;bH.unique=cL.uniqueSort;bH.text=cL.getText;bH.isXMLDoc=cL.isXML;bH.contains=cL.contains})(a3);var ah=/Until$/,br=/^(?:parents|prev(?:Until|All))/,am=/^.[^:#\[\.,]*$/,z=bH.expr.match.needsContext,bv={children:true,contents:true,next:true,prev:true};bH.fn.extend({find:function(e){var b3,b0,b5,b6,b4,b2,b1=this;if(typeof e!=="string"){return bH(e).filter(function(){for(b3=0,b0=b1.length;b3<b0;b3++){if(bH.contains(b1[b3],this)){return true}}})}b2=this.pushStack("","find",e);for(b3=0,b0=this.length;b3<b0;b3++){b5=b2.length;bH.find(e,this[b3],b2);if(b3>0){for(b6=b5;b6<b2.length;b6++){for(b4=0;b4<b5;b4++){if(b2[b4]===b2[b6]){b2.splice(b6--,1);break}}}}}return b2},has:function(b2){var b1,b0=bH(b2,this),e=b0.length;return this.filter(function(){for(b1=0;b1<e;b1++){if(bH.contains(this,b0[b1])){return true}}})},not:function(e){return this.pushStack(aN(this,e,false),"not",e)},filter:function(e){return this.pushStack(aN(this,e,true),"filter",e)},is:function(e){return !!e&&(typeof e==="string"?z.test(e)?bH(e,this.context).index(this[0])>=0:bH.filter(e,this).length>0:this.filter(e).length>0)},closest:function(b3,b2){var b4,b1=0,e=this.length,b0=[],b5=z.test(b3)||typeof b3!=="string"?bH(b3,b2||this.context):0;for(;b1<e;b1++){b4=this[b1];while(b4&&b4.ownerDocument&&b4!==b2&&b4.nodeType!==11){if(b5?b5.index(b4)>-1:bH.find.matchesSelector(b4,b3)){b0.push(b4);break}b4=b4.parentNode}}b0=b0.length>1?bH.unique(b0):b0;return this.pushStack(b0,"closest",b3)},index:function(e){if(!e){return(this[0]&&this[0].parentNode)?this.prevAll().length:-1}if(typeof e==="string"){return bH.inArray(this[0],bH(e))}return bH.inArray(e.jquery?e[0]:e,this)},add:function(e,b0){var b2=typeof e==="string"?bH(e,b0):bH.makeArray(e&&e.nodeType?[e]:e),b1=bH.merge(this.get(),b2);return this.pushStack(aS(b2[0])||aS(b1[0])?b1:bH.unique(b1))},addBack:function(e){return this.add(e==null?this.prevObject:this.prevObject.filter(e))}});bH.fn.andSelf=bH.fn.addBack;function aS(e){return !e||!e.parentNode||e.parentNode.nodeType===11}function aZ(b0,e){do{b0=b0[e]}while(b0&&b0.nodeType!==1);return b0}bH.each({parent:function(b0){var e=b0.parentNode;return e&&e.nodeType!==11?e:null},parents:function(e){return bH.dir(e,"parentNode")},parentsUntil:function(b0,e,b1){return bH.dir(b0,"parentNode",b1)},next:function(e){return aZ(e,"nextSibling")},prev:function(e){return aZ(e,"previousSibling")},nextAll:function(e){return bH.dir(e,"nextSibling")},prevAll:function(e){return bH.dir(e,"previousSibling")},nextUntil:function(b0,e,b1){return bH.dir(b0,"nextSibling",b1)},prevUntil:function(b0,e,b1){return bH.dir(b0,"previousSibling",b1)},siblings:function(e){return bH.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return bH.sibling(e.firstChild)},contents:function(e){return bH.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:bH.merge([],e.childNodes)}},function(e,b0){bH.fn[e]=function(b3,b1){var b2=bH.map(this,b0,b3);if(!ah.test(e)){b1=b3}if(b1&&typeof b1==="string"){b2=bH.filter(b1,b2)}b2=this.length>1&&!bv[e]?bH.unique(b2):b2;if(this.length>1&&br.test(e)){b2=b2.reverse()}return this.pushStack(b2,e,a5.call(arguments).join(","))}});bH.extend({filter:function(b1,e,b0){if(b0){b1=":not("+b1+")"}return e.length===1?bH.find.matchesSelector(e[0],b1)?[e[0]]:[]:bH.find.matches(b1,e)},dir:function(b1,b0,b3){var e=[],b2=b1[b0];while(b2&&b2.nodeType!==9&&(b3===aC||b2.nodeType!==1||!bH(b2).is(b3))){if(b2.nodeType===1){e.push(b2)}b2=b2[b0]}return e},sibling:function(b1,b0){var e=[];for(;b1;b1=b1.nextSibling){if(b1.nodeType===1&&b1!==b0){e.push(b1)}}return e}});function aN(b2,b1,e){b1=b1||0;if(bH.isFunction(b1)){return bH.grep(b2,function(b4,b3){var b5=!!b1.call(b4,b3,b4);return b5===e})}else{if(b1.nodeType){return bH.grep(b2,function(b4,b3){return(b4===b1)===e})}else{if(typeof b1==="string"){var b0=bH.grep(b2,function(b3){return b3.nodeType===1});if(am.test(b1)){return bH.filter(b1,b0,!e)}else{b1=bH.filter(b1,b0)}}}}return bH.grep(b2,function(b4,b3){return(bH.inArray(b4,b1)>=0)===e})}function B(e){var b1=c.split("|"),b0=e.createDocumentFragment();if(b0.createElement){while(b1.length){b0.createElement(b1.pop())}}return b0}var c="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",aw=/ jQuery\d+="(?:null|\d+)"/g,bZ=/^\s+/,az=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,q=/<([\w:]+)/,bU=/<tbody/i,K=/<|&#?\w+;/,ak=/<(?:script|style|link)/i,aq=/<(?:script|object|embed|option|style)/i,L=new RegExp("<(?:"+c+")[\\s/>]","i"),aF=/^(?:checkbox|radio)$/,bS=/checked\s*(?:[^=]|=\s*.checked.)/i,bx=/\/(java|ecma)script/i,aI=/^\s*<!(?:\[CDATA\[|\-\-)|[\]\-]{2}>\s*$/g,U={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]},aR=B(p),m=aR.appendChild(p.createElement("div"));U.optgroup=U.option;U.tbody=U.tfoot=U.colgroup=U.caption=U.thead;U.th=U.td;if(!bH.support.htmlSerialize){U._default=[1,"X<div>","</div>"]}bH.fn.extend({text:function(e){return bH.access(this,function(b0){return b0===aC?bH.text(this):this.empty().append((this[0]&&this[0].ownerDocument||p).createTextNode(b0))},null,e,arguments.length)},wrapAll:function(e){if(bH.isFunction(e)){return this.each(function(b1){bH(this).wrapAll(e.call(this,b1))})}if(this[0]){var b0=bH(e,this[0].ownerDocument).eq(0).clone(true);if(this[0].parentNode){b0.insertBefore(this[0])}b0.map(function(){var b1=this;while(b1.firstChild&&b1.firstChild.nodeType===1){b1=b1.firstChild}return b1}).append(this)}return this},wrapInner:function(e){if(bH.isFunction(e)){return this.each(function(b0){bH(this).wrapInner(e.call(this,b0))})}return this.each(function(){var b0=bH(this),b1=b0.contents();if(b1.length){b1.wrapAll(e)}else{b0.append(e)}})},wrap:function(e){var b0=bH.isFunction(e);return this.each(function(b1){bH(this).wrapAll(b0?e.call(this,b1):e)})},unwrap:function(){return this.parent().each(function(){if(!bH.nodeName(this,"body")){bH(this).replaceWith(this.childNodes)}}).end()},append:function(){return this.domManip(arguments,true,function(e){if(this.nodeType===1||this.nodeType===11){this.appendChild(e)}})},prepend:function(){return this.domManip(arguments,true,function(e){if(this.nodeType===1||this.nodeType===11){this.insertBefore(e,this.firstChild)}})},before:function(){if(!aS(this[0])){return this.domManip(arguments,false,function(b0){this.parentNode.insertBefore(b0,this)})}if(arguments.length){var e=bH.clean(arguments);return this.pushStack(bH.merge(e,this),"before",this.selector)}},after:function(){if(!aS(this[0])){return this.domManip(arguments,false,function(b0){this.parentNode.insertBefore(b0,this.nextSibling)})}if(arguments.length){var e=bH.clean(arguments);return this.pushStack(bH.merge(this,e),"after",this.selector)}},remove:function(e,b2){var b1,b0=0;for(;(b1=this[b0])!=null;b0++){if(!e||bH.filter(e,[b1]).length){if(!b2&&b1.nodeType===1){bH.cleanData(b1.getElementsByTagName("*"));bH.cleanData([b1])}if(b1.parentNode){b1.parentNode.removeChild(b1)}}}return this},empty:function(){var b0,e=0;for(;(b0=this[e])!=null;e++){if(b0.nodeType===1){bH.cleanData(b0.getElementsByTagName("*"))}while(b0.firstChild){b0.removeChild(b0.firstChild)}}return this},clone:function(b0,e){b0=b0==null?false:b0;e=e==null?b0:e;return this.map(function(){return bH.clone(this,b0,e)})},html:function(e){return bH.access(this,function(b3){var b2=this[0]||{},b1=0,b0=this.length;if(b3===aC){return b2.nodeType===1?b2.innerHTML.replace(aw,""):aC}if(typeof b3==="string"&&!ak.test(b3)&&(bH.support.htmlSerialize||!L.test(b3))&&(bH.support.leadingWhitespace||!bZ.test(b3))&&!U[(q.exec(b3)||["",""])[1].toLowerCase()]){b3=b3.replace(az,"<$1></$2>");try{for(;b1<b0;b1++){b2=this[b1]||{};if(b2.nodeType===1){bH.cleanData(b2.getElementsByTagName("*"));b2.innerHTML=b3}}b2=0}catch(b4){}}if(b2){this.empty().append(b3)}},null,e,arguments.length)},replaceWith:function(e){if(!aS(this[0])){if(bH.isFunction(e)){return this.each(function(b2){var b1=bH(this),b0=b1.html();b1.replaceWith(e.call(this,b2,b0))})}if(typeof e!=="string"){e=bH(e).detach()}return this.each(function(){var b1=this.nextSibling,b0=this.parentNode;bH(this).remove();if(b1){bH(b1).before(e)}else{bH(b0).append(e)}})}return this.length?this.pushStack(bH(bH.isFunction(e)?e():e),"replaceWith",e):this},detach:function(e){return this.remove(e,true)},domManip:function(b5,b9,b8){b5=[].concat.apply([],b5);var b1,b3,b4,b7,b2=0,b6=b5[0],b0=[],e=this.length;if(!bH.support.checkClone&&e>1&&typeof b6==="string"&&bS.test(b6)){return this.each(function(){bH(this).domManip(b5,b9,b8)})}if(bH.isFunction(b6)){return this.each(function(cb){var ca=bH(this);b5[0]=b6.call(this,cb,b9?ca.html():aC);ca.domManip(b5,b9,b8)})}if(this[0]){b1=bH.buildFragment(b5,this,b0);b4=b1.fragment;b3=b4.firstChild;if(b4.childNodes.length===1){b4=b3}if(b3){b9=b9&&bH.nodeName(b3,"tr");for(b7=b1.cacheable||e-1;b2<e;b2++){b8.call(b9&&bH.nodeName(this[b2],"table")?y(this[b2],"tbody"):this[b2],b2===b7?b4:bH.clone(b4,true,true))}}b4=b3=null;if(b0.length){bH.each(b0,function(ca,cb){if(cb.src){if(bH.ajax){bH.ajax({url:cb.src,type:"GET",dataType:"script",async:false,global:false,"throws":true})}else{bH.error("no ajax")}}else{bH.globalEval((cb.text||cb.textContent||cb.innerHTML||"").replace(aI,""))}if(cb.parentNode){cb.parentNode.removeChild(cb)}})}}return this}});function y(b0,e){return b0.getElementsByTagName(e)[0]||b0.appendChild(b0.ownerDocument.createElement(e))}function ap(b6,b0){if(b0.nodeType!==1||!bH.hasData(b6)){return}var b3,b2,e,b5=bH._data(b6),b4=bH._data(b0,b5),b1=b5.events;if(b1){delete b4.handle;b4.events={};for(b3 in b1){for(b2=0,e=b1[b3].length;b2<e;b2++){bH.event.add(b0,b3,b1[b3][b2])}}}if(b4.data){b4.data=bH.extend({},b4.data)}}function G(b0,e){var b1;if(e.nodeType!==1){return}if(e.clearAttributes){e.clearAttributes()}if(e.mergeAttributes){e.mergeAttributes(b0)}b1=e.nodeName.toLowerCase();if(b1==="object"){if(e.parentNode){e.outerHTML=b0.outerHTML}if(bH.support.html5Clone&&(b0.innerHTML&&!bH.trim(e.innerHTML))){e.innerHTML=b0.innerHTML}}else{if(b1==="input"&&aF.test(b0.type)){e.defaultChecked=e.checked=b0.checked;if(e.value!==b0.value){e.value=b0.value}}else{if(b1==="option"){e.selected=b0.defaultSelected}else{if(b1==="input"||b1==="textarea"){e.defaultValue=b0.defaultValue}else{if(b1==="script"&&e.text!==b0.text){e.text=b0.text}}}}}e.removeAttribute(bH.expando)}bH.buildFragment=function(b2,b3,b0){var b1,e,b4,b5=b2[0];b3=b3||p;b3=!b3.nodeType&&b3[0]||b3;b3=b3.ownerDocument||b3;if(b2.length===1&&typeof b5==="string"&&b5.length<512&&b3===p&&b5.charAt(0)==="<"&&!aq.test(b5)&&(bH.support.checkClone||!bS.test(b5))&&(bH.support.html5Clone||!L.test(b5))){e=true;b1=bH.fragments[b5];b4=b1!==aC}if(!b1){b1=b3.createDocumentFragment();bH.clean(b2,b3,b1,b0);if(e){bH.fragments[b5]=b4&&b1}}return{fragment:b1,cacheable:e}};bH.fragments={};bH.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,b0){bH.fn[e]=function(b1){var b3,b5=0,b4=[],b7=bH(b1),b2=b7.length,b6=this.length===1&&this[0].parentNode;if((b6==null||b6&&b6.nodeType===11&&b6.childNodes.length===1)&&b2===1){b7[b0](this[0]);return this}else{for(;b5<b2;b5++){b3=(b5>0?this.clone(true):this).get();bH(b7[b5])[b0](b3);b4=b4.concat(b3)}return this.pushStack(b4,e,b7.selector)}}});function n(e){if(typeof e.getElementsByTagName!=="undefined"){return e.getElementsByTagName("*")}else{if(typeof e.querySelectorAll!=="undefined"){return e.querySelectorAll("*")}else{return[]}}}function bT(e){if(aF.test(e.type)){e.defaultChecked=e.checked}}bH.extend({clone:function(b3,b5,b1){var e,b0,b2,b4;if(bH.support.html5Clone||bH.isXMLDoc(b3)||!L.test("<"+b3.nodeName+">")){b4=b3.cloneNode(true)}else{m.innerHTML=b3.outerHTML;m.removeChild(b4=m.firstChild)}if((!bH.support.noCloneEvent||!bH.support.noCloneChecked)&&(b3.nodeType===1||b3.nodeType===11)&&!bH.isXMLDoc(b3)){G(b3,b4);e=n(b3);b0=n(b4);for(b2=0;e[b2];++b2){if(b0[b2]){G(e[b2],b0[b2])}}}if(b5){ap(b3,b4);if(b1){e=n(b3);b0=n(b4);for(b2=0;e[b2];++b2){ap(e[b2],b0[b2])}}}e=b0=null;return b4},clean:function(cc,b1,e,b2){var b9,b8,cb,cg,b5,cf,b6,b3,b0,ca,ce,b7,b4=b1===p&&aR,cd=[];if(!b1||typeof b1.createDocumentFragment==="undefined"){b1=p}for(b9=0;(cb=cc[b9])!=null;b9++){if(typeof cb==="number"){cb+=""}if(!cb){continue}if(typeof cb==="string"){if(!K.test(cb)){cb=b1.createTextNode(cb)}else{b4=b4||B(b1);b6=b1.createElement("div");b4.appendChild(b6);cb=cb.replace(az,"<$1></$2>");cg=(q.exec(cb)||["",""])[1].toLowerCase();b5=U[cg]||U._default;cf=b5[0];b6.innerHTML=b5[1]+cb+b5[2];while(cf--){b6=b6.lastChild}if(!bH.support.tbody){b3=bU.test(cb);b0=cg==="table"&&!b3?b6.firstChild&&b6.firstChild.childNodes:b5[1]==="<table>"&&!b3?b6.childNodes:[];for(b8=b0.length-1;b8>=0;--b8){if(bH.nodeName(b0[b8],"tbody")&&!b0[b8].childNodes.length){b0[b8].parentNode.removeChild(b0[b8])}}}if(!bH.support.leadingWhitespace&&bZ.test(cb)){b6.insertBefore(b1.createTextNode(bZ.exec(cb)[0]),b6.firstChild)}cb=b6.childNodes;b6.parentNode.removeChild(b6)}}if(cb.nodeType){cd.push(cb)}else{bH.merge(cd,cb)}}if(b6){cb=b6=b4=null}if(!bH.support.appendChecked){for(b9=0;(cb=cd[b9])!=null;b9++){if(bH.nodeName(cb,"input")){bT(cb)}else{if(typeof cb.getElementsByTagName!=="undefined"){bH.grep(cb.getElementsByTagName("input"),bT)}}}}if(e){ce=function(ch){if(!ch.type||bx.test(ch.type)){return b2?b2.push(ch.parentNode?ch.parentNode.removeChild(ch):ch):e.appendChild(ch)}};for(b9=0;(cb=cd[b9])!=null;b9++){if(!(bH.nodeName(cb,"script")&&ce(cb))){e.appendChild(cb);if(typeof cb.getElementsByTagName!=="undefined"){b7=bH.grep(bH.merge([],cb.getElementsByTagName("script")),ce);cd.splice.apply(cd,[b9+1,0].concat(b7));b9+=b7.length}}}}return cd},cleanData:function(b0,b8){var b3,b1,b2,b7,b4=0,b9=bH.expando,e=bH.cache,b5=bH.support.deleteExpando,b6=bH.event.special;for(;(b2=b0[b4])!=null;b4++){if(b8||bH.acceptData(b2)){b1=b2[b9];b3=b1&&e[b1];if(b3){if(b3.events){for(b7 in b3.events){if(b6[b7]){bH.event.remove(b2,b7)}else{bH.removeEvent(b2,b7,b3.handle)}}}if(e[b1]){delete e[b1];if(b5){delete b2[b9]}else{if(b2.removeAttribute){b2.removeAttribute(b9)}else{b2[b9]=null}}bH.deletedIds.push(b1)}}}}}});(function(){var e,b0;bH.uaMatch=function(b2){b2=b2.toLowerCase();var b1=/(chrome)[ \/]([\w.]+)/.exec(b2)||/(webkit)[ \/]([\w.]+)/.exec(b2)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(b2)||/(msie) ([\w.]+)/.exec(b2)||b2.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(b2)||[];return{browser:b1[1]||"",version:b1[2]||"0"}};e=bH.uaMatch(d.userAgent);b0={};if(e.browser){b0[e.browser]=true;b0.version=e.version}if(b0.chrome){b0.webkit=true}else{if(b0.webkit){b0.safari=true}}bH.browser=b0;bH.sub=function(){function b1(b4,b5){return new b1.fn.init(b4,b5)}bH.extend(true,b1,this);b1.superclass=this;b1.fn=b1.prototype=this();b1.fn.constructor=b1;b1.sub=this.sub;b1.fn.init=function b3(b4,b5){if(b5&&b5 instanceof bH&&!(b5 instanceof b1)){b5=b1(b5)}return bH.fn.init.call(this,b4,b5,b2)};b1.fn.init.prototype=b1.fn;var b2=b1(p);return b1}})();var F,aA,aX,bf=/alpha\([^)]*\)/i,aT=/opacity=([^)]*)/,bl=/^(top|right|bottom|left)$/,H=/^(none|table(?!-c[ea]).+)/,a0=/^margin/,a9=new RegExp("^("+by+")(.*)$","i"),X=new RegExp("^("+by+")(?!px)[a-z%]+$","i"),T=new RegExp("^([-+])=("+by+")","i"),bi={},ba={position:"absolute",visibility:"hidden",display:"block"},bB={letterSpacing:0,fontWeight:400},bR=["Top","Right","Bottom","Left"],at=["Webkit","O","Moz","ms"],aK=bH.fn.toggle;function b(b2,b0){if(b0 in b2){return b0}var b3=b0.charAt(0).toUpperCase()+b0.slice(1),e=b0,b1=at.length;while(b1--){b0=at[b1]+b3;if(b0 in b2){return b0}}return e}function R(b0,e){b0=e||b0;return bH.css(b0,"display")==="none"||!bH.contains(b0.ownerDocument,b0)}function t(b4,e){var b3,b5,b0=[],b1=0,b2=b4.length;for(;b1<b2;b1++){b3=b4[b1];if(!b3.style){continue}b0[b1]=bH._data(b3,"olddisplay");if(e){if(!b0[b1]&&b3.style.display==="none"){b3.style.display=""}if(b3.style.display===""&&R(b3)){b0[b1]=bH._data(b3,"olddisplay",bD(b3.nodeName))}}else{b5=F(b3,"display");if(!b0[b1]&&b5!=="none"){bH._data(b3,"olddisplay",b5)}}}for(b1=0;b1<b2;b1++){b3=b4[b1];if(!b3.style){continue}if(!e||b3.style.display==="none"||b3.style.display===""){b3.style.display=e?b0[b1]||"":"none"}}return b4}bH.fn.extend({css:function(e,b0){return bH.access(this,function(b2,b1,b3){return b3!==aC?bH.style(b2,b1,b3):bH.css(b2,b1)},e,b0,arguments.length>1)},show:function(){return t(this,true)},hide:function(){return t(this)},toggle:function(b1,b0){var e=typeof b1==="boolean";if(bH.isFunction(b1)&&bH.isFunction(b0)){return aK.apply(this,arguments)}return this.each(function(){if(e?b1:R(this)){bH(this).show()}else{bH(this).hide()}})}});bH.extend({cssHooks:{opacity:{get:function(b1,b0){if(b0){var e=F(b1,"opacity");return e===""?"1":e}}}},cssNumber:{fillOpacity:true,fontWeight:true,lineHeight:true,opacity:true,orphans:true,widows:true,zIndex:true,zoom:true},cssProps:{"float":bH.support.cssFloat?"cssFloat":"styleFloat"},style:function(b2,b1,b8,b3){if(!b2||b2.nodeType===3||b2.nodeType===8||!b2.style){return}var b6,b7,b9,b4=bH.camelCase(b1),b0=b2.style;b1=bH.cssProps[b4]||(bH.cssProps[b4]=b(b0,b4));b9=bH.cssHooks[b1]||bH.cssHooks[b4];if(b8!==aC){b7=typeof b8;if(b7==="string"&&(b6=T.exec(b8))){b8=(b6[1]+1)*b6[2]+parseFloat(bH.css(b2,b1));b7="number"}if(b8==null||b7==="number"&&isNaN(b8)){return}if(b7==="number"&&!bH.cssNumber[b4]){b8+="px"}if(!b9||!("set" in b9)||(b8=b9.set(b2,b8,b3))!==aC){try{b0[b1]=b8}catch(b5){}}}else{if(b9&&"get" in b9&&(b6=b9.get(b2,false,b3))!==aC){return b6}return b0[b1]}},css:function(b5,b3,b4,b0){var b6,b2,e,b1=bH.camelCase(b3);b3=bH.cssProps[b1]||(bH.cssProps[b1]=b(b5.style,b1));e=bH.cssHooks[b3]||bH.cssHooks[b1];if(e&&"get" in e){b6=e.get(b5,true,b0)}if(b6===aC){b6=F(b5,b3)}if(b6==="normal"&&b3 in bB){b6=bB[b3]}if(b4||b0!==aC){b2=parseFloat(b6);return b4||bH.isNumeric(b2)?b2||0:b6}return b6},swap:function(b3,b2,b4){var b1,b0,e={};for(b0 in b2){e[b0]=b3.style[b0];b3.style[b0]=b2[b0]}b1=b4.call(b3);for(b0 in b2){b3.style[b0]=e[b0]}return b1}});if(a3.getComputedStyle){F=function(b6,b0){var e,b3,b2,b5,b4=a3.getComputedStyle(b6,null),b1=b6.style;if(b4){e=b4[b0];if(e===""&&!bH.contains(b6.ownerDocument,b6)){e=bH.style(b6,b0)}if(X.test(e)&&a0.test(b0)){b3=b1.width;b2=b1.minWidth;b5=b1.maxWidth;b1.minWidth=b1.maxWidth=b1.width=e;e=b4.width;b1.width=b3;b1.minWidth=b2;b1.maxWidth=b5}}return e}}else{if(p.documentElement.currentStyle){F=function(b3,b1){var b4,e,b0=b3.currentStyle&&b3.currentStyle[b1],b2=b3.style;if(b0==null&&b2&&b2[b1]){b0=b2[b1]}if(X.test(b0)&&!bl.test(b1)){b4=b2.left;e=b3.runtimeStyle&&b3.runtimeStyle.left;if(e){b3.runtimeStyle.left=b3.currentStyle.left}b2.left=b1==="fontSize"?"1em":b0;b0=b2.pixelLeft+"px";b2.left=b4;if(e){b3.runtimeStyle.left=e}}return b0===""?"auto":b0}}}function aH(e,b1,b2){var b0=a9.exec(b1);return b0?Math.max(0,b0[1]-(b2||0))+(b0[2]||"px"):b1}function au(b2,b0,e,b4){var b1=e===(b4?"border":"content")?4:b0==="width"?1:0,b3=0;for(;b1<4;b1+=2){if(e==="margin"){b3+=bH.css(b2,e+bR[b1],true)}if(b4){if(e==="content"){b3-=parseFloat(F(b2,"padding"+bR[b1]))||0}if(e!=="margin"){b3-=parseFloat(F(b2,"border"+bR[b1]+"Width"))||0}}else{b3+=parseFloat(F(b2,"padding"+bR[b1]))||0;if(e!=="padding"){b3+=parseFloat(F(b2,"border"+bR[b1]+"Width"))||0}}}return b3}function v(b2,b0,e){var b3=b0==="width"?b2.offsetWidth:b2.offsetHeight,b1=true,b4=bH.support.boxSizing&&bH.css(b2,"boxSizing")==="border-box";if(b3<=0||b3==null){b3=F(b2,b0);if(b3<0||b3==null){b3=b2.style[b0]}if(X.test(b3)){return b3}b1=b4&&(bH.support.boxSizingReliable||b3===b2.style[b0]);b3=parseFloat(b3)||0}return(b3+au(b2,b0,e||(b4?"border":"content"),b1))+"px"}function bD(b1){if(bi[b1]){return bi[b1]}var e=bH("<"+b1+">").appendTo(p.body),b0=e.css("display");e.remove();if(b0==="none"||b0===""){aA=p.body.appendChild(aA||bH.extend(p.createElement("iframe"),{frameBorder:0,width:0,height:0}));if(!aX||!aA.createElement){aX=(aA.contentWindow||aA.contentDocument).document;aX.write("<!doctype html><html><body>");aX.close()}e=aX.body.appendChild(aX.createElement(b1));b0=F(e,"display");p.body.removeChild(aA)}bi[b1]=b0;return b0}bH.each(["height","width"],function(b0,e){bH.cssHooks[e]={get:function(b3,b2,b1){if(b2){if(b3.offsetWidth===0&&H.test(F(b3,"display"))){return bH.swap(b3,ba,function(){return v(b3,e,b1)})}else{return v(b3,e,b1)}}},set:function(b2,b3,b1){return aH(b2,b3,b1?au(b2,e,b1,bH.support.boxSizing&&bH.css(b2,"boxSizing")==="border-box"):0)}}});if(!bH.support.opacity){bH.cssHooks.opacity={get:function(b0,e){return aT.test((e&&b0.currentStyle?b0.currentStyle.filter:b0.style.filter)||"")?(0.01*parseFloat(RegExp.$1))+"":e?"1":""},set:function(b3,b4){var b2=b3.style,b0=b3.currentStyle,e=bH.isNumeric(b4)?"alpha(opacity="+b4*100+")":"",b1=b0&&b0.filter||b2.filter||"";b2.zoom=1;if(b4>=1&&bH.trim(b1.replace(bf,""))===""&&b2.removeAttribute){b2.removeAttribute("filter");if(b0&&!b0.filter){return}}b2.filter=bf.test(b1)?b1.replace(bf,e):b1+" "+e}}}bH(function(){if(!bH.support.reliableMarginRight){bH.cssHooks.marginRight={get:function(b0,e){return bH.swap(b0,{display:"inline-block"},function(){if(e){return F(b0,"marginRight")}})}}}if(!bH.support.pixelPosition&&bH.fn.position){bH.each(["top","left"],function(e,b0){bH.cssHooks[b0]={get:function(b3,b2){if(b2){var b1=F(b3,b0);return X.test(b1)?bH(b3).position()[b0]+"px":b1}}}})}});if(bH.expr&&bH.expr.filters){bH.expr.filters.hidden=function(e){return(e.offsetWidth===0&&e.offsetHeight===0)||(!bH.support.reliableHiddenOffsets&&((e.style&&e.style.display)||F(e,"display"))==="none")};bH.expr.filters.visible=function(e){return !bH.expr.filters.hidden(e)}}bH.each({margin:"",padding:"",border:"Width"},function(e,b0){bH.cssHooks[e+b0]={expand:function(b3){var b2,b4=typeof b3==="string"?b3.split(" "):[b3],b1={};for(b2=0;b2<4;b2++){b1[e+bR[b2]+b0]=b4[b2]||b4[b2-2]||b4[0]}return b1}};if(!a0.test(e)){bH.cssHooks[e+b0].set=aH}});var bt=/%20/g,aQ=/\[\]$/,V=/\r?\n/g,bA=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,aE=/^(?:select|textarea)/i;bH.fn.extend({serialize:function(){return bH.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?bH.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||aE.test(this.nodeName)||bA.test(this.type))}).map(function(e,b0){var b1=bH(this).val();return b1==null?null:bH.isArray(b1)?bH.map(b1,function(b3,b2){return{name:b0.name,value:b3.replace(V,"\r\n")}}):{name:b0.name,value:b1.replace(V,"\r\n")}}).get()}});bH.param=function(e,b1){var b2,b0=[],b3=function(b4,b5){b5=bH.isFunction(b5)?b5():(b5==null?"":b5);b0[b0.length]=encodeURIComponent(b4)+"="+encodeURIComponent(b5)};if(b1===aC){b1=bH.ajaxSettings&&bH.ajaxSettings.traditional}if(bH.isArray(e)||(e.jquery&&!bH.isPlainObject(e))){bH.each(e,function(){b3(this.name,this.value)})}else{for(b2 in e){l(b2,e[b2],b1,b3)}}return b0.join("&").replace(bt,"+")};function l(b1,b3,b0,b2){var e;if(bH.isArray(b3)){bH.each(b3,function(b5,b4){if(b0||aQ.test(b1)){b2(b1,b4)}else{l(b1+"["+(typeof b4==="object"?b5:"")+"]",b4,b0,b2)}})}else{if(!b0&&bH.type(b3)==="object"){for(e in b3){l(b1+"["+e+"]",b3[e],b0,b2)}}else{b2(b1,b3)}}}var Z,bY,ao=/#.*$/,ae=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,C=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,s=/^(?:GET|HEAD)$/,aD=/^\/\//,bO=/\?/,g=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,Q=/([?&])_=[^&]*/,aU=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,bX=bH.fn.load,w={},a7={},aY=["*/"]+["*"];try{Z=aJ.href}catch(be){Z=p.createElement("a");Z.href="";Z=Z.href}bY=aU.exec(Z.toLowerCase())||[];function bJ(e){return function(b3,b5){if(typeof b3!=="string"){b5=b3;b3="*"}var b0,b6,b7,b2=b3.toLowerCase().split(aW),b1=0,b4=b2.length;if(bH.isFunction(b5)){for(;b1<b4;b1++){b0=b2[b1];b7=/^\+/.test(b0);if(b7){b0=b0.substr(1)||"*"}b6=e[b0]=e[b0]||[];b6[b7?"unshift":"push"](b5)}}}}function r(b0,b9,b4,b7,b6,b2){b6=b6||b9.dataTypes[0];b2=b2||{};b2[b6]=true;var b8,b5=b0[b6],b1=0,e=b5?b5.length:0,b3=(b0===w);for(;b1<e&&(b3||!b8);b1++){b8=b5[b1](b9,b4,b7);if(typeof b8==="string"){if(!b3||b2[b8]){b8=aC}else{b9.dataTypes.unshift(b8);b8=r(b0,b9,b4,b7,b8,b2)}}}if((b3||!b8)&&!b2["*"]){b8=r(b0,b9,b4,b7,"*",b2)}return b8}function u(b1,b2){var b0,e,b3=bH.ajaxSettings.flatOptions||{};for(b0 in b2){if(b2[b0]!==aC){(b3[b0]?b1:(e||(e={})))[b0]=b2[b0]}}if(e){bH.extend(true,b1,e)}}bH.fn.load=function(b2,b5,b6){if(typeof b2!=="string"&&bX){return bX.apply(this,arguments)}if(!this.length){return this}var e,b3,b1,b0=this,b4=b2.indexOf(" ");if(b4>=0){e=b2.slice(b4,b2.length);b2=b2.slice(0,b4)}if(bH.isFunction(b5)){b6=b5;b5=aC}else{if(b5&&typeof b5==="object"){b3="POST"}}bH.ajax({url:b2,type:b3,dataType:"html",data:b5,complete:function(b8,b7){if(b6){b0.each(b6,b1||[b8.responseText,b7,b8])}}}).done(function(b7){b1=arguments;b0.html(e?bH("<div>").append(b7.replace(g,"")).find(e):b7)});return this};bH.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(e,b0){bH.fn[b0]=function(b1){return this.on(b0,b1)}});bH.each(["get","post"],function(e,b0){bH[b0]=function(b1,b3,b4,b2){if(bH.isFunction(b3)){b2=b2||b4;b4=b3;b3=aC}return bH.ajax({type:b0,url:b1,data:b3,success:b4,dataType:b2})}});bH.extend({getScript:function(e,b0){return bH.get(e,aC,b0,"script")},getJSON:function(e,b0,b1){return bH.get(e,b0,b1,"json")},ajaxSetup:function(b0,e){if(e){u(b0,bH.ajaxSettings)}else{e=b0;b0=bH.ajaxSettings}u(b0,e);return b0},ajaxSettings:{url:Z,isLocal:C.test(bY[1]),global:true,type:"GET",contentType:"application/x-www-form-urlencoded; charset=UTF-8",processData:true,async:true,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":aY},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a3.String,"text html":true,"text json":bH.parseJSON,"text xml":bH.parseXML},flatOptions:{context:true,url:true}},ajaxPrefilter:bJ(w),ajaxTransport:bJ(a7),ajax:function(b5,b2){if(typeof b5==="object"){b2=b5;b5=aC}b2=b2||{};var b8,cm,b3,ch,ca,ce,b1,cg,b9=bH.ajaxSetup({},b2),co=b9.context||b9,cc=co!==b9&&(co.nodeType||co instanceof bH)?bH(co):bH.event,cn=bH.Deferred(),cj=bH.Callbacks("once memory"),b6=b9.statusCode||{},cd={},ck={},b4=0,b7="canceled",cf={readyState:0,setRequestHeader:function(cp,cq){if(!b4){var e=cp.toLowerCase();cp=ck[e]=ck[e]||cp;cd[cp]=cq}return this},getAllResponseHeaders:function(){return b4===2?cm:null},getResponseHeader:function(cp){var e;if(b4===2){if(!b3){b3={};while((e=ae.exec(cm))){b3[e[1].toLowerCase()]=e[2]}}e=b3[cp.toLowerCase()]}return e===aC?null:e},overrideMimeType:function(e){if(!b4){b9.mimeType=e}return this},abort:function(e){e=e||b7;if(ch){ch.abort(e)}cb(0,e);return this}};function cb(ct,cp,cu,cr){var e,cx,cv,cs,cw,cq=cp;if(b4===2){return}b4=2;if(ca){clearTimeout(ca)}ch=aC;cm=cr||"";cf.readyState=ct>0?4:0;if(cu){cs=h(b9,cf,cu)}if(ct>=200&&ct<300||ct===304){if(b9.ifModified){cw=cf.getResponseHeader("Last-Modified");if(cw){bH.lastModified[b8]=cw}cw=cf.getResponseHeader("Etag");if(cw){bH.etag[b8]=cw}}if(ct===304){cq="notmodified";e=true}else{e=af(b9,cs);cq=e.state;cx=e.data;cv=e.error;e=!cv}}else{cv=cq;if(!cq||ct){cq="error";if(ct<0){ct=0}}}cf.status=ct;cf.statusText=""+(cp||cq);if(e){cn.resolveWith(co,[cx,cq,cf])}else{cn.rejectWith(co,[cf,cq,cv])}cf.statusCode(b6);b6=aC;if(b1){cc.trigger("ajax"+(e?"Success":"Error"),[cf,b9,e?cx:cv])}cj.fireWith(co,[cf,cq]);if(b1){cc.trigger("ajaxComplete",[cf,b9]);if(!(--bH.active)){bH.event.trigger("ajaxStop")}}}cn.promise(cf);cf.success=cf.done;cf.error=cf.fail;cf.complete=cj.add;cf.statusCode=function(cp){if(cp){var e;if(b4<2){for(e in cp){b6[e]=[b6[e],cp[e]]}}else{e=cp[cf.status];cf.always(e)}}return this};b9.url=((b5||b9.url)+"").replace(ao,"").replace(aD,bY[1]+"//");b9.dataTypes=bH.trim(b9.dataType||"*").toLowerCase().split(aW);if(b9.crossDomain==null){ce=aU.exec(b9.url.toLowerCase());b9.crossDomain=!!(ce&&(ce[1]!=bY[1]||ce[2]!=bY[2]||(ce[3]||(ce[1]==="http:"?80:443))!=(bY[3]||(bY[1]==="http:"?80:443))))}if(b9.data&&b9.processData&&typeof b9.data!=="string"){b9.data=bH.param(b9.data,b9.traditional)}r(w,b9,b2,cf);if(b4===2){return cf}b1=b9.global;b9.type=b9.type.toUpperCase();b9.hasContent=!s.test(b9.type);if(b1&&bH.active++===0){bH.event.trigger("ajaxStart")}if(!b9.hasContent){if(b9.data){b9.url+=(bO.test(b9.url)?"&":"?")+b9.data;delete b9.data}b8=b9.url;if(b9.cache===false){var b0=bH.now(),cl=b9.url.replace(Q,"$1_="+b0);b9.url=cl+((cl===b9.url)?(bO.test(b9.url)?"&":"?")+"_="+b0:"")}}if(b9.data&&b9.hasContent&&b9.contentType!==false||b2.contentType){cf.setRequestHeader("Content-Type",b9.contentType)}if(b9.ifModified){b8=b8||b9.url;if(bH.lastModified[b8]){cf.setRequestHeader("If-Modified-Since",bH.lastModified[b8])}if(bH.etag[b8]){cf.setRequestHeader("If-None-Match",bH.etag[b8])}}cf.setRequestHeader("Accept",b9.dataTypes[0]&&b9.accepts[b9.dataTypes[0]]?b9.accepts[b9.dataTypes[0]]+(b9.dataTypes[0]!=="*"?", "+aY+"; q=0.01":""):b9.accepts["*"]);for(cg in b9.headers){cf.setRequestHeader(cg,b9.headers[cg])}if(b9.beforeSend&&(b9.beforeSend.call(co,cf,b9)===false||b4===2)){return cf.abort()}b7="abort";for(cg in {success:1,error:1,complete:1}){cf[cg](b9[cg])}ch=r(a7,b9,b2,cf);if(!ch){cb(-1,"No Transport")}else{cf.readyState=1;if(b1){cc.trigger("ajaxSend",[cf,b9])}if(b9.async&&b9.timeout>0){ca=setTimeout(function(){cf.abort("timeout")},b9.timeout)}try{b4=1;ch.send(cd,cb)}catch(ci){if(b4<2){cb(-1,ci)}else{throw ci}}}return cf},active:0,lastModified:{},etag:{}});function h(b8,b7,b4){var b3,b5,b2,e,b0=b8.contents,b6=b8.dataTypes,b1=b8.responseFields;for(b5 in b1){if(b5 in b4){b7[b1[b5]]=b4[b5]}}while(b6[0]==="*"){b6.shift();if(b3===aC){b3=b8.mimeType||b7.getResponseHeader("content-type")}}if(b3){for(b5 in b0){if(b0[b5]&&b0[b5].test(b3)){b6.unshift(b5);break}}}if(b6[0] in b4){b2=b6[0]}else{for(b5 in b4){if(!b6[0]||b8.converters[b5+" "+b6[0]]){b2=b5;break}if(!e){e=b5}}b2=b2||e}if(b2){if(b2!==b6[0]){b6.unshift(b2)}return b4[b2]}}function af(ca,b2){var b8,b0,b6,b4,b7=ca.dataTypes.slice(),b1=b7[0],b9={},b3=0;if(ca.dataFilter){b2=ca.dataFilter(b2,ca.dataType)}if(b7[1]){for(b8 in ca.converters){b9[b8.toLowerCase()]=ca.converters[b8]}}for(;(b6=b7[++b3]);){if(b6!=="*"){if(b1!=="*"&&b1!==b6){b8=b9[b1+" "+b6]||b9["* "+b6];if(!b8){for(b0 in b9){b4=b0.split(" ");if(b4[1]===b6){b8=b9[b1+" "+b4[0]]||b9["* "+b4[0]];if(b8){if(b8===true){b8=b9[b0]}else{if(b9[b0]!==true){b6=b4[0];b7.splice(b3--,0,b6)}}break}}}}if(b8!==true){if(b8&&ca["throws"]){b2=b8(b2)}else{try{b2=b8(b2)}catch(b5){return{state:"parsererror",error:b8?b5:"No conversion from "+b1+" to "+b6}}}}}b1=b6}}return{state:"success",data:b2}}var bq=[],ax=/\?/,a6=/(=)\?(?=&|$)|\?\?/,bm=bH.now();bH.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=bq.pop()||(bH.expando+"_"+(bm++));this[e]=true;return e}});bH.ajaxPrefilter("json jsonp",function(b9,b4,b8){var b7,e,b6,b2=b9.data,b0=b9.url,b1=b9.jsonp!==false,b5=b1&&a6.test(b0),b3=b1&&!b5&&typeof b2==="string"&&!(b9.contentType||"").indexOf("application/x-www-form-urlencoded")&&a6.test(b2);if(b9.dataTypes[0]==="jsonp"||b5||b3){b7=b9.jsonpCallback=bH.isFunction(b9.jsonpCallback)?b9.jsonpCallback():b9.jsonpCallback;e=a3[b7];if(b5){b9.url=b0.replace(a6,"$1"+b7)}else{if(b3){b9.data=b2.replace(a6,"$1"+b7)}else{if(b1){b9.url+=(ax.test(b0)?"&":"?")+b9.jsonp+"="+b7}}}b9.converters["script json"]=function(){if(!b6){bH.error(b7+" was not called")}return b6[0]};b9.dataTypes[0]="json";a3[b7]=function(){b6=arguments};b8.always(function(){a3[b7]=e;if(b9[b7]){b9.jsonpCallback=b4.jsonpCallback;bq.push(b7)}if(b6&&bH.isFunction(e)){e(b6[0])}b6=e=aC});return"script"}});bH.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(e){bH.globalEval(e);return e}}});bH.ajaxPrefilter("script",function(e){if(e.cache===aC){e.cache=false}if(e.crossDomain){e.type="GET";e.global=false}});bH.ajaxTransport("script",function(b1){if(b1.crossDomain){var e,b0=p.head||p.getElementsByTagName("head")[0]||p.documentElement;return{send:function(b2,b3){e=p.createElement("script");e.async="async";if(b1.scriptCharset){e.charset=b1.scriptCharset}e.src=b1.url;e.onload=e.onreadystatechange=function(b5,b4){if(b4||!e.readyState||/loaded|complete/.test(e.readyState)){e.onload=e.onreadystatechange=null;if(b0&&e.parentNode){b0.removeChild(e)}e=aC;if(!b4){b3(200,"success")}}};b0.insertBefore(e,b0.firstChild)},abort:function(){if(e){e.onload(0,1)}}}}});var ai,aO=a3.ActiveXObject?function(){for(var e in ai){ai[e](0,1)}}:false,av=0;function bC(){try{return new a3.XMLHttpRequest()}catch(b0){}}function bc(){try{return new a3.ActiveXObject("Microsoft.XMLHTTP")}catch(b0){}}bH.ajaxSettings.xhr=a3.ActiveXObject?function(){return !this.isLocal&&bC()||bc()}:bC;(function(e){bH.extend(bH.support,{ajax:!!e,cors:!!e&&("withCredentials" in e)})})(bH.ajaxSettings.xhr());if(bH.support.ajax){bH.ajaxTransport(function(e){if(!e.crossDomain||bH.support.cors){var b0;return{send:function(b6,b1){var b4,b3,b5=e.xhr();if(e.username){b5.open(e.type,e.url,e.async,e.username,e.password)}else{b5.open(e.type,e.url,e.async)}if(e.xhrFields){for(b3 in e.xhrFields){b5[b3]=e.xhrFields[b3]}}if(e.mimeType&&b5.overrideMimeType){b5.overrideMimeType(e.mimeType)}if(!e.crossDomain&&!b6["X-Requested-With"]){b6["X-Requested-With"]="XMLHttpRequest"}try{for(b3 in b6){b5.setRequestHeader(b3,b6[b3])}}catch(b2){}b5.send((e.hasContent&&e.data)||null);b0=function(cf,b9){var ca,b8,b7,cd,cc;try{if(b0&&(b9||b5.readyState===4)){b0=aC;if(b4){b5.onreadystatechange=bH.noop;if(aO){delete ai[b4]}}if(b9){if(b5.readyState!==4){b5.abort()}}else{ca=b5.status;b7=b5.getAllResponseHeaders();cd={};cc=b5.responseXML;if(cc&&cc.documentElement){cd.xml=cc}try{cd.text=b5.responseText}catch(cf){}try{b8=b5.statusText}catch(ce){b8=""}if(!ca&&e.isLocal&&!e.crossDomain){ca=cd.text?200:404}else{if(ca===1223){ca=204}}}}}catch(cb){if(!b9){b1(-1,cb)}}if(cd){b1(ca,b8,cd,b7)}};if(!e.async){b0()}else{if(b5.readyState===4){setTimeout(b0,0)}else{b4=++av;if(aO){if(!ai){ai={};bH(a3).unload(aO)}ai[b4]=b0}b5.onreadystatechange=b0}}},abort:function(){if(b0){b0(0,1)}}}}})}var M,ac,bP=/^(?:toggle|show|hide)$/,bI=new RegExp("^(?:([-+])=|)("+by+")([a-z%]*)$","i"),bN=/queueHooks$/,ay=[j],a2={"*":[function(b0,b6){var b3,b7,e,b8=this.createTween(b0,b6),b4=bI.exec(b6),b5=b8.cur(),b1=+b5||0,b2=1;if(b4){b3=+b4[2];b7=b4[3]||(bH.cssNumber[b0]?"":"px");if(b7!=="px"&&b1){b1=bH.css(b8.elem,b0,true)||b3||1;do{e=b2=b2||".5";b1=b1/b2;bH.style(b8.elem,b0,b1+b7);b2=b8.cur()/b5}while(b2!==1&&b2!==e)}b8.unit=b7;b8.start=b1;b8.end=b4[1]?b1+(b4[1]+1)*b3:b3}return b8}]};function bk(){setTimeout(function(){M=aC},0);return(M=bH.now())}function bd(b0,e){bH.each(e,function(b5,b3){var b4=(a2[b5]||[]).concat(a2["*"]),b1=0,b2=b4.length;for(;b1<b2;b1++){if(b4[b1].call(b0,b5,b3)){return}}})}function f(b1,b5,b8){var b9,b4=0,e=0,b0=ay.length,b7=bH.Deferred().always(function(){delete b3.elem}),b3=function(){var ce=M||bk(),cb=Math.max(0,b2.startTime+b2.duration-ce),cd=1-(cb/b2.duration||0),ca=0,cc=b2.tweens.length;for(;ca<cc;ca++){b2.tweens[ca].run(cd)}b7.notifyWith(b1,[b2,cd,cb]);if(cd<1&&cc){return cb}else{b7.resolveWith(b1,[b2]);return false}},b2=b7.promise({elem:b1,props:bH.extend({},b5),opts:bH.extend(true,{specialEasing:{}},b8),originalProperties:b5,originalOptions:b8,startTime:M||bk(),duration:b8.duration,tweens:[],createTween:function(cd,ca,cc){var cb=bH.Tween(b1,b2.opts,cd,ca,b2.opts.specialEasing[cd]||b2.opts.easing);b2.tweens.push(cb);return cb},stop:function(cb){var ca=0,cc=cb?b2.tweens.length:0;for(;ca<cc;ca++){b2.tweens[ca].run(1)}if(cb){b7.resolveWith(b1,[b2,cb])}else{b7.rejectWith(b1,[b2,cb])}return this}}),b6=b2.props;al(b6,b2.opts.specialEasing);for(;b4<b0;b4++){b9=ay[b4].call(b2,b1,b6,b2.opts);if(b9){return b9}}bd(b2,b6);if(bH.isFunction(b2.opts.start)){b2.opts.start.call(b1,b2)}bH.fx.timer(bH.extend(b3,{anim:b2,queue:b2.opts.queue,elem:b1}));return b2.progress(b2.opts.progress).done(b2.opts.done,b2.opts.complete).fail(b2.opts.fail).always(b2.opts.always)}function al(b2,b4){var b1,b0,b5,b3,e;for(b1 in b2){b0=bH.camelCase(b1);b5=b4[b0];b3=b2[b1];if(bH.isArray(b3)){b5=b3[1];b3=b2[b1]=b3[0]}if(b1!==b0){b2[b0]=b3;delete b2[b1]}e=bH.cssHooks[b0];if(e&&"expand" in e){b3=e.expand(b3);delete b2[b0];for(b1 in b3){if(!(b1 in b2)){b2[b1]=b3[b1];b4[b1]=b5}}}else{b4[b0]=b5}}}bH.Animation=bH.extend(f,{tweener:function(b0,b3){if(bH.isFunction(b0)){b3=b0;b0=["*"]}else{b0=b0.split(" ")}var b2,e=0,b1=b0.length;for(;e<b1;e++){b2=b0[e];a2[b2]=a2[b2]||[];a2[b2].unshift(b3)}},prefilter:function(b0,e){if(e){ay.unshift(b0)}else{ay.push(b0)}}});function j(b3,b8,e){var b7,b1,ca,b2,ce,cd,cc,cb,b4=this,b0=b3.style,b9={},b6=[],b5=b3.nodeType&&R(b3);if(!e.queue){cc=bH._queueHooks(b3,"fx");if(cc.unqueued==null){cc.unqueued=0;cb=cc.empty.fire;cc.empty.fire=function(){if(!cc.unqueued){cb()}}}cc.unqueued++;b4.always(function(){b4.always(function(){cc.unqueued--;if(!bH.queue(b3,"fx").length){cc.empty.fire()}})})}if(b3.nodeType===1&&("height" in b8||"width" in b8)){e.overflow=[b0.overflow,b0.overflowX,b0.overflowY];if(bH.css(b3,"display")==="inline"&&bH.css(b3,"float")==="none"){if(!bH.support.inlineBlockNeedsLayout||bD(b3.nodeName)==="inline"){b0.display="inline-block"}else{b0.zoom=1}}}if(e.overflow){b0.overflow="hidden";if(!bH.support.shrinkWrapBlocks){b4.done(function(){b0.overflow=e.overflow[0];b0.overflowX=e.overflow[1];b0.overflowY=e.overflow[2]})}}for(b7 in b8){ca=b8[b7];if(bP.exec(ca)){delete b8[b7];if(ca===(b5?"hide":"show")){continue}b6.push(b7)}}b2=b6.length;if(b2){ce=bH._data(b3,"fxshow")||bH._data(b3,"fxshow",{});if(b5){bH(b3).show()}else{b4.done(function(){bH(b3).hide()})}b4.done(function(){var cf;bH.removeData(b3,"fxshow",true);for(cf in b9){bH.style(b3,cf,b9[cf])}});for(b7=0;b7<b2;b7++){b1=b6[b7];cd=b4.createTween(b1,b5?ce[b1]:0);b9[b1]=ce[b1]||bH.style(b3,b1);if(!(b1 in ce)){ce[b1]=cd.start;if(b5){cd.end=cd.start;cd.start=b1==="width"||b1==="height"?1:0}}}}}function I(b1,b0,b3,e,b2){return new I.prototype.init(b1,b0,b3,e,b2)}bH.Tween=I;I.prototype={constructor:I,init:function(b2,b0,b4,e,b3,b1){this.elem=b2;this.prop=b4;this.easing=b3||"swing";this.options=b0;this.start=this.now=this.cur();this.end=e;this.unit=b1||(bH.cssNumber[b4]?"":"px")},cur:function(){var e=I.propHooks[this.prop];return e&&e.get?e.get(this):I.propHooks._default.get(this)},run:function(b1){var b0,e=I.propHooks[this.prop];if(this.options.duration){this.pos=b0=bH.easing[this.easing](b1,this.options.duration*b1,0,1,this.options.duration)}else{this.pos=b0=b1}this.now=(this.end-this.start)*b0+this.start;if(this.options.step){this.options.step.call(this.elem,this.now,this)}if(e&&e.set){e.set(this)}else{I.propHooks._default.set(this)}return this}};I.prototype.init.prototype=I.prototype;I.propHooks={_default:{get:function(b0){var e;if(b0.elem[b0.prop]!=null&&(!b0.elem.style||b0.elem.style[b0.prop]==null)){return b0.elem[b0.prop]}e=bH.css(b0.elem,b0.prop,false,"");return !e||e==="auto"?0:e},set:function(e){if(bH.fx.step[e.prop]){bH.fx.step[e.prop](e)}else{if(e.elem.style&&(e.elem.style[bH.cssProps[e.prop]]!=null||bH.cssHooks[e.prop])){bH.style(e.elem,e.prop,e.now+e.unit)}else{e.elem[e.prop]=e.now}}}}};I.propHooks.scrollTop=I.propHooks.scrollLeft={set:function(e){if(e.elem.nodeType&&e.elem.parentNode){e.elem[e.prop]=e.now}}};bH.each(["toggle","show","hide"],function(b0,e){var b1=bH.fn[e];bH.fn[e]=function(b2,b4,b3){return b2==null||typeof b2==="boolean"||(!b0&&bH.isFunction(b2)&&bH.isFunction(b4))?b1.apply(this,arguments):this.animate(bG(e,true),b2,b4,b3)}});bH.fn.extend({fadeTo:function(e,b2,b1,b0){return this.filter(R).css("opacity",0).show().end().animate({opacity:b2},e,b1,b0)},animate:function(b5,b2,b4,b3){var b1=bH.isEmptyObject(b5),e=bH.speed(b2,b4,b3),b0=function(){var b6=f(this,bH.extend({},b5),e);if(b1){b6.stop(true)}};return b1||e.queue===false?this.each(b0):this.queue(e.queue,b0)},stop:function(b1,b0,e){var b2=function(b3){var b4=b3.stop;delete b3.stop;b4(e)};if(typeof b1!=="string"){e=b0;b0=b1;b1=aC}if(b0&&b1!==false){this.queue(b1||"fx",[])}return this.each(function(){var b6=true,b3=b1!=null&&b1+"queueHooks",b5=bH.timers,b4=bH._data(this);if(b3){if(b4[b3]&&b4[b3].stop){b2(b4[b3])}}else{for(b3 in b4){if(b4[b3]&&b4[b3].stop&&bN.test(b3)){b2(b4[b3])}}}for(b3=b5.length;b3--;){if(b5[b3].elem===this&&(b1==null||b5[b3].queue===b1)){b5[b3].anim.stop(e);b6=false;b5.splice(b3,1)}}if(b6||!e){bH.dequeue(this,b1)}})}});function bG(b1,b3){var b2,e={height:b1},b0=0;b3=b3?1:0;for(;b0<4;b0+=2-b3){b2=bR[b0];e["margin"+b2]=e["padding"+b2]=b1}if(b3){e.opacity=e.width=b1}return e}bH.each({slideDown:bG("show"),slideUp:bG("hide"),slideToggle:bG("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,b0){bH.fn[e]=function(b1,b3,b2){return this.animate(b0,b1,b3,b2)}});bH.speed=function(b1,b2,b0){var e=b1&&typeof b1==="object"?bH.extend({},b1):{complete:b0||!b0&&b2||bH.isFunction(b1)&&b1,duration:b1,easing:b0&&b2||b2&&!bH.isFunction(b2)&&b2};e.duration=bH.fx.off?0:typeof e.duration==="number"?e.duration:e.duration in bH.fx.speeds?bH.fx.speeds[e.duration]:bH.fx.speeds._default;if(e.queue==null||e.queue===true){e.queue="fx"}e.old=e.complete;e.complete=function(){if(bH.isFunction(e.old)){e.old.call(this)}if(e.queue){bH.dequeue(this,e.queue)}};return e};bH.easing={linear:function(e){return e},swing:function(e){return 0.5-Math.cos(e*Math.PI)/2}};bH.timers=[];bH.fx=I.prototype.init;bH.fx.tick=function(){var b1,b0=bH.timers,e=0;for(;e<b0.length;e++){b1=b0[e];if(!b1()&&b0[e]===b1){b0.splice(e--,1)}}if(!b0.length){bH.fx.stop()}};bH.fx.timer=function(e){if(e()&&bH.timers.push(e)&&!ac){ac=setInterval(bH.fx.tick,bH.fx.interval)}};bH.fx.interval=13;bH.fx.stop=function(){clearInterval(ac);ac=null};bH.fx.speeds={slow:600,fast:200,_default:400};bH.fx.step={};if(bH.expr&&bH.expr.filters){bH.expr.filters.animated=function(e){return bH.grep(bH.timers,function(b0){return e===b0.elem}).length}}var bn=/^(?:body|html)$/i;bH.fn.offset=function(cb){if(arguments.length){return cb===aC?this:this.each(function(cc){bH.offset.setOffset(this,cb,cc)})}var b5,b0,b6,b7,b4,b8,e,b3,b9,b2,b1=this[0],ca=b1&&b1.ownerDocument;if(!ca){return}if((b6=ca.body)===b1){return bH.offset.bodyOffset(b1)}b0=ca.documentElement;if(!bH.contains(b0,b1)){return{top:0,left:0}}b5=b1.getBoundingClientRect();b7=bo(ca);b4=b0.clientTop||b6.clientTop||0;b8=b0.clientLeft||b6.clientLeft||0;e=b7.pageYOffset||b0.scrollTop;b3=b7.pageXOffset||b0.scrollLeft;b9=b5.top+e-b4;b2=b5.left+b3-b8;return{top:b9,left:b2}};bH.offset={bodyOffset:function(e){var b1=e.offsetTop,b0=e.offsetLeft;if(bH.support.doesNotIncludeMarginInBodyOffset){b1+=parseFloat(bH.css(e,"marginTop"))||0;b0+=parseFloat(bH.css(e,"marginLeft"))||0}return{top:b1,left:b0}},setOffset:function(b2,cb,b5){var b6=bH.css(b2,"position");if(b6==="static"){b2.style.position="relative"}var b4=bH(b2),b0=b4.offset(),e=bH.css(b2,"top"),b9=bH.css(b2,"left"),ca=(b6==="absolute"||b6==="fixed")&&bH.inArray("auto",[e,b9])>-1,b8={},b7={},b1,b3;if(ca){b7=b4.position();b1=b7.top;b3=b7.left}else{b1=parseFloat(e)||0;b3=parseFloat(b9)||0}if(bH.isFunction(cb)){cb=cb.call(b2,b5,b0)}if(cb.top!=null){b8.top=(cb.top-b0.top)+b1}if(cb.left!=null){b8.left=(cb.left-b0.left)+b3}if("using" in cb){cb.using.call(b2,b8)}else{b4.css(b8)}}};bH.fn.extend({position:function(){if(!this[0]){return}var b1=this[0],b0=this.offsetParent(),b2=this.offset(),e=bn.test(b0[0].nodeName)?{top:0,left:0}:b0.offset();b2.top-=parseFloat(bH.css(b1,"marginTop"))||0;b2.left-=parseFloat(bH.css(b1,"marginLeft"))||0;e.top+=parseFloat(bH.css(b0[0],"borderTopWidth"))||0;e.left+=parseFloat(bH.css(b0[0],"borderLeftWidth"))||0;return{top:b2.top-e.top,left:b2.left-e.left}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||p.body;while(e&&(!bn.test(e.nodeName)&&bH.css(e,"position")==="static")){e=e.offsetParent}return e||p.body})}});bH.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(b1,b0){var e=/Y/.test(b0);bH.fn[b1]=function(b2){return bH.access(this,function(b3,b6,b5){var b4=bo(b3);if(b5===aC){return b4?(b0 in b4)?b4[b0]:b4.document.documentElement[b6]:b3[b6]}if(b4){b4.scrollTo(!e?b5:bH(b4).scrollLeft(),e?b5:bH(b4).scrollTop())}else{b3[b6]=b5}},b1,b2,arguments.length,null)}});function bo(e){return bH.isWindow(e)?e:e.nodeType===9?e.defaultView||e.parentWindow:false}bH.each({Height:"height",Width:"width"},function(e,b0){bH.each({padding:"inner"+e,content:b0,"":"outer"+e},function(b1,b2){bH.fn[b2]=function(b6,b5){var b4=arguments.length&&(b1||typeof b6!=="boolean"),b3=b1||(b6===true||b5===true?"margin":"border");return bH.access(this,function(b8,b7,b9){var ca;if(bH.isWindow(b8)){return b8.document.documentElement["client"+e]}if(b8.nodeType===9){ca=b8.documentElement;return Math.max(b8.body["scroll"+e],ca["scroll"+e],b8.body["offset"+e],ca["offset"+e],ca["client"+e])}return b9===aC?bH.css(b8,b7,b9,b3):bH.style(b8,b7,b9,b3)},b0,b4?b6:aC,b4,null)}})});a3.jQuery=a3.$=bH;if(typeof define==="function"&&define.amd&&define.amd.jQuery){define("jquery",[],function(){return bH})}})(window);
/*!
 * jQuery UI Core 1.10.3
 * http://jqueryui.com
 *
 * Copyright 2013 jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 *
 * http://api.jqueryui.com/category/ui-core/
 */
(function(b,f){var a=0,e=/^ui-id-\d+$/;b.ui=b.ui||{};b.extend(b.ui,{version:"1.10.3",keyCode:{BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}});b.fn.extend({focus:(function(g){return function(h,j){return typeof h==="number"?this.each(function(){var k=this;setTimeout(function(){b(k).focus();if(j){j.call(k)}},h)}):g.apply(this,arguments)}})(b.fn.focus),scrollParent:function(){var g;if((b.ui.ie&&(/(static|relative)/).test(this.css("position")))||(/absolute/).test(this.css("position"))){g=this.parents().filter(function(){return(/(relative|absolute|fixed)/).test(b.css(this,"position"))&&(/(auto|scroll)/).test(b.css(this,"overflow")+b.css(this,"overflow-y")+b.css(this,"overflow-x"))}).eq(0)}else{g=this.parents().filter(function(){return(/(auto|scroll)/).test(b.css(this,"overflow")+b.css(this,"overflow-y")+b.css(this,"overflow-x"))}).eq(0)}return(/fixed/).test(this.css("position"))||!g.length?b(document):g},zIndex:function(k){if(k!==f){return this.css("zIndex",k)}if(this.length){var h=b(this[0]),g,j;while(h.length&&h[0]!==document){g=h.css("position");if(g==="absolute"||g==="relative"||g==="fixed"){j=parseInt(h.css("zIndex"),10);if(!isNaN(j)&&j!==0){return j}}h=h.parent()}}return 0},uniqueId:function(){return this.each(function(){if(!this.id){this.id="ui-id-"+(++a)}})},removeUniqueId:function(){return this.each(function(){if(e.test(this.id)){b(this).removeAttr("id")}})}});function d(j,g){var l,k,h,m=j.nodeName.toLowerCase();if("area"===m){l=j.parentNode;k=l.name;if(!j.href||!k||l.nodeName.toLowerCase()!=="map"){return false}h=b("img[usemap=#"+k+"]")[0];return !!h&&c(h)}return(/input|select|textarea|button|object/.test(m)?!j.disabled:"a"===m?j.href||g:g)&&c(j)}function c(g){return b.expr.filters.visible(g)&&!b(g).parents().addBack().filter(function(){return b.css(this,"visibility")==="hidden"}).length}b.extend(b.expr[":"],{data:b.expr.createPseudo?b.expr.createPseudo(function(g){return function(h){return !!b.data(h,g)}}):function(j,h,g){return !!b.data(j,g[3])},focusable:function(g){return d(g,!isNaN(b.attr(g,"tabindex")))},tabbable:function(j){var g=b.attr(j,"tabindex"),h=isNaN(g);return(h||g>=0)&&d(j,!h)}});if(!b("<a>").outerWidth(1).jquery){b.each(["Width","Height"],function(j,g){var h=g==="Width"?["Left","Right"]:["Top","Bottom"],k=g.toLowerCase(),m={innerWidth:b.fn.innerWidth,innerHeight:b.fn.innerHeight,outerWidth:b.fn.outerWidth,outerHeight:b.fn.outerHeight};function l(p,o,n,q){b.each(h,function(){o-=parseFloat(b.css(p,"padding"+this))||0;if(n){o-=parseFloat(b.css(p,"border"+this+"Width"))||0}if(q){o-=parseFloat(b.css(p,"margin"+this))||0}});return o}b.fn["inner"+g]=function(n){if(n===f){return m["inner"+g].call(this)}return this.each(function(){b(this).css(k,l(this,n)+"px")})};b.fn["outer"+g]=function(n,o){if(typeof n!=="number"){return m["outer"+g].call(this,n)}return this.each(function(){b(this).css(k,l(this,n,true,o)+"px")})}})}if(!b.fn.addBack){b.fn.addBack=function(g){return this.add(g==null?this.prevObject:this.prevObject.filter(g))}}if(b("<a>").data("a-b","a").removeData("a-b").data("a-b")){b.fn.removeData=(function(g){return function(h){if(arguments.length){return g.call(this,b.camelCase(h))}else{return g.call(this)}}})(b.fn.removeData)}b.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase());b.support.selectstart="onselectstart" in document.createElement("div");b.fn.extend({disableSelection:function(){return this.bind((b.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(g){g.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}});b.extend(b.ui,{plugin:{add:function(h,j,l){var g,k=b.ui[h].prototype;for(g in l){k.plugins[g]=k.plugins[g]||[];k.plugins[g].push([j,l[g]])}},call:function(g,j,h){var k,l=g.plugins[j];if(!l||!g.element[0].parentNode||g.element[0].parentNode.nodeType===11){return}for(k=0;k<l.length;k++){if(g.options[l[k][0]]){l[k][1].apply(g.element,h)}}}},hasScroll:function(k,h){if(b(k).css("overflow")==="hidden"){return false}var g=(h&&h==="left")?"scrollLeft":"scrollTop",j=false;if(k[g]>0){return true}k[g]=1;j=(k[g]>0);k[g]=0;return j}})})(jQuery);
/*!
 * jQuery UI Widget 1.10.3
 * http://jqueryui.com
 *
 * Copyright 2013 jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 *
 * http://api.jqueryui.com/jQuery.widget/
 */
(function(b,e){var a=0,d=Array.prototype.slice,c=b.cleanData;b.cleanData=function(f){for(var g=0,h;(h=f[g])!=null;g++){try{b(h).triggerHandler("remove")}catch(j){}}c(f)};b.widget=function(f,g,o){var l,m,j,n,h={},k=f.split(".")[0];f=f.split(".")[1];l=k+"-"+f;if(!o){o=g;g=b.Widget}b.expr[":"][l.toLowerCase()]=function(p){return !!b.data(p,l)};b[k]=b[k]||{};m=b[k][f];j=b[k][f]=function(p,q){if(!this._createWidget){return new j(p,q)}if(arguments.length){this._createWidget(p,q)}};b.extend(j,m,{version:o.version,_proto:b.extend({},o),_childConstructors:[]});n=new g();n.options=b.widget.extend({},n.options);b.each(o,function(q,p){if(!b.isFunction(p)){h[q]=p;return}h[q]=(function(){var r=function(){return g.prototype[q].apply(this,arguments)},s=function(t){return g.prototype[q].apply(this,t)};return function(){var v=this._super,t=this._superApply,u;this._super=r;this._superApply=s;u=p.apply(this,arguments);this._super=v;this._superApply=t;return u}})()});j.prototype=b.widget.extend(n,{widgetEventPrefix:m?n.widgetEventPrefix:f},h,{constructor:j,namespace:k,widgetName:f,widgetFullName:l});if(m){b.each(m._childConstructors,function(q,r){var p=r.prototype;b.widget(p.namespace+"."+p.widgetName,j,r._proto)});delete m._childConstructors}else{g._childConstructors.push(j)}b.widget.bridge(f,j)};b.widget.extend=function(l){var g=d.call(arguments,1),k=0,f=g.length,h,j;for(;k<f;k++){for(h in g[k]){j=g[k][h];if(g[k].hasOwnProperty(h)&&j!==e){if(b.isPlainObject(j)){l[h]=b.isPlainObject(l[h])?b.widget.extend({},l[h],j):b.widget.extend({},j)}else{l[h]=j}}}}return l};b.widget.bridge=function(g,f){var h=f.prototype.widgetFullName||g;b.fn[g]=function(l){var j=typeof l==="string",k=d.call(arguments,1),m=this;l=!j&&k.length?b.widget.extend.apply(null,[l].concat(k)):l;if(j){this.each(function(){var o,n=b.data(this,h);if(!n){return b.error("cannot call methods on "+g+" prior to initialization; attempted to call method '"+l+"'")}if(!b.isFunction(n[l])||l.charAt(0)==="_"){return b.error("no such method '"+l+"' for "+g+" widget instance")}o=n[l].apply(n,k);if(o!==n&&o!==e){m=o&&o.jquery?m.pushStack(o.get()):o;return false}})}else{this.each(function(){var n=b.data(this,h);if(n){n.option(l||{})._init()}else{b.data(this,h,new f(l,this))}})}return m}};b.Widget=function(){};b.Widget._childConstructors=[];b.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{disabled:false,create:null},_createWidget:function(f,g){g=b(g||this.defaultElement||this)[0];this.element=b(g);this.uuid=a++;this.eventNamespace="."+this.widgetName+this.uuid;this.options=b.widget.extend({},this.options,this._getCreateOptions(),f);this.bindings=b();this.hoverable=b();this.focusable=b();if(g!==this){b.data(g,this.widgetFullName,this);this._on(true,this.element,{remove:function(h){if(h.target===g){this.destroy()}}});this.document=b(g.style?g.ownerDocument:g.document||g);this.window=b(this.document[0].defaultView||this.document[0].parentWindow)}this._create();this._trigger("create",null,this._getCreateEventData());this._init()},_getCreateOptions:b.noop,_getCreateEventData:b.noop,_create:b.noop,_init:b.noop,destroy:function(){this._destroy();this.element.unbind(this.eventNamespace).removeData(this.widgetName).removeData(this.widgetFullName).removeData(b.camelCase(this.widgetFullName));this.widget().unbind(this.eventNamespace).removeAttr("aria-disabled").removeClass(this.widgetFullName+"-disabled ui-state-disabled");this.bindings.unbind(this.eventNamespace);this.hoverable.removeClass("ui-state-hover");this.focusable.removeClass("ui-state-focus")},_destroy:b.noop,widget:function(){return this.element},option:function(j,k){var f=j,l,h,g;if(arguments.length===0){return b.widget.extend({},this.options)}if(typeof j==="string"){f={};l=j.split(".");j=l.shift();if(l.length){h=f[j]=b.widget.extend({},this.options[j]);for(g=0;g<l.length-1;g++){h[l[g]]=h[l[g]]||{};h=h[l[g]]}j=l.pop();if(k===e){return h[j]===e?null:h[j]}h[j]=k}else{if(k===e){return this.options[j]===e?null:this.options[j]}f[j]=k}}this._setOptions(f);return this},_setOptions:function(f){var g;for(g in f){this._setOption(g,f[g])}return this},_setOption:function(f,g){this.options[f]=g;if(f==="disabled"){this.widget().toggleClass(this.widgetFullName+"-disabled ui-state-disabled",!!g).attr("aria-disabled",g);this.hoverable.removeClass("ui-state-hover");this.focusable.removeClass("ui-state-focus")}return this},enable:function(){return this._setOption("disabled",false)},disable:function(){return this._setOption("disabled",true)},_on:function(j,h,g){var k,f=this;if(typeof j!=="boolean"){g=h;h=j;j=false}if(!g){g=h;h=this.element;k=this.widget()}else{h=k=b(h);this.bindings=this.bindings.add(h)}b.each(g,function(q,p){function n(){if(!j&&(f.options.disabled===true||b(this).hasClass("ui-state-disabled"))){return}return(typeof p==="string"?f[p]:p).apply(f,arguments)}if(typeof p!=="string"){n.guid=p.guid=p.guid||n.guid||b.guid++}var o=q.match(/^(\w+)\s*(.*)$/),m=o[1]+f.eventNamespace,l=o[2];if(l){k.delegate(l,m,n)}else{h.bind(m,n)}})},_off:function(g,f){f=(f||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace;g.unbind(f).undelegate(f)},_delay:function(j,h){function g(){return(typeof j==="string"?f[j]:j).apply(f,arguments)}var f=this;return setTimeout(g,h||0)},_hoverable:function(f){this.hoverable=this.hoverable.add(f);this._on(f,{mouseenter:function(g){b(g.currentTarget).addClass("ui-state-hover")},mouseleave:function(g){b(g.currentTarget).removeClass("ui-state-hover")}})},_focusable:function(f){this.focusable=this.focusable.add(f);this._on(f,{focusin:function(g){b(g.currentTarget).addClass("ui-state-focus")},focusout:function(g){b(g.currentTarget).removeClass("ui-state-focus")}})},_trigger:function(f,g,h){var l,k,j=this.options[f];h=h||{};g=b.Event(g);g.type=(f===this.widgetEventPrefix?f:this.widgetEventPrefix+f).toLowerCase();g.target=this.element[0];k=g.originalEvent;if(k){for(l in k){if(!(l in g)){g[l]=k[l]}}}this.element.trigger(g,h);return !(b.isFunction(j)&&j.apply(this.element[0],[g].concat(h))===false||g.isDefaultPrevented())}};b.each({show:"fadeIn",hide:"fadeOut"},function(g,f){b.Widget.prototype["_"+g]=function(k,j,m){if(typeof j==="string"){j={effect:j}}var l,h=!j?g:j===true||typeof j==="number"?f:j.effect||f;j=j||{};if(typeof j==="number"){j={duration:j}}l=!b.isEmptyObject(j);j.complete=m;if(j.delay){k.delay(j.delay)}if(l&&b.effects&&b.effects.effect[h]){k[g](j)}else{if(h!==g&&k[h]){k[h](j.duration,j.easing,m)}else{k.queue(function(n){b(this)[g]();if(m){m.call(k[0])}n()})}}}})})(jQuery);
/*!
 * jQuery UI Mouse 1.10.3
 * http://jqueryui.com
 *
 * Copyright 2013 jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 *
 * http://api.jqueryui.com/mouse/
 *
 * Depends:
 *	jquery.ui.widget.js
 */
(function(b,c){var a=false;b(document).mouseup(function(){a=false});b.widget("ui.mouse",{version:"1.10.3",options:{cancel:"input,textarea,button,select,option",distance:1,delay:0},_mouseInit:function(){var d=this;this.element.bind("mousedown."+this.widgetName,function(e){return d._mouseDown(e)}).bind("click."+this.widgetName,function(e){if(true===b.data(e.target,d.widgetName+".preventClickEvent")){b.removeData(e.target,d.widgetName+".preventClickEvent");e.stopImmediatePropagation();return false}});this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName);if(this._mouseMoveDelegate){b(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate)}},_mouseDown:function(f){if(a){return}(this._mouseStarted&&this._mouseUp(f));this._mouseDownEvent=f;var e=this,g=(f.which===1),d=(typeof this.options.cancel==="string"&&f.target.nodeName?b(f.target).closest(this.options.cancel).length:false);if(!g||d||!this._mouseCapture(f)){return true}this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet){this._mouseDelayTimer=setTimeout(function(){e.mouseDelayMet=true},this.options.delay)}if(this._mouseDistanceMet(f)&&this._mouseDelayMet(f)){this._mouseStarted=(this._mouseStart(f)!==false);if(!this._mouseStarted){f.preventDefault();return true}}if(true===b.data(f.target,this.widgetName+".preventClickEvent")){b.removeData(f.target,this.widgetName+".preventClickEvent")}this._mouseMoveDelegate=function(h){return e._mouseMove(h)};this._mouseUpDelegate=function(h){return e._mouseUp(h)};b(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);f.preventDefault();a=true;return true},_mouseMove:function(d){if(b.ui.ie&&(!document.documentMode||document.documentMode<9)&&!d.button){return this._mouseUp(d)}if(this._mouseStarted){this._mouseDrag(d);return d.preventDefault()}if(this._mouseDistanceMet(d)&&this._mouseDelayMet(d)){this._mouseStarted=(this._mouseStart(this._mouseDownEvent,d)!==false);(this._mouseStarted?this._mouseDrag(d):this._mouseUp(d))}return !this._mouseStarted},_mouseUp:function(d){b(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;if(d.target===this._mouseDownEvent.target){b.data(d.target,this.widgetName+".preventClickEvent",true)}this._mouseStop(d)}return false},_mouseDistanceMet:function(d){return(Math.max(Math.abs(this._mouseDownEvent.pageX-d.pageX),Math.abs(this._mouseDownEvent.pageY-d.pageY))>=this.options.distance)},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return true}})})(jQuery);
/*!
 * jQuery UI Draggable 1.10.3
 * http://jqueryui.com
 *
 * Copyright 2013 jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 *
 * http://api.jqueryui.com/draggable/
 *
 * Depends:
 *	jquery.ui.core.js
 *	jquery.ui.mouse.js
 *	jquery.ui.widget.js
 */
(function(a,b){a.widget("ui.draggable",a.ui.mouse,{version:"1.10.3",widgetEventPrefix:"drag",options:{addClasses:true,appendTo:"parent",axis:false,connectToSortable:false,containment:false,cursor:"auto",cursorAt:false,grid:false,handle:false,helper:"original",iframeFix:false,opacity:false,refreshPositions:false,revert:false,revertDuration:500,scope:"default",scroll:true,scrollSensitivity:20,scrollSpeed:20,snap:false,snapMode:"both",snapTolerance:20,stack:false,zIndex:false,drag:null,start:null,stop:null},_create:function(){if(this.options.helper==="original"&&!(/^(?:r|a|f)/).test(this.element.css("position"))){this.element[0].style.position="relative"}if(this.options.addClasses){this.element.addClass("ui-draggable")}if(this.options.disabled){this.element.addClass("ui-draggable-disabled")}this._mouseInit()},_destroy:function(){this.element.removeClass("ui-draggable ui-draggable-dragging ui-draggable-disabled");this._mouseDestroy()},_mouseCapture:function(c){var d=this.options;if(this.helper||d.disabled||a(c.target).closest(".ui-resizable-handle").length>0){return false}this.handle=this._getHandle(c);if(!this.handle){return false}a(d.iframeFix===true?"iframe":d.iframeFix).each(function(){a("<div class='ui-draggable-iframeFix' style='background: #fff;'></div>").css({width:this.offsetWidth+"px",height:this.offsetHeight+"px",position:"absolute",opacity:"0.001",zIndex:1000}).css(a(this).offset()).appendTo("body")});return true},_mouseStart:function(c){var d=this.options;this.helper=this._createHelper(c);this.helper.addClass("ui-draggable-dragging");this._cacheHelperProportions();if(a.ui.ddmanager){a.ui.ddmanager.current=this}this._cacheMargins();this.cssPosition=this.helper.css("position");this.scrollParent=this.helper.scrollParent();this.offsetParent=this.helper.offsetParent();this.offsetParentCssPosition=this.offsetParent.css("position");this.offset=this.positionAbs=this.element.offset();this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left};this.offset.scroll=false;a.extend(this.offset,{click:{left:c.pageX-this.offset.left,top:c.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()});this.originalPosition=this.position=this._generatePosition(c);this.originalPageX=c.pageX;this.originalPageY=c.pageY;(d.cursorAt&&this._adjustOffsetFromHelper(d.cursorAt));this._setContainment();if(this._trigger("start",c)===false){this._clear();return false}this._cacheHelperProportions();if(a.ui.ddmanager&&!d.dropBehaviour){a.ui.ddmanager.prepareOffsets(this,c)}this._mouseDrag(c,true);if(a.ui.ddmanager){a.ui.ddmanager.dragStart(this,c)}return true},_mouseDrag:function(c,e){if(this.offsetParentCssPosition==="fixed"){this.offset.parent=this._getParentOffset()}this.position=this._generatePosition(c);this.positionAbs=this._convertPositionTo("absolute");if(!e){var d=this._uiHash();if(this._trigger("drag",c,d)===false){this._mouseUp({});return false}this.position=d.position}if(!this.options.axis||this.options.axis!=="y"){this.helper[0].style.left=this.position.left+"px"}if(!this.options.axis||this.options.axis!=="x"){this.helper[0].style.top=this.position.top+"px"}if(a.ui.ddmanager){a.ui.ddmanager.drag(this,c)}return false},_mouseStop:function(d){var c=this,e=false;if(a.ui.ddmanager&&!this.options.dropBehaviour){e=a.ui.ddmanager.drop(this,d)}if(this.dropped){e=this.dropped;this.dropped=false}if(this.options.helper==="original"&&!a.contains(this.element[0].ownerDocument,this.element[0])){return false}if((this.options.revert==="invalid"&&!e)||(this.options.revert==="valid"&&e)||this.options.revert===true||(a.isFunction(this.options.revert)&&this.options.revert.call(this.element,e))){a(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){if(c._trigger("stop",d)!==false){c._clear()}})}else{if(this._trigger("stop",d)!==false){this._clear()}}return false},_mouseUp:function(c){a("div.ui-draggable-iframeFix").each(function(){this.parentNode.removeChild(this)});if(a.ui.ddmanager){a.ui.ddmanager.dragStop(this,c)}return a.ui.mouse.prototype._mouseUp.call(this,c)},cancel:function(){if(this.helper.is(".ui-draggable-dragging")){this._mouseUp({})}else{this._clear()}return this},_getHandle:function(c){return this.options.handle?!!a(c.target).closest(this.element.find(this.options.handle)).length:true},_createHelper:function(d){var e=this.options,c=a.isFunction(e.helper)?a(e.helper.apply(this.element[0],[d])):(e.helper==="clone"?this.element.clone().removeAttr("id"):this.element);if(!c.parents("body").length){c.appendTo((e.appendTo==="parent"?this.element[0].parentNode:e.appendTo))}if(c[0]!==this.element[0]&&!(/(fixed|absolute)/).test(c.css("position"))){c.css("position","absolute")}return c},_adjustOffsetFromHelper:function(c){if(typeof c==="string"){c=c.split(" ")}if(a.isArray(c)){c={left:+c[0],top:+c[1]||0}}if("left" in c){this.offset.click.left=c.left+this.margins.left}if("right" in c){this.offset.click.left=this.helperProportions.width-c.right+this.margins.left}if("top" in c){this.offset.click.top=c.top+this.margins.top}if("bottom" in c){this.offset.click.top=this.helperProportions.height-c.bottom+this.margins.top}},_getParentOffset:function(){var c=this.offsetParent.offset();if(this.cssPosition==="absolute"&&this.scrollParent[0]!==document&&a.contains(this.scrollParent[0],this.offsetParent[0])){c.left+=this.scrollParent.scrollLeft();c.top+=this.scrollParent.scrollTop()}if((this.offsetParent[0]===document.body)||(this.offsetParent[0].tagName&&this.offsetParent[0].tagName.toLowerCase()==="html"&&a.ui.ie)){c={top:0,left:0}}return{top:c.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:c.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if(this.cssPosition==="relative"){var c=this.element.position();return{top:c.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:c.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}else{return{top:0,left:0}}},_cacheMargins:function(){this.margins={left:(parseInt(this.element.css("marginLeft"),10)||0),top:(parseInt(this.element.css("marginTop"),10)||0),right:(parseInt(this.element.css("marginRight"),10)||0),bottom:(parseInt(this.element.css("marginBottom"),10)||0)}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var e,g,d,f=this.options;if(!f.containment){this.containment=null;return}if(f.containment==="window"){this.containment=[a(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,a(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,a(window).scrollLeft()+a(window).width()-this.helperProportions.width-this.margins.left,a(window).scrollTop()+(a(window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top];return}if(f.containment==="document"){this.containment=[0,0,a(document).width()-this.helperProportions.width-this.margins.left,(a(document).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top];return}if(f.containment.constructor===Array){this.containment=f.containment;return}if(f.containment==="parent"){f.containment=this.helper[0].parentNode}g=a(f.containment);d=g[0];if(!d){return}e=g.css("overflow")!=="hidden";this.containment=[(parseInt(g.css("borderLeftWidth"),10)||0)+(parseInt(g.css("paddingLeft"),10)||0),(parseInt(g.css("borderTopWidth"),10)||0)+(parseInt(g.css("paddingTop"),10)||0),(e?Math.max(d.scrollWidth,d.offsetWidth):d.offsetWidth)-(parseInt(g.css("borderRightWidth"),10)||0)-(parseInt(g.css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(e?Math.max(d.scrollHeight,d.offsetHeight):d.offsetHeight)-(parseInt(g.css("borderBottomWidth"),10)||0)-(parseInt(g.css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom];this.relative_container=g},_convertPositionTo:function(f,g){if(!g){g=this.position}var e=f==="absolute"?1:-1,c=this.cssPosition==="absolute"&&!(this.scrollParent[0]!==document&&a.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent;if(!this.offset.scroll){this.offset.scroll={top:c.scrollTop(),left:c.scrollLeft()}}return{top:(g.top+this.offset.relative.top*e+this.offset.parent.top*e-((this.cssPosition==="fixed"?-this.scrollParent.scrollTop():this.offset.scroll.top)*e)),left:(g.left+this.offset.relative.left*e+this.offset.parent.left*e-((this.cssPosition==="fixed"?-this.scrollParent.scrollLeft():this.offset.scroll.left)*e))}},_generatePosition:function(d){var c,j,k,f,e=this.options,l=this.cssPosition==="absolute"&&!(this.scrollParent[0]!==document&&a.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,h=d.pageX,g=d.pageY;if(!this.offset.scroll){this.offset.scroll={top:l.scrollTop(),left:l.scrollLeft()}}if(this.originalPosition){if(this.containment){if(this.relative_container){j=this.relative_container.offset();c=[this.containment[0]+j.left,this.containment[1]+j.top,this.containment[2]+j.left,this.containment[3]+j.top]}else{c=this.containment}if(d.pageX-this.offset.click.left<c[0]){h=c[0]+this.offset.click.left}if(d.pageY-this.offset.click.top<c[1]){g=c[1]+this.offset.click.top}if(d.pageX-this.offset.click.left>c[2]){h=c[2]+this.offset.click.left}if(d.pageY-this.offset.click.top>c[3]){g=c[3]+this.offset.click.top}}if(e.grid){k=e.grid[1]?this.originalPageY+Math.round((g-this.originalPageY)/e.grid[1])*e.grid[1]:this.originalPageY;g=c?((k-this.offset.click.top>=c[1]||k-this.offset.click.top>c[3])?k:((k-this.offset.click.top>=c[1])?k-e.grid[1]:k+e.grid[1])):k;f=e.grid[0]?this.originalPageX+Math.round((h-this.originalPageX)/e.grid[0])*e.grid[0]:this.originalPageX;h=c?((f-this.offset.click.left>=c[0]||f-this.offset.click.left>c[2])?f:((f-this.offset.click.left>=c[0])?f-e.grid[0]:f+e.grid[0])):f}}return{top:(g-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+(this.cssPosition==="fixed"?-this.scrollParent.scrollTop():this.offset.scroll.top)),left:(h-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+(this.cssPosition==="fixed"?-this.scrollParent.scrollLeft():this.offset.scroll.left))}},_clear:function(){this.helper.removeClass("ui-draggable-dragging");if(this.helper[0]!==this.element[0]&&!this.cancelHelperRemoval){this.helper.remove()}this.helper=null;this.cancelHelperRemoval=false},_trigger:function(c,d,e){e=e||this._uiHash();a.ui.plugin.call(this,c,[d,e]);if(c==="drag"){this.positionAbs=this._convertPositionTo("absolute")}return a.Widget.prototype._trigger.call(this,c,d,e)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}});a.ui.plugin.add("draggable","connectToSortable",{start:function(d,f){var e=a(this).data("ui-draggable"),g=e.options,c=a.extend({},f,{item:e.element});e.sortables=[];a(g.connectToSortable).each(function(){var h=a.data(this,"ui-sortable");if(h&&!h.options.disabled){e.sortables.push({instance:h,shouldRevert:h.options.revert});h.refreshPositions();h._trigger("activate",d,c)}})},stop:function(d,f){var e=a(this).data("ui-draggable"),c=a.extend({},f,{item:e.element});a.each(e.sortables,function(){if(this.instance.isOver){this.instance.isOver=0;e.cancelHelperRemoval=true;this.instance.cancelHelperRemoval=false;if(this.shouldRevert){this.instance.options.revert=this.shouldRevert}this.instance._mouseStop(d);this.instance.options.helper=this.instance.options._helper;if(e.options.helper==="original"){this.instance.currentItem.css({top:"auto",left:"auto"})}}else{this.instance.cancelHelperRemoval=false;this.instance._trigger("deactivate",d,c)}})},drag:function(d,f){var e=a(this).data("ui-draggable"),c=this;a.each(e.sortables,function(){var g=false,h=this;this.instance.positionAbs=e.positionAbs;this.instance.helperProportions=e.helperProportions;this.instance.offset.click=e.offset.click;if(this.instance._intersectsWith(this.instance.containerCache)){g=true;a.each(e.sortables,function(){this.instance.positionAbs=e.positionAbs;this.instance.helperProportions=e.helperProportions;this.instance.offset.click=e.offset.click;if(this!==h&&this.instance._intersectsWith(this.instance.containerCache)&&a.contains(h.instance.element[0],this.instance.element[0])){g=false}return g})}if(g){if(!this.instance.isOver){this.instance.isOver=1;this.instance.currentItem=a(c).clone().removeAttr("id").appendTo(this.instance.element).data("ui-sortable-item",true);this.instance.options._helper=this.instance.options.helper;this.instance.options.helper=function(){return f.helper[0]};d.target=this.instance.currentItem[0];this.instance._mouseCapture(d,true);this.instance._mouseStart(d,true,true);this.instance.offset.click.top=e.offset.click.top;this.instance.offset.click.left=e.offset.click.left;this.instance.offset.parent.left-=e.offset.parent.left-this.instance.offset.parent.left;this.instance.offset.parent.top-=e.offset.parent.top-this.instance.offset.parent.top;e._trigger("toSortable",d);e.dropped=this.instance.element;e.currentItem=e.element;this.instance.fromOutside=e}if(this.instance.currentItem){this.instance._mouseDrag(d)}}else{if(this.instance.isOver){this.instance.isOver=0;this.instance.cancelHelperRemoval=true;this.instance.options.revert=false;this.instance._trigger("out",d,this.instance._uiHash(this.instance));this.instance._mouseStop(d,true);this.instance.options.helper=this.instance.options._helper;this.instance.currentItem.remove();if(this.instance.placeholder){this.instance.placeholder.remove()}e._trigger("fromSortable",d);e.dropped=false}}})}});a.ui.plugin.add("draggable","cursor",{start:function(){var c=a("body"),d=a(this).data("ui-draggable").options;if(c.css("cursor")){d._cursor=c.css("cursor")}c.css("cursor",d.cursor)},stop:function(){var c=a(this).data("ui-draggable").options;if(c._cursor){a("body").css("cursor",c._cursor)}}});a.ui.plugin.add("draggable","opacity",{start:function(d,e){var c=a(e.helper),f=a(this).data("ui-draggable").options;if(c.css("opacity")){f._opacity=c.css("opacity")}c.css("opacity",f.opacity)},stop:function(c,d){var e=a(this).data("ui-draggable").options;if(e._opacity){a(d.helper).css("opacity",e._opacity)}}});a.ui.plugin.add("draggable","scroll",{start:function(){var c=a(this).data("ui-draggable");if(c.scrollParent[0]!==document&&c.scrollParent[0].tagName!=="HTML"){c.overflowOffset=c.scrollParent.offset()}},drag:function(e){var d=a(this).data("ui-draggable"),f=d.options,c=false;if(d.scrollParent[0]!==document&&d.scrollParent[0].tagName!=="HTML"){if(!f.axis||f.axis!=="x"){if((d.overflowOffset.top+d.scrollParent[0].offsetHeight)-e.pageY<f.scrollSensitivity){d.scrollParent[0].scrollTop=c=d.scrollParent[0].scrollTop+f.scrollSpeed}else{if(e.pageY-d.overflowOffset.top<f.scrollSensitivity){d.scrollParent[0].scrollTop=c=d.scrollParent[0].scrollTop-f.scrollSpeed}}}if(!f.axis||f.axis!=="y"){if((d.overflowOffset.left+d.scrollParent[0].offsetWidth)-e.pageX<f.scrollSensitivity){d.scrollParent[0].scrollLeft=c=d.scrollParent[0].scrollLeft+f.scrollSpeed}else{if(e.pageX-d.overflowOffset.left<f.scrollSensitivity){d.scrollParent[0].scrollLeft=c=d.scrollParent[0].scrollLeft-f.scrollSpeed}}}}else{if(!f.axis||f.axis!=="x"){if(e.pageY-a(document).scrollTop()<f.scrollSensitivity){c=a(document).scrollTop(a(document).scrollTop()-f.scrollSpeed)}else{if(a(window).height()-(e.pageY-a(document).scrollTop())<f.scrollSensitivity){c=a(document).scrollTop(a(document).scrollTop()+f.scrollSpeed)}}}if(!f.axis||f.axis!=="y"){if(e.pageX-a(document).scrollLeft()<f.scrollSensitivity){c=a(document).scrollLeft(a(document).scrollLeft()-f.scrollSpeed)}else{if(a(window).width()-(e.pageX-a(document).scrollLeft())<f.scrollSensitivity){c=a(document).scrollLeft(a(document).scrollLeft()+f.scrollSpeed)}}}}if(c!==false&&a.ui.ddmanager&&!f.dropBehaviour){a.ui.ddmanager.prepareOffsets(d,e)}}});a.ui.plugin.add("draggable","snap",{start:function(){var c=a(this).data("ui-draggable"),d=c.options;c.snapElements=[];a(d.snap.constructor!==String?(d.snap.items||":data(ui-draggable)"):d.snap).each(function(){var f=a(this),e=f.offset();if(this!==c.element[0]){c.snapElements.push({item:this,width:f.outerWidth(),height:f.outerHeight(),top:e.top,left:e.left})}})},drag:function(u,p){var c,z,j,k,s,n,m,A,v,h,g=a(this).data("ui-draggable"),q=g.options,y=q.snapTolerance,x=p.offset.left,w=x+g.helperProportions.width,f=p.offset.top,e=f+g.helperProportions.height;for(v=g.snapElements.length-1;v>=0;v--){s=g.snapElements[v].left;n=s+g.snapElements[v].width;m=g.snapElements[v].top;A=m+g.snapElements[v].height;if(w<s-y||x>n+y||e<m-y||f>A+y||!a.contains(g.snapElements[v].item.ownerDocument,g.snapElements[v].item)){if(g.snapElements[v].snapping){(g.options.snap.release&&g.options.snap.release.call(g.element,u,a.extend(g._uiHash(),{snapItem:g.snapElements[v].item})))}g.snapElements[v].snapping=false;continue}if(q.snapMode!=="inner"){c=Math.abs(m-e)<=y;z=Math.abs(A-f)<=y;j=Math.abs(s-w)<=y;k=Math.abs(n-x)<=y;if(c){p.position.top=g._convertPositionTo("relative",{top:m-g.helperProportions.height,left:0}).top-g.margins.top}if(z){p.position.top=g._convertPositionTo("relative",{top:A,left:0}).top-g.margins.top}if(j){p.position.left=g._convertPositionTo("relative",{top:0,left:s-g.helperProportions.width}).left-g.margins.left}if(k){p.position.left=g._convertPositionTo("relative",{top:0,left:n}).left-g.margins.left}}h=(c||z||j||k);if(q.snapMode!=="outer"){c=Math.abs(m-f)<=y;z=Math.abs(A-e)<=y;j=Math.abs(s-x)<=y;k=Math.abs(n-w)<=y;if(c){p.position.top=g._convertPositionTo("relative",{top:m,left:0}).top-g.margins.top}if(z){p.position.top=g._convertPositionTo("relative",{top:A-g.helperProportions.height,left:0}).top-g.margins.top}if(j){p.position.left=g._convertPositionTo("relative",{top:0,left:s}).left-g.margins.left}if(k){p.position.left=g._convertPositionTo("relative",{top:0,left:n-g.helperProportions.width}).left-g.margins.left}}if(!g.snapElements[v].snapping&&(c||z||j||k||h)){(g.options.snap.snap&&g.options.snap.snap.call(g.element,u,a.extend(g._uiHash(),{snapItem:g.snapElements[v].item})))}g.snapElements[v].snapping=(c||z||j||k||h)}}});a.ui.plugin.add("draggable","stack",{start:function(){var c,e=this.data("ui-draggable").options,d=a.makeArray(a(e.stack)).sort(function(g,f){return(parseInt(a(g).css("zIndex"),10)||0)-(parseInt(a(f).css("zIndex"),10)||0)});if(!d.length){return}c=parseInt(a(d[0]).css("zIndex"),10)||0;a(d).each(function(f){a(this).css("zIndex",c+f)});this.css("zIndex",(c+d.length))}});a.ui.plugin.add("draggable","zIndex",{start:function(d,e){var c=a(e.helper),f=a(this).data("ui-draggable").options;if(c.css("zIndex")){f._zIndex=c.css("zIndex")}c.css("zIndex",f.zIndex)},stop:function(c,d){var e=a(this).data("ui-draggable").options;if(e._zIndex){a(d.helper).css("zIndex",e._zIndex)}}})})(jQuery);
/*!
* jQuery Cookie Plugin v1.3
* https://github.com/carhartl/jquery-cookie
*
* Copyright 2011, Klaus Hartl
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://www.opensource.org/licenses/mit-license.php
* http://www.opensource.org/licenses/GPL-2.0
*/
(function(f,b,g){var a=/\+/g;function e(h){return h}function c(h){return decodeURIComponent(h.replace(a," "))}var d=f.cookie=function(p,o,u){if(o!==g){u=f.extend({},d.defaults,u);if(o===null){u.expires=-1}if(typeof u.expires==="number"){var q=u.expires,s=u.expires=new Date();s.setDate(s.getDate()+q)}o=d.json?JSON.stringify(o):String(o);return(b.cookie=[encodeURIComponent(p),"=",d.raw?o:encodeURIComponent(o),u.expires?"; expires="+u.expires.toUTCString():"",u.path?"; path="+u.path:"",u.domain?"; domain="+u.domain:"",u.secure?"; secure":""].join(""))}var h=d.raw?e:c;var r=b.cookie.split("; ");for(var n=0,k=r.length;n<k;n++){var m=r[n].split("=");if(h(m.shift())===p){var j=h(m.join("="));return d.json?JSON.parse(j):j}}return null};d.defaults={};f.removeCookie=function(j,h){if(f.cookie(j)!==null){f.cookie(j,null,h);return true}return false}})(jQuery,document);jQuery.easing.jswing=jQuery.easing.swing;jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(e,f,a,h,g){return jQuery.easing[jQuery.easing.def](e,f,a,h,g)},easeInQuad:function(e,f,a,h,g){return h*(f/=g)*f+a},easeOutQuad:function(e,f,a,h,g){return -h*(f/=g)*(f-2)+a},easeInOutQuad:function(e,f,a,h,g){if((f/=g/2)<1){return h/2*f*f+a}return -h/2*((--f)*(f-2)-1)+a},easeInCubic:function(e,f,a,h,g){return h*(f/=g)*f*f+a},easeOutCubic:function(e,f,a,h,g){return h*((f=f/g-1)*f*f+1)+a},easeInOutCubic:function(e,f,a,h,g){if((f/=g/2)<1){return h/2*f*f*f+a}return h/2*((f-=2)*f*f+2)+a},easeInQuart:function(e,f,a,h,g){return h*(f/=g)*f*f*f+a},easeOutQuart:function(e,f,a,h,g){return -h*((f=f/g-1)*f*f*f-1)+a},easeInOutQuart:function(e,f,a,h,g){if((f/=g/2)<1){return h/2*f*f*f*f+a}return -h/2*((f-=2)*f*f*f-2)+a},easeInQuint:function(e,f,a,h,g){return h*(f/=g)*f*f*f*f+a},easeOutQuint:function(e,f,a,h,g){return h*((f=f/g-1)*f*f*f*f+1)+a},easeInOutQuint:function(e,f,a,h,g){if((f/=g/2)<1){return h/2*f*f*f*f*f+a}return h/2*((f-=2)*f*f*f*f+2)+a},easeInSine:function(e,f,a,h,g){return -h*Math.cos(f/g*(Math.PI/2))+h+a},easeOutSine:function(e,f,a,h,g){return h*Math.sin(f/g*(Math.PI/2))+a},easeInOutSine:function(e,f,a,h,g){return -h/2*(Math.cos(Math.PI*f/g)-1)+a},easeInExpo:function(e,f,a,h,g){return(f==0)?a:h*Math.pow(2,10*(f/g-1))+a},easeOutExpo:function(e,f,a,h,g){return(f==g)?a+h:h*(-Math.pow(2,-10*f/g)+1)+a},easeInOutExpo:function(e,f,a,h,g){if(f==0){return a}if(f==g){return a+h}if((f/=g/2)<1){return h/2*Math.pow(2,10*(f-1))+a}return h/2*(-Math.pow(2,-10*--f)+2)+a},easeInCirc:function(e,f,a,h,g){return -h*(Math.sqrt(1-(f/=g)*f)-1)+a},easeOutCirc:function(e,f,a,h,g){return h*Math.sqrt(1-(f=f/g-1)*f)+a},easeInOutCirc:function(e,f,a,h,g){if((f/=g/2)<1){return -h/2*(Math.sqrt(1-f*f)-1)+a}return h/2*(Math.sqrt(1-(f-=2)*f)+1)+a},easeInElastic:function(f,h,e,m,l){var j=1.70158;var k=0;var g=m;if(h==0){return e}if((h/=l)==1){return e+m}if(!k){k=l*0.3}if(g<Math.abs(m)){g=m;var j=k/4}else{var j=k/(2*Math.PI)*Math.asin(m/g)}return -(g*Math.pow(2,10*(h-=1))*Math.sin((h*l-j)*(2*Math.PI)/k))+e},easeOutElastic:function(f,h,e,m,l){var j=1.70158;var k=0;var g=m;if(h==0){return e}if((h/=l)==1){return e+m}if(!k){k=l*0.3}if(g<Math.abs(m)){g=m;var j=k/4}else{var j=k/(2*Math.PI)*Math.asin(m/g)}return g*Math.pow(2,-10*h)*Math.sin((h*l-j)*(2*Math.PI)/k)+m+e},easeInOutElastic:function(f,h,e,m,l){var j=1.70158;var k=0;var g=m;if(h==0){return e}if((h/=l/2)==2){return e+m}if(!k){k=l*(0.3*1.5)}if(g<Math.abs(m)){g=m;var j=k/4}else{var j=k/(2*Math.PI)*Math.asin(m/g)}if(h<1){return -0.5*(g*Math.pow(2,10*(h-=1))*Math.sin((h*l-j)*(2*Math.PI)/k))+e}return g*Math.pow(2,-10*(h-=1))*Math.sin((h*l-j)*(2*Math.PI)/k)*0.5+m+e},easeInBack:function(e,f,a,j,h,g){if(g==undefined){g=1.70158}return j*(f/=h)*f*((g+1)*f-g)+a},easeOutBack:function(e,f,a,j,h,g){if(g==undefined){g=1.70158}return j*((f=f/h-1)*f*((g+1)*f+g)+1)+a},easeInOutBack:function(e,f,a,j,h,g){if(g==undefined){g=1.70158}if((f/=h/2)<1){return j/2*(f*f*(((g*=(1.525))+1)*f-g))+a}return j/2*((f-=2)*f*(((g*=(1.525))+1)*f+g)+2)+a},easeInBounce:function(e,f,a,h,g){return h-jQuery.easing.easeOutBounce(e,g-f,0,h,g)+a},easeOutBounce:function(e,f,a,h,g){if((f/=g)<(1/2.75)){return h*(7.5625*f*f)+a}else{if(f<(2/2.75)){return h*(7.5625*(f-=(1.5/2.75))*f+0.75)+a}else{if(f<(2.5/2.75)){return h*(7.5625*(f-=(2.25/2.75))*f+0.9375)+a}else{return h*(7.5625*(f-=(2.625/2.75))*f+0.984375)+a}}}},easeInOutBounce:function(e,f,a,h,g){if(f<g/2){return jQuery.easing.easeInBounce(e,f*2,0,h,g)*0.5+a}return jQuery.easing.easeOutBounce(e,f*2-g,0,h,g)*0.5+h*0.5+a}});(function(C){var M,U,R,N,d,n,K,B,P,A,D=0,I={},k=[],e=0,H={},z=[],f=null,p=new Image(),j=/\.(jpg|gif|png|bmp|jpeg)(.*)?$/i,l=/[^\.]\.(swf)\s*$/i,q,O=1,h=0,u="",b,c,Q=false,t=C.extend(C("<div/>")[0],{prop:0}),T=C.browser.msie&&C.browser.version<7&&!window.XMLHttpRequest,s=function(){U.hide();p.onerror=p.onload=null;if(f){f.abort()}M.empty()},y=function(){if(false===I.onError(k,D,I)){U.hide();Q=false;return}I.titleShow=false;I.width="auto";I.height="auto";M.html('<p id="fancybox-error">The requested content cannot be loaded.<br />Please try again later.</p>');o()},x=function(){var aa=k[D],X,Z,ac,ab,W,Y;s();I=C.extend({},C.fn.fancybox.defaults,(typeof C(aa).data("fancybox")=="undefined"?I:C(aa).data("fancybox")));Y=I.onStart(k,D,I);if(Y===false){Q=false;return}else{if(typeof Y=="object"){I=C.extend(I,Y)}}ac=I.title||(aa.nodeName?C(aa).attr("title"):aa.title)||"";if(aa.nodeName&&!I.orig){I.orig=C(aa).children("img:first").length?C(aa).children("img:first"):C(aa)}if(ac===""&&I.orig&&I.titleFromAlt){ac=I.orig.attr("alt")}X=I.href||(aa.nodeName?C(aa).attr("href"):aa.href)||null;if((/^(?:javascript)/i).test(X)||X=="#"){X=null}if(I.type){Z=I.type;if(!X){X=I.content}}else{if(I.content){Z="html"}else{if(X){if(X.match(j)){Z="image"}else{if(X.match(l)){Z="swf"}else{if(C(aa).hasClass("iframe")){Z="iframe"}else{if(X.indexOf("#")===0){Z="inline"}else{Z="ajax"}}}}}}}if(!Z){y();return}if(Z=="inline"){aa=X.substr(X.indexOf("#"));Z=C(aa).length>0?"inline":"ajax"}I.type=Z;I.href=X;I.title=ac;if(I.autoDimensions){if(I.type=="html"||I.type=="inline"||I.type=="ajax"){I.width="auto";I.height="auto"}else{I.autoDimensions=false}}if(I.modal){I.overlayShow=true;I.hideOnOverlayClick=false;I.hideOnContentClick=false;I.enableEscapeButton=false;I.showCloseButton=false}I.padding=parseInt(I.padding,10);I.margin=parseInt(I.margin,10);M.css("padding",(I.padding+I.margin));C(".fancybox-inline-tmp").unbind("fancybox-cancel").bind("fancybox-change",function(){C(this).replaceWith(n.children())});switch(Z){case"html":M.html(I.content);o();break;case"inline":if(C(aa).parent().is("#fancybox-content")===true){Q=false;return}C('<div class="fancybox-inline-tmp" />').hide().insertBefore(C(aa)).bind("fancybox-cleanup",function(){C(this).replaceWith(n.children())}).bind("fancybox-cancel",function(){C(this).replaceWith(M.children())});C(aa).appendTo(M);o();break;case"image":Q=false;C.fancybox.showActivity();p=new Image();p.onerror=function(){y()};p.onload=function(){Q=true;p.onerror=p.onload=null;G()};p.src=X;break;case"swf":I.scrolling="no";ab='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+I.width+'" height="'+I.height+'"><param name="movie" value="'+X+'"></param>';W="";C.each(I.swf,function(ad,ae){ab+='<param name="'+ad+'" value="'+ae+'"></param>';W+=" "+ad+'="'+ae+'"'});ab+='<embed src="'+X+'" type="application/x-shockwave-flash" width="'+I.width+'" height="'+I.height+'"'+W+"></embed></object>";M.html(ab);o();break;case"ajax":Q=false;C.fancybox.showActivity();I.ajax.win=I.ajax.success;f=C.ajax(C.extend({},I.ajax,{url:X,data:I.ajax.data||{},error:function(ad,af,ae){if(ad.status>0){y()}},success:function(ae,ag,ad){var af=typeof ad=="object"?ad:f;if(af.status==200){if(typeof I.ajax.win=="function"){Y=I.ajax.win(X,ae,ag,ad);if(Y===false){U.hide();return}else{if(typeof Y=="string"||typeof Y=="object"){ae=Y}}}M.html(ae);o()}}}));break;case"iframe":F();break}},o=function(){var W=I.width,X=I.height;if(W.toString().indexOf("%")>-1){W=parseInt((C(window).width()-(I.margin*2))*parseFloat(W)/100,10)+"px"}else{W=W=="auto"?"auto":W+"px"}if(X.toString().indexOf("%")>-1){X=parseInt((C(window).height()-(I.margin*2))*parseFloat(X)/100,10)+"px"}else{X=X=="auto"?"auto":X+"px"}M.wrapInner('<div style="width:'+W+";height:"+X+";overflow: "+(I.scrolling=="auto"?"auto":(I.scrolling=="yes"?"scroll":"hidden"))+';position:relative;"></div>');I.width=M.width();I.height=M.height();F()},G=function(){I.width=p.width;I.height=p.height;C("<img />").attr({id:"fancybox-img",src:p.src,alt:I.title}).appendTo(M);F()},F=function(){var X,W;U.hide();if(N.is(":visible")&&false===H.onCleanup(z,e,H)){C.event.trigger("fancybox-cancel");Q=false;return}Q=true;C(n.add(R)).unbind();C(window).unbind("resize.fb scroll.fb");C(document).unbind("keydown.fb");if(N.is(":visible")&&H.titlePosition!=="outside"){N.css("height",N.height())}z=k;e=D;H=I;if(H.overlayShow){R.css({"background-color":H.overlayColor,opacity:H.overlayOpacity,cursor:H.hideOnOverlayClick?"pointer":"auto",height:C(document).height()});if(!R.is(":visible")){if(T){C("select:not(#fancybox-tmp select)").filter(function(){return this.style.visibility!=="hidden"}).css({visibility:"hidden"}).one("fancybox-cleanup",function(){this.style.visibility="inherit"})}R.show()}}else{R.hide()}c=S();m();if(N.is(":visible")){C(K.add(P).add(A)).hide();X=N.position(),b={top:X.top,left:X.left,width:N.width(),height:N.height()};W=(b.width==c.width&&b.height==c.height);n.fadeTo(H.changeFade,0.3,function(){var Y=function(){n.html(M.contents()).fadeTo(H.changeFade,1,w)};C.event.trigger("fancybox-change");n.empty().removeAttr("filter").css({"border-width":H.padding,width:c.width-H.padding*2,height:I.autoDimensions?"auto":c.height-h-H.padding*2});if(W){Y()}else{t.prop=0;C(t).animate({prop:1},{duration:H.changeSpeed,easing:H.easingChange,step:V,complete:Y})}});return}N.removeAttr("style");n.css("border-width",H.padding);if(H.transitionIn=="elastic"){b=J();n.html(M.contents());N.show();if(H.opacity){c.opacity=0}t.prop=0;C(t).animate({prop:1},{duration:H.speedIn,easing:H.easingIn,step:V,complete:w});return}if(H.titlePosition=="inside"&&h>0){B.show()}n.css({width:c.width-H.padding*2,height:I.autoDimensions?"auto":c.height-h-H.padding*2}).html(M.contents());N.css(c).fadeIn(H.transitionIn=="none"?0:H.speedIn,w)},E=function(W){if(W&&W.length){if(H.titlePosition=="float"){return'<table id="fancybox-title-float-wrap" cellpadding="0" cellspacing="0"><tr><td id="fancybox-title-float-left"></td><td id="fancybox-title-float-main">'+W+'</td><td id="fancybox-title-float-right"></td></tr></table>'}return'<div id="fancybox-title-'+H.titlePosition+'">'+W+"</div>"}return false},m=function(){u=H.title||"";h=0;B.empty().removeAttr("style").removeClass();if(H.titleShow===false){B.hide();return}u=C.isFunction(H.titleFormat)?H.titleFormat(u,z,e,H):E(u);if(!u||u===""){B.hide();return}B.addClass("fancybox-title-"+H.titlePosition).html(u).appendTo("body").show();switch(H.titlePosition){case"inside":B.css({width:c.width-(H.padding*2),marginLeft:H.padding,marginRight:H.padding});h=B.outerHeight(true);B.appendTo(d);c.height+=h;break;case"over":B.css({marginLeft:H.padding,width:c.width-(H.padding*2),bottom:H.padding}).appendTo(d);break;case"float":B.css("left",parseInt((B.width()-c.width-40)/2,10)*-1).appendTo(N);break;default:B.css({width:c.width-(H.padding*2),paddingLeft:H.padding,paddingRight:H.padding}).appendTo(N);break}B.hide()},g=function(){if(H.enableEscapeButton||H.enableKeyboardNav){C(document).bind("keydown.fb",function(W){if(W.keyCode==27&&H.enableEscapeButton){W.preventDefault();C.fancybox.close()}else{if((W.keyCode==37||W.keyCode==39)&&H.enableKeyboardNav&&W.target.tagName!=="INPUT"&&W.target.tagName!=="TEXTAREA"&&W.target.tagName!=="SELECT"){W.preventDefault();C.fancybox[W.keyCode==37?"prev":"next"]()}}})}if(!H.showNavArrows){P.hide();A.hide();return}if((H.cyclic&&z.length>1)||e!==0){P.show()}if((H.cyclic&&z.length>1)||e!=(z.length-1)){A.show()}},w=function(){if(!C.support.opacity){n.get(0).style.removeAttribute("filter");N.get(0).style.removeAttribute("filter")}if(I.autoDimensions){n.css("height","auto")}N.css("height","auto");if(u&&u.length){B.show()}if(H.showCloseButton){K.show()}g();if(H.hideOnContentClick){n.bind("click",C.fancybox.close)}if(H.hideOnOverlayClick){R.bind("click",C.fancybox.close)}C(window).bind("resize.fb",C.fancybox.resize);if(H.centerOnScroll){C(window).bind("scroll.fb",C.fancybox.center)}if(H.type=="iframe"){C('<iframe id="fancybox-frame" name="fancybox-frame'+new Date().getTime()+'" frameborder="0" hspace="0" '+(C.browser.msie?'allowtransparency="true""':"")+' scrolling="'+I.scrolling+'" src="'+H.href+'"></iframe>').appendTo(n)}N.show();Q=false;C.fancybox.center();H.onComplete(z,e,H);L()},L=function(){var W,X;if((z.length-1)>e){W=z[e+1].href;if(typeof W!=="undefined"&&W.match(j)){X=new Image();X.src=W}}if(e>0){W=z[e-1].href;if(typeof W!=="undefined"&&W.match(j)){X=new Image();X.src=W}}},V=function(X){var W={width:parseInt(b.width+(c.width-b.width)*X,10),height:parseInt(b.height+(c.height-b.height)*X,10),top:parseInt(b.top+(c.top-b.top)*X,10),left:parseInt(b.left+(c.left-b.left)*X,10)};if(typeof c.opacity!=="undefined"){W.opacity=X<0.5?0.5:X}N.css(W);n.css({width:W.width-H.padding*2,height:W.height-(h*X)-H.padding*2})},v=function(){return[C(window).width()-(H.margin*2),C(window).height()-(H.margin*2),C(document).scrollLeft()+H.margin,C(document).scrollTop()+H.margin]},S=function(){var W=v(),aa={},X=H.autoScale,Y=H.padding*2,Z;if(H.width.toString().indexOf("%")>-1){aa.width=parseInt((W[0]*parseFloat(H.width))/100,10)}else{aa.width=H.width+Y}if(H.height.toString().indexOf("%")>-1){aa.height=parseInt((W[1]*parseFloat(H.height))/100,10)}else{aa.height=H.height+Y}if(X&&(aa.width>W[0]||aa.height>W[1])){if(I.type=="image"||I.type=="swf"){Z=(H.width)/(H.height);if((aa.width)>W[0]){aa.width=W[0];aa.height=parseInt(((aa.width-Y)/Z)+Y,10)}if((aa.height)>W[1]){aa.height=W[1];aa.width=parseInt(((aa.height-Y)*Z)+Y,10)}}else{aa.width=Math.min(aa.width,W[0]);aa.height=Math.min(aa.height,W[1])}}aa.top=parseInt(Math.max(W[3]-20,W[3]+((W[1]-aa.height-40)*0.5)),10);aa.left=parseInt(Math.max(W[2]-20,W[2]+((W[0]-aa.width-40)*0.5)),10);return aa},r=function(W){var X=W.offset();X.top+=parseInt(W.css("paddingTop"),10)||0;X.left+=parseInt(W.css("paddingLeft"),10)||0;X.top+=parseInt(W.css("border-top-width"),10)||0;X.left+=parseInt(W.css("border-left-width"),10)||0;X.width=W.width();X.height=W.height();return X},J=function(){var Z=I.orig?C(I.orig):false,Y={},X,W;if(Z&&Z.length){X=r(Z);Y={width:X.width+(H.padding*2),height:X.height+(H.padding*2),top:X.top-H.padding-20,left:X.left-H.padding-20}}else{W=v();Y={width:H.padding*2,height:H.padding*2,top:parseInt(W[3]+W[1]*0.5,10),left:parseInt(W[2]+W[0]*0.5,10)}}return Y},a=function(){if(!U.is(":visible")){clearInterval(q);return}C("div",U).css("top",(O*-40)+"px");O=(O+1)%12};C.fn.fancybox=function(W){if(!C(this).length){return this}C(this).data("fancybox",C.extend({},W,(C.metadata?C(this).metadata():{}))).unbind("click.fb").bind("click.fb",function(Y){Y.preventDefault();if(Q){return}Q=true;C(this).blur();k=[];D=0;var X=C(this).attr("rel")||"";if(!X||X==""||X==="nofollow"){k.push(this)}else{k=C("a[rel="+X+"], area[rel="+X+"]");D=k.index(this)}x();return});return this};C.fancybox=function(Z){var Y;if(Q){return}Q=true;Y=typeof arguments[1]!=="undefined"?arguments[1]:{};k=[];D=parseInt(Y.index,10)||0;if(C.isArray(Z)){for(var X=0,W=Z.length;X<W;X++){if(typeof Z[X]=="object"){C(Z[X]).data("fancybox",C.extend({},Y,Z[X]))}else{Z[X]=C({}).data("fancybox",C.extend({content:Z[X]},Y))}}k=jQuery.merge(k,Z)}else{if(typeof Z=="object"){C(Z).data("fancybox",C.extend({},Y,Z))}else{Z=C({}).data("fancybox",C.extend({content:Z},Y))}k.push(Z)}if(D>k.length||D<0){D=0}x()};C.fancybox.showActivity=function(){clearInterval(q);U.show();q=setInterval(a,66)};C.fancybox.hideActivity=function(){U.hide()};C.fancybox.next=function(){return C.fancybox.pos(e+1)};C.fancybox.prev=function(){return C.fancybox.pos(e-1)};C.fancybox.pos=function(W){if(Q){return}W=parseInt(W);k=z;if(W>-1&&W<z.length){D=W;x()}else{if(H.cyclic&&z.length>1){D=W>=z.length?0:z.length-1;x()}}return};C.fancybox.cancel=function(){if(Q){return}Q=true;C.event.trigger("fancybox-cancel");s();I.onCancel(k,D,I);Q=false};C.fancybox.close=function(){if(Q||N.is(":hidden")){return}Q=true;if(H&&false===H.onCleanup(z,e,H)){Q=false;return}s();C(K.add(P).add(A)).hide();C(n.add(R)).unbind();C(window).unbind("resize.fb scroll.fb");C(document).unbind("keydown.fb");n.find("iframe").attr("src",T&&/^https/i.test(window.location.href||"")?"javascript:void(false)":"about:blank");if(H.titlePosition!=="inside"){B.empty()}N.stop();function W(){R.fadeOut("fast");B.empty().hide();N.hide();C.event.trigger("fancybox-cleanup");n.empty();H.onClosed(z,e,H);z=I=[];e=D=0;H=I={};Q=false}if(H.transitionOut=="elastic"){b=J();var X=N.position();c={top:X.top,left:X.left,width:N.width(),height:N.height()};if(H.opacity){c.opacity=1}B.empty().hide();t.prop=1;C(t).animate({prop:0},{duration:H.speedOut,easing:H.easingOut,step:V,complete:W})}else{N.fadeOut(H.transitionOut=="none"?0:H.speedOut,W)}};C.fancybox.resize=function(){if(R.is(":visible")){R.css("height",C(document).height())}C.fancybox.center(true)};C.fancybox.center=function(){var W,X;if(Q){return}X=arguments[0]===true?1:0;W=v();if(!X&&(N.width()>W[0]||N.height()>W[1])){return}N.stop().animate({top:parseInt(Math.max(W[3]-20,W[3]+((W[1]-n.height()-40)*0.5)-H.padding)),left:parseInt(Math.max(W[2]-20,W[2]+((W[0]-n.width()-40)*0.5)-H.padding))},typeof arguments[0]=="number"?arguments[0]:200)};C.fancybox.init=function(){if(C("#fancybox-wrap").length){return}C("body").append(M=C('<div id="fancybox-tmp"></div>'),U=C('<div id="fancybox-loading"><div></div></div>'),R=C('<div id="fancybox-overlay"></div>'),N=C('<div id="fancybox-wrap"></div>'));d=C('<div id="fancybox-outer"></div>').append('<div class="fancybox-bg" id="fancybox-bg-n"></div><div class="fancybox-bg" id="fancybox-bg-ne"></div><div class="fancybox-bg" id="fancybox-bg-e"></div><div class="fancybox-bg" id="fancybox-bg-se"></div><div class="fancybox-bg" id="fancybox-bg-s"></div><div class="fancybox-bg" id="fancybox-bg-sw"></div><div class="fancybox-bg" id="fancybox-bg-w"></div><div class="fancybox-bg" id="fancybox-bg-nw"></div>').appendTo(N);d.append(n=C('<div id="fancybox-content"></div>'),K=C('<a id="fancybox-close"></a>'),B=C('<div id="fancybox-title"></div>'),P=C('<a href="javascript:;" id="fancybox-left"><span class="fancy-ico" id="fancybox-left-ico"></span></a>'),A=C('<a href="javascript:;" id="fancybox-right"><span class="fancy-ico" id="fancybox-right-ico"></span></a>'));K.click(C.fancybox.close);U.click(C.fancybox.cancel);P.click(function(W){W.preventDefault();C.fancybox.prev()});A.click(function(W){W.preventDefault();C.fancybox.next()});if(C.fn.mousewheel){N.bind("mousewheel.fb",function(W,X){if(Q){W.preventDefault()}else{if(C(W.target).get(0).clientHeight==0||C(W.target).get(0).scrollHeight===C(W.target).get(0).clientHeight){W.preventDefault();C.fancybox[X>0?"prev":"next"]()}}})}if(!C.support.opacity){N.addClass("fancybox-ie")}if(T){U.addClass("fancybox-ie6");N.addClass("fancybox-ie6");C('<iframe id="fancybox-hide-sel-frame" src="'+(/^https/i.test(window.location.href||"")?"javascript:void(false)":"about:blank")+'" scrolling="no" border="0" frameborder="0" tabindex="-1"></iframe>').prependTo(d)}};C.fn.fancybox.defaults={padding:10,margin:40,opacity:false,modal:false,cyclic:false,scrolling:"auto",width:560,height:340,autoScale:true,autoDimensions:true,centerOnScroll:false,ajax:{},swf:{wmode:"transparent"},hideOnOverlayClick:true,hideOnContentClick:false,overlayShow:true,overlayOpacity:0.7,overlayColor:"#777",titleShow:true,titlePosition:"float",titleFormat:null,titleFromAlt:false,transitionIn:"fade",transitionOut:"fade",speedIn:300,speedOut:300,changeSpeed:300,changeFade:"fast",easingIn:"swing",easingOut:"swing",showCloseButton:true,showNavArrows:true,enableEscapeButton:true,enableKeyboardNav:true,onStart:function(){},onCancel:function(){},onComplete:function(){},onCleanup:function(){},onClosed:function(){},onError:function(){}};C(document).ready(function(){C.fancybox.init()})})(jQuery);
/*!
 * jQuery hashchange event - v1.3 - 7/21/2010
 * http://benalman.com/projects/jquery-hashchange-plugin/
 *
 * Copyright (c) 2010 "Cowboy" Ben Alman
 * Dual licensed under the MIT and GPL licenses.
 * http://benalman.com/about/license/
 */
(function($,e,b){var c="hashchange",h=document,f,g=$.event.special,j=h.documentMode,d="on"+c in e&&(j===b||j>7);function a(k){k=k||location.href;return"#"+k.replace(/^[^#]*#?(.*)$/,"$1")}$.fn[c]=function(k){return k?this.bind(c,k):this.trigger(c)};$.fn[c].delay=50;g[c]=$.extend(g[c],{setup:function(){if(d){return false}$(f.start)},teardown:function(){if(d){return false}$(f.stop)}});f=(function(){var k={},q,n=a(),l=function(r){return r},m=l,p=l;k.start=function(){q||o()};k.stop=function(){q&&clearTimeout(q);q=b};function o(){var s=a(),r=p(n);if(s!==n){m(n=s,r);$(e).trigger(c)}else{if(r!==n){location.href=location.href.replace(/#.*/,"")+r}}q=setTimeout(o,$.fn[c].delay)}$.browser.msie&&!d&&(function(){var r,s;k.start=function(){if(!r){s=$.fn[c].src;s=s&&s+a();r=$('<iframe tabindex="-1" title="empty"/>').hide().one("load",function(){s||m(a());o()}).attr("src",s||"javascript:0").insertAfter("body")[0].contentWindow;h.onpropertychange=function(){try{if(event.propertyName==="title"){r.document.title=h.title}}catch(t){}}}};k.stop=l;p=function(){return a(r.location.href)};m=function(w,t){var v=r.document,u=$.fn[c].domain;if(w!==t){v.title=h.title;v.open();u&&v.write('<script>document.domain="'+u+'"<\/script>');v.close();r.location.hash=w}}})();return k})()})(jQuery,this);
/*!
 * hoverIntent r7 // 2013.03.11 // jQuery 1.9.1+
 * http://cherne.net/brian/resources/jquery.hoverIntent.html
 *
 * You may use hoverIntent under the terms of the MIT license. Basically that
 * means you are free to use hoverIntent as long as this header is left intact.
 * Copyright 2007, 2013 Brian Cherne
 */
(function(a){a.fn.hoverIntent=function(n,d,h){var k={interval:100,sensitivity:7,timeout:0};if(typeof n==="object"){k=a.extend(k,n)}else{if(a.isFunction(d)){k=a.extend(k,{over:n,out:d,selector:h})}else{k=a.extend(k,{over:n,out:n,selector:d})}}var m,l,g,f;var e=function(o){m=o.pageX;l=o.pageY};var c=function(p,o){o.hoverIntent_t=clearTimeout(o.hoverIntent_t);if((Math.abs(g-m)+Math.abs(f-l))<k.sensitivity){a(o).off("mousemove.hoverIntent",e);o.hoverIntent_s=1;return k.over.apply(o,[p])}else{g=m;f=l;o.hoverIntent_t=setTimeout(function(){c(p,o)},k.interval)}};var j=function(p,o){o.hoverIntent_t=clearTimeout(o.hoverIntent_t);o.hoverIntent_s=0;return k.out.apply(o,[p])};var b=function(q){var p=jQuery.extend({},q);var o=this;if(o.hoverIntent_t){o.hoverIntent_t=clearTimeout(o.hoverIntent_t)}if(q.type=="mouseenter"){g=p.pageX;f=p.pageY;a(o).on("mousemove.hoverIntent",e);if(o.hoverIntent_s!=1){o.hoverIntent_t=setTimeout(function(){c(p,o)},k.interval)}}else{a(o).off("mousemove.hoverIntent",e);if(o.hoverIntent_s==1){o.hoverIntent_t=setTimeout(function(){j(p,o)},k.timeout)}}};return this.on({"mouseenter.hoverIntent":b,"mouseleave.hoverIntent":b},k.selector)}})(jQuery);window.Modernizr=function(ar,aq,ap){function aa(b){ai.cssText=b}function Y(d,c){return aa(ae.join(d+";")+(c||""))}function W(d,c){return typeof d===c}function U(d,c){return !!~(""+d).indexOf(c)}function S(e,c){for(var f in e){if(ai[e[f]]!==ap){return c=="pfx"?e[f]:!0}}return !1}function Q(g,c,k){for(var j in g){var h=c[g[j]];if(h!==ap){return k===!1?g[j]:W(h,"function")?h.bind(k||c):h}}return !1}function O(g,f,k){var j=g.charAt(0).toUpperCase()+g.slice(1),h=(g+" "+ac.join(j+" ")+j).split(" ");return W(f,"string")||W(f,"undefined")?S(h,f):(h=(g+" "+Z.join(j+" ")+j).split(" "),Q(h,f,k))}var ao="2.6.0",an={},am=!0,al=aq.documentElement,ak="modernizr",aj=aq.createElement(ak),ai=aj.style,ah,ag=":)",af={}.toString,ae=" -webkit- -moz- -o- -ms- ".split(" "),ad="Webkit Moz O ms",ac=ad.split(" "),Z=ad.toLowerCase().split(" "),X={},V={},T={},R=[],P=R.slice,N,M=function(t,s,r,q){var p,o,n,h=aq.createElement("div"),g=aq.body,b=g?g:aq.createElement("body");if(parseInt(r,10)){while(r--){n=aq.createElement("div"),n.id=q?q[r]:ak+(r+1),h.appendChild(n)}}return p=["&#173;",'<style id="s',ak,'">',t,"</style>"].join(""),h.id=ak,(g?h:b).innerHTML+=p,b.appendChild(h),g||(b.style.background="",al.appendChild(b)),o=s(h,t),g?h.parentNode.removeChild(h):b.parentNode.removeChild(b),!!o},K=function(){function c(h,g){g=g||aq.createElement(b[h]||"div"),h="on"+h;var a=h in g;return a||(g.setAttribute||(g=aq.createElement("div")),g.setAttribute&&g.removeAttribute&&(g.setAttribute(h,""),a=W(g[h],"function"),W(g[h],"undefined")||(g[h]=ap),g.removeAttribute(h))),g=null,a}var b={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return c}(),J={}.hasOwnProperty,ab;!W(J,"undefined")&&!W(J.call,"undefined")?ab=function(d,c){return J.call(d,c)}:ab=function(d,c){return c in d&&W(d.constructor.prototype[c],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(a){var h=this;if(typeof h!="function"){throw new TypeError}var g=P.call(arguments,1),f=function(){if(this instanceof f){var b=function(){};b.prototype=h.prototype;var d=new b,c=h.apply(d,g.concat(P.call(arguments)));return Object(c)===c?c:d}return h.apply(a,g.concat(P.call(arguments)))};return f}),X.flexbox=function(){return O("flexWrap")},X.rgba=function(){return aa("background-color:rgba(150,255,150,.5)"),U(ai.backgroundColor,"rgba")},X.hsla=function(){return aa("background-color:hsla(120,40%,100%,.5)"),U(ai.backgroundColor,"rgba")||U(ai.backgroundColor,"hsla")},X.multiplebgs=function(){return aa("background:url(https://),url(https://),red url(https://)"),/(url\s*\(.*?){3}/.test(ai.background)},X.backgroundsize=function(){return O("backgroundSize")},X.borderimage=function(){return O("borderImage")},X.borderradius=function(){return O("borderRadius")},X.boxshadow=function(){return O("boxShadow")},X.textshadow=function(){return aq.createElement("div").style.textShadow===""},X.opacity=function(){return Y("opacity:.55"),/^0.55$/.test(ai.opacity)},X.cssanimations=function(){return O("animationName")},X.csscolumns=function(){return O("columnCount")},X.cssgradients=function(){var e="background-image:",d="gradient(linear,left top,right bottom,from(#9f9),to(white));",f="linear-gradient(left top,#9f9, white);";return aa((e+"-webkit- ".split(" ").join(d+e)+ae.join(f+e)).slice(0,-e.length)),U(ai.backgroundImage,"gradient")},X.cssreflections=function(){return O("boxReflect")},X.csstransforms=function(){return !!O("transform")},X.csstransforms3d=function(){var b=!!O("perspective");return b&&"webkitPerspective" in al.style&&M("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(a,d){b=a.offsetLeft===9&&a.offsetHeight===3}),b},X.csstransitions=function(){return O("transition")},X.fontface=function(){var b;return M('@font-face {font-family:"font";src:url("https://")}',function(l,k){var j=aq.getElementById("smodernizr"),h=j.sheet||j.styleSheet,a=h?h.cssRules&&h.cssRules[0]?h.cssRules[0].cssText:h.cssText||"":"";b=/src/i.test(a)&&a.indexOf(k.split(" ")[0])===0}),b},X.generatedcontent=function(){var b;return M(['#modernizr:after{content:"',ag,'";visibility:hidden}'].join(""),function(a){b=a.offsetHeight>=1}),b};for(var L in X){ab(X,L)&&(N=L.toLowerCase(),an[N]=X[L](),R.push((an[N]?"":"no-")+N))}return an.addTest=function(e,c){if(typeof e=="object"){for(var f in e){ab(e,f)&&an.addTest(f,e[f])}}else{e=e.toLowerCase();if(an[e]!==ap){return an}c=typeof c=="function"?c():c,am&&(al.className+=" "+(c?"":"no-")+e),an[e]=c}return an},aa(""),aj=ah=null,function(at,I){function z(f,e){var h=f.createElement("p"),g=f.getElementsByTagName("head")[0]||f.documentElement;return h.innerHTML="x<style>"+e+"</style>",g.insertBefore(h.lastChild,g.firstChild)}function y(){var b=s.elements;return typeof b=="string"?b.split(" "):b}function x(d){var c=B[d[D]];return c||(c={},C++,d[D]=C,B[C]=c),c}function w(b,h,e){h||(h=I);if(A){return h.createElement(b)}e||(e=x(h));var d;return e.cache[b]?d=e.cache[b].cloneNode():F.test(b)?d=(e.cache[b]=e.createElem(b)).cloneNode():d=e.createElem(b),d.canHaveChildren&&!G.test(b)?e.frag.appendChild(d):d}function v(b,m){b||(b=I);if(A){return b.createDocumentFragment()}m=m||x(b);var l=m.frag.cloneNode(),k=0,j=y(),h=j.length;for(;k<h;k++){l.createElement(j[k])}return l}function u(d,c){c.cache||(c.cache={},c.createElem=d.createElement,c.createFrag=d.createDocumentFragment,c.frag=c.createFrag()),d.createElement=function(a){return s.shivMethods?w(a,d,c):c.createElem(a)},d.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+y().join().replace(/\w+/g,function(b){return c.createElem(b),c.frag.createElement(b),'c("'+b+'")'})+");return n}")(s,c.frag)}function t(b){b||(b=I);var d=x(b);return s.shivCSS&&!E&&!d.hasCSS&&(d.hasCSS=!!z(b,"article,aside,figcaption,figure,footer,header,hgroup,nav,section{display:block}mark{background:#FF0;color:#000}")),A||u(b,d),b}var H=at.html5||{},G=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,F=/^<|^(?:a|b|button|code|div|fieldset|form|h1|h2|h3|h4|h5|h6|i|iframe|img|input|label|li|link|ol|option|p|param|q|script|select|span|strong|style|table|tbody|td|textarea|tfoot|th|thead|tr|ul)$/i,E,D="_html5shiv",C=0,B={},A;(function(){try{var b=I.createElement("a");b.innerHTML="<xyz></xyz>",E="hidden" in b,A=b.childNodes.length==1||function(){I.createElement("a");var c=I.createDocumentFragment();return typeof c.cloneNode=="undefined"||typeof c.createDocumentFragment=="undefined"||typeof c.createElement=="undefined"}()}catch(d){E=!0,A=!0}})();var s={elements:H.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",shivCSS:H.shivCSS!==!1,supportsUnknownElements:A,shivMethods:H.shivMethods!==!1,type:"default",shivDocument:t,createElement:w,createDocumentFragment:v};at.html5=s,t(I)}(this,aq),an._version=ao,an._prefixes=ae,an._domPrefixes=Z,an._cssomPrefixes=ac,an.hasEvent=K,an.testProp=function(b){return S([b])},an.testAllProps=O,an.testStyles=M,al.className=al.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(am?" js "+R.join(" "):""),an}(this,this.document),function(ad,ac,ab){function aa(b){return P.call(b)=="[object Function]"}function Z(b){return typeof b=="string"}function Y(){}function X(b){return !b||b=="loaded"||b=="complete"||b=="uninitialized"}function W(){var b=O.shift();M=1,b?b.t?R(function(){(b.t=="c"?L.injectCss:L.injectJs)(b.s,0,b.a,b.x,b.e,1)},0):(b(),W()):M=0}function V(w,v,t,s,q,p,n){function m(a){if(!g&&X(h.readyState)&&(x.r=g=1,!M&&W(),h.onload=h.onreadystatechange=null,a)){w!="img"&&R(function(){I.removeChild(h)},50);for(var c in D[v]){D[v].hasOwnProperty(c)&&D[v][c].onload()}}}var n=n||L.errorTimeout,h={},g=0,b=0,x={t:t,s:v,e:q,a:p,x:n};D[v]===1&&(b=1,D[v]=[],h=ac.createElement(w)),w=="object"?h.data=v:(h.src=v,h.type=w),h.width=h.height="0",h.onerror=h.onload=h.onreadystatechange=function(){m.call(this,b)},O.splice(s,0,x),w!="img"&&(b||D[v]===2?(I.insertBefore(h,J?null:Q),R(m,n)):D[v].push(h))}function U(g,e,k,j,h){return M=0,e=e||"j",Z(g)?V(e=="c"?G:H,g,e,this.i++,k,j,h):(O.splice(this.i++,0,g),O.length==1&&W()),this}function T(){var b=L;return b.loader={load:U,i:0},b}var S=ac.documentElement,R=ad.setTimeout,Q=ac.getElementsByTagName("script")[0],P={}.toString,O=[],M=0,K="MozAppearance" in S.style,J=K&&!!ac.createRange().compareNode,I=J?S:Q.parentNode,S=ad.opera&&P.call(ad.opera)=="[object Opera]",S=!!ac.attachEvent&&!S,H=K?"object":S?"script":"img",G=S?"script":H,F=Array.isArray||function(b){return P.call(b)=="[object Array]"},E=[],D={},C={timeout:function(d,c){return c.length&&(d.timeout=c[0]),d}},N,L;L=function(f){function d(l){var l=l.split("!"),j=E.length,r=l.pop(),q=l.length,r={url:r,origUrl:r,prefixes:l},p,o,m;for(o=0;o<q;o++){m=l[o].split("="),(p=C[m.shift()])&&(r=p(r,m))}for(o=0;o<j;o++){r=E[o](r)}return r}function n(m,s,r,q,p){var o=d(m),b=o.autoCallback;o.url.split(".").pop().split("?").shift(),o.bypass||(s&&(s=aa(s)?s:s[m]||s[q]||s[m.split("/").pop().split("?")[0]]||W),o.instead?o.instead(m,s,r,q,p):(D[o.url]?o.noexec=!0:D[o.url]=1,r.load(o.url,o.forceCSS||!o.forceJS&&"css"==o.url.split(".").pop().split("?").shift()?"c":ab,o.noexec,o.attrs,o.timeout),(aa(s)||aa(b))&&r.load(function(){T(),s&&s(o.origUrl,p,q),b&&b(o.origUrl,p,q),D[o.url]=2})))}function k(w,v){function u(b,j){if(b){if(Z(b)){j||(r=function(){var l=[].slice.call(arguments);q.apply(this,l),p()}),n(b,r,v,0,t)}else{if(Object(b)===b){for(g in o=function(){var a=0,l;for(l in b){b.hasOwnProperty(l)&&a++}return a}(),b){b.hasOwnProperty(g)&&(!j&&!--o&&(aa(r)?r=function(){var l=[].slice.call(arguments);q.apply(this,l),p()}:r[g]=function(l){return function(){var a=[].slice.call(arguments);l&&l.apply(this,a),p()}}(q[g])),n(b[g],r,v,g,t))}}}}else{!j&&p()}}var t=!!w.test,s=w.load||w.both,r=w.callback||Y,q=r,p=w.complete||Y,o,g;u(t?w.yep:w.nope,!!s),s&&u(s)}var h,e,c=this.yepnope.loader;if(Z(f)){n(f,0,c,0)}else{if(F(f)){for(h=0;h<f.length;h++){e=f[h],Z(e)?n(e,0,c,0):F(e)?L(e):Object(e)===e&&k(e,c)}}else{Object(f)===f&&k(f,c)}}},L.addPrefix=function(d,c){C[d]=c},L.addFilter=function(b){E.push(b)},L.errorTimeout=10000,ac.readyState==null&&ac.addEventListener&&(ac.readyState="loading",ac.addEventListener("DOMContentLoaded",N=function(){ac.removeEventListener("DOMContentLoaded",N,0),ac.readyState="complete"},0)),ad.yepnope=T(),ad.yepnope.executeStack=W,ad.yepnope.injectJs=function(r,q,p,n,m,h){var g=ac.createElement("script"),f,b,n=n||L.errorTimeout;g.src=r;for(b in p){g.setAttribute(b,p[b])}q=h?W:q||Y,g.onreadystatechange=g.onload=function(){!f&&X(g.readyState)&&(f=1,q(),g.onload=g.onreadystatechange=null)},R(function(){f||(f=1,q(1))},n),m?g.onload():Q.parentNode.insertBefore(g,Q)},ad.yepnope.injectCss=function(b,n,m,l,k,h){var l=ac.createElement("link"),f,n=h?W:n||Y;l.href=b,l.rel="stylesheet",l.type="text/css";for(f in m){l.setAttribute(f,m[f])}k||(Q.parentNode.insertBefore(l,Q),R(n,0))}}(this,document),Modernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0))};
/*!
jQuery Waypoints - v1.1.7
Copyright (c) 2011-2012 Caleb Troughton
Dual licensed under the MIT license and GPL license.
https://github.com/imakewebthings/jquery-waypoints/blob/master/MIT-license.txt
https://github.com/imakewebthings/jquery-waypoints/blob/master/GPL-license.txt
*/
(function($,l,n,j,d){var e=$(j),g="waypoint.reached",b=function(p,o){p.element.trigger(g,o);if(p.options.triggerOnce){p.element[l]("destroy")}},h=function(q,p){if(!p){return -1}var o=p.waypoints.length-1;while(o>=0&&p.waypoints[o].element[0]!==q[0]){o-=1}return o},f=[],m=function(o){$.extend(this,{element:$(o),oldScroll:0,waypoints:[],didScroll:false,didResize:false,doScroll:$.proxy(function(){var r=this.element.scrollTop(),q=r>this.oldScroll,t=this,s=$.grep(this.waypoints,function(v,u){return q?(v.offset>t.oldScroll&&v.offset<=r):(v.offset<=t.oldScroll&&v.offset>r)}),p=s.length;if(!this.oldScroll||!r){$[n]("refresh")}this.oldScroll=r;if(!p){return}if(!q){s.reverse()}$.each(s,function(v,u){if(u.options.continuous||v===p-1){b(u,[q?"down":"up"])}})},this)});$(o).bind("scroll.waypoints",$.proxy(function(){if(!this.didScroll){this.didScroll=true;j.setTimeout($.proxy(function(){this.doScroll();this.didScroll=false},this),$[n].settings.scrollThrottle)}},this)).bind("resize.waypoints",$.proxy(function(){if(!this.didResize){this.didResize=true;j.setTimeout($.proxy(function(){$[n]("refresh");this.didResize=false},this),$[n].settings.resizeThrottle)}},this));e.load($.proxy(function(){this.doScroll()},this))},k=function(o){var p=null;$.each(f,function(q,r){if(r.element[0]===o){p=r;return false}});return p},c={init:function(p,o){this.each(function(){var v=$.fn[l].defaults.context,r,u=$(this);if(o&&o.context){v=o.context}if(!$.isWindow(v)){v=u.closest(v)[0]}r=k(v);if(!r){r=new m(v);f.push(r)}var q=h(u,r),t=q<0?$.fn[l].defaults:r.waypoints[q].options,s=$.extend({},t,o);s.offset=s.offset==="bottom-in-view"?function(){var w=$.isWindow(v)?$[n]("viewportHeight"):$(v).height();return w-$(this).outerHeight()}:s.offset;if(q<0){r.waypoints.push({element:u,offset:null,options:s})}else{r.waypoints[q].options=s}if(p){u.bind(g,p)}if(o&&o.handler){u.bind(g,o.handler)}});$[n]("refresh");return this},remove:function(){return this.each(function(p,q){var o=$(q);$.each(f,function(s,t){var r=h(o,t);if(r>=0){t.waypoints.splice(r,1);if(!t.waypoints.length){t.element.unbind("scroll.waypoints resize.waypoints");f.splice(s,1)}}})})},destroy:function(){return this.unbind(g)[l]("remove")}},a={refresh:function(){$.each(f,function(s,t){var r=$.isWindow(t.element[0]),o=r?0:t.element.offset().top,q=r?$[n]("viewportHeight"):t.element.height(),p=r?0:t.element.scrollTop();$.each(t.waypoints,function(v,y){if(!y){return}var u=y.options.offset,x=y.offset;if(typeof y.options.offset==="function"){u=y.options.offset.apply(y.element)}else{if(typeof y.options.offset==="string"){var w=parseFloat(y.options.offset);u=y.options.offset.indexOf("%")?Math.ceil(q*(w/100)):w}}y.offset=y.element.offset().top-o+p-u;if(y.options.onlyOnScroll){return}if(x!==null&&t.oldScroll>x&&t.oldScroll<=y.offset){b(y,["up"])}else{if(x!==null&&t.oldScroll<x&&t.oldScroll>=y.offset){b(y,["down"])}else{if(!x&&t.element.scrollTop()>y.offset){b(y,["down"])}}}});t.waypoints.sort(function(v,u){return v.offset-u.offset})})},viewportHeight:function(){return(j.innerHeight?j.innerHeight:e.height())},aggregate:function(){var o=$();$.each(f,function(p,q){$.each(q.waypoints,function(r,s){o=o.add(s.element)})});return o}};$.fn[l]=function(o){if(c[o]){return c[o].apply(this,Array.prototype.slice.call(arguments,1))}else{if(typeof o==="function"||!o){return c.init.apply(this,arguments)}else{if(typeof o==="object"){return c.init.apply(this,[null,o])}else{$.error("Method "+o+" does not exist on jQuery "+l)}}}};$.fn[l].defaults={continuous:true,offset:0,triggerOnce:false,context:j};$[n]=function(o){if(a[o]){return a[o].apply(this)}else{return a.aggregate()}};$[n].settings={resizeThrottle:200,scrollThrottle:100};e.load(function(){$[n]("refresh")})})(jQuery,"waypoint","waypoints",window);
/*!
 * jQuery UI Effects 1.10.3
 * http://jqueryui.com
 *
 * Copyright 2013 jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 *
 * http://api.jqueryui.com/category/effects-core/
 */
(function(a,c){var b="ui-effects-";a.effects={effect:{}};
/*!
 * jQuery Color Animations v2.1.2
 * https://github.com/jquery/jquery-color
 *
 * Copyright 2013 jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 *
 * Date: Wed Jan 16 08:47:09 2013 -0600
 */
(function(s,g){var o="backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor",l=/^([\-+])=\s*(\d+\.?\d*)/,k=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(t){return[t[1],t[2],t[3],t[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(t){return[t[1]*2.55,t[2]*2.55,t[3]*2.55,t[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/,parse:function(t){return[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])/,parse:function(t){return[parseInt(t[1]+t[1],16),parseInt(t[2]+t[2],16),parseInt(t[3]+t[3],16)]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(t){return[t[1],t[2]/100,t[3]/100,t[4]]}}],h=s.Color=function(u,v,t,w){return new s.Color.fn.parse(u,v,t,w)},n={rgba:{props:{red:{idx:0,type:"byte"},green:{idx:1,type:"byte"},blue:{idx:2,type:"byte"}}},hsla:{props:{hue:{idx:0,type:"degrees"},saturation:{idx:1,type:"percent"},lightness:{idx:2,type:"percent"}}}},r={"byte":{floor:true,max:255},percent:{max:1},degrees:{mod:360,floor:true}},q=h.support={},e=s("<p>")[0],d,p=s.each;e.style.cssText="background-color:rgba(1,1,1,.5)";q.rgba=e.style.backgroundColor.indexOf("rgba")>-1;p(n,function(t,u){u.cache="_"+t;u.props.alpha={idx:3,type:"percent",def:1}});function m(u,w,v){var t=r[w.type]||{};if(u==null){return(v||!w.def)?null:w.def}u=t.floor?~~u:parseFloat(u);if(isNaN(u)){return w.def}if(t.mod){return(u+t.mod)%t.mod}return 0>u?0:t.max<u?t.max:u}function j(t){var v=h(),u=v._rgba=[];t=t.toLowerCase();p(k,function(A,B){var y,z=B.re.exec(t),x=z&&B.parse(z),w=B.space||"rgba";if(x){y=v[w](x);v[n[w].cache]=y[n[w].cache];u=v._rgba=y._rgba;return false}});if(u.length){if(u.join()==="0,0,0,0"){s.extend(u,d.transparent)}return v}return d[t]}h.fn=s.extend(h.prototype,{parse:function(z,x,t,y){if(z===g){this._rgba=[null,null,null,null];return this}if(z.jquery||z.nodeType){z=s(z).css(x);x=g}var w=this,v=s.type(z),u=this._rgba=[];if(x!==g){z=[z,x,t,y];v="array"}if(v==="string"){return this.parse(j(z)||d._default)}if(v==="array"){p(n.rgba.props,function(A,B){u[B.idx]=m(z[B.idx],B)});return this}if(v==="object"){if(z instanceof h){p(n,function(A,B){if(z[B.cache]){w[B.cache]=z[B.cache].slice()}})}else{p(n,function(B,C){var A=C.cache;p(C.props,function(D,E){if(!w[A]&&C.to){if(D==="alpha"||z[D]==null){return}w[A]=C.to(w._rgba)}w[A][E.idx]=m(z[D],E,true)});if(w[A]&&s.inArray(null,w[A].slice(0,3))<0){w[A][3]=1;if(C.from){w._rgba=C.from(w[A])}}})}return this}},is:function(v){var t=h(v),w=true,u=this;p(n,function(x,z){var A,y=t[z.cache];if(y){A=u[z.cache]||z.to&&z.to(u._rgba)||[];p(z.props,function(B,C){if(y[C.idx]!=null){w=(y[C.idx]===A[C.idx]);return w}})}return w});return w},_space:function(){var t=[],u=this;p(n,function(v,w){if(u[w.cache]){t.push(v)}});return t.pop()},transition:function(u,A){var v=h(u),w=v._space(),x=n[w],y=this.alpha()===0?h("transparent"):this,z=y[x.cache]||x.to(y._rgba),t=z.slice();v=v[x.cache];p(x.props,function(E,G){var D=G.idx,C=z[D],B=v[D],F=r[G.type]||{};if(B===null){return}if(C===null){t[D]=B}else{if(F.mod){if(B-C>F.mod/2){C+=F.mod}else{if(C-B>F.mod/2){C-=F.mod}}}t[D]=m((B-C)*A+C,G)}});return this[w](t)},blend:function(w){if(this._rgba[3]===1){return this}var v=this._rgba.slice(),u=v.pop(),t=h(w)._rgba;return h(s.map(v,function(x,y){return(1-u)*t[y]+u*x}))},toRgbaString:function(){var u="rgba(",t=s.map(this._rgba,function(w,x){return w==null?(x>2?1:0):w});if(t[3]===1){t.pop();u="rgb("}return u+t.join()+")"},toHslaString:function(){var u="hsla(",t=s.map(this.hsla(),function(w,x){if(w==null){w=x>2?1:0}if(x&&x<3){w=Math.round(w*100)+"%"}return w});if(t[3]===1){t.pop();u="hsl("}return u+t.join()+")"},toHexString:function(t){var u=this._rgba.slice(),v=u.pop();if(t){u.push(~~(v*255))}return"#"+s.map(u,function(w){w=(w||0).toString(16);return w.length===1?"0"+w:w}).join("")},toString:function(){return this._rgba[3]===0?"transparent":this.toRgbaString()}});h.fn.parse.prototype=h.fn;function f(v,u,t){t=(t+1)%1;if(t*6<1){return v+(u-v)*t*6}if(t*2<1){return u}if(t*3<2){return v+(u-v)*((2/3)-t)*6}return v}n.hsla.to=function(v){if(v[0]==null||v[1]==null||v[2]==null){return[null,null,null,v[3]]}var t=v[0]/255,y=v[1]/255,z=v[2]/255,B=v[3],A=Math.max(t,y,z),w=Math.min(t,y,z),C=A-w,D=A+w,u=D*0.5,x,E;if(w===A){x=0}else{if(t===A){x=(60*(y-z)/C)+360}else{if(y===A){x=(60*(z-t)/C)+120}else{x=(60*(t-y)/C)+240}}}if(C===0){E=0}else{if(u<=0.5){E=C/D}else{E=C/(2-D)}}return[Math.round(x)%360,E,u,B==null?1:B]};n.hsla.from=function(x){if(x[0]==null||x[1]==null||x[2]==null){return[null,null,null,x[3]]}var w=x[0]/360,v=x[1],u=x[2],t=x[3],y=u<=0.5?u*(1+v):u+v-u*v,z=2*u-y;return[Math.round(f(z,y,w+(1/3))*255),Math.round(f(z,y,w)*255),Math.round(f(z,y,w-(1/3))*255),t]};p(n,function(u,w){var v=w.props,t=w.cache,y=w.to,x=w.from;h.fn[u]=function(D){if(y&&!this[t]){this[t]=y(this._rgba)}if(D===g){return this[t].slice()}var A,C=s.type(D),z=(C==="array"||C==="object")?D:arguments,B=this[t].slice();p(v,function(E,G){var F=z[C==="object"?E:G.idx];if(F==null){F=B[G.idx]}B[G.idx]=m(F,G)});if(x){A=h(x(B));A[t]=B;return A}else{return h(B)}};p(v,function(z,A){if(h.fn[z]){return}h.fn[z]=function(E){var G=s.type(E),D=(z==="alpha"?(this._hsla?"hsla":"rgba"):u),C=this[D](),F=C[A.idx],B;if(G==="undefined"){return F}if(G==="function"){E=E.call(this,F);G=s.type(E)}if(E==null&&A.empty){return this}if(G==="string"){B=l.exec(E);if(B){E=F+parseFloat(B[2])*(B[1]==="+"?1:-1)}}C[A.idx]=E;return this[D](C)}})});h.hook=function(u){var t=u.split(" ");p(t,function(v,w){s.cssHooks[w]={set:function(A,B){var y,z,x="";if(B!=="transparent"&&(s.type(B)!=="string"||(y=j(B)))){B=h(y||B);if(!q.rgba&&B._rgba[3]!==1){z=w==="backgroundColor"?A.parentNode:A;while((x===""||x==="transparent")&&z&&z.style){try{x=s.css(z,"backgroundColor");z=z.parentNode}catch(C){}}B=B.blend(x&&x!=="transparent"?x:"_default")}B=B.toRgbaString()}try{A.style[w]=B}catch(C){}}};s.fx.step[w]=function(x){if(!x.colorInit){x.start=h(x.elem,w);x.end=h(x.end);x.colorInit=true}s.cssHooks[w].set(x.elem,x.start.transition(x.end,x.pos))}})};h.hook(o);s.cssHooks.borderColor={expand:function(u){var t={};p(["Top","Right","Bottom","Left"],function(w,v){t["border"+v+"Color"]=u});return t}};d=s.Color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"}})(jQuery);(function(){var e=["add","remove","toggle"],f={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};a.each(["borderLeftStyle","borderRightStyle","borderBottomStyle","borderTopStyle"],function(h,j){a.fx.step[j]=function(k){if(k.end!=="none"&&!k.setAttr||k.pos===1&&!k.setAttr){jQuery.style(k.elem,j,k.end);k.setAttr=true}}});function g(m){var j,h,k=m.ownerDocument.defaultView?m.ownerDocument.defaultView.getComputedStyle(m,null):m.currentStyle,l={};if(k&&k.length&&k[0]&&k[k[0]]){h=k.length;while(h--){j=k[h];if(typeof k[j]==="string"){l[a.camelCase(j)]=k[j]}}}else{for(j in k){if(typeof k[j]==="string"){l[j]=k[j]}}}return l}function d(h,k){var m={},j,l;for(j in k){l=k[j];if(h[j]!==l){if(!f[j]){if(a.fx.step[j]||!isNaN(parseFloat(l))){m[j]=l}}}}return m}if(!a.fn.addBack){a.fn.addBack=function(h){return this.add(h==null?this.prevObject:this.prevObject.filter(h))}}a.effects.animateClass=function(h,j,m,l){var k=a.speed(j,m,l);return this.queue(function(){var p=a(this),n=p.attr("class")||"",o,q=k.children?p.find("*").addBack():p;q=q.map(function(){var r=a(this);return{el:r,start:g(this)}});o=function(){a.each(e,function(r,s){if(h[s]){p[s+"Class"](h[s])}})};o();q=q.map(function(){this.end=g(this.el[0]);this.diff=d(this.start,this.end);return this});p.attr("class",n);q=q.map(function(){var t=this,r=a.Deferred(),s=a.extend({},k,{queue:false,complete:function(){r.resolve(t)}});this.el.animate(this.diff,s);return r.promise()});a.when.apply(a,q.get()).done(function(){o();a.each(arguments,function(){var r=this.el;a.each(this.diff,function(s){r.css(s,"")})});k.complete.call(p[0])})})};a.fn.extend({addClass:(function(h){return function(k,j,m,l){return j?a.effects.animateClass.call(this,{add:k},j,m,l):h.apply(this,arguments)}})(a.fn.addClass),removeClass:(function(h){return function(k,j,m,l){return arguments.length>1?a.effects.animateClass.call(this,{remove:k},j,m,l):h.apply(this,arguments)}})(a.fn.removeClass),toggleClass:(function(h){return function(l,k,j,n,m){if(typeof k==="boolean"||k===c){if(!j){return h.apply(this,arguments)}else{return a.effects.animateClass.call(this,(k?{add:l}:{remove:l}),j,n,m)}}else{return a.effects.animateClass.call(this,{toggle:l},k,j,n)}}})(a.fn.toggleClass),switchClass:function(h,k,j,m,l){return a.effects.animateClass.call(this,{add:k,remove:h},j,m,l)}})})();(function(){a.extend(a.effects,{version:"1.10.3",save:function(g,h){for(var f=0;f<h.length;f++){if(h[f]!==null){g.data(b+h[f],g[0].style[h[f]])}}},restore:function(g,j){var h,f;for(f=0;f<j.length;f++){if(j[f]!==null){h=g.data(b+j[f]);if(h===c){h=""}g.css(j[f],h)}}},setMode:function(f,g){if(g==="toggle"){g=f.is(":hidden")?"show":"hide"}return g},getBaseline:function(g,h){var j,f;switch(g[0]){case"top":j=0;break;case"middle":j=0.5;break;case"bottom":j=1;break;default:j=g[0]/h.height}switch(g[1]){case"left":f=0;break;case"center":f=0.5;break;case"right":f=1;break;default:f=g[1]/h.width}return{x:f,y:j}},createWrapper:function(g){if(g.parent().is(".ui-effects-wrapper")){return g.parent()}var h={width:g.outerWidth(true),height:g.outerHeight(true),"float":g.css("float")},l=a("<div></div>").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),f={width:g.width(),height:g.height()},k=document.activeElement;try{k.id}catch(j){k=document.body}g.wrap(l);if(g[0]===k||a.contains(g[0],k)){a(k).focus()}l=g.parent();if(g.css("position")==="static"){l.css({position:"relative"});g.css({position:"relative"})}else{a.extend(h,{position:g.css("position"),zIndex:g.css("z-index")});a.each(["top","left","bottom","right"],function(m,n){h[n]=g.css(n);if(isNaN(parseInt(h[n],10))){h[n]="auto"}});g.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})}g.css(f);return l.css(h).show()},removeWrapper:function(f){var g=document.activeElement;if(f.parent().is(".ui-effects-wrapper")){f.parent().replaceWith(f);if(f[0]===g||a.contains(f[0],g)){a(g).focus()}}return f},setTransition:function(g,j,f,h){h=h||{};a.each(j,function(l,k){var m=g.cssUnit(k);if(m[0]>0){h[k]=m[0]*f+m[1]}});return h}});function d(g,f,h,j){if(a.isPlainObject(g)){f=g;g=g.effect}g={effect:g};if(f==null){f={}}if(a.isFunction(f)){j=f;h=null;f={}}if(typeof f==="number"||a.fx.speeds[f]){j=h;h=f;f={}}if(a.isFunction(h)){j=h;h=null}if(f){a.extend(g,f)}h=h||f.duration;g.duration=a.fx.off?0:typeof h==="number"?h:h in a.fx.speeds?a.fx.speeds[h]:a.fx.speeds._default;g.complete=j||f.complete;return g}function e(f){if(!f||typeof f==="number"||a.fx.speeds[f]){return true}if(typeof f==="string"&&!a.effects.effect[f]){return true}if(a.isFunction(f)){return true}if(typeof f==="object"&&!f.effect){return true}return false}a.fn.extend({effect:function(){var h=d.apply(this,arguments),k=h.mode,f=h.queue,g=a.effects.effect[h.effect];if(a.fx.off||!g){if(k){return this[k](h.duration,h.complete)}else{return this.each(function(){if(h.complete){h.complete.call(this)}})}}function j(n){var o=a(this),m=h.complete,p=h.mode;function l(){if(a.isFunction(m)){m.call(o[0])}if(a.isFunction(n)){n()}}if(o.is(":hidden")?p==="hide":p==="show"){o[p]();l()}else{g.call(o[0],h,l)}}return f===false?this.each(j):this.queue(f||"fx",j)},show:(function(f){return function(h){if(e(h)){return f.apply(this,arguments)}else{var g=d.apply(this,arguments);g.mode="show";return this.effect.call(this,g)}}})(a.fn.show),hide:(function(f){return function(h){if(e(h)){return f.apply(this,arguments)}else{var g=d.apply(this,arguments);g.mode="hide";return this.effect.call(this,g)}}})(a.fn.hide),toggle:(function(f){return function(h){if(e(h)||typeof h==="boolean"){return f.apply(this,arguments)}else{var g=d.apply(this,arguments);g.mode="toggle";return this.effect.call(this,g)}}})(a.fn.toggle),cssUnit:function(f){var g=this.css(f),h=[];a.each(["em","px","%","pt"],function(j,k){if(g.indexOf(k)>0){h=[parseFloat(g),k]}});return h}})})();(function(){var d={};a.each(["Quad","Cubic","Quart","Quint","Expo"],function(f,e){d[e]=function(g){return Math.pow(g,f+2)}});a.extend(d,{Sine:function(e){return 1-Math.cos(e*Math.PI/2)},Circ:function(e){return 1-Math.sqrt(1-e*e)},Elastic:function(e){return e===0||e===1?e:-Math.pow(2,8*(e-1))*Math.sin(((e-1)*80-7.5)*Math.PI/15)},Back:function(e){return e*e*(3*e-2)},Bounce:function(g){var e,f=4;while(g<((e=Math.pow(2,--f))-1)/11){}return 1/Math.pow(4,3-f)-7.5625*Math.pow((e*3-2)/22-g,2)}});a.each(d,function(f,e){a.easing["easeIn"+f]=e;a.easing["easeOut"+f]=function(g){return 1-e(1-g)};a.easing["easeInOut"+f]=function(g){return g<0.5?e(g*2)/2:1-e(g*-2+2)/2}})})()})(jQuery);(function(a,b){if(typeof module=="object"&&module.exports){module.exports=b()}else{if(typeof define=="function"&&define.amd){define(b)}else{a.Spinner=b()}}}(this,function(){var e=["webkit","Moz","ms","O"],p={},o,j;function g(q,t){var r=document.createElement(q||"div"),s;for(s in t){r[s]=t[s]}return r}function h(r){for(var q=1,s=arguments.length;q<s;q++){r.appendChild(arguments[q])}return r}function c(u,q,v,y){var r=["opacity",q,~~(u*100),v,y].join("-"),s=0.01+v/y*100,x=Math.max(1-(1-u)/q*(100-s),u),w=o.substring(0,o.indexOf("Animation")).toLowerCase(),t=w&&"-"+w+"-"||"";if(!p[r]){j.insertRule("@"+t+"keyframes "+r+"{0%{opacity:"+x+"}"+s+"%{opacity:"+u+"}"+(s+0.01)+"%{opacity:1}"+(s+q)%100+"%{opacity:"+u+"}100%{opacity:"+x+"}}",j.cssRules.length);p[r]=1}return r}function m(u,v){var t=u.style,q,r;v=v.charAt(0).toUpperCase()+v.slice(1);if(t[v]!==undefined){return v}for(r=0;r<e.length;r++){q=e[r]+v;if(t[q]!==undefined){return q}}}function f(q,s){for(var r in s){q.style[m(q,r)||r]=s[r]}return q}function k(s){for(var q=1;q<arguments.length;q++){var r=arguments[q];for(var t in r){if(s[t]===undefined){s[t]=r[t]}}}return s}function n(r,q){return typeof r=="string"?r:r[q%r.length]}var d={lines:12,length:7,width:5,radius:10,scale:1,corners:1,color:"#000",opacity:1/4,rotate:0,direction:1,speed:1,trail:100,fps:20,zIndex:2000000000,className:"spinner",top:"50%",left:"50%",shadow:false,hwaccel:false,position:"absolute"};function b(q){this.opts=k(q||{},b.defaults,d)}b.defaults={};k(b.prototype,{spin:function(z){this.stop();var B=this,r=B.opts,s=B.el=g(null,{className:r.className});f(s,{position:r.position,width:0,zIndex:r.zIndex,left:r.left,top:r.top});if(z){z.insertBefore(s,z.firstChild||null)}s.setAttribute("role","progressbar");B.lines(s,B.opts);if(!o){var w=0,q=(r.lines-1)*(1-r.direction)/2,v,t=r.fps,y=t/r.speed,x=(1-r.opacity)/(y*r.trail/100),A=y/r.lines;(function u(){w++;for(var C=0;C<r.lines;C++){v=Math.max(1-(w+(r.lines-C)*A)%y*x,r.opacity);B.opacity(s,C*r.direction+q,v,r)}B.timeout=B.el&&setTimeout(u,~~(1000/t))})()}return B},stop:function(){var q=this.el;if(q){clearTimeout(this.timeout);if(q.parentNode){q.parentNode.removeChild(q)}this.el=undefined}return this},lines:function(s,u){var r=0,v=(u.lines-1)*(1-u.direction)/2,q;function t(w,x){return f(g(),{position:"absolute",width:u.scale*(u.length+u.width)+"px",height:u.scale*u.width+"px",background:w,boxShadow:x,transformOrigin:"left",transform:"rotate("+~~(360/u.lines*r+u.rotate)+"deg) translate("+u.scale*u.radius+"px,0)",borderRadius:(u.corners*u.scale*u.width>>1)+"px"})}for(;r<u.lines;r++){q=f(g(),{position:"absolute",top:1+~(u.scale*u.width/2)+"px",transform:u.hwaccel?"translate3d(0,0,0)":"",opacity:u.opacity,animation:o&&c(u.opacity,u.trail,v+r*u.direction,u.lines)+" "+1/u.speed+"s linear infinite"});if(u.shadow){h(q,f(t("#000","0 0 4px #000"),{top:"2px"}))}h(s,h(q,t(n(u.color,r),"0 0 1px rgba(0,0,0,.1)")))}return s},opacity:function(r,q,s){if(q<r.childNodes.length){r.childNodes[q].style.opacity=s}}});function l(){function q(s,r){return g("<"+s+' xmlns="urn:schemas-microsoft.com:vml" class="spin-vml">',r)}j.addRule(".spin-vml","behavior:url(#default#VML)");b.prototype.lines=function(v,u){var t=u.scale*(u.length+u.width),B=u.scale*2*t;function A(){return f(q("group",{coordsize:B+" "+B,coordorigin:-t+" "+-t}),{width:B,height:B})}var w=-(u.width+u.length)*u.scale*2+"px",z=f(A(),{position:"absolute",top:w,left:w}),y;function x(s,r,C){h(z,h(f(A(),{rotation:360/u.lines*s+"deg",left:~~r}),h(f(q("roundrect",{arcsize:u.corners}),{width:t,height:u.scale*u.width,left:u.scale*u.radius,top:-u.scale*u.width>>1,filter:C}),q("fill",{color:n(u.color,s),opacity:u.opacity}),q("stroke",{opacity:0}))))}if(u.shadow){for(y=1;y<=u.lines;y++){x(y,-2,"progid:DXImageTransform.Microsoft.Blur(pixelradius=2,makeshadow=1,shadowopacity=.3)")}}for(y=1;y<=u.lines;y++){x(y)}return h(v,z)};b.prototype.opacity=function(s,r,u,t){var v=s.firstChild;t=t.shadow&&t.lines||0;if(v&&r+t<v.childNodes.length){v=v.childNodes[r+t];v=v&&v.firstChild;v=v&&v.firstChild;if(v){v.opacity=u}}}}if(typeof document!=="undefined"){j=(function(){var q=g("style",{type:"text/css"});h(document.getElementsByTagName("head")[0],q);return q.sheet||q.styleSheet}());var a=f(g("group"),{behavior:"url(#default#VML)"});if(!m(a,"transform")&&a.adj){l()}else{o=m(a,"animation")}}return b}));(function(a){if(typeof exports=="object"){a(require("jquery"),require("spin.js"))}else{if(typeof define=="function"&&define.amd){define(["jquery_appear","spin"],a)}else{if(!window.Spinner){throw new Error("Spin.js not present")}a(window.jQuery,window.Spinner)}}}(function(b,a){b.fn.spin=function(d,c){return this.each(function(){var f=b(this),e=f.data();if(e.spinner){e.spinner.stop();delete e.spinner}if(d!==false){d=b.extend({color:c||f.css("color")},b.fn.spin.presets[d]||d);e.spinner=new a(d).spin(this)}})};b.fn.spin.presets={tiny:{lines:8,length:2,width:2,radius:3},small:{lines:8,length:4,width:3,radius:5},large:{lines:10,length:8,width:4,radius:8}}}));var fuzo=fuzo||{};fuzo.events=fuzo.events||{};fuzo.events.HEADER_LOADED="fuzo_header_loaded";fuzo.events.CONTENT_LOADED="fuzo_content_loaded";fuzo.events.FOOTER_LOADED="fuzo_footer_loaded";fuzo.events.ADS_LOADED="fuzo_ad_loaded";fuzo.events.SESSION_LOADED="fuzo_session_loaded";fuzo.events.SESSION_ABANDONED="fuzo_session_abandoned";fuzo.events.COMMENTS_LOADED="fuzo_comments_loaded";var frontend=frontend||{};frontend.Comments=function(){var a=this;a.options={useHttps:($.browser.msie&&parseInt($.browser.version)<=9)||$.browser.opera?false:true};a.normalizeURL=function(b){if(b[0]=="/"){return b}b=b.replace(/^[^\:]+\:/,"");b="https:"+b;return b};(function(){})();a.isLoggedIn=function(){if(typeof Community==="undefined"){return false}return Community.loggedIn};a.loadComments=function(d,c){if(typeof d==="undefined"){return false}var b;if(typeof c==="undefined"){c=1;b=false}else{b=c}$.ajax("https://futurezone.at/comment/comment/"+d+"/"+c,{method:"GET",xhrFields:{withCredentials:true},beforeSend:function(f,e){if(b!==false){$("body").spin({position:"fixed"})}},success:function(j,k,g){if(j&&j.html){$("#Comments-"+d).html(j.html);if(b!==false){if($("#diskussion").length){$("html, body").animate({scrollTop:$("#diskussion").offset().top-40})}else{if($(".comments").length){$("html, body").animate({scrollTop:$(".comments").eq(0).offset().top-40})}}}if(j.commentCount){$(".commentcount-"+d).text(j.commentCount)}var f=$("#showMoreComments"),e=$("#showLessComments");if(c==1&&f.hasClass("hide")){$("[id^='commentbox_']").removeClass("hide");var h=$(".comments-pagination.center.hide");if(h.length){h.removeClass("hide")}}f.off("click").on("click",function(){$("[id^=commentbox_], .comments-pagination").removeClass("hide");$(this).addClass("hide");e.removeClass("hide")});e.off("click").on("click",function(){a.loadComments(d);$(this).addClass("hide");f.removeClass("hide")});if(Community.phoneStatus===50){$(".frontend-comment").hide();$(".comments-message-box").html('<span class="comments-headline">Sie wurden für das Posten von Kommentaren gesperrt!</span>')}}$(document).trigger(fuzo.events.COMMENTS_LOADED)},complete:function(e,f){$("body").spin(false)}})};a.writeCommentXhr=null;a.writeComment=function(h,d,g,c,e,f,b){if(a.writeCommentXhr!==null){return}if(typeof h==="undefined"||typeof g==="undefined"){return false}if(a.isLoggedIn()===false){comments.redirectToLogin();return false}$form=$("#"+e);if(g===""){$form.find(".message").text("Der Text darf nicht leer sein!").removeClass("hide error success").addClass("notice").show();setTimeout(function(){$form.find(".message").fadeOut(150)},10000);return false}a.writeCommentXhr=$.ajax({type:"POST",url:"https://futurezone.at/comment/comment/"+h,xhrFields:{withCredentials:true},dataType:"json",data:{parent:d,text:g,notifyNew:c},beforeSend:function(k,j){$("#commentbox_"+d).spin()},success:function(k,l,j){if(k){if(k.error){$form.find(".message").text(k.error).removeClass("hide notice success").addClass("error")}if(k.html){$("#Comments-"+h).html(k.html);$("#cms_frontend_comments_comment"+h+"_text").val("");$("[id^=commentbox_], .comments-pagination").removeClass("hide");$("#showMoreComments").addClass("hide");$(document).trigger(fuzo.events.COMMENTS_LOADED)}if(k.commentCount){$("#commentcount-"+h).text(k.commentCount+" Kommentare")}if(k.newCommentId){comments.goToPermalink(k.newCommentId)}}else{$form.find(".message").text("Kommentar wurde erfolgreich gespeichert!").removeClass("hide error notice").addClass("success");a.loadComments(h)}$("#showMoreComments").off("click").on("click",function(){$("[id^=commentbox_], .comments-pagination").removeClass("hide");$(this).addClass("hide")});setTimeout(function(){$form.find(".message").fadeOut(150)},10000)},error:function(j,l,k){},complete:function(j,k){$("#commentbox_"+d).spin(false);a.writeCommentXhr=null}})};a.doUpVote=function(d,c,b){if(typeof d==="undefined"){return false}if(a.isLoggedIn()===false){comments.redirectToLogin();return false}$.ajax("/content/vote",{type:"POST",xhrFields:{withCredentials:true},data:{objectId:d,vote:1},beforeSend:function(f,e){$("#commentbox_"+d).spin()},success:function(f,g,e){if(f){$("#comment-upvotes-"+d).text(f.upvotes);$("#comment-downvotes-"+d).text(f.downvotes)}},complete:function(e,f){$("#commentbox_"+d).spin(false)}})};a.doDownVote=function(d,c,b){if(typeof d==="undefined"){return false}if(a.isLoggedIn()===false){comments.redirectToLogin();return false}$.ajax("/content/vote",{type:"POST",xhrFields:{withCredentials:true},data:{objectId:d,vote:-1},beforeSend:function(f,e){$("#commentbox_"+d).spin()},success:function(f,g,e){if(f){$("#comment-upvotes-"+d).text(f.upvotes);$("#comment-downvotes-"+d).text(f.downvotes)}},complete:function(e,f){$("#commentbox_"+d).spin(false)}})};a.doReport=function(c,b){var d=$("#comments-reportbox").data("comment");if(typeof d==="undefined"){return false}$("#comments-reportbox").removeClass("hide");$.ajax("/comment/report/"+d,{xhrFields:{withCredentials:true},method:"POST",success:function(f,g,e){}})}};var Comments;(function(){Comments=new frontend.Comments()})();$(document).on(fuzo.events.COMMENTS_LOADED,function(){$(".comment-answer-btn").off("click").on("click",function(){var c=$(this).parent(".answer-dummy");if(comments.isLoggedIn()&&Community.phoneStatus!==1&&typeof comments.openTanRegister!="undefined"){comments.openTanRegister();return false}if(!comments.isLoggedIn()){comments.redirectToLogin();return false}var b=c.next(".submitbutton");var a=c.prev(".c-fields");c.addClass("hide");$(b).removeClass("hide");$(a).removeClass("hide");return false});$(".comments-close-btn").off("click").on("click",function(){var b=$(this).closest(".submitbutton");var a=$(this).closest(".frontend-comment").find(".c-fields");$(this).closest(".frontend-comment").find(".answer-dummy").removeClass("hide");$(b).addClass("hide");$(a).addClass("hide");return false});$(".comments-submitbutton").off("click").on("click",function(a){if(!comments.isLoggedIn()){comments.redirectToLogin();return false}if(comments.isLoggedIn()&&Community.phoneStatus!==1&&typeof comments.openTanRegister!="undefined"){comments.openTanRegister();return false}});if(comments.isLoggedIn()){$(".comment-follow").removeClass("hide")}else{$(".comment-follow").addClass("hide")}});var frontend=frontend||{};frontend.Community=function(b){var a=this;a.sessionLoaded=false;a.loggedIn=false;a.phoneStatus=false;a.defaults={cookieName:"PHPSESSID",zudCookieName:"zud",useHttps:($.browser.msie&&parseInt($.browser.version)<=9)||$.browser.opera?false:true,dialogSelector:"div.login-box.drawer"};a.options=$.extend({},a.defaults,b);a.normalizeURL=function(c){if(c[0]=="/"){return c}c=c.replace(/^[^\:]+\:/,"");c="https:"+c;return c};(function(){})();a.loadSessionXhr=null;a.loadSession=function(){if(a.hasSessionCookie()){if(a.loadSessionXhr!==null||a.sessionLoaded){return}a.loadSessionXhr=$.ajax({type:"POST",url:"https://futurezone.at/community/sessionupdate",dataType:"json",xhrFields:{withCredentials:true},success:function(d,e,c){$(document).trigger(fuzo.events.SESSION_LOADED,d);a.sessionLoaded=true;if(d&&!$.isEmptyObject(d)){a.loggedIn=true;$(".comments-user-img").attr("src",d.pictureUrl);$(".comments-user").text(d.nickname?d.nickname:d.firstName+" "+d.lastName);$(".comment-follow").removeClass("hide");if(d.phoneStatus){a.phoneStatus=d.phoneStatus;if(d.phoneStatus===50){$(".frontend-comment").hide();$(".comments-message-box").html('<span class="comments-headline">Sie wurden für das Posten von Kommentaren gesperrt!</span>')}}else{a.phoneStatus=false}}},error:function(c,e,d){a.sessionLoaded=false;a.loggedIn=false;a.phoneStatus=false},complete:function(c,d){a.loadSessionXhr=null}})}else{$(document).trigger(fuzo.events.SESSION_LOADED);a.sessionLoaded=true}};a.hasSessionCookie=function(){return($.cookie(a.options.cookieName)!==null||$.cookie(a.options.zudCookieName)!==null)};a.doLoginXhr=null;a.doLogin=function(e,d,g,f,h,c){if(a.doLoginXhr!==null){return}a.doLoginXhr=$.ajax({type:"POST",url:"https://futurezone.at/community/login",data:{email:e,password:d,permanent:g,terms:f},dataType:"json",xhrFields:{withCredentials:true},success:function(k,l,j){if(k&&!$.isEmptyObject(k)&&k.user){$(document).trigger(fuzo.events.SESSION_LOADED,k.user);a.sessionLoaded=true;a.loggedIn=true;if($.type(h)==="function"){h(k)}$(".comments-user-img").attr("src",k.user.pictureUrl);$(".comments-user").text(k.user.nickname?k.user.nickname:k.user.firstName+" "+k.user.lastName);$(".comment-follow").removeClass("hide");if(k.user.phoneStatus){a.phoneStatus=k.user.phoneStatus}else{a.phoneStatus=false}}else{if(k&&!$.isEmptyObject(k)&&k.error){a.sessionLoaded=false;a.loggedIn=false;a.phoneStatus=false;if($.type(c)==="function"){c(k)}}}},error:function(j,l,k){a.sessionLoaded=false;a.loggedIn=false;a.phoneStatus=false;if($.type(c)==="function"){c({user:null,error:j.responseText})}},complete:function(j,k){a.doLoginXhr=null}})};a.doSocialLoginXhr=null;a.doSocialLogin=function(c,j,e,m,d,g,k,h,f,n,l){if(a.doSocialLoginXhr!==null){return}a.doSocialLoginXhr=$.ajax({type:"POST",url:"https://futurezone.at/community/sociallogin",data:{UID:c,UIDSignature:j,signatureTimestamp:e,provider:m,permanent:d,linkingEmail:g,linkingPassword:k,terms:f,nickname:h},dataType:"json",xhrFields:{withCredentials:true},success:function(p,q,o){if(p&&!$.isEmptyObject(p)&&p.user){$(document).trigger(fuzo.events.SESSION_LOADED,p.user);a.sessionLoaded=true;a.loggedIn=true;if($.type(n)==="function"){n(p)}$(".comments-user-img").attr("src",p.user.pictureUrl);$(".comments-user").text(p.user.nickname?p.user.nickname:p.user.firstName+" "+p.user.lastName);if(p.user.phoneStatus){a.phoneStatus=p.phoneStatus}else{a.phoneStatus=false}}else{if(p&&!$.isEmptyObject(p)&&p.error){a.sessionLoaded=false;a.loggedIn=false;a.phoneStatus=false;if($.type(l)==="function"){l(p)}}}},error:function(o,q,p){a.sessionLoaded=false;a.loggedIn=false;a.phoneStatus=false;if($.type(l)==="function"){l({user:null,error:o.responseText})}},complete:function(o,p){a.doSocialLoginXhr=null}})};a.doLogout=function(){$(document).trigger(fuzo.events.SESSION_ABANDONED);a.sessionLoaded=false;a.loggedIn=false;a.phoneStatus=false;setTimeout(function(){location.href="https://futurezone.at/community/logout"},1000)};a.doRegisterXhr=null;a.doRegister=function(j,m,g,f,k,c,e,d,l,h){if(a.doRegisterXhr!==null){return}a.doRegisterXhr=$.ajax({type:"POST",url:"https://futurezone.at/community/register",data:{firstName:j,lastName:m,email:g,nickname:f,password:k,passwordRep:c,terms:e,newsletter:d},dataType:"json",xhrFields:{withCredentials:true},success:function(o,p,n){if(o&&!$.isEmptyObject(o)&&o.user){if($.type(l)==="function"){l(o)}}else{if(o&&!$.isEmptyObject(o)&&o.error){if($.type(h)==="function"){h(o)}}}},error:function(n,p,o){if($.type(h)==="function"){h({user:null,error:n.responseText})}},complete:function(n,o){a.doRegisterXhr=null}})};a.doResetPasswordXhr=null;a.doResetPassword=function(d,e,c){if(a.doResetPasswordXhr!==null){return}a.doResetPasswordXhr=$.ajax({type:"POST",url:"https://futurezone.at/community/passwordreset",data:{email:d},dataType:"json",xhrFields:{withCredentials:true},success:function(g,h,f){if(g&&!$.isEmptyObject(g)&&g.user){if($.type(e)==="function"){e(g)}}else{if(g&&!$.isEmptyObject(g)&&g.error){if($.type(c)==="function"){c(g)}}}},error:function(f,h,g){if($.type(c)==="function"){c({user:null,error:f.responseText})}},complete:function(f,g){a.doResetPasswordXhr=null}})};a.doResetPasswordTokenXhr=null;a.doResetPasswordToken=function(e,d,g,f,c){if(a.doResetPasswordTokenXhr!==null){return}a.doResetPasswordTokenXhr=$.ajax({type:"POST",url:"https://futurezone.at/community/resetpassword",data:{token:e,password:d,passwordRep:g},dataType:"json",xhrFields:{withCredentials:true},success:function(j,k,h){if(j&&!$.isEmptyObject(j)&&j.user){if($.type(f)==="function"){f(j)}}else{if(j&&!$.isEmptyObject(j)&&j.error){if($.type(c)==="function"){c(j)}}}},error:function(h,k,j){if($.type(c)==="function"){c({user:null,error:h.responseText})}},complete:function(h,j){a.doResetPasswordTokenXhr=null}})};a.doSubscribeNewsletterXhr=null;a.doSubscribeNewsletter=function(d,e,c){if(a.doSubscribeNewsletterXhr!==null){return}a.doSubscribeNewsletterXhr=$.ajax({type:"POST",url:"https://futurezone.at/community/newsletter",data:{email:d},dataType:"json",xhrFields:{withCredentials:true},success:function(g,h,f){if(g&&g.success){if($.type(e)==="function"){e(g)}}else{if(g&&g.error){if($.type(c)==="function"){c(g)}}}},error:function(f,h,g){if($.type(c)==="function"){c({success:null,error:f.responseText})}},complete:function(f,g){a.doSubscribeNewsletterXhr=null}})};a.doActivationXhr=null;a.doActivation=function(d,e,c){if(a.doActivationXhr!==null){return}a.doActivationXhr=$.ajax({type:"POST",url:"https://futurezone.at/community/activate",data:{token:d},dataType:"json",xhrFields:{withCredentials:true},success:function(g,h,f){if(g&&!$.isEmptyObject(g)&&g.user){if($.type(e)==="function"){e(g)}}else{if(g&&!$.isEmptyObject(g)&&g.error){if($.type(c)==="function"){c(g)}}}},error:function(f,h,g){if($.type(c)==="function"){c({user:null,error:f.responseText})}},complete:function(f,g){a.doActivationXhr=null}})};a.doRequestPhoneTokenXhr=null;a.doRequestPhoneToken=function(c,e,d){if(a.doRequestPhoneTokenXhr!==null){return}a.doRequestPhoneTokenXhr=$.ajax({type:"POST",url:"https://futurezone.at/community/tan/requestPhoneToken",data:{phoneNr:c},dataType:"json",xhrFields:{withCredentials:true},success:function(g,h,f){if(g&&g.success){if($.type(e)==="function"){e(g)}}else{if(g&&g.error){if(g.status&&g.status===50){a.phoneStatus=g.status;$(".comments-message-box").html('<span class="comments-headline">Sie wurden für das Posten von Kommentaren gesperrt!</span>')}if($.type(d)==="function"){d(g)}}}},error:function(f,h,g){if($.type(d)==="function"){d({success:null,error:f.responseText})}},complete:function(f,g){a.doRequestPhoneTokenXhr=null}})};a.doAuthorizePhoneTokenXhr=null;a.doAuthorizePhoneToken=function(d,e,c){if(a.doAuthorizePhoneTokenXhr!==null){return}a.doAuthorizePhoneTokenXhr=$.ajax({type:"POST",url:"https://futurezone.at/community/tan/authorizePhoneToken",data:{token:d},dataType:"json",xhrFields:{withCredentials:true},success:function(g,h,f){if(g&&g.success){if($.type(e)==="function"){e(g)}}else{if(g&&g.error){if(g.status){a.phoneStatus=g.status;if(g.status===50){$(".frontend-comment").hide();$(".comments-message-box").html('<span class="comments-headline">Sie wurden für das Posten von Kommentaren gesperrt!</span>')}}if($.type(c)==="function"){c(g)}}}},error:function(f,h,g){if($.type(c)==="function"){c({success:null,error:f.responseText})}},complete:function(f,g){a.doAuthorizePhoneTokenXhr=null}})}};var Community;(function(){Community=new frontend.Community({useHttps:true})})();$(document).on(fuzo.events.HEADER_LOADED,function(){if(navigator.userAgent.match(/Android.+Mobile|iPhone|iPad|iPod|BlackBerry|Opera Mini|IEMobile|Windows Phone/i)){$("body").addClass("istouchdevice")}if(navigator.userAgent.match(/Android.+Mobile|iPhone|iPod|BlackBerry|Opera Mini|IEMobile|Windows Phone/i)){$(".mobile-redirect").show()}if(!($.browser.msie&&parseInt($.browser.version)<=8)&&!navigator.userAgent.match(/Android.+Mobile|iPhone|iPod|BlackBerry|Opera Mini|IEMobile|Windows Phone/i)){var a=false;$(window).scroll(function(){if(!$("#sticky_container_1").children().length){$("#AdContainer_Skyscraper").css({top:$("header.header").position().top+55+"px",position:"absolute"})}else{$("#AdContainer_Skyscraper").css({top:$("header.header").position().top+55+"px",position:"fixed"})}if($("article section").length){if($("aside .relatedarticles").length){if(a===false){$("#AdContainer_MediumRectangle").slideDown();a=true}}else{if(a===true){$("#AdContainer_MediumRectangle").slideUp();a=false}}}})}Community.loadSession()});var seperatorTop;$(document).on(fuzo.events.CONTENT_LOADED,function(){$(".floatimg").click(function(){if($(".resize",this).parent().hasClass("big")){$(".resize",this).parent().removeClass("big")}else{$(".resize",this).parent().addClass("big")}return false});$("body").click(function(){$(".activebubble").fadeOut()});$(".share .icon").click(function(){var b=debug($(this).next(".morebubble"));if(b.css("display")==="none"){b.fadeIn();b.addClass("activebubble")}else{b.fadeOut();b.removeClass("activebubble")}return false});var a=$("#slidingteaser");if(a&&a.length>0&&typeof a.orbit!="undefined"){a.orbit({timer:false,bullets:true,captions:true})}$("body").on("submit",".newsletter-form-wrapper form",function(){var b=$(this);var d=b.closest(".newsletter-form-wrapper");var c=b.find('input[name="email"]').val();if(!c){return false}Community.doSubscribeNewsletter(c,function(e){d.find(".newsletter-message").removeClass("error").addClass("success").html(e.success).show();b.hide()},function(e){d.find(".newsletter-message").removeClass("success").addClass("error").html(e.error).show()});return false})});function trackAnalytics(b){b.unshift("_trackEvent");for(var a in b){b[a]=b[a]+""}_gaq.push(b)}var reloadAdsCallCount=0;function reloadAds(d,a){if(typeof a==="undefined"){a=false}d=$(d);if(typeof OAS_sitepage==="undefined"){return}var c=OAS_sitepage;var b=[];d.find(".ajaxLoadedAd").each(function(e,f){b.push($(f).data("listpos"))});if(b.length===0){return}if(!a&&reloadAdsCallCount++%2!==0){return}reloadAdPositions(d,c,b);return}function reloadAdPositions(f,e,b){var a=window.innerHeight;var d=window.innerWidth;var c=$('<iframe src="/_iframe/ads?sitepage='+e+"&listpos="+b.join(",")+'" width="'+d+'" height="'+a+'" style="display: none;"></iframe>');c.data("parent",f);$("body").append(c);return}function isTouchDevice(){return(typeof(window.ontouchstart)!="undefined")?true:false}function switchToMobile(){_gaq.push(["_trackEvent","Version Switch","Desktop -> Mobile",window.location.pathname,0,true]);$.removeCookie("nomobileredirect",{domain:"futurezone.at",path:"/"});window.location.href=window.location.href.replace("futurezone.at","m.futurezone.at")}function debug(a){if(typeof console!="undefined"){console.log(a)}return a}function error(a){if(typeof console!="undefined"){console.error(a)}return a}function warning(a){if(typeof console!="undefined"){console.warn(a)}return a}function info(a){if(typeof console!="undefined"){console.info(a)}return a}(function(a){a(document).ready(function(){function b(){window.setTimeout(function(){var d=a("#subHeaderButtonContainer");var e=d.find("div.subHeaderButton:visible");e.fadeOut(500);var c=e.next("div.subHeaderButton").first();if(!c.length){c=e.siblings(":hidden").first()}c.fadeIn(500);b()},15000)}if(a("#subHeaderButtonContainer").children("div.subHeaderButton:hidden").length){b()}})})(jQuery);if(!Array.prototype.indexOf){Array.prototype.indexOf=function(c){if(this==null){throw new TypeError()}var d=Object(this);var a=d.length>>>0;if(a===0){return -1}var e=0;if(arguments.length>1){e=Number(arguments[1]);if(e!=e){e=0}else{if(e!=0&&e!=Infinity&&e!=-Infinity){e=(e>0||-1)*Math.floor(Math.abs(e))}}}if(e>=a){return -1}var b=e>=0?e:Math.max(a-Math.abs(e),0);for(;b<a;b++){if(b in d&&d[b]===c){return b}}return -1}}var fuzo=fuzo||{};fuzo.Comments=function(){var a=this;a.isLoggedIn=function(){if(typeof Community==="undefined"){return false}return Community.loggedIn};a.redirectToLogin=function(){var b=$(".topmenus .topNav ul li.anmelden a");if(b){b.click()}return false};a.loadPermalink=function(e,c,d,b){if(typeof c==="undefined"||typeof e==="undefined"){return false}$.ajax("/comment/permalink/"+e+"/"+c,{type:"GET",success:function(g,h,f){if(g){Comments.loadComments(e,g);$(document).one(fuzo.events.COMMENTS_LOADED,function(){$("[id^=commentbox_], .comments-pagination").removeClass("hide");$("#showMoreComments").addClass("hide");if(window.location.hash.length!==0&&window.location.hash.indexOf("commentbox")!==-1){var j=window.location.hash.split("_")[1];a.goToPermalink(j)}})}}})};a.goToPermalink=function(b){$("[id^=commentbox_], .comments-pagination").removeClass("hide");$("#showMoreComments").addClass("hide");if(typeof $("#commentbox_"+b).offset()!=="undefined"){$("html, body").animate({scrollTop:$("#commentbox_"+b).offset().top-$(".header.header").height()})}};(function(){$(document).on(fuzo.events.CONTENT_LOADED,function(){$("#commentformwrapper, .comments-login-link").on("click",function(b){if(!a.isLoggedIn()){comments.redirectToLogin()}})})})()};var comments;(function(){comments=new fuzo.Comments()})();var fuzo=fuzo||{};fuzo.Questionnaire=function(c,a){var b=this;var d=$(c);d.data("questionnaire",b);b.showMessage=function(f,e){d.find(".jsQuestionnaireChoices").removeClass("loading").html(f);d.find(".jsQuestionnaireButtons").hide();d.find(".jsQuestionnaireText").hide()};b.showResult=function(q){if(a){var o=$("<ul></ul>");if(typeof q.questions!=="undefined"){o.append($("<li>"+q.completeUserCount+" Mitspieler.</li>"));o.append($("<li>Du hast "+q.correctAnswerRatio+"% richtig.</li>"));o.append($("<li>Mehr erfährst du auf der Quizseite.</li>"))}else{for(var m in q){if(q.length>1){d.find(".questionText").text("");o.append("<li>"+q[m].text+"<span>"+q[m].count+"</span></li>")}else{d.find(".questionText").text(q[m].text+"<span>"+q[m].count+"</span>")}if($.map(q[m].choices,function(t,j){return j}).length>3){o.append($('<li><span class="resulttext">Danke für Deine Stimme!</span></li>'));o.append($('<li><span class="resulttext">Das Ergebnis erfährst Du auf der Umfrageseite.</span></li>'))}else{for(var k in q[m].choices){var l=q[m].choices[k];o.append($('<li><span class="resulttext">'+l.text+'</span><div class="resultcontainer"><span class="percent dinmedium11">'+Math.round(l.percentage)+'%</span><span class="bar" style="width:'+Math.round(l.percentage)+'%"></span></div><div class="clear"></div></li>'))}}}}d.find(".jsQuestionnaireChoices").replaceWith($('<div class="jsQuestionnaireChoices" />').append(o));d.find(".jsQuestionnaireButtons .submitButton").hide()}else{var o=$("<ul></ul>");if(typeof q.questions!=="undefined"){d.find(".jsQuestionnaireText").text("");d.find(".jsQuestionnaireChoices").removeClass("loading");d.find(".questionnaireContainer").prepend($('<hr class="margintb10"/><span class="dinmedium24 margint10">Auflösung</span>'));var f=d.find(".questioncontainer");f.empty();var h="Sie verfügen über ein solides Grundwissen auf diesem Gebiet. Weiter so!";if(q.correctAnswerRatio>66){h="Sehr gut gemacht! Ihnen kann auf diesem Gebiet keiner etwas vormachen."}else{if(q.correctAnswerRatio<33){h="Da geht noch was. Ihre Fachgebiete liegen offenbar in anderen Bereichen."}}f.prepend($('<span class="block marginb10">Sie haben '+q.correctAnswerCount+" von "+q.questionCount+" Fragen richtig beantwortet. "+h+"</span>"));var o=$("<ul></ul>");var e=1;for(var m in q.questions){var p=$('<li class="question marginb15"><span class="dinregular11 blockletters">Frage '+e+++"</span></li>");p.append($('<h2 class="dinregular18">'+q.questions[m].text+"</h2>"));if(typeof q.questions[m].imageUrl!=="undefined"){p.append($('<img src="'+q.questions[m].imageUrl+'" alt="'+q.questions[m].text+'" /><span class="dinmedium13">'+q.questions[m].imageDescription+"</span>"))}if(typeof q.questions[m].imageUrl!=="undefined"){var s=$('<ul class="withimg"></ul>')}else{var s=$("<ul></ul>")}for(var k in q.questions[m].choices){var r="";var g="";if(q.questions[m].choices[k].userAnswer&&q.questions[m].choices[k].correctAnswer){r="green block";g="richtig"}else{if(q.questions[m].choices[k].correctAnswer){r="green block";g=""}else{if(q.questions[m].choices[k].userAnswer&&!q.questions[m].choices[k].correctAnswer){r="red block";g="falsch"}}}var n=$('<label for="choice-'+k+'" class="'+r+'"></label>');if(g!==""){n.append($('<span class="conclusion dinmedium11 blockletters">'+g+"</span>"))}if(q.questions[m].choices[k].userAnswer){n.append($('<input name="choices['+m+'][]" type="radio" disabled checked id="choice-'+k+'">'))}else{n.append($('<input name="choices['+m+'][]" type="radio" disabled id="choice-'+k+'">'))}n.append($('<span class="answer">'+q.questions[m].choices[k].text+"</span>"));n.append($('<div class="clear"></div>'));s.append($("<li></li>").append(n))}p.append(s);o.append(p)}f.append(o)}else{d.find(".jsQuestionnaireChoices").removeClass("loading");for(var m in q){if(q.length>1){d.find(".questionText").text("");o.append("<li>"+q[m].text+"<span>"+q[m].count+"</span></li>")}else{d.find(".questionText").text(q[m].text+"<span>"+q[m].count+"</span>")}for(var k in q[m].choices){var l=q[m].choices[k];o.append($('<li><span class="resulttext block">'+l.text+'</span><div class="resultcontainer"><span class="percent dinmedium11">'+l.percentage+'%</span><span class="percentdivider"></span><span class="bar" style="width:'+Math.round(l.percentage)+'%"></span></div><div class="clear"></div></li>'))}}}d.find(".jsQuestionnaireChoices").empty().append(o);d.find(".jsQuestionnaireButtons .submitButton").hide()}};b.showQuestion=function(h){var j=$("<ul></ul>");d.attr("action",h.action);$userReference=d.find("input[name=userReference]");if($userReference.length===0){$userReference=$('<input type="hidden" name="userReference" value="'+h.userReference+'">')}d.append($userReference);if(a){d.find(".questionText").text(h.text);for(var g in h.choices){var f=$('<label for="choice-'+g+'"></label>');f.append($('<input name="choice[]" type="radio" value="'+g+'" id="choice-'+g+'">'));f.append($('<span class="blockcontent">'+h.choices[g].text+'</span><span class="clear"></span>'));j.append($("<li></li>").append(f))}}else{d.find(".jsQuestionnaireText").text(h.text);d.find(".jsQuestionIndex").text((h.index+1));d.find(".bullets .bullet").removeClass("active").eq(h.index).addClass("active");if(typeof h.imageUrl!=="undefined"){var k=$('<img src="'+h.imageUrl+'" alt="'+h.text+'" />');d.find(".questionImage").html(k);d.find(".questionImage").append('<figcaption class="dinregular13 cmedium padding10">'+h.imageDescription+"</figcaption>")}for(var g in h.choices){var f=$('<label for="choice-'+g+'"></label>');f.append($('<input name="choice[]" type="radio" value="'+g+'" id="choice-'+g+'">'));f.append($('<span class="answer">'+h.choices[g].text+'</span><span class="clear"></span>'));j.append($("<li></li>").append(f))}if(typeof h.uploadAction!=="undefined"){var f=$('<iframe height="75" width="400" src="'+h.uploadAction+'" border="0" frameborder="0" allowTransparency="true"></iframe>');j.append($("<li></li>").append(f))}if(h.freeTextAllowed){var f=$('<label for="question-'+h.id+'-freechoice"></label>');f.append($('<input name="choice[]" type="text" id="question-'+h.id+'-freechoice">'));j.append($("<li></li>").append(f))}}d.find(".jsQuestionnaireChoices").replaceWith($('<div class="jsQuestionnaireChoices" />').append(j));var e=d.find("input");b.buttonControl(e)};b.buttonControl=function(f){d.find(".jsQuestionnaireButtons").show();for(var g=0,e=f.length;g<e;g++){var h=f[g].type;if(h=="radio"){$(f[g]).bind("change",function(){d.find(".jsQuestionnaireButtons").removeClass("questionnairebuttons-inactive");$(this).unbind("change")})}else{if(h=="text"){$(f[g]).bind("keydown",function(){d.find(".jsQuestionnaireButtons").removeClass("questionnairebuttons-inactive");$(this).unbind("keydown")})}}}};(function(){var e=d.find("input");b.buttonControl(e);$(document).on(fuzo.events.SESSION_LOADED,function(g,h){if(h&&!$.isEmptyObject(h)&&$.cookie("PHPSESSID")!==null){d.find(".questionnaireContainer").removeClass("hide");d.find(".loginNotice").addClass("hide")}});d.find("a.login").on("click",function(g){var h=$(".topmenus .topNav ul li.anmelden a");if(h){h.click()}return false});d.find(".submitButton").on("click",function(){var h=false;$('input[type="radio"]').each(function(){if($(this).attr("checked")){h=true}});$("input[type=text]").each(function(){if($(this).val()){h=true}});if(!h){return false}var g=d.attr("action");var j=d.serialize();if(j.length==0){return false}d.find(".jsQuestionnaireChoices").addClass("loading").html("");reloadOewa();$.ajax({url:g,type:"POST",data:j,dataType:"JSON",success:function(l,m,k){if(typeof l.error!=="undefined"){b.showMessage(l.error.message,"error")}else{if(typeof l.message!=="undefined"){b.showMessage(l.message,"info")}else{if(typeof l.result!=="undefined"){b.showResult(l.result)}else{if(typeof l.question!=="undefined"){b.showQuestion(l.question)}}}}}});return false});d.find(".freeTextChoice").keypress(function(g){if(g.which===13){d.find(".submitButton").focus().click();return false}});if(d.data("questionnaire-type")=="3"){d.find(".jsQuestionnaireButtons .inactive").hide()}if(d.data("questionnaire-type")=="1"&&$.cookie("questionnaire:"+d.data("questionnaire-id")+"-question:"+d.data("firstquestion-id"))!==null){var f=d.data("result-url");$.ajax({url:f,type:"GET",dataType:"JSON",success:function(h,j,g){if(typeof h.error!=="undefined"){b.showMessage(h.error.message,"error")}else{if(typeof h.message!=="undefined"){b.showMessage(h.message,"info")}else{if(typeof h.result!=="undefined"){b.showResult(h.result)}}}}})}else{if(d.data("questionnaire-type")=="3"&&$.cookie("questionnaire:"+d.data("questionnaire-id")+"-question:"+d.data("firstquestion-id"))!==null){var f=d.attr("action");$.ajax({url:f,type:"GET",dataType:"JSON",success:function(h,j,g){if(typeof h.error!=="undefined"){if(h.error.code=="nochoiceselected"){d.find(".questionnaireContainer").removeClass("hide");d.find(".loginNotice").addClass("hide")}else{b.showMessage(h.error.message,"error")}}else{if(typeof h.message!=="undefined"){b.showMessage(h.message,"info")}else{if(typeof h.result!=="undefined"){b.showResult(h.result)}}}}})}}})()};$(document).on(fuzo.events.HEADER_LOADED,function(){$(".cancelsearch").click(function(){$("#livesearch").hide();$(".searchfield input:text").focus().attr("value","");$(this).hide();return false});$(".frontend-fuzo .searchfield").on("click",".showallcategory",function(){$(this).parent().parent().find(".liveresult").removeClass("hide");$(".frontend-fuzo .livesearch .borderline.shown").animate({height:"26px"},500,function(){$(this).addClass("hidden").removeClass("shown");$(this).find(".liveresult").addClass("hide");$(this).find(".liveresult").first().removeClass("hide")});$(".frontend-fuzo .livesearch .liveshowall").removeClass("hide");var a=$(this).parent().parent();curHeight=a.height();autoHeight=a.css("height","auto").height();a.height(curHeight).animate({height:autoHeight},1000,function(){$(this).removeClass("hidden").addClass("shown")});$(this).parent().addClass("hide");return false});$(".frontend-fuzo .searchfield").on("click",".showallresults",function(){submitSearch();return false});$(".frontend-fuzo #livesearch").on("mouseenter",function(){$(".frontend-fuzo #livesearch .focus").removeClass("focus")});$(".frontend-fuzo .searchfield input:text").on("blur",function(){if($(this).focus().attr("value")==("")){$(".cancelsearch").hide()}});$("#searchTerm").on("keyup",function(a){switch(a.keyCode){case 38:navigate("up");return false;break;case 40:navigate("down");return false;break;case 13:if($("#livesearch .jsLiveResult.focus").length>0){window.location=$("#livesearch .jsLiveResult.focus").children("a").attr("href")}else{submitSearch($(this).val())}return false;break;default:doLiveSearch($(this).val());break}});$('.searchfield input[name="searchbutton"]').on("click",function(){submitSearch($("#searchTerm").val())})});for(var i=0;i<$(".liveresult").size();i++){$(".liveresult").eq(i).data("number",i);$("#livesearch > .livesearch").css("display","block")}function navigate(a){if($("#livesearch .jsLiveResult.focus").length===0){currentSelection=-1}if(a==="up"&&currentSelection!==-1){if(currentSelection!==0){currentSelection--}}else{if(a==="down"){if(currentSelection!==($("#livesearch .jsLiveResult:visible").size()-1)){currentSelection++}}}$("#livesearch .jsLiveResult:visible").removeClass("focus");$("#livesearch .jsLiveResult:visible").eq(currentSelection).addClass("focus")}function submitSearch(a){if(a.length>0){var b="/search/"+encodeURIComponent(a);window.location.href=b}return false}function resetSearch(){$("#jsAjaxLiveResultContent").hide();$("#jsAjaxLiveResultContent").html('<div class="category"></div><ul class="borderline"><li class="liveresult">... Bitte warten</li></ul>');$("#jsAjaxLiveResultImmo").hide();$("#jsAjaxLiveResultImmo").html('<div class="category"></div><ul class="borderline"><li class="liveresult">... Bitte warten</li></ul>');$("#jsAjaxLiveResultKarrieren").hide();$("#jsAjaxLiveResultKarrieren").html('<div class="category"></div><ul class="borderline"><li class="liveresult">... Bitte warten</li></ul>');$("#jsAjaxLiveResultTv").hide();$("#jsAjaxLiveResultTv").html('<div class="category"></div><ul class="borderline"><li class="liveresult">... Bitte warten</li></ul>')}var searchEvalCount=0;var inProgressUntil=4;function evalSearchProgress(a){if(a){$(".cancelsearch").hide();$(".searchloader").hide()}else{searchEvalCount++;$(".searchloader").show();if(searchEvalCount>=inProgressUntil){$(".searchloader").hide();$(".cancelsearch").show();searchEvalCount=0}}}var fuzo=fuzo||{};fuzo.StickyNav=function(){var a=this;var d=$("#stickyNav"),h=$("#stickyNavWrapper"),f=$("#articleWrapper"),c=75,e=30;a.adjustStickyNavWrapperHeight=function(){h.css("height",f.height())};var g=function(){h.css("height",f.height());var j=parseInt($(window).scrollTop()),k=$("#relatedStories");if(navigator.userAgent.match(/Android.+Mobile|iPhone|iPod|BlackBerry|Opera Mini|IEMobile|Windows Phone/i)){d.css({position:"static"})}else{if(j<(h.offset().top-c)){d.css({position:"static"})}else{if(k.length&&(j>(k.offset().top-d.height()-e-c))){d.css({position:"absolute",bottom:e,top:"auto"})}else{d.css({position:"fixed",top:c,bottom:"auto"})}}}};var b=function(k,m){if(k==="article"&&m==="up"){return}var l=$('#stickyNav li[data-nav-section="'+k+'"]');var j=$("#stickyNav li.item").index(l);if(m==="up"){l.removeClass("done");l=$("#stickyNav li.item").eq((j-1))}else{if(m==="down"){$("#stickyNav li.done .stickycontent").slideUp();if(!l.hasClass("done")){l.addClass("done")}}}if(!l.hasClass("highlighted")){$("#stickyNav li").removeClass("highlighted");$("#stickyNav .colorheadline").removeClass("colorheadline").addClass("stickynavheadline");$("#stickyNav li:not(.done) .stickycontent").slideDown();l.find(".stickynavheadline").removeClass("stickynavheadline").addClass("colorheadline");l.find(".stickycontent").slideDown();l.addClass("highlighted")}};(function(){if(d.length>0){$(window).on("scroll",function(){g()});$(window).on("resize",function(){g()});$("section.heroheader").waypoint(function(j,k){b("article",k)},{offset:400});$('a[name="diskussion"]').waypoint(function(j,k){b("comments",k)},{offset:600});$("section#relatedStories").waypoint(function(j,k){b("related",k)},{offset:400});$("[data-text-section]").waypoint(function(j,k){b($(this).data("text-section"),k)},{offset:400})}})()};var stickyNav;$(document).on(fuzo.events.CONTENT_LOADED,function(){if(!($.browser.msie&&parseInt($.browser.version)<=8)){if($(".frontend-fuzo").length>0){stickyNav=fuzo.StickyNav()}$(".linktoanchor").click(function(d){var a=$(this).attr("href");var c=$(this).closest("li");var g=$(this).closest("ul");var f=($("li",g).index(c)*30)+50;var b=$(a).offset().top-f;$("html, body").animate({scrollTop:b},600)})}});var StickyNode=function(a){var c=this;var d=function(j,n){var h=this;var m=null;h.level=n;h.$node=j;h.originalOffset=j.offset();var k;var l=function(){if(!h.attachedToOrigin()){return h}if(m===null){m=$('<span style="display: block; height:'+j.outerHeight()+"px; width:"+j.outerWidth()+'"></span>')}k={position:j.css("position"),top:j.css("top"),left:j.css("left"),"z-index":j.css("z-index"),};j.replaceWith(m);j.css("position","absolute");j.css("z-index",f.length-h.level);return h};h.stickTo=function(o){if(h.attachedToOrigin()){l()}o.append(j);j.css("left",(h.originalOffset.left-j.parent().offset().left)+"px");return h};h.attachToOrigin=function(){if(h.attachedToOrigin()){return h}j.detach();for(var o in k){j.css(o,k[o])}m.replaceWith(j);return h};h.attachedToOrigin=function(){return !$.contains(a[0],j[0])};h.isSticking=function(){return !h.attachedToOrigin()};h.updateZIndex=function(){if(h.isSticking()){j.css("z-index",f.length-h.level)}return h}};var f=[];var e=0;c.add=function(h,o){if(o>=f.length){var n=f.length;for(var m=f.length;m<=o;m++){f[m]=[]}for(var m=0;m<n;m++){for(var k=0;k<f[m].length;k++){f[m][k].updateZIndex()}}}if(typeof h==="string"){h=$(h)}var l=f[o];h.each(function(){l.push(new d($(this),o))});l.sort(function(p,j){return p.originalOffset.top-j.originalOffset.top});f[o]=l;e=0;b();return c};var b=function(){var h=a.offset().top;if(h==e){return}for(var j=0;j<f.length;j++){g(h,j)}e=h;return c};var g=function(k,p){var h=0;for(var m=0;m<p;m++){for(var l=f[m].length-1;l>=0;l--){if(f[m][l].isSticking()){h+=f[m][l].$node.height();break}}}if(k>e){k+=h;for(var m=0;m<f[p].length;m++){var n=f[p][m];if(n.originalOffset.top>k){break}if(n.isSticking()){continue}n.stickTo(a)}m--}else{k+=h;for(var m=f[p].length-1;m>=0;m--){var n=f[p][m];if(n.originalOffset.top<=k){break}if(!n.isSticking()){continue}n.attachToOrigin()}}if(m<0){return}for(var l=0;l<m;l++){f[p][l].$node.hide()}var n=f[p][m];n.$node.show();n.$node.css("top",h+"px");var o=n.$node.height();do{for(var l=f[p].length-1;l>=0;l--){if(f[p][l].isSticking()){if(f[p][l].originalOffset.top>n.originalOffset.top&&p<n.level){n.$node.hide();return}break}o=Math.min(o,f[p][l].originalOffset.top-k)}}while(--p>=0);if(o<n.$node.height()){n.$node.css("top",Math.round(h-(n.$node.height()-o))+"px")}};(function(){if(typeof a==="undefined"){a=$('<div style="position: fixed; top: 0px"></div>');a.prependTo("body")}$(window).on("touchmove, scroll",b)})()};var fuzo=fuzo||{};fuzo.SubNav=function(b){var a=this;a.defaults={delay:250,navSelector:".nav-bar",elementSelector:".entry.has-flyout",flyoutSelector:".flyout",hoverClass:"hover"};a.options=$.extend(b,a.defaults);(function(){var d=$(a.options.navSelector);var c=$(a.options.navSelector+" "+a.options.elementSelector);var e=a.options.delay;d.on("mouseenter",function(){e=0}).on("mouseleave",function(){e=a.options.delay});c.on("mouseenter",function(){var h=$(this);var g=$(this).find(a.options.flyoutSelector);if(g.data("status")!=="loaded"){var f;if(!($.browser.msie&&parseInt($.browser.version)<=8)&&typeof comments!=="undefined"){f=function(k,l,j){comments.loadCommentCount(g)}}g.find(".subnav").load("/_frame/subnav/"+g.data("navitem"),f);g.data("status","loaded")}c.filter(".hover").each(function(j,k){if($(k)[0]!==h[0]){clearTimeout($(k).data("mouseout-timeout"));$(k).data("mouseout-timeout",null);$(k).removeClass(a.options.hoverClass).children(a.options.flyoutSelector).hide()}});if(h.data("mouseout-timeout")!==null&&h.data("mouseout-timeout")!==undefined){clearTimeout(h.data("mouseout-timeout"))}else{h.data("mousein-timeout",setTimeout(function(){h.addClass(a.options.hoverClass).children(a.options.flyoutSelector).fadeIn(100);$(".nav-bar .entry.active").not(".hover").addClass("shadow");if(h.hasClass("shadow")){h.removeClass("shadow")}h.data("mousein-timeout",null)},e))}}).on("mouseleave",function(){var f=$(this);if(f.data("mousein-timeout")!==null&&f.data("mousein-timeout")!==undefined){clearTimeout(f.data("mousein-timeout"));$(".nav-bar .entry").removeClass("shadow")}else{f.data("mouseout-timeout",setTimeout(function(){$(f).removeClass(a.options.hoverClass).children(a.options.flyoutSelector).hide();f.data("mouseout-timeout",null);$(".nav-bar .entry").removeClass("shadow")},250))}})})()};var subnav;$(document).on(fuzo.events.CONTENT_LOADED,function(){subnav=fuzo.SubNav()});var fuzo=fuzo||{};fuzo.TabbedBox=function(a,c){var b=this;this.$tabs=a;this.$buttons=c;this.activeIndex=-1;this.$tabs.each(function(e,f){var g=$(f);if(this.activeIndex==-1){if(g.hasClass("tab-active")){this.activeIndex=e}}else{g.removeClass("tab-active")}b.$buttons.eq(e).on("click",function(){b.jumpTo(e)})});if(this.activeIndex==-1){this.activeIndex=0;this.$tabs.eq(0).addClass("tab-active")}this.$buttons.removeClass("tab-button-active");this.$buttons.eq(this.activeIndex).addClass("tab-button-active");var d=function(){b.timeout=null;b.cycle();b.timeout=window.setTimeout(d,10000)}};fuzo.TabbedBox.prototype.cycle=function(){this.jumpTo(this.activeIndex==this.$tabs.length-1?0:this.activeIndex+1)};fuzo.TabbedBox.prototype.jumpTo=function(a){if(typeof this.$tabs[a]==="undefined"){return}if(this.timeout!==null){window.clearTimeout(this.timeout);this.timeout=null}if(a==this.activeIndex){return}this.$tabs.eq(this.activeIndex).removeClass("tab-active");this.$buttons.eq(this.activeIndex).removeClass("tab-button-active");this.activeIndex=a;this.$tabs.eq(this.activeIndex).addClass("tab-active");this.$buttons.eq(this.activeIndex).addClass("tab-button-active")};var libFuncName=null;if(typeof jQuery==="undefined"&&typeof Zepto==="undefined"&&typeof $==="function"){libFuncName=$}else{if(typeof jQuery==="function"){libFuncName=jQuery}else{if(typeof Zepto==="function"){libFuncName=Zepto}else{throw new TypeError()}}}(function(c,b,a,d){b.matchMedia=b.matchMedia||(function(j,k){var g,e=j.documentElement,f=e.firstElementChild||e.firstChild,h=j.createElement("body"),l=j.createElement("div");l.id="mq-test-1";l.style.cssText="position:absolute;top:-100em";h.style.background="none";h.appendChild(l);return function(m){l.innerHTML='&shy;<style media="'+m+'"> #mq-test-1 { width: 42px; }</style>';e.insertBefore(h,f);g=l.offsetWidth===42;e.removeChild(h);return{matches:g,media:m}}}(a));if(!Array.prototype.filter){Array.prototype.filter=function(f){if(this==null){throw new TypeError()}var k=Object(this),e=k.length>>>0;if(typeof f!=="function"){return}var j=[],h=arguments[1];for(var g=0;g<e;g++){if(g in k){var l=k[g];if(f&&f.call(h,l,g,k)){j.push(l)}}}return j}}if(!Function.prototype.bind){Function.prototype.bind=function(e){if(typeof this!=="function"){throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable")}var j=Array.prototype.slice.call(arguments,1),h=this,f=function(){},g=function(){return h.apply(this instanceof f&&e?this:e,j.concat(Array.prototype.slice.call(arguments)))};f.prototype=this.prototype;g.prototype=new f();return g}}if(!Array.prototype.indexOf){Array.prototype.indexOf=function(g){if(this==null){throw new TypeError()}var h=Object(this);var e=h.length>>>0;if(e===0){return -1}var j=0;if(arguments.length>1){j=Number(arguments[1]);if(j!=j){j=0}else{if(j!=0&&j!=Infinity&&j!=-Infinity){j=(j>0||-1)*Math.floor(Math.abs(j))}}}if(j>=e){return -1}var f=j>=0?j:Math.max(e-Math.abs(j),0);for(;f<e;f++){if(f in h&&h[f]===g){return f}}return -1}}c.fn.stop=c.fn.stop||function(){return this};b.Foundation={name:"Foundation",version:"4.3.1",cache:{},init:function(o,l,e,p,f,h){var j,m=[o,e,p,f],k=[],h=h||false;if(h){this.nc=h}this.rtl=/rtl/i.test(c("html").attr("dir"));this.scope=o||this.scope;if(l&&typeof l==="string"&&!/reflow/i.test(l)){if(/off/i.test(l)){return this.off()}j=l.split(" ");if(j.length>0){for(var g=j.length-1;g>=0;g--){k.push(this.init_lib(j[g],m))}}}else{if(/reflow/i.test(l)){m[1]="reflow"}for(var n in this.libs){k.push(this.init_lib(n,m))}}if(typeof l==="function"){m.unshift(l)}return this.response_obj(k,m)},response_obj:function(f,g){for(var h=0,e=g.length;h<e;h++){if(typeof g[h]==="function"){return g[h]({errors:f.filter(function(j){if(typeof j==="string"){return j}})})}}return f},init_lib:function(f,e){return this.trap(function(){if(this.libs.hasOwnProperty(f)){this.patch(this.libs[f]);return this.libs[f].init.apply(this.libs[f],e)}else{return function(){}}}.bind(this),f)},trap:function(f,h){if(!this.nc){try{return f()}catch(g){return this.error({name:h,message:"could not be initialized",more:g.name+" "+g.message})}}return f()},patch:function(e){this.fix_outer(e);e.scope=this.scope;e.rtl=this.rtl},inherit:function(h,f){var e=f.split(" ");for(var g=e.length-1;g>=0;g--){if(this.lib_methods.hasOwnProperty(e[g])){this.libs[h.name][e[g]]=this.lib_methods[e[g]]}}},random_str:function(g){var f="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split("");if(!g){g=Math.floor(Math.random()*f.length)}var h="";for(var e=0;e<g;e++){h+=f[Math.floor(Math.random()*f.length)]}return h},libs:{},lib_methods:{set_data:function(e,f){var g=[this.name,+new Date(),Foundation.random_str(5)].join("-");Foundation.cache[g]=f;e.attr("data-"+this.name+"-id",g);return f},get_data:function(e){return Foundation.cache[e.attr("data-"+this.name+"-id")]},remove_data:function(e){if(e){delete Foundation.cache[e.attr("data-"+this.name+"-id")];e.attr("data-"+this.name+"-id","")}else{c("[data-"+this.name+"-id]").each(function(){delete Foundation.cache[c(this).attr("data-"+this.name+"-id")];c(this).attr("data-"+this.name+"-id","")})}},throttle:function(e,f){var g=null;return function(){var j=this,h=arguments;clearTimeout(g);g=setTimeout(function(){e.apply(j,h)},f)}},data_options:function(k){var l={},j,m,h=(k.attr("data-options")||":").split(";"),g=h.length;function f(n){return !isNaN(n-0)&&n!==null&&n!==""&&n!==false&&n!==true}function e(n){if(typeof n==="string"){return c.trim(n)}return n}for(j=g-1;j>=0;j--){m=h[j].split(":");if(/true/i.test(m[1])){m[1]=true}if(/false/i.test(m[1])){m[1]=false}if(f(m[1])){m[1]=parseInt(m[1],10)}if(m.length===2&&m[0].length>0){l[e(m[0])]=e(m[1])}}return l},delay:function(e,f){return setTimeout(e,f)},scrollTo:function(f,j,g){if(g<0){return}var h=j-c(b).scrollTop();var e=h/g*10;this.scrollToTimerCache=setTimeout(function(){if(!isNaN(parseInt(e,10))){b.scrollTo(0,c(b).scrollTop()+e);this.scrollTo(f,j,g-10)}}.bind(this),10)},scrollLeft:function(e){if(!e.length){return}return("scrollLeft" in e[0])?e[0].scrollLeft:e[0].pageXOffset},empty:function(f){if(f.length&&f.length>0){return false}if(f.length&&f.length===0){return true}for(var e in f){if(hasOwnProperty.call(f,e)){return false}}return true}},fix_outer:function(e){e.outerHeight=function(g,f){if(typeof Zepto==="function"){return g.height()}if(typeof f!=="undefined"){return g.outerHeight(f)}return g.outerHeight()};e.outerWidth=function(g,f){if(typeof Zepto==="function"){return g.width()}if(typeof f!=="undefined"){return g.outerWidth(f)}return g.outerWidth()}},error:function(e){return e.name+" "+e.message+"; "+e.more},off:function(){c(this.scope).off(".fndtn");c(b).off(".fndtn");return true},zj:c};c.fn.foundation=function(){var e=Array.prototype.slice.call(arguments,0);return this.each(function(){Foundation.init.apply(Foundation,[this].concat(e));return this})}}(libFuncName,this,this.document));(function(c,f,g,b){var j=function(){};var a=function(p,q){if(p.hasClass(q.slides_container_class)){return this}var v=this,l,k=p,w,u,o,t=0,n,m,r=false,s=false;k.children().first().addClass(q.active_slide_class);v.update_slide_number=function(x){if(q.slide_number){w.find("span:first").text(parseInt(x)+1);w.find("span:last").text(k.children().length)}if(q.bullets){u.children().removeClass(q.bullets_active_class);c(u.children().get(x)).addClass(q.bullets_active_class)}};v.build_markup=function(){k.wrap('<div class="'+q.container_class+'"></div>');l=k.parent();k.addClass(q.slides_container_class);if(q.navigation_arrows){l.append(c("<a>").addClass(q.prev_class).append("<span>"));l.append(c("<a>").addClass(q.next_class).append("<span>"))}if(q.timer){o=c("<div>").addClass(q.timer_container_class);o.append("<span>");o.append(c("<div>").addClass(q.timer_progress_class));o.addClass(q.timer_paused_class);l.append(o)}if(q.slide_number){w=c("<div>").addClass(q.slide_number_class);w.append("<span></span> of <span></span>");l.append(w)}if(q.bullets){u=c("<ol>").addClass(q.bullets_container_class);l.append(u);k.children().each(function(x,z){var y=c("<li>").attr("data-orbit-slide",x);u.append(y)})}if(q.stack_on_small){l.addClass(q.stack_on_small_class)}v.update_slide_number(0)};v._goto=function(D,C){if(D===t){return false}if(typeof m==="object"){m.restart()}var A=k.children();var y="next";r=true;if(D<t){y="prev"}if(D>=A.length){D=0}else{if(D<0){D=A.length-1}}var B=c(A.get(t));var z=c(A.get(D));B.css("zIndex",2);z.css("zIndex",4).addClass("active");k.trigger("orbit:before-slide-change");q.before_slide_change();var E=function(){var F=function(){t=D;r=false;if(C===true){m=v.create_timer();m.start()}v.update_slide_number(t);k.trigger("orbit:after-slide-change",[{slide_number:t,total_slides:A.length}]);q.after_slide_change(t,A.length)};if(k.height()!=z.height()){k.animate({height:z.height()},250,"linear",F)}else{F()}};if(A.length===1){E();return false}var x=function(){if(y==="next"){n.next(B,z,E)}if(y==="prev"){n.prev(B,z,E)}};if(z.height()>k.height()){k.animate({height:z.height()},250,"linear",x)}else{x()}};v.next=function(x){x.stopImmediatePropagation();x.preventDefault();v._goto(t+1)};v.prev=function(x){x.stopImmediatePropagation();x.preventDefault();v._goto(t-1)};v.link_custom=function(z){z.preventDefault();var y=c(this).attr("data-orbit-link");if((typeof y==="string")&&(y=c.trim(y))!=""){var x=l.find("[data-orbit-slide="+y+"]");if(x.index()!=-1){v._goto(x.index())}}};v.link_bullet=function(y){var x=c(this).attr("data-orbit-slide");if((typeof x==="string")&&(x=c.trim(x))!=""){v._goto(x)}};v.timer_callback=function(){v._goto(t+1,true)};v.compute_dimensions=function(){var y=c(k.children().get(t));var x=y.height();if(!q.variable_height){k.children().each(function(){if(c(this).height()>x){x=c(this).height()}})}k.height(x)};v.create_timer=function(){var x=new h(l.find("."+q.timer_container_class),q,v.timer_callback);return x};v.stop_timer=function(){if(typeof m==="object"){m.stop()}};v.toggle_timer=function(){var x=l.find("."+q.timer_container_class);if(x.hasClass(q.timer_paused_class)){if(typeof m==="undefined"){m=v.create_timer()}m.start()}else{if(typeof m==="object"){m.stop()}}};v.init=function(){v.build_markup();if(q.timer){m=v.create_timer();m.start()}n=new e(k);if(q.animation==="slide"){n=new d(k)}l.on("click","."+q.next_class,v.next);l.on("click","."+q.prev_class,v.prev);l.on("click","[data-orbit-slide]",v.link_bullet);l.on("click",v.toggle_timer);l.on("touchstart.fndtn.orbit",function(y){if(!y.touches){y=y.originalEvent}var x={start_page_x:y.touches[0].pageX,start_page_y:y.touches[0].pageY,start_time:(new Date()).getTime(),delta_x:0,is_scrolling:b};l.data("swipe-transition",x);y.stopPropagation()}).on("touchmove.fndtn.orbit",function(z){if(!z.touches){z=z.originalEvent}if(z.touches.length>1||z.scale&&z.scale!==1){return}var x=l.data("swipe-transition");if(typeof x==="undefined"){x={}}x.delta_x=z.touches[0].pageX-x.start_page_x;if(typeof x.is_scrolling==="undefined"){x.is_scrolling=!!(x.is_scrolling||Math.abs(x.delta_x)<Math.abs(z.touches[0].pageY-x.start_page_y))}if(!x.is_scrolling&&!x.active){z.preventDefault();var y=(x.delta_x<0)?(t+1):(t-1);x.active=true;v._goto(y)}}).on("touchend.fndtn.orbit",function(x){l.data("swipe-transition",{});x.stopPropagation()}).on("mouseenter.fndtn.orbit",function(x){if(q.timer&&q.pause_on_hover){v.stop_timer()}}).on("mouseleave.fndtn.orbit",function(x){if(q.timer&&q.resume_on_mouseout){m.start()}});c(g).on("click","[data-orbit-link]",v.link_custom);c(f).on("resize",v.compute_dimensions);c(f).on("load",v.compute_dimensions);k.trigger("orbit:ready")};v.init()};var h=function(m,o,r){var s=this,p=o.timer_speed,k=m.find("."+o.timer_progress_class),l,q,n=-1;this.update_progress=function(t){var u=k.clone();u.attr("style","");u.css("width",t+"%");k.replaceWith(u);k=u};this.restart=function(){clearTimeout(q);m.addClass(o.timer_paused_class);n=-1;s.update_progress(0)};this.start=function(){if(!m.hasClass(o.timer_paused_class)){return true}n=(n===-1)?p:n;m.removeClass(o.timer_paused_class);l=new Date().getTime();k.animate({width:"100%"},n,"linear");q=setTimeout(function(){s.restart();r()},n);m.trigger("orbit:timer-started")};this.stop=function(){if(m.hasClass(o.timer_paused_class)){return true}clearTimeout(q);m.addClass(o.timer_paused_class);var u=new Date().getTime();n=n-(u-l);var t=100-((n/p)*100);s.update_progress(t);m.trigger("orbit:timer-stopped")}};var d=function(k){var n=400;var l=(c("html[dir=rtl]").length===1);var m=l?"marginRight":"marginLeft";this.next=function(p,o,q){o.animate({margin:"0%"},n,"linear",function(){p.css(m,"100%");q()})};this.prev=function(p,o,q){o.css(m,"-100%");o.animate({margin:"0%"},n,"linear",function(){p.css(m,"100%");q()})}};var e=function(k){var l=250;this.next=function(n,m,o){m.css({marginLeft:"0%",opacity:"0.01"});m.animate({opacity:"1"},l,"linear",function(){n.css("marginLeft","100%");o()})};this.prev=function(n,m,o){m.css({marginLeft:"0%",opacity:"0.01"});m.animate({opacity:"1"},l,"linear",function(){n.css("marginLeft","100%");o()})}};Foundation.libs=Foundation.libs||{};Foundation.libs.orbit={name:"orbit",version:"4.3.1",settings:{animation:"slide",timer_speed:10000,pause_on_hover:true,resume_on_mouseout:false,animation_speed:500,stack_on_small:false,navigation_arrows:true,slide_number:true,container_class:"orbit-container",stack_on_small_class:"orbit-stack-on-small",next_class:"orbit-next",prev_class:"orbit-prev",timer_container_class:"orbit-timer",timer_paused_class:"paused",timer_progress_class:"orbit-progress",slides_container_class:"orbit-slides-container",bullets_container_class:"orbit-bullets",bullets_active_class:"active",slide_number_class:"orbit-slide-number",caption_class:"orbit-caption",active_slide_class:"active",orbit_transition_class:"orbit-transitioning",bullets:true,timer:true,variable_height:false,before_slide_change:j,after_slide_change:j},init:function(n,p,l){var k=this;Foundation.inherit(k,"data_options");if(typeof p==="object"){c.extend(true,k.settings,p)}if(c(n).is("[data-orbit]")){var m=c(n);var o=k.data_options(m);new a(m,c.extend({},k.settings,o))}c("[data-orbit]",n).each(function(q,s){var r=c(s);var t=k.data_options(r);new a(r,c.extend({},k.settings,t))})}}}(Foundation.zj,this,this.document));var _sf_startpt=(new Date()).getTime();(function(d){var a="cookieconsent_dismissed";var b="yes";var c=365;if(typeof d.cookie!=="function"){return}if(d.cookie(a)===b){return}d(document).ready(function(){var e=d("#cookie-info").show();e.find(".cookie-info__agree").click(function(){d.cookie(a,b,{expires:c,path:"/"});e.fadeOut()})})})(jQuery);var cms=cms||{};cms.makeEventListener=function(a){a.prototype.on=function(e,f){if(typeof this.eventListeners==="undefined"){this.eventListeners={}}var c=e.split(",");for(var b=0;b<c.length;b++){var d=c[b].replace(/\s/,"");if(typeof this.eventListeners[d]==="undefined"){this.eventListeners[d]=[]}this.eventListeners[d].push(f)}return this};a.prototype.trigger=function(e,d){if(typeof this.eventListeners==="undefined"||typeof this.eventListeners[e]==="undefined"){return true}for(var c=0;c<this.eventListeners[e].length;c++){var b=this.eventListeners[e][c].call(this,d);if(typeof b!=="undefined"&&!b){return false}}return true}};cms.toggleFullscreen=function(){if((document.fullScreenElement&&document.fullScreenElement!==null)||(!document.mozFullScreen&&!document.webkitIsFullScreen)){if(document.documentElement.requestFullScreen){document.documentElement.requestFullScreen()}else{if(document.documentElement.mozRequestFullScreen){document.documentElement.mozRequestFullScreen()}else{if(document.documentElement.webkitRequestFullScreen){document.documentElement.webkitRequestFullScreen(Element.ALLOW_KEYBOARD_INPUT)}}}return true}else{if(document.cancelFullScreen){document.cancelFullScreen()}else{if(document.mozCancelFullScreen){document.mozCancelFullScreen()}else{if(document.webkitCancelFullScreen){document.webkitCancelFullScreen()}}}return false}};var cms=cms||{};cms.ArticleSlider=function(f){var b=this;this.id=f;var d=$("#"+f+"-images");var c=d.find(".article-slider-image");var a=d.find(".article-slider-caption");this.slideshow=new cms.Slideshow(d,c);this.thumblist=new cms.BulletThumblist(this.slideshow);$("#"+f).append(this.thumblist.$node);var e=false;b.slideshow.on("slidechange",function(g){if(e){return}e=true;b.thumblist.jumpTo(g.index);e=false});b.thumblist.on("select",function(g){if(e){return}e=true;b.slideshow.jumpTo(g.index);e=false});b.slideshow.on("slidechange",function(g){$("#"+f+"-caption").html(a.eq(g.index).show())});$("#"+f+"-caption").html(a.eq(0).show())};var cms=cms||{};cms.ChannelGallery=function(e){var a=this;this.id=e;var d=$("#"+e+"-slides");d.find(".slide:first").remove();d.find(".slide-text:first").remove();var c=d.find(".slide").removeClass("hide");var b=d.find(".slide-text");this.slideshow=new cms.Slideshow(d,c);this.slideshow.$node.addClass("channel-slideshow");d.on("click",function(f){a.slideshow.next();f.preventDefault();return false});$("#"+e+"-nextslide").on("click",function(f){a.slideshow.next();f.preventDefault();return false});$("#"+e+"-prevslide").on("click",function(f){a.slideshow.prev();f.preventDefault();return false});a.slideshow.on("slidechange",function(g){var h=$("#"+e+"-title");h.html(b.eq(g.index).show());if(h.is("a")){var f=h.attr("href").replace(/#.*/,"");h.attr("href",f+"#"+a.id.replace(/[^0-9]/g,"")+","+a.slideshow.currentSlide().attr("data-slide-id"))}})};var cms=cms||{};cms.Gallery=function(c){var p=this;this.id=c;this.$adContainer=$("#"+c+"-adcontainer");var k=$("#"+c+"-slides");var m=k.find(".slide");var o=k.find(".slide-text-long");var g=k.find(".slide-text-short");var b=k.find(".slide-title");var d=$("#"+c+"-thumbs");var f=k.find(".slide-thumb");var n=$(window).scrollTop();this.slideshow=new cms.Slideshow(k,m);this.slideshow.$node.addClass("gallery-slideshow");this.slideshow.sizeChanged();$("#"+c+"-nextslide").on("click",function(q){p.slideshow.next();q.preventDefault();return false});$("#"+c+"-prevslide").on("click",function(q){p.slideshow.prev();q.preventDefault();return false});var e=function(r){var q=typeof r!=="undefined"?r.index:p.slideshow.currentSlideNum();$("#"+c+"-title").html(b.eq(q).show());if(p.isFullscreen()){$("#"+c+"-caption").html(o.eq(q).show())}else{$("#"+c+"-caption").html(g.eq(q).show())}};p.slideshow.on("slidechange",e);this.on("enabled-fullscreen, disabled-fullscreen",e);$("#"+this.id+" .closegallery").on("click",function(q){p.disableFullscreen();reloadOewa();trackAnalytics(["Slideshows","SlideshowClick",p.getSlideShowId()]);q.preventDefault();return false});$("#"+this.id+" .fullscreen").on("click",function(q){if(cms.toggleFullscreen()){reloadAds(this.$adContainer,true);reloadOewa();trackAnalytics(["Slideshows","SlideshowClick",p.getSlideShowId()])}else{p.disableFullscreen()}q.preventDefault();return false});p.slideshow.on("slidechange",function(q){$("#"+p.id+"-prevslide").show();if(q.isUserTriggered){reloadOewa()}});$("#"+this.id+"-fullscreen").on("click",function(q){p.enableFullscreen()});$("#"+this.id+"-slides").on("click",function(q){p.slideshow.next()});$("#"+p.id+" .slidenumber").text(1);$("#"+p.id+" .totalslides").text(m.length);p.slideshow.on("slidechange",function(q){$("#"+p.id+" .slidenumber").text(q.index+1)});$("#"+c).hoverIntent({over:function(){p.showAdContainer()},out:function(){p.hideAdContainer()},sensitivity:4,interval:400,timeout:400});var j=window.location.hash.replace(/^#/,"");if(j){var a=j.replace(/,.*/,"");if(a==this.getSlideShowId()){var l=j.replace(/^[^,]*,/,"");for(var h=0;h<m.length;h++){if(m.eq(h).attr("data-slide-id")==l){this.slideshow.jumpTo(h,false);this.enableFullscreen();break}}}}$(window).on("hashchange",function(){var t=window.location.hash.replace(/^#/,"");if(t){var s=t.replace(/,.*/,"");if(s==p.getSlideShowId()){var r=t.replace(/^[^,]*,/,"");for(var q=0;q<m.length;q++){if(m.eq(q).attr("data-slide-id")==r){if(p.slideshow.currentSlideNum()!=q){p.slideshow.jumpTo(q,false)}p.enableFullscreen();break}}}}else{p.disableFullscreen()}});p.on("enabled-fullscreen",function(){window.location.hash="#"+p.getSlideShowId()+","+p.slideshow.currentSlide().find(".slide").attr("data-slide-id")}).on("disabled-fullscreen",function(){window.location.hash=""});p.slideshow.on("slidechange",function(q){if(q.isUserTriggered&&p.isFullscreen()){window.location.hash="#"+p.getSlideShowId()+","+m.eq(q.index).attr("data-slide-id")}});p.slideshow.on("slidechange",function(r){var q=m.eq(r.index).attr("src");updateSlideShowSocialShare(p.getSlideShowId(),window.location.href,q)});p.on("enabled-fullscreen",function(){$(".sharebarslideshow").removeClass("hide")}).on("disabled-fullscreen",function(){$(".sharebarslideshow").addClass("hide")})};cms.makeEventListener(cms.Gallery);$(window).resize(function(){if(isTouchDevice()){$(".fullscreen").remove();return}if((window.fullScreen)||(window.innerWidth==screen.width&&window.innerHeight==screen.height)){$(".fullscreen").addClass("max");$(".vollbild").text("Vollbild beenden");$(".fullscreenicon").addClass("exit");$(".closegallery").hide()}else{$(".fullscreen").removeClass("max");$(".vollbild").text("Vollbild");$(".fullscreenicon").removeClass("exit");$(".closegallery").show()}});cms.Gallery.prototype.getSlideShowId=function(){return this.id.replace(/[^0-9]/g,"")};cms.Gallery.prototype.showAdContainer=function(){reloadAds(this.$adContainer);var a=this.$adContainer.filter(".small");if($.browser.msie&&parseInt($.browser.version)<=8){a.fadeIn("slow").css("z-index","99")}else{a.animate({right:"-330px"},300,function(){a.css("z-index","99")})}};cms.Gallery.prototype.hideAdContainer=function(){var a=this.$adContainer.filter(".small");if($.browser.msie&&parseInt($.browser.version)<=8){a.fadeOut("slow").css("z-index","1")}else{a.animate({right:"0"},300).css("z-index","1")}};cms.Gallery.fullscreenInstance=null;cms.Gallery.prototype.enableFullscreen=function(){currentScrollPosition=$(window).scrollTop();if(cms.Gallery.fullscreenInstance===this){return}if(cms.Gallery.fullscreenInstance){cms.Gallery.fullscreenInstance.disableFullscreen()}this.trigger("enabling-fullscreen");cms.Gallery.fullscreenInstance=this;var a=$("#"+this.id+"-container");$("body").addClass("gallery-in-fullscreen");a.removeClass("gallery-container").addClass("gallery-fullscreen-container");var c=a.closest(".gallery-fullscreen-overlay-disabled");c.addClass("gallery-fullscreen-overlay").removeClass("gallery-fullscreen-overlay-disabled");if($.browser.msie||(isTouchDevice()==true)){$(".fullscreen").remove()}cms.Gallery.hideAdOverlays();this.slideshow.sizeChanged();var b=this;$(document).on("keydown."+this.id,function(d){if(d.keyCode==27){b.disableFullscreen();d.preventDefault();return false}if(d.keyCode==39){b.slideshow.next();d.preventDefault();return false}if(d.keyCode==37){b.slideshow.prev();d.preventDefault();return false}});this.trigger("enabled-fullscreen")};cms.Gallery.prototype.isFullscreen=function(){return cms.Gallery.fullscreenInstance===this};cms.Gallery.prototype.disableFullscreen=function(){if(cms.Gallery.fullscreenInstance!==this){return}this.trigger("disabling-fullscreen");var a=$("#"+this.id+"-container");cms.Gallery.showAdOverlays();var b=a.closest(".gallery-fullscreen-overlay");b.addClass("gallery-fullscreen-overlay-disabled").removeClass("gallery-fullscreen-overlay");a.addClass("gallery-container").removeClass("gallery-fullscreen-container");$("body").removeClass("gallery-in-fullscreen");this.slideshow.sizeChanged();cms.Gallery.fullscreenInstance=null;$(document).off("keydown."+this.id);this.trigger("disabled-fullscreen");window.scrollTo(0,currentScrollPosition)};cms.Gallery.adOverlaySelectors=["#adwxbottomsujet","#wdaylayer","#adwxwpbsb","#adwxwpsky","#adwxwpsky2","#adwxwpskypos","#groupM_Ipage","#groupM_Ipage_container","#AdContainer_Position1","#adwSitebar",".adform-adbox",".adform-adbox object","#AdContainer_Top1","#sitebar","#adv_sitebar","#AdContainer_Skyscraper","[id^=ftdiv]"];cms.Gallery.showAdOverlays=function(){$(cms.Gallery.adOverlaySelectors).show().each(function(b,c){var a=$(c);if(!a.data("orginial-z-index")){return}a.css("z-index",a.data("orginial-z-index"))})};cms.Gallery.hideAdOverlays=function(){$(cms.Gallery.adOverlaySelectors).hide().each(function(b,c){var a=$(c);if(!a.css("z-index")){return}a.data("orginial-z-index",a.css("z-index"));a.css("z-index",1)})};var cms=cms||{};cms.Slideshow=function(c,e){cms.Slideshow.init();e.slice(0,2).find("img[data-src]").each(function(g,f){var h=$(f);h.attr("src",h.attr("data-src"));h.removeAttr("data-src")});var b=this;b.$node=c;b.$node.css("overflow","hidden");b.slideWidth=b.$node.width();b.slideHeight=b.$node.height();var d=[];e.each(function(f,g){d.push($(g).wrap('<li style="float:left;" class="slide-wrapper"></li>').parent()[0])});b.$slides=$(d);b.$slides.width(b.slideWidth);b.$slides.height(b.slideHeight);b.$slideContainer=$("<ul></ul>");b.$slideContainer.width(b.$node.width()*b.$slides.length);b.$slideContainer.css("position","relative");b.$slideContainer.css("left","0px");b.$slideContainer.append(b.$slides);b.$slideContainer.append('<li style="clear: left"></li>');b.$node.prepend(b.$slideContainer);var a=function(f){f=f.originalEvent;if(typeof f.changedTouches!=="undefined"){return[f.changedTouches[0].pageX,f.changedTouches[0].pageY]}return[f.pageX,f.pageY]};b.$slideContainer.on("touchstart",function(h){var j=$(this);var f=j.offset().left;var m=a(h)[0];var k=a(h)[1];var l=b.slideWidth*(b.isFirstSlide()?0.1:1.1);var g=b.slideWidth*(b.isLastSlide()?0.1:1.1);b.$slideContainer.one("touchmove",function(p){var o=m-a(p)[0];var n=k-a(p)[1];if(Math.abs(o)>Math.abs(n)){var q=function(s){var u=a(s)[0];var v=u-m;if(v<0){var r=Math.min(1,-v/g);var t=-g*(1-Math.pow(1-r,3))}else{var r=Math.min(1,v/l);var t=l*(1-Math.pow(1-r,3))}b.$slideContainer.css("left",""+Math.round(f+t)+"px")};j.on("touchmove",q);$(document).one("touchend",function(r){j.off("touchmove",q);if(a(r)[0]==m){b.trigger("dragcancel")}else{b.snap();b.trigger("dragstop");r.preventDefault();return false}});$(document).one("touchcancel",function(r){b.$slideContainer.css("left",""+f+"px");b.trigger("dragcancel")});b.trigger("dragstart");p.preventDefault();return false}})});cms.Slideshow.instances.push(b)};cms.Slideshow.instances=[];cms.Slideshow.prototype.isFirstSlide=function(){return this.currentSlideNum()==0};cms.Slideshow.prototype.isLastSlide=function(){return this.currentSlideNum()==this.$slides.length-1};cms.Slideshow.prototype.currentLeft=function(){return parseInt(this.$slideContainer.css("left").replace(/px$/,""),10)};cms.Slideshow.prototype.currentSlide=function(){return this.$slides.eq(this.currentSlideNum())};cms.Slideshow.prototype.currentSlideNum=function(){var a=Math.round(-this.currentLeft()/this.slideWidth);return Math.max(0,Math.min(this.$slides.length-1,a))};cms.Slideshow.prototype.snap=function(){this.jumpTo(this.currentSlideNum())};cms.Slideshow.prototype.next=function(){var a=this;if(a.isLastSlide()){a.$slideContainer.stop().animate({left:a.currentLeft()-(a.slideWidth*0.15)},100,"swing",function(){a.jumpTo(0)});return false}a.jumpTo(a.currentSlideNum()+1);return true};cms.Slideshow.prototype.prev=function(){var a=this;if(a.isFirstSlide()){a.$slideContainer.stop().animate({left:a.currentLeft()+(a.slideWidth*0.15)},100,"swing",function(){a.jumpTo(a.$slides.length-1)});return false}a.jumpTo(a.currentSlideNum()-1);return true};cms.Slideshow.prototype.jumpTo=function(b,c){if(typeof c==="undefined"){c=true}if(this.$slides.eq(b).length==0){return}this.loadImages([b-1,b,b+1]);var a=-(b*this.slideWidth);if(c){this.$slideContainer.stop().animate({left:a})}else{this.$slideContainer.css("left",a)}this.trigger("slidechange",{index:b,isUserTriggered:c})};cms.Slideshow.prototype.loadImages=function(b){if(typeof b!=="object"){b=[b]}for(var c=0;c<b.length;c++){var a=b[c];this.$slides.eq(a).find("img[data-src]").each(function(f,d){var e=$(d);e.attr("src",e.attr("data-src"));e.removeAttr("data-src")})}};cms.Slideshow.prototype.sizeChanged=function(){var a=this.currentSlideNum();this.slideWidth=this.$node.width();this.slideHeight=this.$node.height();this.$slides.width(this.slideWidth);this.$slides.height(this.slideHeight);this.$slideContainer.width(this.slideWidth*this.$slides.length);this.jumpTo(a,false)};$(window).resize(function(){for(var a=0;a<cms.Slideshow.instances.length;a++){cms.Slideshow.instances[a].sizeChanged()}});$(window).bind("orientationchange",function(){for(var a=0;a<cms.Slideshow.instances.length;a++){cms.Slideshow.instances[a].sizeChanged()}});cms.Slideshow.init=function(){cms.makeEventListener(cms.Slideshow);cms.Slideshow.init=function(){}};var cms=cms||{};cms.Thumblist=function(c,d){cms.Thumblist.init();var b=this;this.$node=c;var a=[];d.each(function(e,f){a.push($(f).wrap('<li style="float:left;" class="slide-wrapper"></li>').parent()[0])});this.$thumbs=$(a);this.$node.css("overflow","hidden");this.$thumbs.on("click",function(f){for(var e=0;e<b.$thumbs.length;e++){if(b.$thumbs[e]===f.delegateTarget){b.jumpTo(e)}}});b.$thumbContainer=b.createThumbContainer();b.$thumbContainer.append(this.$thumbs)};cms.Thumblist.prototype.createThumbContainer=function(){var b=this;var a=$("<ul></ul>");a.width(this.$node.width()*this.$thumbs.length);a.css("position","relative");b.$node.prepend(a);a.draggable((function(){var c=null;var e=null;var d=null;return{axis:"x",drag:function(h,k){var g=k.position.left;var l=g-c;if(l<0){var f=Math.min(1,-l/d);var j=-d*(1-Math.pow(1-f,3))}else{var f=Math.min(1,l/e);var j=e*(1-Math.pow(1-f,3))}k.position.left=Math.round(c+j)},start:function(f,g){c=g.position.left;e=b.$node.width()*(b.isFirstPage()?0.1:1.1);d=b.$node.width()*(b.isLastPage()?0.1:1.1)},stop:function(f,g){b.snap()}}})());return a};cms.Thumblist.prototype.jumpTo=function(a,b){this.$thumbs.removeClass("active");this.$thumbs.eq(a).addClass("active");this.scrollIntoView(a,b);this.trigger("select",{index:a})};cms.Thumblist.prototype.thumbsPerPage=function(){return Math.max(1,Math.floor(this.$node.width()/this.$thumbs.width()))};cms.Thumblist.prototype.currentLeft=function(){return parseInt(this.$thumbContainer.css("left").replace(/px$/,""),10)};cms.Thumblist.prototype.currentIndex=function(){return Math.min(this.$thumbs.length-1,Math.max(0,Math.round(-this.currentLeft()/this.$thumbs.width())))};cms.Thumblist.prototype.currentPage=function(){return Math.floor(this.currentIndex()/this.thumbsPerPage())};cms.Thumblist.prototype.pageCount=function(){return Math.ceil(this.$thumbs.length/this.thumbsPerPage())};cms.Thumblist.prototype.isFirstPage=function(){return this.currentPage()==0};cms.Thumblist.prototype.isLastPage=function(){return this.currentPage()==this.pageCount()-1};cms.Thumblist.prototype.snap=function(){var a=Math.round(-this.currentLeft()/this.$thumbs.width()+this.thumbsPerPage()/2);this.scrollIntoView(a)};cms.Thumblist.prototype.scrollToPage=function(b,c){if(b>=this.pageCount()){return}var a=-this.$thumbs.eq(b*this.thumbsPerPage()).position().left+"px";if(typeof c==="undefined"||c){this.$thumbContainer.animate({left:a});this.trigger("scroll",{page:b})}else{this.$thumbContainer.css("left",a)}};cms.Thumblist.prototype.scrollIntoView=function(a,b){this.scrollToPage(Math.floor(a/this.thumbsPerPage()),b)};cms.Thumblist.prototype.scrollBackward=function(b){var a=this;if(this.isFirstPage()){a.$thumbContainer.stop().animate({left:a.currentLeft()+(a.$thumbs.width()*a.thumbsPerPage()*0.15)},100,"swing",function(){a.scrollToPage(a.pageCount()-1)});return false}this.scrollToPage(this.currentPage()-1);return true};cms.Thumblist.prototype.scrollForward=function(b){var a=this;if(this.isLastPage()){a.$thumbContainer.stop().animate({left:a.currentLeft()-(a.$thumbs.width()*a.thumbsPerPage()*0.15)},100,"swing",function(){a.scrollToPage(0)});return false}this.scrollToPage(this.currentPage()+1);return true};cms.Thumblist.prototype.nodeSizeChanged=function(){this.$thumbContainer.width(this.$node.width()*this.$thumbs.length);for(var a=0;a<this.$thumbs.length;a++){if(this.$thumbs.eq(a).hasClass("active")){this.scrollIntoView(a,false);break}}};cms.Thumblist.init=function(){cms.makeEventListener(cms.Thumblist);cms.makeEventListener(cms.BulletThumblist);cms.Thumblist.init=function(){}};cms.BulletThumblist=function(d){var b=$("<div></div>");var a=[];for(var c=0;c<d.$slides.length;c++){a.push($("<li>"+(c+1)+"</li>")[0])}cms.Thumblist.call(this,b,$(a))};$.extend(cms.BulletThumblist.prototype,cms.Thumblist.prototype);cms.BulletThumblist.prototype.createThumbContainer=function(){var a=$("<ul></ul>");this.$node.prepend(a);return a};
/*!
 * jQuery UI Touch Punch 0.2.2
 *
 * Copyright 2011, Dave Furfero
 * Dual licensed under the MIT or GPL Version 2 licenses.
 *
 * Depends:
 *  jquery.ui.widget.js
 *  jquery.ui.mouse.js
 */
(function(b){b.support.touch="ontouchend" in document;if(!b.support.touch){return}var c=b.ui.mouse.prototype,e=c._mouseInit,a;function d(g,h){if(g.originalEvent.touches.length>1){return}g.preventDefault();var j=g.originalEvent.changedTouches[0],f=document.createEvent("MouseEvents");f.initMouseEvent(h,true,true,window,1,j.screenX,j.screenY,j.clientX,j.clientY,false,false,false,false,0,null);g.target.dispatchEvent(f)}c._touchStart=function(g){var f=this;if(a||!f._mouseCapture(g.originalEvent.changedTouches[0])){return}a=true;f._touchMoved=false;d(g,"mouseover");d(g,"mousemove");d(g,"mousedown")};c._touchMove=function(f){if(!a){return}this._touchMoved=true;d(f,"mousemove")};c._touchEnd=function(f){if(!a){return}d(f,"mouseup");d(f,"mouseout");if(!this._touchMoved){d(f,"click")}a=false};c._mouseInit=function(){var f=this;f.element.bind("touchstart",b.proxy(f,"_touchStart")).bind("touchmove",b.proxy(f,"_touchMove")).bind("touchend",b.proxy(f,"_touchEnd"));e.call(f)}})(jQuery);var _insiteconfigs=_insiteconfigs||[];_insiteconfigs.push({linkTarget:"_blank",dataSources:[window.location.protocol+"//apps.mindbreeze.com/inapp/futurezone.at/"],stylesheet:window.location.protocol+"//apps.mindbreeze.com/inapp/futurezone.at/styles/mb_futurezone.at.css",callback:function(a){a.registerForNotification({_tag:"mindbreeze.api.queryclient.triggersearch"},function(c){if(c&&c.queryFieldElement){}var b=c.userQuery});a.registerForNotification({_tag:"mindbreeze.api.queryclient.load.search"},function(b){})}});$(document).on(fuzo.events.HEADER_LOADED,function(){(function(){var a=document.getElementById("_insitescript_");if(!a){a=document.createElement("script");a.type="text/javascript";a.async=true;a.id="_insitescript_";a.src=window.location.protocol+"//apps.mindbreeze.com/inapp/futurezone.at/api/js/inapp.js?language=de";a.charset="utf-8";a.crossorigin="anonymous";var b=document.getElementsByTagName("script")[0];b.parentNode.insertBefore(a,b)}})();$("#mindbreezeSearchInput input").live({focus:function(){$(this).val("");$("#mindbreezeSearchInput").animate({width:"370px"},500);$(this).closest("form").animate({width:"300px"},500);if(navigator.userAgent.match(/iPad/i)){setTimeout(function(){$("#sticky_container_1, #sticky_container_2, #sticky_container_3").css({position:"absolute"});debug("absolute")},100);setTimeout(function(){$("#sticky_container_1, #sticky_container_2, #sticky_container_3").css({position:"fixed"});debug("fixed")},120)}},blur:function(){$("#mindbreezeSearchInput").animate({width:"175px"},500);$(this).closest("form").animate({width:"154px"},500)}})});