/*
 * 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(a){a.extend(a.fn,{validate:function(c){if(!this.length){c&&c.debug&&window.console&&console.warn("nothing selected, can't validate, returning nothing");return}var b=a.data(this[0],"validator");if(b){return b}b=new a.validator(c,this[0]);a.data(this[0],"validator",b);if(b.settings.onsubmit){this.find("input, button").filter(".cancel").click(function(){b.cancelSubmit=true});if(b.settings.submitHandler){this.find("input, button").filter(":submit").click(function(){b.submitButton=this})}this.submit(function(d){if(b.settings.debug){d.preventDefault()}function e(){if(b.settings.submitHandler){if(b.submitButton){var f=a("<input type='hidden'/>").attr("name",b.submitButton.name).val(b.submitButton.value).appendTo(b.currentForm)}b.settings.submitHandler.call(b,b.currentForm);if(b.submitButton){f.remove()}return false}return true}if(b.cancelSubmit){b.cancelSubmit=false;return e()}if(b.form()){if(b.pendingRequest){b.formSubmitted=true;return false}return e()}else{b.focusInvalid();return false}})}return b},valid:function(){if(a(this[0]).is("form")){return this.validate().form()}else{var c=true;var b=a(this[0].form).validate();this.each(function(){c&=b.element(this)});return c}},removeAttrs:function(b){var c={},d=this;a.each(b.split(/\s/),function(f,e){c[e]=d.attr(e);d.removeAttr(e)});return c},rules:function(g,i){var d=this[0];if(g){var e=a.data(d.form,"validator").settings;var c=e.rules;var h=a.validator.staticRules(d);switch(g){case"add":a.extend(h,a.validator.normalizeRule(i));c[d.name]=h;if(i.messages){e.messages[d.name]=a.extend(e.messages[d.name],i.messages)}break;case"remove":if(!i){delete c[d.name];return h}var j={};a.each(i.split(/\s/),function(l,k){j[k]=h[k];delete h[k]});return j}}var b=a.validator.normalizeRules(a.extend({},a.validator.metadataRules(d),a.validator.classRules(d),a.validator.attributeRules(d),a.validator.staticRules(d)),d);if(b.required){var f=b.required;delete b.required;b=a.extend({required:f},b)}return b}});a.extend(a.expr[":"],{blank:function(b){return !a.trim(""+b.value)},filled:function(b){return !!a.trim(""+b.value)},unchecked:function(b){return !b.checked}});a.validator=function(c,b){this.settings=a.extend({},a.validator.defaults,c);this.currentForm=b;this.init()};a.validator.format=function(c,b){if(arguments.length==1){return function(){var d=a.makeArray(arguments);d.unshift(c);return a.validator.format.apply(this,d)}}if(arguments.length>2&&b.constructor!=Array){b=a.makeArray(arguments).slice(1)}if(b.constructor!=Array){b=[b]}a.each(b,function(d,e){c=c.replace(new RegExp("\\{"+d+"\\}","g"),e)});return c};a.extend(a.validator,{defaults:{messages:{},groups:{},rules:{},errorClass:"error",validClass:"valid",errorElement:"label",focusInvalid:true,errorContainer:a([]),errorLabelContainer:a([]),onsubmit:true,ignore:[],ignoreTitle:false,onfocusin:function(b){this.lastActive=b;if(this.settings.focusCleanup&&!this.blockFocusCleanup){this.settings.unhighlight&&this.settings.unhighlight.call(this,b,this.settings.errorClass,this.settings.validClass);this.errorsFor(b).hide()}},onfocusout:function(b){if(!this.checkable(b)&&(b.name in this.submitted||!this.optional(b))){this.element(b)}},onkeyup:function(b){if(b.name in this.submitted||b==this.lastElement){this.element(b)}},onclick:function(b){if(b.name in this.submitted){this.element(b)}else{if(b.parentNode.name in this.submitted){this.element(b.parentNode)}}},highlight:function(b,d,c){a(b).addClass(d).removeClass(c)},unhighlight:function(b,d,c){a(b).removeClass(d).addClass(c)}},setDefaults:function(b){a.extend(a.validator.defaults,b)},messages:{required:"This field is required.",remote:"Please fix this field.",email:"Please enter a valid email address.",url:"Please enter a valid URL.",date:"Please enter a valid date.",dateISO:"Please enter a valid date (ISO).",number:"Please enter a valid number.",digits:"Please enter only digits.",creditcard:"Please enter a valid credit card number.",equalTo:"Please enter the same value again.",accept:"Please enter a value with a valid extension.",maxlength:a.validator.format("Please enter no more than {0} characters."),minlength:a.validator.format("Please enter at least {0} characters."),rangelength:a.validator.format("Please enter a value between {0} and {1} characters long."),range:a.validator.format("Please enter a value between {0} and {1}."),max:a.validator.format("Please enter a value less than or equal to {0}."),min:a.validator.format("Please enter a value greater than or equal to {0}.")},autoCreateRanges:false,prototype:{init:function(){this.labelContainer=a(this.settings.errorLabelContainer);this.errorContext=this.labelContainer.length&&this.labelContainer||a(this.currentForm);this.containers=a(this.settings.errorContainer).add(this.settings.errorLabelContainer);this.submitted={};this.valueCache={};this.pendingRequest=0;this.pending={};this.invalid={};this.reset();var b=(this.groups={});a.each(this.settings.groups,function(f,e){a.each(e.split(/\s/),function(h,g){b[g]=f})});var c=this.settings.rules;a.each(c,function(f,e){c[f]=a.validator.normalizeRule(e)});function d(f){var e=a.data(this[0].form,"validator");e.settings["on"+f.type]&&e.settings["on"+f.type].call(e,this[0])}a(this.currentForm).delegate("focusin focusout keyup",":text, :password, :file, select, textarea",d).delegate("click",":radio, :checkbox, select, option",d);if(this.settings.invalidHandler){a(this.currentForm).bind("invalid-form.validate",this.settings.invalidHandler)}},form:function(){this.checkForm();a.extend(this.submitted,this.errorMap);this.invalid=a.extend({},this.errorMap);if(!this.valid()){a(this.currentForm).triggerHandler("invalid-form",[this])}this.showErrors();return this.valid()},checkForm:function(){this.prepareForm();for(var b=0,c=(this.currentElements=this.elements());c[b];b++){this.check(c[b])}return this.valid()},element:function(c){c=this.clean(c);this.lastElement=c;this.prepareElement(c);this.currentElements=a(c);var b=this.check(c);if(b){delete this.invalid[c.name]}else{this.invalid[c.name]=true}if(!this.numberOfInvalids()){this.toHide=this.toHide.add(this.containers)}this.showErrors();return b},showErrors:function(c){if(c){a.extend(this.errorMap,c);this.errorList=[];for(var b in c){this.errorList.push({message:c[b],element:this.findByName(b)[0]})}this.successList=a.grep(this.successList,function(d){return !(d.name in c)})}this.settings.showErrors?this.settings.showErrors.call(this,this.errorMap,this.errorList):this.defaultShowErrors()},resetForm:function(){if(a.fn.resetForm){a(this.currentForm).resetForm()}this.submitted={};this.prepareForm();this.hideErrors();this.elements().removeClass(this.settings.errorClass)},numberOfInvalids:function(){return this.objectLength(this.invalid)},objectLength:function(d){var b=0;for(var c in d){b++}return b},hideErrors:function(){this.addWrapper(this.toHide).hide()},valid:function(){return this.size()==0},size:function(){return this.errorList.length},focusInvalid:function(){if(this.settings.focusInvalid){try{a(this.findLastActive()||this.errorList.length&&this.errorList[0].element||[]).filter(":visible").focus()}catch(b){}}},findLastActive:function(){var b=this.lastActive;return b&&a.grep(this.errorList,function(c){return c.element.name==b.name}).length==1&&b},elements:function(){var b=this,c={};return a([]).add(this.currentForm.elements).filter(":input").not(":submit, :reset, :image, [disabled]").not(this.settings.ignore).filter(function(){!this.name&&b.settings.debug&&window.console&&console.error("%o has no name assigned",this);if(this.name in c||!b.objectLength(a(this).rules())){return false}c[this.name]=true;return true})},clean:function(b){return a(b)[0]},errors:function(){return a(this.settings.errorElement+"."+this.settings.errorClass,this.errorContext)},reset:function(){this.successList=[];this.errorList=[];this.errorMap={};this.toShow=a([]);this.toHide=a([]);this.currentElements=a([])},prepareForm:function(){this.reset();this.toHide=this.errors().add(this.containers)},prepareElement:function(b){this.reset();this.toHide=this.errorsFor(b)},check:function(c){c=this.clean(c);if(this.checkable(c)){c=this.findByName(c.name)[0]}var g=a(c).rules();var f=false;for(method in g){var b={method:method,parameters:g[method]};try{if(a.validator.methods[method]){var h=a.validator.methods[method].call(this,c.value.replace(/\r/g,""),c,b.parameters);if(h=="dependency-mismatch"){f=true;continue}f=false;if(h=="pending"){this.toHide=this.toHide.not(this.errorsFor(c));return}if(!h){this.formatAndAdd(c,b);return false}}}catch(d){this.settings.debug&&window.console&&console.log("exception occured when checking element "+c.id+", check the '"+b.method+"' method",d);throw d}}if(f){return}if(this.objectLength(g)){this.successList.push(c)}return true},customMetaMessage:function(b,c){if(!a.metadata){return}var d=this.settings.meta?a(b).metadata()[this.settings.meta]:a(b).metadata();return d&&d.messages&&d.messages[c]},customMessage:function(d,c){var b=this.settings.messages[d];return b&&(b.constructor==String?b:b[c])},findDefined:function(){for(var b=0;b<arguments.length;b++){if(arguments[b]!==undefined){return arguments[b]}}return undefined},defaultMessage:function(c,b){return this.findDefined(this.customMessage(c.name,b),this.customMetaMessage(c,b),!this.settings.ignoreTitle&&c.title||undefined,a.validator.messages[b],"<strong>Warning: No message defined for "+c.name+"</strong>")},formatAndAdd:function(b,c){var d=this.defaultMessage(b,c.method),e=/\$?\{(\d+)\}/g;if(typeof d=="function"){d=d.call(this,c.parameters,b)}else{if(e.test(d)){d=jQuery.format(d.replace(e,"{$1}"),c.parameters)}}this.errorList.push({message:d,element:b});this.errorMap[b.name]=d;this.submitted[b.name]=d},addWrapper:function(b){if(this.settings.wrapper){b=b.add(b.parent(this.settings.wrapper))}return b},defaultShowErrors:function(){for(var c=0;this.errorList[c];c++){var b=this.errorList[c];this.settings.highlight&&this.settings.highlight.call(this,b.element,this.settings.errorClass,this.settings.validClass);this.showLabel(b.element,b.message)}if(this.errorList.length){this.toShow=this.toShow.add(this.containers)}if(this.settings.success){for(var c=0;this.successList[c];c++){this.showLabel(this.successList[c])}}if(this.settings.unhighlight){for(var c=0,d=this.validElements();d[c];c++){this.settings.unhighlight.call(this,d[c],this.settings.errorClass,this.settings.validClass)}}this.toHide=this.toHide.not(this.toShow);this.hideErrors();this.addWrapper(this.toShow).show()},validElements:function(){return this.currentElements.not(this.invalidElements())},invalidElements:function(){return a(this.errorList).map(function(){return this.element})},showLabel:function(b,c){var d=this.errorsFor(b);if(d.length){d.removeClass().addClass(this.settings.errorClass);d.attr("generated")&&d.html(c)}else{d=a("<"+this.settings.errorElement+"/>").attr({"for":this.idOrName(b),generated:true}).addClass(this.settings.errorClass).html(c||"");if(this.settings.wrapper){d=d.hide().show().wrap("<"+this.settings.wrapper+"/>").parent()}if(!this.labelContainer.append(d).length){this.settings.errorPlacement?this.settings.errorPlacement(d,a(b)):d.insertAfter(b)}}if(!c&&this.settings.success){d.text("");typeof this.settings.success=="string"?d.addClass(this.settings.success):this.settings.success(d)}this.toShow=this.toShow.add(d)},errorsFor:function(c){var b=this.idOrName(c);return this.errors().filter(function(){return a(this).attr("for")==b})},idOrName:function(b){return this.groups[b.name]||(this.checkable(b)?b.name:b.id||b.name)},checkable:function(b){return/radio|checkbox/i.test(b.type)},findByName:function(c){var b=this.currentForm;return a(document.getElementsByName(c)).map(function(e,d){return d.form==b&&d.name==c&&d||null})},getLength:function(b,c){switch(c.nodeName.toLowerCase()){case"select":return a("option:selected",c).length;case"input":if(this.checkable(c)){return this.findByName(c.name).filter(":checked").length}}return b.length},depend:function(b,c){return this.dependTypes[typeof b]?this.dependTypes[typeof b](b,c):true},dependTypes:{"boolean":function(b,c){return b},string:function(b,c){return !!a(b,c.form).length},"function":function(b,c){return b(c)}},optional:function(b){return !a.validator.methods.required.call(this,a.trim(b.value),b)&&"dependency-mismatch"},startRequest:function(b){if(!this.pending[b.name]){this.pendingRequest++;this.pending[b.name]=true}},stopRequest:function(c,b){this.pendingRequest--;if(this.pendingRequest<0){this.pendingRequest=0}delete this.pending[c.name];if(b&&this.pendingRequest==0&&this.formSubmitted&&this.form()){a(this.currentForm).submit();this.formSubmitted=false}else{if(!b&&this.pendingRequest==0&&this.formSubmitted){a(this.currentForm).triggerHandler("invalid-form",[this]);this.formSubmitted=false}}},previousValue:function(b){return a.data(b,"previousValue")||a.data(b,"previousValue",{old:null,valid:true,message:this.defaultMessage(b,"remote")})}},classRuleSettings:{required:{required:true},email:{email:true},url:{url:true},date:{date:true},dateISO:{dateISO:true},dateDE:{dateDE:true},number:{number:true},numberDE:{numberDE:true},digits:{digits:true},creditcard:{creditcard:true}},addClassRules:function(b,c){b.constructor==String?this.classRuleSettings[b]=c:a.extend(this.classRuleSettings,b)},classRules:function(b){var c={};var d=a(b).attr("class");d&&a.each(d.split(" "),function(){if(this in a.validator.classRuleSettings){a.extend(c,a.validator.classRuleSettings[this])}});return c},attributeRules:function(b){var c={};var d=a(b);for(method in a.validator.methods){var e=d.attr(method);if(e){c[method]=e}}if(c.maxlength&&/-1|2147483647|524288/.test(c.maxlength)){delete c.maxlength}return c},metadataRules:function(c){if(!a.metadata){return{}}var b=a.data(c.form,"validator").settings.meta;return b?a(c).metadata()[b]:a(c).metadata()},staticRules:function(b){var d={};var c=a.data(b.form,"validator");if(c.settings.rules){d=a.validator.normalizeRule(c.settings.rules[b.name])||{}}return d},normalizeRules:function(b,c){a.each(b,function(e,f){if(f===false){delete b[e];return}if(f.param||f.depends){var d=true;switch(typeof f.depends){case"string":d=!!a(f.depends,c.form).length;break;case"function":d=f.depends.call(c,c);break}if(d){b[e]=f.param!==undefined?f.param:true}else{delete b[e]}}});a.each(b,function(e,d){b[e]=a.isFunction(d)?d(c):d});a.each(["minlength","maxlength","min","max"],function(){if(b[this]){b[this]=Number(b[this])}});a.each(["rangelength","range"],function(){if(b[this]){b[this]=[Number(b[this][0]),Number(b[this][1])]}});if(a.validator.autoCreateRanges){if(b.min&&b.max){b.range=[b.min,b.max];delete b.min;delete b.max}if(b.minlength&&b.maxlength){b.rangelength=[b.minlength,b.maxlength];delete b.minlength;delete b.maxlength}}if(b.messages){delete b.messages}return b},normalizeRule:function(b){if(typeof b=="string"){var c={};a.each(b.split(/\s/),function(){c[this]=true});b=c}return b},addMethod:function(d,c,b){a.validator.methods[d]=c;a.validator.messages[d]=b!=undefined?b:a.validator.messages[d];if(c.length<3){a.validator.addClassRules(d,a.validator.normalizeRule(d))}},methods:{required:function(e,b,d){if(!this.depend(d,b)){return"dependency-mismatch"}switch(b.nodeName.toLowerCase()){case"select":var c=a(b).val();return c&&c.length>0;case"input":if(this.checkable(b)){return this.getLength(e,b)>0}default:return a.trim(e).length>0}},remote:function(e,b,d){if(this.optional(b)){return"dependency-mismatch"}var g=this.previousValue(b);if(!this.settings.messages[b.name]){this.settings.messages[b.name]={}}g.originalMessage=this.settings.messages[b.name].remote;this.settings.messages[b.name].remote=g.message;d=typeof d=="string"&&{url:d}||d;if(g.old!==e){g.old=e;var f=this;this.startRequest(b);var c={};c[b.name]=e;a.ajax(a.extend(true,{url:d,mode:"abort",port:"validate"+b.name,dataType:"json",data:c,success:function(l){f.settings.messages[b.name].remote=g.originalMessage;var h=l===true;if(h){var k=f.formSubmitted;f.prepareElement(b);f.formSubmitted=k;f.successList.push(b);f.showErrors()}else{var j={};var i=(g.message=l||f.defaultMessage(b,"remote"));j[b.name]=a.isFunction(i)?i(e):i;f.showErrors(j)}g.valid=h;f.stopRequest(b,h)}},d));return"pending"}else{if(this.pending[b.name]){return"pending"}}return g.valid},minlength:function(d,b,c){return this.optional(b)||this.getLength(a.trim(d),b)>=c},maxlength:function(d,b,c){return this.optional(b)||this.getLength(a.trim(d),b)<=c},rangelength:function(e,b,d){var c=this.getLength(a.trim(e),b);return this.optional(b)||(c>=d[0]&&c<=d[1])},min:function(d,b,c){return this.optional(b)||d>=c},max:function(d,b,c){return this.optional(b)||d<=c},range:function(d,b,c){return this.optional(b)||(d>=c[0]&&d<=c[1])},email:function(b,c){return this.optional(c)||/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?$/i.test(b)},url:function(b,c){return this.optional(c)||/^(https?|ftp):\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i.test(b)},date:function(b,c){return this.optional(c)||!/Invalid|NaN/.test(new Date(b))},dateISO:function(b,c){return this.optional(c)||/^\d{4}[\/-]\d{1,2}[\/-]\d{1,2}$/.test(b)},number:function(b,c){return this.optional(c)||/^-?(?:\d+|\d{1,3}(?:,\d{3})+)(?:\.\d+)?$/.test(b)},digits:function(b,c){return this.optional(c)||/^\d+$/.test(b)},creditcard:function(f,d){if(this.optional(d)){return"dependency-mismatch"}if(/[^0-9-]+/.test(f)){return false}var c=0,b=0,e=false;f=f.replace(/\D/g,"");for(var h=f.length-1;h>=0;h--){var g=f.charAt(h);var b=parseInt(g,10);if(e){if((b*=2)>9){b-=9}}c+=b;e=!e}return(c%10)==0},accept:function(d,b,c){c=typeof c=="string"?c.replace(/,/g,"|"):"png|jpe?g|gif";return this.optional(b)||d.match(new RegExp(".("+c+")$","i"))},equalTo:function(e,b,d){var c=a(d).unbind(".validate-equalTo").bind("blur.validate-equalTo",function(){a(b).valid()});return e==c.val()}}});a.format=a.validator.format})(jQuery);(function(b){var c=b.ajax;var a={};b.ajax=function(e){e=b.extend(e,b.extend({},b.ajaxSettings,e));var d=e.port;if(e.mode=="abort"){if(a[d]){a[d].abort()}return(a[d]=c.apply(this,arguments))}return c.apply(this,arguments)}})(jQuery);(function(a){a.each({focus:"focusin",blur:"focusout"},function(b,c){a.event.special[c]={setup:function(){if(a.browser.msie){return false}this.addEventListener(b,a.event.special[c].handler,true)},teardown:function(){if(a.browser.msie){return false}this.removeEventListener(b,a.event.special[c].handler,true)},handler:function(d){arguments[0]=a.event.fix(d);arguments[0].type=c;return a.event.handle.apply(this,arguments)}}});a.extend(a.fn,{delegate:function(c,d,b){return this.bind(c,function(f){var e=a(f.target);if(e.is(d)){return b.apply(e,arguments)}})},triggerEvent:function(c,b){return this.triggerHandler(c,[a.event.fix({type:c,target:b})])}})})(jQuery);jQuery.extend(jQuery.validator.messages,{required:"Dieses Feld ist ein Pflichtfeld.",maxlength:jQuery.format("Geben Sie bitte maximal {0} Zeichen ein."),minlength:jQuery.format("Geben Sie bitte mindestens {0} Zeichen ein."),rangelength:jQuery.format("Geben Sie bitte mindestens {0} und maximal {1} Zeichen ein."),email:"Geben Sie bitte eine gültige E-Mail Adresse ein.",url:"Geben Sie bitte eine gültige URL ein.",dateDE:"Bitte geben Sie ein gültiges Datum ein.",numberDE:"Geben Sie bitte eine Nummer ein.",digits:"Geben Sie bitte nur Ziffern ein.",equalTo:"Bitte denselben Wert wiederholen.",range:jQuery.format("Geben Sie bitten einen Wert zwischen {0} und {1}."),max:jQuery.format("Geben Sie bitte einen Wert kleiner oder gleich {0} ein."),min:jQuery.format("Geben Sie bitte einen Wert größer oder gleich {0} ein."),creditcard:"Geben Sie bitte ein gültige Kreditkarten-Nummer ein."});(function(a){a.fn.ajaxSubmit=function(f){if(!this.length){b("ajaxSubmit: skipping submit process - no element selected");return this}if(typeof f=="function"){f={success:f}}var g=this.attr("action")||window.location.href;g=(g.match(/^([^#]+)/)||[])[1];g=g||"";f=a.extend({url:g,type:this.attr("method")||"GET"},f||{});var c={};this.trigger("form-pre-serialize",[this,f,c]);if(c.veto){b("ajaxSubmit: submit vetoed via form-pre-serialize trigger");return this}if(f.beforeSerialize&&f.beforeSerialize(this,f)===false){b("ajaxSubmit: submit aborted via beforeSerialize callback");return this}var m=this.formToArray(f.semantic);if(f.data){f.extraData=f.data;for(var r in f.data){if(f.data[r] instanceof Array){for(var p in f.data[r]){m.push({name:r,value:f.data[r][p]})}}else{m.push({name:r,value:f.data[r]})}}}if(f.beforeSubmit&&f.beforeSubmit(m,this,f)===false){b("ajaxSubmit: submit aborted via beforeSubmit callback");return this}this.trigger("form-submit-validate",[m,this,f,c]);if(c.veto){b("ajaxSubmit: submit vetoed via form-submit-validate trigger");return this}var i=a.param(m);if(f.type.toUpperCase()=="GET"){f.url+=(f.url.indexOf("?")>=0?"&":"?")+i;f.data=null}else{f.data=i}var d=this,l=[];if(f.resetForm){l.push(function(){d.resetForm()})}if(f.clearForm){l.push(function(){d.clearForm()})}if(!f.dataType&&f.target){var h=f.success||function(){};l.push(function(j){a(f.target).html(j).each(h,arguments)})}else{if(f.success){l.push(f.success)}}f.success=function(q,k){for(var n=0,j=l.length;n<j;n++){l[n].apply(f,[q,k,d])}};var s=a("input:file",this).fieldValue();var t=false;for(var o=0;o<s.length;o++){if(s[o]){t=true}}if(f.iframe||t){if(f.closeKeepAlive){a.get(f.closeKeepAlive,e)}else{e()}}else{a.ajax(f)}this.trigger("form-submit-notify",[this,f]);return this;function e(){var z=d[0];if(a(":input[name=submit]",z).length){alert('Error: Form elements must not be named "submit".');return}var v=a.extend({},a.ajaxSettings,f);var B=a.extend(true,{},a.extend(true,{},a.ajaxSettings),v);var w="jqFormIO"+(new Date().getTime());var y=a('<iframe id="'+w+'" name="'+w+'" src="about:blank" />');var F=y[0];y.css({position:"absolute",top:"-1000px",left:"-1000px"});var A={aborted:0,responseText:null,responseXML:null,status:0,statusText:"n/a",getAllResponseHeaders:function(){},getResponseHeader:function(){},setRequestHeader:function(){},abort:function(){this.aborted=1;y.attr("src","about:blank")}};var k=v.global;if(k&&!a.active++){a.event.trigger("ajaxStart")}if(k){a.event.trigger("ajaxSend",[A,v])}if(B.beforeSend&&B.beforeSend(A,B)===false){B.global&&a.active--;return}if(A.aborted){return}var C=0;var q=0;var j=z.clk;if(j){var D=j.name;if(D&&!j.disabled){f.extraData=f.extraData||{};f.extraData[D]=j.value;if(j.type=="image"){f.extraData[name+".x"]=z.clk_x;f.extraData[name+".y"]=z.clk_y}}}setTimeout(function(){var J=d.attr("target"),I=d.attr("action");z.setAttribute("target",w);if(z.getAttribute("method")!="POST"){z.setAttribute("method","POST")}if(z.getAttribute("action")!=v.url){z.setAttribute("action",v.url)}if(!f.skipEncodingOverride){d.attr({encoding:"multipart/form-data",enctype:"multipart/form-data"})}if(v.timeout){setTimeout(function(){q=true;E()},v.timeout)}var G=[];try{if(f.extraData){for(var H in f.extraData){G.push(a('<input type="hidden" name="'+H+'" value="'+f.extraData[H]+'" />').appendTo(z)[0])}}y.appendTo("body");F.attachEvent?F.attachEvent("onload",E):F.addEventListener("load",E,false);z.submit()}finally{z.setAttribute("action",I);J?z.setAttribute("target",J):d.removeAttr("target");a(G).remove()}},10);var x=0;function E(){if(C++){return}F.detachEvent?F.detachEvent("onload",E):F.removeEventListener("load",E,false);var G=true;try{if(q){throw"timeout"}var J,I;I=F.contentWindow?F.contentWindow.document:F.contentDocument?F.contentDocument:F.document;if((I.body==null||I.body.innerHTML=="")&&!x){x=1;C--;setTimeout(E,100);return}A.responseText=I.body?I.body.innerHTML:null;A.responseXML=I.XMLDocument?I.XMLDocument:I;A.getResponseHeader=function(L){var K={"content-type":v.dataType};return K[L]};if(v.dataType=="json"||v.dataType=="script"){var H=I.getElementsByTagName("textarea")[0];A.responseText=H?H.value:A.responseText}else{if(v.dataType=="xml"&&!A.responseXML&&A.responseText!=null){A.responseXML=u(A.responseText)}}J=a.httpData(A,v.dataType)}catch(n){G=false;a.handleError(v,A,"error",n)}if(G){v.success(J,"success");if(k){a.event.trigger("ajaxSuccess",[A,v])}}if(k){a.event.trigger("ajaxComplete",[A,v])}if(k&&!--a.active){a.event.trigger("ajaxStop")}if(v.complete){v.complete(A,G?"success":"error")}setTimeout(function(){y.remove();A.responseXML=null},100)}function u(G,n){if(window.ActiveXObject){n=new ActiveXObject("Microsoft.XMLDOM");n.async="false";n.loadXML(G)}else{n=(new DOMParser()).parseFromString(G,"text/xml")}return(n&&n.documentElement&&n.documentElement.tagName!="parsererror")?n:null}}};a.fn.ajaxForm=function(c){return this.ajaxFormUnbind().bind("submit.form-plugin",function(){a(this).ajaxSubmit(c);return false}).each(function(){a(":submit,input:image",this).bind("click.form-plugin",function(f){var g=this.form;g.clk=this;if(this.type=="image"){if(f.offsetX!=undefined){g.clk_x=f.offsetX;g.clk_y=f.offsetY}else{if(typeof a.fn.offset=="function"){var d=a(this).offset();g.clk_x=f.pageX-d.left;g.clk_y=f.pageY-d.top}else{g.clk_x=f.pageX-this.offsetLeft;g.clk_y=f.pageY-this.offsetTop}}}setTimeout(function(){g.clk=g.clk_x=g.clk_y=null},10)})})};a.fn.ajaxFormUnbind=function(){this.unbind("submit.form-plugin");return this.each(function(){a(":submit,input:image",this).unbind("click.form-plugin")})};a.fn.formToArray=function(g){var d=[];if(this.length==0){return d}var h=this[0];var c=g?h.getElementsByTagName("*"):h.elements;if(!c){return d}for(var p=0,f=c.length;p<f;p++){var r=c[p];var q=r.name;if(!q){continue}if(g&&h.clk&&r.type=="image"){if(!r.disabled&&h.clk==r){d.push({name:q+".x",value:h.clk_x},{name:q+".y",value:h.clk_y})}continue}var m=a.fieldValue(r,true);if(m&&m.constructor==Array){for(var o=0,e=m.length;o<e;o++){d.push({name:q,value:m[o]})}}else{if(m!==null&&typeof m!="undefined"){d.push({name:q,value:m})}}}if(!g&&h.clk){var k=h.getElementsByTagName("input");for(var p=0,f=k.length;p<f;p++){var l=k[p];var q=l.name;if(q&&!l.disabled&&l.type=="image"&&h.clk==l){d.push({name:q+".x",value:h.clk_x},{name:q+".y",value:h.clk_y})}}}return d};a.fn.formSerialize=function(c){return a.param(this.formToArray(c))};a.fn.fieldSerialize=function(c){var d=[];this.each(function(){var h=this.name;if(!h){return}var g=a.fieldValue(this,c);if(g&&g.constructor==Array){for(var f=0,e=g.length;f<e;f++){d.push({name:h,value:g[f]})}}else{if(g!==null&&typeof g!="undefined"){d.push({name:this.name,value:g})}}});return a.param(d)};a.fn.fieldValue=function(d){for(var c=[],h=0,g=this.length;h<g;h++){var e=this[h];var f=a.fieldValue(e,d);if(f===null||typeof f=="undefined"||(f.constructor==Array&&!f.length)){continue}f.constructor==Array?a.merge(c,f):c.push(f)}return c};a.fieldValue=function(l,j){var q=l.name,m=l.type,e=l.tagName.toLowerCase();if(typeof j=="undefined"){j=true}if(j&&(!q||l.disabled||m=="reset"||m=="button"||(m=="checkbox"||m=="radio")&&!l.checked||(m=="submit"||m=="image")&&l.form&&l.form.clk!=l||e=="select"&&l.selectedIndex==-1)){return null}if(e=="select"){var k=l.selectedIndex;if(k<0){return null}var c=[],d=l.options;var f=(m=="select-one");var g=(f?k+1:d.length);for(var p=(f?k:0);p<g;p++){var o=d[p];if(o.selected){var h=o.value;if(!h){h=(o.attributes&&o.attributes.value&&!(o.attributes.value.specified))?o.text:o.value}if(f){return h}c.push(h)}}return c}return l.value};a.fn.clearForm=function(){return this.each(function(){a("input,select,textarea",this).clearFields()})};a.fn.clearFields=a.fn.clearInputs=function(){return this.each(function(){var d=this.type,c=this.tagName.toLowerCase();if(d=="text"||d=="password"||c=="textarea"){this.value=""}else{if(d=="checkbox"||d=="radio"){this.checked=false}else{if(c=="select"){this.selectedIndex=-1}}}})};a.fn.resetForm=function(){return this.each(function(){if(typeof this.reset=="function"||(typeof this.reset=="object"&&!this.reset.nodeType)){this.reset()}})};a.fn.enable=function(c){if(c==undefined){c=true}return this.each(function(){this.disabled=!c})};a.fn.selected=function(c){if(c==undefined){c=true}return this.each(function(){var d=this.type;if(d=="checkbox"||d=="radio"){this.checked=c}else{if(this.tagName.toLowerCase()=="option"){var e=a(this).parent("select");if(c&&e[0]&&e[0].type=="select-one"){e.find("option").selected(false)}this.selected=c}}})};function b(){if(a.fn.ajaxSubmit.debug&&window.console&&window.console.log){window.console.log("[jquery.form] "+Array.prototype.join.call(arguments,""))}}})(jQuery);(function(a){function b(){this._curHash="";this._callback=function(c){}}a.extend(b.prototype,{init:function(d){this._callback=d;this._curHash=location.hash;if(a.browser.msie){if(this._curHash==""){this._curHash="#"}if(!a("#jQuery_history").size()){a("body").prepend('<iframe id="jQuery_history" style="display: none;"></iframe>')}var c=a("#jQuery_history")[0].contentWindow.document;c.open();c.close();c.location.hash=this._curHash}else{if(a.browser.safari){this._historyBackStack=[];this._historyBackStack.length=history.length;this._historyForwardStack=[];this._isFirst=true;this._dontCheck=false}}this._callback(this._curHash.replace(/^#/,""));setInterval(this._check,100)},add:function(c){this._historyBackStack.push(c);this._historyForwardStack.length=0;this._isFirst=true},_check:function(){if(a.browser.msie){var e=a("#jQuery_history")[0];var c=e.contentDocument||e.contentWindow.document;var d=c.location.hash;if(d!=a.history._curHash){location.hash=d;a.history._curHash=d;a.history._callback(d.replace(/^#/,""))}}else{if(a.browser.safari){if(!a.history._dontCheck){var h=history.length-a.history._historyBackStack.length;if(h){a.history._isFirst=false;if(h<0){for(var g=0;g<Math.abs(h);g++){a.history._historyForwardStack.unshift(a.history._historyBackStack.pop())}}else{for(var g=0;g<h;g++){a.history._historyBackStack.push(a.history._historyForwardStack.shift())}}var f=a.history._historyBackStack[a.history._historyBackStack.length-1];if(f!=undefined){a.history._curHash=location.hash;a.history._callback(f)}}else{if(a.history._historyBackStack[a.history._historyBackStack.length-1]==undefined&&!a.history._isFirst){if(location.hash.indexOf("#")>=0){a.history._callback(location.hash.split("#")[1])}else{a.history._callback("")}a.history._isFirst=true}}}}else{var d=location.hash;if(d!=a.history._curHash){a.history._curHash=d;a.history._callback(d.replace(/^#/,""))}}}},isKonqueror:function(){return/KHTML|Konqueror/.test(navigator.userAgent)},load:function(c){var e;if(a.browser.safari){e=c}else{e=(this.isKonqueror()?"":"#")+c;location.hash=e}this._curHash=e;if(a.browser.msie){var d=a("#jQuery_history")[0];var f=d.contentWindow.document;f.open();f.close();f.location.hash=e;this._callback(c)}else{if(a.browser.safari){this._dontCheck=true;this.add(c);var g=function(){a.history._dontCheck=false};window.setTimeout(g,200);this._callback(c);location.hash=e}else{this._callback(c)}}}});a(document).ready(function(){a.history=new b()})})(jQuery);(function(w){jQuery.fn.hijax=function(A){g=w.extend({},w.fn.hijax.defaults,A||g);if(typeof w.history.load==="function"&&g.historySize>0){f=new Array();b=true;w.history.init(v);b=false}a(this);return this};w.fn.hijax.defaults={hijaxedCSSClass:"hijaxed",animationSpeed:400,animationEffect:"fade",partialAnimationClass:"hijax_Partialanimation",loaderIcon:0,loaderIconTarget:0,historySize:5,focusOnShow:0,beforeSubmit:0,contentLoaded:0,fadeInComplete:0};function a(A){w("."+g.hijaxedCSSClass+"[target]",A).not("form").bind("click",c);w("form."+g.hijaxedCSSClass,A).each(function(){var D=w(this);if(typeof D.ajaxForm!="function"){throw new Error("jquery.hijax needs the jquery.form plugin to hijax forms.")}var C=l(D);var B={success:u,beforeSubmit:k};D.ajaxForm(B)})}var g;var o=false;var y=0;var f;var b;function v(B){if(!b){if(B==""){B=0}if(f[B]!=null){var A=w(f[B].selector);z(A);A.html(f[B].innerHTML);a(A);y=B}}}function z(A){f.push({selector:A.selector,urlName:y,innerHTML:A.html()})}function d(A){if(typeof w.history.load==="function"){while(f.length>y){f.pop()}if(f.length>(y-g.historySize)){f[y-g.historySize-1]=null}z(A);b=true;w.history.load(++y);b=false}}function k(C,D){if(((typeof D.valid=="function")&&(!D.valid()))||D.attr("disabled")=="disabled"){return false}w(D).attr("disabled","disabled");var A=l(D);var B=t(D);if(A.historySize>0){d(B)}q(A);p(B,A)}function c(){if(!o){o=true;var C=w(this);var E=w(C.attr("target"));if(E.length===0){throw new Error("jquery.hijax: hijaxed anchor target matches no elements")}if(C.attr("href")===undefined){throw new Error("jquery.hijax: hijaxed ancor is missing href attribute")}var F=l(C);if(F.historySize>0){d(E)}var B=E;if(F.animationSpeed>0){B=m(E)}q(F);var D=function(){x(w(this),F,E)};if(C.attr("method")=="post"){var A=C.attr("href").split("?");B.load(A[0],n((A.length==2)?A[1]:" dummy= 1 "),D)}else{B.load(C.attr("href"),D)}p(E,F)}return false}function m(B){var A=w("<div id='hijaxedcontentCache' style='display:none'>");B.append(A);return A}function e(B,C){a(B);try{if(typeof C.contentLoaded=="function"){C.contentLoaded(B)}}catch(A){}}function i(F,C,E){if(E.animationSpeed>0){if(F.data("contentCache")!==undefined){F.empty().hide().append(F.data("contentCache")).removeData("contentCache");e(F,E)}var B=w("#hijaxedcontentCache",F);if(B.length>0){e(w("#hijaxedcontentCache",F),E);F.children().not("#hijaxedcontentCache").remove();B.children().appendTo(F);w("#hijaxedcontentCache",F).remove()}if(E.focusOnShow){w(E.focusOnShow).focus()}F.removeData("animState");var D=(typeof E.fadeInComplete=="function")?function(){try{E.fadeInComplete(F)}catch(G){}}:undefined;F.data("animState",undefined);var A=r(F,E);A.hide();switch(E.animationEffect){case"hide":A.show(E.animationSpeed,D);break;case"fade":A.fadeIn(E.animationSpeed,D);break;case"slide":A.slideDown(E.animationSpeed,D);break;default:throw new Error("jquery.hijax: invalid animationEffect parameter")}}}function r(A,B){var C=w("."+B.partialAnimationClass,A);return C.length?C:A}function p(C,D){var B=D.animationSpeed*0.66;if(C.is(":hidden")||(B===0)){C.data("animState","hidden");s(C,D)}else{var A=function(){h(C,D)};var E=r(C,D);switch(D.animationEffect){case"hide":E.hide(B,A);break;case"fade":E.fadeOut(B,A);break;case"slide":E.slideUp(B,A);break;default:throw new Error("jquery.hijax: invalid animationEffect parameter")}C.data("animState","hiding")}}function h(A,B){if(A.data("animState")=="loaded"){i(A,false,B)}else{s(A,B);A.data("animState","hidden")}}function s(B,C){var D="<img alt='loading...' id='hijaxed-loading-icon' src='"+C.loaderIcon+"'>";if(C.loaderIcon!==0){if(C.loaderIconTarget===0){animationTarget=r(B,C);if(C.animationSpeed===0){animationTarget.append(D)}else{animationTarget.children().not("#hijaxedcontentCache").remove();animationTarget.hide().append(D).slideDown("slow")}}else{var A=w(C.loaderIconTarget);if(A.length===0){throw new Error("jquery.hijax: loaderIconTarget matches no elements")}A.append(D)}}}function j(){w("#hijaxed-loading-icon").remove()}function t(B){if(B.attr("target")){var A=w(B.attr("target"));if(A.length==0){throw new Error("invalid form target!")}return A}else{return B}}function u(E,B,C){w(C).removeAttr("disabled");j();if(B=="success"){var D=l(C);var A=t(C);if(D.animationSpeed>0){m(A).append(E);if(A.data("animState")=="hidden"){i(A,false,D)}else{A.data("animState","loaded")}}else{A.empty().append(E);e(A,D)}}}function l(A){return typeof A.metadata=="function"?w.extend("true",{},g,A.metadata()):g}function x(B,D,C){j();var A=C;if(D.animationSpeed>0){if(A.data("animState")=="hidden"){i(A,false,D)}else{A.data("animState","loaded")}}else{e(A,D)}o=false}function n(B){var G={};if(B==null){B=location.search.substring(1,location.search.length)}if(B.length==0){return}B=B.replace(/\+/g," ");var D=B.split("&");for(var F=0;F<D.length;F++){var E=D[F].split("=");var C=decodeURIComponent(E[0]);var A=(E.length==2)?decodeURIComponent(E[1]):C;G[C]=A}return G}function q(B){if(typeof B.beforeSubmit=="function"){try{B.beforeSubmit(form)}catch(A){}}}})(jQuery);(function(a){a.tools=a.tools||{version:"@VERSION"};a.tools.tabs={conf:{tabs:"a",current:"current",onBeforeClick:null,onClick:null,effect:"default",initialIndex:0,event:"click",rotate:false,history:false},addEffect:function(f,e){c[f]=e}};var c={"default":function(e,f){this.getPanes().hide().eq(e).show();f.call()},fade:function(h,e){var j=this.getConf(),f=j.fadeOutSpeed,g=this.getPanes();if(f){g.fadeOut(f)}else{g.hide()}g.eq(h).fadeIn(j.fadeInSpeed,e)},slide:function(e,f){this.getPanes().slideUp(200);this.getPanes().eq(e).slideDown(400,f)},ajax:function(e,f){this.getPanes().eq(0).load(this.getTabs().eq(e).attr("href"),f)}};var d;a.tools.tabs.addEffect("horizontal",function(e,f){if(!d){d=this.getPanes().eq(0).width()}this.getCurrentPane().animate({width:0},function(){a(this).hide()});this.getPanes().eq(e).animate({width:d},function(){a(this).show();f.call()})});function b(f,j,g){var e=this,h=f.add(this),i=f.find(g.tabs),l=j.jquery?j:f.children(j),k;if(!i.length){i=f.children()}if(!l.length){l=f.parent().find(j)}if(!l.length){l=a(j)}a.extend(this,{click:function(n,m){var p=i.eq(n);if(typeof n=="string"&&n.replace("#","")){p=i.filter("[href*="+n.replace("#","")+"]");n=Math.max(i.index(p),0)}if(g.rotate){var o=i.length-1;if(n<0){return e.click(o,m)}if(n>o){return e.click(0,m)}}if(!p.length){if(k>=0){return e}n=g.initialIndex;p=i.eq(n)}if(n===k){return e}m=m||a.Event();m.type="onBeforeClick";h.trigger(m,[n]);if(m.isDefaultPrevented()){return}c[g.effect].call(e,n,function(){m.type="onClick";h.trigger(m,[n])});k=n;i.removeClass(g.current);p.addClass(g.current);return e},getConf:function(){return g},getTabs:function(){return i},getPanes:function(){return l},getCurrentPane:function(){return l.eq(k)},getCurrentTab:function(){return i.eq(k)},getIndex:function(){return k},next:function(){return e.click(k+1)},prev:function(){return e.click(k-1)},destroy:function(){i.unbind(g.event).removeClass(g.current);l.find("a[href^=#]").unbind("click.T");return e}});a.each("onBeforeClick,onClick".split(","),function(m,n){if(a.isFunction(g[n])){a(e).bind(n,g[n])}e[n]=function(o){a(e).bind(n,o);return e}});if(g.history&&a.fn.history){a.tools.history.init(i);g.event="history"}i.each(function(m){a(this).bind(g.event,function(n){e.click(m,n);return n.preventDefault()})});l.find("a[href^=#]").bind("click.T",function(m){e.click(a(this).attr("href"),m)});if(location.hash){e.click(location.hash)}else{if(g.initialIndex===0||g.initialIndex>0){e.click(g.initialIndex)}}}a.fn.tabs=function(g,e){var f=this.data("tabs");if(f){f.destroy();this.removeData("tabs")}if(a.isFunction(e)){e={onBeforeClick:e}}e=a.extend({},a.tools.tabs.conf,e);this.each(function(){f=new b(a(this),g,e);a(this).data("tabs",f)});return e.api?f:this}})(jQuery);(function(a){var b;b=a.tools.tabs.slideshow={conf:{next:".forward",prev:".backward",disabledClass:"disabled",autoplay:false,autopause:true,interval:3000,clickable:true,api:false}};function c(e,p){var n=this,o=e.add(this),j=e.data("tabs"),q,l,f,i=false;function g(r){var s=a(r);return s.length<2?s:e.parent().find(r)}var m=g(p.next).click(function(){j.next()});var k=g(p.prev).click(function(){j.prev()});a.extend(n,{getTabs:function(){return j},getConf:function(){return p},play:function(){if(q){return}var r=a.Event("onBeforePlay");o.trigger(r);if(r.isDefaultPrevented()){return n}i=false;q=setInterval(j.next,p.interval);o.trigger("onPlay");j.next()},pause:function(){if(!q){return n}var r=a.Event("onBeforePause");o.trigger(r);if(r.isDefaultPrevented()){return n}q=clearInterval(q);f=clearInterval(f);o.trigger("onPause")},stop:function(){n.pause();i=true}});a.each("onBeforePlay,onPlay,onBeforePause,onPause".split(","),function(r,s){if(a.isFunction(p[s])){n.bind(s,p[s])}n[s]=function(t){return n.bind(s,t)}});if(p.autopause){var d=j.getTabs().add(m).add(k).add(j.getPanes());d.hover(function(){n.pause();l=clearInterval(l)},function(){if(!i){l=setTimeout(n.play,p.interval)}})}if(p.autoplay){f=setTimeout(n.play,p.interval)}else{n.stop()}if(p.clickable){j.getPanes().click(function(){j.next()})}if(!j.getConf().rotate){var h=p.disabledClass;if(!j.getIndex()){k.addClass(h)}j.onBeforeClick(function(r,s){if(!s){k.addClass(h)}else{k.removeClass(h);if(s==j.getTabs().length-1){m.addClass(h)}else{m.removeClass(h)}}})}}a.fn.slideshow=function(d){var e=this.data("slideshow");if(e){return e}d=a.extend({},b.conf,d);this.each(function(){e=new c(a(this),d);a(this).data("slideshow",e)});return d.api?e:this}})(jQuery);(function(a){a.fn.tabSlideOut=function(h){var e=a.extend({tabHandle:".handle",speed:300,action:"click",tabLocation:"left",topPos:"200px",leftPos:"20px",fixedPosition:true,positioning:"absolute",pathToTabImage:null,imageHeight:null,imageWidth:null,onLoadSlideOut:false},h||{});e.tabHandle=a(e.tabHandle);var j=this;if(e.fixedPosition===true){e.positioning="fixed"}else{e.positioning="absolute"}if(document.all&&!window.opera&&!window.XMLHttpRequest){e.positioning="absolute"}if(e.pathToTabImage!=null){e.tabHandle.css({background:"url("+e.pathToTabImage+") no-repeat",width:e.imageWidth,height:e.imageHeight})}e.tabHandle.css({display:"block",textIndent:"-99999px",outline:"none",position:"absolute"});j.css({"line-height":"1",position:e.positioning});var f={containerWidth:parseInt((j.outerWidth()),10)+"px",containerHeight:parseInt(j.outerHeight(),10)+"px",tabWidth:parseInt(e.tabHandle.outerWidth(),10)+"px",tabHeight:parseInt(e.tabHandle.outerHeight(),10)+"px"};if(e.tabLocation==="top"||e.tabLocation==="bottom"){j.css({left:e.leftPos});e.tabHandle.css({right:0})}if(e.tabLocation==="top"){j.css({top:"-"+f.containerHeight});e.tabHandle.css({bottom:"-"+f.tabHeight})}if(e.tabLocation==="bottom"){j.css({bottom:"-"+f.containerHeight,position:"fixed"});e.tabHandle.css({top:"-"+f.tabHeight})}if(e.tabLocation==="left"||e.tabLocation==="right"){j.css({height:f.containerHeight,top:e.topPos});e.tabHandle.css({top:0})}if(e.tabLocation==="left"){j.css({left:"-"+f.containerWidth});e.tabHandle.css({right:"-"+f.tabWidth})}if(e.tabLocation==="right"){j.css({right:"-"+f.containerWidth});e.tabHandle.css({left:"-"+f.tabWidth});a("html").css("overflow-x","hidden")}e.tabHandle.click(function(l){l.preventDefault()});var b=function(){if(e.tabLocation==="top"){j.animate({top:"-"+f.containerHeight},e.speed).removeClass("open")}else{if(e.tabLocation==="left"){j.animate({left:"-"+f.containerWidth},e.speed).removeClass("open")}else{if(e.tabLocation==="right"){j.animate({right:"-"+f.containerWidth},e.speed).removeClass("open")}else{if(e.tabLocation==="bottom"){j.animate({bottom:"-"+f.containerHeight},e.speed).removeClass("open")}}}}};var c=function(){if(e.tabLocation=="top"){j.animate({top:"-3px"},e.speed).addClass("open")}else{if(e.tabLocation=="left"){j.animate({left:"-3px"},e.speed).addClass("open")}else{if(e.tabLocation=="right"){j.animate({right:"-3px"},e.speed).addClass("open")}else{if(e.tabLocation=="bottom"){j.animate({bottom:"-3px"},e.speed).addClass("open")}}}}};var d=function(){j.click(function(l){l.stopPropagation()});a(document).click(function(){b()})};var i=function(){e.tabHandle.click(function(l){if(j.hasClass("open")){b()}else{c()}});d()};var k=function(){j.hover(function(){c()},function(){b()});e.tabHandle.click(function(l){if(j.hasClass("open")){b()}});d()};var g=function(){b();setTimeout(c,500)};if(e.action==="click"){i()}if(e.action==="hover"){k()}if(e.onLoadSlideOut){g()}}})(jQuery);var xVal=xVal||{};xVal.Plugins=xVal.Plugins||{};xVal.Messages=xVal.Messages||{};xVal.AttachValidator=function(c,a,d){if(d!=null){this.Plugins[d].AttachValidator(c,a)}else{for(var b in this.Plugins){this.Plugins[b].AttachValidator(c,a);return}}};xVal.AttachValidatorToForm=function(a,c,f,d,e){if(d!=null){this.Plugins[d].AttachValidatorToForm(a,c,f,e)}else{for(var b in this.Plugins){this.Plugins[b].AttachValidatorToForm(a,c,f,e);return}}};(function($){xVal.Plugins["jquery.validate"]={AttachValidator:function(elementPrefix,rulesConfig){this._ensureCustomFunctionsRegistered();for(var i=0;i<rulesConfig.Fields.length;i++){var fieldName=rulesConfig.Fields[i].FieldName;var fieldRules=rulesConfig.Fields[i].FieldRules;var elemId=this._makeAspNetMvcHtmlHelperID((elementPrefix?elementPrefix+".":"")+fieldName);var elem=document.getElementById(elemId);if(elem){for(var j=0;j<fieldRules.length;j++){var ruleName=fieldRules[j].RuleName;var ruleParams=fieldRules[j].RuleParameters;var errorText=(typeof(fieldRules[j].Message)=="undefined"?null:fieldRules[j].Message);this._attachRuleToDOMElement(ruleName,ruleParams,errorText,$(elem),elementPrefix)}}}},AttachValidatorToForm:function(elementPrefix,rulesConfig,form,searchByIdAndName){this._ensureCustomFunctionsRegistered();for(var i=0;i<rulesConfig.Fields.length;i++){var fieldName=rulesConfig.Fields[i].FieldName;var fieldRules=rulesConfig.Fields[i].FieldRules;var elemId=this._makeAspNetMvcHtmlHelperID((elementPrefix?elementPrefix+".":"")+fieldName);var elem=$("#"+elemId,form);if(searchByIdAndName&&elem.length==0){elem=$("input[name="+elemId+"]",form)}if(elem.length){for(var j=0;j<fieldRules.length;j++){var ruleName=fieldRules[j].RuleName;var ruleParams=fieldRules[j].RuleParameters;var errorText=(typeof(fieldRules[j].Message)=="undefined"?null:fieldRules[j].Message);this._attachRuleToDOMElement(ruleName,ruleParams,errorText,$(elem),elementPrefix,form)}}}},_makeAspNetMvcHtmlHelperID:function(fullyQualifiedModelName){return fullyQualifiedModelName.replace(".","_")},_attachRuleToDOMElement:function(ruleName,ruleParams,errorText,element,elementPrefix,parentForm){if(parentForm==null){parentForm=element.parents("form")}if(parentForm.length!=1){alert("Error: Element "+element.attr("id")+" is not in a form")}this._ensureFormIsMarkedForValidation($(parentForm[0]));this._associateNearbyValidationMessageSpanWithElement(element);var options={};switch(ruleName){case"Required":options.required=true;options.messages={required:errorText||xVal.Messages.Required};break;case"Range":if(ruleParams.Type=="string"){options.xVal_stringRange=[ruleParams.Min,ruleParams.Max];if(errorText!=null){options.messages={xVal_stringRange:$.format(errorText)}}}else{if(ruleParams.Type=="datetime"){var minDate,maxDate;if(typeof(ruleParams.MinYear)!="undefined"){minDate=new Date(ruleParams.MinYear,ruleParams.MinMonth-1,ruleParams.MinDay,ruleParams.MinHour,ruleParams.MinMinute,ruleParams.MinSecond)}else{if(typeof(ruleParams.MaxYear)!="undefined"){maxDate=new Date(ruleParams.MaxYear,ruleParams.MaxMonth-1,ruleParams.MaxDay,ruleParams.MaxHour,ruleParams.MaxMinute,ruleParams.MaxSecond)}}options.xVal_dateRange=[minDate,maxDate];if(errorText!=null){options.messages={xVal_dateRange:$.format(errorText)}}}else{if(typeof(ruleParams.Min)=="undefined"){options.max=ruleParams.Max;errorText=errorText||xVal.Messages.Range_Numeric_Max;if(errorText!=null){options.messages={max:$.format(errorText)}}}else{if(typeof(ruleParams.Max)=="undefined"){options.min=ruleParams.Min;errorText=errorText||xVal.Messages.Range_Numeric_Min;if(errorText!=null){options.messages={min:$.format(errorText)}}}else{options.range=[ruleParams.Min,ruleParams.Max];errorText=errorText||xVal.Messages.Range_Numeric_MinMax;if(errorText!=null){options.messages={range:$.format(errorText)}}}}}}break;case"StringLength":if(typeof(ruleParams.MinLength)=="undefined"){options.maxlength=ruleParams.MaxLength;errorText=errorText||xVal.Messages.StringLength_Max;if(errorText!=null){options.messages={maxlength:$.format(errorText)}}}else{if(typeof(ruleParams.MaxLength)=="undefined"){options.minlength=ruleParams.MinLength;errorText=errorText||xVal.Messages.StringLength_Min;if(errorText!=null){options.messages={minlength:$.format(errorText)}}}else{options.rangelength=[ruleParams.MinLength,ruleParams.MaxLength];errorText=errorText||xVal.Messages.StringLength_MinMax;if(errorText!=null){options.messages={rangelength:$.format(errorText)}}}}break;case"DataType":switch(ruleParams.Type){case"EmailAddress":options.email=true;options.messages={email:errorText||xVal.Messages.DataType_EmailAddress};break;case"Integer":options.xVal_regex=["^\\-?\\d+$",""];options.messages={xVal_regex:errorText||xVal.Messages.DataType_Integer||"Please enter a whole number."};break;case"Decimal":options.number=true;options.messages={number:errorText||xVal.Messages.DataType_Decimal};break;case"Date":options.date=true;options.messages={date:errorText||xVal.Messages.DataType_Date};break;case"DateTime":options.xVal_regex=["^\\d{1,2}/\\d{1,2}/(\\d{2}|\\d{4})\\s+\\d{1,2}\\:\\d{2}(\\:\\d{2})?$",""];options.messages={xVal_regex:errorText||xVal.Messages.DataType_DateTime||"Please enter a valid date and time."};break;case"Currency":options.xVal_regex=["^\\D?\\s?([0-9]{1,3},([0-9]{3},)*[0-9]{3}|[0-9]+)(.[0-9][0-9])?$",""];options.messages={xVal_regex:errorText||xVal.Messages.DataType_Currency||"Please enter a currency value."};break;case"CreditCardLuhn":options.xVal_creditCardLuhn=true;if(errorText!=null){options.messages={xVal_creditCardLuhn:errorText}}break}break;case"RegEx":options.xVal_regex=[ruleParams.Pattern,ruleParams.Options];if(errorText!=null){options.messages={xVal_regex:errorText}}break;case"Comparison":var elemToCompareId=this._makeAspNetMvcHtmlHelperID((elementPrefix?elementPrefix+".":"")+ruleParams.PropertyToCompare);var elemToCompare=document.getElementById(elemToCompareId);if(elemToCompare!=null){options.xVal_comparison=[ruleParams.PropertyToCompare,elemToCompare,ruleParams.ComparisonOperator];if(errorText!=null){options.messages={xVal_comparison:errorText}}}break;case"Custom":var ruleFunction=this._parseAsFunctionWithWarnings(ruleParams.Function);if(ruleFunction!=null){var customFunctionName=this._registerCustomValidationFunction(ruleFunction);var evaluatedParams=ruleParams.Parameters=="null"?null:eval("("+ruleParams.Parameters+")");options[customFunctionName]=evaluatedParams||true;options.messages=[];options.messages[customFunctionName]=errorText}break}element.rules("add",options)},_parseAsFunctionWithWarnings:function(functionString){var result;try{result=eval("("+functionString+")")}catch(ex){alert("Custom rule error: Could not find or could not parse the function '"+functionString+"'");return null}if(typeof(result)!="function"){alert("Custom rule error: The JavaScript object '"+functionString+"' is not a function.");return null}return result},_associateNearbyValidationMessageSpanWithElement:function(element){var nearbyMessages=element.nextAll("span.field-validation-error");if(nearbyMessages.length>0){$(nearbyMessages[0]).attr("generated","true").attr("htmlfor",element.attr("id"))}},_ensureFormIsMarkedForValidation:function(formElement){if(!formElement.data("isMarkedForValidation")){formElement.data("isMarkedForValidation",true);formElement.validate({errorClass:"field-validation-error",errorElement:"span",highlight:function(element){$(element).addClass("input-validation-error")},unhighlight:function(element){$(element).removeClass("input-validation-error")}})}},_registerCustomValidationFunction:function(evalFn){jQuery.validator.xValCustomFunctionCount=(jQuery.validator.xValCustomFunctionCount||0)+1;var functionName="xVal_customFunction_"+jQuery.validator.xValCustomFunctionCount;jQuery.validator.addMethod(functionName,function(value,element,params){if(this.optional(element)){return true}return evalFn(value,element,params)});return functionName},_ensureCustomFunctionsRegistered:function(){if(!jQuery.validator.xValFunctionsRegistered){jQuery.validator.xValFunctionsRegistered=true;jQuery.validator.addMethod("xVal_stringRange",function(value,element,params){if(this.optional(element)){return true}if(params[0]!=null){if(value<params[0]){return false}}if(params[1]!=null){if(value>params[1]){return false}}return true},function(params){if((params[0]!=null)&&(params[1]!=null)){return $.format(xVal.Messages.Range_String_MinMax||"Please enter a value alphabetically between '{0}' and '{1}'.",params[0],params[1])}else{if(params[0]!=null){return $.format(xVal.Messages.Range_String_Min||"Please enter a value not alphabetically before '{0}'.",params[0])}else{return $.format(xVal.Messages.Range_String_Max||"Please enter a value not alphabetically after '{0}'.",params[1])}}});jQuery.validator.addMethod("xVal_dateRange",function(value,element,params){if(this.optional(element)){return true}var parsedValue=Date.parse(value);if(isNaN(parsedValue)){return false}else{parsedValue=new Date(parsedValue)}if(params[0]!=null){if(parsedValue<params[0]){return false}}if(params[1]!=null){if(parsedValue>params[1]){return false}}return true},function(params,elem){if(isNaN(Date.parse(elem.value))){return xVal.Messages.DataType_Date||"Please enter a valid date in yyyy/mm/dd format."}var formatDate=function(date){var result=date.getFullYear()+"-"+(date.getMonth()+1)+"-"+date.getDate();if(date.getHours()+date.getMinutes()+date.getSeconds()!=0){result+=" "+date.getHours()+":"+date.getMinutes()+":"+date.getSeconds()}return result.replace(/\b(\d)\b/g,"0$1")};if((params[0]!=null)&&(params[1]!=null)){return $.format(xVal.Messages.Range_DateTime_MinMax||"Please enter a date between {0} and {1}.",formatDate(params[0]),formatDate(params[1]))}else{if(params[0]!=null){return $.format(xVal.Messages.Range_DateTime_Min||"Please enter a date no earlier than {0}.",formatDate(params[0]))}else{return $.format(xVal.Messages.Range_DateTime_Max||"Please enter a date no later than {0}.",formatDate(params[1]))}}});jQuery.validator.addMethod("xVal_regex",function(value,element,params){if(this.optional(element)){return true}var pattern=params[0];var options=params[1];var regex=new RegExp(pattern,options);return regex.test(value)},function(params){return xVal.Messages.Regex||"This value is invalid."});jQuery.validator.addMethod("xVal_creditCardLuhn",function(value,element,params){if(this.optional(element)){return true}value=value.replace(/\D/g,"");if(value==""){return false}var sum=0;for(var i=value.length-2;i>=0;i-=2){sum+=Array(0,2,4,6,8,1,3,5,7,9)[parseInt(value.charAt(i),10)]}for(var i=value.length-1;i>=0;i-=2){sum+=parseInt(value.charAt(i),10)}return(sum%10)==0},function(params){return xVal.Messages.DataType_CreditCardLuhn||"Please enter a valid credit card number."});jQuery.validator.addMethod("xVal_comparison",function(value,element,params){if(this.optional(element)){return true}var elemToCompare=params[1];var comparisonOperator=params[2];switch(comparisonOperator){case"Equals":return value==elemToCompare.value;case"DoesNotEqual":return value!=elemToCompare.value}return true},function(params){var propertyToCompareName=params[0];var comparisonOperator=params[2];switch(comparisonOperator){case"Equals":return $.format(xVal.Messages.Comparison_Equals||"This value must be the same as {0}.",propertyToCompareName);case"DoesNotEqual":return $.format(xVal.Messages.Comparison_DoesNotEqual||"This value must be different from {0}.",propertyToCompareName)}})}}}})(jQuery);function InitCustomErrorPlacement(a){a.validate().settings.errorPlacement=function(b,c){var d=$("#"+$(c[0]).attr("ID")+"Errors",a);if($(c[0]).attr("name")=="Company.Subdomain"){d=$("#SubdomainErrors",a)}if(d.length==1){d.empty().append(b)}else{b.insertAfter(c)}}}function InitRollover(){if(!$(document).data("rolloverinitialized")){$(document).data("rolloverinitialized",true);$("img.rollover").live("mouseover mouseout",function(a){if(a.type=="mouseover"){this.src=this.src.replace("-off","-on")}else{this.src=this.src.replace("-on","-off")}})}}function InitToolTips(a){if($().tooltip){var b=1;if(!a){a=$(document)}$(".dev_ToolTipTrigger",a).not("input").tooltip(JSCONFIG.Globals.DefaultHoverTooltipSettings);$("input.dev_ToolTipTrigger",a).tooltip({opacity:b,effect:"fade",position:"center right",relative:true,offset:[3,3]})}}function InitGlobals(){jQuery.validator.setDefaults({errorClass:"field-validation-error"});$(document).hijax({animationSpeed:400,animationEffect:"fade",loaderIcon:JSCONFIG.URLs.AjaxLoaderIcon,historySize:5});if($.datepicker){$.datepicker.setDefaults($.datepicker.regional.de);$.datepicker.setDefaults({showAnim:"fadeIn",duration:"fast",minDate:new Date(2008,1-1,1),showOtherMonths:true,selectOtherMonths:true,beforeShow:function(d,b){var c=$(d);var e=b.dpDiv.css("marginLeft");var a=b.dpDiv.css("marginTop");if(c.attr("dev_dpLeftOffset")){e=c.attr("dev_dpLeftOffset")+"px"}if(c.attr("dev_dpLeftOffset")){a=c.attr("dev_dpTopOffset")+"px"}b.dpDiv.css({marginTop:a,marginLeft:e})}})}$.ajaxSetup({cache:false});if(typeof tb_init!=="undefined"){tb_pathToImage=JSCONFIG.URLs.AjaxLoaderBar;tb_init("a.thickbox, area.thickbox, input.thickbox");imgLoader=new Image();imgLoader.src=tb_pathToImage}$(".slide-out-div").show().tabSlideOut({tabHandle:".handle",tabLocation:"right",speed:300,action:"click",topPos:"230px",leftPos:"0px",fixedPosition:false,onLoadSlideOut:false});InitRollover();InitToolTips();$.browser.olderThan=function(a){return parseFloat($.browser.version)<a}}function OverridePasswordAutoComplete(){setTimeout("$('input[type=password][autoCompleteOverride]').each(function (index, element) {var wrappedElement = $(element);wrappedElement.val(wrappedElement.attr(\"autoCompleteOverride\"))})",100)}var True=true;var False=false;function RemotePropertyValidation(e,a,b){var c=$(a);if(c.rules()["remote"]===undefined){if(b.regEx!==null&&c.rules()["xVal_regex"]===undefined){c.rules("add",{xVal_regex:[b.regEx],messages:{xVal_regex:b.errorMessage}})}var d=c.rules("add",{remote:{url:"/RemoteValidation/Property",data:{value:new CreateInputValueAccessor(c.attr("name"),c.closest("form")),validator:b.validator}},messages:{remote:b.errorMessage}});RevalidateElement(c)}return true}function RemoteEntityValidation(g,m,f){var e=$(m);e.selector="[name="+e.attr("name")+"]";var b=e.closest("form");if(e.rules()["remote"]===undefined){delete e.rules().xVal_customFunction_1;if(f.regEx!==null&&e.rules()["xVal_regex"]===undefined){e.rules("add",{xVal_regex:[f.regEx],messages:{xVal_regex:f.errorMessage}})}var a={validator:f.validator};var k="";if(e.attr("name").match(/^(.*\.).+$/,"")){k=RegExp.$1}var c=f.relevantProperties.split(",");for(var j in c){var h=c[j].toString();if(h!==""){a[h]=new CreateInputValueAccessor(k+h,b);var l=$("[name="+h+"]",b);if(e.attr("name")!=l.attr("name")){if(!l.data("dependentEntityValidationFields")){l.data("dependentEntityValidationFields",[e.selector])}else{l.data("dependentEntityValidationFields").push(e.selector)}l.focusout(OnValidationRelevantElementChanged).keyup(OnValidationRelevantElementChanged)}}}var d={remote:{url:"/RemoteValidation/Entity",data:a},messages:{remote:f.errorMessage}};e.rules("add",d);RevalidateElement(e)}return true}function OnValidationRelevantElementChanged(){var b=$(this);if(b.data("dependentEntityValidationFields")&&$(b.data("dependentEntityValidationFields").length)){for(var a=0;a<b.data("dependentEntityValidationFields").length;a++){RevalidateElement($(b.data("dependentEntityValidationFields")[a]))}}}function CreateInputValueAccessor(a,b){return function(){var c=b.attr("id");if(!c){throw new Error("Remote validation failed: Form has no ID!")}var d=$("[name="+a+"]",$("#"+c)).val();if(d===undefined){$.fn.log("Remote validation failed: Undefined value for input "+a+" on form with id "+c+" - Has the form id changed?")}return d}}function RevalidateElement(a){if(a.val()!=""&&a.val()!=undefined){a.removeData("previousValue");$(a[0]).closest("form").validate().element(a[0])}}var tb_pathToImage="images/loadingAnimation.gif";
/*!!!!!!!!!!!!!!!! edit below this line at your own risk !!!!!!!!!!!!!!!!!!!!!!!*/
function tb_init(a){$(a).click(function(){var c=this.title||this.name||null;var b=this.href||this.alt;var d=this.rel||false;tb_show(c,b,d);this.blur();return false})}function tb_show(b,h,k){try{if(typeof document.body.style.maxHeight==="undefined"){$("body","html").css({height:"100%",width:"100%"});$("html").css("overflow","hidden");if(document.getElementById("TB_HideSelect")===null){$("body").append("<iframe id='TB_HideSelect'></iframe><div id='TB_overlay'></div><div id='TB_window'></div>");$("#TB_overlay").click(tb_remove)}}else{if(document.getElementById("TB_overlay")===null){$("body").append("<div id='TB_overlay'></div><div id='TB_window'></div>");$("#TB_overlay").click(tb_remove)}}if(tb_detectMacXFF()){$("#TB_overlay").addClass("TB_overlayMacFFBGHack")}else{$("#TB_overlay").addClass("TB_overlayBG")}if(b===null){b=""}$("body").append("<div id='TB_load'><img src='"+imgLoader.src+"' /></div>");$("#TB_load").show();var g;if(h.indexOf("?")!==-1){g=h.substr(0,h.indexOf("?"))}else{g=h}var f=/\.jpg$|\.jpeg$|\.png$|\.gif$|\.bmp$/;var a=g.toLowerCase().match(f);if(a==".jpg"||a==".jpeg"||a==".png"||a==".gif"||a==".bmp"){TB_PrevCaption="";TB_PrevURL="";TB_PrevHTML="";TB_NextCaption="";TB_NextURL="";TB_NextHTML="";TB_imageCount="";TB_FoundURL=false;if(k){TB_TempArray=$("a[rel="+k+"]").get();for(TB_Counter=0;((TB_Counter<TB_TempArray.length)&&(TB_NextHTML===""));TB_Counter++){var j=TB_TempArray[TB_Counter].href.toLowerCase().match(f);if(!(TB_TempArray[TB_Counter].href==h)){if(TB_FoundURL){TB_NextCaption=TB_TempArray[TB_Counter].title;TB_NextURL=TB_TempArray[TB_Counter].href;TB_NextHTML="<span id='TB_next'>&nbsp;&nbsp;<a href='#'>Next &gt;</a></span>"}else{TB_PrevCaption=TB_TempArray[TB_Counter].title;TB_PrevURL=TB_TempArray[TB_Counter].href;TB_PrevHTML="<span id='TB_prev'>&nbsp;&nbsp;<a href='#'>&lt; Prev</a></span>"}}else{TB_FoundURL=true;TB_imageCount="Image "+(TB_Counter+1)+" of "+(TB_TempArray.length)}}}imgPreloader=new Image();imgPreloader.onload=function(){imgPreloader.onload=null;var o=tb_getPageSize();var q=o[0]-150;var p=o[1]-150;var n=imgPreloader.width;var l=imgPreloader.height;if(n>q){l=l*(q/n);n=q;if(l>p){n=n*(p/l);l=p}}else{if(l>p){n=n*(p/l);l=p;if(n>q){l=l*(q/n);n=q}}}TB_WIDTH=n+30;TB_HEIGHT=l+60;$("#TB_window").append("<a href='' id='TB_ImageOff' title='Close'><img id='TB_Image' src='"+h+"' width='"+n+"' height='"+l+"' alt='"+b+"'/></a><div id='TB_caption'>"+b+"<div id='TB_secondLine'>"+TB_imageCount+TB_PrevHTML+TB_NextHTML+"</div></div><div id='TB_closeWindow'><a href='#' id='TB_closeWindowButton' title='Close'>Abbrechen</a></div>");$("#TB_closeWindowButton").click(tb_remove);if(!(TB_PrevHTML==="")){function m(){if($(document).unbind("click",m)){$(document).unbind("click",m)}$("#TB_window").remove();$("body").append("<div id='TB_window'></div>");tb_show(TB_PrevCaption,TB_PrevURL,k);return false}$("#TB_prev").click(m)}if(!(TB_NextHTML==="")){function e(){$("#TB_window").remove();$("body").append("<div id='TB_window'></div>");tb_show(TB_NextCaption,TB_NextURL,k);return false}$("#TB_next").click(e)}document.onkeydown=function(r){if(r==null){keycode=event.keyCode}else{keycode=r.which}if(keycode==27){tb_remove()}else{if(keycode==190){if(!(TB_NextHTML=="")){document.onkeydown="";e()}}else{if(keycode==188){if(!(TB_PrevHTML=="")){document.onkeydown="";m()}}}}};tb_position();$("#TB_load").remove();$("#TB_ImageOff").click(tb_remove);$("#TB_window").css({display:"block"})};imgPreloader.src=h}else{var c=h.replace(/^[^\?]+\??/,"");var d=tb_parseQuery(c);TB_WIDTH=(d.width*1)+30||630;TB_HEIGHT=(d.height*1)+40||440;ajaxContentW=TB_WIDTH-30;ajaxContentH=TB_HEIGHT-45;if(h.indexOf("TB_iframe")!=-1){urlNoQuery=h.split("TB_");$("#TB_iframeContent").remove();if(d.modal!="true"){$("#TB_window").append("<div id='TB_title'><div id='TB_ajaxWindowTitle'>"+b+"</div><div id='TB_closeAjaxWindow'><a href='#' id='TB_closeWindowButton' title='Close'>Abbrechen</a> </div></div><iframe frameborder='0' hspace='0' src='"+urlNoQuery[0]+"' id='TB_iframeContent' name='TB_iframeContent"+Math.round(Math.random()*1000)+"' onload='tb_showIframe()' style='width:"+(ajaxContentW+29)+"px;height:"+(ajaxContentH+17)+"px;' > </iframe>")}else{$("#TB_overlay").unbind();$("#TB_window").append("<iframe frameborder='0' hspace='0' src='"+urlNoQuery[0]+"' id='TB_iframeContent' name='TB_iframeContent"+Math.round(Math.random()*1000)+"' onload='tb_showIframe()' style='width:"+(ajaxContentW+29)+"px;height:"+(ajaxContentH+17)+"px;'> </iframe>")}}else{if($("#TB_window").css("display")!="block"){if(d.modal!="true"){$("#TB_window").append("<div id='TB_title'><div id='TB_ajaxWindowTitle'>"+b+"</div><div id='TB_closeAjaxWindow'><a href='#' id='TB_closeWindowButton'>Abbrechen</a></div></div><div id='TB_ajaxContent' style='width:"+ajaxContentW+"px;height:"+ajaxContentH+"px'></div>")}else{$("#TB_overlay").unbind();$("#TB_window").append("<div id='TB_ajaxContent' class='TB_modal' style='width:"+ajaxContentW+"px;height:"+ajaxContentH+"px;'></div>")}}else{$("#TB_ajaxContent")[0].style.width=ajaxContentW+"px";$("#TB_ajaxContent")[0].style.height=ajaxContentH+"px";$("#TB_ajaxContent")[0].scrollTop=0;$("#TB_ajaxWindowTitle").html(b)}}$("#TB_closeWindowButton").click(tb_remove);if(h.indexOf("TB_inline")!=-1){$("#TB_ajaxContent").append($("#"+d.inlineId).children());$("#TB_window").unload(function(){$("#"+d.inlineId).append($("#TB_ajaxContent").children())});tb_position();$("#TB_load").remove();$("#TB_window").css({display:"block"})}else{if(h.indexOf("TB_iframe")!=-1){tb_position();if($.browser.safari){$("#TB_load").remove();$("#TB_window").css({display:"block"})}}else{$("#TB_ajaxContent").load(h+="&random="+(new Date().getTime()),function(){tb_position();$("#TB_load").remove();tb_init("#TB_ajaxContent a.thickbox");$("#TB_window").css({display:"block"})})}}}if(!d.modal){document.onkeyup=function(l){if(l==null){keycode=event.keyCode}else{keycode=l.which}if(keycode==27){tb_remove()}}}}catch(i){}}function tb_showIframe(){$("#TB_load").remove();$("#TB_window").css({display:"block"})}function tb_remove(){$("#TB_imageOff").unbind("click");$("#TB_closeWindowButton").unbind("click");$("#TB_window").fadeOut("fast",function(){$("#TB_window,#TB_overlay,#TB_HideSelect").trigger("unload").unbind().remove()});$("#TB_load").remove();if(typeof document.body.style.maxHeight=="undefined"){$("body","html").css({height:"auto",width:"auto"});$("html").css("overflow","")}document.onkeydown="";document.onkeyup="";return false}function tb_position(){$("#TB_window").css({marginLeft:"-"+parseInt((TB_WIDTH/2),10)+"px",width:TB_WIDTH+"px"});if(!(jQuery.browser.msie&&jQuery.browser.version<7)){$("#TB_window").css({marginTop:"-"+parseInt((TB_HEIGHT/2),10)+"px"})}}function tb_parseQuery(a){var b={};if(!a){return b}var e=a.split(/[;&]/);for(var f=0;f<e.length;f++){var c=e[f].split("=");if(!c||c.length!=2){continue}var d=unescape(c[0]);var g=unescape(c[1]);g=g.replace(/\+/g," ");b[d]=g}return b}function tb_getPageSize(){var b=document.documentElement;var c=window.innerWidth||self.innerWidth||(b&&b.clientWidth)||document.body.clientWidth;var a=window.innerHeight||self.innerHeight||(b&&b.clientHeight)||document.body.clientHeight;arrayPageSize=[c,a];return arrayPageSize}function tb_detectMacXFF(){var a=navigator.userAgent.toLowerCase();if(a.indexOf("mac")!=-1&&a.indexOf("firefox")!=-1){return true}};