function ma_change_lettre(A){document.getElementById("lma_"+lettre_sel).className="lettre";document.getElementById(("ma_"+lettre_sel).toUpperCase()).style.display="none";lettre_sel=A;document.getElementById("lma_"+A.toUpperCase()).className="lettre_sel";document.getElementById(("ma_"+A).toUpperCase()).style.display="block"}function expandcontent(A){document.getElementById(A).style.display=(document.getElementById(A).style.display!="block")?"block":"none"}var product_id_glob;var cid_glob;var lid_glob;var vote_glob;var element_glob;var url_glob;function vote(D,G,E,B,C){var A="/shared/recherche/vote.cfm?product_id="+D+"&cid="+G+"&lid="+E+"&vote="+B+"&ajax=1";element_glob=C;product_id_glob=D;cid_glob=G;lid_glob=E;vote_glob=B;if(C!=null){element_glob.setAttribute("onclick","")}if(vote_glob=="-1"){var F=document.getElementById("voteNeg-"+product_id_glob+"-"+cid_glob+"-"+lid_glob);if(E==2){F.innerHTML="¡Gracias por haber participado a la mejora de nuestro motor de búsqueda!"}else{F.innerHTML="Merci d'avoir participé à l'amélioration de notre moteur de recherche!"}F.style.cursor="text";F.setAttribute("onclick","")}callHttpRequestRdc(A,null,"activeVote",null,"activeVote");return false}function activeVote(){if(element_glob!=null){document.location=element_glob.href}return false}function sendFeedback(){$.ajax({url:"/SearchFeedbackController.php",type:"POST",data:{s:$("#formFeedback input[name=s]").val(),r:$("#formFeedback input[name=r]:checked").val(),c:$("#formFeedback textarea[name=c]").val()},success:function(A){$(".feedback form").hide();$(".feedback #thanks").show()}})}function toggleList(){$("#blcResRech").attr("class",$("#aVoir option:selected").val());if($("#aVoir option:selected").val()=="blcResRechCat"){$("#blcResRech .prodSep:not(.excluShop5)").each(function(A){if(A%4==0){$(this).show()}else{$(this).hide()}})}else{$(".prodSep").show()}}function filterManager(){this.prices=null;this.searchedFacets=null;this.filters={ra:"",attributes:"",brand:"",pmi:"",pma:""};this.priceGap=10;this.elt=null;this.init=function(){$.oFilterManager=this;this.elt=$("#facets");$(".facet:not(.cats) ul",this.elt).each(function(F){$(this).toggleClass("toohigh",($("li",this).length>7))});$(".facet.cats ul li ol:first",this.elt).each(function(F){$(this).toggleClass("toohigh",($("li",this).length>7))});$(".facet ul.twocol",this.elt).each(function(F){$(this).toggleClass("toohigh",($("li",this).length>14))});$("#facetCOLOR_GROUP ul",this.elt).removeClass("toohigh");$("#facetSIZE_SHOE_GROUP ul",this.elt).removeClass("toohigh");$(".facet.cats li span",this.elt).click(function(){$("#facetform input[name=fa[]]").attr("checked",false);$("#facetform input[name=a]").val($(this).parent().attr("a"));$("#facetform").submit()});$(".facet.cats h4 .unfilter",this.elt).click(function(){$("#facetform input[name=fa[]]").attr("checked",false)});$(".facet.attribute li",this.elt).click(function(){$("input[type=checkbox]",this).attr("checked",true);$("#facetform").submit()});$(".facet h4",this.elt).click(function(){$(this).toggleClass("opened").siblings("ul").slideToggle("slow")});for(var C=3;C<$(".facet.attribute").length;++C){var E=$(".facet.attribute:eq("+C+")",this.elt);if(-1==$.inArray(E.attr("id").substr(5,E.attr("id").length-5),this.searchedFacets)){$("h4",E).click()}}$(".facet h4 .unfilter",this.elt).click(function(){$(this).parent().parent().toggleClass("filtered");$(this).parent().siblings("ul").find("input[type=checkbox]").attr("checked",false);$(this).parent().siblings("ul").find("input[type=hidden]").val("");$("#facetform").submit()});$(".facet.cats li.affin:last",this.elt).addClass("cur");if(this.filters.a!=""){$(".facet.cats",this.elt).addClass("filtered")}$(".facet.opts span.checkbox",this.elt).click(function(){if($(this).parent().hasClass("filtered")){$(this).attr("inputval","")}$("#facetform input[name="+$(this).attr("inputname")+"]").val($(this).attr("inputval"));$(this).parent().toggleClass("filtered");$("#facetform").submit()});if(this.filters.a.match(/^2\-.*/)){$(".facet.opts li.destock").addClass("filtered")}if(this.filters.st=="1"){$(".facet.opts li.instock").addClass("filtered")}if(this.filters.sl=="1"){$(".facet.opts li.sales").addClass("filtered")}$.each(this.searchedFacets,function(G,F){if(!$("#facet"+F+" ul").is(":visible")){$("#facet"+F+" h4").click()}$("#facet"+F).toggleClass("filtered")});if(this.filters.ra!=""){$("#facetRate").addClass("filtered")}if(this.filters.m!=""){$(".facet.brand",this.elt).addClass("filtered")}$(".facet.brand li",this.elt).click(function(){$("#facetform input[name=m]").val($(this).attr("val"));$("#facetform").submit()});if($(".prices input[name=pmi]").val()!=""){$(".prices .unfilter",this.elt).show()}var A=99999;var B=0;var D=0;$.each(this.prices,function(G,F){A=G<A?parseInt(G):A;B=G>B?parseInt(G):B;D+=F});B+=this.priceGap;if(this.filters.pmi==""){this.filters.pmi=A}if(this.filters.pma==""){this.filters.pma=B}$("#prmi",this.elt).html(parseInt(this.filters.pmi)+" €");$("#prma",this.elt).html(parseInt(this.filters.pma)+" €");$("#prmc",this.elt).html(D+" produits");$("#sliderBtn",this.elt).click(function(){var F=$("#slider").slider("values");$.oFilterManager.filterPrice(F[0],F[1])});$("#priceranges .btnOk",this.elt).click(function(){if(!$(this).hasClass("disabled")){$("#facetform").submit()}});$("#slider",this.elt).slider({values:[parseInt(this.filters.pmi),parseInt(this.filters.pma)],min:parseInt(this.filters.pmi),max:parseInt(this.filters.pma),step:this.priceGap,range:true,slide:function(F,G){if(G.values[1]-G.values[0]>=$(this).slider("option","step")){$.oFilterManager.filterPrice(G.values[0],G.values[1])}},stop:function(F,G){if(G.values[1]-G.values[0]<$(this).slider("option","step")){$(this).slider("values",0,$(this).slider("option","min"));$(this).slider("values",1,$(this).slider("option","max"));$.oFilterManager.filterPrice($(this).slider("option","min"),$(this).slider("option","max"))}}});$("#slider .ui-slider-handle:nth-child(2)",this.elt).addClass("hmin");$("#slider .ui-slider-handle:nth-child(3)",this.elt).addClass("hmax")};this.filterPrice=function(A,C){$("#prmi",this.elt).html(A+" €");$("#prma",this.elt).html(C+" €");$("input[name=pmi]",this.elt).val(A);$("input[name=pma]",this.elt).val(C);var B=0;$.each(this.prices,function(E,D){if(E>=A&&E<=C){B+=D}});$("#prmc",this.elt).html(B+" produits");$("#priceranges .btnOk").toggleClass("disabled",(B==0))}}function zoomIn(B){var A=$(B).find("div");if(A.find("img").length==0){A.append($("<img />").attr("src",A.attr("imgsrc")))}A.show()}function zoomOut(A){$(A).find("div").hide()};
function alapageadditionnalinfosloader(){this.active=false;this.sOfferAdditionalInfosProviderUrl="http://www.alapage.com/m/_scripts/get_offers_additionnal_infos_inscript.php";this.sOfferHtmlClassDelimiter="offerId";this.aOfferIds=new Array();this.sOfferIds=null;this.aAdditionnalOfferDatas=null}alapageadditionnalinfosloader.prototype.loadOffersIds=function(){if(typeof ("sProductIds")==undefined||this.active==false){return false}this.aOfferIds=sProductIds.split(",");this.sOfferIds=sProductIds;var sCallUrl=this.sOfferAdditionalInfosProviderUrl+"?i="+this.sOfferIds;var alapageloader=this;$.getScript(sCallUrl,function(){this.aAdditionnalOfferDatas=eval(sAdditionnalInfos);alapageloader.applyAdditionnalInfos(this)})};alapageadditionnalinfosloader.prototype.applyAdditionnalInfos=function(E){var C=E.aAdditionnalOfferDatas;for(var B=0;B<C.length;B++){var A="#Product-"+C[B].offer_id;var D=$(A).find("ul.livr_stock");$(D).find(".stock").html(C[B].offer_availability_label).addClass(C[B].offer_availability_class);$(D).find(".livr").html(C[B].offer_shipment_amount);$(D).fadeIn("slow")}};
function changeSort(A){var C=A.value;if(C.indexOf("-")!=-1){var B=C.split("-");$("#sortOrderSelector").attr("value",B[1]);$("#sortBySelector").attr("value",B[0])}else{$("#sortOrderSelector").attr("value","");$("#sortBySelector").attr("value",C)}$("#sortSelectorForm").submit()};
function trim(A){return A.replace(/(^\s*)|(\s*$)/g,"")}Array.prototype.find=function(A){var B=false;for(i=0;i<this.length;i++){if(this[i]==A){return i}}return -1};function rdc_click4(A,C,B){A=A.replace(/\[hostrdc\]/g,"www.rueducommerce.fr");A=A.replace(/\[hostavd\]/g,"www.avenidadelcomercio.es");A=A.replace(/\[hostalp\]/g,"www.alapage.com");A=A.replace(/\[prot\]/g,"http://");A=A.replace(/\[\|\]/g,"/");A=A.replace(/\[@\]/g,".");A=A.replace(/\[!\]/g,"?");A=A.replace(/\[hostsearch\]/g,"search.rueducommerce.fr");if(C!=undefined&&B!=undefined&&C+B!=""){window.open(A,C,B)}else{document.location=A}return true}function rck(A,B,C){A=A.replace(/\[r\]/g,"www.rueducommerce.fr");A=A.replace(/\[a\]/g,"www.avenidadelcomercio.es");A=A.replace(/\[p\]/g,"http://");A=A.replace(/\[\|\]/g,"/");A=A.replace(/\[@\]/g,".");A=A.replace(/\[!\]/g,"?");A=A.replace(/\[s\]/g,"search.rueducommerce.fr");if(B+C!=""){window.open(A,B,C)}else{document.location=A}return true}function bookmarkRDC(A,B){if(window.sidebar){window.sidebar.addPanel(B,A,"")}else{if(document.all){window.external.AddFavorite(A,B)}}}function callHttpRequestRdc(){var liste_appel=null;var url=null;var fnCallBackOnSent=null;var fnCallBack=null;var fnCallBackErreur=null;var params=null;var msgErreur="Erreur de paramètres";try{if(arguments.length==1){liste_appel=arguments[0];var appel=liste_appel[0];url=appel[0];fnCallBack=appel[1];fnCallBackErreur=(appel.length>=3?appel[2]:null);params=(appel.length==4?appel[3]:null);fnCallBackOnSent=(appel.length==5?appel[4]:null);liste_appel.shift()}else{if((arguments.length>=2)&&(arguments.length<=5)){url=arguments[0];fnCallBack=arguments[1];fnCallBackErreur=(arguments.length>=3?arguments[2]:null);params=(arguments.length>=4?arguments[3]:null);fnCallBackOnSent=(arguments.length==5?arguments[4]:null)}else{return msgErreur}}}catch(err){return msgErreur}var xmlHttpReq=null;if(window.XMLHttpRequest){xmlHttpReq=new XMLHttpRequest()}else{if(window.ActiveXObject){xmlHttpReq=new ActiveXObject("Microsoft.XMLHTTP")}else{alert("Votre navigateur ne supporte pas les objets XMLHTTPRequest...");return"Navigateur non compatible"}}if(xmlHttpReq.overrideMimeType){xmlHttpReq.overrideMimeType("text/xml; charset=ISO-8859-1")}xmlHttpReq.open("GET",url,true);xmlHttpReq.onreadystatechange=function(){if(xmlHttpReq.readyState==2&&fnCallBackOnSent!=null){eval(fnCallBackOnSent+"(xmlHttpReq , params)")}if(xmlHttpReq.readyState==4){if(xmlHttpReq.status==200&&fnCallBack!=null){eval(fnCallBack+"(xmlHttpReq.responseXML.documentElement , params)")}else{if(fnCallBackErreur!=null){eval(fnCallBackErreur+" (params , xmlHttpReq.status)")}}if((liste_appel!=null)&&(liste_appel.length>0)){callHttpRequestRdc(liste_appel)}}};xmlHttpReq.send(null)}function StockManager(){$.osm=this;this.libStocks={E:"Epuisé",R:"En réappro",S:"En Stock",L:"Stock limité",C:"Sur commande",X:"Temporairement indisponible"};this.wsHTUrl="http://www.rueducommerce.fr/ws/stock";this.wsGMUrl="http://www.rueducommerce.fr/m/dws/get_product_stock.php";this.pns={};this.getStocks=function(A){$.ajax({dataType:"jsonp",jsonpCallback:"$.osm.getStocksHTCallback",url:this.wsHTUrl,data:{pns:A}})};this.getStocksHTCallback=function(A){$.each(A,function(B,C){$("div.jstock[partnumber="+B+"]").html($.osm.libStocks[C]).addClass(C)})};this.getStocksGM=function(B,A){$.ajax({dataType:"jsonp",jsonpCallback:"$.osm.getStocksGMCallback",url:this.wsGMUrl,data:(A==1)?{mpids:B,gmht:1}:{mpids:B}})};this.getStocksGMCallback=function(A){$.each(A,function(C,B){$("div.jstock[mpid="+C+"]").html($.osm.libStocks[B]).addClass(B)})};this.getAllStocksInPage=function(){if(this.pns.length>0){$.each(this.pns,function(A,B){if(B.gm==1){$.osm.getStocksGM(B.mpid,B.gmht)}else{$.osm.getStocks(B.pn)}})}else{$("div.jstock[partnumber]").each(function(){$.osm.getStocks($(this).attr("partnumber"))});$("div.jstock[mpid][gmht=1]").each(function(){$.osm.getStocksGM($(this).attr("mpid"),1)});$("div.jstock[mpid][gmht!=1]").each(function(){$.osm.getStocksGM($(this).attr("mpid"),0)})}}}var rdc_perf_start=new Date();
/*
 * jQuery JavaScript Library v1.4.2
 * http://jquery.com/
 *
 * Copyright 2010, John Resig
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * Includes Sizzle.js
 * http://sizzlejs.com/
 * Copyright 2010, The Dojo Foundation
 * Released under the MIT, BSD, and GPL Licenses.
 *
 * Date: Sat Feb 13 22:33:48 2010 -0500
 */
(function(An,v){function Az(){if(!AF.isReady){try{x.documentElement.doScroll("left")}catch(A){setTimeout(Az,1);return }AF.ready()}}function t(F,A){A.src?AF.ajax({url:A.src,async:false,dataType:"script"}):AF.globalEval(A.text||A.textContent||A.innerHTML||"");A.parentNode&&A.parentNode.removeChild(A)}function AN(F,A,O,K,L,G){var J=F.length;if(typeof A==="object"){for(var N in A){AN(F,N,A[N],K,L,O)}return F}if(O!==v){K=!G&&K&&AF.isFunction(O);for(N=0;N<J;N++){L(F[N],A,K?O.call(F[N],N,L(F[N],A)):O,G)}return F}return J?L(F[0],A):v}function Ae(){return(new Date).getTime()}function AM(){return false}function AK(){return true}function Aj(F,A,G){G[0].type=F;return AF.event.handle.apply(A,G)}function AE(R){var Q,P=[],N=[],O=arguments,K,L,F,J,G,A;L=AF.data(this,"events");if(!(R.liveFired===this||!L||!L.live||R.button&&R.type==="click")){R.liveFired=this;var T=L.live.slice(0);for(J=0;J<T.length;J++){L=T[J];L.origType.replace(AW,"")===R.type?N.push(L.selector):T.splice(J--,1)}K=AF(R.target).closest(N,R.currentTarget);G=0;for(A=K.length;G<A;G++){for(J=0;J<T.length;J++){L=T[J];if(K[G].selector===L.selector){F=K[G].elem;N=null;if(L.preType==="mouseenter"||L.preType==="mouseleave"){N=AF(R.relatedTarget).closest(L.selector)[0]}if(!N||N!==F){P.push({elem:F,handleObj:L})}}}}G=0;for(A=P.length;G<A;G++){K=P[G];R.currentTarget=K.elem;R.data=K.handleObj.data;R.handleObj=K.handleObj;if(K.handleObj.origHandler.apply(K.elem,O)===false){Q=false;break}}return Q}}function o(F,A){return"live."+(F&&F!=="*"?F+".":"")+A.replace(/\./g,"`").replace(/ /g,"&")}function b(A){return !A||!A.parentNode||A.parentNode.nodeType===11}function BG(F,A){var G=0;A.each(function(){if(this.nodeName===(F[G]&&F[G].nodeName)){var L=AF.data(F[G++]),N=AF.data(this,L);if(L=L&&L.events){delete N.handle;N.events={};for(var J in L){for(var K in L[J]){AF.event.add(this,J,L[J][K],L[J][K].data)}}}}})}function A2(F,A,L){var J,K,G;A=A&&A[0]?A[0].ownerDocument||A[0]:x;if(F.length===1&&typeof F[0]==="string"&&F[0].length<512&&A===x&&!Ao.test(F[0])&&(AF.support.checkClone||!AI.test(F[0]))){K=true;if(G=AF.fragments[F[0]]){if(G!==1){J=G}}}if(!J){J=A.createDocumentFragment();AF.clean(F,A,J,L)}if(K){AF.fragments[F[0]]=G?J:1}return{fragment:J,cacheable:K}}function AZ(F,A){var G={};AF.each(r.concat.apply([],r.slice(0,A)),function(){G[this]=F});return G}function f(A){return"scrollTo" in A&&A.document?A:A.nodeType===9?A.defaultView||A.parentWindow:false}var AF=function(F,A){return new AF.fn.init(F,A)},g=An.jQuery,D=An.$,x=An.document,AQ,A6=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,As=/^.[^:#\[\.,]*$/,AL=/\S/,u=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,h=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,AU=navigator.userAgent,C=false,AS=[],AY,A0=Object.prototype.toString,Au=Object.prototype.hasOwnProperty,AV=Array.prototype.push,AR=Array.prototype.slice,A5=Array.prototype.indexOf;AF.fn=AF.prototype={init:function(F,A){var J,G;if(!F){return this}if(F.nodeType){this.context=this[0]=F;this.length=1;return this}if(F==="body"&&!A){this.context=x;this[0]=x.body;this.selector="body";this.length=1;return this}if(typeof F==="string"){if((J=A6.exec(F))&&(J[1]||!A)){if(J[1]){G=A?A.ownerDocument||A:x;if(F=h.exec(F)){if(AF.isPlainObject(A)){F=[x.createElement(F[1])];AF.fn.attr.call(F,A,true)}else{F=[G.createElement(F[1])]}}else{F=A2([J[1]],[G]);F=(F.cacheable?F.fragment.cloneNode(true):F.fragment).childNodes}return AF.merge(this,F)}else{if(A=x.getElementById(J[2])){if(A.id!==J[2]){return AQ.find(F)}this.length=1;this[0]=A}this.context=x;this.selector=F;return this}}else{if(!A&&/^\w+$/.test(F)){this.selector=F;this.context=x;F=x.getElementsByTagName(F);return AF.merge(this,F)}else{return !A||A.jquery?(A||AQ).find(F):AF(A).find(F)}}}else{if(AF.isFunction(F)){return AQ.ready(F)}}if(F.selector!==v){this.selector=F.selector;this.context=F.context}return AF.makeArray(F,this)},selector:"",jquery:"1.4.2",length:0,size:function(){return this.length},toArray:function(){return AR.call(this,0)},get:function(A){return A==null?this.toArray():A<0?this.slice(A)[0]:this[A]},pushStack:function(F,A,J){var G=AF();AF.isArray(F)?AV.apply(G,F):AF.merge(G,F);G.prevObject=this;G.context=this.context;if(A==="find"){G.selector=this.selector+(this.selector?" ":"")+J}else{if(A){G.selector=this.selector+"."+A+"("+J+")"}}return G},each:function(F,A){return AF.each(this,F,A)},ready:function(A){AF.bindReady();if(AF.isReady){A.call(x,AF)}else{AS&&AS.push(A)}return this},eq:function(A){return A===-1?this.slice(A):this.slice(A,+A+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(AR.apply(this,arguments),"slice",AR.call(arguments).join(","))},map:function(A){return this.pushStack(AF.map(this,function(F,G){return A.call(F,G,F)}))},end:function(){return this.prevObject||AF(null)},push:AV,sort:[].sort,splice:[].splice};AF.fn.init.prototype=AF.fn;AF.extend=AF.fn.extend=function(){var F=arguments[0]||{},A=1,O=arguments.length,K=false,L,G,J,N;if(typeof F==="boolean"){K=F;F=arguments[1]||{};A=2}if(typeof F!=="object"&&!AF.isFunction(F)){F={}}if(O===A){F=this;--A}for(;A<O;A++){if((L=arguments[A])!=null){for(G in L){J=F[G];N=L[G];if(F!==N){if(K&&N&&(AF.isPlainObject(N)||AF.isArray(N))){J=J&&(AF.isPlainObject(J)||AF.isArray(J))?J:AF.isArray(N)?[]:{};F[G]=AF.extend(K,J,N)}else{if(N!==v){F[G]=N}}}}}}return F};AF.extend({noConflict:function(A){An.$=D;if(A){An.jQuery=g}return AF},isReady:false,ready:function(){if(!AF.isReady){if(!x.body){return setTimeout(AF.ready,13)}AF.isReady=true;if(AS){for(var F,A=0;F=AS[A++];){F.call(x,AF)}AS=null}AF.fn.triggerHandler&&AF(x).triggerHandler("ready")}},bindReady:function(){if(!C){C=true;if(x.readyState==="complete"){return AF.ready()}if(x.addEventListener){x.addEventListener("DOMContentLoaded",AY,false);An.addEventListener("load",AF.ready,false)}else{if(x.attachEvent){x.attachEvent("onreadystatechange",AY);An.attachEvent("onload",AF.ready);var F=false;try{F=An.frameElement==null}catch(A){}x.documentElement.doScroll&&F&&Az()}}}},isFunction:function(A){return A0.call(A)==="[object Function]"},isArray:function(A){return A0.call(A)==="[object Array]"},isPlainObject:function(F){if(!F||A0.call(F)!=="[object Object]"||F.nodeType||F.setInterval){return false}if(F.constructor&&!Au.call(F,"constructor")&&!Au.call(F.constructor.prototype,"isPrototypeOf")){return false}var A;for(A in F){}return A===v||Au.call(F,A)},isEmptyObject:function(F){for(var A in F){return false}return true},error:function(A){throw A},parseJSON:function(A){if(typeof A!=="string"||!A){return null}A=AF.trim(A);if(/^[\],:{}\s]*$/.test(A.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,""))){return An.JSON&&An.JSON.parse?An.JSON.parse(A):(new Function("return "+A))()}else{AF.error("Invalid JSON: "+A)}},noop:function(){},globalEval:function(F){if(F&&AL.test(F)){var A=x.getElementsByTagName("head")[0]||x.documentElement,G=x.createElement("script");G.type="text/javascript";if(AF.support.scriptEval){G.appendChild(x.createTextNode(F))}else{G.text=F}A.insertBefore(G,A.firstChild);A.removeChild(G)}},nodeName:function(F,A){return F.nodeName&&F.nodeName.toUpperCase()===A.toUpperCase()},each:function(F,A,N){var K,L=0,G=F.length,J=G===v||AF.isFunction(F);if(N){if(J){for(K in F){if(A.apply(F[K],N)===false){break}}}else{for(;L<G;){if(A.apply(F[L++],N)===false){break}}}}else{if(J){for(K in F){if(A.call(F[K],K,F[K])===false){break}}}else{for(N=F[0];L<G&&A.call(N,L,N)!==false;N=F[++L]){}}}return F},trim:function(A){return(A||"").replace(u,"")},makeArray:function(F,A){A=A||[];if(F!=null){F.length==null||typeof F==="string"||AF.isFunction(F)||typeof F!=="function"&&F.setInterval?AV.call(A,F):AF.merge(A,F)}return A},inArray:function(F,A){if(A.indexOf){return A.indexOf(F)}for(var J=0,G=A.length;J<G;J++){if(A[J]===F){return J}}return -1},merge:function(F,A){var K=F.length,G=0;if(typeof A.length==="number"){for(var J=A.length;G<J;G++){F[K++]=A[G]}}else{for(;A[G]!==v;){F[K++]=A[G++]}}F.length=K;return F},grep:function(F,A,L){for(var J=[],K=0,G=F.length;K<G;K++){!L!==!A(F[K],K)&&J.push(F[K])}return J},map:function(F,A,N){for(var K=[],L,G=0,J=F.length;G<J;G++){L=A(F[G],G,N);if(L!=null){K[K.length]=L}}return K.concat.apply([],K)},guid:1,proxy:function(F,A,G){if(arguments.length===2){if(typeof A==="string"){G=F;F=G[A];A=v}else{if(A&&!AF.isFunction(A)){G=A;A=v}}}if(!A&&F){A=function(){return F.apply(G||this,arguments)}}if(F){A.guid=F.guid=F.guid||A.guid||AF.guid++}return A},uaMatch:function(A){A=A.toLowerCase();A=/(webkit)[ \/]([\w.]+)/.exec(A)||/(opera)(?:.*version)?[ \/]([\w.]+)/.exec(A)||/(msie) ([\w.]+)/.exec(A)||!/compatible/.test(A)&&/(mozilla)(?:.*? rv:([\w.]+))?/.exec(A)||[];return{browser:A[1]||"",version:A[2]||"0"}},browser:{}});AU=AF.uaMatch(AU);if(AU.browser){AF.browser[AU.browser]=true;AF.browser.version=AU.version}if(AF.browser.webkit){AF.browser.safari=true}if(A5){AF.inArray=function(F,A){return A5.call(A,F)}}AQ=AF(x);if(x.addEventListener){AY=function(){x.removeEventListener("DOMContentLoaded",AY,false);AF.ready()}}else{if(x.attachEvent){AY=function(){if(x.readyState==="complete"){x.detachEvent("onreadystatechange",AY);AF.ready()}}}}(function(){AF.support={};var P=x.documentElement,O=x.createElement("script"),N=x.createElement("div"),K="script"+Ae();N.style.display="none";N.innerHTML="   <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";var L=N.getElementsByTagName("*"),G=N.getElementsByTagName("a")[0];if(!(!L||!L.length||!G)){AF.support={leadingWhitespace:N.firstChild.nodeType===3,tbody:!N.getElementsByTagName("tbody").length,htmlSerialize:!!N.getElementsByTagName("link").length,style:/red/.test(G.getAttribute("style")),hrefNormalized:G.getAttribute("href")==="/a",opacity:/^0.55$/.test(G.style.opacity),cssFloat:!!G.style.cssFloat,checkOn:N.getElementsByTagName("input")[0].value==="on",optSelected:x.createElement("select").appendChild(x.createElement("option")).selected,parentNode:N.removeChild(N.appendChild(x.createElement("div"))).parentNode===null,deleteExpando:true,checkClone:false,scriptEval:false,noCloneEvent:true,boxModel:null};O.type="text/javascript";try{O.appendChild(x.createTextNode("window."+K+"=1;"))}catch(J){}P.insertBefore(O,P.firstChild);if(An[K]){AF.support.scriptEval=true;delete An[K]}try{delete O.test}catch(A){AF.support.deleteExpando=false}P.removeChild(O);if(N.attachEvent&&N.fireEvent){N.attachEvent("onclick",function F(){AF.support.noCloneEvent=false;N.detachEvent("onclick",F)});N.cloneNode(true).fireEvent("onclick")}N=x.createElement("div");N.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";P=x.createDocumentFragment();P.appendChild(N.firstChild);AF.support.checkClone=P.cloneNode(true).cloneNode(true).lastChild.checked;AF(function(){var Q=x.createElement("div");Q.style.width=Q.style.paddingLeft="1px";x.body.appendChild(Q);AF.boxModel=AF.support.boxModel=Q.offsetWidth===2;x.body.removeChild(Q).style.display="none"});P=function(Q){var T=x.createElement("div");Q="on"+Q;var R=Q in T;if(!R){T.setAttribute(Q,"return;");R=typeof T[Q]==="function"}return R};AF.support.submitBubbles=P("submit");AF.support.changeBubbles=P("change");P=O=N=L=G=null}})();AF.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};var Ag="jQuery"+Ae(),E=0,Ar={};AF.extend({cache:{},expando:Ag,noData:{embed:true,object:true,applet:true},data:function(F,A,K){if(!(F.nodeName&&AF.noData[F.nodeName.toLowerCase()])){F=F==An?Ar:F;var G=F[Ag],J=AF.cache;if(!G&&typeof A==="string"&&K===v){return null}G||(G=++E);if(typeof A==="object"){F[Ag]=G;J[G]=AF.extend(true,{},A)}else{if(!J[G]){F[Ag]=G;J[G]={}}}F=J[G];if(K!==v){F[A]=K}return typeof A==="string"?F[A]:F}},removeData:function(F,A){if(!(F.nodeName&&AF.noData[F.nodeName.toLowerCase()])){F=F==An?Ar:F;var K=F[Ag],G=AF.cache,J=G[K];if(A){if(J){delete J[A];AF.isEmptyObject(J)&&AF.removeData(F)}}else{if(AF.support.deleteExpando){delete F[AF.expando]}else{F.removeAttribute&&F.removeAttribute(AF.expando)}delete G[K]}}}});AF.fn.extend({data:function(F,A){if(typeof F==="undefined"&&this.length){return AF.data(this[0])}else{if(typeof F==="object"){return this.each(function(){AF.data(this,F)})}}var J=F.split(".");J[1]=J[1]?"."+J[1]:"";if(A===v){var G=this.triggerHandler("getData"+J[1]+"!",[J[0]]);if(G===v&&this.length){G=AF.data(this[0],F)}return G===v&&J[1]?this.data(J[0]):G}else{return this.trigger("setData"+J[1]+"!",[J[0],A]).each(function(){AF.data(this,F,A)})}},removeData:function(A){return this.each(function(){AF.removeData(this,A)})}});AF.extend({queue:function(F,A,J){if(F){A=(A||"fx")+"queue";var G=AF.data(F,A);if(!J){return G||[]}if(!G||AF.isArray(J)){G=AF.data(F,A,AF.makeArray(J))}else{G.push(J)}return G}},dequeue:function(F,A){A=A||"fx";var J=AF.queue(F,A),G=J.shift();if(G==="inprogress"){G=J.shift()}if(G){A==="fx"&&J.unshift("inprogress");G.call(F,function(){AF.dequeue(F,A)})}}});AF.fn.extend({queue:function(F,A){if(typeof F!=="string"){A=F;F="fx"}if(A===v){return AF.queue(this[0],F)}return this.each(function(){var G=AF.queue(this,F,A);F==="fx"&&G[0]!=="inprogress"&&AF.dequeue(this,F)})},dequeue:function(A){return this.each(function(){AF.dequeue(this,A)})},delay:function(F,A){F=AF.fx?AF.fx.speeds[F]||F:F;A=A||"fx";return this.queue(A,function(){var G=this;setTimeout(function(){AF.dequeue(G,A)},F)})},clearQueue:function(A){return this.queue(A||"fx",[])}});var BB=/[\n\t]/g,z=/\s+/,A7=/\r/g,Al=/href|src|style/,At=/(button|input)/i,AT=/(button|input|object|select|textarea)/i,y=/^(a|area)$/i,Ax=/radio|checkbox/;AF.fn.extend({attr:function(F,A){return AN(this,F,A,true,AF.attr)},removeAttr:function(A){return this.each(function(){AF.attr(this,A,"");this.nodeType===1&&this.removeAttribute(A)})},addClass:function(P){if(AF.isFunction(P)){return this.each(function(R){var Q=AF(this);Q.addClass(P.call(this,R,Q.attr("class")))})}if(P&&typeof P==="string"){for(var O=(P||"").split(z),N=0,K=this.length;N<K;N++){var L=this[N];if(L.nodeType===1){if(L.className){for(var G=" "+L.className+" ",J=L.className,A=0,F=O.length;A<F;A++){if(G.indexOf(" "+O[A]+" ")<0){J+=" "+O[A]}}L.className=AF.trim(J)}else{L.className=P}}}}return this},removeClass:function(F){if(AF.isFunction(F)){return this.each(function(P){var Q=AF(this);Q.removeClass(F.call(this,P,Q.attr("class")))})}if(F&&typeof F==="string"||F===v){for(var A=(F||"").split(z),O=0,K=this.length;O<K;O++){var L=this[O];if(L.nodeType===1&&L.className){if(F){for(var G=(" "+L.className+" ").replace(BB," "),J=0,N=A.length;J<N;J++){G=G.replace(" "+A[J]+" "," ")}L.className=AF.trim(G)}else{L.className=""}}}}return this},toggleClass:function(F,A){var J=typeof F,G=typeof A==="boolean";if(AF.isFunction(F)){return this.each(function(L){var K=AF(this);K.toggleClass(F.call(this,L,K.attr("class"),A),A)})}return this.each(function(){if(J==="string"){for(var O,L=0,N=AF(this),P=A,K=F.split(z);O=K[L++];){P=G?P:!N.hasClass(O);N[P?"addClass":"removeClass"](O)}}else{if(J==="undefined"||J==="boolean"){this.className&&AF.data(this,"__className__",this.className);this.className=this.className||F===false?"":AF.data(this,"__className__")||""}}})},hasClass:function(F){F=" "+F+" ";for(var A=0,G=this.length;A<G;A++){if((" "+this[A].className+" ").replace(BB," ").indexOf(F)>-1){return true}}return false},val:function(F){if(F===v){var A=this[0];if(A){if(AF.nodeName(A,"option")){return(A.attributes.value||{}).specified?A.value:A.text}if(AF.nodeName(A,"select")){var O=A.selectedIndex,K=[],L=A.options;A=A.type==="select-one";if(O<0){return null}var G=A?O:0;for(O=A?O+1:L.length;G<O;G++){var J=L[G];if(J.selected){F=AF(J).val();if(A){return F}K.push(F)}}return K}if(Ax.test(A.type)&&!AF.support.checkOn){return A.getAttribute("value")===null?"on":A.value}return(A.value||"").replace(A7,"")}return v}var N=AF.isFunction(F);return this.each(function(P){var T=AF(this),R=F;if(this.nodeType===1){if(N){R=F.call(this,P,T.val())}if(typeof R==="number"){R+=""}if(AF.isArray(R)&&Ax.test(this.type)){this.checked=AF.inArray(T.val(),R)>=0}else{if(AF.nodeName(this,"select")){var Q=AF.makeArray(R);AF("option",this).each(function(){this.selected=AF.inArray(AF(this).val(),Q)>=0});if(!Q.length){this.selectedIndex=-1}}else{this.value=R}}}})}});AF.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(F,A,L,J){if(!F||F.nodeType===3||F.nodeType===8){return v}if(J&&A in AF.attrFn){return AF(F)[A](L)}J=F.nodeType!==1||!AF.isXMLDoc(F);var K=L!==v;A=J&&AF.props[A]||A;if(F.nodeType===1){var G=Al.test(A);if(A in F&&J&&!G){if(K){A==="type"&&At.test(F.nodeName)&&F.parentNode&&AF.error("type property can't be changed");F[A]=L}if(AF.nodeName(F,"form")&&F.getAttributeNode(A)){return F.getAttributeNode(A).nodeValue}if(A==="tabIndex"){return(A=F.getAttributeNode("tabIndex"))&&A.specified?A.value:AT.test(F.nodeName)||y.test(F.nodeName)&&F.href?0:v}return F[A]}if(!AF.support.style&&J&&A==="style"){if(K){F.style.cssText=""+L}return F.style.cssText}K&&F.setAttribute(A,""+L);F=!AF.support.hrefNormalized&&J&&G?F.getAttribute(A,2):F.getAttribute(A);return F===null?v:F}return AF.style(F,A,L)}});var AW=/\.(.*)$/,i=function(A){return A.replace(/[^\w\s\.\|`]/g,function(F){return"\\"+F})};AF.event={add:function(T,R,P,N){if(!(T.nodeType===3||T.nodeType===8)){if(T.setInterval&&T!==An&&!T.frameElement){T=An}var O,K;if(P.handler){O=P;P=O.handler}if(!P.guid){P.guid=AF.guid++}if(K=AF.data(T)){var L=K.events=K.events||{},F=K.handle;if(!F){K.handle=F=function(){return typeof AF!=="undefined"&&!AF.event.triggered?AF.event.handle.apply(F.elem,arguments):v}}F.elem=T;R=R.split(" ");for(var J,G=0,A;J=R[G++];){K=O?AF.extend({},O):{handler:P,data:N};if(J.indexOf(".")>-1){A=J.split(".");J=A.shift();K.namespace=A.slice(0).sort().join(".")}else{A=[];K.namespace=""}K.type=J;K.guid=P.guid;var V=L[J],Q=AF.event.special[J]||{};if(!V){V=L[J]=[];if(!Q.setup||Q.setup.call(T,N,A,F)===false){if(T.addEventListener){T.addEventListener(J,F,false)}else{T.attachEvent&&T.attachEvent("on"+J,F)}}}if(Q.add){Q.add.call(T,K);if(!K.handler.guid){K.handler.guid=P.guid}}V.push(K);AF.event.global[J]=true}T=null}}},global:{},remove:function(W,V,R,P){if(!(W.nodeType===3||W.nodeType===8)){var Q,N=0,O,J,L,K,A,X,T=AF.data(W),F=T&&T.events;if(T&&F){if(V&&V.type){R=V.handler;V=V.type}if(!V||typeof V==="string"&&V.charAt(0)==="."){V=V||"";for(Q in F){AF.event.remove(W,Q+V)}}else{for(V=V.split(" ");Q=V[N++];){K=Q;O=Q.indexOf(".")<0;J=[];if(!O){J=Q.split(".");Q=J.shift();L=new RegExp("(^|\\.)"+AF.map(J.slice(0).sort(),i).join("\\.(?:.*\\.)?")+"(\\.|$)")}if(A=F[Q]){if(R){K=AF.event.special[Q]||{};for(G=P||0;G<A.length;G++){X=A[G];if(R.guid===X.guid){if(O||L.test(X.namespace)){P==null&&A.splice(G--,1);K.remove&&K.remove.call(W,X)}if(P!=null){break}}}if(A.length===0||P!=null&&A.length===1){if(!K.teardown||K.teardown.call(W,J)===false){Af(W,Q,T.handle)}delete F[Q]}}else{for(var G=0;G<A.length;G++){X=A[G];if(O||L.test(X.namespace)){AF.event.remove(W,K,X.handler,G);A.splice(G--,1)}}}}}if(AF.isEmptyObject(F)){if(V=T.handle){V.elem=null}delete T.events;delete T.handle;AF.isEmptyObject(T)&&AF.removeData(W)}}}}},trigger:function(Q,P,O,L){var N=Q.type||Q;if(!L){Q=typeof Q==="object"?Q[Ag]?Q:AF.extend(AF.Event(N),Q):AF.Event(N);if(N.indexOf("!")>=0){Q.type=N=N.slice(0,-1);Q.exclusive=true}if(!O){Q.stopPropagation();AF.event.global[N]&&AF.each(AF.cache,function(){this.events&&this.events[N]&&AF.event.trigger(Q,P,this.handle.elem)})}if(!O||O.nodeType===3||O.nodeType===8){return v}Q.result=v;Q.target=O;P=AF.makeArray(P);P.unshift(Q)}Q.currentTarget=O;(L=AF.data(O,"handle"))&&L.apply(O,P);L=O.parentNode||O.ownerDocument;try{if(!(O&&O.nodeName&&AF.noData[O.nodeName.toLowerCase()])){if(O["on"+N]&&O["on"+N].apply(O,P)===false){Q.result=false}}}catch(J){}if(!Q.isPropagationStopped()&&L){AF.event.trigger(Q,P,L,true)}else{if(!Q.isDefaultPrevented()){L=Q.target;var K,A=AF.nodeName(L,"a")&&N==="click",G=AF.event.special[N]||{};if((!G._default||G._default.call(O,Q)===false)&&!A&&!(L&&L.nodeName&&AF.noData[L.nodeName.toLowerCase()])){try{if(L[N]){if(K=L["on"+N]){L["on"+N]=null}AF.event.triggered=true;L[N]()}}catch(F){}if(K){L["on"+N]=K}AF.event.triggered=false}}}},handle:function(F){var A,N,K,L;F=arguments[0]=AF.event.fix(F||An.event);F.currentTarget=this;A=F.type.indexOf(".")<0&&!F.exclusive;if(!A){N=F.type.split(".");F.type=N.shift();K=new RegExp("(^|\\.)"+N.slice(0).sort().join("\\.(?:.*\\.)?")+"(\\.|$)")}L=AF.data(this,"events");N=L[F.type];if(L&&N){N=N.slice(0);L=0;for(var G=N.length;L<G;L++){var J=N[L];if(A||K.test(J.namespace)){F.handler=J.handler;F.data=J.data;F.handleObj=J;J=J.handler.apply(this,arguments);if(J!==v){F.result=J;if(J===false){F.preventDefault();F.stopPropagation()}}if(F.isImmediatePropagationStopped()){break}}}}return F.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 originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(F){if(F[Ag]){return F}var A=F;F=AF.Event(A);for(var J=this.props.length,G;J;){G=this.props[--J];F[G]=A[G]}if(!F.target){F.target=F.srcElement||x}if(F.target.nodeType===3){F.target=F.target.parentNode}if(!F.relatedTarget&&F.fromElement){F.relatedTarget=F.fromElement===F.target?F.toElement:F.fromElement}if(F.pageX==null&&F.clientX!=null){A=x.documentElement;J=x.body;F.pageX=F.clientX+(A&&A.scrollLeft||J&&J.scrollLeft||0)-(A&&A.clientLeft||J&&J.clientLeft||0);F.pageY=F.clientY+(A&&A.scrollTop||J&&J.scrollTop||0)-(A&&A.clientTop||J&&J.clientTop||0)}if(!F.which&&(F.charCode||F.charCode===0?F.charCode:F.keyCode)){F.which=F.charCode||F.keyCode}if(!F.metaKey&&F.ctrlKey){F.metaKey=F.ctrlKey}if(!F.which&&F.button!==v){F.which=F.button&1?1:F.button&2?3:F.button&4?2:0}return F},guid:100000000,proxy:AF.proxy,special:{ready:{setup:AF.bindReady,teardown:AF.noop},live:{add:function(A){AF.event.add(this,A.origType,AF.extend({},A,{handler:AE}))},remove:function(F){var A=true,G=F.origType.replace(AW,"");AF.each(AF.data(this,"events").live||[],function(){if(G===this.origType.replace(AW,"")){return A=false}});A&&AF.event.remove(this,F.origType,AE)}},beforeunload:{setup:function(F,A,G){if(this.setInterval){this.onbeforeunload=G}return false},teardown:function(F,A){if(this.onbeforeunload===A){this.onbeforeunload=null}}}}};var Af=x.removeEventListener?function(F,A,G){F.removeEventListener(A,G,false)}:function(F,A,G){F.detachEvent("on"+A,G)};AF.Event=function(A){if(!this.preventDefault){return new AF.Event(A)}if(A&&A.type){this.originalEvent=A;this.type=A.type}else{this.type=A}this.timeStamp=Ae();this[Ag]=true};AF.Event.prototype={preventDefault:function(){this.isDefaultPrevented=AK;var A=this.originalEvent;if(A){A.preventDefault&&A.preventDefault();A.returnValue=false}},stopPropagation:function(){this.isPropagationStopped=AK;var A=this.originalEvent;if(A){A.stopPropagation&&A.stopPropagation();A.cancelBubble=true}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=AK;this.stopPropagation()},isDefaultPrevented:AM,isPropagationStopped:AM,isImmediatePropagationStopped:AM};var AC=function(F){var A=F.relatedTarget;try{for(;A&&A!==this;){A=A.parentNode}if(A!==this){F.type=F.data;AF.event.handle.apply(this,arguments)}}catch(G){}},m=function(A){A.type=A.data;AF.event.handle.apply(this,arguments)};AF.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(F,A){AF.event.special[F]={setup:function(G){AF.event.add(this,A,G&&G.selector?m:AC,F)},teardown:function(G){AF.event.remove(this,A,G&&G.selector?m:AC)}}});if(!AF.support.submitBubbles){AF.event.special.submit={setup:function(){if(this.nodeName.toLowerCase()!=="form"){AF.event.add(this,"click.specialSubmit",function(F){var A=F.target,G=A.type;if((G==="submit"||G==="image")&&AF(A).closest("form").length){return Aj("submit",this,arguments)}});AF.event.add(this,"keypress.specialSubmit",function(F){var A=F.target,G=A.type;if((G==="text"||G==="password")&&AF(A).closest("form").length&&F.keyCode===13){return Aj("submit",this,arguments)}})}else{return false}},teardown:function(){AF.event.remove(this,".specialSubmit")}}}if(!AF.support.changeBubbles){var j=/textarea|input|select/i,I,U=function(F){var A=F.type,G=F.value;if(A==="radio"||A==="checkbox"){G=F.checked}else{if(A==="select-multiple"){G=F.selectedIndex>-1?AF.map(F.options,function(J){return J.selected}).join("-"):""}else{if(F.nodeName.toLowerCase()==="select"){G=F.selectedIndex}}}return G},BA=function(F,A){var K=F.target,G,J;if(!(!j.test(K.nodeName)||K.readOnly)){G=AF.data(K,"_change_data");J=U(K);if(F.type!=="focusout"||K.type!=="radio"){AF.data(K,"_change_data",J)}if(!(G===v||J===G)){if(G!=null||J){F.type="change";return AF.event.trigger(F,A,K)}}}};AF.event.special.change={filters:{focusout:BA,click:function(F){var A=F.target,G=A.type;if(G==="radio"||G==="checkbox"||A.nodeName.toLowerCase()==="select"){return BA.call(this,F)}},keydown:function(F){var A=F.target,G=A.type;if(F.keyCode===13&&A.nodeName.toLowerCase()!=="textarea"||F.keyCode===32&&(G==="checkbox"||G==="radio")||G==="select-multiple"){return BA.call(this,F)}},beforeactivate:function(A){A=A.target;AF.data(A,"_change_data",U(A))}},setup:function(){if(this.type==="file"){return false}for(var A in I){AF.event.add(this,A+".specialChange",I[A])}return j.test(this.nodeName)},teardown:function(){AF.event.remove(this,".specialChange");return j.test(this.nodeName)}};I=AF.event.special.change.filters}x.addEventListener&&AF.each({focus:"focusin",blur:"focusout"},function(F,A){function G(J){J=AF.event.fix(J);J.type=A;return AF.event.handle.call(this,J)}AF.event.special[A]={setup:function(){this.addEventListener(F,G,true)},teardown:function(){this.removeEventListener(F,G,true)}}});AF.each(["bind","one"],function(F,A){AF.fn[A]=function(O,K,L){if(typeof O==="object"){for(var G in O){this[A](G,K,O[G],L)}return this}if(AF.isFunction(K)){L=K;K=v}var J=A==="one"?AF.proxy(L,function(P){AF(this).unbind(P,J);return L.apply(this,arguments)}):L;if(O==="unload"&&A!=="one"){this.one(O,K,L)}else{G=0;for(var N=this.length;G<N;G++){AF.event.add(this[G],O,J,K)}}return this}});AF.fn.extend({unbind:function(F,A){if(typeof F==="object"&&!F.preventDefault){for(var J in F){this.unbind(J,F[J])}}else{J=0;for(var G=this.length;J<G;J++){AF.event.remove(this[J],F,A)}}return this},delegate:function(F,A,J,G){return this.live(A,J,G,F)},undelegate:function(F,A,G){return arguments.length===0?this.unbind("live"):this.die(A,null,G,F)},trigger:function(F,A){return this.each(function(){AF.event.trigger(F,A,this)})},triggerHandler:function(F,A){if(this[0]){F=AF.Event(F);F.preventDefault();F.stopPropagation();AF.event.trigger(F,A,this[0]);return F.result}},toggle:function(F){for(var A=arguments,G=1;G<A.length;){AF.proxy(F,A[G++])}return this.click(AF.proxy(F,function(J){var K=(AF.data(this,"lastToggle"+F.guid)||0)%G;AF.data(this,"lastToggle"+F.guid,K+1);J.preventDefault();return A[K].apply(this,arguments)||false}))},hover:function(F,A){return this.mouseenter(F).mouseleave(A||F)}});var BE={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};AF.each(["live","die"],function(F,A){AF.fn[A]=function(R,P,Q,N){var O,J=0,L,K,G=N||this.selector,T=N?this:AF(this.context);if(AF.isFunction(P)){Q=P;P=v}for(R=(R||"").split(" ");(O=R[J++])!=null;){N=AW.exec(O);L="";if(N){L=N[0];O=O.replace(AW,"")}if(O==="hover"){R.push("mouseenter"+L,"mouseleave"+L)}else{K=O;if(O==="focus"||O==="blur"){R.push(BE[O]+L);O+=L}else{O=(BE[O]||O)+L}A==="live"?T.each(function(){AF.event.add(this,o(O,G),{data:P,selector:G,handler:Q,origType:O,origHandler:Q,preType:K})}):T.unbind(o(O,G),Q)}}return this}});AF.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(F,A){AF.fn[A]=function(G){return G?this.bind(A,G):this.trigger(A)};if(AF.attrFn){AF.attrFn[A]=true}});An.attachEvent&&!An.addEventListener&&An.attachEvent("onunload",function(){for(var F in AF.cache){if(AF.cache[F].handle){try{AF.event.remove(AF.cache[F].handle.elem)}catch(A){}}}});(function(){function Z(Ab){for(var Aa="",w,s=0;Ab[s];s++){w=Ab[s];if(w.nodeType===3||w.nodeType===4){Aa+=w.nodeValue}else{if(w.nodeType!==8){Aa+=Z(w.childNodes)}}}return Aa}function Y(BJ,BI,Ab,Aa,s,w){s=0;for(var BL=Aa.length;s<BL;s++){var BM=Aa[s];if(BM){BM=BM[BJ];for(var BK=false;BM;){if(BM.sizcache===Ab){BK=Aa[BM.sizset];break}if(BM.nodeType===1&&!w){BM.sizcache=Ab;BM.sizset=s}if(BM.nodeName.toLowerCase()===BI){BK=BM;break}BM=BM[BJ]}Aa[s]=BK}}}function X(BJ,BI,Ab,Aa,s,w){s=0;for(var BL=Aa.length;s<BL;s++){var BM=Aa[s];if(BM){BM=BM[BJ];for(var BK=false;BM;){if(BM.sizcache===Ab){BK=Aa[BM.sizset];break}if(BM.nodeType===1){if(!w){BM.sizcache=Ab;BM.sizset=s}if(typeof BI!=="string"){if(BM===BI){BK=true;break}}else{if(Q.filter(BI,[BM]).length>0){BK=BM;break}}}BM=BM[BJ]}Aa[s]=BK}}}var V=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,W=0,R=Object.prototype.toString,T=false,O=true;[0,0].sort(function(){O=false;return 0});var Q=function(BL,BK,BI,Ab){BI=BI||[];var w=BK=BK||x;if(BK.nodeType!==1&&BK.nodeType!==9){return[]}if(!BL||typeof BL!=="string"){return BI}for(var Aa=[],BQ,BR,BN,BJ,BP=true,BM=F(BK),BO=BL;(V.exec(""),BQ=V.exec(BO))!==null;){BO=BQ[3];Aa.push(BQ[1]);if(BQ[2]){BJ=BQ[3];break}}if(Aa.length>1&&L.exec(BL)){if(Aa.length===2&&P.relative[Aa[0]]){BR=c(Aa[0]+Aa[1],BK)}else{for(BR=P.relative[Aa[0]]?[BK]:Q(Aa.shift(),BK);Aa.length;){BL=Aa.shift();if(P.relative[BL]){BL+=Aa.shift()}BR=c(BL,BR)}}}else{if(!Ab&&Aa.length>1&&BK.nodeType===9&&!BM&&P.match.ID.test(Aa[0])&&!P.match.ID.test(Aa[Aa.length-1])){BQ=Q.find(Aa.shift(),BK,BM);BK=BQ.expr?Q.filter(BQ.expr,BQ.set)[0]:BQ.set[0]}if(BK){BQ=Ab?{expr:Aa.pop(),set:A(Ab)}:Q.find(Aa.pop(),Aa.length===1&&(Aa[0]==="~"||Aa[0]==="+")&&BK.parentNode?BK.parentNode:BK,BM);BR=BQ.expr?Q.filter(BQ.expr,BQ.set):BQ.set;if(Aa.length>0){BN=A(BR)}else{BP=false}for(;Aa.length;){var s=Aa.pop();BQ=s;if(P.relative[s]){BQ=Aa.pop()}else{s=""}if(BQ==null){BQ=BK}P.relative[s](BN,BQ,BM)}}else{BN=[]}}BN||(BN=BR);BN||Q.error(s||BL);if(R.call(BN)==="[object Array]"){if(BP){if(BK&&BK.nodeType===1){for(BL=0;BN[BL]!=null;BL++){if(BN[BL]&&(BN[BL]===true||BN[BL].nodeType===1&&J(BK,BN[BL]))){BI.push(BR[BL])}}}else{for(BL=0;BN[BL]!=null;BL++){BN[BL]&&BN[BL].nodeType===1&&BI.push(BR[BL])}}}else{BI.push.apply(BI,BN)}}else{A(BN,BI)}if(BJ){Q(BJ,w,BI,Ab);Q.uniqueSort(BI)}return BI};Q.uniqueSort=function(w){if(N){T=O;w.sort(N);if(T){for(var s=1;s<w.length;s++){w[s]===w[s-1]&&w.splice(s--,1)}}}return w};Q.matches=function(w,s){return Q(w,null,null,s)};Q.find=function(BJ,BI,Ab){var Aa,s;if(!BJ){return[]}for(var w=0,BL=P.order.length;w<BL;w++){var BM=P.order[w];if(s=P.leftMatch[BM].exec(BJ)){var BK=s[1];s.splice(1,1);if(BK.substr(BK.length-1)!=="\\"){s[1]=(s[1]||"").replace(/\\/g,"");Aa=P.find[BM](s,BI,Ab);if(Aa!=null){BJ=BJ.replace(P.match[BM],"");break}}}}Aa||(Aa=BI.getElementsByTagName("*"));return{set:Aa,expr:BJ}};Q.filter=function(BM,BL,BJ,Ab){for(var w=BM,Aa=[],BS=BL,BT,BP,BK=BL&&BL[0]&&F(BL[0]);BM&&BL.length;){for(var BR in P.filter){if((BT=P.leftMatch[BR].exec(BM))!=null&&BT[2]){var BN=P.filter[BR],BQ,s;s=BT[1];BP=false;BT.splice(1,1);if(s.substr(s.length-1)!=="\\"){if(BS===Aa){Aa=[]}if(P.preFilter[BR]){if(BT=P.preFilter[BR](BT,BS,BJ,Aa,Ab,BK)){if(BT===true){continue}}else{BP=BQ=true}}if(BT){for(var BI=0;(s=BS[BI])!=null;BI++){if(s){BQ=BN(s,BT,BI,BS);var BO=Ab^!!BQ;if(BJ&&BQ!=null){if(BO){BP=true}else{BS[BI]=false}}else{if(BO){Aa.push(s);BP=true}}}}}if(BQ!==v){BJ||(BS=Aa);BM=BM.replace(P.match[BR],"");if(!BP){return[]}break}}}}if(BM===w){if(BP==null){Q.error(BM)}else{break}}w=BM}return BS};Q.error=function(s){throw"Syntax error, unrecognized expression: "+s};var P=Q.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(s){return s.getAttribute("href")}},relative:{"+":function(Ab,Aa){var w=typeof Aa==="string",s=w&&!/\W/.test(Aa);w=w&&!s;if(s){Aa=Aa.toLowerCase()}s=0;for(var BI=Ab.length,BJ;s<BI;s++){if(BJ=Ab[s]){for(;(BJ=BJ.previousSibling)&&BJ.nodeType!==1;){}Ab[s]=w||BJ&&BJ.nodeName.toLowerCase()===Aa?BJ||false:BJ===Aa}}w&&Q.filter(Aa,Ab,true)},">":function(Ab,Aa){var w=typeof Aa==="string";if(w&&!/\W/.test(Aa)){Aa=Aa.toLowerCase();for(var s=0,BI=Ab.length;s<BI;s++){var BJ=Ab[s];if(BJ){w=BJ.parentNode;Ab[s]=w.nodeName.toLowerCase()===Aa?w:false}}}else{s=0;for(BI=Ab.length;s<BI;s++){if(BJ=Ab[s]){Ab[s]=w?BJ.parentNode:BJ.parentNode===Aa}}w&&Q.filter(Aa,Ab,true)}},"":function(Ab,Aa,w){var s=W++,BI=X;if(typeof Aa==="string"&&!/\W/.test(Aa)){var BJ=Aa=Aa.toLowerCase();BI=Y}BI("parentNode",Aa,s,Ab,BJ,w)},"~":function(Ab,Aa,w){var s=W++,BI=X;if(typeof Aa==="string"&&!/\W/.test(Aa)){var BJ=Aa=Aa.toLowerCase();BI=Y}BI("previousSibling",Aa,s,Ab,BJ,w)}},find:{ID:function(Aa,w,s){if(typeof w.getElementById!=="undefined"&&!s){return(Aa=w.getElementById(Aa[1]))?[Aa]:[]}},NAME:function(Ab,Aa){if(typeof Aa.getElementsByName!=="undefined"){var w=[];Aa=Aa.getElementsByName(Ab[1]);for(var s=0,BI=Aa.length;s<BI;s++){Aa[s].getAttribute("name")===Ab[1]&&w.push(Aa[s])}return w.length===0?null:w}},TAG:function(w,s){return s.getElementsByTagName(w[1])}},preFilter:{CLASS:function(BI,Ab,w,s,BJ,BK){BI=" "+BI[1].replace(/\\/g,"")+" ";if(BK){return BI}BK=0;for(var Aa;(Aa=Ab[BK])!=null;BK++){if(Aa){if(BJ^(Aa.className&&(" "+Aa.className+" ").replace(/[\t\n]/g," ").indexOf(BI)>=0)){w||s.push(Aa)}else{if(w){Ab[BK]=false}}}}return false},ID:function(s){return s[1].replace(/\\/g,"")},TAG:function(s){return s[1].toLowerCase()},CHILD:function(w){if(w[1]==="nth"){var s=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(w[2]==="even"&&"2n"||w[2]==="odd"&&"2n+1"||!/\D/.test(w[2])&&"0n+"+w[2]||w[2]);w[2]=s[1]+(s[2]||1)-0;w[3]=s[3]-0}w[0]=W++;return w},ATTR:function(Ab,Aa,w,s,BI,BJ){Aa=Ab[1].replace(/\\/g,"");if(!BJ&&P.attrMap[Aa]){Ab[1]=P.attrMap[Aa]}if(Ab[2]==="~="){Ab[4]=" "+Ab[4]+" "}return Ab},PSEUDO:function(Ab,Aa,w,s,BI){if(Ab[1]==="not"){if((V.exec(Ab[3])||"").length>1||/^\w/.test(Ab[3])){Ab[3]=Q(Ab[3],null,null,Aa)}else{Ab=Q.filter(Ab[3],Aa,w,true^BI);w||s.push.apply(s,Ab);return false}}else{if(P.match.POS.test(Ab[0])||P.match.CHILD.test(Ab[0])){return true}}return Ab},POS:function(s){s.unshift(true);return s}},filters:{enabled:function(s){return s.disabled===false&&s.type!=="hidden"},disabled:function(s){return s.disabled===true},checked:function(s){return s.checked===true},selected:function(s){return s.selected===true},parent:function(s){return !!s.firstChild},empty:function(s){return !s.firstChild},has:function(Aa,w,s){return !!Q(s[3],Aa).length},header:function(s){return/h\d/i.test(s.nodeName)},text:function(s){return"text"===s.type},radio:function(s){return"radio"===s.type},checkbox:function(s){return"checkbox"===s.type},file:function(s){return"file"===s.type},password:function(s){return"password"===s.type},submit:function(s){return"submit"===s.type},image:function(s){return"image"===s.type},reset:function(s){return"reset"===s.type},button:function(s){return"button"===s.type||s.nodeName.toLowerCase()==="button"},input:function(s){return/input|select|textarea|button/i.test(s.nodeName)}},setFilters:{first:function(w,s){return s===0},last:function(Ab,Aa,w,s){return Aa===s.length-1},even:function(w,s){return s%2===0},odd:function(w,s){return s%2===1},lt:function(Aa,w,s){return w<s[3]-0},gt:function(Aa,w,s){return w>s[3]-0},nth:function(Aa,w,s){return s[3]-0===w},eq:function(Aa,w,s){return s[3]-0===w}},filter:{PSEUDO:function(Ab,Aa,w,s){var BI=Aa[1],BJ=P.filters[BI];if(BJ){return BJ(Ab,w,Aa,s)}else{if(BI==="contains"){return(Ab.textContent||Ab.innerText||Z([Ab])||"").indexOf(Aa[3])>=0}else{if(BI==="not"){Aa=Aa[3];w=0;for(s=Aa.length;w<s;w++){if(Aa[w]===Ab){return false}}return true}else{Q.error("Syntax error, unrecognized expression: "+BI)}}}},CHILD:function(BI,Ab){var w=Ab[1],s=BI;switch(w){case"only":case"first":for(;s=s.previousSibling;){if(s.nodeType===1){return false}}if(w==="first"){return true}s=BI;case"last":for(;s=s.nextSibling;){if(s.nodeType===1){return false}}return true;case"nth":w=Ab[2];var BJ=Ab[3];if(w===1&&BJ===0){return true}Ab=Ab[0];var BK=BI.parentNode;if(BK&&(BK.sizcache!==Ab||!BI.nodeIndex)){var Aa=0;for(s=BK.firstChild;s;s=s.nextSibling){if(s.nodeType===1){s.nodeIndex=++Aa}}BK.sizcache=Ab}BI=BI.nodeIndex-BJ;return w===0?BI===0:BI%w===0&&BI/w>=0}},ID:function(w,s){return w.nodeType===1&&w.getAttribute("id")===s},TAG:function(w,s){return s==="*"&&w.nodeType===1||w.nodeName.toLowerCase()===s},CLASS:function(w,s){return(" "+(w.className||w.getAttribute("class"))+" ").indexOf(s)>-1},ATTR:function(Ab,Aa){var w=Aa[1];Ab=P.attrHandle[w]?P.attrHandle[w](Ab):Ab[w]!=null?Ab[w]:Ab.getAttribute(w);w=Ab+"";var s=Aa[2];Aa=Aa[4];return Ab==null?s==="!=":s==="="?w===Aa:s==="*="?w.indexOf(Aa)>=0:s==="~="?(" "+w+" ").indexOf(Aa)>=0:!Aa?w&&Ab!==false:s==="!="?w!==Aa:s==="^="?w.indexOf(Aa)===0:s==="$="?w.substr(w.length-Aa.length)===Aa:s==="|="?w===Aa||w.substr(0,Aa.length+1)===Aa+"-":false},POS:function(Ab,Aa,w,s){var BI=P.setFilters[Aa[2]];if(BI){return BI(Ab,w,Aa,s)}}}},L=P.match.POS;for(var G in P.match){P.match[G]=new RegExp(P.match[G].source+/(?![^\[]*\])(?![^\(]*\))/.source);P.leftMatch[G]=new RegExp(/(^(?:.|\r|\n)*?)/.source+P.match[G].source.replace(/\\(\d+)/g,function(w,s){return"\\"+(s-0+1)}))}var A=function(w,s){w=Array.prototype.slice.call(w,0);if(s){s.push.apply(s,w);return s}return w};try{Array.prototype.slice.call(x.documentElement.childNodes,0)}catch(K){A=function(Ab,Aa){Aa=Aa||[];if(R.call(Ab)==="[object Array]"){Array.prototype.push.apply(Aa,Ab)}else{if(typeof Ab.length==="number"){for(var w=0,s=Ab.length;w<s;w++){Aa.push(Ab[w])}}else{for(w=0;Ab[w];w++){Aa.push(Ab[w])}}}return Aa}}var N;if(x.documentElement.compareDocumentPosition){N=function(w,s){if(!w.compareDocumentPosition||!s.compareDocumentPosition){if(w==s){T=true}return w.compareDocumentPosition?-1:1}w=w.compareDocumentPosition(s)&4?-1:w===s?0:1;if(w===0){T=true}return w}}else{if("sourceIndex" in x.documentElement){N=function(w,s){if(!w.sourceIndex||!s.sourceIndex){if(w==s){T=true}return w.sourceIndex?-1:1}w=w.sourceIndex-s.sourceIndex;if(w===0){T=true}return w}}else{if(x.createRange){N=function(Ab,Aa){if(!Ab.ownerDocument||!Aa.ownerDocument){if(Ab==Aa){T=true}return Ab.ownerDocument?-1:1}var w=Ab.ownerDocument.createRange(),s=Aa.ownerDocument.createRange();w.setStart(Ab,0);w.setEnd(Ab,0);s.setStart(Aa,0);s.setEnd(Aa,0);Ab=w.compareBoundaryPoints(Range.START_TO_END,s);if(Ab===0){T=true}return Ab}}}}(function(){var Aa=x.createElement("div"),w="script"+(new Date).getTime();Aa.innerHTML="<a name='"+w+"'/>";var s=x.documentElement;s.insertBefore(Aa,s.firstChild);if(x.getElementById(w)){P.find.ID=function(Ab,BI,BJ){if(typeof BI.getElementById!=="undefined"&&!BJ){return(BI=BI.getElementById(Ab[1]))?BI.id===Ab[1]||typeof BI.getAttributeNode!=="undefined"&&BI.getAttributeNode("id").nodeValue===Ab[1]?[BI]:v:[]}};P.filter.ID=function(Ab,BI){var BJ=typeof Ab.getAttributeNode!=="undefined"&&Ab.getAttributeNode("id");return Ab.nodeType===1&&BJ&&BJ.nodeValue===BI}}s.removeChild(Aa);s=Aa=null})();(function(){var s=x.createElement("div");s.appendChild(x.createComment(""));if(s.getElementsByTagName("*").length>0){P.find.TAG=function(Ab,Aa){Aa=Aa.getElementsByTagName(Ab[1]);if(Ab[1]==="*"){Ab=[];for(var w=0;Aa[w];w++){Aa[w].nodeType===1&&Ab.push(Aa[w])}Aa=Ab}return Aa}}s.innerHTML="<a href='#'></a>";if(s.firstChild&&typeof s.firstChild.getAttribute!=="undefined"&&s.firstChild.getAttribute("href")!=="#"){P.attrHandle.href=function(w){return w.getAttribute("href",2)}}s=null})();x.querySelectorAll&&function(){var Aa=Q,w=x.createElement("div");w.innerHTML="<p class='TEST'></p>";if(!(w.querySelectorAll&&w.querySelectorAll(".TEST").length===0)){Q=function(Ab,BK,BL,BI){BK=BK||x;if(!BI&&BK.nodeType===9&&!F(BK)){try{return A(BK.querySelectorAll(Ab),BL)}catch(BJ){}}return Aa(Ab,BK,BL,BI)};for(var s in Aa){Q[s]=Aa[s]}w=null}}();(function(){var s=x.createElement("div");s.innerHTML="<div class='test e'></div><div class='test'></div>";if(!(!s.getElementsByClassName||s.getElementsByClassName("e").length===0)){s.lastChild.className="e";if(s.getElementsByClassName("e").length!==1){P.order.splice(1,0,"CLASS");P.find.CLASS=function(Ab,Aa,w){if(typeof Aa.getElementsByClassName!=="undefined"&&!w){return Aa.getElementsByClassName(Ab[1])}};s=null}}})();var J=x.compareDocumentPosition?function(w,s){return !!(w.compareDocumentPosition(s)&16)}:function(w,s){return w!==s&&(w.contains?w.contains(s):true)},F=function(s){return(s=(s?s.ownerDocument||s:0).documentElement)?s.nodeName!=="HTML":false},c=function(Ab,Aa){var w=[],s="",BI;for(Aa=Aa.nodeType?[Aa]:Aa;BI=P.match.PSEUDO.exec(Ab);){s+=BI[0];Ab=Ab.replace(P.match.PSEUDO,"")}Ab=P.relative[Ab]?Ab+"*":Ab;BI=0;for(var BJ=Aa.length;BI<BJ;BI++){Q(Ab,Aa[BI],w)}return Q.filter(s,w)};AF.find=Q;AF.expr=Q.selectors;AF.expr[":"]=AF.expr.filters;AF.unique=Q.uniqueSort;AF.text=Z;AF.isXMLDoc=F;AF.contains=J})();var H=/Until$/,A8=/^(?:parents|prevUntil|prevAll)/,Av=/,/;AR=Array.prototype.slice;var Ak=function(F,A,J){if(AF.isFunction(A)){return AF.grep(F,function(L,K){return !!A.call(L,K,L)===J})}else{if(A.nodeType){return AF.grep(F,function(K){return K===A===J})}else{if(typeof A==="string"){var G=AF.grep(F,function(K){return K.nodeType===1});if(As.test(A)){return AF.filter(A,G,!J)}else{A=AF.filter(A,G)}}}}return AF.grep(F,function(K){return AF.inArray(K,A)>=0===J})};AF.fn.extend({find:function(F){for(var A=this.pushStack("","find",F),N=0,K=0,L=this.length;K<L;K++){N=A.length;AF.find(F,this[K],A);if(K>0){for(var G=N;G<A.length;G++){for(var J=0;J<N;J++){if(A[J]===A[G]){A.splice(G--,1);break}}}}}return A},has:function(F){var A=AF(F);return this.filter(function(){for(var J=0,G=A.length;J<G;J++){if(AF.contains(this,A[J])){return true}}})},not:function(A){return this.pushStack(Ak(this,A,false),"not",A)},filter:function(A){return this.pushStack(Ak(this,A,true),"filter",A)},is:function(A){return !!A&&AF.filter(A,this).length>0},closest:function(P,O){if(AF.isArray(P)){var N=[],K=this[0],L,G={},J;if(K&&P.length){L=0;for(var A=P.length;L<A;L++){J=P[L];G[J]||(G[J]=AF.expr.match.POS.test(J)?AF(J,O||this.context):J)}for(;K&&K.ownerDocument&&K!==O;){for(J in G){L=G[J];if(L.jquery?L.index(K)>-1:AF(K).is(L)){N.push({selector:J,elem:K});delete G[J]}}K=K.parentNode}}return N}var F=AF.expr.match.POS.test(P)?AF(P,O||this.context):null;return this.map(function(R,Q){for(;Q&&Q.ownerDocument&&Q!==O;){if(F?F.index(Q)>-1:AF(Q).is(P)){return Q}Q=Q.parentNode}return null})},index:function(A){if(!A||typeof A==="string"){return AF.inArray(this[0],A?AF(A):this.parent().children())}return AF.inArray(A.jquery?A[0]:A,this)},add:function(F,A){F=typeof F==="string"?AF(F,A||this.context):AF.makeArray(F);A=AF.merge(this.get(),F);return this.pushStack(b(F[0])||b(A[0])?A:AF.unique(A))},andSelf:function(){return this.add(this.prevObject)}});AF.each({parent:function(A){return(A=A.parentNode)&&A.nodeType!==11?A:null},parents:function(A){return AF.dir(A,"parentNode")},parentsUntil:function(F,A,G){return AF.dir(F,"parentNode",G)},next:function(A){return AF.nth(A,2,"nextSibling")},prev:function(A){return AF.nth(A,2,"previousSibling")},nextAll:function(A){return AF.dir(A,"nextSibling")},prevAll:function(A){return AF.dir(A,"previousSibling")},nextUntil:function(F,A,G){return AF.dir(F,"nextSibling",G)},prevUntil:function(F,A,G){return AF.dir(F,"previousSibling",G)},siblings:function(A){return AF.sibling(A.parentNode.firstChild,A)},children:function(A){return AF.sibling(A.firstChild)},contents:function(A){return AF.nodeName(A,"iframe")?A.contentDocument||A.contentWindow.document:AF.makeArray(A.childNodes)}},function(F,A){AF.fn[F]=function(K,G){var J=AF.map(this,A,K);H.test(F)||(G=K);if(G&&typeof G==="string"){J=AF.filter(G,J)}J=this.length>1?AF.unique(J):J;if((this.length>1||Av.test(G))&&A8.test(F)){J=J.reverse()}return this.pushStack(J,F,AR.call(arguments).join(","))}});AF.extend({filter:function(F,A,G){if(G){F=":not("+F+")"}return AF.find.matches(F,A)},dir:function(F,A,J){var G=[];for(F=F[A];F&&F.nodeType!==9&&(J===v||F.nodeType!==1||!AF(F).is(J));){F.nodeType===1&&G.push(F);F=F[A]}return G},nth:function(F,A,J){A=A||1;for(var G=0;F;F=F[J]){if(F.nodeType===1&&++G===A){break}}return F},sibling:function(F,A){for(var G=[];F;F=F.nextSibling){F.nodeType===1&&F!==A&&G.push(F)}return G}});var AG=/ jQuery\d+="(?:\d+|null)"/g,AP=/^\s+/,p=/(<([\w:]+)[^>]*?)\/>/g,Ac=/^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i,d=/<([\w:]+)/,AA=/<tbody/i,k=/<|&#?\w+;/,Ao=/<script|<object|<embed|<option|<style/i,AI=/checked\s*(?:[^=]|=\s*.checked.)/i,BH=function(F,A,G){return Ac.test(G)?F:A+"></"+G+">"},Ai={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,"",""]};Ai.optgroup=Ai.option;Ai.tbody=Ai.tfoot=Ai.colgroup=Ai.caption=Ai.thead;Ai.th=Ai.td;if(!AF.support.htmlSerialize){Ai._default=[1,"div<div>","</div>"]}AF.fn.extend({text:function(A){if(AF.isFunction(A)){return this.each(function(F){var G=AF(this);G.text(A.call(this,F,G.text()))})}if(typeof A!=="object"&&A!==v){return this.empty().append((this[0]&&this[0].ownerDocument||x).createTextNode(A))}return AF.text(this)},wrapAll:function(F){if(AF.isFunction(F)){return this.each(function(G){AF(this).wrapAll(F.call(this,G))})}if(this[0]){var A=AF(F,this[0].ownerDocument).eq(0).clone(true);this[0].parentNode&&A.insertBefore(this[0]);A.map(function(){for(var G=this;G.firstChild&&G.firstChild.nodeType===1;){G=G.firstChild}return G}).append(this)}return this},wrapInner:function(A){if(AF.isFunction(A)){return this.each(function(F){AF(this).wrapInner(A.call(this,F))})}return this.each(function(){var F=AF(this),G=F.contents();G.length?G.wrapAll(A):F.append(A)})},wrap:function(A){return this.each(function(){AF(this).wrapAll(A)})},unwrap:function(){return this.parent().each(function(){AF.nodeName(this,"body")||AF(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,true,function(A){this.nodeType===1&&this.appendChild(A)})},prepend:function(){return this.domManip(arguments,true,function(A){this.nodeType===1&&this.insertBefore(A,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(F){this.parentNode.insertBefore(F,this)})}else{if(arguments.length){var A=AF(arguments[0]);A.push.apply(A,this.toArray());return this.pushStack(A,"before",arguments)}}},after:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(F){this.parentNode.insertBefore(F,this.nextSibling)})}else{if(arguments.length){var A=this.pushStack(this,"after",arguments);A.push.apply(A,AF(arguments[0]).toArray());return A}}},remove:function(F,A){for(var J=0,G;(G=this[J])!=null;J++){if(!F||AF.filter(F,[G]).length){if(!A&&G.nodeType===1){AF.cleanData(G.getElementsByTagName("*"));AF.cleanData([G])}G.parentNode&&G.parentNode.removeChild(G)}}return this},empty:function(){for(var F=0,A;(A=this[F])!=null;F++){for(A.nodeType===1&&AF.cleanData(A.getElementsByTagName("*"));A.firstChild;){A.removeChild(A.firstChild)}}return this},clone:function(F){var A=this.map(function(){if(!AF.support.noCloneEvent&&!AF.isXMLDoc(this)){var J=this.outerHTML,G=this.ownerDocument;if(!J){J=G.createElement("div");J.appendChild(this.cloneNode(true));J=J.innerHTML}return AF.clean([J.replace(AG,"").replace(/=([^="'>\s]+\/)>/g,'="$1">').replace(AP,"")],G)[0]}else{return this.cloneNode(true)}});if(F===true){BG(this,A);BG(this.find("*"),A.find("*"))}return A},html:function(F){if(F===v){return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(AG,""):null}else{if(typeof F==="string"&&!Ao.test(F)&&(AF.support.leadingWhitespace||!AP.test(F))&&!Ai[(d.exec(F)||["",""])[1].toLowerCase()]){F=F.replace(p,BH);try{for(var A=0,J=this.length;A<J;A++){if(this[A].nodeType===1){AF.cleanData(this[A].getElementsByTagName("*"));this[A].innerHTML=F}}}catch(G){this.empty().append(F)}}else{AF.isFunction(F)?this.each(function(N){var K=AF(this),L=K.html();K.empty().append(function(){return F.call(this,N,L)})}):this.empty().append(F)}}return this},replaceWith:function(A){if(this[0]&&this[0].parentNode){if(AF.isFunction(A)){return this.each(function(F){var J=AF(this),G=J.html();J.replaceWith(A.call(this,F,G))})}if(typeof A!=="string"){A=AF(A).detach()}return this.each(function(){var F=this.nextSibling,G=this.parentNode;AF(this).remove();F?AF(F).before(A):AF(G).append(A)})}else{return this.pushStack(AF(AF.isFunction(A)?A():A),"replaceWith",A)}},detach:function(A){return this.remove(A,true)},domManip:function(R,Q,P){function N(T){return AF.nodeName(T,"table")?T.getElementsByTagName("tbody")[0]||T.appendChild(T.ownerDocument.createElement("tbody")):T}var O,K,L=R[0],F=[],J;if(!AF.support.checkClone&&arguments.length===3&&typeof L==="string"&&AI.test(L)){return this.each(function(){AF(this).domManip(R,Q,P,true)})}if(AF.isFunction(L)){return this.each(function(T){var V=AF(this);R[0]=L.call(this,T,Q?V.html():v);V.domManip(R,Q,P)})}if(this[0]){O=L&&L.parentNode;O=AF.support.parentNode&&O&&O.nodeType===11&&O.childNodes.length===this.length?{fragment:O}:A2(R,this,F);J=O.fragment;if(K=J.childNodes.length===1?(J=J.firstChild):J.firstChild){Q=Q&&AF.nodeName(K,"tr");for(var G=0,A=this.length;G<A;G++){P.call(Q?N(this[G],K):this[G],G>0||O.cacheable||this.length>1?J.cloneNode(true):J)}}F.length&&AF.each(F,t)}return this}});AF.fragments={};AF.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(F,A){AF.fn[F]=function(N){var K=[];N=AF(N);var L=this.length===1&&this[0].parentNode;if(L&&L.nodeType===11&&L.childNodes.length===1&&N.length===1){N[A](this[0]);return this}else{L=0;for(var G=N.length;L<G;L++){var J=(L>0?this.clone(true):this).get();AF.fn[A].apply(AF(N[L]),J);K=K.concat(J)}return this.pushStack(K,F,N.selector)}}});AF.extend({clean:function(R,Q,P,N){Q=Q||x;if(typeof Q.createElement==="undefined"){Q=Q.ownerDocument||Q[0]&&Q[0].ownerDocument||x}for(var O=[],K=0,L;(L=R[K])!=null;K++){if(typeof L==="number"){L+=""}if(L){if(typeof L==="string"&&!k.test(L)){L=Q.createTextNode(L)}else{if(typeof L==="string"){L=L.replace(p,BH);var F=(d.exec(L)||["",""])[1].toLowerCase(),J=Ai[F]||Ai._default,G=J[0],A=Q.createElement("div");for(A.innerHTML=J[1]+L+J[2];G--;){A=A.lastChild}if(!AF.support.tbody){G=AA.test(L);F=F==="table"&&!G?A.firstChild&&A.firstChild.childNodes:J[1]==="<table>"&&!G?A.childNodes:[];for(J=F.length-1;J>=0;--J){AF.nodeName(F[J],"tbody")&&!F[J].childNodes.length&&F[J].parentNode.removeChild(F[J])}}!AF.support.leadingWhitespace&&AP.test(L)&&A.insertBefore(Q.createTextNode(AP.exec(L)[0]),A.firstChild);L=A.childNodes}}if(L.nodeType){O.push(L)}else{O=AF.merge(O,L)}}}if(P){for(K=0;O[K];K++){if(N&&AF.nodeName(O[K],"script")&&(!O[K].type||O[K].type.toLowerCase()==="text/javascript")){N.push(O[K].parentNode?O[K].parentNode.removeChild(O[K]):O[K])}else{O[K].nodeType===1&&O.splice.apply(O,[K+1,0].concat(AF.makeArray(O[K].getElementsByTagName("script"))));P.appendChild(O[K])}}}return O},cleanData:function(P){for(var O,N,K=AF.cache,L=AF.event.special,G=AF.support.deleteExpando,J=0,A;(A=P[J])!=null;J++){if(N=A[AF.expando]){O=K[N];if(O.events){for(var F in O.events){L[F]?AF.event.remove(A,F):Af(A,F,O.handle)}}if(G){delete A[AF.expando]}else{A.removeAttribute&&A.removeAttribute(AF.expando)}delete K[N]}}}});var M=/z-?index|font-?weight|opacity|zoom|line-?height/i,A3=/alpha\([^)]*\)/,Ap=/opacity=([^)]*)/,Ad=/float/i,AB=/-([a-z])/ig,BC=/([A-Z])/g,Ay=/^-?\d+(?:px)?$/i,Ah=/^-?\d/,AD={position:"absolute",visibility:"hidden",display:"block"},n=["Left","Right"],a=["Top","Bottom"],BF=x.defaultView&&x.defaultView.getComputedStyle,AJ=AF.support.cssFloat?"cssFloat":"styleFloat",l=function(F,A){return A.toUpperCase()};AF.fn.css=function(F,A){return AN(this,F,A,true,function(K,G,J){if(J===v){return AF.curCSS(K,G)}if(typeof J==="number"&&!M.test(G)){J+="px"}AF.style(K,G,J)})};AF.extend({style:function(F,A,K){if(!F||F.nodeType===3||F.nodeType===8){return v}if((A==="width"||A==="height")&&parseFloat(K)<0){K=v}var G=F.style||F,J=K!==v;if(!AF.support.opacity&&A==="opacity"){if(J){G.zoom=1;A=parseInt(K,10)+""==="NaN"?"":"alpha(opacity="+K*100+")";F=G.filter||AF.curCSS(F,"filter")||"";G.filter=A3.test(F)?F.replace(A3,A):A}return G.filter&&G.filter.indexOf("opacity=")>=0?parseFloat(Ap.exec(G.filter)[1])/100+"":""}if(Ad.test(A)){A=AJ}A=A.replace(AB,l);if(J){G[A]=K}return G[A]},css:function(F,A,N,K){if(A==="width"||A==="height"){var L,G=A==="width"?n:a;function J(){L=A==="width"?F.offsetWidth:F.offsetHeight;K!=="border"&&AF.each(G,function(){K||(L-=parseFloat(AF.curCSS(F,"padding"+this,true))||0);if(K==="margin"){L+=parseFloat(AF.curCSS(F,"margin"+this,true))||0}else{L-=parseFloat(AF.curCSS(F,"border"+this+"Width",true))||0}})}F.offsetWidth!==0?J():AF.swap(F,AD,J);return Math.max(0,Math.round(L))}return AF.curCSS(F,A,N)},curCSS:function(F,A,L){var J,K=F.style;if(!AF.support.opacity&&A==="opacity"&&F.currentStyle){J=Ap.test(F.currentStyle.filter||"")?parseFloat(RegExp.$1)/100+"":"";return J===""?"1":J}if(Ad.test(A)){A=AJ}if(!L&&K&&K[A]){J=K[A]}else{if(BF){if(Ad.test(A)){A="float"}A=A.replace(BC,"-$1").toLowerCase();K=F.ownerDocument.defaultView;if(!K){return null}if(F=K.getComputedStyle(F,null)){J=F.getPropertyValue(A)}if(A==="opacity"&&J===""){J="1"}}else{if(F.currentStyle){L=A.replace(AB,l);J=F.currentStyle[A]||F.currentStyle[L];if(!Ay.test(J)&&Ah.test(J)){A=K.left;var G=F.runtimeStyle.left;F.runtimeStyle.left=F.currentStyle.left;K.left=L==="fontSize"?"1em":J||0;J=K.pixelLeft+"px";K.left=A;F.runtimeStyle.left=G}}}}return J},swap:function(F,A,K){var G={};for(var J in A){G[J]=F.style[J];F.style[J]=A[J]}K.call(F);for(J in A){F.style[J]=G[J]}}});if(AF.expr&&AF.expr.filters){AF.expr.filters.hidden=function(F){var A=F.offsetWidth,J=F.offsetHeight,G=F.nodeName.toLowerCase()==="tr";return A===0&&J===0&&!G?true:A>0&&J>0&&!G?false:AF.curCSS(F,"display")==="none"};AF.expr.filters.visible=function(A){return !AF.expr.filters.hidden(A)}}var A1=Ae(),Am=/<script(.|\s)*?\/script>/gi,AH=/select|textarea/i,q=/color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week/i,AX=/=\?(&|$)/,S=/\?/,e=/(\?|&)_=.*?(&|$)/,B=/^(\w+:)?\/\/([^\/?#]+)/,A4=/%20/g,Aq=AF.fn.load;AF.fn.extend({load:function(F,A,L){if(typeof F!=="string"){return Aq.call(this,F)}else{if(!this.length){return this}}var J=F.indexOf(" ");if(J>=0){var K=F.slice(J,F.length);F=F.slice(0,J)}J="GET";if(A){if(AF.isFunction(A)){L=A;A=null}else{if(typeof A==="object"){A=AF.param(A,AF.ajaxSettings.traditional);J="POST"}}}var G=this;AF.ajax({url:F,type:J,dataType:"html",data:A,complete:function(N,O){if(O==="success"||O==="notmodified"){G.html(K?AF("<div />").append(N.responseText.replace(Am,"")).find(K):N.responseText)}L&&G.each(L,[N.responseText,O,N])}});return this},serialize:function(){return AF.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?AF.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||AH.test(this.nodeName)||q.test(this.type))}).map(function(F,A){F=AF(this).val();return F==null?null:AF.isArray(F)?AF.map(F,function(G){return{name:A.name,value:G}}):{name:A.name,value:F}}).get()}});AF.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(F,A){AF.fn[A]=function(G){return this.bind(A,G)}});AF.extend({get:function(F,A,J,G){if(AF.isFunction(A)){G=G||J;J=A;A=null}return AF.ajax({type:"GET",url:F,data:A,success:J,dataType:G})},getScript:function(F,A){return AF.get(F,null,A,"script")},getJSON:function(F,A,G){return AF.get(F,A,G,"json")},post:function(F,A,J,G){if(AF.isFunction(A)){G=G||J;J=A;A={}}return AF.ajax({type:"POST",url:F,data:A,success:J,dataType:G})},ajaxSetup:function(A){AF.extend(AF.ajaxSettings,A)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:An.XMLHttpRequest&&(An.location.protocol!=="file:"||!An.ActiveXObject)?function(){return new An.XMLHttpRequest}:function(){try{return new An.ActiveXObject("Microsoft.XMLHTTP")}catch(A){}},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},etag:{},ajax:function(Aa){function w(){c.success&&c.success.call(T,O,W,F);c.global&&Z("ajaxSuccess",[F,c])}function s(){c.complete&&c.complete.call(T,F,W);c.global&&Z("ajaxComplete",[F,c]);c.global&&!--AF.active&&AF.event.trigger("ajaxStop")}function Z(BI,BJ){(c.context?AF(c.context):AF.event).trigger(BI,BJ)}var c=AF.extend(true,{},AF.ajaxSettings,Aa),V,W,O,T=Aa&&Aa.context||c,P=c.type.toUpperCase();if(c.data&&c.processData&&typeof c.data!=="string"){c.data=AF.param(c.data,c.traditional)}if(c.dataType==="jsonp"){if(P==="GET"){AX.test(c.url)||(c.url+=(S.test(c.url)?"&":"?")+(c.jsonp||"callback")+"=?")}else{if(!c.data||!AX.test(c.data)){c.data=(c.data?c.data+"&":"")+(c.jsonp||"callback")+"=?"}}c.dataType="json"}if(c.dataType==="json"&&(c.data&&AX.test(c.data)||AX.test(c.url))){V=c.jsonpCallback||"jsonp"+A1++;if(c.data){c.data=(c.data+"").replace(AX,"="+V+"$1")}c.url=c.url.replace(AX,"="+V+"$1");c.dataType="script";An[V]=An[V]||function(BI){O=BI;w();s();An[V]=v;try{delete An[V]}catch(BJ){}A&&A.removeChild(K)}}if(c.dataType==="script"&&c.cache===null){c.cache=false}if(c.cache===false&&P==="GET"){var L=Ae(),G=c.url.replace(e,"$1_="+L+"$2");c.url=G+(G===c.url?(S.test(c.url)?"&":"?")+"_="+L:"")}if(c.data&&P==="GET"){c.url+=(S.test(c.url)?"&":"?")+c.data}c.global&&!AF.active++&&AF.event.trigger("ajaxStart");L=(L=B.exec(c.url))&&(L[1]&&L[1]!==location.protocol||L[2]!==location.host);if(c.dataType==="script"&&P==="GET"&&L){var A=x.getElementsByTagName("head")[0]||x.documentElement,K=x.createElement("script");K.src=c.url;if(c.scriptCharset){K.charset=c.scriptCharset}if(!V){var N=false;K.onload=K.onreadystatechange=function(){if(!N&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){N=true;w();s();K.onload=K.onreadystatechange=null;A&&K.parentNode&&A.removeChild(K)}}}A.insertBefore(K,A.firstChild);return v}var J=false,F=c.xhr();if(F){c.username?F.open(P,c.url,c.async,c.username,c.password):F.open(P,c.url,c.async);try{if(c.data||Aa&&Aa.contentType){F.setRequestHeader("Content-Type",c.contentType)}if(c.ifModified){AF.lastModified[c.url]&&F.setRequestHeader("If-Modified-Since",AF.lastModified[c.url]);AF.etag[c.url]&&F.setRequestHeader("If-None-Match",AF.etag[c.url])}L||F.setRequestHeader("X-Requested-With","XMLHttpRequest");F.setRequestHeader("Accept",c.dataType&&c.accepts[c.dataType]?c.accepts[c.dataType]+", */*":c.accepts._default)}catch(Ab){}if(c.beforeSend&&c.beforeSend.call(T,F,c)===false){c.global&&!--AF.active&&AF.event.trigger("ajaxStop");F.abort();return false}c.global&&Z("ajaxSend",[F,c]);var Y=F.onreadystatechange=function(BJ){if(!F||F.readyState===0||BJ==="abort"){J||s();J=true;if(F){F.onreadystatechange=AF.noop}}else{if(!J&&F&&(F.readyState===4||BJ==="timeout")){J=true;F.onreadystatechange=AF.noop;W=BJ==="timeout"?"timeout":!AF.httpSuccess(F)?"error":c.ifModified&&AF.httpNotModified(F,c.url)?"notmodified":"success";var BK;if(W==="success"){try{O=AF.httpData(F,c.dataType,c)}catch(BI){W="parsererror";BK=BI}}if(W==="success"||W==="notmodified"){V||w()}else{AF.handleError(c,F,W,BK)}s();BJ==="timeout"&&F.abort();if(c.async){F=null}}}};try{var X=F.abort;F.abort=function(){F&&X.call(F);Y("abort")}}catch(R){}c.async&&c.timeout>0&&setTimeout(function(){F&&!J&&Y("timeout")},c.timeout);try{F.send(P==="POST"||P==="PUT"||P==="DELETE"?c.data:null)}catch(Q){AF.handleError(c,F,null,Q);s()}c.async||Y();return F}},handleError:function(F,A,J,G){if(F.error){F.error.call(F.context||F,A,J,G)}if(F.global){(F.context?AF(F.context):AF.event).trigger("ajaxError",[A,F,G])}},active:0,httpSuccess:function(F){try{return !F.status&&location.protocol==="file:"||F.status>=200&&F.status<300||F.status===304||F.status===1223||F.status===0}catch(A){}return false},httpNotModified:function(F,A){var J=F.getResponseHeader("Last-Modified"),G=F.getResponseHeader("Etag");if(J){AF.lastModified[A]=J}if(G){AF.etag[A]=G}return F.status===304||F.status===0},httpData:function(F,A,K){var G=F.getResponseHeader("content-type")||"",J=A==="xml"||!A&&G.indexOf("xml")>=0;F=J?F.responseXML:F.responseText;J&&F.documentElement.nodeName==="parsererror"&&AF.error("parsererror");if(K&&K.dataFilter){F=K.dataFilter(F,A)}if(typeof F==="string"){if(A==="json"||!A&&G.indexOf("json")>=0){F=AF.parseJSON(F)}else{if(A==="script"||!A&&G.indexOf("javascript")>=0){AF.globalEval(F)}}}return F},param:function(F,A){function L(N,O){if(AF.isArray(O)){AF.each(O,function(P,Q){A||/\[\]$/.test(N)?J(N,Q):L(N+"["+(typeof Q==="object"||AF.isArray(Q)?P:"")+"]",Q)})}else{!A&&O!=null&&typeof O==="object"?AF.each(O,function(P,Q){L(N+"["+P+"]",Q)}):J(N,O)}}function J(N,O){O=AF.isFunction(O)?O():O;K[K.length]=encodeURIComponent(N)+"="+encodeURIComponent(O)}var K=[];if(A===v){A=AF.ajaxSettings.traditional}if(AF.isArray(F)||F.jquery){AF.each(F,function(){J(this.name,this.value)})}else{for(var G in F){L(G,F[G])}}return K.join("&").replace(A4,"+")}});var BD={},A9=/toggle|show|hide/,Aw=/^([+-]=)?([\d+-.]+)(.*)$/,AO,r=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];AF.fn.extend({show:function(F,A){if(F||F===0){return this.animate(AZ("show",3),F,A)}else{F=0;for(A=this.length;F<A;F++){var K=AF.data(this[F],"olddisplay");this[F].style.display=K||"";if(AF.css(this[F],"display")==="none"){K=this[F].nodeName;var G;if(BD[K]){G=BD[K]}else{var J=AF("<"+K+" />").appendTo("body");G=J.css("display");if(G==="none"){G="block"}J.remove();BD[K]=G}AF.data(this[F],"olddisplay",G)}}F=0;for(A=this.length;F<A;F++){this[F].style.display=AF.data(this[F],"olddisplay")||""}return this}},hide:function(F,A){if(F||F===0){return this.animate(AZ("hide",3),F,A)}else{F=0;for(A=this.length;F<A;F++){var G=AF.data(this[F],"olddisplay");!G&&G!=="none"&&AF.data(this[F],"olddisplay",AF.css(this[F],"display"))}F=0;for(A=this.length;F<A;F++){this[F].style.display="none"}return this}},_toggle:AF.fn.toggle,toggle:function(F,A){var G=typeof F==="boolean";if(AF.isFunction(F)&&AF.isFunction(A)){this._toggle.apply(this,arguments)}else{F==null||G?this.each(function(){var J=G?F:AF(this).is(":hidden");AF(this)[J?"show":"hide"]()}):this.animate(AZ("toggle",3),F,A)}return this},fadeTo:function(F,A,G){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:A},F,G)},animate:function(F,A,K,G){var J=AF.speed(A,K,G);if(AF.isEmptyObject(F)){return this.each(J.complete)}return this[J.queue===false?"each":"queue"](function(){var N=AF.extend({},J),O,P=this.nodeType===1&&AF(this).is(":hidden"),L=this;for(O in F){var Q=O.replace(AB,l);if(O!==Q){F[Q]=F[O];delete F[O];O=Q}if(F[O]==="hide"&&P||F[O]==="show"&&!P){return N.complete.call(this)}if((O==="height"||O==="width")&&this.style){N.display=AF.css(this,"display");N.overflow=this.style.overflow}if(AF.isArray(F[O])){(N.specialEasing=N.specialEasing||{})[O]=F[O][1];F[O]=F[O][0]}}if(N.overflow!=null){this.style.overflow="hidden"}N.curAnim=AF.extend({},F);AF.each(F,function(T,R){var X=new AF.fx(L,N,T);if(A9.test(R)){X[R==="toggle"?P?"show":"hide":R](F)}else{var W=Aw.exec(R),Y=X.cur(true)||0;if(W){R=parseFloat(W[2]);var V=W[3]||"px";if(V!=="px"){L.style[T]=(R||1)+V;Y=(R||1)/X.cur(true)*Y;L.style[T]=Y+V}if(W[1]){R=(W[1]==="-="?-1:1)*R+Y}X.custom(Y,R,V)}else{X.custom(Y,R,"")}}});return true})},stop:function(F,A){var G=AF.timers;F&&this.queue([]);this.each(function(){for(var J=G.length-1;J>=0;J--){if(G[J].elem===this){A&&G[J](true);G.splice(J,1)}}});A||this.dequeue();return this}});AF.each({slideDown:AZ("show",1),slideUp:AZ("hide",1),slideToggle:AZ("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(F,A){AF.fn[F]=function(J,G){return this.animate(A,J,G)}});AF.extend({speed:function(F,A,J){var G=F&&typeof F==="object"?F:{complete:J||!J&&A||AF.isFunction(F)&&F,duration:F,easing:J&&A||A&&!AF.isFunction(A)&&A};G.duration=AF.fx.off?0:typeof G.duration==="number"?G.duration:AF.fx.speeds[G.duration]||AF.fx.speeds._default;G.old=G.complete;G.complete=function(){G.queue!==false&&AF(this).dequeue();AF.isFunction(G.old)&&G.old.call(this)};return G},easing:{linear:function(F,A,J,G){return J+G*F},swing:function(F,A,J,G){return(-Math.cos(F*Math.PI)/2+0.5)*G+J}},timers:[],fx:function(F,A,G){this.options=A;this.elem=F;this.prop=G;if(!A.orig){A.orig={}}}});AF.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(AF.fx.step[this.prop]||AF.fx.step._default)(this);if((this.prop==="height"||this.prop==="width")&&this.elem.style){this.elem.style.display="block"}},cur:function(A){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop]}return(A=parseFloat(AF.css(this.elem,this.prop,A)))&&A>-10000?A:parseFloat(AF.curCSS(this.elem,this.prop))||0},custom:function(F,A,K){function G(L){return J.step(L)}this.startTime=Ae();this.start=F;this.end=A;this.unit=K||this.unit||"px";this.now=this.start;this.pos=this.state=0;var J=this;G.elem=this.elem;if(G()&&AF.timers.push(G)&&!AO){AO=setInterval(AF.fx.tick,13)}},show:function(){this.options.orig[this.prop]=AF.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());AF(this.elem).show()},hide:function(){this.options.orig[this.prop]=AF.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(F){var A=Ae(),K=true;if(F||A>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;for(var G in this.options.curAnim){if(this.options.curAnim[G]!==true){K=false}}if(K){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;F=AF.data(this.elem,"olddisplay");this.elem.style.display=F?F:this.options.display;if(AF.css(this.elem,"display")==="none"){this.elem.style.display="block"}}this.options.hide&&AF(this.elem).hide();if(this.options.hide||this.options.show){for(var J in this.options.curAnim){AF.style(this.elem,J,this.options.orig[J])}}this.options.complete.call(this.elem)}return false}else{J=A-this.startTime;this.state=J/this.options.duration;F=this.options.easing||(AF.easing.swing?"swing":"linear");this.pos=AF.easing[this.options.specialEasing&&this.options.specialEasing[this.prop]||F](this.state,J,0,1,this.options.duration);this.now=this.start+(this.end-this.start)*this.pos;this.update()}return true}};AF.extend(AF.fx,{tick:function(){for(var F=AF.timers,A=0;A<F.length;A++){F[A]()||F.splice(A--,1)}F.length||AF.fx.stop()},stop:function(){clearInterval(AO);AO=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(A){AF.style(A.elem,"opacity",A.now)},_default:function(A){if(A.elem.style&&A.elem.style[A.prop]!=null){A.elem.style[A.prop]=(A.prop==="width"||A.prop==="height"?Math.max(0,A.now):A.now)+A.unit}else{A.elem[A.prop]=A.now}}}});if(AF.expr&&AF.expr.filters){AF.expr.filters.animated=function(A){return AF.grep(AF.timers,function(F){return A===F.elem}).length}}AF.fn.offset="getBoundingClientRect" in x.documentElement?function(F){var A=this[0];if(F){return this.each(function(K){AF.offset.setOffset(this,F,K)})}if(!A||!A.ownerDocument){return null}if(A===A.ownerDocument.body){return AF.offset.bodyOffset(A)}var J=A.getBoundingClientRect(),G=A.ownerDocument;A=G.body;G=G.documentElement;return{top:J.top+(self.pageYOffset||AF.support.boxModel&&G.scrollTop||A.scrollTop)-(G.clientTop||A.clientTop||0),left:J.left+(self.pageXOffset||AF.support.boxModel&&G.scrollLeft||A.scrollLeft)-(G.clientLeft||A.clientLeft||0)}}:function(Q){var P=this[0];if(Q){return this.each(function(R){AF.offset.setOffset(this,Q,R)})}if(!P||!P.ownerDocument){return null}if(P===P.ownerDocument.body){return AF.offset.bodyOffset(P)}AF.offset.initialize();var O=P.offsetParent,L=P,N=P.ownerDocument,J,K=N.documentElement,A=N.body;L=(N=N.defaultView)?N.getComputedStyle(P,null):P.currentStyle;for(var G=P.offsetTop,F=P.offsetLeft;(P=P.parentNode)&&P!==A&&P!==K;){if(AF.offset.supportsFixedPosition&&L.position==="fixed"){break}J=N?N.getComputedStyle(P,null):P.currentStyle;G-=P.scrollTop;F-=P.scrollLeft;if(P===O){G+=P.offsetTop;F+=P.offsetLeft;if(AF.offset.doesNotAddBorder&&!(AF.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(P.nodeName))){G+=parseFloat(J.borderTopWidth)||0;F+=parseFloat(J.borderLeftWidth)||0}L=O;O=P.offsetParent}if(AF.offset.subtractsBorderForOverflowNotVisible&&J.overflow!=="visible"){G+=parseFloat(J.borderTopWidth)||0;F+=parseFloat(J.borderLeftWidth)||0}L=J}if(L.position==="relative"||L.position==="static"){G+=A.offsetTop;F+=A.offsetLeft}if(AF.offset.supportsFixedPosition&&L.position==="fixed"){G+=Math.max(K.scrollTop,A.scrollTop);F+=Math.max(K.scrollLeft,A.scrollLeft)}return{top:G,left:F}};AF.offset={initialize:function(){var F=x.body,A=x.createElement("div"),L,J,K,G=parseFloat(AF.curCSS(F,"marginTop",true))||0;AF.extend(A.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"});A.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>";F.insertBefore(A,F.firstChild);L=A.firstChild;J=L.firstChild;K=L.nextSibling.firstChild.firstChild;this.doesNotAddBorder=J.offsetTop!==5;this.doesAddBorderForTableAndCells=K.offsetTop===5;J.style.position="fixed";J.style.top="20px";this.supportsFixedPosition=J.offsetTop===20||J.offsetTop===15;J.style.position=J.style.top="";L.style.overflow="hidden";L.style.position="relative";this.subtractsBorderForOverflowNotVisible=J.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=F.offsetTop!==G;F.removeChild(A);AF.offset.initialize=AF.noop},bodyOffset:function(F){var A=F.offsetTop,G=F.offsetLeft;AF.offset.initialize();if(AF.offset.doesNotIncludeMarginInBodyOffset){A+=parseFloat(AF.curCSS(F,"marginTop",true))||0;G+=parseFloat(AF.curCSS(F,"marginLeft",true))||0}return{top:A,left:G}},setOffset:function(F,A,N){if(/static/.test(AF.curCSS(F,"position"))){F.style.position="relative"}var K=AF(F),L=K.offset(),G=parseInt(AF.curCSS(F,"top",true),10)||0,J=parseInt(AF.curCSS(F,"left",true),10)||0;if(AF.isFunction(A)){A=A.call(F,N,L)}N={top:A.top-L.top+G,left:A.left-L.left+J};"using" in A?A.using.call(F,N):K.css(N)}};AF.fn.extend({position:function(){if(!this[0]){return null}var F=this[0],A=this.offsetParent(),J=this.offset(),G=/^body|html$/i.test(A[0].nodeName)?{top:0,left:0}:A.offset();J.top-=parseFloat(AF.curCSS(F,"marginTop",true))||0;J.left-=parseFloat(AF.curCSS(F,"marginLeft",true))||0;G.top+=parseFloat(AF.curCSS(A[0],"borderTopWidth",true))||0;G.left+=parseFloat(AF.curCSS(A[0],"borderLeftWidth",true))||0;return{top:J.top-G.top,left:J.left-G.left}},offsetParent:function(){return this.map(function(){for(var A=this.offsetParent||x.body;A&&!/^body|html$/i.test(A.nodeName)&&AF.css(A,"position")==="static";){A=A.offsetParent}return A})}});AF.each(["Left","Top"],function(F,A){var G="scroll"+A;AF.fn[G]=function(K){var L=this[0],J;if(!L){return null}if(K!==v){return this.each(function(){if(J=f(this)){J.scrollTo(!F?K:AF(J).scrollLeft(),F?K:AF(J).scrollTop())}else{this[G]=K}})}else{return(J=f(L))?"pageXOffset" in J?J[F?"pageYOffset":"pageXOffset"]:AF.support.boxModel&&J.document.documentElement[G]||J.document.body[G]:L[G]}}});AF.each(["Height","Width"],function(F,A){var G=A.toLowerCase();AF.fn["inner"+A]=function(){return this[0]?AF.css(this[0],G,false,"padding"):null};AF.fn["outer"+A]=function(J){return this[0]?AF.css(this[0],G,false,J?"margin":"border"):null};AF.fn[G]=function(J){var K=this[0];if(!K){return J==null?null:this}if(AF.isFunction(J)){return this.each(function(L){var N=AF(this);N[G](J.call(this,L,N[G]()))})}return"scrollTo" in K&&K.document?K.document.compatMode==="CSS1Compat"&&K.document.documentElement["client"+A]||K.document.body["client"+A]:K.nodeType===9?Math.max(K.documentElement["client"+A],K.body["scroll"+A],K.documentElement["scroll"+A],K.body["offset"+A],K.documentElement["offset"+A]):J===v?AF.css(K,G):this.css(G,typeof J==="string"?J:J+"px")}});An.jQuery=An.$=AF})(window);
function trim(A){return A.replace(/(^\s*)|(\s*$)/g,"")}function QuickSearch(A,D,C,B){$.o=this;this.widgetId=C;this.div=$("#"+D).attr("QuickSearch_varname",this.widgetId);this.input=$("#"+A);this.input.attr("QuickSearch_varname",this.widgetId);this.userValue=this.input.val();this.delay=200;this.previousSearch=this.input.val();this.handler_timeout=null;this.position=null;this.baseURL=(B.substring(0,7)=="http://")?B:"/searchCompletion?s=";this.input.click(function(){$.o.onclick()});this.input.keydown(function(E){$.o.keydown(E)});this.input.keyup(function(E){$.o.keyup(E)})}QuickSearch.prototype.keydown=function(A){if(!A){var A=window.event}if((window.event?A.keyCode:A.which)==13){if(this.position!=null){$(this.input).val($(this.div).find("td:eq("+this.position+")").attr("value"))}}};QuickSearch.prototype.keyup=function(B){if(!B){var B=window.event}switch(window.event?B.keyCode:B.which){case 27:this.moveTo(-1);this.div.hide();break;case 38:this.moveBy(-1);break;case 40:this.moveBy(1);break;case 13:break;default:this.userValue=trim(this.input.val());if(this.handler_timeout!=null){clearTimeout(this.handler_timeout);this.handler_timeout=null}var A=trim(this.input.val());if((A!=this.previousSearch)&&(A.length>=2)){if(!$(this.div).find("td").length>0){this.SendRequest(A)}else{this.handler_timeout=setTimeout(this.widgetId+'.SendRequest( "'+A+'" )',this.delay)}}break}if(this.input.val()==""){this.div.hide()}};QuickSearch.prototype.SendRequest=function(A){this.previousSearch=A;$.ajax({dataType:"jsonp",jsonpCallback:this.widgetId+".complete",url:$.o.baseURL,data:{s:A,callback:this.widgetId+".complete"}})};QuickSearch.prototype.complete=function(A){this.div.find("table").remove();$.table=$("<table/>");if(A.length>0){$.each(A,function(B,C){$.table=$.table.append($("<tr />").append($("<td />").html(C.replace(new RegExp($.o.userValue,"i"),"<span>"+$.o.userValue+"</span>")).bind("mouseenter",function(){$.o.moveTo(B)}).bind("mouseleave",function(){$(this).removeClass("selected")}).click(function(){$.o.input.val(C);$.o.input.parents("form:first").submit()}).attr("value",C)))});this.div.append($.table);this.show()}else{this.hide()}};QuickSearch.prototype.show=function(){$("body").click($.o.hide);$.o.div.show()};QuickSearch.prototype.hide=function(){$("body").unbind("click",$.o.hide);$.o.div.hide()};QuickSearch.prototype.moveBy=function(A){this.moveTo((this.position==null?-1:this.position)+A)};QuickSearch.prototype.moveTo=function(A){if(!this.div.is(":visible")){return false}$(this.div).find("td").each(function(){$(this).removeClass("selected")});this.position=A%($(this.div).find("td").length);$(this.div).find("td").eq(this.position).addClass("selected")};QuickSearch.prototype.onclick=function(D){var A=new urloperations();var C=A.getUrlParam("s");var B=A.isUrlComposedOf("/index/");if(!(C!=""||B)){this.input.val("")}};
function urloperations(){}urloperations.prototype.getUrlParam=function(B){var G=window.location;var C=window.location.toString().split("?");var F=C[1];var E=new RegExp("^.*"+B+"=([^&]+).*$","gi");var D=E.exec(F);var A="";if(D!=null&&D.length>1){A=D[1]}return A};urloperations.prototype.isUrlComposedOf=function(A){var C=window.location;var B=window.location.toString().split(A);if(B.length>1){return true}else{return false}};
function alapageheader(){this.msSearchString=null;this.msAffinage=null;this.msSearchStringFieldId="fulltext";this.msAffinageFieldId="select";this.msSearchHost=""}alapageheader.prototype.setSearchString=function(A){if($("#"+this.msSearchStringFieldId)){$("#"+this.msSearchStringFieldId).val(decodeURIComponent(A.replace(/\+/g," ")))}else{return false}this.msSearchString=A;return true};alapageheader.prototype.setAffinage=function(C){var D="#"+this.msAffinageFieldId;var B=$(D);var A=this;C=C.replace(/(\d+)\-.+\-.+/g,"$1-0-0");$(B).data("psAffinage",C);if(B&&C!="0"&&C!=""){C=C+"-";B.find("option").data("searchHost",this.msSearchHost).each(function(E){$(this).removeAttr("selected");if($(this).val().indexOf($(D).data("psAffinage"))>=0&&$(this).val().substr(($(this).val().indexOf($(D).data("psAffinage"))-1),1)!="-"){$(this).attr("selected","selected");searchUniv($(this).data("searchHost"),$(this).val());if(C=="15641648-"){$("#searchadvlink").show()}}})}else{$("#searchadvlink").hide();return false}};alapageheader.prototype.setSearchHost=function(A){this.msSearchHost=A};
