/*
 * jQuery JavaScript Library v1.4
 * http://jquery.com/
 *
 * Copyright 2010, John Resig
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://docs.jquery.com/License
 *
 * Includes Sizzle.js
 * http://sizzlejs.com/
 * Copyright 2010, The Dojo Foundation
 * Released under the MIT, BSD, and GPL Licenses.
 *
 * Date: Wed Jan 13 15:23:05 2010 -0500
 */
(function(aM,J){function af(){if(!ag.isReady){try{N.documentElement.doScroll("left");
}catch(c){setTimeout(af,1);return;}ag.ready();}}function o(s,c){c.src?ag.ajax({url:c.src,async:false,dataType:"script"}):ag.globalEval(c.text||c.textContent||c.innerHTML||"");c.parentNode&&c.parentNode.removeChild(c);}function aZ(s,c,L,G,H,A){var w=s.length;if(typeof c==="object"){for(var K in c){aZ(s,K,c[K],G,H,L);
}return s;}if(L!==J){G=!A&&G&&ag.isFunction(L);for(K=0;K<w;K++){H(s[K],c,G?L.call(s[K],K,H(s[K],c)):L,A);}return s;}return w?H(s[0],c):null;}function aB(){return(new Date).getTime();}function aS(){return false;}function ay(){return true;}function B(s,c,w){w[0].type=s;return ag.event.handle.apply(c,w);
}function n(O){var M=true,L=[],H=[],K=arguments,G,A,s,c,w,P=ag.extend({},ag.data(this,"events").live);for(c in P){A=P[c];if(A.live===O.type||A.altLive&&ag.inArray(O.type,A.altLive)>-1){G=A.data;G.beforeFilter&&G.beforeFilter[O.type]&&!G.beforeFilter[O.type](O)||H.push(A.selector);}else{delete P[c];}}G=ag(O.target).closest(H,O.currentTarget);
w=0;for(l=G.length;w<l;w++){for(c in P){A=P[c];s=G[w].elem;H=null;if(G[w].selector===A.selector){if(A.live==="mouseenter"||A.live==="mouseleave"){H=ag(O.relatedTarget).closest(A.selector)[0];}if(!H||H!==s){L.push({elem:s,fn:A});}}}}w=0;for(l=L.length;w<l;w++){G=L[w];O.currentTarget=G.elem;O.data=G.fn.data;
if(G.fn.apply(G.elem,K)===false){M=false;break;}}return M;}function bg(s,c){return["live",s,c.replace(/\./g,"`").replace(/ /g,"&")].join(".");}function a1(c){return !c||!c.parentNode||c.parentNode.nodeType===11;}function aN(s,c){var w=0;c.each(function(){if(this.nodeName===(s[w]&&s[w].nodeName)){var H=ag.data(s[w++]),K=ag.data(this,H);
if(H=H&&H.events){delete K.handle;K.events={};for(var G in H){for(var A in H[G]){ag.event.add(this,G,H[G][A],H[G][A].data);}}}}});}function aj(s,c,H){var A,G,w;if(s.length===1&&typeof s[0]==="string"&&s[0].length<512&&s[0].indexOf("<option")<0){G=true;if(w=ag.fragments[s[0]]){if(w!==1){A=w;}}}if(!A){c=c&&c[0]?c[0].ownerDocument||c[0]:N;
A=c.createDocumentFragment();ag.clean(s,c,A,H);}if(G){ag.fragments[s[0]]=w?A:1;}return{fragment:A,cacheable:G};}function ar(s){for(var c=0,A,w;(A=s[c])!=null;c++){if(!ag.noData[A.nodeName.toLowerCase()]&&(w=A[aF])){delete ag.cache[w];}}}function aA(s,c){var w={};ag.each(E.concat.apply([],E.slice(0,c)),function(){w[this]=s;
});return w;}function q(c){return"scrollTo" in c&&c.document?c:c.nodeType===9?c.defaultView||c.parentWindow:false;}var ag=function(s,c){return new ag.fn.init(s,c);},bh=aM.jQuery,a2=aM.$,N=aM.document,aq,aO=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,ak=/^.[^:#\[\.,]*$/,F=/\S/,r=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,d=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,aw=navigator.userAgent,b=false,au=[],az,X=Object.prototype.toString,v=Object.prototype.hasOwnProperty,g=Array.prototype.push,at=Array.prototype.slice,ap=Array.prototype.indexOf;
ag.fn=ag.prototype={init:function(s,c){var A,w;if(!s){return this;}if(s.nodeType){this.context=this[0]=s;this.length=1;return this;}if(typeof s==="string"){if((A=aO.exec(s))&&(A[1]||!c)){if(A[1]){w=c?c.ownerDocument||c:N;if(s=d.exec(s)){if(ag.isPlainObject(c)){s=[N.createElement(s[1])];ag.fn.attr.call(s,c,true);
}else{s=[w.createElement(s[1])];}}else{s=aj([A[1]],[w]);s=(s.cacheable?s.fragment.cloneNode(true):s.fragment).childNodes;}}else{if(c=N.getElementById(A[2])){if(c.id!==A[2]){return aq.find(s);}this.length=1;this[0]=c;}this.context=N;this.selector=s;return this;}}else{if(!c&&/^\w+$/.test(s)){this.selector=s;
this.context=N;s=N.getElementsByTagName(s);}else{return !c||c.jquery?(c||aq).find(s):ag(c).find(s);}}}else{if(ag.isFunction(s)){return aq.ready(s);}}if(s.selector!==J){this.selector=s.selector;this.context=s.context;}return ag.isArray(s)?this.setArray(s):ag.makeArray(s,this);},selector:"",jquery:"1.4",length:0,size:function(){return this.length;
},toArray:function(){return at.call(this,0);},get:function(c){return c==null?this.toArray():c<0?this.slice(c)[0]:this[c];},pushStack:function(s,c,w){s=ag(s||null);s.prevObject=this;s.context=this.context;if(c==="find"){s.selector=this.selector+(this.selector?" ":"")+w;}else{if(c){s.selector=this.selector+"."+c+"("+w+")";
}}return s;},setArray:function(c){this.length=0;g.apply(this,c);return this;},each:function(s,c){return ag.each(this,s,c);},ready:function(c){ag.bindReady();if(ag.isReady){c.call(N,ag);}else{au&&au.push(c);}return this;},eq:function(c){return c===-1?this.slice(c):this.slice(c,+c+1);},first:function(){return this.eq(0);
},last:function(){return this.eq(-1);},slice:function(){return this.pushStack(at.apply(this,arguments),"slice",at.call(arguments).join(","));},map:function(c){return this.pushStack(ag.map(this,function(s,w){return c.call(s,w,s);}));},end:function(){return this.prevObject||ag(null);},push:g,sort:[].sort,splice:[].splice};
ag.fn.init.prototype=ag.fn;ag.extend=ag.fn.extend=function(){var s=arguments[0]||{},c=1,L=arguments.length,G=false,H,A,w,K;if(typeof s==="boolean"){G=s;s=arguments[1]||{};c=2;}if(typeof s!=="object"&&!ag.isFunction(s)){s={};}if(L===c){s=this;--c;}for(;c<L;c++){if((H=arguments[c])!=null){for(A in H){w=s[A];
K=H[A];if(s!==K){if(G&&K&&(ag.isPlainObject(K)||ag.isArray(K))){w=w&&(ag.isPlainObject(w)||ag.isArray(w))?w:ag.isArray(K)?[]:{};s[A]=ag.extend(G,w,K);}else{if(K!==J){s[A]=K;}}}}}}return s;};ag.extend({noConflict:function(c){aM.$=a2;if(c){aM.jQuery=bh;}return ag;},isReady:false,ready:function(){if(!ag.isReady){if(!N.body){return setTimeout(ag.ready,13);
}ag.isReady=true;if(au){for(var s,c=0;s=au[c++];){s.call(N,ag);}au=null;}ag.fn.triggerHandler&&ag(N).triggerHandler("ready");}},bindReady:function(){if(!b){b=true;if(N.readyState==="complete"){return ag.ready();}if(N.addEventListener){N.addEventListener("DOMContentLoaded",az,false);aM.addEventListener("load",ag.ready,false);
}else{if(N.attachEvent){N.attachEvent("onreadystatechange",az);aM.attachEvent("onload",ag.ready);var s=false;try{s=aM.frameElement==null;}catch(c){}N.documentElement.doScroll&&s&&af();}}}},isFunction:function(c){return X.call(c)==="[object Function]";},isArray:function(c){return X.call(c)==="[object Array]";
},isPlainObject:function(s){if(!s||X.call(s)!=="[object Object]"||s.nodeType||s.setInterval){return false;}if(s.constructor&&!v.call(s,"constructor")&&!v.call(s.constructor.prototype,"isPrototypeOf")){return false;}var c;for(c in s){}return c===J||v.call(s,c);},isEmptyObject:function(s){for(var c in s){return false;
}return true;},noop:function(){},globalEval:function(s){if(s&&F.test(s)){var c=N.getElementsByTagName("head")[0]||N.documentElement,w=N.createElement("script");w.type="text/javascript";if(ag.support.scriptEval){w.appendChild(N.createTextNode(s));}else{w.text=s;}c.insertBefore(w,c.firstChild);c.removeChild(w);
}},nodeName:function(s,c){return s.nodeName&&s.nodeName.toUpperCase()===c.toUpperCase();},each:function(s,c,K){var G,H=0,A=s.length,w=A===J||ag.isFunction(s);if(K){if(w){for(G in s){if(c.apply(s[G],K)===false){break;}}}else{for(;H<A;){if(c.apply(s[H++],K)===false){break;}}}}else{if(w){for(G in s){if(c.call(s[G],G,s[G])===false){break;
}}}else{for(K=s[0];H<A&&c.call(K,H,K)!==false;K=s[++H]){}}}return s;},trim:function(c){return(c||"").replace(r,"");},makeArray:function(s,c){c=c||[];if(s!=null){s.length==null||typeof s==="string"||ag.isFunction(s)||typeof s!=="function"&&s.setInterval?g.call(c,s):ag.merge(c,s);}return c;},inArray:function(s,c){if(c.indexOf){return c.indexOf(s);
}for(var A=0,w=c.length;A<w;A++){if(c[A]===s){return A;}}return -1;},merge:function(s,c){var G=s.length,w=0;if(typeof c.length==="number"){for(var A=c.length;w<A;w++){s[G++]=c[w];}}else{for(;c[w]!==J;){s[G++]=c[w++];}}s.length=G;return s;},grep:function(s,c,H){for(var A=[],G=0,w=s.length;G<w;G++){!H!==!c(s[G],G)&&A.push(s[G]);
}return A;},map:function(s,c,K){for(var G=[],H,A=0,w=s.length;A<w;A++){H=c(s[A],A,K);if(H!=null){G[G.length]=H;}}return G.concat.apply([],G);},guid:1,proxy:function(s,c,w){if(arguments.length===2){if(typeof c==="string"){w=s;s=w[c];c=J;}else{if(c&&!ag.isFunction(c)){w=c;c=J;}}}if(!c&&s){c=function(){return s.apply(w||this,arguments);
};}if(s){c.guid=s.guid=s.guid||c.guid||ag.guid++;}return c;},uaMatch:function(s){var c={browser:""};s=s.toLowerCase();if(/webkit/.test(s)){c={browser:"webkit",version:/webkit[\/ ]([\w.]+)/};}else{if(/opera/.test(s)){c={browser:"opera",version:/version/.test(s)?/version[\/ ]([\w.]+)/:/opera[\/ ]([\w.]+)/};
}else{if(/msie/.test(s)){c={browser:"msie",version:/msie ([\w.]+)/};}else{if(/mozilla/.test(s)&&!/compatible/.test(s)){c={browser:"mozilla",version:/rv:([\w.]+)/};}}}}c.version=(c.version&&c.version.exec(s)||[0,"0"])[1];return c;},browser:{}});aw=ag.uaMatch(aw);if(aw.browser){ag.browser[aw.browser]=true;
ag.browser.version=aw.version;}if(ag.browser.webkit){ag.browser.safari=true;}if(ap){ag.inArray=function(s,c){return ap.call(c,s);};}aq=ag(N);if(N.addEventListener){az=function(){N.removeEventListener("DOMContentLoaded",az,false);ag.ready();};}else{if(N.attachEvent){az=function(){if(N.readyState==="complete"){N.detachEvent("onreadystatechange",az);
ag.ready();}};}}if(ap){ag.inArray=function(s,c){return ap.call(c,s);};}(function(){ag.support={};var s=N.documentElement,c=N.createElement("script"),L=N.createElement("div"),G="script"+aB();L.style.display="none";L.innerHTML="   <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";
var H=L.getElementsByTagName("*"),A=L.getElementsByTagName("a")[0];if(!(!H||!H.length||!A)){ag.support={leadingWhitespace:L.firstChild.nodeType===3,tbody:!L.getElementsByTagName("tbody").length,htmlSerialize:!!L.getElementsByTagName("link").length,style:/red/.test(A.getAttribute("style")),hrefNormalized:A.getAttribute("href")==="/a",opacity:/^0.55$/.test(A.style.opacity),cssFloat:!!A.style.cssFloat,checkOn:L.getElementsByTagName("input")[0].value==="on",optSelected:N.createElement("select").appendChild(N.createElement("option")).selected,scriptEval:false,noCloneEvent:true,boxModel:null};
c.type="text/javascript";try{c.appendChild(N.createTextNode("window."+G+"=1;"));}catch(w){}s.insertBefore(c,s.firstChild);if(aM[G]){ag.support.scriptEval=true;delete aM[G];}s.removeChild(c);if(L.attachEvent&&L.fireEvent){L.attachEvent("onclick",function K(){ag.support.noCloneEvent=false;L.detachEvent("onclick",K);
});L.cloneNode(true).fireEvent("onclick");}ag(function(){var M=N.createElement("div");M.style.width=M.style.paddingLeft="1px";N.body.appendChild(M);ag.boxModel=ag.support.boxModel=M.offsetWidth===2;N.body.removeChild(M).style.display="none";});s=function(O){var M=N.createElement("div");O="on"+O;var P=O in M;
if(!P){M.setAttribute(O,"return;");P=typeof M[O]==="function";}return P;};ag.support.submitBubbles=s("submit");ag.support.changeBubbles=s("change");s=c=L=H=A=null;}})();ag.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};
var aF="jQuery"+aB(),a5=0,a4={},aQ={};ag.extend({cache:{},expando:aF,noData:{embed:true,object:true,applet:true},data:function(s,c,G){if(!(s.nodeName&&ag.noData[s.nodeName.toLowerCase()])){s=s==aM?a4:s;var w=s[aF],A=ag.cache;if(!c&&!w){return null;}w||(w=++a5);if(typeof c==="object"){s[aF]=w;A=A[w]=ag.extend(true,{},c);
}else{A=A[w]?A[w]:typeof G==="undefined"?aQ:(A[w]={});}if(G!==J){s[aF]=w;A[c]=G;}return typeof c==="string"?A[c]:A;}},removeData:function(s,c){if(!(s.nodeName&&ag.noData[s.nodeName.toLowerCase()])){s=s==aM?a4:s;var H=s[aF],A=ag.cache,G=A[H];if(c){if(G){delete G[c];ag.isEmptyObject(G)&&ag.removeData(s);
}}else{try{delete s[aF];}catch(w){s.removeAttribute&&s.removeAttribute(aF);}delete A[H];}}}});ag.fn.extend({data:function(s,c){if(typeof s==="undefined"&&this.length){return ag.data(this[0]);}else{if(typeof s==="object"){return this.each(function(){ag.data(this,s);});}}var A=s.split(".");A[1]=A[1]?"."+A[1]:"";
if(c===J){var w=this.triggerHandler("getData"+A[1]+"!",[A[0]]);if(w===J&&this.length){w=ag.data(this[0],s);}return w===J&&A[1]?this.data(A[0]):w;}else{return this.trigger("setData"+A[1]+"!",[A[0],c]).each(function(){ag.data(this,s,c);});}},removeData:function(c){return this.each(function(){ag.removeData(this,c);
});}});ag.extend({queue:function(s,c,A){if(s){c=(c||"fx")+"queue";var w=ag.data(s,c);if(!A){return w||[];}if(!w||ag.isArray(A)){w=ag.data(s,c,ag.makeArray(A));}else{w.push(A);}return w;}},dequeue:function(s,c){c=c||"fx";var A=ag.queue(s,c),w=A.shift();if(w==="inprogress"){w=A.shift();}if(w){c==="fx"&&A.unshift("inprogress");
w.call(s,function(){ag.dequeue(s,c);});}}});ag.fn.extend({queue:function(s,c){if(typeof s!=="string"){c=s;s="fx";}if(c===J){return ag.queue(this[0],s);}return this.each(function(){var w=ag.queue(this,s,c);s==="fx"&&w[0]!=="inprogress"&&ag.dequeue(this,s);});},dequeue:function(c){return this.each(function(){ag.dequeue(this,c);
});},delay:function(s,c){s=ag.fx?ag.fx.speeds[s]||s:s;c=c||"fx";return this.queue(c,function(){var w=this;setTimeout(function(){ag.dequeue(w,c);},s);});},clearQueue:function(c){return this.queue(c||"fx",[]);}});var aP=/[\n\t]/g,a8=/\s+/,am=/\r/g,I=/href|src|style/,t=/(button|input)/i,e=/(button|input|object|select|textarea)/i,a6=/^(a|area)$/i,a9=/radio|checkbox/;
ag.fn.extend({attr:function(s,c){return aZ(this,s,c,true,ag.attr);},removeAttr:function(c){return this.each(function(){ag.attr(this,c,"");this.nodeType===1&&this.removeAttribute(c);});},addClass:function(s){if(ag.isFunction(s)){return this.each(function(M){var O=ag(this);O.addClass(s.call(this,M,O.attr("class")));
});}if(s&&typeof s==="string"){for(var c=(s||"").split(a8),L=0,G=this.length;L<G;L++){var H=this[L];if(H.nodeType===1){if(H.className){for(var A=" "+H.className+" ",w=0,K=c.length;w<K;w++){if(A.indexOf(" "+c[w]+" ")<0){H.className+=" "+c[w];}}}else{H.className=s;}}}}return this;},removeClass:function(s){if(ag.isFunction(s)){return this.each(function(M){var O=ag(this);
O.removeClass(s.call(this,M,O.attr("class")));});}if(s&&typeof s==="string"||s===J){for(var c=(s||"").split(a8),L=0,G=this.length;L<G;L++){var H=this[L];if(H.nodeType===1&&H.className){if(s){for(var A=(" "+H.className+" ").replace(aP," "),w=0,K=c.length;w<K;w++){A=A.replace(" "+c[w]+" "," ");}H.className=A.substring(1,A.length-1);
}else{H.className="";}}}}return this;},toggleClass:function(s,c){var A=typeof s,w=typeof c==="boolean";if(ag.isFunction(s)){return this.each(function(H){var G=ag(this);G.toggleClass(s.call(this,H,G.attr("class"),c),c);});}return this.each(function(){if(A==="string"){for(var L,H=0,G=ag(this),M=c,K=s.split(a8);
L=K[H++];){M=w?M:!G.hasClass(L);G[M?"addClass":"removeClass"](L);}}else{if(A==="undefined"||A==="boolean"){this.className&&ag.data(this,"__className__",this.className);this.className=this.className||s===false?"":ag.data(this,"__className__")||"";}}});},hasClass:function(s){s=" "+s+" ";for(var c=0,w=this.length;
c<w;c++){if((" "+this[c].className+" ").replace(aP," ").indexOf(s)>-1){return true;}}return false;},val:function(s){if(s===J){var c=this[0];if(c){if(ag.nodeName(c,"option")){return(c.attributes.value||{}).specified?c.value:c.text;}if(ag.nodeName(c,"select")){var L=c.selectedIndex,G=[],H=c.options;c=c.type==="select-one";
if(L<0){return null;}var A=c?L:0;for(L=c?L+1:H.length;A<L;A++){var w=H[A];if(w.selected){s=ag(w).val();if(c){return s;}G.push(s);}}return G;}if(a9.test(c.type)&&!ag.support.checkOn){return c.getAttribute("value")===null?"on":c.value;}return(c.value||"").replace(am,"");}return J;}var K=ag.isFunction(s);
return this.each(function(O){var Q=ag(this),M=s;if(this.nodeType===1){if(K){M=s.call(this,O,Q.val());}if(typeof M==="number"){M+="";}if(ag.isArray(M)&&a9.test(this.type)){this.checked=ag.inArray(Q.val(),M)>=0;}else{if(ag.nodeName(this,"select")){var P=ag.makeArray(M);ag("option",this).each(function(){this.selected=ag.inArray(ag(this).val(),P)>=0;
});if(!P.length){this.selectedIndex=-1;}}else{this.value=M;}}}});}});ag.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(s,c,H,A){if(!s||s.nodeType===3||s.nodeType===8){return J;}if(A&&c in ag.attrFn){return ag(s)[c](H);}A=s.nodeType!==1||!ag.isXMLDoc(s);
var G=H!==J;c=A&&ag.props[c]||c;if(s.nodeType===1){var w=I.test(c);if(c in s&&A&&!w){if(G){if(c==="type"&&t.test(s.nodeName)&&s.parentNode){throw"type property can't be changed";}s[c]=H;}if(ag.nodeName(s,"form")&&s.getAttributeNode(c)){return s.getAttributeNode(c).nodeValue;}if(c==="tabIndex"){return(c=s.getAttributeNode("tabIndex"))&&c.specified?c.value:e.test(s.nodeName)||a6.test(s.nodeName)&&s.href?0:J;
}return s[c];}if(!ag.support.style&&A&&c==="style"){if(G){s.style.cssText=""+H;}return s.style.cssText;}G&&s.setAttribute(c,""+H);s=!ag.support.hrefNormalized&&A&&w?s.getAttribute(c,2):s.getAttribute(c);return s===null?J:s;}return ag.style(s,c,H);}});var aK=function(c){return c.replace(/[^\w\s\.\|`]/g,function(s){return"\\"+s;
});};ag.event={add:function(P,O,L,H){if(!(P.nodeType===3||P.nodeType===8)){if(P.setInterval&&P!==aM&&!P.frameElement){P=aM;}if(!L.guid){L.guid=ag.guid++;}if(H!==J){L=ag.proxy(L);L.data=H;}var K=ag.data(P,"events")||ag.data(P,"events",{}),G=ag.data(P,"handle"),A;if(!G){A=function(){return typeof ag!=="undefined"&&!ag.event.triggered?ag.event.handle.apply(A.elem,arguments):J;
};G=ag.data(P,"handle",A);}if(G){G.elem=P;O=O.split(/\s+/);for(var s,c=0;s=O[c++];){var w=s.split(".");s=w.shift();L.type=w.slice(0).sort().join(".");var Q=K[s],M=this.special[s]||{};if(!Q){Q=K[s]={};if(!M.setup||M.setup.call(P,H,w,L)===false){if(P.addEventListener){P.addEventListener(s,G,false);}else{P.attachEvent&&P.attachEvent("on"+s,G);
}}}if(M.add){if((w=M.add.call(P,L,H,w,Q))&&ag.isFunction(w)){w.guid=w.guid||L.guid;L=w;}}Q[L.guid]=L;this.global[s]=true;}P=null;}}},global:{},remove:function(Q,P,M){if(!(Q.nodeType===3||Q.nodeType===8)){var K=ag.data(Q,"events"),L,H,G;if(K){if(P===J||typeof P==="string"&&P.charAt(0)==="."){for(H in K){this.remove(Q,H+(P||""));
}}else{if(P.type){M=P.handler;P=P.type;}P=P.split(/\s+/);for(var w=0;H=P[w++];){var s=H.split(".");H=s.shift();var A=!s.length,R=ag.map(s.slice(0).sort(),aK);R=new RegExp("(^|\\.)"+R.join("\\.(?:.*\\.)?")+"(\\.|$)");var O=this.special[H]||{};if(K[H]){if(M){G=K[H][M.guid];delete K[H][M.guid];}else{for(var c in K[H]){if(A||R.test(K[H][c].type)){delete K[H][c];
}}}O.remove&&O.remove.call(Q,s,G);for(L in K[H]){break;}if(!L){if(!O.teardown||O.teardown.call(Q,s)===false){if(Q.removeEventListener){Q.removeEventListener(H,ag.data(Q,"handle"),false);}else{Q.detachEvent&&Q.detachEvent("on"+H,ag.data(Q,"handle"));}}L=null;delete K[H];}}}}for(L in K){break;}if(!L){if(c=ag.data(Q,"handle")){c.elem=null;
}ag.removeData(Q,"events");ag.removeData(Q,"handle");}}}},trigger:function(O,M,L,H){var K=O.type||O;if(!H){O=typeof O==="object"?O[aF]?O:ag.extend(ag.Event(K),O):ag.Event(K);if(K.indexOf("!")>=0){O.type=K=K.slice(0,-1);O.exclusive=true;}if(!L){O.stopPropagation();this.global[K]&&ag.each(ag.cache,function(){this.events&&this.events[K]&&ag.event.trigger(O,M,this.handle.elem);
});}if(!L||L.nodeType===3||L.nodeType===8){return J;}O.result=J;O.target=L;M=ag.makeArray(M);M.unshift(O);}O.currentTarget=L;var G=ag.data(L,"handle");G&&G.apply(L,M);var A,s;try{if(!(L&&L.nodeName&&ag.noData[L.nodeName.toLowerCase()])){A=L[K];s=L["on"+K];}}catch(c){}G=ag.nodeName(L,"a")&&K==="click";
if(!H&&A&&!O.isDefaultPrevented()&&!G){this.triggered=true;try{L[K]();}catch(w){}}else{if(s&&L["on"+K].apply(L,M)===false){O.result=false;}}this.triggered=false;if(!O.isPropagationStopped()){(L=L.parentNode||L.ownerDocument)&&ag.event.trigger(O,M,L,true);}},handle:function(s){var c,H;s=arguments[0]=ag.event.fix(s||aM.event);
s.currentTarget=this;H=s.type.split(".");s.type=H.shift();c=!H.length&&!s.exclusive;var A=new RegExp("(^|\\.)"+H.slice(0).sort().join("\\.(?:.*\\.)?")+"(\\.|$)");H=(ag.data(this,"events")||{})[s.type];for(var G in H){var w=H[G];if(c||A.test(w.type)){s.handler=w;s.data=w.data;w=w.apply(this,arguments);
if(w!==J){s.result=w;if(w===false){s.preventDefault();s.stopPropagation();}}if(s.isImmediatePropagationStopped()){break;}}}return s.result;},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(s){if(s[aF]){return s;
}var c=s;s=ag.Event(c);for(var A=this.props.length,w;A;){w=this.props[--A];s[w]=c[w];}if(!s.target){s.target=s.srcElement||N;}if(s.target.nodeType===3){s.target=s.target.parentNode;}if(!s.relatedTarget&&s.fromElement){s.relatedTarget=s.fromElement===s.target?s.toElement:s.fromElement;}if(s.pageX==null&&s.clientX!=null){c=N.documentElement;
A=N.body;s.pageX=s.clientX+(c&&c.scrollLeft||A&&A.scrollLeft||0)-(c&&c.clientLeft||A&&A.clientLeft||0);s.pageY=s.clientY+(c&&c.scrollTop||A&&A.scrollTop||0)-(c&&c.clientTop||A&&A.clientTop||0);}if(!s.which&&(s.charCode||s.charCode===0?s.charCode:s.keyCode)){s.which=s.charCode||s.keyCode;}if(!s.metaKey&&s.ctrlKey){s.metaKey=s.ctrlKey;
}if(!s.which&&s.button!==J){s.which=s.button&1?1:s.button&2?3:s.button&4?2:0;}return s;},guid:100000000,proxy:ag.proxy,special:{ready:{setup:ag.bindReady,teardown:ag.noop},live:{add:function(s,c){ag.extend(s,c||{});s.guid+=c.selector+c.live;ag.event.add(this,c.live,n,c);},remove:function(s){if(s.length){var c=0,w=new RegExp("(^|\\.)"+s[0]+"(\\.|$)");
ag.each(ag.data(this,"events").live||{},function(){w.test(this.type)&&c++;});c<1&&ag.event.remove(this,s[0],n);}},special:{}},beforeunload:{setup:function(s,c,w){if(this.setInterval){this.onbeforeunload=w;}return false;},teardown:function(s,c){if(this.onbeforeunload===c){this.onbeforeunload=null;}}}}};
ag.Event=function(c){if(!this.preventDefault){return new ag.Event(c);}if(c&&c.type){this.originalEvent=c;this.type=c.type;}else{this.type=c;}this.timeStamp=aB();this[aF]=true;};ag.Event.prototype={preventDefault:function(){this.isDefaultPrevented=ay;var c=this.originalEvent;if(c){c.preventDefault&&c.preventDefault();
c.returnValue=false;}},stopPropagation:function(){this.isPropagationStopped=ay;var c=this.originalEvent;if(c){c.stopPropagation&&c.stopPropagation();c.cancelBubble=true;}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=ay;this.stopPropagation();},isDefaultPrevented:aS,isPropagationStopped:aS,isImmediatePropagationStopped:aS};
var aV=function(s){for(var c=s.relatedTarget;c&&c!==this;){try{c=c.parentNode;}catch(w){break;}}if(c!==this){s.type=s.data;ag.event.handle.apply(this,arguments);}},aE=function(c){c.type=c.data;ag.event.handle.apply(this,arguments);};ag.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(s,c){ag.event.special[s]={setup:function(w){ag.event.add(this,c,w&&w.selector?aE:aV,s);
},teardown:function(w){ag.event.remove(this,c,w&&w.selector?aE:aV);}};});if(!ag.support.submitBubbles){ag.event.special.submit={setup:function(s,c,w){if(this.nodeName.toLowerCase()!=="form"){ag.event.add(this,"click.specialSubmit."+w.guid,function(G){var H=G.target,A=H.type;if((A==="submit"||A==="image")&&ag(H).closest("form").length){return B("submit",this,arguments);
}});ag.event.add(this,"keypress.specialSubmit."+w.guid,function(G){var H=G.target,A=H.type;if((A==="text"||A==="password")&&ag(H).closest("form").length&&G.keyCode===13){return B("submit",this,arguments);}});}else{return false;}},remove:function(s,c){ag.event.remove(this,"click.specialSubmit"+(c?"."+c.guid:""));
ag.event.remove(this,"keypress.specialSubmit"+(c?"."+c.guid:""));}};}if(!ag.support.changeBubbles){var aU=/textarea|input|select/i;function ad(s){var c=s.type,w=s.value;if(c==="radio"||c==="checkbox"){w=s.checked;}else{if(c==="select-multiple"){w=s.selectedIndex>-1?ag.map(s.options,function(A){return A.selected;
}).join("-"):"";}else{if(s.nodeName.toLowerCase()==="select"){w=s.selectedIndex;}}}return w;}function aD(s,c){var G=s.target,w,A;if(!(!aU.test(G.nodeName)||G.readOnly)){w=ag.data(G,"_change_data");A=ad(G);if(A!==w){if(s.type!=="focusout"||G.type!=="radio"){ag.data(G,"_change_data",A);}if(G.type!=="select"&&(w!=null||A)){s.type="change";
return ag.event.trigger(s,c,this);}}}}ag.event.special.change={filters:{focusout:aD,click:function(s){var c=s.target,w=c.type;if(w==="radio"||w==="checkbox"||c.nodeName.toLowerCase()==="select"){return aD.call(this,s);}},keydown:function(s){var c=s.target,w=c.type;if(s.keyCode===13&&c.nodeName.toLowerCase()!=="textarea"||s.keyCode===32&&(w==="checkbox"||w==="radio")||w==="select-multiple"){return aD.call(this,s);
}},beforeactivate:function(c){c=c.target;c.nodeName.toLowerCase()==="input"&&c.type==="radio"&&ag.data(c,"_change_data",ad(c));}},setup:function(s,c,A){for(var w in ao){ag.event.add(this,w+".specialChange."+A.guid,ao[w]);}return aU.test(this.nodeName);},remove:function(s,c){for(var w in ao){ag.event.remove(this,w+".specialChange"+(c?"."+c.guid:""),ao[w]);
}return aU.test(this.nodeName);}};var ao=ag.event.special.change.filters;}N.addEventListener&&ag.each({focus:"focusin",blur:"focusout"},function(s,c){function w(A){A=ag.event.fix(A);A.type=c;return ag.event.handle.call(this,A);}ag.event.special[c]={setup:function(){this.addEventListener(s,w,true);},teardown:function(){this.removeEventListener(s,w,true);
}};});ag.each(["bind","one"],function(s,c){ag.fn[c]=function(K,G,H){if(typeof K==="object"){for(var A in K){this[c](A,G,K[A],H);}return this;}if(ag.isFunction(G)){thisObject=H;H=G;G=J;}var w=c==="one"?ag.proxy(H,function(L){ag(this).unbind(L,w);return H.apply(this,arguments);}):H;return K==="unload"&&c!=="one"?this.one(K,G,H,thisObject):this.each(function(){ag.event.add(this,K,w,G);
});};});ag.fn.extend({unbind:function(s,c){if(typeof s==="object"&&!s.preventDefault){for(var w in s){this.unbind(w,s[w]);}return this;}return this.each(function(){ag.event.remove(this,s,c);});},trigger:function(s,c){return this.each(function(){ag.event.trigger(s,c,this);});},triggerHandler:function(s,c){if(this[0]){s=ag.Event(s);
s.preventDefault();s.stopPropagation();ag.event.trigger(s,c,this[0]);return s.result;}},toggle:function(s){for(var c=arguments,w=1;w<c.length;){ag.proxy(s,c[w++]);}return this.click(ag.proxy(s,function(A){var G=(ag.data(this,"lastToggle"+s.guid)||0)%w;ag.data(this,"lastToggle"+s.guid,G+1);A.preventDefault();
return c[G].apply(this,arguments)||false;}));},hover:function(s,c){return this.mouseenter(s).mouseleave(c||s);},live:function(s,c,w){if(ag.isFunction(c)){w=c;c=J;}ag(this.context).bind(bg(s,this.selector),{data:c,selector:this.selector,live:s},w);return this;},die:function(s,c){ag(this.context).unbind(bg(s,this.selector),c?{guid:c.guid+this.selector+s}:null);
return this;}});ag.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(s,c){ag.fn[c]=function(w){return w?this.bind(c,w):this.trigger(c);};
if(ag.attrFn){ag.attrFn[c]=true;}});aM.attachEvent&&!aM.addEventListener&&aM.attachEvent("onunload",function(){for(var s in ag.cache){if(ag.cache[s].handle){try{ag.event.remove(ag.cache[s].handle.elem);}catch(c){}}}});(function(){function Y(ba){for(var ab="",aa,Z=0;ba[Z];Z++){aa=ba[Z];if(aa.nodeType===3||aa.nodeType===4){ab+=aa.nodeValue;
}else{if(aa.nodeType!==8){ab+=Y(aa.childNodes);}}}return ab;}function W(bi,bb,ba,ab,Z,aa){Z=0;for(var bk=ab.length;Z<bk;Z++){var bl=ab[Z];if(bl){bl=bl[bi];for(var bj=false;bl;){if(bl.sizcache===ba){bj=ab[bl.sizset];break;}if(bl.nodeType===1&&!aa){bl.sizcache=ba;bl.sizset=Z;}if(bl.nodeName.toLowerCase()===bb){bj=bl;
break;}bl=bl[bi];}ab[Z]=bj;}}}function V(bi,bb,ba,ab,Z,aa){Z=0;for(var bk=ab.length;Z<bk;Z++){var bl=ab[Z];if(bl){bl=bl[bi];for(var bj=false;bl;){if(bl.sizcache===ba){bj=ab[bl.sizset];break;}if(bl.nodeType===1){if(!aa){bl.sizcache=ba;bl.sizset=Z;}if(typeof bb!=="string"){if(bl===bb){bj=true;break;}}else{if(L.filter(bb,[bl]).length>0){bj=bl;
break;}}}bl=bl[bi];}ab[Z]=bj;}}}var T=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,U=0,R=Object.prototype.toString,Q=false,M=true;[0,0].sort(function(){M=false;return 0;});var L=function(bj,bi,ba,ab){ba=ba||[];var Z=bi=bi||N;
if(bi.nodeType!==1&&bi.nodeType!==9){return[];}if(!bj||typeof bj!=="string"){return ba;}for(var aa=[],bo,bp,bl,bb,bn=true,bk=s(bi),bm=bj;(T.exec(""),bo=T.exec(bm))!==null;){bm=bo[3];aa.push(bo[1]);if(bo[2]){bb=bo[3];break;}}if(aa.length>1&&A.exec(bj)){if(aa.length===2&&O.relative[aa[0]]){bp=P(aa[0]+aa[1],bi);
}else{for(bp=O.relative[aa[0]]?[bi]:L(aa.shift(),bi);aa.length;){bj=aa.shift();if(O.relative[bj]){bj+=aa.shift();}bp=P(bj,bp);}}}else{if(!ab&&aa.length>1&&bi.nodeType===9&&!bk&&O.match.ID.test(aa[0])&&!O.match.ID.test(aa[aa.length-1])){bo=L.find(aa.shift(),bi,bk);bi=bo.expr?L.filter(bo.expr,bo.set)[0]:bo.set[0];
}if(bi){bo=ab?{expr:aa.pop(),set:K(ab)}:L.find(aa.pop(),aa.length===1&&(aa[0]==="~"||aa[0]==="+")&&bi.parentNode?bi.parentNode:bi,bk);bp=bo.expr?L.filter(bo.expr,bo.set):bo.set;if(aa.length>0){bl=K(bp);}else{bn=false;}for(;aa.length;){var bq=aa.pop();bo=bq;if(O.relative[bq]){bo=aa.pop();}else{bq="";}if(bo==null){bo=bi;
}O.relative[bq](bl,bo,bk);}}else{bl=[];}}bl||(bl=bp);if(!bl){throw"Syntax error, unrecognized expression: "+(bq||bj);}if(R.call(bl)==="[object Array]"){if(bn){if(bi&&bi.nodeType===1){for(bj=0;bl[bj]!=null;bj++){if(bl[bj]&&(bl[bj]===true||bl[bj].nodeType===1&&w(bi,bl[bj]))){ba.push(bp[bj]);}}}else{for(bj=0;
bl[bj]!=null;bj++){bl[bj]&&bl[bj].nodeType===1&&ba.push(bp[bj]);}}}else{ba.push.apply(ba,bl);}}else{K(bl,ba);}if(bb){L(bb,Z,ba,ab);L.uniqueSort(ba);}return ba;};L.uniqueSort=function(aa){if(G){Q=M;aa.sort(G);if(Q){for(var Z=1;Z<aa.length;Z++){aa[Z]===aa[Z-1]&&aa.splice(Z--,1);}}}return aa;};L.matches=function(aa,Z){return L(aa,null,null,Z);
};L.find=function(bi,bb,ba){var ab,Z;if(!bi){return[];}for(var aa=0,bk=O.order.length;aa<bk;aa++){var bl=O.order[aa];if(Z=O.leftMatch[bl].exec(bi)){var bj=Z[1];Z.splice(1,1);if(bj.substr(bj.length-1)!=="\\"){Z[1]=(Z[1]||"").replace(/\\/g,"");ab=O.find[bl](Z,bb,ba);if(ab!=null){bi=bi.replace(O.match[bl],"");
break;}}}}ab||(ab=bb.getElementsByTagName("*"));return{set:ab,expr:bi};};L.filter=function(bk,bj,bb,ba){for(var Z=bk,aa=[],bq=bj,br,bm,bi=bj&&bj[0]&&s(bj[0]);bk&&bj.length;){for(var bp in O.filter){if((br=O.leftMatch[bp].exec(bk))!=null&&br[2]){var bl=O.filter[bp],bo,bs;bs=br[1];bm=false;br.splice(1,1);
if(bs.substr(bs.length-1)!=="\\"){if(bq===aa){aa=[];}if(O.preFilter[bp]){if(br=O.preFilter[bp](br,bq,bb,aa,ba,bi)){if(br===true){continue;}}else{bm=bo=true;}}if(br){for(var ab=0;(bs=bq[ab])!=null;ab++){if(bs){bo=bl(bs,br,ab,bq);var bn=ba^!!bo;if(bb&&bo!=null){if(bn){bm=true;}else{bq[ab]=false;}}else{if(bn){aa.push(bs);
bm=true;}}}}}if(bo!==J){bb||(bq=aa);bk=bk.replace(O.match[bp],"");if(!bm){return[];}break;}}}}if(bk===Z){if(bm==null){throw"Syntax error, unrecognized expression: "+bk;}else{break;}}Z=bk;}return bq;};var O=L.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+-]*)\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(Z){return Z.getAttribute("href");
}},relative:{"+":function(bb,ab){var aa=typeof ab==="string",Z=aa&&!/\W/.test(ab);aa=aa&&!Z;if(Z){ab=ab.toLowerCase();}Z=0;for(var ba=bb.length,bi;Z<ba;Z++){if(bi=bb[Z]){for(;(bi=bi.previousSibling)&&bi.nodeType!==1;){}bb[Z]=aa||bi&&bi.nodeName.toLowerCase()===ab?bi||false:bi===ab;}}aa&&L.filter(ab,bb,true);
},">":function(bb,ab){var aa=typeof ab==="string";if(aa&&!/\W/.test(ab)){ab=ab.toLowerCase();for(var Z=0,ba=bb.length;Z<ba;Z++){var bi=bb[Z];if(bi){aa=bi.parentNode;bb[Z]=aa.nodeName.toLowerCase()===ab?aa:false;}}}else{Z=0;for(ba=bb.length;Z<ba;Z++){if(bi=bb[Z]){bb[Z]=aa?bi.parentNode:bi.parentNode===ab;
}}aa&&L.filter(ab,bb,true);}},"":function(bb,ab,aa){var Z=U++,ba=V;if(typeof ab==="string"&&!/\W/.test(ab)){var bi=ab=ab.toLowerCase();ba=W;}ba("parentNode",ab,Z,bb,bi,aa);},"~":function(bb,ab,aa){var Z=U++,ba=V;if(typeof ab==="string"&&!/\W/.test(ab)){var bi=ab=ab.toLowerCase();ba=W;}ba("previousSibling",ab,Z,bb,bi,aa);
}},find:{ID:function(ab,aa,Z){if(typeof aa.getElementById!=="undefined"&&!Z){return(ab=aa.getElementById(ab[1]))?[ab]:[];}},NAME:function(bb,ab){if(typeof ab.getElementsByName!=="undefined"){var aa=[];ab=ab.getElementsByName(bb[1]);for(var Z=0,ba=ab.length;Z<ba;Z++){ab[Z].getAttribute("name")===bb[1]&&aa.push(ab[Z]);
}return aa.length===0?null:aa;}},TAG:function(aa,Z){return Z.getElementsByTagName(aa[1]);}},preFilter:{CLASS:function(bi,ba,ab,Z,bb,bj){bi=" "+bi[1].replace(/\\/g,"")+" ";if(bj){return bi;}bj=0;for(var aa;(aa=ba[bj])!=null;bj++){if(aa){if(bb^(aa.className&&(" "+aa.className+" ").replace(/[\t\n]/g," ").indexOf(bi)>=0)){ab||Z.push(aa);
}else{if(ab){ba[bj]=false;}}}}return false;},ID:function(Z){return Z[1].replace(/\\/g,"");},TAG:function(Z){return Z[1].toLowerCase();},CHILD:function(aa){if(aa[1]==="nth"){var Z=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(aa[2]==="even"&&"2n"||aa[2]==="odd"&&"2n+1"||!/\D/.test(aa[2])&&"0n+"+aa[2]||aa[2]);aa[2]=Z[1]+(Z[2]||1)-0;
aa[3]=Z[3]-0;}aa[0]=U++;return aa;},ATTR:function(bb,ab,aa,Z,ba,bi){ab=bb[1].replace(/\\/g,"");if(!bi&&O.attrMap[ab]){bb[1]=O.attrMap[ab];}if(bb[2]==="~="){bb[4]=" "+bb[4]+" ";}return bb;},PSEUDO:function(bb,ab,aa,Z,ba){if(bb[1]==="not"){if((T.exec(bb[3])||"").length>1||/^\w/.test(bb[3])){bb[3]=L(bb[3],null,null,ab);
}else{bb=L.filter(bb[3],ab,aa,true^ba);aa||Z.push.apply(Z,bb);return false;}}else{if(O.match.POS.test(bb[0])||O.match.CHILD.test(bb[0])){return true;}}return bb;},POS:function(Z){Z.unshift(true);return Z;}},filters:{enabled:function(Z){return Z.disabled===false&&Z.type!=="hidden";},disabled:function(Z){return Z.disabled===true;
},checked:function(Z){return Z.checked===true;},selected:function(Z){return Z.selected===true;},parent:function(Z){return !!Z.firstChild;},empty:function(Z){return !Z.firstChild;},has:function(ab,aa,Z){return !!L(Z[3],ab).length;},header:function(Z){return/h\d/i.test(Z.nodeName);},text:function(Z){return"text"===Z.type;
},radio:function(Z){return"radio"===Z.type;},checkbox:function(Z){return"checkbox"===Z.type;},file:function(Z){return"file"===Z.type;},password:function(Z){return"password"===Z.type;},submit:function(Z){return"submit"===Z.type;},image:function(Z){return"image"===Z.type;},reset:function(Z){return"reset"===Z.type;
},button:function(Z){return"button"===Z.type||Z.nodeName.toLowerCase()==="button";},input:function(Z){return/input|select|textarea|button/i.test(Z.nodeName);}},setFilters:{first:function(aa,Z){return Z===0;},last:function(ba,ab,aa,Z){return ab===Z.length-1;},even:function(aa,Z){return Z%2===0;},odd:function(aa,Z){return Z%2===1;
},lt:function(ab,aa,Z){return aa<Z[3]-0;},gt:function(ab,aa,Z){return aa>Z[3]-0;},nth:function(ab,aa,Z){return Z[3]-0===aa;},eq:function(ab,aa,Z){return Z[3]-0===aa;}},filter:{PSEUDO:function(bb,ab,aa,Z){var ba=ab[1],bi=O.filters[ba];if(bi){return bi(bb,aa,ab,Z);}else{if(ba==="contains"){return(bb.textContent||bb.innerText||Y([bb])||"").indexOf(ab[3])>=0;
}else{if(ba==="not"){ab=ab[3];aa=0;for(Z=ab.length;aa<Z;aa++){if(ab[aa]===bb){return false;}}return true;}else{throw"Syntax error, unrecognized expression: "+ba;}}}},CHILD:function(bi,ba){var ab=ba[1],Z=bi;switch(ab){case"only":case"first":for(;Z=Z.previousSibling;){if(Z.nodeType===1){return false;}}if(ab==="first"){return true;
}Z=bi;case"last":for(;Z=Z.nextSibling;){if(Z.nodeType===1){return false;}}return true;case"nth":ab=ba[2];var bb=ba[3];if(ab===1&&bb===0){return true;}ba=ba[0];var bj=bi.parentNode;if(bj&&(bj.sizcache!==ba||!bi.nodeIndex)){var aa=0;for(Z=bj.firstChild;Z;Z=Z.nextSibling){if(Z.nodeType===1){Z.nodeIndex=++aa;
}}bj.sizcache=ba;}bi=bi.nodeIndex-bb;return ab===0?bi===0:bi%ab===0&&bi/ab>=0;}},ID:function(aa,Z){return aa.nodeType===1&&aa.getAttribute("id")===Z;},TAG:function(aa,Z){return Z==="*"&&aa.nodeType===1||aa.nodeName.toLowerCase()===Z;},CLASS:function(aa,Z){return(" "+(aa.className||aa.getAttribute("class"))+" ").indexOf(Z)>-1;
},ATTR:function(ba,ab){var aa=ab[1];ba=O.attrHandle[aa]?O.attrHandle[aa](ba):ba[aa]!=null?ba[aa]:ba.getAttribute(aa);aa=ba+"";var Z=ab[2];ab=ab[4];return ba==null?Z==="!=":Z==="="?aa===ab:Z==="*="?aa.indexOf(ab)>=0:Z==="~="?(" "+aa+" ").indexOf(ab)>=0:!ab?aa&&ba!==false:Z==="!="?aa!==ab:Z==="^="?aa.indexOf(ab)===0:Z==="$="?aa.substr(aa.length-ab.length)===ab:Z==="|="?aa===ab||aa.substr(0,ab.length+1)===ab+"-":false;
},POS:function(bb,ab,aa,Z){var ba=O.setFilters[ab[2]];if(ba){return ba(bb,aa,ab,Z);}}}},A=O.match.POS;for(var c in O.match){O.match[c]=new RegExp(O.match[c].source+/(?![^\[]*\])(?![^\(]*\))/.source);O.leftMatch[c]=new RegExp(/(^(?:.|\r|\n)*?)/.source+O.match[c].source.replace(/\\(\d+)/g,function(aa,Z){return"\\"+(Z-0+1);
}));}var K=function(aa,Z){aa=Array.prototype.slice.call(aa,0);if(Z){Z.push.apply(Z,aa);return Z;}return aa;};try{Array.prototype.slice.call(N.documentElement.childNodes,0);}catch(H){K=function(ba,ab){ab=ab||[];if(R.call(ba)==="[object Array]"){Array.prototype.push.apply(ab,ba);}else{if(typeof ba.length==="number"){for(var aa=0,Z=ba.length;
aa<Z;aa++){ab.push(ba[aa]);}}else{for(aa=0;ba[aa];aa++){ab.push(ba[aa]);}}}return ab;};}var G;if(N.documentElement.compareDocumentPosition){G=function(aa,Z){if(!aa.compareDocumentPosition||!Z.compareDocumentPosition){if(aa==Z){Q=true;}return aa.compareDocumentPosition?-1:1;}aa=aa.compareDocumentPosition(Z)&4?-1:aa===Z?0:1;
if(aa===0){Q=true;}return aa;};}else{if("sourceIndex" in N.documentElement){G=function(aa,Z){if(!aa.sourceIndex||!Z.sourceIndex){if(aa==Z){Q=true;}return aa.sourceIndex?-1:1;}aa=aa.sourceIndex-Z.sourceIndex;if(aa===0){Q=true;}return aa;};}else{if(N.createRange){G=function(ba,ab){if(!ba.ownerDocument||!ab.ownerDocument){if(ba==ab){Q=true;
}return ba.ownerDocument?-1:1;}var aa=ba.ownerDocument.createRange(),Z=ab.ownerDocument.createRange();aa.setStart(ba,0);aa.setEnd(ba,0);Z.setStart(ab,0);Z.setEnd(ab,0);ba=aa.compareBoundaryPoints(Range.START_TO_END,Z);if(ba===0){Q=true;}return ba;};}}}(function(){var ab=N.createElement("div"),aa="script"+(new Date).getTime();
ab.innerHTML="<a name='"+aa+"'/>";var Z=N.documentElement;Z.insertBefore(ab,Z.firstChild);if(N.getElementById(aa)){O.find.ID=function(ba,bb,bi){if(typeof bb.getElementById!=="undefined"&&!bi){return(bb=bb.getElementById(ba[1]))?bb.id===ba[1]||typeof bb.getAttributeNode!=="undefined"&&bb.getAttributeNode("id").nodeValue===ba[1]?[bb]:J:[];
}};O.filter.ID=function(ba,bb){var bi=typeof ba.getAttributeNode!=="undefined"&&ba.getAttributeNode("id");return ba.nodeType===1&&bi&&bi.nodeValue===bb;};}Z.removeChild(ab);Z=ab=null;})();(function(){var Z=N.createElement("div");Z.appendChild(N.createComment(""));if(Z.getElementsByTagName("*").length>0){O.find.TAG=function(ba,ab){ab=ab.getElementsByTagName(ba[1]);
if(ba[1]==="*"){ba=[];for(var aa=0;ab[aa];aa++){ab[aa].nodeType===1&&ba.push(ab[aa]);}ab=ba;}return ab;};}Z.innerHTML="<a href='#'></a>";if(Z.firstChild&&typeof Z.firstChild.getAttribute!=="undefined"&&Z.firstChild.getAttribute("href")!=="#"){O.attrHandle.href=function(aa){return aa.getAttribute("href",2);
};}Z=null;})();N.querySelectorAll&&function(){var ab=L,aa=N.createElement("div");aa.innerHTML="<p class='TEST'></p>";if(!(aa.querySelectorAll&&aa.querySelectorAll(".TEST").length===0)){L=function(ba,bj,bk,bb){bj=bj||N;if(!bb&&bj.nodeType===9&&!s(bj)){try{return K(bj.querySelectorAll(ba),bk);}catch(bi){}}return ab(ba,bj,bk,bb);
};for(var Z in ab){L[Z]=ab[Z];}aa=null;}}();(function(){var Z=N.createElement("div");Z.innerHTML="<div class='test e'></div><div class='test'></div>";if(!(!Z.getElementsByClassName||Z.getElementsByClassName("e").length===0)){Z.lastChild.className="e";if(Z.getElementsByClassName("e").length!==1){O.order.splice(1,0,"CLASS");
O.find.CLASS=function(ba,ab,aa){if(typeof ab.getElementsByClassName!=="undefined"&&!aa){return ab.getElementsByClassName(ba[1]);}};Z=null;}}})();var w=N.compareDocumentPosition?function(aa,Z){return aa.compareDocumentPosition(Z)&16;}:function(aa,Z){return aa!==Z&&(aa.contains?aa.contains(Z):true);},s=function(Z){return(Z=(Z?Z.ownerDocument||Z:0).documentElement)?Z.nodeName!=="HTML":false;
},P=function(bb,ab){var aa=[],Z="",ba;for(ab=ab.nodeType?[ab]:ab;ba=O.match.PSEUDO.exec(bb);){Z+=ba[0];bb=bb.replace(O.match.PSEUDO,"");}bb=O.relative[bb]?bb+"*":bb;ba=0;for(var bi=ab.length;ba<bi;ba++){L(bb,ab[ba],aa);}return L.filter(Z,aa);};ag.find=L;ag.expr=L.selectors;ag.expr[":"]=ag.expr.filters;
ag.unique=L.uniqueSort;ag.getText=Y;ag.isXMLDoc=s;ag.contains=w;})();var aR=/Until$/,av=/^(?:parents|prevUntil|prevAll)/,S=/,/;at=Array.prototype.slice;var k=function(s,c,A){if(ag.isFunction(c)){return ag.grep(s,function(H,G){return !!c.call(H,G,H)===A;});}else{if(c.nodeType){return ag.grep(s,function(G){return G===c===A;
});}else{if(typeof c==="string"){var w=ag.grep(s,function(G){return G.nodeType===1;});if(ak.test(c)){return ag.filter(c,w,!A);}else{c=ag.filter(c,s);}}}}return ag.grep(s,function(G){return ag.inArray(G,c)>=0===A;});};ag.fn.extend({find:function(s){for(var c=this.pushStack("","find",s),K=0,G=0,H=this.length;
G<H;G++){K=c.length;ag.find(s,this[G],c);if(G>0){for(var A=K;A<c.length;A++){for(var w=0;w<K;w++){if(c[w]===c[A]){c.splice(A--,1);break;}}}}}return c;},has:function(s){var c=ag(s);return this.filter(function(){for(var A=0,w=c.length;A<w;A++){if(ag.contains(this,c[A])){return true;}}});},not:function(c){return this.pushStack(k(this,c,false),"not",c);
},filter:function(c){return this.pushStack(k(this,c,true),"filter",c);},is:function(c){return !!c&&ag.filter(c,this).length>0;},closest:function(M,L){if(ag.isArray(M)){var K=[],G=this[0],H,A={},w;if(G&&M.length){H=0;for(var s=M.length;H<s;H++){w=M[H];A[w]||(A[w]=ag.expr.match.POS.test(w)?ag(w,L||this.context):w);
}for(;G&&G.ownerDocument&&G!==L;){for(w in A){H=A[w];if(H.jquery?H.index(G)>-1:ag(G).is(H)){K.push({selector:w,elem:G});delete A[w];}}G=G.parentNode;}}return K;}var c=ag.expr.match.POS.test(M)?ag(M,L||this.context):null;return this.map(function(P,O){for(;O&&O.ownerDocument&&O!==L;){if(c?c.index(O)>-1:ag(O).is(M)){return O;
}O=O.parentNode;}return null;});},index:function(c){if(!c||typeof c==="string"){return ag.inArray(this[0],c?ag(c):this.parent().children());}return ag.inArray(c.jquery?c[0]:c,this);},add:function(s,c){s=typeof s==="string"?ag(s,c||this.context):ag.makeArray(s);c=ag.merge(this.get(),s);return this.pushStack(a1(s[0])||a1(c[0])?c:ag.unique(c));
},andSelf:function(){return this.add(this.prevObject);}});ag.each({parent:function(c){return(c=c.parentNode)&&c.nodeType!==11?c:null;},parents:function(c){return ag.dir(c,"parentNode");},parentsUntil:function(s,c,w){return ag.dir(s,"parentNode",w);},next:function(c){return ag.nth(c,2,"nextSibling");},prev:function(c){return ag.nth(c,2,"previousSibling");
},nextAll:function(c){return ag.dir(c,"nextSibling");},prevAll:function(c){return ag.dir(c,"previousSibling");},nextUntil:function(s,c,w){return ag.dir(s,"nextSibling",w);},prevUntil:function(s,c,w){return ag.dir(s,"previousSibling",w);},siblings:function(c){return ag.sibling(c.parentNode.firstChild,c);
},children:function(c){return ag.sibling(c.firstChild);},contents:function(c){return ag.nodeName(c,"iframe")?c.contentDocument||c.contentWindow.document:ag.makeArray(c.childNodes);}},function(s,c){ag.fn[s]=function(G,w){var A=ag.map(this,c,G);aR.test(s)||(w=G);if(w&&typeof w==="string"){A=ag.filter(w,A);
}A=this.length>1?ag.unique(A):A;if((this.length>1||S.test(w))&&av.test(s)){A=A.reverse();}return this.pushStack(A,s,at.call(arguments).join(","));};});ag.extend({filter:function(s,c,w){if(w){s=":not("+s+")";}return ag.find.matches(s,c);},dir:function(s,c,A){var w=[];for(s=s[c];s&&s.nodeType!==9&&(A===J||!ag(s).is(A));
){s.nodeType===1&&w.push(s);s=s[c];}return w;},nth:function(s,c,A){c=c||1;for(var w=0;s;s=s[A]){if(s.nodeType===1&&++w===c){break;}}return s;},sibling:function(s,c){for(var w=[];s;s=s.nextSibling){s.nodeType===1&&s!==c&&w.push(s);}return w;}});var be=/ jQuery\d+="(?:\d+|null)"/g,an=/^\s+/,u=/(<([\w:]+)[^>]*?)\/>/g,f=/^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i,aY=/<([\w:]+)/,a7=/<tbody/i,aT=/<|&\w+;/,aC=function(s,c,w){return f.test(w)?s:c+"></"+w+">";
},aG={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,"",""]};
aG.optgroup=aG.option;aG.tbody=aG.tfoot=aG.colgroup=aG.caption=aG.thead;aG.th=aG.td;if(!ag.support.htmlSerialize){aG._default=[1,"div<div>","</div>"];}ag.fn.extend({text:function(c){if(ag.isFunction(c)){return this.each(function(s){var w=ag(this);return w.text(c.call(this,s,w.text()));});}if(typeof c!=="object"&&c!==J){return this.empty().append((this[0]&&this[0].ownerDocument||N).createTextNode(c));
}return ag.getText(this);},wrapAll:function(s){if(ag.isFunction(s)){return this.each(function(w){ag(this).wrapAll(s.call(this,w));});}if(this[0]){var c=ag(s,this[0].ownerDocument).eq(0).clone(true);this[0].parentNode&&c.insertBefore(this[0]);c.map(function(){for(var w=this;w.firstChild&&w.firstChild.nodeType===1;
){w=w.firstChild;}return w;}).append(this);}return this;},wrapInner:function(c){return this.each(function(){var s=ag(this),w=s.contents();w.length?w.wrapAll(c):s.append(c);});},wrap:function(c){return this.each(function(){ag(this).wrapAll(c);});},unwrap:function(){return this.parent().each(function(){ag.nodeName(this,"body")||ag(this).replaceWith(this.childNodes);
}).end();},append:function(){return this.domManip(arguments,true,function(c){this.nodeType===1&&this.appendChild(c);});},prepend:function(){return this.domManip(arguments,true,function(c){this.nodeType===1&&this.insertBefore(c,this.firstChild);});},before:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(s){this.parentNode.insertBefore(s,this);
});}else{if(arguments.length){var c=ag(arguments[0]);c.push.apply(c,this.toArray());return this.pushStack(c,"before",arguments);}}},after:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(s){this.parentNode.insertBefore(s,this.nextSibling);});}else{if(arguments.length){var c=this.pushStack(this,"after",arguments);
c.push.apply(c,ag(arguments[0]).toArray());return c;}}},clone:function(s){var c=this.map(function(){if(!ag.support.noCloneEvent&&!ag.isXMLDoc(this)){var A=this.outerHTML,w=this.ownerDocument;if(!A){A=w.createElement("div");A.appendChild(this.cloneNode(true));A=A.innerHTML;}return ag.clean([A.replace(be,"").replace(an,"")],w)[0];
}else{return this.cloneNode(true);}});if(s===true){aN(this,c);aN(this.find("*"),c.find("*"));}return c;},html:function(s){if(s===J){return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(be,""):null;}else{if(typeof s==="string"&&!/<script/i.test(s)&&(ag.support.leadingWhitespace||!an.test(s))&&!aG[(aY.exec(s)||["",""])[1].toLowerCase()]){try{for(var c=0,A=this.length;
c<A;c++){if(this[c].nodeType===1){ar(this[c].getElementsByTagName("*"));this[c].innerHTML=s;}}}catch(w){this.empty().append(s);}}else{ag.isFunction(s)?this.each(function(K){var H=ag(this),G=H.html();H.empty().append(function(){return s.call(this,K,G);});}):this.empty().append(s);}}return this;},replaceWith:function(c){if(this[0]&&this[0].parentNode){ag.isFunction(c)||(c=ag(c).detach());
return this.each(function(){var s=this.nextSibling,w=this.parentNode;ag(this).remove();s?ag(s).before(c):ag(w).append(c);});}else{return this.pushStack(ag(ag.isFunction(c)?c():c),"replaceWith",c);}},detach:function(c){return this.remove(c,true);},domManip:function(O,M,L){function H(P){return ag.nodeName(P,"table")?P.getElementsByTagName("tbody")[0]||P.appendChild(P.ownerDocument.createElement("tbody")):P;
}var K,G,A=O[0],s=[];if(ag.isFunction(A)){return this.each(function(P){var Q=ag(this);O[0]=A.call(this,P,M?Q.html():J);return Q.domManip(O,M,L);});}if(this[0]){K=O[0]&&O[0].parentNode&&O[0].parentNode.nodeType===11?{fragment:O[0].parentNode}:aj(O,this,s);if(G=K.fragment.firstChild){M=M&&ag.nodeName(G,"tr");
for(var c=0,w=this.length;c<w;c++){L.call(M?H(this[c],G):this[c],K.cacheable||this.length>1||c>0?K.fragment.cloneNode(true):K.fragment);}}s&&ag.each(s,o);}return this;}});ag.fragments={};ag.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(s,c){ag.fn[s]=function(K){var G=[];
K=ag(K);for(var H=0,A=K.length;H<A;H++){var w=(H>0?this.clone(true):this).get();ag.fn[c].apply(ag(K[H]),w);G=G.concat(w);}return this.pushStack(G,s,K.selector);};});ag.each({remove:function(s,c){if(!s||ag.filter(s,[this]).length){if(!c&&this.nodeType===1){ar(this.getElementsByTagName("*"));ar([this]);
}this.parentNode&&this.parentNode.removeChild(this);}},empty:function(){for(this.nodeType===1&&ar(this.getElementsByTagName("*"));this.firstChild;){this.removeChild(this.firstChild);}}},function(s,c){ag.fn[s]=function(){return this.each(c,arguments);};});ag.extend({clean:function(s,c,G,w){c=c||N;if(typeof c.createElement==="undefined"){c=c.ownerDocument||c[0]&&c[0].ownerDocument||N;
}var A=[];ag.each(s,function(K,H){if(typeof H==="number"){H+="";}if(H){if(typeof H==="string"&&!aT.test(H)){H=c.createTextNode(H);}else{if(typeof H==="string"){H=H.replace(u,aC);var M=(aY.exec(H)||["",""])[1].toLowerCase(),L=aG[M]||aG._default,O=L[0];K=c.createElement("div");for(K.innerHTML=L[1]+H+L[2];
O--;){K=K.lastChild;}if(!ag.support.tbody){O=a7.test(H);M=M==="table"&&!O?K.firstChild&&K.firstChild.childNodes:L[1]==="<table>"&&!O?K.childNodes:[];for(L=M.length-1;L>=0;--L){ag.nodeName(M[L],"tbody")&&!M[L].childNodes.length&&M[L].parentNode.removeChild(M[L]);}}!ag.support.leadingWhitespace&&an.test(H)&&K.insertBefore(c.createTextNode(an.exec(H)[0]),K.firstChild);
H=ag.makeArray(K.childNodes);}}if(H.nodeType){A.push(H);}else{A=ag.merge(A,H);}}});if(G){for(s=0;A[s];s++){if(w&&ag.nodeName(A[s],"script")&&(!A[s].type||A[s].type.toLowerCase()==="text/javascript")){w.push(A[s].parentNode?A[s].parentNode.removeChild(A[s]):A[s]);}else{A[s].nodeType===1&&A.splice.apply(A,[s+1,0].concat(ag.makeArray(A[s].getElementsByTagName("script"))));
G.appendChild(A[s]);}}}return A;}});var ac=/z-?index|font-?weight|opacity|zoom|line-?height/i,aJ=/alpha\([^)]*\)/,ah=/opacity=([^)]*)/,y=/float/i,j=/-([a-z])/ig,x=/([A-Z])/g,h=/^-?\d+(?:px)?$/i,bc=/^-?\d/,aW={position:"absolute",visibility:"hidden",display:"block"},aH=["Left","Right"],ae=["Top","Bottom"],z=N.defaultView&&N.defaultView.getComputedStyle,C=ag.support.cssFloat?"cssFloat":"styleFloat",bd=function(s,c){return c.toUpperCase();
};ag.fn.css=function(s,c){return aZ(this,s,c,true,function(G,w,A){if(A===J){return ag.curCSS(G,w);}if(typeof A==="number"&&!ac.test(w)){A+="px";}ag.style(G,w,A);});};ag.extend({style:function(s,c,G){if(!s||s.nodeType===3||s.nodeType===8){return J;}if((c==="width"||c==="height")&&parseFloat(G)<0){G=J;
}var w=s.style||s,A=G!==J;if(!ag.support.opacity&&c==="opacity"){if(A){w.zoom=1;c=parseInt(G,10)+""==="NaN"?"":"alpha(opacity="+G*100+")";s=w.filter||ag.curCSS(s,"filter")||"";w.filter=aJ.test(s)?s.replace(aJ,c):c;}return w.filter&&w.filter.indexOf("opacity=")>=0?parseFloat(ah.exec(w.filter)[1])/100+"":"";
}if(y.test(c)){c=C;}c=c.replace(j,bd);if(A){w[c]=G;}return w[c];},css:function(s,c,K,G){if(c==="width"||c==="height"){var H,A=c==="width"?aH:ae;function w(){H=c==="width"?s.offsetWidth:s.offsetHeight;G!=="border"&&ag.each(A,function(){G||(H-=parseFloat(ag.curCSS(s,"padding"+this,true))||0);if(G==="margin"){H+=parseFloat(ag.curCSS(s,"margin"+this,true))||0;
}else{H-=parseFloat(ag.curCSS(s,"border"+this+"Width",true))||0;}});}s.offsetWidth!==0?w():ag.swap(s,aW,w);return Math.max(0,Math.round(H));}return ag.curCSS(s,c,K);},curCSS:function(s,c,H){var A,G=s.style;if(!ag.support.opacity&&c==="opacity"&&s.currentStyle){A=ah.test(s.currentStyle.filter||"")?parseFloat(RegExp.$1)/100+"":"";
return A===""?"1":A;}if(y.test(c)){c=C;}if(!H&&G&&G[c]){A=G[c];}else{if(z){if(y.test(c)){c="float";}c=c.replace(x,"-$1").toLowerCase();G=s.ownerDocument.defaultView;if(!G){return null;}if(s=G.getComputedStyle(s,null)){A=s.getPropertyValue(c);}if(c==="opacity"&&A===""){A="1";}}else{if(s.currentStyle){H=c.replace(j,bd);
A=s.currentStyle[c]||s.currentStyle[H];if(!h.test(A)&&bc.test(A)){c=G.left;var w=s.runtimeStyle.left;s.runtimeStyle.left=s.currentStyle.left;G.left=H==="fontSize"?"1em":A||0;A=G.pixelLeft+"px";G.left=c;s.runtimeStyle.left=w;}}}}return A;},swap:function(s,c,G){var w={};for(var A in c){w[A]=s.style[A];
s.style[A]=c[A];}G.call(s);for(A in c){s.style[A]=w[A];}}});if(ag.expr&&ag.expr.filters){ag.expr.filters.hidden=function(s){var c=s.offsetWidth,A=s.offsetHeight,w=s.nodeName.toLowerCase()==="tr";return c===0&&A===0&&!w?true:c>0&&A>0&&!w?false:ag.curCSS(s,"display")==="none";};ag.expr.filters.visible=function(c){return !ag.expr.filters.hidden(c);
};}var m=aB(),bf=/<script(.|\s)*?\/script>/gi,a0=/select|textarea/i,aL=/color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week/i,ax=/=\?(&|$)/,aX=/\?/,ai=/(\?|&)_=.*?(&|$)/,D=/^(\w+:)?\/\/([^\/?#]+)/,p=/%20/g;ag.fn.extend({_load:ag.fn.load,load:function(s,c,G){if(typeof s!=="string"){return this._load(s);
}else{if(!this.length){return this;}}var w=s.indexOf(" ");if(w>=0){var A=s.slice(w,s.length);s=s.slice(0,w);}w="GET";if(c){if(ag.isFunction(c)){G=c;c=null;}else{if(typeof c==="object"){c=ag.param(c,ag.ajaxSettings.traditional);w="POST";}}}ag.ajax({url:s,type:w,dataType:"html",data:c,context:this,complete:function(K,H){if(H==="success"||H==="notmodified"){this.html(A?ag("<div />").append(K.responseText.replace(bf,"")).find(A):K.responseText);
}G&&this.each(G,[K.responseText,H,K]);}});return this;},serialize:function(){return ag.param(this.serializeArray());},serializeArray:function(){return this.map(function(){return this.elements?ag.makeArray(this.elements):this;}).filter(function(){return this.name&&!this.disabled&&(this.checked||a0.test(this.nodeName)||aL.test(this.type));
}).map(function(s,c){s=ag(this).val();return s==null?null:ag.isArray(s)?ag.map(s,function(w){return{name:c.name,value:w};}):{name:c.name,value:s};}).get();}});ag.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(s,c){ag.fn[c]=function(w){return this.bind(c,w);};
});ag.extend({get:function(s,c,A,w){if(ag.isFunction(c)){w=w||A;A=c;c=null;}return ag.ajax({type:"GET",url:s,data:c,success:A,dataType:w});},getScript:function(s,c){return ag.get(s,null,c,"script");},getJSON:function(s,c,w){return ag.get(s,c,w,"json");},post:function(s,c,A,w){if(ag.isFunction(c)){w=w||A;
A=c;c={};}return ag.ajax({type:"POST",url:s,data:c,success:A,dataType:w});},ajaxSetup:function(c){ag.extend(ag.ajaxSettings,c);},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:aM.XMLHttpRequest&&(aM.location.protocol!=="file:"||!aM.ActiveXObject)?function(){return new aM.XMLHttpRequest;
}:function(){try{return new aM.ActiveXObject("Microsoft.XMLHTTP");}catch(c){}},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},etag:{},ajax:function(ba){function ab(){Z.success&&Z.success.call(L,M,T,s);
Z.global&&Y("ajaxSuccess",[s,Z]);}function aa(){Z.complete&&Z.complete.call(L,s,T);Z.global&&Y("ajaxComplete",[s,Z]);Z.global&&!--ag.active&&ag.event.trigger("ajaxStop");}function Y(bb,bi){(Z.context?ag(Z.context):ag.event).trigger(bb,bi);}var Z=ag.extend(true,{},ag.ajaxSettings,ba),U,T,M,L=Z.context||Z,O=Z.type.toUpperCase();
if(Z.data&&Z.processData&&typeof Z.data!=="string"){Z.data=ag.param(Z.data,Z.traditional);}if(Z.dataType==="jsonp"){if(O==="GET"){ax.test(Z.url)||(Z.url+=(aX.test(Z.url)?"&":"?")+(Z.jsonp||"callback")+"=?");}else{if(!Z.data||!ax.test(Z.data)){Z.data=(Z.data?Z.data+"&":"")+(Z.jsonp||"callback")+"=?";}}Z.dataType="json";
}if(Z.dataType==="json"&&(Z.data&&ax.test(Z.data)||ax.test(Z.url))){U=Z.jsonpCallback||"jsonp"+m++;if(Z.data){Z.data=(Z.data+"").replace(ax,"="+U+"$1");}Z.url=Z.url.replace(ax,"="+U+"$1");Z.dataType="script";aM[U]=aM[U]||function(bb){M=bb;ab();aa();aM[U]=J;try{delete aM[U];}catch(bi){}K&&K.removeChild(H);
};}if(Z.dataType==="script"&&Z.cache===null){Z.cache=false;}if(Z.cache===false&&O==="GET"){var A=aB(),c=Z.url.replace(ai,"$1_="+A+"$2");Z.url=c+(c===Z.url?(aX.test(Z.url)?"&":"?")+"_="+A:"");}if(Z.data&&O==="GET"){Z.url+=(aX.test(Z.url)?"&":"?")+Z.data;}Z.global&&!ag.active++&&ag.event.trigger("ajaxStart");
A=(A=D.exec(Z.url))&&(A[1]&&A[1]!==location.protocol||A[2]!==location.host);if(Z.dataType==="script"&&O==="GET"&&A){var K=N.getElementsByTagName("head")[0]||N.documentElement,H=N.createElement("script");H.src=Z.url;if(Z.scriptCharset){H.charset=Z.scriptCharset;}if(!U){var G=false;H.onload=H.onreadystatechange=function(){if(!G&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){G=true;
ab();aa();H.onload=H.onreadystatechange=null;K&&H.parentNode&&K.removeChild(H);}};}K.insertBefore(H,K.firstChild);return J;}var w=false,s=Z.xhr();if(s){Z.username?s.open(O,Z.url,Z.async,Z.username,Z.password):s.open(O,Z.url,Z.async);try{if(Z.data||ba&&ba.contentType){s.setRequestHeader("Content-Type",Z.contentType);
}if(Z.ifModified){ag.lastModified[Z.url]&&s.setRequestHeader("If-Modified-Since",ag.lastModified[Z.url]);ag.etag[Z.url]&&s.setRequestHeader("If-None-Match",ag.etag[Z.url]);}A||s.setRequestHeader("X-Requested-With","XMLHttpRequest");s.setRequestHeader("Accept",Z.dataType&&Z.accepts[Z.dataType]?Z.accepts[Z.dataType]+", */*":Z.accepts._default);
}catch(Q){}if(Z.beforeSend&&Z.beforeSend.call(L,s,Z)===false){Z.global&&!--ag.active&&ag.event.trigger("ajaxStop");s.abort();return false;}Z.global&&Y("ajaxSend",[s,Z]);var W=s.onreadystatechange=function(bb){if(!s||s.readyState===0){w||aa();w=true;if(s){s.onreadystatechange=ag.noop;}}else{if(!w&&s&&(s.readyState===4||bb==="timeout")){w=true;
s.onreadystatechange=ag.noop;T=bb==="timeout"?"timeout":!ag.httpSuccess(s)?"error":Z.ifModified&&ag.httpNotModified(s,Z.url)?"notmodified":"success";if(T==="success"){try{M=ag.httpData(s,Z.dataType,Z);}catch(bi){T="parsererror";}}if(T==="success"||T==="notmodified"){U||ab();}else{ag.handleError(Z,s,T);
}aa();bb==="timeout"&&s.abort();if(Z.async){s=null;}}}};try{var V=s.abort;s.abort=function(){if(s){V.call(s);if(s){s.readyState=0;}}W();};}catch(R){}Z.async&&Z.timeout>0&&setTimeout(function(){s&&!w&&W("timeout");},Z.timeout);try{s.send(O==="POST"||O==="PUT"||O==="DELETE"?Z.data:null);}catch(P){ag.handleError(Z,s,null,P);
aa();}Z.async||W();return s;}},handleError:function(s,c,A,w){if(s.error){s.error.call(s.context||aM,c,A,w);}if(s.global){(s.context?ag(s.context):ag.event).trigger("ajaxError",[c,s,w]);}},active:0,httpSuccess:function(s){try{return !s.status&&location.protocol==="file:"||s.status>=200&&s.status<300||s.status===304||s.status===1223||s.status===0;
}catch(c){}return false;},httpNotModified:function(s,c){var A=s.getResponseHeader("Last-Modified"),w=s.getResponseHeader("Etag");if(A){ag.lastModified[c]=A;}if(w){ag.etag[c]=w;}return s.status===304||s.status===0;},httpData:function(s,c,G){var w=s.getResponseHeader("content-type")||"",A=c==="xml"||!c&&w.indexOf("xml")>=0;
s=A?s.responseXML:s.responseText;if(A&&s.documentElement.nodeName==="parsererror"){throw"parsererror";}if(G&&G.dataFilter){s=G.dataFilter(s,c);}if(typeof s==="string"){if(c==="json"||!c&&w.indexOf("json")>=0){if(/^[\],:{}\s]*$/.test(s.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,""))){s=aM.JSON&&aM.JSON.parse?aM.JSON.parse(s):(new Function("return "+s))();
}else{throw"Invalid JSON: "+s;}}else{if(c==="script"||!c&&w.indexOf("javascript")>=0){ag.globalEval(s);}}}return s;},param:function(s,c){function G(K,H){H=ag.isFunction(H)?H():H;w[w.length]=encodeURIComponent(K)+"="+encodeURIComponent(H);}var w=[];if(c===J){c=ag.ajaxSettings.traditional;}ag.isArray(s)||s.jquery?ag.each(s,function(){G(this.name,this.value);
}):ag.each(s,function A(K,H){if(ag.isArray(H)){ag.each(H,function(M,L){c?G(K,L):A(K+"["+(typeof L==="object"||ag.isArray(L)?M:"")+"]",L);});}else{!c&&H!=null&&typeof H==="object"?ag.each(H,function(M,L){A(K+"["+M+"]",L);}):G(K,H);}});return w.join("&").replace(p,"+");}});var aI={},a=/toggle|show|hide/,a3=/^([+-]=)?([\d+-.]+)(.*)$/,al,E=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];
ag.fn.extend({show:function(s,c){if(s!=null){return this.animate(aA("show",3),s,c);}else{s=0;for(c=this.length;s<c;s++){var G=ag.data(this[s],"olddisplay");this[s].style.display=G||"";if(ag.css(this[s],"display")==="none"){G=this[s].nodeName;var w;if(aI[G]){w=aI[G];}else{var A=ag("<"+G+" />").appendTo("body");
w=A.css("display");if(w==="none"){w="block";}A.remove();aI[G]=w;}ag.data(this[s],"olddisplay",w);}}s=0;for(c=this.length;s<c;s++){this[s].style.display=ag.data(this[s],"olddisplay")||"";}return this;}},hide:function(s,c){if(s!=null){return this.animate(aA("hide",3),s,c);}else{s=0;for(c=this.length;s<c;
s++){var w=ag.data(this[s],"olddisplay");!w&&w!=="none"&&ag.data(this[s],"olddisplay",ag.css(this[s],"display"));}s=0;for(c=this.length;s<c;s++){this[s].style.display="none";}return this;}},_toggle:ag.fn.toggle,toggle:function(s,c){var w=typeof s==="boolean";if(ag.isFunction(s)&&ag.isFunction(c)){this._toggle.apply(this,arguments);
}else{s==null||w?this.each(function(){var A=w?s:ag(this).is(":hidden");ag(this)[A?"show":"hide"]();}):this.animate(aA("toggle",3),s,c);}return this;},fadeTo:function(s,c,w){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:c},s,w);},animate:function(s,c,G,w){var A=ag.speed(c,G,w);
if(ag.isEmptyObject(s)){return this.each(A.complete);}return this[A.queue===false?"each":"queue"](function(){var K=ag.extend({},A),H,M=this.nodeType===1&&ag(this).is(":hidden"),L=this;for(H in s){var O=H.replace(j,bd);if(H!==O){s[O]=s[H];delete s[H];H=O;}if(s[H]==="hide"&&M||s[H]==="show"&&!M){return K.complete.call(this);
}if((H==="height"||H==="width")&&this.style){K.display=ag.css(this,"display");K.overflow=this.style.overflow;}if(ag.isArray(s[H])){(K.specialEasing=K.specialEasing||{})[H]=s[H][1];s[H]=s[H][0];}}if(K.overflow!=null){this.style.overflow="hidden";}K.curAnim=ag.extend({},s);ag.each(s,function(P,U){var V=new ag.fx(L,K,P);
if(a.test(U)){V[U==="toggle"?M?"show":"hide":U](s);}else{var T=a3.exec(U),R=V.cur(true)||0;if(T){U=parseFloat(T[2]);var Q=T[3]||"px";if(Q!=="px"){L.style[P]=(U||1)+Q;R=(U||1)/V.cur(true)*R;L.style[P]=R+Q;}if(T[1]){U=(T[1]==="-="?-1:1)*U+R;}V.custom(R,U,Q);}else{V.custom(R,U,"");}}});return true;});},stop:function(s,c){var w=ag.timers;
s&&this.queue([]);this.each(function(){for(var A=w.length-1;A>=0;A--){if(w[A].elem===this){c&&w[A](true);w.splice(A,1);}}});c||this.dequeue();return this;}});ag.each({slideDown:aA("show",1),slideUp:aA("hide",1),slideToggle:aA("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(s,c){ag.fn[s]=function(A,w){return this.animate(c,A,w);
};});ag.extend({speed:function(s,c,A){var w=s&&typeof s==="object"?s:{complete:A||!A&&c||ag.isFunction(s)&&s,duration:s,easing:A&&c||c&&!ag.isFunction(c)&&c};w.duration=ag.fx.off?0:typeof w.duration==="number"?w.duration:ag.fx.speeds[w.duration]||ag.fx.speeds._default;w.old=w.complete;w.complete=function(){w.queue!==false&&ag(this).dequeue();
ag.isFunction(w.old)&&w.old.call(this);};return w;},easing:{linear:function(s,c,A,w){return A+w*s;},swing:function(s,c,A,w){return(-Math.cos(s*Math.PI)/2+0.5)*w+A;}},timers:[],fx:function(s,c,w){this.options=c;this.elem=s;this.prop=w;if(!c.orig){c.orig={};}}});ag.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);
(ag.fx.step[this.prop]||ag.fx.step._default)(this);if((this.prop==="height"||this.prop==="width")&&this.elem.style){this.elem.style.display="block";}},cur:function(c){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop];}return(c=parseFloat(ag.css(this.elem,this.prop,c)))&&c>-10000?c:parseFloat(ag.curCSS(this.elem,this.prop))||0;
},custom:function(s,c,G){function w(H){return A.step(H);}this.startTime=aB();this.start=s;this.end=c;this.unit=G||this.unit||"px";this.now=this.start;this.pos=this.state=0;var A=this;w.elem=this.elem;if(w()&&ag.timers.push(w)&&!al){al=setInterval(ag.fx.tick,13);}},show:function(){this.options.orig[this.prop]=ag.style(this.elem,this.prop);
this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());ag(this.elem).show();},hide:function(){this.options.orig[this.prop]=ag.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0);},step:function(s){var c=aB(),G=true;if(s||c>=this.options.duration+this.startTime){this.now=this.end;
this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;for(var w in this.options.curAnim){if(this.options.curAnim[w]!==true){G=false;}}if(G){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;s=ag.data(this.elem,"olddisplay");this.elem.style.display=s?s:this.options.display;
if(ag.css(this.elem,"display")==="none"){this.elem.style.display="block";}}this.options.hide&&ag(this.elem).hide();if(this.options.hide||this.options.show){for(var A in this.options.curAnim){ag.style(this.elem,A,this.options.orig[A]);}}this.options.complete.call(this.elem);}return false;}else{A=c-this.startTime;
this.state=A/this.options.duration;s=this.options.easing||(ag.easing.swing?"swing":"linear");this.pos=ag.easing[this.options.specialEasing&&this.options.specialEasing[this.prop]||s](this.state,A,0,1,this.options.duration);this.now=this.start+(this.end-this.start)*this.pos;this.update();}return true;}};
ag.extend(ag.fx,{tick:function(){for(var s=ag.timers,c=0;c<s.length;c++){s[c]()||s.splice(c--,1);}s.length||ag.fx.stop();},stop:function(){clearInterval(al);al=null;},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(c){ag.style(c.elem,"opacity",c.now);},_default:function(c){if(c.elem.style&&c.elem.style[c.prop]!=null){c.elem.style[c.prop]=(c.prop==="width"||c.prop==="height"?Math.max(0,c.now):c.now)+c.unit;
}else{c.elem[c.prop]=c.now;}}}});if(ag.expr&&ag.expr.filters){ag.expr.filters.animated=function(c){return ag.grep(ag.timers,function(s){return c===s.elem;}).length;};}ag.fn.offset="getBoundingClientRect" in N.documentElement?function(s){var c=this[0];if(!c||!c.ownerDocument){return null;}if(s){return this.each(function(G){ag.offset.setOffset(this,s,G);
});}if(c===c.ownerDocument.body){return ag.offset.bodyOffset(c);}var A=c.getBoundingClientRect(),w=c.ownerDocument;c=w.body;w=w.documentElement;return{top:A.top+(self.pageYOffset||ag.support.boxModel&&w.scrollTop||c.scrollTop)-(w.clientTop||c.clientTop||0),left:A.left+(self.pageXOffset||ag.support.boxModel&&w.scrollLeft||c.scrollLeft)-(w.clientLeft||c.clientLeft||0)};
}:function(O){var M=this[0];if(!M||!M.ownerDocument){return null;}if(O){return this.each(function(P){ag.offset.setOffset(this,O,P);});}if(M===M.ownerDocument.body){return ag.offset.bodyOffset(M);}ag.offset.initialize();var L=M.offsetParent,H=M,K=M.ownerDocument,G,A=K.documentElement,s=K.body;H=(K=K.defaultView)?K.getComputedStyle(M,null):M.currentStyle;
for(var c=M.offsetTop,w=M.offsetLeft;(M=M.parentNode)&&M!==s&&M!==A;){if(ag.offset.supportsFixedPosition&&H.position==="fixed"){break;}G=K?K.getComputedStyle(M,null):M.currentStyle;c-=M.scrollTop;w-=M.scrollLeft;if(M===L){c+=M.offsetTop;w+=M.offsetLeft;if(ag.offset.doesNotAddBorder&&!(ag.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(M.nodeName))){c+=parseFloat(G.borderTopWidth)||0;
w+=parseFloat(G.borderLeftWidth)||0;}H=L;L=M.offsetParent;}if(ag.offset.subtractsBorderForOverflowNotVisible&&G.overflow!=="visible"){c+=parseFloat(G.borderTopWidth)||0;w+=parseFloat(G.borderLeftWidth)||0;}H=G;}if(H.position==="relative"||H.position==="static"){c+=s.offsetTop;w+=s.offsetLeft;}if(ag.offset.supportsFixedPosition&&H.position==="fixed"){c+=Math.max(A.scrollTop,s.scrollTop);
w+=Math.max(A.scrollLeft,s.scrollLeft);}return{top:c,left:w};};ag.offset={initialize:function(){var s=N.body,c=N.createElement("div"),H,A,G,w=parseFloat(ag.curCSS(s,"marginTop",true))||0;ag.extend(c.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"});
c.innerHTML="<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";
s.insertBefore(c,s.firstChild);H=c.firstChild;A=H.firstChild;G=H.nextSibling.firstChild.firstChild;this.doesNotAddBorder=A.offsetTop!==5;this.doesAddBorderForTableAndCells=G.offsetTop===5;A.style.position="fixed";A.style.top="20px";this.supportsFixedPosition=A.offsetTop===20||A.offsetTop===15;A.style.position=A.style.top="";
H.style.overflow="hidden";H.style.position="relative";this.subtractsBorderForOverflowNotVisible=A.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=s.offsetTop!==w;s.removeChild(c);ag.offset.initialize=ag.noop;},bodyOffset:function(s){var c=s.offsetTop,w=s.offsetLeft;ag.offset.initialize();if(ag.offset.doesNotIncludeMarginInBodyOffset){c+=parseFloat(ag.curCSS(s,"marginTop",true))||0;
w+=parseFloat(ag.curCSS(s,"marginLeft",true))||0;}return{top:c,left:w};},setOffset:function(s,c,K){if(/static/.test(ag.curCSS(s,"position"))){s.style.position="relative";}var G=ag(s),H=G.offset(),A=parseInt(ag.curCSS(s,"top",true),10)||0,w=parseInt(ag.curCSS(s,"left",true),10)||0;if(ag.isFunction(c)){c=c.call(s,K,H);
}K={top:c.top-H.top+A,left:c.left-H.left+w};"using" in c?c.using.call(s,K):G.css(K);}};ag.fn.extend({position:function(){if(!this[0]){return null;}var s=this[0],c=this.offsetParent(),A=this.offset(),w=/^body|html$/i.test(c[0].nodeName)?{top:0,left:0}:c.offset();A.top-=parseFloat(ag.curCSS(s,"marginTop",true))||0;
A.left-=parseFloat(ag.curCSS(s,"marginLeft",true))||0;w.top+=parseFloat(ag.curCSS(c[0],"borderTopWidth",true))||0;w.left+=parseFloat(ag.curCSS(c[0],"borderLeftWidth",true))||0;return{top:A.top-w.top,left:A.left-w.left};},offsetParent:function(){return this.map(function(){for(var c=this.offsetParent||N.body;
c&&!/^body|html$/i.test(c.nodeName)&&ag.css(c,"position")==="static";){c=c.offsetParent;}return c;});}});ag.each(["Left","Top"],function(s,c){var w="scroll"+c;ag.fn[w]=function(G){var H=this[0],A;if(!H){return null;}if(G!==J){return this.each(function(){if(A=q(this)){A.scrollTo(!s?G:ag(A).scrollLeft(),s?G:ag(A).scrollTop());
}else{this[w]=G;}});}else{return(A=q(H))?"pageXOffset" in A?A[s?"pageYOffset":"pageXOffset"]:ag.support.boxModel&&A.document.documentElement[w]||A.document.body[w]:H[w];}};});ag.each(["Height","Width"],function(s,c){var w=c.toLowerCase();ag.fn["inner"+c]=function(){return this[0]?ag.css(this[0],w,false,"padding"):null;
};ag.fn["outer"+c]=function(A){return this[0]?ag.css(this[0],w,false,A?"margin":"border"):null;};ag.fn[w]=function(A){var G=this[0];if(!G){return A==null?null:this;}return"scrollTo" in G&&G.document?G.document.compatMode==="CSS1Compat"&&G.document.documentElement["client"+c]||G.document.body["client"+c]:G.nodeType===9?Math.max(G.documentElement["client"+c],G.body["scroll"+c],G.documentElement["scroll"+c],G.body["offset"+c],G.documentElement["offset"+c]):A===J?ag.css(G,w):this.css(w,typeof A==="string"?A:A+"px");
};});aM.jQuery=aM.$=ag;})(window);(function($){function toIntegersAtLease(n){return n<10?"0"+n:n;}Date.prototype.toJSON=function(date){return date.getUTCFullYear()+"-"+toIntegersAtLease(date.getUTCMonth()+1)+"-"+toIntegersAtLease(date.getUTCDate());};var escapeable=/["\\\x00-\x1f\x7f-\x9f]/g;var meta={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};
$.quoteString=function(string){if(escapeable.test(string)){return'"'+string.replace(escapeable,function(a){var c=meta[a];if(typeof c==="string"){return c;}c=a.charCodeAt();return"\\u00"+Math.floor(c/16).toString(16)+(c%16).toString(16);})+'"';}return'"'+string+'"';};$.toJSON=function(o){var type=typeof(o);
if(type=="undefined"){return"undefined";}else{if(type=="number"||type=="boolean"){return o+"";}else{if(o===null){return"null";}}}if(type=="string"){return $.quoteString(o);}if(type=="object"&&typeof o.toJSON=="function"){return o.toJSON();}if(type!="function"&&typeof(o.length)=="number"){var ret=[];for(var i=0;
i<o.length;i++){ret.push($.toJSON(o[i]));}return"["+ret.join(", ")+"]";}if(type=="function"){throw new TypeError("Unable to convert object of type 'function' to json.");}ret=[];for(var k in o){var name;var type=typeof(k);if(type=="number"){name='"'+k+'"';}else{if(type=="string"){name=$.quoteString(k);
}else{continue;}}val=$.toJSON(o[k]);if(typeof(val)!="string"){continue;}ret.push(name+": "+val);}return"{"+ret.join(", ")+"}";};$.evalJSON=function(src){return eval(" ("+src+") ");};$.secureEvalJSON=function(src){var filtered=src;filtered=filtered.replace(/\\["\\\/bfnrtu]/g,"@");filtered=filtered.replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]");
filtered=filtered.replace(/(?:^|:|,)(?:\s*\[)+/g,"");if(/^[\],:{}\s]*$/.test(filtered)){return eval("("+src+")");}else{throw new SyntaxError("Error parsing JSON, source is not valid.");}};})(jQuery);(function(c){var d;c.fn.src=function(f,g,e){b(c(this),g,e,function(){this.src=f;});return c(this);};c.fn.squirt=function(g,f,e){b(c(this),f,e,function(){var h=this.contentDocument||this.contentWindow.document;
h.open();h.writeln(g);h.close();});return this;};function b(h,g,f,e){h.each(function(){if(this.tagName=="IFRAME"){a(this,g,f,e);}});}function a(m,n,o,h){var m;m.onload=null;if(f){clearTimeout(f);}var j={timeoutDuration:0,timeout:null};var e=c.extend(j,o);if(e.timeout&&!e.timeoutDuration){e.timeoutDuration=60000;
}e.frameactive=true;var g=(new Date()).getTime();if(e.timeout){var f=setTimeout(function(){e.frameactive=false;m.onload=null;if(e.timeout){e.timeout(m,e.timeout);}},e.timeoutDuration);}var k=function(){var p=(new Date()).getTime()-g;if(f){clearTimeout(f);}if(n&&e.frameactive){n.apply(m,[p]);}e.frameactive=false;
};h.apply(m);m.onload=k;e.completeReadyStateChanges=0;m.onreadystatechange=function(){if(++(e.completeReadyStateChanges)==3){k();}};return m;}})(jQuery);(function(b){b.ifixpng=function(c){b.ifixpng.pixel=c;};b.ifixpng.regexp={bg:/^url\(["']?(.*\.png([?].*)?)["']?\)$/i,img:/.*\.png([?].*)?$/i},b.ifixpng.getPixel=function(){return b.ifixpng.pixel||"images/pixel.gif";
};var a={base:b("base").attr("href"),ltie7:true,filter:function(c){return"progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true,sizingMethod=scale,src='"+c+"')";}};b.fn.ifixpng=a.ltie7?function(){function c(h,g,e,d,f){h.css({filter:a.filter(g),width:e,height:d}).attr({src:b.ifixpng.getPixel()}).positionFix();
}return this.each(function(){var f=b(this);if(f.is("img")||f.is("input")){var h,e;if(this.src&&this.src.match(b.ifixpng.regexp.img)){h=(a.base&&this.src.substring(0,1)!="/"&&this.src.indexOf(a.base)===-1)?a.base+this.src:this.src;if(!this.width||!this.height){b(new Image()).one("load",function(){c(f,h,this.width,this.height);
b(this).remove();}).attr("src",h);}else{c(f,h,this.width,this.height);}}}else{if(this.style){var j=f.css("backgroundImage");if(j&&j.match(b.ifixpng.regexp.bg)&&this.currentStyle.backgroundRepeat=="no-repeat"){j=RegExp.$1;var d=this.currentStyle.backgroundPositionX||0,k=this.currentStyle.backgroundPositionY||0;
if(d||k){var g={},e;if(typeof d!="undefined"){if(d=="left"){g.left=0;}else{if(d=="right"){g.right=f.width()%2===1?-1:0;}else{g.left=d;}}}if(typeof k!="undefined"){if(k=="bottom"){g.bottom=f.height()%2===1?-1:0;}else{if(k=="top"){g.top=0;}else{g.top=k;}}}e=new Image();b(e).one("load",function(){var m,q,o={},p;
if(/center|%/.test(g.top)){o.top="(this.parentNode.offsetHeight - this.offsetHeight) * "+(g.top=="center"?0.5:(parseInt(g.top)/100));delete g.top;}if(/center|%/.test(g.left)){o.left="(this.parentNode.offsetWidth - this.offsetWidth) * "+(g.left=="center"?0.5:(parseInt(g.left)/100));delete g.left;}f.positionFix().css({backgroundImage:"none"}).prepend(b("<div></div>").css(g).css({width:this.width,height:this.height,position:"absolute",filter:a.filter(j)}));
if(o.top||o.left){var n=f.children(":first")[0];for(p in o){n.style.setExpression(p,o[p],"JavaScript");}}b(this).remove();});e.src=j;}else{f.css({backgroundImage:"none",filter:a.filter(j)});}}}}});}:function(){return this;};b.fn.positionFix=function(){return this.each(function(){var c=b(this);if(c.css("position")!="absolute"){c.css({position:"relative"});
}});};})(jQuery);(function(a){a.fn.breakWords=function(b){return a.fn.breakWords(b,false);};a.fn.breakWords=function(b,c){this.each(function(){if(this.nodeType!==1){return;}var e=a(this).text();var g=String.fromCharCode("8203");if(a.browser.opera||a.browser.msie){g=String.fromCharCode("0173");}if(c){var f=e.split(" ");
for(i=0;i<f.length;i++){var d="";if(f[i].length>b){d=f[i].split("").join(g);}else{d=f[i];}if(i==0){e=d;}else{e=e+" "+d;}}}else{if(e.split(" ").length==1&&e.length>b){e=e.split("").join(g);}}a(this).text(e);});return this;};})(jQuery);function doJSON(c,d,b,a,e){if(typeof(e)=="function"){doJSONExt(c,d,b,a,e);
}else{doJSONExt(c,d,b,a,function(h,g,f){alert(locale("text.ajax.unexceptederror"));});}}function doJSONExt(c,d,b,a,e){$.ajax({url:JSONActionsRoot+c+".action",data:$.toJSON({request:d}),type:"POST",processData:false,contentType:"application/json",timeout:10000,success:function(g){var f=g;if(f){if(f.success){if(b){b(f);
}}else{if(a){a(f);}}}return;},error:function(h,g,f){if(e){e(h,g,f);}else{alert(getText("text.ajax.unexceptederror"));}return;}});}function initGoogleAnalytics(){if(loggingGA.length>0){$("a").filter(function(a){return $(this).data("ga_bound")!=true;}).click(function(a){a.preventDefault();doGoogleAnalyticsClick($(this));
});}}function callGoogleAnalytics(e){if(loggingGA.length>0){var c=e.attr("class").split(" ");var a="";var f="";for(var b=0;b<c.length;b++){var d=c[b];if(d.indexOf("ga_name_")>=0){d=d.replace("ga_name_","");a=d;}else{if(d.indexOf("ga_value_")>=0){d=d.replace("ga_value_","");f=d;}}}if(a.length>0&&f.length>0){_gaq.push(["_trackEvent",a,f]);
}}}function doGoogleAnalyticsClick(b){if(b.attr("id")=="callme"){return;}var c=b.attr("href");var d=b.attr("target");callGoogleAnalytics(b);if(c){if(!d||d==""){window.open(c,"_self");}else{window.open(c,d);}}}function init(){initTelPages(adjustVisitedST);initTelFriends();add_word_break();initGoogleMaps();
if(tunneldLogin){ui_open_login();}$("div.close").click(function(){$("#form").fadeOut("slow",function(){$("#filter").fadeOut("fast");});});$(".login-button").click(function(){$("div.loginerror").fadeIn("fast");});var a="div.databox";$(a).each(function(){$(this).find("a:first").data("ga_bound",true);$(this).click(function(b){var c=$(b.target).closest(a).find("a:first");
b.preventDefault();doGoogleAnalyticsClick(c);}).mouseenter(function(){$(this).addClass("over");}).mouseleave(function(){$(this).removeClass("over");});});if(!(telPagesUrl==="")){window.open(telPagesUrl,"_blank");}if(searchRedirect){ui_sendTelPagesRequest();}}$(document).ready(function(){init();initGoogleAnalytics();
});String.prototype.normalize=function(){return this.replace(/\s+/g," ");};function processSystemError(c,b,a){if(c.status==401){showResult([getText("text.ajax.sessiontimeout")]);}else{showResult([getText("text.ajax.systemerror")]);}}function showResult(b){if($(".errorMsgs").length>0){$(".errorMsgs").remove();
}var c=$(document.createElement("div"));c.attr("class","errorMsgs");$("#error").append(c);var a=0;$.each(b,function(){var d=$(document.createElement("p"));d.attr("id","msgs"+a);d.attr("class","pErrorMsgs");d.html(this.normalize());$(".errorMsgs").append(d);a++;});$(".pErrorMsgs").breakWords(40,true);
}function showResultForm(b,d){removeErrMsg(d);var c=$(document.createElement("div"));c.attr("class",d+"Msgs");$("#"+d).append(c);var a=0;$.each(b,function(){var e=$(document.createElement("p"));e.attr("id","msgs"+a);e.html(this.normalize());$("#"+d+" ."+d+"Msgs").append(e);a++;});}function removeErrMsg(a){if($("#"+a+" ."+a+"Msgs").length){$("#"+a+" ."+a+"Msgs").remove();
}}function ui_fix_ie6_png(){$.ifixpng(serverRoot+"/images/pixel.gif");$("#content div, #content-header, #content-footer, img, #form div, #filter img").ifixpng();}function add_word_break(){if($.browser.msie||$.browser.opera||$.browser.safari){$(".errorMsgs").breakWords(40,true);$(".word-wrap").breakWords(60);
}if($.browser.mozilla&&$.browser.version>"1.9.1"){$("#error").css("word-wrap","break-word");$(".word-wrap").css("word-wrap","break-word");}else{if($.browser.mozilla){$("#error").breakWords(40,true);$(".word-wrap").breakWords(60,true);}}$(".word-wrap-header").breakWords(15,true);$(".word-wrap-45").breakWords(45);
}function getText(b){var d;if(localizedStrings){d=localizedStrings[b];}if(!d){d=b;}else{var c=arguments.length;for(var a=1;a<c;a++){d=d.split("{"+(a-1)+"}").join(arguments[a]);}}return d;}var visitedST=false;function ui_sendTelPagesRequest(){var a="";if($("input[name=realm]:checked").length>0){a=$("input[name=realm]:checked").val();
}else{if(($("input[name=realm]:hidden").length)>0){a=$("input[name=realm]:hidden").val();}}var b=$("#searchterm").val();if(!visitedST){b="";}var c={searchTerm:b,realm:a};be_sendTelPagesRequest(c,function(e){if(e.target!="_iframe"){window.open(e.redirect,e.target);}else{cleanup(true);var d=nodeURL+"/search_header.action?domain="+apexDomainPunycode+"&realm="+apexDomainPunycode;
$.ajax({url:d,dataType:"html",timout:5000,success:function(f){$("header").html(f);$("#header-left .info h1").click(function(){window.open(nodeURL+"/lookup/"+apexDomainPunycode,"_self");});$("#header-left .info h1").hover(function(){$(this).css("cursor","pointer");},function(){$(this).css("cursor","auto");
});$("#header-left .info h4").click(function(){window.open(nodeURL+"/lookup/"+apexDomainPunycode,"_self");});$("#header-left .info h4").hover(function(){$(this).css("cursor","pointer");},function(){$(this).css("cursor","auto");});initTelPages(true);$("#searchterm").val(b);},error:function(h,g,f){if(processSystemError){processSystemError(h,g,f);
}else{showResult(getText("text.ajax.unexceptederror"));}}});$("#content").load(e.redirect,function(){$(".word-wrap").breakWords(60,true);});}},function(d){showResult(d.actionErrors);});}function cleanup(a){$("#search_column").remove();$("#error").remove();$("#content-footer .download-link").remove();
if(a){$("#header-left .info h1").unbind();$("#header-left .info h4").unbind();$("#search-button").unbind();}var b=$(document.createElement("div"));b.attr("id","error");b.attr("class","error");b.appendTo($("#content"));}function ui_sendTelPagesPagingRequest(b,a){cleanup(false);if(b){scroll(0,0);}$("#content").load(a);
}function initTelPages(a){if(!tunneled){$("#search-button").click(function(){ui_sendTelPagesRequest();});}else{$("#search-button").click(function(){if(!visitedST){$("#searchterm").val("");}$("#searchForm").submit();});}visitedST=a;$("#searchterm").focus(function(){if(!visitedST){$(this).val("");visitedST=true;
}});$("#searchterm").keypress(function(b){if(b.keyCode==13){ui_sendTelPagesRequest();}});}function be_sendTelPagesRequest(c,b,a){doJSON("/telpages/sendtelpagesrequest",c,b,a,processSystemError);}var tfMessage=false;function ui_sendFriendingRequest(){var b=$("#frndmsg").val();var a={to:apexDomain,coverNote:b};
tfMessage=false;be_sendFriendingRequest(a,function(c){if(c.actionMessages==null){showResultForm([getText("text.friending.success",apexDomain,c.date)],"frnd-error");}else{showResultForm(c.actionMessages,"frnd-error");}tfMessage=true;},function(c){showResultForm(c.actionErrors,"frnd-error");},function(f,d,c){if(f.status==401){showResultForm([getText("text.ajax.sessiontimeout")],"frnd-error");
}else{showResultForm([getText("text.ajax.systemerror")],"frnd-error");}});}function ui_sendLoginRequest(){var a=$("#username").val();var b=$("#password").val();var d=$("#rememberme").attr("checked");var c={userName:a,password:b,rememberMe:d,domain:domain};be_sendLoginRequest(c,function(e){window.location.replace(e.urlForward);
},function(e){showResultForm(e.actionErrors,"login-error");},function(h,g,f){if(h.status==401){showResultForm([getText("text.ajax.sessiontimeout")],"login-error");}else{showResultForm([getText("text.ajax.systemerror")],"login-error");}});}function ui_open_login(){$("#username").val("");$("#password").val("");
$("#rememberme").attr("checked",false);$("#filter").fadeIn("fast",function(){$("#form").fadeIn("fast",function(){removeErrMsg("login-error");$("#login-form").fadeIn("slow");});});}function ui_open_friending(){$("#filter").fadeIn("fast",function(){$("#form").fadeIn("fast",function(){if(tfMessage){$("#frndmsg").val(getText("text.friending.invite"));
}removeErrMsg("frnd-error");$("#frnd-form").fadeIn("slow");});});}function initTelFriends(){$("#login-button").click(function(){ui_sendLoginRequest();});$("#frnd-button").click(function(){ui_sendFriendingRequest();});$("#frndmsg").val(getText("text.friending.invite"));}function be_sendFriendingRequest(c,b,a,d){doJSON("/friending/sendfriendingrequest",c,b,a,d);
}function be_sendLoginRequest(c,b,a,d){doJSON("/friending/sendloginrequest",c,b,a,d);}function initGoogleMaps(){$(".show-map").toggle(function(){var a=$(this).attr("id").split("_");$("#map_"+a[0]).show("fast");if($("#map_inner_"+a[0]).is(":visible")&&$("#iframe_"+a[0]).length==0){$("<iframe scrolling='no' frameborder='0' id='iframe_"+a[0]+"' class='databox-map'>").src(a[1]).appendTo("#map_inner_"+a[0]);
}$("a.map-toggle_"+a[0]).text(getText("text.map.hide"));},function(){var a=$(this).attr("id").split("_");$("#map_"+a[0]).hide("fast");$("a.map-toggle_"+a[0]).text(getText("text.map.view"));});}jQuery(function(){jQuery("#callme").click(function(){var a=jQuery(this).attr("href")+".iframe";if(!jQuery("#callme_mask").is("div")){jQuery("body").append('<div id="callme_mask"></div>');
jQuery("#callme_mask").live("click",function(){jQuery("#callme_mask").hide();jQuery("#callme_iframe").remove();});jQuery("#callme_mask").css("opacity",0.8);}if(!jQuery("#callme_iframe").is("iframe")){jQuery("body").append('<iframe id="callme_iframe" src="'+a+'"></iframe>');}else{jQuery("#callme_iframe").attr("src",a);
}$("#callme_mask").show();return false;});});
