/**
 * packed version of jquery.src.js
 * contains plugins and 3rd party scripts, for detailed information on those and their licenses, have a look at jquery.src.js
 */
(function(e,h){function k(a,b,d){if(d===h&&a.nodeType===1)if(d=a.getAttribute("data-"+b),typeof d==="string"){try{d=d==="true"?true:d==="false"?false:d==="null"?null:!c.isNaN(d)?parseFloat(d):P.test(d)?c.parseJSON(d):d}catch(f){}c.data(a,b,d)}else d=h;return d}function o(){return false}function p(){return true}function g(a,b,d){d[0].type=a;return c.event.handle.apply(b,d)}function t(a){var b,d,f,j,m,u,l,e,h,g,k,o=[];j=[];m=c.data(this,this.nodeType?"events":"__events__");if(typeof m==="function")m=
m.events;if(!(a.liveFired===this||!m||!m.live||a.button&&a.type==="click")){a.namespace&&(k=RegExp("(^|\\.)"+a.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)"));a.liveFired=this;var n=m.live.slice(0);for(l=0;l<n.length;l++)m=n[l],m.origType.replace(D,"")===a.type?j.push(m.selector):n.splice(l--,1);j=c(a.target).closest(j,a.currentTarget);for(e=0,h=j.length;e<h;e++){g=j[e];for(l=0;l<n.length;l++)if(m=n[l],g.selector===m.selector&&(!k||k.test(m.namespace))){u=g.elem;f=null;if(m.preType==="mouseenter"||
m.preType==="mouseleave")a.type=m.preType,f=c(a.relatedTarget).closest(m.selector)[0];(!f||f!==u)&&o.push({elem:u,handleObj:m,level:g.level})}}for(e=0,h=o.length;e<h;e++){j=o[e];if(d&&j.level>d)break;a.currentTarget=j.elem;a.data=j.handleObj.data;a.handleObj=j.handleObj;k=j.handleObj.origHandler.apply(j.elem,arguments);if(k===false||a.isPropagationStopped())if(d=j.level,k===false&&(b=false),a.isImmediatePropagationStopped())break}return b}}function v(a,b){return(a&&a!=="*"?a+".":"")+b.replace(I,"`").replace(xa,
"&")}function A(a,b,d){if(c.isFunction(b))return c.grep(a,function(a,c){return!!b.call(a,c,a)===d});else if(b.nodeType)return c.grep(a,function(a){return a===b===d});else if(typeof b==="string"){var f=c.grep(a,function(a){return a.nodeType===1});if(ya.test(b))return c.filter(b,f,!d);else b=c.filter(b,f)}return c.grep(a,function(a){return c.inArray(a,b)>=0===d})}function y(a,b){var d=0;b.each(function(){if(this.nodeName===(a[d]&&a[d].nodeName)){var b=c.data(a[d++]),j=c.data(this,b);if(b=b&&b.events){delete j.handle;
j.events={};for(var m in b)for(var e in b[m])c.event.add(this,m,b[m][e],b[m][e].data)}}})}function q(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 r(a,b,d){var f=b==="width"?a.offsetWidth:a.offsetHeight;if(d==="border")return f;c.each(b==="width"?za:Aa,function(){d||(f-=parseFloat(c.css(a,"padding"+this))||0);d==="margin"?f+=parseFloat(c.css(a,"margin"+this))||0:f-=parseFloat(c.css(a,
"border"+this+"Width"))||0});return f}function B(a,b,d,f){c.isArray(b)&&b.length?c.each(b,function(b,m){d||Ba.test(a)?f(a,m):B(a+"["+(typeof m==="object"||c.isArray(m)?b:"")+"]",m,d,f)}):!d&&b!=null&&typeof b==="object"?c.isEmptyObject(b)?f(a,""):c.each(b,function(b,c){B(a+"["+b+"]",c,d,f)}):f(a,b)}function M(a,b){var d={};c.each(da.concat.apply([],da.slice(0,b)),function(){d[this]=a});return d}function ea(a){if(!Z[a]){var b=c("<"+a+">").appendTo("body"),d=b.css("display");b.remove();if(d==="none"||
d==="")d="block";Z[a]=d}return Z[a]}function aa(a){return c.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:false}var n=e.document,c=function(){function a(){if(!b.isReady){try{n.documentElement.doScroll("left")}catch(c){setTimeout(a,1);return}b.ready()}}var b=function(a,c){return new b.fn.init(a,c)},c=e.jQuery,f=e.$,j,m=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]+)$)/,u=/\S/,l=/^\s+/,g=/\s+$/,k=/\W/,o=/\d/,q=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,p=/^[\],:{}\s]*$/,t=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,
s=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,r=/(?:^|:|,)(?:\s*\[)+/g,v=/(webkit)[ \/]([\w.]+)/,w=/(opera)(?:.*version)?[ \/]([\w.]+)/,F=/(msie) ([\w.]+)/,Ca=/(mozilla)(?:.*? rv:([\w.]+))?/,Q=navigator.userAgent,fa=false,R=[],N,Da=Object.prototype.toString,B=Object.prototype.hasOwnProperty,y=Array.prototype.push,x=Array.prototype.slice,A=String.prototype.trim,ga=Array.prototype.indexOf,z={};b.fn=b.prototype={init:function(a,c){var d,f,w;if(!a)return this;if(a.nodeType)return this.context=
this[0]=a,this.length=1,this;if(a==="body"&&!c&&n.body)return this.context=n,this[0]=n.body,this.selector="body",this.length=1,this;if(typeof a==="string")if((d=m.exec(a))&&(d[1]||!c))if(d[1])return w=c?c.ownerDocument||c:n,(f=q.exec(a))?b.isPlainObject(c)?(a=[n.createElement(f[1])],b.fn.attr.call(a,c,true)):a=[w.createElement(f[1])]:(f=b.buildFragment([d[1]],[w]),a=(f.cacheable?f.fragment.cloneNode(true):f.fragment).childNodes),b.merge(this,a);else{if((f=n.getElementById(d[2]))&&f.parentNode){if(f.id!==
d[2])return j.find(a);this.length=1;this[0]=f}this.context=n;this.selector=a;return this}else return!c&&!k.test(a)?(this.selector=a,this.context=n,a=n.getElementsByTagName(a),b.merge(this,a)):!c||c.jquery?(c||j).find(a):b(c).find(a);else if(b.isFunction(a))return j.ready(a);if(a.selector!==h)this.selector=a.selector,this.context=a.context;return b.makeArray(a,this)},selector:"",jquery:"1.4.4",length:0,size:function(){return this.length},toArray:function(){return x.call(this,0)},get:function(a){return a==
null?this.toArray():a<0?this.slice(a)[0]:this[a]},pushStack:function(a,c,d){var f=b();b.isArray(a)?y.apply(f,a):b.merge(f,a);f.prevObject=this;f.context=this.context;if(c==="find")f.selector=this.selector+(this.selector?" ":"")+d;else if(c)f.selector=this.selector+"."+c+"("+d+")";return f},each:function(a,c){return b.each(this,a,c)},ready:function(a){b.bindReady();b.isReady?a.call(n,b):R&&R.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(x.apply(this,arguments),"slice",x.call(arguments).join(","))},map:function(a){return this.pushStack(b.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||b(null)},push:y,sort:[].sort,splice:[].splice};b.fn.init.prototype=b.fn;b.extend=b.fn.extend=function(){var a,c,d,f,j,w=arguments[0]||{},m=1,F=arguments.length,e=false;typeof w==="boolean"&&(e=w,w=arguments[1]||{},m=2);typeof w!=="object"&&
!b.isFunction(w)&&(w={});F===m&&(w=this,--m);for(;m<F;m++)if((a=arguments[m])!=null)for(c in a)d=w[c],f=a[c],w!==f&&(e&&f&&(b.isPlainObject(f)||(j=b.isArray(f)))?(j?(j=false,d=d&&b.isArray(d)?d:[]):d=d&&b.isPlainObject(d)?d:{},w[c]=b.extend(e,d,f)):f!==h&&(w[c]=f));return w};b.extend({noConflict:function(a){e.$=f;if(a)e.jQuery=c;return b},isReady:false,readyWait:1,ready:function(a){a===true&&b.readyWait--;if(!b.readyWait||a!==true&&!b.isReady){if(!n.body)return setTimeout(b.ready,1);b.isReady=true;
if(!(a!==true&&--b.readyWait>0)&&R){var c=0,d=R;for(R=null;a=d[c++];)a.call(n,b);b.fn.trigger&&b(n).trigger("ready").unbind("ready")}}},bindReady:function(){if(!fa){fa=true;if(n.readyState==="complete")return setTimeout(b.ready,1);if(n.addEventListener)n.addEventListener("DOMContentLoaded",N,false),e.addEventListener("load",b.ready,false);else if(n.attachEvent){n.attachEvent("onreadystatechange",N);e.attachEvent("onload",b.ready);var c=false;try{c=e.frameElement==null}catch(d){}n.documentElement.doScroll&&
c&&a()}}},isFunction:function(a){return b.type(a)==="function"},isArray:Array.isArray||function(a){return b.type(a)==="array"},isWindow:function(a){return a&&typeof a==="object"&&"setInterval"in a},isNaN:function(a){return a==null||!o.test(a)||isNaN(a)},type:function(a){return a==null?String(a):z[Da.call(a)]||"object"},isPlainObject:function(a){if(!a||b.type(a)!=="object"||a.nodeType||b.isWindow(a))return false;if(a.constructor&&!B.call(a,"constructor")&&!B.call(a.constructor.prototype,"isPrototypeOf"))return false;
for(var c in a);return c===h||B.call(a,c)},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=b.trim(a);if(p.test(a.replace(t,"@").replace(s,"]").replace(r,"")))return e.JSON&&e.JSON.parse?e.JSON.parse(a):(new Function("return "+a))();else b.error("Invalid JSON: "+a)},noop:function(){},globalEval:function(a){if(a&&u.test(a)){var c=n.getElementsByTagName("head")[0]||n.documentElement,d=n.createElement("script");
d.type="text/javascript";b.support.scriptEval?d.appendChild(n.createTextNode(a)):d.text=a;c.insertBefore(d,c.firstChild);c.removeChild(d)}},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,d){var f,w=0,j=a.length,m=j===h||b.isFunction(a);if(d)if(m)for(f in a){if(c.apply(a[f],d)===false)break}else for(;w<j;){if(c.apply(a[w++],d)===false)break}else if(m)for(f in a){if(c.call(a[f],f,a[f])===false)break}else for(d=a[0];w<j&&c.call(d,w,d)!==false;d=
a[++w]);return a},trim:A?function(a){return a==null?"":A.call(a)}:function(a){return a==null?"":a.toString().replace(l,"").replace(g,"")},makeArray:function(a,c){var d=c||[];if(a!=null){var f=b.type(a);a.length==null||f==="string"||f==="function"||f==="regexp"||b.isWindow(a)?y.call(d,a):b.merge(d,a)}return d},inArray:function(a,b){if(b.indexOf)return b.indexOf(a);for(var c=0,d=b.length;c<d;c++)if(b[c]===a)return c;return-1},merge:function(a,b){var c=a.length,d=0;if(typeof b.length==="number")for(var f=
b.length;d<f;d++)a[c++]=b[d];else for(;b[d]!==h;)a[c++]=b[d++];a.length=c;return a},grep:function(a,b,c){for(var d=[],f,c=!!c,w=0,j=a.length;w<j;w++)f=!!b(a[w],w),c!==f&&d.push(a[w]);return d},map:function(a,b,c){for(var d=[],f,w=0,j=a.length;w<j;w++)f=b(a[w],w,c),f!=null&&(d[d.length]=f);return d.concat.apply([],d)},guid:1,proxy:function(a,c,d){arguments.length===2&&(typeof c==="string"?(d=a,a=d[c],c=h):c&&!b.isFunction(c)&&(d=c,c=h));!c&&a&&(c=function(){return a.apply(d||this,arguments)});if(a)c.guid=
a.guid=a.guid||c.guid||b.guid++;return c},access:function(a,c,d,f,w,j){var m=a.length;if(typeof c==="object"){for(var F in c)b.access(a,F,c[F],f,w,d);return a}if(d!==h){f=!j&&f&&b.isFunction(d);for(F=0;F<m;F++)w(a[F],c,f?d.call(a[F],F,w(a[F],c)):d,j);return a}return m?w(a[0],c):h},now:function(){return(new Date).getTime()},uaMatch:function(a){a=a.toLowerCase();a=v.exec(a)||w.exec(a)||F.exec(a)||a.indexOf("compatible")<0&&Ca.exec(a)||[];return{browser:a[1]||"",version:a[2]||"0"}},browser:{}});b.each("Boolean Number String Function Array Date RegExp Object".split(" "),
function(a,b){z["[object "+b+"]"]=b.toLowerCase()});Q=b.uaMatch(Q);if(Q.browser)b.browser[Q.browser]=true,b.browser.version=Q.version;if(b.browser.webkit)b.browser.safari=true;if(ga)b.inArray=function(a,b){return ga.call(b,a)};/\s/.test("\u00a0")||(l=/^[\s\xA0]+/,g=/[\s\xA0]+$/);j=b(n);n.addEventListener?N=function(){n.removeEventListener("DOMContentLoaded",N,false);b.ready()}:n.attachEvent&&(N=function(){n.readyState==="complete"&&(n.detachEvent("onreadystatechange",N),b.ready())});return e.jQuery=
e.$=b}();(function(){c.support={};var a=n.documentElement,b=n.createElement("script"),d=n.createElement("div"),f="script"+c.now();d.style.display="none";d.innerHTML="   <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";var j=d.getElementsByTagName("*"),m=d.getElementsByTagName("a")[0],u=n.createElement("select"),l=u.appendChild(n.createElement("option"));if(j&&j.length&&m){c.support={leadingWhitespace:d.firstChild.nodeType===3,tbody:!d.getElementsByTagName("tbody").length,
htmlSerialize:!!d.getElementsByTagName("link").length,style:/red/.test(m.getAttribute("style")),hrefNormalized:m.getAttribute("href")==="/a",opacity:/^0.55$/.test(m.style.opacity),cssFloat:!!m.style.cssFloat,checkOn:d.getElementsByTagName("input")[0].value==="on",optSelected:l.selected,deleteExpando:true,optDisabled:false,checkClone:false,scriptEval:false,noCloneEvent:true,boxModel:null,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableHiddenOffsets:true};u.disabled=true;c.support.optDisabled=
!l.disabled;b.type="text/javascript";try{b.appendChild(n.createTextNode("window."+f+"=1;"))}catch(h){}a.insertBefore(b,a.firstChild);if(e[f])c.support.scriptEval=true,delete e[f];try{delete b.test}catch(g){c.support.deleteExpando=false}a.removeChild(b);d.attachEvent&&d.fireEvent&&(d.attachEvent("onclick",function wa(){c.support.noCloneEvent=false;d.detachEvent("onclick",wa)}),d.cloneNode(true).fireEvent("onclick"));d=n.createElement("div");d.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";
a=n.createDocumentFragment();a.appendChild(d.firstChild);c.support.checkClone=a.cloneNode(true).cloneNode(true).lastChild.checked;c(function(){var a=n.createElement("div");a.style.width=a.style.paddingLeft="1px";n.body.appendChild(a);c.boxModel=c.support.boxModel=a.offsetWidth===2;if("zoom"in a.style)a.style.display="inline",a.style.zoom=1,c.support.inlineBlockNeedsLayout=a.offsetWidth===2,a.style.display="",a.innerHTML="<div style='width:4px;'></div>",c.support.shrinkWrapBlocks=a.offsetWidth!==2;
a.innerHTML="<table><tr><td style='padding:0;display:none'></td><td>t</td></tr></table>";var b=a.getElementsByTagName("td");c.support.reliableHiddenOffsets=b[0].offsetHeight===0;b[0].style.display="";b[1].style.display="none";c.support.reliableHiddenOffsets=c.support.reliableHiddenOffsets&&b[0].offsetHeight===0;a.innerHTML="";n.body.removeChild(a).style.display="none"});a=function(a){var b=n.createElement("div"),a="on"+a,c=a in b;c||(b.setAttribute(a,"return;"),c=typeof b[a]==="function");return c};
c.support.submitBubbles=a("submit");c.support.changeBubbles=a("change");a=b=d=j=m=null}})();var x={},P=/^(?:\{.*\}|\[.*\])$/;c.extend({cache:{},uuid:0,expando:"jQuery"+c.now(),noData:{embed:true,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:true},data:function(a,b,d){if(c.acceptData(a)){var a=a==e?x:a,f=a.nodeType,j=f?a[c.expando]:null,m=c.cache;if(!f||j||!(typeof b==="string"&&d===h))return f?j||(a[c.expando]=j=++c.uuid):m=a,typeof b==="object"?f?m[j]=c.extend(m[j],b):c.extend(m,b):
f&&!m[j]&&(m[j]={}),a=f?m[j]:m,d!==h&&(a[b]=d),typeof b==="string"?a[b]:a}},removeData:function(a,b){if(c.acceptData(a)){var a=a==e?x:a,d=a.nodeType,f=d?a[c.expando]:a,j=c.cache,m=d?j[f]:f;if(b)m&&(delete m[b],d&&c.isEmptyObject(m)&&c.removeData(a));else if(d&&c.support.deleteExpando)delete a[c.expando];else if(a.removeAttribute)a.removeAttribute(c.expando);else if(d)delete j[f];else for(var u in a)delete a[u]}},acceptData:function(a){if(a.nodeName){var b=c.noData[a.nodeName.toLowerCase()];if(b)return!(b===
true||a.getAttribute("classid")!==b)}return true}});c.fn.extend({data:function(a,b){var d=null;if(typeof a==="undefined"){if(this.length)for(var f=this[0].attributes,j,d=c.data(this[0]),m=0,e=f.length;m<e;m++)j=f[m].name,j.indexOf("data-")===0&&(j=j.substr(5),k(this[0],j,d[j]));return d}else if(typeof a==="object")return this.each(function(){c.data(this,a)});var l=a.split(".");l[1]=l[1]?"."+l[1]:"";return b===h?(d=this.triggerHandler("getData"+l[1]+"!",[l[0]]),d===h&&this.length&&(d=c.data(this[0],
a),d=k(this[0],a,d)),d===h&&l[1]?this.data(l[0]):d):this.each(function(){var d=c(this),f=[l[0],b];d.triggerHandler("setData"+l[1]+"!",f);c.data(this,a,b);d.triggerHandler("changeData"+l[1]+"!",f)})},removeData:function(a){return this.each(function(){c.removeData(this,a)})}});c.extend({queue:function(a,b,d){if(a){var b=(b||"fx")+"queue",f=c.data(a,b);if(!d)return f||[];!f||c.isArray(d)?f=c.data(a,b,c.makeArray(d)):f.push(d);return f}},dequeue:function(a,b){var b=b||"fx",d=c.queue(a,b),f=d.shift();
f==="inprogress"&&(f=d.shift());f&&(b==="fx"&&d.unshift("inprogress"),f.call(a,function(){c.dequeue(a,b)}))}});c.fn.extend({queue:function(a,b){typeof a!=="string"&&(b=a,a="fx");return b===h?c.queue(this[0],a):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 E=/[\n\t]/g,C=/\s+/,J=/\r/g,ba=/^(?:href|src|style)$/,U=/^(?:button|input)$/i,K=/^(?:button|input|object|select|textarea)$/i,H=/^a(?:rea)?$/i,z=/^(?:radio|checkbox)$/i;c.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};c.fn.extend({attr:function(a,b){return c.access(this,
a,b,true,c.attr)},removeAttr:function(a){return this.each(function(){c.attr(this,a,"");this.nodeType===1&&this.removeAttribute(a)})},addClass:function(a){if(c.isFunction(a))return this.each(function(b){var d=c(this);d.addClass(a.call(this,b,d.attr("class")))});if(a&&typeof a==="string")for(var b=(a||"").split(C),d=0,f=this.length;d<f;d++){var j=this[d];if(j.nodeType===1)if(j.className){for(var m=" "+j.className+" ",e=j.className,l=0,h=b.length;l<h;l++)m.indexOf(" "+b[l]+" ")<0&&(e+=" "+b[l]);j.className=
c.trim(e)}else j.className=a}return this},removeClass:function(a){if(c.isFunction(a))return this.each(function(b){var d=c(this);d.removeClass(a.call(this,b,d.attr("class")))});if(a&&typeof a==="string"||a===h)for(var b=(a||"").split(C),d=0,f=this.length;d<f;d++){var j=this[d];if(j.nodeType===1&&j.className)if(a){for(var m=(" "+j.className+" ").replace(E," "),e=0,l=b.length;e<l;e++)m=m.replace(" "+b[e]+" "," ");j.className=c.trim(m)}else j.className=""}return this},toggleClass:function(a,b){var d=
typeof a,f=typeof b==="boolean";return c.isFunction(a)?this.each(function(d){var f=c(this);f.toggleClass(a.call(this,d,f.attr("class"),b),b)}):this.each(function(){if(d==="string")for(var j,m=0,e=c(this),l=b,h=a.split(C);j=h[m++];)l=f?l:!e.hasClass(j),e[l?"addClass":"removeClass"](j);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){for(var a=" "+a+
" ",b=0,c=this.length;b<c;b++)if((" "+this[b].className+" ").replace(E," ").indexOf(a)>-1)return true;return false},val:function(a){if(!arguments.length){var b=this[0];if(b){if(c.nodeName(b,"option")){var d=b.attributes.value;return!d||d.specified?b.value:b.text}if(c.nodeName(b,"select")){var f=b.selectedIndex,d=[],j=b.options,b=b.type==="select-one";if(f<0)return null;for(var m=b?f:0,f=b?f+1:j.length;m<f;m++){var e=j[m];if(e.selected&&(c.support.optDisabled?!e.disabled:e.getAttribute("disabled")===
null)&&(!e.parentNode.disabled||!c.nodeName(e.parentNode,"optgroup"))){a=c(e).val();if(b)return a;d.push(a)}}return d}return z.test(b.type)&&!c.support.checkOn?b.getAttribute("value")===null?"on":b.value:(b.value||"").replace(J,"")}return h}var l=c.isFunction(a);return this.each(function(b){var d=c(this),f=a;if(this.nodeType===1)if(l&&(f=a.call(this,b,d.val())),f==null?f="":typeof f==="number"?f+="":c.isArray(f)&&(f=c.map(f,function(a){return a==null?"":a+""})),c.isArray(f)&&z.test(this.type))this.checked=
c.inArray(d.val(),f)>=0;else if(c.nodeName(this,"select")){var j=c.makeArray(f);c("option",this).each(function(){this.selected=c.inArray(c(this).val(),j)>=0});if(!j.length)this.selectedIndex=-1}else this.value=f})}});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 h;if(f&&b in c.attrFn)return c(a)[b](d);var f=a.nodeType!==1||!c.isXMLDoc(a),j=d!==h,b=f&&c.props[b]||b,m=ba.test(b);
if((b in a||a[b]!==h)&&f&&!m){j&&(b==="type"&&U.test(a.nodeName)&&a.parentNode&&c.error("type property can't be changed"),d===null?a.nodeType===1&&a.removeAttribute(b):a[b]=d);if(c.nodeName(a,"form")&&a.getAttributeNode(b))return a.getAttributeNode(b).nodeValue;return b==="tabIndex"?(b=a.getAttributeNode("tabIndex"))&&b.specified?b.value:K.test(a.nodeName)||H.test(a.nodeName)&&a.href?0:h:a[b]}if(!c.support.style&&f&&b==="style"){if(j)a.style.cssText=""+d;return a.style.cssText}j&&a.setAttribute(b,
""+d);if(!a.attributes[b]&&a.hasAttribute&&!a.hasAttribute(b))return h;a=!c.support.hrefNormalized&&f&&m?a.getAttribute(b,2):a.getAttribute(b);return a===null?h:a}});var D=/\.(.*)$/,L=/^(?:textarea|input|select)$/i,I=/\./g,xa=/ /g,Ea=/[^\w\s.|`]/g,Fa=function(a){return a.replace(Ea,"\\$&")},ha={focusin:0,focusout:0};c.event={add:function(a,b,d,f){if(!(a.nodeType===3||a.nodeType===8)){c.isWindow(a)&&a!==e&&!a.frameElement&&(a=e);if(d===false)d=o;else if(!d)return;var j,m;if(d.handler)j=d,d=j.handler;
if(!d.guid)d.guid=c.guid++;if(m=c.data(a)){var u=a.nodeType?"events":"__events__",l=m[u],g=m.handle;if(typeof l==="function")g=l.handle,l=l.events;else if(!l)a.nodeType||(m[u]=m=function(){}),m.events=l={};if(!g)m.handle=g=function(){return typeof c!=="undefined"&&!c.event.triggered?c.event.handle.apply(g.elem,arguments):h};g.elem=a;for(var b=b.split(" "),k=0,n;u=b[k++];){m=j?c.extend({},j):{handler:d,data:f};u.indexOf(".")>-1?(n=u.split("."),u=n.shift(),m.namespace=n.slice(0).sort().join(".")):(n=
[],m.namespace="");m.type=u;if(!m.guid)m.guid=d.guid;var q=l[u],p=c.event.special[u]||{};if(!q&&(q=l[u]=[],!p.setup||p.setup.call(a,f,n,g)===false))a.addEventListener?a.addEventListener(u,g,false):a.attachEvent&&a.attachEvent("on"+u,g);if(p.add&&(p.add.call(a,m),!m.handler.guid))m.handler.guid=d.guid;q.push(m);c.event.global[u]=true}a=null}}},global:{},remove:function(a,b,d,f){if(!(a.nodeType===3||a.nodeType===8)){d===false&&(d=o);var j,m,e=0,l,h,g,k,n,q,p=a.nodeType?"events":"__events__",s=c.data(a),
t=s&&s[p];if(s&&t){if(typeof t==="function")s=t,t=t.events;if(b&&b.type)d=b.handler,b=b.type;if(!b||typeof b==="string"&&b.charAt(0)===".")for(j in b=b||"",t)c.event.remove(a,j+b);else{for(b=b.split(" ");j=b[e++];)if(k=j,l=j.indexOf(".")<0,h=[],l||(h=j.split("."),j=h.shift(),g=RegExp("(^|\\.)"+c.map(h.slice(0).sort(),Fa).join("\\.(?:.*\\.)?")+"(\\.|$)")),n=t[j])if(d){k=c.event.special[j]||{};for(m=f||0;m<n.length;m++)if(q=n[m],d.guid===q.guid){if(l||g.test(q.namespace))f==null&&n.splice(m--,1),k.remove&&
k.remove.call(a,q);if(f!=null)break}if(n.length===0||f!=null&&n.length===1)(!k.teardown||k.teardown.call(a,h)===false)&&c.removeEvent(a,j,s.handle),delete t[j]}else for(m=0;m<n.length;m++)if(q=n[m],l||g.test(q.namespace))c.event.remove(a,k,q.handler,m),n.splice(m--,1);if(c.isEmptyObject(t)){if(b=s.handle)b.elem=null;delete s.events;delete s.handle;typeof s==="function"?c.removeData(a,p):c.isEmptyObject(s)&&c.removeData(a)}}}}},trigger:function(a,b,d,f){var j=a.type||a;if(!f){a=typeof a==="object"?
a[c.expando]?a:c.extend(c.Event(j),a):c.Event(j);if(j.indexOf("!")>=0)a.type=j=j.slice(0,-1),a.exclusive=true;d||(a.stopPropagation(),c.event.global[j]&&c.each(c.cache,function(){this.events&&this.events[j]&&c.event.trigger(a,b,this.handle.elem)}));if(!d||d.nodeType===3||d.nodeType===8)return h;a.result=h;a.target=d;b=c.makeArray(b);b.unshift(a)}a.currentTarget=d;(f=d.nodeType?c.data(d,"handle"):(c.data(d,"__events__")||{}).handle)&&f.apply(d,b);f=d.parentNode||d.ownerDocument;try{if((!d||!d.nodeName||
!c.noData[d.nodeName.toLowerCase()])&&d["on"+j]&&d["on"+j].apply(d,b)===false)a.result=false,a.preventDefault()}catch(m){}if(!a.isPropagationStopped()&&f)c.event.trigger(a,b,f,true);else if(!a.isDefaultPrevented()){var e,f=a.target,l=j.replace(D,""),g=c.nodeName(f,"a")&&l==="click",n=c.event.special[l]||{};if((!n._default||n._default.call(d,a)===false)&&!g&&(!f||!f.nodeName||!c.noData[f.nodeName.toLowerCase()])){try{if(f[l])(e=f["on"+l])&&(f["on"+l]=null),c.event.triggered=true,f[l]()}catch(k){}e&&
(f["on"+l]=e);c.event.triggered=false}}},handle:function(a){var b,d,f,j;d=[];var m=c.makeArray(arguments),a=m[0]=c.event.fix(a||e.event);a.currentTarget=this;b=a.type.indexOf(".")<0&&!a.exclusive;if(!b)f=a.type.split("."),a.type=f.shift(),d=f.slice(0).sort(),f=RegExp("(^|\\.)"+d.join("\\.(?:.*\\.)?")+"(\\.|$)");a.namespace=a.namespace||d.join(".");j=c.data(this,this.nodeType?"events":"__events__");if(typeof j==="function")j=j.events;d=(j||{})[a.type];if(j&&d){d=d.slice(0);j=0;for(var u=d.length;j<
u;j++){var l=d[j];if(b||f.test(l.namespace)){a.handler=l.handler;a.data=l.data;a.handleObj=l;l=l.handler.apply(this,m);if(l!==h)a.result=l,l===false&&(a.preventDefault(),a.stopPropagation());if(a.isImmediatePropagationStopped())break}}}return a.result},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),
fix:function(a){if(a[c.expando])return a;for(var b=a,a=c.Event(b),d=this.props.length,f;d;)f=this.props[--d],a[f]=b[f];if(!a.target)a.target=a.srcElement||n;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=n.documentElement,d=n.body,a.pageX=a.clientX+(b&&b.scrollLeft||d&&d.scrollLeft||0)-(b&&b.clientLeft||d&&d.clientLeft||0),a.pageY=a.clientY+(b&&b.scrollTop||
d&&d.scrollTop||0)-(b&&b.clientTop||d&&d.clientTop||0);if(a.which==null&&(a.charCode!=null||a.keyCode!=null))a.which=a.charCode!=null?a.charCode:a.keyCode;if(!a.metaKey&&a.ctrlKey)a.metaKey=a.ctrlKey;if(!a.which&&a.button!==h)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,v(a.origType,a.selector),c.extend({},a,{handler:t,guid:a.handler.guid}))},remove:function(a){c.event.remove(this,
v(a.origType,a.selector),a)}},beforeunload:{setup:function(a,b,d){if(c.isWindow(this))this.onbeforeunload=d},teardown:function(a,b){if(this.onbeforeunload===b)this.onbeforeunload=null}}}};c.removeEvent=n.removeEventListener?function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,false)}:function(a,b,c){a.detachEvent&&a.detachEvent("on"+b,c)};c.Event=function(a){if(!this.preventDefault)return new c.Event(a);a&&a.type?(this.originalEvent=a,this.type=a.type):this.type=a;this.timeStamp=c.now();
this[c.expando]=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:o,isPropagationStopped:o,isImmediatePropagationStopped:o};var ia=
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){}},ja=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?ja:ia,a)},teardown:function(a){c.event.remove(this,b,a&&a.selector?ja:ia)}}});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 a.liveFired=h,g("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 a.liveFired=h,g("submit",this,arguments)});else return false},teardown:function(){c.event.remove(this,".specialSubmit")}};if(!c.support.changeBubbles){var S,
ka=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(a){return a.selected}).join("-"):"";else if(a.nodeName.toLowerCase()==="select")d=a.selectedIndex;return d},V=function(a,b){var d=a.target,f,j;if(L.test(d.nodeName)&&!d.readOnly&&(f=c.data(d,"_change_data"),j=ka(d),(a.type!=="focusout"||d.type!=="radio")&&c.data(d,"_change_data",j),!(f===h||j===f)))if(f!=null||j)return a.type="change",a.liveFired=
h,c.event.trigger(a,b,d)};c.event.special.change={filters:{focusout:V,beforedeactivate:V,click:function(a){var b=a.target,c=b.type;if(c==="radio"||c==="checkbox"||b.nodeName.toLowerCase()==="select")return V.call(this,a)},keydown:function(a){var b=a.target,c=b.type;if(a.keyCode===13&&b.nodeName.toLowerCase()!=="textarea"||a.keyCode===32&&(c==="checkbox"||c==="radio")||c==="select-multiple")return V.call(this,a)},beforeactivate:function(a){a=a.target;c.data(a,"_change_data",ka(a))}},setup:function(){if(this.type===
"file")return false;for(var a in S)c.event.add(this,a+".specialChange",S[a]);return L.test(this.nodeName)},teardown:function(){c.event.remove(this,".specialChange");return L.test(this.nodeName)}};S=c.event.special.change.filters;S.focus=S.beforeactivate}n.addEventListener&&c.each({focus:"focusin",blur:"focusout"},function(a,b){function d(a){a=c.event.fix(a);a.type=b;return c.event.trigger(a,null,a.target)}c.event.special[b]={setup:function(){ha[b]++===0&&n.addEventListener(a,d,true)},teardown:function(){--ha[b]===
0&&n.removeEventListener(a,d,true)}}});c.each(["bind","one"],function(a,b){c.fn[b]=function(a,f,j){if(typeof a==="object"){for(var m in a)this[b](m,f,a[m],j);return this}if(c.isFunction(f)||f===false)j=f,f=h;var e=b==="one"?c.proxy(j,function(a){c(this).unbind(a,e);return j.apply(this,arguments)}):j;if(a==="unload"&&b!=="one")this.one(a,f,j);else{m=0;for(var l=this.length;m<l;m++)c.event.add(this[m],a,e,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,c,f){return this.live(b,c,f,a)},undelegate:function(a,b,c){return arguments.length===0?this.unbind("live"):this.die(b,null,c,a)},trigger:function(a,b){return this.each(function(){c.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0]){var d=c.Event(a);d.preventDefault();d.stopPropagation();c.event.trigger(d,b,this[0]);return d.result}},toggle:function(a){for(var b=arguments,d=
1;d<b.length;)c.proxy(a,b[d++]);return this.click(c.proxy(a,function(f){var j=(c.data(this,"lastToggle"+a.guid)||0)%d;c.data(this,"lastToggle"+a.guid,j+1);f.preventDefault();return b[j].apply(this,arguments)||false}))},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}});var la={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};c.each(["live","die"],function(a,b){c.fn[b]=function(a,f,j,m){var e,l=0,g,n,k=m||this.selector,m=m?this:c(this.context);if(typeof a===
"object"&&!a.preventDefault){for(e in a)m[b](e,f,a[e],k);return this}c.isFunction(f)&&(j=f,f=h);for(a=(a||"").split(" ");(e=a[l++])!=null;)if(g=D.exec(e),n="",g&&(n=g[0],e=e.replace(D,"")),e==="hover")a.push("mouseenter"+n,"mouseleave"+n);else if(g=e,e==="focus"||e==="blur"?(a.push(la[e]+n),e+=n):e=(la[e]||e)+n,b==="live"){n=0;for(var o=m.length;n<o;n++)c.event.add(m[n],"live."+v(e,k),{data:f,selector:k,handler:j,origType:e,origHandler:j,preType:g})}else m.unbind("live."+v(e,k),j);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(a,c){c==null&&(c=a,a=null);return arguments.length>0?this.bind(b,a,c):this.trigger(b)};c.attrFn&&(c.attrFn[b]=true)});e.attachEvent&&!e.addEventListener&&c(e).bind("unload",function(){for(var a in c.cache)if(c.cache[a].handle)try{c.event.remove(c.cache[a].handle.elem)}catch(b){}});
(function(){function a(a,b,c,d,f,j){for(var f=0,m=d.length;f<m;f++){var e=d[f];if(e){for(var g=false,e=e[a];e;){if(e.sizcache===c){g=d[e.sizset];break}if(e.nodeType===1&&!j)e.sizcache=c,e.sizset=f;if(e.nodeName.toLowerCase()===b){g=e;break}e=e[a]}d[f]=g}}}function b(a,b,c,d,f,j){for(var f=0,m=d.length;f<m;f++){var e=d[f];if(e){for(var g=false,e=e[a];e;){if(e.sizcache===c){g=d[e.sizset];break}if(e.nodeType===1){if(!j)e.sizcache=c,e.sizset=f;if(typeof b!=="string"){if(e===b){g=true;break}}else if(l.filter(b,
[e]).length>0){g=e;break}}e=e[a]}d[f]=g}}}var d=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,f=0,j=Object.prototype.toString,m=false,e=true;[0,0].sort(function(){e=false;return 0});var l=function(a,b,c,f){var c=c||[],m=b=b||n;if(b.nodeType!==1&&b.nodeType!==9)return[];if(!a||typeof a!=="string")return c;var e,h,u,o,q,t=true,s=l.isXML(b),r=[],B=a;do if(d.exec(""),e=d.exec(B))if(B=e[3],r.push(e[1]),e[2]){o=e[3];
break}while(e);if(r.length>1&&k.exec(a))if(r.length===2&&g.relative[r[0]])h=v(r[0]+r[1],b);else for(h=g.relative[r[0]]?[b]:l(r.shift(),b);r.length;)a=r.shift(),g.relative[a]&&(a+=r.shift()),h=v(a,h);else if(!f&&r.length>1&&b.nodeType===9&&!s&&g.match.ID.test(r[0])&&!g.match.ID.test(r[r.length-1])&&(e=l.find(r.shift(),b,s),b=e.expr?l.filter(e.expr,e.set)[0]:e.set[0]),b){e=f?{expr:r.pop(),set:p(f)}:l.find(r.pop(),r.length===1&&(r[0]==="~"||r[0]==="+")&&b.parentNode?b.parentNode:b,s);h=e.expr?l.filter(e.expr,
e.set):e.set;for(r.length>0?u=p(h):t=false;r.length;)e=q=r.pop(),g.relative[q]?e=r.pop():q="",e==null&&(e=b),g.relative[q](u,e,s)}else u=[];u||(u=h);u||l.error(q||a);if(j.call(u)==="[object Array]")if(t)if(b&&b.nodeType===1)for(a=0;u[a]!=null;a++)u[a]&&(u[a]===true||u[a].nodeType===1&&l.contains(b,u[a]))&&c.push(h[a]);else for(a=0;u[a]!=null;a++)u[a]&&u[a].nodeType===1&&c.push(h[a]);else c.push.apply(c,u);else p(u,c);o&&(l(o,m,c,f),l.uniqueSort(c));return c};l.uniqueSort=function(a){if(s&&(m=e,a.sort(s),
m))for(var b=1;b<a.length;b++)a[b]===a[b-1]&&a.splice(b--,1);return a};l.matches=function(a,b){return l(a,null,null,b)};l.matchesSelector=function(a,b){return l(b,null,null,[a]).length>0};l.find=function(a,b,c){var d;if(!a)return[];for(var f=0,j=g.order.length;f<j;f++){var e,m=g.order[f];if(e=g.leftMatch[m].exec(a)){var h=e[1];e.splice(1,1);if(h.substr(h.length-1)!=="\\"&&(e[1]=(e[1]||"").replace(/\\/g,""),d=g.find[m](e,b,c),d!=null)){a=a.replace(g.match[m],"");break}}}d||(d=b.getElementsByTagName("*"));
return{set:d,expr:a}};l.filter=function(a,b,c,d){for(var f,j,e=a,m=[],u=b,n=b&&b[0]&&l.isXML(b[0]);a&&b.length;){for(var k in g.filter)if((f=g.leftMatch[k].exec(a))!=null&&f[2]){var o,q,p=g.filter[k];q=f[1];j=false;f.splice(1,1);if(q.substr(q.length-1)!=="\\"){u===m&&(m=[]);if(g.preFilter[k])if(f=g.preFilter[k](f,u,c,m,d,n)){if(f===true)continue}else j=o=true;if(f)for(var r=0;(q=u[r])!=null;r++)if(q){o=p(q,f,r,u);var t=d^!!o;c&&o!=null?t?j=true:u[r]=false:t&&(m.push(q),j=true)}if(o!==h){c||(u=m);
a=a.replace(g.match[k],"");if(!j)return[];break}}}if(a===e)if(j==null)l.error(a);else break;e=a}return u};l.error=function(a){throw"Syntax error, unrecognized expression: "+a;};var g=l.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(a){return a.getAttribute("href")}},relative:{"+":function(a,b){var c=typeof b==="string",d=c&&!/\W/.test(b),c=c&&!d;d&&(b=b.toLowerCase());for(var d=0,f=a.length,j;d<f;d++)if(j=a[d]){for(;(j=j.previousSibling)&&j.nodeType!==1;);a[d]=c||j&&j.nodeName.toLowerCase()===
b?j||false:j===b}c&&l.filter(b,a,true)},">":function(a,b){var c,d=typeof b==="string",f=0,j=a.length;if(d&&!/\W/.test(b))for(b=b.toLowerCase();f<j;f++){if(c=a[f])c=c.parentNode,a[f]=c.nodeName.toLowerCase()===b?c:false}else{for(;f<j;f++)(c=a[f])&&(a[f]=d?c.parentNode:c.parentNode===b);d&&l.filter(b,a,true)}},"":function(c,d,j){var e,m=f++,g=b;typeof d==="string"&&!/\W/.test(d)&&(e=d=d.toLowerCase(),g=a);g("parentNode",d,m,c,e,j)},"~":function(c,d,j){var e,m=f++,g=b;typeof d==="string"&&!/\W/.test(d)&&
(e=d=d.toLowerCase(),g=a);g("previousSibling",d,m,c,e,j)}},find:{ID:function(a,b,c){if(typeof b.getElementById!=="undefined"&&!c)return(a=b.getElementById(a[1]))&&a.parentNode?[a]:[]},NAME:function(a,b){if(typeof b.getElementsByName!=="undefined"){for(var c=[],d=b.getElementsByName(a[1]),f=0,j=d.length;f<j;f++)d[f].getAttribute("name")===a[1]&&c.push(d[f]);return c.length===0?null:c}},TAG:function(a,b){return b.getElementsByTagName(a[1])}},preFilter:{CLASS:function(a,b,c,d,f,j){a=" "+a[1].replace(/\\/g,
"")+" ";if(j)return a;for(var j=0,e;(e=b[j])!=null;j++)e&&(f^(e.className&&(" "+e.className+" ").replace(/[\t\n]/g," ").indexOf(a)>=0)?c||d.push(e):c&&(b[j]=false));return false},ID:function(a){return a[1].replace(/\\/g,"")},TAG:function(a){return a[1].toLowerCase()},CHILD:function(a){if(a[1]==="nth"){var b=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0;a[3]=b[3]-0}a[0]=f++;return a},ATTR:function(a,b,c,d,f,j){b=
a[1].replace(/\\/g,"");!j&&g.attrMap[b]&&(a[1]=g.attrMap[b]);a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(a,b,c,f,j){if(a[1]==="not")if((d.exec(a[3])||"").length>1||/^\w/.test(a[3]))a[3]=l(a[3],null,null,b);else return a=l.filter(a[3],b,c,1^j),c||f.push.apply(f,a),false;else if(g.match.POS.test(a[0])||g.match.CHILD.test(a[0]))return true;return a},POS:function(a){a.unshift(true);return a}},filters:{enabled:function(a){return a.disabled===false&&a.type!=="hidden"},disabled:function(a){return a.disabled===
true},checked:function(a){return a.checked===true},selected:function(a){return a.selected===true},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,c){return!!l(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){return"text"===a.type},radio:function(a){return"radio"===a.type},checkbox:function(a){return"checkbox"===a.type},file:function(a){return"file"===a.type},password:function(a){return"password"===a.type},submit:function(a){return"submit"===
a.type},image:function(a){return"image"===a.type},reset:function(a){return"reset"===a.type},button:function(a){return"button"===a.type||a.nodeName.toLowerCase()==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)}},setFilters:{first:function(a,b){return b===0},last:function(a,b,c,d){return b===d.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return b<c[3]-0},gt:function(a,b,c){return b>c[3]-0},nth:function(a,b,c){return c[3]-
0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{PSEUDO:function(a,b,c,d){var f=b[1],j=g.filters[f];if(j)return j(a,c,b,d);else if(f==="contains")return(a.textContent||a.innerText||l.getText([a])||"").indexOf(b[3])>=0;else if(f==="not"){b=b[3];c=0;for(d=b.length;c<d;c++)if(b[c]===a)return false;return true}else l.error("Syntax error, unrecognized expression: "+f)},CHILD:function(a,b){var c=b[1],d=a;switch(c){case "only":case "first":for(;d=d.previousSibling;)if(d.nodeType===1)return false;if(c===
"first")return true;d=a;case "last":for(;d=d.nextSibling;)if(d.nodeType===1)return false;return true;case "nth":var c=b[2],f=b[3];if(c===1&&f===0)return true;var j=b[0],e=a.parentNode;if(e&&(e.sizcache!==j||!a.nodeIndex)){for(var m=0,d=e.firstChild;d;d=d.nextSibling)if(d.nodeType===1)d.nodeIndex=++m;e.sizcache=j}d=a.nodeIndex-f;return c===0?d===0:d%c===0&&d/c>=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||a.nodeName.toLowerCase()===
b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(a,b){var c=b[1],c=g.attrHandle[c]?g.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),d=c+"",f=b[2],j=b[4];return c==null?f==="!=":f==="="?d===j:f==="*="?d.indexOf(j)>=0:f==="~="?(" "+d+" ").indexOf(j)>=0:!j?d&&c!==false:f==="!="?d!==j:f==="^="?d.indexOf(j)===0:f==="$="?d.substr(d.length-j.length)===j:f==="|="?d===j||d.substr(0,j.length+1)===j+"-":false},POS:function(a,b,c,d){var f=g.setFilters[b[2]];
if(f)return f(a,c,b,d)}}},k=g.match.POS,o=function(a,b){return"\\"+(b-0+1)},q;for(q in g.match)g.match[q]=RegExp(g.match[q].source+/(?![^\[]*\])(?![^\(]*\))/.source),g.leftMatch[q]=RegExp(/(^(?:.|\r|\n)*?)/.source+g.match[q].source.replace(/\\(\d+)/g,o));var p=function(a,b){a=Array.prototype.slice.call(a,0);return b?(b.push.apply(b,a),b):a};try{Array.prototype.slice.call(n.documentElement.childNodes,0)}catch(t){p=function(a,b){var c=0,d=b||[];if(j.call(a)==="[object Array]")Array.prototype.push.apply(d,
a);else if(typeof a.length==="number")for(var f=a.length;c<f;c++)d.push(a[c]);else for(;a[c];c++)d.push(a[c]);return d}}var s,r;n.documentElement.compareDocumentPosition?s=function(a,b){return a===b?(m=true,0):!a.compareDocumentPosition||!b.compareDocumentPosition?a.compareDocumentPosition?-1:1:a.compareDocumentPosition(b)&4?-1:1}:(s=function(a,b){var c,d,f=[],j=[];c=a.parentNode;d=b.parentNode;var e=c;if(a===b)return m=true,0;else if(c===d)return r(a,b);else if(c){if(!d)return 1}else return-1;for(;e;)f.unshift(e),
e=e.parentNode;for(e=d;e;)j.unshift(e),e=e.parentNode;c=f.length;d=j.length;for(e=0;e<c&&e<d;e++)if(f[e]!==j[e])return r(f[e],j[e]);return e===c?r(a,j[e],-1):r(f[e],b,1)},r=function(a,b,c){if(a===b)return c;for(a=a.nextSibling;a;){if(a===b)return-1;a=a.nextSibling}return 1});l.getText=function(a){for(var b="",c,d=0;a[d];d++)c=a[d],c.nodeType===3||c.nodeType===4?b+=c.nodeValue:c.nodeType!==8&&(b+=l.getText(c.childNodes));return b};(function(){var a=n.createElement("div"),b="script"+(new Date).getTime(),
c=n.documentElement;a.innerHTML="<a name='"+b+"'/>";c.insertBefore(a,c.firstChild);if(n.getElementById(b))g.find.ID=function(a,b,c){if(typeof b.getElementById!=="undefined"&&!c)return(b=b.getElementById(a[1]))?b.id===a[1]||typeof b.getAttributeNode!=="undefined"&&b.getAttributeNode("id").nodeValue===a[1]?[b]:h:[]},g.filter.ID=function(a,b){var c=typeof a.getAttributeNode!=="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&c&&c.nodeValue===b};c.removeChild(a);c=a=null})();(function(){var a=
n.createElement("div");a.appendChild(n.createComment(""));if(a.getElementsByTagName("*").length>0)g.find.TAG=function(a,b){var c=b.getElementsByTagName(a[1]);if(a[1]==="*"){for(var d=[],f=0;c[f];f++)c[f].nodeType===1&&d.push(c[f]);c=d}return c};a.innerHTML="<a href='#'></a>";if(a.firstChild&&typeof a.firstChild.getAttribute!=="undefined"&&a.firstChild.getAttribute("href")!=="#")g.attrHandle.href=function(a){return a.getAttribute("href",2)};a=null})();n.querySelectorAll&&function(){var a=l,b=n.createElement("div");
b.innerHTML="<p class='TEST'></p>";if(!(b.querySelectorAll&&b.querySelectorAll(".TEST").length===0)){l=function(b,c,d,f){c=c||n;b=b.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!f&&!l.isXML(c))if(c.nodeType===9)try{return p(c.querySelectorAll(b),d)}catch(j){}else if(c.nodeType===1&&c.nodeName.toLowerCase()!=="object"){var e=c.getAttribute("id"),m=e||"__sizzle__";e||c.setAttribute("id",m);try{return p(c.querySelectorAll("#"+m+" "+b),d)}catch(g){}finally{e||c.removeAttribute("id")}}return a(b,c,d,f)};
for(var c in a)l[c]=a[c];b=null}}();(function(){var a=n.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector,c=false;try{b.call(n.documentElement,"[test!='']:sizzle")}catch(d){c=true}if(b)l.matchesSelector=function(a,d){d=d.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!l.isXML(a))try{if(c||!g.match.PSEUDO.test(d)&&!/!=/.test(d))return b.call(a,d)}catch(f){}return l(d,null,null,[a]).length>0}})();(function(){var a=n.createElement("div");a.innerHTML=
"<div class='test e'></div><div class='test'></div>";if(a.getElementsByClassName&&a.getElementsByClassName("e").length!==0&&(a.lastChild.className="e",a.getElementsByClassName("e").length!==1))g.order.splice(1,0,"CLASS"),g.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!=="undefined"&&!c)return b.getElementsByClassName(a[1])},a=null})();l.contains=n.documentElement.contains?function(a,b){return a!==b&&(a.contains?a.contains(b):true)}:n.documentElement.compareDocumentPosition?function(a,
b){return!!(a.compareDocumentPosition(b)&16)}:function(){return false};l.isXML=function(a){return(a=(a?a.ownerDocument||a:0).documentElement)?a.nodeName!=="HTML":false};var v=function(a,b){for(var c,d=[],f="",j=b.nodeType?[b]:b;c=g.match.PSEUDO.exec(a);)f+=c[0],a=a.replace(g.match.PSEUDO,"");a=g.relative[a]?a+"*":a;c=0;for(var e=j.length;c<e;c++)l(a,j[c],d);return l.filter(f,d)};c.find=l;c.expr=l.selectors;c.expr[":"]=c.expr.filters;c.unique=l.uniqueSort;c.text=l.getText;c.isXMLDoc=l.isXML;c.contains=
l.contains})();var Ga=/Until$/,Ha=/^(?:parents|prevUntil|prevAll)/,Ia=/,/,ya=/^.[^:#\[\.,]*$/,Ja=Array.prototype.slice,Ka=c.expr.match.POS;c.fn.extend({find:function(a){for(var b=this.pushStack("","find",a),d=0,f=0,j=this.length;f<j;f++)if(d=b.length,c.find(a,this[f],b),f>0)for(var e=d;e<b.length;e++)for(var g=0;g<d;g++)if(b[g]===b[e]){b.splice(e--,1);break}return b},has:function(a){var b=c(a);return this.filter(function(){for(var a=0,f=b.length;a<f;a++)if(c.contains(this,b[a]))return true})},not:function(a){return this.pushStack(A(this,
a,false),"not",a)},filter:function(a){return this.pushStack(A(this,a,true),"filter",a)},is:function(a){return!!a&&c.filter(a,this).length>0},closest:function(a,b){var d=[],f,j,e=this[0];if(c.isArray(a)){var g,h={},n=1;if(e&&a.length){for(f=0,j=a.length;f<j;f++)g=a[f],h[g]||(h[g]=c.expr.match.POS.test(g)?c(g,b||this.context):g);for(;e&&e.ownerDocument&&e!==b;){for(g in h)f=h[g],(f.jquery?f.index(e)>-1:c(e).is(f))&&d.push({selector:g,elem:e,level:n});e=e.parentNode;n++}}return d}g=Ka.test(a)?c(a,b||
this.context):null;for(f=0,j=this.length;f<j;f++)for(e=this[f];e;)if(g?g.index(e)>-1:c.find.matchesSelector(e,a)){d.push(e);break}else if(e=e.parentNode,!e||!e.ownerDocument||e===b)break;d=d.length>1?c.unique(d):d;return this.pushStack(d,"closest",a)},index:function(a){return!a||typeof a==="string"?c.inArray(this[0],a?c(a):this.parent().children()):c.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var d=typeof a==="string"?c(a,b||this.context):c.makeArray(a),f=c.merge(this.get(),d);return this.pushStack(!d[0]||
!d[0].parentNode||d[0].parentNode.nodeType===11||!f[0]||!f[0].parentNode||f[0].parentNode.nodeType===11?f:c.unique(f))},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 j=c.map(this,b,d);Ga.test(a)||(f=d);f&&typeof f===
"string"&&(j=c.filter(f,j));j=this.length>1?c.unique(j):j;if((this.length>1||Ia.test(f))&&Ha.test(a))j=j.reverse();return this.pushStack(j,a,Ja.call(arguments).join(","))}});c.extend({filter:function(a,b,d){d&&(a=":not("+a+")");return b.length===1?c.find.matchesSelector(b[0],a)?[b[0]]:[]:c.find.matches(a,b)},dir:function(a,b,d){for(var f=[],a=a[b];a&&a.nodeType!==9&&(d===h||a.nodeType!==1||!c(a).is(d));)a.nodeType===1&&f.push(a),a=a[b];return f},nth:function(a,b,c){for(var b=b||1,f=0;a;a=a[c])if(a.nodeType===
1&&++f===b)break;return a},sibling:function(a,b){for(var c=[];a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var ma=/ jQuery\d+="(?:\d+|null)"/g,W=/^\s+/,na=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,oa=/<([\w:]+)/,La=/<tbody/i,Ma=/<|&#?\w+;/,pa=/<(?:script|object|embed|option|style)/i,qa=/checked\s*(?:[^=]|=\s*.checked.)/i,Na=/\=([^="'>\s]+\/)>/g,G={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,"",""]};G.optgroup=G.option;G.tbody=G.tfoot=G.colgroup=G.caption=G.thead;G.th=G.td;if(!c.support.htmlSerialize)G._default=[1,"div<div>","</div>"];c.fn.extend({text:function(a){return c.isFunction(a)?this.each(function(b){var d=c(this);d.text(a.call(this,b,d.text()))}):typeof a!=="object"&&
a!==h?this.empty().append((this[0]&&this[0].ownerDocument||n).createTextNode(a)):c.text(this)},wrapAll:function(a){if(c.isFunction(a))return this.each(function(b){c(this).wrapAll(a.call(this,b))});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 a=this;a.firstChild&&a.firstChild.nodeType===1;)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){return c.isFunction(a)?this.each(function(b){c(this).wrapInner(a.call(this,
b))}):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(a){this.parentNode.insertBefore(a,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(a){this.parentNode.insertBefore(a,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)!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 a=this.outerHTML,
b=this.ownerDocument;if(!a)a=b.createElement("div"),a.appendChild(this.cloneNode(true)),a=a.innerHTML;return c.clean([a.replace(ma,"").replace(Na,'="$1">').replace(W,"")],b)[0]}else return this.cloneNode(true)});a===true&&(y(this,b),y(this.find("*"),b.find("*")));return b},html:function(a){if(a===h)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(ma,""):null;else if(typeof a==="string"&&!pa.test(a)&&(c.support.leadingWhitespace||!W.test(a))&&!G[(oa.exec(a)||["",""])[1].toLowerCase()]){a=
a.replace(na,"<$1></$2>");try{for(var b=0,d=this.length;b<d;b++)if(this[b].nodeType===1)c.cleanData(this[b].getElementsByTagName("*")),this[b].innerHTML=a}catch(f){this.empty().append(a)}}else c.isFunction(a)?this.each(function(b){var d=c(this);d.html(a.call(this,b,d.html()))}):this.empty().append(a);return this},replaceWith:function(a){if(this[0]&&this[0].parentNode){if(c.isFunction(a))return this.each(function(b){var d=c(this),f=d.html();d.replaceWith(a.call(this,b,f))});typeof a!=="string"&&(a=
c(a).detach());return this.each(function(){var b=this.nextSibling,d=this.parentNode;c(this).remove();b?c(b).before(a):c(d).append(a)})}else return this.pushStack(c(c.isFunction(a)?a():a),"replaceWith",a)},detach:function(a){return this.remove(a,true)},domManip:function(a,b,d){var f,j,e,g=a[0],l=[];if(!c.support.checkClone&&arguments.length===3&&typeof g==="string"&&qa.test(g))return this.each(function(){c(this).domManip(a,b,d,true)});if(c.isFunction(g))return this.each(function(f){var j=c(this);a[0]=
g.call(this,f,b?j.html():h);j.domManip(a,b,d)});if(this[0]){f=g&&g.parentNode;f=c.support.parentNode&&f&&f.nodeType===11&&f.childNodes.length===this.length?{fragment:f}:c.buildFragment(a,this,l);e=f.fragment;if(j=e.childNodes.length===1?e=e.firstChild:e.firstChild){b=b&&c.nodeName(j,"tr");j=0;for(var n=this.length;j<n;j++)d.call(b?c.nodeName(this[j],"table")?this[j].getElementsByTagName("tbody")[0]||this[j].appendChild(this[j].ownerDocument.createElement("tbody")):this[j]:this[j],j>0||f.cacheable||
this.length>1?e.cloneNode(true):e)}l.length&&c.each(l,q)}return this}});c.buildFragment=function(a,b,d){var f,j,e,b=b&&b[0]?b[0].ownerDocument||b[0]:n;if(a.length===1&&typeof a[0]==="string"&&a[0].length<512&&b===n&&!pa.test(a[0])&&(c.support.checkClone||!qa.test(a[0])))j=true,(e=c.fragments[a[0]])&&e!==1&&(f=e);f||(f=b.createDocumentFragment(),c.clean(a,b,f,d));j&&(c.fragments[a[0]]=e?f:1);return{fragment:f,cacheable:j}};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),j=this.length===1&&this[0].parentNode;if(j&&j.nodeType===11&&j.childNodes.length===1&&d.length===1)return d[b](this[0]),this;else{for(var j=0,e=d.length;j<e;j++){var g=(j>0?this.clone(true):this).get();c(d[j])[b](g);f=f.concat(g)}return this.pushStack(f,a,d.selector)}}});c.extend({clean:function(a,b,d,f){b=b||n;typeof b.createElement==="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||n);for(var j=
[],e=0,g;(g=a[e])!=null;e++)if(typeof g==="number"&&(g+=""),g){if(typeof g==="string"&&!Ma.test(g))g=b.createTextNode(g);else if(typeof g==="string"){g=g.replace(na,"<$1></$2>");var h=(oa.exec(g)||["",""])[1].toLowerCase(),k=G[h]||G._default,o=k[0],q=b.createElement("div");for(q.innerHTML=k[1]+g+k[2];o--;)q=q.lastChild;if(!c.support.tbody){o=La.test(g);h=h==="table"&&!o?q.firstChild&&q.firstChild.childNodes:k[1]==="<table>"&&!o?q.childNodes:[];for(k=h.length-1;k>=0;--k)c.nodeName(h[k],"tbody")&&!h[k].childNodes.length&&
h[k].parentNode.removeChild(h[k])}!c.support.leadingWhitespace&&W.test(g)&&q.insertBefore(b.createTextNode(W.exec(g)[0]),q.firstChild);g=q.childNodes}g.nodeType?j.push(g):j=c.merge(j,g)}if(d)for(e=0;j[e];e++)f&&c.nodeName(j[e],"script")&&(!j[e].type||j[e].type.toLowerCase()==="text/javascript")?f.push(j[e].parentNode?j[e].parentNode.removeChild(j[e]):j[e]):(j[e].nodeType===1&&j.splice.apply(j,[e+1,0].concat(c.makeArray(j[e].getElementsByTagName("script")))),d.appendChild(j[e]));return j},cleanData:function(a){for(var b,
d,f=c.cache,e=c.event.special,g=c.support.deleteExpando,h=0,l;(l=a[h])!=null;h++)if(!l.nodeName||!c.noData[l.nodeName.toLowerCase()])if(d=l[c.expando]){if((b=f[d])&&b.events)for(var k in b.events)e[k]?c.event.remove(l,k):c.removeEvent(l,k,b.handle);g?delete l[c.expando]:l.removeAttribute&&l.removeAttribute(c.expando);delete f[d]}}});var ra=/alpha\([^)]*\)/i,Oa=/opacity=([^)]*)/,Pa=/-([a-z])/ig,Qa=/([A-Z])/g,sa=/^-?\d+(?:px)?$/i,Ra=/^-?\d/,Sa={position:"absolute",visibility:"hidden",display:"block"},
za=["Left","Right"],Aa=["Top","Bottom"],T,ta,X,Ta=function(a,b){return b.toUpperCase()};c.fn.css=function(a,b){return arguments.length===2&&b===h?this:c.access(this,a,b,true,function(a,b,e){return e!==h?c.style(a,b,e):c.css(a,b)})};c.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=T(a,"opacity","opacity");return c===""?"1":c}else return a.style.opacity}}},cssNumber:{zIndex:true,fontWeight:true,opacity:true,zoom:true,lineHeight:true},cssProps:{"float":c.support.cssFloat?"cssFloat":"styleFloat"},
style:function(a,b,d,f){if(a&&!(a.nodeType===3||a.nodeType===8||!a.style)){var e,g=c.camelCase(b),k=a.style,l=c.cssHooks[g],b=c.cssProps[g]||g;if(d!==h){if(!(typeof d==="number"&&isNaN(d)||d==null))if(typeof d==="number"&&!c.cssNumber[g]&&(d+="px"),!l||!("set"in l)||(d=l.set(a,d))!==h)try{k[b]=d}catch(n){}}else return l&&"get"in l&&(e=l.get(a,false,f))!==h?e:k[b]}},css:function(a,b,d){var f,e=c.camelCase(b),g=c.cssHooks[e],b=c.cssProps[e]||e;if(g&&"get"in g&&(f=g.get(a,true,d))!==h)return f;else if(T)return T(a,
b,e)},swap:function(a,b,c){var f={},e;for(e in b)f[e]=a.style[e],a.style[e]=b[e];c.call(a);for(e in b)a.style[e]=f[e]},camelCase:function(a){return a.replace(Pa,Ta)}});c.curCSS=c.css;c.each(["height","width"],function(a,b){c.cssHooks[b]={get:function(a,f,e){var g;if(f){a.offsetWidth!==0?g=r(a,b,e):c.swap(a,Sa,function(){g=r(a,b,e)});if(g<=0&&(g=T(a,b,b),g==="0px"&&X&&(g=X(a,b,b)),g!=null))return g===""||g==="auto"?"0px":g;return g<0||g==null?(g=a.style[b],g===""||g==="auto"?"0px":g):typeof g==="string"?
g:g+"px"}},set:function(a,b){if(sa.test(b)){if(b=parseFloat(b),b>=0)return b+"px"}else return b}}});if(!c.support.opacity)c.cssHooks.opacity={get:function(a,b){return Oa.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var d=a.style;d.zoom=1;var f=c.isNaN(b)?"":"alpha(opacity="+b*100+")",e=d.filter||"";d.filter=ra.test(e)?e.replace(ra,f):d.filter+" "+f}};n.defaultView&&n.defaultView.getComputedStyle&&(ta=function(a,b,d){var f,
d=d.replace(Qa,"-$1").toLowerCase();if(!(b=a.ownerDocument.defaultView))return h;if(b=b.getComputedStyle(a,null))f=b.getPropertyValue(d),f===""&&!c.contains(a.ownerDocument.documentElement,a)&&(f=c.style(a,d));return f});n.documentElement.currentStyle&&(X=function(a,b){var c,f,e=a.currentStyle&&a.currentStyle[b],g=a.style;if(!sa.test(e)&&Ra.test(e))c=g.left,f=a.runtimeStyle.left,a.runtimeStyle.left=a.currentStyle.left,g.left=b==="fontSize"?"1em":e||0,e=g.pixelLeft+"px",g.left=c,a.runtimeStyle.left=
f;return e===""?"auto":e});T=ta||X;if(c.expr&&c.expr.filters)c.expr.filters.hidden=function(a){var b=a.offsetHeight;return a.offsetWidth===0&&b===0||!c.support.reliableHiddenOffsets&&(a.style.display||c.css(a,"display"))==="none"},c.expr.filters.visible=function(a){return!c.expr.filters.hidden(a)};var Ua=c.now(),Va=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,Wa=/^(?:select|textarea)/i,Xa=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,
Ya=/^(?:GET|HEAD)$/,Ba=/\[\]$/,O=/\=\?(&|$)/,ca=/\?/,Za=/([?&])_=[^&]*/,$a=/^(\w+:)?\/\/([^\/?#]+)/,ab=/%20/g,bb=/#.*$/,ua=c.fn.load;c.fn.extend({load:function(a,b,d){if(typeof a!=="string"&&ua)return ua.apply(this,arguments);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";b&&(c.isFunction(b)?(d=b,b=null):typeof b==="object"&&(b=c.param(b,c.ajaxSettings.traditional),f="POST"));var g=this;c.ajax({url:a,type:f,dataType:"html",data:b,complete:function(a,
b){if(b==="success"||b==="notmodified")g.html(e?c("<div>").append(a.responseText.replace(Va,"")).find(e):a.responseText);d&&g.each(d,[a.responseText,b,a])}});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||Wa.test(this.nodeName)||Xa.test(this.type))}).map(function(a,b){var d=c(this).val();return d==null?
null:c.isArray(d)?c.map(d,function(a){return{name:b.name,value:a}}):{name:b.name,value:d}}).get()}});c.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){c.fn[b]=function(a){return this.bind(b,a)}});c.extend({get:function(a,b,d,f){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){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:function(){return new e.XMLHttpRequest},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},
ajax:function(a){var b=c.extend(true,{},c.ajaxSettings,a),d,f,j,g=b.type.toUpperCase(),k=Ya.test(g);b.url=b.url.replace(bb,"");b.context=a&&a.context!=null?a.context:b;if(b.data&&b.processData&&typeof b.data!=="string")b.data=c.param(b.data,b.traditional);if(b.dataType==="jsonp"){if(g==="GET")O.test(b.url)||(b.url+=(ca.test(b.url)?"&":"?")+(b.jsonp||"callback")+"=?");else if(!b.data||!O.test(b.data))b.data=(b.data?b.data+"&":"")+(b.jsonp||"callback")+"=?";b.dataType="json"}if(b.dataType==="json"&&
(b.data&&O.test(b.data)||O.test(b.url))){d=b.jsonpCallback||"jsonp"+Ua++;if(b.data)b.data=(b.data+"").replace(O,"="+d+"$1");b.url=b.url.replace(O,"="+d+"$1");b.dataType="script";var l=e[d];e[d]=function(a){if(c.isFunction(l))l(a);else{e[d]=h;try{delete e[d]}catch(g){}}j=a;c.handleSuccess(b,s,f,j);c.handleComplete(b,s,f,j);r&&r.removeChild(p)}}if(b.dataType==="script"&&b.cache===null)b.cache=false;if(b.cache===false&&k){var q=c.now(),o=b.url.replace(Za,"$1_="+q);b.url=o+(o===b.url?(ca.test(b.url)?
"&":"?")+"_="+q:"")}b.data&&k&&(b.url+=(ca.test(b.url)?"&":"?")+b.data);b.global&&c.active++===0&&c.event.trigger("ajaxStart");q=(q=$a.exec(b.url))&&(q[1]&&q[1].toLowerCase()!==location.protocol||q[2].toLowerCase()!==location.host);if(b.dataType==="script"&&g==="GET"&&q){var r=n.getElementsByTagName("head")[0]||n.documentElement,p=n.createElement("script");if(b.scriptCharset)p.charset=b.scriptCharset;p.src=b.url;if(!d){var t=false;p.onload=p.onreadystatechange=function(){if(!t&&(!this.readyState||
this.readyState==="loaded"||this.readyState==="complete"))t=true,c.handleSuccess(b,s,f,j),c.handleComplete(b,s,f,j),p.onload=p.onreadystatechange=null,r&&p.parentNode&&r.removeChild(p)}}r.insertBefore(p,r.firstChild);return h}var v=false,s=b.xhr();if(s){b.username?s.open(g,b.url,b.async,b.username,b.password):s.open(g,b.url,b.async);try{(b.data!=null&&!k||a&&a.contentType)&&s.setRequestHeader("Content-Type",b.contentType),b.ifModified&&(c.lastModified[b.url]&&s.setRequestHeader("If-Modified-Since",
c.lastModified[b.url]),c.etag[b.url]&&s.setRequestHeader("If-None-Match",c.etag[b.url])),q||s.setRequestHeader("X-Requested-With","XMLHttpRequest"),s.setRequestHeader("Accept",b.dataType&&b.accepts[b.dataType]?b.accepts[b.dataType]+", */*; q=0.01":b.accepts._default)}catch(B){}if(b.beforeSend&&b.beforeSend.call(b.context,s,b)===false)return b.global&&c.active--===1&&c.event.trigger("ajaxStop"),s.abort(),false;b.global&&c.triggerGlobal(b,"ajaxSend",[s,b]);var y=s.onreadystatechange=function(a){if(!s||
s.readyState===0||a==="abort"){if(v||c.handleComplete(b,s,f,j),v=true,s)s.onreadystatechange=c.noop}else if(!v&&s&&(s.readyState===4||a==="timeout")){v=true;s.onreadystatechange=c.noop;f=a==="timeout"?"timeout":!c.httpSuccess(s)?"error":b.ifModified&&c.httpNotModified(s,b.url)?"notmodified":"success";var e;if(f==="success")try{j=c.httpData(s,b.dataType,b)}catch(g){f="parsererror",e=g}f==="success"||f==="notmodified"?d||c.handleSuccess(b,s,f,j):c.handleError(b,s,f,e);d||c.handleComplete(b,s,f,j);a===
"timeout"&&s.abort();b.async&&(s=null)}};try{var w=s.abort;s.abort=function(){s&&Function.prototype.call.call(w,s);y("abort")}}catch(x){}b.async&&b.timeout>0&&setTimeout(function(){s&&!v&&y("timeout")},b.timeout);try{s.send(k||b.data==null?null:b.data)}catch(A){c.handleError(b,s,null,A),c.handleComplete(b,s,f,j)}b.async||y();return s}},param:function(a,b){var d=[],f=function(a,b){b=c.isFunction(b)?b():b;d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};if(b===h)b=c.ajaxSettings.traditional;
if(c.isArray(a)||a.jquery)c.each(a,function(){f(this.name,this.value)});else for(var e in a)B(e,a[e],b,f);return d.join("&").replace(ab,"+")}});c.extend({active:0,lastModified:{},etag:{},handleError:function(a,b,d,f){a.error&&a.error.call(a.context,b,d,f);a.global&&c.triggerGlobal(a,"ajaxError",[b,a,f])},handleSuccess:function(a,b,d,f){a.success&&a.success.call(a.context,f,d,b);a.global&&c.triggerGlobal(a,"ajaxSuccess",[b,a])},handleComplete:function(a,b,d){a.complete&&a.complete.call(a.context,b,
d);a.global&&c.triggerGlobal(a,"ajaxComplete",[b,a]);a.global&&c.active--===1&&c.event.trigger("ajaxStop")},triggerGlobal:function(a,b,d){(a.context&&a.context.url==null?c(a.context):c.event).trigger(b,d)},httpSuccess:function(a){try{return!a.status&&location.protocol==="file:"||a.status>=200&&a.status<300||a.status===304||a.status===1223}catch(b){}return false},httpNotModified:function(a,b){var d=a.getResponseHeader("Last-Modified"),f=a.getResponseHeader("Etag");d&&(c.lastModified[b]=d);f&&(c.etag[b]=
f);return a.status===304},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");d&&d.dataFilter&&(a=d.dataFilter(a,b));typeof a==="string"&&(b==="json"||!b&&f.indexOf("json")>=0?a=c.parseJSON(a):(b==="script"||!b&&f.indexOf("javascript")>=0)&&c.globalEval(a));return a}});if(e.ActiveXObject)c.ajaxSettings.xhr=function(){if(e.location.protocol!==
"file:")try{return new e.XMLHttpRequest}catch(a){}try{return new e.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}};c.support.ajax=!!c.ajaxSettings.xhr();var Z={},cb=/^(?:toggle|show|hide)$/,db=/^([+\-]=)?([\d+.\-]+)(.*)$/,Y,da=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];c.fn.extend({show:function(a,b,d){if(a||a===0)return this.animate(M("show",3),a,b,d);else{for(var d=0,f=this.length;d<f;d++){a=this[d];
b=a.style.display;if(!c.data(a,"olddisplay")&&b==="none")b=a.style.display="";b===""&&c.css(a,"display")==="none"&&c.data(a,"olddisplay",ea(a.nodeName))}for(d=0;d<f;d++)if(a=this[d],b=a.style.display,b===""||b==="none")a.style.display=c.data(a,"olddisplay")||"";return this}},hide:function(a,b,d){if(a||a===0)return this.animate(M("hide",3),a,b,d);else{a=0;for(b=this.length;a<b;a++)d=c.css(this[a],"display"),d!=="none"&&c.data(this[a],"olddisplay",d);for(a=0;a<b;a++)this[a].style.display="none";return this}},
_toggle:c.fn.toggle,toggle:function(a,b,d){var f=typeof a==="boolean";c.isFunction(a)&&c.isFunction(b)?this._toggle.apply(this,arguments):a==null||f?this.each(function(){var b=f?a:c(this).is(":hidden");c(this)[b?"show":"hide"]()}):this.animate(M("toggle",3),a,b,d);return this},fadeTo:function(a,b,c,f){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,c,f)},animate:function(a,b,d,f){var e=c.speed(b,d,f);return c.isEmptyObject(a)?this.each(e.complete):this[e.queue===
false?"each":"queue"](function(){var b=c.extend({},e),d,f=this.nodeType===1,g=f&&c(this).is(":hidden"),h=this;for(d in a){var k=c.camelCase(d);d!==k&&(a[k]=a[d],delete a[d],d=k);if(a[d]==="hide"&&g||a[d]==="show"&&!g)return b.complete.call(this);if(f&&(d==="height"||d==="width"))if(b.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY],c.css(this,"display")==="inline"&&c.css(this,"float")==="none")c.support.inlineBlockNeedsLayout?ea(this.nodeName)==="inline"?this.style.display=
"inline-block":(this.style.display="inline",this.style.zoom=1):this.style.display="inline-block";if(c.isArray(a[d]))(b.specialEasing=b.specialEasing||{})[d]=a[d][1],a[d]=a[d][0]}if(b.overflow!=null)this.style.overflow="hidden";b.curAnim=c.extend({},a);c.each(a,function(d,f){var e=new c.fx(h,b,d);if(cb.test(f))e[f==="toggle"?g?"show":"hide":f](a);else{var j=db.exec(f),l=e.cur()||0;if(j){var k=parseFloat(j[2]),n=j[3]||"px";n!=="px"&&(c.style(h,d,(k||1)+n),l*=(k||1)/e.cur(),c.style(h,d,l+n));j[1]&&(k=
(j[1]==="-="?-1:1)*k+l);e.custom(l,k,n)}else e.custom(l,f,"")}});return true})},stop:function(a,b){var d=c.timers;a&&this.queue([]);this.each(function(){for(var a=d.length-1;a>=0;a--)if(d[a].elem===this){if(b)d[a](true);d.splice(a,1)}});b||this.dequeue();return this}});c.each({slideDown:M("show",1),slideUp:M("hide",1),slideToggle:M("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){c.fn[a]=function(a,c,e){return this.animate(b,a,c,e)}});c.extend({speed:function(a,
b,d){var f=a&&typeof a==="object"?c.extend({},a):{complete:d||!d&&b||c.isFunction(a)&&a,duration:a,easing:d&&b||b&&!c.isFunction(b)&&b};f.duration=c.fx.off?0:typeof f.duration==="number"?f.duration:f.duration in c.fx.speeds?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,c,f){return c+f*a},swing:function(a,b,c,f){return(-Math.cos(a*Math.PI)/2+0.5)*f+c}},
timers:[],fx:function(a,b,c){this.options=b;this.elem=a;this.prop=c;if(!b.orig)b.orig={}}});c.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(c.fx.step[this.prop]||c.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];var a=parseFloat(c.css(this.elem,this.prop));return a&&a>-1E4?a:0},custom:function(a,b,d){function f(a){return e.step(a)}var e=this,
g=c.fx;this.startTime=c.now();this.start=a;this.end=b;this.unit=d||this.unit||"px";this.now=this.start;this.pos=this.state=0;f.elem=this.elem;f()&&c.timers.push(f)&&!Y&&(Y=setInterval(g.tick,g.interval))},show:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());c(this.elem).show()},hide:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),
0)},step:function(a){var b=c.now(),d=true;if(a||b>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;for(var f in this.options.curAnim)this.options.curAnim[f]!==true&&(d=false);if(d){if(this.options.overflow!=null&&!c.support.shrinkWrapBlocks){var e=this.elem,g=this.options;c.each(["","X","Y"],function(a,b){e.style["overflow"+b]=g.overflow[a]})}this.options.hide&&c(this.elem).hide();if(this.options.hide||this.options.show)for(var h in this.options.curAnim)c.style(this.elem,
h,this.options.orig[h]);this.options.complete.call(this.elem)}return false}else a=b-this.startTime,this.state=a/this.options.duration,b=this.options.easing||(c.easing.swing?"swing":"linear"),this.pos=c.easing[this.options.specialEasing&&this.options.specialEasing[this.prop]||b](this.state,a,0,1,this.options.duration),this.now=this.start+(this.end-this.start)*this.pos,this.update();return true}};c.extend(c.fx,{tick:function(){for(var a=c.timers,b=0;b<a.length;b++)a[b]()||a.splice(b--,1);a.length||
c.fx.stop()},interval:13,stop:function(){clearInterval(Y);Y=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){c.style(a.elem,"opacity",a.now)},_default:function(a){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:a.elem[a.prop]=a.now}}});if(c.expr&&c.expr.filters)c.expr.filters.animated=function(a){return c.grep(c.timers,function(b){return a===b.elem}).length};var eb=/^t(?:able|d|h)$/i,va=/^(?:body|html)$/i;
c.fn.offset="getBoundingClientRect"in n.documentElement?function(a){var b=this[0],d;if(a)return this.each(function(b){c.offset.setOffset(this,a,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);try{d=b.getBoundingClientRect()}catch(f){}var e=b.ownerDocument,g=e.documentElement;if(!d||!c.contains(g,b))return d||{top:0,left:0};b=e.body;e=aa(e);return{top:d.top+(e.pageYOffset||c.support.boxModel&&g.scrollTop||b.scrollTop)-(g.clientTop||b.clientTop||0),
left:d.left+(e.pageXOffset||c.support.boxModel&&g.scrollLeft||b.scrollLeft)-(g.clientLeft||b.clientLeft||0)}}:function(a){var b=this[0];if(a)return this.each(function(b){c.offset.setOffset(this,a,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);c.offset.initialize();var d,f=b.offsetParent,e=b.ownerDocument,g=e.documentElement,h=e.body;d=(e=e.defaultView)?e.getComputedStyle(b,null):b.currentStyle;for(var l=b.offsetTop,k=b.offsetLeft;(b=b.parentNode)&&
b!==h&&b!==g;){if(c.offset.supportsFixedPosition&&d.position==="fixed")break;d=e?e.getComputedStyle(b,null):b.currentStyle;l-=b.scrollTop;k-=b.scrollLeft;if(b===f){l+=b.offsetTop;k+=b.offsetLeft;if(c.offset.doesNotAddBorder&&(!c.offset.doesAddBorderForTableAndCells||!eb.test(b.nodeName)))l+=parseFloat(d.borderTopWidth)||0,k+=parseFloat(d.borderLeftWidth)||0;f=b.offsetParent}c.offset.subtractsBorderForOverflowNotVisible&&d.overflow!=="visible"&&(l+=parseFloat(d.borderTopWidth)||0,k+=parseFloat(d.borderLeftWidth)||
0)}if(d.position==="relative"||d.position==="static")l+=h.offsetTop,k+=h.offsetLeft;c.offset.supportsFixedPosition&&d.position==="fixed"&&(l+=Math.max(g.scrollTop,h.scrollTop),k+=Math.max(g.scrollLeft,h.scrollLeft));return{top:l,left:k}};c.offset={initialize:function(){var a=n.body,b=n.createElement("div"),d,f,e,g=parseFloat(c.css(a,"marginTop"))||0;c.extend(b.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"});b.innerHTML="<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";
a.insertBefore(b,a.firstChild);d=b.firstChild;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!==g;a.removeChild(b);
c.offset.initialize=c.noop},bodyOffset:function(a){var b=a.offsetTop,d=a.offsetLeft;c.offset.initialize();c.offset.doesNotIncludeMarginInBodyOffset&&(b+=parseFloat(c.css(a,"marginTop"))||0,d+=parseFloat(c.css(a,"marginLeft"))||0);return{top:b,left:d}},setOffset:function(a,b,d){var f=c.css(a,"position");if(f==="static")a.style.position="relative";var e=c(a),g=e.offset(),h=c.css(a,"top"),l=c.css(a,"left"),k=f==="absolute"&&c.inArray("auto",[h,l])>-1,f={},n={};k&&(n=e.position());h=k?n.top:parseInt(h,
10)||0;l=k?n.left:parseInt(l,10)||0;c.isFunction(b)&&(b=b.call(a,d,g));if(b.top!=null)f.top=b.top-g.top+h;if(b.left!=null)f.left=b.left-g.left+l;"using"in b?b.using.call(a,f):e.css(f)}};c.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),d=this.offset(),f=va.test(b[0].nodeName)?{top:0,left:0}:b.offset();d.top-=parseFloat(c.css(a,"marginTop"))||0;d.left-=parseFloat(c.css(a,"marginLeft"))||0;f.top+=parseFloat(c.css(b[0],"borderTopWidth"))||0;f.left+=parseFloat(c.css(b[0],
"borderLeftWidth"))||0;return{top:d.top-f.top,left:d.left-f.left}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||n.body;a&&!va.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(b){var e=this[0],g;return!e?null:b!==h?this.each(function(){(g=aa(this))?g.scrollTo(!a?b:c(g).scrollLeft(),a?b:c(g).scrollTop()):this[d]=b}):(g=aa(e))?"pageXOffset"in g?g[a?"pageYOffset":"pageXOffset"]:
c.support.boxModel&&g.document.documentElement[d]||g.document.body[d]:e[d]}});c.each(["Height","Width"],function(a,b){var d=b.toLowerCase();c.fn["inner"+b]=function(){return this[0]?parseFloat(c.css(this[0],d,"padding")):null};c.fn["outer"+b]=function(a){return this[0]?parseFloat(c.css(this[0],d,a?"margin":"border")):null};c.fn[d]=function(a){var e=this[0];if(!e)return a==null?null:this;if(c.isFunction(a))return this.each(function(b){var e=c(this);e[d](a.call(this,b,e[d]()))});if(c.isWindow(e))return e.document.compatMode===
"CSS1Compat"&&e.document.documentElement["client"+b]||e.document.body["client"+b];else if(e.nodeType===9)return Math.max(e.documentElement["client"+b],e.body["scroll"+b],e.documentElement["scroll"+b],e.body["offset"+b],e.documentElement["offset"+b]);else if(a===h){var e=c.css(e,d),g=parseFloat(e);return c.isNaN(g)?e:g}else return this.css(d,typeof a==="string"?a:a+"px")}})})(window);
(function(e){e.fn.maxlength=function(h){function k(e){var k=e.value;h.words&&(k=e.value.length?k.split(/\s+/):{length:0});return k.length}typeof h=="string"&&(h={feedback:h});h=e.extend({},e.fn.maxlength.defaults,h);return this.each(function(){function o(e){var g=k(this),e=e.keyCode;if(g>=v)switch(e){case 8:case 9:case 17:case 36:case 35:case 37:case 38:case 39:case 40:case 46:case 65:break;default:return h.words&&e!=32&&e!=13&&g==v}}var p=this,g=e(p),t=e(p.form),v=h.useInput?t.find("input[name=maxlength]").val():
g.attr("maxlength"),A=t.find(h.feedback),y=function(){var e=k(p),e=v-e;A.html(e||"0");if(h.hardLimit&&e<0)p.value=h.words?p.value.split(/(\s+)/,v*2-1).join(""):p.value.substr(0,v),y()};g.keyup(y).change(y);h.hardLimit&&g.keydown(o);y()})};e.fn.maxlength.defaults={useInput:false,hardLimit:true,feedback:".charsLeft",words:false}})(jQuery);
(function(e){e.fn.autogrow=function(h){return this.each(function(){new e.autogrow(this,h)})};e.autogrow=function(h,k){this.options=k||{};this.interval=this.dummy=null;this.line_height=this.options.lineHeight||parseInt(e(h).css("line-height"));this.min_height=this.options.minHeight||parseInt(e(h).css("min-height"));this.max_height=this.options.maxHeight||parseInt(e(h).css("max-height"));this.textarea=e(h);if(this.line_height==NaN)this.line_height=0;this.init()};e.autogrow.fn=e.autogrow.prototype={autogrow:"1.2.2"};
e.autogrow.fn.extend=e.autogrow.extend=e.extend;e.autogrow.fn.extend({init:function(){var e=this;this.textarea.css({overflow:"hidden",display:"block"});this.textarea.bind("focus",function(){e.startExpand()}).bind("blur",function(){e.stopExpand()});this.checkExpand()},startExpand:function(){var e=this;this.interval=window.setInterval(function(){e.checkExpand()},400)},stopExpand:function(){clearInterval(this.interval)},checkExpand:function(){if(this.dummy==null)this.dummy=e("<div></div>"),this.dummy.css({"font-size":this.textarea.css("font-size"),
"font-family":this.textarea.css("font-family"),width:this.textarea.css("width"),padding:this.textarea.css("padding"),"line-height":this.line_height+"px","overflow-x":"hidden",position:"absolute",top:0,left:-9999}).appendTo("body");var h=this.textarea.val().replace(/(<|>)/g,""),h=$.browser.msie?h.replace(/\n/g,"<BR>new"):h.replace(/\n/g,"<br>new");this.dummy.html()!=h&&(this.dummy.html(h),this.max_height>0&&this.dummy.height()+this.line_height>this.max_height?this.textarea.css("overflow-y","auto"):
(this.textarea.css("overflow-y","hidden"),(this.textarea.height()<this.dummy.height()+this.line_height||this.dummy.height()<this.textarea.height())&&this.textarea.animate({height:this.dummy.height()+this.line_height+"px"},100)))}})})(jQuery);
(function(e){function h(){var g;g=e(this);if(!g.data("timeago")){g.data("timeago",{datetime:p.datetime(g)});var h=e.trim(g.text());h.length>0&&g.attr("title",h)}g=g.data("timeago");isNaN(g.datetime)||e(this).text(k(g.datetime));return this}function k(e){return p.inWords((new Date).getTime()-e.getTime())}function o(g,h){return(e.isFunction(g)?g(h):g).replace(/%d/i,h)}e.timeago=function(g){return g instanceof Date?k(g):typeof g=="string"?k(e.timeago.parse(g)):k(e.timeago.datetime(g))};var p=e.timeago;
e.extend(e.timeago,{settings:{refreshMillis:6E4,allowFuture:false,strings:{prefixAgo:null,prefixFromNow:null,suffixAgo:"ago",suffixFromNow:"from now",ago:null,fromNow:null,seconds:"less than a minute",minute:"about a minute",minutes:"%d minutes",hour:"about an hour",hours:"about %d hours",day:"a day",days:"%d days",month:"about a month",months:"%d months",year:"about a year",years:"%d years"}},inWords:function(g){var h=this.settings.strings,k=h.prefixAgo,p=h.suffixAgo||h.ago;if(this.settings.allowFuture){if(g<
0)k=h.prefixFromNow,p=h.suffixFromNow||h.fromNow;g=Math.abs(g)}g/=1E3;var y=g/60,q=y/60,r=q/24,B=r/365,h=g<45&&o(h.seconds,Math.round(g))||g<90&&o(h.minute,1)||y<45&&o(h.minutes,Math.round(y))||y<90&&o(h.hour,1)||q<24&&o(h.hours,Math.round(q))||q<48&&o(h.day,1)||r<30&&o(h.days,Math.floor(r))||r<60&&o(h.month,1)||r<365&&o(h.months,Math.floor(r/30))||B<2&&o(h.year,1)||o(h.years,Math.floor(B));return e.trim([k,h,p].join(" "))},parse:function(g){g=e.trim(g);g=g.replace(/-/,"/").replace(/-/,"/");g=g.replace(/T/,
" ").replace(/Z/," UTC");g=g.replace(/([\+-]\d\d)\:?(\d\d)/," $1$2");return new Date(g)},datetime:function(g){g=e(g).get(0).tagName.toLowerCase()=="time"?e(g).attr("datetime"):e(g).attr("title");return p.parse(g)}});e.fn.timeago=function(){var e=this;e.each(h);var k=p.settings;k.refreshMillis>0&&setInterval(function(){e.each(h)},k.refreshMillis);return e};document.createElement("abbr");document.createElement("time")})(jQuery);
jQuery.timeago.settings.strings={prefixAgo:"vor",prefixFromNow:"in",suffixAgo:"",suffixFromNow:"",seconds:"wenigen Sekunden",minute:"etwa einer Minute",minutes:"%d Minuten",hour:"etwa einer Stunde",hours:"%d Stunden",day:"etwa einem Tag",days:"%d Tagen",month:"etwa einem Monat",months:"%d Monaten",year:"etwa einem Jahr",years:"%d Jahren"};
(function(e){var h=/(^|["'(]|&lt;|\s)(www\..+?\..+?)(([:?]|\.+)?(\s|$)|&gt;|[)"',])/g,k=/(^|["'(]|&lt;|\s)(((https?|ftp):\/\/|mailto:).+?)(([:?]|\.+)?(\s|$)|&gt;|[)"',])/g,o=function(e){return e.replace(h,'$1<a target="_blank" href="<``>://$2">$2</a>$3').replace(k,'$1<a target="_blank" href="$2">$2</a>$5').replace(/"<``>/g,'"http')},p=e.fn.linkify=function(g){g=g||{};typeof g=="string"&&(g={use:g});var g=g.use,h=p.plugins||{},k=[o],A;if(g)for(var g=e.isArray(g)?g:e.trim(g).split(/ *, */),y,q=0,r=
g.length;q<r;q++)y=g[q],(y=h[y])&&k.push(y);else for(y in h)k.push(h[y]);return this.each(function(){for(var g=this.childNodes,h=g.length;h--;){var q=g[h];if(q.nodeType==3){var o=q.nodeValue;if(o.length>1&&/\S/.test(o)){var n,c;A=A||e("<div/>")[0];A.innerHTML="";A.appendChild(q.cloneNode(false));for(var p=A.childNodes,r=0,t;t=k[r];r++)for(var y=p.length,J;y--;)if(J=p[y],J.nodeType==3)o=J.nodeValue,o.length>1&&/\S/.test(o)&&(c=o,o=o.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;"),o=
e.isFunction(t)?t(o):o.replace(t.re,t.tmpl),n=n||c!=o,c!=o&&e(J).after(o).remove());o=A.innerHTML;n&&e(q).after(o).remove()}}else q.nodeType==1&&!/^(a|button|textarea)$/i.test(q.tagName)&&arguments.callee.call(q)}})};p.plugins={}})(jQuery);
(function(e){function h(e){e=parseInt(e).toString(16);return e.length<2?"0"+e:e}function k(g){for(;g;){var k=e.css(g,"backgroundColor");if(k&&k!="transparent"&&k!="rgba(0, 0, 0, 0)")return k.indexOf("rgb")>=0?(g=k.match(/\d+/g),"#"+h(g[0])+h(g[1])+h(g[2])):k;if(g.nodeName.toLowerCase()=="html")break;g=g.parentNode}return"#ffffff"}function o(e,g,h){switch(e){case "round":return Math.round(h*(1-Math.cos(Math.asin(g/h))));case "cool":return Math.round(h*(1+Math.cos(Math.asin(g/h))));case "sharp":return Math.round(h*
(1-Math.cos(Math.acos(g/h))));case "bite":return Math.round(h*Math.cos(Math.asin((h-g-1)/h)));case "slide":return Math.round(h*Math.atan2(g,h/g));case "jut":return Math.round(h*Math.atan2(h,h-g-1));case "curl":return Math.round(h*Math.atan(g));case "tear":return Math.round(h*Math.cos(g));case "wicked":return Math.round(h*Math.tan(g));case "long":return Math.round(h*Math.sqrt(g));case "sculpt":return Math.round(h*Math.log(h-g-1,h));case "dogfold":case "dog":return g&1?g+1:h;case "dog2":return g&2?
g+1:h;case "dog3":return g&3?g+1:h;case "fray":return g%2*h;case "notch":return h;case "bevelfold":case "bevel":return g+1}}var p=document.createElement("div").style,g=p.MozBorderRadius!==void 0,t=p.WebkitBorderRadius!==void 0,v=p.borderRadius!==void 0||p.BorderRadius!==void 0,p=document.documentMode||0,A=e.browser.msie&&(e.browser.version<8&&!p||p<8),y=e.browser.msie&&function(){var e=document.createElement("div");try{e.style.setExpression("width","0+0"),e.style.removeExpression("width")}catch(g){return false}return true}();
e.support=e.support||{};e.support.borderRadius=g||t||v;e.fn.corner=function(h){if(this.length==0){if(!e.isReady&&this.selector){var p=this.selector,B=this.context;e(function(){e(p,B).corner(h)})}return this}return this.each(function(){var p,r,B,n,c=e(this),x=[c.attr(e.fn.corner.defaults.metaAttr)||"",h||""].join(" ").toLowerCase(),P=/keep/.test(x),E=(x.match(/cc:(#[0-9a-f]+)/)||[])[1];p=(x.match(/sc:(#[0-9a-f]+)/)||[])[1];var C=parseInt((x.match(/(\d+)px/)||[])[1])||10,J=(x.match(/round|bevelfold|bevel|notch|bite|cool|sharp|slide|jut|curl|tear|fray|wicked|sculpt|long|dog3|dog2|dogfold|dog/)||
["round"])[0],ba=/dogfold|bevelfold/.test(x),U={T:0,B:1},x={TL:/top|tl|left/.test(x),TR:/top|tr|right/.test(x),BL:/bottom|bl|left/.test(x),BR:/bottom|br|right/.test(x)},K,H,z,D,L,I;!x.TL&&!x.TR&&!x.BL&&!x.BR&&(x={TL:1,TR:1,BL:1,BR:1});if(e.fn.corner.defaults.useNative&&J=="round"&&(v||g||t)&&!E&&!p)x.TL&&c.css(v?"border-top-left-radius":g?"-moz-border-radius-topleft":"-webkit-border-top-left-radius",C+"px"),x.TR&&c.css(v?"border-top-right-radius":g?"-moz-border-radius-topright":"-webkit-border-top-right-radius",
C+"px"),x.BL&&c.css(v?"border-bottom-left-radius":g?"-moz-border-radius-bottomleft":"-webkit-border-bottom-left-radius",C+"px"),x.BR&&c.css(v?"border-bottom-right-radius":g?"-moz-border-radius-bottomright":"-webkit-border-bottom-right-radius",C+"px");else{c=document.createElement("div");e(c).css({overflow:"hidden",height:"1px",minHeight:"1px",fontSize:"1px",backgroundColor:p||"transparent",borderStyle:"solid"});p=parseInt(e.css(this,"paddingTop"))||0;r=parseInt(e.css(this,"paddingRight"))||0;B=parseInt(e.css(this,
"paddingBottom"))||0;n=parseInt(e.css(this,"paddingLeft"))||0;if(typeof this.style.zoom!=void 0)this.style.zoom=1;if(!P)this.style.border="none";c.style.borderColor=E||k(this.parentNode);P=e(this).outerHeight();for(K in U)if((E=U[K])&&(x.BL||x.BR)||!E&&(x.TL||x.TR)){c.style.borderStyle="none "+(x[K+"R"]?"solid":"none")+" none "+(x[K+"L"]?"solid":"none");H=document.createElement("div");e(H).addClass("jquery-corner");z=H.style;E?this.appendChild(H):this.insertBefore(H,this.firstChild);if(E&&P!="auto"){if(e.css(this,
"position")=="static")this.style.position="relative";z.position="absolute";z.bottom=z.left=z.padding=z.margin="0";y?z.setExpression("width","this.parentNode.offsetWidth"):z.width="100%"}else if(!E&&e.browser.msie){if(e.css(this,"position")=="static")this.style.position="relative";z.position="absolute";z.top=z.left=z.right=z.padding=z.margin="0";y?(D=(parseInt(e.css(this,"borderLeftWidth"))||0)+(parseInt(e.css(this,"borderRightWidth"))||0),z.setExpression("width","this.parentNode.offsetWidth - "+D+
'+ "px"')):z.width="100%"}else z.position="relative",z.margin=!E?"-"+p+"px -"+r+"px "+(p-C)+"px -"+n+"px":B-C+"px -"+r+"px -"+B+"px -"+n+"px";for(z=0;z<C;z++)D=Math.max(0,o(J,z,C)),L=c.cloneNode(false),L.style.borderWidth="0 "+(x[K+"R"]?D:0)+"px 0 "+(x[K+"L"]?D:0)+"px",E?H.appendChild(L):H.insertBefore(L,H.firstChild);if(ba&&e.support.boxModel&&(!E||!A))for(I in x)if(x[I]&&(!E||!(I=="TL"||I=="TR")))if(E||!(I=="BL"||I=="BR")){z={position:"absolute",border:"none",margin:0,padding:0,overflow:"hidden",
backgroundColor:c.style.borderColor};D=e("<div/>").css(z).css({width:C+"px",height:"1px"});switch(I){case "TL":D.css({bottom:0,left:0});break;case "TR":D.css({bottom:0,right:0});break;case "BL":D.css({top:0,left:0});break;case "BR":D.css({top:0,right:0})}H.appendChild(D[0]);z=e("<div/>").css(z).css({top:0,bottom:0,width:"1px",height:C+"px"});switch(I){case "TL":z.css({left:C});break;case "TR":z.css({right:C});break;case "BL":z.css({left:C});break;case "BR":z.css({right:C})}H.appendChild(z[0])}}}})};
e.fn.uncorner=function(){if(v||g||t)this.css(v?"border-radius":g?"-moz-border-radius":"-webkit-border-radius",0);e("div.jquery-corner",this).remove();return this};e.fn.corner.defaults={useNative:true,metaAttr:"data-corner"}})(jQuery);
(function(e){function h(k){this.options=e.extend({},h.defaults,k)}h.instances=[];h.repositionAll=function(){for(var k=0;k<h.instances.length;k++)if(h.instances[k]){var o=h.instances[k].options;(new h(o)).positionImg(e(h.instances[k].target),e.data(h.instances[k].target,"busy"),o.position)}};h.prototype.hide=function(k){k.each(function(){var k=e.data(this,"busy");k&&k.remove();e(this).css("visibility","");e.data(this,"busy",null);for(k=0;k<h.instances.length;k++)h.instances[k]!=null&&h.instances[k].target==
this&&(h.instances[k]=null)})};h.prototype.show=function(k){var o=this;k.each(function(){if(!e.data(this,"busy")){var k=e(this),g=o.buildImg();g.css("visibility","hidden");g.load(function(){o.positionImg(k,g,o.options.position);g.css("visibility","")});e("body").append(g);o.options.hide&&k.css("visibility","hidden");e.data(this,"busy",g);h.instances.push({target:this,options:o.options})}})};h.prototype.preload=function(){var h=this.buildImg();h.css("visibility","hidden");h.load(function(){e(this).remove()});
e("body").append(h)};h.prototype.buildImg=function(){var h="<img src='"+this.options.img+"' class='busy-indicator' alt='"+this.options.alt+"' title='"+this.options.title+"'";this.options.width&&(h+=" width='"+this.options.width+"'");this.options.height&&(h+=" height='"+this.options.height+"'");h+=" />";return e(h)};h.prototype.positionImg=function(e,h,p){var g=e.offset(),t=e.outerWidth(),e=e.outerHeight(),v=h.outerWidth(),A=h.outerHeight(),p=p=="left"?g.left-v-this.options.offset:p=="right"?g.left+
t+this.options.offset:g.left+(t-v)/2,g=g.top+(e-A)/2+this.options.offsetTop;h.css("position","absolute");h.css("left",p+"px");h.css("top",g+"px")};h.defaults={img:"/img/ajax-loader.gif",alt:"Please wait...",title:"Please wait...",hide:true,position:"center",zIndex:1001,width:null,height:null,offset:10,offsetTop:0};e.fn.busy=function(k,o){if(e.inArray(k,["clear","hide","remove"])!=-1)(new h(k)).hide(e(this));else if(k=="defaults")e.extend(h.defaults,o||{});else if(k=="preload")(new h(k)).preload();
else if(k=="reposition")h.repositionAll();else return(new h(k)).show(e(this)),e(this)}})(jQuery);
(function(e){e.fn.ajaxShowcase=function(h){var k={callback:null,itemsPerPage:"0",pageCount:"1"};return this.each(function(){h?e.extend(k,h):alert("not tested and probably not working with default params!");var o=0,p=e(this),g=p.find("div.conveyor"),t=p.find("a.prevlink"),v=p.find("a.nextlink");g.find("li:first").width();var A=p.find("div.showcase").width();this.updateUiState=function(){g.find("ul").each(function(g,h){Math.abs(g-o)>1?e(h).children().hide():e(h).children().show()});o==0?t.addClass("disabled"):
t.removeClass("disabled");o<k.pageCount-1?v.addClass("disabled"):v.removeClass("disabled")};this.updateUiState();t.bind("click",{showcase:this},function(e){o>0&&(o--,g.animate({left:"+="+A},{complete:e.data.showcase.updateUiState}))});v.bind("click",{showcase:this},function(e){o<k.pageCount-1&&(o++,g.animate({left:"-="+A},{complete:e.data.showcase.updateUiState}),k.callback!=null&&wicketAjaxGet(k.callback),e=g.find("div.appendTarget > ul").parent(),e.replaceWith(e.contents()))})})}})(jQuery);
(function(e){e.fn.ajaxCarousel=function(h){var k={callback:null,itemsPerPage:"4",pageCount:"1",itemsToSlide:"4",itemsPerItemset:"12",itemsTotal:"0"};return this.each(function(){h?e.extend(k,h):alert("not tested and probably not working with default params!");var o=0,p=k.itemsToSlide,g=k.itemsPerPage-1,t=e(this),v=t.find("div.conveyor"),A=t.find("a.prevlink"),y=t.find("a.nextlink");t.find("div.showcase").width();this.getItemWidth=function(){return v.find("li:first").width()};this.updateUiState=function(){v.find("ul").each(function(h,
o){Math.round((g-p)/k.itemsPerItemset)-2>h?e(o).children().hide():e(o).children().show()});g>p?A.removeClass("disabled"):A.addClass("disabled");g<k.itemsTotal-1?y.removeClass("disabled"):y.addClass("disabled")};this.updateUiState();t.bind("carouselShowLess",{bar:"bam"},function(){p=k.itemsToSlide;g-=4;console.log("indexOfLastVisibleItem: "+g+"   current: "+o)});t.bind("carouselShowMore",{bar:"bam"},function(){p=2*k.itemsToSlide;g+=4;console.log("indexOfLastVisibleItem: "+g+"   current: "+o)});A.bind("click",
{showcase:this},function(e){g>p&&(g+1-p>=p?(v.animate({left:"+="+p*e.data.showcase.getItemWidth()},{complete:e.data.showcase.updateUiState}),console.log("if: "+g+" gt0")):(v.animate({left:"+="+(g-p+1)*e.data.showcase.getItemWidth()},{complete:e.data.showcase.updateUiState}),console.log("else: "+g+" lt0")),o--,g-=p,console.log("indexOfLastVisibleItem: "+g+"   current: "+o))});y.bind("click",{showcase:this},function(e){g<k.itemsTotal-1&&(v.animate({left:"-="+p*e.data.showcase.getItemWidth()},{complete:e.data.showcase.updateUiState}),
k.callback!=null&&(e=v.find("ul").size()*k.itemsPerItemset,g+3*p>e&&(wicketAjaxGet(k.callback),e=v.find("div.appendTarget > ul").parent(),e.replaceWith(e.contents()))),o++,g+=p,console.log("indexOfLastVisibleItem: "+g+"   current: "+o))})})}})(jQuery);
(function(e){e.fn.extend({truncate:function(h){h=e.extend({width:"auto",after:"&hellip;",center:false,addclass:false,addtitle:false},h);return this.each(function(){var k=e(this);truncateWidth=e.fn.isNumber(h.width)?h.width:k.width();truncateWidth--;var o={fontFamily:k.css("fontFamily"),fontSize:k.css("fontSize"),fontStyle:k.css("fontStyle"),fontWeight:k.css("fontWeight"),"font-variant":k.css("font-variant"),"text-indent":k.css("text-indent"),"text-transform":k.css("text-transform"),"letter-spacing":k.css("letter-spacing"),
"word-spacing":k.css("word-spacing")},p=k.text(),o=e("<span/>").css(e.merge(o,{display:"none"})).appendTo("body");o.text(p);var g=o.width();o.text("");if(g>truncateWidth){if(h.center)for(i=1;o.width()<truncateWidth;){o.html(p.slice(0,i)+h.after+p.slice(-i));if(o.width()>truncateWidth){temp=p.slice(0,i-1)+h.after+p.slice(-i);o.html(temp);o.width()<=truncateWidth&&(truncatedText=temp);break}truncatedText=p.slice(0,i)+h.after+p.slice(-i);i++}else for(i=1;o.width()<truncateWidth;){o.html(p.slice(0,i)+
h.after);if(o.width()>truncateWidth)break;truncatedText=p.slice(0,i)+h.after;i++}o.remove();h.addclass&&k.addClass(h.addclass);h.addtitle&&k.attr("title",p);k.html(truncatedText)}})},isNumber:function(e){return!isNaN(parseFloat(e))&&isFinite(e)}})})(jQuery);(function(e){e.fn.replaceWithContents=function(){return this.each(function(){var h=e(this),k=h.contents();h.replaceWith(k)})}})(jQuery);
(function(e){jQuery.fn.extend({lazyLoad:function(){var h=e(window).data("lazyloaders");h||(h=[]);this.each(function(){h.push(this)});e(window).data("lazyloaders",h)},showComment:function(){return this.each(function(){var h=this.nextSibling;h.nodeType===8&&e(this).replaceWith(h.nodeValue)})}});e(window).load(function(){var h=e(window).data("lazyloaders");h&&h.length&&e(h).each(function(){e(this).showComment()})})})(jQuery);
(function(e){function h(){var g=e(this);e(g.data(o)).css("display","none")}function k(){var g=this;setTimeout(function(){var h=e(g);e(h.data(o)).css("top",h.position().top+"px").css("left",h.position().left+"px").css("display",h.val()?"none":"block")},200)}var o="PLACEHOLDER-LABEL",p=false,g={labelClass:"placeholder"},t=document.createElement("input");"placeholder"in t?(e.fn.placeholder=e.fn.unplaceholder=function(){},delete t):(delete t,e.fn.placeholder=function(t){p||(e(".PLACEHOLDER-INPUT").live("click",
h).live("focusin",h).live("focusout",k),p=bound=true);var A=e.extend(g,t);this.each(function(){var g=Math.random().toString(32).replace(/\./,""),p=e(this),r=e('<label style="position:absolute;display:none;top:0;left:0;"></label>');p.attr("placeholder")&&p.data("PLACEHOLDER-INPUT")!=="PLACEHOLDER-INPUT"&&(p.attr("id")||p.attr("id","input_"+g),r.attr("id",p.attr("id")+"_placeholder").data("PLACEHOLDER-INPUT","#"+p.attr("id")).attr("for",p.attr("id")).addClass(A.labelClass).addClass(A.labelClass+"-for-"+
this.tagName.toLowerCase()).addClass(o).text(p.attr("placeholder")),p.data(o,"#"+r.attr("id")).data("PLACEHOLDER-INPUT","PLACEHOLDER-INPUT").addClass("PLACEHOLDER-INPUT").after(r),h.call(this),k.call(this))})},e.fn.unplaceholder=function(){this.each(function(){var g=e(this),h=e(g.data(o));g.data("PLACEHOLDER-INPUT")==="PLACEHOLDER-INPUT"&&(h.remove(),g.removeData("PLACEHOLDER-INPUT").removeData(o).removeClass("PLACEHOLDER-INPUT"))})})})(jQuery);
