/* fileadmin/templates/sw2009/js/libs/jquery-1.4.4.min.js */
(function(E,B){function ka(a,b,d){if(d===B&&a.nodeType===1){d=a.getAttribute("data-"+b);if(typeof d==="string"){try{d=d==="true"?true:d==="false"?false:d==="null"?null:!c.isNaN(d)?parseFloat(d):Ja.test(d)?c.parseJSON(d):d}catch(e){}c.data(a,b,d)}else d=B}return d}function U(){return false}function ca(){return true}function la(a,b,d){d[0].type=a;return c.event.handle.apply(b,d)}function Ka(a){var b,d,e,f,h,l,k,o,x,r,A,C=[];f=[];h=c.data(this,this.nodeType?"events":"__events__");if(typeof h==="function")h=
h.events;if(!(a.liveFired===this||!h||!h.live||a.button&&a.type==="click")){if(a.namespace)A=RegExp("(^|\\.)"+a.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)");a.liveFired=this;var J=h.live.slice(0);for(k=0;k<J.length;k++){h=J[k];h.origType.replace(X,"")===a.type?f.push(h.selector):J.splice(k--,1)}f=c(a.target).closest(f,a.currentTarget);o=0;for(x=f.length;o<x;o++){r=f[o];for(k=0;k<J.length;k++){h=J[k];if(r.selector===h.selector&&(!A||A.test(h.namespace))){l=r.elem;e=null;if(h.preType==="mouseenter"||
h.preType==="mouseleave"){a.type=h.preType;e=c(a.relatedTarget).closest(h.selector)[0]}if(!e||e!==l)C.push({elem:l,handleObj:h,level:r.level})}}}o=0;for(x=C.length;o<x;o++){f=C[o];if(d&&f.level>d)break;a.currentTarget=f.elem;a.data=f.handleObj.data;a.handleObj=f.handleObj;A=f.handleObj.origHandler.apply(f.elem,arguments);if(A===false||a.isPropagationStopped()){d=f.level;if(A===false)b=false;if(a.isImmediatePropagationStopped())break}}return b}}function Y(a,b){return(a&&a!=="*"?a+".":"")+b.replace(La,
"`").replace(Ma,"&")}function ma(a,b,d){if(c.isFunction(b))return c.grep(a,function(f,h){return!!b.call(f,h,f)===d});else if(b.nodeType)return c.grep(a,function(f){return f===b===d});else if(typeof b==="string"){var e=c.grep(a,function(f){return f.nodeType===1});if(Na.test(b))return c.filter(b,e,!d);else b=c.filter(b,e)}return c.grep(a,function(f){return c.inArray(f,b)>=0===d})}function na(a,b){var d=0;b.each(function(){if(this.nodeName===(a[d]&&a[d].nodeName)){var e=c.data(a[d++]),f=c.data(this,
e);if(e=e&&e.events){delete f.handle;f.events={};for(var h in e)for(var l in e[h])c.event.add(this,h,e[h][l],e[h][l].data)}}})}function Oa(a,b){b.src?c.ajax({url:b.src,async:false,dataType:"script"}):c.globalEval(b.text||b.textContent||b.innerHTML||"");b.parentNode&&b.parentNode.removeChild(b)}function oa(a,b,d){var e=b==="width"?a.offsetWidth:a.offsetHeight;if(d==="border")return e;c.each(b==="width"?Pa:Qa,function(){d||(e-=parseFloat(c.css(a,"padding"+this))||0);if(d==="margin")e+=parseFloat(c.css(a,
"margin"+this))||0;else e-=parseFloat(c.css(a,"border"+this+"Width"))||0});return e}function da(a,b,d,e){if(c.isArray(b)&&b.length)c.each(b,function(f,h){d||Ra.test(a)?e(a,h):da(a+"["+(typeof h==="object"||c.isArray(h)?f:"")+"]",h,d,e)});else if(!d&&b!=null&&typeof b==="object")c.isEmptyObject(b)?e(a,""):c.each(b,function(f,h){da(a+"["+f+"]",h,d,e)});else e(a,b)}function S(a,b){var d={};c.each(pa.concat.apply([],pa.slice(0,b)),function(){d[this]=a});return d}function qa(a){if(!ea[a]){var b=c("<"+
a+">").appendTo("body"),d=b.css("display");b.remove();if(d==="none"||d==="")d="block";ea[a]=d}return ea[a]}function fa(a){return c.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:false}var t=E.document,c=function(){function a(){if(!b.isReady){try{t.documentElement.doScroll("left")}catch(j){setTimeout(a,1);return}b.ready()}}var b=function(j,s){return new b.fn.init(j,s)},d=E.jQuery,e=E.$,f,h=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]+)$)/,l=/\S/,k=/^\s+/,o=/\s+$/,x=/\W/,r=/\d/,A=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,
C=/^[\],:{}\s]*$/,J=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,w=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,I=/(?:^|:|,)(?:\s*\[)+/g,L=/(webkit)[ \/]([\w.]+)/,g=/(opera)(?:.*version)?[ \/]([\w.]+)/,i=/(msie) ([\w.]+)/,n=/(mozilla)(?:.*? rv:([\w.]+))?/,m=navigator.userAgent,p=false,q=[],u,y=Object.prototype.toString,F=Object.prototype.hasOwnProperty,M=Array.prototype.push,N=Array.prototype.slice,O=String.prototype.trim,D=Array.prototype.indexOf,R={};b.fn=b.prototype={init:function(j,
s){var v,z,H;if(!j)return this;if(j.nodeType){this.context=this[0]=j;this.length=1;return this}if(j==="body"&&!s&&t.body){this.context=t;this[0]=t.body;this.selector="body";this.length=1;return this}if(typeof j==="string")if((v=h.exec(j))&&(v[1]||!s))if(v[1]){H=s?s.ownerDocument||s:t;if(z=A.exec(j))if(b.isPlainObject(s)){j=[t.createElement(z[1])];b.fn.attr.call(j,s,true)}else j=[H.createElement(z[1])];else{z=b.buildFragment([v[1]],[H]);j=(z.cacheable?z.fragment.cloneNode(true):z.fragment).childNodes}return b.merge(this,
j)}else{if((z=t.getElementById(v[2]))&&z.parentNode){if(z.id!==v[2])return f.find(j);this.length=1;this[0]=z}this.context=t;this.selector=j;return this}else if(!s&&!x.test(j)){this.selector=j;this.context=t;j=t.getElementsByTagName(j);return b.merge(this,j)}else return!s||s.jquery?(s||f).find(j):b(s).find(j);else if(b.isFunction(j))return f.ready(j);if(j.selector!==B){this.selector=j.selector;this.context=j.context}return b.makeArray(j,this)},selector:"",jquery:"1.4.4",length:0,size:function(){return this.length},
toArray:function(){return N.call(this,0)},get:function(j){return j==null?this.toArray():j<0?this.slice(j)[0]:this[j]},pushStack:function(j,s,v){var z=b();b.isArray(j)?M.apply(z,j):b.merge(z,j);z.prevObject=this;z.context=this.context;if(s==="find")z.selector=this.selector+(this.selector?" ":"")+v;else if(s)z.selector=this.selector+"."+s+"("+v+")";return z},each:function(j,s){return b.each(this,j,s)},ready:function(j){b.bindReady();if(b.isReady)j.call(t,b);else q&&q.push(j);return this},eq:function(j){return j===
-1?this.slice(j):this.slice(j,+j+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(N.apply(this,arguments),"slice",N.call(arguments).join(","))},map:function(j){return this.pushStack(b.map(this,function(s,v){return j.call(s,v,s)}))},end:function(){return this.prevObject||b(null)},push:M,sort:[].sort,splice:[].splice};b.fn.init.prototype=b.fn;b.extend=b.fn.extend=function(){var j,s,v,z,H,G=arguments[0]||{},K=1,Q=arguments.length,ga=false;
if(typeof G==="boolean"){ga=G;G=arguments[1]||{};K=2}if(typeof G!=="object"&&!b.isFunction(G))G={};if(Q===K){G=this;--K}for(;K<Q;K++)if((j=arguments[K])!=null)for(s in j){v=G[s];z=j[s];if(G!==z)if(ga&&z&&(b.isPlainObject(z)||(H=b.isArray(z)))){if(H){H=false;v=v&&b.isArray(v)?v:[]}else v=v&&b.isPlainObject(v)?v:{};G[s]=b.extend(ga,v,z)}else if(z!==B)G[s]=z}return G};b.extend({noConflict:function(j){E.$=e;if(j)E.jQuery=d;return b},isReady:false,readyWait:1,ready:function(j){j===true&&b.readyWait--;
if(!b.readyWait||j!==true&&!b.isReady){if(!t.body)return setTimeout(b.ready,1);b.isReady=true;if(!(j!==true&&--b.readyWait>0))if(q){var s=0,v=q;for(q=null;j=v[s++];)j.call(t,b);b.fn.trigger&&b(t).trigger("ready").unbind("ready")}}},bindReady:function(){if(!p){p=true;if(t.readyState==="complete")return setTimeout(b.ready,1);if(t.addEventListener){t.addEventListener("DOMContentLoaded",u,false);E.addEventListener("load",b.ready,false)}else if(t.attachEvent){t.attachEvent("onreadystatechange",u);E.attachEvent("onload",
b.ready);var j=false;try{j=E.frameElement==null}catch(s){}t.documentElement.doScroll&&j&&a()}}},isFunction:function(j){return b.type(j)==="function"},isArray:Array.isArray||function(j){return b.type(j)==="array"},isWindow:function(j){return j&&typeof j==="object"&&"setInterval"in j},isNaN:function(j){return j==null||!r.test(j)||isNaN(j)},type:function(j){return j==null?String(j):R[y.call(j)]||"object"},isPlainObject:function(j){if(!j||b.type(j)!=="object"||j.nodeType||b.isWindow(j))return false;if(j.constructor&&
!F.call(j,"constructor")&&!F.call(j.constructor.prototype,"isPrototypeOf"))return false;for(var s in j);return s===B||F.call(j,s)},isEmptyObject:function(j){for(var s in j)return false;return true},error:function(j){throw j;},parseJSON:function(j){if(typeof j!=="string"||!j)return null;j=b.trim(j);if(C.test(j.replace(J,"@").replace(w,"]").replace(I,"")))return E.JSON&&E.JSON.parse?E.JSON.parse(j):(new Function("return "+j))();else b.error("Invalid JSON: "+j)},noop:function(){},globalEval:function(j){if(j&&
l.test(j)){var s=t.getElementsByTagName("head")[0]||t.documentElement,v=t.createElement("script");v.type="text/javascript";if(b.support.scriptEval)v.appendChild(t.createTextNode(j));else v.text=j;s.insertBefore(v,s.firstChild);s.removeChild(v)}},nodeName:function(j,s){return j.nodeName&&j.nodeName.toUpperCase()===s.toUpperCase()},each:function(j,s,v){var z,H=0,G=j.length,K=G===B||b.isFunction(j);if(v)if(K)for(z in j){if(s.apply(j[z],v)===false)break}else for(;H<G;){if(s.apply(j[H++],v)===false)break}else if(K)for(z in j){if(s.call(j[z],
z,j[z])===false)break}else for(v=j[0];H<G&&s.call(v,H,v)!==false;v=j[++H]);return j},trim:O?function(j){return j==null?"":O.call(j)}:function(j){return j==null?"":j.toString().replace(k,"").replace(o,"")},makeArray:function(j,s){var v=s||[];if(j!=null){var z=b.type(j);j.length==null||z==="string"||z==="function"||z==="regexp"||b.isWindow(j)?M.call(v,j):b.merge(v,j)}return v},inArray:function(j,s){if(s.indexOf)return s.indexOf(j);for(var v=0,z=s.length;v<z;v++)if(s[v]===j)return v;return-1},merge:function(j,
s){var v=j.length,z=0;if(typeof s.length==="number")for(var H=s.length;z<H;z++)j[v++]=s[z];else for(;s[z]!==B;)j[v++]=s[z++];j.length=v;return j},grep:function(j,s,v){var z=[],H;v=!!v;for(var G=0,K=j.length;G<K;G++){H=!!s(j[G],G);v!==H&&z.push(j[G])}return z},map:function(j,s,v){for(var z=[],H,G=0,K=j.length;G<K;G++){H=s(j[G],G,v);if(H!=null)z[z.length]=H}return z.concat.apply([],z)},guid:1,proxy:function(j,s,v){if(arguments.length===2)if(typeof s==="string"){v=j;j=v[s];s=B}else if(s&&!b.isFunction(s)){v=
s;s=B}if(!s&&j)s=function(){return j.apply(v||this,arguments)};if(j)s.guid=j.guid=j.guid||s.guid||b.guid++;return s},access:function(j,s,v,z,H,G){var K=j.length;if(typeof s==="object"){for(var Q in s)b.access(j,Q,s[Q],z,H,v);return j}if(v!==B){z=!G&&z&&b.isFunction(v);for(Q=0;Q<K;Q++)H(j[Q],s,z?v.call(j[Q],Q,H(j[Q],s)):v,G);return j}return K?H(j[0],s):B},now:function(){return(new Date).getTime()},uaMatch:function(j){j=j.toLowerCase();j=L.exec(j)||g.exec(j)||i.exec(j)||j.indexOf("compatible")<0&&n.exec(j)||
[];return{browser:j[1]||"",version:j[2]||"0"}},browser:{}});b.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(j,s){R["[object "+s+"]"]=s.toLowerCase()});m=b.uaMatch(m);if(m.browser){b.browser[m.browser]=true;b.browser.version=m.version}if(b.browser.webkit)b.browser.safari=true;if(D)b.inArray=function(j,s){return D.call(s,j)};if(!/\s/.test("\u00a0")){k=/^[\s\xA0]+/;o=/[\s\xA0]+$/}f=b(t);if(t.addEventListener)u=function(){t.removeEventListener("DOMContentLoaded",u,
false);b.ready()};else if(t.attachEvent)u=function(){if(t.readyState==="complete"){t.detachEvent("onreadystatechange",u);b.ready()}};return E.jQuery=E.$=b}();(function(){c.support={};var a=t.documentElement,b=t.createElement("script"),d=t.createElement("div"),e="script"+c.now();d.style.display="none";d.innerHTML="   <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";var f=d.getElementsByTagName("*"),h=d.getElementsByTagName("a")[0],l=t.createElement("select"),
k=l.appendChild(t.createElement("option"));if(!(!f||!f.length||!h)){c.support={leadingWhitespace:d.firstChild.nodeType===3,tbody:!d.getElementsByTagName("tbody").length,htmlSerialize:!!d.getElementsByTagName("link").length,style:/red/.test(h.getAttribute("style")),hrefNormalized:h.getAttribute("href")==="/a",opacity:/^0.55$/.test(h.style.opacity),cssFloat:!!h.style.cssFloat,checkOn:d.getElementsByTagName("input")[0].value==="on",optSelected:k.selected,deleteExpando:true,optDisabled:false,checkClone:false,
scriptEval:false,noCloneEvent:true,boxModel:null,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableHiddenOffsets:true};l.disabled=true;c.support.optDisabled=!k.disabled;b.type="text/javascript";try{b.appendChild(t.createTextNode("window."+e+"=1;"))}catch(o){}a.insertBefore(b,a.firstChild);if(E[e]){c.support.scriptEval=true;delete E[e]}try{delete b.test}catch(x){c.support.deleteExpando=false}a.removeChild(b);if(d.attachEvent&&d.fireEvent){d.attachEvent("onclick",function r(){c.support.noCloneEvent=
false;d.detachEvent("onclick",r)});d.cloneNode(true).fireEvent("onclick")}d=t.createElement("div");d.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";a=t.createDocumentFragment();a.appendChild(d.firstChild);c.support.checkClone=a.cloneNode(true).cloneNode(true).lastChild.checked;c(function(){var r=t.createElement("div");r.style.width=r.style.paddingLeft="1px";t.body.appendChild(r);c.boxModel=c.support.boxModel=r.offsetWidth===2;if("zoom"in r.style){r.style.display="inline";r.style.zoom=
1;c.support.inlineBlockNeedsLayout=r.offsetWidth===2;r.style.display="";r.innerHTML="<div style='width:4px;'></div>";c.support.shrinkWrapBlocks=r.offsetWidth!==2}r.innerHTML="<table><tr><td style='padding:0;display:none'></td><td>t</td></tr></table>";var A=r.getElementsByTagName("td");c.support.reliableHiddenOffsets=A[0].offsetHeight===0;A[0].style.display="";A[1].style.display="none";c.support.reliableHiddenOffsets=c.support.reliableHiddenOffsets&&A[0].offsetHeight===0;r.innerHTML="";t.body.removeChild(r).style.display=
"none"});a=function(r){var A=t.createElement("div");r="on"+r;var C=r in A;if(!C){A.setAttribute(r,"return;");C=typeof A[r]==="function"}return C};c.support.submitBubbles=a("submit");c.support.changeBubbles=a("change");a=b=d=f=h=null}})();var ra={},Ja=/^(?:\{.*\}|\[.*\])$/;c.extend({cache:{},uuid:0,expando:"jQuery"+c.now(),noData:{embed:true,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:true},data:function(a,b,d){if(c.acceptData(a)){a=a==E?ra:a;var e=a.nodeType,f=e?a[c.expando]:null,h=
c.cache;if(!(e&&!f&&typeof b==="string"&&d===B)){if(e)f||(a[c.expando]=f=++c.uuid);else h=a;if(typeof b==="object")if(e)h[f]=c.extend(h[f],b);else c.extend(h,b);else if(e&&!h[f])h[f]={};a=e?h[f]:h;if(d!==B)a[b]=d;return typeof b==="string"?a[b]:a}}},removeData:function(a,b){if(c.acceptData(a)){a=a==E?ra:a;var d=a.nodeType,e=d?a[c.expando]:a,f=c.cache,h=d?f[e]:e;if(b){if(h){delete h[b];d&&c.isEmptyObject(h)&&c.removeData(a)}}else if(d&&c.support.deleteExpando)delete a[c.expando];else if(a.removeAttribute)a.removeAttribute(c.expando);
else if(d)delete f[e];else for(var l in a)delete a[l]}},acceptData:function(a){if(a.nodeName){var b=c.noData[a.nodeName.toLowerCase()];if(b)return!(b===true||a.getAttribute("classid")!==b)}return true}});c.fn.extend({data:function(a,b){var d=null;if(typeof a==="undefined"){if(this.length){var e=this[0].attributes,f;d=c.data(this[0]);for(var h=0,l=e.length;h<l;h++){f=e[h].name;if(f.indexOf("data-")===0){f=f.substr(5);ka(this[0],f,d[f])}}}return d}else if(typeof a==="object")return this.each(function(){c.data(this,
a)});var k=a.split(".");k[1]=k[1]?"."+k[1]:"";if(b===B){d=this.triggerHandler("getData"+k[1]+"!",[k[0]]);if(d===B&&this.length){d=c.data(this[0],a);d=ka(this[0],a,d)}return d===B&&k[1]?this.data(k[0]):d}else return this.each(function(){var o=c(this),x=[k[0],b];o.triggerHandler("setData"+k[1]+"!",x);c.data(this,a,b);o.triggerHandler("changeData"+k[1]+"!",x)})},removeData:function(a){return this.each(function(){c.removeData(this,a)})}});c.extend({queue:function(a,b,d){if(a){b=(b||"fx")+"queue";var e=
c.data(a,b);if(!d)return e||[];if(!e||c.isArray(d))e=c.data(a,b,c.makeArray(d));else e.push(d);return e}},dequeue:function(a,b){b=b||"fx";var d=c.queue(a,b),e=d.shift();if(e==="inprogress")e=d.shift();if(e){b==="fx"&&d.unshift("inprogress");e.call(a,function(){c.dequeue(a,b)})}}});c.fn.extend({queue:function(a,b){if(typeof a!=="string"){b=a;a="fx"}if(b===B)return c.queue(this[0],a);return this.each(function(){var d=c.queue(this,a,b);a==="fx"&&d[0]!=="inprogress"&&c.dequeue(this,a)})},dequeue:function(a){return this.each(function(){c.dequeue(this,
a)})},delay:function(a,b){a=c.fx?c.fx.speeds[a]||a:a;b=b||"fx";return this.queue(b,function(){var d=this;setTimeout(function(){c.dequeue(d,b)},a)})},clearQueue:function(a){return this.queue(a||"fx",[])}});var sa=/[\n\t]/g,ha=/\s+/,Sa=/\r/g,Ta=/^(?:href|src|style)$/,Ua=/^(?:button|input)$/i,Va=/^(?:button|input|object|select|textarea)$/i,Wa=/^a(?:rea)?$/i,ta=/^(?:radio|checkbox)$/i;c.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",
colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};c.fn.extend({attr:function(a,b){return c.access(this,a,b,true,c.attr)},removeAttr:function(a){return this.each(function(){c.attr(this,a,"");this.nodeType===1&&this.removeAttribute(a)})},addClass:function(a){if(c.isFunction(a))return this.each(function(x){var r=c(this);r.addClass(a.call(this,x,r.attr("class")))});if(a&&typeof a==="string")for(var b=(a||"").split(ha),d=0,e=this.length;d<e;d++){var f=this[d];if(f.nodeType===
1)if(f.className){for(var h=" "+f.className+" ",l=f.className,k=0,o=b.length;k<o;k++)if(h.indexOf(" "+b[k]+" ")<0)l+=" "+b[k];f.className=c.trim(l)}else f.className=a}return this},removeClass:function(a){if(c.isFunction(a))return this.each(function(o){var x=c(this);x.removeClass(a.call(this,o,x.attr("class")))});if(a&&typeof a==="string"||a===B)for(var b=(a||"").split(ha),d=0,e=this.length;d<e;d++){var f=this[d];if(f.nodeType===1&&f.className)if(a){for(var h=(" "+f.className+" ").replace(sa," "),
l=0,k=b.length;l<k;l++)h=h.replace(" "+b[l]+" "," ");f.className=c.trim(h)}else f.className=""}return this},toggleClass:function(a,b){var d=typeof a,e=typeof b==="boolean";if(c.isFunction(a))return this.each(function(f){var h=c(this);h.toggleClass(a.call(this,f,h.attr("class"),b),b)});return this.each(function(){if(d==="string")for(var f,h=0,l=c(this),k=b,o=a.split(ha);f=o[h++];){k=e?k:!l.hasClass(f);l[k?"addClass":"removeClass"](f)}else if(d==="undefined"||d==="boolean"){this.className&&c.data(this,
"__className__",this.className);this.className=this.className||a===false?"":c.data(this,"__className__")||""}})},hasClass:function(a){a=" "+a+" ";for(var b=0,d=this.length;b<d;b++)if((" "+this[b].className+" ").replace(sa," ").indexOf(a)>-1)return true;return false},val:function(a){if(!arguments.length){var b=this[0];if(b){if(c.nodeName(b,"option")){var d=b.attributes.value;return!d||d.specified?b.value:b.text}if(c.nodeName(b,"select")){var e=b.selectedIndex;d=[];var f=b.options;b=b.type==="select-one";
if(e<0)return null;var h=b?e:0;for(e=b?e+1:f.length;h<e;h++){var l=f[h];if(l.selected&&(c.support.optDisabled?!l.disabled:l.getAttribute("disabled")===null)&&(!l.parentNode.disabled||!c.nodeName(l.parentNode,"optgroup"))){a=c(l).val();if(b)return a;d.push(a)}}return d}if(ta.test(b.type)&&!c.support.checkOn)return b.getAttribute("value")===null?"on":b.value;return(b.value||"").replace(Sa,"")}return B}var k=c.isFunction(a);return this.each(function(o){var x=c(this),r=a;if(this.nodeType===1){if(k)r=
a.call(this,o,x.val());if(r==null)r="";else if(typeof r==="number")r+="";else if(c.isArray(r))r=c.map(r,function(C){return C==null?"":C+""});if(c.isArray(r)&&ta.test(this.type))this.checked=c.inArray(x.val(),r)>=0;else if(c.nodeName(this,"select")){var A=c.makeArray(r);c("option",this).each(function(){this.selected=c.inArray(c(this).val(),A)>=0});if(!A.length)this.selectedIndex=-1}else this.value=r}})}});c.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},
attr:function(a,b,d,e){if(!a||a.nodeType===3||a.nodeType===8)return B;if(e&&b in c.attrFn)return c(a)[b](d);e=a.nodeType!==1||!c.isXMLDoc(a);var f=d!==B;b=e&&c.props[b]||b;var h=Ta.test(b);if((b in a||a[b]!==B)&&e&&!h){if(f){b==="type"&&Ua.test(a.nodeName)&&a.parentNode&&c.error("type property can't be changed");if(d===null)a.nodeType===1&&a.removeAttribute(b);else a[b]=d}if(c.nodeName(a,"form")&&a.getAttributeNode(b))return a.getAttributeNode(b).nodeValue;if(b==="tabIndex")return(b=a.getAttributeNode("tabIndex"))&&
b.specified?b.value:Va.test(a.nodeName)||Wa.test(a.nodeName)&&a.href?0:B;return a[b]}if(!c.support.style&&e&&b==="style"){if(f)a.style.cssText=""+d;return a.style.cssText}f&&a.setAttribute(b,""+d);if(!a.attributes[b]&&a.hasAttribute&&!a.hasAttribute(b))return B;a=!c.support.hrefNormalized&&e&&h?a.getAttribute(b,2):a.getAttribute(b);return a===null?B:a}});var X=/\.(.*)$/,ia=/^(?:textarea|input|select)$/i,La=/\./g,Ma=/ /g,Xa=/[^\w\s.|`]/g,Ya=function(a){return a.replace(Xa,"\\$&")},ua={focusin:0,focusout:0};
c.event={add:function(a,b,d,e){if(!(a.nodeType===3||a.nodeType===8)){if(c.isWindow(a)&&a!==E&&!a.frameElement)a=E;if(d===false)d=U;else if(!d)return;var f,h;if(d.handler){f=d;d=f.handler}if(!d.guid)d.guid=c.guid++;if(h=c.data(a)){var l=a.nodeType?"events":"__events__",k=h[l],o=h.handle;if(typeof k==="function"){o=k.handle;k=k.events}else if(!k){a.nodeType||(h[l]=h=function(){});h.events=k={}}if(!o)h.handle=o=function(){return typeof c!=="undefined"&&!c.event.triggered?c.event.handle.apply(o.elem,
arguments):B};o.elem=a;b=b.split(" ");for(var x=0,r;l=b[x++];){h=f?c.extend({},f):{handler:d,data:e};if(l.indexOf(".")>-1){r=l.split(".");l=r.shift();h.namespace=r.slice(0).sort().join(".")}else{r=[];h.namespace=""}h.type=l;if(!h.guid)h.guid=d.guid;var A=k[l],C=c.event.special[l]||{};if(!A){A=k[l]=[];if(!C.setup||C.setup.call(a,e,r,o)===false)if(a.addEventListener)a.addEventListener(l,o,false);else a.attachEvent&&a.attachEvent("on"+l,o)}if(C.add){C.add.call(a,h);if(!h.handler.guid)h.handler.guid=
d.guid}A.push(h);c.event.global[l]=true}a=null}}},global:{},remove:function(a,b,d,e){if(!(a.nodeType===3||a.nodeType===8)){if(d===false)d=U;var f,h,l=0,k,o,x,r,A,C,J=a.nodeType?"events":"__events__",w=c.data(a),I=w&&w[J];if(w&&I){if(typeof I==="function"){w=I;I=I.events}if(b&&b.type){d=b.handler;b=b.type}if(!b||typeof b==="string"&&b.charAt(0)==="."){b=b||"";for(f in I)c.event.remove(a,f+b)}else{for(b=b.split(" ");f=b[l++];){r=f;k=f.indexOf(".")<0;o=[];if(!k){o=f.split(".");f=o.shift();x=RegExp("(^|\\.)"+
c.map(o.slice(0).sort(),Ya).join("\\.(?:.*\\.)?")+"(\\.|$)")}if(A=I[f])if(d){r=c.event.special[f]||{};for(h=e||0;h<A.length;h++){C=A[h];if(d.guid===C.guid){if(k||x.test(C.namespace)){e==null&&A.splice(h--,1);r.remove&&r.remove.call(a,C)}if(e!=null)break}}if(A.length===0||e!=null&&A.length===1){if(!r.teardown||r.teardown.call(a,o)===false)c.removeEvent(a,f,w.handle);delete I[f]}}else for(h=0;h<A.length;h++){C=A[h];if(k||x.test(C.namespace)){c.event.remove(a,r,C.handler,h);A.splice(h--,1)}}}if(c.isEmptyObject(I)){if(b=
w.handle)b.elem=null;delete w.events;delete w.handle;if(typeof w==="function")c.removeData(a,J);else c.isEmptyObject(w)&&c.removeData(a)}}}}},trigger:function(a,b,d,e){var f=a.type||a;if(!e){a=typeof a==="object"?a[c.expando]?a:c.extend(c.Event(f),a):c.Event(f);if(f.indexOf("!")>=0){a.type=f=f.slice(0,-1);a.exclusive=true}if(!d){a.stopPropagation();c.event.global[f]&&c.each(c.cache,function(){this.events&&this.events[f]&&c.event.trigger(a,b,this.handle.elem)})}if(!d||d.nodeType===3||d.nodeType===
8)return B;a.result=B;a.target=d;b=c.makeArray(b);b.unshift(a)}a.currentTarget=d;(e=d.nodeType?c.data(d,"handle"):(c.data(d,"__events__")||{}).handle)&&e.apply(d,b);e=d.parentNode||d.ownerDocument;try{if(!(d&&d.nodeName&&c.noData[d.nodeName.toLowerCase()]))if(d["on"+f]&&d["on"+f].apply(d,b)===false){a.result=false;a.preventDefault()}}catch(h){}if(!a.isPropagationStopped()&&e)c.event.trigger(a,b,e,true);else if(!a.isDefaultPrevented()){var l;e=a.target;var k=f.replace(X,""),o=c.nodeName(e,"a")&&k===
"click",x=c.event.special[k]||{};if((!x._default||x._default.call(d,a)===false)&&!o&&!(e&&e.nodeName&&c.noData[e.nodeName.toLowerCase()])){try{if(e[k]){if(l=e["on"+k])e["on"+k]=null;c.event.triggered=true;e[k]()}}catch(r){}if(l)e["on"+k]=l;c.event.triggered=false}}},handle:function(a){var b,d,e,f;d=[];var h=c.makeArray(arguments);a=h[0]=c.event.fix(a||E.event);a.currentTarget=this;b=a.type.indexOf(".")<0&&!a.exclusive;if(!b){e=a.type.split(".");a.type=e.shift();d=e.slice(0).sort();e=RegExp("(^|\\.)"+
d.join("\\.(?:.*\\.)?")+"(\\.|$)")}a.namespace=a.namespace||d.join(".");f=c.data(this,this.nodeType?"events":"__events__");if(typeof f==="function")f=f.events;d=(f||{})[a.type];if(f&&d){d=d.slice(0);f=0;for(var l=d.length;f<l;f++){var k=d[f];if(b||e.test(k.namespace)){a.handler=k.handler;a.data=k.data;a.handleObj=k;k=k.handler.apply(this,h);if(k!==B){a.result=k;if(k===false){a.preventDefault();a.stopPropagation()}}if(a.isImmediatePropagationStopped())break}}}return a.result},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),
fix:function(a){if(a[c.expando])return a;var b=a;a=c.Event(b);for(var d=this.props.length,e;d;){e=this.props[--d];a[e]=b[e]}if(!a.target)a.target=a.srcElement||t;if(a.target.nodeType===3)a.target=a.target.parentNode;if(!a.relatedTarget&&a.fromElement)a.relatedTarget=a.fromElement===a.target?a.toElement:a.fromElement;if(a.pageX==null&&a.clientX!=null){b=t.documentElement;d=t.body;a.pageX=a.clientX+(b&&b.scrollLeft||d&&d.scrollLeft||0)-(b&&b.clientLeft||d&&d.clientLeft||0);a.pageY=a.clientY+(b&&b.scrollTop||
d&&d.scrollTop||0)-(b&&b.clientTop||d&&d.clientTop||0)}if(a.which==null&&(a.charCode!=null||a.keyCode!=null))a.which=a.charCode!=null?a.charCode:a.keyCode;if(!a.metaKey&&a.ctrlKey)a.metaKey=a.ctrlKey;if(!a.which&&a.button!==B)a.which=a.button&1?1:a.button&2?3:a.button&4?2:0;return a},guid:1E8,proxy:c.proxy,special:{ready:{setup:c.bindReady,teardown:c.noop},live:{add:function(a){c.event.add(this,Y(a.origType,a.selector),c.extend({},a,{handler:Ka,guid:a.handler.guid}))},remove:function(a){c.event.remove(this,
Y(a.origType,a.selector),a)}},beforeunload:{setup:function(a,b,d){if(c.isWindow(this))this.onbeforeunload=d},teardown:function(a,b){if(this.onbeforeunload===b)this.onbeforeunload=null}}}};c.removeEvent=t.removeEventListener?function(a,b,d){a.removeEventListener&&a.removeEventListener(b,d,false)}:function(a,b,d){a.detachEvent&&a.detachEvent("on"+b,d)};c.Event=function(a){if(!this.preventDefault)return new c.Event(a);if(a&&a.type){this.originalEvent=a;this.type=a.type}else this.type=a;this.timeStamp=
c.now();this[c.expando]=true};c.Event.prototype={preventDefault:function(){this.isDefaultPrevented=ca;var a=this.originalEvent;if(a)if(a.preventDefault)a.preventDefault();else a.returnValue=false},stopPropagation:function(){this.isPropagationStopped=ca;var a=this.originalEvent;if(a){a.stopPropagation&&a.stopPropagation();a.cancelBubble=true}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=ca;this.stopPropagation()},isDefaultPrevented:U,isPropagationStopped:U,isImmediatePropagationStopped:U};
var va=function(a){var b=a.relatedTarget;try{for(;b&&b!==this;)b=b.parentNode;if(b!==this){a.type=a.data;c.event.handle.apply(this,arguments)}}catch(d){}},wa=function(a){a.type=a.data;c.event.handle.apply(this,arguments)};c.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){c.event.special[a]={setup:function(d){c.event.add(this,b,d&&d.selector?wa:va,a)},teardown:function(d){c.event.remove(this,b,d&&d.selector?wa:va)}}});if(!c.support.submitBubbles)c.event.special.submit={setup:function(){if(this.nodeName.toLowerCase()!==
"form"){c.event.add(this,"click.specialSubmit",function(a){var b=a.target,d=b.type;if((d==="submit"||d==="image")&&c(b).closest("form").length){a.liveFired=B;return la("submit",this,arguments)}});c.event.add(this,"keypress.specialSubmit",function(a){var b=a.target,d=b.type;if((d==="text"||d==="password")&&c(b).closest("form").length&&a.keyCode===13){a.liveFired=B;return la("submit",this,arguments)}})}else return false},teardown:function(){c.event.remove(this,".specialSubmit")}};if(!c.support.changeBubbles){var V,
xa=function(a){var b=a.type,d=a.value;if(b==="radio"||b==="checkbox")d=a.checked;else if(b==="select-multiple")d=a.selectedIndex>-1?c.map(a.options,function(e){return e.selected}).join("-"):"";else if(a.nodeName.toLowerCase()==="select")d=a.selectedIndex;return d},Z=function(a,b){var d=a.target,e,f;if(!(!ia.test(d.nodeName)||d.readOnly)){e=c.data(d,"_change_data");f=xa(d);if(a.type!=="focusout"||d.type!=="radio")c.data(d,"_change_data",f);if(!(e===B||f===e))if(e!=null||f){a.type="change";a.liveFired=
B;return c.event.trigger(a,b,d)}}};c.event.special.change={filters:{focusout:Z,beforedeactivate:Z,click:function(a){var b=a.target,d=b.type;if(d==="radio"||d==="checkbox"||b.nodeName.toLowerCase()==="select")return Z.call(this,a)},keydown:function(a){var b=a.target,d=b.type;if(a.keyCode===13&&b.nodeName.toLowerCase()!=="textarea"||a.keyCode===32&&(d==="checkbox"||d==="radio")||d==="select-multiple")return Z.call(this,a)},beforeactivate:function(a){a=a.target;c.data(a,"_change_data",xa(a))}},setup:function(){if(this.type===
"file")return false;for(var a in V)c.event.add(this,a+".specialChange",V[a]);return ia.test(this.nodeName)},teardown:function(){c.event.remove(this,".specialChange");return ia.test(this.nodeName)}};V=c.event.special.change.filters;V.focus=V.beforeactivate}t.addEventListener&&c.each({focus:"focusin",blur:"focusout"},function(a,b){function d(e){e=c.event.fix(e);e.type=b;return c.event.trigger(e,null,e.target)}c.event.special[b]={setup:function(){ua[b]++===0&&t.addEventListener(a,d,true)},teardown:function(){--ua[b]===
0&&t.removeEventListener(a,d,true)}}});c.each(["bind","one"],function(a,b){c.fn[b]=function(d,e,f){if(typeof d==="object"){for(var h in d)this[b](h,e,d[h],f);return this}if(c.isFunction(e)||e===false){f=e;e=B}var l=b==="one"?c.proxy(f,function(o){c(this).unbind(o,l);return f.apply(this,arguments)}):f;if(d==="unload"&&b!=="one")this.one(d,e,f);else{h=0;for(var k=this.length;h<k;h++)c.event.add(this[h],d,l,e)}return this}});c.fn.extend({unbind:function(a,b){if(typeof a==="object"&&!a.preventDefault)for(var d in a)this.unbind(d,
a[d]);else{d=0;for(var e=this.length;d<e;d++)c.event.remove(this[d],a,b)}return this},delegate:function(a,b,d,e){return this.live(b,d,e,a)},undelegate:function(a,b,d){return arguments.length===0?this.unbind("live"):this.die(b,null,d,a)},trigger:function(a,b){return this.each(function(){c.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0]){var d=c.Event(a);d.preventDefault();d.stopPropagation();c.event.trigger(d,b,this[0]);return d.result}},toggle:function(a){for(var b=arguments,d=
1;d<b.length;)c.proxy(a,b[d++]);return this.click(c.proxy(a,function(e){var f=(c.data(this,"lastToggle"+a.guid)||0)%d;c.data(this,"lastToggle"+a.guid,f+1);e.preventDefault();return b[f].apply(this,arguments)||false}))},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}});var ya={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};c.each(["live","die"],function(a,b){c.fn[b]=function(d,e,f,h){var l,k=0,o,x,r=h||this.selector;h=h?this:c(this.context);if(typeof d===
"object"&&!d.preventDefault){for(l in d)h[b](l,e,d[l],r);return this}if(c.isFunction(e)){f=e;e=B}for(d=(d||"").split(" ");(l=d[k++])!=null;){o=X.exec(l);x="";if(o){x=o[0];l=l.replace(X,"")}if(l==="hover")d.push("mouseenter"+x,"mouseleave"+x);else{o=l;if(l==="focus"||l==="blur"){d.push(ya[l]+x);l+=x}else l=(ya[l]||l)+x;if(b==="live"){x=0;for(var A=h.length;x<A;x++)c.event.add(h[x],"live."+Y(l,r),{data:e,selector:r,handler:f,origType:l,origHandler:f,preType:o})}else h.unbind("live."+Y(l,r),f)}}return this}});
c.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(a,b){c.fn[b]=function(d,e){if(e==null){e=d;d=null}return arguments.length>0?this.bind(b,d,e):this.trigger(b)};if(c.attrFn)c.attrFn[b]=true});E.attachEvent&&!E.addEventListener&&c(E).bind("unload",function(){for(var a in c.cache)if(c.cache[a].handle)try{c.event.remove(c.cache[a].handle.elem)}catch(b){}});
(function(){function a(g,i,n,m,p,q){p=0;for(var u=m.length;p<u;p++){var y=m[p];if(y){var F=false;for(y=y[g];y;){if(y.sizcache===n){F=m[y.sizset];break}if(y.nodeType===1&&!q){y.sizcache=n;y.sizset=p}if(y.nodeName.toLowerCase()===i){F=y;break}y=y[g]}m[p]=F}}}function b(g,i,n,m,p,q){p=0;for(var u=m.length;p<u;p++){var y=m[p];if(y){var F=false;for(y=y[g];y;){if(y.sizcache===n){F=m[y.sizset];break}if(y.nodeType===1){if(!q){y.sizcache=n;y.sizset=p}if(typeof i!=="string"){if(y===i){F=true;break}}else if(k.filter(i,
[y]).length>0){F=y;break}}y=y[g]}m[p]=F}}}var d=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,e=0,f=Object.prototype.toString,h=false,l=true;[0,0].sort(function(){l=false;return 0});var k=function(g,i,n,m){n=n||[];var p=i=i||t;if(i.nodeType!==1&&i.nodeType!==9)return[];if(!g||typeof g!=="string")return n;var q,u,y,F,M,N=true,O=k.isXML(i),D=[],R=g;do{d.exec("");if(q=d.exec(R)){R=q[3];D.push(q[1]);if(q[2]){F=q[3];
break}}}while(q);if(D.length>1&&x.exec(g))if(D.length===2&&o.relative[D[0]])u=L(D[0]+D[1],i);else for(u=o.relative[D[0]]?[i]:k(D.shift(),i);D.length;){g=D.shift();if(o.relative[g])g+=D.shift();u=L(g,u)}else{if(!m&&D.length>1&&i.nodeType===9&&!O&&o.match.ID.test(D[0])&&!o.match.ID.test(D[D.length-1])){q=k.find(D.shift(),i,O);i=q.expr?k.filter(q.expr,q.set)[0]:q.set[0]}if(i){q=m?{expr:D.pop(),set:C(m)}:k.find(D.pop(),D.length===1&&(D[0]==="~"||D[0]==="+")&&i.parentNode?i.parentNode:i,O);u=q.expr?k.filter(q.expr,
q.set):q.set;if(D.length>0)y=C(u);else N=false;for(;D.length;){q=M=D.pop();if(o.relative[M])q=D.pop();else M="";if(q==null)q=i;o.relative[M](y,q,O)}}else y=[]}y||(y=u);y||k.error(M||g);if(f.call(y)==="[object Array]")if(N)if(i&&i.nodeType===1)for(g=0;y[g]!=null;g++){if(y[g]&&(y[g]===true||y[g].nodeType===1&&k.contains(i,y[g])))n.push(u[g])}else for(g=0;y[g]!=null;g++)y[g]&&y[g].nodeType===1&&n.push(u[g]);else n.push.apply(n,y);else C(y,n);if(F){k(F,p,n,m);k.uniqueSort(n)}return n};k.uniqueSort=function(g){if(w){h=
l;g.sort(w);if(h)for(var i=1;i<g.length;i++)g[i]===g[i-1]&&g.splice(i--,1)}return g};k.matches=function(g,i){return k(g,null,null,i)};k.matchesSelector=function(g,i){return k(i,null,null,[g]).length>0};k.find=function(g,i,n){var m;if(!g)return[];for(var p=0,q=o.order.length;p<q;p++){var u,y=o.order[p];if(u=o.leftMatch[y].exec(g)){var F=u[1];u.splice(1,1);if(F.substr(F.length-1)!=="\\"){u[1]=(u[1]||"").replace(/\\/g,"");m=o.find[y](u,i,n);if(m!=null){g=g.replace(o.match[y],"");break}}}}m||(m=i.getElementsByTagName("*"));
return{set:m,expr:g}};k.filter=function(g,i,n,m){for(var p,q,u=g,y=[],F=i,M=i&&i[0]&&k.isXML(i[0]);g&&i.length;){for(var N in o.filter)if((p=o.leftMatch[N].exec(g))!=null&&p[2]){var O,D,R=o.filter[N];D=p[1];q=false;p.splice(1,1);if(D.substr(D.length-1)!=="\\"){if(F===y)y=[];if(o.preFilter[N])if(p=o.preFilter[N](p,F,n,y,m,M)){if(p===true)continue}else q=O=true;if(p)for(var j=0;(D=F[j])!=null;j++)if(D){O=R(D,p,j,F);var s=m^!!O;if(n&&O!=null)if(s)q=true;else F[j]=false;else if(s){y.push(D);q=true}}if(O!==
B){n||(F=y);g=g.replace(o.match[N],"");if(!q)return[];break}}}if(g===u)if(q==null)k.error(g);else break;u=g}return F};k.error=function(g){throw"Syntax error, unrecognized expression: "+g;};var o=k.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(g){return g.getAttribute("href")}},relative:{"+":function(g,i){var n=typeof i==="string",m=n&&!/\W/.test(i);n=n&&!m;if(m)i=i.toLowerCase();m=0;for(var p=g.length,q;m<p;m++)if(q=g[m]){for(;(q=q.previousSibling)&&q.nodeType!==1;);g[m]=n||q&&q.nodeName.toLowerCase()===
i?q||false:q===i}n&&k.filter(i,g,true)},">":function(g,i){var n,m=typeof i==="string",p=0,q=g.length;if(m&&!/\W/.test(i))for(i=i.toLowerCase();p<q;p++){if(n=g[p]){n=n.parentNode;g[p]=n.nodeName.toLowerCase()===i?n:false}}else{for(;p<q;p++)if(n=g[p])g[p]=m?n.parentNode:n.parentNode===i;m&&k.filter(i,g,true)}},"":function(g,i,n){var m,p=e++,q=b;if(typeof i==="string"&&!/\W/.test(i)){m=i=i.toLowerCase();q=a}q("parentNode",i,p,g,m,n)},"~":function(g,i,n){var m,p=e++,q=b;if(typeof i==="string"&&!/\W/.test(i)){m=
i=i.toLowerCase();q=a}q("previousSibling",i,p,g,m,n)}},find:{ID:function(g,i,n){if(typeof i.getElementById!=="undefined"&&!n)return(g=i.getElementById(g[1]))&&g.parentNode?[g]:[]},NAME:function(g,i){if(typeof i.getElementsByName!=="undefined"){for(var n=[],m=i.getElementsByName(g[1]),p=0,q=m.length;p<q;p++)m[p].getAttribute("name")===g[1]&&n.push(m[p]);return n.length===0?null:n}},TAG:function(g,i){return i.getElementsByTagName(g[1])}},preFilter:{CLASS:function(g,i,n,m,p,q){g=" "+g[1].replace(/\\/g,
"")+" ";if(q)return g;q=0;for(var u;(u=i[q])!=null;q++)if(u)if(p^(u.className&&(" "+u.className+" ").replace(/[\t\n]/g," ").indexOf(g)>=0))n||m.push(u);else if(n)i[q]=false;return false},ID:function(g){return g[1].replace(/\\/g,"")},TAG:function(g){return g[1].toLowerCase()},CHILD:function(g){if(g[1]==="nth"){var i=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(g[2]==="even"&&"2n"||g[2]==="odd"&&"2n+1"||!/\D/.test(g[2])&&"0n+"+g[2]||g[2]);g[2]=i[1]+(i[2]||1)-0;g[3]=i[3]-0}g[0]=e++;return g},ATTR:function(g,i,n,
m,p,q){i=g[1].replace(/\\/g,"");if(!q&&o.attrMap[i])g[1]=o.attrMap[i];if(g[2]==="~=")g[4]=" "+g[4]+" ";return g},PSEUDO:function(g,i,n,m,p){if(g[1]==="not")if((d.exec(g[3])||"").length>1||/^\w/.test(g[3]))g[3]=k(g[3],null,null,i);else{g=k.filter(g[3],i,n,true^p);n||m.push.apply(m,g);return false}else if(o.match.POS.test(g[0])||o.match.CHILD.test(g[0]))return true;return g},POS:function(g){g.unshift(true);return g}},filters:{enabled:function(g){return g.disabled===false&&g.type!=="hidden"},disabled:function(g){return g.disabled===
true},checked:function(g){return g.checked===true},selected:function(g){return g.selected===true},parent:function(g){return!!g.firstChild},empty:function(g){return!g.firstChild},has:function(g,i,n){return!!k(n[3],g).length},header:function(g){return/h\d/i.test(g.nodeName)},text:function(g){return"text"===g.type},radio:function(g){return"radio"===g.type},checkbox:function(g){return"checkbox"===g.type},file:function(g){return"file"===g.type},password:function(g){return"password"===g.type},submit:function(g){return"submit"===
g.type},image:function(g){return"image"===g.type},reset:function(g){return"reset"===g.type},button:function(g){return"button"===g.type||g.nodeName.toLowerCase()==="button"},input:function(g){return/input|select|textarea|button/i.test(g.nodeName)}},setFilters:{first:function(g,i){return i===0},last:function(g,i,n,m){return i===m.length-1},even:function(g,i){return i%2===0},odd:function(g,i){return i%2===1},lt:function(g,i,n){return i<n[3]-0},gt:function(g,i,n){return i>n[3]-0},nth:function(g,i,n){return n[3]-
0===i},eq:function(g,i,n){return n[3]-0===i}},filter:{PSEUDO:function(g,i,n,m){var p=i[1],q=o.filters[p];if(q)return q(g,n,i,m);else if(p==="contains")return(g.textContent||g.innerText||k.getText([g])||"").indexOf(i[3])>=0;else if(p==="not"){i=i[3];n=0;for(m=i.length;n<m;n++)if(i[n]===g)return false;return true}else k.error("Syntax error, unrecognized expression: "+p)},CHILD:function(g,i){var n=i[1],m=g;switch(n){case "only":case "first":for(;m=m.previousSibling;)if(m.nodeType===1)return false;if(n===
"first")return true;m=g;case "last":for(;m=m.nextSibling;)if(m.nodeType===1)return false;return true;case "nth":n=i[2];var p=i[3];if(n===1&&p===0)return true;var q=i[0],u=g.parentNode;if(u&&(u.sizcache!==q||!g.nodeIndex)){var y=0;for(m=u.firstChild;m;m=m.nextSibling)if(m.nodeType===1)m.nodeIndex=++y;u.sizcache=q}m=g.nodeIndex-p;return n===0?m===0:m%n===0&&m/n>=0}},ID:function(g,i){return g.nodeType===1&&g.getAttribute("id")===i},TAG:function(g,i){return i==="*"&&g.nodeType===1||g.nodeName.toLowerCase()===
i},CLASS:function(g,i){return(" "+(g.className||g.getAttribute("class"))+" ").indexOf(i)>-1},ATTR:function(g,i){var n=i[1];n=o.attrHandle[n]?o.attrHandle[n](g):g[n]!=null?g[n]:g.getAttribute(n);var m=n+"",p=i[2],q=i[4];return n==null?p==="!=":p==="="?m===q:p==="*="?m.indexOf(q)>=0:p==="~="?(" "+m+" ").indexOf(q)>=0:!q?m&&n!==false:p==="!="?m!==q:p==="^="?m.indexOf(q)===0:p==="$="?m.substr(m.length-q.length)===q:p==="|="?m===q||m.substr(0,q.length+1)===q+"-":false},POS:function(g,i,n,m){var p=o.setFilters[i[2]];
if(p)return p(g,n,i,m)}}},x=o.match.POS,r=function(g,i){return"\\"+(i-0+1)},A;for(A in o.match){o.match[A]=RegExp(o.match[A].source+/(?![^\[]*\])(?![^\(]*\))/.source);o.leftMatch[A]=RegExp(/(^(?:.|\r|\n)*?)/.source+o.match[A].source.replace(/\\(\d+)/g,r))}var C=function(g,i){g=Array.prototype.slice.call(g,0);if(i){i.push.apply(i,g);return i}return g};try{Array.prototype.slice.call(t.documentElement.childNodes,0)}catch(J){C=function(g,i){var n=0,m=i||[];if(f.call(g)==="[object Array]")Array.prototype.push.apply(m,
g);else if(typeof g.length==="number")for(var p=g.length;n<p;n++)m.push(g[n]);else for(;g[n];n++)m.push(g[n]);return m}}var w,I;if(t.documentElement.compareDocumentPosition)w=function(g,i){if(g===i){h=true;return 0}if(!g.compareDocumentPosition||!i.compareDocumentPosition)return g.compareDocumentPosition?-1:1;return g.compareDocumentPosition(i)&4?-1:1};else{w=function(g,i){var n,m,p=[],q=[];n=g.parentNode;m=i.parentNode;var u=n;if(g===i){h=true;return 0}else if(n===m)return I(g,i);else if(n){if(!m)return 1}else return-1;
for(;u;){p.unshift(u);u=u.parentNode}for(u=m;u;){q.unshift(u);u=u.parentNode}n=p.length;m=q.length;for(u=0;u<n&&u<m;u++)if(p[u]!==q[u])return I(p[u],q[u]);return u===n?I(g,q[u],-1):I(p[u],i,1)};I=function(g,i,n){if(g===i)return n;for(g=g.nextSibling;g;){if(g===i)return-1;g=g.nextSibling}return 1}}k.getText=function(g){for(var i="",n,m=0;g[m];m++){n=g[m];if(n.nodeType===3||n.nodeType===4)i+=n.nodeValue;else if(n.nodeType!==8)i+=k.getText(n.childNodes)}return i};(function(){var g=t.createElement("div"),
i="script"+(new Date).getTime(),n=t.documentElement;g.innerHTML="<a name='"+i+"'/>";n.insertBefore(g,n.firstChild);if(t.getElementById(i)){o.find.ID=function(m,p,q){if(typeof p.getElementById!=="undefined"&&!q)return(p=p.getElementById(m[1]))?p.id===m[1]||typeof p.getAttributeNode!=="undefined"&&p.getAttributeNode("id").nodeValue===m[1]?[p]:B:[]};o.filter.ID=function(m,p){var q=typeof m.getAttributeNode!=="undefined"&&m.getAttributeNode("id");return m.nodeType===1&&q&&q.nodeValue===p}}n.removeChild(g);
n=g=null})();(function(){var g=t.createElement("div");g.appendChild(t.createComment(""));if(g.getElementsByTagName("*").length>0)o.find.TAG=function(i,n){var m=n.getElementsByTagName(i[1]);if(i[1]==="*"){for(var p=[],q=0;m[q];q++)m[q].nodeType===1&&p.push(m[q]);m=p}return m};g.innerHTML="<a href='#'></a>";if(g.firstChild&&typeof g.firstChild.getAttribute!=="undefined"&&g.firstChild.getAttribute("href")!=="#")o.attrHandle.href=function(i){return i.getAttribute("href",2)};g=null})();t.querySelectorAll&&
function(){var g=k,i=t.createElement("div");i.innerHTML="<p class='TEST'></p>";if(!(i.querySelectorAll&&i.querySelectorAll(".TEST").length===0)){k=function(m,p,q,u){p=p||t;m=m.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!u&&!k.isXML(p))if(p.nodeType===9)try{return C(p.querySelectorAll(m),q)}catch(y){}else if(p.nodeType===1&&p.nodeName.toLowerCase()!=="object"){var F=p.getAttribute("id"),M=F||"__sizzle__";F||p.setAttribute("id",M);try{return C(p.querySelectorAll("#"+M+" "+m),q)}catch(N){}finally{F||
p.removeAttribute("id")}}return g(m,p,q,u)};for(var n in g)k[n]=g[n];i=null}}();(function(){var g=t.documentElement,i=g.matchesSelector||g.mozMatchesSelector||g.webkitMatchesSelector||g.msMatchesSelector,n=false;try{i.call(t.documentElement,"[test!='']:sizzle")}catch(m){n=true}if(i)k.matchesSelector=function(p,q){q=q.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!k.isXML(p))try{if(n||!o.match.PSEUDO.test(q)&&!/!=/.test(q))return i.call(p,q)}catch(u){}return k(q,null,null,[p]).length>0}})();(function(){var g=
t.createElement("div");g.innerHTML="<div class='test e'></div><div class='test'></div>";if(!(!g.getElementsByClassName||g.getElementsByClassName("e").length===0)){g.lastChild.className="e";if(g.getElementsByClassName("e").length!==1){o.order.splice(1,0,"CLASS");o.find.CLASS=function(i,n,m){if(typeof n.getElementsByClassName!=="undefined"&&!m)return n.getElementsByClassName(i[1])};g=null}}})();k.contains=t.documentElement.contains?function(g,i){return g!==i&&(g.contains?g.contains(i):true)}:t.documentElement.compareDocumentPosition?
function(g,i){return!!(g.compareDocumentPosition(i)&16)}:function(){return false};k.isXML=function(g){return(g=(g?g.ownerDocument||g:0).documentElement)?g.nodeName!=="HTML":false};var L=function(g,i){for(var n,m=[],p="",q=i.nodeType?[i]:i;n=o.match.PSEUDO.exec(g);){p+=n[0];g=g.replace(o.match.PSEUDO,"")}g=o.relative[g]?g+"*":g;n=0;for(var u=q.length;n<u;n++)k(g,q[n],m);return k.filter(p,m)};c.find=k;c.expr=k.selectors;c.expr[":"]=c.expr.filters;c.unique=k.uniqueSort;c.text=k.getText;c.isXMLDoc=k.isXML;
c.contains=k.contains})();var Za=/Until$/,$a=/^(?:parents|prevUntil|prevAll)/,ab=/,/,Na=/^.[^:#\[\.,]*$/,bb=Array.prototype.slice,cb=c.expr.match.POS;c.fn.extend({find:function(a){for(var b=this.pushStack("","find",a),d=0,e=0,f=this.length;e<f;e++){d=b.length;c.find(a,this[e],b);if(e>0)for(var h=d;h<b.length;h++)for(var l=0;l<d;l++)if(b[l]===b[h]){b.splice(h--,1);break}}return b},has:function(a){var b=c(a);return this.filter(function(){for(var d=0,e=b.length;d<e;d++)if(c.contains(this,b[d]))return true})},
not:function(a){return this.pushStack(ma(this,a,false),"not",a)},filter:function(a){return this.pushStack(ma(this,a,true),"filter",a)},is:function(a){return!!a&&c.filter(a,this).length>0},closest:function(a,b){var d=[],e,f,h=this[0];if(c.isArray(a)){var l,k={},o=1;if(h&&a.length){e=0;for(f=a.length;e<f;e++){l=a[e];k[l]||(k[l]=c.expr.match.POS.test(l)?c(l,b||this.context):l)}for(;h&&h.ownerDocument&&h!==b;){for(l in k){e=k[l];if(e.jquery?e.index(h)>-1:c(h).is(e))d.push({selector:l,elem:h,level:o})}h=
h.parentNode;o++}}return d}l=cb.test(a)?c(a,b||this.context):null;e=0;for(f=this.length;e<f;e++)for(h=this[e];h;)if(l?l.index(h)>-1:c.find.matchesSelector(h,a)){d.push(h);break}else{h=h.parentNode;if(!h||!h.ownerDocument||h===b)break}d=d.length>1?c.unique(d):d;return this.pushStack(d,"closest",a)},index:function(a){if(!a||typeof a==="string")return c.inArray(this[0],a?c(a):this.parent().children());return c.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var d=typeof a==="string"?c(a,b||this.context):
c.makeArray(a),e=c.merge(this.get(),d);return this.pushStack(!d[0]||!d[0].parentNode||d[0].parentNode.nodeType===11||!e[0]||!e[0].parentNode||e[0].parentNode.nodeType===11?e:c.unique(e))},andSelf:function(){return this.add(this.prevObject)}});c.each({parent:function(a){return(a=a.parentNode)&&a.nodeType!==11?a:null},parents:function(a){return c.dir(a,"parentNode")},parentsUntil:function(a,b,d){return c.dir(a,"parentNode",d)},next:function(a){return c.nth(a,2,"nextSibling")},prev:function(a){return c.nth(a,
2,"previousSibling")},nextAll:function(a){return c.dir(a,"nextSibling")},prevAll:function(a){return c.dir(a,"previousSibling")},nextUntil:function(a,b,d){return c.dir(a,"nextSibling",d)},prevUntil:function(a,b,d){return c.dir(a,"previousSibling",d)},siblings:function(a){return c.sibling(a.parentNode.firstChild,a)},children:function(a){return c.sibling(a.firstChild)},contents:function(a){return c.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:c.makeArray(a.childNodes)}},function(a,
b){c.fn[a]=function(d,e){var f=c.map(this,b,d);Za.test(a)||(e=d);if(e&&typeof e==="string")f=c.filter(e,f);f=this.length>1?c.unique(f):f;if((this.length>1||ab.test(e))&&$a.test(a))f=f.reverse();return this.pushStack(f,a,bb.call(arguments).join(","))}});c.extend({filter:function(a,b,d){if(d)a=":not("+a+")";return b.length===1?c.find.matchesSelector(b[0],a)?[b[0]]:[]:c.find.matches(a,b)},dir:function(a,b,d){var e=[];for(a=a[b];a&&a.nodeType!==9&&(d===B||a.nodeType!==1||!c(a).is(d));){a.nodeType===1&&
e.push(a);a=a[b]}return e},nth:function(a,b,d){b=b||1;for(var e=0;a;a=a[d])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){for(var d=[];a;a=a.nextSibling)a.nodeType===1&&a!==b&&d.push(a);return d}});var za=/ jQuery\d+="(?:\d+|null)"/g,$=/^\s+/,Aa=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,Ba=/<([\w:]+)/,db=/<tbody/i,eb=/<|&#?\w+;/,Ca=/<(?:script|object|embed|option|style)/i,Da=/checked\s*(?:[^=]|=\s*.checked.)/i,fb=/\=([^="'>\s]+\/)>/g,P={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,"",""]};P.optgroup=P.option;P.tbody=P.tfoot=P.colgroup=P.caption=P.thead;P.th=P.td;if(!c.support.htmlSerialize)P._default=[1,"div<div>","</div>"];c.fn.extend({text:function(a){if(c.isFunction(a))return this.each(function(b){var d=
c(this);d.text(a.call(this,b,d.text()))});if(typeof a!=="object"&&a!==B)return this.empty().append((this[0]&&this[0].ownerDocument||t).createTextNode(a));return c.text(this)},wrapAll:function(a){if(c.isFunction(a))return this.each(function(d){c(this).wrapAll(a.call(this,d))});if(this[0]){var b=c(a,this[0].ownerDocument).eq(0).clone(true);this[0].parentNode&&b.insertBefore(this[0]);b.map(function(){for(var d=this;d.firstChild&&d.firstChild.nodeType===1;)d=d.firstChild;return d}).append(this)}return this},
wrapInner:function(a){if(c.isFunction(a))return this.each(function(b){c(this).wrapInner(a.call(this,b))});return this.each(function(){var b=c(this),d=b.contents();d.length?d.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){c(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){c.nodeName(this,"body")||c(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.appendChild(a)})},
prepend:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this)});else if(arguments.length){var a=c(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,
this.nextSibling)});else if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,c(arguments[0]).toArray());return a}},remove:function(a,b){for(var d=0,e;(e=this[d])!=null;d++)if(!a||c.filter(a,[e]).length){if(!b&&e.nodeType===1){c.cleanData(e.getElementsByTagName("*"));c.cleanData([e])}e.parentNode&&e.parentNode.removeChild(e)}return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++)for(b.nodeType===1&&c.cleanData(b.getElementsByTagName("*"));b.firstChild;)b.removeChild(b.firstChild);
return this},clone:function(a){var b=this.map(function(){if(!c.support.noCloneEvent&&!c.isXMLDoc(this)){var d=this.outerHTML,e=this.ownerDocument;if(!d){d=e.createElement("div");d.appendChild(this.cloneNode(true));d=d.innerHTML}return c.clean([d.replace(za,"").replace(fb,'="$1">').replace($,"")],e)[0]}else return this.cloneNode(true)});if(a===true){na(this,b);na(this.find("*"),b.find("*"))}return b},html:function(a){if(a===B)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(za,""):null;
else if(typeof a==="string"&&!Ca.test(a)&&(c.support.leadingWhitespace||!$.test(a))&&!P[(Ba.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Aa,"<$1></$2>");try{for(var b=0,d=this.length;b<d;b++)if(this[b].nodeType===1){c.cleanData(this[b].getElementsByTagName("*"));this[b].innerHTML=a}}catch(e){this.empty().append(a)}}else c.isFunction(a)?this.each(function(f){var h=c(this);h.html(a.call(this,f,h.html()))}):this.empty().append(a);return this},replaceWith:function(a){if(this[0]&&this[0].parentNode){if(c.isFunction(a))return this.each(function(b){var d=
c(this),e=d.html();d.replaceWith(a.call(this,b,e))});if(typeof a!=="string")a=c(a).detach();return this.each(function(){var b=this.nextSibling,d=this.parentNode;c(this).remove();b?c(b).before(a):c(d).append(a)})}else return this.pushStack(c(c.isFunction(a)?a():a),"replaceWith",a)},detach:function(a){return this.remove(a,true)},domManip:function(a,b,d){var e,f,h,l=a[0],k=[];if(!c.support.checkClone&&arguments.length===3&&typeof l==="string"&&Da.test(l))return this.each(function(){c(this).domManip(a,
b,d,true)});if(c.isFunction(l))return this.each(function(x){var r=c(this);a[0]=l.call(this,x,b?r.html():B);r.domManip(a,b,d)});if(this[0]){e=l&&l.parentNode;e=c.support.parentNode&&e&&e.nodeType===11&&e.childNodes.length===this.length?{fragment:e}:c.buildFragment(a,this,k);h=e.fragment;if(f=h.childNodes.length===1?h=h.firstChild:h.firstChild){b=b&&c.nodeName(f,"tr");f=0;for(var o=this.length;f<o;f++)d.call(b?c.nodeName(this[f],"table")?this[f].getElementsByTagName("tbody")[0]||this[f].appendChild(this[f].ownerDocument.createElement("tbody")):
this[f]:this[f],f>0||e.cacheable||this.length>1?h.cloneNode(true):h)}k.length&&c.each(k,Oa)}return this}});c.buildFragment=function(a,b,d){var e,f,h;b=b&&b[0]?b[0].ownerDocument||b[0]:t;if(a.length===1&&typeof a[0]==="string"&&a[0].length<512&&b===t&&!Ca.test(a[0])&&(c.support.checkClone||!Da.test(a[0]))){f=true;if(h=c.fragments[a[0]])if(h!==1)e=h}if(!e){e=b.createDocumentFragment();c.clean(a,b,e,d)}if(f)c.fragments[a[0]]=h?e:1;return{fragment:e,cacheable:f}};c.fragments={};c.each({appendTo:"append",
prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){c.fn[a]=function(d){var e=[];d=c(d);var f=this.length===1&&this[0].parentNode;if(f&&f.nodeType===11&&f.childNodes.length===1&&d.length===1){d[b](this[0]);return this}else{f=0;for(var h=d.length;f<h;f++){var l=(f>0?this.clone(true):this).get();c(d[f])[b](l);e=e.concat(l)}return this.pushStack(e,a,d.selector)}}});c.extend({clean:function(a,b,d,e){b=b||t;if(typeof b.createElement==="undefined")b=b.ownerDocument||
b[0]&&b[0].ownerDocument||t;for(var f=[],h=0,l;(l=a[h])!=null;h++){if(typeof l==="number")l+="";if(l){if(typeof l==="string"&&!eb.test(l))l=b.createTextNode(l);else if(typeof l==="string"){l=l.replace(Aa,"<$1></$2>");var k=(Ba.exec(l)||["",""])[1].toLowerCase(),o=P[k]||P._default,x=o[0],r=b.createElement("div");for(r.innerHTML=o[1]+l+o[2];x--;)r=r.lastChild;if(!c.support.tbody){x=db.test(l);k=k==="table"&&!x?r.firstChild&&r.firstChild.childNodes:o[1]==="<table>"&&!x?r.childNodes:[];for(o=k.length-
1;o>=0;--o)c.nodeName(k[o],"tbody")&&!k[o].childNodes.length&&k[o].parentNode.removeChild(k[o])}!c.support.leadingWhitespace&&$.test(l)&&r.insertBefore(b.createTextNode($.exec(l)[0]),r.firstChild);l=r.childNodes}if(l.nodeType)f.push(l);else f=c.merge(f,l)}}if(d)for(h=0;f[h];h++)if(e&&c.nodeName(f[h],"script")&&(!f[h].type||f[h].type.toLowerCase()==="text/javascript"))e.push(f[h].parentNode?f[h].parentNode.removeChild(f[h]):f[h]);else{f[h].nodeType===1&&f.splice.apply(f,[h+1,0].concat(c.makeArray(f[h].getElementsByTagName("script"))));
d.appendChild(f[h])}return f},cleanData:function(a){for(var b,d,e=c.cache,f=c.event.special,h=c.support.deleteExpando,l=0,k;(k=a[l])!=null;l++)if(!(k.nodeName&&c.noData[k.nodeName.toLowerCase()]))if(d=k[c.expando]){if((b=e[d])&&b.events)for(var o in b.events)f[o]?c.event.remove(k,o):c.removeEvent(k,o,b.handle);if(h)delete k[c.expando];else k.removeAttribute&&k.removeAttribute(c.expando);delete e[d]}}});var Ea=/alpha\([^)]*\)/i,gb=/opacity=([^)]*)/,hb=/-([a-z])/ig,ib=/([A-Z])/g,Fa=/^-?\d+(?:px)?$/i,
jb=/^-?\d/,kb={position:"absolute",visibility:"hidden",display:"block"},Pa=["Left","Right"],Qa=["Top","Bottom"],W,Ga,aa,lb=function(a,b){return b.toUpperCase()};c.fn.css=function(a,b){if(arguments.length===2&&b===B)return this;return c.access(this,a,b,true,function(d,e,f){return f!==B?c.style(d,e,f):c.css(d,e)})};c.extend({cssHooks:{opacity:{get:function(a,b){if(b){var d=W(a,"opacity","opacity");return d===""?"1":d}else return a.style.opacity}}},cssNumber:{zIndex:true,fontWeight:true,opacity:true,
zoom:true,lineHeight:true},cssProps:{"float":c.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,b,d,e){if(!(!a||a.nodeType===3||a.nodeType===8||!a.style)){var f,h=c.camelCase(b),l=a.style,k=c.cssHooks[h];b=c.cssProps[h]||h;if(d!==B){if(!(typeof d==="number"&&isNaN(d)||d==null)){if(typeof d==="number"&&!c.cssNumber[h])d+="px";if(!k||!("set"in k)||(d=k.set(a,d))!==B)try{l[b]=d}catch(o){}}}else{if(k&&"get"in k&&(f=k.get(a,false,e))!==B)return f;return l[b]}}},css:function(a,b,d){var e,f=c.camelCase(b),
h=c.cssHooks[f];b=c.cssProps[f]||f;if(h&&"get"in h&&(e=h.get(a,true,d))!==B)return e;else if(W)return W(a,b,f)},swap:function(a,b,d){var e={},f;for(f in b){e[f]=a.style[f];a.style[f]=b[f]}d.call(a);for(f in b)a.style[f]=e[f]},camelCase:function(a){return a.replace(hb,lb)}});c.curCSS=c.css;c.each(["height","width"],function(a,b){c.cssHooks[b]={get:function(d,e,f){var h;if(e){if(d.offsetWidth!==0)h=oa(d,b,f);else c.swap(d,kb,function(){h=oa(d,b,f)});if(h<=0){h=W(d,b,b);if(h==="0px"&&aa)h=aa(d,b,b);
if(h!=null)return h===""||h==="auto"?"0px":h}if(h<0||h==null){h=d.style[b];return h===""||h==="auto"?"0px":h}return typeof h==="string"?h:h+"px"}},set:function(d,e){if(Fa.test(e)){e=parseFloat(e);if(e>=0)return e+"px"}else return e}}});if(!c.support.opacity)c.cssHooks.opacity={get:function(a,b){return gb.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var d=a.style;d.zoom=1;var e=c.isNaN(b)?"":"alpha(opacity="+b*100+")",f=
d.filter||"";d.filter=Ea.test(f)?f.replace(Ea,e):d.filter+" "+e}};if(t.defaultView&&t.defaultView.getComputedStyle)Ga=function(a,b,d){var e;d=d.replace(ib,"-$1").toLowerCase();if(!(b=a.ownerDocument.defaultView))return B;if(b=b.getComputedStyle(a,null)){e=b.getPropertyValue(d);if(e===""&&!c.contains(a.ownerDocument.documentElement,a))e=c.style(a,d)}return e};if(t.documentElement.currentStyle)aa=function(a,b){var d,e,f=a.currentStyle&&a.currentStyle[b],h=a.style;if(!Fa.test(f)&&jb.test(f)){d=h.left;
e=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;h.left=b==="fontSize"?"1em":f||0;f=h.pixelLeft+"px";h.left=d;a.runtimeStyle.left=e}return f===""?"auto":f};W=Ga||aa;if(c.expr&&c.expr.filters){c.expr.filters.hidden=function(a){var b=a.offsetHeight;return a.offsetWidth===0&&b===0||!c.support.reliableHiddenOffsets&&(a.style.display||c.css(a,"display"))==="none"};c.expr.filters.visible=function(a){return!c.expr.filters.hidden(a)}}var mb=c.now(),nb=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,
ob=/^(?:select|textarea)/i,pb=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,qb=/^(?:GET|HEAD)$/,Ra=/\[\]$/,T=/\=\?(&|$)/,ja=/\?/,rb=/([?&])_=[^&]*/,sb=/^(\w+:)?\/\/([^\/?#]+)/,tb=/%20/g,ub=/#.*$/,Ha=c.fn.load;c.fn.extend({load:function(a,b,d){if(typeof a!=="string"&&Ha)return Ha.apply(this,arguments);else if(!this.length)return this;var e=a.indexOf(" ");if(e>=0){var f=a.slice(e,a.length);a=a.slice(0,e)}e="GET";if(b)if(c.isFunction(b)){d=b;b=null}else if(typeof b===
"object"){b=c.param(b,c.ajaxSettings.traditional);e="POST"}var h=this;c.ajax({url:a,type:e,dataType:"html",data:b,complete:function(l,k){if(k==="success"||k==="notmodified")h.html(f?c("<div>").append(l.responseText.replace(nb,"")).find(f):l.responseText);d&&h.each(d,[l.responseText,k,l])}});return this},serialize:function(){return c.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?c.makeArray(this.elements):this}).filter(function(){return this.name&&
!this.disabled&&(this.checked||ob.test(this.nodeName)||pb.test(this.type))}).map(function(a,b){var d=c(this).val();return d==null?null:c.isArray(d)?c.map(d,function(e){return{name:b.name,value:e}}):{name:b.name,value:d}}).get()}});c.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){c.fn[b]=function(d){return this.bind(b,d)}});c.extend({get:function(a,b,d,e){if(c.isFunction(b)){e=e||d;d=b;b=null}return c.ajax({type:"GET",url:a,data:b,success:d,dataType:e})},
getScript:function(a,b){return c.get(a,null,b,"script")},getJSON:function(a,b,d){return c.get(a,b,d,"json")},post:function(a,b,d,e){if(c.isFunction(b)){e=e||d;d=b;b={}}return c.ajax({type:"POST",url:a,data:b,success:d,dataType:e})},ajaxSetup:function(a){c.extend(c.ajaxSettings,a)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:function(){return new E.XMLHttpRequest},accepts:{xml:"application/xml, text/xml",html:"text/html",
script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},ajax:function(a){var b=c.extend(true,{},c.ajaxSettings,a),d,e,f,h=b.type.toUpperCase(),l=qb.test(h);b.url=b.url.replace(ub,"");b.context=a&&a.context!=null?a.context:b;if(b.data&&b.processData&&typeof b.data!=="string")b.data=c.param(b.data,b.traditional);if(b.dataType==="jsonp"){if(h==="GET")T.test(b.url)||(b.url+=(ja.test(b.url)?"&":"?")+(b.jsonp||"callback")+"=?");else if(!b.data||
!T.test(b.data))b.data=(b.data?b.data+"&":"")+(b.jsonp||"callback")+"=?";b.dataType="json"}if(b.dataType==="json"&&(b.data&&T.test(b.data)||T.test(b.url))){d=b.jsonpCallback||"jsonp"+mb++;if(b.data)b.data=(b.data+"").replace(T,"="+d+"$1");b.url=b.url.replace(T,"="+d+"$1");b.dataType="script";var k=E[d];E[d]=function(m){if(c.isFunction(k))k(m);else{E[d]=B;try{delete E[d]}catch(p){}}f=m;c.handleSuccess(b,w,e,f);c.handleComplete(b,w,e,f);r&&r.removeChild(A)}}if(b.dataType==="script"&&b.cache===null)b.cache=
false;if(b.cache===false&&l){var o=c.now(),x=b.url.replace(rb,"$1_="+o);b.url=x+(x===b.url?(ja.test(b.url)?"&":"?")+"_="+o:"")}if(b.data&&l)b.url+=(ja.test(b.url)?"&":"?")+b.data;b.global&&c.active++===0&&c.event.trigger("ajaxStart");o=(o=sb.exec(b.url))&&(o[1]&&o[1].toLowerCase()!==location.protocol||o[2].toLowerCase()!==location.host);if(b.dataType==="script"&&h==="GET"&&o){var r=t.getElementsByTagName("head")[0]||t.documentElement,A=t.createElement("script");if(b.scriptCharset)A.charset=b.scriptCharset;
A.src=b.url;if(!d){var C=false;A.onload=A.onreadystatechange=function(){if(!C&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){C=true;c.handleSuccess(b,w,e,f);c.handleComplete(b,w,e,f);A.onload=A.onreadystatechange=null;r&&A.parentNode&&r.removeChild(A)}}}r.insertBefore(A,r.firstChild);return B}var J=false,w=b.xhr();if(w){b.username?w.open(h,b.url,b.async,b.username,b.password):w.open(h,b.url,b.async);try{if(b.data!=null&&!l||a&&a.contentType)w.setRequestHeader("Content-Type",
b.contentType);if(b.ifModified){c.lastModified[b.url]&&w.setRequestHeader("If-Modified-Since",c.lastModified[b.url]);c.etag[b.url]&&w.setRequestHeader("If-None-Match",c.etag[b.url])}o||w.setRequestHeader("X-Requested-With","XMLHttpRequest");w.setRequestHeader("Accept",b.dataType&&b.accepts[b.dataType]?b.accepts[b.dataType]+", */*; q=0.01":b.accepts._default)}catch(I){}if(b.beforeSend&&b.beforeSend.call(b.context,w,b)===false){b.global&&c.active--===1&&c.event.trigger("ajaxStop");w.abort();return false}b.global&&
c.triggerGlobal(b,"ajaxSend",[w,b]);var L=w.onreadystatechange=function(m){if(!w||w.readyState===0||m==="abort"){J||c.handleComplete(b,w,e,f);J=true;if(w)w.onreadystatechange=c.noop}else if(!J&&w&&(w.readyState===4||m==="timeout")){J=true;w.onreadystatechange=c.noop;e=m==="timeout"?"timeout":!c.httpSuccess(w)?"error":b.ifModified&&c.httpNotModified(w,b.url)?"notmodified":"success";var p;if(e==="success")try{f=c.httpData(w,b.dataType,b)}catch(q){e="parsererror";p=q}if(e==="success"||e==="notmodified")d||
c.handleSuccess(b,w,e,f);else c.handleError(b,w,e,p);d||c.handleComplete(b,w,e,f);m==="timeout"&&w.abort();if(b.async)w=null}};try{var g=w.abort;w.abort=function(){w&&Function.prototype.call.call(g,w);L("abort")}}catch(i){}b.async&&b.timeout>0&&setTimeout(function(){w&&!J&&L("timeout")},b.timeout);try{w.send(l||b.data==null?null:b.data)}catch(n){c.handleError(b,w,null,n);c.handleComplete(b,w,e,f)}b.async||L();return w}},param:function(a,b){var d=[],e=function(h,l){l=c.isFunction(l)?l():l;d[d.length]=
encodeURIComponent(h)+"="+encodeURIComponent(l)};if(b===B)b=c.ajaxSettings.traditional;if(c.isArray(a)||a.jquery)c.each(a,function(){e(this.name,this.value)});else for(var f in a)da(f,a[f],b,e);return d.join("&").replace(tb,"+")}});c.extend({active:0,lastModified:{},etag:{},handleError:function(a,b,d,e){a.error&&a.error.call(a.context,b,d,e);a.global&&c.triggerGlobal(a,"ajaxError",[b,a,e])},handleSuccess:function(a,b,d,e){a.success&&a.success.call(a.context,e,d,b);a.global&&c.triggerGlobal(a,"ajaxSuccess",
[b,a])},handleComplete:function(a,b,d){a.complete&&a.complete.call(a.context,b,d);a.global&&c.triggerGlobal(a,"ajaxComplete",[b,a]);a.global&&c.active--===1&&c.event.trigger("ajaxStop")},triggerGlobal:function(a,b,d){(a.context&&a.context.url==null?c(a.context):c.event).trigger(b,d)},httpSuccess:function(a){try{return!a.status&&location.protocol==="file:"||a.status>=200&&a.status<300||a.status===304||a.status===1223}catch(b){}return false},httpNotModified:function(a,b){var d=a.getResponseHeader("Last-Modified"),
e=a.getResponseHeader("Etag");if(d)c.lastModified[b]=d;if(e)c.etag[b]=e;return a.status===304},httpData:function(a,b,d){var e=a.getResponseHeader("content-type")||"",f=b==="xml"||!b&&e.indexOf("xml")>=0;a=f?a.responseXML:a.responseText;f&&a.documentElement.nodeName==="parsererror"&&c.error("parsererror");if(d&&d.dataFilter)a=d.dataFilter(a,b);if(typeof a==="string")if(b==="json"||!b&&e.indexOf("json")>=0)a=c.parseJSON(a);else if(b==="script"||!b&&e.indexOf("javascript")>=0)c.globalEval(a);return a}});
if(E.ActiveXObject)c.ajaxSettings.xhr=function(){if(E.location.protocol!=="file:")try{return new E.XMLHttpRequest}catch(a){}try{return new E.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}};c.support.ajax=!!c.ajaxSettings.xhr();var ea={},vb=/^(?:toggle|show|hide)$/,wb=/^([+\-]=)?([\d+.\-]+)(.*)$/,ba,pa=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];c.fn.extend({show:function(a,b,d){if(a||a===0)return this.animate(S("show",
3),a,b,d);else{d=0;for(var e=this.length;d<e;d++){a=this[d];b=a.style.display;if(!c.data(a,"olddisplay")&&b==="none")b=a.style.display="";b===""&&c.css(a,"display")==="none"&&c.data(a,"olddisplay",qa(a.nodeName))}for(d=0;d<e;d++){a=this[d];b=a.style.display;if(b===""||b==="none")a.style.display=c.data(a,"olddisplay")||""}return this}},hide:function(a,b,d){if(a||a===0)return this.animate(S("hide",3),a,b,d);else{a=0;for(b=this.length;a<b;a++){d=c.css(this[a],"display");d!=="none"&&c.data(this[a],"olddisplay",
d)}for(a=0;a<b;a++)this[a].style.display="none";return this}},_toggle:c.fn.toggle,toggle:function(a,b,d){var e=typeof a==="boolean";if(c.isFunction(a)&&c.isFunction(b))this._toggle.apply(this,arguments);else a==null||e?this.each(function(){var f=e?a:c(this).is(":hidden");c(this)[f?"show":"hide"]()}):this.animate(S("toggle",3),a,b,d);return this},fadeTo:function(a,b,d,e){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,d,e)},animate:function(a,b,d,e){var f=c.speed(b,
d,e);if(c.isEmptyObject(a))return this.each(f.complete);return this[f.queue===false?"each":"queue"](function(){var h=c.extend({},f),l,k=this.nodeType===1,o=k&&c(this).is(":hidden"),x=this;for(l in a){var r=c.camelCase(l);if(l!==r){a[r]=a[l];delete a[l];l=r}if(a[l]==="hide"&&o||a[l]==="show"&&!o)return h.complete.call(this);if(k&&(l==="height"||l==="width")){h.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY];if(c.css(this,"display")==="inline"&&c.css(this,"float")==="none")if(c.support.inlineBlockNeedsLayout)if(qa(this.nodeName)===
"inline")this.style.display="inline-block";else{this.style.display="inline";this.style.zoom=1}else this.style.display="inline-block"}if(c.isArray(a[l])){(h.specialEasing=h.specialEasing||{})[l]=a[l][1];a[l]=a[l][0]}}if(h.overflow!=null)this.style.overflow="hidden";h.curAnim=c.extend({},a);c.each(a,function(A,C){var J=new c.fx(x,h,A);if(vb.test(C))J[C==="toggle"?o?"show":"hide":C](a);else{var w=wb.exec(C),I=J.cur()||0;if(w){var L=parseFloat(w[2]),g=w[3]||"px";if(g!=="px"){c.style(x,A,(L||1)+g);I=(L||
1)/J.cur()*I;c.style(x,A,I+g)}if(w[1])L=(w[1]==="-="?-1:1)*L+I;J.custom(I,L,g)}else J.custom(I,C,"")}});return true})},stop:function(a,b){var d=c.timers;a&&this.queue([]);this.each(function(){for(var e=d.length-1;e>=0;e--)if(d[e].elem===this){b&&d[e](true);d.splice(e,1)}});b||this.dequeue();return this}});c.each({slideDown:S("show",1),slideUp:S("hide",1),slideToggle:S("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){c.fn[a]=function(d,e,f){return this.animate(b,
d,e,f)}});c.extend({speed:function(a,b,d){var e=a&&typeof a==="object"?c.extend({},a):{complete:d||!d&&b||c.isFunction(a)&&a,duration:a,easing:d&&b||b&&!c.isFunction(b)&&b};e.duration=c.fx.off?0:typeof e.duration==="number"?e.duration:e.duration in c.fx.speeds?c.fx.speeds[e.duration]:c.fx.speeds._default;e.old=e.complete;e.complete=function(){e.queue!==false&&c(this).dequeue();c.isFunction(e.old)&&e.old.call(this)};return e},easing:{linear:function(a,b,d,e){return d+e*a},swing:function(a,b,d,e){return(-Math.cos(a*
Math.PI)/2+0.5)*e+d}},timers:[],fx:function(a,b,d){this.options=b;this.elem=a;this.prop=d;if(!b.orig)b.orig={}}});c.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(c.fx.step[this.prop]||c.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];var a=parseFloat(c.css(this.elem,this.prop));return a&&a>-1E4?a:0},custom:function(a,b,d){function e(l){return f.step(l)}
var f=this,h=c.fx;this.startTime=c.now();this.start=a;this.end=b;this.unit=d||this.unit||"px";this.now=this.start;this.pos=this.state=0;e.elem=this.elem;if(e()&&c.timers.push(e)&&!ba)ba=setInterval(h.tick,h.interval)},show:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());c(this.elem).show()},hide:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.hide=true;
this.custom(this.cur(),0)},step:function(a){var b=c.now(),d=true;if(a||b>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;for(var e in this.options.curAnim)if(this.options.curAnim[e]!==true)d=false;if(d){if(this.options.overflow!=null&&!c.support.shrinkWrapBlocks){var f=this.elem,h=this.options;c.each(["","X","Y"],function(k,o){f.style["overflow"+o]=h.overflow[k]})}this.options.hide&&c(this.elem).hide();if(this.options.hide||
this.options.show)for(var l in this.options.curAnim)c.style(this.elem,l,this.options.orig[l]);this.options.complete.call(this.elem)}return false}else{a=b-this.startTime;this.state=a/this.options.duration;b=this.options.easing||(c.easing.swing?"swing":"linear");this.pos=c.easing[this.options.specialEasing&&this.options.specialEasing[this.prop]||b](this.state,a,0,1,this.options.duration);this.now=this.start+(this.end-this.start)*this.pos;this.update()}return true}};c.extend(c.fx,{tick:function(){for(var a=
c.timers,b=0;b<a.length;b++)a[b]()||a.splice(b--,1);a.length||c.fx.stop()},interval:13,stop:function(){clearInterval(ba);ba=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){c.style(a.elem,"opacity",a.now)},_default:function(a){if(a.elem.style&&a.elem.style[a.prop]!=null)a.elem.style[a.prop]=(a.prop==="width"||a.prop==="height"?Math.max(0,a.now):a.now)+a.unit;else a.elem[a.prop]=a.now}}});if(c.expr&&c.expr.filters)c.expr.filters.animated=function(a){return c.grep(c.timers,function(b){return a===
b.elem}).length};var xb=/^t(?:able|d|h)$/i,Ia=/^(?:body|html)$/i;c.fn.offset="getBoundingClientRect"in t.documentElement?function(a){var b=this[0],d;if(a)return this.each(function(l){c.offset.setOffset(this,a,l)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);try{d=b.getBoundingClientRect()}catch(e){}var f=b.ownerDocument,h=f.documentElement;if(!d||!c.contains(h,b))return d||{top:0,left:0};b=f.body;f=fa(f);return{top:d.top+(f.pageYOffset||c.support.boxModel&&
h.scrollTop||b.scrollTop)-(h.clientTop||b.clientTop||0),left:d.left+(f.pageXOffset||c.support.boxModel&&h.scrollLeft||b.scrollLeft)-(h.clientLeft||b.clientLeft||0)}}:function(a){var b=this[0];if(a)return this.each(function(x){c.offset.setOffset(this,a,x)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);c.offset.initialize();var d,e=b.offsetParent,f=b.ownerDocument,h=f.documentElement,l=f.body;d=(f=f.defaultView)?f.getComputedStyle(b,null):b.currentStyle;
for(var k=b.offsetTop,o=b.offsetLeft;(b=b.parentNode)&&b!==l&&b!==h;){if(c.offset.supportsFixedPosition&&d.position==="fixed")break;d=f?f.getComputedStyle(b,null):b.currentStyle;k-=b.scrollTop;o-=b.scrollLeft;if(b===e){k+=b.offsetTop;o+=b.offsetLeft;if(c.offset.doesNotAddBorder&&!(c.offset.doesAddBorderForTableAndCells&&xb.test(b.nodeName))){k+=parseFloat(d.borderTopWidth)||0;o+=parseFloat(d.borderLeftWidth)||0}e=b.offsetParent}if(c.offset.subtractsBorderForOverflowNotVisible&&d.overflow!=="visible"){k+=
parseFloat(d.borderTopWidth)||0;o+=parseFloat(d.borderLeftWidth)||0}d=d}if(d.position==="relative"||d.position==="static"){k+=l.offsetTop;o+=l.offsetLeft}if(c.offset.supportsFixedPosition&&d.position==="fixed"){k+=Math.max(h.scrollTop,l.scrollTop);o+=Math.max(h.scrollLeft,l.scrollLeft)}return{top:k,left:o}};c.offset={initialize:function(){var a=t.body,b=t.createElement("div"),d,e,f,h=parseFloat(c.css(a,"marginTop"))||0;c.extend(b.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",
height:"1px",visibility:"hidden"});b.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>";a.insertBefore(b,a.firstChild);d=b.firstChild;e=d.firstChild;f=d.nextSibling.firstChild.firstChild;this.doesNotAddBorder=e.offsetTop!==5;this.doesAddBorderForTableAndCells=
f.offsetTop===5;e.style.position="fixed";e.style.top="20px";this.supportsFixedPosition=e.offsetTop===20||e.offsetTop===15;e.style.position=e.style.top="";d.style.overflow="hidden";d.style.position="relative";this.subtractsBorderForOverflowNotVisible=e.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==h;a.removeChild(b);c.offset.initialize=c.noop},bodyOffset:function(a){var b=a.offsetTop,d=a.offsetLeft;c.offset.initialize();if(c.offset.doesNotIncludeMarginInBodyOffset){b+=parseFloat(c.css(a,
"marginTop"))||0;d+=parseFloat(c.css(a,"marginLeft"))||0}return{top:b,left:d}},setOffset:function(a,b,d){var e=c.css(a,"position");if(e==="static")a.style.position="relative";var f=c(a),h=f.offset(),l=c.css(a,"top"),k=c.css(a,"left"),o=e==="absolute"&&c.inArray("auto",[l,k])>-1;e={};var x={};if(o)x=f.position();l=o?x.top:parseInt(l,10)||0;k=o?x.left:parseInt(k,10)||0;if(c.isFunction(b))b=b.call(a,d,h);if(b.top!=null)e.top=b.top-h.top+l;if(b.left!=null)e.left=b.left-h.left+k;"using"in b?b.using.call(a,
e):f.css(e)}};c.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),d=this.offset(),e=Ia.test(b[0].nodeName)?{top:0,left:0}:b.offset();d.top-=parseFloat(c.css(a,"marginTop"))||0;d.left-=parseFloat(c.css(a,"marginLeft"))||0;e.top+=parseFloat(c.css(b[0],"borderTopWidth"))||0;e.left+=parseFloat(c.css(b[0],"borderLeftWidth"))||0;return{top:d.top-e.top,left:d.left-e.left}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||t.body;a&&!Ia.test(a.nodeName)&&
c.css(a,"position")==="static";)a=a.offsetParent;return a})}});c.each(["Left","Top"],function(a,b){var d="scroll"+b;c.fn[d]=function(e){var f=this[0],h;if(!f)return null;if(e!==B)return this.each(function(){if(h=fa(this))h.scrollTo(!a?e:c(h).scrollLeft(),a?e:c(h).scrollTop());else this[d]=e});else return(h=fa(f))?"pageXOffset"in h?h[a?"pageYOffset":"pageXOffset"]:c.support.boxModel&&h.document.documentElement[d]||h.document.body[d]:f[d]}});c.each(["Height","Width"],function(a,b){var d=b.toLowerCase();
c.fn["inner"+b]=function(){return this[0]?parseFloat(c.css(this[0],d,"padding")):null};c.fn["outer"+b]=function(e){return this[0]?parseFloat(c.css(this[0],d,e?"margin":"border")):null};c.fn[d]=function(e){var f=this[0];if(!f)return e==null?null:this;if(c.isFunction(e))return this.each(function(l){var k=c(this);k[d](e.call(this,l,k[d]()))});if(c.isWindow(f))return f.document.compatMode==="CSS1Compat"&&f.document.documentElement["client"+b]||f.document.body["client"+b];else if(f.nodeType===9)return Math.max(f.documentElement["client"+
b],f.body["scroll"+b],f.documentElement["scroll"+b],f.body["offset"+b],f.documentElement["offset"+b]);else if(e===B){f=c.css(f,d);var h=parseFloat(f);return c.isNaN(h)?f:h}else return this.css(d,typeof e==="string"?e:e+"px")}})})(window);



/* fileadmin/templates/sw2009/js/ui.js */
function enable_events(){$j('.event-table .event-toggle').click(function(){$j(this).parent().parent().next().toggle();$j(this).toggleClass('open');});}
function xhtml10_strict(){$j('div.service_set li.tagebuch a').attr('target','_blank');}
function render_jsl(){$j('.jsl').each(function(){var _u=$j(this).html();_u='<a href="http://'+_u+'" target="_blank">'+_u+'</a>';$j(this).html(_u);$j(this).removeClass('jsl');});$j('.jsli').each(function(){var _u=$j(this).html();var _arr=$j(this).attr('data').split('|');_u='<a href="http://'+_arr[0]+'" target="_blank" title="'+_arr[1]+'">'+_u+'</a>';$j(this).html(_u);$j(this).removeClass('jsli');$j(this).attr('data','');});}
function comments_enable_values(){var _name_str='Name (verpflichtend)';var _email_str='E-Mail Adresse';var _content_str='Ihr Kommentar';var _name=$j('#tx_comments_pi1_firstname');var _email=$j('#tx_comments_pi1_email');var _content=$j('#tx_comments_pi1_content');_name.before('<input type="hidden" name="tx_comments_pi1[spam]" id="tx_comments_pi1_spam" value="nospam" />');_name.val(_name_str);_email.val(_email_str);_content.val(_content_str);_name.focus(function(){$j(this).val('');});_email.focus(function(){$j(this).val('');});_content.focus(function(){$j(this).val('');});$j('.tx-comments-pi1 form').submit(function(){var _name_str='Name (verpflichtend)';var _email_str='E-Mail Adresse';var _content_str='Ihr Kommentar';var _name=$j('#tx_comments_pi1_firstname');var _email=$j('#tx_comments_pi1_email');var _content=$j('#tx_comments_pi1_content');if((_name.val()==_name_str)||(_name.val()=='')){alert('Bitte geben Sie Ihren Namen an!');return false;}
if((_content.val()==_content_str)||(_content.val()=='')){alert('Bitte geben Sie einen Kommentar ab.');return false;}
if((_email.val()==_email_str)||(_email.val()=='')){_email.val('');}
return true;});}
var gallery_enabled=true;function gallery_can_move(left,gallery,direction){var strip=gallery.find('.gallery_strip');var _can_move=false;if(direction=='left'){_can_move=((strip.width()+left)>(gallery.width()-40));if(_can_move){gallery.find('.gallery_left').removeClass('gallery_left_disabled');gallery.find('.gallery_button_left').show();}else{gallery.find('.gallery_left').addClass('gallery_left_disabled');gallery.find('.gallery_button_left').hide();}}else{_can_move=(left<15);if(_can_move){gallery.find('.gallery_right').removeClass('gallery_right_disabled');gallery.find('.gallery_button_right').show();}else{gallery.find('.gallery_right').addClass('gallery_right_disabled');gallery.find('.gallery_button_right').hide();}}
return _can_move;}
function gallery_pan_strip(gallery,direction,animate){var strip=gallery.find('.gallery_strip');var left=strip.offset().left;if(direction=='left'){if(gallery_can_move(left,gallery,direction)){gallery_can_move(left-147,gallery,'left');gallery_can_move(left-147,gallery,'right');if(animate==true){gallery_enabled=false;strip.animate({'left':'-=147px'},'slow',function(){gallery_enabled=true;});}}}else{if(gallery_can_move(left,gallery,direction)){gallery_can_move(left+147,gallery,'left');gallery_can_move(left+147,gallery,'right');if(animate==true){gallery_enabled=false;strip.animate({'left':'+=147px'},'slow',function(){gallery_enabled=true;});}}}
return false;}
function gallery_enable_buttons(){$j('.gallery_strip').each(function(){var _img_container=$j(this).children();var _width=0;for(var i=0;i<_img_container.length;i++){_width+=$j(_img_container[i]).width();}
$j(this).width(_width+10);});$j('.gallery_button_left').click(function(){if(gallery_enabled){var gallery=$j(this).parent();return gallery_pan_strip(gallery,'left',true);}else return false;});$j('.gallery_button_right').click(function(){if(gallery_enabled){var gallery=$j(this).parent();return gallery_pan_strip(gallery,'right',true);}else return false;});$j('.gallery').each(function(){gallery_pan_strip($j(this),'left',false);gallery_pan_strip($j(this),'right',false);});}
var $j=jQuery.noConflict();$j(document).ready(function(){render_jsl();enable_events();gallery_enable_buttons();comments_enable_values();xhtml10_strict();});

/* typo3conf/ext/perfectlightbox/res/js/prototype-packed.js */
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('m 17={5N:"1.5.0",5K:{5t:!!J.48},3Y:"(?:<4M.*?>)((\\n|\\r|.)*?)(?:</4M>)",2y:7(){},K:7(x){k x}};m 1j={1h:7(){k 7(){6.1C.1R(6,O)}}};m 1q=N B();B.v=7(a,b){U(m c 1J b){a[c]=b[c]}k a};B.v(B,{Y:7(a){1u{l(a===V){k"V"}l(a===Q){k"Q"}k a.Y?a.Y():a.1L()}1A(e){l(e 9u 9o){k"..."}1V e;}},6t:7(a){m b=[];U(m c 1J a){b.G(c)}k b},1E:7(a){m b=[];U(m c 1J a){b.G(a[c])}k b},3s:7(a){k B.v({},a)}});4P.C.1i=7(){m a=6,1W=$A(O),4E=1W.4A();k 7(){k a.1R(4E,1W.1s($A(O)))}};4P.C.8z=7(b){m c=6,1W=$A(O),b=1W.4A();k 7(a){k c.1R(b,[(a||1d.8g)].1s(1W).1s($A(O)))}};B.v(89.C,{88:7(){m a=6.1L(16);l(6<16){k"0"+a}k a},5G:7(){k 6+1},7V:7(a){$R(0,6,14).P(a);k 6}});m 7F={7z:7(){m a;U(m i=0,u=O.u;i<u;i++){m b=O[i];1u{a=b();15}1A(e){}}k a}};m 7f=1j.1h();7f.C={1C:7(a,b){6.2R=a;6.2x=b;6.4d=11;6.2z()},2z:7(){6.2V=6V(6.2w.1i(6),6.2x*5b)},59:7(){l(!6.2V){k}9A(6.2V);6.2V=Q},2w:7(){l(!6.4d){1u{6.4d=14;6.2R(6)}9x{6.4d=11}}}};1M.54=7(a){k a==Q?"":1M(a)};B.v(1M.C,{1N:7(a,b){m c="",2h=6,I;b=O.9j.4W(b);1e(2h.u>0){l(I=2h.I(a)){c+=2h.2Q(0,I.6r);c+=1M.54(b(I));2h=2h.2Q(I.6r+I[0].u)}12{c+=2h,2h=""}}k c},97:7(b,c,d){c=6.1N.4W(c);d=d===V?1:d;k 6.1N(b,7(a){l(--d<0){k a[0]}k c(a)})},93:7(a,b){6.1N(a,b);k 6},91:7(a,b){a=a||30;b=b===V?"...":b;k 6.u>a?6.2Q(0,a-b.u)+b:6},3D:7(){k 6.1P(/^\\s+/,"").1P(/\\s+$/,"")},6f:7(){k 6.1P(/<\\/?[^>]+>/3O,"")},1Y:7(){k 6.1P(N 4l(17.3Y,"68"),"")},64:7(){m b=N 4l(17.3Y,"68");m c=N 4l(17.3Y,"8O");k(6.I(b)||[]).1k(7(a){k(a.I(c)||["",""])[1]})},2M:7(){k 6.64().1k(7(a){k 4z(a)})},8E:7(){m a=J.3g("3E");m b=J.8m(6);a.4w(b);k a.20},8d:7(){m c=J.3g("3E");c.20=6.6f();k c.23[0]?(c.23.u>1?$A(c.23).1T("",7(a,b){k a+b.3B}):c.23[0].3B):""},4G:7(e){m f=6.3D().I(/([^?#]*)(#.*)?$/);l(!f){k{}}k f[1].2C(e||"&").1T({},7(a,b){l((b=b.2C("="))[0]){m c=80(b[0]);m d=b[1]?80(b[1]):V;l(a[c]!==V){l(a[c].2r!=1p){a[c]=[a[c]]}l(d){a[c].G(d)}}12{a[c]=d}}k a})},1U:7(){k 6.2C("")},5G:7(){k 6.2Q(0,6.u-1)+1M.aY(6.aT(6.u-1)+1)},5C:7(){m a=6.2C("-"),5B=a.u;l(5B==1){k a[0]}m b=6.3V(0)=="-"?a[0].3V(0).1B()+a[0].5w(1):a[0];U(m i=1;i<5B;i++){b+=a[i].3V(0).1B()+a[i].5w(1)}k b},7C:7(){k 6.3V(0).1B()+6.5w(1).1z()},aI:7(){k 6.1N(/::/,"/").1N(/([A-Z]+)([A-Z][a-z])/,"#{1}3y#{2}").1N(/([a-z\\d])([A-Z])/,"#{1}3y#{2}").1N(/-/,"3y").1z()},az:7(){k 6.1N(/3y/,"-")},Y:7(a){m b=6.1P(/\\\\/g,"\\\\\\\\");l(a){k"\\""+b.1P(/"/g,"\\\\\\"")+"\\""}12{k"\'"+b.1P(/\'/g,"\\\\\'")+"\'"}}});1M.C.1N.4W=7(b){l(1f b=="7"){k b}m c=N 3t(b);k 7(a){k c.48(a)}};1M.C.an=1M.C.4G;m 3t=1j.1h();3t.7a=/(^|.|\\r|\\n)(#\\{(.*?)\\})/;3t.C={1C:7(a,b){6.79=a.1L();6.78=b||3t.7a},48:7(c){k 6.79.1N(6.78,7(a){m b=a[1];l(b=="\\\\"){k a[2]}k b+1M.54(c[a[3]])})}};m $15=N B();m $4c=N B();m 1w={P:7(b){m c=0;1u{6.29(7(a){1u{b(a,c++)}1A(e){l(e!=$4c){1V e;}}})}1A(e){l(e!=$15){1V e;}}k 6},74:7(a,b){m c=-a,5h=[],5g=6.1U();1e((c+=a)<5g.u){5h.G(5g.2Q(c,c+a))}k 5h.1k(b)},5m:7(c){m d=14;6.P(7(a,b){d=d&&!!(c||17.K)(a,b);l(!d){1V $15;}});k d},9T:7(c){m d=11;6.P(7(a,b){l(d=!!(c||17.K)(a,b)){1V $15;}});k d},6U:7(c){m d=[];6.P(7(a,b){d.G((c||17.K)(a,b))});k d},6T:7(c){m d;6.P(7(a,b){l(c(a,b)){d=a;1V $15;}});k d},6S:7(c){m d=[];6.P(7(a,b){l(c(a,b)){d.G(a)}});k d},9J:7(d,e){m f=[];6.P(7(a,b){m c=a.1L();l(c.I(d)){f.G((e||17.K)(a,b))}});k f},19:7(b){m c=11;6.P(7(a){l(a==b){c=14;1V $15;}});k c},9E:7(b,c){c=c===V?Q:c;k 6.74(b,7(a){1e(a.u<b){a.G(c)}k a})},1T:7(c,d){6.P(7(a,b){c=d(c,a,b)});k c},9C:7(b){m c=$A(O).2Q(1);k 6.1k(7(a){k a[b].1R(a,c)})},9z:7(c){m d;6.P(7(a,b){a=(c||17.K)(a,b);l(d==V||a>=d){d=a}});k d},9y:7(c){m d;6.P(7(a,b){a=(c||17.K)(a,b);l(d==V||a<d){d=a}});k d},9w:7(c){m d=[],57=[];6.P(7(a,b){((c||17.K)(a,b)?d:57).G(a)});k[d,57]},3p:7(c){m d=[];6.P(7(a,b){d.G(a[c])});k d},9r:7(c){m d=[];6.P(7(a,b){l(!c(a,b)){d.G(a)}});k d},9p:7(e){k 6.1k(7(a,b){k{T:a,51:e(a,b)}}).9n(7(c,d){m a=c.51,b=d.51;k a<b?-1:a>b?1:0}).3p("T")},1U:7(){k 6.1k()},9m:7(){m c=17.K,1W=$A(O);l(1f 1W.4Z()=="7"){c=1W.9l()}m d=[6].1s(1W).1k($A);k 6.1k(7(a,b){k c(d.3p(b))})},6z:7(){k 6.1U().u},Y:7(){k"#<1w:"+6.1U().Y()+">"}};B.v(1w,{1k:1w.6U,6x:1w.6T,1F:1w.6S,9i:1w.19,9h:1w.1U});m $A=1p.9f=7(a){l(!a){k[]}l(a.1U){k a.1U()}12{m b=[];U(m i=0,u=a.u;i<u;i++){b.G(a[i])}k b}};B.v(1p.C,1w);l(!1p.C.4U){1p.C.4U=1p.C.3Z}B.v(1p.C,{29:7(a){U(m i=0,u=6.u;i<u;i++){a(6[i])}},6s:7(){6.u=0;k 6},3k:7(){k 6[0]},4Z:7(){k 6[6.u-1]},6q:7(){k 6.1F(7(a){k a!=Q})},4T:7(){k 6.1T([],7(a,b){k a.1s(b&&b.2r==1p?b.4T():[b])})},4R:7(){m b=$A(O);k 6.1F(7(a){k!b.19(a)})},6p:7(a){U(m i=0,u=6.u;i<u;i++){l(6[i]==a){k i}}k-1},3Z:7(a){k(a!==11?6:6.1U()).4U()},6o:7(){k 6.u>1?6:6[0]},96:7(){k 6.1T([],7(a,b){k a.19(b)?a:a.1s([b])})},3s:7(){k[].1s(6)},6z:7(){k 6.u},Y:7(){k"["+6.1k(B.Y).22(", ")+"]"}});1p.C.1U=1p.C.3s;7 $w(a){a=a.3D();k a?a.2C(/\\s+/):[]}l(1d.24){1p.C.1s=7(){m a=[];U(m i=0,u=6.u;i<u;i++){a.G(6[i])}U(m i=0,u=O.u;i<u;i++){l(O[i].2r==1p){U(m j=0,6m=O[i].u;j<6m;j++){a.G(O[i][j])}}12{a.G(O[i])}}k a}}m 1D=7(a){B.v(6,a||{})};B.v(1D,{2G:7(d){m e=[];6.C.29.8X(d,7(b){l(!b.2k){k}l(b.T&&b.T.2r==1p){m c=b.T.6q();l(c.u<2){b.T=c.6o()}12{2k=3R(b.2k);c.P(7(a){a=a!=V?3R(a):"";e.G(2k+"="+3R(a))});k}}l(b.T==V){b[1]=""}e.G(b.1k(3R).22("="))});k e.22("&")}});B.v(1D.C,1w);B.v(1D.C,{29:7(a){U(m b 1J 6){m c=6[b];l(c&&c==1D.C[b]){4c}m d=[b,c];d.2k=b;d.T=c;a(d)}},6t:7(){k 6.3p("2k")},1E:7(){k 6.3p("T")},8W:7(c){k $H(c).1T(6,7(a,b){a[b.2k]=b.T;k a})},3v:7(){m a;U(m i=0,u=O.u;i<u;i++){m b=6[O[i]];l(b!==V){l(a===V){a=b}12{l(a.2r!=1p){a=[a]}a.G(b)}}8V 6[O[i]]}k a},2G:7(){k 1D.2G(6)},Y:7(){k"#<1D:{"+6.1k(7(a){k a.1k(B.Y).22(": ")}).22(", ")+"}>"}});7 $H(a){l(a&&a.2r==1D){k a}k N 1D(a)}3P=1j.1h();B.v(3P.C,1w);B.v(3P.C,{1C:7(a,b,c){6.3z=a;6.4J=b;6.6b=c},29:7(a){m b=6.3z;1e(6.19(b)){a(b);b=b.5G()}},19:7(a){l(a<6.3z){k 11}l(6.6b){k a<6.4J}k a<=6.4J}});m $R=7(a,b,c){k N 3P(a,b,c)};m W={4H:7(){k 7F.7z(7(){k N 69()},7(){k N 67("8R.65")},7(){k N 67("8Q.65")})||11},4D:0};W.2W={3A:[],29:7(a){6.3A.29(a)},61:7(a){l(!6.19(a)){6.3A.G(a)}},8K:7(a){6.3A=6.3A.4R(a)},3K:7(b,c,d,f){6.P(7(a){l(1f a[b]=="7"){1u{a[b].1R(a,[c,d,f])}1A(e){}}})}};B.v(W.2W,1w);W.2W.61({5Z:7(){W.4D++},1Z:7(){W.4D--}});W.3J=7(){};W.3J.C={3I:7(a){6.L={1G:"3f",3H:14,5W:"4x/x-8i-5V-8f",4t:"8c-8",3e:""};B.v(6.L,a||{});6.L.1G=6.L.1G.1z();l(1f 6.L.3e=="3d"){6.L.3e=6.L.3e.4G()}}};W.3c=1j.1h();W.3c.5O=["87","86","85","83","5M"];W.3c.C=B.v(N W.3J(),{4y:11,1C:7(a,b){6.18=W.4H();6.3I(b);6.5J(a)},5J:7(a){6.32=a;6.1G=6.L.1G;m b=6.L.3e;l(!["7Z","3f"].19(6.1G)){b["b2"]=6.1G;6.1G="3f"}b=1D.2G(b);l(b&&/31|2Z|2U/.2a(1I.25)){b+="&3y="}l(6.1G=="7Z"&&b){6.32+=(6.32.6p("?")>-1?"&":"?")+b}1u{W.2W.3K("5Z",6,6.18);6.18.aW(6.1G.1B(),6.32,6.L.3H);l(6.L.3H){2t(7(){6.4K(1)}.1i(6),10)}6.18.7N=6.4N.1i(6);6.7L();m c=6.1G=="3f"?(6.L.aQ||b):Q;6.18.aP(c);l(!6.L.3H&&6.18.7J){6.4N()}}1A(e){6.3l(e)}},4N:7(){m a=6.18.7E;l(a>1&&!((a==4)&&6.4y)){6.4K(6.18.7E)}},7L:7(){m b={"X-aM-aL":"69","X-17-5N":17.5N,"aK":"2J/7y, 2J/aH, 4x/7u, 2J/7u, */*"};l(6.1G=="3f"){b["7t-21"]=6.L.5W+(6.L.4t?"; aE="+6.L.4t:"");l(6.18.7J&&(1I.25.I(/7q\\/(\\d{4})/)||[0,7n])[1]<7n){b["aB"]="ay"}}l(1f 6.L.7j=="4E"){m c=6.L.7j;l(1f c.G=="7"){U(m i=0,u=c.u;i<u;i+=2){b[c[i]]=c[i+1]}}12{$H(c).P(7(a){b[a.2k]=a.T})}}U(m d 1J b){6.18.av(d,b[d])}},2n:7(){k!6.18.49||(6.18.49>=au&&6.18.49<ar)},4K:7(a){m b=W.3c.5O[a];m c=6.18,4a=6.7b();l(b=="5M"){1u{6.4y=14;(6.L["3a"+6.18.49]||6.L["3a"+(6.2n()?"ak":"ai")]||17.2y)(c,4a)}1A(e){6.3l(e)}l((6.5k("7t-21")||"2J/7y").3D().I(/^(2J|4x)\\/(x-)?(ae|ab)4M(;.*)?$/i)){6.77()}}1u{(6.L["3a"+b]||17.2y)(c,4a);W.2W.3K("3a"+b,6,c,4a)}1A(e){6.3l(e)}l(b=="5M"){6.18.7N=17.2y}},5k:7(a){1u{k 6.18.a8(a)}1A(e){k Q}},7b:7(){1u{m a=6.5k("X-a6");k a?4z("("+a+")"):Q}1A(e){k Q}},77:7(){1u{k 4z(6.18.4b)}1A(e){6.3l(e)}},3l:7(a){(6.L.76||17.2y)(6,a);W.2W.3K("76",6,a)}});W.5j=1j.1h();B.v(B.v(W.5j.C,W.3c.C),{1C:7(c,d,e){6.4f={2n:(c.2n||c),5i:(c.5i||(c.2n?Q:c))};6.18=W.4H();6.3I(e);m f=6.L.1Z||17.2y;6.L.1Z=(7(a,b){6.7c();f(a,b)}).1i(6);6.5J(d)},7c:7(){m a=6.4f[6.2n()?"2n":"5i"];m b=6.18.4b;l(!6.L.2M){b=b.1Y()}l(a=$(a)){l(6.L.73){N 6.L.73(a,b)}12{a.5l(b)}}l(6.2n()){l(6.1Z){2t(6.1Z.1i(6),10)}}}});W.71=1j.1h();W.71.C=B.v(N W.3J(),{1C:7(a,b,c){6.3I(c);6.1Z=6.L.1Z;6.2x=(6.L.2x||2);6.2u=(6.L.2u||1);6.5o={};6.4f=a;6.32=b;6.3z()},3z:7(){6.L.1Z=6.6Y.1i(6);6.2w()},59:7(){6.5o.L.1Z=V;9U(6.2V);(6.1Z||17.2y).1R(6,O)},6Y:7(a){l(6.L.2u){6.2u=(a.4b==6.6W?6.2u*6.L.2u:1);6.6W=a.4b}6.2V=2t(6.2w.1i(6),6.2u*6.2x*5b)},2w:7(){6.5o=N W.5j(6.4f,6.32,6.L)}});7 $(a){l(O.u>1){U(m i=0,5d=[],u=O.u;i<u;i++){5d.G($(O[i]))}k 5d}l(1f a=="3d"){a=J.9Q(a)}k o.v(a)}l(17.5K.5t){J.7o=7(a,b){m c=[];m d=J.48(a,$(b)||J,Q,9N.9M,Q);U(m i=0,u=d.9L;i<u;i++){c.G(d.9K(i))}k c}}J.5v=7(a,b){l(17.5K.5t){m q=".//*[9H(1s(\' \', @7K, \' \'), \' "+a+" \')]";k J.7o(q,b)}12{m c=($(b)||J.1x).3j("*");m d=[],4p;U(m i=0,u=c.u;i<u;i++){4p=c[i];l(o.3M(4p,a)){d.G(o.v(4p))}}k d}};l(!1d.o){m o=N B()}o.v=7(a){l(!a||5E||a.4s==3){k a}l(!a.6I&&a.1a&&a!=1d){m b=B.3s(o.1c),3q=o.v.3q;l(a.1a=="9v"){B.v(b,M.1c)}l(["9t","9s","9q"].19(a.1a)){B.v(b,M.o.1c)}B.v(b,o.1c.55);U(m c 1J b){m d=b[c];l(1f d=="7"&&!(c 1J a)){a[c]=3q.53(d)}}}a.6I=14;k a};o.v.3q={53:7(a){k 6[a]=6[a]||7(){k a.1R(Q,[6].1s($A(O)))}}};o.1c={52:7(a){k $(a).D.26!="47"},6F:7(a){a=$(a);o[o.52(a)?"6E":"6D"](a);k a},6E:7(a){$(a).D.26="47";k a},6D:7(a){$(a).D.26="";k a},3v:7(a){a=$(a);a.1K.50(a);k a},5l:7(a,b){b=1f b=="V"?"":b.1L();$(a).20=b.1Y();2t(7(){b.2M()},10);k a},1P:7(a,b){a=$(a);b=1f b=="V"?"":b.1L();l(a.6C){a.6C=b.1Y()}12{m c=a.6B.6A();c.4Y(a);a.1K.9k(c.6y(b.1Y()),a)}2t(7(){b.2M()},10);k a},Y:7(d){d=$(d);m e="<"+d.1a.1z();$H({"2L":"2L","44":"7K"}).P(7(a){m b=a.3k(),6w=a.4Z();m c=(d[b]||"").1L();l(c){e+=" "+6w+"="+c.Y(14)}});k e+">"},43:7(a,b){a=$(a);m c=[];1e(a=a[b]){l(a.4s==1){c.G(o.v(a))}}k c},6v:7(a){k $(a).43("1K")},6u:7(a){k $A($(a).3j("*"))},9g:7(a){l(!(a=$(a).42)){k[]}1e(a&&a.4s!=1){a=a.41}l(a){k[a].1s($(a).3X())}k[]},4V:7(a){k $(a).43("9e")},3X:7(a){k $(a).43("41")},9d:7(a){a=$(a);k a.4V().3Z().1s(a.3X())},I:7(a,b){l(1f b=="3d"){b=N 1v(b)}k b.I($(a))},9c:7(a,b,c){k 1v.2K($(a).6v(),b,c)},9b:7(a,b,c){k 1v.2K($(a).6u(),b,c)},9a:7(a,b,c){k 1v.2K($(a).4V(),b,c)},99:7(a,b,c){k 1v.2K($(a).3X(),b,c)},98:7(){m a=$A(O),E=$(a.4A());k 1v.4S(E,a)},5v:7(a,b){k J.5v(b,a)},56:7(a,b){a=$(a);l(J.5m&&!1d.24){m t=o.1H;l(t.1E[b]){k t.1E[b](a,b)}l(t.3W[b]){b=t.3W[b]}m c=a.3o[b];l(c){k c.3B}}k a.6n(b)},95:7(a){k $(a).4Q().2g},94:7(a){k $(a).4Q().2f},2s:7(a){k N o.3T(a)},3M:7(a,b){l(!(a=$(a))){k}m c=a.44;l(c.u==0){k 11}l(c==b||c.I(N 4l("(^|\\\\s)"+b+"(\\\\s|$)"))){k 14}k 11},92:7(a,b){l(!(a=$(a))){k}o.2s(a).4O(b);k a},90:7(a,b){l(!(a=$(a))){k}o.2s(a).3v(b);k a},8Z:7(a,b){l(!(a=$(a))){k}o.2s(a)[a.3M(b)?"3v":"4O"](b);k a},2H:7(){1b.2H.1R(1b,O);k $A(O).3k()},3S:7(){1b.3S.1R(1b,O);k $A(O).3k()},8Y:7(a){a=$(a);m b=a.42;1e(b){m c=b.41;l(b.4s==3&&!/\\S/.2a(b.3B)){a.50(b)}b=c}k a},6l:7(a){k $(a).20.I(/^\\s*$/)},6k:7(a,b){a=$(a),b=$(b);1e(a=a.1K){l(a==b){k 14}}k 11},6j:7(a){a=$(a);m b=28.3u(a);1d.6j(b[0],b[1]);k a},1r:7(a,b){a=$(a);l(["6i","3Q"].19(b)){b=(1f a.D.4k!="V"?"4k":"3Q")}b=b.5C();m c=a.D[b];l(!c){l(J.4L&&J.4L.6h){m d=J.4L.6h(a,Q);c=d?d[b]:Q}12{l(a.6g){c=a.6g[b]}}}l((c=="3h")&&["2f","2g"].19(b)&&(a.1r("26")!="47")){c=a["1y"+b.7C()]+"1Q"}l(1d.24&&["2i","2l","6d","6c"].19(b)){l(o.1r(a,"1l")=="4I"){c="3h"}}l(b=="4g"){l(c){k 2F(c)}l(c=(a.1r("2A")||"").I(/3x\\(4g=(.*)\\)/)){l(c[1]){k 2F(c[1])/6a}}k 1}k c=="3h"?Q:c},8U:7(a,b){a=$(a);U(m c 1J b){m d=b[c];l(c=="4g"){l(d==1){d=(/7q/.2a(1I.25)&&!/31|2Z|2U/.2a(1I.25))?0.8T:1;l(/5q/.2a(1I.25)&&!1d.24){a.D.2A=a.1r("2A").1P(/3x\\([^\\)]*\\)/3O,"")}}12{l(d===""){l(/5q/.2a(1I.25)&&!1d.24){a.D.2A=a.1r("2A").1P(/3x\\([^\\)]*\\)/3O,"")}}12{l(d<0.8S){d=0}l(/5q/.2a(1I.25)&&!1d.24){a.D.2A=a.1r("2A").1P(/3x\\([^\\)]*\\)/3O,"")+"3x(4g="+d*6a+")"}}}}12{l(["6i","3Q"].19(c)){c=(1f a.D.4k!="V")?"4k":"3Q"}}a.D[c.5C()]=d}k a},4Q:7(a){a=$(a);m b=$(a).1r("26");l(b!="47"&&b!=Q){k{2f:a.2O,2g:a.2T}}m c=a.D;m d=c.4F;m e=c.1l;m f=c.26;c.4F="4j";c.1l="2B";c.26="8P";m g=a.63;m h=a.62;c.26=f;c.1l=e;c.4F=d;k{2f:g,2g:h}},8N:7(a){a=$(a);m b=o.1r(a,"1l");l(b=="4I"||!b){a.4B=14;a.D.1l="4m";l(1d.24){a.D.2l=0;a.D.2i=0}}k a},8M:7(a){a=$(a);l(a.4B){a.4B=V;a.D.1l=a.D.2l=a.D.2i=a.D.6c=a.D.6d=""}k a},8L:7(a){a=$(a);l(a.2X){k a}a.2X=a.D.3L||"3h";l((o.1r(a,"3L")||"52")!="4j"){a.D.3L="4j"}k a},8J:7(a){a=$(a);l(!a.2X){k a}a.D.3L=a.2X=="3h"?"":a.2X;a.2X=Q;k a}};B.v(o.1c,{60:o.1c.6k});o.1H={};o.1H.3W={8I:"8H",8G:"8F",8D:"8C",8B:"8A",8y:"8x",8w:"8v",8u:"8t",8p:"8n",5X:"8l",8k:"8j"};o.1H.1E={5H:7(a,b){k a.6n(b,2)},3m:7(a,b){k $(a).3G(b)?b:Q},D:7(a){k a.D.8h.1z()},5U:7(a){m b=a.5T("5U");k b.5S?b.3B:Q}};B.v(o.1H.1E,{8e:o.1H.1E.5H,8b:o.1H.1E.5H,2c:o.1H.1E.3m,5R:o.1H.1E.3m,5X:o.1H.1E.3m,8a:o.1H.1E.3m});o.1c.55={3G:7(a,b){m t=o.1H;b=t.3W[b]||b;k $(a).5T(b).5S}};l(J.5m&&!1d.24){o.1c.5l=7(b,c){b=$(b);c=1f c=="V"?"":c.1L();m d=b.1a.1B();l(["5Q","4v","4u","5P"].19(d)){m e=J.3g("3E");3b(d){1g"5Q":1g"4v":e.20="<2d><2e>"+c.1Y()+"</2e></2d>";3F=2;15;1g"4u":e.20="<2d><2e><4r>"+c.1Y()+"</4r></2e></2d>";3F=3;15;1g"5P":e.20="<2d><2e><4r><5Y>"+c.1Y()+"</5Y></4r></2e></2d>";3F=4}$A(b.23).P(7(a){b.50(a)});3F.7V(7(){e=e.42});$A(e.23).P(7(a){b.4w(a)})}12{b.20=c.1Y()}2t(7(){c.2M()},10);k b}}B.v(o,o.1c);m 5E=11;l(/31|2Z|2U/.2a(1I.25)){["","M","8o","84","8q"].P(7(a){m b="8r"+a+"o";l(1d[b]){k}m c=1d[b]={};c.C=J.3g(a?a.1z():"3E").8s})}o.82=7(g){B.v(o.1c,g||{});7 3w(a,b,c){c=c||11;m d=o.v.3q;U(m e 1J a){m f=a[e];l(!c||!(e 1J b)){b[e]=d.53(f)}}}l(1f 5L!="V"){3w(o.1c,5L.C);3w(o.1c.55,5L.C,14);3w(M.1c,b6.C);[b5,b4,b3].P(7(a){3w(M.o.1c,a.C)});5E=14}};m 81=N B();81.26=o.6F;1q.1n=7(a){6.5I=a};1q.1n.C={1C:7(a,b){6.E=$(a);6.4q=b.1Y();l(6.5I&&6.E.7Y){1u{6.E.7Y(6.5I,6.4q)}1A(e){m c=6.E.1a.1B();l(["4v","4u"].19(c)){6.2Y(6.7X())}12{1V e;}}}12{6.2m=6.E.6B.6A();l(6.2D){6.2D()}6.2Y([6.2m.6y(6.4q)])}2t(7(){b.2M()},10)},7X:7(){m a=J.3g("3E");a.20="<2d><2e>"+6.4q+"</2e></2d>";k $A(a.23[0].23[0].23)}};m 1n=N B();1n.7W=1j.1h();1n.7W.C=B.v(N 1q.1n("b1"),{2D:7(){6.2m.b0(6.E)},2Y:7(b){b.P((7(a){6.E.1K.4C(a,6.E)}).1i(6))}});1n.7U=1j.1h();1n.7U.C=B.v(N 1q.1n("aZ"),{2D:7(){6.2m.4Y(6.E);6.2m.7T(14)},2Y:7(b){b.3Z(11).P((7(a){6.E.4C(a,6.E.42)}).1i(6))}});1n.66=1j.1h();1n.66.C=B.v(N 1q.1n("aX"),{2D:7(){6.2m.4Y(6.E);6.2m.7T(6.E)},2Y:7(b){b.P((7(a){6.E.4w(a)}).1i(6))}});1n.7S=1j.1h();1n.7S.C=B.v(N 1q.1n("aV"),{2D:7(){6.2m.aU(6.E)},2Y:7(b){b.P((7(a){6.E.1K.4C(a,6.E.41)}).1i(6))}});o.3T=1j.1h();o.3T.C={1C:7(a){6.E=$(a)},29:7(b){6.E.44.2C(/\\s+/).1F(7(a){k a.u>0}).29(b)},5D:7(a){6.E.44=a},4O:7(a){l(6.19(a)){k}6.5D($A(6).1s(a).22(" "))},3v:7(a){l(!6.19(a)){k}6.5D($A(6).4R(a).22(" "))},1L:7(){k $A(6).22(" ")}};B.v(o.3T.C,1w);m 1v=1j.1h();1v.C={1C:7(a){6.2E={2s:[]};6.3i=a.1L().3D();6.7P();6.7O()},7P:7(){7 4o(a){1V"aS aR 1J 7M: "+a;}l(6.3i==""){4o("6l 3i")}m b=6.2E,2b=6.3i,I,5A,1o,5z;1e(I=2b.I(/^(.*)\\[([a-5y-5x:-]+?)(?:([~\\|!]?=)(?:"([^"]*)"|([^\\]\\s]*)))?\\]$/i)){b.3o=b.3o||[];b.3o.G({2j:I[2],3U:I[3],T:I[4]||I[5]||""});2b=I[1]}l(2b=="*"){k 6.2E.7I=14}1e(I=2b.I(/^([^a-5y-5x-])?([a-5y-5x-]+)(.*)/i)){5A=I[1],1o=I[2],5z=I[3];3b(5A){1g"#":b.2L=1o;15;1g".":b.2s.G(1o);15;1g"":1g V:b.1a=1o.1B();15;45:4o(2b.Y())}2b=5z}l(2b.u>0){4o(2b.Y())}},7H:7(){m e=6.2E,1O=[],1o;l(e.7I){1O.G("14")}l(1o=e.2L){1O.G("E.56(\\"2L\\") == "+1o.Y())}l(1o=e.1a){1O.G("E.1a.1B() == "+1o.Y())}l((1o=e.2s).u>0){U(m i=0,u=1o.u;i<u;i++){1O.G("E.3M("+1o[i].Y()+")")}}l(1o=e.3o){1o.P(7(b){m c="E.56("+b.2j.Y()+")";m d=7(a){k c+" && "+c+".2C("+a.Y()+")"};3b(b.3U){1g"=":1O.G(c+" == "+b.T.Y());15;1g"~=":1O.G(d(" ")+".19("+b.T.Y()+")");15;1g"|=":1O.G(d("-")+".3k().1B() == "+b.T.1B().Y());15;1g"!=":1O.G(c+" != "+b.T.Y());15;1g"":1g V:1O.G("E.3G("+b.2j.Y()+")");15;45:1V"aO 3U "+b.3U+" 1J 7M";}})}k 1O.22(" && ")},7O:7(){6.I=N 4P("E","l (!E.1a) k 11;       E = $(E);       k "+6.7H())},7D:7(a){m b;l(b=$(6.2E.2L)){l(6.I(b)){l(!a||o.60(b,a)){k[b]}}}a=(a||J).3j(6.2E.1a||"*");m c=[];U(m i=0,u=a.u;i<u;i++){l(6.I(b=a[i])){c.G(o.v(b))}}k c},1L:7(){k 6.3i}};B.v(1v,{6H:7(a,b){m c=N 1v(b);k a.1F(c.I.1i(c)).1k(o.v)},2K:7(a,b,c){l(1f b=="aN"){c=b,b=11}k 1v.6H(a,b||"*")[c||0]},4S:7(g,h){k h.1k(7(f){k f.I(/[^\\s"]+(?:"[^"]*"[^\\s"]+)*/g).1T([Q],7(c,d){m e=N 1v(d);k c.1T([],7(a,b){k a.1s(e.7D(b||g))})})}).4T()}});7 $$(){k 1v.4S(J,$A(O))}m M={4X:7(a){$(a).4X();k a},7B:7(d,e){m f=d.1T({},7(a,b){l(!b.2c&&b.2j){m c=b.2j,T=$(b).1t();l(T!=V){l(a[c]){l(a[c].2r!=1p){a[c]=[a[c]]}a[c].G(T)}12{a[c]=T}}}k a});k e?f:1D.2G(f)}};M.1c={4n:7(a,b){k M.7B(M.2I(a),b)},2I:7(c){k $A($(c).3j("*")).1T([],7(a,b){l(M.o.3n[b.1a.1z()]){a.G(o.v(b))}k a})},aJ:7(a,b,c){a=$(a);m d=a.3j("3N");l(!b&&!c){k $A(d).1k(o.v)}U(m i=0,5u=[],u=d.u;i<u;i++){m e=d[i];l((b&&e.21!=b)||(c&&e.2j!=c)){4c}5u.G(o.v(e))}k 5u},7x:7(b){b=$(b);b.2I().P(7(a){a.6G();a.2c="14"});k b},7w:7(b){b=$(b);b.2I().P(7(a){a.2c=""});k b},7v:7(b){k $(b).2I().6x(7(a){k a.21!="4j"&&!a.2c&&["3N","1F","5s"].19(a.1a.1z())})},aG:7(a){a=$(a);a.7v().7s();k a}};B.v(M,M.1c);M.o={5r:7(a){$(a).5r();k a},1F:7(a){$(a).1F();k a}};M.o.1c={4n:7(a){a=$(a);l(!a.2c&&a.2j){m b=a.1t();l(b!=V){m c={};c[a.2j]=b;k 1D.2G(c)}}k""},1t:7(a){a=$(a);m b=a.1a.1z();k M.o.3n[b](a)},6s:7(a){$(a).T="";k a},aF:7(a){k $(a).T!=""},7s:7(a){a=$(a);a.5r();l(a.1F&&(a.1a.1z()!="3N"||!["58","4X","aD"].19(a.21))){a.1F()}k a},7x:7(a){a=$(a);a.2c=14;k a},7w:7(a){a=$(a);a.6G();a.2c=11;k a}};B.v(M.o,M.o.1c);m aC=M.o;m $F=M.o.1t;M.o.3n={3N:7(a){3b(a.21.1z()){1g"7p":1g"6R":k M.o.3n.6P(a);45:k M.o.3n.5s(a)}},6P:7(a){k a.5R?a.T:Q},5s:7(a){k a.T},1F:7(a){k 6[a.21=="1F-aA"?"6M":"7l"](a)},6M:7(a){m b=a.ax;k b>=0?6.5a(a.L[b]):Q},7l:7(a){m b,u=a.u;l(!u){k Q}U(m i=0,b=[];i<u;i++){m c=a.L[i];l(c.aw){b.G(6.5a(c))}}k b},5a:7(a){k o.v(a).3G("T")?a.T:a.2J}};1q.4i=7(){};1q.4i.C={1C:7(a,b,c){6.2x=b;6.E=$(a);6.2R=c;6.2o=6.1t();6.2z()},2z:7(){6V(6.2w.1i(6),6.2x*5b)},2w:7(){m a=6.1t();m b=("3d"==1f 6.2o&&"3d"==1f a?6.2o!=a:1M(6.2o)!=1M(a));l(b){6.2R(6.E,a);6.2o=a}}};M.o.4h=1j.1h();M.o.4h.C=B.v(N 1q.4i(),{1t:7(){k M.o.1t(6.E)}});M.4h=1j.1h();M.4h.C=B.v(N 1q.4i(),{1t:7(){k M.4n(6.E)}});1q.2p=7(){};1q.2p.C={1C:7(a,b){6.E=$(a);6.2R=b;6.2o=6.1t();l(6.E.1a.1z()=="5V"){6.7g()}12{6.2z(6.E)}},5c:7(){m a=6.1t();l(6.2o!=a){6.2R(6.E,a);6.2o=a}},7g:7(){M.2I(6.E).P(6.2z.1i(6))},2z:7(a){l(a.21){3b(a.21.1z()){1g"7p":1g"6R":1b.2H(a,"at",6.5c.1i(6));15;45:1b.2H(a,"as",6.5c.1i(6));15}}}};M.o.2p=1j.1h();M.o.2p.C=B.v(N 1q.2p(),{1t:7(){k M.o.1t(6.E)}});M.2p=1j.1h();M.2p.C=B.v(N 1q.2p(),{1t:7(){k M.4n(6.E)}});l(!1d.1b){m 1b=N B()}B.v(1b,{aq:8,ap:9,ao:13,am:27,al:37,aj:38,ah:39,ag:40,ad:46,aa:36,a9:35,a7:33,ac:34,E:7(a){k a.a5||a.a4},af:7(a){k(((a.75)&&(a.75==1))||((a.58)&&(a.58==1)))},a3:7(a){k a.a2||(a.a1+(J.4e.2S||J.1x.2S))},a0:7(a){k a.9Z||(a.9Y+(J.4e.2P||J.1x.2P))},59:7(a){l(a.72){a.72();a.9X()}12{a.9W=11;a.9V=14}},2K:7(a,b){m c=1b.E(a);1e(c.1K&&(!c.1a||(c.1a.1B()!=b.1B()))){c=c.1K}k c},1S:11,70:7(a,b,c,d){l(!6.1S){6.1S=[]}l(a.6Z){6.1S.G([a,b,c,d]);a.6Z(b,c,d)}12{l(a.5n){6.1S.G([a,b,c,d]);a.5n("3a"+b,c)}}},7e:7(){l(!1b.1S){k}U(m i=0,u=1b.1S.u;i<u;i++){1b.3S.1R(6,1b.1S[i]);1b.1S[i][0]=Q}1b.1S=11},2H:7(a,b,c,d){a=$(a);d=d||11;l(b=="7d"&&(1I.5f.I(/31|2Z|2U/)||a.5n)){b="6X"}1b.70(a,b,c,d)},3S:7(a,b,c,d){a=$(a);d=d||11;l(b=="7d"&&(1I.5f.I(/31|2Z|2U/)||a.5e)){b="6X"}l(a.7h){a.7h(b,c,d)}12{l(a.5e){1u{a.5e("3a"+b,c)}1A(e){}}}}});l(1I.5f.I(/\\9S\\b/)){1b.2H(1d,"9R",1b.7e,11)}m 28={7i:11,5p:7(){6.7k=1d.9P||J.4e.2S||J.1x.2S||0;6.7r=1d.9O||J.4e.2P||J.1x.2P||0},7m:7(a){m b=0,1m=0;2N{b+=a.2P||0;1m+=a.2S||0;a=a.1K}1e(a);k[1m,b]},3u:7(a){m b=0,1m=0;2N{b+=a.2v||0;1m+=a.2q||0;a=a.1X}1e(a);k[1m,b]},7G:7(a){m b=0,1m=0;2N{b+=a.2v||0;1m+=a.2q||0;a=a.1X;l(a){l(a.1a=="7A"){15}m p=o.1r(a,"1l");l(p=="4m"||p=="2B"){15}}}1e(a);k[1m,b]},1X:7(a){l(a.1X){k a.1X}l(a==J.1x){k a}1e((a=a.1K)&&a!=J.1x){l(o.1r(a,"1l")!="4I"){k a}}k J.1x},9I:7(a,x,y){l(6.7i){k 6.6Q(a,x,y)}6.3r=x;6.3C=y;6.1y=6.3u(a);k(y>=6.1y[1]&&y<6.1y[1]+a.2T&&x>=6.1y[0]&&x<6.1y[0]+a.2O)},6Q:7(a,x,y){m b=6.7m(a);6.3r=x+b[0]-6.7k;6.3C=y+b[1]-6.7r;6.1y=6.3u(a);k(6.3C>=6.1y[1]&&6.3C<6.1y[1]+a.2T&&6.3r>=6.1y[0]&&6.3r<6.1y[0]+a.2O)},9G:7(a,b){l(!a){k 0}l(a=="9F"){k((6.1y[1]+b.2T)-6.3C)/b.2T}l(a=="9D"){k((6.1y[0]+b.2O)-6.3r)/b.2O}},5F:7(a){m b=0,1m=0;m c=a;2N{b+=c.2v||0;1m+=c.2q||0;l(c.1X==J.1x){l(o.1r(c,"1l")=="2B"){15}}}1e(c=c.1X);c=a;2N{l(!1d.24||c.1a=="7A"){b-=c.2P||0;1m-=c.2S||0}}1e(c=c.1K);k[1m,b]},3s:7(a,b){m c=B.v({6O:14,7Q:14,6N:14,7R:14,2v:0,2q:0},O[2]||{});a=$(a);m p=28.5F(a);b=$(b);m d=[0,0];m e=Q;l(o.1r(b,"1l")=="2B"){e=28.1X(b);d=28.5F(e)}l(e==J.1x){d[0]-=J.1x.2q;d[1]-=J.1x.2v}l(c.6O){b.D.2i=(p[0]-d[0]+c.2q)+"1Q"}l(c.7Q){b.D.2l=(p[1]-d[1]+c.2v)+"1Q"}l(c.6N){b.D.2f=a.2O+"1Q"}l(c.7R){b.D.2g=a.2T+"1Q"}},9B:7(a){a=$(a);l(a.D.1l=="2B"){k}28.5p();m b=28.7G(a);m c=b[1];m d=b[0];m e=a.63;m f=a.62;a.6e=d-2F(a.D.2i||0);a.6L=c-2F(a.D.2l||0);a.6K=a.D.2f;a.6J=a.D.2g;a.D.1l="2B";a.D.2l=c+"1Q";a.D.2i=d+"1Q";a.D.2f=e+"1Q";a.D.2g=f+"1Q"},b7:7(a){a=$(a);l(a.D.1l=="4m"){k}28.5p();a.D.1l="4m";m b=2F(a.D.2l||0)-(a.6L||0);m c=2F(a.D.2i||0)-(a.6e||0);a.D.2l=b+"1Q";a.D.2i=c+"1Q";a.D.2g=a.6J;a.D.2f=a.6K}};l(/31|2Z|2U/.2a(1I.25)){28.3u=7(a){m b=0,1m=0;2N{b+=a.2v||0;1m+=a.2q||0;l(a.1X==J.1x){l(o.1r(a,"1l")=="2B"){15}}a=a.1X}1e(a);k[1m,b]}}o.82();',62,690,'||||||this|function|||||||||||||return|if|var||Element||||||length|extend||||||Object|prototype|style|element||push||match|document||options|Form|new|arguments|each|null|||value|for|undefined|Ajax||inspect|||false|else||true|break||Prototype|transport|include|tagName|Event|Methods|window|while|typeof|case|create|bind|Class|map|position|valueL|Insertion|clause|Array|Abstract|getStyle|concat|getValue|try|Selector|Enumerable|body|offset|toLowerCase|catch|toUpperCase|initialize|Hash|values|select|method|_attributeTranslations|navigator|in|parentNode|toString|String|gsub|conditions|replace|px|apply|observers|inject|toArray|throw|args|offsetParent|stripScripts|onComplete|innerHTML|type|join|childNodes|opera|userAgent|display||Position|_each|test|expr|disabled|table|tbody|width|height|source|left|name|key|top|range|success|lastValue|EventObserver|offsetLeft|constructor|classNames|setTimeout|decay|offsetTop|onTimerEvent|frequency|emptyFunction|registerCallback|filter|absolute|split|initializeRange|params|parseFloat|toQueryString|observe|getElements|text|findElement|id|evalScripts|do|offsetWidth|scrollTop|slice|callback|scrollLeft|offsetHeight|KHTML|timer|Responders|_overflow|insertContent|Safari||Konqueror|url||||||||on|switch|Request|string|parameters|post|createElement|auto|expression|getElementsByTagName|first|dispatchException|_flag|Serializers|attributes|pluck|cache|xcomp|clone|Template|cumulativeOffset|remove|copy|alpha|_|start|responders|nodeValue|ycomp|strip|div|depth|hasAttribute|asynchronous|setOptions|Base|dispatch|overflow|hasClassName|input|gi|ObjectRange|cssFloat|encodeURIComponent|stopObserving|ClassNames|operator|charAt|names|nextSiblings|ScriptFragment|reverse||nextSibling|firstChild|recursivelyCollect|className|default||none|evaluate|status|json|responseText|continue|currentlyExecuting|documentElement|container|opacity|Observer|TimedObserver|hidden|styleFloat|RegExp|relative|serialize|abort|child|content|tr|nodeType|encoding|TR|TBODY|appendChild|application|_complete|eval|shift|_madePositioned|insertBefore|activeRequestCount|object|visibility|toQueryParams|getTransport|static|end|respondToReadyState|defaultView|script|onStateChange|add|Function|getDimensions|without|findChildElements|flatten|_reverse|previousSiblings|prepareReplacement|reset|selectNodeContents|last|removeChild|criteria|visible|findOrStore|interpret|Simulated|readAttribute|falses|button|stop|optionValue|1000|onElementEvent|elements|detachEvent|appVersion|array|slices|failure|Updater|getHeader|update|all|attachEvent|updater|prepare|MSIE|focus|textarea|XPath|matchingInputs|getElementsByClassName|substring|9_|z0|rest|modifier|len|camelize|set|_nativeExtensions|page|succ|_getAttr|adjacency|request|BrowserFeatures|HTMLElement|Complete|Version|Events|TD|THEAD|checked|specified|getAttributeNode|title|form|contentType|readonly|td|onCreate|childOf|register|clientHeight|clientWidth|extractScripts|XMLHTTP|Bottom|ActiveXObject|img|XMLHttpRequest|100|exclusive|bottom|right|_originalLeft|stripTags|currentStyle|getComputedStyle|float|scrollTo|descendantOf|empty|arrayLength|getAttribute|reduce|indexOf|compact|index|clear|keys|descendants|ancestors|attribute|find|createContextualFragment|size|createRange|ownerDocument|outerHTML|show|hide|toggle|blur|matchElements|_extended|_originalHeight|_originalWidth|_originalTop|selectOne|setWidth|setLeft|inputSelector|withinIncludingScrolloffsets|radio|findAll|detect|collect|setInterval|lastText|keydown|updateComplete|addEventListener|_observeAndCache|PeriodicalUpdater|preventDefault|insertion|eachSlice|which|onException|evalResponse|pattern|template|Pattern|evalJSON|updateContent|keypress|unloadCache|PeriodicalExecuter|registerFormCallbacks|removeEventListener|includeScrollOffsets|requestHeaders|deltaX|selectMany|realOffset|2005|_getElementsByXPath|checkbox|Gecko|deltaY|activate|Content|xml|findFirstElement|enable|disable|javascript|these|BODY|serializeElements|capitalize|findElements|readyState|Try|positionedOffset|buildMatchExpression|wildcard|overrideMimeType|class|setRequestHeaders|selector|onreadystatechange|compileMatcher|parseExpression|setTop|setHeight|After|collapse|Top|times|Before|contentFromAnonymousTable|insertAdjacentHTML|get|decodeURIComponent|Toggle|addMethods|Interactive|TextArea|Loaded|Loading|Uninitialized|toColorPart|Number|multiple|src|UTF|unescapeHTML|href|urlencoded|event|cssText|www|longDesc|longdesc|readOnly|createTextNode|maxLength|Input|maxlength|Select|HTML|__proto__|encType|enctype|tabIndex|tabindex|accessKey|accesskey|bindAsEventListener|dateTime|datetime|vAlign|valign|escapeHTML|rowSpan|rowspan|colSpan|colspan|undoClipping|unregister|makeClipping|undoPositioned|makePositioned|im|block|Microsoft|Msxml2|00001|999999|setStyle|delete|merge|call|cleanWhitespace|toggleClassName|removeClassName|truncate|addClassName|scan|getWidth|getHeight|uniq|sub|getElementsBySelector|next|previous|down|up|siblings|previousSibling|from|immediateDescendants|entries|member|callee|replaceChild|pop|zip|sort|RangeError|sortBy|SELECT|reject|TEXTAREA|INPUT|instanceof|FORM|partition|finally|min|max|clearInterval|absolutize|invoke|horizontal|inGroupsOf|vertical|overlap|contains|within|grep|snapshotItem|snapshotLength|ORDERED_NODE_SNAPSHOT_TYPE|XPathResult|pageYOffset|pageXOffset|getElementById|unload|bMSIE|any|clearTimeout|cancelBubble|returnValue|stopPropagation|clientY|pageY|pointerY|clientX|pageX|pointerX|srcElement|target|JSON|KEY_PAGEUP|getResponseHeader|KEY_END|KEY_HOME|ecma|KEY_PAGEDOWN|KEY_DELETE|java|isLeftClick|KEY_DOWN|KEY_RIGHT|Failure|KEY_UP|Success|KEY_LEFT|KEY_ESC|parseQuery|KEY_RETURN|KEY_TAB|KEY_BACKSPACE|300|change|click|200|setRequestHeader|selected|selectedIndex|close|dasherize|one|Connection|Field|submit|charset|present|focusFirstElement|html|underscore|getInputs|Accept|With|Requested|number|Unknown|send|postBody|error|Parse|charCodeAt|setStartAfter|afterEnd|open|beforeEnd|fromCharCode|afterBegin|setStartBefore|beforeBegin|_method|HTMLSelectElement|HTMLTextAreaElement|HTMLInputElement|HTMLFormElement|relativize'.split('|'),0,{}))

/* typo3conf/ext/perfectlightbox/res/js/scriptaculousEffects-packed.js?load=effects */
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('p 34={3z:"1.7.0",4U:8(a){1G.6f("<2e 5u=\\"55/7z\\" 2l=\\""+a+"\\"></2e>")},3p:8(){o((1a 1Y=="2D")||(1a N=="2D")||(1a N.32=="2D")||1R(1Y.3z.2t(".")[0]+"."+1Y.3z.2t(".")[1])<1.5){1A("2e.4V.3J 3C 7x 1Y 7t 7r >= 1.5.0");}$A(1G.7e("2e")).4D(8(s){r(s.2l&&s.2l.2G(/4f\\.2E(\\?.*)?$/))}).T(8(s){p b=s.2l.6q(/4f\\.2E(\\?.*)?$/,"");p c=s.2l.2G(/\\?.*3p=([a-z,]*)/);(c?c[1]:"").2t(",").T(8(a){34.4U(b+a+".2E")})})}};34.3p();33.P.1I=8(){p a="#";o(6.22(0,4)=="5I("){p b=6.22(4,6.1z-1).2t(",");p i=0;5l{a+=2L(b[i]).2W()}54(++i<3)}1J{o(6.22(0,1)=="#"){o(6.1z==4){2B(p i=1;i<4;i++){a+=(6.3A(i)+6.3A(i)).3x()}}o(6.1z==7){a=6.3x()}}}r(a.1z==7?a:(E[0]||6))};N.3v=8(b){r $A($(b).2N).4L(8(a){r(a.3s==3?a.3r:(a.4G()?N.3v(a):""))}).2J().4B("")};N.3w=8(b,c){r $A($(b).2N).4L(8(a){r(a.3s==3?a.3r:((a.4G()&&!N.70(a,c))?N.3w(a,c):""))}).2J().4B("")};N.4u=8(a,b){a=$(a);a.D({1O:(b/1m)+"3h"});o(27.6H.2q("6E")>0){W.6w(0,0)}r a};N.2f=8(a){r $(a).Q("V")};N.2s=8(a,b){r $(a).D({V:b})};N.1w=8(a){r $(a).C.V||""};N.36=8(a){6i{a=$(a);p n=1G.6a(" ");a.68(n);a.64(n)}62(e){}};5X.P.5W=8(){p a=E;6.T(8(f){f.5S(6,a)})};p j={25:{5H:"5D",5A:"5x 5t 5o l 5h 5e 5b, 58 56 53 2B 6 2T 1e 51"},3G:8(c){o(1a 3D=="2D"){1A("j.3G 3C 50 2e.4V.3J\' 4Y.2E 7w");}p d="1M:4R";o(/2P/.24(27.2O)&&!W.1g){d+=";3u:1"}c=$(c);$A(c.2N).T(8(b){o(b.3s==3){b.3r.7q().T(8(a){c.7p(3D.7n("7j",{C:d},a==" "?33.7h(7f):a),b)});N.3q(b)}})},7d:8(c,d){p e;o(((1a c=="7c")||(1a c=="8"))&&(c.1z)){e=c}1J{e=$(c).2N}p f=u.t({4C:0.1,2m:0},E[2]||{});p g=f.2m;$A(e).T(8(a,b){B d(a,u.t(f,{2m:b*f.4C+g}))})},3m:{"6S":["4t","4r"],"6Q":["4n","4m"],"4l":["3k","4j"]},6I:8(a,b){a=$(a);b=(b||"4l").3x();p c=u.t({1c:{1M:"4h",3g:(a.6G||"2n"),3f:1}},E[2]||{});j[a.6D()?j.3m[b][1]:j.3m[b][0]](a,c)}};p 6C=j;j.1b={6z:1Y.K,1Q:8(a){r(-S.3b(a*S.3a)/2)+0.5},2Z:8(a){r 1-a},44:8(a){r((-S.3b(a*S.3a)/4)+0.75)+S.6m()/4},6l:8(a){r(-S.3b(a*S.3a*(9*a))/2)+0.5},41:8(a,b){b=b||5;r(S.1y((a%(1/b))*b)==0?((a*b*2)-S.3X(a*b*2)):1-((a*b*2)-S.3X(a*b*2)))},2g:8(a){r 0},3W:8(a){r 1}};j.35=1s.1q();u.t(u.t(j.35.P,6c),{1j:8(){6.I=[];6.2a=1U},3U:8(a){6.I.3U(a)},46:8(a){p b=B 3T().45();p c=(1a a.q.1c=="29")?a.q.1c:a.q.1c.1M;31(c){12"5V":6.I.4D(8(e){r e.23=="30"}).T(8(e){e.1H+=a.1K;e.1K+=a.1K});Y;12"5P-5M":b=6.I.4x("1H").4o()||b;Y;12"4h":b=6.I.4x("1K").4o()||b;Y}a.1H+=b;a.1K+=b;o(!a.q.1c.3f||(6.I.1z<a.q.1c.3f)){6.I.4s(a)}o(!6.2a){6.2a=5E(6.2H.1u(6),15)}},3q:8(a){6.I=6.I.4w(8(e){r e==a});o(6.I.1z==0){5w(6.2a);6.2a=1U}},2H:8(){p a=B 3T().45();2B(p i=0,4H=6.I.1z;i<4H;i++){o(6.I[i]){6.I[i].2H(a)}}}});j.2r={2I:$H(),2R:8(a){o(1a a!="29"){r a}o(!6.2I[a]){6.2I[a]=B j.35()}r 6.2I[a]}};j.5k=j.2r.2R("2n");j.4I={18:j.1b.1Q,X:1,3L:60,10:U,1f:0,1e:1,2m:0,1c:"57"};j.1k=8(){};j.1k.P={1M:1U,1v:8(a){6.q=u.t(u.t({},j.4I),a||{});6.2U=0;6.23="30";6.1H=6.q.2m*2p;6.1K=6.1H+(6.q.X*2p);6.1r("52");o(!6.q.10){j.2r.2R(1a 6.q.1c=="29"?"2n":6.q.1c.3g).46(6)}},2H:8(a){o(a>=6.1H){o(a>=6.1K){6.2c(1);6.2o();6.1r("3H");o(6.1N){6.1N()}6.1r("3F");r}p b=(a-6.1H)/(6.1K-6.1H);p c=S.1y(b*6.q.3L*6.q.X);o(c>6.2U){6.2c(b);6.2U=c}}},2c:8(a){o(6.23=="30"){6.23="3E";6.1r("1V");o(6.1S){6.1S()}6.1r("2S")}o(6.23=="3E"){o(6.q.18){a=6.q.18(a)}a*=(6.q.1e-6.q.1f);a+=6.q.1f;6.1M=a;6.1r("4Z");o(6.1l){6.1l(a)}6.1r("4X")}},2o:8(){o(!6.q.10){j.2r.2R(1a 6.q.1c=="29"?"2n":6.q.1c.3g).3q(6)}6.23="7v"},1r:8(a){o(6.q[a+"4T"]){6.q[a+"4T"](6)}o(6.q[a]){6.q[a](6)}},3y:8(){p a=$H();2B(2Q 4S 6){o(1a 6[2Q]!="8"){a[2Q]=6[2Q]}}r"#<j:"+a.3y()+",q:"+$H(6.q).3y()+">"}};j.1X=1s.1q();u.t(u.t(j.1X.P,j.1k.P),{1j:8(a){6.I=a||[];6.1v(E[1])},1l:8(a){6.I.7u("2c",a)},1N:8(b){6.I.T(8(a){a.2c(1);a.2o();a.1r("3H");o(a.1N){a.1N(b)}a.1r("3F")})}});j.4Q=1s.1q();u.t(u.t(j.4Q.P,j.1k.P),{1j:8(){p a=u.t({X:0},E[0]||{});6.1v(a)},1l:1Y.7s});j.1B=1s.1q();u.t(u.t(j.1B.P,j.1k.P),{1j:8(a){6.l=$(a);o(!6.l){1A(j.25);}o(/2P/.24(27.2O)&&!W.1g&&(!6.l.4O.4N)){6.l.D({3u:1})}p b=u.t({1f:6.l.2f()||0,1e:1},E[1]||{});6.1v(b)},1l:8(a){6.l.2s(a)}});j.13=1s.1q();u.t(u.t(j.13.P,j.1k.P),{1j:8(a){6.l=$(a);o(!6.l){1A(j.25);}p b=u.t({x:0,y:0,4M:"4R"},E[1]||{});6.1v(b)},1S:8(){6.l.1C();6.2k=1R(6.l.Q("O")||"0");6.2j=1R(6.l.Q("J")||"0");o(6.q.4M=="4K"){6.q.x=6.q.x-6.2k;6.q.y=6.q.y-6.2j}},1l:8(a){6.l.D({O:S.1y(6.q.x*a+6.2k)+"17",J:S.1y(6.q.y*a+6.2j)+"17"})}});j.7l=8(a,b,c){r B j.13(a,u.t({x:c,y:b},E[3]||{}))};j.14=1s.1q();u.t(u.t(j.14.P,j.1k.P),{1j:8(a,b){6.l=$(a);o(!6.l){1A(j.25);}p c=u.t({1i:G,2i:G,1o:G,2K:U,1D:"3n",1W:1m,4F:b},E[2]||{});6.1v(c)},1S:8(){6.19=6.q.19||U;6.4E=6.l.Q("1M");6.3o={};["J","O","M","F","1O"].T(8(k){6.3o[k]=6.l.C[k]}.1u(6));6.2j=6.l.7b;6.2k=6.l.79;p b=6.l.Q("74-72")||"1m%";["3h","17","%","4A"].T(8(a){o(b.2q(a)>0){6.1O=1R(b);6.4z=a}}.1u(6));6.4y=(6.q.4F-6.q.1W)/1m;6.1h=1U;o(6.q.1D=="3n"){6.1h=[6.l.6Y,6.l.6V]}o(/^6U/.24(6.q.1D)){6.1h=[6.l.4v,6.l.6R]}o(!6.1h){6.1h=[6.q.1D.2A,6.q.1D.2F]}},1l:8(a){p b=(6.q.1W/1m)+(6.4y*a);o(6.q.1o&&6.1O){6.l.D({1O:6.1O*b+6.4z})}6.3B(6.1h[0]*b,6.1h[1]*b)},1N:8(a){o(6.19){6.l.D(6.3o)}},3B:8(a,b){p d={};o(6.q.1i){d.M=S.1y(b)+"17"}o(6.q.2i){d.F=S.1y(a)+"17"}o(6.q.2K){p c=(a-6.1h[0])/2;p e=(b-6.1h[1])/2;o(6.4E=="4K"){o(6.q.2i){d.J=6.2j-c+"17"}o(6.q.1i){d.O=6.2k-e+"17"}}1J{o(6.q.2i){d.J=-c+"17"}o(6.q.1i){d.O=-e+"17"}}}6.l.D(d)}});j.4q=1s.1q();u.t(u.t(j.4q.P,j.1k.P),{1j:8(a){6.l=$(a);o(!6.l){1A(j.25);}p b=u.t({3I:"#6N"},E[1]||{});6.1v(b)},1S:8(){o(6.l.Q("4p")=="2g"){6.2o();r}6.2Y={};o(!6.q.6M){6.2Y.3K=6.l.Q("2V-6K");6.l.D({3K:"2g"})}o(!6.q.3l){6.q.3l=6.l.Q("2V-1L").1I("#4k")}o(!6.q.3j){6.q.3j=6.l.Q("2V-1L")}6.3i=$R(0,2).1Z(8(i){r 2L(6.q.3I.22(i*2+1,i*2+3),16)}.1u(6));6.4i=$R(0,2).1Z(8(i){r 2L(6.q.3l.22(i*2+1,i*2+3),16)-6.3i[i]}.1u(6))},1l:8(a){6.l.D({2X:$R(0,2).4g("#",8(m,v,i){r m+(S.1y(6.3i[i]+(6.4i[i]*a)).2W())}.1u(6))})},1N:8(){6.l.D(u.t(6.2Y,{2X:6.q.3j}))}});j.3M=1s.1q();u.t(u.t(j.3M.P,j.1k.P),{1j:8(a){6.l=$(a);6.1v(E[1]||{})},1S:8(){21.4e();p a=21.6F(6.l);o(6.q.4d){a[1]+=6.q.4d}p b=W.4c?W.F-W.4c:1G.4b.4v-(1G.4a.2h?1G.4a.2h:1G.4b.2h);6.3e=21.6A;6.49=(a[1]>b?b:a[1])-6.3e},1l:8(a){21.4e();W.6y(21.6x,6.3e+(a*6.49))}});j.4j=8(b){b=$(b);p c=b.1w();p d=u.t({1f:b.2f()||1,1e:0,L:8(a){o(a.q.1e!=0){r}a.l.1p().D({V:c})}},E[1]||{});r B j.1B(b,d)};j.3k=8(b){b=$(b);p c=u.t({1f:(b.Q("4p")=="2g"?0:b.2f()||0),1e:1,L:8(a){a.l.36()},1V:8(a){a.l.2s(a.q.1f).28()}},E[1]||{});r B j.1B(b,c)};j.6v=8(b){b=$(b);p c={V:b.1w(),1M:b.Q("1M"),J:b.C.J,O:b.C.O,M:b.C.M,F:b.C.F};r B j.1X([B j.14(b,6u,{10:G,2K:G,1o:G,19:G}),B j.1B(b,{10:G,1e:0})],u.t({X:1,6t:8(a){21.6s(a.I[0].l)},L:8(a){a.I[0].l.1p().D(c)}},E[1]||{}))};j.4m=8(b){b=$(b);b.1E();r B j.14(b,0,u.t({1o:U,1i:U,19:G,L:8(a){a.l.1p().1x()}},E[1]||{}))};j.4n=8(b){b=$(b);p c=b.2C();r B j.14(b,1m,u.t({1o:U,1i:U,1W:0,1D:{2A:c.F,2F:c.M},19:G,2S:8(a){a.l.1E().D({F:"38"}).28()},L:8(a){a.l.1x()}},E[1]||{}))};j.6r=8(c){c=$(c);p d=c.1w();r B j.3k(c,u.t({X:0.4,1f:0,18:j.1b.44,L:8(b){B j.14(b.l,1,{X:0.3,2K:G,1i:U,1o:U,19:G,1V:8(a){a.l.1C().1E()},L:8(a){a.l.1p().1x().1t().D({V:d})}})}},E[1]||{}))};j.6p=8(b){b=$(b);p c={J:b.Q("J"),O:b.Q("O"),V:b.1w()};r B j.1X([B j.13(b,{x:0,y:1m,10:G}),B j.1B(b,{10:G,1e:0})],u.t({X:0.5,1V:8(a){a.I[0].l.1C()},L:8(a){a.I[0].l.1p().1t().D(c)}},E[1]||{}))};j.6n=8(g){g=$(g);p h={J:g.Q("J"),O:g.Q("O")};r B j.13(g,{x:20,y:0,X:0.43,L:8(f){B j.13(f.l,{x:-40,y:0,X:0.1,L:8(e){B j.13(e.l,{x:40,y:0,X:0.1,L:8(d){B j.13(d.l,{x:-40,y:0,X:0.1,L:8(c){B j.13(c.l,{x:40,y:0,X:0.1,L:8(b){B j.13(b.l,{x:-20,y:0,X:0.43,L:8(a){a.l.1t().D(h)}})}})}})}})}})}})};j.4t=8(b){b=$(b).42();p c=b.1F().Q("1d");p d=b.2C();r B j.14(b,1m,u.t({1o:U,1i:U,1W:W.1g?0:1,1D:{2A:d.F,2F:d.M},19:G,2S:8(a){a.l.1C();a.l.1F().1C();o(W.1g){a.l.D({J:""})}a.l.1E().D({F:"38"}).28()},3Z:8(a){a.l.1F().D({1d:(a.1h[0]-a.l.2h)+"17"})},L:8(a){a.l.1x().1t();a.l.1F().1t().D({1d:c})}},E[1]||{}))};j.4r=8(b){b=$(b).42();p c=b.1F().Q("1d");r B j.14(b,W.1g?0:1,u.t({1o:U,1i:U,1D:"3n",1W:1m,19:G,3Y:8(a){a.l.1C();a.l.1F().1C();o(W.1g){a.l.D({J:""})}a.l.1E().28()},3Z:8(a){a.l.1F().D({1d:(a.1h[0]-a.l.2h)+"17"})},L:8(a){a.l.1p().1x().1t().D({1d:c});a.l.1F().1t()}},E[1]||{}))};j.6k=8(b){r B j.14(b,W.1g?1:0,{19:G,1V:8(a){a.l.1E()},L:8(a){a.l.1p().1x()}})};j.6j=8(c){c=$(c);p d=u.t({2z:"2v",2x:j.1b.1Q,2u:j.1b.1Q,2y:j.1b.3W},E[1]||{});p e={J:c.C.J,O:c.C.O,F:c.C.F,M:c.C.M,V:c.1w()};p f=c.2C();p g,1T;p h,Z;31(d.2z){12"J-O":g=1T=h=Z=0;Y;12"J-2b":g=f.M;1T=Z=0;h=-f.M;Y;12"1d-O":g=h=0;1T=f.F;Z=-f.F;Y;12"1d-2b":g=f.M;1T=f.F;h=-f.M;Z=-f.F;Y;12"2v":g=f.M/2;1T=f.F/2;h=-f.M/2;Z=-f.F/2;Y}r B j.13(c,{x:g,y:1T,X:0.6h,1V:8(a){a.l.1p().1E().1C()},L:8(b){B j.1X([B j.1B(b.l,{10:G,1e:1,1f:0,18:d.2y}),B j.13(b.l,{x:h,y:Z,10:G,18:d.2x}),B j.14(b.l,1m,{1D:{2A:f.F,2F:f.M},10:G,1W:W.1g?1:0,18:d.2u,19:G})],u.t({1V:8(a){a.I[0].l.D({F:"38"}).28()},L:8(a){a.I[0].l.1x().1t().D(e)}},d))}})};j.6g=8(b){b=$(b);p c=u.t({2z:"2v",2x:j.1b.1Q,2u:j.1b.1Q,2y:j.1b.2g},E[1]||{});p d={J:b.C.J,O:b.C.O,F:b.C.F,M:b.C.M,V:b.1w()};p e=b.2C();p f,Z;31(c.2z){12"J-O":f=Z=0;Y;12"J-2b":f=e.M;Z=0;Y;12"1d-O":f=0;Z=e.F;Y;12"1d-2b":f=e.M;Z=e.F;Y;12"2v":f=e.M/2;Z=e.F/2;Y}r B j.1X([B j.1B(b,{10:G,1e:0,1f:1,18:c.2y}),B j.14(b,W.1g?1:0,{10:G,18:c.2u,19:G}),B j.13(b,{x:f,y:Z,10:G,18:c.2x})],u.t({3Y:8(a){a.I[0].l.1C().1E()},L:8(a){a.I[0].l.1p().1x().1t().D(d)}},c))};j.6e=8(b){b=$(b);p c=E[1]||{};p d=b.1w();p e=c.18||j.1b.1Q;p f=8(a){r e(1-j.1b.41(a,c.6d))};f.1u(e);r B j.1B(b,u.t(u.t({X:2,1f:0,L:8(a){a.l.D({V:d})}},c),{18:f}))};j.6b=8(c){c=$(c);p d={J:c.C.J,O:c.C.O,M:c.C.M,F:c.C.F};c.1E();r B j.14(c,5,u.t({1o:U,1i:U,L:8(b){B j.14(c,1,{1o:U,2i:U,L:8(a){a.l.1p().1x().D(d)}})}},E[1]||{}))};j.2w=1s.1q();u.t(u.t(j.2w.P,j.1k.P),{1j:8(c){6.l=$(c);o(!6.l){1A(j.25);}p d=u.t({C:{}},E[1]||{});o(1a d.C=="29"){o(d.C.2q(":")==-1){p e="",4W="."+d.C;$A(1G.69).2Z().T(8(b){o(b.2d){2d=b.2d}1J{o(b.3V){2d=b.3V}}$A(2d).2Z().T(8(a){o(4W==a.67){e=a.C.66;1A $Y;}});o(e){1A $Y;}});6.C=e.39();d.L=8(b){b.l.65(b.q.C);b.37.T(8(a){o(a.C!="V"){b.l.C[a.C.47()]=""}})}}1J{6.C=d.C.39()}}1J{6.C=$H(d.C)}6.1v(d)},1S:8(){8 1I(a){o(!a||["63(0, 0, 0, 0)","6o"].61(a)){a="#4k"}a=a.1I();r $R(0,2).1Z(8(i){r 2L(a.22(i*2+1,i*2+3),16)})}6.37=6.C.1Z(8(a){p b=a[0].5Z().5Y(),11=a[1],1n=1U;o(11.1I("#3S")!="#3S"){11=11.1I();1n="1L"}1J{o(b=="V"){11=1R(11);o(/2P/.24(27.2O)&&!W.1g&&(!6.l.4O.4N)){6.l.D({3u:1})}}1J{o(N.3R.24(11)){p c=11.2G(/^([\\+\\-]?[0-9\\.]+)(.*)$/),11=1R(c[1]),1n=(c.1z==3)?c[2]:1U}}}p d=6.l.Q(b);r $H({C:b,1P:1n=="1L"?1I(d):1R(d||0),26:1n=="1L"?1I(11):11,1n:1n})}.1u(6)).4w(8(a){r((a.1P==a.26)||(a.1n!="1L"&&(3Q(a.1P)||3Q(a.26))))})},1l:8(b){p c=$H(),11=1U;6.37.T(8(a){11=a.1n=="1L"?$R(0,2).4g("#",8(m,v,i){r m+(S.1y(a.1P[i]+(a.26[i]-a.1P[i])*b)).2W()}):a.1P+S.1y(((a.26-a.1P)*b)*2p)/2p+a.1n;c[a.C]=11});6.l.D(c)}});j.3P=1s.1q();u.t(j.3P.P,{1j:8(a){6.3c=[];6.q=E[1]||{};6.48(a)},48:8(c){c.T(8(a){p b=$H(a).6B().3O();6.3c.4s($H({3d:$H(a).5U().3O(),2T:j.2w,q:{C:b}}))}.1u(6));r 6},5T:8(){r B j.1X(6.3c.1Z(8(a){p b=[$(a.3d)||$$(a.3d)].2J();r b.1Z(8(e){r B a.2T(e,u.t({10:G},a.q))})}).2J(),6.q)}});N.3N=$w("2X 5R 6J 5Q "+"6L 5O 5N 6O "+"6P 5L 5K 5J "+"6T 5G 5F 1d 6W 1L "+"1O 6X F O 5C 6Z "+"5B 71 5z 73 5y 76 "+"77 78 5v V 7a 5s "+"5r 5q 5p 5n 7g "+"2b 5m J M 7i 5j");N.3R=/^(([\\+\\-]?[0-9\\.]+)(3h|7k|17|4S|5i|7m|4A|5g|\\%))|0$/;33.P.39=8(){p b=N.t(1G.7o("3t"));b.5f="<3t C=\\""+6+"\\"></3t>";p c=b.1F().C,2M=$H();N.3N.T(8(a){o(c[a]){2M[a]=c[a]}});o(/2P/.24(27.2O)&&!W.1g&&6.2q("V")>-1){2M.V=6.2G(/V:\\s*((?:0|1)?(?:\\.\\d*)?)/)[1]}r 2M};N.4J=8(a,b){B j.2w(a,u.t({C:b},E[2]||{}));r a};["2s","2f","1w","36","4u","3v","3w","4J"].T(8(f){N.32[f]=N[f]});N.32.5d=8(a,b,c){s=b.5c(/5a/,"-").47();4P=s.3A(0).59()+s.7y(1);B j[4P](a,c);r $(a)};N.7A();',62,471,'||||||this||function|||||||||||Effect||element|||if|var|options|return||extend|Object|||||||new|style|setStyle|arguments|height|true||effects|top||afterFinishInternal|width|Element|left|prototype|getStyle||Math|each|false|opacity|window|duration|break|moveY|sync|value|case|Move|Scale|||px|transition|restoreAfterFinish|typeof|Transitions|queue|bottom|to|from|opera|dims|scaleX|initialize|Base|update|100|unit|scaleContent|hide|create|event|Class|undoPositioned|bind|start|getInlineOpacity|undoClipping|round|length|throw|Opacity|makePositioned|scaleMode|makeClipping|down|document|startOn|parseColor|else|finishOn|color|position|finish|fontSize|originalValue|sinoidal|parseFloat|setup|initialMoveY|null|beforeSetup|scaleFrom|Parallel|Prototype|map||Position|slice|state|test|_elementDoesNotExistError|targetValue|navigator|show|string|interval|right|render|cssRules|script|getOpacity|none|clientHeight|scaleY|originalTop|originalLeft|src|delay|global|cancel|1000|indexOf|Queues|setOpacity|split|scaleTransition|center|Morph|moveTransition|opacityTransition|direction|originalHeight|for|getDimensions|undefined|js|originalWidth|match|loop|instances|flatten|scaleFromCenter|parseInt|styleRules|childNodes|userAgent|MSIE|property|get|afterSetup|effect|currentFrame|background|toColorPart|backgroundColor|oldStyle|reverse|idle|switch|Methods|String|Scriptaculous|ScopedQueue|forceRerendering|transforms|0px|parseStyle|PI|cos|tracks|ids|scrollStart|limit|scope|em|_base|restorecolor|Appear|endcolor|PAIRS|box|originalStyle|load|remove|nodeValue|nodeType|div|zoom|collectTextNodes|collectTextNodesIgnoreClass|toLowerCase|inspect|Version|charAt|setDimensions|requires|Builder|running|afterFinish|tagifyText|beforeFinish|startcolor|us|backgroundImage|fps|ScrollTo|CSS_PROPERTIES|first|Transform|isNaN|CSS_LENGTH|zzzzzz|Date|_each|rules|full|floor|beforeStartInternal|afterUpdateInternal||pulse|cleanWhitespace|05|flicker|getTime|add|camelize|addTracks|delta|documentElement|body|innerHeight|offset|prepare|scriptaculous|inject|end|_delta|Fade|ffffff|appear|BlindUp|BlindDown|max|display|Highlight|SlideUp|push|SlideDown|setContentZoom|scrollHeight|reject|pluck|factor|fontSizeType|pt|join|speed|findAll|elementPositioning|scaleTo|hasChildNodes|len|DefaultOptions|morph|absolute|collect|mode|hasLayout|currentStyle|effect_class|Event|relative|in|Internal|require|aculo|selector|afterUpdate|builder|beforeUpdate|including|operate|beforeStart|required|while|text|is|parallel|but|toUpperCase|_|exist|gsub|visualEffect|not|innerHTML|pc|does|cm|zIndex|Queue|do|textIndent|paddingRight|DOM|paddingLeft|paddingBottom|outlineWidth|outlineOffset|specified|type|minWidth|clearInterval|The|markerOffset|marginRight|message|marginBottom|letterSpacing|ElementDoesNotExistError|setInterval|borderTopWidth|borderTopStyle|name|rgb|borderSpacing|borderRightWidth|borderRightStyle|last|borderLeftStyle|borderLeftColor|with|borderBottomStyle|backgroundPosition|apply|play|keys|front|call|Array|dasherize|underscore||include|catch|rgba|removeChild|addClassName|cssText|selectorText|appendChild|styleSheets|createTextNode|Fold|Enumerable|pulses|Pulsate|write|Shrink|01|try|Grow|Squish|wobble|random|Shake|transparent|DropOut|replace|SwitchOff|absolutize|beforeSetupInternal|200|Puff|scrollBy|deltaX|scrollTo|linear|deltaY|values|Effect2|visible|AppleWebKit|cumulativeOffset|id|appVersion|toggle|borderBottomColor|image|borderBottomWidth|keepBackgroundImage|ffff99|borderLeftWidth|borderRightColor|blind|scrollWidth|slide|borderTopColor|content|offsetWidth|clip|fontWeight|offsetHeight|lineHeight|hasClassName|marginLeft|size|marginTop|font||maxHeight|maxWidth|minHeight|offsetLeft|outlineColor|offsetTop|object|multiple|getElementsByTagName|160|paddingTop|fromCharCode|wordSpacing|span|ex|MoveBy|mm|node|createElement|insertBefore|toArray|framework|emptyFunction|JavaScript|invoke|finished|library|the|substring|javascript|addMethods'.split('|'),0,{}))

/* typo3conf/ext/perfectlightbox/res/js/lightbox-packed.js */
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('7 1h(a,b,c){4(b=="2A"||b=="4F"){3m(c);E}4(a.1y){a.1y(b,c,z)}y{4(!c.$$1t){c.$$1t=1h.1t++}4(!a.1a){a.1a={}}5 d=a.1a[b];4(!d){d=a.1a[b]={};4(a["2o"+b]){d[0]=a["2o"+b]}}d[c.$$1t]=c;a["2o"+b]=1o}}1h.1t=1;7 4k(a,b,c){4(a.3e){a.3e(b,c,z)}y{4(a.1a&&a.1a[b]){4e a.1a[b][c.$$1t]}}}7 1o(a){5 b=S;a=a||1n(((B.41||B.6||B).3P||C).1S);5 c=B.1a[a.4L];U(5 i 4B c){B.$$1o=c[i];4(B.$$1o(a)===z){b=z}}E b}7 1n(a){a.2x=1n.2x;a.2m=1n.2m;E a}1n.2x=7(){B.4s=z};1n.2m=7(){B.4q=S};4(!C.1y){6.3l=7(){4(C.1i&&C.1i!=1o){1h(C,"3j",C.1i);C.1i=1o}}}C.1E=G 1d();C.1Q=z;7 3m(a){C.1E[C.1E.L]=a}7 1m(){4(C.1Q){E}C.1Q=S;U(5 i=0;i<C.1E.L;i++){5 a=C.1E[i];a()}}7 1N(){4(C.1Q){E S}4(/4a|48/i.30(2t.45)){4(/44|2R/.30(6.2O)){1m()}y{1x("1N()",1u)}}y{4(6.1c("2a")){E S}}4(3L 3J=="7"){4(3L 6.T!="4Q"&&(6.T("R")[0]!=1I||6.R!=1I)){4(3J()){1m()}y{1x("1N()",1u)}}}E S}1x("1N()",1u);1h(C,"3j",1m);4(6.1y){6.1y("2A",1m,z)}4(2t.4J=="4I 4E 4D"){6.4A("<1Y D=2a 4u 1H=\\"//:\\"></1Y>");5 1Y=6.1c("2a");1Y.3l=7(){4(B.2O=="2R"){1m()}}}5 3n=0.8;5 1X=S;5 1F=4p;5 2k=10;5 3k="1U";5 3i="4l";5 1D;5 2h=z;5 1C;5 3f=z;5 2g=4f;5 2f=z;5 J=G 1d;5 F;5 K;5 1B=G 1d();5 1A=0;4d.4c(M,{33:7(a){a=$(a);E a.32},1M:7(a,w){a=$(a);a.V.2Y=w+"21"},1e:7(a,h){a=$(a);a.V.2U=h+"21"},2S:7(a,t){a=$(a);a.V.3X=t+"21"},2F:7(a,l){a=$(a);a.V.3T=l+"21"},2K:7(a,b){a=$(a);a.1H=b},3R:7(a,b){a=$(a);a.O=b},1J:7(a,b){a=$(a);a.3O=b}});5 2p=3N.4V();2p.4U={4T:7(){4(1X==S){23=1F/3H;14=1F/3H}y{23=0;14=0}B.3G();5 b=6.T("R").4P(0);5 c=6.I("Z");c.A("D","1G");c.V.3A="3y";c.W=7(){9.17()};b.H(c);5 d=6.I("Z");d.A("D","1p");d.V.3A="3y";d.W=7(e){4(!e){5 e=C.1S}5 a=4z.4y(e).D;4(a=="1p"){9.17()}};b.H(d);5 f=6.I("Z");f.A("D","15");d.H(f);4(1X){M.1M("15",1u);M.1e("15",1u)}y{M.1M("15",1);M.1e("15",1)}5 g=6.I("Z");g.A("D","4w");f.H(g);5 h=6.I("4t");h.A("D","1Z");g.H(h);5 i=6.I("Z");i.A("D","2n");g.H(i);5 j=6.I("a");j.A("D","1v");j.A("O","#");i.H(j);5 k=6.I("a");k.A("D","1q");k.A("O","#");i.H(k);5 l=6.I("Z");l.A("D","2l");g.H(l);5 m=6.I("a");m.A("D","4r");m.A("O","#");m.W=7(){9.17();E z};l.H(m);5 n=6.I("Z");n.A("D","1w");d.H(n);5 o=6.I("Z");o.A("D","4o");n.H(o);5 p=6.I("Z");p.A("D","4n");o.H(p);5 q=6.I("2j");q.A("D","1V");p.H(q);5 r=6.I("2j");r.A("D","1z");p.H(r);5 s=6.I("2j");s.A("D","1T");p.H(s);5 t=6.I("Z");t.A("D","4m");o.H(t);5 u=6.I("a");u.A("D","1l");u.A("O","#");u.W=7(){9.2i();E z};t.H(u);5 v=6.I("a");v.A("D","1j");v.A("O","#");v.W=7(){9.13();E z};t.H(v);4(2h){5 w=6.I("a");w.A("D","3h");w.A("4j","4i");t.H(w)}5 x=6.I("a");x.A("D","4h");x.A("O","#");x.W=7(){9.17();E z};t.H(x)},3G:7(){4(!6.T){E}5 a=6.T("a");5 b=6.T("4g");U(5 i=0;i<a.L;i++){5 c=a[i];5 d=1R(c.Q("1b"));4(c.Q("O")&&(d.1k().1P("2e"))){c.W=7(){9.2d(B);E z}}}U(5 i=0;i<b.L;i++){5 e=b[i];5 f=1R(e.Q("1b"));4(e.Q("O")&&(f.1k().1P("2e"))){e.W=7(){9.2d(B);E z}}}},2d:7(a){3d();3c();5 b=2c();M.1e("1G",b[1]);G 19.2b("1G",{18:23,3b:0,3a:3n});J=[];1W=0;4(!6.T){E}5 c=6.T(a.4b);4((a.Q("1b")=="2e")){J.38(G 1d(a.Q("O"),a.Q("35")));1D=z;1C=z;K=z;$("1j").N();$("1l").N()}y{U(5 i=0;i<c.L;i++){5 d=c[i];4(d.Q("O")&&(d.Q("1b")==a.Q("1b"))){J.38(G 1d(d.Q("O"),d.Q("35")))}}34(J[1W][0]!=a.Q("O")){1W++}4(a.Q("1b").1k().1P("49")){1D=S}y{1D=z}4(a.Q("1b").1k().1P("47")){1C=S;K=3f}y{1C=z;K=z;$("1j").N();$("1l").N()}}5 e=31();5 f=e[1]+(b[3]/10);5 g=e[0];M.2S("1p",f);M.2F("1p",g);$("1p").X();B.P(1W)},P:7(a){F=a;4(1X){$("2l").X()}$("1Z").N();$("2n").N();$("1v").N();$("1q").N();$("1w").N();$("1z").N();1r=G 1U();1r.1i=7(){M.2K("1Z",J[F][0]);9.2Z(1r.2Y,1r.2U);4(2h){6.1c("3h").A("O",J[F][0])}1r.1i=7(){}};1r.1H=J[F][0]},2Z:7(a,b){B.2u=M.33("15");B.29=M.46("15");5 c=(a+(2k*2));5 d=(b+(2k*2));B.2X=(c/B.2u)*28;B.2W=(d/B.29)*28;26=B.2u-c;2z=B.29-d;4(!(2z==0)){G 19.2V("15",B.2W,{43:z,18:14,2T:"42"})}4(!(26==0)){G 19.2V("15",B.2X,{40:z,3Y:14,18:14})}4((2z==0)&&(26==0)){4(2t.3W.3V("3U")!=-1){25(1u)}y{25(28)}}M.1e("1v",b);M.1e("1q",b);M.1M("1w",c);B.2N()},2N:7(){$("2l").N();G 19.2b("1Z",{18:14,2T:"17",2J:7(){9.2M()}});4(K){4(F==(J.L-1)){4(2f){1B[1A++]=1x("9.17()",2g+1F*2)}y{9.13()}}y{1B[1A++]=1x("9.P("+(F+1)+")",2g+1F*2)}}B.2L()},2M:7(){4(J[F][1]){$("1V").X();M.1J("1V",J[F][1])}y{$("1V").N()}4(J.L>1){$("1z").X();M.1J("1z"," "+3k+" "+3S(F+1)+" "+3i+" "+J.L)}4(1D){$("1z").N();9.2P()}y{$("1T").N()}4(1C){4(K){$("1l").N();$("1j").X()}y{$("1j").N();$("1l").X()}}G 19.3Q([G 19.3Z("1w",{2I:S,18:14,3b:0,3a:1}),G 19.2b("1w",{2I:S,18:14})],{18:14,2J:7(){5 a=2c();M.1e("1G",a[1]);9.2Q()}})},2Q:7(){$("2n").X();4(F!=0){$("1v").X();4(!K){6.1c("1v").W=7(){9.P(F-1);E z}}y{6.1c("1v").W=7(){9.13();9.P(F-1);E z}}}4(F!=(J.L-1)){$("1q").X();4(!K){6.1c("1q").W=7(){9.P(F+1);E z}}y{6.1c("1q").W=7(){9.13();9.P(F+1);E z}}}B.2H()},2P:7(){5 a="";U(5 i=1;i<=(J.L);i++){4((i-1)==F){4(!K){a+="<a 1K=\\"2G\\" O=\\"#\\" D=\\"1L"+i+"\\" 1O=\\"9.P("+(i-1)+"); E z;\\">"+i+"</a> "}y{a+="<a 1K=\\"2G\\" O=\\"#\\" D=\\"1L"+i+"\\" 1O=\\"9.13(); 9.P("+(i-1)+"); E z;\\">"+i+"</a> "}}y{4(!K){a+="<a 1K=\\"2E\\" O=\\"#\\" D=\\"1L"+i+"\\" 1O=\\"9.P("+(i-1)+"); E z;\\">"+i+"</a> "}y{a+="<a 1K=\\"2E\\" O=\\"#\\" D=\\"1L"+i+"\\" 1O=\\"9.13(); 9.P("+(i-1)+"); E z;\\">"+i+"</a> "}}}$("1T").X();M.1J("1T",a)},2i:7(){4(F!=(J.L-1)){K=S;9.P(F+1)}y{4(2f){9.17()}y{K=S;9.P(0)}}},13:7(){4(!K){E z}K=z;U(5 i=0;i<1A;i++){C.2D(1B[i])}$("1j").N();$("1l").X()},2H:7(){6.36=B.3K},24:7(){6.36=""},3K:7(e){4(e==1I){12=1S.2C;2B=27}y{12=e.2C;2B=e.4S}16=1R.3I(12).1k();4((16=="x")||(16=="o")||(16=="c")||(12==2B)){9.17()}y{4((16=="p")||(12==37)){4(F!=0){9.24();4(K){9.13()}9.P(F-1)}}y{4((16=="n")||(12==39)){4(F!=(J.L-1)){9.24();4(K){9.13()}9.P(F+1)}}y{4((16=="s")||(12==4R)){4(K){9.13()}y{9.2i()}}}}}},2L:7(){4((J.L-1)>F){3F=G 1U();3F.1H=J[F+1][0]}4(F>0){3g=G 1U();3g.1H=J[F-1][0]}},17:7(){B.24();$("1p").N();G 19.4O("1G",{18:23});3E();3D();4(K){U(5 i=0;i<1A;i++){C.2D(1B[i])}K=z}}};7 31(){5 a,Y;4(1g.3C){Y=1g.3C;a=1g.4K}y{4(6.11&&6.11.2v){Y=6.11.2v;a=6.11.3B}y{4(6.R){Y=6.R.2v;a=6.R.3B}}}3z=G 1d(a,Y);E 3z}7 2c(){5 a,Y;4(C.22&&C.3o){a=C.3q+C.4H;Y=C.22+C.3o}y{4(6.R.3w>6.R.3v){a=6.R.4G;Y=6.R.3w}y{a=6.R.32;Y=6.R.3v}}5 b,1f;4(1g.22){4(6.11.20){b=6.11.20}y{b=1g.3q}1f=1g.22}y{4(6.11&&6.11.2s){b=6.11.20;1f=6.11.2s}y{4(6.R){b=6.R.20;1f=6.R.2s}}}4(Y<1f){2r=1f}y{2r=Y}4(a<b){2w=a}y{2w=b}3u=G 1d(2w,2r,b,1f);E 3u}7 3t(e){4(e==1I){12=1S.2C}y{12=e.4C}16=1R.3I(12).1k();4(16=="x"){}}7 4M(){6.4N=3t}7 3E(){5 a=6.T("3x");U(i=0;i!=a.L;i++){a[i].V.1s="2q"}}7 3d(){5 a=6.T("3x");U(i=0;i!=a.L;i++){a[i].V.1s="2y"}}7 3D(){5 a=6.T("3s");U(i=0;i<a.L;i++){a[i].V.1s="2q"}5 b=6.T("3r");U(i=0;i<b.L;i++){b[i].V.1s="2q"}}7 3c(){5 a=6.T("3s");U(i=0;i<a.L;i++){a[i].V.1s="2y"}5 b=6.T("3r");U(i=0;i<b.L;i++){b[i].V.1s="2y"}}7 25(a){5 b=G 3p();4x=1I;4v{5 c=G 3p()}34(c-b<a)}7 3M(){9=G 2p()}1h(C,"2A",3M);',62,306,'||||if|var|document|function||myLightbox|||||||||||||||||||||||||else|false|setAttribute|this|window|id|return|activeImage|new|appendChild|createElement|imageArray|slideshowActive|length|Element|hide|href|changeImage|getAttribute|body|true|getElementsByTagName|for|style|onclick|show|yScroll|div||documentElement|keycode|stopSlideshow|resizeDuration|lbOuterImageContainer|key|end|duration|Effect|events|rel|getElementById|Array|setHeight|windowHeight|self|addEvent|onload|pauseLink|toLowerCase|playLink|DOMContentLoadedInit|fixEvent|handleEvent|lbLightbox|nextLink|imgPreloader|visibility|guid|250|prevLink|lbImageDataContainer|setTimeout|addEventListener|lbNumber|slideshowIDCount|slideshowIDArray|slideshowEnabled|presentationMode|onDOMLoadEvents|resizeSpeed|overlay|src|null|setInnerHTML|class|pmi|setWidth|DOMContentLoadedScheduler|onClick|match|DOMContentLoadedInitDone|String|event|lbPresent|Image|lbCaption|imageNum|animate|script|lightboxImage|clientWidth|px|innerHeight|overlayDuration|disableKeyboardNav|pause|wDiff||100|heightCurrent|__ie_onload|Appear|getPageSize|start|lightbox|slideshowAutoclose|slideshowInterval|allowSave|startSlideshow|span|borderSize|lbLoading|stopPropagation|lbHoverNav|on|Lightbox|visible|pageHeight|clientHeight|navigator|widthCurrent|scrollTop|pageWidth|preventDefault|hidden|hDiff|DOMContentLoaded|escapeKey|keyCode|clearTimeout|no|setLeft|act|enableKeyboardNav|sync|afterFinish|setSrc|preloadNeighborImages|updateDetails|showImage|readyState|updatePresentationNav|updateNav|complete|setTop|queue|height|Scale|yScale|xScale|width|resizeImageContainer|test|getPageScroll|offsetWidth|getWidth|while|title|onkeydown||push||to|from|hideFlash|hideSelectBoxes|removeEventListener|enableSlideshowAutoplay|preloadPrevImage|saveLink|lllOf|load|lllImage|onreadystatechange|addDOMLoadEvent|overlayOpacity|scrollMaxY|Date|innerWidth|embed|object|getKey|arrayPageSize|offsetHeight|scrollHeight|select|none|arrayPageScroll|display|scrollLeft|pageYOffset|showFlash|showSelectBoxes|preloadNextImage|updateImageList|1000|fromCharCode|DOMContentLoadedCustom|keyboardAction|typeof|initLightbox|Class|innerHTML|parentWindow|Parallel|setHref|eval|left|MSIE|indexOf|appVersion|top|delay|SlideDown|scaleY|ownerDocument|front|scaleX|loaded|userAgent|getHeight|slideshow|WebKit|present|KHTML|tagName|extend|Object|delete|5000|area|closeLink|_blank|target|removeEvent|of|bottomNav|lbImageDetails|lbImageData|400|cancelBubble|loadingLink|returnValue|img|defer|do|lbImageContainer|curDate|element|Event|write|in|which|Explorer|Internet|domload|scrollWidth|scrollMaxX|Microsoft|appName|pageXOffset|type|listenKey|onkeypress|Fade|item|undefined|83|DOM_VK_ESCAPE|initialize|prototype|create'.split('|'),0,{}))

/* (local) */
var borderSize = 10;
var resizeSpeed = 400;
var animate = true;
var overlayOpacity = 0.8;
var allowSave = false;
var enableSlideshowAutoplay = true;
var slideshowAutoclose = true;
var slideshowInterval = 5000;
var lllImage = 'Bild';
var lllOf = 'von';

/* typo3temp/javascript_a708894199.js */
var browserName=navigator.appName;var browserVer=parseInt(navigator.appVersion);var version="";var msie4=(browserName=="Microsoft Internet Explorer"&&browserVer>=4);if((browserName=="Netscape"&&browserVer>=3)||msie4||browserName=="Konqueror"||browserName=="Opera"){version="n3";}else{version="n2";}
function blurLink(theObject){if(msie4){theObject.blur();}}
function decryptCharcode(n,start,end,offset){n=n+offset;if(offset>0&&n>end){n=start+(n-end-1);}else if(offset<0&&n<start){n=end-(start-n-1);}
return String.fromCharCode(n);}
function decryptString(enc,offset){var dec="";var len=enc.length;for(var i=0;i<len;i++){var n=enc.charCodeAt(i);if(n>=0x2B&&n<=0x3A){dec+=decryptCharcode(n,0x2B,0x3A,offset);}else if(n>=0x40&&n<=0x5A){dec+=decryptCharcode(n,0x40,0x5A,offset);}else if(n>=0x61&&n<=0x7A){dec+=decryptCharcode(n,0x61,0x7A,offset);}else{dec+=enc.charAt(i);}}
return dec;}
function linkTo_UnCryptMailto(s){location.href=decryptString(s,-2);}

/* typo3conf/ext/comments/res/pi1.js */
function tx_comments_pi1_readCookie(name){var nameEQ=name+"=";var ca=document.cookie.split(';');for(var i=0;i<ca.length;i++){var c=ca[i];while(c.charAt(0)==' '){c=c.substring(1,c.length);}
if(c.indexOf(nameEQ)==0){return unescape(c.substring(nameEQ.length,c.length)).replace(/\+/,' ');}}
return false;}
function tx_comments_pi1_setUserDataField(name){var field=document.getElementById('tx_comments_pi1_'+name);try{if(field&&field.value==''){var value=tx_comments_pi1_readCookie('tx_comments_pi1_'+name);if(typeof value=='string'){field.value=value;}}}
catch(e){}}
function tx_comments_pi1_setUserData(){tx_comments_pi1_setUserDataField('firstname');tx_comments_pi1_setUserDataField('lastname');tx_comments_pi1_setUserDataField('location');tx_comments_pi1_setUserDataField('email');tx_comments_pi1_setUserDataField('homepage');}


/* Add-Ons for Migration 2010 / 2011 */
function openPic(url,winName,winParams)  {  //
  var theWindow = window.open(url,winName,winParams);
  if (theWindow)  {theWindow.focus();}
}

/* STADTPLAN 2010 */

var startTracking = false;
var iconPath = 'http://new.stadt-wien.at/services/stadtplan/icons/';
var spConfig = {
initialized: false,
data: [],
markers: [],
key: null,
cat: null,
category: {
  title: ''
},
icons: {
  listRaw: [
    { url: 'markets/adeg12.png', width: 55, height: 12 },
    { url: 'markets/billa18.png', width: 35, height: 18 },
    { url: 'markets/bipa14.png', width: 39, height: 14 },
    { url: 'markets/merkur16.png', width: 37, height: 16 },
    { url: 'markets/penny24.png', width: 24, height: 24 },
    { url: 'leisure/cinema18.png', width: 32, height: 18 },
    { url: 'cars/chevrolet.png', width: 54, height: 28 }
  ],
  listObjects: []
},
measures: {
  width: 758,
  height: 475,
  border: 5
},
map: null,
title: 'Stadtplan Wien',
filter: {
  available: [
    'region', 'city', 'category'
  ]
},
region: {
  current: 1,
  list: [
    { region: 'Österreich',       lat: 47.45780853,   lng: 13.21655273,zoom: 7 },
    { region: 'Wien',             lat: 48.208674, lng: 16.372271, zoom: 12 },
    { region: 'Burgenland',       lat: 47.42065432,lng: 16.57836914,zoom: 9 },
    { region: 'Kärnten',          lat: 46.70973594,lng: 13.97460938,zoom: 9 },
    { region: 'Niederösterreich', lat: 48.21003212,lng: 15.57312012,zoom: 9 },
    { region: 'Oberösterreich',   lat: 48.07807894,lng: 13.85375977,zoom: 9 },
    { region: 'Salzburg',         lat: 47.43551915,lng: 12.98583984,zoom: 9 },    
    { region: 'Steiermark',       lat: 47.1673097,lng: 14.88647461,zoom: 9 },
    { region: 'Tirol',            lat: 47.18971246,lng: 11.18408203,zoom: 9 },
    { region: 'Vorarlberg',       lat: 47.20464239,lng: 9.84375,zoom: 9 }
  ]
},
city: {
  current: 0,
  list: [
    { city: 'Wien', lat: 48.208674, lng: 16.372271, zoom: 15 },
    { city: 'Eisenstadt', lat: 47.845876, lng: 16.518073, zoom: 12 },
    { city: 'Klagenfurt', lat: 46.623641, lng: 14.307683, zoom: 12 },
    { city: 'St. Pölten', lat: 48.204536, lng: 15.622661, zoom: 12 },
    { city: 'Linz', lat: 48.3060741, lng: 14.2862934, zoom: 12 },
    { city: 'Salzburg', lat: 47.800499, lng: 13.04441, zoom: 12 },    
    { city: 'Graz', lat: 47.06792, lng: 15.44172, zoom: 12 },
    { city: 'Innsbruck', lat: 47.262692, lng: 11.3947, zoom: 12 },
    { city: 'Bregenz', lat: 47.503042, lng: 9.747067, zoom: 12 }
  ]
},
menu: [
  {
    name: 'Einkaufen',
    subitems: [
      {
        name: 'Supermärkte',
        key: 'markets'
      }
    ]
  },
  {
    name: 'Freizeit',
    subitems: [
      {
        name: 'Kinos',
        key: 'cinemas'
      }
    ]
  },
  {
    name: 'Autohändler',
    subitems: [
      {
        name: 'Chevrolet',
        key: 'chevrolet'
      }
    ]
  }
]
};

function spRenderLeftMenu() {
  var str = '';
  for (var i = 0; i < spConfig.menu.length; i++) {
    var mainitem = spConfig.menu[i];
    var subitems = '';
    for (var j = 0; j < mainitem.subitems.length; j++) {
      var subitem = mainitem.subitems[j];
      subitems += '<li><a href="#" class="' + subitem.key + '">' + subitem.name + '</a></li>';
    }
    str += '<li class="selected"><a href="#">' + mainitem.name + '</a><ul>' + subitems + '</ul></li>';
  }
  return '<div class="separator" style="height: 0px !important;">&nbsp;</div><ul>' + str + '</ul><div class="separator" style="height: 0px !important;">&nbsp;</div>';
}

function spRenderMap() {
  var str = '<div class="spMap"><div id="spMap">&nbsp;</div></div><div id="spInfoBox"><div class="a">&nbsp;</div><div class="b">&nbsp;</div></div>';
  return str;
}

function spRenderTopMenu() {
  var str = '';
  str += '<div class="spTitle"><span>' + spConfig.title + '</span></div>';
  str += '<div class="spFilterList">&nbsp;</div>';
  return '<div class="spTopMenu">' + str + '</div>';
}

function spRenderCanvas() {
  var str = '<div class="spCanvas">';
  str += spRenderMap();
  str += spRenderTopMenu();
  str += '</div>';
  return str;
}

function spGmapLoading(_state) {
  if (_state) {
    $j('.spMap .spMapLoading').remove();
    $j('.spMap').append('<div class="spMapLoading"><span>Lade Daten ...</span></div>');
    if (spConfig.mapLoadingWidth != null) {
      $j('.spMapLoading').css('width', spConfig.mapLoadingWidth);
    }
  } else {
    $j('.spMap .spMapLoading').remove();
  }
}

function spGmapInitIcons() {
  for (n = 0; n < spConfig.icons.listRaw.length; n++) {
    var _item = spConfig.icons.listRaw[n];
    var _icon = new GIcon;
    _icon.image = iconPath + _item.url;
    _icon.iconSize = new GSize(_item.width, _item.height);
    _icon.iconAnchor = new GPoint(parseInt(_item.width / 2), parseInt(_item.height / 2));
    _icon.infoWindowAnchor = new GPoint(0, 0);
    spConfig.icons.listObjects[n] = _icon;
  }
}

function spGmapSetCity(_city_id) {
  if (_city_id == null) { _city_id = spConfig.city.current; }
  var _city = spConfig.city.list[_city_id];
  $j('.spTitle span').html('Stadtplan ' + _city.city);
  spConfig.map.setCenter(new GLatLng(_city.lat, _city.lng), _city.zoom);
}

function spGmapSetRegion(_region_id, ignoreTitle) {
  if (_region_id == null) { _region_id = spConfig.region.current; }
  var _region = spConfig.region.list[_region_id];
  if (ignoreTitle == true) {
    $j('.spTitle span').html('Stadtplan ' + _region.region);
  }
  spConfig.map.setCenter(new GLatLng(_region.lat, _region.lng), _region.zoom);
}

function spInitGmap() {
        if (GBrowserIsCompatible()) {
          $j('#spMap').css({ width: spConfig.measures.width, height: spConfig.measures.height });
          spConfig.map = new google.maps.Map2(document.getElementById("spMap"));
          spGmapInitIcons();
          spGmapSetCity();
          spConfig.map.addControl(new GLargeMapControl());
          spConfig.map.addControl(new GMapTypeControl());         
    spConfig.map.addControl(new google.elements.LocalSearch());
    //spConfig.map.enableScrollWheelZoom();
    spConfig.map.enableDoubleClickZoom();
    GEvent.addListener(spConfig.map, "moveend", function() {
      spLoadData();
    });
    $j('#spInfoBox').appendTo(spConfig.map.getPane(G_MAP_FLOAT_SHADOW_PANE));
    if (spConfig.key != null) {
      spLoadData();
    }
    //Ersten Menüpunkt sofort auswählen
    //$j('#left ul:first ul:first li:first a').click();
        }
}

function spRenderFilterRegion() {
  var str = '<ul id="spFilterRegion"><li><div class="title"><span>Bundesland</span></div><ul>';
  for (var i = 0; i < spConfig.region.list.length; i++) {
    _item = spConfig.region.list[i];
    str += '<li class="region" data="' + i + '"><a href="#" region="' + _item.region + '" lng="' + _item.lng + '" lat="' + _item.lat + '" zoom="' + _item.zoom + '">' + _item.region + '</a></li>';
  }
  str += '</ul></li></ul>';
  $j('#spFilterRegion').remove();
  $j('.spFilterList').prepend(str);
}

function spRenderFilterCategory(_data, key) {
  var str = '<ul id="spFilterCategory"><li><div class="title"><span>' + spConfig.category.title + '</span></div><ul>';
  for (var i = 0; i < _data.length; i++) {
    _item = _data[i];
    str += '<li class="' + key + ' ' + key + _item.id + '"><a href="#" data="' + _item.id + '" title="' + _item.description + '">' + _item.title + '</a></li>';
  }
  str += '</ul></li></ul>';
  $j('#spFilterCategory').remove();
  $j('.spFilterList').prepend(str);
}

function spDisplayInfo(marker, index) {
  var _item = spConfig.data[index];
  $j('#spInfoBox').hide();
  var str = '<strong>' + _item.title + '</strong><br />' + _item.address + '<br />' + _item.zip + ' ' + _item.city;
  var str2 = '';
  if ((_item.telephone != null) && (_item.telephone != '')) {
    str2 += '<br />Tel: ' + _item.telephone;
  }
  if ((_item.email != null) && (_item.email != '')) {
    str2 += '<br />Email: ' + _item.email;
  }
  if ((_item.www != null) && (_item.www != '')) {
    str2 += '<br />Tel: <a href="http://' + _item.www + '" target="_blank">' + _item.www + '</a>';
  }
  
  if (str2 != '') { str += '<br />' + str2; }
  
  if ((_item.description != null) && (_item.description != '')) {
    str += '<br /><br />' + _item.description.replace('\\\\n', '<br />');
  }
  
  if (_item.links != null) {
    if (_item.links.length > 0) {
      var str3 = '<br/><br /><strong>Weiterführende Artikel</strong>';
      for (var i = 0; i < _item.links.length; i++) {
        _link = _item.links[i];
        str3 += '<br /><a href="' + _link.url + '" title="' + _link.title + '">' + _link.label + '</a>';
      }
      str += str3;
    }
  }
  
  $j('#spInfoBox .b').html(str);
  var moveEnd = GEvent.addListener(spConfig.map, "moveend", function() {
    var markerOffset = spConfig.map.fromLatLngToDivPixel(marker.getLatLng());
    $j('#spInfoBox').fadeIn().css({ top: markerOffset.y + 10, left: markerOffset.x - 35 });
    GEvent.removeListener(moveEnd);
  });
  spConfig.map.panTo(marker.getLatLng());
}

function spRenderItems(_data, key) {
  spConfig.data = _data;
  for (var i = 0; i < _data.length; i++) {
    _item = _data[i];
    var point = new GLatLng(parseFloat(_item.lat), parseFloat(_item.lng));
    var marker = new GMarker(point, spConfig.icons.listObjects[_item.icon]);
    spConfig.markers[i] = marker;
    spConfig.map.addOverlay(marker);
  }
  $j(spConfig.markers).each(function(i, marker) {
    GEvent.addListener(marker, "click", function() {
      spDisplayInfo(marker, i);
    });
  });
}

function spRenderView(_data, key) {
  $j('.spFilterList').html('&nbsp;');
  if (_data.categories != null) {
    if (_data.categories.length > 0) {
      spRenderFilterCategory(_data.categories, key);
    }
  }

  if (_data.region == true) {
    spRenderFilterRegion();
  }

  spConfig.map.clearOverlays();
  if (_data.items != null) {
    if (_data.items.length > 0) {
      spRenderItems(_data.items, key);
    }
  }
}

function spLoadData() {
  if (spConfig.key != null) {
    $j('#spInfoBox').hide();
    var bounds = spConfig.map.getBounds();
    var southWest = bounds.getSouthWest();
    var northEast = bounds.getNorthEast();
    spGmapLoading(true);
    $j.ajax({
      url: 'http://new.stadt-wien.at/services/stadtplan/data.php',
      type: 'POST',
      data: {
        key: spConfig.key,
        cat: spConfig.cat,
        y1: southWest.y,
        y2: northEast.y,
        x1: southWest.x,
        x2: northEast.x
      },
      dataType: 'json',
      success: function(data, textStatus, request) {
        spRenderView(data, spConfig.key);
        spGmapLoading(false);
        if ((spConfig.initialized == false) && (spConfig.key == 'chevrolet')) {
          spGmapSetRegion(1, true);
        }
        spConfig.initialized = true;
      },
      error: function(request, status, error) {
        spGmapLoading(false);
        alert('Ein Fehler beim Laden der Daten trat auf:' + error);
      }
    });
  }
}

function spInitMap(inMiddle, _key) {
  if (_key != null) {
    spConfig.key = _key;
  }
  
  $j('#left > ul').before(spRenderLeftMenu());
  if ((inMiddle != false) && (inMiddle != null)) {
    $j('div#middle #gmap_canvas').html(spRenderCanvas());
  } else {
    $j('#gmap_canvas').html(spRenderCanvas());
  }
  if (_key != 'chevrolet') {
  $j('#left ul:first ul li a').live('click', function() {
    $j('#spInfoBox').hide();
    $j('#left ul ul li').removeClass('selected');
    $j(this).parent().addClass('selected');
    spConfig.category.title = 'Auswahl: <span>Alle ' + $j(this).text() + '</span>';
    spConfig.key = $j(this).attr('class');
    spConfig.cat = null;
    spLoadData();
    if (startTracking == false) {
      startTracking = true;
    } else {
      try {
        var pageTracker = _gat._getTracker("UA-1013679-2");
        pageTracker._trackPageview('/ajax/stadtplan/' + spConfig.key + '/');
      } catch(err) {}
    }
    return false;
  });
}
    $j('#spFilterRegion ul li a').live('click', function() {
        spConfig.category.title = 'Auswahl: <span>' + $j(this).attr('region') + '</span>';
  spConfig.map.setCenter(new GLatLng(parseFloat($j(this).attr('lat')), parseFloat($j(this).attr('lng'))), parseInt($j(this).attr('zoom')));
        try {
            var pageTracker = _gat._getTracker("UA-1013679-2");
            pageTracker._trackPageview('/ajax/stadtplan/' + spConfig.key + '/' + $j(this).attr('region'));
        } catch(err) {}
        return false;
    });  

  $j('#spFilterCategory ul li a').live('click', function() {
    $j('#spInfoBox').hide();
    spConfig.category.title = 'Auswahl: <span>' + $j(this).text() + '</span>';
    spConfig.key = $j('#left li li.selected a').attr('class');
    spConfig.cat = $j(this).attr('data');
    spLoadData();
    try {
      var pageTracker = _gat._getTracker("UA-1013679-2");
      pageTracker._trackPageview('/ajax/stadtplan/' + spConfig.key + '/' + spConfig.cat);
    } catch(err) {}
    return false;
  });
  
  google.setOnLoadCallback(spInitGmap);
}

function spInitMapChevrolet() {
  spConfig.mapLoadingWidth = '950px';
  spConfig.measures.width = '940px';
  spInitMap(false, 'chevrolet');
}









/* STADTPLAN ALT */

var gmap_data = [ ];
var gmap_count = 0;
var bounds = null;
var markerList = [ ];
var markerCount = 0;
var map = null;
var _stadt = 'wien';
var defaultGoogleZoom = 12;
var defaultGoogleWidth = 300;
var defaultGoogleHeight = 250;

function setCenter() {
  if (markerCount < 2) {
    map.setCenter(bounds.getCenter(), defaultGoogleZoom);
  } else {
    map.setCenter(bounds.getCenter(), map.getBoundsZoomLevel(bounds));
  }
}

function createMarker(point, index) {
  var marker = new GMarker(point);
  GEvent.addListener(marker, "click", function(event) {
    _ex = event.x;
    _ey = event.y;
    $j('p.address').removeClass('address-selected');
    $j('p.address').each( function() {
      var _data = eval('({' + $j(this).find('span.data').text() + '})');
      if ((_data.lat == _ey) && (_data.lng == _ex)) {
        $j(this).addClass('address-selected');
      }
    });
  });
  return marker;
}

function init_gmap2() {
  $j('#gmap_canvas').css({ width: "768px", height: "475px" });
        if (GBrowserIsCompatible()) {
          var map = new google.maps.Map2(document.getElementById("gmap_canvas"));
          if (_stadt == 'graz') {
            map.setCenter(new GLatLng(47.06792, 15.44172), 12);
    } else if (_stadt == 'linz') {
            map.setCenter(new GLatLng(48.3060741, 14.2862934), 12);
    } else if (_stadt == 'eisenstadt') {
            map.setCenter(new GLatLng(47.845876, 16.518073), 12);
    } else if (_stadt == 'klagenfurt') {
            map.setCenter(new GLatLng(46.623641, 14.307683), 12);
      } else if (_stadt == 'stpoelten') {
            map.setCenter(new GLatLng(48.204536, 15.622661), 12);
    } else if (_stadt == 'salzburg') {
            map.setCenter(new GLatLng(47.800499, 13.04441), 12);
    } else if (_stadt == 'innsbruck') {
            map.setCenter(new GLatLng(47.262692, 11.3947), 12);
    } else if (_stadt == 'bregenz') {
            map.setCenter(new GLatLng(47.503042, 9.747067), 12);
    } else {
            map.setCenter(new GLatLng(48.208674,   16.372271), 12);
    }
          map.addControl(new GLargeMapControl());
          map.addControl(new GMapTypeControl());         
         
    map.addControl(new google.elements.LocalSearch());
        }
}

/* map.addControl(new google.maps.LocalSearch(), new GControlPosition(G_ANCHOR_BOTTOM_RIGHT, new GSize(10,20))); */

function init_gmap() {
  if (gmap_count > 0) {
    $j('#gmap').css({ width: defaultGoogleWidth + "px", height: defaultGoogleHeight + "px" });
    bounds = new GLatLngBounds();
    map = new google.maps.Map2(document.getElementById("gmap"));
    map.addControl(new GSmallMapControl());
    map.addControl(new GMapTypeControl());
    markerCount = gmap_data.length;
    for (var i = 0; i < gmap_data.length; i++) {
      if ((gmap_data[i].lat != null) && (gmap_data[i].lng != null)) {
        var point = new GLatLng(parseFloat(gmap_data[i].lat), parseFloat(gmap_data[i].lng));
        bounds.extend(point);
        var marker = createMarker(point, i);
        map.addOverlay(marker);
        markerList.push(marker);
        if (markerList.length == markerCount) {
          setCenter();
        }
      }
    }
    $j('p.address, .branchenteaser .teaser').mouseover( function() {
      if ($j(this).hasClass('teaser')) {
        // Branchenteaser
        var _data = eval('({' + $j(this).attr('data') + '})');
      } else {
        // address list
        var _data = eval('({' + $j(this).find('span.data').text() + '})');
      }
      //window.console.log(_data);
      var _point = new GLatLng(parseFloat(_data.lat), parseFloat(_data.lng));
      map.panTo(_point);
    });
    $j('p.address, .branchenteaser .teaser').hover(
      function() {
        $j(this).addClass('address-selected');
      },
      function() {
        $j(this).removeClass('address-selected');
      }
    );
    $j('#po li').mouseover( function() {
      var _data_str = $j(this).children('span.address').attr('data');
      var _data = eval('({' + _data_str + '})');
      var _point = new GLatLng(parseFloat(_data.lat), parseFloat(_data.lng));
      map.panTo(_point);
      var _container = $j('#po > div');
      _container.hide();
      _container.each( function() {
        if ($j(this).children('div.address').attr('data') == _data_str) {
          $j(this).show();
        }
      });
    });
    $j('#po li').hover(
      function() {
        $j(this).addClass('selected').siblings().removeClass('selected');
      },
      function() {

      }      
    );
  } else {
    $j('#gmap').hide();
  }
}

function addAddress(params) {
  if ((params[5] != null) && (params[5] != '') && (params[6] != null) && (params[6] != '') && (params[3] != null) && (params[3] != '')) {
    gmap_data.push({
      company: params[0],
      firstname: params[1],
      lastname: params[2],
      address: params[3],
      building: params[4],
      zip: params[5],
      city: params[6],
      phone: params[7],
      mobile: params[8],
      fax: params[9],
      email: params[10],
      www: params[11],
      lng: params[12],
      lat: params[13]
    });
    gmap_count = gmap_count + 1;
  }
}

function showAddress() {
  google.setOnLoadCallback(init_gmap);
}

function showPlan() {
  _stadt = 'wien';
  google.setOnLoadCallback(init_gmap2);
}

function showPlanGraz() {
  _stadt = 'graz';
  google.setOnLoadCallback(init_gmap2);
}

function showPlanLinz() {
  _stadt = 'linz';
  google.setOnLoadCallback(init_gmap2);
}




function showPlanEisenstadt() {
  _stadt = 'eisenstadt';
  google.setOnLoadCallback(init_gmap2);
}

function showPlanStPoelten() {
  _stadt = 'stpoelten';
  google.setOnLoadCallback(init_gmap2);
}

function showPlanKlagenfurt() {
  _stadt = 'klagenfurt';
  google.setOnLoadCallback(init_gmap2);
}

function showPlanSalzburg() {
  _stadt = 'salzburg';
  google.setOnLoadCallback(init_gmap2);
}

function showPlanBregenz() {
  _stadt = 'bregenz';
  google.setOnLoadCallback(init_gmap2);
}

function showPlanInnsbruck() {
  _stadt = 'innsbruck';
  google.setOnLoadCallback(init_gmap2);
}

/* Fix 2010-11-09 Old profile page "{", "}" are filtered by typoscript */
function _loadgoogle() { google.load("maps","2");google.load("elements","1",{packages:["localsearch"]}); }
/* Fix 2010-11-09 End */











/*
 * FancyBox - jQuery Plugin
 * Simple and fancy lightbox alternative
 *
 * Examples and documentation at: http://fancybox.net
 * 
 * Copyright (c) 2008 - 2010 Janis Skarnelis
 * That said, it is hardly a one-person project. Many people have submitted bugs, code, and offered their advice freely. Their support is greatly appreciated.
 * 
 * Version: 1.3.4 (11/11/2010)
 * Requires: jQuery v1.3+
 *
 * Dual licensed under the MIT and GPL licenses:
 *   http://www.opensource.org/licenses/mit-license.php
 *   http://www.gnu.org/licenses/gpl.html
 */

;(function(b){var m,t,u,f,D,j,E,n,z,A,q=0,e={},o=[],p=0,d={},l=[],G=null,v=new Image,J=/\.(jpg|gif|png|bmp|jpeg)(.*)?$/i,W=/[^\.]\.(swf)\s*$/i,K,L=1,y=0,s="",r,i,h=false,B=b.extend(b("<div/>")[0],{prop:0}),M=b.browser.msie&&b.browser.version<7&&!window.XMLHttpRequest,N=function(){t.hide();v.onerror=v.onload=null;G&&G.abort();m.empty()},O=function(){if(false===e.onError(o,q,e)){t.hide();h=false}else{e.titleShow=false;e.width="auto";e.height="auto";m.html('<p id="fancybox-error">The requested content cannot be loaded.<br />Please try again later.</p>');
F()}},I=function(){var a=o[q],c,g,k,C,P,w;N();e=b.extend({},b.fn.fancybox.defaults,typeof b(a).data("fancybox")=="undefined"?e:b(a).data("fancybox"));w=e.onStart(o,q,e);if(w===false)h=false;else{if(typeof w=="object")e=b.extend(e,w);k=e.title||(a.nodeName?b(a).attr("title"):a.title)||"";if(a.nodeName&&!e.orig)e.orig=b(a).children("img:first").length?b(a).children("img:first"):b(a);if(k===""&&e.orig&&e.titleFromAlt)k=e.orig.attr("alt");c=e.href||(a.nodeName?b(a).attr("href"):a.href)||null;if(/^(?:javascript)/i.test(c)||
c=="#")c=null;if(e.type){g=e.type;if(!c)c=e.content}else if(e.content)g="html";else if(c)g=c.match(J)?"image":c.match(W)?"swf":b(a).hasClass("iframe")?"iframe":c.indexOf("#")===0?"inline":"ajax";if(g){if(g=="inline"){a=c.substr(c.indexOf("#"));g=b(a).length>0?"inline":"ajax"}e.type=g;e.href=c;e.title=k;if(e.autoDimensions)if(e.type=="html"||e.type=="inline"||e.type=="ajax"){e.width="auto";e.height="auto"}else e.autoDimensions=false;if(e.modal){e.overlayShow=true;e.hideOnOverlayClick=false;e.hideOnContentClick=
false;e.enableEscapeButton=false;e.showCloseButton=false}e.padding=parseInt(e.padding,10);e.margin=parseInt(e.margin,10);m.css("padding",e.padding+e.margin);b(".fancybox-inline-tmp").unbind("fancybox-cancel").bind("fancybox-change",function(){b(this).replaceWith(j.children())});switch(g){case "html":m.html(e.content);F();break;case "inline":if(b(a).parent().is("#fancybox-content")===true){h=false;break}b('<div class="fancybox-inline-tmp" />').hide().insertBefore(b(a)).bind("fancybox-cleanup",function(){b(this).replaceWith(j.children())}).bind("fancybox-cancel",
function(){b(this).replaceWith(m.children())});b(a).appendTo(m);F();break;case "image":h=false;b.fancybox.showActivity();v=new Image;v.onerror=function(){O()};v.onload=function(){h=true;v.onerror=v.onload=null;e.width=v.width;e.height=v.height;b("<img />").attr({id:"fancybox-img",src:v.src,alt:e.title}).appendTo(m);Q()};v.src=c;break;case "swf":e.scrolling="no";C='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+e.width+'" height="'+e.height+'"><param name="movie" value="'+c+
'"></param>';P="";b.each(e.swf,function(x,H){C+='<param name="'+x+'" value="'+H+'"></param>';P+=" "+x+'="'+H+'"'});C+='<embed src="'+c+'" type="application/x-shockwave-flash" width="'+e.width+'" height="'+e.height+'"'+P+"></embed></object>";m.html(C);F();break;case "ajax":h=false;b.fancybox.showActivity();e.ajax.win=e.ajax.success;G=b.ajax(b.extend({},e.ajax,{url:c,data:e.ajax.data||{},error:function(x){x.status>0&&O()},success:function(x,H,R){if((typeof R=="object"?R:G).status==200){if(typeof e.ajax.win==
"function"){w=e.ajax.win(c,x,H,R);if(w===false){t.hide();return}else if(typeof w=="string"||typeof w=="object")x=w}m.html(x);F()}}}));break;case "iframe":Q()}}else O()}},F=function(){var a=e.width,c=e.height;a=a.toString().indexOf("%")>-1?parseInt((b(window).width()-e.margin*2)*parseFloat(a)/100,10)+"px":a=="auto"?"auto":a+"px";c=c.toString().indexOf("%")>-1?parseInt((b(window).height()-e.margin*2)*parseFloat(c)/100,10)+"px":c=="auto"?"auto":c+"px";m.wrapInner('<div style="width:'+a+";height:"+c+
";overflow: "+(e.scrolling=="auto"?"auto":e.scrolling=="yes"?"scroll":"hidden")+';position:relative;"></div>');e.width=m.width();e.height=m.height();Q()},Q=function(){var a,c;t.hide();if(f.is(":visible")&&false===d.onCleanup(l,p,d)){b.event.trigger("fancybox-cancel");h=false}else{h=true;b(j.add(u)).unbind();b(window).unbind("resize.fb scroll.fb");b(document).unbind("keydown.fb");f.is(":visible")&&d.titlePosition!=="outside"&&f.css("height",f.height());l=o;p=q;d=e;if(d.overlayShow){u.css({"background-color":d.overlayColor,
opacity:d.overlayOpacity,cursor:d.hideOnOverlayClick?"pointer":"auto",height:b(document).height()});if(!u.is(":visible")){M&&b("select:not(#fancybox-tmp select)").filter(function(){return this.style.visibility!=="hidden"}).css({visibility:"hidden"}).one("fancybox-cleanup",function(){this.style.visibility="inherit"});u.show()}}else u.hide();i=X();s=d.title||"";y=0;n.empty().removeAttr("style").removeClass();if(d.titleShow!==false){if(b.isFunction(d.titleFormat))a=d.titleFormat(s,l,p,d);else a=s&&s.length?
d.titlePosition=="float"?'<table id="fancybox-title-float-wrap" cellpadding="0" cellspacing="0"><tr><td id="fancybox-title-float-left"></td><td id="fancybox-title-float-main">'+s+'</td><td id="fancybox-title-float-right"></td></tr></table>':'<div id="fancybox-title-'+d.titlePosition+'">'+s+"</div>":false;s=a;if(!(!s||s==="")){n.addClass("fancybox-title-"+d.titlePosition).html(s).appendTo("body").show();switch(d.titlePosition){case "inside":n.css({width:i.width-d.padding*2,marginLeft:d.padding,marginRight:d.padding});
y=n.outerHeight(true);n.appendTo(D);i.height+=y;break;case "over":n.css({marginLeft:d.padding,width:i.width-d.padding*2,bottom:d.padding}).appendTo(D);break;case "float":n.css("left",parseInt((n.width()-i.width-40)/2,10)*-1).appendTo(f);break;default:n.css({width:i.width-d.padding*2,paddingLeft:d.padding,paddingRight:d.padding}).appendTo(f)}}}n.hide();if(f.is(":visible")){b(E.add(z).add(A)).hide();a=f.position();r={top:a.top,left:a.left,width:f.width(),height:f.height()};c=r.width==i.width&&r.height==
i.height;j.fadeTo(d.changeFade,0.3,function(){var g=function(){j.html(m.contents()).fadeTo(d.changeFade,1,S)};b.event.trigger("fancybox-change");j.empty().removeAttr("filter").css({"border-width":d.padding,width:i.width-d.padding*2,height:e.autoDimensions?"auto":i.height-y-d.padding*2});if(c)g();else{B.prop=0;b(B).animate({prop:1},{duration:d.changeSpeed,easing:d.easingChange,step:T,complete:g})}})}else{f.removeAttr("style");j.css("border-width",d.padding);if(d.transitionIn=="elastic"){r=V();j.html(m.contents());
f.show();if(d.opacity)i.opacity=0;B.prop=0;b(B).animate({prop:1},{duration:d.speedIn,easing:d.easingIn,step:T,complete:S})}else{d.titlePosition=="inside"&&y>0&&n.show();j.css({width:i.width-d.padding*2,height:e.autoDimensions?"auto":i.height-y-d.padding*2}).html(m.contents());f.css(i).fadeIn(d.transitionIn=="none"?0:d.speedIn,S)}}}},Y=function(){if(d.enableEscapeButton||d.enableKeyboardNav)b(document).bind("keydown.fb",function(a){if(a.keyCode==27&&d.enableEscapeButton){a.preventDefault();b.fancybox.close()}else if((a.keyCode==
37||a.keyCode==39)&&d.enableKeyboardNav&&a.target.tagName!=="INPUT"&&a.target.tagName!=="TEXTAREA"&&a.target.tagName!=="SELECT"){a.preventDefault();b.fancybox[a.keyCode==37?"prev":"next"]()}});if(d.showNavArrows){if(d.cyclic&&l.length>1||p!==0)z.show();if(d.cyclic&&l.length>1||p!=l.length-1)A.show()}else{z.hide();A.hide()}},S=function(){if(!b.support.opacity){j.get(0).style.removeAttribute("filter");f.get(0).style.removeAttribute("filter")}e.autoDimensions&&j.css("height","auto");f.css("height","auto");
s&&s.length&&n.show();d.showCloseButton&&E.show();Y();d.hideOnContentClick&&j.bind("click",b.fancybox.close);d.hideOnOverlayClick&&u.bind("click",b.fancybox.close);b(window).bind("resize.fb",b.fancybox.resize);d.centerOnScroll&&b(window).bind("scroll.fb",b.fancybox.center);if(d.type=="iframe")b('<iframe id="fancybox-frame" name="fancybox-frame'+(new Date).getTime()+'" frameborder="0" hspace="0" '+(b.browser.msie?'allowtransparency="true""':"")+' scrolling="'+e.scrolling+'" src="'+d.href+'"></iframe>').appendTo(j);
f.show();h=false;b.fancybox.center();d.onComplete(l,p,d);var a,c;if(l.length-1>p){a=l[p+1].href;if(typeof a!=="undefined"&&a.match(J)){c=new Image;c.src=a}}if(p>0){a=l[p-1].href;if(typeof a!=="undefined"&&a.match(J)){c=new Image;c.src=a}}},T=function(a){var c={width:parseInt(r.width+(i.width-r.width)*a,10),height:parseInt(r.height+(i.height-r.height)*a,10),top:parseInt(r.top+(i.top-r.top)*a,10),left:parseInt(r.left+(i.left-r.left)*a,10)};if(typeof i.opacity!=="undefined")c.opacity=a<0.5?0.5:a;f.css(c);
j.css({width:c.width-d.padding*2,height:c.height-y*a-d.padding*2})},U=function(){return[b(window).width()-d.margin*2,b(window).height()-d.margin*2,b(document).scrollLeft()+d.margin,b(document).scrollTop()+d.margin]},X=function(){var a=U(),c={},g=d.autoScale,k=d.padding*2;c.width=d.width.toString().indexOf("%")>-1?parseInt(a[0]*parseFloat(d.width)/100,10):d.width+k;c.height=d.height.toString().indexOf("%")>-1?parseInt(a[1]*parseFloat(d.height)/100,10):d.height+k;if(g&&(c.width>a[0]||c.height>a[1]))if(e.type==
"image"||e.type=="swf"){g=d.width/d.height;if(c.width>a[0]){c.width=a[0];c.height=parseInt((c.width-k)/g+k,10)}if(c.height>a[1]){c.height=a[1];c.width=parseInt((c.height-k)*g+k,10)}}else{c.width=Math.min(c.width,a[0]);c.height=Math.min(c.height,a[1])}c.top=parseInt(Math.max(a[3]-20,a[3]+(a[1]-c.height-40)*0.5),10);c.left=parseInt(Math.max(a[2]-20,a[2]+(a[0]-c.width-40)*0.5),10);return c},V=function(){var a=e.orig?b(e.orig):false,c={};if(a&&a.length){c=a.offset();c.top+=parseInt(a.css("paddingTop"),
10)||0;c.left+=parseInt(a.css("paddingLeft"),10)||0;c.top+=parseInt(a.css("border-top-width"),10)||0;c.left+=parseInt(a.css("border-left-width"),10)||0;c.width=a.width();c.height=a.height();c={width:c.width+d.padding*2,height:c.height+d.padding*2,top:c.top-d.padding-20,left:c.left-d.padding-20}}else{a=U();c={width:d.padding*2,height:d.padding*2,top:parseInt(a[3]+a[1]*0.5,10),left:parseInt(a[2]+a[0]*0.5,10)}}return c},Z=function(){if(t.is(":visible")){b("div",t).css("top",L*-40+"px");L=(L+1)%12}else clearInterval(K)};
b.fn.fancybox=function(a){if(!b(this).length)return this;b(this).data("fancybox",b.extend({},a,b.metadata?b(this).metadata():{})).unbind("click.fb").bind("click.fb",function(c){c.preventDefault();if(!h){h=true;b(this).blur();o=[];q=0;c=b(this).attr("rel")||"";if(!c||c==""||c==="nofollow")o.push(this);else{o=b("a[rel="+c+"], area[rel="+c+"]");q=o.index(this)}I()}});return this};b.fancybox=function(a,c){var g;if(!h){h=true;g=typeof c!=="undefined"?c:{};o=[];q=parseInt(g.index,10)||0;if(b.isArray(a)){for(var k=
0,C=a.length;k<C;k++)if(typeof a[k]=="object")b(a[k]).data("fancybox",b.extend({},g,a[k]));else a[k]=b({}).data("fancybox",b.extend({content:a[k]},g));o=jQuery.merge(o,a)}else{if(typeof a=="object")b(a).data("fancybox",b.extend({},g,a));else a=b({}).data("fancybox",b.extend({content:a},g));o.push(a)}if(q>o.length||q<0)q=0;I()}};b.fancybox.showActivity=function(){clearInterval(K);t.show();K=setInterval(Z,66)};b.fancybox.hideActivity=function(){t.hide()};b.fancybox.next=function(){return b.fancybox.pos(p+
1)};b.fancybox.prev=function(){return b.fancybox.pos(p-1)};b.fancybox.pos=function(a){if(!h){a=parseInt(a);o=l;if(a>-1&&a<l.length){q=a;I()}else if(d.cyclic&&l.length>1){q=a>=l.length?0:l.length-1;I()}}};b.fancybox.cancel=function(){if(!h){h=true;b.event.trigger("fancybox-cancel");N();e.onCancel(o,q,e);h=false}};b.fancybox.close=function(){function a(){u.fadeOut("fast");n.empty().hide();f.hide();b.event.trigger("fancybox-cleanup");j.empty();d.onClosed(l,p,d);l=e=[];p=q=0;d=e={};h=false}if(!(h||f.is(":hidden"))){h=
true;if(d&&false===d.onCleanup(l,p,d))h=false;else{N();b(E.add(z).add(A)).hide();b(j.add(u)).unbind();b(window).unbind("resize.fb scroll.fb");b(document).unbind("keydown.fb");j.find("iframe").attr("src",M&&/^https/i.test(window.location.href||"")?"javascript:void(false)":"about:blank");d.titlePosition!=="inside"&&n.empty();f.stop();if(d.transitionOut=="elastic"){r=V();var c=f.position();i={top:c.top,left:c.left,width:f.width(),height:f.height()};if(d.opacity)i.opacity=1;n.empty().hide();B.prop=1;
b(B).animate({prop:0},{duration:d.speedOut,easing:d.easingOut,step:T,complete:a})}else f.fadeOut(d.transitionOut=="none"?0:d.speedOut,a)}}};b.fancybox.resize=function(){u.is(":visible")&&u.css("height",b(document).height());b.fancybox.center(true)};b.fancybox.center=function(a){var c,g;if(!h){g=a===true?1:0;c=U();!g&&(f.width()>c[0]||f.height()>c[1])||f.stop().animate({top:parseInt(Math.max(c[3]-20,c[3]+(c[1]-j.height()-40)*0.5-d.padding)),left:parseInt(Math.max(c[2]-20,c[2]+(c[0]-j.width()-40)*0.5-
d.padding))},typeof a=="number"?a:200)}};b.fancybox.init=function(){if(!b("#fancybox-wrap").length){b("body").append(m=b('<div id="fancybox-tmp"></div>'),t=b('<div id="fancybox-loading"><div></div></div>'),u=b('<div id="fancybox-overlay"></div>'),f=b('<div id="fancybox-wrap"></div>'));D=b('<div id="fancybox-outer"></div>').append('<div class="fancybox-bg" id="fancybox-bg-n"></div><div class="fancybox-bg" id="fancybox-bg-ne"></div><div class="fancybox-bg" id="fancybox-bg-e"></div><div class="fancybox-bg" id="fancybox-bg-se"></div><div class="fancybox-bg" id="fancybox-bg-s"></div><div class="fancybox-bg" id="fancybox-bg-sw"></div><div class="fancybox-bg" id="fancybox-bg-w"></div><div class="fancybox-bg" id="fancybox-bg-nw"></div>').appendTo(f);
D.append(j=b('<div id="fancybox-content"></div>'),E=b('<a id="fancybox-close"></a>'),n=b('<div id="fancybox-title"></div>'),z=b('<a href="javascript:;" id="fancybox-left"><span class="fancy-ico" id="fancybox-left-ico"></span></a>'),A=b('<a href="javascript:;" id="fancybox-right"><span class="fancy-ico" id="fancybox-right-ico"></span></a>'));E.click(b.fancybox.close);t.click(b.fancybox.cancel);z.click(function(a){a.preventDefault();b.fancybox.prev()});A.click(function(a){a.preventDefault();b.fancybox.next()});
b.fn.mousewheel&&f.bind("mousewheel.fb",function(a,c){if(h)a.preventDefault();else if(b(a.target).get(0).clientHeight==0||b(a.target).get(0).scrollHeight===b(a.target).get(0).clientHeight){a.preventDefault();b.fancybox[c>0?"prev":"next"]()}});b.support.opacity||f.addClass("fancybox-ie");if(M){t.addClass("fancybox-ie6");f.addClass("fancybox-ie6");b('<iframe id="fancybox-hide-sel-frame" src="'+(/^https/i.test(window.location.href||"")?"javascript:void(false)":"about:blank")+'" scrolling="no" border="0" frameborder="0" tabindex="-1"></iframe>').prependTo(D)}}};
b.fn.fancybox.defaults={padding:10,margin:40,opacity:false,modal:false,cyclic:false,scrolling:"auto",width:560,height:340,autoScale:true,autoDimensions:true,centerOnScroll:false,ajax:{},swf:{wmode:"transparent"},hideOnOverlayClick:true,hideOnContentClick:false,overlayShow:true,overlayOpacity:0.7,overlayColor:"#777",titleShow:true,titlePosition:"float",titleFormat:null,titleFromAlt:false,transitionIn:"fade",transitionOut:"fade",speedIn:300,speedOut:300,changeSpeed:300,changeFade:"fast",easingIn:"swing",
easingOut:"swing",showCloseButton:true,showNavArrows:true,enableEscapeButton:true,enableKeyboardNav:true,onStart:function(){},onCancel:function(){},onComplete:function(){},onCleanup:function(){},onClosed:function(){},onError:function(){}};b(document).ready(function(){b.fancybox.init()})})(jQuery);


jQuery(document).ready(function() {
  jQuery('a.fancybox').fancybox({
    'transitionIn': 'none',
    'transitionOut': 'none',
    'titlePosition': 'inside'
  });
});


/* ADDED BY KOHOUT - 2011-08-22; for tx_comments / sr_freecap */

/***************************************************************
*  Copyright notice
*
*  (c) 2007-2011 Stanislas Rolland <typo3(arobas)sjbr.ca>
*  All rights reserved
*
*  This script is part of the TYPO3 project. The TYPO3 project is
*  free software; you can redistribute it and/or modify
*  it under the terms of the GNU General Public License as published by
*  the Free Software Foundation; either version 2 of the License, or
*  (at your option) any later version.
*
*  The GNU General Public License can be found at
*  http://www.gnu.org/copyleft/gpl.html.
*  A copy is found in the textfile GPL.txt and important notices to the license
*  from the author is found in LICENSE.txt distributed with these scripts.
*
*
*  This script is distributed in the hope that it will be useful,
*  but WITHOUT ANY WARRANTY; without even the implied warranty of
*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
*  GNU General Public License for more details.
*
*
*  This copyright notice MUST APPEAR in all copies of the script!
***************************************************************/
/*
 * Javascript functions for TYPO3 plugin freeCap (sr_freecap)
 *
 * TYPO3 CVS ID: $Id$
 */

/*
 * Loads a new freeCap image
 *
 * @param	string		id: identifier used to uniiquely identify the image
 *
 * @return	void
 */
function newFreeCap(id, noImageMessage) {
	if (document.getElementById) {
			// extract image name from image source (i.e. cut off ?randomness)
		var theImage = document.getElementById('tx_srfreecap_pi2_captcha_image_' + id);
		var parts = theImage.src.split('&set');
		theImage.src = parts[0] + '&set=' + Math.round(Math.random()*100000);
	} else {
		alert(noImageMessage ? noImageMessage : 'Sorry, we cannot autoreload a new image. Submit the form and a new image will be loaded.');
	}
}

/*
 * Plays the audio captcha
 *
 * @param	string		id: identifier used to uniquely identify the wav file
 * @param	string		wavURL: url of the wave file generating script
 *
 * @return	void
 *
 * Note: In order for this to work with IE8, [SYS][cookieDomain] must be set using the TYPO3 Install Tool
 */
function playCaptcha(id, wavURL, noPlayMessage) {
	if (document.getElementById) {
		var theAudio = document.getElementById("tx_srfreecap_pi2_captcha_playAudio_"+id);
		var wavURLForOpera = wavURL + "&nocache=" + Math.random();
		while (theAudio.firstChild) {
			theAudio.removeChild(theAudio.firstChild);
		}
		var objectElement = document.createElement("object");
		objectElement.setAttribute("id", "tx_srfreecap_pi2_captcha_playAudio_object"+id);
		objectElement.setAttribute("type", "audio/x-wav");
		objectElement.setAttribute("data", wavURLForOpera);
		objectElement.setAttribute("height", 0);
		objectElement.setAttribute("width", 0);
		try {
			objectElement.innerHTML = '<a href="' + wavURLForOpera + '">' + (noPlayMessage ? noPlayMessage : 'Sorry, we cannot play the word of the image.') + '</a>';
		} catch (e) {
				// IE8 does not allow any element other than param as child of object
			objectElement.setAttribute("altHTML", '<a href="' + wavURLForOpera + '">' + (noPlayMessage ? noPlayMessage : 'Sorry, we cannot play the word of the image.') + '</a>');
		}
		theAudio.appendChild(objectElement);
			// IE8 needs a delay before the param children are appended...
		window.setTimeout("addAudioCaptchaParams('" + id + "');", 50);
	} else {
		alert(noPlayMessage ? noPlayMessage : "Sorry, we cannot play the word of the image.");
	}
}

function addAudioCaptchaParams(id) {
	var theAudio = document.getElementById("tx_srfreecap_pi2_captcha_playAudio_"+id);
	var objectElement = theAudio.firstChild;
	var url = objectElement.getAttribute("data");
	var parameters = {
		"type"		: "audio/x-wav",
		"filename"	: url,
		"src"		: url,
		"autoplay"	: true,
		"autoStart"	: 1,
		"hidden"	: true,
		"controller"	: false
	};
	for (var parameter in parameters) {
		if (parameters.hasOwnProperty(parameter)) {
			var paramElement = document.createElement("param");
			paramElement.setAttribute("value", parameters[parameter]);
			paramElement.setAttribute("name", parameter);
			paramElement = objectElement.appendChild(paramElement);
		}
	}
}

