forked from minad/olelo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscript.js
173 lines (173 loc) · 92 KB
/
script.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
if(!this.JSON)this.JSON={};
(function(){function o(O){return O<10?"0"+O:O}function n(O){F.lastIndex=0;return F.test(O)?'"'+O.replace(F,function(N){var H=J[N];return typeof H==="string"?H:"\\u"+("0000"+N.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+O+'"'}function u(O,N){var H,S,U,ca,c=C,W,x=N[O];if(x&&typeof x==="object"&&typeof x.toJSON==="function")x=x.toJSON(O);if(typeof L==="function")x=L.call(N,O,x);switch(typeof x){case "string":return n(x);case "number":return isFinite(x)?String(x):"null";case "boolean":case "null":return String(x);
case "object":if(!x)return"null";C+=D;W=[];if(Object.prototype.toString.apply(x)==="[object Array]"){ca=x.length;for(H=0;H<ca;H+=1)W[H]=u(H,x)||"null";U=W.length===0?"[]":C?"[\n"+C+W.join(",\n"+C)+"\n"+c+"]":"["+W.join(",")+"]";C=c;return U}if(L&&typeof L==="object"){ca=L.length;for(H=0;H<ca;H+=1){S=L[H];if(typeof S==="string")if(U=u(S,x))W.push(n(S)+(C?": ":":")+U)}}else for(S in x)if(Object.hasOwnProperty.call(x,S))if(U=u(S,x))W.push(n(S)+(C?": ":":")+U);U=W.length===0?"{}":C?"{\n"+C+W.join(",\n"+
C)+"\n"+c+"}":"{"+W.join(",")+"}";C=c;return U}}if(typeof Date.prototype.toJSON!=="function"){Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+o(this.getUTCMonth()+1)+"-"+o(this.getUTCDate())+"T"+o(this.getUTCHours())+":"+o(this.getUTCMinutes())+":"+o(this.getUTCSeconds())+"Z":null};String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(){return this.valueOf()}}var E=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,
F=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,C,D,J={"\u0008":"\\b","\t":"\\t","\n":"\\n","\u000c":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},L;if(typeof JSON.stringify!=="function")JSON.stringify=function(O,N,H){var S;D=C="";if(typeof H==="number")for(S=0;S<H;S+=1)D+=" ";else if(typeof H==="string")D=H;if((L=N)&&typeof N!=="function"&&(typeof N!=="object"||typeof N.length!=="number"))throw Error("JSON.stringify");return u("",
{"":O})};if(typeof JSON.parse!=="function")JSON.parse=function(O,N){function H(U,ca){var c,W,x=U[ca];if(x&&typeof x==="object")for(c in x)if(Object.hasOwnProperty.call(x,c)){W=H(x,c);if(W!==undefined)x[c]=W;else delete x[c]}return N.call(U,ca,x)}var S;O=String(O);E.lastIndex=0;if(E.test(O))O=O.replace(E,function(U){return"\\u"+("0000"+U.charCodeAt(0).toString(16)).slice(-4)});if(/^[\],:{}\s]*$/.test(O.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,
"]").replace(/(?:^|:|,)(?:\s*\[)+/g,""))){S=eval("("+O+")");return typeof N==="function"?H({"":S},""):S}throw new SyntaxError("JSON.parse");}})();window.Modernizr=function(o,n,u){function E(t,y){return(""+t).indexOf(y)!==-1}function F(t,y){for(var A in t)if(N[t[A]]!==u&&(!y||y(t[A],O)))return true}function C(t,y){var A=t.charAt(0).toUpperCase()+t.substr(1);return!!F([t,"Webkit"+A,"Moz"+A,"O"+A,"ms"+A,"Khtml"+A],y)}function D(){J[S]=function(t){for(var y=0,A=t.length;y<A;y++)na[t[y]]=!!(t[y]in H);return na}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" "));J[U]=function(t){for(var y=0,A,R=t.length;y<
R;y++){H.setAttribute("type",t[y]);if(A=H.type!=="text"){H.value=ca;if(/^range$/.test(H.type)&&H.style.WebkitAppearance!==u){L.appendChild(H);A=n.defaultView.getComputedStyle&&n.defaultView.getComputedStyle(H,null).WebkitAppearance!=="textfield"&&H.offsetHeight!==0;L.removeChild(H)}else/^(search|tel)$/.test(H.type)||(A=/^(url|email)$/.test(H.type)?H.checkValidity&&H.checkValidity()===false:H.value!=ca)}v[t[y]]=!!A}return v}("search tel url email datetime date month week time datetime-local number range color".split(" "))}
var J={},L=n.documentElement,O=n.createElement("modernizr"),N=O.style,H=n.createElement("input"),S="input",U=S+"types",ca=":)",c=Object.prototype.toString,W=" -o- -moz- -ms- -webkit- -khtml- ".split(" "),x={},v={},na={},ya=[],ia=function(){var t={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"},y={};return function(A,R){var fa=arguments.length==1;if(fa&&y[A])return y[A];R=R||document.createElement(t[A]||"div");A="on"+A;var V=A in R;if(!V&&R.setAttribute){R.setAttribute(A,
"return;");V=typeof R[A]=="function"}R=null;return fa?y[A]=V:V}}(),ua={}.hasOwnProperty,za;za=typeof ua!=="undefined"&&typeof ua.call!=="undefined"?function(t,y){return ua.call(t,y)}:function(t,y){return y in t&&typeof t.constructor.prototype[y]==="undefined"};x.canvas=function(){return!!n.createElement("canvas").getContext};x.canvastext=function(){return!!(x.canvas()&&typeof n.createElement("canvas").getContext("2d").fillText=="function")};x.geolocation=function(){return!!navigator.geolocation};
x.crosswindowmessaging=function(){return!!o.postMessage};x.websqldatabase=function(){var t=!!o.openDatabase;if(t)try{t=!!openDatabase("modernizrtestdb","1.0","modernizrtestdb",2E4)}catch(y){t=false}return t};x.indexedDB=function(){return!!o.indexedDB};x.hashchange=function(){return ia("hashchange",o)&&(document.documentMode===u||document.documentMode>7)};x.historymanagement=function(){return!!(o.history&&history.pushState)};x.draganddrop=function(){return ia("drag")&&ia("dragstart")&&ia("dragenter")&&
ia("dragover")&&ia("dragleave")&&ia("dragend")&&ia("drop")};x.websockets=function(){return"WebSocket"in o};x.rgba=function(){N.cssText="background-color:rgba(150,255,150,.5)";return E(N.backgroundColor,"rgba")};x.hsla=function(){N.cssText="background-color:hsla(120,40%,100%,.5)";return E(N.backgroundColor,"rgba")||E(N.backgroundColor,"hsla")};x.multiplebgs=function(){N.cssText="background:url(//:),url(//:),red url(//:)";return/(url\s*\(.*?){3}/.test(N.background)};x.backgroundsize=function(){return C("backgroundSize")};
x.borderimage=function(){return C("borderImage")};x.borderradius=function(){return C("borderRadius","",function(t){return E(t,"orderRadius")})};x.boxshadow=function(){return C("boxShadow")};x.opacity=function(){var t=W.join("opacity:.5;")+"";N.cssText=t;return E(N.opacity,"0.5")};x.cssanimations=function(){return C("animationName")};x.csscolumns=function(){return C("columnCount")};x.cssgradients=function(){var t=("background-image:"+W.join("gradient(linear,left top,right bottom,from(#9f9),to(white));background-image:")+
W.join("linear-gradient(left top,#9f9, white);background-image:")).slice(0,-17);N.cssText=t;return E(N.backgroundImage,"gradient")};x.cssreflections=function(){return C("boxReflect")};x.csstransforms=function(){return!!F(["transformProperty","WebkitTransform","MozTransform","OTransform","msTransform"])};x.csstransforms3d=function(){var t=!!F(["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"]);if(t){var y=document.createElement("style"),A=n.createElement("div");
y.textContent="@media ("+W.join("transform-3d),(")+"modernizr){#modernizr{height:3px}}";n.getElementsByTagName("head")[0].appendChild(y);A.id="modernizr";L.appendChild(A);t=A.offsetHeight===3;y.parentNode.removeChild(y);A.parentNode.removeChild(A)}return t};x.csstransitions=function(){return C("transitionProperty")};x.fontface=function(){var t;if(eval("/*@cc_on@if(@_jscript_version>=5)!@end@*/0"))t=true;else{var y=n.createElement("style"),A=n.createElement("span"),R,fa=false,V=n.body,aa,ga;y.textContent=
"@font-face{font-family:testfont;src:url('data:font/ttf;base64,AAEAAAAMAIAAAwBAT1MvMliohmwAAADMAAAAVmNtYXCp5qrBAAABJAAAANhjdnQgACICiAAAAfwAAAAEZ2FzcP//AAMAAAIAAAAACGdseWYv5OZoAAACCAAAANxoZWFk69bnvwAAAuQAAAA2aGhlYQUJAt8AAAMcAAAAJGhtdHgGDgC4AAADQAAAABRsb2NhAIQAwgAAA1QAAAAMbWF4cABVANgAAANgAAAAIG5hbWUgXduAAAADgAAABPVwb3N03NkzmgAACHgAAAA4AAECBAEsAAUAAAKZAswAAACPApkCzAAAAesAMwEJAAACAAMDAAAAAAAAgAACbwAAAAoAAAAAAAAAAFBmRWQAAAAgqS8DM/8zAFwDMwDNAAAABQAAAAAAAAAAAAMAAAADAAAAHAABAAAAAABGAAMAAQAAAK4ABAAqAAAABgAEAAEAAgAuqQD//wAAAC6pAP///9ZXAwAAAAAAAAACAAAABgBoAAAAAAAvAAEAAAAAAAAAAAAAAAAAAAABAAIAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEACoAAAAGAAQAAQACAC6pAP//AAAALqkA////1lcDAAAAAAAAAAIAAAAiAogAAAAB//8AAgACACIAAAEyAqoAAwAHAC6xAQAvPLIHBADtMrEGBdw8sgMCAO0yALEDAC88sgUEAO0ysgcGAfw8sgECAO0yMxEhESczESMiARDuzMwCqv1WIgJmAAACAFUAAAIRAc0ADwAfAAATFRQWOwEyNj0BNCYrASIGARQGKwEiJj0BNDY7ATIWFX8aIvAiGhoi8CIaAZIoN/43KCg3/jcoAWD0JB4eJPQkHh7++EY2NkbVRjY2RgAAAAABAEH/+QCdAEEACQAANjQ2MzIWFAYjIkEeEA8fHw8QDxwWFhwWAAAAAQAAAAIAAIuYbWpfDzz1AAsEAAAAAADFn9IuAAAAAMWf0i797/8zA4gDMwAAAAgAAgAAAAAAAAABAAADM/8zAFwDx/3v/98DiAABAAAAAAAAAAAAAAAAAAAABQF2ACIAAAAAAVUAAAJmAFUA3QBBAAAAKgAqACoAWgBuAAEAAAAFAFAABwBUAAQAAgAAAAEAAQAAAEAALgADAAMAAAAQAMYAAQAAAAAAAACLAAAAAQAAAAAAAQAhAIsAAQAAAAAAAgAFAKwAAQAAAAAAAwBDALEAAQAAAAAABAAnAPQAAQAAAAAABQAKARsAAQAAAAAABgAmASUAAQAAAAAADgAaAUsAAwABBAkAAAEWAWUAAwABBAkAAQBCAnsAAwABBAkAAgAKAr0AAwABBAkAAwCGAscAAwABBAkABABOA00AAwABBAkABQAUA5sAAwABBAkABgBMA68AAwABBAkADgA0A/tDb3B5cmlnaHQgMjAwOSBieSBEYW5pZWwgSm9obnNvbi4gIFJlbGVhc2VkIHVuZGVyIHRoZSB0ZXJtcyBvZiB0aGUgT3BlbiBGb250IExpY2Vuc2UuIEtheWFoIExpIGdseXBocyBhcmUgcmVsZWFzZWQgdW5kZXIgdGhlIEdQTCB2ZXJzaW9uIDMuYmFlYzJhOTJiZmZlNTAzMiAtIHN1YnNldCBvZiBKdXJhTGlnaHRiYWVjMmE5MmJmZmU1MDMyIC0gc3Vic2V0IG9mIEZvbnRGb3JnZSAyLjAgOiBKdXJhIExpZ2h0IDogMjMtMS0yMDA5YmFlYzJhOTJiZmZlNTAzMiAtIHN1YnNldCBvZiBKdXJhIExpZ2h0VmVyc2lvbiAyIGJhZWMyYTkyYmZmZTUwMzIgLSBzdWJzZXQgb2YgSnVyYUxpZ2h0aHR0cDovL3NjcmlwdHMuc2lsLm9yZy9PRkwAQwBvAHAAeQByAGkAZwBoAHQAIAAyADAAMAA5ACAAYgB5ACAARABhAG4AaQBlAGwAIABKAG8AaABuAHMAbwBuAC4AIAAgAFIAZQBsAGUAYQBzAGUAZAAgAHUAbgBkAGUAcgAgAHQAaABlACAAdABlAHIAbQBzACAAbwBmACAAdABoAGUAIABPAHAAZQBuACAARgBvAG4AdAAgAEwAaQBjAGUAbgBzAGUALgAgAEsAYQB5AGEAaAAgAEwAaQAgAGcAbAB5AHAAaABzACAAYQByAGUAIAByAGUAbABlAGEAcwBlAGQAIAB1AG4AZABlAHIAIAB0AGgAZQAgAEcAUABMACAAdgBlAHIAcwBpAG8AbgAgADMALgBiAGEAZQBjADIAYQA5ADIAYgBmAGYAZQA1ADAAMwAyACAALQAgAHMAdQBiAHMAZQB0ACAAbwBmACAASgB1AHIAYQBMAGkAZwBoAHQAYgBhAGUAYwAyAGEAOQAyAGIAZgBmAGUANQAwADMAMgAgAC0AIABzAHUAYgBzAGUAdAAgAG8AZgAgAEYAbwBuAHQARgBvAHIAZwBlACAAMgAuADAAIAA6ACAASgB1AHIAYQAgAEwAaQBnAGgAdAAgADoAIAAyADMALQAxAC0AMgAwADAAOQBiAGEAZQBjADIAYQA5ADIAYgBmAGYAZQA1ADAAMwAyACAALQAgAHMAdQBiAHMAZQB0ACAAbwBmACAASgB1AHIAYQAgAEwAaQBnAGgAdABWAGUAcgBzAGkAbwBuACAAMgAgAGIAYQBlAGMAMgBhADkAMgBiAGYAZgBlADUAMAAzADIAIAAtACAAcwB1AGIAcwBlAHQAIABvAGYAIABKAHUAcgBhAEwAaQBnAGgAdABoAHQAdABwADoALwAvAHMAYwByAGkAcAB0AHMALgBzAGkAbAAuAG8AcgBnAC8ATwBGAEwAAAAAAgAAAAAAAP+BADMAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAQACAQIAEQt6ZXJva2F5YWhsaQ==')}";
n.getElementsByTagName("head")[0].appendChild(y);A.setAttribute("style","font:99px _,arial,helvetica;position:absolute;visibility:hidden");if(!V){V=L.appendChild(n.createElement("fontface"));fa=true}A.innerHTML="........";A.id="fonttest";V.appendChild(A);R=A.offsetWidth*A.offsetHeight;A.style.font="99px testfont,_,arial,helvetica";t=R!==A.offsetWidth*A.offsetHeight;var ja=function(){if(V.parentNode){t=J.fontface=R!==A.offsetWidth*A.offsetHeight;L.className=L.className.replace(/(no-)?fontface\b/,"")+
(t?" ":" no-")+"fontface"}};setTimeout(ja,75);setTimeout(ja,150);addEventListener("load",function(){ja();(ga=true)&&aa&&aa(t);setTimeout(function(){fa||(V=A);V.parentNode.removeChild(V);y.parentNode.removeChild(y)},50)},false)}J._fontfaceready=function(X){ga||t?X(t):aa=X};return t||R!==A.offsetWidth};x.video=function(){var t=n.createElement("video"),y=!!t.canPlayType;if(y){y=new Boolean(y);y.ogg=t.canPlayType('video/ogg; codecs="theora"');y.h264=t.canPlayType('video/mp4; codecs="avc1.42E01E"');y.webm=
t.canPlayType('video/webm; codecs="vp8, vorbis"')}return y};x.audio=function(){var t=n.createElement("audio"),y=!!t.canPlayType;if(y){y=new Boolean(y);y.ogg=t.canPlayType('audio/ogg; codecs="vorbis"');y.mp3=t.canPlayType("audio/mpeg;");y.wav=t.canPlayType('audio/wav; codecs="1"');y.m4a=t.canPlayType("audio/x-m4a;")||t.canPlayType("audio/aac;")}return y};x.localStorage=function(){try{return"localStorage"in o&&o.localStorage!==null}catch(t){return false}};x.sessionStorage=function(){try{return"sessionStorage"in
o&&o.sessionStorage!==null}catch(t){return false}};x.webworkers=function(){return!!o.Worker};x.applicationCache=function(){var t=o.applicationCache;return!!(t&&typeof t.status!="undefined"&&typeof t.update=="function"&&typeof t.swapCache=="function")};x.svg=function(){return!!n.createElementNS&&!!n.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect};x.smil=function(){return!!n.createElementNS&&/SVG/.test(c.call(n.createElementNS("http://www.w3.org/2000/svg","animate")))};x.svgclippaths=
function(){return!!n.createElementNS&&/SVG/.test(c.call(n.createElementNS("http://www.w3.org/2000/svg","clipPath")))};for(var pa in x)if(za(x,pa))ya.push(((J[pa.toLowerCase()]=x[pa]())?"":"no-")+pa.toLowerCase());J[S]||D();J.addTest=function(t,y){t=t.toLowerCase();if(!J[t]){y=!!y();L.className+=" "+(y?"":"no-")+t;J[t]=y;return J}};N.cssText="";O=H=null;(function(){var t=n.createElement("div");t.innerHTML="<elem></elem>";return t.childNodes.length!==1})()&&function(t,y){function A(P,Y){if(aa[P])aa[P].styleSheet.cssText+=
Y;else{var Z=fa[qa],ha=y[oa]("style");ha.media=P;Z.insertBefore(ha,Z[qa]);aa[P]=ha;A(P,Y)}}function R(P,Y){for(var Z=RegExp("\\b("+ga+")\\b(?!.*[;}])","gi"),ha=function(ra){return".iepp_"+ra},ka=-1;++ka<P.length;){Y=P[ka].media||Y;R(P[ka].imports,Y);A(Y,P[ka].cssText.replace(Z,ha))}}for(var fa=y.documentElement,V=y.createDocumentFragment(),aa={},ga="abbr|article|aside|audio|canvas|command|datalist|details|figure|figcaption|footer|header|hgroup|keygen|mark|meter|nav|output|progress|section|source|summary|time|video",
ja=ga.split("|"),X=[],va=-1,qa="firstChild",oa="createElement";++va<ja.length;){y[oa](ja[va]);V[oa](ja[va])}V=V.appendChild(y[oa]("div"));t.attachEvent("onbeforeprint",function(){for(var P,Y=y.getElementsByTagName("*"),Z,ha,ka=RegExp("^"+ga+"$","i"),ra=-1;++ra<Y.length;)if((P=Y[ra])&&(ha=P.nodeName.match(ka))){Z=RegExp("^\\s*<"+ha+"(.*)\\/"+ha+">\\s*$","i");V.innerHTML=P.outerHTML.replace(/\r|\n/g," ").replace(Z,P.currentStyle.display=="block"?"<div$1/div>":"<span$1/span>");Z=V.childNodes[0];Z.className+=
" iepp_"+ha;Z=X[X.length]=[P,Z];P.parentNode.replaceChild(Z[1],Z[0])}R(y.styleSheets,"all")});t.attachEvent("onafterprint",function(){for(var P=-1,Y;++P<X.length;)X[P][1].parentNode.replaceChild(X[P][0],X[P][1]);for(Y in aa)fa[qa].removeChild(aa[Y]);aa={};X=[]})}(this,n);J._enableHTML5=true;J._version="1.5";L.className=L.className.replace(/\bno-js\b/,"")+" js";L.className+=" "+ya.join(" ");return J}(this,this.document);(function(){function o(){try{E.jStorage=JSON.stringify(u);if(F){F.setAttribute("jStorage",E.jStorage);F.save("jStorage")}}catch(D){}}function n(D){if(typeof D!="string"&&typeof D!="number")throw new TypeError("Key name must be string or numeric");}var u={},E=null,F=null,C={set:function(D,J){n(D);u[D]=J;o();return J},get:function(D,J){n(D);if(D in u)return u[D];return typeof J=="undefined"?null:J},remove:function(D){n(D);if(D in u){delete u[D];o();return true}return false},flush:function(){u={};o();
if(window.localStorage)try{localStorage.clear()}catch(D){}}};(function(){try{if(window.localStorage)E=window.localStorage;else if(window.globalStorage)E=window.globalStorage[window.location.hostname]}catch(D){}if(!E){F=document.createElement("link");if(F.addBehavior){F.style.behavior="url(#default#userData)";document.getElementsByTagName("head")[0].appendChild(F);F.load("jStorage");var J="{}";try{J=F.getAttribute("jStorage")}catch(L){}E.jStorage=J}else{F=null;return}}E||(E={jStorage:"{}"});if(E.jStorage)try{u=
JSON.parse(E.jStorage)}catch(O){E.jStorage="{}"}else E.jStorage="{}"})();window.jStorage=C})();(function(o,n){function u(){if(!c.isReady){try{v.documentElement.doScroll("left")}catch(a){setTimeout(u,1);return}c.ready()}}function E(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 F(a,b,d,e,f,h){var i=a.length;if(typeof b==="object"){for(var p in b)F(a,p,b[p],e,f,d);return a}if(d!==n){e=!h&&e&&c.isFunction(d);for(p=0;p<i;p++)f(a[p],b,e?d.call(a[p],p,f(a[p],b)):d,h);return a}return i?
f(a[0],b):n}function C(){return(new Date).getTime()}function D(){return false}function J(){return true}function L(a,b,d){d[0].type=a;return c.event.handle.apply(b,d)}function O(a){var b,d=[],e=[],f=arguments,h,i,p,k,q,w;i=c.data(this,"events");if(!(a.liveFired===this||!i||!i.live||a.button&&a.type==="click")){a.liveFired=this;var I=i.live.slice(0);for(k=0;k<I.length;k++){i=I[k];i.origType.replace(wa,"")===a.type?e.push(i.selector):I.splice(k--,1)}h=c(a.target).closest(e,a.currentTarget);q=0;for(w=
h.length;q<w;q++)for(k=0;k<I.length;k++){i=I[k];if(h[q].selector===i.selector){p=h[q].elem;e=null;if(i.preType==="mouseenter"||i.preType==="mouseleave")e=c(a.relatedTarget).closest(i.selector)[0];if(!e||e!==p)d.push({elem:p,handleObj:i})}}q=0;for(w=d.length;q<w;q++){h=d[q];a.currentTarget=h.elem;a.data=h.handleObj.data;a.handleObj=h.handleObj;if(h.handleObj.origHandler.apply(h.elem,f)===false){b=false;break}}return b}}function N(a,b){return"live."+(a&&a!=="*"?a+".":"")+b.replace(/\./g,"`").replace(/ /g,
"&")}function H(a,b){var d=0;b.each(function(){if(this.nodeName===(a[d]&&a[d].nodeName)){var e=c.data(a[d++]),f=c.data(this,e);if(e=e&&e.events){delete f.handle;f.events={};for(var h in e)for(var i in e[h])c.event.add(this,h,e[h][i],e[h][i].data)}}})}function S(a,b,d){var e,f,h;b=b&&b[0]?b[0].ownerDocument||b[0]:v;if(a.length===1&&typeof a[0]==="string"&&a[0].length<512&&b===v&&!Ma.test(a[0])&&(c.support.checkClone||!Na.test(a[0]))){f=true;if(h=c.fragments[a[0]])if(h!==1)e=h}if(!e){e=b.createDocumentFragment();
c.clean(a,b,e,d)}if(f)c.fragments[a[0]]=h?e:1;return{fragment:e,cacheable:f}}function U(a,b){var d={};c.each(Oa.concat.apply([],Oa.slice(0,b)),function(){d[this]=a});return d}function ca(a){return"scrollTo"in a&&a.document?a:a.nodeType===9?a.defaultView||a.parentWindow:false}var c=function(a,b){return new c.fn.init(a,b)},W=o.jQuery,x=o.$,v=o.document,na,ya=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,ia=/^.[^:#\[\.,]*$/,ua=/\S/,za=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,pa=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,t=navigator.userAgent,
y=false,A=[],R,fa=Object.prototype.toString,V=Object.prototype.hasOwnProperty,aa=Array.prototype.push,ga=Array.prototype.slice,ja=Array.prototype.indexOf;c.fn=c.prototype={init:function(a,b){var d,e,f;if(!a)return this;if(a.nodeType){this.context=this[0]=a;this.length=1;return this}if(a==="body"&&!b){this.context=v;this[0]=v.body;this.selector="body";this.length=1;return this}if(typeof a==="string")if((d=ya.exec(a))&&(d[1]||!b))if(d[1]){f=b?b.ownerDocument||b:v;if(e=pa.exec(a))if(c.isPlainObject(b)){a=
[v.createElement(e[1])];c.fn.attr.call(a,b,true)}else a=[f.createElement(e[1])];else{e=S([d[1]],[f]);a=(e.cacheable?e.fragment.cloneNode(true):e.fragment).childNodes}return c.merge(this,a)}else{if(e=v.getElementById(d[2])){if(e.id!==d[2])return na.find(a);this.length=1;this[0]=e}this.context=v;this.selector=a;return this}else if(!b&&/^\w+$/.test(a)){this.selector=a;this.context=v;a=v.getElementsByTagName(a);return c.merge(this,a)}else return!b||b.jquery?(b||na).find(a):c(b).find(a);else if(c.isFunction(a))return na.ready(a);
if(a.selector!==n){this.selector=a.selector;this.context=a.context}return c.makeArray(a,this)},selector:"",jquery:"1.4.2",length:0,size:function(){return this.length},toArray:function(){return ga.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this.slice(a)[0]:this[a]},pushStack:function(a,b,d){var e=c();c.isArray(a)?aa.apply(e,a):c.merge(e,a);e.prevObject=this;e.context=this.context;if(b==="find")e.selector=this.selector+(this.selector?" ":"")+d;else if(b)e.selector=this.selector+
"."+b+"("+d+")";return e},each:function(a,b){return c.each(this,a,b)},ready:function(a){c.bindReady();if(c.isReady)a.call(v,c);else A&&A.push(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(ga.apply(this,arguments),"slice",ga.call(arguments).join(","))},map:function(a){return this.pushStack(c.map(this,function(b,d){return a.call(b,d,b)}))},end:function(){return this.prevObject||
c(null)},push:aa,sort:[].sort,splice:[].splice};c.fn.init.prototype=c.fn;c.extend=c.fn.extend=function(){var a=arguments[0]||{},b=1,d=arguments.length,e=false,f,h,i,p;if(typeof a==="boolean"){e=a;a=arguments[1]||{};b=2}if(typeof a!=="object"&&!c.isFunction(a))a={};if(d===b){a=this;--b}for(;b<d;b++)if((f=arguments[b])!=null)for(h in f){i=a[h];p=f[h];if(a!==p)if(e&&p&&(c.isPlainObject(p)||c.isArray(p))){i=i&&(c.isPlainObject(i)||c.isArray(i))?i:c.isArray(p)?[]:{};a[h]=c.extend(e,i,p)}else if(p!==n)a[h]=
p}return a};c.extend({noConflict:function(a){o.$=x;if(a)o.jQuery=W;return c},isReady:false,ready:function(){if(!c.isReady){if(!v.body)return setTimeout(c.ready,13);c.isReady=true;if(A){for(var a,b=0;a=A[b++];)a.call(v,c);A=null}c.fn.triggerHandler&&c(v).triggerHandler("ready")}},bindReady:function(){if(!y){y=true;if(v.readyState==="complete")return c.ready();if(v.addEventListener){v.addEventListener("DOMContentLoaded",R,false);o.addEventListener("load",c.ready,false)}else if(v.attachEvent){v.attachEvent("onreadystatechange",
R);o.attachEvent("onload",c.ready);var a=false;try{a=o.frameElement==null}catch(b){}v.documentElement.doScroll&&a&&u()}}},isFunction:function(a){return fa.call(a)==="[object Function]"},isArray:function(a){return fa.call(a)==="[object Array]"},isPlainObject:function(a){if(!a||fa.call(a)!=="[object Object]"||a.nodeType||a.setInterval)return false;if(a.constructor&&!V.call(a,"constructor")&&!V.call(a.constructor.prototype,"isPrototypeOf"))return false;var b;for(b in a);return b===n||V.call(a,b)},isEmptyObject:function(a){for(var b in a)return false;
return true},error:function(a){throw a;},parseJSON:function(a){if(typeof a!=="string"||!a)return null;a=c.trim(a);if(/^[\],:{}\s]*$/.test(a.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return o.JSON&&o.JSON.parse?o.JSON.parse(a):(new Function("return "+a))();else c.error("Invalid JSON: "+a)},noop:function(){},globalEval:function(a){if(a&&ua.test(a)){var b=v.getElementsByTagName("head")[0]||
v.documentElement,d=v.createElement("script");d.type="text/javascript";if(c.support.scriptEval)d.appendChild(v.createTextNode(a));else d.text=a;b.insertBefore(d,b.firstChild);b.removeChild(d)}},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,b,d){var e,f=0,h=a.length,i=h===n||c.isFunction(a);if(d)if(i)for(e in a){if(b.apply(a[e],d)===false)break}else for(;f<h;){if(b.apply(a[f++],d)===false)break}else if(i)for(e in a){if(b.call(a[e],e,a[e])===false)break}else for(d=
a[0];f<h&&b.call(d,f,d)!==false;d=a[++f]);return a},trim:function(a){return(a||"").replace(za,"")},makeArray:function(a,b){var d=b||[];if(a!=null)a.length==null||typeof a==="string"||c.isFunction(a)||typeof a!=="function"&&a.setInterval?aa.call(d,a):c.merge(d,a);return d},inArray:function(a,b){if(b.indexOf)return b.indexOf(a);for(var d=0,e=b.length;d<e;d++)if(b[d]===a)return d;return-1},merge:function(a,b){var d=a.length,e=0;if(typeof b.length==="number")for(var f=b.length;e<f;e++)a[d++]=b[e];else for(;b[e]!==
n;)a[d++]=b[e++];a.length=d;return a},grep:function(a,b,d){for(var e=[],f=0,h=a.length;f<h;f++)!d!==!b(a[f],f)&&e.push(a[f]);return e},map:function(a,b,d){for(var e=[],f,h=0,i=a.length;h<i;h++){f=b(a[h],h,d);if(f!=null)e[e.length]=f}return e.concat.apply([],e)},guid:1,proxy:function(a,b,d){if(arguments.length===2)if(typeof b==="string"){d=a;a=d[b];b=n}else if(b&&!c.isFunction(b)){d=b;b=n}if(!b&&a)b=function(){return a.apply(d||this,arguments)};if(a)b.guid=a.guid=a.guid||b.guid||c.guid++;return b},
uaMatch:function(a){a=a.toLowerCase();a=/(webkit)[ \/]([\w.]+)/.exec(a)||/(opera)(?:.*version)?[ \/]([\w.]+)/.exec(a)||/(msie) ([\w.]+)/.exec(a)||!/compatible/.test(a)&&/(mozilla)(?:.*? rv:([\w.]+))?/.exec(a)||[];return{browser:a[1]||"",version:a[2]||"0"}},browser:{}});t=c.uaMatch(t);if(t.browser){c.browser[t.browser]=true;c.browser.version=t.version}if(c.browser.webkit)c.browser.safari=true;if(ja)c.inArray=function(a,b){return ja.call(b,a)};na=c(v);if(v.addEventListener)R=function(){v.removeEventListener("DOMContentLoaded",
R,false);c.ready()};else if(v.attachEvent)R=function(){if(v.readyState==="complete"){v.detachEvent("onreadystatechange",R);c.ready()}};(function(){c.support={};var a=v.documentElement,b=v.createElement("script"),d=v.createElement("div"),e="script"+C();d.style.display="none";d.innerHTML=" <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";var f=d.getElementsByTagName("*"),h=d.getElementsByTagName("a")[0];if(!(!f||!f.length||!h)){c.support=
{leadingWhitespace:d.firstChild.nodeType===3,tbody:!d.getElementsByTagName("tbody").length,htmlSerialize:!!d.getElementsByTagName("link").length,style:/red/.test(h.getAttribute("style")),hrefNormalized:h.getAttribute("href")==="/a",opacity:/^0.55$/.test(h.style.opacity),cssFloat:!!h.style.cssFloat,checkOn:d.getElementsByTagName("input")[0].value==="on",optSelected:v.createElement("select").appendChild(v.createElement("option")).selected,parentNode:d.removeChild(d.appendChild(v.createElement("div"))).parentNode===
null,deleteExpando:true,checkClone:false,scriptEval:false,noCloneEvent:true,boxModel:null};b.type="text/javascript";try{b.appendChild(v.createTextNode("window."+e+"=1;"))}catch(i){}a.insertBefore(b,a.firstChild);if(o[e]){c.support.scriptEval=true;delete o[e]}try{delete b.test}catch(p){c.support.deleteExpando=false}a.removeChild(b);if(d.attachEvent&&d.fireEvent){d.attachEvent("onclick",function k(){c.support.noCloneEvent=false;d.detachEvent("onclick",k)});d.cloneNode(true).fireEvent("onclick")}d=v.createElement("div");
d.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";a=v.createDocumentFragment();a.appendChild(d.firstChild);c.support.checkClone=a.cloneNode(true).cloneNode(true).lastChild.checked;c(function(){var k=v.createElement("div");k.style.width=k.style.paddingLeft="1px";v.body.appendChild(k);c.boxModel=c.support.boxModel=k.offsetWidth===2;v.body.removeChild(k).style.display="none"});a=function(k){var q=v.createElement("div");k="on"+k;var w=k in q;if(!w){q.setAttribute(k,"return;");w=typeof q[k]===
"function"}return w};c.support.submitBubbles=a("submit");c.support.changeBubbles=a("change");a=b=d=f=h=null}})();c.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};var X="jQuery"+C(),va=0,qa={};c.extend({cache:{},expando:X,noData:{embed:true,object:true,applet:true},data:function(a,b,d){if(!(a.nodeName&&c.noData[a.nodeName.toLowerCase()])){a=
a==o?qa:a;var e=a[X],f=c.cache;if(!e&&typeof b==="string"&&d===n)return null;e||(e=++va);if(typeof b==="object"){a[X]=e;f[e]=c.extend(true,{},b)}else if(!f[e]){a[X]=e;f[e]={}}a=f[e];if(d!==n)a[b]=d;return typeof b==="string"?a[b]:a}},removeData:function(a,b){if(!(a.nodeName&&c.noData[a.nodeName.toLowerCase()])){a=a==o?qa:a;var d=a[X],e=c.cache,f=e[d];if(b){if(f){delete f[b];c.isEmptyObject(f)&&c.removeData(a)}}else{if(c.support.deleteExpando)delete a[c.expando];else a.removeAttribute&&a.removeAttribute(c.expando);
delete e[d]}}}});c.fn.extend({data:function(a,b){if(typeof a==="undefined"&&this.length)return c.data(this[0]);else if(typeof a==="object")return this.each(function(){c.data(this,a)});var d=a.split(".");d[1]=d[1]?"."+d[1]:"";if(b===n){var e=this.triggerHandler("getData"+d[1]+"!",[d[0]]);if(e===n&&this.length)e=c.data(this[0],a);return e===n&&d[1]?this.data(d[0]):e}else return this.trigger("setData"+d[1]+"!",[d[0],b]).each(function(){c.data(this,a,b)})},removeData:function(a){return this.each(function(){c.removeData(this,
a)})}});c.extend({queue:function(a,b,d){if(a){b=(b||"fx")+"queue";var e=c.data(a,b);if(!d)return e||[];if(!e||c.isArray(d))e=c.data(a,b,c.makeArray(d));else e.push(d);return e}},dequeue:function(a,b){b=b||"fx";var d=c.queue(a,b),e=d.shift();if(e==="inprogress")e=d.shift();if(e){b==="fx"&&d.unshift("inprogress");e.call(a,function(){c.dequeue(a,b)})}}});c.fn.extend({queue:function(a,b){if(typeof a!=="string"){b=a;a="fx"}if(b===n)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 oa=/[\n\t]/g,P=/\s+/,Y=/\r/g,Z=/href|src|style/,ha=/(button|input)/i,ka=/(button|input|object|select|textarea)/i,ra=/^(a|area)$/i,Pa=/radio|checkbox/;c.fn.extend({attr:function(a,
b){return F(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(q){var w=c(this);w.addClass(a.call(this,q,w.attr("class")))});if(a&&typeof a==="string")for(var b=(a||"").split(P),d=0,e=this.length;d<e;d++){var f=this[d];if(f.nodeType===1)if(f.className){for(var h=" "+f.className+" ",i=f.className,p=0,k=b.length;p<k;p++)if(h.indexOf(" "+b[p]+" ")<0)i+=
" "+b[p];f.className=c.trim(i)}else f.className=a}return this},removeClass:function(a){if(c.isFunction(a))return this.each(function(k){var q=c(this);q.removeClass(a.call(this,k,q.attr("class")))});if(a&&typeof a==="string"||a===n)for(var b=(a||"").split(P),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(oa," "),i=0,p=b.length;i<p;i++)h=h.replace(" "+b[i]+" "," ");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,i=c(this),p=b,k=a.split(P);f=k[h++];){p=e?p:!i.hasClass(f);i[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(oa," ").indexOf(a)>-1)return true;return false},val:function(a){if(a===n){var b=this[0];if(b){if(c.nodeName(b,"option"))return(b.attributes.value||{}).specified?b.value:b.text;if(c.nodeName(b,"select")){var d=b.selectedIndex,e=[],f=b.options;b=b.type==="select-one";if(d<0)return null;var h=b?d:0;for(d=b?d+1:f.length;h<d;h++){var i=f[h];if(i.selected){a=c(i).val();if(b)return a;e.push(a)}}return e}if(Pa.test(b.type)&&
!c.support.checkOn)return b.getAttribute("value")===null?"on":b.value;return(b.value||"").replace(Y,"")}return n}var p=c.isFunction(a);return this.each(function(k){var q=c(this),w=a;if(this.nodeType===1){if(p)w=a.call(this,k,q.val());if(typeof w==="number")w+="";if(c.isArray(w)&&Pa.test(this.type))this.checked=c.inArray(q.val(),w)>=0;else if(c.nodeName(this,"select")){var I=c.makeArray(w);c("option",this).each(function(){this.selected=c.inArray(c(this).val(),I)>=0});if(!I.length)this.selectedIndex=
-1}else this.value=w}})}});c.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(a,b,d,e){if(!a||a.nodeType===3||a.nodeType===8)return n;if(e&&b in c.attrFn)return c(a)[b](d);e=a.nodeType!==1||!c.isXMLDoc(a);var f=d!==n;b=e&&c.props[b]||b;if(a.nodeType===1){var h=Z.test(b);if(b in a&&e&&!h){if(f){b==="type"&&ha.test(a.nodeName)&&a.parentNode&&c.error("type property can't be changed");a[b]=d}if(c.nodeName(a,"form")&&a.getAttributeNode(b))return a.getAttributeNode(b).nodeValue;
if(b==="tabIndex")return(b=a.getAttributeNode("tabIndex"))&&b.specified?b.value:ka.test(a.nodeName)||ra.test(a.nodeName)&&a.href?0:n;return a[b]}if(!c.support.style&&e&&b==="style"){if(f)a.style.cssText=""+d;return a.style.cssText}f&&a.setAttribute(b,""+d);a=!c.support.hrefNormalized&&e&&h?a.getAttribute(b,2):a.getAttribute(b);return a===null?n:a}return c.style(a,b,d)}});var wa=/\.(.*)$/,db=function(a){return a.replace(/[^\w\s\.\|`]/g,function(b){return"\\"+b})};c.event={add:function(a,b,d,e){if(!(a.nodeType===
3||a.nodeType===8)){if(a.setInterval&&a!==o&&!a.frameElement)a=o;var f,h;if(d.handler){f=d;d=f.handler}if(!d.guid)d.guid=c.guid++;if(h=c.data(a)){var i=h.events=h.events||{},p=h.handle;if(!p)h.handle=p=function(){return typeof c!=="undefined"&&!c.event.triggered?c.event.handle.apply(p.elem,arguments):n};p.elem=a;b=b.split(" ");for(var k,q=0,w;k=b[q++];){h=f?c.extend({},f):{handler:d,data:e};if(k.indexOf(".")>-1){w=k.split(".");k=w.shift();h.namespace=w.slice(0).sort().join(".")}else{w=[];h.namespace=
""}h.type=k;h.guid=d.guid;var I=i[k],M=c.event.special[k]||{};if(!I){I=i[k]=[];if(!M.setup||M.setup.call(a,e,w,p)===false)if(a.addEventListener)a.addEventListener(k,p,false);else a.attachEvent&&a.attachEvent("on"+k,p)}if(M.add){M.add.call(a,h);if(!h.handler.guid)h.handler.guid=d.guid}I.push(h);c.event.global[k]=true}a=null}}},global:{},remove:function(a,b,d,e){if(!(a.nodeType===3||a.nodeType===8)){var f,h=0,i,p,k,q,w,I,M=c.data(a),T=M&&M.events;if(M&&T){if(b&&b.type){d=b.handler;b=b.type}if(!b||typeof b===
"string"&&b.charAt(0)==="."){b=b||"";for(f in T)c.event.remove(a,f+b)}else{for(b=b.split(" ");f=b[h++];){q=f;i=f.indexOf(".")<0;p=[];if(!i){p=f.split(".");f=p.shift();k=RegExp("(^|\\.)"+c.map(p.slice(0).sort(),db).join("\\.(?:.*\\.)?")+"(\\.|$)")}if(w=T[f])if(d){q=c.event.special[f]||{};for(Q=e||0;Q<w.length;Q++){I=w[Q];if(d.guid===I.guid){if(i||k.test(I.namespace)){e==null&&w.splice(Q--,1);q.remove&&q.remove.call(a,I)}if(e!=null)break}}if(w.length===0||e!=null&&w.length===1){if(!q.teardown||q.teardown.call(a,
p)===false)Qa(a,f,M.handle);delete T[f]}}else for(var Q=0;Q<w.length;Q++){I=w[Q];if(i||k.test(I.namespace)){c.event.remove(a,q,I.handler,Q);w.splice(Q--,1)}}}if(c.isEmptyObject(T)){if(b=M.handle)b.elem=null;delete M.events;delete M.handle;c.isEmptyObject(M)&&c.removeData(a)}}}}},trigger:function(a,b,d,e){var f=a.type||a;if(!e){a=typeof a==="object"?a[X]?a:c.extend(c.Event(f),a):c.Event(f);if(f.indexOf("!")>=0){a.type=f=f.slice(0,-1);a.exclusive=true}if(!d){a.stopPropagation();c.event.global[f]&&c.each(c.cache,
function(){this.events&&this.events[f]&&c.event.trigger(a,b,this.handle.elem)})}if(!d||d.nodeType===3||d.nodeType===8)return n;a.result=n;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{if(!(d&&d.nodeName&&c.noData[d.nodeName.toLowerCase()]))if(d["on"+f]&&d["on"+f].apply(d,b)===false)a.result=false}catch(h){}if(!a.isPropagationStopped()&&e)c.event.trigger(a,b,e,true);else if(!a.isDefaultPrevented()){e=a.target;var i,
p=c.nodeName(e,"a")&&f==="click",k=c.event.special[f]||{};if((!k._default||k._default.call(d,a)===false)&&!p&&!(e&&e.nodeName&&c.noData[e.nodeName.toLowerCase()])){try{if(e[f]){if(i=e["on"+f])e["on"+f]=null;c.event.triggered=true;e[f]()}}catch(q){}if(i)e["on"+f]=i;c.event.triggered=false}}},handle:function(a){var b,d,e,f;a=arguments[0]=c.event.fix(a||o.event);a.currentTarget=this;b=a.type.indexOf(".")<0&&!a.exclusive;if(!b){d=a.type.split(".");a.type=d.shift();e=RegExp("(^|\\.)"+d.slice(0).sort().join("\\.(?:.*\\.)?")+
"(\\.|$)")}f=c.data(this,"events");d=f[a.type];if(f&&d){d=d.slice(0);f=0;for(var h=d.length;f<h;f++){var i=d[f];if(b||e.test(i.namespace)){a.handler=i.handler;a.data=i.data;a.handleObj=i;i=i.handler.apply(this,arguments);if(i!==n){a.result=i;if(i===false){a.preventDefault();a.stopPropagation()}}if(a.isImmediatePropagationStopped())break}}}return a.result},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),
fix:function(a){if(a[X])return a;var b=a;a=c.Event(b);for(var d=this.props.length,e;d;){e=this.props[--d];a[e]=b[e]}if(!a.target)a.target=a.srcElement||v;if(a.target.nodeType===3)a.target=a.target.parentNode;if(!a.relatedTarget&&a.fromElement)a.relatedTarget=a.fromElement===a.target?a.toElement:a.fromElement;if(a.pageX==null&&a.clientX!=null){b=v.documentElement;d=v.body;a.pageX=a.clientX+(b&&b.scrollLeft||d&&d.scrollLeft||0)-(b&&b.clientLeft||d&&d.clientLeft||0);a.pageY=a.clientY+(b&&b.scrollTop||
d&&d.scrollTop||0)-(b&&b.clientTop||d&&d.clientTop||0)}if(!a.which&&(a.charCode||a.charCode===0?a.charCode:a.keyCode))a.which=a.charCode||a.keyCode;if(!a.metaKey&&a.ctrlKey)a.metaKey=a.ctrlKey;if(!a.which&&a.button!==n)a.which=a.button&1?1:a.button&2?3:a.button&4?2:0;return a},guid:1E8,proxy:c.proxy,special:{ready:{setup:c.bindReady,teardown:c.noop},live:{add:function(a){c.event.add(this,a.origType,c.extend({},a,{handler:O}))},remove:function(a){var b=true,d=a.origType.replace(wa,"");c.each(c.data(this,
"events").live||[],function(){if(d===this.origType.replace(wa,""))return b=false});b&&c.event.remove(this,a.origType,O)}},beforeunload:{setup:function(a,b,d){if(this.setInterval)this.onbeforeunload=d;return false},teardown:function(a,b){if(this.onbeforeunload===b)this.onbeforeunload=null}}}};var Qa=v.removeEventListener?function(a,b,d){a.removeEventListener(b,d,false)}:function(a,b,d){a.detachEvent("on"+b,d)};c.Event=function(a){if(!this.preventDefault)return new c.Event(a);if(a&&a.type){this.originalEvent=
a;this.type=a.type}else this.type=a;this.timeStamp=C();this[X]=true};c.Event.prototype={preventDefault:function(){this.isDefaultPrevented=J;var a=this.originalEvent;if(a){a.preventDefault&&a.preventDefault();a.returnValue=false}},stopPropagation:function(){this.isPropagationStopped=J;var a=this.originalEvent;if(a){a.stopPropagation&&a.stopPropagation();a.cancelBubble=true}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=J;this.stopPropagation()},isDefaultPrevented:D,isPropagationStopped:D,
isImmediatePropagationStopped:D};var Ra=function(a){var b=a.relatedTarget;try{for(;b&&b!==this;)b=b.parentNode;if(b!==this){a.type=a.data;c.event.handle.apply(this,arguments)}}catch(d){}},Sa=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?Sa:Ra,a)},teardown:function(d){c.event.remove(this,b,d&&d.selector?Sa:Ra)}}});if(!c.support.submitBubbles)c.event.special.submit=
{setup:function(){if(this.nodeName.toLowerCase()!=="form"){c.event.add(this,"click.specialSubmit",function(a){var b=a.target,d=b.type;if((d==="submit"||d==="image")&&c(b).closest("form").length)return L("submit",this,arguments)});c.event.add(this,"keypress.specialSubmit",function(a){var b=a.target,d=b.type;if((d==="text"||d==="password")&&c(b).closest("form").length&&a.keyCode===13)return L("submit",this,arguments)})}else return false},teardown:function(){c.event.remove(this,".specialSubmit")}};if(!c.support.changeBubbles){var Da=
/textarea|input|select/i,Ea,Ta=function(a){var b=a.type,d=a.value;if(b==="radio"||b==="checkbox")d=a.checked;else if(b==="select-multiple")d=a.selectedIndex>-1?c.map(a.options,function(e){return e.selected}).join("-"):"";else if(a.nodeName.toLowerCase()==="select")d=a.selectedIndex;return d},Fa=function(a,b){var d=a.target,e,f;if(!(!Da.test(d.nodeName)||d.readOnly)){e=c.data(d,"_change_data");f=Ta(d);if(a.type!=="focusout"||d.type!=="radio")c.data(d,"_change_data",f);if(!(e===n||f===e))if(e!=null||
f){a.type="change";return c.event.trigger(a,b,d)}}};c.event.special.change={filters:{focusout:Fa,click:function(a){var b=a.target,d=b.type;if(d==="radio"||d==="checkbox"||b.nodeName.toLowerCase()==="select")return Fa.call(this,a)},keydown:function(a){var b=a.target,d=b.type;if(a.keyCode===13&&b.nodeName.toLowerCase()!=="textarea"||a.keyCode===32&&(d==="checkbox"||d==="radio")||d==="select-multiple")return Fa.call(this,a)},beforeactivate:function(a){a=a.target;c.data(a,"_change_data",Ta(a))}},setup:function(){if(this.type===
"file")return false;for(var a in Ea)c.event.add(this,a+".specialChange",Ea[a]);return Da.test(this.nodeName)},teardown:function(){c.event.remove(this,".specialChange");return Da.test(this.nodeName)}};Ea=c.event.special.change.filters}v.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)){f=e;e=n}var i=b==="one"?c.proxy(f,function(k){c(this).unbind(k,i);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,i,e)}return this}});c.fn.extend({unbind:function(a,b){if(typeof a==="object"&&!a.preventDefault)for(var d in a)this.unbind(d,a[d]);else{d=
0;for(var e=this.length;d<e;d++)c.event.remove(this[d],a,b)}return this},delegate:function(a,b,d,e){return this.live(b,d,e,a)},undelegate:function(a,b,d){return arguments.length===0?this.unbind("live"):this.die(b,null,d,a)},trigger:function(a,b){return this.each(function(){c.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0]){var d=c.Event(a);d.preventDefault();d.stopPropagation();c.event.trigger(d,b,this[0]);return d.result}},toggle:function(a){for(var b=arguments,d=1;d<b.length;)c.proxy(a,
b[d++]);return this.click(c.proxy(a,function(e){var f=(c.data(this,"lastToggle"+a.guid)||0)%d;c.data(this,"lastToggle"+a.guid,f+1);e.preventDefault();return b[f].apply(this,arguments)||false}))},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}});var Ua={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};c.each(["live","die"],function(a,b){c.fn[b]=function(d,e,f,h){var i,p=0,k,q,w=h||this.selector,I=h?this:c(this.context);if(c.isFunction(e)){f=e;e=n}for(d=
(d||"").split(" ");(i=d[p++])!=null;){h=wa.exec(i);k="";if(h){k=h[0];i=i.replace(wa,"")}if(i==="hover")d.push("mouseenter"+k,"mouseleave"+k);else{q=i;if(i==="focus"||i==="blur"){d.push(Ua[i]+k);i+=k}else i=(Ua[i]||i)+k;b==="live"?I.each(function(){c.event.add(this,N(i,w),{data:e,selector:w,handler:f,origType:i,origHandler:f,preType:q})}):I.unbind(N(i,w),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){return d?this.bind(b,d):this.trigger(b)};if(c.attrFn)c.attrFn[b]=true});o.attachEvent&&!o.addEventListener&&o.attachEvent("onunload",function(){for(var a in c.cache)if(c.cache[a].handle)try{c.event.remove(c.cache[a].handle.elem)}catch(b){}});(function(){function a(g){for(var j="",l,m=0;g[m];m++){l=g[m];if(l.nodeType===3||l.nodeType===4)j+=l.nodeValue;else if(l.nodeType!==8)j+=a(l.childNodes)}return j}function b(g,j,l,m,s,r){s=0;for(var B=m.length;s<B;s++){var z=m[s];
if(z){z=z[g];for(var K=false;z;){if(z.sizcache===l){K=m[z.sizset];break}if(z.nodeType===1&&!r){z.sizcache=l;z.sizset=s}if(z.nodeName.toLowerCase()===j){K=z;break}z=z[g]}m[s]=K}}}function d(g,j,l,m,s,r){s=0;for(var B=m.length;s<B;s++){var z=m[s];if(z){z=z[g];for(var K=false;z;){if(z.sizcache===l){K=m[z.sizset];break}if(z.nodeType===1){if(!r){z.sizcache=l;z.sizset=s}if(typeof j!=="string"){if(z===j){K=true;break}}else if(k.filter(j,[z]).length>0){K=z;break}}z=z[g]}m[s]=K}}}var e=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,
f=0,h=Object.prototype.toString,i=false,p=true;[0,0].sort(function(){p=false;return 0});var k=function(g,j,l,m){l=l||[];var s=j=j||v;if(j.nodeType!==1&&j.nodeType!==9)return[];if(!g||typeof g!=="string")return l;for(var r=[],B,z,K,xa,la=true,sa=G(j),ma=g;(e.exec(""),B=e.exec(ma))!==null;){ma=B[3];r.push(B[1]);if(B[2]){xa=B[3];break}}if(r.length>1&&w.exec(g))if(r.length===2&&q.relative[r[0]])z=Ga(r[0]+r[1],j);else for(z=q.relative[r[0]]?[j]:k(r.shift(),j);r.length;){g=r.shift();if(q.relative[g])g+=
r.shift();z=Ga(g,z)}else{if(!m&&r.length>1&&j.nodeType===9&&!sa&&q.match.ID.test(r[0])&&!q.match.ID.test(r[r.length-1])){B=k.find(r.shift(),j,sa);j=B.expr?k.filter(B.expr,B.set)[0]:B.set[0]}if(j){B=m?{expr:r.pop(),set:M(m)}:k.find(r.pop(),r.length===1&&(r[0]==="~"||r[0]==="+")&&j.parentNode?j.parentNode:j,sa);z=B.expr?k.filter(B.expr,B.set):B.set;if(r.length>0)K=M(z);else la=false;for(;r.length;){var da=r.pop();B=da;if(q.relative[da])B=r.pop();else da="";if(B==null)B=j;q.relative[da](K,B,sa)}}else K=
[]}K||(K=z);K||k.error(da||g);if(h.call(K)==="[object Array]")if(la)if(j&&j.nodeType===1)for(g=0;K[g]!=null;g++){if(K[g]&&(K[g]===true||K[g].nodeType===1&&ba(j,K[g])))l.push(z[g])}else for(g=0;K[g]!=null;g++)K[g]&&K[g].nodeType===1&&l.push(z[g]);else l.push.apply(l,K);else M(K,l);if(xa){k(xa,s,l,m);k.uniqueSort(l)}return l};k.uniqueSort=function(g){if(Q){i=p;g.sort(Q);if(i)for(var j=1;j<g.length;j++)g[j]===g[j-1]&&g.splice(j--,1)}return g};k.matches=function(g,j){return k(g,null,null,j)};k.find=function(g,
j,l){var m,s;if(!g)return[];for(var r=0,B=q.order.length;r<B;r++){var z=q.order[r];if(s=q.leftMatch[z].exec(g)){var K=s[1];s.splice(1,1);if(K.substr(K.length-1)!=="\\"){s[1]=(s[1]||"").replace(/\\/g,"");m=q.find[z](s,j,l);if(m!=null){g=g.replace(q.match[z],"");break}}}}m||(m=j.getElementsByTagName("*"));return{set:m,expr:g}};k.filter=function(g,j,l,m){for(var s=g,r=[],B=j,z,K,xa=j&&j[0]&&G(j[0]);g&&j.length;){for(var la in q.filter)if((z=q.leftMatch[la].exec(g))!=null&&z[2]){var sa=q.filter[la],ma,
da;da=z[1];K=false;z.splice(1,1);if(da.substr(da.length-1)!=="\\"){if(B===r)r=[];if(q.preFilter[la])if(z=q.preFilter[la](z,B,l,r,m,xa)){if(z===true)continue}else K=ma=true;if(z)for(var Aa=0;(da=B[Aa])!=null;Aa++)if(da){ma=sa(da,z,Aa,B);var Va=m^!!ma;if(l&&ma!=null)if(Va)K=true;else B[Aa]=false;else if(Va){r.push(da);K=true}}if(ma!==n){l||(B=r);g=g.replace(q.match[la],"");if(!K)return[];break}}}if(g===s)if(K==null)k.error(g);else break;s=g}return B};k.error=function(g){throw"Syntax error, unrecognized expression: "+
g;};var q=k.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+-]*)\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},
leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(g){return g.getAttribute("href")}},relative:{"+":function(g,j){var l=typeof j==="string",m=l&&!/\W/.test(j);l=l&&!m;if(m)j=j.toLowerCase();m=0;for(var s=g.length,r;m<s;m++)if(r=g[m]){for(;(r=r.previousSibling)&&r.nodeType!==1;);g[m]=l||r&&r.nodeName.toLowerCase()===j?r||false:r===j}l&&k.filter(j,g,true)},">":function(g,j){var l=typeof j==="string";if(l&&!/\W/.test(j)){j=j.toLowerCase();for(var m=0,s=g.length;m<s;m++){var r=
g[m];if(r){l=r.parentNode;g[m]=l.nodeName.toLowerCase()===j?l:false}}}else{m=0;for(s=g.length;m<s;m++)if(r=g[m])g[m]=l?r.parentNode:r.parentNode===j;l&&k.filter(j,g,true)}},"":function(g,j,l){var m=f++,s=d;if(typeof j==="string"&&!/\W/.test(j)){var r=j=j.toLowerCase();s=b}s("parentNode",j,m,g,r,l)},"~":function(g,j,l){var m=f++,s=d;if(typeof j==="string"&&!/\W/.test(j)){var r=j=j.toLowerCase();s=b}s("previousSibling",j,m,g,r,l)}},find:{ID:function(g,j,l){if(typeof j.getElementById!=="undefined"&&
!l)return(g=j.getElementById(g[1]))?[g]:[]},NAME:function(g,j){if(typeof j.getElementsByName!=="undefined"){for(var l=[],m=j.getElementsByName(g[1]),s=0,r=m.length;s<r;s++)m[s].getAttribute("name")===g[1]&&l.push(m[s]);return l.length===0?null:l}},TAG:function(g,j){return j.getElementsByTagName(g[1])}},preFilter:{CLASS:function(g,j,l,m,s,r){g=" "+g[1].replace(/\\/g,"")+" ";if(r)return g;r=0;for(var B;(B=j[r])!=null;r++)if(B)if(s^(B.className&&(" "+B.className+" ").replace(/[\t\n]/g," ").indexOf(g)>=
0))l||m.push(B);else if(l)j[r]=false;return false},ID:function(g){return g[1].replace(/\\/g,"")},TAG:function(g){return g[1].toLowerCase()},CHILD:function(g){if(g[1]==="nth"){var j=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(g[2]==="even"&&"2n"||g[2]==="odd"&&"2n+1"||!/\D/.test(g[2])&&"0n+"+g[2]||g[2]);g[2]=j[1]+(j[2]||1)-0;g[3]=j[3]-0}g[0]=f++;return g},ATTR:function(g,j,l,m,s,r){j=g[1].replace(/\\/g,"");if(!r&&q.attrMap[j])g[1]=q.attrMap[j];if(g[2]==="~=")g[4]=" "+g[4]+" ";return g},PSEUDO:function(g,j,l,m,
s){if(g[1]==="not")if((e.exec(g[3])||"").length>1||/^\w/.test(g[3]))g[3]=k(g[3],null,null,j);else{g=k.filter(g[3],j,l,true^s);l||m.push.apply(m,g);return false}else if(q.match.POS.test(g[0])||q.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,j,l){return!!k(l[3],g).length},header:function(g){return/h\d/i.test(g.nodeName)},text:function(g){return"text"===g.type},radio:function(g){return"radio"===g.type},checkbox:function(g){return"checkbox"===g.type},file:function(g){return"file"===g.type},password:function(g){return"password"===g.type},submit:function(g){return"submit"===g.type},image:function(g){return"image"===g.type},reset:function(g){return"reset"===g.type},button:function(g){return"button"===
g.type||g.nodeName.toLowerCase()==="button"},input:function(g){return/input|select|textarea|button/i.test(g.nodeName)}},setFilters:{first:function(g,j){return j===0},last:function(g,j,l,m){return j===m.length-1},even:function(g,j){return j%2===0},odd:function(g,j){return j%2===1},lt:function(g,j,l){return j<l[3]-0},gt:function(g,j,l){return j>l[3]-0},nth:function(g,j,l){return l[3]-0===j},eq:function(g,j,l){return l[3]-0===j}},filter:{PSEUDO:function(g,j,l,m){var s=j[1],r=q.filters[s];if(r)return r(g,
l,j,m);else if(s==="contains")return(g.textContent||g.innerText||a([g])||"").indexOf(j[3])>=0;else if(s==="not"){j=j[3];l=0;for(m=j.length;l<m;l++)if(j[l]===g)return false;return true}else k.error("Syntax error, unrecognized expression: "+s)},CHILD:function(g,j){var l=j[1],m=g;switch(l){case "only":case "first":for(;m=m.previousSibling;)if(m.nodeType===1)return false;if(l==="first")return true;m=g;case "last":for(;m=m.nextSibling;)if(m.nodeType===1)return false;return true;case "nth":l=j[2];var s=
j[3];if(l===1&&s===0)return true;var r=j[0],B=g.parentNode;if(B&&(B.sizcache!==r||!g.nodeIndex)){var z=0;for(m=B.firstChild;m;m=m.nextSibling)if(m.nodeType===1)m.nodeIndex=++z;B.sizcache=r}m=g.nodeIndex-s;return l===0?m===0:m%l===0&&m/l>=0}},ID:function(g,j){return g.nodeType===1&&g.getAttribute("id")===j},TAG:function(g,j){return j==="*"&&g.nodeType===1||g.nodeName.toLowerCase()===j},CLASS:function(g,j){return(" "+(g.className||g.getAttribute("class"))+" ").indexOf(j)>-1},ATTR:function(g,j){var l=
j[1];l=q.attrHandle[l]?q.attrHandle[l](g):g[l]!=null?g[l]:g.getAttribute(l);var m=l+"",s=j[2],r=j[4];return l==null?s==="!=":s==="="?m===r:s==="*="?m.indexOf(r)>=0:s==="~="?(" "+m+" ").indexOf(r)>=0:!r?m&&l!==false:s==="!="?m!==r:s==="^="?m.indexOf(r)===0:s==="$="?m.substr(m.length-r.length)===r:s==="|="?m===r||m.substr(0,r.length+1)===r+"-":false},POS:function(g,j,l,m){var s=q.setFilters[j[2]];if(s)return s(g,l,j,m)}}},w=q.match.POS;for(var I in q.match){q.match[I]=RegExp(q.match[I].source+/(?![^\[]*\])(?![^\(]*\))/.source);
q.leftMatch[I]=RegExp(/(^(?:.|\r|\n)*?)/.source+q.match[I].source.replace(/\\(\d+)/g,function(g,j){return"\\"+(j-0+1)}))}var M=function(g,j){g=Array.prototype.slice.call(g,0);if(j){j.push.apply(j,g);return j}return g};try{Array.prototype.slice.call(v.documentElement.childNodes,0)}catch(T){M=function(g,j){var l=j||[];if(h.call(g)==="[object Array]")Array.prototype.push.apply(l,g);else if(typeof g.length==="number")for(var m=0,s=g.length;m<s;m++)l.push(g[m]);else for(m=0;g[m];m++)l.push(g[m]);return l}}var Q;
if(v.documentElement.compareDocumentPosition)Q=function(g,j){if(!g.compareDocumentPosition||!j.compareDocumentPosition){if(g==j)i=true;return g.compareDocumentPosition?-1:1}var l=g.compareDocumentPosition(j)&4?-1:g===j?0:1;if(l===0)i=true;return l};else if("sourceIndex"in v.documentElement)Q=function(g,j){if(!g.sourceIndex||!j.sourceIndex){if(g==j)i=true;return g.sourceIndex?-1:1}var l=g.sourceIndex-j.sourceIndex;if(l===0)i=true;return l};else if(v.createRange)Q=function(g,j){if(!g.ownerDocument||
!j.ownerDocument){if(g==j)i=true;return g.ownerDocument?-1:1}var l=g.ownerDocument.createRange(),m=j.ownerDocument.createRange();l.setStart(g,0);l.setEnd(g,0);m.setStart(j,0);m.setEnd(j,0);l=l.compareBoundaryPoints(Range.START_TO_END,m);if(l===0)i=true;return l};(function(){var g=v.createElement("div"),j="script"+(new Date).getTime();g.innerHTML="<a name='"+j+"'/>";var l=v.documentElement;l.insertBefore(g,l.firstChild);if(v.getElementById(j)){q.find.ID=function(m,s,r){if(typeof s.getElementById!==
"undefined"&&!r)return(s=s.getElementById(m[1]))?s.id===m[1]||typeof s.getAttributeNode!=="undefined"&&s.getAttributeNode("id").nodeValue===m[1]?[s]:n:[]};q.filter.ID=function(m,s){var r=typeof m.getAttributeNode!=="undefined"&&m.getAttributeNode("id");return m.nodeType===1&&r&&r.nodeValue===s}}l.removeChild(g);l=g=null})();(function(){var g=v.createElement("div");g.appendChild(v.createComment(""));if(g.getElementsByTagName("*").length>0)q.find.TAG=function(j,l){var m=l.getElementsByTagName(j[1]);
if(j[1]==="*"){for(var s=[],r=0;m[r];r++)m[r].nodeType===1&&s.push(m[r]);m=s}return m};g.innerHTML="<a href='#'></a>";if(g.firstChild&&typeof g.firstChild.getAttribute!=="undefined"&&g.firstChild.getAttribute("href")!=="#")q.attrHandle.href=function(j){return j.getAttribute("href",2)};g=null})();v.querySelectorAll&&function(){var g=k,j=v.createElement("div");j.innerHTML="<p class='TEST'></p>";if(!(j.querySelectorAll&&j.querySelectorAll(".TEST").length===0)){k=function(m,s,r,B){s=s||v;if(!B&&s.nodeType===
9&&!G(s))try{return M(s.querySelectorAll(m),r)}catch(z){}return g(m,s,r,B)};for(var l in g)k[l]=g[l];j=null}}();(function(){var g=v.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){q.order.splice(1,0,"CLASS");q.find.CLASS=function(j,l,m){if(typeof l.getElementsByClassName!=="undefined"&&!m)return l.getElementsByClassName(j[1])};
g=null}}})();var ba=v.compareDocumentPosition?function(g,j){return!!(g.compareDocumentPosition(j)&16)}:function(g,j){return g!==j&&(g.contains?g.contains(j):true)},G=function(g){return(g=(g?g.ownerDocument||g:0).documentElement)?g.nodeName!=="HTML":false},Ga=function(g,j){for(var l=[],m="",s,r=j.nodeType?[j]:j;s=q.match.PSEUDO.exec(g);){m+=s[0];g=g.replace(q.match.PSEUDO,"")}g=q.relative[g]?g+"*":g;s=0;for(var B=r.length;s<B;s++)k(g,r[s],l);return k.filter(m,l)};c.find=k;c.expr=k.selectors;c.expr[":"]=
c.expr.filters;c.unique=k.uniqueSort;c.text=a;c.isXMLDoc=G;c.contains=ba})();var eb=/Until$/,fb=/^(?:parents|prevUntil|prevAll)/,gb=/,/;ga=Array.prototype.slice;var Wa=function(a,b,d){if(c.isFunction(b))return c.grep(a,function(f,h){return!!b.call(f,h,f)===d});else if(b.nodeType)return c.grep(a,function(f){return f===b===d});else if(typeof b==="string"){var e=c.grep(a,function(f){return f.nodeType===1});if(ia.test(b))return c.filter(b,e,!d);else b=c.filter(b,e)}return c.grep(a,function(f){return c.inArray(f,
b)>=0===d})};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 i=0;i<d;i++)if(b[i]===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(Wa(this,a,false),"not",a)},filter:function(a){return this.pushStack(Wa(this,a,true),"filter",
a)},is:function(a){return!!a&&c.filter(a,this).length>0},closest:function(a,b){if(c.isArray(a)){var d=[],e=this[0],f,h={},i;if(e&&a.length){f=0;for(var p=a.length;f<p;f++){i=a[f];h[i]||(h[i]=c.expr.match.POS.test(i)?c(i,b||this.context):i)}for(;e&&e.ownerDocument&&e!==b;){for(i in h){f=h[i];if(f.jquery?f.index(e)>-1:c(e).is(f)){d.push({selector:i,elem:e});delete h[i]}}e=e.parentNode}}return d}var k=c.expr.match.POS.test(a)?c(a,b||this.context):null;return this.map(function(q,w){for(;w&&w.ownerDocument&&
w!==b;){if(k?k.index(w)>-1:c(w).is(a))return w;w=w.parentNode}return null})},index:function(a){if(!a||typeof a==="string")return c.inArray(this[0],a?c(a):this.parent().children());return c.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var d=typeof a==="string"?c(a,b||this.context):c.makeArray(a),e=c.merge(this.get(),d);return this.pushStack(!d[0]||!d[0].parentNode||d[0].parentNode.nodeType===11||!e[0]||!e[0].parentNode||e[0].parentNode.nodeType===11?e:c.unique(e))},andSelf:function(){return this.add(this.prevObject)}});
c.each({parent:function(a){return(a=a.parentNode)&&a.nodeType!==11?a:null},parents:function(a){return c.dir(a,"parentNode")},parentsUntil:function(a,b,d){return c.dir(a,"parentNode",d)},next:function(a){return c.nth(a,2,"nextSibling")},prev:function(a){return c.nth(a,2,"previousSibling")},nextAll:function(a){return c.dir(a,"nextSibling")},prevAll:function(a){return c.dir(a,"previousSibling")},nextUntil:function(a,b,d){return c.dir(a,"nextSibling",d)},prevUntil:function(a,b,d){return c.dir(a,"previousSibling",
d)},siblings:function(a){return c.sibling(a.parentNode.firstChild,a)},children:function(a){return c.sibling(a.firstChild)},contents:function(a){return c.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:c.makeArray(a.childNodes)}},function(a,b){c.fn[a]=function(d,e){var f=c.map(this,b,d);eb.test(a)||(e=d);if(e&&typeof e==="string")f=c.filter(e,f);f=this.length>1?c.unique(f):f;if((this.length>1||gb.test(e))&&fb.test(a))f=f.reverse();return this.pushStack(f,a,ga.call(arguments).join(","))}});
c.extend({filter:function(a,b,d){if(d)a=":not("+a+")";return c.find.matches(a,b)},dir:function(a,b,d){var e=[];for(a=a[b];a&&a.nodeType!==9&&(d===n||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 Xa=/ jQuery\d+="(?:\d+|null)"/g,Ba=/^\s+/,Ya=/(<([\w:]+)[^>]*?)\/>/g,hb=/^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i,
Za=/<([\w:]+)/,ib=/<tbody/i,jb=/<|&#?\w+;/,Ma=/<script|<object|<embed|<option|<style/i,Na=/checked\s*(?:[^=]|=\s*.checked.)/i,$a=function(a,b,d){return hb.test(d)?a:b+"></"+d+">"},ea={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,
"",""]};ea.optgroup=ea.option;ea.tbody=ea.tfoot=ea.colgroup=ea.caption=ea.thead;ea.th=ea.td;if(!c.support.htmlSerialize)ea._default=[1,"div<div>","</div>"];c.fn.extend({text:function(a){if(c.isFunction(a))return this.each(function(b){var d=c(this);d.text(a.call(this,b,d.text()))});if(typeof a!=="object"&&a!==n)return this.empty().append((this[0]&&this[0].ownerDocument||v).createTextNode(a));return c.text(this)},wrapAll:function(a){if(c.isFunction(a))return this.each(function(d){c(this).wrapAll(a.call(this,
d))});if(this[0]){var b=c(a,this[0].ownerDocument).eq(0).clone(true);this[0].parentNode&&b.insertBefore(this[0]);b.map(function(){for(var d=this;d.firstChild&&d.firstChild.nodeType===1;)d=d.firstChild;return d}).append(this)}return this},wrapInner:function(a){if(c.isFunction(a))return this.each(function(b){c(this).wrapInner(a.call(this,b))});return this.each(function(){var b=c(this),d=b.contents();d.length?d.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){c(this).wrapAll(a)})},
unwrap:function(){return this.parent().each(function(){c.nodeName(this,"body")||c(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this)});else if(arguments.length){var a=
c(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this.nextSibling)});else if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,c(arguments[0]).toArray());return a}},remove:function(a,b){for(var d=0,e;(e=this[d])!=null;d++)if(!a||c.filter(a,[e]).length){if(!b&&e.nodeType===1){c.cleanData(e.getElementsByTagName("*"));
c.cleanData([e])}e.parentNode&&e.parentNode.removeChild(e)}return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++)for(b.nodeType===1&&c.cleanData(b.getElementsByTagName("*"));b.firstChild;)b.removeChild(b.firstChild);return this},clone:function(a){var b=this.map(function(){if(!c.support.noCloneEvent&&!c.isXMLDoc(this)){var d=this.outerHTML,e=this.ownerDocument;if(!d){d=e.createElement("div");d.appendChild(this.cloneNode(true));d=d.innerHTML}return c.clean([d.replace(Xa,"").replace(/=([^="'>\s]+\/)>/g,
'="$1">').replace(Ba,"")],e)[0]}else return this.cloneNode(true)});if(a===true){H(this,b);H(this.find("*"),b.find("*"))}return b},html:function(a){if(a===n)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(Xa,""):null;else if(typeof a==="string"&&!Ma.test(a)&&(c.support.leadingWhitespace||!Ba.test(a))&&!ea[(Za.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Ya,$a);try{for(var b=0,d=this.length;b<d;b++)if(this[b].nodeType===1){c.cleanData(this[b].getElementsByTagName("*"));this[b].innerHTML=
a}}catch(e){this.empty().append(a)}}else c.isFunction(a)?this.each(function(f){var h=c(this),i=h.html();h.empty().append(function(){return a.call(this,f,i)})}):this.empty().append(a);return this},replaceWith:function(a){if(this[0]&&this[0].parentNode){if(c.isFunction(a))return this.each(function(b){var d=c(this),e=d.html();d.replaceWith(a.call(this,b,e))});if(typeof a!=="string")a=c(a).detach();return this.each(function(){var b=this.nextSibling,d=this.parentNode;c(this).remove();b?c(b).before(a):
c(d).append(a)})}else return this.pushStack(c(c.isFunction(a)?a():a),"replaceWith",a)},detach:function(a){return this.remove(a,true)},domManip:function(a,b,d){var e,f,h=a[0],i=[],p;if(!c.support.checkClone&&arguments.length===3&&typeof h==="string"&&Na.test(h))return this.each(function(){c(this).domManip(a,b,d,true)});if(c.isFunction(h))return this.each(function(q){var w=c(this);a[0]=h.call(this,q,b?w.html():n);w.domManip(a,b,d)});if(this[0]){e=h&&h.parentNode;e=c.support.parentNode&&e&&e.nodeType===
11&&e.childNodes.length===this.length?{fragment:e}:S(a,this,i);p=e.fragment;if(f=p.childNodes.length===1?p=p.firstChild:p.firstChild){b=b&&c.nodeName(f,"tr");f=0;for(var k=this.length;f<k;f++)d.call(b?c.nodeName(this[f],"table")?this[f].getElementsByTagName("tbody")[0]||this[f].appendChild(this[f].ownerDocument.createElement("tbody")):this[f]:this[f],f>0||e.cacheable||this.length>1?p.cloneNode(true):p)}i.length&&c.each(i,E)}return this}});c.fragments={};c.each({appendTo:"append",prependTo:"prepend",
insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){c.fn[a]=function(d){var e=[];d=c(d);var f=this.length===1&&this[0].parentNode;if(f&&f.nodeType===11&&f.childNodes.length===1&&d.length===1){d[b](this[0]);return this}else{f=0;for(var h=d.length;f<h;f++){var i=(f>0?this.clone(true):this).get();c.fn[b].apply(c(d[f]),i);e=e.concat(i)}return this.pushStack(e,a,d.selector)}}});c.extend({clean:function(a,b,d,e){b=b||v;if(typeof b.createElement==="undefined")b=b.ownerDocument||
b[0]&&b[0].ownerDocument||v;for(var f=[],h=0,i;(i=a[h])!=null;h++){if(typeof i==="number")i+="";if(i){if(typeof i==="string"&&!jb.test(i))i=b.createTextNode(i);else if(typeof i==="string"){i=i.replace(Ya,$a);var p=(Za.exec(i)||["",""])[1].toLowerCase(),k=ea[p]||ea._default,q=k[0],w=b.createElement("div");for(w.innerHTML=k[1]+i+k[2];q--;)w=w.lastChild;if(!c.support.tbody){q=ib.test(i);p=p==="table"&&!q?w.firstChild&&w.firstChild.childNodes:k[1]==="<table>"&&!q?w.childNodes:[];for(k=p.length-1;k>=0;--k)c.nodeName(p[k],
"tbody")&&!p[k].childNodes.length&&p[k].parentNode.removeChild(p[k])}!c.support.leadingWhitespace&&Ba.test(i)&&w.insertBefore(b.createTextNode(Ba.exec(i)[0]),w.firstChild);i=w.childNodes}if(i.nodeType)f.push(i);else f=c.merge(f,i)}}if(d)for(h=0;f[h];h++)if(e&&c.nodeName(f[h],"script")&&(!f[h].type||f[h].type.toLowerCase()==="text/javascript"))e.push(f[h].parentNode?f[h].parentNode.removeChild(f[h]):f[h]);else{f[h].nodeType===1&&f.splice.apply(f,[h+1,0].concat(c.makeArray(f[h].getElementsByTagName("script"))));
d.appendChild(f[h])}return f},cleanData:function(a){for(var b,d,e=c.cache,f=c.event.special,h=c.support.deleteExpando,i=0,p;(p=a[i])!=null;i++)if(d=p[c.expando]){b=e[d];if(b.events)for(var k in b.events)f[k]?c.event.remove(p,k):Qa(p,k,b.handle);if(h)delete p[c.expando];else p.removeAttribute&&p.removeAttribute(c.expando);delete e[d]}}});var kb=/z-?index|font-?weight|opacity|zoom|line-?height/i,ab=/alpha\([^)]*\)/,bb=/opacity=([^)]*)/,Ha=/float/i,Ia=/-([a-z])/ig,lb=/([A-Z])/g,mb=/^-?\d+(?:px)?$/i,
nb=/^-?\d/,ob={position:"absolute",visibility:"hidden",display:"block"},pb=["Left","Right"],qb=["Top","Bottom"],rb=v.defaultView&&v.defaultView.getComputedStyle,cb=c.support.cssFloat?"cssFloat":"styleFloat",Ja=function(a,b){return b.toUpperCase()};c.fn.css=function(a,b){return F(this,a,b,true,function(d,e,f){if(f===n)return c.curCSS(d,e);if(typeof f==="number"&&!kb.test(e))f+="px";c.style(d,e,f)})};c.extend({style:function(a,b,d){if(!a||a.nodeType===3||a.nodeType===8)return n;if((b==="width"||b===
"height")&&parseFloat(d)<0)d=n;var e=a.style||a,f=d!==n;if(!c.support.opacity&&b==="opacity"){if(f){e.zoom=1;b=parseInt(d,10)+""==="NaN"?"":"alpha(opacity="+d*100+")";a=e.filter||c.curCSS(a,"filter")||"";e.filter=ab.test(a)?a.replace(ab,b):b}return e.filter&&e.filter.indexOf("opacity=")>=0?parseFloat(bb.exec(e.filter)[1])/100+"":""}if(Ha.test(b))b=cb;b=b.replace(Ia,Ja);if(f)e[b]=d;return e[b]},css:function(a,b,d,e){if(b==="width"||b==="height"){var f,h=b==="width"?pb:qb;d=function(){f=b==="width"?
a.offsetWidth:a.offsetHeight;e!=="border"&&c.each(h,function(){e||(f-=parseFloat(c.curCSS(a,"padding"+this,true))||0);if(e==="margin")f+=parseFloat(c.curCSS(a,"margin"+this,true))||0;else f-=parseFloat(c.curCSS(a,"border"+this+"Width",true))||0})};a.offsetWidth!==0?d():c.swap(a,ob,d);return Math.max(0,Math.round(f))}return c.curCSS(a,b,d)},curCSS:function(a,b,d){var e,f=a.style;if(!c.support.opacity&&b==="opacity"&&a.currentStyle){e=bb.test(a.currentStyle.filter||"")?parseFloat(RegExp.$1)/100+"":
"";return e===""?"1":e}if(Ha.test(b))b=cb;if(!d&&f&&f[b])e=f[b];else if(rb){if(Ha.test(b))b="float";b=b.replace(lb,"-$1").toLowerCase();f=a.ownerDocument.defaultView;if(!f)return null;if(a=f.getComputedStyle(a,null))e=a.getPropertyValue(b);if(b==="opacity"&&e==="")e="1"}else if(a.currentStyle){d=b.replace(Ia,Ja);e=a.currentStyle[b]||a.currentStyle[d];if(!mb.test(e)&&nb.test(e)){b=f.left;var h=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;f.left=d==="fontSize"?"1em":e||0;e=f.pixelLeft+
"px";f.left=b;a.runtimeStyle.left=h}}return e},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]}});if(c.expr&&c.expr.filters){c.expr.filters.hidden=function(a){var b=a.offsetWidth,d=a.offsetHeight,e=a.nodeName.toLowerCase()==="tr";return b===0&&d===0&&!e?true:b>0&&d>0&&!e?false:c.curCSS(a,"display")==="none"};c.expr.filters.visible=function(a){return!c.expr.filters.hidden(a)}}var sb=C(),tb=/<script(.|\s)*?\/script>/gi,ub=/select|textarea/i,
vb=/color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week/i,ta=/=\?(&|$)/,Ka=/\?/,wb=/(\?|&)_=.*?(&|$)/,xb=/^(\w+:)?\/\/([^\/?#]+)/,yb=/%20/g,zb=c.fn.load;c.fn.extend({load:function(a,b,d){if(typeof a!=="string")return zb.call(this,a);else if(!this.length)return this;var e=a.indexOf(" ");if(e>=0){var f=a.slice(e,a.length);a=a.slice(0,e)}e="GET";if(b)if(c.isFunction(b)){d=b;b=null}else if(typeof b==="object"){b=c.param(b,c.ajaxSettings.traditional);e="POST"}var h=
this;c.ajax({url:a,type:e,dataType:"html",data:b,complete:function(i,p){if(p==="success"||p==="notmodified")h.html(f?c("<div />").append(i.responseText.replace(tb,"")).find(f):i.responseText);d&&h.each(d,[i.responseText,p,i])}});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||ub.test(this.nodeName)||
vb.test(this.type))}).map(function(a,b){var d=c(this).val();return d==null?null:c.isArray(d)?c.map(d,function(e){return{name:b.name,value:e}}):{name:b.name,value:d}}).get()}});c.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){c.fn[b]=function(d){return this.bind(b,d)}});c.extend({get:function(a,b,d,e){if(c.isFunction(b)){e=e||d;d=b;b=null}return c.ajax({type:"GET",url:a,data:b,success:d,dataType:e})},getScript:function(a,b){return c.get(a,null,b,"script")},
getJSON:function(a,b,d){return c.get(a,b,d,"json")},post:function(a,b,d,e){if(c.isFunction(b)){e=e||d;d=b;b={}}return c.ajax({type:"POST",url:a,data:b,success:d,dataType:e})},ajaxSetup:function(a){c.extend(c.ajaxSettings,a)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:o.XMLHttpRequest&&(o.location.protocol!=="file:"||!o.ActiveXObject)?function(){return new o.XMLHttpRequest}:function(){try{return new o.ActiveXObject("Microsoft.XMLHTTP")}catch(a){}},
accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},etag:{},ajax:function(a){function b(){f.success&&f.success.call(k,p,i,G);f.global&&e("ajaxSuccess",[G,f])}function d(){f.complete&&f.complete.call(k,G,i);f.global&&e("ajaxComplete",[G,f]);f.global&&!--c.active&&c.event.trigger("ajaxStop")}function e(s,r){(f.context?c(f.context):c.event).trigger(s,r)}var f=
c.extend(true,{},c.ajaxSettings,a),h,i,p,k=a&&a.context||f,q=f.type.toUpperCase();if(f.data&&f.processData&&typeof f.data!=="string")f.data=c.param(f.data,f.traditional);if(f.dataType==="jsonp"){if(q==="GET")ta.test(f.url)||(f.url+=(Ka.test(f.url)?"&":"?")+(f.jsonp||"callback")+"=?");else if(!f.data||!ta.test(f.data))f.data=(f.data?f.data+"&":"")+(f.jsonp||"callback")+"=?";f.dataType="json"}if(f.dataType==="json"&&(f.data&&ta.test(f.data)||ta.test(f.url))){h=f.jsonpCallback||"jsonp"+sb++;if(f.data)f.data=
(f.data+"").replace(ta,"="+h+"$1");f.url=f.url.replace(ta,"="+h+"$1");f.dataType="script";o[h]=o[h]||function(s){p=s;b();d();o[h]=n;try{delete o[h]}catch(r){}M&&M.removeChild(T)}}if(f.dataType==="script"&&f.cache===null)f.cache=false;if(f.cache===false&&q==="GET"){var w=C(),I=f.url.replace(wb,"$1_="+w+"$2");f.url=I+(I===f.url?(Ka.test(f.url)?"&":"?")+"_="+w:"")}if(f.data&&q==="GET")f.url+=(Ka.test(f.url)?"&":"?")+f.data;f.global&&!c.active++&&c.event.trigger("ajaxStart");w=(w=xb.exec(f.url))&&(w[1]&&
w[1]!==location.protocol||w[2]!==location.host);if(f.dataType==="script"&&q==="GET"&&w){var M=v.getElementsByTagName("head")[0]||v.documentElement,T=v.createElement("script");T.src=f.url;if(f.scriptCharset)T.charset=f.scriptCharset;if(!h){var Q=false;T.onload=T.onreadystatechange=function(){if(!Q&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){Q=true;b();d();T.onload=T.onreadystatechange=null;M&&T.parentNode&&M.removeChild(T)}}}M.insertBefore(T,M.firstChild);return n}var ba=
false,G=f.xhr();if(G){f.username?G.open(q,f.url,f.async,f.username,f.password):G.open(q,f.url,f.async);try{if(f.data||a&&a.contentType)G.setRequestHeader("Content-Type",f.contentType);if(f.ifModified){c.lastModified[f.url]&&G.setRequestHeader("If-Modified-Since",c.lastModified[f.url]);c.etag[f.url]&&G.setRequestHeader("If-None-Match",c.etag[f.url])}w||G.setRequestHeader("X-Requested-With","XMLHttpRequest");G.setRequestHeader("Accept",f.dataType&&f.accepts[f.dataType]?f.accepts[f.dataType]+", */*":
f.accepts._default)}catch(Ga){}if(f.beforeSend&&f.beforeSend.call(k,G,f)===false){f.global&&!--c.active&&c.event.trigger("ajaxStop");G.abort();return false}f.global&&e("ajaxSend",[G,f]);var g=G.onreadystatechange=function(s){if(!G||G.readyState===0||s==="abort"){ba||d();ba=true;if(G)G.onreadystatechange=c.noop}else if(!ba&&G&&(G.readyState===4||s==="timeout")){ba=true;G.onreadystatechange=c.noop;i=s==="timeout"?"timeout":!c.httpSuccess(G)?"error":f.ifModified&&c.httpNotModified(G,f.url)?"notmodified":
"success";var r;if(i==="success")try{p=c.httpData(G,f.dataType,f)}catch(B){i="parsererror";r=B}if(i==="success"||i==="notmodified")h||b();else c.handleError(f,G,i,r);d();s==="timeout"&&G.abort();if(f.async)G=null}};try{var j=G.abort;G.abort=function(){G&&j.call(G);g("abort")}}catch(l){}f.async&&f.timeout>0&&setTimeout(function(){G&&!ba&&g("timeout")},f.timeout);try{G.send(q==="POST"||q==="PUT"||q==="DELETE"?f.data:null)}catch(m){c.handleError(f,G,null,m);d()}f.async||g();return G}},handleError:function(a,
b,d,e){if(a.error)a.error.call(a.context||a,b,d,e);if(a.global)(a.context?c(a.context):c.event).trigger("ajaxError",[b,a,e])},active:0,httpSuccess:function(a){try{return!a.status&&location.protocol==="file:"||a.status>=200&&a.status<300||a.status===304||a.status===1223||a.status===0}catch(b){}return false},httpNotModified:function(a,b){var d=a.getResponseHeader("Last-Modified"),e=a.getResponseHeader("Etag");if(d)c.lastModified[b]=d;if(e)c.etag[b]=e;return a.status===304||a.status===0},httpData:function(a,
b,d){var e=a.getResponseHeader("content-type")||"",f=b==="xml"||!b&&e.indexOf("xml")>=0;a=f?a.responseXML:a.responseText;f&&a.documentElement.nodeName==="parsererror"&&c.error("parsererror");if(d&&d.dataFilter)a=d.dataFilter(a,b);if(typeof a==="string")if(b==="json"||!b&&e.indexOf("json")>=0)a=c.parseJSON(a);else if(b==="script"||!b&&e.indexOf("javascript")>=0)c.globalEval(a);return a},param:function(a,b){function d(i,p){if(c.isArray(p))c.each(p,function(k,q){b||/\[\]$/.test(i)?e(i,q):d(i+"["+(typeof q===
"object"||c.isArray(q)?k:"")+"]",q)});else!b&&p!=null&&typeof p==="object"?c.each(p,function(k,q){d(i+"["+k+"]",q)}):e(i,p)}function e(i,p){p=c.isFunction(p)?p():p;f[f.length]=encodeURIComponent(i)+"="+encodeURIComponent(p)}var f=[];if(b===n)b=c.ajaxSettings.traditional;if(c.isArray(a)||a.jquery)c.each(a,function(){e(this.name,this.value)});else for(var h in a)d(h,a[h]);return f.join("&").replace(yb,"+")}});var La={},Ab=/toggle|show|hide/,Bb=/^([+-]=)?([\d+-.]+)(.*)$/,Ca,Oa=[["height","marginTop",
"marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];c.fn.extend({show:function(a,b){if(a||a===0)return this.animate(U("show",3),a,b);else{for(var d=0,e=this.length;d<e;d++){var f=c.data(this[d],"olddisplay");this[d].style.display=f||"";if(c.css(this[d],"display")==="none"){f=this[d].nodeName;var h;if(La[f])h=La[f];else{var i=c("<"+f+" />").appendTo("body");h=i.css("display");if(h==="none")h="block";i.remove();La[f]=h}c.data(this[d],
"olddisplay",h)}}d=0;for(e=this.length;d<e;d++)this[d].style.display=c.data(this[d],"olddisplay")||"";return this}},hide:function(a,b){if(a||a===0)return this.animate(U("hide",3),a,b);else{for(var d=0,e=this.length;d<e;d++){var f=c.data(this[d],"olddisplay");!f&&f!=="none"&&c.data(this[d],"olddisplay",c.css(this[d],"display"))}d=0;for(e=this.length;d<e;d++)this[d].style.display="none";return this}},_toggle:c.fn.toggle,toggle:function(a,b){var d=typeof a==="boolean";if(c.isFunction(a)&&c.isFunction(b))this._toggle.apply(this,
arguments);else a==null||d?this.each(function(){var e=d?a:c(this).is(":hidden");c(this)[e?"show":"hide"]()}):this.animate(U("toggle",3),a,b);return this},fadeTo:function(a,b,d){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,d)},animate:function(a,b,d,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),i,p=this.nodeType===1&&c(this).is(":hidden"),k=this;for(i in a){var q=
i.replace(Ia,Ja);if(i!==q){a[q]=a[i];delete a[i];i=q}if(a[i]==="hide"&&p||a[i]==="show"&&!p)return h.complete.call(this);if((i==="height"||i==="width")&&this.style){h.display=c.css(this,"display");h.overflow=this.style.overflow}if(c.isArray(a[i])){(h.specialEasing=h.specialEasing||{})[i]=a[i][1];a[i]=a[i][0]}}if(h.overflow!=null)this.style.overflow="hidden";h.curAnim=c.extend({},a);c.each(a,function(w,I){var M=new c.fx(k,h,w);if(Ab.test(I))M[I==="toggle"?p?"show":"hide":I](a);else{var T=Bb.exec(I),
Q=M.cur(true)||0;if(T){var ba=parseFloat(T[2]),G=T[3]||"px";if(G!=="px"){k.style[w]=(ba||1)+G;Q=(ba||1)/M.cur(true)*Q;k.style[w]=Q+G}if(T[1])ba=(T[1]==="-="?-1:1)*ba+Q;M.custom(Q,ba,G)}else M.custom(Q,I,"")}});return true})},stop:function(a,b){var d=c.timers;a&&this.queue([]);this.each(function(){for(var e=d.length-1;e>=0;e--)if(d[e].elem===this){b&&d[e](true);d.splice(e,1)}});b||this.dequeue();return this}});c.each({slideDown:U("show",1),slideUp:U("hide",1),slideToggle:U("toggle",1),fadeIn:{opacity:"show"},
fadeOut:{opacity:"hide"}},function(a,b){c.fn[a]=function(d,e){return this.animate(b,d,e)}});c.extend({speed:function(a,b,d){var e=a&&typeof a==="object"?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:c.fx.speeds[e.duration]||c.fx.speeds._default;e.old=e.complete;e.complete=function(){e.queue!==false&&c(this).dequeue();c.isFunction(e.old)&&e.old.call(this)};return e},easing:{linear:function(a,b,
d,e){return d+e*a},swing:function(a,b,d,e){return(-Math.cos(a*Math.PI)/2+0.5)*e+d}},timers:[],fx:function(a,b,d){this.options=b;this.elem=a;this.prop=d;if(!b.orig)b.orig={}}});c.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(c.fx.step[this.prop]||c.fx.step._default)(this);if((this.prop==="height"||this.prop==="width")&&this.elem.style)this.elem.style.display="block"},cur:function(a){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==
null))return this.elem[this.prop];return(a=parseFloat(c.css(this.elem,this.prop,a)))&&a>-10000?a:parseFloat(c.curCSS(this.elem,this.prop))||0},custom:function(a,b,d){function e(h){return f.step(h)}this.startTime=C();this.start=a;this.end=b;this.unit=d||this.unit||"px";this.now=this.start;this.pos=this.state=0;var f=this;e.elem=this.elem;if(e()&&c.timers.push(e)&&!Ca)Ca=setInterval(c.fx.tick,13)},show:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop===
"width"||this.prop==="height"?1:0,this.cur());c(this.elem).show()},hide:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(a){var b=C(),d=true;if(a||b>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;for(var e in this.options.curAnim)if(this.options.curAnim[e]!==true)d=false;if(d){if(this.options.display!=null){this.elem.style.overflow=
this.options.overflow;a=c.data(this.elem,"olddisplay");this.elem.style.display=a?a:this.options.display;if(c.css(this.elem,"display")==="none")this.elem.style.display="block"}this.options.hide&&c(this.elem).hide();if(this.options.hide||this.options.show)for(var f in this.options.curAnim)c.style(this.elem,f,this.options.orig[f]);this.options.complete.call(this.elem)}return false}else{f=b-this.startTime;this.state=f/this.options.duration;a=this.options.easing||(c.easing.swing?"swing":"linear");this.pos=
c.easing[this.options.specialEasing&&this.options.specialEasing[this.prop]||a](this.state,f,0,1,this.options.duration);this.now=this.start+(this.end-this.start)*this.pos;this.update()}return true}};c.extend(c.fx,{tick:function(){for(var a=c.timers,b=0;b<a.length;b++)a[b]()||a.splice(b--,1);a.length||c.fx.stop()},stop:function(){clearInterval(Ca);Ca=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){c.style(a.elem,"opacity",a.now)},_default:function(a){if(a.elem.style&&a.elem.style[a.prop]!=
null)a.elem.style[a.prop]=(a.prop==="width"||a.prop==="height"?Math.max(0,a.now):a.now)+a.unit;else a.elem[a.prop]=a.now}}});if(c.expr&&c.expr.filters)c.expr.filters.animated=function(a){return c.grep(c.timers,function(b){return a===b.elem}).length};c.fn.offset="getBoundingClientRect"in v.documentElement?function(a){var b=this[0];if(a)return this.each(function(f){c.offset.setOffset(this,a,f)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);var d=b.getBoundingClientRect(),
e=b.ownerDocument;b=e.body;e=e.documentElement;return{top:d.top+(self.pageYOffset||c.support.boxModel&&e.scrollTop||b.scrollTop)-(e.clientTop||b.clientTop||0),left:d.left+(self.pageXOffset||c.support.boxModel&&e.scrollLeft||b.scrollLeft)-(e.clientLeft||b.clientLeft||0)}}:function(a){var b=this[0];if(a)return this.each(function(w){c.offset.setOffset(this,a,w)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);c.offset.initialize();var d=b.offsetParent,e=
b,f=b.ownerDocument,h,i=f.documentElement,p=f.body;e=(f=f.defaultView)?f.getComputedStyle(b,null):b.currentStyle;for(var k=b.offsetTop,q=b.offsetLeft;(b=b.parentNode)&&b!==p&&b!==i;){if(c.offset.supportsFixedPosition&&e.position==="fixed")break;h=f?f.getComputedStyle(b,null):b.currentStyle;k-=b.scrollTop;q-=b.scrollLeft;if(b===d){k+=b.offsetTop;q+=b.offsetLeft;if(c.offset.doesNotAddBorder&&!(c.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(b.nodeName))){k+=parseFloat(h.borderTopWidth)||
0;q+=parseFloat(h.borderLeftWidth)||0}e=d;d=b.offsetParent}if(c.offset.subtractsBorderForOverflowNotVisible&&h.overflow!=="visible"){k+=parseFloat(h.borderTopWidth)||0;q+=parseFloat(h.borderLeftWidth)||0}e=h}if(e.position==="relative"||e.position==="static"){k+=p.offsetTop;q+=p.offsetLeft}if(c.offset.supportsFixedPosition&&e.position==="fixed"){k+=Math.max(i.scrollTop,p.scrollTop);q+=Math.max(i.scrollLeft,p.scrollLeft)}return{top:k,left:q}};c.offset={initialize:function(){var a=v.body,b=v.createElement("div"),
d,e,f,h=parseFloat(c.curCSS(a,"marginTop",true))||0;c.extend(b.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"});b.innerHTML="<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";a.insertBefore(b,a.firstChild);
d=b.firstChild;e=d.firstChild;f=d.nextSibling.firstChild.firstChild;this.doesNotAddBorder=e.offsetTop!==5;this.doesAddBorderForTableAndCells=f.offsetTop===5;e.style.position="fixed";e.style.top="20px";this.supportsFixedPosition=e.offsetTop===20||e.offsetTop===15;e.style.position=e.style.top="";d.style.overflow="hidden";d.style.position="relative";this.subtractsBorderForOverflowNotVisible=e.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==h;a.removeChild(b);c.offset.initialize=c.noop},
bodyOffset:function(a){var b=a.offsetTop,d=a.offsetLeft;c.offset.initialize();if(c.offset.doesNotIncludeMarginInBodyOffset){b+=parseFloat(c.curCSS(a,"marginTop",true))||0;d+=parseFloat(c.curCSS(a,"marginLeft",true))||0}return{top:b,left:d}},setOffset:function(a,b,d){if(/static/.test(c.curCSS(a,"position")))a.style.position="relative";var e=c(a),f=e.offset(),h=parseInt(c.curCSS(a,"top",true),10)||0,i=parseInt(c.curCSS(a,"left",true),10)||0;if(c.isFunction(b))b=b.call(a,d,f);d={top:b.top-f.top+h,left:b.left-
f.left+i};"using"in b?b.using.call(a,d):e.css(d)}};c.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),d=this.offset(),e=/^body|html$/i.test(b[0].nodeName)?{top:0,left:0}:b.offset();d.top-=parseFloat(c.curCSS(a,"marginTop",true))||0;d.left-=parseFloat(c.curCSS(a,"marginLeft",true))||0;e.top+=parseFloat(c.curCSS(b[0],"borderTopWidth",true))||0;e.left+=parseFloat(c.curCSS(b[0],"borderLeftWidth",true))||0;return{top:d.top-e.top,left:d.left-e.left}},offsetParent:function(){return this.map(function(){for(var a=
this.offsetParent||v.body;a&&!/^body|html$/i.test(a.nodeName)&&c.css(a,"position")==="static";)a=a.offsetParent;return a})}});c.each(["Left","Top"],function(a,b){var d="scroll"+b;c.fn[d]=function(e){var f=this[0],h;if(!f)return null;if(e!==n)return this.each(function(){if(h=ca(this))h.scrollTo(!a?e:c(h).scrollLeft(),a?e:c(h).scrollTop());else this[d]=e});else return(h=ca(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]?c.css(this[0],d,false,"padding"):null};c.fn["outer"+b]=function(e){return this[0]?c.css(this[0],d,false,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(h){var i=c(this);i[d](e.call(this,h,i[d]()))});return"scrollTo"in f&&f.document?f.document.compatMode==="CSS1Compat"&&f.document.documentElement["client"+b]||
f.document.body["client"+b]:f.nodeType===9?Math.max(f.documentElement["client"+b],f.body["scroll"+b],f.documentElement["scroll"+b],f.body["offset"+b],f.documentElement["offset"+b]):e===n?c.css(f,d):this.css(d,typeof e==="string"?e:e+"px")}});o.jQuery=o.$=c})(window);(function(o){function n(F,C){var D=E[F];return D&&D[C]}var u=null,E={};o.translations=function(F){for(var C in F)if(E[C])for(var D in F[C])E[C][D]=F[C][D];else E[C]=F[C]};o.t=function(F,C){if(!u){var D=o("html");u=D.attr("lang")||D.attr("xml:lang")||"en"}var J;D=n(u,F);if(!D&&(J=u.indexOf("-")))D=n(u.substr(0,J),F);if(D){for(var L in C)D=D.replace(RegExp("#{"+L+"}","g"),C[L]);return D}return"#"+F}})(jQuery);(function(o){o.translations({en:{less_than_a_minute_ago:"less than a minute ago",a_minute_ago:"a minute ago",n_minutes_ago:"#{n} minutes ago",one_hour_ago:"1 hour ago",n_hours_ago:"#{n} hours ago",one_day_ago:"1 day ago",n_days_ago:"#{n} days ago",one_month_ago:"1 month ago",n_months_ago:"#{n} months ago",one_year_ago:"1 year ago",over_n_years_ago:"over #{n} years ago"},de:{less_than_a_minute_ago:"vor weniger als einer Minute",a_minute_ago:"vor einer Minute",n_minutes_ago:"vor #{n} Minuten",one_hour_ago:"vor einer Stunde",
n_hours_ago:"vor #{n} Stunden",one_day_ago:"vor einem Tag",n_days_ago:"vor #{n} Tagen",one_month_ago:"vor einem Monat",n_months_ago:"vor #{n} Monaten",one_year_ago:"vor einem Jahr",over_n_years_ago:"vor \u00fcber #{n} Jahren"}});o.fn.dateToggler=function(){function n(u){u=Math.floor(((new Date).getTime()-new Date(u*1E3))/6E4);if(u<=0)return o.t("less_than_a_minute_ago");if(u==1)return o.t("a_minute_ago");if(u<45)return o.t("n_minutes_ago",{n:u});if(u<90)return o.t("one_hour_ago");if(u<1440)return o.t("n_hours_ago",
{n:Math.round(u/60)});if(u<2880)return o.t("one_day_ago");if(u<43200)return o.t("n_days_ago",{n:Math.round(u/1440)});if(u<86400)return o.t("one_month_ago");if(u<525960)return o.t("n_months_ago",{n:Math.round(u/43200)});if(u<1051920)return o.t("one_year_ago");return o.t("over_n_years_ago",{n:Math.round(u/525960)})}this.each(function(){var u=o(this),E=u.text(),F=u.attr("class").match(/epoch-(\d+)/);F&&u.click(function(){u.html(u.text()==E?n(F[1]):E)}).click()})}})(jQuery);jQuery.fn.disableSelection=function(){return this.attr("unselectable","on").css("MozUserSelect","none").bind("selectstart.ui",function(){return false})};(function(o){o.fn.pagination=function(n){n=o(n);this.live("click",function(){o(this).addClass("loading");var u=this.href;n.load(u,function(){n.trigger("pageLoaded",[u])});return false})}})(jQuery);jQuery.fn.placeholder=function(){this.focus(function(){if(this.value==this.defaultValue)this.value=""}).blur(function(){if(this.value=="")this.value=this.defaultValue})};(function(o){o.translations({en:{themes:"Themes",no_theme:"No theme"},de:{themes:"Seitenstile",no_theme:"Kein Seitenstil"}});o.styleswitcher={set:function(n){o("link[rel*=style][title]").each(function(){this.disabled=this.title!=n});jStorage.set("style",n)},toggle:function(){var n=o("link[rel*=style][title]").get(),u;for(u in n)if(!n[u].disabled){u=u+1<n.length?u+1:0;o.styleswitcher.set(n[u].title);break}}};o.fn.styleswitcher=function(){var n=o.t("themes")+': <ul class="styleswitcher"><li><a href="#">'+
o.t("no_theme")+"</a></li>",u;o("link[rel*=style][title]").each(function(){if(this.title!="default")n+='<li><a href="#">'+this.title+"</a></li>"});n+="</ul>";this.html(n);o(".styleswitcher > li > a").click(function(){o.styleswitcher.set(o(this).text());return false});(u=jStorage.get("style"))&&o.styleswitcher.set(u)}})(jQuery);(function(o){o.fn.tabs=function(n){var u=null,E=n&&n.store,F=o("ul:first > li > a[href^='#']",this).each(function(){this.tabName=this.href.match(/(#.*)$/)[1]});o("ul:first > li > a[href^='#']",this).click(function(){F.each(function(){o(this.tabName).hide()});F.parent().removeClass("tabs-selected");o(this).parent().addClass("tabs-selected");o(this.tabName).show();E&&jStorage.set(E,this.tabName);return false});if(E)if(n=jStorage.get(E))u=o("ul:first > li > a[href='"+n+"']",this);if(!u||u.get().length==
0)u=o("ul:first > li.tabs-selected > a[href^='#']",this);u.click()}})(jQuery);(function(o){o.extend(o.fn,{underlineText:function(n){this.each(function(){var u=o(this),E,F;if(u.children().get().length==0){E=u.text();F=E.toLowerCase().indexOf(n.toLowerCase());F>=0&&u.html(E.substr(0,F)+'<span style="text-decoration: underline">'+E.substr(F,n.length)+"</span>"+E.substr(F+n.length))}else u.children().underlineText(n)})},underlineAccessKey:function(){this.each(function(){var n=o(this).attr("accesskey");n&&o(this).underlineText(n)})}})})(jQuery);jQuery.fn.zebra=function(){$("tr:even",this).addClass("even");$("tr:odd",this).addClass("odd")};jQuery.fn.historyTable=function(){this.disableSelection();var o=$("tbody tr",this);o.mousedown(function(n){function u(){draggable&&draggable.remove();$(document).unbind("mouseup.history keypress.history");o.unbind("mouseover.history mousemove.history")}var E=$(this),F=E.offset(),C=null;fromText=$("td:first-child a:first-child",E).text();fromDate=$("td:nth-child(3)",E).text();draggable=null;$(document).bind("mouseup.history",function(){u();if(C){var D=C.attr("id").substr(8),J=E.attr("id").substr(8),
L=location.pathname;if(D!=J){L=L.substr(0,L.length-7);location.href=L+"diff?from="+J+"&to="+D}}return true}).bind("keypress.history",function(){u();return true});o.bind("mousemove.history",function(D){if(Math.abs(n.pageX-D.pageX)+Math.abs(n.pageY-D.pageY)>5){draggable=$('<div class="history-draggable">'+fromText+" ("+fromDate+")</div>").css({width:E.width()-10+"px",height:E.height()-4+"px",padding:"2px 5px",position:"absolute",display:"block",zIndex:1E3,cursor:"move",top:Math.round(F.top)+"px",left:Math.round(F.left)+
"px"}).appendTo("body");o.unbind("mousemove.history")}return true}).bind("mouseover.history",function(){if(draggable){C=$(this);var D=$("td:first-child a:first-child",C).text(),J=$("td:nth-child(3)",C).text(),L=C.offset();draggable.css({top:Math.round(L.top)+"px",left:Math.round(L.left)+"px"}).html(fromText+" ("+fromDate+") → "+D+" ("+J+")")}return true});return false})};
(function(){$("#themes").styleswitcher();$(".tabs").tabs();$("#history-table").historyTable();$(".zebra, #history-table, #tree-table").zebra();$(".date").dateToggler();$("input.placeholder").placeholder();$("label, #menu, .tabs > ul, .pagination").disableSelection();$("#upload-file").change(function(){var o=$("#upload-path"),n,u;if(o.size()==1){n=o.val();u=o.data("oldpath")||"new page";if(n.length==0){o.val(this.value);o.data("oldpath",this.value)}else if(n.match(RegExp("^(.*/)?"+u+"$"))){n=n.replace(RegExp(u+
"$"),"")+this.value;o.val(n);o.data("oldpath",this.value)}}});$("*[accesskey]").underlineAccessKey();$(".pagination a:not(.current)").pagination("#page");$("#page").bind("pageLoaded",function(){$(".zebra, #history-table, #tree-table",this).zebra();$(".date",this).dateToggler()})})();