/*
CreativeUnit, www.creativeunit.pl
*/
/*
 * jQuery JavaScript Library v1.7.1
 * http://jquery.com/
 *
 * Copyright 2011, John Resig
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * Includes Sizzle.js
 * http://sizzlejs.com/
 * Copyright 2011, The Dojo Foundation
 * Released under the MIT, BSD, and GPL Licenses.
 *
 * Date: Mon Nov 21 21:11:03 2011 -0500
 */
(function(be,O){var ay=be.document,bx=be.navigator,bo=be.location;var b=(function(){var bI=function(b3,b4){return new bI.fn.init(b3,b4,bG)},bX=be.jQuery,bK=be.$,bG,b1=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,bP=/\S/,bL=/^\s+/,bH=/\s+$/,bD=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,bQ=/^[\],:{}\s]*$/,bZ=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,bS=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,bM=/(?:^|:|,)(?:\s*\[)+/g,bB=/(webkit)[ \/]([\w.]+)/,bU=/(opera)(?:.*version)?[ \/]([\w.]+)/,bT=/(msie) ([\w.]+)/,bV=/(mozilla)(?:.*? rv:([\w.]+))?/,bE=/-([a-z]|[0-9])/ig,b2=/^-ms-/,bW=function(b3,b4){return(b4+"").toUpperCase()},b0=bx.userAgent,bY,bF,e,bO=Object.prototype.toString,bJ=Object.prototype.hasOwnProperty,bC=Array.prototype.push,bN=Array.prototype.slice,bR=String.prototype.trim,by=Array.prototype.indexOf,bA={};bI.fn=bI.prototype={constructor:bI,init:function(b3,b7,b6){var b5,b8,b4,b9;if(!b3){return this}if(b3.nodeType){this.context=this[0]=b3;this.length=1;return this}if(b3==="body"&&!b7&&ay.body){this.context=ay;this[0]=ay.body;this.selector=b3;this.length=1;return this}if(typeof b3==="string"){if(b3.charAt(0)==="<"&&b3.charAt(b3.length-1)===">"&&b3.length>=3){b5=[null,b3,null]}else{b5=b1.exec(b3)}if(b5&&(b5[1]||!b7)){if(b5[1]){b7=b7 instanceof bI?b7[0]:b7;b9=(b7?b7.ownerDocument||b7:ay);b4=bD.exec(b3);if(b4){if(bI.isPlainObject(b7)){b3=[ay.createElement(b4[1])];bI.fn.attr.call(b3,b7,true)}else{b3=[b9.createElement(b4[1])]}}else{b4=bI.buildFragment([b5[1]],[b9]);b3=(b4.cacheable?bI.clone(b4.fragment):b4.fragment).childNodes}return bI.merge(this,b3)}else{b8=ay.getElementById(b5[2]);if(b8&&b8.parentNode){if(b8.id!==b5[2]){return b6.find(b3)}this.length=1;this[0]=b8}this.context=ay;this.selector=b3;return this}}else{if(!b7||b7.jquery){return(b7||b6).find(b3)}else{return this.constructor(b7).find(b3)}}}else{if(bI.isFunction(b3)){return b6.ready(b3)}}if(b3.selector!==O){this.selector=b3.selector;this.context=b3.context}return bI.makeArray(b3,this)},selector:"",jquery:"1.7.1",length:0,size:function(){return this.length},toArray:function(){return bN.call(this,0)},get:function(b3){return b3==null?this.toArray():(b3<0?this[this.length+b3]:this[b3])},pushStack:function(b4,b6,b3){var b5=this.constructor();if(bI.isArray(b4)){bC.apply(b5,b4)}else{bI.merge(b5,b4)}b5.prevObject=this;b5.context=this.context;if(b6==="find"){b5.selector=this.selector+(this.selector?" ":"")+b3}else{if(b6){b5.selector=this.selector+"."+b6+"("+b3+")"}}return b5},each:function(b4,b3){return bI.each(this,b4,b3)},ready:function(b3){bI.bindReady();bF.add(b3);return this},eq:function(b3){b3=+b3;return b3===-1?this.slice(b3):this.slice(b3,b3+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(bN.apply(this,arguments),"slice",bN.call(arguments).join(","))},map:function(b3){return this.pushStack(bI.map(this,function(b5,b4){return b3.call(b5,b4,b5)}))},end:function(){return this.prevObject||this.constructor(null)},push:bC,sort:[].sort,splice:[].splice};bI.fn.init.prototype=bI.fn;bI.extend=bI.fn.extend=function(){var cc,b5,b3,b4,b9,ca,b8=arguments[0]||{},b7=1,b6=arguments.length,cb=false;if(typeof b8==="boolean"){cb=b8;b8=arguments[1]||{};b7=2}if(typeof b8!=="object"&&!bI.isFunction(b8)){b8={}}if(b6===b7){b8=this;--b7}for(;b7<b6;b7++){if((cc=arguments[b7])!=null){for(b5 in cc){b3=b8[b5];b4=cc[b5];if(b8===b4){continue}if(cb&&b4&&(bI.isPlainObject(b4)||(b9=bI.isArray(b4)))){if(b9){b9=false;ca=b3&&bI.isArray(b3)?b3:[]}else{ca=b3&&bI.isPlainObject(b3)?b3:{}}b8[b5]=bI.extend(cb,ca,b4)}else{if(b4!==O){b8[b5]=b4}}}}}return b8};bI.extend({noConflict:function(b3){if(be.$===bI){be.$=bK}if(b3&&be.jQuery===bI){be.jQuery=bX}return bI},isReady:false,readyWait:1,holdReady:function(b3){if(b3){bI.readyWait++}else{bI.ready(true)}},ready:function(b3){if((b3===true&&!--bI.readyWait)||(b3!==true&&!bI.isReady)){if(!ay.body){return setTimeout(bI.ready,1)}bI.isReady=true;if(b3!==true&&--bI.readyWait>0){return}bF.fireWith(ay,[bI]);if(bI.fn.trigger){bI(ay).trigger("ready").off("ready")}}},bindReady:function(){if(bF){return}bF=bI.Callbacks("once memory");if(ay.readyState==="complete"){return setTimeout(bI.ready,1)}if(ay.addEventListener){ay.addEventListener("DOMContentLoaded",e,false);be.addEventListener("load",bI.ready,false)}else{if(ay.attachEvent){ay.attachEvent("onreadystatechange",e);be.attachEvent("onload",bI.ready);var b3=false;try{b3=be.frameElement==null}catch(b4){}if(ay.documentElement.doScroll&&b3){bz()}}}},isFunction:function(b3){return bI.type(b3)==="function"},isArray:Array.isArray||function(b3){return bI.type(b3)==="array"},isWindow:function(b3){return b3&&typeof b3==="object"&&"setInterval" in b3},isNumeric:function(b3){return !isNaN(parseFloat(b3))&&isFinite(b3)},type:function(b3){return b3==null?String(b3):bA[bO.call(b3)]||"object"},isPlainObject:function(b5){if(!b5||bI.type(b5)!=="object"||b5.nodeType||bI.isWindow(b5)){return false}try{if(b5.constructor&&!bJ.call(b5,"constructor")&&!bJ.call(b5.constructor.prototype,"isPrototypeOf")){return false}}catch(b4){return false}var b3;for(b3 in b5){}return b3===O||bJ.call(b5,b3)},isEmptyObject:function(b4){for(var b3 in b4){return false}return true},error:function(b3){throw new Error(b3)},parseJSON:function(b3){if(typeof b3!=="string"||!b3){return null}b3=bI.trim(b3);if(be.JSON&&be.JSON.parse){return be.JSON.parse(b3)}if(bQ.test(b3.replace(bZ,"@").replace(bS,"]").replace(bM,""))){return(new Function("return "+b3))()}bI.error("Invalid JSON: "+b3)},parseXML:function(b5){var b3,b4;try{if(be.DOMParser){b4=new DOMParser();b3=b4.parseFromString(b5,"text/xml")}else{b3=new ActiveXObject("Microsoft.XMLDOM");b3.async="false";b3.loadXML(b5)}}catch(b6){b3=O}if(!b3||!b3.documentElement||b3.getElementsByTagName("parsererror").length){bI.error("Invalid XML: "+b5)}return b3},noop:function(){},globalEval:function(b3){if(b3&&bP.test(b3)){(be.execScript||function(b4){be["eval"].call(be,b4)})(b3)}},camelCase:function(b3){return b3.replace(b2,"ms-").replace(bE,bW)},nodeName:function(b4,b3){return b4.nodeName&&b4.nodeName.toUpperCase()===b3.toUpperCase()},each:function(b6,b9,b5){var b4,b7=0,b8=b6.length,b3=b8===O||bI.isFunction(b6);if(b5){if(b3){for(b4 in b6){if(b9.apply(b6[b4],b5)===false){break}}}else{for(;b7<b8;){if(b9.apply(b6[b7++],b5)===false){break}}}}else{if(b3){for(b4 in b6){if(b9.call(b6[b4],b4,b6[b4])===false){break}}}else{for(;b7<b8;){if(b9.call(b6[b7],b7,b6[b7++])===false){break}}}}return b6},trim:bR?function(b3){return b3==null?"":bR.call(b3)}:function(b3){return b3==null?"":b3.toString().replace(bL,"").replace(bH,"")},makeArray:function(b6,b4){var b3=b4||[];if(b6!=null){var b5=bI.type(b6);if(b6.length==null||b5==="string"||b5==="function"||b5==="regexp"||bI.isWindow(b6)){bC.call(b3,b6)}else{bI.merge(b3,b6)}}return b3},inArray:function(b5,b6,b4){var b3;if(b6){if(by){return by.call(b6,b5,b4)}b3=b6.length;b4=b4?b4<0?Math.max(0,b3+b4):b4:0;for(;b4<b3;b4++){if(b4 in b6&&b6[b4]===b5){return b4}}}return -1},merge:function(b7,b5){var b6=b7.length,b4=0;if(typeof b5.length==="number"){for(var b3=b5.length;b4<b3;b4++){b7[b6++]=b5[b4]}}else{while(b5[b4]!==O){b7[b6++]=b5[b4++]}}b7.length=b6;return b7},grep:function(b4,b9,b3){var b5=[],b8;b3=!!b3;for(var b6=0,b7=b4.length;b6<b7;b6++){b8=!!b9(b4[b6],b6);if(b3!==b8){b5.push(b4[b6])}}return b5},map:function(b3,ca,cb){var b8,b9,b7=[],b5=0,b4=b3.length,b6=b3 instanceof bI||b4!==O&&typeof b4==="number"&&((b4>0&&b3[0]&&b3[b4-1])||b4===0||bI.isArray(b3));if(b6){for(;b5<b4;b5++){b8=ca(b3[b5],b5,cb);if(b8!=null){b7[b7.length]=b8}}}else{for(b9 in b3){b8=ca(b3[b9],b9,cb);if(b8!=null){b7[b7.length]=b8}}}return b7.concat.apply([],b7)},guid:1,proxy:function(b7,b6){if(typeof b6==="string"){var b5=b7[b6];b6=b7;b7=b5}if(!bI.isFunction(b7)){return O}var b3=bN.call(arguments,2),b4=function(){return b7.apply(b6,b3.concat(bN.call(arguments)))};b4.guid=b7.guid=b7.guid||b4.guid||bI.guid++;return b4},access:function(b3,cb,b9,b5,b8,ca){var b4=b3.length;if(typeof cb==="object"){for(var b6 in cb){bI.access(b3,b6,cb[b6],b5,b8,b9)}return b3}if(b9!==O){b5=!ca&&b5&&bI.isFunction(b9);for(var b7=0;b7<b4;b7++){b8(b3[b7],cb,b5?b9.call(b3[b7],b7,b8(b3[b7],cb)):b9,ca)}return b3}return b4?b8(b3[0],cb):O},now:function(){return(new Date()).getTime()},uaMatch:function(b4){b4=b4.toLowerCase();var b3=bB.exec(b4)||bU.exec(b4)||bT.exec(b4)||b4.indexOf("compatible")<0&&bV.exec(b4)||[];return{browser:b3[1]||"",version:b3[2]||"0"}},sub:function(){function b3(b6,b7){return new b3.fn.init(b6,b7)}bI.extend(true,b3,this);b3.superclass=this;b3.fn=b3.prototype=this();b3.fn.constructor=b3;b3.sub=this.sub;b3.fn.init=function b5(b6,b7){if(b7&&b7 instanceof bI&&!(b7 instanceof b3)){b7=b3(b7)}return bI.fn.init.call(this,b6,b7,b4)};b3.fn.init.prototype=b3.fn;var b4=b3(ay);return b3},browser:{}});bI.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(b4,b3){bA["[object "+b3+"]"]=b3.toLowerCase()});bY=bI.uaMatch(b0);if(bY.browser){bI.browser[bY.browser]=true;bI.browser.version=bY.version}if(bI.browser.webkit){bI.browser.safari=true}if(bP.test("\xA0")){bL=/^[\s\xA0]+/;bH=/[\s\xA0]+$/}bG=bI(ay);if(ay.addEventListener){e=function(){ay.removeEventListener("DOMContentLoaded",e,false);bI.ready()}}else{if(ay.attachEvent){e=function(){if(ay.readyState==="complete"){ay.detachEvent("onreadystatechange",e);bI.ready()}}}}function bz(){if(bI.isReady){return}try{ay.documentElement.doScroll("left")}catch(b3){setTimeout(bz,1);return}bI.ready()}return bI})();var a5={};function aa(e){var by=a5[e]={},bz,bA;e=e.split(/\s+/);for(bz=0,bA=e.length;bz<bA;bz++){by[e[bz]]=true}return by}b.Callbacks=function(bz){bz=bz?(a5[bz]||aa(bz)):{};var bE=[],bF=[],bA,bB,by,bC,bD,bH=function(bI){var bJ,bM,bL,bK,bN;for(bJ=0,bM=bI.length;bJ<bM;bJ++){bL=bI[bJ];bK=b.type(bL);if(bK==="array"){bH(bL)}else{if(bK==="function"){if(!bz.unique||!bG.has(bL)){bE.push(bL)}}}}},e=function(bJ,bI){bI=bI||[];bA=!bz.memory||[bJ,bI];bB=true;bD=by||0;by=0;bC=bE.length;for(;bE&&bD<bC;bD++){if(bE[bD].apply(bJ,bI)===false&&bz.stopOnFalse){bA=true;break}}bB=false;if(bE){if(!bz.once){if(bF&&bF.length){bA=bF.shift();bG.fireWith(bA[0],bA[1])}}else{if(bA===true){bG.disable()}else{bE=[]}}}},bG={add:function(){if(bE){var bI=bE.length;bH(arguments);if(bB){bC=bE.length}else{if(bA&&bA!==true){by=bI;e(bA[0],bA[1])}}}return this},remove:function(){if(bE){var bI=arguments,bK=0,bL=bI.length;for(;bK<bL;bK++){for(var bJ=0;bJ<bE.length;bJ++){if(bI[bK]===bE[bJ]){if(bB){if(bJ<=bC){bC--;if(bJ<=bD){bD--}}}bE.splice(bJ--,1);if(bz.unique){break}}}}}return this},has:function(bJ){if(bE){var bI=0,bK=bE.length;for(;bI<bK;bI++){if(bJ===bE[bI]){return true}}}return false},empty:function(){bE=[];return this},disable:function(){bE=bF=bA=O;return this},disabled:function(){return !bE},lock:function(){bF=O;if(!bA||bA===true){bG.disable()}return this},locked:function(){return !bF},fireWith:function(bJ,bI){if(bF){if(bB){if(!bz.once){bF.push([bJ,bI])}}else{if(!(bz.once&&bA)){e(bJ,bI)}}}return this},fire:function(){bG.fireWith(this,arguments);return this},fired:function(){return !!bA}};return bG};var aM=[].slice;b.extend({Deferred:function(bB){var bA=b.Callbacks("once memory"),bz=b.Callbacks("once memory"),by=b.Callbacks("memory"),e="pending",bD={resolve:bA,reject:bz,notify:by},bF={done:bA.add,fail:bz.add,progress:by.add,state:function(){return e},isResolved:bA.fired,isRejected:bz.fired,then:function(bH,bG,bI){bE.done(bH).fail(bG).progress(bI);return this},always:function(){bE.done.apply(bE,arguments).fail.apply(bE,arguments);return this},pipe:function(bI,bH,bG){return b.Deferred(function(bJ){b.each({done:[bI,"resolve"],fail:[bH,"reject"],progress:[bG,"notify"]},function(bL,bO){var bK=bO[0],bN=bO[1],bM;if(b.isFunction(bK)){bE[bL](function(){bM=bK.apply(this,arguments);if(bM&&b.isFunction(bM.promise)){bM.promise().then(bJ.resolve,bJ.reject,bJ.notify)}else{bJ[bN+"With"](this===bE?bJ:this,[bM])}})}else{bE[bL](bJ[bN])}})}).promise()},promise:function(bH){if(bH==null){bH=bF}else{for(var bG in bF){bH[bG]=bF[bG]}}return bH}},bE=bF.promise({}),bC;for(bC in bD){bE[bC]=bD[bC].fire;bE[bC+"With"]=bD[bC].fireWith}bE.done(function(){e="resolved"},bz.disable,by.lock).fail(function(){e="rejected"},bA.disable,by.lock);if(bB){bB.call(bE,bE)}return bE},when:function(bD){var bA=aM.call(arguments,0),by=0,e=bA.length,bE=new Array(e),bz=e,bB=e,bF=e<=1&&bD&&b.isFunction(bD.promise)?bD:b.Deferred(),bH=bF.promise();function bG(bI){return function(bJ){bA[bI]=arguments.length>1?aM.call(arguments,0):bJ;if(!(--bz)){bF.resolveWith(bF,bA)}}}function bC(bI){return function(bJ){bE[bI]=arguments.length>1?aM.call(arguments,0):bJ;bF.notifyWith(bH,bE)}}if(e>1){for(;by<e;by++){if(bA[by]&&bA[by].promise&&b.isFunction(bA[by].promise)){bA[by].promise().then(bG(by),bF.reject,bC(by))}else{--bz}}if(!bz){bF.resolveWith(bF,bA)}}else{if(bF!==bD){bF.resolveWith(bF,e?[bD]:[])}}return bH}});b.support=(function(){var bM,bL,bI,bJ,bA,bH,bD,bG,bC,bN,bE,bB,bz,by=ay.createElement("div"),bK=ay.documentElement;by.setAttribute("className","t");by.innerHTML="   <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/>";bL=by.getElementsByTagName("*");bI=by.getElementsByTagName("a")[0];if(!bL||!bL.length||!bI){return{}}bJ=ay.createElement("select");bA=bJ.appendChild(ay.createElement("option"));bH=by.getElementsByTagName("input")[0];bM={leadingWhitespace:(by.firstChild.nodeType===3),tbody:!by.getElementsByTagName("tbody").length,htmlSerialize:!!by.getElementsByTagName("link").length,style:/top/.test(bI.getAttribute("style")),hrefNormalized:(bI.getAttribute("href")==="/a"),opacity:/^0.55/.test(bI.style.opacity),cssFloat:!!bI.style.cssFloat,checkOn:(bH.value==="on"),optSelected:bA.selected,getSetAttribute:by.className!=="t",enctype:!!ay.createElement("form").enctype,html5Clone:ay.createElement("nav").cloneNode(true).outerHTML!=="<:nav></:nav>",submitBubbles:true,changeBubbles:true,focusinBubbles:false,deleteExpando:true,noCloneEvent:true,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableMarginRight:true};bH.checked=true;bM.noCloneChecked=bH.cloneNode(true).checked;bJ.disabled=true;bM.optDisabled=!bA.disabled;try{delete by.test}catch(bF){bM.deleteExpando=false}if(!by.addEventListener&&by.attachEvent&&by.fireEvent){by.attachEvent("onclick",function(){bM.noCloneEvent=false});by.cloneNode(true).fireEvent("onclick")}bH=ay.createElement("input");bH.value="t";bH.setAttribute("type","radio");bM.radioValue=bH.value==="t";bH.setAttribute("checked","checked");by.appendChild(bH);bG=ay.createDocumentFragment();bG.appendChild(by.lastChild);bM.checkClone=bG.cloneNode(true).cloneNode(true).lastChild.checked;bM.appendChecked=bH.checked;bG.removeChild(bH);bG.appendChild(by);by.innerHTML="";if(be.getComputedStyle){bD=ay.createElement("div");bD.style.width="0";bD.style.marginRight="0";by.style.width="2px";by.appendChild(bD);bM.reliableMarginRight=(parseInt((be.getComputedStyle(bD,null)||{marginRight:0}).marginRight,10)||0)===0}if(by.attachEvent){for(bB in {submit:1,change:1,focusin:1}){bE="on"+bB;bz=(bE in by);if(!bz){by.setAttribute(bE,"return;");bz=(typeof by[bE]==="function")}bM[bB+"Bubbles"]=bz}}bG.removeChild(by);bG=bJ=bA=bD=by=bH=null;b(function(){var bP,bX,bY,bW,bQ,bR,bO,bV,bU,e,bS,bT=ay.getElementsByTagName("body")[0];if(!bT){return}bO=1;bV="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;";bU="visibility:hidden;border:0;";e="style='"+bV+"border:5px solid #000;padding:0;'";bS="<div "+e+"><div></div></div><table "+e+" cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";bP=ay.createElement("div");bP.style.cssText=bU+"width:0;height:0;position:static;top:0;margin-top:"+bO+"px";bT.insertBefore(bP,bT.firstChild);by=ay.createElement("div");bP.appendChild(by);by.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>";bC=by.getElementsByTagName("td");bz=(bC[0].offsetHeight===0);bC[0].style.display="";bC[1].style.display="none";bM.reliableHiddenOffsets=bz&&(bC[0].offsetHeight===0);by.innerHTML="";by.style.width=by.style.paddingLeft="1px";b.boxModel=bM.boxModel=by.offsetWidth===2;if(typeof by.style.zoom!=="undefined"){by.style.display="inline";by.style.zoom=1;bM.inlineBlockNeedsLayout=(by.offsetWidth===2);by.style.display="";by.innerHTML="<div style='width:4px;'></div>";bM.shrinkWrapBlocks=(by.offsetWidth!==2)}by.style.cssText=bV+bU;by.innerHTML=bS;bX=by.firstChild;bY=bX.firstChild;bQ=bX.nextSibling.firstChild.firstChild;bR={doesNotAddBorder:(bY.offsetTop!==5),doesAddBorderForTableAndCells:(bQ.offsetTop===5)};bY.style.position="fixed";bY.style.top="20px";bR.fixedPosition=(bY.offsetTop===20||bY.offsetTop===15);bY.style.position=bY.style.top="";bX.style.overflow="hidden";bX.style.position="relative";bR.subtractsBorderForOverflowNotVisible=(bY.offsetTop===-5);bR.doesNotIncludeMarginInBodyOffset=(bT.offsetTop!==bO);bT.removeChild(bP);by=bP=null;b.extend(bM,bR)});return bM})();var aV=/^(?:\{.*\}|\[.*\])$/,aD=/([A-Z])/g;b.extend({cache:{},uuid:0,expando:"jQuery"+(b.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?b.cache[e[b.expando]]:e[b.expando];return !!e&&!V(e)},data:function(bA,by,bC,bB){if(!b.acceptData(bA)){return}var bJ,bD,bG,bH=b.expando,bF=typeof by==="string",bI=bA.nodeType,e=bI?b.cache:bA,bz=bI?bA[bH]:bA[bH]&&bH,bE=by==="events";if((!bz||!e[bz]||(!bE&&!bB&&!e[bz].data))&&bF&&bC===O){return}if(!bz){if(bI){bA[bH]=bz=++b.uuid}else{bz=bH}}if(!e[bz]){e[bz]={};if(!bI){e[bz].toJSON=b.noop}}if(typeof by==="object"||typeof by==="function"){if(bB){e[bz]=b.extend(e[bz],by)}else{e[bz].data=b.extend(e[bz].data,by)}}bJ=bD=e[bz];if(!bB){if(!bD.data){bD.data={}}bD=bD.data}if(bC!==O){bD[b.camelCase(by)]=bC}if(bE&&!bD[by]){return bJ.events}if(bF){bG=bD[by];if(bG==null){bG=bD[b.camelCase(by)]}}else{bG=bD}return bG},removeData:function(bA,by,bB){if(!b.acceptData(bA)){return}var bE,bD,bC,bF=b.expando,bG=bA.nodeType,e=bG?b.cache:bA,bz=bG?bA[bF]:bF;if(!e[bz]){return}if(by){bE=bB?e[bz]:e[bz].data;if(bE){if(!b.isArray(by)){if(by in bE){by=[by]}else{by=b.camelCase(by);if(by in bE){by=[by]}else{by=by.split(" ")}}}for(bD=0,bC=by.length;bD<bC;bD++){delete bE[by[bD]]}if(!(bB?V:b.isEmptyObject)(bE)){return}}}if(!bB){delete e[bz].data;if(!V(e[bz])){return}}if(b.support.deleteExpando||!e.setInterval){delete e[bz]}else{e[bz]=null}if(bG){if(b.support.deleteExpando){delete bA[bF]}else{if(bA.removeAttribute){bA.removeAttribute(bF)}else{bA[bF]=null}}}},_data:function(by,e,bz){return b.data(by,e,bz,true)},acceptData:function(by){if(by.nodeName){var e=b.noData[by.nodeName.toLowerCase()];if(e){return !(e===true||by.getAttribute("classid")!==e)}}return true}});b.fn.extend({data:function(bB,bD){var bE,e,bz,bC=null;if(typeof bB==="undefined"){if(this.length){bC=b.data(this[0]);if(this[0].nodeType===1&&!b._data(this[0],"parsedAttrs")){e=this[0].attributes;for(var bA=0,by=e.length;bA<by;bA++){bz=e[bA].name;if(bz.indexOf("data-")===0){bz=b.camelCase(bz.substring(5));a8(this[0],bz,bC[bz])}}b._data(this[0],"parsedAttrs",true)}}return bC}else{if(typeof bB==="object"){return this.each(function(){b.data(this,bB)})}}bE=bB.split(".");bE[1]=bE[1]?"."+bE[1]:"";if(bD===O){bC=this.triggerHandler("getData"+bE[1]+"!",[bE[0]]);if(bC===O&&this.length){bC=b.data(this[0],bB);bC=a8(this[0],bB,bC)}return bC===O&&bE[1]?this.data(bE[0]):bC}else{return this.each(function(){var bF=b(this),bG=[bE[0],bD];bF.triggerHandler("setData"+bE[1]+"!",bG);b.data(this,bB,bD);bF.triggerHandler("changeData"+bE[1]+"!",bG)})}},removeData:function(e){return this.each(function(){b.removeData(this,e)})}});function a8(bA,bz,bB){if(bB===O&&bA.nodeType===1){var by="data-"+bz.replace(aD,"-$1").toLowerCase();bB=bA.getAttribute(by);if(typeof bB==="string"){try{bB=bB==="true"?true:bB==="false"?false:bB==="null"?null:b.isNumeric(bB)?parseFloat(bB):aV.test(bB)?b.parseJSON(bB):bB}catch(bC){}b.data(bA,bz,bB)}else{bB=O}}return bB}function V(by){for(var e in by){if(e==="data"&&b.isEmptyObject(by[e])){continue}if(e!=="toJSON"){return false}}return true}function bl(bB,bA,bD){var bz=bA+"defer",by=bA+"queue",e=bA+"mark",bC=b._data(bB,bz);if(bC&&(bD==="queue"||!b._data(bB,by))&&(bD==="mark"||!b._data(bB,e))){setTimeout(function(){if(!b._data(bB,by)&&!b._data(bB,e)){b.removeData(bB,bz,true);bC.fire()}},0)}}b.extend({_mark:function(by,e){if(by){e=(e||"fx")+"mark";b._data(by,e,(b._data(by,e)||0)+1)}},_unmark:function(bB,bA,by){if(bB!==true){by=bA;bA=bB;bB=false}if(bA){by=by||"fx";var e=by+"mark",bz=bB?0:((b._data(bA,e)||1)-1);if(bz){b._data(bA,e,bz)}else{b.removeData(bA,e,true);bl(bA,by,"mark")}}},queue:function(by,e,bA){var bz;if(by){e=(e||"fx")+"queue";bz=b._data(by,e);if(bA){if(!bz||b.isArray(bA)){bz=b._data(by,e,b.makeArray(bA))}else{bz.push(bA)}}return bz||[]}},dequeue:function(bB,bA){bA=bA||"fx";var by=b.queue(bB,bA),bz=by.shift(),e={};if(bz==="inprogress"){bz=by.shift()}if(bz){if(bA==="fx"){by.unshift("inprogress")}b._data(bB,bA+".run",e);bz.call(bB,function(){b.dequeue(bB,bA)},e)}if(!by.length){b.removeData(bB,bA+"queue "+bA+".run",true);bl(bB,bA,"queue")}}});b.fn.extend({queue:function(e,by){if(typeof e!=="string"){by=e;e="fx"}if(by===O){return b.queue(this[0],e)}return this.each(function(){var bz=b.queue(this,e,by);if(e==="fx"&&bz[0]!=="inprogress"){b.dequeue(this,e)}})},dequeue:function(e){return this.each(function(){b.dequeue(this,e)})},delay:function(by,e){by=b.fx?b.fx.speeds[by]||by:by;e=e||"fx";return this.queue(e,function(bA,bz){var bB=setTimeout(bA,by);bz.stop=function(){clearTimeout(bB)}})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(bG,bz){if(typeof bG!=="string"){bz=bG;bG=O}bG=bG||"fx";var e=b.Deferred(),by=this,bB=by.length,bE=1,bC=bG+"defer",bD=bG+"queue",bF=bG+"mark",bA;function bH(){if(!(--bE)){e.resolveWith(by,[by])}}while(bB--){if((bA=b.data(by[bB],bC,O,true)||(b.data(by[bB],bD,O,true)||b.data(by[bB],bF,O,true))&&b.data(by[bB],bC,b.Callbacks("once memory"),true))){bE++;bA.add(bH)}}bH();return e.promise()}});var aS=/[\n\t\r]/g,ai=/\s+/,aX=/\r/g,g=/^(?:button|input)$/i,G=/^(?:button|input|object|select|textarea)$/i,n=/^a(?:rea)?$/i,ar=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,I=b.support.getSetAttribute,bh,a1,aI;b.fn.extend({attr:function(e,by){return b.access(this,e,by,true,b.attr)},removeAttr:function(e){return this.each(function(){b.removeAttr(this,e)})},prop:function(e,by){return b.access(this,e,by,true,b.prop)},removeProp:function(e){e=b.propFix[e]||e;return this.each(function(){try{this[e]=O;delete this[e]}catch(by){}})},addClass:function(bB){var bD,bz,by,bA,bC,bE,e;if(b.isFunction(bB)){return this.each(function(bF){b(this).addClass(bB.call(this,bF,this.className))})}if(bB&&typeof bB==="string"){bD=bB.split(ai);for(bz=0,by=this.length;bz<by;bz++){bA=this[bz];if(bA.nodeType===1){if(!bA.className&&bD.length===1){bA.className=bB}else{bC=" "+bA.className+" ";for(bE=0,e=bD.length;bE<e;bE++){if(!~bC.indexOf(" "+bD[bE]+" ")){bC+=bD[bE]+" "}}bA.className=b.trim(bC)}}}}return this},removeClass:function(bC){var bD,bz,by,bB,bA,bE,e;if(b.isFunction(bC)){return this.each(function(bF){b(this).removeClass(bC.call(this,bF,this.className))})}if((bC&&typeof bC==="string")||bC===O){bD=(bC||"").split(ai);for(bz=0,by=this.length;bz<by;bz++){bB=this[bz];if(bB.nodeType===1&&bB.className){if(bC){bA=(" "+bB.className+" ").replace(aS," ");for(bE=0,e=bD.length;bE<e;bE++){bA=bA.replace(" "+bD[bE]+" "," ")}bB.className=b.trim(bA)}else{bB.className=""}}}}return this},toggleClass:function(bA,by){var bz=typeof bA,e=typeof by==="boolean";if(b.isFunction(bA)){return this.each(function(bB){b(this).toggleClass(bA.call(this,bB,this.className,by),by)})}return this.each(function(){if(bz==="string"){var bD,bC=0,bB=b(this),bE=by,bF=bA.split(ai);while((bD=bF[bC++])){bE=e?bE:!bB.hasClass(bD);bB[bE?"addClass":"removeClass"](bD)}}else{if(bz==="undefined"||bz==="boolean"){if(this.className){b._data(this,"__className__",this.className)}this.className=this.className||bA===false?"":b._data(this,"__className__")||""}}})},hasClass:function(e){var bA=" "+e+" ",bz=0,by=this.length;for(;bz<by;bz++){if(this[bz].nodeType===1&&(" "+this[bz].className+" ").replace(aS," ").indexOf(bA)>-1){return true}}return false},val:function(bA){var e,by,bB,bz=this[0];if(!arguments.length){if(bz){e=b.valHooks[bz.nodeName.toLowerCase()]||b.valHooks[bz.type];if(e&&"get" in e&&(by=e.get(bz,"value"))!==O){return by}by=bz.value;return typeof by==="string"?by.replace(aX,""):by==null?"":by}return}bB=b.isFunction(bA);return this.each(function(bD){var bC=b(this),bE;if(this.nodeType!==1){return}if(bB){bE=bA.call(this,bD,bC.val())}else{bE=bA}if(bE==null){bE=""}else{if(typeof bE==="number"){bE+=""}else{if(b.isArray(bE)){bE=b.map(bE,function(bF){return bF==null?"":bF+""})}}}e=b.valHooks[this.nodeName.toLowerCase()]||b.valHooks[this.type];if(!e||!("set" in e)||e.set(this,bE,"value")===O){this.value=bE}})}});b.extend({valHooks:{option:{get:function(e){var by=e.attributes.value;return !by||by.specified?e.value:e.text}},select:{get:function(e){var bD,by,bC,bA,bB=e.selectedIndex,bE=[],bF=e.options,bz=e.type==="select-one";if(bB<0){return null}by=bz?bB:0;bC=bz?bB+1:bF.length;for(;by<bC;by++){bA=bF[by];if(bA.selected&&(b.support.optDisabled?!bA.disabled:bA.getAttribute("disabled")===null)&&(!bA.parentNode.disabled||!b.nodeName(bA.parentNode,"optgroup"))){bD=b(bA).val();if(bz){return bD}bE.push(bD)}}if(bz&&!bE.length&&bF.length){return b(bF[bB]).val()}return bE},set:function(by,bz){var e=b.makeArray(bz);b(by).find("option").each(function(){this.selected=b.inArray(b(this).val(),e)>=0});if(!e.length){by.selectedIndex=-1}return e}}},attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(bD,bA,bE,bC){var bz,e,bB,by=bD.nodeType;if(!bD||by===3||by===8||by===2){return}if(bC&&bA in b.attrFn){return b(bD)[bA](bE)}if(typeof bD.getAttribute==="undefined"){return b.prop(bD,bA,bE)}bB=by!==1||!b.isXMLDoc(bD);if(bB){bA=bA.toLowerCase();e=b.attrHooks[bA]||(ar.test(bA)?a1:bh)}if(bE!==O){if(bE===null){b.removeAttr(bD,bA);return}else{if(e&&"set" in e&&bB&&(bz=e.set(bD,bE,bA))!==O){return bz}else{bD.setAttribute(bA,""+bE);return bE}}}else{if(e&&"get" in e&&bB&&(bz=e.get(bD,bA))!==null){return bz}else{bz=bD.getAttribute(bA);return bz===null?O:bz}}},removeAttr:function(bA,bC){var bB,bD,by,e,bz=0;if(bC&&bA.nodeType===1){bD=bC.toLowerCase().split(ai);e=bD.length;for(;bz<e;bz++){by=bD[bz];if(by){bB=b.propFix[by]||by;b.attr(bA,by,"");bA.removeAttribute(I?by:bB);if(ar.test(by)&&bB in bA){bA[bB]=false}}}}},attrHooks:{type:{set:function(e,by){if(g.test(e.nodeName)&&e.parentNode){b.error("type property can't be changed")}else{if(!b.support.radioValue&&by==="radio"&&b.nodeName(e,"input")){var bz=e.value;e.setAttribute("type",by);if(bz){e.value=bz}return by}}}},value:{get:function(by,e){if(bh&&b.nodeName(by,"button")){return bh.get(by,e)}return e in by?by.value:null},set:function(by,bz,e){if(bh&&b.nodeName(by,"button")){return bh.set(by,bz,e)}by.value=bz}}},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(bC,bA,bD){var bz,e,bB,by=bC.nodeType;if(!bC||by===3||by===8||by===2){return}bB=by!==1||!b.isXMLDoc(bC);if(bB){bA=b.propFix[bA]||bA;e=b.propHooks[bA]}if(bD!==O){if(e&&"set" in e&&(bz=e.set(bC,bD,bA))!==O){return bz}else{return(bC[bA]=bD)}}else{if(e&&"get" in e&&(bz=e.get(bC,bA))!==null){return bz}else{return bC[bA]}}},propHooks:{tabIndex:{get:function(by){var e=by.getAttributeNode("tabindex");return e&&e.specified?parseInt(e.value,10):G.test(by.nodeName)||n.test(by.nodeName)&&by.href?0:O}}}});b.attrHooks.tabindex=b.propHooks.tabIndex;a1={get:function(by,e){var bA,bz=b.prop(by,e);return bz===true||typeof bz!=="boolean"&&(bA=by.getAttributeNode(e))&&bA.nodeValue!==false?e.toLowerCase():O},set:function(by,bA,e){var bz;if(bA===false){b.removeAttr(by,e)}else{bz=b.propFix[e]||e;if(bz in by){by[bz]=true}by.setAttribute(e,e.toLowerCase())}return e}};if(!I){aI={name:true,id:true};bh=b.valHooks.button={get:function(bz,by){var e;e=bz.getAttributeNode(by);return e&&(aI[by]?e.nodeValue!=="":e.specified)?e.nodeValue:O},set:function(bz,bA,by){var e=bz.getAttributeNode(by);if(!e){e=ay.createAttribute(by);bz.setAttributeNode(e)}return(e.nodeValue=bA+"")}};b.attrHooks.tabindex.set=bh.set;b.each(["width","height"],function(by,e){b.attrHooks[e]=b.extend(b.attrHooks[e],{set:function(bz,bA){if(bA===""){bz.setAttribute(e,"auto");return bA}}})});b.attrHooks.contenteditable={get:bh.get,set:function(by,bz,e){if(bz===""){bz="false"}bh.set(by,bz,e)}}}if(!b.support.hrefNormalized){b.each(["href","src","width","height"],function(by,e){b.attrHooks[e]=b.extend(b.attrHooks[e],{get:function(bA){var bz=bA.getAttribute(e,2);return bz===null?O:bz}})})}if(!b.support.style){b.attrHooks.style={get:function(e){return e.style.cssText.toLowerCase()||O},set:function(e,by){return(e.style.cssText=""+by)}}}if(!b.support.optSelected){b.propHooks.selected=b.extend(b.propHooks.selected,{get:function(by){var e=by.parentNode;if(e){e.selectedIndex;if(e.parentNode){e.parentNode.selectedIndex}}return null}})}if(!b.support.enctype){b.propFix.enctype="encoding"}if(!b.support.checkOn){b.each(["radio","checkbox"],function(){b.valHooks[this]={get:function(e){return e.getAttribute("value")===null?"on":e.value}}})}b.each(["radio","checkbox"],function(){b.valHooks[this]=b.extend(b.valHooks[this],{set:function(e,by){if(b.isArray(by)){return(e.checked=b.inArray(b(e).val(),by)>=0)}}})});var bg=/^(?:textarea|input|select)$/i,p=/^([^\.]*)?(?:\.(.+))?$/,M=/\bhover(\.\S+)?\b/,aR=/^key/,bi=/^(?:mouse|contextmenu)|click/,W=/^(?:focusinfocus|focusoutblur)$/,X=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,ab=function(e){var by=X.exec(e);if(by){by[1]=(by[1]||"").toLowerCase();by[3]=by[3]&&new RegExp("(?:^|\\s)"+by[3]+"(?:\\s|$)")}return by},l=function(bz,e){var by=bz.attributes||{};return((!e[1]||bz.nodeName.toLowerCase()===e[1])&&(!e[2]||(by.id||{}).value===e[2])&&(!e[3]||e[3].test((by["class"]||{}).value)))},bw=function(e){return b.event.special.hover?e:e.replace(M,"mouseenter$1 mouseleave$1")};b.event={add:function(bA,bF,bM,bD,bB){var bG,bE,bN,bL,bK,bI,e,bJ,by,bC,bz,bH;if(bA.nodeType===3||bA.nodeType===8||!bF||!bM||!(bG=b._data(bA))){return}if(bM.handler){by=bM;bM=by.handler}if(!bM.guid){bM.guid=b.guid++}bN=bG.events;if(!bN){bG.events=bN={}}bE=bG.handle;if(!bE){bG.handle=bE=function(bO){return typeof b!=="undefined"&&(!bO||b.event.triggered!==bO.type)?b.event.dispatch.apply(bE.elem,arguments):O};bE.elem=bA}bF=b.trim(bw(bF)).split(" ");for(bL=0;bL<bF.length;bL++){bK=p.exec(bF[bL])||[];bI=bK[1];e=(bK[2]||"").split(".").sort();bH=b.event.special[bI]||{};bI=(bB?bH.delegateType:bH.bindType)||bI;bH=b.event.special[bI]||{};bJ=b.extend({type:bI,origType:bK[1],data:bD,handler:bM,guid:bM.guid,selector:bB,quick:ab(bB),namespace:e.join(".")},by);bz=bN[bI];if(!bz){bz=bN[bI]=[];bz.delegateCount=0;if(!bH.setup||bH.setup.call(bA,bD,e,bE)===false){if(bA.addEventListener){bA.addEventListener(bI,bE,false)}else{if(bA.attachEvent){bA.attachEvent("on"+bI,bE)}}}}if(bH.add){bH.add.call(bA,bJ);if(!bJ.handler.guid){bJ.handler.guid=bM.guid}}if(bB){bz.splice(bz.delegateCount++,0,bJ)}else{bz.push(bJ)}b.event.global[bI]=true}bA=null},global:{},remove:function(bM,bH,by,bK,bE){var bL=b.hasData(bM)&&b._data(bM),bI,bA,bC,bO,bF,bD,bJ,bz,bB,bN,bG,e;if(!bL||!(bz=bL.events)){return}bH=b.trim(bw(bH||"")).split(" ");for(bI=0;bI<bH.length;bI++){bA=p.exec(bH[bI])||[];bC=bO=bA[1];bF=bA[2];if(!bC){for(bC in bz){b.event.remove(bM,bC+bH[bI],by,bK,true)}continue}bB=b.event.special[bC]||{};bC=(bK?bB.delegateType:bB.bindType)||bC;bG=bz[bC]||[];bD=bG.length;bF=bF?new RegExp("(^|\\.)"+bF.split(".").sort().join("\\.(?:.*\\.)?")+"(\\.|$)"):null;for(bJ=0;bJ<bG.length;bJ++){e=bG[bJ];if((bE||bO===e.origType)&&(!by||by.guid===e.guid)&&(!bF||bF.test(e.namespace))&&(!bK||bK===e.selector||bK==="**"&&e.selector)){bG.splice(bJ--,1);if(e.selector){bG.delegateCount--}if(bB.remove){bB.remove.call(bM,e)}}}if(bG.length===0&&bD!==bG.length){if(!bB.teardown||bB.teardown.call(bM,bF)===false){b.removeEvent(bM,bC,bL.handle)}delete bz[bC]}}if(b.isEmptyObject(bz)){bN=bL.handle;if(bN){bN.elem=null}b.removeData(bM,["events","handle"],true)}},customEvent:{getData:true,setData:true,changeData:true},trigger:function(by,bG,bD,bM){if(bD&&(bD.nodeType===3||bD.nodeType===8)){return}var bJ=by.type||by,bA=[],e,bz,bF,bK,bC,bB,bI,bH,bE,bL;if(W.test(bJ+b.event.triggered)){return}if(bJ.indexOf("!")>=0){bJ=bJ.slice(0,-1);bz=true}if(bJ.indexOf(".")>=0){bA=bJ.split(".");bJ=bA.shift();bA.sort()}if((!bD||b.event.customEvent[bJ])&&!b.event.global[bJ]){return}by=typeof by==="object"?by[b.expando]?by:new b.Event(bJ,by):new b.Event(bJ);by.type=bJ;by.isTrigger=true;by.exclusive=bz;by.namespace=bA.join(".");by.namespace_re=by.namespace?new RegExp("(^|\\.)"+bA.join("\\.(?:.*\\.)?")+"(\\.|$)"):null;bB=bJ.indexOf(":")<0?"on"+bJ:"";if(!bD){e=b.cache;for(bF in e){if(e[bF].events&&e[bF].events[bJ]){b.event.trigger(by,bG,e[bF].handle.elem,true)}}return}by.result=O;if(!by.target){by.target=bD}bG=bG!=null?b.makeArray(bG):[];bG.unshift(by);bI=b.event.special[bJ]||{};if(bI.trigger&&bI.trigger.apply(bD,bG)===false){return}bE=[[bD,bI.bindType||bJ]];if(!bM&&!bI.noBubble&&!b.isWindow(bD)){bL=bI.delegateType||bJ;bK=W.test(bL+bJ)?bD:bD.parentNode;bC=null;for(;bK;bK=bK.parentNode){bE.push([bK,bL]);bC=bK}if(bC&&bC===bD.ownerDocument){bE.push([bC.defaultView||bC.parentWindow||be,bL])}}for(bF=0;bF<bE.length&&!by.isPropagationStopped();bF++){bK=bE[bF][0];by.type=bE[bF][1];bH=(b._data(bK,"events")||{})[by.type]&&b._data(bK,"handle");if(bH){bH.apply(bK,bG)}bH=bB&&bK[bB];if(bH&&b.acceptData(bK)&&bH.apply(bK,bG)===false){by.preventDefault()}}by.type=bJ;if(!bM&&!by.isDefaultPrevented()){if((!bI._default||bI._default.apply(bD.ownerDocument,bG)===false)&&!(bJ==="click"&&b.nodeName(bD,"a"))&&b.acceptData(bD)){if(bB&&bD[bJ]&&((bJ!=="focus"&&bJ!=="blur")||by.target.offsetWidth!==0)&&!b.isWindow(bD)){bC=bD[bB];if(bC){bD[bB]=null}b.event.triggered=bJ;bD[bJ]();b.event.triggered=O;if(bC){bD[bB]=bC}}}}return by.result},dispatch:function(e){e=b.event.fix(e||be.event);var bC=((b._data(this,"events")||{})[e.type]||[]),bD=bC.delegateCount,bJ=[].slice.call(arguments,0),bB=!e.exclusive&&!e.namespace,bK=[],bF,bE,bN,bA,bI,bH,by,bG,bL,bz,bM;bJ[0]=e;e.delegateTarget=this;if(bD&&!e.target.disabled&&!(e.button&&e.type==="click")){bA=b(this);bA.context=this.ownerDocument||this;for(bN=e.target;bN!=this;bN=bN.parentNode||this){bH={};bG=[];bA[0]=bN;for(bF=0;bF<bD;bF++){bL=bC[bF];bz=bL.selector;if(bH[bz]===O){bH[bz]=(bL.quick?l(bN,bL.quick):bA.is(bz))}if(bH[bz]){bG.push(bL)}}if(bG.length){bK.push({elem:bN,matches:bG})}}}if(bC.length>bD){bK.push({elem:this,matches:bC.slice(bD)})}for(bF=0;bF<bK.length&&!e.isPropagationStopped();bF++){by=bK[bF];e.currentTarget=by.elem;for(bE=0;bE<by.matches.length&&!e.isImmediatePropagationStopped();bE++){bL=by.matches[bE];if(bB||(!e.namespace&&!bL.namespace)||e.namespace_re&&e.namespace_re.test(bL.namespace)){e.data=bL.data;e.handleObj=bL;bI=((b.event.special[bL.origType]||{}).handle||bL.handler).apply(by.elem,bJ);if(bI!==O){e.result=bI;if(bI===false){e.preventDefault();e.stopPropagation()}}}}}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(by,e){if(by.which==null){by.which=e.charCode!=null?e.charCode:e.keyCode}return by}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(bA,bz){var bB,bC,e,by=bz.button,bD=bz.fromElement;if(bA.pageX==null&&bz.clientX!=null){bB=bA.target.ownerDocument||ay;bC=bB.documentElement;e=bB.body;bA.pageX=bz.clientX+(bC&&bC.scrollLeft||e&&e.scrollLeft||0)-(bC&&bC.clientLeft||e&&e.clientLeft||0);bA.pageY=bz.clientY+(bC&&bC.scrollTop||e&&e.scrollTop||0)-(bC&&bC.clientTop||e&&e.clientTop||0)}if(!bA.relatedTarget&&bD){bA.relatedTarget=bD===bA.target?bz.toElement:bD}if(!bA.which&&by!==O){bA.which=(by&1?1:(by&2?3:(by&4?2:0)))}return bA}},fix:function(bz){if(bz[b.expando]){return bz}var by,bC,e=bz,bA=b.event.fixHooks[bz.type]||{},bB=bA.props?this.props.concat(bA.props):this.props;bz=b.Event(e);for(by=bB.length;by;){bC=bB[--by];bz[bC]=e[bC]}if(!bz.target){bz.target=e.srcElement||ay}if(bz.target.nodeType===3){bz.target=bz.target.parentNode}if(bz.metaKey===O){bz.metaKey=bz.ctrlKey}return bA.filter?bA.filter(bz,e):bz},special:{ready:{setup:b.bindReady},load:{noBubble:true},focus:{delegateType:"focusin"},blur:{delegateType:"focusout"},beforeunload:{setup:function(bz,by,e){if(b.isWindow(this)){this.onbeforeunload=e}},teardown:function(by,e){if(this.onbeforeunload===e){this.onbeforeunload=null}}}},simulate:function(bz,bB,bA,by){var bC=b.extend(new b.Event(),bA,{type:bz,isSimulated:true,originalEvent:{}});if(by){b.event.trigger(bC,null,bB)}else{b.event.dispatch.call(bB,bC)}if(bC.isDefaultPrevented()){bA.preventDefault()}}};b.event.handle=b.event.dispatch;b.removeEvent=ay.removeEventListener?function(by,e,bz){if(by.removeEventListener){by.removeEventListener(e,bz,false)}}:function(by,e,bz){if(by.detachEvent){by.detachEvent("on"+e,bz)}};b.Event=function(by,e){if(!(this instanceof b.Event)){return new b.Event(by,e)}if(by&&by.type){this.originalEvent=by;this.type=by.type;this.isDefaultPrevented=(by.defaultPrevented||by.returnValue===false||by.getPreventDefault&&by.getPreventDefault())?k:bn}else{this.type=by}if(e){b.extend(this,e)}this.timeStamp=by&&by.timeStamp||b.now();this[b.expando]=true};function bn(){return false}function k(){return true}b.Event.prototype={preventDefault:function(){this.isDefaultPrevented=k;var by=this.originalEvent;if(!by){return}if(by.preventDefault){by.preventDefault()}else{by.returnValue=false}},stopPropagation:function(){this.isPropagationStopped=k;var by=this.originalEvent;if(!by){return}if(by.stopPropagation){by.stopPropagation()}by.cancelBubble=true},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=k;this.stopPropagation()},isDefaultPrevented:bn,isPropagationStopped:bn,isImmediatePropagationStopped:bn};b.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(by,e){b.event.special[by]={delegateType:e,bindType:e,handle:function(bC){var bE=this,bD=bC.relatedTarget,bB=bC.handleObj,bz=bB.selector,bA;if(!bD||(bD!==bE&&!b.contains(bE,bD))){bC.type=bB.origType;bA=bB.handler.apply(this,arguments);bC.type=e}return bA}}});if(!b.support.submitBubbles){b.event.special.submit={setup:function(){if(b.nodeName(this,"form")){return false}b.event.add(this,"click._submit keypress._submit",function(bA){var bz=bA.target,by=b.nodeName(bz,"input")||b.nodeName(bz,"button")?bz.form:O;if(by&&!by._submit_attached){b.event.add(by,"submit._submit",function(e){if(this.parentNode&&!e.isTrigger){b.event.simulate("submit",this.parentNode,e,true)}});by._submit_attached=true}})},teardown:function(){if(b.nodeName(this,"form")){return false}b.event.remove(this,"._submit")}}}if(!b.support.changeBubbles){b.event.special.change={setup:function(){if(bg.test(this.nodeName)){if(this.type==="checkbox"||this.type==="radio"){b.event.add(this,"propertychange._change",function(e){if(e.originalEvent.propertyName==="checked"){this._just_changed=true}});b.event.add(this,"click._change",function(e){if(this._just_changed&&!e.isTrigger){this._just_changed=false;b.event.simulate("change",this,e,true)}})}return false}b.event.add(this,"beforeactivate._change",function(bz){var by=bz.target;if(bg.test(by.nodeName)&&!by._change_attached){b.event.add(by,"change._change",function(e){if(this.parentNode&&!e.isSimulated&&!e.isTrigger){b.event.simulate("change",this.parentNode,e,true)}});by._change_attached=true}})},handle:function(by){var e=by.target;if(this!==e||by.isSimulated||by.isTrigger||(e.type!=="radio"&&e.type!=="checkbox")){return by.handleObj.handler.apply(this,arguments)}},teardown:function(){b.event.remove(this,"._change");return bg.test(this.nodeName)}}}if(!b.support.focusinBubbles){b.each({focus:"focusin",blur:"focusout"},function(bA,e){var by=0,bz=function(bB){b.event.simulate(e,bB.target,b.event.fix(bB),true)};b.event.special[e]={setup:function(){if(by++===0){ay.addEventListener(bA,bz,true)}},teardown:function(){if(--by===0){ay.removeEventListener(bA,bz,true)}}}})}b.fn.extend({on:function(bz,e,bC,bB,by){var bD,bA;if(typeof bz==="object"){if(typeof e!=="string"){bC=e;e=O}for(bA in bz){this.on(bA,e,bC,bz[bA],by)}return this}if(bC==null&&bB==null){bB=e;bC=e=O}else{if(bB==null){if(typeof e==="string"){bB=bC;bC=O}else{bB=bC;bC=e;e=O}}}if(bB===false){bB=bn}else{if(!bB){return this}}if(by===1){bD=bB;bB=function(bE){b().off(bE);return bD.apply(this,arguments)};bB.guid=bD.guid||(bD.guid=b.guid++)}return this.each(function(){b.event.add(this,bz,bB,bC,e)})},one:function(by,e,bA,bz){return this.on.call(this,by,e,bA,bz,1)},off:function(bz,e,bB){if(bz&&bz.preventDefault&&bz.handleObj){var by=bz.handleObj;b(bz.delegateTarget).off(by.namespace?by.type+"."+by.namespace:by.type,by.selector,by.handler);return this}if(typeof bz==="object"){for(var bA in bz){this.off(bA,e,bz[bA])}return this}if(e===false||typeof e==="function"){bB=e;e=O}if(bB===false){bB=bn}return this.each(function(){b.event.remove(this,bz,bB,e)})},bind:function(e,bz,by){return this.on(e,null,bz,by)},unbind:function(e,by){return this.off(e,null,by)},live:function(e,bz,by){b(this.context).on(e,this.selector,bz,by);return this},die:function(e,by){b(this.context).off(e,this.selector||"**",by);return this},delegate:function(e,by,bA,bz){return this.on(by,e,bA,bz)},undelegate:function(e,by,bz){return arguments.length==1?this.off(e,"**"):this.off(by,e,bz)},trigger:function(e,by){return this.each(function(){b.event.trigger(e,by,this)})},triggerHandler:function(e,by){if(this[0]){return b.event.trigger(e,by,this[0],true)}},toggle:function(bA){var by=arguments,e=bA.guid||b.guid++,bz=0,bB=function(bC){var bD=(b._data(this,"lastToggle"+bA.guid)||0)%bz;b._data(this,"lastToggle"+bA.guid,bD+1);bC.preventDefault();return by[bD].apply(this,arguments)||false};bB.guid=e;while(bz<by.length){by[bz++].guid=e}return this.click(bB)},hover:function(e,by){return this.mouseenter(e).mouseleave(by||e)}});b.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(by,e){b.fn[e]=function(bA,bz){if(bz==null){bz=bA;bA=null}return arguments.length>0?this.on(e,null,bA,bz):this.trigger(e)};if(b.attrFn){b.attrFn[e]=true}if(aR.test(e)){b.event.fixHooks[e]=b.event.keyHooks}if(bi.test(e)){b.event.fixHooks[e]=b.event.mouseHooks}});
/*
 * Sizzle CSS Selector Engine
 *  Copyright 2011, The Dojo Foundation
 *  Released under the MIT, BSD, and GPL Licenses.
 *  More information: http://sizzlejs.com/
 */
(function(){var bK=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,bF="sizcache"+(Math.random()+"").replace(".",""),bL=0,bO=Object.prototype.toString,bE=false,bD=true,bN=/\\/g,bR=/\r\n/g,bT=/\W/;[0,0].sort(function(){bD=false;return 0});var bB=function(bY,e,b1,b2){b1=b1||[];e=e||ay;var b4=e;if(e.nodeType!==1&&e.nodeType!==9){return[]}if(!bY||typeof bY!=="string"){return b1}var bV,b6,b9,bU,b5,b8,b7,b0,bX=true,bW=bB.isXML(e),bZ=[],b3=bY;do{bK.exec("");bV=bK.exec(b3);if(bV){b3=bV[3];bZ.push(bV[1]);if(bV[2]){bU=bV[3];break}}}while(bV);if(bZ.length>1&&bG.exec(bY)){if(bZ.length===2&&bH.relative[bZ[0]]){b6=bP(bZ[0]+bZ[1],e,b2)}else{b6=bH.relative[bZ[0]]?[e]:bB(bZ.shift(),e);while(bZ.length){bY=bZ.shift();if(bH.relative[bY]){bY+=bZ.shift()}b6=bP(bY,b6,b2)}}}else{if(!b2&&bZ.length>1&&e.nodeType===9&&!bW&&bH.match.ID.test(bZ[0])&&!bH.match.ID.test(bZ[bZ.length-1])){b5=bB.find(bZ.shift(),e,bW);e=b5.expr?bB.filter(b5.expr,b5.set)[0]:b5.set[0]}if(e){b5=b2?{expr:bZ.pop(),set:bI(b2)}:bB.find(bZ.pop(),bZ.length===1&&(bZ[0]==="~"||bZ[0]==="+")&&e.parentNode?e.parentNode:e,bW);b6=b5.expr?bB.filter(b5.expr,b5.set):b5.set;if(bZ.length>0){b9=bI(b6)}else{bX=false}while(bZ.length){b8=bZ.pop();b7=b8;if(!bH.relative[b8]){b8=""}else{b7=bZ.pop()}if(b7==null){b7=e}bH.relative[b8](b9,b7,bW)}}else{b9=bZ=[]}}if(!b9){b9=b6}if(!b9){bB.error(b8||bY)}if(bO.call(b9)==="[object Array]"){if(!bX){b1.push.apply(b1,b9)}else{if(e&&e.nodeType===1){for(b0=0;b9[b0]!=null;b0++){if(b9[b0]&&(b9[b0]===true||b9[b0].nodeType===1&&bB.contains(e,b9[b0]))){b1.push(b6[b0])}}}else{for(b0=0;b9[b0]!=null;b0++){if(b9[b0]&&b9[b0].nodeType===1){b1.push(b6[b0])}}}}}else{bI(b9,b1)}if(bU){bB(bU,b4,b1,b2);bB.uniqueSort(b1)}return b1};bB.uniqueSort=function(bU){if(bM){bE=bD;bU.sort(bM);if(bE){for(var e=1;e<bU.length;e++){if(bU[e]===bU[e-1]){bU.splice(e--,1)}}}}return bU};bB.matches=function(e,bU){return bB(e,null,null,bU)};bB.matchesSelector=function(e,bU){return bB(bU,null,null,[e]).length>0};bB.find=function(b0,e,b1){var bZ,bV,bX,bW,bY,bU;if(!b0){return[]}for(bV=0,bX=bH.order.length;bV<bX;bV++){bY=bH.order[bV];if((bW=bH.leftMatch[bY].exec(b0))){bU=bW[1];bW.splice(1,1);if(bU.substr(bU.length-1)!=="\\"){bW[1]=(bW[1]||"").replace(bN,"");bZ=bH.find[bY](bW,e,b1);if(bZ!=null){b0=b0.replace(bH.match[bY],"");break}}}}if(!bZ){bZ=typeof e.getElementsByTagName!=="undefined"?e.getElementsByTagName("*"):[]}return{set:bZ,expr:b0}};bB.filter=function(b4,b3,b7,bX){var bZ,e,b2,b9,b6,bU,bW,bY,b5,bV=b4,b8=[],b1=b3,b0=b3&&b3[0]&&bB.isXML(b3[0]);while(b4&&b3.length){for(b2 in bH.filter){if((bZ=bH.leftMatch[b2].exec(b4))!=null&&bZ[2]){bU=bH.filter[b2];bW=bZ[1];e=false;bZ.splice(1,1);if(bW.substr(bW.length-1)==="\\"){continue}if(b1===b8){b8=[]}if(bH.preFilter[b2]){bZ=bH.preFilter[b2](bZ,b1,b7,b8,bX,b0);if(!bZ){e=b9=true}else{if(bZ===true){continue}}}if(bZ){for(bY=0;(b6=b1[bY])!=null;bY++){if(b6){b9=bU(b6,bZ,bY,b1);b5=bX^b9;if(b7&&b9!=null){if(b5){e=true}else{b1[bY]=false}}else{if(b5){b8.push(b6);e=true}}}}}if(b9!==O){if(!b7){b1=b8}b4=b4.replace(bH.match[b2],"");if(!e){return[]}break}}}if(b4===bV){if(e==null){bB.error(b4)}else{break}}bV=b4}return b1};bB.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)};var bz=bB.getText=function(bX){var bV,bW,e=bX.nodeType,bU="";if(e){if(e===1||e===9){if(typeof bX.textContent==="string"){return bX.textContent}else{if(typeof bX.innerText==="string"){return bX.innerText.replace(bR,"")}else{for(bX=bX.firstChild;bX;bX=bX.nextSibling){bU+=bz(bX)}}}}else{if(e===3||e===4){return bX.nodeValue}}}else{for(bV=0;(bW=bX[bV]);bV++){if(bW.nodeType!==8){bU+=bz(bW)}}}return bU};var bH=bB.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(e){return e.getAttribute("href")},type:function(e){return e.getAttribute("type")}},relative:{"+":function(bZ,bU){var bW=typeof bU==="string",bY=bW&&!bT.test(bU),b0=bW&&!bY;if(bY){bU=bU.toLowerCase()}for(var bV=0,e=bZ.length,bX;bV<e;bV++){if((bX=bZ[bV])){while((bX=bX.previousSibling)&&bX.nodeType!==1){}bZ[bV]=b0||bX&&bX.nodeName.toLowerCase()===bU?bX||false:bX===bU}}if(b0){bB.filter(bU,bZ,true)}},">":function(bZ,bU){var bY,bX=typeof bU==="string",bV=0,e=bZ.length;if(bX&&!bT.test(bU)){bU=bU.toLowerCase();for(;bV<e;bV++){bY=bZ[bV];if(bY){var bW=bY.parentNode;bZ[bV]=bW.nodeName.toLowerCase()===bU?bW:false}}}else{for(;bV<e;bV++){bY=bZ[bV];if(bY){bZ[bV]=bX?bY.parentNode:bY.parentNode===bU}}if(bX){bB.filter(bU,bZ,true)}}},"":function(bW,bU,bY){var bX,bV=bL++,e=bQ;if(typeof bU==="string"&&!bT.test(bU)){bU=bU.toLowerCase();bX=bU;e=by}e("parentNode",bU,bV,bW,bX,bY)},"~":function(bW,bU,bY){var bX,bV=bL++,e=bQ;if(typeof bU==="string"&&!bT.test(bU)){bU=bU.toLowerCase();bX=bU;e=by}e("previousSibling",bU,bV,bW,bX,bY)}},find:{ID:function(bU,bV,bW){if(typeof bV.getElementById!=="undefined"&&!bW){var e=bV.getElementById(bU[1]);return e&&e.parentNode?[e]:[]}},NAME:function(bV,bY){if(typeof bY.getElementsByName!=="undefined"){var bU=[],bX=bY.getElementsByName(bV[1]);for(var bW=0,e=bX.length;bW<e;bW++){if(bX[bW].getAttribute("name")===bV[1]){bU.push(bX[bW])}}return bU.length===0?null:bU}},TAG:function(e,bU){if(typeof bU.getElementsByTagName!=="undefined"){return bU.getElementsByTagName(e[1])}}},preFilter:{CLASS:function(bW,bU,bV,e,bZ,b0){bW=" "+bW[1].replace(bN,"")+" ";if(b0){return bW}for(var bX=0,bY;(bY=bU[bX])!=null;bX++){if(bY){if(bZ^(bY.className&&(" "+bY.className+" ").replace(/[\t\n\r]/g," ").indexOf(bW)>=0)){if(!bV){e.push(bY)}}else{if(bV){bU[bX]=false}}}}return false},ID:function(e){return e[1].replace(bN,"")},TAG:function(bU,e){return bU[1].replace(bN,"").toLowerCase()},CHILD:function(e){if(e[1]==="nth"){if(!e[2]){bB.error(e[0])}e[2]=e[2].replace(/^\+|\s*/g,"");var bU=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(e[2]==="even"&&"2n"||e[2]==="odd"&&"2n+1"||!/\D/.test(e[2])&&"0n+"+e[2]||e[2]);e[2]=(bU[1]+(bU[2]||1))-0;e[3]=bU[3]-0}else{if(e[2]){bB.error(e[0])}}e[0]=bL++;return e},ATTR:function(bX,bU,bV,e,bY,bZ){var bW=bX[1]=bX[1].replace(bN,"");if(!bZ&&bH.attrMap[bW]){bX[1]=bH.attrMap[bW]}bX[4]=(bX[4]||bX[5]||"").replace(bN,"");if(bX[2]==="~="){bX[4]=" "+bX[4]+" "}return bX},PSEUDO:function(bX,bU,bV,e,bY){if(bX[1]==="not"){if((bK.exec(bX[3])||"").length>1||/^\w/.test(bX[3])){bX[3]=bB(bX[3],null,null,bU)}else{var bW=bB.filter(bX[3],bU,bV,true^bY);if(!bV){e.push.apply(e,bW)}return false}}else{if(bH.match.POS.test(bX[0])||bH.match.CHILD.test(bX[0])){return true}}return bX},POS:function(e){e.unshift(true);return e}},filters:{enabled:function(e){return e.disabled===false&&e.type!=="hidden"},disabled:function(e){return e.disabled===true},checked:function(e){return e.checked===true},selected:function(e){if(e.parentNode){e.parentNode.selectedIndex}return e.selected===true},parent:function(e){return !!e.firstChild},empty:function(e){return !e.firstChild},has:function(bV,bU,e){return !!bB(e[3],bV).length},header:function(e){return(/h\d/i).test(e.nodeName)},text:function(bV){var e=bV.getAttribute("type"),bU=bV.type;return bV.nodeName.toLowerCase()==="input"&&"text"===bU&&(e===bU||e===null)},radio:function(e){return e.nodeName.toLowerCase()==="input"&&"radio"===e.type},checkbox:function(e){return e.nodeName.toLowerCase()==="input"&&"checkbox"===e.type},file:function(e){return e.nodeName.toLowerCase()==="input"&&"file"===e.type},password:function(e){return e.nodeName.toLowerCase()==="input"&&"password"===e.type},submit:function(bU){var e=bU.nodeName.toLowerCase();return(e==="input"||e==="button")&&"submit"===bU.type},image:function(e){return e.nodeName.toLowerCase()==="input"&&"image"===e.type},reset:function(bU){var e=bU.nodeName.toLowerCase();return(e==="input"||e==="button")&&"reset"===bU.type},button:function(bU){var e=bU.nodeName.toLowerCase();return e==="input"&&"button"===bU.type||e==="button"},input:function(e){return(/input|select|textarea|button/i).test(e.nodeName)},focus:function(e){return e===e.ownerDocument.activeElement}},setFilters:{first:function(bU,e){return e===0},last:function(bV,bU,e,bW){return bU===bW.length-1},even:function(bU,e){return e%2===0},odd:function(bU,e){return e%2===1},lt:function(bV,bU,e){return bU<e[3]-0},gt:function(bV,bU,e){return bU>e[3]-0},nth:function(bV,bU,e){return e[3]-0===bU},eq:function(bV,bU,e){return e[3]-0===bU}},filter:{PSEUDO:function(bV,b0,bZ,b1){var e=b0[1],bU=bH.filters[e];if(bU){return bU(bV,bZ,b0,b1)}else{if(e==="contains"){return(bV.textContent||bV.innerText||bz([bV])||"").indexOf(b0[3])>=0}else{if(e==="not"){var bW=b0[3];for(var bY=0,bX=bW.length;bY<bX;bY++){if(bW[bY]===bV){return false}}return true}else{bB.error(e)}}}},CHILD:function(bV,bX){var bW,b3,bZ,b2,e,bY,b1,b0=bX[1],bU=bV;switch(b0){case"only":case"first":while((bU=bU.previousSibling)){if(bU.nodeType===1){return false}}if(b0==="first"){return true}bU=bV;case"last":while((bU=bU.nextSibling)){if(bU.nodeType===1){return false}}return true;case"nth":bW=bX[2];b3=bX[3];if(bW===1&&b3===0){return true}bZ=bX[0];b2=bV.parentNode;if(b2&&(b2[bF]!==bZ||!bV.nodeIndex)){bY=0;for(bU=b2.firstChild;bU;bU=bU.nextSibling){if(bU.nodeType===1){bU.nodeIndex=++bY}}b2[bF]=bZ}b1=bV.nodeIndex-b3;if(bW===0){return b1===0}else{return(b1%bW===0&&b1/bW>=0)}}},ID:function(bU,e){return bU.nodeType===1&&bU.getAttribute("id")===e},TAG:function(bU,e){return(e==="*"&&bU.nodeType===1)||!!bU.nodeName&&bU.nodeName.toLowerCase()===e},CLASS:function(bU,e){return(" "+(bU.className||bU.getAttribute("class"))+" ").indexOf(e)>-1},ATTR:function(bY,bW){var bV=bW[1],e=bB.attr?bB.attr(bY,bV):bH.attrHandle[bV]?bH.attrHandle[bV](bY):bY[bV]!=null?bY[bV]:bY.getAttribute(bV),bZ=e+"",bX=bW[2],bU=bW[4];return e==null?bX==="!=":!bX&&bB.attr?e!=null:bX==="="?bZ===bU:bX==="*="?bZ.indexOf(bU)>=0:bX==="~="?(" "+bZ+" ").indexOf(bU)>=0:!bU?bZ&&e!==false:bX==="!="?bZ!==bU:bX==="^="?bZ.indexOf(bU)===0:bX==="$="?bZ.substr(bZ.length-bU.length)===bU:bX==="|="?bZ===bU||bZ.substr(0,bU.length+1)===bU+"-":false},POS:function(bX,bU,bV,bY){var e=bU[2],bW=bH.setFilters[e];if(bW){return bW(bX,bV,bU,bY)}}}};var bG=bH.match.POS,bA=function(bU,e){return"\\"+(e-0+1)};for(var bC in bH.match){bH.match[bC]=new RegExp(bH.match[bC].source+(/(?![^\[]*\])(?![^\(]*\))/.source));bH.leftMatch[bC]=new RegExp(/(^(?:.|\r|\n)*?)/.source+bH.match[bC].source.replace(/\\(\d+)/g,bA))}var bI=function(bU,e){bU=Array.prototype.slice.call(bU,0);if(e){e.push.apply(e,bU);return e}return bU};try{Array.prototype.slice.call(ay.documentElement.childNodes,0)[0].nodeType}catch(bS){bI=function(bX,bW){var bV=0,bU=bW||[];if(bO.call(bX)==="[object Array]"){Array.prototype.push.apply(bU,bX)}else{if(typeof bX.length==="number"){for(var e=bX.length;bV<e;bV++){bU.push(bX[bV])}}else{for(;bX[bV];bV++){bU.push(bX[bV])}}}return bU}}var bM,bJ;if(ay.documentElement.compareDocumentPosition){bM=function(bU,e){if(bU===e){bE=true;return 0}if(!bU.compareDocumentPosition||!e.compareDocumentPosition){return bU.compareDocumentPosition?-1:1}return bU.compareDocumentPosition(e)&4?-1:1}}else{bM=function(b1,b0){if(b1===b0){bE=true;return 0}else{if(b1.sourceIndex&&b0.sourceIndex){return b1.sourceIndex-b0.sourceIndex}}var bY,bU,bV=[],e=[],bX=b1.parentNode,bZ=b0.parentNode,b2=bX;if(bX===bZ){return bJ(b1,b0)}else{if(!bX){return -1}else{if(!bZ){return 1}}}while(b2){bV.unshift(b2);b2=b2.parentNode}b2=bZ;while(b2){e.unshift(b2);b2=b2.parentNode}bY=bV.length;bU=e.length;for(var bW=0;bW<bY&&bW<bU;bW++){if(bV[bW]!==e[bW]){return bJ(bV[bW],e[bW])}}return bW===bY?bJ(b1,e[bW],-1):bJ(bV[bW],b0,1)};bJ=function(bU,e,bV){if(bU===e){return bV}var bW=bU.nextSibling;while(bW){if(bW===e){return -1}bW=bW.nextSibling}return 1}}(function(){var bU=ay.createElement("div"),bV="script"+(new Date()).getTime(),e=ay.documentElement;bU.innerHTML="<a name='"+bV+"'/>";e.insertBefore(bU,e.firstChild);if(ay.getElementById(bV)){bH.find.ID=function(bX,bY,bZ){if(typeof bY.getElementById!=="undefined"&&!bZ){var bW=bY.getElementById(bX[1]);return bW?bW.id===bX[1]||typeof bW.getAttributeNode!=="undefined"&&bW.getAttributeNode("id").nodeValue===bX[1]?[bW]:O:[]}};bH.filter.ID=function(bY,bW){var bX=typeof bY.getAttributeNode!=="undefined"&&bY.getAttributeNode("id");return bY.nodeType===1&&bX&&bX.nodeValue===bW}}e.removeChild(bU);e=bU=null})();(function(){var e=ay.createElement("div");e.appendChild(ay.createComment(""));if(e.getElementsByTagName("*").length>0){bH.find.TAG=function(bU,bY){var bX=bY.getElementsByTagName(bU[1]);if(bU[1]==="*"){var bW=[];for(var bV=0;bX[bV];bV++){if(bX[bV].nodeType===1){bW.push(bX[bV])}}bX=bW}return bX}}e.innerHTML="<a href='#'></a>";if(e.firstChild&&typeof e.firstChild.getAttribute!=="undefined"&&e.firstChild.getAttribute("href")!=="#"){bH.attrHandle.href=function(bU){return bU.getAttribute("href",2)}}e=null})();if(ay.querySelectorAll){(function(){var e=bB,bW=ay.createElement("div"),bV="__sizzle__";bW.innerHTML="<p class='TEST'></p>";if(bW.querySelectorAll&&bW.querySelectorAll(".TEST").length===0){return}bB=function(b7,bY,b2,b6){bY=bY||ay;if(!b6&&!bB.isXML(bY)){var b5=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b7);if(b5&&(bY.nodeType===1||bY.nodeType===9)){if(b5[1]){return bI(bY.getElementsByTagName(b7),b2)}else{if(b5[2]&&bH.find.CLASS&&bY.getElementsByClassName){return bI(bY.getElementsByClassName(b5[2]),b2)}}}if(bY.nodeType===9){if(b7==="body"&&bY.body){return bI([bY.body],b2)}else{if(b5&&b5[3]){var b1=bY.getElementById(b5[3]);if(b1&&b1.parentNode){if(b1.id===b5[3]){return bI([b1],b2)}}else{return bI([],b2)}}}try{return bI(bY.querySelectorAll(b7),b2)}catch(b3){}}else{if(bY.nodeType===1&&bY.nodeName.toLowerCase()!=="object"){var bZ=bY,b0=bY.getAttribute("id"),bX=b0||bV,b9=bY.parentNode,b8=/^\s*[+~]/.test(b7);if(!b0){bY.setAttribute("id",bX)}else{bX=bX.replace(/'/g,"\\$&")}if(b8&&b9){bY=bY.parentNode}try{if(!b8||b9){return bI(bY.querySelectorAll("[id='"+bX+"'] "+b7),b2)}}catch(b4){}finally{if(!b0){bZ.removeAttribute("id")}}}}}return e(b7,bY,b2,b6)};for(var bU in e){bB[bU]=e[bU]}bW=null})()}(function(){var e=ay.documentElement,bV=e.matchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.msMatchesSelector;if(bV){var bX=!bV.call(ay.createElement("div"),"div"),bU=false;try{bV.call(ay.documentElement,"[test!='']:sizzle")}catch(bW){bU=true}bB.matchesSelector=function(bZ,b1){b1=b1.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!bB.isXML(bZ)){try{if(bU||!bH.match.PSEUDO.test(b1)&&!/!=/.test(b1)){var bY=bV.call(bZ,b1);if(bY||!bX||bZ.document&&bZ.document.nodeType!==11){return bY}}}catch(b0){}}return bB(b1,null,null,[bZ]).length>0}}})();(function(){var e=ay.createElement("div");e.innerHTML="<div class='test e'></div><div class='test'></div>";if(!e.getElementsByClassName||e.getElementsByClassName("e").length===0){return}e.lastChild.className="e";if(e.getElementsByClassName("e").length===1){return}bH.order.splice(1,0,"CLASS");bH.find.CLASS=function(bU,bV,bW){if(typeof bV.getElementsByClassName!=="undefined"&&!bW){return bV.getElementsByClassName(bU[1])}};e=null})();function by(bU,bZ,bY,b2,b0,b1){for(var bW=0,bV=b2.length;bW<bV;bW++){var e=b2[bW];if(e){var bX=false;e=e[bU];while(e){if(e[bF]===bY){bX=b2[e.sizset];break}if(e.nodeType===1&&!b1){e[bF]=bY;e.sizset=bW}if(e.nodeName.toLowerCase()===bZ){bX=e;break}e=e[bU]}b2[bW]=bX}}}function bQ(bU,bZ,bY,b2,b0,b1){for(var bW=0,bV=b2.length;bW<bV;bW++){var e=b2[bW];if(e){var bX=false;e=e[bU];while(e){if(e[bF]===bY){bX=b2[e.sizset];break}if(e.nodeType===1){if(!b1){e[bF]=bY;e.sizset=bW}if(typeof bZ!=="string"){if(e===bZ){bX=true;break}}else{if(bB.filter(bZ,[e]).length>0){bX=e;break}}}e=e[bU]}b2[bW]=bX}}}if(ay.documentElement.contains){bB.contains=function(bU,e){return bU!==e&&(bU.contains?bU.contains(e):true)}}else{if(ay.documentElement.compareDocumentPosition){bB.contains=function(bU,e){return !!(bU.compareDocumentPosition(e)&16)}}else{bB.contains=function(){return false}}}bB.isXML=function(e){var bU=(e?e.ownerDocument||e:0).documentElement;return bU?bU.nodeName!=="HTML":false};var bP=function(bV,e,bZ){var bY,b0=[],bX="",b1=e.nodeType?[e]:e;while((bY=bH.match.PSEUDO.exec(bV))){bX+=bY[0];bV=bV.replace(bH.match.PSEUDO,"")}bV=bH.relative[bV]?bV+"*":bV;for(var bW=0,bU=b1.length;bW<bU;bW++){bB(bV,b1[bW],b0,bZ)}return bB.filter(bX,b0)};bB.attr=b.attr;bB.selectors.attrMap={};b.find=bB;b.expr=bB.selectors;b.expr[":"]=b.expr.filters;b.unique=bB.uniqueSort;b.text=bB.getText;b.isXMLDoc=bB.isXML;b.contains=bB.contains})();var ae=/Until$/,au=/^(?:parents|prevUntil|prevAll)/,bc=/,/,bs=/^.[^:#\[\.,]*$/,S=Array.prototype.slice,K=b.expr.match.POS,aB={children:true,contents:true,next:true,prev:true};b.fn.extend({find:function(e){var bz=this,bB,by;if(typeof e!=="string"){return b(e).filter(function(){for(bB=0,by=bz.length;bB<by;bB++){if(b.contains(bz[bB],this)){return true}}})}var bA=this.pushStack("","find",e),bD,bE,bC;for(bB=0,by=this.length;bB<by;bB++){bD=bA.length;b.find(e,this[bB],bA);if(bB>0){for(bE=bD;bE<bA.length;bE++){for(bC=0;bC<bD;bC++){if(bA[bC]===bA[bE]){bA.splice(bE--,1);break}}}}}return bA},has:function(by){var e=b(by);return this.filter(function(){for(var bA=0,bz=e.length;bA<bz;bA++){if(b.contains(this,e[bA])){return true}}})},not:function(e){return this.pushStack(aJ(this,e,false),"not",e)},filter:function(e){return this.pushStack(aJ(this,e,true),"filter",e)},is:function(e){return !!e&&(typeof e==="string"?K.test(e)?b(e,this.context).index(this[0])>=0:b.filter(e,this).length>0:this.filter(e).length>0)},closest:function(bB,bA){var by=[],bz,e,bC=this[0];if(b.isArray(bB)){var bE=1;while(bC&&bC.ownerDocument&&bC!==bA){for(bz=0;bz<bB.length;bz++){if(b(bC).is(bB[bz])){by.push({selector:bB[bz],elem:bC,level:bE})}}bC=bC.parentNode;bE++}return by}var bD=K.test(bB)||typeof bB!=="string"?b(bB,bA||this.context):0;for(bz=0,e=this.length;bz<e;bz++){bC=this[bz];while(bC){if(bD?bD.index(bC)>-1:b.find.matchesSelector(bC,bB)){by.push(bC);break}else{bC=bC.parentNode;if(!bC||!bC.ownerDocument||bC===bA||bC.nodeType===11){break}}}}by=by.length>1?b.unique(by):by;return this.pushStack(by,"closest",bB)},index:function(e){if(!e){return(this[0]&&this[0].parentNode)?this.prevAll().length:-1}if(typeof e==="string"){return b.inArray(this[0],b(e))}return b.inArray(e.jquery?e[0]:e,this)},add:function(e,by){var bA=typeof e==="string"?b(e,by):b.makeArray(e&&e.nodeType?[e]:e),bz=b.merge(this.get(),bA);return this.pushStack(F(bA[0])||F(bz[0])?bz:b.unique(bz))},andSelf:function(){return this.add(this.prevObject)}});function F(e){return !e||!e.parentNode||e.parentNode.nodeType===11}b.each({parent:function(by){var e=by.parentNode;return e&&e.nodeType!==11?e:null},parents:function(e){return b.dir(e,"parentNode")},parentsUntil:function(by,e,bz){return b.dir(by,"parentNode",bz)},next:function(e){return b.nth(e,2,"nextSibling")},prev:function(e){return b.nth(e,2,"previousSibling")},nextAll:function(e){return b.dir(e,"nextSibling")},prevAll:function(e){return b.dir(e,"previousSibling")},nextUntil:function(by,e,bz){return b.dir(by,"nextSibling",bz)},prevUntil:function(by,e,bz){return b.dir(by,"previousSibling",bz)},siblings:function(e){return b.sibling(e.parentNode.firstChild,e)},children:function(e){return b.sibling(e.firstChild)},contents:function(e){return b.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:b.makeArray(e.childNodes)}},function(e,by){b.fn[e]=function(bB,bz){var bA=b.map(this,by,bB);if(!ae.test(e)){bz=bB}if(bz&&typeof bz==="string"){bA=b.filter(bz,bA)}bA=this.length>1&&!aB[e]?b.unique(bA):bA;if((this.length>1||bc.test(bz))&&au.test(e)){bA=bA.reverse()}return this.pushStack(bA,e,S.call(arguments).join(","))}});b.extend({filter:function(bz,e,by){if(by){bz=":not("+bz+")"}return e.length===1?b.find.matchesSelector(e[0],bz)?[e[0]]:[]:b.find.matches(bz,e)},dir:function(bz,by,bB){var e=[],bA=bz[by];while(bA&&bA.nodeType!==9&&(bB===O||bA.nodeType!==1||!b(bA).is(bB))){if(bA.nodeType===1){e.push(bA)}bA=bA[by]}return e},nth:function(bB,e,bz,bA){e=e||1;var by=0;for(;bB;bB=bB[bz]){if(bB.nodeType===1&&++by===e){break}}return bB},sibling:function(bz,by){var e=[];for(;bz;bz=bz.nextSibling){if(bz.nodeType===1&&bz!==by){e.push(bz)}}return e}});function aJ(bA,bz,e){bz=bz||0;if(b.isFunction(bz)){return b.grep(bA,function(bC,bB){var bD=!!bz.call(bC,bB,bC);return bD===e})}else{if(bz.nodeType){return b.grep(bA,function(bC,bB){return(bC===bz)===e})}else{if(typeof bz==="string"){var by=b.grep(bA,function(bB){return bB.nodeType===1});if(bs.test(bz)){return b.filter(bz,by,!e)}else{bz=b.filter(bz,by)}}}}return b.grep(bA,function(bC,bB){return(b.inArray(bC,bz)>=0)===e})}function a(e){var bz=aU.split("|"),by=e.createDocumentFragment();if(by.createElement){while(bz.length){by.createElement(bz.pop())}}return by}var aU="abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",aj=/ jQuery\d+="(?:\d+|null)"/g,av=/^\s+/,U=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,d=/<([\w:]+)/,z=/<tbody/i,Z=/<|&#?\w+;/,ah=/<(?:script|style)/i,R=/<(?:script|object|embed|option|style)/i,ak=new RegExp("<(?:"+aU+")","i"),q=/checked\s*(?:[^=]|=\s*.checked.)/i,bp=/\/(java|ecma)script/i,aQ=/^\s*<!(?:\[CDATA\[|\-\-)/,aA={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,"",""]},af=a(ay);aA.optgroup=aA.option;aA.tbody=aA.tfoot=aA.colgroup=aA.caption=aA.thead;aA.th=aA.td;if(!b.support.htmlSerialize){aA._default=[1,"div<div>","</div>"]}b.fn.extend({text:function(e){if(b.isFunction(e)){return this.each(function(bz){var by=b(this);by.text(e.call(this,bz,by.text()))})}if(typeof e!=="object"&&e!==O){return this.empty().append((this[0]&&this[0].ownerDocument||ay).createTextNode(e))}return b.text(this)},wrapAll:function(e){if(b.isFunction(e)){return this.each(function(bz){b(this).wrapAll(e.call(this,bz))})}if(this[0]){var by=b(e,this[0].ownerDocument).eq(0).clone(true);if(this[0].parentNode){by.insertBefore(this[0])}by.map(function(){var bz=this;while(bz.firstChild&&bz.firstChild.nodeType===1){bz=bz.firstChild}return bz}).append(this)}return this},wrapInner:function(e){if(b.isFunction(e)){return this.each(function(by){b(this).wrapInner(e.call(this,by))})}return this.each(function(){var by=b(this),bz=by.contents();if(bz.length){bz.wrapAll(e)}else{by.append(e)}})},wrap:function(e){var by=b.isFunction(e);return this.each(function(bz){b(this).wrapAll(by?e.call(this,bz):e)})},unwrap:function(){return this.parent().each(function(){if(!b.nodeName(this,"body")){b(this).replaceWith(this.childNodes)}}).end()},append:function(){return this.domManip(arguments,true,function(e){if(this.nodeType===1){this.appendChild(e)}})},prepend:function(){return this.domManip(arguments,true,function(e){if(this.nodeType===1){this.insertBefore(e,this.firstChild)}})},before:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(by){this.parentNode.insertBefore(by,this)})}else{if(arguments.length){var e=b.clean(arguments);e.push.apply(e,this.toArray());return this.pushStack(e,"before",arguments)}}},after:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(by){this.parentNode.insertBefore(by,this.nextSibling)})}else{if(arguments.length){var e=this.pushStack(this,"after",arguments);e.push.apply(e,b.clean(arguments));return e}}},remove:function(e,bA){for(var by=0,bz;(bz=this[by])!=null;by++){if(!e||b.filter(e,[bz]).length){if(!bA&&bz.nodeType===1){b.cleanData(bz.getElementsByTagName("*"));b.cleanData([bz])}if(bz.parentNode){bz.parentNode.removeChild(bz)}}}return this},empty:function(){for(var e=0,by;(by=this[e])!=null;e++){if(by.nodeType===1){b.cleanData(by.getElementsByTagName("*"))}while(by.firstChild){by.removeChild(by.firstChild)}}return this},clone:function(by,e){by=by==null?false:by;e=e==null?by:e;return this.map(function(){return b.clone(this,by,e)})},html:function(bA){if(bA===O){return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(aj,""):null}else{if(typeof bA==="string"&&!ah.test(bA)&&(b.support.leadingWhitespace||!av.test(bA))&&!aA[(d.exec(bA)||["",""])[1].toLowerCase()]){bA=bA.replace(U,"<$1></$2>");try{for(var bz=0,by=this.length;bz<by;bz++){if(this[bz].nodeType===1){b.cleanData(this[bz].getElementsByTagName("*"));this[bz].innerHTML=bA}}}catch(bB){this.empty().append(bA)}}else{if(b.isFunction(bA)){this.each(function(bC){var e=b(this);e.html(bA.call(this,bC,e.html()))})}else{this.empty().append(bA)}}}return this},replaceWith:function(e){if(this[0]&&this[0].parentNode){if(b.isFunction(e)){return this.each(function(bA){var bz=b(this),by=bz.html();bz.replaceWith(e.call(this,bA,by))})}if(typeof e!=="string"){e=b(e).detach()}return this.each(function(){var bz=this.nextSibling,by=this.parentNode;b(this).remove();if(bz){b(bz).before(e)}else{b(by).append(e)}})}else{return this.length?this.pushStack(b(b.isFunction(e)?e():e),"replaceWith",e):this}},detach:function(e){return this.remove(e,true)},domManip:function(bE,bI,bH){var bA,bB,bD,bG,bF=bE[0],by=[];if(!b.support.checkClone&&arguments.length===3&&typeof bF==="string"&&q.test(bF)){return this.each(function(){b(this).domManip(bE,bI,bH,true)})}if(b.isFunction(bF)){return this.each(function(bK){var bJ=b(this);bE[0]=bF.call(this,bK,bI?bJ.html():O);bJ.domManip(bE,bI,bH)})}if(this[0]){bG=bF&&bF.parentNode;if(b.support.parentNode&&bG&&bG.nodeType===11&&bG.childNodes.length===this.length){bA={fragment:bG}}else{bA=b.buildFragment(bE,this,by)}bD=bA.fragment;if(bD.childNodes.length===1){bB=bD=bD.firstChild}else{bB=bD.firstChild}if(bB){bI=bI&&b.nodeName(bB,"tr");for(var bz=0,e=this.length,bC=e-1;bz<e;bz++){bH.call(bI?bd(this[bz],bB):this[bz],bA.cacheable||(e>1&&bz<bC)?b.clone(bD,true,true):bD)}}if(by.length){b.each(by,br)}}return this}});function bd(e,by){return b.nodeName(e,"table")?(e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody"))):e}function w(bE,by){if(by.nodeType!==1||!b.hasData(bE)){return}var bB,bA,e,bD=b._data(bE),bC=b._data(by,bD),bz=bD.events;if(bz){delete bC.handle;bC.events={};for(bB in bz){for(bA=0,e=bz[bB].length;bA<e;bA++){b.event.add(by,bB+(bz[bB][bA].namespace?".":"")+bz[bB][bA].namespace,bz[bB][bA],bz[bB][bA].data)}}}if(bC.data){bC.data=b.extend({},bC.data)}}function al(by,e){var bz;if(e.nodeType!==1){return}if(e.clearAttributes){e.clearAttributes()}if(e.mergeAttributes){e.mergeAttributes(by)}bz=e.nodeName.toLowerCase();if(bz==="object"){e.outerHTML=by.outerHTML}else{if(bz==="input"&&(by.type==="checkbox"||by.type==="radio")){if(by.checked){e.defaultChecked=e.checked=by.checked}if(e.value!==by.value){e.value=by.value}}else{if(bz==="option"){e.selected=by.defaultSelected}else{if(bz==="input"||bz==="textarea"){e.defaultValue=by.defaultValue}}}}e.removeAttribute(b.expando)}b.buildFragment=function(bC,bA,by){var bB,e,bz,bD,bE=bC[0];if(bA&&bA[0]){bD=bA[0].ownerDocument||bA[0]}if(!bD.createDocumentFragment){bD=ay}if(bC.length===1&&typeof bE==="string"&&bE.length<512&&bD===ay&&bE.charAt(0)==="<"&&!R.test(bE)&&(b.support.checkClone||!q.test(bE))&&(b.support.html5Clone||!ak.test(bE))){e=true;bz=b.fragments[bE];if(bz&&bz!==1){bB=bz}}if(!bB){bB=bD.createDocumentFragment();b.clean(bC,bD,bB,by)}if(e){b.fragments[bE]=bz?bB:1}return{fragment:bB,cacheable:e}};b.fragments={};b.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,by){b.fn[e]=function(bz){var bC=[],bF=b(bz),bE=this.length===1&&this[0].parentNode;if(bE&&bE.nodeType===11&&bE.childNodes.length===1&&bF.length===1){bF[by](this[0]);return this}else{for(var bD=0,bA=bF.length;bD<bA;bD++){var bB=(bD>0?this.clone(true):this).get();b(bF[bD])[by](bB);bC=bC.concat(bB)}return this.pushStack(bC,e,bF.selector)}}});function bj(e){if(typeof e.getElementsByTagName!=="undefined"){return e.getElementsByTagName("*")}else{if(typeof e.querySelectorAll!=="undefined"){return e.querySelectorAll("*")}else{return[]}}}function aC(e){if(e.type==="checkbox"||e.type==="radio"){e.defaultChecked=e.checked}}function H(e){var by=(e.nodeName||"").toLowerCase();if(by==="input"){aC(e)}else{if(by!=="script"&&typeof e.getElementsByTagName!=="undefined"){b.grep(e.getElementsByTagName("input"),aC)}}}function ao(e){var by=ay.createElement("div");af.appendChild(by);by.innerHTML=e.outerHTML;return by.firstChild}b.extend({clone:function(bB,bD,bz){var e,by,bA,bC=b.support.html5Clone||!ak.test("<"+bB.nodeName)?bB.cloneNode(true):ao(bB);if((!b.support.noCloneEvent||!b.support.noCloneChecked)&&(bB.nodeType===1||bB.nodeType===11)&&!b.isXMLDoc(bB)){al(bB,bC);e=bj(bB);by=bj(bC);for(bA=0;e[bA];++bA){if(by[bA]){al(e[bA],by[bA])}}}if(bD){w(bB,bC);if(bz){e=bj(bB);by=bj(bC);for(bA=0;e[bA];++bA){w(e[bA],by[bA])}}}e=by=null;return bC},clean:function(bz,bB,bK,bD){var bI;bB=bB||ay;if(typeof bB.createElement==="undefined"){bB=bB.ownerDocument||bB[0]&&bB[0].ownerDocument||ay}var bL=[],bE;for(var bH=0,bC;(bC=bz[bH])!=null;bH++){if(typeof bC==="number"){bC+=""}if(!bC){continue}if(typeof bC==="string"){if(!Z.test(bC)){bC=bB.createTextNode(bC)}else{bC=bC.replace(U,"<$1></$2>");var bN=(d.exec(bC)||["",""])[1].toLowerCase(),bA=aA[bN]||aA._default,bG=bA[0],by=bB.createElement("div");if(bB===ay){af.appendChild(by)}else{a(bB).appendChild(by)}by.innerHTML=bA[1]+bC+bA[2];while(bG--){by=by.lastChild}if(!b.support.tbody){var e=z.test(bC),bF=bN==="table"&&!e?by.firstChild&&by.firstChild.childNodes:bA[1]==="<table>"&&!e?by.childNodes:[];for(bE=bF.length-1;bE>=0;--bE){if(b.nodeName(bF[bE],"tbody")&&!bF[bE].childNodes.length){bF[bE].parentNode.removeChild(bF[bE])}}}if(!b.support.leadingWhitespace&&av.test(bC)){by.insertBefore(bB.createTextNode(av.exec(bC)[0]),by.firstChild)}bC=by.childNodes}}var bJ;if(!b.support.appendChecked){if(bC[0]&&typeof(bJ=bC.length)==="number"){for(bE=0;bE<bJ;bE++){H(bC[bE])}}else{H(bC)}}if(bC.nodeType){bL.push(bC)}else{bL=b.merge(bL,bC)}}if(bK){bI=function(bO){return !bO.type||bp.test(bO.type)};for(bH=0;bL[bH];bH++){if(bD&&b.nodeName(bL[bH],"script")&&(!bL[bH].type||bL[bH].type.toLowerCase()==="text/javascript")){bD.push(bL[bH].parentNode?bL[bH].parentNode.removeChild(bL[bH]):bL[bH])}else{if(bL[bH].nodeType===1){var bM=b.grep(bL[bH].getElementsByTagName("script"),bI);bL.splice.apply(bL,[bH+1,0].concat(bM))}bK.appendChild(bL[bH])}}}return bL},cleanData:function(by){var bB,bz,e=b.cache,bE=b.event.special,bD=b.support.deleteExpando;for(var bC=0,bA;(bA=by[bC])!=null;bC++){if(bA.nodeName&&b.noData[bA.nodeName.toLowerCase()]){continue}bz=bA[b.expando];if(bz){bB=e[bz];if(bB&&bB.events){for(var bF in bB.events){if(bE[bF]){b.event.remove(bA,bF)}else{b.removeEvent(bA,bF,bB.handle)}}if(bB.handle){bB.handle.elem=null}}if(bD){delete bA[b.expando]}else{if(bA.removeAttribute){bA.removeAttribute(b.expando)}}delete e[bz]}}}});function br(e,by){if(by.src){b.ajax({url:by.src,async:false,dataType:"script"})}else{b.globalEval((by.text||by.textContent||by.innerHTML||"").replace(aQ,"/*$0*/"))}if(by.parentNode){by.parentNode.removeChild(by)}}var an=/alpha\([^)]*\)/i,ax=/opacity=([^)]*)/,C=/([A-Z]|^ms)/g,bf=/^-?\d+(?:px)?$/i,bq=/^-?\d/,L=/^([\-+])=([\-+.\de]+)/,ba={position:"absolute",visibility:"hidden",display:"block"},aq=["Left","Right"],a4=["Top","Bottom"],ac,aL,a0;b.fn.css=function(e,by){if(arguments.length===2&&by===O){return this}return b.access(this,e,by,true,function(bA,bz,bB){return bB!==O?b.style(bA,bz,bB):b.css(bA,bz)})};b.extend({cssHooks:{opacity:{get:function(bz,by){if(by){var e=ac(bz,"opacity","opacity");return e===""?"1":e}else{return bz.style.opacity}}}},cssNumber:{fillOpacity:true,fontWeight:true,lineHeight:true,opacity:true,orphans:true,widows:true,zIndex:true,zoom:true},cssProps:{"float":b.support.cssFloat?"cssFloat":"styleFloat"},style:function(bA,bz,bG,bB){if(!bA||bA.nodeType===3||bA.nodeType===8||!bA.style){return}var bE,bF,bC=b.camelCase(bz),by=bA.style,bH=b.cssHooks[bC];bz=b.cssProps[bC]||bC;if(bG!==O){bF=typeof bG;if(bF==="string"&&(bE=L.exec(bG))){bG=(+(bE[1]+1)*+bE[2])+parseFloat(b.css(bA,bz));bF="number"}if(bG==null||bF==="number"&&isNaN(bG)){return}if(bF==="number"&&!b.cssNumber[bC]){bG+="px"}if(!bH||!("set" in bH)||(bG=bH.set(bA,bG))!==O){try{by[bz]=bG}catch(bD){}}}else{if(bH&&"get" in bH&&(bE=bH.get(bA,false,bB))!==O){return bE}return by[bz]}},css:function(bB,bA,by){var bz,e;bA=b.camelCase(bA);e=b.cssHooks[bA];bA=b.cssProps[bA]||bA;if(bA==="cssFloat"){bA="float"}if(e&&"get" in e&&(bz=e.get(bB,true,by))!==O){return bz}else{if(ac){return ac(bB,bA)}}},swap:function(bA,bz,bB){var e={};for(var by in bz){e[by]=bA.style[by];bA.style[by]=bz[by]}bB.call(bA);for(by in bz){bA.style[by]=e[by]}}});b.curCSS=b.css;b.each(["height","width"],function(by,e){b.cssHooks[e]={get:function(bB,bA,bz){var bC;if(bA){if(bB.offsetWidth!==0){return s(bB,e,bz)}else{b.swap(bB,ba,function(){bC=s(bB,e,bz)})}return bC}},set:function(bz,bA){if(bf.test(bA)){bA=parseFloat(bA);if(bA>=0){return bA+"px"}}else{return bA}}}});if(!b.support.opacity){b.cssHooks.opacity={get:function(by,e){return ax.test((e&&by.currentStyle?by.currentStyle.filter:by.style.filter)||"")?(parseFloat(RegExp.$1)/100)+"":e?"1":""},set:function(bB,bC){var bA=bB.style,by=bB.currentStyle,e=b.isNumeric(bC)?"alpha(opacity="+bC*100+")":"",bz=by&&by.filter||bA.filter||"";bA.zoom=1;if(bC>=1&&b.trim(bz.replace(an,""))===""){bA.removeAttribute("filter");if(by&&!by.filter){return}}bA.filter=an.test(bz)?bz.replace(an,e):bz+" "+e}}}b(function(){if(!b.support.reliableMarginRight){b.cssHooks.marginRight={get:function(bz,by){var e;b.swap(bz,{display:"inline-block"},function(){if(by){e=ac(bz,"margin-right","marginRight")}else{e=bz.style.marginRight}});return e}}}});if(ay.defaultView&&ay.defaultView.getComputedStyle){aL=function(bB,bz){var by,bA,e;bz=bz.replace(C,"-$1").toLowerCase();if((bA=bB.ownerDocument.defaultView)&&(e=bA.getComputedStyle(bB,null))){by=e.getPropertyValue(bz);if(by===""&&!b.contains(bB.ownerDocument.documentElement,bB)){by=b.style(bB,bz)}}return by}}if(ay.documentElement.currentStyle){a0=function(bC,bz){var bD,e,bB,by=bC.currentStyle&&bC.currentStyle[bz],bA=bC.style;if(by===null&&bA&&(bB=bA[bz])){by=bB}if(!bf.test(by)&&bq.test(by)){bD=bA.left;e=bC.runtimeStyle&&bC.runtimeStyle.left;if(e){bC.runtimeStyle.left=bC.currentStyle.left}bA.left=bz==="fontSize"?"1em":(by||0);by=bA.pixelLeft+"px";bA.left=bD;if(e){bC.runtimeStyle.left=e}}return by===""?"auto":by}}ac=aL||a0;function s(bB,bz,by){var bD=bz==="width"?bB.offsetWidth:bB.offsetHeight,bC=bz==="width"?aq:a4,bA=0,e=bC.length;if(bD>0){if(by!=="border"){for(;bA<e;bA++){if(!by){bD-=parseFloat(b.css(bB,"padding"+bC[bA]))||0}if(by==="margin"){bD+=parseFloat(b.css(bB,by+bC[bA]))||0}else{bD-=parseFloat(b.css(bB,"border"+bC[bA]+"Width"))||0}}}return bD+"px"}bD=ac(bB,bz,bz);if(bD<0||bD==null){bD=bB.style[bz]||0}bD=parseFloat(bD)||0;if(by){for(;bA<e;bA++){bD+=parseFloat(b.css(bB,"padding"+bC[bA]))||0;if(by!=="padding"){bD+=parseFloat(b.css(bB,"border"+bC[bA]+"Width"))||0}if(by==="margin"){bD+=parseFloat(b.css(bB,by+bC[bA]))||0}}}return bD+"px"}if(b.expr&&b.expr.filters){b.expr.filters.hidden=function(bz){var by=bz.offsetWidth,e=bz.offsetHeight;return(by===0&&e===0)||(!b.support.reliableHiddenOffsets&&((bz.style&&bz.style.display)||b.css(bz,"display"))==="none")};b.expr.filters.visible=function(e){return !b.expr.filters.hidden(e)}}var m=/%20/g,at=/\[\]$/,bv=/\r?\n/g,bt=/#.*$/,aG=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,a2=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,aP=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,aT=/^(?:GET|HEAD)$/,c=/^\/\//,P=/\?/,a9=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,t=/^(?:select|textarea)/i,h=/\s+/,bu=/([?&])_=[^&]*/,N=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,D=b.fn.load,ad={},u={},aH,v,aY=["*/"]+["*"];try{aH=bo.href}catch(az){aH=ay.createElement("a");aH.href="";aH=aH.href}v=N.exec(aH.toLowerCase())||[];function f(e){return function(bB,bD){if(typeof bB!=="string"){bD=bB;bB="*"}if(b.isFunction(bD)){var bA=bB.toLowerCase().split(h),bz=0,bC=bA.length,by,bE,bF;for(;bz<bC;bz++){by=bA[bz];bF=/^\+/.test(by);if(bF){by=by.substr(1)||"*"}bE=e[by]=e[by]||[];bE[bF?"unshift":"push"](bD)}}}}function aZ(by,bH,bC,bG,bE,bA){bE=bE||bH.dataTypes[0];bA=bA||{};bA[bE]=true;var bD=by[bE],bz=0,e=bD?bD.length:0,bB=(by===ad),bF;for(;bz<e&&(bB||!bF);bz++){bF=bD[bz](bH,bC,bG);if(typeof bF==="string"){if(!bB||bA[bF]){bF=O}else{bH.dataTypes.unshift(bF);bF=aZ(by,bH,bC,bG,bF,bA)}}}if((bB||!bF)&&!bA["*"]){bF=aZ(by,bH,bC,bG,"*",bA)}return bF}function ap(bz,bA){var by,e,bB=b.ajaxSettings.flatOptions||{};for(by in bA){if(bA[by]!==O){(bB[by]?bz:(e||(e={})))[by]=bA[by]}}if(e){b.extend(true,bz,e)}}b.fn.extend({load:function(bz,bC,bD){if(typeof bz!=="string"&&D){return D.apply(this,arguments)}else{if(!this.length){return this}}var bB=bz.indexOf(" ");if(bB>=0){var e=bz.slice(bB,bz.length);bz=bz.slice(0,bB)}var bA="GET";if(bC){if(b.isFunction(bC)){bD=bC;bC=O}else{if(typeof bC==="object"){bC=b.param(bC,b.ajaxSettings.traditional);bA="POST"}}}var by=this;b.ajax({url:bz,type:bA,dataType:"html",data:bC,complete:function(bF,bE,bG){bG=bF.responseText;if(bF.isResolved()){bF.done(function(bH){bG=bH});by.html(e?b("<div>").append(bG.replace(a9,"")).find(e):bG)}if(bD){by.each(bD,[bG,bE,bF])}}});return this},serialize:function(){return b.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?b.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||t.test(this.nodeName)||a2.test(this.type))}).map(function(e,by){var bz=b(this).val();return bz==null?null:b.isArray(bz)?b.map(bz,function(bB,bA){return{name:by.name,value:bB.replace(bv,"\r\n")}}):{name:by.name,value:bz.replace(bv,"\r\n")}}).get()}});b.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(e,by){b.fn[by]=function(bz){return this.on(by,bz)}});b.each(["get","post"],function(e,by){b[by]=function(bz,bB,bC,bA){if(b.isFunction(bB)){bA=bA||bC;bC=bB;bB=O}return b.ajax({type:by,url:bz,data:bB,success:bC,dataType:bA})}});b.extend({getScript:function(e,by){return b.get(e,O,by,"script")},getJSON:function(e,by,bz){return b.get(e,by,bz,"json")},ajaxSetup:function(by,e){if(e){ap(by,b.ajaxSettings)}else{e=by;by=b.ajaxSettings}ap(by,e);return by},ajaxSettings:{url:aH,isLocal:aP.test(v[1]),global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":aY},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":be.String,"text html":true,"text json":b.parseJSON,"text xml":b.parseXML},flatOptions:{context:true,url:true}},ajaxPrefilter:f(ad),ajaxTransport:f(u),ajax:function(bC,bA){if(typeof bC==="object"){bA=bC;bC=O}bA=bA||{};var bG=b.ajaxSetup({},bA),bV=bG.context||bG,bJ=bV!==bG&&(bV.nodeType||bV instanceof b)?b(bV):b.event,bU=b.Deferred(),bQ=b.Callbacks("once memory"),bE=bG.statusCode||{},bF,bK={},bR={},bT,bB,bO,bH,bL,bD=0,bz,bN,bM={readyState:0,setRequestHeader:function(bW,bX){if(!bD){var e=bW.toLowerCase();bW=bR[e]=bR[e]||bW;bK[bW]=bX}return this},getAllResponseHeaders:function(){return bD===2?bT:null},getResponseHeader:function(bW){var e;if(bD===2){if(!bB){bB={};while((e=aG.exec(bT))){bB[e[1].toLowerCase()]=e[2]}}e=bB[bW.toLowerCase()]}return e===O?null:e},overrideMimeType:function(e){if(!bD){bG.mimeType=e}return this},abort:function(e){e=e||"abort";if(bO){bO.abort(e)}bI(0,e);return this}};function bI(b2,bX,b3,bZ){if(bD===2){return}bD=2;if(bH){clearTimeout(bH)}bO=O;bT=bZ||"";bM.readyState=b2>0?4:0;var bW,b7,b6,b0=bX,b1=b3?bm(bG,bM,b3):O,bY,b5;if(b2>=200&&b2<300||b2===304){if(bG.ifModified){if((bY=bM.getResponseHeader("Last-Modified"))){b.lastModified[bF]=bY}if((b5=bM.getResponseHeader("Etag"))){b.etag[bF]=b5}}if(b2===304){b0="notmodified";bW=true}else{try{b7=J(bG,b1);b0="success";bW=true}catch(b4){b0="parsererror";b6=b4}}}else{b6=b0;if(!b0||b2){b0="error";if(b2<0){b2=0}}}bM.status=b2;bM.statusText=""+(bX||b0);if(bW){bU.resolveWith(bV,[b7,b0,bM])}else{bU.rejectWith(bV,[bM,b0,b6])}bM.statusCode(bE);bE=O;if(bz){bJ.trigger("ajax"+(bW?"Success":"Error"),[bM,bG,bW?b7:b6])}bQ.fireWith(bV,[bM,b0]);if(bz){bJ.trigger("ajaxComplete",[bM,bG]);if(!(--b.active)){b.event.trigger("ajaxStop")}}}bU.promise(bM);bM.success=bM.done;bM.error=bM.fail;bM.complete=bQ.add;bM.statusCode=function(bW){if(bW){var e;if(bD<2){for(e in bW){bE[e]=[bE[e],bW[e]]}}else{e=bW[bM.status];bM.then(e,e)}}return this};bG.url=((bC||bG.url)+"").replace(bt,"").replace(c,v[1]+"//");bG.dataTypes=b.trim(bG.dataType||"*").toLowerCase().split(h);if(bG.crossDomain==null){bL=N.exec(bG.url.toLowerCase());bG.crossDomain=!!(bL&&(bL[1]!=v[1]||bL[2]!=v[2]||(bL[3]||(bL[1]==="http:"?80:443))!=(v[3]||(v[1]==="http:"?80:443))))}if(bG.data&&bG.processData&&typeof bG.data!=="string"){bG.data=b.param(bG.data,bG.traditional)}aZ(ad,bG,bA,bM);if(bD===2){return false}bz=bG.global;bG.type=bG.type.toUpperCase();bG.hasContent=!aT.test(bG.type);if(bz&&b.active++===0){b.event.trigger("ajaxStart")}if(!bG.hasContent){if(bG.data){bG.url+=(P.test(bG.url)?"&":"?")+bG.data;delete bG.data}bF=bG.url;if(bG.cache===false){var by=b.now(),bS=bG.url.replace(bu,"$1_="+by);bG.url=bS+((bS===bG.url)?(P.test(bG.url)?"&":"?")+"_="+by:"")}}if(bG.data&&bG.hasContent&&bG.contentType!==false||bA.contentType){bM.setRequestHeader("Content-Type",bG.contentType)}if(bG.ifModified){bF=bF||bG.url;if(b.lastModified[bF]){bM.setRequestHeader("If-Modified-Since",b.lastModified[bF])}if(b.etag[bF]){bM.setRequestHeader("If-None-Match",b.etag[bF])}}bM.setRequestHeader("Accept",bG.dataTypes[0]&&bG.accepts[bG.dataTypes[0]]?bG.accepts[bG.dataTypes[0]]+(bG.dataTypes[0]!=="*"?", "+aY+"; q=0.01":""):bG.accepts["*"]);for(bN in bG.headers){bM.setRequestHeader(bN,bG.headers[bN])}if(bG.beforeSend&&(bG.beforeSend.call(bV,bM,bG)===false||bD===2)){bM.abort();return false}for(bN in {success:1,error:1,complete:1}){bM[bN](bG[bN])}bO=aZ(u,bG,bA,bM);if(!bO){bI(-1,"No Transport")}else{bM.readyState=1;if(bz){bJ.trigger("ajaxSend",[bM,bG])}if(bG.async&&bG.timeout>0){bH=setTimeout(function(){bM.abort("timeout")},bG.timeout)}try{bD=1;bO.send(bK,bI)}catch(bP){if(bD<2){bI(-1,bP)}else{throw bP}}}return bM},param:function(e,bz){var by=[],bB=function(bC,bD){bD=b.isFunction(bD)?bD():bD;by[by.length]=encodeURIComponent(bC)+"="+encodeURIComponent(bD)};if(bz===O){bz=b.ajaxSettings.traditional}if(b.isArray(e)||(e.jquery&&!b.isPlainObject(e))){b.each(e,function(){bB(this.name,this.value)})}else{for(var bA in e){y(bA,e[bA],bz,bB)}}return by.join("&").replace(m,"+")}});function y(bz,bB,by,bA){if(b.isArray(bB)){b.each(bB,function(bD,bC){if(by||at.test(bz)){bA(bz,bC)}else{y(bz+"["+(typeof bC==="object"||b.isArray(bC)?bD:"")+"]",bC,by,bA)}})}else{if(!by&&bB!=null&&typeof bB==="object"){for(var e in bB){y(bz+"["+e+"]",bB[e],by,bA)}}else{bA(bz,bB)}}}b.extend({active:0,lastModified:{},etag:{}});function bm(bG,bF,bC){var by=bG.contents,bE=bG.dataTypes,bz=bG.responseFields,bB,bD,bA,e;for(bD in bz){if(bD in bC){bF[bz[bD]]=bC[bD]}}while(bE[0]==="*"){bE.shift();if(bB===O){bB=bG.mimeType||bF.getResponseHeader("content-type")}}if(bB){for(bD in by){if(by[bD]&&by[bD].test(bB)){bE.unshift(bD);break}}}if(bE[0] in bC){bA=bE[0]}else{for(bD in bC){if(!bE[0]||bG.converters[bD+" "+bE[0]]){bA=bD;break}if(!e){e=bD}}bA=bA||e}if(bA){if(bA!==bE[0]){bE.unshift(bA)}return bC[bA]}}function J(bK,bC){if(bK.dataFilter){bC=bK.dataFilter(bC,bK.dataType)}var bG=bK.dataTypes,bJ={},bD,bH,bz=bG.length,bE,bF=bG[0],bA,bB,bI,by,e;for(bD=1;bD<bz;bD++){if(bD===1){for(bH in bK.converters){if(typeof bH==="string"){bJ[bH.toLowerCase()]=bK.converters[bH]}}}bA=bF;bF=bG[bD];if(bF==="*"){bF=bA}else{if(bA!=="*"&&bA!==bF){bB=bA+" "+bF;bI=bJ[bB]||bJ["* "+bF];if(!bI){e=O;for(by in bJ){bE=by.split(" ");if(bE[0]===bA||bE[0]==="*"){e=bJ[bE[1]+" "+bF];if(e){by=bJ[by];if(by===true){bI=e}else{if(e===true){bI=by}}break}}}}if(!(bI||e)){b.error("No conversion from "+bB.replace(" "," to "))}if(bI!==true){bC=bI?bI(bC):e(by(bC))}}}}return bC}var aF=b.now(),x=/(\=)\?(&|$)|\?\?/i;b.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return b.expando+"_"+(aF++)}});b.ajaxPrefilter("json jsonp",function(bG,bD,bF){var bA=bG.contentType==="application/x-www-form-urlencoded"&&(typeof bG.data==="string");if(bG.dataTypes[0]==="jsonp"||bG.jsonp!==false&&(x.test(bG.url)||bA&&x.test(bG.data))){var bE,bz=bG.jsonpCallback=b.isFunction(bG.jsonpCallback)?bG.jsonpCallback():bG.jsonpCallback,bC=be[bz],e=bG.url,bB=bG.data,by="$1"+bz+"$2";if(bG.jsonp!==false){e=e.replace(x,by);if(bG.url===e){if(bA){bB=bB.replace(x,by)}if(bG.data===bB){e+=(/\?/.test(e)?"&":"?")+bG.jsonp+"="+bz}}}bG.url=e;bG.data=bB;be[bz]=function(bH){bE=[bH]};bF.always(function(){be[bz]=bC;if(bE&&b.isFunction(bC)){be[bz](bE[0])}});bG.converters["script json"]=function(){if(!bE){b.error(bz+" was not called")}return bE[0]};bG.dataTypes[0]="json";return"script"}});b.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(e){b.globalEval(e);return e}}});b.ajaxPrefilter("script",function(e){if(e.cache===O){e.cache=false}if(e.crossDomain){e.type="GET";e.global=false}});b.ajaxTransport("script",function(bz){if(bz.crossDomain){var e,by=ay.head||ay.getElementsByTagName("head")[0]||ay.documentElement;return{send:function(bA,bB){e=ay.createElement("script");e.async="async";if(bz.scriptCharset){e.charset=bz.scriptCharset}e.src=bz.url;e.onload=e.onreadystatechange=function(bD,bC){if(bC||!e.readyState||/loaded|complete/.test(e.readyState)){e.onload=e.onreadystatechange=null;if(by&&e.parentNode){by.removeChild(e)}e=O;if(!bC){bB(200,"success")}}};by.insertBefore(e,by.firstChild)},abort:function(){if(e){e.onload(0,1)}}}}});var E=be.ActiveXObject?function(){for(var e in Q){Q[e](0,1)}}:false,B=0,Q;function aO(){try{return new be.XMLHttpRequest()}catch(by){}}function am(){try{return new be.ActiveXObject("Microsoft.XMLHTTP")}catch(by){}}b.ajaxSettings.xhr=be.ActiveXObject?function(){return !this.isLocal&&aO()||am()}:aO;(function(e){b.extend(b.support,{ajax:!!e,cors:!!e&&("withCredentials" in e)})})(b.ajaxSettings.xhr());if(b.support.ajax){b.ajaxTransport(function(e){if(!e.crossDomain||b.support.cors){var by;return{send:function(bE,bz){var bD=e.xhr(),bC,bB;if(e.username){bD.open(e.type,e.url,e.async,e.username,e.password)}else{bD.open(e.type,e.url,e.async)}if(e.xhrFields){for(bB in e.xhrFields){bD[bB]=e.xhrFields[bB]}}if(e.mimeType&&bD.overrideMimeType){bD.overrideMimeType(e.mimeType)}if(!e.crossDomain&&!bE["X-Requested-With"]){bE["X-Requested-With"]="XMLHttpRequest"}try{for(bB in bE){bD.setRequestHeader(bB,bE[bB])}}catch(bA){}bD.send((e.hasContent&&e.data)||null);by=function(bN,bH){var bI,bG,bF,bL,bK;try{if(by&&(bH||bD.readyState===4)){by=O;if(bC){bD.onreadystatechange=b.noop;if(E){delete Q[bC]}}if(bH){if(bD.readyState!==4){bD.abort()}}else{bI=bD.status;bF=bD.getAllResponseHeaders();bL={};bK=bD.responseXML;if(bK&&bK.documentElement){bL.xml=bK}bL.text=bD.responseText;try{bG=bD.statusText}catch(bM){bG=""}if(!bI&&e.isLocal&&!e.crossDomain){bI=bL.text?200:404}else{if(bI===1223){bI=204}}}}}catch(bJ){if(!bH){bz(-1,bJ)}}if(bL){bz(bI,bG,bL,bF)}};if(!e.async||bD.readyState===4){by()}else{bC=++B;if(E){if(!Q){Q={};b(be).unload(E)}Q[bC]=by}bD.onreadystatechange=by}},abort:function(){if(by){by(0,1)}}}}})}var T={},bb,o,aE=/^(?:toggle|show|hide)$/,aW=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,a6,aK=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],a7;b.fn.extend({show:function(bA,bD,bC){var bz,bB;if(bA||bA===0){return this.animate(a3("show",3),bA,bD,bC)}else{for(var by=0,e=this.length;by<e;by++){bz=this[by];if(bz.style){bB=bz.style.display;if(!b._data(bz,"olddisplay")&&bB==="none"){bB=bz.style.display=""}if(bB===""&&b.css(bz,"display")==="none"){b._data(bz,"olddisplay",A(bz.nodeName))}}}for(by=0;by<e;by++){bz=this[by];if(bz.style){bB=bz.style.display;if(bB===""||bB==="none"){bz.style.display=b._data(bz,"olddisplay")||""}}}return this}},hide:function(bA,bD,bC){if(bA||bA===0){return this.animate(a3("hide",3),bA,bD,bC)}else{var bz,bB,by=0,e=this.length;for(;by<e;by++){bz=this[by];if(bz.style){bB=b.css(bz,"display");if(bB!=="none"&&!b._data(bz,"olddisplay")){b._data(bz,"olddisplay",bB)}}}for(by=0;by<e;by++){if(this[by].style){this[by].style.display="none"}}return this}},_toggle:b.fn.toggle,toggle:function(bz,by,bA){var e=typeof bz==="boolean";if(b.isFunction(bz)&&b.isFunction(by)){this._toggle.apply(this,arguments)}else{if(bz==null||e){this.each(function(){var bB=e?bz:b(this).is(":hidden");b(this)[bB?"show":"hide"]()})}else{this.animate(a3("toggle",3),bz,by,bA)}}return this},fadeTo:function(e,bA,bz,by){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:bA},e,bz,by)},animate:function(bC,bz,bB,bA){var e=b.speed(bz,bB,bA);if(b.isEmptyObject(bC)){return this.each(e.complete,[false])}bC=b.extend({},bC);function by(){if(e.queue===false){b._mark(this)}var bH=b.extend({},e),bN=this.nodeType===1,bL=bN&&b(this).is(":hidden"),bE,bI,bG,bM,bK,bF,bJ,bO,bD;bH.animatedProperties={};for(bG in bC){bE=b.camelCase(bG);if(bG!==bE){bC[bE]=bC[bG];delete bC[bG]}bI=bC[bE];if(b.isArray(bI)){bH.animatedProperties[bE]=bI[1];bI=bC[bE]=bI[0]}else{bH.animatedProperties[bE]=bH.specialEasing&&bH.specialEasing[bE]||bH.easing||"swing"}if(bI==="hide"&&bL||bI==="show"&&!bL){return bH.complete.call(this)}if(bN&&(bE==="height"||bE==="width")){bH.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY];if(b.css(this,"display")==="inline"&&b.css(this,"float")==="none"){if(!b.support.inlineBlockNeedsLayout||A(this.nodeName)==="inline"){this.style.display="inline-block"}else{this.style.zoom=1}}}}if(bH.overflow!=null){this.style.overflow="hidden"}for(bG in bC){bM=new b.fx(this,bH,bG);bI=bC[bG];if(aE.test(bI)){bD=b._data(this,"toggle"+bG)||(bI==="toggle"?bL?"show":"hide":0);if(bD){b._data(this,"toggle"+bG,bD==="show"?"hide":"show");bM[bD]()}else{bM[bI]()}}else{bK=aW.exec(bI);bF=bM.cur();if(bK){bJ=parseFloat(bK[2]);bO=bK[3]||(b.cssNumber[bG]?"":"px");if(bO!=="px"){b.style(this,bG,(bJ||1)+bO);bF=((bJ||1)/bM.cur())*bF;b.style(this,bG,bF+bO)}if(bK[1]){bJ=((bK[1]==="-="?-1:1)*bJ)+bF}bM.custom(bF,bJ,bO)}else{bM.custom(bF,bI,"")}}}return true}return e.queue===false?this.each(by):this.queue(e.queue,by)},stop:function(bz,by,e){if(typeof bz!=="string"){e=by;by=bz;bz=O}if(by&&bz!==false){this.queue(bz||"fx",[])}return this.each(function(){var bA,bB=false,bD=b.timers,bC=b._data(this);if(!e){b._unmark(true,this)}function bE(bH,bI,bG){var bF=bI[bG];b.removeData(bH,bG,true);bF.stop(e)}if(bz==null){for(bA in bC){if(bC[bA]&&bC[bA].stop&&bA.indexOf(".run")===bA.length-4){bE(this,bC,bA)}}}else{if(bC[bA=bz+".run"]&&bC[bA].stop){bE(this,bC,bA)}}for(bA=bD.length;bA--;){if(bD[bA].elem===this&&(bz==null||bD[bA].queue===bz)){if(e){bD[bA](true)}else{bD[bA].saveState()}bB=true;bD.splice(bA,1)}}if(!(e&&bB)){b.dequeue(this,bz)}})}});function bk(){setTimeout(aw,0);return(a7=b.now())}function aw(){a7=O}function a3(by,e){var bz={};b.each(aK.concat.apply([],aK.slice(0,e)),function(){bz[this]=by});return bz}b.each({slideDown:a3("show",1),slideUp:a3("hide",1),slideToggle:a3("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,by){b.fn[e]=function(bz,bB,bA){return this.animate(by,bz,bB,bA)}});b.extend({speed:function(bz,bA,by){var e=bz&&typeof bz==="object"?b.extend({},bz):{complete:by||!by&&bA||b.isFunction(bz)&&bz,duration:bz,easing:by&&bA||bA&&!b.isFunction(bA)&&bA};e.duration=b.fx.off?0:typeof e.duration==="number"?e.duration:e.duration in b.fx.speeds?b.fx.speeds[e.duration]:b.fx.speeds._default;if(e.queue==null||e.queue===true){e.queue="fx"}e.old=e.complete;e.complete=function(bB){if(b.isFunction(e.old)){e.old.call(this)}if(e.queue){b.dequeue(this,e.queue)}else{if(bB!==false){b._unmark(this)}}};return e},easing:{linear:function(bz,bA,e,by){return e+by*bz},swing:function(bz,bA,e,by){return((-Math.cos(bz*Math.PI)/2)+0.5)*by+e}},timers:[],fx:function(by,e,bz){this.options=e;this.elem=by;this.prop=bz;e.orig=e.orig||{}}});b.fx.prototype={update:function(){if(this.options.step){this.options.step.call(this.elem,this.now,this)}(b.fx.step[this.prop]||b.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop]}var e,by=b.css(this.elem,this.prop);return isNaN(e=parseFloat(by))?!by||by==="auto"?0:by:e},custom:function(bC,bB,bA){var e=this,bz=b.fx;this.startTime=a7||bk();this.end=bB;this.now=this.start=bC;this.pos=this.state=0;this.unit=bA||this.unit||(b.cssNumber[this.prop]?"":"px");function by(bD){return e.step(bD)}by.queue=this.options.queue;by.elem=this.elem;by.saveState=function(){if(e.options.hide&&b._data(e.elem,"fxshow"+e.prop)===O){b._data(e.elem,"fxshow"+e.prop,e.start)}};if(by()&&b.timers.push(by)&&!a6){a6=setInterval(bz.tick,bz.interval)}},show:function(){var e=b._data(this.elem,"fxshow"+this.prop);this.options.orig[this.prop]=e||b.style(this.elem,this.prop);this.options.show=true;if(e!==O){this.custom(this.cur(),e)}else{this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur())}b(this.elem).show()},hide:function(){this.options.orig[this.prop]=b._data(this.elem,"fxshow"+this.prop)||b.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(bB){var bD,bE,by,bA=a7||bk(),e=true,bC=this.elem,bz=this.options;if(bB||bA>=bz.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();bz.animatedProperties[this.prop]=true;for(bD in bz.animatedProperties){if(bz.animatedProperties[bD]!==true){e=false}}if(e){if(bz.overflow!=null&&!b.support.shrinkWrapBlocks){b.each(["","X","Y"],function(bF,bG){bC.style["overflow"+bG]=bz.overflow[bF]})}if(bz.hide){b(bC).hide()}if(bz.hide||bz.show){for(bD in bz.animatedProperties){b.style(bC,bD,bz.orig[bD]);b.removeData(bC,"fxshow"+bD,true);b.removeData(bC,"toggle"+bD,true)}}by=bz.complete;if(by){bz.complete=false;by.call(bC)}}return false}else{if(bz.duration==Infinity){this.now=bA}else{bE=bA-this.startTime;this.state=bE/bz.duration;this.pos=b.easing[bz.animatedProperties[this.prop]](this.state,bE,0,1,bz.duration);this.now=this.start+((this.end-this.start)*this.pos)}this.update()}return true}};b.extend(b.fx,{tick:function(){var bz,by=b.timers,e=0;for(;e<by.length;e++){bz=by[e];if(!bz()&&by[e]===bz){by.splice(e--,1)}}if(!by.length){b.fx.stop()}},interval:13,stop:function(){clearInterval(a6);a6=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(e){b.style(e.elem,"opacity",e.now)},_default:function(e){if(e.elem.style&&e.elem.style[e.prop]!=null){e.elem.style[e.prop]=e.now+e.unit}else{e.elem[e.prop]=e.now}}}});b.each(["width","height"],function(e,by){b.fx.step[by]=function(bz){b.style(bz.elem,by,Math.max(0,bz.now)+bz.unit)}});if(b.expr&&b.expr.filters){b.expr.filters.animated=function(e){return b.grep(b.timers,function(by){return e===by.elem}).length}}function A(bA){if(!T[bA]){var e=ay.body,by=b("<"+bA+">").appendTo(e),bz=by.css("display");by.remove();if(bz==="none"||bz===""){if(!bb){bb=ay.createElement("iframe");bb.frameBorder=bb.width=bb.height=0}e.appendChild(bb);if(!o||!bb.createElement){o=(bb.contentWindow||bb.contentDocument).document;o.write((ay.compatMode==="CSS1Compat"?"<!doctype html>":"")+"<html><body>");o.close()}by=o.createElement(bA);o.body.appendChild(by);bz=b.css(by,"display");e.removeChild(bb)}T[bA]=bz}return T[bA]}var Y=/^t(?:able|d|h)$/i,ag=/^(?:body|html)$/i;if("getBoundingClientRect" in ay.documentElement){b.fn.offset=function(bL){var bB=this[0],bE;if(bL){return this.each(function(e){b.offset.setOffset(this,bL,e)})}if(!bB||!bB.ownerDocument){return null}if(bB===bB.ownerDocument.body){return b.offset.bodyOffset(bB)}try{bE=bB.getBoundingClientRect()}catch(bI){}var bK=bB.ownerDocument,bz=bK.documentElement;if(!bE||!b.contains(bz,bB)){return bE?{top:bE.top,left:bE.left}:{top:0,left:0}}var bF=bK.body,bG=aN(bK),bD=bz.clientTop||bF.clientTop||0,bH=bz.clientLeft||bF.clientLeft||0,by=bG.pageYOffset||b.support.boxModel&&bz.scrollTop||bF.scrollTop,bC=bG.pageXOffset||b.support.boxModel&&bz.scrollLeft||bF.scrollLeft,bJ=bE.top+by-bD,bA=bE.left+bC-bH;return{top:bJ,left:bA}}}else{b.fn.offset=function(bI){var bC=this[0];if(bI){return this.each(function(bJ){b.offset.setOffset(this,bI,bJ)})}if(!bC||!bC.ownerDocument){return null}if(bC===bC.ownerDocument.body){return b.offset.bodyOffset(bC)}var bF,bz=bC.offsetParent,by=bC,bH=bC.ownerDocument,bA=bH.documentElement,bD=bH.body,bE=bH.defaultView,e=bE?bE.getComputedStyle(bC,null):bC.currentStyle,bG=bC.offsetTop,bB=bC.offsetLeft;while((bC=bC.parentNode)&&bC!==bD&&bC!==bA){if(b.support.fixedPosition&&e.position==="fixed"){break}bF=bE?bE.getComputedStyle(bC,null):bC.currentStyle;bG-=bC.scrollTop;bB-=bC.scrollLeft;if(bC===bz){bG+=bC.offsetTop;bB+=bC.offsetLeft;if(b.support.doesNotAddBorder&&!(b.support.doesAddBorderForTableAndCells&&Y.test(bC.nodeName))){bG+=parseFloat(bF.borderTopWidth)||0;bB+=parseFloat(bF.borderLeftWidth)||0}by=bz;bz=bC.offsetParent}if(b.support.subtractsBorderForOverflowNotVisible&&bF.overflow!=="visible"){bG+=parseFloat(bF.borderTopWidth)||0;bB+=parseFloat(bF.borderLeftWidth)||0}e=bF}if(e.position==="relative"||e.position==="static"){bG+=bD.offsetTop;bB+=bD.offsetLeft}if(b.support.fixedPosition&&e.position==="fixed"){bG+=Math.max(bA.scrollTop,bD.scrollTop);bB+=Math.max(bA.scrollLeft,bD.scrollLeft)}return{top:bG,left:bB}}}b.offset={bodyOffset:function(e){var bz=e.offsetTop,by=e.offsetLeft;if(b.support.doesNotIncludeMarginInBodyOffset){bz+=parseFloat(b.css(e,"marginTop"))||0;by+=parseFloat(b.css(e,"marginLeft"))||0}return{top:bz,left:by}},setOffset:function(bA,bJ,bD){var bE=b.css(bA,"position");if(bE==="static"){bA.style.position="relative"}var bC=b(bA),by=bC.offset(),e=b.css(bA,"top"),bH=b.css(bA,"left"),bI=(bE==="absolute"||bE==="fixed")&&b.inArray("auto",[e,bH])>-1,bG={},bF={},bz,bB;if(bI){bF=bC.position();bz=bF.top;bB=bF.left}else{bz=parseFloat(e)||0;bB=parseFloat(bH)||0}if(b.isFunction(bJ)){bJ=bJ.call(bA,bD,by)}if(bJ.top!=null){bG.top=(bJ.top-by.top)+bz}if(bJ.left!=null){bG.left=(bJ.left-by.left)+bB}if("using" in bJ){bJ.using.call(bA,bG)}else{bC.css(bG)}}};b.fn.extend({position:function(){if(!this[0]){return null}var bz=this[0],by=this.offsetParent(),bA=this.offset(),e=ag.test(by[0].nodeName)?{top:0,left:0}:by.offset();bA.top-=parseFloat(b.css(bz,"marginTop"))||0;bA.left-=parseFloat(b.css(bz,"marginLeft"))||0;e.top+=parseFloat(b.css(by[0],"borderTopWidth"))||0;e.left+=parseFloat(b.css(by[0],"borderLeftWidth"))||0;return{top:bA.top-e.top,left:bA.left-e.left}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||ay.body;while(e&&(!ag.test(e.nodeName)&&b.css(e,"position")==="static")){e=e.offsetParent}return e})}});b.each(["Left","Top"],function(by,e){var bz="scroll"+e;b.fn[bz]=function(bC){var bA,bB;if(bC===O){bA=this[0];if(!bA){return null}bB=aN(bA);return bB?("pageXOffset" in bB)?bB[by?"pageYOffset":"pageXOffset"]:b.support.boxModel&&bB.document.documentElement[bz]||bB.document.body[bz]:bA[bz]}return this.each(function(){bB=aN(this);if(bB){bB.scrollTo(!by?bC:b(bB).scrollLeft(),by?bC:b(bB).scrollTop())}else{this[bz]=bC}})}});function aN(e){return b.isWindow(e)?e:e.nodeType===9?e.defaultView||e.parentWindow:false}b.each(["Height","Width"],function(by,e){var bz=e.toLowerCase();b.fn["inner"+e]=function(){var bA=this[0];return bA?bA.style?parseFloat(b.css(bA,bz,"padding")):this[bz]():null};b.fn["outer"+e]=function(bB){var bA=this[0];return bA?bA.style?parseFloat(b.css(bA,bz,bB?"margin":"border")):this[bz]():null};b.fn[bz]=function(bC){var bD=this[0];if(!bD){return bC==null?null:this}if(b.isFunction(bC)){return this.each(function(bH){var bG=b(this);bG[bz](bC.call(this,bH,bG[bz]()))})}if(b.isWindow(bD)){var bE=bD.document.documentElement["client"+e],bA=bD.document.body;return bD.document.compatMode==="CSS1Compat"&&bE||bA&&bA["client"+e]||bE}else{if(bD.nodeType===9){return Math.max(bD.documentElement["client"+e],bD.body["scroll"+e],bD.documentElement["scroll"+e],bD.body["offset"+e],bD.documentElement["offset"+e])}else{if(bC===O){var bF=b.css(bD,bz),bB=parseFloat(bF);return b.isNumeric(bB)?bB:bF}else{return this.css(bz,typeof bC==="string"?bC:bC+"px")}}}}});be.jQuery=be.$=b;if(typeof define==="function"&&define.amd&&define.amd.jQuery){define("jquery",[],function(){return b})}})(window);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,n,m){var k=1.70158;var l=0;var g=n;if(h==0){return e}if((h/=m)==1){return e+n}if(!l){l=m*0.3}if(g<Math.abs(n)){g=n;var k=l/4}else{var k=l/(2*Math.PI)*Math.asin(n/g)}return -(g*Math.pow(2,10*(h-=1))*Math.sin((h*m-k)*(2*Math.PI)/l))+e},easeOutElastic:function(f,h,e,n,m){var k=1.70158;var l=0;var g=n;if(h==0){return e}if((h/=m)==1){return e+n}if(!l){l=m*0.3}if(g<Math.abs(n)){g=n;var k=l/4}else{var k=l/(2*Math.PI)*Math.asin(n/g)}return g*Math.pow(2,-10*h)*Math.sin((h*m-k)*(2*Math.PI)/l)+n+e},easeInOutElastic:function(f,h,e,n,m){var k=1.70158;var l=0;var g=n;if(h==0){return e}if((h/=m/2)==2){return e+n}if(!l){l=m*(0.3*1.5)}if(g<Math.abs(n)){g=n;var k=l/4}else{var k=l/(2*Math.PI)*Math.asin(n/g)}if(h<1){return -0.5*(g*Math.pow(2,10*(h-=1))*Math.sin((h*m-k)*(2*Math.PI)/l))+e}return g*Math.pow(2,-10*(h-=1))*Math.sin((h*m-k)*(2*Math.PI)/l)*0.5+n+e},easeInBack:function(e,f,a,k,h,g){if(g==undefined){g=1.70158}return k*(f/=h)*f*((g+1)*f-g)+a},easeOutBack:function(e,f,a,k,h,g){if(g==undefined){g=1.70158}return k*((f=f/h-1)*f*((g+1)*f+g)+1)+a},easeInOutBack:function(e,f,a,k,h,g){if(g==undefined){g=1.70158}if((f/=h/2)<1){return k/2*(f*f*(((g*=(1.525))+1)*f-g))+a}return k/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(a){a.fn.hoverIntent=function(m,l){var n={sensitivity:7,interval:100,timeout:0};n=a.extend(n,l?{over:m,out:l}:m);var p,o,h,d;var e=function(f){p=f.pageX;o=f.pageY};var c=function(g,f){f.hoverIntent_t=clearTimeout(f.hoverIntent_t);if((Math.abs(h-p)+Math.abs(d-o))<n.sensitivity){a(f).unbind("mousemove",e);f.hoverIntent_s=1;return n.over.apply(f,[g])}else{h=p;d=o;f.hoverIntent_t=setTimeout(function(){c(g,f)},n.interval)}};var k=function(g,f){f.hoverIntent_t=clearTimeout(f.hoverIntent_t);f.hoverIntent_s=0;return n.out.apply(f,[g])};var b=function(q){var g=jQuery.extend({},q);var f=this;if(f.hoverIntent_t){f.hoverIntent_t=clearTimeout(f.hoverIntent_t)}if(q.type=="mouseenter"){h=g.pageX;d=g.pageY;a(f).bind("mousemove",e);if(f.hoverIntent_s!=1){f.hoverIntent_t=setTimeout(function(){c(g,f)},n.interval)}}else{a(f).unbind("mousemove",e);if(f.hoverIntent_s==1){f.hoverIntent_t=setTimeout(function(){k(g,f)},n.timeout)}}};return this.bind("mouseenter",b).bind("mouseleave",b)}})(jQuery);
/*
 * jQuery UI 1.8.16
 *
 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * http://docs.jquery.com/UI
 */
(function(a,d){a.ui=a.ui||{};if(a.ui.version){return}a.extend(a.ui,{version:"1.8.16",keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91}});a.fn.extend({propAttr:a.fn.prop||a.fn.attr,_focus:a.fn.focus,focus:function(e,f){return typeof e==="number"?this.each(function(){var g=this;setTimeout(function(){a(g).focus();if(f){f.call(g)}},e)}):this._focus.apply(this,arguments)},scrollParent:function(){var e;if((a.browser.msie&&(/(static|relative)/).test(this.css("position")))||(/absolute/).test(this.css("position"))){e=this.parents().filter(function(){return(/(relative|absolute|fixed)/).test(a.curCSS(this,"position",1))&&(/(auto|scroll)/).test(a.curCSS(this,"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1))}).eq(0)}else{e=this.parents().filter(function(){return(/(auto|scroll)/).test(a.curCSS(this,"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1))}).eq(0)}return(/fixed/).test(this.css("position"))||!e.length?a(document):e},zIndex:function(h){if(h!==d){return this.css("zIndex",h)}if(this.length){var f=a(this[0]),e,g;while(f.length&&f[0]!==document){e=f.css("position");if(e==="absolute"||e==="relative"||e==="fixed"){g=parseInt(f.css("zIndex"),10);if(!isNaN(g)&&g!==0){return g}}f=f.parent()}}return 0},disableSelection:function(){return this.bind((a.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(e){e.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}});a.each(["Width","Height"],function(g,e){var f=e==="Width"?["Left","Right"]:["Top","Bottom"],h=e.toLowerCase(),l={innerWidth:a.fn.innerWidth,innerHeight:a.fn.innerHeight,outerWidth:a.fn.outerWidth,outerHeight:a.fn.outerHeight};function k(o,n,m,p){a.each(f,function(){n-=parseFloat(a.curCSS(o,"padding"+this,true))||0;if(m){n-=parseFloat(a.curCSS(o,"border"+this+"Width",true))||0}if(p){n-=parseFloat(a.curCSS(o,"margin"+this,true))||0}});return n}a.fn["inner"+e]=function(m){if(m===d){return l["inner"+e].call(this)}return this.each(function(){a(this).css(h,k(this,m)+"px")})};a.fn["outer"+e]=function(m,n){if(typeof m!=="number"){return l["outer"+e].call(this,m)}return this.each(function(){a(this).css(h,k(this,m,true,n)+"px")})}});function c(g,e){var l=g.nodeName.toLowerCase();if("area"===l){var k=g.parentNode,h=k.name,f;if(!g.href||!h||k.nodeName.toLowerCase()!=="map"){return false}f=a("img[usemap=#"+h+"]")[0];return !!f&&b(f)}return(/input|select|textarea|button|object/.test(l)?!g.disabled:"a"==l?g.href||e:e)&&b(g)}function b(e){return !a(e).parents().andSelf().filter(function(){return a.curCSS(this,"visibility")==="hidden"||a.expr.filters.hidden(this)}).length}a.extend(a.expr[":"],{data:function(g,f,e){return !!a.data(g,e[3])},focusable:function(e){return c(e,!isNaN(a.attr(e,"tabindex")))},tabbable:function(g){var e=a.attr(g,"tabindex"),f=isNaN(e);return(f||e>=0)&&c(g,!f)}});a(function(){var e=document.body,f=e.appendChild(f=document.createElement("div"));a.extend(f.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0});a.support.minHeight=f.offsetHeight===100;a.support.selectstart="onselectstart" in f;e.removeChild(f).style.display="none"});a.extend(a.ui,{plugin:{add:function(f,g,k){var h=a.ui[f].prototype;for(var e in k){h.plugins[e]=h.plugins[e]||[];h.plugins[e].push([g,k[e]])}},call:function(e,g,f){var k=e.plugins[g];if(!k||!e.element[0].parentNode){return}for(var h=0;h<k.length;h++){if(e.options[k[h][0]]){k[h][1].apply(e.element,f)}}}},contains:function(f,e){return document.compareDocumentPosition?f.compareDocumentPosition(e)&16:f!==e&&f.contains(e)},hasScroll:function(h,f){if(a(h).css("overflow")==="hidden"){return false}var e=(f&&f==="left")?"scrollLeft":"scrollTop",g=false;if(h[e]>0){return true}h[e]=1;g=(h[e]>0);h[e]=0;return g},isOverAxis:function(f,e,g){return(f>e)&&(f<(e+g))},isOver:function(l,f,k,h,e,g){return a.ui.isOverAxis(l,k,e)&&a.ui.isOverAxis(f,h,g)}})})(jQuery);
/*
 * jQuery UI Widget 1.8.16
 *
 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * http://docs.jquery.com/UI/Widget
 */
(function(b,d){if(b.cleanData){var c=b.cleanData;b.cleanData=function(f){for(var g=0,h;(h=f[g])!=null;g++){try{b(h).triggerHandler("remove")}catch(k){}}c(f)}}else{var a=b.fn.remove;b.fn.remove=function(e,f){return this.each(function(){if(!f){if(!e||b.filter(e,[this]).length){b("*",this).add([this]).each(function(){try{b(this).triggerHandler("remove")}catch(g){}})}}return a.call(b(this),e,f)})}}b.widget=function(f,h,e){var g=f.split(".")[0],l;f=f.split(".")[1];l=g+"-"+f;if(!e){e=h;h=b.Widget}b.expr[":"][l]=function(m){return !!b.data(m,f)};b[g]=b[g]||{};b[g][f]=function(m,n){if(arguments.length){this._createWidget(m,n)}};var k=new h();k.options=b.extend(true,{},k.options);b[g][f].prototype=b.extend(true,k,{namespace:g,widgetName:f,widgetEventPrefix:b[g][f].prototype.widgetEventPrefix||f,widgetBaseClass:l},e);b.widget.bridge(f,b[g][f])};b.widget.bridge=function(f,e){b.fn[f]=function(k){var g=typeof k==="string",h=Array.prototype.slice.call(arguments,1),l=this;k=!g&&h.length?b.extend.apply(null,[true,k].concat(h)):k;if(g&&k.charAt(0)==="_"){return l}if(g){this.each(function(){var m=b.data(this,f),n=m&&b.isFunction(m[k])?m[k].apply(m,h):m;if(n!==m&&n!==d){l=n;return false}})}else{this.each(function(){var m=b.data(this,f);if(m){m.option(k||{})._init()}else{b.data(this,f,new e(k,this))}})}return l}};b.Widget=function(e,f){if(arguments.length){this._createWidget(e,f)}};b.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:false},_createWidget:function(f,g){b.data(g,this.widgetName,this);this.element=b(g);this.options=b.extend(true,{},this.options,this._getCreateOptions(),f);var e=this;this.element.bind("remove."+this.widgetName,function(){e.destroy()});this._create();this._trigger("create");this._init()},_getCreateOptions:function(){return b.metadata&&b.metadata.get(this.element[0])[this.widgetName]},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+this.widgetName).removeData(this.widgetName);this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+"-disabled ui-state-disabled")},widget:function(){return this.element},option:function(f,g){var e=f;if(arguments.length===0){return b.extend({},this.options)}if(typeof f==="string"){if(g===d){return this.options[f]}e={};e[f]=g}this._setOptions(e);return this},_setOptions:function(f){var e=this;b.each(f,function(g,h){e._setOption(g,h)});return this},_setOption:function(e,f){this.options[e]=f;if(e==="disabled"){this.widget()[f?"addClass":"removeClass"](this.widgetBaseClass+"-disabled ui-state-disabled").attr("aria-disabled",f)}return this},enable:function(){return this._setOption("disabled",false)},disable:function(){return this._setOption("disabled",true)},_trigger:function(f,g,h){var l=this.options[f];g=b.Event(g);g.type=(f===this.widgetEventPrefix?f:this.widgetEventPrefix+f).toLowerCase();h=h||{};if(g.originalEvent){for(var e=b.event.props.length,k;e;){k=b.event.props[--e];g[k]=g.originalEvent[k]}}this.element.trigger(g,h);return !(b.isFunction(l)&&l.call(this.element[0],g,h)===false||g.isDefaultPrevented())}}})(jQuery);
/*
 * jQuery UI Mouse 1.8.16
 *
 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * http://docs.jquery.com/UI/Mouse
 *
 * Depends:
 *	jquery.ui.widget.js
 */
(function(b,c){var a=false;b(document).mouseup(function(d){a=false});b.widget("ui.mouse",{options:{cancel:":input,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)},_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.browser.msie&&!(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(d){return this.mouseDelayMet},_mouseStart:function(d){},_mouseDrag:function(d){},_mouseStop:function(d){},_mouseCapture:function(d){return true}})})(jQuery);(function(b,c){var a=5;b.widget("ui.slider",b.ui.mouse,{widgetEventPrefix:"slide",options:{animate:false,distance:0,max:100,min:0,orientation:"horizontal",range:false,step:1,value:0,values:null},_create:function(){var e=this,l=this.options,k=this.element.find(".ui-slider-handle").addClass("ui-state-default ui-corner-all"),h="<a class='ui-slider-handle ui-state-default ui-corner-all' href='#'></a>",d=(l.values&&l.values.length)||1,g=[];this._keySliding=false;this._mouseSliding=false;this._animateOff=true;this._handleIndex=null;this._detectOrientation();this._mouseInit();this.element.addClass("ui-slider ui-slider-"+this.orientation+" ui-widget ui-widget-content ui-corner-all"+(l.disabled?" ui-slider-disabled ui-disabled":""));this.range=b([]);if(l.range){if(l.range===true){if(!l.values){l.values=[this._valueMin(),this._valueMin()]}if(l.values.length&&l.values.length!==2){l.values=[l.values[0],l.values[0]]}}this.range=b("<div></div>").appendTo(this.element).addClass("ui-slider-range ui-widget-header"+((l.range==="min"||l.range==="max")?" ui-slider-range-"+l.range:""))}for(var f=k.length;f<d;f+=1){g.push(h)}this.handles=k.add(b(g.join("")).appendTo(e.element));this.handle=this.handles.eq(0);this.handles.add(this.range).filter("a").click(function(m){m.preventDefault()}).hover(function(){if(!l.disabled){b(this).addClass("ui-state-hover")}},function(){b(this).removeClass("ui-state-hover")}).focus(function(){if(!l.disabled){b(".ui-slider .ui-state-focus").removeClass("ui-state-focus");b(this).addClass("ui-state-focus")}else{b(this).blur()}}).blur(function(){b(this).removeClass("ui-state-focus")});this.handles.each(function(m){b(this).data("index.ui-slider-handle",m)});this.handles.keydown(function(s){var o=true,n=b(this).data("index.ui-slider-handle"),t,p,m,q;if(e.options.disabled){return}switch(s.keyCode){case b.ui.keyCode.HOME:case b.ui.keyCode.END:case b.ui.keyCode.PAGE_UP:case b.ui.keyCode.PAGE_DOWN:case b.ui.keyCode.UP:case b.ui.keyCode.RIGHT:case b.ui.keyCode.DOWN:case b.ui.keyCode.LEFT:o=false;if(!e._keySliding){e._keySliding=true;b(this).addClass("ui-state-active");t=e._start(s,n);if(t===false){return}}break}q=e.options.step;if(e.options.values&&e.options.values.length){p=m=e.values(n)}else{p=m=e.value()}switch(s.keyCode){case b.ui.keyCode.HOME:m=e._valueMin();break;case b.ui.keyCode.END:m=e._valueMax();break;case b.ui.keyCode.PAGE_UP:m=e._trimAlignValue(p+((e._valueMax()-e._valueMin())/a));break;case b.ui.keyCode.PAGE_DOWN:m=e._trimAlignValue(p-((e._valueMax()-e._valueMin())/a));break;case b.ui.keyCode.UP:case b.ui.keyCode.RIGHT:if(p===e._valueMax()){return}m=e._trimAlignValue(p+q);break;case b.ui.keyCode.DOWN:case b.ui.keyCode.LEFT:if(p===e._valueMin()){return}m=e._trimAlignValue(p-q);break}e._slide(s,n,m);return o}).keyup(function(n){var m=b(this).data("index.ui-slider-handle");if(e._keySliding){e._keySliding=false;e._stop(n,m);e._change(n,m);b(this).removeClass("ui-state-active")}});this._refreshValue();this._animateOff=false},destroy:function(){this.handles.remove();this.range.remove();this.element.removeClass("ui-slider ui-slider-horizontal ui-slider-vertical ui-slider-disabled ui-widget ui-widget-content ui-corner-all").removeData("slider").unbind(".slider");this._mouseDestroy();return this},_mouseCapture:function(f){var g=this.options,l,n,e,h,q,m,p,k,d;if(g.disabled){return false}this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()};this.elementOffset=this.element.offset();l={x:f.pageX,y:f.pageY};n=this._normValueFromMouse(l);e=this._valueMax()-this._valueMin()+1;q=this;this.handles.each(function(o){var s=Math.abs(n-q.values(o));if(e>s){e=s;h=b(this);m=o}});if(g.range===true&&this.values(1)===g.min){m+=1;h=b(this.handles[m])}p=this._start(f,m);if(p===false){return false}this._mouseSliding=true;q._handleIndex=m;h.addClass("ui-state-active").focus();k=h.offset();d=!b(f.target).parents().andSelf().is(".ui-slider-handle");this._clickOffset=d?{left:0,top:0}:{left:f.pageX-k.left-(h.width()/2),top:f.pageY-k.top-(h.height()/2)-(parseInt(h.css("borderTopWidth"),10)||0)-(parseInt(h.css("borderBottomWidth"),10)||0)+(parseInt(h.css("marginTop"),10)||0)};if(!this.handles.hasClass("ui-state-hover")){this._slide(f,m,n)}this._animateOff=true;return true},_mouseStart:function(d){return true},_mouseDrag:function(f){var d={x:f.pageX,y:f.pageY},e=this._normValueFromMouse(d);this._slide(f,this._handleIndex,e);return false},_mouseStop:function(d){this.handles.removeClass("ui-state-active");this._mouseSliding=false;this._stop(d,this._handleIndex);this._change(d,this._handleIndex);this._handleIndex=null;this._clickOffset=null;this._animateOff=false;return false},_detectOrientation:function(){this.orientation=(this.options.orientation==="vertical")?"vertical":"horizontal"},_normValueFromMouse:function(e){var d,h,g,f,k;if(this.orientation==="horizontal"){d=this.elementSize.width;h=e.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)}else{d=this.elementSize.height;h=e.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)}g=(h/d);if(g>1){g=1}if(g<0){g=0}if(this.orientation==="vertical"){g=1-g}f=this._valueMax()-this._valueMin();k=this._valueMin()+g*f;return this._trimAlignValue(k)},_start:function(f,e){var d={handle:this.handles[e],value:this.value()};if(this.options.values&&this.options.values.length){d.value=this.values(e);d.values=this.values()}return this._trigger("start",f,d)},_slide:function(h,g,f){var d,e,k;if(this.options.values&&this.options.values.length){d=this.values(g?0:1);if((this.options.values.length===2&&this.options.range===true)&&((g===0&&f>d)||(g===1&&f<d))){f=d}if(f!==this.values(g)){e=this.values();e[g]=f;k=this._trigger("slide",h,{handle:this.handles[g],value:f,values:e});d=this.values(g?0:1);if(k!==false){this.values(g,f,true)}}}else{if(f!==this.value()){k=this._trigger("slide",h,{handle:this.handles[g],value:f});if(k!==false){this.value(f)}}}},_stop:function(f,e){var d={handle:this.handles[e],value:this.value()};if(this.options.values&&this.options.values.length){d.value=this.values(e);d.values=this.values()}this._trigger("stop",f,d)},_change:function(f,e){if(!this._keySliding&&!this._mouseSliding){var d={handle:this.handles[e],value:this.value()};if(this.options.values&&this.options.values.length){d.value=this.values(e);d.values=this.values()}this._trigger("change",f,d)}},value:function(d){if(arguments.length){this.options.value=this._trimAlignValue(d);this._refreshValue();this._change(null,0);return}return this._value()},values:function(e,h){var g,d,f;if(arguments.length>1){this.options.values[e]=this._trimAlignValue(h);this._refreshValue();this._change(null,e);return}if(arguments.length){if(b.isArray(arguments[0])){g=this.options.values;d=arguments[0];for(f=0;f<g.length;f+=1){g[f]=this._trimAlignValue(d[f]);this._change(null,f)}this._refreshValue()}else{if(this.options.values&&this.options.values.length){return this._values(e)}else{return this.value()}}}else{return this._values()}},_setOption:function(e,f){var d,g=0;if(b.isArray(this.options.values)){g=this.options.values.length}b.Widget.prototype._setOption.apply(this,arguments);switch(e){case"disabled":if(f){this.handles.filter(".ui-state-focus").blur();this.handles.removeClass("ui-state-hover");this.handles.propAttr("disabled",true);this.element.addClass("ui-disabled")}else{this.handles.propAttr("disabled",false);this.element.removeClass("ui-disabled")}break;case"orientation":this._detectOrientation();this.element.removeClass("ui-slider-horizontal ui-slider-vertical").addClass("ui-slider-"+this.orientation);this._refreshValue();break;case"value":this._animateOff=true;this._refreshValue();this._change(null,0);this._animateOff=false;break;case"values":this._animateOff=true;this._refreshValue();for(d=0;d<g;d+=1){this._change(null,d)}this._animateOff=false;break}},_value:function(){var d=this.options.value;d=this._trimAlignValue(d);return d},_values:function(d){var g,f,e;if(arguments.length){g=this.options.values[d];g=this._trimAlignValue(g);return g}else{f=this.options.values.slice();for(e=0;e<f.length;e+=1){f[e]=this._trimAlignValue(f[e])}return f}},_trimAlignValue:function(g){if(g<=this._valueMin()){return this._valueMin()}if(g>=this._valueMax()){return this._valueMax()}var d=(this.options.step>0)?this.options.step:1,f=(g-this._valueMin())%d,e=g-f;if(Math.abs(f)*2>=d){e+=(f>0)?d:(-d)}return parseFloat(e.toFixed(5))},_valueMin:function(){return this.options.min},_valueMax:function(){return this.options.max},_refreshValue:function(){var g=this.options.range,f=this.options,p=this,e=(!this._animateOff)?f.animate:false,h,d={},k,m,l,n;if(this.options.values&&this.options.values.length){this.handles.each(function(q,o){h=(p.values(q)-p._valueMin())/(p._valueMax()-p._valueMin())*100;d[p.orientation==="horizontal"?"left":"bottom"]=h+"%";b(this).stop(1,1)[e?"animate":"css"](d,f.animate);if(p.options.range===true){if(p.orientation==="horizontal"){if(q===0){p.range.stop(1,1)[e?"animate":"css"]({left:h+"%"},f.animate)}if(q===1){p.range[e?"animate":"css"]({width:(h-k)+"%"},{queue:false,duration:f.animate})}}else{if(q===0){p.range.stop(1,1)[e?"animate":"css"]({bottom:(h)+"%"},f.animate)}if(q===1){p.range[e?"animate":"css"]({height:(h-k)+"%"},{queue:false,duration:f.animate})}}}k=h})}else{m=this.value();l=this._valueMin();n=this._valueMax();h=(n!==l)?(m-l)/(n-l)*100:0;d[p.orientation==="horizontal"?"left":"bottom"]=h+"%";this.handle.stop(1,1)[e?"animate":"css"](d,f.animate);if(g==="min"&&this.orientation==="horizontal"){this.range.stop(1,1)[e?"animate":"css"]({width:h+"%"},f.animate)}if(g==="max"&&this.orientation==="horizontal"){this.range[e?"animate":"css"]({width:(100-h)+"%"},{queue:false,duration:f.animate})}if(g==="min"&&this.orientation==="vertical"){this.range.stop(1,1)[e?"animate":"css"]({height:h+"%"},f.animate)}if(g==="max"&&this.orientation==="vertical"){this.range[e?"animate":"css"]({height:(100-h)+"%"},{queue:false,duration:f.animate})}}}});b.extend(b.ui.slider,{version:"1.8.16"})}(jQuery));
/*
 * jQuery Selectbox plugin 0.1.3
 *
 * Copyright 2011, Dimitar Ivanov (http://www.bulgaria-web-developers.com/projects/javascript/selectbox/)
 * Licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) license.
 * 
 * Date: Wed Jul 29 23:20:57 2011 +0200
 */
(function(d,f){var e="selectbox",c=false,b=true;function a(){this._state=[];this._defaults={classHolder:"sbHolder",classHolderDisabled:"sbHolderDisabled",classSelector:"sbSelector",classOptions:"sbOptions",classGroup:"sbGroup",classSub:"sbSub",classDisabled:"sbDisabled",classToggleOpen:"sbToggleOpen",classToggle:"sbToggle",speed:200,effect:"slide",onChange:null,onOpen:null,onClose:null}}d.extend(a.prototype,{_isOpenSelectbox:function(h){if(!h){return c}var g=this._getInst(h);return g.isOpen},_isDisabledSelectbox:function(h){if(!h){return c}var g=this._getInst(h);return g.isDisabled},_attachSelectbox:function(q,m){if(this._getInst(q)){return c}var l=d(q),x=this,o=x._newInst(l),n,v,k,t,y=c,w=l.find("optgroup"),h=l.find("option"),p=h.length;l.attr("sb",o.uid);d.extend(o.settings,x._defaults,m);x._state[o.uid]=c;l.hide();function g(){var z,s=this.attr("id").split("_")[1];for(z in x._state){if(z!==s){if(x._state.hasOwnProperty(z)){if(d(":input[sb='"+z+"']")[0]){x._closeSelectbox(d(":input[sb='"+z+"']")[0])}}}}}n=d("<div>",{id:"sbHolder_"+o.uid,"class":o.settings.classHolder});v=d("<a>",{id:"sbSelector_"+o.uid,href:"#","class":o.settings.classSelector,click:function(z){z.preventDefault();g.apply(d(this),[]);var s=d(this).attr("id").split("_")[1];if(x._state[s]){x._closeSelectbox(q)}else{x._openSelectbox(q)}}});k=d("<a>",{id:"sbToggle_"+o.uid,href:"#","class":o.settings.classToggle,click:function(z){z.preventDefault();g.apply(d(this),[]);var s=d(this).attr("id").split("_")[1];if(x._state[s]){x._closeSelectbox(q)}else{x._openSelectbox(q)}}});k.appendTo(n);t=d("<ul>",{id:"sbOptions_"+o.uid,"class":o.settings.classOptions,css:{display:"none"}});l.children().each(function(A){var B=d(this),s,z={};if(B.is("option")){u(B)}else{if(B.is("optgroup")){s=d("<li>");d("<span>",{text:B.attr("label")}).addClass(o.settings.classGroup).appendTo(s);s.appendTo(t);if(B.is(":disabled")){z.disabled=true}z.sub=true;u(B.find("option"),z)}}});function u(){var z=arguments[1]&&arguments[1].sub?true:false,s=arguments[1]&&arguments[1].disabled?true:false;arguments[0].each(function(B){var C=d(this),A=d("<li>"),D;if(C.is(":selected")){v.text(C.text());y=b}if(B===p-1){A.addClass("last")}if(!C.is(":disabled")&&!s){D=d("<a>",{href:"#"+C.val(),rel:C.val(),"class":"item-"+C.val(),text:C.text(),click:function(G){G.preventDefault();var F=k,E=F.attr("id").split("_")[1];x._changeSelectbox(q,d(this).attr("rel"),d(this).text());x._closeSelectbox(q)}});if(z){D.addClass(o.settings.classSub)}D.appendTo(A)}else{D=d("<span>",{text:C.text()}).addClass(o.settings.classDisabled);if(z){D.addClass(o.settings.classSub)}D.appendTo(A)}A.appendTo(t)})}if(!y){v.text(h.first().text())}d.data(q,e,o);v.appendTo(n);t.appendTo(n);n.insertAfter(l)},_detachSelectbox:function(h){var g=this._getInst(h);if(!g){return c}d("#sbHolder_"+g.uid).remove();d.data(h,e,null);d(h).show()},_changeSelectbox:function(l,k,m){var h=this._getInst(l),g=this._get(h,"onChange");d("#sbSelector_"+h.uid).text(m);d(l).find("option[value='"+k+"']").attr("selected",b);if(g){g.apply((h.input?h.input[0]:null),[k,h])}else{if(h.input){h.input.trigger("change")}}},_enableSelectbox:function(h){var g=this._getInst(h);if(!g||!g.isDisabled){return c}d("#sbHolder_"+g.uid).removeClass(g.settings.classHolderDisabled);g.isDisabled=c;d.data(h,e,g)},_disableSelectbox:function(h){var g=this._getInst(h);if(!g||g.isDisabled){return c}d("#sbHolder_"+g.uid).addClass(g.settings.classHolderDisabled);g.isDisabled=b;d.data(h,e,g)},_optionSelectbox:function(l,g,k){var h=this._getInst(l);if(!h){return c}h[g]=k;d.data(l,e,h)},_openSelectbox:function(o){var m=this._getInst(o);if(!m||m.isOpen||m.isDisabled){return}var h=d("#sbOptions_"+m.uid),n=parseInt(d(window).height(),10),l=d("#sbHolder_"+m.uid).offset(),g=d(window).scrollTop(),q=h.prev().height(),p=n-(l.top-g)-q/2,k=this._get(m,"onOpen");h.css({top:q+"px",maxHeight:(p-q)+"px"});m.settings.effect==="fade"?h.fadeIn(m.settings.speed):h.slideDown(m.settings.speed);d("#sbToggle_"+m.uid).addClass(m.settings.classToggleOpen);this._state[m.uid]=b;m.isOpen=b;if(k){k.apply((m.input?m.input[0]:null),[m])}d.data(o,e,m)},_closeSelectbox:function(k){var h=this._getInst(k);if(!h||!h.isOpen){return}var g=this._get(h,"onClose");h.settings.effect==="fade"?d("#sbOptions_"+h.uid).fadeOut(h.settings.speed):d("#sbOptions_"+h.uid).slideUp(h.settings.speed);d("#sbToggle_"+h.uid).removeClass(h.settings.classToggleOpen);this._state[h.uid]=c;h.isOpen=c;if(g){g.apply((h.input?h.input[0]:null),[h])}d.data(k,e,h)},_newInst:function(g){var h=g[0].id.replace(/([^A-Za-z0-9_-])/g,"\\\\$1");return{id:h,input:g,uid:Math.floor(Math.random()*99999999),isOpen:c,isDisabled:c,settings:{}}},_getInst:function(h){try{return d.data(h,e)}catch(g){throw"Missing instance data for this selectbox"}},_get:function(h,g){return h.settings[g]!==f?h.settings[g]:this._defaults[g]}});d.fn.selectbox=function(h){var g=Array.prototype.slice.call(arguments,1);if(typeof h=="string"&&h=="isDisabled"){return d.selectbox["_"+h+"Selectbox"].apply(d.selectbox,[this[0]].concat(g))}if(h=="option"&&arguments.length==2&&typeof arguments[1]=="string"){return d.selectbox["_"+h+"Selectbox"].apply(d.selectbox,[this[0]].concat(g))}return this.each(function(){typeof h=="string"?d.selectbox["_"+h+"Selectbox"].apply(d.selectbox,[this].concat(g)):d.selectbox._attachSelectbox(this,h)})};d.selectbox=new a();d.selectbox.version="0.1.3"})(jQuery);(function(b){var a=function(c){if(!c){var c=window.event}c.cancelBubble=true;if(c.stopPropagation){c.stopPropagation()}};b.fn.checkbox=function(c){try{document.execCommand("BackgroundImageCache",false,true)}catch(g){}var f={cls:"jquery-checkbox",empty:"empty.png"};f=b.extend(f,c||{});var d=function(e){var l=e.checked;var h=e.disabled;var k=b(e);if(e.stateInterval){clearInterval(e.stateInterval)}e.stateInterval=setInterval(function(){if(e.disabled!=h){k.trigger((h=!!e.disabled)?"disable":"enable")}if(e.checked!=l){k.trigger((l=!!e.checked)?"check":"uncheck")}},10);return k};return this.each(function(){var k=this;var h=d(k);if(k.wrapper){k.wrapper.remove()}k.wrapper=b('<span class="'+f.cls+'"><span class="mark"><img src="'+f.empty+'" /></span></span>');k.wrapperInner=k.wrapper.children("span:eq(0)");k.wrapper.hover(function(l){k.wrapperInner.addClass(f.cls+"-hover");a(l)},function(l){k.wrapperInner.removeClass(f.cls+"-hover");a(l)});h.css({position:"absolute",zIndex:-1,visibility:"hidden"}).after(k.wrapper);var e=false;if(h.attr("id")){e=b("label[for="+h.attr("id")+"]");if(!e.length){e=false}}if(!e){e=h.closest?h.closest("label"):h.parents("label:eq(0)");if(!e.length){e=false}}if(e){e.hover(function(l){k.wrapper.trigger("mouseover",[l])},function(l){k.wrapper.trigger("mouseout",[l])});e.click(function(l){h.trigger("click",[l]);a(l);return false})}k.wrapper.click(function(l){h.trigger("click",[l]);a(l);return false});h.click(function(l){a(l)});h.bind("disable",function(){k.wrapperInner.addClass(f.cls+"-disabled")}).bind("enable",function(){k.wrapperInner.removeClass(f.cls+"-disabled")});h.bind("check",function(){k.wrapper.addClass(f.cls+"-checked")}).bind("uncheck",function(){k.wrapper.removeClass(f.cls+"-checked")});b("img",k.wrapper).bind("dragstart",function(){return false}).bind("mousedown",function(){return false});if(window.getSelection){k.wrapper.css("MozUserSelect","none")}if(k.checked){k.wrapper.addClass(f.cls+"-checked")}if(k.disabled){k.wrapperInner.addClass(f.cls+"-disabled")}})}})(jQuery);$(function(){var a={sensitivity:3,interval:100,timeout:100,over:b,out:c};function b(d){$(this).addClass("sub-menu-active");if(d){$("ul:first",this).animate({height:"toggle"},250)}else{$("ul:first",this).css("display","block")}}function c(d){if(d){$("ul:first",this).animate({height:"toggle"},250,function(){$(this).parent().removeClass("sub-menu-active")})}else{$("ul:first",this).css("display","none")}}$("#nav .sub-menu").hoverIntent(a);$("#nav li ul li:has(ul)").find("a:first").append('<span class="icon sub-sub-menu"><!-- --></span>')});(function(a){a.fn.wtListRotator=function(c){var u="left";var L="right";var K=0;var p=1;var F="auto_adjust";var w="update_text";var n="update_buttons";var J="update_number";var z="show_scrollbar";var q="hide_scrollbar";var e="update_knob";var N={TL:0,TC:1,TR:2,BL:3,BC:4,BR:5};var M=0;var o={"block.top":M++,"block.right":M++,"block.bottom":M++,"block.left":M++,"block.drop":M++,"diag.fade":M++,"diag.exp":M++,"rev.diag.fade":M++,"rev.diag.exp":M++,"block.fade":M++,"block.exp":M++,"block.top.zz":M++,"block.bottom.zz":M++,"block.left.zz":M++,"block.right.zz":M++,"spiral.in":M++,"spiral.out":M++,"vert.tl":M++,"vert.tr":M++,"vert.bl":M++,"vert.br":M++,"fade.left":M++,"fade.right":M++,"alt.left":M++,"alt.right":M++,"blinds.left":M++,"blinds.right":M++,"horz.tl":M++,"horz.tr":M++,"horz.bl":M++,"horz.br":M++,"fade.top":M++,"fade.bottom":M++,"alt.top":M++,"alt.bottom":M++,"blinds.top":M++,"blinds.bottom":M++,none:M++,fade:M++,"h.slide":M++,"v.slide":M++,random:M++};var l={fade:0,down:1,right:2,up:3,left:4,none:5};var y=250;var C=75;var E=50;var d=5000;var v=800;var g=300;var I=600;var A=0.1;var D=4;var k=600;function b(R,Z,Y,ab,X,S,T){var U;var P;var W;var aa=null;var ac=function(){W=Math.ceil(Z/ab);if(W>y){ab=Math.ceil(Z/y);W=Math.ceil(Z/ab)}var ae="";for(var ad=0;ad<W;ad++){ae+="<div class='vpiece' id='"+ad+"'></div>"}R.addToScreen(ae);U=R.$el.find("div.vpiece");P=new Array(W);U.each(function(af){a(this).css({left:(af*ab),height:Y});P[af]=a(this)})};this.clear=function(){clearInterval(aa);U.stop(true).css({"z-index":2,opacity:0})};this.displayContent=function(ad,ae){O(ad,ae);Q(ad,ae)};var O=function(ad,ae){switch(ae){case o["vert.tl"]:case o["vert.tr"]:V(ad,-Y,1,ab,false);break;case o["vert.bl"]:case o["vert.br"]:V(ad,Y,1,ab,false);break;case o["alt.left"]:case o["alt.right"]:V(ad,0,1,ab,true);break;case o["blinds.left"]:case o["blinds.right"]:V(ad,0,1,0,false);break;default:V(ad,0,0,ab,false)}};var V=function(ad,aj,ak,af,ai){var am=ad.attr("src");var al=0;var ae=0;if(R.autoCenter()){al=(Y-ad.height())/2;ae=(Z-ad.width())/2}for(var ag=0;ag<W;ag++){var ah=((-ag*ab)+ae);if(ai){aj=(ag%2)==0?-Y:Y}a(U.get(ag)).css({background:X+" url('"+am+"') no-repeat",backgroundPosition:ah+"px "+al+"px",opacity:ak,top:aj,width:af,"z-index":3})}};var Q=function(af,ag){var ai,ae,ah,ad;switch(ag){case o["vert.tl"]:case o["vert.bl"]:case o["fade.left"]:case o["blinds.left"]:case o["alt.left"]:ai=0;ae=W-1;ah=1;break;default:ai=W-1;ae=0;ah=-1}aa=setInterval(function(){a(U.get(ai)).animate({top:0,opacity:1,width:ab},S,R.easing(),function(){if(a(this).attr("id")==ae){R.setComplete(af)}});if(ai==ae){clearInterval(aa)}ai+=ah},T)};ac()}function s(R,Z,Y,ab,X,S,T){var U;var P;var W;var aa=null;var ac=function(){W=Math.ceil(Y/ab);if(W>y){ab=Math.ceil(Y/y);W=Math.ceil(Y/ab)}var ae="";for(var ad=0;ad<W;ad++){ae+="<div class='hpiece' id='"+ad+"'><!-- --></div>"}R.addToScreen(ae);U=R.$el.find("div.hpiece");P=new Array(W);U.each(function(af){a(this).css({top:(af*ab),width:Z});P[af]=a(this)})};this.clear=function(){clearInterval(aa);U.stop(true).css({"z-index":2,opacity:0})};this.displayContent=function(ad,ae){O(ad,ae);Q(ad,ae)};var O=function(ad,ae){switch(ae){case o["horz.tr"]:case o["horz.br"]:V(ad,Z,1,ab,false);break;case o["horz.tl"]:case o["horz.bl"]:V(ad,-Z,1,ab,false);break;case o["alt.top"]:case o["alt.bottom"]:V(ad,0,1,ab,true);break;case o["blinds.top"]:case o["blinds.bottom"]:V(ad,0,1,0,false);break;default:V(ad,0,0,ab,false)}};var V=function(ad,ag,aj,al,ai){var am=ad.attr("src");var ak=0;var ae=0;if(R.autoCenter()){ak=(Y-ad.height())/2;ae=(Z-ad.width())/2}for(var ah=0;ah<W;ah++){var af=((-ah*ab)+ak);if(ai){ag=(ah%2)==0?-Z:Z}a(U.get(ah)).css({background:X+" url('"+am+"') no-repeat",backgroundPosition:ae+"px "+af+"px",opacity:aj,left:ag,height:al,"z-index":3})}};var Q=function(ae,af){var ah,ad,ag;switch(af){case o["horz.tl"]:case o["horz.tr"]:case o["fade.top"]:case o["blinds.top"]:case o["alt.top"]:ah=0;ad=W-1;ag=1;break;default:ah=W-1;ad=0;ag=-1}aa=setInterval(function(){a(U.get(ah)).animate({left:0,opacity:1,height:ab},S,R.easing(),function(){if(a(this).attr("id")==ad){R.setComplete(ae)}});if(ah==ad){clearInterval(aa)}ah+=ag},T)};ac()}function t(Y,Z,U,aa,X,O,ah){var W;var P;var ab;var T;var V;var aj;var ai;var ag=function(){T=Math.ceil(U/aa);V=Math.ceil(Z/aa);aj=T*V;if(aj>y){aa=Math.ceil(Math.sqrt((U*Z)/y));T=Math.ceil(U/aa);V=Math.ceil(Z/aa);aj=T*V}var an="";for(var am=0;am<T;am++){for(var al=0;al<V;al++){an+="<div class='block' id='"+am+"-"+al+"'></div>"}}Y.addToScreen(an);P=Y.$el.find("div.block");P.data({tlId:"0-0",trId:"0-"+(V-1),blId:(T-1)+"-0",brId:(T-1)+"-"+(V-1)});var ak=0;ab=new Array(aj);W=new Array(T);for(var am=0;am<T;am++){W[am]=new Array(V);for(var al=0;al<V;al++){W[am][al]=ab[ak++]=P.filter("#"+(am+"-"+al)).data("top",am*aa)}}};this.clear=function(){clearInterval(ai);P.stop(true).css({"z-index":2,opacity:0})};this.displayContent=function(ak,al){switch(al){case o["diag.fade"]:ad(ak,0,aa,0);ae(ak,{opacity:1},false);break;case o["diag.exp"]:ad(ak,0,0,0);ae(ak,{opacity:1,width:aa,height:aa},false);break;case o["rev.diag.fade"]:ad(ak,0,aa,0);ae(ak,{opacity:1},true);break;case o["rev.diag.exp"]:ad(ak,0,0,0);ae(ak,{opacity:1,width:aa,height:aa},true);break;case o["block.fade"]:ad(ak,0,aa,0);Q(ak);break;case o["block.exp"]:ad(ak,1,0,0);Q(ak);break;case o["block.drop"]:ad(ak,1,aa,-(T*aa));Q(ak);break;case o["block.top.zz"]:case o["block.bottom.zz"]:ad(ak,0,aa,0);S(ak,al);break;case o["block.left.zz"]:case o["block.right.zz"]:ad(ak,0,aa,0);ac(ak,al);break;case o["spiral.in"]:ad(ak,0,aa,0);af(ak,false);break;case o["spiral.out"]:ad(ak,0,aa,0);af(ak,true);break;default:ad(ak,1,0,0);R(ak,al)}};var ad=function(ak,aq,av,ap){var ar=0;var am=0;if(Y.autoCenter()){ar=(U-ak.height())/2;am=(Z-ak.width())/2}var at=ak.attr("src");for(var ao=0;ao<T;ao++){for(var an=0;an<V;an++){var au=((-ao*aa)+ar);var al=((-an*aa)+am);W[ao][an].css({background:X+" url('"+at+"') no-repeat",backgroundPosition:al+"px "+au+"px",opacity:aq,top:(ao*aa)+ap,left:(an*aa),width:av,height:av,"z-index":3})}}};var ae=function(ak,at,ap){var ar=new Array(aj);var al,ao,am,an;var au=(T-1)+(V-1);if(ap){al=au;ao=-1;am=-1;an=P.data("tlId")}else{al=0;ao=au+1;am=1;an=P.data("brId")}var aq=0;while(al!=ao){i=Math.min(T-1,al);while(i>=0){j=Math.abs(i-al);if(j>=V){break}ar[aq++]=W[i][j];i--}al+=am}aq=0;ai=setInterval(function(){ar[aq++].animate(at,O,Y.easing(),function(){if(a(this).attr("id")==an){Y.setComplete(ak)}});if(aq==aj){clearInterval(ai)}},ah)};var ac=function(an,ao){var am=true;var al=0,ak,aq,ap;if(ao==o["block.left.zz"]){ap=(V%2==0)?P.data("trId"):P.data("brId");ak=0;aq=1}else{ap=(V%2==0)?P.data("tlId"):P.data("blId");ak=V-1;aq=-1}ai=setInterval(function(){W[al][ak].animate({opacity:1},O,Y.easing(),function(){if(a(this).attr("id")==ap){Y.setComplete(an)}});if(W[al][ak].attr("id")==ap){clearInterval(ai)}(am?al++:al--);if(al==T||al<0){am=!am;al=(am?0:T-1);ak+=aq}},ah)};var S=function(an,ao){var am=true;var al,ak=0,aq,ap;if(ao==o["block.top.zz"]){ap=(T%2==0)?P.data("blId"):P.data("brId");al=0;aq=1}else{ap=(T%2==0)?P.data("tlId"):P.data("trId");al=T-1;aq=-1}ai=setInterval(function(){W[al][ak].animate({opacity:1},O,Y.easing(),function(){if(a(this).attr("id")==ap){Y.setComplete(an)}});if(W[al][ak].attr("id")==ap){clearInterval(ai)}(am?ak++:ak--);if(ak==V||ak<0){am=!am;ak=(am?0:V-1);al+=aq}},ah)};var R=function(am,an){var ap=new Array(aj);var aq;var ao=0;switch(an){case o["block.left"]:aq=P.data("brId");for(var ak=0;ak<V;ak++){for(var al=0;al<T;al++){ap[ao++]=W[al][ak]}}break;case o["block.right"]:aq=P.data("blId");for(var ak=V-1;ak>=0;ak--){for(var al=0;al<T;al++){ap[ao++]=W[al][ak]}}break;case o["block.top"]:aq=P.data("brId");for(var al=0;al<T;al++){for(var ak=0;ak<V;ak++){ap[ao++]=W[al][ak]}}break;default:aq=P.data("trId");for(var al=T-1;al>=0;al--){for(var ak=0;ak<V;ak++){ap[ao++]=W[al][ak]}}}ao=0;ai=setInterval(function(){ap[ao++].animate({width:aa,height:aa},O,Y.easing(),function(){if(a(this).attr("id")==aq){Y.setComplete(am)}});if(ao==aj){clearInterval(ai)}},ah)};var Q=function(al){m(ab);var ak=0;count=0;ai=setInterval(function(){ab[ak].animate({top:ab[ak].data("top"),width:aa,height:aa,opacity:1},O,Y.easing(),function(){if(++count==aj){Y.setComplete(al)}});ak++;if(ak==aj){clearInterval(ai)}},ah)};var af=function(ak,at){var ar=0,aq=0;var aw=T-1;var ax=V-1;var am=0;var ap=ax;var av=new Array();while(aw>=0&&ax>=0){var au=0;while(true){av[av.length]=W[ar][aq];if((++au)>ap){break}switch(am){case 0:aq++;break;case 1:ar++;break;case 2:aq--;break;case 3:ar--}}switch(am){case 0:am=1;ap=(--aw);ar++;break;case 1:am=2;ap=(--ax);aq--;break;case 2:am=3;ap=(--aw);ar--;break;case 3:am=0;ap=(--ax);aq++}}if(av.length>0){if(at){av.reverse()}var ao=av.length-1;var al=av[ao].attr("id");var an=0;ai=setInterval(function(){av[an].animate({opacity:1},O,Y.easing(),function(){if(a(this).attr("id")==al){Y.setComplete(ak)}});if(an==ao){clearInterval(ai)}an++},ah)}};ag()}function H(bS,bL){var aG=h(bL.screen_width,600);var bF=h(bL.screen_height,300);var at=h(bL.item_width,250);var bA=h(bL.item_height,75);var bc=h(bL.item_display,4);var a5=bL.auto_start;var aM=h(bL.transition_speed,v);var bQ=bL.transition.toLowerCase();var bp=bL.easing;var bj=bL.scroll_type.toLowerCase();var am=bL.display_arrow;var R=bL.display_thumbs;var ax=bL.display_scrollbar;var Z=bL.display_playbutton;var aA=bL.display_number;var ak=bL.display_timer;var aO=bL.text_effect.toLowerCase();var bN=bL.text_sync;var aN=bL.play_once;var ag=bL.list_align.toLowerCase();var aC=bL.move_one;var ac=bL.auto_center;var bO=bL.text_mouseover;var ai=bL.pause_mouseover;var aR=bL.cpanel_mouseover;var aw;var aJ;var U;var aF;var bd;var a6;var bB;var S;var X;var a8;var bk;var aE;var ah;var bw;var bM;var bv;var aB;var br;var ba;var ar;var av;var bg;var bs;var bl;var a0;var bT;var Y;var aL;var a9;var ae;var P;var Q;var bq;var af;var aa;var au;var aK;var ao;var ap;var T;this.$el=bS;this.init=function(){av=bS.find(".l-rotator");bg=av.find(".screen");bl=av.find(".thumbnails");a0=bl.find(">ul:first");bT=a0.find(">li");aB=br=ba=false;bC(o[bQ]);bM=null;bv=null;aJ=0;U=-1;aw=bT.size();bB=0;a6=aw-bc;aF=0;bd=a6;a7();bn();a2();if(bO){av.hover(aq,az)}else{av.bind(w,bo)}av.css({width:aG+at,height:bl.height()>bF?bl.height():bF});if(ai){av.hover(a4,al)}var bU=bg.css("background-color");if(ba){X=new b(this,aG,bF,h(bL.vert_size,E),bU,aM,h(bL.vstripe_delay,90))}if(br){a8=new s(this,aG,bF,h(bL.horz_size,E),bU,aM,h(bL.hstripe_delay,180))}if(aB){bk=new t(this,aG,bF,h(bL.block_size,C),bU,aM,h(bL.block_delay,35))}bt(0);aY(aJ)};this.setComplete=function(bU){O(bU)};this.addToScreen=function(bU){aL.append(bU)};this.autoCenter=function(){return ac};this.easing=function(){return bp};var a7=function(){var bU="<div id='preloader'></div>								<div id='timer'></div>							   	<div class='textbox'>							   		<div class='inner-bg'></div>									<div class='inner-text'></div>							   	</div>							   	<div class='cpanel'>							   		<div id='play-btn'></div>									<div id='num-info'></div>								</div>";bg.append(bU).css({width:aG,height:bF});P=bg.find("#preloader");aQ();a9=bg.find(".textbox");ae=a9.find(".inner-text");bs=a("<div id='strip'></div>");if(bQ=="h.slide"){bg.append(bs);bs.css({width:2*aG,height:bF});bT.removeAttr("effect")}else{if(bQ=="v.slide"){bg.append(bs);bs.css({width:aG,height:2*bF});bT.removeAttr("effect")}else{aL=a("<a href='#'></a>");bg.append(aL)}}bK()};var aQ=function(){Y=bg.find("#timer").data("pct",1);if(ak){Y.css("top",bL.timer_align.toLowerCase()=="top"?0:bF-Y.height()).css("visibility","visible")}else{Y.hide()}};var bK=function(){Q=bg.find(".cpanel");if(!aA&&!Z){Q.remove();return}af=Q.find("#num-info");if(aA){var bV=G(aw);var bW="";for(var bU=0;bU<bV;bU++){bW+="0"}bW+=" / "+bW;af.html(bW).width(af.width()).html("");av.bind(J,function(){af.html((aJ+1)+" / "+aw)})}else{af.remove()}bq=Q.find("#play-btn");if(Z){bq.click(an).toggleClass("pause",a5)}else{bq.remove()}switch(N[bL.cpanel_align.toUpperCase()]){case N.TL:Q.css({top:0,left:0});break;case N.TC:Q.css({top:0,left:Math.floor((aG-Q.outerWidth(true))/2)});break;case N.TR:Q.css({top:0,left:aG-Q.outerWidth(true)});break;case N.BL:Q.css({top:bF-Q.outerHeight(true),left:0});break;case N.BC:Q.css({top:bF-Q.outerHeight(true),left:Math.floor((aG-Q.outerWidth(true))/2)});break;default:Q.css({top:bF-Q.outerHeight(true),left:aG-Q.outerWidth(true)})}if(aR){Q.css("display","none");av.hover(bb,aT)}Q.css("visibility","visible")};var bb=function(){Q.stop(true,true).fadeIn(g)};var aT=function(){Q.stop(true,true).fadeOut(g)};var bn=function(){var bV=h(bL.delay,d);var bU=ae.outerHeight()-ae.height();bT.each(function(bY){var bX=a(this).find(">a:first");var bW=o[a(this).attr("effect")];if(bW==undefined||bW==o["h.slide"]||bW==o["v.slide"]){bW=o[bQ]}else{bC(bW)}a(this).data({imgurl:bX.attr("href"),delay:h(a(this).attr("delay"),bV),effect:bW});bD(a(this),bU)});ae.html("").css({width:"auto",height:"auto"});a9.css("visibility","visible");if(bL.shuffle){W()}bT.hover(function(){if(aJ!=a(this).index()){a(this).addClass("item-over")}},function(){a(this).removeClass("item-over")});au=bT.find(">div.thumb");au.css(ag==u?{"float":"left","border-right-width":1}:{"float":"right","border-left-width":1});au.css({width:at-(au.outerWidth()-au.width()),height:bA-(au.outerHeight()-au.height())}).mousedown(ay);if(!R){au.find(">img:first").hide()}};var a2=function(){var bU=0;if(am){aa=a("<div>&nbsp;&nbsp;&nbsp;</div>").attr("id",ag==L?"left-arrow":"right-arrow").height(bA);a(bT.get(0)).append(aa);bU=aa.width()}else{bT.addClass("square")}bT.css({width:at+bU,height:bA});bl.click(aP);aE=a0.height()-bl.height();switch(bj){case"mouse_click":bx();aK.click(aS).find("#up-btn").css("cursor","pointer");ao.click(aW).find("#down-btn").css("cursor","pointer");break;case"mouse_over":bx();aK.hover(bJ,aI);ao.hover(aX,aI);break;case"mouse_move":bl.mousemove(ad);break;default:aC=true;bT.bind("click",be)}if(ax&&aE>0){bi()}if(bL.auto_adjust){av.bind(F,aj);bl.hover(function(){av.unbind(F)},function(){av.bind(F,aj)})}};var bi=function(){bl.append("<div id='scrollbar'><div id='knob'></div></div>");ap=bl.find("#scrollbar");T=ap.find("#knob");ap.css("left",ag==u?0:bl.width()-ap.width());T.height(Math.floor((bc/aw)*ap.height()));var bU=ap.height()-T.height();var bV=bU/aE;ap.data({range:bU,ratio:bV});av.bind(z,function(){ap.stop(true,true).fadeIn(g)}).bind(q,function(){ap.stop(true,true).fadeOut(g)}).bind(e,function(){T.stop(true).animate({top:Math.round(-bB*bV)},bw)});ap.hide().css("visibility","visible")};var bx=function(){bl.append("<div class='btn-pane'><div id='up-btn'></div></div>								    <div class='btn-pane'><div id='down-btn'></div></div>");var bU=bl.find(".btn-pane");bU.css({opacity:0,width:at});bU.hover(bR,a3);if(am&&ag==L){bU.css("left",aa.width())}aK=bU.has("#up-btn");ao=bU.has("#down-btn");ao.css("top",bl.height()-ao.height());bU.css("visibility","visible");av.bind(n,ab).trigger(n)};var bR=function(){a(this).stop(true,true).animate({opacity:1},g)};var a3=function(){a(this).stop(true,true).animate({opacity:0},g)};var ab=function(){bB<0?aK.stop(true,true).fadeIn(g):aK.stop(true,true).fadeOut(g);bB>-aE?ao.stop(true,true).fadeIn(g):ao.stop(true,true).fadeOut(g)};var aS=function(){if(bd<a6){var bU=aC?1:Math.min(a6-bd,bc);bd+=bU;aF-=bU;bE()}return false};var aW=function(){if(aF<a6){var bU=aC?1:Math.min(a6-aF,bc);aF+=bU;bd-=bU;bE()}return false};var be=function(){var bU=(a(this).index()-aF)%bc;if(bU+1==bc){aW()}else{if(bU==0){aS()}}};var bJ=function(){ao.stop(true,true).fadeIn(g);av.trigger(z);bw=-a0.stop(true).position().top*D;a0.animate({top:0},bw,function(){aK.stop(true,true).fadeOut(g);av.trigger(q)});T.stop(true).animate({top:0},bw)};var aX=function(){aK.stop(true,true).fadeIn(g);av.trigger(z);bw=(aE+a0.stop(true).position().top)*D;a0.animate({top:-aE},bw,function(){ao.stop(true,true).fadeOut(g);av.trigger(q)});T.stop(true).animate({top:ap.data("range")},bw)};var aI=function(){a0.stop(true);try{T.stop(true)}catch(bU){}av.trigger(q)};var ad=function(bV){var bU=Math.round(((bV.pageY-bl.offset().top)/bl.height())*100)/100;ah=-Math.round(aE*bU);if(bM==null&&ah!=a0.position().top){aI();av.trigger(z);bM=setInterval(aZ,30)}};var aZ=function(){var bW=a0.stop(true).position().top;if(bW==ah){aH();av.trigger(q)}else{var bU=(ah-bW)*A;bB+=bU<0?Math.min(-1,Math.round(bU)):Math.max(1,Math.round(bU));try{T.css("top",Math.round(-bB*ap.data("ratio")))}catch(bV){}}};var aH=function(){clearInterval(bM);bM=null};var aj=function(){if(bM==null){var bU=Math.min(aJ,a6);aF=bU;bd=a6-aF;bE()}};var bE=function(){bB=-aF*bT.outerHeight();bw=Math.min(k,Math.abs(a0.position().top-bB)*D);if(bw>0){av.trigger(z)}av.trigger(e)};var bD=function(bU,bW){var bV=bU.find(">div:hidden");var bY=h(parseInt(bV.css("width"))-bW,300);var bX=h(parseInt(bV.css("height"))-bW,0);ae.width(bY).html(bV.html());if(bX<ae.height()){bX=ae.height()}bU.data("textbox",{x:bV.css("left"),y:bV.css("top"),w:bY+bW,h:bX+bW+1,color:bV.css("color"),bgcolor:bV.css("background-color")})};var aP=function(bW){var bU=a(bW.target);if(bU[0].nodeName!="LI"){bU=bU.parents("li").eq(0)}var bV=bU.index();if(bV>=0&&bV!=aJ){ar=bV<aJ?K:p;by();U=aJ;aJ=bV;aY(aJ)}return false};var bG=function(){by();ar=p;U=aJ;aJ=aJ<aw-1?aJ+1:0;aY(aJ)};var an=function(){a5=!a5;a(this).toggleClass("pause",a5);a5?bf():V();return false};var aU=function(bU){if(bU==aw-1){a5=false;bq.toggleClass("pause",a5)}};var al=function(){a5=true;bq.toggleClass("pause",a5);bf()};var a4=function(){a5=false;bq.toggleClass("pause",a5);V()};var bo=function(bV){if(!a9.data("visible")){a9.data("visible",true);var bW=a(bT.get(aJ)).find(">div:hidden").html();if(bW&&bW.length>0){var bU=a(bT.get(aJ)).data("textbox");ae.css("color",bU.color);a9.find(".inner-bg").css({"background-color":bU.bgcolor,height:bU.h-1});switch(l[aO]){case l.fade:bh(bW,bU);break;case l.down:bz(bW,bU,{width:bU.w,height:0},{height:bU.h});break;case l.right:bz(bW,bU,{width:0,height:bU.h},{width:bU.w});break;case l.left:bz(bW,bU,{"margin-left":bU.w,width:0,height:bU.h},{width:bU.w,"margin-left":0});break;case l.up:bz(bW,bU,{"margin-top":bU.h,height:0,width:bU.w},{height:bU.h,"margin-top":0});break;default:bP(bW,bU)}}}};var bH=function(){a9.data("visible",false).stop(true,true);switch(l[aO]){case l.fade:case l.down:case l.left:case l.up:case l.right:if(jQuery.browser.msie){ae.css("opacity",0)}a9.fadeOut(I,function(){a(this).css("display","none")});break;default:a9.css("display","none")}};var bh=function(bV,bU){ae.css("opacity",1).html(bV);a9.css({top:bU.y,left:bU.x,width:bU.w,height:bU.h}).stop(true,true).fadeIn(I,function(){if(jQuery.browser.msie){ae[0].style.removeAttribute("filter")}})};var bz=function(bX,bW,bV,bU){ae.css("opacity",1).html("");a9.stop(true,true).css({display:"block",top:bW.y,left:bW.x,"margin-top":0,"margin-left":0}).css(bV).animate(bU,I,function(){ae.html(bX)})};var bP=function(bV,bU){a9.stop(true).css({display:"block",top:bU.y,left:bU.x,width:bU.w,height:bU.h});ae.html(bV)};var aq=function(){av.unbind(w).bind(w,bo).trigger(w)};var az=function(){av.unbind(w);bH()};var aY=function(bW){av.trigger(F).trigger(J);if(aN){aU(bW)}var bY=a(bT.get(bW));bT.filter(".selected").removeClass("selected");bY.removeClass("item-over").addClass("selected").append(aa);S=bY.data("delay");bH();if(!bN){av.trigger(w)}if(aL){var bX=a(bY.find(">a").get(1));var bU=bX.attr("href");if(bU){aL.unbind("click",ay).css("cursor","pointer").attr({href:bU,target:bX.attr("target")})}else{aL.click(ay).css("cursor","default")}}if(bY.data("img")){P.hide();a1(bY.data("img"))}else{var bV=a("<img class='main-img'/>");bV.load(function(){P.hide();bI(bY,a(this));a1(a(this))}).error(function(){alert("Error loading image")});P.show();bV.attr("src",bY.data("imgurl"))}};var a1=function(bU){if(ba){X.clear();aD()}if(br){a8.clear();aD()}if(aB){bk.clear();aD()}var bV=a(bT.get(aJ)).data("effect");if(bV==o.none||bV==undefined){O(bU);return}else{if(bV==o.fade){bu(bU);return}else{if(bV==o["h.slide"]){bm(bU,"left",aG);return}else{if(bV==o["v.slide"]){bm(bU,"top",bF);return}}}}if(bV==o.random){bV=Math.floor(Math.random()*(M-5))}if(bV<=o["spiral.out"]){bk.displayContent(bU,bV)}else{if(bV<=o["blinds.right"]){X.displayContent(bU,bV)}else{a8.displayContent(bU,bV)}}};var aD=function(){if(U>=0){var bV=aL.find("img#curr-img").attr("src");var bW=a(bT.get(U)).data("imgurl");if(bV!=bW){aL.find("img.main-img").attr("id","").hide();var bU=aL.find("img.main-img").filter(function(){return a(this).attr("src")==bW});a(bU.get(0)).show()}}};var O=function(bU){if(bN){av.trigger(w)}aL.find("img.main-img").attr("id","").hide();bU.attr("id","curr-img").show();bf()};var bu=function(bU){aL.find("img#curr-img").stop(true,true);aL.find("img.main-img").attr("id","").css("z-index",0);bU.attr("id","curr-img").stop(true,true).css({opacity:0,"z-index":1}).show().animate({opacity:1},aM,bp,function(){aL.find("img.main-img:not('#curr-img')").hide();if(bN){av.trigger(w)}bf()})};var bm=function(bY,b0,bX){bs.stop(true,true);var bU=a("#curr-img",bs);if(bU.size()>0){bs.find(".main-img").attr("id","").parents(".content-box").css({top:0,left:0});bY.attr("id","curr-img").parents(".content-box").show();var bW,bV;if(ar==K){bs.css(b0,-bX);bW=bU;bV=0}else{bW=bY;bV=-bX}bW.parents(".content-box").css(b0,bX);var bZ=(b0=="top")?{top:bV}:{left:bV};bs.stop(true,true).animate(bZ,aM,bp,function(){bs.find(".main-img:not('#curr-img')").parents(".content-box").hide();bW.parents(".content-box").css({top:0,left:0});bs.css({top:0,left:0});if(bN){av.trigger(w)}bf()})}else{bs.css({top:0,left:0});bs.find(".main-img").parents(".content-box").hide().css({top:0,left:0});bY.attr("id","curr-img").parents(".content-box").show();if(bN){av.trigger(w)}bf()}};var bt=function(bV){try{var bU=a(bT.get(bV));var bX=a("<img class='main-img'/>");bX.load(function(){if(!bU.data("img")){bI(bU,a(this))}bV++;if(bV<aw){bt(bV)}}).error(function(){bV++;if(bV<aw){bt(bV)}});bX.attr("src",bU.data("imgurl"))}catch(bW){}};var bI=function(bW,bX){if(bQ=="h.slide"||bQ=="v.slide"){bs.append(bX);aV(bX);var bU=a("<div class='content-box'></div>").css({width:aG,height:bF});bX.wrap(bU);bX.css("display","block");var bV=a(bW.find(">a").get(1));if(bV){bX.wrap(bV)}}else{aL.append(bX);aV(bX)}bW.data("img",bX)};var aV=function(bX){if(ac&&bX.width()>0&&bX.height()>0){var b0=(bF-bX.height())/2;var bW=(aG-bX.width())/2;var bZ=0,bY=0,bV=0,bU=0;if(b0>0){bV=b0}else{if(b0<0){bZ=b0}}if(bW>0){bU=bW}else{if(bW<0){bY=bW}}bX.css({top:bZ,left:bY,"padding-top":bV,"padding-bottom":bV,"padding-left":bU,"padding-right":bU})}};var bf=function(){if(a5&&bv==null){var bU=Math.round(Y.data("pct")*S);Y.animate({width:aG+1},bU,"linear");bv=setTimeout(bG,bU)}};var by=function(){clearTimeout(bv);bv=null;Y.stop(true).width(0).data("pct",1)};var V=function(){clearTimeout(bv);bv=null;Y.stop(true).data("pct",1-(Y.width()/(aG+1)))};var W=function(){var bX=new Array(aw);for(var bW=0;bW<aw;bW++){bX[bW]=a(bT.get(bW)).clone(true)}for(var bW=0;bW<aw;bW++){var bU=Math.floor(Math.random()*aw);var bV=bX[bW];bX[bW]=bX[bU];bX[bU]=bV}for(var bW=0;bW<aw;bW++){a(bT.get(bW)).replaceWith(bX[bW])}bT=a0.find(">li")};var bC=function(bU){if(bU==o.random){aB=br=ba=true}else{if(bU<=o["spiral.out"]){aB=true}else{if(bU<=o["blinds.right"]){ba=true}else{if(bU<=o["blinds.bottom"]){br=true}}}}};var ay=function(){return false}}var h=function(O,P){if(!isNaN(O)&&O>0){return O}return P};var f=function(O,P){if(!isNaN(O)&&O>=0){return O}return P};var m=function(O){var S=O.length;for(var R=0;R<S;R++){var P=Math.floor(Math.random()*S);var Q=O[R];O[R]=O[P];O[P]=Q}};var G=function(O){var P=1;O=Math.abs(O);O=parseInt(O/10);while(O>0){P++;O=parseInt(O/10)}return P};var B={screen_width:600,screen_height:300,item_width:250,item_height:75,item_display:4,list_align:u,scroll_type:"mouse_move",auto_start:true,delay:d,transition:"fade",transition_speed:v,easing:"",auto_center:true,display_playbutton:true,display_number:true,display_timer:true,display_arrow:true,display_thumbs:true,display_scrollbar:true,pause_mouseover:false,cpanel_mouseover:true,text_mouseover:false,text_effect:"down",text_sync:true,cpanel_align:"TR",timer_align:"bottom",move_one:false,auto_adjust:true,shuffle:false,play_once:false,block_size:C,vert_size:E,horz_size:E,block_delay:35,vstripe_delay:90,hstripe_delay:180};var x=a.extend({},B,c);return this.each(function(){var O=new H(a(this),x);O.init()})}})(jQuery);$(document).ready(function(){$(".blank").attr("target","_blank");$(".numeric li, .square li").each(function(){var b=$(this).html();$(this).html("<span>"+b+"</span>")});if($(".widget.shop").length){var a=$(".widget.shop .product").find(".name").attr("href");$(".widget.shop .product").click(function(){window.location=a})}if($("#sklep").length){$(".products .item").each(function(){var b=$(this).find(".add-to-cart").attr("href");$(this).click(function(){window.location=b})})}if($(".widget.calculator").length){$("#game, #localisation").selectbox();$("input:radio").checkbox({empty:"images/empty.png"});$(".period").slider({range:"min",value:1,min:miesiace_min,max:miesiace_max,slide:function(c,d){if(d.value==1){var b=" miesiąc"}else{if(d.value==2||d.value==3||d.value==4){var b=" miesiące"}else{var b=" miesięcy"}}serverCalculatorChanged();$("#period-value").text(d.value+b);$("#period").val(d.value)},animate:true});$(".slots").slider({range:"min",value:10,min:sloty_min,max:sloty_max,slide:function(b,c){serverCalculatorChanged();$("#slots-value").text(c.value);$("#slots").val(c.value)},animate:true})}if($(".hover-effect, .hover-effect-half").length){$(".hover-effect, .hover-effect-half").hoverIntent(function(){$(this).children(".hover").animate({opacity:1})},function(){if($(this).is(".hover-effect-half")){$(this).children(".hover").animate({opacity:0.5})}else{$(this).children(".hover").animate({opacity:0})}})}$("#header #panel .toggle").toggle(function(){$(this).parent().animate({top:"0"},500,"easeOutExpo")},function(){$(this).parent().animate({top:"-93"},500,"easeOutExpo")});$("#slider").wtListRotator({screen_width:980,screen_height:300,item_width:306,item_height:50,item_display:3,list_align:"left",auto_start:true,scroll_type:"none",delay:10000,transition:"h.slide",transition_speed:500,display_playbutton:false,display_number:false,display_timer:true,display_arrow:true,display_thumbs:false,display_scrollbar:false,pause_mouseover:false,cpanel_mouseover:false,text_mouseover:false,timer_align:"bottom",auto_adjust:true,shuffle:false,play_once:false,block_size:100,vert_size:100,horz_size:100,block_delay:20,vstripe_delay:90,hstripe_delay:180});if($("#gmap").length){loadGMap()}if($(".table.alternately").length){$(".table.alternately tr:nth-child(even)").addClass("even")}if($("#banery").length){$(".textarea-banner").click(function(){var b=$(this);b.focus();b.select();if(!document.all){return}r=b.createTextRange();r.execCommand("copy")})}});

