(function(aR,U){function a3(){if(!ak.isReady){try{ac.documentElement.doScroll("left")}catch(c){setTimeout(a3,1);return}ak.ready()}}function M(s,c){c.src?ak.ajax({url:c.src,async:false,dataType:"script"}):ak.globalEval(c.text||c.textContent||c.innerHTML||"");c.parentNode&&c.parentNode.removeChild(c)}function at(s,c,K,F,G,w){var A=s.length;if(typeof c==="object"){for(var J in c){at(s,J,c[J],F,G,K)}return s}if(K!==U){F=!w&&F&&ak.isFunction(K);for(J=0;J<A;J++){G(s[J],c,F?K.call(s[J],J,G(s[J],c)):K,w)}return s}return A?G(s[0],c):U}function aI(){return(new Date).getTime()}function ar(){return false}function ap(){return true}function aN(s,c,w){w[0].type=s;return ak.event.handle.apply(c,w)}function aj(O){var N,L=[],J=[],K=arguments,F,G,s,A,w,c;G=ak.data(this,"events");if(!(O.liveFired===this||!G||!G.live||O.button&&O.type==="click")){O.liveFired=this;var P=G.live.slice(0);for(A=0;A<P.length;A++){G=P[A];G.origType.replace(aC,"")===O.type?J.push(G.selector):P.splice(A--,1)}F=ak(O.target).closest(J,O.currentTarget);w=0;for(c=F.length;w<c;w++){for(A=0;A<P.length;A++){G=P[A];if(F[w].selector===G.selector){s=F[w].elem;J=null;if(G.preType==="mouseenter"||G.preType==="mouseleave"){J=ak(O.relatedTarget).closest(G.selector)[0]}if(!J||J!==s){L.push({elem:s,handleObj:G})}}}}w=0;for(c=L.length;w<c;w++){F=L[w];O.currentTarget=F.elem;O.data=F.handleObj.data;O.handleObj=F.handleObj;if(F.handleObj.origHandler.apply(F.elem,K)===false){N=false;break}}return N}}function D(s,c){return"live."+(s&&s!=="*"?s+".":"")+c.replace(/\./g,"`").replace(/ /g,"&")}function m(c){return !c||!c.parentNode||c.parentNode.nodeType===11}function bm(s,c){var w=0;c.each(function(){if(this.nodeName===(s[w]&&s[w].nodeName)){var G=ak.data(s[w++]),J=ak.data(this,G);if(G=G&&G.events){delete J.handle;J.events={};for(var A in G){for(var F in G[A]){ak.event.add(this,A,G[A][F],G[A][F].data)}}}}})}function a6(s,c,G){var A,F,w;c=c&&c[0]?c[0].ownerDocument||c[0]:ac;if(s.length===1&&typeof s[0]==="string"&&s[0].length<512&&c===ac&&!aS.test(s[0])&&(ak.support.checkClone||!an.test(s[0]))){F=true;if(w=ak.fragments[s[0]]){if(w!==1){A=w}}}if(!A){A=c.createDocumentFragment();ak.clean(s,c,A,G)}if(F){ak.fragments[s[0]]=w?A:1}return{fragment:A,cacheable:F}}function aF(s,c){var w={};ak.each(I.concat.apply([],I.slice(0,c)),function(){w[this]=s});return w}function q(c){return"scrollTo" in c&&c.document?c:c.nodeType===9?c.defaultView||c.parentWindow:false}var ak=function(s,c){return new ak.fn.init(s,c)},r=aR.jQuery,d=aR.$,ac=aR.document,aw,bc=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,aW=/^.[^:#\[\.,]*$/,aq=/\S/,S=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,u=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,aA=navigator.userAgent,b=false,ay=[],aE,a4=Object.prototype.toString,aY=Object.prototype.hasOwnProperty,aB=Array.prototype.push,ax=Array.prototype.slice,a9=Array.prototype.indexOf;ak.fn=ak.prototype={init:function(s,c){var A,w;if(!s){return this}if(s.nodeType){this.context=this[0]=s;this.length=1;return this}if(s==="body"&&!c){this.context=ac;this[0]=ac.body;this.selector="body";this.length=1;return this}if(typeof s==="string"){if((A=bc.exec(s))&&(A[1]||!c)){if(A[1]){w=c?c.ownerDocument||c:ac;if(s=u.exec(s)){if(ak.isPlainObject(c)){s=[ac.createElement(s[1])];ak.fn.attr.call(s,c,true)}else{s=[w.createElement(s[1])]}}else{s=a6([A[1]],[w]);s=(s.cacheable?s.fragment.cloneNode(true):s.fragment).childNodes}return ak.merge(this,s)}else{if(c=ac.getElementById(A[2])){if(c.id!==A[2]){return aw.find(s)}this.length=1;this[0]=c}this.context=ac;this.selector=s;return this}}else{if(!c&&/^\w+$/.test(s)){this.selector=s;this.context=ac;s=ac.getElementsByTagName(s);return ak.merge(this,s)}else{return !c||c.jquery?(c||aw).find(s):ak(c).find(s)}}}else{if(ak.isFunction(s)){return aw.ready(s)}}if(s.selector!==U){this.selector=s.selector;this.context=s.context}return ak.makeArray(s,this)},selector:"",jquery:"1.4.2",length:0,size:function(){return this.length},toArray:function(){return ax.call(this,0)},get:function(c){return c==null?this.toArray():c<0?this.slice(c)[0]:this[c]},pushStack:function(s,c,A){var w=ak();ak.isArray(s)?aB.apply(w,s):ak.merge(w,s);w.prevObject=this;w.context=this.context;if(c==="find"){w.selector=this.selector+(this.selector?" ":"")+A}else{if(c){w.selector=this.selector+"."+c+"("+A+")"}}return w},each:function(s,c){return ak.each(this,s,c)},ready:function(c){ak.bindReady();if(ak.isReady){c.call(ac,ak)}else{ay&&ay.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(ax.apply(this,arguments),"slice",ax.call(arguments).join(","))},map:function(c){return this.pushStack(ak.map(this,function(s,w){return c.call(s,w,s)}))},end:function(){return this.prevObject||ak(null)},push:aB,sort:[].sort,splice:[].splice};ak.fn.init.prototype=ak.fn;ak.extend=ak.fn.extend=function(){var s=arguments[0]||{},c=1,K=arguments.length,F=false,G,w,A,J;if(typeof s==="boolean"){F=s;s=arguments[1]||{};c=2}if(typeof s!=="object"&&!ak.isFunction(s)){s={}}if(K===c){s=this;--c}for(;c<K;c++){if((G=arguments[c])!=null){for(w in G){A=s[w];J=G[w];if(s!==J){if(F&&J&&(ak.isPlainObject(J)||ak.isArray(J))){A=A&&(ak.isPlainObject(A)||ak.isArray(A))?A:ak.isArray(J)?[]:{};s[w]=ak.extend(F,A,J)}else{if(J!==U){s[w]=J}}}}}}return s};ak.extend({noConflict:function(c){aR.$=d;if(c){aR.jQuery=r}return ak},isReady:false,ready:function(){if(!ak.isReady){if(!ac.body){return setTimeout(ak.ready,13)}ak.isReady=true;if(ay){for(var s,c=0;s=ay[c++];){s.call(ac,ak)}ay=null}ak.fn.triggerHandler&&ak(ac).triggerHandler("ready")}},bindReady:function(){if(!b){b=true;if(ac.readyState==="complete"){return ak.ready()}if(ac.addEventListener){ac.addEventListener("DOMContentLoaded",aE,false);aR.addEventListener("load",ak.ready,false)}else{if(ac.attachEvent){ac.attachEvent("onreadystatechange",aE);aR.attachEvent("onload",ak.ready);var s=false;try{s=aR.frameElement==null}catch(c){}ac.documentElement.doScroll&&s&&a3()}}}},isFunction:function(c){return a4.call(c)==="[object Function]"},isArray:function(c){return a4.call(c)==="[object Array]"},isPlainObject:function(s){if(!s||a4.call(s)!=="[object Object]"||s.nodeType||s.setInterval){return false}if(s.constructor&&!aY.call(s,"constructor")&&!aY.call(s.constructor.prototype,"isPrototypeOf")){return false}var c;for(c in s){}return c===U||aY.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=ak.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 aR.JSON&&aR.JSON.parse?aR.JSON.parse(c):(new Function("return "+c))()}else{ak.error("Invalid JSON: "+c)}},noop:function(){},globalEval:function(s){if(s&&aq.test(s)){var c=ac.getElementsByTagName("head")[0]||ac.documentElement,w=ac.createElement("script");w.type="text/javascript";if(ak.support.scriptEval){w.appendChild(ac.createTextNode(s))}else{w.text=s}c.insertBefore(w,c.firstChild);c.removeChild(w)}},nodeName:function(s,c){return s.nodeName&&s.nodeName.toUpperCase()===c.toUpperCase()},each:function(s,c,J){var F,G=0,w=s.length,A=w===U||ak.isFunction(s);if(J){if(A){for(F in s){if(c.apply(s[F],J)===false){break}}}else{for(;G<w;){if(c.apply(s[G++],J)===false){break}}}}else{if(A){for(F in s){if(c.call(s[F],F,s[F])===false){break}}}else{for(J=s[0];G<w&&c.call(J,G,J)!==false;J=s[++G]){}}}return s},trim:function(c){return(c||"").replace(S,"")},makeArray:function(s,c){c=c||[];if(s!=null){s.length==null||typeof s==="string"||ak.isFunction(s)||typeof s!=="function"&&s.setInterval?aB.call(c,s):ak.merge(c,s)}return c},inArray:function(s,c){if(c.indexOf){return c.indexOf(s)}for(var A=0,w=c.length;A<w;A++){if(c[A]===s){return A}}return -1},merge:function(s,c){var F=s.length,w=0;if(typeof c.length==="number"){for(var A=c.length;w<A;w++){s[F++]=c[w]}}else{for(;c[w]!==U;){s[F++]=c[w++]}}s.length=F;return s},grep:function(s,c,G){for(var A=[],F=0,w=s.length;F<w;F++){!G!==!c(s[F],F)&&A.push(s[F])}return A},map:function(s,c,J){for(var F=[],G,w=0,A=s.length;w<A;w++){G=c(s[w],w,J);if(G!=null){F[F.length]=G}}return F.concat.apply([],F)},guid:1,proxy:function(s,c,w){if(arguments.length===2){if(typeof c==="string"){w=s;s=w[c];c=U}else{if(c&&!ak.isFunction(c)){w=c;c=U}}}if(!c&&s){c=function(){return s.apply(w||this,arguments)}}if(s){c.guid=s.guid=s.guid||c.guid||ak.guid++}return c},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:{}});aA=ak.uaMatch(aA);if(aA.browser){ak.browser[aA.browser]=true;ak.browser.version=aA.version}if(ak.browser.webkit){ak.browser.safari=true}if(a9){ak.inArray=function(s,c){return a9.call(c,s)}}aw=ak(ac);if(ac.addEventListener){aE=function(){ac.removeEventListener("DOMContentLoaded",aE,false);ak.ready()}}else{if(ac.attachEvent){aE=function(){if(ac.readyState==="complete"){ac.detachEvent("onreadystatechange",aE);ak.ready()}}}}(function(){ak.support={};var L=ac.documentElement,K=ac.createElement("script"),J=ac.createElement("div"),F="script"+aI();J.style.display="none";J.innerHTML="   <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";var G=J.getElementsByTagName("*"),w=J.getElementsByTagName("a")[0];if(!(!G||!G.length||!w)){ak.support={leadingWhitespace:J.firstChild.nodeType===3,tbody:!J.getElementsByTagName("tbody").length,htmlSerialize:!!J.getElementsByTagName("link").length,style:/red/.test(w.getAttribute("style")),hrefNormalized:w.getAttribute("href")==="/a",opacity:/^0.55$/.test(w.style.opacity),cssFloat:!!w.style.cssFloat,checkOn:J.getElementsByTagName("input")[0].value==="on",optSelected:ac.createElement("select").appendChild(ac.createElement("option")).selected,parentNode:J.removeChild(J.appendChild(ac.createElement("div"))).parentNode===null,deleteExpando:true,checkClone:false,scriptEval:false,noCloneEvent:true,boxModel:null};K.type="text/javascript";try{K.appendChild(ac.createTextNode("window."+F+"=1;"))}catch(A){}L.insertBefore(K,L.firstChild);if(aR[F]){ak.support.scriptEval=true;delete aR[F]}try{delete K.test}catch(c){ak.support.deleteExpando=false}L.removeChild(K);if(J.attachEvent&&J.fireEvent){J.attachEvent("onclick",function s(){ak.support.noCloneEvent=false;J.detachEvent("onclick",s)});J.cloneNode(true).fireEvent("onclick")}J=ac.createElement("div");J.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";L=ac.createDocumentFragment();L.appendChild(J.firstChild);ak.support.checkClone=L.cloneNode(true).cloneNode(true).lastChild.checked;ak(function(){var N=ac.createElement("div");N.style.width=N.style.paddingLeft="1px";ac.body.appendChild(N);ak.boxModel=ak.support.boxModel=N.offsetWidth===2;ac.body.removeChild(N).style.display="none"});L=function(N){var P=ac.createElement("div");N="on"+N;var O=N in P;if(!O){P.setAttribute(N,"return;");O=typeof P[N]==="function"}return O};ak.support.submitBubbles=L("submit");ak.support.changeBubbles=L("change");L=K=J=G=w=null}})();ak.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};var aK="jQuery"+aI(),e=0,aV={};ak.extend({cache:{},expando:aK,noData:{embed:true,object:true,applet:true},data:function(s,c,F){if(!(s.nodeName&&ak.noData[s.nodeName.toLowerCase()])){s=s==aR?aV:s;var w=s[aK],A=ak.cache;if(!w&&typeof c==="string"&&F===U){return null}w||(w=++e);if(typeof c==="object"){s[aK]=w;A[w]=ak.extend(true,{},c)}else{if(!A[w]){s[aK]=w;A[w]={}}}s=A[w];if(F!==U){s[c]=F}return typeof c==="string"?s[c]:s}},removeData:function(s,c){if(!(s.nodeName&&ak.noData[s.nodeName.toLowerCase()])){s=s==aR?aV:s;var F=s[aK],w=ak.cache,A=w[F];if(c){if(A){delete A[c];ak.isEmptyObject(A)&&ak.removeData(s)}}else{if(ak.support.deleteExpando){delete s[ak.expando]}else{s.removeAttribute&&s.removeAttribute(ak.expando)}delete w[F]}}}});ak.fn.extend({data:function(s,c){if(typeof s==="undefined"&&this.length){return ak.data(this[0])}else{if(typeof s==="object"){return this.each(function(){ak.data(this,s)})}}var A=s.split(".");A[1]=A[1]?"."+A[1]:"";if(c===U){var w=this.triggerHandler("getData"+A[1]+"!",[A[0]]);if(w===U&&this.length){w=ak.data(this[0],s)}return w===U&&A[1]?this.data(A[0]):w}else{return this.trigger("setData"+A[1]+"!",[A[0],c]).each(function(){ak.data(this,s,c)})}},removeData:function(c){return this.each(function(){ak.removeData(this,c)})}});ak.extend({queue:function(s,c,A){if(s){c=(c||"fx")+"queue";var w=ak.data(s,c);if(!A){return w||[]}if(!w||ak.isArray(A)){w=ak.data(s,c,ak.makeArray(A))}else{w.push(A)}return w}},dequeue:function(s,c){c=c||"fx";var A=ak.queue(s,c),w=A.shift();if(w==="inprogress"){w=A.shift()}if(w){c==="fx"&&A.unshift("inprogress");w.call(s,function(){ak.dequeue(s,c)})}}});ak.fn.extend({queue:function(s,c){if(typeof s!=="string"){c=s;s="fx"}if(c===U){return ak.queue(this[0],s)}return this.each(function(){var w=ak.queue(this,s,c);s==="fx"&&w[0]!=="inprogress"&&ak.dequeue(this,s)})},dequeue:function(c){return this.each(function(){ak.dequeue(this,c)})},delay:function(s,c){s=ak.fx?ak.fx.speeds[s]||s:s;c=c||"fx";return this.queue(c,function(){var w=this;setTimeout(function(){ak.dequeue(w,c)},s)})},clearQueue:function(c){return this.queue(c||"fx",[])}});var bh=/[\n\t]/g,ae=/\s+/,bd=/\r/g,aP=/href|src|style/,aX=/(button|input)/i,az=/(button|input|object|select|textarea)/i,ad=/^(a|area)$/i,a1=/radio|checkbox/;ak.fn.extend({attr:function(s,c){return at(this,s,c,true,ak.attr)},removeAttr:function(c){return this.each(function(){ak.attr(this,c,"");this.nodeType===1&&this.removeAttribute(c)})},addClass:function(L){if(ak.isFunction(L)){return this.each(function(O){var N=ak(this);N.addClass(L.call(this,O,N.attr("class")))})}if(L&&typeof L==="string"){for(var K=(L||"").split(ae),J=0,F=this.length;J<F;J++){var G=this[J];if(G.nodeType===1){if(G.className){for(var w=" "+G.className+" ",A=G.className,c=0,s=K.length;c<s;c++){if(w.indexOf(" "+K[c]+" ")<0){A+=" "+K[c]}}G.className=ak.trim(A)}else{G.className=L}}}}return this},removeClass:function(s){if(ak.isFunction(s)){return this.each(function(L){var N=ak(this);N.removeClass(s.call(this,L,N.attr("class")))})}if(s&&typeof s==="string"||s===U){for(var c=(s||"").split(ae),K=0,F=this.length;K<F;K++){var G=this[K];if(G.nodeType===1&&G.className){if(s){for(var w=(" "+G.className+" ").replace(bh," "),A=0,J=c.length;A<J;A++){w=w.replace(" "+c[A]+" "," ")}G.className=ak.trim(w)}else{G.className=""}}}}return this},toggleClass:function(s,c){var A=typeof s,w=typeof c==="boolean";if(ak.isFunction(s)){return this.each(function(G){var F=ak(this);F.toggleClass(s.call(this,G,F.attr("class"),c),c)})}return this.each(function(){if(A==="string"){for(var K,G=0,J=ak(this),L=c,F=s.split(ae);K=F[G++];){L=w?L:!J.hasClass(K);J[L?"addClass":"removeClass"](K)}}else{if(A==="undefined"||A==="boolean"){this.className&&ak.data(this,"__className__",this.className);this.className=this.className||s===false?"":ak.data(this,"__className__")||""}}})},hasClass:function(s){s=" "+s+" ";for(var c=0,w=this.length;c<w;c++){if((" "+this[c].className+" ").replace(bh," ").indexOf(s)>-1){return true}}return false},val:function(s){if(s===U){var c=this[0];if(c){if(ak.nodeName(c,"option")){return(c.attributes.value||{}).specified?c.value:c.text}if(ak.nodeName(c,"select")){var K=c.selectedIndex,F=[],G=c.options;c=c.type==="select-one";if(K<0){return null}var w=c?K:0;for(K=c?K+1:G.length;w<K;w++){var A=G[w];if(A.selected){s=ak(A).val();if(c){return s}F.push(s)}}return F}if(a1.test(c.type)&&!ak.support.checkOn){return c.getAttribute("value")===null?"on":c.value}return(c.value||"").replace(bd,"")}return U}var J=ak.isFunction(s);return this.each(function(L){var P=ak(this),O=s;if(this.nodeType===1){if(J){O=s.call(this,L,P.val())}if(typeof O==="number"){O+=""}if(ak.isArray(O)&&a1.test(this.type)){this.checked=ak.inArray(P.val(),O)>=0}else{if(ak.nodeName(this,"select")){var N=ak.makeArray(O);ak("option",this).each(function(){this.selected=ak.inArray(ak(this).val(),N)>=0});if(!N.length){this.selectedIndex=-1}}else{this.value=O}}}})}});ak.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(s,c,G,A){if(!s||s.nodeType===3||s.nodeType===8){return U}if(A&&c in ak.attrFn){return ak(s)[c](G)}A=s.nodeType!==1||!ak.isXMLDoc(s);var F=G!==U;c=A&&ak.props[c]||c;if(s.nodeType===1){var w=aP.test(c);if(c in s&&A&&!w){if(F){c==="type"&&aX.test(s.nodeName)&&s.parentNode&&ak.error("type property can't be changed");s[c]=G}if(ak.nodeName(s,"form")&&s.getAttributeNode(c)){return s.getAttributeNode(c).nodeValue}if(c==="tabIndex"){return(c=s.getAttributeNode("tabIndex"))&&c.specified?c.value:az.test(s.nodeName)||ad.test(s.nodeName)&&s.href?0:U}return s[c]}if(!ak.support.style&&A&&c==="style"){if(F){s.style.cssText=""+G}return s.style.cssText}F&&s.setAttribute(c,""+G);s=!ak.support.hrefNormalized&&A&&w?s.getAttribute(c,2):s.getAttribute(c);return s===null?U:s}return ak.style(s,c,G)}});var aC=/\.(.*)$/,v=function(c){return c.replace(/[^\w\s\.\|`]/g,function(s){return"\\"+s})};ak.event={add:function(P,O,L,J){if(!(P.nodeType===3||P.nodeType===8)){if(P.setInterval&&P!==aR&&!P.frameElement){P=aR}var K,F;if(L.handler){K=L;L=K.handler}if(!L.guid){L.guid=ak.guid++}if(F=ak.data(P)){var G=F.events=F.events||{},s=F.handle;if(!s){F.handle=s=function(){return typeof ak!=="undefined"&&!ak.event.triggered?ak.event.handle.apply(s.elem,arguments):U}}s.elem=P;O=O.split(" ");for(var A,w=0,c;A=O[w++];){F=K?ak.extend({},K):{handler:L,data:J};if(A.indexOf(".")>-1){c=A.split(".");A=c.shift();F.namespace=c.slice(0).sort().join(".")}else{c=[];F.namespace=""}F.type=A;F.guid=L.guid;var Q=G[A],N=ak.event.special[A]||{};if(!Q){Q=G[A]=[];if(!N.setup||N.setup.call(P,J,c,s)===false){if(P.addEventListener){P.addEventListener(A,s,false)}else{P.attachEvent&&P.attachEvent("on"+A,s)}}}if(N.add){N.add.call(P,F);if(!F.handler.guid){F.handler.guid=L.guid}}Q.push(F);ak.event.global[A]=true}P=null}}},global:{},remove:function(R,Q,O,L){if(!(R.nodeType===3||R.nodeType===8)){var N,J=0,K,A,G,F,c,T,P=ak.data(R),s=P&&P.events;if(P&&s){if(Q&&Q.type){O=Q.handler;Q=Q.type}if(!Q||typeof Q==="string"&&Q.charAt(0)==="."){Q=Q||"";for(N in s){ak.event.remove(R,N+Q)}}else{for(Q=Q.split(" ");N=Q[J++];){F=N;K=N.indexOf(".")<0;A=[];if(!K){A=N.split(".");N=A.shift();G=new RegExp("(^|\\.)"+ak.map(A.slice(0).sort(),v).join("\\.(?:.*\\.)?")+"(\\.|$)")}if(c=s[N]){if(O){F=ak.event.special[N]||{};for(w=L||0;w<c.length;w++){T=c[w];if(O.guid===T.guid){if(K||G.test(T.namespace)){L==null&&c.splice(w--,1);F.remove&&F.remove.call(R,T)}if(L!=null){break}}}if(c.length===0||L!=null&&c.length===1){if(!F.teardown||F.teardown.call(R,A)===false){aJ(R,N,P.handle)}delete s[N]}}else{for(var w=0;w<c.length;w++){T=c[w];if(K||G.test(T.namespace)){ak.event.remove(R,F,T.handler,w);c.splice(w--,1)}}}}}if(ak.isEmptyObject(s)){if(Q=P.handle){Q.elem=null}delete P.events;delete P.handle;ak.isEmptyObject(P)&&ak.removeData(R)}}}}},trigger:function(N,L,K,G){var J=N.type||N;if(!G){N=typeof N==="object"?N[aK]?N:ak.extend(ak.Event(J),N):ak.Event(J);if(J.indexOf("!")>=0){N.type=J=J.slice(0,-1);N.exclusive=true}if(!K){N.stopPropagation();ak.event.global[J]&&ak.each(ak.cache,function(){this.events&&this.events[J]&&ak.event.trigger(N,L,this.handle.elem)})}if(!K||K.nodeType===3||K.nodeType===8){return U}N.result=U;N.target=K;L=ak.makeArray(L);L.unshift(N)}N.currentTarget=K;(G=ak.data(K,"handle"))&&G.apply(K,L);G=K.parentNode||K.ownerDocument;try{if(!(K&&K.nodeName&&ak.noData[K.nodeName.toLowerCase()])){if(K["on"+J]&&K["on"+J].apply(K,L)===false){N.result=false}}}catch(A){}if(!N.isPropagationStopped()&&G){ak.event.trigger(N,L,G,true)}else{if(!N.isDefaultPrevented()){G=N.target;var F,c=ak.nodeName(G,"a")&&J==="click",w=ak.event.special[J]||{};if((!w._default||w._default.call(K,N)===false)&&!c&&!(G&&G.nodeName&&ak.noData[G.nodeName.toLowerCase()])){try{if(G[J]){if(F=G["on"+J]){G["on"+J]=null}ak.event.triggered=true;G[J]()}}catch(s){}if(F){G["on"+J]=F}ak.event.triggered=false}}}},handle:function(s){var c,J,F,G;s=arguments[0]=ak.event.fix(s||aR.event);s.currentTarget=this;c=s.type.indexOf(".")<0&&!s.exclusive;if(!c){J=s.type.split(".");s.type=J.shift();F=new RegExp("(^|\\.)"+J.slice(0).sort().join("\\.(?:.*\\.)?")+"(\\.|$)")}G=ak.data(this,"events");J=G[s.type];if(G&&J){J=J.slice(0);G=0;for(var w=J.length;G<w;G++){var A=J[G];if(c||F.test(A.namespace)){s.handler=A.handler;s.data=A.data;s.handleObj=A;A=A.handler.apply(this,arguments);if(A!==U){s.result=A;if(A===false){s.preventDefault();s.stopPropagation()}}if(s.isImmediatePropagationStopped()){break}}}}return s.result},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(s){if(s[aK]){return s}var c=s;s=ak.Event(c);for(var A=this.props.length,w;A;){w=this.props[--A];s[w]=c[w]}if(!s.target){s.target=s.srcElement||ac}if(s.target.nodeType===3){s.target=s.target.parentNode}if(!s.relatedTarget&&s.fromElement){s.relatedTarget=s.fromElement===s.target?s.toElement:s.fromElement}if(s.pageX==null&&s.clientX!=null){c=ac.documentElement;A=ac.body;s.pageX=s.clientX+(c&&c.scrollLeft||A&&A.scrollLeft||0)-(c&&c.clientLeft||A&&A.clientLeft||0);s.pageY=s.clientY+(c&&c.scrollTop||A&&A.scrollTop||0)-(c&&c.clientTop||A&&A.clientTop||0)}if(!s.which&&(s.charCode||s.charCode===0?s.charCode:s.keyCode)){s.which=s.charCode||s.keyCode}if(!s.metaKey&&s.ctrlKey){s.metaKey=s.ctrlKey}if(!s.which&&s.button!==U){s.which=s.button&1?1:s.button&2?3:s.button&4?2:0}return s},guid:100000000,proxy:ak.proxy,special:{ready:{setup:ak.bindReady,teardown:ak.noop},live:{add:function(c){ak.event.add(this,c.origType,ak.extend({},c,{handler:aj}))},remove:function(s){var c=true,w=s.origType.replace(aC,"");ak.each(ak.data(this,"events").live||[],function(){if(w===this.origType.replace(aC,"")){return c=false}});c&&ak.event.remove(this,s.origType,aj)}},beforeunload:{setup:function(s,c,w){if(this.setInterval){this.onbeforeunload=w}return false},teardown:function(s,c){if(this.onbeforeunload===c){this.onbeforeunload=null}}}}};var aJ=ac.removeEventListener?function(s,c,w){s.removeEventListener(c,w,false)}:function(s,c,w){s.detachEvent("on"+c,w)};ak.Event=function(c){if(!this.preventDefault){return new ak.Event(c)}if(c&&c.type){this.originalEvent=c;this.type=c.type}else{this.type=c}this.timeStamp=aI();this[aK]=true};ak.Event.prototype={preventDefault:function(){this.isDefaultPrevented=ap;var c=this.originalEvent;if(c){c.preventDefault&&c.preventDefault();c.returnValue=false}},stopPropagation:function(){this.isPropagationStopped=ap;var c=this.originalEvent;if(c){c.stopPropagation&&c.stopPropagation();c.cancelBubble=true}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=ap;this.stopPropagation()},isDefaultPrevented:ar,isPropagationStopped:ar,isImmediatePropagationStopped:ar};var ah=function(s){var c=s.relatedTarget;try{for(;c&&c!==this;){c=c.parentNode}if(c!==this){s.type=s.data;ak.event.handle.apply(this,arguments)}}catch(w){}},B=function(c){c.type=c.data;ak.event.handle.apply(this,arguments)};ak.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(s,c){ak.event.special[s]={setup:function(w){ak.event.add(this,c,w&&w.selector?B:ah,s)},teardown:function(w){ak.event.remove(this,c,w&&w.selector?B:ah)}}});if(!ak.support.submitBubbles){ak.event.special.submit={setup:function(){if(this.nodeName.toLowerCase()!=="form"){ak.event.add(this,"click.specialSubmit",function(s){var c=s.target,w=c.type;if((w==="submit"||w==="image")&&ak(c).closest("form").length){return aN("submit",this,arguments)}});ak.event.add(this,"keypress.specialSubmit",function(s){var c=s.target,w=c.type;if((w==="text"||w==="password")&&ak(c).closest("form").length&&s.keyCode===13){return aN("submit",this,arguments)}})}else{return false}},teardown:function(){ak.event.remove(this,".specialSubmit")}}}if(!ak.support.changeBubbles){var x=/textarea|input|select/i,g,k=function(s){var c=s.type,w=s.value;if(c==="radio"||c==="checkbox"){w=s.checked}else{if(c==="select-multiple"){w=s.selectedIndex>-1?ak.map(s.options,function(A){return A.selected}).join("-"):""}else{if(s.nodeName.toLowerCase()==="select"){w=s.selectedIndex}}}return w},bg=function(s,c){var F=s.target,w,A;if(!(!x.test(F.nodeName)||F.readOnly)){w=ak.data(F,"_change_data");A=k(F);if(s.type!=="focusout"||F.type!=="radio"){ak.data(F,"_change_data",A)}if(!(w===U||A===w)){if(w!=null||A){s.type="change";return ak.event.trigger(s,c,F)}}}};ak.event.special.change={filters:{focusout:bg,click:function(s){var c=s.target,w=c.type;if(w==="radio"||w==="checkbox"||c.nodeName.toLowerCase()==="select"){return bg.call(this,s)}},keydown:function(s){var c=s.target,w=c.type;if(s.keyCode===13&&c.nodeName.toLowerCase()!=="textarea"||s.keyCode===32&&(w==="checkbox"||w==="radio")||w==="select-multiple"){return bg.call(this,s)}},beforeactivate:function(c){c=c.target;ak.data(c,"_change_data",k(c))}},setup:function(){if(this.type==="file"){return false}for(var c in g){ak.event.add(this,c+".specialChange",g[c])}return x.test(this.nodeName)},teardown:function(){ak.event.remove(this,".specialChange");return x.test(this.nodeName)}};g=ak.event.special.change.filters}ac.addEventListener&&ak.each({focus:"focusin",blur:"focusout"},function(s,c){function w(A){A=ak.event.fix(A);A.type=c;return ak.event.handle.call(this,A)}ak.event.special[c]={setup:function(){this.addEventListener(s,w,true)},teardown:function(){this.removeEventListener(s,w,true)}}});ak.each(["bind","one"],function(s,c){ak.fn[c]=function(K,F,G){if(typeof K==="object"){for(var w in K){this[c](w,F,K[w],G)}return this}if(ak.isFunction(F)){G=F;F=U}var A=c==="one"?ak.proxy(G,function(L){ak(this).unbind(L,A);return G.apply(this,arguments)}):G;if(K==="unload"&&c!=="one"){this.one(K,F,G)}else{w=0;for(var J=this.length;w<J;w++){ak.event.add(this[w],K,A,F)}}return this}});ak.fn.extend({unbind:function(s,c){if(typeof s==="object"&&!s.preventDefault){for(var A in s){this.unbind(A,s[A])}}else{A=0;for(var w=this.length;A<w;A++){ak.event.remove(this[A],s,c)}}return this},delegate:function(s,c,A,w){return this.live(c,A,w,s)},undelegate:function(s,c,w){return arguments.length===0?this.unbind("live"):this.die(c,null,w,s)},trigger:function(s,c){return this.each(function(){ak.event.trigger(s,c,this)})},triggerHandler:function(s,c){if(this[0]){s=ak.Event(s);s.preventDefault();s.stopPropagation();ak.event.trigger(s,c,this[0]);return s.result}},toggle:function(s){for(var c=arguments,w=1;w<c.length;){ak.proxy(s,c[w++])}return this.click(ak.proxy(s,function(A){var F=(ak.data(this,"lastToggle"+s.guid)||0)%w;ak.data(this,"lastToggle"+s.guid,F+1);A.preventDefault();return c[F].apply(this,arguments)||false}))},hover:function(s,c){return this.mouseenter(s).mouseleave(c||s)}});var bk={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};ak.each(["live","die"],function(s,c){ak.fn[c]=function(O,L,N,J){var K,A=0,G,F,w=J||this.selector,P=J?this:ak(this.context);if(ak.isFunction(L)){N=L;L=U}for(O=(O||"").split(" ");(K=O[A++])!=null;){J=aC.exec(K);G="";if(J){G=J[0];K=K.replace(aC,"")}if(K==="hover"){O.push("mouseenter"+G,"mouseleave"+G)}else{F=K;if(K==="focus"||K==="blur"){O.push(bk[K]+G);K+=G}else{K=(bk[K]||K)+G}c==="live"?P.each(function(){ak.event.add(this,D(K,w),{data:L,selector:w,handler:N,origType:K,origHandler:N,preType:F})}):P.unbind(D(K,w),N)}}return this}});ak.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){ak.fn[c]=function(w){return w?this.bind(c,w):this.trigger(c)};if(ak.attrFn){ak.attrFn[c]=true}});aR.attachEvent&&!aR.addEventListener&&aR.attachEvent("onunload",function(){for(var s in ak.cache){if(ak.cache[s].handle){try{ak.event.remove(ak.cache[s].handle.elem)}catch(c){}}}});(function(){function W(ab){for(var aa="",Z,Y=0;ab[Y];Y++){Z=ab[Y];if(Z.nodeType===3||Z.nodeType===4){aa+=Z.nodeValue}else{if(Z.nodeType!==8){aa+=W(Z.childNodes)}}}return aa}function V(bb,ba,ab,aa,Y,Z){Y=0;for(var bp=aa.length;Y<bp;Y++){var bq=aa[Y];if(bq){bq=bq[bb];for(var bo=false;bq;){if(bq.sizcache===ab){bo=aa[bq.sizset];break}if(bq.nodeType===1&&!Z){bq.sizcache=ab;bq.sizset=Y}if(bq.nodeName.toLowerCase()===ba){bo=bq;break}bq=bq[bb]}aa[Y]=bo}}}function T(bb,ba,ab,aa,Y,Z){Y=0;for(var bp=aa.length;Y<bp;Y++){var bq=aa[Y];if(bq){bq=bq[bb];for(var bo=false;bq;){if(bq.sizcache===ab){bo=aa[bq.sizset];break}if(bq.nodeType===1){if(!Z){bq.sizcache=ab;bq.sizset=Y}if(typeof ba!=="string"){if(bq===ba){bo=true;break}}else{if(N.filter(ba,[bq]).length>0){bo=bq;break}}}bq=bq[bb]}aa[Y]=bo}}}var Q=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,R=0,O=Object.prototype.toString,P=false,K=true;[0,0].sort(function(){K=false;return 0});var N=function(bp,bo,ba,ab){ba=ba||[];var Z=bo=bo||ac;if(bo.nodeType!==1&&bo.nodeType!==9){return[]}if(!bp||typeof bp!=="string"){return ba}for(var aa=[],bu,bv,br,bb,bt=true,bq=s(bo),bs=bp;(Q.exec(""),bu=Q.exec(bs))!==null;){bs=bu[3];aa.push(bu[1]);if(bu[2]){bb=bu[3];break}}if(aa.length>1&&G.exec(bp)){if(aa.length===2&&L.relative[aa[0]]){bv=X(aa[0]+aa[1],bo)}else{for(bv=L.relative[aa[0]]?[bo]:N(aa.shift(),bo);aa.length;){bp=aa.shift();if(L.relative[bp]){bp+=aa.shift()}bv=X(bp,bv)}}}else{if(!ab&&aa.length>1&&bo.nodeType===9&&!bq&&L.match.ID.test(aa[0])&&!L.match.ID.test(aa[aa.length-1])){bu=N.find(aa.shift(),bo,bq);bo=bu.expr?N.filter(bu.expr,bu.set)[0]:bu.set[0]}if(bo){bu=ab?{expr:aa.pop(),set:c(ab)}:N.find(aa.pop(),aa.length===1&&(aa[0]==="~"||aa[0]==="+")&&bo.parentNode?bo.parentNode:bo,bq);bv=bu.expr?N.filter(bu.expr,bu.set):bu.set;if(aa.length>0){br=c(bv)}else{bt=false}for(;aa.length;){var Y=aa.pop();bu=Y;if(L.relative[Y]){bu=aa.pop()}else{Y=""}if(bu==null){bu=bo}L.relative[Y](br,bu,bq)}}else{br=[]}}br||(br=bv);br||N.error(Y||bp);if(O.call(br)==="[object Array]"){if(bt){if(bo&&bo.nodeType===1){for(bp=0;br[bp]!=null;bp++){if(br[bp]&&(br[bp]===true||br[bp].nodeType===1&&A(bo,br[bp]))){ba.push(bv[bp])}}}else{for(bp=0;br[bp]!=null;bp++){br[bp]&&br[bp].nodeType===1&&ba.push(bv[bp])}}}else{ba.push.apply(ba,br)}}else{c(br,ba)}if(bb){N(bb,Z,ba,ab);N.uniqueSort(ba)}return ba};N.uniqueSort=function(Z){if(J){P=K;Z.sort(J);if(P){for(var Y=1;Y<Z.length;Y++){Z[Y]===Z[Y-1]&&Z.splice(Y--,1)}}}return Z};N.matches=function(Z,Y){return N(Z,null,null,Y)};N.find=function(bb,ba,ab){var aa,Y;if(!bb){return[]}for(var Z=0,bp=L.order.length;Z<bp;Z++){var bq=L.order[Z];if(Y=L.leftMatch[bq].exec(bb)){var bo=Y[1];Y.splice(1,1);if(bo.substr(bo.length-1)!=="\\"){Y[1]=(Y[1]||"").replace(/\\/g,"");aa=L.find[bq](Y,ba,ab);if(aa!=null){bb=bb.replace(L.match[bq],"");break}}}}aa||(aa=ba.getElementsByTagName("*"));return{set:aa,expr:bb}};N.filter=function(bq,bp,bb,ab){for(var Z=bq,aa=[],bw=bp,bx,bt,bo=bp&&bp[0]&&s(bp[0]);bq&&bp.length;){for(var bv in L.filter){if((bx=L.leftMatch[bv].exec(bq))!=null&&bx[2]){var br=L.filter[bv],bu,Y;Y=bx[1];bt=false;bx.splice(1,1);if(Y.substr(Y.length-1)!=="\\"){if(bw===aa){aa=[]}if(L.preFilter[bv]){if(bx=L.preFilter[bv](bx,bw,bb,aa,ab,bo)){if(bx===true){continue}}else{bt=bu=true}}if(bx){for(var ba=0;(Y=bw[ba])!=null;ba++){if(Y){bu=br(Y,bx,ba,bw);var bs=ab^!!bu;if(bb&&bu!=null){if(bs){bt=true}else{bw[ba]=false}}else{if(bs){aa.push(Y);bt=true}}}}}if(bu!==U){bb||(bw=aa);bq=bq.replace(L.match[bv],"");if(!bt){return[]}break}}}}if(bq===Z){if(bt==null){N.error(bq)}else{break}}Z=bq}return bw};N.error=function(Y){throw"Syntax error, unrecognized expression: "+Y};var L=N.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(ab,aa){var Z=typeof aa==="string",Y=Z&&!/\W/.test(aa);Z=Z&&!Y;if(Y){aa=aa.toLowerCase()}Y=0;for(var ba=ab.length,bb;Y<ba;Y++){if(bb=ab[Y]){for(;(bb=bb.previousSibling)&&bb.nodeType!==1;){}ab[Y]=Z||bb&&bb.nodeName.toLowerCase()===aa?bb||false:bb===aa}}Z&&N.filter(aa,ab,true)},">":function(ab,aa){var Z=typeof aa==="string";if(Z&&!/\W/.test(aa)){aa=aa.toLowerCase();for(var Y=0,ba=ab.length;Y<ba;Y++){var bb=ab[Y];if(bb){Z=bb.parentNode;ab[Y]=Z.nodeName.toLowerCase()===aa?Z:false}}}else{Y=0;for(ba=ab.length;Y<ba;Y++){if(bb=ab[Y]){ab[Y]=Z?bb.parentNode:bb.parentNode===aa}}Z&&N.filter(aa,ab,true)}},"":function(ab,aa,Z){var Y=R++,ba=T;if(typeof aa==="string"&&!/\W/.test(aa)){var bb=aa=aa.toLowerCase();ba=V}ba("parentNode",aa,Y,ab,bb,Z)},"~":function(ab,aa,Z){var Y=R++,ba=T;if(typeof aa==="string"&&!/\W/.test(aa)){var bb=aa=aa.toLowerCase();ba=V}ba("previousSibling",aa,Y,ab,bb,Z)}},find:{ID:function(aa,Z,Y){if(typeof Z.getElementById!=="undefined"&&!Y){return(aa=Z.getElementById(aa[1]))?[aa]:[]}},NAME:function(ab,aa){if(typeof aa.getElementsByName!=="undefined"){var Z=[];aa=aa.getElementsByName(ab[1]);for(var Y=0,ba=aa.length;Y<ba;Y++){aa[Y].getAttribute("name")===ab[1]&&Z.push(aa[Y])}return Z.length===0?null:Z}},TAG:function(Z,Y){return Y.getElementsByTagName(Z[1])}},preFilter:{CLASS:function(ba,ab,Z,Y,bb,bo){ba=" "+ba[1].replace(/\\/g,"")+" ";if(bo){return ba}bo=0;for(var aa;(aa=ab[bo])!=null;bo++){if(aa){if(bb^(aa.className&&(" "+aa.className+" ").replace(/[\t\n]/g," ").indexOf(ba)>=0)){Z||Y.push(aa)}else{if(Z){ab[bo]=false}}}}return false},ID:function(Y){return Y[1].replace(/\\/g,"")},TAG:function(Y){return Y[1].toLowerCase()},CHILD:function(Z){if(Z[1]==="nth"){var Y=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(Z[2]==="even"&&"2n"||Z[2]==="odd"&&"2n+1"||!/\D/.test(Z[2])&&"0n+"+Z[2]||Z[2]);Z[2]=Y[1]+(Y[2]||1)-0;Z[3]=Y[3]-0}Z[0]=R++;return Z},ATTR:function(ab,aa,Z,Y,ba,bb){aa=ab[1].replace(/\\/g,"");if(!bb&&L.attrMap[aa]){ab[1]=L.attrMap[aa]}if(ab[2]==="~="){ab[4]=" "+ab[4]+" "}return ab},PSEUDO:function(ab,aa,Z,Y,ba){if(ab[1]==="not"){if((Q.exec(ab[3])||"").length>1||/^\w/.test(ab[3])){ab[3]=N(ab[3],null,null,aa)}else{ab=N.filter(ab[3],aa,Z,true^ba);Z||Y.push.apply(Y,ab);return false}}else{if(L.match.POS.test(ab[0])||L.match.CHILD.test(ab[0])){return true}}return ab},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,Z,Y){return !!N(Y[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(Z,Y){return Y===0},last:function(ab,aa,Z,Y){return aa===Y.length-1},even:function(Z,Y){return Y%2===0},odd:function(Z,Y){return Y%2===1},lt:function(aa,Z,Y){return Z<Y[3]-0},gt:function(aa,Z,Y){return Z>Y[3]-0},nth:function(aa,Z,Y){return Y[3]-0===Z},eq:function(aa,Z,Y){return Y[3]-0===Z}},filter:{PSEUDO:function(ab,aa,Z,Y){var ba=aa[1],bb=L.filters[ba];if(bb){return bb(ab,Z,aa,Y)}else{if(ba==="contains"){return(ab.textContent||ab.innerText||W([ab])||"").indexOf(aa[3])>=0}else{if(ba==="not"){aa=aa[3];Z=0;for(Y=aa.length;Z<Y;Z++){if(aa[Z]===ab){return false}}return true}else{N.error("Syntax error, unrecognized expression: "+ba)}}}},CHILD:function(ba,ab){var Z=ab[1],Y=ba;switch(Z){case"only":case"first":for(;Y=Y.previousSibling;){if(Y.nodeType===1){return false}}if(Z==="first"){return true}Y=ba;case"last":for(;Y=Y.nextSibling;){if(Y.nodeType===1){return false}}return true;case"nth":Z=ab[2];var bb=ab[3];if(Z===1&&bb===0){return true}ab=ab[0];var bo=ba.parentNode;if(bo&&(bo.sizcache!==ab||!ba.nodeIndex)){var aa=0;for(Y=bo.firstChild;Y;Y=Y.nextSibling){if(Y.nodeType===1){Y.nodeIndex=++aa}}bo.sizcache=ab}ba=ba.nodeIndex-bb;return Z===0?ba===0:ba%Z===0&&ba/Z>=0}},ID:function(Z,Y){return Z.nodeType===1&&Z.getAttribute("id")===Y},TAG:function(Z,Y){return Y==="*"&&Z.nodeType===1||Z.nodeName.toLowerCase()===Y},CLASS:function(Z,Y){return(" "+(Z.className||Z.getAttribute("class"))+" ").indexOf(Y)>-1},ATTR:function(ab,aa){var Z=aa[1];ab=L.attrHandle[Z]?L.attrHandle[Z](ab):ab[Z]!=null?ab[Z]:ab.getAttribute(Z);Z=ab+"";var Y=aa[2];aa=aa[4];return ab==null?Y==="!=":Y==="="?Z===aa:Y==="*="?Z.indexOf(aa)>=0:Y==="~="?(" "+Z+" ").indexOf(aa)>=0:!aa?Z&&ab!==false:Y==="!="?Z!==aa:Y==="^="?Z.indexOf(aa)===0:Y==="$="?Z.substr(Z.length-aa.length)===aa:Y==="|="?Z===aa||Z.substr(0,aa.length+1)===aa+"-":false},POS:function(ab,aa,Z,Y){var ba=L.setFilters[aa[2]];if(ba){return ba(ab,Z,aa,Y)}}}},G=L.match.POS;for(var w in L.match){L.match[w]=new RegExp(L.match[w].source+/(?![^\[]*\])(?![^\(]*\))/.source);L.leftMatch[w]=new RegExp(/(^(?:.|\r|\n)*?)/.source+L.match[w].source.replace(/\\(\d+)/g,function(Z,Y){return"\\"+(Y-0+1)}))}var c=function(Z,Y){Z=Array.prototype.slice.call(Z,0);if(Y){Y.push.apply(Y,Z);return Y}return Z};try{Array.prototype.slice.call(ac.documentElement.childNodes,0)}catch(F){c=function(ab,aa){aa=aa||[];if(O.call(ab)==="[object Array]"){Array.prototype.push.apply(aa,ab)}else{if(typeof ab.length==="number"){for(var Z=0,Y=ab.length;Z<Y;Z++){aa.push(ab[Z])}}else{for(Z=0;ab[Z];Z++){aa.push(ab[Z])}}}return aa}}var J;if(ac.documentElement.compareDocumentPosition){J=function(Z,Y){if(!Z.compareDocumentPosition||!Y.compareDocumentPosition){if(Z==Y){P=true}return Z.compareDocumentPosition?-1:1}Z=Z.compareDocumentPosition(Y)&4?-1:Z===Y?0:1;if(Z===0){P=true}return Z}}else{if("sourceIndex" in ac.documentElement){J=function(Z,Y){if(!Z.sourceIndex||!Y.sourceIndex){if(Z==Y){P=true}return Z.sourceIndex?-1:1}Z=Z.sourceIndex-Y.sourceIndex;if(Z===0){P=true}return Z}}else{if(ac.createRange){J=function(ab,aa){if(!ab.ownerDocument||!aa.ownerDocument){if(ab==aa){P=true}return ab.ownerDocument?-1:1}var Z=ab.ownerDocument.createRange(),Y=aa.ownerDocument.createRange();Z.setStart(ab,0);Z.setEnd(ab,0);Y.setStart(aa,0);Y.setEnd(aa,0);ab=Z.compareBoundaryPoints(Range.START_TO_END,Y);if(ab===0){P=true}return ab}}}}(function(){var aa=ac.createElement("div"),Z="script"+(new Date).getTime();aa.innerHTML="<a name='"+Z+"'/>";var Y=ac.documentElement;Y.insertBefore(aa,Y.firstChild);if(ac.getElementById(Z)){L.find.ID=function(ab,ba,bb){if(typeof ba.getElementById!=="undefined"&&!bb){return(ba=ba.getElementById(ab[1]))?ba.id===ab[1]||typeof ba.getAttributeNode!=="undefined"&&ba.getAttributeNode("id").nodeValue===ab[1]?[ba]:U:[]}};L.filter.ID=function(ab,ba){var bb=typeof ab.getAttributeNode!=="undefined"&&ab.getAttributeNode("id");return ab.nodeType===1&&bb&&bb.nodeValue===ba}}Y.removeChild(aa);Y=aa=null})();(function(){var Y=ac.createElement("div");Y.appendChild(ac.createComment(""));if(Y.getElementsByTagName("*").length>0){L.find.TAG=function(ab,aa){aa=aa.getElementsByTagName(ab[1]);if(ab[1]==="*"){ab=[];for(var Z=0;aa[Z];Z++){aa[Z].nodeType===1&&ab.push(aa[Z])}aa=ab}return aa}}Y.innerHTML="<a href='#'></a>";if(Y.firstChild&&typeof Y.firstChild.getAttribute!=="undefined"&&Y.firstChild.getAttribute("href")!=="#"){L.attrHandle.href=function(Z){return Z.getAttribute("href",2)}}Y=null})();ac.querySelectorAll&&function(){var aa=N,Z=ac.createElement("div");Z.innerHTML="<p class='TEST'></p>";if(!(Z.querySelectorAll&&Z.querySelectorAll(".TEST").length===0)){N=function(ab,bo,bp,ba){bo=bo||ac;if(!ba&&bo.nodeType===9&&!s(bo)){try{return c(bo.querySelectorAll(ab),bp)}catch(bb){}}return aa(ab,bo,bp,ba)};for(var Y in aa){N[Y]=aa[Y]}Z=null}}();(function(){var Y=ac.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){L.order.splice(1,0,"CLASS");L.find.CLASS=function(ab,aa,Z){if(typeof aa.getElementsByClassName!=="undefined"&&!Z){return aa.getElementsByClassName(ab[1])}};Y=null}}})();var A=ac.compareDocumentPosition?function(Z,Y){return !!(Z.compareDocumentPosition(Y)&16)}:function(Z,Y){return Z!==Y&&(Z.contains?Z.contains(Y):true)},s=function(Y){return(Y=(Y?Y.ownerDocument||Y:0).documentElement)?Y.nodeName!=="HTML":false},X=function(ab,aa){var Z=[],Y="",ba;for(aa=aa.nodeType?[aa]:aa;ba=L.match.PSEUDO.exec(ab);){Y+=ba[0];ab=ab.replace(L.match.PSEUDO,"")}ab=L.relative[ab]?ab+"*":ab;ba=0;for(var bb=aa.length;ba<bb;ba++){N(ab,aa[ba],Z)}return N.filter(Y,Z)};ak.find=N;ak.expr=N.selectors;ak.expr[":"]=ak.expr.filters;ak.unique=N.uniqueSort;ak.text=W;ak.isXMLDoc=s;ak.contains=A})();var f=/Until$/,be=/^(?:parents|prevUntil|prevAll)/,aZ=/,/;ax=Array.prototype.slice;var aO=function(s,c,A){if(ak.isFunction(c)){return ak.grep(s,function(G,F){return !!c.call(G,F,G)===A})}else{if(c.nodeType){return ak.grep(s,function(F){return F===c===A})}else{if(typeof c==="string"){var w=ak.grep(s,function(F){return F.nodeType===1});if(aW.test(c)){return ak.filter(c,w,!A)}else{c=ak.filter(c,w)}}}}return ak.grep(s,function(F){return ak.inArray(F,c)>=0===A})};ak.fn.extend({find:function(s){for(var c=this.pushStack("","find",s),J=0,F=0,G=this.length;F<G;F++){J=c.length;ak.find(s,this[F],c);if(F>0){for(var w=J;w<c.length;w++){for(var A=0;A<J;A++){if(c[A]===c[w]){c.splice(w--,1);break}}}}}return c},has:function(s){var c=ak(s);return this.filter(function(){for(var A=0,w=c.length;A<w;A++){if(ak.contains(this,c[A])){return true}}})},not:function(c){return this.pushStack(aO(this,c,false),"not",c)},filter:function(c){return this.pushStack(aO(this,c,true),"filter",c)},is:function(c){return !!c&&ak.filter(c,this).length>0},closest:function(L,K){if(ak.isArray(L)){var J=[],F=this[0],G,w={},A;if(F&&L.length){G=0;for(var c=L.length;G<c;G++){A=L[G];w[A]||(w[A]=ak.expr.match.POS.test(A)?ak(A,K||this.context):A)}for(;F&&F.ownerDocument&&F!==K;){for(A in w){G=w[A];if(G.jquery?G.index(F)>-1:ak(F).is(G)){J.push({selector:A,elem:F});delete w[A]}}F=F.parentNode}}return J}var s=ak.expr.match.POS.test(L)?ak(L,K||this.context):null;return this.map(function(O,N){for(;N&&N.ownerDocument&&N!==K;){if(s?s.index(N)>-1:ak(N).is(L)){return N}N=N.parentNode}return null})},index:function(c){if(!c||typeof c==="string"){return ak.inArray(this[0],c?ak(c):this.parent().children())}return ak.inArray(c.jquery?c[0]:c,this)},add:function(s,c){s=typeof s==="string"?ak(s,c||this.context):ak.makeArray(s);c=ak.merge(this.get(),s);return this.pushStack(m(s[0])||m(c[0])?c:ak.unique(c))},andSelf:function(){return this.add(this.prevObject)}});ak.each({parent:function(c){return(c=c.parentNode)&&c.nodeType!==11?c:null},parents:function(c){return ak.dir(c,"parentNode")},parentsUntil:function(s,c,w){return ak.dir(s,"parentNode",w)},next:function(c){return ak.nth(c,2,"nextSibling")},prev:function(c){return ak.nth(c,2,"previousSibling")},nextAll:function(c){return ak.dir(c,"nextSibling")},prevAll:function(c){return ak.dir(c,"previousSibling")},nextUntil:function(s,c,w){return ak.dir(s,"nextSibling",w)},prevUntil:function(s,c,w){return ak.dir(s,"previousSibling",w)},siblings:function(c){return ak.sibling(c.parentNode.firstChild,c)},children:function(c){return ak.sibling(c.firstChild)},contents:function(c){return ak.nodeName(c,"iframe")?c.contentDocument||c.contentWindow.document:ak.makeArray(c.childNodes)}},function(s,c){ak.fn[s]=function(F,w){var A=ak.map(this,c,F);f.test(s)||(w=F);if(w&&typeof w==="string"){A=ak.filter(w,A)}A=this.length>1?ak.unique(A):A;if((this.length>1||aZ.test(w))&&be.test(s)){A=A.reverse()}return this.pushStack(A,s,ax.call(arguments).join(","))}});ak.extend({filter:function(s,c,w){if(w){s=":not("+s+")"}return ak.find.matches(s,c)},dir:function(s,c,A){var w=[];for(s=s[c];s&&s.nodeType!==9&&(A===U||s.nodeType!==1||!ak(s).is(A));){s.nodeType===1&&w.push(s);s=s[c]}return w},nth:function(s,c,A){c=c||1;for(var w=0;s;s=s[A]){if(s.nodeType===1&&++w===c){break}}return s},sibling:function(s,c){for(var w=[];s;s=s.nextSibling){s.nodeType===1&&s!==c&&w.push(s)}return w}});var al=/ jQuery\d+="(?:\d+|null)"/g,av=/^\s+/,E=/(<([\w:]+)[^>]*?)\/>/g,aG=/^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i,o=/<([\w:]+)/,af=/<tbody/i,y=/<|&#?\w+;/,aS=/<script|<object|<embed|<option|<style/i,an=/checked\s*(?:[^=]|=\s*.checked.)/i,bn=function(s,c,w){return aG.test(w)?s:c+"></"+w+">"},aM={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,"",""]};aM.optgroup=aM.option;aM.tbody=aM.tfoot=aM.colgroup=aM.caption=aM.thead;aM.th=aM.td;if(!ak.support.htmlSerialize){aM._default=[1,"div<div>","</div>"]}ak.fn.extend({text:function(c){if(ak.isFunction(c)){return this.each(function(s){var w=ak(this);w.text(c.call(this,s,w.text()))})}if(typeof c!=="object"&&c!==U){return this.empty().append((this[0]&&this[0].ownerDocument||ac).createTextNode(c))}return ak.text(this)},wrapAll:function(s){if(ak.isFunction(s)){return this.each(function(w){ak(this).wrapAll(s.call(this,w))})}if(this[0]){var c=ak(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(ak.isFunction(c)){return this.each(function(s){ak(this).wrapInner(c.call(this,s))})}return this.each(function(){var s=ak(this),w=s.contents();w.length?w.wrapAll(c):s.append(c)})},wrap:function(c){return this.each(function(){ak(this).wrapAll(c)})},unwrap:function(){return this.parent().each(function(){ak.nodeName(this,"body")||ak(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=ak(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,ak(arguments[0]).toArray());return c}}},remove:function(s,c){for(var A=0,w;(w=this[A])!=null;A++){if(!s||ak.filter(s,[w]).length){if(!c&&w.nodeType===1){ak.cleanData(w.getElementsByTagName("*"));ak.cleanData([w])}w.parentNode&&w.parentNode.removeChild(w)}}return this},empty:function(){for(var s=0,c;(c=this[s])!=null;s++){for(c.nodeType===1&&ak.cleanData(c.getElementsByTagName("*"));c.firstChild;){c.removeChild(c.firstChild)}}return this},clone:function(s){var c=this.map(function(){if(!ak.support.noCloneEvent&&!ak.isXMLDoc(this)){var A=this.outerHTML,w=this.ownerDocument;if(!A){A=w.createElement("div");A.appendChild(this.cloneNode(true));A=A.innerHTML}return ak.clean([A.replace(al,"").replace(/=([^="'>\s]+\/)>/g,'="$1">').replace(av,"")],w)[0]}else{return this.cloneNode(true)}});if(s===true){bm(this,c);bm(this.find("*"),c.find("*"))}return c},html:function(s){if(s===U){return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(al,""):null}else{if(typeof s==="string"&&!aS.test(s)&&(ak.support.leadingWhitespace||!av.test(s))&&!aM[(o.exec(s)||["",""])[1].toLowerCase()]){s=s.replace(E,bn);try{for(var c=0,A=this.length;c<A;c++){if(this[c].nodeType===1){ak.cleanData(this[c].getElementsByTagName("*"));this[c].innerHTML=s}}}catch(w){this.empty().append(s)}}else{ak.isFunction(s)?this.each(function(J){var F=ak(this),G=F.html();F.empty().append(function(){return s.call(this,J,G)})}):this.empty().append(s)}}return this},replaceWith:function(c){if(this[0]&&this[0].parentNode){if(ak.isFunction(c)){return this.each(function(s){var A=ak(this),w=A.html();A.replaceWith(c.call(this,s,w))})}if(typeof c!=="string"){c=ak(c).detach()}return this.each(function(){var s=this.nextSibling,w=this.parentNode;ak(this).remove();s?ak(s).before(c):ak(w).append(c)})}else{return this.pushStack(ak(ak.isFunction(c)?c():c),"replaceWith",c)}},detach:function(c){return this.remove(c,true)},domManip:function(O,N,L){function J(P){return ak.nodeName(P,"table")?P.getElementsByTagName("tbody")[0]||P.appendChild(P.ownerDocument.createElement("tbody")):P}var K,F,G=O[0],s=[],A;if(!ak.support.checkClone&&arguments.length===3&&typeof G==="string"&&an.test(G)){return this.each(function(){ak(this).domManip(O,N,L,true)})}if(ak.isFunction(G)){return this.each(function(P){var Q=ak(this);O[0]=G.call(this,P,N?Q.html():U);Q.domManip(O,N,L)})}if(this[0]){K=G&&G.parentNode;K=ak.support.parentNode&&K&&K.nodeType===11&&K.childNodes.length===this.length?{fragment:K}:a6(O,this,s);A=K.fragment;if(F=A.childNodes.length===1?(A=A.firstChild):A.firstChild){N=N&&ak.nodeName(F,"tr");for(var w=0,c=this.length;w<c;w++){L.call(N?J(this[w],F):this[w],w>0||K.cacheable||this.length>1?A.cloneNode(true):A)}}s.length&&ak.each(s,M)}return this}});ak.fragments={};ak.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(s,c){ak.fn[s]=function(J){var F=[];J=ak(J);var G=this.length===1&&this[0].parentNode;if(G&&G.nodeType===11&&G.childNodes.length===1&&J.length===1){J[c](this[0]);return this}else{G=0;for(var w=J.length;G<w;G++){var A=(G>0?this.clone(true):this).get();ak.fn[c].apply(ak(J[G]),A);F=F.concat(A)}return this.pushStack(F,s,J.selector)}}});ak.extend({clean:function(O,N,L,J){N=N||ac;if(typeof N.createElement==="undefined"){N=N.ownerDocument||N[0]&&N[0].ownerDocument||ac}for(var K=[],F=0,G;(G=O[F])!=null;F++){if(typeof G==="number"){G+=""}if(G){if(typeof G==="string"&&!y.test(G)){G=N.createTextNode(G)}else{if(typeof G==="string"){G=G.replace(E,bn);var s=(o.exec(G)||["",""])[1].toLowerCase(),A=aM[s]||aM._default,w=A[0],c=N.createElement("div");for(c.innerHTML=A[1]+G+A[2];w--;){c=c.lastChild}if(!ak.support.tbody){w=af.test(G);s=s==="table"&&!w?c.firstChild&&c.firstChild.childNodes:A[1]==="<table>"&&!w?c.childNodes:[];for(A=s.length-1;A>=0;--A){ak.nodeName(s[A],"tbody")&&!s[A].childNodes.length&&s[A].parentNode.removeChild(s[A])}}!ak.support.leadingWhitespace&&av.test(G)&&c.insertBefore(N.createTextNode(av.exec(G)[0]),c.firstChild);G=c.childNodes}}if(G.nodeType){K.push(G)}else{K=ak.merge(K,G)}}}if(L){for(F=0;K[F];F++){if(J&&ak.nodeName(K[F],"script")&&(!K[F].type||K[F].type.toLowerCase()==="text/javascript")){J.push(K[F].parentNode?K[F].parentNode.removeChild(K[F]):K[F])}else{K[F].nodeType===1&&K.splice.apply(K,[F+1,0].concat(ak.makeArray(K[F].getElementsByTagName("script"))));L.appendChild(K[F])}}}return K},cleanData:function(L){for(var K,J,F=ak.cache,G=ak.event.special,w=ak.support.deleteExpando,A=0,c;(c=L[A])!=null;A++){if(J=c[ak.expando]){K=F[J];if(K.events){for(var s in K.events){G[s]?ak.event.remove(c,s):aJ(c,s,K.handle)}}if(w){delete c[ak.expando]}else{c.removeAttribute&&c.removeAttribute(ak.expando)}delete F[J]}}}});var h=/z-?index|font-?weight|opacity|zoom|line-?height/i,a7=/alpha\([^)]*\)/,aT=/opacity=([^)]*)/,aH=/float/i,ag=/-([a-z])/ig,bi=/([A-Z])/g,a2=/^-?\d+(?:px)?$/i,aL=/^-?\d/,ai={position:"absolute",visibility:"hidden",display:"block"},C=["Left","Right"],l=["Top","Bottom"],bl=ac.defaultView&&ac.defaultView.getComputedStyle,ao=ak.support.cssFloat?"cssFloat":"styleFloat",z=function(s,c){return c.toUpperCase()};ak.fn.css=function(s,c){return at(this,s,c,true,function(F,w,A){if(A===U){return ak.curCSS(F,w)}if(typeof A==="number"&&!h.test(w)){A+="px"}ak.style(F,w,A)})};ak.extend({style:function(s,c,F){if(!s||s.nodeType===3||s.nodeType===8){return U}if((c==="width"||c==="height")&&parseFloat(F)<0){F=U}var w=s.style||s,A=F!==U;if(!ak.support.opacity&&c==="opacity"){if(A){w.zoom=1;c=parseInt(F,10)+""==="NaN"?"":"alpha(opacity="+F*100+")";s=w.filter||ak.curCSS(s,"filter")||"";w.filter=a7.test(s)?s.replace(a7,c):c}return w.filter&&w.filter.indexOf("opacity=")>=0?parseFloat(aT.exec(w.filter)[1])/100+"":""}if(aH.test(c)){c=ao}c=c.replace(ag,z);if(A){w[c]=F}return w[c]},css:function(s,c,J,F){if(c==="width"||c==="height"){var G,w=c==="width"?C:l;function A(){G=c==="width"?s.offsetWidth:s.offsetHeight;F!=="border"&&ak.each(w,function(){F||(G-=parseFloat(ak.curCSS(s,"padding"+this,true))||0);if(F==="margin"){G+=parseFloat(ak.curCSS(s,"margin"+this,true))||0}else{G-=parseFloat(ak.curCSS(s,"border"+this+"Width",true))||0}})}s.offsetWidth!==0?A():ak.swap(s,ai,A);return Math.max(0,Math.round(G))}return ak.curCSS(s,c,J)},curCSS:function(s,c,G){var A,F=s.style;if(!ak.support.opacity&&c==="opacity"&&s.currentStyle){A=aT.test(s.currentStyle.filter||"")?parseFloat(RegExp.$1)/100+"":"";return A===""?"1":A}if(aH.test(c)){c=ao}if(!G&&F&&F[c]){A=F[c]}else{if(bl){if(aH.test(c)){c="float"}c=c.replace(bi,"-$1").toLowerCase();F=s.ownerDocument.defaultView;if(!F){return null}if(s=F.getComputedStyle(s,null)){A=s.getPropertyValue(c)}if(c==="opacity"&&A===""){A="1"}}else{if(s.currentStyle){G=c.replace(ag,z);A=s.currentStyle[c]||s.currentStyle[G];if(!a2.test(A)&&aL.test(A)){c=F.left;var w=s.runtimeStyle.left;s.runtimeStyle.left=s.currentStyle.left;F.left=G==="fontSize"?"1em":A||0;A=F.pixelLeft+"px";F.left=c;s.runtimeStyle.left=w}}}}return A},swap:function(s,c,F){var w={};for(var A in c){w[A]=s.style[A];s.style[A]=c[A]}F.call(s);for(A in c){s.style[A]=w[A]}}});if(ak.expr&&ak.expr.filters){ak.expr.filters.hidden=function(s){var c=s.offsetWidth,A=s.offsetHeight,w=s.nodeName.toLowerCase()==="tr";return c===0&&A===0&&!w?true:c>0&&A>0&&!w?false:ak.curCSS(s,"display")==="none"};ak.expr.filters.visible=function(c){return !ak.expr.filters.hidden(c)}}var a5=aI(),aQ=/<script(.|\s)*?\/script>/gi,am=/select|textarea/i,H=/color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week/i,aD=/=\?(&|$)/,j=/\?/,p=/(\?|&)_=.*?(&|$)/,a=/^(\w+:)?\/\/([^\/?#]+)/,a8=/%20/g,aU=ak.fn.load;ak.fn.extend({load:function(s,c,G){if(typeof s!=="string"){return aU.call(this,s)}else{if(!this.length){return this}}var A=s.indexOf(" ");if(A>=0){var F=s.slice(A,s.length);s=s.slice(0,A)}A="GET";if(c){if(ak.isFunction(c)){G=c;c=null}else{if(typeof c==="object"){c=ak.param(c,ak.ajaxSettings.traditional);A="POST"}}}var w=this;ak.ajax({url:s,type:A,dataType:"html",data:c,complete:function(J,K){if(K==="success"||K==="notmodified"){w.html(F?ak("<div />").append(J.responseText.replace(aQ,"")).find(F):J.responseText)}G&&w.each(G,[J.responseText,K,J])}});return this},serialize:function(){return ak.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?ak.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||am.test(this.nodeName)||H.test(this.type))}).map(function(s,c){s=ak(this).val();return s==null?null:ak.isArray(s)?ak.map(s,function(w){return{name:c.name,value:w}}):{name:c.name,value:s}}).get()}});ak.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(s,c){ak.fn[c]=function(w){return this.bind(c,w)}});ak.extend({get:function(s,c,A,w){if(ak.isFunction(c)){w=w||A;A=c;c=null}return ak.ajax({type:"GET",url:s,data:c,success:A,dataType:w})},getScript:function(s,c){return ak.get(s,null,c,"script")},getJSON:function(s,c,w){return ak.get(s,c,w,"json")},post:function(s,c,A,w){if(ak.isFunction(c)){w=w||A;A=c;c={}}return ak.ajax({type:"POST",url:s,data:c,success:A,dataType:w})},ajaxSetup:function(c){ak.extend(ak.ajaxSettings,c)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:aR.XMLHttpRequest&&(aR.location.protocol!=="file:"||!aR.ActiveXObject)?function(){return new aR.XMLHttpRequest}:function(){try{return new aR.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(aa){function Z(){X.success&&X.success.call(P,K,R,s);X.global&&W("ajaxSuccess",[s,X])}function Y(){X.complete&&X.complete.call(P,s,R);X.global&&W("ajaxComplete",[s,X]);X.global&&!--ak.active&&ak.event.trigger("ajaxStop")}function W(ba,bb){(X.context?ak(X.context):ak.event).trigger(ba,bb)}var X=ak.extend(true,{},ak.ajaxSettings,aa),Q,R,K,P=aa&&aa.context||X,L=X.type.toUpperCase();if(X.data&&X.processData&&typeof X.data!=="string"){X.data=ak.param(X.data,X.traditional)}if(X.dataType==="jsonp"){if(L==="GET"){aD.test(X.url)||(X.url+=(j.test(X.url)?"&":"?")+(X.jsonp||"callback")+"=?")}else{if(!X.data||!aD.test(X.data)){X.data=(X.data?X.data+"&":"")+(X.jsonp||"callback")+"=?"}}X.dataType="json"}if(X.dataType==="json"&&(X.data&&aD.test(X.data)||aD.test(X.url))){Q=X.jsonpCallback||"jsonp"+a5++;if(X.data){X.data=(X.data+"").replace(aD,"="+Q+"$1")}X.url=X.url.replace(aD,"="+Q+"$1");X.dataType="script";aR[Q]=aR[Q]||function(ba){K=ba;Z();Y();aR[Q]=U;try{delete aR[Q]}catch(bb){}c&&c.removeChild(F)}}if(X.dataType==="script"&&X.cache===null){X.cache=false}if(X.cache===false&&L==="GET"){var G=aI(),w=X.url.replace(p,"$1_="+G+"$2");X.url=w+(w===X.url?(j.test(X.url)?"&":"?")+"_="+G:"")}if(X.data&&L==="GET"){X.url+=(j.test(X.url)?"&":"?")+X.data}X.global&&!ak.active++&&ak.event.trigger("ajaxStart");G=(G=a.exec(X.url))&&(G[1]&&G[1]!==location.protocol||G[2]!==location.host);if(X.dataType==="script"&&L==="GET"&&G){var c=ac.getElementsByTagName("head")[0]||ac.documentElement,F=ac.createElement("script");F.src=X.url;if(X.scriptCharset){F.charset=X.scriptCharset}if(!Q){var J=false;F.onload=F.onreadystatechange=function(){if(!J&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){J=true;Z();Y();F.onload=F.onreadystatechange=null;c&&F.parentNode&&c.removeChild(F)}}}c.insertBefore(F,c.firstChild);return U}var A=false,s=X.xhr();if(s){X.username?s.open(L,X.url,X.async,X.username,X.password):s.open(L,X.url,X.async);try{if(X.data||aa&&aa.contentType){s.setRequestHeader("Content-Type",X.contentType)}if(X.ifModified){ak.lastModified[X.url]&&s.setRequestHeader("If-Modified-Since",ak.lastModified[X.url]);ak.etag[X.url]&&s.setRequestHeader("If-None-Match",ak.etag[X.url])}G||s.setRequestHeader("X-Requested-With","XMLHttpRequest");s.setRequestHeader("Accept",X.dataType&&X.accepts[X.dataType]?X.accepts[X.dataType]+", */*":X.accepts._default)}catch(ab){}if(X.beforeSend&&X.beforeSend.call(P,s,X)===false){X.global&&!--ak.active&&ak.event.trigger("ajaxStop");s.abort();return false}X.global&&W("ajaxSend",[s,X]);var V=s.onreadystatechange=function(bb){if(!s||s.readyState===0||bb==="abort"){A||Y();A=true;if(s){s.onreadystatechange=ak.noop}}else{if(!A&&s&&(s.readyState===4||bb==="timeout")){A=true;s.onreadystatechange=ak.noop;R=bb==="timeout"?"timeout":!ak.httpSuccess(s)?"error":X.ifModified&&ak.httpNotModified(s,X.url)?"notmodified":"success";var bo;if(R==="success"){try{K=ak.httpData(s,X.dataType,X)}catch(ba){R="parsererror";bo=ba}}if(R==="success"||R==="notmodified"){Q||Z()}else{ak.handleError(X,s,R,bo)}Y();bb==="timeout"&&s.abort();if(X.async){s=null}}}};try{var T=s.abort;s.abort=function(){s&&T.call(s);V("abort")}}catch(O){}X.async&&X.timeout>0&&setTimeout(function(){s&&!A&&V("timeout")},X.timeout);try{s.send(L==="POST"||L==="PUT"||L==="DELETE"?X.data:null)}catch(N){ak.handleError(X,s,null,N);Y()}X.async||V();return s}},handleError:function(s,c,A,w){if(s.error){s.error.call(s.context||s,c,A,w)}if(s.global){(s.context?ak(s.context):ak.event).trigger("ajaxError",[c,s,w])}},active:0,httpSuccess:function(s){try{return !s.status&&location.protocol==="file:"||s.status>=200&&s.status<300||s.status===304||s.status===1223||s.status===0}catch(c){}return false},httpNotModified:function(s,c){var A=s.getResponseHeader("Last-Modified"),w=s.getResponseHeader("Etag");if(A){ak.lastModified[c]=A}if(w){ak.etag[c]=w}return s.status===304||s.status===0},httpData:function(s,c,F){var w=s.getResponseHeader("content-type")||"",A=c==="xml"||!c&&w.indexOf("xml")>=0;s=A?s.responseXML:s.responseText;A&&s.documentElement.nodeName==="parsererror"&&ak.error("parsererror");if(F&&F.dataFilter){s=F.dataFilter(s,c)}if(typeof s==="string"){if(c==="json"||!c&&w.indexOf("json")>=0){s=ak.parseJSON(s)}else{if(c==="script"||!c&&w.indexOf("javascript")>=0){ak.globalEval(s)}}}return s},param:function(s,c){function G(J,K){if(ak.isArray(K)){ak.each(K,function(L,N){c||/\[\]$/.test(J)?A(J,N):G(J+"["+(typeof N==="object"||ak.isArray(N)?L:"")+"]",N)})}else{!c&&K!=null&&typeof K==="object"?ak.each(K,function(L,N){G(J+"["+L+"]",N)}):A(J,K)}}function A(J,K){K=ak.isFunction(K)?K():K;F[F.length]=encodeURIComponent(J)+"="+encodeURIComponent(K)}var F=[];if(c===U){c=ak.ajaxSettings.traditional}if(ak.isArray(s)||s.jquery){ak.each(s,function(){A(this.name,this.value)})}else{for(var w in s){G(w,s[w])}}return F.join("&").replace(a8,"+")}});var bj={},bf=/toggle|show|hide/,a0=/^([+-]=)?([\d+-.]+)(.*)$/,au,I=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];ak.fn.extend({show:function(s,c){if(s||s===0){return this.animate(aF("show",3),s,c)}else{s=0;for(c=this.length;s<c;s++){var F=ak.data(this[s],"olddisplay");this[s].style.display=F||"";if(ak.css(this[s],"display")==="none"){F=this[s].nodeName;var w;if(bj[F]){w=bj[F]}else{var A=ak("<"+F+" />").appendTo("body");w=A.css("display");if(w==="none"){w="block"}A.remove();bj[F]=w}ak.data(this[s],"olddisplay",w)}}s=0;for(c=this.length;s<c;s++){this[s].style.display=ak.data(this[s],"olddisplay")||""}return this}},hide:function(s,c){if(s||s===0){return this.animate(aF("hide",3),s,c)}else{s=0;for(c=this.length;s<c;s++){var w=ak.data(this[s],"olddisplay");!w&&w!=="none"&&ak.data(this[s],"olddisplay",ak.css(this[s],"display"))}s=0;for(c=this.length;s<c;s++){this[s].style.display="none"}return this}},_toggle:ak.fn.toggle,toggle:function(s,c){var w=typeof s==="boolean";if(ak.isFunction(s)&&ak.isFunction(c)){this._toggle.apply(this,arguments)}else{s==null||w?this.each(function(){var A=w?s:ak(this).is(":hidden");ak(this)[A?"show":"hide"]()}):this.animate(aF("toggle",3),s,c)}return this},fadeTo:function(s,c,w){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:c},s,w)},animate:function(s,c,F,w){var A=ak.speed(c,F,w);if(ak.isEmptyObject(s)){return this.each(A.complete)}return this[A.queue===false?"each":"queue"](function(){var J=ak.extend({},A),K,L=this.nodeType===1&&ak(this).is(":hidden"),G=this;for(K in s){var N=K.replace(ag,z);if(K!==N){s[N]=s[K];delete s[K];K=N}if(s[K]==="hide"&&L||s[K]==="show"&&!L){return J.complete.call(this)}if((K==="height"||K==="width")&&this.style){J.display=ak.css(this,"display");J.overflow=this.style.overflow}if(ak.isArray(s[K])){(J.specialEasing=J.specialEasing||{})[K]=s[K][1];s[K]=s[K][0]}}if(J.overflow!=null){this.style.overflow="hidden"}J.curAnim=ak.extend({},s);ak.each(s,function(P,O){var T=new ak.fx(G,J,P);if(bf.test(O)){T[O==="toggle"?L?"show":"hide":O](s)}else{var R=a0.exec(O),V=T.cur(true)||0;if(R){O=parseFloat(R[2]);var Q=R[3]||"px";if(Q!=="px"){G.style[P]=(O||1)+Q;V=(O||1)/T.cur(true)*V;G.style[P]=V+Q}if(R[1]){O=(R[1]==="-="?-1:1)*O+V}T.custom(V,O,Q)}else{T.custom(V,O,"")}}});return true})},stop:function(s,c){var w=ak.timers;s&&this.queue([]);this.each(function(){for(var A=w.length-1;A>=0;A--){if(w[A].elem===this){c&&w[A](true);w.splice(A,1)}}});c||this.dequeue();return this}});ak.each({slideDown:aF("show",1),slideUp:aF("hide",1),slideToggle:aF("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(s,c){ak.fn[s]=function(A,w){return this.animate(c,A,w)}});ak.extend({speed:function(s,c,A){var w=s&&typeof s==="object"?s:{complete:A||!A&&c||ak.isFunction(s)&&s,duration:s,easing:A&&c||c&&!ak.isFunction(c)&&c};w.duration=ak.fx.off?0:typeof w.duration==="number"?w.duration:ak.fx.speeds[w.duration]||ak.fx.speeds._default;w.old=w.complete;w.complete=function(){w.queue!==false&&ak(this).dequeue();ak.isFunction(w.old)&&w.old.call(this)};return w},easing:{linear:function(s,c,A,w){return A+w*s},swing:function(s,c,A,w){return(-Math.cos(s*Math.PI)/2+0.5)*w+A}},timers:[],fx:function(s,c,w){this.options=c;this.elem=s;this.prop=w;if(!c.orig){c.orig={}}}});ak.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(ak.fx.step[this.prop]||ak.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(ak.css(this.elem,this.prop,c)))&&c>-10000?c:parseFloat(ak.curCSS(this.elem,this.prop))||0},custom:function(s,c,F){function w(G){return A.step(G)}this.startTime=aI();this.start=s;this.end=c;this.unit=F||this.unit||"px";this.now=this.start;this.pos=this.state=0;var A=this;w.elem=this.elem;if(w()&&ak.timers.push(w)&&!au){au=setInterval(ak.fx.tick,13)}},show:function(){this.options.orig[this.prop]=ak.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());ak(this.elem).show()},hide:function(){this.options.orig[this.prop]=ak.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(s){var c=aI(),F=true;if(s||c>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;for(var w in this.options.curAnim){if(this.options.curAnim[w]!==true){F=false}}if(F){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;s=ak.data(this.elem,"olddisplay");this.elem.style.display=s?s:this.options.display;if(ak.css(this.elem,"display")==="none"){this.elem.style.display="block"}}this.options.hide&&ak(this.elem).hide();if(this.options.hide||this.options.show){for(var A in this.options.curAnim){ak.style(this.elem,A,this.options.orig[A])}}this.options.complete.call(this.elem)}return false}else{A=c-this.startTime;this.state=A/this.options.duration;s=this.options.easing||(ak.easing.swing?"swing":"linear");this.pos=ak.easing[this.options.specialEasing&&this.options.specialEasing[this.prop]||s](this.state,A,0,1,this.options.duration);this.now=this.start+(this.end-this.start)*this.pos;this.update()}return true}};ak.extend(ak.fx,{tick:function(){for(var s=ak.timers,c=0;c<s.length;c++){s[c]()||s.splice(c--,1)}s.length||ak.fx.stop()},stop:function(){clearInterval(au);au=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(c){ak.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(ak.expr&&ak.expr.filters){ak.expr.filters.animated=function(c){return ak.grep(ak.timers,function(s){return c===s.elem}).length}}ak.fn.offset="getBoundingClientRect" in ac.documentElement?function(s){var c=this[0];if(s){return this.each(function(F){ak.offset.setOffset(this,s,F)})}if(!c||!c.ownerDocument){return null}if(c===c.ownerDocument.body){return ak.offset.bodyOffset(c)}var A=c.getBoundingClientRect(),w=c.ownerDocument;c=w.body;w=w.documentElement;return{top:A.top+(self.pageYOffset||ak.support.boxModel&&w.scrollTop||c.scrollTop)-(w.clientTop||c.clientTop||0),left:A.left+(self.pageXOffset||ak.support.boxModel&&w.scrollLeft||c.scrollLeft)-(w.clientLeft||c.clientLeft||0)}}:function(N){var L=this[0];if(N){return this.each(function(O){ak.offset.setOffset(this,N,O)})}if(!L||!L.ownerDocument){return null}if(L===L.ownerDocument.body){return ak.offset.bodyOffset(L)}ak.offset.initialize();var K=L.offsetParent,G=L,J=L.ownerDocument,A,F=J.documentElement,c=J.body;G=(J=J.defaultView)?J.getComputedStyle(L,null):L.currentStyle;for(var w=L.offsetTop,s=L.offsetLeft;(L=L.parentNode)&&L!==c&&L!==F;){if(ak.offset.supportsFixedPosition&&G.position==="fixed"){break}A=J?J.getComputedStyle(L,null):L.currentStyle;w-=L.scrollTop;s-=L.scrollLeft;if(L===K){w+=L.offsetTop;s+=L.offsetLeft;if(ak.offset.doesNotAddBorder&&!(ak.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(L.nodeName))){w+=parseFloat(A.borderTopWidth)||0;s+=parseFloat(A.borderLeftWidth)||0}G=K;K=L.offsetParent}if(ak.offset.subtractsBorderForOverflowNotVisible&&A.overflow!=="visible"){w+=parseFloat(A.borderTopWidth)||0;s+=parseFloat(A.borderLeftWidth)||0}G=A}if(G.position==="relative"||G.position==="static"){w+=c.offsetTop;s+=c.offsetLeft}if(ak.offset.supportsFixedPosition&&G.position==="fixed"){w+=Math.max(F.scrollTop,c.scrollTop);s+=Math.max(F.scrollLeft,c.scrollLeft)}return{top:w,left:s}};ak.offset={initialize:function(){var s=ac.body,c=ac.createElement("div"),G,A,F,w=parseFloat(ak.curCSS(s,"marginTop",true))||0;ak.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);G=c.firstChild;A=G.firstChild;F=G.nextSibling.firstChild.firstChild;this.doesNotAddBorder=A.offsetTop!==5;this.doesAddBorderForTableAndCells=F.offsetTop===5;A.style.position="fixed";A.style.top="20px";this.supportsFixedPosition=A.offsetTop===20||A.offsetTop===15;A.style.position=A.style.top="";G.style.overflow="hidden";G.style.position="relative";this.subtractsBorderForOverflowNotVisible=A.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=s.offsetTop!==w;s.removeChild(c);ak.offset.initialize=ak.noop},bodyOffset:function(s){var c=s.offsetTop,w=s.offsetLeft;ak.offset.initialize();if(ak.offset.doesNotIncludeMarginInBodyOffset){c+=parseFloat(ak.curCSS(s,"marginTop",true))||0;w+=parseFloat(ak.curCSS(s,"marginLeft",true))||0}return{top:c,left:w}},setOffset:function(s,c,J){if(/static/.test(ak.curCSS(s,"position"))){s.style.position="relative"}var F=ak(s),G=F.offset(),w=parseInt(ak.curCSS(s,"top",true),10)||0,A=parseInt(ak.curCSS(s,"left",true),10)||0;if(ak.isFunction(c)){c=c.call(s,J,G)}J={top:c.top-G.top+w,left:c.left-G.left+A};"using" in c?c.using.call(s,J):F.css(J)}};ak.fn.extend({position:function(){if(!this[0]){return null}var s=this[0],c=this.offsetParent(),A=this.offset(),w=/^body|html$/i.test(c[0].nodeName)?{top:0,left:0}:c.offset();A.top-=parseFloat(ak.curCSS(s,"marginTop",true))||0;A.left-=parseFloat(ak.curCSS(s,"marginLeft",true))||0;w.top+=parseFloat(ak.curCSS(c[0],"borderTopWidth",true))||0;w.left+=parseFloat(ak.curCSS(c[0],"borderLeftWidth",true))||0;return{top:A.top-w.top,left:A.left-w.left}},offsetParent:function(){return this.map(function(){for(var c=this.offsetParent||ac.body;c&&!/^body|html$/i.test(c.nodeName)&&ak.css(c,"position")==="static";){c=c.offsetParent}return c})}});ak.each(["Left","Top"],function(s,c){var w="scroll"+c;ak.fn[w]=function(F){var G=this[0],A;if(!G){return null}if(F!==U){return this.each(function(){if(A=q(this)){A.scrollTo(!s?F:ak(A).scrollLeft(),s?F:ak(A).scrollTop())}else{this[w]=F}})}else{return(A=q(G))?"pageXOffset" in A?A[s?"pageYOffset":"pageXOffset"]:ak.support.boxModel&&A.document.documentElement[w]||A.document.body[w]:G[w]}}});ak.each(["Height","Width"],function(s,c){var w=c.toLowerCase();ak.fn["inner"+c]=function(){return this[0]?ak.css(this[0],w,false,"padding"):null};ak.fn["outer"+c]=function(A){return this[0]?ak.css(this[0],w,false,A?"margin":"border"):null};ak.fn[w]=function(A){var F=this[0];if(!F){return A==null?null:this}if(ak.isFunction(A)){return this.each(function(G){var J=ak(this);J[w](A.call(this,G,J[w]()))})}return"scrollTo" in F&&F.document?F.document.compatMode==="CSS1Compat"&&F.document.documentElement["client"+c]||F.document.body["client"+c]:F.nodeType===9?Math.max(F.documentElement["client"+c],F.body["scroll"+c],F.documentElement["scroll"+c],F.body["offset"+c],F.documentElement["offset"+c]):A===U?ak.css(F,w):this.css(w,typeof A==="string"?A:A+"px")}});aR.jQuery=aR.$=ak})(window);jQuery.ui||(function(b){b.ui={version:"1.8",plugin:{add:function(k,j,g){var h=b.ui[k].prototype;for(var a in g){h.plugins[a]=h.plugins[a]||[];h.plugins[a].push([j,g[a]])}},call:function(a,j,k){var g=a.plugins[j];if(!g||!a.element[0].parentNode){return}for(var h=0;h<g.length;h++){if(a.options[g[h][0]]){g[h][1].apply(a.element,k)}}}},contains:function(a,e){return document.compareDocumentPosition?a.compareDocumentPosition(e)&16:a!==e&&a.contains(e)},hasScroll:function(f,h){if(b(f).css("overflow")=="hidden"){return false}var a=(h&&h=="left")?"scrollLeft":"scrollTop",g=false;if(f[a]>0){return true}f[a]=1;g=(f[a]>0);f[a]=0;return g},isOverAxis:function(f,a,e){return(f>a)&&(f<(a+e))},isOver:function(h,m,j,k,a,l){return b.ui.isOverAxis(h,j,a)&&b.ui.isOverAxis(m,k,l)},keyCode:{BACKSPACE:8,CAPS_LOCK:20,COMMA:188,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38}};b.fn.extend({_focus:b.fn.focus,focus:function(a,d){return typeof a==="number"?this.each(function(){var c=this;setTimeout(function(){b(c).focus();(d&&d.call(c))},a)}):this._focus.apply(this,arguments)},enableSelection:function(){return this.attr("unselectable","off").css("MozUserSelect","").unbind("selectstart.ui")},disableSelection:function(){return this.attr("unselectable","on").css("MozUserSelect","none").bind("selectstart.ui",function(){return false})},scrollParent:function(){var a;if((b.browser.msie&&(/(static|relative)/).test(this.css("position")))||(/absolute/).test(this.css("position"))){a=this.parents().filter(function(){return(/(relative|absolute|fixed)/).test(b.curCSS(this,"position",1))&&(/(auto|scroll)/).test(b.curCSS(this,"overflow",1)+b.curCSS(this,"overflow-y",1)+b.curCSS(this,"overflow-x",1))}).eq(0)}else{a=this.parents().filter(function(){return(/(auto|scroll)/).test(b.curCSS(this,"overflow",1)+b.curCSS(this,"overflow-y",1)+b.curCSS(this,"overflow-x",1))}).eq(0)}return(/fixed/).test(this.css("position"))||!a.length?b(document):a},zIndex:function(f){if(f!==undefined){return this.css("zIndex",f)}if(this.length){var h=b(this[0]),a,g;while(h.length&&h[0]!==document){a=h.css("position");if(a=="absolute"||a=="relative"||a=="fixed"){g=parseInt(h.css("zIndex"));if(!isNaN(g)&&g!=0){return g}}h=h.parent()}}return 0}});b.extend(b.expr[":"],{data:function(e,f,a){return !!b.data(e,a[3])},focusable:function(f){var e=f.nodeName.toLowerCase(),a=b.attr(f,"tabindex");return(/input|select|textarea|button|object/.test(e)?!f.disabled:"a"==e||"area"==e?f.href||!isNaN(a):!isNaN(a))&&!b(f)["area"==e?"parents":"closest"](":hidden").length},tabbable:function(d){var a=b.attr(d,"tabindex");return(isNaN(a)||a>=0)&&b(d).is(":focusable")}})})(jQuery);(function(c){var d=c.fn.remove;c.fn.remove=function(b,a){return this.each(function(){if(!a){if(!b||c.filter(b,[this]).length){c("*",this).add(this).each(function(){c(this).triggerHandler("remove")})}}return d.call(c(this),b,a)})};c.widget=function(l,j,m){var k=l.split(".")[0],a;l=l.split(".")[1];a=k+"-"+l;if(!m){m=j;j=c.Widget}c.expr[":"][a]=function(e){return !!c.data(e,l)};c[k]=c[k]||{};c[k][l]=function(f,e){if(arguments.length){this._createWidget(f,e)}};var b=new j();b.options=c.extend({},b.options);c[k][l].prototype=c.extend(true,b,{namespace:k,widgetName:l,widgetEventPrefix:c[k][l].prototype.widgetEventPrefix||l,widgetBaseClass:a},m);c.widget.bridge(l,c[k][l])};c.widget.bridge=function(a,b){c.fn[a]=function(k){var m=typeof k==="string",l=Array.prototype.slice.call(arguments,1),j=this;k=!m&&l.length?c.extend.apply(null,[true,k].concat(l)):k;if(m&&k.substring(0,1)==="_"){return j}if(m){this.each(function(){var f=c.data(this,a),e=f&&c.isFunction(f[k])?f[k].apply(f,l):f;if(e!==f&&e!==undefined){j=e;return false}})}else{this.each(function(){var e=c.data(this,a);if(e){if(k){e.option(k)}e._init()}else{c.data(this,a,new b(k,this))}})}return j}};c.Widget=function(b,a){if(arguments.length){this._createWidget(b,a)}};c.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:false},_createWidget:function(b,a){this.element=c(a).data(this.widgetName,this);this.options=c.extend(true,{},this.options,c.metadata&&c.metadata.get(a)[this.widgetName],b);var f=this;this.element.bind("remove."+this.widgetName,function(){f.destroy()});this._create();this._init()},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+this.widgetName).removeData(this.widgetName);this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+"-disabled "+this.namespace+"-state-disabled")},widget:function(){return this.element},option:function(b,a){var g=b,h=this;if(arguments.length===0){return c.extend({},h.options)}if(typeof b==="string"){if(a===undefined){return this.options[b]}g={};g[b]=a}c.each(g,function(f,e){h._setOption(f,e)});return h},_setOption:function(b,a){this.options[b]=a;if(b==="disabled"){this.widget()[a?"addClass":"removeClass"](this.widgetBaseClass+"-disabled "+this.namespace+"-state-disabled").attr("aria-disabled",a)}return this},enable:function(){return this._setOption("disabled",false)},disable:function(){return this._setOption("disabled",true)},_trigger:function(l,k,j){var a=this.options[l];k=c.Event(k);k.type=(l===this.widgetEventPrefix?l:this.widgetEventPrefix+l).toLowerCase();j=j||{};if(k.originalEvent){for(var m=c.event.props.length,b;m;){b=c.event.props[--m];k[b]=k.originalEvent[b]}}this.element.trigger(k,j);return !(c.isFunction(a)&&a.call(this.element[0],k,j)===false||k.isDefaultPrevented())}}})(jQuery);(function(f){var d=0,e=0;f.widget("ui.tabs",{options:{add:null,ajaxOptions:null,cache:false,cookie:null,collapsible:false,disable:null,disabled:[],enable:null,event:"click",fx:null,idPrefix:"ui-tabs-",load:null,panelTemplate:"<div></div>",remove:null,select:null,show:null,spinner:"<em>Loading&#8230;</em>",tabTemplate:'<li><a href="#{href}"><span>#{label}</span></a></li>'},_create:function(){this._tabify(true)},_setOption:function(b,a){if(b=="selected"){if(this.options.collapsible&&a==this.options.selected){return}this.select(a)}else{this.options[b]=a;this._tabify()}},_tabId:function(a){return a.title&&a.title.replace(/\s/g,"_").replace(/[^A-Za-z0-9\-_:\.]/g,"")||this.options.idPrefix+(++d)},_sanitizeSelector:function(a){return a.replace(/:/g,"\\:")},_cookie:function(){var a=this.cookie||(this.cookie=this.options.cookie.name||"ui-tabs-"+(++e));return f.cookie.apply(null,[a].concat(f.makeArray(arguments)))},_ui:function(a,b){return{tab:a,panel:b,index:this.anchors.index(a)}},_cleanup:function(){this.lis.filter(".ui-state-processing").removeClass("ui-state-processing").find("span:data(label.tabs)").each(function(){var a=f(this);a.html(a.data("label.tabs")).removeData("label.tabs")})},_tabify:function(b){this.list=this.element.find("ol,ul").eq(0);this.lis=f("li:has(a[href])",this.list);this.anchors=this.lis.map(function(){return f("a",this)[0]});this.panels=f([]);var a=this,z=this.options;var A=/^#.+/;this.anchors.each(function(k,m){var l=f(m).attr("href");var j=l.split("#")[0],h;if(j&&(j===location.toString().split("#")[0]||(h=f("base")[0])&&j===h.href)){l=m.hash;m.href=l}if(A.test(l)){a.panels=a.panels.add(a._sanitizeSelector(l))}else{if(l!="#"){f.data(m,"href.tabs",l);f.data(m,"load.tabs",l.replace(/#.*$/,""));var p=a._tabId(m);m.href="#"+p;var g=f("#"+p);if(!g.length){g=f(z.panelTemplate).attr("id",p).addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").insertAfter(a.panels[k-1]||a.list);g.data("destroy.tabs",true)}a.panels=a.panels.add(g)}else{z.disabled.push(k)}}});if(b){this.element.addClass("ui-tabs ui-widget ui-widget-content ui-corner-all");this.list.addClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all");this.lis.addClass("ui-state-default ui-corner-top");this.panels.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom");if(z.selected===undefined){if(location.hash){this.anchors.each(function(g,h){if(h.hash==location.hash){z.selected=g;return false}})}if(typeof z.selected!="number"&&z.cookie){z.selected=parseInt(a._cookie(),10)}if(typeof z.selected!="number"&&this.lis.filter(".ui-tabs-selected").length){z.selected=this.lis.index(this.lis.filter(".ui-tabs-selected"))}z.selected=z.selected||(this.lis.length?0:-1)}else{if(z.selected===null){z.selected=-1}}z.selected=((z.selected>=0&&this.anchors[z.selected])||z.selected<0)?z.selected:0;z.disabled=f.unique(z.disabled.concat(f.map(this.lis.filter(".ui-state-disabled"),function(g,h){return a.lis.index(g)}))).sort();if(f.inArray(z.selected,z.disabled)!=-1){z.disabled.splice(f.inArray(z.selected,z.disabled),1)}this.panels.addClass("ui-tabs-hide");this.lis.removeClass("ui-tabs-selected ui-state-active");if(z.selected>=0&&this.anchors.length){this.panels.eq(z.selected).removeClass("ui-tabs-hide");this.lis.eq(z.selected).addClass("ui-tabs-selected ui-state-active");a.element.queue("tabs",function(){a._trigger("show",null,a._ui(a.anchors[z.selected],a.panels[z.selected]))});this.load(z.selected)}f(window).bind("unload",function(){a.lis.add(a.anchors).unbind(".tabs");a.lis=a.anchors=a.panels=null})}else{z.selected=this.lis.index(this.lis.filter(".ui-tabs-selected"))}this.element[z.collapsible?"addClass":"removeClass"]("ui-tabs-collapsible");if(z.cookie){this._cookie(z.selected,z.cookie)}for(var w=0,c;(c=this.lis[w]);w++){f(c)[f.inArray(w,z.disabled)!=-1&&!f(c).hasClass("ui-tabs-selected")?"addClass":"removeClass"]("ui-state-disabled")}if(z.cache===false){this.anchors.removeData("cache.tabs")}this.lis.add(this.anchors).unbind(".tabs");if(z.event!="mouseover"){var x=function(h,g){if(g.is(":not(.ui-state-disabled)")){g.addClass("ui-state-"+h)}};var u=function(h,g){g.removeClass("ui-state-"+h)};this.lis.bind("mouseover.tabs",function(){x("hover",f(this))});this.lis.bind("mouseout.tabs",function(){u("hover",f(this))});this.anchors.bind("focus.tabs",function(){x("focus",f(this).closest("li"))});this.anchors.bind("blur.tabs",function(){u("focus",f(this).closest("li"))})}var B,v;if(z.fx){if(f.isArray(z.fx)){B=z.fx[0];v=z.fx[1]}else{B=v=z.fx}}function y(g,h){g.css({display:""});if(!f.support.opacity&&h.opacity){g[0].style.removeAttribute("filter")}}var s=v?function(g,h){f(g).closest("li").addClass("ui-tabs-selected ui-state-active");h.hide().removeClass("ui-tabs-hide").animate(v,v.duration||"normal",function(){y(h,v);a._trigger("show",null,a._ui(g,h[0]))})}:function(g,h){f(g).closest("li").addClass("ui-tabs-selected ui-state-active");h.removeClass("ui-tabs-hide");a._trigger("show",null,a._ui(g,h[0]))};var o=B?function(h,g){g.animate(B,B.duration||"normal",function(){a.lis.removeClass("ui-tabs-selected ui-state-active");g.addClass("ui-tabs-hide");y(g,B);a.element.dequeue("tabs")})}:function(j,g,h){a.lis.removeClass("ui-tabs-selected ui-state-active");g.addClass("ui-tabs-hide");a.element.dequeue("tabs")};this.anchors.bind(z.event+".tabs",function(){var k=this,g=f(this).closest("li"),h=a.panels.filter(":not(.ui-tabs-hide)"),j=f(a._sanitizeSelector(this.hash));if((g.hasClass("ui-tabs-selected")&&!z.collapsible)||g.hasClass("ui-state-disabled")||g.hasClass("ui-state-processing")||a._trigger("select",null,a._ui(this,j[0]))===false){this.blur();return false}z.selected=a.anchors.index(this);a.abort();if(z.collapsible){if(g.hasClass("ui-tabs-selected")){z.selected=-1;if(z.cookie){a._cookie(z.selected,z.cookie)}a.element.queue("tabs",function(){o(k,h)}).dequeue("tabs");this.blur();return false}else{if(!h.length){if(z.cookie){a._cookie(z.selected,z.cookie)}a.element.queue("tabs",function(){s(k,j)});a.load(a.anchors.index(this));this.blur();return false}}}if(z.cookie){a._cookie(z.selected,z.cookie)}if(j.length){if(h.length){a.element.queue("tabs",function(){o(k,h)})}a.element.queue("tabs",function(){s(k,j)});a.load(a.anchors.index(this))}else{throw"jQuery UI Tabs: Mismatching fragment identifier."}if(f.browser.msie){this.blur()}});this.anchors.bind("click.tabs",function(){return false})},destroy:function(){var a=this.options;this.abort();this.element.unbind(".tabs").removeClass("ui-tabs ui-widget ui-widget-content ui-corner-all ui-tabs-collapsible").removeData("tabs");this.list.removeClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all");this.anchors.each(function(){var c=f.data(this,"href.tabs");if(c){this.href=c}var b=f(this).unbind(".tabs");f.each(["href","load","cache"],function(k,j){b.removeData(j+".tabs")})});this.lis.unbind(".tabs").add(this.panels).each(function(){if(f.data(this,"destroy.tabs")){f(this).remove()}else{f(this).removeClass(["ui-state-default","ui-corner-top","ui-tabs-selected","ui-state-active","ui-state-hover","ui-state-focus","ui-state-disabled","ui-tabs-panel","ui-widget-content","ui-corner-bottom","ui-tabs-hide"].join(" "))}});if(a.cookie){this._cookie(null,a.cookie)}return this},add:function(m,o,p){if(p===undefined){p=this.anchors.length}var q=this,c=this.options,a=f(c.tabTemplate.replace(/#\{href\}/g,m).replace(/#\{label\}/g,o)),b=!m.indexOf("#")?m.replace("#",""):this._tabId(f("a",a)[0]);a.addClass("ui-state-default ui-corner-top").data("destroy.tabs",true);var l=f("#"+b);if(!l.length){l=f(c.panelTemplate).attr("id",b).data("destroy.tabs",true)}l.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide");if(p>=this.lis.length){a.appendTo(this.list);l.appendTo(this.list[0].parentNode)}else{a.insertBefore(this.lis[p]);l.insertBefore(this.panels[p])}c.disabled=f.map(c.disabled,function(g,h){return g>=p?++g:g});this._tabify();if(this.anchors.length==1){c.selected=0;a.addClass("ui-tabs-selected ui-state-active");l.removeClass("ui-tabs-hide");this.element.queue("tabs",function(){q._trigger("show",null,q._ui(q.anchors[0],q.panels[0]))});this.load(0)}this._trigger("add",null,this._ui(this.anchors[p],this.panels[p]));return this},remove:function(h){var b=this.options,a=this.lis.eq(h).remove(),c=this.panels.eq(h).remove();if(a.hasClass("ui-tabs-selected")&&this.anchors.length>1){this.select(h+(h+1<this.anchors.length?1:-1))}b.disabled=f.map(f.grep(b.disabled,function(g,k){return g!=h}),function(g,k){return g>=h?--g:g});this._tabify();this._trigger("remove",null,this._ui(a.find("a")[0],c[0]));return this},enable:function(b){var a=this.options;if(f.inArray(b,a.disabled)==-1){return}this.lis.eq(b).removeClass("ui-state-disabled");a.disabled=f.grep(a.disabled,function(c,h){return c!=b});this._trigger("enable",null,this._ui(this.anchors[b],this.panels[b]));return this},disable:function(b){var c=this,a=this.options;if(b!=a.selected){this.lis.eq(b).addClass("ui-state-disabled");a.disabled.push(b);a.disabled.sort();this._trigger("disable",null,this._ui(this.anchors[b],this.panels[b]))}return this},select:function(a){if(typeof a=="string"){a=this.anchors.index(this.anchors.filter("[href$="+a+"]"))}else{if(a===null){a=-1}}if(a==-1&&this.options.collapsible){a=this.options.selected}this.anchors.eq(a).trigger(this.options.event+".tabs");return this},load:function(c){var k=this,a=this.options,l=this.anchors.eq(c)[0],j=f.data(l,"load.tabs");this.abort();if(!j||this.element.queue("tabs").length!==0&&f.data(l,"cache.tabs")){this.element.dequeue("tabs");return}this.lis.eq(c).addClass("ui-state-processing");if(a.spinner){var b=f("span",l);b.data("label.tabs",b.html()).html(a.spinner)}this.xhr=f.ajax(f.extend({},a.ajaxOptions,{url:j,success:function(h,m){f(k._sanitizeSelector(l.hash)).html(h);k._cleanup();if(a.cache){f.data(l,"cache.tabs",true)}k._trigger("load",null,k._ui(k.anchors[c],k.panels[c]));try{a.ajaxOptions.success(h,m)}catch(g){}},error:function(g,m,h){k._cleanup();k._trigger("load",null,k._ui(k.anchors[c],k.panels[c]));try{a.ajaxOptions.error(g,m,c,l)}catch(h){}}}));k.element.dequeue("tabs");return this},abort:function(){this.element.queue([]);this.panels.stop(false,true);this.element.queue("tabs",this.element.queue("tabs").splice(-2,2));if(this.xhr){this.xhr.abort();delete this.xhr}this._cleanup();return this},url:function(a,b){this.anchors.eq(a).removeData("cache.tabs").data("load.tabs",b);return this},length:function(){return this.anchors.length}});f.extend(f.ui.tabs,{version:"1.8"});f.extend(f.ui.tabs.prototype,{rotation:null,rotate:function(j,b){var l=this,a=this.options;var k=l._rotate||(l._rotate=function(g){clearTimeout(l.rotation);l.rotation=setTimeout(function(){var h=a.selected;l.select(++h<l.anchors.length?h:0)},j);if(g){g.stopPropagation()}});var c=l._unrotate||(l._unrotate=!b?function(g){if(g.clientX){l.rotate(null)}}:function(g){t=a.selected;k()});if(j){this.element.bind("tabsshow",k);this.anchors.bind(a.event+".tabs",c);k()}else{clearTimeout(l.rotation);this.element.unbind("tabsshow",k);this.anchors.unbind(a.event+".tabs",c);delete this._rotate;delete this._unrotate}return this}})})(jQuery);function $(a){return document.getElementById(a)}function ShowElem(a){if($(a)){$(a).style.display="block";$(a).style.visibility="visible"}}function HideElem(a){if($(a)){$(a).style.display="none";$(a).style.visibility="hidden"}}function ShowHideList(p,h){var j=$(p);if(j){if(j.style.display=="none"){if(ovDLLastObject!=null){HideElem(ovDLLastObject)}ovDLLastObject=p;ShowElem(p);j.setAttribute("visible","1");var f=j.getElementsByTagName("DL")[0];if(f!="undefined"){if(f.offsetHeight>"285"){f.style.height="285px";if(navigator.userAgent.indexOf("MSIE 6.0")!=-1){f.style.width="125px"}}}}else{ovDLLastObject=null;HideElem(p);j.setAttribute("visible","0")}}var a=(h);var d=(p);switch(d){case"wherese":d="nbFormEventTown";break;case"wherenot":d="nbFormNotdiensteTown";break;case"criterias":d="nbFormSearchCriteria";break;case"eventwhere":d="nbFormEventTown";break;case"notdienstewhere":d="nbFormNotdiensteTown";break;case"whense":d="nbFormEventTimeSpan";break;case"categoryes":d="nbFormEventCategory";break;case"nation":d="nbFormRegisterCountry";break;case"gastroarts":d="nbFormGastroArt";break;case"cinemas":d="nbFormCinema";break;case"salutation":d="nbFormRegisterSalutation";break;case"ddbirthdayday":d="birthdayday";break;case"ddbirthdaymonth":d="birthdaymonth";break;case"ddbirthdayyear":d="birthdayyear";break;default:break}if(a!=undefined){document.getElementById(d).value=a}if(p=="whense"&&h!=null){var l=new Date();var g;var q;switch(h){case"nächstes Wochenende":switch(l.getDay()){case 0:g=l;q=l;break;case 1:g=new Date(l);g.setDate(l.getDate()+4);q=new Date(g);q.setDate(q.getDate()+2);break;case 2:g=new Date(l);g.setDate(l.getDate()+3);q=new Date(g);q.setDate(q.getDate()+2);break;case 3:g=new Date(l);g.setDate(l.getDate()+2);q=new Date(g);q.setDate(q.getDate()+2);break;case 4:g=new Date(l);g.setDate(l.getDate()+1);q=new Date(g);q.setDate(q.getDate()+2);break;case 5:g=new Date(l);q=new Date(g);q.setDate(q.getDate()+2);break;case 6:g=new Date(l);q=new Date(g);q.setDate(q.getDate()+1);break}break;case"Heute":g=l;q=l;break;case"Morgen":g=new Date(l.setDate(l.getDate()+1));q=g;break;case"Übermorgen":g=new Date(l.setDate(l.getDate()+2));q=g;break;case"dieser Monat":g=l;q=new Date(l.getFullYear(),l.getMonth(),1);q.setMonth(q.getMonth()+1);q.setDate(q.getDate()-1);break;case"nächster Monat":g=new Date(l.getFullYear(),l.getMonth(),1);g.setMonth(g.getMonth()+1);q=new Date(g);q.setMonth(q.getMonth()+1);q.setDate(q.getDate()-1);break;case"Silvester":g=new Date(l.getFullYear(),11,31);q=g;break;case"nächsten 7 Tage":g=new Date(l);q=new Date(l);q.setDate(q.getDate()+6);break;case"Benutzerdefiniert":return false}var o=g.getDate().toString();var b=q.getDate().toString();var k=(g.getMonth()+1).toString();var e=(q.getMonth()+1).toString();var m=g.getFullYear().toString();var c=q.getFullYear().toString();if(o.length==1){o="0"+o}if(b.length==1){b="0"+b}if(k.length==1){k="0"+k}if(e.length==1){e="0"+e}document.getElementById("eventsFrom").value=o+"."+k+"."+m;document.getElementById("eventsTo").value=b+"."+e+"."+c;document.getElementById("nbFormEventTimeSpan").value=h}return false}function switchSearchForm(){var a=document.forms.nbEventSearchForm;document.getElementById("nbEventSearchBtn-inaktiv").style.display="block";document.getElementById("nbEventSearchBtn-aktiv").style.display="none";document.getElementById("switch-search-inaktiv").style.display="inline";if(document.getElementById("nbSearchResultsHeader-va-aktiv")!=null){document.getElementById("nbSearchResultsHeader-va-aktiv").className="nbSearchResultsHeader-hide";document.getElementById("nbSearchResultsHeader-va-inaktiv").className="nbSearchResultsHeader-display";document.getElementById("nbSearchResultsHeader-vz-aktiv").className="nbSearchResultsHeader-hide";document.getElementById("nbSearchResultsHeader-vz-inaktiv").className="nbSearchResultsHeader-display";document.getElementById("nbSearchResultsHeader-vo-aktiv").className="nbSearchResultsHeader-hide";document.getElementById("nbSearchResultsHeader-vo-inaktiv").className="nbSearchResultsHeader-display";document.getElementById("nbSearchResultsHeader-vk-aktiv").className="nbSearchResultsHeader-hide";document.getElementById("nbSearchResultsHeader-vk-inaktiv").className="nbSearchResultsHeader-display"}document.getElementById("nbStdModulPager-aktiv").style.display="none";document.getElementById("nbStdModulPager-inaktiv").style.display="block";a.submit();return true}function switchSearchFormTipp(){var a=document.forms.nbEventSearchForm;document.getElementById("nbEventSearchBtn-inaktiv").style.display="block";document.getElementById("nbEventSearchBtn-aktiv").style.display="none";document.getElementById("switch-search-inaktiv").style.display="inline";if(document.getElementById("nbSearchResultsHeader-va-aktiv")!=null){document.getElementById("nbSearchResultsHeader-va-aktiv").className="nbSearchResultsHeader-hide";document.getElementById("nbSearchResultsHeader-va-inaktiv").className="nbSearchResultsHeader-display";document.getElementById("nbSearchResultsHeader-vz-aktiv").className="nbSearchResultsHeader-hide";document.getElementById("nbSearchResultsHeader-vz-inaktiv").className="nbSearchResultsHeader-display";document.getElementById("nbSearchResultsHeader-vo-aktiv").className="nbSearchResultsHeader-hide";document.getElementById("nbSearchResultsHeader-vo-inaktiv").className="nbSearchResultsHeader-display";document.getElementById("nbSearchResultsHeader-vk-aktiv").className="nbSearchResultsHeader-hide";document.getElementById("nbSearchResultsHeader-vk-inaktiv").className="nbSearchResultsHeader-display";document.getElementById("nbSearchResultsHeader-vt-aktiv").className="nbSearchResultsHeader-hide";document.getElementById("nbSearchResultsHeader-vt-inaktiv").className="nbSearchResultsHeader-display"}document.getElementById("nbStdModulPager-aktiv").style.display="none";document.getElementById("nbStdModulPager-inaktiv").style.display="block";a.submit();return true}function switchSearchCinemaForm(){var a=document.forms.nbEventSearchForm;document.getElementById("nbEventSearchBtn-inaktiv").style.display="block";document.getElementById("nbEventSearchBtn-aktiv").style.display="none";document.getElementById("switch-search-inaktiv").style.display="inline";document.getElementById("nbStdModulPager-aktiv").style.display="none";document.getElementById("nbStdModulPager-inaktiv").style.display="block";a.submit();return true}function switchGastroSearchForm(){var a=document.forms.nbEventSearchForm;document.getElementById("nbEventSearchBtn-inaktiv").style.display="block";document.getElementById("nbEventSearchBtn-aktiv").style.display="none";document.getElementById("switch-search-inaktiv").style.display="inline";document.getElementById("nbStdModulPager-aktiv").style.display="none";document.getElementById("nbStdModulPager-inaktiv").style.display="block";a.submit();return true}function switchSearchFormGastro(){var a=document.forms.nbEventSearchForm;document.getElementById("nbEventSearchBtn-inaktiv").style.display="block";document.getElementById("nbEventSearchBtn-aktiv").style.display="none";document.getElementById("switch-search-inaktiv").style.display="inline";a.submit();return true}function switchGastroFormGeomap(){var a=document.forms.gastroFilterForm;document.getElementById("nbGastroSearchBtn-inaktiv").style.display="block";document.getElementById("nbGastroSearchBtn-aktiv").style.display="none";jQuery("#loading-geomap").html('<img src="/img/layout/ajax-reload-m.gif" alt="Suche wird durchgeführt..."/>');a.submit();return true}function switchSearchFormSearch(){var a=document.forms.nbEventSearchForm;document.getElementById("nbEventSearchBtn-inaktiv").style.display="block";document.getElementById("nbEventSearchBtn-aktiv").style.display="none";document.getElementById("switch-search-inaktiv").style.display="inline";a.submit();return true}function HideList(a){var b=$(a);if(b){HideElem(a)}}var selectTimer;var selectedSelect;function SelectOutList(b){return;if(navigator.userAgent.indexOf("MSIE 6.0")!=-1){return}var a=$(b);if(a.getAttribute("visible")=="1"){selectedSelect=a;selectTimer=setTimeout("CloseSelect()",500)}}function CloseSelect(){return;if(navigator.userAgent.indexOf("MSIE 6.0")!=-1){return}var a=selectedSelect;a.style.visibility="hidden";a.style.display="none";a.setAttribute("visible","0");a.setAttribute("visible","0")}function dontCloseSelect(){return;if(navigator.userAgent.indexOf("MSIE 6.0")!=-1){return}clearTimeout(selectTimer)}function submitFormWithOrderBy(a,b){$(a).orderBy.value=b;return switchSearchForm()}function submitFormWithOrderByAndOffset(a,c,b){$(a).orderBy.value=c;$(a).offset.value=b;return switchSearchForm()}function submitCinemaFormWithOrderByAndOffset(a,c,b){$(a).offset.value=c;$(a).df.value=b;return switchSearchCinemaForm()}function submitFormWithOffset(a,b){$(a).offset.value=b;$(a).submit()}function submitFormWithOffsetAndSort(c,e,d,g,f,a,b){$(c).orderBy.value=d;$(c).offset.value=e;$(c).sortOrderEvent.value=g;$(c).sortOrderPlz.value=f;$(c).sortOrderCategory.value=a;$(c).sortOrderRating.value=b;$(c).submit()}function submitFormEventWithOffsetAndSort(e,g,f,c,a,d,b){$(e).orderBy.value=f;$(e).offset.value=g;$(e).sortOrderTitle.value=c;$(e).sortOrderDate.value=a;$(e).sortOrderTown.value=d;$(e).sortOrderVenue.value=b;$(e).submit()}function submitFormEventTippWithOffsetAndSort(f,h,g,d,b,e,c,a){$(f).orderBy.value=g;$(f).offset.value=h;$(f).sortOrderTitle.value=d;$(f).sortOrderDate.value=b;$(f).sortOrderTown.value=e;$(f).sortOrderVenue.value=c;$(f).sortOrderTipp.value=a;$(f).submit()}function submitFormWithTown(a,b){$(a).nbFormEventTown.value=offset;$(a).submit()}function submitFormWithDateAndType(b,a,c){$(b).selectedDate.value=a;$(b).selectedType.value=c;$(b).submit()}function submitGastroFormWithOrderBy(c,e,g,f,a,b,d){$(c).orderBy.value=e;$(c).offset.value=d;$(c).sortOrderEvent.value=g;$(c).sortOrderPlz.value=f;$(c).sortOrderCategory.value=a;$(c).sortOrderRating.value=b;return switchGastroSearchForm()}function submitEventFormWithOrderByAndOffset(e,g,c,a,d,b,f){$(e).orderBy.value=g;$(e).offset.value=f;$(e).sortOrderTitle.value=c;$(e).sortOrderDate.value=a;$(e).sortOrderTown.value=d;$(e).sortOrderVenue.value=b;return switchSearchForm()}function submitEventTippFormWithOrderByAndOffset(f,h,d,b,e,c,a,g){$(f).orderBy.value=h;$(f).offset.value=g;$(f).sortOrderTitle.value=d;$(f).sortOrderDate.value=b;$(f).sortOrderTown.value=e;$(f).sortOrderVenue.value=c;$(f).sortOrderTipp.value=a;return switchSearchForm()}function ansicht(e,c,a){document.getElementById("loading-mediabox_"+c).innerHTML='<img src="/img/layout/ajax-reload-m.gif" alt="Suche wird durchgeführt..."/>';var d=document.getElementById(e+"_"+c);for(var b=1;b<=2;b++){if(document.getElementById("sub"+b+"_"+c)){document.getElementById("sub"+b+"_"+c).style.display="none"}}if(d){d.style.display="block"}if(e=="sub1"){if(document.getElementById("innerMediaBoxAnkerGallery_"+c)){document.getElementById("innerMediaBoxAnkerGallery_"+c).className="galerie active";document.getElementById("innerMediaBoxAnkerVideo_"+c).className="video"}}if(e=="sub2"){if(document.getElementById("innerMediaBoxAnkerVideo_"+c)){document.getElementById("innerMediaBoxAnkerVideo_"+c).className="video active";document.getElementById("innerMediaBoxAnkerGallery_"+c).className="galerie"}}document.getElementById("loading-mediabox_"+c).innerHTML="";jsIVWCode(a);return false}function jsIVWCode(a){if(typeof a!="undefined"){jQuery.ajax({success:function(b){jQuery(document).append('<img src="http://nordbay.ivwbox.de/cgi-bin/ivw/CP/'+a+"?r="+escape(document.referrer)+"&d="+(Math.random()*100000)+'" WIDTH="1" HEIGHT="1" style="display:none;"/>')}})}}function ShowTooltip(c,f){hideUnusedTooltip();var b=document.getElementById(c);var d=mouse_pos(f);var a=(d.top)+"px";var g=(d.left-60)+"px";b.style.top=a;b.style.left=g;ShowElem(c)}function ShowTooltipSnippet(d,h,a){hideUnusedTooltip();var g=new ElementPosition(a);var c=document.getElementById(d);var f=mouse_pos(h);var b=((f.top)-g.y+5)+"px";var j=((f.left)-g.x-380)+"px";c.style.top=b;c.style.left=j;c.style.zIndex=99;ShowElem(d)}function ElementPosition(d){var b=0,e=0;var c=(typeof d=="string")?document.getElementById(d):d;if(c){b=c.offsetLeft;e=c.offsetTop;var a=document.getElementsByTagName("body")[0];while(c.offsetParent&&c!=a){b+=c.offsetParent.offsetLeft;e+=c.offsetParent.offsetTop;c=c.offsetParent}}this.x=b;this.y=e}function hideUnusedTooltip(){document.getElementById("tooltipBox");for(var b=0;b<document.getElementById("tooltipBox").childNodes.length;b++){var a=document.getElementById("tooltipBox").childNodes[b];if(a.className=="nbTooltipModul"){a.style.display="none";a.visibility="hidden"}}}function mouse_pos(b){if(!b){b=window.event}var a=(window.document.compatMode&&window.document.compatMode=="CSS1Compat")?window.document.documentElement:window.document.body;return{top:b.pageY?b.pageY:b.clientY+a.scrollTop-a.clientTop,left:b.pageX?b.pageX:b.clientX+a.scrollLeft-a.clientLeft}}function initSite(){var a=false;var b=false;for(i=0;i<arr_init.length;i++){if(arr_init[i]=="handleMediaBox"){handleMediabox()}if(arr_init[i]=="openLoginBox"){a=true}if(arr_init[i]=="openVideoPlayer"){b=true}}if(b){initVideo()}if(a){Shadowbox.open({content:jQuery("#inline-content").html(),player:"html",width:478,height:266})}}var mediaBoxIsInit=false;var arr_mediaboxids=new Array();var arr_mediaboxtabs=new Array();function handleMediabox(){if(!mediaBoxIsInit){for(i=0;i<arr_mediaboxids.length;i++){if(arr_mediaboxtabs[arr_mediaboxids[i]]!=""){ansicht(arr_mediaboxtabs[arr_mediaboxids[i]],arr_mediaboxids[i])}else{ansicht("sub1",arr_mediaboxids[i])}}}mediaBoxIsInit=true}function initVideo(){bc_getPlayerNames()}function printPage(){if(document.getElementById("print-preview")){document.getElementById("print-preview").disabled=true;document.getElementById("print-preview").disabled=false}if(document.getElementById("print-link")){if(document.getElementById("toolbar-icons-small")){if(document.getElementById("printbacklink")==null){var b=document.createElement("a");b.id="printbacklink";b.href="javascript:printPageBack();";b.innerHTML='<span class="printback">Zur Normalansicht &nbsp;</span>';document.getElementById("toolbar-icons-small").appendChild(b)}}}jsIVWCode("printPage");var a=navigator.appName;var c=navigator.appVersion;if(((a=="Netscape"&&c>"3.0")&&(a=="Netscape"&&c<"4.01"))||((a=="Netscape"&&c>="4.03"))||(a=="Microsoft Internet Explorer"&&c>="4.0")){self.print()}else{if(a=="Opera"){window.onload=window.print()}else{alert("Ihr Browser unterstuetzt dieses Feature nicht.\nBitte drucken Sie ueber Datei  >>  Drucken !")}}}function printPageBack(){if(document.getElementById("print-preview")){document.getElementById("print-preview").disabled=true}if(document.getElementById("print-link")){if(document.getElementById("toolbar-icons-small")){if(document.getElementById("printbacklink")){var d=document.getElementById("printbacklink");if(d.parentNode){d.parentNode.removeChild(d)}}}}var c=navigator.appName;var e=navigator.appVersion;if(c=="Microsoft Internet Explorer"){var a=navigator.userAgent;var b=new RegExp("MSIE ([0-9]{1,}[.0-9]{0,})");if(b.exec(a)!=null){rv=parseFloat(RegExp.$1);if(rv<8){location.reload()}}}jsIVWCode("printPageBack")}function hidebacklink(){if(history.length>0){if(document.referrer.indexOf("http://localhost")>=0||document.referrer.indexOf("odn.de")>=0||document.referrer.indexOf("nordbayern.de")>=0){if(document.referrer.indexOf("http://www.google")<0){if(document.getElementById("historybacklink")){document.getElementById("historybacklink").style.display="block"}}}}}function hidebacklinkbottom(){if(history.length>0){if(document.referrer.indexOf("http://localhost")>=0||document.referrer.indexOf("odn.de")>=0||document.referrer.indexOf("nordbayern.de")>=0){if(document.referrer.indexOf("http://www.google")<0){if(document.getElementById("historybacklinkbottom")){document.getElementById("historybacklinkbottom").style.display="block"}}}}}var ovDLLastObject;var ovDLCharCode="";var ovDLLastTime=new Date().getTime()/1000;var ovDLDelay=2;jQuery(document).keypress(function(j){if(ovDLLastObject!=null&&$(ovDLLastObject)){var d=ovDLLastObject;var h;if(!j){var j=window.event}if(j.keyCode){h=j.keyCode}else{if(j.which){h=j.which}}var f=String.fromCharCode(h);var b=new Date().getTime()/1000;if(b-ovDLLastTime<ovDLDelay&&ovDLCharCode.length==1){ovDLCharCode+=f}else{ovDLCharCode=f}ovDLLastTime=b;var a=$(d).getElementsByTagName("DL")[0];if(a!="undefined"){var g=a.childNodes;for(var c=0;c<g.length;c++){if(g[c].nodeName=="DT"){if(g[c].childNodes[0].innerHTML.toLowerCase().indexOf(ovDLCharCode)==0){g[c].childNodes[0].focus();break}}}}}});function resizeAd(e,d,a){var b=document.getElementsByName(e);for(var c=0;c<b.length;c++){b[0].height=a;b[0].width=d}}if(typeof deconcept=="undefined"){var deconcept={}}if(typeof deconcept.util=="undefined"){deconcept.util={}}if(typeof deconcept.SWFObjectUtil=="undefined"){deconcept.SWFObjectUtil={}}deconcept.SWFObject=function(f,d,o,g,k,m,p,j,a,e){if(!document.getElementById){return}this.DETECT_KEY=e?e:"detectflash";this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);this.params={};this.variables={};this.attributes=[];if(f){this.setAttribute("swf",f)}if(d){this.setAttribute("id",d)}if(o){this.setAttribute("width",o)}if(g){this.setAttribute("height",g)}if(k){this.setAttribute("version",new deconcept.PlayerVersion(k.toString().split(".")))}this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion();if(!window.opera&&document.all&&this.installedVer.major>7){if(!deconcept.unloadSet){deconcept.SWFObjectUtil.prepUnload=function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){};window.attachEvent("onunload",deconcept.SWFObjectUtil.cleanupSWFs)};window.attachEvent("onbeforeunload",deconcept.SWFObjectUtil.prepUnload);deconcept.unloadSet=true}}var b=p?p:"high";this.addParam("quality",b);this.setAttribute("useExpressInstall",false);this.setAttribute("doExpressInstall",false);var l=(j)?j:window.location;this.setAttribute("xiRedirectUrl",l);this.setAttribute("redirectUrl","");if(a){this.setAttribute("redirectUrl",a)}};deconcept.SWFObject.prototype={useExpressInstall:function(a){this.xiSWFPath=!a?"expressinstall.swf":a;this.setAttribute("useExpressInstall",true)},setAttribute:function(a,b){this.attributes[a]=b},getAttribute:function(a){return this.attributes[a]||""},addParam:function(a,b){this.params[a]=b},getParams:function(){return this.params},addVariable:function(a,b){this.variables[a]=b},getVariable:function(a){return this.variables[a]||""},getVariables:function(){return this.variables},getVariablePairs:function(){var a=[];var b;var c=this.getVariables();for(b in c){a[a.length]=b+"="+c[b]}return a},getSWFHTML:function(){var d="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn");this.setAttribute("swf",this.xiSWFPath)}d='<embed type="application/x-shockwave-flash" wmode="transparent" src="'+this.getAttribute("swf")+'" width="'+this.getAttribute("width")+'" height="'+this.getAttribute("height")+'" style="'+(this.getAttribute("style")||"")+'"';d+=' id="'+this.getAttribute("id")+'" name="'+this.getAttribute("id")+'" ';var c=this.getParams();for(var a in c){d+=[a]+'="'+c[a]+'" '}var b=this.getVariablePairs().join("&");if(b.length>0){d+='flashvars="'+b+'"'}d+="/>"}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");this.setAttribute("swf",this.xiSWFPath)}d='<object id="'+this.getAttribute("id")+'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+this.getAttribute("width")+'" height="'+this.getAttribute("height")+'" style="'+(this.getAttribute("style")||"")+'">';d+='<param name="movie" value="'+this.getAttribute("swf")+'" /> <param name="wmode" value="transparent" />';var c=this.getParams();for(var a in c){d+='<param name="'+a+'" value="'+c[a]+'" /> <param name="wmode" value="transparent" />'}var b=this.getVariablePairs().join("&");if(b.length>0){d+='<param name="flashvars" value="'+b+'" />'}d+="</object>"}return d},write:function(a){if(this.getAttribute("useExpressInstall")){var b=new deconcept.PlayerVersion([6,0,65]);if(this.installedVer.versionIsValid(b)&&!this.installedVer.versionIsValid(this.getAttribute("version"))){this.setAttribute("doExpressInstall",true);this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl")));document.title=document.title.slice(0,47)+" - Flash Player Installation";this.addVariable("MMdoctitle",document.title)}}if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){var c=(typeof a=="string")?document.getElementById(a):a;c.innerHTML=this.getSWFHTML();return true}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"))}}return false}};deconcept.SWFObjectUtil.getPlayerVersion=function(){var c=new deconcept.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var a=navigator.plugins["Shockwave Flash"];if(a&&a.description){c=new deconcept.PlayerVersion(a.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."))}}else{if(navigator.userAgent&&navigator.userAgent.indexOf("Windows CE")>=0){var d=1;var b=3;while(d){try{b++;d=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+b);c=new deconcept.PlayerVersion([b,0,0])}catch(f){d=null}}}else{try{var d=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7")}catch(f){try{var d=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");c=new deconcept.PlayerVersion([6,0,21]);d.AllowScriptAccess="always"}catch(f){if(c.major==6){return c}}try{d=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(f){}}if(d!=null){c=new deconcept.PlayerVersion(d.GetVariable("$version").split(" ")[1].split(","))}}}return c};deconcept.PlayerVersion=function(a){this.major=a[0]!=null?parseInt(a[0]):0;this.minor=a[1]!=null?parseInt(a[1]):0;this.rev=a[2]!=null?parseInt(a[2]):0};deconcept.PlayerVersion.prototype.versionIsValid=function(a){if(this.major<a.major){return false}if(this.major>a.major){return true}if(this.minor<a.minor){return false}if(this.minor>a.minor){return true}if(this.rev<a.rev){return false}return true};deconcept.util={getRequestParameter:function(d){var c=document.location.search||document.location.hash;if(d==null){return c}if(c){var b=c.substring(1).split("&");for(var a=0;a<b.length;a++){if(b[a].substring(0,b[a].indexOf("="))==d){return b[a].substring((b[a].indexOf("=")+1))}}}return""}};deconcept.SWFObjectUtil.cleanupSWFs=function(){var c=document.getElementsByTagName("OBJECT");for(var b=c.length-1;b>=0;b--){c[b].style.display="none";for(var a in c[b]){if(typeof c[b][a]=="function"){c[b][a]=function(){}}}}};if(!document.getElementById&&document.all){document.getElementById=function(a){return document.all[a]}}var getQueryParamValue=deconcept.util.getRequestParameter;var FlashObject=deconcept.SWFObject;var SWFObject=deconcept.SWFObject;function encode64(d){var b="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";var a="";var l,j,g="";var k,h,f,e="";var c=0;do{l=d.charCodeAt(c++);j=d.charCodeAt(c++);g=d.charCodeAt(c++);k=l>>2;h=((l&3)<<4)|(j>>4);f=((j&15)<<2)|(g>>6);e=g&63;if(isNaN(j)){f=e=64}else{if(isNaN(g)){e=64}}a=a+b.charAt(k)+b.charAt(h)+b.charAt(f)+b.charAt(e);l=j=g="";k=h=f=e=""}while(c<d.length);return a}var domain="nordbayern.de";function writeRegion(b,c){var a="";var d="/";a=new Date((new Date()).getTime()+360*24*3600000);a="; expires="+a.toGMTString();document.cookie=b+"="+escape(c)+a+";path="+d}function deleteCookie(a,b){document.cookie=a+"=;domain="+b+";expires=Thu, 01-Jan-1970 00:00:01 GMT"}function selectRegion(){var c="";var b=0;var a="Region=";if(document.cookie.length>0){offset=document.cookie.indexOf(a);if(offset!=-1){offset+=a.length;end=document.cookie.indexOf(";",offset);if(end==-1){end=document.cookie.length}c=unescape(document.cookie.substring(offset,end))}for(i=0;i<document.regionform.region.length;i++){if(document.regionform.region[i].value==c){document.regionform.region.selectedIndex=i;b=1}}}if(b==0){for(i=0;i<document.regionform.region.length;i++){if(document.regionform.region[i].value=="de.nordbayern.ct.nordbayern.d.region.nuernberg.d"){document.regionform.region.selectedIndex=i}}}}submitVote=function(a){popupPollResultWindow("");a.form.submit();return false};popupPollResultWindow=function(a){var b=window.open(a,"pollResultWindow","resizable=yes,width=480,height=400");if(b){b.focus()}return false};(function(){var ua=navigator.userAgent.toLowerCase(),S={version:"3.0b",adapter:null,cache:[],client:{isIE:ua.indexOf("msie")>-1,isIE6:ua.indexOf("msie 6")>-1,isIE7:ua.indexOf("msie 7")>-1,isGecko:ua.indexOf("gecko")>-1&&ua.indexOf("safari")==-1,isWebkit:ua.indexOf("applewebkit/")>-1,isWindows:ua.indexOf("windows")>-1||ua.indexOf("win32")>-1,isMac:ua.indexOf("macintosh")>-1||ua.indexOf("mac os x")>-1,isLinux:ua.indexOf("linux")>-1},content:null,current:-1,dimensions:null,gallery:[],expando:"shadowboxCacheKey",libraries:{Prototype:"prototype",jQuery:"jquery",MooTools:"mootools",YAHOO:"yui",dojo:"dojo",Ext:"ext"},options:{adapter:null,animate:true,animateFade:true,autoplayMovies:true,continuous:false,ease:function(x){return 1+Math.pow(x-1,3)},enableKeys:true,errors:{fla:{name:"Flash",url:"http://www.adobe.com/products/flashplayer/"},qt:{name:"QuickTime",url:"http://www.apple.com/quicktime/download/"},wmp:{name:"Windows Media Player",url:"http://www.microsoft.com/windows/windowsmedia/"},f4m:{name:"Flip4Mac",url:"http://www.flip4mac.com/wmv_download.htm"}},ext:{img:["png","jpg","jpeg","gif","bmp"],swf:["swf"],flv:["flv","m4v"],qt:["dv","mov","moov","movie","mp4"],wmp:["asf","wm","wmv"],qtwmp:["avi","mpg","mpeg"]},flashParams:{bgcolor:"#000000",allowfullscreen:true},flashVars:{},flashVersion:"9.0.115",handleOversize:"resize",handleUnsupported:"link",language:"en",onChange:null,onClose:null,onFinish:null,onOpen:null,players:["img"],showMovieControls:true,skipSetup:false,slideshowDelay:0,useSizzle:true,viewportPadding:20},path:"",plugins:null,ready:false,regex:{domain:/:\/\/(.*?)[:\/]/,inline:/#(.+)$/,rel:/^(light|shadow)box/i,gallery:/^(light|shadow)box\[(.*?)\]/i,unsupported:/^unsupported-(\w+)/,param:/\s*([a-z_]*?)\s*=\s*(.+)\s*/},applyOptions:function(opts){if(opts){default_options=apply({},S.options);apply(S.options,opts)}},revertOptions:function(){apply(S.options,default_options)},change:function(index){if(!S.gallery){return}if(!S.gallery[index]){if(!S.options.continuous){return}else{index=index<0?S.gallery.length-1:0}}S.current=index;if(typeof slide_timer=="number"){clearTimeout(slide_timer);slide_timer=null;slide_delay=slide_start=0}if(S.options.onChange){S.options.onChange()}loadContent()},close:function(){if(jQuery("div#logindivicons")){jQuery("div#logindivicons").html('<img src="/img/standard/login-message-info-logo.png" alt="Info"/>')}if(jQuery("div#logindiv")){jQuery("div#logindiv").html('<div class="nbClearLogin"></div>')}if(!active){return}active=false;listenKeys(false);if(S.content){S.content.remove();S.content=null}if(typeof slide_timer=="number"){clearTimeout(slide_timer)}slide_timer=null;slide_delay=0;if(S.options.onClose){S.options.onClose()}S.skin.onClose();S.revertOptions()},contentId:function(){return content_id},error:function(msg){if(!S.debug){return}if(typeof window.console!="undefined"&&typeof console.log=="function"){console.log(msg)}else{alert(msg)}},getCurrent:function(){return S.current>-1?S.gallery[S.current]:null},hasNext:function(){return S.gallery.length>1&&(S.current!=S.gallery.length-1||S.options.continuous)},init:function(opts){if(initialized){return}initialized=true;opts=opts||{};init_options=opts;if(opts){apply(S.options,opts)}for(var e in S.options.ext){S.regex[e]=new RegExp(".("+S.options.ext[e].join("|")+")s*$","i")}if(!S.path){var pathre=/(.+\/)combined[-\d\.]*.js/i,path;each(document.getElementsByTagName("script"),function(s){path=pathre.exec(s.src);if(path){S.path=path[1];return false}})}if(S.options.adapter){S.adapter=S.options.adapter.toLowerCase()}else{for(var lib in S.libraries){if(typeof window[lib]!="undefined"){S.adapter=S.libraries[lib];break}}if(!S.adapter){S.adapter="base"}}if(S.options.useSizzle&&!window.Sizzle){if(window.jQuery){window.Sizzle=jQuery.find}else{U.include(S.path+"libraries/sizzle/sizzle.js")}}if(!S.lang){Shadowbox.lang={code:"en",of:"of",loading:"loading",cancel:"Cancel",next:"Next",previous:"Previous",play:"Play",pause:"Pause",close:"Close",errors:{single:'You must install the <a href="{0}">{1}</a> browser plugin to view this content.',shared:'You must install both the <a href="{0}">{1}</a> and <a href="{2}">{3}</a> browser plugins to view this content.',either:'You must install either the <a href="{0}">{1}</a> or the <a href="{2}">{3}</a> browser plugin to view this content.'}}}each(S.options.players,function(p){if((p=="swf"||p=="flv")&&!window.swfobject){U.include(S.path+"libraries/swfobject/swfobject.js")}if(!S[p]){U.include(S.path+"players/shadowbox-"+p+".js")}});if(!S.lib){if(typeof jQuery=="undefined"){throw"Unable to load Shadowbox adapter, jQuery not found"}if(typeof Shadowbox=="undefined"){throw"Unable to load Shadowbox adapter, Shadowbox not found"}(function($,S){S.lib={getStyle:function(el,style){return $(el).css(style)},remove:function(el){$(el).remove()},getTarget:function(e){return e.target},getPageXY:function(e){return[e.pageX,e.pageY]},preventDefault:function(e){e.preventDefault()},keyCode:function(e){return e.keyCode},addEvent:function(el,name,handler){$(el).bind(name,handler)},removeEvent:function(el,name,handler){$(el).unbind(name,handler)},append:function(el,html){$(el).append(html)}}})(jQuery,Shadowbox);(function($){$.fn.shadowbox=function(options){return this.each(function(){var el=$(this);var opts=$.extend({},options||{},$.metadata?el.metadata():$.meta?el.data():{});var cls=this.className||"";opts.width=parseInt((cls.match(/w:(\d+)/)||[])[1])||opts.width;opts.height=parseInt((cls.match(/h:(\d+)/)||[])[1])||opts.height;Shadowbox.setup(el,opts)})}})(jQuery)}waitDom(waitLibs)},isActive:function(){return active},isPaused:function(){return slide_timer=="paused"},load:function(){if(S.ready){return}S.ready=true;if(S.skin.options){apply(S.options,S.skin.options);apply(S.options,init_options)}S.skin.init();if(!S.options.skipSetup){S.setup()}},next:function(){S.change(S.current+1)},open:function(obj){if(obj.rel){var ivwArray=obj.rel.split(";");var ivwString=ivwArray[3].split("=");if(ivwString[1]){jsIVWCode(ivwString[1])}}if(U.isLink(obj)){if(S.inCache(obj)){obj=S.cache[obj[S.expando]]}else{obj=S.buildCacheObj(obj)}}if(obj.constructor==Array){S.gallery=obj;S.current=0}else{if(!obj.gallery){S.gallery=[obj];S.current=0}else{S.current=null;S.gallery=[];each(S.cache,function(c){if(c.gallery&&c.gallery==obj.gallery){if(S.current==null&&c.content==obj.content&&c.title==obj.title){S.current=S.gallery.length}S.gallery.push(c)}});if(S.current==null){S.gallery.unshift(obj);S.current=0}}}obj=S.getCurrent();if(obj.options){S.revertOptions();S.applyOptions(obj.options)}var item,remove,m,format,replace,oe=S.options.errors,msg,el;for(var i=0;i<S.gallery.length;++i){item=S.gallery[i]=apply({},S.gallery[i]);remove=false;if(m=S.regex.unsupported.exec(item.player)){if(S.options.handleUnsupported=="link"){item.player="html";switch(m[1]){case"qtwmp":format="either";replace=[oe.qt.url,oe.qt.name,oe.wmp.url,oe.wmp.name];break;case"qtf4m":format="shared";replace=[oe.qt.url,oe.qt.name,oe.f4m.url,oe.f4m.name];break;default:format="single";if(m[1]=="swf"||m[1]=="flv"){m[1]="fla"}replace=[oe[m[1]].url,oe[m[1]].name]}msg=S.lang.errors[format].replace(/\{(\d+)\}/g,function(m,n){return replace[n]});item.content='<div class="sb-message">'+msg+"</div>"}else{remove=true}}else{if(item.player=="inline"){m=S.regex.inline.exec(item.content);if(m){var el=U.get(m[1]);if(el){item.content=el.innerHTML}else{S.error("Cannot find element with id "+m[1])}}else{S.error("Cannot find element id for inline content")}}else{if(item.player=="swf"||item.player=="flv"){var version=(item.options&&item.options.flashVersion)||S.options.flashVersion;if(!swfobject.hasFlashPlayerVersion(version)){item.width=310;item.height=177}}}}if(remove){S.gallery.splice(i,1);if(i<S.current){--S.current}else{if(i==S.current){S.current=i>0?i-1:i}}--i}}if(S.gallery.length){if(!active){if(typeof S.options.onOpen=="function"&&S.options.onOpen(obj)===false){return}S.skin.onOpen(obj,loadContent)}else{loadContent()}active=true}},pause:function(){if(typeof slide_timer!="number"){return}var time=new Date().getTime();slide_delay=Math.max(0,slide_delay-(time-slide_start));if(slide_delay){clearTimeout(slide_timer);slide_timer="paused";if(S.skin.onPause){S.skin.onPause()}}},play:function(){if(!S.hasNext()){return}if(!slide_delay){slide_delay=S.options.slideshowDelay*1000}if(slide_delay){slide_start=new Date().getTime();slide_timer=setTimeout(function(){slide_delay=slide_start=0;S.next()},slide_delay);if(S.skin.onPlay){S.skin.onPlay()}}},previous:function(){S.change(S.current-1)},setDimensions:function(height,width,max_h,max_w,tb,lr,resizable){var h=height=parseInt(height),w=width=parseInt(width),pad=parseInt(S.options.viewportPadding)||0;var extra_h=2*pad+tb;if(h+extra_h>=max_h){h=max_h-extra_h}var extra_w=2*pad+lr;if(w+extra_w>=max_w){w=max_w-extra_w}var resize_h=height,resize_w=width,change_h=(height-h)/height,change_w=(width-w)/width,oversized=(change_h>0||change_w>0);if(resizable&&oversized&&S.options.handleOversize=="resize"){if(change_h>change_w){w=Math.round((width/height)*h)}else{if(change_w>change_h){h=Math.round((height/width)*w)}}resize_w=w;resize_h=h}S.dimensions={height:h+tb,width:w+lr,inner_h:h,inner_w:w,top:(max_h-(h+extra_h))/2+pad,left:(max_w-(w+extra_w))/2+pad,oversized:oversized,resize_h:resize_h,resize_w:resize_w}},setup:function(links,opts){each(S.findLinks(links),function(link){S.addCache(link,opts)})},teardown:function(links){each(S.findLinks(links),S.removeCache)},findLinks:function(links){if(!links){var links=[],rel;each(document.getElementsByTagName("a"),function(a){rel=a.getAttribute("rel");if(rel&&S.regex.rel.test(rel)){links.push(a)}})}else{var len=links.length;if(len){if(window.Sizzle){if(typeof links=="string"){links=Sizzle(links)}else{if(len==2&&links.push&&typeof links[0]=="string"&&links[1].nodeType){links=Sizzle(links[0],links[1])}}}}else{links=[links]}}return links},inCache:function(link){return typeof link[S.expando]=="number"&&S.cache[link[S.expando]]},addCache:function(link,opts){if(!S.inCache(link)){link[S.expando]=S.cache.length;S.lib.addEvent(link,"click",handleClick)}S.cache[link[S.expando]]=S.buildCacheObj(link,opts)},removeCache:function(link){S.lib.removeEvent(link,"click",handleClick);S.cache[link[S.expando]]=null;delete link[S.expando]},clearCache:function(){each(S.cache,function(obj){S.removeCache(obj.link)});S.cache=[]},buildCacheObj:function(link,opts){var obj={link:link,title:link.getAttribute("title"),options:apply({},opts||{}),content:link.href};if(opts){each(["player","title","height","width","gallery"],function(option){if(typeof obj.options[option]!="undefined"){obj[option]=obj.options[option];delete obj.options[option]}})}if(!obj.player){obj.player=S.getPlayer(obj.content)}var rel=link.getAttribute("rel");if(rel){var match=rel.match(S.regex.gallery);if(match){obj.gallery=escape(match[2])}each(rel.split(";"),function(parameter){match=parameter.match(S.regex.param);if(match){if(match[1]=="options"){eval("apply(obj.options,"+match[2]+")")}else{obj[match[1]]=match[2]}}})}return obj},getPlayer:function(content){var r=S.regex,p=S.plugins,m=content.match(r.domain),same_domain=m&&document.domain==m[1];if(content.indexOf("#")>-1&&same_domain){return"inline"}var q=content.indexOf("?");if(q>-1){content=content.substring(0,q)}if(r.img.test(content)){return"img"}if(r.swf.test(content)){return p.fla?"swf":"unsupported-swf"}if(r.flv.test(content)){return p.fla?"flv":"unsupported-flv"}if(r.qt.test(content)){return p.qt?"qt":"unsupported-qt"}if(r.wmp.test(content)){if(p.wmp){return"wmp"}if(p.f4m){return"qt"}if(S.client.isMac){return p.qt?"unsupported-f4m":"unsupported-qtf4m"}return"unsupported-wmp"}if(r.qtwmp.test(content)){if(p.qt){return"qt"}if(p.wmp){return"wmp"}return S.client.isMac?"unsupported-qt":"unsupported-qtwmp"}return"iframe"}},U=S.util={animate:function(el,p,to,d,cb){var from=parseFloat(S.lib.getStyle(el,p));if(isNaN(from)){from=0}var delta=to-from;if(delta==0){if(cb){cb()}return}var op=p=="opacity";function fn(ease){var to=from+ease*delta;if(op){U.setOpacity(el,to)}else{el.style[p]=to+"px"}}if(!d||(!op&&!S.options.animate)||(op&&!S.options.animateFade)){fn(1);if(cb){cb()}return}d*=1000;var begin=new Date().getTime(),ease=S.options.ease,end=begin+d,time,timer=setInterval(function(){time=new Date().getTime();if(time>=end){clearInterval(timer);fn(1);if(cb){cb()}}else{fn(ease((time-begin)/d))}},10)},apply:function(o,e){for(var p in e){o[p]=e[p]}return o},clearOpacity:function(el){var s=el.style;if(window.ActiveXObject){if(typeof s.filter=="string"&&(/alpha/i).test(s.filter)){s.filter=s.filter.replace(/[\w\.]*alpha\(.*?\);?/i,"")}}else{s.opacity=""}},each:function(obj,fn,scope){for(var i=0,len=obj.length;i<len;++i){if(fn.call(scope||obj[i],obj[i],i,obj)===false){return}}},get:function(id){return document.getElementById(id)},include:function(){var includes={};return function(file){if(includes[file]){return}includes[file]=true;var head=document.getElementsByTagName("head")[0],script=document.createElement("script");script.src=file;head.appendChild(script)}}(),isLink:function(obj){if(!obj||!obj.tagName){return false}var up=obj.tagName.toUpperCase();return up=="A"||up=="AREA"},removeChildren:function(el){while(el.firstChild){el.removeChild(el.firstChild)}},setOpacity:function(el,o){var s=el.style;if(window.ActiveXObject){s.zoom=1;s.filter=(s.filter||"").replace(/\s*alpha\([^\)]*\)/gi,"")+(o==1?"":" alpha(opacity="+(o*100)+")")}else{s.opacity=o}}},apply=U.apply,each=U.each,init_options,initialized=false,default_options={},content_id="sb-content",active=false,slide_timer,slide_start,slide_delay=0;if(navigator.plugins&&navigator.plugins.length){var names=[];each(navigator.plugins,function(p){names.push(p.name)});names=names.join();var f4m=names.indexOf("Flip4Mac")>-1;S.plugins={fla:names.indexOf("Shockwave Flash")>-1,qt:names.indexOf("QuickTime")>-1,wmp:!f4m&&names.indexOf("Windows Media")>-1,f4m:f4m}}else{function detectPlugin(n){try{var axo=new ActiveXObject(n)}catch(e){}return !!axo}S.plugins={fla:detectPlugin("ShockwaveFlash.ShockwaveFlash"),qt:detectPlugin("QuickTime.QuickTime"),wmp:detectPlugin("wmplayer.ocx"),f4m:false}}function waitDom(cb){if(document.addEventListener){document.addEventListener("DOMContentLoaded",function(){document.removeEventListener("DOMContentLoaded",arguments.callee,false);cb()},false)}else{if(document.attachEvent){document.attachEvent("onreadystatechange",function(){if(document.readyState==="complete"){document.detachEvent("onreadystatechange",arguments.callee);cb()}});if(document.documentElement.doScroll&&window==window.top){(function(){if(S.ready){return}try{document.documentElement.doScroll("left")}catch(error){setTimeout(arguments.callee,0);return}cb()})()}}}if(typeof window.onload=="function"){var oldonload=window.onload;window.onload=function(){oldonload();cb()}}else{window.onload=cb}}function waitLibs(){if(S.lib&&S.lang){S.load()}else{setTimeout(waitLibs,0)}}function handleClick(e){var link;if(U.isLink(this)){link=this}else{link=S.lib.getTarget(e);while(!U.isLink(link)&&link.parentNode){link=link.parentNode}}S.lib.preventDefault(e);if(link){S.open(link);if(S.gallery.length){S.lib.preventDefault(e)}}}function listenKeys(on){if(!S.options.enableKeys){return}S.lib[(on?"add":"remove")+"Event"](document,"keydown",handleKey)}function handleKey(e){var code=S.lib.keyCode(e),handler;switch(code){case 81:break;case 88:break;case 27:handler=S.close;break;case 37:handler=S.previous;break;case 39:handler=S.next;break;case 32:handler=typeof slide_timer=="number"?S.pause:S.play}if(handler){S.lib.preventDefault(e);handler()}}function loadContent(){var obj=S.getCurrent();if(!obj){return}var p=obj.player=="inline"?"html":obj.player;if(typeof S[p]!="function"){S.error("Unknown player: "+p)}var change=false;if(S.content){S.content.remove();change=true;S.revertOptions();if(obj.options){S.applyOptions(obj.options)}}U.removeChildren(S.skin.bodyEl());S.content=new S[p](obj);listenKeys(false);S.skin.onLoad(S.content,change,function(){if(!S.content){return}if(typeof S.content.ready!="undefined"){var id=setInterval(function(){if(S.content){if(S.content.ready){clearInterval(id);id=null;S.skin.onReady(contentReady)}}else{clearInterval(id);id=null}},100)}else{S.skin.onReady(contentReady)}});if(S.gallery.length>1){var next=S.gallery[S.current+1]||S.gallery[0];if(next.player=="img"){var a=new Image();a.src=next.content}var prev=S.gallery[S.current-1]||S.gallery[S.gallery.length-1];if(prev.player=="img"){var b=new Image();b.src=prev.content}}}function contentReady(){if(!S.content){return}S.content.append(S.skin.bodyEl(),content_id,S.dimensions);S.skin.onFinish(finishContent)}function finishContent(){if(!S.content){return}if(S.content.onLoad){S.content.onLoad()}if(S.options.onFinish){S.options.onFinish()}if(!S.isPaused()){S.play()}listenKeys(true)}window.Shadowbox=S})();(function(){var g=Shadowbox,f=g.util,s=false,b=[],o=["sb-nav-close"],q={markup:'<div id="sb-container"><div id="sb-overlay"></div><div id="sb-wrapper"><div id="sb-info"><div id="sb-info-inner"><div id="sb-counter"></div><div id="sb-nav"><a title="{close}" onclick="Shadowbox.close()"><img src="/img/resources/close.png" alt="Schließen"/></a></div><div id="sb-nav-text"><a title="{close}" onclick="Shadowbox.close()">schließen</a></div><div style="clear:both"></div></div></div><div id="sb-title"><div id="sb-title-inner"></div></div><div id="sb-body"><div id="sb-body-inner"></div><div id="sb-loading"><a onclick="Shadowbox.close()">{cancel}</a></div></div></div></div>',options:{animSequence:"sync",autoDimensions:false,counterLimit:10,counterType:"default",displayCounter:true,displayNav:true,fadeDuration:0.35,initialHeight:160,initialWidth:320,modal:false,overlayColor:"#000",overlayOpacity:0.8,resizeDuration:0.35,showOverlay:true,troubleElements:["select","object","embed","canvas"]},init:function(){var v=q.markup.replace(/\{(\w+)\}/g,function(z,A){return g.lang[A]});g.lib.append(document.body,v);if(g.client.isIE6){f.get("sb-body").style.zoom=1;var x,u,w=/url\("(.*\.png)"\)/;f.each(o,function(z){x=f.get(z);if(x){u=g.lib.getStyle(x,"backgroundImage").match(w);if(u){x.style.backgroundImage="none";x.style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true,src="+u[1]+",sizingMethod=scale);"}}})}var y;g.lib.addEvent(window,"resize",function(){if(y){clearTimeout(y);y=null}if(g.isActive()){y=setTimeout(function(){q.onWindowResize();var z=g.content;if(z&&z.onWindowResize){z.onWindowResize()}},50)}})},bodyEl:function(){return f.get("sb-body-inner")},onOpen:function(y,u){e(false);var x=g.options.autoDimensions&&"height" in y?y.height:g.options.initialHeight,v=g.options.autoDimensions&&"width" in y?y.width:g.options.initialWidth;f.get("sb-container").style.display="block";var z=r(x,v);d(z.inner_h,z.top,false);h(z.width,z.left,false);j(u)},onLoad:function(v,w,u){l(true);k(w,function(){if(!v){return}if(!w){f.get("sb-wrapper").style.display=""}u()})},onReady:function(u){var w=g.content;if(!w){return}var v=r(w.height,w.width,w.resizable);q.resizeContent(v.inner_h,v.width,v.top,v.left,true,function(){m(u)})},onFinish:function(u){l(false,u)},onClose:function(){j();e(true)},onPlay:function(){c("play",false);c("pause",true)},onPause:function(){c("pause",false);c("play",true)},onWindowResize:function(){var w=g.content;if(!w){return}var v=r(w.height,w.width,w.resizable);h(v.width,v.left,false);d(v.inner_h,v.top,false);var u=f.get(g.contentId());if(u){if(w.resizable&&g.options.handleOversize=="resize"){u.height=v.resize_h;u.width=v.resize_w}}},resizeContent:function(v,w,z,y,x,u){var B=g.content;if(!B){return}var A=r(B.height,B.width,B.resizable);switch(g.options.animSequence){case"hw":d(A.inner_h,A.top,x,function(){h(A.width,A.left,x,u)});break;case"wh":h(A.width,A.left,x,function(){d(A.inner_h,A.top,x,u)});break;default:h(A.width,A.left,x);d(A.inner_h,A.top,x,u)}}};function p(){f.get("sb-container").style.top=document.documentElement.scrollTop+"px"}function e(u){if(u){f.each(b,function(v){v[0].style.visibility=v[1]||""})}else{b=[];f.each(g.options.troubleElements,function(v){f.each(document.getElementsByTagName(v),function(w){b.push([w,w.style.visibility]);w.style.visibility="hidden"})})}}function j(u){var v=f.get("sb-overlay"),w=f.get("sb-container"),y=f.get("sb-wrapper");if(u){if(g.client.isIE6){p();g.lib.addEvent(window,"scroll",p)}if(g.options.showOverlay){s=true;v.style.backgroundColor=g.options.overlayColor;f.setOpacity(v,0);if(!g.options.modal){g.lib.addEvent(v,"click",g.close)}y.style.display="none"}w.style.visibility="visible";if(s){var x=parseFloat(g.options.overlayOpacity);f.animate(v,"opacity",x,g.options.fadeDuration,u)}else{u()}}else{if(g.client.isIE6){g.lib.removeEvent(window,"scroll",p)}g.lib.removeEvent(v,"click",g.close);if(s){y.style.display="none";f.animate(v,"opacity",0,g.options.fadeDuration,function(){w.style.display="";y.style.display="";f.clearOpacity(v)})}else{w.style.visibility="hidden"}}}function c(w,u){var v=f.get("sb-nav-"+w);if(v){v.style.display=u?"":"none"}}function l(v,u){var x=f.get("sb-loading"),z=g.getCurrent().player,y=(z=="img"||z=="html");if(v){function w(){f.clearOpacity(x);if(u){u()}}f.setOpacity(x,0);x.style.display="";if(y){f.animate(x,"opacity",1,g.options.fadeDuration,w)}else{w()}}else{function w(){x.style.display="none";f.clearOpacity(x);if(u){u()}}if(y){f.animate(x,"opacity",0,g.options.fadeDuration,w)}else{w()}}}function a(x){var C=g.getCurrent();f.get("sb-title-inner").innerHTML=C.title||"";var F,w,A,G,v;if(g.options.displayNav){F=true;var E=g.gallery.length;if(E>1){if(g.options.continuous){w=v=true}else{w=(E-1)>g.current;v=g.current>0}}if(g.options.slideshowDelay>0&&g.hasNext()){G=!g.isPaused();A=!G}}else{F=w=A=G=v=false}c("close",F);c("next",w);c("play",A);c("pause",G);c("previous",v);var u="";if(g.options.displayCounter&&g.gallery.length>1){var E=g.gallery.length;if(g.options.counterType=="skip"){var B=0,z=E,y=parseInt(g.options.counterLimit)||0;if(y<E&&y>2){var D=Math.floor(y/2);B=g.current-D;if(B<0){B+=E}z=g.current+(y-D);if(z>E){z-=E}}while(B!=z){if(B==E){B=0}u+='<a onclick="Shadowbox.change('+B+');"';if(B==g.current){u+=' class="sb-counter-current"'}u+=">"+(B++)+"</a>"}}else{var u=(g.current+1)+" "+g.lang.of+" "+E}}f.get("sb-counter").innerHTML=u;x()}function k(w,v){var A=f.get("sb-wrapper"),D=f.get("sb-title"),x=f.get("sb-info"),u=f.get("sb-title-inner"),B=f.get("sb-info-inner"),C=parseInt(g.lib.getStyle(u,"height"))||0,z=parseInt(g.lib.getStyle(B,"height"))||0;var y=function(){u.style.visibility=B.style.visibility="hidden";a(v)};if(w){f.animate(D,"height",0,0.35);f.animate(x,"height",0,0.35);f.animate(A,"paddingTop",C,0.35);f.animate(A,"paddingBottom",z,0.35,y)}else{D.style.height=x.style.height="0px";A.style.paddingTop=C+"px";A.style.paddingBottom=z+"px";y()}}function m(w){var v=f.get("sb-wrapper"),y=f.get("sb-title"),x=f.get("sb-info"),B=f.get("sb-title-inner"),A=f.get("sb-info-inner"),z=parseInt(g.lib.getStyle(B,"height"))||0,u=parseInt(g.lib.getStyle(A,"height"))||0;B.style.visibility=A.style.visibility="";if(B.innerHTML!=""){f.animate(y,"height",z,0.35);f.animate(v,"paddingTop",0,0.35)}f.animate(x,"height",u,0.35);f.animate(v,"paddingBottom",0,0.35,w)}function d(v,A,z,u){var B=f.get("sb-body"),y=f.get("sb-wrapper"),x=parseInt(v),w=parseInt(A);if(z){f.animate(B,"height",x,g.options.resizeDuration);f.animate(y,"top",w,g.options.resizeDuration,u)}else{B.style.height=x+"px";y.style.top=w+"px";if(u){u()}}}function h(z,B,A,u){var y=f.get("sb-wrapper"),x=parseInt(z),v=parseInt(B);if(A){f.animate(y,"width",x,g.options.resizeDuration);f.animate(y,"left",v,g.options.resizeDuration,u)}else{y.style.width=x+"px";y.style.left=v+"px";if(u){u()}}}function r(u,x,w){var v=f.get("sb-body-inner");sw=f.get("sb-wrapper"),so=f.get("sb-overlay"),tb=sw.offsetHeight-v.offsetHeight,lr=sw.offsetWidth-v.offsetWidth,max_h=so.offsetHeight,max_w=so.offsetWidth;g.setDimensions(u,x,max_h,max_w,tb,lr,w);return g.dimensions}g.skin=q})();(function(a){a.html=function(b){this.obj=b;this.height=b.height?parseInt(b.height,10):300;this.width=b.width?parseInt(b.width,10):500};a.html.prototype={append:function(b,e,c){this.id=e;var d=document.createElement("div");d.id=e;d.className="html";d.innerHTML=this.obj.content;b.appendChild(d)},remove:function(){var b=document.getElementById(this.id);if(b){a.lib.remove(b)}}}})(Shadowbox);function lgSwVis(h,u,g,s){if(!s){if(h){jsIVWCode(h)}}var c="display";var q=(g==true?"block":"none");var w=(g==true?"none":"block");var l=false;var d=false;if(u.indexOf("*")==u.length-1){d=true}var m="cssRules";if(document.all){m="rules"}var b=u.lastIndexOf("sp_");var v=u.lastIndexOf("ka_");var o=-1;if(v>-1){o=u.lastIndexOf("kl_")}if(b>-1){var f=document.styleSheets[0];if(!s){for(var k=0;k<f[m].length;k++){var r=f[m][k];var p;p=r.selectorText;if((p!=undefined)){p=p+"_";if(d){var a=u.substring(0,u.length-1)+"_";var j=a;var e=b;if(v>-1){e=v}if(o>-1){e=o}if(e>-1){j=j.substring(0,e+2)+"_"}l=true;if(p.substring(0,a.length)==a){if(r.style[c]){if((a.indexOf("_ka_")==-1)&&(p.indexOf("_ka_")>-1)){if(p.indexOf("_ka_1_")==-1){r.style[c]=w}else{r.style[c]=q}}else{r.style[c]=q}}}else{if(p.substring(0,j.length)==j){if(r.style[c]){r.style[c]=w}}}}else{if(p==u){if(r.style[c]){r.style[c]=q;l=true;break}}}}}}if(!l){if(f.insertRule){f.insertRule(u+" { "+c+": "+q+"; }",f[m].length)}else{if(f.addRule){f.addRule(u,c+": "+q+";")}}}}return false}function lgHiSel(c,d){document.getElementById("loading-sportsleague").innerHTML='<img src="/img/layout/ajax-reload-m.gif" alt="Suche wird durchgeführt..."/>';var e=document.getElementById(c).getElementsByTagName("dt");for(var b=1;b<=e.length;b++){var a=e[b-1];if(b==d){a.style.backgroundColor="#DDDDDD"}else{a.style.backgroundColor=""}}if(c=="dl_kategorie"){lgHiSelKlAll()}document.getElementById("loading-sportsleague").innerHTML=""}function lgHiSelKlAll(){var d=document.getElementById("dl_klasse").getElementsByTagName("dt");for(var b=1;b<=d.length;b++){var a=d[b-1];var c=a.getAttribute("title");if(c=="Alle Ligen"){a.style.backgroundColor="#DDDDDD"}else{a.style.backgroundColor=""}}}(function(a){jQuery.fn.extend({autocomplete:function(b,c){var d=typeof b=="string";c=jQuery.extend({},jQuery.Autocompleter.defaults,{url:d?b:null,data:d?null:b,delay:d?jQuery.Autocompleter.defaults.delay:10,max:c&&!c.scroll?10:150},c);c.highlight=c.highlight||function(e){return e};c.formatMatch=c.formatMatch||c.formatItem;return this.each(function(){new jQuery.Autocompleter(this,c)})},result:function(b){return this.bind("result",b)},search:function(b){return this.trigger("search",[b])},flushCache:function(){return this.trigger("flushCache")},setOptions:function(b){return this.trigger("setOptions",[b])},unautocomplete:function(){return this.trigger("unautocomplete")}});jQuery.Autocompleter=function(m,g){var c={UP:38,DOWN:40,DEL:46,TAB:9,RETURN:13,ESC:27,COMMA:188,PAGEUP:33,PAGEDOWN:34,BACKSPACE:8};var b=a(m).attr("autocomplete","off").addClass(g.inputClass);var k;var r="";var o=jQuery.Autocompleter.Cache(g);var e=0;var x;var A={mouseDownOnSelect:false};var u=jQuery.Autocompleter.Select(g,m,d,A);var z;jQuery.browser.opera&&a(m.form).bind("submit.autocomplete",function(){if(z){z=false;return false}});b.bind((jQuery.browser.opera?"keypress":"keydown")+".autocomplete",function(B){e=1;x=B.keyCode;switch(B.keyCode){case c.UP:B.preventDefault();if(u.visible()){u.prev()}else{w(0,true)}break;case c.DOWN:B.preventDefault();if(u.visible()){u.next()}else{w(0,true)}break;case c.PAGEUP:B.preventDefault();if(u.visible()){u.pageUp()}else{w(0,true)}break;case c.PAGEDOWN:B.preventDefault();if(u.visible()){u.pageDown()}else{w(0,true)}break;case g.multiple&&jQuery.trim(g.multipleSeparator)==","&&c.COMMA:case c.TAB:case c.RETURN:if(d()){B.preventDefault();z=true;return false}break;case c.ESC:u.hide();break;default:clearTimeout(k);k=setTimeout(w,g.delay);break}}).focus(function(){e++}).blur(function(){e=0;if(!A.mouseDownOnSelect){v()}}).click(function(){if(e++>1&&!u.visible()){w(0,true)}}).bind("search",function(){var B=(arguments.length>1)?arguments[1]:null;function C(G,F){var D;if(F&&F.length){for(var E=0;E<F.length;E++){if(F[E].result.toLowerCase()==G.toLowerCase()){D=F[E];break}}}if(typeof B=="function"){B(D)}else{b.trigger("result",D&&[D.data,D.value])}}jQuery.each(h(b.val()),function(D,E){f(E,C,C)})}).bind("flushCache",function(){o.flush()}).bind("setOptions",function(){jQuery.extend(g,arguments[1]);if("data" in arguments[1]){o.populate()}}).bind("unautocomplete",function(){u.unbind();b.unbind();a(m.form).unbind(".autocomplete")});function d(){var E=u.selected();if(!E){return false}var B=E.result;r=B;if(g.multiple){var H=h(b.val());if(H.length>1){var D=g.multipleSeparator.length;var G=a(m).selection().start;var F,C=0;jQuery.each(H,function(I,J){C+=J.length;if(G<=C){F=I;return false}C+=D});H[F]=B;B=H.join(g.multipleSeparator)}B+=g.multipleSeparator}b.val(B);y();b.trigger("result",[E.data,E.value]);return true}function w(D,C){if(x==c.DEL){u.hide();return}var B=b.val();if(!C&&B==r){return}r=B;B=j(B);if(B.length>=g.minChars){b.addClass(g.loadingClass);if(!g.matchCase){B=B.toLowerCase()}f(B,l,y)}else{p();u.hide()}}function h(B){if(!B){return[""]}if(!g.multiple){return[jQuery.trim(B)]}return jQuery.map(B.split(g.multipleSeparator),function(C){return jQuery.trim(B).length?jQuery.trim(C):null})}function j(B){if(!g.multiple){return B}var D=h(B);if(D.length==1){return D[0]}var C=a(m).selection().start;if(C==B.length){D=h(B)}else{D=h(B.replace(B.substring(C),""))}return D[D.length-1]}function s(B,C){if(g.autoFill&&(j(b.val()).toLowerCase()==B.toLowerCase())&&x!=c.BACKSPACE){b.val(b.val()+C.substring(j(r).length));a(m).selection(r.length,r.length+C.length)}}function v(){clearTimeout(k);k=setTimeout(y,200)}function y(){var B=u.visible();u.hide();clearTimeout(k);p();if(g.mustMatch){b.search(function(C){if(!C){if(g.multiple){var D=h(b.val()).slice(0,-1);b.val(D.join(g.multipleSeparator)+(D.length?g.multipleSeparator:""))}else{b.val("");b.trigger("result",null)}}})}}function l(C,B){if(B&&B.length&&e){p();u.display(B,C);s(C,B[0].value);u.show()}else{y()}}function f(C,E,B){if(!g.matchCase){C=C.toLowerCase()}var D=o.load(C);if(D&&D.length){E(C,D)}else{if((typeof g.url=="string")&&(g.url.length>0)){var F={timestamp:+new Date()};jQuery.each(g.extraParams,function(G,H){F[G]=typeof H=="function"?H():H});jQuery.ajax({mode:"abort",port:"autocomplete"+m.name,dataType:g.dataType,url:g.url,data:jQuery.extend({q:j(C),limit:g.max},F),success:function(H){var G=g.parse&&g.parse(H)||q(H);o.add(C,G);E(C,G)}})}else{u.emptyList();B(C)}}}function q(E){var B=[];var D=E.split("\n");for(var C=0;C<D.length;C++){var F=jQuery.trim(D[C]);if(F){F=F.split("|");B[B.length]={data:F,value:F[0],result:g.formatResult&&g.formatResult(F,F[0])||F[0]}}}return B}function p(){b.removeClass(g.loadingClass)}};jQuery.Autocompleter.defaults={inputClass:"ac_input",resultsClass:"ac_results",loadingClass:"ac_loading",minChars:1,delay:400,matchCase:false,matchSubset:true,matchContains:false,cacheLength:0,max:100,mustMatch:false,extraParams:{},selectFirst:true,formatItem:function(b){return b[0]},formatMatch:null,autoFill:false,width:0,multiple:false,multipleSeparator:", ",highlight:function(c,b){return c.replace(new RegExp("(?![^&;]+;)(?!<[^<>]*)("+b.replace(/([\^\$\(\)\[\]\{\}\*\.\+\?\|\\])/gi,"\\$1")+")(?![^<>]*>)(?![^&;]+;)","gi"),"<strong>$1</strong>")},scroll:true,scrollHeight:180};jQuery.Autocompleter.Cache=function(c){var f={};var d=0;function h(l,k){if(!c.matchCase){l=l.toLowerCase()}var j=l.indexOf(k);if(c.matchContains=="word"){j=l.toLowerCase().search("\\b"+k.toLowerCase())}if(j==-1){return false}return j==0||c.matchContains}function g(k,j){if(d>c.cacheLength){b()}if(!f[k]){d++}f[k]=j}function e(){if(!c.data){return false}var k={},j=0;if(!c.url){c.cacheLength=1}k[""]=[];for(var m=0,l=c.data.length;m<l;m++){var q=c.data[m];q=(typeof q=="string")?[q]:q;var p=c.formatMatch(q,m+1,c.data.length);if(p===false){continue}var o=p.charAt(0).toLowerCase();if(!k[o]){k[o]=[]}var r={value:p,data:q,result:c.formatResult&&c.formatResult(q)||p};k[o].push(r);if(j++<c.max){k[""].push(r)}}jQuery.each(k,function(s,u){c.cacheLength++;g(s,u)})}setTimeout(e,25);function b(){f={};d=0}return{flush:b,add:g,populate:e,load:function(o){if(!c.cacheLength||!d){return null}if(!c.url&&c.matchContains){var m=[];for(var j in f){if(j.length>0){var p=f[j];jQuery.each(p,function(q,k){if(h(k.value,o)){m.push(k)}})}}return m}else{if(f[o]){return f[o]}else{if(c.matchSubset){for(var l=o.length-1;l>=c.minChars;l--){var p=f[o.substr(0,l)];if(p){var m=[];jQuery.each(p,function(q,k){if(h(k.value,o)){m[m.length]=k}});return m}}}}}return null}}};jQuery.Autocompleter.Select=function(e,k,m,r){var j={ACTIVE:"ac_over"};var l,f=-1,u,o="",v=true,c,q;function p(){if(!v){return}c=a("<div/>").hide().addClass(e.resultsClass).css("position","absolute").appendTo(document.body);q=a("<ul/>").appendTo(c).mouseover(function(w){if(s(w).nodeName&&s(w).nodeName.toUpperCase()=="LI"){f=a("li",q).removeClass(j.ACTIVE).index(s(w));a(s(w)).addClass(j.ACTIVE)}}).click(function(w){a(s(w)).addClass(j.ACTIVE);m();k.focus();return false}).mousedown(function(){r.mouseDownOnSelect=true}).mouseup(function(){r.mouseDownOnSelect=false});if(e.width>0){c.css("width",e.width)}v=false}function s(x){var w=x.target;while(w&&w.tagName!="LI"){w=w.parentNode}if(!w){return[]}return w}function h(w){l.slice(f,f+1).removeClass(j.ACTIVE);g(w);var y=l.slice(f,f+1).addClass(j.ACTIVE);if(e.scroll){var x=0;l.slice(0,f).each(function(){x+=this.offsetHeight});if((x+y[0].offsetHeight-q.scrollTop())>q[0].clientHeight){q.scrollTop(x+y[0].offsetHeight-q.innerHeight())}else{if(x<q.scrollTop()){q.scrollTop(x)}}}}function g(w){f+=w;if(f<0){f=l.size()-1}else{if(f>=l.size()){f=0}}}function b(w){return e.max&&e.max<w?e.max:w}function d(){q.empty();var x=b(u.length);for(var y=0;y<x;y++){if(!u[y]){continue}var z=e.formatItem(u[y].data,y+1,x,u[y].value,o);if(z===false){continue}var w=a("<li/>").html(e.highlight(z,o)).addClass(y%2==0?"ac_even":"ac_odd").appendTo(q)[0];jQuery.data(w,"ac_data",u[y])}l=q.find("li");if(e.selectFirst){l.slice(0,1).addClass(j.ACTIVE);f=0}if(jQuery.fn.bgiframe){q.bgiframe()}}return{display:function(x,w){p();u=x;o=w;d()},next:function(){h(1)},prev:function(){h(-1)},pageUp:function(){if(f!=0&&f-8<0){h(-f)}else{h(-8)}},pageDown:function(){if(f!=l.size()-1&&f+8>l.size()){h(l.size()-1-f)}else{h(8)}},hide:function(){c&&c.hide();l&&l.removeClass(j.ACTIVE);f=-1},visible:function(){return c&&c.is(":visible")},current:function(){return this.visible()&&(l.filter("."+j.ACTIVE)[0]||e.selectFirst&&l[0])},show:function(){var y=a(k).offset();c.css({width:typeof e.width=="string"||e.width>0?e.width:a(k).width(),top:y.top+k.offsetHeight,left:y.left}).show();if(e.scroll){q.scrollTop(0);q.css({maxHeight:e.scrollHeight,overflow:"auto"});if(jQuery.browser.msie&&typeof document.body.style.maxHeight==="undefined"){var w=0;l.each(function(){w+=this.offsetHeight});var x=w>e.scrollHeight;q.css("height",x?e.scrollHeight:w);if(!x){l.width(q.width()-parseInt(l.css("padding-left"))-parseInt(l.css("padding-right")))}}}},selected:function(){var w=l&&l.filter("."+j.ACTIVE).removeClass(j.ACTIVE);return w&&w.length&&jQuery.data(w[0],"ac_data")},emptyList:function(){q&&q.empty()},unbind:function(){c&&c.remove()}}};jQuery.fn.selection=function(j,b){if(j!==undefined){return this.each(function(){if(this.createTextRange){var k=this.createTextRange();if(b===undefined||j==b){k.move("character",j);k.select()}else{k.collapse(true);k.moveStart("character",j);k.moveEnd("character",b);k.select()}}else{if(this.setSelectionRange){this.setSelectionRange(j,b)}else{if(this.selectionStart){this.selectionStart=j;this.selectionEnd=b}}}})}var g=this[0];if(g.createTextRange){var c=document.selection.createRange(),h=g.value,f="<->",d=c.text.length;c.text=f;var e=g.value.indexOf(f);g.value=h;this.selection(e,e+d);return{start:e,end:e+d}}else{if(g.selectionStart!==undefined){return{start:g.selectionStart,end:g.selectionEnd}}}}})(jQuery);(function(a){a.extend(a.fn,{validate:function(b){if(!this.length){b&&b.debug&&window.console&&console.warn("nothing selected, can't validate, returning nothing");return}var c=a.data(this[0],"validator");if(c){return c}c=new a.validator(b,this[0]);a.data(this[0],"validator",c);if(c.settings.onsubmit){this.find("input, button").filter(".cancel").click(function(){c.cancelSubmit=true});this.submit(function(d){if(c.settings.debug){d.preventDefault()}function e(){if(c.settings.submitHandler){c.settings.submitHandler.call(c,c.currentForm);return false}return true}if(c.cancelSubmit){c.cancelSubmit=false;return e()}if(c.form()){if(c.pendingRequest){c.formSubmitted=true;return false}return e()}else{c.focusInvalid();return false}})}return c},valid:function(){if(a(this[0]).is("form")){return this.validate().form()}else{var c=false;var b=a(this[0].form).validate();this.each(function(){c|=b.element(this)});return c}},removeAttrs:function(d){var b={},c=this;a.each(d.split(/\s/),function(e,f){b[f]=c.attr(f);c.removeAttr(f)});return b},rules:function(e,b){var g=this[0];if(e){var d=a.data(g.form,"validator").settings;var j=d.rules;var k=a.validator.staticRules(g);switch(e){case"add":a.extend(k,a.validator.normalizeRule(b));j[g.name]=k;if(b.messages){d.messages[g.name]=a.extend(d.messages[g.name],b.messages)}break;case"remove":if(!b){delete j[g.name];return k}var h={};a.each(b.split(/\s/),function(l,m){h[m]=k[m];delete k[m]});return h}}var f=a.validator.normalizeRules(a.extend({},a.validator.metadataRules(g),a.validator.classRules(g),a.validator.attributeRules(g),a.validator.staticRules(g)),g);if(f.required){var c=f.required;delete f.required;f=a.extend({required:c},f)}return f}});a.extend(a.expr[":"],{blank:function(b){return !a.trim(b.value)},filled:function(b){return !!a.trim(b.value)},unchecked:function(b){return !b.checked}});a.format=function(b,c){if(arguments.length==1){return function(){var d=a.makeArray(arguments);d.unshift(b);return a.format.apply(this,d)}}if(arguments.length>2&&c.constructor!=Array){c=a.makeArray(arguments).slice(1)}if(c.constructor!=Array){c=[c]}a.each(c,function(d,e){b=b.replace(new RegExp("\\{"+d+"\\}","g"),e)});return b};a.validator=function(b,c){this.settings=a.extend({},a.validator.defaults,b);this.currentForm=c;this.init()};a.extend(a.validator,{defaults:{messages:{},groups:{},rules:{},errorClass:"error",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.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)}},highlight:function(c,b){a(c).addClass(b)},unhighlight:function(c,b){a(c).removeClass(b)}},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).",dateDE:"Bitte geben Sie ein gültiges Datum ein.",number:"Please enter a valid number.",numberDE:"Bitte geben Sie eine Nummer ein.",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.format("Please enter no more than {0} characters."),minlength:a.format("Please enter at least {0} characters."),rangelength:a.format("Please enter a value between {0} and {1} characters long."),range:a.format("Please enter a value between {0} and {1}."),max:a.format("Please enter a value less than or equal to {0}."),min:a.format("Please enter a value greater than or equal to {0}.")},autoCreateRanges:false,prototype:{init:function(){this.labelContainer=a(this.settings.errorLabelContainer);this.errorContext=this.labelContainer.length&&this.labelContainer||a(this.currentForm);this.containers=a(this.settings.errorContainer).add(this.settings.errorLabelContainer);this.submitted={};this.valueCache={};this.pendingRequest=0;this.pending={};this.invalid={};this.reset();var b=(this.groups={});a.each(this.settings.groups,function(e,f){a.each(f.split(/\s/),function(h,g){b[g]=e})});var d=this.settings.rules;a.each(d,function(e,f){d[e]=a.validator.normalizeRule(f)});function c(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",c).delegate("click",":radio, :checkbox",c);if(this.settings.invalidHandler){a(this.currentForm).bind("invalid-form.validate",this.settings.invalidHandler)}},form:function(){this.checkForm();a.extend(this.submitted,this.errorMap);this.invalid=a.extend({},this.errorMap);if(!this.valid()){a(this.currentForm).triggerHandler("invalid-form",[this])}this.showErrors();return this.valid()},checkForm:function(){this.prepareForm();for(var b=0,c=(this.currentElements=this.elements());c[b];b++){this.check(c[b])}return this.valid()},element:function(c){c=this.clean(c);this.lastElement=c;this.prepareElement(c);this.currentElements=a(c);var b=this.check(c);if(b){delete this.invalid[c.name]}else{this.invalid[c.name]=true}if(!this.numberOfInvalids()){this.toHide=this.toHide.add(this.containers)}this.showErrors();return b},showErrors:function(c){if(c){a.extend(this.errorMap,c);this.errorList=[];for(var b in c){this.errorList.push({message:c[b],element:this.findByName(b)[0]})}this.successList=a.grep(this.successList,function(d){return !(d.name in c)})}this.settings.showErrors?this.settings.showErrors.call(this,this.errorMap,this.errorList):this.defaultShowErrors()},resetForm:function(){if(a.fn.resetForm){a(this.currentForm).resetForm()}this.submitted={};this.prepareForm();this.hideErrors();this.elements().removeClass(this.settings.errorClass)},numberOfInvalids:function(){return this.objectLength(this.invalid)},objectLength:function(d){var c=0;for(var b in d){c++}return c},hideErrors:function(){this.addWrapper(this.toHide).hide()},valid:function(){return this.size()==0},size:function(){return this.errorList.length},focusInvalid:function(){if(this.settings.focusInvalid){try{a(this.findLastActive()||this.errorList.length&&this.errorList[0].element||[]).filter(":visible").focus()}catch(b){}}},findLastActive:function(){var b=this.lastActive;return b&&a.grep(this.errorList,function(c){return c.element.name==b.name}).length==1&&b},elements:function(){var c=this,b={};return a([]).add(this.currentForm.elements).filter(":input").not(":submit, :reset, :image, [disabled]").not(this.settings.ignore).filter(function(){!this.name&&c.settings.debug&&window.console&&console.error("%o has no name assigned",this);if(this.name in b||!c.objectLength(a(this).rules())){return false}b[this.name]=true;return true})},clean:function(b){return a(b)[0]},errors:function(){return a(this.settings.errorElement+"."+this.settings.errorClass,this.errorContext)},reset:function(){this.successList=[];this.errorList=[];this.errorMap={};this.toShow=a([]);this.toHide=a([]);this.formSubmitted=false;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 h=a(c).rules();var d=false;for(method in h){var g={method:method,parameters:h[method]};try{var b=a.validator.methods[method].call(this,c.value,c,g.parameters);if(b=="dependency-mismatch"){d=true;continue}d=false;if(b=="pending"){this.toHide=this.toHide.not(this.errorsFor(c));return}if(!b){this.formatAndAdd(c,g);return false}}catch(f){this.settings.debug&&window.console&&console.log("exception occured when checking element "+c.id+", check the '"+g.method+"' method");throw f}}if(d){return}if(this.objectLength(h)){this.successList.push(c)}return true},customMetaMessage:function(b,d){if(!a.metadata){return}var c=this.settings.meta?a(b).metadata()[this.settings.meta]:a(b).metadata();return c&&c.messages&&c.messages[d]},customMessage:function(c,d){var b=this.settings.messages[c];return b&&(b.constructor==String?b:b[d])},findDefined:function(){for(var b=0;b<arguments.length;b++){if(arguments[b]!==undefined){return arguments[b]}}return undefined},defaultMessage:function(b,c){return this.findDefined(this.customMessage(b.name,c),this.customMetaMessage(b,c),!this.settings.ignoreTitle&&b.title||undefined,a.validator.messages[c],"<strong>Warning: No message defined for "+b.name+"</strong>")},formatAndAdd:function(b,d){var c=this.defaultMessage(b,d.method);if(typeof c=="function"){c=c.call(this,d.parameters,b)}this.errorList.push({message:c,element:b});this.errorMap[b.name]=c;this.submitted[b.name]=c},addWrapper:function(b){if(this.settings.wrapper){b=b.add(b.parents(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.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.toHide=this.toHide.not(this.toShow);this.hideErrors();this.addWrapper(this.toShow).show()},validElements:function(){return this.currentElements.not(this.invalidElements())},invalidElements:function(){return a(this.errorList).map(function(){return this.element})},showLabel:function(c,d){var b=this.errorsFor(c);if(b.length){b.removeClass().addClass(this.settings.errorClass);b.attr("generated")&&b.html(d)}else{b=a("<"+this.settings.errorElement+"/>").attr({"for":this.idOrName(c),generated:true}).addClass(this.settings.errorClass).html(d||"");if(this.settings.wrapper){b=b.hide().show().wrap("<"+this.settings.wrapper+"/>").parent()}if(!this.labelContainer.append(b).length){this.settings.errorPlacement?this.settings.errorPlacement(b,a(c)):b.insertAfter(c)}}if(!d&&this.settings.success){b.text("");typeof this.settings.success=="string"?b.addClass(this.settings.success):this.settings.success(b)}this.toShow=this.toShow.add(b)},errorsFor:function(b){return this.errors().filter("[for='"+this.idOrName(b)+"']")},idOrName:function(b){return this.groups[b.name]||(this.checkable(b)?b.name:b.id||b.name)},checkable:function(b){return/radio|checkbox/i.test(b.type)},findByName:function(b){var c=this.currentForm;return a(document.getElementsByName(b)).map(function(d,e){return e.form==c&&e.name==b&&e||null})},getLength:function(c,b){switch(b.nodeName.toLowerCase()){case"select":return a("option:selected",b).length;case"input":if(this.checkable(b)){return this.findByName(b.name).filter(":checked").length}}return c.length},depend:function(c,b){return this.dependTypes[typeof c]?this.dependTypes[typeof c](c,b):true},dependTypes:{"boolean":function(c,b){return c},string:function(c,b){return !!a(c,b.form).length},"function":function(c,b){return c(b)}},optional:function(b){return !a.validator.methods.required.call(this,a.trim(b.value),b)&&"dependency-mismatch"},startRequest:function(b){if(!this.pending[b.name]){this.pendingRequest++;this.pending[b.name]=true}},stopRequest:function(b,c){this.pendingRequest--;if(this.pendingRequest<0){this.pendingRequest=0}delete this.pending[b.name];if(c&&this.pendingRequest==0&&this.formSubmitted&&this.form()){a(this.currentForm).submit()}else{if(!c&&this.pendingRequest==0&&this.formSubmitted){a(this.currentForm).triggerHandler("invalid-form",[this])}}},previousValue:function(b){return a.data(b,"previousValue")||a.data(b,"previousValue",previous={old:null,valid:true,message:this.defaultMessage(b,"remote")})}},classRuleSettings:{required:{required:true},email:{email:true},url:{url:true},date:{date:true},dateISO:{dateISO:true},dateDE:{dateDE:true},number:{number:true},numberDE:{numberDE:true},digits:{digits:true},creditcard:{creditcard:true}},addClassRules:function(b,c){b.constructor==String?this.classRuleSettings[b]=c:a.extend(this.classRuleSettings,b)},classRules:function(c){var d={};var b=a(c).attr("class");b&&a.each(b.split(" "),function(){if(this in a.validator.classRuleSettings){a.extend(d,a.validator.classRuleSettings[this])}});return d},attributeRules:function(c){var e={};var b=a(c);for(method in a.validator.methods){var d=b.attr(method);if(d){e[method]=d}}if(e.maxlength&&/-1|2147483647|524288/.test(e.maxlength)){delete e.maxlength}return e},metadataRules:function(b){if(!a.metadata){return{}}var c=a.data(b.form,"validator").settings.meta;return c?a(b).metadata()[c]:a(b).metadata()},staticRules:function(c){var d={};var b=a.data(c.form,"validator");if(b.settings.rules){d=a.validator.normalizeRule(b.settings.rules[c.name])||{}}return d},normalizeRules:function(c,b){a.each(c,function(f,e){if(e===false){delete c[f];return}if(e.param||e.depends){var d=true;switch(typeof e.depends){case"string":d=!!a(e.depends,b.form).length;break;case"function":d=e.depends.call(b,b);break}if(d){c[f]=e.param!==undefined?e.param:true}else{delete c[f]}}});a.each(c,function(d,e){c[d]=a.isFunction(e)?e(b):e});a.each(["minlength","maxlength","min","max"],function(){if(c[this]){c[this]=Number(c[this])}});a.each(["rangelength","range"],function(){if(c[this]){c[this]=[Number(c[this][0]),Number(c[this][1])]}});if(a.validator.autoCreateRanges){if(c.min&&c.max){c.range=[c.min,c.max];delete c.min;delete c.max}if(c.minlength&&c.maxlength){c.rangelength=[c.minlength,c.maxlength];delete c.minlength;delete c.maxlength}}if(c.messages){delete c.messages}return c},normalizeRule:function(c){if(typeof c=="string"){var b={};a.each(c.split(/\s/),function(){b[this]=true});c=b}return c},addMethod:function(b,d,c){a.validator.methods[b]=d;a.validator.messages[b]=c;if(d.length<3){a.validator.addClassRules(b,a.validator.normalizeRule(b))}},methods:{required:function(d,c,e){if(!this.depend(e,c)){return"dependency-mismatch"}switch(c.nodeName.toLowerCase()){case"select":var b=a("option:selected",c);return b.length>0&&(c.type=="select-multiple"||(a.browser.msie&&!(b[0].attributes.value.specified)?b[0].text:b[0].value).length>0);case"input":if(this.checkable(c)){return this.getLength(d,c)>0}default:return a.trim(d).length>0}},remote:function(f,c,g){if(this.optional(c)){return"dependency-mismatch"}var d=this.previousValue(c);if(!this.settings.messages[c.name]){this.settings.messages[c.name]={}}this.settings.messages[c.name].remote=typeof d.message=="function"?d.message(f):d.message;g=typeof g=="string"&&{url:g}||g;if(d.old!==f){d.old=f;var b=this;this.startRequest(c);var e={};e[c.name]=f;a.ajax(a.extend(true,{url:g,mode:"abort",port:"validate"+c.name,dataType:"json",data:e,success:function(j){if(j){var h=b.formSubmitted;b.prepareElement(c);b.formSubmitted=h;b.successList.push(c);b.showErrors()}else{var k={};k[c.name]=j||b.defaultMessage(c,"remote");b.showErrors(k)}d.valid=j;b.stopRequest(c,j)}},g));return"pending"}else{if(this.pending[c.name]){return"pending"}}return d.valid},minlength:function(c,b,d){return this.optional(b)||this.getLength(a.trim(c),b)>=d},maxlength:function(c,b,d){return this.optional(b)||this.getLength(a.trim(c),b)<=d},rangelength:function(d,b,e){var c=this.getLength(a.trim(d),b);return this.optional(b)||(c>=e[0]&&c<=e[1])},min:function(c,b,d){return this.optional(b)||c>=d},max:function(c,b,d){return this.optional(b)||c<=d},range:function(c,b,d){return this.optional(b)||(c>=d[0]&&c<=d[1])},email:function(c,b){return this.optional(b)||/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?$/i.test(c)},url:function(c,b){return this.optional(b)||/^(https?|ftp):\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i.test(c)},date:function(c,b){return this.optional(b)||!/Invalid|NaN/.test(new Date(c))},dateISO:function(c,b){return this.optional(b)||/^\d{4}[\/-]\d{1,2}[\/-]\d{1,2}$/.test(c)},dateDE:function(c,b){return this.optional(b)||/^\d\d?\.\d\d?\.\d\d\d?\d?$/.test(c)},number:function(c,b){return this.optional(b)||/^-?(?:\d+|\d{1,3}(?:,\d{3})+)(?:\.\d+)?$/.test(c)},numberDE:function(c,b){return this.optional(b)||/^-?(?:\d+|\d{1,3}(?:\.\d{3})+)(?:,\d+)?$/.test(c)},digits:function(c,b){return this.optional(b)||/^\d+$/.test(c)},creditcard:function(f,c){if(this.optional(c)){return"dependency-mismatch"}if(/[^0-9-]+/.test(f)){return false}var g=0,e=0,b=false;f=f.replace(/\D/g,"");for(n=f.length-1;n>=0;n--){var d=f.charAt(n);var e=parseInt(d,10);if(b){if((e*=2)>9){e-=9}}g+=e;b=!b}return(g%10)==0},accept:function(c,b,d){d=typeof d=="string"?d:"png|jpe?g|gif";return this.optional(b)||c.match(new RegExp(".("+d+")$","i"))},equalTo:function(c,b,d){return c==a(d).val()}}})})(jQuery);(function(c){var b=c.ajax;var a={};c.ajax=function(e){e=c.extend(e,c.extend({},c.ajaxSettings,e));var d=e.port;if(e.mode=="abort"){if(a[d]){a[d].abort()}return(a[d]=b.apply(this,arguments))}return b.apply(this,arguments)}})(jQuery);(function(a){a.each({focus:"focusin",blur:"focusout"},function(c,b){a.event.special[b]={setup:function(){if(a.browser.msie){return false}this.addEventListener(c,a.event.special[b].handler,true)},teardown:function(){if(a.browser.msie){return false}this.removeEventListener(c,a.event.special[b].handler,true)},handler:function(d){arguments[0]=a.event.fix(d);arguments[0].type=b;return a.event.handle.apply(this,arguments)}}});a.extend(a.fn,{delegate:function(d,c,b){return this.bind(d,function(e){var f=a(e.target);if(f.is(c)){return b.apply(f,arguments)}})},triggerEvent:function(b,c){return this.triggerHandler(b,[a.event.fix({type:b,target:c})])}})})(jQuery);eval(function(h,b,l,f,g,j){g=function(a){return(a<b?"":g(parseInt(a/b)))+((a=a%b)>35?String.fromCharCode(a+29):a.toString(36))};if(!"".replace(/^/,String)){while(l--){j[g(l)]=f[l]||g(l)}f=[function(a){return j[a]}];g=function(){return"\\w+"};l=1}while(l--){if(f[l]){h=h.replace(new RegExp("\\b"+g(l)+"\\b","g"),f[l])}}return h}('(3(C){C.c=C.c||{};C.16(C.c,{1Y:{1c:3(F,G,I){7 H=C.c[F].18;1l(7 E 22 I){H.R[E]=H.R[E]||[];H.R[E].1W([G,I[E]])}},g:3(E,G,F){7 I=E.R[G];6(!I){4}1l(7 H=0;H<I.1S;H++){6(E.5[I[H][0]]){I[H][1].e(E.8,F)}}}},r:{},h:3(E){6(C.c.r[E]){4 C.c.r[E]}7 F=C(\'<1N 23="c-2c-2e">\').2f(E).h({27:"29",o:"-1d",S:"-1d",1x:"1s"}).1T("1r");C.c.r[E]=!!((!(/1w|1y/).l(F.h("1v"))||(/^[1-9]/).l(F.h("1z"))||(/^[1-9]/).l(F.h("1I"))||!(/1i/).l(F.h("1A"))||!(/1K|1L\\(0, 0, 0, 0\\)/).l(F.h("1D"))));1F{C("1r").19(0).1J(F.19(0))}1E(G){}4 C.c.r[E]},1B:3(E){E.j="1p";E.1g=3(){4 b};6(E.z){E.z.1h="1i"}},1G:3(E){E.j="1H";E.1g=3(){4 i};6(E.z){E.z.1h=""}},1M:3(H,F){7 E=/o/.l(F||"o")?"1t":"1u",G=b;6(H[E]>0){4 i}H[E]=1;G=H[E]>0?i:b;H[E]=0;4 G}});7 B=C.13.T;C.13.T=3(){C("*",2).1c(2).1m("T");4 B.e(2,n)};3 A(F,G,H){7 E=C[F][G].1C||[];E=(1e E=="1f"?E.15(/,?\\s+/):E);4(C.1j(H,E)!=-1)}7 D={17:3(){},W:3(){},U:3(F,E){4 2.5[E]},u:3(G,E,F){2.5[E]=F},2h:3(){2.u(1b,"1a",b)},28:3(){2.u(1b,"1a",i)}};C.1q=3(F,E){7 G=F.15(".")[0];F=F.15(".")[1];C.13[F]=3(K,L){7 I=(1e K=="1f"),J=n;6(I&&A(G,F,K)){7 H=C.X(2[0],F);4(H?H[K](L):26)}4 2.24(3(){7 M=C.X(2,F);6(!M){C.X(2,F,25 C[G][F](2,K))}12{6(I){M[K].e(M,C.2a(J).2b(1))}}})};C[G][F]=3(J,I){7 H=2;2.5=C.16({},C[G][F].2g,I);2.8=C(J).d("u."+F,3(M,K,L){4 H.u(M,K,L)}).d("U."+F,3(L,K){4 H.U(L,K)}).d("T",3(){4 H.W()});2.17()};C[G][F].18=C.16({},D,E)};C.1q("c.a",{17:3(){7 E=2;2.8.d("1R.a",3(){4 E.O.e(E,n)}).d("N.a",3(){(E.q&&1o(E.q))}).d("O.a",3(){6(E.f){E.f=b;4 b}});6(C.14.Z){2.j=2.8.V("j");2.8.V("j","1p")}},W:3(){2.8.p(".a").1Q("a");(C.14.Z&&2.8.V("j",2.j))},1m:3(){4 2.O.e(2,n)},O:3(G){6(G.1O!=1||C.1j(G.1P.1U.1V(),2.5.20||[])!=-1||(2.5.1k&&!2.5.1k.e(2.5.k||2,[G,2.8]))){4 i}7 F=2;2.f=b;7 E=3(){F.v={S:G.10,o:G.11};C(w).d("N.a",3(){4 F.t.e(F,n)});C(w).d("Y.a",3(){4 F.m.e(F,n)});6(!F.21&&P.Q(F.v.S-G.10)>=F.5.x||P.Q(F.v.o-G.11)>=F.5.x){(F.5.y&&F.5.y.g(F.5.k||F,G,F.8));(F.5.m&&F.5.m.g(F.5.k||F,G,2.8));F.f=i}};6(2.5.1n){6(2.q){1o(2.q)}2.q=1Z(E,2.5.1n)}12{E()}4 b},t:3(E){6(!2.f){4 C(w).p("N.a").p("Y.a")}(2.5.t&&2.5.t.g(2.5.k||2,E,2.8));C(w).p("N.a").p("Y.a");4 b},m:3(E){7 F=2.5;6(C.14.Z&&!E.1X){4 2.t.g(2,E)}6(!2.f&&(P.Q(2.v.S-E.10)>=F.x||P.Q(2.v.o-E.11)>=F.x)){(F.y&&F.y.g(F.k||2,E,2.8));2.f=i}12{6(!2.f){4 b}}(F.m&&F.m.g(2.5.k||2,E,2.8));4 b}})})(2d);',62,142,"||this|function|return|options|if|var|element||mouse|false|ui|bind|apply|initialized|call|css|true|unselectable|executor|test|drag|arguments|top|unbind|timer|cssCache||stop|setData|_MP|document|distance|start|style||||||||||||||mouseup|click|Math|abs|plugins|left|remove|getData|attr|destroy|data|mousemove|msie|pageX|pageY|else|fn|browser|split|extend|init|prototype|get|disabled|null|add|5000px|typeof|string|onselectstart|MozUserSelect|none|inArray|condition|for|trigger|delay|clearInterval|on|widget|body|block|scrollTop|scrollLeft|cursor|auto|display|default|height|backgroundImage|disableSelection|getter|backgroundColor|catch|try|enableSelection|off|width|removeChild|transparent|rgba|hasScroll|div|which|target|removeData|mousedown|length|appendTo|nodeName|toLowerCase|push|button|plugin|setTimeout|dragPrevention|initalized|in|class|each|new|undefined|position|disable|absolute|makeArray|slice|resizable|jQuery|gen|addClass|defaults|enable".split("|"),0,{}));eval(function(h,b,l,f,g,j){g=function(a){return(a<b?"":g(parseInt(a/b)))+((a=a%b)>35?String.fromCharCode(a+29):a.toString(36))};if(!"".replace(/^/,String)){while(l--){j[g(l)]=f[l]||g(l)}f=[function(a){return j[a]}];g=function(){return"\\w+"};l=1}while(l--){if(f[l]){h=h.replace(new RegExp("\\b"+g(l)+"\\b","g"),f[l])}}return h}('(3(C){C.b=C.b||{};C.1B(C.b,{3n:{1b:3(F,G,I){6 H=C.b[F].2p;25(6 E 3e I){H.1V[E]=H.1V[E]||[];H.1V[E].2q([G,I[E]])}},1e:3(E,G,F){6 I=E.1V[G];5(!I){7}25(6 H=0;H<I.o;H++){5(E.8[I[H][0]]){I[H][1].Y(E.c,F)}}}},1w:{},t:3(E){5(C.b.1w[E]){7 C.b.1w[E]}6 F=C(\'<2h 3a="b-3g-3h">\').j(E).t({2R:"36",1o:"-2B",1Q:"-2B",1v:"1M"}).20("2s");C.b.1w[E]=!!((!(/35|2W/).16(F.t("31"))||(/^[1-9]/).16(F.t("2H"))||(/^[1-9]/).16(F.t("2E"))||!(/2J/).16(F.t("34"))||!(/33|2S\\(0, 0, 0, 0\\)/).16(F.t("2T"))));3k{C("2s").2I(0).3m(F.2I(0))}3f(G){}7 C.b.1w[E]},3o:3(E){E.1a="2K";E.2L=3(){7 d};5(E.1l){E.1l.2O="2J"}},3l:3(E){E.1a="3i";E.2L=3(){7 u};5(E.1l){E.1l.2O=""}},30:3(H,F){6 E=/1o/.16(F||"1o")?"2Z":"2X",G=d;5(H[E]>0){7 u}H[E]=1;G=H[E]>0?u:d;H[E]=0;7 G}});6 B=C.21.W;C.21.W=3(){C("*",2).1b(2).2e("W");7 B.Y(2,1i)};3 A(F,G,H){6 E=C[F][G].2C||[];E=(2g E=="2f"?E.1Z(/,?\\s+/):E);7(C.1W(H,E)!=-1)}6 D={1E:3(){},13:3(){},1O:3(F,E){7 2.8[E]},1h:3(G,E,F){2.8[E]=F},2o:3(){2.1h(X,"i",d)},2d:3(){2.1h(X,"i",u)}};C.2a=3(F,E){6 G=F.1Z(".")[0];F=F.1Z(".")[1];C.21[F]=3(K,L){6 I=(2g K=="2f"),J=1i;5(I&&A(G,F,K)){6 H=C.f(2[0],F);7(H?H[K](L):2l)}7 2.12(3(){6 M=C.f(2,F);5(!M){C.f(2,F,2V C[G][F](2,K))}k{5(I){M[K].Y(M,C.2Q(J).2U(1))}}})};C[G][F]=3(J,I){6 H=2;2.8=C.1B({},C[G][F].2r,I);2.c=C(J).n("1h."+F,3(M,K,L){7 H.1h(M,K,L)}).n("1O."+F,3(L,K){7 H.1O(L,K)}).n("W",3(){7 H.13()});2.1E()};C[G][F].2p=C.1B({},D,E)};C.2a("b.r",{1E:3(){6 E=2;2.c.n("32.r",3(){7 E.1d.Y(E,1i)}).n("1X.r",3(){(E.1s&&2i(E.1s))}).n("1d.r",3(){5(E.18){E.18=d;7 d}});5(C.y.Z){2.1a=2.c.z("1a");2.c.z("1a","2K")}},13:3(){2.c.x(".r").1k("r");(C.y.Z&&2.c.z("1a",2.1a))},2e:3(){7 2.1d.Y(2,1i)},1d:3(G){5(G.39!=1||C.1W(G.38.3b.3d(),2.8.3p||[])!=-1||(2.8.2A&&!2.8.2A.Y(2.8.1q||2,[G,2.c]))){7 u}6 F=2;2.18=d;6 E=3(){F.1u={1Q:G.24,1o:G.26};C(1U).n("1X.r",3(){7 F.11.Y(F,1i)});C(1U).n("22.r",3(){7 F.1m.Y(F,1i)});5(!F.3c&&1L.1S(F.1u.1Q-G.24)>=F.8.1H||1L.1S(F.1u.1o-G.26)>=F.8.1H){(F.8.1G&&F.8.1G.1e(F.8.1q||F,G,F.c));(F.8.1m&&F.8.1m.1e(F.8.1q||F,G,2.c));F.18=u}};5(2.8.2y){5(2.1s){2i(2.1s)}2.1s=1D(E,2.8.2y)}k{E()}7 d},11:3(E){5(!2.18){7 C(1U).x("1X.r").x("22.r")}(2.8.11&&2.8.11.1e(2.8.1q||2,E,2.c));C(1U).x("1X.r").x("22.r");7 d},1m:3(E){6 F=2.8;5(C.y.Z&&!E.3j){7 2.11.1e(2,E)}5(!2.18&&(1L.1S(2.1u.1Q-E.24)>=F.1H||1L.1S(2.1u.1o-E.26)>=F.1H)){(F.1G&&F.1G.1e(F.1q||2,E,2.c));2.18=u}k{5(!2.18){7 d}}(F.1m&&F.1m.1e(2.8.1q||2,E,2.c));7 d}})})(2c);(3(A){A.2a("b.4",{1E:3(){6 B=2;2.8.15+=".4";A(2.c).n("1h.4",3(D,C,E){5((/^h/).16(C)){B.1A(E)}k{B.8[C]=E;B.1t()}}).n("1O.4",3(D,C){7 B.8[C]});2.1t(u)},o:3(){7 2.$4.o},29:3(B){7 B.2D&&B.2D.1j(/\\s/g,"2v").1j(/[^A-2Y-37-9\\-2v:\\.]/g,"")||2.8.2z+A.f(B)},b:3(C,B){7{3Z:2,8:2.8,4b:C,2F:B}},1t:3(N){2.$m=A("1T:46(a[p])",2.c);2.$4=2.$m.1K(3(){7 A("a",2)[0]});2.$e=A([]);6 O=2,D=2.8;2.$4.12(3(Q,P){5(P.U&&P.U.1j("#","")){O.$e=O.$e.1b(P.U)}k{5(A(P).z("p")!="#"){A.f(P,"p.4",P.p);A.f(P,"q.4",P.p);6 S=O.29(P);P.p="#"+S;6 R=A("#"+S);5(!R.o){R=A(D.2n).z("1y",S).j(D.1n).3U(O.$e[Q-1]||O.c);R.f("13.4",u)}O.$e=O.$e.1b(R)}k{D.i.2q(Q+1)}}});5(N){A(2.c).V(D.1C)||A(2.c).j(D.1C);2.$e.12(3(){6 P=A(2);P.V(D.1n)||P.j(D.1n)});2.$4.12(3(S,P){5(2b.U){5(P.U==2b.U){D.h=S;5(A.y.Z||A.y.47){6 R=A(2b.U),T=R.z("1y");R.z("1y","");1D(3(){R.z("1y",T)},45)}44(0,0);7 d}}k{5(D.1f){6 Q=40(A.1f("b-4"+A.f(O.c)),10);5(Q&&O.$4[Q]){D.h=Q;7 d}}k{5(O.$m.v(S).V(D.l)){D.h=S;7 d}}}});2.$e.j(D.17);2.$m.w(D.l);5(D.h!==X){2.$e.v(D.h).28().w(D.17);2.$m.v(D.h).j(D.l);6 J=3(){A(O.c).19("2u",[O.b(O.$4[D.h],O.$e[D.h])],D.28)};5(A.f(2.$4[D.h],"q.4")){2.q(D.h,J)}k{J()}}D.i=A.41(D.i.3Y(A.1K(2.$m.1g("."+D.1c),3(Q,P){7 O.$m.1x(Q)}))).2M();A(3X).n("3T",3(){O.$4.x(".4");O.$m=O.$4=O.$e=X})}25(6 G=0,M;M=2.$m[G];G++){A(M)[A.1W(G,D.i)!=-1&&!A(M).V(D.l)?"j":"w"](D.1c)}5(D.14===d){2.$4.1k("14.4")}6 C,I,B={"3V-2E":0,23:1},E="3W";5(D.1p&&D.1p.42==43){C=D.1p[0]||B,I=D.1p[1]||B}k{C=I=D.1p||B}6 H={1v:"",4a:"",2H:""};5(!A.y.Z){H.27=""}3 L(Q,P,R){P.2x(C,C.23||E,3(){P.j(D.17).t(H);5(A.y.Z&&C.27){P[0].1l.1g=""}5(R){K(Q,R,P)}})}3 K(Q,R,P){5(I===B){R.t("1v","1M")}R.2x(I,I.23||E,3(){R.w(D.17).t(H);5(A.y.Z&&I.27){R[0].1l.1g=""}A(O.c).19("2u",[O.b(Q,R[0])],D.28)})}3 F(Q,S,P,R){S.j(D.l).4c().w(D.l);L(Q,P,R)}2.$4.x(".4").n(D.15,3(){6 S=A(2).4d("1T:v(0)"),P=O.$e.1g(":49"),R=A(2.U);5((S.V(D.l)&&!D.1I)||S.V(D.1c)||A(2).V(D.1z)||A(O.c).19("48",[O.b(2,R[0])],D.1A)===d){2.1F();7 d}O.8.h=O.$4.1x(2);5(D.1I){5(S.V(D.l)){O.8.h=X;S.w(D.l);O.$e.11();L(2,P);2.1F();7 d}k{5(!P.o){O.$e.11();6 Q=2;O.q(O.$4.1x(2),3(){S.j(D.l).j(D.2m);K(Q,R)});2.1F();7 d}}}5(D.1f){A.1f("b-4"+A.f(O.c),O.8.h,D.1f)}O.$e.11();5(R.o){6 Q=2;O.q(O.$4.1x(2),P.o?3(){F(Q,S,P,R)}:3(){S.j(D.l);K(Q,R)})}k{3R"2c 3z 3y: 3A 3B 3C."}5(A.y.Z){2.1F()}7 d});5(!(/^1d/).16(D.15)){2.$4.n("1d.4",3(){7 d})}},1b:3(E,D,C){5(C==2l){C=2.$4.o}6 G=2.8;6 I=A(G.2G.1j(/#\\{p\\}/,E).1j(/#\\{1r\\}/,D));I.f("13.4",u);6 H=E.3S("#")==0?E.1j("#",""):2.29(A("a:3x-3q",I)[0]);6 F=A("#"+H);5(!F.o){F=A(G.2n).z("1y",H).j(G.1n).j(G.17);F.f("13.4",u)}5(C>=2.$m.o){I.20(2.c);F.20(2.c[0].3w)}k{I.2N(2.$m[C]);F.2N(2.$e[C])}G.i=A.1K(G.i,3(K,J){7 K>=C?++K:K});2.1t();5(2.$4.o==1){I.j(G.l);F.w(G.17);6 B=A.f(2.$4[0],"q.4");5(B){2.q(C,B)}}A(2.c).19("3s",[2.b(2.$4[C],2.$e[C])],G.1b)},W:3(B){6 D=2.8,E=2.$m.v(B).W(),C=2.$e.v(B).W();5(E.V(D.l)&&2.$4.o>1){2.1A(B+(B+1<2.$4.o?1:-1))}D.i=A.1K(A.2t(D.i,3(G,F){7 G!=B}),3(G,F){7 G>=B?--G:G});2.1t();A(2.c).19("3r",[2.b(E.3t("a")[0],C[0])],D.W)},2o:3(B){6 C=2.8;5(A.1W(B,C.i)==-1){7}6 D=2.$m.v(B).w(C.1c);5(A.y.3u){D.t("1v","3v-1M");1D(3(){D.t("1v","1M")},0)}C.i=A.2t(C.i,3(F,E){7 F!=B});A(2.c).19("3D",[2.b(2.$4[B],2.$e[B])],C.2o)},2d:3(C){6 B=2,D=2.8;5(C!=D.h){2.$m.v(C).j(D.1c);D.i.2q(C);D.i.2M();A(2.c).19("3E",[2.b(2.$4[C],2.$e[C])],D.2d)}},1A:3(B){5(2g B=="2f"){B=2.$4.1x(2.$4.1g("[p$="+B+"]")[0])}2.$4.v(B).2e(2.8.15)},q:3(F,K){6 L=2,C=2.8,D=2.$4.v(F),J=D[0],G=K==2l||K===d,B=D.f("q.4");K=K||3(){};5(!B||(A.f(J,"14.4")&&!G)){K();7}5(C.1N){6 H=A("1Y",J);H.f("1r.4",H.1J()).1J("<2P>"+C.1N+"</2P>")}6 I=3(){L.$4.1g("."+C.1z).12(3(){A(2).w(C.1z);5(C.1N){6 M=A("1Y",2);M.1J(M.f("1r.4")).1k("1r.4")}});L.1R=X};6 E=A.1B({},C.1P,{2w:B,2k:3(N,M){A(J.U).1J(N);I();5(C.14){A.f(J,"14.4",u)}A(L.c).19("3N",[L.b(L.$4[F],L.$e[F])],C.q);C.1P.2k&&C.1P.2k(N,M);K()}});5(2.1R){2.1R.3M();I()}D.j(C.1z);1D(3(){L.1R=A.3O(E)},0)},2w:3(C,B){2.$4.v(C).1k("14.4").f("q.4",B)},13:3(){6 B=2.8;A(2.c).x(".4").w(B.1C).1k("4");2.$4.12(3(){6 C=A.f(2,"p.4");5(C){2.p=C}6 D=A(2).x(".4");A.12(["p","q","14"],3(E,F){D.1k(F+".4")})});2.$m.1b(2.$e).12(3(){5(A.f(2,"13.4")){A(2).W()}k{A(2).w([B.l,B.2m,B.1c,B.1n,B.17].3P(" "))}})}});A.b.4.2r={h:0,1I:d,15:"1d",i:[],1f:X,1N:"3Q&#3L;",14:d,2z:"b-4-",1P:{},1p:X,2G:\'<1T><a p="#{p}"><1Y>#{1r}</1Y></a></1T>\',2n:"<2h></2h>",1C:"b-4-3K",l:"b-4-h",2m:"b-4-1I",1c:"b-4-i",1n:"b-4-2F",17:"b-4-3G",1z:"b-4-3F"};A.b.4.2C="o";A.1B(A.b.4.2p,{2j:X,3H:3(C,F){F=F||d;6 B=2,E=2.8.h;3 G(){B.2j=3I(3(){E=++E<B.$4.o?E:0;B.1A(E)},C)}3 D(H){5(!H||H.3J){2i(B.2j)}}5(C){G();5(!F){2.$4.n(2.8.15,D)}k{2.$4.n(2.8.15,3(){D();E=B.8.h;G()})}}k{D();2.$4.x(2.8.15,D)}}})})(2c);',62,262,"||this|function|tabs|if|var|return|options|||ui|element|false|panels|data||selected|disabled|addClass|else|selectedClass|lis|bind|length|href|load|mouse||css|true|eq|removeClass|unbind|browser|attr|||||||||||||||||||||hash|hasClass|remove|null|apply|msie||stop|each|destroy|cache|event|test|hideClass|initialized|triggerHandler|unselectable|add|disabledClass|click|call|cookie|filter|setData|arguments|replace|removeData|style|drag|panelClass|top|fx|executor|label|timer|tabify|_MP|display|cssCache|index|id|loadingClass|select|extend|navClass|setTimeout|init|blur|start|distance|unselect|html|map|Math|block|spinner|getData|ajaxOptions|left|xhr|abs|li|document|plugins|inArray|mouseup|span|split|appendTo|fn|mousemove|duration|pageX|for|pageY|opacity|show|tabId|widget|location|jQuery|disable|trigger|string|typeof|div|clearInterval|rotation|success|undefined|unselectClass|panelTemplate|enable|prototype|push|defaults|body|grep|tabsshow|_|url|animate|delay|idPrefix|condition|5000px|getter|title|width|panel|tabTemplate|height|get|none|on|onselectstart|sort|insertBefore|MozUserSelect|em|makeArray|position|rgba|backgroundColor|slice|new|default|scrollLeft|Za|scrollTop|hasScroll|cursor|mousedown|transparent|backgroundImage|auto|absolute|z0|target|which|class|nodeName|initalized|toLowerCase|in|catch|resizable|gen|off|button|try|enableSelection|removeChild|plugin|disableSelection|dragPrevention|child|tabsremove|tabsadd|find|safari|inline|parentNode|first|Tabs|UI|Mismatching|fragment|identifier|tabsenable|tabsdisable|loading|hide|rotate|setInterval|clientX|nav|8230|abort|tabsload|ajax|join|Loading|throw|indexOf|unload|insertAfter|min|normal|window|concat|instance|parseInt|unique|constructor|Array|scrollTo|500|has|opera|tabsselect|visible|overflow|tab|siblings|parents".split("|"),0,{}));if(polopoly){throw ("Initialized twice")}var polopoly={};polopoly.service={};polopoly.user={init:function(){this.data=this._initCookie("cata");this.sessionData=this._initCookie("data")},_initCookie:function(c){var a=polopoly.cookie.get(c);if(!a){return}var d=polopoly.base64.stringDecode(a);if(!d){return}try{var b=polopoly.json.parse(d)}catch(f){return}return b},getServiceSettings:function(b,a){if(!this.data||!this.data[b]){return}return this.data[b][a]},setServiceSettings:function(c,a,b){if(!this.data){this.data={}}if(!this.data[c]){this.data[c]={}}this.data[c][a]=b;this._persistDataInCookie()},getSessionServiceSettings:function(b,a){if(!this.sessionData||!this.sessionData[b]){return}return this.sessionData[b][a]},setSessionServiceSettings:function(c,a,b){if(!this.sessionData){this.sessionData={}}if(!this.sessionData[c]){this.sessionData[c]={}}this.sessionData[c][a]=b;this._persistSessionDataInCookie()},_persistDataInCookie:function(){var a=polopoly.json.stringify(this.data);var b=polopoly.base64.stringEncode(a);polopoly.cookie.set("cata",b)},_persistSessionDataInCookie:function(){var a=polopoly.json.stringify(this.sessionData);var b=polopoly.base64.stringEncode(a);polopoly.cookie.setForSession("data",b)},isLoggedIn:function(){return polopoly.cookie.get("sessionKey")!=null&&polopoly.cookie.get("loginName")!=null&&polopoly.cookie.get("userId")!=null},name:function(){return polopoly.base64.stringDecode(polopoly.cookie.get("loginName"))},screenName:function(){return polopoly.base64.stringDecode(polopoly.cookie.get("screenName"))},popMessageCookie:function(a){var f=polopoly.cookie.get(a);var b=polopoly.base64.stringDecode(f);if(b.length){var c;try{c=polopoly.json.parse(b)}catch(d){}polopoly.cookie.clear(a);return c}},refreshUserData:function(b,a){jQuery.ajax({cache:false,error:b,success:a,timeout:3000,type:"GET",url:"/membership/refresh"})}};polopoly.cookie={clear:function(a){document.cookie=a+"= ; expires=01 Jan 1970 00:00:00 UTC; path=/"},set:function(a,b){document.cookie=a+"="+b+"; expires=01 Jan 2038 00:00:00 UTC; path=/"},setForSession:function(a,b){document.cookie=a+"="+b+"; expires=-1; path=/"},get:function(a){return polopoly.util.stringAsHashValue(a,document.cookie,";")}};polopoly.comments={get:function(b,d,a,c){jQuery.get(b,{comments:d,ajax:"true",ot:"example.AjaxPageLayout.ot"},function(e){jQuery(a).html(e);if(c){c(a)}},"html")},getWithCommentId:function(b,d,a,e,c){jQuery.get(b,{comments:d,ajax:"true",ot:"example.AjaxPageLayout.ot",cid:e},function(f){jQuery(a).html(f);if(c){c(a)}},"html")}};polopoly.json={_cx:/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,_escapable:/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,_gap:null,_indent:null,_meta:{"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},_rep:null,_f:function(a){return a<10?"0"+a:a},init:function(){if(typeof Date.prototype.toJSON!=="function"){Date.prototype.toJSON=function(a){return this.getUTCFullYear()+"-"+this._f(this.getUTCMonth()+1)+"-"+this._f(this.getUTCDate())+"T"+this._f(this.getUTCHours())+":"+this._f(this.getUTCMinutes())+":"+this._f(this.getUTCSeconds())+"Z"};String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(a){return this.valueOf()}}},_quote:function(a){this._escapable.lastIndex=0;return this._escapable.test(a)?'"'+a.replace(this._escapable,function(b){var d=this._meta[b];return typeof d==="string"?d:"\\u"+("0000"+b.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+a+'"'},_str:function(h,e){var c,b,j,a,f=this._gap,d,g=e[h];if(g&&typeof g==="object"&&typeof g.toJSON==="function"){g=g.toJSON(h)}if(typeof this._rep==="function"){g=this._rep.call(e,h,g)}switch(typeof g){case"string":return this._quote(g);case"number":return isFinite(g)?String(g):"null";case"boolean":case"null":return String(g);case"object":if(!g){return"null"}this._gap+=this._indent;d=[];if(Object.prototype.toString.apply(g)==="[object Array]"){a=g.length;for(c=0;c<a;c+=1){d[c]=this._str(c,g)||"null"}j=d.length===0?"[]":this._gap?"[\n"+this._gap+d.join(",\n"+this._gap)+"\n"+f+"]":"["+d.join(",")+"]";this._gap=f;return j}if(this._rep&&typeof this._rep==="object"){a=this._rep.length;for(c=0;c<a;c+=1){b=this._rep[c];if(typeof b==="string"){j=this._str(b,g);if(j){d.push(this._quote(b)+(this._gap?": ":":")+j)}}}}else{for(b in g){if(Object.hasOwnProperty.call(g,b)){j=this._str(b,g);if(j){d.push(this._quote(b)+(this._gap?": ":":")+j)}}}}j=d.length===0?"{}":this._gap?"{\n"+this._gap+d.join(",\n"+this._gap)+"\n"+f+"}":"{"+d.join(",")+"}";this._gap=f;return j}},stringify:function(d,b,c){var a;this._gap="";this._indent="";if(typeof c==="number"){for(a=0;a<c;a+=1){this._indent+=" "}}else{if(typeof c==="string"){this._indent=c}}this._rep=b;if(b&&typeof b!=="function"&&(typeof b!=="object"||typeof b.length!=="number")){throw new Error("JSON.stringify")}return this._str("",{"":d})},parse:function(text,reviver){var j;function walk(holder,key){var k,v,value=holder[key];if(value&&typeof value==="object"){for(k in value){if(Object.hasOwnProperty.call(value,k)){v=walk(value,k);if(v!==undefined){value[k]=v}else{delete value[k]}}}}return reviver.call(holder,key,value)}this._cx.lastIndex=0;if(this._cx.test(text)){text=text.replace(this._cx,function(a){return"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})}if(/^[\],:{}\s]*$/.test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,""))){j=eval("("+text+")");return typeof reviver==="function"?walk({"":j},""):j}throw new SyntaxError("JSON.parse")}};polopoly.util={querystringValue:function(a){return this.stringAsHashValue(a,location.search.substr(1),"&")},stringAsHashValue:function(e,c,b){if(c&&c!=""){var a=c.split(b);for(var d=0;d<a.length;d++){var f=jQuery.trim(a[d]);if(f.substring(0,e.length+1)==(e+"=")){return decodeURIComponent(f.substring(e.length+1))}}}}};polopoly.base64={_keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",stringDecode:function(a){return this._utf8_decode(this.decode(a))},decode:function(d){try{if(d.length==0){return""}}catch(c){return""}d=d.replace(/[^A-Za-z0-9\+\/\=]/g,"");d=this._padIfNecessary(d);var a="";var m,k,h;var l,j,g,f;var b=0;do{l=this._keyStr.indexOf(d.charAt(b++)||"=");j=this._keyStr.indexOf(d.charAt(b++)||"=");g=this._keyStr.indexOf(d.charAt(b++)||"=");f=this._keyStr.indexOf(d.charAt(b++)||"=");m=(l<<2)|(j>>4);k=((j&15)<<4)|(g>>2);h=((g&3)<<6)|f;a=a+String.fromCharCode(m);if(g!=64){a=a+String.fromCharCode(k)}if(f!=64){a=a+String.fromCharCode(h)}}while(b<d.length);return a},_padIfNecessary:function(a){if((a.length%4)==0){return a}var c=(4-(a.length%4));for(var b=0;b<c;b++){a+="="}return a},stringEncode:function(a){return this.encode(this._utf8_encode(a))},encode:function(c){var a="";var k,h,f,j,g,e,d;var b=0;while(b<c.length){k=c.charCodeAt(b++);h=c.charCodeAt(b++);f=c.charCodeAt(b++);j=k>>2;g=((k&3)<<4)|(h>>4);e=((h&15)<<2)|(f>>6);d=f&63;if(isNaN(h)){e=d=64}else{if(isNaN(f)){d=64}}a=a+this._keyStr.charAt(j)+this._keyStr.charAt(g)+this._keyStr.charAt(e)+this._keyStr.charAt(d)}return a},_utf8_encode:function(b){b=b.replace(/\r\n/g,"\n");var a="";for(var e=0;e<b.length;e++){var d=b.charCodeAt(e);if(d<128){a+=String.fromCharCode(d)}else{if((d>127)&&(d<2048)){a+=String.fromCharCode((d>>6)|192);a+=String.fromCharCode((d&63)|128)}else{a+=String.fromCharCode((d>>12)|224);a+=String.fromCharCode(((d>>6)&63)|128);a+=String.fromCharCode((d&63)|128)}}}return a},_utf8_decode:function(a){var b="";var d=0;var e=c1=c2=0;while(d<a.length){e=a.charCodeAt(d);if(e<128){b+=String.fromCharCode(e);d++}else{if((e>191)&&(e<224)){c2=a.charCodeAt(d+1);b+=String.fromCharCode(((e&31)<<6)|(c2&63));d+=2}else{c2=a.charCodeAt(d+1);c3=a.charCodeAt(d+2);b+=String.fromCharCode(((e&15)<<12)|((c2&63)<<6)|(c3&63));d+=3}}}return b}};polopoly.loginBox={_login:{auth:"authError",perm:"permError",down:"downError","default":"defaultError"},init:function(){document.__ppUseDefLogin=false;try{this.defLogin=p_l_i18n.defaultLoginName}catch(b){this.defLogin="E-mail"}defLogin=this.defLogin;window.setTimeout(this._tryAutoFill,500);jQuery(".clearable").focus(function(){b=jQuery(this);if(document.__ppUseDefLogin&&b.val()==defLogin){b.val("")}});jQuery(".clearable").blur(function(){b=jQuery(this);if(document.__ppUseDefLogin&&b.val()==""){b.val(defLogin)}});jQuery(".not-loggedin .submit").click(function(){var e=jQuery(this).parents(".not-loggedin");var f=e.find(".loginname");var d=e.find(".password");if(f.val()==defLogin&&d.val()==defLogin){f.val("");d.val("")}});jQuery(".clearable").blur();var a=polopoly.cookie.get("loginName");var c=polopoly.cookie.get("sessionKey");if(polopoly.user.isLoggedIn()){jQuery(".loggedin").show();jQuery(".loggedin .user-name").append(polopoly.user.name())}else{jQuery(".not-loggedin").show()}this._trySetError(".not-loggedin .form-error",polopoly.util.querystringValue("login_formerror"));if(polopoly.util.querystringValue("login_formerror")){jQuery("#loginForm").show()}},_trySetError:function(a,b){if(!b){return}if(typeof p_l_i18n==="defined"){var c=p_l_i18n[this._login[b]]||p_l_i18n[this._login["default"]]}jQuery(a).css("display","block").text(c)},_tryAutoFill:function(){if(jQuery(".loginname").val()==""&&jQuery(".password").val()==""){document.__ppUseDefLogin=true}}};polopoly.util.lrumap=function(b,a){if(b){myMap=b}else{myMap=[]}if(!a){a=10}return{map:myMap,size:a,get:function(e){var d=this._findId(e);if(d){var c=this.map[d][1];this._setLeader(d);return c}},rawMap:function(){return this.map},put:function(e,d){var c=this._findId(e);if(c){this.map[c]=[e,d]}else{this.map.unshift([e,d])}if(this.map.length>this.size){this.map.splice(this.size)}},remove:function(d){var c=this._findId(d);if(c){this.map.splice(c,1)}},_findId:function(c){for(key in this.map){if(this.map[key][0]==c){return key}}},_setLeader:function(d){var c=this.map[key];this.map.splice(key,1);this.map.unshift(c)}}};polopoly.newslist={create:function(g,a,b,f,e){var d=polopoly.newslist._getNameFromId(g,a);if(!polopoly.newslist.allListIds){polopoly.newslist.allListIds=[]}polopoly.newslist.allListIds[a]=b;if(!polopoly.newslist.defaultListIds){polopoly.newslist.defaultListIds=[]}polopoly.newslist.defaultListIds[a]=f;jQuery("#edit_"+d+" .button").click(function(){jQuery("#"+d+" .settings").slideToggle(100)});var c=this.getSelection(g,a,e);jQuery("#"+d+" :checkbox").removeAttr("checked");for(checked in c){checkedValue="#c"+a.replace(".","_")+"-"+c[checked].replace(".","_");jQuery("#"+d+" "+checkedValue).attr("checked","checked")}if(e&&polopoly.user.isLoggedIn()||!e){jQuery("#edit_"+d).show()}var h=jQuery("#"+d+" input.save");if(e){h.click(function(){polopoly.newslist.storeOnServer(g,a)})}else{h.click(function(){polopoly.newslist.storeInCookie(g,a)})}this.updateList(g,a,e)},getSelection:function(c,a,d){var b;if(d){b=polopoly.user.getSessionServiceSettings(c,a)}else{b=polopoly.user.getServiceSettings(c,a)}return b?b:polopoly.newslist.defaultListIds[a]},_storeInCookie:function(d,a,c){var e=jQuery("#"+c+" input:checkbox:checked");var b=[];jQuery.each(e,function(){b[b.length]=this.value});polopoly.user.setServiceSettings(d,a,b);this.updateList(d,a,false)},_storeInSessionCookie:function(d,a,c){var e=jQuery("#"+c+" input:checkbox:checked");var b=[];jQuery.each(e,function(){b[b.length]=this.value});polopoly.user.setSessionServiceSettings(d,a,b);this.updateList(d,a,true)},storeInCookie:function(c,a){var b=polopoly.newslist._getNameFromId(c,a);polopoly.newslist._storeInCookie(c,a,b);jQuery("#"+b+" .settings").hide(100)},storeOnServer:function(c,a){var b=polopoly.newslist._getNameFromId(c,a);jQuery("#error_"+b).hide();polopoly.newslist._storeInSessionCookie(c,a,b);jQuery.ajax({cache:false,data:{sdid:c,siid:a},error:function(e,f,d){jQuery("#error_"+b+"").show()},success:function(e,d){jQuery("#"+b+" .settings").hide(100)},timeout:2000,type:"POST",url:"/membership/persist"})},updateList:function(d,l,a){var b=polopoly.newslist._getNameFromId(d,l);var k=this.getSelection(d,l,a);if(k.length==0){jQuery("#"+b+" .lists").html("");return}var f=polopoly.newslist.allListIds[l];var c=[];for(var g=0;g<k.length;g++){if(polopoly.newslist._contains(f,k[g])){c.push(k[g])}}var e=[];var j=c.length;for(var g=0;g<c.length;g++){var h=c[g];jQuery.get("/cmlink/"+l,{topic:h,mode:"ajax"},function(m,o,p){return function(s){m[o]=s;var u=true;for(var q=0;q<p;q++){if(!m[q]){u=false}}if(u){var r="";for(var q=0;q<p;q++){r+=m[q]}jQuery("#"+b+" .lists").html(r)}}}(e,g,j),"html")}},_contains:function(c,b){if(!c){return false}for(var a=0;a<c.length;a++){if(c[a]==b){return true}}return false},_getNameFromId:function(b,a){return"newsList_"+a.replace(".","_")}};polopoly.passwordMeter={_pwStrength:["keine","schwach","mittel","stark","hervorragend"],create:function(d,e){var b="is"+Math.ceil(Math.random()*3000);jQuery(e).html("<div id='"+b+"' style='height: 100%;'></div>");var c=function a(g,f){return function(h){var k=jQuery(d).val();var j=g(k);jQuery("#"+b).html('<img src="/img/standard/reg-pwsave-'+j+'.png" title="'+f[j]+'"/>&nbsp;'+f[j])}}(this._testPassword,this._pwStrength);jQuery(d).keyup(c)},_testPassword:function(a){score=0;if(a.length<5){score+=3}else{if(a.length>4&&a.length<8){score+=6}else{if(a.length>7&&a.length<16){score+=12}else{if(a.length>15){score+=18}}}}if(a.match(/[a-z]/)){score+=1}if(a.match(/[A-Z]/)){score+=5}if(a.match(/\d+/)){score+=5}if(a.match(/(.*[0-9].*[0-9].*[0-9])/)){score+=5}if(a.match(/.[!,@,#,$,%,^,&,*,?,_,~]/)){score+=5}if(a.match(/(.*[!,@,#,$,%,^,&,*,?,_,~].*[!,@,#,$,%,^,&,*,?,_,~])/)){score+=5}if(a.match(/([a-z].*[A-Z])|([A-Z].*[a-z])/)){score+=2}if(a.match(/([a-zA-Z])/)&&a.match(/([0-9])/)){score+=2}if(a.match(/([a-zA-Z0-9].*[!,@,#,$,%,^,&,*,?,_,~])|([!,@,#,$,%,^,&,*,?,_,~].*[a-zA-Z0-9])/)){score+=2}if(score<5){return 0}else{if(score>=5&&score<15){return 1}else{if(score>=15&&score<30){return 2}else{if(score>=30&&score<35){return 3}else{return 4}}}}}};jQuery().ready(function(){return function(b){for(var a=0;a<b.length;a++){for(key in b[a]){var c=b[a][key];if(typeof(c.init)=="function"){c.init()}}}}([polopoly,polopoly.service])});polopoly.service.blog={init:function(){var c=jQuery("#blog");if(c&&polopoly.user.isLoggedIn()){var b=jQuery("#blogIdForm input[name='blogId']").val();var d=polopoly.user.getSessionServiceSettings("ubg","0");for(var a=0;d&&a<d.length;a++){if(b==d[a]){jQuery("#blog .requiresBlogOwner").css("display","block");return}}}},validateBlogForm:function(c){var a={rules:{blog_name:{required:true},blog_address:{required:true}},messages:{blog_name:{required:c["blog_name:required"]},blog_address:{required:c["blog_address:required"]}},submitHandler:function(d){jQuery("#submitBlogFormButton").css("background-color","#ccc");jQuery("#submitBlogFormButton").attr("disabled",true);d.submit()}};var b=jQuery("#createBlogForm").validate(a)}};function highlightStars(e){var d=findParent(e,"div");var b=d.getElementsByTagName("a");var a="star-sel";for(var c=0;c<b.length;c++){b[c].className=a;if(b[c]==e){a="star"}}}function resetStars(e){var d=findParent(e,"div");var b=d.getElementsByTagName("a");var a=d.getElementsByTagName("input");var f=0;if(a!=null){f=a[0].value}for(var c=0;c<b.length;c++){if(f>=c){b[c].className="star-sel"}else{b[c].className="star"}}}function setStars(f){var e=findParent(f,"div");var c=e.getElementsByTagName("a");var a=e.getElementsByTagName("input");var b;if(a!=null){b=a[0]}for(var d=0;d<c.length;d++){if(c[d]==f){b.value=d}}}function findParent(a,b){while(a&&(a.nodeType!=1||a.nodeName.toLowerCase()!=b)){a=a.parentNode}return a}function initStars(){for(var c=1;c<7;c++){var e=document.getElementById("bewService"+c);var b=e.getElementsByTagName("a");var a=e.getElementsByTagName("input");var f=0;if(a!=null){f=a[0].value}for(var d=0;d<b.length;d++){if(f>=d){b[d].className="star-sel"}else{b[d].className="star"}}}}var tooltip=function(){var d="tt";var r=3;var f=3;var q=300;var g=10;var e=20;var l=95;var j=0;var m,s,o,p,k;var a=document.all?true:false;return{show:function(c,b){if(m==null){m=document.createElement("div");m.setAttribute("id",d);s=document.createElement("div");s.setAttribute("id",d+"top");o=document.createElement("div");o.setAttribute("id",d+"cont");p=document.createElement("div");p.setAttribute("id",d+"bot");m.appendChild(s);m.appendChild(o);m.appendChild(p);document.body.appendChild(m);m.style.opacity=0;m.style.filter="alpha(opacity=0)";document.onmousemove=this.pos}m.style.display="block";o.innerHTML=c;m.style.width=b?b+"px":"auto";if(!b&&a){s.style.display="none";p.style.display="none";m.style.width=m.offsetWidth;s.style.display="block";p.style.display="block"}if(m.offsetWidth>q){m.style.width=q+"px"}k=parseInt(m.offsetHeight)+r;clearInterval(m.timer);m.timer=setInterval(function(){tooltip.fade(1)},e)},pos:function(h){var c=a?event.clientY+document.documentElement.scrollTop:h.pageY;var b=a?event.clientX+document.documentElement.scrollLeft:h.pageX;m.style.top=(c-k)+"px";m.style.left=(b+f)+"px"},fade:function(h){var b=j;if((b!=l&&h==1)||(b!=0&&h==-1)){var c=g;if(l-b<g&&h==1){c=l-b}else{if(j<g&&h==-1){c=b}}j=b+(c*h);m.style.opacity=j*0.01;m.style.filter="alpha(opacity="+j+")"}else{clearInterval(m.timer);if(h==-1){m.style.display="none"}}},hide:function(){clearInterval(m.timer);m.timer=setInterval(function(){tooltip.fade(-1)},e)}}}();
