/*
 * jQuery JavaScript Library v1.6.1
 * http://jquery.com/
 *
 * Copyright 2011, John Resig
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * Includes Sizzle.js
 * http://sizzlejs.com/
 * Copyright 2011, The Dojo Foundation
 * Released under the MIT, BSD, and GPL Licenses.
 *
 * Date: Thu May 12 15:04:36 2011 -0400
 */
(function(bc,L){var ar=bc.document,bu=bc.navigator,bl=bc.location;
var b=(function(){var bE=function(bY,bZ){return new bE.fn.init(bY,bZ,bC);},bT=bc.jQuery,bG=bc.$,bC,bX=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,bM=/\S/,bI=/^\s+/,bD=/\s+$/,bH=/\d/,bA=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,bN=/^[\],:{}\s]*$/,bV=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,bP=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,bJ=/(?:^|:|,)(?:\s*\[)+/g,by=/(webkit)[ \/]([\w.]+)/,bR=/(opera)(?:.*version)?[ \/]([\w.]+)/,bQ=/(msie) ([\w.]+)/,bS=/(mozilla)(?:.*? rv:([\w.]+))?/,bW=bu.userAgent,bU,bB,e,bL=Object.prototype.toString,bF=Object.prototype.hasOwnProperty,bz=Array.prototype.push,bK=Array.prototype.slice,bO=String.prototype.trim,bv=Array.prototype.indexOf,bx={};
bE.fn=bE.prototype={constructor:bE,init:function(bY,b2,b1){var b0,b3,bZ,b4;if(!bY){return this;}if(bY.nodeType){this.context=this[0]=bY;this.length=1;return this;}if(bY==="body"&&!b2&&ar.body){this.context=ar;this[0]=ar.body;this.selector=bY;this.length=1;return this;}if(typeof bY==="string"){if(bY.charAt(0)==="<"&&bY.charAt(bY.length-1)===">"&&bY.length>=3){b0=[null,bY,null];
}else{b0=bX.exec(bY);}if(b0&&(b0[1]||!b2)){if(b0[1]){b2=b2 instanceof bE?b2[0]:b2;b4=(b2?b2.ownerDocument||b2:ar);bZ=bA.exec(bY);if(bZ){if(bE.isPlainObject(b2)){bY=[ar.createElement(bZ[1])];bE.fn.attr.call(bY,b2,true);}else{bY=[b4.createElement(bZ[1])];}}else{bZ=bE.buildFragment([b0[1]],[b4]);bY=(bZ.cacheable?bE.clone(bZ.fragment):bZ.fragment).childNodes;
}return bE.merge(this,bY);}else{b3=ar.getElementById(b0[2]);if(b3&&b3.parentNode){if(b3.id!==b0[2]){return b1.find(bY);}this.length=1;this[0]=b3;}this.context=ar;this.selector=bY;return this;}}else{if(!b2||b2.jquery){return(b2||b1).find(bY);}else{return this.constructor(b2).find(bY);}}}else{if(bE.isFunction(bY)){return b1.ready(bY);
}}if(bY.selector!==L){this.selector=bY.selector;this.context=bY.context;}return bE.makeArray(bY,this);},selector:"",jquery:"1.6.1",length:0,size:function(){return this.length;},toArray:function(){return bK.call(this,0);},get:function(bY){return bY==null?this.toArray():(bY<0?this[this.length+bY]:this[bY]);
},pushStack:function(bZ,b1,bY){var b0=this.constructor();if(bE.isArray(bZ)){bz.apply(b0,bZ);}else{bE.merge(b0,bZ);}b0.prevObject=this;b0.context=this.context;if(b1==="find"){b0.selector=this.selector+(this.selector?" ":"")+bY;}else{if(b1){b0.selector=this.selector+"."+b1+"("+bY+")";}}return b0;},each:function(bZ,bY){return bE.each(this,bZ,bY);
},ready:function(bY){bE.bindReady();bB.done(bY);return this;},eq:function(bY){return bY===-1?this.slice(bY):this.slice(bY,+bY+1);},first:function(){return this.eq(0);},last:function(){return this.eq(-1);},slice:function(){return this.pushStack(bK.apply(this,arguments),"slice",bK.call(arguments).join(","));
},map:function(bY){return this.pushStack(bE.map(this,function(b0,bZ){return bY.call(b0,bZ,b0);}));},end:function(){return this.prevObject||this.constructor(null);},push:bz,sort:[].sort,splice:[].splice};bE.fn.init.prototype=bE.fn;bE.extend=bE.fn.extend=function(){var b7,b0,bY,bZ,b4,b5,b3=arguments[0]||{},b2=1,b1=arguments.length,b6=false;
if(typeof b3==="boolean"){b6=b3;b3=arguments[1]||{};b2=2;}if(typeof b3!=="object"&&!bE.isFunction(b3)){b3={};}if(b1===b2){b3=this;--b2;}for(;b2<b1;b2++){if((b7=arguments[b2])!=null){for(b0 in b7){bY=b3[b0];bZ=b7[b0];if(b3===bZ){continue;}if(b6&&bZ&&(bE.isPlainObject(bZ)||(b4=bE.isArray(bZ)))){if(b4){b4=false;
b5=bY&&bE.isArray(bY)?bY:[];}else{b5=bY&&bE.isPlainObject(bY)?bY:{};}b3[b0]=bE.extend(b6,b5,bZ);}else{if(bZ!==L){b3[b0]=bZ;}}}}}return b3;};bE.extend({noConflict:function(bY){if(bc.$===bE){bc.$=bG;}if(bY&&bc.jQuery===bE){bc.jQuery=bT;}return bE;},isReady:false,readyWait:1,holdReady:function(bY){if(bY){bE.readyWait++;
}else{bE.ready(true);}},ready:function(bY){if((bY===true&&!--bE.readyWait)||(bY!==true&&!bE.isReady)){if(!ar.body){return setTimeout(bE.ready,1);}bE.isReady=true;if(bY!==true&&--bE.readyWait>0){return;}bB.resolveWith(ar,[bE]);if(bE.fn.trigger){bE(ar).trigger("ready").unbind("ready");}}},bindReady:function(){if(bB){return;
}bB=bE._Deferred();if(ar.readyState==="complete"){return setTimeout(bE.ready,1);}if(ar.addEventListener){ar.addEventListener("DOMContentLoaded",e,false);bc.addEventListener("load",bE.ready,false);}else{if(ar.attachEvent){ar.attachEvent("onreadystatechange",e);bc.attachEvent("onload",bE.ready);var bY=false;
try{bY=bc.frameElement==null;}catch(bZ){}if(ar.documentElement.doScroll&&bY){bw();}}}},isFunction:function(bY){return bE.type(bY)==="function";},isArray:Array.isArray||function(bY){return bE.type(bY)==="array";},isWindow:function(bY){return bY&&typeof bY==="object"&&"setInterval" in bY;},isNaN:function(bY){return bY==null||!bH.test(bY)||isNaN(bY);
},type:function(bY){return bY==null?String(bY):bx[bL.call(bY)]||"object";},isPlainObject:function(bZ){if(!bZ||bE.type(bZ)!=="object"||bZ.nodeType||bE.isWindow(bZ)){return false;}if(bZ.constructor&&!bF.call(bZ,"constructor")&&!bF.call(bZ.constructor.prototype,"isPrototypeOf")){return false;}var bY;for(bY in bZ){}return bY===L||bF.call(bZ,bY);
},isEmptyObject:function(bZ){for(var bY in bZ){return false;}return true;},error:function(bY){throw bY;},parseJSON:function(bY){if(typeof bY!=="string"||!bY){return null;}bY=bE.trim(bY);if(bc.JSON&&bc.JSON.parse){return bc.JSON.parse(bY);}if(bN.test(bY.replace(bV,"@").replace(bP,"]").replace(bJ,""))){return(new Function("return "+bY))();
}bE.error("Invalid JSON: "+bY);},parseXML:function(b0,bY,bZ){if(bc.DOMParser){bZ=new DOMParser();bY=bZ.parseFromString(b0,"text/xml");}else{bY=new ActiveXObject("Microsoft.XMLDOM");bY.async="false";bY.loadXML(b0);}bZ=bY.documentElement;if(!bZ||!bZ.nodeName||bZ.nodeName==="parsererror"){bE.error("Invalid XML: "+b0);
}return bY;},noop:function(){},globalEval:function(bY){if(bY&&bM.test(bY)){(bc.execScript||function(bZ){bc["eval"].call(bc,bZ);})(bY);}},nodeName:function(bZ,bY){return bZ.nodeName&&bZ.nodeName.toUpperCase()===bY.toUpperCase();},each:function(b1,b4,b0){var bZ,b2=0,b3=b1.length,bY=b3===L||bE.isFunction(b1);
if(b0){if(bY){for(bZ in b1){if(b4.apply(b1[bZ],b0)===false){break;}}}else{for(;b2<b3;){if(b4.apply(b1[b2++],b0)===false){break;}}}}else{if(bY){for(bZ in b1){if(b4.call(b1[bZ],bZ,b1[bZ])===false){break;}}}else{for(;b2<b3;){if(b4.call(b1[b2],b2,b1[b2++])===false){break;}}}}return b1;},trim:bO?function(bY){return bY==null?"":bO.call(bY);
}:function(bY){return bY==null?"":bY.toString().replace(bI,"").replace(bD,"");},makeArray:function(b1,bZ){var bY=bZ||[];if(b1!=null){var b0=bE.type(b1);if(b1.length==null||b0==="string"||b0==="function"||b0==="regexp"||bE.isWindow(b1)){bz.call(bY,b1);}else{bE.merge(bY,b1);}}return bY;},inArray:function(b0,b1){if(bv){return bv.call(b1,b0);
}for(var bY=0,bZ=b1.length;bY<bZ;bY++){if(b1[bY]===b0){return bY;}}return -1;},merge:function(b2,b0){var b1=b2.length,bZ=0;if(typeof b0.length==="number"){for(var bY=b0.length;bZ<bY;bZ++){b2[b1++]=b0[bZ];}}else{while(b0[bZ]!==L){b2[b1++]=b0[bZ++];}}b2.length=b1;return b2;},grep:function(bZ,b4,bY){var b0=[],b3;
bY=!!bY;for(var b1=0,b2=bZ.length;b1<b2;b1++){b3=!!b4(bZ[b1],b1);if(bY!==b3){b0.push(bZ[b1]);}}return b0;},map:function(bY,b5,b6){var b3,b4,b2=[],b0=0,bZ=bY.length,b1=bY instanceof bE||bZ!==L&&typeof bZ==="number"&&((bZ>0&&bY[0]&&bY[bZ-1])||bZ===0||bE.isArray(bY));if(b1){for(;b0<bZ;b0++){b3=b5(bY[b0],b0,b6);
if(b3!=null){b2[b2.length]=b3;}}}else{for(b4 in bY){b3=b5(bY[b4],b4,b6);if(b3!=null){b2[b2.length]=b3;}}}return b2.concat.apply([],b2);},guid:1,proxy:function(b2,b1){if(typeof b1==="string"){var b0=b2[b1];b1=b2;b2=b0;}if(!bE.isFunction(b2)){return L;}var bY=bK.call(arguments,2),bZ=function(){return b2.apply(b1,bY.concat(bK.call(arguments)));
};bZ.guid=b2.guid=b2.guid||bZ.guid||bE.guid++;return bZ;},access:function(bY,b6,b4,b0,b3,b5){var bZ=bY.length;if(typeof b6==="object"){for(var b1 in b6){bE.access(bY,b1,b6[b1],b0,b3,b4);}return bY;}if(b4!==L){b0=!b5&&b0&&bE.isFunction(b4);for(var b2=0;b2<bZ;b2++){b3(bY[b2],b6,b0?b4.call(bY[b2],b2,b3(bY[b2],b6)):b4,b5);
}return bY;}return bZ?b3(bY[0],b6):L;},now:function(){return(new Date()).getTime();},uaMatch:function(bZ){bZ=bZ.toLowerCase();var bY=by.exec(bZ)||bR.exec(bZ)||bQ.exec(bZ)||bZ.indexOf("compatible")<0&&bS.exec(bZ)||[];return{browser:bY[1]||"",version:bY[2]||"0"};},sub:function(){function bY(b1,b2){return new bY.fn.init(b1,b2);
}bE.extend(true,bY,this);bY.superclass=this;bY.fn=bY.prototype=this();bY.fn.constructor=bY;bY.sub=this.sub;bY.fn.init=function b0(b1,b2){if(b2&&b2 instanceof bE&&!(b2 instanceof bY)){b2=bY(b2);}return bE.fn.init.call(this,b1,b2,bZ);};bY.fn.init.prototype=bY.fn;var bZ=bY(ar);return bY;},browser:{}});bE.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(bZ,bY){bx["[object "+bY+"]"]=bY.toLowerCase();
});bU=bE.uaMatch(bW);if(bU.browser){bE.browser[bU.browser]=true;bE.browser.version=bU.version;}if(bE.browser.webkit){bE.browser.safari=true;}if(bM.test("\xA0")){bI=/^[\s\xA0]+/;bD=/[\s\xA0]+$/;}bC=bE(ar);if(ar.addEventListener){e=function(){ar.removeEventListener("DOMContentLoaded",e,false);bE.ready();
};}else{if(ar.attachEvent){e=function(){if(ar.readyState==="complete"){ar.detachEvent("onreadystatechange",e);bE.ready();}};}}function bw(){if(bE.isReady){return;}try{ar.documentElement.doScroll("left");}catch(bY){setTimeout(bw,1);return;}bE.ready();}return bE;})();var a="done fail isResolved isRejected promise then always pipe".split(" "),aH=[].slice;
b.extend({_Deferred:function(){var bx=[],by,bv,bw,e={done:function(){if(!bw){var bA=arguments,bB,bE,bD,bC,bz;if(by){bz=by;by=0;}for(bB=0,bE=bA.length;bB<bE;bB++){bD=bA[bB];bC=b.type(bD);if(bC==="array"){e.done.apply(e,bD);}else{if(bC==="function"){bx.push(bD);}}}if(bz){e.resolveWith(bz[0],bz[1]);}}return this;
},resolveWith:function(bA,bz){if(!bw&&!by&&!bv){bz=bz||[];bv=1;try{while(bx[0]){bx.shift().apply(bA,bz);}}finally{by=[bA,bz];bv=0;}}return this;},resolve:function(){e.resolveWith(this,arguments);return this;},isResolved:function(){return !!(bv||by);},cancel:function(){bw=1;bx=[];return this;}};return e;
},Deferred:function(bv){var e=b._Deferred(),bx=b._Deferred(),bw;b.extend(e,{then:function(bz,by){e.done(bz).fail(by);return this;},always:function(){return e.done.apply(e,arguments).fail.apply(this,arguments);},fail:bx.done,rejectWith:bx.resolveWith,reject:bx.resolve,isRejected:bx.isResolved,pipe:function(bz,by){return b.Deferred(function(bA){b.each({done:[bz,"resolve"],fail:[by,"reject"]},function(bC,bF){var bB=bF[0],bE=bF[1],bD;
if(b.isFunction(bB)){e[bC](function(){bD=bB.apply(this,arguments);if(bD&&b.isFunction(bD.promise)){bD.promise().then(bA.resolve,bA.reject);}else{bA[bE](bD);}});}else{e[bC](bA[bE]);}});}).promise();},promise:function(bz){if(bz==null){if(bw){return bw;}bw=bz={};}var by=a.length;while(by--){bz[a[by]]=e[a[by]];
}return bz;}});e.done(bx.cancel).fail(e.cancel);delete e.cancel;if(bv){bv.call(e,e);}return e;},when:function(bA){var bv=arguments,bw=0,bz=bv.length,by=bz,e=bz<=1&&bA&&b.isFunction(bA.promise)?bA:b.Deferred();function bx(bB){return function(bC){bv[bB]=arguments.length>1?aH.call(arguments,0):bC;if(!(--by)){e.resolveWith(e,aH.call(bv,0));
}};}if(bz>1){for(;bw<bz;bw++){if(bv[bw]&&b.isFunction(bv[bw].promise)){bv[bw].promise().then(bx(bw),e.reject);}else{--by;}}if(!by){e.resolveWith(e,bv);}}else{if(e!==bA){e.resolveWith(e,bz?[bA]:[]);}}return e.promise();}});b.support=(function(){var bF=ar.createElement("div"),bL=ar.documentElement,bz,bM,bG,bx,bE,bA,bC,bw,bD,bv,bI,by,bB,bJ,bN;
bF.setAttribute("className","t");bF.innerHTML="   <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/>";bz=bF.getElementsByTagName("*");bM=bF.getElementsByTagName("a")[0];if(!bz||!bz.length||!bM){return{};}bG=ar.createElement("select");bx=bG.appendChild(ar.createElement("option"));
bE=bF.getElementsByTagName("input")[0];bC={leadingWhitespace:(bF.firstChild.nodeType===3),tbody:!bF.getElementsByTagName("tbody").length,htmlSerialize:!!bF.getElementsByTagName("link").length,style:/top/.test(bM.getAttribute("style")),hrefNormalized:(bM.getAttribute("href")==="/a"),opacity:/^0.55$/.test(bM.style.opacity),cssFloat:!!bM.style.cssFloat,checkOn:(bE.value==="on"),optSelected:bx.selected,getSetAttribute:bF.className!=="t",submitBubbles:true,changeBubbles:true,focusinBubbles:false,deleteExpando:true,noCloneEvent:true,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableMarginRight:true};
bE.checked=true;bC.noCloneChecked=bE.cloneNode(true).checked;bG.disabled=true;bC.optDisabled=!bx.disabled;try{delete bF.test;}catch(bK){bC.deleteExpando=false;}if(!bF.addEventListener&&bF.attachEvent&&bF.fireEvent){bF.attachEvent("onclick",function bH(){bC.noCloneEvent=false;bF.detachEvent("onclick",bH);
});bF.cloneNode(true).fireEvent("onclick");}bE=ar.createElement("input");bE.value="t";bE.setAttribute("type","radio");bC.radioValue=bE.value==="t";bE.setAttribute("checked","checked");bF.appendChild(bE);bw=ar.createDocumentFragment();bw.appendChild(bF.firstChild);bC.checkClone=bw.cloneNode(true).cloneNode(true).lastChild.checked;
bF.innerHTML="";bF.style.width=bF.style.paddingLeft="1px";bD=ar.createElement("body");bv={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"};for(bJ in bv){bD.style[bJ]=bv[bJ];}bD.appendChild(bF);bL.insertBefore(bD,bL.firstChild);bC.appendChecked=bE.checked;bC.boxModel=bF.offsetWidth===2;
if("zoom" in bF.style){bF.style.display="inline";bF.style.zoom=1;bC.inlineBlockNeedsLayout=(bF.offsetWidth===2);bF.style.display="";bF.innerHTML="<div style='width:4px;'></div>";bC.shrinkWrapBlocks=(bF.offsetWidth!==2);}bF.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>";
bI=bF.getElementsByTagName("td");bN=(bI[0].offsetHeight===0);bI[0].style.display="";bI[1].style.display="none";bC.reliableHiddenOffsets=bN&&(bI[0].offsetHeight===0);bF.innerHTML="";if(ar.defaultView&&ar.defaultView.getComputedStyle){bA=ar.createElement("div");bA.style.width="0";bA.style.marginRight="0";
bF.appendChild(bA);bC.reliableMarginRight=(parseInt((ar.defaultView.getComputedStyle(bA,null)||{marginRight:0}).marginRight,10)||0)===0;}bD.innerHTML="";bL.removeChild(bD);if(bF.attachEvent){for(bJ in {submit:1,change:1,focusin:1}){bB="on"+bJ;bN=(bB in bF);if(!bN){bF.setAttribute(bB,"return;");bN=(typeof bF[bB]==="function");
}bC[bJ+"Bubbles"]=bN;}}return bC;})();b.boxModel=b.support.boxModel;var aO=/^(?:\{.*\}|\[.*\])$/,ax=/([a-z])([A-Z])/g;b.extend({cache:{},uuid:0,expando:"jQuery"+(b.fn.jquery+Math.random()).replace(/\D/g,""),noData:{"embed":true,"object":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000","applet":true},hasData:function(e){e=e.nodeType?b.cache[e[b.expando]]:e[b.expando];
return !!e&&!U(e);},data:function(bx,bv,bz,by){if(!b.acceptData(bx)){return;}var bC=b.expando,bB=typeof bv==="string",bA,bD=bx.nodeType,e=bD?b.cache:bx,bw=bD?bx[b.expando]:bx[b.expando]&&b.expando;if((!bw||(by&&bw&&!e[bw][bC]))&&bB&&bz===L){return;}if(!bw){if(bD){bx[b.expando]=bw=++b.uuid;}else{bw=b.expando;
}}if(!e[bw]){e[bw]={};if(!bD){e[bw].toJSON=b.noop;}}if(typeof bv==="object"||typeof bv==="function"){if(by){e[bw][bC]=b.extend(e[bw][bC],bv);}else{e[bw]=b.extend(e[bw],bv);}}bA=e[bw];if(by){if(!bA[bC]){bA[bC]={};}bA=bA[bC];}if(bz!==L){bA[b.camelCase(bv)]=bz;}if(bv==="events"&&!bA[bv]){return bA[bC]&&bA[bC].events;
}return bB?bA[b.camelCase(bv)]:bA;},removeData:function(by,bw,bz){if(!b.acceptData(by)){return;}var bB=b.expando,bC=by.nodeType,bv=bC?b.cache:by,bx=bC?by[b.expando]:b.expando;if(!bv[bx]){return;}if(bw){var bA=bz?bv[bx][bB]:bv[bx];if(bA){delete bA[bw];if(!U(bA)){return;}}}if(bz){delete bv[bx][bB];if(!U(bv[bx])){return;
}}var e=bv[bx][bB];if(b.support.deleteExpando||bv!=bc){delete bv[bx];}else{bv[bx]=null;}if(e){bv[bx]={};if(!bC){bv[bx].toJSON=b.noop;}bv[bx][bB]=e;}else{if(bC){if(b.support.deleteExpando){delete by[b.expando];}else{if(by.removeAttribute){by.removeAttribute(b.expando);}else{by[b.expando]=null;}}}}},_data:function(bv,e,bw){return b.data(bv,e,bw,true);
},acceptData:function(bv){if(bv.nodeName){var e=b.noData[bv.nodeName.toLowerCase()];if(e){return !(e===true||bv.getAttribute("classid")!==e);}}return true;}});b.fn.extend({data:function(by,bA){var bz=null;if(typeof by==="undefined"){if(this.length){bz=b.data(this[0]);if(this[0].nodeType===1){var e=this[0].attributes,bw;
for(var bx=0,bv=e.length;bx<bv;bx++){bw=e[bx].name;if(bw.indexOf("data-")===0){bw=b.camelCase(bw.substring(5));a5(this[0],bw,bz[bw]);}}}}return bz;}else{if(typeof by==="object"){return this.each(function(){b.data(this,by);});}}var bB=by.split(".");bB[1]=bB[1]?"."+bB[1]:"";if(bA===L){bz=this.triggerHandler("getData"+bB[1]+"!",[bB[0]]);
if(bz===L&&this.length){bz=b.data(this[0],by);bz=a5(this[0],by,bz);}return bz===L&&bB[1]?this.data(bB[0]):bz;}else{return this.each(function(){var bD=b(this),bC=[bB[0],bA];bD.triggerHandler("setData"+bB[1]+"!",bC);b.data(this,by,bA);bD.triggerHandler("changeData"+bB[1]+"!",bC);});}},removeData:function(e){return this.each(function(){b.removeData(this,e);
});}});function a5(bx,bw,by){if(by===L&&bx.nodeType===1){var bv="data-"+bw.replace(ax,"$1-$2").toLowerCase();by=bx.getAttribute(bv);if(typeof by==="string"){try{by=by==="true"?true:by==="false"?false:by==="null"?null:!b.isNaN(by)?parseFloat(by):aO.test(by)?b.parseJSON(by):by;}catch(bz){}b.data(bx,bw,by);
}else{by=L;}}return by;}function U(bv){for(var e in bv){if(e!=="toJSON"){return false;}}return true;}function bh(by,bx,bA){var bw=bx+"defer",bv=bx+"queue",e=bx+"mark",bz=b.data(by,bw,L,true);if(bz&&(bA==="queue"||!b.data(by,bv,L,true))&&(bA==="mark"||!b.data(by,e,L,true))){setTimeout(function(){if(!b.data(by,bv,L,true)&&!b.data(by,e,L,true)){b.removeData(by,bw,true);
bz.resolve();}},0);}}b.extend({_mark:function(bv,e){if(bv){e=(e||"fx")+"mark";b.data(bv,e,(b.data(bv,e,L,true)||0)+1,true);}},_unmark:function(by,bx,bv){if(by!==true){bv=bx;bx=by;by=false;}if(bx){bv=bv||"fx";var e=bv+"mark",bw=by?0:((b.data(bx,e,L,true)||1)-1);if(bw){b.data(bx,e,bw,true);}else{b.removeData(bx,e,true);
bh(bx,bv,"mark");}}},queue:function(bv,e,bx){if(bv){e=(e||"fx")+"queue";var bw=b.data(bv,e,L,true);if(bx){if(!bw||b.isArray(bx)){bw=b.data(bv,e,b.makeArray(bx),true);}else{bw.push(bx);}}return bw||[];}},dequeue:function(bx,bw){bw=bw||"fx";var e=b.queue(bx,bw),bv=e.shift(),by;if(bv==="inprogress"){bv=e.shift();
}if(bv){if(bw==="fx"){e.unshift("inprogress");}bv.call(bx,function(){b.dequeue(bx,bw);});}if(!e.length){b.removeData(bx,bw+"queue",true);bh(bx,bw,"queue");}}});b.fn.extend({queue:function(e,bv){if(typeof e!=="string"){bv=e;e="fx";}if(bv===L){return b.queue(this[0],e);}return this.each(function(){var bw=b.queue(this,e,bv);
if(e==="fx"&&bw[0]!=="inprogress"){b.dequeue(this,e);}});},dequeue:function(e){return this.each(function(){b.dequeue(this,e);});},delay:function(bv,e){bv=b.fx?b.fx.speeds[bv]||bv:bv;e=e||"fx";return this.queue(e,function(){var bw=this;setTimeout(function(){b.dequeue(bw,e);},bv);});},clearQueue:function(e){return this.queue(e||"fx",[]);
},promise:function(bD,bw){if(typeof bD!=="string"){bw=bD;bD=L;}bD=bD||"fx";var e=b.Deferred(),bv=this,by=bv.length,bB=1,bz=bD+"defer",bA=bD+"queue",bC=bD+"mark",bx;function bE(){if(!(--bB)){e.resolveWith(bv,[bv]);}}while(by--){if((bx=b.data(bv[by],bz,L,true)||(b.data(bv[by],bA,L,true)||b.data(bv[by],bC,L,true))&&b.data(bv[by],bz,b._Deferred(),true))){bB++;
bx.done(bE);}}bE();return e.promise();}});var aM=/[\n\t\r]/g,ad=/\s+/,aQ=/\r/g,g=/^(?:button|input)$/i,E=/^(?:button|input|object|select|textarea)$/i,l=/^a(?:rea)?$/i,al=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,a8=/\:/,a3,aX;
b.fn.extend({attr:function(e,bv){return b.access(this,e,bv,true,b.attr);},removeAttr:function(e){return this.each(function(){b.removeAttr(this,e);});},prop:function(e,bv){return b.access(this,e,bv,true,b.prop);},removeProp:function(e){e=b.propFix[e]||e;return this.each(function(){try{this[e]=L;delete this[e];
}catch(bv){}});},addClass:function(bB){if(b.isFunction(bB)){return this.each(function(bE){var bD=b(this);bD.addClass(bB.call(this,bE,bD.attr("class")||""));});}if(bB&&typeof bB==="string"){var e=(bB||"").split(ad);for(var bx=0,bw=this.length;bx<bw;bx++){var bv=this[bx];if(bv.nodeType===1){if(!bv.className){bv.className=bB;
}else{var by=" "+bv.className+" ",bA=bv.className;for(var bz=0,bC=e.length;bz<bC;bz++){if(by.indexOf(" "+e[bz]+" ")<0){bA+=" "+e[bz];}}bv.className=b.trim(bA);}}}}return this;},removeClass:function(bz){if(b.isFunction(bz)){return this.each(function(bD){var bC=b(this);bC.removeClass(bz.call(this,bD,bC.attr("class")));
});}if((bz&&typeof bz==="string")||bz===L){var bA=(bz||"").split(ad);for(var bw=0,bv=this.length;bw<bv;bw++){var by=this[bw];if(by.nodeType===1&&by.className){if(bz){var bx=(" "+by.className+" ").replace(aM," ");for(var bB=0,e=bA.length;bB<e;bB++){bx=bx.replace(" "+bA[bB]+" "," ");}by.className=b.trim(bx);
}else{by.className="";}}}}return this;},toggleClass:function(bx,bv){var bw=typeof bx,e=typeof bv==="boolean";if(b.isFunction(bx)){return this.each(function(bz){var by=b(this);by.toggleClass(bx.call(this,bz,by.attr("class"),bv),bv);});}return this.each(function(){if(bw==="string"){var bA,bz=0,by=b(this),bB=bv,bC=bx.split(ad);
while((bA=bC[bz++])){bB=e?bB:!by.hasClass(bA);by[bB?"addClass":"removeClass"](bA);}}else{if(bw==="undefined"||bw==="boolean"){if(this.className){b._data(this,"__className__",this.className);}this.className=this.className||bx===false?"":b._data(this,"__className__")||"";}}});},hasClass:function(e){var bx=" "+e+" ";
for(var bw=0,bv=this.length;bw<bv;bw++){if((" "+this[bw].className+" ").replace(aM," ").indexOf(bx)>-1){return true;}}return false;},val:function(bx){var e,bv,bw=this[0];if(!arguments.length){if(bw){e=b.valHooks[bw.nodeName.toLowerCase()]||b.valHooks[bw.type];if(e&&"get" in e&&(bv=e.get(bw,"value"))!==L){return bv;
}return(bw.value||"").replace(aQ,"");}return L;}var by=b.isFunction(bx);return this.each(function(bA){var bz=b(this),bB;if(this.nodeType!==1){return;}if(by){bB=bx.call(this,bA,bz.val());}else{bB=bx;}if(bB==null){bB="";}else{if(typeof bB==="number"){bB+="";}else{if(b.isArray(bB)){bB=b.map(bB,function(bC){return bC==null?"":bC+"";
});}}}e=b.valHooks[this.nodeName.toLowerCase()]||b.valHooks[this.type];if(!e||!("set" in e)||e.set(this,bB,"value")===L){this.value=bB;}});}});b.extend({valHooks:{option:{get:function(e){var bv=e.attributes.value;return !bv||bv.specified?e.value:e.text;}},select:{get:function(e){var bA,by=e.selectedIndex,bB=[],bC=e.options,bx=e.type==="select-one";
if(by<0){return null;}for(var bv=bx?by:0,bz=bx?by+1:bC.length;bv<bz;bv++){var bw=bC[bv];if(bw.selected&&(b.support.optDisabled?!bw.disabled:bw.getAttribute("disabled")===null)&&(!bw.parentNode.disabled||!b.nodeName(bw.parentNode,"optgroup"))){bA=b(bw).val();if(bx){return bA;}bB.push(bA);}}if(bx&&!bB.length&&bC.length){return b(bC[by]).val();
}return bB;},set:function(bv,bw){var e=b.makeArray(bw);b(bv).find("option").each(function(){this.selected=b.inArray(b(this).val(),e)>=0;});if(!e.length){bv.selectedIndex=-1;}return e;}}},attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attrFix:{tabindex:"tabIndex"},attr:function(bA,bx,bB,bz){var bv=bA.nodeType;
if(!bA||bv===3||bv===8||bv===2){return L;}if(bz&&bx in b.attrFn){return b(bA)[bx](bB);}if(!("getAttribute" in bA)){return b.prop(bA,bx,bB);}var bw,e,by=bv!==1||!b.isXMLDoc(bA);bx=by&&b.attrFix[bx]||bx;e=b.attrHooks[bx];if(!e){if(al.test(bx)&&(typeof bB==="boolean"||bB===L||bB.toLowerCase()===bx.toLowerCase())){e=aX;
}else{if(a3&&(b.nodeName(bA,"form")||a8.test(bx))){e=a3;}}}if(bB!==L){if(bB===null){b.removeAttr(bA,bx);return L;}else{if(e&&"set" in e&&by&&(bw=e.set(bA,bB,bx))!==L){return bw;}else{bA.setAttribute(bx,""+bB);return bB;}}}else{if(e&&"get" in e&&by){return e.get(bA,bx);}else{bw=bA.getAttribute(bx);return bw===null?L:bw;
}}},removeAttr:function(bv,e){var bw;if(bv.nodeType===1){e=b.attrFix[e]||e;if(b.support.getSetAttribute){bv.removeAttribute(e);}else{b.attr(bv,e,"");bv.removeAttributeNode(bv.getAttributeNode(e));}if(al.test(e)&&(bw=b.propFix[e]||e) in bv){bv[bw]=false;}}},attrHooks:{type:{set:function(e,bv){if(g.test(e.nodeName)&&e.parentNode){b.error("type property can't be changed");
}else{if(!b.support.radioValue&&bv==="radio"&&b.nodeName(e,"input")){var bw=e.value;e.setAttribute("type",bv);if(bw){e.value=bw;}return bv;}}}},tabIndex:{get:function(bv){var e=bv.getAttributeNode("tabIndex");return e&&e.specified?parseInt(e.value,10):E.test(bv.nodeName)||l.test(bv.nodeName)&&bv.href?0:L;
}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(bz,bx,bA){var bv=bz.nodeType;
if(!bz||bv===3||bv===8||bv===2){return L;}var bw,e,by=bv!==1||!b.isXMLDoc(bz);bx=by&&b.propFix[bx]||bx;e=b.propHooks[bx];if(bA!==L){if(e&&"set" in e&&(bw=e.set(bz,bA,bx))!==L){return bw;}else{return(bz[bx]=bA);}}else{if(e&&"get" in e&&(bw=e.get(bz,bx))!==L){return bw;}else{return bz[bx];}}},propHooks:{}});
aX={get:function(bv,e){return bv[b.propFix[e]||e]?e.toLowerCase():L;},set:function(bv,bx,e){var bw;if(bx===false){b.removeAttr(bv,e);}else{bw=b.propFix[e]||e;if(bw in bv){bv[bw]=bx;}bv.setAttribute(e,e.toLowerCase());}return e;}};b.attrHooks.value={get:function(bv,e){if(a3&&b.nodeName(bv,"button")){return a3.get(bv,e);
}return bv.value;},set:function(bv,bw,e){if(a3&&b.nodeName(bv,"button")){return a3.set(bv,bw,e);}bv.value=bw;}};if(!b.support.getSetAttribute){b.attrFix=b.propFix;a3=b.attrHooks.name=b.valHooks.button={get:function(bw,bv){var e;e=bw.getAttributeNode(bv);return e&&e.nodeValue!==""?e.nodeValue:L;},set:function(bw,bx,bv){var e=bw.getAttributeNode(bv);
if(e){e.nodeValue=bx;return bx;}}};b.each(["width","height"],function(bv,e){b.attrHooks[e]=b.extend(b.attrHooks[e],{set:function(bw,bx){if(bx===""){bw.setAttribute(e,"auto");return bx;}}});});}if(!b.support.hrefNormalized){b.each(["href","src","width","height"],function(bv,e){b.attrHooks[e]=b.extend(b.attrHooks[e],{get:function(bx){var bw=bx.getAttribute(e,2);
return bw===null?L:bw;}});});}if(!b.support.style){b.attrHooks.style={get:function(e){return e.style.cssText.toLowerCase()||L;},set:function(e,bv){return(e.style.cssText=""+bv);}};}if(!b.support.optSelected){b.propHooks.selected=b.extend(b.propHooks.selected,{get:function(bv){var e=bv.parentNode;if(e){e.selectedIndex;
if(e.parentNode){e.parentNode.selectedIndex;}}}});}if(!b.support.checkOn){b.each(["radio","checkbox"],function(){b.valHooks[this]={get:function(e){return e.getAttribute("value")===null?"on":e.value;}};});}b.each(["radio","checkbox"],function(){b.valHooks[this]=b.extend(b.valHooks[this],{set:function(e,bv){if(b.isArray(bv)){return(e.checked=b.inArray(b(e).val(),bv)>=0);
}}});});var aE=Object.prototype.hasOwnProperty,aZ=/\.(.*)$/,be=/^(?:textarea|input|select)$/i,O=/\./g,bi=/ /g,aD=/[^\w\s.|`]/g,H=function(e){return e.replace(aD,"\\$&");};b.event={add:function(bx,bB,bG,bz){if(bx.nodeType===3||bx.nodeType===8){return;}if(bG===false){bG=bk;}else{if(!bG){return;}}var bv,bF;
if(bG.handler){bv=bG;bG=bv.handler;}if(!bG.guid){bG.guid=b.guid++;}var bC=b._data(bx);if(!bC){return;}var bH=bC.events,bA=bC.handle;if(!bH){bC.events=bH={};}if(!bA){bC.handle=bA=function(bI){return typeof b!=="undefined"&&(!bI||b.event.triggered!==bI.type)?b.event.handle.apply(bA.elem,arguments):L;};
}bA.elem=bx;bB=bB.split(" ");var bE,by=0,e;while((bE=bB[by++])){bF=bv?b.extend({},bv):{handler:bG,data:bz};if(bE.indexOf(".")>-1){e=bE.split(".");bE=e.shift();bF.namespace=e.slice(0).sort().join(".");}else{e=[];bF.namespace="";}bF.type=bE;if(!bF.guid){bF.guid=bG.guid;}var bw=bH[bE],bD=b.event.special[bE]||{};
if(!bw){bw=bH[bE]=[];if(!bD.setup||bD.setup.call(bx,bz,e,bA)===false){if(bx.addEventListener){bx.addEventListener(bE,bA,false);}else{if(bx.attachEvent){bx.attachEvent("on"+bE,bA);}}}}if(bD.add){bD.add.call(bx,bF);if(!bF.handler.guid){bF.handler.guid=bG.guid;}}bw.push(bF);b.event.global[bE]=true;}bx=null;
},global:{},remove:function(bJ,bE,bw,bA){if(bJ.nodeType===3||bJ.nodeType===8){return;}if(bw===false){bw=bk;}var bM,bz,bB,bG,bH=0,bx,bC,bF,by,bD,e,bL,bI=b.hasData(bJ)&&b._data(bJ),bv=bI&&bI.events;if(!bI||!bv){return;}if(bE&&bE.type){bw=bE.handler;bE=bE.type;}if(!bE||typeof bE==="string"&&bE.charAt(0)==="."){bE=bE||"";
for(bz in bv){b.event.remove(bJ,bz+bE);}return;}bE=bE.split(" ");while((bz=bE[bH++])){bL=bz;e=null;bx=bz.indexOf(".")<0;bC=[];if(!bx){bC=bz.split(".");bz=bC.shift();bF=new RegExp("(^|\\.)"+b.map(bC.slice(0).sort(),H).join("\\.(?:.*\\.)?")+"(\\.|$)");}bD=bv[bz];if(!bD){continue;}if(!bw){for(bG=0;bG<bD.length;
bG++){e=bD[bG];if(bx||bF.test(e.namespace)){b.event.remove(bJ,bL,e.handler,bG);bD.splice(bG--,1);}}continue;}by=b.event.special[bz]||{};for(bG=bA||0;bG<bD.length;bG++){e=bD[bG];if(bw.guid===e.guid){if(bx||bF.test(e.namespace)){if(bA==null){bD.splice(bG--,1);}if(by.remove){by.remove.call(bJ,e);}}if(bA!=null){break;
}}}if(bD.length===0||bA!=null&&bD.length===1){if(!by.teardown||by.teardown.call(bJ,bC)===false){b.removeEvent(bJ,bz,bI.handle);}bM=null;delete bv[bz];}}if(b.isEmptyObject(bv)){var bK=bI.handle;if(bK){bK.elem=null;}delete bI.events;delete bI.handle;if(b.isEmptyObject(bI)){b.removeData(bJ,L,true);}}},customEvent:{"getData":true,"setData":true,"changeData":true},trigger:function(e,bB,bz,bG){var bE=e.type||e,bw=[],bv;
if(bE.indexOf("!")>=0){bE=bE.slice(0,-1);bv=true;}if(bE.indexOf(".")>=0){bw=bE.split(".");bE=bw.shift();bw.sort();}if((!bz||b.event.customEvent[bE])&&!b.event.global[bE]){return;}e=typeof e==="object"?e[b.expando]?e:new b.Event(bE,e):new b.Event(bE);e.type=bE;e.exclusive=bv;e.namespace=bw.join(".");e.namespace_re=new RegExp("(^|\\.)"+bw.join("\\.(?:.*\\.)?")+"(\\.|$)");
if(bG||!bz){e.preventDefault();e.stopPropagation();}if(!bz){b.each(b.cache,function(){var bI=b.expando,bH=this[bI];if(bH&&bH.events&&bH.events[bE]){b.event.trigger(e,bB,bH.handle.elem);}});return;}if(bz.nodeType===3||bz.nodeType===8){return;}e.result=L;e.target=bz;bB=bB?b.makeArray(bB):[];bB.unshift(e);
var bF=bz,bx=bE.indexOf(":")<0?"on"+bE:"";do{var bC=b._data(bF,"handle");e.currentTarget=bF;if(bC){bC.apply(bF,bB);}if(bx&&b.acceptData(bF)&&bF[bx]&&bF[bx].apply(bF,bB)===false){e.result=false;e.preventDefault();}bF=bF.parentNode||bF.ownerDocument||bF===e.target.ownerDocument&&bc;}while(bF&&!e.isPropagationStopped());
if(!e.isDefaultPrevented()){var by,bD=b.event.special[bE]||{};if((!bD._default||bD._default.call(bz.ownerDocument,e)===false)&&!(bE==="click"&&b.nodeName(bz,"a"))&&b.acceptData(bz)){try{if(bx&&bz[bE]){by=bz[bx];if(by){bz[bx]=null;}b.event.triggered=bE;bz[bE]();}}catch(bA){}if(by){bz[bx]=by;}b.event.triggered=L;
}}return e.result;},handle:function(bB){bB=b.event.fix(bB||bc.event);var bv=((b._data(this,"events")||{})[bB.type]||[]).slice(0),bA=!bB.exclusive&&!bB.namespace,by=Array.prototype.slice.call(arguments,0);by[0]=bB;bB.currentTarget=this;for(var bx=0,e=bv.length;bx<e;bx++){var bz=bv[bx];if(bA||bB.namespace_re.test(bz.namespace)){bB.handler=bz.handler;
bB.data=bz.data;bB.handleObj=bz;var bw=bz.handler.apply(this,by);if(bw!==L){bB.result=bw;if(bw===false){bB.preventDefault();bB.stopPropagation();}}if(bB.isImmediatePropagationStopped()){break;}}}return bB.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(by){if(by[b.expando]){return by;
}var bv=by;by=b.Event(bv);for(var bw=this.props.length,bA;bw;){bA=this.props[--bw];by[bA]=bv[bA];}if(!by.target){by.target=by.srcElement||ar;}if(by.target.nodeType===3){by.target=by.target.parentNode;}if(!by.relatedTarget&&by.fromElement){by.relatedTarget=by.fromElement===by.target?by.toElement:by.fromElement;
}if(by.pageX==null&&by.clientX!=null){var bx=by.target.ownerDocument||ar,bz=bx.documentElement,e=bx.body;by.pageX=by.clientX+(bz&&bz.scrollLeft||e&&e.scrollLeft||0)-(bz&&bz.clientLeft||e&&e.clientLeft||0);by.pageY=by.clientY+(bz&&bz.scrollTop||e&&e.scrollTop||0)-(bz&&bz.clientTop||e&&e.clientTop||0);
}if(by.which==null&&(by.charCode!=null||by.keyCode!=null)){by.which=by.charCode!=null?by.charCode:by.keyCode;}if(!by.metaKey&&by.ctrlKey){by.metaKey=by.ctrlKey;}if(!by.which&&by.button!==L){by.which=(by.button&1?1:(by.button&2?3:(by.button&4?2:0)));}return by;},guid:100000000,proxy:b.proxy,special:{ready:{setup:b.bindReady,teardown:b.noop},live:{add:function(e){b.event.add(this,q(e.origType,e.selector),b.extend({},e,{handler:aj,guid:e.handler.guid}));
},remove:function(e){b.event.remove(this,q(e.origType,e.selector),e);}},beforeunload:{setup:function(bw,bv,e){if(b.isWindow(this)){this.onbeforeunload=e;}},teardown:function(bv,e){if(this.onbeforeunload===e){this.onbeforeunload=null;}}}}};b.removeEvent=ar.removeEventListener?function(bv,e,bw){if(bv.removeEventListener){bv.removeEventListener(e,bw,false);
}}:function(bv,e,bw){if(bv.detachEvent){bv.detachEvent("on"+e,bw);}};b.Event=function(bv,e){if(!this.preventDefault){return new b.Event(bv,e);}if(bv&&bv.type){this.originalEvent=bv;this.type=bv.type;this.isDefaultPrevented=(bv.defaultPrevented||bv.returnValue===false||bv.getPreventDefault&&bv.getPreventDefault())?i:bk;
}else{this.type=bv;}if(e){b.extend(this,e);}this.timeStamp=b.now();this[b.expando]=true;};function bk(){return false;}function i(){return true;}b.Event.prototype={preventDefault:function(){this.isDefaultPrevented=i;var bv=this.originalEvent;if(!bv){return;}if(bv.preventDefault){bv.preventDefault();}else{bv.returnValue=false;
}},stopPropagation:function(){this.isPropagationStopped=i;var bv=this.originalEvent;if(!bv){return;}if(bv.stopPropagation){bv.stopPropagation();}bv.cancelBubble=true;},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=i;this.stopPropagation();},isDefaultPrevented:bk,isPropagationStopped:bk,isImmediatePropagationStopped:bk};
var ac=function(bw){var bv=bw.relatedTarget;bw.type=bw.data;try{if(bv&&bv!==ar&&!bv.parentNode){return;}while(bv&&bv!==this){bv=bv.parentNode;}if(bv!==this){b.event.handle.apply(this,arguments);}}catch(bx){}},aT=function(e){e.type=e.data;b.event.handle.apply(this,arguments);};b.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(bv,e){b.event.special[bv]={setup:function(bw){b.event.add(this,e,bw&&bw.selector?aT:ac,bv);
},teardown:function(bw){b.event.remove(this,e,bw&&bw.selector?aT:ac);}};});if(!b.support.submitBubbles){b.event.special.submit={setup:function(bv,e){if(!b.nodeName(this,"form")){b.event.add(this,"click.specialSubmit",function(by){var bx=by.target,bw=bx.type;if((bw==="submit"||bw==="image")&&b(bx).closest("form").length){aW("submit",this,arguments);
}});b.event.add(this,"keypress.specialSubmit",function(by){var bx=by.target,bw=bx.type;if((bw==="text"||bw==="password")&&b(bx).closest("form").length&&by.keyCode===13){aW("submit",this,arguments);}});}else{return false;}},teardown:function(e){b.event.remove(this,".specialSubmit");}};}if(!b.support.changeBubbles){var bn,k=function(bv){var e=bv.type,bw=bv.value;
if(e==="radio"||e==="checkbox"){bw=bv.checked;}else{if(e==="select-multiple"){bw=bv.selectedIndex>-1?b.map(bv.options,function(bx){return bx.selected;}).join("-"):"";}else{if(b.nodeName(bv,"select")){bw=bv.selectedIndex;}}}return bw;},aa=function aa(bx){var bv=bx.target,bw,by;if(!be.test(bv.nodeName)||bv.readOnly){return;
}bw=b._data(bv,"_change_data");by=k(bv);if(bx.type!=="focusout"||bv.type!=="radio"){b._data(bv,"_change_data",by);}if(bw===L||by===bw){return;}if(bw!=null||by){bx.type="change";bx.liveFired=L;b.event.trigger(bx,arguments[1],bv);}};b.event.special.change={filters:{focusout:aa,beforedeactivate:aa,click:function(bx){var bw=bx.target,bv=b.nodeName(bw,"input")?bw.type:"";
if(bv==="radio"||bv==="checkbox"||b.nodeName(bw,"select")){aa.call(this,bx);}},keydown:function(bx){var bw=bx.target,bv=b.nodeName(bw,"input")?bw.type:"";if((bx.keyCode===13&&!b.nodeName(bw,"textarea"))||(bx.keyCode===32&&(bv==="checkbox"||bv==="radio"))||bv==="select-multiple"){aa.call(this,bx);}},beforeactivate:function(bw){var bv=bw.target;
b._data(bv,"_change_data",k(bv));}},setup:function(bw,bv){if(this.type==="file"){return false;}for(var e in bn){b.event.add(this,e+".specialChange",bn[e]);}return be.test(this.nodeName);},teardown:function(e){b.event.remove(this,".specialChange");return be.test(this.nodeName);}};bn=b.event.special.change.filters;
bn.focus=bn.beforeactivate;}function aW(bv,bx,e){var bw=b.extend({},e[0]);bw.type=bv;bw.originalEvent={};bw.liveFired=L;b.event.handle.call(bx,bw);if(bw.isDefaultPrevented()){e[0].preventDefault();}}if(!b.support.focusinBubbles){b.each({focus:"focusin",blur:"focusout"},function(bx,e){var bv=0;b.event.special[e]={setup:function(){if(bv++===0){ar.addEventListener(bx,bw,true);
}},teardown:function(){if(--bv===0){ar.removeEventListener(bx,bw,true);}}};function bw(by){var bz=b.event.fix(by);bz.type=e;bz.originalEvent={};b.event.trigger(bz,null,bz.target);if(bz.isDefaultPrevented()){by.preventDefault();}}});}b.each(["bind","one"],function(bv,e){b.fn[e]=function(bB,bC,bA){var bz;
if(typeof bB==="object"){for(var by in bB){this[e](by,bC,bB[by],bA);}return this;}if(arguments.length===2||bC===false){bA=bC;bC=L;}if(e==="one"){bz=function(bD){b(this).unbind(bD,bz);return bA.apply(this,arguments);};bz.guid=bA.guid||b.guid++;}else{bz=bA;}if(bB==="unload"&&e!=="one"){this.one(bB,bC,bA);
}else{for(var bx=0,bw=this.length;bx<bw;bx++){b.event.add(this[bx],bB,bz,bC);}}return this;};});b.fn.extend({unbind:function(by,bx){if(typeof by==="object"&&!by.preventDefault){for(var bw in by){this.unbind(bw,by[bw]);}}else{for(var bv=0,e=this.length;bv<e;bv++){b.event.remove(this[bv],by,bx);}}return this;
},delegate:function(e,bv,bx,bw){return this.live(bv,bx,bw,e);},undelegate:function(e,bv,bw){if(arguments.length===0){return this.unbind("live");}else{return this.die(bv,null,bw,e);}},trigger:function(e,bv){return this.each(function(){b.event.trigger(e,bv,this);});},triggerHandler:function(e,bv){if(this[0]){return b.event.trigger(e,bv,this[0],true);
}},toggle:function(bx){var bv=arguments,e=bx.guid||b.guid++,bw=0,by=function(bz){var bA=(b.data(this,"lastToggle"+bx.guid)||0)%bw;b.data(this,"lastToggle"+bx.guid,bA+1);bz.preventDefault();return bv[bA].apply(this,arguments)||false;};by.guid=e;while(bw<bv.length){bv[bw++].guid=e;}return this.click(by);
},hover:function(e,bv){return this.mouseenter(e).mouseleave(bv||e);}});var aR={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};b.each(["live","die"],function(bv,e){b.fn[e]=function(bF,bC,bH,by){var bG,bD=0,bE,bx,bJ,bA=by||this.selector,bw=by?this:b(this.context);if(typeof bF==="object"&&!bF.preventDefault){for(var bI in bF){bw[e](bI,bC,bF[bI],bA);
}return this;}if(e==="die"&&!bF&&by&&by.charAt(0)==="."){bw.unbind(by);return this;}if(bC===false||b.isFunction(bC)){bH=bC||bk;bC=L;}bF=(bF||"").split(" ");while((bG=bF[bD++])!=null){bE=aZ.exec(bG);bx="";if(bE){bx=bE[0];bG=bG.replace(aZ,"");}if(bG==="hover"){bF.push("mouseenter"+bx,"mouseleave"+bx);continue;
}bJ=bG;if(aR[bG]){bF.push(aR[bG]+bx);bG=bG+bx;}else{bG=(aR[bG]||bG)+bx;}if(e==="live"){for(var bB=0,bz=bw.length;bB<bz;bB++){b.event.add(bw[bB],"live."+q(bG,bA),{data:bC,selector:bA,handler:bH,origType:bG,origHandler:bH,preType:bJ});}}else{bw.unbind("live."+q(bG,bA),bH);}}return this;};});function aj(bF){var bC,bx,bL,bz,e,bH,bE,bG,bD,bK,bB,bA,bJ,bI=[],by=[],bv=b._data(this,"events");
if(bF.liveFired===this||!bv||!bv.live||bF.target.disabled||bF.button&&bF.type==="click"){return;}if(bF.namespace){bA=new RegExp("(^|\\.)"+bF.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)");}bF.liveFired=this;var bw=bv.live.slice(0);for(bE=0;bE<bw.length;bE++){e=bw[bE];if(e.origType.replace(aZ,"")===bF.type){by.push(e.selector);
}else{bw.splice(bE--,1);}}bz=b(bF.target).closest(by,bF.currentTarget);for(bG=0,bD=bz.length;bG<bD;bG++){bB=bz[bG];for(bE=0;bE<bw.length;bE++){e=bw[bE];if(bB.selector===e.selector&&(!bA||bA.test(e.namespace))&&!bB.elem.disabled){bH=bB.elem;bL=null;if(e.preType==="mouseenter"||e.preType==="mouseleave"){bF.type=e.preType;
bL=b(bF.relatedTarget).closest(e.selector)[0];if(bL&&b.contains(bH,bL)){bL=bH;}}if(!bL||bL!==bH){bI.push({elem:bH,handleObj:e,level:bB.level});}}}}for(bG=0,bD=bI.length;bG<bD;bG++){bz=bI[bG];if(bx&&bz.level>bx){break;}bF.currentTarget=bz.elem;bF.data=bz.handleObj.data;bF.handleObj=bz.handleObj;bJ=bz.handleObj.origHandler.apply(bz.elem,arguments);
if(bJ===false||bF.isPropagationStopped()){bx=bz.level;if(bJ===false){bC=false;}if(bF.isImmediatePropagationStopped()){break;}}}return bC;}function q(bv,e){return(bv&&bv!=="*"?bv+".":"")+e.replace(O,"`").replace(bi,"&");}b.each(("blur focus focusin focusout load resize scroll unload click dblclick "+"mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave "+"change select submit keydown keypress keyup error").split(" "),function(bv,e){b.fn[e]=function(bx,bw){if(bw==null){bw=bx;
bx=null;}return arguments.length>0?this.bind(e,bx,bw):this.trigger(e);};if(b.attrFn){b.attrFn[e]=true;}});
/*
 * Sizzle CSS Selector Engine
 *  Copyright 2011, The Dojo Foundation
 *  Released under the MIT, BSD, and GPL Licenses.
 *  More information: http://sizzlejs.com/
 */
(function(){var bF=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,bG=0,bJ=Object.prototype.toString,bA=false,bz=true,bH=/\\/g,bN=/\W/;
[0,0].sort(function(){bz=false;return 0;});var bx=function(bS,e,bV,bW){bV=bV||[];e=e||ar;var bY=e;if(e.nodeType!==1&&e.nodeType!==9){return[];}if(!bS||typeof bS!=="string"){return bV;}var bP,b0,b3,bO,bZ,b2,b1,bU,bR=true,bQ=bx.isXML(e),bT=[],bX=bS;do{bF.exec("");bP=bF.exec(bX);if(bP){bX=bP[3];bT.push(bP[1]);
if(bP[2]){bO=bP[3];break;}}}while(bP);if(bT.length>1&&bB.exec(bS)){if(bT.length===2&&bC.relative[bT[0]]){b0=bK(bT[0]+bT[1],e);}else{b0=bC.relative[bT[0]]?[e]:bx(bT.shift(),e);while(bT.length){bS=bT.shift();if(bC.relative[bS]){bS+=bT.shift();}b0=bK(bS,b0);}}}else{if(!bW&&bT.length>1&&e.nodeType===9&&!bQ&&bC.match.ID.test(bT[0])&&!bC.match.ID.test(bT[bT.length-1])){bZ=bx.find(bT.shift(),e,bQ);
e=bZ.expr?bx.filter(bZ.expr,bZ.set)[0]:bZ.set[0];}if(e){bZ=bW?{expr:bT.pop(),set:bD(bW)}:bx.find(bT.pop(),bT.length===1&&(bT[0]==="~"||bT[0]==="+")&&e.parentNode?e.parentNode:e,bQ);b0=bZ.expr?bx.filter(bZ.expr,bZ.set):bZ.set;if(bT.length>0){b3=bD(b0);}else{bR=false;}while(bT.length){b2=bT.pop();b1=b2;
if(!bC.relative[b2]){b2="";}else{b1=bT.pop();}if(b1==null){b1=e;}bC.relative[b2](b3,b1,bQ);}}else{b3=bT=[];}}if(!b3){b3=b0;}if(!b3){bx.error(b2||bS);}if(bJ.call(b3)==="[object Array]"){if(!bR){bV.push.apply(bV,b3);}else{if(e&&e.nodeType===1){for(bU=0;b3[bU]!=null;bU++){if(b3[bU]&&(b3[bU]===true||b3[bU].nodeType===1&&bx.contains(e,b3[bU]))){bV.push(b0[bU]);
}}}else{for(bU=0;b3[bU]!=null;bU++){if(b3[bU]&&b3[bU].nodeType===1){bV.push(b0[bU]);}}}}}else{bD(b3,bV);}if(bO){bx(bO,bY,bV,bW);bx.uniqueSort(bV);}return bV;};bx.uniqueSort=function(bO){if(bI){bA=bz;bO.sort(bI);if(bA){for(var e=1;e<bO.length;e++){if(bO[e]===bO[e-1]){bO.splice(e--,1);}}}}return bO;};bx.matches=function(e,bO){return bx(e,null,null,bO);
};bx.matchesSelector=function(e,bO){return bx(bO,null,null,[e]).length>0;};bx.find=function(bU,e,bV){var bT;if(!bU){return[];}for(var bQ=0,bP=bC.order.length;bQ<bP;bQ++){var bR,bS=bC.order[bQ];if((bR=bC.leftMatch[bS].exec(bU))){var bO=bR[1];bR.splice(1,1);if(bO.substr(bO.length-1)!=="\\"){bR[1]=(bR[1]||"").replace(bH,"");
bT=bC.find[bS](bR,e,bV);if(bT!=null){bU=bU.replace(bC.match[bS],"");break;}}}}if(!bT){bT=typeof e.getElementsByTagName!=="undefined"?e.getElementsByTagName("*"):[];}return{set:bT,expr:bU};};bx.filter=function(bY,bX,b1,bR){var bT,e,bP=bY,b3=[],bV=bX,bU=bX&&bX[0]&&bx.isXML(bX[0]);while(bY&&bX.length){for(var bW in bC.filter){if((bT=bC.leftMatch[bW].exec(bY))!=null&&bT[2]){var b2,b0,bO=bC.filter[bW],bQ=bT[1];
e=false;bT.splice(1,1);if(bQ.substr(bQ.length-1)==="\\"){continue;}if(bV===b3){b3=[];}if(bC.preFilter[bW]){bT=bC.preFilter[bW](bT,bV,b1,b3,bR,bU);if(!bT){e=b2=true;}else{if(bT===true){continue;}}}if(bT){for(var bS=0;(b0=bV[bS])!=null;bS++){if(b0){b2=bO(b0,bT,bS,bV);var bZ=bR^!!b2;if(b1&&b2!=null){if(bZ){e=true;
}else{bV[bS]=false;}}else{if(bZ){b3.push(b0);e=true;}}}}}if(b2!==L){if(!b1){bV=b3;}bY=bY.replace(bC.match[bW],"");if(!e){return[];}break;}}}if(bY===bP){if(e==null){bx.error(bY);}else{break;}}bP=bY;}return bV;};bx.error=function(e){throw"Syntax error, unrecognized expression: "+e;};var bC=bx.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(e){return e.getAttribute("href");
},type:function(e){return e.getAttribute("type");}},relative:{"+":function(bT,bO){var bQ=typeof bO==="string",bS=bQ&&!bN.test(bO),bU=bQ&&!bS;if(bS){bO=bO.toLowerCase();}for(var bP=0,e=bT.length,bR;bP<e;bP++){if((bR=bT[bP])){while((bR=bR.previousSibling)&&bR.nodeType!==1){}bT[bP]=bU||bR&&bR.nodeName.toLowerCase()===bO?bR||false:bR===bO;
}}if(bU){bx.filter(bO,bT,true);}},">":function(bT,bO){var bS,bR=typeof bO==="string",bP=0,e=bT.length;if(bR&&!bN.test(bO)){bO=bO.toLowerCase();for(;bP<e;bP++){bS=bT[bP];if(bS){var bQ=bS.parentNode;bT[bP]=bQ.nodeName.toLowerCase()===bO?bQ:false;}}}else{for(;bP<e;bP++){bS=bT[bP];if(bS){bT[bP]=bR?bS.parentNode:bS.parentNode===bO;
}}if(bR){bx.filter(bO,bT,true);}}},"":function(bQ,bO,bS){var bR,bP=bG++,e=bL;if(typeof bO==="string"&&!bN.test(bO)){bO=bO.toLowerCase();bR=bO;e=bv;}e("parentNode",bO,bP,bQ,bR,bS);},"~":function(bQ,bO,bS){var bR,bP=bG++,e=bL;if(typeof bO==="string"&&!bN.test(bO)){bO=bO.toLowerCase();bR=bO;e=bv;}e("previousSibling",bO,bP,bQ,bR,bS);
}},find:{ID:function(bO,bP,bQ){if(typeof bP.getElementById!=="undefined"&&!bQ){var e=bP.getElementById(bO[1]);return e&&e.parentNode?[e]:[];}},NAME:function(bP,bS){if(typeof bS.getElementsByName!=="undefined"){var bO=[],bR=bS.getElementsByName(bP[1]);for(var bQ=0,e=bR.length;bQ<e;bQ++){if(bR[bQ].getAttribute("name")===bP[1]){bO.push(bR[bQ]);
}}return bO.length===0?null:bO;}},TAG:function(e,bO){if(typeof bO.getElementsByTagName!=="undefined"){return bO.getElementsByTagName(e[1]);}}},preFilter:{CLASS:function(bQ,bO,bP,e,bT,bU){bQ=" "+bQ[1].replace(bH,"")+" ";if(bU){return bQ;}for(var bR=0,bS;(bS=bO[bR])!=null;bR++){if(bS){if(bT^(bS.className&&(" "+bS.className+" ").replace(/[\t\n\r]/g," ").indexOf(bQ)>=0)){if(!bP){e.push(bS);
}}else{if(bP){bO[bR]=false;}}}}return false;},ID:function(e){return e[1].replace(bH,"");},TAG:function(bO,e){return bO[1].replace(bH,"").toLowerCase();},CHILD:function(e){if(e[1]==="nth"){if(!e[2]){bx.error(e[0]);}e[2]=e[2].replace(/^\+|\s*/g,"");var bO=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(e[2]==="even"&&"2n"||e[2]==="odd"&&"2n+1"||!/\D/.test(e[2])&&"0n+"+e[2]||e[2]);
e[2]=(bO[1]+(bO[2]||1))-0;e[3]=bO[3]-0;}else{if(e[2]){bx.error(e[0]);}}e[0]=bG++;return e;},ATTR:function(bR,bO,bP,e,bS,bT){var bQ=bR[1]=bR[1].replace(bH,"");if(!bT&&bC.attrMap[bQ]){bR[1]=bC.attrMap[bQ];}bR[4]=(bR[4]||bR[5]||"").replace(bH,"");if(bR[2]==="~="){bR[4]=" "+bR[4]+" ";}return bR;},PSEUDO:function(bR,bO,bP,e,bS){if(bR[1]==="not"){if((bF.exec(bR[3])||"").length>1||/^\w/.test(bR[3])){bR[3]=bx(bR[3],null,null,bO);
}else{var bQ=bx.filter(bR[3],bO,bP,true^bS);if(!bP){e.push.apply(e,bQ);}return false;}}else{if(bC.match.POS.test(bR[0])||bC.match.CHILD.test(bR[0])){return true;}}return bR;},POS:function(e){e.unshift(true);return e;}},filters:{enabled:function(e){return e.disabled===false&&e.type!=="hidden";},disabled:function(e){return e.disabled===true;
},checked:function(e){return e.checked===true;},selected:function(e){if(e.parentNode){e.parentNode.selectedIndex;}return e.selected===true;},parent:function(e){return !!e.firstChild;},empty:function(e){return !e.firstChild;},has:function(bP,bO,e){return !!bx(e[3],bP).length;},header:function(e){return(/h\d/i).test(e.nodeName);
},text:function(bP){var e=bP.getAttribute("type"),bO=bP.type;return bP.nodeName.toLowerCase()==="input"&&"text"===bO&&(e===bO||e===null);},radio:function(e){return e.nodeName.toLowerCase()==="input"&&"radio"===e.type;},checkbox:function(e){return e.nodeName.toLowerCase()==="input"&&"checkbox"===e.type;
},file:function(e){return e.nodeName.toLowerCase()==="input"&&"file"===e.type;},password:function(e){return e.nodeName.toLowerCase()==="input"&&"password"===e.type;},submit:function(bO){var e=bO.nodeName.toLowerCase();return(e==="input"||e==="button")&&"submit"===bO.type;},image:function(e){return e.nodeName.toLowerCase()==="input"&&"image"===e.type;
},reset:function(bO){var e=bO.nodeName.toLowerCase();return(e==="input"||e==="button")&&"reset"===bO.type;},button:function(bO){var e=bO.nodeName.toLowerCase();return e==="input"&&"button"===bO.type||e==="button";},input:function(e){return(/input|select|textarea|button/i).test(e.nodeName);},focus:function(e){return e===e.ownerDocument.activeElement;
}},setFilters:{first:function(bO,e){return e===0;},last:function(bP,bO,e,bQ){return bO===bQ.length-1;},even:function(bO,e){return e%2===0;},odd:function(bO,e){return e%2===1;},lt:function(bP,bO,e){return bO<e[3]-0;},gt:function(bP,bO,e){return bO>e[3]-0;},nth:function(bP,bO,e){return e[3]-0===bO;},eq:function(bP,bO,e){return e[3]-0===bO;
}},filter:{PSEUDO:function(bP,bU,bT,bV){var e=bU[1],bO=bC.filters[e];if(bO){return bO(bP,bT,bU,bV);}else{if(e==="contains"){return(bP.textContent||bP.innerText||bx.getText([bP])||"").indexOf(bU[3])>=0;}else{if(e==="not"){var bQ=bU[3];for(var bS=0,bR=bQ.length;bS<bR;bS++){if(bQ[bS]===bP){return false;
}}return true;}else{bx.error(e);}}}},CHILD:function(e,bQ){var bT=bQ[1],bO=e;switch(bT){case"only":case"first":while((bO=bO.previousSibling)){if(bO.nodeType===1){return false;}}if(bT==="first"){return true;}bO=e;case"last":while((bO=bO.nextSibling)){if(bO.nodeType===1){return false;}}return true;case"nth":var bP=bQ[2],bW=bQ[3];
if(bP===1&&bW===0){return true;}var bS=bQ[0],bV=e.parentNode;if(bV&&(bV.sizcache!==bS||!e.nodeIndex)){var bR=0;for(bO=bV.firstChild;bO;bO=bO.nextSibling){if(bO.nodeType===1){bO.nodeIndex=++bR;}}bV.sizcache=bS;}var bU=e.nodeIndex-bW;if(bP===0){return bU===0;}else{return(bU%bP===0&&bU/bP>=0);}}},ID:function(bO,e){return bO.nodeType===1&&bO.getAttribute("id")===e;
},TAG:function(bO,e){return(e==="*"&&bO.nodeType===1)||bO.nodeName.toLowerCase()===e;},CLASS:function(bO,e){return(" "+(bO.className||bO.getAttribute("class"))+" ").indexOf(e)>-1;},ATTR:function(bS,bQ){var bP=bQ[1],e=bC.attrHandle[bP]?bC.attrHandle[bP](bS):bS[bP]!=null?bS[bP]:bS.getAttribute(bP),bT=e+"",bR=bQ[2],bO=bQ[4];
return e==null?bR==="!=":bR==="="?bT===bO:bR==="*="?bT.indexOf(bO)>=0:bR==="~="?(" "+bT+" ").indexOf(bO)>=0:!bO?bT&&e!==false:bR==="!="?bT!==bO:bR==="^="?bT.indexOf(bO)===0:bR==="$="?bT.substr(bT.length-bO.length)===bO:bR==="|="?bT===bO||bT.substr(0,bO.length+1)===bO+"-":false;},POS:function(bR,bO,bP,bS){var e=bO[2],bQ=bC.setFilters[e];
if(bQ){return bQ(bR,bP,bO,bS);}}}};var bB=bC.match.POS,bw=function(bO,e){return"\\"+(e-0+1);};for(var by in bC.match){bC.match[by]=new RegExp(bC.match[by].source+(/(?![^\[]*\])(?![^\(]*\))/.source));bC.leftMatch[by]=new RegExp(/(^(?:.|\r|\n)*?)/.source+bC.match[by].source.replace(/\\(\d+)/g,bw));}var bD=function(bO,e){bO=Array.prototype.slice.call(bO,0);
if(e){e.push.apply(e,bO);return e;}return bO;};try{Array.prototype.slice.call(ar.documentElement.childNodes,0)[0].nodeType;}catch(bM){bD=function(bR,bQ){var bP=0,bO=bQ||[];if(bJ.call(bR)==="[object Array]"){Array.prototype.push.apply(bO,bR);}else{if(typeof bR.length==="number"){for(var e=bR.length;bP<e;
bP++){bO.push(bR[bP]);}}else{for(;bR[bP];bP++){bO.push(bR[bP]);}}}return bO;};}var bI,bE;if(ar.documentElement.compareDocumentPosition){bI=function(bO,e){if(bO===e){bA=true;return 0;}if(!bO.compareDocumentPosition||!e.compareDocumentPosition){return bO.compareDocumentPosition?-1:1;}return bO.compareDocumentPosition(e)&4?-1:1;
};}else{bI=function(bV,bU){if(bV===bU){bA=true;return 0;}else{if(bV.sourceIndex&&bU.sourceIndex){return bV.sourceIndex-bU.sourceIndex;}}var bS,bO,bP=[],e=[],bR=bV.parentNode,bT=bU.parentNode,bW=bR;if(bR===bT){return bE(bV,bU);}else{if(!bR){return -1;}else{if(!bT){return 1;}}}while(bW){bP.unshift(bW);
bW=bW.parentNode;}bW=bT;while(bW){e.unshift(bW);bW=bW.parentNode;}bS=bP.length;bO=e.length;for(var bQ=0;bQ<bS&&bQ<bO;bQ++){if(bP[bQ]!==e[bQ]){return bE(bP[bQ],e[bQ]);}}return bQ===bS?bE(bV,e[bQ],-1):bE(bP[bQ],bU,1);};bE=function(bO,e,bP){if(bO===e){return bP;}var bQ=bO.nextSibling;while(bQ){if(bQ===e){return -1;
}bQ=bQ.nextSibling;}return 1;};}bx.getText=function(e){var bO="",bQ;for(var bP=0;e[bP];bP++){bQ=e[bP];if(bQ.nodeType===3||bQ.nodeType===4){bO+=bQ.nodeValue;}else{if(bQ.nodeType!==8){bO+=bx.getText(bQ.childNodes);}}}return bO;};(function(){var bO=ar.createElement("div"),bP="script"+(new Date()).getTime(),e=ar.documentElement;
bO.innerHTML="<a name='"+bP+"'/>";e.insertBefore(bO,e.firstChild);if(ar.getElementById(bP)){bC.find.ID=function(bR,bS,bT){if(typeof bS.getElementById!=="undefined"&&!bT){var bQ=bS.getElementById(bR[1]);return bQ?bQ.id===bR[1]||typeof bQ.getAttributeNode!=="undefined"&&bQ.getAttributeNode("id").nodeValue===bR[1]?[bQ]:L:[];
}};bC.filter.ID=function(bS,bQ){var bR=typeof bS.getAttributeNode!=="undefined"&&bS.getAttributeNode("id");return bS.nodeType===1&&bR&&bR.nodeValue===bQ;};}e.removeChild(bO);e=bO=null;})();(function(){var e=ar.createElement("div");e.appendChild(ar.createComment(""));if(e.getElementsByTagName("*").length>0){bC.find.TAG=function(bO,bS){var bR=bS.getElementsByTagName(bO[1]);
if(bO[1]==="*"){var bQ=[];for(var bP=0;bR[bP];bP++){if(bR[bP].nodeType===1){bQ.push(bR[bP]);}}bR=bQ;}return bR;};}e.innerHTML="<a href='#'></a>";if(e.firstChild&&typeof e.firstChild.getAttribute!=="undefined"&&e.firstChild.getAttribute("href")!=="#"){bC.attrHandle.href=function(bO){return bO.getAttribute("href",2);
};}e=null;})();if(ar.querySelectorAll){(function(){var e=bx,bQ=ar.createElement("div"),bP="__sizzle__";bQ.innerHTML="<p class='TEST'></p>";if(bQ.querySelectorAll&&bQ.querySelectorAll(".TEST").length===0){return;}bx=function(b1,bS,bW,b0){bS=bS||ar;if(!b0&&!bx.isXML(bS)){var bZ=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b1);
if(bZ&&(bS.nodeType===1||bS.nodeType===9)){if(bZ[1]){return bD(bS.getElementsByTagName(b1),bW);}else{if(bZ[2]&&bC.find.CLASS&&bS.getElementsByClassName){return bD(bS.getElementsByClassName(bZ[2]),bW);}}}if(bS.nodeType===9){if(b1==="body"&&bS.body){return bD([bS.body],bW);}else{if(bZ&&bZ[3]){var bV=bS.getElementById(bZ[3]);
if(bV&&bV.parentNode){if(bV.id===bZ[3]){return bD([bV],bW);}}else{return bD([],bW);}}}try{return bD(bS.querySelectorAll(b1),bW);}catch(bX){}}else{if(bS.nodeType===1&&bS.nodeName.toLowerCase()!=="object"){var bT=bS,bU=bS.getAttribute("id"),bR=bU||bP,b3=bS.parentNode,b2=/^\s*[+~]/.test(b1);if(!bU){bS.setAttribute("id",bR);
}else{bR=bR.replace(/'/g,"\\$&");}if(b2&&b3){bS=bS.parentNode;}try{if(!b2||b3){return bD(bS.querySelectorAll("[id='"+bR+"'] "+b1),bW);}}catch(bY){}finally{if(!bU){bT.removeAttribute("id");}}}}}return e(b1,bS,bW,b0);};for(var bO in e){bx[bO]=e[bO];}bQ=null;})();}(function(){var e=ar.documentElement,bP=e.matchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.msMatchesSelector;
if(bP){var bR=!bP.call(ar.createElement("div"),"div"),bO=false;try{bP.call(ar.documentElement,"[test!='']:sizzle");}catch(bQ){bO=true;}bx.matchesSelector=function(bT,bV){bV=bV.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!bx.isXML(bT)){try{if(bO||!bC.match.PSEUDO.test(bV)&&!/!=/.test(bV)){var bS=bP.call(bT,bV);
if(bS||!bR||bT.document&&bT.document.nodeType!==11){return bS;}}}catch(bU){}}return bx(bV,null,null,[bT]).length>0;};}})();(function(){var e=ar.createElement("div");e.innerHTML="<div class='test e'></div><div class='test'></div>";if(!e.getElementsByClassName||e.getElementsByClassName("e").length===0){return;
}e.lastChild.className="e";if(e.getElementsByClassName("e").length===1){return;}bC.order.splice(1,0,"CLASS");bC.find.CLASS=function(bO,bP,bQ){if(typeof bP.getElementsByClassName!=="undefined"&&!bQ){return bP.getElementsByClassName(bO[1]);}};e=null;})();function bv(bO,bT,bS,bW,bU,bV){for(var bQ=0,bP=bW.length;
bQ<bP;bQ++){var e=bW[bQ];if(e){var bR=false;e=e[bO];while(e){if(e.sizcache===bS){bR=bW[e.sizset];break;}if(e.nodeType===1&&!bV){e.sizcache=bS;e.sizset=bQ;}if(e.nodeName.toLowerCase()===bT){bR=e;break;}e=e[bO];}bW[bQ]=bR;}}}function bL(bO,bT,bS,bW,bU,bV){for(var bQ=0,bP=bW.length;bQ<bP;bQ++){var e=bW[bQ];
if(e){var bR=false;e=e[bO];while(e){if(e.sizcache===bS){bR=bW[e.sizset];break;}if(e.nodeType===1){if(!bV){e.sizcache=bS;e.sizset=bQ;}if(typeof bT!=="string"){if(e===bT){bR=true;break;}}else{if(bx.filter(bT,[e]).length>0){bR=e;break;}}}e=e[bO];}bW[bQ]=bR;}}}if(ar.documentElement.contains){bx.contains=function(bO,e){return bO!==e&&(bO.contains?bO.contains(e):true);
};}else{if(ar.documentElement.compareDocumentPosition){bx.contains=function(bO,e){return !!(bO.compareDocumentPosition(e)&16);};}else{bx.contains=function(){return false;};}}bx.isXML=function(e){var bO=(e?e.ownerDocument||e:0).documentElement;return bO?bO.nodeName!=="HTML":false;};var bK=function(e,bU){var bS,bQ=[],bR="",bP=bU.nodeType?[bU]:bU;
while((bS=bC.match.PSEUDO.exec(e))){bR+=bS[0];e=e.replace(bC.match.PSEUDO,"");}e=bC.relative[e]?e+"*":e;for(var bT=0,bO=bP.length;bT<bO;bT++){bx(e,bP[bT],bQ);}return bx.filter(bR,bQ);};b.find=bx;b.expr=bx.selectors;b.expr[":"]=b.expr.filters;b.unique=bx.uniqueSort;b.text=bx.getText;b.isXMLDoc=bx.isXML;
b.contains=bx.contains;})();var Z=/Until$/,an=/^(?:parents|prevUntil|prevAll)/,ba=/,/,bq=/^.[^:#\[\.,]*$/,Q=Array.prototype.slice,I=b.expr.match.POS,av={children:true,contents:true,next:true,prev:true};b.fn.extend({find:function(e){var bw=this,by,bv;if(typeof e!=="string"){return b(e).filter(function(){for(by=0,bv=bw.length;
by<bv;by++){if(b.contains(bw[by],this)){return true;}}});}var bx=this.pushStack("","find",e),bA,bB,bz;for(by=0,bv=this.length;by<bv;by++){bA=bx.length;b.find(e,this[by],bx);if(by>0){for(bB=bA;bB<bx.length;bB++){for(bz=0;bz<bA;bz++){if(bx[bz]===bx[bB]){bx.splice(bB--,1);break;}}}}}return bx;},has:function(bv){var e=b(bv);
return this.filter(function(){for(var bx=0,bw=e.length;bx<bw;bx++){if(b.contains(this,e[bx])){return true;}}});},not:function(e){return this.pushStack(aC(this,e,false),"not",e);},filter:function(e){return this.pushStack(aC(this,e,true),"filter",e);},is:function(e){return !!e&&(typeof e==="string"?b.filter(e,this).length>0:this.filter(e).length>0);
},closest:function(bE,bv){var bB=[],by,bw,bD=this[0];if(b.isArray(bE)){var bA,bx,bz={},e=1;if(bD&&bE.length){for(by=0,bw=bE.length;by<bw;by++){bx=bE[by];if(!bz[bx]){bz[bx]=I.test(bx)?b(bx,bv||this.context):bx;}}while(bD&&bD.ownerDocument&&bD!==bv){for(bx in bz){bA=bz[bx];if(bA.jquery?bA.index(bD)>-1:b(bD).is(bA)){bB.push({selector:bx,elem:bD,level:e});
}}bD=bD.parentNode;e++;}}return bB;}var bC=I.test(bE)||typeof bE!=="string"?b(bE,bv||this.context):0;for(by=0,bw=this.length;by<bw;by++){bD=this[by];while(bD){if(bC?bC.index(bD)>-1:b.find.matchesSelector(bD,bE)){bB.push(bD);break;}else{bD=bD.parentNode;if(!bD||!bD.ownerDocument||bD===bv||bD.nodeType===11){break;
}}}}bB=bB.length>1?b.unique(bB):bB;return this.pushStack(bB,"closest",bE);},index:function(e){if(!e||typeof e==="string"){return b.inArray(this[0],e?b(e):this.parent().children());}return b.inArray(e.jquery?e[0]:e,this);},add:function(e,bv){var bx=typeof e==="string"?b(e,bv):b.makeArray(e&&e.nodeType?[e]:e),bw=b.merge(this.get(),bx);
return this.pushStack(D(bx[0])||D(bw[0])?bw:b.unique(bw));},andSelf:function(){return this.add(this.prevObject);}});function D(e){return !e||!e.parentNode||e.parentNode.nodeType===11;}b.each({parent:function(bv){var e=bv.parentNode;return e&&e.nodeType!==11?e:null;},parents:function(e){return b.dir(e,"parentNode");
},parentsUntil:function(bv,e,bw){return b.dir(bv,"parentNode",bw);},next:function(e){return b.nth(e,2,"nextSibling");},prev:function(e){return b.nth(e,2,"previousSibling");},nextAll:function(e){return b.dir(e,"nextSibling");},prevAll:function(e){return b.dir(e,"previousSibling");},nextUntil:function(bv,e,bw){return b.dir(bv,"nextSibling",bw);
},prevUntil:function(bv,e,bw){return b.dir(bv,"previousSibling",bw);},siblings:function(e){return b.sibling(e.parentNode.firstChild,e);},children:function(e){return b.sibling(e.firstChild);},contents:function(e){return b.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:b.makeArray(e.childNodes);
}},function(e,bv){b.fn[e]=function(bz,bw){var by=b.map(this,bv,bz),bx=Q.call(arguments);if(!Z.test(e)){bw=bz;}if(bw&&typeof bw==="string"){by=b.filter(bw,by);}by=this.length>1&&!av[e]?b.unique(by):by;if((this.length>1||ba.test(bw))&&an.test(e)){by=by.reverse();}return this.pushStack(by,e,bx.join(","));
};});b.extend({filter:function(bw,e,bv){if(bv){bw=":not("+bw+")";}return e.length===1?b.find.matchesSelector(e[0],bw)?[e[0]]:[]:b.find.matches(bw,e);},dir:function(bw,bv,by){var e=[],bx=bw[bv];while(bx&&bx.nodeType!==9&&(by===L||bx.nodeType!==1||!b(bx).is(by))){if(bx.nodeType===1){e.push(bx);}bx=bx[bv];
}return e;},nth:function(by,e,bw,bx){e=e||1;var bv=0;for(;by;by=by[bw]){if(by.nodeType===1&&++bv===e){break;}}return by;},sibling:function(bw,bv){var e=[];for(;bw;bw=bw.nextSibling){if(bw.nodeType===1&&bw!==bv){e.push(bw);}}return e;}});function aC(bx,bw,e){bw=bw||0;if(b.isFunction(bw)){return b.grep(bx,function(bz,by){var bA=!!bw.call(bz,by,bz);
return bA===e;});}else{if(bw.nodeType){return b.grep(bx,function(bz,by){return(bz===bw)===e;});}else{if(typeof bw==="string"){var bv=b.grep(bx,function(by){return by.nodeType===1;});if(bq.test(bw)){return b.filter(bw,bv,!e);}else{bw=b.filter(bw,bv);}}}}return b.grep(bx,function(bz,by){return(b.inArray(bz,bw)>=0)===e;
});}var ae=/ jQuery\d+="(?:\d+|null)"/g,ao=/^\s+/,T=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,d=/<([\w:]+)/,x=/<tbody/i,W=/<|&#?\w+;/,P=/<(?:script|object|embed|option|style)/i,o=/checked\s*(?:[^=]|=\s*.checked.)/i,bm=/\/(java|ecma)script/i,aL=/^\s*<!(?:\[CDATA\[|\-\-)/,au={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]};
au.optgroup=au.option;au.tbody=au.tfoot=au.colgroup=au.caption=au.thead;au.th=au.td;if(!b.support.htmlSerialize){au._default=[1,"div<div>","</div>"];}b.fn.extend({text:function(e){if(b.isFunction(e)){return this.each(function(bw){var bv=b(this);bv.text(e.call(this,bw,bv.text()));});}if(typeof e!=="object"&&e!==L){return this.empty().append((this[0]&&this[0].ownerDocument||ar).createTextNode(e));
}return b.text(this);},wrapAll:function(e){if(b.isFunction(e)){return this.each(function(bw){b(this).wrapAll(e.call(this,bw));});}if(this[0]){var bv=b(e,this[0].ownerDocument).eq(0).clone(true);if(this[0].parentNode){bv.insertBefore(this[0]);}bv.map(function(){var bw=this;while(bw.firstChild&&bw.firstChild.nodeType===1){bw=bw.firstChild;
}return bw;}).append(this);}return this;},wrapInner:function(e){if(b.isFunction(e)){return this.each(function(bv){b(this).wrapInner(e.call(this,bv));});}return this.each(function(){var bv=b(this),bw=bv.contents();if(bw.length){bw.wrapAll(e);}else{bv.append(e);}});},wrap:function(e){return this.each(function(){b(this).wrapAll(e);
});},unwrap:function(){return this.parent().each(function(){if(!b.nodeName(this,"body")){b(this).replaceWith(this.childNodes);}}).end();},append:function(){return this.domManip(arguments,true,function(e){if(this.nodeType===1){this.appendChild(e);}});},prepend:function(){return this.domManip(arguments,true,function(e){if(this.nodeType===1){this.insertBefore(e,this.firstChild);
}});},before:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(bv){this.parentNode.insertBefore(bv,this);});}else{if(arguments.length){var e=b(arguments[0]);e.push.apply(e,this.toArray());return this.pushStack(e,"before",arguments);}}},after:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(bv){this.parentNode.insertBefore(bv,this.nextSibling);
});}else{if(arguments.length){var e=this.pushStack(this,"after",arguments);e.push.apply(e,b(arguments[0]).toArray());return e;}}},remove:function(e,bx){for(var bv=0,bw;(bw=this[bv])!=null;bv++){if(!e||b.filter(e,[bw]).length){if(!bx&&bw.nodeType===1){b.cleanData(bw.getElementsByTagName("*"));b.cleanData([bw]);
}if(bw.parentNode){bw.parentNode.removeChild(bw);}}}return this;},empty:function(){for(var e=0,bv;(bv=this[e])!=null;e++){if(bv.nodeType===1){b.cleanData(bv.getElementsByTagName("*"));}while(bv.firstChild){bv.removeChild(bv.firstChild);}}return this;},clone:function(bv,e){bv=bv==null?false:bv;e=e==null?bv:e;
return this.map(function(){return b.clone(this,bv,e);});},html:function(bx){if(bx===L){return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(ae,""):null;}else{if(typeof bx==="string"&&!P.test(bx)&&(b.support.leadingWhitespace||!ao.test(bx))&&!au[(d.exec(bx)||["",""])[1].toLowerCase()]){bx=bx.replace(T,"<$1></$2>");
try{for(var bw=0,bv=this.length;bw<bv;bw++){if(this[bw].nodeType===1){b.cleanData(this[bw].getElementsByTagName("*"));this[bw].innerHTML=bx;}}}catch(by){this.empty().append(bx);}}else{if(b.isFunction(bx)){this.each(function(bz){var e=b(this);e.html(bx.call(this,bz,e.html()));});}else{this.empty().append(bx);
}}}return this;},replaceWith:function(e){if(this[0]&&this[0].parentNode){if(b.isFunction(e)){return this.each(function(bx){var bw=b(this),bv=bw.html();bw.replaceWith(e.call(this,bx,bv));});}if(typeof e!=="string"){e=b(e).detach();}return this.each(function(){var bw=this.nextSibling,bv=this.parentNode;
b(this).remove();if(bw){b(bw).before(e);}else{b(bv).append(e);}});}else{return this.length?this.pushStack(b(b.isFunction(e)?e():e),"replaceWith",e):this;}},detach:function(e){return this.remove(e,true);},domManip:function(bB,bF,bE){var bx,by,bA,bD,bC=bB[0],bv=[];if(!b.support.checkClone&&arguments.length===3&&typeof bC==="string"&&o.test(bC)){return this.each(function(){b(this).domManip(bB,bF,bE,true);
});}if(b.isFunction(bC)){return this.each(function(bH){var bG=b(this);bB[0]=bC.call(this,bH,bF?bG.html():L);bG.domManip(bB,bF,bE);});}if(this[0]){bD=bC&&bC.parentNode;if(b.support.parentNode&&bD&&bD.nodeType===11&&bD.childNodes.length===this.length){bx={fragment:bD};}else{bx=b.buildFragment(bB,this,bv);
}bA=bx.fragment;if(bA.childNodes.length===1){by=bA=bA.firstChild;}else{by=bA.firstChild;}if(by){bF=bF&&b.nodeName(by,"tr");for(var bw=0,e=this.length,bz=e-1;bw<e;bw++){bE.call(bF?bb(this[bw],by):this[bw],bx.cacheable||(e>1&&bw<bz)?b.clone(bA,true,true):bA);}}if(bv.length){b.each(bv,bp);}}return this;
}});function bb(e,bv){return b.nodeName(e,"table")?(e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody"))):e;}function u(e,bB){if(bB.nodeType!==1||!b.hasData(e)){return;}var bA=b.expando,bx=b.data(e),by=b.data(bB,bx);if((bx=bx[bA])){var bC=bx.events;by=by[bA]=b.extend({},bx);
if(bC){delete by.handle;by.events={};for(var bz in bC){for(var bw=0,bv=bC[bz].length;bw<bv;bw++){b.event.add(bB,bz+(bC[bz][bw].namespace?".":"")+bC[bz][bw].namespace,bC[bz][bw],bC[bz][bw].data);}}}}}function af(bv,e){var bw;if(e.nodeType!==1){return;}if(e.clearAttributes){e.clearAttributes();}if(e.mergeAttributes){e.mergeAttributes(bv);
}bw=e.nodeName.toLowerCase();if(bw==="object"){e.outerHTML=bv.outerHTML;}else{if(bw==="input"&&(bv.type==="checkbox"||bv.type==="radio")){if(bv.checked){e.defaultChecked=e.checked=bv.checked;}if(e.value!==bv.value){e.value=bv.value;}}else{if(bw==="option"){e.selected=bv.defaultSelected;}else{if(bw==="input"||bw==="textarea"){e.defaultValue=bv.defaultValue;
}}}}e.removeAttribute(b.expando);}b.buildFragment=function(bz,bx,bv){var by,e,bw,bA=(bx&&bx[0]?bx[0].ownerDocument||bx[0]:ar);if(bz.length===1&&typeof bz[0]==="string"&&bz[0].length<512&&bA===ar&&bz[0].charAt(0)==="<"&&!P.test(bz[0])&&(b.support.checkClone||!o.test(bz[0]))){e=true;bw=b.fragments[bz[0]];
if(bw&&bw!==1){by=bw;}}if(!by){by=bA.createDocumentFragment();b.clean(bz,bA,by,bv);}if(e){b.fragments[bz[0]]=bw?by:1;}return{fragment:by,cacheable:e};};b.fragments={};b.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,bv){b.fn[e]=function(bw){var bz=[],bC=b(bw),bB=this.length===1&&this[0].parentNode;
if(bB&&bB.nodeType===11&&bB.childNodes.length===1&&bC.length===1){bC[bv](this[0]);return this;}else{for(var bA=0,bx=bC.length;bA<bx;bA++){var by=(bA>0?this.clone(true):this).get();b(bC[bA])[bv](by);bz=bz.concat(by);}return this.pushStack(bz,e,bC.selector);}};});function bf(e){if("getElementsByTagName" in e){return e.getElementsByTagName("*");
}else{if("querySelectorAll" in e){return e.querySelectorAll("*");}else{return[];}}}function aw(e){if(e.type==="checkbox"||e.type==="radio"){e.defaultChecked=e.checked;}}function F(e){if(b.nodeName(e,"input")){aw(e);}else{if(e.getElementsByTagName){b.grep(e.getElementsByTagName("input"),aw);}}}b.extend({clone:function(by,bA,bw){var bz=by.cloneNode(true),e,bv,bx;
if((!b.support.noCloneEvent||!b.support.noCloneChecked)&&(by.nodeType===1||by.nodeType===11)&&!b.isXMLDoc(by)){af(by,bz);e=bf(by);bv=bf(bz);for(bx=0;e[bx];++bx){af(e[bx],bv[bx]);}}if(bA){u(by,bz);if(bw){e=bf(by);bv=bf(bz);for(bx=0;e[bx];++bx){u(e[bx],bv[bx]);}}}return bz;},clean:function(bw,by,bH,bA){var bF;
by=by||ar;if(typeof by.createElement==="undefined"){by=by.ownerDocument||by[0]&&by[0].ownerDocument||ar;}var bI=[],bB;for(var bE=0,bz;(bz=bw[bE])!=null;bE++){if(typeof bz==="number"){bz+="";}if(!bz){continue;}if(typeof bz==="string"){if(!W.test(bz)){bz=by.createTextNode(bz);}else{bz=bz.replace(T,"<$1></$2>");
var bK=(d.exec(bz)||["",""])[1].toLowerCase(),bx=au[bK]||au._default,bD=bx[0],bv=by.createElement("div");bv.innerHTML=bx[1]+bz+bx[2];while(bD--){bv=bv.lastChild;}if(!b.support.tbody){var e=x.test(bz),bC=bK==="table"&&!e?bv.firstChild&&bv.firstChild.childNodes:bx[1]==="<table>"&&!e?bv.childNodes:[];for(bB=bC.length-1;
bB>=0;--bB){if(b.nodeName(bC[bB],"tbody")&&!bC[bB].childNodes.length){bC[bB].parentNode.removeChild(bC[bB]);}}}if(!b.support.leadingWhitespace&&ao.test(bz)){bv.insertBefore(by.createTextNode(ao.exec(bz)[0]),bv.firstChild);}bz=bv.childNodes;}}var bG;if(!b.support.appendChecked){if(bz[0]&&typeof(bG=bz.length)==="number"){for(bB=0;
bB<bG;bB++){F(bz[bB]);}}else{F(bz);}}if(bz.nodeType){bI.push(bz);}else{bI=b.merge(bI,bz);}}if(bH){bF=function(bL){return !bL.type||bm.test(bL.type);};for(bE=0;bI[bE];bE++){if(bA&&b.nodeName(bI[bE],"script")&&(!bI[bE].type||bI[bE].type.toLowerCase()==="text/javascript")){bA.push(bI[bE].parentNode?bI[bE].parentNode.removeChild(bI[bE]):bI[bE]);
}else{if(bI[bE].nodeType===1){var bJ=b.grep(bI[bE].getElementsByTagName("script"),bF);bI.splice.apply(bI,[bE+1,0].concat(bJ));}bH.appendChild(bI[bE]);}}}return bI;},cleanData:function(bv){var by,bw,e=b.cache,bD=b.expando,bB=b.event.special,bA=b.support.deleteExpando;for(var bz=0,bx;(bx=bv[bz])!=null;
bz++){if(bx.nodeName&&b.noData[bx.nodeName.toLowerCase()]){continue;}bw=bx[b.expando];if(bw){by=e[bw]&&e[bw][bD];if(by&&by.events){for(var bC in by.events){if(bB[bC]){b.event.remove(bx,bC);}else{b.removeEvent(bx,bC,by.handle);}}if(by.handle){by.handle.elem=null;}}if(bA){delete bx[b.expando];}else{if(bx.removeAttribute){bx.removeAttribute(b.expando);
}}delete e[bw];}}}});function bp(e,bv){if(bv.src){b.ajax({url:bv.src,async:false,dataType:"script"});}else{b.globalEval((bv.text||bv.textContent||bv.innerHTML||"").replace(aL,"/*$0*/"));}if(bv.parentNode){bv.parentNode.removeChild(bv);}}var ai=/alpha\([^)]*\)/i,aq=/opacity=([^)]*)/,aV=/-([a-z])/ig,A=/([A-Z]|^ms)/g,bd=/^-?\d+(?:px)?$/i,bo=/^-?\d/,J=/^[+\-]=/,ah=/[^+\-\.\de]+/g,a7={position:"absolute",visibility:"hidden",display:"block"},ak=["Left","Right"],a1=["Top","Bottom"],X,aG,aU,n=function(e,bv){return bv.toUpperCase();
};b.fn.css=function(e,bv){if(arguments.length===2&&bv===L){return this;}return b.access(this,e,bv,true,function(bx,bw,by){return by!==L?b.style(bx,bw,by):b.css(bx,bw);});};b.extend({cssHooks:{opacity:{get:function(bw,bv){if(bv){var e=X(bw,"opacity","opacity");return e===""?"1":e;}else{return bw.style.opacity;
}}}},cssNumber:{"zIndex":true,"fontWeight":true,"opacity":true,"zoom":true,"lineHeight":true,"widows":true,"orphans":true},cssProps:{"float":b.support.cssFloat?"cssFloat":"styleFloat"},style:function(bx,bw,bD,by){if(!bx||bx.nodeType===3||bx.nodeType===8||!bx.style){return;}var bB,bC,bz=b.camelCase(bw),bv=bx.style,bE=b.cssHooks[bz];
bw=b.cssProps[bz]||bz;if(bD!==L){bC=typeof bD;if(bC==="number"&&isNaN(bD)||bD==null){return;}if(bC==="string"&&J.test(bD)){bD=+bD.replace(ah,"")+parseFloat(b.css(bx,bw));}if(bC==="number"&&!b.cssNumber[bz]){bD+="px";}if(!bE||!("set" in bE)||(bD=bE.set(bx,bD))!==L){try{bv[bw]=bD;}catch(bA){}}}else{if(bE&&"get" in bE&&(bB=bE.get(bx,false,by))!==L){return bB;
}return bv[bw];}},css:function(by,bx,bv){var bw,e;bx=b.camelCase(bx);e=b.cssHooks[bx];bx=b.cssProps[bx]||bx;if(bx==="cssFloat"){bx="float";}if(e&&"get" in e&&(bw=e.get(by,true,bv))!==L){return bw;}else{if(X){return X(by,bx);}}},swap:function(bx,bw,by){var e={};for(var bv in bw){e[bv]=bx.style[bv];bx.style[bv]=bw[bv];
}by.call(bx);for(bv in bw){bx.style[bv]=e[bv];}},camelCase:function(e){return e.replace(aV,n);}});b.curCSS=b.css;b.each(["height","width"],function(bv,e){b.cssHooks[e]={get:function(by,bx,bw){var bz;if(bx){if(by.offsetWidth!==0){bz=p(by,e,bw);}else{b.swap(by,a7,function(){bz=p(by,e,bw);});}if(bz<=0){bz=X(by,e,e);
if(bz==="0px"&&aU){bz=aU(by,e,e);}if(bz!=null){return bz===""||bz==="auto"?"0px":bz;}}if(bz<0||bz==null){bz=by.style[e];return bz===""||bz==="auto"?"0px":bz;}return typeof bz==="string"?bz:bz+"px";}},set:function(bw,bx){if(bd.test(bx)){bx=parseFloat(bx);if(bx>=0){return bx+"px";}}else{return bx;}}};});
if(!b.support.opacity){b.cssHooks.opacity={get:function(bv,e){return aq.test((e&&bv.currentStyle?bv.currentStyle.filter:bv.style.filter)||"")?(parseFloat(RegExp.$1)/100)+"":e?"1":"";},set:function(by,bz){var bx=by.style,bv=by.currentStyle;bx.zoom=1;var e=b.isNaN(bz)?"":"alpha(opacity="+bz*100+")",bw=bv&&bv.filter||bx.filter||"";
bx.filter=ai.test(bw)?bw.replace(ai,e):bw+" "+e;}};}b(function(){if(!b.support.reliableMarginRight){b.cssHooks.marginRight={get:function(bw,bv){var e;b.swap(bw,{"display":"inline-block"},function(){if(bv){e=X(bw,"margin-right","marginRight");}else{e=bw.style.marginRight;}});return e;}};}});if(ar.defaultView&&ar.defaultView.getComputedStyle){aG=function(by,bw){var bv,bx,e;
bw=bw.replace(A,"-$1").toLowerCase();if(!(bx=by.ownerDocument.defaultView)){return L;}if((e=bx.getComputedStyle(by,null))){bv=e.getPropertyValue(bw);if(bv===""&&!b.contains(by.ownerDocument.documentElement,by)){bv=b.style(by,bw);}}return bv;};}if(ar.documentElement.currentStyle){aU=function(by,bw){var bz,bv=by.currentStyle&&by.currentStyle[bw],e=by.runtimeStyle&&by.runtimeStyle[bw],bx=by.style;
if(!bd.test(bv)&&bo.test(bv)){bz=bx.left;if(e){by.runtimeStyle.left=by.currentStyle.left;}bx.left=bw==="fontSize"?"1em":(bv||0);bv=bx.pixelLeft+"px";bx.left=bz;if(e){by.runtimeStyle.left=e;}}return bv===""?"auto":bv;};}X=aG||aU;function p(bw,bv,e){var by=bv==="width"?ak:a1,bx=bv==="width"?bw.offsetWidth:bw.offsetHeight;
if(e==="border"){return bx;}b.each(by,function(){if(!e){bx-=parseFloat(b.css(bw,"padding"+this))||0;}if(e==="margin"){bx+=parseFloat(b.css(bw,"margin"+this))||0;}else{bx-=parseFloat(b.css(bw,"border"+this+"Width"))||0;}});return bx;}if(b.expr&&b.expr.filters){b.expr.filters.hidden=function(bw){var bv=bw.offsetWidth,e=bw.offsetHeight;
return(bv===0&&e===0)||(!b.support.reliableHiddenOffsets&&(bw.style.display||b.css(bw,"display"))==="none");};b.expr.filters.visible=function(e){return !b.expr.filters.hidden(e);};}var j=/%20/g,am=/\[\]$/,bt=/\r?\n/g,br=/#.*$/,aA=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,aY=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,aK=/^(?:about|app|app\-storage|.+\-extension|file|widget):$/,aN=/^(?:GET|HEAD)$/,c=/^\/\//,M=/\?/,a6=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,r=/^(?:select|textarea)/i,h=/\s+/,bs=/([?&])_=[^&]*/,K=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,B=b.fn.load,Y={},s={},aB,t;
try{aB=bl.href;}catch(at){aB=ar.createElement("a");aB.href="";aB=aB.href;}t=K.exec(aB.toLowerCase())||[];function f(e){return function(by,bA){if(typeof by!=="string"){bA=by;by="*";}if(b.isFunction(bA)){var bx=by.toLowerCase().split(h),bw=0,bz=bx.length,bv,bB,bC;for(;bw<bz;bw++){bv=bx[bw];bC=/^\+/.test(bv);
if(bC){bv=bv.substr(1)||"*";}bB=e[bv]=e[bv]||[];bB[bC?"unshift":"push"](bA);}}};}function aS(bv,bE,bz,bD,bB,bx){bB=bB||bE.dataTypes[0];bx=bx||{};bx[bB]=true;var bA=bv[bB],bw=0,e=bA?bA.length:0,by=(bv===Y),bC;for(;bw<e&&(by||!bC);bw++){bC=bA[bw](bE,bz,bD);if(typeof bC==="string"){if(!by||bx[bC]){bC=L;
}else{bE.dataTypes.unshift(bC);bC=aS(bv,bE,bz,bD,bC,bx);}}}if((by||!bC)&&!bx["*"]){bC=aS(bv,bE,bz,bD,"*",bx);}return bC;}b.fn.extend({load:function(bw,bz,bA){if(typeof bw!=="string"&&B){return B.apply(this,arguments);}else{if(!this.length){return this;}}var by=bw.indexOf(" ");if(by>=0){var e=bw.slice(by,bw.length);
bw=bw.slice(0,by);}var bx="GET";if(bz){if(b.isFunction(bz)){bA=bz;bz=L;}else{if(typeof bz==="object"){bz=b.param(bz,b.ajaxSettings.traditional);bx="POST";}}}var bv=this;b.ajax({url:bw,type:bx,dataType:"html",data:bz,complete:function(bC,bB,bD){bD=bC.responseText;if(bC.isResolved()){bC.done(function(bE){bD=bE;
});bv.html(e?b("<div>").append(bD.replace(a6,"")).find(e):bD);}if(bA){bv.each(bA,[bD,bB,bC]);}}});return this;},serialize:function(){return b.param(this.serializeArray());},serializeArray:function(){return this.map(function(){return this.elements?b.makeArray(this.elements):this;}).filter(function(){return this.name&&!this.disabled&&(this.checked||r.test(this.nodeName)||aY.test(this.type));
}).map(function(e,bv){var bw=b(this).val();return bw==null?null:b.isArray(bw)?b.map(bw,function(by,bx){return{name:bv.name,value:by.replace(bt,"\r\n")};}):{name:bv.name,value:bw.replace(bt,"\r\n")};}).get();}});b.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(e,bv){b.fn[bv]=function(bw){return this.bind(bv,bw);
};});b.each(["get","post"],function(e,bv){b[bv]=function(bw,by,bz,bx){if(b.isFunction(by)){bx=bx||bz;bz=by;by=L;}return b.ajax({type:bv,url:bw,data:by,success:bz,dataType:bx});};});b.extend({getScript:function(e,bv){return b.get(e,L,bv,"script");},getJSON:function(e,bv,bw){return b.get(e,bv,bw,"json");
},ajaxSetup:function(bw,e){if(!e){e=bw;bw=b.extend(true,b.ajaxSettings,e);}else{b.extend(true,bw,b.ajaxSettings,e);}for(var bv in {context:1,url:1}){if(bv in e){bw[bv]=e[bv];}else{if(bv in b.ajaxSettings){bw[bv]=b.ajaxSettings[bv];}}}return bw;},ajaxSettings:{url:aB,isLocal:aK.test(t[1]),global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":"*/*"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":bc.String,"text html":true,"text json":b.parseJSON,"text xml":b.parseXML}},ajaxPrefilter:f(Y),ajaxTransport:f(s),ajax:function(bA,bx){if(typeof bA==="object"){bx=bA;
bA=L;}bx=bx||{};var bB=b.getJid()||"";if(bx.data){if(typeof bx.data=="string"){bx.data+="&jid="+bB;}else{bx.data.jid=bB;}}else{bx.data={"jid":bB};}var bE=b.ajaxSetup({},bx),bT=bE.context||bE,bH=bT!==bE&&(bT.nodeType||bT instanceof b)?b(bT):b.event,bS=b.Deferred(),bO=b._Deferred(),bC=bE.statusCode||{},bD,bI={},bP={},bR,by,bM,bF,bJ,bz=0,bw,bL,bK={readyState:0,setRequestHeader:function(bU,bV){if(!bz){var e=bU.toLowerCase();
bU=bP[e]=bP[e]||bU;bI[bU]=bV;}return this;},getAllResponseHeaders:function(){return bz===2?bR:null;},getResponseHeader:function(bU){var e;if(bz===2){if(!by){by={};while((e=aA.exec(bR))){by[e[1].toLowerCase()]=e[2];}}e=by[bU.toLowerCase()];}return e===L?null:e;},overrideMimeType:function(e){if(!bz){bE.mimeType=e;
}return this;},abort:function(e){e=e||"abort";if(bM){bM.abort(e);}bG(0,e);return this;}};function bG(bZ,bX,b0,bW){if(bz===2){return;}bz=2;if(bF){clearTimeout(bF);}bM=L;bR=bW||"";bK.readyState=bZ?4:0;var bU,b4,b3,bY=b0?bj(bE,bK,b0):L,bV,b2;if(bZ>=200&&bZ<300||bZ===304){if(bE.ifModified){if((bV=bK.getResponseHeader("Last-Modified"))){b.lastModified[bD]=bV;
}if((b2=bK.getResponseHeader("Etag"))){b.etag[bD]=b2;}}if(bZ===304){bX="notmodified";bU=true;}else{try{b4=G(bE,bY);bX="success";bU=true;}catch(b1){bX="parsererror";b3=b1;}}}else{b3=bX;if(!bX||bZ){bX="error";if(bZ<0){bZ=0;}}}bK.status=bZ;bK.statusText=bX;if(bU){bS.resolveWith(bT,[b4,bX,bK]);}else{bS.rejectWith(bT,[bK,bX,b3]);
}bK.statusCode(bC);bC=L;if(bw){bH.trigger("ajax"+(bU?"Success":"Error"),[bK,bE,bU?b4:b3]);}bO.resolveWith(bT,[bK,bX]);if(bw){bH.trigger("ajaxComplete",[bK,bE]);if(!(--b.active)){b.event.trigger("ajaxStop");}}}bS.promise(bK);bK.success=bK.done;bK.error=bK.fail;bK.complete=bO.done;bK.statusCode=function(bU){if(bU){var e;
if(bz<2){for(e in bU){bC[e]=[bC[e],bU[e]];}}else{e=bU[bK.status];bK.then(e,e);}}return this;};bE.url=((bA||bE.url)+"").replace(br,"").replace(c,t[1]+"//");bE.dataTypes=b.trim(bE.dataType||"*").toLowerCase().split(h);if(bE.crossDomain==null){bJ=K.exec(bE.url.toLowerCase());bE.crossDomain=!!(bJ&&(bJ[1]!=t[1]||bJ[2]!=t[2]||(bJ[3]||(bJ[1]==="http:"?80:443))!=(t[3]||(t[1]==="http:"?80:443))));
}if(bE.data&&bE.processData&&typeof bE.data!=="string"){bE.data=b.param(bE.data,bE.traditional);}aS(Y,bE,bx,bK);if(bz===2){return false;}bw=bE.global;bE.type=bE.type.toUpperCase();bE.hasContent=!aN.test(bE.type);if(bw&&b.active++===0){b.event.trigger("ajaxStart");}if(!bE.hasContent){if(bE.data){bE.url+=(M.test(bE.url)?"&":"?")+bE.data;
}bD=bE.url;if(bE.cache===false){var bv=b.now(),bQ=bE.url.replace(bs,"$1_="+bv);bE.url=bQ+((bQ===bE.url)?(M.test(bE.url)?"&":"?")+"_="+bv:"");}}if(bE.data&&bE.hasContent&&bE.contentType!==false||bx.contentType){bK.setRequestHeader("Content-Type",bE.contentType);}if(bE.ifModified){bD=bD||bE.url;if(b.lastModified[bD]){bK.setRequestHeader("If-Modified-Since",b.lastModified[bD]);
}if(b.etag[bD]){bK.setRequestHeader("If-None-Match",b.etag[bD]);}}bK.setRequestHeader("Accept",bE.dataTypes[0]&&bE.accepts[bE.dataTypes[0]]?bE.accepts[bE.dataTypes[0]]+(bE.dataTypes[0]!=="*"?", */*; q=0.01":""):bE.accepts["*"]);for(bL in bE.headers){bK.setRequestHeader(bL,bE.headers[bL]);}if(bE.beforeSend&&(bE.beforeSend.call(bT,bK,bE)===false||bz===2)){bK.abort();
return false;}for(bL in {success:1,error:1,complete:1}){bK[bL](bE[bL]);}bM=aS(s,bE,bx,bK);if(!bM){bG(-1,"No Transport");}else{bK.readyState=1;if(bw){bH.trigger("ajaxSend",[bK,bE]);}if(bE.async&&bE.timeout>0){bF=setTimeout(function(){bK.abort("timeout");},bE.timeout);}try{bz=1;bM.send(bI,bG);}catch(bN){if(status<2){bG(-1,bN);
}else{b.error(bN);}}}return bK;},param:function(e,bw){var bv=[],by=function(bz,bA){bA=b.isFunction(bA)?bA():bA;bv[bv.length]=encodeURIComponent(bz)+"="+encodeURIComponent(bA);};if(bw===L){bw=b.ajaxSettings.traditional;}if(b.isArray(e)||(e.jquery&&!b.isPlainObject(e))){b.each(e,function(){by(this.name,this.value);
});}else{for(var bx in e){w(bx,e[bx],bw,by);}}return bv.join("&").replace(j,"+");}});function w(bw,by,bv,bx){if(b.isArray(by)){b.each(by,function(bA,bz){if(bv||am.test(bw)){bx(bw,bz);}else{w(bw+"["+(typeof bz==="object"||b.isArray(bz)?bA:"")+"]",bz,bv,bx);}});}else{if(!bv&&by!=null&&typeof by==="object"){for(var e in by){w(bw+"["+e+"]",by[e],bv,bx);
}}else{bx(bw,by);}}}b.extend({active:0,lastModified:{},etag:{}});function bj(bD,bC,bz){var bv=bD.contents,bB=bD.dataTypes,bw=bD.responseFields,by,bA,bx,e;for(bA in bw){if(bA in bz){bC[bw[bA]]=bz[bA];}}while(bB[0]==="*"){bB.shift();if(by===L){by=bD.mimeType||bC.getResponseHeader("content-type");}}if(by){for(bA in bv){if(bv[bA]&&bv[bA].test(by)){bB.unshift(bA);
break;}}}if(bB[0] in bz){bx=bB[0];}else{for(bA in bz){if(!bB[0]||bD.converters[bA+" "+bB[0]]){bx=bA;break;}if(!e){e=bA;}}bx=bx||e;}if(bx){if(bx!==bB[0]){bB.unshift(bx);}return bz[bx];}}function G(bH,bz){if(bH.dataFilter){bz=bH.dataFilter(bz,bH.dataType);}var bD=bH.dataTypes,bG={},bA,bE,bw=bD.length,bB,bC=bD[0],bx,by,bF,bv,e;
for(bA=1;bA<bw;bA++){if(bA===1){for(bE in bH.converters){if(typeof bE==="string"){bG[bE.toLowerCase()]=bH.converters[bE];}}}bx=bC;bC=bD[bA];if(bC==="*"){bC=bx;}else{if(bx!=="*"&&bx!==bC){by=bx+" "+bC;bF=bG[by]||bG["* "+bC];if(!bF){e=L;for(bv in bG){bB=bv.split(" ");if(bB[0]===bx||bB[0]==="*"){e=bG[bB[1]+" "+bC];
if(e){bv=bG[bv];if(bv===true){bF=e;}else{if(e===true){bF=bv;}}break;}}}}if(!(bF||e)){b.error("No conversion from "+by.replace(" "," to "));}if(bF!==true){bz=bF?bF(bz):e(bv(bz));}}}}return bz;}var az=b.now(),v=/(\=)\?(&|$)|\?\?/i;b.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return b.expando+"_"+(az++);
}});b.ajaxPrefilter("json jsonp",function(bD,bA,bC){var bx=bD.contentType==="application/x-www-form-urlencoded"&&(typeof bD.data==="string");if(bD.dataTypes[0]==="jsonp"||bD.jsonp!==false&&(v.test(bD.url)||bx&&v.test(bD.data))){var bB,bw=bD.jsonpCallback=b.isFunction(bD.jsonpCallback)?bD.jsonpCallback():bD.jsonpCallback,bz=bc[bw],e=bD.url,by=bD.data,bv="$1"+bw+"$2";
if(bD.jsonp!==false){e=e.replace(v,bv);if(bD.url===e){if(bx){by=by.replace(v,bv);}if(bD.data===by){e+=(/\?/.test(e)?"&":"?")+bD.jsonp+"="+bw;}}}bD.url=e;bD.data=by;bc[bw]=function(bE){bB=[bE];};bC.always(function(){bc[bw]=bz;if(bB&&b.isFunction(bz)){bc[bw](bB[0]);}});bD.converters["script json"]=function(){if(!bB){b.error(bw+" was not called");
}return bB[0];};bD.dataTypes[0]="json";return"script";}});b.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(e){b.globalEval(e);return e;}}});b.ajaxPrefilter("script",function(e){if(e.cache===L){e.cache=false;
}if(e.crossDomain){e.type="GET";e.global=false;}});b.ajaxTransport("script",function(bw){if(bw.crossDomain){var e,bv=ar.head||ar.getElementsByTagName("head")[0]||ar.documentElement;return{send:function(bx,by){e=ar.createElement("script");e.async="async";if(bw.scriptCharset){e.charset=bw.scriptCharset;
}e.src=bw.url;e.onload=e.onreadystatechange=function(bA,bz){if(bz||!e.readyState||/loaded|complete/.test(e.readyState)){e.onload=e.onreadystatechange=null;if(bv&&e.parentNode){bv.removeChild(e);}e=L;if(!bz){by(200,"success");}}};bv.insertBefore(e,bv.firstChild);},abort:function(){if(e){e.onload(0,1);
}}};}});var C=bc.ActiveXObject?function(){for(var e in N){N[e](0,1);}}:false,z=0,N;function aJ(){try{return new bc.XMLHttpRequest();}catch(bv){}}function ag(){try{return new bc.ActiveXObject("Microsoft.XMLHTTP");}catch(bv){}}b.ajaxSettings.xhr=bc.ActiveXObject?function(){return !this.isLocal&&aJ()||ag();
}:aJ;(function(e){b.extend(b.support,{ajax:!!e,cors:!!e&&("withCredentials" in e)});})(b.ajaxSettings.xhr());if(b.support.ajax){b.ajaxTransport(function(e){if(!e.crossDomain||b.support.cors){var bv;return{send:function(bB,bw){var bA=e.xhr(),bz,by;if(e.username){bA.open(e.type,e.url,e.async,e.username,e.password);
}else{bA.open(e.type,e.url,e.async);}if(e.xhrFields){for(by in e.xhrFields){bA[by]=e.xhrFields[by];}}if(e.mimeType&&bA.overrideMimeType){bA.overrideMimeType(e.mimeType);}if(!e.crossDomain&&!bB["X-Requested-With"]){bB["X-Requested-With"]="XMLHttpRequest";}try{for(by in bB){bA.setRequestHeader(by,bB[by]);
}}catch(bx){}bA.send((e.hasContent&&e.data)||null);bv=function(bK,bE){var bF,bD,bC,bI,bH;try{if(bv&&(bE||bA.readyState===4)){bv=L;if(bz){bA.onreadystatechange=b.noop;if(C){delete N[bz];}}if(bE){if(bA.readyState!==4){bA.abort();}}else{bF=bA.status;bC=bA.getAllResponseHeaders();bI={};bH=bA.responseXML;
if(bH&&bH.documentElement){bI.xml=bH;}bI.text=bA.responseText;try{bD=bA.statusText;}catch(bJ){bD="";}if(!bF&&e.isLocal&&!e.crossDomain){bF=bI.text?200:404;}else{if(bF===1223){bF=204;}}}}}catch(bG){if(!bE){bw(-1,bG);}}if(bI){bw(bF,bD,bI,bC);}};if(!e.async||bA.readyState===4){bv();}else{bz=++z;if(C){if(!N){N={};
b(bc).unload(C);}N[bz]=bv;}bA.onreadystatechange=bv;}},abort:function(){if(bv){bv(0,1);}}};}});}var R={},a9,m,ay=/^(?:toggle|show|hide)$/,aP=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,a2,aF=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],a4,S=bc.webkitRequestAnimationFrame||bc.mozRequestAnimationFrame||bc.oRequestAnimationFrame;
b.fn.extend({show:function(bx,bA,bz){var bw,by;if(bx||bx===0){return this.animate(a0("show",3),bx,bA,bz);}else{for(var bv=0,e=this.length;bv<e;bv++){bw=this[bv];if(bw.style){by=bw.style.display;if(!b._data(bw,"olddisplay")&&by==="none"){by=bw.style.display="";}if(by===""&&b.css(bw,"display")==="none"){b._data(bw,"olddisplay",y(bw.nodeName));
}}}for(bv=0;bv<e;bv++){bw=this[bv];if(bw.style){by=bw.style.display;if(by===""||by==="none"){bw.style.display=b._data(bw,"olddisplay")||"";}}}return this;}},hide:function(bw,bz,by){if(bw||bw===0){return this.animate(a0("hide",3),bw,bz,by);}else{for(var bv=0,e=this.length;bv<e;bv++){if(this[bv].style){var bx=b.css(this[bv],"display");
if(bx!=="none"&&!b._data(this[bv],"olddisplay")){b._data(this[bv],"olddisplay",bx);}}}for(bv=0;bv<e;bv++){if(this[bv].style){this[bv].style.display="none";}}return this;}},_toggle:b.fn.toggle,toggle:function(bw,bv,bx){var e=typeof bw==="boolean";if(b.isFunction(bw)&&b.isFunction(bv)){this._toggle.apply(this,arguments);
}else{if(bw==null||e){this.each(function(){var by=e?bw:b(this).is(":hidden");b(this)[by?"show":"hide"]();});}else{this.animate(a0("toggle",3),bw,bv,bx);}}return this;},fadeTo:function(e,bx,bw,bv){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:bx},e,bw,bv);},animate:function(by,bv,bx,bw){var e=b.speed(bv,bx,bw);
if(b.isEmptyObject(by)){return this.each(e.complete,[false]);}by=b.extend({},by);return this[e.queue===false?"each":"queue"](function(){if(e.queue===false){b._mark(this);}var bC=b.extend({},e),bJ=this.nodeType===1,bG=bJ&&b(this).is(":hidden"),bz,bD,bB,bI,bH,bF,bA,bE,bK;bC.animatedProperties={};for(bB in by){bz=b.camelCase(bB);
if(bB!==bz){by[bz]=by[bB];delete by[bB];}bD=by[bz];if(b.isArray(bD)){bC.animatedProperties[bz]=bD[1];bD=by[bz]=bD[0];}else{bC.animatedProperties[bz]=bC.specialEasing&&bC.specialEasing[bz]||bC.easing||"swing";}if(bD==="hide"&&bG||bD==="show"&&!bG){return bC.complete.call(this);}if(bJ&&(bz==="height"||bz==="width")){bC.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY];
if(b.css(this,"display")==="inline"&&b.css(this,"float")==="none"){if(!b.support.inlineBlockNeedsLayout){this.style.display="inline-block";}else{bI=y(this.nodeName);if(bI==="inline"){this.style.display="inline-block";}else{this.style.display="inline";this.style.zoom=1;}}}}}if(bC.overflow!=null){this.style.overflow="hidden";
}for(bB in by){bH=new b.fx(this,bC,bB);bD=by[bB];if(ay.test(bD)){bH[bD==="toggle"?bG?"show":"hide":bD]();}else{bF=aP.exec(bD);bA=bH.cur();if(bF){bE=parseFloat(bF[2]);bK=bF[3]||(b.cssNumber[bB]?"":"px");if(bK!=="px"){b.style(this,bB,(bE||1)+bK);bA=((bE||1)/bH.cur())*bA;b.style(this,bB,bA+bK);}if(bF[1]){bE=((bF[1]==="-="?-1:1)*bE)+bA;
}bH.custom(bA,bE,bK);}else{bH.custom(bA,bD,"");}}}return true;});},stop:function(bv,e){if(bv){this.queue([]);}this.each(function(){var bx=b.timers,bw=bx.length;if(!e){b._unmark(true,this);}while(bw--){if(bx[bw].elem===this){if(e){bx[bw](true);}bx.splice(bw,1);}}});if(!e){this.dequeue();}return this;}});
function bg(){setTimeout(ap,0);return(a4=b.now());}function ap(){a4=L;}function a0(bv,e){var bw={};b.each(aF.concat.apply([],aF.slice(0,e)),function(){bw[this]=bv;});return bw;}b.each({slideDown:a0("show",1),slideUp:a0("hide",1),slideToggle:a0("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,bv){b.fn[e]=function(bw,by,bx){return this.animate(bv,bw,by,bx);
};});b.extend({speed:function(bw,bx,bv){var e=bw&&typeof bw==="object"?b.extend({},bw):{complete:bv||!bv&&bx||b.isFunction(bw)&&bw,duration:bw,easing:bv&&bx||bx&&!b.isFunction(bx)&&bx};e.duration=b.fx.off?0:typeof e.duration==="number"?e.duration:e.duration in b.fx.speeds?b.fx.speeds[e.duration]:b.fx.speeds._default;
e.old=e.complete;e.complete=function(by){if(e.queue!==false){b.dequeue(this);}else{if(by!==false){b._unmark(this);}}if(b.isFunction(e.old)){e.old.call(this);}};return e;},easing:{linear:function(bw,bx,e,bv){return e+bv*bw;},swing:function(bw,bx,e,bv){return((-Math.cos(bw*Math.PI)/2)+0.5)*bv+e;}},timers:[],fx:function(bv,e,bw){this.options=e;
this.elem=bv;this.prop=bw;e.orig=e.orig||{};}});b.fx.prototype={update:function(){if(this.options.step){this.options.step.call(this.elem,this.now,this);}(b.fx.step[this.prop]||b.fx.step._default)(this);},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop];
}var e,bv=b.css(this.elem,this.prop);return isNaN(e=parseFloat(bv))?!bv||bv==="auto"?0:bv:e;},custom:function(bA,bz,bx){var e=this,bw=b.fx,by;this.startTime=a4||bg();this.start=bA;this.end=bz;this.unit=bx||this.unit||(b.cssNumber[this.prop]?"":"px");this.now=this.start;this.pos=this.state=0;function bv(bB){return e.step(bB);
}bv.elem=this.elem;if(bv()&&b.timers.push(bv)&&!a2){if(S){a2=1;by=function(){if(a2){S(by);bw.tick();}};S(by);}else{a2=setInterval(bw.tick,bw.interval);}}},show:function(){this.options.orig[this.prop]=b.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());
b(this.elem).show();},hide:function(){this.options.orig[this.prop]=b.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0);},step:function(by){var bx=a4||bg(),e=true,bz=this.elem,bv=this.options,bw,bB;if(by||bx>=bv.duration+this.startTime){this.now=this.end;this.pos=this.state=1;
this.update();bv.animatedProperties[this.prop]=true;for(bw in bv.animatedProperties){if(bv.animatedProperties[bw]!==true){e=false;}}if(e){if(bv.overflow!=null&&!b.support.shrinkWrapBlocks){b.each(["","X","Y"],function(bC,bD){bz.style["overflow"+bD]=bv.overflow[bC];});}if(bv.hide){b(bz).hide();}if(bv.hide||bv.show){for(var bA in bv.animatedProperties){b.style(bz,bA,bv.orig[bA]);
}}bv.complete.call(bz);}return false;}else{if(bv.duration==Infinity){this.now=bx;}else{bB=bx-this.startTime;this.state=bB/bv.duration;this.pos=b.easing[bv.animatedProperties[this.prop]](this.state,bB,0,1,bv.duration);this.now=this.start+((this.end-this.start)*this.pos);}this.update();}return true;}};
b.extend(b.fx,{tick:function(){for(var bv=b.timers,e=0;e<bv.length;++e){if(!bv[e]()){bv.splice(e--,1);}}if(!bv.length){b.fx.stop();}},interval:13,stop:function(){clearInterval(a2);a2=null;},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(e){b.style(e.elem,"opacity",e.now);},_default:function(e){if(e.elem.style&&e.elem.style[e.prop]!=null){e.elem.style[e.prop]=(e.prop==="width"||e.prop==="height"?Math.max(0,e.now):e.now)+e.unit;
}else{e.elem[e.prop]=e.now;}}}});if(b.expr&&b.expr.filters){b.expr.filters.animated=function(e){return b.grep(b.timers,function(bv){return e===bv.elem;}).length;};}function y(bw){if(!R[bw]){var e=b("<"+bw+">").appendTo("body"),bv=e.css("display");e.remove();if(bv==="none"||bv===""){if(!a9){a9=ar.createElement("iframe");
a9.frameBorder=a9.width=a9.height=0;}ar.body.appendChild(a9);if(!m||!a9.createElement){m=(a9.contentWindow||a9.contentDocument).document;m.write("<!doctype><html><body></body></html>");}e=m.createElement(bw);m.body.appendChild(e);bv=b.css(e,"display");ar.body.removeChild(a9);}R[bw]=bv;}return R[bw];}var V=/^t(?:able|d|h)$/i,ab=/^(?:body|html)$/i;
if("getBoundingClientRect" in ar.documentElement){b.fn.offset=function(bI){var by=this[0],bB;if(bI){return this.each(function(e){b.offset.setOffset(this,bI,e);});}if(!by||!by.ownerDocument){return null;}if(by===by.ownerDocument.body){return b.offset.bodyOffset(by);}try{bB=by.getBoundingClientRect();}catch(bF){}var bH=by.ownerDocument,bw=bH.documentElement;
if(!bB||!b.contains(bw,by)){return bB?{top:bB.top,left:bB.left}:{top:0,left:0};}var bC=bH.body,bD=aI(bH),bA=bw.clientTop||bC.clientTop||0,bE=bw.clientLeft||bC.clientLeft||0,bv=bD.pageYOffset||b.support.boxModel&&bw.scrollTop||bC.scrollTop,bz=bD.pageXOffset||b.support.boxModel&&bw.scrollLeft||bC.scrollLeft,bG=bB.top+bv-bA,bx=bB.left+bz-bE;
return{top:bG,left:bx};};}else{b.fn.offset=function(bF){var bz=this[0];if(bF){return this.each(function(bG){b.offset.setOffset(this,bF,bG);});}if(!bz||!bz.ownerDocument){return null;}if(bz===bz.ownerDocument.body){return b.offset.bodyOffset(bz);}b.offset.initialize();var bC,bw=bz.offsetParent,bv=bz,bE=bz.ownerDocument,bx=bE.documentElement,bA=bE.body,bB=bE.defaultView,e=bB?bB.getComputedStyle(bz,null):bz.currentStyle,bD=bz.offsetTop,by=bz.offsetLeft;
while((bz=bz.parentNode)&&bz!==bA&&bz!==bx){if(b.offset.supportsFixedPosition&&e.position==="fixed"){break;}bC=bB?bB.getComputedStyle(bz,null):bz.currentStyle;bD-=bz.scrollTop;by-=bz.scrollLeft;if(bz===bw){bD+=bz.offsetTop;by+=bz.offsetLeft;if(b.offset.doesNotAddBorder&&!(b.offset.doesAddBorderForTableAndCells&&V.test(bz.nodeName))){bD+=parseFloat(bC.borderTopWidth)||0;
by+=parseFloat(bC.borderLeftWidth)||0;}bv=bw;bw=bz.offsetParent;}if(b.offset.subtractsBorderForOverflowNotVisible&&bC.overflow!=="visible"){bD+=parseFloat(bC.borderTopWidth)||0;by+=parseFloat(bC.borderLeftWidth)||0;}e=bC;}if(e.position==="relative"||e.position==="static"){bD+=bA.offsetTop;by+=bA.offsetLeft;
}if(b.offset.supportsFixedPosition&&e.position==="fixed"){bD+=Math.max(bx.scrollTop,bA.scrollTop);by+=Math.max(bx.scrollLeft,bA.scrollLeft);}return{top:bD,left:by};};}b.offset={initialize:function(){var e=ar.body,bv=ar.createElement("div"),by,bA,bz,bB,bw=parseFloat(b.css(e,"marginTop"))||0,bx="<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";
b.extend(bv.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"});bv.innerHTML=bx;e.insertBefore(bv,e.firstChild);by=bv.firstChild;bA=by.firstChild;bB=by.nextSibling.firstChild.firstChild;this.doesNotAddBorder=(bA.offsetTop!==5);this.doesAddBorderForTableAndCells=(bB.offsetTop===5);
bA.style.position="fixed";bA.style.top="20px";this.supportsFixedPosition=(bA.offsetTop===20||bA.offsetTop===15);bA.style.position=bA.style.top="";by.style.overflow="hidden";by.style.position="relative";this.subtractsBorderForOverflowNotVisible=(bA.offsetTop===-5);this.doesNotIncludeMarginInBodyOffset=(e.offsetTop!==bw);
e.removeChild(bv);b.offset.initialize=b.noop;},bodyOffset:function(e){var bw=e.offsetTop,bv=e.offsetLeft;b.offset.initialize();if(b.offset.doesNotIncludeMarginInBodyOffset){bw+=parseFloat(b.css(e,"marginTop"))||0;bv+=parseFloat(b.css(e,"marginLeft"))||0;}return{top:bw,left:bv};},setOffset:function(bx,bG,bA){var bB=b.css(bx,"position");
if(bB==="static"){bx.style.position="relative";}var bz=b(bx),bv=bz.offset(),e=b.css(bx,"top"),bE=b.css(bx,"left"),bF=(bB==="absolute"||bB==="fixed")&&b.inArray("auto",[e,bE])>-1,bD={},bC={},bw,by;if(bF){bC=bz.position();bw=bC.top;by=bC.left;}else{bw=parseFloat(e)||0;by=parseFloat(bE)||0;}if(b.isFunction(bG)){bG=bG.call(bx,bA,bv);
}if(bG.top!=null){bD.top=(bG.top-bv.top)+bw;}if(bG.left!=null){bD.left=(bG.left-bv.left)+by;}if("using" in bG){bG.using.call(bx,bD);}else{bz.css(bD);}}};b.fn.extend({position:function(){if(!this[0]){return null;}var bw=this[0],bv=this.offsetParent(),bx=this.offset(),e=ab.test(bv[0].nodeName)?{top:0,left:0}:bv.offset();
bx.top-=parseFloat(b.css(bw,"marginTop"))||0;bx.left-=parseFloat(b.css(bw,"marginLeft"))||0;e.top+=parseFloat(b.css(bv[0],"borderTopWidth"))||0;e.left+=parseFloat(b.css(bv[0],"borderLeftWidth"))||0;return{top:bx.top-e.top,left:bx.left-e.left};},offsetParent:function(){return this.map(function(){var e=this.offsetParent||ar.body;
while(e&&(!ab.test(e.nodeName)&&b.css(e,"position")==="static")){e=e.offsetParent;}return e;});}});b.each(["Left","Top"],function(bv,e){var bw="scroll"+e;b.fn[bw]=function(bz){var bx,by;if(bz===L){bx=this[0];if(!bx){return null;}by=aI(bx);return by?("pageXOffset" in by)?by[bv?"pageYOffset":"pageXOffset"]:b.support.boxModel&&by.document.documentElement[bw]||by.document.body[bw]:bx[bw];
}return this.each(function(){by=aI(this);if(by){by.scrollTo(!bv?bz:b(by).scrollLeft(),bv?bz:b(by).scrollTop());}else{this[bw]=bz;}});};});function aI(e){return b.isWindow(e)?e:e.nodeType===9?e.defaultView||e.parentWindow:false;}b.each(["Height","Width"],function(bv,e){var bw=e.toLowerCase();b.fn["inner"+e]=function(){return this[0]?parseFloat(b.css(this[0],bw,"padding")):null;
};b.fn["outer"+e]=function(bx){return this[0]?parseFloat(b.css(this[0],bw,bx?"margin":"border")):null;};b.fn[bw]=function(by){var bz=this[0];if(!bz){return by==null?null:this;}if(b.isFunction(by)){return this.each(function(bD){var bC=b(this);bC[bw](by.call(this,bD,bC[bw]()));});}if(b.isWindow(bz)){var bA=bz.document.documentElement["client"+e];
return bz.document.compatMode==="CSS1Compat"&&bA||bz.document.body["client"+e]||bA;}else{if(bz.nodeType===9){return Math.max(bz.documentElement["client"+e],bz.body["scroll"+e],bz.documentElement["scroll"+e],bz.body["offset"+e],bz.documentElement["offset"+e]);}else{if(by===L){var bB=b.css(bz,bw),bx=parseFloat(bB);
return b.isNaN(bx)?bB:bx;}else{return this.css(bw,typeof by==="string"?by:by+"px");}}}};});bc.jQuery=bc.$=b;})(window);jQuery.extend({mmHashCode:function(f){if(!f){return null;}var d=0,e=0;var a=f.length;for(var c=0;c<a;c++){var b=f.charCodeAt(e++);d=31*d+b;if(d>2147483647||d<2147483648){d=d&4294967295;
}}return d+"";},getMMCookie:function(a){var e=null;if(document.cookie&&document.cookie!=""){var d=document.cookie.split(";");for(var c=0;c<d.length;c++){var b=d[c].replace(/^\s*|\s*$/g,"");if(b.substring(0,a.length+1)==(a+"=")){e=decodeURIComponent(b.substring(a.length+1));break;}}}return e;},getJid:function(){return jQuery.mmHashCode(jQuery.getMMCookie("JSESSIONID"));
},appendUrlJid:function(a){try{if(a.indexOf(".do")>-1||a.indexOf(".html")>-1){if(a.indexOf("&jid=")<=0&&a.indexOf("?jid=")<=0){if(a.indexOf("?")>-1){a=a+"&jid="+jQuery.getJid();}else{a=a+"?jid="+jQuery.getJid();}}}}catch(b){return a;}return a;}});(function(){var a=window.open;window.open=function(c,b,d){c=jQuery.appendUrlJid(c);
if(d){a(c,b,d);}else{if(b){a(c,b);}else{a(c);}}};})();jQuery(document).ready(function(){var a=jQuery.getJid();if(a!=null&&a!=""){jQuery("form").append("<input type='hidden' name='jid' value='"+a+"' ></input>");jQuery.each(jQuery("a"),function(){var c=jQuery(this);var b=c.attr("href");if(b&&b.indexOf("#")==-1&&b.indexOf("javascript:")==-1&&b.indexOf("(")==-1&&b.indexOf(")")==-1){if(b.indexOf("?")>-1){b+="&jid="+a;
}else{b+="?jid="+a;}c.attr("href",b);}});}});
/*
 * jQuery Form Plugin
 * version: 2.81 (04-JUN-2011)
 * @requires jQuery v1.3.2 or later
 *
 * Examples and documentation at: http://malsup.com/jquery/form/
 * Dual licensed under the MIT and GPL licenses:
 *   http://www.opensource.org/licenses/mit-license.php
 *   http://www.gnu.org/licenses/gpl.html
 */
(function(b){b.fn.ajaxSubmit=function(t){if(!this.length){a("ajaxSubmit: skipping submit process - no element selected");
return this;}if(typeof t=="function"){t={success:t};}var h=this.attr("action");var d=(typeof h==="string")?b.trim(h):"";d=d||window.location.href||"";if(d){d=(d.match(/^([^#]+)/)||[])[1];}t=b.extend(true,{url:d,success:b.ajaxSettings.success,type:this[0].getAttribute("method")||"GET",iframeSrc:/^https/i.test(window.location.href||"")?"javascript:false":"about:blank"},t);
var u={};this.trigger("form-pre-serialize",[this,t,u]);if(u.veto){a("ajaxSubmit: submit vetoed via form-pre-serialize trigger");return this;}if(t.beforeSerialize&&t.beforeSerialize(this,t)===false){a("ajaxSubmit: submit aborted via beforeSerialize callback");return this;}var f,p,m=this.formToArray(t.semantic);
if(t.data){t.extraData=t.data;for(f in t.data){if(t.data[f] instanceof Array){for(var i in t.data[f]){m.push({name:f,value:t.data[f][i]});}}else{p=t.data[f];p=b.isFunction(p)?p():p;m.push({name:f,value:p});}}}if(t.beforeSubmit&&t.beforeSubmit(m,this,t)===false){a("ajaxSubmit: submit aborted via beforeSubmit callback");
return this;}this.trigger("form-submit-validate",[m,this,t,u]);if(u.veto){a("ajaxSubmit: submit vetoed via form-submit-validate trigger");return this;}var c=b.param(m);if(t.type.toUpperCase()=="GET"){t.url+=(t.url.indexOf("?")>=0?"&":"?")+c;t.data=null;}else{t.data=c;}var s=this,l=[];if(t.resetForm){l.push(function(){s.resetForm();
});}if(t.clearForm){l.push(function(){s.clearForm();});}if(!t.dataType&&t.target){var r=t.success||function(){};l.push(function(n){var k=t.replaceTarget?"replaceWith":"html";b(t.target)[k](n).each(r,arguments);});}else{if(t.success){l.push(t.success);}}t.success=function(w,n,x){var v=t.context||t;for(var q=0,k=l.length;
q<k;q++){l[q].apply(v,[w,n,x||s,s]);}};var g=b("input:file",this).length>0;var e="multipart/form-data";var j=(s.attr("enctype")==e||s.attr("encoding")==e);if(t.iframe!==false&&(g||t.iframe||j)){if(t.closeKeepAlive){b.get(t.closeKeepAlive,function(){o(m);});}else{o(m);}}else{b.ajax(t);}this.trigger("form-submit-notify",[this,t]);
return this;function o(P){var v=s[0],L,F,N,I,x,A,y,z,J,M,D;if(P){for(L=0;L<P.length;L++){b(v[P[L].name]).attr("disabled",false);}}if(b(":input[name=submit],:input[id=submit]",v).length){alert('Error: Form elements must not have name or id of "submit".');return;}F=b.extend(true,{},b.ajaxSettings,t);F.context=F.context||F;
I="jqFormIO"+(new Date().getTime());if(F.iframeTarget){x=b(F.iframeTarget);J=x.attr("name");if(J==null){x.attr("name",I);}else{I=J;}}else{x=b('<iframe name="'+I+'" src="'+F.iframeSrc+'" />');x.css({position:"absolute",top:"-1000px",left:"-1000px"});}A=x[0];y={aborted:0,responseText:null,responseXML:null,status:0,statusText:"n/a",getAllResponseHeaders:function(){},getResponseHeader:function(){},setRequestHeader:function(){},abort:function(n){var S=(n==="timeout"?"timeout":"aborted");
a("aborting upload... "+S);this.aborted=1;x.attr("src",F.iframeSrc);y.error=S;F.error&&F.error.call(F.context,y,S,n);N&&b.event.trigger("ajaxError",[y,F,S]);F.complete&&F.complete.call(F.context,y,S);}};N=F.global;if(N&&!b.active++){b.event.trigger("ajaxStart");}if(N){b.event.trigger("ajaxSend",[y,F]);
}if(F.beforeSend&&F.beforeSend.call(F.context,y,F)===false){if(F.global){b.active--;}return;}if(y.aborted){return;}z=v.clk;if(z){J=z.name;if(J&&!z.disabled){F.extraData=F.extraData||{};F.extraData[J]=z.value;if(z.type=="image"){F.extraData[J+".x"]=v.clk_x;F.extraData[J+".y"]=v.clk_y;}}}var E=1;var B=2;
function C(S){var n=S.contentWindow?S.contentWindow.document:S.contentDocument?S.contentDocument:S.document;return n;}function K(){var U=s.attr("target"),S=s.attr("action");v.setAttribute("target",I);if(v.getAttribute("method")!="POST"){v.setAttribute("method","POST");}if(v.getAttribute("action")!=F.url){v.setAttribute("action",F.url);
}if(!F.skipEncodingOverride){s.attr({encoding:"multipart/form-data",enctype:"multipart/form-data"});}if(F.timeout){D=setTimeout(function(){M=true;H(E);},F.timeout);}function V(){try{var n=C(A).readyState;a("state = "+n);if(n.toLowerCase()=="uninitialized"){setTimeout(V,50);}}catch(X){a("Server abort: ",X," (",X.name,")");
H(B);D&&clearTimeout(D);D=undefined;}}var T=[];try{if(F.extraData){for(var W in F.extraData){T.push(b('<input type="hidden" name="'+W+'" />').attr("value",F.extraData[W]).appendTo(v)[0]);}}if(!F.iframeTarget){x.appendTo("body");A.attachEvent?A.attachEvent("onload",H):A.addEventListener("load",H,false);
}setTimeout(V,15);v.submit();}finally{v.setAttribute("action",S);if(U){v.setAttribute("target",U);}else{s.removeAttr("target");}b(T).remove();}}if(F.forceSync){K();}else{setTimeout(K,10);}var Q,R,O=50,w;function H(W){if(y.aborted||w){return;}try{R=C(A);}catch(Z){a("cannot access response document: ",Z);
W=B;}if(W===E&&y){y.abort("timeout");return;}else{if(W==B&&y){y.abort("server abort");return;}}if(!R||R.location.href==F.iframeSrc){if(!M){return;}}A.detachEvent?A.detachEvent("onload",H):A.removeEventListener("load",H,false);var U="success",Y;try{if(M){throw"timeout";}var T=F.dataType=="xml"||R.XMLDocument||b.isXMLDoc(R);
a("isXml="+T);if(!T&&window.opera&&(R.body==null||R.body.innerHTML=="")){if(--O){a("requeing onLoad callback, DOM not available");setTimeout(H,250);return;}}var aa=R.body?R.body:R.documentElement;y.responseText=aa?aa.innerHTML:null;y.responseXML=R.XMLDocument?R.XMLDocument:R;if(T){F.dataType="xml";}y.getResponseHeader=function(ad){var ac={"content-type":F.dataType};
return ac[ad];};if(aa){y.status=Number(aa.getAttribute("status"))||y.status;y.statusText=aa.getAttribute("statusText")||y.statusText;}var n=F.dataType||"";var X=/(json|script|text)/.test(n.toLowerCase());if(X||F.textarea){var V=R.getElementsByTagName("textarea")[0];if(V){y.responseText=V.value;y.status=Number(V.getAttribute("status"))||y.status;
y.statusText=V.getAttribute("statusText")||y.statusText;}else{if(X){var S=R.getElementsByTagName("pre")[0];var ab=R.getElementsByTagName("body")[0];if(S){y.responseText=S.textContent?S.textContent:S.innerHTML;}else{if(ab){y.responseText=ab.innerHTML;}}}}}else{if(F.dataType=="xml"&&!y.responseXML&&y.responseText!=null){y.responseXML=G(y.responseText);
}}try{Q=k(y,F.dataType,F);}catch(W){U="parsererror";y.error=Y=(W||U);}}catch(W){a("error caught: ",W);U="error";y.error=Y=(W||U);}if(y.aborted){a("upload aborted");U=null;}if(y.status){U=(y.status>=200&&y.status<300||y.status===304)?"success":"error";}if(U==="success"){F.success&&F.success.call(F.context,Q,"success",y);
N&&b.event.trigger("ajaxSuccess",[y,F]);}else{if(U){if(Y==undefined){Y=y.statusText;}F.error&&F.error.call(F.context,y,U,Y);N&&b.event.trigger("ajaxError",[y,F,Y]);}}N&&b.event.trigger("ajaxComplete",[y,F]);if(N&&!--b.active){b.event.trigger("ajaxStop");}F.complete&&F.complete.call(F.context,y,U);w=true;
if(F.timeout){clearTimeout(D);}setTimeout(function(){if(!F.iframeTarget){x.remove();}y.responseXML=null;},100);}var G=b.parseXML||function(n,S){if(window.ActiveXObject){S=new ActiveXObject("Microsoft.XMLDOM");S.async="false";S.loadXML(n);}else{S=(new DOMParser()).parseFromString(n,"text/xml");}return(S&&S.documentElement&&S.documentElement.nodeName!="parsererror")?S:null;
};var q=b.parseJSON||function(n){return window["eval"]("("+n+")");};var k=function(W,U,T){var S=W.getResponseHeader("content-type")||"",n=U==="xml"||!U&&S.indexOf("xml")>=0,V=n?W.responseXML:W.responseText;if(n&&V.documentElement.nodeName==="parsererror"){b.error&&b.error("parsererror");}if(T&&T.dataFilter){V=T.dataFilter(V,U);
}if(typeof V==="string"){if(U==="json"||!U&&S.indexOf("json")>=0){V=q(V);}else{if(U==="script"||!U&&S.indexOf("javascript")>=0){b.globalEval(V);}}}return V;};}};b.fn.ajaxForm=function(c){if(this.length===0){var d={s:this.selector,c:this.context};if(!b.isReady&&d.s){a("DOM not ready, queuing ajaxForm");
b(function(){b(d.s,d.c).ajaxForm(c);});return this;}a("terminating; zero elements found by selector"+(b.isReady?"":" (DOM not ready)"));return this;}return this.ajaxFormUnbind().bind("submit.form-plugin",function(f){if(!f.isDefaultPrevented()){f.preventDefault();b(this).ajaxSubmit(c);}}).bind("click.form-plugin",function(j){var i=j.target;
var g=b(i);if(!(g.is(":submit,input:image"))){var f=g.closest(":submit");if(f.length==0){return;}i=f[0];}var h=this;h.clk=i;if(i.type=="image"){if(j.offsetX!=undefined){h.clk_x=j.offsetX;h.clk_y=j.offsetY;}else{if(typeof b.fn.offset=="function"){var k=g.offset();h.clk_x=j.pageX-k.left;h.clk_y=j.pageY-k.top;
}else{h.clk_x=j.pageX-i.offsetLeft;h.clk_y=j.pageY-i.offsetTop;}}}setTimeout(function(){h.clk=h.clk_x=h.clk_y=null;},100);});};b.fn.ajaxFormUnbind=function(){return this.unbind("submit.form-plugin click.form-plugin");};b.fn.formToArray=function(q){var p=[];if(this.length===0){return p;}var d=this[0];
var g=q?d.getElementsByTagName("*"):d.elements;if(!g){return p;}var k,h,f,r,e,m,c;for(k=0,m=g.length;k<m;k++){e=g[k];f=e.name;if(!f){continue;}if(q&&d.clk&&e.type=="image"){if(!e.disabled&&d.clk==e){p.push({name:f,value:b(e).val()});p.push({name:f+".x",value:d.clk_x},{name:f+".y",value:d.clk_y});}continue;
}r=b.fieldValue(e,true);if(r&&r.constructor==Array){for(h=0,c=r.length;h<c;h++){p.push({name:f,value:r[h]});}}else{if(r!==null&&typeof r!="undefined"){p.push({name:f,value:r});}}}if(!q&&d.clk){var l=b(d.clk),o=l[0];f=o.name;if(f&&!o.disabled&&o.type=="image"){p.push({name:f,value:l.val()});p.push({name:f+".x",value:d.clk_x},{name:f+".y",value:d.clk_y});
}}return p;};b.fn.formSerialize=function(c){return b.param(this.formToArray(c));};b.fn.fieldSerialize=function(d){var c=[];this.each(function(){var h=this.name;if(!h){return;}var f=b.fieldValue(this,d);if(f&&f.constructor==Array){for(var g=0,e=f.length;g<e;g++){c.push({name:h,value:f[g]});}}else{if(f!==null&&typeof f!="undefined"){c.push({name:this.name,value:f});
}}});return b.param(c);};b.fn.fieldValue=function(h){for(var g=[],e=0,c=this.length;e<c;e++){var f=this[e];var d=b.fieldValue(f,h);if(d===null||typeof d=="undefined"||(d.constructor==Array&&!d.length)){continue;}d.constructor==Array?b.merge(g,d):g.push(d);}return g;};b.fieldValue=function(c,j){var e=c.name,p=c.type,q=c.tagName.toLowerCase();
if(j===undefined){j=true;}if(j&&(!e||c.disabled||p=="reset"||p=="button"||(p=="checkbox"||p=="radio")&&!c.checked||(p=="submit"||p=="image")&&c.form&&c.form.clk!=c||q=="select"&&c.selectedIndex==-1)){return null;}if(q=="select"){var k=c.selectedIndex;if(k<0){return null;}var m=[],d=c.options;var g=(p=="select-one");
var l=(g?k+1:d.length);for(var f=(g?k:0);f<l;f++){var h=d[f];if(h.selected){var o=h.value;if(!o){o=(h.attributes&&h.attributes["value"]&&!(h.attributes["value"].specified))?h.text:h.value;}if(g){return o;}m.push(o);}}return m;}return b(c).val();};b.fn.clearForm=function(){return this.each(function(){b("input,select,textarea",this).clearFields();
});};b.fn.clearFields=b.fn.clearInputs=function(){return this.each(function(){var d=this.type,c=this.tagName.toLowerCase();if(d=="text"||d=="password"||c=="textarea"){this.value="";}else{if(d=="checkbox"||d=="radio"){this.checked=false;}else{if(c=="select"){this.selectedIndex=-1;}}}});};b.fn.resetForm=function(){return this.each(function(){if(typeof this.reset=="function"||(typeof this.reset=="object"&&!this.reset.nodeType)){this.reset();
}});};b.fn.enable=function(c){if(c===undefined){c=true;}return this.each(function(){this.disabled=!c;});};b.fn.selected=function(c){if(c===undefined){c=true;}return this.each(function(){var d=this.type;if(d=="checkbox"||d=="radio"){this.checked=c;}else{if(this.tagName.toLowerCase()=="option"){var e=b(this).parent("select");
if(c&&e[0]&&e[0].type=="select-one"){e.find("option").selected(false);}this.selected=c;}}});};function a(){var c="[jquery.form] "+Array.prototype.join.call(arguments,"");if(window.console&&window.console.log){window.console.log(c);}else{if(window.opera&&window.opera.postError){window.opera.postError(c);
}}}})(jQuery);(function(h,f){var i={a:"href",img:"src",form:"action",base:"href",script:"src",iframe:"src",link:"href"},j=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","fragment"],e={"anchor":"fragment"},a={strict:/^(?:([^:\/?#]+):)?(?:\/\/((?:(([^:@]*):?([^:@]*))?@)?([^:\/?#]*)(?::(\d*))?))?((((?:[^?#\/]*\/)*)([^?#]*))(?:\?([^#]*))?(?:#(.*))?)/,loose:/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@]*):?([^:@]*))?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/},c=/(?:^|&|;)([^&=;]*)=?([^&;]*)/g,b=/(?:^|&|;)([^&=;]*)=?([^&;]*)/g;
function g(k,n){var p=decodeURI(k),m=a[n||false?"strict":"loose"].exec(p),o={attr:{},param:{},seg:{}},l=14;while(l--){o.attr[j[l]]=m[l]||"";}o.param["query"]={};o.param["fragment"]={};o.attr["query"].replace(c,function(r,q,s){if(q){o.param["query"][q]=s;}});o.attr["fragment"].replace(b,function(r,q,s){if(q){o.param["fragment"][q]=s;
}});o.seg["path"]=o.attr.path.replace(/^\/+|\/+$/g,"").split("/");o.seg["fragment"]=o.attr.fragment.replace(/^\/+|\/+$/g,"").split("/");o.attr["base"]=o.attr.host?o.attr.protocol+"://"+o.attr.host+(o.attr.port?":"+o.attr.port:""):"";return o;}function d(l){var k=l.tagName;if(k!==f){return i[k.toLowerCase()];
}return k;}h.fn.url=function(l){var k="";if(this.length){k=h(this).attr(d(this[0]))||"";}return h.url({url:k,strict:l});};h.url=function(m){var l="",k=false;if(typeof m==="string"){l=m;}else{m=m||{};k=m.strict||k;l=m.url===f?window.location.toString():m.url;}return{data:g(l,k),attr:function(n){n=e[n]||n;
return n!==f?this.data.attr[n]:this.data.attr;},param:function(n){return n!==f?this.data.param.query[n]:this.data.param.query;},fparam:function(n){return n!==f?this.data.param.fragment[n]:this.data.param.fragment;},segment:function(n){if(n===f){return this.data.seg.path;}else{n=n<0?this.data.seg.path.length+n:n-1;
return this.data.seg.path[n];}},fsegment:function(n){if(n===f){return this.data.seg.fragment;}else{n=n<0?this.data.seg.fragment.length+n:n-1;return this.data.seg.fragment[n];}}};};})(jQuery);(function(a){a.extend(a.fn,{validate:function(b){if(!this.length){b&&b.debug&&window.console&&console.warn("nothing selected, can't validate, returning nothing");
return;}var c=a.data(this[0],"validator");if(c){return c;}c=new a.validator(b,this[0]);a.data(this[0],"validator",c);if(c.settings.onsubmit){this.find("input, button").filter(".cancel").click(function(){c.cancelSubmit=true;});if(c.settings.submitHandler){this.find("input, button").filter(":submit").click(function(){c.submitButton=this;
});}this.submit(function(d){if(c.settings.debug){d.preventDefault();}function e(){if(c.settings.submitHandler){if(c.submitButton){var f=a("<input type='hidden'/>").attr("name",c.submitButton.name).val(c.submitButton.value).appendTo(c.currentForm);}c.settings.submitHandler.call(c,c.currentForm);if(c.submitButton){f.remove();
}return false;}return true;}if(c.cancelSubmit){c.cancelSubmit=false;return e();}if(c.form()){if(c.pendingRequest){c.formSubmitted=true;return false;}return e();}else{c.focusInvalid();return false;}});}return c;},valid:function(){if(a(this[0]).is("form")){return this.validate().form();}else{var c=true;
var b=a(this[0].form).validate();this.each(function(){c&=b.element(this);});return c;}},removeAttrs:function(d){var b={},c=this;a.each(d.split(/\s/),function(e,f){b[f]=c.attr(f);c.removeAttr(f);});return b;},rules:function(e,b){var g=this[0];if(e){var d=a.data(g.form,"validator").settings;var i=d.rules;
var j=a.validator.staticRules(g);switch(e){case"add":a.extend(j,a.validator.normalizeRule(b));i[g.name]=j;if(b.messages){d.messages[g.name]=a.extend(d.messages[g.name],b.messages);}break;case"remove":if(!b){delete i[g.name];return j;}var h={};a.each(b.split(/\s/),function(k,l){h[l]=j[l];delete j[l];});
return h;}}var f=a.validator.normalizeRules(a.extend({},a.validator.metadataRules(g),a.validator.classRules(g),a.validator.attributeRules(g),a.validator.staticRules(g)),g);if(f.required){var c=f.required;delete f.required;f=a.extend({required:c},f);}return f;}});a.extend(a.expr[":"],{blank:function(b){return !a.trim(""+b.value);
},filled:function(b){return !!a.trim(""+b.value);},unchecked:function(b){return !b.checked;}});a.validator=function(b,c){this.settings=a.extend(true,{},a.validator.defaults,b);this.currentForm=c;this.init();};a.validator.format=function(b,c){if(arguments.length==1){return function(){var d=a.makeArray(arguments);
d.unshift(b);return a.validator.format.apply(this,d);};}if(arguments.length>2&&c.constructor!=Array){c=a.makeArray(arguments).slice(1);}if(c.constructor!=Array){c=[c];}a.each(c,function(d,e){b=b.replace(new RegExp("\\{"+d+"\\}","g"),e);});return b;};a.extend(a.validator,{defaults:{messages:{},groups:{},rules:{},errorClass:"error",validClass:"valid",errorElement:"label",focusInvalid:true,errorContainer:a([]),errorLabelContainer:a([]),onsubmit:true,ignore:[],ignoreTitle:false,onfocusin:function(b){this.lastActive=b;
if(this.settings.focusCleanup&&!this.blockFocusCleanup){this.settings.unhighlight&&this.settings.unhighlight.call(this,b,this.settings.errorClass,this.settings.validClass);this.addWrapper(this.errorsFor(b)).hide();}},onfocusout:function(b){if(!this.checkable(b)&&(b.name in this.submitted||!this.optional(b))){this.element(b);
}},onkeyup:function(b){if(b.name in this.submitted||b==this.lastElement){this.element(b);}},onclick:function(b){if(b.name in this.submitted){this.element(b);}else{if(b.parentNode.name in this.submitted){this.element(b.parentNode);}}},highlight:function(d,b,c){if(d.type==="radio"){this.findByName(d.name).addClass(b).removeClass(c);
}else{a(d).addClass(b).removeClass(c);}},unhighlight:function(d,b,c){if(d.type==="radio"){this.findByName(d.name).removeClass(b).addClass(c);}else{a(d).removeClass(b).addClass(c);}}},setDefaults:function(b){a.extend(a.validator.defaults,b);},messages:{required:"This field is required.",remote:"Please fix this field.",email:"Please enter a valid email address.",url:"Please enter a valid URL.",date:"Please enter a valid date.",dateISO:"Please enter a valid date (ISO).",number:"Please enter a valid number.",digits:"Please enter only digits.",creditcard:"Please enter a valid credit card number.",equalTo:"Please enter the same value again.",accept:"Please enter a value with a valid extension.",maxlength:a.validator.format("Please enter no more than {0} characters."),minlength:a.validator.format("Please enter at least {0} characters."),rangelength:a.validator.format("Please enter a value between {0} and {1} characters long."),range:a.validator.format("Please enter a value between {0} and {1}."),max:a.validator.format("Please enter a value less than or equal to {0}."),min:a.validator.format("Please enter a value greater than or equal to {0}.")},autoCreateRanges:false,prototype:{init:function(){this.labelContainer=a(this.settings.errorLabelContainer);
this.errorContext=this.labelContainer.length&&this.labelContainer||a(this.currentForm);this.containers=a(this.settings.errorContainer).add(this.settings.errorLabelContainer);this.submitted={};this.valueCache={};this.pendingRequest=0;this.pending={};this.invalid={};this.reset();var b=(this.groups={});
a.each(this.settings.groups,function(e,f){a.each(f.split(/\s/),function(h,g){b[g]=e;});});var d=this.settings.rules;a.each(d,function(e,f){d[e]=a.validator.normalizeRule(f);});function c(g){var f=a.data(this[0].form,"validator"),e="on"+g.type.replace(/^validate/,"");f.settings[e]&&f.settings[e].call(f,this[0]);
}a(this.currentForm).validateDelegate(":text, :password, :file, select, textarea","focusin focusout keyup",c).validateDelegate(":radio, :checkbox, select, option","click",c);if(this.settings.invalidHandler){a(this.currentForm).bind("invalid-form.validate",this.settings.invalidHandler);}},form:function(){this.checkForm();
a.extend(this.submitted,this.errorMap);this.invalid=a.extend({},this.errorMap);if(!this.valid()){a(this.currentForm).triggerHandler("invalid-form",[this]);}this.showErrors();return this.valid();},checkForm:function(){this.prepareForm();for(var b=0,c=(this.currentElements=this.elements());c[b];b++){this.check(c[b]);
}return this.valid();},element:function(c){c=this.clean(c);this.lastElement=c;this.prepareElement(c);this.currentElements=a(c);var b=this.check(c);if(b){delete this.invalid[c.name];}else{this.invalid[c.name]=true;}if(!this.numberOfInvalids()){this.toHide=this.toHide.add(this.containers);}this.showErrors();
return b;},showErrors:function(c){if(c){a.extend(this.errorMap,c);this.errorList=[];for(var b in c){this.errorList.push({message:c[b],element:this.findByName(b)[0]});}this.successList=a.grep(this.successList,function(d){return !(d.name in c);});}this.settings.showErrors?this.settings.showErrors.call(this,this.errorMap,this.errorList):this.defaultShowErrors();
},resetForm:function(){if(a.fn.resetForm){a(this.currentForm).resetForm();}this.submitted={};this.prepareForm();this.hideErrors();this.elements().removeClass(this.settings.errorClass);},numberOfInvalids:function(){return this.objectLength(this.invalid);},objectLength:function(d){var c=0;for(var b in d){c++;
}return c;},hideErrors:function(){this.addWrapper(this.toHide).hide();},valid:function(){return this.size()==0;},size:function(){return this.errorList.length;},focusInvalid:function(){if(this.settings.focusInvalid){try{a(this.findLastActive()||this.errorList.length&&this.errorList[0].element||[]).filter(":visible").focus().trigger("focusin");
}catch(b){}}},findLastActive:function(){var b=this.lastActive;return b&&a.grep(this.errorList,function(c){return c.element.name==b.name;}).length==1&&b;},elements:function(){var c=this,b={};return a(this.currentForm).find("input, select, textarea").not(":submit, :reset, :image, [disabled]").not(this.settings.ignore).filter(function(){!this.name&&c.settings.debug&&window.console&&console.error("%o has no name assigned",this);
if(this.name in b||!c.objectLength(a(this).rules())){return false;}b[this.name]=true;return true;});},clean:function(b){return a(b)[0];},errors:function(){return a(this.settings.errorElement+"."+this.settings.errorClass,this.errorContext);},reset:function(){this.successList=[];this.errorList=[];this.errorMap={};
this.toShow=a([]);this.toHide=a([]);this.currentElements=a([]);},prepareForm:function(){this.reset();this.toHide=this.errors().add(this.containers);},prepareElement:function(b){this.reset();this.toHide=this.errorsFor(b);},check:function(c){c=this.clean(c);if(this.checkable(c)){c=this.findByName(c.name).not(this.settings.ignore)[0];
}var h=a(c).rules();var d=false;for(var i in h){var g={method:i,parameters:h[i]};try{var b=a.validator.methods[i].call(this,c.value.replace(/\r/g,""),c,g.parameters);if(b=="dependency-mismatch"){d=true;continue;}d=false;if(b=="pending"){this.toHide=this.toHide.not(this.errorsFor(c));return;}if(!b){this.formatAndAdd(c,g);
return false;}}catch(f){this.settings.debug&&window.console&&console.log("exception occured when checking element "+c.id+", check the '"+g.method+"' method",f);throw f;}}if(d){return;}if(this.objectLength(h)){this.successList.push(c);}return true;},customMetaMessage:function(b,d){if(!a.metadata){return;
}var c=this.settings.meta?a(b).metadata()[this.settings.meta]:a(b).metadata();return c&&c.messages&&c.messages[d];},customMessage:function(c,d){var b=this.settings.messages[c];return b&&(b.constructor==String?b:b[d]);},findDefined:function(){for(var b=0;b<arguments.length;b++){if(arguments[b]!==undefined){return arguments[b];
}}return undefined;},defaultMessage:function(b,c){return this.findDefined(this.customMessage(b.name,c),this.customMetaMessage(b,c),!this.settings.ignoreTitle&&b.title||undefined,a.validator.messages[c],"<strong>Warning: No message defined for "+b.name+"</strong>");},formatAndAdd:function(c,e){var d=this.defaultMessage(c,e.method),b=/\$?\{(\d+)\}/g;
if(typeof d=="function"){d=d.call(this,e.parameters,c);}else{if(b.test(d)){d=jQuery.format(d.replace(b,"{$1}"),e.parameters);}}this.errorList.push({message:d,element:c});this.errorMap[c.name]=d;this.submitted[c.name]=d;},addWrapper:function(b){if(this.settings.wrapper){b=b.add(b.parent(this.settings.wrapper));
}return b;},defaultShowErrors:function(){for(var c=0;this.errorList[c];c++){var b=this.errorList[c];this.settings.highlight&&this.settings.highlight.call(this,b.element,this.settings.errorClass,this.settings.validClass);this.showLabel(b.element,b.message);}if(this.errorList.length){this.toShow=this.toShow.add(this.containers);
}if(this.settings.success){for(var c=0;this.successList[c];c++){this.showLabel(this.successList[c]);}}if(this.settings.unhighlight){for(var c=0,d=this.validElements();d[c];c++){this.settings.unhighlight.call(this,d[c],this.settings.errorClass,this.settings.validClass);}}this.toHide=this.toHide.not(this.toShow);
this.hideErrors();this.addWrapper(this.toShow).show();},validElements:function(){return this.currentElements.not(this.invalidElements());},invalidElements:function(){return a(this.errorList).map(function(){return this.element;});},showLabel:function(c,d){var b=this.errorsFor(c);if(b.length){b.removeClass().addClass(this.settings.errorClass);
b.attr("generated")&&b.html(d);}else{b=a("<"+this.settings.errorElement+"/>").attr({"for":this.idOrName(c),generated:true}).addClass(this.settings.errorClass).html(d||"");if(this.settings.wrapper){b=b.hide().show().wrap("<"+this.settings.wrapper+"/>").parent();}if(!this.labelContainer.append(b).length){this.settings.errorPlacement?this.settings.errorPlacement(b,a(c)):b.insertAfter(c);
}}if(!d&&this.settings.success){b.text("");typeof this.settings.success=="string"?b.addClass(this.settings.success):this.settings.success(b);}this.toShow=this.toShow.add(b);},errorsFor:function(c){var b=this.idOrName(c);return this.errors().filter(function(){return a(this).attr("for")==b;});},idOrName:function(b){return this.groups[b.name]||(this.checkable(b)?b.name:b.id||b.name);
},checkable:function(b){return/radio|checkbox/i.test(b.type);},findByName:function(b){var c=this.currentForm;return a(document.getElementsByName(b)).map(function(d,e){return e.form==c&&e.name==b&&e||null;});},getLength:function(c,b){switch(b.nodeName.toLowerCase()){case"select":return a("option:selected",b).length;
case"input":if(this.checkable(b)){return this.findByName(b.name).filter(":checked").length;}}return c.length;},depend:function(c,b){return this.dependTypes[typeof c]?this.dependTypes[typeof c](c,b):true;},dependTypes:{"boolean":function(c,b){return c;},"string":function(c,b){return !!a(c,b.form).length;
},"function":function(c,b){return c(b);}},optional:function(b){return !a.validator.methods.required.call(this,a.trim(b.value),b)&&"dependency-mismatch";},startRequest:function(b){if(!this.pending[b.name]){this.pendingRequest++;this.pending[b.name]=true;}},stopRequest:function(b,c){this.pendingRequest--;
if(this.pendingRequest<0){this.pendingRequest=0;}delete this.pending[b.name];if(c&&this.pendingRequest==0&&this.formSubmitted&&this.form()){a(this.currentForm).submit();this.formSubmitted=false;}else{if(!c&&this.pendingRequest==0&&this.formSubmitted){a(this.currentForm).triggerHandler("invalid-form",[this]);
this.formSubmitted=false;}}},previousValue:function(b){return a.data(b,"previousValue")||a.data(b,"previousValue",{old:null,valid:true,message:this.defaultMessage(b,"remote")});}},classRuleSettings:{required:{required:true},email:{email:true},url:{url:true},date:{date:true},dateISO:{dateISO:true},dateDE:{dateDE:true},number:{number:true},numberDE:{numberDE:true},digits:{digits:true},creditcard:{creditcard:true}},addClassRules:function(b,c){b.constructor==String?this.classRuleSettings[b]=c:a.extend(this.classRuleSettings,b);
},classRules:function(c){var d={};var b=a(c).attr("class");b&&a.each(b.split(" "),function(){if(this in a.validator.classRuleSettings){a.extend(d,a.validator.classRuleSettings[this]);}});return d;},attributeRules:function(c){var e={};var b=a(c);for(var f in a.validator.methods){var d=b.attr(f);if(d){e[f]=d;
}}if(e.maxlength&&/-1|2147483647|524288/.test(e.maxlength)){delete e.maxlength;}return e;},metadataRules:function(b){if(!a.metadata){return{};}var c=a.data(b.form,"validator").settings.meta;return c?a(b).metadata()[c]:a(b).metadata();},staticRules:function(c){var d={};var b=a.data(c.form,"validator");
if(b.settings.rules){d=a.validator.normalizeRule(b.settings.rules[c.name])||{};}return d;},normalizeRules:function(c,b){a.each(c,function(f,e){if(e===false){delete c[f];return;}if(e.param||e.depends){var d=true;switch(typeof e.depends){case"string":d=!!a(e.depends,b.form).length;break;case"function":d=e.depends.call(b,b);
break;}if(d){c[f]=e.param!==undefined?e.param:true;}else{delete c[f];}}});a.each(c,function(d,e){c[d]=a.isFunction(e)?e(b):e;});a.each(["minlength","maxlength","min","max"],function(){if(c[this]){c[this]=Number(c[this]);}});a.each(["rangelength","range"],function(){if(c[this]){c[this]=[Number(c[this][0]),Number(c[this][1])];
}});if(a.validator.autoCreateRanges){if(c.min&&c.max){c.range=[c.min,c.max];delete c.min;delete c.max;}if(c.minlength&&c.maxlength){c.rangelength=[c.minlength,c.maxlength];delete c.minlength;delete c.maxlength;}}if(c.messages){delete c.messages;}return c;},normalizeRule:function(c){if(typeof c=="string"){var b={};
a.each(c.split(/\s/),function(){b[this]=true;});c=b;}return c;},addMethod:function(b,d,c){a.validator.methods[b]=d;a.validator.messages[b]=c!=undefined?c:a.validator.messages[b];if(d.length<3){a.validator.addClassRules(b,a.validator.normalizeRule(b));}},methods:{required:function(c,b,e){if(!this.depend(e,b)){return"dependency-mismatch";
}switch(b.nodeName.toLowerCase()){case"select":var d=a(b).val();return d&&d.length>0;case"input":if(this.checkable(b)){return this.getLength(c,b)>0;}default:return a.trim(c).length>0;}},remote:function(f,c,g){if(this.optional(c)){return"dependency-mismatch";}var d=this.previousValue(c);if(!this.settings.messages[c.name]){this.settings.messages[c.name]={};
}d.originalMessage=this.settings.messages[c.name].remote;this.settings.messages[c.name].remote=d.message;g=typeof g=="string"&&{url:g}||g;if(this.pending[c.name]){return"pending";}if(d.old===f){return d.valid;}d.old=f;var b=this;this.startRequest(c);var e={};e[c.name]=f;a.ajax(a.extend(true,{url:g,mode:"abort",port:"validate"+c.name,dataType:"json",data:e,success:function(i){b.settings.messages[c.name].remote=d.originalMessage;
var k=i===true;if(k){var h=b.formSubmitted;b.prepareElement(c);b.formSubmitted=h;b.successList.push(c);b.showErrors();}else{var l={};var j=i||b.defaultMessage(c,"remote");l[c.name]=d.message=a.isFunction(j)?j(f):j;b.showErrors(l);}d.valid=k;b.stopRequest(c,k);}},g));return"pending";},minlength:function(c,b,d){return this.optional(b)||this.getLength(a.trim(c),b)>=d;
},maxlength:function(c,b,d){return this.optional(b)||this.getLength(a.trim(c),b)<=d;},rangelength:function(d,b,e){var c=this.getLength(a.trim(d),b);return this.optional(b)||(c>=e[0]&&c<=e[1]);},min:function(c,b,d){return this.optional(b)||c>=d;},max:function(c,b,d){return this.optional(b)||c<=d;},range:function(c,b,d){return this.optional(b)||(c>=d[0]&&c<=d[1]);
},email:function(c,b){return this.optional(b)||/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?$/i.test(c);
},url:function(c,b){return this.optional(b)||/^(https?|ftp):\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-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|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i.test(c);
},date:function(c,b){return this.optional(b)||!/Invalid|NaN/.test(new Date(c));},dateISO:function(c,b){return this.optional(b)||/^\d{4}[\/-]\d{1,2}[\/-]\d{1,2}$/.test(c);},number:function(c,b){return this.optional(b)||/^-?(?:\d+|\d{1,3}(?:,\d{3})+)(?:\.\d+)?$/.test(c);},digits:function(c,b){return this.optional(b)||/^\d+$/.test(c);
},creditcard:function(f,c){if(this.optional(c)){return"dependency-mismatch";}if(/[^0-9-]+/.test(f)){return false;}var g=0,e=0,b=false;f=f.replace(/\D/g,"");for(var h=f.length-1;h>=0;h--){var d=f.charAt(h);var e=parseInt(d,10);if(b){if((e*=2)>9){e-=9;}}g+=e;b=!b;}return(g%10)==0;},accept:function(c,b,d){d=typeof d=="string"?d.replace(/,/g,"|"):"png|jpe?g|gif";
return this.optional(b)||c.match(new RegExp(".("+d+")$","i"));},equalTo:function(c,b,e){var d=a(e).unbind(".validate-equalTo").bind("blur.validate-equalTo",function(){a(b).valid();});return c==d.val();}}});a.format=a.validator.format;})(jQuery);(function(c){var a={};if(c.ajaxPrefilter){c.ajaxPrefilter(function(f,e,g){var d=f.port;
if(f.mode=="abort"){if(a[d]){a[d].abort();}a[d]=g;}});}else{var b=c.ajax;c.ajax=function(e){var f=("mode" in e?e:c.ajaxSettings).mode,d=("port" in e?e:c.ajaxSettings).port;if(f=="abort"){if(a[d]){a[d].abort();}return(a[d]=b.apply(this,arguments));}return b.apply(this,arguments);};}})(jQuery);(function(a){if(!jQuery.event.special.focusin&&!jQuery.event.special.focusout&&document.addEventListener){a.each({focus:"focusin",blur:"focusout"},function(c,b){a.event.special[b]={setup:function(){this.addEventListener(c,d,true);
},teardown:function(){this.removeEventListener(c,d,true);},handler:function(f){arguments[0]=a.event.fix(f);arguments[0].type=b;return a.event.handle.apply(this,arguments);}};function d(f){f=a.event.fix(f);f.type=b;return a.event.handle.call(this,f);}});}a.extend(a.fn,{validateDelegate:function(d,c,b){return this.bind(c,function(e){var f=a(e.target);
if(f.is(d)){return b.apply(f,arguments);}});}});})(jQuery);(function(a){a.fn.outerHTML=function(b){return(b)?this.before(b).remove():a("<p>").append(this.eq(0).clone()).html();};})(jQuery);
