(function(v,y){function aa(a){return c.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:false}function Q(a){if(!ta[a]){var b=c("<"+a+">").appendTo("body"),d=b.css("display");b.remove();if(d==="none"||d==="")d="block";ta[a]=d}return ta[a]}function E(a,b){var d={};c.each(Aa.concat.apply([],Aa.slice(0,b)),function(){d[this]=a});return d}function R(){try{return new v.ActiveXObject("Microsoft.XMLHTTP")}catch(a){}}function S(){try{return new v.XMLHttpRequest}catch(a){}}function X(){c(v).unload(function(){for(var a in fa)fa[a](0,
1)})}function Y(a,b){a.dataFilter&&(b=a.dataFilter(b,a.dataType));var d=a.dataTypes,e={},f,h,j=d.length,p,o=d[0],m,s,B,F,D;for(f=1;f<j;f++){if(f===1)for(h in a.converters)typeof h==="string"&&(e[h.toLowerCase()]=a.converters[h]);m=o;o=d[f];if(o==="*")o=m;else if(m!=="*"&&m!==o){s=m+" "+o;B=e[s]||e["* "+o];if(!B){D=y;for(F in e){p=F.split(" ");if(p[0]===m||p[0]==="*")if(D=e[p[1]+" "+o]){F=e[F];F===true?(B=D):D===true&&(B=F);break}}}!B&&!D&&c.error("No conversion from "+s.replace(" "," to "));B!==true&&
(b=B?B(b):D(F(b)))}}return b}function bb(a,b,d){var e=a.contents,f=a.dataTypes,h=a.responseFields,j,p,o,m;for(p in h)p in d&&(b[h[p]]=d[p]);for(;f[0]==="*";){f.shift();j===y&&(j=a.mimeType||b.getResponseHeader("content-type"))}if(j)for(p in e)if(e[p]&&e[p].test(j)){f.unshift(p);break}if(f[0]in d)o=f[0];else{for(p in d){if(!f[0]||a.converters[p+" "+f[0]]){o=p;break}m||(m=p)}o=o||m}if(o){o!==f[0]&&f.unshift(o);return d[o]}}function ua(a,b,d,e){if(c.isArray(b)&&b.length)c.each(b,function(h,j){d||cb.test(a)?
e(a,j):ua(a+"["+(typeof j==="object"||c.isArray(j)?h:"")+"]",j,d,e)});else if(d||b==null||typeof b!=="object")e(a,b);else if(c.isArray(b)||c.isEmptyObject(b))e(a,"");else for(var f in b)ua(a+"["+f+"]",b[f],d,e)}function ja(a,b,d,e,f,h){f=f||b.dataTypes[0];h=h||{};h[f]=true;f=a[f];for(var j=0,p=f?f.length:0,o=a===va,m;j<p&&(o||!m);j++){m=f[j](b,d,e);typeof m==="string"&&(!o||h[m]?(m=y):(b.dataTypes.unshift(m),m=ja(a,b,d,e,m,h)))}(o||!m)&&!h["*"]&&(m=ja(a,b,d,e,"*",h));return m}function Ba(a){return function(b,
d){typeof b!=="string"&&(d=b,b="*");if(c.isFunction(d)){b=b.toLowerCase().split(Ca);for(var e=0,f=b.length,h,j;e<f;e++){h=b[e];(j=/^\+/.test(h))&&(h=h.substr(1)||"*");h=a[h]=a[h]||[];h[j?"unshift":"push"](d)}}}}function Da(a,b,d){var e=b==="width"?a.offsetWidth:a.offsetHeight;if(d==="border")return e;c.each(b==="width"?db:eb,function(){d||(e-=parseFloat(c.css(a,"padding"+this))||0);d==="margin"?(e+=parseFloat(c.css(a,"margin"+this))||0):(e-=parseFloat(c.css(a,"border"+this+"Width"))||0)});return e}
function fb(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 ka(a){return"getElementsByTagName"in a?a.getElementsByTagName("*"):"querySelectorAll"in a?a.querySelectorAll("*"):[]}function Ea(a,b){if(b.nodeType===1){var d=b.nodeName.toLowerCase();b.clearAttributes();b.mergeAttributes(a);if(d==="object")b.outerHTML=a.outerHTML;else if(d!=="input"||a.type!=="checkbox"&&a.type!=="radio")if(d===
"option")b.selected=a.defaultSelected;else{if(d==="input"||d==="textarea")b.defaultValue=a.defaultValue}else{a.checked&&(b.defaultChecked=b.checked=a.checked);b.value!==a.value&&(b.value=a.value)}b.removeAttribute(c.expando)}}function Fa(a,b){if(b.nodeType===1&&c.hasData(a)){var d=c.expando,e=c.data(a),f=c.data(b,e);if(e=e[d]){a=e.events;f=f[d]=c.extend({},e);if(a){delete f.handle;f.events={};for(var h in a){d=0;for(e=a[h].length;d<e;d++)c.event.add(b,h+(a[h][d].namespace?".":"")+a[h][d].namespace,
a[h][d],a[h][d].data)}}}}}function gb(a){return c.nodeName(a,"table")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function Ga(a,b,d){if(c.isFunction(b))return c.grep(a,function(f,h){return!!b.call(f,h,f)===d});if(b.nodeType)return c.grep(a,function(f){return f===b===d});if(typeof b==="string"){var e=c.grep(a,function(f){return f.nodeType===1});if(hb.test(b))return c.filter(b,e,!d);b=c.filter(b,e)}return c.grep(a,function(f){return c.inArray(f,b)>=0===
d})}function Ha(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function la(a,b){return(a&&a!=="*"?a+".":"")+b.replace(ib,"`").replace(jb,"&")}function kb(a){var b,d,e,f,h,j,p,o,m,s,B,F=[];f=[];h=c._data(this,"events");if(a.liveFired!==this&&h&&h.live&&!a.target.disabled&&(!a.button||a.type!=="click")){a.namespace&&(B=new RegExp("(^|\\.)"+a.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)"));a.liveFired=this;var D=h.live.slice(0);for(p=0;p<D.length;p++){h=D[p];h.origType.replace(ma,"")===
a.type?f.push(h.selector):D.splice(p--,1)}f=c(a.target).closest(f,a.currentTarget);o=0;for(m=f.length;o<m;o++){s=f[o];for(p=0;p<D.length;p++){h=D[p];if(s.selector===h.selector&&(!B||B.test(h.namespace))&&!s.elem.disabled){j=s.elem;e=null;if(h.preType==="mouseenter"||h.preType==="mouseleave"){a.type=h.preType;e=c(a.relatedTarget).closest(h.selector)[0]}(!e||e!==j)&&F.push({elem:j,handleObj:h,level:s.level})}}}o=0;for(m=F.length;o<m;o++){f=F[o];if(d&&f.level>d)break;a.currentTarget=f.elem;a.data=f.handleObj.data;
a.handleObj=f.handleObj;B=f.handleObj.origHandler.apply(f.elem,arguments);if(B===false||a.isPropagationStopped()){d=f.level;B===false&&(b=false);if(a.isImmediatePropagationStopped())break}}return b}}function Ia(a,b,d){var e=c.extend({},d[0]);e.type=a;e.originalEvent={};e.liveFired=y;c.event.handle.call(b,e);e.isDefaultPrevented()&&d[0].preventDefault()}function na(){return true}function ga(){return false}function wa(a){for(var b in a)if(b!=="toJSON")return false;return true}function Ja(a,b,d){if(d===
y&&a.nodeType===1){d=a.getAttribute("data-"+b);if(typeof d==="string"){try{d=d==="true"?true:d==="false"?false:d==="null"?null:c.isNaN(d)?lb.test(d)?c.parseJSON(d):d:parseFloat(d)}catch(e){}c.data(a,b,d)}else d=y}return d}var x=v.document,c=function(){function a(){if(!b.isReady){try{x.documentElement.doScroll("left")}catch(l){setTimeout(a,1);return}b.ready()}}var b=function(l,q){return new b.fn.init(l,q,f)},d=v.jQuery,e=v.$,f,h=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]+)$)/,j=/\S/,p=/^\s+/,o=/\s+$/,m=
/\d/,s=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,B=/^[\],:{}\s]*$/,F=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,D=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,J=/(?:^|:|,)(?:\s*\[)+/g,N=/(webkit)[ \/]([\w.]+)/,L=/(opera)(?:.*version)?[ \/]([\w.]+)/,U=/(msie) ([\w.]+)/,W=/(mozilla)(?:.*? rv:([\w.]+))?/,g=navigator.userAgent,k=false,n,r="then done fail isResolved isRejected promise".split(" "),t,w=Object.prototype.toString,C=Object.prototype.hasOwnProperty,A=Array.prototype.push,H=Array.prototype.slice,
P=String.prototype.trim,O=Array.prototype.indexOf,T={};b.fn=b.prototype={constructor:b,init:function(l,q,u){var z,G;if(!l)return this;if(l.nodeType){this.context=this[0]=l;this.length=1;return this}if(l==="body"&&!q&&x.body){this.context=x;this[0]=x.body;this.selector="body";this.length=1;return this}if(typeof l==="string"){z=h.exec(l);if(!z||!z[1]&&q)return!q||q.jquery?(q||u).find(l):this.constructor(q).find(l);if(z[1]){G=(q=q instanceof b?q[0]:q)?q.ownerDocument||q:x;(u=s.exec(l))?b.isPlainObject(q)?
(l=[x.createElement(u[1])],b.fn.attr.call(l,q,true)):(l=[G.createElement(u[1])]):(u=b.buildFragment([z[1]],[G]),l=(u.cacheable?b.clone(u.fragment):u.fragment).childNodes);return b.merge(this,l)}if((q=x.getElementById(z[2]))&&q.parentNode){if(q.id!==z[2])return u.find(l);this.length=1;this[0]=q}this.context=x;this.selector=l;return this}if(b.isFunction(l))return u.ready(l);l.selector!==y&&(this.selector=l.selector,this.context=l.context);return b.makeArray(l,this)},selector:"",jquery:"1.5.1",length:0,
size:function(){return this.length},toArray:function(){return H.call(this,0)},get:function(l){return l==null?this.toArray():l<0?this[this.length+l]:this[l]},pushStack:function(l,q,u){var z=this.constructor();b.isArray(l)?A.apply(z,l):b.merge(z,l);z.prevObject=this;z.context=this.context;q==="find"?(z.selector=this.selector+(this.selector?" ":"")+u):q&&(z.selector=this.selector+"."+q+"("+u+")");return z},each:function(l,q){return b.each(this,l,q)},ready:function(l){b.bindReady();n.done(l);return this},
eq:function(l){return l===-1?this.slice(l):this.slice(l,+l+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(H.apply(this,arguments),"slice",H.call(arguments).join(","))},map:function(l){return this.pushStack(b.map(this,function(q,u){return l.call(q,u,q)}))},end:function(){return this.prevObject||this.constructor(null)},push:A,sort:[].sort,splice:[].splice};b.fn.init.prototype=b.fn;b.extend=b.fn.extend=function(){var l,q,u,z,G,I,K=arguments[0]||
{},M=1,Z=arguments.length,ba=false;typeof K==="boolean"&&(ba=K,K=arguments[1]||{},M=2);typeof K!=="object"&&!b.isFunction(K)&&(K={});for(Z===M&&(K=this,--M);M<Z;M++)if((l=arguments[M])!=null)for(q in l){u=K[q];z=l[q];if(K!==z)ba&&z&&(b.isPlainObject(z)||(G=b.isArray(z)))?(G?(G=false,I=u&&b.isArray(u)?u:[]):(I=u&&b.isPlainObject(u)?u:{}),K[q]=b.extend(ba,I,z)):z!==y&&(K[q]=z)}return K};b.extend({noConflict:function(l){v.$=e;l&&(v.jQuery=d);return b},isReady:false,readyWait:1,ready:function(l){l===
true&&b.readyWait--;if(!b.readyWait||l!==true&&!b.isReady){if(!x.body)return setTimeout(b.ready,1);b.isReady=true;if(!(l!==true&&--b.readyWait>0)){n.resolveWith(x,[b]);b.fn.trigger&&b(x).trigger("ready").unbind("ready")}}},bindReady:function(){if(!k){k=true;if(x.readyState==="complete")return setTimeout(b.ready,1);if(x.addEventListener){x.addEventListener("DOMContentLoaded",t,false);v.addEventListener("load",b.ready,false)}else if(x.attachEvent){x.attachEvent("onreadystatechange",t);v.attachEvent("onload",
b.ready);var l=false;try{l=v.frameElement==null}catch(q){}x.documentElement.doScroll&&l&&a()}}},isFunction:function(l){return b.type(l)==="function"},isArray:Array.isArray||function(l){return b.type(l)==="array"},isWindow:function(l){return l&&typeof l==="object"&&"setInterval"in l},isNaN:function(l){return l==null||!m.test(l)||isNaN(l)},type:function(l){return l==null?String(l):T[w.call(l)]||"object"},isPlainObject:function(l){if(!l||b.type(l)!=="object"||l.nodeType||b.isWindow(l))return false;if(l.constructor&&
!C.call(l,"constructor")&&!C.call(l.constructor.prototype,"isPrototypeOf"))return false;var q;for(q in l);return q===y||C.call(l,q)},isEmptyObject:function(l){for(var q in l)return false;return true},error:function(l){throw l;},parseJSON:function(l){if(typeof l!=="string"||!l)return null;l=b.trim(l);if(B.test(l.replace(F,"@").replace(D,"]").replace(J,"")))return v.JSON&&v.JSON.parse?v.JSON.parse(l):(new Function("return "+l))();b.error("Invalid JSON: "+l)},parseXML:function(l,q,u){v.DOMParser?(u=
new DOMParser,q=u.parseFromString(l,"text/xml")):(q=new ActiveXObject("Microsoft.XMLDOM"),q.async="false",q.loadXML(l));u=q.documentElement;(!u||!u.nodeName||u.nodeName==="parsererror")&&b.error("Invalid XML: "+l);return q},noop:function(){},globalEval:function(l){if(l&&j.test(l)){var q=x.head||x.getElementsByTagName("head")[0]||x.documentElement,u=x.createElement("script");b.support.scriptEval()?u.appendChild(x.createTextNode(l)):(u.text=l);q.insertBefore(u,q.firstChild);q.removeChild(u)}},nodeName:function(l,
q){return l.nodeName&&l.nodeName.toUpperCase()===q.toUpperCase()},each:function(l,q,u){var z,G=0,I=l.length,K=I===y||b.isFunction(l);if(u)if(K)for(z in l){if(q.apply(l[z],u)===false)break}else for(;G<I;){if(q.apply(l[G++],u)===false)break}else if(K)for(z in l){if(q.call(l[z],z,l[z])===false)break}else for(u=l[0];G<I&&q.call(u,G,u)!==false;u=l[++G]);return l},trim:P?function(l){return l==null?"":P.call(l)}:function(l){return l==null?"":(l+"").replace(p,"").replace(o,"")},makeArray:function(l,q){q=
q||[];if(l!=null){var u=b.type(l);l.length==null||u==="string"||u==="function"||u==="regexp"||b.isWindow(l)?A.call(q,l):b.merge(q,l)}return q},inArray:function(l,q){if(q.indexOf)return q.indexOf(l);for(var u=0,z=q.length;u<z;u++)if(q[u]===l)return u;return-1},merge:function(l,q){var u=l.length,z=0;if(typeof q.length==="number")for(var G=q.length;z<G;z++)l[u++]=q[z];else for(;q[z]!==y;)l[u++]=q[z++];l.length=u;return l},grep:function(l,q,u){var z=[],G;u=!!u;for(var I=0,K=l.length;I<K;I++){G=!!q(l[I],
I);u!==G&&z.push(l[I])}return z},map:function(l,q,u){for(var z=[],G,I=0,K=l.length;I<K;I++){G=q(l[I],I,u);G!=null&&(z[z.length]=G)}return z.concat.apply([],z)},guid:1,proxy:function(l,q,u){arguments.length===2&&(typeof q==="string"?(u=l,l=u[q],q=y):q&&!b.isFunction(q)&&(u=q,q=y));!q&&l&&(q=function(){return l.apply(u||this,arguments)});l&&(q.guid=l.guid=l.guid||q.guid||b.guid++);return q},access:function(l,q,u,z,G,I){var K=l.length;if(typeof q==="object"){for(var M in q)b.access(l,M,q[M],z,G,u);return l}if(u!==
y){z=!I&&z&&b.isFunction(u);for(M=0;M<K;M++)G(l[M],q,z?u.call(l[M],M,G(l[M],q)):u,I);return l}return K?G(l[0],q):y},now:function(){return(new Date).getTime()},_Deferred:function(){var l=[],q,u,z,G={done:function(){if(!z){var I=arguments,K,M,Z,ba,oa;q&&(oa=q,q=0);K=0;for(M=I.length;K<M;K++){Z=I[K];ba=b.type(Z);ba==="array"?G.done.apply(G,Z):ba==="function"&&l.push(Z)}oa&&G.resolveWith(oa[0],oa[1])}return this},resolveWith:function(I,K){if(!z&&!q&&!u){u=1;try{for(;l[0];)l.shift().apply(I,K)}catch(M){throw M;
}finally{q=[I,K];u=0}}return this},resolve:function(){G.resolveWith(b.isFunction(this.promise)?this.promise():this,arguments);return this},isResolved:function(){return u||q},cancel:function(){z=1;l=[];return this}};return G},Deferred:function(l){var q=b._Deferred(),u=b._Deferred(),z;b.extend(q,{then:function(G,I){q.done(G).fail(I);return this},fail:u.done,rejectWith:u.resolveWith,reject:u.resolve,isRejected:u.isResolved,promise:function(G){if(G==null){if(z)return z;z=G={}}for(var I=r.length;I--;)G[r[I]]=
q[r[I]];return G}});q.done(u.cancel).fail(q.cancel);delete q.cancel;l&&l.call(q,q);return q},when:function(l){var q=arguments.length,u=q<=1&&l&&b.isFunction(l.promise)?l:b.Deferred(),z=u.promise();if(q>1){for(var G=H.call(arguments,0),I=q,K=function(M){return function(Z){G[M]=arguments.length>1?H.call(arguments,0):Z;--I||u.resolveWith(z,G)}};q--;)(l=G[q])&&b.isFunction(l.promise)?l.promise().then(K(q),u.reject):--I;I||u.resolveWith(z,G)}else u!==l&&u.resolve(l);return z},uaMatch:function(l){l=l.toLowerCase();
l=N.exec(l)||L.exec(l)||U.exec(l)||l.indexOf("compatible")<0&&W.exec(l)||[];return{browser:l[1]||"",version:l[2]||"0"}},sub:function(){function l(u,z){return new l.fn.init(u,z)}b.extend(true,l,this);l.superclass=this;l.fn=l.prototype=this();l.fn.constructor=l;l.subclass=this.subclass;l.fn.init=function u(u,z){z&&z instanceof b&&!(z instanceof l)&&(z=l(z));return b.fn.init.call(this,u,z,q)};l.fn.init.prototype=l.fn;var q=l(x);return l},browser:{}});n=b._Deferred();b.each("Boolean Number String Function Array Date RegExp Object".split(" "),
function(l,q){T["[object "+q+"]"]=q.toLowerCase()});g=b.uaMatch(g);g.browser&&(b.browser[g.browser]=true,b.browser.version=g.version);b.browser.webkit&&(b.browser.safari=true);O&&(b.inArray=function(l,q){return O.call(q,l)});j.test(" ")&&(p=/^[\s\xA0]+/,o=/[\s\xA0]+$/);f=b(x);x.addEventListener?(t=function(){x.removeEventListener("DOMContentLoaded",t,false);b.ready()}):x.attachEvent&&(t=function(){x.readyState==="complete"&&(x.detachEvent("onreadystatechange",t),b.ready())});return b}();(function(){c.support=
{};var a=x.createElement("div");a.style.display="none";a.innerHTML="   <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";var b=a.getElementsByTagName("*"),d=a.getElementsByTagName("a")[0],e=x.createElement("select"),f=e.appendChild(x.createElement("option")),h=a.getElementsByTagName("input")[0];if(b&&b.length&&d){c.support={leadingWhitespace:a.firstChild.nodeType===3,tbody:!a.getElementsByTagName("tbody").length,htmlSerialize:!!a.getElementsByTagName("link").length,
style:/red/.test(d.getAttribute("style")),hrefNormalized:d.getAttribute("href")==="/a",opacity:/^0.55$/.test(d.style.opacity),cssFloat:!!d.style.cssFloat,checkOn:h.value==="on",optSelected:f.selected,deleteExpando:true,optDisabled:false,checkClone:false,noCloneEvent:true,noCloneChecked:true,boxModel:null,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableHiddenOffsets:true};h.checked=true;c.support.noCloneChecked=h.cloneNode(true).checked;e.disabled=true;c.support.optDisabled=!f.disabled;
var j=null;c.support.scriptEval=function(){if(j===null){var o=x.documentElement,m=x.createElement("script"),s="script"+c.now();try{m.appendChild(x.createTextNode("window."+s+"=1;"))}catch(B){}o.insertBefore(m,o.firstChild);v[s]?(j=true,delete v[s]):(j=false);o.removeChild(m)}return j};try{delete a.test}catch(p){c.support.deleteExpando=false}!a.addEventListener&&a.attachEvent&&a.fireEvent&&(a.attachEvent("onclick",function o(){c.support.noCloneEvent=false;a.detachEvent("onclick",o)}),a.cloneNode(true).fireEvent("onclick"));
a=x.createElement("div");a.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";b=x.createDocumentFragment();b.appendChild(a.firstChild);c.support.checkClone=b.cloneNode(true).cloneNode(true).lastChild.checked;c(function(){var o=x.createElement("div"),m=x.getElementsByTagName("body")[0];if(m){o.style.width=o.style.paddingLeft="1px";m.appendChild(o);c.boxModel=c.support.boxModel=o.offsetWidth===2;"zoom"in o.style&&(o.style.display="inline",o.style.zoom=1,c.support.inlineBlockNeedsLayout=
o.offsetWidth===2,o.style.display="",o.innerHTML="<div style='width:4px;'></div>",c.support.shrinkWrapBlocks=o.offsetWidth!==2);o.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>";var s=o.getElementsByTagName("td");c.support.reliableHiddenOffsets=s[0].offsetHeight===0;s[0].style.display="";s[1].style.display="none";c.support.reliableHiddenOffsets=c.support.reliableHiddenOffsets&&s[0].offsetHeight===0;o.innerHTML="";m.removeChild(o).style.display="none"}});
b=function(o){var m=x.createElement("div");o="on"+o;if(!m.attachEvent)return true;var s=o in m;s||(m.setAttribute(o,"return;"),s=typeof m[o]==="function");return s};c.support.submitBubbles=b("submit");c.support.changeBubbles=b("change");a=b=d=null}})();var lb=/^(?:\{.*\}|\[.*\])$/;c.extend({cache:{},uuid:0,expando:"jQuery"+(c.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:true,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:true},hasData:function(a){a=a.nodeType?c.cache[a[c.expando]]:
a[c.expando];return!!a&&!wa(a)},data:function(a,b,d,e){if(c.acceptData(a)){var f=c.expando,h=typeof b==="string",j=a.nodeType,p=j?c.cache:a,o=j?a[c.expando]:a[c.expando]&&c.expando;if(!((!o||e&&o&&!p[o][f])&&h&&d===y)){o||(j?(a[c.expando]=o=++c.uuid):(o=c.expando));p[o]||(p[o]={},j||(p[o].toJSON=c.noop));if(typeof b==="object"||typeof b==="function")e?(p[o][f]=c.extend(p[o][f],b)):(p[o]=c.extend(p[o],b));a=p[o];e&&(a[f]||(a[f]={}),a=a[f]);d!==y&&(a[b]=d);if(b==="events"&&!a[b])return a[f]&&a[f].events;
return h?a[b]:a}}},removeData:function(a,b,d){if(c.acceptData(a)){var e=c.expando,f=a.nodeType,h=f?c.cache:a,j=f?a[c.expando]:c.expando;if(h[j]){if(b){var p=d?h[j][e]:h[j];if(p){delete p[b];if(!wa(p))return}}if(d){delete h[j][e];if(!wa(h[j]))return}b=h[j][e];c.support.deleteExpando||h!=v?delete h[j]:(h[j]=null);b?(h[j]={},f||(h[j].toJSON=c.noop),h[j][e]=b):f&&(c.support.deleteExpando?delete a[c.expando]:a.removeAttribute?a.removeAttribute(c.expando):(a[c.expando]=null))}}},_data:function(a,b,d){return c.data(a,
b,d,true)},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){d=c.data(this[0]);if(this[0].nodeType===1)for(var e=this[0].attributes,f,h=0,j=e.length;h<j;h++){f=e[h].name;f.indexOf("data-")===0&&(f=f.substr(5),Ja(this[0],f,d[f]))}}return d}if(typeof a==="object")return this.each(function(){c.data(this,a)});var p=a.split(".");
p[1]=p[1]?"."+p[1]:"";if(b===y){d=this.triggerHandler("getData"+p[1]+"!",[p[0]]);d===y&&this.length&&(d=c.data(this[0],a),d=Ja(this[0],a,d));return d===y&&p[1]?this.data(p[0]):d}return this.each(function(){var o=c(this),m=[p[0],b];o.triggerHandler("setData"+p[1]+"!",m);c.data(this,a,b);o.triggerHandler("changeData"+p[1]+"!",m)})},removeData:function(a){return this.each(function(){c.removeData(this,a)})}});c.extend({queue:function(a,b,d){if(a){b=(b||"fx")+"queue";var e=c._data(a,b);if(!d)return e||
[];!e||c.isArray(d)?(e=c._data(a,b,c.makeArray(d))):e.push(d);return e}},dequeue:function(a,b){b=b||"fx";var d=c.queue(a,b),e=d.shift();e==="inprogress"&&(e=d.shift());e&&(b==="fx"&&d.unshift("inprogress"),e.call(a,function(){c.dequeue(a,b)}));d.length||c.removeData(a,b+"queue",true)}});c.fn.extend({queue:function(a,b){typeof a!=="string"&&(b=a,a="fx");if(b===y)return c.queue(this[0],a);return this.each(function(){var d=c.queue(this,a,b);a==="fx"&&d[0]!=="inprogress"&&c.dequeue(this,a)})},dequeue:function(a){return this.each(function(){c.dequeue(this,
a)})},delay:function(a,b){a=c.fx?c.fx.speeds[a]||a:a;b=b||"fx";return this.queue(b,function(){var d=this;setTimeout(function(){c.dequeue(d,b)},a)})},clearQueue:function(a){return this.queue(a||"fx",[])}});var Ka=/[\n\t\r]/g,xa=/\s+/,mb=/\r/g,nb=/^(?:href|src|style)$/,ob=/^(?:button|input)$/i,pb=/^(?:button|input|object|select|textarea)$/i,qb=/^a(?:rea)?$/i,La=/^(?: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(m){var s=c(this);s.addClass(a.call(this,m,s.attr("class")))});if(a&&typeof a==="string")for(var b=(a||"").split(xa),d=0,e=this.length;d<e;d++){var f=this[d];if(f.nodeType===
1)if(f.className){for(var h=" "+f.className+" ",j=f.className,p=0,o=b.length;p<o;p++)h.indexOf(" "+b[p]+" ")<0&&(j+=" "+b[p]);f.className=c.trim(j)}else f.className=a}return this},removeClass:function(a){if(c.isFunction(a))return this.each(function(o){var m=c(this);m.removeClass(a.call(this,o,m.attr("class")))});if(a&&typeof a==="string"||a===y)for(var b=(a||"").split(xa),d=0,e=this.length;d<e;d++){var f=this[d];if(f.nodeType===1&&f.className)if(a){for(var h=(" "+f.className+" ").replace(Ka," "),
j=0,p=b.length;j<p;j++)h=h.replace(" "+b[j]+" "," ");f.className=c.trim(h)}else f.className=""}return this},toggleClass:function(a,b){var d=typeof a,e=typeof b==="boolean";if(c.isFunction(a))return this.each(function(f){var h=c(this);h.toggleClass(a.call(this,f,h.attr("class"),b),b)});return this.each(function(){if(d==="string")for(var f,h=0,j=c(this),p=b,o=a.split(xa);f=o[h++];){p=e?p:!j.hasClass(f);j[p?"addClass":"removeClass"](f)}else if(d==="undefined"||d==="boolean"){this.className&&c._data(this,
"__className__",this.className);this.className=this.className||a===false?"":c._data(this,"__className__")||""}})},hasClass:function(a){a=" "+a+" ";for(var b=0,d=this.length;b<d;b++)if((" "+this[b].className+" ").replace(Ka," ").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")){d=b.selectedIndex;var e=[],f=b.options;b=b.type==="select-one";
if(d<0)return null;for(var h=b?d:0,j=b?d+1:f.length;h<j;h++){var p=f[h];if(p.selected&&(c.support.optDisabled?!p.disabled:p.getAttribute("disabled")===null)&&(!p.parentNode.disabled||!c.nodeName(p.parentNode,"optgroup"))){a=c(p).val();if(b)return a;e.push(a)}}if(b&&!e.length&&f.length)return c(f[d]).val();return e}if(La.test(b.type)&&!c.support.checkOn)return b.getAttribute("value")===null?"on":b.value;return(b.value||"").replace(mb,"")}return y}var o=c.isFunction(a);return this.each(function(m){var s=
c(this),B=a;if(this.nodeType===1){o&&(B=a.call(this,m,s.val()));B==null?(B=""):typeof B==="number"?(B+=""):c.isArray(B)&&(B=c.map(B,function(D){return D==null?"":D+""}));if(c.isArray(B)&&La.test(this.type))this.checked=c.inArray(s.val(),B)>=0;else if(c.nodeName(this,"select")){var F=c.makeArray(B);c("option",this).each(function(){this.selected=c.inArray(c(this).val(),F)>=0});F.length||(this.selectedIndex=-1)}else this.value=B}})}});c.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,
width:true,height:true,offset:true},attr:function(a,b,d,e){if(!a||a.nodeType===3||a.nodeType===8||a.nodeType===2)return y;if(e&&b in c.attrFn)return c(a)[b](d);e=a.nodeType!==1||!c.isXMLDoc(a);var f=d!==y;b=e&&c.props[b]||b;if(a.nodeType===1){var h=nb.test(b);if((b in a||a[b]!==y)&&e&&!h){f&&(b==="type"&&ob.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;
if(b==="tabIndex")return(b=a.getAttributeNode("tabIndex"))&&b.specified?b.value:pb.test(a.nodeName)||qb.test(a.nodeName)&&a.href?0:y;return a[b]}if(!c.support.style&&e&&b==="style"){f&&(a.style.cssText=""+d);return a.style.cssText}f&&a.setAttribute(b,""+d);if(!a.attributes[b]&&a.hasAttribute&&!a.hasAttribute(b))return y;a=!c.support.hrefNormalized&&e&&h?a.getAttribute(b,2):a.getAttribute(b);return a===null?y:a}f&&(a[b]=d);return a[b]}});var ma=/\.(.*)$/,ya=/^(?:textarea|input|select)$/i,ib=/\./g,
jb=/ /g,rb=/[^\w\s.|`]/g,sb=function(a){return a.replace(rb,"\\$&")};c.event={add:function(a,b,d,e){if(a.nodeType!==3&&a.nodeType!==8){try{c.isWindow(a)&&a!==v&&!a.frameElement&&(a=v)}catch(f){}if(d===false)d=ga;else if(!d)return;var h,j;d.handler&&(h=d,d=h.handler);d.guid||(d.guid=c.guid++);if(j=c._data(a)){var p=j.events,o=j.handle;p||(j.events=p={});o||(j.handle=o=function(){return typeof c!=="undefined"&&!c.event.triggered?c.event.handle.apply(o.elem,arguments):y});o.elem=a;b=b.split(" ");for(var m,
s=0,B;m=b[s++];){j=h?c.extend({},h):{handler:d,data:e};m.indexOf(".")>-1?(B=m.split("."),m=B.shift(),j.namespace=B.slice(0).sort().join(".")):(B=[],j.namespace="");j.type=m;j.guid||(j.guid=d.guid);var F=p[m],D=c.event.special[m]||{};if(!F){F=p[m]=[];if(!D.setup||D.setup.call(a,e,B,o)===false)a.addEventListener?a.addEventListener(m,o,false):a.attachEvent&&a.attachEvent("on"+m,o)}D.add&&(D.add.call(a,j),j.handler.guid||(j.handler.guid=d.guid));F.push(j);c.event.global[m]=true}a=null}}},global:{},remove:function(a,
b,d,e){if(a.nodeType!==3&&a.nodeType!==8){d===false&&(d=ga);var f,h,j=0,p,o,m,s,B,F,D=c.hasData(a)&&c._data(a),J=D&&D.events;if(D&&J){b&&b.type&&(d=b.handler,b=b.type);if(!b||typeof b==="string"&&b.charAt(0)==="."){b=b||"";for(f in J)c.event.remove(a,f+b)}else{for(b=b.split(" ");f=b[j++];){s=f;p=f.indexOf(".")<0;o=[];p||(o=f.split("."),f=o.shift(),m=new RegExp("(^|\\.)"+c.map(o.slice(0).sort(),sb).join("\\.(?:.*\\.)?")+"(\\.|$)"));if(B=J[f])if(d){s=c.event.special[f]||{};for(h=e||0;h<B.length;h++){F=
B[h];if(d.guid===F.guid){if(p||m.test(F.namespace)){e==null&&B.splice(h--,1);s.remove&&s.remove.call(a,F)}if(e!=null)break}}if(B.length===0||e!=null&&B.length===1){(!s.teardown||s.teardown.call(a,o)===false)&&c.removeEvent(a,f,D.handle);delete J[f]}}else for(h=0;h<B.length;h++){F=B[h];if(p||m.test(F.namespace)){c.event.remove(a,s,F.handler,h);B.splice(h--,1)}}}if(c.isEmptyObject(J)){(b=D.handle)&&(b.elem=null);delete D.events;delete D.handle;c.isEmptyObject(D)&&c.removeData(a,y,true)}}}}},trigger:function(a,
b,d,e){var f=a.type||a;if(!e){a=typeof a==="object"?a[c.expando]?a:c.extend(c.Event(f),a):c.Event(f);f.indexOf("!")>=0&&(a.type=f=f.slice(0,-1),a.exclusive=true);d||(a.stopPropagation(),c.event.global[f]&&c.each(c.cache,function(){var B=this[c.expando];B&&B.events&&B.events[f]&&c.event.trigger(a,b,B.handle.elem)}));if(!d||d.nodeType===3||d.nodeType===8)return y;a.result=y;a.target=d;b=c.makeArray(b);b.unshift(a)}a.currentTarget=d;(e=c._data(d,"handle"))&&e.apply(d,b);e=d.parentNode||d.ownerDocument;
try{d&&d.nodeName&&c.noData[d.nodeName.toLowerCase()]||d["on"+f]&&d["on"+f].apply(d,b)===false&&(a.result=false,a.preventDefault())}catch(h){}if(!a.isPropagationStopped()&&e)c.event.trigger(a,b,e,true);else if(!a.isDefaultPrevented()){var j;e=a.target;var p=f.replace(ma,""),o=c.nodeName(e,"a")&&p==="click",m=c.event.special[p]||{};if((!m._default||m._default.call(d,a)===false)&&!o&&!(e&&e.nodeName&&c.noData[e.nodeName.toLowerCase()])){try{e[p]&&(j=e["on"+p],j&&(e["on"+p]=null),c.event.triggered=true,
e[p]())}catch(s){}j&&(e["on"+p]=j);c.event.triggered=false}}},handle:function(a){var b,d,e,f;f=[];var h=c.makeArray(arguments);a=h[0]=c.event.fix(a||v.event);a.currentTarget=this;(b=a.type.indexOf(".")<0&&!a.exclusive)||(d=a.type.split("."),a.type=d.shift(),f=d.slice(0).sort(),e=new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.)?")+"(\\.|$)"));a.namespace=a.namespace||f.join(".");f=c._data(this,"events");d=(f||{})[a.type];if(f&&d){d=d.slice(0);f=0;for(var j=d.length;f<j;f++){var p=d[f];if(b||e.test(p.namespace)){a.handler=
p.handler;a.data=p.data;a.handleObj=p;p=p.handler.apply(this,h);p!==y&&(a.result=p,p===false&&(a.preventDefault(),a.stopPropagation()));if(a.isImmediatePropagationStopped())break}}}return a.result},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),
fix:function(a){if(a[c.expando])return a;var b=a;a=c.Event(b);for(var d=this.props.length,e;d;){e=this.props[--d];a[e]=b[e]}a.target||(a.target=a.srcElement||x);a.target.nodeType===3&&(a.target=a.target.parentNode);!a.relatedTarget&&a.fromElement&&(a.relatedTarget=a.fromElement===a.target?a.toElement:a.fromElement);if(a.pageX==null&&a.clientX!=null){b=x.documentElement;d=x.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)}a.which==null&&(a.charCode!=null||a.keyCode!=null)&&(a.which=a.charCode!=null?a.charCode:a.keyCode);!a.metaKey&&a.ctrlKey&&(a.metaKey=a.ctrlKey);!a.which&&a.button!==y&&(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,la(a.origType,a.selector),c.extend({},a,{handler:kb,guid:a.handler.guid}))},remove:function(a){c.event.remove(this,
la(a.origType,a.selector),a)}},beforeunload:{setup:function(a,b,d){c.isWindow(this)&&(this.onbeforeunload=d)},teardown:function(a,b){this.onbeforeunload===b&&(this.onbeforeunload=null)}}}};c.removeEvent=x.removeEventListener?function(a,b,d){a.removeEventListener&&a.removeEventListener(b,d,false)}:function(a,b,d){a.detachEvent&&a.detachEvent("on"+b,d)};c.Event=function(a){if(!this.preventDefault)return new c.Event(a);a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||
a.returnValue===false||a.getPreventDefault&&a.getPreventDefault()?na:ga):(this.type=a);this.timeStamp=c.now();this[c.expando]=true};c.Event.prototype={preventDefault:function(){this.isDefaultPrevented=na;var a=this.originalEvent;a&&(a.preventDefault?a.preventDefault():(a.returnValue=false))},stopPropagation:function(){this.isPropagationStopped=na;var a=this.originalEvent;a&&(a.stopPropagation&&a.stopPropagation(),a.cancelBubble=true)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=
na;this.stopPropagation()},isDefaultPrevented:ga,isPropagationStopped:ga,isImmediatePropagationStopped:ga};var Ma=function(a){var b=a.relatedTarget;try{if(!(b!==x&&!b.parentNode)){for(;b&&b!==this;)b=b.parentNode;b!==this&&(a.type=a.data,c.event.handle.apply(this,arguments))}}catch(d){}},Na=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?Na:Ma,
a)},teardown:function(d){c.event.remove(this,b,d&&d.selector?Na:Ma)}}});c.support.submitBubbles||(c.event.special.submit={setup:function(){if(this.nodeName&&this.nodeName.toLowerCase()!=="form"){c.event.add(this,"click.specialSubmit",function(a){var b=a.target,d=b.type;(d==="submit"||d==="image")&&c(b).closest("form").length&&Ia("submit",this,arguments)});c.event.add(this,"keypress.specialSubmit",function(a){var b=a.target,d=b.type;(d==="text"||d==="password")&&c(b).closest("form").length&&a.keyCode===
13&&Ia("submit",this,arguments)})}else return false},teardown:function(){c.event.remove(this,".specialSubmit")}});if(!c.support.changeBubbles){var ha,Oa=function(a){var b=a.type,d=a.value;b==="radio"||b==="checkbox"?(d=a.checked):b==="select-multiple"?(d=a.selectedIndex>-1?c.map(a.options,function(e){return e.selected}).join("-"):""):a.nodeName.toLowerCase()==="select"&&(d=a.selectedIndex);return d},pa=function(a,b){var d=a.target,e,f;if(ya.test(d.nodeName)&&!d.readOnly){e=c._data(d,"_change_data");
f=Oa(d);(a.type!=="focusout"||d.type!=="radio")&&c._data(d,"_change_data",f);if(!(e===y||f===e))if(e!=null||f){a.type="change";a.liveFired=y;c.event.trigger(a,b,d)}}};c.event.special.change={filters:{focusout:pa,beforedeactivate:pa,click:function(a){var b=a.target,d=b.type;(d==="radio"||d==="checkbox"||b.nodeName.toLowerCase()==="select")&&pa.call(this,a)},keydown:function(a){var b=a.target,d=b.type;(a.keyCode===13&&b.nodeName.toLowerCase()!=="textarea"||a.keyCode===32&&(d==="checkbox"||d==="radio")||
d==="select-multiple")&&pa.call(this,a)},beforeactivate:function(a){a=a.target;c._data(a,"_change_data",Oa(a))}},setup:function(){if(this.type==="file")return false;for(var a in ha)c.event.add(this,a+".specialChange",ha[a]);return ya.test(this.nodeName)},teardown:function(){c.event.remove(this,".specialChange");return ya.test(this.nodeName)}};ha=c.event.special.change.filters;ha.focus=ha.beforeactivate}x.addEventListener&&c.each({focus:"focusin",blur:"focusout"},function(a,b){function d(e){e=c.event.fix(e);
e.type=b;return c.event.handle.call(this,e)}c.event.special[b]={setup:function(){this.addEventListener(a,d,true)},teardown:function(){this.removeEventListener(a,d,true)}}});c.each(["bind","one"],function(a,b){c.fn[b]=function(d,e,f){if(typeof d==="object"){for(var h in d)this[b](h,e,d[h],f);return this}if(c.isFunction(e)||e===false){f=e;e=y}var j=b==="one"?c.proxy(f,function(o){c(this).unbind(o,j);return f.apply(this,arguments)}):f;if(d==="unload"&&b!=="one")this.one(d,e,f);else{h=0;for(var p=this.length;h<
p;h++)c.event.add(this[h],d,j,e)}return this}});c.fn.extend({unbind:function(a,b){if(typeof a!=="object"||a.preventDefault)for(var d=0,e=this.length;d<e;d++)c.event.remove(this[d],a,b);else for(d in a)this.unbind(d,a[d]);return this},delegate:function(a,b,d,e){return this.live(b,d,e,a)},undelegate:function(a,b,d){return arguments.length===0?this.unbind("live"):this.die(b,null,d,a)},trigger:function(a,b){return this.each(function(){c.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0]){a=
c.Event(a);a.preventDefault();a.stopPropagation();c.event.trigger(a,b,this[0]);return a.result}},toggle:function(a){for(var b=arguments,d=1;d<b.length;)c.proxy(a,b[d++]);return this.click(c.proxy(a,function(e){var f=(c._data(this,"lastToggle"+a.guid)||0)%d;c._data(this,"lastToggle"+a.guid,f+1);e.preventDefault();return b[f].apply(this,arguments)||false}))},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}});var Pa={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};
c.each(["live","die"],function(a,b){c.fn[b]=function(d,e,f,h){var j,p=0,o,m,s=h||this.selector;h=h?this:c(this.context);if(typeof d==="object"&&!d.preventDefault){for(j in d)h[b](j,e,d[j],s);return this}c.isFunction(e)&&(f=e,e=y);for(d=(d||"").split(" ");(j=d[p++])!=null;){o=ma.exec(j);m="";o&&(m=o[0],j=j.replace(ma,""));if(j==="hover")d.push("mouseenter"+m,"mouseleave"+m);else{o=j;j==="focus"||j==="blur"?(d.push(Pa[j]+m),j+=m):(j=(Pa[j]||j)+m);if(b==="live"){m=0;for(var B=h.length;m<B;m++)c.event.add(h[m],
"live."+la(j,s),{data:e,selector:s,handler:f,origType:j,origHandler:f,preType:o})}else h.unbind("live."+la(j,s),f)}}return this}});c.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error".split(" "),function(a,b){c.fn[b]=function(d,e){e==null&&(e=d,d=null);return arguments.length>0?this.bind(b,d,e):this.trigger(b)};c.attrFn&&(c.attrFn[b]=true)});(function(){function a(g,
k,n,r,t,w){t=0;for(var C=r.length;t<C;t++){var A=r[t];if(A){var H=false;for(A=A[g];A;){if(A.sizcache===n){H=r[A.sizset];break}if(A.nodeType===1){w||(A.sizcache=n,A.sizset=t);if(typeof k!=="string"){if(A===k){H=true;break}}else if(m.filter(k,[A]).length>0){H=A;break}}A=A[g]}r[t]=H}}}function b(g,k,n,r,t,w){t=0;for(var C=r.length;t<C;t++){var A=r[t];if(A){var H=false;for(A=A[g];A;){if(A.sizcache===n){H=r[A.sizset];break}A.nodeType===1&&!w&&(A.sizcache=n,A.sizset=t);if(A.nodeName.toLowerCase()===k){H=
A;break}A=A[g]}r[t]=H}}}var d=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,e=0,f=Object.prototype.toString,h=false,j=true,p=/\\/g,o=/\W/;[0,0].sort(function(){j=false;return 0});var m=function(g,k,n,r){n=n||[];var t=k=k||x;if(k.nodeType!==1&&k.nodeType!==9)return[];if(!g||typeof g!=="string")return n;var w,C,A,H,P,O,T=true,l=m.isXML(k),q=[],u=g;do{d.exec("");if(w=d.exec(u)){u=w[3];q.push(w[1]);if(w[2]){H=w[3];
break}}}while(w);if(q.length>1&&B.exec(g))if(q.length===2&&s.relative[q[0]])C=W(q[0]+q[1],k);else for(C=s.relative[q[0]]?[k]:m(q.shift(),k);q.length;){g=q.shift();s.relative[g]&&(g+=q.shift());C=W(g,C)}else{!r&&q.length>1&&k.nodeType===9&&!l&&s.match.ID.test(q[0])&&!s.match.ID.test(q[q.length-1])&&(P=m.find(q.shift(),k,l),k=P.expr?m.filter(P.expr,P.set)[0]:P.set[0]);if(k){P=r?{expr:q.pop(),set:J(r)}:m.find(q.pop(),q.length===1&&(q[0]==="~"||q[0]==="+")&&k.parentNode?k.parentNode:k,l);C=P.expr?m.filter(P.expr,
P.set):P.set;for(q.length>0?(A=J(C)):(T=false);q.length;){w=O=q.pop();s.relative[O]?(w=q.pop()):(O="");w==null&&(w=k);s.relative[O](A,w,l)}}else A=[]}A||(A=C);A||m.error(O||g);if(f.call(A)==="[object Array]")if(T)if(k&&k.nodeType===1)for(g=0;A[g]!=null;g++)A[g]&&(A[g]===true||A[g].nodeType===1&&m.contains(k,A[g]))&&n.push(C[g]);else for(g=0;A[g]!=null;g++)A[g]&&A[g].nodeType===1&&n.push(C[g]);else n.push.apply(n,A);else J(A,n);H&&(m(H,t,n,r),m.uniqueSort(n));return n};m.uniqueSort=function(g){if(L){h=
j;g.sort(L);if(h)for(var k=1;k<g.length;k++)g[k]===g[k-1]&&g.splice(k--,1)}return g};m.matches=function(g,k){return m(g,null,null,k)};m.matchesSelector=function(g,k){return m(k,null,null,[g]).length>0};m.find=function(g,k,n){var r;if(!g)return[];for(var t=0,w=s.order.length;t<w;t++){var C,A=s.order[t];if(C=s.leftMatch[A].exec(g)){var H=C[1];C.splice(1,1);if(H.substr(H.length-1)!=="\\"){C[1]=(C[1]||"").replace(p,"");r=s.find[A](C,k,n);if(r!=null){g=g.replace(s.match[A],"");break}}}}r||(r=typeof k.getElementsByTagName!==
"undefined"?k.getElementsByTagName("*"):[]);return{set:r,expr:g}};m.filter=function(g,k,n,r){for(var t,w,C=g,A=[],H=k,P=k&&k[0]&&m.isXML(k[0]);g&&k.length;){for(var O in s.filter)if((t=s.leftMatch[O].exec(g))!=null&&t[2]){var T,l,q=s.filter[O];l=t[1];w=false;t.splice(1,1);if(l.substr(l.length-1)!=="\\"){H===A&&(A=[]);if(s.preFilter[O])if(t=s.preFilter[O](t,H,n,A,r,P)){if(t===true)continue}else w=T=true;if(t)for(var u=0;(l=H[u])!=null;u++)if(l){T=q(l,t,u,H);var z=r^!!T;n&&T!=null?z?(w=true):(H[u]=
false):z&&(A.push(l),w=true)}if(T!==y){n||(H=A);g=g.replace(s.match[O],"");if(!w)return[];break}}}if(g===C)if(w==null)m.error(g);else break;C=g}return H};m.error=function(g){throw"Syntax error, unrecognized expression: "+g;};var s=m.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|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,
TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(g){return g.getAttribute("href")},type:function(g){return g.getAttribute("type")}},relative:{"+":function(g,k){var n=
typeof k==="string",r=n&&!o.test(k);n=n&&!r;r&&(k=k.toLowerCase());r=0;for(var t=g.length,w;r<t;r++)if(w=g[r]){for(;(w=w.previousSibling)&&w.nodeType!==1;);g[r]=n||w&&w.nodeName.toLowerCase()===k?w||false:w===k}n&&m.filter(k,g,true)},">":function(g,k){var n,r=typeof k==="string",t=0,w=g.length;if(r&&!o.test(k))for(k=k.toLowerCase();t<w;t++){if(n=g[t]){n=n.parentNode;g[t]=n.nodeName.toLowerCase()===k?n:false}}else{for(;t<w;t++)(n=g[t])&&(g[t]=r?n.parentNode:n.parentNode===k);r&&m.filter(k,g,true)}},
"":function(g,k,n){var r,t=e++,w=a;typeof k==="string"&&!o.test(k)&&(k=k.toLowerCase(),r=k,w=b);w("parentNode",k,t,g,r,n)},"~":function(g,k,n){var r,t=e++,w=a;typeof k==="string"&&!o.test(k)&&(k=k.toLowerCase(),r=k,w=b);w("previousSibling",k,t,g,r,n)}},find:{ID:function(g,k,n){if(typeof k.getElementById!=="undefined"&&!n)return(g=k.getElementById(g[1]))&&g.parentNode?[g]:[]},NAME:function(g,k){if(typeof k.getElementsByName!=="undefined"){var n=[];k=k.getElementsByName(g[1]);for(var r=0,t=k.length;r<
t;r++)k[r].getAttribute("name")===g[1]&&n.push(k[r]);return n.length===0?null:n}},TAG:function(g,k){if(typeof k.getElementsByTagName!=="undefined")return k.getElementsByTagName(g[1])}},preFilter:{CLASS:function(g,k,n,r,t,w){g=" "+g[1].replace(p,"")+" ";if(w)return g;w=0;for(var C;(C=k[w])!=null;w++)C&&(t^(C.className&&(" "+C.className+" ").replace(/[\t\n\r]/g," ").indexOf(g)>=0)?n||r.push(C):n&&(k[w]=false));return false},ID:function(g){return g[1].replace(p,"")},TAG:function(g){return g[1].replace(p,
"").toLowerCase()},CHILD:function(g){if(g[1]==="nth"){g[2]||m.error(g[0]);g[2]=g[2].replace(/^\+|\s*/g,"");var k=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(g[2]==="even"&&"2n"||g[2]==="odd"&&"2n+1"||!/\D/.test(g[2])&&"0n+"+g[2]||g[2]);g[2]=k[1]+(k[2]||1)-0;g[3]=k[3]-0}else g[2]&&m.error(g[0]);g[0]=e++;return g},ATTR:function(g,k,n,r,t,w){k=g[1]=g[1].replace(p,"");!w&&s.attrMap[k]&&(g[1]=s.attrMap[k]);g[4]=(g[4]||g[5]||"").replace(p,"");g[2]==="~="&&(g[4]=" "+g[4]+" ");return g},PSEUDO:function(g,k,n,r,t){if(g[1]===
"not")if((d.exec(g[3])||"").length>1||/^\w/.test(g[3]))g[3]=m(g[3],null,null,k);else{g=m.filter(g[3],k,n,true^t);n||r.push.apply(r,g);return false}else if(s.match.POS.test(g[0])||s.match.CHILD.test(g[0]))return true;return g},POS:function(g){g.unshift(true);return g}},filters:{enabled:function(g){return g.disabled===false&&g.type!=="hidden"},disabled:function(g){return g.disabled===true},checked:function(g){return g.checked===true},selected:function(g){return g.selected===true},parent:function(g){return!!g.firstChild},
empty:function(g){return!g.firstChild},has:function(g,k,n){return!!m(n[3],g).length},header:function(g){return/h\d/i.test(g.nodeName)},text:function(g){return"text"===g.getAttribute("type")},radio:function(g){return"radio"===g.type},checkbox:function(g){return"checkbox"===g.type},file:function(g){return"file"===g.type},password:function(g){return"password"===g.type},submit:function(g){return"submit"===g.type},image:function(g){return"image"===g.type},reset:function(g){return"reset"===g.type},button:function(g){return"button"===
g.type||g.nodeName.toLowerCase()==="button"},input:function(g){return/input|select|textarea|button/i.test(g.nodeName)}},setFilters:{first:function(g,k){return k===0},last:function(g,k,n,r){return k===r.length-1},even:function(g,k){return k%2===0},odd:function(g,k){return k%2===1},lt:function(g,k,n){return k<n[3]-0},gt:function(g,k,n){return k>n[3]-0},nth:function(g,k,n){return n[3]-0===k},eq:function(g,k,n){return n[3]-0===k}},filter:{PSEUDO:function(g,k,n,r){var t=k[1],w=s.filters[t];if(w)return w(g,
n,k,r);if(t==="contains")return(g.textContent||g.innerText||m.getText([g])||"").indexOf(k[3])>=0;if(t==="not"){k=k[3];n=0;for(r=k.length;n<r;n++)if(k[n]===g)return false;return true}m.error(t)},CHILD:function(g,k){var n=k[1],r=g;switch(n){case "only":case "first":for(;r=r.previousSibling;)if(r.nodeType===1)return false;if(n==="first")return true;r=g;case "last":for(;r=r.nextSibling;)if(r.nodeType===1)return false;return true;case "nth":n=k[2];var t=k[3];if(n===1&&t===0)return true;k=k[0];var w=g.parentNode;
if(w&&(w.sizcache!==k||!g.nodeIndex)){var C=0;for(r=w.firstChild;r;r=r.nextSibling)r.nodeType===1&&(r.nodeIndex=++C);w.sizcache=k}g=g.nodeIndex-t;return n===0?g===0:g%n===0&&g/n>=0}},ID:function(g,k){return g.nodeType===1&&g.getAttribute("id")===k},TAG:function(g,k){return k==="*"&&g.nodeType===1||g.nodeName.toLowerCase()===k},CLASS:function(g,k){return(" "+(g.className||g.getAttribute("class"))+" ").indexOf(k)>-1},ATTR:function(g,k){var n=k[1];g=s.attrHandle[n]?s.attrHandle[n](g):g[n]!=null?g[n]:
g.getAttribute(n);n=g+"";var r=k[2];k=k[4];return g==null?r==="!=":r==="="?n===k:r==="*="?n.indexOf(k)>=0:r==="~="?(" "+n+" ").indexOf(k)>=0:k?r==="!="?n!==k:r==="^="?n.indexOf(k)===0:r==="$="?n.substr(n.length-k.length)===k:r==="|="?n===k||n.substr(0,k.length+1)===k+"-":false:n&&g!==false},POS:function(g,k,n,r){var t=s.setFilters[k[2]];if(t)return t(g,n,k,r)}}},B=s.match.POS,F=function(g,k){return"\\"+(k-0+1)};for(var D in s.match){s.match[D]=new RegExp(s.match[D].source+/(?![^\[]*\])(?![^\(]*\))/.source);
s.leftMatch[D]=new RegExp(/(^(?:.|\r|\n)*?)/.source+s.match[D].source.replace(/\\(\d+)/g,F))}var J=function(g,k){g=Array.prototype.slice.call(g,0);if(k){k.push.apply(k,g);return k}return g};try{Array.prototype.slice.call(x.documentElement.childNodes,0)}catch(N){J=function(g,k){var n=0;k=k||[];if(f.call(g)==="[object Array]")Array.prototype.push.apply(k,g);else if(typeof g.length==="number")for(var r=g.length;n<r;n++)k.push(g[n]);else for(;g[n];n++)k.push(g[n]);return k}}var L,U;x.documentElement.compareDocumentPosition?
(L=function(g,k){if(g===k){h=true;return 0}if(!g.compareDocumentPosition||!k.compareDocumentPosition)return g.compareDocumentPosition?-1:1;return g.compareDocumentPosition(k)&4?-1:1}):(L=function(g,k){var n,r,t=[],w=[];n=g.parentNode;r=k.parentNode;var C=n;if(g===k){h=true;return 0}if(n===r)return U(g,k);if(!n)return-1;if(!r)return 1;for(;C;){t.unshift(C);C=C.parentNode}for(C=r;C;){w.unshift(C);C=C.parentNode}n=t.length;r=w.length;for(C=0;C<n&&C<r;C++)if(t[C]!==w[C])return U(t[C],w[C]);return C===
n?U(g,w[C],-1):U(t[C],k,1)},U=function(g,k,n){if(g===k)return n;for(g=g.nextSibling;g;){if(g===k)return-1;g=g.nextSibling}return 1});m.getText=function(g){for(var k="",n,r=0;g[r];r++){n=g[r];n.nodeType===3||n.nodeType===4?(k+=n.nodeValue):n.nodeType!==8&&(k+=m.getText(n.childNodes))}return k};(function(){var g=x.createElement("div"),k="script"+(new Date).getTime(),n=x.documentElement;g.innerHTML="<a name='"+k+"'/>";n.insertBefore(g,n.firstChild);x.getElementById(k)&&(s.find.ID=function(r,t,w){if(typeof t.getElementById!==
"undefined"&&!w)return(t=t.getElementById(r[1]))?t.id===r[1]||typeof t.getAttributeNode!=="undefined"&&t.getAttributeNode("id").nodeValue===r[1]?[t]:y:[]},s.filter.ID=function(r,t){var w=typeof r.getAttributeNode!=="undefined"&&r.getAttributeNode("id");return r.nodeType===1&&w&&w.nodeValue===t});n.removeChild(g);n=g=null})();(function(){var g=x.createElement("div");g.appendChild(x.createComment(""));g.getElementsByTagName("*").length>0&&(s.find.TAG=function(k,n){n=n.getElementsByTagName(k[1]);if(k[1]===
"*"){k=[];for(var r=0;n[r];r++)n[r].nodeType===1&&k.push(n[r]);n=k}return n});g.innerHTML="<a href='#'></a>";g.firstChild&&typeof g.firstChild.getAttribute!=="undefined"&&g.firstChild.getAttribute("href")!=="#"&&(s.attrHandle.href=function(k){return k.getAttribute("href",2)});g=null})();x.querySelectorAll&&function(){var g=m,k=x.createElement("div");k.innerHTML="<p class='TEST'></p>";if(!k.querySelectorAll||k.querySelectorAll(".TEST").length!==0){m=function(r,t,w,C){t=t||x;if(!C&&!m.isXML(t)){var A=
/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(r);if(A&&(t.nodeType===1||t.nodeType===9)){if(A[1])return J(t.getElementsByTagName(r),w);if(A[2]&&s.find.CLASS&&t.getElementsByClassName)return J(t.getElementsByClassName(A[2]),w)}if(t.nodeType===9){if(r==="body"&&t.body)return J([t.body],w);if(A&&A[3]){var H=t.getElementById(A[3]);if(!H||!H.parentNode)return J([],w);if(H.id===A[3])return J([H],w)}try{return J(t.querySelectorAll(r),w)}catch(P){}}else if(t.nodeType===1&&t.nodeName.toLowerCase()!=="object"){A=
t;var O=(H=t.getAttribute("id"))||"__sizzle__",T=t.parentNode,l=/^\s*[+~]/.test(r);H?(O=O.replace(/'/g,"\\$&")):t.setAttribute("id",O);l&&T&&(t=t.parentNode);try{if(!l||T)return J(t.querySelectorAll("[id='"+O+"'] "+r),w)}catch(q){}finally{H||A.removeAttribute("id")}}}return g(r,t,w,C)};for(var n in g)m[n]=g[n];k=null}}();(function(){var g=x.documentElement,k=g.matchesSelector||g.mozMatchesSelector||g.webkitMatchesSelector||g.msMatchesSelector,n=false;try{k.call(x.documentElement,"[test!='']:sizzle")}catch(r){n=
true}k&&(m.matchesSelector=function(t,w){w=w.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!m.isXML(t))try{if(n||!s.match.PSEUDO.test(w)&&!/!=/.test(w))return k.call(t,w)}catch(C){}return m(w,null,null,[t]).length>0})})();(function(){var g=x.createElement("div");g.innerHTML="<div class='test e'></div><div class='test'></div>";if(g.getElementsByClassName&&g.getElementsByClassName("e").length!==0){g.lastChild.className="e";if(g.getElementsByClassName("e").length!==1){s.order.splice(1,0,"CLASS");s.find.CLASS=
function(k,n,r){if(typeof n.getElementsByClassName!=="undefined"&&!r)return n.getElementsByClassName(k[1])};g=null}}})();x.documentElement.contains?(m.contains=function(g,k){return g!==k&&(g.contains?g.contains(k):true)}):x.documentElement.compareDocumentPosition?(m.contains=function(g,k){return!!(g.compareDocumentPosition(k)&16)}):(m.contains=function(){return false});m.isXML=function(g){return(g=(g?g.ownerDocument||g:0).documentElement)?g.nodeName!=="HTML":false};var W=function(g,k){var n,r=[],
t="";for(k=k.nodeType?[k]:k;n=s.match.PSEUDO.exec(g);){t+=n[0];g=g.replace(s.match.PSEUDO,"")}g=s.relative[g]?g+"*":g;n=0;for(var w=k.length;n<w;n++)m(g,k[n],r);return m.filter(t,r)};c.find=m;c.expr=m.selectors;c.expr[":"]=c.expr.filters;c.unique=m.uniqueSort;c.text=m.getText;c.isXMLDoc=m.isXML;c.contains=m.contains})();var tb=/Until$/,ub=/^(?:parents|prevUntil|prevAll)/,vb=/,/,hb=/^.[^:#\[\.,]*$/,wb=Array.prototype.slice,xb=c.expr.match.POS,yb={children:true,contents:true,next:true,prev:true};c.fn.extend({find:function(a){for(var b=
this.pushStack("","find",a),d=0,e=0,f=this.length;e<f;e++){d=b.length;c.find(a,this[e],b);if(e>0)for(var h=d;h<b.length;h++)for(var j=0;j<d;j++)if(b[j]===b[h]){b.splice(h--,1);break}}return b},has:function(a){var b=c(a);return this.filter(function(){for(var d=0,e=b.length;d<e;d++)if(c.contains(this,b[d]))return true})},not:function(a){return this.pushStack(Ga(this,a,false),"not",a)},filter:function(a){return this.pushStack(Ga(this,a,true),"filter",a)},is:function(a){return!!a&&c.filter(a,this).length>
0},closest:function(a,b){var d=[],e,f,h=this[0];if(c.isArray(a)){var j,p={},o=1;if(h&&a.length){e=0;for(f=a.length;e<f;e++){j=a[e];p[j]||(p[j]=c.expr.match.POS.test(j)?c(j,b||this.context):j)}for(;h&&h.ownerDocument&&h!==b;){for(j in p){a=p[j];(a.jquery?a.index(h)>-1:c(h).is(a))&&d.push({selector:j,elem:h,level:o})}h=h.parentNode;o++}}return d}j=xb.test(a)?c(a,b||this.context):null;e=0;for(f=this.length;e<f;e++)for(h=this[e];h;){if(j?j.index(h)>-1:c.find.matchesSelector(h,a)){d.push(h);break}h=h.parentNode;
if(!h||!h.ownerDocument||h===b)break}d=d.length>1?c.unique(d):d;return this.pushStack(d,"closest",a)},index:function(a){if(!a||typeof a==="string")return c.inArray(this[0],a?c(a):this.parent().children());return c.inArray(a.jquery?a[0]:a,this)},add:function(a,b){a=typeof a==="string"?c(a,b):c.makeArray(a);b=c.merge(this.get(),a);return this.pushStack(Ha(a[0])||Ha(b[0])?b:c.unique(b))},andSelf:function(){return this.add(this.prevObject)}});c.each({parent:function(a){return(a=a.parentNode)&&a.nodeType!==
11?a:null},parents:function(a){return c.dir(a,"parentNode")},parentsUntil:function(a,b,d){return c.dir(a,"parentNode",d)},next:function(a){return c.nth(a,2,"nextSibling")},prev:function(a){return c.nth(a,2,"previousSibling")},nextAll:function(a){return c.dir(a,"nextSibling")},prevAll:function(a){return c.dir(a,"previousSibling")},nextUntil:function(a,b,d){return c.dir(a,"nextSibling",d)},prevUntil:function(a,b,d){return c.dir(a,"previousSibling",d)},siblings:function(a){return c.sibling(a.parentNode.firstChild,
a)},children:function(a){return c.sibling(a.firstChild)},contents:function(a){return c.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:c.makeArray(a.childNodes)}},function(a,b){c.fn[a]=function(d,e){var f=c.map(this,b,d),h=wb.call(arguments);tb.test(a)||(e=d);e&&typeof e==="string"&&(f=c.filter(e,f));f=this.length>1&&!yb[a]?c.unique(f):f;(this.length>1||vb.test(e))&&ub.test(a)&&(f=f.reverse());return this.pushStack(f,a,h.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){var e=[];for(a=a[b];a&&a.nodeType!==9&&(d===y||a.nodeType!==1||!c(a).is(d));){a.nodeType===1&&e.push(a);a=a[b]}return e},nth:function(a,b,d){b=b||1;for(var e=0;a;a=a[d])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){for(var d=[];a;a=a.nextSibling)a.nodeType===1&&a!==b&&d.push(a);return d}});var zb=/ jQuery\d+="(?:\d+|null)"/g,za=/^\s+/,Qa=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,
Ra=/<([\w:]+)/,Ab=/<tbody/i,Bb=/<|&#?\w+;/,Sa=/<(?:script|object|embed|option|style)/i,Ta=/checked\s*(?:[^=]|=\s*.checked.)/i,V={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,"",""]};V.optgroup=V.option;V.tbody=V.tfoot=V.colgroup=
V.caption=V.thead;V.th=V.td;c.support.htmlSerialize||(V._default=[1,"div<div>","</div>"]);c.fn.extend({text:function(a){if(c.isFunction(a))return this.each(function(b){var d=c(this);d.text(a.call(this,b,d.text()))});if(typeof a!=="object"&&a!==y)return this.empty().append((this[0]&&this[0].ownerDocument||x).createTextNode(a));return c.text(this)},wrapAll:function(a){if(c.isFunction(a))return this.each(function(d){c(this).wrapAll(a.call(this,d))});if(this[0]){var b=c(a,this[0].ownerDocument).eq(0).clone(true);
this[0].parentNode&&b.insertBefore(this[0]);b.map(function(){for(var d=this;d.firstChild&&d.firstChild.nodeType===1;)d=d.firstChild;return d}).append(this)}return this},wrapInner:function(a){if(c.isFunction(a))return this.each(function(b){c(this).wrapInner(a.call(this,b))});return this.each(function(){var b=c(this),d=b.contents();d.length?d.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){c(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){c.nodeName(this,
"body")||c(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this)});if(arguments.length){var a=c(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,
"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this.nextSibling)});if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,c(arguments[0]).toArray());return a}},remove:function(a,b){for(var d=0,e;(e=this[d])!=null;d++)if(!a||c.filter(a,[e]).length){!b&&e.nodeType===1&&(c.cleanData(e.getElementsByTagName("*")),c.cleanData([e]));e.parentNode&&e.parentNode.removeChild(e)}return this},
empty:function(){for(var a=0,b;(b=this[a])!=null;a++)for(b.nodeType===1&&c.cleanData(b.getElementsByTagName("*"));b.firstChild;)b.removeChild(b.firstChild);return this},clone:function(a,b){a=a==null?false:a;b=b==null?a:b;return this.map(function(){return c.clone(this,a,b)})},html:function(a){if(a===y)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(zb,""):null;if(typeof a!=="string"||Sa.test(a)||!c.support.leadingWhitespace&&za.test(a)||V[(Ra.exec(a)||["",""])[1].toLowerCase()])c.isFunction(a)?
this.each(function(f){var h=c(this);h.html(a.call(this,f,h.html()))}):this.empty().append(a);else{a=a.replace(Qa,"<$1></$2>");try{for(var b=0,d=this.length;b<d;b++)this[b].nodeType===1&&(c.cleanData(this[b].getElementsByTagName("*")),this[b].innerHTML=a)}catch(e){this.empty().append(a)}}return this},replaceWith:function(a){if(this[0]&&this[0].parentNode){if(c.isFunction(a))return this.each(function(b){var d=c(this),e=d.html();d.replaceWith(a.call(this,b,e))});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)})}return this.pushStack(c(c.isFunction(a)?a():a),"replaceWith",a)},detach:function(a){return this.remove(a,true)},domManip:function(a,b,d){var e,f,h,j=a[0],p=[];if(!c.support.checkClone&&arguments.length===3&&typeof j==="string"&&Ta.test(j))return this.each(function(){c(this).domManip(a,b,d,true)});if(c.isFunction(j))return this.each(function(B){var F=c(this);a[0]=j.call(this,B,b?
F.html():y);F.domManip(a,b,d)});if(this[0]){h=j&&j.parentNode;c.support.parentNode&&h&&h.nodeType===11&&h.childNodes.length===this.length?(e={fragment:h}):(e=c.buildFragment(a,this,p));h=e.fragment;h.childNodes.length===1?(f=h=h.firstChild):(f=h.firstChild);if(f){b=b&&c.nodeName(f,"tr");for(var o=0,m=this.length,s=m-1;o<m;o++)d.call(b?gb(this[o],f):this[o],e.cacheable||m>1&&o<s?c.clone(h,true,true):h)}p.length&&c.each(p,fb)}return this}});c.buildFragment=function(a,b,d){var e,f,h;b=b&&b[0]?b[0].ownerDocument||
b[0]:x;a.length===1&&typeof a[0]==="string"&&a[0].length<512&&b===x&&a[0].charAt(0)==="<"&&!Sa.test(a[0])&&(c.support.checkClone||!Ta.test(a[0]))&&(f=true,h=c.fragments[a[0]],h&&h!==1&&(e=h));e||(e=b.createDocumentFragment(),c.clean(a,b,e,d));f&&(c.fragments[a[0]]=h?e:1);return{fragment:e,cacheable:f}};c.fragments={};c.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){c.fn[a]=function(d){var e=[];d=c(d);var f=this.length===
1&&this[0].parentNode;if(f&&f.nodeType===11&&f.childNodes.length===1&&d.length===1){d[b](this[0]);return this}f=0;for(var h=d.length;f<h;f++){var j=(f>0?this.clone(true):this).get();c(d[f])[b](j);e=e.concat(j)}return this.pushStack(e,a,d.selector)}});c.extend({clone:function(a,b,d){var e=a.cloneNode(true),f,h,j;if((!c.support.noCloneEvent||!c.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!c.isXMLDoc(a)){Ea(a,e);f=ka(a);h=ka(e);for(j=0;f[j];++j)Ea(f[j],h[j])}if(b){Fa(a,e);if(d){f=ka(a);
h=ka(e);for(j=0;f[j];++j)Fa(f[j],h[j])}}return e},clean:function(a,b,d,e){b=b||x;typeof b.createElement==="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||x);for(var f=[],h=0,j;(j=a[h])!=null;h++){typeof j==="number"&&(j+="");if(j){if(typeof j!=="string"||Bb.test(j)){if(typeof j==="string"){j=j.replace(Qa,"<$1></$2>");var p=(Ra.exec(j)||["",""])[1].toLowerCase(),o=V[p]||V._default,m=o[0],s=b.createElement("div");for(s.innerHTML=o[1]+j+o[2];m--;)s=s.lastChild;if(!c.support.tbody){m=Ab.test(j);
p=p==="table"&&!m?s.firstChild&&s.firstChild.childNodes:o[1]==="<table>"&&!m?s.childNodes:[];for(o=p.length-1;o>=0;--o)c.nodeName(p[o],"tbody")&&!p[o].childNodes.length&&p[o].parentNode.removeChild(p[o])}!c.support.leadingWhitespace&&za.test(j)&&s.insertBefore(b.createTextNode(za.exec(j)[0]),s.firstChild);j=s.childNodes}}else j=b.createTextNode(j);j.nodeType?f.push(j):(f=c.merge(f,j))}}if(d)for(h=0;f[h];h++)!e||!c.nodeName(f[h],"script")||f[h].type&&f[h].type.toLowerCase()!=="text/javascript"?(f[h].nodeType===
1&&f.splice.apply(f,[h+1,0].concat(c.makeArray(f[h].getElementsByTagName("script")))),d.appendChild(f[h])):e.push(f[h].parentNode?f[h].parentNode.removeChild(f[h]):f[h]);return f},cleanData:function(a){for(var b,d,e=c.cache,f=c.expando,h=c.event.special,j=c.support.deleteExpando,p=0,o;(o=a[p])!=null;p++)if(!(o.nodeName&&c.noData[o.nodeName.toLowerCase()]))if(d=o[c.expando]){if((b=e[d]&&e[d][f])&&b.events){for(var m in b.events)h[m]?c.event.remove(o,m):c.removeEvent(o,m,b.handle);b.handle&&(b.handle.elem=
null)}j?delete o[c.expando]:o.removeAttribute&&o.removeAttribute(c.expando);delete e[d]}}});var Ua=/alpha\([^)]*\)/i,Cb=/opacity=([^)]*)/,Db=/-([a-z])/ig,Eb=/([A-Z])/g,Va=/^-?\d+(?:px)?$/i,Fb=/^-?\d/,Gb={position:"absolute",visibility:"hidden",display:"block"},db=["Left","Right"],eb=["Top","Bottom"],ia,ca,qa,Hb=function(a,b){return b.toUpperCase()};c.fn.css=function(a,b){if(arguments.length===2&&b===y)return this;return c.access(this,a,b,true,function(d,e,f){return f!==y?c.style(d,e,f):c.css(d,e)})};
c.extend({cssHooks:{opacity:{get:function(a,b){if(b){a=ia(a,"opacity","opacity");return a===""?"1":a}return a.style.opacity}}},cssNumber:{zIndex:true,fontWeight:true,opacity:true,zoom:true,lineHeight:true},cssProps:{"float":c.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,b,d,e){if(a&&a.nodeType!==3&&a.nodeType!==8&&a.style){var f,h=c.camelCase(b),j=a.style,p=c.cssHooks[h];b=c.cssProps[h]||h;if(d===y){if(p&&"get"in p&&(f=p.get(a,false,e))!==y)return f;return j[b]}if(!(typeof d==="number"&&
isNaN(d)||d==null)){typeof d==="number"&&!c.cssNumber[h]&&(d+="px");if(!p||!("set"in p)||(d=p.set(a,d))!==y)try{j[b]=d}catch(o){}}}},css:function(a,b,d){var e,f=c.camelCase(b),h=c.cssHooks[f];b=c.cssProps[f]||f;if(h&&"get"in h&&(e=h.get(a,true,d))!==y)return e;if(ia)return ia(a,b,f)},swap:function(a,b,d){var e={};for(var f in b){e[f]=a.style[f];a.style[f]=b[f]}d.call(a);for(f in b)a.style[f]=e[f]},camelCase:function(a){return a.replace(Db,Hb)}});c.curCSS=c.css;c.each(["height","width"],function(a,
b){c.cssHooks[b]={get:function(d,e,f){var h;if(e){d.offsetWidth!==0?(h=Da(d,b,f)):c.swap(d,Gb,function(){h=Da(d,b,f)});if(h<=0){h=ia(d,b,b);h==="0px"&&qa&&(h=qa(d,b,b));if(h!=null)return h===""||h==="auto"?"0px":h}if(h<0||h==null){h=d.style[b];return h===""||h==="auto"?"0px":h}return typeof h==="string"?h:h+"px"}},set:function(d,e){if(!Va.test(e))return e;e=parseFloat(e);if(e>=0)return e+"px"}}});c.support.opacity||(c.cssHooks.opacity={get:function(a,b){return Cb.test((b&&a.currentStyle?a.currentStyle.filter:
a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){a=a.style;a.zoom=1;b=c.isNaN(b)?"":"alpha(opacity="+b*100+")";var d=a.filter||"";a.filter=Ua.test(d)?d.replace(Ua,b):a.filter+" "+b}});x.defaultView&&x.defaultView.getComputedStyle&&(ca=function(a,b,d){var e;d=d.replace(Eb,"-$1").toLowerCase();if(!(b=a.ownerDocument.defaultView))return y;if(b=b.getComputedStyle(a,null)){e=b.getPropertyValue(d);e===""&&!c.contains(a.ownerDocument.documentElement,a)&&(e=c.style(a,d))}return e});
x.documentElement.currentStyle&&(qa=function(a,b){var d,e=a.currentStyle&&a.currentStyle[b],f=a.runtimeStyle&&a.runtimeStyle[b],h=a.style;!Va.test(e)&&Fb.test(e)&&(d=h.left,f&&(a.runtimeStyle.left=a.currentStyle.left),h.left=b==="fontSize"?"1em":e||0,e=h.pixelLeft+"px",h.left=d,f&&(a.runtimeStyle.left=f));return e===""?"auto":e});ia=ca||qa;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 Ib=/%20/g,cb=/\[\]$/,Wa=/\r?\n/g,Jb=/#.*$/,Kb=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,Lb=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,Mb=/^(?:GET|HEAD)$/,Nb=/^\/\//,Xa=/\?/,Ob=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,Pb=/^(?:select|textarea)/i,Ca=/\s+/,Qb=/([?&])_=[^&]*/,Rb=/(^|\-)([a-z])/g,Sb=function(a,b,d){return b+d.toUpperCase()},Ya=
/^([\w\+\.\-]+:)\/\/([^\/?#:]*)(?::(\d+))?/,Za=c.fn.load,va={},$a={},da,ea;try{da=x.location.href}catch(Yb){da=x.createElement("a");da.href="";da=da.href}ea=Ya.exec(da.toLowerCase());c.fn.extend({load:function(a,b,d){if(typeof a!=="string"&&Za)return Za.apply(this,arguments);if(!this.length)return this;var e=a.indexOf(" ");if(e>=0){var f=a.slice(e,a.length);a=a.slice(0,e)}e="GET";b&&(c.isFunction(b)?(d=b,b=y):typeof b==="object"&&(b=c.param(b,c.ajaxSettings.traditional),e="POST"));var h=this;c.ajax({url:a,
type:e,dataType:"html",data:b,complete:function(j,p,o){o=j.responseText;j.isResolved()&&(j.done(function(m){o=m}),h.html(f?c("<div>").append(o.replace(Ob,"")).find(f):o));d&&h.each(d,[o,p,j])}});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||Pb.test(this.nodeName)||Lb.test(this.type))}).map(function(a,
b){a=c(this).val();return a==null?null:c.isArray(a)?c.map(a,function(d){return{name:b.name,value:d.replace(Wa,"\r\n")}}):{name:b.name,value:a.replace(Wa,"\r\n")}}).get()}});c.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){c.fn[b]=function(d){return this.bind(b,d)}});c.each(["get","post"],function(a,b){c[b]=function(d,e,f,h){c.isFunction(e)&&(h=h||f,f=e,e=y);return c.ajax({type:b,url:d,data:e,success:f,dataType:h})}});c.extend({getScript:function(a,b){return c.get(a,
y,b,"script")},getJSON:function(a,b,d){return c.get(a,b,d,"json")},ajaxSetup:function(a,b){b?c.extend(true,a,c.ajaxSettings,b):(b=a,a=c.extend(true,c.ajaxSettings,b));for(var d in{context:1,url:1})d in b?(a[d]=b[d]):d in c.ajaxSettings&&(a[d]=c.ajaxSettings[d]);return a},ajaxSettings:{url:da,isLocal:/(?:^file|^widget|\-extension):$/.test(ea[1]),global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,accepts:{xml:"application/xml, text/xml",html:"text/html",
text:"text/plain",json:"application/json, text/javascript","*":"*/*"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":v.String,"text html":true,"text json":c.parseJSON,"text xml":c.parseXML}},ajaxPrefilter:Ba(va),ajaxTransport:Ba($a),ajax:function(a,b){function d(n,r,t,w){if(L!==2){L=2;J&&clearTimeout(J);D=y;B=w||"";g.readyState=n?4:0;var C,A,H;t=t?bb(e,g,t):y;if(n>=200&&n<300||n===304){if(e.ifModified){if(w=g.getResponseHeader("Last-Modified"))c.lastModified[m]=
w;if(w=g.getResponseHeader("Etag"))c.etag[m]=w}if(n===304){r="notmodified";C=true}else try{A=Y(e,t);r="success";C=true}catch(P){r="parsererror";H=P}}else{H=r;if(!r||n){r="error";n<0&&(n=0)}}g.status=n;g.statusText=r;C?j.resolveWith(f,[A,r,g]):j.rejectWith(f,[g,r,H]);g.statusCode(o);o=y;U&&h.trigger("ajax"+(C?"Success":"Error"),[g,e,C?A:H]);p.resolveWith(f,[g,r]);U&&(h.trigger("ajaxComplete",[g,e]),--c.active||c.event.trigger("ajaxStop"))}}typeof a==="object"&&(b=a,a=y);b=b||{};var e=c.ajaxSetup({},
b),f=e.context||e,h=f!==e&&(f.nodeType||f instanceof c)?c(f):c.event,j=c.Deferred(),p=c._Deferred(),o=e.statusCode||{},m,s={},B,F,D,J,N,L=0,U,W,g={readyState:0,setRequestHeader:function(n,r){L||(s[n.toLowerCase().replace(Rb,Sb)]=r);return this},getAllResponseHeaders:function(){return L===2?B:null},getResponseHeader:function(n){var r;if(L===2){if(!F)for(F={};r=Kb.exec(B);)F[r[1].toLowerCase()]=r[2];r=F[n.toLowerCase()]}return r===y?null:r},overrideMimeType:function(n){L||(e.mimeType=n);return this},
abort:function(n){n=n||"abort";D&&D.abort(n);d(0,n);return this}};j.promise(g);g.success=g.done;g.error=g.fail;g.complete=p.done;g.statusCode=function(n){if(n){var r;if(L<2)for(r in n)o[r]=[o[r],n[r]];else{r=n[g.status];g.then(r,r)}}return this};e.url=((a||e.url)+"").replace(Jb,"").replace(Nb,ea[1]+"//");e.dataTypes=c.trim(e.dataType||"*").toLowerCase().split(Ca);e.crossDomain||(N=Ya.exec(e.url.toLowerCase()),e.crossDomain=N&&(N[1]!=ea[1]||N[2]!=ea[2]||(N[3]||(N[1]==="http:"?80:443))!=(ea[3]||(ea[1]===
"http:"?80:443))));e.data&&e.processData&&typeof e.data!=="string"&&(e.data=c.param(e.data,e.traditional));ja(va,e,b,g);if(L===2)return false;U=e.global;e.type=e.type.toUpperCase();e.hasContent=!Mb.test(e.type);U&&c.active++===0&&c.event.trigger("ajaxStart");if(!e.hasContent){e.data&&(e.url+=(Xa.test(e.url)?"&":"?")+e.data);m=e.url;if(e.cache===false){a=c.now();N=e.url.replace(Qb,"$1_="+a);e.url=N+(N===e.url?(Xa.test(e.url)?"&":"?")+"_="+a:"")}}if(e.data&&e.hasContent&&e.contentType!==false||b.contentType)s["Content-Type"]=
e.contentType;e.ifModified&&(m=m||e.url,c.lastModified[m]&&(s["If-Modified-Since"]=c.lastModified[m]),c.etag[m]&&(s["If-None-Match"]=c.etag[m]));s.Accept=e.dataTypes[0]&&e.accepts[e.dataTypes[0]]?e.accepts[e.dataTypes[0]]+(e.dataTypes[0]!=="*"?", */*; q=0.01":""):e.accepts["*"];for(W in e.headers)g.setRequestHeader(W,e.headers[W]);if(e.beforeSend&&(e.beforeSend.call(f,g,e)===false||L===2)){g.abort();return false}for(W in{success:1,error:1,complete:1})g[W](e[W]);if(D=ja($a,e,b,g)){g.readyState=1;U&&
h.trigger("ajaxSend",[g,e]);e.async&&e.timeout>0&&(J=setTimeout(function(){g.abort("timeout")},e.timeout));try{L=1;D.send(s,d)}catch(k){status<2?d(-1,k):c.error(k)}}else d(-1,"No Transport");return g},param:function(a,b){var d=[],e=function(h,j){j=c.isFunction(j)?j():j;d[d.length]=encodeURIComponent(h)+"="+encodeURIComponent(j)};b===y&&(b=c.ajaxSettings.traditional);if(c.isArray(a)||a.jquery&&!c.isPlainObject(a))c.each(a,function(){e(this.name,this.value)});else for(var f in a)ua(f,a[f],b,e);return d.join("&").replace(Ib,
"+")}});c.extend({active:0,lastModified:{},etag:{}});var Tb=c.now(),ra=/(\=)\?(&|$)|()\?\?()/i;c.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return c.expando+"_"+Tb++}});c.ajaxPrefilter("json jsonp",function(a,b,d){var e=typeof a.data==="string";if(a.dataTypes[0]==="jsonp"||b.jsonpCallback||b.jsonp!=null||a.jsonp!==false&&(ra.test(a.url)||e&&ra.test(a.data))){var f,h=a.jsonpCallback=c.isFunction(a.jsonpCallback)?a.jsonpCallback():a.jsonpCallback,j=v[h];b=a.url;var p=a.data,o="$1"+h+"$2",
m=function(){v[h]=j;f&&c.isFunction(j)&&v[h](f[0])};a.jsonp!==false&&(b=b.replace(ra,o),a.url===b&&(e&&(p=p.replace(ra,o)),a.data===p&&(b+=(/\?/.test(b)?"&":"?")+a.jsonp+"="+h)));a.url=b;a.data=p;v[h]=function(s){f=[s]};d.then(m,m);a.converters["script json"]=function(){f||c.error(h+" was not called");return f[0]};a.dataTypes[0]="json";return"script"}});c.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},
converters:{"text script":function(a){c.globalEval(a);return a}}});c.ajaxPrefilter("script",function(a){a.cache===y&&(a.cache=false);a.crossDomain&&(a.type="GET",a.global=false)});c.ajaxTransport("script",function(a){if(a.crossDomain){var b,d=x.head||x.getElementsByTagName("head")[0]||x.documentElement;return{send:function(e,f){b=x.createElement("script");b.async="async";a.scriptCharset&&(b.charset=a.scriptCharset);b.src=a.url;b.onload=b.onreadystatechange=function(h,j){if(!b.readyState||/loaded|complete/.test(b.readyState)){b.onload=
b.onreadystatechange=null;d&&b.parentNode&&d.removeChild(b);b=y;j||f(200,"success")}};d.insertBefore(b,d.firstChild)},abort:function(){b&&b.onload(0,1)}}}});var Ub=c.now(),fa;c.ajaxSettings.xhr=v.ActiveXObject?function(){return!this.isLocal&&S()||R()}:S;ca=c.ajaxSettings.xhr();c.support.ajax=!!ca;c.support.cors=ca&&"withCredentials"in ca;ca=y;c.support.ajax&&c.ajaxTransport(function(a){if(!a.crossDomain||c.support.cors){var b;return{send:function(d,e){var f=a.xhr(),h,j;a.username?f.open(a.type,a.url,
a.async,a.username,a.password):f.open(a.type,a.url,a.async);if(a.xhrFields)for(j in a.xhrFields)f[j]=a.xhrFields[j];a.mimeType&&f.overrideMimeType&&f.overrideMimeType(a.mimeType);(!a.crossDomain||a.hasContent)&&!d["X-Requested-With"]&&(d["X-Requested-With"]="XMLHttpRequest");try{for(j in d)f.setRequestHeader(j,d[j])}catch(p){}f.send(a.hasContent&&a.data||null);b=function(o,m){var s,B,F,D,J;try{if(b&&(m||f.readyState===4)){b=y;h&&(f.onreadystatechange=c.noop,delete fa[h]);if(m)f.readyState!==4&&f.abort();
else{s=f.status;F=f.getAllResponseHeaders();D={};(J=f.responseXML)&&J.documentElement&&(D.xml=J);D.text=f.responseText;try{B=f.statusText}catch(N){B=""}s||!a.isLocal||a.crossDomain?s===1223&&(s=204):(s=D.text?200:404)}}}catch(L){m||e(-1,L)}D&&e(s,B,D,F)};a.async&&f.readyState!==4?(fa||(fa={},X()),h=Ub++,f.onreadystatechange=fa[h]=b):b()},abort:function(){b&&b(0,1)}}}});var ta={},Vb=/^(?:toggle|show|hide)$/,Wb=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,sa,Aa=[["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(E("show",3),a,b,d);d=0;for(var e=this.length;d<e;d++){a=this[d];b=a.style.display;!c._data(a,"olddisplay")&&b==="none"&&(b=a.style.display="");b===""&&c.css(a,"display")==="none"&&c._data(a,"olddisplay",Q(a.nodeName))}for(d=0;d<e;d++){a=this[d];b=a.style.display;if(b===""||b==="none")a.style.display=c._data(a,"olddisplay")||""}return this},
hide:function(a,b,d){if(a||a===0)return this.animate(E("hide",3),a,b,d);a=0;for(b=this.length;a<b;a++){d=c.css(this[a],"display");d!=="none"&&!c._data(this[a],"olddisplay")&&c._data(this[a],"olddisplay",d)}for(a=0;a<b;a++)this[a].style.display="none";return this},_toggle:c.fn.toggle,toggle:function(a,b,d){var e=typeof a==="boolean";c.isFunction(a)&&c.isFunction(b)?this._toggle.apply(this,arguments):a==null||e?this.each(function(){var f=e?a:c(this).is(":hidden");c(this)[f?"show":"hide"]()}):this.animate(E("toggle",
3),a,b,d);return this},fadeTo:function(a,b,d,e){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,d,e)},animate:function(a,b,d,e){var f=c.speed(b,d,e);if(c.isEmptyObject(a))return this.each(f.complete);return this[f.queue===false?"each":"queue"](function(){var h=c.extend({},f),j,p=this.nodeType===1,o=p&&c(this).is(":hidden"),m=this;for(j in a){var s=c.camelCase(j);j!==s&&(a[s]=a[j],delete a[j],j=s);if(a[j]==="hide"&&o||a[j]==="show"&&!o)return h.complete.call(this);
if(p&&(j==="height"||j==="width")){h.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY];if(c.css(this,"display")==="inline"&&c.css(this,"float")==="none")if(c.support.inlineBlockNeedsLayout)Q(this.nodeName)==="inline"?(this.style.display="inline-block"):(this.style.display="inline",this.style.zoom=1);else this.style.display="inline-block"}c.isArray(a[j])&&((h.specialEasing=h.specialEasing||{})[j]=a[j][1],a[j]=a[j][0])}h.overflow!=null&&(this.style.overflow="hidden");h.curAnim=
c.extend({},a);c.each(a,function(B,F){var D=new c.fx(m,h,B);if(Vb.test(F))D[F==="toggle"?o?"show":"hide":F](a);else{var J=Wb.exec(F),N=D.cur();if(J){F=parseFloat(J[2]);var L=J[3]||(c.cssNumber[B]?"":"px");L!=="px"&&(c.style(m,B,(F||1)+L),N=(F||1)/D.cur()*N,c.style(m,B,N+L));J[1]&&(F=(J[1]==="-="?-1:1)*F+N);D.custom(N,F,L)}else D.custom(N,F,"")}});return true})},stop:function(a,b){var d=c.timers;a&&this.queue([]);this.each(function(){for(var e=d.length-1;e>=0;e--)d[e].elem===this&&(b&&d[e](true),d.splice(e,
1))});b||this.dequeue();return this}});c.each({slideDown:E("show",1),slideUp:E("hide",1),slideToggle:E("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){c.fn[a]=function(d,e,f){return this.animate(b,d,e,f)}});c.extend({speed:function(a,b,d){var e=a&&typeof a==="object"?c.extend({},a):{complete:d||!d&&b||c.isFunction(a)&&a,duration:a,easing:d&&b||b&&!c.isFunction(b)&&b};e.duration=c.fx.off?0:typeof e.duration==="number"?e.duration:e.duration in
c.fx.speeds?c.fx.speeds[e.duration]:c.fx.speeds._default;e.old=e.complete;e.complete=function(){e.queue!==false&&c(this).dequeue();c.isFunction(e.old)&&e.old.call(this)};return e},easing:{linear:function(a,b,d,e){return d+e*a},swing:function(a,b,d,e){return(-Math.cos(a*Math.PI)/2+0.5)*e+d}},timers:[],fx:function(a,b,d){this.options=b;this.elem=a;this.prop=d;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,b=c.css(this.elem,this.prop);return isNaN(a=parseFloat(b))?!b||b==="auto"?0:b:a},custom:function(a,b,d){function e(j){return f.step(j)}var f=this,h=c.fx;this.startTime=c.now();this.start=a;this.end=b;this.unit=d||this.unit||(c.cssNumber[this.prop]?"":"px");this.now=this.start;this.pos=this.state=0;e.elem=this.elem;e()&&c.timers.push(e)&&!sa&&
(sa=setInterval(h.tick,h.interval))},show:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());c(this.elem).show()},hide:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(a){var b=c.now(),d=true;if(a||b>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=
true;for(var e in this.options.curAnim)this.options.curAnim[e]!==true&&(d=false);if(d){if(this.options.overflow!=null&&!c.support.shrinkWrapBlocks){var f=this.elem,h=this.options;c.each(["","X","Y"],function(p,o){f.style["overflow"+o]=h.overflow[p]})}this.options.hide&&c(this.elem).hide();if(this.options.hide||this.options.show)for(var j in this.options.curAnim)c.style(this.elem,j,this.options.orig[j]);this.options.complete.call(this.elem)}return false}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(sa);sa=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)}}});c.expr&&c.expr.filters&&(c.expr.filters.animated=function(a){return c.grep(c.timers,function(b){return a===b.elem}).length});var Xb=/^t(?:able|d|h)$/i,ab=/^(?:body|html)$/i;"getBoundingClientRect"in x.documentElement?(c.fn.offset=function(a){var b=this[0],d;if(a)return this.each(function(j){c.offset.setOffset(this,
a,j)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);try{d=b.getBoundingClientRect()}catch(e){}var f=b.ownerDocument,h=f.documentElement;if(!d||!c.contains(h,b))return d?{top:d.top,left:d.left}:{top:0,left:0};b=f.body;f=aa(f);return{top:d.top+(f.pageYOffset||c.support.boxModel&&h.scrollTop||b.scrollTop)-(h.clientTop||b.clientTop||0),left:d.left+(f.pageXOffset||c.support.boxModel&&h.scrollLeft||b.scrollLeft)-(h.clientLeft||b.clientLeft||0)}}):(c.fn.offset=
function(a){var b=this[0];if(a)return this.each(function(s){c.offset.setOffset(this,a,s)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);c.offset.initialize();var d,e=b.offsetParent,f=b,h=b.ownerDocument,j=h.documentElement,p=h.body;d=(h=h.defaultView)?h.getComputedStyle(b,null):b.currentStyle;for(var o=b.offsetTop,m=b.offsetLeft;(b=b.parentNode)&&b!==p&&b!==j;){if(c.offset.supportsFixedPosition&&d.position==="fixed")break;d=h?h.getComputedStyle(b,null):
b.currentStyle;o-=b.scrollTop;m-=b.scrollLeft;b===e&&(o+=b.offsetTop,m+=b.offsetLeft,c.offset.doesNotAddBorder&&(!c.offset.doesAddBorderForTableAndCells||!Xb.test(b.nodeName))&&(o+=parseFloat(d.borderTopWidth)||0,m+=parseFloat(d.borderLeftWidth)||0),f=e,e=b.offsetParent);c.offset.subtractsBorderForOverflowNotVisible&&d.overflow!=="visible"&&(o+=parseFloat(d.borderTopWidth)||0,m+=parseFloat(d.borderLeftWidth)||0);d=d}if(d.position==="relative"||d.position==="static"){o+=p.offsetTop;m+=p.offsetLeft}c.offset.supportsFixedPosition&&
d.position==="fixed"&&(o+=Math.max(j.scrollTop,p.scrollTop),m+=Math.max(j.scrollLeft,p.scrollLeft));return{top:o,left:m}});c.offset={initialize:function(){var a=x.body,b=x.createElement("div"),d,e,f,h=parseFloat(c.css(a,"marginTop"))||0;c.extend(b.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"});b.innerHTML="<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";
a.insertBefore(b,a.firstChild);d=b.firstChild;e=d.firstChild;f=d.nextSibling.firstChild.firstChild;this.doesNotAddBorder=e.offsetTop!==5;this.doesAddBorderForTableAndCells=f.offsetTop===5;e.style.position="fixed";e.style.top="20px";this.supportsFixedPosition=e.offsetTop===20||e.offsetTop===15;e.style.position=e.style.top="";d.style.overflow="hidden";d.style.position="relative";this.subtractsBorderForOverflowNotVisible=e.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==h;a.removeChild(b);
c.offset.initialize=c.noop},bodyOffset:function(a){var b=a.offsetTop,d=a.offsetLeft;c.offset.initialize();c.offset.doesNotIncludeMarginInBodyOffset&&(b+=parseFloat(c.css(a,"marginTop"))||0,d+=parseFloat(c.css(a,"marginLeft"))||0);return{top:b,left:d}},setOffset:function(a,b,d){var e=c.css(a,"position");e==="static"&&(a.style.position="relative");var f=c(a),h=f.offset(),j=c.css(a,"top"),p=c.css(a,"left"),o=e==="absolute"&&c.inArray("auto",[j,p])>-1;e={};var m={};o&&(m=f.position());j=o?m.top:parseInt(j,
10)||0;p=o?m.left:parseInt(p,10)||0;c.isFunction(b)&&(b=b.call(a,d,h));b.top!=null&&(e.top=b.top-h.top+j);b.left!=null&&(e.left=b.left-h.left+p);"using"in b?b.using.call(a,e):f.css(e)}};c.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),d=this.offset(),e=ab.test(b[0].nodeName)?{top:0,left:0}:b.offset();d.top-=parseFloat(c.css(a,"marginTop"))||0;d.left-=parseFloat(c.css(a,"marginLeft"))||0;e.top+=parseFloat(c.css(b[0],"borderTopWidth"))||0;e.left+=parseFloat(c.css(b[0],
"borderLeftWidth"))||0;return{top:d.top-e.top,left:d.left-e.left}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||x.body;a&&!ab.test(a.nodeName)&&c.css(a,"position")==="static";)a=a.offsetParent;return a})}});c.each(["Left","Top"],function(a,b){var d="scroll"+b;c.fn[d]=function(e){var f=this[0],h;if(!f)return null;if(e!==y)return this.each(function(){(h=aa(this))?h.scrollTo(a?c(h).scrollLeft():e,a?e:c(h).scrollTop()):(this[d]=e)});return(h=aa(f))?"pageXOffset"in h?
h[a?"pageYOffset":"pageXOffset"]:c.support.boxModel&&h.document.documentElement[d]||h.document.body[d]:f[d]}});c.each(["Height","Width"],function(a,b){var d=b.toLowerCase();c.fn["inner"+b]=function(){return this[0]?parseFloat(c.css(this[0],d,"padding")):null};c.fn["outer"+b]=function(e){return this[0]?parseFloat(c.css(this[0],d,e?"margin":"border")):null};c.fn[d]=function(e){var f=this[0];if(!f)return e==null?null:this;if(c.isFunction(e))return this.each(function(j){var p=c(this);p[d](e.call(this,
j,p[d]()))});if(c.isWindow(f)){var h=f.document.documentElement["client"+b];return f.document.compatMode==="CSS1Compat"&&h||f.document.body["client"+b]||h}if(f.nodeType===9)return Math.max(f.documentElement["client"+b],f.body["scroll"+b],f.documentElement["scroll"+b],f.body["offset"+b],f.documentElement["offset"+b]);if(e===y){f=c.css(f,d);h=parseFloat(f);return c.isNaN(h)?f:h}return this.css(d,typeof e==="string"?e:e+"px")}});v.jQuery=v.$=c})(window);
(function(v){var y=v.browser.msie&&parseInt(v.browser.version)==6&&!window.XMLHttpRequest,aa=v.browser.msie&&!v.boxModel,Q=[];v.modal=function(E,R){return v.modal.impl.init(E,R)};v.modal.close=function(){v.modal.impl.close()};v.fn.modal=function(E){return v.modal.impl.init(this,E)};v.modal.defaults={opacity:50,overlayId:"simplemodal-overlay",overlayCss:{},containerId:"simplemodal-container",containerCss:{},dataCss:{},zIndex:1E3,close:true,closeHTML:'<a class="modalCloseImg" title="Close"></a>',closeClass:"simplemodal-close",
position:null,persist:false,onOpen:null,onShow:null,onClose:null};v.modal.impl={opts:null,dialog:{},init:function(E,R){if(this.dialog.data)return false;this.opts=v.extend({},v.modal.defaults,R);this.zIndex=this.opts.zIndex;this.occb=false;if(typeof E=="object"){E=E instanceof jQuery?E:v(E);if(E.parent().parent().size()>0){this.dialog.parentNode=E.parent();if(!this.opts.persist)this.dialog.orig=E.clone(true)}}else if(typeof E=="string"||typeof E=="number")E=v("<div/>").html(E);else{alert("SimpleModal Error: Unsupported data type: "+
typeof E);return false}this.dialog.data=E.addClass("simplemodal-data").css(this.opts.dataCss);this.create();this.open();v.isFunction(this.opts.onShow)&&this.opts.onShow.apply(this,[this.dialog]);return this},create:function(){Q=this.getDimensions();if(y)this.dialog.iframe=v('<iframe src="javascript:false;"/>').css(v.extend(this.opts.iframeCss,{display:"none",opacity:0,position:"fixed",height:Q[0],width:Q[1],zIndex:this.opts.zIndex,top:0,left:0})).appendTo("body");this.dialog.overlay=v("<div/>").attr("id",
this.opts.overlayId).addClass("simplemodal-overlay").css(v.extend(this.opts.overlayCss,{display:"none",opacity:this.opts.opacity/100,height:Q[0],width:Q[1],position:"fixed",left:0,top:0,zIndex:this.opts.zIndex+1})).appendTo("body");this.dialog.container=v("<div/>").attr("id",this.opts.containerId).addClass("simplemodal-container").css(v.extend(this.opts.containerCss,{display:"none",position:"fixed",zIndex:this.opts.zIndex+2})).append(this.opts.close?v(this.opts.closeHTML).addClass(this.opts.closeClass):
"").appendTo("body");this.setPosition();if(y||aa)this.fixIE();this.dialog.container.append(this.dialog.data.hide())},bindEvents:function(){var E=this;v("."+this.opts.closeClass).bind("click.simplemodal",function(R){R.preventDefault();E.close()});v(window).bind("resize.simplemodal",function(){Q=E.getDimensions();E.setPosition();if(y||aa)E.fixIE();else{E.dialog.iframe&&E.dialog.iframe.css({height:Q[0],width:Q[1]});E.dialog.overlay.css({height:Q[0],width:Q[1]})}})},unbindEvents:function(){v("."+this.opts.closeClass).unbind("click.simplemodal");
v(window).unbind("resize.simplemodal")},fixIE:function(){var E=this.opts.position;v.each([this.dialog.iframe||null,this.dialog.overlay,this.dialog.container],function(R,S){if(S){S=S[0].style;S.position="absolute";if(R<2){S.removeExpression("height");S.removeExpression("width");S.setExpression("height",'document.body.scrollHeight > document.body.clientHeight ? document.body.scrollHeight : document.body.clientHeight + "px"');S.setExpression("width",'document.body.scrollWidth > document.body.clientWidth ? document.body.scrollWidth : document.body.clientWidth + "px"')}else{var X,
Y;if(E&&E.constructor==Array){if(E[0]){X=typeof E[0]=="number"?E[0].toString():E[0].replace(/px/,"");X=X.indexOf("%")==-1?X+' + (t = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"':parseInt(X.replace(/%/,""))+' * ((document.documentElement.clientHeight || document.body.clientHeight) / 100) + (t = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"'}if(E[1]){Y=typeof E[1]=="number"?E[1].toString():
E[1].replace(/px/,"");Y=Y.indexOf("%")==-1?Y+' + (t = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft) + "px"':parseInt(Y.replace(/%/,""))+' * ((document.documentElement.clientWidth || document.body.clientWidth) / 100) + (t = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft) + "px"'}}else{X='(document.documentElement.clientHeight || document.body.clientHeight) / 2 - (this.offsetHeight / 2) + (t = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"';
Y='(document.documentElement.clientWidth || document.body.clientWidth) / 2 - (this.offsetWidth / 2) + (t = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft) + "px"'}S.removeExpression("top");S.removeExpression("left");S.setExpression("top",X);S.setExpression("left",Y)}}})},getDimensions:function(){var E=v(window);return[v.browser.opera&&v.browser.version>"9.5"&&v.fn.jquery<="1.2.6"?document.documentElement.clientHeight:E.height(),E.width()]},setPosition:function(){var E,
R;E=Q[0]/2-(this.dialog.container.height()||this.dialog.data.height())/2;R=Q[1]/2-(this.dialog.container.width()||this.dialog.data.width())/2;if(this.opts.position&&this.opts.position.constructor==Array){E=this.opts.position[0]||E;R=this.opts.position[1]||R}else{E=E;R=R}this.dialog.container.css({left:R,top:E})},open:function(){this.dialog.iframe&&this.dialog.iframe.show();if(v.isFunction(this.opts.onOpen))this.opts.onOpen.apply(this,[this.dialog]);else{this.dialog.overlay.show();this.dialog.container.show();
this.dialog.data.show()}this.bindEvents()},close:function(){if(!this.dialog.data)return false;if(v.isFunction(this.opts.onClose)&&!this.occb){this.occb=true;this.opts.onClose.apply(this,[this.dialog])}else{if(this.dialog.parentNode)if(this.opts.persist)this.dialog.data.hide().appendTo(this.dialog.parentNode);else{this.dialog.data.remove();this.dialog.orig.appendTo(this.dialog.parentNode)}else this.dialog.data.remove();this.dialog.container.remove();this.dialog.overlay.remove();this.dialog.iframe&&
this.dialog.iframe.remove();this.dialog={}}this.unbindEvents()}}})(jQuery);$(document).ready(function(){$(".focus").focus()});function show_error(v,y){if(y==0)y=Number(window.pageYOffset)+Number(window.innerHeight/2-100);$("#error_inner").html(v);$("#error").css({top:y+"px"});$("#error").show()}function hide_error(){$("#error_inner").html("");$("#error").hide()}
function check_mandatories(v){fn_error=false;for(cnt=0;cnt<v.length;cnt++)if($("#"+v[cnt]).val()==""||$("#"+v[cnt]).val()=="null")fn_error=true;return fn_error}function number_format(v,y,aa,Q){int_number=Math.floor(v);for(dec_number=String(Math.floor((v-int_number)*100));dec_number.length<y;)dec_number="0"+dec_number;for(nf_cnt=int_length=int_number.length;nf_cnt>0;nf_cnt--)if(nf_cnt%3==0)int_number=int_number.substring(0,nf_cnt)+Q+int_number.substring(nf_cnt);return int_number+aa+dec_number}
function show_modal(v){$("#"+v).modal({overlayCss:{backgroundColor:"#300",cursor:"wait"}})}function modal_close(){$.modal.close()}
$(document).ready(function(){$(".js_only").show();$(".thumb").mouseover(function(){$(this).css({"border-color":"#a00"})});$(".thumb").mouseout(function(){$(this).css({"border-color":"#300"})});$(".show_pic").mouseover(function(v){$("#big_pic").html("<img src='"+$(this).attr("src")+"' alt='"+$(this).attr("alt")+"' width='400' height='auto' />");v={position:"absolute",top:v.pageY-100+"px",left:v.pageX+40+"px",width:"auto",height:"auto",border:"solid 1px #000",background:"#000"};$("#big_pic").css(v)});
$(".show_pic").mouseout(function(){$("#big_pic").html("");$("#big_pic").css({position:"absolute",top:"100px",left:"0",width:"0",height:"0",border:"none"})});$("#search_input_input").focus(function(){if($(this).val()=="Suche"){$(this).css({color:"#000"});$(this).val("")}});$("#search_input_input").blur(function(){if($(this).val()=="Suche"||$(this).val()==""){$(this).css({color:"#a48686"});$(this).val("Suche")}});$(".index_m_box").mouseover(function(){fill_teaser($(this).attr("id"))});$("body").click(function(){$("#index_teaser").hide()});
$("#hide_filter").click(function(){$(".search_form").slideUp("slow",function(){$("#show_filter").show();$(".filter").show()})});$(".show_filter").click(function(){$("#show_filter").hide();$(".filter").hide();$(".search_form").slideDown("slow")});$(".similars").slideDown("slow");$(".extern_link").mouseover(function(){position=$(this).offset();$("#mhover_title").html($(this).attr("label")+": <br />"+$(this).attr("href"));$("#mhover").css({top:Number(position.top)-Number(160)+"px"});$("#mhover").css({left:Number(position.left)-
Number(80)+"px"});$("#mhover").show();$(".extern_tip").show()});$(".extern_link").mouseout(function(){$("#mhover").hide()});$(".similar_pics").mouseover(function(){position=$(this).offset();$(this).attr("title","anzeigen");$("#mhover_title").html("<img src='/apps/sc/pixx/layout/wait.gif' />");$("#mhover").css({top:"348px"});$("#mhover").css({left:"180px"});$("#mhover").show();$(".extern_tip").hide();$.ajax({type:"POST",url:"/apps/sc/ajax/sc.php",data:{method:"get_similar_text",obj_id:$(this).attr("label"),
link:"/"+gl_sc_detail+"/"},success:function(v){$("#mhover_title").html(v)}})});$("body").click(function(){$("#mhover").hide()});$.ajax({type:"POST",url:"/apps/sc/ajax/sc.php",data:{method:"get_email",obj_id:gl_object_id},success:function(v){v=v.split("##");if(v.length>0){mails=v[0].split(",");email="";for(i=0;i<mails.length;i++)email+="<a href='mailto:"+mails[i]+"' title='Email an "+mails[i]+"'><img src='/apps/sc/pixx/layout/sc_email.png' /> "+mails[i]+"</a><br />";$("#js_contact").html(email)}if(v.length>
1){phone_numbers=v[1].split(",");phone="";for(i=0;i<phone_numbers.length;i++)phone+="<img src='/apps/sc/pixx/layout/sc_phone.png' /> "+phone_numbers[i]+"<br />";$("#js_phone").html(phone)}}});$(".cform").hide();$(".show_form").click(function(){$(this).hide();$(".tipp").hide();$(".cform").slideDown("slow",function(){location.href="#cform"})})});
function fill_teaser(v){$("#index_teaser_txt").html($("#"+v+"_teaser").html());$("#index_teaser_more").html($("#"+v+"_teaser_more").html());$("#index_teaser").show()}function paginate(v){if(v<1)v=1;$("#p").val(v);$("#f_search_form").submit()}function open_comment(){$("#new_comment").css({opacity:"1.0"});$("#comment_form").show();show_modal("new_comment")}
function set_comment(){$(".comment_buttons").css({opacity:"0.0"});$.ajax({type:"POST",url:"/apps/sc/ajax/sc.php",data:{method:"set_comment",sc_id:gl_object_id,name:$("#author").val(),email:$("#email").val(),www:$("#www").val(),comment:$("#comment").val()},success:function(v){$("#email").css({"border-color":"#aaa"});$("#author").css({"border-color":"#aaa"});$("#comment").css({"border-color":"#aaa"});$("#comment_tip").html("");if(v!=""){id=out="";switch(v){case "1":out="Bitte &uuml;berpr&uuml;fe Deine Email";
id="email";break;case "2":out="Trage bitte einen Namen (Nick, Firmenname, Bandname o.&auml;.) ein.";id="author";break;case "3":out="Du hast den Kommentar vergessen";id="comment";break}$("#"+id).css({"border-color":"red"});$("#comment_tip").html(out);$(".comment_buttons").css({opacity:"1.0"})}else{out="<span style='color:#ddd; font-size:24px;'>Vielen Dank f&uuml;r Deinen Kommentar.<br />Er wird alsbald von einem Administrator gesichtet und ggf. freigeschaltet.</span>";$("#comment_form").hide();$("#comment_tip").html(out);
$("#new_comment").animate({opacity:0},4E3,function(){modal_close()})}}})};
