/*
 * jQuery JavaScript Library v1.4.2
 * http://jquery.com/
 *
 * Copyright 2010, John Resig
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * Includes Sizzle.js
 * http://sizzlejs.com/
 * Copyright 2010, The Dojo Foundation
 * Released under the MIT, BSD, and GPL Licenses.
 *
 * Date: Sat Feb 13 22:33:48 2010 -0500
 */
(function(aV,bf){function ao(){if(!a.isReady){try{a9.documentElement.doScroll("left")}catch(c){setTimeout(ao,1);return}a.ready()}}function i(s,c){c.src?a.ajax({url:c.src,async:false,dataType:"script"}):a.globalEval(c.text||c.textContent||c.innerHTML||"");c.parentNode&&c.parentNode.removeChild(c)}function aD(s,c,A,w,F,G){var J=s.length;if(typeof c==="object"){for(var K in c){aD(s,K,c[K],w,F,A)}return s}if(A!==bf){w=!G&&w&&a.isFunction(A);for(K=0;K<J;K++){F(s[K],c,w?A.call(s[K],K,F(s[K],c)):A,G)}return s}return J?F(s[0],c):bf}function aP(){return(new Date).getTime()}function aE(){return false}function aC(){return true}function al(w,s,c){c[0].type=w;return a.event.handle.apply(s,c)}function am(w){var c,F=[],A=[],G=arguments,K,N,P,L,O,s;N=a.data(this,"events");if(!(w.liveFired===this||!N||!N.live||w.button&&w.type==="click")){w.liveFired=this;var J=N.live.slice(0);for(L=0;L<J.length;L++){N=J[L];N.origType.replace(aS,"")===w.type?A.push(N.selector):J.splice(L--,1)}K=a(w.target).closest(A,w.currentTarget);O=0;for(s=K.length;O<s;O++){for(L=0;L<J.length;L++){N=J[L];if(K[O].selector===N.selector){P=K[O].elem;A=null;if(N.preType==="mouseenter"||N.preType==="mouseleave"){A=a(w.relatedTarget).closest(N.selector)[0]}if(!A||A!==P){F.push({elem:P,handleObj:N})}}}}O=0;for(s=F.length;O<s;O++){K=F[O];w.currentTarget=K.elem;w.data=K.handleObj.data;w.handleObj=K.handleObj;if(K.handleObj.origHandler.apply(K.elem,G)===false){c=false;break}}return c}}function U(s,c){return"live."+(s&&s!=="*"?s+".":"")+c.replace(/\./g,"`").replace(/ /g,"&")}function ac(c){return !c||!c.parentNode||c.parentNode.nodeType===11}function M(w,s){var c=0;s.each(function(){if(this.nodeName===(w[c]&&w[c].nodeName)){var J=a.data(w[c++]),F=a.data(this,J);if(J=J&&J.events){delete F.handle;F.events={};for(var A in J){for(var G in J[A]){a.event.add(this,A,J[A][G],J[A][G].data)}}}}})}function S(s,c,A){var w,F,G;c=c&&c[0]?c[0].ownerDocument||c[0]:a9;if(s.length===1&&typeof s[0]==="string"&&s[0].length<512&&c===a9&&!af.test(s[0])&&(a.support.checkClone||!ag.test(s[0]))){F=true;if(G=a.fragments[s[0]]){if(G!==1){w=G}}}if(!w){w=c.createDocumentFragment();a.clean(s,c,w,A)}if(F){a.fragments[s[0]]=G?w:1}return{fragment:w,cacheable:F}}function aQ(w,s){var c={};a.each(ar.concat.apply([],ar.slice(0,s)),function(){c[this]=w});return c}function ae(c){return"scrollTo" in c&&c.document?c:c.nodeType===9?c.defaultView||c.parentWindow:false}var a=function(s,c){return new a.fn.init(s,c)},f=aV.jQuery,g=aV.$,a9=aV.document,aN,l=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,m=/^.[^:#\[\.,]*$/,j=/\S/,k=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,d=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,aJ=navigator.userAgent,H=false,aK=[],aT,ad=Object.prototype.toString,at=Object.prototype.hasOwnProperty,ap=Array.prototype.push,aI=Array.prototype.slice,I=Array.prototype.indexOf;a.fn=a.prototype={init:function(w,s){var c,A;if(!w){return this}if(w.nodeType){this.context=this[0]=w;this.length=1;return this}if(w==="body"&&!s){this.context=a9;this[0]=a9.body;this.selector="body";this.length=1;return this}if(typeof w==="string"){if((c=l.exec(w))&&(c[1]||!s)){if(c[1]){A=s?s.ownerDocument||s:a9;if(w=d.exec(w)){if(a.isPlainObject(s)){w=[a9.createElement(w[1])];a.fn.attr.call(w,s,true)}else{w=[A.createElement(w[1])]}}else{w=S([c[1]],[A]);w=(w.cacheable?w.fragment.cloneNode(true):w.fragment).childNodes}return a.merge(this,w)}else{if(s=a9.getElementById(c[2])){if(s.id!==c[2]){return aN.find(w)}this.length=1;this[0]=s}this.context=a9;this.selector=w;return this}}else{if(!s&&/^\w+$/.test(w)){this.selector=w;this.context=a9;w=a9.getElementsByTagName(w);return a.merge(this,w)}else{return !s||s.jquery?(s||aN).find(w):a(s).find(w)}}}else{if(a.isFunction(w)){return aN.ready(w)}}if(w.selector!==bf){this.selector=w.selector;this.context=w.context}return a.makeArray(w,this)},selector:"",jquery:"1.4.2",length:0,size:function(){return this.length},toArray:function(){return aI.call(this,0)},get:function(c){return c==null?this.toArray():c<0?this.slice(c)[0]:this[c]},pushStack:function(w,s,c){var A=a();a.isArray(w)?ap.apply(A,w):a.merge(A,w);A.prevObject=this;A.context=this.context;if(s==="find"){A.selector=this.selector+(this.selector?" ":"")+c}else{if(s){A.selector=this.selector+"."+s+"("+c+")"}}return A},each:function(s,c){return a.each(this,s,c)},ready:function(c){a.bindReady();if(a.isReady){c.call(a9,a)}else{aK&&aK.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(aI.apply(this,arguments),"slice",aI.call(arguments).join(","))},map:function(c){return this.pushStack(a.map(this,function(w,s){return c.call(w,s,w)}))},end:function(){return this.prevObject||a(null)},push:ap,sort:[].sort,splice:[].splice};a.fn.init.prototype=a.fn;a.extend=a.fn.extend=function(){var s=arguments[0]||{},c=1,A=arguments.length,w=false,F,G,J,K;if(typeof s==="boolean"){w=s;s=arguments[1]||{};c=2}if(typeof s!=="object"&&!a.isFunction(s)){s={}}if(A===c){s=this;--c}for(;c<A;c++){if((F=arguments[c])!=null){for(G in F){J=s[G];K=F[G];if(s!==K){if(w&&K&&(a.isPlainObject(K)||a.isArray(K))){J=J&&(a.isPlainObject(J)||a.isArray(J))?J:a.isArray(K)?[]:{};s[G]=a.extend(w,J,K)}else{if(K!==bf){s[G]=K}}}}}}return s};a.extend({noConflict:function(c){aV.$=g;if(c){aV.jQuery=f}return a},isReady:false,ready:function(){if(!a.isReady){if(!a9.body){return setTimeout(a.ready,13)}a.isReady=true;if(aK){for(var s,c=0;s=aK[c++];){s.call(a9,a)}aK=null}a.fn.triggerHandler&&a(a9).triggerHandler("ready")}},bindReady:function(){if(!H){H=true;if(a9.readyState==="complete"){return a.ready()}if(a9.addEventListener){a9.addEventListener("DOMContentLoaded",aT,false);aV.addEventListener("load",a.ready,false)}else{if(a9.attachEvent){a9.attachEvent("onreadystatechange",aT);aV.attachEvent("onload",a.ready);var s=false;try{s=aV.frameElement==null}catch(c){}a9.documentElement.doScroll&&s&&ao()}}}},isFunction:function(c){return ad.call(c)==="[object Function]"},isArray:function(c){return ad.call(c)==="[object Array]"},isPlainObject:function(s){if(!s||ad.call(s)!=="[object Object]"||s.nodeType||s.setInterval){return false}if(s.constructor&&!at.call(s,"constructor")&&!at.call(s.constructor.prototype,"isPrototypeOf")){return false}var c;for(c in s){}return c===bf||at.call(s,c)},isEmptyObject:function(s){for(var c in s){return false}return true},error:function(c){throw c},parseJSON:function(c){if(typeof c!=="string"||!c){return null}c=a.trim(c);if(/^[\],:{}\s]*$/.test(c.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,""))){return aV.JSON&&aV.JSON.parse?aV.JSON.parse(c):(new Function("return "+c))()}else{a.error("Invalid JSON: "+c)}},noop:function(){},globalEval:function(w){if(w&&j.test(w)){var s=a9.getElementsByTagName("head")[0]||a9.documentElement,c=a9.createElement("script");c.type="text/javascript";if(a.support.scriptEval){c.appendChild(a9.createTextNode(w))}else{c.text=w}s.insertBefore(c,s.firstChild);s.removeChild(c)}},nodeName:function(s,c){return s.nodeName&&s.nodeName.toUpperCase()===c.toUpperCase()},each:function(s,c,A){var w,F=0,G=s.length,J=G===bf||a.isFunction(s);if(A){if(J){for(w in s){if(c.apply(s[w],A)===false){break}}}else{for(;F<G;){if(c.apply(s[F++],A)===false){break}}}}else{if(J){for(w in s){if(c.call(s[w],w,s[w])===false){break}}}else{for(A=s[0];F<G&&c.call(A,F,A)!==false;A=s[++F]){}}}return s},trim:function(c){return(c||"").replace(k,"")},makeArray:function(s,c){c=c||[];if(s!=null){s.length==null||typeof s==="string"||a.isFunction(s)||typeof s!=="function"&&s.setInterval?ap.call(c,s):a.merge(c,s)}return c},inArray:function(w,s){if(s.indexOf){return s.indexOf(w)}for(var c=0,A=s.length;c<A;c++){if(s[c]===w){return c}}return -1},merge:function(w,s){var c=w.length,A=0;if(typeof s.length==="number"){for(var F=s.length;A<F;A++){w[c++]=s[A]}}else{for(;s[A]!==bf;){w[c++]=s[A++]}}w.length=c;return w},grep:function(s,c,A){for(var w=[],F=0,G=s.length;F<G;F++){!A!==!c(s[F],F)&&w.push(s[F])}return w},map:function(s,c,A){for(var w=[],F,G=0,J=s.length;G<J;G++){F=c(s[G],G,A);if(F!=null){w[w.length]=F}}return w.concat.apply([],w)},guid:1,proxy:function(w,s,c){if(arguments.length===2){if(typeof s==="string"){c=w;w=c[s];s=bf}else{if(s&&!a.isFunction(s)){c=s;s=bf}}}if(!s&&w){s=function(){return w.apply(c||this,arguments)}}if(w){s.guid=w.guid=w.guid||s.guid||a.guid++}return s},uaMatch:function(c){c=c.toLowerCase();c=/(webkit)[ \/]([\w.]+)/.exec(c)||/(opera)(?:.*version)?[ \/]([\w.]+)/.exec(c)||/(msie) ([\w.]+)/.exec(c)||!/compatible/.test(c)&&/(mozilla)(?:.*? rv:([\w.]+))?/.exec(c)||[];return{browser:c[1]||"",version:c[2]||"0"}},browser:{}});aJ=a.uaMatch(aJ);if(aJ.browser){a.browser[aJ.browser]=true;a.browser.version=aJ.version}if(a.browser.webkit){a.browser.safari=true}if(I){a.inArray=function(s,c){return I.call(c,s)}}aN=a(a9);if(a9.addEventListener){aT=function(){a9.removeEventListener("DOMContentLoaded",aT,false);a.ready()}}else{if(a9.attachEvent){aT=function(){if(a9.readyState==="complete"){a9.detachEvent("onreadystatechange",aT);a.ready()}}}}(function(){a.support={};var s=a9.documentElement,c=a9.createElement("script"),A=a9.createElement("div"),w="script"+aP();A.style.display="none";A.innerHTML="   <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";var F=A.getElementsByTagName("*"),G=A.getElementsByTagName("a")[0];if(!(!F||!F.length||!G)){a.support={leadingWhitespace:A.firstChild.nodeType===3,tbody:!A.getElementsByTagName("tbody").length,htmlSerialize:!!A.getElementsByTagName("link").length,style:/red/.test(G.getAttribute("style")),hrefNormalized:G.getAttribute("href")==="/a",opacity:/^0.55$/.test(G.style.opacity),cssFloat:!!G.style.cssFloat,checkOn:A.getElementsByTagName("input")[0].value==="on",optSelected:a9.createElement("select").appendChild(a9.createElement("option")).selected,parentNode:A.removeChild(A.appendChild(a9.createElement("div"))).parentNode===null,deleteExpando:true,checkClone:false,scriptEval:false,noCloneEvent:true,boxModel:null};c.type="text/javascript";try{c.appendChild(a9.createTextNode("window."+w+"=1;"))}catch(K){}s.insertBefore(c,s.firstChild);if(aV[w]){a.support.scriptEval=true;delete aV[w]}try{delete c.test}catch(L){a.support.deleteExpando=false}s.removeChild(c);if(A.attachEvent&&A.fireEvent){A.attachEvent("onclick",function J(){a.support.noCloneEvent=false;A.detachEvent("onclick",J)});A.cloneNode(true).fireEvent("onclick")}A=a9.createElement("div");A.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";s=a9.createDocumentFragment();s.appendChild(A.firstChild);a.support.checkClone=s.cloneNode(true).cloneNode(true).lastChild.checked;a(function(){var N=a9.createElement("div");N.style.width=N.style.paddingLeft="1px";a9.body.appendChild(N);a.boxModel=a.support.boxModel=N.offsetWidth===2;a9.body.removeChild(N).style.display="none"});s=function(N){var O=a9.createElement("div");N="on"+N;var P=N in O;if(!P){O.setAttribute(N,"return;");P=typeof O[N]==="function"}return P};a.support.submitBubbles=s("submit");a.support.changeBubbles=s("change");s=c=A=F=G=null}})();a.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};var aX="jQuery"+aP(),e=0,E={};a.extend({cache:{},expando:aX,noData:{embed:true,object:true,applet:true},data:function(w,s,c){if(!(w.nodeName&&a.noData[w.nodeName.toLowerCase()])){w=w==aV?E:w;var A=w[aX],F=a.cache;if(!A&&typeof s==="string"&&c===bf){return null}A||(A=++e);if(typeof s==="object"){w[aX]=A;F[A]=a.extend(true,{},s)}else{if(!F[A]){w[aX]=A;F[A]={}}}w=F[A];if(c!==bf){w[s]=c}return typeof s==="string"?w[s]:w}},removeData:function(w,s){if(!(w.nodeName&&a.noData[w.nodeName.toLowerCase()])){w=w==aV?E:w;var c=w[aX],A=a.cache,F=A[c];if(s){if(F){delete F[s];a.isEmptyObject(F)&&a.removeData(w)}}else{if(a.support.deleteExpando){delete w[a.expando]}else{w.removeAttribute&&w.removeAttribute(a.expando)}delete A[c]}}}});a.fn.extend({data:function(w,s){if(typeof w==="undefined"&&this.length){return a.data(this[0])}else{if(typeof w==="object"){return this.each(function(){a.data(this,w)})}}var c=w.split(".");c[1]=c[1]?"."+c[1]:"";if(s===bf){var A=this.triggerHandler("getData"+c[1]+"!",[c[0]]);if(A===bf&&this.length){A=a.data(this[0],w)}return A===bf&&c[1]?this.data(c[0]):A}else{return this.trigger("setData"+c[1]+"!",[c[0],s]).each(function(){a.data(this,w,s)})}},removeData:function(c){return this.each(function(){a.removeData(this,c)})}});a.extend({queue:function(w,s,c){if(w){s=(s||"fx")+"queue";var A=a.data(w,s);if(!c){return A||[]}if(!A||a.isArray(c)){A=a.data(w,s,a.makeArray(c))}else{A.push(c)}return A}},dequeue:function(w,s){s=s||"fx";var c=a.queue(w,s),A=c.shift();if(A==="inprogress"){A=c.shift()}if(A){s==="fx"&&c.unshift("inprogress");A.call(w,function(){a.dequeue(w,s)})}}});a.fn.extend({queue:function(s,c){if(typeof s!=="string"){c=s;s="fx"}if(c===bf){return a.queue(this[0],s)}return this.each(function(){var w=a.queue(this,s,c);s==="fx"&&w[0]!=="inprogress"&&a.dequeue(this,s)})},dequeue:function(c){return this.each(function(){a.dequeue(this,c)})},delay:function(s,c){s=a.fx?a.fx.speeds[s]||s:s;c=c||"fx";return this.queue(c,function(){var w=this;setTimeout(function(){a.dequeue(w,c)},s)})},clearQueue:function(c){return this.queue(c||"fx",[])}});var y=/[\n\t]/g,aq=/\s+/,b=/\r/g,aZ=/href|src|style/,bg=/(button|input)/i,be=/(button|input|object|select|textarea)/i,aB=/^(a|area)$/i,v=/radio|checkbox/;a.fn.extend({attr:function(s,c){return aD(this,s,c,true,a.attr)},removeAttr:function(c){return this.each(function(){a.attr(this,c,"");this.nodeType===1&&this.removeAttribute(c)})},addClass:function(s){if(a.isFunction(s)){return this.each(function(N){var O=a(this);O.addClass(s.call(this,N,O.attr("class")))})}if(s&&typeof s==="string"){for(var c=(s||"").split(aq),A=0,w=this.length;A<w;A++){var F=this[A];if(F.nodeType===1){if(F.className){for(var G=" "+F.className+" ",K=F.className,L=0,J=c.length;L<J;L++){if(G.indexOf(" "+c[L]+" ")<0){K+=" "+c[L]}}F.className=a.trim(K)}else{F.className=s}}}}return this},removeClass:function(s){if(a.isFunction(s)){return this.each(function(L){var N=a(this);N.removeClass(s.call(this,L,N.attr("class")))})}if(s&&typeof s==="string"||s===bf){for(var c=(s||"").split(aq),A=0,w=this.length;A<w;A++){var F=this[A];if(F.nodeType===1&&F.className){if(s){for(var G=(" "+F.className+" ").replace(y," "),J=0,K=c.length;J<K;J++){G=G.replace(" "+c[J]+" "," ")}F.className=a.trim(G)}else{F.className=""}}}}return this},toggleClass:function(w,s){var c=typeof w,A=typeof s==="boolean";if(a.isFunction(w)){return this.each(function(F){var G=a(this);G.toggleClass(w.call(this,F,G.attr("class"),s),s)})}return this.each(function(){if(c==="string"){for(var G,F=0,J=a(this),K=s,L=w.split(aq);G=L[F++];){K=A?K:!J.hasClass(G);J[K?"addClass":"removeClass"](G)}}else{if(c==="undefined"||c==="boolean"){this.className&&a.data(this,"__className__",this.className);this.className=this.className||w===false?"":a.data(this,"__className__")||""}}})},hasClass:function(w){w=" "+w+" ";for(var s=0,c=this.length;s<c;s++){if((" "+this[s].className+" ").replace(y," ").indexOf(w)>-1){return true}}return false},val:function(s){if(s===bf){var c=this[0];if(c){if(a.nodeName(c,"option")){return(c.attributes.value||{}).specified?c.value:c.text}if(a.nodeName(c,"select")){var A=c.selectedIndex,w=[],F=c.options;c=c.type==="select-one";if(A<0){return null}var G=c?A:0;for(A=c?A+1:F.length;G<A;G++){var J=F[G];if(J.selected){s=a(J).val();if(c){return s}w.push(s)}}return w}if(v.test(c.type)&&!a.support.checkOn){return c.getAttribute("value")===null?"on":c.value}return(c.value||"").replace(b,"")}return bf}var K=a.isFunction(s);return this.each(function(L){var O=a(this),P=s;if(this.nodeType===1){if(K){P=s.call(this,L,O.val())}if(typeof P==="number"){P+=""}if(a.isArray(P)&&v.test(this.type)){this.checked=a.inArray(O.val(),P)>=0}else{if(a.nodeName(this,"select")){var N=a.makeArray(P);a("option",this).each(function(){this.selected=a.inArray(a(this).val(),N)>=0});if(!N.length){this.selectedIndex=-1}}else{this.value=P}}}})}});a.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(s,c,A,w){if(!s||s.nodeType===3||s.nodeType===8){return bf}if(w&&c in a.attrFn){return a(s)[c](A)}w=s.nodeType!==1||!a.isXMLDoc(s);var F=A!==bf;c=w&&a.props[c]||c;if(s.nodeType===1){var G=aZ.test(c);if(c in s&&w&&!G){if(F){c==="type"&&bg.test(s.nodeName)&&s.parentNode&&a.error("type property can't be changed");s[c]=A}if(a.nodeName(s,"form")&&s.getAttributeNode(c)){return s.getAttributeNode(c).nodeValue}if(c==="tabIndex"){return(c=s.getAttributeNode("tabIndex"))&&c.specified?c.value:be.test(s.nodeName)||aB.test(s.nodeName)&&s.href?0:bf}return s[c]}if(!a.support.style&&w&&c==="style"){if(F){s.style.cssText=""+A}return s.style.cssText}F&&s.setAttribute(c,""+A);s=!a.support.hrefNormalized&&w&&G?s.getAttribute(c,2):s.getAttribute(c);return s===null?bf:s}return a.style(s,c,A)}});var aS=/\.(.*)$/,bj=function(c){return c.replace(/[^\w\s\.\|`]/g,function(s){return"\\"+s})};a.event={add:function(c,Q,w,s){if(!(c.nodeType===3||c.nodeType===8)){if(c.setInterval&&c!==aV&&!c.frameElement){c=aV}var A,K;if(w.handler){A=w;w=A.handler}if(!w.guid){w.guid=a.guid++}if(K=a.data(c)){var N=K.events=K.events||{},P=K.handle;if(!P){K.handle=P=function(){return typeof a!=="undefined"&&!a.event.triggered?a.event.handle.apply(P.elem,arguments):bf}}P.elem=c;Q=Q.split(" ");for(var L,O=0,G;L=Q[O++];){K=A?a.extend({},A):{handler:w,data:s};if(L.indexOf(".")>-1){G=L.split(".");L=G.shift();K.namespace=G.slice(0).sort().join(".")}else{G=[];K.namespace=""}K.type=L;K.guid=w.guid;var J=N[L],F=a.event.special[L]||{};if(!J){J=N[L]=[];if(!F.setup||F.setup.call(c,s,G,P)===false){if(c.addEventListener){c.addEventListener(L,P,false)}else{c.attachEvent&&c.attachEvent("on"+L,P)}}}if(F.add){F.add.call(c,K);if(!K.handler.guid){K.handler.guid=w.guid}}J.push(K);a.event.global[L]=true}c=null}}},global:{},remove:function(c,T,A,s){if(!(c.nodeType===3||c.nodeType===8)){var F,L=0,O,Q,N,P,J,K,G=a.data(c),R=G&&G.events;if(G&&R){if(T&&T.type){A=T.handler;T=T.type}if(!T||typeof T==="string"&&T.charAt(0)==="."){T=T||"";for(F in R){a.event.remove(c,F+T)}}else{for(T=T.split(" ");F=T[L++];){P=F;O=F.indexOf(".")<0;Q=[];if(!O){Q=F.split(".");F=Q.shift();N=new RegExp("(^|\\.)"+a.map(Q.slice(0).sort(),bj).join("\\.(?:.*\\.)?")+"(\\.|$)")}if(J=R[F]){if(A){P=a.event.special[F]||{};for(w=s||0;w<J.length;w++){K=J[w];if(A.guid===K.guid){if(O||N.test(K.namespace)){s==null&&J.splice(w--,1);P.remove&&P.remove.call(c,K)}if(s!=null){break}}}if(J.length===0||s!=null&&J.length===1){if(!P.teardown||P.teardown.call(c,Q)===false){x(c,F,G.handle)}delete R[F]}}else{for(var w=0;w<J.length;w++){K=J[w];if(O||N.test(K.namespace)){a.event.remove(c,P,K.handler,w);J.splice(w--,1)}}}}}if(a.isEmptyObject(R)){if(T=G.handle){T.elem=null}delete G.events;delete G.handle;a.isEmptyObject(G)&&a.removeData(c)}}}}},trigger:function(s,c,A,w){var F=s.type||s;if(!w){s=typeof s==="object"?s[aX]?s:a.extend(a.Event(F),s):a.Event(F);if(F.indexOf("!")>=0){s.type=F=F.slice(0,-1);s.exclusive=true}if(!A){s.stopPropagation();a.event.global[F]&&a.each(a.cache,function(){this.events&&this.events[F]&&a.event.trigger(s,c,this.handle.elem)})}if(!A||A.nodeType===3||A.nodeType===8){return bf}s.result=bf;s.target=A;c=a.makeArray(c);c.unshift(s)}s.currentTarget=A;(w=a.data(A,"handle"))&&w.apply(A,c);w=A.parentNode||A.ownerDocument;try{if(!(A&&A.nodeName&&a.noData[A.nodeName.toLowerCase()])){if(A["on"+F]&&A["on"+F].apply(A,c)===false){s.result=false}}}catch(G){}if(!s.isPropagationStopped()&&w){a.event.trigger(s,c,w,true)}else{if(!s.isDefaultPrevented()){w=s.target;var K,N=a.nodeName(w,"a")&&F==="click",J=a.event.special[F]||{};if((!J._default||J._default.call(A,s)===false)&&!N&&!(w&&w.nodeName&&a.noData[w.nodeName.toLowerCase()])){try{if(w[F]){if(K=w["on"+F]){w["on"+F]=null}a.event.triggered=true;w[F]()}}catch(L){}if(K){w["on"+F]=K}a.event.triggered=false}}}},handle:function(s){var c,A,w,F;s=arguments[0]=a.event.fix(s||aV.event);s.currentTarget=this;c=s.type.indexOf(".")<0&&!s.exclusive;if(!c){A=s.type.split(".");s.type=A.shift();w=new RegExp("(^|\\.)"+A.slice(0).sort().join("\\.(?:.*\\.)?")+"(\\.|$)")}F=a.data(this,"events");A=F[s.type];if(F&&A){A=A.slice(0);F=0;for(var G=A.length;F<G;F++){var J=A[F];if(c||w.test(J.namespace)){s.handler=J.handler;s.data=J.data;s.handleObj=J;J=J.handler.apply(this,arguments);if(J!==bf){s.result=J;if(J===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(w){if(w[aX]){return w}var s=w;w=a.Event(s);for(var c=this.props.length,A;c;){A=this.props[--c];w[A]=s[A]}if(!w.target){w.target=w.srcElement||a9}if(w.target.nodeType===3){w.target=w.target.parentNode}if(!w.relatedTarget&&w.fromElement){w.relatedTarget=w.fromElement===w.target?w.toElement:w.fromElement}if(w.pageX==null&&w.clientX!=null){s=a9.documentElement;c=a9.body;w.pageX=w.clientX+(s&&s.scrollLeft||c&&c.scrollLeft||0)-(s&&s.clientLeft||c&&c.clientLeft||0);w.pageY=w.clientY+(s&&s.scrollTop||c&&c.scrollTop||0)-(s&&s.clientTop||c&&c.clientTop||0)}if(!w.which&&(w.charCode||w.charCode===0?w.charCode:w.keyCode)){w.which=w.charCode||w.keyCode}if(!w.metaKey&&w.ctrlKey){w.metaKey=w.ctrlKey}if(!w.which&&w.button!==bf){w.which=w.button&1?1:w.button&2?3:w.button&4?2:0}return w},guid:100000000,proxy:a.proxy,special:{ready:{setup:a.bindReady,teardown:a.noop},live:{add:function(c){a.event.add(this,c.origType,a.extend({},c,{handler:am}))},remove:function(w){var s=true,c=w.origType.replace(aS,"");a.each(a.data(this,"events").live||[],function(){if(c===this.origType.replace(aS,"")){return s=false}});s&&a.event.remove(this,w.origType,am)}},beforeunload:{setup:function(w,s,c){if(this.setInterval){this.onbeforeunload=c}return false},teardown:function(s,c){if(this.onbeforeunload===c){this.onbeforeunload=null}}}}};var x=a9.removeEventListener?function(w,s,c){w.removeEventListener(s,c,false)}:function(w,s,c){w.detachEvent("on"+s,c)};a.Event=function(c){if(!this.preventDefault){return new a.Event(c)}if(c&&c.type){this.originalEvent=c;this.type=c.type}else{this.type=c}this.timeStamp=aP();this[aX]=true};a.Event.prototype={preventDefault:function(){this.isDefaultPrevented=aC;var c=this.originalEvent;if(c){c.preventDefault&&c.preventDefault();c.returnValue=false}},stopPropagation:function(){this.isPropagationStopped=aC;var c=this.originalEvent;if(c){c.stopPropagation&&c.stopPropagation();c.cancelBubble=true}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=aC;this.stopPropagation()},isDefaultPrevented:aE,isPropagationStopped:aE,isImmediatePropagationStopped:aE};var C=function(w){var s=w.relatedTarget;try{for(;s&&s!==this;){s=s.parentNode}if(s!==this){w.type=w.data;a.event.handle.apply(this,arguments)}}catch(c){}},D=function(c){c.type=c.data;a.event.handle.apply(this,arguments)};a.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(s,c){a.event.special[s]={setup:function(w){a.event.add(this,c,w&&w.selector?D:C,s)},teardown:function(w){a.event.remove(this,c,w&&w.selector?D:C)}}});if(!a.support.submitBubbles){a.event.special.submit={setup:function(){if(this.nodeName.toLowerCase()!=="form"){a.event.add(this,"click.specialSubmit",function(w){var s=w.target,c=s.type;if((c==="submit"||c==="image")&&a(s).closest("form").length){return al("submit",this,arguments)}});a.event.add(this,"keypress.specialSubmit",function(w){var s=w.target,c=s.type;if((c==="text"||c==="password")&&a(s).closest("form").length&&w.keyCode===13){return al("submit",this,arguments)}})}else{return false}},teardown:function(){a.event.remove(this,".specialSubmit")}}}if(!a.support.changeBubbles){var av=/textarea|input|select/i,aw,z=function(w){var s=w.type,c=w.value;if(s==="radio"||s==="checkbox"){c=w.checked}else{if(s==="select-multiple"){c=w.selectedIndex>-1?a.map(w.options,function(A){return A.selected}).join("-"):""}else{if(w.nodeName.toLowerCase()==="select"){c=w.selectedIndex}}}return c},au=function(w,s){var c=w.target,A,F;if(!(!av.test(c.nodeName)||c.readOnly)){A=a.data(c,"_change_data");F=z(c);if(w.type!=="focusout"||c.type!=="radio"){a.data(c,"_change_data",F)}if(!(A===bf||F===A)){if(A!=null||F){w.type="change";return a.event.trigger(w,s,c)}}}};a.event.special.change={filters:{focusout:au,click:function(w){var s=w.target,c=s.type;if(c==="radio"||c==="checkbox"||s.nodeName.toLowerCase()==="select"){return au.call(this,w)}},keydown:function(w){var s=w.target,c=s.type;if(w.keyCode===13&&s.nodeName.toLowerCase()!=="textarea"||w.keyCode===32&&(c==="checkbox"||c==="radio")||c==="select-multiple"){return au.call(this,w)}},beforeactivate:function(c){c=c.target;a.data(c,"_change_data",z(c))}},setup:function(){if(this.type==="file"){return false}for(var c in aw){a.event.add(this,c+".specialChange",aw[c])}return av.test(this.nodeName)},teardown:function(){a.event.remove(this,".specialChange");return av.test(this.nodeName)}};aw=a.event.special.change.filters}a9.addEventListener&&a.each({focus:"focusin",blur:"focusout"},function(w,s){function c(A){A=a.event.fix(A);A.type=s;return a.event.handle.call(this,A)}a.event.special[s]={setup:function(){this.addEventListener(w,c,true)},teardown:function(){this.removeEventListener(w,c,true)}}});a.each(["bind","one"],function(s,c){a.fn[c]=function(A,w,F){if(typeof A==="object"){for(var G in A){this[c](G,w,A[G],F)}return this}if(a.isFunction(w)){F=w;w=bf}var J=c==="one"?a.proxy(F,function(L){a(this).unbind(L,J);return F.apply(this,arguments)}):F;if(A==="unload"&&c!=="one"){this.one(A,w,F)}else{G=0;for(var K=this.length;G<K;G++){a.event.add(this[G],A,J,w)}}return this}});a.fn.extend({unbind:function(w,s){if(typeof w==="object"&&!w.preventDefault){for(var c in w){this.unbind(c,w[c])}}else{c=0;for(var A=this.length;c<A;c++){a.event.remove(this[c],w,s)}}return this},delegate:function(w,s,c,A){return this.live(s,c,A,w)},undelegate:function(w,s,c){return arguments.length===0?this.unbind("live"):this.die(s,null,c,w)},trigger:function(s,c){return this.each(function(){a.event.trigger(s,c,this)})},triggerHandler:function(s,c){if(this[0]){s=a.Event(s);s.preventDefault();s.stopPropagation();a.event.trigger(s,c,this[0]);return s.result}},toggle:function(w){for(var s=arguments,c=1;c<s.length;){a.proxy(w,s[c++])}return this.click(a.proxy(w,function(A){var F=(a.data(this,"lastToggle"+w.guid)||0)%c;a.data(this,"lastToggle"+w.guid,F+1);A.preventDefault();return s[F].apply(this,arguments)||false}))},hover:function(s,c){return this.mouseenter(s).mouseleave(c||s)}});var B={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};a.each(["live","die"],function(s,c){a.fn[c]=function(F,A,G,K){var N,P=0,L,O,w=K||this.selector,J=K?this:a(this.context);if(a.isFunction(A)){G=A;A=bf}for(F=(F||"").split(" ");(N=F[P++])!=null;){K=aS.exec(N);L="";if(K){L=K[0];N=N.replace(aS,"")}if(N==="hover"){F.push("mouseenter"+L,"mouseleave"+L)}else{O=N;if(N==="focus"||N==="blur"){F.push(B[N]+L);N+=L}else{N=(B[N]||N)+L}c==="live"?J.each(function(){a.event.add(this,U(N,w),{data:A,selector:w,handler:G,origType:N,origHandler:G,preType:O})}):J.unbind(U(N,w),G)}}return this}});a.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){a.fn[c]=function(w){return w?this.bind(c,w):this.trigger(c)};if(a.attrFn){a.attrFn[c]=true}});aV.attachEvent&&!aV.addEventListener&&aV.attachEvent("onunload",function(){for(var s in a.cache){if(a.cache[s].handle){try{a.event.remove(a.cache[s].handle.elem)}catch(c){}}}});(function(){function c(ab){for(var Z="",aa,Y=0;ab[Y];Y++){aa=ab[Y];if(aa.nodeType===3||aa.nodeType===4){Z+=aa.nodeValue}else{if(aa.nodeType!==8){Z+=c(aa.childNodes)}}}return Z}function X(aa,bb,bm,bn,Z,Y){Z=0;for(var ab=bn.length;Z<ab;Z++){var ba=bn[Z];if(ba){ba=ba[aa];for(var bl=false;ba;){if(ba.sizcache===bm){bl=bn[ba.sizset];break}if(ba.nodeType===1&&!Y){ba.sizcache=bm;ba.sizset=Z}if(ba.nodeName.toLowerCase()===bb){bl=ba;break}ba=ba[aa]}bn[Z]=bl}}}function A(aa,bb,bm,bn,Z,Y){Z=0;for(var ab=bn.length;Z<ab;Z++){var ba=bn[Z];if(ba){ba=ba[aa];for(var bl=false;ba;){if(ba.sizcache===bm){bl=bn[ba.sizset];break}if(ba.nodeType===1){if(!Y){ba.sizcache=bm;ba.sizset=Z}if(typeof bb!=="string"){if(ba===bb){bl=true;break}}else{if(P.filter(bb,[ba]).length>0){bl=ba;break}}}ba=ba[aa]}bn[Z]=bl}}}var s=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,F=0,O=Object.prototype.toString,R=false,V=true;[0,0].sort(function(){V=false;return 0});var P=function(Z,bp,bq,br){bq=bq||[];var bm=bp=bp||a9;if(bp.nodeType!==1&&bp.nodeType!==9){return[]}if(!Z||typeof Z!=="string"){return bq}for(var bl=[],bn,bb,ab,ba,bo=true,Y=K(bp),bs=Z;(s.exec(""),bn=s.exec(bs))!==null;){bs=bn[3];bl.push(bn[1]);if(bn[2]){ba=bn[3];break}}if(bl.length>1&&L.exec(Z)){if(bl.length===2&&T.relative[bl[0]]){bb=Q(bl[0]+bl[1],bp)}else{for(bb=T.relative[bl[0]]?[bp]:P(bl.shift(),bp);bl.length;){Z=bl.shift();if(T.relative[Z]){Z+=bl.shift()}bb=Q(Z,bb)}}}else{if(!br&&bl.length>1&&bp.nodeType===9&&!Y&&T.match.ID.test(bl[0])&&!T.match.ID.test(bl[bl.length-1])){bn=P.find(bl.shift(),bp,Y);bp=bn.expr?P.filter(bn.expr,bn.set)[0]:bn.set[0]}if(bp){bn=br?{expr:bl.pop(),set:J(br)}:P.find(bl.pop(),bl.length===1&&(bl[0]==="~"||bl[0]==="+")&&bp.parentNode?bp.parentNode:bp,Y);bb=bn.expr?P.filter(bn.expr,bn.set):bn.set;if(bl.length>0){ab=J(bb)}else{bo=false}for(;bl.length;){var aa=bl.pop();bn=aa;if(T.relative[aa]){bn=bl.pop()}else{aa=""}if(bn==null){bn=bp}T.relative[aa](ab,bn,Y)}}else{ab=[]}}ab||(ab=bb);ab||P.error(aa||Z);if(O.call(ab)==="[object Array]"){if(bo){if(bp&&bp.nodeType===1){for(Z=0;ab[Z]!=null;Z++){if(ab[Z]&&(ab[Z]===true||ab[Z].nodeType===1&&G(bp,ab[Z]))){bq.push(bb[Z])}}}else{for(Z=0;ab[Z]!=null;Z++){ab[Z]&&ab[Z].nodeType===1&&bq.push(bb[Z])}}}else{bq.push.apply(bq,ab)}}else{J(ab,bq)}if(ba){P(ba,bm,bq,br);P.uniqueSort(bq)}return bq};P.uniqueSort=function(Y){if(w){R=V;Y.sort(w);if(R){for(var Z=1;Z<Y.length;Z++){Y[Z]===Y[Z-1]&&Y.splice(Z--,1)}}}return Y};P.matches=function(Y,Z){return P(Y,null,null,Z)};P.find=function(aa,bb,bm){var bn,Z;if(!aa){return[]}for(var Y=0,ab=T.order.length;Y<ab;Y++){var ba=T.order[Y];if(Z=T.leftMatch[ba].exec(aa)){var bl=Z[1];Z.splice(1,1);if(bl.substr(bl.length-1)!=="\\"){Z[1]=(Z[1]||"").replace(/\\/g,"");bn=T.find[ba](Z,bb,bm);if(bn!=null){aa=aa.replace(T.match[ba],"");break}}}}bn||(bn=bb.getElementsByTagName("*"));return{set:bn,expr:aa}};P.filter=function(Z,bp,bs,bt){for(var bm=Z,bl=[],bn=bp,bb,ab,ba=bp&&bp[0]&&K(bp[0]);Z&&bp.length;){for(var bo in T.filter){if((bb=T.leftMatch[bo].exec(Z))!=null&&bb[2]){var Y=T.filter[bo],bu,aa;aa=bb[1];ab=false;bb.splice(1,1);if(aa.substr(aa.length-1)!=="\\"){if(bn===bl){bl=[]}if(T.preFilter[bo]){if(bb=T.preFilter[bo](bb,bn,bs,bl,bt,ba)){if(bb===true){continue}}else{ab=bu=true}}if(bb){for(var bq=0;(aa=bn[bq])!=null;bq++){if(aa){bu=Y(aa,bb,bq,bn);var br=bt^!!bu;if(bs&&bu!=null){if(br){ab=true}else{bn[bq]=false}}else{if(br){bl.push(aa);ab=true}}}}}if(bu!==bf){bs||(bn=bl);Z=Z.replace(T.match[bo],"");if(!ab){return[]}break}}}}if(Z===bm){if(ab==null){P.error(Z)}else{break}}bm=Z}return bn};P.error=function(Y){throw"Syntax error, unrecognized expression: "+Y};var T=P.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(Y){return Y.getAttribute("href")}},relative:{"+":function(aa,ab){var ba=typeof ab==="string",bb=ba&&!/\W/.test(ab);ba=ba&&!bb;if(bb){ab=ab.toLowerCase()}bb=0;for(var Z=aa.length,Y;bb<Z;bb++){if(Y=aa[bb]){for(;(Y=Y.previousSibling)&&Y.nodeType!==1;){}aa[bb]=ba||Y&&Y.nodeName.toLowerCase()===ab?Y||false:Y===ab}}ba&&P.filter(ab,aa,true)},">":function(aa,ab){var ba=typeof ab==="string";if(ba&&!/\W/.test(ab)){ab=ab.toLowerCase();for(var bb=0,Z=aa.length;bb<Z;bb++){var Y=aa[bb];if(Y){ba=Y.parentNode;aa[bb]=ba.nodeName.toLowerCase()===ab?ba:false}}}else{bb=0;for(Z=aa.length;bb<Z;bb++){if(Y=aa[bb]){aa[bb]=ba?Y.parentNode:Y.parentNode===ab}}ba&&P.filter(ab,aa,true)}},"":function(aa,ab,ba){var bb=F++,Z=A;if(typeof ab==="string"&&!/\W/.test(ab)){var Y=ab=ab.toLowerCase();Z=X}Z("parentNode",ab,bb,aa,Y,ba)},"~":function(aa,ab,ba){var bb=F++,Z=A;if(typeof ab==="string"&&!/\W/.test(ab)){var Y=ab=ab.toLowerCase();Z=X}Z("previousSibling",ab,bb,aa,Y,ba)}},find:{ID:function(aa,Y,Z){if(typeof Y.getElementById!=="undefined"&&!Z){return(aa=Y.getElementById(aa[1]))?[aa]:[]}},NAME:function(ba,Z){if(typeof Z.getElementsByName!=="undefined"){var aa=[];Z=Z.getElementsByName(ba[1]);for(var Y=0,ab=Z.length;Y<ab;Y++){Z[Y].getAttribute("name")===ba[1]&&aa.push(Z[Y])}return aa.length===0?null:aa}},TAG:function(Y,Z){return Z.getElementsByTagName(Y[1])}},preFilter:{CLASS:function(aa,ba,bb,bl,Z,Y){aa=" "+aa[1].replace(/\\/g,"")+" ";if(Y){return aa}Y=0;for(var ab;(ab=ba[Y])!=null;Y++){if(ab){if(Z^(ab.className&&(" "+ab.className+" ").replace(/[\t\n]/g," ").indexOf(aa)>=0)){bb||bl.push(ab)}else{if(bb){ba[Y]=false}}}}return false},ID:function(Y){return Y[1].replace(/\\/g,"")},TAG:function(Y){return Y[1].toLowerCase()},CHILD:function(Y){if(Y[1]==="nth"){var Z=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(Y[2]==="even"&&"2n"||Y[2]==="odd"&&"2n+1"||!/\D/.test(Y[2])&&"0n+"+Y[2]||Y[2]);Y[2]=Z[1]+(Z[2]||1)-0;Y[3]=Z[3]-0}Y[0]=F++;return Y},ATTR:function(aa,ab,ba,bb,Z,Y){ab=aa[1].replace(/\\/g,"");if(!Y&&T.attrMap[ab]){aa[1]=T.attrMap[ab]}if(aa[2]==="~="){aa[4]=" "+aa[4]+" "}return aa},PSEUDO:function(ba,Z,aa,Y,ab){if(ba[1]==="not"){if((s.exec(ba[3])||"").length>1||/^\w/.test(ba[3])){ba[3]=P(ba[3],null,null,Z)}else{ba=P.filter(ba[3],Z,aa,true^ab);aa||Y.push.apply(Y,ba);return false}}else{if(T.match.POS.test(ba[0])||T.match.CHILD.test(ba[0])){return true}}return ba},POS:function(Y){Y.unshift(true);return Y}},filters:{enabled:function(Y){return Y.disabled===false&&Y.type!=="hidden"},disabled:function(Y){return Y.disabled===true},checked:function(Y){return Y.checked===true},selected:function(Y){return Y.selected===true},parent:function(Y){return !!Y.firstChild},empty:function(Y){return !Y.firstChild},has:function(aa,Y,Z){return !!P(Z[3],aa).length},header:function(Y){return/h\d/i.test(Y.nodeName)},text:function(Y){return"text"===Y.type},radio:function(Y){return"radio"===Y.type},checkbox:function(Y){return"checkbox"===Y.type},file:function(Y){return"file"===Y.type},password:function(Y){return"password"===Y.type},submit:function(Y){return"submit"===Y.type},image:function(Y){return"image"===Y.type},reset:function(Y){return"reset"===Y.type},button:function(Y){return"button"===Y.type||Y.nodeName.toLowerCase()==="button"},input:function(Y){return/input|select|textarea|button/i.test(Y.nodeName)}},setFilters:{first:function(Y,Z){return Z===0},last:function(ab,Z,aa,Y){return Z===Y.length-1},even:function(Y,Z){return Z%2===0},odd:function(Y,Z){return Z%2===1},lt:function(aa,Y,Z){return Y<Z[3]-0},gt:function(aa,Y,Z){return Y>Z[3]-0},nth:function(aa,Y,Z){return Z[3]-0===Y},eq:function(aa,Y,Z){return Z[3]-0===Y}},filter:{PSEUDO:function(aa,ab,ba,bb){var Z=ab[1],Y=T.filters[Z];if(Y){return Y(aa,ba,ab,bb)}else{if(Z==="contains"){return(aa.textContent||aa.innerText||c([aa])||"").indexOf(ab[3])>=0}else{if(Z==="not"){ab=ab[3];ba=0;for(bb=ab.length;ba<bb;ba++){if(ab[ba]===aa){return false}}return true}else{P.error("Syntax error, unrecognized expression: "+Z)}}}},CHILD:function(aa,ba){var bb=ba[1],bl=aa;switch(bb){case"only":case"first":for(;bl=bl.previousSibling;){if(bl.nodeType===1){return false}}if(bb==="first"){return true}bl=aa;case"last":for(;bl=bl.nextSibling;){if(bl.nodeType===1){return false}}return true;case"nth":bb=ba[2];var Z=ba[3];if(bb===1&&Z===0){return true}ba=ba[0];var Y=aa.parentNode;if(Y&&(Y.sizcache!==ba||!aa.nodeIndex)){var ab=0;for(bl=Y.firstChild;bl;bl=bl.nextSibling){if(bl.nodeType===1){bl.nodeIndex=++ab}}Y.sizcache=ba}aa=aa.nodeIndex-Z;return bb===0?aa===0:aa%bb===0&&aa/bb>=0}},ID:function(Y,Z){return Y.nodeType===1&&Y.getAttribute("id")===Z},TAG:function(Y,Z){return Z==="*"&&Y.nodeType===1||Y.nodeName.toLowerCase()===Z},CLASS:function(Y,Z){return(" "+(Y.className||Y.getAttribute("class"))+" ").indexOf(Z)>-1},ATTR:function(ab,Z){var aa=Z[1];ab=T.attrHandle[aa]?T.attrHandle[aa](ab):ab[aa]!=null?ab[aa]:ab.getAttribute(aa);aa=ab+"";var Y=Z[2];Z=Z[4];return ab==null?Y==="!=":Y==="="?aa===Z:Y==="*="?aa.indexOf(Z)>=0:Y==="~="?(" "+aa+" ").indexOf(Z)>=0:!Z?aa&&ab!==false:Y==="!="?aa!==Z:Y==="^="?aa.indexOf(Z)===0:Y==="$="?aa.substr(aa.length-Z.length)===Z:Y==="|="?aa===Z||aa.substr(0,Z.length+1)===Z+"-":false},POS:function(ba,Z,aa,Y){var ab=T.setFilters[Z[2]];if(ab){return ab(ba,aa,Z,Y)}}}},L=T.match.POS;for(var N in T.match){T.match[N]=new RegExp(T.match[N].source+/(?![^\[]*\])(?![^\(]*\))/.source);T.leftMatch[N]=new RegExp(/(^(?:.|\r|\n)*?)/.source+T.match[N].source.replace(/\\(\d+)/g,function(Y,Z){return"\\"+(Z-0+1)}))}var J=function(Y,Z){Y=Array.prototype.slice.call(Y,0);if(Z){Z.push.apply(Z,Y);return Z}return Y};try{Array.prototype.slice.call(a9.documentElement.childNodes,0)}catch(W){J=function(ab,Z){Z=Z||[];if(O.call(ab)==="[object Array]"){Array.prototype.push.apply(Z,ab)}else{if(typeof ab.length==="number"){for(var aa=0,Y=ab.length;aa<Y;aa++){Z.push(ab[aa])}}else{for(aa=0;ab[aa];aa++){Z.push(ab[aa])}}}return Z}}var w;if(a9.documentElement.compareDocumentPosition){w=function(Y,Z){if(!Y.compareDocumentPosition||!Z.compareDocumentPosition){if(Y==Z){R=true}return Y.compareDocumentPosition?-1:1}Y=Y.compareDocumentPosition(Z)&4?-1:Y===Z?0:1;if(Y===0){R=true}return Y}}else{if("sourceIndex" in a9.documentElement){w=function(Y,Z){if(!Y.sourceIndex||!Z.sourceIndex){if(Y==Z){R=true}return Y.sourceIndex?-1:1}Y=Y.sourceIndex-Z.sourceIndex;if(Y===0){R=true}return Y}}else{if(a9.createRange){w=function(ab,Z){if(!ab.ownerDocument||!Z.ownerDocument){if(ab==Z){R=true}return ab.ownerDocument?-1:1}var aa=ab.ownerDocument.createRange(),Y=Z.ownerDocument.createRange();aa.setStart(ab,0);aa.setEnd(ab,0);Y.setStart(Z,0);Y.setEnd(Z,0);ab=aa.compareBoundaryPoints(Range.START_TO_END,Y);if(ab===0){R=true}return ab}}}}(function(){var aa=a9.createElement("div"),Y="script"+(new Date).getTime();aa.innerHTML="<a name='"+Y+"'/>";var Z=a9.documentElement;Z.insertBefore(aa,Z.firstChild);if(a9.getElementById(Y)){T.find.ID=function(ab,bb,ba){if(typeof bb.getElementById!=="undefined"&&!ba){return(bb=bb.getElementById(ab[1]))?bb.id===ab[1]||typeof bb.getAttributeNode!=="undefined"&&bb.getAttributeNode("id").nodeValue===ab[1]?[bb]:bf:[]}};T.filter.ID=function(ab,bb){var ba=typeof ab.getAttributeNode!=="undefined"&&ab.getAttributeNode("id");return ab.nodeType===1&&ba&&ba.nodeValue===bb}}Z.removeChild(aa);Z=aa=null})();(function(){var Y=a9.createElement("div");Y.appendChild(a9.createComment(""));if(Y.getElementsByTagName("*").length>0){T.find.TAG=function(aa,ab){ab=ab.getElementsByTagName(aa[1]);if(aa[1]==="*"){aa=[];for(var Z=0;ab[Z];Z++){ab[Z].nodeType===1&&aa.push(ab[Z])}ab=aa}return ab}}Y.innerHTML="<a href='#'></a>";if(Y.firstChild&&typeof Y.firstChild.getAttribute!=="undefined"&&Y.firstChild.getAttribute("href")!=="#"){T.attrHandle.href=function(Z){return Z.getAttribute("href",2)}}Y=null})();a9.querySelectorAll&&function(){var aa=P,Y=a9.createElement("div");Y.innerHTML="<p class='TEST'></p>";if(!(Y.querySelectorAll&&Y.querySelectorAll(".TEST").length===0)){P=function(ab,bb,ba,bl){bb=bb||a9;if(!bl&&bb.nodeType===9&&!K(bb)){try{return J(bb.querySelectorAll(ab),ba)}catch(bm){}}return aa(ab,bb,ba,bl)};for(var Z in aa){P[Z]=aa[Z]}Y=null}}();(function(){var Y=a9.createElement("div");Y.innerHTML="<div class='test e'></div><div class='test'></div>";if(!(!Y.getElementsByClassName||Y.getElementsByClassName("e").length===0)){Y.lastChild.className="e";if(Y.getElementsByClassName("e").length!==1){T.order.splice(1,0,"CLASS");T.find.CLASS=function(aa,ab,Z){if(typeof ab.getElementsByClassName!=="undefined"&&!Z){return ab.getElementsByClassName(aa[1])}};Y=null}}})();var G=a9.compareDocumentPosition?function(Y,Z){return !!(Y.compareDocumentPosition(Z)&16)}:function(Y,Z){return Y!==Z&&(Y.contains?Y.contains(Z):true)},K=function(Y){return(Y=(Y?Y.ownerDocument||Y:0).documentElement)?Y.nodeName!=="HTML":false},Q=function(aa,ab){var ba=[],bb="",Z;for(ab=ab.nodeType?[ab]:ab;Z=T.match.PSEUDO.exec(aa);){bb+=Z[0];aa=aa.replace(T.match.PSEUDO,"")}aa=T.relative[aa]?aa+"*":aa;Z=0;for(var Y=ab.length;Z<Y;Z++){P(aa,ab[Z],ba)}return P.filter(bb,ba)};a.find=P;a.expr=P.selectors;a.expr[":"]=a.expr.filters;a.unique=P.uniqueSort;a.text=c;a.isXMLDoc=K;a.contains=G})();var bk=/Until$/,bh=/^(?:parents|prevUntil|prevAll)/,bi=/,/;aI=Array.prototype.slice;var p=function(w,s,c){if(a.isFunction(s)){return a.grep(w,function(F,G){return !!s.call(F,G,F)===c})}else{if(s.nodeType){return a.grep(w,function(F){return F===s===c})}else{if(typeof s==="string"){var A=a.grep(w,function(F){return F.nodeType===1});if(m.test(s)){return a.filter(s,A,!c)}else{s=a.filter(s,A)}}}}return a.grep(w,function(F){return a.inArray(F,s)>=0===c})};a.fn.extend({find:function(s){for(var c=this.pushStack("","find",s),A=0,w=0,F=this.length;w<F;w++){A=c.length;a.find(s,this[w],c);if(w>0){for(var G=A;G<c.length;G++){for(var J=0;J<A;J++){if(c[J]===c[G]){c.splice(G--,1);break}}}}}return c},has:function(s){var c=a(s);return this.filter(function(){for(var A=0,w=c.length;A<w;A++){if(a.contains(this,c[A])){return true}}})},not:function(c){return this.pushStack(p(this,c,false),"not",c)},filter:function(c){return this.pushStack(p(this,c,true),"filter",c)},is:function(c){return !!c&&a.filter(c,this).length>0},closest:function(s,c){if(a.isArray(s)){var A=[],w=this[0],F,G={},K;if(w&&s.length){F=0;for(var L=s.length;F<L;F++){K=s[F];G[K]||(G[K]=a.expr.match.POS.test(K)?a(K,c||this.context):K)}for(;w&&w.ownerDocument&&w!==c;){for(K in G){F=G[K];if(F.jquery?F.index(w)>-1:a(w).is(F)){A.push({selector:K,elem:w});delete G[K]}}w=w.parentNode}}return A}var J=a.expr.match.POS.test(s)?a(s,c||this.context):null;return this.map(function(N,O){for(;O&&O.ownerDocument&&O!==c;){if(J?J.index(O)>-1:a(O).is(s)){return O}O=O.parentNode}return null})},index:function(c){if(!c||typeof c==="string"){return a.inArray(this[0],c?a(c):this.parent().children())}return a.inArray(c.jquery?c[0]:c,this)},add:function(s,c){s=typeof s==="string"?a(s,c||this.context):a.makeArray(s);c=a.merge(this.get(),s);return this.pushStack(ac(s[0])||ac(c[0])?c:a.unique(c))},andSelf:function(){return this.add(this.prevObject)}});a.each({parent:function(c){return(c=c.parentNode)&&c.nodeType!==11?c:null},parents:function(c){return a.dir(c,"parentNode")},parentsUntil:function(w,s,c){return a.dir(w,"parentNode",c)},next:function(c){return a.nth(c,2,"nextSibling")},prev:function(c){return a.nth(c,2,"previousSibling")},nextAll:function(c){return a.dir(c,"nextSibling")},prevAll:function(c){return a.dir(c,"previousSibling")},nextUntil:function(w,s,c){return a.dir(w,"nextSibling",c)},prevUntil:function(w,s,c){return a.dir(w,"previousSibling",c)},siblings:function(c){return a.sibling(c.parentNode.firstChild,c)},children:function(c){return a.sibling(c.firstChild)},contents:function(c){return a.nodeName(c,"iframe")?c.contentDocument||c.contentWindow.document:a.makeArray(c.childNodes)}},function(s,c){a.fn[s]=function(w,F){var A=a.map(this,c,w);bk.test(s)||(F=w);if(F&&typeof F==="string"){A=a.filter(F,A)}A=this.length>1?a.unique(A):A;if((this.length>1||bi.test(F))&&bh.test(s)){A=A.reverse()}return this.pushStack(A,s,aI.call(arguments).join(","))}});a.extend({filter:function(w,s,c){if(c){w=":not("+w+")"}return a.find.matches(w,s)},dir:function(w,s,c){var A=[];for(w=w[s];w&&w.nodeType!==9&&(c===bf||w.nodeType!==1||!a(w).is(c));){w.nodeType===1&&A.push(w);w=w[s]}return A},nth:function(w,s,c){s=s||1;for(var A=0;w;w=w[c]){if(w.nodeType===1&&++A===s){break}}return w},sibling:function(w,s){for(var c=[];w;w=w.nextSibling){w.nodeType===1&&w!==s&&c.push(w)}return c}});var n=/ jQuery\d+="(?:\d+|null)"/g,aL=/^\s+/,o=/(<([\w:]+)[^>]*?)\/>/g,a6=/^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i,t=/<([\w:]+)/,a7=/<tbody/i,a4=/<|&#?\w+;/,af=/<script|<object|<embed|<option|<style/i,ag=/checked\s*(?:[^=]|=\s*.checked.)/i,u=function(w,s,c){return a6.test(c)?w:s+"></"+c+">"},aW={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,"",""]};aW.optgroup=aW.option;aW.tbody=aW.tfoot=aW.colgroup=aW.caption=aW.thead;aW.th=aW.td;if(!a.support.htmlSerialize){aW._default=[1,"div<div>","</div>"]}a.fn.extend({text:function(c){if(a.isFunction(c)){return this.each(function(w){var s=a(this);s.text(c.call(this,w,s.text()))})}if(typeof c!=="object"&&c!==bf){return this.empty().append((this[0]&&this[0].ownerDocument||a9).createTextNode(c))}return a.text(this)},wrapAll:function(s){if(a.isFunction(s)){return this.each(function(w){a(this).wrapAll(s.call(this,w))})}if(this[0]){var c=a(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){if(a.isFunction(c)){return this.each(function(s){a(this).wrapInner(c.call(this,s))})}return this.each(function(){var w=a(this),s=w.contents();s.length?s.wrapAll(c):w.append(c)})},wrap:function(c){return this.each(function(){a(this).wrapAll(c)})},unwrap:function(){return this.parent().each(function(){a.nodeName(this,"body")||a(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=a(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,a(arguments[0]).toArray());return c}}},remove:function(w,s){for(var c=0,A;(A=this[c])!=null;c++){if(!w||a.filter(w,[A]).length){if(!s&&A.nodeType===1){a.cleanData(A.getElementsByTagName("*"));a.cleanData([A])}A.parentNode&&A.parentNode.removeChild(A)}}return this},empty:function(){for(var s=0,c;(c=this[s])!=null;s++){for(c.nodeType===1&&a.cleanData(c.getElementsByTagName("*"));c.firstChild;){c.removeChild(c.firstChild)}}return this},clone:function(s){var c=this.map(function(){if(!a.support.noCloneEvent&&!a.isXMLDoc(this)){var A=this.outerHTML,w=this.ownerDocument;if(!A){A=w.createElement("div");A.appendChild(this.cloneNode(true));A=A.innerHTML}return a.clean([A.replace(n,"").replace(/=([^="'>\s]+\/)>/g,'="$1">').replace(aL,"")],w)[0]}else{return this.cloneNode(true)}});if(s===true){M(this,c);M(this.find("*"),c.find("*"))}return c},html:function(w){if(w===bf){return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(n,""):null}else{if(typeof w==="string"&&!af.test(w)&&(a.support.leadingWhitespace||!aL.test(w))&&!aW[(t.exec(w)||["",""])[1].toLowerCase()]){w=w.replace(o,u);try{for(var s=0,c=this.length;s<c;s++){if(this[s].nodeType===1){a.cleanData(this[s].getElementsByTagName("*"));this[s].innerHTML=w}}}catch(A){this.empty().append(w)}}else{a.isFunction(w)?this.each(function(G){var F=a(this),J=F.html();F.empty().append(function(){return w.call(this,G,J)})}):this.empty().append(w)}}return this},replaceWith:function(c){if(this[0]&&this[0].parentNode){if(a.isFunction(c)){return this.each(function(w){var s=a(this),A=s.html();s.replaceWith(c.call(this,w,A))})}if(typeof c!=="string"){c=a(c).detach()}return this.each(function(){var w=this.nextSibling,s=this.parentNode;a(this).remove();w?a(w).before(c):a(s).append(c)})}else{return this.pushStack(a(a.isFunction(c)?c():c),"replaceWith",c)}},detach:function(c){return this.remove(c,true)},domManip:function(w,c,F){function A(P){return a.nodeName(P,"table")?P.getElementsByTagName("tbody")[0]||P.appendChild(P.ownerDocument.createElement("tbody")):P}var G,J,L=w[0],O=[],K;if(!a.support.checkClone&&arguments.length===3&&typeof L==="string"&&ag.test(L)){return this.each(function(){a(this).domManip(w,c,F,true)})}if(a.isFunction(L)){return this.each(function(Q){var P=a(this);w[0]=L.call(this,Q,c?P.html():bf);P.domManip(w,c,F)})}if(this[0]){G=L&&L.parentNode;G=a.support.parentNode&&G&&G.nodeType===11&&G.childNodes.length===this.length?{fragment:G}:S(w,this,O);K=G.fragment;if(J=K.childNodes.length===1?(K=K.firstChild):K.firstChild){c=c&&a.nodeName(J,"tr");for(var N=0,s=this.length;N<s;N++){F.call(c?A(this[N],J):this[N],N>0||G.cacheable||this.length>1?K.cloneNode(true):K)}}O.length&&a.each(O,i)}return this}});a.fragments={};a.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(s,c){a.fn[s]=function(w){var G=[];w=a(w);var A=this.length===1&&this[0].parentNode;if(A&&A.nodeType===11&&A.childNodes.length===1&&w.length===1){w[c](this[0]);return this}else{A=0;for(var F=w.length;A<F;A++){var J=(A>0?this.clone(true):this).get();a.fn[c].apply(a(w[A]),J);G=G.concat(J)}return this.pushStack(G,s,w.selector)}}});a.extend({clean:function(w,c,F,A){c=c||a9;if(typeof c.createElement==="undefined"){c=c.ownerDocument||c[0]&&c[0].ownerDocument||a9}for(var G=[],J=0,L;(L=w[J])!=null;J++){if(typeof L==="number"){L+=""}if(L){if(typeof L==="string"&&!a4.test(L)){L=c.createTextNode(L)}else{if(typeof L==="string"){L=L.replace(o,u);var O=(t.exec(L)||["",""])[1].toLowerCase(),K=aW[O]||aW._default,N=K[0],s=c.createElement("div");for(s.innerHTML=K[1]+L+K[2];N--;){s=s.lastChild}if(!a.support.tbody){N=a7.test(L);O=O==="table"&&!N?s.firstChild&&s.firstChild.childNodes:K[1]==="<table>"&&!N?s.childNodes:[];for(K=O.length-1;K>=0;--K){a.nodeName(O[K],"tbody")&&!O[K].childNodes.length&&O[K].parentNode.removeChild(O[K])}}!a.support.leadingWhitespace&&aL.test(L)&&s.insertBefore(c.createTextNode(aL.exec(L)[0]),s.firstChild);L=s.childNodes}}if(L.nodeType){G.push(L)}else{G=a.merge(G,L)}}}if(F){for(J=0;G[J];J++){if(A&&a.nodeName(G[J],"script")&&(!G[J].type||G[J].type.toLowerCase()==="text/javascript")){A.push(G[J].parentNode?G[J].parentNode.removeChild(G[J]):G[J])}else{G[J].nodeType===1&&G.splice.apply(G,[J+1,0].concat(a.makeArray(G[J].getElementsByTagName("script"))));F.appendChild(G[J])}}}return G},cleanData:function(s){for(var c,A,w=a.cache,F=a.event.special,G=a.support.deleteExpando,K=0,L;(L=s[K])!=null;K++){if(A=L[a.expando]){c=w[A];if(c.events){for(var J in c.events){F[J]?a.event.remove(L,J):x(L,J,c.handle)}}if(G){delete L[a.expando]}else{L.removeAttribute&&L.removeAttribute(a.expando)}delete w[A]}}}});var a5=/z-?index|font-?weight|opacity|zoom|line-?height/i,q=/alpha\([^)]*\)/,r=/opacity=([^)]*)/,aj=/float/i,ak=/-([a-z])/ig,bc=/([A-Z])/g,bd=/^-?\d+(?:px)?$/i,a8=/^-?\d/,az={position:"absolute",visibility:"hidden",display:"block"},aY=["Left","Right"],aH=["Top","Bottom"],aF=a9.defaultView&&a9.defaultView.getComputedStyle,h=a.support.cssFloat?"cssFloat":"styleFloat",ah=function(s,c){return c.toUpperCase()};a.fn.css=function(s,c){return aD(this,s,c,true,function(w,F,A){if(A===bf){return a.curCSS(w,F)}if(typeof A==="number"&&!a5.test(F)){A+="px"}a.style(w,F,A)})};a.extend({style:function(w,s,c){if(!w||w.nodeType===3||w.nodeType===8){return bf}if((s==="width"||s==="height")&&parseFloat(c)<0){c=bf}var A=w.style||w,F=c!==bf;if(!a.support.opacity&&s==="opacity"){if(F){A.zoom=1;s=parseInt(c,10)+""==="NaN"?"":"alpha(opacity="+c*100+")";w=A.filter||a.curCSS(w,"filter")||"";A.filter=q.test(w)?w.replace(q,s):s}return A.filter&&A.filter.indexOf("opacity=")>=0?parseFloat(r.exec(A.filter)[1])/100+"":""}if(aj.test(s)){s=h}s=s.replace(ak,ah);if(F){A[s]=c}return A[s]},css:function(s,c,A,w){if(c==="width"||c==="height"){var F,G=c==="width"?aY:aH;function J(){F=c==="width"?s.offsetWidth:s.offsetHeight;w!=="border"&&a.each(G,function(){w||(F-=parseFloat(a.curCSS(s,"padding"+this,true))||0);if(w==="margin"){F+=parseFloat(a.curCSS(s,"margin"+this,true))||0}else{F-=parseFloat(a.curCSS(s,"border"+this+"Width",true))||0}})}s.offsetWidth!==0?J():a.swap(s,az,J);return Math.max(0,Math.round(F))}return a.curCSS(s,c,A)},curCSS:function(s,c,A){var w,F=s.style;if(!a.support.opacity&&c==="opacity"&&s.currentStyle){w=r.test(s.currentStyle.filter||"")?parseFloat(RegExp.$1)/100+"":"";return w===""?"1":w}if(aj.test(c)){c=h}if(!A&&F&&F[c]){w=F[c]}else{if(aF){if(aj.test(c)){c="float"}c=c.replace(bc,"-$1").toLowerCase();F=s.ownerDocument.defaultView;if(!F){return null}if(s=F.getComputedStyle(s,null)){w=s.getPropertyValue(c)}if(c==="opacity"&&w===""){w="1"}}else{if(s.currentStyle){A=c.replace(ak,ah);w=s.currentStyle[c]||s.currentStyle[A];if(!bd.test(w)&&a8.test(w)){c=F.left;var G=s.runtimeStyle.left;s.runtimeStyle.left=s.currentStyle.left;F.left=A==="fontSize"?"1em":w||0;w=F.pixelLeft+"px";F.left=c;s.runtimeStyle.left=G}}}}return w},swap:function(w,s,c){var A={};for(var F in s){A[F]=w.style[F];w.style[F]=s[F]}c.call(w);for(F in s){w.style[F]=A[F]}}});if(a.expr&&a.expr.filters){a.expr.filters.hidden=function(w){var s=w.offsetWidth,c=w.offsetHeight,A=w.nodeName.toLowerCase()==="tr";return s===0&&c===0&&!A?true:s>0&&c>0&&!A?false:a.curCSS(w,"display")==="none"};a.expr.filters.visible=function(c){return !a.expr.filters.hidden(c)}}var aG=aP(),a2=/<script(.|\s)*?\/script>/gi,a3=/select|textarea/i,a0=/color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week/i,aR=/=\?(&|$)/,ai=/\?/,a1=/(\?|&)_=.*?(&|$)/,ax=/^(\w+:)?\/\/([^\/?#]+)/,aU=/%20/g,aA=a.fn.load;a.fn.extend({load:function(s,c,A){if(typeof s!=="string"){return aA.call(this,s)}else{if(!this.length){return this}}var w=s.indexOf(" ");if(w>=0){var F=s.slice(w,s.length);s=s.slice(0,w)}w="GET";if(c){if(a.isFunction(c)){A=c;c=null}else{if(typeof c==="object"){c=a.param(c,a.ajaxSettings.traditional);w="POST"}}}var G=this;a.ajax({url:s,type:w,dataType:"html",data:c,complete:function(J,K){if(K==="success"||K==="notmodified"){G.html(F?a("<div />").append(J.responseText.replace(a2,"")).find(F):J.responseText)}A&&G.each(A,[J.responseText,K,J])}});return this},serialize:function(){return a.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?a.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||a3.test(this.nodeName)||a0.test(this.type))}).map(function(s,c){s=a(this).val();return s==null?null:a.isArray(s)?a.map(s,function(w){return{name:c.name,value:w}}):{name:c.name,value:s}}).get()}});a.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(s,c){a.fn[c]=function(w){return this.bind(c,w)}});a.extend({get:function(w,s,c,A){if(a.isFunction(s)){A=A||c;c=s;s=null}return a.ajax({type:"GET",url:w,data:s,success:c,dataType:A})},getScript:function(s,c){return a.get(s,null,c,"script")},getJSON:function(w,s,c){return a.get(w,s,c,"json")},post:function(w,s,c,A){if(a.isFunction(s)){A=A||c;c=s;s={}}return a.ajax({type:"POST",url:w,data:s,success:c,dataType:A})},ajaxSetup:function(c){a.extend(a.ajaxSettings,c)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:aV.XMLHttpRequest&&(aV.location.protocol!=="file:"||!aV.ActiveXObject)?function(){return new aV.XMLHttpRequest}:function(){try{return new aV.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(c){function ab(){F.success&&F.success.call(T,Y,W,L);F.global&&s("ajaxSuccess",[L,F])}function A(){F.complete&&F.complete.call(T,L,W);F.global&&s("ajaxComplete",[L,F]);F.global&&!--a.active&&a.event.trigger("ajaxStop")}function s(bb,ba){(F.context?a(F.context):a.event).trigger(bb,ba)}var F=a.extend(true,{},a.ajaxSettings,c),R,W,Y,T=c&&c.context||F,X=F.type.toUpperCase();if(F.data&&F.processData&&typeof F.data!=="string"){F.data=a.param(F.data,F.traditional)}if(F.dataType==="jsonp"){if(X==="GET"){aR.test(F.url)||(F.url+=(ai.test(F.url)?"&":"?")+(F.jsonp||"callback")+"=?")}else{if(!F.data||!aR.test(F.data)){F.data=(F.data?F.data+"&":"")+(F.jsonp||"callback")+"=?"}}F.dataType="json"}if(F.dataType==="json"&&(F.data&&aR.test(F.data)||aR.test(F.url))){R=F.jsonpCallback||"jsonp"+aG++;if(F.data){F.data=(F.data+"").replace(aR,"="+R+"$1")}F.url=F.url.replace(aR,"="+R+"$1");F.dataType="script";aV[R]=aV[R]||function(bb){Y=bb;ab();A();aV[R]=bf;try{delete aV[R]}catch(ba){}J&&J.removeChild(Z)}}if(F.dataType==="script"&&F.cache===null){F.cache=false}if(F.cache===false&&X==="GET"){var N=aP(),Q=F.url.replace(a1,"$1_="+N+"$2");F.url=Q+(Q===F.url?(ai.test(F.url)?"&":"?")+"_="+N:"")}if(F.data&&X==="GET"){F.url+=(ai.test(F.url)?"&":"?")+F.data}F.global&&!a.active++&&a.event.trigger("ajaxStart");N=(N=ax.exec(F.url))&&(N[1]&&N[1]!==location.protocol||N[2]!==location.host);if(F.dataType==="script"&&X==="GET"&&N){var J=a9.getElementsByTagName("head")[0]||a9.documentElement,Z=a9.createElement("script");Z.src=F.url;if(F.scriptCharset){Z.charset=F.scriptCharset}if(!R){var w=false;Z.onload=Z.onreadystatechange=function(){if(!w&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){w=true;ab();A();Z.onload=Z.onreadystatechange=null;J&&Z.parentNode&&J.removeChild(Z)}}}J.insertBefore(Z,J.firstChild);return bf}var G=false,L=F.xhr();if(L){F.username?L.open(X,F.url,F.async,F.username,F.password):L.open(X,F.url,F.async);try{if(F.data||c&&c.contentType){L.setRequestHeader("Content-Type",F.contentType)}if(F.ifModified){a.lastModified[F.url]&&L.setRequestHeader("If-Modified-Since",a.lastModified[F.url]);a.etag[F.url]&&L.setRequestHeader("If-None-Match",a.etag[F.url])}N||L.setRequestHeader("X-Requested-With","XMLHttpRequest");L.setRequestHeader("Accept",F.dataType&&F.accepts[F.dataType]?F.accepts[F.dataType]+", */*":F.accepts._default)}catch(V){}if(F.beforeSend&&F.beforeSend.call(T,L,F)===false){F.global&&!--a.active&&a.event.trigger("ajaxStop");L.abort();return false}F.global&&s("ajaxSend",[L,F]);var K=L.onreadystatechange=function(bb){if(!L||L.readyState===0||bb==="abort"){G||A();G=true;if(L){L.onreadystatechange=a.noop}}else{if(!G&&L&&(L.readyState===4||bb==="timeout")){G=true;L.onreadystatechange=a.noop;W=bb==="timeout"?"timeout":!a.httpSuccess(L)?"error":F.ifModified&&a.httpNotModified(L,F.url)?"notmodified":"success";var ba;if(W==="success"){try{Y=a.httpData(L,F.dataType,F)}catch(bl){W="parsererror";ba=bl}}if(W==="success"||W==="notmodified"){R||ab()}else{a.handleError(F,L,W,ba)}A();bb==="timeout"&&L.abort();if(F.async){L=null}}}};try{var O=L.abort;L.abort=function(){L&&O.call(L);K("abort")}}catch(P){}F.async&&F.timeout>0&&setTimeout(function(){L&&!G&&K("timeout")},F.timeout);try{L.send(X==="POST"||X==="PUT"||X==="DELETE"?F.data:null)}catch(aa){a.handleError(F,L,null,aa);A()}F.async||K();return L}},handleError:function(w,s,c,A){if(w.error){w.error.call(w.context||w,s,c,A)}if(w.global){(w.context?a(w.context):a.event).trigger("ajaxError",[s,w,A])}},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(w,s){var c=w.getResponseHeader("Last-Modified"),A=w.getResponseHeader("Etag");if(c){a.lastModified[s]=c}if(A){a.etag[s]=A}return w.status===304||w.status===0},httpData:function(w,s,c){var A=w.getResponseHeader("content-type")||"",F=s==="xml"||!s&&A.indexOf("xml")>=0;w=F?w.responseXML:w.responseText;F&&w.documentElement.nodeName==="parsererror"&&a.error("parsererror");if(c&&c.dataFilter){w=c.dataFilter(w,s)}if(typeof w==="string"){if(s==="json"||!s&&A.indexOf("json")>=0){w=a.parseJSON(w)}else{if(s==="script"||!s&&A.indexOf("javascript")>=0){a.globalEval(w)}}}return w},param:function(s,c){function A(J,K){if(a.isArray(K)){a.each(K,function(L,N){c||/\[\]$/.test(J)?w(J,N):A(J+"["+(typeof N==="object"||a.isArray(N)?L:"")+"]",N)})}else{!c&&K!=null&&typeof K==="object"?a.each(K,function(L,N){A(J+"["+L+"]",N)}):w(J,K)}}function w(J,K){K=a.isFunction(K)?K():K;F[F.length]=encodeURIComponent(J)+"="+encodeURIComponent(K)}var F=[];if(c===bf){c=a.ajaxSettings.traditional}if(a.isArray(s)||s.jquery){a.each(s,function(){w(this.name,this.value)})}else{for(var G in s){A(G,s[G])}}return F.join("&").replace(aU,"+")}});var an={},aO=/toggle|show|hide/,ay=/^([+-]=)?([\d+-.]+)(.*)$/,aM,ar=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];a.fn.extend({show:function(w,s){if(w||w===0){return this.animate(aQ("show",3),w,s)}else{w=0;for(s=this.length;w<s;w++){var c=a.data(this[w],"olddisplay");this[w].style.display=c||"";if(a.css(this[w],"display")==="none"){c=this[w].nodeName;var A;if(an[c]){A=an[c]}else{var F=a("<"+c+" />").appendTo("body");A=F.css("display");if(A==="none"){A="block"}F.remove();an[c]=A}a.data(this[w],"olddisplay",A)}}w=0;for(s=this.length;w<s;w++){this[w].style.display=a.data(this[w],"olddisplay")||""}return this}},hide:function(w,s){if(w||w===0){return this.animate(aQ("hide",3),w,s)}else{w=0;for(s=this.length;w<s;w++){var c=a.data(this[w],"olddisplay");!c&&c!=="none"&&a.data(this[w],"olddisplay",a.css(this[w],"display"))}w=0;for(s=this.length;w<s;w++){this[w].style.display="none"}return this}},_toggle:a.fn.toggle,toggle:function(w,s){var c=typeof w==="boolean";if(a.isFunction(w)&&a.isFunction(s)){this._toggle.apply(this,arguments)}else{w==null||c?this.each(function(){var A=c?w:a(this).is(":hidden");a(this)[A?"show":"hide"]()}):this.animate(aQ("toggle",3),w,s)}return this},fadeTo:function(w,s,c){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:s},w,c)},animate:function(w,s,c,A){var F=a.speed(s,c,A);if(a.isEmptyObject(w)){return this.each(F.complete)}return this[F.queue===false?"each":"queue"](function(){var G=a.extend({},F),K,N=this.nodeType===1&&a(this).is(":hidden"),J=this;for(K in w){var L=K.replace(ak,ah);if(K!==L){w[L]=w[K];delete w[K];K=L}if(w[K]==="hide"&&N||w[K]==="show"&&!N){return G.complete.call(this)}if((K==="height"||K==="width")&&this.style){G.display=a.css(this,"display");G.overflow=this.style.overflow}if(a.isArray(w[K])){(G.specialEasing=G.specialEasing||{})[K]=w[K][1];w[K]=w[K][0]}}if(G.overflow!=null){this.style.overflow="hidden"}G.curAnim=a.extend({},w);a.each(w,function(O,R){var V=new a.fx(J,G,O);if(aO.test(R)){V[R==="toggle"?N?"show":"hide":R](w)}else{var Q=ay.exec(R),P=V.cur(true)||0;if(Q){R=parseFloat(Q[2]);var T=Q[3]||"px";if(T!=="px"){J.style[O]=(R||1)+T;P=(R||1)/V.cur(true)*P;J.style[O]=P+T}if(Q[1]){R=(Q[1]==="-="?-1:1)*R+P}V.custom(P,R,T)}else{V.custom(P,R,"")}}});return true})},stop:function(w,s){var c=a.timers;w&&this.queue([]);this.each(function(){for(var A=c.length-1;A>=0;A--){if(c[A].elem===this){s&&c[A](true);c.splice(A,1)}}});s||this.dequeue();return this}});a.each({slideDown:aQ("show",1),slideUp:aQ("hide",1),slideToggle:aQ("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(s,c){a.fn[s]=function(A,w){return this.animate(c,A,w)}});a.extend({speed:function(w,s,c){var A=w&&typeof w==="object"?w:{complete:c||!c&&s||a.isFunction(w)&&w,duration:w,easing:c&&s||s&&!a.isFunction(s)&&s};A.duration=a.fx.off?0:typeof A.duration==="number"?A.duration:a.fx.speeds[A.duration]||a.fx.speeds._default;A.old=A.complete;A.complete=function(){A.queue!==false&&a(this).dequeue();a.isFunction(A.old)&&A.old.call(this)};return A},easing:{linear:function(w,s,c,A){return c+A*w},swing:function(w,s,c,A){return(-Math.cos(w*Math.PI)/2+0.5)*A+c}},timers:[],fx:function(w,s,c){this.options=s;this.elem=w;this.prop=c;if(!s.orig){s.orig={}}}});a.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(a.fx.step[this.prop]||a.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(a.css(this.elem,this.prop,c)))&&c>-10000?c:parseFloat(a.curCSS(this.elem,this.prop))||0},custom:function(w,s,c){function A(G){return F.step(G)}this.startTime=aP();this.start=w;this.end=s;this.unit=c||this.unit||"px";this.now=this.start;this.pos=this.state=0;var F=this;A.elem=this.elem;if(A()&&a.timers.push(A)&&!aM){aM=setInterval(a.fx.tick,13)}},show:function(){this.options.orig[this.prop]=a.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());a(this.elem).show()},hide:function(){this.options.orig[this.prop]=a.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(w){var s=aP(),c=true;if(w||s>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;for(var A in this.options.curAnim){if(this.options.curAnim[A]!==true){c=false}}if(c){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;w=a.data(this.elem,"olddisplay");this.elem.style.display=w?w:this.options.display;if(a.css(this.elem,"display")==="none"){this.elem.style.display="block"}}this.options.hide&&a(this.elem).hide();if(this.options.hide||this.options.show){for(var F in this.options.curAnim){a.style(this.elem,F,this.options.orig[F])}}this.options.complete.call(this.elem)}return false}else{F=s-this.startTime;this.state=F/this.options.duration;w=this.options.easing||(a.easing.swing?"swing":"linear");this.pos=a.easing[this.options.specialEasing&&this.options.specialEasing[this.prop]||w](this.state,F,0,1,this.options.duration);this.now=this.start+(this.end-this.start)*this.pos;this.update()}return true}};a.extend(a.fx,{tick:function(){for(var s=a.timers,c=0;c<s.length;c++){s[c]()||s.splice(c--,1)}s.length||a.fx.stop()},stop:function(){clearInterval(aM);aM=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(c){a.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(a.expr&&a.expr.filters){a.expr.filters.animated=function(c){return a.grep(a.timers,function(s){return c===s.elem}).length}}a.fn.offset="getBoundingClientRect" in a9.documentElement?function(w){var s=this[0];if(w){return this.each(function(F){a.offset.setOffset(this,w,F)})}if(!s||!s.ownerDocument){return null}if(s===s.ownerDocument.body){return a.offset.bodyOffset(s)}var c=s.getBoundingClientRect(),A=s.ownerDocument;s=A.body;A=A.documentElement;return{top:c.top+(self.pageYOffset||a.support.boxModel&&A.scrollTop||s.scrollTop)-(A.clientTop||s.clientTop||0),left:c.left+(self.pageXOffset||a.support.boxModel&&A.scrollLeft||s.scrollLeft)-(A.clientLeft||s.clientLeft||0)}}:function(s){var c=this[0];if(s){return this.each(function(O){a.offset.setOffset(this,s,O)})}if(!c||!c.ownerDocument){return null}if(c===c.ownerDocument.body){return a.offset.bodyOffset(c)}a.offset.initialize();var A=c.offsetParent,w=c,F=c.ownerDocument,G,K=F.documentElement,N=F.body;w=(F=F.defaultView)?F.getComputedStyle(c,null):c.currentStyle;for(var J=c.offsetTop,L=c.offsetLeft;(c=c.parentNode)&&c!==N&&c!==K;){if(a.offset.supportsFixedPosition&&w.position==="fixed"){break}G=F?F.getComputedStyle(c,null):c.currentStyle;J-=c.scrollTop;L-=c.scrollLeft;if(c===A){J+=c.offsetTop;L+=c.offsetLeft;if(a.offset.doesNotAddBorder&&!(a.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(c.nodeName))){J+=parseFloat(G.borderTopWidth)||0;L+=parseFloat(G.borderLeftWidth)||0}w=A;A=c.offsetParent}if(a.offset.subtractsBorderForOverflowNotVisible&&G.overflow!=="visible"){J+=parseFloat(G.borderTopWidth)||0;L+=parseFloat(G.borderLeftWidth)||0}w=G}if(w.position==="relative"||w.position==="static"){J+=N.offsetTop;L+=N.offsetLeft}if(a.offset.supportsFixedPosition&&w.position==="fixed"){J+=Math.max(K.scrollTop,N.scrollTop);L+=Math.max(K.scrollLeft,N.scrollLeft)}return{top:J,left:L}};a.offset={initialize:function(){var s=a9.body,c=a9.createElement("div"),A,w,F,G=parseFloat(a.curCSS(s,"marginTop",true))||0;a.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);A=c.firstChild;w=A.firstChild;F=A.nextSibling.firstChild.firstChild;this.doesNotAddBorder=w.offsetTop!==5;this.doesAddBorderForTableAndCells=F.offsetTop===5;w.style.position="fixed";w.style.top="20px";this.supportsFixedPosition=w.offsetTop===20||w.offsetTop===15;w.style.position=w.style.top="";A.style.overflow="hidden";A.style.position="relative";this.subtractsBorderForOverflowNotVisible=w.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=s.offsetTop!==G;s.removeChild(c);a.offset.initialize=a.noop},bodyOffset:function(w){var s=w.offsetTop,c=w.offsetLeft;a.offset.initialize();if(a.offset.doesNotIncludeMarginInBodyOffset){s+=parseFloat(a.curCSS(w,"marginTop",true))||0;c+=parseFloat(a.curCSS(w,"marginLeft",true))||0}return{top:s,left:c}},setOffset:function(s,c,A){if(/static/.test(a.curCSS(s,"position"))){s.style.position="relative"}var w=a(s),F=w.offset(),G=parseInt(a.curCSS(s,"top",true),10)||0,J=parseInt(a.curCSS(s,"left",true),10)||0;if(a.isFunction(c)){c=c.call(s,A,F)}A={top:c.top-F.top+G,left:c.left-F.left+J};"using" in c?c.using.call(s,A):w.css(A)}};a.fn.extend({position:function(){if(!this[0]){return null}var w=this[0],s=this.offsetParent(),c=this.offset(),A=/^body|html$/i.test(s[0].nodeName)?{top:0,left:0}:s.offset();c.top-=parseFloat(a.curCSS(w,"marginTop",true))||0;c.left-=parseFloat(a.curCSS(w,"marginLeft",true))||0;A.top+=parseFloat(a.curCSS(s[0],"borderTopWidth",true))||0;A.left+=parseFloat(a.curCSS(s[0],"borderLeftWidth",true))||0;return{top:c.top-A.top,left:c.left-A.left}},offsetParent:function(){return this.map(function(){for(var c=this.offsetParent||a9.body;c&&!/^body|html$/i.test(c.nodeName)&&a.css(c,"position")==="static";){c=c.offsetParent}return c})}});a.each(["Left","Top"],function(w,s){var c="scroll"+s;a.fn[c]=function(G){var F=this[0],A;if(!F){return null}if(G!==bf){return this.each(function(){if(A=ae(this)){A.scrollTo(!w?G:a(A).scrollLeft(),w?G:a(A).scrollTop())}else{this[c]=G}})}else{return(A=ae(F))?"pageXOffset" in A?A[w?"pageYOffset":"pageXOffset"]:a.support.boxModel&&A.document.documentElement[c]||A.document.body[c]:F[c]}}});a.each(["Height","Width"],function(w,s){var c=s.toLowerCase();a.fn["inner"+s]=function(){return this[0]?a.css(this[0],c,false,"padding"):null};a.fn["outer"+s]=function(A){return this[0]?a.css(this[0],c,false,A?"margin":"border"):null};a.fn[c]=function(A){var F=this[0];if(!F){return A==null?null:this}if(a.isFunction(A)){return this.each(function(G){var J=a(this);J[c](A.call(this,G,J[c]()))})}return"scrollTo" in F&&F.document?F.document.compatMode==="CSS1Compat"&&F.document.documentElement["client"+s]||F.document.body["client"+s]:F.nodeType===9?Math.max(F.documentElement["client"+s],F.body["scroll"+s],F.documentElement["scroll"+s],F.body["offset"+s],F.documentElement["offset"+s]):A===bf?a.css(F,c):this.css(c,typeof A==="string"?A:A+"px")}});aV.jQuery=aV.$=a})(window);(function(b){b.fn.example=function(f,g){var a=b.isFunction(f);var h=b.extend({},g,{example:f});return this.each(function(){var c=b(this);if(b.metadata){var d=b.extend({},b.fn.example.defaults,c.metadata(),h)}else{var d=b.extend({},b.fn.example.defaults,h)}if(!b.fn.example.boundClassNames[d.className]){b(window).unload(function(){b("."+d.className).val("")});b("form").submit(function(){b(this).find("."+d.className).val("")});b.fn.example.boundClassNames[d.className]=true}if(b.browser.msie&&!c.attr("defaultValue")&&(a||c.val()==d.example)){c.val("")}if(c.val()==""&&this!=document.activeElement){c.addClass(d.className);c.val(a?d.example.call(this):d.example)}c.focus(function(){if(b(this).is("."+d.className)){b(this).val("");b(this).removeClass(d.className)}});c.change(function(){if(b(this).is("."+d.className)){b(this).removeClass(d.className)}});c.blur(function(){if(b(this).val()==""){b(this).addClass(d.className);b(this).val(a?d.example.call(this):d.example)}})})};b.fn.example.defaults={className:"example"};b.fn.example.boundClassNames=[]})(jQuery);(function(b,c){var a=function(h,d,e){var f;return function g(){var k=this,j=arguments;function i(){if(!e){h.apply(k,j)}f=null}if(f){clearTimeout(f)}else{if(e){h.apply(k,j)}}f=setTimeout(i,d||100)}};jQuery.fn[c]=function(d){return d?this.bind("resize",a(d)):this.trigger(c)}})(jQuery,"smartresize");(function(a){a.fn.closeDOMWindow=function(c){if(!c){c={}}var b=function(d){if(c.anchoredClassName){a("."+c.anchoredClassName).fadeOut("fast",function(){if(a.fn.draggable){a("."+c.anchoredClassName).draggable("destory").trigger("unload").remove()}else{a("."+c.anchoredClassName).trigger("unload").remove()}});if(c.shadow){a("#shadow1").fadeOut("fast");a("#shadow2").fadeOut("fast");a("#shadow3").fadeOut("fast");a("#shadow4").fadeOut("fast");a("#shadow5").fadeOut("fast")}if(c.functionCallOnClose){c.functionCallAfterClose()}}else{a("#DOMWindowOverlay").fadeOut("fast",function(){a("#DOMWindowOverlay").trigger("unload").unbind().remove()});a("#DOMWindow").fadeOut("fast",function(){if(a.fn.draggable){a("#DOMWindow").draggable("destroy").trigger("unload").remove()}else{a("#DOMWindow").trigger("unload").remove()}});a("#shadow1").fadeOut("fast").remove();a("#shadow2").fadeOut("fast").remove();a("#shadow3").fadeOut("fast").remove();a("#shadow4").fadeOut("fast").remove();a("#shadow5").fadeOut("fast").remove();a(window).unbind("scroll.DOMWindow");a(window).unbind("resize.DOMWindow");if(a.fn.openDOMWindow.isIE6){a("#DOMWindowIE6FixIframe").remove()}if(c.functionCallOnClose){c.functionCallAfterClose()}}};if(c.eventType){return this.each(function(d){a(this).bind(c.eventType,function(){b(this);return false})})}else{b()}};a.closeDOMWindow=function(b){a.fn.closeDOMWindow(b)};a.fn.openDOMWindow=function(k){var l=a.fn.openDOMWindow;l.defaultsSettings={anchoredClassName:"",anchoredSelector:"",borderColor:"#ccc",borderSize:"4",borderLeftRight:true,draggable:0,eventType:null,fixedWindowY:100,functionCallOnOpen:null,functionCallOnClose:null,height:500,loader:0,loaderHeight:0,loaderImagePath:"",loaderWidth:0,modal:0,overlay:1,overlayColor:"#000",overlayOpacity:"85",positionLeft:0,positionTop:0,positionType:"centered",width:500,windowBGColor:"#fff",windowBGImage:null,windowHTTPType:"get",windowPadding:10,windowSource:"inline",windowSourceID:"",windowSourceURL:"",shadow:false};var e=a.extend({},a.fn.openDOMWindow.defaultsSettings,k||{});l.viewPortHeight=function(){return self.innerHeight||document.documentElement.clientHeight||document.body.clientHeight};l.viewPortWidth=function(){return self.innerWidth||document.documentElement.clientWidth||document.body.clientWidth};l.scrollOffsetHeight=function(){return self.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop};l.scrollOffsetWidth=function(){return self.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft};l.isIE6=typeof document.body.style.maxHeight==="undefined";var g=function(){if(l.isIE6){var n=document.documentElement.offsetHeight+document.documentElement.scrollTop-4;var m=document.documentElement.offsetWidth-21;a("#DOMWindowOverlay").css({height:n+"px",width:m+"px"})}else{a("#DOMWindowOverlay").css({height:"100%",width:"100%",position:"fixed"})}};var c=function(){var n=document.documentElement.offsetHeight+document.documentElement.scrollTop-4;var m=document.documentElement.offsetWidth-21;a("#DOMWindowIE6FixIframe").css({height:n+"px",width:m+"px"})};var i=function(){var o=e.anchoredSelector;if(e.height+50>l.viewPortHeight()){var p=Math.round(l.viewPortWidth()/2)+l.scrollOffsetWidth()-Math.round((a("#DOMWindow").outerWidth())/2);a("#DOMWindow").css("left",p);if(e.shadow){a("#shadow1").css("left",p+3);a("#shadow2").css("left",p+4);a("#shadow3").css("left",p+5);a("#shadow4").css("left",p+6);a("#shadow5").css("left",p+7)}}else{var p=Math.round(l.viewPortWidth()/2)+l.scrollOffsetWidth()-Math.round((a("#DOMWindow").outerWidth())/2);var n=Math.round(l.viewPortHeight()/2)+l.scrollOffsetHeight()-Math.round((a("#DOMWindow").outerHeight())/2);if(o){var m=o.offset();p=m.left-150;n=m.top-100}a("#DOMWindow").css("left",p);a("#DOMWindow").css("top",n);if(e.shadow){a("#shadow1").css("left",p+3);a("#shadow2").css("left",p+4);a("#shadow3").css("left",p+5);a("#shadow4").css("left",p+6);a("#shadow5").css("left",p+7);a("#shadow1").css("top",n+1);a("#shadow2").css("top",n+2);a("#shadow3").css("top",n+3);a("#shadow4").css("top",n+3);a("#shadow5").css("top",n+4)}}};var j=function(){if(l.isIE6){a("#DOMWindowLoader").css({left:Math.round(l.viewPortWidth()/2)+l.scrollOffsetWidth()-Math.round((a("#DOMWindowLoader").innerWidth())/2),position:"absolute"});a("#DOMWindowLoader").css({top:Math.round(l.viewPortHeight()/2)+l.scrollOffsetHeight()-Math.round((a("#DOMWindowLoader").innerHeight())/2),position:"absolute"})}else{a("#DOMWindowLoader").css({left:"50%",top:"50%",position:"fixed"})}};var f=function(){a("#DOMWindow").css("left",e.positionLeft+l.scrollOffsetWidth());a("#DOMWindow").css("top",+e.positionTop+l.scrollOffsetHeight())};var b=function(m){if(arguments[0]){a("."+m+" #DOMWindowLoader").remove();a("."+m+" #DOMWindowContent").fadeIn("fast",function(){if(e.functionCallOnOpen){e.functionCallOnOpen()}});a("."+m+".closeDOMWindow").click(function(){a.closeDOMWindow();return false})}else{a("#DOMWindowLoader").remove();a("#DOMWindow").fadeIn("fast",function(){if(e.functionCallOnOpen){e.functionCallOnOpen()}});a("#DOMWindow .closeDOMWindow").click(function(){a.closeDOMWindow();return false})}if(e.shadow){a("#shadow1").fadeIn("fast");a("#shadow2").fadeIn("fast");a("#shadow3").fadeIn("fast");a("#shadow4").fadeIn("fast");a("#shadow5").fadeIn("fast")}};var d=function(n){var m={};n.replace(/b([^&=]*)=([^&=]*)b/g,function(o,p,q){if(typeof m[p]!="undefined"){m[p]+=","+q}else{m[p]=q}});return m};var h=function(n){e.windowSourceID=a(n).attr("href")||e.windowSourceID;e.windowSourceURL=a(n).attr("href")||e.windowSourceURL;e.windowBGImage=e.windowBGImage?"background-image:url("+e.windowBGImage+")":"";var u,s;if(e.positionType=="anchored"){var m=a(e.anchoredSelector).position();var q=m.left+e.positionLeft;var r=m.top+e.positionTop;var o="";if(!e.borderLeftRight){o="border-left:none;border-right:none;"}a("body").append('<div class="'+e.anchoredClassName+'" style="'+e.windowBGImage+";background-repeat:no-repeat;padding:"+e.windowPadding+"px;overflow:hidden;position:absolute;top:"+r+"px;left:"+q+"px;height:"+e.height+"px;width:"+e.width+"px;background-color:"+e.windowBGColor+";border:"+e.borderSize+"px solid "+e.borderColor+";"+o+'z-index:10001"><div id="DOMWindowContent" style="display:none"></div></div>');if(e.loader&&e.loaderImagePath!==""){a("."+e.anchoredClassName).append('<div id="DOMWindowLoader" style="width:'+e.loaderWidth+"px;height:"+e.loaderHeight+'px;"><img src="'+e.loaderImagePath+'" /></div>')}if(a.fn.draggable){if(e.draggable){a("."+e.anchoredClassName).draggable({cursor:"move"})}}switch(e.windowSource){case"inline":a("."+e.anchoredClassName+" #DOMWindowContent").append(a(e.windowSourceID).children());a("."+e.anchoredClassName).unload(function(){a("."+e.windowSourceID).append(a("."+e.anchoredClassName+" #DOMWindowContent").children())});b(e.anchoredClassName);break;case"iframe":a("."+e.anchoredClassName+" #DOMWindowContent").append('<iframe frameborder="0" hspace="0" wspace="0" src="'+e.windowSourceURL+'" name="DOMWindowIframe'+Math.round(Math.random()*1000)+'" style="width:100%;height:100%;border:none;background-color:#fff;" class="'+e.anchoredClassName+'Iframe" ></iframe>');a("."+e.anchoredClassName+"Iframe").load(b(e.anchoredClassName));break;case"ajax":if(e.windowHTTPType=="post"){if(e.windowSourceURL.indexOf("?")!==-1){u=e.windowSourceURL.substr(0,e.windowSourceURL.indexOf("?"));s=d(e.windowSourceURL)}else{u=e.windowSourceURL;s={}}a("."+e.anchoredClassName+" #DOMWindowContent").load(u,s,function(){b(e.anchoredClassName)})}else{if(e.windowSourceURL.indexOf("?")==-1){e.windowSourceURL+="?"}a("."+e.anchoredClassName+" #DOMWindowContent").load(e.windowSourceURL+"&random="+(new Date().getTime()),function(){b(e.anchoredClassName)})}break}}else{if(e.overlay){a("body").append('<div id="DOMWindowOverlay" style="z-index:10000;display:none;position:absolute;top:0;left:0;background-color:'+e.overlayColor+";filter:alpha(opacity="+e.overlayOpacity+");-moz-opacity: 0."+e.overlayOpacity+";opacity: 0."+e.overlayOpacity+';"></div>');if(l.isIE6){a("body").append('<iframe id="DOMWindowIE6FixIframe"  src="blank.html"  style="width:100%;height:100%;z-index:9999;position:absolute;top:0;left:0;filter:alpha(opacity=0);"></iframe>');c()}g();a("#DOMWindowOverlay").fadeIn("fast");if(!e.modal){a("#DOMWindowOverlay").click(function(){a.closeDOMWindow()})}}if(e.loader&&e.loaderImagePath!==""){a("body").append('<div id="DOMWindowLoader" style="z-index:10002;width:'+e.loaderWidth+"px;height:"+e.loaderHeight+'px;"><img src="'+e.loaderImagePath+'" /></div>');j()}var o="";if(!e.borderLeftRight){o="border-left:none;border-right:none;"}a("body").append('<div id="DOMWindow" style="background-repeat:no-repeat;'+e.windowBGImage+";overflow:hidden;padding:"+e.windowPadding+"px;display:none;height:"+e.height+"px;width:"+e.width+"px;background-color:"+e.windowBGColor+";border:"+e.borderSize+"px solid "+e.borderColor+";"+o+'position:absolute;z-index:10001"></div>');if(e.shadow){a("body").append('<div id="shadow1" style="display:none;height:'+(e.height+2)+"px;width:"+e.width+'px;background-color:#505050;position:absolute;z-index:10000"></div>');a("body").append('<div id="shadow2" style="opacity:0.27;filter:alpha(opacity=27);display:none;height:'+(e.height+2)+"px;width:"+e.width+'px;background-color:#000;position:absolute;z-index:9999"></div>');a("body").append('<div id="shadow3" style="opacity:0.21;filter:alpha(opacity=21);display:none;height:'+(e.height+2)+"px;width:"+e.width+'px;background-color:#000;position:absolute;z-index:9998"></div>');a("body").append('<div id="shadow4" style="opacity:0.13;filter:alpha(opacity=13);display:none;height:'+(e.height+2)+"px;width:"+e.width+'px;background-color:#000;position:absolute;z-index:9997"></div>');a("body").append('<div id="shadow5" style="opacity:0.06;filter:alpha(opacity=6);display:none;height:'+(e.height+2)+"px;width:"+e.width+'px;background-color:#000;position:absolute;z-index:9996"></div>')}switch(e.positionType){case"centered":i();if(e.height+50>l.viewPortHeight()){var p=e.fixedWindowY+l.scrollOffsetHeight();a("#DOMWindow").css("top",p+"px");if(e.shadow){a("#shadow1").css("top",(p+1)+"px");a("#shadow2").css("top",(p+2)+"px");a("#shadow3").css("top",(p+3)+"px");a("#shadow4").css("top",(p+3)+"px");a("#shadow5").css("top",(p+4)+"px")}}break;case"absolute":a("#DOMWindow").css({top:(e.positionTop+l.scrollOffsetHeight())+"px",left:(e.positionLeft+l.scrollOffsetWidth())+"px"});if(a.fn.draggable){if(e.draggable){a("#DOMWindow").draggable({cursor:"move"})}}break;case"fixed":f();break;case"anchoredSingleWindow":var m=a(e.anchoredSelector).position();var q=m.left+e.positionLeft;var r=m.top+e.positionTop;$DOMWindow.css({top:r+"px",left:q+"px"});break}a(window).bind("scroll.DOMWindow",function(){if(e.overlay){g()}if(l.isIE6){c()}if(e.positionType=="centered"){i()}if(e.positionType=="fixed"){f()}});a(window).bind("resize.DOMWindow",function(){if(l.isIE6){c()}if(e.overlay){g()}if(e.positionType=="centered"){i()}});switch(e.windowSource){case"inline":a("#DOMWindow").html("").append(a(e.windowSourceID).html());a("#DOMWindow").unload(function(){});b();break;case"iframe":a("#DOMWindow").append('<iframe frameborder="0" hspace="0" wspace="0" src="'+e.windowSourceURL+'" name="DOMWindowIframe'+Math.round(Math.random()*1000)+'" style="width:100%;height:100%;border:none;background-color:#fff;" id="DOMWindowIframe" ></iframe>');a("#DOMWindowIframe").load(b());break;case"ajax":if(e.windowHTTPType=="post"){if(e.windowSourceURL.indexOf("?")!==-1){u=e.windowSourceURL.substr(0,e.windowSourceURL.indexOf("?"));s=d(e.windowSourceURL)}else{u=e.windowSourceURL;s={}}a("#DOMWindow").load(u,s,function(){b()})}else{if(e.windowSourceURL.indexOf("?")==-1){e.windowSourceURL+="?"}a("#DOMWindow").load(e.windowSourceURL+"&random="+(new Date().getTime()),function(){b()})}break}}};if(e.eventType){return this.each(function(m){a(this).bind(e.eventType,function(){h(this);return false})})}else{h()}};a.openDOMWindow=function(b){a.fn.openDOMWindow(b)}})(jQuery);$(document).ready(function(){onResize();$(window).smartresize(onResize);onBuybtnClick();var a=$("#townselectorblock").css("display")!="none"?false:true;$("body").click(function(){var c=$("#townselectorblock");c.hide();a=true});ImagesClick();$("#SearchBlock1_TextBoxSearch").example("поиск по каталогу");$("#content a.comparelist").click(function(){$("#results input:checkbox:checked").each(function(){AddToCompareList($(this))});return false});var b=$("#townselectorblock");$("#townselect").click(function(c){if(a){a=false;b.show()}else{a=true;b.hide()}return false})});var currheight=0;function onResize(){if((currheight!=document.documentElement.clientHeight&&jQuery.browser.msie)||!jQuery.browser.msie){var c=$("#content div.item");var e=$("#content");var f=e.width();var b=parseInt(f/300);var a=parseInt(f/b);var h=parseInt(a-300);if(c.length){c.css("margin-right",h-5+"px")}var g=$("#swowwindow");if(g.length){var d=parseInt($("#selectedcategory").val());$.get("/Handlers/ShowWindowHandler.ashx?category.id="+d+"&columncount="+b+"&rnd="+Math.random(),function(k){g.html("");g.append(k);var l=$("#content div.item");var m=$("#content");var n=m.width();var j=parseInt(n/300);var i=parseInt(n/j);var o=parseInt(i-300);l.css("margin-right",o-5+"px");onBuybtnClick()})}}currheight=document.documentElement.clientHeight}function onBuybtnClick(){$("a.buybtn").bind("click",function(b){var c=$(this).attr("product");var f=$(this).attr("multi");var d=1;var a=f==undefined?false:true;if(a){d=parseInt(f)}AddToBasket(this,d,b,true);return false})}function AddToBasket(c,g,f,b){var h=$(c);var i=h.attr("product");var d=parseInt(h.attr("price"));var a=g*d;$.get("/Basket/AddToBasket.ashx?product="+i+"&count="+g+"&rnd="+Math.random(),function(k){if(k=="1"){var m=$("#basket_data div.pad");if(trim(m.text())=="Ваша корзина пуста."){m.html("<a href='/preorder/'>Товаров в корзине</a>: <strong id='productCount'>"+g+"</strong><br />На сумму: <strong id='productsPrice'>"+a+"</strong>&nbsp;<strong>pуб.</strong><br />")}else{var j=$("#productCount");var n=$("#productsPrice");var e=parseInt(j.text())+g;var l=parseInt(n.text())+a;j.text(e);n.text(l)}if(b){$.openDOMWindow({height:90,width:250,borderSize:"1",windowPadding:0,windowSourceID:"#basketOk",windowSource:"inline",overlayColor:"#FFF",overlayOpacity:"30",positionType:"centered",positionLeft:120,positionTop:-100,shadow:true,anchoredSelector:h})}}else{alert("Ошибка при добавлении в корзину. Попробуйте снова через несколько минут.")}})}function trim(a){return a.replace(/(^\s+)|(\s+$)/g,"")}function ImagesClick(){var a=640;var b=660;$("a.images").openDOMWindow({borderColor:"#b0b0b0",overlayColor:"#FFF",overlayOpacity:"30",width:a,height:b,borderSize:"1",positionType:"centered",positionTop:20,eventType:"click",windowSource:"iframe",windowPadding:0,shadow:true})}function AddToCompareList(c){var d=c.attr("class");var b=c.val();$.get("/ajax/AddToCompare.aspx?product.id="+b+"&category.id="+d+"&rnd="+Math.random(),function(a){if(a=="1"){var e=window.open("/compare-"+d+"/","_compare"+d);e.focus()}else{alert("Не удалось добавить товар в список сравнения. Попробуйте ещё раз.")}})};
