(function(g,i){function r(){if(!c.isReady){try{B.documentElement.doScroll("left")}catch(a){setTimeout(r,1);return}c.ready()}}function m(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 o(a,b,d,f,e,l){var k=a.length;if(typeof b==="object"){for(var v in b)o(a,v,b[v],f,e,d);return a}if(d!==i){f=!l&&f&&c.isFunction(d);for(v=0;v<k;v++)e(a[v],b,f?d.call(a[v],v,e(a[v],b)):d,l);return a}return k?
e(a[0],b):i}function z(){return(new Date).getTime()}function D(){return false}function P(){return true}function T(a,b,d){d[0].type=a;return c.event.handle.apply(b,d)}function L(a){var b,d=[],f=[],e=arguments,l,k,v,p,u,C;k=c.data(this,"events");if(!(a.liveFired===this||!k||!k.live||a.button&&a.type==="click")){a.liveFired=this;var F=k.live.slice(0);for(p=0;p<F.length;p++){k=F[p];k.origType.replace(n,"")===a.type?f.push(k.selector):F.splice(p--,1)}l=c(a.target).closest(f,a.currentTarget);u=0;for(C=
l.length;u<C;u++)for(p=0;p<F.length;p++){k=F[p];if(l[u].selector===k.selector){v=l[u].elem;f=null;if(k.preType==="mouseenter"||k.preType==="mouseleave")f=c(a.relatedTarget).closest(k.selector)[0];if(!f||f!==v)d.push({elem:v,handleObj:k})}}u=0;for(C=d.length;u<C;u++){l=d[u];a.currentTarget=l.elem;a.data=l.handleObj.data;a.handleObj=l.handleObj;if(l.handleObj.origHandler.apply(l.elem,e)===false){b=false;break}}return b}}function I(a,b){return"live."+(a&&a!=="*"?a+".":"")+b.replace(/\./g,"`").replace(/ /g,
"&")}function x(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function K(a,b){var d=0;b.each(function(){if(this.nodeName===(a[d]&&a[d].nodeName)){var f=c.data(a[d++]),e=c.data(this,f);if(f=f&&f.events){delete e.handle;e.events={};for(var l in f)for(var k in f[l])c.event.add(this,l,f[l][k],f[l][k].data)}}})}function W(a,b,d){var f,e,l;b=b&&b[0]?b[0].ownerDocument||b[0]:B;if(a.length===1&&typeof a[0]==="string"&&a[0].length<512&&b===B&&!Ta.test(a[0])&&(c.support.checkClone||!Ua.test(a[0]))){e=
true;if(l=c.fragments[a[0]])if(l!==1)f=l}if(!f){f=b.createDocumentFragment();c.clean(a,b,f,d)}if(e)c.fragments[a[0]]=l?f:1;return{fragment:f,cacheable:e}}function t(a,b){var d={};c.each(Va.concat.apply([],Va.slice(0,b)),function(){d[this]=a});return d}function M(a){return"scrollTo"in a&&a.document?a:a.nodeType===9?a.defaultView||a.parentWindow:false}var c=function(a,b){return new c.fn.init(a,b)},Z=g.jQuery,oa=g.$,B=g.document,fa,ka=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,Q=/^.[^:#\[\.,]*$/,U=/\S/,S=
/^(\s|\u00A0)+|(\s|\u00A0)+$/g,la=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,aa=navigator.userAgent,xa=false,ia=[],ja,pa=Object.prototype.toString,ya=Object.prototype.hasOwnProperty,za=Array.prototype.push,qa=Array.prototype.slice,Ea=Array.prototype.indexOf;c.fn=c.prototype={init:function(a,b){var d,f;if(!a)return this;if(a.nodeType){this.context=this[0]=a;this.length=1;return this}if(a==="body"&&!b){this.context=B;this[0]=B.body;this.selector="body";this.length=1;return this}if(typeof a==="string")if((d=ka.exec(a))&&
(d[1]||!b))if(d[1]){f=b?b.ownerDocument||b:B;if(a=la.exec(a))if(c.isPlainObject(b)){a=[B.createElement(a[1])];c.fn.attr.call(a,b,true)}else a=[f.createElement(a[1])];else{a=W([d[1]],[f]);a=(a.cacheable?a.fragment.cloneNode(true):a.fragment).childNodes}return c.merge(this,a)}else{if(b=B.getElementById(d[2])){if(b.id!==d[2])return fa.find(a);this.length=1;this[0]=b}this.context=B;this.selector=a;return this}else if(!b&&/^\w+$/.test(a)){this.selector=a;this.context=B;a=B.getElementsByTagName(a);return c.merge(this,
a)}else return!b||b.jquery?(b||fa).find(a):c(b).find(a);else if(c.isFunction(a))return fa.ready(a);if(a.selector!==i){this.selector=a.selector;this.context=a.context}return c.makeArray(a,this)},selector:"",jquery:"1.4.2",length:0,size:function(){return this.length},toArray:function(){return qa.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this.slice(a)[0]:this[a]},pushStack:function(a,b,d){var f=c();c.isArray(a)?za.apply(f,a):c.merge(f,a);f.prevObject=this;f.context=this.context;
if(b==="find")f.selector=this.selector+(this.selector?" ":"")+d;else if(b)f.selector=this.selector+"."+b+"("+d+")";return f},each:function(a,b){return c.each(this,a,b)},ready:function(a){c.bindReady();if(c.isReady)a.call(B,c);else ia&&ia.push(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(qa.apply(this,arguments),"slice",qa.call(arguments).join(","))},map:function(a){return this.pushStack(c.map(this,
function(b,d){return a.call(b,d,b)}))},end:function(){return this.prevObject||c(null)},push:za,sort:[].sort,splice:[].splice};c.fn.init.prototype=c.fn;c.extend=c.fn.extend=function(){var a=arguments[0]||{},b=1,d=arguments.length,f=false,e,l,k,v;if(typeof a==="boolean"){f=a;a=arguments[1]||{};b=2}if(typeof a!=="object"&&!c.isFunction(a))a={};if(d===b){a=this;--b}for(;b<d;b++)if((e=arguments[b])!=null)for(l in e){k=a[l];v=e[l];if(a!==v)if(f&&v&&(c.isPlainObject(v)||c.isArray(v))){k=k&&(c.isPlainObject(k)||
c.isArray(k))?k:c.isArray(v)?[]:{};a[l]=c.extend(f,k,v)}else if(v!==i)a[l]=v}return a};c.extend({noConflict:function(a){g.$=oa;if(a)g.jQuery=Z;return c},isReady:false,ready:function(){if(!c.isReady){if(!B.body)return setTimeout(c.ready,13);c.isReady=true;if(ia){for(var a,b=0;a=ia[b++];)a.call(B,c);ia=null}c.fn.triggerHandler&&c(B).triggerHandler("ready")}},bindReady:function(){if(!xa){xa=true;if(B.readyState==="complete")return c.ready();if(B.addEventListener){B.addEventListener("DOMContentLoaded",
ja,false);g.addEventListener("load",c.ready,false)}else if(B.attachEvent){B.attachEvent("onreadystatechange",ja);g.attachEvent("onload",c.ready);var a=false;try{a=g.frameElement==null}catch(b){}B.documentElement.doScroll&&a&&r()}}},isFunction:function(a){return pa.call(a)==="[object Function]"},isArray:function(a){return pa.call(a)==="[object Array]"},isPlainObject:function(a){if(!a||pa.call(a)!=="[object Object]"||a.nodeType||a.setInterval)return false;if(a.constructor&&!ya.call(a,"constructor")&&
!ya.call(a.constructor.prototype,"isPrototypeOf"))return false;var b;for(b in a);return b===i||ya.call(a,b)},isEmptyObject:function(a){for(var b in a)return false;return true},error:function(a){throw a;},parseJSON:function(a){if(typeof a!=="string"||!a)return null;a=c.trim(a);if(/^[\],:{}\s]*$/.test(a.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return g.JSON&&g.JSON.parse?g.JSON.parse(a):
(new Function("return "+a))();else c.error("Invalid JSON: "+a)},noop:function(){},globalEval:function(a){if(a&&U.test(a)){var b=B.getElementsByTagName("head")[0]||B.documentElement,d=B.createElement("script");d.type="text/javascript";if(c.support.scriptEval)d.appendChild(B.createTextNode(a));else d.text=a;b.insertBefore(d,b.firstChild);b.removeChild(d)}},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,b,d){var f,e=0,l=a.length,k=l===i||c.isFunction(a);
if(d)if(k)for(f in a){if(b.apply(a[f],d)===false)break}else for(;e<l;){if(b.apply(a[e++],d)===false)break}else if(k)for(f in a){if(b.call(a[f],f,a[f])===false)break}else for(d=a[0];e<l&&b.call(d,e,d)!==false;d=a[++e]);return a},trim:function(a){return(a||"").replace(S,"")},makeArray:function(a,b){b=b||[];if(a!=null)a.length==null||typeof a==="string"||c.isFunction(a)||typeof a!=="function"&&a.setInterval?za.call(b,a):c.merge(b,a);return b},inArray:function(a,b){if(b.indexOf)return b.indexOf(a);for(var d=
0,f=b.length;d<f;d++)if(b[d]===a)return d;return-1},merge:function(a,b){var d=a.length,f=0;if(typeof b.length==="number")for(var e=b.length;f<e;f++)a[d++]=b[f];else for(;b[f]!==i;)a[d++]=b[f++];a.length=d;return a},grep:function(a,b,d){for(var f=[],e=0,l=a.length;e<l;e++)!d!==!b(a[e],e)&&f.push(a[e]);return f},map:function(a,b,d){for(var f=[],e,l=0,k=a.length;l<k;l++){e=b(a[l],l,d);if(e!=null)f[f.length]=e}return f.concat.apply([],f)},guid:1,proxy:function(a,b,d){if(arguments.length===2)if(typeof b===
"string"){d=a;a=d[b];b=i}else if(b&&!c.isFunction(b)){d=b;b=i}if(!b&&a)b=function(){return a.apply(d||this,arguments)};if(a)b.guid=a.guid=a.guid||b.guid||c.guid++;return b},uaMatch:function(a){a=a.toLowerCase();a=/(webkit)[ \/]([\w.]+)/.exec(a)||/(opera)(?:.*version)?[ \/]([\w.]+)/.exec(a)||/(msie) ([\w.]+)/.exec(a)||!/compatible/.test(a)&&/(mozilla)(?:.*? rv:([\w.]+))?/.exec(a)||[];return{browser:a[1]||"",version:a[2]||"0"}},browser:{}});aa=c.uaMatch(aa);if(aa.browser){c.browser[aa.browser]=true;
c.browser.version=aa.version}if(c.browser.webkit)c.browser.safari=true;if(Ea)c.inArray=function(a,b){return Ea.call(b,a)};fa=c(B);if(B.addEventListener)ja=function(){B.removeEventListener("DOMContentLoaded",ja,false);c.ready()};else if(B.attachEvent)ja=function(){if(B.readyState==="complete"){B.detachEvent("onreadystatechange",ja);c.ready()}};(function(){c.support={};var a=B.documentElement,b=B.createElement("script"),d=B.createElement("div"),f="script"+z();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 e=d.getElementsByTagName("*"),l=d.getElementsByTagName("a")[0];if(!(!e||!e.length||!l)){c.support={leadingWhitespace:d.firstChild.nodeType===3,tbody:!d.getElementsByTagName("tbody").length,htmlSerialize:!!d.getElementsByTagName("link").length,style:/red/.test(l.getAttribute("style")),hrefNormalized:l.getAttribute("href")==="/a",opacity:/^0.55$/.test(l.style.opacity),cssFloat:!!l.style.cssFloat,checkOn:d.getElementsByTagName("input")[0].value==="on",optSelected:B.createElement("select").appendChild(B.createElement("option")).selected,
parentNode:d.removeChild(d.appendChild(B.createElement("div"))).parentNode===null,deleteExpando:true,checkClone:false,scriptEval:false,noCloneEvent:true,boxModel:null};b.type="text/javascript";try{b.appendChild(B.createTextNode("window."+f+"=1;"))}catch(k){}a.insertBefore(b,a.firstChild);if(g[f]){c.support.scriptEval=true;delete g[f]}try{delete b.test}catch(v){c.support.deleteExpando=false}a.removeChild(b);if(d.attachEvent&&d.fireEvent){d.attachEvent("onclick",function p(){c.support.noCloneEvent=
false;d.detachEvent("onclick",p)});d.cloneNode(true).fireEvent("onclick")}d=B.createElement("div");d.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";a=B.createDocumentFragment();a.appendChild(d.firstChild);c.support.checkClone=a.cloneNode(true).cloneNode(true).lastChild.checked;c(function(){var p=B.createElement("div");p.style.width=p.style.paddingLeft="1px";B.body.appendChild(p);c.boxModel=c.support.boxModel=p.offsetWidth===2;B.body.removeChild(p).style.display="none"});a=function(p){var u=
B.createElement("div");p="on"+p;var C=p in u;if(!C){u.setAttribute(p,"return;");C=typeof u[p]==="function"}return C};c.support.submitBubbles=a("submit");c.support.changeBubbles=a("change");a=b=d=e=l=null}})();c.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};var ha="jQuery"+z(),Aa=0,sa={};c.extend({cache:{},expando:ha,noData:{embed:true,
object:true,applet:true},data:function(a,b,d){if(!(a.nodeName&&c.noData[a.nodeName.toLowerCase()])){a=a==g?sa:a;var f=a[ha],e=c.cache;if(!f&&typeof b==="string"&&d===i)return null;f||(f=++Aa);if(typeof b==="object"){a[ha]=f;e[f]=c.extend(true,{},b)}else if(!e[f]){a[ha]=f;e[f]={}}a=e[f];if(d!==i)a[b]=d;return typeof b==="string"?a[b]:a}},removeData:function(a,b){if(!(a.nodeName&&c.noData[a.nodeName.toLowerCase()])){a=a==g?sa:a;var d=a[ha],f=c.cache,e=f[d];if(b){if(e){delete e[b];c.isEmptyObject(e)&&
c.removeData(a)}}else{if(c.support.deleteExpando)delete a[c.expando];else a.removeAttribute&&a.removeAttribute(c.expando);delete f[d]}}}});c.fn.extend({data:function(a,b){if(typeof a==="undefined"&&this.length)return c.data(this[0]);else if(typeof a==="object")return this.each(function(){c.data(this,a)});var d=a.split(".");d[1]=d[1]?"."+d[1]:"";if(b===i){var f=this.triggerHandler("getData"+d[1]+"!",[d[0]]);if(f===i&&this.length)f=c.data(this[0],a);return f===i&&d[1]?this.data(d[0]):f}else return this.trigger("setData"+
d[1]+"!",[d[0],b]).each(function(){c.data(this,a,b)})},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 f=c.data(a,b);if(!d)return f||[];if(!f||c.isArray(d))f=c.data(a,b,c.makeArray(d));else f.push(d);return f}},dequeue:function(a,b){b=b||"fx";var d=c.queue(a,b),f=d.shift();if(f==="inprogress")f=d.shift();if(f){b==="fx"&&d.unshift("inprogress");f.call(a,function(){c.dequeue(a,b)})}}});c.fn.extend({queue:function(a,
b){if(typeof a!=="string"){b=a;a="fx"}if(b===i)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 Fa=/[\n\t]/g,ta=/\s+/,Ba=/\r/g,ua=/href|src|style/,Ka=
/(button|input)/i,ra=/(button|input|object|select|textarea)/i,La=/^(a|area)$/i,Ga=/radio|checkbox/;c.fn.extend({attr:function(a,b){return o(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(u){var C=c(this);C.addClass(a.call(this,u,C.attr("class")))});if(a&&typeof a==="string")for(var b=(a||"").split(ta),d=0,f=this.length;d<f;d++){var e=this[d];
if(e.nodeType===1)if(e.className){for(var l=" "+e.className+" ",k=e.className,v=0,p=b.length;v<p;v++)if(l.indexOf(" "+b[v]+" ")<0)k+=" "+b[v];e.className=c.trim(k)}else e.className=a}return this},removeClass:function(a){if(c.isFunction(a))return this.each(function(p){var u=c(this);u.removeClass(a.call(this,p,u.attr("class")))});if(a&&typeof a==="string"||a===i)for(var b=(a||"").split(ta),d=0,f=this.length;d<f;d++){var e=this[d];if(e.nodeType===1&&e.className)if(a){for(var l=(" "+e.className+" ").replace(Fa,
" "),k=0,v=b.length;k<v;k++)l=l.replace(" "+b[k]+" "," ");e.className=c.trim(l)}else e.className=""}return this},toggleClass:function(a,b){var d=typeof a,f=typeof b==="boolean";if(c.isFunction(a))return this.each(function(e){var l=c(this);l.toggleClass(a.call(this,e,l.attr("class"),b),b)});return this.each(function(){if(d==="string")for(var e,l=0,k=c(this),v=b,p=a.split(ta);e=p[l++];){v=f?v:!k.hasClass(e);k[v?"addClass":"removeClass"](e)}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(Fa," ").indexOf(a)>-1)return true;return false},val:function(a){if(a===i){var b=this[0];if(b){if(c.nodeName(b,"option"))return(b.attributes.value||{}).specified?b.value:b.text;if(c.nodeName(b,"select")){var d=b.selectedIndex,f=[],e=b.options;b=b.type==="select-one";if(d<0)return null;
var l=b?d:0;for(d=b?d+1:e.length;l<d;l++){var k=e[l];if(k.selected){a=c(k).val();if(b)return a;f.push(a)}}return f}if(Ga.test(b.type)&&!c.support.checkOn)return b.getAttribute("value")===null?"on":b.value;return(b.value||"").replace(Ba,"")}return i}var v=c.isFunction(a);return this.each(function(p){var u=c(this),C=a;if(this.nodeType===1){if(v)C=a.call(this,p,u.val());if(typeof C==="number")C+="";if(c.isArray(C)&&Ga.test(this.type))this.checked=c.inArray(u.val(),C)>=0;else if(c.nodeName(this,"select")){var F=
c.makeArray(C);c("option",this).each(function(){this.selected=c.inArray(c(this).val(),F)>=0});if(!F.length)this.selectedIndex=-1}else this.value=C}})}});c.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(a,b,d,f){if(!a||a.nodeType===3||a.nodeType===8)return i;if(f&&b in c.attrFn)return c(a)[b](d);f=a.nodeType!==1||!c.isXMLDoc(a);var e=d!==i;b=f&&c.props[b]||b;if(a.nodeType===1){var l=ua.test(b);if(b in a&&f&&!l){if(e){b==="type"&&Ka.test(a.nodeName)&&
a.parentNode&&c.error("type property can't be changed");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:ra.test(a.nodeName)||La.test(a.nodeName)&&a.href?0:i;return a[b]}if(!c.support.style&&f&&b==="style"){if(e)a.style.cssText=""+d;return a.style.cssText}e&&a.setAttribute(b,""+d);a=!c.support.hrefNormalized&&f&&l?a.getAttribute(b,2):a.getAttribute(b);return a===null?i:a}return c.style(a,
b,d)}});var n=/\.(.*)$/,w=function(a){return a.replace(/[^\w\s\.\|`]/g,function(b){return"\\"+b})};c.event={add:function(a,b,d,f){if(!(a.nodeType===3||a.nodeType===8)){if(a.setInterval&&a!==g&&!a.frameElement)a=g;var e,l;if(d.handler){e=d;d=e.handler}if(!d.guid)d.guid=c.guid++;if(l=c.data(a)){var k=l.events=l.events||{},v=l.handle;if(!v)l.handle=v=function(){return typeof c!=="undefined"&&!c.event.triggered?c.event.handle.apply(v.elem,arguments):i};v.elem=a;b=b.split(" ");for(var p,u=0,C;p=b[u++];){l=
e?c.extend({},e):{handler:d,data:f};if(p.indexOf(".")>-1){C=p.split(".");p=C.shift();l.namespace=C.slice(0).sort().join(".")}else{C=[];l.namespace=""}l.type=p;l.guid=d.guid;var F=k[p],O=c.event.special[p]||{};if(!F){F=k[p]=[];if(!O.setup||O.setup.call(a,f,C,v)===false)if(a.addEventListener)a.addEventListener(p,v,false);else a.attachEvent&&a.attachEvent("on"+p,v)}if(O.add){O.add.call(a,l);if(!l.handler.guid)l.handler.guid=d.guid}F.push(l);c.event.global[p]=true}a=null}}},global:{},remove:function(a,
b,d,f){if(!(a.nodeType===3||a.nodeType===8)){var e,l=0,k,v,p,u,C,F,O=c.data(a),V=O&&O.events;if(O&&V){if(b&&b.type){d=b.handler;b=b.type}if(!b||typeof b==="string"&&b.charAt(0)==="."){b=b||"";for(e in V)c.event.remove(a,e+b)}else{for(b=b.split(" ");e=b[l++];){u=e;k=e.indexOf(".")<0;v=[];if(!k){v=e.split(".");e=v.shift();p=new RegExp("(^|\\.)"+c.map(v.slice(0).sort(),w).join("\\.(?:.*\\.)?")+"(\\.|$)")}if(C=V[e])if(d){u=c.event.special[e]||{};for(R=f||0;R<C.length;R++){F=C[R];if(d.guid===F.guid){if(k||
p.test(F.namespace)){f==null&&C.splice(R--,1);u.remove&&u.remove.call(a,F)}if(f!=null)break}}if(C.length===0||f!=null&&C.length===1){if(!u.teardown||u.teardown.call(a,v)===false)G(a,e,O.handle);delete V[e]}}else for(var R=0;R<C.length;R++){F=C[R];if(k||p.test(F.namespace)){c.event.remove(a,u,F.handler,R);C.splice(R--,1)}}}if(c.isEmptyObject(V)){if(b=O.handle)b.elem=null;delete O.events;delete O.handle;c.isEmptyObject(O)&&c.removeData(a)}}}}},trigger:function(a,b,d,f){var e=a.type||a;if(!f){a=typeof a===
"object"?a[ha]?a:c.extend(c.Event(e),a):c.Event(e);if(e.indexOf("!")>=0){a.type=e=e.slice(0,-1);a.exclusive=true}if(!d){a.stopPropagation();c.event.global[e]&&c.each(c.cache,function(){this.events&&this.events[e]&&c.event.trigger(a,b,this.handle.elem)})}if(!d||d.nodeType===3||d.nodeType===8)return i;a.result=i;a.target=d;b=c.makeArray(b);b.unshift(a)}a.currentTarget=d;(f=c.data(d,"handle"))&&f.apply(d,b);f=d.parentNode||d.ownerDocument;try{if(!(d&&d.nodeName&&c.noData[d.nodeName.toLowerCase()]))if(d["on"+
e]&&d["on"+e].apply(d,b)===false)a.result=false}catch(l){}if(!a.isPropagationStopped()&&f)c.event.trigger(a,b,f,true);else if(!a.isDefaultPrevented()){f=a.target;var k,v=c.nodeName(f,"a")&&e==="click",p=c.event.special[e]||{};if((!p._default||p._default.call(d,a)===false)&&!v&&!(f&&f.nodeName&&c.noData[f.nodeName.toLowerCase()])){try{if(f[e]){if(k=f["on"+e])f["on"+e]=null;c.event.triggered=true;f[e]()}}catch(u){}if(k)f["on"+e]=k;c.event.triggered=false}}},handle:function(a){var b,d,f,e;a=arguments[0]=
c.event.fix(a||g.event);a.currentTarget=this;b=a.type.indexOf(".")<0&&!a.exclusive;if(!b){d=a.type.split(".");a.type=d.shift();f=new RegExp("(^|\\.)"+d.slice(0).sort().join("\\.(?:.*\\.)?")+"(\\.|$)")}e=c.data(this,"events");d=e[a.type];if(e&&d){d=d.slice(0);e=0;for(var l=d.length;e<l;e++){var k=d[e];if(b||f.test(k.namespace)){a.handler=k.handler;a.data=k.data;a.handleObj=k;k=k.handler.apply(this,arguments);if(k!==i){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 originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(a){if(a[ha])return a;var b=a;a=c.Event(b);for(var d=this.props.length,f;d;){f=this.props[--d];a[f]=b[f]}if(!a.target)a.target=a.srcElement||
B;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=B.documentElement;d=B.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&&(a.charCode||a.charCode===0?a.charCode:a.keyCode))a.which=a.charCode||a.keyCode;if(!a.metaKey&&
a.ctrlKey)a.metaKey=a.ctrlKey;if(!a.which&&a.button!==i)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,a.origType,c.extend({},a,{handler:L}))},remove:function(a){var b=true,d=a.origType.replace(n,"");c.each(c.data(this,"events").live||[],function(){if(d===this.origType.replace(n,""))return b=false});b&&c.event.remove(this,a.origType,L)}},beforeunload:{setup:function(a,b,d){if(this.setInterval)this.onbeforeunload=
d;return false},teardown:function(a,b){if(this.onbeforeunload===b)this.onbeforeunload=null}}}};var G=B.removeEventListener?function(a,b,d){a.removeEventListener(b,d,false)}:function(a,b,d){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=z();this[ha]=true};c.Event.prototype={preventDefault:function(){this.isDefaultPrevented=P;var a=this.originalEvent;if(a){a.preventDefault&&
a.preventDefault();a.returnValue=false}},stopPropagation:function(){this.isPropagationStopped=P;var a=this.originalEvent;if(a){a.stopPropagation&&a.stopPropagation();a.cancelBubble=true}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=P;this.stopPropagation()},isDefaultPrevented:D,isPropagationStopped:D,isImmediatePropagationStopped:D};var X=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){}},
ba=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?ba:X,a)},teardown:function(d){c.event.remove(this,b,d&&d.selector?ba:X)}}});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)return T("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)return T("submit",this,arguments)})}else return false},teardown:function(){c.event.remove(this,".specialSubmit")}};if(!c.support.changeBubbles){var ga=/textarea|input|select/i,Y,Ca=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(f){return f.selected}).join("-"):
"";else if(a.nodeName.toLowerCase()==="select")d=a.selectedIndex;return d},Ma=function(a,b){var d=a.target,f,e;if(!(!ga.test(d.nodeName)||d.readOnly)){f=c.data(d,"_change_data");e=Ca(d);if(a.type!=="focusout"||d.type!=="radio")c.data(d,"_change_data",e);if(!(f===i||e===f))if(f!=null||e){a.type="change";return c.event.trigger(a,b,d)}}};c.event.special.change={filters:{focusout:Ma,click:function(a){var b=a.target,d=b.type;if(d==="radio"||d==="checkbox"||b.nodeName.toLowerCase()==="select")return Ma.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 Ma.call(this,a)},beforeactivate:function(a){a=a.target;c.data(a,"_change_data",Ca(a))}},setup:function(){if(this.type==="file")return false;for(var a in Y)c.event.add(this,a+".specialChange",Y[a]);return ga.test(this.nodeName)},teardown:function(){c.event.remove(this,".specialChange");return ga.test(this.nodeName)}};Y=
c.event.special.change.filters}B.addEventListener&&c.each({focus:"focusin",blur:"focusout"},function(a,b){function d(f){f=c.event.fix(f);f.type=b;return c.event.handle.call(this,f)}c.event.special[b]={setup:function(){this.addEventListener(a,d,true)},teardown:function(){this.removeEventListener(a,d,true)}}});c.each(["bind","one"],function(a,b){c.fn[b]=function(d,f,e){if(typeof d==="object"){for(var l in d)this[b](l,f,d[l],e);return this}if(c.isFunction(f)){e=f;f=i}var k=b==="one"?c.proxy(e,function(p){c(this).unbind(p,
k);return e.apply(this,arguments)}):e;if(d==="unload"&&b!=="one")this.one(d,f,e);else{l=0;for(var v=this.length;l<v;l++)c.event.add(this[l],d,k,f)}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 f=this.length;d<f;d++)c.event.remove(this[d],a,b)}return this},delegate:function(a,b,d,f){return this.live(b,d,f,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]){a=c.Event(a);a.preventDefault();a.stopPropagation();c.event.trigger(a,b,this[0]);return a.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(f){var e=(c.data(this,"lastToggle"+a.guid)||0)%d;c.data(this,"lastToggle"+a.guid,e+1);f.preventDefault();return b[e].apply(this,arguments)||false}))},hover:function(a,b){return this.mouseenter(a).mouseleave(b||
a)}});var Wa={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};c.each(["live","die"],function(a,b){c.fn[b]=function(d,f,e,l){var k,v=0,p,u,C=l||this.selector,F=l?this:c(this.context);if(c.isFunction(f)){e=f;f=i}for(d=(d||"").split(" ");(k=d[v++])!=null;){l=n.exec(k);p="";if(l){p=l[0];k=k.replace(n,"")}if(k==="hover")d.push("mouseenter"+p,"mouseleave"+p);else{u=k;if(k==="focus"||k==="blur"){d.push(Wa[k]+p);k+=p}else k=(Wa[k]||k)+p;b==="live"?F.each(function(){c.event.add(this,
I(k,C),{data:f,selector:C,handler:e,origType:k,origHandler:e,preType:u})}):F.unbind(I(k,C),e)}}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){return d?this.bind(b,d):this.trigger(b)};if(c.attrFn)c.attrFn[b]=true});g.attachEvent&&!g.addEventListener&&g.attachEvent("onunload",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(h){for(var j="",q,s=0;h[s];s++){q=h[s];if(q.nodeType===3||q.nodeType===4)j+=q.nodeValue;else if(q.nodeType!==8)j+=a(q.childNodes)}return j}function b(h,j,q,s,A,y){A=0;for(var H=s.length;A<H;A++){var E=s[A];if(E){E=E[h];for(var N=false;E;){if(E.sizcache===q){N=s[E.sizset];break}if(E.nodeType===1&&!y){E.sizcache=q;E.sizset=A}if(E.nodeName.toLowerCase()===j){N=E;break}E=E[h]}s[A]=N}}}function d(h,j,q,s,A,y){A=0;for(var H=s.length;A<H;A++){var E=s[A];if(E){E=E[h];for(var N=false;E;){if(E.sizcache===
q){N=s[E.sizset];break}if(E.nodeType===1){if(!y){E.sizcache=q;E.sizset=A}if(typeof j!=="string"){if(E===j){N=true;break}}else if(p.filter(j,[E]).length>0){N=E;break}}E=E[h]}s[A]=N}}}var f=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,e=0,l=Object.prototype.toString,k=false,v=true;[0,0].sort(function(){v=false;return 0});var p=function(h,j,q,s){q=q||[];var A=j=j||B;if(j.nodeType!==1&&j.nodeType!==9)return[];if(!h||
typeof h!=="string")return q;for(var y=[],H,E,N,Da,ma=true,va=J(j),na=h;(f.exec(""),H=f.exec(na))!==null;){na=H[3];y.push(H[1]);if(H[2]){Da=H[3];break}}if(y.length>1&&C.exec(h))if(y.length===2&&u.relative[y[0]])E=Na(y[0]+y[1],j);else for(E=u.relative[y[0]]?[j]:p(y.shift(),j);y.length;){h=y.shift();if(u.relative[h])h+=y.shift();E=Na(h,E)}else{if(!s&&y.length>1&&j.nodeType===9&&!va&&u.match.ID.test(y[0])&&!u.match.ID.test(y[y.length-1])){H=p.find(y.shift(),j,va);j=H.expr?p.filter(H.expr,H.set)[0]:H.set[0]}if(j){H=
s?{expr:y.pop(),set:O(s)}:p.find(y.pop(),y.length===1&&(y[0]==="~"||y[0]==="+")&&j.parentNode?j.parentNode:j,va);E=H.expr?p.filter(H.expr,H.set):H.set;if(y.length>0)N=O(E);else ma=false;for(;y.length;){var ca=y.pop();H=ca;if(u.relative[ca])H=y.pop();else ca="";if(H==null)H=j;u.relative[ca](N,H,va)}}else N=[]}N||(N=E);N||p.error(ca||h);if(l.call(N)==="[object Array]")if(ma)if(j&&j.nodeType===1)for(h=0;N[h]!=null;h++){if(N[h]&&(N[h]===true||N[h].nodeType===1&&da(j,N[h])))q.push(E[h])}else for(h=0;N[h]!=
null;h++)N[h]&&N[h].nodeType===1&&q.push(E[h]);else q.push.apply(q,N);else O(N,q);if(Da){p(Da,A,q,s);p.uniqueSort(q)}return q};p.uniqueSort=function(h){if(R){k=v;h.sort(R);if(k)for(var j=1;j<h.length;j++)h[j]===h[j-1]&&h.splice(j--,1)}return h};p.matches=function(h,j){return p(h,null,null,j)};p.find=function(h,j,q){var s,A;if(!h)return[];for(var y=0,H=u.order.length;y<H;y++){var E=u.order[y];if(A=u.leftMatch[E].exec(h)){var N=A[1];A.splice(1,1);if(N.substr(N.length-1)!=="\\"){A[1]=(A[1]||"").replace(/\\/g,
"");s=u.find[E](A,j,q);if(s!=null){h=h.replace(u.match[E],"");break}}}}s||(s=j.getElementsByTagName("*"));return{set:s,expr:h}};p.filter=function(h,j,q,s){for(var A=h,y=[],H=j,E,N,Da=j&&j[0]&&J(j[0]);h&&j.length;){for(var ma in u.filter)if((E=u.leftMatch[ma].exec(h))!=null&&E[2]){var va=u.filter[ma],na,ca;ca=E[1];N=false;E.splice(1,1);if(ca.substr(ca.length-1)!=="\\"){if(H===y)y=[];if(u.preFilter[ma])if(E=u.preFilter[ma](E,H,q,y,s,Da)){if(E===true)continue}else N=na=true;if(E)for(var Ha=0;(ca=H[Ha])!=
null;Ha++)if(ca){na=va(ca,E,Ha,H);var Xa=s^!!na;if(q&&na!=null)if(Xa)N=true;else H[Ha]=false;else if(Xa){y.push(ca);N=true}}if(na!==i){q||(H=y);h=h.replace(u.match[ma],"");if(!N)return[];break}}}if(h===A)if(N==null)p.error(h);else break;A=h}return H};p.error=function(h){throw"Syntax error, unrecognized expression: "+h;};var u=p.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF-]|\\.)+)['"]*\]/,
ATTR:/\[\s*((?:[\w\u00c0-\uFFFF-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+-]*)\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(h){return h.getAttribute("href")}},relative:{"+":function(h,j){var q=typeof j==="string",
s=q&&!/\W/.test(j);q=q&&!s;if(s)j=j.toLowerCase();s=0;for(var A=h.length,y;s<A;s++)if(y=h[s]){for(;(y=y.previousSibling)&&y.nodeType!==1;);h[s]=q||y&&y.nodeName.toLowerCase()===j?y||false:y===j}q&&p.filter(j,h,true)},">":function(h,j){var q=typeof j==="string";if(q&&!/\W/.test(j)){j=j.toLowerCase();for(var s=0,A=h.length;s<A;s++){var y=h[s];if(y){q=y.parentNode;h[s]=q.nodeName.toLowerCase()===j?q:false}}}else{s=0;for(A=h.length;s<A;s++)if(y=h[s])h[s]=q?y.parentNode:y.parentNode===j;q&&p.filter(j,
h,true)}},"":function(h,j,q){var s=e++,A=d;if(typeof j==="string"&&!/\W/.test(j)){var y=j=j.toLowerCase();A=b}A("parentNode",j,s,h,y,q)},"~":function(h,j,q){var s=e++,A=d;if(typeof j==="string"&&!/\W/.test(j)){var y=j=j.toLowerCase();A=b}A("previousSibling",j,s,h,y,q)}},find:{ID:function(h,j,q){if(typeof j.getElementById!=="undefined"&&!q)return(h=j.getElementById(h[1]))?[h]:[]},NAME:function(h,j){if(typeof j.getElementsByName!=="undefined"){var q=[];j=j.getElementsByName(h[1]);for(var s=0,A=j.length;s<
A;s++)j[s].getAttribute("name")===h[1]&&q.push(j[s]);return q.length===0?null:q}},TAG:function(h,j){return j.getElementsByTagName(h[1])}},preFilter:{CLASS:function(h,j,q,s,A,y){h=" "+h[1].replace(/\\/g,"")+" ";if(y)return h;y=0;for(var H;(H=j[y])!=null;y++)if(H)if(A^(H.className&&(" "+H.className+" ").replace(/[\t\n]/g," ").indexOf(h)>=0))q||s.push(H);else if(q)j[y]=false;return false},ID:function(h){return h[1].replace(/\\/g,"")},TAG:function(h){return h[1].toLowerCase()},CHILD:function(h){if(h[1]===
"nth"){var j=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(h[2]==="even"&&"2n"||h[2]==="odd"&&"2n+1"||!/\D/.test(h[2])&&"0n+"+h[2]||h[2]);h[2]=j[1]+(j[2]||1)-0;h[3]=j[3]-0}h[0]=e++;return h},ATTR:function(h,j,q,s,A,y){j=h[1].replace(/\\/g,"");if(!y&&u.attrMap[j])h[1]=u.attrMap[j];if(h[2]==="~=")h[4]=" "+h[4]+" ";return h},PSEUDO:function(h,j,q,s,A){if(h[1]==="not")if((f.exec(h[3])||"").length>1||/^\w/.test(h[3]))h[3]=p(h[3],null,null,j);else{h=p.filter(h[3],j,q,true^A);q||s.push.apply(s,h);return false}else if(u.match.POS.test(h[0])||
u.match.CHILD.test(h[0]))return true;return h},POS:function(h){h.unshift(true);return h}},filters:{enabled:function(h){return h.disabled===false&&h.type!=="hidden"},disabled:function(h){return h.disabled===true},checked:function(h){return h.checked===true},selected:function(h){return h.selected===true},parent:function(h){return!!h.firstChild},empty:function(h){return!h.firstChild},has:function(h,j,q){return!!p(q[3],h).length},header:function(h){return/h\d/i.test(h.nodeName)},text:function(h){return"text"===
h.type},radio:function(h){return"radio"===h.type},checkbox:function(h){return"checkbox"===h.type},file:function(h){return"file"===h.type},password:function(h){return"password"===h.type},submit:function(h){return"submit"===h.type},image:function(h){return"image"===h.type},reset:function(h){return"reset"===h.type},button:function(h){return"button"===h.type||h.nodeName.toLowerCase()==="button"},input:function(h){return/input|select|textarea|button/i.test(h.nodeName)}},setFilters:{first:function(h,j){return j===
0},last:function(h,j,q,s){return j===s.length-1},even:function(h,j){return j%2===0},odd:function(h,j){return j%2===1},lt:function(h,j,q){return j<q[3]-0},gt:function(h,j,q){return j>q[3]-0},nth:function(h,j,q){return q[3]-0===j},eq:function(h,j,q){return q[3]-0===j}},filter:{PSEUDO:function(h,j,q,s){var A=j[1],y=u.filters[A];if(y)return y(h,q,j,s);else if(A==="contains")return(h.textContent||h.innerText||a([h])||"").indexOf(j[3])>=0;else if(A==="not"){j=j[3];q=0;for(s=j.length;q<s;q++)if(j[q]===h)return false;
return true}else p.error("Syntax error, unrecognized expression: "+A)},CHILD:function(h,j){var q=j[1],s=h;switch(q){case "only":case "first":for(;s=s.previousSibling;)if(s.nodeType===1)return false;if(q==="first")return true;s=h;case "last":for(;s=s.nextSibling;)if(s.nodeType===1)return false;return true;case "nth":q=j[2];var A=j[3];if(q===1&&A===0)return true;j=j[0];var y=h.parentNode;if(y&&(y.sizcache!==j||!h.nodeIndex)){var H=0;for(s=y.firstChild;s;s=s.nextSibling)if(s.nodeType===1)s.nodeIndex=
++H;y.sizcache=j}h=h.nodeIndex-A;return q===0?h===0:h%q===0&&h/q>=0}},ID:function(h,j){return h.nodeType===1&&h.getAttribute("id")===j},TAG:function(h,j){return j==="*"&&h.nodeType===1||h.nodeName.toLowerCase()===j},CLASS:function(h,j){return(" "+(h.className||h.getAttribute("class"))+" ").indexOf(j)>-1},ATTR:function(h,j){var q=j[1];h=u.attrHandle[q]?u.attrHandle[q](h):h[q]!=null?h[q]:h.getAttribute(q);q=h+"";var s=j[2];j=j[4];return h==null?s==="!=":s==="="?q===j:s==="*="?q.indexOf(j)>=0:s==="~="?
(" "+q+" ").indexOf(j)>=0:!j?q&&h!==false:s==="!="?q!==j:s==="^="?q.indexOf(j)===0:s==="$="?q.substr(q.length-j.length)===j:s==="|="?q===j||q.substr(0,j.length+1)===j+"-":false},POS:function(h,j,q,s){var A=u.setFilters[j[2]];if(A)return A(h,q,j,s)}}},C=u.match.POS;for(var F in u.match){u.match[F]=new RegExp(u.match[F].source+/(?![^\[]*\])(?![^\(]*\))/.source);u.leftMatch[F]=new RegExp(/(^(?:.|\r|\n)*?)/.source+u.match[F].source.replace(/\\(\d+)/g,function(h,j){return"\\"+(j-0+1)}))}var O=function(h,
j){h=Array.prototype.slice.call(h,0);if(j){j.push.apply(j,h);return j}return h};try{Array.prototype.slice.call(B.documentElement.childNodes,0)}catch(V){O=function(h,j){j=j||[];if(l.call(h)==="[object Array]")Array.prototype.push.apply(j,h);else if(typeof h.length==="number")for(var q=0,s=h.length;q<s;q++)j.push(h[q]);else for(q=0;h[q];q++)j.push(h[q]);return j}}var R;if(B.documentElement.compareDocumentPosition)R=function(h,j){if(!h.compareDocumentPosition||!j.compareDocumentPosition){if(h==j)k=true;
return h.compareDocumentPosition?-1:1}h=h.compareDocumentPosition(j)&4?-1:h===j?0:1;if(h===0)k=true;return h};else if("sourceIndex"in B.documentElement)R=function(h,j){if(!h.sourceIndex||!j.sourceIndex){if(h==j)k=true;return h.sourceIndex?-1:1}h=h.sourceIndex-j.sourceIndex;if(h===0)k=true;return h};else if(B.createRange)R=function(h,j){if(!h.ownerDocument||!j.ownerDocument){if(h==j)k=true;return h.ownerDocument?-1:1}var q=h.ownerDocument.createRange(),s=j.ownerDocument.createRange();q.setStart(h,
0);q.setEnd(h,0);s.setStart(j,0);s.setEnd(j,0);h=q.compareBoundaryPoints(Range.START_TO_END,s);if(h===0)k=true;return h};(function(){var h=B.createElement("div"),j="script"+(new Date).getTime();h.innerHTML="<a name='"+j+"'/>";var q=B.documentElement;q.insertBefore(h,q.firstChild);if(B.getElementById(j)){u.find.ID=function(s,A,y){if(typeof A.getElementById!=="undefined"&&!y)return(A=A.getElementById(s[1]))?A.id===s[1]||typeof A.getAttributeNode!=="undefined"&&A.getAttributeNode("id").nodeValue===s[1]?
[A]:i:[]};u.filter.ID=function(s,A){var y=typeof s.getAttributeNode!=="undefined"&&s.getAttributeNode("id");return s.nodeType===1&&y&&y.nodeValue===A}}q.removeChild(h);q=h=null})();(function(){var h=B.createElement("div");h.appendChild(B.createComment(""));if(h.getElementsByTagName("*").length>0)u.find.TAG=function(j,q){q=q.getElementsByTagName(j[1]);if(j[1]==="*"){j=[];for(var s=0;q[s];s++)q[s].nodeType===1&&j.push(q[s]);q=j}return q};h.innerHTML="<a href='#'></a>";if(h.firstChild&&typeof h.firstChild.getAttribute!==
"undefined"&&h.firstChild.getAttribute("href")!=="#")u.attrHandle.href=function(j){return j.getAttribute("href",2)};h=null})();B.querySelectorAll&&function(){var h=p,j=B.createElement("div");j.innerHTML="<p class='TEST'></p>";if(!(j.querySelectorAll&&j.querySelectorAll(".TEST").length===0)){p=function(s,A,y,H){A=A||B;if(!H&&A.nodeType===9&&!J(A))try{return O(A.querySelectorAll(s),y)}catch(E){}return h(s,A,y,H)};for(var q in h)p[q]=h[q];j=null}}();(function(){var h=B.createElement("div");h.innerHTML=
"<div class='test e'></div><div class='test'></div>";if(!(!h.getElementsByClassName||h.getElementsByClassName("e").length===0)){h.lastChild.className="e";if(h.getElementsByClassName("e").length!==1){u.order.splice(1,0,"CLASS");u.find.CLASS=function(j,q,s){if(typeof q.getElementsByClassName!=="undefined"&&!s)return q.getElementsByClassName(j[1])};h=null}}})();var da=B.compareDocumentPosition?function(h,j){return!!(h.compareDocumentPosition(j)&16)}:function(h,j){return h!==j&&(h.contains?h.contains(j):
true)},J=function(h){return(h=(h?h.ownerDocument||h:0).documentElement)?h.nodeName!=="HTML":false},Na=function(h,j){var q=[],s="",A;for(j=j.nodeType?[j]:j;A=u.match.PSEUDO.exec(h);){s+=A[0];h=h.replace(u.match.PSEUDO,"")}h=u.relative[h]?h+"*":h;A=0;for(var y=j.length;A<y;A++)p(h,j[A],q);return p.filter(s,q)};c.find=p;c.expr=p.selectors;c.expr[":"]=c.expr.filters;c.unique=p.uniqueSort;c.text=a;c.isXMLDoc=J;c.contains=da})();var fb=/Until$/,gb=/^(?:parents|prevUntil|prevAll)/,hb=/,/;qa=Array.prototype.slice;
var Ya=function(a,b,d){if(c.isFunction(b))return c.grep(a,function(e,l){return!!b.call(e,l,e)===d});else if(b.nodeType)return c.grep(a,function(e){return e===b===d});else if(typeof b==="string"){var f=c.grep(a,function(e){return e.nodeType===1});if(Q.test(b))return c.filter(b,f,!d);else b=c.filter(b,f)}return c.grep(a,function(e){return c.inArray(e,b)>=0===d})};c.fn.extend({find:function(a){for(var b=this.pushStack("","find",a),d=0,f=0,e=this.length;f<e;f++){d=b.length;c.find(a,this[f],b);if(f>0)for(var l=
d;l<b.length;l++)for(var k=0;k<d;k++)if(b[k]===b[l]){b.splice(l--,1);break}}return b},has:function(a){var b=c(a);return this.filter(function(){for(var d=0,f=b.length;d<f;d++)if(c.contains(this,b[d]))return true})},not:function(a){return this.pushStack(Ya(this,a,false),"not",a)},filter:function(a){return this.pushStack(Ya(this,a,true),"filter",a)},is:function(a){return!!a&&c.filter(a,this).length>0},closest:function(a,b){if(c.isArray(a)){var d=[],f=this[0],e,l={},k;if(f&&a.length){e=0;for(var v=a.length;e<
v;e++){k=a[e];l[k]||(l[k]=c.expr.match.POS.test(k)?c(k,b||this.context):k)}for(;f&&f.ownerDocument&&f!==b;){for(k in l){e=l[k];if(e.jquery?e.index(f)>-1:c(f).is(e)){d.push({selector:k,elem:f});delete l[k]}}f=f.parentNode}}return d}var p=c.expr.match.POS.test(a)?c(a,b||this.context):null;return this.map(function(u,C){for(;C&&C.ownerDocument&&C!==b;){if(p?p.index(C)>-1:c(C).is(a))return C;C=C.parentNode}return null})},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){a=typeof a==="string"?c(a,b||this.context):c.makeArray(a);b=c.merge(this.get(),a);return this.pushStack(x(a[0])||x(b[0])?b:c.unique(b))},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,f){var e=c.map(this,b,d);fb.test(a)||(f=d);if(f&&typeof f==="string")e=c.filter(f,e);e=this.length>1?c.unique(e):e;if((this.length>1||hb.test(f))&&gb.test(a))e=e.reverse();return this.pushStack(e,a,qa.call(arguments).join(","))}});c.extend({filter:function(a,b,d){if(d)a=":not("+a+")";return c.find.matches(a,b)},dir:function(a,b,d){var f=[];for(a=a[b];a&&a.nodeType!==9&&(d===i||a.nodeType!==1||!c(a).is(d));){a.nodeType===1&&f.push(a);a=a[b]}return f},nth:function(a,b,d){b=b||
1;for(var f=0;a;a=a[d])if(a.nodeType===1&&++f===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,Ia=/^\s+/,$a=/(<([\w:]+)[^>]*?)\/>/g,ib=/^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i,ab=/<([\w:]+)/,jb=/<tbody/i,kb=/<|&#?\w+;/,Ta=/<script|<object|<embed|<option|<style/i,Ua=/checked\s*(?:[^=]|=\s*.checked.)/i,bb=function(a,b,d){return ib.test(d)?a:b+"></"+d+">"},ea={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,"",""]};ea.optgroup=ea.option;ea.tbody=ea.tfoot=ea.colgroup=ea.caption=ea.thead;ea.th=ea.td;if(!c.support.htmlSerialize)ea._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!==i)return this.empty().append((this[0]&&this[0].ownerDocument||B).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,f;(f=this[d])!=null;d++)if(!a||c.filter(a,[f]).length){if(!b&&f.nodeType===1){c.cleanData(f.getElementsByTagName("*"));c.cleanData([f])}f.parentNode&&f.parentNode.removeChild(f)}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,f=this.ownerDocument;if(!d){d=f.createElement("div");d.appendChild(this.cloneNode(true));d=d.innerHTML}return c.clean([d.replace(Za,"").replace(/=([^="'>\s]+\/)>/g,'="$1">').replace(Ia,"")],f)[0]}else return this.cloneNode(true)});if(a===true){K(this,b);K(this.find("*"),b.find("*"))}return b},html:function(a){if(a===i)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(Za,
""):null;else if(typeof a==="string"&&!Ta.test(a)&&(c.support.leadingWhitespace||!Ia.test(a))&&!ea[(ab.exec(a)||["",""])[1].toLowerCase()]){a=a.replace($a,bb);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(f){this.empty().append(a)}}else c.isFunction(a)?this.each(function(e){var l=c(this),k=l.html();l.empty().append(function(){return a.call(this,e,k)})}):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),f=d.html();d.replaceWith(a.call(this,b,f))});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){function f(F){return c.nodeName(F,"table")?F.getElementsByTagName("tbody")[0]||
F.appendChild(F.ownerDocument.createElement("tbody")):F}var e,l,k=a[0],v=[],p;if(!c.support.checkClone&&arguments.length===3&&typeof k==="string"&&Ua.test(k))return this.each(function(){c(this).domManip(a,b,d,true)});if(c.isFunction(k))return this.each(function(F){var O=c(this);a[0]=k.call(this,F,b?O.html():i);O.domManip(a,b,d)});if(this[0]){e=k&&k.parentNode;e=c.support.parentNode&&e&&e.nodeType===11&&e.childNodes.length===this.length?{fragment:e}:W(a,this,v);p=e.fragment;if(l=p.childNodes.length===
1?(p=p.firstChild):p.firstChild){b=b&&c.nodeName(l,"tr");for(var u=0,C=this.length;u<C;u++)d.call(b?f(this[u],l):this[u],u>0||e.cacheable||this.length>1?p.cloneNode(true):p)}v.length&&c.each(v,m)}return this}});c.fragments={};c.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){c.fn[a]=function(d){var f=[];d=c(d);var e=this.length===1&&this[0].parentNode;if(e&&e.nodeType===11&&e.childNodes.length===1&&d.length===1){d[b](this[0]);
return this}else{e=0;for(var l=d.length;e<l;e++){var k=(e>0?this.clone(true):this).get();c.fn[b].apply(c(d[e]),k);f=f.concat(k)}return this.pushStack(f,a,d.selector)}}});c.extend({clean:function(a,b,d,f){b=b||B;if(typeof b.createElement==="undefined")b=b.ownerDocument||b[0]&&b[0].ownerDocument||B;for(var e=[],l=0,k;(k=a[l])!=null;l++){if(typeof k==="number")k+="";if(k){if(typeof k==="string"&&!kb.test(k))k=b.createTextNode(k);else if(typeof k==="string"){k=k.replace($a,bb);var v=(ab.exec(k)||["",
""])[1].toLowerCase(),p=ea[v]||ea._default,u=p[0],C=b.createElement("div");for(C.innerHTML=p[1]+k+p[2];u--;)C=C.lastChild;if(!c.support.tbody){u=jb.test(k);v=v==="table"&&!u?C.firstChild&&C.firstChild.childNodes:p[1]==="<table>"&&!u?C.childNodes:[];for(p=v.length-1;p>=0;--p)c.nodeName(v[p],"tbody")&&!v[p].childNodes.length&&v[p].parentNode.removeChild(v[p])}!c.support.leadingWhitespace&&Ia.test(k)&&C.insertBefore(b.createTextNode(Ia.exec(k)[0]),C.firstChild);k=C.childNodes}if(k.nodeType)e.push(k);
else e=c.merge(e,k)}}if(d)for(l=0;e[l];l++)if(f&&c.nodeName(e[l],"script")&&(!e[l].type||e[l].type.toLowerCase()==="text/javascript"))f.push(e[l].parentNode?e[l].parentNode.removeChild(e[l]):e[l]);else{e[l].nodeType===1&&e.splice.apply(e,[l+1,0].concat(c.makeArray(e[l].getElementsByTagName("script"))));d.appendChild(e[l])}return e},cleanData:function(a){for(var b,d,f=c.cache,e=c.event.special,l=c.support.deleteExpando,k=0,v;(v=a[k])!=null;k++)if(d=v[c.expando]){b=f[d];if(b.events)for(var p in b.events)e[p]?
c.event.remove(v,p):G(v,p,b.handle);if(l)delete v[c.expando];else v.removeAttribute&&v.removeAttribute(c.expando);delete f[d]}}});var lb=/z-?index|font-?weight|opacity|zoom|line-?height/i,cb=/alpha\([^)]*\)/,db=/opacity=([^)]*)/,Oa=/float/i,Pa=/-([a-z])/ig,mb=/([A-Z])/g,nb=/^-?\d+(?:px)?$/i,ob=/^-?\d/,pb={position:"absolute",visibility:"hidden",display:"block"},qb=["Left","Right"],rb=["Top","Bottom"],sb=B.defaultView&&B.defaultView.getComputedStyle,eb=c.support.cssFloat?"cssFloat":"styleFloat",Qa=
function(a,b){return b.toUpperCase()};c.fn.css=function(a,b){return o(this,a,b,true,function(d,f,e){if(e===i)return c.curCSS(d,f);if(typeof e==="number"&&!lb.test(f))e+="px";c.style(d,f,e)})};c.extend({style:function(a,b,d){if(!a||a.nodeType===3||a.nodeType===8)return i;if((b==="width"||b==="height")&&parseFloat(d)<0)d=i;var f=a.style||a,e=d!==i;if(!c.support.opacity&&b==="opacity"){if(e){f.zoom=1;b=parseInt(d,10)+""==="NaN"?"":"alpha(opacity="+d*100+")";a=f.filter||c.curCSS(a,"filter")||"";f.filter=
cb.test(a)?a.replace(cb,b):b}return f.filter&&f.filter.indexOf("opacity=")>=0?parseFloat(db.exec(f.filter)[1])/100+"":""}if(Oa.test(b))b=eb;b=b.replace(Pa,Qa);if(e)f[b]=d;return f[b]},css:function(a,b,d,f){if(b==="width"||b==="height"){var e,l=b==="width"?qb:rb;function k(){e=b==="width"?a.offsetWidth:a.offsetHeight;f!=="border"&&c.each(l,function(){f||(e-=parseFloat(c.curCSS(a,"padding"+this,true))||0);if(f==="margin")e+=parseFloat(c.curCSS(a,"margin"+this,true))||0;else e-=parseFloat(c.curCSS(a,
"border"+this+"Width",true))||0})}a.offsetWidth!==0?k():c.swap(a,pb,k);return Math.max(0,Math.round(e))}return c.curCSS(a,b,d)},curCSS:function(a,b,d){var f,e=a.style;if(!c.support.opacity&&b==="opacity"&&a.currentStyle){f=db.test(a.currentStyle.filter||"")?parseFloat(RegExp.$1)/100+"":"";return f===""?"1":f}if(Oa.test(b))b=eb;if(!d&&e&&e[b])f=e[b];else if(sb){if(Oa.test(b))b="float";b=b.replace(mb,"-$1").toLowerCase();e=a.ownerDocument.defaultView;if(!e)return null;if(a=e.getComputedStyle(a,null))f=
a.getPropertyValue(b);if(b==="opacity"&&f==="")f="1"}else if(a.currentStyle){d=b.replace(Pa,Qa);f=a.currentStyle[b]||a.currentStyle[d];if(!nb.test(f)&&ob.test(f)){b=e.left;var l=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;e.left=d==="fontSize"?"1em":f||0;f=e.pixelLeft+"px";e.left=b;a.runtimeStyle.left=l}}return f},swap:function(a,b,d){var f={};for(var e in b){f[e]=a.style[e];a.style[e]=b[e]}d.call(a);for(e in b)a.style[e]=f[e]}});if(c.expr&&c.expr.filters){c.expr.filters.hidden=function(a){var b=
a.offsetWidth,d=a.offsetHeight,f=a.nodeName.toLowerCase()==="tr";return b===0&&d===0&&!f?true:b>0&&d>0&&!f?false:c.curCSS(a,"display")==="none"};c.expr.filters.visible=function(a){return!c.expr.filters.hidden(a)}}var tb=z(),ub=/<script(.|\s)*?\/script>/gi,vb=/select|textarea/i,wb=/color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week/i,wa=/=\?(&|$)/,Ra=/\?/,xb=/(\?|&)_=.*?(&|$)/,yb=/^(\w+:)?\/\/([^\/?#]+)/,zb=/%20/g,Ab=c.fn.load;c.fn.extend({load:function(a,b,
d){if(typeof a!=="string")return Ab.call(this,a);else if(!this.length)return this;var f=a.indexOf(" ");if(f>=0){var e=a.slice(f,a.length);a=a.slice(0,f)}f="GET";if(b)if(c.isFunction(b)){d=b;b=null}else if(typeof b==="object"){b=c.param(b,c.ajaxSettings.traditional);f="POST"}var l=this;c.ajax({url:a,type:f,dataType:"html",data:b,complete:function(k,v){if(v==="success"||v==="notmodified")l.html(e?c("<div />").append(k.responseText.replace(ub,"")).find(e):k.responseText);d&&l.each(d,[k.responseText,
v,k])}});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||vb.test(this.nodeName)||wb.test(this.type))}).map(function(a,b){a=c(this).val();return a==null?null:c.isArray(a)?c.map(a,function(d){return{name:b.name,value:d}}):{name:b.name,value:a}}).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,f){if(c.isFunction(b)){f=f||d;d=b;b=null}return c.ajax({type:"GET",url:a,data:b,success:d,dataType:f})},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,f){if(c.isFunction(b)){f=f||d;d=b;b={}}return c.ajax({type:"POST",url:a,data:b,success:d,dataType:f})},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:g.XMLHttpRequest&&(g.location.protocol!=="file:"||!g.ActiveXObject)?function(){return new g.XMLHttpRequest}:function(){try{return new g.ActiveXObject("Microsoft.XMLHTTP")}catch(a){}},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},etag:{},ajax:function(a){function b(){e.success&&
e.success.call(p,v,k,J);e.global&&f("ajaxSuccess",[J,e])}function d(){e.complete&&e.complete.call(p,J,k);e.global&&f("ajaxComplete",[J,e]);e.global&&!--c.active&&c.event.trigger("ajaxStop")}function f(A,y){(e.context?c(e.context):c.event).trigger(A,y)}var e=c.extend(true,{},c.ajaxSettings,a),l,k,v,p=a&&a.context||e,u=e.type.toUpperCase();if(e.data&&e.processData&&typeof e.data!=="string")e.data=c.param(e.data,e.traditional);if(e.dataType==="jsonp"){if(u==="GET")wa.test(e.url)||(e.url+=(Ra.test(e.url)?
"&":"?")+(e.jsonp||"callback")+"=?");else if(!e.data||!wa.test(e.data))e.data=(e.data?e.data+"&":"")+(e.jsonp||"callback")+"=?";e.dataType="json"}if(e.dataType==="json"&&(e.data&&wa.test(e.data)||wa.test(e.url))){l=e.jsonpCallback||"jsonp"+tb++;if(e.data)e.data=(e.data+"").replace(wa,"="+l+"$1");e.url=e.url.replace(wa,"="+l+"$1");e.dataType="script";g[l]=g[l]||function(A){v=A;b();d();g[l]=i;try{delete g[l]}catch(y){}O&&O.removeChild(V)}}if(e.dataType==="script"&&e.cache===null)e.cache=false;if(e.cache===
false&&u==="GET"){var C=z(),F=e.url.replace(xb,"$1_="+C+"$2");e.url=F+(F===e.url?(Ra.test(e.url)?"&":"?")+"_="+C:"")}if(e.data&&u==="GET")e.url+=(Ra.test(e.url)?"&":"?")+e.data;e.global&&!c.active++&&c.event.trigger("ajaxStart");C=(C=yb.exec(e.url))&&(C[1]&&C[1]!==location.protocol||C[2]!==location.host);if(e.dataType==="script"&&u==="GET"&&C){var O=B.getElementsByTagName("head")[0]||B.documentElement,V=B.createElement("script");V.src=e.url;if(e.scriptCharset)V.charset=e.scriptCharset;if(!l){var R=
false;V.onload=V.onreadystatechange=function(){if(!R&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){R=true;b();d();V.onload=V.onreadystatechange=null;O&&V.parentNode&&O.removeChild(V)}}}O.insertBefore(V,O.firstChild);return i}var da=false,J=e.xhr();if(J){e.username?J.open(u,e.url,e.async,e.username,e.password):J.open(u,e.url,e.async);try{if(e.data||a&&a.contentType)J.setRequestHeader("Content-Type",e.contentType);if(e.ifModified){c.lastModified[e.url]&&J.setRequestHeader("If-Modified-Since",
c.lastModified[e.url]);c.etag[e.url]&&J.setRequestHeader("If-None-Match",c.etag[e.url])}C||J.setRequestHeader("X-Requested-With","XMLHttpRequest");J.setRequestHeader("Accept",e.dataType&&e.accepts[e.dataType]?e.accepts[e.dataType]+", */*":e.accepts._default)}catch(Na){}if(e.beforeSend&&e.beforeSend.call(p,J,e)===false){e.global&&!--c.active&&c.event.trigger("ajaxStop");J.abort();return false}e.global&&f("ajaxSend",[J,e]);var h=J.onreadystatechange=function(A){if(!J||J.readyState===0||A==="abort"){da||
d();da=true;if(J)J.onreadystatechange=c.noop}else if(!da&&J&&(J.readyState===4||A==="timeout")){da=true;J.onreadystatechange=c.noop;k=A==="timeout"?"timeout":!c.httpSuccess(J)?"error":e.ifModified&&c.httpNotModified(J,e.url)?"notmodified":"success";var y;if(k==="success")try{v=c.httpData(J,e.dataType,e)}catch(H){k="parsererror";y=H}if(k==="success"||k==="notmodified")l||b();else c.handleError(e,J,k,y);d();A==="timeout"&&J.abort();if(e.async)J=null}};try{var j=J.abort;J.abort=function(){J&&j.call(J);
h("abort")}}catch(q){}e.async&&e.timeout>0&&setTimeout(function(){J&&!da&&h("timeout")},e.timeout);try{J.send(u==="POST"||u==="PUT"||u==="DELETE"?e.data:null)}catch(s){c.handleError(e,J,null,s);d()}e.async||h();return J}},handleError:function(a,b,d,f){if(a.error)a.error.call(a.context||a,b,d,f);if(a.global)(a.context?c(a.context):c.event).trigger("ajaxError",[b,a,f])},active:0,httpSuccess:function(a){try{return!a.status&&location.protocol==="file:"||a.status>=200&&a.status<300||a.status===304||a.status===
1223||a.status===0}catch(b){}return false},httpNotModified:function(a,b){var d=a.getResponseHeader("Last-Modified"),f=a.getResponseHeader("Etag");if(d)c.lastModified[b]=d;if(f)c.etag[b]=f;return a.status===304||a.status===0},httpData:function(a,b,d){var f=a.getResponseHeader("content-type")||"",e=b==="xml"||!b&&f.indexOf("xml")>=0;a=e?a.responseXML:a.responseText;e&&a.documentElement.nodeName==="parsererror"&&c.error("parsererror");if(d&&d.dataFilter)a=d.dataFilter(a,b);if(typeof a==="string")if(b===
"json"||!b&&f.indexOf("json")>=0)a=c.parseJSON(a);else if(b==="script"||!b&&f.indexOf("javascript")>=0)c.globalEval(a);return a},param:function(a,b){function d(k,v){if(c.isArray(v))c.each(v,function(p,u){b||/\[\]$/.test(k)?f(k,u):d(k+"["+(typeof u==="object"||c.isArray(u)?p:"")+"]",u)});else!b&&v!=null&&typeof v==="object"?c.each(v,function(p,u){d(k+"["+p+"]",u)}):f(k,v)}function f(k,v){v=c.isFunction(v)?v():v;e[e.length]=encodeURIComponent(k)+"="+encodeURIComponent(v)}var e=[];if(b===i)b=c.ajaxSettings.traditional;
if(c.isArray(a)||a.jquery)c.each(a,function(){f(this.name,this.value)});else for(var l in a)d(l,a[l]);return e.join("&").replace(zb,"+")}});var Sa={},Bb=/toggle|show|hide/,Cb=/^([+-]=)?([\d+-.]+)(.*)$/,Ja,Va=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];c.fn.extend({show:function(a,b){if(a||a===0)return this.animate(t("show",3),a,b);else{a=0;for(b=this.length;a<b;a++){var d=c.data(this[a],"olddisplay");
this[a].style.display=d||"";if(c.css(this[a],"display")==="none"){d=this[a].nodeName;var f;if(Sa[d])f=Sa[d];else{var e=c("<"+d+" />").appendTo("body");f=e.css("display");if(f==="none")f="block";e.remove();Sa[d]=f}c.data(this[a],"olddisplay",f)}}a=0;for(b=this.length;a<b;a++)this[a].style.display=c.data(this[a],"olddisplay")||"";return this}},hide:function(a,b){if(a||a===0)return this.animate(t("hide",3),a,b);else{a=0;for(b=this.length;a<b;a++){var d=c.data(this[a],"olddisplay");!d&&d!=="none"&&c.data(this[a],
"olddisplay",c.css(this[a],"display"))}a=0;for(b=this.length;a<b;a++)this[a].style.display="none";return this}},_toggle:c.fn.toggle,toggle:function(a,b){var d=typeof a==="boolean";if(c.isFunction(a)&&c.isFunction(b))this._toggle.apply(this,arguments);else a==null||d?this.each(function(){var f=d?a:c(this).is(":hidden");c(this)[f?"show":"hide"]()}):this.animate(t("toggle",3),a,b);return this},fadeTo:function(a,b,d){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,d)},
animate:function(a,b,d,f){var e=c.speed(b,d,f);if(c.isEmptyObject(a))return this.each(e.complete);return this[e.queue===false?"each":"queue"](function(){var l=c.extend({},e),k,v=this.nodeType===1&&c(this).is(":hidden"),p=this;for(k in a){var u=k.replace(Pa,Qa);if(k!==u){a[u]=a[k];delete a[k];k=u}if(a[k]==="hide"&&v||a[k]==="show"&&!v)return l.complete.call(this);if((k==="height"||k==="width")&&this.style){l.display=c.css(this,"display");l.overflow=this.style.overflow}if(c.isArray(a[k])){(l.specialEasing=
l.specialEasing||{})[k]=a[k][1];a[k]=a[k][0]}}if(l.overflow!=null)this.style.overflow="hidden";l.curAnim=c.extend({},a);c.each(a,function(C,F){var O=new c.fx(p,l,C);if(Bb.test(F))O[F==="toggle"?v?"show":"hide":F](a);else{var V=Cb.exec(F),R=O.cur(true)||0;if(V){F=parseFloat(V[2]);var da=V[3]||"px";if(da!=="px"){p.style[C]=(F||1)+da;R=(F||1)/O.cur(true)*R;p.style[C]=R+da}if(V[1])F=(V[1]==="-="?-1:1)*F+R;O.custom(R,F,da)}else O.custom(R,F,"")}});return true})},stop:function(a,b){var d=c.timers;a&&this.queue([]);
this.each(function(){for(var f=d.length-1;f>=0;f--)if(d[f].elem===this){b&&d[f](true);d.splice(f,1)}});b||this.dequeue();return this}});c.each({slideDown:t("show",1),slideUp:t("hide",1),slideToggle:t("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(a,b){c.fn[a]=function(d,f){return this.animate(b,d,f)}});c.extend({speed:function(a,b,d){var f=a&&typeof a==="object"?a:{complete:d||!d&&b||c.isFunction(a)&&a,duration:a,easing:d&&b||b&&!c.isFunction(b)&&b};f.duration=c.fx.off?0:typeof f.duration===
"number"?f.duration:c.fx.speeds[f.duration]||c.fx.speeds._default;f.old=f.complete;f.complete=function(){f.queue!==false&&c(this).dequeue();c.isFunction(f.old)&&f.old.call(this)};return f},easing:{linear:function(a,b,d,f){return d+f*a},swing:function(a,b,d,f){return(-Math.cos(a*Math.PI)/2+0.5)*f+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);if((this.prop==="height"||this.prop==="width")&&this.elem.style)this.elem.style.display="block"},cur:function(a){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];return(a=parseFloat(c.css(this.elem,this.prop,a)))&&a>-10000?a:parseFloat(c.curCSS(this.elem,this.prop))||0},custom:function(a,b,d){function f(l){return e.step(l)}this.startTime=z();this.start=a;this.end=b;this.unit=d||this.unit||"px";this.now=this.start;
this.pos=this.state=0;var e=this;f.elem=this.elem;if(f()&&c.timers.push(f)&&!Ja)Ja=setInterval(c.fx.tick,13)},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=z(),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 f in this.options.curAnim)if(this.options.curAnim[f]!==true)d=false;if(d){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;a=c.data(this.elem,"olddisplay");this.elem.style.display=a?a:this.options.display;if(c.css(this.elem,"display")==="none")this.elem.style.display="block"}this.options.hide&&c(this.elem).hide();if(this.options.hide||this.options.show)for(var e in this.options.curAnim)c.style(this.elem,
e,this.options.orig[e]);this.options.complete.call(this.elem)}return false}else{e=b-this.startTime;this.state=e/this.options.duration;a=this.options.easing||(c.easing.swing?"swing":"linear");this.pos=c.easing[this.options.specialEasing&&this.options.specialEasing[this.prop]||a](this.state,e,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()},stop:function(){clearInterval(Ja);Ja=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};c.fn.offset="getBoundingClientRect"in
B.documentElement?function(a){var b=this[0];if(a)return this.each(function(e){c.offset.setOffset(this,a,e)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);var d=b.getBoundingClientRect(),f=b.ownerDocument;b=f.body;f=f.documentElement;return{top:d.top+(self.pageYOffset||c.support.boxModel&&f.scrollTop||b.scrollTop)-(f.clientTop||b.clientTop||0),left:d.left+(self.pageXOffset||c.support.boxModel&&f.scrollLeft||b.scrollLeft)-(f.clientLeft||b.clientLeft||
0)}}:function(a){var b=this[0];if(a)return this.each(function(C){c.offset.setOffset(this,a,C)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);c.offset.initialize();var d=b.offsetParent,f=b,e=b.ownerDocument,l,k=e.documentElement,v=e.body;f=(e=e.defaultView)?e.getComputedStyle(b,null):b.currentStyle;for(var p=b.offsetTop,u=b.offsetLeft;(b=b.parentNode)&&b!==v&&b!==k;){if(c.offset.supportsFixedPosition&&f.position==="fixed")break;l=e?e.getComputedStyle(b,
null):b.currentStyle;p-=b.scrollTop;u-=b.scrollLeft;if(b===d){p+=b.offsetTop;u+=b.offsetLeft;if(c.offset.doesNotAddBorder&&!(c.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(b.nodeName))){p+=parseFloat(l.borderTopWidth)||0;u+=parseFloat(l.borderLeftWidth)||0}f=d;d=b.offsetParent}if(c.offset.subtractsBorderForOverflowNotVisible&&l.overflow!=="visible"){p+=parseFloat(l.borderTopWidth)||0;u+=parseFloat(l.borderLeftWidth)||0}f=l}if(f.position==="relative"||f.position==="static"){p+=v.offsetTop;
u+=v.offsetLeft}if(c.offset.supportsFixedPosition&&f.position==="fixed"){p+=Math.max(k.scrollTop,v.scrollTop);u+=Math.max(k.scrollLeft,v.scrollLeft)}return{top:p,left:u}};c.offset={initialize:function(){var a=B.body,b=B.createElement("div"),d,f,e,l=parseFloat(c.curCSS(a,"marginTop",true))||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;f=d.firstChild;e=d.nextSibling.firstChild.firstChild;this.doesNotAddBorder=f.offsetTop!==5;this.doesAddBorderForTableAndCells=e.offsetTop===5;f.style.position="fixed";f.style.top="20px";this.supportsFixedPosition=f.offsetTop===20||f.offsetTop===15;f.style.position=f.style.top="";d.style.overflow="hidden";d.style.position="relative";this.subtractsBorderForOverflowNotVisible=f.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==l;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.curCSS(a,"marginTop",true))||0;d+=parseFloat(c.curCSS(a,"marginLeft",true))||0}return{top:b,left:d}},setOffset:function(a,b,d){if(/static/.test(c.curCSS(a,"position")))a.style.position="relative";var f=c(a),e=f.offset(),l=parseInt(c.curCSS(a,"top",true),10)||0,k=parseInt(c.curCSS(a,"left",true),10)||0;if(c.isFunction(b))b=b.call(a,
d,e);d={top:b.top-e.top+l,left:b.left-e.left+k};"using"in b?b.using.call(a,d):f.css(d)}};c.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),d=this.offset(),f=/^body|html$/i.test(b[0].nodeName)?{top:0,left:0}:b.offset();d.top-=parseFloat(c.curCSS(a,"marginTop",true))||0;d.left-=parseFloat(c.curCSS(a,"marginLeft",true))||0;f.top+=parseFloat(c.curCSS(b[0],"borderTopWidth",true))||0;f.left+=parseFloat(c.curCSS(b[0],"borderLeftWidth",true))||0;return{top:d.top-
f.top,left:d.left-f.left}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||B.body;a&&!/^body|html$/i.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(f){var e=this[0],l;if(!e)return null;if(f!==i)return this.each(function(){if(l=M(this))l.scrollTo(!a?f:c(l).scrollLeft(),a?f:c(l).scrollTop());else this[d]=f});else return(l=M(e))?"pageXOffset"in l?l[a?"pageYOffset":"pageXOffset"]:
c.support.boxModel&&l.document.documentElement[d]||l.document.body[d]:e[d]}});c.each(["Height","Width"],function(a,b){var d=b.toLowerCase();c.fn["inner"+b]=function(){return this[0]?c.css(this[0],d,false,"padding"):null};c.fn["outer"+b]=function(f){return this[0]?c.css(this[0],d,false,f?"margin":"border"):null};c.fn[d]=function(f){var e=this[0];if(!e)return f==null?null:this;if(c.isFunction(f))return this.each(function(l){var k=c(this);k[d](f.call(this,l,k[d]()))});return"scrollTo"in e&&e.document?
e.document.compatMode==="CSS1Compat"&&e.document.documentElement["client"+b]||e.document.body["client"+b]:e.nodeType===9?Math.max(e.documentElement["client"+b],e.body["scroll"+b],e.documentElement["scroll"+b],e.body["offset"+b],e.documentElement["offset"+b]):f===i?c.css(e,d):this.css(d,typeof f==="string"?f:f+"px")}});g.jQuery=g.$=c})(window);jQuery.easing.jswing=jQuery.easing.swing;
jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(g,i,r,m,o){return jQuery.easing[jQuery.easing.def](g,i,r,m,o)},easeInQuad:function(g,i,r,m,o){return m*(i/=o)*i+r},easeOutQuad:function(g,i,r,m,o){return-m*(i/=o)*(i-2)+r},easeInOutQuad:function(g,i,r,m,o){if((i/=o/2)<1)return m/2*i*i+r;return-m/2*(--i*(i-2)-1)+r},easeInCubic:function(g,i,r,m,o){return m*(i/=o)*i*i+r},easeOutCubic:function(g,i,r,m,o){return m*((i=i/o-1)*i*i+1)+r},easeInOutCubic:function(g,i,r,m,o){if((i/=o/2)<1)return m/
2*i*i*i+r;return m/2*((i-=2)*i*i+2)+r},easeInQuart:function(g,i,r,m,o){return m*(i/=o)*i*i*i+r},easeOutQuart:function(g,i,r,m,o){return-m*((i=i/o-1)*i*i*i-1)+r},easeInOutQuart:function(g,i,r,m,o){if((i/=o/2)<1)return m/2*i*i*i*i+r;return-m/2*((i-=2)*i*i*i-2)+r},easeInQuint:function(g,i,r,m,o){return m*(i/=o)*i*i*i*i+r},easeOutQuint:function(g,i,r,m,o){return m*((i=i/o-1)*i*i*i*i+1)+r},easeInOutQuint:function(g,i,r,m,o){if((i/=o/2)<1)return m/2*i*i*i*i*i+r;return m/2*((i-=2)*i*i*i*i+2)+r},easeInSine:function(g,
i,r,m,o){return-m*Math.cos(i/o*(Math.PI/2))+m+r},easeOutSine:function(g,i,r,m,o){return m*Math.sin(i/o*(Math.PI/2))+r},easeInOutSine:function(g,i,r,m,o){return-m/2*(Math.cos(Math.PI*i/o)-1)+r},easeInExpo:function(g,i,r,m,o){return i==0?r:m*Math.pow(2,10*(i/o-1))+r},easeOutExpo:function(g,i,r,m,o){return i==o?r+m:m*(-Math.pow(2,-10*i/o)+1)+r},easeInOutExpo:function(g,i,r,m,o){if(i==0)return r;if(i==o)return r+m;if((i/=o/2)<1)return m/2*Math.pow(2,10*(i-1))+r;return m/2*(-Math.pow(2,-10*--i)+2)+r},
easeInCirc:function(g,i,r,m,o){return-m*(Math.sqrt(1-(i/=o)*i)-1)+r},easeOutCirc:function(g,i,r,m,o){return m*Math.sqrt(1-(i=i/o-1)*i)+r},easeInOutCirc:function(g,i,r,m,o){if((i/=o/2)<1)return-m/2*(Math.sqrt(1-i*i)-1)+r;return m/2*(Math.sqrt(1-(i-=2)*i)+1)+r},easeInElastic:function(g,i,r,m,o){g=1.70158;var z=0,D=m;if(i==0)return r;if((i/=o)==1)return r+m;z||(z=o*0.3);if(D<Math.abs(m)){D=m;g=z/4}else g=z/(2*Math.PI)*Math.asin(m/D);return-(D*Math.pow(2,10*(i-=1))*Math.sin((i*o-g)*2*Math.PI/z))+r},easeOutElastic:function(g,
i,r,m,o){g=1.70158;var z=0,D=m;if(i==0)return r;if((i/=o)==1)return r+m;z||(z=o*0.3);if(D<Math.abs(m)){D=m;g=z/4}else g=z/(2*Math.PI)*Math.asin(m/D);return D*Math.pow(2,-10*i)*Math.sin((i*o-g)*2*Math.PI/z)+m+r},easeInOutElastic:function(g,i,r,m,o){g=1.70158;var z=0,D=m;if(i==0)return r;if((i/=o/2)==2)return r+m;z||(z=o*0.3*1.5);if(D<Math.abs(m)){D=m;g=z/4}else g=z/(2*Math.PI)*Math.asin(m/D);if(i<1)return-0.5*D*Math.pow(2,10*(i-=1))*Math.sin((i*o-g)*2*Math.PI/z)+r;return D*Math.pow(2,-10*(i-=1))*Math.sin((i*
o-g)*2*Math.PI/z)*0.5+m+r},easeInBack:function(g,i,r,m,o,z){if(z==undefined)z=1.70158;return m*(i/=o)*i*((z+1)*i-z)+r},easeOutBack:function(g,i,r,m,o,z){if(z==undefined)z=1.70158;return m*((i=i/o-1)*i*((z+1)*i+z)+1)+r},easeInOutBack:function(g,i,r,m,o,z){if(z==undefined)z=1.70158;if((i/=o/2)<1)return m/2*i*i*(((z*=1.525)+1)*i-z)+r;return m/2*((i-=2)*i*(((z*=1.525)+1)*i+z)+2)+r},easeInBounce:function(g,i,r,m,o){return m-jQuery.easing.easeOutBounce(g,o-i,0,m,o)+r},easeOutBounce:function(g,i,r,m,o){return(i/=
o)<1/2.75?m*7.5625*i*i+r:i<2/2.75?m*(7.5625*(i-=1.5/2.75)*i+0.75)+r:i<2.5/2.75?m*(7.5625*(i-=2.25/2.75)*i+0.9375)+r:m*(7.5625*(i-=2.625/2.75)*i+0.984375)+r},easeInOutBounce:function(g,i,r,m,o){if(i<o/2)return jQuery.easing.easeInBounce(g,i*2,0,m,o)*0.5+r;return jQuery.easing.easeOutBounce(g,i*2-o,0,m,o)*0.5+m*0.5+r}});
(function(g){function i(m){var o=[].slice.call(arguments,1),z=0;m=g.event.fix(m||window.event);m.type="mousewheel";if(m.wheelDelta)z=m.wheelDelta/120;if(m.detail)z=-m.detail/3;o.unshift(m,z);return g.event.handle.apply(this,o)}var r=["DOMMouseScroll","mousewheel"];g.event.special.mousewheel={setup:function(){if(this.addEventListener)for(var m=r.length;m;)this.addEventListener(r[--m],i,false);else this.onmousewheel=i},teardown:function(){if(this.removeEventListener)for(var m=r.length;m;)this.removeEventListener(r[--m],
i,false);else this.onmousewheel=null}};g.fn.extend({mousewheel:function(m){return m?this.bind("mousewheel",m):this.trigger("mousewheel")},unmousewheel:function(m){return this.unbind("mousewheel",m)}})})(jQuery);
(function(g){g.fn.hoverIntent=function(i,r){var m={sensitivity:7,interval:100,timeout:0};m=g.extend(m,r?{over:i,out:r}:i);var o,z,D,P,T=function(x){o=x.pageX;z=x.pageY},L=function(x,K){K.hoverIntent_t=clearTimeout(K.hoverIntent_t);if(Math.abs(D-o)+Math.abs(P-z)<m.sensitivity){g(K).unbind("mousemove",T);K.hoverIntent_s=1;return m.over.apply(K,[x])}else{D=o;P=z;K.hoverIntent_t=setTimeout(function(){L(x,K)},m.interval)}},I=function(x,K){K.hoverIntent_t=clearTimeout(K.hoverIntent_t);K.hoverIntent_s=0;
return m.out.apply(K,[x])};i=function(x){for(var K=(x.type=="mouseover"?x.fromElement:x.toElement)||x.relatedTarget;K&&K!=this;)try{K=K.parentNode}catch(W){K=this}if(K==this)return false;var t=jQuery.extend({},x),M=this;if(M.hoverIntent_t)M.hoverIntent_t=clearTimeout(M.hoverIntent_t);if(x.type=="mouseover"){D=t.pageX;P=t.pageY;g(M).bind("mousemove",T);if(M.hoverIntent_s!=1)M.hoverIntent_t=setTimeout(function(){L(t,M)},m.interval)}else{g(M).unbind("mousemove",T);if(M.hoverIntent_s==1)M.hoverIntent_t=
setTimeout(function(){I(t,M)},m.timeout)}};return this.mouseover(i).mouseout(i)}})(jQuery);$(function(){$("body").removeClass("coda-slider-no-js");$(".coda-slider").children(".panel").hide().end().prepend('<p class="loading">Loading...<br /><img src="/fileadmin/static/img/customized/ajax-loader.gif" alt="loading..." /></p>')});var sliderCount=1;
$.fn.codaSlider=function(g){g=$.extend({autoHeight:true,autoHeightEaseDuration:1E3,autoHeightEaseFunction:"easeInOutExpo",autoSlide:false,autoSlideInterval:7E3,autoSlideStopWhenClicked:true,crossLinking:true,dynamicArrows:true,dynamicArrowLeftText:"&#171; left",dynamicArrowRightText:"right &#187;",dynamicTabs:true,dynamicTabsAlign:"center",dynamicTabsPosition:"top",externalTriggerSelector:"a.xtrig",firstPanelToLoad:1,panelTitleSelector:"h2.title",slideEaseDuration:1E3,slideEaseFunction:"easeInOutExpo"},
g);return this.each(function(){function i(x){if(g.autoHeight){panelHeight=$(".panel:eq("+x+")",m).height();m.animate({height:panelHeight},g.autoHeightEaseDuration,g.autoHeightEaseFunction)}}function r(){if(T==0||!g.autoSlideStopWhenClicked){if(L==D){var x=0;L=1}else{x=-(z*L);L+=1}i(L-1);m.siblings(".coda-nav").find("a").removeClass("current").parents("ul").find("li:eq("+(L-1)+") a").addClass("current");$(".panel-container",m).animate({marginLeft:x},g.slideEaseDuration,g.slideEaseFunction);setTimeout(r,
g.autoSlideInterval)}}var m=$(this),o=false;if(g.dynamicArrows){m.parent().addClass("arrows");m.before('<div class="coda-nav-left" id="coda-nav-left-'+sliderCount+'"><a href="#">'+g.dynamicArrowLeftText+"</a></div>");m.after('<div class="coda-nav-right" id="coda-nav-right-'+sliderCount+'"><a href="#">'+g.dynamicArrowRightText+"</a></div>")}var z=m.find(".panel").width(),D=m.find(".panel").size(),P=z*D,T=0;$(".panel",m).wrapAll('<div class="panel-container"></div>');$(".panel-container",m).css({width:P});
if(g.crossLinking&&location.hash&&parseInt(location.hash.slice(1))<=D){var L=parseInt(location.hash.slice(1)),I=-(z*(L-1));$(".panel-container",m).css({marginLeft:I})}else if(g.firstPanelToLoad!=1&&g.firstPanelToLoad<=D){L=g.firstPanelToLoad;I=-(z*(L-1));$(".panel-container",m).css({marginLeft:I})}else L=1;$("#coda-nav-left-"+sliderCount+" a").click(function(){if(!o){o=true;T++;if(L==1){I=-(z*(D-1));i(D-1);L=D;m.siblings(".coda-nav").find("a.current").removeClass("current").parents("ul").find("li:last a").addClass("current")}else{L-=
1;i(L-1);I=-(z*(L-1));m.siblings(".coda-nav").find("a.current").removeClass("current").parent().prev().find("a").addClass("current")}$(".panel-container",m).animate({marginLeft:I},g.slideEaseDuration,g.slideEaseFunction,function(){o=false});if(g.crossLinking)location.hash=L}return false});$("#coda-nav-right-"+sliderCount+" a").click(function(){if(!o){o=true;T++;if(L==D){I=0;L=1;i(0);m.siblings(".coda-nav").find("a.current").removeClass("current").parents("ul").find("a:eq(0)").addClass("current")}else{I=
-(z*L);i(L);L+=1;m.siblings(".coda-nav").find("a.current").removeClass("current").parent().next().find("a").addClass("current")}$(".panel-container",m).animate({marginLeft:I},g.slideEaseDuration,g.slideEaseFunction,function(){o=false});if(g.crossLinking)location.hash=L}return false});if(g.dynamicTabs){P='<div class="coda-nav" id="coda-nav-'+sliderCount+'"><ul></ul></div>';switch(g.dynamicTabsPosition){case "bottom":m.parent().append(P);break;default:m.parent().prepend(P);break}ul=$("#coda-nav-"+sliderCount+
" ul");$(".panel",m).each(function(x){ul.append('<li class="tab'+(x+1)+'"><a href="#'+(x+1)+'">'+$(this).find(g.panelTitleSelector).text()+"</a></li>")});navContainerWidth=m.width()+m.siblings(".coda-nav-left").width()+m.siblings(".coda-nav-right").width();ul.parent().css({width:navContainerWidth});switch(g.dynamicTabsAlign){case "center":ul.css({width:($("li",ul).width()+2)*D});break;case "right":ul.addClass("float_right");break}}$("#coda-nav-"+sliderCount+" a").each(function(x){$(this).bind("click",
function(){T++;$(this).addClass("current").parents("ul").find("a").not($(this)).removeClass("current");I=-(z*x);i(x);L=x+1;$(".panel-container",m).animate({marginLeft:I},g.slideEaseDuration,g.slideEaseFunction);if(!g.crossLinking)return false})});$(g.externalTriggerSelector).each(function(){sliderCount==parseInt($(this).attr("rel").slice(12))&&$(this).bind("click",function(){T++;targetPanel=parseInt($(this).attr("href").slice(1));I=-(z*(targetPanel-1));i(targetPanel-1);L=targetPanel;m.siblings(".coda-nav").find("a").removeClass("current").parents("ul").find("li:eq("+
(targetPanel-1)+") a").addClass("current");$(".panel-container",m).animate({marginLeft:I},g.slideEaseDuration,g.slideEaseFunction);if(!g.crossLinking)return false})});if(g.crossLinking&&location.hash&&parseInt(location.hash.slice(1))<=D)$("#coda-nav-"+sliderCount+" a:eq("+(location.hash.slice(1)-1)+")").addClass("current");else g.firstPanelToLoad!=1&&g.firstPanelToLoad<=D?$("#coda-nav-"+sliderCount+" a:eq("+(g.firstPanelToLoad-1)+")").addClass("current"):$("#coda-nav-"+sliderCount+" a:eq(0)").addClass("current");
if(g.autoHeight){panelHeight=$(".panel:eq("+(L-1)+")",m).height();m.css({height:panelHeight})}g.autoSlide&&m.ready(function(){setTimeout(r,g.autoSlideInterval)});$(".panel",m).show().end().find("p.loading").remove();m.removeClass("preload");sliderCount++})};
(function(g){var i,r,m,o,z,D,P,T,L,I=0,x={},K=[],W=0,t={},M=[],c=null,Z=new Image,oa=/\.(jpg|gif|png|bmp|jpeg)(.*)?$/i,B=/[^\.]\.(swf)\s*$/i,fa,ka=1,Q,U,S=false,la=g.extend(g("<div/>")[0],{prop:0}),aa=0,xa=!g.support.opacity&&!window.XMLHttpRequest,ia=function(){r.hide();Z.onerror=Z.onload=null;c&&c.abort();i.empty()},ja=function(){g.fancybox('<p id="fancybox_error">The requested content cannot be loaded.<br />Please try again later.</p>',{scrolling:"no",padding:20,transitionIn:"none",transitionOut:"none"})},
pa=function(){if(navigator.userAgent.match(/iPhone/i)||navigator.userAgent.match(/iPod/i)||navigator.userAgent.match(/iPad/i)){var n,w;if(typeof window.innerWidth!="undefined"){n=window.innerWidth;w=window.innerHeight}else if(typeof document.documentElement!="undefined"&&typeof document.documentElement.clientWidth!="undefined"&&document.documentElement.clientWidth!=0){n=document.documentElement.clientWidth;w=document.documentElement.clientHeight}else{n=document.getElementsByTagName("body")[0].clientWidth;
w=document.getElementsByTagName("body")[0].clientHeight}return[n,w,g(document).scrollLeft(),g(document).scrollTop()]}else return[g(window).width(),g(window).height(),g(document).scrollLeft(),g(document).scrollTop()]},ya=function(){var n=pa(),w={},G=t.margin,X=t.autoScale,ba=(20+G)*2,ga=(20+G)*2,Y=t.padding*2;if(t.width.toString().indexOf("%")>-1){w.width=n[0]*parseFloat(t.width)/100-40;X=false}else w.width=t.width+Y;if(t.height.toString().indexOf("%")>-1){w.height=n[1]*parseFloat(t.height)/100-40;
X=false}else w.height=t.height+Y;if(X&&(w.width>n[0]-ba||w.height>n[1]-ga))if(x.type=="image"||x.type=="swf"){ba+=Y;ga+=Y;X=Math.min(Math.min(n[0]-ba,t.width)/t.width,Math.min(n[1]-ga,t.height)/t.height);w.width=Math.round(X*(w.width-Y))+Y;w.height=Math.round(X*(w.height-Y))+Y}else{w.width=Math.min(w.width,n[0]-ba);w.height=Math.min(w.height,n[1]-ga)}w.top=n[3]+(n[1]-(w.height+40))*0.5;w.left=n[2]+(n[0]-(w.width+40))*0.5;if(t.autoScale===false){w.top=Math.max(n[3]+G,w.top);w.left=Math.max(n[2]+G,
w.left)}return w},za=function(n){if(n&&n.length)switch(t.titlePosition){case "inside":return n;case "over":return'<span id="fancybox-title-over">'+n+"</span>";default:return'<span id="fancybox-title-wrap"><span id="fancybox-title-left"></span><span id="fancybox-title-main">'+n+'</span><span id="fancybox-title-right"></span></span>'}return false},qa=function(){var n=t.title,w=U.width-t.padding*2,G="fancybox-title-"+t.titlePosition;g("#fancybox-title").remove();aa=0;if(t.titleShow!==false){n=g.isFunction(t.titleFormat)?
t.titleFormat(n,M,W,t):za(n);if(!(!n||n==="")){g('<div id="fancybox-title" class="'+G+'" />').css({width:w,paddingLeft:t.padding,paddingRight:t.padding}).html(n).appendTo("body");switch(t.titlePosition){case "inside":aa=g("#fancybox-title").outerHeight(true)-t.padding;U.height+=aa;break;case "over":g("#fancybox-title").css("bottom",t.padding);break;default:g("#fancybox-title").css("bottom",g("#fancybox-title").outerHeight(true)*-1);break}g("#fancybox-title").appendTo(z).hide()}}},Ea=function(){g(document).unbind("keydown.fb").bind("keydown.fb",
function(n){if(n.keyCode==27&&t.enableEscapeButton){n.preventDefault();g.fancybox.close()}else if(n.keyCode==37){n.preventDefault();g.fancybox.prev()}else if(n.keyCode==39){n.preventDefault();g.fancybox.next()}});if(g.fn.mousewheel){o.unbind("mousewheel.fb");M.length>1&&o.bind("mousewheel.fb",function(n,w){n.preventDefault();S||w===0||(w>0?g.fancybox.prev():g.fancybox.next())})}if(t.showNavArrows){if(t.cyclic&&M.length>1||W!==0)T.show();if(t.cyclic&&M.length>1||W!=M.length-1)L.show()}},ha=function(){var n,
w;if(M.length-1>W){n=M[W+1].href;if(typeof n!=="undefined"&&n.match(oa)){w=new Image;w.src=n}}if(W>0){n=M[W-1].href;if(typeof n!=="undefined"&&n.match(oa)){w=new Image;w.src=n}}},Aa=function(){D.css("overflow",t.scrolling=="auto"?t.type=="image"||t.type=="iframe"||t.type=="swf"?"hidden":"auto":t.scrolling=="yes"?"auto":"visible");if(!g.support.opacity){D.get(0).style.removeAttribute("filter");o.get(0).style.removeAttribute("filter")}g("#fancybox-title").show();t.hideOnContentClick&&D.one("click",
g.fancybox.close);t.hideOnOverlayClick&&m.one("click",g.fancybox.close);t.showCloseButton&&P.show();Ea();g(window).bind("resize.fb",g.fancybox.center);t.centerOnScroll?g(window).bind("scroll.fb",g.fancybox.center):g(window).unbind("scroll.fb");g.isFunction(t.onComplete)&&t.onComplete(M,W,t);S=false;ha()},sa=function(n){var w=Math.round(Q.width+(U.width-Q.width)*n),G=Math.round(Q.height+(U.height-Q.height)*n),X=Math.round(Q.top+(U.top-Q.top)*n),ba=Math.round(Q.left+(U.left-Q.left)*n);o.css({width:w+
"px",height:G+"px",top:X+"px",left:ba+"px"});w=Math.max(w-t.padding*2,0);G=Math.max(G-(t.padding*2+aa*n),0);D.css({width:w+"px",height:G+"px"});if(typeof U.opacity!=="undefined")o.css("opacity",n<0.5?0.5:n)},Fa=function(n){var w=n.offset();w.top+=parseFloat(n.css("paddingTop"))||0;w.left+=parseFloat(n.css("paddingLeft"))||0;w.top+=parseFloat(n.css("border-top-width"))||0;w.left+=parseFloat(n.css("border-left-width"))||0;w.width=n.width();w.height=n.height();return w},ta=function(){var n=x.orig?g(x.orig):
false,w={};if(n&&n.length){n=Fa(n);w={width:n.width+t.padding*2,height:n.height+t.padding*2,top:n.top-t.padding-20,left:n.left-t.padding-20}}else{n=pa();w={width:1,height:1,top:n[3]+n[1]*0.5,left:n[2]+n[0]*0.5}}return w},Ba=function(){r.hide();if(o.is(":visible")&&g.isFunction(t.onCleanup))if(t.onCleanup(M,W,t)===false){g.event.trigger("fancybox-cancel");S=false;return}M=K;W=I;t=x;D.get(0).scrollTop=0;D.get(0).scrollLeft=0;if(t.overlayShow){xa&&g("select:not(#fancybox-tmp select)").filter(function(){return this.style.visibility!==
"hidden"}).css({visibility:"hidden"}).one("fancybox-cleanup",function(){this.style.visibility="inherit"});m.css({"background-color":t.overlayColor,opacity:t.overlayOpacity,width:g(document).width(),height:g(document).height()}).unbind().show()}U=ya();qa();if(o.is(":visible")){g(P.add(T).add(L)).hide();var n=o.position(),w;Q={top:n.top,left:n.left,width:o.width(),height:o.height()};w=Q.width==U.width&&Q.height==U.height;D.fadeOut(t.changeFade,function(){var G=function(){D.html(i.contents()).fadeIn(t.changeFade,
Aa)};g.event.trigger("fancybox-change");D.empty().css("overflow","hidden");if(w){D.css({top:t.padding,left:t.padding,width:Math.max(U.width-t.padding*2,1),height:Math.max(U.height-t.padding*2-aa,1)});G()}else{D.css({top:t.padding,left:t.padding,width:Math.max(Q.width-t.padding*2,1),height:Math.max(Q.height-t.padding*2,1)});la.prop=0;g(la).animate({prop:1},{duration:t.changeSpeed,easing:t.easingChange,step:sa,complete:G})}})}else{o.css("opacity",1);if(t.transitionIn=="elastic"){Q=ta();D.css({top:t.padding,
left:t.padding,width:Math.max(Q.width-t.padding*2,1),height:Math.max(Q.height-t.padding*2,1)}).html(i.contents());o.css(Q).show();if(t.opacity)U.opacity=0;la.prop=0;g(la).animate({prop:1},{duration:t.speedIn,easing:t.easingIn,step:sa,complete:Aa})}else{D.css({top:t.padding,left:t.padding,width:Math.max(U.width-t.padding*2,1),height:Math.max(U.height-t.padding*2-aa,1)}).html(i.contents());o.css(U).fadeIn(t.transitionIn=="none"?0:t.speedIn,Aa)}}},ua=function(){i.width(x.width);i.height(x.height);if(x.width==
"auto")x.width=i.width();if(x.height=="auto")x.height=i.height();Ba()},Ka=function(){S=true;x.width=Z.width;x.height=Z.height;g("<img />").attr({id:"fancybox-img",src:Z.src,alt:x.title}).appendTo(i);Ba()},ra=function(){ia();var n=K[I],w,G,X,ba,ga;x=g.extend({},g.fn.fancybox.defaults,typeof g(n).data("fancybox")=="undefined"?x:g(n).data("fancybox"));X=n.title||g(n).title||x.title||"";if(n.nodeName&&!x.orig)x.orig=g(n).children("img:first").length?g(n).children("img:first"):g(n);if(X===""&&x.orig)X=
x.orig.attr("title");w=n.nodeName&&/^(?:javascript|#)/i.test(n.href)?x.href||null:x.href||n.href||null;if(x.type){G=x.type;if(!w)w=x.content}else if(x.content)G="html";else if(w)if(w.match(oa))G="image";else if(w.match(B))G="swf";else if(g(n).hasClass("iframe"))G="iframe";else if(w.match(/#/)){n=w.substr(w.indexOf("#"));G=g(n).length>0?"inline":"ajax"}else G="ajax";else G="inline";x.type=G;x.href=w;x.title=X;if(x.autoDimensions&&x.type!=="iframe"&&x.type!=="swf"){x.width="auto";x.height="auto"}if(x.modal){x.overlayShow=
true;x.hideOnOverlayClick=false;x.hideOnContentClick=false;x.enableEscapeButton=false;x.showCloseButton=false}if(g.isFunction(x.onStart))if(x.onStart(K,I,x)===false){S=false;return}i.css("padding",20+x.padding+x.margin);g(".fancybox-inline-tmp").unbind("fancybox-cancel").bind("fancybox-change",function(){g(this).replaceWith(D.children())});switch(G){case "html":i.html(x.content);ua();break;case "inline":g('<div class="fancybox-inline-tmp" />').hide().insertBefore(g(n)).bind("fancybox-cleanup",function(){g(this).replaceWith(D.children())}).bind("fancybox-cancel",
function(){g(this).replaceWith(i.children())});g(n).appendTo(i);ua();break;case "image":S=false;g.fancybox.showActivity();Z=new Image;Z.onerror=function(){ja()};Z.onload=function(){Z.onerror=null;Z.onload=null;Ka()};Z.src=w;break;case "swf":ba='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+x.width+'" height="'+x.height+'"><param name="movie" value="'+w+'"></param>';ga="";g.each(x.swf,function(Y,Ca){ba+='<param name="'+Y+'" value="'+Ca+'"></param>';ga+=" "+Y+'="'+Ca+'"'});ba+=
'<embed src="'+w+'" type="application/x-shockwave-flash" width="'+x.width+'" height="'+x.height+'"'+ga+"></embed></object>";i.html(ba);ua();break;case "ajax":n=w.split("#",2);G=x.ajax.data||{};if(n.length>1){w=n[0];if(typeof G=="string")G+="&selector="+n[1];else G.selector=n[1]}S=false;g.fancybox.showActivity();c=g.ajax(g.extend(x.ajax,{url:w,data:G,error:ja,success:function(Y){if(c.status==200){i.html(Y);ua()}}}));break;case "iframe":g('<iframe id="fancybox-frame" name="fancybox-frame'+(new Date).getTime()+
'" frameborder="0" hspace="0" scrolling="'+x.scrolling+'" src="'+x.href+'"></iframe>').appendTo(i);Ba();break}},La=function(){if(r.is(":visible")){g("div",r).css("top",ka*-40+"px");ka=(ka+1)%12}else clearInterval(fa)},Ga=function(){if(!g("#fancybox-wrap").length){g("body").append(i=g('<div id="fancybox-tmp"></div>'),r=g('<div id="fancybox-loading"><div></div></div>'),m=g('<div id="fancybox-overlay"></div>'),o=g('<div id="fancybox-wrap"></div>'));if(!g.support.opacity){o.addClass("fancybox-ie");r.addClass("fancybox-ie")}z=
g('<div id="fancybox-outer"></div>').append('<div class="fancy-bg" id="fancy-bg-n"></div><div class="fancy-bg" id="fancy-bg-ne"></div><div class="fancy-bg" id="fancy-bg-e"></div><div class="fancy-bg" id="fancy-bg-se"></div><div class="fancy-bg" id="fancy-bg-s"></div><div class="fancy-bg" id="fancy-bg-sw"></div><div class="fancy-bg" id="fancy-bg-w"></div><div class="fancy-bg" id="fancy-bg-nw"></div>').appendTo(o);z.append(D=g('<div id="fancybox-inner"></div>'),P=g('<a id="fancybox-close"></a>'),T=
g('<a href="javascript:;" id="fancybox-left"><span class="fancy-ico" id="fancybox-left-ico"></span></a>'),L=g('<a href="javascript:;" id="fancybox-right"><span class="fancy-ico" id="fancybox-right-ico"></span></a>'));P.click(g.fancybox.close);r.click(g.fancybox.cancel);T.click(function(n){n.preventDefault();g.fancybox.prev()});L.click(function(n){n.preventDefault();g.fancybox.next()});if(xa){m.get(0).style.setExpression("height","document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px'");
r.get(0).style.setExpression("top","(-20 + (document.documentElement.clientHeight ? document.documentElement.clientHeight/2 : document.body.clientHeight/2 ) + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop )) + 'px'");z.prepend('<iframe id="fancybox-hide-sel-frame" src="javascript:\'\';" scrolling="no" frameborder="0" ></iframe>')}}};g.fn.fancybox=function(n){Ga();g(this).data("fancybox",g.extend({},n,g.metadata?g(this).metadata():{})).unbind("click.fb").bind("click.fb",
function(w){w.preventDefault();if(!S){S=true;g(this).blur();K=[];I=0;w=g(this).attr("rel")||"";if(!w||w==""||w==="nofollow")K.push(this);else{K=g("a[rel="+w+"], area[rel="+w+"]");I=K.index(this)}ra();return false}});return this};g.fancybox=function(n,w){if(!S){S=true;w=typeof w!=="undefined"?w:{};K=[];I=w.index||0;if(g.isArray(n)){for(var G=0,X=n.length;G<X;G++)if(typeof n[G]=="object")g(n[G]).data("fancybox",g.extend({},w,n[G]));else n[G]=g({}).data("fancybox",g.extend({content:n[G]},w));K=jQuery.merge(K,
n)}else{if(typeof n=="object")g(n).data("fancybox",g.extend({},w,n));else n=g({}).data("fancybox",g.extend({content:n},w));K.push(n)}if(I>K.length||I<0)I=0;ra()}};g.fancybox.showActivity=function(){clearInterval(fa);r.show();fa=setInterval(La,66)};g.fancybox.hideActivity=function(){r.hide()};g.fancybox.next=function(){return g.fancybox.pos(W+1)};g.fancybox.prev=function(){return g.fancybox.pos(W-1)};g.fancybox.pos=function(n){if(!S){n=parseInt(n,10);if(n>-1&&M.length>n){I=n;ra()}if(t.cyclic&&M.length>
1&&n<0){I=M.length-1;ra()}if(t.cyclic&&M.length>1&&n>=M.length){I=0;ra()}}};g.fancybox.cancel=function(){if(!S){S=true;g.event.trigger("fancybox-cancel");ia();x&&g.isFunction(x.onCancel)&&x.onCancel(K,I,x);S=false}};g.fancybox.close=function(){function n(){m.fadeOut("fast");o.hide();g.event.trigger("fancybox-cleanup");D.empty();g.isFunction(t.onClosed)&&t.onClosed(M,W,t);M=x=[];W=I=0;t=x={};S=false}if(!(S||o.is(":hidden"))){S=true;if(t&&g.isFunction(t.onCleanup))if(t.onCleanup(M,W,t)===false){S=false;
return}ia();g(P.add(T).add(L)).hide();g("#fancybox-title").remove();o.add(D).add(m).unbind();g(window).unbind("resize.fb scroll.fb");g(document).unbind("keydown.fb");D.css("overflow","hidden");if(t.transitionOut=="elastic"){Q=ta();var w=o.position();U={top:w.top,left:w.left,width:o.width(),height:o.height()};if(t.opacity)U.opacity=1;la.prop=1;g(la).animate({prop:0},{duration:t.speedOut,easing:t.easingOut,step:sa,complete:n})}else o.fadeOut(t.transitionOut=="none"?0:t.speedOut,n)}};g.fancybox.resize=
function(){var n,w;if(!(S||o.is(":hidden"))){S=true;n=D.wrapInner("<div style='overflow:auto'></div>").children();w=n.height();o.css({height:w+t.padding*2+aa});D.css({height:w});n.replaceWith(n.children());g.fancybox.center()}};g.fancybox.center=function(){S=true;var n=pa(),w=t.margin,G={};G.top=n[3]+(n[1]-(o.height()-aa+40))*0.5;G.left=n[2]+(n[0]-(o.width()+40))*0.5;G.top=Math.max(n[3]+w,G.top);G.left=Math.max(n[2]+w,G.left);o.css(G);S=false};g.fn.fancybox.defaults={padding:10,margin:20,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.3,overlayColor:"#666",titleShow:true,titlePosition:"outside",titleFormat:null,transitionIn:"fade",transitionOut:"fade",speedIn:300,speedOut:300,changeSpeed:300,changeFade:"fast",easingIn:"swing",easingOut:"swing",showCloseButton:true,showNavArrows:true,enableEscapeButton:true,
onStart:null,onCancel:null,onComplete:null,onCleanup:null,onClosed:null};g(document).ready(function(){})})(jQuery);
(function(g){g.fn.panorama=function(i){function r(m,o,z){currentPosition=0-parseInt(g(m).css("margin-left"));if(z.direction=="right")g(m).animate({marginLeft:0},z.speed/o*currentPosition,"linear",function(){if(z.mode_360){g(m).css("marginLeft","-"+(parseInt(parseInt(o))+"px"));r(m,o,z)}else if(z.loop_180){z.direction="left";r(m,o,z)}});else{var D;D=z.mode_360?o:o-z.viewport_width;g(m).animate({marginLeft:-D},z.speed/D*(D-currentPosition),"linear",function(){if(z.mode_360){g(m).css("margin-left",0);
r(m,o,z)}else if(z.loop_180){z.direction="right";r(m,o,z)}})}}this.each(function(){var m={viewport_width:600,speed:2E4,direction:"left",control_display:"auto",start_position:0,auto_start:true,mode_360:true,loop_180:true};i&&g.extend(m,i);var o=parseInt(g(this).attr("width")),z=parseInt(g(this).attr("height"));if(isNaN(o)||isNaN(z)){var D=new Image;D.src=g(this).attr("src");if(isNaN(o))o=D.width;if(isNaN(z))z=D.height}var P;g(this).css("position","relative").css("margin","0").css("padding","0").css("border",
"none").wrap("<div class='panorama-container'></div>");m.mode_360&&g(this).clone().insertAfter(this);P=g(this).parent();P.wrap("<div class='panorama-viewport'></div>").parent().css("width","100%").append("<div class='panorama-control'><a href='#' class='panorama-control-left'>&laquo;</a> <a href='#' class='panorama-control-pause'>&#124;&#124;</a> <a href='#' class='panorama-control-right'>&raquo;</a> </div>");D=P.parent();D.css("height",z+"px").find("a.panorama-control-left").bind("click",function(){g(P).stop();
m.direction="right";r(P,o,m);return false});D.bind("click",function(){g(P).stop()});D.find("a.panorama-control-right").bind("click",function(){g(P).stop();m.direction="left";r(P,o,m);return false});D.find("a.panorama-control-pause").bind("click",function(){g(P).stop();return false});m.control_display=="yes"?D.find(".panorama-control").show():D.bind("mouseover",function(){g(this).find(".panorama-control").show();return false}).bind("mouseout",function(){g(this).find(".panorama-control").hide();return false});
g(this).parent().css("margin-left","-"+m.start_position+"px");m.auto_start&&r(P,o,m)})}})(jQuery);(function(g){g.fn.clickitem=function(i){var r=g.extend({},g.fn.clickitem.defaults,i);return this.each(function(){$this=g(this);g.meta&&g.extend({},r,$this.data());var m=$this;m.find("a").size()>0&&jQuery($this).click(function(){window.location.href="/"+m.find("a").attr("href")})})}})(jQuery);
(function(g){g.jQTouch_swipetaponly=function(i){function r(I){P=g.extend({},{useFastTouch:true},I);g(document).ready(function(){D=g("body");D.bind("touchstart",z).bind("orientationchange",o).trigger("orientationchange")})}function m(){return T}function o(){T=window.innerWidth<window.innerHeight?"profile":"landscape";D.removeClass("profile landscape").addClass(T).trigger("turn",{orientation:T})}function z(I){function x(){W();var Q=Math.abs(B),U=Math.abs(fa);if(Q>U&&Q>35&&ka<1E3)t.trigger("swipe",{direction:B<
0?"left":"right"}).unbind("touchmove touchend");else U>1&&t.removeClass("active");clearTimeout(M)}function K(){W();fa===0&&B===0?t.trigger("tap"):t.removeClass("active");t.unbind("touchmove touchend");clearTimeout(M)}function W(){var Q=event.changedTouches[0]||null;B=Q.pageX-c;fa=Q.pageY-Z;ka=(new Date).getTime()-oa}var t=g(I.target);if(event){var M=null,c=event.changedTouches[0].clientX,Z=event.changedTouches[0].clientY,oa=(new Date).getTime(),B=0,fa=0,ka=0;t.bind("touchmove",x).bind("touchend",
K)}}g.support.WebKitCSSMatrix=typeof WebKitCSSMatrix=="object";g.support.touch=typeof Touch=="object";g.support.WebKitAnimationEvent=typeof WebKitTransitionEvent=="object";var D;g("head");var P={},T;RegExp(" Mobile/").test(navigator.userAgent);var L={};r(i);g.fn.swipe=function(I){if(g.isFunction(I))return this.each(function(x,K){g(K).bind("swipe",I)})};g.fn.tap=function(I){if(g.isFunction(I)){var x=P.useFastTouch&&g.support.touch?"tap":"click";return g(this).live(x,I)}else g(this).trigger("tap")};
return L={getOrientation:m}}})(jQuery);jQuery.jQTouch_swipetaponly();
jQuery(document).ready(function(){debug("JavaScript executed.");jQuery("body").addClass("js");jQuery.browser.msie&&parseInt(jQuery.browser.version.substr(0,1));var g=jQuery.browser.msie&&parseInt(jQuery.browser.version.substr(0,1))<=7;jQuery("a[rel]").size()>0&&jQuery("a[rel]").fancybox({transitionIn:"elastic",transitionOut:"elastic",showNavArrows:true,onStart:addSwipeToFancybox,centerOnScroll:true});jQuery("#feEditAdvanced-container").size()>0&&jQuery("body").css("padding-top","40px");if(jQuery("#coda-slider-1").size()>
0){jQuery("#coda-slider-1").codaSlider({autoHeight:true,autoHeightEaseDuration:1E3,autoHeightEaseFunction:"easeInOutExpo",autoSlide:!jQuery("body").hasClass("mobile"),autoSlideInterval:4E3,autoSlideStopWhenClicked:true,crossLinking:true,dynamicArrows:true,dynamicArrowLeftText:"",dynamicArrowRightText:"",dynamicTabs:true,dynamicTabsAlign:"right",dynamicTabsPosition:"bottom",externalTriggerSelector:"a.xtrig",firstPanelToLoad:1,panelTitleSelector:"",slideEaseDuration:700,slideEaseFunction:"easeInOutExpo"});
addSwipeToCodaSlider()}!g&&!jQuery("body").hasClass("mobile")&&jQuery("img.panorama").panorama({speed:18E4,direction:"left",control_display:"no"});jQuery(".infobox").clickitem();jQuery(".news-latest-item").clickitem();jQuery(".news-list-item").clickitem();jQuery(".sliderelement .panel").tap(function(){window.location.href="/"+jQuery(this).find("a").attr("href")});addSwipeToNewsSingleItem();$("#mailform input:text").focus(function(){if(!jQuery(this).hasClass("alreadyemtied")){jQuery(this).attr("value",
"");jQuery(this).addClass("alreadyemtied")}});jQuery(".historischesbild_querformat_280").clickitem();jQuery(".historischesbild_querformat_440").clickitem();jQuery(".typo3-editPanel-controls").each(function(){jQuery(this).find("a").eq(0).css("display","block");jQuery(this).find("a").eq(4).css("display","block")})});
function addSwipeToFancybox(){jQuery("#fancybox-wrap").swipe(function(g,i){switch(i.direction){case "right":jQuery("#fancybox-left").trigger("click");break;case "left":jQuery("#fancybox-right").trigger("click");break;default:}})}function addSwipeToCodaSlider(){jQuery(".coda-slider").swipe(function(g,i){switch(i.direction){case "right":jQuery(".coda-nav-left a").trigger("click");break;case "left":jQuery(".coda-nav-right a").trigger("click");break;default:}})}
function addSwipeToNewsSingleItem(){jQuery(".news-single-item").size()>0&&jQuery(".news-single-item").swipe(function(g,i){switch(i.direction){case "right":if(jQuery(".news-single-item .nextprevnav .prev a").size()>0)window.location.href="/"+jQuery(".news-single-item .nextprevnav .prev a").attr("href");break;case "left":if(jQuery(".news-single-item .nextprevnav .next a").size()>0)window.location.href="/"+jQuery(".news-single-item .nextprevnav .next a").attr("href");break;default:}})}
jQuery.event.special.click={setup:function(){jQuery(this).css("cursor","pointer");return false},teardown:function(){jQuery(this).css("cursor","");return false}};function debug(g){var i=window;i.console&&i.console.log&&i.console.log(g)};