Skip to content

Instantly share code, notes, and snippets.

@BlackScorp
Created May 14, 2013 08:42
Show Gist options
  • Save BlackScorp/5574560 to your computer and use it in GitHub Desktop.
Save BlackScorp/5574560 to your computer and use it in GitHub Desktop.
/*
* jQuery JavaScript Library v1.6.2
* http://jquery.com/
*
* Copyright 2011, John Resig
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
* Includes Sizzle.js
* http://sizzlejs.com/
* Copyright 2011, The Dojo Foundation
* Released under the MIT, BSD, and GPL Licenses.
*
* Date: Thu Jun 30 14:16:56 2011 -0400
*/
(function(ba,L){var ar=ba.document,bs=ba.navigator,bj=ba.location;var b=(function(){var bD=function(bY,bZ){return new bD.fn.init(bY,bZ,bB)},bT=ba.jQuery,bF=ba.$,bB,bX=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,bL=/\S/,bH=/^\s+/,bC=/\s+$/,bG=/\d/,by=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,bM=/^[\],:{}\s]*$/,bV=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,bO=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,bI=/(?:^|:|,)(?:\s*\[)+/g,bw=/(webkit)[ \/]([\w.]+)/,bQ=/(opera)(?:.*version)?[ \/]([\w.]+)/,bP=/(msie) ([\w.]+)/,bR=/(mozilla)(?:.*? rv:([\w.]+))?/,bz=/-([a-z])/ig,bS=function(bY,bZ){return bZ.toUpperCase()},bW=bs.userAgent,bU,bA,e,bK=Object.prototype.toString,bE=Object.prototype.hasOwnProperty,bx=Array.prototype.push,bJ=Array.prototype.slice,bN=String.prototype.trim,bt=Array.prototype.indexOf,bv={};bD.fn=bD.prototype={constructor:bD,init:function(bY,b2,b1){var b0,b3,bZ,b4;if(!bY){return this}if(bY.nodeType){this.context=this[0]=bY;this.length=1;return this}if(bY==="body"&&!b2&&ar.body){this.context=ar;this[0]=ar.body;this.selector=bY;this.length=1;return this}if(typeof bY==="string"){if(bY.charAt(0)==="<"&&bY.charAt(bY.length-1)===">"&&bY.length>=3){b0=[null,bY,null]}else{b0=bX.exec(bY)}if(b0&&(b0[1]||!b2)){if(b0[1]){b2=b2 instanceof bD?b2[0]:b2;b4=(b2?b2.ownerDocument||b2:ar);bZ=by.exec(bY);if(bZ){if(bD.isPlainObject(b2)){bY=[ar.createElement(bZ[1])];bD.fn.attr.call(bY,b2,true)}else{bY=[b4.createElement(bZ[1])]}}else{bZ=bD.buildFragment([b0[1]],[b4]);bY=(bZ.cacheable?bD.clone(bZ.fragment):bZ.fragment).childNodes}return bD.merge(this,bY)}else{b3=ar.getElementById(b0[2]);if(b3&&b3.parentNode){if(b3.id!==b0[2]){return b1.find(bY)}this.length=1;this[0]=b3}this.context=ar;this.selector=bY;return this}}else{if(!b2||b2.jquery){return(b2||b1).find(bY)}else{return this.constructor(b2).find(bY)}}}else{if(bD.isFunction(bY)){return b1.ready(bY)}}if(bY.selector!==L){this.selector=bY.selector;this.context=bY.context}return bD.makeArray(bY,this)},selector:"",jquery:"1.6.2",length:0,size:function(){return this.length},toArray:function(){return bJ.call(this,0)},get:function(bY){return bY==null?this.toArray():(bY<0?this[this.length+bY]:this[bY])},pushStack:function(bZ,b1,bY){var b0=this.constructor();if(bD.isArray(bZ)){bx.apply(b0,bZ)}else{bD.merge(b0,bZ)}b0.prevObject=this;b0.context=this.context;if(b1==="find"){b0.selector=this.selector+(this.selector?" ":"")+bY}else{if(b1){b0.selector=this.selector+"."+b1+"("+bY+")"}}return b0},each:function(bZ,bY){return bD.each(this,bZ,bY)},ready:function(bY){bD.bindReady();bA.done(bY);return this},eq:function(bY){return bY===-1?this.slice(bY):this.slice(bY,+bY+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(bJ.apply(this,arguments),"slice",bJ.call(arguments).join(","))},map:function(bY){return this.pushStack(bD.map(this,function(b0,bZ){return bY.call(b0,bZ,b0)}))},end:function(){return this.prevObject||this.constructor(null)},push:bx,sort:[].sort,splice:[].splice};bD.fn.init.prototype=bD.fn;bD.extend=bD.fn.extend=function(){var b7,b0,bY,bZ,b4,b5,b3=arguments[0]||{},b2=1,b1=arguments.length,b6=false;if(typeof b3==="boolean"){b6=b3;b3=arguments[1]||{};b2=2}if(typeof b3!=="object"&&!bD.isFunction(b3)){b3={}}if(b1===b2){b3=this;--b2}for(;b2<b1;b2++){if((b7=arguments[b2])!=null){for(b0 in b7){bY=b3[b0];bZ=b7[b0];if(b3===bZ){continue}if(b6&&bZ&&(bD.isPlainObject(bZ)||(b4=bD.isArray(bZ)))){if(b4){b4=false;b5=bY&&bD.isArray(bY)?bY:[]}else{b5=bY&&bD.isPlainObject(bY)?bY:{}}b3[b0]=bD.extend(b6,b5,bZ)}else{if(bZ!==L){b3[b0]=bZ}}}}}return b3};bD.extend({noConflict:function(bY){if(ba.$===bD){ba.$=bF}if(bY&&ba.jQuery===bD){ba.jQuery=bT}return bD},isReady:false,readyWait:1,holdReady:function(bY){if(bY){bD.readyWait++}else{bD.ready(true)}},ready:function(bY){if((bY===true&&!--bD.readyWait)||(bY!==true&&!bD.isReady)){if(!ar.body){return setTimeout(bD.ready,1)}bD.isReady=true;if(bY!==true&&--bD.readyWait>0){return}bA.resolveWith(ar,[bD]);if(bD.fn.trigger){bD(ar).trigger("ready").unbind("ready")}}},bindReady:function(){if(bA){return}bA=bD._Deferred();if(ar.readyState==="complete"){return setTimeout(bD.ready,1)}if(ar.addEventListener){ar.addEventListener("DOMContentLoaded",e,false);ba.addEventListener("load",bD.ready,false)}else{if(ar.attachEvent){ar.attachEvent("onreadystatechange",e);ba.attachEvent("onload",bD.ready);var bY=false;try{bY=ba.frameElement==null}catch(bZ){}if(ar.documentElement.doScroll&&bY){bu()}}}},isFunction:function(bY){return bD.type(bY)==="function"},isArray:Array.isArray||function(bY){return bD.type(bY)==="array"},isWindow:function(bY){return bY&&typeof bY==="object"&&"setInterval" in bY},isNaN:function(bY){return bY==null||!bG.test(bY)||isNaN(bY)},type:function(bY){return bY==null?String(bY):bv[bK.call(bY)]||"object"},isPlainObject:function(bZ){if(!bZ||bD.type(bZ)!=="object"||bZ.nodeType||bD.isWindow(bZ)){return false}if(bZ.constructor&&!bE.call(bZ,"constructor")&&!bE.call(bZ.constructor.prototype,"isPrototypeOf")){return false}var bY;for(bY in bZ){}return bY===L||bE.call(bZ,bY)},isEmptyObject:function(bZ){for(var bY in bZ){return false}return true},error:function(bY){throw bY},parseJSON:function(bY){if(typeof bY!=="string"||!bY){return null}bY=bD.trim(bY);if(ba.JSON&&ba.JSON.parse){return ba.JSON.parse(bY)}if(bM.test(bY.replace(bV,"@").replace(bO,"]").replace(bI,""))){return(new Function("return "+bY))()}bD.error("Invalid JSON: "+bY)},parseXML:function(b0,bY,bZ){if(ba.DOMParser){bZ=new DOMParser();bY=bZ.parseFromString(b0,"text/xml")}else{bY=new ActiveXObject("Microsoft.XMLDOM");bY.async="false";bY.loadXML(b0)}bZ=bY.documentElement;if(!bZ||!bZ.nodeName||bZ.nodeName==="parsererror"){bD.error("Invalid XML: "+b0)}return bY},noop:function(){},globalEval:function(bY){if(bY&&bL.test(bY)){(ba.execScript||function(bZ){ba["eval"].call(ba,bZ)})(bY)}},camelCase:function(bY){return bY.replace(bz,bS)},nodeName:function(bZ,bY){return bZ.nodeName&&bZ.nodeName.toUpperCase()===bY.toUpperCase()},each:function(b1,b4,b0){var bZ,b2=0,b3=b1.length,bY=b3===L||bD.isFunction(b1);if(b0){if(bY){for(bZ in b1){if(b4.apply(b1[bZ],b0)===false){break}}}else{for(;b2<b3;){if(b4.apply(b1[b2++],b0)===false){break}}}}else{if(bY){for(bZ in b1){if(b4.call(b1[bZ],bZ,b1[bZ])===false){break}}}else{for(;b2<b3;){if(b4.call(b1[b2],b2,b1[b2++])===false){break}}}}return b1},trim:bN?function(bY){return bY==null?"":bN.call(bY)}:function(bY){return bY==null?"":bY.toString().replace(bH,"").replace(bC,"")},makeArray:function(b1,bZ){var bY=bZ||[];if(b1!=null){var b0=bD.type(b1);if(b1.length==null||b0==="string"||b0==="function"||b0==="regexp"||bD.isWindow(b1)){bx.call(bY,b1)}else{bD.merge(bY,b1)}}return bY},inArray:function(b0,b1){if(bt){return bt.call(b1,b0)}for(var bY=0,bZ=b1.length;bY<bZ;bY++){if(b1[bY]===b0){return bY}}return -1},merge:function(b2,b0){var b1=b2.length,bZ=0;if(typeof b0.length==="number"){for(var bY=b0.length;bZ<bY;bZ++){b2[b1++]=b0[bZ]}}else{while(b0[bZ]!==L){b2[b1++]=b0[bZ++]}}b2.length=b1;return b2},grep:function(bZ,b4,bY){var b0=[],b3;bY=!!bY;for(var b1=0,b2=bZ.length;b1<b2;b1++){b3=!!b4(bZ[b1],b1);if(bY!==b3){b0.push(bZ[b1])}}return b0},map:function(bY,b5,b6){var b3,b4,b2=[],b0=0,bZ=bY.length,b1=bY instanceof bD||bZ!==L&&typeof bZ==="number"&&((bZ>0&&bY[0]&&bY[bZ-1])||bZ===0||bD.isArray(bY));if(b1){for(;b0<bZ;b0++){b3=b5(bY[b0],b0,b6);if(b3!=null){b2[b2.length]=b3}}}else{for(b4 in bY){b3=b5(bY[b4],b4,b6);if(b3!=null){b2[b2.length]=b3}}}return b2.concat.apply([],b2)},guid:1,proxy:function(b2,b1){if(typeof b1==="string"){var b0=b2[b1];b1=b2;b2=b0}if(!bD.isFunction(b2)){return L}var bY=bJ.call(arguments,2),bZ=function(){return b2.apply(b1,bY.concat(bJ.call(arguments)))};bZ.guid=b2.guid=b2.guid||bZ.guid||bD.guid++;return bZ},access:function(bY,b6,b4,b0,b3,b5){var bZ=bY.length;if(typeof b6==="object"){for(var b1 in b6){bD.access(bY,b1,b6[b1],b0,b3,b4)}return bY}if(b4!==L){b0=!b5&&b0&&bD.isFunction(b4);for(var b2=0;b2<bZ;b2++){b3(bY[b2],b6,b0?b4.call(bY[b2],b2,b3(bY[b2],b6)):b4,b5)}return bY}return bZ?b3(bY[0],b6):L},now:function(){return(new Date()).getTime()},uaMatch:function(bZ){bZ=bZ.toLowerCase();var bY=bw.exec(bZ)||bQ.exec(bZ)||bP.exec(bZ)||bZ.indexOf("compatible")<0&&bR.exec(bZ)||[];return{browser:bY[1]||"",version:bY[2]||"0"}},sub:function(){function bY(b1,b2){return new bY.fn.init(b1,b2)}bD.extend(true,bY,this);bY.superclass=this;bY.fn=bY.prototype=this();bY.fn.constructor=bY;bY.sub=this.sub;bY.fn.init=function b0(b1,b2){if(b2&&b2 instanceof bD&&!(b2 instanceof bY)){b2=bY(b2)}return bD.fn.init.call(this,b1,b2,bZ)};bY.fn.init.prototype=bY.fn;var bZ=bY(ar);return bY},browser:{}});bD.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(bZ,bY){bv["[object "+bY+"]"]=bY.toLowerCase()});bU=bD.uaMatch(bW);if(bU.browser){bD.browser[bU.browser]=true;bD.browser.version=bU.version}if(bD.browser.webkit){bD.browser.safari=true}if(bL.test("\xA0")){bH=/^[\s\xA0]+/;bC=/[\s\xA0]+$/}bB=bD(ar);if(ar.addEventListener){e=function(){ar.removeEventListener("DOMContentLoaded",e,false);bD.ready()}}else{if(ar.attachEvent){e=function(){if(ar.readyState==="complete"){ar.detachEvent("onreadystatechange",e);bD.ready()}}}}function bu(){if(bD.isReady){return}try{ar.documentElement.doScroll("left")}catch(bY){setTimeout(bu,1);return}bD.ready()}return bD})();var a="done fail isResolved isRejected promise then always pipe".split(" "),aG=[].slice;b.extend({_Deferred:function(){var bv=[],bw,bt,bu,e={done:function(){if(!bu){var by=arguments,bz,bC,bB,bA,bx;if(bw){bx=bw;bw=0}for(bz=0,bC=by.length;bz<bC;bz++){bB=by[bz];bA=b.type(bB);if(bA==="array"){e.done.apply(e,bB)}else{if(bA==="function"){bv.push(bB)}}}if(bx){e.resolveWith(bx[0],bx[1])}}return this},resolveWith:function(by,bx){if(!bu&&!bw&&!bt){bx=bx||[];bt=1;try{while(bv[0]){bv.shift().apply(by,bx)}}finally{bw=[by,bx];bt=0}}return this},resolve:function(){e.resolveWith(this,arguments);return this},isResolved:function(){return !!(bt||bw)},cancel:function(){bu=1;bv=[];return this}};return e},Deferred:function(bt){var e=b._Deferred(),bv=b._Deferred(),bu;b.extend(e,{then:function(bx,bw){e.done(bx).fail(bw);return this},always:function(){return e.done.apply(e,arguments).fail.apply(this,arguments)},fail:bv.done,rejectWith:bv.resolveWith,reject:bv.resolve,isRejected:bv.isResolved,pipe:function(bx,bw){return b.Deferred(function(by){b.each({done:[bx,"resolve"],fail:[bw,"reject"]},function(bA,bD){var bz=bD[0],bC=bD[1],bB;if(b.isFunction(bz)){e[bA](function(){bB=bz.apply(this,arguments);if(bB&&b.isFunction(bB.promise)){bB.promise().then(by.resolve,by.reject)}else{by[bC](bB)}})}else{e[bA](by[bC])}})}).promise()},promise:function(bx){if(bx==null){if(bu){return bu}bu=bx={}}var bw=a.length;while(bw--){bx[a[bw]]=e[a[bw]]}return bx}});e.done(bv.cancel).fail(e.cancel);delete e.cancel;if(bt){bt.call(e,e)}return e},when:function(by){var bt=arguments,bu=0,bx=bt.length,bw=bx,e=bx<=1&&by&&b.isFunction(by.promise)?by:b.Deferred();function bv(bz){return function(bA){bt[bz]=arguments.length>1?aG.call(arguments,0):bA;if(!(--bw)){e.resolveWith(e,aG.call(bt,0))}}}if(bx>1){for(;bu<bx;bu++){if(bt[bu]&&b.isFunction(bt[bu].promise)){bt[bu].promise().then(bv(bu),e.reject)}else{--bw}}if(!bw){e.resolveWith(e,bt)}}else{if(e!==by){e.resolveWith(e,bx?[by]:[])}}return e.promise()}});b.support=(function(){var bD=ar.createElement("div"),bK=ar.documentElement,bw,bL,bE,bu,bC,bx,bA,bt,bB,bF,bz,bJ,bH,bv,by,bG,bM;bD.setAttribute("className","t");bD.innerHTML=" <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/>";bw=bD.getElementsByTagName("*");bL=bD.getElementsByTagName("a")[0];if(!bw||!bw.length||!bL){return{}}bE=ar.createElement("select");bu=bE.appendChild(ar.createElement("option"));bC=bD.getElementsByTagName("input")[0];bA={leadingWhitespace:(bD.firstChild.nodeType===3),tbody:!bD.getElementsByTagName("tbody").length,htmlSerialize:!!bD.getElementsByTagName("link").length,style:/top/.test(bL.getAttribute("style")),hrefNormalized:(bL.getAttribute("href")==="/a"),opacity:/^0.55$/.test(bL.style.opacity),cssFloat:!!bL.style.cssFloat,checkOn:(bC.value==="on"),optSelected:bu.selected,getSetAttribute:bD.className!=="t",submitBubbles:true,changeBubbles:true,focusinBubbles:false,deleteExpando:true,noCloneEvent:true,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableMarginRight:true};bC.checked=true;bA.noCloneChecked=bC.cloneNode(true).checked;bE.disabled=true;bA.optDisabled=!bu.disabled;try{delete bD.test}catch(bI){bA.deleteExpando=false}if(!bD.addEventListener&&bD.attachEvent&&bD.fireEvent){bD.attachEvent("onclick",function(){bA.noCloneEvent=false});bD.cloneNode(true).fireEvent("onclick")}bC=ar.createElement("input");bC.value="t";bC.setAttribute("type","radio");bA.radioValue=bC.value==="t";bC.setAttribute("checked","checked");bD.appendChild(bC);bt=ar.createDocumentFragment();bt.appendChild(bD.firstChild);bA.checkClone=bt.cloneNode(true).cloneNode(true).lastChild.checked;bD.innerHTML="";bD.style.width=bD.style.paddingLeft="1px";bB=ar.getElementsByTagName("body")[0];bz=ar.createElement(bB?"div":"body");bJ={visibility:"hidden",width:0,height:0,border:0,margin:0};if(bB){b.extend(bJ,{position:"absolute",left:-1000,top:-1000})}for(bG in bJ){bz.style[bG]=bJ[bG]}bz.appendChild(bD);bF=bB||bK;bF.insertBefore(bz,bF.firstChild);bA.appendChecked=bC.checked;bA.boxModel=bD.offsetWidth===2;if("zoom" in bD.style){bD.style.display="inline";bD.style.zoom=1;bA.inlineBlockNeedsLayout=(bD.offsetWidth===2);bD.style.display="";bD.innerHTML="<div style='width:4px;'></div>";bA.shrinkWrapBlocks=(bD.offsetWidth!==2)}bD.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>";bH=bD.getElementsByTagName("td");bM=(bH[0].offsetHeight===0);bH[0].style.display="";bH[1].style.display="none";bA.reliableHiddenOffsets=bM&&(bH[0].offsetHeight===0);bD.innerHTML="";if(ar.defaultView&&ar.defaultView.getComputedStyle){bx=ar.createElement("div");bx.style.width="0";bx.style.marginRight="0";bD.appendChild(bx);bA.reliableMarginRight=(parseInt((ar.defaultView.getComputedStyle(bx,null)||{marginRight:0}).marginRight,10)||0)===0}bz.innerHTML="";bF.removeChild(bz);if(bD.attachEvent){for(bG in {submit:1,change:1,focusin:1}){by="on"+bG;bM=(by in bD);if(!bM){bD.setAttribute(by,"return;");bM=(typeof bD[by]==="function")}bA[bG+"Bubbles"]=bM}}bz=bt=bE=bu=bB=bx=bD=bC=null;return bA})();b.boxModel=b.support.boxModel;var aN=/^(?:\{.*\}|\[.*\])$/,ax=/([a-z])([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&&!U(e)},data:function(bv,bt,bx,bw){if(!b.acceptData(bv)){return}var bA=b.expando,bz=typeof bt==="string",by,bB=bv.nodeType,e=bB?b.cache:bv,bu=bB?bv[b.expando]:bv[b.expando]&&b.expando;if((!bu||(bw&&bu&&!e[bu][bA]))&&bz&&bx===L){return}if(!bu){if(bB){bv[b.expando]=bu=++b.uuid}else{bu=b.expando}}if(!e[bu]){e[bu]={};if(!bB){e[bu].toJSON=b.noop}}if(typeof bt==="object"||typeof bt==="function"){if(bw){e[bu][bA]=b.extend(e[bu][bA],bt)}else{e[bu]=b.extend(e[bu],bt)}}by=e[bu];if(bw){if(!by[bA]){by[bA]={}}by=by[bA]}if(bx!==L){by[b.camelCase(bt)]=bx}if(bt==="events"&&!by[bt]){return by[bA]&&by[bA].events}return bz?by[b.camelCase(bt)]||by[bt]:by},removeData:function(bw,bu,bx){if(!b.acceptData(bw)){return}var bz=b.expando,bA=bw.nodeType,bt=bA?b.cache:bw,bv=bA?bw[b.expando]:b.expando;if(!bt[bv]){return}if(bu){var by=bx?bt[bv][bz]:bt[bv];if(by){delete by[bu];if(!U(by)){return}}}if(bx){delete bt[bv][bz];if(!U(bt[bv])){return}}var e=bt[bv][bz];if(b.support.deleteExpando||bt!=ba){delete bt[bv]}else{bt[bv]=null}if(e){bt[bv]={};if(!bA){bt[bv].toJSON=b.noop}bt[bv][bz]=e}else{if(bA){if(b.support.deleteExpando){delete bw[b.expando]}else{if(bw.removeAttribute){bw.removeAttribute(b.expando)}else{bw[b.expando]=null}}}}},_data:function(bt,e,bu){return b.data(bt,e,bu,true)},acceptData:function(bt){if(bt.nodeName){var e=b.noData[bt.nodeName.toLowerCase()];if(e){return !(e===true||bt.getAttribute("classid")!==e)}}return true}});b.fn.extend({data:function(bw,by){var bx=null;if(typeof bw==="undefined"){if(this.length){bx=b.data(this[0]);if(this[0].nodeType===1){var e=this[0].attributes,bu;for(var bv=0,bt=e.length;bv<bt;bv++){bu=e[bv].name;if(bu.indexOf("data-")===0){bu=b.camelCase(bu.substring(5));a3(this[0],bu,bx[bu])}}}}return bx}else{if(typeof bw==="object"){return this.each(function(){b.data(this,bw)})}}var bz=bw.split(".");bz[1]=bz[1]?"."+bz[1]:"";if(by===L){bx=this.triggerHandler("getData"+bz[1]+"!",[bz[0]]);if(bx===L&&this.length){bx=b.data(this[0],bw);bx=a3(this[0],bw,bx)}return bx===L&&bz[1]?this.data(bz[0]):bx}else{return this.each(function(){var bB=b(this),bA=[bz[0],by];bB.triggerHandler("setData"+bz[1]+"!",bA);b.data(this,bw,by);bB.triggerHandler("changeData"+bz[1]+"!",bA)})}},removeData:function(e){return this.each(function(){b.removeData(this,e)})}});function a3(bv,bu,bw){if(bw===L&&bv.nodeType===1){var bt="data-"+bu.replace(ax,"$1-$2").toLowerCase();bw=bv.getAttribute(bt);if(typeof bw==="string"){try{bw=bw==="true"?true:bw==="false"?false:bw==="null"?null:!b.isNaN(bw)?parseFloat(bw):aN.test(bw)?b.parseJSON(bw):bw}catch(bx){}b.data(bv,bu,bw)}else{bw=L}}return bw}function U(bt){for(var e in bt){if(e!=="toJSON"){return false}}return true}function bf(bw,bv,by){var bu=bv+"defer",bt=bv+"queue",e=bv+"mark",bx=b.data(bw,bu,L,true);if(bx&&(by==="queue"||!b.data(bw,bt,L,true))&&(by==="mark"||!b.data(bw,e,L,true))){setTimeout(function(){if(!b.data(bw,bt,L,true)&&!b.data(bw,e,L,true)){b.removeData(bw,bu,true);bx.resolve()}},0)}}b.extend({_mark:function(bt,e){if(bt){e=(e||"fx")+"mark";b.data(bt,e,(b.data(bt,e,L,true)||0)+1,true)}},_unmark:function(bw,bv,bt){if(bw!==true){bt=bv;bv=bw;bw=false}if(bv){bt=bt||"fx";var e=bt+"mark",bu=bw?0:((b.data(bv,e,L,true)||1)-1);if(bu){b.data(bv,e,bu,true)}else{b.removeData(bv,e,true);bf(bv,bt,"mark")}}},queue:function(bt,e,bv){if(bt){e=(e||"fx")+"queue";var bu=b.data(bt,e,L,true);if(bv){if(!bu||b.isArray(bv)){bu=b.data(bt,e,b.makeArray(bv),true)}else{bu.push(bv)}}return bu||[]}},dequeue:function(bv,bu){bu=bu||"fx";var e=b.queue(bv,bu),bt=e.shift(),bw;if(bt==="inprogress"){bt=e.shift()}if(bt){if(bu==="fx"){e.unshift("inprogress")}bt.call(bv,function(){b.dequeue(bv,bu)})}if(!e.length){b.removeData(bv,bu+"queue",true);bf(bv,bu,"queue")}}});b.fn.extend({queue:function(e,bt){if(typeof e!=="string"){bt=e;e="fx"}if(bt===L){return b.queue(this[0],e)}return this.each(function(){var bu=b.queue(this,e,bt);if(e==="fx"&&bu[0]!=="inprogress"){b.dequeue(this,e)}})},dequeue:function(e){return this.each(function(){b.dequeue(this,e)})},delay:function(bt,e){bt=b.fx?b.fx.speeds[bt]||bt:bt;e=e||"fx";return this.queue(e,function(){var bu=this;setTimeout(function(){b.dequeue(bu,e)},bt)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(bB,bu){if(typeof bB!=="string"){bu=bB;bB=L}bB=bB||"fx";var e=b.Deferred(),bt=this,bw=bt.length,bz=1,bx=bB+"defer",by=bB+"queue",bA=bB+"mark",bv;function bC(){if(!(--bz)){e.resolveWith(bt,[bt])}}while(bw--){if((bv=b.data(bt[bw],bx,L,true)||(b.data(bt[bw],by,L,true)||b.data(bt[bw],bA,L,true))&&b.data(bt[bw],bx,b._Deferred(),true))){bz++;bv.done(bC)}}bC();return e.promise()}});var aL=/[\n\t\r]/g,ad=/\s+/,aP=/\r/g,g=/^(?:button|input)$/i,E=/^(?:button|input|object|select|textarea)$/i,m=/^a(?:rea)?$/i,al=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,a6=/\:|^on/,a1,aV;b.fn.extend({attr:function(e,bt){return b.access(this,e,bt,true,b.attr)},removeAttr:function(e){return this.each(function(){b.removeAttr(this,e)})},prop:function(e,bt){return b.access(this,e,bt,true,b.prop)},removeProp:function(e){e=b.propFix[e]||e;return this.each(function(){try{this[e]=L;delete this[e]}catch(bt){}})},addClass:function(bw){var by,bu,bt,bv,bx,bz,e;if(b.isFunction(bw)){return this.each(function(bA){b(this).addClass(bw.call(this,bA,this.className))})}if(bw&&typeof bw==="string"){by=bw.split(ad);for(bu=0,bt=this.length;bu<bt;bu++){bv=this[bu];if(bv.nodeType===1){if(!bv.className&&by.length===1){bv.className=bw}else{bx=" "+bv.className+" ";for(bz=0,e=by.length;bz<e;bz++){if(!~bx.indexOf(" "+by[bz]+" ")){bx+=by[bz]+" "}}bv.className=b.trim(bx)}}}}return this},removeClass:function(bx){var by,bu,bt,bw,bv,bz,e;if(b.isFunction(bx)){return this.each(function(bA){b(this).removeClass(bx.call(this,bA,this.className))})}if((bx&&typeof bx==="string")||bx===L){by=(bx||"").split(ad);for(bu=0,bt=this.length;bu<bt;bu++){bw=this[bu];if(bw.nodeType===1&&bw.className){if(bx){bv=(" "+bw.className+" ").replace(aL," ");for(bz=0,e=by.length;bz<e;bz++){bv=bv.replace(" "+by[bz]+" "," ")}bw.className=b.trim(bv)}else{bw.className=""}}}}return this},toggleClass:function(bv,bt){var bu=typeof bv,e=typeof bt==="boolean";if(b.isFunction(bv)){return this.each(function(bw){b(this).toggleClass(bv.call(this,bw,this.className,bt),bt)})}return this.each(function(){if(bu==="string"){var by,bx=0,bw=b(this),bz=bt,bA=bv.split(ad);while((by=bA[bx++])){bz=e?bz:!bw.hasClass(by);bw[bz?"addClass":"removeClass"](by)}}else{if(bu==="undefined"||bu==="boolean"){if(this.className){b._data(this,"__className__",this.className)}this.className=this.className||bv===false?"":b._data(this,"__className__")||""}}})},hasClass:function(e){var bv=" "+e+" ";for(var bu=0,bt=this.length;bu<bt;bu++){if((" "+this[bu].className+" ").replace(aL," ").indexOf(bv)>-1){return true}}return false},val:function(bv){var e,bt,bu=this[0];if(!arguments.length){if(bu){e=b.valHooks[bu.nodeName.toLowerCase()]||b.valHooks[bu.type];if(e&&"get" in e&&(bt=e.get(bu,"value"))!==L){return bt}bt=bu.value;return typeof bt==="string"?bt.replace(aP,""):bt==null?"":bt}return L}var bw=b.isFunction(bv);return this.each(function(by){var bx=b(this),bz;if(this.nodeType!==1){return}if(bw){bz=bv.call(this,by,bx.val())}else{bz=bv}if(bz==null){bz=""}else{if(typeof bz==="number"){bz+=""}else{if(b.isArray(bz)){bz=b.map(bz,function(bA){return bA==null?"":bA+""})}}}e=b.valHooks[this.nodeName.toLowerCase()]||b.valHooks[this.type];if(!e||!("set" in e)||e.set(this,bz,"value")===L){this.value=bz}})}});b.extend({valHooks:{option:{get:function(e){var bt=e.attributes.value;return !bt||bt.specified?e.value:e.text}},select:{get:function(e){var by,bw=e.selectedIndex,bz=[],bA=e.options,bv=e.type==="select-one";if(bw<0){return null}for(var bt=bv?bw:0,bx=bv?bw+1:bA.length;bt<bx;bt++){var bu=bA[bt];if(bu.selected&&(b.support.optDisabled?!bu.disabled:bu.getAttribute("disabled")===null)&&(!bu.parentNode.disabled||!b.nodeName(bu.parentNode,"optgroup"))){by=b(bu).val();if(bv){return by}bz.push(by)}}if(bv&&!bz.length&&bA.length){return b(bA[bw]).val()}return bz},set:function(bt,bu){var e=b.makeArray(bu);b(bt).find("option").each(function(){this.selected=b.inArray(b(this).val(),e)>=0});if(!e.length){bt.selectedIndex=-1}return e}}},attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attrFix:{tabindex:"tabIndex"},attr:function(by,bv,bz,bx){var bt=by.nodeType;if(!by||bt===3||bt===8||bt===2){return L}if(bx&&bv in b.attrFn){return b(by)[bv](bz)}if(!("getAttribute" in by)){return b.prop(by,bv,bz)}var bu,e,bw=bt!==1||!b.isXMLDoc(by);if(bw){bv=b.attrFix[bv]||bv;e=b.attrHooks[bv];if(!e){if(al.test(bv)){e=aV}else{if(a1&&bv!=="className"&&(b.nodeName(by,"form")||a6.test(bv))){e=a1}}}}if(bz!==L){if(bz===null){b.removeAttr(by,bv);return L}else{if(e&&"set" in e&&bw&&(bu=e.set(by,bz,bv))!==L){return bu}else{by.setAttribute(bv,""+bz);return bz}}}else{if(e&&"get" in e&&bw&&(bu=e.get(by,bv))!==null){return bu}else{bu=by.getAttribute(bv);return bu===null?L:bu}}},removeAttr:function(bt,e){var bu;if(bt.nodeType===1){e=b.attrFix[e]||e;if(b.support.getSetAttribute){bt.removeAttribute(e)}else{b.attr(bt,e,"");bt.removeAttributeNode(bt.getAttributeNode(e))}if(al.test(e)&&(bu=b.propFix[e]||e) in bt){bt[bu]=false}}},attrHooks:{type:{set:function(e,bt){if(g.test(e.nodeName)&&e.parentNode){b.error("type property can't be changed")}else{if(!b.support.radioValue&&bt==="radio"&&b.nodeName(e,"input")){var bu=e.value;e.setAttribute("type",bt);if(bu){e.value=bu}return bt}}}},tabIndex:{get:function(bt){var e=bt.getAttributeNode("tabIndex");return e&&e.specified?parseInt(e.value,10):E.test(bt.nodeName)||m.test(bt.nodeName)&&bt.href?0:L}},value:{get:function(bt,e){if(a1&&b.nodeName(bt,"button")){return a1.get(bt,e)}return e in bt?bt.value:null},set:function(bt,bu,e){if(a1&&b.nodeName(bt,"button")){return a1.set(bt,bu,e)}bt.value=bu}}},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(bx,bv,by){var bt=bx.nodeType;if(!bx||bt===3||bt===8||bt===2){return L}var bu,e,bw=bt!==1||!b.isXMLDoc(bx);if(bw){bv=b.propFix[bv]||bv;e=b.propHooks[bv]}if(by!==L){if(e&&"set" in e&&(bu=e.set(bx,by,bv))!==L){return bu}else{return(bx[bv]=by)}}else{if(e&&"get" in e&&(bu=e.get(bx,bv))!==L){return bu}else{return bx[bv]}}},propHooks:{}});aV={get:function(bt,e){return b.prop(bt,e)?e.toLowerCase():L},set:function(bt,bv,e){var bu;if(bv===false){b.removeAttr(bt,e)}else{bu=b.propFix[e]||e;if(bu in bt){bt[bu]=true}bt.setAttribute(e,e.toLowerCase())}return e}};if(!b.support.getSetAttribute){b.attrFix=b.propFix;a1=b.attrHooks.name=b.attrHooks.title=b.valHooks.button={get:function(bu,bt){var e;e=bu.getAttributeNode(bt);return e&&e.nodeValue!==""?e.nodeValue:L},set:function(bu,bv,bt){var e=bu.getAttributeNode(bt);if(e){e.nodeValue=bv;return bv}}};b.each(["width","height"],function(bt,e){b.attrHooks[e]=b.extend(b.attrHooks[e],{set:function(bu,bv){if(bv===""){bu.setAttribute(e,"auto");return bv}}})})}if(!b.support.hrefNormalized){b.each(["href","src","width","height"],function(bt,e){b.attrHooks[e]=b.extend(b.attrHooks[e],{get:function(bv){var bu=bv.getAttribute(e,2);return bu===null?L:bu}})})}if(!b.support.style){b.attrHooks.style={get:function(e){return e.style.cssText.toLowerCase()||L},set:function(e,bt){return(e.style.cssText=""+bt)}}}if(!b.support.optSelected){b.propHooks.selected=b.extend(b.propHooks.selected,{get:function(bt){var e=bt.parentNode;if(e){e.selectedIndex;if(e.parentNode){e.parentNode.selectedIndex}}}})}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,bt){if(b.isArray(bt)){return(e.checked=b.inArray(b(e).val(),bt)>=0)}}})});var aX=/\.(.*)$/,bc=/^(?:textarea|input|select)$/i,O=/\./g,bg=/ /g,aD=/[^\w\s.|`]/g,H=function(e){return e.replace(aD,"\\$&")};b.event={add:function(bv,bz,bE,bx){if(bv.nodeType===3||bv.nodeType===8){return}if(bE===false){bE=bi}else{if(!bE){return}}var bt,bD;if(bE.handler){bt=bE;bE=bt.handler}if(!bE.guid){bE.guid=b.guid++}var bA=b._data(bv);if(!bA){return}var bF=bA.events,by=bA.handle;if(!bF){bA.events=bF={}}if(!by){bA.handle=by=function(bG){return typeof b!=="undefined"&&(!bG||b.event.triggered!==bG.type)?b.event.handle.apply(by.elem,arguments):L}}by.elem=bv;bz=bz.split(" ");var bC,bw=0,e;while((bC=bz[bw++])){bD=bt?b.extend({},bt):{handler:bE,data:bx};if(bC.indexOf(".")>-1){e=bC.split(".");bC=e.shift();bD.namespace=e.slice(0).sort().join(".")}else{e=[];bD.namespace=""}bD.type=bC;if(!bD.guid){bD.guid=bE.guid}var bu=bF[bC],bB=b.event.special[bC]||{};if(!bu){bu=bF[bC]=[];if(!bB.setup||bB.setup.call(bv,bx,e,by)===false){if(bv.addEventListener){bv.addEventListener(bC,by,false)}else{if(bv.attachEvent){bv.attachEvent("on"+bC,by)}}}}if(bB.add){bB.add.call(bv,bD);if(!bD.handler.guid){bD.handler.guid=bE.guid}}bu.push(bD);b.event.global[bC]=true}bv=null},global:{},remove:function(bH,bC,bu,by){if(bH.nodeType===3||bH.nodeType===8){return}if(bu===false){bu=bi}var bK,bx,bz,bE,bF=0,bv,bA,bD,bw,bB,e,bJ,bG=b.hasData(bH)&&b._data(bH),bt=bG&&bG.events;if(!bG||!bt){return}if(bC&&bC.type){bu=bC.handler;bC=bC.type}if(!bC||typeof bC==="string"&&bC.charAt(0)==="."){bC=bC||"";for(bx in bt){b.event.remove(bH,bx+bC)}return}bC=bC.split(" ");while((bx=bC[bF++])){bJ=bx;e=null;bv=bx.indexOf(".")<0;bA=[];if(!bv){bA=bx.split(".");bx=bA.shift();bD=new RegExp("(^|\\.)"+b.map(bA.slice(0).sort(),H).join("\\.(?:.*\\.)?")+"(\\.|$)")}bB=bt[bx];if(!bB){continue}if(!bu){for(bE=0;bE<bB.length;bE++){e=bB[bE];if(bv||bD.test(e.namespace)){b.event.remove(bH,bJ,e.handler,bE);bB.splice(bE--,1)}}continue}bw=b.event.special[bx]||{};for(bE=by||0;bE<bB.length;bE++){e=bB[bE];if(bu.guid===e.guid){if(bv||bD.test(e.namespace)){if(by==null){bB.splice(bE--,1)}if(bw.remove){bw.remove.call(bH,e)}}if(by!=null){break}}}if(bB.length===0||by!=null&&bB.length===1){if(!bw.teardown||bw.teardown.call(bH,bA)===false){b.removeEvent(bH,bx,bG.handle)}bK=null;delete bt[bx]}}if(b.isEmptyObject(bt)){var bI=bG.handle;if(bI){bI.elem=null}delete bG.events;delete bG.handle;if(b.isEmptyObject(bG)){b.removeData(bH,L,true)}}},customEvent:{getData:true,setData:true,changeData:true},trigger:function(e,bz,bx,bE){var bC=e.type||e,bu=[],bt;if(bC.indexOf("!")>=0){bC=bC.slice(0,-1);bt=true}if(bC.indexOf(".")>=0){bu=bC.split(".");bC=bu.shift();bu.sort()}if((!bx||b.event.customEvent[bC])&&!b.event.global[bC]){return}e=typeof e==="object"?e[b.expando]?e:new b.Event(bC,e):new b.Event(bC);e.type=bC;e.exclusive=bt;e.namespace=bu.join(".");e.namespace_re=new RegExp("(^|\\.)"+bu.join("\\.(?:.*\\.)?")+"(\\.|$)");if(bE||!bx){e.preventDefault();e.stopPropagation()}if(!bx){b.each(b.cache,function(){var bG=b.expando,bF=this[bG];if(bF&&bF.events&&bF.events[bC]){b.event.trigger(e,bz,bF.handle.elem)}});return}if(bx.nodeType===3||bx.nodeType===8){return}e.result=L;e.target=bx;bz=bz!=null?b.makeArray(bz):[];bz.unshift(e);var bD=bx,bv=bC.indexOf(":")<0?"on"+bC:"";do{var bA=b._data(bD,"handle");e.currentTarget=bD;if(bA){bA.apply(bD,bz)}if(bv&&b.acceptData(bD)&&bD[bv]&&bD[bv].apply(bD,bz)===false){e.result=false;e.preventDefault()}bD=bD.parentNode||bD.ownerDocument||bD===e.target.ownerDocument&&ba}while(bD&&!e.isPropagationStopped());if(!e.isDefaultPrevented()){var bw,bB=b.event.special[bC]||{};if((!bB._default||bB._default.call(bx.ownerDocument,e)===false)&&!(bC==="click"&&b.nodeName(bx,"a"))&&b.acceptData(bx)){try{if(bv&&bx[bC]){bw=bx[bv];if(bw){bx[bv]=null}b.event.triggered=bC;bx[bC]()}}catch(by){}if(bw){bx[bv]=bw}b.event.triggered=L}}return e.result},handle:function(bz){bz=b.event.fix(bz||ba.event);var bt=((b._data(this,"events")||{})[bz.type]||[]).slice(0),by=!bz.exclusive&&!bz.namespace,bw=Array.prototype.slice.call(arguments,0);bw[0]=bz;bz.currentTarget=this;for(var bv=0,e=bt.length;bv<e;bv++){var bx=bt[bv];if(by||bz.namespace_re.test(bx.namespace)){bz.handler=bx.handler;bz.data=bx.data;bz.handleObj=bx;var bu=bx.handler.apply(this,bw);if(bu!==L){bz.result=bu;if(bu===false){bz.preventDefault();bz.stopPropagation()}}if(bz.isImmediatePropagationStopped()){break}}}return bz.result},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(bw){if(bw[b.expando]){return bw}var bt=bw;bw=b.Event(bt);for(var bu=this.props.length,by;bu;){by=this.props[--bu];bw[by]=bt[by]}if(!bw.target){bw.target=bw.srcElement||ar}if(bw.target.nodeType===3){bw.target=bw.target.parentNode}if(!bw.relatedTarget&&bw.fromElement){bw.relatedTarget=bw.fromElement===bw.target?bw.toElement:bw.fromElement}if(bw.pageX==null&&bw.clientX!=null){var bv=bw.target.ownerDocument||ar,bx=bv.documentElement,e=bv.body;bw.pageX=bw.clientX+(bx&&bx.scrollLeft||e&&e.scrollLeft||0)-(bx&&bx.clientLeft||e&&e.clientLeft||0);bw.pageY=bw.clientY+(bx&&bx.scrollTop||e&&e.scrollTop||0)-(bx&&bx.clientTop||e&&e.clientTop||0)}if(bw.which==null&&(bw.charCode!=null||bw.keyCode!=null)){bw.which=bw.charCode!=null?bw.charCode:bw.keyCode}if(!bw.metaKey&&bw.ctrlKey){bw.metaKey=bw.ctrlKey}if(!bw.which&&bw.button!==L){bw.which=(bw.button&1?1:(bw.button&2?3:(bw.button&4?2:0)))}return bw},guid:100000000,proxy:b.proxy,special:{ready:{setup:b.bindReady,teardown:b.noop},live:{add:function(e){b.event.add(this,q(e.origType,e.selector),b.extend({},e,{handler:aj,guid:e.handler.guid}))},remove:function(e){b.event.remove(this,q(e.origType,e.selector),e)}},beforeunload:{setup:function(bu,bt,e){if(b.isWindow(this)){this.onbeforeunload=e}},teardown:function(bt,e){if(this.onbeforeunload===e){this.onbeforeunload=null}}}}};b.removeEvent=ar.removeEventListener?function(bt,e,bu){if(bt.removeEventListener){bt.removeEventListener(e,bu,false)}}:function(bt,e,bu){if(bt.detachEvent){bt.detachEvent("on"+e,bu)}};b.Event=function(bt,e){if(!this.preventDefault){return new b.Event(bt,e)}if(bt&&bt.type){this.originalEvent=bt;this.type=bt.type;this.isDefaultPrevented=(bt.defaultPrevented||bt.returnValue===false||bt.getPreventDefault&&bt.getPreventDefault())?j:bi}else{this.type=bt}if(e){b.extend(this,e)}this.timeStamp=b.now();this[b.expando]=true};function bi(){return false}function j(){return true}b.Event.prototype={preventDefault:function(){this.isDefaultPrevented=j;var bt=this.originalEvent;if(!bt){return}if(bt.preventDefault){bt.preventDefault()}else{bt.returnValue=false}},stopPropagation:function(){this.isPropagationStopped=j;var bt=this.originalEvent;if(!bt){return}if(bt.stopPropagation){bt.stopPropagation()}bt.cancelBubble=true},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=j;this.stopPropagation()},isDefaultPrevented:bi,isPropagationStopped:bi,isImmediatePropagationStopped:bi};var ac=function(bu){var bv=bu.relatedTarget,e=false,bt=bu.type;bu.type=bu.data;if(bv!==this){if(bv){e=b.contains(this,bv)}if(!e){b.event.handle.apply(this,arguments);bu.type=bt}}},aS=function(e){e.type=e.data;b.event.handle.apply(this,arguments)};b.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(bt,e){b.event.special[bt]={setup:function(bu){b.event.add(this,e,bu&&bu.selector?aS:ac,bt)},teardown:function(bu){b.event.remove(this,e,bu&&bu.selector?aS:ac)}}});if(!b.support.submitBubbles){b.event.special.submit={setup:function(bt,e){if(!b.nodeName(this,"form")){b.event.add(this,"click.specialSubmit",function(bw){var bv=bw.target,bu=bv.type;if((bu==="submit"||bu==="image")&&b(bv).closest("form").length){aU("submit",this,arguments)}});b.event.add(this,"keypress.specialSubmit",function(bw){var bv=bw.target,bu=bv.type;if((bu==="text"||bu==="password")&&b(bv).closest("form").length&&bw.keyCode===13){aU("submit",this,arguments)}})}else{return false}},teardown:function(e){b.event.remove(this,".specialSubmit")}}}if(!b.support.changeBubbles){var bl,l=function(bt){var e=bt.type,bu=bt.value;if(e==="radio"||e==="checkbox"){bu=bt.checked}else{if(e==="select-multiple"){bu=bt.selectedIndex>-1?b.map(bt.options,function(bv){return bv.selected}).join("-"):""}else{if(b.nodeName(bt,"select")){bu=bt.selectedIndex}}}return bu},aa=function aa(bv){var bt=bv.target,bu,bw;if(!bc.test(bt.nodeName)||bt.readOnly){return}bu=b._data(bt,"_change_data");bw=l(bt);if(bv.type!=="focusout"||bt.type!=="radio"){b._data(bt,"_change_data",bw)}if(bu===L||bw===bu){return}if(bu!=null||bw){bv.type="change";bv.liveFired=L;b.event.trigger(bv,arguments[1],bt)}};b.event.special.change={filters:{focusout:aa,beforedeactivate:aa,click:function(bv){var bu=bv.target,bt=b.nodeName(bu,"input")?bu.type:"";if(bt==="radio"||bt==="checkbox"||b.nodeName(bu,"select")){aa.call(this,bv)}},keydown:function(bv){var bu=bv.target,bt=b.nodeName(bu,"input")?bu.type:"";if((bv.keyCode===13&&!b.nodeName(bu,"textarea"))||(bv.keyCode===32&&(bt==="checkbox"||bt==="radio"))||bt==="select-multiple"){aa.call(this,bv)}},beforeactivate:function(bu){var bt=bu.target;b._data(bt,"_change_data",l(bt))}},setup:function(bu,bt){if(this.type==="file"){return false}for(var e in bl){b.event.add(this,e+".specialChange",bl[e])}return bc.test(this.nodeName)},teardown:function(e){b.event.remove(this,".specialChange");return bc.test(this.nodeName)}};bl=b.event.special.change.filters;bl.focus=bl.beforeactivate}function aU(bt,bv,e){var bu=b.extend({},e[0]);bu.type=bt;bu.originalEvent={};bu.liveFired=L;b.event.handle.call(bv,bu);if(bu.isDefaultPrevented()){e[0].preventDefault()}}if(!b.support.focusinBubbles){b.each({focus:"focusin",blur:"focusout"},function(bv,e){var bt=0;b.event.special[e]={setup:function(){if(bt++===0){ar.addEventListener(bv,bu,true)}},teardown:function(){if(--bt===0){ar.removeEventListener(bv,bu,true)}}};function bu(bw){var bx=b.event.fix(bw);bx.type=e;bx.originalEvent={};b.event.trigger(bx,null,bx.target);if(bx.isDefaultPrevented()){bw.preventDefault()}}})}b.each(["bind","one"],function(bt,e){b.fn[e]=function(bz,bA,by){var bx;if(typeof bz==="object"){for(var bw in bz){this[e](bw,bA,bz[bw],by)}return this}if(arguments.length===2||bA===false){by=bA;bA=L}if(e==="one"){bx=function(bB){b(this).unbind(bB,bx);return by.apply(this,arguments)};bx.guid=by.guid||b.guid++}else{bx=by}if(bz==="unload"&&e!=="one"){this.one(bz,bA,by)}else{for(var bv=0,bu=this.length;bv<bu;bv++){b.event.add(this[bv],bz,bx,bA)}}return this}});b.fn.extend({unbind:function(bw,bv){if(typeof bw==="object"&&!bw.preventDefault){for(var bu in bw){this.unbind(bu,bw[bu])}}else{for(var bt=0,e=this.length;bt<e;bt++){b.event.remove(this[bt],bw,bv)}}return this},delegate:function(e,bt,bv,bu){return this.live(bt,bv,bu,e)},undelegate:function(e,bt,bu){if(arguments.length===0){return this.unbind("live")}else{return this.die(bt,null,bu,e)}},trigger:function(e,bt){return this.each(function(){b.event.trigger(e,bt,this)})},triggerHandler:function(e,bt){if(this[0]){return b.event.trigger(e,bt,this[0],true)}},toggle:function(bv){var bt=arguments,e=bv.guid||b.guid++,bu=0,bw=function(bx){var by=(b.data(this,"lastToggle"+bv.guid)||0)%bu;b.data(this,"lastToggle"+bv.guid,by+1);bx.preventDefault();return bt[by].apply(this,arguments)||false};bw.guid=e;while(bu<bt.length){bt[bu++].guid=e}return this.click(bw)},hover:function(e,bt){return this.mouseenter(e).mouseleave(bt||e)}});var aQ={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};b.each(["live","die"],function(bt,e){b.fn[e]=function(bD,bA,bF,bw){var bE,bB=0,bC,bv,bH,by=bw||this.selector,bu=bw?this:b(this.context);if(typeof bD==="object"&&!bD.preventDefault){for(var bG in bD){bu[e](bG,bA,bD[bG],by)}return this}if(e==="die"&&!bD&&bw&&bw.charAt(0)==="."){bu.unbind(bw);return this}if(bA===false||b.isFunction(bA)){bF=bA||bi;bA=L}bD=(bD||"").split(" ");while((bE=bD[bB++])!=null){bC=aX.exec(bE);bv="";if(bC){bv=bC[0];bE=bE.replace(aX,"")}if(bE==="hover"){bD.push("mouseenter"+bv,"mouseleave"+bv);continue}bH=bE;if(aQ[bE]){bD.push(aQ[bE]+bv);bE=bE+bv}else{bE=(aQ[bE]||bE)+bv}if(e==="live"){for(var bz=0,bx=bu.length;bz<bx;bz++){b.event.add(bu[bz],"live."+q(bE,by),{data:bA,selector:by,handler:bF,origType:bE,origHandler:bF,preType:bH})}}else{bu.unbind("live."+q(bE,by),bF)}}return this}});function aj(bD){var bA,bv,bJ,bx,e,bF,bC,bE,bB,bI,bz,by,bH,bG=[],bw=[],bt=b._data(this,"events");if(bD.liveFired===this||!bt||!bt.live||bD.target.disabled||bD.button&&bD.type==="click"){return}if(bD.namespace){by=new RegExp("(^|\\.)"+bD.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)")}bD.liveFired=this;var bu=bt.live.slice(0);for(bC=0;bC<bu.length;bC++){e=bu[bC];if(e.origType.replace(aX,"")===bD.type){bw.push(e.selector)}else{bu.splice(bC--,1)}}bx=b(bD.target).closest(bw,bD.currentTarget);for(bE=0,bB=bx.length;bE<bB;bE++){bz=bx[bE];for(bC=0;bC<bu.length;bC++){e=bu[bC];if(bz.selector===e.selector&&(!by||by.test(e.namespace))&&!bz.elem.disabled){bF=bz.elem;bJ=null;if(e.preType==="mouseenter"||e.preType==="mouseleave"){bD.type=e.preType;bJ=b(bD.relatedTarget).closest(e.selector)[0];if(bJ&&b.contains(bF,bJ)){bJ=bF}}if(!bJ||bJ!==bF){bG.push({elem:bF,handleObj:e,level:bz.level})}}}}for(bE=0,bB=bG.length;bE<bB;bE++){bx=bG[bE];if(bv&&bx.level>bv){break}bD.currentTarget=bx.elem;bD.data=bx.handleObj.data;bD.handleObj=bx.handleObj;bH=bx.handleObj.origHandler.apply(bx.elem,arguments);if(bH===false||bD.isPropagationStopped()){bv=bx.level;if(bH===false){bA=false}if(bD.isImmediatePropagationStopped()){break}}}return bA}function q(bt,e){return(bt&&bt!=="*"?bt+".":"")+e.replace(O,"`").replace(bg,"&")}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").split(" "),function(bt,e){b.fn[e]=function(bv,bu){if(bu==null){bu=bv;bv=null}return arguments.length>0?this.bind(e,bv,bu):this.trigger(e)};if(b.attrFn){b.attrFn[e]=true}});
/*
* Sizzle CSS Selector Engine
* Copyright 2011, The Dojo Foundation
* Released under the MIT, BSD, and GPL Licenses.
* More information: http://sizzlejs.com/
*/
(function(){var bD=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,bE=0,bH=Object.prototype.toString,by=false,bx=true,bF=/\\/g,bL=/\W/;[0,0].sort(function(){bx=false;return 0});var bv=function(bQ,e,bT,bU){bT=bT||[];e=e||ar;var bW=e;if(e.nodeType!==1&&e.nodeType!==9){return[]}if(!bQ||typeof bQ!=="string"){return bT}var bN,bY,b1,bM,bX,b0,bZ,bS,bP=true,bO=bv.isXML(e),bR=[],bV=bQ;do{bD.exec("");bN=bD.exec(bV);if(bN){bV=bN[3];bR.push(bN[1]);if(bN[2]){bM=bN[3];break}}}while(bN);if(bR.length>1&&bz.exec(bQ)){if(bR.length===2&&bA.relative[bR[0]]){bY=bI(bR[0]+bR[1],e)}else{bY=bA.relative[bR[0]]?[e]:bv(bR.shift(),e);while(bR.length){bQ=bR.shift();if(bA.relative[bQ]){bQ+=bR.shift()}bY=bI(bQ,bY)}}}else{if(!bU&&bR.length>1&&e.nodeType===9&&!bO&&bA.match.ID.test(bR[0])&&!bA.match.ID.test(bR[bR.length-1])){bX=bv.find(bR.shift(),e,bO);e=bX.expr?bv.filter(bX.expr,bX.set)[0]:bX.set[0]}if(e){bX=bU?{expr:bR.pop(),set:bB(bU)}:bv.find(bR.pop(),bR.length===1&&(bR[0]==="~"||bR[0]==="+")&&e.parentNode?e.parentNode:e,bO);bY=bX.expr?bv.filter(bX.expr,bX.set):bX.set;if(bR.length>0){b1=bB(bY)}else{bP=false}while(bR.length){b0=bR.pop();bZ=b0;if(!bA.relative[b0]){b0=""}else{bZ=bR.pop()}if(bZ==null){bZ=e}bA.relative[b0](b1,bZ,bO)}}else{b1=bR=[]}}if(!b1){b1=bY}if(!b1){bv.error(b0||bQ)}if(bH.call(b1)==="[object Array]"){if(!bP){bT.push.apply(bT,b1)}else{if(e&&e.nodeType===1){for(bS=0;b1[bS]!=null;bS++){if(b1[bS]&&(b1[bS]===true||b1[bS].nodeType===1&&bv.contains(e,b1[bS]))){bT.push(bY[bS])}}}else{for(bS=0;b1[bS]!=null;bS++){if(b1[bS]&&b1[bS].nodeType===1){bT.push(bY[bS])}}}}}else{bB(b1,bT)}if(bM){bv(bM,bW,bT,bU);bv.uniqueSort(bT)}return bT};bv.uniqueSort=function(bM){if(bG){by=bx;bM.sort(bG);if(by){for(var e=1;e<bM.length;e++){if(bM[e]===bM[e-1]){bM.splice(e--,1)}}}}return bM};bv.matches=function(e,bM){return bv(e,null,null,bM)};bv.matchesSelector=function(e,bM){return bv(bM,null,null,[e]).length>0};bv.find=function(bS,e,bT){var bR;if(!bS){return[]}for(var bO=0,bN=bA.order.length;bO<bN;bO++){var bP,bQ=bA.order[bO];if((bP=bA.leftMatch[bQ].exec(bS))){var bM=bP[1];bP.splice(1,1);if(bM.substr(bM.length-1)!=="\\"){bP[1]=(bP[1]||"").replace(bF,"");bR=bA.find[bQ](bP,e,bT);if(bR!=null){bS=bS.replace(bA.match[bQ],"");break}}}}if(!bR){bR=typeof e.getElementsByTagName!=="undefined"?e.getElementsByTagName("*"):[]}return{set:bR,expr:bS}};bv.filter=function(bW,bV,bZ,bP){var bR,e,bN=bW,b1=[],bT=bV,bS=bV&&bV[0]&&bv.isXML(bV[0]);while(bW&&bV.length){for(var bU in bA.filter){if((bR=bA.leftMatch[bU].exec(bW))!=null&&bR[2]){var b0,bY,bM=bA.filter[bU],bO=bR[1];e=false;bR.splice(1,1);if(bO.substr(bO.length-1)==="\\"){continue}if(bT===b1){b1=[]}if(bA.preFilter[bU]){bR=bA.preFilter[bU](bR,bT,bZ,b1,bP,bS);if(!bR){e=b0=true}else{if(bR===true){continue}}}if(bR){for(var bQ=0;(bY=bT[bQ])!=null;bQ++){if(bY){b0=bM(bY,bR,bQ,bT);var bX=bP^!!b0;if(bZ&&b0!=null){if(bX){e=true}else{bT[bQ]=false}}else{if(bX){b1.push(bY);e=true}}}}}if(b0!==L){if(!bZ){bT=b1}bW=bW.replace(bA.match[bU],"");if(!e){return[]}break}}}if(bW===bN){if(e==null){bv.error(bW)}else{break}}bN=bW}return bT};bv.error=function(e){throw"Syntax error, unrecognized expression: "+e};var bA=bv.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(bR,bM){var bO=typeof bM==="string",bQ=bO&&!bL.test(bM),bS=bO&&!bQ;if(bQ){bM=bM.toLowerCase()}for(var bN=0,e=bR.length,bP;bN<e;bN++){if((bP=bR[bN])){while((bP=bP.previousSibling)&&bP.nodeType!==1){}bR[bN]=bS||bP&&bP.nodeName.toLowerCase()===bM?bP||false:bP===bM}}if(bS){bv.filter(bM,bR,true)}},">":function(bR,bM){var bQ,bP=typeof bM==="string",bN=0,e=bR.length;if(bP&&!bL.test(bM)){bM=bM.toLowerCase();for(;bN<e;bN++){bQ=bR[bN];if(bQ){var bO=bQ.parentNode;bR[bN]=bO.nodeName.toLowerCase()===bM?bO:false}}}else{for(;bN<e;bN++){bQ=bR[bN];if(bQ){bR[bN]=bP?bQ.parentNode:bQ.parentNode===bM}}if(bP){bv.filter(bM,bR,true)}}},"":function(bO,bM,bQ){var bP,bN=bE++,e=bJ;if(typeof bM==="string"&&!bL.test(bM)){bM=bM.toLowerCase();bP=bM;e=bt}e("parentNode",bM,bN,bO,bP,bQ)},"~":function(bO,bM,bQ){var bP,bN=bE++,e=bJ;if(typeof bM==="string"&&!bL.test(bM)){bM=bM.toLowerCase();bP=bM;e=bt}e("previousSibling",bM,bN,bO,bP,bQ)}},find:{ID:function(bM,bN,bO){if(typeof bN.getElementById!=="undefined"&&!bO){var e=bN.getElementById(bM[1]);return e&&e.parentNode?[e]:[]}},NAME:function(bN,bQ){if(typeof bQ.getElementsByName!=="undefined"){var bM=[],bP=bQ.getElementsByName(bN[1]);for(var bO=0,e=bP.length;bO<e;bO++){if(bP[bO].getAttribute("name")===bN[1]){bM.push(bP[bO])}}return bM.length===0?null:bM}},TAG:function(e,bM){if(typeof bM.getElementsByTagName!=="undefined"){return bM.getElementsByTagName(e[1])}}},preFilter:{CLASS:function(bO,bM,bN,e,bR,bS){bO=" "+bO[1].replace(bF,"")+" ";if(bS){return bO}for(var bP=0,bQ;(bQ=bM[bP])!=null;bP++){if(bQ){if(bR^(bQ.className&&(" "+bQ.className+" ").replace(/[\t\n\r]/g," ").indexOf(bO)>=0)){if(!bN){e.push(bQ)}}else{if(bN){bM[bP]=false}}}}return false},ID:function(e){return e[1].replace(bF,"")},TAG:function(bM,e){return bM[1].replace(bF,"").toLowerCase()},CHILD:function(e){if(e[1]==="nth"){if(!e[2]){bv.error(e[0])}e[2]=e[2].replace(/^\+|\s*/g,"");var bM=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(e[2]==="even"&&"2n"||e[2]==="odd"&&"2n+1"||!/\D/.test(e[2])&&"0n+"+e[2]||e[2]);e[2]=(bM[1]+(bM[2]||1))-0;e[3]=bM[3]-0}else{if(e[2]){bv.error(e[0])}}e[0]=bE++;return e},ATTR:function(bP,bM,bN,e,bQ,bR){var bO=bP[1]=bP[1].replace(bF,"");if(!bR&&bA.attrMap[bO]){bP[1]=bA.attrMap[bO]}bP[4]=(bP[4]||bP[5]||"").replace(bF,"");if(bP[2]==="~="){bP[4]=" "+bP[4]+" "}return bP},PSEUDO:function(bP,bM,bN,e,bQ){if(bP[1]==="not"){if((bD.exec(bP[3])||"").length>1||/^\w/.test(bP[3])){bP[3]=bv(bP[3],null,null,bM)}else{var bO=bv.filter(bP[3],bM,bN,true^bQ);if(!bN){e.push.apply(e,bO)}return false}}else{if(bA.match.POS.test(bP[0])||bA.match.CHILD.test(bP[0])){return true}}return bP},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(bN,bM,e){return !!bv(e[3],bN).length},header:function(e){return(/h\d/i).test(e.nodeName)},text:function(bN){var e=bN.getAttribute("type"),bM=bN.type;return bN.nodeName.toLowerCase()==="input"&&"text"===bM&&(e===bM||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(bM){var e=bM.nodeName.toLowerCase();return(e==="input"||e==="button")&&"submit"===bM.type},image:function(e){return e.nodeName.toLowerCase()==="input"&&"image"===e.type},reset:function(bM){var e=bM.nodeName.toLowerCase();return(e==="input"||e==="button")&&"reset"===bM.type},button:function(bM){var e=bM.nodeName.toLowerCase();return e==="input"&&"button"===bM.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(bM,e){return e===0},last:function(bN,bM,e,bO){return bM===bO.length-1},even:function(bM,e){return e%2===0},odd:function(bM,e){return e%2===1},lt:function(bN,bM,e){return bM<e[3]-0},gt:function(bN,bM,e){return bM>e[3]-0},nth:function(bN,bM,e){return e[3]-0===bM},eq:function(bN,bM,e){return e[3]-0===bM}},filter:{PSEUDO:function(bN,bS,bR,bT){var e=bS[1],bM=bA.filters[e];if(bM){return bM(bN,bR,bS,bT)}else{if(e==="contains"){return(bN.textContent||bN.innerText||bv.getText([bN])||"").indexOf(bS[3])>=0}else{if(e==="not"){var bO=bS[3];for(var bQ=0,bP=bO.length;bQ<bP;bQ++){if(bO[bQ]===bN){return false}}return true}else{bv.error(e)}}}},CHILD:function(e,bO){var bR=bO[1],bM=e;switch(bR){case"only":case"first":while((bM=bM.previousSibling)){if(bM.nodeType===1){return false}}if(bR==="first"){return true}bM=e;case"last":while((bM=bM.nextSibling)){if(bM.nodeType===1){return false}}return true;case"nth":var bN=bO[2],bU=bO[3];if(bN===1&&bU===0){return true}var bQ=bO[0],bT=e.parentNode;if(bT&&(bT.sizcache!==bQ||!e.nodeIndex)){var bP=0;for(bM=bT.firstChild;bM;bM=bM.nextSibling){if(bM.nodeType===1){bM.nodeIndex=++bP}}bT.sizcache=bQ}var bS=e.nodeIndex-bU;if(bN===0){return bS===0}else{return(bS%bN===0&&bS/bN>=0)}}},ID:function(bM,e){return bM.nodeType===1&&bM.getAttribute("id")===e},TAG:function(bM,e){return(e==="*"&&bM.nodeType===1)||bM.nodeName.toLowerCase()===e},CLASS:function(bM,e){return(" "+(bM.className||bM.getAttribute("class"))+" ").indexOf(e)>-1},ATTR:function(bQ,bO){var bN=bO[1],e=bA.attrHandle[bN]?bA.attrHandle[bN](bQ):bQ[bN]!=null?bQ[bN]:bQ.getAttribute(bN),bR=e+"",bP=bO[2],bM=bO[4];return e==null?bP==="!=":bP==="="?bR===bM:bP==="*="?bR.indexOf(bM)>=0:bP==="~="?(" "+bR+" ").indexOf(bM)>=0:!bM?bR&&e!==false:bP==="!="?bR!==bM:bP==="^="?bR.indexOf(bM)===0:bP==="$="?bR.substr(bR.length-bM.length)===bM:bP==="|="?bR===bM||bR.substr(0,bM.length+1)===bM+"-":false},POS:function(bP,bM,bN,bQ){var e=bM[2],bO=bA.setFilters[e];if(bO){return bO(bP,bN,bM,bQ)}}}};var bz=bA.match.POS,bu=function(bM,e){return"\\"+(e-0+1)};for(var bw in bA.match){bA.match[bw]=new RegExp(bA.match[bw].source+(/(?![^\[]*\])(?![^\(]*\))/.source));bA.leftMatch[bw]=new RegExp(/(^(?:.|\r|\n)*?)/.source+bA.match[bw].source.replace(/\\(\d+)/g,bu))}var bB=function(bM,e){bM=Array.prototype.slice.call(bM,0);if(e){e.push.apply(e,bM);return e}return bM};try{Array.prototype.slice.call(ar.documentElement.childNodes,0)[0].nodeType}catch(bK){bB=function(bP,bO){var bN=0,bM=bO||[];if(bH.call(bP)==="[object Array]"){Array.prototype.push.apply(bM,bP)}else{if(typeof bP.length==="number"){for(var e=bP.length;bN<e;bN++){bM.push(bP[bN])}}else{for(;bP[bN];bN++){bM.push(bP[bN])}}}return bM}}var bG,bC;if(ar.documentElement.compareDocumentPosition){bG=function(bM,e){if(bM===e){by=true;return 0}if(!bM.compareDocumentPosition||!e.compareDocumentPosition){return bM.compareDocumentPosition?-1:1}return bM.compareDocumentPosition(e)&4?-1:1}}else{bG=function(bT,bS){if(bT===bS){by=true;return 0}else{if(bT.sourceIndex&&bS.sourceIndex){return bT.sourceIndex-bS.sourceIndex}}var bQ,bM,bN=[],e=[],bP=bT.parentNode,bR=bS.parentNode,bU=bP;if(bP===bR){return bC(bT,bS)}else{if(!bP){return -1}else{if(!bR){return 1}}}while(bU){bN.unshift(bU);bU=bU.parentNode}bU=bR;while(bU){e.unshift(bU);bU=bU.parentNode}bQ=bN.length;bM=e.length;for(var bO=0;bO<bQ&&bO<bM;bO++){if(bN[bO]!==e[bO]){return bC(bN[bO],e[bO])}}return bO===bQ?bC(bT,e[bO],-1):bC(bN[bO],bS,1)};bC=function(bM,e,bN){if(bM===e){return bN}var bO=bM.nextSibling;while(bO){if(bO===e){return -1}bO=bO.nextSibling}return 1}}bv.getText=function(e){var bM="",bO;for(var bN=0;e[bN];bN++){bO=e[bN];if(bO.nodeType===3||bO.nodeType===4){bM+=bO.nodeValue}else{if(bO.nodeType!==8){bM+=bv.getText(bO.childNodes)}}}return bM};(function(){var bM=ar.createElement("div"),bN="script"+(new Date()).getTime(),e=ar.documentElement;bM.innerHTML="<a name='"+bN+"'/>";e.insertBefore(bM,e.firstChild);if(ar.getElementById(bN)){bA.find.ID=function(bP,bQ,bR){if(typeof bQ.getElementById!=="undefined"&&!bR){var bO=bQ.getElementById(bP[1]);return bO?bO.id===bP[1]||typeof bO.getAttributeNode!=="undefined"&&bO.getAttributeNode("id").nodeValue===bP[1]?[bO]:L:[]}};bA.filter.ID=function(bQ,bO){var bP=typeof bQ.getAttributeNode!=="undefined"&&bQ.getAttributeNode("id");return bQ.nodeType===1&&bP&&bP.nodeValue===bO}}e.removeChild(bM);e=bM=null})();(function(){var e=ar.createElement("div");e.appendChild(ar.createComment(""));if(e.getElementsByTagName("*").length>0){bA.find.TAG=function(bM,bQ){var bP=bQ.getElementsByTagName(bM[1]);if(bM[1]==="*"){var bO=[];for(var bN=0;bP[bN];bN++){if(bP[bN].nodeType===1){bO.push(bP[bN])}}bP=bO}return bP}}e.innerHTML="<a href='#'></a>";if(e.firstChild&&typeof e.firstChild.getAttribute!=="undefined"&&e.firstChild.getAttribute("href")!=="#"){bA.attrHandle.href=function(bM){return bM.getAttribute("href",2)}}e=null})();if(ar.querySelectorAll){(function(){var e=bv,bO=ar.createElement("div"),bN="__sizzle__";bO.innerHTML="<p class='TEST'></p>";if(bO.querySelectorAll&&bO.querySelectorAll(".TEST").length===0){return}bv=function(bZ,bQ,bU,bY){bQ=bQ||ar;if(!bY&&!bv.isXML(bQ)){var bX=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(bZ);if(bX&&(bQ.nodeType===1||bQ.nodeType===9)){if(bX[1]){return bB(bQ.getElementsByTagName(bZ),bU)}else{if(bX[2]&&bA.find.CLASS&&bQ.getElementsByClassName){return bB(bQ.getElementsByClassName(bX[2]),bU)}}}if(bQ.nodeType===9){if(bZ==="body"&&bQ.body){return bB([bQ.body],bU)}else{if(bX&&bX[3]){var bT=bQ.getElementById(bX[3]);if(bT&&bT.parentNode){if(bT.id===bX[3]){return bB([bT],bU)}}else{return bB([],bU)}}}try{return bB(bQ.querySelectorAll(bZ),bU)}catch(bV){}}else{if(bQ.nodeType===1&&bQ.nodeName.toLowerCase()!=="object"){var bR=bQ,bS=bQ.getAttribute("id"),bP=bS||bN,b1=bQ.parentNode,b0=/^\s*[+~]/.test(bZ);if(!bS){bQ.setAttribute("id",bP)}else{bP=bP.replace(/'/g,"\\$&")}if(b0&&b1){bQ=bQ.parentNode}try{if(!b0||b1){return bB(bQ.querySelectorAll("[id='"+bP+"'] "+bZ),bU)}}catch(bW){}finally{if(!bS){bR.removeAttribute("id")}}}}}return e(bZ,bQ,bU,bY)};for(var bM in e){bv[bM]=e[bM]}bO=null})()}(function(){var e=ar.documentElement,bN=e.matchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.msMatchesSelector;if(bN){var bP=!bN.call(ar.createElement("div"),"div"),bM=false;try{bN.call(ar.documentElement,"[test!='']:sizzle")}catch(bO){bM=true}bv.matchesSelector=function(bR,bT){bT=bT.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!bv.isXML(bR)){try{if(bM||!bA.match.PSEUDO.test(bT)&&!/!=/.test(bT)){var bQ=bN.call(bR,bT);if(bQ||!bP||bR.document&&bR.document.nodeType!==11){return bQ}}}catch(bS){}}return bv(bT,null,null,[bR]).length>0}}})();(function(){var e=ar.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}bA.order.splice(1,0,"CLASS");bA.find.CLASS=function(bM,bN,bO){if(typeof bN.getElementsByClassName!=="undefined"&&!bO){return bN.getElementsByClassName(bM[1])}};e=null})();function bt(bM,bR,bQ,bU,bS,bT){for(var bO=0,bN=bU.length;bO<bN;bO++){var e=bU[bO];if(e){var bP=false;e=e[bM];while(e){if(e.sizcache===bQ){bP=bU[e.sizset];break}if(e.nodeType===1&&!bT){e.sizcache=bQ;e.sizset=bO}if(e.nodeName.toLowerCase()===bR){bP=e;break}e=e[bM]}bU[bO]=bP}}}function bJ(bM,bR,bQ,bU,bS,bT){for(var bO=0,bN=bU.length;bO<bN;bO++){var e=bU[bO];if(e){var bP=false;e=e[bM];while(e){if(e.sizcache===bQ){bP=bU[e.sizset];break}if(e.nodeType===1){if(!bT){e.sizcache=bQ;e.sizset=bO}if(typeof bR!=="string"){if(e===bR){bP=true;break}}else{if(bv.filter(bR,[e]).length>0){bP=e;break}}}e=e[bM]}bU[bO]=bP}}}if(ar.documentElement.contains){bv.contains=function(bM,e){return bM!==e&&(bM.contains?bM.contains(e):true)}}else{if(ar.documentElement.compareDocumentPosition){bv.contains=function(bM,e){return !!(bM.compareDocumentPosition(e)&16)}}else{bv.contains=function(){return false}}}bv.isXML=function(e){var bM=(e?e.ownerDocument||e:0).documentElement;return bM?bM.nodeName!=="HTML":false};var bI=function(e,bS){var bQ,bO=[],bP="",bN=bS.nodeType?[bS]:bS;while((bQ=bA.match.PSEUDO.exec(e))){bP+=bQ[0];e=e.replace(bA.match.PSEUDO,"")}e=bA.relative[e]?e+"*":e;for(var bR=0,bM=bN.length;bR<bM;bR++){bv(e,bN[bR],bO)}return bv.filter(bP,bO)};b.find=bv;b.expr=bv.selectors;b.expr[":"]=b.expr.filters;b.unique=bv.uniqueSort;b.text=bv.getText;b.isXMLDoc=bv.isXML;b.contains=bv.contains})();var Z=/Until$/,an=/^(?:parents|prevUntil|prevAll)/,a8=/,/,bo=/^.[^:#\[\.,]*$/,Q=Array.prototype.slice,I=b.expr.match.POS,av={children:true,contents:true,next:true,prev:true};b.fn.extend({find:function(e){var bu=this,bw,bt;if(typeof e!=="string"){return b(e).filter(function(){for(bw=0,bt=bu.length;bw<bt;bw++){if(b.contains(bu[bw],this)){return true}}})}var bv=this.pushStack("","find",e),by,bz,bx;for(bw=0,bt=this.length;bw<bt;bw++){by=bv.length;b.find(e,this[bw],bv);if(bw>0){for(bz=by;bz<bv.length;bz++){for(bx=0;bx<by;bx++){if(bv[bx]===bv[bz]){bv.splice(bz--,1);break}}}}}return bv},has:function(bt){var e=b(bt);return this.filter(function(){for(var bv=0,bu=e.length;bv<bu;bv++){if(b.contains(this,e[bv])){return true}}})},not:function(e){return this.pushStack(aC(this,e,false),"not",e)},filter:function(e){return this.pushStack(aC(this,e,true),"filter",e)},is:function(e){return !!e&&(typeof e==="string"?b.filter(e,this).length>0:this.filter(e).length>0)},closest:function(bC,bt){var bz=[],bw,bu,bB=this[0];if(b.isArray(bC)){var by,bv,bx={},e=1;if(bB&&bC.length){for(bw=0,bu=bC.length;bw<bu;bw++){bv=bC[bw];if(!bx[bv]){bx[bv]=I.test(bv)?b(bv,bt||this.context):bv}}while(bB&&bB.ownerDocument&&bB!==bt){for(bv in bx){by=bx[bv];if(by.jquery?by.index(bB)>-1:b(bB).is(by)){bz.push({selector:bv,elem:bB,level:e})}}bB=bB.parentNode;e++}}return bz}var bA=I.test(bC)||typeof bC!=="string"?b(bC,bt||this.context):0;for(bw=0,bu=this.length;bw<bu;bw++){bB=this[bw];while(bB){if(bA?bA.index(bB)>-1:b.find.matchesSelector(bB,bC)){bz.push(bB);break}else{bB=bB.parentNode;if(!bB||!bB.ownerDocument||bB===bt||bB.nodeType===11){break}}}}bz=bz.length>1?b.unique(bz):bz;return this.pushStack(bz,"closest",bC)},index:function(e){if(!e||typeof e==="string"){return b.inArray(this[0],e?b(e):this.parent().children())}return b.inArray(e.jquery?e[0]:e,this)},add:function(e,bt){var bv=typeof e==="string"?b(e,bt):b.makeArray(e&&e.nodeType?[e]:e),bu=b.merge(this.get(),bv);return this.pushStack(D(bv[0])||D(bu[0])?bu:b.unique(bu))},andSelf:function(){return this.add(this.prevObject)}});function D(e){return !e||!e.parentNode||e.parentNode.nodeType===11}b.each({parent:function(bt){var e=bt.parentNode;return e&&e.nodeType!==11?e:null},parents:function(e){return b.dir(e,"parentNode")},parentsUntil:function(bt,e,bu){return b.dir(bt,"parentNode",bu)},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(bt,e,bu){return b.dir(bt,"nextSibling",bu)},prevUntil:function(bt,e,bu){return b.dir(bt,"previousSibling",bu)},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,bt){b.fn[e]=function(bx,bu){var bw=b.map(this,bt,bx),bv=Q.call(arguments);if(!Z.test(e)){bu=bx}if(bu&&typeof bu==="string"){bw=b.filter(bu,bw)}bw=this.length>1&&!av[e]?b.unique(bw):bw;if((this.length>1||a8.test(bu))&&an.test(e)){bw=bw.reverse()}return this.pushStack(bw,e,bv.join(","))}});b.extend({filter:function(bu,e,bt){if(bt){bu=":not("+bu+")"}return e.length===1?b.find.matchesSelector(e[0],bu)?[e[0]]:[]:b.find.matches(bu,e)},dir:function(bu,bt,bw){var e=[],bv=bu[bt];while(bv&&bv.nodeType!==9&&(bw===L||bv.nodeType!==1||!b(bv).is(bw))){if(bv.nodeType===1){e.push(bv)}bv=bv[bt]}return e},nth:function(bw,e,bu,bv){e=e||1;var bt=0;for(;bw;bw=bw[bu]){if(bw.nodeType===1&&++bt===e){break}}return bw},sibling:function(bu,bt){var e=[];for(;bu;bu=bu.nextSibling){if(bu.nodeType===1&&bu!==bt){e.push(bu)}}return e}});function aC(bv,bu,e){bu=bu||0;if(b.isFunction(bu)){return b.grep(bv,function(bx,bw){var by=!!bu.call(bx,bw,bx);return by===e})}else{if(bu.nodeType){return b.grep(bv,function(bx,bw){return(bx===bu)===e})}else{if(typeof bu==="string"){var bt=b.grep(bv,function(bw){return bw.nodeType===1});if(bo.test(bu)){return b.filter(bu,bt,!e)}else{bu=b.filter(bu,bt)}}}}return b.grep(bv,function(bx,bw){return(b.inArray(bx,bu)>=0)===e})}var ae=/ jQuery\d+="(?:\d+|null)"/g,ao=/^\s+/,T=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,d=/<([\w:]+)/,x=/<tbody/i,W=/<|&#?\w+;/,P=/<(?:script|object|embed|option|style)/i,o=/checked\s*(?:[^=]|=\s*.checked.)/i,bk=/\/(java|ecma)script/i,aK=/^\s*<!(?:\[CDATA\[|\-\-)/,au={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,"",""]};au.optgroup=au.option;au.tbody=au.tfoot=au.colgroup=au.caption=au.thead;au.th=au.td;if(!b.support.htmlSerialize){au._default=[1,"div<div>","</div>"]}b.fn.extend({text:function(e){if(b.isFunction(e)){return this.each(function(bu){var bt=b(this);bt.text(e.call(this,bu,bt.text()))})}if(typeof e!=="object"&&e!==L){return this.empty().append((this[0]&&this[0].ownerDocument||ar).createTextNode(e))}return b.text(this)},wrapAll:function(e){if(b.isFunction(e)){return this.each(function(bu){b(this).wrapAll(e.call(this,bu))})}if(this[0]){var bt=b(e,this[0].ownerDocument).eq(0).clone(true);if(this[0].parentNode){bt.insertBefore(this[0])}bt.map(function(){var bu=this;while(bu.firstChild&&bu.firstChild.nodeType===1){bu=bu.firstChild}return bu}).append(this)}return this},wrapInner:function(e){if(b.isFunction(e)){return this.each(function(bt){b(this).wrapInner(e.call(this,bt))})}return this.each(function(){var bt=b(this),bu=bt.contents();if(bu.length){bu.wrapAll(e)}else{bt.append(e)}})},wrap:function(e){return this.each(function(){b(this).wrapAll(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(bt){this.parentNode.insertBefore(bt,this)})}else{if(arguments.length){var e=b(arguments[0]);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(bt){this.parentNode.insertBefore(bt,this.nextSibling)})}else{if(arguments.length){var e=this.pushStack(this,"after",arguments);e.push.apply(e,b(arguments[0]).toArray());return e}}},remove:function(e,bv){for(var bt=0,bu;(bu=this[bt])!=null;bt++){if(!e||b.filter(e,[bu]).length){if(!bv&&bu.nodeType===1){b.cleanData(bu.getElementsByTagName("*"));b.cleanData([bu])}if(bu.parentNode){bu.parentNode.removeChild(bu)}}}return this},empty:function(){for(var e=0,bt;(bt=this[e])!=null;e++){if(bt.nodeType===1){b.cleanData(bt.getElementsByTagName("*"))}while(bt.firstChild){bt.removeChild(bt.firstChild)}}return this},clone:function(bt,e){bt=bt==null?false:bt;e=e==null?bt:e;return this.map(function(){return b.clone(this,bt,e)})},html:function(bv){if(bv===L){return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(ae,""):null}else{if(typeof bv==="string"&&!P.test(bv)&&(b.support.leadingWhitespace||!ao.test(bv))&&!au[(d.exec(bv)||["",""])[1].toLowerCase()]){bv=bv.replace(T,"<$1></$2>");try{for(var bu=0,bt=this.length;bu<bt;bu++){if(this[bu].nodeType===1){b.cleanData(this[bu].getElementsByTagName("*"));this[bu].innerHTML=bv}}}catch(bw){this.empty().append(bv)}}else{if(b.isFunction(bv)){this.each(function(bx){var e=b(this);e.html(bv.call(this,bx,e.html()))})}else{this.empty().append(bv)}}}return this},replaceWith:function(e){if(this[0]&&this[0].parentNode){if(b.isFunction(e)){return this.each(function(bv){var bu=b(this),bt=bu.html();bu.replaceWith(e.call(this,bv,bt))})}if(typeof e!=="string"){e=b(e).detach()}return this.each(function(){var bu=this.nextSibling,bt=this.parentNode;b(this).remove();if(bu){b(bu).before(e)}else{b(bt).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(bz,bD,bC){var bv,bw,by,bB,bA=bz[0],bt=[];if(!b.support.checkClone&&arguments.length===3&&typeof bA==="string"&&o.test(bA)){return this.each(function(){b(this).domManip(bz,bD,bC,true)})}if(b.isFunction(bA)){return this.each(function(bF){var bE=b(this);bz[0]=bA.call(this,bF,bD?bE.html():L);bE.domManip(bz,bD,bC)})}if(this[0]){bB=bA&&bA.parentNode;if(b.support.parentNode&&bB&&bB.nodeType===11&&bB.childNodes.length===this.length){bv={fragment:bB}}else{bv=b.buildFragment(bz,this,bt)}by=bv.fragment;if(by.childNodes.length===1){bw=by=by.firstChild}else{bw=by.firstChild}if(bw){bD=bD&&b.nodeName(bw,"tr");for(var bu=0,e=this.length,bx=e-1;bu<e;bu++){bC.call(bD?a9(this[bu],bw):this[bu],bv.cacheable||(e>1&&bu<bx)?b.clone(by,true,true):by)}}if(bt.length){b.each(bt,bn)}}return this}});function a9(e,bt){return b.nodeName(e,"table")?(e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody"))):e}function u(e,bz){if(bz.nodeType!==1||!b.hasData(e)){return}var by=b.expando,bv=b.data(e),bw=b.data(bz,bv);if((bv=bv[by])){var bA=bv.events;bw=bw[by]=b.extend({},bv);if(bA){delete bw.handle;bw.events={};for(var bx in bA){for(var bu=0,bt=bA[bx].length;bu<bt;bu++){b.event.add(bz,bx+(bA[bx][bu].namespace?".":"")+bA[bx][bu].namespace,bA[bx][bu],bA[bx][bu].data)}}}}}function af(bt,e){var bu;if(e.nodeType!==1){return}if(e.clearAttributes){e.clearAttributes()}if(e.mergeAttributes){e.mergeAttributes(bt)}bu=e.nodeName.toLowerCase();if(bu==="object"){e.outerHTML=bt.outerHTML}else{if(bu==="input"&&(bt.type==="checkbox"||bt.type==="radio")){if(bt.checked){e.defaultChecked=e.checked=bt.checked}if(e.value!==bt.value){e.value=bt.value}}else{if(bu==="option"){e.selected=bt.defaultSelected}else{if(bu==="input"||bu==="textarea"){e.defaultValue=bt.defaultValue}}}}e.removeAttribute(b.expando)}b.buildFragment=function(bx,bv,bt){var bw,e,bu,by;if(bv&&bv[0]){by=bv[0].ownerDocument||bv[0]}if(!by.createDocumentFragment){by=ar}if(bx.length===1&&typeof bx[0]==="string"&&bx[0].length<512&&by===ar&&bx[0].charAt(0)==="<"&&!P.test(bx[0])&&(b.support.checkClone||!o.test(bx[0]))){e=true;bu=b.fragments[bx[0]];if(bu&&bu!==1){bw=bu}}if(!bw){bw=by.createDocumentFragment();b.clean(bx,by,bw,bt)}if(e){b.fragments[bx[0]]=bu?bw:1}return{fragment:bw,cacheable:e}};b.fragments={};b.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,bt){b.fn[e]=function(bu){var bx=[],bA=b(bu),bz=this.length===1&&this[0].parentNode;if(bz&&bz.nodeType===11&&bz.childNodes.length===1&&bA.length===1){bA[bt](this[0]);return this}else{for(var by=0,bv=bA.length;by<bv;by++){var bw=(by>0?this.clone(true):this).get();b(bA[by])[bt](bw);bx=bx.concat(bw)}return this.pushStack(bx,e,bA.selector)}}});function bd(e){if("getElementsByTagName" in e){return e.getElementsByTagName("*")}else{if("querySelectorAll" in e){return e.querySelectorAll("*")}else{return[]}}}function aw(e){if(e.type==="checkbox"||e.type==="radio"){e.defaultChecked=e.checked}}function F(e){if(b.nodeName(e,"input")){aw(e)}else{if("getElementsByTagName" in e){b.grep(e.getElementsByTagName("input"),aw)}}}b.extend({clone:function(bw,by,bu){var bx=bw.cloneNode(true),e,bt,bv;if((!b.support.noCloneEvent||!b.support.noCloneChecked)&&(bw.nodeType===1||bw.nodeType===11)&&!b.isXMLDoc(bw)){af(bw,bx);e=bd(bw);bt=bd(bx);for(bv=0;e[bv];++bv){af(e[bv],bt[bv])}}if(by){u(bw,bx);if(bu){e=bd(bw);bt=bd(bx);for(bv=0;e[bv];++bv){u(e[bv],bt[bv])}}}e=bt=null;return bx},clean:function(bu,bw,bF,by){var bD;bw=bw||ar;if(typeof bw.createElement==="undefined"){bw=bw.ownerDocument||bw[0]&&bw[0].ownerDocument||ar}var bG=[],bz;for(var bC=0,bx;(bx=bu[bC])!=null;bC++){if(typeof bx==="number"){bx+=""}if(!bx){continue}if(typeof bx==="string"){if(!W.test(bx)){bx=bw.createTextNode(bx)}else{bx=bx.replace(T,"<$1></$2>");var bI=(d.exec(bx)||["",""])[1].toLowerCase(),bv=au[bI]||au._default,bB=bv[0],bt=bw.createElement("div");bt.innerHTML=bv[1]+bx+bv[2];while(bB--){bt=bt.lastChild}if(!b.support.tbody){var e=x.test(bx),bA=bI==="table"&&!e?bt.firstChild&&bt.firstChild.childNodes:bv[1]==="<table>"&&!e?bt.childNodes:[];for(bz=bA.length-1;bz>=0;--bz){if(b.nodeName(bA[bz],"tbody")&&!bA[bz].childNodes.length){bA[bz].parentNode.removeChild(bA[bz])}}}if(!b.support.leadingWhitespace&&ao.test(bx)){bt.insertBefore(bw.createTextNode(ao.exec(bx)[0]),bt.firstChild)}bx=bt.childNodes}}var bE;if(!b.support.appendChecked){if(bx[0]&&typeof(bE=bx.length)==="number"){for(bz=0;bz<bE;bz++){F(bx[bz])}}else{F(bx)}}if(bx.nodeType){bG.push(bx)}else{bG=b.merge(bG,bx)}}if(bF){bD=function(bJ){return !bJ.type||bk.test(bJ.type)};for(bC=0;bG[bC];bC++){if(by&&b.nodeName(bG[bC],"script")&&(!bG[bC].type||bG[bC].type.toLowerCase()==="text/javascript")){by.push(bG[bC].parentNode?bG[bC].parentNode.removeChild(bG[bC]):bG[bC])}else{if(bG[bC].nodeType===1){var bH=b.grep(bG[bC].getElementsByTagName("script"),bD);bG.splice.apply(bG,[bC+1,0].concat(bH))}bF.appendChild(bG[bC])}}}return bG},cleanData:function(bt){var bw,bu,e=b.cache,bB=b.expando,bz=b.event.special,by=b.support.deleteExpando;for(var bx=0,bv;(bv=bt[bx])!=null;bx++){if(bv.nodeName&&b.noData[bv.nodeName.toLowerCase()]){continue}bu=bv[b.expando];if(bu){bw=e[bu]&&e[bu][bB];if(bw&&bw.events){for(var bA in bw.events){if(bz[bA]){b.event.remove(bv,bA)}else{b.removeEvent(bv,bA,bw.handle)}}if(bw.handle){bw.handle.elem=null}}if(by){delete bv[b.expando]}else{if(bv.removeAttribute){bv.removeAttribute(b.expando)}}delete e[bu]}}}});function bn(e,bt){if(bt.src){b.ajax({url:bt.src,async:false,dataType:"script"})}else{b.globalEval((bt.text||bt.textContent||bt.innerHTML||"").replace(aK,"/*$0*/"))}if(bt.parentNode){bt.parentNode.removeChild(bt)}}var ai=/alpha\([^)]*\)/i,aq=/opacity=([^)]*)/,A=/([A-Z]|^ms)/g,bb=/^-?\d+(?:px)?$/i,bm=/^-?\d/,J=/^[+\-]=/,ah=/[^+\-\.\de]+/g,a5={position:"absolute",visibility:"hidden",display:"block"},ak=["Left","Right"],aZ=["Top","Bottom"],X,aF,aT;b.fn.css=function(e,bt){if(arguments.length===2&&bt===L){return this}return b.access(this,e,bt,true,function(bv,bu,bw){return bw!==L?b.style(bv,bu,bw):b.css(bv,bu)})};b.extend({cssHooks:{opacity:{get:function(bu,bt){if(bt){var e=X(bu,"opacity","opacity");return e===""?"1":e}else{return bu.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(bv,bu,bB,bw){if(!bv||bv.nodeType===3||bv.nodeType===8||!bv.style){return}var bz,bA,bx=b.camelCase(bu),bt=bv.style,bC=b.cssHooks[bx];bu=b.cssProps[bx]||bx;if(bB!==L){bA=typeof bB;if(bA==="number"&&isNaN(bB)||bB==null){return}if(bA==="string"&&J.test(bB)){bB=+bB.replace(ah,"")+parseFloat(b.css(bv,bu));bA="number"}if(bA==="number"&&!b.cssNumber[bx]){bB+="px"}if(!bC||!("set" in bC)||(bB=bC.set(bv,bB))!==L){try{bt[bu]=bB}catch(by){}}}else{if(bC&&"get" in bC&&(bz=bC.get(bv,false,bw))!==L){return bz}return bt[bu]}},css:function(bw,bv,bt){var bu,e;bv=b.camelCase(bv);e=b.cssHooks[bv];bv=b.cssProps[bv]||bv;if(bv==="cssFloat"){bv="float"}if(e&&"get" in e&&(bu=e.get(bw,true,bt))!==L){return bu}else{if(X){return X(bw,bv)}}},swap:function(bv,bu,bw){var e={};for(var bt in bu){e[bt]=bv.style[bt];bv.style[bt]=bu[bt]}bw.call(bv);for(bt in bu){bv.style[bt]=e[bt]}}});b.curCSS=b.css;b.each(["height","width"],function(bt,e){b.cssHooks[e]={get:function(bw,bv,bu){var bx;if(bv){if(bw.offsetWidth!==0){return p(bw,e,bu)}else{b.swap(bw,a5,function(){bx=p(bw,e,bu)})}return bx}},set:function(bu,bv){if(bb.test(bv)){bv=parseFloat(bv);if(bv>=0){return bv+"px"}}else{return bv}}}});if(!b.support.opacity){b.cssHooks.opacity={get:function(bt,e){return aq.test((e&&bt.currentStyle?bt.currentStyle.filter:bt.style.filter)||"")?(parseFloat(RegExp.$1)/100)+"":e?"1":""},set:function(bw,bx){var bv=bw.style,bt=bw.currentStyle;bv.zoom=1;var e=b.isNaN(bx)?"":"alpha(opacity="+bx*100+")",bu=bt&&bt.filter||bv.filter||"";bv.filter=ai.test(bu)?bu.replace(ai,e):bu+" "+e}}}b(function(){if(!b.support.reliableMarginRight){b.cssHooks.marginRight={get:function(bu,bt){var e;b.swap(bu,{display:"inline-block"},function(){if(bt){e=X(bu,"margin-right","marginRight")}else{e=bu.style.marginRight}});return e}}}});if(ar.defaultView&&ar.defaultView.getComputedStyle){aF=function(bw,bu){var bt,bv,e;bu=bu.replace(A,"-$1").toLowerCase();if(!(bv=bw.ownerDocument.defaultView)){return L}if((e=bv.getComputedStyle(bw,null))){bt=e.getPropertyValue(bu);if(bt===""&&!b.contains(bw.ownerDocument.documentElement,bw)){bt=b.style(bw,bu)}}return bt}}if(ar.documentElement.currentStyle){aT=function(bw,bu){var bx,bt=bw.currentStyle&&bw.currentStyle[bu],e=bw.runtimeStyle&&bw.runtimeStyle[bu],bv=bw.style;if(!bb.test(bt)&&bm.test(bt)){bx=bv.left;if(e){bw.runtimeStyle.left=bw.currentStyle.left}bv.left=bu==="fontSize"?"1em":(bt||0);bt=bv.pixelLeft+"px";bv.left=bx;if(e){bw.runtimeStyle.left=e}}return bt===""?"auto":bt}}X=aF||aT;function p(bu,bt,e){var bw=bt==="width"?bu.offsetWidth:bu.offsetHeight,bv=bt==="width"?ak:aZ;if(bw>0){if(e!=="border"){b.each(bv,function(){if(!e){bw-=parseFloat(b.css(bu,"padding"+this))||0}if(e==="margin"){bw+=parseFloat(b.css(bu,e+this))||0}else{bw-=parseFloat(b.css(bu,"border"+this+"Width"))||0}})}return bw+"px"}bw=X(bu,bt,bt);if(bw<0||bw==null){bw=bu.style[bt]||0}bw=parseFloat(bw)||0;if(e){b.each(bv,function(){bw+=parseFloat(b.css(bu,"padding"+this))||0;if(e!=="padding"){bw+=parseFloat(b.css(bu,"border"+this+"Width"))||0}if(e==="margin"){bw+=parseFloat(b.css(bu,e+this))||0}})}return bw+"px"}if(b.expr&&b.expr.filters){b.expr.filters.hidden=function(bu){var bt=bu.offsetWidth,e=bu.offsetHeight;return(bt===0&&e===0)||(!b.support.reliableHiddenOffsets&&(bu.style.display||b.css(bu,"display"))==="none")};b.expr.filters.visible=function(e){return !b.expr.filters.hidden(e)}}var k=/%20/g,am=/\[\]$/,br=/\r?\n/g,bp=/#.*$/,aA=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,aW=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,aJ=/^(?:about|app|app\-storage|.+\-extension|file|widget):$/,aM=/^(?:GET|HEAD)$/,c=/^\/\//,M=/\?/,a4=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,r=/^(?:select|textarea)/i,h=/\s+/,bq=/([?&])_=[^&]*/,K=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,B=b.fn.load,Y={},s={},aB,t;try{aB=bj.href}catch(at){aB=ar.createElement("a");aB.href="";aB=aB.href}t=K.exec(aB.toLowerCase())||[];function f(e){return function(bw,by){if(typeof bw!=="string"){by=bw;bw="*"}if(b.isFunction(by)){var bv=bw.toLowerCase().split(h),bu=0,bx=bv.length,bt,bz,bA;for(;bu<bx;bu++){bt=bv[bu];bA=/^\+/.test(bt);if(bA){bt=bt.substr(1)||"*"}bz=e[bt]=e[bt]||[];bz[bA?"unshift":"push"](by)}}}}function aR(bt,bC,bx,bB,bz,bv){bz=bz||bC.dataTypes[0];bv=bv||{};bv[bz]=true;var by=bt[bz],bu=0,e=by?by.length:0,bw=(bt===Y),bA;for(;bu<e&&(bw||!bA);bu++){bA=by[bu](bC,bx,bB);if(typeof bA==="string"){if(!bw||bv[bA]){bA=L}else{bC.dataTypes.unshift(bA);bA=aR(bt,bC,bx,bB,bA,bv)}}}if((bw||!bA)&&!bv["*"]){bA=aR(bt,bC,bx,bB,"*",bv)}return bA}b.fn.extend({load:function(bu,bx,by){if(typeof bu!=="string"&&B){return B.apply(this,arguments)}else{if(!this.length){return this}}var bw=bu.indexOf(" ");if(bw>=0){var e=bu.slice(bw,bu.length);bu=bu.slice(0,bw)}var bv="GET";if(bx){if(b.isFunction(bx)){by=bx;bx=L}else{if(typeof bx==="object"){bx=b.param(bx,b.ajaxSettings.traditional);bv="POST"}}}var bt=this;b.ajax({url:bu,type:bv,dataType:"html",data:bx,complete:function(bA,bz,bB){bB=bA.responseText;if(bA.isResolved()){bA.done(function(bC){bB=bC});bt.html(e?b("<div>").append(bB.replace(a4,"")).find(e):bB)}if(by){bt.each(by,[bB,bz,bA])}}});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||r.test(this.nodeName)||aW.test(this.type))}).map(function(e,bt){var bu=b(this).val();return bu==null?null:b.isArray(bu)?b.map(bu,function(bw,bv){return{name:bt.name,value:bw.replace(br,"\r\n")}}):{name:bt.name,value:bu.replace(br,"\r\n")}}).get()}});b.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(e,bt){b.fn[bt]=function(bu){return this.bind(bt,bu)}});b.each(["get","post"],function(e,bt){b[bt]=function(bu,bw,bx,bv){if(b.isFunction(bw)){bv=bv||bx;bx=bw;bw=L}return b.ajax({type:bt,url:bu,data:bw,success:bx,dataType:bv})}});b.extend({getScript:function(e,bt){return b.get(e,L,bt,"script")},getJSON:function(e,bt,bu){return b.get(e,bt,bu,"json")},ajaxSetup:function(bu,e){if(!e){e=bu;bu=b.extend(true,b.ajaxSettings,e)}else{b.extend(true,bu,b.ajaxSettings,e)}for(var bt in {context:1,url:1}){if(bt in e){bu[bt]=e[bt]}else{if(bt in b.ajaxSettings){bu[bt]=b.ajaxSettings[bt]}}}return bu},ajaxSettings:{url:aB,isLocal:aJ.test(t[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","*":"*/*"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":ba.String,"text html":true,"text json":b.parseJSON,"text xml":b.parseXML}},ajaxPrefilter:f(Y),ajaxTransport:f(s),ajax:function(bx,bv){if(typeof bx==="object"){bv=bx;bx=L}bv=bv||{};var bB=b.ajaxSetup({},bv),bQ=bB.context||bB,bE=bQ!==bB&&(bQ.nodeType||bQ instanceof b)?b(bQ):b.event,bP=b.Deferred(),bL=b._Deferred(),bz=bB.statusCode||{},bA,bF={},bM={},bO,bw,bJ,bC,bG,by=0,bu,bI,bH={readyState:0,setRequestHeader:function(bR,bS){if(!by){var e=bR.toLowerCase();bR=bM[e]=bM[e]||bR;bF[bR]=bS}return this},getAllResponseHeaders:function(){return by===2?bO:null},getResponseHeader:function(bR){var e;if(by===2){if(!bw){bw={};while((e=aA.exec(bO))){bw[e[1].toLowerCase()]=e[2]}}e=bw[bR.toLowerCase()]}return e===L?null:e},overrideMimeType:function(e){if(!by){bB.mimeType=e}return this},abort:function(e){e=e||"abort";if(bJ){bJ.abort(e)}bD(0,e);return this}};function bD(bW,bU,bX,bT){if(by===2){return}by=2;if(bC){clearTimeout(bC)}bJ=L;bO=bT||"";bH.readyState=bW?4:0;var bR,b1,b0,bV=bX?bh(bB,bH,bX):L,bS,bZ;if(bW>=200&&bW<300||bW===304){if(bB.ifModified){if((bS=bH.getResponseHeader("Last-Modified"))){b.lastModified[bA]=bS}if((bZ=bH.getResponseHeader("Etag"))){b.etag[bA]=bZ}}if(bW===304){bU="notmodified";bR=true}else{try{b1=G(bB,bV);bU="success";bR=true}catch(bY){bU="parsererror";b0=bY}}}else{b0=bU;if(!bU||bW){bU="error";if(bW<0){bW=0}}}bH.status=bW;bH.statusText=bU;if(bR){bP.resolveWith(bQ,[b1,bU,bH])}else{bP.rejectWith(bQ,[bH,bU,b0])}bH.statusCode(bz);bz=L;if(bu){bE.trigger("ajax"+(bR?"Success":"Error"),[bH,bB,bR?b1:b0])}bL.resolveWith(bQ,[bH,bU]);if(bu){bE.trigger("ajaxComplete",[bH,bB]);if(!(--b.active)){b.event.trigger("ajaxStop")}}}bP.promise(bH);bH.success=bH.done;bH.error=bH.fail;bH.complete=bL.done;bH.statusCode=function(bR){if(bR){var e;if(by<2){for(e in bR){bz[e]=[bz[e],bR[e]]}}else{e=bR[bH.status];bH.then(e,e)}}return this};bB.url=((bx||bB.url)+"").replace(bp,"").replace(c,t[1]+"//");bB.dataTypes=b.trim(bB.dataType||"*").toLowerCase().split(h);if(bB.crossDomain==null){bG=K.exec(bB.url.toLowerCase());bB.crossDomain=!!(bG&&(bG[1]!=t[1]||bG[2]!=t[2]||(bG[3]||(bG[1]==="http:"?80:443))!=(t[3]||(t[1]==="http:"?80:443))))}if(bB.data&&bB.processData&&typeof bB.data!=="string"){bB.data=b.param(bB.data,bB.traditional)}aR(Y,bB,bv,bH);if(by===2){return false}bu=bB.global;bB.type=bB.type.toUpperCase();bB.hasContent=!aM.test(bB.type);if(bu&&b.active++===0){b.event.trigger("ajaxStart")}if(!bB.hasContent){if(bB.data){bB.url+=(M.test(bB.url)?"&":"?")+bB.data}bA=bB.url;if(bB.cache===false){var bt=b.now(),bN=bB.url.replace(bq,"$1_="+bt);bB.url=bN+((bN===bB.url)?(M.test(bB.url)?"&":"?")+"_="+bt:"")}}if(bB.data&&bB.hasContent&&bB.contentType!==false||bv.contentType){bH.setRequestHeader("Content-Type",bB.contentType)}if(bB.ifModified){bA=bA||bB.url;if(b.lastModified[bA]){bH.setRequestHeader("If-Modified-Since",b.lastModified[bA])}if(b.etag[bA]){bH.setRequestHeader("If-None-Match",b.etag[bA])}}bH.setRequestHeader("Accept",bB.dataTypes[0]&&bB.accepts[bB.dataTypes[0]]?bB.accepts[bB.dataTypes[0]]+(bB.dataTypes[0]!=="*"?", */*; q=0.01":""):bB.accepts["*"]);for(bI in bB.headers){bH.setRequestHeader(bI,bB.headers[bI])}if(bB.beforeSend&&(bB.beforeSend.call(bQ,bH,bB)===false||by===2)){bH.abort();return false}for(bI in {success:1,error:1,complete:1}){bH[bI](bB[bI])}bJ=aR(s,bB,bv,bH);if(!bJ){bD(-1,"No Transport")}else{bH.readyState=1;if(bu){bE.trigger("ajaxSend",[bH,bB])}if(bB.async&&bB.timeout>0){bC=setTimeout(function(){bH.abort("timeout")},bB.timeout)}try{by=1;bJ.send(bF,bD)}catch(bK){if(status<2){bD(-1,bK)}else{b.error(bK)}}}return bH},param:function(e,bu){var bt=[],bw=function(bx,by){by=b.isFunction(by)?by():by;bt[bt.length]=encodeURIComponent(bx)+"="+encodeURIComponent(by)};if(bu===L){bu=b.ajaxSettings.traditional}if(b.isArray(e)||(e.jquery&&!b.isPlainObject(e))){b.each(e,function(){bw(this.name,this.value)})}else{for(var bv in e){w(bv,e[bv],bu,bw)}}return bt.join("&").replace(k,"+")}});function w(bu,bw,bt,bv){if(b.isArray(bw)){b.each(bw,function(by,bx){if(bt||am.test(bu)){bv(bu,bx)}else{w(bu+"["+(typeof bx==="object"||b.isArray(bx)?by:"")+"]",bx,bt,bv)}})}else{if(!bt&&bw!=null&&typeof bw==="object"){for(var e in bw){w(bu+"["+e+"]",bw[e],bt,bv)}}else{bv(bu,bw)}}}b.extend({active:0,lastModified:{},etag:{}});function bh(bB,bA,bx){var bt=bB.contents,bz=bB.dataTypes,bu=bB.responseFields,bw,by,bv,e;for(by in bu){if(by in bx){bA[bu[by]]=bx[by]}}while(bz[0]==="*"){bz.shift();if(bw===L){bw=bB.mimeType||bA.getResponseHeader("content-type")}}if(bw){for(by in bt){if(bt[by]&&bt[by].test(bw)){bz.unshift(by);break}}}if(bz[0] in bx){bv=bz[0]}else{for(by in bx){if(!bz[0]||bB.converters[by+" "+bz[0]]){bv=by;break}if(!e){e=by}}bv=bv||e}if(bv){if(bv!==bz[0]){bz.unshift(bv)}return bx[bv]}}function G(bF,bx){if(bF.dataFilter){bx=bF.dataFilter(bx,bF.dataType)}var bB=bF.dataTypes,bE={},by,bC,bu=bB.length,bz,bA=bB[0],bv,bw,bD,bt,e;for(by=1;by<bu;by++){if(by===1){for(bC in bF.converters){if(typeof bC==="string"){bE[bC.toLowerCase()]=bF.converters[bC]}}}bv=bA;bA=bB[by];if(bA==="*"){bA=bv}else{if(bv!=="*"&&bv!==bA){bw=bv+" "+bA;bD=bE[bw]||bE["* "+bA];if(!bD){e=L;for(bt in bE){bz=bt.split(" ");if(bz[0]===bv||bz[0]==="*"){e=bE[bz[1]+" "+bA];if(e){bt=bE[bt];if(bt===true){bD=e}else{if(e===true){bD=bt}}break}}}}if(!(bD||e)){b.error("No conversion from "+bw.replace(" "," to "))}if(bD!==true){bx=bD?bD(bx):e(bt(bx))}}}}return bx}var az=b.now(),v=/(\=)\?(&|$)|\?\?/i;b.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return b.expando+"_"+(az++)}});b.ajaxPrefilter("json jsonp",function(bB,by,bA){var bv=bB.contentType==="application/x-www-form-urlencoded"&&(typeof bB.data==="string");if(bB.dataTypes[0]==="jsonp"||bB.jsonp!==false&&(v.test(bB.url)||bv&&v.test(bB.data))){var bz,bu=bB.jsonpCallback=b.isFunction(bB.jsonpCallback)?bB.jsonpCallback():bB.jsonpCallback,bx=ba[bu],e=bB.url,bw=bB.data,bt="$1"+bu+"$2";if(bB.jsonp!==false){e=e.replace(v,bt);if(bB.url===e){if(bv){bw=bw.replace(v,bt)}if(bB.data===bw){e+=(/\?/.test(e)?"&":"?")+bB.jsonp+"="+bu}}}bB.url=e;bB.data=bw;ba[bu]=function(bC){bz=[bC]};bA.always(function(){ba[bu]=bx;if(bz&&b.isFunction(bx)){ba[bu](bz[0])}});bB.converters["script json"]=function(){if(!bz){b.error(bu+" was not called")}return bz[0]};bB.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===L){e.cache=false}if(e.crossDomain){e.type="GET";e.global=false}});b.ajaxTransport("script",function(bu){if(bu.crossDomain){var e,bt=ar.head||ar.getElementsByTagName("head")[0]||ar.documentElement;return{send:function(bv,bw){e=ar.createElement("script");e.async="async";if(bu.scriptCharset){e.charset=bu.scriptCharset}e.src=bu.url;e.onload=e.onreadystatechange=function(by,bx){if(bx||!e.readyState||/loaded|complete/.test(e.readyState)){e.onload=e.onreadystatechange=null;if(bt&&e.parentNode){bt.removeChild(e)}e=L;if(!bx){bw(200,"success")}}};bt.insertBefore(e,bt.firstChild)},abort:function(){if(e){e.onload(0,1)}}}}});var C=ba.ActiveXObject?function(){for(var e in N){N[e](0,1)}}:false,z=0,N;function aI(){try{return new ba.XMLHttpRequest()}catch(bt){}}function ag(){try{return new ba.ActiveXObject("Microsoft.XMLHTTP")}catch(bt){}}b.ajaxSettings.xhr=ba.ActiveXObject?function(){return !this.isLocal&&aI()||ag()}:aI;(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 bt;return{send:function(bz,bu){var by=e.xhr(),bx,bw;if(e.username){by.open(e.type,e.url,e.async,e.username,e.password)}else{by.open(e.type,e.url,e.async)}if(e.xhrFields){for(bw in e.xhrFields){by[bw]=e.xhrFields[bw]}}if(e.mimeType&&by.overrideMimeType){by.overrideMimeType(e.mimeType)}if(!e.crossDomain&&!bz["X-Requested-With"]){bz["X-Requested-With"]="XMLHttpRequest"}try{for(bw in bz){by.setRequestHeader(bw,bz[bw])}}catch(bv){}by.send((e.hasContent&&e.data)||null);bt=function(bI,bC){var bD,bB,bA,bG,bF;try{if(bt&&(bC||by.readyState===4)){bt=L;if(bx){by.onreadystatechange=b.noop;if(C){delete N[bx]}}if(bC){if(by.readyState!==4){by.abort()}}else{bD=by.status;bA=by.getAllResponseHeaders();bG={};bF=by.responseXML;if(bF&&bF.documentElement){bG.xml=bF}bG.text=by.responseText;try{bB=by.statusText}catch(bH){bB=""}if(!bD&&e.isLocal&&!e.crossDomain){bD=bG.text?200:404}else{if(bD===1223){bD=204}}}}}catch(bE){if(!bC){bu(-1,bE)}}if(bG){bu(bD,bB,bG,bA)}};if(!e.async||by.readyState===4){bt()}else{bx=++z;if(C){if(!N){N={};b(ba).unload(C)}N[bx]=bt}by.onreadystatechange=bt}},abort:function(){if(bt){bt(0,1)}}}}})}var R={},a7,n,ay=/^(?:toggle|show|hide)$/,aO=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,a0,aE=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],a2,S=ba.webkitRequestAnimationFrame||ba.mozRequestAnimationFrame||ba.oRequestAnimationFrame;b.fn.extend({show:function(bv,by,bx){var bu,bw;if(bv||bv===0){return this.animate(aY("show",3),bv,by,bx)}else{for(var bt=0,e=this.length;bt<e;bt++){bu=this[bt];if(bu.style){bw=bu.style.display;if(!b._data(bu,"olddisplay")&&bw==="none"){bw=bu.style.display=""}if(bw===""&&b.css(bu,"display")==="none"){b._data(bu,"olddisplay",y(bu.nodeName))}}}for(bt=0;bt<e;bt++){bu=this[bt];if(bu.style){bw=bu.style.display;if(bw===""||bw==="none"){bu.style.display=b._data(bu,"olddisplay")||""}}}return this}},hide:function(bu,bx,bw){if(bu||bu===0){return this.animate(aY("hide",3),bu,bx,bw)}else{for(var bt=0,e=this.length;bt<e;bt++){if(this[bt].style){var bv=b.css(this[bt],"display");if(bv!=="none"&&!b._data(this[bt],"olddisplay")){b._data(this[bt],"olddisplay",bv)}}}for(bt=0;bt<e;bt++){if(this[bt].style){this[bt].style.display="none"}}return this}},_toggle:b.fn.toggle,toggle:function(bu,bt,bv){var e=typeof bu==="boolean";if(b.isFunction(bu)&&b.isFunction(bt)){this._toggle.apply(this,arguments)}else{if(bu==null||e){this.each(function(){var bw=e?bu:b(this).is(":hidden");b(this)[bw?"show":"hide"]()})}else{this.animate(aY("toggle",3),bu,bt,bv)}}return this},fadeTo:function(e,bv,bu,bt){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:bv},e,bu,bt)},animate:function(bw,bt,bv,bu){var e=b.speed(bt,bv,bu);if(b.isEmptyObject(bw)){return this.each(e.complete,[false])}bw=b.extend({},bw);return this[e.queue===false?"each":"queue"](function(){if(e.queue===false){b._mark(this)}var bA=b.extend({},e),bH=this.nodeType===1,bE=bH&&b(this).is(":hidden"),bx,bB,bz,bG,bF,bD,by,bC,bI;bA.animatedProperties={};for(bz in bw){bx=b.camelCase(bz);if(bz!==bx){bw[bx]=bw[bz];delete bw[bz]}bB=bw[bx];if(b.isArray(bB)){bA.animatedProperties[bx]=bB[1];bB=bw[bx]=bB[0]}else{bA.animatedProperties[bx]=bA.specialEasing&&bA.specialEasing[bx]||bA.easing||"swing"}if(bB==="hide"&&bE||bB==="show"&&!bE){return bA.complete.call(this)}if(bH&&(bx==="height"||bx==="width")){bA.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){this.style.display="inline-block"}else{bG=y(this.nodeName);if(bG==="inline"){this.style.display="inline-block"}else{this.style.display="inline";this.style.zoom=1}}}}}if(bA.overflow!=null){this.style.overflow="hidden"}for(bz in bw){bF=new b.fx(this,bA,bz);bB=bw[bz];if(ay.test(bB)){bF[bB==="toggle"?bE?"show":"hide":bB]()}else{bD=aO.exec(bB);by=bF.cur();if(bD){bC=parseFloat(bD[2]);bI=bD[3]||(b.cssNumber[bz]?"":"px");if(bI!=="px"){b.style(this,bz,(bC||1)+bI);by=((bC||1)/bF.cur())*by;b.style(this,bz,by+bI)}if(bD[1]){bC=((bD[1]==="-="?-1:1)*bC)+by}bF.custom(by,bC,bI)}else{bF.custom(by,bB,"")}}}return true})},stop:function(bt,e){if(bt){this.queue([])}this.each(function(){var bv=b.timers,bu=bv.length;if(!e){b._unmark(true,this)}while(bu--){if(bv[bu].elem===this){if(e){bv[bu](true)}bv.splice(bu,1)}}});if(!e){this.dequeue()}return this}});function be(){setTimeout(ap,0);return(a2=b.now())}function ap(){a2=L}function aY(bt,e){var bu={};b.each(aE.concat.apply([],aE.slice(0,e)),function(){bu[this]=bt});return bu}b.each({slideDown:aY("show",1),slideUp:aY("hide",1),slideToggle:aY("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,bt){b.fn[e]=function(bu,bw,bv){return this.animate(bt,bu,bw,bv)}});b.extend({speed:function(bu,bv,bt){var e=bu&&typeof bu==="object"?b.extend({},bu):{complete:bt||!bt&&bv||b.isFunction(bu)&&bu,duration:bu,easing:bt&&bv||bv&&!b.isFunction(bv)&&bv};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;e.old=e.complete;e.complete=function(bw){if(b.isFunction(e.old)){e.old.call(this)}if(e.queue!==false){b.dequeue(this)}else{if(bw!==false){b._unmark(this)}}};return e},easing:{linear:function(bu,bv,e,bt){return e+bt*bu},swing:function(bu,bv,e,bt){return((-Math.cos(bu*Math.PI)/2)+0.5)*bt+e}},timers:[],fx:function(bt,e,bu){this.options=e;this.elem=bt;this.prop=bu;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,bt=b.css(this.elem,this.prop);return isNaN(e=parseFloat(bt))?!bt||bt==="auto"?0:bt:e},custom:function(by,bx,bv){var e=this,bu=b.fx,bw;this.startTime=a2||be();this.start=by;this.end=bx;this.unit=bv||this.unit||(b.cssNumber[this.prop]?"":"px");this.now=this.start;this.pos=this.state=0;function bt(bz){return e.step(bz)}bt.elem=this.elem;if(bt()&&b.timers.push(bt)&&!a0){if(S){a0=true;bw=function(){if(a0){S(bw);bu.tick()}};S(bw)}else{a0=setInterval(bu.tick,bu.interval)}}},show:function(){this.options.orig[this.prop]=b.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());b(this.elem).show()},hide:function(){this.options.orig[this.prop]=b.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(bw){var bv=a2||be(),e=true,bx=this.elem,bt=this.options,bu,bz;if(bw||bv>=bt.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();bt.animatedProperties[this.prop]=true;for(bu in bt.animatedProperties){if(bt.animatedProperties[bu]!==true){e=false}}if(e){if(bt.overflow!=null&&!b.support.shrinkWrapBlocks){b.each(["","X","Y"],function(bA,bB){bx.style["overflow"+bB]=bt.overflow[bA]})}if(bt.hide){b(bx).hide()}if(bt.hide||bt.show){for(var by in bt.animatedProperties){b.style(bx,by,bt.orig[by])}}bt.complete.call(bx)}return false}else{if(bt.duration==Infinity){this.now=bv}else{bz=bv-this.startTime;this.state=bz/bt.duration;this.pos=b.easing[bt.animatedProperties[this.prop]](this.state,bz,0,1,bt.duration);this.now=this.start+((this.end-this.start)*this.pos)}this.update()}return true}};b.extend(b.fx,{tick:function(){for(var bt=b.timers,e=0;e<bt.length;++e){if(!bt[e]()){bt.splice(e--,1)}}if(!bt.length){b.fx.stop()}},interval:13,stop:function(){clearInterval(a0);a0=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.prop==="width"||e.prop==="height"?Math.max(0,e.now):e.now)+e.unit}else{e.elem[e.prop]=e.now}}}});if(b.expr&&b.expr.filters){b.expr.filters.animated=function(e){return b.grep(b.timers,function(bt){return e===bt.elem}).length}}function y(bv){if(!R[bv]){var e=ar.body,bt=b("<"+bv+">").appendTo(e),bu=bt.css("display");bt.remove();if(bu==="none"||bu===""){if(!a7){a7=ar.createElement("iframe");a7.frameBorder=a7.width=a7.height=0}e.appendChild(a7);if(!n||!a7.createElement){n=(a7.contentWindow||a7.contentDocument).document;n.write((ar.compatMode==="CSS1Compat"?"<!doctype html>":"")+"<html><body>");n.close()}bt=n.createElement(bv);n.body.appendChild(bt);bu=b.css(bt,"display");e.removeChild(a7)}R[bv]=bu}return R[bv]}var V=/^t(?:able|d|h)$/i,ab=/^(?:body|html)$/i;if("getBoundingClientRect" in ar.documentElement){b.fn.offset=function(bG){var bw=this[0],bz;if(bG){return this.each(function(e){b.offset.setOffset(this,bG,e)})}if(!bw||!bw.ownerDocument){return null}if(bw===bw.ownerDocument.body){return b.offset.bodyOffset(bw)}try{bz=bw.getBoundingClientRect()}catch(bD){}var bF=bw.ownerDocument,bu=bF.documentElement;if(!bz||!b.contains(bu,bw)){return bz?{top:bz.top,left:bz.left}:{top:0,left:0}}var bA=bF.body,bB=aH(bF),by=bu.clientTop||bA.clientTop||0,bC=bu.clientLeft||bA.clientLeft||0,bt=bB.pageYOffset||b.support.boxModel&&bu.scrollTop||bA.scrollTop,bx=bB.pageXOffset||b.support.boxModel&&bu.scrollLeft||bA.scrollLeft,bE=bz.top+bt-by,bv=bz.left+bx-bC;return{top:bE,left:bv}}}else{b.fn.offset=function(bD){var bx=this[0];if(bD){return this.each(function(bE){b.offset.setOffset(this,bD,bE)})}if(!bx||!bx.ownerDocument){return null}if(bx===bx.ownerDocument.body){return b.offset.bodyOffset(bx)}b.offset.initialize();var bA,bu=bx.offsetParent,bt=bx,bC=bx.ownerDocument,bv=bC.documentElement,by=bC.body,bz=bC.defaultView,e=bz?bz.getComputedStyle(bx,null):bx.currentStyle,bB=bx.offsetTop,bw=bx.offsetLeft;while((bx=bx.parentNode)&&bx!==by&&bx!==bv){if(b.offset.supportsFixedPosition&&e.position==="fixed"){break}bA=bz?bz.getComputedStyle(bx,null):bx.currentStyle;bB-=bx.scrollTop;bw-=bx.scrollLeft;if(bx===bu){bB+=bx.offsetTop;bw+=bx.offsetLeft;if(b.offset.doesNotAddBorder&&!(b.offset.doesAddBorderForTableAndCells&&V.test(bx.nodeName))){bB+=parseFloat(bA.borderTopWidth)||0;bw+=parseFloat(bA.borderLeftWidth)||0}bt=bu;bu=bx.offsetParent}if(b.offset.subtractsBorderForOverflowNotVisible&&bA.overflow!=="visible"){bB+=parseFloat(bA.borderTopWidth)||0;bw+=parseFloat(bA.borderLeftWidth)||0}e=bA}if(e.position==="relative"||e.position==="static"){bB+=by.offsetTop;bw+=by.offsetLeft}if(b.offset.supportsFixedPosition&&e.position==="fixed"){bB+=Math.max(bv.scrollTop,by.scrollTop);bw+=Math.max(bv.scrollLeft,by.scrollLeft)}return{top:bB,left:bw}}}b.offset={initialize:function(){var e=ar.body,bt=ar.createElement("div"),bw,by,bx,bz,bu=parseFloat(b.css(e,"marginTop"))||0,bv="<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";b.extend(bt.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"});bt.innerHTML=bv;e.insertBefore(bt,e.firstChild);bw=bt.firstChild;by=bw.firstChild;bz=bw.nextSibling.firstChild.firstChild;this.doesNotAddBorder=(by.offsetTop!==5);this.doesAddBorderForTableAndCells=(bz.offsetTop===5);by.style.position="fixed";by.style.top="20px";this.supportsFixedPosition=(by.offsetTop===20||by.offsetTop===15);by.style.position=by.style.top="";bw.style.overflow="hidden";bw.style.position="relative";this.subtractsBorderForOverflowNotVisible=(by.offsetTop===-5);this.doesNotIncludeMarginInBodyOffset=(e.offsetTop!==bu);e.removeChild(bt);b.offset.initialize=b.noop},bodyOffset:function(e){var bu=e.offsetTop,bt=e.offsetLeft;b.offset.initialize();if(b.offset.doesNotIncludeMarginInBodyOffset){bu+=parseFloat(b.css(e,"marginTop"))||0;bt+=parseFloat(b.css(e,"marginLeft"))||0}return{top:bu,left:bt}},setOffset:function(bv,bE,by){var bz=b.css(bv,"position");if(bz==="static"){bv.style.position="relative"}var bx=b(bv),bt=bx.offset(),e=b.css(bv,"top"),bC=b.css(bv,"left"),bD=(bz==="absolute"||bz==="fixed")&&b.inArray("auto",[e,bC])>-1,bB={},bA={},bu,bw;if(bD){bA=bx.position();bu=bA.top;bw=bA.left}else{bu=parseFloat(e)||0;bw=parseFloat(bC)||0}if(b.isFunction(bE)){bE=bE.call(bv,by,bt)}if(bE.top!=null){bB.top=(bE.top-bt.top)+bu}if(bE.left!=null){bB.left=(bE.left-bt.left)+bw}if("using" in bE){bE.using.call(bv,bB)}else{bx.css(bB)}}};b.fn.extend({position:function(){if(!this[0]){return null}var bu=this[0],bt=this.offsetParent(),bv=this.offset(),e=ab.test(bt[0].nodeName)?{top:0,left:0}:bt.offset();bv.top-=parseFloat(b.css(bu,"marginTop"))||0;bv.left-=parseFloat(b.css(bu,"marginLeft"))||0;e.top+=parseFloat(b.css(bt[0],"borderTopWidth"))||0;e.left+=parseFloat(b.css(bt[0],"borderLeftWidth"))||0;return{top:bv.top-e.top,left:bv.left-e.left}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||ar.body;while(e&&(!ab.test(e.nodeName)&&b.css(e,"position")==="static")){e=e.offsetParent}return e})}});b.each(["Left","Top"],function(bt,e){var bu="scroll"+e;b.fn[bu]=function(bx){var bv,bw;if(bx===L){bv=this[0];if(!bv){return null}bw=aH(bv);return bw?("pageXOffset" in bw)?bw[bt?"pageYOffset":"pageXOffset"]:b.support.boxModel&&bw.document.documentElement[bu]||bw.document.body[bu]:bv[bu]}return this.each(function(){bw=aH(this);if(bw){bw.scrollTo(!bt?bx:b(bw).scrollLeft(),bt?bx:b(bw).scrollTop())}else{this[bu]=bx}})}});function aH(e){return b.isWindow(e)?e:e.nodeType===9?e.defaultView||e.parentWindow:false}b.each(["Height","Width"],function(bt,e){var bu=e.toLowerCase();b.fn["inner"+e]=function(){var bv=this[0];return bv&&bv.style?parseFloat(b.css(bv,bu,"padding")):null};b.fn["outer"+e]=function(bw){var bv=this[0];return bv&&bv.style?parseFloat(b.css(bv,bu,bw?"margin":"border")):null};b.fn[bu]=function(bw){var bx=this[0];if(!bx){return bw==null?null:this}if(b.isFunction(bw)){return this.each(function(bB){var bA=b(this);bA[bu](bw.call(this,bB,bA[bu]()))})}if(b.isWindow(bx)){var by=bx.document.documentElement["client"+e];return bx.document.compatMode==="CSS1Compat"&&by||bx.document.body["client"+e]||by}else{if(bx.nodeType===9){return Math.max(bx.documentElement["client"+e],bx.body["scroll"+e],bx.documentElement["scroll"+e],bx.body["offset"+e],bx.documentElement["offset"+e])}else{if(bw===L){var bz=b.css(bx,bu),bv=parseFloat(bz);return b.isNaN(bv)?bz:bv}else{return this.css(bu,typeof bw==="string"?bw:bw+"px")}}}}});ba.jQuery=ba.$=b})(window);
/*
* JSTween JavaScript Library v1.0
* http://www.jstween.org/
*
* Copyright 2011, Marco Wolfsheimer
* JSTween by Marco Wolfsheimer is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
*
* Date: Sun Mar 13 12:46:40 2011 -0000
*/
var JSTween=(function(e){var d=/[\-]{0,1}[0-9\.]{1,}|#[0-9\.abcdef]{3,6}/gi,r=/[pxemtcin%]{1,2}|deg/gi,p=/[0-9\.\-]{1,}/gi,a=/[0-9a-f]{3,6}/gi,j=/^#/,f=/^[0-9\.\-]{1,}([pxemtcin%]{1,2}|deg)$/,m=/[a-z]{1,}/,q=/^rgb\(/,c=/^scroll/,g=/-([a-z])/ig,u=/^-ms/ig,o={opacity:["opacity","-moz-opacity","filter"],shadow:["box-shadow","-moz-box-shadow","-o-box-shadow","-ms-box-shadow","-webkit-box-shadow"],transform:["-moz-transform","transform","-o-transform","-ms-transform","-webkit-transform"],transformOrigin:["-moz-transform-origin","transform-origin","-o-transform-origin","-ms-transform-origin","-webkit-transform-origin"],borderRadius:["-moz-border-radius","border-radius","-webkit-border-radius"],borderRadiusTopLeft:["-moz-border-radius-topleft","border-top-left-radius","-webkit-border-top-left-radius"],borderRadiusTopRight:["-moz-border-radius-topright","border-top-right-radius","-webkit-border-top-right-radius"],borderRadiusBottomLeft:["-moz-border-radius-bottomleft","border-bottom-left-radius","-webkit-border-bottom-left-radius"],borderRadiusBottomRight:["-moz-border-radius-bottomright","border-bottom-right-radius","-webkit-border-bottom-right-radius"],backgroundSize:["background-size","-moz-background-size","-o-background-size","-webkit-background-size"]},t={},l=[],h=0,n=0,v=false,b=false,k=0,s={};e.init=function(){e.framerate(45);e.cssSupport();try{e.attach()}catch(w){return}};e.attach=function(){jQuery.JSTween=e;jQuery.fn.tween=function(w){var x,y=this.length;for(x=0;x<y;x++){jQuery.JSTween.tween(this[x],w)}return this};jQuery.framerate=function(w){jQuery.JSTween.framerate(w)};jQuery.play=function(){jQuery.JSTween.play()};jQuery.clear=function(w,x){jQuery.JSTween.clear(w,x)};jQuery.fn.play=function(){jQuery.JSTween.play();return this};jQuery.fn.clear=function(y){var w,x=this.length;for(w=0;w<x;w++){jQuery.JSTween.clear(this[w],y)}return this};jQuery.fn.property=function(w){var z=[],x,y=this.length;for(x=0;x<y;x++){z.push(jQuery.JSTween.property(this[x],w))}return z.length===1?z[0]:z};jQuery.fn.opacity=function(y){var w,x=this.length;for(w=0;w<x;w++){jQuery.JSTween.opacity(this[w],y)}return this};jQuery.fn.alpha=jQuery.fn.opacity;jQuery.fn.transparency=jQuery.fn.opacity;jQuery.fn.rotate=function(y){var w,x=this.length;for(w=0;w<x;w++){jQuery.JSTween.rotate(this[w],y)}return this};jQuery.fn.action=function(B,C,A,E){var D,w,z,x=this.length,y={};if(typeof B==="object"){for(w in B){if(B.hasOwnProperty(w)&&typeof B[w]==="string"){if(B[w].match(f)){y[w]={value:parseFloat(B[w].match(p)[0],10),units:B[w].match(r)[0]}}else{y[w]={value:B[w],units:undefined}}}}for(z=0;z<x;z++){D=jQuery.JSTween.register(this[z]);for(w in y){if(y.hasOwnProperty(w)){jQuery.JSTween.action(D,w,y[w].value,y[w].units,undefined,true)}}}}else{for(z=0;z<x;z++){jQuery.JSTween.action(jQuery.JSTween.register(this[z]),B,C,A,E,true)}}return this};jQuery.fn.state=function(w){if(this.length>0){if(this[0].__animate!==undefined){if(w!==undefined&&this[0].__animate.state[w]!==undefined){return this[0].__animate.state[w]}else{if(w===undefined){return this[0].__animate.state}}}}};jQuery.fn.transform=function(y){var w,x=this.length;for(w=0;w<x;w++){jQuery.JSTween.transform(this[w],y)}return this};jQuery.fn.transformOrigin=function(y){var w,x=this.length;for(w=0;w<x;w++){jQuery.JSTween.transformOrigin(this[w],y)}return this};jQuery.fn.backgroundSize=function(y){var w,x=this.length;for(w=0;w<x;w++){jQuery.JSTween.backgroundSize(this[w],y)}return this};jQuery.fn.shadow=function(y){var w,x=this.length;for(w=0;w<x;w++){jQuery.JSTween.shadow(this[w],y)}return this};jQuery.fn.borderRadius=function(z,w){var x,y=this.length;for(x=0;x<y;x++){jQuery.JSTween.borderRadius(this[x],z,w)}return this};jQuery.fn.borderRadiusTopRight=function(z,w){var x,y=this.length;for(x=0;x<y;x++){jQuery.JSTween.borderRadiusCorner(this[x],"top","right",z,w)}return this};jQuery.fn.borderRadiusTopLeft=function(z,w){var x,y=this.length;for(x=0;x<y;x++){jQuery.JSTween.borderRadiusCorner(this[x],"top","left",z,w)}return this};jQuery.fn.borderRadiusBottomRight=function(z,w){var x,y=this.length;for(x=0;x<y;x++){jQuery.JSTween.borderRadiusCorner(this[x],"bottom","right",z,w)}return this};jQuery.fn.borderRadiusBottomLeft=function(z,w){var x,y=this.length;for(x=0;x<y;x++){jQuery.JSTween.borderRadiusCorner(this[x],"bottom","left",z,w)}return this};jQuery.fn.borderRadiusCorner=function(B,y,A,w){var x,z=this.length;for(x=0;x<this.length;x++){jQuery.JSTween.borderRadiusCorner(this[x],B,y,A,w)}return this}};e.upperCase=function(w,x){return x.toUpperCase()};e.camelCase=function(w){return w.replace(u,"ms").replace(g,e.upperCase)};e.framerate=function(w){s.frameRate=w||45;s.frameDelay=Math.round(1000/s.frameRate);s.frameLength=(1/s.frameRate)};e.cssSupport=function(){var x=document.getElementsByTagName("html"),w,y;if(x[0]!==undefined){w=x[0].style;for(y in o){if(o.hasOwnProperty(y)){for(i=0;i<o[y].length;i++){if(w[o[y][i]]!==undefined){o[y]=o[y][i];break}else{if(w[e.camelCase(o[y][i])]!==undefined){o[y]=e.camelCase(o[y][i]);break}}}}}}};e.property=function(x,w){if(x.__animate!==undefined){if(w===undefined){return x.__animate.state}else{if(x.__animate.state[w]){return x.__animate.state[w]}else{return false}}}else{return false}};e.getScroll=function(x,y,w){if(x.tagName===undefined&&(x.scroll!==undefined||x.scrollTo!==undefined)){return $(x).scrollLeft()+"px "+$(x).scrollTop()+"px"}else{return x.scrollLeft+"px "+x.scrollTop+"px"}};e.getComputedStyle=function(B,D,A){var z=e.property(B,D),y,C,x,w;if(z!==false&&!D.match(c)){return{value:z.value,units:B.__animate.state[D].units}}else{switch(D){case"transform":C=A;break;case"transformOrigin":C=A;break;case"shadow":C=A;break;case"boxShadow":C=A;break;case"backgroundSize":C=A;break;case"opacity":C=100;break;case"transparency":C=100;break;case"alpha":C=100;break;case"scrollLeft":C=e.getScroll(B,D,A);break;case"scrollTop":C=e.getScroll(B,D,A);break;case"scroll":C=e.getScroll(B,D,A);break;case"scrollTo":C=e.getScroll(B,D,A);break;default:if(window.getComputedStyle!==undefined){y=window.getComputedStyle(B,null)[D]}else{if(B.currentStyle!==undefined){y=B.currentStyle[D]}}if(y==="auto"||y===undefined||y===""){C=0;x="px"}else{if(y.match(q)){C=e.convertRGBToHex(y)}else{C=parseFloat(y.match(p),10);x=y.match(r)}}break}return{value:C,units:x}}};e.parseOptions=function(y,x){var A={},z,w;for(z in x){if(x.hasOwnProperty(z)&&z!=="onStart"&&z!=="onStop"&&z!=="onFrame"){A[z]={};if(x[z].start===undefined){w=e.getComputedStyle(y,z,x[z].stop);A[z].start=w.value}else{A[z].start=e.parseProperty(x[z].start)}A[z].stop=e.parseProperty(x[z].stop,1);A[z].duration=e.parseProperty(x[z].duration||A[z].dur,1);A[z].time=e.parseProperty(x[z].time,0);A[z].merge=e.parseProperty(x[z].merge,false);A[z].effect=e.parseProperty(x[z].effect,"linear");A[z].framerate=e.parseProperty(x[z].framerate,s.frameRate);A[z].units=e.parseProperty(x[z].units,w?w.units:"px");A[z].end=e.parseProperty(x[z].end,(A[z].time+A[z].duration));if(z.match(c)){if(typeof A[z].start==="number"){A[z].start=A[z].start+"px "+A[z].start+"px"}if(typeof A[z].stop==="number"){A[z].stop=A[z].stop+"px "+A[z].stop+"px"}}A[z].callback={onStart:x[z].onStart,onFrame:x[z].onFrame,onStop:x[z].onStop}}}return A};e.parseProperty=function(x,w){if(typeof x==="function"){return x()}else{if(x!==undefined){return x}else{return w}}};e.convertRGBToHex=function(x){var A=x.match(p),z,y,w;z=parseInt(A[0],10).toString(16);if(z.length===1){z="0"+z}y=parseInt(A[1],10).toString(16);if(y.length===1){y="0"+y}w=parseInt(A[2],10).toString(16);if(w.length===1){w="0"+w}return"#"+z+y+w};e.parseColor=function(w){if(w.length===3){return[parseInt(w.substr(0,1),16)*16,parseInt(w.substr(1,1),16)*16,parseInt(w.substr(2,1),16)*16]}else{return[parseInt(w.substr(0,2),16),parseInt(w.substr(2,2),16),parseInt(w.substr(4,2),16)]}};e.parseCSSProperty=function(A){var x=A.match(d),z=A.split(d),w=[],B,y=x.length;for(B=0;B<y;B++){if(x[B].match(j)){x[B]=e.parseColor(x[B].match(a)[0])}else{x[B]=parseFloat(x[B].match(p)[0],10)}}return{value:x,delimiter:z}};e.mergeStringProperty=function(w,E,G,H,z,B){var F="",A="",D,y,x=w.value.length,C=0;for(D=0;D<x;D++){if(typeof w.value[D]==="object"&&w.value[D].length!==undefined){F+=w.delimiter[D]+"#";C=w.value[D].length;for(y=0;y<C;y++){A=Math.round(e.effects[H.effect]((z-H.time),w.value[D][y],(E.value[D][y]-w.value[D][y]),(B-H.time)),10).toString(16);if(A.length===1){A="0"+A}F+=A}}else{F+=w.delimiter[D]+e.effects[H.effect]((z-H.time),w.value[D],(E.value[D]-w.value[D]),(B-H.time))}}return F+w.delimiter[w.delimiter.length-1]};e.loopStringFrames=function(F,G,x){var w,H=e.parseCSSProperty(x.start),y=e.parseCSSProperty(x.stop),A,C,D,z,E=s.frameLength,B=x.end;w=z=Math.round(s.frameRate/x.framerate-1);for(A=x.time;A<B;A+=E){C=h+Math.round(A*s.frameRate);if(w===0){D=e.mergeStringProperty(H,y,G,x,A,x.end);e.makeFrame(C,F,G,D,x.units,false,false);w=z}else{e.makeFrame(C,F,G);w--}}C=h+(Math.round(x.end*s.frameRate));e.makeFrame(C,F,G,x.stop,x.units,false,true)};e.loopFrames=function(E,F,x){var w,z,B,C,y,D=s.frameLength,A=x.end;w=y=Math.round(s.frameRate/x.framerate-1);for(z=x.time;z<A;z+=D){B=h+(Math.round(z*s.frameRate));if(w===0){C=e.effects[x.effect]((z-x.time),x.start,(x.stop-x.start),(x.end-x.time));e.makeFrame(B,E,F,C,x.units,false,false);w=y}else{e.makeFrame(B,E,F);w--}}B=h+(Math.round(x.end*s.frameRate));e.makeFrame(B,E,F,x.stop,x.units,false,true)};e.getTimeBounds=function(w){var x={start:0,stop:0},y;for(y in w){if(w.hasOwnProperty(y)){if(w[y].end>x.stop){x.stop=w[y].end}}}x.start=x.stop;for(y in w){if(w.hasOwnProperty(y)){if(w[y].time<x.start){x.start=w[y].time}}}return x};e.tween=function(C,z){var D=e.register(C),B=0,A=0,F,x,y=0,G=e.parseOptions(C,z),E,w=e.getTimeBounds(G);for(E in G){if(G.hasOwnProperty(E)){if(typeof G[E].start==="string"){e.loopStringFrames(D,E,G[E])}else{e.loopFrames(D,E,G[E])}if(typeof G[E].callback.onStart==="function"){e.addCallback(h+(Math.round(G[E].time*s.frameRate)),D,E,G[E].callback.onStart)}if(typeof G[E].callback.onFrame==="function"){for(A=G[E].time;A<G[E].end;A+=s.frameLength){B=h+(Math.round(A*s.frameRate));e.addCallback(B,D,E,G[E].callback.onFrame)}}if(typeof G[E].callback.onStop==="function"){e.addCallback(h+(Math.round(G[E].end*s.frameRate)),D,E,G[E].callback.onStop)}B=h+(Math.round(G[E].end*s.frameRate));if(B>n){n=B}}}if(typeof z.onStart==="function"){e.addCallback(h+(Math.round(w.start*s.frameRate)),D,"callback",z.onStart)}if(typeof z.onFrame==="function"){for(frame=h+Math.round(w.start*s.frameRate);frame<=h+Math.round(w.stop*s.frameRate);frame++){e.addCallback(frame,D,"callback",z.onFrame)}}if(typeof z.onStop==="function"){e.addCallback(h+(Math.round(w.stop*s.frameRate)),D,"callback",z.onStop)}};e.makeFrame=function(B,w,y,A,x,C,z){if(w!==undefined){if(t[B]===undefined){t[B]={};t[B][w]={};t[B][w][y]={value:A,units:x,callback:[],skip:z}}else{if(t[B][w]===undefined){t[B][w]={};t[B][w][y]={value:A,units:x,callback:[],skip:z}}else{if(t[B][w][y]===undefined){t[B][w][y]={value:A,units:x,callback:[],skip:z}}else{if(A!==false){t[B][w][y].value=A}if(x!==false){t[B][w][y].units=x}t[B][w][y].skip=z}}}if(typeof C==="function"){t[B][w][y].callback.push(C)}}else{if(t[B]===undefined){t[B]={}}}};e.addCallback=function(y,w,x,z){e.makeFrame(y,w,x,false,false,z,true)};e.play=function(){if(v===false){b=false;v=true;k=e.timestamp();e.playHead()}};e.clear=function(w,x){var y;if(w!==undefined&&x!==undefined&&w.__animate!==undefined){for(y in t){if(t.hasOwnProperty(y)&&t[y][w.__animate.id]!==undefined&&t[y][w.__animate.id][x]!==undefined){delete t[y][w.__animate.id][x]}}}else{if(w!==undefined&&w.__animate!==undefined){for(y in t){if(t.hasOwnProperty(y)&&t[y][w.__animate.id]!==undefined){delete t[y][w.__animate.id]}}}else{for(y in t){if(t.hasOwnProperty(y)){delete t[y]}}}}};e.timestamp=function(){var w=new Date();return w.getTime()};e.playHead=function(){var z,w,y,x;if(h<=n){x=(s.frameDelay-((e.timestamp()-k)-(h*s.frameDelay)));if(x<0){x=0}else{if(x>s.frameDelay){x=s.frameDelay}}setTimeout(function(){e.playHead(x?true:false)},x);for(w in t[h]){if(t[h].hasOwnProperty(w)){z=t[h][w];for(y in z){if(z.hasOwnProperty(y)){e.action(w,y,z[y].value,z[y].units,z[y].callback,(z[y].skip===true?true:(x?true:false)))}}}}delete t[h];h++;b=e.timestamp()}else{b=v=false;h=0}};e.action=function(w,z,A,x,B,y){if(y===true&&A!==false){switch(z){case"zIndex":l[w].style.zIndex=A;break;case"alpha":e.opacity(l[w],A);break;case"transparency":e.opacity(l[w],A);break;case"opacity":e.opacity(l[w],A);break;case"scroll":e.scroll(l[w],z,A);break;case"scrollTop":e.scroll(l[w],z,A);break;case"scrollLeft":e.scroll(l[w],z,A);break;case"scrollTo":e.scroll(l[w],z,A);break;case"shadow":e.shadow(l[w],A);break;case"boxShadow":e.shadow(l[w],A);break;case"rotate":e.rotate(l[w],A);break;case"transformOrigin":e.transformOrigin(l[w],A);break;case"transform":e.transform(l[w],A);break;case"backgroundSize":e.backgroundSize(l[w],A);break;case"borderRadius":e.borderRadius(l[w],A,x);break;case"borderRadiusTopRight":e.borderRadiusCorner(l[w],"top","right",A,x);break;case"borderRadiusTopLeft":e.borderRadiusCorner(l[w],"top","left",A,x);break;case"borderRadiusBottomRight":e.borderRadiusCorner(l[w],"bottom","right",A,x);break;case"borderRadiusBottomLeft":e.borderRadiusCorner(l[w],"bottom","left",A,x);break;default:if(typeof A==="string"){l[w].style[z]=A}else{l[w].style[z]=A+x}break}}l[w].__animate.state[z]={value:A,units:x};if(B!==undefined&&B.length>0){for(i=0;i<B.length;i++){if(typeof B[i]==="function"){B[i](l[w],{type:z,value:A,units:x,id:w})}}}};e.scroll=function(x,z,y){var w;if(x.tagName===undefined&&(typeof x.scroll==="function"||typeof x.scrollTo==="function")&&typeof y==="string"){w=y.match(p);if(w){if(self.pageYOffset){window.scroll(parseInt(w[0],10),parseInt(w[1],10))}else{if(document.documentElement&&document.documentElement.scrollTop){window.scrollTo(parseInt(w[0],10),parseInt(w[1],10))}else{if(document.body){window.scrollTo(parseInt(w[0],10),parseInt(w[1],10))}}}}}else{if(typeof y==="string"){w=y.match(p)}else{w=[y,y]}if(z==="scrollTop"){x.scrollTop=parseInt(w[1],10)}else{if(z==="scrollLeft"){x.scrollLeft=parseInt(w[0],10)}else{x.scrollLeft=parseInt(w[0],10);x.scrollTop=parseInt(w[1],10)}}}};e.setProperty=function(x,z,y,w){x.style[z]=y+(w?w:"")};e.opacity=function(w,x){if(o.opacity==="filter"){e.setProperty(w,"filter","alpha(opacity="+x+")")}else{e.setProperty(w,o.opacity,(x/100))}};e.shadow=function(w,x){e.setProperty(w,o.shadow,x)};e.rotate=function(w,x){e.setProperty(w,o.transform,"rotate("+x+"deg)")};e.transform=function(w,x){e.setProperty(w,o.transform,x)};e.backgroundSize=function(w,x){e.setProperty(w,o.backgroundSize,x)};e.transformOrigin=function(w,x){e.setProperty(w,o.transformOrigin,x)};e.borderRadius=function(x,y,w){e.setProperty(x,o.borderRadius,y,w)};e.borderRadiusCorner=function(y,x,z,A,w){if(x==="top"){if(z==="left"){e.setProperty(y,o.borderRadiusTopLeft,A,w)}else{e.setProperty(y,o.borderRadiusTopRight,A,w)}}else{if(z==="left"){e.setProperty(y,o.borderRadiusBottomLeft,A,w)}else{e.setProperty(y,o.borderRadiusBottomRight,A,w)}}};e.register=function(x){if(x.__animate===undefined){var w=l.length;x.__animate={id:w,state:{},callback:{},dragging:false};l.push(x);return w}else{return x.__animate.id}};e.effects={linear:function(x,w,z,y){return z*x/y+w},quadIn:function(x,w,z,y){return z*(x/=y)*x+w},quadOut:function(x,w,z,y){return -z*(x/=y)*(x-2)+w},quadInOut:function(x,w,z,y){if((x/=y/2)<1){return z/2*x*x+w}return -z/2*((--x)*(x-2)-1)+w},cubicIn:function(x,w,z,y){return z*(x/=y)*x*x+w},cubicOut:function(x,w,z,y){return z*((x=x/y-1)*x*x+1)+w},cubicInOut:function(x,w,z,y){if((x/=y/2)<1){return z/2*x*x*x+w}return z/2*((x-=2)*x*x+2)+w},easeIn:function(x,w,z,y){return z*(x/=y)*x*x+w},easeOut:function(x,w,z,y){return z*((x=x/y-1)*x*x+1)+w},easeInOut:function(x,w,z,y){if((x/=y/2)<1){return z/2*x*x*x+w}return z/2*((x-=2)*x*x+2)+w},quartIn:function(x,w,z,y){return z*(x/=y)*x*x*x+w},quartOut:function(x,w,z,y){return -z*((x=x/y-1)*x*x*x-1)+w},quartInOut:function(x,w,z,y){if((x/=y/2)<1){return z/2*x*x*x*x+w}return -z/2*((x-=2)*x*x*x-2)+w},quintIn:function(x,w,z,y){return z*(x/=y)*x*x*x*x+w},quintOut:function(x,w,z,y){return z*((x=x/y-1)*x*x*x*x+1)+w},quintInOut:function(x,w,z,y){if((x/=y/2)<1){return z/2*x*x*x*x*x+w}return z/2*((x-=2)*x*x*x*x+2)+w},sineIn:function(x,w,z,y){return -z*Math.cos(x/y*(Math.PI/2))+z+w},sineOut:function(x,w,z,y){return z*Math.sin(x/y*(Math.PI/2))+w},sineInOut:function(x,w,z,y){return -z/2*(Math.cos(Math.PI*x/y)-1)+w},expoIn:function(x,w,z,y){return(x===0)?w:z*Math.pow(2,10*(x/y-1))+w},expoOut:function(x,w,z,y){return(x===y)?w+z:z*(-Math.pow(2,-10*x/y)+1)+w},expoInOut:function(x,w,z,y){if(x===0){return w}if(x===y){return w+z}if((x/=y/2)<1){return z/2*Math.pow(2,10*(x-1))+w}return z/2*(-Math.pow(2,-10*--x)+2)+w},circIn:function(x,w,z,y){return -z*(Math.sqrt(1-(x/=y)*x)-1)+w},circOut:function(x,w,z,y){return z*Math.sqrt(1-(x=x/y-1)*x)+w},circInOut:function(x,w,z,y){if((x/=y/2)<1){return -z/2*(Math.sqrt(1-x*x)-1)+w}return z/2*(Math.sqrt(1-(x-=2)*x)+1)+w},bounceIn:function(x,w,z,y){return z-e.effects.bounceOut(y-x,0,z,y)+w},bounceOut:function(x,w,z,y){if((x/=y)<(1/2.75)){return z*(7.5625*x*x)+w}else{if(x<(2/2.75)){return z*(7.5625*(x-=(1.5/2.75))*x+0.75)+w}else{if(x<(2.5/2.75)){return z*(7.5625*(x-=(2.25/2.75))*x+0.9375)+w}else{return z*(7.5625*(x-=(2.625/2.75))*x+0.984375)+w}}}},bounceInOut:function(x,w,z,y){if(x<y/2){return e.effects.bounceIn(x*2,0,z,y)*0.5+w}return e.effects.bounceOut(x*2-y,0,z,y)*0.5+z*0.5+w},elasticIn:function(y,w,C,B,x,A){if(y===0){return w}if((y/=B)===1){return w+C}if(!A){A=B*0.3}if(!x){x=1}var z=0;if(x<Math.abs(C)){x=C;z=A/4}else{z=A/(2*Math.PI)*Math.asin(C/x)}return -(x*Math.pow(2,10*(y-=1))*Math.sin((y*B-z)*(2*Math.PI)/A))+w},elasticOut:function(y,w,C,B,x,A){if(y===0){return w}if((y/=B)===1){return w+C}if(!A){A=B*0.3}if(!x){x=1}var z=0;if(x<Math.abs(C)){x=C;z=A/4}else{z=A/(2*Math.PI)*Math.asin(C/x)}return x*Math.pow(2,-10*y)*Math.sin((y*B-z)*(2*Math.PI)/A)+C+w},elasticInOut:function(y,w,C,B,x,A){if(y===0){return w}if((y/=B/2)===2){return w+C}if(!A){A=B*(0.3*1.5)}if(!x){x=1}var z=0;if(x<Math.abs(C)){x=C;z=A/4}else{z=A/(2*Math.PI)*Math.asin(C/x)}if(y<1){return -0.5*(x*Math.pow(2,10*(y-=1))*Math.sin((y*B-z)*(2*Math.PI)/A))+w}return x*Math.pow(2,-10*(y-=1))*Math.sin((y*B-z)*(2*Math.PI)/A)*0.5+C+w}};e.init();return e}(JSTween||{}));jQuery(".demo").hide();jQuery("#position").show();jQuery("#play").click(function(){var demo=jQuery("#"+jQuery("#samples").val()).find("pre.code");if(demo){eval(demo[0].innerHTML)}});jQuery("#samples").change(function(){jQuery(".demo").hide();jQuery("#"+this.value).show()});jQuery("#reset").click(function(){jQuery(".example").html('<div class="target"><span>JSTween<span></span></span></div>')});jQuery("#jquery div").click(function(){jQuery(this).html("");var b="";var a=parseInt(jQuery("#complexity").val());for(i=0;i<a;i++){b+="<span></span>"}jQuery(this).html(b);jQuery("span",this).each(function(c,d){jQuery(d).animate({top:Math.random()*480+"px",left:Math.random()*470+"px"},1000)})});jQuery("#jstween div").click(function(){jQuery(this).html("");var b="";var a=parseInt(jQuery("#complexity").val());for(i=0;i<a;i++){b+="<span></span>"}jQuery(this).html(b);jQuery("span",this).each(function(c,d){jQuery(d).tween({top:{start:0,stop:Math.random()*480,duration:1,effect:"quadInOut"},left:{start:0,stop:Math.random()*470,duration:1,effect:"quadInOut"}})});$.play()});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment