/*
 * jQuery JavaScript Library v1.11.3
 * http://jquery.com/
 *
 * Includes Sizzle.js
 * http://sizzlejs.com/
 *
 * Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors
 * Released under the MIT license
 * http://jquery.org/license
 *
 * Date: 2015-04-28T16:19Z
 */
(function(b,a){if(typeof module==="object"&&typeof module.exports==="object"){module.exports=b.document?a(b,true):function(c){if(!c.document){throw new Error("jQuery requires a window with a document")}return a(c)}}else{a(b)}}(typeof window!=="undefined"?window:this,function(bZ,ax){var N=[];var bP=N.slice;var y=N.concat;var aE=N.push;var ak=N.indexOf;var v={};var bT=v.toString;var ah=v.hasOwnProperty;var bR={};var bY="1.11.3",at=function(i,e){return new at.fn.init(i,e)},bB=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,bb=/^-ms-/,aP=/-([\da-z])/gi,U=function(e,i){return i.toUpperCase()};at.fn=at.prototype={jquery:bY,constructor:at,selector:"",length:0,toArray:function(){return bP.call(this)},get:function(e){return e!=null?(e<0?this[e+this.length]:this[e]):bP.call(this)},pushStack:function(e){var i=at.merge(this.constructor(),e);i.prevObject=this;i.context=this.context;return i},each:function(i,e){return at.each(this,i,e)},map:function(e){return this.pushStack(at.map(this,function(b5,b6){return e.call(b5,b6,b5)}))},slice:function(){return this.pushStack(bP.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var b6=this.length,b5=+e+(e<0?b6:0);return this.pushStack(b5>=0&&b5<b6?[this[b5]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:aE,sort:N.sort,splice:N.splice};at.extend=at.fn.extend=function(){var cc,b6,b5,ca,cb,e,cd=arguments[0]||{},b8=1,b9=arguments.length,b7=false;if(typeof cd==="boolean"){b7=cd;cd=arguments[b8]||{};b8++}if(typeof cd!=="object"&&!at.isFunction(cd)){cd={}}if(b8===b9){cd=this;b8--}for(;b8<b9;b8++){if((cb=arguments[b8])!=null){for(ca in cb){cc=cd[ca];b5=cb[ca];if(cd===b5){continue}if(b7&&b5&&(at.isPlainObject(b5)||(b6=at.isArray(b5)))){if(b6){b6=false;e=cc&&at.isArray(cc)?cc:[]}else{e=cc&&at.isPlainObject(cc)?cc:{}}cd[ca]=at.extend(b7,e,b5)}else{if(b5!==undefined){cd[ca]=b5}}}}}return cd};at.extend({expando:"jQuery"+(bY+Math.random()).replace(/\D/g,""),isReady:true,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return at.type(e)==="function"},isArray:Array.isArray||function(e){return at.type(e)==="array"},isWindow:function(e){return e!=null&&e==e.window},isNumeric:function(e){return !at.isArray(e)&&(e-parseFloat(e)+1)>=0},isEmptyObject:function(i){var e;for(e in i){return false}return true},isPlainObject:function(b6){var b5;if(!b6||at.type(b6)!=="object"||b6.nodeType||at.isWindow(b6)){return false}try{if(b6.constructor&&!ah.call(b6,"constructor")&&!ah.call(b6.constructor.prototype,"isPrototypeOf")){return false}}catch(i){return false}if(bR.ownLast){for(b5 in b6){return ah.call(b6,b5)}}for(b5 in b6){}return b5===undefined||ah.call(b6,b5)},type:function(e){if(e==null){return e+""}return typeof e==="object"||typeof e==="function"?v[bT.call(e)]||"object":typeof e},globalEval:function(e){if(e&&at.trim(e)){(bZ.execScript||function(i){bZ["eval"].call(bZ,i)})(e)}},camelCase:function(e){return e.replace(bb,"ms-").replace(aP,U)},nodeName:function(e,i){return e.nodeName&&e.nodeName.toLowerCase()===i.toLowerCase()},each:function(b9,b5,e){var ca,b6=0,b8=b9.length,b7=ap(b9);if(e){if(b7){for(;b6<b8;b6++){ca=b5.apply(b9[b6],e);if(ca===false){break}}}else{for(b6 in b9){ca=b5.apply(b9[b6],e);if(ca===false){break}}}}else{if(b7){for(;b6<b8;b6++){ca=b5.call(b9[b6],b6,b9[b6]);if(ca===false){break}}}else{for(b6 in b9){ca=b5.call(b9[b6],b6,b9[b6]);if(ca===false){break}}}}return b9},trim:function(e){return e==null?"":(e+"").replace(bB,"")},makeArray:function(e,i){var b5=i||[];if(e!=null){if(ap(Object(e))){at.merge(b5,typeof e==="string"?[e]:e)}else{aE.call(b5,e)}}return b5},inArray:function(b5,e,b6){var b7;if(e){if(ak){return ak.call(e,b5,b6)}b7=e.length;b6=b6?b6<0?Math.max(0,b7+b6):b6:0;for(;b6<b7;b6++){if(b6 in e&&e[b6]===b5){return b6}}}return -1},merge:function(e,b8){var b7=+b8.length,b6=0,b5=e.length;while(b6<b7){e[b5++]=b8[b6++]}if(b7!==b7){while(b8[b6]!==undefined){e[b5++]=b8[b6++]}}e.length=b5;return e},grep:function(b7,e,b9){var b6,cb=[],b8=0,ca=b7.length,b5=!b9;for(;b8<ca;b8++){b6=!e(b7[b8],b8);if(b6!==b5){cb.push(b7[b8])}}return cb},map:function(b6,b5,e){var cb,b7=0,b9=b6.length,b8=ap(b6),ca=[];if(b8){for(;b7<b9;b7++){cb=b5(b6[b7],b7,e);if(cb!=null){ca.push(cb)}}}else{for(b7 in b6){cb=b5(b6[b7],b7,e);if(cb!=null){ca.push(cb)}}}return y.apply([],ca)},guid:1,proxy:function(b5,i){var e,b6,b7;if(typeof i==="string"){b7=b5[i];i=b5;b5=b7}if(!at.isFunction(b5)){return undefined}e=bP.call(arguments,2);b6=function(){return b5.apply(i||this,e.concat(bP.call(arguments)))};b6.guid=b5.guid=b5.guid||at.guid++;return b6},now:function(){return +(new Date())},support:bR});at.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(e,b5){v["[object "+b5+"]"]=b5.toLowerCase()});function ap(i){var e="length" in i&&i.length,b5=at.type(i);if(b5==="function"||at.isWindow(i)){return false}if(i.nodeType===1&&e){return true}return b5==="array"||e===0||typeof e==="number"&&e>0&&(e-1) in i}var bO=
/*
 * Sizzle CSS Selector Engine v2.2.0-pre
 * http://sizzlejs.com/
 *
 * Copyright 2008, 2014 jQuery Foundation, Inc. and other contributors
 * Released under the MIT license
 * http://jquery.org/license
 *
 * Date: 2014-12-16
 */
(function(dl){var cy,de,ct,cv,cB,dh,cd,c5,cJ,dc,cw,c6,cn,cm,co,cR,cQ,cF,cg,cs="sizzle"+1*new Date(),cL=dl.document,cl=0,cp=0,cc=ci(),dg=ci(),ce=ci(),dd=function(e,i){if(e===i){cw=true}return 0},cH=1<<31,cx=({}).hasOwnProperty,b7=[],cK=b7.pop,cO=b7.push,cN=b7.push,db=b7.slice,cA=function(dp,e){var dm=0,dn=dp.length;for(;dm<dn;dm++){if(dp[dm]===e){return dm}}return -1},ca="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",dk="[\\x20\\t\\r\\n\\f]",cb="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",cz=cb.replace("w","w#"),b9="\\["+dk+"*("+cb+")(?:"+dk+"*([*^$|!~]?=)"+dk+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+cz+"))|)"+dk+"*\\]",cM=":("+cb+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+b9+")*)|.*)\\)|)",c4=new RegExp(dk+"+","g"),c2=new RegExp("^"+dk+"+|((?:^|[^\\\\])(?:\\\\.)*)"+dk+"+$","g"),cT=new RegExp("^"+dk+"*,"+dk+"*"),cS=new RegExp("^"+dk+"*([>+~]|"+dk+")"+dk+"*"),cP=new RegExp("="+dk+"*([^\\]'\"]*?)"+dk+"*\\]","g"),cZ=new RegExp(cM),cW=new RegExp("^"+cz+"$"),cG={ID:new RegExp("^#("+cb+")"),CLASS:new RegExp("^\\.("+cb+")"),TAG:new RegExp("^("+cb.replace("w","w*")+")"),ATTR:new RegExp("^"+b9),PSEUDO:new RegExp("^"+cM),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+dk+"*(even|odd|(([+-]|)(\\d*)n|)"+dk+"*(?:([+-]|)"+dk+"*(\\d+)|))"+dk+"*\\)|)","i"),bool:new RegExp("^(?:"+ca+")$","i"),needsContext:new RegExp("^"+dk+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+dk+"*((?:-\\d)?\\d*)"+dk+"*\\)|)(?=[^-]|$)","i")},cX=/^(?:input|select|textarea|button)$/i,cV=/^h\d$/i,cY=/^[^{]+\{\s*\[native \w/,c0=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,c1=/[+~]/,cU=/'|\\/g,c3=new RegExp("\\\\([\\da-f]{1,6}"+dk+"?|("+dk+")|.)","ig"),cu=function(e,i,dm){var dn="0x"+i-65536;return dn!==dn||dm?i:dn<0?String.fromCharCode(dn+65536):String.fromCharCode(dn>>10|55296,dn&1023|56320)},dj=function(){c6()};try{cN.apply((b7=db.call(cL.childNodes)),cL.childNodes);b7[cL.childNodes.length].nodeType}catch(cq){cN={apply:b7.length?function(i,e){cO.apply(i,db.call(e))}:function(dp,e){var dn=dp.length,dm=0;while((dp[dn++]=e[dm++])){}dp.length=dn-1}}}function da(dA,e,dy,dz){var dr,dm,dq,dv,dp,dn,dw,du,ds,dt;if((e?e.ownerDocument||e:cL)!==cn){c6(e)}e=e||cn;dy=dy||[];dv=e.nodeType;if(typeof dA!=="string"||!dA||dv!==1&&dv!==9&&dv!==11){return dy}if(!dz&&co){if(dv!==11&&(dr=c0.exec(dA))){if((dq=dr[1])){if(dv===9){dm=e.getElementById(dq);if(dm&&dm.parentNode){if(dm.id===dq){dy.push(dm);return dy}}else{return dy}}else{if(e.ownerDocument&&(dm=e.ownerDocument.getElementById(dq))&&cg(e,dm)&&dm.id===dq){dy.push(dm);return dy}}}else{if(dr[2]){cN.apply(dy,e.getElementsByTagName(dA));return dy}else{if((dq=dr[3])&&de.getElementsByClassName){cN.apply(dy,e.getElementsByClassName(dq));return dy}}}}if(de.qsa&&(!cR||!cR.test(dA))){du=dw=cs;ds=e;dt=dv!==1&&dA;if(dv===1&&e.nodeName.toLowerCase()!=="object"){dn=dh(dA);if((dw=e.getAttribute("id"))){du=dw.replace(cU,"\\$&")}else{e.setAttribute("id",du)}du="[id='"+du+"'] ";dp=dn.length;while(dp--){dn[dp]=du+di(dn[dp])}ds=c1.test(dA)&&df(e.parentNode)||e;dt=dn.join(",")}if(dt){try{cN.apply(dy,ds.querySelectorAll(dt));return dy}catch(dx){}finally{if(!dw){e.removeAttribute("id")}}}}}return c5(dA.replace(c2,"$1"),e,dy,dz)}function ci(){var i=[];function e(dm,dn){if(i.push(dm+" ")>ct.cacheLength){delete e[i.shift()]}return(e[dm+" "]=dn)}return e}function cC(e){e[cs]=true;return e}function b8(dn){var i=cn.createElement("div");try{return !!dn(i)}catch(dm){return false}finally{if(i.parentNode){i.parentNode.removeChild(i)}i=null}}function b6(dm,dn){var e=dm.split("|"),dp=dm.length;while(dp--){ct.attrHandle[e[dp]]=dn}}function c9(e,i){var dm=i&&e,dn=dm&&e.nodeType===1&&i.nodeType===1&&(~i.sourceIndex||cH)-(~e.sourceIndex||cH);if(dn){return dn}if(dm){while((dm=dm.nextSibling)){if(dm===i){return -1}}}return e?1:-1}function cj(e){return function(i){var dm=i.nodeName.toLowerCase();return dm==="input"&&i.type===e}}function ch(e){return function(i){var dm=i.nodeName.toLowerCase();return(dm==="input"||dm==="button")&&i.type===e}}function ck(e){return cC(function(i){i=+i;return cC(function(dr,dp){var dn,dq=e([],dr.length,i),dm=dq.length;while(dm--){if(dr[(dn=dq[dm])]){dr[dn]=!(dp[dn]=dr[dn])}}})})}function df(e){return e&&typeof e.getElementsByTagName!=="undefined"&&e}de=da.support={};cB=da.isXML=function(i){var e=i&&(i.ownerDocument||i).documentElement;return e?e.nodeName!=="HTML":false};c6=da.setDocument=function(dm){var i,dn,e=dm?dm.ownerDocument||dm:cL;if(e===cn||e.nodeType!==9||!e.documentElement){return cn}cn=e;cm=e.documentElement;dn=e.defaultView;if(dn&&dn!==dn.top){if(dn.addEventListener){dn.addEventListener("unload",dj,false)}else{if(dn.attachEvent){dn.attachEvent("onunload",dj)}}}co=!cB(e);de.attributes=b8(function(dp){dp.className="i";return !dp.getAttribute("className")});de.getElementsByTagName=b8(function(dp){dp.appendChild(e.createComment(""));return !dp.getElementsByTagName("*").length});de.getElementsByClassName=cY.test(e.getElementsByClassName);de.getById=b8(function(dp){cm.appendChild(dp).id=cs;return !e.getElementsByName||!e.getElementsByName(cs).length});if(de.getById){ct.find.ID=function(dq,dp){if(typeof dp.getElementById!=="undefined"&&co){var dr=dp.getElementById(dq);return dr&&dr.parentNode?[dr]:[]}};ct.filter.ID=function(dq){var dp=dq.replace(c3,cu);return function(dr){return dr.getAttribute("id")===dp}}}else{delete ct.find.ID;ct.filter.ID=function(dq){var dp=dq.replace(c3,cu);return function(dr){var ds=typeof dr.getAttributeNode!=="undefined"&&dr.getAttributeNode("id");return ds&&ds.value===dp}}}ct.find.TAG=de.getElementsByTagName?function(dq,dp){if(typeof dp.getElementsByTagName!=="undefined"){return dp.getElementsByTagName(dq)}else{if(de.qsa){return dp.querySelectorAll(dq)}}}:function(dt,dp){var dq,du=[],dr=0,ds=dp.getElementsByTagName(dt);if(dt==="*"){while((dq=ds[dr++])){if(dq.nodeType===1){du.push(dq)}}return du}return ds};ct.find.CLASS=de.getElementsByClassName&&function(dp,dq){if(co){return dq.getElementsByClassName(dp)}};cQ=[];cR=[];if((de.qsa=cY.test(e.querySelectorAll))){b8(function(dp){cm.appendChild(dp).innerHTML="<a id='"+cs+"'></a><select id='"+cs+"-\f]' msallowcapture=''><option selected=''></option></select>";if(dp.querySelectorAll("[msallowcapture^='']").length){cR.push("[*^$]="+dk+"*(?:''|\"\")")}if(!dp.querySelectorAll("[selected]").length){cR.push("\\["+dk+"*(?:value|"+ca+")")}if(!dp.querySelectorAll("[id~="+cs+"-]").length){cR.push("~=")}if(!dp.querySelectorAll(":checked").length){cR.push(":checked")}if(!dp.querySelectorAll("a#"+cs+"+*").length){cR.push(".#.+[+~]")}});b8(function(dp){var dq=e.createElement("input");dq.setAttribute("type","hidden");dp.appendChild(dq).setAttribute("name","D");if(dp.querySelectorAll("[name=d]").length){cR.push("name"+dk+"*[*^$|!~]?=")}if(!dp.querySelectorAll(":enabled").length){cR.push(":enabled",":disabled")}dp.querySelectorAll("*,:x");cR.push(",.*:")})}if((de.matchesSelector=cY.test((cF=cm.matches||cm.webkitMatchesSelector||cm.mozMatchesSelector||cm.oMatchesSelector||cm.msMatchesSelector)))){b8(function(dp){de.disconnectedMatch=cF.call(dp,"div");cF.call(dp,"[s!='']:x");cQ.push("!=",cM)})}cR=cR.length&&new RegExp(cR.join("|"));cQ=cQ.length&&new RegExp(cQ.join("|"));i=cY.test(cm.compareDocumentPosition);cg=i||cY.test(cm.contains)?function(dp,dr){var dq=dp.nodeType===9?dp.documentElement:dp,ds=dr&&dr.parentNode;return dp===ds||!!(ds&&ds.nodeType===1&&(dq.contains?dq.contains(ds):dp.compareDocumentPosition&&dp.compareDocumentPosition(ds)&16))}:function(dp,dq){if(dq){while((dq=dq.parentNode)){if(dq===dp){return true}}}return false};dd=i?function(dp,dq){if(dp===dq){cw=true;return 0}var dr=!dp.compareDocumentPosition-!dq.compareDocumentPosition;if(dr){return dr}dr=(dp.ownerDocument||dp)===(dq.ownerDocument||dq)?dp.compareDocumentPosition(dq):1;if(dr&1||(!de.sortDetached&&dq.compareDocumentPosition(dp)===dr)){if(dp===e||dp.ownerDocument===cL&&cg(cL,dp)){return -1}if(dq===e||dq.ownerDocument===cL&&cg(cL,dq)){return 1}return dc?(cA(dc,dp)-cA(dc,dq)):0}return dr&4?-1:1}:function(dp,ds){if(dp===ds){cw=true;return 0}var dv,dw=0,dr=dp.parentNode,du=ds.parentNode,dq=[dp],dt=[ds];if(!dr||!du){return dp===e?-1:ds===e?1:dr?-1:du?1:dc?(cA(dc,dp)-cA(dc,ds)):0}else{if(dr===du){return c9(dp,ds)}}dv=dp;while((dv=dv.parentNode)){dq.unshift(dv)}dv=ds;while((dv=dv.parentNode)){dt.unshift(dv)}while(dq[dw]===dt[dw]){dw++}return dw?c9(dq[dw],dt[dw]):dq[dw]===cL?-1:dt[dw]===cL?1:0};return e};da.matches=function(i,e){return da(i,null,null,e)};da.matchesSelector=function(dm,dn){if((dm.ownerDocument||dm)!==cn){c6(dm)}dn=dn.replace(cP,"='$1']");if(de.matchesSelector&&co&&(!cQ||!cQ.test(dn))&&(!cR||!cR.test(dn))){try{var dp=cF.call(dm,dn);if(dp||de.disconnectedMatch||dm.document&&dm.document.nodeType!==11){return dp}}catch(i){}}return da(dn,cn,null,[dm]).length>0};da.contains=function(e,i){if((e.ownerDocument||e)!==cn){c6(e)}return cg(e,i)};da.attr=function(e,dm){if((e.ownerDocument||e)!==cn){c6(e)}var i=ct.attrHandle[dm.toLowerCase()],dn=i&&cx.call(ct.attrHandle,dm.toLowerCase())?i(e,dm,!co):undefined;return dn!==undefined?dn:de.attributes||!co?e.getAttribute(dm):(dn=e.getAttributeNode(dm))&&dn.specified?dn.value:null};da.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)};da.uniqueSort=function(dq){var dm,e=[],dp=0,dn=0;cw=!de.detectDuplicates;dc=!de.sortStable&&dq.slice(0);dq.sort(dd);if(cw){while((dm=dq[dn++])){if(dm===dq[dn]){dp=e.push(dn)}}while(dp--){dq.splice(e[dp],1)}}dc=null;return dq};cv=da.getText=function(e){var dn,dq="",dm=0,dp=e.nodeType;if(!dp){while((dn=e[dm++])){dq+=cv(dn)}}else{if(dp===1||dp===9||dp===11){if(typeof e.textContent==="string"){return e.textContent}else{for(e=e.firstChild;e;e=e.nextSibling){dq+=cv(e)}}}else{if(dp===3||dp===4){return e.nodeValue}}}return dq};ct=da.selectors={cacheLength:50,createPseudo:cC,match:cG,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:true}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:true},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){e[1]=e[1].replace(c3,cu);e[3]=(e[3]||e[4]||e[5]||"").replace(c3,cu);if(e[2]==="~="){e[3]=" "+e[3]+" "}return e.slice(0,4)},CHILD:function(e){e[1]=e[1].toLowerCase();if(e[1].slice(0,3)==="nth"){if(!e[3]){da.error(e[0])}e[4]=+(e[4]?e[5]+(e[6]||1):2*(e[3]==="even"||e[3]==="odd"));e[5]=+((e[7]+e[8])||e[3]==="odd")}else{if(e[3]){da.error(e[0])}}return e},PSEUDO:function(i){var e,dm=!i[6]&&i[2];if(cG.CHILD.test(i[0])){return null}if(i[3]){i[2]=i[4]||i[5]||""}else{if(dm&&cZ.test(dm)&&(e=dh(dm,true))&&(e=dm.indexOf(")",dm.length-e)-dm.length)){i[0]=i[0].slice(0,e);i[2]=dm.slice(0,e)}}return i.slice(0,3)}},filter:{TAG:function(i){var e=i.replace(c3,cu).toLowerCase();return i==="*"?function(){return true}:function(dm){return dm.nodeName&&dm.nodeName.toLowerCase()===e}},CLASS:function(e){var i=cc[e+" "];return i||(i=new RegExp("(^|"+dk+")"+e+"("+dk+"|$)"))&&cc(e,function(dm){return i.test(typeof dm.className==="string"&&dm.className||typeof dm.getAttribute!=="undefined"&&dm.getAttribute("class")||"")})},ATTR:function(i,dm,e){return function(dn){var dp=da.attr(dn,i);if(dp==null){return dm==="!="}if(!dm){return true}dp+="";return dm==="="?dp===e:dm==="!="?dp!==e:dm==="^="?e&&dp.indexOf(e)===0:dm==="*="?e&&dp.indexOf(e)>-1:dm==="$="?e&&dp.slice(-e.length)===e:dm==="~="?(" "+dp.replace(c4," ")+" ").indexOf(e)>-1:dm==="|="?dp===e||dp.slice(0,e.length+1)===e+"-":false}},CHILD:function(dr,ds,e,i,dn){var dq=dr.slice(0,3)!=="nth",dm=dr.slice(-4)!=="last",dp=ds==="of-type";return i===1&&dn===0?function(dt){return !!dt.parentNode}:function(dx,du,dF){var dt,dB,dz,dv,dA,dD,dw=dq!==dm?"nextSibling":"previousSibling",dC=dx.parentNode,dy=dp&&dx.nodeName.toLowerCase(),dE=!dF&&!dp;if(dC){if(dq){while(dw){dz=dx;while((dz=dz[dw])){if(dp?dz.nodeName.toLowerCase()===dy:dz.nodeType===1){return false}}dD=dw=dr==="only"&&!dD&&"nextSibling"}return true}dD=[dm?dC.firstChild:dC.lastChild];if(dm&&dE){dB=dC[cs]||(dC[cs]={});dt=dB[dr]||[];dA=dt[0]===cl&&dt[1];dv=dt[0]===cl&&dt[2];dz=dA&&dC.childNodes[dA];while((dz=++dA&&dz&&dz[dw]||(dv=dA=0)||dD.pop())){if(dz.nodeType===1&&++dv&&dz===dx){dB[dr]=[cl,dA,dv];break}}}else{if(dE&&(dt=(dx[cs]||(dx[cs]={}))[dr])&&dt[0]===cl){dv=dt[1]}else{while((dz=++dA&&dz&&dz[dw]||(dv=dA=0)||dD.pop())){if((dp?dz.nodeName.toLowerCase()===dy:dz.nodeType===1)&&++dv){if(dE){(dz[cs]||(dz[cs]={}))[dr]=[cl,dv]}if(dz===dx){break}}}}}dv-=dn;return dv===i||(dv%i===0&&dv/i>=0)}}},PSEUDO:function(dn,i){var e,dm=ct.pseudos[dn]||ct.setFilters[dn.toLowerCase()]||da.error("unsupported pseudo: "+dn);if(dm[cs]){return dm(i)}if(dm.length>1){e=[dn,dn,"",i];return ct.setFilters.hasOwnProperty(dn.toLowerCase())?cC(function(dt,ds){var dq,dr=dm(dt,i),dp=dr.length;while(dp--){dq=cA(dt,dr[dp]);dt[dq]=!(ds[dq]=dr[dp])}}):function(dp){return dm(dp,0,e)}}return dm}},pseudos:{not:cC(function(dn){var e=[],dm=[],i=cd(dn.replace(c2,"$1"));return i[cs]?cC(function(dt,ds,dp,dv){var dq,du=i(dt,null,dv,[]),dr=dt.length;while(dr--){if((dq=du[dr])){dt[dr]=!(ds[dr]=dq)}}}):function(dq,dp,dr){e[0]=dq;i(e,null,dr,dm);e[0]=null;return !dm.pop()}}),has:cC(function(e){return function(i){return da(e,i).length>0}}),contains:cC(function(e){e=e.replace(c3,cu);return function(i){return(i.textContent||i.innerText||cv(i)).indexOf(e)>-1}}),lang:cC(function(e){if(!cW.test(e||"")){da.error("unsupported lang: "+e)}e=e.replace(c3,cu).toLowerCase();return function(i){var dm;do{if((dm=co?i.lang:i.getAttribute("xml:lang")||i.getAttribute("lang"))){dm=dm.toLowerCase();return dm===e||dm.indexOf(e+"-")===0}}while((i=i.parentNode)&&i.nodeType===1);return false}}),target:function(e){var i=dl.location&&dl.location.hash;return i&&i.slice(1)===e.id},root:function(e){return e===cm},focus:function(e){return e===cn.activeElement&&(!cn.hasFocus||cn.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return e.disabled===false},disabled:function(e){return e.disabled===true},checked:function(e){var i=e.nodeName.toLowerCase();return(i==="input"&&!!e.checked)||(i==="option"&&!!e.selected)},selected:function(e){if(e.parentNode){e.parentNode.selectedIndex}return e.selected===true},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling){if(e.nodeType<6){return false}}return true},parent:function(e){return !ct.pseudos.empty(e)},header:function(e){return cV.test(e.nodeName)},input:function(e){return cX.test(e.nodeName)},button:function(e){var i=e.nodeName.toLowerCase();return i==="input"&&e.type==="button"||i==="button"},text:function(i){var e;return i.nodeName.toLowerCase()==="input"&&i.type==="text"&&((e=i.getAttribute("type"))==null||e.toLowerCase()==="text")},first:ck(function(){return[0]}),last:ck(function(i,e){return[e-1]}),eq:ck(function(dm,i,e){return[e<0?e+i:e]}),even:ck(function(dn,dm){var e=0;for(;e<dm;e+=2){dn.push(e)}return dn}),odd:ck(function(dn,dm){var e=1;for(;e<dm;e+=2){dn.push(e)}return dn}),lt:ck(function(dp,dn,e){var dm=e<0?e+dn:e;for(;--dm>=0;){dp.push(dm)}return dp}),gt:ck(function(dp,dn,e){var dm=e<0?e+dn:e;for(;++dm<dn;){dp.push(dm)}return dp})}};ct.pseudos.nth=ct.pseudos.eq;for(cy in {radio:true,checkbox:true,file:true,password:true,image:true}){ct.pseudos[cy]=cj(cy)}for(cy in {submit:true,reset:true}){ct.pseudos[cy]=ch(cy)}function c7(){}c7.prototype=ct.filters=ct.pseudos;ct.setFilters=new c7();dh=da.tokenize=function(dr,dp){var dn,dm,dt,du,ds,i,dq,e=dg[dr+" "];if(e){return dp?0:e.slice(0)}ds=dr;i=[];dq=ct.preFilter;while(ds){if(!dn||(dm=cT.exec(ds))){if(dm){ds=ds.slice(dm[0].length)||ds}i.push((dt=[]))}dn=false;if((dm=cS.exec(ds))){dn=dm.shift();dt.push({value:dn,type:dm[0].replace(c2," ")});ds=ds.slice(dn.length)}for(du in ct.filter){if((dm=cG[du].exec(ds))&&(!dq[du]||(dm=dq[du](dm)))){dn=dm.shift();dt.push({value:dn,type:du,matches:dm});ds=ds.slice(dn.length)}}if(!dn){break}}return dp?ds.length:ds?da.error(dr):dg(dr,i).slice(0)};function di(dp){var e=0,dm=dp.length,dn="";for(;e<dm;e++){dn+=dp[e].value}return dn}function b5(dq,dm,e){var dn=dm.dir,i=e&&dn==="parentNode",dp=cp++;return dm.first?function(ds,dr,dt){while((ds=ds[dn])){if(ds.nodeType===1||i){return dq(ds,dr,dt)}}}:function(ds,dr,dw){var du,dv,dt=[cl,dp];if(dw){while((ds=ds[dn])){if(ds.nodeType===1||i){if(dq(ds,dr,dw)){return true}}}}else{while((ds=ds[dn])){if(ds.nodeType===1||i){dv=ds[cs]||(ds[cs]={});if((du=dv[dn])&&du[0]===cl&&du[1]===dp){return(dt[2]=du[2])}else{dv[dn]=dt;if((dt[2]=dq(ds,dr,dw))){return true}}}}}}}function cr(e){return e.length>1?function(dn,dm,dq){var dp=e.length;while(dp--){if(!e[dp](dn,dm,dq)){return false}}return true}:e[0]}function cI(dq,e,dp){var dm=0,dn=e.length;for(;dm<dn;dm++){da(dq,e[dm],dp)}return dp}function cf(du,dr,dn,e,dv){var dm,dt=[],dp=0,dq=du.length,ds=dr!=null;for(;dp<dq;dp++){if((dm=du[dp])){if(!dn||dn(dm,e,dv)){dt.push(dm);if(ds){dr.push(dp)}}}}return dt}function c8(dp,dq,e,i,dm,dn){if(i&&!i[cs]){i=c8(i)}if(dm&&!dm[cs]){dm=c8(dm,dn)}return cC(function(dB,dA,dr,dD){var dC,du,ds,dz=[],dx=[],dy=dA.length,dt=dB||cI(dq||"*",dr.nodeType?[dr]:dr,[]),dv=dp&&(dB||!dq)?cf(dt,dz,dp,dr,dD):dt,dw=e?dm||(dB?dp:dy||i)?[]:dA:dv;if(e){e(dv,dw,dr,dD)}if(i){dC=cf(dw,dx);i(dC,[],dr,dD);du=dC.length;while(du--){if((ds=dC[du])){dw[dx[du]]=!(dv[dx[du]]=ds)}}}if(dB){if(dm||dp){if(dm){dC=[];du=dw.length;while(du--){if((ds=dw[du])){dC.push((dv[du]=ds))}}dm(null,(dw=[]),dC,dD)}du=dw.length;while(du--){if((ds=dw[du])&&(dC=dm?cA(dB,ds):dz[du])>-1){dB[dC]=!(dA[dC]=ds)}}}}else{dw=cf(dw===dA?dw.splice(dy,dw.length):dw);if(dm){dm(null,dA,dw,dD)}else{cN.apply(dA,dw)}}})}function cE(dw){var e,du,dp,dr=dw.length,dq=ct.relative[dw[0].type],dn=dq||ct.relative[" "],dm=dq?1:0,dt=b5(function(i){return i===e},dn,true),ds=b5(function(i){return cA(e,i)>-1},dn,true),dv=[function(dx,i,dz){var dy=(!dq&&(dz||i!==cJ))||((e=i).nodeType?dt(dx,i,dz):ds(dx,i,dz));e=null;return dy}];for(;dm<dr;dm++){if((du=ct.relative[dw[dm].type])){dv=[b5(cr(dv),du)]}else{du=ct.filter[dw[dm].type].apply(null,dw[dm].matches);if(du[cs]){dp=++dm;for(;dp<dr;dp++){if(ct.relative[dw[dp].type]){break}}return c8(dm>1&&cr(dv),dm>1&&di(dw.slice(0,dm-1).concat({value:dw[dm-2].type===" "?"*":""})).replace(c2,"$1"),du,dm<dp&&cE(dw.slice(dm,dp)),dp<dr&&cE((dw=dw.slice(dp))),dp<dr&&di(dw))}dv.push(du)}}return cr(dv)}function cD(dm,dn){var i=dn.length>0,e=dm.length>0,dp=function(dC,dq,dF,dB,dA){var dt,dw,dz,dy=0,dv="0",dE=dC&&[],dD=[],dr=cJ,du=dC||e&&ct.find.TAG("*",dA),ds=(cl+=dr==null?1:Math.random()||0.1),dx=du.length;if(dA){cJ=dq!==cn&&dq}for(;dv!==dx&&(dt=du[dv])!=null;dv++){if(e&&dt){dw=0;while((dz=dm[dw++])){if(dz(dt,dq,dF)){dB.push(dt);break}}if(dA){cl=ds}}if(i){if((dt=!dz&&dt)){dy--}if(dC){dE.push(dt)}}}dy+=dv;if(i&&dv!==dy){dw=0;while((dz=dn[dw++])){dz(dE,dD,dq,dF)}if(dC){if(dy>0){while(dv--){if(!(dE[dv]||dD[dv])){dD[dv]=cK.call(dB)}}}dD=cf(dD)}cN.apply(dB,dD);if(dA&&!dC&&dD.length>0&&(dy+dn.length)>1){da.uniqueSort(dB)}}if(dA){cl=ds;cJ=dr}return dE};return i?cC(dp):dp}cd=da.compile=function(dq,dp){var dn,dr=[],dm=[],e=ce[dq+" "];if(!e){if(!dp){dp=dh(dq)}dn=dp.length;while(dn--){e=cE(dp[dn]);if(e[cs]){dr.push(e)}else{dm.push(e)}}e=ce(dq,cD(dm,dr));e.selector=dq}return e};c5=da.select=function(dt,dm,dr,ds){var dp,dv,du,dw,dn,e=typeof dt==="function"&&dt,dq=!ds&&dh((dt=e.selector||dt));dr=dr||[];if(dq.length===1){dv=dq[0]=dq[0].slice(0);if(dv.length>2&&(du=dv[0]).type==="ID"&&de.getById&&dm.nodeType===9&&co&&ct.relative[dv[1].type]){dm=(ct.find.ID(du.matches[0].replace(c3,cu),dm)||[])[0];if(!dm){return dr}else{if(e){dm=dm.parentNode}}dt=dt.slice(dv.shift().value.length)}dp=cG.needsContext.test(dt)?0:dv.length;while(dp--){du=dv[dp];if(ct.relative[(dw=du.type)]){break}if((dn=ct.find[dw])){if((ds=dn(du.matches[0].replace(c3,cu),c1.test(dv[0].type)&&df(dm.parentNode)||dm))){dv.splice(dp,1);dt=ds.length&&di(dv);if(!dt){cN.apply(dr,ds);return dr}break}}}}(e||cd(dt,dq))(ds,dm,!co,dr,c1.test(dt)&&df(dm.parentNode)||dm);return dr};de.sortStable=cs.split("").sort(dd).join("")===cs;de.detectDuplicates=!!cw;c6();de.sortDetached=b8(function(e){return e.compareDocumentPosition(cn.createElement("div"))&1});if(!b8(function(e){e.innerHTML="<a href='#'></a>";return e.firstChild.getAttribute("href")==="#"})){b6("type|href|height|width",function(e,dm,i){if(!i){return e.getAttribute(dm,dm.toLowerCase()==="type"?1:2)}})}if(!de.attributes||!b8(function(e){e.innerHTML="<input/>";e.firstChild.setAttribute("value","");return e.firstChild.getAttribute("value")===""})){b6("value",function(e,dm,i){if(!i&&e.nodeName.toLowerCase()==="input"){return e.defaultValue}})}if(!b8(function(e){return e.getAttribute("disabled")==null})){b6(ca,function(e,dm,i){var dn;if(!i){return e[dm]===true?dm.toLowerCase():(dn=e.getAttributeNode(dm))&&dn.specified?dn.value:null}})}return da})(bZ);at.find=bO;at.expr=bO.selectors;at.expr[":"]=at.expr.pseudos;at.unique=bO.uniqueSort;at.text=bO.getText;at.isXMLDoc=bO.isXML;at.contains=bO.contains;var bd=at.expr.match.needsContext;var bw=(/^<(\w+)\s*\/?>(?:<\/\1>|)$/);var a4=/^.[^:#\[\.,]*$/;function b0(e,b5,i){if(at.isFunction(b5)){return at.grep(e,function(b6,b7){return !!b5.call(b6,b7,b6)!==i})}if(b5.nodeType){return at.grep(e,function(b6){return(b6===b5)!==i})}if(typeof b5==="string"){if(a4.test(b5)){return at.filter(b5,e,i)}b5=at.filter(b5,e)}return at.grep(e,function(b6){return(at.inArray(b6,b5)>=0)!==i})}at.filter=function(b5,i,b6){var e=i[0];if(b6){b5=":not("+b5+")"}return i.length===1&&e.nodeType===1?at.find.matchesSelector(e,b5)?[e]:[]:at.find.matches(b5,at.grep(i,function(b7){return b7.nodeType===1}))};at.fn.extend({find:function(b7){var e,b6=[],b8=this,b5=b8.length;if(typeof b7!=="string"){return this.pushStack(at(b7).filter(function(){for(e=0;e<b5;e++){if(at.contains(b8[e],this)){return true}}}))}for(e=0;e<b5;e++){at.find(b7,b8[e],b6)}b6=this.pushStack(b5>1?at.unique(b6):b6);b6.selector=this.selector?this.selector+" "+b7:b7;return b6},filter:function(e){return this.pushStack(b0(this,e||[],false))},not:function(e){return this.pushStack(b0(this,e||[],true))},is:function(e){return !!b0(this,typeof e==="string"&&bd.test(e)?at(e):e||[],false).length}});var bk,R=bZ.document,bq=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,al=at.fn.init=function(b6,e){var b5,i;if(!b6){return this}if(typeof b6==="string"){if(b6.charAt(0)==="<"&&b6.charAt(b6.length-1)===">"&&b6.length>=3){b5=[null,b6,null]}else{b5=bq.exec(b6)}if(b5&&(b5[1]||!e)){if(b5[1]){e=e instanceof at?e[0]:e;at.merge(this,at.parseHTML(b5[1],e&&e.nodeType?e.ownerDocument||e:R,true));if(bw.test(b5[1])&&at.isPlainObject(e)){for(b5 in e){if(at.isFunction(this[b5])){this[b5](e[b5])}else{this.attr(b5,e[b5])}}}return this}else{i=R.getElementById(b5[2]);if(i&&i.parentNode){if(i.id!==b5[2]){return bk.find(b6)}this.length=1;this[0]=i}this.context=R;this.selector=b6;return this}}else{if(!e||e.jquery){return(e||bk).find(b6)}else{return this.constructor(e).find(b6)}}}else{if(b6.nodeType){this.context=this[0]=b6;this.length=1;return this}else{if(at.isFunction(b6)){return typeof bk.ready!=="undefined"?bk.ready(b6):b6(at)}}}if(b6.selector!==undefined){this.selector=b6.selector;this.context=b6.context}return at.makeArray(b6,this)};al.prototype=at.fn;bk=at(R);var bm=/^(?:parents|prev(?:Until|All))/,ag={children:true,contents:true,next:true,prev:true};at.extend({dir:function(b5,i,b7){var b6=[],e=b5[i];while(e&&e.nodeType!==9&&(b7===undefined||e.nodeType!==1||!at(e).is(b7))){if(e.nodeType===1){b6.push(e)}e=e[i]}return b6},sibling:function(i,e){var b5=[];for(;i;i=i.nextSibling){if(i.nodeType===1&&i!==e){b5.push(i)}}return b5}});at.fn.extend({has:function(b6){var e,b7=at(b6,this),b5=b7.length;return this.filter(function(){for(e=0;e<b5;e++){if(at.contains(this,b7[e])){return true}}})},closest:function(ca,e){var b5,b6=0,b7=this.length,b8=[],b9=bd.test(ca)||typeof ca!=="string"?at(ca,e||this.context):0;for(;b6<b7;b6++){for(b5=this[b6];b5&&b5!==e;b5=b5.parentNode){if(b5.nodeType<11&&(b9?b9.index(b5)>-1:b5.nodeType===1&&at.find.matchesSelector(b5,ca))){b8.push(b5);break}}}return this.pushStack(b8.length>1?at.unique(b8):b8)},index:function(e){if(!e){return(this[0]&&this[0].parentNode)?this.first().prevAll().length:-1}if(typeof e==="string"){return at.inArray(this[0],at(e))}return at.inArray(e.jquery?e[0]:e,this)},add:function(i,e){return this.pushStack(at.unique(at.merge(this.get(),at(i,e))))},addBack:function(e){return this.add(e==null?this.prevObject:this.prevObject.filter(e))}});function bN(e,i){do{e=e[i]}while(e&&e.nodeType!==1);return e}at.each({parent:function(e){var i=e.parentNode;return i&&i.nodeType!==11?i:null},parents:function(e){return at.dir(e,"parentNode")},parentsUntil:function(e,b5,b6){return at.dir(e,"parentNode",b6)},next:function(e){return bN(e,"nextSibling")},prev:function(e){return bN(e,"previousSibling")},nextAll:function(e){return at.dir(e,"nextSibling")},prevAll:function(e){return at.dir(e,"previousSibling")},nextUntil:function(e,b5,b6){return at.dir(e,"nextSibling",b6)},prevUntil:function(e,b5,b6){return at.dir(e,"previousSibling",b6)},siblings:function(e){return at.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return at.sibling(e.firstChild)},contents:function(e){return at.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:at.merge([],e.childNodes)}},function(i,e){at.fn[i]=function(b7,b6){var b5=at.map(this,e,b7);if(i.slice(-5)!=="Until"){b6=b7}if(b6&&typeof b6==="string"){b5=at.filter(b6,b5)}if(this.length>1){if(!ag[i]){b5=at.unique(b5)}if(bm.test(i)){b5=b5.reverse()}}return this.pushStack(b5)}});var bh=(/\S+/g);var aA={};function B(i){var e=aA[i]={};at.each(i.match(bh)||[],function(b5,b6){e[b6]=true});return e}at.Callbacks=function(cb){cb=typeof cb==="string"?(aA[cb]||B(cb)):at.extend({},cb);var b5,ca,i,b7,b6,b8,b9=[],cd=!cb.once&&[],e=function(ce){ca=cb.memory&&ce;i=true;b6=b8||0;b8=0;b7=b9.length;b5=true;for(;b9&&b6<b7;b6++){if(b9[b6].apply(ce[0],ce[1])===false&&cb.stopOnFalse){ca=false;break}}b5=false;if(b9){if(cd){if(cd.length){e(cd.shift())}}else{if(ca){b9=[]}else{cc.disable()}}}},cc={add:function(){if(b9){var cf=b9.length;(function ce(cg){at.each(cg,function(ch,ci){var cj=at.type(ci);if(cj==="function"){if(!cb.unique||!cc.has(ci)){b9.push(ci)}}else{if(ci&&ci.length&&cj!=="string"){ce(ci)}}})})(arguments);if(b5){b7=b9.length}else{if(ca){b8=cf;e(ca)}}}return this},remove:function(){if(b9){at.each(arguments,function(ce,cf){var cg;while((cg=at.inArray(cf,b9,cg))>-1){b9.splice(cg,1);if(b5){if(cg<=b7){b7--}if(cg<=b6){b6--}}}})}return this},has:function(ce){return ce?at.inArray(ce,b9)>-1:!!(b9&&b9.length)},empty:function(){b9=[];b7=0;return this},disable:function(){b9=cd=ca=undefined;return this},disabled:function(){return !b9},lock:function(){cd=undefined;if(!ca){cc.disable()}return this},locked:function(){return !cd},fireWith:function(cf,ce){if(b9&&(!i||cd)){ce=ce||[];ce=[cf,ce.slice?ce.slice():ce];if(b5){cd.push(ce)}else{e(ce)}}return this},fire:function(){cc.fireWith(this,arguments);return this},fired:function(){return !!i}};return cc};at.extend({Deferred:function(i){var b7=[["resolve","done",at.Callbacks("once memory"),"resolved"],["reject","fail",at.Callbacks("once memory"),"rejected"],["notify","progress",at.Callbacks("memory")]],b6="pending",b5={state:function(){return b6},always:function(){e.done(arguments).fail(arguments);return this},then:function(){var b8=arguments;return at.Deferred(function(b9){at.each(b7,function(cb,cc){var ca=at.isFunction(b8[cb])&&b8[cb];e[cc[1]](function(){var cd=ca&&ca.apply(this,arguments);if(cd&&at.isFunction(cd.promise)){cd.promise().done(b9.resolve).fail(b9.reject).progress(b9.notify)}else{b9[cc[0]+"With"](this===b5?b9.promise():this,ca?[cd]:arguments)}})});b8=null}).promise()},promise:function(b8){return b8!=null?at.extend(b8,b5):b5}},e={};b5.pipe=b5.then;at.each(b7,function(b8,cb){var b9=cb[2],ca=cb[3];b5[cb[1]]=b9.add;if(ca){b9.add(function(){b6=ca},b7[b8^1][2].disable,b7[2][2].lock)}e[cb[0]]=function(){e[cb[0]+"With"](this===e?b5:this,arguments);return this};e[cb[0]+"With"]=b9.fireWith});b5.promise(e);if(i){i.call(e,e)}return e},when:function(cc){var b5=0,cb=bP.call(arguments),b6=cb.length,b9=b6!==1||(cc&&at.isFunction(cc.promise))?b6:0,e=b9===1?cc:at.Deferred(),cd=function(cf,ce,cg){return function(i){ce[cf]=this;cg[cf]=arguments.length>1?bP.call(arguments):i;if(cg===b8){e.notifyWith(ce,cg)}else{if(!(--b9)){e.resolveWith(ce,cg)}}}},b8,b7,ca;if(b6>1){b8=new Array(b6);b7=new Array(b6);ca=new Array(b6);for(;b5<b6;b5++){if(cb[b5]&&at.isFunction(cb[b5].promise)){cb[b5].promise().done(cd(b5,ca,cb)).fail(e.reject).progress(cd(b5,b7,b8))}else{--b9}}}if(!b9){e.resolveWith(ca,cb)}return e.promise()}});var aR;at.fn.ready=function(e){at.ready.promise().done(e);return this};at.extend({isReady:false,readyWait:1,holdReady:function(e){if(e){at.readyWait++}else{at.ready(true)}},ready:function(e){if(e===true?--at.readyWait:at.isReady){return}if(!R.body){return setTimeout(at.ready)}at.isReady=true;if(e!==true&&--at.readyWait>0){return}aR.resolveWith(R,[at]);if(at.fn.triggerHandler){at(R).triggerHandler("ready");at(R).off("ready")}}});function O(){if(R.addEventListener){R.removeEventListener("DOMContentLoaded",x,false);bZ.removeEventListener("load",x,false)}else{R.detachEvent("onreadystatechange",x);bZ.detachEvent("onload",x)}}function x(){if(R.addEventListener||event.type==="load"||R.readyState==="complete"){O();at.ready()}}at.ready.promise=function(b6){if(!aR){aR=at.Deferred();if(R.readyState==="complete"){setTimeout(at.ready)}else{if(R.addEventListener){R.addEventListener("DOMContentLoaded",x,false);bZ.addEventListener("load",x,false)}else{R.attachEvent("onreadystatechange",x);bZ.attachEvent("onload",x);var b7=false;try{b7=bZ.frameElement==null&&R.documentElement}catch(b5){}if(b7&&b7.doScroll){(function i(){if(!at.isReady){try{b7.doScroll("left")}catch(b8){return setTimeout(i,50)}O();at.ready()}})()}}}}return aR.promise(b6)};var bQ=typeof undefined;var ai;for(ai in at(bR)){break}bR.ownLast=ai!=="0";bR.inlineBlockNeedsLayout=false;at(function(){var b6,b5,e,i;e=R.getElementsByTagName("body")[0];if(!e||!e.style){return}b5=R.createElement("div");i=R.createElement("div");i.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px";e.appendChild(i).appendChild(b5);if(typeof b5.style.zoom!==bQ){b5.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1";bR.inlineBlockNeedsLayout=b6=b5.offsetWidth===3;if(b6){e.style.zoom=1}}e.removeChild(i)});(function(){var i=R.createElement("div");if(bR.deleteExpando==null){bR.deleteExpando=true;try{delete i.test}catch(b5){bR.deleteExpando=false}}i=null})();at.acceptData=function(e){var i=at.noData[(e.nodeName+" ").toLowerCase()],b5=+e.nodeType||1;return b5!==1&&b5!==9?false:!i||i!==true&&e.getAttribute("classid")===i};var aH=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,bc=/([A-Z])/g;function K(b6,b7,i){if(i===undefined&&b6.nodeType===1){var b8="data-"+b7.replace(bc,"-$1").toLowerCase();i=b6.getAttribute(b8);if(typeof i==="string"){try{i=i==="true"?true:i==="false"?false:i==="null"?null:+i+""===i?+i:aH.test(i)?at.parseJSON(i):i}catch(b5){}at.data(b6,b7,i)}else{i=undefined}}return i}function aq(i){var e;for(e in i){if(e==="data"&&at.isEmptyObject(i[e])){continue}if(e!=="toJSON"){return false}}return true}function an(b5,b9,i,ca){if(!at.acceptData(b5)){return}var cb,cc,b7=at.expando,b8=b5.nodeType,e=b8?at.cache:b5,b6=b8?b5[b7]:b5[b7]&&b7;if((!b6||!e[b6]||(!ca&&!e[b6].data))&&i===undefined&&typeof b9==="string"){return}if(!b6){if(b8){b6=b5[b7]=N.pop()||at.guid++}else{b6=b7}}if(!e[b6]){e[b6]=b8?{}:{toJSON:at.noop}}if(typeof b9==="object"||typeof b9==="function"){if(ca){e[b6]=at.extend(e[b6],b9)}else{e[b6].data=at.extend(e[b6].data,b9)}}cc=e[b6];if(!ca){if(!cc.data){cc.data={}}cc=cc.data}if(i!==undefined){cc[at.camelCase(b9)]=i}if(typeof b9==="string"){cb=cc[b9];if(cb==null){cb=cc[at.camelCase(b9)]}}else{cb=cc}return cb}function ao(b5,b9,ca){if(!at.acceptData(b5)){return}var cb,b6,b8=b5.nodeType,e=b8?at.cache:b5,b7=b8?b5[at.expando]:at.expando;if(!e[b7]){return}if(b9){cb=ca?e[b7]:e[b7].data;if(cb){if(!at.isArray(b9)){if(b9 in cb){b9=[b9]}else{b9=at.camelCase(b9);if(b9 in cb){b9=[b9]}else{b9=b9.split(" ")}}}else{b9=b9.concat(at.map(b9,at.camelCase))}b6=b9.length;while(b6--){delete cb[b9[b6]]}if(ca?!aq(cb):!at.isEmptyObject(cb)){return}}}if(!ca){delete e[b7].data;if(!aq(e[b7])){return}}if(b8){at.cleanData([b5],true)}else{if(bR.deleteExpando||e!=e.window){delete e[b7]}else{e[b7]=null}}}at.extend({cache:{},noData:{"applet ":true,"embed ":true,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(e){e=e.nodeType?at.cache[e[at.expando]]:e[at.expando];return !!e&&!aq(e)},data:function(i,b5,e){return an(i,b5,e)},removeData:function(e,i){return ao(e,i)},_data:function(i,b5,e){return an(i,b5,e,true)},_removeData:function(e,i){return ao(e,i,true)}});at.fn.extend({data:function(b8,ca){var b7,b9,b5,b6=this[0],e=b6&&b6.attributes;if(b8===undefined){if(this.length){b5=at.data(b6);if(b6.nodeType===1&&!at._data(b6,"parsedAttrs")){b7=e.length;while(b7--){if(e[b7]){b9=e[b7].name;if(b9.indexOf("data-")===0){b9=at.camelCase(b9.slice(5));K(b6,b9,b5[b9])}}}at._data(b6,"parsedAttrs",true)}}return b5}if(typeof b8==="object"){return this.each(function(){at.data(this,b8)})}return arguments.length>1?this.each(function(){at.data(this,b8,ca)}):b6?K(b6,b8,at.data(b6,b8)):undefined},removeData:function(e){return this.each(function(){at.removeData(this,e)})}});at.extend({queue:function(i,b6,e){var b5;if(i){b6=(b6||"fx")+"queue";b5=at._data(i,b6);if(e){if(!b5||at.isArray(e)){b5=at._data(i,b6,at.makeArray(e))}else{b5.push(e)}}return b5||[]}},dequeue:function(e,b9){b9=b9||"fx";var b7=at.queue(e,b9),b8=b7.length,i=b7.shift(),b5=at._queueHooks(e,b9),b6=function(){at.dequeue(e,b9)};if(i==="inprogress"){i=b7.shift();b8--}if(i){if(b9==="fx"){b7.unshift("inprogress")}delete b5.stop;i.call(e,b6,b5)}if(!b8&&b5){b5.empty.fire()}},_queueHooks:function(e,b5){var i=b5+"queueHooks";return at._data(e,i)||at._data(e,i,{empty:at.Callbacks("once memory").add(function(){at._removeData(e,b5+"queue");at._removeData(e,i)})})}});at.fn.extend({queue:function(b5,e){var i=2;if(typeof b5!=="string"){e=b5;b5="fx";i--}if(arguments.length<i){return at.queue(this[0],b5)}return e===undefined?this:this.each(function(){var b6=at.queue(this,b5,e);at._queueHooks(this,b5);if(b5==="fx"&&b6[0]!=="inprogress"){at.dequeue(this,b5)}})},dequeue:function(e){return this.each(function(){at.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(cb,b8){var ca,e=1,b5=at.Deferred(),b6=this,b7=this.length,b9=function(){if(!(--e)){b5.resolveWith(b6,[b6])}};if(typeof cb!=="string"){b8=cb;cb=undefined}cb=cb||"fx";while(b7--){ca=at._data(b6[b7],cb+"queueHooks");if(ca&&ca.empty){e++;ca.empty.add(b9)}}b9();return b5.promise(b8)}});var aB=(/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/).source;var F=["Top","Right","Bottom","Left"];var ar=function(i,e){i=e||i;return at.css(i,"display")==="none"||!at.contains(i.ownerDocument,i)};var d=at.access=function(b6,b8,ca,cd,b5,b7,cc){var b9=0,cb=b6.length,e=ca==null;if(at.type(ca)==="object"){b5=true;for(b9 in ca){at.access(b6,b8,b9,ca[b9],true,b7,cc)}}else{if(cd!==undefined){b5=true;if(!at.isFunction(cd)){cc=true}if(e){if(cc){b8.call(b6,cd);b8=null}else{e=b8;b8=function(i,ce,cf){return e.call(at(i),cf)}}}if(b8){for(;b9<cb;b9++){b8(b6[b9],ca,cc?cd:cd.call(b6[b9],b9,b8(b6[b9],ca)))}}}}return b5?b6:e?b8.call(b6):cb?b8(b6[0],ca):b7};var aJ=(/^(?:checkbox|radio)$/i);(function(){var b7=R.createElement("input"),i=R.createElement("div"),b6=R.createDocumentFragment();i.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>";bR.leadingWhitespace=i.firstChild.nodeType===3;bR.tbody=!i.getElementsByTagName("tbody").length;bR.htmlSerialize=!!i.getElementsByTagName("link").length;bR.html5Clone=R.createElement("nav").cloneNode(true).outerHTML!=="<:nav></:nav>";b7.type="checkbox";b7.checked=true;b6.appendChild(b7);bR.appendChecked=b7.checked;i.innerHTML="<textarea>x</textarea>";bR.noCloneChecked=!!i.cloneNode(true).lastChild.defaultValue;b6.appendChild(i);i.innerHTML="<input type='radio' checked='checked' name='t'/>";bR.checkClone=i.cloneNode(true).cloneNode(true).lastChild.checked;bR.noCloneEvent=true;if(i.attachEvent){i.attachEvent("onclick",function(){bR.noCloneEvent=false});i.cloneNode(true).click()}if(bR.deleteExpando==null){bR.deleteExpando=true;try{delete i.test}catch(b5){bR.deleteExpando=false}}})();(function(){var b6,b5,e=R.createElement("div");for(b6 in {submit:true,change:true,focusin:true}){b5="on"+b6;if(!(bR[b6+"Bubbles"]=b5 in bZ)){e.setAttribute(b5,"t");bR[b6+"Bubbles"]=e.attributes[b5].expando===false}}e=null})();var aX=/^(?:input|select|textarea)$/i,a6=/^key/,ba=/^(?:mouse|pointer|contextmenu)|click/,aW=/^(?:focusinfocus|focusoutblur)$/,bD=/^([^.]*)(?:\.(.+)|)$/;function aU(){return true}function aT(){return false}function bI(){try{return R.activeElement}catch(e){}}at.event={global:{},add:function(i,cj,ca,e,ce){var ch,b7,cg,b9,cf,b6,b8,cb,ci,cc,cd,b5=at._data(i);if(!b5){return}if(ca.handler){b9=ca;ca=b9.handler;ce=b9.selector}if(!ca.guid){ca.guid=at.guid++}if(!(b7=b5.events)){b7=b5.events={}}if(!(b6=b5.handle)){b6=b5.handle=function(ck){return typeof at!==bQ&&(!ck||at.event.triggered!==ck.type)?at.event.dispatch.apply(b6.elem,arguments):undefined};b6.elem=i}cj=(cj||"").match(bh)||[""];cg=cj.length;while(cg--){ch=bD.exec(cj[cg])||[];ci=cd=ch[1];cc=(ch[2]||"").split(".").sort();if(!ci){continue}cf=at.event.special[ci]||{};ci=(ce?cf.delegateType:cf.bindType)||ci;cf=at.event.special[ci]||{};b8=at.extend({type:ci,origType:cd,data:e,handler:ca,guid:ca.guid,selector:ce,needsContext:ce&&at.expr.match.needsContext.test(ce),namespace:cc.join(".")},b9);if(!(cb=b7[ci])){cb=b7[ci]=[];cb.delegateCount=0;if(!cf.setup||cf.setup.call(i,e,cc,b6)===false){if(i.addEventListener){i.addEventListener(ci,b6,false)}else{if(i.attachEvent){i.attachEvent("on"+ci,b6)}}}}if(cf.add){cf.add.call(i,b8);if(!b8.handler.guid){b8.handler.guid=ca.guid}}if(ce){cb.splice(cb.delegateCount++,0,b8)}else{cb.push(b8)}at.event.global[ci]=true}i=null},remove:function(e,cj,b7,ce,ca){var b9,b6,ch,cc,cg,b5,cf,b8,ci,cb,cd,i=at.hasData(e)&&at._data(e);if(!i||!(b5=i.events)){return}cj=(cj||"").match(bh)||[""];cg=cj.length;while(cg--){ch=bD.exec(cj[cg])||[];ci=cd=ch[1];cb=(ch[2]||"").split(".").sort();if(!ci){for(ci in b5){at.event.remove(e,ci+cj[cg],b7,ce,true)}continue}cf=at.event.special[ci]||{};ci=(ce?cf.delegateType:cf.bindType)||ci;b8=b5[ci]||[];ch=ch[2]&&new RegExp("(^|\\.)"+cb.join("\\.(?:.*\\.|)")+"(\\.|$)");cc=b9=b8.length;while(b9--){b6=b8[b9];if((ca||cd===b6.origType)&&(!b7||b7.guid===b6.guid)&&(!ch||ch.test(b6.namespace))&&(!ce||ce===b6.selector||ce==="**"&&b6.selector)){b8.splice(b9,1);if(b6.selector){b8.delegateCount--}if(cf.remove){cf.remove.call(e,b6)}}}if(cc&&!b8.length){if(!cf.teardown||cf.teardown.call(e,cb,i.handle)===false){at.removeEvent(e,ci,i.handle)}delete b5[ci]}}if(at.isEmptyObject(b5)){delete i.handle;at._removeData(e,"events")}},trigger:function(ca,b7,b9,cf){var cc,cg,b6,b5,ch,ci,cd,cb=[b9||R],cj=ah.call(ca,"type")?ca.type:ca,ce=ah.call(ca,"namespace")?ca.namespace.split("."):[];b6=ci=b9=b9||R;if(b9.nodeType===3||b9.nodeType===8){return}if(aW.test(cj+at.event.triggered)){return}if(cj.indexOf(".")>=0){ce=cj.split(".");cj=ce.shift();ce.sort()}cg=cj.indexOf(":")<0&&"on"+cj;ca=ca[at.expando]?ca:new at.Event(cj,typeof ca==="object"&&ca);ca.isTrigger=cf?2:3;ca.namespace=ce.join(".");ca.namespace_re=ca.namespace?new RegExp("(^|\\.)"+ce.join("\\.(?:.*\\.|)")+"(\\.|$)"):null;ca.result=undefined;if(!ca.target){ca.target=b9}b7=b7==null?[ca]:at.makeArray(b7,[ca]);ch=at.event.special[cj]||{};if(!cf&&ch.trigger&&ch.trigger.apply(b9,b7)===false){return}if(!cf&&!ch.noBubble&&!at.isWindow(b9)){b5=ch.delegateType||cj;if(!aW.test(b5+cj)){b6=b6.parentNode}for(;b6;b6=b6.parentNode){cb.push(b6);ci=b6}if(ci===(b9.ownerDocument||R)){cb.push(ci.defaultView||ci.parentWindow||bZ)}}cd=0;while((b6=cb[cd++])&&!ca.isPropagationStopped()){ca.type=cd>1?b5:ch.bindType||cj;cc=(at._data(b6,"events")||{})[ca.type]&&at._data(b6,"handle");if(cc){cc.apply(b6,b7)}cc=cg&&b6[cg];if(cc&&cc.apply&&at.acceptData(b6)){ca.result=cc.apply(b6,b7);if(ca.result===false){ca.preventDefault()}}}ca.type=cj;if(!cf&&!ca.isDefaultPrevented()){if((!ch._default||ch._default.apply(cb.pop(),b7)===false)&&at.acceptData(b9)){if(cg&&b9[cj]&&!at.isWindow(b9)){ci=b9[cg];if(ci){b9[cg]=null}at.event.triggered=cj;try{b9[cj]()}catch(b8){}at.event.triggered=undefined;if(ci){b9[cg]=ci}}}}return ca.result},dispatch:function(b5){b5=at.event.fix(b5);var b9,cc,b6,cb,ca,b7=[],e=bP.call(arguments),b8=(at._data(this,"events")||{})[b5.type]||[],cd=at.event.special[b5.type]||{};e[0]=b5;b5.delegateTarget=this;if(cd.preDispatch&&cd.preDispatch.call(this,b5)===false){return}b7=at.event.handlers.call(this,b5,b8);b9=0;while((cb=b7[b9++])&&!b5.isPropagationStopped()){b5.currentTarget=cb.elem;ca=0;while((b6=cb.handlers[ca++])&&!b5.isImmediatePropagationStopped()){if(!b5.namespace_re||b5.namespace_re.test(b6.namespace)){b5.handleObj=b6;b5.data=b6.data;cc=((at.event.special[b6.origType]||{}).handle||b6.handler).apply(cb.elem,e);if(cc!==undefined){if((b5.result=cc)===false){b5.preventDefault();b5.stopPropagation()}}}}}if(cd.postDispatch){cd.postDispatch.call(this,b5)}return b5.result},handlers:function(b6,b9){var cc,b7,cb,ca,b8=[],b5=b9.delegateCount,e=b6.target;if(b5&&e.nodeType&&(!b6.button||b6.type!=="click")){for(;e!=this;e=e.parentNode||this){if(e.nodeType===1&&(e.disabled!==true||b6.type!=="click")){cb=[];for(ca=0;ca<b5;ca++){b7=b9[ca];cc=b7.selector+" ";if(cb[cc]===undefined){cb[cc]=b7.needsContext?at(cc,this).index(e)>=0:at.find(cc,this,null,[e]).length}if(cb[cc]){cb.push(b7)}}if(cb.length){b8.push({elem:e,handlers:cb})}}}}if(b5<b9.length){b8.push({elem:this,handlers:b9.slice(b5)})}return b8},fix:function(b5){if(b5[at.expando]){return b5}var b7,b9,e,ca=b5.type,b8=b5,b6=this.fixHooks[ca];if(!b6){this.fixHooks[ca]=b6=ba.test(ca)?this.mouseHooks:a6.test(ca)?this.keyHooks:{}}e=b6.props?this.props.concat(b6.props):this.props;b5=new at.Event(b8);b7=e.length;while(b7--){b9=e[b7];b5[b9]=b8[b9]}if(!b5.target){b5.target=b8.srcElement||R}if(b5.target.nodeType===3){b5.target=b5.target.parentNode}b5.metaKey=!!b5.metaKey;return b6.filter?b6.filter(b5,b8):b5},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,i){if(e.which==null){e.which=i.charCode!=null?i.charCode:i.keyCode}return e}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(b6,b9){var e,b7,b5,i=b9.button,b8=b9.fromElement;if(b6.pageX==null&&b9.clientX!=null){b7=b6.target.ownerDocument||R;b5=b7.documentElement;e=b7.body;b6.pageX=b9.clientX+(b5&&b5.scrollLeft||e&&e.scrollLeft||0)-(b5&&b5.clientLeft||e&&e.clientLeft||0);b6.pageY=b9.clientY+(b5&&b5.scrollTop||e&&e.scrollTop||0)-(b5&&b5.clientTop||e&&e.clientTop||0)}if(!b6.relatedTarget&&b8){b6.relatedTarget=b8===b6.target?b9.toElement:b8}if(!b6.which&&i!==undefined){b6.which=(i&1?1:(i&2?3:(i&4?2:0)))}return b6}},special:{load:{noBubble:true},focus:{trigger:function(){if(this!==bI()&&this.focus){try{this.focus();return false}catch(i){}}},delegateType:"focusin"},blur:{trigger:function(){if(this===bI()&&this.blur){this.blur();return false}},delegateType:"focusout"},click:{trigger:function(){if(at.nodeName(this,"input")&&this.type==="checkbox"&&this.click){this.click();return false}},_default:function(e){return at.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){if(e.result!==undefined&&e.originalEvent){e.originalEvent.returnValue=e.result}}}},simulate:function(b8,b6,b7,i){var b5=at.extend(new at.Event(),b7,{type:b8,isSimulated:true,originalEvent:{}});if(i){at.event.trigger(b5,null,b6)}else{at.event.dispatch.call(b6,b5)}if(b5.isDefaultPrevented()){b7.preventDefault()}}};at.removeEvent=R.removeEventListener?function(e,b5,i){if(e.removeEventListener){e.removeEventListener(b5,i,false)}}:function(e,b6,i){var b5="on"+b6;if(e.detachEvent){if(typeof e[b5]===bQ){e[b5]=null}e.detachEvent(b5,i)}};at.Event=function(i,e){if(!(this instanceof at.Event)){return new at.Event(i,e)}if(i&&i.type){this.originalEvent=i;this.type=i.type;this.isDefaultPrevented=i.defaultPrevented||i.defaultPrevented===undefined&&i.returnValue===false?aU:aT}else{this.type=i}if(e){at.extend(this,e)}this.timeStamp=i&&i.timeStamp||at.now();this[at.expando]=true};at.Event.prototype={isDefaultPrevented:aT,isPropagationStopped:aT,isImmediatePropagationStopped:aT,preventDefault:function(){var i=this.originalEvent;this.isDefaultPrevented=aU;if(!i){return}if(i.preventDefault){i.preventDefault()}else{i.returnValue=false}},stopPropagation:function(){var i=this.originalEvent;this.isPropagationStopped=aU;if(!i){return}if(i.stopPropagation){i.stopPropagation()}i.cancelBubble=true},stopImmediatePropagation:function(){var i=this.originalEvent;this.isImmediatePropagationStopped=aU;if(i&&i.stopImmediatePropagation){i.stopImmediatePropagation()}this.stopPropagation()}};at.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(i,e){at.event.special[i]={delegateType:e,bindType:e,handle:function(b5){var b8,b9=this,b7=b5.relatedTarget,b6=b5.handleObj;if(!b7||(b7!==b9&&!at.contains(b9,b7))){b5.type=b6.origType;b8=b6.handler.apply(this,arguments);b5.type=e}return b8}}});if(!bR.submitBubbles){at.event.special.submit={setup:function(){if(at.nodeName(this,"form")){return false}at.event.add(this,"click._submit keypress._submit",function(i){var b5=i.target,b6=at.nodeName(b5,"input")||at.nodeName(b5,"button")?b5.form:undefined;if(b6&&!at._data(b6,"submitBubbles")){at.event.add(b6,"submit._submit",function(e){e._submit_bubble=true});at._data(b6,"submitBubbles",true)}})},postDispatch:function(e){if(e._submit_bubble){delete e._submit_bubble;if(this.parentNode&&!e.isTrigger){at.event.simulate("submit",this.parentNode,e,true)}}},teardown:function(){if(at.nodeName(this,"form")){return false}at.event.remove(this,"._submit")}}}if(!bR.changeBubbles){at.event.special.change={setup:function(){if(aX.test(this.nodeName)){if(this.type==="checkbox"||this.type==="radio"){at.event.add(this,"propertychange._change",function(e){if(e.originalEvent.propertyName==="checked"){this._just_changed=true}});at.event.add(this,"click._change",function(e){if(this._just_changed&&!e.isTrigger){this._just_changed=false}at.event.simulate("change",this,e,true)})}return false}at.event.add(this,"beforeactivate._change",function(i){var b5=i.target;if(aX.test(b5.nodeName)&&!at._data(b5,"changeBubbles")){at.event.add(b5,"change._change",function(e){if(this.parentNode&&!e.isSimulated&&!e.isTrigger){at.event.simulate("change",this.parentNode,e,true)}});at._data(b5,"changeBubbles",true)}})},handle:function(i){var e=i.target;if(this!==e||i.isSimulated||i.isTrigger||(e.type!=="radio"&&e.type!=="checkbox")){return i.handleObj.handler.apply(this,arguments)}},teardown:function(){at.event.remove(this,"._change");return !aX.test(this.nodeName)}}}if(!bR.focusinBubbles){at.each({focus:"focusin",blur:"focusout"},function(b5,e){var i=function(b6){at.event.simulate(e,b6.target,at.event.fix(b6),true)};at.event.special[e]={setup:function(){var b7=this.ownerDocument||this,b6=at._data(b7,e);if(!b6){b7.addEventListener(b5,i,true)}at._data(b7,e,(b6||0)+1)},teardown:function(){var b7=this.ownerDocument||this,b6=at._data(b7,e)-1;if(!b6){b7.removeEventListener(b5,i,true);at._removeData(b7,e)}else{at._data(b7,e,b6)}}}})}at.fn.extend({on:function(b9,b7,e,i,b5){var b8,b6;if(typeof b9==="object"){if(typeof b7!=="string"){e=e||b7;b7=undefined}for(b8 in b9){this.on(b8,b7,e,b9[b8],b5)}return this}if(e==null&&i==null){i=b7;e=b7=undefined}else{if(i==null){if(typeof b7==="string"){i=e;e=undefined}else{i=e;e=b7;b7=undefined}}}if(i===false){i=aT}else{if(!i){return this}}if(b5===1){b6=i;i=function(ca){at().off(ca);return b6.apply(this,arguments)};i.guid=b6.guid||(b6.guid=at.guid++)}return this.each(function(){at.event.add(this,b9,i,e,b7)})},one:function(b6,b5,e,i){return this.on(b6,b5,e,i,1)},off:function(b7,b5,e){var i,b6;if(b7&&b7.preventDefault&&b7.handleObj){i=b7.handleObj;at(b7.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler);return this}if(typeof b7==="object"){for(b6 in b7){this.off(b6,b5,b7[b6])}return this}if(b5===false||typeof b5==="function"){e=b5;b5=undefined}if(e===false){e=aT}return this.each(function(){at.event.remove(this,b7,e,b5)})},trigger:function(i,e){return this.each(function(){at.event.trigger(i,e,this)})},triggerHandler:function(b5,e){var i=this[0];if(i){return at.event.trigger(b5,e,i,true)}}});function C(e){var i=aw.split("|"),b5=e.createDocumentFragment();if(b5.createElement){while(i.length){b5.createElement(i.pop())}}return b5}var aw="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",a3=/ jQuery\d+="(?:null|\d+)"/g,bg=new RegExp("<(?:"+aw+")[\\s/>]","i"),a7=/^\s+/,bH=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,bz=/<([\w:]+)/,bA=/<tbody/i,a2=/<|&#?\w+;/,bf=/<(?:script|style|link)/i,aK=/checked\s*(?:[^=]|=\s*.checked.)/i,bu=/^$|\/(?:java|ecma)script/i,bv=/^true\/(.*)/,aM=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,b1={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:bR.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},bJ=C(R),X=bJ.appendChild(R.createElement("div"));b1.optgroup=b1.option;b1.tbody=b1.tfoot=b1.colgroup=b1.caption=b1.thead;b1.th=b1.td;function aa(e,b9){var b6,b5,b8=0,b7=typeof e.getElementsByTagName!==bQ?e.getElementsByTagName(b9||"*"):typeof e.querySelectorAll!==bQ?e.querySelectorAll(b9||"*"):undefined;if(!b7){for(b7=[],b6=e.childNodes||e;(b5=b6[b8])!=null;b8++){if(!b9||at.nodeName(b5,b9)){b7.push(b5)}else{at.merge(b7,aa(b5,b9))}}}return b9===undefined||b9&&at.nodeName(e,b9)?at.merge([e],b7):b7}function W(e){if(aJ.test(e.type)){e.defaultChecked=e.checked}}function au(i,e){return at.nodeName(i,"table")&&at.nodeName(e.nodeType!==11?e:e.firstChild,"tr")?i.getElementsByTagName("tbody")[0]||i.appendChild(i.ownerDocument.createElement("tbody")):i}function P(e){e.type=(at.find.attr(e,"type")!==null)+"/"+e.type;return e}function aS(e){var i=bv.exec(e.type);if(i){e.type=i[1]}else{e.removeAttribute("type")}return e}function bK(b5,b7){var e,b6=0;for(;(e=b5[b6])!=null;b6++){at._data(e,"globalEval",!b7||at._data(b7[b6],"globalEval"))}}function w(ca,b5){if(b5.nodeType!==1||!at.hasData(ca)){return}var cb,b7,b8,b9=at._data(ca),e=at._data(b5,b9),b6=b9.events;if(b6){delete e.handle;e.events={};for(cb in b6){for(b7=0,b8=b6[cb].length;b7<b8;b7++){at.event.add(b5,cb,b6[cb][b7])}}}if(e.data){e.data=at.extend({},e.data)}}function V(b8,b5){var b7,b6,i;if(b5.nodeType!==1){return}b7=b5.nodeName.toLowerCase();if(!bR.noCloneEvent&&b5[at.expando]){i=at._data(b5);for(b6 in i.events){at.removeEvent(b5,b6,i.handle)}b5.removeAttribute(at.expando)}if(b7==="script"&&b5.text!==b8.text){P(b5).text=b8.text;aS(b5)}else{if(b7==="object"){if(b5.parentNode){b5.outerHTML=b8.outerHTML}if(bR.html5Clone&&(b8.innerHTML&&!at.trim(b5.innerHTML))){b5.innerHTML=b8.innerHTML}}else{if(b7==="input"&&aJ.test(b8.type)){b5.defaultChecked=b5.checked=b8.checked;if(b5.value!==b8.value){b5.value=b8.value}}else{if(b7==="option"){b5.defaultSelected=b5.selected=b8.defaultSelected}else{if(b7==="input"||b7==="textarea"){b5.defaultValue=b8.defaultValue}}}}}}at.extend({clone:function(b8,b5,b6){var b7,cb,e,b9,cc,ca=at.contains(b8.ownerDocument,b8);if(bR.html5Clone||at.isXMLDoc(b8)||!bg.test("<"+b8.nodeName+">")){e=b8.cloneNode(true)}else{X.innerHTML=b8.outerHTML;X.removeChild(e=X.firstChild)}if((!bR.noCloneEvent||!bR.noCloneChecked)&&(b8.nodeType===1||b8.nodeType===11)&&!at.isXMLDoc(b8)){b7=aa(e);cc=aa(b8);for(b9=0;(cb=cc[b9])!=null;++b9){if(b7[b9]){V(cb,b7[b9])}}}if(b5){if(b6){cc=cc||aa(b8);b7=b7||aa(e);for(b9=0;(cb=cc[b9])!=null;b9++){w(cb,b7[b9])}}else{w(b8,e)}}b7=aa(e,"script");if(b7.length>0){bK(b7,!ca&&aa(b8,"script"))}b7=cc=cb=null;return e},buildFragment:function(b7,b5,cd,ce){var b9,b6,e,ch,cf,cg,ci,ca=b7.length,cc=C(b5),cb=[],b8=0;for(;b8<ca;b8++){b6=b7[b8];if(b6||b6===0){if(at.type(b6)==="object"){at.merge(cb,b6.nodeType?[b6]:b6)}else{if(!a2.test(b6)){cb.push(b5.createTextNode(b6))}else{ch=ch||cc.appendChild(b5.createElement("div"));cf=(bz.exec(b6)||["",""])[1].toLowerCase();ci=b1[cf]||b1._default;ch.innerHTML=ci[1]+b6.replace(bH,"<$1></$2>")+ci[2];b9=ci[0];while(b9--){ch=ch.lastChild}if(!bR.leadingWhitespace&&a7.test(b6)){cb.push(b5.createTextNode(a7.exec(b6)[0]))}if(!bR.tbody){b6=cf==="table"&&!bA.test(b6)?ch.firstChild:ci[1]==="<table>"&&!bA.test(b6)?ch:0;b9=b6&&b6.childNodes.length;while(b9--){if(at.nodeName((cg=b6.childNodes[b9]),"tbody")&&!cg.childNodes.length){b6.removeChild(cg)}}}at.merge(cb,ch.childNodes);ch.textContent="";while(ch.firstChild){ch.removeChild(ch.firstChild)}ch=cc.lastChild}}}}if(ch){cc.removeChild(ch)}if(!bR.appendChecked){at.grep(aa(cb,"input"),W)}b8=0;while((b6=cb[b8++])){if(ce&&at.inArray(b6,ce)!==-1){continue}e=at.contains(b6.ownerDocument,b6);ch=aa(cc.appendChild(b6),"script");if(e){bK(ch)}if(cd){b9=0;while((b6=ch[b9++])){if(bu.test(b6.type||"")){cd.push(b6)}}}}ch=null;return cc},cleanData:function(b9,e){var b8,ce,cb,b6,ca=0,cc=at.expando,b5=at.cache,b7=bR.deleteExpando,cd=at.event.special;for(;(b8=b9[ca])!=null;ca++){if(e||at.acceptData(b8)){cb=b8[cc];b6=cb&&b5[cb];if(b6){if(b6.events){for(ce in b6.events){if(cd[ce]){at.event.remove(b8,ce)}else{at.removeEvent(b8,ce,b6.handle)}}}if(b5[cb]){delete b5[cb];if(b7){delete b8[cc]}else{if(typeof b8.removeAttribute!==bQ){b8.removeAttribute(cc)}else{b8[cc]=null}}N.push(cb)}}}}}});at.fn.extend({text:function(e){return d(this,function(i){return i===undefined?at.text(this):this.empty().append((this[0]&&this[0].ownerDocument||R).createTextNode(i))},null,e,arguments.length)},append:function(){return this.domManip(arguments,function(e){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var i=au(this,e);i.appendChild(e)}})},prepend:function(){return this.domManip(arguments,function(e){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var i=au(this,e);i.insertBefore(e,i.firstChild)}})},before:function(){return this.domManip(arguments,function(e){if(this.parentNode){this.parentNode.insertBefore(e,this)}})},after:function(){return this.domManip(arguments,function(e){if(this.parentNode){this.parentNode.insertBefore(e,this.nextSibling)}})},remove:function(b8,b7){var e,b5=b8?at.filter(b8,this):this,b6=0;for(;(e=b5[b6])!=null;b6++){if(!b7&&e.nodeType===1){at.cleanData(aa(e))}if(e.parentNode){if(b7&&at.contains(e.ownerDocument,e)){bK(aa(e,"script"))}e.parentNode.removeChild(e)}}return this},empty:function(){var e,b5=0;for(;(e=this[b5])!=null;b5++){if(e.nodeType===1){at.cleanData(aa(e,false))}while(e.firstChild){e.removeChild(e.firstChild)}if(e.options&&at.nodeName(e,"select")){e.options.length=0}}return this},clone:function(e,i){e=e==null?false:e;i=i==null?e:i;return this.map(function(){return at.clone(this,e,i)})},html:function(e){return d(this,function(b9){var b6=this[0]||{},b7=0,b8=this.length;if(b9===undefined){return b6.nodeType===1?b6.innerHTML.replace(a3,""):undefined}if(typeof b9==="string"&&!bf.test(b9)&&(bR.htmlSerialize||!bg.test(b9))&&(bR.leadingWhitespace||!a7.test(b9))&&!b1[(bz.exec(b9)||["",""])[1].toLowerCase()]){b9=b9.replace(bH,"<$1></$2>");try{for(;b7<b8;b7++){b6=this[b7]||{};if(b6.nodeType===1){at.cleanData(aa(b6,false));b6.innerHTML=b9}}b6=0}catch(b5){}}if(b6){this.empty().append(b9)}},null,e,arguments.length)},replaceWith:function(){var e=arguments[0];this.domManip(arguments,function(i){e=this.parentNode;at.cleanData(aa(this));if(e){e.replaceChild(i,this)}});return e&&(e.length||e.nodeType)?this:this.remove()},detach:function(e){return this.remove(e,true)},domManip:function(e,b5){e=y.apply([],e);var b7,ce,b9,cf,b6,b8,ca=0,cd=this.length,cg=this,cb=cd-1,ch=e[0],cc=at.isFunction(ch);if(cc||(cd>1&&typeof ch==="string"&&!bR.checkClone&&aK.test(ch))){return this.each(function(i){var ci=cg.eq(i);if(cc){e[0]=ch.call(this,i,ci.html())}ci.domManip(e,b5)})}if(cd){b8=at.buildFragment(e,this[0].ownerDocument,false,this);b7=b8.firstChild;if(b8.childNodes.length===1){b8=b7}if(b7){cf=at.map(aa(b8,"script"),P);b9=cf.length;for(;ca<cd;ca++){ce=b8;if(ca!==cb){ce=at.clone(ce,true,true);if(b9){at.merge(cf,aa(ce,"script"))}}b5.call(this[ca],ce,ca)}if(b9){b6=cf[cf.length-1].ownerDocument;at.map(cf,aS);for(ca=0;ca<b9;ca++){ce=cf[ca];if(bu.test(ce.type||"")&&!at._data(ce,"globalEval")&&at.contains(b6,ce)){if(ce.src){if(at._evalUrl){at._evalUrl(ce.src)}}else{at.globalEval((ce.text||ce.textContent||ce.innerHTML||"").replace(aM,""))}}}}b8=b7=null}}return this}});at.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,i){at.fn[e]=function(ca){var b5,b6=0,b9=[],b7=at(ca),b8=b7.length-1;for(;b6<=b8;b6++){b5=b6===b8?this:this.clone(true);at(b7[b6])[i](b5);aE.apply(b9,b5.get())}return this.pushStack(b9)}});var aj,T={};function f(b6,i){var b7,b5=at(i.createElement(b6)).appendTo(i.body),e=bZ.getDefaultComputedStyle&&(b7=bZ.getDefaultComputedStyle(b5[0]))?b7.display:at.css(b5[0],"display");b5.detach();return e}function L(b5){var i=R,e=T[b5];if(!e){e=f(b5,i);if(e==="none"||!e){aj=(aj||at("<iframe frameborder='0' width='0' height='0'/>")).appendTo(i.documentElement);i=(aj[0].contentWindow||aj[0].contentDocument).document;i.write();i.close();e=f(b5,i);aj.detach()}T[b5]=e}return e}(function(){var e;bR.shrinkWrapBlocks=function(){if(e!=null){return e}e=false;var b6,i,b5;i=R.getElementsByTagName("body")[0];if(!i||!i.style){return}b6=R.createElement("div");b5=R.createElement("div");b5.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px";i.appendChild(b5).appendChild(b6);if(typeof b6.style.zoom!==bQ){b6.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1";b6.appendChild(R.createElement("div")).style.width="5px";e=b6.offsetWidth!==3}i.removeChild(b5);return e}})();var a9=(/^margin/);var bi=new RegExp("^("+aB+")(?!px)[a-z%]+$","i");var ad,J,bn=/^(top|right|bottom|left)$/;if(bZ.getComputedStyle){ad=function(e){if(e.ownerDocument.defaultView.opener){return e.ownerDocument.defaultView.getComputedStyle(e,null)}return bZ.getComputedStyle(e,null)};J=function(i,b7,e){var ca,b6,b5,b8,b9=i.style;e=e||ad(i);b8=e?e.getPropertyValue(b7)||e[b7]:undefined;if(e){if(b8===""&&!at.contains(i.ownerDocument,i)){b8=at.style(i,b7)}if(bi.test(b8)&&a9.test(b7)){ca=b9.width;b6=b9.minWidth;b5=b9.maxWidth;b9.minWidth=b9.maxWidth=b9.width=b8;b8=e.width;b9.width=ca;b9.minWidth=b6;b9.maxWidth=b5}}return b8===undefined?b8:b8+""}}else{if(R.documentElement.currentStyle){ad=function(e){return e.currentStyle};J=function(i,b6,e){var b5,b8,b9,b7,ca=i.style;e=e||ad(i);b7=e?e[b6]:undefined;if(b7==null&&ca&&ca[b6]){b7=ca[b6]}if(bi.test(b7)&&!bn.test(b6)){b5=ca.left;b8=i.runtimeStyle;b9=b8&&b8.left;if(b9){b8.left=i.currentStyle.left}ca.left=b6==="fontSize"?"1em":b7;b7=ca.pixelLeft+"px";ca.left=b5;if(b9){b8.left=b9}}return b7===undefined?b7:b7+""||"auto"}}}function g(e,i){return{get:function(){var b5=e();if(b5==null){return}if(b5){delete this.get;return}return(this.get=i).apply(this,arguments)}}}(function(){var b6,ca,e,b7,i,b8,b9;b6=R.createElement("div");b6.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>";e=b6.getElementsByTagName("a")[0];ca=e&&e.style;if(!ca){return}ca.cssText="float:left;opacity:.5";bR.opacity=ca.opacity==="0.5";bR.cssFloat=!!ca.cssFloat;b6.style.backgroundClip="content-box";b6.cloneNode(true).style.backgroundClip="";bR.clearCloneStyle=b6.style.backgroundClip==="content-box";bR.boxSizing=ca.boxSizing===""||ca.MozBoxSizing===""||ca.WebkitBoxSizing==="";at.extend(bR,{reliableHiddenOffsets:function(){if(b8==null){b5()}return b8},boxSizingReliable:function(){if(i==null){b5()}return i},pixelPosition:function(){if(b7==null){b5()}return b7},reliableMarginRight:function(){if(b9==null){b5()}return b9}});function b5(){var ce,cb,cc,cd;cb=R.getElementsByTagName("body")[0];if(!cb||!cb.style){return}ce=R.createElement("div");cc=R.createElement("div");cc.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px";cb.appendChild(cc).appendChild(ce);ce.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute";b7=i=false;b9=true;if(bZ.getComputedStyle){b7=(bZ.getComputedStyle(ce,null)||{}).top!=="1%";i=(bZ.getComputedStyle(ce,null)||{width:"4px"}).width==="4px";cd=ce.appendChild(R.createElement("div"));cd.style.cssText=ce.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0";cd.style.marginRight=cd.style.width="0";ce.style.width="1px";b9=!parseFloat((bZ.getComputedStyle(cd,null)||{}).marginRight);ce.removeChild(cd)}ce.innerHTML="<table><tr><td></td><td>t</td></tr></table>";cd=ce.getElementsByTagName("td");cd[0].style.cssText="margin:0;border:0;padding:0;display:none";b8=cd[0].offsetHeight===0;if(b8){cd[0].style.display="";cd[1].style.display="none";b8=cd[0].offsetHeight===0}cb.removeChild(cc)}})();at.swap=function(b5,b8,i,e){var b9,b6,b7={};for(b6 in b8){b7[b6]=b5.style[b6];b5.style[b6]=b8[b6]}b9=i.apply(b5,e||[]);for(b6 in b8){b5.style[b6]=b7[b6]}return b9};var aG=/alpha\([^)]*\)/i,bl=/opacity\s*=\s*([^)]*)/,aQ=/^(none|table(?!-c[ea]).+)/,bj=new RegExp("^("+aB+")(.*)$","i"),br=new RegExp("^([+-])=("+aB+")","i"),I={position:"absolute",visibility:"hidden",display:"block"},G={letterSpacing:"0",fontWeight:"400"},H=["Webkit","O","Moz","ms"];function bX(b8,b6){if(b6 in b8){return b6}var e=b6.charAt(0).toUpperCase()+b6.slice(1),b7=b6,b5=H.length;while(b5--){b6=H[b5]+e;if(b6 in b8){return b6}}return b7}function bM(b5,b9){var e,i,b6,ca=[],b7=0,b8=b5.length;for(;b7<b8;b7++){i=b5[b7];if(!i.style){continue}ca[b7]=at._data(i,"olddisplay");e=i.style.display;if(b9){if(!ca[b7]&&e==="none"){i.style.display=""}if(i.style.display===""&&ar(i)){ca[b7]=at._data(i,"olddisplay",L(i.nodeName))}}else{b6=ar(i);if(e&&e!=="none"||!b6){at._data(i,"olddisplay",b6?e:at.css(i,"display"))}}}for(b7=0;b7<b8;b7++){i=b5[b7];if(!i.style){continue}if(!b9||i.style.display==="none"||i.style.display===""){i.style.display=b9?ca[b7]||"":"none"}}return b5}function bL(e,b6,b5){var i=bj.exec(b6);return i?Math.max(0,i[1]-(b5||0))+(i[2]||"px"):b6}function s(e,b8,b5,b7,b9){var b6=b5===(b7?"border":"content")?4:b8==="width"?1:0,ca=0;for(;b6<4;b6+=2){if(b5==="margin"){ca+=at.css(e,b5+F[b6],true,b9)}if(b7){if(b5==="content"){ca-=at.css(e,"padding"+F[b6],true,b9)}if(b5!=="margin"){ca-=at.css(e,"border"+F[b6]+"Width",true,b9)}}else{ca+=at.css(e,"padding"+F[b6],true,b9);if(b5!=="padding"){ca+=at.css(e,"border"+F[b6]+"Width",true,b9)}}}return ca}function ae(e,b6,i){var b9=true,b8=b6==="width"?e.offsetWidth:e.offsetHeight,b7=ad(e),b5=bR.boxSizing&&at.css(e,"boxSizing",false,b7)==="border-box";if(b8<=0||b8==null){b8=J(e,b6,b7);if(b8<0||b8==null){b8=e.style[b6]}if(bi.test(b8)){return b8}b9=b5&&(bR.boxSizingReliable()||b8===e.style[b6]);b8=parseFloat(b8)||0}return(b8+s(e,b6,i||(b5?"border":"content"),b9,b7))+"px"}at.extend({cssHooks:{opacity:{get:function(i,e){if(e){var b5=J(i,"opacity");return b5===""?"1":b5}}}},cssNumber:{columnCount:true,fillOpacity:true,flexGrow:true,flexShrink:true,fontWeight:true,lineHeight:true,opacity:true,order:true,orphans:true,widows:true,zIndex:true,zoom:true},cssProps:{"float":bR.cssFloat?"cssFloat":"styleFloat"},style:function(b5,b8,cd,b6){if(!b5||b5.nodeType===3||b5.nodeType===8||!b5.style){return}var ca,cc,b7,b9=at.camelCase(b8),cb=b5.style;b8=at.cssProps[b9]||(at.cssProps[b9]=bX(cb,b9));b7=at.cssHooks[b8]||at.cssHooks[b9];if(cd!==undefined){cc=typeof cd;if(cc==="string"&&(ca=br.exec(cd))){cd=(ca[1]+1)*ca[2]+parseFloat(at.css(b5,b8));cc="number"}if(cd==null||cd!==cd){return}if(cc==="number"&&!at.cssNumber[b9]){cd+="px"}if(!bR.clearCloneStyle&&cd===""&&b8.indexOf("background")===0){cb[b8]="inherit"}if(!b7||!("set" in b7)||(cd=b7.set(b5,cd,b6))!==undefined){try{cb[b8]=cd}catch(i){}}}else{if(b7&&"get" in b7&&(ca=b7.get(b5,false,b6))!==undefined){return ca}return cb[b8]}},css:function(e,b6,i,b9){var b7,ca,b5,b8=at.camelCase(b6);b6=at.cssProps[b8]||(at.cssProps[b8]=bX(e.style,b8));b5=at.cssHooks[b6]||at.cssHooks[b8];if(b5&&"get" in b5){ca=b5.get(e,true,i)}if(ca===undefined){ca=J(e,b6,b9)}if(ca==="normal"&&b6 in G){ca=G[b6]}if(i===""||i){b7=parseFloat(ca);return i===true||at.isNumeric(b7)?b7||0:ca}return ca}});at.each(["height","width"],function(e,b5){at.cssHooks[b5]={get:function(b6,i,b7){if(i){return aQ.test(at.css(b6,"display"))&&b6.offsetWidth===0?at.swap(b6,I,function(){return ae(b6,b5,b7)}):ae(b6,b5,b7)}},set:function(i,b8,b6){var b7=b6&&ad(i);return bL(i,b8,b6?s(i,b5,b6,bR.boxSizing&&at.css(i,"boxSizing",false,b7)==="border-box",b7):0)}}});if(!bR.opacity){at.cssHooks.opacity={get:function(i,e){return bl.test((e&&i.currentStyle?i.currentStyle.filter:i.style.filter)||"")?(0.01*parseFloat(RegExp.$1))+"":e?"1":""},set:function(i,b8){var b7=i.style,e=i.currentStyle,b6=at.isNumeric(b8)?"alpha(opacity="+b8*100+")":"",b5=e&&e.filter||b7.filter||"";b7.zoom=1;if((b8>=1||b8==="")&&at.trim(b5.replace(aG,""))===""&&b7.removeAttribute){b7.removeAttribute("filter");if(b8===""||e&&!e.filter){return}}b7.filter=aG.test(b5)?b5.replace(aG,b6):b5+" "+b6}}}at.cssHooks.marginRight=g(bR.reliableMarginRight,function(i,e){if(e){return at.swap(i,{display:"inline-block"},J,[i,"marginRight"])}});at.each({margin:"",padding:"",border:"Width"},function(e,i){at.cssHooks[e+i]={expand:function(b8){var b6=0,b5={},b7=typeof b8==="string"?b8.split(" "):[b8];for(;b6<4;b6++){b5[e+F[b6]+i]=b7[b6]||b7[b6-2]||b7[0]}return b5}};if(!a9.test(e)){at.cssHooks[e+i].set=bL}});at.fn.extend({css:function(e,i){return d(this,function(b5,b9,cb){var ca,b7,b8={},b6=0;if(at.isArray(b9)){ca=ad(b5);b7=b9.length;for(;b6<b7;b6++){b8[b9[b6]]=at.css(b5,b9[b6],false,ca)}return b8}return cb!==undefined?at.style(b5,b9,cb):at.css(b5,b9)},e,i,arguments.length>1)},show:function(){return bM(this,true)},hide:function(){return bM(this)},toggle:function(e){if(typeof e==="boolean"){return e?this.show():this.hide()}return this.each(function(){if(ar(this)){at(this).show()}else{at(this).hide()}})}});function bV(i,b6,b7,b5,e){return new bV.prototype.init(i,b6,b7,b5,e)}at.Tween=bV;bV.prototype={constructor:bV,init:function(i,b6,b7,b5,e,b8){this.elem=i;this.prop=b7;this.easing=e||"swing";this.options=b6;this.start=this.now=this.cur();this.end=b5;this.unit=b8||(at.cssNumber[b7]?"":"px")},cur:function(){var e=bV.propHooks[this.prop];return e&&e.get?e.get(this):bV.propHooks._default.get(this)},run:function(b5){var e,i=bV.propHooks[this.prop];if(this.options.duration){this.pos=e=at.easing[this.easing](b5,this.options.duration*b5,0,1,this.options.duration)}else{this.pos=e=b5}this.now=(this.end-this.start)*e+this.start;if(this.options.step){this.options.step.call(this.elem,this.now,this)}if(i&&i.set){i.set(this)}else{bV.propHooks._default.set(this)}return this}};bV.prototype.init.prototype=bV.prototype;bV.propHooks={_default:{get:function(i){var e;if(i.elem[i.prop]!=null&&(!i.elem.style||i.elem.style[i.prop]==null)){return i.elem[i.prop]}e=at.css(i.elem,i.prop,"");return !e||e==="auto"?0:e},set:function(e){if(at.fx.step[e.prop]){at.fx.step[e.prop](e)}else{if(e.elem.style&&(e.elem.style[at.cssProps[e.prop]]!=null||at.cssHooks[e.prop])){at.style(e.elem,e.prop,e.now+e.unit)}else{e.elem[e.prop]=e.now}}}}};bV.propHooks.scrollTop=bV.propHooks.scrollLeft={set:function(e){if(e.elem.nodeType&&e.elem.parentNode){e.elem[e.prop]=e.now}}};at.easing={linear:function(e){return e},swing:function(e){return 0.5-Math.cos(e*Math.PI)/2}};at.fx=bV.prototype.init;at.fx.step={};var Y,bS,aZ=/^(?:toggle|show|hide)$/,aY=new RegExp("^(?:([+-])=|)("+aB+")([a-z%]*)$","i"),bt=/queueHooks$/,q=[M],bW={"*":[function(b5,cb){var b9=this.createTween(b5,cb),b8=b9.cur(),i=aY.exec(cb),ca=i&&i[3]||(at.cssNumber[b5]?"":"px"),b7=(at.cssNumber[b5]||ca!=="px"&&+b8)&&aY.exec(at.css(b9.elem,b5)),b6=1,e=20;if(b7&&b7[3]!==ca){ca=ca||b7[3];i=i||[];b7=+b8||1;do{b6=b6||".5";b7=b7/b6;at.style(b9.elem,b5,b7+ca)}while(b6!==(b6=b9.cur()/b8)&&b6!==1&&--e)}if(i){b7=b9.start=+b7||+b8||0;b9.unit=ca;b9.end=i[1]?b7+(i[1]+1)*i[2]:+i[2]}return b9}]};function A(){setTimeout(function(){Y=undefined});return(Y=at.now())}function Z(b7,b6){var b8,e={height:b7},b5=0;b6=b6?1:0;for(;b5<4;b5+=2-b6){b8=F[b5];e["margin"+b8]=e["padding"+b8]=b7}if(b6){e.opacity=e.width=b7}return e}function E(b9,b7,e){var b8,i=(bW[b7]||[]).concat(bW["*"]),b5=0,b6=i.length;for(;b5<b6;b5++){if((b8=i[b5].call(e,b7,b9))){return b8}}}function M(b7,ce,cb){var cd,ci,cg,ch,b9,ca,b6,i,e=this,cc={},cf=b7.style,b8=b7.nodeType&&ar(b7),b5=at._data(b7,"fxshow");if(!cb.queue){b9=at._queueHooks(b7,"fx");if(b9.unqueued==null){b9.unqueued=0;ca=b9.empty.fire;b9.empty.fire=function(){if(!b9.unqueued){ca()}}}b9.unqueued++;e.always(function(){e.always(function(){b9.unqueued--;if(!at.queue(b7,"fx").length){b9.empty.fire()}})})}if(b7.nodeType===1&&("height" in ce||"width" in ce)){cb.overflow=[cf.overflow,cf.overflowX,cf.overflowY];b6=at.css(b7,"display");i=b6==="none"?at._data(b7,"olddisplay")||L(b7.nodeName):b6;if(i==="inline"&&at.css(b7,"float")==="none"){if(!bR.inlineBlockNeedsLayout||L(b7.nodeName)==="inline"){cf.display="inline-block"}else{cf.zoom=1}}}if(cb.overflow){cf.overflow="hidden";if(!bR.shrinkWrapBlocks()){e.always(function(){cf.overflow=cb.overflow[0];cf.overflowX=cb.overflow[1];cf.overflowY=cb.overflow[2]})}}for(cd in ce){ci=ce[cd];if(aZ.exec(ci)){delete ce[cd];cg=cg||ci==="toggle";if(ci===(b8?"hide":"show")){if(ci==="show"&&b5&&b5[cd]!==undefined){b8=true}else{continue}}cc[cd]=b5&&b5[cd]||at.style(b7,cd)}else{b6=undefined}}if(!at.isEmptyObject(cc)){if(b5){if("hidden" in b5){b8=b5.hidden}}else{b5=at._data(b7,"fxshow",{})}if(cg){b5.hidden=!b8}if(b8){at(b7).show()}else{e.done(function(){at(b7).hide()})}e.done(function(){var cj;at._removeData(b7,"fxshow");for(cj in cc){at.style(b7,cj,cc[cj])}});for(cd in cc){ch=E(b8?b5[cd]:0,cd,e);if(!(cd in b5)){b5[cd]=ch.start;if(b8){ch.end=ch.start;ch.start=cd==="width"||cd==="height"?1:0}}}}else{if((b6==="none"?L(b7.nodeName):b6)==="inline"){cf.display=b6}}}function aD(b7,b8){var b5,b6,e,b9,i;for(b5 in b7){b6=at.camelCase(b5);e=b8[b6];b9=b7[b5];if(at.isArray(b9)){e=b9[1];b9=b7[b5]=b9[0]}if(b5!==b6){b7[b6]=b9;delete b7[b5]}i=at.cssHooks[b6];if(i&&"expand" in i){b9=i.expand(b9);delete b7[b6];for(b5 in b9){if(!(b5 in b7)){b7[b5]=b9[b5];b8[b5]=e}}}else{b8[b6]=e}}}function p(b5,b9,b8){var cb,cc,b6=0,b7=q.length,i=at.Deferred().always(function(){delete cd.elem}),cd=function(){if(cc){return false}var ce=Y||A(),ci=Math.max(0,e.startTime+e.duration-ce),cj=ci/e.duration||0,ch=1-cj,cf=0,cg=e.tweens.length;for(;cf<cg;cf++){e.tweens[cf].run(ch)}i.notifyWith(b5,[e,ch,ci]);if(ch<1&&cg){return ci}else{i.resolveWith(b5,[e]);return false}},e=i.promise({elem:b5,props:at.extend({},b9),opts:at.extend(true,{specialEasing:{}},b8),originalProperties:b9,originalOptions:b8,startTime:Y||A(),duration:b8.duration,tweens:[],createTween:function(cf,ce){var cg=at.Tween(b5,e.opts,cf,ce,e.opts.specialEasing[cf]||e.opts.easing);e.tweens.push(cg);return cg},stop:function(ce){var cf=0,cg=ce?e.tweens.length:0;if(cc){return this}cc=true;for(;cf<cg;cf++){e.tweens[cf].run(1)}if(ce){i.resolveWith(b5,[e,ce])}else{i.rejectWith(b5,[e,ce])}return this}}),ca=e.props;aD(ca,e.opts.specialEasing);for(;b6<b7;b6++){cb=q[b6].call(e,b5,ca,e.opts);if(cb){return cb}}at.map(ca,E,e);if(at.isFunction(e.opts.start)){e.opts.start.call(b5,e)}at.fx.timer(at.extend(cd,{elem:b5,anim:e,queue:e.opts.queue}));return e.progress(e.opts.progress).done(e.opts.done,e.opts.complete).fail(e.opts.fail).always(e.opts.always)}at.Animation=at.extend(p,{tweener:function(b7,e){if(at.isFunction(b7)){e=b7;b7=["*"]}else{b7=b7.split(" ")}var b6,i=0,b5=b7.length;for(;i<b5;i++){b6=b7[i];bW[b6]=bW[b6]||[];bW[b6].unshift(e)}},prefilter:function(e,i){if(i){q.unshift(e)}else{q.push(e)}}});at.speed=function(b6,e,i){var b5=b6&&typeof b6==="object"?at.extend({},b6):{complete:i||!i&&e||at.isFunction(b6)&&b6,duration:b6,easing:i&&e||e&&!at.isFunction(e)&&e};b5.duration=at.fx.off?0:typeof b5.duration==="number"?b5.duration:b5.duration in at.fx.speeds?at.fx.speeds[b5.duration]:at.fx.speeds._default;if(b5.queue==null||b5.queue===true){b5.queue="fx"}b5.old=b5.complete;b5.complete=function(){if(at.isFunction(b5.old)){b5.old.call(this)}if(b5.queue){at.dequeue(this,b5.queue)}};return b5};at.fn.extend({fadeTo:function(b5,b6,i,e){return this.filter(ar).css("opacity",0).show().end().animate({opacity:b6},b5,i,e)},animate:function(b8,b9,b5,e){var b6=at.isEmptyObject(b8),b7=at.speed(b9,b5,e),i=function(){var ca=p(this,at.extend({},b8),b7);if(b6||at._data(this,"finish")){ca.stop(true)}};i.finish=i;return b6||b7.queue===false?this.each(i):this.queue(b7.queue,i)},stop:function(b6,e,i){var b5=function(b7){var b8=b7.stop;delete b7.stop;b8(i)};if(typeof b6!=="string"){i=e;e=b6;b6=undefined}if(e&&b6!==false){this.queue(b6||"fx",[])}return this.each(function(){var b8=true,b9=b6!=null&&b6+"queueHooks",ca=at.timers,b7=at._data(this);if(b9){if(b7[b9]&&b7[b9].stop){b5(b7[b9])}}else{for(b9 in b7){if(b7[b9]&&b7[b9].stop&&bt.test(b9)){b5(b7[b9])}}}for(b9=ca.length;b9--;){if(ca[b9].elem===this&&(b6==null||ca[b9].queue===b6)){ca[b9].anim.stop(i);b8=false;ca.splice(b9,1)}}if(b8||!i){at.dequeue(this,b6)}})},finish:function(e){if(e!==false){e=e||"fx"}return this.each(function(){var b6,i=at._data(this),b8=i[e+"queue"],b5=i[e+"queueHooks"],b9=at.timers,b7=b8?b8.length:0;i.finish=true;at.queue(this,e,[]);if(b5&&b5.stop){b5.stop.call(this,true)}for(b6=b9.length;b6--;){if(b9[b6].elem===this&&b9[b6].queue===e){b9[b6].anim.stop(true);b9.splice(b6,1)}}for(b6=0;b6<b7;b6++){if(b8[b6]&&b8[b6].finish){b8[b6].finish.call(this)}}delete i.finish})}});at.each(["toggle","show","hide"],function(b5,b6){var e=at.fn[b6];at.fn[b6]=function(b8,b7,i){return b8==null||typeof b8==="boolean"?e.apply(this,arguments):this.animate(Z(b6,true),b8,b7,i)}});at.each({slideDown:Z("show"),slideUp:Z("hide"),slideToggle:Z("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,i){at.fn[e]=function(b7,b6,b5){return this.animate(i,b7,b6,b5)}});at.timers=[];at.fx.tick=function(){var b5,b6=at.timers,e=0;Y=at.now();for(;e<b6.length;e++){b5=b6[e];if(!b5()&&b6[e]===b5){b6.splice(e--,1)}}if(!b6.length){at.fx.stop()}Y=undefined};at.fx.timer=function(e){at.timers.push(e);if(e()){at.fx.start()}else{at.timers.pop()}};at.fx.interval=13;at.fx.start=function(){if(!bS){bS=setInterval(at.fx.tick,at.fx.interval)}};at.fx.stop=function(){clearInterval(bS);bS=null};at.fx.speeds={slow:600,fast:200,_default:400};at.fn.delay=function(e,i){e=at.fx?at.fx.speeds[e]||e:e;i=i||"fx";return this.queue(i,function(b6,b5){var b7=setTimeout(b6,e);b5.stop=function(){clearTimeout(b7)}})};(function(){var b5,i,b7,e,b6;i=R.createElement("div");i.setAttribute("className","t");i.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>";e=i.getElementsByTagName("a")[0];b7=R.createElement("select");b6=b7.appendChild(R.createElement("option"));b5=i.getElementsByTagName("input")[0];e.style.cssText="top:1px";bR.getSetAttribute=i.className!=="t";bR.style=/top/.test(e.getAttribute("style"));bR.hrefNormalized=e.getAttribute("href")==="/a";bR.checkOn=!!b5.value;bR.optSelected=b6.selected;bR.enctype=!!R.createElement("form").enctype;b7.disabled=true;bR.optDisabled=!b6.disabled;b5=R.createElement("input");b5.setAttribute("value","");bR.input=b5.getAttribute("value")==="";b5.value="t";b5.setAttribute("type","radio");bR.radioValue=b5.value==="t"})();var bs=/\r/g;at.fn.extend({val:function(b7){var i,b6,b5,e=this[0];if(!arguments.length){if(e&&e.nodeName){i=at.valHooks[e.type]||at.valHooks[e.nodeName.toLowerCase()];if(i&&"get" in i&&(b6=i.get(e,"value"))!==undefined){return b6}b6=e.value;return typeof b6==="string"?b6.replace(bs,""):b6==null?"":b6}return}b5=at.isFunction(b7);return this.each(function(b8){var b9;if(this.nodeType!==1){return}if(b5){b9=b7.call(this,b8,at(this).val())}else{b9=b7}if(b9==null){b9=""}else{if(typeof b9==="number"){b9+=""}else{if(at.isArray(b9)){b9=at.map(b9,function(ca){return ca==null?"":ca+""})}}}i=at.valHooks[this.type]||at.valHooks[this.nodeName.toLowerCase()];if(!i||!("set" in i)||i.set(this,b9,"value")===undefined){this.value=b9}})}});at.extend({valHooks:{option:{get:function(e){var i=at.find.attr(e,"value");return i!=null?i:at.trim(at.text(e))}},select:{get:function(e){var cb,b9,ca=e.options,b6=e.selectedIndex,b8=e.type==="select-one"||b6<0,cc=b8?null:[],b7=b8?b6+1:ca.length,b5=b6<0?b7:b8?b6:0;for(;b5<b7;b5++){b9=ca[b5];if((b9.selected||b5===b6)&&(bR.optDisabled?!b9.disabled:b9.getAttribute("disabled")===null)&&(!b9.parentNode.disabled||!at.nodeName(b9.parentNode,"optgroup"))){cb=at(b9).val();if(b8){return cb}cc.push(cb)}}return cc},set:function(b5,ca){var b9,b7,b8=b5.options,cb=at.makeArray(ca),b6=b8.length;while(b6--){b7=b8[b6];if(at.inArray(at.valHooks.option.get(b7),cb)>=0){try{b7.selected=b9=true}catch(e){b7.scrollHeight}}else{b7.selected=false}}if(!b9){b5.selectedIndex=-1}return b8}}}});at.each(["radio","checkbox"],function(){at.valHooks[this]={set:function(e,i){if(at.isArray(i)){return(e.checked=at.inArray(at(e).val(),i)>=0)}}};if(!bR.checkOn){at.valHooks[this].get=function(e){return e.getAttribute("value")===null?"on":e.value}}});var av,t,r=at.expr.attrHandle,bF=/^(?:checked|selected)$/i,ab=bR.getSetAttribute,ac=bR.input;at.fn.extend({attr:function(e,i){return d(this,at.attr,e,i,arguments.length>1)},removeAttr:function(e){return this.each(function(){at.removeAttr(this,e)})}});at.extend({attr:function(e,b5,b8){var i,b7,b6=e.nodeType;if(!e||b6===3||b6===8||b6===2){return}if(typeof e.getAttribute===bQ){return at.prop(e,b5,b8)}if(b6!==1||!at.isXMLDoc(e)){b5=b5.toLowerCase();i=at.attrHooks[b5]||(at.expr.match.bool.test(b5)?t:av)}if(b8!==undefined){if(b8===null){at.removeAttr(e,b5)}else{if(i&&"set" in i&&(b7=i.set(e,b8,b5))!==undefined){return b7}else{e.setAttribute(b5,b8+"");return b8}}}else{if(i&&"get" in i&&(b7=i.get(e,b5))!==null){return b7}else{b7=at.find.attr(e,b5);return b7==null?undefined:b7}}},removeAttr:function(b5,b9){var b7,b8,b6=0,e=b9&&b9.match(bh);if(e&&b5.nodeType===1){while((b7=e[b6++])){b8=at.propFix[b7]||b7;if(at.expr.match.bool.test(b7)){if(ac&&ab||!bF.test(b7)){b5[b8]=false}else{b5[at.camelCase("default-"+b7)]=b5[b8]=false}}else{at.attr(b5,b7,"")}b5.removeAttribute(ab?b7:b8)}}},attrHooks:{type:{set:function(e,b5){if(!bR.radioValue&&b5==="radio"&&at.nodeName(e,"input")){var i=e.value;e.setAttribute("type",b5);if(i){e.value=i}return b5}}}}});t={set:function(e,b5,i){if(b5===false){at.removeAttr(e,i)}else{if(ac&&ab||!bF.test(i)){e.setAttribute(!ab&&at.propFix[i]||i,i)}else{e[at.camelCase("default-"+i)]=e[i]=true}}return i}};at.each(at.expr.match.bool.source.match(/\w+/g),function(b5,b6){var e=r[b6]||at.find.attr;r[b6]=ac&&ab||!bF.test(b6)?function(i,b9,b8){var ca,b7;if(!b8){b7=r[b9];r[b9]=ca;ca=e(i,b9,b8)!=null?b9.toLowerCase():null;r[b9]=b7}return ca}:function(i,b8,b7){if(!b7){return i[at.camelCase("default-"+b8)]?b8.toLowerCase():null}}});if(!ac||!ab){at.attrHooks.value={set:function(e,b5,i){if(at.nodeName(e,"input")){e.defaultValue=b5}else{return av&&av.set(e,b5,i)}}}}if(!ab){av={set:function(e,b6,i){var b5=e.getAttributeNode(i);if(!b5){e.setAttributeNode((b5=e.ownerDocument.createAttribute(i)))}b5.value=b6+="";if(i==="value"||b6===e.getAttribute(i)){return b6}}};r.id=r.name=r.coords=function(e,b5,i){var b6;if(!i){return(b6=e.getAttributeNode(b5))&&b6.value!==""?b6.value:null}};at.valHooks.button={get:function(e,i){var b5=e.getAttributeNode(i);if(b5&&b5.specified){return b5.value}},set:av.set};at.attrHooks.contenteditable={set:function(e,b5,i){av.set(e,b5===""?false:b5,i)}};at.each(["width","height"],function(e,b5){at.attrHooks[b5]={set:function(i,b6){if(b6===""){i.setAttribute(b5,"auto");return b6}}}})}if(!bR.style){at.attrHooks.style={get:function(e){return e.style.cssText||undefined},set:function(e,i){return(e.style.cssText=i+"")}}}var aV=/^(?:input|select|textarea|button|object)$/i,aN=/^(?:a|area)$/i;at.fn.extend({prop:function(e,i){return d(this,at.prop,e,i,arguments.length>1)},removeProp:function(e){e=at.propFix[e]||e;return this.each(function(){try{this[e]=undefined;delete this[e]}catch(i){}})}});at.extend({propFix:{"for":"htmlFor","class":"className"},prop:function(e,b5,b9){var b8,i,b6,b7=e.nodeType;if(!e||b7===3||b7===8||b7===2){return}b6=b7!==1||!at.isXMLDoc(e);if(b6){b5=at.propFix[b5]||b5;i=at.propHooks[b5]}if(b9!==undefined){return i&&"set" in i&&(b8=i.set(e,b9,b5))!==undefined?b8:(e[b5]=b9)}else{return i&&"get" in i&&(b8=i.get(e,b5))!==null?b8:e[b5]}},propHooks:{tabIndex:{get:function(e){var i=at.find.attr(e,"tabindex");return i?parseInt(i,10):aV.test(e.nodeName)||aN.test(e.nodeName)&&e.href?0:-1}}}});if(!bR.hrefNormalized){at.each(["href","src"],function(e,b5){at.propHooks[b5]={get:function(i){return i.getAttribute(b5,4)}}})}if(!bR.optSelected){at.propHooks.selected={get:function(e){var i=e.parentNode;if(i){i.selectedIndex;if(i.parentNode){i.parentNode.selectedIndex}}return null}}}at.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){at.propFix[this.toLowerCase()]=this});if(!bR.enctype){at.propFix.enctype="encoding"}var aL=/[\t\r\n\f]/g;at.fn.extend({addClass:function(cd){var e,b7,b6,b5,ca,b8,b9=0,cb=this.length,cc=typeof cd==="string"&&cd;if(at.isFunction(cd)){return this.each(function(i){at(this).addClass(cd.call(this,i,this.className))})}if(cc){e=(cd||"").match(bh)||[];for(;b9<cb;b9++){b7=this[b9];b6=b7.nodeType===1&&(b7.className?(" "+b7.className+" ").replace(aL," "):" ");if(b6){ca=0;while((b5=e[ca++])){if(b6.indexOf(" "+b5+" ")<0){b6+=b5+" "}}b8=at.trim(b6);if(b7.className!==b8){b7.className=b8}}}}return this},removeClass:function(cd){var e,b7,b6,b5,ca,b8,b9=0,cb=this.length,cc=arguments.length===0||typeof cd==="string"&&cd;if(at.isFunction(cd)){return this.each(function(i){at(this).removeClass(cd.call(this,i,this.className))})}if(cc){e=(cd||"").match(bh)||[];for(;b9<cb;b9++){b7=this[b9];b6=b7.nodeType===1&&(b7.className?(" "+b7.className+" ").replace(aL," "):"");if(b6){ca=0;while((b5=e[ca++])){while(b6.indexOf(" "+b5+" ")>=0){b6=b6.replace(" "+b5+" "," ")}}b8=cd?at.trim(b6):"";if(b7.className!==b8){b7.className=b8}}}}return this},toggleClass:function(b5,e){var i=typeof b5;if(typeof e==="boolean"&&i==="string"){return e?this.addClass(b5):this.removeClass(b5)}if(at.isFunction(b5)){return this.each(function(b6){at(this).toggleClass(b5.call(this,b6,this.className,e),e)})}return this.each(function(){if(i==="string"){var b6,b8=0,b9=at(this),b7=b5.match(bh)||[];while((b6=b7[b8++])){if(b9.hasClass(b6)){b9.removeClass(b6)}else{b9.addClass(b6)}}}else{if(i===bQ||i==="boolean"){if(this.className){at._data(this,"__className__",this.className)}this.className=this.className||b5===false?"":at._data(this,"__className__")||""}}})},hasClass:function(b7){var e=" "+b7+" ",b5=0,b6=this.length;for(;b5<b6;b5++){if(this[b5].nodeType===1&&(" "+this[b5].className+" ").replace(aL," ").indexOf(e)>=0){return true}}return false}});at.each(("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu").split(" "),function(e,b5){at.fn[b5]=function(i,b6){return arguments.length>0?this.on(b5,null,i,b6):this.trigger(b5)}});at.fn.extend({hover:function(i,e){return this.mouseenter(i).mouseleave(e||i)},bind:function(b5,e,i){return this.on(b5,null,e,i)},unbind:function(i,e){return this.off(i,null,e)},delegate:function(b5,b6,e,i){return this.on(b6,b5,e,i)},undelegate:function(i,b5,e){return arguments.length===1?this.off(i,"**"):this.off(b5,i||"**",e)}});var ay=at.now();var bp=(/\?/);var bG=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;at.parseJSON=function(e){if(bZ.JSON&&bZ.JSON.parse){return bZ.JSON.parse(e+"")}var b5,i=null,b6=at.trim(e+"");return b6&&!at.trim(b6.replace(bG,function(ca,b8,b9,b7){if(b5&&b8){i=0}if(i===0){return ca}b5=b9||b8;i+=!b7-!b9;return""}))?(Function("return "+b6))():at.error("Invalid JSON: "+e)};at.parseXML=function(i){var b7,b6;if(!i||typeof i!=="string"){return null}try{if(bZ.DOMParser){b6=new DOMParser();b7=b6.parseFromString(i,"text/xml")}else{b7=new ActiveXObject("Microsoft.XMLDOM");b7.async="false";b7.loadXML(i)}}catch(b5){b7=undefined}if(!b7||!b7.documentElement||b7.getElementsByTagName("parsererror").length){at.error("Invalid XML: "+i)}return b7};var n,m,a0=/#.*$/,bC=/([?&])_=[^&]*/,a1=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,a8=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,be=/^(?:GET|HEAD)$/,bo=/^\/\//,bE=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,aC={},bU={},o="*/".concat("*");try{m=location.href}catch(S){m=R.createElement("a");m.href="";m=m.href}n=bE.exec(m.toLowerCase())||[];function h(e){return function(b6,b8){if(typeof b6!=="string"){b8=b6;b6="*"}var b5,b9=0,b7=b6.toLowerCase().match(bh)||[];if(at.isFunction(b8)){while((b5=b7[b9++])){if(b5.charAt(0)==="+"){b5=b5.slice(1)||"*";(e[b5]=e[b5]||[]).unshift(b8)}else{(e[b5]=e[b5]||[]).push(b8)}}}}}function am(b9,b6,b7,b5){var i={},b8=(b9===bU);function e(ca){var cb;i[ca]=true;at.each(b9[ca]||[],function(cc,ce){var cd=ce(b6,b7,b5);if(typeof cd==="string"&&!b8&&!i[cd]){b6.dataTypes.unshift(cd);e(cd);return false}else{if(b8){return !(cb=cd)}}});return cb}return e(b6.dataTypes[0])||!i["*"]&&e("*")}function k(b7,b6){var e,b5,i=at.ajaxSettings.flatOptions||{};for(b5 in b6){if(b6[b5]!==undefined){(i[b5]?b7:(e||(e={})))[b5]=b6[b5]}}if(e){at.extend(true,b7,e)}return b7}function l(ca,b8,b9){var b7,i,b6,cb,e=ca.contents,b5=ca.dataTypes;while(b5[0]==="*"){b5.shift();if(i===undefined){i=ca.mimeType||b8.getResponseHeader("Content-Type")}}if(i){for(cb in e){if(e[cb]&&e[cb].test(i)){b5.unshift(cb);break}}}if(b5[0] in b9){b6=b5[0]}else{for(cb in b9){if(!b5[0]||ca.converters[cb+" "+b5[0]]){b6=cb;break}if(!b7){b7=cb}}b6=b6||b7}if(b6){if(b6!==b5[0]){b5.unshift(b6)}return b9[b6]}}function j(ce,cd,cb,ca){var b5,b7,i,cf,cc,b6={},b8=ce.dataTypes.slice();if(b8[1]){for(i in ce.converters){b6[i.toLowerCase()]=ce.converters[i]}}b7=b8.shift();while(b7){if(ce.responseFields[b7]){cb[ce.responseFields[b7]]=cd}if(!cc&&ca&&ce.dataFilter){cd=ce.dataFilter(cd,ce.dataType)}cc=b7;b7=b8.shift();if(b7){if(b7==="*"){b7=cc}else{if(cc!=="*"&&cc!==b7){i=b6[cc+" "+b7]||b6["* "+b7];if(!i){for(b5 in b6){cf=b5.split(" ");if(cf[1]===b7){i=b6[cc+" "+cf[0]]||b6["* "+cf[0]];if(i){if(i===true){i=b6[b5]}else{if(b6[b5]!==true){b7=cf[0];b8.unshift(cf[1])}}break}}}}if(i!==true){if(i&&ce["throws"]){cd=i(cd)}else{try{cd=i(cd)}catch(b9){return{state:"parsererror",error:i?b9:"No conversion from "+cc+" to "+b7}}}}}}}}return{state:"success",data:cd}}at.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:m,type:"GET",isLocal:a8.test(n[1]),global:true,processData:true,async:true,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":o,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":true,"text json":at.parseJSON,"text xml":at.parseXML},flatOptions:{url:true,context:true}},ajaxSetup:function(i,e){return e?k(k(i,at.ajaxSettings),e):k(at.ajaxSettings,i)},ajaxPrefilter:h(aC),ajaxTransport:h(bU),ajax:function(cr,cf){if(typeof cr==="object"){cf=cr;cr=undefined}cf=cf||{};var cg,cd,b5,ck,cp,cb,cq,cj,cl=at.ajaxSetup({},cf),b6=cl.context||cl,cc=cl.context&&(b6.nodeType||b6.jquery)?at(b6):at.event,b8=at.Deferred(),b7=at.Callbacks("once memory"),cn=cl.statusCode||{},ch={},ci={},cm=0,co="canceled",ce={readyState:0,getResponseHeader:function(e){var i;if(cm===2){if(!cj){cj={};while((i=a1.exec(ck))){cj[i[1].toLowerCase()]=i[2]}}i=cj[e.toLowerCase()]}return i==null?null:i},getAllResponseHeaders:function(){return cm===2?ck:null},setRequestHeader:function(i,cs){var e=i.toLowerCase();if(!cm){i=ci[e]=ci[e]||i;ch[i]=cs}return this},overrideMimeType:function(e){if(!cm){cl.mimeType=e}return this},statusCode:function(i){var e;if(i){if(cm<2){for(e in i){cn[e]=[cn[e],i[e]]}}else{ce.always(i[ce.status])}}return this},abort:function(i){var e=i||co;if(cq){cq.abort(e)}b9(0,e);return this}};b8.promise(ce).complete=b7.add;ce.success=ce.done;ce.error=ce.fail;cl.url=((cr||cl.url||m)+"").replace(a0,"").replace(bo,n[1]+"//");cl.type=cf.method||cf.type||cl.method||cl.type;cl.dataTypes=at.trim(cl.dataType||"*").toLowerCase().match(bh)||[""];if(cl.crossDomain==null){cg=bE.exec(cl.url.toLowerCase());cl.crossDomain=!!(cg&&(cg[1]!==n[1]||cg[2]!==n[2]||(cg[3]||(cg[1]==="http:"?"80":"443"))!==(n[3]||(n[1]==="http:"?"80":"443"))))}if(cl.data&&cl.processData&&typeof cl.data!=="string"){cl.data=at.param(cl.data,cl.traditional)}am(aC,cl,cf,ce);if(cm===2){return ce}cb=at.event&&cl.global;if(cb&&at.active++===0){at.event.trigger("ajaxStart")}cl.type=cl.type.toUpperCase();cl.hasContent=!be.test(cl.type);b5=cl.url;if(!cl.hasContent){if(cl.data){b5=(cl.url+=(bp.test(b5)?"&":"?")+cl.data);delete cl.data}if(cl.cache===false){cl.url=bC.test(b5)?b5.replace(bC,"$1_="+ay++):b5+(bp.test(b5)?"&":"?")+"_="+ay++}}if(cl.ifModified){if(at.lastModified[b5]){ce.setRequestHeader("If-Modified-Since",at.lastModified[b5])}if(at.etag[b5]){ce.setRequestHeader("If-None-Match",at.etag[b5])}}if(cl.data&&cl.hasContent&&cl.contentType!==false||cf.contentType){ce.setRequestHeader("Content-Type",cl.contentType)}ce.setRequestHeader("Accept",cl.dataTypes[0]&&cl.accepts[cl.dataTypes[0]]?cl.accepts[cl.dataTypes[0]]+(cl.dataTypes[0]!=="*"?", "+o+"; q=0.01":""):cl.accepts["*"]);for(cd in cl.headers){ce.setRequestHeader(cd,cl.headers[cd])}if(cl.beforeSend&&(cl.beforeSend.call(b6,ce,cl)===false||cm===2)){return ce.abort()}co="abort";for(cd in {success:1,error:1,complete:1}){ce[cd](cl[cd])}cq=am(bU,cl,cf,ce);if(!cq){b9(-1,"No Transport")}else{ce.readyState=1;if(cb){cc.trigger("ajaxSend",[ce,cl])}if(cl.async&&cl.timeout>0){cp=setTimeout(function(){ce.abort("timeout")},cl.timeout)}try{cm=1;cq.send(ch,b9)}catch(ca){if(cm<2){b9(-1,ca)}else{throw ca}}}function b9(cx,cu,cw,i){var cs,cz,e,cv,ct,cy=cu;if(cm===2){return}cm=2;if(cp){clearTimeout(cp)}cq=undefined;ck=i||"";ce.readyState=cx>0?4:0;cs=cx>=200&&cx<300||cx===304;if(cw){cv=l(cl,ce,cw)}cv=j(cl,cv,ce,cs);if(cs){if(cl.ifModified){ct=ce.getResponseHeader("Last-Modified");if(ct){at.lastModified[b5]=ct}ct=ce.getResponseHeader("etag");if(ct){at.etag[b5]=ct}}if(cx===204||cl.type==="HEAD"){cy="nocontent"}else{if(cx===304){cy="notmodified"}else{cy=cv.state;cz=cv.data;e=cv.error;cs=!e}}}else{e=cy;if(cx||!cy){cy="error";if(cx<0){cx=0}}}ce.status=cx;ce.statusText=(cu||cy)+"";if(cs){b8.resolveWith(b6,[cz,cy,ce])}else{b8.rejectWith(b6,[ce,cy,e])}ce.statusCode(cn);cn=undefined;if(cb){cc.trigger(cs?"ajaxSuccess":"ajaxError",[ce,cl,cs?cz:e])}b7.fireWith(b6,[ce,cy]);if(cb){cc.trigger("ajaxComplete",[ce,cl]);if(!(--at.active)){at.event.trigger("ajaxStop")}}}return ce},getJSON:function(b5,i,e){return at.get(b5,i,e,"json")},getScript:function(i,e){return at.get(i,undefined,e,"script")}});at.each(["get","post"],function(e,b5){at[b5]=function(b8,b6,i,b7){if(at.isFunction(b6)){b7=b7||i;i=b6;b6=undefined}return at.ajax({url:b8,type:b5,dataType:b7,data:b6,success:i})}});at._evalUrl=function(e){return at.ajax({url:e,type:"GET",dataType:"script",async:false,global:false,"throws":true})};at.fn.extend({wrapAll:function(e){if(at.isFunction(e)){return this.each(function(b5){at(this).wrapAll(e.call(this,b5))})}if(this[0]){var i=at(e,this[0].ownerDocument).eq(0).clone(true);if(this[0].parentNode){i.insertBefore(this[0])}i.map(function(){var b5=this;while(b5.firstChild&&b5.firstChild.nodeType===1){b5=b5.firstChild}return b5}).append(this)}return this},wrapInner:function(e){if(at.isFunction(e)){return this.each(function(b5){at(this).wrapInner(e.call(this,b5))})}return this.each(function(){var b5=at(this),i=b5.contents();if(i.length){i.wrapAll(e)}else{b5.append(e)}})},wrap:function(e){var i=at.isFunction(e);return this.each(function(b5){at(this).wrapAll(i?e.call(this,b5):e)})},unwrap:function(){return this.parent().each(function(){if(!at.nodeName(this,"body")){at(this).replaceWith(this.childNodes)}}).end()}});at.expr.filters.hidden=function(e){return e.offsetWidth<=0&&e.offsetHeight<=0||(!bR.reliableHiddenOffsets()&&((e.style&&e.style.display)||at.css(e,"display"))==="none")};at.expr.filters.visible=function(e){return !at.expr.filters.hidden(e)};var aF=/%20/g,aI=/\[\]$/,aO=/\r?\n/g,by=/^(?:submit|button|image|reset|file)$/i,bx=/^(?:input|select|textarea|keygen)/i;function u(b6,b5,b7,e){var i;if(at.isArray(b5)){at.each(b5,function(b8,b9){if(b7||aI.test(b6)){e(b6,b9)}else{u(b6+"["+(typeof b9==="object"?b8:"")+"]",b9,b7,e)}})}else{if(!b7&&at.type(b5)==="object"){for(i in b5){u(b6+"["+i+"]",b5[i],b7,e)}}else{e(b6,b5)}}}at.param=function(e,b7){var b5,b6=[],i=function(b8,b9){b9=at.isFunction(b9)?b9():(b9==null?"":b9);b6[b6.length]=encodeURIComponent(b8)+"="+encodeURIComponent(b9)};if(b7===undefined){b7=at.ajaxSettings&&at.ajaxSettings.traditional}if(at.isArray(e)||(e.jquery&&!at.isPlainObject(e))){at.each(e,function(){i(this.name,this.value)})}else{for(b5 in e){u(b5,e[b5],b7,i)}}return b6.join("&").replace(aF,"+")};at.fn.extend({serialize:function(){return at.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=at.prop(this,"elements");return e?at.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!at(this).is(":disabled")&&bx.test(this.nodeName)&&!by.test(e)&&(this.checked||!aJ.test(e))}).map(function(b5,e){var b6=at(this).val();return b6==null?null:at.isArray(b6)?at.map(b6,function(i){return{name:e.name,value:i.replace(aO,"\r\n")}}):{name:e.name,value:b6.replace(aO,"\r\n")}}).get()}});at.ajaxSettings.xhr=bZ.ActiveXObject!==undefined?function(){return !this.isLocal&&/^(get|post|head|put|delete|options)$/i.test(this.type)&&D()||z()}:D;var b3=0,b2={},b4=at.ajaxSettings.xhr();if(bZ.attachEvent){bZ.attachEvent("onunload",function(){for(var e in b2){b2[e](undefined,true)}})}bR.cors=!!b4&&("withCredentials" in b4);b4=bR.ajax=!!b4;if(b4){at.ajaxTransport(function(i){if(!i.crossDomain||bR.cors){var e;return{send:function(b6,b5){var b7,b9=i.xhr(),b8=++b3;b9.open(i.type,i.url,i.async,i.username,i.password);if(i.xhrFields){for(b7 in i.xhrFields){b9[b7]=i.xhrFields[b7]}}if(i.mimeType&&b9.overrideMimeType){b9.overrideMimeType(i.mimeType)}if(!i.crossDomain&&!b6["X-Requested-With"]){b6["X-Requested-With"]="XMLHttpRequest"}for(b7 in b6){if(b6[b7]!==undefined){b9.setRequestHeader(b7,b6[b7]+"")}}b9.send((i.hasContent&&i.data)||null);e=function(ca,cc){var ce,cf,cd;if(e&&(cc||b9.readyState===4)){delete b2[b8];e=undefined;b9.onreadystatechange=at.noop;if(cc){if(b9.readyState!==4){b9.abort()}}else{cd={};ce=b9.status;if(typeof b9.responseText==="string"){cd.text=b9.responseText}try{cf=b9.statusText}catch(cb){cf=""}if(!ce&&i.isLocal&&!i.crossDomain){ce=cd.text?200:404}else{if(ce===1223){ce=204}}}}if(cd){b5(ce,cf,cd,b9.getAllResponseHeaders())}};if(!i.async){e()}else{if(b9.readyState===4){setTimeout(e)}else{b9.onreadystatechange=b2[b8]=e}}},abort:function(){if(e){e(undefined,true)}}}}})}function D(){try{return new bZ.XMLHttpRequest()}catch(i){}}function z(){try{return new bZ.ActiveXObject("Microsoft.XMLHTTP")}catch(i){}}at.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(e){at.globalEval(e);return e}}});at.ajaxPrefilter("script",function(e){if(e.cache===undefined){e.cache=false}if(e.crossDomain){e.type="GET";e.global=false}});at.ajaxTransport("script",function(i){if(i.crossDomain){var b5,e=R.head||at("head")[0]||R.documentElement;return{send:function(b6,b7){b5=R.createElement("script");b5.async=true;if(i.scriptCharset){b5.charset=i.scriptCharset}b5.src=i.url;b5.onload=b5.onreadystatechange=function(b8,b9){if(b9||!b5.readyState||/loaded|complete/.test(b5.readyState)){b5.onload=b5.onreadystatechange=null;if(b5.parentNode){b5.parentNode.removeChild(b5)}b5=null;if(!b9){b7(200,"success")}}};e.insertBefore(b5,e.firstChild)},abort:function(){if(b5){b5.onload(undefined,true)}}}}});var az=[],a5=/(=)\?(?=&|$)|\?\?/;at.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=az.pop()||(at.expando+"_"+(ay++));this[e]=true;return e}});at.ajaxPrefilter("json jsonp",function(b9,b6,i){var e,b7,b8,b5=b9.jsonp!==false&&(a5.test(b9.url)?"url":typeof b9.data==="string"&&!(b9.contentType||"").indexOf("application/x-www-form-urlencoded")&&a5.test(b9.data)&&"data");if(b5||b9.dataTypes[0]==="jsonp"){e=b9.jsonpCallback=at.isFunction(b9.jsonpCallback)?b9.jsonpCallback():b9.jsonpCallback;if(b5){b9[b5]=b9[b5].replace(a5,"$1"+e)}else{if(b9.jsonp!==false){b9.url+=(bp.test(b9.url)?"&":"?")+b9.jsonp+"="+e}}b9.converters["script json"]=function(){if(!b8){at.error(e+" was not called")}return b8[0]};b9.dataTypes[0]="json";b7=bZ[e];bZ[e]=function(){b8=arguments};i.always(function(){bZ[e]=b7;if(b9[e]){b9.jsonpCallback=b6.jsonpCallback;az.push(e)}if(b8&&at.isFunction(b7)){b7(b8[0])}b8=b7=undefined});return"script"}});at.parseHTML=function(i,e,b5){if(!i||typeof i!=="string"){return null}if(typeof e==="boolean"){b5=e;e=false}e=e||R;var b6=bw.exec(i),b7=!b5&&[];if(b6){return[e.createElement(b6[1])]}b6=at.buildFragment([i],e,b7);if(b7&&b7.length){at(b7).remove()}return at.merge([],b6.childNodes)};var c=at.fn.load;at.fn.load=function(ca,b5,e){if(typeof ca!=="string"&&c){return c.apply(this,arguments)}var b7,b6,b9,b8=this,i=ca.indexOf(" ");if(i>=0){b7=at.trim(ca.slice(i,ca.length));ca=ca.slice(0,i)}if(at.isFunction(b5)){e=b5;b5=undefined}else{if(b5&&typeof b5==="object"){b9="POST"}}if(b8.length>0){at.ajax({url:ca,type:b9,dataType:"html",data:b5}).done(function(cb){b6=arguments;b8.html(b7?at("<div>").append(at.parseHTML(cb)).find(b7):cb)}).complete(e&&function(cb,cc){b8.each(e,b6||[cb.responseText,cc,cb])})}return this};at.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,b5){at.fn[b5]=function(i){return this.on(b5,i)}});at.expr.filters.animated=function(e){return at.grep(at.timers,function(i){return e===i.elem}).length};var Q=bZ.document.documentElement;function af(e){return at.isWindow(e)?e:e.nodeType===9?e.defaultView||e.parentWindow:false}at.offset={setOffset:function(cc,ce,cd){var ca,b8,b6,cb,b9,b5,e,cf=at.css(cc,"position"),b7=at(cc),cg={};if(cf==="static"){cc.style.position="relative"}b9=b7.offset();b6=at.css(cc,"top");b5=at.css(cc,"left");e=(cf==="absolute"||cf==="fixed")&&at.inArray("auto",[b6,b5])>-1;if(e){ca=b7.position();cb=ca.top;b8=ca.left}else{cb=parseFloat(b6)||0;b8=parseFloat(b5)||0}if(at.isFunction(ce)){ce=ce.call(cc,cd,b9)}if(ce.top!=null){cg.top=(ce.top-b9.top)+cb}if(ce.left!=null){cg.left=(ce.left-b9.left)+b8}if("using" in ce){ce.using.call(cc,cg)}else{b7.css(cg)}}};at.fn.extend({offset:function(b7){if(arguments.length){return b7===undefined?this:this.each(function(b9){at.offset.setOffset(this,b7,b9)})}var b5,b8,e={top:0,left:0},b6=this[0],i=b6&&b6.ownerDocument;if(!i){return}b5=i.documentElement;if(!at.contains(b5,b6)){return e}if(typeof b6.getBoundingClientRect!==bQ){e=b6.getBoundingClientRect()}b8=af(i);return{top:e.top+(b8.pageYOffset||b5.scrollTop)-(b5.clientTop||0),left:e.left+(b8.pageXOffset||b5.scrollLeft)-(b5.clientLeft||0)}},position:function(){if(!this[0]){return}var b5,i,b6={top:0,left:0},e=this[0];if(at.css(e,"position")==="fixed"){i=e.getBoundingClientRect()}else{b5=this.offsetParent();i=this.offset();if(!at.nodeName(b5[0],"html")){b6=b5.offset()}b6.top+=at.css(b5[0],"borderTopWidth",true);b6.left+=at.css(b5[0],"borderLeftWidth",true)}return{top:i.top-b6.top-at.css(e,"marginTop",true),left:i.left-b6.left-at.css(e,"marginLeft",true)}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||Q;while(e&&(!at.nodeName(e,"html")&&at.css(e,"position")==="static")){e=e.offsetParent}return e||Q})}});at.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,i){var b5=/Y/.test(i);at.fn[e]=function(b6){return d(this,function(b7,b8,b9){var ca=af(b7);if(b9===undefined){return ca?(i in ca)?ca[i]:ca.document.documentElement[b8]:b7[b8]}if(ca){ca.scrollTo(!b5?b9:at(ca).scrollLeft(),b5?b9:at(ca).scrollTop())}else{b7[b8]=b9}},e,b6,arguments.length,null)}});at.each(["top","left"],function(e,b5){at.cssHooks[b5]=g(bR.pixelPosition,function(b6,i){if(i){i=J(b6,b5);return bi.test(i)?at(b6).position()[b5]+"px":i}})});at.each({Height:"height",Width:"width"},function(e,i){at.each({padding:"inner"+e,content:i,"":"outer"+e},function(b5,b6){at.fn[b6]=function(b9,ca){var b7=arguments.length&&(b5||typeof b9!=="boolean"),b8=b5||(b9===true||ca===true?"margin":"border");return d(this,function(cc,cd,ce){var cb;if(at.isWindow(cc)){return cc.document.documentElement["client"+e]}if(cc.nodeType===9){cb=cc.documentElement;return Math.max(cc.body["scroll"+e],cb["scroll"+e],cc.body["offset"+e],cb["offset"+e],cb["client"+e])}return ce===undefined?at.css(cc,cd,b8):at.style(cc,cd,ce,b8)},i,b7?b9:undefined,b7,null)}})});at.fn.size=function(){return this.length};at.fn.andSelf=at.fn.addBack;if(typeof define==="function"&&define.amd){define("jquery",[],function(){return at})}var b=bZ.jQuery,a=bZ.$;at.noConflict=function(e){if(bZ.$===at){bZ.$=a}if(e&&bZ.jQuery===at){bZ.jQuery=b}return at};if(typeof ax===bQ){bZ.jQuery=bZ.$=at}return at}));/*
 * jQuery Migrate - v1.2.1 - 2013-05-08
 * https://github.com/jquery/jquery-migrate
 * Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors; Licensed MIT
 */
(function(h,F,B){var E={};h.migrateWarnings=[];if(!h.migrateMute&&F.console&&F.console.log){F.console.log("JQMIGRATE: Logging is active")}if(h.migrateTrace===B){h.migrateTrace=true}h.migrateReset=function(){E={};h.migrateWarnings.length=0};function j(H){var G=F.console;if(!E[H]){E[H]=true;h.migrateWarnings.push(H);if(G&&G.warn&&!h.migrateMute){G.warn("JQMIGRATE: "+H);if(h.migrateTrace&&G.trace){G.trace()}}}}function k(I,J,K,H){if(Object.defineProperty){try{Object.defineProperty(I,J,{configurable:true,enumerable:true,get:function(){j(H);return K},set:function(L){j(H);K=L}});return}catch(G){}}h._definePropertyBroken=true;I[J]=K}if(document.compatMode==="BackCompat"){j("jQuery is not compatible with Quirks Mode")}var b=h("<input/>",{size:1}).attr("size")&&h.attrFn,l=h.attr,C=h.attrHooks.value&&h.attrHooks.value.get||function(){return null},D=h.attrHooks.value&&h.attrHooks.value.set||function(){return B},x=/^(?:input|button)$/i,w=/^[238]$/,u=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,A=/^(?:checked|selected)$/i;k(h,"attrFn",b||{},"jQuery.attrFn is deprecated");h.attr=function(G,I,L,K){var H=I.toLowerCase(),J=G&&G.nodeType;if(K){if(l.length<4){j("jQuery.fn.attr( props, pass ) is deprecated")}if(G&&!w.test(J)&&(b?I in b:h.isFunction(h.fn[I]))){return h(G)[I](L)}}if(I==="type"&&L!==B&&x.test(G.nodeName)&&G.parentNode){j("Can't change the 'type' of an input or button in IE 6/7/8")}if(!h.attrHooks[H]&&u.test(H)){h.attrHooks[H]={get:function(N,O){var M,P=h.prop(N,O);return P===true||typeof P!=="boolean"&&(M=N.getAttributeNode(O))&&M.nodeValue!==false?O.toLowerCase():B},set:function(M,P,N){var O;if(P===false){h.removeAttr(M,N)}else{O=h.propFix[N]||N;if(O in M){M[O]=true}M.setAttribute(N,N.toLowerCase())}return N}};if(A.test(H)){j("jQuery.fn.attr('"+H+"') may use property instead of attribute")}}return l.call(h,G,I,L)};h.attrHooks.value={get:function(G,H){var I=(G.nodeName||"").toLowerCase();if(I==="button"){return C.apply(this,arguments)}if(I!=="input"&&I!=="option"){j("jQuery.fn.attr('value') no longer gets properties")}return H in G?G.value:null},set:function(G,I){var H=(G.nodeName||"").toLowerCase();if(H==="button"){return D.apply(this,arguments)}if(H!=="input"&&H!=="option"){j("jQuery.fn.attr('value', val) no longer sets properties")}G.value=I}};var i,c,o=h.fn.init,q=h.parseJSON,y=/^([^<]*)(<[\w\W]+>)([^>]*)$/;h.fn.init=function(J,G,I){var H;if(J&&typeof J==="string"&&!h.isPlainObject(G)&&(H=y.exec(h.trim(J)))&&H[0]){if(J.charAt(0)!=="<"){j("$(html) HTML strings must start with '<' character")}if(H[3]){j("$(html) HTML text after last tag is ignored")}if(H[0].charAt(0)==="#"){j("HTML string cannot start with a '#' character");h.error("JQMIGRATE: Invalid selector string (XSS)")}if(G&&G.context){G=G.context}if(h.parseHTML){return o.call(this,h.parseHTML(H[2],G,true),G,I)}}return o.apply(this,arguments)};h.fn.init.prototype=h.fn;h.parseJSON=function(G){if(!G&&G!==null){j("jQuery.parseJSON requires a valid JSON string");return null}return q.apply(this,arguments)};h.uaMatch=function(H){H=H.toLowerCase();var G=/(chrome)[ \/]([\w.]+)/.exec(H)||/(webkit)[ \/]([\w.]+)/.exec(H)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(H)||/(msie) ([\w.]+)/.exec(H)||H.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(H)||[];return{browser:G[1]||"",version:G[2]||"0"}};if(!h.browser){i=h.uaMatch(navigator.userAgent);c={};if(i.browser){c[i.browser]=true;c.version=i.version}if(c.chrome){c.webkit=true}else{if(c.webkit){c.safari=true}}h.browser=c}k(h,"browser",h.browser,"jQuery.browser is deprecated");h.sub=function(){function H(K,J){return new H.fn.init(K,J)}h.extend(true,H,this);H.superclass=this;H.fn=H.prototype=this();H.fn.constructor=H;H.sub=this.sub;H.fn.init=function G(K,J){if(J&&J instanceof h&&!(J instanceof H)){J=H(J)}return h.fn.init.call(this,K,J,I)};H.fn.init.prototype=H.fn;var I=H(document);j("jQuery.sub() is deprecated");return H};h.ajaxSetup({converters:{"text json":h.parseJSON}});var n=h.fn.data;h.fn.data=function(I){var J,H,G=this[0];if(G&&I==="events"&&arguments.length===1){J=h.data(G,I);H=h._data(G,I);if((J===B||J===H)&&H!==B){j("Use of jQuery.fn.data('events') is deprecated");return H}}return n.apply(this,arguments)};var z=/\/(java|ecma)script/i,r=h.fn.andSelf||h.fn.addBack;h.fn.andSelf=function(){j("jQuery.fn.andSelf() replaced by jQuery.fn.addBack()");return r.apply(this,arguments)};if(!h.clean){h.clean=function(I,G,J,O){G=G||document;G=!G.nodeType&&G[0]||G;G=G.ownerDocument||G;j("jQuery.clean() is deprecated");var L,H,K,M,N=[];h.merge(N,h.buildFragment(I,G).childNodes);if(J){K=function(P){if(!P.type||z.test(P.type)){return O?O.push(P.parentNode?P.parentNode.removeChild(P):P):J.appendChild(P)}};for(L=0;(H=N[L])!=null;L++){if(!(h.nodeName(H,"script")&&K(H))){J.appendChild(H);if(typeof H.getElementsByTagName!=="undefined"){M=h.grep(h.merge([],H.getElementsByTagName("script")),K);N.splice.apply(N,[L+1,0].concat(M));L+=M.length}}}}return N}}var d=h.event.add,e=h.event.remove,f=h.event.trigger,s=h.fn.toggle,p=h.fn.live,m=h.fn.die,a="ajaxStart|ajaxStop|ajaxSend|ajaxComplete|ajaxError|ajaxSuccess",t=new RegExp("\\b(?:"+a+")\\b"),v=/(?:^|\s)hover(\.\S+|)\b/,g=function(G){if(typeof(G)!=="string"||h.event.special.hover){return G}if(v.test(G)){j("'hover' pseudo-event is deprecated, use 'mouseenter mouseleave'")}return G&&G.replace(v,"mouseenter$1 mouseleave$1")};if(h.event.props&&h.event.props[0]!=="attrChange"){h.event.props.unshift("attrChange","attrName","relatedNode","srcElement")}if(h.event.dispatch){k(h.event,"handle",h.event.dispatch,"jQuery.event.handle is undocumented and deprecated")}h.event.add=function(H,K,I,G,J){if(H!==document&&t.test(K)){j("AJAX events should be attached to document: "+K)}d.call(this,H,g(K||""),I,G,J)};h.event.remove=function(G,K,H,J,I){e.call(this,G,g(K)||"",H,J,I)};h.fn.error=function(){var G=Array.prototype.slice.call(arguments,0);j("jQuery.fn.error() is deprecated");G.splice(0,0,"error");if(arguments.length){return this.bind.apply(this,G)}this.triggerHandler.apply(this,G);return this};h.fn.toggle=function(H,I){if(!h.isFunction(H)||!h.isFunction(I)){return s.apply(this,arguments)}j("jQuery.fn.toggle(handler, handler...) is deprecated");var G=arguments,J=H.guid||h.guid++,K=0,L=function(M){var N=(h._data(this,"lastToggle"+H.guid)||0)%K;h._data(this,"lastToggle"+H.guid,N+1);M.preventDefault();return G[N].apply(this,arguments)||false};L.guid=J;while(K<G.length){G[K++].guid=J}return this.click(L)};h.fn.live=function(I,G,H){j("jQuery.fn.live() is deprecated");if(p){return p.apply(this,arguments)}h(this.context).on(I,this.selector,G,H);return this};h.fn.die=function(H,G){j("jQuery.fn.die() is deprecated");if(m){return m.apply(this,arguments)}h(this.context).off(H,this.selector||"**",G);return this};h.event.trigger=function(I,G,H,J){if(!H&&!t.test(I)){j("Global events are undocumented and deprecated")}return f.call(this,I,G,H||document,J)};h.each(a.split("|"),function(G,H){h.event.special[H]={setup:function(){var I=this;if(I!==document){h.event.add(document,H+"."+h.guid,function(){h.event.trigger(H,null,I,true)});h._data(this,H,h.guid++)}return false},teardown:function(){if(this!==document){h.event.remove(document,H+"."+h._data(this,H))}return false}}})})(jQuery,window);jQuery.fn.reverse=[].reverse;function search(){var c=$(".search input").attr("autocomplete","off");for(var a=0;a<c.length;a++){var b=$(c[a]);var d=b.val();b.bind("focus",{value:d},function(e){if($(this).val()==e.data.value){$(this).val("")}}).bind("blur",{value:d},function(e){if($.trim($(this).val())==""){$(this).val(e.data.value)}})}}function redirect_notice(){if(!$("#redirect_notice .content a.close").size()){$("#redirect_notice .content").prepend('<a href="javascript:void(0)" class="close">Close</a>').find(".close").click(function(){$("#redirect_notice").hide(400,function(){$(this).remove()})})}}function alert_mid(){if($("#alert_middle_wrap").size()==1){$(".close_alert").show();$("div#alert_middle .close_alert").bind("click",function(){$("#alert_middle_wrap").slideUp();$.ajax({type:"POST",url:"/ajax/HideAlert",timeout:3000})})}}function anchor_scroll(){$("a[href*=\\#]:not([href=\\#])").click(function(){var c=this.hostname.split(":")[0];if(location.pathname.replace(/^\//,"")==this.pathname.replace(/^\//,"")&&location.hostname==c){var a=$(this.hash);var b=this.hash;a=a.length&&a||$("[name="+this.hash.slice(1)+"]");if(a.length){if(a.is(":header")){$("._anchor_active").removeClass("_anchor_active").removeClass("active");a.addClass("active").addClass("_anchor_active")}var d=a.offset().top;$("html,body").animate({scrollTop:d},500,null,function(){location.hash=b});return false}}})}function Utils(){}Utils.commify=function(a,b){a=parseFloat(a);if(b){a=a.toFixed(b)}var d=a.toString();x=d.split(".");x1=x[0];x2=x.length>1?"."+x[1]:"";var c=/(\d+)(\d{3})/;while(c.test(x1)){x1=x1.replace(c,"$1,$2")}return x1+x2};function init_lightbox(){if($.fn.lightBox){var a=$('a[href$=".jpg"],a[href$=".gif"],a[href$=".png"]');if(a.length&&$.browser.msie&&parseInt($.browser.version)<=7){$("html,body").css("height","100%")}a.lightBox({imageLoading:"/graphics/throbber_normal.gif",imageBtnPrev:"/graphics/lightbox-btn-prev.gif",imageBtnNext:"/graphics/lightbox-btn-next.gif",imageBtnClose:"/graphics/lightbox-btn-close.gif",imageBlank:"/graphics/blank.gif",overlayOpacity:0.7})}}function get_url_param(a){a=a.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var c="[\\?&]"+a+"=([^&#]*)";var b=new RegExp(c);var d=b.exec(window.location.href);if(d==null){return""}else{return decodeURIComponent(d[1].replace(/\+/g," "))}}function check_url_params(){if(get_url_param("utm_source")!=""){var a=unescape(get_url_param("redirect_url"));if(a==""){a="/"}window.location.replace(a)}}function log_out_user(){if(typeof(logged_in)!="undefined"&&logged_in!=null){setTimeout(function(){alert("Your session has timed out. You have been logged off for your security.");window.location="/Account/SignOut"},60000*30)}}$(document).ready(function(){if(!$.curCSS){$.curCSS=$.css}Number.prototype.commify=function(a){return Utils.commify(this,a)};redirect_notice();search();anchor_scroll();init_lightbox();alert_mid();$(".hide_if_js").hide();log_out_user()});(function(a){a.fn.hoverIntent=function(h,i,l){var b={interval:100,sensitivity:7,timeout:0};if(typeof h==="object"){b=a.extend(b,h)}else{if(a.isFunction(i)){b=a.extend(b,{over:h,out:i,selector:l})}else{b=a.extend(b,{over:h,out:h,selector:i})}}var d,e,j,k;var m=function(n){d=n.pageX;e=n.pageY};var c=function(n,o){o.hoverIntent_t=clearTimeout(o.hoverIntent_t);if((Math.abs(j-d)+Math.abs(k-e))<b.sensitivity){a(o).off("mousemove.hoverIntent",m);o.hoverIntent_s=1;return b.over.apply(o,[n])}else{j=d;k=e;o.hoverIntent_t=setTimeout(function(){c(n,o)},b.interval)}};var f=function(n,o){o.hoverIntent_t=clearTimeout(o.hoverIntent_t);o.hoverIntent_s=0;return b.out.apply(o,[n])};var g=function(n){var o=jQuery.extend({},n);var p=this;if(p.hoverIntent_t){p.hoverIntent_t=clearTimeout(p.hoverIntent_t)}if(n.type=="mouseenter"){j=o.pageX;k=o.pageY;a(p).on("mousemove.hoverIntent",m);if(p.hoverIntent_s!=1){p.hoverIntent_t=setTimeout(function(){c(o,p)},b.interval)}}else{a(p).off("mousemove.hoverIntent",m);if(p.hoverIntent_s==1){p.hoverIntent_t=setTimeout(function(){f(o,p)},b.timeout)}}};return this.on({"mouseenter.hoverIntent":g,"mouseleave.hoverIntent":g},b.selector)}})(jQuery);(function(a,c){var b=(function(){var e={bcClass:"sf-breadcrumb",menuClass:"sf-js-enabled",anchorClass:"sf-with-ul",menuArrowClass:"sf-arrows"},i=(function(){var s=/iPhone|iPad|iPod/i.test(navigator.userAgent);if(s){a(c).load(function(){a("body").children().on("click",a.noop)})}return s})(),r=(function(){var s=document.documentElement.style;return("behavior" in s&&"fill" in s&&/iemobile/i.test(navigator.userAgent))})(),q=(function(){return(!!c.PointerEvent)})(),n=function(s,u){var t=e.menuClass;if(u.cssArrows){t+=" "+e.menuArrowClass}s.toggleClass(t)},l=function(s,t){return s.find("li."+t.pathClass).slice(0,t.pathLevels).addClass(t.hoverClass+" "+e.bcClass).filter(function(){return(a(this).children(t.popUpSelector).hide().show().length)}).removeClass(t.pathClass)},m=function(s){s.children("a").toggleClass(e.anchorClass)},o=function(s){var t=s.css("ms-touch-action");var u=s.css("touch-action");u=u||t;u=(u==="pan-y")?"auto":"pan-y";s.css({"ms-touch-action":u,"touch-action":u})},d=function(s,t){var u="li:has("+t.popUpSelector+")";if(a.fn.hoverIntent&&!t.disableHI){s.hoverIntent(k,j,u)}else{s.on("mouseenter.superfish",u,k).on("mouseleave.superfish",u,j)}var v="MSPointerDown.superfish";if(q){v="pointerdown.superfish"}if(!i){v+=" touchend.superfish"}if(r){v+=" mousedown.superfish"}s.on("focusin.superfish","li",k).on("focusout.superfish","li",j).on(v,"a",t,p)},p=function(u){var s=a(this),v=h(s),t=s.siblings(u.data.popUpSelector);if(v.onHandleTouch.call(t)===false){return this}if(t.length>0&&t.is(":hidden")){s.one("click.superfish",false);if(u.type==="MSPointerDown"||u.type==="pointerdown"){s.trigger("focus")}else{a.proxy(k,s.parent("li"))()}}},k=function(){var s=a(this),t=h(s);clearTimeout(t.sfTimer);s.siblings().superfish("hide").end().superfish("show")},j=function(){var s=a(this),t=h(s);if(i){a.proxy(f,s,t)()}else{clearTimeout(t.sfTimer);t.sfTimer=setTimeout(a.proxy(f,s,t),t.delay)}},f=function(s){s.retainPath=(a.inArray(this[0],s.$path)>-1);this.superfish("hide");if(!this.parents("."+s.hoverClass).length){s.onIdle.call(g(this));if(s.$path.length){a.proxy(k,s.$path)()}}},g=function(s){return s.closest("."+e.menuClass)},h=function(s){return g(s).data("sf-options")};return{hide:function(u){if(this.length){var s=this,w=h(s);if(!w){return this}var v=(w.retainPath===true)?w.$path:"",t=s.find("li."+w.hoverClass).add(this).not(v).removeClass(w.hoverClass).children(w.popUpSelector),x=w.speedOut;if(u){t.show();x=0}w.retainPath=false;if(w.onBeforeHide.call(t)===false){return this}t.stop(true,true).animate(w.animationOut,x,function(){var y=a(this);w.onHide.call(y)})}return this},show:function(){var u=h(this);if(!u){return this}var s=this.addClass(u.hoverClass),t=s.children(u.popUpSelector);if(u.onBeforeShow.call(t)===false){return this}t.stop(true,true).animate(u.animation,u.speed,function(){u.onShow.call(t)});return this},destroy:function(){return this.each(function(){var t=a(this),u=t.data("sf-options"),s;if(!u){return false}s=t.find(u.popUpSelector).parent("li");clearTimeout(u.sfTimer);n(t,u);m(s);o(t);t.off(".superfish").off(".hoverIntent");s.children(u.popUpSelector).attr("style",function(v,w){return w.replace(/display[^;]+;?/g,"")});u.$path.removeClass(u.hoverClass+" "+e.bcClass).addClass(u.pathClass);t.find("."+u.hoverClass).removeClass(u.hoverClass);u.onDestroy.call(t);t.removeData("sf-options")})},init:function(s){return this.each(function(){var u=a(this);if(u.data("sf-options")){return false}var v=a.extend({},a.fn.superfish.defaults,s),t=u.find(v.popUpSelector).parent("li");v.$path=l(u,v);u.data("sf-options",v);n(u,v);m(t);o(u);d(u,v);t.not("."+e.bcClass).superfish("hide",true);v.onInit.call(this)})}}})();a.fn.superfish=function(e,d){if(b[e]){return b[e].apply(this,Array.prototype.slice.call(arguments,1))}else{if(typeof e==="object"||!e){return b.init.apply(this,arguments)}else{return a.error("Method "+e+" does not exist on jQuery.fn.superfish")}}};a.fn.superfish.defaults={popUpSelector:"ul,.sf-mega",hoverClass:"sfHover",pathClass:"overrideThisToUse",pathLevels:1,delay:800,animation:{opacity:"show"},animationOut:{opacity:"hide"},speed:"normal",speedOut:"fast",cssArrows:true,disableHI:false,onInit:a.noop,onBeforeShow:a.noop,onShow:a.noop,onBeforeHide:a.noop,onHide:a.noop,onIdle:a.noop,onDestroy:a.noop,onHandleTouch:a.noop}})(jQuery,window);function menu(){this.nav_menu=$("#nav > ul:first");this.current=$("li:has(a.current)",this.nav_menu);this.first_parent=$("li:first:has(ul)",this.nav_menu);this.delay=500;this.nav_menu.superfish({animation:{opacity:"show"},delay:this.delay,disableHI:false,hoverClass:"active",onHide:function(){$(this).parent("li").trigger("nav_first_restore").trigger("nav_current_restore")},onShow:function(){$(this).parent("li").trigger("nav_first_generify").trigger("nav_current_generify")},speed:250}).find("ul li:has(ul) > a:first-child").addClass("parent").parent().find("ul > li:first-child").addClass("first");this.first_parent.bind("nav_first_restore",function(a){$(this).addClass("first")}).bind("nav_first_generify",function(a){$(this).removeClass("first")});this.current.bind("nav_current_restore",function(a){$("a:first",this).addClass("current")}).bind("nav_current_generify",function(a){$("a:first",this).removeClass("current")})}$(document).ready(function(){menu()});function QuickSearch(){this.search_base="/search/";this.more_text="View all search results";this.dialog_id="quick_search";this.search_id="#nav .search";this.active_class="active";this.loading_class="loading";this.error_content='<li class="_error"><h4>Sorry...</h4><p class="notice">No results found.</p></li>';this.eldest=$(".constraint:first");this.input=$("input#searchQuery",this.search);this.button=$("button:first",this.search);this.dialog=$(this.dialog_id);this.search=$(this.search_id);this.ul;this.last_li;this.last_query;this.current_active;this.in_use=false;this.submitted=false;this.retrieved=false;this.show_speed=150;this.ajax_delay=280;this.ajax_timeout_ms=10000;this.ajax_url="/ajax/search";this.ajax_timeout;this.timeout_callback="$('"+this.search_id+" input:first').trigger('_ajax')";this.max_title_length=40;this.title_trail="...";this.construct=function(){this.init_markup();this.init_events();this.enable_404_search();return this};this.init_markup=function(){if(!this.dialog.length){this.dialog=$(document.createElement("div")).attr("id",this.dialog_id).html('<div class="hd"></div><ul><li class="last"><a href="'+this.search_base+'">'+this.more_text+'</a></li></ul><div class="ft"></div>').appendTo(this.eldest).bind("mouseover",{_this:this},function(c){c.data._this.in_use=true}).bind("mouseout",{_this:this},function(c){c.data._this.in_use=false}).hide()}var b=parseInt(this.eldest.css("padding-top"))+this.button.height()-1+"px";var a=this.eldest.css("padding-right");this.dialog.css("top",b).css("right",a);this.ul=$("ul:first",this.dialog);this.last_li=$("li:last",this.ul)};this.init_events=function(){this.input.bind("click",{_this:this},function(a){var b=$.trim($(this).val());if(b.length){a.data._this.show()}}).bind("keyup",{_this:this},function(a){a.data._this.keyup($(this),a)}).bind("keydown",{_this:this},function(a){a.data._this.keydown($(this),a)}).bind("blur",{_this:this},function(a){if(!a.data._this.in_use){a.data._this.hide()}}).bind("focus",{_this:this},function(a){$("#nav .search").css("width","200px")}).bind("_ajax",{_this:this},function(a){clearTimeout(a.data._this.ajax_timeout);a.data._this.ajax_start($.trim($(this).val()))}).parent().parent("form").bind("submit",{_this:this},function(a){a.data._this.submitted=true;if(a.data._this.input.val()=="Search..."||a.data._this.input.val()==""){a.data._this.submitted=false;return false}if(a.data._this.dialog.is(":visible")&&a.data._this.current_active&&a.data._this.current_active.length){window.location=a.data._this.current_active.find("a:first").attr("href");a.data._this.hide();return false}a.data._this.hide();return true})};this.enable_404_search=function(a){if($("a#search_404").size()>0){$("a#search_404").bind("click",{i:this.input},function(b){b.preventDefault();b.data.i.focus();return false})}};this.update_search_link=function(d){var b=$("a",this.last_li);var c=b.attr("href");var f=this.search_base+(d);var e="?display=search";if(f!=c){b.attr("href",f.replace(".",",")+e)}};this.keyup=function(c,a){switch(a.keyCode){case 27:c.trigger("blur");break;case 40:case 38:break;default:var b=$.trim(c.val());if(b.length){a.data._this.show();clearTimeout(this.ajax_timeout);this.ajax_timeout=setTimeout(this.timeout_callback,this.ajax_delay);this.update_search_link(b)}else{a.data._this.hide()}break}};this.keydown=function(b,a){switch(a.keyCode){case 40:this.set_next_active();break;case 38:this.set_prev_active();break}};this.show=function(){if(!this.submitted){this.dialog.not(":visible").slideDown(this.show_speed);this.button.removeAttr("class").addClass("active")}};this.hide=function(){this.dialog.stop().filter(":visible").css("height","").hide();this.button.removeAttr("class")};this.get_next_item=function(f){var c=this.get_item_objects();var a=$(c).filter(".active");if(!a.length){return f?c.eq(c.length-1):c.eq(0)}var e=f?a.prev():a.next();if(e.length){return e}var b=a.parent().parent();var d=f?b.prev().find("li:last"):b.next().find("li:first");if(d.length){return d}return f?c.eq(c.length-1):c.eq(0)};this.set_active=function(a){this.get_item_objects().removeClass("active");this.current_active=$(a).addClass("active")};this.set_next_active=function(b){b=b?true:false;var a=$("li.active",this.dialog);this.set_active(this.get_next_item(b))};this.set_prev_active=function(){this.set_next_active(true)};this.get_item_objects=function(){return $("li li",this.dialog)};this.ajax_start=function(c){this.retrieved=false;if(c==this.last_query){return}this.last_query=c;this.button.addClass("loading");var b=this.input.serialize();var a=this;$.ajax({type:"POST",url:this.ajax_url,timeout:this.ajax_timeout_ms,data:b,success:function(d){a.ajax_success(d)},complete:function(d){},error:function(d){a.error()},dataType:"json"})};this.ajax_success=function(c){this.retrieved=true;this.button.removeClass("loading");var b=0;$("li:not(.last)",this.ul).remove();for(var j in c){var f=c[j];if(f.length>0){var g=$(document.createElement("li")).append($(document.createElement("h4")).text(j)).append(document.createElement("ul")).insertBefore(this.last_li);var k=$("ul",g);if(j!="Products"){k.addClass("types")}}for(var h=0;h<f.length;h++){if(j=="Products"){var i=(f[h].BasePricing)?parseFloat(f[h].BasePricing):0;var d='<a href="'+f[h].URL.replace(".",",")+'"><img src="'+f[h].ThumbnailSource+'" alt="'+f[h].PartNumberBase+" "+this.truncate(f[h].Title)+'" /><span>'+f[h].PartNumberBase+"</span>"+f[h].Title+" "+(i!=0?'<span class="price">Base price $'+i.toFixed(2)+"</span>":"")+"</a>"}else{var a=f[h].Body!=null?f[h].Body:"";var d='<a href="'+f[h].URL+"/"+f[h].Slug+'"><span>'+this.truncate(f[h].Title)+"</span>"+a+"</a>"}var e=j=="Products"?null:"icon_"+j+"_small";k.append($(document.createElement("li")).addClass(e).html(d).bind("mouseover",{_this:this},function(l){l.data._this.set_active($(this))}));b++}}if(b){this.restore_active()}else{this.error()}};this.error=function(){if(!$("li._error",this.dialog).length&&!this.retrieved){this.button.removeClass("loading");$("li:not(.last)",this.ul).remove();this.last_li.before(this.error_content)}};this.restore_active=function(){if(!this.current_active){return}var c=this.current_active.html();var b=this.get_item_objects();for(var d=0;d<b.length;d++){var a=$(b[d]);if(c==a.html()){this.set_active(a);return true}}};this.truncate=function(a){if(a.length>this.max_title_length){a=a.substring(0,this.max_title_length);a=a.replace(/\w+$/,"");a+=this.title_trail}return a};return this.construct()}$(document).ready(function(){var a=new QuickSearch});$(document).ready(function(){replaceAddToCartJS();var e=new Configuration;var f=new Media;$("body").bind("drawing_fullsize",openQuickbox);if($("#purchase .cart").size()>0){$("#purchase .cart").bind("click",handleShoppingCartAdd)}var c=$(".product_input select");var a=$(".product_input input");var b=$("input#partNumber");var d={};d.data=1;handleConfiguratorUpdate(d);c.bind("change",handleConfiguratorUpdate);a.bind("click",handleConfiguratorUpdate);bindEmailandPhoneQuote();jQuery.fn.center=function(){this.css("position","absolute");this.css("top",Math.max(0,(($(window).height()-this.outerHeight())/2)+$(window).scrollTop())+"px");return this};$("a.datasheet_download").bind("click",function(h){h.preventDefault();var g=$(this).attr("href");if(typeof(_gaq)!="undefined"){_gaq.push(["_trackEvent","Download","Datasheet",g.split("?k")[0]])}openPDF(g)});$("a.assembly_instructions_download").bind("click",function(h){h.preventDefault();var g=$(this).attr("href");if(typeof(_gaq)!="undefined"){_gaq.push(["_trackEvent","Download","AssemblyInstructions",g])}openPDF(g)})});function bindEmailandPhoneQuote(){var a="";if($("a#quoterequest").size()==1){$("a#quoterequest").bind("click",function(){if(typeof(_gaq)!="undefined"){_gaq.push(["_trackEvent","EmailQuoteRequest",$('input[name="partNumberBase"]').val(),$("input#partNumber").val()])}a=$("input#partNumber").val()==""?$('input[name="partNumberBase"]').val():$("input#partNumber").val();var b="mailto:sales@usdigital.com?subject="+a+"%20Request%20for%20Quote";b+="&body=I'd%20like%20to%20request%20a%20quote%20for:%0D%0A%0D%0AQty: "+$("input#quantity").val()+"%0D%0APart Number: "+a;$(this).attr("href",b)})}if($(".phonerequest").size()==2){$(".phonerequest").bind("click",function(b){b.preventDefault();if(typeof(_gaq)!="undefined"){_gaq.push(["_trackEvent","PhoneQuoteRequest",$('input[name="partNumberBase"]').val(),$("input#partNumber").val()])}$("#purchase p span.phone").fadeIn();$("a.phonerequest").hide()})}}function replaceAddToCartJS(){var a=$("button#cart").html();$("button#cart").replaceWith('<input type="submit" class="cart" name="cart" id="cart" value="'+a+'" />')}$(window).load(function(){specs_tabs_init()});function handleConfiguratorUpdate(c){var b=this;var a=$("input#partNumber");this.updateComplete=function(d){if($(d).val()>-1){$(d).parent(".product_input").removeClass("incomplete");$(d).parent(".product_input").addClass("complete")}else{$(d).parent(".product_input").addClass("incomplete");$(d).parent(".product_input").removeClass("complete");a.val("")}};if(c.data&&a.val()!=""){$(".product_input").removeClass("incomplete");$(".product_input").addClass("complete")}else{this.updateComplete(b)}}function handleShoppingCartAdd(){if($("input#partNumber").val()==""){$("p#base_pn_warning").fadeOut("fast",function(){$(this).fadeIn("fast")});$(".product_input").each(function(){if(($(this).find("input").length>0&&$(this).find("input[checked]").length>0)||($(this).find("select").length>0&&$(this).find("select").val()!=-1)){$(this).removeClass("incomplete")}else{$(this).addClass("incomplete")}});return false}}function openQuickbox(b,a){Utils.quickbox(a.url)}function specs_tabs_init(){$('#specs ul.nav > li:contains("Cables")').remove();$('#specs div.bd > div.content[id*="cables"]').remove();$("#specs ul.nav > li > a").each(function(a){this.href="#"+$("#specs .content:eq("+a+")").attr("id")});$("#specs .content").each(function(a){$(this).removeClass("hide")});$("#specs ul.nav").tabs({click:function(a,c,b){$("#specs ul.nav > li a").each(function(d){$(this).removeClass("current").blur()})},hide:function(a,d,c){var b=$("#specs ul").tabsSelected();$("#specs ul.nav > li:eq("+(b-1)+") a").addClass("current")}});$("#specs ul.nav > li a").each(function(a){if($(this).hasClass("current")){$("#specs ul.nav").tabsClick(a+1);return false}})}function Configuration(){var c=this;var g="select";var e="choice";var f="range";var a=0;var b=null;var d=0;this.construct=function(){this.form=$("#configuration");this.pn=$("#partNumber");this.pn_value=this.pn.val();if(!this.pn.length){return false}this.throbber=new Throbber("#configure h4");this.timeouts=[];this.custom_timeout_duration=800;this.previous_data=null;if(document.getElementById("purchasing_notice")){this.notice=$(document.getElementById("purchasing_notice")).addClass("error")}if(document.getElementById("notice_container")){this.notice_container=$("#notice_container",this.form)}else{this.notice_container=$(document.createElement("div")).attr("id","notice_container").prependTo($(".content:first",this.form))}this.notice_container.css("position","absolute");$(window).scroll(this.scroll);$("[name=update]",this.form).remove();$("select",this.form).bind("change",this,this.check);$(":radio, :checkbox",this.form).bind("click",this,this.check);$("#quantity",this.form).bind("keyup",this,this.calculate_total);$(".custom input",this.form).bind("keyup",this,function(i){var h=i.data;var j=this;if(i.keyCode==13){clearTimeout(i.data.timeouts[$(this).attr("name")]);h.validate_custom(j,h)}else{h.timeouts[$(this).attr("name")]=setTimeout(function(){h.validate_custom(j,h)},h.custom_timeout_duration)}}).bind("keydown",this,function(h){clearTimeout(h.data.timeouts[$(this).attr("name")])}).bind("blur",this,function(h){c.validate_custom(this,h.data,true)}).parent().siblings("select").bind("change",this,function(h){if($(this).val()){$(this).siblings(".custom").hide()}else{h.data.validate_custom($(this).siblings(".custom").show().children("input"),h.data)}}).change();this.pn.focus(function(){this.select()});this.pn.keyup(this.check_for_update);$("input.update",this.form).click(function(h){h.preventDefault();c.check(h,true)});this.check();$("input#cart").click(function(h){h.preventDefault();c.check(h,true,true)});return true};this.trigger_analytics_event=function(h){if(typeof(_gaq)!="undefined"){_gaq.push(["_trackEvent","Configurator",h.PartNumberBase,h.PartNumber])}};this.handle_valid_configuration=function(i,h){$(".product_input").removeClass("incomplete");$(".product_input").addClass("complete");if($("#base_pn_warning:visible").size()==1){$("#base_pn_warning").slideUp();$("#partNumber").css("background-color","#fff");if($("div#email_quote").size()==1){$("div#email_quote").show()}}if($(".pricing_information:hidden")&&i.Pricing!=null&&i.Pricing.length>1){$(".pricing_information").show()}else{$("table.pricing_information").hide()}$("#base_price").hide();if(typeof(h)!="undefined"){this.cart_confirm(i)}};this.check_for_update=function(i){var j=c.pn.val();var h=$("input.update");if(j&&j!=c.pn_value){h.fadeTo(50,1).attr("title","Update your configuration.")}else{h.fadeTo(50,0.25).attr("title","Your configuration is currently updated.")}};this.build_pricing_table=function(h){c._pricing_table=h!=null?h:null;this.calculate_total()};this.calculate_total=function(h){c.pricing(c._pricing_table)};this.check=function(k,m,h){var i=c;var p=$(i.form).serialize();if(typeof("add_to_cart")=="undefined"&&((!m&&i.previous_data==p)||(m&&i.pn_value==i.pn.val()))){return}var o=$("select",i.form);for(var n=0;n<o.length;n++){if(!$(o[n]).val()){var j=$(o[n]).siblings(".custom").children("[name*=_custom]");if(j.length){if(!j.val()){j.focus()}else{continue}}if(n>=(o.length-2)){var l=true}}if(l){return}}i.throbber.show(function(){$(this).fadeOut(250)});i.previous_data=p;$.ajax({type:"POST",url:"/ajax/ValidatePartNumber",timeout:10000,data:p+(m?"&fromPartNumber=true":""),success:function(q){i.ajax_success(q,h)},complete:function(q){i.ajax_complete(q)},error:function(q){i.ajax_error(q)},dataType:"json"})};this.ajax_complete=function(h){this.throbber.hide()};this.ajax_error=function(h){};this.ajax_success=function(i,h){if(i.Changelog&&i.Changelog.Message){this.notify(i.Changelog.Message)}else{this.notify(false)}if(i.ValidProductsList!=null){this.show_compatible_products(i.ValidProductsList)}else{$compatible_products=$("#compatible_products_accessories");if($compatible_products.size()==1){$compatible_products.fadeOut("fast");$compatible_products.prev("p").fadeOut("fast");$compatible_products.prev("p").prev("h3").fadeOut("fast")}}this.pn.val(i.PartNumber!=i.PartNumberBase||(i.Components!=null&&i.Components.length==0)?i.PartNumber:"");this.pn_value=(i.PartNumber!=i.PartNumberBase||(i.Components!=null&&i.Components.length==0));QuantityInCart(i.QuantityInCart);this.fields(i.Components);this.pricing(i.Pricing);this.build_pricing_table(i.Pricing);this.models(i.Models,i.ModelsPrefix);this.check_for_update();this.previous_return=i;if(this.pn_value==true){this.handle_valid_configuration(i,h);this.trigger_analytics_event(i)}else{if($("#base_pn_warning:hidden").size()==1){$("#base_pn_warning").slideDown()}}};this.disable=function(h){h.attr("disabled","disabled").removeAttr("checked").removeAttr("selected");if(!h.is("option")){$("~label [for="+h.attr("id")+"]",h).fadeTo(1,0.25)}};this.enable=function(h){h.removeAttr("disabled");if(!h.is("option")){$("~label [for="+h.attr("id")+"]",h).fadeTo(1,1)}};this.models=function(l,m){$container=$("#model_downloads");$notice=$container.siblings("p.model_notice");$list=$container.children("ul").not(".types_disabled");$types_disabled=$container.children("ul.types_disabled");$types_disabled.show();$types_disabled.find("a").click(function(n){n.preventDefault();$notice.fadeOut("fast",function(){$notice.fadeIn("fast")})});if(!$list.length){return false}$items=$list.children("li");$items.remove();if(typeof(l)!="undefined"&&l!=null&&l.length){$list.show();$types_disabled.hide();$notice.slideUp()}else{$list.hide();$types_disabled.show();$notice.slideDown();return false}var k,j,h;if(typeof(l)!="undefined"&&l.length){for(var i in l){k=l[i];$li=$(document.createElement("li"));$a=$(document.createElement("a"));$li.addClass("icon_software_small");$a.attr("href",m+"/"+k.URL).attr("title","Download "+k.Title+" model").text(k.Title+" Model");$li.append($a);$list.append($li)}}};this.notify=function(i){var h=350;if(i&&i.type!="click"&&i!=""){i+='<br /><span class="notify_ok">OK</span><div class="clear"></div>';var j=i;if(this.notice){this.notice.html(j);this.notice.slideDown(h)}else{this.notice=$(document.createElement("p")).addClass("error").html(j).hide();this.notice_container.html(this.notice);this.notice.slideDown(h)}this.notice_container.click(this.notify);c.notice_container.width();clearTimeout(this.timeouts[this.notice.attr("id")])}else{if(c.notice){c.notice.slideUp(h)}}};this.fields=function(j){for(var l in j){var h=j[l];for(var o in h.PartNumberChoices){var m=h.PartNumberChoices[o];var k=$("#PartNumberComponentModel"+m.PartNumberComponentID+"_"+m.PartNumberChoiceID);if(!m.Enabled){this.disable(k)}else{this.enable(k)}if(m.Selected){k.attr("selected","selected").attr("checked","checked")}}if(h.PartNumberRange!=null){var n=$("#PartNumberRangeModel"+h.PartNumberRange.PartNumberRangeID);n.val(h.PartNumberRange.Value!=null?h.PartNumberRange.Value:"")}}};this.hide_compatible_products=function(){$hidden_div=$("#compatible_hidden");if($hidden_div.size()==0){$("body").append('<div id="compatible_hidden" style="display:none"></div>');$hidden_div=$("#compatible_hidden")}$compatible_products=$("#compatible_products_accessories");$related_products=$("#related_product_accessories");if($hidden_div.find("li").size()>0||$compatible_products.find("li").size()>0){$compatible_products.find("li").fadeOut("fast")}else{$accessories=$(".accessories ul.content li");$cables=$accessories.find('span strong:contains("CA")').parent("span").parent("a").parent("li");$connectors=$accessories.find('span strong:contains("CON")').parent("span").parent("a").parent("li")}$accessories=$.extend({},$cables,$connectors);var h=$.merge($.makeArray($cables),$.makeArray($connectors));$hidden_div.append($(h));if($("#related_product_accessories .bd .content li").size()==0){$("#related_product_accessories").fadeOut("fast");$("#related_product_accessories").prev("h3").fadeOut("fast")}else{$("#related_product_accessories").fadeIn("fast");$("#related_product_accessories").prev("h3").fadeIn("fast")}};this.show_compatible_products=function(h){this.hide_compatible_products();var j=false;var i=false;$(h).sort(function(k,l){return k.Votes<=l.Votes}).each(function(){j=true;var k=$hidden_div.find('li[id="rp_'+this.PartNumber+'"]');k.fadeIn("fast");if(this.Recommended){i=true;$compatible_products.find(".content .recommended").append(k)}else{$compatible_products.find(".content .not-recommended").append(k)}});if(i){$compatible_products.find(".bd div.content").eq(0).fadeIn("fast")}else{$compatible_products.find(".bd div.content").eq(0).fadeOut("fast")}if(j){if($("#compatible_products_link").size()==1){$("#compatible_products_link").slideDown("fast");$compatible_products.fadeIn();$compatible_products.prev("p").prev("h3").show();$compatible_products.siblings("p").show()}}else{$compatible_products.hide();$compatible_products.prev("p").hide();$compatible_products.prev("p").prev("h3").hide();$("#compatible_products_link").hide()}};$("#compatible_products_link").bind("click",function(){$(this).hide(0,function(){$("body, html").animate({scrollTop:$($compatible_products).siblings("h3").eq(1).offset().top},"slow")})});this.pricing=function(o){var q=$("#quantity");if(q.val()){if(isNaN(parseInt(q.val()))||q.val()<1||jQuery.trim(q.val())==""){q.val(1)}else{q.val(parseInt(parseFloat(q.val())))}}var t=$("#purchase div > h5 ~ p").eq(0).find("span");var j=$("#configure .content table:last thead tr th").length;var s=$("#configure .content table:last tbody");var r=null;$("tr:not(.last)",s).remove();var m=[{title:"quantity",prepend:"",places:""},{title:"price",prepend:"$",places:2}];if(o){for(var k in o){var n=o[k];var h=q.val()?parseInt(q.val()):1;if(h>=n.Quantity&&(o[k+1]==undefined||(o[k+1]!=undefined&&h<o[k+1].Quantity))){var p=parseFloat(n.Price)}if(!r){r=$(document.createElement("tr"));for(var l=0;l<j;l++){r.append($(document.createElement("td")))}$("tr.last",s).before(r)}else{r=r.clone();$("tr.last",s).before(r)}for(var u in m){if(o.length>1){$("td:eq(0)",r).text(n.Quantity);$("td:eq(1)",r).text(m[u].prepend+Utils.commify(n.Price,2));if(n.Show==false){$("td:eq(1)",r).append('&nbsp;<span style="color:red; font-weight:bold">PRIVATE</span>')}}else{}}if(k==o.length-1&&o.length>1){$("tr.last",s).find("td:eq(0)").text("Over "+n.Quantity)}$("#purchase div > h5 ~ p").eq(1).find("span").text(m[1].prepend+Utils.commify(p*q.val(),2));t.text(m[1].prepend+p.commify(2))}}};this.scroll=function(i){var j=$(window).scrollTop();var h=c.notice_container.parent().offset().top;if(j>h){c.notice_container.stop(true).animate({top:j-h},100)}else{c.notice_container.stop(true).animate({top:0},100)}};this.update_custom=function(h){if($(this).val()){$(this).siblings(".custom").hide()}else{var i=$(this).siblings(".custom").show().children("input").val()}};this.validate_custom=function(i,h,l){i=$(i);var k={min:null,max:null,step:null};for(var m in k){k[m]=parseFloat(i.siblings("p").children("."+m).text())}var m=parseFloat(i.val());var j=i.val();if(!i.val().length&&!l){return}if(isNaN(i.val())&&m){i.val(m)}else{if(!i.val()||isNaN(i.val())||m<k.min){i.val(k.min)}else{if(m>k.max){i.val(k.max)}else{if(m%k.step){if(m%k.step>=k.step/2){i.val(m-((m%k.step)-k.step))}else{i.val(m-(m%k.step))}}}}}if(i.val()!=j){i.fadeTo(100,0.25).fadeTo(300,1)}h.check()};this.toString=function(){return"[object Configuration]"};this.cart_confirm=function(q){if($("input#partNumber").val()==""){return false}var h=$("#dialog");var j=$("input#quantity").val();var i="";if(q.Components!=null&&q.Components.length>0){for(var p in q.Components){var l=q.Components[p].ActiveChoice!=null?q.Components[p].ActiveChoice.Value:(q.Components[p].PartNumberRange!=null?q.Components[p].PartNumberRange.Value:"");var k=q.Components[p].ActiveChoice!=null?q.Components[p].ActiveChoice.Title:"";i+='<li style="background:none"><strong>'+q.Components[p].Title+"</strong>: <span>("+l+") "+(k!=null?k:"")+"</span></li>"}}if(h.size()>0){$("#dialog_pn").text(q.PartNumber);$("#dialog_qty").text(q.Quantity);$("#dialog ul#selected_options").html(i);$("#dialog").remove();$("#overlay").fadeIn("fast")}var r='<div class="cell " id="dialog">';r+='<div class="hd hd_aes">';r+='<div class="corner_left"></div>';r+='<div class="corner_right"></div>';r+='<div class="header"></div>';r+="</div>";r+='<div class="bd">';r+='<div class="content">';if(q.ValidProducts!=null){r+='<div class="'+(q.ValidProductsError==true?"error":"notice")+'">'+q.ValidProducts+" </div>"}if($("input#compatibleProducts").size()==1){if(q.ValidProductsList!=null&&q.ValidProductsList.length>0){$("input#compatibleProducts").val("true")}else{$("input#compatibleProducts").val("false")}}r+='<p id="confirm_message">'+q.CartConfirmMessage+' </p><p><span id="dialog_qty">';r+=q.Quantity;r+='</span> &mdash; <img src="'+q.ThumbnailMiniSource+'" style="vertical-align:-24px" />';r+='<span id="dialog_pn" class="pn button nonpost rounded">'+q.PartNumber+"</span>";r+="</p>";if(q.Components!=null&&q.Components.length>0){r+="<p>"+q.OptionsConfirmMessage+"</p>";r+='<ul id="selected_options">';r+=i;r+="</ul>"}r+="</div>";r+='<div class="clear"></div>';r+='<div class="dialog_confirm" id="interaction">';r+='<img class="throbber" src="/graphics/throbber_small.gif" />';r+='<img src="/graphics/icon_cart_large.gif" style="height:22px; width:25px; margin:2px 2px 0 5px; float:right"/>';r+='<input id="cart_confirm" type="button" class="rounded green right"  value="'+q.ConfirmButtonText+'"></input><input id="cart_cancel" type="button" class="rounded button nonpost" style="float:right; margin-right:1em" value="'+q.CancelButtonText+'"></input>';r+='<div class="clear"></div>';r+="</div>";r+="</div>";r+='<div class="ft">';r+='<div class="corner_left"></div>';r+='<div class="corner_right"></div>';r+="</div>";r+="</div>";$("body").append(r);$("#dialog").center();var m=$("#cart_cancel");var n=$("input#cart_confirm");var o=$("#show_compatible_products_link");if(!o.hasEventHandler){o.live("click",function(){DialogDispose();$("body, html").animate({scrollTop:$($compatible_products).prev("h3").offset().top},"slow")})}if(!m.hasEventHandler){m.live("click",DialogDispose)}if(!n.hasEventHandler){n.bind("click",function(){$("#dialog .throbber").css("visibility","visible");$("form#configuration").append('<input type="hidden" value="true" name="addToCart" />');$("form#configuration").append('<input type="hidden" value="true" name="ajax" />');$.ajax({type:"POST",url:"/products",data:$("form#configuration").serialize(),success:function(t){$("#dialog").fadeOut("fast",function(){if(t.Message==null){window.location="/SignIn/EnableCookies?returnURL="+document.URL}else{$("#confirm_message").html("<p>"+t.Message+'</p><div class="spacer">');var u='<a class="right" href="/Cart"><img src="/graphics/icon_cart_large.gif" style="height:22px; width:25px; margin:2px 2px 0 5px"/></a><a href="/Cart" style=" float:right" class="button nonpost rounded green">'+t.ViewCart+"</a>";if(t.CompatibleProducts!=null){u+='<span style="font-size:10px; font-weight:bold; float:right; margin-right:1em" class="button nonpost rounded"  id="show_compatible_products_link">'+t.CompatibleProducts+'</span><div class="clear"></div>'}else{u+='<span style="font-size:10px; font-weight:bold; float:right; margin-right:1em" class="button nonpost rounded"  id="cart_cancel">'+t.ContinueShopping+'</span><div class="clear"></div>'}$("#interaction").html(u);$(this).fadeIn("fast")}});QuantityInCart(t.Quantity);UpdateCartStatus(t.CartText)}})})}var s='<div id="overlay"></div>';if($("#overlay").size()>0){$("#overlay").fadeIn("fast")}else{$("body").append(s);$("#overlay").fadeIn("fast");$("#overlay").bind("click",DialogDispose)}};this.hide_compatible_products();return this.construct()}function QuantityInCart(c){var a=$("#current_item_in_cart span").eq(0);var b=$("#pricer div.first h5");if(c!=null){if(c>0){b.html("Quantity*");a.html("* Currently "+c+" in your cart.");a.fadeIn("fast")}else{b.html("Quantity");a.fadeOut("fast")}}}function UpdateCartStatus(a){if($("span#cart_status").size()>0){$("span#cart_status").html(a)}}function Throbber(a){this.construct=function(b){this.target=$(b);if(!this.target){return false}this.instance=$(document.createElement("img")).attr({src:"/graphics/throbber_small_white.gif",alt:"Loading..."});this.target.before(this.instance);this.instance.hide();return true};this.show=function(b){return this.instance.fadeIn(b)};this.hide=function(b){return this.instance.stop().hide(b)};this.toggle=function(b){return this.instance.toggle(b)};this.toString=function(){return"[object Throbber]"};return this.construct(a)}function openPDF(a){window.open(a)}function openFullsize(a){Utils.quickbox(a)}Utils.quickbox=function(a){if(!$("#__quickbox").length){$("body").append('<a id="__quickbox"></a>');$("#__quickbox").lightBox({imageLoading:"/graphics/throbber_normal.gif",imageBtnPrev:"/graphics/lightbox-btn-prev.gif",imageBtnNext:"/graphics/lightbox-btn-next.gif",imageBtnClose:"/graphics/lightbox-btn-close.gif",imageBlank:"/graphics/blank.gif",overlayOpacity:0.7}).bind("click",function(){return false}).hide()}$("#__quickbox").attr("href",a).triggerHandler("click")};function DialogDispose(){$("#dialog").hide();$("#dialog .throbber").hide();$("#overlay").hide();$("input#cart").attr("style","")}function BuildConfigurationTable(){};function Media(){var b=null;var c=$("#mech_drawings");var a=$("#assembly_instructions");var j=$("#videos");var d=$("#media");var e=$("#media_nav");var f=$("#photos");var g=$("#slideshow_count");var h=$("#slideshow");var i=$("#slideshow_nav");var l=null;var m=false;var k=true;var G=$("#product_base").text();var I=$("> li",h).length;function n(){p();q();if(c.length){m=true;o()}}function r(N){$("ul.videos li a").click({player:N},u);$("a.video_link").click({player:N},u);var O=document.createElement("script");O.src="https://www.youtube.com/iframe_api";var M=document.getElementsByTagName("script")[0];M.parentNode.insertBefore(O,M)}function o(){b=$("#drawings_display");l=$("> li",b).length;$(".sub_nav a:eq(1)",c).live("click",x);$(".main_nav a",c).live("click",z);$(".main_nav a",c).attr("href","#")}function p(){$("li a",e).click(K).attr("href","#");$("a[name='photos']",e).click(C);$("a[name='drawings']",e).click(A);$("a[name='videos']",e).click(E);$("a[name='assembly_instructions']",e).click(w)}function q(){h.bind("complete",L);$("li",h).each(H);$("a",i).attr("href","#");$("a.prev",f).click(D);$("a.next",f).click(B);$("#photos.multiple").css("cursor","pointer");$("#photos.multiple").click(B)}function s(){var M={dataType:"html",data:{base:G},url:"/ajax/get-assembly-instructions",type:"post",success:v};$.ajax(M)}function t(){var M={dataType:"html",data:{base:G},url:"/ajax/get-drawings",type:"post",success:y};$.ajax(M)}function x(){var M=$(this).attr("href");$("body").trigger("drawing_fullsize",{url:M});return false}function y(M){f.hide();a.hide();j.hide();d.prepend(M);c=$("#mech_drawings");m=true;o()}function v(M){f.hide();c.hide();d.prepend(M);a=$("#assembly_instructions");k=true}function z(){var P=$(this).attr("name").replace("d","");var M=$(".main_nav .active",c);var O=$(this).parent("li");var N=$("> li",b).filter(function(){var Q=$("img",this).attr("id").replace("d","");return Q==P});M.removeClass("active");O.addClass("active");b.append(N);J(null);return false}function A(){if(m==false){t()}else{f.hide();a.hide();j.hide();c.show()}return false}function w(){if(k==false){s()}else{f.hide();c.hide();j.hide();a.show()}return false}function E(){f.hide();c.hide();a.hide();j.show(0,function(){});return false}function B(){h.transPhoto({direction:"next",duration:300});return false}function C(){c.hide();a.hide();j.hide();f.show();return false}function D(){h.transPhoto({direction:"prev",duration:300});return false}function H(M){var N=$("img",this).attr("src");$(this).data("photo",{src:N,index:I-M})}function J(Q){var N=$(".sub_nav a:eq(0)",c);var M=$(".sub_nav a:eq(1)",c);var P=$("img:last",b).attr("src");var O=$("img:last",b).attr("id").replace("d","");M.attr("href",P);N.attr("href","/assets/drawings/"+O+".pdf")}function L(M){var N=$("li:last",h).data("photo").index;var O=$("li",h).length;g.text(N+" / "+O)}function K(M){$_clicked=$(this);$_clicked.blur();$("li.current",e).removeClass("current");$_clicked.parent().addClass("current")}function u(M){M.preventDefault();$_siblings=$(this).parent("li").siblings("li").find("a");if($_siblings.size()>0){$_siblings.removeClass("current");$(this).addClass("current")}var N=$(this).attr("href").replace(/http:\/\//,"https://");if(typeof(_gaq)!="undefined"){_gaq.push(["_trackEvent","Videos","Products_Play",$(this).attr("title")])}$video_id=N.split("/v/");$(".instructions").append('<div id="player"></div>');if(M.data.player!=null){$("#player").hide();M.data.player.destroy()}M.data.player=new YT.Player("player",{height:"295",width:"452",videoId:$video_id[1],autoPlay:0,events:{}})}n();var F=null;if(j.length){F=r(F)}};jQuery.easing.jswing=jQuery.easing.swing;jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(h,g,a,e,f){return jQuery.easing[jQuery.easing.def](h,g,a,e,f)},easeInQuad:function(h,g,a,e,f){return e*(g/=f)*g+a},easeOutQuad:function(h,g,a,e,f){return -e*(g/=f)*(g-2)+a},easeInOutQuad:function(h,g,a,e,f){if((g/=f/2)<1){return e/2*g*g+a}return -e/2*((--g)*(g-2)-1)+a},easeInCubic:function(h,g,a,e,f){return e*(g/=f)*g*g+a},easeOutCubic:function(h,g,a,e,f){return e*((g=g/f-1)*g*g+1)+a},easeInOutCubic:function(h,g,a,e,f){if((g/=f/2)<1){return e/2*g*g*g+a}return e/2*((g-=2)*g*g+2)+a},easeInQuart:function(h,g,a,e,f){return e*(g/=f)*g*g*g+a},easeOutQuart:function(h,g,a,e,f){return -e*((g=g/f-1)*g*g*g-1)+a},easeInOutQuart:function(h,g,a,e,f){if((g/=f/2)<1){return e/2*g*g*g*g+a}return -e/2*((g-=2)*g*g*g-2)+a},easeInQuint:function(h,g,a,e,f){return e*(g/=f)*g*g*g*g+a},easeOutQuint:function(h,g,a,e,f){return e*((g=g/f-1)*g*g*g*g+1)+a},easeInOutQuint:function(h,g,a,e,f){if((g/=f/2)<1){return e/2*g*g*g*g*g+a}return e/2*((g-=2)*g*g*g*g+2)+a},easeInSine:function(h,g,a,e,f){return -e*Math.cos(g/f*(Math.PI/2))+e+a},easeOutSine:function(h,g,a,e,f){return e*Math.sin(g/f*(Math.PI/2))+a},easeInOutSine:function(h,g,a,e,f){return -e/2*(Math.cos(Math.PI*g/f)-1)+a},easeInExpo:function(h,g,a,e,f){return(g==0)?a:e*Math.pow(2,10*(g/f-1))+a},easeOutExpo:function(h,g,a,e,f){return(g==f)?a+e:e*(-Math.pow(2,-10*g/f)+1)+a},easeInOutExpo:function(h,g,a,e,f){if(g==0){return a}if(g==f){return a+e}if((g/=f/2)<1){return e/2*Math.pow(2,10*(g-1))+a}return e/2*(-Math.pow(2,-10*--g)+2)+a},easeInCirc:function(h,g,a,e,f){return -e*(Math.sqrt(1-(g/=f)*g)-1)+a},easeOutCirc:function(h,g,a,e,f){return e*Math.sqrt(1-(g=g/f-1)*g)+a},easeInOutCirc:function(h,g,a,e,f){if((g/=f/2)<1){return -e/2*(Math.sqrt(1-g*g)-1)+a}return e/2*(Math.sqrt(1-(g-=2)*g)+1)+a},easeInElastic:function(l,k,f,g,h){var j=1.70158;var i=0;var e=g;if(k==0){return f}if((k/=h)==1){return f+g}if(!i){i=h*0.3}if(e<Math.abs(g)){e=g;var j=i/4}else{var j=i/(2*Math.PI)*Math.asin(g/e)}return -(e*Math.pow(2,10*(k-=1))*Math.sin((k*h-j)*(2*Math.PI)/i))+f},easeOutElastic:function(l,k,f,g,h){var j=1.70158;var i=0;var e=g;if(k==0){return f}if((k/=h)==1){return f+g}if(!i){i=h*0.3}if(e<Math.abs(g)){e=g;var j=i/4}else{var j=i/(2*Math.PI)*Math.asin(g/e)}return e*Math.pow(2,-10*k)*Math.sin((k*h-j)*(2*Math.PI)/i)+g+f},easeInOutElastic:function(l,k,f,g,h){var j=1.70158;var i=0;var e=g;if(k==0){return f}if((k/=h/2)==2){return f+g}if(!i){i=h*(0.3*1.5)}if(e<Math.abs(g)){e=g;var j=i/4}else{var j=i/(2*Math.PI)*Math.asin(g/e)}if(k<1){return -0.5*(e*Math.pow(2,10*(k-=1))*Math.sin((k*h-j)*(2*Math.PI)/i))+f}return e*Math.pow(2,-10*(k-=1))*Math.sin((k*h-j)*(2*Math.PI)/i)*0.5+g+f},easeInBack:function(i,h,a,e,f,g){if(g==undefined){g=1.70158}return e*(h/=f)*h*((g+1)*h-g)+a},easeOutBack:function(i,h,a,e,f,g){if(g==undefined){g=1.70158}return e*((h=h/f-1)*h*((g+1)*h+g)+1)+a},easeInOutBack:function(i,h,a,e,f,g){if(g==undefined){g=1.70158}if((h/=f/2)<1){return e/2*(h*h*(((g*=(1.525))+1)*h-g))+a}return e/2*((h-=2)*h*(((g*=(1.525))+1)*h+g)+2)+a},easeInBounce:function(h,g,a,e,f){return e-jQuery.easing.easeOutBounce(h,f-g,0,e,f)+a},easeOutBounce:function(h,g,a,e,f){if((g/=f)<(1/2.75)){return e*(7.5625*g*g)+a}else{if(g<(2/2.75)){return e*(7.5625*(g-=(1.5/2.75))*g+0.75)+a}else{if(g<(2.5/2.75)){return e*(7.5625*(g-=(2.25/2.75))*g+0.9375)+a}else{return e*(7.5625*(g-=(2.625/2.75))*g+0.984375)+a}}}},easeInOutBounce:function(h,g,a,e,f){if(g<f/2){return jQuery.easing.easeInBounce(h,g*2,0,e,f)*0.5+a}return jQuery.easing.easeOutBounce(h,g*2-f,0,e,f)*0.5+e*0.5+a}});(function(a){a.fn.transPhoto=function(c){var b=a.extend({},a.fn.transPhoto.defaults,c);return this.each(function(){var e=a(this);var g=b.duration;var h=b.easing;if(b.index){a("li:eq("+b.index+")",e).prependTo(e);b.direction="next"}switch(b.direction){default:case"next":var f=a("li:last",e);var d=f.prev();e.queue(function(){d.css({opacity:0});a(this).dequeue()});e.queue(function(){a(this).append(d);a(this).dequeue()});e.queue(function(){a("li:last",e).animate({opacity:1},g,h,function(){e.prepend(f);e.trigger("complete")});a(this).dequeue()});break;case"prev":var d=a("li:first",e);e.queue(function(){d.css({opacity:0});a(this).dequeue()});e.queue(function(){a(this).append(d);a(this).dequeue()});e.queue(function(){a("li:last",e).animate({opacity:1},g,h,function(){e.trigger("complete")});a(this).dequeue()});break}})};a.fn.transPhoto.defaults={direction:"next",duration:400,easing:"easeInOutQuad"}})(jQuery);(function(a){a.fn.lightBox=function(s){s=jQuery.extend({overlayBgColor:"#000",overlayOpacity:0.8,fixedNavigation:false,imageLoading:"images/lightbox-ico-loading.gif",imageBtnPrev:"images/lightbox-btn-prev.gif",imageBtnNext:"images/lightbox-btn-next.gif",imageBtnClose:"images/lightbox-btn-close.gif",imageBlank:"images/lightbox-blank.gif",containerBorderSize:10,containerResizeSpeed:400,txtImage:"Image",txtOf:"of",keyToClose:"c",keyToPrev:"p",keyToNext:"n",imageArray:[],activeImage:0},s);var r=this;function h(){q(this,r);return false}function q(v,u){a("select").css({visibility:"hidden"});m();s.imageArray.length=0;s.activeImage=0;if(u.length==1){s.imageArray.push(new Array(v.getAttribute("href"),v.getAttribute("title")))}else{for(var t=0;t<u.length;t++){s.imageArray.push(new Array(u[t].getAttribute("href"),u[t].getAttribute("title")))}}while(s.imageArray[s.activeImage][0]!=v.getAttribute("href")){s.activeImage++}l()}function m(){a("body").append('<div id="jquery-overlay"></div><div id="jquery-lightbox"><div id="lightbox-container-image-box"><div id="lightbox-container-image"><img id="lightbox-image"><div style="" id="lightbox-nav"><a href="#" id="lightbox-nav-btnPrev"></a><a href="#" id="lightbox-nav-btnNext"></a></div><div id="lightbox-loading"><a href="#" id="lightbox-loading-link"><img src="'+s.imageLoading+'"></a></div></div></div><div id="lightbox-container-image-data-box"><div id="lightbox-container-image-data"><div id="lightbox-image-details"><span id="lightbox-image-details-caption"></span><span id="lightbox-image-details-currentNumber"></span></div><div id="lightbox-secNav"><a href="#" id="lightbox-secNav-btnClose"><img src="'+s.imageBtnClose+'"></a></div></div></div></div>');var u=c();a("#jquery-overlay").css({backgroundColor:s.overlayBgColor,opacity:s.overlayOpacity,width:u[0],height:u[1]}).fadeIn();var t=b();a("#jquery-lightbox").css({top:t[1]+(u[3]/10),left:t[0]}).show();a("#jquery-overlay,#jquery-lightbox").click(function(){g()});a("#lightbox-loading-link,#lightbox-secNav-btnClose").click(function(){g();return false});a(window).resize(function(){var w=c();a("#jquery-overlay").css({width:w[0],height:w[1]});var v=b();a("#jquery-lightbox").css({top:v[1]+(w[3]/10),left:v[0]})})}function l(){a("#lightbox-loading").show();if(s.fixedNavigation){a("#lightbox-image,#lightbox-container-image-data-box,#lightbox-image-details-currentNumber").hide()}else{a("#lightbox-image,#lightbox-nav,#lightbox-nav-btnPrev,#lightbox-nav-btnNext,#lightbox-container-image-data-box,#lightbox-image-details-currentNumber").hide()}var t=new Image();t.onload=function(){a("#lightbox-image").attr("src",s.imageArray[s.activeImage][0]);k(t.width,t.height);t.onload=function(){}};t.src=s.imageArray[s.activeImage][0]}function k(z,y){var u=a("#lightbox-container-image-box").width();var t=a("#lightbox-container-image-box").height();var A=(z+(s.containerBorderSize*2));var x=(y+(s.containerBorderSize*2));var w=u-A;var v=t-x;a("#lightbox-container-image-box").animate({width:A,height:x},s.containerResizeSpeed,function(){o()});if((w==0)&&(v==0)){if(a.browser.msie){d(250)}else{d(100)}}a("#lightbox-container-image-data-box").css({width:z});a("#lightbox-nav-btnPrev,#lightbox-nav-btnNext").css({height:y+(s.containerBorderSize*2)})}function o(){a("#lightbox-loading").hide();a("#lightbox-image").fadeIn(function(){p();n()});j()}function p(){a("#lightbox-container-image-data-box").slideDown("fast");a("#lightbox-image-details-caption").hide();if(s.imageArray[s.activeImage][1]){a("#lightbox-image-details-caption").html(s.imageArray[s.activeImage][1]).show()}if(s.imageArray.length>1){a("#lightbox-image-details-currentNumber").html(s.txtImage+" "+(s.activeImage+1)+" "+s.txtOf+" "+s.imageArray.length).show()}}function n(){a("#lightbox-nav").show();a("#lightbox-nav-btnPrev,#lightbox-nav-btnNext").css({background:"transparent url("+s.imageBlank+") no-repeat"});if(s.activeImage!=0){if(s.fixedNavigation){a("#lightbox-nav-btnPrev").css({background:"url("+s.imageBtnPrev+") left 15% no-repeat"}).unbind().bind("click",function(){s.activeImage=s.activeImage-1;l();return false})}else{a("#lightbox-nav-btnPrev").unbind().hover(function(){a(this).css({background:"url("+s.imageBtnPrev+") left 15% no-repeat"})},function(){a(this).css({background:"transparent url("+s.imageBlank+") no-repeat"})}).show().bind("click",function(){s.activeImage=s.activeImage-1;l();return false})}}if(s.activeImage!=(s.imageArray.length-1)){if(s.fixedNavigation){a("#lightbox-nav-btnNext").css({background:"url("+s.imageBtnNext+") right 15% no-repeat"}).unbind().bind("click",function(){s.activeImage=s.activeImage+1;l();return false})}else{a("#lightbox-nav-btnNext").unbind().hover(function(){a(this).css({background:"url("+s.imageBtnNext+") right 15% no-repeat"})},function(){a(this).css({background:"transparent url("+s.imageBlank+") no-repeat"})}).show().bind("click",function(){s.activeImage=s.activeImage+1;l();return false})}}f()}function f(){a(document).keydown(function(t){i(t)})}function e(){a(document).unbind()}function i(t){if(t==null){keycode=event.keyCode;escapeKey=27}else{keycode=t.keyCode;escapeKey=t.DOM_VK_ESCAPE}key=String.fromCharCode(keycode).toLowerCase();if((key==s.keyToClose)||(key=="x")||(keycode==escapeKey)){g()}if((key==s.keyToPrev)||(keycode==37)){if(s.activeImage!=0){s.activeImage=s.activeImage-1;l();e()}}if((key==s.keyToNext)||(keycode==39)){if(s.activeImage!=(s.imageArray.length-1)){s.activeImage=s.activeImage+1;l();e()}}}function j(){if((s.imageArray.length-1)>s.activeImage){objNext=new Image();objNext.src=s.imageArray[s.activeImage+1][0]}if(s.activeImage>0){objPrev=new Image();objPrev.src=s.imageArray[s.activeImage-1][0]}}function g(){a("#jquery-lightbox").remove();a("#jquery-overlay").fadeOut(function(){a("#jquery-overlay").remove()});a("select").css({visibility:"visible"})}function c(){var v,w;if(window.innerHeight&&window.scrollMaxY){v=window.innerWidth+window.scrollMaxX;w=window.innerHeight+window.scrollMaxY}else{if(document.body.scrollHeight>document.body.offsetHeight){v=document.body.scrollWidth;w=document.body.scrollHeight}else{v=document.body.offsetWidth;w=document.body.offsetHeight}}var u,t;if(self.innerHeight){if(document.documentElement.clientWidth){u=document.documentElement.clientWidth}else{u=self.innerWidth}t=self.innerHeight}else{if(document.documentElement&&document.documentElement.clientHeight){u=document.documentElement.clientWidth;t=document.documentElement.clientHeight}else{if(document.body){u=document.body.clientWidth;t=document.body.clientHeight}}}if(w<t){pageHeight=t}else{pageHeight=w}if(v<u){pageWidth=v}else{pageWidth=u}arrayPageSize=new Array(pageWidth,pageHeight,u,t);return arrayPageSize}function b(){var t,u;if(self.pageYOffset){u=self.pageYOffset;t=self.pageXOffset}else{if(document.documentElement&&document.documentElement.scrollTop){u=document.documentElement.scrollTop;t=document.documentElement.scrollLeft}else{if(document.body){u=document.body.scrollTop;t=document.body.scrollLeft}}}arrayPageScroll=new Array(t,u);return arrayPageScroll}function d(v){var u=new Date();t=null;do{var t=new Date()}while(t-u<v)}return this.unbind("click").click(h)}})(jQuery);(function(a){a.ui=a.ui||{};a.extend(a.ui,{plugin:{add:function(g,d,e,f){var b=a.ui[g].prototype;if(!b.plugins[d]){b.plugins[d]=[]}b.plugins[d].push([e,f])},call:function(h,j,b){var d=h.plugins[j];if(!d){return}var k=h.interaction?h.interaction.options:h.options;var f=h.interaction?h.interaction.element:h.element;for(var g=0;g<d.length;g++){if(k[d[g][0]]){d[g][1].apply(f,b)}}}}});a.fn.mouseInteractionDestroy=function(){this.each(function(){if(a.data(this,"ui-mouse")){a.data(this,"ui-mouse").destroy()}})};a.ui.mouseInteraction=function(b,c){if(!c){var c={}}this.element=b;a.data(this.element,"ui-mouse",this);this.options={};a.extend(this.options,c);a.extend(this.options,{handle:c.handle?(a(c.handle,b)[0]?a(c.handle,b):a(b)):a(b),helper:c.helper||"original",preventionDistance:c.preventionDistance||0,dragPrevention:c.dragPrevention?c.dragPrevention.toLowerCase().split(","):["input","textarea","button","select","option"],cursorAt:{top:((c.cursorAt&&c.cursorAt.top)?c.cursorAt.top:0),left:((c.cursorAt&&c.cursorAt.left)?c.cursorAt.left:0),bottom:((c.cursorAt&&c.cursorAt.bottom)?c.cursorAt.bottom:0),right:((c.cursorAt&&c.cursorAt.right)?c.cursorAt.right:0)},cursorAtIgnore:(!c.cursorAt)?true:false,appendTo:c.appendTo||"parent"});c=this.options;if(!this.options.nonDestructive&&(c.helper=="clone"||c.helper=="original")){c.margins={top:parseInt(a(b).css("marginTop"))||0,left:parseInt(a(b).css("marginLeft"))||0,bottom:parseInt(a(b).css("marginBottom"))||0,right:parseInt(a(b).css("marginRight"))||0};if(c.cursorAt.top!=0){c.cursorAt.top=c.margins.top}if(c.cursorAt.left!=0){c.cursorAt.left+=c.margins.left}if(c.cursorAt.bottom!=0){c.cursorAt.bottom+=c.margins.bottom}if(c.cursorAt.right!=0){c.cursorAt.right+=c.margins.right}if(c.helper=="original"){c.wasPositioned=a(b).css("position")}}else{c.margins={top:0,left:0,right:0,bottom:0}}var d=this;this.mousedownfunc=function(f){return d.click.apply(d,[f])};c.handle.bind("mousedown",this.mousedownfunc);if(a.browser.msie){a(this.element).attr("unselectable","on")}};a.extend(a.ui.mouseInteraction.prototype,{plugins:{},currentTarget:null,lastTarget:null,timer:null,slowMode:false,init:false,destroy:function(){this.options.handle.unbind("mousedown",this.mousedownfunc)},trigger:function(b){return this.click.apply(this,arguments)},click:function(b){var f=this.options;window.focus();if(b.which!=1){return true}var h=(b.target)?b.target.nodeName.toLowerCase():b.srcElement.nodeName.toLowerCase();for(var c=0;c<f.dragPrevention.length;c++){if(h==f.dragPrevention[c]){return true}}if(f.startCondition&&!f.startCondition.apply(this,[b])){return true}var g=this;this.mouseup=function(i){return g.stop.apply(g,[i])};this.mousemove=function(i){return g.drag.apply(g,[i])};var d=function(){a(document).bind("mouseup",g.mouseup);a(document).bind("mousemove",g.mousemove);g.opos=[b.pageX,b.pageY]};if(f.preventionTimeout){if(this.timer){clearInterval(this.timer)}this.timer=setTimeout(function(){d()},f.preventionTimeout);return false}d();return false},start:function(d){var f=this.options;var b=this.element;f.co=a(b).offset();this.helper=typeof f.helper=="function"?a(f.helper.apply(b,[d,this]))[0]:(f.helper=="clone"?a(b).clone()[0]:b);if(f.appendTo=="parent"){var c=b.parentNode;while(c){if(c.style&&(a(c).css("position")=="relative"||a(c).css("position")=="absolute")){f.pp=c;f.po=a(c).offset();f.ppOverflow=!!(a(f.pp).css("overflow")=="auto"||a(f.pp).css("overflow")=="scroll");break}c=c.parentNode?c.parentNode:null}if(!f.pp){f.po={top:0,left:0}}}this.pos=[this.opos[0],this.opos[1]];this.rpos=[this.pos[0],this.pos[1]];if(f.cursorAtIgnore){f.cursorAt.left=this.pos[0]-f.co.left+f.margins.left;f.cursorAt.top=this.pos[1]-f.co.top+f.margins.top}if(f.pp){this.pos[0]-=f.po.left;this.pos[1]-=f.po.top}this.slowMode=(f.cursorAt&&(f.cursorAt.top-f.margins.top>0||f.cursorAt.bottom-f.margins.bottom>0)&&(f.cursorAt.left-f.margins.left>0||f.cursorAt.right-f.margins.right>0))?true:false;if(!f.nonDestructive){a(this.helper).css("position","absolute")}if(f.helper!="original"){a(this.helper).appendTo((f.appendTo=="parent"?b.parentNode:f.appendTo)).show()}if(f.cursorAt.right&&!f.cursorAt.left){f.cursorAt.left=this.helper.offsetWidth+f.margins.right+f.margins.left-f.cursorAt.right}if(f.cursorAt.bottom&&!f.cursorAt.top){f.cursorAt.top=this.helper.offsetHeight+f.margins.top+f.margins.bottom-f.cursorAt.bottom}this.init=true;if(f._start){f._start.apply(b,[this.helper,this.pos,f.cursorAt,this,d])}this.helperSize={width:a(this.helper).outerWidth(),height:a(this.helper).outerHeight()};return false},stop:function(c){var d=this.options;var b=this.element;var f=this;a(document).unbind("mouseup",f.mouseup);a(document).unbind("mousemove",f.mousemove);if(this.init==false){return this.opos=this.pos=null}if(d._beforeStop){d._beforeStop.apply(b,[this.helper,this.pos,d.cursorAt,this,c])}if(this.helper!=b&&!d.beQuietAtEnd){a(this.helper).remove();this.helper=null}if(!d.beQuietAtEnd){if(d._stop){d._stop.apply(b,[this.helper,this.pos,d.cursorAt,this,c])}}this.init=false;this.opos=this.pos=null;return false},drag:function(b){if(!this.opos||(a.browser.msie&&!b.button)){return this.stop.apply(this,[b])}var c=this.options;this.pos=[b.pageX,b.pageY];if(this.rpos&&this.rpos[0]==this.pos[0]&&this.rpos[1]==this.pos[1]){return false}this.rpos=[this.pos[0],this.pos[1]];if(c.pp){this.pos[0]-=c.po.left;this.pos[1]-=c.po.top}if((Math.abs(this.rpos[0]-this.opos[0])>c.preventionDistance||Math.abs(this.rpos[1]-this.opos[1])>c.preventionDistance)&&this.init==false){this.start.apply(this,[b])}else{if(this.init==false){return false}}if(c._drag){c._drag.apply(this.element,[this.helper,this.pos,c.cursorAt,this,b])}return false}})})(jQuery);(function($){$.extend($.expr[":"],{draggable:"(' '+a.className+' ').indexOf(' ui-draggable ')"});var methods="destroy,enable,disable".split(",");for(var i=0;i<methods.length;i++){var cur=methods[i],f;eval('f = function() { var a = arguments; return this.each(function() { if(jQuery(this).is(".ui-draggable")) jQuery.data(this, "ui-draggable")["'+cur+'"](a); }); }');$.fn["draggable"+cur.substr(0,1).toUpperCase()+cur.substr(1)]=f}$.fn.draggableInstance=function(){if($(this[0]).is(".ui-draggable")){return $.data(this[0],"ui-draggable")}return false};$.fn.draggable=function(o){return this.each(function(){if(!$(this).is(".ui-draggable")){new $.ui.draggable(this,o)}})};$.ui.ddmanager={current:null,droppables:[],prepareOffsets:function(t,e){var dropTop=$.ui.ddmanager.dropTop=[];var dropLeft=$.ui.ddmanager.dropLeft;var m=$.ui.ddmanager.droppables;for(var i=0;i<m.length;i++){if(m[i].item.disabled){continue}m[i].offset=$(m[i].item.element).offset();if(t&&m[i].item.options.accept(t.element)){m[i].item.activate.call(m[i].item,e)}}},fire:function(oDrag,e){var oDrops=$.ui.ddmanager.droppables;var oOvers=$.grep(oDrops,function(oDrop){if(!oDrop.item.disabled&&$.ui.intersect(oDrag,oDrop,oDrop.item.options.tolerance)){oDrop.item.drop.call(oDrop.item,e)}});$.each(oDrops,function(i,oDrop){if(!oDrop.item.disabled&&oDrop.item.options.accept(oDrag.element)){oDrop.out=1;oDrop.over=0;oDrop.item.deactivate.call(oDrop.item,e)}})},update:function(oDrag,e){if(oDrag.options.refreshPositions){$.ui.ddmanager.prepareOffsets()}var oDrops=$.ui.ddmanager.droppables;var oOvers=$.grep(oDrops,function(oDrop){if(oDrop.item.disabled){return false}var isOver=$.ui.intersect(oDrag,oDrop,oDrop.item.options.tolerance);if(!isOver&&oDrop.over==1){oDrop.out=1;oDrop.over=0;oDrop.item.out.call(oDrop.item,e)}return isOver});$.each(oOvers,function(i,oOver){if(oOver.over==0){oOver.out=0;oOver.over=1;oOver.item.over.call(oOver.item,e)}})}};$.ui.draggable=function(el,o){var options={};$.extend(options,o);var self=this;$.extend(options,{_start:function(h,p,c,t,e){self.start.apply(t,[self,e])},_beforeStop:function(h,p,c,t,e){self.stop.apply(t,[self,e])},_drag:function(h,p,c,t,e){self.drag.apply(t,[self,e])},startCondition:function(e){return !(e.target.className.indexOf("ui-resizable-handle")!=-1||self.disabled)}});$.data(el,"ui-draggable",this);if(options.ghosting==true){options.helper="clone"}$(el).addClass("ui-draggable");this.interaction=new $.ui.mouseInteraction(el,options)};$.extend($.ui.draggable.prototype,{plugins:{},currentTarget:null,lastTarget:null,destroy:function(){$(this.interaction.element).removeClass("ui-draggable").removeClass("ui-draggable-disabled");this.interaction.destroy()},enable:function(){$(this.interaction.element).removeClass("ui-draggable-disabled");this.disabled=false},disable:function(){$(this.interaction.element).addClass("ui-draggable-disabled");this.disabled=true},prepareCallbackObj:function(self){return{helper:self.helper,position:{left:self.pos[0],top:self.pos[1]},offset:self.options.cursorAt,draggable:self,options:self.options}},start:function(that,e){var o=this.options;$.ui.ddmanager.current=this;$.ui.plugin.call(that,"start",[e,that.prepareCallbackObj(this)]);$(this.element).triggerHandler("dragstart",[e,that.prepareCallbackObj(this)],o.start);if(this.slowMode&&$.ui.droppable&&!o.dropBehaviour){$.ui.ddmanager.prepareOffsets(this,e)}return false},stop:function(that,e){var o=this.options;$.ui.plugin.call(that,"stop",[e,that.prepareCallbackObj(this)]);$(this.element).triggerHandler("dragstop",[e,that.prepareCallbackObj(this)],o.stop);if(this.slowMode&&$.ui.droppable&&!o.dropBehaviour){$.ui.ddmanager.fire(this,e)}$.ui.ddmanager.current=null;$.ui.ddmanager.last=this;return false},drag:function(that,e){var o=this.options;$.ui.ddmanager.update(this,e);this.pos=[this.pos[0]-o.cursorAt.left,this.pos[1]-o.cursorAt.top];$.ui.plugin.call(that,"drag",[e,that.prepareCallbackObj(this)]);var nv=$(this.element).triggerHandler("drag",[e,that.prepareCallbackObj(this)],o.drag);var nl=(nv&&nv.left)?nv.left:this.pos[0];var nt=(nv&&nv.top)?nv.top:this.pos[1];$(this.helper).css("left",nl+"px").css("top",nt+"px");return false}})})(jQuery);(function(a){a.ui.plugin.add("draggable","stop","effect",function(b,d){var c=d.helper;if(d.options.effect[1]){if(c!=this){d.options.beQuietAtEnd=true;switch(d.options.effect[1]){case"fade":a(c).fadeOut(300,function(){a(this).remove()});break;default:a(c).remove();break}}}});a.ui.plugin.add("draggable","start","effect",function(b,c){if(c.options.effect[0]){switch(c.options.effect[0]){case"fade":a(c.helper).hide().fadeIn(300);break}}});a.ui.plugin.add("draggable","start","cursor",function(b,d){var c=a("body");if(c.css("cursor")){d.options.ocursor=c.css("cursor")}c.css("cursor",d.options.cursor)});a.ui.plugin.add("draggable","stop","cursor",function(b,c){if(c.options.ocursor){a("body").css("cursor",c.options.ocursor)}});a.ui.plugin.add("draggable","start","zIndex",function(b,d){var c=a(d.helper);if(c.css("zIndex")){d.options.ozIndex=c.css("zIndex")}c.css("zIndex",d.options.zIndex)});a.ui.plugin.add("draggable","stop","zIndex",function(b,c){if(c.options.ozIndex){a(c.helper).css("zIndex",c.options.ozIndex)}});a.ui.plugin.add("draggable","start","opacity",function(b,d){var c=a(d.helper);if(c.css("opacity")){d.options.oopacity=c.css("opacity")}c.css("opacity",d.options.opacity)});a.ui.plugin.add("draggable","stop","opacity",function(b,c){if(c.options.oopacity){a(c.helper).css("opacity",c.options.oopacity)}});a.ui.plugin.add("draggable","stop","revert",function(b,i){var f=i.options;var g={left:0,top:0};f.beQuietAtEnd=true;if(i.helper!=this){g=a(i.draggable.sorthelper||this).offset({border:false});var c=g.left-f.po.left-f.margins.left;var d=g.top-f.po.top-f.margins.top}else{var c=f.co.left-(f.po?f.po.left:0);var d=f.co.top-(f.po?f.po.top:0)}var h=i.draggable;a(i.helper).animate({left:c,top:d},500,function(){if(f.wasPositioned){a(h.element).css("position",f.wasPositioned)}if(f.stop){f.stop.apply(h.element,[h.helper,h.pos,[f.co.left-f.po.left,f.co.top-f.po.top],h])}if(h.helper!=h.element){window.setTimeout(function(){a(h.helper).remove()},0)}})});a.ui.plugin.add("draggable","start","iframeFix",function(c,g){var f=g.options;if(!g.draggable.slowMode){if(f.iframeFix.constructor==Array){for(var d=0;d<f.iframeFix.length;d++){var b=a(f.iframeFix[d]).offset({border:false});a("<div class='DragDropIframeFix' style='background: #fff;'></div>").css("width",a(f.iframeFix[d])[0].offsetWidth+"px").css("height",a(f.iframeFix[d])[0].offsetHeight+"px").css("position","absolute").css("opacity","0.001").css("z-index","1000").css("top",b.top+"px").css("left",b.left+"px").appendTo("body")}}else{a("iframe").each(function(){var e=a(this).offset({border:false});a("<div class='DragDropIframeFix' style='background: #fff;'></div>").css("width",this.offsetWidth+"px").css("height",this.offsetHeight+"px").css("position","absolute").css("opacity","0.001").css("z-index","1000").css("top",e.top+"px").css("left",e.left+"px").appendTo("body")})}}});a.ui.plugin.add("draggable","stop","iframeFix",function(b,c){if(c.options.iframeFix){a("div.DragDropIframeFix").each(function(){this.parentNode.removeChild(this)})}});a.ui.plugin.add("draggable","start","containment",function(d,g){var f=g.options;if(!f.cursorAtIgnore||f.containment.left!=undefined||f.containment.constructor==Array){return}if(f.containment=="parent"){f.containment=this.parentNode}if(f.containment=="document"){f.containment=[0-f.margins.left,0-f.margins.top,a(document).width()-f.margins.right,(a(document).height()||document.body.parentNode.scrollHeight)-f.margins.bottom]}else{var b=a(f.containment)[0];var c=a(f.containment).offset({border:false});f.containment=[c.left-f.margins.left,c.top-f.margins.top,c.left+(b.offsetWidth||b.scrollWidth)-f.margins.right,c.top+(b.offsetHeight||b.scrollHeight)-f.margins.bottom]}});a.ui.plugin.add("draggable","drag","containment",function(d,j){var g=j.options;if(!g.cursorAtIgnore){return}var f=a(j.helper);var b=g.containment;if(b.constructor==Array){if((j.draggable.pos[0]<b[0]-g.po.left)){j.draggable.pos[0]=b[0]-g.po.left}if((j.draggable.pos[1]<b[1]-g.po.top)){j.draggable.pos[1]=b[1]-g.po.top}if(j.draggable.pos[0]+f[0].offsetWidth>b[2]-g.po.left){j.draggable.pos[0]=b[2]-g.po.left-f[0].offsetWidth}if(j.draggable.pos[1]+f[0].offsetHeight>b[3]-g.po.top){j.draggable.pos[1]=b[3]-g.po.top-f[0].offsetHeight}}else{if(b.left&&(j.draggable.pos[0]<b.left)){j.draggable.pos[0]=b.left}if(b.top&&(j.draggable.pos[1]<b.top)){j.draggable.pos[1]=b.top}var i=a(g.pp);if(b.right&&j.draggable.pos[0]+f[0].offsetWidth>i[0].offsetWidth-b.right){j.draggable.pos[0]=(i[0].offsetWidth-b.right)-f[0].offsetWidth}if(b.bottom&&j.draggable.pos[1]+f[0].offsetHeight>i[0].offsetHeight-b.bottom){j.draggable.pos[1]=(i[0].offsetHeight-b.bottom)-f[0].offsetHeight}}});a.ui.plugin.add("draggable","drag","grid",function(b,d){var c=d.options;if(!c.cursorAtIgnore){return}d.draggable.pos[0]=c.co.left+c.margins.left-c.po.left+Math.round((d.draggable.pos[0]-c.co.left-c.margins.left+c.po.left)/c.grid[0])*c.grid[0];d.draggable.pos[1]=c.co.top+c.margins.top-c.po.top+Math.round((d.draggable.pos[1]-c.co.top-c.margins.top+c.po.top)/c.grid[1])*c.grid[1]});a.ui.plugin.add("draggable","drag","axis",function(b,d){var c=d.options;if(!c.cursorAtIgnore){return}if(c.constraint){c.axis=c.constraint}c.axis?(c.axis=="x"?d.draggable.pos[1]=c.co.top-c.margins.top-c.po.top:d.draggable.pos[0]=c.co.left-c.margins.left-c.po.left):null});a.ui.plugin.add("draggable","drag","scroll",function(b,d){var c=d.options;c.scrollSensitivity=c.scrollSensitivity||20;c.scrollSpeed=c.scrollSpeed||20;if(c.pp&&c.ppOverflow){}else{if((d.draggable.rpos[1]-a(window).height())-a(document).scrollTop()>-c.scrollSensitivity){window.scrollBy(0,c.scrollSpeed)}if(d.draggable.rpos[1]-a(document).scrollTop()<c.scrollSensitivity){window.scrollBy(0,-c.scrollSpeed)}if((d.draggable.rpos[0]-a(window).width())-a(document).scrollLeft()>-c.scrollSensitivity){window.scrollBy(c.scrollSpeed,0)}if(d.draggable.rpos[0]-a(document).scrollLeft()<c.scrollSensitivity){window.scrollBy(-c.scrollSpeed,0)}}});a.ui.plugin.add("draggable","drag","wrapHelper",function(b,h){var c=h.options;if(c.cursorAtIgnore){return}var g=h.helper;if(!c.pp||!c.ppOverflow){var i=a(window).width()-(a.browser.mozilla?20:0);var d=a(document).scrollLeft();var j=a(window).height();var f=a(document).scrollTop()}else{var i=c.pp.offsetWidth+c.po.left-20;var d=c.pp.scrollLeft;var j=c.pp.offsetHeight+c.po.top-20;var f=c.pp.scrollTop}h.draggable.pos[0]-=((h.draggable.rpos[0]-c.cursorAt.left-i+g.offsetWidth+c.margins.right)-d>0||(h.draggable.rpos[0]-c.cursorAt.left+c.margins.left)-d<0)?(g.offsetWidth+c.margins.left+c.margins.right-c.cursorAt.left*2):0;h.draggable.pos[1]-=((h.draggable.rpos[1]-c.cursorAt.top-j+g.offsetHeight+c.margins.bottom)-f>0||(h.draggable.rpos[1]-c.cursorAt.top+c.margins.top)-f<0)?(g.offsetHeight+c.margins.top+c.margins.bottom-c.cursorAt.top*2):0})})(jQuery);(function($){$.extend($.expr[":"],{droppable:"(' '+a.className+' ').indexOf(' ui-droppable ')"});var methods="destroy,enable,disable".split(",");for(var i=0;i<methods.length;i++){var cur=methods[i],f;eval('f = function() { var a = arguments; return this.each(function() { if(jQuery(this).is(".ui-droppable")) jQuery.data(this, "ui-droppable")["'+cur+'"](a); }); }');$.fn["droppable"+cur.substr(0,1).toUpperCase()+cur.substr(1)]=f}$.fn.droppableInstance=function(){if($(this[0]).is(".ui-droppable")){return $.data(this[0],"ui-droppable")}return false};$.fn.droppable=function(o){return this.each(function(){new $.ui.droppable(this,o)})};$.ui.droppable=function(el,o){if(!o){var o={}}this.element=el;if($.browser.msie){el.droppable=1}$.data(el,"ui-droppable",this);this.options={};$.extend(this.options,o);var accept=o.accept;$.extend(this.options,{accept:o.accept&&o.accept.constructor==Function?o.accept:function(d){return $(d).is(accept)},tolerance:o.tolerance||"intersect"});o=this.options;var self=this;this.mouseBindings=[function(e){return self.move.apply(self,[e])},function(e){return self.drop.apply(self,[e])}];$(this.element).bind("mousemove",this.mouseBindings[0]);$(this.element).bind("mouseup",this.mouseBindings[1]);$.ui.ddmanager.droppables.push({item:this,over:0,out:1});$(this.element).addClass("ui-droppable")};$.extend($.ui.droppable.prototype,{plugins:{},prepareCallbackObj:function(c){return{draggable:c,droppable:this,element:c.element,helper:c.helper,options:this.options}},destroy:function(){$(this.element).removeClass("ui-droppable").removeClass("ui-droppable-disabled");$(this.element).unbind("mousemove",this.mouseBindings[0]);$(this.element).unbind("mouseup",this.mouseBindings[1]);for(var i=0;i<$.ui.ddmanager.droppables.length;i++){if($.ui.ddmanager.droppables[i].item==this){$.ui.ddmanager.droppables.splice(i,1)}}},enable:function(){$(this.element).removeClass("ui-droppable-disabled");this.disabled=false},disable:function(){$(this.element).addClass("ui-droppable-disabled");this.disabled=true},move:function(e){if(!$.ui.ddmanager.current){return}var o=this.options;var c=$.ui.ddmanager.current;var findCurrentTarget=function(e){if(e.currentTarget){return e.currentTarget}var el=e.srcElement;do{if(el.droppable){return el}el=el.parentNode}while(el)};if(c&&o.accept(c.element)){c.currentTarget=findCurrentTarget(e)}c.drag.apply(c,[e]);e.stopPropagation?e.stopPropagation():e.cancelBubble=true},over:function(e){var c=$.ui.ddmanager.current;if(!c||c.element==this.element){return}var o=this.options;if(o.accept(c.element)){$.ui.plugin.call(this,"over",[e,this.prepareCallbackObj(c)]);$(this.element).triggerHandler("dropover",[e,this.prepareCallbackObj(c)],o.over)}},out:function(e){var c=$.ui.ddmanager.current;if(!c||c.element==this.element){return}var o=this.options;if(o.accept(c.element)){$.ui.plugin.call(this,"out",[e,this.prepareCallbackObj(c)]);$(this.element).triggerHandler("dropout",[e,this.prepareCallbackObj(c)],o.out)}},drop:function(e){var c=$.ui.ddmanager.current;if(!c||c.element==this.element){return}var o=this.options;if(o.accept(c.element)){if(o.greedy&&!c.slowMode){if(c.currentTarget==this.element){$.ui.plugin.call(this,"drop",[e,{draggable:c,droppable:this,element:c.element,helper:c.helper}]);$(this.element).triggerHandler("drop",[e,{draggable:c,droppable:this,element:c.element,helper:c.helper}],o.drop)}}else{$.ui.plugin.call(this,"drop",[e,this.prepareCallbackObj(c)]);$(this.element).triggerHandler("drop",[e,this.prepareCallbackObj(c)],o.drop)}}},activate:function(e){var c=$.ui.ddmanager.current;$.ui.plugin.call(this,"activate",[e,this.prepareCallbackObj(c)]);if(c){$(this.element).triggerHandler("dropactivate",[e,this.prepareCallbackObj(c)],this.options.activate)}},deactivate:function(e){var c=$.ui.ddmanager.current;$.ui.plugin.call(this,"deactivate",[e,this.prepareCallbackObj(c)]);if(c){$(this.element).triggerHandler("dropdeactivate",[e,this.prepareCallbackObj(c)],this.options.deactivate)}}});$.ui.intersect=function(oDrag,oDrop,toleranceMode){if(!oDrop.offset){return false}var x1=oDrag.rpos[0]-oDrag.options.cursorAt.left+oDrag.options.margins.left,x2=x1+oDrag.helperSize.width,y1=oDrag.rpos[1]-oDrag.options.cursorAt.top+oDrag.options.margins.top,y2=y1+oDrag.helperSize.height;var l=oDrop.offset.left,r=l+oDrop.item.element.offsetWidth,t=oDrop.offset.top,b=t+oDrop.item.element.offsetHeight;switch(toleranceMode){case"fit":return(l<x1&&x2<r&&t<y1&&y2<b);break;case"intersect":return(l<x1+(oDrag.helperSize.width/2)&&x2-(oDrag.helperSize.width/2)<r&&t<y1+(oDrag.helperSize.height/2)&&y2-(oDrag.helperSize.height/2)<b);break;case"pointer":return(l<oDrag.rpos[0]&&oDrag.rpos[0]<r&&t<oDrag.rpos[1]&&oDrag.rpos[1]<b);break;case"touch":return((l<x1&&x1<r&&t<y1&&y1<b)||(l<x1&&x1<r&&t<y2&&y2<b)||(l<x2&&x2<r&&t<y1&&y1<b)||(l<x2&&x2<r&&t<y2&&y2<b));break;default:return false;break}}})(jQuery);(function(a){a.ui.plugin.add("droppable","activate","activeClass",function(b,c){a(this).addClass(c.options.activeClass)});a.ui.plugin.add("droppable","deactivate","activeClass",function(b,c){a(this).removeClass(c.options.activeClass)});a.ui.plugin.add("droppable","drop","activeClass",function(b,c){a(this).removeClass(c.options.activeClass)});a.ui.plugin.add("droppable","over","hoverClass",function(b,c){a(this).addClass(c.options.hoverClass)});a.ui.plugin.add("droppable","out","hoverClass",function(b,c){a(this).removeClass(c.options.hoverClass)});a.ui.plugin.add("droppable","drop","hoverClass",function(b,c){a(this).removeClass(c.options.hoverClass)})})(jQuery);(function(a){a.ui=a.ui||{};a.fn.tabs=function(b,c){if(b&&b.constructor==Object){c=b;b=null}c=c||{};b=b&&b.constructor==Number&&--b||0;return this.each(function(){new a.ui.tabs(this,a.extend(c,{initial:b}))})};a.each(["Add","Remove","Enable","Disable","Click","Load","Href"],function(b,c){a.fn["tabs"+c]=function(){var d=arguments;return this.each(function(){var e=a.ui.tabs.getInstance(this);e[c.toLowerCase()].apply(e,d)})}});a.fn.tabsSelected=function(){var d=-1;if(this[0]){var c=a.ui.tabs.getInstance(this[0]),b=a("li",this);d=b.index(b.filter("."+c.options.selectedClass)[0])}return d>=0?++d:-1};a.ui.tabs=function(b,c){this.source=b;this.options=a.extend({initial:0,event:"click",disabled:[],cookie:null,unselected:false,unselect:c.unselected?true:false,spinner:"Loading&#8230;",cache:false,idPrefix:"ui-tabs-",ajaxOptions:{},fxSpeed:"normal",add:function(){},remove:function(){},enable:function(){},disable:function(){},click:function(){},hide:function(){},show:function(){},load:function(){},tabTemplate:'<li><a href="#{href}"><span>#{text}</span></a></li>',panelTemplate:"<div></div>",navClass:"ui-tabs-nav",selectedClass:"ui-tabs-selected",unselectClass:"ui-tabs-unselect",disabledClass:"ui-tabs-disabled",panelClass:"ui-tabs-panel",hideClass:"ui-tabs-hide",loadingClass:"ui-tabs-loading"},c);this.options.event+=".ui-tabs";this.options.cookie=a.cookie&&a.cookie.constructor==Function&&this.options.cookie;a.data(b,a.ui.tabs.INSTANCE_KEY,this);this.tabify(true)};a.ui.tabs.INSTANCE_KEY="ui_tabs_instance";a.ui.tabs.getInstance=function(b){return a.data(b,a.ui.tabs.INSTANCE_KEY)};a.extend(a.ui.tabs.prototype,{tabId:function(b){return b.title?b.title.replace(/\s/g,"_"):this.options.idPrefix+a.data(b)},tabify:function(g){this.$lis=a("li:has(a[href])",this.source);this.$tabs=this.$lis.map(function(){return a("a",this)[0]});this.$panels=a([]);var m=this,j=this.options;this.$tabs.each(function(o,n){if(n.hash&&n.hash.replace("#","")){m.$panels=m.$panels.add(n.hash)}else{if(a(n).attr("href")!="#"){a.data(n,"href",n.href);var t=m.tabId(n);n.href="#"+t;m.$panels=m.$panels.add(a("#"+t)[0]||a(j.panelTemplate).attr("id",t).addClass(j.panelClass).insertAfter(m.$panels[o-1]||m.source))}else{j.disabled.push(o+1)}}});if(g){a(this.source).hasClass(j.navClass)||a(this.source).addClass(j.navClass);this.$panels.each(function(){var i=a(this);i.hasClass(j.panelClass)||i.addClass(j.panelClass)});for(var f=0,k;k=j.disabled[f];f++){this.disable(k)}this.$tabs.each(function(t,o){if(location.hash){if(o.hash==location.hash){j.initial=t;if(a.browser.msie||a.browser.opera){var n=a(location.hash),u=n.attr("id");n.attr("id","");setTimeout(function(){n.attr("id",u)},500)}scrollTo(0,0);return false}}else{if(j.cookie){j.initial=parseInt(a.cookie(a.ui.tabs.INSTANCE_KEY+a.data(m.source)))||0;return false}else{if(m.$lis.eq(t).hasClass(j.selectedClass)){j.initial=t;return false}}}});var h=this.$lis.length;while(this.$lis.eq(j.initial).hasClass(j.disabledClass)&&h){j.initial=++j.initial<this.$lis.length?j.initial:0;h--}if(!h){j.unselected=j.unselect=true}this.$panels.addClass(j.hideClass);this.$lis.removeClass(j.selectedClass);if(!j.unselected){this.$panels.eq(j.initial).show().removeClass(j.hideClass);this.$lis.eq(j.initial).addClass(j.selectedClass)}var e=!j.unselected&&a.data(this.$tabs[j.initial],"href");if(e){this.load(j.initial+1,e)}if(!/^click/.test(j.event)){this.$tabs.bind("click",function(i){i.preventDefault()})}}var p={},q=j.fxShowSpeed||j.fxSpeed,b={},c=j.fxHideSpeed||j.fxSpeed;if(j.fxSlide||j.fxFade){if(j.fxSlide){p.height="show";b.height="hide"}if(j.fxFade){p.opacity="show";b.opacity="hide"}}else{if(j.fxShow){p=j.fxShow}else{p["min-width"]=0;q=1}if(j.fxHide){b=j.fxHide}else{b["min-width"]=0;c=1}}var l={display:"",overflow:"",height:""};if(!a.browser.msie){l.opacity=""}function d(o,i,n){i.animate(b,c,function(){i.addClass(j.hideClass).css(l);if(a.browser.msie&&b.opacity){i[0].style.filter=""}j.hide(o,i[0],n&&n[0]||null);if(n){r(o,n,i)}})}function r(o,n,i){if(!(j.fxSlide||j.fxFade||j.fxShow)){n.css("display","block")}n.animate(p,q,function(){n.removeClass(j.hideClass).css(l);if(a.browser.msie&&p.opacity){n[0].style.filter=""}j.show(o,n[0],i&&i[0]||null)})}function s(t,n,i,o){n.addClass(j.selectedClass).siblings().removeClass(j.selectedClass);d(t,i,o)}this.$tabs.unbind(j.event).bind(j.event,function(){var n=a(this).parents("li:eq(0)"),i=m.$panels.filter(":visible"),o=a(this.hash);if((n.hasClass(j.selectedClass)&&!j.unselect)||n.hasClass(j.disabledClass)||j.click(this,o[0],i[0])===false){this.blur();return false}if(j.cookie){a.cookie(a.ui.tabs.INSTANCE_KEY+a.data(m.source),m.$tabs.index(this),j.cookie)}if(j.unselect){if(n.hasClass(j.selectedClass)){n.removeClass(j.selectedClass);m.$panels.stop();d(this,i);this.blur();return false}else{if(!i.length){m.$panels.stop();if(a.data(this,"href")){var t=this;m.load(m.$tabs.index(this)+1,a.data(this,"href"),function(){n.addClass(j.selectedClass).addClass(j.unselectClass);r(t,o)})}else{n.addClass(j.selectedClass).addClass(j.unselectClass);r(this,o)}this.blur();return false}}}m.$panels.stop();if(o.length){if(a.data(this,"href")){var t=this;m.load(m.$tabs.index(this)+1,a.data(this,"href"),function(){s(t,n,i,o)})}else{s(this,n,i,o)}}else{throw"jQuery UI Tabs: Mismatching fragment identifier."}if(a.browser.msie){this.blur()}return false})},add:function(i,h,g){if(i&&h){g=g||this.$tabs.length;var f=this.options,b=a(f.tabTemplate.replace(/#\{href\}/,i).replace(/#\{text\}/,h));var e=i.indexOf("#")==0?i.replace("#",""):this.tabId(a("a:first-child",b)[0]);var c=a("#"+e);c=c.length&&c||a(f.panelTemplate).attr("id",e).addClass(f.panelClass).addClass(f.hideClass);if(g>=this.$lis.length){b.appendTo(this.source);c.appendTo(this.source.parentNode)}else{b.insertBefore(this.$lis[g-1]);c.insertBefore(this.$panels[g-1])}this.tabify();if(this.$tabs.length==1){b.addClass(f.selectedClass);c.removeClass(f.hideClass);var d=a.data(this.$tabs[0],"href");if(d){this.load(g+1,d)}}f.add(this.$tabs[g],this.$panels[g])}else{throw"jQuery UI Tabs: Not enough arguments to add tab."}},remove:function(e){if(e&&e.constructor==Number){var d=this.options,b=this.$lis.eq(e-1).remove(),c=this.$panels.eq(e-1).remove();if(b.hasClass(d.selectedClass)&&this.$tabs.length>1){this.click(e+(e<this.$tabs.length?1:-1))}this.tabify();d.remove(b.end()[0],c[0])}},enable:function(d){var c=this.options,b=this.$lis.eq(d-1);b.removeClass(c.disabledClass);if(a.browser.safari){b.css("display","inline-block");setTimeout(function(){b.css("display","block")},0)}c.enable(this.$tabs[d-1],this.$panels[d-1])},disable:function(c){var b=this.options;this.$lis.eq(c-1).addClass(b.disabledClass);b.disable(this.$tabs[c-1],this.$panels[c-1])},click:function(b){this.$tabs.eq(b-1).trigger(this.options.event)},load:function(i,k,f){var j=this,h=this.options,b=this.$tabs.eq(i-1),d=b[0],c=a("span",d);if(k&&k.constructor==Function){f=k;k=null}if(k){a.data(d,"href",k)}else{k=a.data(d,"href")}if(h.spinner){a.data(d,"title",c.html());c.html("<em>"+h.spinner+"</em>")}var g=function(){j.$tabs.filter("."+h.loadingClass).each(function(){a(this).removeClass(h.loadingClass);if(h.spinner){a("span",this).html(a.data(this,"title"))}});j.xhr=null};var e=a.extend(h.ajaxOptions,{url:k,success:function(l){a(d.hash).html(l);g();if(f&&f.constructor==Function){f()}if(h.cache){a.removeData(d,"href")}h.load(j.$tabs[i-1],j.$panels[i-1])}});if(this.xhr){this.xhr.abort();g()}b.addClass(h.loadingClass);setTimeout(function(){j.xhr=a.ajax(e)},0)},href:function(c,b){a.data(this.$tabs.eq(c-1)[0],"href",b)}})})(jQuery);(function(){var a;a=jQuery.fn.flash=function(f,g,h,i){var d=h||a.replace;g=a.copy(a.pluginOptions,g);if(!a.hasFlash(g.version)){if(g.expressInstall&&a.hasFlash(6,0,65)){var e={flashvars:{MMredirectURL:location,MMplayerType:"PlugIn",MMdoctitle:jQuery("title").text()}}}else{if(g.update){d=i||a.update}else{return this}}}f=a.copy(a.htmlOptions,e,f);return this.each(function(){d.call(this,a.copy(f))})};a.copy=function(){var g={},e={};for(var f=0;f<arguments.length;f++){var d=arguments[f];if(d==undefined){continue}jQuery.extend(g,d);if(d.flashvars==undefined){continue}jQuery.extend(e,d.flashvars)}g.flashvars=e;return g};a.hasFlash=function(){if(/hasFlash\=true/.test(location)){return true}if(/hasFlash\=false/.test(location)){return false}var e=a.hasFlash.playerVersion().match(/\d+/g);var f=String([arguments[0],arguments[1],arguments[2]]).match(/\d+/g)||String(a.pluginOptions.version).match(/\d+/g);for(var d=0;d<3;d++){e[d]=parseInt(e[d]||0);f[d]=parseInt(f[d]||0);if(e[d]<f[d]){return false}if(e[d]>f[d]){return true}}return true};a.hasFlash.playerVersion=function(){try{try{var d=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");try{d.AllowScriptAccess="always"}catch(f){return"6,0,0"}}catch(f){}return new ActiveXObject("ShockwaveFlash.ShockwaveFlash").GetVariable("$version").replace(/\D+/g,",").match(/^,?(.+),?$/)[1]}catch(f){try{if(navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin){return(navigator.plugins["Shockwave Flash 2.0"]||navigator.plugins["Shockwave Flash"]).description.replace(/\D+/g,",").match(/^,?(.+),?$/)[1]}}catch(f){}}return"0,0,0"};a.htmlOptions={height:240,flashvars:{},pluginspage:"http://www.adobe.com/go/getflashplayer",src:"#",type:"application/x-shockwave-flash",width:320};a.pluginOptions={expressInstall:false,update:true,version:"6.0.65"};a.replace=function(d){this.innerHTML='<div class="alt">'+this.innerHTML+"</div>";jQuery(this).addClass("flash-replaced").prepend(a.transform(d))};a.update=function(d){var f=String(location).split("?");f.splice(1,0,"?hasFlash=true&");f=f.join("");var e='<p>This content requires the Flash Player. <a href="http://www.adobe.com/go/getflashplayer">Download Flash Player</a>. Already have Flash Player? <a href="'+f+'">Click here.</a></p>';this.innerHTML='<span class="alt">'+this.innerHTML+"</span>";jQuery(this).addClass("flash-update").prepend(e)};function b(){var e="";for(var d in this){if(typeof this[d]!="function"){e+=d+'="'+this[d]+'" '}}return e}function c(){var e="";for(var d in this){if(typeof this[d]!="function"){e+=d+"="+encodeURIComponent(this[d])+"&"}}return e.replace(/&$/,"")}a.transform=function(d){d.toString=b;if(d.flashvars){d.flashvars.toString=c}return"<embed "+String(d)+"/>"};if(window.attachEvent){window.attachEvent("onbeforeunload",function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){}})}})();