(function(av,az){function i(t,c,E){if(E===az&&t.nodeType===1){E=t.getAttribute("data-"+c);if(typeof E==="string"){try{E=E==="true"?true:E==="false"?false:E==="null"?null:!O.isNaN(E)?parseFloat(E):Q.test(E)?O.parseJSON(E):E}catch(B){}O.data(t,c,E)}else{E=az}}return E}function ak(){return false}function I(){return true}function aX(t,c,B){B[0].type=t;return O.event.handle.apply(c,B)}function z(aa){var X,W,V,U,T,P,S,E,Z,c,B,t=[];U=[];T=O.data(this,this.nodeType?"events":"__events__");if(typeof T==="function"){T=T.events}if(!(aa.liveFired===this||!T||!T.live||aa.button&&aa.type==="click")){if(aa.namespace){B=RegExp("(^|\\.)"+aa.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)")}aa.liveFired=this;var Y=T.live.slice(0);for(S=0;S<Y.length;S++){T=Y[S];T.origType.replace(ah,"")===aa.type?U.push(T.selector):Y.splice(S--,1)}U=O(aa.target).closest(U,aa.currentTarget);E=0;for(Z=U.length;E<Z;E++){c=U[E];for(S=0;S<Y.length;S++){T=Y[S];if(c.selector===T.selector&&(!B||B.test(T.namespace))){P=c.elem;V=null;if(T.preType==="mouseenter"||T.preType==="mouseleave"){aa.type=T.preType;V=O(aa.relatedTarget).closest(T.selector)[0]}if(!V||V!==P){t.push({elem:P,handleObj:T,level:c.level})}}}}E=0;for(Z=t.length;E<Z;E++){U=t[E];if(W&&U.level>W){break}aa.currentTarget=U.elem;aa.data=U.handleObj.data;aa.handleObj=U.handleObj;B=U.handleObj.origHandler.apply(U.elem,arguments);if(B===false||aa.isPropagationStopped()){W=U.level;if(B===false){X=false}if(aa.isImmediatePropagationStopped()){break}}}return X}}function ag(t,c){return(t&&t!=="*"?t+".":"")+c.replace(m,"`").replace(a1,"&")}function aK(t,c,E){if(O.isFunction(c)){return O.grep(t,function(S,P){return !!c.call(S,P,S)===E})}else{if(c.nodeType){return O.grep(t,function(P){return P===c===E})}else{if(typeof c==="string"){var B=O.grep(t,function(P){return P.nodeType===1});if(aP.test(c)){return O.filter(c,B,!E)}else{c=O.filter(c,B)}}}}return O.grep(t,function(P){return O.inArray(P,c)>=0===E})}function aw(t,c){var B=0;c.each(function(){if(this.nodeName===(t[B]&&t[B].nodeName)){var T=O.data(t[B++]),S=O.data(this,T);if(T=T&&T.events){delete S.handle;S.events={};for(var P in T){for(var E in T[P]){O.event.add(this,P,T[P][E],T[P][E].data)}}}}})}function aC(t,c){c.src?O.ajax({url:c.src,async:false,dataType:"script"}):O.globalEval(c.text||c.textContent||c.innerHTML||"");c.parentNode&&c.parentNode.removeChild(c)}function N(t,c,E){var B=c==="width"?t.offsetWidth:t.offsetHeight;if(E==="border"){return B}O.each(c==="width"?ad:D,function(){E||(B-=parseFloat(O.css(t,"padding"+this))||0);if(E==="margin"){B+=parseFloat(O.css(t,"margin"+this))||0}else{B-=parseFloat(O.css(t,"border"+this+"Width"))||0}});return B}function s(t,c,E,B){if(O.isArray(c)&&c.length){O.each(c,function(S,P){E||p.test(t)?B(t,P):s(t+"["+(typeof P==="object"||O.isArray(P)?S:"")+"]",P,E,B)})}else{if(!E&&c!=null&&typeof c==="object"){O.isEmptyObject(c)?B(t,""):O.each(c,function(S,P){s(t+"["+S+"]",P,E,B)})}else{B(t,c)}}}function am(t,c){var B={};O.each(y.concat.apply([],y.slice(0,c)),function(){B[this]=t});return B}function l(t){if(!g[t]){var c=O("<"+t+">").appendTo("body"),B=c.css("display");c.remove();if(B==="none"||B===""){B="block"}g[t]=B}return g[t]}function aU(c){return O.isWindow(c)?c:c.nodeType===9?c.defaultView||c.parentWindow:false}var G=av.document,O=function(){function bh(){if(!bg.isReady){try{G.documentElement.doScroll("left")}catch(bi){setTimeout(bh,1);return}bg.ready()}}var bg=function(bi,bj){return new bg.fn.init(bi,bj)},bf=av.jQuery,be=av.$,bd,bb=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]+)$)/,a8=/\S/,a9=/^\s+/,a5=/\s+$/,V=/\W/,ab=/\d/,a4=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,aa=/^[\],:{}\s]*$/,T=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,W=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,U=/(?:^|:|,)(?:\s*\[)+/g,P=/(webkit)[ \/]([\w.]+)/,bc=/(opera)(?:.*version)?[ \/]([\w.]+)/,ba=/(msie) ([\w.]+)/,a6=/(mozilla)(?:.*? rv:([\w.]+))?/,a7=navigator.userAgent,a3=false,a2=[],Y,S=Object.prototype.toString,X=Object.prototype.hasOwnProperty,E=Array.prototype.push,B=Array.prototype.slice,t=String.prototype.trim,Z=Array.prototype.indexOf,c={};bg.fn=bg.prototype={init:function(bj,bl){var bi,bm,bk;if(!bj){return this}if(bj.nodeType){this.context=this[0]=bj;this.length=1;return this}if(bj==="body"&&!bl&&G.body){this.context=G;this[0]=G.body;this.selector="body";this.length=1;return this}if(typeof bj==="string"){if((bi=bb.exec(bj))&&(bi[1]||!bl)){if(bi[1]){bk=bl?bl.ownerDocument||bl:G;if(bm=a4.exec(bj)){if(bg.isPlainObject(bl)){bj=[G.createElement(bm[1])];bg.fn.attr.call(bj,bl,true)}else{bj=[bk.createElement(bm[1])]}}else{bm=bg.buildFragment([bi[1]],[bk]);bj=(bm.cacheable?bm.fragment.cloneNode(true):bm.fragment).childNodes}return bg.merge(this,bj)}else{if((bm=G.getElementById(bi[2]))&&bm.parentNode){if(bm.id!==bi[2]){return bd.find(bj)}this.length=1;this[0]=bm}this.context=G;this.selector=bj;return this}}else{if(!bl&&!V.test(bj)){this.selector=bj;this.context=G;bj=G.getElementsByTagName(bj);return bg.merge(this,bj)}else{return !bl||bl.jquery?(bl||bd).find(bj):bg(bl).find(bj)}}}else{if(bg.isFunction(bj)){return bd.ready(bj)}}if(bj.selector!==az){this.selector=bj.selector;this.context=bj.context}return bg.makeArray(bj,this)},selector:"",jquery:"1.4.4",length:0,size:function(){return this.length},toArray:function(){return B.call(this,0)},get:function(bi){return bi==null?this.toArray():bi<0?this.slice(bi)[0]:this[bi]},pushStack:function(bj,bk,bi){var bl=bg();bg.isArray(bj)?E.apply(bl,bj):bg.merge(bl,bj);bl.prevObject=this;bl.context=this.context;if(bk==="find"){bl.selector=this.selector+(this.selector?" ":"")+bi}else{if(bk){bl.selector=this.selector+"."+bk+"("+bi+")"}}return bl},each:function(bi,bj){return bg.each(this,bi,bj)},ready:function(bi){bg.bindReady();if(bg.isReady){bi.call(G,bg)}else{a2&&a2.push(bi)}return this},eq:function(bi){return bi===-1?this.slice(bi):this.slice(bi,+bi+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(B.apply(this,arguments),"slice",B.call(arguments).join(","))},map:function(bi){return this.pushStack(bg.map(this,function(bk,bj){return bi.call(bk,bj,bk)}))},end:function(){return this.prevObject||bg(null)},push:E,sort:[].sort,splice:[].splice};bg.fn.init.prototype=bg.fn;bg.extend=bg.fn.extend=function(){var bi,bq,bn,bk,bm,bo=arguments[0]||{},bl=1,bj=arguments.length,bp=false;if(typeof bo==="boolean"){bp=bo;bo=arguments[1]||{};bl=2}if(typeof bo!=="object"&&!bg.isFunction(bo)){bo={}}if(bj===bl){bo=this;--bl}for(;bl<bj;bl++){if((bi=arguments[bl])!=null){for(bq in bi){bn=bo[bq];bk=bi[bq];if(bo!==bk){if(bp&&bk&&(bg.isPlainObject(bk)||(bm=bg.isArray(bk)))){if(bm){bm=false;bn=bn&&bg.isArray(bn)?bn:[]}else{bn=bn&&bg.isPlainObject(bn)?bn:{}}bo[bq]=bg.extend(bp,bn,bk)}else{if(bk!==az){bo[bq]=bk}}}}}}return bo};bg.extend({noConflict:function(bi){av.$=be;if(bi){av.jQuery=bf}return bg},isReady:false,readyWait:1,ready:function(bj){bj===true&&bg.readyWait--;if(!bg.readyWait||bj!==true&&!bg.isReady){if(!G.body){return setTimeout(bg.ready,1)}bg.isReady=true;if(!(bj!==true&&--bg.readyWait>0)){if(a2){var bk=0,bi=a2;for(a2=null;bj=bi[bk++];){bj.call(G,bg)}bg.fn.trigger&&bg(G).trigger("ready").unbind("ready")}}}},bindReady:function(){if(!a3){a3=true;if(G.readyState==="complete"){return setTimeout(bg.ready,1)}if(G.addEventListener){G.addEventListener("DOMContentLoaded",Y,false);av.addEventListener("load",bg.ready,false)}else{if(G.attachEvent){G.attachEvent("onreadystatechange",Y);av.attachEvent("onload",bg.ready);var bi=false;try{bi=av.frameElement==null}catch(bj){}G.documentElement.doScroll&&bi&&bh()}}}},isFunction:function(bi){return bg.type(bi)==="function"},isArray:Array.isArray||function(bi){return bg.type(bi)==="array"},isWindow:function(bi){return bi&&typeof bi==="object"&&"setInterval" in bi},isNaN:function(bi){return bi==null||!ab.test(bi)||isNaN(bi)},type:function(bi){return bi==null?String(bi):c[S.call(bi)]||"object"},isPlainObject:function(bi){if(!bi||bg.type(bi)!=="object"||bi.nodeType||bg.isWindow(bi)){return false}if(bi.constructor&&!X.call(bi,"constructor")&&!X.call(bi.constructor.prototype,"isPrototypeOf")){return false}for(var bj in bi){}return bj===az||X.call(bi,bj)},isEmptyObject:function(bi){for(var bj in bi){return false}return true},error:function(bi){throw bi},parseJSON:function(bi){if(typeof bi!=="string"||!bi){return null}bi=bg.trim(bi);if(aa.test(bi.replace(T,"@").replace(W,"]").replace(U,""))){return av.JSON&&av.JSON.parse?av.JSON.parse(bi):(new Function("return "+bi))()}else{bg.error("Invalid JSON: "+bi)}},noop:function(){},globalEval:function(bj){if(bj&&a8.test(bj)){var bk=G.getElementsByTagName("head")[0]||G.documentElement,bi=G.createElement("script");bi.type="text/javascript";if(bg.support.scriptEval){bi.appendChild(G.createTextNode(bj))}else{bi.text=bj}bk.insertBefore(bi,bk.firstChild);bk.removeChild(bi)}},nodeName:function(bi,bj){return bi.nodeName&&bi.nodeName.toUpperCase()===bj.toUpperCase()},each:function(bk,bn,bj){var bo,bl=0,bm=bk.length,bi=bm===az||bg.isFunction(bk);if(bj){if(bi){for(bo in bk){if(bn.apply(bk[bo],bj)===false){break}}}else{for(;bl<bm;){if(bn.apply(bk[bl++],bj)===false){break}}}}else{if(bi){for(bo in bk){if(bn.call(bk[bo],bo,bk[bo])===false){break}}}else{for(bj=bk[0];bl<bm&&bn.call(bj,bl,bj)!==false;bj=bk[++bl]){}}}return bk},trim:t?function(bi){return bi==null?"":t.call(bi)}:function(bi){return bi==null?"":bi.toString().replace(a9,"").replace(a5,"")},makeArray:function(bj,bk){var bi=bk||[];if(bj!=null){var bl=bg.type(bj);bj.length==null||bl==="string"||bl==="function"||bl==="regexp"||bg.isWindow(bj)?E.call(bi,bj):bg.merge(bi,bj)}return bi},inArray:function(bj,bk){if(bk.indexOf){return bk.indexOf(bj)}for(var bi=0,bl=bk.length;bi<bl;bi++){if(bk[bi]===bj){return bi}}return -1},merge:function(bj,bl){var bi=bj.length,bm=0;if(typeof bl.length==="number"){for(var bk=bl.length;bm<bk;bm++){bj[bi++]=bl[bm]}}else{for(;bl[bm]!==az;){bj[bi++]=bl[bm++]}}bj.length=bi;return bj},grep:function(bk,bn,bj){var bo=[],bl;bj=!!bj;for(var bm=0,bi=bk.length;bm<bi;bm++){bl=!!bn(bk[bm],bm);bj!==bl&&bo.push(bk[bm])}return bo},map:function(bk,bn,bj){for(var bo=[],bl,bm=0,bi=bk.length;bm<bi;bm++){bl=bn(bk[bm],bm,bj);if(bl!=null){bo[bo.length]=bl}}return bo.concat.apply([],bo)},guid:1,proxy:function(bj,bk,bi){if(arguments.length===2){if(typeof bk==="string"){bi=bj;bj=bi[bk];bk=az}else{if(bk&&!bg.isFunction(bk)){bi=bk;bk=az}}}if(!bk&&bj){bk=function(){return bj.apply(bi||this,arguments)}}if(bj){bk.guid=bj.guid=bj.guid||bk.guid||bg.guid++}return bk},access:function(bk,bn,bj,bp,bl,bm){var bi=bk.length;if(typeof bn==="object"){for(var bo in bn){bg.access(bk,bo,bn[bo],bp,bl,bj)}return bk}if(bj!==az){bp=!bm&&bp&&bg.isFunction(bj);for(bo=0;bo<bi;bo++){bl(bk[bo],bn,bp?bj.call(bk[bo],bo,bl(bk[bo],bn)):bj,bm)}return bk}return bi?bl(bk[0],bn):az},now:function(){return(new Date).getTime()},uaMatch:function(bi){bi=bi.toLowerCase();bi=P.exec(bi)||bc.exec(bi)||ba.exec(bi)||bi.indexOf("compatible")<0&&a6.exec(bi)||[];return{browser:bi[1]||"",version:bi[2]||"0"}},browser:{}});bg.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(bi,bj){c["[object "+bj+"]"]=bj.toLowerCase()});a7=bg.uaMatch(a7);if(a7.browser){bg.browser[a7.browser]=true;bg.browser.version=a7.version}if(bg.browser.webkit){bg.browser.safari=true}if(Z){bg.inArray=function(bi,bj){return Z.call(bj,bi)}}if(!/\s/.test("\u00a0")){a9=/^[\s\xA0]+/;a5=/[\s\xA0]+$/}bd=bg(G);if(G.addEventListener){Y=function(){G.removeEventListener("DOMContentLoaded",Y,false);bg.ready()}}else{if(G.attachEvent){Y=function(){if(G.readyState==="complete"){G.detachEvent("onreadystatechange",Y);bg.ready()}}}}return av.jQuery=av.$=bg}();(function(){O.support={};var X=G.documentElement,V=G.createElement("script"),U=G.createElement("div"),T="script"+O.now();U.style.display="none";U.innerHTML="   <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";var S=U.getElementsByTagName("*"),P=U.getElementsByTagName("a")[0],B=G.createElement("select"),E=B.appendChild(G.createElement("option"));if(!(!S||!S.length||!P)){O.support={leadingWhitespace:U.firstChild.nodeType===3,tbody:!U.getElementsByTagName("tbody").length,htmlSerialize:!!U.getElementsByTagName("link").length,style:/red/.test(P.getAttribute("style")),hrefNormalized:P.getAttribute("href")==="/a",opacity:/^0.55$/.test(P.style.opacity),cssFloat:!!P.style.cssFloat,checkOn:U.getElementsByTagName("input")[0].value==="on",optSelected:E.selected,deleteExpando:true,optDisabled:false,checkClone:false,scriptEval:false,noCloneEvent:true,boxModel:null,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableHiddenOffsets:true};B.disabled=true;O.support.optDisabled=!E.disabled;V.type="text/javascript";try{V.appendChild(G.createTextNode("window."+T+"=1;"))}catch(t){}X.insertBefore(V,X.firstChild);if(av[T]){O.support.scriptEval=true;delete av[T]}try{delete V.test}catch(W){O.support.deleteExpando=false}X.removeChild(V);if(U.attachEvent&&U.fireEvent){U.attachEvent("onclick",function c(){O.support.noCloneEvent=false;U.detachEvent("onclick",c)});U.cloneNode(true).fireEvent("onclick")}U=G.createElement("div");U.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";X=G.createDocumentFragment();X.appendChild(U.firstChild);O.support.checkClone=X.cloneNode(true).cloneNode(true).lastChild.checked;O(function(){var Z=G.createElement("div");Z.style.width=Z.style.paddingLeft="1px";G.body.appendChild(Z);O.boxModel=O.support.boxModel=Z.offsetWidth===2;if("zoom" in Z.style){Z.style.display="inline";Z.style.zoom=1;O.support.inlineBlockNeedsLayout=Z.offsetWidth===2;Z.style.display="";Z.innerHTML="<div style='width:4px;'></div>";O.support.shrinkWrapBlocks=Z.offsetWidth!==2}Z.innerHTML="<table><tr><td style='padding:0;display:none'></td><td>t</td></tr></table>";var Y=Z.getElementsByTagName("td");O.support.reliableHiddenOffsets=Y[0].offsetHeight===0;Y[0].style.display="";Y[1].style.display="none";O.support.reliableHiddenOffsets=O.support.reliableHiddenOffsets&&Y[0].offsetHeight===0;Z.innerHTML="";G.body.removeChild(Z).style.display="none"});X=function(Z){var Y=G.createElement("div");Z="on"+Z;var aa=Z in Y;if(!aa){Y.setAttribute(Z,"return;");aa=typeof Y[Z]==="function"}return aa};O.support.submitBubbles=X("submit");O.support.changeBubbles=X("change");X=V=U=S=P=null}})();var a0={},Q=/^(?:\{.*\}|\[.*\])$/;O.extend({cache:{},uuid:0,expando:"jQuery"+O.now(),noData:{embed:true,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:true},data:function(t,c,S){if(O.acceptData(t)){t=t==av?a0:t;var P=t.nodeType,E=P?t[O.expando]:null,B=O.cache;if(!(P&&!E&&typeof c==="string"&&S===az)){if(P){E||(t[O.expando]=E=++O.uuid)}else{B=t}if(typeof c==="object"){if(P){B[E]=O.extend(B[E],c)}else{O.extend(B,c)}}else{if(P&&!B[E]){B[E]={}}}t=P?B[E]:B;if(S!==az){t[c]=S}return typeof c==="string"?t[c]:t}}},removeData:function(B,c){if(O.acceptData(B)){B=B==av?a0:B;var T=B.nodeType,S=T?B[O.expando]:B,P=O.cache,E=T?P[S]:S;if(c){if(E){delete E[c];T&&O.isEmptyObject(E)&&O.removeData(B)}}else{if(T&&O.support.deleteExpando){delete B[O.expando]}else{if(B.removeAttribute){B.removeAttribute(O.expando)}else{if(T){delete P[S]}else{for(var t in B){delete B[t]}}}}}}},acceptData:function(t){if(t.nodeName){var c=O.noData[t.nodeName.toLowerCase()];if(c){return !(c===true||t.getAttribute("classid")!==c)}}return true}});O.fn.extend({data:function(B,c){var U=null;if(typeof B==="undefined"){if(this.length){var T=this[0].attributes,S;U=O.data(this[0]);for(var P=0,t=T.length;P<t;P++){S=T[P].name;if(S.indexOf("data-")===0){S=S.substr(5);i(this[0],S,U[S])}}}return U}else{if(typeof B==="object"){return this.each(function(){O.data(this,B)})}}var E=B.split(".");E[1]=E[1]?"."+E[1]:"";if(c===az){U=this.triggerHandler("getData"+E[1]+"!",[E[0]]);if(U===az&&this.length){U=O.data(this[0],B);U=i(this[0],B,U)}return U===az&&E[1]?this.data(E[0]):U}else{return this.each(function(){var W=O(this),V=[E[0],c];W.triggerHandler("setData"+E[1]+"!",V);O.data(this,B,c);W.triggerHandler("changeData"+E[1]+"!",V)})}},removeData:function(c){return this.each(function(){O.removeData(this,c)})}});O.extend({queue:function(t,c,E){if(t){c=(c||"fx")+"queue";var B=O.data(t,c);if(!E){return B||[]}if(!B||O.isArray(E)){B=O.data(t,c,O.makeArray(E))}else{B.push(E)}return B}},dequeue:function(t,c){c=c||"fx";var E=O.queue(t,c),B=E.shift();if(B==="inprogress"){B=E.shift()}if(B){c==="fx"&&E.unshift("inprogress");B.call(t,function(){O.dequeue(t,c)})}}});O.fn.extend({queue:function(t,c){if(typeof t!=="string"){c=t;t="fx"}if(c===az){return O.queue(this[0],t)}return this.each(function(){var B=O.queue(this,t,c);t==="fx"&&B[0]!=="inprogress"&&O.dequeue(this,t)})},dequeue:function(c){return this.each(function(){O.dequeue(this,c)})},delay:function(t,c){t=O.fx?O.fx.speeds[t]||t:t;c=c||"fx";return this.queue(c,function(){var B=this;setTimeout(function(){O.dequeue(B,c)},t)})},clearQueue:function(c){return this.queue(c||"fx",[])}});var aO=/[\n\t]/g,ar=/\s+/,d=/\r/g,aR=/^(?:href|src|style)$/,aE=/^(?:button|input)$/i,af=/^(?:button|input|object|select|textarea)$/i,F=/^a(?:rea)?$/i,aB=/^(?:radio|checkbox)$/i;O.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};O.fn.extend({attr:function(t,c){return O.access(this,t,c,true,O.attr)},removeAttr:function(c){return this.each(function(){O.attr(this,c,"");this.nodeType===1&&this.removeAttribute(c)})},addClass:function(V){if(O.isFunction(V)){return this.each(function(W){var X=O(this);X.addClass(V.call(this,W,X.attr("class")))})}if(V&&typeof V==="string"){for(var U=(V||"").split(ar),T=0,S=this.length;T<S;T++){var P=this[T];if(P.nodeType===1){if(P.className){for(var E=" "+P.className+" ",t=P.className,B=0,c=U.length;B<c;B++){if(E.indexOf(" "+U[B]+" ")<0){t+=" "+U[B]}}P.className=O.trim(t)}else{P.className=V}}}}return this},removeClass:function(B){if(O.isFunction(B)){return this.each(function(W){var V=O(this);V.removeClass(B.call(this,W,V.attr("class")))})}if(B&&typeof B==="string"||B===az){for(var c=(B||"").split(ar),U=0,T=this.length;U<T;U++){var S=this[U];if(S.nodeType===1&&S.className){if(B){for(var P=(" "+S.className+" ").replace(aO," "),t=0,E=c.length;t<E;t++){P=P.replace(" "+c[t]+" "," ")}S.className=O.trim(P)}else{S.className=""}}}}return this},toggleClass:function(t,c){var E=typeof t,B=typeof c==="boolean";if(O.isFunction(t)){return this.each(function(S){var P=O(this);P.toggleClass(t.call(this,S,P.attr("class"),c),c)})}return this.each(function(){if(E==="string"){for(var U,T=0,P=O(this),S=c,V=t.split(ar);U=V[T++];){S=B?S:!P.hasClass(U);P[S?"addClass":"removeClass"](U)}}else{if(E==="undefined"||E==="boolean"){this.className&&O.data(this,"__className__",this.className);this.className=this.className||t===false?"":O.data(this,"__className__")||""}}})},hasClass:function(t){t=" "+t+" ";for(var c=0,B=this.length;c<B;c++){if((" "+this[c].className+" ").replace(aO," ").indexOf(t)>-1){return true}}return false},val:function(B){if(!arguments.length){var c=this[0];if(c){if(O.nodeName(c,"option")){var U=c.attributes.value;return !U||U.specified?c.value:c.text}if(O.nodeName(c,"select")){var T=c.selectedIndex;U=[];var S=c.options;c=c.type==="select-one";if(T<0){return null}var P=c?T:0;for(T=c?T+1:S.length;P<T;P++){var t=S[P];if(t.selected&&(O.support.optDisabled?!t.disabled:t.getAttribute("disabled")===null)&&(!t.parentNode.disabled||!O.nodeName(t.parentNode,"optgroup"))){B=O(t).val();if(c){return B}U.push(B)}}return U}if(aB.test(c.type)&&!O.support.checkOn){return c.getAttribute("value")===null?"on":c.value}return(c.value||"").replace(d,"")}return az}var E=O.isFunction(B);return this.each(function(Y){var W=O(this),X=B;if(this.nodeType===1){if(E){X=B.call(this,Y,W.val())}if(X==null){X=""}else{if(typeof X==="number"){X+=""}else{if(O.isArray(X)){X=O.map(X,function(Z){return Z==null?"":Z+""})}}}if(O.isArray(X)&&aB.test(this.type)){this.checked=O.inArray(W.val(),X)>=0}else{if(O.nodeName(this,"select")){var V=O.makeArray(X);O("option",this).each(function(){this.selected=O.inArray(O(this).val(),V)>=0});if(!V.length){this.selectedIndex=-1}}else{this.value=X}}}})}});O.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(t,c,S,P){if(!t||t.nodeType===3||t.nodeType===8){return az}if(P&&c in O.attrFn){return O(t)[c](S)}P=t.nodeType!==1||!O.isXMLDoc(t);var E=S!==az;c=P&&O.props[c]||c;var B=aR.test(c);if((c in t||t[c]!==az)&&P&&!B){if(E){c==="type"&&aE.test(t.nodeName)&&t.parentNode&&O.error("type property can't be changed");if(S===null){t.nodeType===1&&t.removeAttribute(c)}else{t[c]=S}}if(O.nodeName(t,"form")&&t.getAttributeNode(c)){return t.getAttributeNode(c).nodeValue}if(c==="tabIndex"){return(c=t.getAttributeNode("tabIndex"))&&c.specified?c.value:af.test(t.nodeName)||F.test(t.nodeName)&&t.href?0:az}return t[c]}if(!O.support.style&&P&&c==="style"){if(E){t.style.cssText=""+S}return t.style.cssText}E&&t.setAttribute(c,""+S);if(!t.attributes[c]&&t.hasAttribute&&!t.hasAttribute(c)){return az}t=!O.support.hrefNormalized&&P&&B?t.getAttribute(c,2):t.getAttribute(c);return t===null?az:t}});var ah=/\.(.*)$/,K=/^(?:textarea|input|select)$/i,m=/\./g,a1=/ /g,q=/[^\w\s.|`]/g,e=function(c){return c.replace(q,"\\$&")},ac={focusin:0,focusout:0};O.event={add:function(Z,X,W,V){if(!(Z.nodeType===3||Z.nodeType===8)){if(O.isWindow(Z)&&Z!==av&&!Z.frameElement){Z=av}if(W===false){W=ak}else{if(!W){return}}var U,T;if(W.handler){U=W;W=U.handler}if(!W.guid){W.guid=O.guid++}if(T=O.data(Z)){var P=Z.nodeType?"events":"__events__",S=T[P],E=T.handle;if(typeof S==="function"){E=S.handle;S=S.events}else{if(!S){Z.nodeType||(T[P]=T=function(){});T.events=S={}}}if(!E){T.handle=E=function(){return typeof O!=="undefined"&&!O.event.triggered?O.event.handle.apply(E.elem,arguments):az}}E.elem=Z;X=X.split(" ");for(var Y=0,c;P=X[Y++];){T=U?O.extend({},U):{handler:W,data:V};if(P.indexOf(".")>-1){c=P.split(".");P=c.shift();T.namespace=c.slice(0).sort().join(".")}else{c=[];T.namespace=""}T.type=P;if(!T.guid){T.guid=W.guid}var B=S[P],t=O.event.special[P]||{};if(!B){B=S[P]=[];if(!t.setup||t.setup.call(Z,V,c,E)===false){if(Z.addEventListener){Z.addEventListener(P,E,false)}else{Z.attachEvent&&Z.attachEvent("on"+P,E)}}}if(t.add){t.add.call(Z,T);if(!T.handler.guid){T.handler.guid=W.guid}}B.push(T);O.event.global[P]=true}Z=null}}},global:{},remove:function(aa,X,W,V){if(!(aa.nodeType===3||aa.nodeType===8)){if(W===false){W=ak}var U,T,P=0,S,E,Z,c,B,t,Y=aa.nodeType?"events":"__events__",a2=O.data(aa),ab=a2&&a2[Y];if(a2&&ab){if(typeof ab==="function"){a2=ab;ab=ab.events}if(X&&X.type){W=X.handler;X=X.type}if(!X||typeof X==="string"&&X.charAt(0)==="."){X=X||"";for(U in ab){O.event.remove(aa,U+X)}}else{for(X=X.split(" ");U=X[P++];){c=U;S=U.indexOf(".")<0;E=[];if(!S){E=U.split(".");U=E.shift();Z=RegExp("(^|\\.)"+O.map(E.slice(0).sort(),e).join("\\.(?:.*\\.)?")+"(\\.|$)")}if(B=ab[U]){if(W){c=O.event.special[U]||{};for(T=V||0;T<B.length;T++){t=B[T];if(W.guid===t.guid){if(S||Z.test(t.namespace)){V==null&&B.splice(T--,1);c.remove&&c.remove.call(aa,t)}if(V!=null){break}}}if(B.length===0||V!=null&&B.length===1){if(!c.teardown||c.teardown.call(aa,E)===false){O.removeEvent(aa,U,a2.handle)}delete ab[U]}}else{for(T=0;T<B.length;T++){t=B[T];if(S||Z.test(t.namespace)){O.event.remove(aa,c,t.handler,T);B.splice(T--,1)}}}}}if(O.isEmptyObject(ab)){if(X=a2.handle){X.elem=null}delete a2.events;delete a2.handle;if(typeof a2==="function"){O.removeData(aa,Y)}else{O.isEmptyObject(a2)&&O.removeData(aa)}}}}}},trigger:function(X,V,U,T){var S=X.type||X;if(!T){X=typeof X==="object"?X[O.expando]?X:O.extend(O.Event(S),X):O.Event(S);if(S.indexOf("!")>=0){X.type=S=S.slice(0,-1);X.exclusive=true}if(!U){X.stopPropagation();O.event.global[S]&&O.each(O.cache,function(){this.events&&this.events[S]&&O.event.trigger(X,V,this.handle.elem)})}if(!U||U.nodeType===3||U.nodeType===8){return az}X.result=az;X.target=U;V=O.makeArray(V);V.unshift(X)}X.currentTarget=U;(T=U.nodeType?O.data(U,"handle"):(O.data(U,"__events__")||{}).handle)&&T.apply(U,V);T=U.parentNode||U.ownerDocument;try{if(!(U&&U.nodeName&&O.noData[U.nodeName.toLowerCase()])){if(U["on"+S]&&U["on"+S].apply(U,V)===false){X.result=false;X.preventDefault()}}}catch(P){}if(!X.isPropagationStopped()&&T){O.event.trigger(X,V,T,true)}else{if(!X.isDefaultPrevented()){var B;T=X.target;var E=S.replace(ah,""),t=O.nodeName(T,"a")&&E==="click",W=O.event.special[E]||{};if((!W._default||W._default.call(U,X)===false)&&!t&&!(T&&T.nodeName&&O.noData[T.nodeName.toLowerCase()])){try{if(T[E]){if(B=T["on"+E]){T["on"+E]=null}O.event.triggered=true;T[E]()}}catch(c){}if(B){T["on"+E]=B}O.event.triggered=false}}}},handle:function(B){var c,U,T,S;U=[];var P=O.makeArray(arguments);B=P[0]=O.event.fix(B||av.event);B.currentTarget=this;c=B.type.indexOf(".")<0&&!B.exclusive;if(!c){T=B.type.split(".");B.type=T.shift();U=T.slice(0).sort();T=RegExp("(^|\\.)"+U.join("\\.(?:.*\\.)?")+"(\\.|$)")}B.namespace=B.namespace||U.join(".");S=O.data(this,this.nodeType?"events":"__events__");if(typeof S==="function"){S=S.events}U=(S||{})[B.type];if(S&&U){U=U.slice(0);S=0;for(var t=U.length;S<t;S++){var E=U[S];if(c||T.test(E.namespace)){B.handler=E.handler;B.data=E.data;B.handleObj=E;E=E.handler.apply(this,P);if(E!==az){B.result=E;if(E===false){B.preventDefault();B.stopPropagation()}}if(B.isImmediatePropagationStopped()){break}}}}return B.result},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(t){if(t[O.expando]){return t}var c=t;t=O.Event(c);for(var E=this.props.length,B;E;){B=this.props[--E];t[B]=c[B]}if(!t.target){t.target=t.srcElement||G}if(t.target.nodeType===3){t.target=t.target.parentNode}if(!t.relatedTarget&&t.fromElement){t.relatedTarget=t.fromElement===t.target?t.toElement:t.fromElement}if(t.pageX==null&&t.clientX!=null){c=G.documentElement;E=G.body;t.pageX=t.clientX+(c&&c.scrollLeft||E&&E.scrollLeft||0)-(c&&c.clientLeft||E&&E.clientLeft||0);t.pageY=t.clientY+(c&&c.scrollTop||E&&E.scrollTop||0)-(c&&c.clientTop||E&&E.clientTop||0)}if(t.which==null&&(t.charCode!=null||t.keyCode!=null)){t.which=t.charCode!=null?t.charCode:t.keyCode}if(!t.metaKey&&t.ctrlKey){t.metaKey=t.ctrlKey}if(!t.which&&t.button!==az){t.which=t.button&1?1:t.button&2?3:t.button&4?2:0}return t},guid:100000000,proxy:O.proxy,special:{ready:{setup:O.bindReady,teardown:O.noop},live:{add:function(c){O.event.add(this,ag(c.origType,c.selector),O.extend({},c,{handler:z,guid:c.handler.guid}))},remove:function(c){O.event.remove(this,ag(c.origType,c.selector),c)}},beforeunload:{setup:function(t,c,B){if(O.isWindow(this)){this.onbeforeunload=B}},teardown:function(t,c){if(this.onbeforeunload===c){this.onbeforeunload=null}}}}};O.removeEvent=G.removeEventListener?function(t,c,B){t.removeEventListener&&t.removeEventListener(c,B,false)}:function(t,c,B){t.detachEvent&&t.detachEvent("on"+c,B)};O.Event=function(c){if(!this.preventDefault){return new O.Event(c)}if(c&&c.type){this.originalEvent=c;this.type=c.type}else{this.type=c}this.timeStamp=O.now();this[O.expando]=true};O.Event.prototype={preventDefault:function(){this.isDefaultPrevented=I;var c=this.originalEvent;if(c){if(c.preventDefault){c.preventDefault()}else{c.returnValue=false}}},stopPropagation:function(){this.isPropagationStopped=I;var c=this.originalEvent;if(c){c.stopPropagation&&c.stopPropagation();c.cancelBubble=true}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=I;this.stopPropagation()},isDefaultPrevented:ak,isPropagationStopped:ak,isImmediatePropagationStopped:ak};var C=function(t){var c=t.relatedTarget;try{for(;c&&c!==this;){c=c.parentNode}if(c!==this){t.type=t.data;O.event.handle.apply(this,arguments)}}catch(B){}},o=function(c){c.type=c.data;O.event.handle.apply(this,arguments)};O.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(t,c){O.event.special[t]={setup:function(B){O.event.add(this,c,B&&B.selector?o:C,t)},teardown:function(B){O.event.remove(this,c,B&&B.selector?o:C)}}});if(!O.support.submitBubbles){O.event.special.submit={setup:function(){if(this.nodeName.toLowerCase()!=="form"){O.event.add(this,"click.specialSubmit",function(t){var c=t.target,B=c.type;if((B==="submit"||B==="image")&&O(c).closest("form").length){t.liveFired=az;return aX("submit",this,arguments)}});O.event.add(this,"keypress.specialSubmit",function(t){var c=t.target,B=c.type;if((B==="text"||B==="password")&&O(c).closest("form").length&&t.keyCode===13){t.liveFired=az;return aX("submit",this,arguments)}})}else{return false}},teardown:function(){O.event.remove(this,".specialSubmit")}}}if(!O.support.changeBubbles){var aj,b=function(t){var c=t.type,B=t.value;if(c==="radio"||c==="checkbox"){B=t.checked}else{if(c==="select-multiple"){B=t.selectedIndex>-1?O.map(t.options,function(E){return E.selected}).join("-"):""}else{if(t.nodeName.toLowerCase()==="select"){B=t.selectedIndex}}}return B},ae=function(t,c){var P=t.target,E,B;if(!(!K.test(P.nodeName)||P.readOnly)){E=O.data(P,"_change_data");B=b(P);if(t.type!=="focusout"||P.type!=="radio"){O.data(P,"_change_data",B)}if(!(E===az||B===E)){if(E!=null||B){t.type="change";t.liveFired=az;return O.event.trigger(t,c,P)}}}};O.event.special.change={filters:{focusout:ae,beforedeactivate:ae,click:function(t){var c=t.target,B=c.type;if(B==="radio"||B==="checkbox"||c.nodeName.toLowerCase()==="select"){return ae.call(this,t)}},keydown:function(t){var c=t.target,B=c.type;if(t.keyCode===13&&c.nodeName.toLowerCase()!=="textarea"||t.keyCode===32&&(B==="checkbox"||B==="radio")||B==="select-multiple"){return ae.call(this,t)}},beforeactivate:function(c){c=c.target;O.data(c,"_change_data",b(c))}},setup:function(){if(this.type==="file"){return false}for(var c in aj){O.event.add(this,c+".specialChange",aj[c])}return K.test(this.nodeName)},teardown:function(){O.event.remove(this,".specialChange");return K.test(this.nodeName)}};aj=O.event.special.change.filters;aj.focus=aj.beforeactivate}G.addEventListener&&O.each({focus:"focusin",blur:"focusout"},function(t,c){function B(E){E=O.event.fix(E);E.type=c;return O.event.trigger(E,null,E.target)}O.event.special[c]={setup:function(){ac[c]++===0&&G.addEventListener(t,B,true)},teardown:function(){--ac[c]===0&&G.removeEventListener(t,B,true)}}});O.each(["bind","one"],function(t,c){O.fn[c]=function(U,T,S){if(typeof U==="object"){for(var P in U){this[c](P,T,U[P],S)}return this}if(O.isFunction(T)||T===false){S=T;T=az}var B=c==="one"?O.proxy(S,function(V){O(this).unbind(V,B);return S.apply(this,arguments)}):S;if(U==="unload"&&c!=="one"){this.one(U,T,S)}else{P=0;for(var E=this.length;P<E;P++){O.event.add(this[P],U,B,T)}}return this}});O.fn.extend({unbind:function(t,c){if(typeof t==="object"&&!t.preventDefault){for(var E in t){this.unbind(E,t[E])}}else{E=0;for(var B=this.length;E<B;E++){O.event.remove(this[E],t,c)}}return this},delegate:function(t,c,E,B){return this.live(c,E,B,t)},undelegate:function(t,c,B){return arguments.length===0?this.unbind("live"):this.die(c,null,B,t)},trigger:function(t,c){return this.each(function(){O.event.trigger(t,c,this)})},triggerHandler:function(t,c){if(this[0]){var B=O.Event(t);B.preventDefault();B.stopPropagation();O.event.trigger(B,c,this[0]);return B.result}},toggle:function(t){for(var c=arguments,B=1;B<c.length;){O.proxy(t,c[B++])}return this.click(O.proxy(t,function(P){var E=(O.data(this,"lastToggle"+t.guid)||0)%B;O.data(this,"lastToggle"+t.guid,E+1);P.preventDefault();return c[E].apply(this,arguments)||false}))},hover:function(t,c){return this.mouseenter(t).mouseleave(c||t)}});var aQ={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};O.each(["live","die"],function(t,c){O.fn[c]=function(X,W,V,U){var S,T=0,P,Y,B=U||this.selector;U=U?this:O(this.context);if(typeof X==="object"&&!X.preventDefault){for(S in X){U[c](S,W,X[S],B)}return this}if(O.isFunction(W)){V=W;W=az}for(X=(X||"").split(" ");(S=X[T++])!=null;){P=ah.exec(S);Y="";if(P){Y=P[0];S=S.replace(ah,"")}if(S==="hover"){X.push("mouseenter"+Y,"mouseleave"+Y)}else{P=S;if(S==="focus"||S==="blur"){X.push(aQ[S]+Y);S+=Y}else{S=(aQ[S]||S)+Y}if(c==="live"){Y=0;for(var E=U.length;Y<E;Y++){O.event.add(U[Y],"live."+ag(S,B),{data:W,selector:B,handler:V,origType:S,origHandler:V,preType:P})}}else{U.unbind("live."+ag(S,B),V)}}}return this}});O.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error".split(" "),function(t,c){O.fn[c]=function(E,B){if(B==null){B=E;E=null}return arguments.length>0?this.bind(c,E,B):this.trigger(c)};if(O.attrFn){O.attrFn[c]=true}});av.attachEvent&&!av.addEventListener&&O(av).bind("unload",function(){for(var t in O.cache){if(O.cache[t].handle){try{O.event.remove(O.cache[t].handle.elem)}catch(c){}}}});(function(){function ab(a9,a8,a6,a7,a5,a4){a5=0;for(var bb=a7.length;a5<bb;a5++){var ba=a7[a5];if(ba){var bc=false;for(ba=ba[a9];ba;){if(ba.sizcache===a6){bc=a7[ba.sizset];break}if(ba.nodeType===1&&!a4){ba.sizcache=a6;ba.sizset=a5}if(ba.nodeName.toLowerCase()===a8){bc=ba;break}ba=ba[a9]}a7[a5]=bc}}}function Y(a9,a8,a6,a7,a5,a4){a5=0;for(var bb=a7.length;a5<bb;a5++){var ba=a7[a5];if(ba){var bc=false;for(ba=ba[a9];ba;){if(ba.sizcache===a6){bc=a7[ba.sizset];break}if(ba.nodeType===1){if(!a4){ba.sizcache=a6;ba.sizset=a5}if(typeof a8!=="string"){if(ba===a8){bc=true;break}}else{if(S.filter(a8,[ba]).length>0){bc=ba;break}}}ba=ba[a9]}a7[a5]=bc}}}var W=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,V=0,U=Object.prototype.toString,T=false,P=true;[0,0].sort(function(){P=false;return 0});var S=function(bb,ba,a7,a8){a7=a7||[];var a6=ba=ba||G;if(ba.nodeType!==1&&ba.nodeType!==9){return[]}if(!bb||typeof bb!=="string"){return a7}var a5,bg,bf,bh,be,bd=true,bc=S.isXML(ba),a4=[],a9=bb;do{W.exec("");if(a5=W.exec(a9)){a9=a5[3];a4.push(a5[1]);if(a5[2]){bh=a5[3];break}}}while(a5);if(a4.length>1&&aa.exec(bb)){if(a4.length===2&&E.relative[a4[0]]){bg=X(a4[0]+a4[1],ba)}else{for(bg=E.relative[a4[0]]?[ba]:S(a4.shift(),ba);a4.length;){bb=a4.shift();if(E.relative[bb]){bb+=a4.shift()}bg=X(bb,bg)}}}else{if(!a8&&a4.length>1&&ba.nodeType===9&&!bc&&E.match.ID.test(a4[0])&&!E.match.ID.test(a4[a4.length-1])){a5=S.find(a4.shift(),ba,bc);ba=a5.expr?S.filter(a5.expr,a5.set)[0]:a5.set[0]}if(ba){a5=a8?{expr:a4.pop(),set:t(a8)}:S.find(a4.pop(),a4.length===1&&(a4[0]==="~"||a4[0]==="+")&&ba.parentNode?ba.parentNode:ba,bc);bg=a5.expr?S.filter(a5.expr,a5.set):a5.set;if(a4.length>0){bf=t(bg)}else{bd=false}for(;a4.length;){a5=be=a4.pop();if(E.relative[be]){a5=a4.pop()}else{be=""}if(a5==null){a5=ba}E.relative[be](bf,a5,bc)}}else{bf=[]}}bf||(bf=bg);bf||S.error(be||bb);if(U.call(bf)==="[object Array]"){if(bd){if(ba&&ba.nodeType===1){for(bb=0;bf[bb]!=null;bb++){if(bf[bb]&&(bf[bb]===true||bf[bb].nodeType===1&&S.contains(ba,bf[bb]))){a7.push(bg[bb])}}}else{for(bb=0;bf[bb]!=null;bb++){bf[bb]&&bf[bb].nodeType===1&&a7.push(bg[bb])}}}else{a7.push.apply(a7,bf)}}else{t(bf,a7)}if(bh){S(bh,a6,a7,a8);S.uniqueSort(a7)}return a7};S.uniqueSort=function(a5){if(a3){T=P;a5.sort(a3);if(T){for(var a4=1;a4<a5.length;a4++){a5[a4]===a5[a4-1]&&a5.splice(a4--,1)}}}return a5};S.matches=function(a5,a4){return S(a5,null,null,a4)};S.matchesSelector=function(a5,a4){return S(a4,null,null,[a5]).length>0};S.find=function(a9,a8,a6){var a7;if(!a9){return[]}for(var a5=0,a4=E.order.length;a5<a4;a5++){var bb,ba=E.order[a5];if(bb=E.leftMatch[ba].exec(a9)){var bc=bb[1];bb.splice(1,1);if(bc.substr(bc.length-1)!=="\\"){bb[1]=(bb[1]||"").replace(/\\/g,"");a7=E.find[ba](bb,a8,a6);if(a7!=null){a9=a9.replace(E.match[ba],"");break}}}}a7||(a7=a8.getElementsByTagName("*"));return{set:a7,expr:a9}};S.filter=function(bc,bb,a7,a8){for(var a6,a5,bh=bc,bg=[],bi=bb,bf=bb&&bb[0]&&S.isXML(bb[0]);bc&&bb.length;){for(var be in E.filter){if((a6=E.leftMatch[be].exec(bc))!=null&&a6[2]){var bd,a4,ba=E.filter[be];a4=a6[1];a5=false;a6.splice(1,1);if(a4.substr(a4.length-1)!=="\\"){if(bi===bg){bg=[]}if(E.preFilter[be]){if(a6=E.preFilter[be](a6,bi,a7,bg,a8,bf)){if(a6===true){continue}}else{a5=bd=true}}if(a6){for(var a9=0;(a4=bi[a9])!=null;a9++){if(a4){bd=ba(a4,a6,a9,bi);var bj=a8^!!bd;if(a7&&bd!=null){if(bj){a5=true}else{bi[a9]=false}}else{if(bj){bg.push(a4);a5=true}}}}}if(bd!==az){a7||(bi=bg);bc=bc.replace(E.match[be],"");if(!a5){return[]}break}}}}if(bc===bh){if(a5==null){S.error(bc)}else{break}}bh=bc}return bi};S.error=function(a4){throw"Syntax error, unrecognized expression: "+a4};var E=S.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+\-]*)\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(a4){return a4.getAttribute("href")}},relative:{"+":function(a6,a5){var a9=typeof a5==="string",a4=a9&&!/\W/.test(a5);a9=a9&&!a4;if(a4){a5=a5.toLowerCase()}a4=0;for(var a8=a6.length,a7;a4<a8;a4++){if(a7=a6[a4]){for(;(a7=a7.previousSibling)&&a7.nodeType!==1;){}a6[a4]=a9||a7&&a7.nodeName.toLowerCase()===a5?a7||false:a7===a5}}a9&&S.filter(a5,a6,true)},">":function(a6,a5){var a9,a4=typeof a5==="string",a8=0,a7=a6.length;if(a4&&!/\W/.test(a5)){for(a5=a5.toLowerCase();a8<a7;a8++){if(a9=a6[a8]){a9=a9.parentNode;a6[a8]=a9.nodeName.toLowerCase()===a5?a9:false}}}else{for(;a8<a7;a8++){if(a9=a6[a8]){a6[a8]=a4?a9.parentNode:a9.parentNode===a5}}a4&&S.filter(a5,a6,true)}},"":function(a6,a5,a9){var a4,a8=V++,a7=Y;if(typeof a5==="string"&&!/\W/.test(a5)){a4=a5=a5.toLowerCase();a7=ab}a7("parentNode",a5,a8,a6,a4,a9)},"~":function(a6,a5,a9){var a4,a8=V++,a7=Y;if(typeof a5==="string"&&!/\W/.test(a5)){a4=a5=a5.toLowerCase();a7=ab}a7("previousSibling",a5,a8,a6,a4,a9)}},find:{ID:function(a5,a4,a6){if(typeof a4.getElementById!=="undefined"&&!a6){return(a5=a4.getElementById(a5[1]))&&a5.parentNode?[a5]:[]}},NAME:function(a6,a5){if(typeof a5.getElementsByName!=="undefined"){for(var a9=[],a4=a5.getElementsByName(a6[1]),a8=0,a7=a4.length;a8<a7;a8++){a4[a8].getAttribute("name")===a6[1]&&a9.push(a4[a8])}return a9.length===0?null:a9}},TAG:function(a5,a4){return a4.getElementsByTagName(a5[1])}},preFilter:{CLASS:function(a7,a6,ba,a4,a9,a8){a7=" "+a7[1].replace(/\\/g,"")+" ";if(a8){return a7}a8=0;for(var a5;(a5=a6[a8])!=null;a8++){if(a5){if(a9^(a5.className&&(" "+a5.className+" ").replace(/[\t\n]/g," ").indexOf(a7)>=0)){ba||a4.push(a5)}else{if(ba){a6[a8]=false}}}}return false},ID:function(a4){return a4[1].replace(/\\/g,"")},TAG:function(a4){return a4[1].toLowerCase()},CHILD:function(a5){if(a5[1]==="nth"){var a4=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(a5[2]==="even"&&"2n"||a5[2]==="odd"&&"2n+1"||!/\D/.test(a5[2])&&"0n+"+a5[2]||a5[2]);a5[2]=a4[1]+(a4[2]||1)-0;a5[3]=a4[3]-0}a5[0]=V++;return a5},ATTR:function(a6,a5,a9,a4,a8,a7){a5=a6[1].replace(/\\/g,"");if(!a7&&E.attrMap[a5]){a6[1]=E.attrMap[a5]}if(a6[2]==="~="){a6[4]=" "+a6[4]+" "}return a6},PSEUDO:function(a6,a5,a8,a4,a7){if(a6[1]==="not"){if((W.exec(a6[3])||"").length>1||/^\w/.test(a6[3])){a6[3]=S(a6[3],null,null,a5)}else{a6=S.filter(a6[3],a5,a8,true^a7);a8||a4.push.apply(a4,a6);return false}}else{if(E.match.POS.test(a6[0])||E.match.CHILD.test(a6[0])){return true}}return a6},POS:function(a4){a4.unshift(true);return a4}},filters:{enabled:function(a4){return a4.disabled===false&&a4.type!=="hidden"},disabled:function(a4){return a4.disabled===true},checked:function(a4){return a4.checked===true},selected:function(a4){return a4.selected===true},parent:function(a4){return !!a4.firstChild},empty:function(a4){return !a4.firstChild},has:function(a5,a4,a6){return !!S(a6[3],a5).length},header:function(a4){return/h\d/i.test(a4.nodeName)},text:function(a4){return"text"===a4.type},radio:function(a4){return"radio"===a4.type},checkbox:function(a4){return"checkbox"===a4.type},file:function(a4){return"file"===a4.type},password:function(a4){return"password"===a4.type},submit:function(a4){return"submit"===a4.type},image:function(a4){return"image"===a4.type},reset:function(a4){return"reset"===a4.type},button:function(a4){return"button"===a4.type||a4.nodeName.toLowerCase()==="button"},input:function(a4){return/input|select|textarea|button/i.test(a4.nodeName)}},setFilters:{first:function(a5,a4){return a4===0},last:function(a6,a5,a7,a4){return a5===a4.length-1},even:function(a5,a4){return a4%2===0},odd:function(a5,a4){return a4%2===1},lt:function(a5,a4,a6){return a4<a6[3]-0},gt:function(a5,a4,a6){return a4>a6[3]-0},nth:function(a5,a4,a6){return a6[3]-0===a4},eq:function(a5,a4,a6){return a6[3]-0===a4}},filter:{PSEUDO:function(a6,a5,a9,a4){var a8=a5[1],a7=E.filters[a8];if(a7){return a7(a6,a9,a5,a4)}else{if(a8==="contains"){return(a6.textContent||a6.innerText||S.getText([a6])||"").indexOf(a5[3])>=0}else{if(a8==="not"){a5=a5[3];a9=0;for(a4=a5.length;a9<a4;a9++){if(a5[a9]===a6){return false}}return true}else{S.error("Syntax error, unrecognized expression: "+a8)}}}},CHILD:function(a7,a6){var bb=a6[1],a4=a7;switch(bb){case"only":case"first":for(;a4=a4.previousSibling;){if(a4.nodeType===1){return false}}if(bb==="first"){return true}a4=a7;case"last":for(;a4=a4.nextSibling;){if(a4.nodeType===1){return false}}return true;case"nth":bb=a6[2];var a9=a6[3];if(bb===1&&a9===0){return true}var a8=a6[0],a5=a7.parentNode;if(a5&&(a5.sizcache!==a8||!a7.nodeIndex)){var ba=0;for(a4=a5.firstChild;a4;a4=a4.nextSibling){if(a4.nodeType===1){a4.nodeIndex=++ba}}a5.sizcache=a8}a4=a7.nodeIndex-a9;return bb===0?a4===0:a4%bb===0&&a4/bb>=0}},ID:function(a5,a4){return a5.nodeType===1&&a5.getAttribute("id")===a4},TAG:function(a5,a4){return a4==="*"&&a5.nodeType===1||a5.nodeName.toLowerCase()===a4},CLASS:function(a5,a4){return(" "+(a5.className||a5.getAttribute("class"))+" ").indexOf(a4)>-1},ATTR:function(a6,a5){var a9=a5[1];a9=E.attrHandle[a9]?E.attrHandle[a9](a6):a6[a9]!=null?a6[a9]:a6.getAttribute(a9);var a4=a9+"",a8=a5[2],a7=a5[4];return a9==null?a8==="!=":a8==="="?a4===a7:a8==="*="?a4.indexOf(a7)>=0:a8==="~="?(" "+a4+" ").indexOf(a7)>=0:!a7?a4&&a9!==false:a8==="!="?a4!==a7:a8==="^="?a4.indexOf(a7)===0:a8==="$="?a4.substr(a4.length-a7.length)===a7:a8==="|="?a4===a7||a4.substr(0,a7.length+1)===a7+"-":false},POS:function(a6,a5,a8,a4){var a7=E.setFilters[a5[2]];if(a7){return a7(a6,a8,a5,a4)}}}},aa=E.match.POS,c=function(a5,a4){return"\\"+(a4-0+1)},B;for(B in E.match){E.match[B]=RegExp(E.match[B].source+/(?![^\[]*\])(?![^\(]*\))/.source);E.leftMatch[B]=RegExp(/(^(?:.|\r|\n)*?)/.source+E.match[B].source.replace(/\\(\d+)/g,c))}var t=function(a5,a4){a5=Array.prototype.slice.call(a5,0);if(a4){a4.push.apply(a4,a5);return a4}return a5};try{Array.prototype.slice.call(G.documentElement.childNodes,0)}catch(Z){t=function(a6,a5){var a8=0,a4=a5||[];if(U.call(a6)==="[object Array]"){Array.prototype.push.apply(a4,a6)}else{if(typeof a6.length==="number"){for(var a7=a6.length;a8<a7;a8++){a4.push(a6[a8])}}else{for(;a6[a8];a8++){a4.push(a6[a8])}}}return a4}}var a3,a2;if(G.documentElement.compareDocumentPosition){a3=function(a5,a4){if(a5===a4){T=true;return 0}if(!a5.compareDocumentPosition||!a4.compareDocumentPosition){return a5.compareDocumentPosition?-1:1}return a5.compareDocumentPosition(a4)&4?-1:1}}else{a3=function(a7,a6){var ba,a4,a9=[],a8=[];ba=a7.parentNode;a4=a6.parentNode;var a5=ba;if(a7===a6){T=true;return 0}else{if(ba===a4){return a2(a7,a6)}else{if(ba){if(!a4){return 1}}else{return -1}}}for(;a5;){a9.unshift(a5);a5=a5.parentNode}for(a5=a4;a5;){a8.unshift(a5);a5=a5.parentNode}ba=a9.length;a4=a8.length;for(a5=0;a5<ba&&a5<a4;a5++){if(a9[a5]!==a8[a5]){return a2(a9[a5],a8[a5])}}return a5===ba?a2(a7,a8[a5],-1):a2(a9[a5],a6,1)};a2=function(a5,a4,a6){if(a5===a4){return a6}for(a5=a5.nextSibling;a5;){if(a5===a4){return -1}a5=a5.nextSibling}return 1}}S.getText=function(a6){for(var a5="",a7,a4=0;a6[a4];a4++){a7=a6[a4];if(a7.nodeType===3||a7.nodeType===4){a5+=a7.nodeValue}else{if(a7.nodeType!==8){a5+=S.getText(a7.childNodes)}}}return a5};(function(){var a5=G.createElement("div"),a4="script"+(new Date).getTime(),a6=G.documentElement;a5.innerHTML="<a name='"+a4+"'/>";a6.insertBefore(a5,a6.firstChild);if(G.getElementById(a4)){E.find.ID=function(a7,a9,a8){if(typeof a9.getElementById!=="undefined"&&!a8){return(a9=a9.getElementById(a7[1]))?a9.id===a7[1]||typeof a9.getAttributeNode!=="undefined"&&a9.getAttributeNode("id").nodeValue===a7[1]?[a9]:az:[]}};E.filter.ID=function(a7,a9){var a8=typeof a7.getAttributeNode!=="undefined"&&a7.getAttributeNode("id");return a7.nodeType===1&&a8&&a8.nodeValue===a9}}a6.removeChild(a5);a6=a5=null})();(function(){var a4=G.createElement("div");a4.appendChild(G.createComment(""));if(a4.getElementsByTagName("*").length>0){E.find.TAG=function(a6,a9){var a5=a9.getElementsByTagName(a6[1]);if(a6[1]==="*"){for(var a8=[],a7=0;a5[a7];a7++){a5[a7].nodeType===1&&a8.push(a5[a7])}a5=a8}return a5}}a4.innerHTML="<a href='#'></a>";if(a4.firstChild&&typeof a4.firstChild.getAttribute!=="undefined"&&a4.firstChild.getAttribute("href")!=="#"){E.attrHandle.href=function(a5){return a5.getAttribute("href",2)}}a4=null})();G.querySelectorAll&&function(){var a5=S,a4=G.createElement("div");a4.innerHTML="<p class='TEST'></p>";if(!(a4.querySelectorAll&&a4.querySelectorAll(".TEST").length===0)){S=function(a7,bb,ba,a8){bb=bb||G;a7=a7.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!a8&&!S.isXML(bb)){if(bb.nodeType===9){try{return t(bb.querySelectorAll(a7),ba)}catch(be){}}else{if(bb.nodeType===1&&bb.nodeName.toLowerCase()!=="object"){var a9=bb.getAttribute("id"),bd=a9||"__sizzle__";a9||bb.setAttribute("id",bd);try{return t(bb.querySelectorAll("#"+bd+" "+a7),ba)}catch(bc){}finally{a9||bb.removeAttribute("id")}}}}return a5(a7,bb,ba,a8)};for(var a6 in a5){S[a6]=a5[a6]}a4=null}}();(function(){var a6=G.documentElement,a5=a6.matchesSelector||a6.mozMatchesSelector||a6.webkitMatchesSelector||a6.msMatchesSelector,a7=false;try{a5.call(G.documentElement,"[test!='']:sizzle")}catch(a4){a7=true}if(a5){S.matchesSelector=function(ba,a9){a9=a9.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!S.isXML(ba)){try{if(a7||!E.match.PSEUDO.test(a9)&&!/!=/.test(a9)){return a5.call(ba,a9)}}catch(a8){}}return S(a9,null,null,[ba]).length>0}}})();(function(){var a4=G.createElement("div");a4.innerHTML="<div class='test e'></div><div class='test'></div>";if(!(!a4.getElementsByClassName||a4.getElementsByClassName("e").length===0)){a4.lastChild.className="e";if(a4.getElementsByClassName("e").length!==1){E.order.splice(1,0,"CLASS");E.find.CLASS=function(a6,a7,a5){if(typeof a7.getElementsByClassName!=="undefined"&&!a5){return a7.getElementsByClassName(a6[1])}};a4=null}}})();S.contains=G.documentElement.contains?function(a5,a4){return a5!==a4&&(a5.contains?a5.contains(a4):true)}:G.documentElement.compareDocumentPosition?function(a5,a4){return !!(a5.compareDocumentPosition(a4)&16)}:function(){return false};S.isXML=function(a4){return(a4=(a4?a4.ownerDocument||a4:0).documentElement)?a4.nodeName!=="HTML":false};var X=function(a7,a6){for(var ba,a4=[],a9="",a8=a6.nodeType?[a6]:a6;ba=E.match.PSEUDO.exec(a7);){a9+=ba[0];a7=a7.replace(E.match.PSEUDO,"")}a7=E.relative[a7]?a7+"*":a7;ba=0;for(var a5=a8.length;ba<a5;ba++){S(a7,a8[ba],a4)}return S.filter(a9,a4)};O.find=S;O.expr=S.selectors;O.expr[":"]=O.expr.filters;O.unique=S.uniqueSort;O.text=S.getText;O.isXMLDoc=S.isXML;O.contains=S.contains})();var aS=/Until$/,ay=/^(?:parents|prevUntil|prevAll)/,aF=/,/,aP=/^.[^:#\[\.,]*$/,an=Array.prototype.slice,H=O.expr.match.POS;O.fn.extend({find:function(B){for(var c=this.pushStack("","find",B),T=0,S=0,P=this.length;S<P;S++){T=c.length;O.find(B,this[S],c);if(S>0){for(var E=T;E<c.length;E++){for(var t=0;t<T;t++){if(c[t]===c[E]){c.splice(E--,1);break}}}}}return c},has:function(t){var c=O(t);return this.filter(function(){for(var E=0,B=c.length;E<B;E++){if(O.contains(this,c[E])){return true}}})},not:function(c){return this.pushStack(aK(this,c,false),"not",c)},filter:function(c){return this.pushStack(aK(this,c,true),"filter",c)},is:function(c){return !!c&&O.filter(c,this).length>0},closest:function(V,U){var T=[],S,P,E=this[0];if(O.isArray(V)){var t,B={},c=1;if(E&&V.length){S=0;for(P=V.length;S<P;S++){t=V[S];B[t]||(B[t]=O.expr.match.POS.test(t)?O(t,U||this.context):t)}for(;E&&E.ownerDocument&&E!==U;){for(t in B){S=B[t];if(S.jquery?S.index(E)>-1:O(E).is(S)){T.push({selector:t,elem:E,level:c})}}E=E.parentNode;c++}}return T}t=H.test(V)?O(V,U||this.context):null;S=0;for(P=this.length;S<P;S++){for(E=this[S];E;){if(t?t.index(E)>-1:O.find.matchesSelector(E,V)){T.push(E);break}else{E=E.parentNode;if(!E||!E.ownerDocument||E===U){break}}}}T=T.length>1?O.unique(T):T;return this.pushStack(T,"closest",V)},index:function(c){if(!c||typeof c==="string"){return O.inArray(this[0],c?O(c):this.parent().children())}return O.inArray(c.jquery?c[0]:c,this)},add:function(t,c){var E=typeof t==="string"?O(t,c||this.context):O.makeArray(t),B=O.merge(this.get(),E);return this.pushStack(!E[0]||!E[0].parentNode||E[0].parentNode.nodeType===11||!B[0]||!B[0].parentNode||B[0].parentNode.nodeType===11?B:O.unique(B))},andSelf:function(){return this.add(this.prevObject)}});O.each({parent:function(c){return(c=c.parentNode)&&c.nodeType!==11?c:null},parents:function(c){return O.dir(c,"parentNode")},parentsUntil:function(t,c,B){return O.dir(t,"parentNode",B)},next:function(c){return O.nth(c,2,"nextSibling")},prev:function(c){return O.nth(c,2,"previousSibling")},nextAll:function(c){return O.dir(c,"nextSibling")},prevAll:function(c){return O.dir(c,"previousSibling")},nextUntil:function(t,c,B){return O.dir(t,"nextSibling",B)},prevUntil:function(t,c,B){return O.dir(t,"previousSibling",B)},siblings:function(c){return O.sibling(c.parentNode.firstChild,c)},children:function(c){return O.sibling(c.firstChild)},contents:function(c){return O.nodeName(c,"iframe")?c.contentDocument||c.contentWindow.document:O.makeArray(c.childNodes)}},function(t,c){O.fn[t]=function(P,E){var B=O.map(this,c,P);aS.test(t)||(E=P);if(E&&typeof E==="string"){B=O.filter(E,B)}B=this.length>1?O.unique(B):B;if((this.length>1||aF.test(E))&&ay.test(t)){B=B.reverse()}return this.pushStack(B,t,an.call(arguments).join(","))}});O.extend({filter:function(t,c,B){if(B){t=":not("+t+")"}return c.length===1?O.find.matchesSelector(c[0],t)?[c[0]]:[]:O.find.matches(t,c)},dir:function(t,c,E){var B=[];for(t=t[c];t&&t.nodeType!==9&&(E===az||t.nodeType!==1||!O(t).is(E));){t.nodeType===1&&B.push(t);t=t[c]}return B},nth:function(t,c,E){c=c||1;for(var B=0;t;t=t[E]){if(t.nodeType===1&&++B===c){break}}return t},sibling:function(t,c){for(var B=[];t;t=t.nextSibling){t.nodeType===1&&t!==c&&B.push(t)}return B}});var aD=/ jQuery\d+="(?:\d+|null)"/g,aM=/^\s+/,aV=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,aI=/<([\w:]+)/,r=/<tbody/i,f=/<|&#?\w+;/,at=/<(?:script|object|embed|option|style)/i,L=/checked\s*(?:[^=]|=\s*.checked.)/i,aT=/\=([^="'>\s]+\/)>/g,ao={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]};ao.optgroup=ao.option;ao.tbody=ao.tfoot=ao.colgroup=ao.caption=ao.thead;ao.th=ao.td;if(!O.support.htmlSerialize){ao._default=[1,"div<div>","</div>"]}O.fn.extend({text:function(c){if(O.isFunction(c)){return this.each(function(t){var B=O(this);B.text(c.call(this,t,B.text()))})}if(typeof c!=="object"&&c!==az){return this.empty().append((this[0]&&this[0].ownerDocument||G).createTextNode(c))}return O.text(this)},wrapAll:function(t){if(O.isFunction(t)){return this.each(function(B){O(this).wrapAll(t.call(this,B))})}if(this[0]){var c=O(t,this[0].ownerDocument).eq(0).clone(true);this[0].parentNode&&c.insertBefore(this[0]);c.map(function(){for(var B=this;B.firstChild&&B.firstChild.nodeType===1;){B=B.firstChild}return B}).append(this)}return this},wrapInner:function(c){if(O.isFunction(c)){return this.each(function(t){O(this).wrapInner(c.call(this,t))})}return this.each(function(){var t=O(this),B=t.contents();B.length?B.wrapAll(c):t.append(c)})},wrap:function(c){return this.each(function(){O(this).wrapAll(c)})},unwrap:function(){return this.parent().each(function(){O.nodeName(this,"body")||O(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,true,function(c){this.nodeType===1&&this.appendChild(c)})},prepend:function(){return this.domManip(arguments,true,function(c){this.nodeType===1&&this.insertBefore(c,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(t){this.parentNode.insertBefore(t,this)})}else{if(arguments.length){var c=O(arguments[0]);c.push.apply(c,this.toArray());return this.pushStack(c,"before",arguments)}}},after:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(t){this.parentNode.insertBefore(t,this.nextSibling)})}else{if(arguments.length){var c=this.pushStack(this,"after",arguments);c.push.apply(c,O(arguments[0]).toArray());return c}}},remove:function(t,c){for(var E=0,B;(B=this[E])!=null;E++){if(!t||O.filter(t,[B]).length){if(!c&&B.nodeType===1){O.cleanData(B.getElementsByTagName("*"));O.cleanData([B])}B.parentNode&&B.parentNode.removeChild(B)}}return this},empty:function(){for(var t=0,c;(c=this[t])!=null;t++){for(c.nodeType===1&&O.cleanData(c.getElementsByTagName("*"));c.firstChild;){c.removeChild(c.firstChild)}}return this},clone:function(t){var c=this.map(function(){if(!O.support.noCloneEvent&&!O.isXMLDoc(this)){var E=this.outerHTML,B=this.ownerDocument;if(!E){E=B.createElement("div");E.appendChild(this.cloneNode(true));E=E.innerHTML}return O.clean([E.replace(aD,"").replace(aT,'="$1">').replace(aM,"")],B)[0]}else{return this.cloneNode(true)}});if(t===true){aw(this,c);aw(this.find("*"),c.find("*"))}return c},html:function(t){if(t===az){return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(aD,""):null}else{if(typeof t==="string"&&!at.test(t)&&(O.support.leadingWhitespace||!aM.test(t))&&!ao[(aI.exec(t)||["",""])[1].toLowerCase()]){t=t.replace(aV,"<$1></$2>");try{for(var c=0,E=this.length;c<E;c++){if(this[c].nodeType===1){O.cleanData(this[c].getElementsByTagName("*"));this[c].innerHTML=t}}}catch(B){this.empty().append(t)}}else{O.isFunction(t)?this.each(function(S){var P=O(this);P.html(t.call(this,S,P.html()))}):this.empty().append(t)}}return this},replaceWith:function(c){if(this[0]&&this[0].parentNode){if(O.isFunction(c)){return this.each(function(t){var E=O(this),B=E.html();E.replaceWith(c.call(this,t,B))})}if(typeof c!=="string"){c=O(c).detach()}return this.each(function(){var t=this.nextSibling,B=this.parentNode;O(this).remove();t?O(t).before(c):O(B).append(c)})}else{return this.pushStack(O(O.isFunction(c)?c():c),"replaceWith",c)}},detach:function(c){return this.remove(c,true)},domManip:function(V,U,T){var S,P,E,t=V[0],B=[];if(!O.support.checkClone&&arguments.length===3&&typeof t==="string"&&L.test(t)){return this.each(function(){O(this).domManip(V,U,T,true)})}if(O.isFunction(t)){return this.each(function(W){var X=O(this);V[0]=t.call(this,W,U?X.html():az);X.domManip(V,U,T)})}if(this[0]){S=t&&t.parentNode;S=O.support.parentNode&&S&&S.nodeType===11&&S.childNodes.length===this.length?{fragment:S}:O.buildFragment(V,this,B);E=S.fragment;if(P=E.childNodes.length===1?E=E.firstChild:E.firstChild){U=U&&O.nodeName(P,"tr");P=0;for(var c=this.length;P<c;P++){T.call(U?O.nodeName(this[P],"table")?this[P].getElementsByTagName("tbody")[0]||this[P].appendChild(this[P].ownerDocument.createElement("tbody")):this[P]:this[P],P>0||S.cacheable||this.length>1?E.cloneNode(true):E)}}B.length&&O.each(B,aC)}return this}});O.buildFragment=function(t,c,S){var P,E,B;c=c&&c[0]?c[0].ownerDocument||c[0]:G;if(t.length===1&&typeof t[0]==="string"&&t[0].length<512&&c===G&&!at.test(t[0])&&(O.support.checkClone||!L.test(t[0]))){E=true;if(B=O.fragments[t[0]]){if(B!==1){P=B}}}if(!P){P=c.createDocumentFragment();O.clean(t,c,P,S)}if(E){O.fragments[t[0]]=B?P:1}return{fragment:P,cacheable:E}};O.fragments={};O.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,c){O.fn[t]=function(T){var S=[];T=O(T);var P=this.length===1&&this[0].parentNode;if(P&&P.nodeType===11&&P.childNodes.length===1&&T.length===1){T[c](this[0]);return this}else{P=0;for(var E=T.length;P<E;P++){var B=(P>0?this.clone(true):this).get();O(T[P])[c](B);S=S.concat(B)}return this.pushStack(S,t,T.selector)}}});O.extend({clean:function(X,V,U,T){V=V||G;if(typeof V.createElement==="undefined"){V=V.ownerDocument||V[0]&&V[0].ownerDocument||G}for(var S=[],P=0,B;(B=X[P])!=null;P++){if(typeof B==="number"){B+=""}if(B){if(typeof B==="string"&&!f.test(B)){B=V.createTextNode(B)}else{if(typeof B==="string"){B=B.replace(aV,"<$1></$2>");var E=(aI.exec(B)||["",""])[1].toLowerCase(),t=ao[E]||ao._default,W=t[0],c=V.createElement("div");for(c.innerHTML=t[1]+B+t[2];W--;){c=c.lastChild}if(!O.support.tbody){W=r.test(B);E=E==="table"&&!W?c.firstChild&&c.firstChild.childNodes:t[1]==="<table>"&&!W?c.childNodes:[];for(t=E.length-1;t>=0;--t){O.nodeName(E[t],"tbody")&&!E[t].childNodes.length&&E[t].parentNode.removeChild(E[t])}}!O.support.leadingWhitespace&&aM.test(B)&&c.insertBefore(V.createTextNode(aM.exec(B)[0]),c.firstChild);B=c.childNodes}}if(B.nodeType){S.push(B)}else{S=O.merge(S,B)}}}if(U){for(P=0;S[P];P++){if(T&&O.nodeName(S[P],"script")&&(!S[P].type||S[P].type.toLowerCase()==="text/javascript")){T.push(S[P].parentNode?S[P].parentNode.removeChild(S[P]):S[P])}else{S[P].nodeType===1&&S.splice.apply(S,[P+1,0].concat(O.makeArray(S[P].getElementsByTagName("script"))));U.appendChild(S[P])}}}return S},cleanData:function(V){for(var U,T,S=O.cache,P=O.event.special,E=O.support.deleteExpando,t=0,B;(B=V[t])!=null;t++){if(!(B.nodeName&&O.noData[B.nodeName.toLowerCase()])){if(T=B[O.expando]){if((U=S[T])&&U.events){for(var c in U.events){P[c]?O.event.remove(B,c):O.removeEvent(B,c,U.handle)}}if(E){delete B[O.expando]}else{B.removeAttribute&&B.removeAttribute(O.expando)}delete S[T]}}}}});var w=/alpha\([^)]*\)/i,aH=/opacity=([^)]*)/,aq=/-([a-z])/ig,J=/([A-Z])/g,j=/^-?\d+(?:px)?$/i,u=/^-?\d/,h={position:"absolute",visibility:"hidden",display:"block"},ad=["Left","Right"],D=["Top","Bottom"],ai,aY,aG,aW=function(t,c){return c.toUpperCase()};O.fn.css=function(t,c){if(arguments.length===2&&c===az){return this}return O.access(this,t,c,true,function(P,E,B){return B!==az?O.style(P,E,B):O.css(P,E)})};O.extend({cssHooks:{opacity:{get:function(t,c){if(c){var B=ai(t,"opacity","opacity");return B===""?"1":B}else{return t.style.opacity}}}},cssNumber:{zIndex:true,fontWeight:true,opacity:true,zoom:true,lineHeight:true},cssProps:{"float":O.support.cssFloat?"cssFloat":"styleFloat"},style:function(V,U,T,S){if(!(!V||V.nodeType===3||V.nodeType===8||!V.style)){var P,E=O.camelCase(U),t=V.style,B=O.cssHooks[E];U=O.cssProps[E]||E;if(T!==az){if(!(typeof T==="number"&&isNaN(T)||T==null)){if(typeof T==="number"&&!O.cssNumber[E]){T+="px"}if(!B||!("set" in B)||(T=B.set(V,T))!==az){try{t[U]=T}catch(c){}}}}else{if(B&&"get" in B&&(P=B.get(V,false,S))!==az){return P}return t[U]}}},css:function(t,c,S){var P,E=O.camelCase(c),B=O.cssHooks[E];c=O.cssProps[E]||E;if(B&&"get" in B&&(P=B.get(t,true,S))!==az){return P}else{if(ai){return ai(t,c,E)}}},swap:function(t,c,P){var E={},B;for(B in c){E[B]=t.style[B];t.style[B]=c[B]}P.call(t);for(B in c){t.style[B]=E[B]}},camelCase:function(c){return c.replace(aq,aW)}});O.curCSS=O.css;O.each(["height","width"],function(t,c){O.cssHooks[c]={get:function(S,P,E){var B;if(P){if(S.offsetWidth!==0){B=N(S,c,E)}else{O.swap(S,h,function(){B=N(S,c,E)})}if(B<=0){B=ai(S,c,c);if(B==="0px"&&aG){B=aG(S,c,c)}if(B!=null){return B===""||B==="auto"?"0px":B}}if(B<0||B==null){B=S.style[c];return B===""||B==="auto"?"0px":B}return typeof B==="string"?B:B+"px"}},set:function(E,B){if(j.test(B)){B=parseFloat(B);if(B>=0){return B+"px"}}else{return B}}}});if(!O.support.opacity){O.cssHooks.opacity={get:function(t,c){return aH.test((c&&t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?parseFloat(RegExp.$1)/100+"":c?"1":""},set:function(t,c){var P=t.style;P.zoom=1;var E=O.isNaN(c)?"":"alpha(opacity="+c*100+")",B=P.filter||"";P.filter=w.test(B)?B.replace(w,E):P.filter+" "+E}}}if(G.defaultView&&G.defaultView.getComputedStyle){aY=function(t,c,E){var B;E=E.replace(J,"-$1").toLowerCase();if(!(c=t.ownerDocument.defaultView)){return az}if(c=c.getComputedStyle(t,null)){B=c.getPropertyValue(E);if(B===""&&!O.contains(t.ownerDocument.documentElement,t)){B=O.style(t,E)}}return B}}if(G.documentElement.currentStyle){aG=function(t,c){var S,P,E=t.currentStyle&&t.currentStyle[c],B=t.style;if(!j.test(E)&&u.test(E)){S=B.left;P=t.runtimeStyle.left;t.runtimeStyle.left=t.currentStyle.left;B.left=c==="fontSize"?"1em":E||0;E=B.pixelLeft+"px";B.left=S;t.runtimeStyle.left=P}return E===""?"auto":E}}ai=aY||aG;if(O.expr&&O.expr.filters){O.expr.filters.hidden=function(t){var c=t.offsetHeight;return t.offsetWidth===0&&c===0||!O.support.reliableHiddenOffsets&&(t.style.display||O.css(t,"display"))==="none"};O.expr.filters.visible=function(c){return !O.expr.filters.hidden(c)}}var aJ=O.now(),au=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,M=/^(?:select|textarea)/i,x=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,k=/^(?:GET|HEAD)$/,p=/\[\]$/,al=/\=\?(&|$)/,v=/\?/,aZ=/([?&])_=[^&]*/,aN=/^(\w+:)?\/\/([^\/?#]+)/,aA=/%20/g,R=/#.*$/,aL=O.fn.load;O.fn.extend({load:function(t,c,S){if(typeof t!=="string"&&aL){return aL.apply(this,arguments)}else{if(!this.length){return this}}var P=t.indexOf(" ");if(P>=0){var E=t.slice(P,t.length);t=t.slice(0,P)}P="GET";if(c){if(O.isFunction(c)){S=c;c=null}else{if(typeof c==="object"){c=O.param(c,O.ajaxSettings.traditional);P="POST"}}}var B=this;O.ajax({url:t,type:P,dataType:"html",data:c,complete:function(T,U){if(U==="success"||U==="notmodified"){B.html(E?O("<div>").append(T.responseText.replace(au,"")).find(E):T.responseText)}S&&B.each(S,[T.responseText,U,T])}});return this},serialize:function(){return O.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?O.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||M.test(this.nodeName)||x.test(this.type))}).map(function(t,c){var B=O(this).val();return B==null?null:O.isArray(B)?O.map(B,function(E){return{name:c.name,value:E}}):{name:c.name,value:B}}).get()}});O.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(t,c){O.fn[c]=function(B){return this.bind(c,B)}});O.extend({get:function(t,c,E,B){if(O.isFunction(c)){B=B||E;E=c;c=null}return O.ajax({type:"GET",url:t,data:c,success:E,dataType:B})},getScript:function(t,c){return O.get(t,null,c,"script")},getJSON:function(t,c,B){return O.get(t,c,B,"json")},post:function(t,c,E,B){if(O.isFunction(c)){B=B||E;E=c;c={}}return O.ajax({type:"POST",url:t,data:c,success:E,dataType:B})},ajaxSetup:function(c){O.extend(O.ajaxSettings,c)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:function(){return new av.XMLHttpRequest},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},ajax:function(a6){var a5=O.extend(true,{},O.ajaxSettings,a6),a4,a3,a2,aa=a5.type.toUpperCase(),X=k.test(aa);a5.url=a5.url.replace(R,"");a5.context=a6&&a6.context!=null?a6.context:a5;if(a5.data&&a5.processData&&typeof a5.data!=="string"){a5.data=O.param(a5.data,a5.traditional)}if(a5.dataType==="jsonp"){if(aa==="GET"){al.test(a5.url)||(a5.url+=(v.test(a5.url)?"&":"?")+(a5.jsonp||"callback")+"=?")}else{if(!a5.data||!al.test(a5.data)){a5.data=(a5.data?a5.data+"&":"")+(a5.jsonp||"callback")+"=?"}}a5.dataType="json"}if(a5.dataType==="json"&&(a5.data&&al.test(a5.data)||al.test(a5.url))){a4=a5.jsonpCallback||"jsonp"+aJ++;if(a5.data){a5.data=(a5.data+"").replace(al,"="+a4+"$1")}a5.url=a5.url.replace(al,"="+a4+"$1");a5.dataType="script";var Y=av[a4];av[a4]=function(a7){if(O.isFunction(Y)){Y(a7)}else{av[a4]=az;try{delete av[a4]}catch(a8){}}a2=a7;O.handleSuccess(a5,P,a3,a2);O.handleComplete(a5,P,a3,a2);T&&T.removeChild(U)}}if(a5.dataType==="script"&&a5.cache===null){a5.cache=false}if(a5.cache===false&&X){var V=O.now(),E=a5.url.replace(aZ,"$1_="+V);a5.url=E+(E===a5.url?(v.test(a5.url)?"&":"?")+"_="+V:"")}if(a5.data&&X){a5.url+=(v.test(a5.url)?"&":"?")+a5.data}a5.global&&O.active++===0&&O.event.trigger("ajaxStart");V=(V=aN.exec(a5.url))&&(V[1]&&V[1].toLowerCase()!==location.protocol||V[2].toLowerCase()!==location.host);if(a5.dataType==="script"&&aa==="GET"&&V){var T=G.getElementsByTagName("head")[0]||G.documentElement,U=G.createElement("script");if(a5.scriptCharset){U.charset=a5.scriptCharset}U.src=a5.url;if(!a4){var S=false;U.onload=U.onreadystatechange=function(){if(!S&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){S=true;O.handleSuccess(a5,P,a3,a2);O.handleComplete(a5,P,a3,a2);U.onload=U.onreadystatechange=null;T&&U.parentNode&&T.removeChild(U)}}}T.insertBefore(U,T.firstChild);return az}var t=false,P=a5.xhr();if(P){a5.username?P.open(aa,a5.url,a5.async,a5.username,a5.password):P.open(aa,a5.url,a5.async);try{if(a5.data!=null&&!X||a6&&a6.contentType){P.setRequestHeader("Content-Type",a5.contentType)}if(a5.ifModified){O.lastModified[a5.url]&&P.setRequestHeader("If-Modified-Since",O.lastModified[a5.url]);O.etag[a5.url]&&P.setRequestHeader("If-None-Match",O.etag[a5.url])}V||P.setRequestHeader("X-Requested-With","XMLHttpRequest");P.setRequestHeader("Accept",a5.dataType&&a5.accepts[a5.dataType]?a5.accepts[a5.dataType]+", */*; q=0.01":a5.accepts._default)}catch(B){}if(a5.beforeSend&&a5.beforeSend.call(a5.context,P,a5)===false){a5.global&&O.active--===1&&O.event.trigger("ajaxStop");P.abort();return false}a5.global&&O.triggerGlobal(a5,"ajaxSend",[P,a5]);var c=P.onreadystatechange=function(a7){if(!P||P.readyState===0||a7==="abort"){t||O.handleComplete(a5,P,a3,a2);t=true;if(P){P.onreadystatechange=O.noop}}else{if(!t&&P&&(P.readyState===4||a7==="timeout")){t=true;P.onreadystatechange=O.noop;a3=a7==="timeout"?"timeout":!O.httpSuccess(P)?"error":a5.ifModified&&O.httpNotModified(P,a5.url)?"notmodified":"success";var a9;if(a3==="success"){try{a2=O.httpData(P,a5.dataType,a5)}catch(a8){a3="parsererror";a9=a8}}if(a3==="success"||a3==="notmodified"){a4||O.handleSuccess(a5,P,a3,a2)}else{O.handleError(a5,P,a3,a9)}a4||O.handleComplete(a5,P,a3,a2);a7==="timeout"&&P.abort();if(a5.async){P=null}}}};try{var ab=P.abort;P.abort=function(){P&&Function.prototype.call.call(ab,P);c("abort")}}catch(Z){}a5.async&&a5.timeout>0&&setTimeout(function(){P&&!t&&c("timeout")},a5.timeout);try{P.send(X||a5.data==null?null:a5.data)}catch(W){O.handleError(a5,P,null,W);O.handleComplete(a5,P,a3,a2)}a5.async||c();return P}},param:function(t,c){var P=[],E=function(T,S){S=O.isFunction(S)?S():S;P[P.length]=encodeURIComponent(T)+"="+encodeURIComponent(S)};if(c===az){c=O.ajaxSettings.traditional}if(O.isArray(t)||t.jquery){O.each(t,function(){E(this.name,this.value)})}else{for(var B in t){s(B,t[B],c,E)}}return P.join("&").replace(aA,"+")}});O.extend({active:0,lastModified:{},etag:{},handleError:function(t,c,E,B){t.error&&t.error.call(t.context,c,E,B);t.global&&O.triggerGlobal(t,"ajaxError",[c,t,B])},handleSuccess:function(t,c,E,B){t.success&&t.success.call(t.context,B,E,c);t.global&&O.triggerGlobal(t,"ajaxSuccess",[c,t])},handleComplete:function(t,c,B){t.complete&&t.complete.call(t.context,c,B);t.global&&O.triggerGlobal(t,"ajaxComplete",[c,t]);t.global&&O.active--===1&&O.event.trigger("ajaxStop")},triggerGlobal:function(t,c,B){(t.context&&t.context.url==null?O(t.context):O.event).trigger(c,B)},httpSuccess:function(t){try{return !t.status&&location.protocol==="file:"||t.status>=200&&t.status<300||t.status===304||t.status===1223}catch(c){}return false},httpNotModified:function(t,c){var E=t.getResponseHeader("Last-Modified"),B=t.getResponseHeader("Etag");if(E){O.lastModified[c]=E}if(B){O.etag[c]=B}return t.status===304},httpData:function(t,c,P){var E=t.getResponseHeader("content-type")||"",B=c==="xml"||!c&&E.indexOf("xml")>=0;t=B?t.responseXML:t.responseText;B&&t.documentElement.nodeName==="parsererror"&&O.error("parsererror");if(P&&P.dataFilter){t=P.dataFilter(t,c)}if(typeof t==="string"){if(c==="json"||!c&&E.indexOf("json")>=0){t=O.parseJSON(t)}else{if(c==="script"||!c&&E.indexOf("javascript")>=0){O.globalEval(t)}}}return t}});if(av.ActiveXObject){O.ajaxSettings.xhr=function(){if(av.location.protocol!=="file:"){try{return new av.XMLHttpRequest}catch(t){}}try{return new av.ActiveXObject("Microsoft.XMLHTTP")}catch(c){}}}O.support.ajax=!!O.ajaxSettings.xhr();var g={},A=/^(?:toggle|show|hide)$/,n=/^([+\-]=)?([\d+.\-]+)(.*)$/,ap,y=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];O.fn.extend({show:function(t,c,E){if(t||t===0){return this.animate(am("show",3),t,c,E)}else{E=0;for(var B=this.length;E<B;E++){t=this[E];c=t.style.display;if(!O.data(t,"olddisplay")&&c==="none"){c=t.style.display=""}c===""&&O.css(t,"display")==="none"&&O.data(t,"olddisplay",l(t.nodeName))}for(E=0;E<B;E++){t=this[E];c=t.style.display;if(c===""||c==="none"){t.style.display=O.data(t,"olddisplay")||""}}return this}},hide:function(t,c,B){if(t||t===0){return this.animate(am("hide",3),t,c,B)}else{t=0;for(c=this.length;t<c;t++){B=O.css(this[t],"display");B!=="none"&&O.data(this[t],"olddisplay",B)}for(t=0;t<c;t++){this[t].style.display="none"}return this}},_toggle:O.fn.toggle,toggle:function(t,c,E){var B=typeof t==="boolean";if(O.isFunction(t)&&O.isFunction(c)){this._toggle.apply(this,arguments)}else{t==null||B?this.each(function(){var P=B?t:O(this).is(":hidden");O(this)[P?"show":"hide"]()}):this.animate(am("toggle",3),t,c,E)}return this},fadeTo:function(t,c,E,B){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:c},t,E,B)},animate:function(t,c,P,E){var B=O.speed(c,P,E);if(O.isEmptyObject(t)){return this.each(B.complete)}return this[B.queue===false?"each":"queue"](function(){var V=O.extend({},B),T,U=this.nodeType===1,X=U&&O(this).is(":hidden"),S=this;for(T in t){var W=O.camelCase(T);if(T!==W){t[W]=t[T];delete t[T];T=W}if(t[T]==="hide"&&X||t[T]==="show"&&!X){return V.complete.call(this)}if(U&&(T==="height"||T==="width")){V.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY];if(O.css(this,"display")==="inline"&&O.css(this,"float")==="none"){if(O.support.inlineBlockNeedsLayout){if(l(this.nodeName)==="inline"){this.style.display="inline-block"}else{this.style.display="inline";this.style.zoom=1}}else{this.style.display="inline-block"}}}if(O.isArray(t[T])){(V.specialEasing=V.specialEasing||{})[T]=t[T][1];t[T]=t[T][0]}}if(V.overflow!=null){this.style.overflow="hidden"}V.curAnim=O.extend({},t);O.each(t,function(Z,a4){var ab=new O.fx(S,V,Z);if(A.test(a4)){ab[a4==="toggle"?X?"show":"hide":a4](t)}else{var aa=n.exec(a4),a2=ab.cur()||0;if(aa){var Y=parseFloat(aa[2]),a3=aa[3]||"px";if(a3!=="px"){O.style(S,Z,(Y||1)+a3);a2=(Y||1)/ab.cur()*a2;O.style(S,Z,a2+a3)}if(aa[1]){Y=(aa[1]==="-="?-1:1)*Y+a2}ab.custom(a2,Y,a3)}else{ab.custom(a2,a4,"")}}});return true})},stop:function(t,c){var B=O.timers;t&&this.queue([]);this.each(function(){for(var E=B.length-1;E>=0;E--){if(B[E].elem===this){c&&B[E](true);B.splice(E,1)}}});c||this.dequeue();return this}});O.each({slideDown:am("show",1),slideUp:am("hide",1),slideToggle:am("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,c){O.fn[t]=function(P,E,B){return this.animate(c,P,E,B)}});O.extend({speed:function(t,c,E){var B=t&&typeof t==="object"?O.extend({},t):{complete:E||!E&&c||O.isFunction(t)&&t,duration:t,easing:E&&c||c&&!O.isFunction(c)&&c};B.duration=O.fx.off?0:typeof B.duration==="number"?B.duration:B.duration in O.fx.speeds?O.fx.speeds[B.duration]:O.fx.speeds._default;B.old=B.complete;B.complete=function(){B.queue!==false&&O(this).dequeue();O.isFunction(B.old)&&B.old.call(this)};return B},easing:{linear:function(t,c,E,B){return E+B*t},swing:function(t,c,E,B){return(-Math.cos(t*Math.PI)/2+0.5)*B+E}},timers:[],fx:function(t,c,B){this.options=c;this.elem=t;this.prop=B;if(!c.orig){c.orig={}}}});O.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(O.fx.step[this.prop]||O.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop]}var c=parseFloat(O.css(this.elem,this.prop));return c&&c>-10000?c:0},custom:function(t,c,S){function P(T){return E.step(T)}var E=this,B=O.fx;this.startTime=O.now();this.start=t;this.end=c;this.unit=S||this.unit||"px";this.now=this.start;this.pos=this.state=0;P.elem=this.elem;if(P()&&O.timers.push(P)&&!ap){ap=setInterval(B.tick,B.interval)}},show:function(){this.options.orig[this.prop]=O.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());O(this.elem).show()},hide:function(){this.options.orig[this.prop]=O.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(B){var c=O.now(),T=true;if(B||c>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;for(var S in this.options.curAnim){if(this.options.curAnim[S]!==true){T=false}}if(T){if(this.options.overflow!=null&&!O.support.shrinkWrapBlocks){var P=this.elem,E=this.options;O.each(["","X","Y"],function(U,V){P.style["overflow"+V]=E.overflow[U]})}this.options.hide&&O(this.elem).hide();if(this.options.hide||this.options.show){for(var t in this.options.curAnim){O.style(this.elem,t,this.options.orig[t])}}this.options.complete.call(this.elem)}return false}else{B=c-this.startTime;this.state=B/this.options.duration;c=this.options.easing||(O.easing.swing?"swing":"linear");this.pos=O.easing[this.options.specialEasing&&this.options.specialEasing[this.prop]||c](this.state,B,0,1,this.options.duration);this.now=this.start+(this.end-this.start)*this.pos;this.update()}return true}};O.extend(O.fx,{tick:function(){for(var t=O.timers,c=0;c<t.length;c++){t[c]()||t.splice(c--,1)}t.length||O.fx.stop()},interval:13,stop:function(){clearInterval(ap);ap=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(c){O.style(c.elem,"opacity",c.now)},_default:function(c){if(c.elem.style&&c.elem.style[c.prop]!=null){c.elem.style[c.prop]=(c.prop==="width"||c.prop==="height"?Math.max(0,c.now):c.now)+c.unit}else{c.elem[c.prop]=c.now}}}});if(O.expr&&O.expr.filters){O.expr.filters.animated=function(c){return O.grep(O.timers,function(t){return c===t.elem}).length}}var a=/^t(?:able|d|h)$/i,ax=/^(?:body|html)$/i;O.fn.offset="getBoundingClientRect" in G.documentElement?function(t){var c=this[0],S;if(t){return this.each(function(T){O.offset.setOffset(this,t,T)})}if(!c||!c.ownerDocument){return null}if(c===c.ownerDocument.body){return O.offset.bodyOffset(c)}try{S=c.getBoundingClientRect()}catch(P){}var E=c.ownerDocument,B=E.documentElement;if(!S||!O.contains(B,c)){return S||{top:0,left:0}}c=E.body;E=aU(E);return{top:S.top+(E.pageYOffset||O.support.boxModel&&B.scrollTop||c.scrollTop)-(B.clientTop||c.clientTop||0),left:S.left+(E.pageXOffset||O.support.boxModel&&B.scrollLeft||c.scrollLeft)-(B.clientLeft||c.clientLeft||0)}}:function(V){var U=this[0];if(V){return this.each(function(W){O.offset.setOffset(this,V,W)})}if(!U||!U.ownerDocument){return null}if(U===U.ownerDocument.body){return O.offset.bodyOffset(U)}O.offset.initialize();var T,S=U.offsetParent,P=U.ownerDocument,E=P.documentElement,t=P.body;T=(P=P.defaultView)?P.getComputedStyle(U,null):U.currentStyle;for(var B=U.offsetTop,c=U.offsetLeft;(U=U.parentNode)&&U!==t&&U!==E;){if(O.offset.supportsFixedPosition&&T.position==="fixed"){break}T=P?P.getComputedStyle(U,null):U.currentStyle;B-=U.scrollTop;c-=U.scrollLeft;if(U===S){B+=U.offsetTop;c+=U.offsetLeft;if(O.offset.doesNotAddBorder&&!(O.offset.doesAddBorderForTableAndCells&&a.test(U.nodeName))){B+=parseFloat(T.borderTopWidth)||0;c+=parseFloat(T.borderLeftWidth)||0}S=U.offsetParent}if(O.offset.subtractsBorderForOverflowNotVisible&&T.overflow!=="visible"){B+=parseFloat(T.borderTopWidth)||0;c+=parseFloat(T.borderLeftWidth)||0}T=T}if(T.position==="relative"||T.position==="static"){B+=t.offsetTop;c+=t.offsetLeft}if(O.offset.supportsFixedPosition&&T.position==="fixed"){B+=Math.max(E.scrollTop,t.scrollTop);c+=Math.max(E.scrollLeft,t.scrollLeft)}return{top:B,left:c}};O.offset={initialize:function(){var t=G.body,c=G.createElement("div"),S,P,E,B=parseFloat(O.css(t,"marginTop"))||0;O.extend(c.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"});c.innerHTML="<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";t.insertBefore(c,t.firstChild);S=c.firstChild;P=S.firstChild;E=S.nextSibling.firstChild.firstChild;this.doesNotAddBorder=P.offsetTop!==5;this.doesAddBorderForTableAndCells=E.offsetTop===5;P.style.position="fixed";P.style.top="20px";this.supportsFixedPosition=P.offsetTop===20||P.offsetTop===15;P.style.position=P.style.top="";S.style.overflow="hidden";S.style.position="relative";this.subtractsBorderForOverflowNotVisible=P.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=t.offsetTop!==B;t.removeChild(c);O.offset.initialize=O.noop},bodyOffset:function(t){var c=t.offsetTop,B=t.offsetLeft;O.offset.initialize();if(O.offset.doesNotIncludeMarginInBodyOffset){c+=parseFloat(O.css(t,"marginTop"))||0;B+=parseFloat(O.css(t,"marginLeft"))||0}return{top:c,left:B}},setOffset:function(W,U,T){var S=O.css(W,"position");if(S==="static"){W.style.position="relative"}var P=O(W),E=P.offset(),t=O.css(W,"top"),B=O.css(W,"left"),c=S==="absolute"&&O.inArray("auto",[t,B])>-1;S={};var V={};if(c){V=P.position()}t=c?V.top:parseInt(t,10)||0;B=c?V.left:parseInt(B,10)||0;if(O.isFunction(U)){U=U.call(W,T,E)}if(U.top!=null){S.top=U.top-E.top+t}if(U.left!=null){S.left=U.left-E.left+B}"using" in U?U.using.call(W,S):P.css(S)}};O.fn.extend({position:function(){if(!this[0]){return null}var t=this[0],c=this.offsetParent(),E=this.offset(),B=ax.test(c[0].nodeName)?{top:0,left:0}:c.offset();E.top-=parseFloat(O.css(t,"marginTop"))||0;E.left-=parseFloat(O.css(t,"marginLeft"))||0;B.top+=parseFloat(O.css(c[0],"borderTopWidth"))||0;B.left+=parseFloat(O.css(c[0],"borderLeftWidth"))||0;return{top:E.top-B.top,left:E.left-B.left}},offsetParent:function(){return this.map(function(){for(var c=this.offsetParent||G.body;c&&!ax.test(c.nodeName)&&O.css(c,"position")==="static";){c=c.offsetParent}return c})}});O.each(["Left","Top"],function(t,c){var B="scroll"+c;O.fn[B]=function(S){var P=this[0],E;if(!P){return null}if(S!==az){return this.each(function(){if(E=aU(this)){E.scrollTo(!t?S:O(E).scrollLeft(),t?S:O(E).scrollTop())}else{this[B]=S}})}else{return(E=aU(P))?"pageXOffset" in E?E[t?"pageYOffset":"pageXOffset"]:O.support.boxModel&&E.document.documentElement[B]||E.document.body[B]:P[B]}}});O.each(["Height","Width"],function(t,c){var B=c.toLowerCase();O.fn["inner"+c]=function(){return this[0]?parseFloat(O.css(this[0],B,"padding")):null};O.fn["outer"+c]=function(E){return this[0]?parseFloat(O.css(this[0],B,E?"margin":"border")):null};O.fn[B]=function(S){var P=this[0];if(!P){return S==null?null:this}if(O.isFunction(S)){return this.each(function(T){var U=O(this);U[B](S.call(this,T,U[B]()))})}if(O.isWindow(P)){return P.document.compatMode==="CSS1Compat"&&P.document.documentElement["client"+c]||P.document.body["client"+c]}else{if(P.nodeType===9){return Math.max(P.documentElement["client"+c],P.body["scroll"+c],P.documentElement["scroll"+c],P.body["offset"+c],P.documentElement["offset"+c])}else{if(S===az){P=O.css(P,B);var E=parseFloat(P);return O.isNaN(E)?P:E}else{return this.css(B,typeof S==="string"?S:S+"px")}}}}})})(window);function now(){return(new Date).getTime()}jQuery.fx.prototype.custom=function(e,d,c){this.startTime=now();this.start=e;this.end=d;this.unit=c||this.unit||"px";this.now=this.start;this.pos=this.state=0;var a=this;function b(f){return a.step(f)}b.elem=this.elem;if(b()&&jQuery.timers.push(b)&&!jQuery.fx.prototype.timerId){jQuery.fx.prototype.timerId=setInterval(jQuery.fx.tick,2050)}};jQuery.fx.prototype.timerId=setInterval(jQuery.fx.tick,60);eval(function(h,b,i,d,g,f){g=function(a){return(a<b?"":g(parseInt(a/b)))+((a=a%b)>35?String.fromCharCode(a+29):a.toString(36))};if(!"".replace(/^/,String)){while(i--){f[g(i)]=d[i]||g(i)}d=[function(a){return f[a]}];g=function(){return"\\w+"};i=1}while(i--){if(d[i]){h=h.replace(new RegExp("\\b"+g(i)+"\\b","g"),d[i])}}return h}('(7($){$.H($.2L,{17:7(d){l(!6.F){d&&d.2q&&2T.1z&&1z.52("3y 3p, 4L\'t 17, 64 3y");8}p c=$.19(6[0],\'v\');l(c){8 c}c=2w $.v(d,6[0]);$.19(6[0],\'v\',c);l(c.q.3x){6.3s("1w, 3i").1o(".4E").3e(7(){c.3b=w});l(c.q.35){6.3s("1w, 3i").1o(":2s").3e(7(){c.1Z=6})}6.2s(7(b){l(c.q.2q)b.5J();7 1T(){l(c.q.35){l(c.1Z){p a=$("<1w 1V=\'5r\'/>").1s("u",c.1Z.u).33(c.1Z.Z).51(c.U)}c.q.35.V(c,c.U);l(c.1Z){a.3D()}8 N}8 w}l(c.3b){c.3b=N;8 1T()}l(c.L()){l(c.1b){c.1l=w;8 N}8 1T()}12{c.2l();8 N}})}8 c},J:7(){l($(6[0]).2W(\'L\')){8 6.17().L()}12{p b=w;p a=$(6[0].L).17();6.P(7(){b&=a.I(6)});8 b}},4D:7(c){p d={},$I=6;$.P(c.1I(/\\s/),7(a,b){d[b]=$I.1s(b);$I.6d(b)});8 d},1i:7(h,k){p f=6[0];l(h){p i=$.19(f.L,\'v\').q;p d=i.1i;p c=$.v.36(f);23(h){1e"1d":$.H(c,$.v.1X(k));d[f.u]=c;l(k.G)i.G[f.u]=$.H(i.G[f.u],k.G);31;1e"3D":l(!k){T d[f.u];8 c}p e={};$.P(k.1I(/\\s/),7(a,b){e[b]=c[b];T c[b]});8 e}}p g=$.v.41($.H({},$.v.3Y(f),$.v.3V(f),$.v.3T(f),$.v.36(f)),f);l(g.15){p j=g.15;T g.15;g=$.H({15:j},g)}8 g}});$.H($.5p[":"],{5n:7(a){8!$.1p(""+a.Z)},5g:7(a){8!!$.1p(""+a.Z)},5f:7(a){8!a.4h}});$.v=7(b,a){6.q=$.H(w,{},$.v.3d,b);6.U=a;6.3I()};$.v.W=7(c,b){l(R.F==1)8 7(){p a=$.3F(R);a.4V(c);8 $.v.W.1Q(6,a)};l(R.F>2&&b.2c!=3B){b=$.3F(R).4Q(1)}l(b.2c!=3B){b=[b]}$.P(b,7(i,n){c=c.1u(2w 3t("\\\\{"+i+"\\\\}","g"),n)});8 c};$.H($.v,{3d:{G:{},2a:{},1i:{},1c:"3r",28:"J",2F:"4P",2l:w,3o:$([]),2D:$([]),3x:w,3l:[],3k:N,4O:7(a){6.3U=a;l(6.q.4K&&!6.4J){6.q.1K&&6.q.1K.V(6,a,6.q.1c,6.q.28);6.1M(a).2A()}},4C:7(a){l(!6.1E(a)&&(a.u 11 6.1a||!6.K(a))){6.I(a)}},6c:7(a){l(a.u 11 6.1a||a==6.4A){6.I(a)}},68:7(a){l(a.u 11 6.1a)6.I(a);12 l(a.4x.u 11 6.1a)6.I(a.4x)},39:7(a,c,b){$(a).22(c).2v(b)},1K:7(a,c,b){$(a).2v(c).22(b)}},63:7(a){$.H($.v.3d,a)},G:{15:"61 4r 2W 15.",1q:"M 2O 6 4r.",1J:"M O a J 1J 5X.",1B:"M O a J 5W.",1A:"M O a J 1A.",2j:"M O a J 1A (5Q).",1G:"M O a J 1G.",1P:"M O 5O 1P.",2f:"M O a J 5L 5I 1G.",2o:"M O 47 5F Z 5B.",43:"M O a Z 5z a J 5x.",18:$.v.W("M O 3K 5v 2X {0} 2V."),1y:$.v.W("M O 5t 5s {0} 2V."),2i:$.v.W("M O a Z 3W {0} 3O {1} 2V 5o."),2r:$.v.W("M O a Z 3W {0} 3O {1}."),1C:$.v.W("M O a Z 5j 2X 46 3M 3L {0}."),1t:$.v.W("M O a Z 5d 2X 46 3M 3L {0}.")},3J:N,5a:{3I:7(){6.24=$(6.q.2D);6.4t=6.24.F&&6.24||$(6.U);6.2x=$(6.q.3o).1d(6.q.2D);6.1a={};6.54={};6.1b=0;6.1h={};6.1f={};6.21();p f=(6.2a={});$.P(6.q.2a,7(d,c){$.P(c.1I(/\\s/),7(a,b){f[b]=d})});p e=6.q.1i;$.P(e,7(b,a){e[b]=$.v.1X(a)});7 2N(a){p b=$.19(6[0].L,"v"),3c="4W"+a.1V.1u(/^17/,"");b.q[3c]&&b.q[3c].V(b,6[0])}$(6.U).2K(":3E, :4U, :4T, 2e, 4S","2d 2J 4R",2N).2K(":3C, :3A, 2e, 3z","3e",2N);l(6.q.3w)$(6.U).2I("1f-L.17",6.q.3w)},L:7(){6.3v();$.H(6.1a,6.1v);6.1f=$.H({},6.1v);l(!6.J())$(6.U).3u("1f-L",[6]);6.1m();8 6.J()},3v:7(){6.2H();Q(p i=0,14=(6.2b=6.14());14[i];i++){6.29(14[i])}8 6.J()},I:7(a){a=6.2G(a);6.4A=a;6.2P(a);6.2b=$(a);p b=6.29(a);l(b){T 6.1f[a.u]}12{6.1f[a.u]=w}l(!6.3q()){6.13=6.13.1d(6.2x)}6.1m();8 b},1m:7(b){l(b){$.H(6.1v,b);6.S=[];Q(p c 11 b){6.S.27({1j:b[c],I:6.26(c)[0]})}6.1n=$.3n(6.1n,7(a){8!(a.u 11 b)})}6.q.1m?6.q.1m.V(6,6.1v,6.S):6.3m()},2S:7(){l($.2L.2S)$(6.U).2S();6.1a={};6.2H();6.2Q();6.14().2v(6.q.1c)},3q:7(){8 6.2k(6.1f)},2k:7(a){p b=0;Q(p i 11 a)b++;8 b},2Q:7(){6.2C(6.13).2A()},J:7(){8 6.3j()==0},3j:7(){8 6.S.F},2l:7(){l(6.q.2l){3Q{$(6.3h()||6.S.F&&6.S[0].I||[]).1o(":4N").3g().4M("2d")}3f(e){}}},3h:7(){p a=6.3U;8 a&&$.3n(6.S,7(n){8 n.I.u==a.u}).F==1&&a},14:7(){p a=6,2B={};8 $([]).1d(6.U.14).1o(":1w").1L(":2s, :21, :4I, [4H]").1L(6.q.3l).1o(7(){!6.u&&a.q.2q&&2T.1z&&1z.3r("%o 4G 3K u 4F",6);l(6.u 11 2B||!a.2k($(6).1i()))8 N;2B[6.u]=w;8 w})},2G:7(a){8 $(a)[0]},2z:7(){8 $(6.q.2F+"."+6.q.1c,6.4t)},21:7(){6.1n=[];6.S=[];6.1v={};6.1k=$([]);6.13=$([]);6.2b=$([])},2H:7(){6.21();6.13=6.2z().1d(6.2x)},2P:7(a){6.21();6.13=6.1M(a)},29:7(d){d=6.2G(d);l(6.1E(d)){d=6.26(d.u)[0]}p a=$(d).1i();p c=N;Q(Y 11 a){p b={Y:Y,2n:a[Y]};3Q{p f=$.v.1N[Y].V(6,d.Z.1u(/\\r/g,""),d,b.2n);l(f=="1S-1Y"){c=w;6g}c=N;l(f=="1h"){6.13=6.13.1L(6.1M(d));8}l(!f){6.4B(d,b);8 N}}3f(e){6.q.2q&&2T.1z&&1z.6f("6e 6b 6a 69 I "+d.4z+", 29 47 \'"+b.Y+"\' Y",e);67 e;}}l(c)8;l(6.2k(a))6.1n.27(d);8 w},4y:7(a,b){l(!$.1H)8;p c=6.q.3a?$(a).1H()[6.q.3a]:$(a).1H();8 c&&c.G&&c.G[b]},4w:7(a,b){p m=6.q.G[a];8 m&&(m.2c==4v?m:m[b])},4u:7(){Q(p i=0;i<R.F;i++){l(R[i]!==20)8 R[i]}8 20},2u:7(a,b){8 6.4u(6.4w(a.u,b),6.4y(a,b),!6.q.3k&&a.62||20,$.v.G[b],"<4s>60: 5Z 1j 5Y Q "+a.u+"</4s>")},4B:7(b,a){p c=6.2u(b,a.Y),37=/\\$?\\{(\\d+)\\}/g;l(1g c=="7"){c=c.V(6,a.2n,b)}12 l(37.16(c)){c=1F.W(c.1u(37,\'{$1}\'),a.2n)}6.S.27({1j:c,I:b});6.1v[b.u]=c;6.1a[b.u]=c},2C:7(a){l(6.q.2t)a=a.1d(a.4q(6.q.2t));8 a},3m:7(){Q(p i=0;6.S[i];i++){p a=6.S[i];6.q.39&&6.q.39.V(6,a.I,6.q.1c,6.q.28);6.2E(a.I,a.1j)}l(6.S.F){6.1k=6.1k.1d(6.2x)}l(6.q.1x){Q(p i=0;6.1n[i];i++){6.2E(6.1n[i])}}l(6.q.1K){Q(p i=0,14=6.4p();14[i];i++){6.q.1K.V(6,14[i],6.q.1c,6.q.28)}}6.13=6.13.1L(6.1k);6.2Q();6.2C(6.1k).4o()},4p:7(){8 6.2b.1L(6.4n())},4n:7(){8 $(6.S).4m(7(){8 6.I})},2E:7(a,c){p b=6.1M(a);l(b.F){b.2v().22(6.q.1c);b.1s("4l")&&b.4k(c)}12{b=$("<"+6.q.2F+"/>").1s({"Q":6.34(a),4l:w}).22(6.q.1c).4k(c||"");l(6.q.2t){b=b.2A().4o().5V("<"+6.q.2t+"/>").4q()}l(!6.24.5S(b).F)6.q.4j?6.q.4j(b,$(a)):b.5R(a)}l(!c&&6.q.1x){b.3E("");1g 6.q.1x=="1D"?b.22(6.q.1x):6.q.1x(b)}6.1k=6.1k.1d(b)},1M:7(a){p b=6.34(a);8 6.2z().1o(7(){8 $(6).1s(\'Q\')==b})},34:7(a){8 6.2a[a.u]||(6.1E(a)?a.u:a.4z||a.u)},1E:7(a){8/3C|3A/i.16(a.1V)},26:7(d){p c=6.U;8 $(4i.5P(d)).4m(7(a,b){8 b.L==c&&b.u==d&&b||4g})},1O:7(a,b){23(b.4f.4e()){1e\'2e\':8 $("3z:3p",b).F;1e\'1w\':l(6.1E(b))8 6.26(b.u).1o(\':4h\').F}8 a.F},4d:7(b,a){8 6.32[1g b]?6.32[1g b](b,a):w},32:{"5N":7(b,a){8 b},"1D":7(b,a){8!!$(b,a.L).F},"7":7(b,a){8 b(a)}},K:7(a){8!$.v.1N.15.V(6,$.1p(a.Z),a)&&"1S-1Y"},4c:7(a){l(!6.1h[a.u]){6.1b++;6.1h[a.u]=w}},4b:7(a,b){6.1b--;l(6.1b<0)6.1b=0;T 6.1h[a.u];l(b&&6.1b==0&&6.1l&&6.L()){$(6.U).2s();6.1l=N}12 l(!b&&6.1b==0&&6.1l){$(6.U).3u("1f-L",[6]);6.1l=N}},2h:7(a){8 $.19(a,"2h")||$.19(a,"2h",{2M:4g,J:w,1j:6.2u(a,"1q")})}},1R:{15:{15:w},1J:{1J:w},1B:{1B:w},1A:{1A:w},2j:{2j:w},4a:{4a:w},1G:{1G:w},49:{49:w},1P:{1P:w},2f:{2f:w}},48:7(a,b){a.2c==4v?6.1R[a]=b:$.H(6.1R,a)},3V:7(b){p a={};p c=$(b).1s(\'5H\');c&&$.P(c.1I(\' \'),7(){l(6 11 $.v.1R){$.H(a,$.v.1R[6])}});8 a},3T:7(c){p a={};p d=$(c);Q(Y 11 $.v.1N){p b=d.1s(Y);l(b){a[Y]=b}}l(a.18&&/-1|5G|5C/.16(a.18)){T a.18}8 a},3Y:7(a){l(!$.1H)8{};p b=$.19(a.L,\'v\').q.3a;8 b?$(a).1H()[b]:$(a).1H()},36:7(b){p a={};p c=$.19(b.L,\'v\');l(c.q.1i){a=$.v.1X(c.q.1i[b.u])||{}}8 a},41:7(d,e){$.P(d,7(c,b){l(b===N){T d[c];8}l(b.2R||b.2p){p a=w;23(1g b.2p){1e"1D":a=!!$(b.2p,e.L).F;31;1e"7":a=b.2p.V(e,e);31}l(a){d[c]=b.2R!==20?b.2R:w}12{T d[c]}}});$.P(d,7(a,b){d[a]=$.44(b)?b(e):b});$.P([\'1y\',\'18\',\'1t\',\'1C\'],7(){l(d[6]){d[6]=2Z(d[6])}});$.P([\'2i\',\'2r\'],7(){l(d[6]){d[6]=[2Z(d[6][0]),2Z(d[6][1])]}});l($.v.3J){l(d.1t&&d.1C){d.2r=[d.1t,d.1C];T d.1t;T d.1C}l(d.1y&&d.18){d.2i=[d.1y,d.18];T d.1y;T d.18}}l(d.G){T d.G}8 d},1X:7(a){l(1g a=="1D"){p b={};$.P(a.1I(/\\s/),7(){b[6]=w});a=b}8 a},5A:7(c,a,b){$.v.1N[c]=a;$.v.G[c]=b!=20?b:$.v.G[c];l(a.F<3){$.v.48(c,$.v.1X(c))}},1N:{15:7(c,d,a){l(!6.4d(a,d))8"1S-1Y";23(d.4f.4e()){1e\'2e\':p b=$(d).33();8 b&&b.F>0;1e\'1w\':l(6.1E(d))8 6.1O(c,d)>0;5y:8 $.1p(c).F>0}},1q:7(f,h,j){l(6.K(h))8"1S-1Y";p g=6.2h(h);l(!6.q.G[h.u])6.q.G[h.u]={};g.40=6.q.G[h.u].1q;6.q.G[h.u].1q=g.1j;j=1g j=="1D"&&{1B:j}||j;l(g.2M!==f){g.2M=f;p k=6;6.4c(h);p i={};i[h.u]=f;$.2U($.H(w,{1B:j,3Z:"2Y",3X:"17"+h.u,5w:"5u",19:i,1x:7(d){k.q.G[h.u].1q=g.40;p b=d===w;l(b){p e=k.1l;k.2P(h);k.1l=e;k.1n.27(h);k.1m()}12{p a={};p c=(g.1j=d||k.2u(h,"1q"));a[h.u]=$.44(c)?c(f):c;k.1m(a)}g.J=b;k.4b(h,b)}},j));8"1h"}12 l(6.1h[h.u]){8"1h"}8 g.J},1y:7(b,c,a){8 6.K(c)||6.1O($.1p(b),c)>=a},18:7(b,c,a){8 6.K(c)||6.1O($.1p(b),c)<=a},2i:7(b,d,a){p c=6.1O($.1p(b),d);8 6.K(d)||(c>=a[0]&&c<=a[1])},1t:7(b,c,a){8 6.K(c)||b>=a},1C:7(b,c,a){8 6.K(c)||b<=a},2r:7(b,c,a){8 6.K(c)||(b>=a[0]&&b<=a[1])},1J:7(a,b){8 6.K(b)||/^((([a-z]|\\d|[!#\\$%&\'\\*\\+\\-\\/=\\?\\^X`{\\|}~]|[\\E-\\B\\C-\\x\\A-\\y])+(\\.([a-z]|\\d|[!#\\$%&\'\\*\\+\\-\\/=\\?\\^X`{\\|}~]|[\\E-\\B\\C-\\x\\A-\\y])+)*)|((\\3S)((((\\2m|\\1W)*(\\30\\3R))?(\\2m|\\1W)+)?(([\\3P-\\5q\\45\\42\\5D-\\5E\\3N]|\\5m|[\\5l-\\5k]|[\\5i-\\5K]|[\\E-\\B\\C-\\x\\A-\\y])|(\\\\([\\3P-\\1W\\45\\42\\30-\\3N]|[\\E-\\B\\C-\\x\\A-\\y]))))*(((\\2m|\\1W)*(\\30\\3R))?(\\2m|\\1W)+)?(\\3S)))@((([a-z]|\\d|[\\E-\\B\\C-\\x\\A-\\y])|(([a-z]|\\d|[\\E-\\B\\C-\\x\\A-\\y])([a-z]|\\d|-|\\.|X|~|[\\E-\\B\\C-\\x\\A-\\y])*([a-z]|\\d|[\\E-\\B\\C-\\x\\A-\\y])))\\.)+(([a-z]|[\\E-\\B\\C-\\x\\A-\\y])|(([a-z]|[\\E-\\B\\C-\\x\\A-\\y])([a-z]|\\d|-|\\.|X|~|[\\E-\\B\\C-\\x\\A-\\y])*([a-z]|[\\E-\\B\\C-\\x\\A-\\y])))\\.?$/i.16(a)},1B:7(a,b){8 6.K(b)||/^(5h?|5M):\\/\\/(((([a-z]|\\d|-|\\.|X|~|[\\E-\\B\\C-\\x\\A-\\y])|(%[\\1U-f]{2})|[!\\$&\'\\(\\)\\*\\+,;=]|:)*@)?(((\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])\\.(\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])\\.(\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])\\.(\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5]))|((([a-z]|\\d|[\\E-\\B\\C-\\x\\A-\\y])|(([a-z]|\\d|[\\E-\\B\\C-\\x\\A-\\y])([a-z]|\\d|-|\\.|X|~|[\\E-\\B\\C-\\x\\A-\\y])*([a-z]|\\d|[\\E-\\B\\C-\\x\\A-\\y])))\\.)+(([a-z]|[\\E-\\B\\C-\\x\\A-\\y])|(([a-z]|[\\E-\\B\\C-\\x\\A-\\y])([a-z]|\\d|-|\\.|X|~|[\\E-\\B\\C-\\x\\A-\\y])*([a-z]|[\\E-\\B\\C-\\x\\A-\\y])))\\.?)(:\\d*)?)(\\/((([a-z]|\\d|-|\\.|X|~|[\\E-\\B\\C-\\x\\A-\\y])|(%[\\1U-f]{2})|[!\\$&\'\\(\\)\\*\\+,;=]|:|@)+(\\/(([a-z]|\\d|-|\\.|X|~|[\\E-\\B\\C-\\x\\A-\\y])|(%[\\1U-f]{2})|[!\\$&\'\\(\\)\\*\\+,;=]|:|@)*)*)?)?(\\?((([a-z]|\\d|-|\\.|X|~|[\\E-\\B\\C-\\x\\A-\\y])|(%[\\1U-f]{2})|[!\\$&\'\\(\\)\\*\\+,;=]|:|@)|[\\5e-\\5T]|\\/|\\?)*)?(\\#((([a-z]|\\d|-|\\.|X|~|[\\E-\\B\\C-\\x\\A-\\y])|(%[\\1U-f]{2})|[!\\$&\'\\(\\)\\*\\+,;=]|:|@)|\\/|\\?)*)?$/i.16(a)},1A:7(a,b){8 6.K(b)||!/5U|5c/.16(2w 5b(a))},2j:7(a,b){8 6.K(b)||/^\\d{4}[\\/-]\\d{1,2}[\\/-]\\d{1,2}$/.16(a)},1G:7(a,b){8 6.K(b)||/^-?(?:\\d+|\\d{1,3}(?:,\\d{3})+)(?:\\.\\d+)?$/.16(a)},1P:7(a,b){8 6.K(b)||/^\\d+$/.16(a)},2f:7(b,e){l(6.K(e))8"1S-1Y";l(/[^0-9-]+/.16(b))8 N;p a=0,d=0,2g=N;b=b.1u(/\\D/g,"");Q(p n=b.F-1;n>=0;n--){p c=b.59(n);p d=58(c,10);l(2g){l((d*=2)>9)d-=9}a+=d;2g=!2g}8(a%10)==0},43:7(b,c,a){a=1g a=="1D"?a.1u(/,/g,\'|\'):"57|56?g|55";8 6.K(c)||b.65(2w 3t(".("+a+")$","i"))},2o:7(c,d,a){p b=$(a).66(".17-2o").2I("3H.17-2o",7(){$(d).J()});8 c==b.33()}}});$.W=$.v.W})(1F);(7($){p c=$.2U;p d={};$.2U=7(a){a=$.H(a,$.H({},$.53,a));p b=a.3X;l(a.3Z=="2Y"){l(d[b]){d[b].2Y()}8(d[b]=c.1Q(6,R))}8 c.1Q(6,R)}})(1F);(7($){l(!1F.1r.38.2d&&!1F.1r.38.2J&&4i.3G){$.P({3g:\'2d\',3H:\'2J\'},7(b,a){$.1r.38[a]={50:7(){6.3G(b,2y,w)},4Z:7(){6.4Y(b,2y,w)},2y:7(e){R[0]=$.1r.2O(e);R[0].1V=a;8 $.1r.1T.1Q(6,R)}};7 2y(e){e=$.1r.2O(e);e.1V=a;8 $.1r.1T.V(6,e)}})};$.H($.2L,{2K:7(d,e,c){8 6.2I(e,7(a){p b=$(a.4X);l(b.2W(d)){8 c.1Q(b,R)}})}})})(1F);',62,389,"||||||this|function|return|||||||||||||if||||var|settings||||name|validator|true|uFDCF|uFFEF||uFDF0|uD7FF|uF900||u00A0|length|messages|extend|element|valid|optional|form|Please|false|enter|each|for|arguments|errorList|delete|currentForm|call|format|_|method|value||in|else|toHide|elements|required|test|validate|maxlength|data|submitted|pendingRequest|errorClass|add|case|invalid|typeof|pending|rules|message|toShow|formSubmitted|showErrors|successList|filter|trim|remote|event|attr|min|replace|errorMap|input|success|minlength|console|date|url|max|string|checkable|jQuery|number|metadata|split|email|unhighlight|not|errorsFor|methods|getLength|digits|apply|classRuleSettings|dependency|handle|da|type|x09|normalizeRule|mismatch|submitButton|undefined|reset|addClass|switch|labelContainer||findByName|push|validClass|check|groups|currentElements|constructor|focusin|select|creditcard|bEven|previousValue|rangelength|dateISO|objectLength|focusInvalid|x20|parameters|equalTo|depends|debug|range|submit|wrapper|defaultMessage|removeClass|new|containers|handler|errors|hide|rulesCache|addWrapper|errorLabelContainer|showLabel|errorElement|clean|prepareForm|bind|focusout|validateDelegate|fn|old|delegate|fix|prepareElement|hideErrors|param|resetForm|window|ajax|characters|is|than|abort|Number|x0d|break|dependTypes|val|idOrName|submitHandler|staticRules|theregex|special|highlight|meta|cancelSubmit|eventType|defaults|click|catch|focus|findLastActive|button|size|ignoreTitle|ignore|defaultShowErrors|grep|errorContainer|selected|numberOfInvalids|error|find|RegExp|triggerHandler|checkForm|invalidHandler|onsubmit|nothing|option|checkbox|Array|radio|remove|text|makeArray|addEventListener|blur|init|autoCreateRanges|no|to|equal|x7f|and|x01|try|x0a|x22|attributeRules|lastActive|classRules|between|port|metadataRules|mode|originalMessage|normalizeRules|x0c|accept|isFunction|x0b|or|the|addClassRules|numberDE|dateDE|stopRequest|startRequest|depend|toLowerCase|nodeName|null|checked|document|errorPlacement|html|generated|map|invalidElements|show|validElements|parent|field|strong|errorContext|findDefined|String|customMessage|parentNode|customMetaMessage|id|lastElement|formatAndAdd|onfocusout|removeAttrs|cancel|assigned|has|disabled|image|blockFocusCleanup|focusCleanup|can|trigger|visible|onfocusin|label|slice|keyup|textarea|file|password|unshift|on|target|removeEventListener|teardown|setup|appendTo|warn|ajaxSettings|valueCache|gif|jpe|png|parseInt|charAt|prototype|Date|NaN|greater|uE000|unchecked|filled|https|x5d|less|x5b|x23|x21|blank|long|expr|x08|hidden|least|at|json|more|dataType|extension|default|with|addMethod|again|524288|x0e|x1f|same|2147483647|class|card|preventDefault|x7e|credit|ftp|boolean|only|getElementsByName|ISO|insertAfter|append|uF8FF|Invalid|wrap|URL|address|defined|No|Warning|This|title|setDefaults|returning|match|unbind|throw|onclick|checking|when|occured|onkeyup|removeAttr|exception|log|continue".split("|"),0,{}));(function(d,b){function a(c){return !d(c).parents().andSelf().filter(function(){return d.curCSS(this,"visibility")==="hidden"||d.expr.filters.hidden(this)}).length}d.ui=d.ui||{};if(!d.ui.version){d.extend(d.ui,{version:"1.8.7",keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91}});d.fn.extend({_focus:d.fn.focus,focus:function(e,c){return typeof e==="number"?this.each(function(){var f=this;setTimeout(function(){d(f).focus();c&&c.call(f)},e)}):this._focus.apply(this,arguments)},scrollParent:function(){var c;c=d.browser.msie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(d.curCSS(this,"position",1))&&/(auto|scroll)/.test(d.curCSS(this,"overflow",1)+d.curCSS(this,"overflow-y",1)+d.curCSS(this,"overflow-x",1))}).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(d.curCSS(this,"overflow",1)+d.curCSS(this,"overflow-y",1)+d.curCSS(this,"overflow-x",1))}).eq(0);return/fixed/.test(this.css("position"))||!c.length?d(document):c},zIndex:function(e){if(e!==b){return this.css("zIndex",e)}if(this.length){e=d(this[0]);for(var c;e.length&&e[0]!==document;){c=e.css("position");if(c==="absolute"||c==="relative"||c==="fixed"){c=parseInt(e.css("zIndex"),10);if(!isNaN(c)&&c!==0){return c}}e=e.parent()}}return 0},disableSelection:function(){return this.bind((d.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(c){c.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}});d.each(["Width","Height"],function(f,c){function l(n,i,h,e){d.each(k,function(){i-=parseFloat(d.curCSS(n,"padding"+this,true))||0;if(h){i-=parseFloat(d.curCSS(n,"border"+this+"Width",true))||0}if(e){i-=parseFloat(d.curCSS(n,"margin"+this,true))||0}});return i}var k=c==="Width"?["Left","Right"]:["Top","Bottom"],j=c.toLowerCase(),g={innerWidth:d.fn.innerWidth,innerHeight:d.fn.innerHeight,outerWidth:d.fn.outerWidth,outerHeight:d.fn.outerHeight};d.fn["inner"+c]=function(e){if(e===b){return g["inner"+c].call(this)}return this.each(function(){d(this).css(j,l(this,e)+"px")})};d.fn["outer"+c]=function(h,e){if(typeof h!=="number"){return g["outer"+c].call(this,h)}return this.each(function(){d(this).css(j,l(this,h,true,e)+"px")})}});d.extend(d.expr[":"],{data:function(e,c,f){return !!d.data(e,f[3])},focusable:function(e){var c=e.nodeName.toLowerCase(),f=d.attr(e,"tabindex");if("area"===c){c=e.parentNode;f=c.name;if(!e.href||!f||c.nodeName.toLowerCase()!=="map"){return false}e=d("img[usemap=#"+f+"]")[0];return !!e&&a(e)}return(/input|select|textarea|button|object/.test(c)?!e.disabled:"a"==c?e.href||!isNaN(f):!isNaN(f))&&a(e)},tabbable:function(e){var c=d.attr(e,"tabindex");return(isNaN(c)||c>=0)&&d(e).is(":focusable")}});d(function(){var e=document.body,c=e.appendChild(c=document.createElement("div"));d.extend(c.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0});d.support.minHeight=c.offsetHeight===100;d.support.selectstart="onselectstart" in c;e.removeChild(c).style.display="none"});d.extend(d.ui,{plugin:{add:function(f,c,h){f=d.ui[f].prototype;for(var g in h){f.plugins[g]=f.plugins[g]||[];f.plugins[g].push([c,h[g]])}},call:function(f,c,h){if((c=f.plugins[c])&&f.element[0].parentNode){for(var g=0;g<c.length;g++){f.options[c[g][0]]&&c[g][1].apply(f.element,h)}}}},contains:function(e,c){return document.compareDocumentPosition?e.compareDocumentPosition(c)&16:e!==c&&e.contains(c)},hasScroll:function(e,c){if(d(e).css("overflow")==="hidden"){return false}c=c&&c==="left"?"scrollLeft":"scrollTop";var f=false;if(e[c]>0){return true}e[c]=1;f=e[c]>0;e[c]=0;return f},isOverAxis:function(e,c,f){return e>c&&e<c+f},isOver:function(f,c,l,k,j,g){return d.ui.isOverAxis(f,l,j)&&d.ui.isOverAxis(c,k,g)}})}})(jQuery);
/*
 * jQuery UI Widget 1.8.7
 *
 * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * http://docs.jquery.com/UI/Widget
 */
(function(a,e){if(a.cleanData){var d=a.cleanData;a.cleanData=function(b){for(var g=0,f;(f=b[g])!=null;g++){a(f).triggerHandler("remove")}d(b)}}else{var c=a.fn.remove;a.fn.remove=function(b,f){return this.each(function(){if(!f){if(!b||a.filter(b,[this]).length){a("*",this).add([this]).each(function(){a(this).triggerHandler("remove")})}}return c.call(a(this),b,f)})}}a.widget=function(b,j,i){var h=b.split(".")[0],g;b=b.split(".")[1];g=h+"-"+b;if(!i){i=j;j=a.Widget}a.expr[":"][g]=function(f){return !!a.data(f,b)};a[h]=a[h]||{};a[h][b]=function(f,k){arguments.length&&this._createWidget(f,k)};j=new j;j.options=a.extend(true,{},j.options);a[h][b].prototype=a.extend(true,j,{namespace:h,widgetName:b,widgetEventPrefix:a[h][b].prototype.widgetEventPrefix||b,widgetBaseClass:g},i);a.widget.bridge(b,a[h][b])};a.widget.bridge=function(b,f){a.fn[b]=function(k){var j=typeof k==="string",i=Array.prototype.slice.call(arguments,1),g=this;k=!j&&i.length?a.extend.apply(null,[true,k].concat(i)):k;if(j&&k.charAt(0)==="_"){return g}j?this.each(function(){var l=a.data(this,b),h=l&&a.isFunction(l[k])?l[k].apply(l,i):l;if(h!==l&&h!==e){g=h;return false}}):this.each(function(){var h=a.data(this,b);h?h.option(k||{})._init():a.data(this,b,new f(k,this))});return g}};a.Widget=function(b,f){arguments.length&&this._createWidget(b,f)};a.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:false},_createWidget:function(b,g){a.data(g,this.widgetName,this);this.element=a(g);this.options=a.extend(true,{},this.options,this._getCreateOptions(),b);var f=this;this.element.bind("remove."+this.widgetName,function(){f.destroy()});this._create();this._trigger("create");this._init()},_getCreateOptions:function(){return a.metadata&&a.metadata.get(this.element[0])[this.widgetName]},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+this.widgetName).removeData(this.widgetName);this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+"-disabled ui-state-disabled")},widget:function(){return this.element},option:function(b,g){var f=b;if(arguments.length===0){return a.extend({},this.options)}if(typeof b==="string"){if(g===e){return this.options[b]}f={};f[b]=g}this._setOptions(f);return this},_setOptions:function(b){var f=this;a.each(b,function(h,g){f._setOption(h,g)});return this},_setOption:function(b,f){this.options[b]=f;if(b==="disabled"){this.widget()[f?"addClass":"removeClass"](this.widgetBaseClass+"-disabled ui-state-disabled").attr("aria-disabled",f)}return this},enable:function(){return this._setOption("disabled",false)},disable:function(){return this._setOption("disabled",true)},_trigger:function(b,j,i){var h=this.options[b];j=a.Event(j);j.type=(b===this.widgetEventPrefix?b:this.widgetEventPrefix+b).toLowerCase();i=i||{};if(j.originalEvent){b=a.event.props.length;for(var g;b;){g=a.event.props[--b];j[g]=j.originalEvent[g]}}this.element.trigger(j,i);return !(a.isFunction(h)&&h.call(this.element[0],j,i)===false||j.isDefaultPrevented())}}})(jQuery);
/*
 * jQuery UI Mouse 1.8.7
 *
 * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * http://docs.jquery.com/UI/Mouse
 *
 * Depends:
 *	jquery.ui.widget.js
 */
(function(a){a.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var b=this;this.element.bind("mousedown."+this.widgetName,function(c){return b._mouseDown(c)}).bind("click."+this.widgetName,function(c){if(true===a.data(c.target,b.widgetName+".preventClickEvent")){a.removeData(c.target,b.widgetName+".preventClickEvent");c.stopImmediatePropagation();return false}});this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName)},_mouseDown:function(d){d.originalEvent=d.originalEvent||{};if(!d.originalEvent.mouseHandled){this._mouseStarted&&this._mouseUp(d);this._mouseDownEvent=d;var c=this,h=d.which==1,g=typeof this.options.cancel=="string"?a(d.target).parents().add(d.target).filter(this.options.cancel).length:false;if(!h||g||!this._mouseCapture(d)){return true}this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet){this._mouseDelayTimer=setTimeout(function(){c.mouseDelayMet=true},this.options.delay)}if(this._mouseDistanceMet(d)&&this._mouseDelayMet(d)){this._mouseStarted=this._mouseStart(d)!==false;if(!this._mouseStarted){d.preventDefault();return true}}this._mouseMoveDelegate=function(b){return c._mouseMove(b)};this._mouseUpDelegate=function(b){return c._mouseUp(b)};a(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);d.preventDefault();return d.originalEvent.mouseHandled=true}},_mouseMove:function(b){if(a.browser.msie&&!(document.documentMode>=9)&&!b.button){return this._mouseUp(b)}if(this._mouseStarted){this._mouseDrag(b);return b.preventDefault()}if(this._mouseDistanceMet(b)&&this._mouseDelayMet(b)){(this._mouseStarted=this._mouseStart(this._mouseDownEvent,b)!==false)?this._mouseDrag(b):this._mouseUp(b)}return !this._mouseStarted},_mouseUp:function(b){a(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;b.target==this._mouseDownEvent.target&&a.data(b.target,this.widgetName+".preventClickEvent",true);this._mouseStop(b)}return false},_mouseDistanceMet:function(b){return Math.max(Math.abs(this._mouseDownEvent.pageX-b.pageX),Math.abs(this._mouseDownEvent.pageY-b.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return true}})})(jQuery);(function(f){f.ui=f.ui||{};var e=/left|center|right/,d=/top|center|bottom/,b=f.fn.position,a=f.fn.offset;f.fn.position=function(c){if(!c||!c.of){return b.apply(this,arguments)}c=f.extend({},c);var i=f(c.of),q=i[0],o=(c.collision||"flip").split(" "),p=c.offset?c.offset.split(" "):[0,0],n,l,m;if(q.nodeType===9){n=i.width();l=i.height();m={top:0,left:0}}else{if(q.setTimeout){n=i.width();l=i.height();m={top:i.scrollTop(),left:i.scrollLeft()}}else{if(q.preventDefault){c.at="left top";n=l=0;m={top:c.of.pageY,left:c.of.pageX}}else{n=i.outerWidth();l=i.outerHeight();m=i.offset()}}}f.each(["my","at"],function(){var g=(c[this]||"").split(" ");if(g.length===1){g=e.test(g[0])?g.concat(["center"]):d.test(g[0])?["center"].concat(g):["center","center"]}g[0]=e.test(g[0])?g[0]:"center";g[1]=d.test(g[1])?g[1]:"center";c[this]=g});if(o.length===1){o[1]=o[0]}p[0]=parseInt(p[0],10)||0;if(p.length===1){p[1]=p[0]}p[1]=parseInt(p[1],10)||0;if(c.at[0]==="right"){m.left+=n}else{if(c.at[0]==="center"){m.left+=n/2}}if(c.at[1]==="bottom"){m.top+=l}else{if(c.at[1]==="center"){m.top+=l/2}}m.left+=p[0];m.top+=p[1];return this.each(function(){var u=f(this),s=u.outerWidth(),k=u.outerHeight(),j=parseInt(f.curCSS(this,"marginLeft",true))||0,h=parseInt(f.curCSS(this,"marginTop",true))||0,y=s+j+parseInt(f.curCSS(this,"marginRight",true))||0,x=k+h+parseInt(f.curCSS(this,"marginBottom",true))||0,t=f.extend({},m),g;if(c.my[0]==="right"){t.left-=s}else{if(c.my[0]==="center"){t.left-=s/2}}if(c.my[1]==="bottom"){t.top-=k}else{if(c.my[1]==="center"){t.top-=k/2}}t.left=Math.round(t.left);t.top=Math.round(t.top);g={left:t.left-j,top:t.top-h};f.each(["left","top"],function(v,r){f.ui.position[o[v]]&&f.ui.position[o[v]][r](t,{targetWidth:n,targetHeight:l,elemWidth:s,elemHeight:k,collisionPosition:g,collisionWidth:y,collisionHeight:x,offset:p,my:c.my,at:c.at})});f.fn.bgiframe&&u.bgiframe();u.offset(f.extend(t,{using:c.using}))})};f.ui.position={fit:{left:function(c,g){var h=f(window);h=g.collisionPosition.left+g.collisionWidth-h.width()-h.scrollLeft();c.left=h>0?c.left-h:Math.max(c.left-g.collisionPosition.left,c.left)},top:function(c,g){var h=f(window);h=g.collisionPosition.top+g.collisionHeight-h.height()-h.scrollTop();c.top=h>0?c.top-h:Math.max(c.top-g.collisionPosition.top,c.top)}},flip:{left:function(c,i){if(i.at[0]!=="center"){var m=f(window);m=i.collisionPosition.left+i.collisionWidth-m.width()-m.scrollLeft();var k=i.my[0]==="left"?-i.elemWidth:i.my[0]==="right"?i.elemWidth:0,l=i.at[0]==="left"?i.targetWidth:-i.targetWidth,j=-2*i.offset[0];c.left+=i.collisionPosition.left<0?k+l+j:m>0?k+l+j:0}},top:function(c,i){if(i.at[1]!=="center"){var m=f(window);m=i.collisionPosition.top+i.collisionHeight-m.height()-m.scrollTop();var k=i.my[1]==="top"?-i.elemHeight:i.my[1]==="bottom"?i.elemHeight:0,l=i.at[1]==="top"?i.targetHeight:-i.targetHeight,j=-2*i.offset[1];c.top+=i.collisionPosition.top<0?k+l+j:m>0?k+l+j:0}}}};if(!f.offset.setOffset){f.offset.setOffset=function(c,i){if(/static/.test(f.curCSS(c,"position"))){c.style.position="relative"}var m=f(c),k=m.offset(),l=parseInt(f.curCSS(c,"top",true),10)||0,j=parseInt(f.curCSS(c,"left",true),10)||0;k={top:i.top-k.top+l,left:i.left-k.left+j};"using" in i?i.using.call(c,k):m.css(k)};f.fn.offset=function(c){var g=this[0];if(!g||!g.ownerDocument){return null}if(c){return this.each(function(){f.offset.setOffset(this,c)})}return a.call(this)}}})(jQuery);(function(a){a.widget("ui.draggable",a.ui.mouse,{widgetEventPrefix:"drag",options:{addClasses:true,appendTo:"parent",axis:false,connectToSortable:false,containment:false,cursor:"auto",cursorAt:false,grid:false,handle:false,helper:"original",iframeFix:false,opacity:false,refreshPositions:false,revert:false,revertDuration:500,scope:"default",scroll:true,scrollSensitivity:20,scrollSpeed:20,snap:false,snapMode:"both",snapTolerance:20,stack:false,zIndex:false},_create:function(){if(this.options.helper=="original"&&!/^(?:r|a|f)/.test(this.element.css("position"))){this.element[0].style.position="relative"}this.options.addClasses&&this.element.addClass("ui-draggable");this.options.disabled&&this.element.addClass("ui-draggable-disabled");this._mouseInit()},destroy:function(){if(this.element.data("draggable")){this.element.removeData("draggable").unbind(".draggable").removeClass("ui-draggable ui-draggable-dragging ui-draggable-disabled");this._mouseDestroy();return this}},_mouseCapture:function(d){var c=this.options;if(this.helper||c.disabled||a(d.target).is(".ui-resizable-handle")){return false}this.handle=this._getHandle(d);if(!this.handle){return false}return true},_mouseStart:function(d){var c=this.options;this.helper=this._createHelper(d);this._cacheHelperProportions();if(a.ui.ddmanager){a.ui.ddmanager.current=this}this._cacheMargins();this.cssPosition=this.helper.css("position");this.scrollParent=this.helper.scrollParent();this.offset=this.positionAbs=this.element.offset();this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left};a.extend(this.offset,{click:{left:d.pageX-this.offset.left,top:d.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()});this.originalPosition=this.position=this._generatePosition(d);this.originalPageX=d.pageX;this.originalPageY=d.pageY;c.cursorAt&&this._adjustOffsetFromHelper(c.cursorAt);c.containment&&this._setContainment();if(this._trigger("start",d)===false){this._clear();return false}this._cacheHelperProportions();a.ui.ddmanager&&!c.dropBehaviour&&a.ui.ddmanager.prepareOffsets(this,d);this.helper.addClass("ui-draggable-dragging");this._mouseDrag(d,true);return true},_mouseDrag:function(d,c){this.position=this._generatePosition(d);this.positionAbs=this._convertPositionTo("absolute");if(!c){c=this._uiHash();if(this._trigger("drag",d,c)===false){this._mouseUp({});return false}this.position=c.position}if(!this.options.axis||this.options.axis!="y"){this.helper[0].style.left=this.position.left+"px"}if(!this.options.axis||this.options.axis!="x"){this.helper[0].style.top=this.position.top+"px"}a.ui.ddmanager&&a.ui.ddmanager.drag(this,d);return false},_mouseStop:function(e){var d=false;if(a.ui.ddmanager&&!this.options.dropBehaviour){d=a.ui.ddmanager.drop(this,e)}if(this.dropped){d=this.dropped;this.dropped=false}if(!this.element[0]||!this.element[0].parentNode){return false}if(this.options.revert=="invalid"&&!d||this.options.revert=="valid"&&d||this.options.revert===true||a.isFunction(this.options.revert)&&this.options.revert.call(this.element,d)){var f=this;a(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){f._trigger("stop",e)!==false&&f._clear()})}else{this._trigger("stop",e)!==false&&this._clear()}return false},cancel:function(){this.helper.is(".ui-draggable-dragging")?this._mouseUp({}):this._clear();return this},_getHandle:function(d){var c=!this.options.handle||!a(this.options.handle,this.element).length?true:false;a(this.options.handle,this.element).find("*").andSelf().each(function(){if(this==d.target){c=true}});return c},_createHelper:function(d){var c=this.options;d=a.isFunction(c.helper)?a(c.helper.apply(this.element[0],[d])):c.helper=="clone"?this.element.clone():this.element;d.parents("body").length||d.appendTo(c.appendTo=="parent"?this.element[0].parentNode:c.appendTo);d[0]!=this.element[0]&&!/(fixed|absolute)/.test(d.css("position"))&&d.css("position","absolute");return d},_adjustOffsetFromHelper:function(b){if(typeof b=="string"){b=b.split(" ")}if(a.isArray(b)){b={left:+b[0],top:+b[1]||0}}if("left" in b){this.offset.click.left=b.left+this.margins.left}if("right" in b){this.offset.click.left=this.helperProportions.width-b.right+this.margins.left}if("top" in b){this.offset.click.top=b.top+this.margins.top}if("bottom" in b){this.offset.click.top=this.helperProportions.height-b.bottom+this.margins.top}},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var b=this.offsetParent.offset();if(this.cssPosition=="absolute"&&this.scrollParent[0]!=document&&a.ui.contains(this.scrollParent[0],this.offsetParent[0])){b.left+=this.scrollParent.scrollLeft();b.top+=this.scrollParent.scrollTop()}if(this.offsetParent[0]==document.body||this.offsetParent[0].tagName&&this.offsetParent[0].tagName.toLowerCase()=="html"&&a.browser.msie){b={top:0,left:0}}return{top:b.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:b.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if(this.cssPosition=="relative"){var b=this.element.position();return{top:b.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:b.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}else{return{top:0,left:0}}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var e=this.options;if(e.containment=="parent"){e.containment=this.helper[0].parentNode}if(e.containment=="document"||e.containment=="window"){this.containment=[(e.containment=="document"?0:a(window).scrollLeft())-this.offset.relative.left-this.offset.parent.left,(e.containment=="document"?0:a(window).scrollTop())-this.offset.relative.top-this.offset.parent.top,(e.containment=="document"?0:a(window).scrollLeft())+a(e.containment=="document"?document:window).width()-this.helperProportions.width-this.margins.left,(e.containment=="document"?0:a(window).scrollTop())+(a(e.containment=="document"?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]}if(!/^(document|window|parent)$/.test(e.containment)&&e.containment.constructor!=Array){var d=a(e.containment)[0];if(d){e=a(e.containment).offset();var f=a(d).css("overflow")!="hidden";this.containment=[e.left+(parseInt(a(d).css("borderLeftWidth"),10)||0)+(parseInt(a(d).css("paddingLeft"),10)||0)-this.margins.left,e.top+(parseInt(a(d).css("borderTopWidth"),10)||0)+(parseInt(a(d).css("paddingTop"),10)||0)-this.margins.top,e.left+(f?Math.max(d.scrollWidth,d.offsetWidth):d.offsetWidth)-(parseInt(a(d).css("borderLeftWidth"),10)||0)-(parseInt(a(d).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,e.top+(f?Math.max(d.scrollHeight,d.offsetHeight):d.offsetHeight)-(parseInt(a(d).css("borderTopWidth"),10)||0)-(parseInt(a(d).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top]}}else{if(e.containment.constructor==Array){this.containment=e.containment}}},_convertPositionTo:function(e,d){if(!d){d=this.position}e=e=="absolute"?1:-1;var h=this.cssPosition=="absolute"&&!(this.scrollParent[0]!=document&&a.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,g=/(html|body)/i.test(h[0].tagName);return{top:d.top+this.offset.relative.top*e+this.offset.parent.top*e-(a.browser.safari&&a.browser.version<526&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollTop():g?0:h.scrollTop())*e),left:d.left+this.offset.relative.left*e+this.offset.parent.left*e-(a.browser.safari&&a.browser.version<526&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollLeft():g?0:h.scrollLeft())*e)}},_generatePosition:function(h){var d=this.options,l=this.cssPosition=="absolute"&&!(this.scrollParent[0]!=document&&a.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,j=/(html|body)/i.test(l[0].tagName),k=h.pageX,i=h.pageY;if(this.originalPosition){if(this.containment){if(h.pageX-this.offset.click.left<this.containment[0]){k=this.containment[0]+this.offset.click.left}if(h.pageY-this.offset.click.top<this.containment[1]){i=this.containment[1]+this.offset.click.top}if(h.pageX-this.offset.click.left>this.containment[2]){k=this.containment[2]+this.offset.click.left}if(h.pageY-this.offset.click.top>this.containment[3]){i=this.containment[3]+this.offset.click.top}}if(d.grid){i=this.originalPageY+Math.round((i-this.originalPageY)/d.grid[1])*d.grid[1];i=this.containment?!(i-this.offset.click.top<this.containment[1]||i-this.offset.click.top>this.containment[3])?i:!(i-this.offset.click.top<this.containment[1])?i-d.grid[1]:i+d.grid[1]:i;k=this.originalPageX+Math.round((k-this.originalPageX)/d.grid[0])*d.grid[0];k=this.containment?!(k-this.offset.click.left<this.containment[0]||k-this.offset.click.left>this.containment[2])?k:!(k-this.offset.click.left<this.containment[0])?k-d.grid[0]:k+d.grid[0]:k}}return{top:i-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+(a.browser.safari&&a.browser.version<526&&this.cssPosition=="fixed"?0:this.cssPosition=="fixed"?-this.scrollParent.scrollTop():j?0:l.scrollTop()),left:k-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+(a.browser.safari&&a.browser.version<526&&this.cssPosition=="fixed"?0:this.cssPosition=="fixed"?-this.scrollParent.scrollLeft():j?0:l.scrollLeft())}},_clear:function(){this.helper.removeClass("ui-draggable-dragging");this.helper[0]!=this.element[0]&&!this.cancelHelperRemoval&&this.helper.remove();this.helper=null;this.cancelHelperRemoval=false},_trigger:function(e,d,f){f=f||this._uiHash();a.ui.plugin.call(this,e,[d,f]);if(e=="drag"){this.positionAbs=this._convertPositionTo("absolute")}return a.Widget.prototype._trigger.call(this,e,d,f)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}});a.extend(a.ui.draggable,{version:"1.8.7"});a.ui.plugin.add("draggable","connectToSortable",{start:function(g,d){var j=a(this).data("draggable"),h=j.options,i=a.extend({},d,{item:j.element});j.sortables=[];a(h.connectToSortable).each(function(){var b=a.data(this,"sortable");if(b&&!b.options.disabled){j.sortables.push({instance:b,shouldRevert:b.options.revert});b._refreshItems();b._trigger("activate",g,i)}})},stop:function(e,d){var h=a(this).data("draggable"),g=a.extend({},d,{item:h.element});a.each(h.sortables,function(){if(this.instance.isOver){this.instance.isOver=0;h.cancelHelperRemoval=true;this.instance.cancelHelperRemoval=false;if(this.shouldRevert){this.instance.options.revert=true}this.instance._mouseStop(e);this.instance.options.helper=this.instance.options._helper;h.options.helper=="original"&&this.instance.currentItem.css({top:"auto",left:"auto"})}else{this.instance.cancelHelperRemoval=false;this.instance._trigger("deactivate",e,g)}})},drag:function(e,d){var h=a(this).data("draggable"),g=this;a.each(h.sortables,function(){this.instance.positionAbs=h.positionAbs;this.instance.helperProportions=h.helperProportions;this.instance.offset.click=h.offset.click;if(this.instance._intersectsWith(this.instance.containerCache)){if(!this.instance.isOver){this.instance.isOver=1;this.instance.currentItem=a(g).clone().appendTo(this.instance.element).data("sortable-item",true);this.instance.options._helper=this.instance.options.helper;this.instance.options.helper=function(){return d.helper[0]};e.target=this.instance.currentItem[0];this.instance._mouseCapture(e,true);this.instance._mouseStart(e,true,true);this.instance.offset.click.top=h.offset.click.top;this.instance.offset.click.left=h.offset.click.left;this.instance.offset.parent.left-=h.offset.parent.left-this.instance.offset.parent.left;this.instance.offset.parent.top-=h.offset.parent.top-this.instance.offset.parent.top;h._trigger("toSortable",e);h.dropped=this.instance.element;h.currentItem=h.element;this.instance.fromOutside=h}this.instance.currentItem&&this.instance._mouseDrag(e)}else{if(this.instance.isOver){this.instance.isOver=0;this.instance.cancelHelperRemoval=true;this.instance.options.revert=false;this.instance._trigger("out",e,this.instance._uiHash(this.instance));this.instance._mouseStop(e,true);this.instance.options.helper=this.instance.options._helper;this.instance.currentItem.remove();this.instance.placeholder&&this.instance.placeholder.remove();h._trigger("fromSortable",e);h.dropped=false}}})}});a.ui.plugin.add("draggable","cursor",{start:function(){var d=a("body"),c=a(this).data("draggable").options;if(d.css("cursor")){c._cursor=d.css("cursor")}d.css("cursor",c.cursor)},stop:function(){var b=a(this).data("draggable").options;b._cursor&&a("body").css("cursor",b._cursor)}});a.ui.plugin.add("draggable","iframeFix",{start:function(){var b=a(this).data("draggable").options;a(b.iframeFix===true?"iframe":b.iframeFix).each(function(){a('<div class="ui-draggable-iframeFix" style="background: #fff;"></div>').css({width:this.offsetWidth+"px",height:this.offsetHeight+"px",position:"absolute",opacity:"0.001",zIndex:1000}).css(a(this).offset()).appendTo("body")})},stop:function(){a("div.ui-draggable-iframeFix").each(function(){this.parentNode.removeChild(this)})}});a.ui.plugin.add("draggable","opacity",{start:function(d,c){d=a(c.helper);c=a(this).data("draggable").options;if(d.css("opacity")){c._opacity=d.css("opacity")}d.css("opacity",c.opacity)},stop:function(d,c){d=a(this).data("draggable").options;d._opacity&&a(c.helper).css("opacity",d._opacity)}});a.ui.plugin.add("draggable","scroll",{start:function(){var b=a(this).data("draggable");if(b.scrollParent[0]!=document&&b.scrollParent[0].tagName!="HTML"){b.overflowOffset=b.scrollParent.offset()}},drag:function(e){var d=a(this).data("draggable"),h=d.options,g=false;if(d.scrollParent[0]!=document&&d.scrollParent[0].tagName!="HTML"){if(!h.axis||h.axis!="x"){if(d.overflowOffset.top+d.scrollParent[0].offsetHeight-e.pageY<h.scrollSensitivity){d.scrollParent[0].scrollTop=g=d.scrollParent[0].scrollTop+h.scrollSpeed}else{if(e.pageY-d.overflowOffset.top<h.scrollSensitivity){d.scrollParent[0].scrollTop=g=d.scrollParent[0].scrollTop-h.scrollSpeed}}}if(!h.axis||h.axis!="y"){if(d.overflowOffset.left+d.scrollParent[0].offsetWidth-e.pageX<h.scrollSensitivity){d.scrollParent[0].scrollLeft=g=d.scrollParent[0].scrollLeft+h.scrollSpeed}else{if(e.pageX-d.overflowOffset.left<h.scrollSensitivity){d.scrollParent[0].scrollLeft=g=d.scrollParent[0].scrollLeft-h.scrollSpeed}}}}else{if(!h.axis||h.axis!="x"){if(e.pageY-a(document).scrollTop()<h.scrollSensitivity){g=a(document).scrollTop(a(document).scrollTop()-h.scrollSpeed)}else{if(a(window).height()-(e.pageY-a(document).scrollTop())<h.scrollSensitivity){g=a(document).scrollTop(a(document).scrollTop()+h.scrollSpeed)}}}if(!h.axis||h.axis!="y"){if(e.pageX-a(document).scrollLeft()<h.scrollSensitivity){g=a(document).scrollLeft(a(document).scrollLeft()-h.scrollSpeed)}else{if(a(window).width()-(e.pageX-a(document).scrollLeft())<h.scrollSensitivity){g=a(document).scrollLeft(a(document).scrollLeft()+h.scrollSpeed)}}}}g!==false&&a.ui.ddmanager&&!h.dropBehaviour&&a.ui.ddmanager.prepareOffsets(d,e)}});a.ui.plugin.add("draggable","snap",{start:function(){var d=a(this).data("draggable"),c=d.options;d.snapElements=[];a(c.snap.constructor!=String?c.snap.items||":data(draggable)":c.snap).each(function(){var e=a(this),b=e.offset();this!=d.element[0]&&d.snapElements.push({item:this,width:e.outerWidth(),height:e.outerHeight(),top:b.top,left:b.left})})},drag:function(L,K){for(var J=a(this).data("draggable"),H=J.options,I=H.snapTolerance,G=K.offset.left,z=G+J.helperProportions.width,A=K.offset.top,y=A+J.helperProportions.height,F=J.snapElements.length-1;F>=0;F--){var E=J.snapElements[F].left,C=E+J.snapElements[F].width,D=J.snapElements[F].top,B=D+J.snapElements[F].height;if(E-I<G&&G<C+I&&D-I<A&&A<B+I||E-I<G&&G<C+I&&D-I<y&&y<B+I||E-I<z&&z<C+I&&D-I<A&&A<B+I||E-I<z&&z<C+I&&D-I<y&&y<B+I){if(H.snapMode!="inner"){var x=Math.abs(D-y)<=I,w=Math.abs(B-A)<=I,v=Math.abs(E-z)<=I,u=Math.abs(C-G)<=I;if(x){K.position.top=J._convertPositionTo("relative",{top:D-J.helperProportions.height,left:0}).top-J.margins.top}if(w){K.position.top=J._convertPositionTo("relative",{top:B,left:0}).top-J.margins.top}if(v){K.position.left=J._convertPositionTo("relative",{top:0,left:E-J.helperProportions.width}).left-J.margins.left}if(u){K.position.left=J._convertPositionTo("relative",{top:0,left:C}).left-J.margins.left}}var d=x||w||v||u;if(H.snapMode!="outer"){x=Math.abs(D-A)<=I;w=Math.abs(B-y)<=I;v=Math.abs(E-G)<=I;u=Math.abs(C-z)<=I;if(x){K.position.top=J._convertPositionTo("relative",{top:D,left:0}).top-J.margins.top}if(w){K.position.top=J._convertPositionTo("relative",{top:B-J.helperProportions.height,left:0}).top-J.margins.top}if(v){K.position.left=J._convertPositionTo("relative",{top:0,left:E}).left-J.margins.left}if(u){K.position.left=J._convertPositionTo("relative",{top:0,left:C-J.helperProportions.width}).left-J.margins.left}}if(!J.snapElements[F].snapping&&(x||w||v||u||d)){J.options.snap.snap&&J.options.snap.snap.call(J.element,L,a.extend(J._uiHash(),{snapItem:J.snapElements[F].item}))}J.snapElements[F].snapping=x||w||v||u||d}else{J.snapElements[F].snapping&&J.options.snap.release&&J.options.snap.release.call(J.element,L,a.extend(J._uiHash(),{snapItem:J.snapElements[F].item}));J.snapElements[F].snapping=false}}}});a.ui.plugin.add("draggable","stack",{start:function(){var d=a(this).data("draggable").options;d=a.makeArray(a(d.stack)).sort(function(e,b){return(parseInt(a(e).css("zIndex"),10)||0)-(parseInt(a(b).css("zIndex"),10)||0)});if(d.length){var c=parseInt(d[0].style.zIndex)||0;a(d).each(function(b){this.style.zIndex=c+b});this[0].style.zIndex=c+d.length}}});a.ui.plugin.add("draggable","zIndex",{start:function(d,c){d=a(c.helper);c=a(this).data("draggable").options;if(d.css("zIndex")){c._zIndex=d.css("zIndex")}d.css("zIndex",c.zIndex)},stop:function(d,c){d=a(this).data("draggable").options;d._zIndex&&a(c.helper).css("zIndex",d._zIndex)}})})(jQuery);(function(a){a.widget("ui.droppable",{widgetEventPrefix:"drop",options:{accept:"*",activeClass:false,addClasses:true,greedy:false,hoverClass:false,scope:"default",tolerance:"intersect"},_create:function(){var d=this.options,c=d.accept;this.isover=0;this.isout=1;this.accept=a.isFunction(c)?c:function(b){return b.is(c)};this.proportions={width:this.element[0].offsetWidth,height:this.element[0].offsetHeight};a.ui.ddmanager.droppables[d.scope]=a.ui.ddmanager.droppables[d.scope]||[];a.ui.ddmanager.droppables[d.scope].push(this);d.addClasses&&this.element.addClass("ui-droppable")},destroy:function(){for(var d=a.ui.ddmanager.droppables[this.options.scope],c=0;c<d.length;c++){d[c]==this&&d.splice(c,1)}this.element.removeClass("ui-droppable ui-droppable-disabled").removeData("droppable").unbind(".droppable");return this},_setOption:function(d,c){if(d=="accept"){this.accept=a.isFunction(c)?c:function(b){return b.is(c)}}a.Widget.prototype._setOption.apply(this,arguments)},_activate:function(d){var c=a.ui.ddmanager.current;this.options.activeClass&&this.element.addClass(this.options.activeClass);c&&this._trigger("activate",d,this.ui(c))},_deactivate:function(d){var c=a.ui.ddmanager.current;this.options.activeClass&&this.element.removeClass(this.options.activeClass);c&&this._trigger("deactivate",d,this.ui(c))},_over:function(d){var c=a.ui.ddmanager.current;if(!(!c||(c.currentItem||c.element)[0]==this.element[0])){if(this.accept.call(this.element[0],c.currentItem||c.element)){this.options.hoverClass&&this.element.addClass(this.options.hoverClass);this._trigger("over",d,this.ui(c))}}},_out:function(d){var c=a.ui.ddmanager.current;if(!(!c||(c.currentItem||c.element)[0]==this.element[0])){if(this.accept.call(this.element[0],c.currentItem||c.element)){this.options.hoverClass&&this.element.removeClass(this.options.hoverClass);this._trigger("out",d,this.ui(c))}}},_drop:function(f,d){var h=d||a.ui.ddmanager.current;if(!h||(h.currentItem||h.element)[0]==this.element[0]){return false}var g=false;this.element.find(":data(droppable)").not(".ui-draggable-dragging").each(function(){var b=a.data(this,"droppable");if(b.options.greedy&&!b.options.disabled&&b.options.scope==h.options.scope&&b.accept.call(b.element[0],h.currentItem||h.element)&&a.ui.intersect(h,a.extend(b,{offset:b.element.offset()}),b.options.tolerance)){g=true;return false}});if(g){return false}if(this.accept.call(this.element[0],h.currentItem||h.element)){this.options.activeClass&&this.element.removeClass(this.options.activeClass);this.options.hoverClass&&this.element.removeClass(this.options.hoverClass);this._trigger("drop",f,this.ui(h));return this.element}return false},ui:function(b){return{draggable:b.currentItem||b.element,helper:b.helper,position:b.position,offset:b.positionAbs}}});a.extend(a.ui.droppable,{version:"1.8.7"});a.ui.intersect=function(v,u,t){if(!u.offset){return false}var s=(v.positionAbs||v.position.absolute).left,q=s+v.helperProportions.width,r=(v.positionAbs||v.position.absolute).top,p=r+v.helperProportions.height,o=u.offset.left,m=o+u.proportions.width,n=u.offset.top,d=n+u.proportions.height;switch(t){case"fit":return o<=s&&q<=m&&n<=r&&p<=d;case"intersect":return o<s+v.helperProportions.width/2&&q-v.helperProportions.width/2<m&&n<r+v.helperProportions.height/2&&p-v.helperProportions.height/2<d;case"pointer":return a.ui.isOver((v.positionAbs||v.position.absolute).top+(v.clickOffset||v.offset.click).top,(v.positionAbs||v.position.absolute).left+(v.clickOffset||v.offset.click).left,n,o,u.proportions.height,u.proportions.width);case"touch":return(r>=n&&r<=d||p>=n&&p<=d||r<n&&p>d)&&(s>=o&&s<=m||q>=o&&q<=m||s<o&&q>m);default:return false}};a.ui.ddmanager={current:null,droppables:{"default":[]},prepareOffsets:function(i,d){var n=a.ui.ddmanager.droppables[i.options.scope]||[],m=d?d.type:null,k=(i.currentItem||i.element).find(":data(droppable)").andSelf(),l=0;i:for(;l<n.length;l++){if(!(n[l].options.disabled||i&&!n[l].accept.call(n[l].element[0],i.currentItem||i.element))){for(var j=0;j<k.length;j++){if(k[j]==n[l].element[0]){n[l].proportions.height=0;continue i}}n[l].visible=n[l].element.css("display")!="none";if(n[l].visible){n[l].offset=n[l].element.offset();n[l].proportions={width:n[l].element[0].offsetWidth,height:n[l].element[0].offsetHeight};m=="mousedown"&&n[l]._activate.call(n[l],d)}}}},drop:function(e,d){var f=false;a.each(a.ui.ddmanager.droppables[e.options.scope]||[],function(){if(this.options){if(!this.options.disabled&&this.visible&&a.ui.intersect(e,this,this.options.tolerance)){f=f||this._drop.call(this,d)}if(!this.options.disabled&&this.visible&&this.accept.call(this.element[0],e.currentItem||e.element)){this.isout=1;this.isover=0;this._deactivate.call(this,d)}}});return f},drag:function(d,c){d.options.refreshPositions&&a.ui.ddmanager.prepareOffsets(d,c);a.each(a.ui.ddmanager.droppables[d.options.scope]||[],function(){if(!(this.options.disabled||this.greedyChild||!this.visible)){var h=a.ui.intersect(d,this,this.options.tolerance);if(h=!h&&this.isover==1?"isout":h&&this.isover==0?"isover":null){var f;if(this.options.greedy){var b=this.element.parents(":data(droppable):eq(0)");if(b.length){f=a.data(b[0],"droppable");f.greedyChild=h=="isover"?1:0}}if(f&&h=="isover"){f.isover=0;f.isout=1;f._out.call(f,c)}this[h]=1;this[h=="isout"?"isover":"isout"]=0;this[h=="isover"?"_over":"_out"].call(this,c);if(f&&h=="isout"){f.isout=0;f.isover=1;f._over.call(f,c)}}}})}}})(jQuery);(function(a){a.widget("ui.selectable",a.ui.mouse,{options:{appendTo:"body",autoRefresh:true,distance:0,filter:"*",tolerance:"touch"},_create:function(){var d=this;this.element.addClass("ui-selectable");this.dragged=false;var b;this.refresh=function(){b=a(d.options.filter,d.element[0]);b.each(function(){var e=a(this),c=e.offset();a.data(this,"selectable-item",{element:this,$element:e,left:c.left,top:c.top,right:c.left+e.outerWidth(),bottom:c.top+e.outerHeight(),startselected:false,selected:e.hasClass("ui-selected"),selecting:e.hasClass("ui-selecting"),unselecting:e.hasClass("ui-unselecting")})})};this.refresh();this.selectees=b.addClass("ui-selectee");this._mouseInit();this.helper=a("<div class='ui-selectable-helper'></div>")},destroy:function(){this.selectees.removeClass("ui-selectee").removeData("selectable-item");this.element.removeClass("ui-selectable ui-selectable-disabled").removeData("selectable").unbind(".selectable");this._mouseDestroy();return this},_mouseStart:function(g){var b=this;this.opos=[g.pageX,g.pageY];if(!this.options.disabled){var e=this.options;this.selectees=a(e.filter,this.element[0]);this._trigger("start",g);a(e.appendTo).append(this.helper);this.helper.css({left:g.clientX,top:g.clientY,width:0,height:0});e.autoRefresh&&this.refresh();this.selectees.filter(".ui-selected").each(function(){var c=a.data(this,"selectable-item");c.startselected=true;if(!g.metaKey){c.$element.removeClass("ui-selected");c.selected=false;c.$element.addClass("ui-unselecting");c.unselecting=true;b._trigger("unselecting",g,{unselecting:c.element})}});a(g.target).parents().andSelf().each(function(){var c=a.data(this,"selectable-item");if(c){var d=!g.metaKey||!c.$element.hasClass("ui-selected");c.$element.removeClass(d?"ui-unselecting":"ui-selected").addClass(d?"ui-selecting":"ui-unselecting");c.unselecting=!d;c.selecting=d;(c.selected=d)?b._trigger("selecting",g,{selecting:c.element}):b._trigger("unselecting",g,{unselecting:c.element});return false}})}},_mouseDrag:function(q){var o=this;this.dragged=true;if(!this.options.disabled){var p=this.options,e=this.opos[0],n=this.opos[1],m=q.pageX,l=q.pageY;if(e>m){var k=m;m=e;e=k}if(n>l){k=l;l=n;n=k}this.helper.css({left:e,top:n,width:m-e,height:l-n});this.selectees.each(function(){var b=a.data(this,"selectable-item");if(!(!b||b.element==o.element[0])){var c=false;if(p.tolerance=="touch"){c=!(b.left>m||b.right<e||b.top>l||b.bottom<n)}else{if(p.tolerance=="fit"){c=b.left>e&&b.right<m&&b.top>n&&b.bottom<l}}if(c){if(b.selected){b.$element.removeClass("ui-selected");b.selected=false}if(b.unselecting){b.$element.removeClass("ui-unselecting");b.unselecting=false}if(!b.selecting){b.$element.addClass("ui-selecting");b.selecting=true;o._trigger("selecting",q,{selecting:b.element})}}else{if(b.selecting){if(q.metaKey&&b.startselected){b.$element.removeClass("ui-selecting");b.selecting=false;b.$element.addClass("ui-selected");b.selected=true}else{b.$element.removeClass("ui-selecting");b.selecting=false;if(b.startselected){b.$element.addClass("ui-unselecting");b.unselecting=true}o._trigger("unselecting",q,{unselecting:b.element})}}if(b.selected){if(!q.metaKey&&!b.startselected){b.$element.removeClass("ui-selected");b.selected=false;b.$element.addClass("ui-unselecting");b.unselecting=true;o._trigger("unselecting",q,{unselecting:b.element})}}}}});return false}},_mouseStop:function(d){var b=this;this.dragged=false;a(".ui-unselecting",this.element[0]).each(function(){var c=a.data(this,"selectable-item");c.$element.removeClass("ui-unselecting");c.unselecting=false;c.startselected=false;b._trigger("unselected",d,{unselected:c.element})});a(".ui-selecting",this.element[0]).each(function(){var c=a.data(this,"selectable-item");c.$element.removeClass("ui-selecting").addClass("ui-selected");c.selecting=false;c.selected=true;c.startselected=true;b._trigger("selected",d,{selected:c.element})});this._trigger("stop",d);this.helper.remove();return false}});a.extend(a.ui.selectable,{version:"1.8.7"})})(jQuery);(function(a){a.widget("ui.sortable",a.ui.mouse,{widgetEventPrefix:"sort",options:{appendTo:"parent",axis:false,connectWith:false,containment:false,cursor:"auto",cursorAt:false,dropOnEmpty:true,forcePlaceholderSize:false,forceHelperSize:false,grid:false,handle:false,helper:"original",items:"> *",opacity:false,placeholder:false,revert:false,scroll:true,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1000},_create:function(){this.containerCache={};this.element.addClass("ui-sortable");this.refresh();this.floating=this.items.length?/left|right/.test(this.items[0].item.css("float")):false;this.offset=this.element.offset();this._mouseInit()},destroy:function(){this.element.removeClass("ui-sortable ui-sortable-disabled").removeData("sortable").unbind(".sortable");this._mouseDestroy();for(var b=this.items.length-1;b>=0;b--){this.items[b].item.removeData("sortable-item")}return this},_setOption:function(d,c){if(d==="disabled"){this.options[d]=c;this.widget()[c?"addClass":"removeClass"]("ui-sortable-disabled")}else{a.Widget.prototype._setOption.apply(this,arguments)}},_mouseCapture:function(g,d){if(this.reverting){return false}if(this.options.disabled||this.options.type=="static"){return false}this._refreshItems(g);var j=null,i=this;a(g.target).parents().each(function(){if(a.data(this,"sortable-item")==i){j=a(this);return false}});if(a.data(g.target,"sortable-item")==i){j=a(g.target)}if(!j){return false}if(this.options.handle&&!d){var h=false;a(this.options.handle,j).find("*").andSelf().each(function(){if(this==g.target){h=true}});if(!h){return false}}this.currentItem=j;this._removeCurrentsFromItems();return true},_mouseStart:function(f,d,h){d=this.options;var g=this;this.currentContainer=this;this.refreshPositions();this.helper=this._createHelper(f);this._cacheHelperProportions();this._cacheMargins();this.scrollParent=this.helper.scrollParent();this.offset=this.currentItem.offset();this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left};this.helper.css("position","absolute");this.cssPosition=this.helper.css("position");a.extend(this.offset,{click:{left:f.pageX-this.offset.left,top:f.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()});this.originalPosition=this._generatePosition(f);this.originalPageX=f.pageX;this.originalPageY=f.pageY;d.cursorAt&&this._adjustOffsetFromHelper(d.cursorAt);this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]};this.helper[0]!=this.currentItem[0]&&this.currentItem.hide();this._createPlaceholder();d.containment&&this._setContainment();if(d.cursor){if(a("body").css("cursor")){this._storedCursor=a("body").css("cursor")}a("body").css("cursor",d.cursor)}if(d.opacity){if(this.helper.css("opacity")){this._storedOpacity=this.helper.css("opacity")}this.helper.css("opacity",d.opacity)}if(d.zIndex){if(this.helper.css("zIndex")){this._storedZIndex=this.helper.css("zIndex")}this.helper.css("zIndex",d.zIndex)}if(this.scrollParent[0]!=document&&this.scrollParent[0].tagName!="HTML"){this.overflowOffset=this.scrollParent.offset()}this._trigger("start",f,this._uiHash());this._preserveHelperProportions||this._cacheHelperProportions();if(!h){for(h=this.containers.length-1;h>=0;h--){this.containers[h]._trigger("activate",f,g._uiHash(this))}}if(a.ui.ddmanager){a.ui.ddmanager.current=this}a.ui.ddmanager&&!d.dropBehaviour&&a.ui.ddmanager.prepareOffsets(this,f);this.dragging=true;this.helper.addClass("ui-sortable-helper");this._mouseDrag(f);return true},_mouseDrag:function(g){this.position=this._generatePosition(g);this.positionAbs=this._convertPositionTo("absolute");if(!this.lastPositionAbs){this.lastPositionAbs=this.positionAbs}if(this.options.scroll){var d=this.options,j=false;if(this.scrollParent[0]!=document&&this.scrollParent[0].tagName!="HTML"){if(this.overflowOffset.top+this.scrollParent[0].offsetHeight-g.pageY<d.scrollSensitivity){this.scrollParent[0].scrollTop=j=this.scrollParent[0].scrollTop+d.scrollSpeed}else{if(g.pageY-this.overflowOffset.top<d.scrollSensitivity){this.scrollParent[0].scrollTop=j=this.scrollParent[0].scrollTop-d.scrollSpeed}}if(this.overflowOffset.left+this.scrollParent[0].offsetWidth-g.pageX<d.scrollSensitivity){this.scrollParent[0].scrollLeft=j=this.scrollParent[0].scrollLeft+d.scrollSpeed}else{if(g.pageX-this.overflowOffset.left<d.scrollSensitivity){this.scrollParent[0].scrollLeft=j=this.scrollParent[0].scrollLeft-d.scrollSpeed}}}else{if(g.pageY-a(document).scrollTop()<d.scrollSensitivity){j=a(document).scrollTop(a(document).scrollTop()-d.scrollSpeed)}else{if(a(window).height()-(g.pageY-a(document).scrollTop())<d.scrollSensitivity){j=a(document).scrollTop(a(document).scrollTop()+d.scrollSpeed)}}if(g.pageX-a(document).scrollLeft()<d.scrollSensitivity){j=a(document).scrollLeft(a(document).scrollLeft()-d.scrollSpeed)}else{if(a(window).width()-(g.pageX-a(document).scrollLeft())<d.scrollSensitivity){j=a(document).scrollLeft(a(document).scrollLeft()+d.scrollSpeed)}}}j!==false&&a.ui.ddmanager&&!d.dropBehaviour&&a.ui.ddmanager.prepareOffsets(this,g)}this.positionAbs=this._convertPositionTo("absolute");if(!this.options.axis||this.options.axis!="y"){this.helper[0].style.left=this.position.left+"px"}if(!this.options.axis||this.options.axis!="x"){this.helper[0].style.top=this.position.top+"px"}for(d=this.items.length-1;d>=0;d--){j=this.items[d];var i=j.item[0],h=this._intersectsWithPointer(j);if(h){if(i!=this.currentItem[0]&&this.placeholder[h==1?"next":"prev"]()[0]!=i&&!a.ui.contains(this.placeholder[0],i)&&(this.options.type=="semi-dynamic"?!a.ui.contains(this.element[0],i):true)){this.direction=h==1?"down":"up";if(this.options.tolerance=="pointer"||this._intersectsWithSides(j)){this._rearrange(g,j)}else{break}this._trigger("change",g,this._uiHash());break}}}this._contactContainers(g);a.ui.ddmanager&&a.ui.ddmanager.drag(this,g);this._trigger("sort",g,this._uiHash());this.lastPositionAbs=this.positionAbs;return false},_mouseStop:function(e,d){if(e){a.ui.ddmanager&&!this.options.dropBehaviour&&a.ui.ddmanager.drop(this,e);if(this.options.revert){var f=this;d=f.placeholder.offset();f.reverting=true;a(this.helper).animate({left:d.left-this.offset.parent.left-f.margins.left+(this.offsetParent[0]==document.body?0:this.offsetParent[0].scrollLeft),top:d.top-this.offset.parent.top-f.margins.top+(this.offsetParent[0]==document.body?0:this.offsetParent[0].scrollTop)},parseInt(this.options.revert,10)||500,function(){f._clear(e)})}else{this._clear(e,d)}return false}},cancel:function(){var d=this;if(this.dragging){this._mouseUp();this.options.helper=="original"?this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper"):this.currentItem.show();for(var c=this.containers.length-1;c>=0;c--){this.containers[c]._trigger("deactivate",null,d._uiHash(this));if(this.containers[c].containerCache.over){this.containers[c]._trigger("out",null,d._uiHash(this));this.containers[c].containerCache.over=0}}}this.placeholder[0].parentNode&&this.placeholder[0].parentNode.removeChild(this.placeholder[0]);this.options.helper!="original"&&this.helper&&this.helper[0].parentNode&&this.helper.remove();a.extend(this,{helper:null,dragging:false,reverting:false,_noFinalSort:null});this.domPosition.prev?a(this.domPosition.prev).after(this.currentItem):a(this.domPosition.parent).prepend(this.currentItem);return this},serialize:function(e){var d=this._getItemsAsjQuery(e&&e.connected),f=[];e=e||{};a(d).each(function(){var b=(a(e.item||this).attr(e.attribute||"id")||"").match(e.expression||/(.+)[-=_](.+)/);if(b){f.push((e.key||b[1]+"[]")+"="+(e.key&&e.expression?b[1]:b[2]))}});!f.length&&e.key&&f.push(e.key+"=");return f.join("&")},toArray:function(e){var d=this._getItemsAsjQuery(e&&e.connected),f=[];e=e||{};d.each(function(){f.push(a(e.item||this).attr(e.attribute||"id")||"")});return f},_intersectsWith:function(v){var u=this.positionAbs.left,t=u+this.helperProportions.width,s=this.positionAbs.top,r=s+this.helperProportions.height,q=v.left,p=q+v.width,o=v.top,m=o+v.height,n=this.offset.click.top,d=this.offset.click.left;n=s+n>o&&s+n<m&&u+d>q&&u+d<p;return this.options.tolerance=="pointer"||this.options.forcePointerForContainers||this.options.tolerance!="pointer"&&this.helperProportions[this.floating?"width":"height"]>v[this.floating?"width":"height"]?n:q<u+this.helperProportions.width/2&&t-this.helperProportions.width/2<p&&o<s+this.helperProportions.height/2&&r-this.helperProportions.height/2<m},_intersectsWithPointer:function(e){var d=a.ui.isOverAxis(this.positionAbs.top+this.offset.click.top,e.top,e.height);e=a.ui.isOverAxis(this.positionAbs.left+this.offset.click.left,e.left,e.width);d=d&&e;e=this._getDragVerticalDirection();var f=this._getDragHorizontalDirection();if(!d){return false}return this.floating?f&&f=="right"||e=="down"?2:1:e&&(e=="down"?2:1)},_intersectsWithSides:function(f){var d=a.ui.isOverAxis(this.positionAbs.top+this.offset.click.top,f.top+f.height/2,f.height);f=a.ui.isOverAxis(this.positionAbs.left+this.offset.click.left,f.left+f.width/2,f.width);var h=this._getDragVerticalDirection(),g=this._getDragHorizontalDirection();return this.floating&&g?g=="right"&&f||g=="left"&&!f:h&&(h=="down"&&d||h=="up"&&!d)},_getDragVerticalDirection:function(){var b=this.positionAbs.top-this.lastPositionAbs.top;return b!=0&&(b>0?"down":"up")},_getDragHorizontalDirection:function(){var b=this.positionAbs.left-this.lastPositionAbs.left;return b!=0&&(b>0?"right":"left")},refresh:function(b){this._refreshItems(b);this.refreshPositions();return this},_connectWith:function(){var b=this.options;return b.connectWith.constructor==String?[b.connectWith]:b.connectWith},_getItemsAsjQuery:function(i){var d=[],n=[],m=this._connectWith();if(m&&i){for(i=m.length-1;i>=0;i--){for(var l=a(m[i]),k=l.length-1;k>=0;k--){var j=a.data(l[k],"sortable");if(j&&j!=this&&!j.options.disabled){n.push([a.isFunction(j.options.items)?j.options.items.call(j.element):a(j.options.items,j.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),j])}}}}n.push([a.isFunction(this.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):a(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]);for(i=n.length-1;i>=0;i--){n[i][0].each(function(){d.push(this)})}return a(d)},_removeCurrentsFromItems:function(){for(var e=this.currentItem.find(":data(sortable-item)"),d=0;d<this.items.length;d++){for(var f=0;f<e.length;f++){e[f]==this.items[d].item[0]&&this.items.splice(d,1)}}},_refreshItems:function(j){this.items=[];this.containers=[this];var d=this.items,p=[[a.isFunction(this.options.items)?this.options.items.call(this.element[0],j,{item:this.currentItem}):a(this.options.items,this.element),this]],o=this._connectWith();if(o){for(var n=o.length-1;n>=0;n--){for(var m=a(o[n]),l=m.length-1;l>=0;l--){var k=a.data(m[l],"sortable");if(k&&k!=this&&!k.options.disabled){p.push([a.isFunction(k.options.items)?k.options.items.call(k.element[0],j,{item:this.currentItem}):a(k.options.items,k.element),k]);this.containers.push(k)}}}}for(n=p.length-1;n>=0;n--){j=p[n][1];o=p[n][0];l=0;for(m=o.length;l<m;l++){k=a(o[l]);k.data("sortable-item",j);d.push({item:k,instance:j,width:0,height:0,left:0,top:0})}}},refreshPositions:function(f){if(this.offsetParent&&this.helper){this.offset.parent=this._getParentOffset()}for(var d=this.items.length-1;d>=0;d--){var h=this.items[d],g=this.options.toleranceElement?a(this.options.toleranceElement,h.item):h.item;if(!f){h.width=g.outerWidth();h.height=g.outerHeight()}g=g.offset();h.left=g.left;h.top=g.top}if(this.options.custom&&this.options.custom.refreshContainers){this.options.custom.refreshContainers.call(this)}else{for(d=this.containers.length-1;d>=0;d--){g=this.containers[d].element.offset();this.containers[d].containerCache.left=g.left;this.containers[d].containerCache.top=g.top;this.containers[d].containerCache.width=this.containers[d].element.outerWidth();this.containers[d].containerCache.height=this.containers[d].element.outerHeight()}}return this},_createPlaceholder:function(f){var d=f||this,h=d.options;if(!h.placeholder||h.placeholder.constructor==String){var g=h.placeholder;h.placeholder={element:function(){var b=a(document.createElement(d.currentItem[0].nodeName)).addClass(g||d.currentItem[0].className+" ui-sortable-placeholder").removeClass("ui-sortable-helper")[0];if(!g){b.style.visibility="hidden"}return b},update:function(c,b){if(!(g&&!h.forcePlaceholderSize)){b.height()||b.height(d.currentItem.innerHeight()-parseInt(d.currentItem.css("paddingTop")||0,10)-parseInt(d.currentItem.css("paddingBottom")||0,10));b.width()||b.width(d.currentItem.innerWidth()-parseInt(d.currentItem.css("paddingLeft")||0,10)-parseInt(d.currentItem.css("paddingRight")||0,10))}}}}d.placeholder=a(h.placeholder.element.call(d.element,d.currentItem));d.currentItem.after(d.placeholder);h.placeholder.update(d,d.placeholder)},_contactContainers:function(i){for(var d=null,n=null,m=this.containers.length-1;m>=0;m--){if(!a.ui.contains(this.currentItem[0],this.containers[m].element[0])){if(this._intersectsWith(this.containers[m].containerCache)){if(!(d&&a.ui.contains(this.containers[m].element[0],d.element[0]))){d=this.containers[m];n=m}}else{if(this.containers[m].containerCache.over){this.containers[m]._trigger("out",i,this._uiHash(this));this.containers[m].containerCache.over=0}}}}if(d){if(this.containers.length===1){this.containers[n]._trigger("over",i,this._uiHash(this));this.containers[n].containerCache.over=1}else{if(this.currentContainer!=this.containers[n]){d=10000;m=null;for(var l=this.positionAbs[this.containers[n].floating?"left":"top"],k=this.items.length-1;k>=0;k--){if(a.ui.contains(this.containers[n].element[0],this.items[k].item[0])){var j=this.items[k][this.containers[n].floating?"left":"top"];if(Math.abs(j-l)<d){d=Math.abs(j-l);m=this.items[k]}}}if(m||this.options.dropOnEmpty){this.currentContainer=this.containers[n];m?this._rearrange(i,m,null,true):this._rearrange(i,null,this.containers[n].element,true);this._trigger("change",i,this._uiHash());this.containers[n]._trigger("change",i,this._uiHash(this));this.options.placeholder.update(this.currentContainer,this.placeholder);this.containers[n]._trigger("over",i,this._uiHash(this));this.containers[n].containerCache.over=1}}}}},_createHelper:function(d){var c=this.options;d=a.isFunction(c.helper)?a(c.helper.apply(this.element[0],[d,this.currentItem])):c.helper=="clone"?this.currentItem.clone():this.currentItem;d.parents("body").length||a(c.appendTo!="parent"?c.appendTo:this.currentItem[0].parentNode)[0].appendChild(d[0]);if(d[0]==this.currentItem[0]){this._storedCSS={width:this.currentItem[0].style.width,height:this.currentItem[0].style.height,position:this.currentItem.css("position"),top:this.currentItem.css("top"),left:this.currentItem.css("left")}}if(d[0].style.width==""||c.forceHelperSize){d.width(this.currentItem.width())}if(d[0].style.height==""||c.forceHelperSize){d.height(this.currentItem.height())}return d},_adjustOffsetFromHelper:function(b){if(typeof b=="string"){b=b.split(" ")}if(a.isArray(b)){b={left:+b[0],top:+b[1]||0}}if("left" in b){this.offset.click.left=b.left+this.margins.left}if("right" in b){this.offset.click.left=this.helperProportions.width-b.right+this.margins.left}if("top" in b){this.offset.click.top=b.top+this.margins.top}if("bottom" in b){this.offset.click.top=this.helperProportions.height-b.bottom+this.margins.top}},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var b=this.offsetParent.offset();if(this.cssPosition=="absolute"&&this.scrollParent[0]!=document&&a.ui.contains(this.scrollParent[0],this.offsetParent[0])){b.left+=this.scrollParent.scrollLeft();b.top+=this.scrollParent.scrollTop()}if(this.offsetParent[0]==document.body||this.offsetParent[0].tagName&&this.offsetParent[0].tagName.toLowerCase()=="html"&&a.browser.msie){b={top:0,left:0}}return{top:b.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:b.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if(this.cssPosition=="relative"){var b=this.currentItem.position();return{top:b.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:b.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}else{return{top:0,left:0}}},_cacheMargins:function(){this.margins={left:parseInt(this.currentItem.css("marginLeft"),10)||0,top:parseInt(this.currentItem.css("marginTop"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var e=this.options;if(e.containment=="parent"){e.containment=this.helper[0].parentNode}if(e.containment=="document"||e.containment=="window"){this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,a(e.containment=="document"?document:window).width()-this.helperProportions.width-this.margins.left,(a(e.containment=="document"?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]}if(!/^(document|window|parent)$/.test(e.containment)){var d=a(e.containment)[0];e=a(e.containment).offset();var f=a(d).css("overflow")!="hidden";this.containment=[e.left+(parseInt(a(d).css("borderLeftWidth"),10)||0)+(parseInt(a(d).css("paddingLeft"),10)||0)-this.margins.left,e.top+(parseInt(a(d).css("borderTopWidth"),10)||0)+(parseInt(a(d).css("paddingTop"),10)||0)-this.margins.top,e.left+(f?Math.max(d.scrollWidth,d.offsetWidth):d.offsetWidth)-(parseInt(a(d).css("borderLeftWidth"),10)||0)-(parseInt(a(d).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,e.top+(f?Math.max(d.scrollHeight,d.offsetHeight):d.offsetHeight)-(parseInt(a(d).css("borderTopWidth"),10)||0)-(parseInt(a(d).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top]}},_convertPositionTo:function(f,d){if(!d){d=this.position}f=f=="absolute"?1:-1;var h=this.cssPosition=="absolute"&&!(this.scrollParent[0]!=document&&a.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,g=/(html|body)/i.test(h[0].tagName);return{top:d.top+this.offset.relative.top*f+this.offset.parent.top*f-(a.browser.safari&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollTop():g?0:h.scrollTop())*f),left:d.left+this.offset.relative.left*f+this.offset.parent.left*f-(a.browser.safari&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollLeft():g?0:h.scrollLeft())*f)}},_generatePosition:function(h){var d=this.options,l=this.cssPosition=="absolute"&&!(this.scrollParent[0]!=document&&a.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,k=/(html|body)/i.test(l[0].tagName);if(this.cssPosition=="relative"&&!(this.scrollParent[0]!=document&&this.scrollParent[0]!=this.offsetParent[0])){this.offset.relative=this._getRelativeOffset()}var j=h.pageX,i=h.pageY;if(this.originalPosition){if(this.containment){if(h.pageX-this.offset.click.left<this.containment[0]){j=this.containment[0]+this.offset.click.left}if(h.pageY-this.offset.click.top<this.containment[1]){i=this.containment[1]+this.offset.click.top}if(h.pageX-this.offset.click.left>this.containment[2]){j=this.containment[2]+this.offset.click.left}if(h.pageY-this.offset.click.top>this.containment[3]){i=this.containment[3]+this.offset.click.top}}if(d.grid){i=this.originalPageY+Math.round((i-this.originalPageY)/d.grid[1])*d.grid[1];i=this.containment?!(i-this.offset.click.top<this.containment[1]||i-this.offset.click.top>this.containment[3])?i:!(i-this.offset.click.top<this.containment[1])?i-d.grid[1]:i+d.grid[1]:i;j=this.originalPageX+Math.round((j-this.originalPageX)/d.grid[0])*d.grid[0];j=this.containment?!(j-this.offset.click.left<this.containment[0]||j-this.offset.click.left>this.containment[2])?j:!(j-this.offset.click.left<this.containment[0])?j-d.grid[0]:j+d.grid[0]:j}}return{top:i-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+(a.browser.safari&&this.cssPosition=="fixed"?0:this.cssPosition=="fixed"?-this.scrollParent.scrollTop():k?0:l.scrollTop()),left:j-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+(a.browser.safari&&this.cssPosition=="fixed"?0:this.cssPosition=="fixed"?-this.scrollParent.scrollLeft():k?0:l.scrollLeft())}},_rearrange:function(h,d,l,k){l?l[0].appendChild(this.placeholder[0]):d.item[0].parentNode.insertBefore(this.placeholder[0],this.direction=="down"?d.item[0]:d.item[0].nextSibling);this.counter=this.counter?++this.counter:1;var j=this,i=this.counter;window.setTimeout(function(){i==j.counter&&j.refreshPositions(!k)},0)},_clear:function(f,d){this.reverting=false;var h=[];!this._noFinalSort&&this.currentItem[0].parentNode&&this.placeholder.before(this.currentItem);this._noFinalSort=null;if(this.helper[0]==this.currentItem[0]){for(var g in this._storedCSS){if(this._storedCSS[g]=="auto"||this._storedCSS[g]=="static"){this._storedCSS[g]=""}}this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper")}else{this.currentItem.show()}this.fromOutside&&!d&&h.push(function(b){this._trigger("receive",b,this._uiHash(this.fromOutside))});if((this.fromOutside||this.domPosition.prev!=this.currentItem.prev().not(".ui-sortable-helper")[0]||this.domPosition.parent!=this.currentItem.parent()[0])&&!d){h.push(function(b){this._trigger("update",b,this._uiHash())})}if(!a.ui.contains(this.element[0],this.currentItem[0])){d||h.push(function(b){this._trigger("remove",b,this._uiHash())});for(g=this.containers.length-1;g>=0;g--){if(a.ui.contains(this.containers[g].element[0],this.currentItem[0])&&!d){h.push(function(b){return function(c){b._trigger("receive",c,this._uiHash(this))}}.call(this,this.containers[g]));h.push(function(b){return function(c){b._trigger("update",c,this._uiHash(this))}}.call(this,this.containers[g]))}}}for(g=this.containers.length-1;g>=0;g--){d||h.push(function(b){return function(c){b._trigger("deactivate",c,this._uiHash(this))}}.call(this,this.containers[g]));if(this.containers[g].containerCache.over){h.push(function(b){return function(c){b._trigger("out",c,this._uiHash(this))}}.call(this,this.containers[g]));this.containers[g].containerCache.over=0}}this._storedCursor&&a("body").css("cursor",this._storedCursor);this._storedOpacity&&this.helper.css("opacity",this._storedOpacity);if(this._storedZIndex){this.helper.css("zIndex",this._storedZIndex=="auto"?"":this._storedZIndex)}this.dragging=false;if(this.cancelHelperRemoval){if(!d){this._trigger("beforeStop",f,this._uiHash());for(g=0;g<h.length;g++){h[g].call(this,f)}this._trigger("stop",f,this._uiHash())}return false}d||this._trigger("beforeStop",f,this._uiHash());this.placeholder[0].parentNode.removeChild(this.placeholder[0]);this.helper[0]!=this.currentItem[0]&&this.helper.remove();this.helper=null;if(!d){for(g=0;g<h.length;g++){h[g].call(this,f)}this._trigger("stop",f,this._uiHash())}this.fromOutside=false;return true},_trigger:function(){a.Widget.prototype._trigger.apply(this,arguments)===false&&this.cancel()},_uiHash:function(d){var c=d||this;return{helper:c.helper,placeholder:c.placeholder||a([]),position:c.position,originalPosition:c.originalPosition,offset:c.positionAbs,item:c.currentItem,sender:d?d.element:null}}});a.extend(a.ui.sortable,{version:"1.8.7"})})(jQuery);(function(a){a.widget("ui.autocomplete",{options:{appendTo:"body",delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null},_create:function(){var d=this,c=this.element[0].ownerDocument,e;this.element.addClass("ui-autocomplete-input").attr("autocomplete","off").attr({role:"textbox","aria-autocomplete":"list","aria-haspopup":"true"}).bind("keydown.autocomplete",function(f){if(!(d.options.disabled||d.element.attr("readonly"))){e=false;var b=a.ui.keyCode;switch(f.keyCode){case b.PAGE_UP:d._move("previousPage",f);break;case b.PAGE_DOWN:d._move("nextPage",f);break;case b.UP:d._move("previous",f);f.preventDefault();break;case b.DOWN:d._move("next",f);f.preventDefault();break;case b.ENTER:case b.NUMPAD_ENTER:if(d.menu.active){e=true;f.preventDefault()}case b.TAB:if(!d.menu.active){return}d.menu.select(f);break;case b.ESCAPE:d.element.val(d.term);d.close(f);break;default:clearTimeout(d.searching);d.searching=setTimeout(function(){if(d.term!=d.element.val()){d.selectedItem=null;d.search(null,f)}},d.options.delay);break}}}).bind("keypress.autocomplete",function(b){if(e){e=false;b.preventDefault()}}).bind("focus.autocomplete",function(){if(!d.options.disabled){d.selectedItem=null;d.previous=d.element.val()}}).bind("blur.autocomplete",function(b){if(!d.options.disabled){clearTimeout(d.searching);d.closing=setTimeout(function(){d.close(b);d._change(b)},150)}});this._initSource();this.response=function(){return d._response.apply(d,arguments)};this.menu=a("<ul></ul>").addClass("ui-autocomplete").appendTo(a(this.options.appendTo||"body",c)[0]).mousedown(function(f){var b=d.menu.element[0];a(f.target).closest(".ui-menu-item").length||setTimeout(function(){a(document).one("mousedown",function(h){h.target!==d.element[0]&&h.target!==b&&!a.ui.contains(b,h.target)&&d.close()})},1);setTimeout(function(){clearTimeout(d.closing)},13)}).menu({focus:function(f,b){b=b.item.data("item.autocomplete");false!==d._trigger("focus",f,{item:b})&&/^key/.test(f.originalEvent.type)&&d.element.val(b.value)},selected:function(j,i){var f=i.item.data("item.autocomplete"),b=d.previous;if(d.element[0]!==c.activeElement){d.element.focus();d.previous=b;setTimeout(function(){d.previous=b;d.selectedItem=f},1)}false!==d._trigger("select",j,{item:f})&&d.element.val(f.value);d.term=d.element.val();d.close(j);d.selectedItem=f},blur:function(){d.menu.element.is(":visible")&&d.element.val()!==d.term&&d.element.val(d.term)}}).zIndex(this.element.zIndex()+1).css({top:0,left:0}).hide().data("menu");a.fn.bgiframe&&this.menu.element.bgiframe()},destroy:function(){this.element.removeClass("ui-autocomplete-input").removeAttr("autocomplete").removeAttr("role").removeAttr("aria-autocomplete").removeAttr("aria-haspopup");this.menu.element.remove();a.Widget.prototype.destroy.call(this)},_setOption:function(d,c){a.Widget.prototype._setOption.apply(this,arguments);d==="source"&&this._initSource();if(d==="appendTo"){this.menu.element.appendTo(a(c||"body",this.element[0].ownerDocument)[0])}},_initSource:function(){var d=this,c,e;if(a.isArray(this.options.source)){c=this.options.source;this.source=function(f,b){b(a.ui.autocomplete.filter(c,f.term))}}else{if(typeof this.options.source==="string"){e=this.options.source;this.source=function(f,b){d.xhr&&d.xhr.abort();d.xhr=a.ajax({url:e,data:f,dataType:"json",success:function(l,k,j){j===d.xhr&&b(l);d.xhr=null},error:function(h){h===d.xhr&&b([]);d.xhr=null}})}}else{this.source=this.options.source}}},search:function(d,c){d=d!=null?d:this.element.val();this.term=this.element.val();if(d.length<this.options.minLength){return this.close(c)}clearTimeout(this.closing);if(this._trigger("search",c)!==false){return this._search(d)}},_search:function(b){this.element.addClass("ui-autocomplete-loading");this.source({term:b},this.response)},_response:function(b){if(b&&b.length){b=this._normalize(b);this._suggest(b);this._trigger("open")}else{this.close()}this.element.removeClass("ui-autocomplete-loading")},close:function(b){clearTimeout(this.closing);if(this.menu.element.is(":visible")){this.menu.element.hide();this.menu.deactivate();this._trigger("close",b)}},_change:function(b){this.previous!==this.element.val()&&this._trigger("change",b,{item:this.selectedItem})},_normalize:function(b){if(b.length&&b[0].label&&b[0].value){return b}return a.map(b,function(c){if(typeof c==="string"){return{label:c,value:c}}return a.extend({label:c.label||c.value,value:c.value||c.label},c)})},_suggest:function(d){var c=this.menu.element.empty().zIndex(this.element.zIndex()+1);this._renderMenu(c,d);this.menu.deactivate();this.menu.refresh();c.show();this._resizeMenu();c.position(a.extend({of:this.element},this.options.position))},_resizeMenu:function(){var b=this.menu.element;b.outerWidth(Math.max(b.width("").outerWidth(),this.element.outerWidth()))},_renderMenu:function(d,c){var e=this;a.each(c,function(f,b){e._renderItem(d,b)})},_renderItem:function(d,c){return a("<li></li>").data("item.autocomplete",c).append(a("<a></a>").text(c.label)).appendTo(d)},_move:function(d,c){if(this.menu.element.is(":visible")){if(this.menu.first()&&/^previous/.test(d)||this.menu.last()&&/^next/.test(d)){this.element.val(this.term);this.menu.deactivate()}else{this.menu[d](c)}}else{this.search(null,c)}},widget:function(){return this.menu.element}});a.extend(a.ui.autocomplete,{escapeRegex:function(b){return b.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")},filter:function(d,c){var e=new RegExp(a.ui.autocomplete.escapeRegex(c),"i");return a.grep(d,function(b){return e.test(b.label||b.value||b)})}})})(jQuery);(function(a){a.widget("ui.menu",{_create:function(){var b=this;this.element.addClass("ui-menu ui-widget ui-widget-content ui-corner-all").attr({role:"listbox","aria-activedescendant":"ui-active-menuitem"}).click(function(c){if(a(c.target).closest(".ui-menu-item a").length){c.preventDefault();b.select(c)}});this.refresh()},refresh:function(){var b=this;this.element.children("li:not(.ui-menu-item):has(a)").addClass("ui-menu-item").attr("role","menuitem").children("a").addClass("ui-corner-all").attr("tabindex",-1).mouseenter(function(c){b.activate(c,a(this).parent())}).mouseleave(function(){b.deactivate()})},activate:function(g,d){this.deactivate();if(this.hasScroll()){var h=d.offset().top-this.element.offset().top,j=this.element.attr("scrollTop"),i=this.element.height();if(h<0){this.element.attr("scrollTop",j+h)}else{h>=i&&this.element.attr("scrollTop",j+h-i+d.height())}}this.active=d.eq(0).children("a").addClass("ui-state-hover").attr("id","ui-active-menuitem").end();this._trigger("focus",g,{item:d})},deactivate:function(){if(this.active){this.active.children("a").removeClass("ui-state-hover").removeAttr("id");this._trigger("blur");this.active=null}},next:function(b){this.move("next",".ui-menu-item:first",b)},previous:function(b){this.move("prev",".ui-menu-item:last",b)},first:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},last:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},move:function(d,c,e){if(this.active){d=this.active[d+"All"](".ui-menu-item").eq(0);d.length?this.activate(e,d):this.activate(e,this.element.children(c))}else{this.activate(e,this.element.children(c))}},nextPage:function(e){if(this.hasScroll()){if(!this.active||this.last()){this.activate(e,this.element.children(".ui-menu-item:first"))}else{var d=this.active.offset().top,g=this.element.height(),h=this.element.children(".ui-menu-item").filter(function(){var b=a(this).offset().top-d-g+a(this).height();return b<10&&b>-10});h.length||(h=this.element.children(".ui-menu-item:last"));this.activate(e,h)}}else{this.activate(e,this.element.children(".ui-menu-item").filter(!this.active||this.last()?":first":":last"))}},previousPage:function(d){if(this.hasScroll()){if(!this.active||this.first()){this.activate(d,this.element.children(".ui-menu-item:last"))}else{var c=this.active.offset().top,e=this.element.height();result=this.element.children(".ui-menu-item").filter(function(){var b=a(this).offset().top-c+e-a(this).height();return b<10&&b>-10});result.length||(result=this.element.children(".ui-menu-item:first"));this.activate(d,result)}}else{this.activate(d,this.element.children(".ui-menu-item").filter(!this.active||this.first()?":last":":first"))}},hasScroll:function(){return this.element.height()<this.element.attr("scrollHeight")},select:function(b){this._trigger("selected",b,{item:this.active})}})})(jQuery);jQuery.effects||function(l,i){function e(j){var f;if(j&&j.constructor==Array&&j.length==3){return j}if(f=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(j)){return[parseInt(f[1],10),parseInt(f[2],10),parseInt(f[3],10)]}if(f=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(j)){return[parseFloat(f[1])*2.55,parseFloat(f[2])*2.55,parseFloat(f[3])*2.55]}if(f=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(j)){return[parseInt(f[1],16),parseInt(f[2],16),parseInt(f[3],16)]}if(f=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(j)){return[parseInt(f[1]+f[1],16),parseInt(f[2]+f[2],16),parseInt(f[3]+f[3],16)]}if(/rgba\(0, 0, 0, 0\)/.exec(j)){return d.transparent}return d[l.trim(j).toLowerCase()]}function x(k,j){var f;do{f=l.curCSS(k,j);if(f!=""&&f!="transparent"||l.nodeName(k,"body")){break}j="backgroundColor"}while(k=k.parentNode);return e(f)}function c(){var n=document.defaultView?document.defaultView.getComputedStyle(this,null):this.currentStyle,j={},f,m;if(n&&n.length&&n[0]&&n[n[0]]){for(var k=n.length;k--;){f=n[k];if(typeof n[f]=="string"){m=f.replace(/\-(\w)/g,function(p,o){return o.toUpperCase()});j[m]=n[f]}}}else{for(f in n){if(typeof n[f]==="string"){j[f]=n[f]}}}return j}function b(k){var j,f;for(j in k){f=k[j];if(f==null||l.isFunction(f)||j in w||/scrollbar/.test(j)||!/color/i.test(j)&&isNaN(parseFloat(f))){delete k[j]}}return k}function v(m,j){var f={_:0},k;for(k in j){if(m[k]!=j[k]){f[k]=j[k]}}return f}function h(m,j,f,k){if(typeof m=="object"){k=j;f=null;j=m;m=j.effect}if(l.isFunction(j)){k=j;f=null;j={}}if(typeof j=="number"||l.fx.speeds[j]){k=f;f=j;j={}}if(l.isFunction(f)){k=f;f=null}j=j||{};f=f||j.duration;f=l.fx.off?0:typeof f=="number"?f:f in l.fx.speeds?l.fx.speeds[f]:l.fx.speeds._default;k=k||j.complete;return[m,j,f,k]}function g(f){if(!f||typeof f==="number"||l.fx.speeds[f]){return true}if(typeof f==="string"&&!l.effects[f]){return true}return false}l.effects={};l.each(["backgroundColor","borderBottomColor","borderLeftColor","borderRightColor","borderTopColor","borderColor","color","outlineColor"],function(j,f){l.fx.step[f]=function(k){if(!k.colorInit){k.start=x(k.elem,f);k.end=e(k.end);k.colorInit=true}k.elem.style[f]="rgb("+Math.max(Math.min(parseInt(k.pos*(k.end[0]-k.start[0])+k.start[0],10),255),0)+","+Math.max(Math.min(parseInt(k.pos*(k.end[1]-k.start[1])+k.start[1],10),255),0)+","+Math.max(Math.min(parseInt(k.pos*(k.end[2]-k.start[2])+k.start[2],10),255),0)+")"}});var d={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0],transparent:[255,255,255]},a=["add","remove","toggle"],w={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};l.effects.animateClass=function(m,j,f,k){if(l.isFunction(f)){k=f;f=null}return this.each(function(){l.queue(this,"fx",function(){var r=l(this),q=r.attr("style")||" ",p=b(c.call(this)),n,o=r.attr("className");l.each(a,function(s,t){m[t]&&r[t+"Class"](m[t])});n=b(c.call(this));r.attr("className",o);r.animate(v(p,n),j,f,function(){l.each(a,function(s,t){m[t]&&r[t+"Class"](m[t])});if(typeof r.attr("style")=="object"){r.attr("style").cssText="";r.attr("style").cssText=q}else{r.attr("style",q)}k&&k.apply(this,arguments)});p=l.queue(this);n=p.splice(p.length-1,1)[0];p.splice(1,0,n);l.dequeue(this)})})};l.fn.extend({_addClass:l.fn.addClass,addClass:function(m,j,f,k){return j?l.effects.animateClass.apply(this,[{add:m},j,f,k]):this._addClass(m)},_removeClass:l.fn.removeClass,removeClass:function(m,j,f,k){return j?l.effects.animateClass.apply(this,[{remove:m},j,f,k]):this._removeClass(m)},_toggleClass:l.fn.toggleClass,toggleClass:function(n,j,f,m,k){return typeof j=="boolean"||j===i?f?l.effects.animateClass.apply(this,[j?{add:n}:{remove:n},f,m,k]):this._toggleClass(n,j):l.effects.animateClass.apply(this,[{toggle:n},j,f,m])},switchClass:function(n,j,f,m,k){return l.effects.animateClass.apply(this,[{add:j,remove:n},f,m,k])}});l.extend(l.effects,{version:"1.8.7",save:function(k,j){for(var f=0;f<j.length;f++){j[f]!==null&&k.data("ec.storage."+j[f],k[0].style[j[f]])}},restore:function(k,j){for(var f=0;f<j.length;f++){j[f]!==null&&k.css(j[f],k.data("ec.storage."+j[f]))}},setMode:function(j,f){if(f=="toggle"){f=j.is(":hidden")?"show":"hide"}return f},getBaseline:function(k,j){var f;switch(k[0]){case"top":f=0;break;case"middle":f=0.5;break;case"bottom":f=1;break;default:f=k[0]/j.height}switch(k[1]){case"left":k=0;break;case"center":k=0.5;break;case"right":k=1;break;default:k=k[1]/j.width}return{x:k,y:f}},createWrapper:function(k){if(k.parent().is(".ui-effects-wrapper")){return k.parent()}var j={width:k.outerWidth(true),height:k.outerHeight(true),"float":k.css("float")},f=l("<div></div>").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0});k.wrap(f);f=k.parent();if(k.css("position")=="static"){f.css({position:"relative"});k.css({position:"relative"})}else{l.extend(j,{position:k.css("position"),zIndex:k.css("z-index")});l.each(["top","left","bottom","right"],function(n,m){j[m]=k.css(m);if(isNaN(parseInt(j[m],10))){j[m]="auto"}});k.css({position:"relative",top:0,left:0})}return f.css(j).show()},removeWrapper:function(f){if(f.parent().is(".ui-effects-wrapper")){return f.parent().replaceWith(f)}return f},setTransition:function(m,j,f,k){k=k||{};l.each(j,function(o,n){unit=m.cssUnit(n);if(unit[0]>0){k[n]=unit[0]*f+unit[1]}});return k}});l.fn.extend({effect:function(m){var j=h.apply(this,arguments),f={options:j[1],duration:j[2],callback:j[3]};j=f.options.mode;var k=l.effects[m];if(l.fx.off||!k){return j?this[j](f.duration,f.callback):this.each(function(){f.callback&&f.callback.call(this)})}return k.call(this,f)},_show:l.fn.show,show:function(j){if(g(j)){return this._show.apply(this,arguments)}else{var f=h.apply(this,arguments);f[1].mode="show";return this.effect.apply(this,f)}},_hide:l.fn.hide,hide:function(j){if(g(j)){return this._hide.apply(this,arguments)}else{var f=h.apply(this,arguments);f[1].mode="hide";return this.effect.apply(this,f)}},__toggle:l.fn.toggle,toggle:function(j){if(g(j)||typeof j==="boolean"||l.isFunction(j)){return this.__toggle.apply(this,arguments)}else{var f=h.apply(this,arguments);f[1].mode="toggle";return this.effect.apply(this,f)}},cssUnit:function(k){var j=this.css(k),f=[];l.each(["em","px","%","pt"],function(n,m){if(j.indexOf(m)>0){f=[parseFloat(j),m]}});return f}});l.easing.jswing=l.easing.swing;l.extend(l.easing,{def:"easeOutQuad",swing:function(n,j,f,m,k){return l.easing[l.easing.def](n,j,f,m,k)},easeInQuad:function(n,j,f,m,k){return m*(j/=k)*j+f},easeOutQuad:function(n,j,f,m,k){return -m*(j/=k)*(j-2)+f},easeInOutQuad:function(n,j,f,m,k){if((j/=k/2)<1){return m/2*j*j+f}return -m/2*(--j*(j-2)-1)+f},easeInCubic:function(n,j,f,m,k){return m*(j/=k)*j*j+f},easeOutCubic:function(n,j,f,m,k){return m*((j=j/k-1)*j*j+1)+f},easeInOutCubic:function(n,j,f,m,k){if((j/=k/2)<1){return m/2*j*j*j+f}return m/2*((j-=2)*j*j+2)+f},easeInQuart:function(n,j,f,m,k){return m*(j/=k)*j*j*j+f},easeOutQuart:function(n,j,f,m,k){return -m*((j=j/k-1)*j*j*j-1)+f},easeInOutQuart:function(n,j,f,m,k){if((j/=k/2)<1){return m/2*j*j*j*j+f}return -m/2*((j-=2)*j*j*j-2)+f},easeInQuint:function(n,j,f,m,k){return m*(j/=k)*j*j*j*j+f},easeOutQuint:function(n,j,f,m,k){return m*((j=j/k-1)*j*j*j*j+1)+f},easeInOutQuint:function(n,j,f,m,k){if((j/=k/2)<1){return m/2*j*j*j*j*j+f}return m/2*((j-=2)*j*j*j*j+2)+f},easeInSine:function(n,j,f,m,k){return -m*Math.cos(j/k*(Math.PI/2))+m+f},easeOutSine:function(n,j,f,m,k){return m*Math.sin(j/k*(Math.PI/2))+f},easeInOutSine:function(n,j,f,m,k){return -m/2*(Math.cos(Math.PI*j/k)-1)+f},easeInExpo:function(n,j,f,m,k){return j==0?f:m*Math.pow(2,10*(j/k-1))+f},easeOutExpo:function(n,j,f,m,k){return j==k?f+m:m*(-Math.pow(2,-10*j/k)+1)+f},easeInOutExpo:function(n,j,f,m,k){if(j==0){return f}if(j==k){return f+m}if((j/=k/2)<1){return m/2*Math.pow(2,10*(j-1))+f}return m/2*(-Math.pow(2,-10*--j)+2)+f},easeInCirc:function(n,j,f,m,k){return -m*(Math.sqrt(1-(j/=k)*j)-1)+f},easeOutCirc:function(n,j,f,m,k){return m*Math.sqrt(1-(j=j/k-1)*j)+f},easeInOutCirc:function(n,j,f,m,k){if((j/=k/2)<1){return -m/2*(Math.sqrt(1-j*j)-1)+f}return m/2*(Math.sqrt(1-(j-=2)*j)+1)+f},easeInElastic:function(p,j,f,o,n){p=1.70158;var m=0,k=o;if(j==0){return f}if((j/=n)==1){return f+o}m||(m=n*0.3);if(k<Math.abs(o)){k=o;p=m/4}else{p=m/(2*Math.PI)*Math.asin(o/k)}return -(k*Math.pow(2,10*(j-=1))*Math.sin((j*n-p)*2*Math.PI/m))+f},easeOutElastic:function(p,j,f,o,n){p=1.70158;var m=0,k=o;if(j==0){return f}if((j/=n)==1){return f+o}m||(m=n*0.3);if(k<Math.abs(o)){k=o;p=m/4}else{p=m/(2*Math.PI)*Math.asin(o/k)}return k*Math.pow(2,-10*j)*Math.sin((j*n-p)*2*Math.PI/m)+o+f},easeInOutElastic:function(p,j,f,o,n){p=1.70158;var m=0,k=o;if(j==0){return f}if((j/=n/2)==2){return f+o}m||(m=n*0.3*1.5);if(k<Math.abs(o)){k=o;p=m/4}else{p=m/(2*Math.PI)*Math.asin(o/k)}if(j<1){return -0.5*k*Math.pow(2,10*(j-=1))*Math.sin((j*n-p)*2*Math.PI/m)+f}return k*Math.pow(2,-10*(j-=1))*Math.sin((j*n-p)*2*Math.PI/m)*0.5+o+f},easeInBack:function(o,j,f,n,m,k){if(k==i){k=1.70158}return n*(j/=m)*j*((k+1)*j-k)+f},easeOutBack:function(o,j,f,n,m,k){if(k==i){k=1.70158}return n*((j=j/m-1)*j*((k+1)*j+k)+1)+f},easeInOutBack:function(o,j,f,n,m,k){if(k==i){k=1.70158}if((j/=m/2)<1){return n/2*j*j*(((k*=1.525)+1)*j-k)+f}return n/2*((j-=2)*j*(((k*=1.525)+1)*j+k)+2)+f},easeInBounce:function(n,j,f,m,k){return m-l.easing.easeOutBounce(n,k-j,0,m,k)+f},easeOutBounce:function(n,j,f,m,k){return(j/=k)<1/2.75?m*7.5625*j*j+f:j<2/2.75?m*(7.5625*(j-=1.5/2.75)*j+0.75)+f:j<2.5/2.75?m*(7.5625*(j-=2.25/2.75)*j+0.9375)+f:m*(7.5625*(j-=2.625/2.75)*j+0.984375)+f},easeInOutBounce:function(n,j,f,m,k){if(j<k/2){return l.easing.easeInBounce(n,j*2,0,m,k)*0.5+f}return l.easing.easeOutBounce(n,j*2-k,0,m,k)*0.5+m*0.5+f}})}(jQuery);(function(a){a.anythingSlider=function(c,b){var d=this;d.$el=a(c);d.el=c;d.currentPage=1;d.timer=null;d.playing=false;d.$el.data("AnythingSlider",d);d.init=function(){d.options=a.extend({},a.anythingSlider.defaults,b);d.$wrapper=d.$el.find("> div").css("overflow","hidden");d.$slider=d.$wrapper.find("> ul");d.$items=d.$slider.find("> li");d.$single=d.$items.filter(":first");d.singleWidth=d.$single.outerWidth();d.pages=d.$items.length;if(d.pages===1){d.options.autoPlay=false}d.buildNavigation();var e=d.$items.filter(":last").clone().addClass("cloned");if(e.attr("id")!=""){d.$items.filter(":first").before(e.attr("id",(e.attr("id")+"-cloned")))}else{d.$items.filter(":first").before(e)}e=d.$items.filter(":first").clone().addClass("cloned");if(e.attr("id")!=""){d.$items.filter(":last").after(e.attr("id",(e.attr("id")+"-cloned")))}else{d.$items.filter(":last").after(e)}d.$items=d.$slider.find("> li");if(d.pages>1){d.buildNextBackButtons()}if(d.options.autoPlay){d.playing=!d.options.startStopped;d.buildAutoPlay()}if(d.options.pauseOnHover){d.$el.hover(function(){d.clearTimer()},function(){d.startStop(d.playing)})}if((d.options.hashTags==true&&!d.gotoHash())||d.options.hashTags==false){d.setCurrentPage(1)}};d.gotoPage=function(g,f){if(f!==true){f=false}if(!f){d.startStop(false)}if(typeof(g)=="undefined"||g==null){g=1;d.setCurrentPage(1)}if(g>d.pages+1){g=d.pages}if(g<0){g=1}var e=g<d.currentPage?-1:1,i=Math.abs(d.currentPage-g),h=d.singleWidth*e*i;d.$wrapper.filter(":not(:animated)").animate({scrollLeft:"+="+h},d.options.animationTime,d.options.easing,function(){if(g==0){d.$wrapper.scrollLeft(d.singleWidth*d.pages);g=d.pages}else{if(g>d.pages){d.$wrapper.scrollLeft(d.singleWidth);g=1}}d.setCurrentPage(g)})};d.setCurrentPage=function(f,e){if(d.options.buildNavigation){d.$nav.find(".cur").removeClass("cur");a(d.$navLinks[f-1]).addClass("cur")}if(e!==false){d.$wrapper.scrollLeft(d.singleWidth*f)}d.currentPage=f};d.goForward=function(e){if(e!==true){e=false}d.gotoPage(d.currentPage+1,e)};d.goBack=function(){d.gotoPage(d.currentPage-1)};d.gotoHash=function(){if(/^#?panel-\d+$/.test(window.location.hash)){var f=parseInt(window.location.hash.substr(7));var e=d.$items.filter(":eq("+f+")");if(e.length!=0){d.setCurrentPage(f);return true}}return false};d.buildNavigation=function(){d.$nav=a("<div class='thumbNav'><ul/></div>").prependTo(d.$el);if(d.options.buildNavigation&&(d.pages>1)){d.$items.each(function(f,g){var e=f+1;var h=a("<a href='#'></a>");if(typeof(d.options.navigationFormatter)=="function"){h.html(d.options.navigationFormatter(e,a(this)))}else{h.text(e)}h.click(function(i){d.gotoPage(e);if(d.options.hashTags){d.setHash("panel-"+e)}i.preventDefault()});a("ul",d.$nav).append(h);h.wrap("<li />")});d.$navLinks=d.$nav.find("li > a")}};d.buildNextBackButtons=function(){var e=a('<li class="arrow forward"><a href="#">'+d.options.forwardText+"</a></li>"),f=a('<li class="arrow back"><a href="#">'+d.options.backText+"</a></li>");f.click(function(g){d.goBack();g.preventDefault()});e.click(function(g){d.goForward();g.preventDefault()});a("ul",d.$nav).prepend(f).append(e)};d.buildAutoPlay=function(){d.$startStop=a("<a href='#' class='start-stop'></a>").html(d.playing?d.options.stopText:d.options.startText);d.$el.prepend(d.$startStop);d.$startStop.click(function(f){d.startStop(!d.playing);f.preventDefault()});d.startStop(d.playing)};d.startStop=function(e){if(e!==true){e=false}d.playing=e;if(d.options.autoPlay){d.$startStop.toggleClass("playing",e).html(e?d.options.stopText:d.options.startText)}if(e){d.clearTimer();d.timer=window.setInterval(function(){d.goForward(true)},d.options.delay)}else{d.clearTimer()}};d.clearTimer=function(){if(d.timer){window.clearInterval(d.timer)}};d.setHash=function(e){if(typeof window.location.hash!=="undefined"){if(window.location.hash!==e){window.location.hash=e}}else{if(location.hash!==e){location.hash=e}}return e};d.init()};a.anythingSlider.defaults={easing:"swing",autoPlay:true,startStopped:false,delay:3000,animationTime:600,hashTags:true,buildNavigation:true,pauseOnHover:true,startText:"Start",stopText:"Stop",navigationFormatter:null,forwardText:"&gt;",backText:"&lt;"};a.fn.anythingSlider=function(b){if(typeof(b)=="object"){return this.each(function(c){(new a.anythingSlider(this,b));b.hashTags=false})}else{if(typeof(b)=="number"){return this.each(function(c){var d=a(this).data("AnythingSlider");if(d){d.gotoPage(b)}})}}}})(jQuery);(function(b){b.bbedit={lang:{b:"Pogrubienie",i:"Kursywa",u:"Podkreślenie",s:"Przekreślenie",url:"Wstaw link",img:"Wstaw obrazek",code:"Wstaw kod",quote:"Wstaw cytat",cool:"Cool",cry:"Płacz",embarassed:"Zawstydzony","foot-in-mouth":"Ups...",frown:"Zasmucony",innocent:"Niewinny",kiss:"Całus",laughing:":D","money-mouth":"Kasa",sealed:"Milczy",smile:":)",surprised:"Zaskoczony","tongue-out":":P",undecided:"Niezdecydowany",wink:";)",yell:"Krzyk"}};b.fn.extend({bbedit:function(f){this.defaults={highlight:false,enableToolbar:true,enableSmileybar:true,smileyPath:"/img/smiley/",tags:"b,i,u,s,url,code,quote",smilies:"cool,cry,embarassed,foot-in-mouth,frown,innocent,kiss,laughing,money-mouth,sealed,smile,surprised,tongue-out,undecided,wink,yell"};var f=b.extend(this.defaults,f);var c=f.tags.toLowerCase().split(/,\s*/);var g='<div class="bbedit-toolbar">';for(var e in c){g+='<span class="bbedit-'+c[e]+'" title="'+b.bbedit.lang[c[e]]+'">&nbsp;</span> '}g+="</div>";var d=f.smilies.toLowerCase().split(/,\s*/);var h='<div class="bbedit-smileybar">';for(var e in d){h+='<img src="'+f.smileyPath+"smiley-"+d[e]+'.gif" class="bbedit-'+d[e]+'" alt="'+d[e]+'" title="'+b.bbedit.lang[d[e]]+'" /> '}h+="</div>";return this.each(function(){var m=f;m.range=null;m.ta=this;b(this).bind("select click keyup",function(){if(document.selection){m.range=document.selection.createRange()}});if(f.enableToolbar){var l=b(g);b(this).before(l);if(b.browser.msie&&parseInt(b.browser.version)<=6){l.children("span").mouseover(function(){b(this).addClass("hover")}).mouseout(function(){b(this).removeClass("hover")})}l.find(".bbedit-b").click(function(){a(m,"[b]","[/b]")});l.find(".bbedit-i").click(function(){a(m,"[i]","[/i]")});l.find(".bbedit-u").click(function(){a(m,"[u]","[/u]")});l.find(".bbedit-s").click(function(){a(m,"[s]","[/s]")});l.find(".bbedit-code").click(function(){a(m,"[code]","[/code]")});l.find(".bbedit-quote").click(function(){a(m,"[quote]","[/quote]")});l.find(".bbedit-url").click(function(){a(m,function(n){if(/^https?:\/\//i.test(n)){return"[url]"+n+"[/url]"}else{var i=prompt("URL: ","");if(i!=null&&i!=""){if(!/^https?:\/\//i.test(i)){i="http://"+i}if(n==""){return"[url]"+i+"[/url]"}else{return"[url="+i+"]"+n+"[/url]"}}return false}})});l.find(".bbedit-img").click(function(){a(m,function(n){if(/^https?:\/\//i.test(n)){return"[img]"+n+"[/img]"}else{var i=prompt("Image: ","");if(i!=null&&i!=""){if(!/^https?:\/\//i.test(i)){i="http://"+i}return"[img]"+i+"[/img]"}return false}})})}if(f.enableSmileybar){var j=b(h);b(this).before(j);for(var k in d){j.find(".bbedit-"+d[k]).click(function(){a(m,"[:Q"+b(this).attr("class").replace(/bbedit-/,"")+"]")})}}})}});function a(e,k,i){var d,h,c;var f=e.ta;var g=e.range;var j="";if(g!=null){j=g.text}else{if(typeof f.selectionStart!="undefined"){h=f.selectionStart;c=f.selectionEnd;j=f.value.substring(h,c)}}if(typeof k=="function"||typeof k=="object"){d=k(j);if(d===false){if(g!=null){g.moveStart("character",j.length);g.select()}else{if(typeof f.selectionStart!="undefined"){f.selectionStart=h+j.length}}f.focus();return}}else{if(!i||i==""){d=j+k}else{d=k+j+i}}if(g!=null){g.text=d;if(e.highlight){g.moveStart("character",-d.length)}else{g.moveStart("character",0)}g.select()}else{if(typeof f.selectionStart!="undefined"){f.value=f.value.substring(0,h)+d+f.value.substr(c);if(e.highlight){f.selectionStart=h;f.selectionEnd=h+d.length}else{f.selectionStart=h+d.length;f.selectionEnd=h+d.length}}else{f.value+=d}}f.focus()}})(jQuery);
/*
 * jQuery blockUI plugin
 * Version 2.33 (29-MAR-2010)
 * @requires jQuery v1.2.3 or later
 *
 * Examples at: http://malsup.com/jquery/block/
 * Copyright (c) 2007-2008 M. Alsup
 * Dual licensed under the MIT and GPL licenses:
 * http://www.opensource.org/licenses/mit-license.php
 * http://www.gnu.org/licenses/gpl.html
 *
 * Thanks to Amir-Hossein Sobhi for some excellent contributions!
 */
(function(i){if(/1\.(0|1|2)\.(0|1|2)/.test(i.fn.jquery)||/^1.1/.test(i.fn.jquery)){alert("blockUI requires jQuery v1.2.3 or later!  You are using v"+i.fn.jquery);return}i.fn._fadeIn=i.fn.fadeIn;var c=function(){};var j=document.documentMode||0;var e=i.browser.msie&&((i.browser.version<8&&!j)||j<8);var f=i.browser.msie&&/MSIE 6.0/.test(navigator.userAgent)&&!j;i.blockUI=function(p){d(window,p)};i.unblockUI=function(p){h(window,p)};i.growlUI=function(t,r,s,p){var q=i('<div class="growlUI"></div>');if(t){q.append("<h1>"+t+"</h1>")}if(r){q.append("<h2>"+r+"</h2>")}if(s==undefined){s=3000}i.blockUI({message:q,fadeIn:700,fadeOut:1000,centerY:false,timeout:s,showOverlay:false,onUnblock:p,css:i.blockUI.defaults.growlCSS})};i.fn.block=function(p){return this.unblock({fadeOut:0}).each(function(){if(i.css(this,"position")=="static"){this.style.position="relative"}if(i.browser.msie){this.style.zoom=1}d(this,p)})};i.fn.unblock=function(p){return this.each(function(){h(this,p)})};i.blockUI.version=2.33;i.blockUI.defaults={message:'<div class="blockloader"></div><b class="ms">Proszę czekać...</b>',title:null,draggable:true,theme:false,css:{margin:0,width:"30%",top:"40%",left:"35%",textAlign:"center",cursor:"wait",border:"none",padding:"15px",backgroundColor:"#E52918","-webkit-border-radius":"10px","-moz-border-radius":"10px","border-radius":"10px",color:"#fff"},themedCSS:{width:"30%",top:"40%",left:"35%"},overlayCSS:{backgroundColor:"#fff",opacity:0.6,cursor:"wait"},growlCSS:{width:"350px",top:"10px",left:"",right:"10px",border:"none",padding:"5px",opacity:0.6,cursor:"default",color:"#fff",backgroundColor:"#000","-webkit-border-radius":"10px","-moz-border-radius":"10px"},iframeSrc:/^https/i.test(window.location.href||"")?"javascript:false":"about:blank",forceIframe:false,baseZ:5000,centerX:true,centerY:true,allowBodyStretch:true,bindEvents:true,constrainTabKey:true,fadeIn:200,fadeOut:400,timeout:0,showOverlay:true,focusInput:true,applyPlatformOpacityRules:true,onBlock:null,onUnblock:null,quirksmodeOffsetHack:4};var b=null;var g=[];function d(r,F){var A=(r==window);var w=F&&F.message!==undefined?F.message:undefined;F=i.extend({},i.blockUI.defaults,F||{});F.overlayCSS=i.extend({},i.blockUI.defaults.overlayCSS,F.overlayCSS||{});var C=i.extend({},i.blockUI.defaults.css,F.css||{});var N=i.extend({},i.blockUI.defaults.themedCSS,F.themedCSS||{});w=w===undefined?F.message:w;if(A&&b){h(window,{fadeOut:0})}if(w&&typeof w!="string"&&(w.parentNode||w.jquery)){var I=w.jquery?w[0]:w;var P={};i(r).data("blockUI.history",P);P.el=I;P.parent=I.parentNode;P.display=I.style.display;P.position=I.style.position;if(P.parent){P.parent.removeChild(I)}}var B=F.baseZ;var M=(i.browser.msie||F.forceIframe)?i('<iframe class="blockUI" style="z-index:'+(B++)+';display:none;border:none;margin:0;padding:0;position:absolute;width:100%;height:100%;top:0;left:0" src="'+F.iframeSrc+'"></iframe>'):i('<div class="blockUI" style="display:none"></div>');var L=i('<div class="blockUI blockOverlay" style="z-index:'+(B++)+';display:none;border:none;margin:0;padding:0;width:100%;height:100%;top:0;left:0"></div>');var K,G;if(F.theme&&A){G='<div class="blockUI blockMsg blockPage ui-dialog ui-widget ui-corner-all" style="z-index:'+B+';display:none;position:fixed"><div class="ui-widget-header ui-dialog-titlebar blockTitle">'+(F.title||"&nbsp;")+'</div><div class="ui-widget-content ui-dialog-content"></div></div>'}else{if(F.theme){G='<div class="blockUI blockMsg blockElement ui-dialog ui-widget ui-corner-all" style="z-index:'+B+';display:none;position:absolute"><div class="ui-widget-header ui-dialog-titlebar blockTitle">'+(F.title||"&nbsp;")+'</div><div class="ui-widget-content ui-dialog-content"></div></div>'}else{if(A){G='<div class="blockUI blockMsg blockPage" style="z-index:'+B+';display:none;position:fixed"></div>'}else{G='<div class="blockUI blockMsg blockElement" style="z-index:'+B+';display:none;position:absolute"></div>'}}}K=i(G);if(w){if(F.theme){K.css(N);K.addClass("ui-widget-content")}else{K.css(C)}}if(!F.applyPlatformOpacityRules||!(i.browser.mozilla&&/Linux/.test(navigator.platform))){L.css(F.overlayCSS)}L.css("position",A?"fixed":"absolute");if(i.browser.msie||F.forceIframe){M.css("opacity",0)}var y=[M,L,K],O=A?i("body"):i(r);i.each(y,function(){this.appendTo(O)});if(F.theme&&F.draggable&&i.fn.draggable){K.draggable({handle:".ui-dialog-titlebar",cancel:"li"})}var v=e&&(!i.boxModel||i("object,embed",A?null:r).length>0);if(f||v){if(A&&F.allowBodyStretch&&i.boxModel){i("html,body").css("height","100%")}if((f||!i.boxModel)&&!A){var E=m(r,"borderTopWidth"),J=m(r,"borderLeftWidth");var x=E?"(0 - "+E+")":0;var D=J?"(0 - "+J+")":0}i.each([M,L,K],function(t,S){var z=S[0].style;z.position="absolute";if(t<2){A?z.setExpression("height","Math.max(document.body.scrollHeight, document.body.offsetHeight) - (jQuery.boxModel?0:"+F.quirksmodeOffsetHack+') + "px"'):z.setExpression("height",'this.parentNode.offsetHeight + "px"');A?z.setExpression("width",'jQuery.boxModel && document.documentElement.clientWidth || document.body.clientWidth + "px"'):z.setExpression("width",'this.parentNode.offsetWidth + "px"');if(D){z.setExpression("left",D)}if(x){z.setExpression("top",x)}}else{if(F.centerY){if(A){z.setExpression("top",'(document.documentElement.clientHeight || document.body.clientHeight) / 2 - (this.offsetHeight / 2) + (blah = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"')}z.marginTop=0}else{if(!F.centerY&&A){var Q=(F.css&&F.css.top)?parseInt(F.css.top):0;var R="((document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "+Q+') + "px"';z.setExpression("top",R)}}}})}if(w){if(F.theme){K.find(".ui-widget-content").append(w)}else{K.append(w)}if(w.jquery||w.nodeType){i(w).show()}}if((i.browser.msie||F.forceIframe)&&F.showOverlay){M.show()}if(F.fadeIn){var H=F.onBlock?F.onBlock:c;var q=(F.showOverlay&&!w)?H:c;var p=w?H:c;if(F.showOverlay){L._fadeIn(F.fadeIn,q)}if(w){K._fadeIn(F.fadeIn,p)}}else{if(F.showOverlay){L.show()}if(w){K.show()}if(F.onBlock){F.onBlock()}}l(1,r,F);if(A){b=K[0];g=i(":input:enabled:visible",b);if(F.focusInput){setTimeout(o,20)}}else{a(K[0],F.centerX,F.centerY)}if(F.timeout){var u=setTimeout(function(){A?i.unblockUI(F):i(r).unblock(F)},F.timeout);i(r).data("blockUI.timeout",u)}}function h(s,t){var r=(s==window);var q=i(s);var u=q.data("blockUI.history");var v=q.data("blockUI.timeout");if(v){clearTimeout(v);q.removeData("blockUI.timeout")}t=i.extend({},i.blockUI.defaults,t||{});l(0,s,t);var p;if(r){p=i("body").children().filter(".blockUI").add("body > .blockUI")}else{p=i(".blockUI",s)}if(r){b=g=null}if(t.fadeOut){p.fadeOut(t.fadeOut);setTimeout(function(){k(p,u,t,s)},t.fadeOut)}else{k(p,u,t,s)}}function k(p,s,r,q){p.each(function(t,u){if(this.parentNode){this.parentNode.removeChild(this)}});if(s&&s.el){s.el.style.display=s.display;s.el.style.position=s.position;if(s.parent){s.parent.appendChild(s.el)}i(q).removeData("blockUI.history")}if(typeof r.onUnblock=="function"){r.onUnblock(q,r)}}function l(p,t,u){var s=t==window,r=i(t);if(!p&&(s&&!b||!s&&!r.data("blockUI.isBlocked"))){return}if(!s){r.data("blockUI.isBlocked",p)}if(!u.bindEvents||(p&&!u.showOverlay)){return}var q="mousedown mouseup keydown keypress";p?i(document).bind(q,u,n):i(document).unbind(q,n)}function n(s){if(s.keyCode&&s.keyCode==9){if(b&&s.data.constrainTabKey){var r=g;var q=!s.shiftKey&&s.target==r[r.length-1];var p=s.shiftKey&&s.target==r[0];if(q||p){setTimeout(function(){o(p)},10);return false}}}if(i(s.target).parents("div.blockMsg").length>0){return true}return i(s.target).parents().children().filter("div.blockUI").length==0}function o(p){if(!g){return}var q=g[p===true?g.length-1:0];if(q){q.focus()}}function a(w,q,A){var z=w.parentNode,v=w.style;var r=((z.offsetWidth-w.offsetWidth)/2)-m(z,"borderLeftWidth");var u=((z.offsetHeight-w.offsetHeight)/2)-m(z,"borderTopWidth");if(q){v.left=r>0?(r+"px"):"0"}if(A){v.top=u>0?(u+"px"):"0"}}function m(q,r){return parseInt(i.css(q,r))||0}})(jQuery);jQuery.cookie=function(w,p,i){if(typeof p!="undefined"){i=i||{};if(p===null){p="";i.expires=-1}var t="";if(i.expires&&(typeof i.expires=="number"||i.expires.toUTCString)){var s;if(typeof i.expires=="number"){s=new Date();s.setTime(s.getTime()+(i.expires*24*60*60*1000))}else{s=i.expires}t="; expires="+s.toUTCString()}var n=i.path?"; path="+i.path:"";var r=i.domain?"; domain="+i.domain:"";var x=i.secure?"; secure":"";document.cookie=[w,"=",encodeURIComponent(p),t,n,r,x].join("")}else{var u=null;if(document.cookie&&document.cookie!=""){var o=document.cookie.split(";");for(var q=0;q<o.length;q++){var v=jQuery.trim(o[q]);if(v.substring(0,w.length+1)==(w+"=")){u=decodeURIComponent(v.substring(w.length+1));break}}}return u}};(function(aN){var aE,az,ax,aK,ao,aI,av,ar,aq,aC=0,aL={},aB=[],aD=0,aM={},aH=[],an=null,aA=new Image,al=/\.(jpg|gif|png|bmp|jpeg)(.*)?$/i,R=/[^\.]\.(swf)\s*$/i,ak,aj=1,aG,aF,aJ=false,aw=aN.extend(aN("<div/>")[0],{prop:0}),ay=0,ad=!aN.support.opacity&&!window.XMLHttpRequest,ai=function(){az.hide();aA.onerror=aA.onload=null;an&&an.abort();aE.empty()},ac=function(){aN.fancybox('<p id="fancybox_error">The requested content cannot be loaded.<br />Please try again later.</p>',{scrolling:"no",padding:20,transitionIn:"none",transitionOut:"none"})},ah=function(){return[aN(window).width(),aN(window).height(),aN(document).scrollLeft(),aN(document).scrollTop()]},w=function(){var c=ah(),j={},h=aM.margin,i=aM.autoScale,e=(20+h)*2,b=(20+h)*2,g=aM.padding*2;if(aM.width.toString().indexOf("%")>-1){j.width=c[0]*parseFloat(aM.width)/100-40;i=false}else{j.width=aM.width+g}if(aM.height.toString().indexOf("%")>-1){j.height=c[1]*parseFloat(aM.height)/100-40;i=false}else{j.height=aM.height+g}if(i&&(j.width>c[0]-e||j.height>c[1]-b)){if(aL.type=="image"||aL.type=="swf"){e+=g;b+=g;i=Math.min(Math.min(c[0]-e,aM.width)/aM.width,Math.min(c[1]-b,aM.height)/aM.height);j.width=Math.round(i*(j.width-g))+g;j.height=Math.round(i*(j.height-g))+g}else{j.width=Math.min(j.width,c[0]-e);j.height=Math.min(j.height,c[1]-b)}}j.top=c[3]+(c[1]-(j.height+40))*0.5;j.left=c[2]+(c[0]-(j.width+40))*0.5;if(aM.autoScale===false){j.top=Math.max(c[3]+h,j.top);j.left=Math.max(c[2]+h,j.left)}return j},t=function(b){if(b&&b.length){switch(aM.titlePosition){case"inside":return b;case"over":return'<span id="fancybox-title-over">'+b+"</span>";default:return'<span id="fancybox-title-wrap"><span id="fancybox-title-left"></span><span id="fancybox-title-main">'+b+'</span><span id="fancybox-title-right"></span></span>'}}return false},r=function(){var b=aM.title,e=aF.width-aM.padding*2,c="fancybox-title-"+aM.titlePosition;aN("#fancybox-title").remove();ay=0;if(aM.titleShow!==false){b=aN.isFunction(aM.titleFormat)?aM.titleFormat(b,aH,aD,aM):t(b);if(!(!b||b==="")){aN('<div id="fancybox-title" class="'+c+'" />').css({width:e,paddingLeft:aM.padding,paddingRight:aM.padding}).html(b).appendTo("body");switch(aM.titlePosition){case"inside":ay=aN("#fancybox-title").outerHeight(true)-aM.padding;aF.height+=ay;break;case"over":aN("#fancybox-title").css("bottom",aM.padding);break;default:aN("#fancybox-title").css("bottom",aN("#fancybox-title").outerHeight(true)*-1);break}aN("#fancybox-title").appendTo(ao).hide()}}},o=function(){aN(document).unbind("keydown.fb").bind("keydown.fb",function(b){if(b.keyCode==27&&aM.enableEscapeButton){b.preventDefault();aN.fancybox.close()}else{if(b.keyCode==37){b.preventDefault();aN.fancybox.prev()}else{if(b.keyCode==39){b.preventDefault();aN.fancybox.next()}}}});if(aN.fn.mousewheel){aK.unbind("mousewheel.fb");aH.length>1&&aK.bind("mousewheel.fb",function(b,c){b.preventDefault();aJ||c===0||(c>0?aN.fancybox.prev():aN.fancybox.next())})}if(aM.showNavArrows){if(aM.cyclic&&aH.length>1||aD!==0){ar.show()}if(aM.cyclic&&aH.length>1||aD!=aH.length-1){aq.show()}}},f=function(){var b,c;if(aH.length-1>aD){b=aH[aD+1].href;if(typeof b!=="undefined"&&b.match(al)){c=new Image;c.src=b}}if(aD>0){b=aH[aD-1].href;if(typeof b!=="undefined"&&b.match(al)){c=new Image;c.src=b}}},ag=function(){aI.css("overflow",aM.scrolling=="auto"?aM.type=="image"||aM.type=="iframe"||aM.type=="swf"?"hidden":"auto":aM.scrolling=="yes"?"auto":"visible");if(!aN.support.opacity){aI.get(0).style.removeAttribute("filter");aK.get(0).style.removeAttribute("filter")}aN("#fancybox-title").show();aM.hideOnContentClick&&aI.one("click",aN.fancybox.close);aM.hideOnOverlayClick&&ax.one("click",aN.fancybox.close);aM.showCloseButton&&av.show();o();aN(window).bind("resize.fb",aN.fancybox.center);aM.centerOnScroll?aN(window).bind("scroll.fb",aN.fancybox.center):aN(window).unbind("scroll.fb");aN.isFunction(aM.onComplete)&&aM.onComplete(aH,aD,aM);aJ=false;f()},af=function(b){var h=Math.round(aG.width+(aF.width-aG.width)*b),e=Math.round(aG.height+(aF.height-aG.height)*b),g=Math.round(aG.top+(aF.top-aG.top)*b),c=Math.round(aG.left+(aF.left-aG.left)*b);aK.css({width:h+"px",height:e+"px",top:g+"px",left:c+"px"});h=Math.max(h-aM.padding*2,0);e=Math.max(e-(aM.padding*2+ay*b),0);aI.css({width:h+"px",height:e+"px"});if(typeof aF.opacity!=="undefined"){aK.css("opacity",b<0.5?0.5:b)}},d=function(b){var c=b.offset();c.top+=parseFloat(b.css("paddingTop"))||0;c.left+=parseFloat(b.css("paddingLeft"))||0;c.top+=parseFloat(b.css("border-top-width"))||0;c.left+=parseFloat(b.css("border-left-width"))||0;c.width=b.width();c.height=b.height();return c},ab=function(){var b=aL.orig?aN(aL.orig):false,c={};if(b&&b.length){b=d(b);c={width:b.width+aM.padding*2,height:b.height+aM.padding*2,top:b.top-aM.padding-20,left:b.left-aM.padding-20}}else{b=ah();c={width:1,height:1,top:b[3]+b[1]*0.5,left:b[2]+b[0]*0.5}}return c},ae=function(){az.hide();if(aK.is(":visible")&&aN.isFunction(aM.onCleanup)){if(aM.onCleanup(aH,aD,aM)===false){aN.event.trigger("fancybox-cancel");aJ=false;return}}aH=aB;aD=aC;aM=aL;aI.get(0).scrollTop=0;aI.get(0).scrollLeft=0;if(aM.overlayShow){ad&&aN("select:not(#fancybox-tmp select)").filter(function(){return this.style.visibility!=="hidden"}).css({visibility:"hidden"}).one("fancybox-cleanup",function(){this.style.visibility="inherit"});ax.css({"background-color":aM.overlayColor,opacity:aM.overlayOpacity}).unbind().show()}aF=w();r();if(aK.is(":visible")){aN(av.add(ar).add(aq)).hide();var b=aK.position(),c;aG={top:b.top,left:b.left,width:aK.width(),height:aK.height()};c=aG.width==aF.width&&aG.height==aF.height;aI.fadeOut(aM.changeFade,function(){var e=function(){aI.html(aE.contents()).fadeIn(aM.changeFade,ag)};aN.event.trigger("fancybox-change");aI.empty().css("overflow","hidden");if(c){aI.css({top:aM.padding,left:aM.padding,width:Math.max(aF.width-aM.padding*2,1),height:Math.max(aF.height-aM.padding*2-ay,1)});e()}else{aI.css({top:aM.padding,left:aM.padding,width:Math.max(aG.width-aM.padding*2,1),height:Math.max(aG.height-aM.padding*2,1)});aw.prop=0;aN(aw).animate({prop:1},{duration:aM.changeSpeed,easing:aM.easingChange,step:af,complete:e})}})}else{aK.css("opacity",1);if(aM.transitionIn=="elastic"){aG=ab();aI.css({top:aM.padding,left:aM.padding,width:Math.max(aG.width-aM.padding*2,1),height:Math.max(aG.height-aM.padding*2,1)}).html(aE.contents());aK.css(aG).show();if(aM.opacity){aF.opacity=0}aw.prop=0;aN(aw).animate({prop:1},{duration:aM.speedIn,easing:aM.easingIn,step:af,complete:ag})}else{aI.css({top:aM.padding,left:aM.padding,width:Math.max(aF.width-aM.padding*2,1),height:Math.max(aF.height-aM.padding*2-ay,1)}).html(aE.contents());aK.css(aF).fadeIn(aM.transitionIn=="none"?0:aM.speedIn,ag)}}},am=function(){aE.width(aL.width);aE.height(aL.height);if(aL.width=="auto"){aL.width=aE.width()}if(aL.height=="auto"){aL.height=aE.height()}ae()},a=function(){aJ=true;aL.width=aA.width;aL.height=aA.height;aN("<img />").attr({id:"fancybox-img",src:aA.src,alt:aL.title}).appendTo(aE);ae()},ap=function(){ai();var c=aB[aC],i,g,h,e,b;aL=aN.extend({},aN.fn.fancybox.defaults,typeof aN(c).data("fancybox")=="undefined"?aL:aN(c).data("fancybox"));h=c.title||aN(c).title||aL.title||"";if(c.nodeName&&!aL.orig){aL.orig=aN(c).children("img:first").length?aN(c).children("img:first"):aN(c)}if(h===""&&aL.orig){h=aL.orig.attr("alt")}i=c.nodeName&&/^(?:javascript|#)/i.test(c.href)?aL.href||null:aL.href||c.href||null;if(aL.type){g=aL.type;if(!i){i=aL.content}}else{if(aL.content){g="html"}else{if(i){if(i.match(al)){g="image"}else{if(i.match(R)){g="swf"}else{if(aN(c).hasClass("iframe")){g="iframe"}else{if(i.match(/#/)){c=i.substr(i.indexOf("#"));g=aN(c).length>0?"inline":"ajax"}else{g="ajax"}}}}}else{g="inline"}}}aL.type=g;aL.href=i;aL.title=h;if(aL.autoDimensions&&aL.type!=="iframe"&&aL.type!=="swf"){aL.width="auto";aL.height="auto"}if(aL.modal){aL.overlayShow=true;aL.hideOnOverlayClick=false;aL.hideOnContentClick=false;aL.enableEscapeButton=false;aL.showCloseButton=false}if(aN.isFunction(aL.onStart)){if(aL.onStart(aB,aC,aL)===false){aJ=false;return}}aE.css("padding",20+aL.padding+aL.margin);aN(".fancybox-inline-tmp").unbind("fancybox-cancel").bind("fancybox-change",function(){aN(this).replaceWith(aI.children())});switch(g){case"html":aE.html(aL.content);am();break;case"inline":aN('<div class="fancybox-inline-tmp" />').hide().insertBefore(aN(c)).bind("fancybox-cleanup",function(){aN(this).replaceWith(aI.children())}).bind("fancybox-cancel",function(){aN(this).replaceWith(aE.children())});aN(c).appendTo(aE);am();break;case"image":aJ=false;aN.fancybox.showActivity();aA=new Image;aA.onerror=function(){ac()};aA.onload=function(){aA.onerror=null;aA.onload=null;a()};aA.src=i;break;case"swf":e='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+aL.width+'" height="'+aL.height+'"><param name="movie" value="'+i+'"></param>';b="";aN.each(aL.swf,function(k,j){e+='<param name="'+k+'" value="'+j+'"></param>';b+=" "+k+'="'+j+'"'});e+='<embed src="'+i+'" type="application/x-shockwave-flash" width="'+aL.width+'" height="'+aL.height+'"'+b+"></embed></object>";aE.html(e);am();break;case"ajax":c=i.split("#",2);g=aL.ajax.data||{};if(c.length>1){i=c[0];if(typeof g=="string"){g+="&selector="+c[1]}else{g.selector=c[1]}}aJ=false;aN.fancybox.showActivity();an=aN.ajax(aN.extend(aL.ajax,{url:i,data:g,error:ac,success:function(j){if(an.status==200){aE.html(j);am()}}}));break;case"iframe":aN('<iframe id="fancybox-frame" name="fancybox-frame'+(new Date).getTime()+'" frameborder="0" hspace="0" scrolling="'+aL.scrolling+'" src="'+aL.href+'"></iframe>').appendTo(aE);ae();break}},au=function(){if(az.is(":visible")){aN("div",az).css("top",aj*-40+"px");aj=(aj+1)%12}else{clearInterval(ak)}},at=function(){if(!aN("#fancybox-wrap").length){aN("body").append(aE=aN('<div id="fancybox-tmp"></div>'),az=aN('<div id="fancybox-loading"><div></div></div>'),ax=aN('<div id="fancybox-overlay"></div>'),aK=aN('<div id="fancybox-wrap"></div>'));if(!aN.support.opacity){aK.addClass("fancybox-ie");az.addClass("fancybox-ie")}ao=aN('<div id="fancybox-outer"></div>').append('<div class="fancy-bg" id="fancy-bg-n"></div><div class="fancy-bg" id="fancy-bg-ne"></div><div class="fancy-bg" id="fancy-bg-e"></div><div class="fancy-bg" id="fancy-bg-se"></div><div class="fancy-bg" id="fancy-bg-s"></div><div class="fancy-bg" id="fancy-bg-sw"></div><div class="fancy-bg" id="fancy-bg-w"></div><div class="fancy-bg" id="fancy-bg-nw"></div>').appendTo(aK);ao.append(aI=aN('<div id="fancybox-inner"></div>'),av=aN('<a id="fancybox-close"></a>'),ar=aN('<a href="javascript:;" id="fancybox-left"><span class="fancy-ico" id="fancybox-left-ico"></span></a>'),aq=aN('<a href="javascript:;" id="fancybox-right"><span class="fancy-ico" id="fancybox-right-ico"></span></a>'));av.click(aN.fancybox.close);az.click(aN.fancybox.cancel);ar.click(function(b){b.preventDefault();aN.fancybox.prev()});aq.click(function(b){b.preventDefault();aN.fancybox.next()});if(ad){ax.get(0).style.setExpression("height","document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px'");az.get(0).style.setExpression("top","(-20 + (document.documentElement.clientHeight ? document.documentElement.clientHeight/2 : document.body.clientHeight/2 ) + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop )) + 'px'");ao.prepend('<iframe id="fancybox-hide-sel-frame" src="javascript:\'\';" scrolling="no" frameborder="0" ></iframe>')}}};aN.fn.fancybox=function(b){aN(this).data("fancybox",aN.extend({},b,aN.metadata?aN(this).metadata():{})).unbind("click.fb").bind("click.fb",function(c){c.preventDefault();if(!aJ){aJ=true;aN(this).blur();aB=[];aC=0;c=aN(this).attr("rel")||"";if(!c||c==""||c==="nofollow"){aB.push(this)}else{aB=aN("a[rel="+c+"], area[rel="+c+"]");aC=aB.index(this)}ap();return false}});return this};aN.fancybox=function(b,g){if(!aJ){aJ=true;g=typeof g!=="undefined"?g:{};aB=[];aC=g.index||0;if(aN.isArray(b)){for(var c=0,e=b.length;c<e;c++){if(typeof b[c]=="object"){aN(b[c]).data("fancybox",aN.extend({},g,b[c]))}else{b[c]=aN({}).data("fancybox",aN.extend({content:b[c]},g))}}aB=jQuery.merge(aB,b)}else{if(typeof b=="object"){aN(b).data("fancybox",aN.extend({},g,b))}else{b=aN({}).data("fancybox",aN.extend({content:b},g))}aB.push(b)}if(aC>aB.length||aC<0){aC=0}ap()}};aN.fancybox.showActivity=function(){clearInterval(ak);az.show();ak=setInterval(au,66)};aN.fancybox.hideActivity=function(){az.hide()};aN.fancybox.next=function(){return aN.fancybox.pos(aD+1)};aN.fancybox.prev=function(){return aN.fancybox.pos(aD-1)};aN.fancybox.pos=function(b){if(!aJ){b=parseInt(b,10);if(b>-1&&aH.length>b){aC=b;ap()}if(aM.cyclic&&aH.length>1&&b<0){aC=aH.length-1;ap()}if(aM.cyclic&&aH.length>1&&b>=aH.length){aC=0;ap()}}};aN.fancybox.cancel=function(){if(!aJ){aJ=true;aN.event.trigger("fancybox-cancel");ai();aL&&aN.isFunction(aL.onCancel)&&aL.onCancel(aB,aC,aL);aJ=false}};aN.fancybox.close=function(){function b(){ax.fadeOut("fast");aK.hide();aN.event.trigger("fancybox-cleanup");aI.empty();aN.isFunction(aM.onClosed)&&aM.onClosed(aH,aD,aM);aH=aL=[];aD=aC=0;aM=aL={};aJ=false}if(!(aJ||aK.is(":hidden"))){aJ=true;if(aM&&aN.isFunction(aM.onCleanup)){if(aM.onCleanup(aH,aD,aM)===false){aJ=false;return}}ai();aN(av.add(ar).add(aq)).hide();aN("#fancybox-title").remove();aK.add(aI).add(ax).unbind();aN(window).unbind("resize.fb scroll.fb");aN(document).unbind("keydown.fb");aI.css("overflow","hidden");if(aM.transitionOut=="elastic"){aG=ab();var c=aK.position();aF={top:c.top,left:c.left,width:aK.width(),height:aK.height()};if(aM.opacity){aF.opacity=1}aw.prop=1;aN(aw).animate({prop:0},{duration:aM.speedOut,easing:aM.easingOut,step:af,complete:b})}else{aK.fadeOut(aM.transitionOut=="none"?0:aM.speedOut,b)}}};aN.fancybox.resize=function(){var b,c;if(!(aJ||aK.is(":hidden"))){aJ=true;b=aI.wrapInner("<div style='overflow:auto'></div>").children();c=b.height();aK.css({height:c+aM.padding*2+ay});aI.css({height:c});b.replaceWith(b.children());aN.fancybox.center()}};aN.fancybox.center=function(){aJ=true;var b=ah(),e=aM.margin,c={};c.top=b[3]+(b[1]-(aK.height()-ay+40))*0.5;c.left=b[2]+(b[0]-(aK.width()+40))*0.5;c.top=Math.max(b[3]+e,c.top);c.left=Math.max(b[2]+e,c.left);aK.css(c);aJ=false};aN.fn.fancybox.defaults={padding:10,margin:20,opacity:false,modal:false,cyclic:false,scrolling:"auto",width:560,height:340,autoScale:true,autoDimensions:true,centerOnScroll:false,ajax:{},swf:{wmode:"transparent"},hideOnOverlayClick:true,hideOnContentClick:false,overlayShow:true,overlayOpacity:0.3,overlayColor:"#666",titleShow:true,titlePosition:"outside",titleFormat:null,transitionIn:"fade",transitionOut:"fade",speedIn:300,speedOut:300,changeSpeed:300,changeFade:"fast",easingIn:"swing",easingOut:"swing",showCloseButton:true,showNavArrows:true,enableEscapeButton:true,onStart:null,onCancel:null,onComplete:null,onCleanup:null,onClosed:null};aN(document).ready(function(){at()})})(jQuery);(function(){function v(a){console.log("$f.fireEvent",[].slice.call(a))}function r(a){if(!a||typeof a!="object"){return a}var c=new a.constructor();for(var b in a){if(a.hasOwnProperty(b)){c[b]=r(a[b])}}return c}function p(a,d){if(!a){return}var f,e=0,c=a.length;if(c===undefined){for(f in a){if(d.call(a[f],f,a[f])===false){break}}}else{for(var b=a[0];e<c&&d.call(b,e,b)!==false;b=a[++e]){}}return a}function z(a){return document.getElementById(a)}function t(a,b,c){if(typeof b!="object"){return a}if(a&&b){p(b,function(e,d){if(!c||typeof d!="function"){a[e]=d}})}return a}function o(a){var c=a.indexOf(".");if(c!=-1){var d=a.slice(0,c)||"*";var e=a.slice(c+1,a.length);var b=[];p(document.getElementsByTagName(d),function(){if(this.className&&this.className.indexOf(e)!=-1){b.push(this)}});return b}}function w(a){a=a||window.event;if(a.preventDefault){a.stopPropagation();a.preventDefault()}else{a.returnValue=false;a.cancelBubble=true}return false}function s(a,c,b){a[c]=a[c]||[];a[c].push(b)}function x(){return"_"+(""+Math.random()).slice(2,10)}var u=function(b,d,c){var e=this,f={},a={};e.index=d;if(typeof b=="string"){b={url:b}}t(this,b,true);p(("Begin*,Start,Pause*,Resume*,Seek*,Stop*,Finish*,LastSecond,Update,BufferFull,BufferEmpty,BufferStop").split(","),function(){var i="on"+this;if(i.indexOf("*")!=-1){i=i.slice(0,i.length-1);var h="onBefore"+i.slice(2);e[h]=function(j){s(a,h,j);return e}}e[i]=function(j){s(a,i,j);return e};if(d==-1){if(e[h]){c[h]=e[h]}if(e[i]){c[i]=e[i]}}});t(this,{onCuepoint:function(h,i){if(arguments.length==1){f.embedded=[null,h];return e}if(typeof h=="number"){h=[h]}var j=x();f[j]=[h,i];if(c.isLoaded()){c._api().fp_addCuepoints(h,d,j)}return e},update:function(i){t(e,i);if(c.isLoaded()){c._api().fp_updateClip(i,d)}var j=c.getConfig();var h=(d==-1)?j.clip:j.playlist[d];t(h,i,true)},_fireEvent:function(k,m,j,i){if(k=="onLoad"){p(f,function(D,n){if(n[0]){c._api().fp_addCuepoints(n[0],d,D)}});return false}i=i||e;if(k=="onCuepoint"){var l=f[m];if(l){return l[1].call(c,i,j)}}if(m&&"onBeforeBegin,onMetaData,onStart,onUpdate,onResume".indexOf(k)!=-1){t(i,m);if(m.metaData){if(!i.duration){i.duration=m.metaData.duration}else{i.fullDuration=m.metaData.duration}}}var h=true;p(a[k],function(){h=this.call(c,i,m,j)});return h}});if(b.onCuepoint){var g=b.onCuepoint;e.onCuepoint.apply(e,typeof g=="function"?[g]:g);delete b.onCuepoint}p(b,function(i,h){if(typeof h=="function"){s(a,i,h);delete b[i]}});if(d==-1){c.onCuepoint=this.onCuepoint}};var q=function(f,d,e,b){var g=this,c={},a=false;if(b){t(c,b)}p(d,function(i,h){if(typeof h=="function"){c[i]=h;delete d[i]}});t(this,{animate:function(l,k,h){if(!l){return g}if(typeof k=="function"){h=k;k=500}if(typeof l=="string"){var i=l;l={};l[i]=k;k=500}if(h){var j=x();c[j]=h}if(k===undefined){k=500}d=e._api().fp_animate(f,l,k,j);return g},css:function(i,h){if(h!==undefined){var j={};j[i]=h;i=j}d=e._api().fp_css(f,i);t(g,d);return g},show:function(){this.display="block";e._api().fp_showPlugin(f);return g},hide:function(){this.display="none";e._api().fp_hidePlugin(f);return g},toggle:function(){this.display=e._api().fp_togglePlugin(f);return g},fadeTo:function(k,h,i){if(typeof h=="function"){i=h;h=500}if(i){var j=x();c[j]=i}this.display=e._api().fp_fadeTo(f,k,h,j);this.opacity=k;return g},fadeIn:function(h,i){return g.fadeTo(1,h,i)},fadeOut:function(h,i){return g.fadeTo(0,h,i)},getName:function(){return f},getPlayer:function(){return e},_fireEvent:function(j,k,i){if(j=="onUpdate"){var l=e._api().fp_getPlugin(f);if(!l){return}t(g,l);delete g.methods;if(!a){p(l.methods,function(){var n=""+this;g[n]=function(){var F=[].slice.call(arguments);var E=e._api().fp_invoke(f,n,F);return E==="undefined"||E===undefined?g:E}});a=true}}var h=c[j];if(h){var m=h.apply(g,k);if(j.slice(0,1)=="_"){delete c[j]}return m}return g}})};function A(I,e,j){var d=this,f=null,l=false,h,k,g=[],b={},c={},i,n,K,m,L,J;t(d,{id:function(){return i},isLoaded:function(){return(f!==null&&f.fp_play!==undefined&&!l)},getParent:function(){return I},hide:function(C){if(C){I.style.height="0px"}if(d.isLoaded()){f.style.height="0px"}return d},show:function(){I.style.height=J+"px";if(d.isLoaded()){f.style.height=L+"px"}return d},isHidden:function(){return d.isLoaded()&&parseInt(f.style.height,10)===0},load:function(C){if(!d.isLoaded()&&d._fireEvent("onBeforeLoad")!==false){var E=function(){h=I.innerHTML;if(h&&!flashembed.isSupported(e.version)){I.innerHTML=""}if(C){C.cached=true;s(c,"onLoad",C)}flashembed(I,e,{config:j})};var D=0;p(B,function(){this.unload(function(F){if(++D==B.length){E()}})})}return d},unload:function(C){if(this.isFullscreen()&&/WebKit/i.test(navigator.userAgent)){if(C){C(false)}return d}if(h.replace(/\s/g,"")!==""){if(d._fireEvent("onBeforeUnload")===false){if(C){C(false)}return d}l=true;try{if(f){f.fp_close();d._fireEvent("onUnload")}}catch(E){}var D=function(){f=null;I.innerHTML=h;l=false;if(C){C(true)}};setTimeout(D,50)}else{if(C){C(false)}}return d},getClip:function(C){if(C===undefined){C=m}return g[C]},getCommonClip:function(){return k},getPlaylist:function(){return g},getPlugin:function(E){var C=b[E];if(!C&&d.isLoaded()){var D=d._api().fp_getPlugin(E);if(D){C=new q(E,D,d);b[E]=C}}return C},getScreen:function(){return d.getPlugin("screen")},getControls:function(){return d.getPlugin("controls")._fireEvent("onUpdate")},getLogo:function(){try{return d.getPlugin("logo")._fireEvent("onUpdate")}catch(C){}},getPlay:function(){return d.getPlugin("play")._fireEvent("onUpdate")},getConfig:function(C){return C?r(j):j},getFlashParams:function(){return e},loadPlugin:function(D,E,P,C){if(typeof P=="function"){C=P;P={}}var F=C?x():"_";d._api().fp_loadPlugin(D,E,P,F);var G={};G[F]=C;var O=new q(D,null,d,G);b[D]=O;return O},getState:function(){return d.isLoaded()?f.fp_getState():-1},play:function(D,E){var C=function(){if(D!==undefined){d._api().fp_play(D,E)}else{d._api().fp_play()}};if(d.isLoaded()){C()}else{if(l){setTimeout(function(){d.play(D,E)},50)}else{d.load(function(){C()})}}return d},getVersion:function(){var C="flowplayer.js 3.2.4";if(d.isLoaded()){var D=f.fp_getVersion();D.push(C);return D}return C},_api:function(){if(!d.isLoaded()){throw"Flowplayer "+d.id()+" not loaded when calling an API method"}return f},setClip:function(C){d.setPlaylist([C]);return d},getIndex:function(){return K},_swfHeight:function(){return f.clientHeight}});p(("Click*,Load*,Unload*,Keypress*,Volume*,Mute*,Unmute*,PlaylistReplace,ClipAdd,Fullscreen*,FullscreenExit,Error,MouseOver,MouseOut").split(","),function(){var D="on"+this;if(D.indexOf("*")!=-1){D=D.slice(0,D.length-1);var C="onBefore"+D.slice(2);d[C]=function(E){s(c,C,E);return d}}d[D]=function(E){s(c,D,E);return d}});p(("pause,resume,mute,unmute,stop,toggle,seek,getStatus,getVolume,setVolume,getTime,isPaused,isPlaying,startBuffering,stopBuffering,isFullscreen,toggleFullscreen,reset,close,setPlaylist,addClip,playFeed,setKeyboardShortcutsEnabled,isKeyboardShortcutsEnabled").split(","),function(){var C=this;d[C]=function(E,F){if(!d.isLoaded()){return d}var D=null;if(E!==undefined&&F!==undefined){D=f["fp_"+C](E,F)}else{D=(E===undefined)?f["fp_"+C]():f["fp_"+C](E)}return D==="undefined"||D===undefined?d:D}});d._fireEvent=function(D){if(typeof D=="string"){D=[D]}var C=D[0],F=D[1],S=D[2],T=D[3],U=0;if(j.debug){v(D)}if(!d.isLoaded()&&C=="onLoad"&&F=="player"){f=f||z(n);L=d._swfHeight();p(g,function(){this._fireEvent("onLoad")});p(b,function(N,M){M._fireEvent("onUpdate")});k._fireEvent("onLoad")}if(C=="onLoad"&&F!="player"){return}if(C=="onError"){if(typeof F=="string"||(typeof F=="number"&&typeof S=="number")){F=S;S=T}}if(C=="onContextMenu"){p(j.contextMenu[F],function(N,M){M.call(d)});return}if(C=="onPluginEvent"||C=="onBeforePluginEvent"){var X=F.name||F;var W=b[X];if(W){W._fireEvent("onUpdate",F);return W._fireEvent(S,D.slice(3))}return}if(C=="onPlaylistReplace"){g=[];var G=0;p(F,function(){g.push(new u(this,G++,d))})}if(C=="onClipAdd"){if(F.isInStream){return}F=new u(F,S,d);g.splice(S,0,F);for(U=S+1;U<g.length;U++){g[U].index++}}var E=true;if(typeof F=="number"&&F<g.length){m=F;var V=g[F];if(V){E=V._fireEvent(C,S,T)}if(!V||E!==false){E=k._fireEvent(C,S,T,V)}}p(c[C],function(){E=this.call(d,F,S);if(this.cached){c[C].splice(U,1)}if(E===false){return false}U++});return E};function H(){if($f(I)){$f(I).getParent().innerHTML="";K=$f(I).getIndex();B[K]=d}else{B.push(d);K=B.length-1}J=parseInt(I.style.height,10)||I.clientHeight;i=I.id||"fp"+x();n=e.id||i+"_api";e.id=n;j.playerId=i;if(typeof j=="string"){j={clip:{url:j}}}if(typeof j.clip=="string"){j.clip={url:j.clip}}j.clip=j.clip||{};if(I.getAttribute("href",2)&&!j.clip.url){j.clip.url=I.getAttribute("href",2)}k=new u(j.clip,-1,d);j.playlist=j.playlist||[j.clip];var D=0;p(j.playlist,function(){var F=this;if(typeof F=="object"&&F.length){F={url:""+F}}p(j.clip,function(G,N){if(N!==undefined&&F[G]===undefined&&typeof N!="function"){F[G]=N}});j.playlist[D]=F;F=new u(F,D,d);g.push(F);D++});p(j,function(G,F){if(typeof F=="function"){if(k[G]){k[G](F)}else{s(c,G,F)}delete j[G]}});p(j.plugins,function(G,F){if(F){b[G]=new q(G,F,d)}});if(!j.plugins||j.plugins.controls===undefined){b.controls=new q("controls",null,d)}b.canvas=new q("canvas",null,d);h=I.innerHTML;function C(F){var G=d.hasiPadSupport&&d.hasiPadSupport();if(/iPad|iPhone|iPod/i.test(navigator.userAgent)&&!/.flv$/i.test(g[0].url)&&!G){return true}if(!d.isLoaded()&&d._fireEvent("onBeforeClick")!==false){d.load()}return w(F)}function E(){if(h.replace(/\s/g,"")!==""){if(I.addEventListener){I.addEventListener("click",C,false)}else{if(I.attachEvent){I.attachEvent("onclick",C)}}}else{if(I.addEventListener){I.addEventListener("click",w,false)}d.load()}}setTimeout(E,0)}if(typeof I=="string"){var a=z(I);if(!a){throw"Flowplayer cannot access element: "+I}I=a;H()}else{H()}}var B=[];function y(a){this.length=a.length;this.each=function(b){p(a,b)};this.size=function(){return a.length}}window.flowplayer=window.$f=function(){var e=null;var f=arguments[0];if(!arguments.length){p(B,function(){if(this.isLoaded()){e=this;return false}});return e||B[0]}if(arguments.length==1){if(typeof f=="number"){return B[f]}else{if(f=="*"){return new y(B)}p(B,function(){if(this.id()==f.id||this.id()==f||this.getParent()==f){e=this;return false}});return e}}if(arguments.length>1){var a=arguments[1],d=(arguments.length==3)?arguments[2]:{};if(typeof a=="string"){a={src:a}}a=t({bgcolor:"#000000",version:[9,0],expressInstall:"http://static.flowplayer.org/swf/expressinstall.swf",cachebusting:true},a);if(typeof f=="string"){if(f.indexOf(".")!=-1){var b=[];p(o(f),function(){b.push(new A(this,r(a),r(d)))});return new y(b)}else{var c=z(f);return new A(c!==null?c:f,a,d)}}else{if(f){return new A(f,a,d)}}}return null};t(window.$f,{fireEvent:function(){var b=[].slice.call(arguments);var a=$f(b[0]);return a?a._fireEvent(b.slice(1)):null},addPlugin:function(b,a){A.prototype[b]=a;return $f},each:p,extend:t});if(typeof jQuery=="function"){jQuery.fn.flowplayer=function(a,b){if(!arguments.length||typeof arguments[0]=="number"){var c=[];this.each(function(){var d=$f(this);if(d){c.push(d)}});return arguments.length?c[arguments[0]]:new y(c)}return this.each(function(){$f(this,r(a),b?r(b):{})})}}})();(function(){var n=document.all,l="http://www.adobe.com/go/getflashplayer",r=typeof jQuery=="function",p=/(\d+)[^\d]+(\d+)[^\d]*(\d*)/,s={width:"100%",height:"100%",id:"_"+(""+Math.random()).slice(9),allowfullscreen:true,allowscriptaccess:"always",quality:"high",version:[3,0],onFail:null,expressInstall:null,w3c:false,cachebusting:false};if(window.attachEvent){window.attachEvent("onbeforeunload",function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){}})}function m(a,b){if(b){for(var c in b){if(b.hasOwnProperty(c)){a[c]=b[c]}}}return a}function t(c,d){var a=[];for(var b in c){if(c.hasOwnProperty(b)){a[b]=d(c[b])}}return a}window.flashembed=function(c,a,b){if(typeof c=="string"){c=document.getElementById(c.replace("#",""))}if(!c){return}if(typeof a=="string"){a={src:a}}return new q(c,m(m({},s),a),b)};var o=m(window.flashembed,{conf:s,getVersion:function(){var a,c;try{c=navigator.plugins["Shockwave Flash"].description.slice(16)}catch(d){try{a=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");c=a&&a.GetVariable("$version")}catch(e){try{a=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");c=a&&a.GetVariable("$version")}catch(b){}}}c=p.exec(c);return c?[c[1],c[3]]:[0,0]},asString:function(b){if(b===null||b===undefined){return null}var c=typeof b;if(c=="object"&&b.push){c="array"}switch(c){case"string":b=b.replace(new RegExp('(["\\\\])',"g"),"\\$1");b=b.replace(/^\s?(\d+\.?\d+)%/,"$1pct");return'"'+b+'"';case"array":return"["+t(b,function(e){return o.asString(e)}).join(",")+"]";case"function":return'"function()"';case"object":var a=[];for(var d in b){if(b.hasOwnProperty(d)){a.push('"'+d+'":'+o.asString(b[d]))}}return"{"+a.join(",")+"}"}return String(b).replace(/\s/g," ").replace(/\'/g,'"')},getHTML:function(g,b){g=m({},g);var h='<object width="'+g.width+'" height="'+g.height+'" id="'+g.id+'" name="'+g.id+'"';if(g.cachebusting){g.src+=((g.src.indexOf("?")!=-1?"&":"?")+Math.random())}if(g.w3c||!n){h+=' data="'+g.src+'" type="application/x-shockwave-flash"'}else{h+=' classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'}h+=">";if(g.w3c||n){h+='<param name="movie" value="'+g.src+'" />'}g.width=g.height=g.id=g.w3c=g.src=null;g.onFail=g.version=g.expressInstall=null;for(var a in g){if(g[a]){h+='<param name="'+a+'" value="'+g[a]+'" />'}}var e="";if(b){for(var d in b){if(b[d]){var c=b[d];e+=d+"="+(/function|object/.test(typeof c)?o.asString(c):c)+"&"}}e=e.slice(0,-1);h+='<param name="flashvars" value=\''+e+"' />"}h+="</object>";return h},isSupported:function(a){return f[0]>a[0]||f[0]==a[0]&&f[1]>=a[1]}});var f=o.getVersion();function q(c,d,a){if(o.isSupported(d.version)){c.innerHTML=o.getHTML(d,a)}else{if(d.expressInstall&&o.isSupported([6,65])){c.innerHTML=o.getHTML(m(d,{src:d.expressInstall}),{MMredirectURL:location.href,MMplayerType:"PlugIn",MMdoctitle:document.title})}else{if(!c.innerHTML.replace(/\s/g,"")){c.innerHTML="<h2>Flash version "+d.version+" or greater is required</h2><h3>"+(f[0]>0?"Your version is "+f:"You have no flash plugin installed")+"</h3>"+(c.tagName=="A"?"<p>Click here to download latest version</p>":"<p>Download latest version from <a href='"+l+"'>here</a></p>");if(c.tagName=="A"){c.onclick=function(){location.href=l}}}if(d.onFail){var b=d.onFail.call(this);if(typeof b=="string"){c.innerHTML=b}}}}if(n){window[d.id]=document.getElementById(d.id)}m(this,{getRoot:function(){return c},getOptions:function(){return d},getConf:function(){return a},getApi:function(){return c.firstChild}})}if(r){jQuery.tools=jQuery.tools||{version:"3.2.4"};jQuery.tools.flashembed={conf:s};jQuery.fn.flashembed=function(a,b){return this.each(function(){$(this).data("flashembed",flashembed(this,a,b))})}}})();
/*
 * liScroll 1.0
 * Examples and documentation at: 
 * http://www.gcmingati.net/wordpress/wp-content/lab/jquery/newsticker/jq-liscroll/scrollanimate.html
 * 2007-2010 Gian Carlo Mingati
 * Version: 1.0.2 (30-MARCH-2009)
 * Dual licensed under the MIT and GPL licenses:
 * http://www.opensource.org/licenses/mit-license.php
 * http://www.gnu.org/licenses/gpl.html
 * Requires:
 * jQuery v1.2.x or later
 * 
 */
jQuery.fn.liScroll=function(a){a=jQuery.extend({travelocity:0.07},a);return this.each(function(){var c=jQuery(this);c.addClass("newsticker");var f=0;var i=c.wrap("<div class='mask'></div>");var e=c.parent().wrap("<div class='tickercontainer'></div>");var g=c.parent().parent().width();c.find("li").each(function(j){f+=jQuery(this,j).outerWidth(true)});c.width(f);var d=f+g;var b=d/a.travelocity;function h(k,j){c.animate({left:"-="+k},j,"linear",function(){c.css("left",g);h(d,b)})}h(d,b);c.hover(function(){jQuery(this).stop()},function(){var l=jQuery(this).offset();var j=l.left+f;var k=j/a.travelocity;h(j,k)})})};(function(a){a.fn.tipTip=function(c){var g={activation:"hover",keepAlive:false,maxWidth:"200px",edgeOffset:3,defaultPosition:"bottom",delay:400,fadeIn:200,fadeOut:200,attribute:"title",content:false,enter:function(){},exit:function(){}};var e=a.extend(g,c);if(a("#tiptip_holder").length<=0){var b=a('<div id="tiptip_holder" style="max-width:'+e.maxWidth+';"></div>');var d=a('<div id="tiptip_content"></div>');var f=a('<div id="tiptip_arrow"></div>');a("body").append(b.html(d).prepend(f.html('<div id="tiptip_arrow_inner"></div>')))}else{var b=a("#tiptip_holder");var d=a("#tiptip_content");var f=a("#tiptip_arrow")}return this.each(function(){var i=a(this);if(e.content){var l=e.content}else{var l=i.attr(e.attribute)}if(l!=""){if(!e.content){i.removeAttr(e.attribute)}var h=false;if(e.activation=="hover"){i.hover(function(){k()},function(){if(!e.keepAlive){j()}});if(e.keepAlive){b.hover(function(){},function(){j()})}}else{if(e.activation=="focus"){i.focus(function(){k()}).blur(function(){j()})}else{if(e.activation=="click"){i.click(function(){k();return false}).hover(function(){},function(){if(!e.keepAlive){j()}});if(e.keepAlive){b.hover(function(){},function(){j()})}}}}function k(){e.enter.call(this);d.html(l);b.hide().removeAttr("class").css("margin","0");f.removeAttr("style");var y=parseInt(i.offset()["top"]);var p=parseInt(i.offset()["left"]);var v=parseInt(i.outerWidth());var A=parseInt(i.outerHeight());var x=b.outerWidth();var s=b.outerHeight();var w=Math.round((v-x)/2);var o=Math.round((A-s)/2);var n=Math.round(p+w);var m=Math.round(y+A+e.edgeOffset);var t="";var C="";var u=Math.round(x-12)/2;if(e.defaultPosition=="bottom"){t="_bottom"}else{if(e.defaultPosition=="top"){t="_top"}else{if(e.defaultPosition=="left"){t="_left"}else{if(e.defaultPosition=="right"){t="_right"}}}}var r=(w+p)<parseInt(a(window).scrollLeft());var q=(x+p)>parseInt(a(window).width());if((r&&w<0)||(t=="_right"&&!q)||(t=="_left"&&p<(x+e.edgeOffset+5))){t="_right";C=Math.round(s-13)/2;u=-12;n=Math.round(p+v+e.edgeOffset);m=Math.round(y+o)}else{if((q&&w<0)||(t=="_left"&&!r)){t="_left";C=Math.round(s-13)/2;u=Math.round(x);n=Math.round(p-(x+e.edgeOffset+5));m=Math.round(y+o)}}var z=(y+A+e.edgeOffset+s+8)>parseInt(a(window).height()+a(window).scrollTop());var B=((y+A)-(e.edgeOffset+s+8))<0;if(z||(t=="_bottom"&&z)||(t=="_top"&&!B)){if(t=="_top"||t=="_bottom"){t="_top"}else{t=t+"_top"}C=s;m=Math.round(y-(s+5+e.edgeOffset))}else{if(B|(t=="_top"&&B)||(t=="_bottom"&&!z)){if(t=="_top"||t=="_bottom"){t="_bottom"}else{t=t+"_bottom"}C=-12;m=Math.round(y+A+e.edgeOffset)}}if(t=="_right_top"||t=="_left_top"){m=m+5}else{if(t=="_right_bottom"||t=="_left_bottom"){m=m-5}}if(t=="_left_top"||t=="_left_bottom"){n=n+5}f.css({"margin-left":u+"px","margin-top":C+"px"});b.css({"margin-left":n+"px","margin-top":m+"px"}).attr("class","tip"+t);if(h){clearTimeout(h)}h=setTimeout(function(){b.stop(true,true).fadeIn(e.fadeIn)},e.delay)}function j(){e.exit.call(this);if(h){clearTimeout(h)}b.fadeOut(e.fadeOut)}}})}})(jQuery);(function(){var b;b=jQuery.fn.flash=function(g,f,d,i){var h=d||b.replace;f=b.copy(b.pluginOptions,f);if(!b.hasFlash(f.version)){if(f.expressInstall&&b.hasFlash(6,0,65)){var e={flashvars:{MMredirectURL:location,MMplayerType:"PlugIn",MMdoctitle:jQuery("title").text()}}}else{if(f.update){h=i||b.update}else{return this}}}g=b.copy(b.htmlOptions,e,g);return this.each(function(){h.call(this,b.copy(g))})};b.copy=function(){var f={},e={};for(var g=0;g<arguments.length;g++){var d=arguments[g];if(d==undefined){continue}jQuery.extend(f,d);if(d.flashvars==undefined){continue}jQuery.extend(e,d.flashvars)}f.flashvars=e;return f};b.hasFlash=function(){if(/hasFlash\=true/.test(location)){return true}if(/hasFlash\=false/.test(location)){return false}var e=b.hasFlash.playerVersion().match(/\d+/g);var f=String([arguments[0],arguments[1],arguments[2]]).match(/\d+/g)||String(b.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};b.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"};b.htmlOptions={height:240,flashvars:{},pluginspage:"http://www.adobe.com/go/getflashplayer",src:"#",type:"application/x-shockwave-flash",width:240,wmode:"opaque"};b.pluginOptions={expressInstall:false,update:true,version:"6.0.65"};b.replace=function(d){this.innerHTML='<div class="alt">'+this.innerHTML+"</div>";jQuery(this).addClass("flash-replaced").prepend(b.transform(d))};b.update=function(e){var d=String(location).split("?");d.splice(1,0,"?hasFlash=true&");d=d.join("");var f='<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="'+d+'">Click here.</a></p>';this.innerHTML='<span class="alt">'+this.innerHTML+"</span>";jQuery(this).addClass("flash-update").prepend(f)};function a(){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(/&$/,"")}b.transform=function(d){d.toString=a;if(d.flashvars){d.flashvars.toString=c}return"<embed "+String(d)+' type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" />'};if(window.attachEvent){window.attachEvent("onbeforeunload",function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){}})}})();$(document).ready(function(){$("div#column_right div.box_wr").each(function(){if($.cookie($(this).attr("id"))){$(this).addClass("minimised")}});if($.cookie("css")){$("link.additional").attr("href",$.cookie("css"));if($.cookie("css")=="/css/text_big.css"){$("#textbig").addClass("red")}}$("#textsmall").click(function(){$("link.additional").attr("href","/css/text_normal.css");$.cookie("css","/css/text_normal.css",{expires:1,path:"/"});$("#textbig").removeClass("red");return false});$("#textbig").click(function(){$("link.additional").attr("href","/css/text_big.css");$.cookie("css","/css/text_big.css",{expires:1,path:"/"});$("#textbig").addClass("red");return false});$("#form_logowanie").submit(function(c){c.preventDefault();$.post("/loader.php",{parser:"login",username:$("#log_login").val(),password:$("#log_passwd").val(),remember:$("input[name=remember_me]:checked").val()},function(p){if(p.status=="ERROR"){$.blockUI({message:p.message});setTimeout($.unblockUI,2000)}else{window.location.reload()}},"json")});var h=function(p,c){c.children().each(function(){$(this).width($(this).width())});return c};$("#column_right div.colsort").sortable({forcePlaceholderSize:true,forceHelperSize:true,containment:"parent",opacity:0.6,axis:"y",handle:"h2",revert:"300",delay:300,cursor:"move",update:function(){if($("#column_right .colsort div:first").attr("class")=="rkl"){$("#column_right .colsort div:eq(2)").after($("#column_right .colsort .rkl"))}else{$("#column_right .colsort .rkl").insertAfter($("#column_right .colsort div:first"))}if($("a.wyloguj").length==1){var c=$("#column_right div.colsort").sortable("serialize")+"&parser=saveorder_column";$.post("/loader.php",c)}},start:function(){$(this).addClass("activeSort")},stop:function(){if($("a.wyloguj").length==0){$(this).sortable("cancel");$.blockUI({message:"Funkcja dostępna tylko dla zalogowanych użytkowników"});setTimeout($.unblockUI,3000)}$(this).removeClass("activeSort")},helper:"clone",placeholder:"placeholder"});$("div#sharer").mouseover(function(c){c.stopPropagation();if(!$("ul#share_hidden").is(":animated")){$("ul#share_hidden").slideDown(500);$(this).addClass("active")}});$("body").mouseover(function(){$("ul#share_hidden").slideUp(500);$("div#sharer").removeClass("active")});$("div#newsticker ul").liScroll({travelocity:0.05});$("div#advticker ul").liScroll({travelocity:0.05});if($("div#newsslider ul li").length>1){$("div#newsslider").anythingSlider({delay:7000,forwardText:"&raquo;",backText:"&laquo;"})}if($("div#latest_galleries ul li").length>1){$("div#latest_galleries").anythingSlider({forwardText:"&raquo;",backText:"&laquo;",autoPlay:true})}if($("div.user_galleries div.thumbnails > ul > li").length>1){$("div.user_galleries").anythingSlider({forwardText:"",backText:"",autoPlay:false})}if($("div.gallery_tn ul li").length>11){$("div.gallery_tn").anythingSlider({forwardText:"",backText:"",autoPlay:false})}$("div#videoslider").anythingSlider({forwardText:"",backText:"",autoPlay:true});$("div.gallery_tn ul li a").click(function(c){c.preventDefault();$("div.gallery_preview img").hide().load(function(){$(this).fadeIn("slow")}).attr("src",$(this).attr("href"));$("div.gallery_preview a").attr("href",$(this).attr("href"));$("div.gallery_preview p span").html($(this).find("img").attr("alt"));return false});$("a.zaloguj").click(function(c){$("form#form_pozdrowienia").hide();$("a.add").removeClass("pozdr_active");c.stopPropagation();c.preventDefault();if($(this).hasClass("log_active")){$("form#form_logowanie").slideUp(500);$(this).removeClass("log_active")}else{$(this).addClass("log_active");$("form#form_logowanie").slideDown(500)}return false});$("a.add").click(function(c){$("form#form_logowanie").hide();$("a.zaloguj").removeClass("log_active");c.stopPropagation();c.preventDefault();if($(this).hasClass("pozdr_active")){$("form#form_pozdrowienia").slideUp(500);$(this).removeClass("pozdr_active")}else{$(this).addClass("pozdr_active");$("form#form_pozdrowienia").slideDown(500)}return false});$("#column_right .switch").click(function(p){p.stopPropagation();p.preventDefault();var c=$(this).parent().parent().parent();if(c.hasClass("minimised")){c.removeClass("minimised");$.cookie(c.attr("id"),"",{path:"/"})}else{c.addClass("minimised");$.cookie(c.attr("id"),1,{path:"/"})}return false});$("#form_addcomment p.form_info input").click(function(){var p=$(this).attr("data-rel");if($(this).attr("checked")){var c=1}else{var c=0}$.post("/loader.php",{parser:"article_notify",article_id:p,status:c})});$("#form_reply p.form_info input").click(function(){var p=$(this).attr("data-rel");if($(this).attr("checked")){var c=1}else{var c=0}$.post("/loader.php",{parser:"thread_notify",thread_id:p,status:c})});$("form#form_pozdrowienia input.submit").click(function(c){c.preventDefault();$.post("/loader.php",{parser:"pozdrow",nick:$("#pozdr_imie").val(),txt:$("#pozdr_tresc").val()},function(p){if(p=="LONG"){$.blockUI({message:"<b>Nick</b> i <b>treść</b> są zbyt długie (<b>razem do 85 znaków</b>) :("});setTimeout($.unblockUI,3000)}if(p=="TIME"){$.blockUI({message:"Kolejne pozdrowienia możesz dodać za minutę :("});setTimeout($.unblockUI,3000)}if(p=="EMPTY"){$.blockUI({message:"Wpisz cokolwiek, pozdrowienia nie mogą być puste"});setTimeout($.unblockUI,3000)}if(p=="OK"){$.blockUI({message:"Twoje pozdrowienia zostały dodane! :)"});$("#pozdr_imie").val("");$("#pozdr_tresc").val("");$("body").trigger("click");resumeGreetings();setTimeout($.unblockUI,2000)}})});$("form#form_pozdrowienia input, form#form_pozdrowienia textarea").keypress(function(){var p=$("form#form_pozdrowienia input").val().length+$("form#form_pozdrowienia textarea").val().length;$("form#form_pozdrowienia fieldset.button p").html(p+" znaków");if(p>85){$("form#form_pozdrowienia fieldset.button p").addClass("red")}if(p<=85&&$("form#form_pozdrowienia fieldset.button p").hasClass("red")){$("form#form_pozdrowienia fieldset.button p").removeClass("red")}});if($("form#form_firma textarea").length>0){var l=$("form#form_firma textarea").val().length;$("form#form_firma textarea").parent().find("span.right").html(l+" znaków");$("form#form_firma textarea").keypress(function(){var p=$("form#form_firma textarea").val().length;$("form#form_firma textarea").parent().find("span.right").html(p+" znaków");if(p>160){$("form#form_firma textarea").parent().find("span.right").addClass("red")}if(p<=160&&$("form#form_firma textarea").parent().find("span").hasClass("red")){$("form#form_firma textarea").parent().find("span.right").removeClass("red")}})}$("form#form_logowanie, form#form_pozdrowienia").click(function(c){c.stopPropagation()});$("body").click(function(){$("form#form_logowanie").slideUp(500);$("a.zaloguj").removeClass("log_active");$("form#form_pozdrowienia").slideUp(500);$("a.add").removeClass("pozdr_active")});$("ul.gallery_menu > li").click(function(){if($(this).hasClass("opened")){$(this).removeClass("opened").children("ul").slideUp(500)}else{$(this).addClass("opened").children("ul").slideDown(500)}});$("ul.gallery_menu > li ul a").click(function(c){c.stopPropagation()});var o=$("input[name=search]").val();$("input[name=search]").focus(function(c){if($(this).val()==o){$(this).val("")}});$("input[name=search]").click(function(c){c.stopImmediatePropagation()});$("#r_prasa ul li a").each(function(){var c=this;$.post("/loader.php",{parser:"prasa",id:$(c).attr("rel")},function(p){$(c).tipTip({content:p,defaultPosition:"left",maxWidth:"350px"})})});$("form#sonda").submit(function(c){c.preventDefault();if($("form#sonda input:radio[name=sonda]:checked").val()){$.post("/loader.php",{parser:"vote",answer:$("form#sonda input:radio[name=sonda]:checked").val()},function(p){if(p=="ERROR"){$.blockUI({message:"Z Twojego adresu IP został już oddany głos!"});setTimeout($.unblockUI,3000)}if(p=="OK"){$.blockUI({message:"Dziękujemy za Twój głos!"});$.post("/loader.php",{parser:"voting_results"},function(q){$("form#sonda").replaceWith(q)});setTimeout($.unblockUI,2000)}})}else{$.blockUI({message:"Wybierz, proszę, jedną z odpowiedzi."});setTimeout($.unblockUI,2000)}});resumeGreetings();$("#pozdrowienia").append($("#pozdrowienia li").clone());setTimeout("greetingsScroll()",2000);setTimeout("resumeGreetings()",20000);if($("#toplayer").length==1){centerToplayer();loadToplayer();$("#toplayer_close").click(function(c){c.preventDefault();disableToplayer()});$("#bg_cover").click(function(){disableToplayer()});$(document).keypress(function(c){if(c.keyCode==27&&toplayerStatus==1){disableToplayer()}})}$("#field_comment, #form_addcomment #field_message").bbedit({highlight:true,enableSmileybar:true,tags:"b,i,u,s,url,code,quote"});$(".post_del a").click(function(p){p.preventDefault();var c=confirm("Czy chcesz usunąć wskazaną wiadomość?");if(c){window.location=$(this).attr("href")}});$("div.post span.vote_for").live("click",function(){var c=$(this).parent().parent().parent();var p=new String(c.attr("id"));var q=p.replace("post","");$.post("/loader.php",{parser:"posts_voting",post_id:q,direction:"up"},function(r){if(r.status=="IP-RETURN"){$.blockUI({message:"Z Twojego adresu IP został już oddany głos na ten post!"});setTimeout($.unblockUI,3000)}if(r.status=="OK"){c.find("div.voting").replaceWith(r.html)}},"json")});$("div.post span.vote_against").live("click",function(){var c=$(this).parent().parent().parent();var p=new String(c.attr("id"));var q=p.replace("post","");$.post("/loader.php",{post_id:q,direction:"down",parser:"posts_voting"},function(r){if(r.status=="IP-RETURN"){$.blockUI({message:"Z Twojego adresu IP został już oddany głos na ten post!"});setTimeout($.unblockUI,3000)}if(r.status=="OK"){c.find("div.voting").replaceWith(r.html)}},"json")});$("div.post span.post_show").click(function(){$(this).parent().parent().find("div.text").removeClass("hidden");$(this).parent().remove()});$("div#comments span.vote_for").live("click",function(){var c=$(this).parent().parent().parent();var p=c.attr("data-rel");$.post("/loader.php",{parser:"comments_voting",comment_id:p,direction:"up"},function(q){if(q.status=="IP-RETURN"){$.blockUI({message:"Z Twojego adresu IP został już oddany głos na ten komentarz!"});setTimeout($.unblockUI,3000)}if(q.status=="OK"){c.find("div.voting").replaceWith(q.html)}},"json")});$("div#comments span.vote_against").live("click",function(){var c=$(this).parent().parent().parent();var p=c.attr("data-rel");$.post("/loader.php",{comment_id:p,direction:"down",parser:"comments_voting"},function(q){if(q.status=="IP-RETURN"){$.blockUI({message:"Z Twojego adresu IP został już oddany głos na ten komentarz!"});setTimeout($.unblockUI,3000)}if(q.status=="OK"){c.find("div.voting").replaceWith(q.html)}},"json")});$("div#comments span.comment_show").click(function(){$(this).parent().parent().find("div.comment_content").removeClass("hidden");$(this).parent().remove()});$("form#mailbox a.delitem").click(function(p){p.preventDefault();var c=confirm("Czy chcesz usunąć wybrane wiadomości?");if(c){$("form#mailbox").submit()}});$("table.ogloszenia a.del_item").click(function(p){p.preventDefault();var c=confirm("Czy chcesz usunąć wybrane ogłoszenie?");if(c){window.location=$(this).attr("href")}});$("table.podrecznik tbody").sortable({opacity:0.6,revert:"300",cursor:"move",update:function(){var c=$(this).sortable("serialize")+"&parser=saveorder_podrecznik";$.post("/loader.php",c);$("table.podrecznik tbody tr").removeClass("odd");$("table.podrecznik tbody tr:even").addClass("odd")}});$("table.podrecznik a.del_item").click(function(p){p.preventDefault();var c=confirm("Czy chcesz usunąć wybrany link");if(c){window.location=$(this).attr("href")}});$("ul.user_gallery").sortable({opacity:0.6,revert:"300",cursor:"move",update:function(){var c=$(this).sortable("serialize")+"&parser=saveorder_album";$.post("/loader.php",c)},start:function(){$("a.mini").unbind("click")},stop:function(p,c){c.item.css({top:"0",left:"0"});$("ul.user_gallery a.mini").fancybox({showCloseButton:false,titlePosition:"inside",titleFormat:f})}});$("ul.user_gallery li i").dblclick(function(){$(this).hide();$(this).parent().children("input").show();$(this).parent().children("input").focus()});$("ul.user_gallery li input").keydown(function(q){if(q.keyCode==13){var c=$(this).attr("id");var p=$(this).parent().children("i");var r=$(this).val();$.post("/loader.php",{parser:"saveinfo_album",id:c,txt:r},function(s){p.attr("title",r);p.html(s);p.show()});$(this).hide()}if(q.keyCode==27){$(this).hide();$(this).parent().children("i").show()}});$("body").click(function(){$("ul.user_gallery li input").hide();$("ul.user_gallery li i").show()});$("ul.user_gallery li input").click(function(c){c.stopPropagation()});function f(r,q,c,p){return'<div id="tip7-title"><span><a href="javascript:;" onclick="$.fancybox.close();"><img src="/img/fancybox/closelabel.gif" /></a></span>'+(r&&r.length?"<b>"+r+"</b>":"")+"&nbsp;</div>"}$("ul.user_gallery a.mini, ul.user_profile_photos a, .gallery_preview a, .ogloszenie_opis a.left, a.lightbox, a.ltbox, table.gallery a, table.grid a").fancybox({showCloseButton:false,titlePosition:"inside",titleFormat:f});$("a.youtube").flash({height:200,width:300},{version:8},function(c){$this=$(this);c.src=$this.attr("href");$this.before($.fn.flash.transform(c))});var d=$("#form_addcomment").validate({rules:{field_message:"required",field_nick:"required",field_email:{email:true}},messages:{field_message:"",field_nick:"",field_email:""},errorPlacement:function(c,p){if(p.is(":radio")){c.appendTo(p.parent().next().next())}else{if(p.is(":checkbox")){c.appendTo(p.next())}else{c.appendTo(p.parent())}}}});var e=$("#form_topic").validate({rules:{field_topic:"required",field_comment:"required"},messages:{field_topic:"",field_comment:""},errorPlacement:function(c,p){if(p.is(":radio")){c.appendTo(p.parent().next().next())}else{if(p.is(":checkbox")){c.appendTo(p.next())}else{c.appendTo(p.parent())}}}});var a=$("#form_reply").validate({rules:{field_comment:"required"},messages:{field_comment:""},errorPlacement:function(c,p){if(p.is(":radio")){c.appendTo(p.parent().next().next())}else{if(p.is(":checkbox")){c.appendTo(p.next())}else{c.appendTo(p.parent())}}}});var n=$("#form_pm").validate({rules:{field_topic:"required",field_comment:"required"},messages:{field_topic:"",field_comment:""},errorPlacement:function(c,p){if(p.is(":radio")){c.appendTo(p.parent().next().next())}else{if(p.is(":checkbox")){c.appendTo(p.next())}else{c.appendTo(p.parent())}}}});var k=$("#form_podrecznik").validate({rules:{field_title:"required",field_link:{required:true,url:true}},messages:{field_title:"",field_link:""},errorPlacement:function(c,p){if(p.is(":radio")){c.appendTo(p.parent().next().next())}else{if(p.is(":checkbox")){c.appendTo(p.next())}else{c.appendTo(p.parent())}}}});var j=$("#form_pozdrowienia").validate({rules:{pozdr_imie:"required",pozdr_tresc:"required"},messages:{pozdr_imie:"",pozdr_tresc:""},errorPlacement:function(c,p){if(p.is(":radio")){c.appendTo(p.parent().next().next())}else{if(p.is(":checkbox")){c.appendTo(p.next())}else{c.appendTo(p.parent())}}}});var m=$("#form_ogloszenie").validate({rules:{field_title:"required",field_group:"required",field_text:"required"},messages:{field_title:"",field_group:"",field_text:""},errorPlacement:function(c,p){if(p.is(":radio")){c.appendTo(p.parent().next().next())}else{if(p.is(":checkbox")){c.appendTo(p.next())}else{c.appendTo(p.parent())}}}});var b=$("#form_firma").validate({rules:{field_title:"required",field_groups:"required",field_text:{required:true,maxlength:160}},messages:{field_title:"",field_groups:"",field_text:""},errorPlacement:function(c,p){if(p.is(":radio")){c.appendTo(p.parent().next().next())}else{if(p.is(":checkbox")){c.appendTo(p.next())}else{c.appendTo(p.parent())}}}});var g=$("#form_user").validate({rules:{field_email:{required:true,email:true},field_www:{url:true}},messages:{field_email:"",field_www:""},errorPlacement:function(c,p){if(p.is(":radio")){c.appendTo(p.parent().next().next())}else{if(p.is(":checkbox")){c.appendTo(p.next())}else{c.appendTo(p.parent())}}}});var i=$("#form_rejestracja").validate({rules:{field_login:{required:true,remote:"/loader.php?parser=checklogin"},field_email:{required:true,email:true},field_npass:{required:true,minlength:5},field_retype:{required:true,equalto:"#field_npass"}},messages:{field_login:{required:"To pole jest wymagane :)",remote:"Taki login jest już zajęty, wybierz inny."},field_email:"",field_npass:"",field_retype:""},errorPlacement:function(c,p){if(p.is(":radio")){c.appendTo(p.parent().next().next())}else{if(p.is(":checkbox")){c.appendTo(p.next())}else{c.appendTo(p.parent())}}}});$("body").click(function(){if($.trim($("input[name=search]").val())==""){$("input[name=search]").val(o)}});$("table.forum tbody tr:even").addClass("odd");$("table.zebra tbody tr:even").addClass("odd");$("div.post_toolbar li.post_cite a").click(function(p){p.preventDefault();var c=jQuery.trim($("#"+$(this).attr("rel")).find(".text").text());$("textarea#field_comment").val($("textarea#field_comment").val()+"[quote]\n"+c+"\n[/quote]\n\n");$("textarea#field_comment").focus()});$("a").focus(function(){this.blur()})});function greetingsScroll(){if($("ul#pozdrowienia li").length>2){$("#pozdrowienia").animate({"margin-top":"-28"},"slow",function(){$("#pozdrowienia").css("margin-top",0).append($("#pozdrowienia li:first"))})}setTimeout("greetingsScroll()",3000)}function resumeGreetings(){if($("ul#pozdrowienia li").length==0){$("#pzdr_timestamp").val(0)}$.post("/loader.php",{parser:"pozdrowienia",timestamp:$("#pzdr_timestamp").val()},function(a){if(a.list.length>5){$("#pozdrowienia").fadeOut("slow",function(){$("#pozdrowienia").html(a.list);$("#pzdr_timestamp").val(a.timestamp);$("#pozdrowienia").fadeIn("slow")})}setTimeout("resumeGreetings()",10000)},"json")}var toplayerStatus=0;function loadToplayer(){if(toplayerStatus==0){$("#bg_cover").css({opacity:"0.7"});$("#bg_cover").fadeIn("fast");$("#toplayer").fadeIn("fast");toplayerStatus=1}}function disableToplayer(){if(toplayerStatus==1){$("#bg_cover").remove();$("#toplayer").remove();toplayerStatus=0}}function centerToplayer(){var a=document.documentElement.clientWidth;var d=document.documentElement.clientHeight;var c=$("#toplayer").height();var b=$("#toplayer").width();$("#toplayer").css({position:"absolute",top:d/2-c/2,left:a/2-b/2});$("#bg_cover").css({height:d})};
