var swfobject=function(){function e(){if(!L){try{var b=g.getElementsByTagName("body")[0].appendChild(g.createElement("span"));b.parentNode.removeChild(b)}catch(e){return}L=!0;b=O.length;for(var i=0;i<b;i++)O[i]()}}function k(b){L?b():O[O.length]=b}function j(b){if(typeof l.addEventListener!=z)l.addEventListener("load",b,!1);else if(typeof g.addEventListener!=z)g.addEventListener("load",b,!1);else if(typeof l.attachEvent!=z)Z(l,"onload",b);else if(typeof l.onload=="function"){var e=l.onload;l.onload=
function(){e();b()}}else l.onload=b}function D(){var b=g.getElementsByTagName("body")[0],e=g.createElement(B);e.setAttribute("type",F);var i=b.appendChild(e);if(i){var k=0;(function(){if(typeof i.GetVariable!=z){var g=i.GetVariable("$version");if(g)g=g.split(" ")[1].split(","),s.pv=[parseInt(g[0],10),parseInt(g[1],10),parseInt(g[2],10)]}else if(k<10){k++;setTimeout(arguments.callee,10);return}b.removeChild(e);i=null;u()})()}else u()}function u(){var b=p.length;if(b>0)for(var g=0;g<b;g++){var e=p[g].id,
i=p[g].callbackFn,k={success:!1,id:e};if(s.pv[0]>0){var l=G(e);if(l)if(N(p[g].swfVersion)&&!(s.wk&&s.wk<312)){if(M(e,!0),i)k.success=!0,k.ref=C(e),i(k)}else if(p[g].expressInstall&&t()){k={};k.data=p[g].expressInstall;k.width=l.getAttribute("width")||"0";k.height=l.getAttribute("height")||"0";if(l.getAttribute("class"))k.styleclass=l.getAttribute("class");if(l.getAttribute("align"))k.align=l.getAttribute("align");var j={};l=l.getElementsByTagName("param");for(var q=l.length,n=0;n<q;n++)l[n].getAttribute("name").toLowerCase()!=
"movie"&&(j[l[n].getAttribute("name")]=l[n].getAttribute("value"));J(k,j,e,i)}else m(l),i&&i(k)}else if(M(e,!0),i){if((e=C(e))&&typeof e.SetVariable!=z)k.success=!0,k.ref=e;i(k)}}}function C(b){var g=null;if((b=G(b))&&b.nodeName=="OBJECT")typeof b.SetVariable!=z?g=b:(b=b.getElementsByTagName(B)[0])&&(g=b);return g}function t(){return!U&&N("6.0.65")&&(s.win||s.mac)&&!(s.wk&&s.wk<312)}function J(b,e,k,j){U=!0;E=j||null;T={success:!1,id:k};var m=G(k);if(m){m.nodeName=="OBJECT"?(w=v(m),Q=null):(w=m,Q=
k);b.id=i;if(typeof b.width==z||!/%$/.test(b.width)&&parseInt(b.width,10)<310)b.width="310";if(typeof b.height==z||!/%$/.test(b.height)&&parseInt(b.height,10)<137)b.height="137";g.title=g.title.slice(0,47)+" - Flash Player Installation";j=s.ie&&s.win?"ActiveX":"PlugIn";j="MMredirectURL="+l.location.toString().replace(/&/g,"%26")+"&MMplayerType="+j+"&MMdoctitle="+g.title;typeof e.flashvars!=z?e.flashvars+="&"+j:e.flashvars=j;if(s.ie&&s.win&&m.readyState!=4)j=g.createElement("div"),k+="SWFObjectNew",
j.setAttribute("id",k),m.parentNode.insertBefore(j,m),m.style.display="none",function(){m.readyState==4?m.parentNode.removeChild(m):setTimeout(arguments.callee,10)}();A(b,e,k)}}function m(b){if(s.ie&&s.win&&b.readyState!=4){var e=g.createElement("div");b.parentNode.insertBefore(e,b);e.parentNode.replaceChild(v(b),e);b.style.display="none";(function(){b.readyState==4?b.parentNode.removeChild(b):setTimeout(arguments.callee,10)})()}else b.parentNode.replaceChild(v(b),b)}function v(b){var e=g.createElement("div");
if(s.win&&s.ie)e.innerHTML=b.innerHTML;else if(b=b.getElementsByTagName(B)[0])if(b=b.childNodes)for(var i=b.length,k=0;k<i;k++)!(b[k].nodeType==1&&b[k].nodeName=="PARAM")&&b[k].nodeType!=8&&e.appendChild(b[k].cloneNode(!0));return e}function A(b,e,i){var k,l=G(i);if(s.wk&&s.wk<312)return k;if(l){if(typeof b.id==z)b.id=i;if(s.ie&&s.win){var j="",m;for(m in b)if(b[m]!=Object.prototype[m])m.toLowerCase()=="data"?e.movie=b[m]:m.toLowerCase()=="styleclass"?j+=' class="'+b[m]+'"':m.toLowerCase()!="classid"&&
(j+=" "+m+'="'+b[m]+'"');m="";for(var p in e)e[p]!=Object.prototype[p]&&(m+='<param name="'+p+'" value="'+e[p]+'" />');l.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+j+">"+m+"</object>";n[n.length]=b.id;k=G(b.id)}else{p=g.createElement(B);p.setAttribute("type",F);for(var q in b)b[q]!=Object.prototype[q]&&(q.toLowerCase()=="styleclass"?p.setAttribute("class",b[q]):q.toLowerCase()!="classid"&&p.setAttribute(q,b[q]));for(j in e)e[j]!=Object.prototype[j]&&j.toLowerCase()!=
"movie"&&(b=p,m=j,q=e[j],i=g.createElement("param"),i.setAttribute("name",m),i.setAttribute("value",q),b.appendChild(i));l.parentNode.replaceChild(p,l);k=p}}return k}function R(b){var g=G(b);if(g&&g.nodeName=="OBJECT")s.ie&&s.win?(g.style.display="none",function(){if(g.readyState==4){var e=G(b);if(e){for(var i in e)typeof e[i]=="function"&&(e[i]=null);e.parentNode.removeChild(e)}}else setTimeout(arguments.callee,10)}()):g.parentNode.removeChild(g)}function G(b){var e=null;try{e=g.getElementById(b)}catch(i){}return e}
function Z(b,e,g){b.attachEvent(e,g);x[x.length]=[b,e,g]}function N(b){var e=s.pv;b=b.split(".");b[0]=parseInt(b[0],10);b[1]=parseInt(b[1],10)||0;b[2]=parseInt(b[2],10)||0;return e[0]>b[0]||e[0]==b[0]&&e[1]>b[1]||e[0]==b[0]&&e[1]==b[1]&&e[2]>=b[2]?!0:!1}function P(b,e,i,k){if(!s.ie||!s.mac){var j=g.getElementsByTagName("head")[0];if(j){i=i&&typeof i=="string"?i:"screen";k&&(V=H=null);if(!H||V!=i)k=g.createElement("style"),k.setAttribute("type","text/css"),k.setAttribute("media",i),H=j.appendChild(k),
s.ie&&s.win&&typeof g.styleSheets!=z&&g.styleSheets.length>0&&(H=g.styleSheets[g.styleSheets.length-1]),V=i;s.ie&&s.win?H&&typeof H.addRule==B&&H.addRule(b,e):H&&typeof g.createTextNode!=z&&H.appendChild(g.createTextNode(b+" {"+e+"}"))}}}function M(b,e){if(fa){var g=e?"visible":"hidden";L&&G(b)?G(b).style.visibility=g:P("#"+b,"visibility:"+g)}}function S(b){return/[\\\"<>\.;]/.exec(b)!=null&&typeof encodeURIComponent!=z?encodeURIComponent(b):b}var z="undefined",B="object",F="application/x-shockwave-flash",
i="SWFObjectExprInst",l=window,g=document,b=navigator,q=!1,O=[function(){q?D():u()}],p=[],n=[],x=[],w,Q,E,T,L=!1,U=!1,H,V,fa=!0,s=function(){var e=typeof g.getElementById!=z&&typeof g.getElementsByTagName!=z&&typeof g.createElement!=z,i=b.userAgent.toLowerCase(),k=b.platform.toLowerCase(),j=k?/win/.test(k):/win/.test(i);k=k?/mac/.test(k):/mac/.test(i);i=/webkit/.test(i)?parseFloat(i.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):!1;var m=!1,p=[0,0,0],n=null;if(typeof b.plugins!=z&&typeof b.plugins["Shockwave Flash"]==
B){if((n=b.plugins["Shockwave Flash"].description)&&!(typeof b.mimeTypes!=z&&b.mimeTypes[F]&&!b.mimeTypes[F].enabledPlugin))q=!0,m=!1,n=n.replace(/^.*\s+(\S+\s+\S+$)/,"$1"),p[0]=parseInt(n.replace(/^(.*)\..*$/,"$1"),10),p[1]=parseInt(n.replace(/^.*\.(.*)\s.*$/,"$1"),10),p[2]=/[a-zA-Z]/.test(n)?parseInt(n.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),10):0}else if(typeof l.ActiveXObject!=z)try{var v=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");if(v&&(n=v.GetVariable("$version")))m=!0,n=n.split(" ")[1].split(","),
p=[parseInt(n[0],10),parseInt(n[1],10),parseInt(n[2],10)]}catch(s){}return{w3:e,pv:p,wk:i,ie:m,win:j,mac:k}}();(function(){s.w3&&((typeof g.readyState!=z&&g.readyState=="complete"||typeof g.readyState==z&&(g.getElementsByTagName("body")[0]||g.body))&&e(),L||(typeof g.addEventListener!=z&&g.addEventListener("DOMContentLoaded",e,!1),s.ie&&s.win&&(g.attachEvent("onreadystatechange",function(){g.readyState=="complete"&&(g.detachEvent("onreadystatechange",arguments.callee),e())}),l==top&&function(){if(!L){try{g.documentElement.doScroll("left")}catch(b){setTimeout(arguments.callee,
0);return}e()}}()),s.wk&&function(){L||(/loaded|complete/.test(g.readyState)?e():setTimeout(arguments.callee,0))}(),j(e)))})();(function(){s.ie&&s.win&&window.attachEvent("onunload",function(){for(var b=x.length,e=0;e<b;e++)x[e][0].detachEvent(x[e][1],x[e][2]);b=n.length;for(e=0;e<b;e++)R(n[e]);for(var g in s)s[g]=null;s=null;for(var i in swfobject)swfobject[i]=null;swfobject=null})})();return{registerObject:function(b,e,g,i){if(s.w3&&b&&e){var k={};k.id=b;k.swfVersion=e;k.expressInstall=g;k.callbackFn=
i;p[p.length]=k;M(b,!1)}else i&&i({success:!1,id:b})},getObjectById:function(b){if(s.w3)return C(b)},embedSWF:function(b,e,g,i,j,l,m,p,n,q){var v={success:!1,id:e};s.w3&&!(s.wk&&s.wk<312)&&b&&e&&g&&i&&j?(M(e,!1),k(function(){g+="";i+="";var k={};if(n&&typeof n===B)for(var s in n)k[s]=n[s];k.data=b;k.width=g;k.height=i;s={};if(p&&typeof p===B)for(var x in p)s[x]=p[x];if(m&&typeof m===B)for(var w in m)typeof s.flashvars!=z?s.flashvars+="&"+w+"="+m[w]:s.flashvars=w+"="+m[w];if(N(j))x=A(k,s,e),k.id==
e&&M(e,!0),v.success=!0,v.ref=x;else if(l&&t()){k.data=l;J(k,s,e,q);return}else M(e,!0);q&&q(v)})):q&&q(v)},switchOffAutoHideShow:function(){fa=!1},ua:s,getFlashPlayerVersion:function(){return{major:s.pv[0],minor:s.pv[1],release:s.pv[2]}},hasFlashPlayerVersion:N,createSWF:function(b,e,g){if(s.w3)return A(b,e,g)},showExpressInstall:function(b,e,g,i){s.w3&&t()&&J(b,e,g,i)},removeSWF:function(b){s.w3&&R(b)},createCSS:function(b,e,g,i){s.w3&&P(b,e,g,i)},addDomLoadEvent:k,addLoadEvent:j,getQueryParamValue:function(b){var e=
g.location.search||g.location.hash;if(e){/\?/.test(e)&&(e=e.split("?")[1]);if(b==null)return S(e);e=e.split("&");for(var i=0;i<e.length;i++)if(e[i].substring(0,e[i].indexOf("="))==b)return S(e[i].substring(e[i].indexOf("=")+1))}return""},expressInstallCallback:function(){if(U){var b=G(i);if(b&&w){b.parentNode.replaceChild(w,b);if(Q&&(M(Q,!0),s.ie&&s.win))w.style.display="block";E&&E(T)}U=!1}}}}();
(function(e,k){function j(a,c,d){if(d===k&&a.nodeType===1)if(d=a.getAttribute("data-"+c),typeof d==="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:!b.isNaN(d)?parseFloat(d):p.test(d)?b.parseJSON(d):d}catch(f){}b.data(a,c,d)}else d=k;return d}function D(a){for(var b in a)if(b!=="toJSON")return!1;return!0}function u(){return!1}function C(){return!0}function t(a,c,d){var f=b.extend({},d[0]);f.type=a;f.originalEvent={};f.liveFired=k;b.event.handle.call(c,f);f.isDefaultPrevented()&&d[0].preventDefault()}
function J(a){var c,d,f,h,r,e,g,i,o,k,j,m=[];h=[];r=b._data(this,"events");if(!(a.liveFired===this||!r||!r.live||a.target.disabled||a.button&&a.type==="click")){a.namespace&&(j=RegExp("(^|\\.)"+a.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)"));a.liveFired=this;var l=r.live.slice(0);for(g=0;g<l.length;g++)r=l[g],r.origType.replace(H,"")===a.type?h.push(r.selector):l.splice(g--,1);h=b(a.target).closest(h,a.currentTarget);i=0;for(o=h.length;i<o;i++){k=h[i];for(g=0;g<l.length;g++)if(r=l[g],k.selector===
r.selector&&(!j||j.test(r.namespace))&&!k.elem.disabled){e=k.elem;f=null;if(r.preType==="mouseenter"||r.preType==="mouseleave")a.type=r.preType,f=b(a.relatedTarget).closest(r.selector)[0];(!f||f!==e)&&m.push({elem:e,handleObj:r,level:k.level})}}i=0;for(o=m.length;i<o;i++){h=m[i];if(d&&h.level>d)break;a.currentTarget=h.elem;a.data=h.handleObj.data;a.handleObj=h.handleObj;j=h.handleObj.origHandler.apply(h.elem,arguments);if(j===!1||a.isPropagationStopped())if(d=h.level,j===!1&&(c=!1),a.isImmediatePropagationStopped())break}return c}}
function m(a,b){return(a&&a!=="*"?a+".":"")+b.replace(fa,"`").replace(s,"&")}function v(a,c,d){if(b.isFunction(c))return b.grep(a,function(a,b){return!!c.call(a,b,a)===d});else if(c.nodeType)return b.grep(a,function(a){return a===c===d});else if(typeof c==="string"){var f=b.grep(a,function(a){return a.nodeType===1});if(Pa.test(c))return b.filter(c,f,!d);else c=b.filter(c,f)}return b.grep(a,function(a){return b.inArray(a,c)>=0===d})}function A(a,c){if(c.nodeType===1&&b.hasData(a)){var d=b.expando,
f=b.data(a),h=b.data(c,f);if(f=f[d]){var r=f.events;h=h[d]=b.extend({},f);if(r)for(var e in delete h.handle,h.events={},r){d=0;for(f=r[e].length;d<f;d++)b.event.add(c,e+(r[e][d].namespace?".":"")+r[e][d].namespace,r[e][d],r[e][d].data)}}}}function R(a,c){if(c.nodeType===1){var d=c.nodeName.toLowerCase();c.clearAttributes();c.mergeAttributes(a);if(d==="object")c.outerHTML=a.outerHTML;else if(d==="input"&&(a.type==="checkbox"||a.type==="radio")){if(a.checked)c.defaultChecked=c.checked=a.checked;if(c.value!==
a.value)c.value=a.value}else if(d==="option")c.selected=a.defaultSelected;else if(d==="input"||d==="textarea")c.defaultValue=a.defaultValue;c.removeAttribute(b.expando)}}function G(a){return"getElementsByTagName"in a?a.getElementsByTagName("*"):"querySelectorAll"in a?a.querySelectorAll("*"):[]}function Z(a,c){c.src?b.ajax({url:c.src,async:!1,dataType:"script"}):b.globalEval(c.text||c.textContent||c.innerHTML||"");c.parentNode&&c.parentNode.removeChild(c)}function N(a,c,d){var f=c==="width"?a.offsetWidth:
a.offsetHeight;if(d==="border")return f;b.each(c==="width"?Ua:Va,function(){d||(f-=parseFloat(b.css(a,"padding"+this))||0);d==="margin"?f+=parseFloat(b.css(a,"margin"+this))||0:f-=parseFloat(b.css(a,"border"+this+"Width"))||0});return f}function P(a){return function(c,d){typeof c!=="string"&&(d=c,c="*");if(b.isFunction(d))for(var f=c.toLowerCase().split(va),h=0,r=f.length,e,g;h<r;h++)e=f[h],(g=/^\+/.test(e))&&(e=e.substr(1)||"*"),e=a[e]=a[e]||[],e[g?"unshift":"push"](d)}}function M(a,b,d,f,h,r){h=
h||b.dataTypes[0];r=r||{};r[h]=!0;h=a[h];for(var e=0,g=h?h.length:0,i=a===ka,o;e<g&&(i||!o);e++)o=h[e](b,d,f),typeof o==="string"&&(!i||r[o]?o=k:(b.dataTypes.unshift(o),o=M(a,b,d,f,o,r)));if((i||!o)&&!r["*"])o=M(a,b,d,f,"*",r);return o}function S(a,c,d,f){if(b.isArray(c)&&c.length)b.each(c,function(c,h){d||Wa.test(a)?f(a,h):S(a+"["+(typeof h==="object"||b.isArray(h)?c:"")+"]",h,d,f)});else if(!d&&c!=null&&typeof c==="object")if(b.isArray(c)||b.isEmptyObject(c))f(a,"");else for(var h in c)S(a+"["+
h+"]",c[h],d,f);else f(a,c)}function z(){b(e).unload(function(){for(var a in aa)aa[a](0,1)})}function B(){try{return new e.XMLHttpRequest}catch(a){}}function F(a,c){var d={};b.each(wa.concat.apply([],wa.slice(0,c)),function(){d[this]=a});return d}function i(a){if(!la[a]){var c=b("<"+a+">").appendTo("body"),d=c.css("display");c.remove();if(d==="none"||d==="")d="block";la[a]=d}return la[a]}function l(a){return b.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}var g=e.document,b=function(){function a(){if(!b.isReady){try{g.documentElement.doScroll("left")}catch(d){setTimeout(a,
1);return}b.ready()}}var b=function(a,d){return new b.fn.init(a,d,h)},d=e.jQuery,f=e.$,h,r=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]+)$)/,I=/\S/,i=/^\s+/,ua=/\s+$/,o=/\d/,j=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,m=/^[\],:{}\s]*$/,l=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,p=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,n=/(?:^|:|,)(?:\s*\[)+/g,q=/(webkit)[ \/]([\w.]+)/,s=/(opera)(?:.*version)?[ \/]([\w.]+)/,v=/(msie) ([\w.]+)/,x=/(mozilla)(?:.*? rv:([\w.]+))?/,y=navigator.userAgent,ga,ba,Xa=Object.prototype.toString,
ma=Object.prototype.hasOwnProperty,na=Array.prototype.push,oa=Array.prototype.slice,xa=String.prototype.trim,w=Array.prototype.indexOf,u={};b.fn=b.prototype={constructor:b,init:function(a,d,f){var h;if(!a)return this;if(a.nodeType)return this.context=this[0]=a,this.length=1,this;if(a==="body"&&!d&&g.body)return this.context=g,this[0]=g.body,this.selector="body",this.length=1,this;if(typeof a==="string")if((h=r.exec(a))&&(h[1]||!d))if(h[1])return f=(d=d instanceof b?d[0]:d)?d.ownerDocument||d:g,(a=
j.exec(a))?b.isPlainObject(d)?(a=[g.createElement(a[1])],b.fn.attr.call(a,d,!0)):a=[f.createElement(a[1])]:(a=b.buildFragment([h[1]],[f]),a=(a.cacheable?b.clone(a.fragment):a.fragment).childNodes),b.merge(this,a);else{if((d=g.getElementById(h[2]))&&d.parentNode){if(d.id!==h[2])return f.find(a);this.length=1;this[0]=d}this.context=g;this.selector=a;return this}else return!d||d.jquery?(d||f).find(a):this.constructor(d).find(a);else if(b.isFunction(a))return f.ready(a);if(a.selector!==k)this.selector=
a.selector,this.context=a.context;return b.makeArray(a,this)},selector:"",jquery:"1.5.2",length:0,size:function(){return this.length},toArray:function(){return oa.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,d,f){var h=this.constructor();b.isArray(a)?na.apply(h,a):b.merge(h,a);h.prevObject=this;h.context=this.context;if(d==="find")h.selector=this.selector+(this.selector?" ":"")+f;else if(d)h.selector=this.selector+"."+d+"("+f+")";
return h},each:function(a,d){return b.each(this,a,d)},ready:function(a){b.bindReady();ga.done(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(oa.apply(this,arguments),"slice",oa.call(arguments).join(","))},map:function(a){return this.pushStack(b.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:na,
sort:[].sort,splice:[].splice};b.fn.init.prototype=b.fn;b.extend=b.fn.extend=function(){var a,d,f,h,y,r=arguments[0]||{},e=1,g=arguments.length,I=!1;typeof r==="boolean"&&(I=r,r=arguments[1]||{},e=2);typeof r!=="object"&&!b.isFunction(r)&&(r={});g===e&&(r=this,--e);for(;e<g;e++)if((a=arguments[e])!=null)for(d in a)f=r[d],h=a[d],r!==h&&(I&&h&&(b.isPlainObject(h)||(y=b.isArray(h)))?(y?(y=!1,f=f&&b.isArray(f)?f:[]):f=f&&b.isPlainObject(f)?f:{},r[d]=b.extend(I,f,h)):h!==k&&(r[d]=h));return r};b.extend({noConflict:function(a){e.$=
f;if(a)e.jQuery=d;return b},isReady:!1,readyWait:1,ready:function(a){a===!0&&b.readyWait--;if(!b.readyWait||a!==!0&&!b.isReady){if(!g.body)return setTimeout(b.ready,1);b.isReady=!0;a!==!0&&--b.readyWait>0||(ga.resolveWith(g,[b]),b.fn.trigger&&b(g).trigger("ready").unbind("ready"))}},bindReady:function(){if(!ga){ga=b._Deferred();if(g.readyState==="complete")return setTimeout(b.ready,1);if(g.addEventListener)g.addEventListener("DOMContentLoaded",ba,!1),e.addEventListener("load",b.ready,!1);else if(g.attachEvent){g.attachEvent("onreadystatechange",
ba);e.attachEvent("onload",b.ready);var d=!1;try{d=e.frameElement==null}catch(f){}g.documentElement.doScroll&&d&&a()}}},isFunction:function(a){return b.type(a)==="function"},isArray:Array.isArray||function(a){return b.type(a)==="array"},isWindow:function(a){return a&&typeof a==="object"&&"setInterval"in a},isNaN:function(a){return a==null||!o.test(a)||isNaN(a)},type:function(a){return a==null?String(a):u[Xa.call(a)]||"object"},isPlainObject:function(a){if(!a||b.type(a)!=="object"||a.nodeType||b.isWindow(a))return!1;
if(a.constructor&&!ma.call(a,"constructor")&&!ma.call(a.constructor.prototype,"isPrototypeOf"))return!1;for(var d in a);return d===k||ma.call(a,d)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw a;},parseJSON:function(a){if(typeof a!=="string"||!a)return null;a=b.trim(a);if(m.test(a.replace(l,"@").replace(p,"]").replace(n,"")))return e.JSON&&e.JSON.parse?e.JSON.parse(a):(new Function("return "+a))();else b.error("Invalid JSON: "+a)},parseXML:function(a,d,f){e.DOMParser?
(f=new DOMParser,d=f.parseFromString(a,"text/xml")):(d=new ActiveXObject("Microsoft.XMLDOM"),d.async="false",d.loadXML(a));f=d.documentElement;(!f||!f.nodeName||f.nodeName==="parsererror")&&b.error("Invalid XML: "+a);return d},noop:function(){},globalEval:function(a){if(a&&I.test(a)){var d=g.head||g.getElementsByTagName("head")[0]||g.documentElement,f=g.createElement("script");b.support.scriptEval()?f.appendChild(g.createTextNode(a)):f.text=a;d.insertBefore(f,d.firstChild);d.removeChild(f)}},nodeName:function(a,
b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,d,f){var h,y=0,r=a.length,e=r===k||b.isFunction(a);if(f)if(e)for(h in a){if(d.apply(a[h],f)===!1)break}else for(;y<r;){if(d.apply(a[y++],f)===!1)break}else if(e)for(h in a){if(d.call(a[h],h,a[h])===!1)break}else for(f=a[0];y<r&&d.call(f,y,f)!==!1;f=a[++y]);return a},trim:xa?function(a){return a==null?"":xa.call(a)}:function(a){return a==null?"":a.toString().replace(i,"").replace(ua,"")},makeArray:function(a,d){var f=
d||[];if(a!=null){var h=b.type(a);a.length==null||h==="string"||h==="function"||h==="regexp"||b.isWindow(a)?na.call(f,a):b.merge(f,a)}return f},inArray:function(a,b){if(b.indexOf)return b.indexOf(a);for(var c=0,d=b.length;c<d;c++)if(b[c]===a)return c;return-1},merge:function(a,b){var c=a.length,d=0;if(typeof b.length==="number")for(var f=b.length;d<f;d++)a[c++]=b[d];else for(;b[d]!==k;)a[c++]=b[d++];a.length=c;return a},grep:function(a,b,c){var d=[],f;c=!!c;for(var h=0,y=a.length;h<y;h++)f=!!b(a[h],
h),c!==f&&d.push(a[h]);return d},map:function(a,b,c){for(var d=[],f,h=0,y=a.length;h<y;h++)f=b(a[h],h,c),f!=null&&(d[d.length]=f);return d.concat.apply([],d)},guid:1,proxy:function(a,d,f){arguments.length===2&&(typeof d==="string"?(f=a,a=f[d],d=k):d&&!b.isFunction(d)&&(f=d,d=k));!d&&a&&(d=function(){return a.apply(f||this,arguments)});if(a)d.guid=a.guid=a.guid||d.guid||b.guid++;return d},access:function(a,d,f,h,y,r){var e=a.length;if(typeof d==="object"){for(var g in d)b.access(a,g,d[g],h,y,f);return a}if(f!==
k){h=!r&&h&&b.isFunction(f);for(g=0;g<e;g++)y(a[g],d,h?f.call(a[g],g,y(a[g],d)):f,r);return a}return e?y(a[0],d):k},now:function(){return(new Date).getTime()},uaMatch:function(a){a=a.toLowerCase();a=q.exec(a)||s.exec(a)||v.exec(a)||a.indexOf("compatible")<0&&x.exec(a)||[];return{browser:a[1]||"",version:a[2]||"0"}},sub:function(){function a(b,c){return new a.fn.init(b,c)}b.extend(!0,a,this);a.superclass=this;a.fn=a.prototype=this();a.fn.constructor=a;a.subclass=this.subclass;a.fn.init=function(f,
h){h&&h instanceof b&&!(h instanceof a)&&(h=a(h));return b.fn.init.call(this,f,h,d)};a.fn.init.prototype=a.fn;var d=a(g);return a},browser:{}});b.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(a,b){u["[object "+b+"]"]=b.toLowerCase()});y=b.uaMatch(y);if(y.browser)b.browser[y.browser]=!0,b.browser.version=y.version;if(b.browser.webkit)b.browser.safari=!0;if(w)b.inArray=function(a,b){return w.call(b,a)};I.test("\u00a0")&&(i=/^[\s\xA0]+/,ua=/[\s\xA0]+$/);h=b(g);g.addEventListener?
ba=function(){g.removeEventListener("DOMContentLoaded",ba,!1);b.ready()}:g.attachEvent&&(ba=function(){g.readyState==="complete"&&(g.detachEvent("onreadystatechange",ba),b.ready())});return b}(),q="then done fail isResolved isRejected promise".split(" "),O=[].slice;b.extend({_Deferred:function(){var a=[],c,d,f,h={done:function(){if(!f){var d=arguments,e,g,i,o,k;c&&(k=c,c=0);e=0;for(g=d.length;e<g;e++)i=d[e],o=b.type(i),o==="array"?h.done.apply(h,i):o==="function"&&a.push(i);k&&h.resolveWith(k[0],
k[1])}return this},resolveWith:function(b,h){if(!f&&!c&&!d){h=h||[];d=1;try{for(;a[0];)a.shift().apply(b,h)}finally{c=[b,h],d=0}}return this},resolve:function(){h.resolveWith(this,arguments);return this},isResolved:function(){return!(!d&&!c)},cancel:function(){f=1;a=[];return this}};return h},Deferred:function(a){var c=b._Deferred(),d=b._Deferred(),f;b.extend(c,{then:function(a,b){c.done(a).fail(b);return this},fail:d.done,rejectWith:d.resolveWith,reject:d.resolve,isRejected:d.isResolved,promise:function(a){if(a==
null){if(f)return f;f=a={}}for(var b=q.length;b--;)a[q[b]]=c[q[b]];return a}});c.done(d.cancel).fail(c.cancel);delete c.cancel;a&&a.call(c,c);return c},when:function(a){function c(a){return function(b){d[a]=arguments.length>1?O.call(arguments,0):b;--r||e.resolveWith(e,O.call(d,0))}}var d=arguments,f=0,h=d.length,r=h,e=h<=1&&a&&b.isFunction(a.promise)?a:b.Deferred();if(h>1){for(;f<h;f++)d[f]&&b.isFunction(d[f].promise)?d[f].promise().then(c(f),e.reject):--r;r||e.resolveWith(e,d)}else e!==a&&e.resolveWith(e,
h?[a]:[]);return e.promise()}});(function(){b.support={};var a=g.createElement("div");a.style.display="none";a.innerHTML="   <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";var c=a.getElementsByTagName("*"),d=a.getElementsByTagName("a")[0],f=g.createElement("select"),h=f.appendChild(g.createElement("option")),r=a.getElementsByTagName("input")[0];if(c&&c.length&&d){b.support={leadingWhitespace:a.firstChild.nodeType===3,tbody:!a.getElementsByTagName("tbody").length,
htmlSerialize:!!a.getElementsByTagName("link").length,style:/red/.test(d.getAttribute("style")),hrefNormalized:d.getAttribute("href")==="/a",opacity:/^0.55$/.test(d.style.opacity),cssFloat:!!d.style.cssFloat,checkOn:r.value==="on",optSelected:h.selected,deleteExpando:!0,optDisabled:!1,checkClone:!1,noCloneEvent:!0,noCloneChecked:!0,boxModel:null,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableHiddenOffsets:!0,reliableMarginRight:!0};r.checked=!0;b.support.noCloneChecked=r.cloneNode(!0).checked;
f.disabled=!0;b.support.optDisabled=!h.disabled;var I=null;b.support.scriptEval=function(){if(I===null){var a=g.documentElement,c=g.createElement("script"),d="script"+b.now();try{c.appendChild(g.createTextNode("window."+d+"=1;"))}catch(f){}a.insertBefore(c,a.firstChild);e[d]?(I=!0,delete e[d]):I=!1;a.removeChild(c)}return I};try{delete a.test}catch(i){b.support.deleteExpando=!1}!a.addEventListener&&a.attachEvent&&a.fireEvent&&(a.attachEvent("onclick",function o(){b.support.noCloneEvent=!1;a.detachEvent("onclick",
o)}),a.cloneNode(!0).fireEvent("onclick"));a=g.createElement("div");a.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";c=g.createDocumentFragment();c.appendChild(a.firstChild);b.support.checkClone=c.cloneNode(!0).cloneNode(!0).lastChild.checked;b(function(){var a=g.createElement("div"),c=g.getElementsByTagName("body")[0];if(c){a.style.width=a.style.paddingLeft="1px";c.appendChild(a);b.boxModel=b.support.boxModel=a.offsetWidth===2;if("zoom"in a.style)a.style.display="inline",a.style.zoom=
1,b.support.inlineBlockNeedsLayout=a.offsetWidth===2,a.style.display="",a.innerHTML="<div style='width:4px;'></div>",b.support.shrinkWrapBlocks=a.offsetWidth!==2;a.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>";var d=a.getElementsByTagName("td");b.support.reliableHiddenOffsets=d[0].offsetHeight===0;d[0].style.display="";d[1].style.display="none";b.support.reliableHiddenOffsets=b.support.reliableHiddenOffsets&&d[0].offsetHeight===0;a.innerHTML="";if(g.defaultView&&
g.defaultView.getComputedStyle)a.style.width="1px",a.style.marginRight="0",b.support.reliableMarginRight=(parseInt(g.defaultView.getComputedStyle(a,null).marginRight,10)||0)===0;c.removeChild(a).style.display="none"}});c=function(a){var b=g.createElement("div");a="on"+a;if(!b.attachEvent)return!0;var c=a in b;c||(b.setAttribute(a,"return;"),c=typeof b[a]==="function");return c};b.support.submitBubbles=c("submit");b.support.changeBubbles=c("change");a=c=d=null}})();var p=/^(?:\{.*\}|\[.*\])$/;b.extend({cache:{},
uuid:0,expando:"jQuery"+(b.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?b.cache[a[b.expando]]:a[b.expando];return!!a&&!D(a)},data:function(a,c,d,f){if(b.acceptData(a)){var h=b.expando,e=typeof c==="string",g=a.nodeType,i=g?b.cache:a,j=g?a[b.expando]:a[b.expando]&&b.expando;if(j&&(!f||!j||i[j][h])||!(e&&d===k)){if(!j)g?a[b.expando]=j=++b.uuid:j=b.expando;if(!i[j]&&(i[j]={},!g))i[j].toJSON=
b.noop;if(typeof c==="object"||typeof c==="function")f?i[j][h]=b.extend(i[j][h],c):i[j]=b.extend(i[j],c);a=i[j];f&&(a[h]||(a[h]={}),a=a[h]);d!==k&&(a[c]=d);if(c==="events"&&!a[c])return a[h]&&a[h].events;return e?a[c]:a}}},removeData:function(a,c,d){if(b.acceptData(a)){var f=b.expando,h=a.nodeType,r=h?b.cache:a,g=h?a[b.expando]:b.expando;if(r[g]){if(c){var i=d?r[g][f]:r[g];if(i&&(delete i[c],!D(i)))return}if(d&&(delete r[g][f],!D(r[g])))return;c=r[g][f];b.support.deleteExpando||r!=e?delete r[g]:r[g]=
null;if(c){r[g]={};if(!h)r[g].toJSON=b.noop;r[g][f]=c}else h&&(b.support.deleteExpando?delete a[b.expando]:a.removeAttribute?a.removeAttribute(b.expando):a[b.expando]=null)}}},_data:function(a,c,d){return b.data(a,c,d,!0)},acceptData:function(a){if(a.nodeName){var c=b.noData[a.nodeName.toLowerCase()];if(c)return!(c===!0||a.getAttribute("classid")!==c)}return!0}});b.fn.extend({data:function(a,c){var d=null;if(typeof a==="undefined"){if(this.length&&(d=b.data(this[0]),this[0].nodeType===1))for(var f=
this[0].attributes,h,e=0,g=f.length;e<g;e++)h=f[e].name,h.indexOf("data-")===0&&(h=h.substr(5),j(this[0],h,d[h]));return d}else if(typeof a==="object")return this.each(function(){b.data(this,a)});var i=a.split(".");i[1]=i[1]?"."+i[1]:"";return c===k?(d=this.triggerHandler("getData"+i[1]+"!",[i[0]]),d===k&&this.length&&(d=b.data(this[0],a),d=j(this[0],a,d)),d===k&&i[1]?this.data(i[0]):d):this.each(function(){var d=b(this),f=[i[0],c];d.triggerHandler("setData"+i[1]+"!",f);b.data(this,a,c);d.triggerHandler("changeData"+
i[1]+"!",f)})},removeData:function(a){return this.each(function(){b.removeData(this,a)})}});b.extend({queue:function(a,c,d){if(a){c=(c||"fx")+"queue";var f=b._data(a,c);if(!d)return f||[];!f||b.isArray(d)?f=b._data(a,c,b.makeArray(d)):f.push(d);return f}},dequeue:function(a,c){c=c||"fx";var d=b.queue(a,c),f=d.shift();f==="inprogress"&&(f=d.shift());f&&(c==="fx"&&d.unshift("inprogress"),f.call(a,function(){b.dequeue(a,c)}));d.length||b.removeData(a,c+"queue",!0)}});b.fn.extend({queue:function(a,c){typeof a!==
"string"&&(c=a,a="fx");if(c===k)return b.queue(this[0],a);return this.each(function(){var d=b.queue(this,a,c);a==="fx"&&d[0]!=="inprogress"&&b.dequeue(this,a)})},dequeue:function(a){return this.each(function(){b.dequeue(this,a)})},delay:function(a,c){a=b.fx?b.fx.speeds[a]||a:a;c=c||"fx";return this.queue(c,function(){var d=this;setTimeout(function(){b.dequeue(d,c)},a)})},clearQueue:function(a){return this.queue(a||"fx",[])}});var n=/[\n\t\r]/g,x=/\s+/,w=/\r/g,Q=/^(?:href|src|style)$/,E=/^(?:button|input)$/i,
T=/^(?:button|input|object|select|textarea)$/i,L=/^a(?:rea)?$/i,U=/^(?:radio|checkbox)$/i;b.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};b.fn.extend({attr:function(a,c){return b.access(this,a,c,!0,b.attr)},removeAttr:function(a){return this.each(function(){b.attr(this,a,"");this.nodeType===1&&this.removeAttribute(a)})},addClass:function(a){if(b.isFunction(a))return this.each(function(c){var d=
b(this);d.addClass(a.call(this,c,d.attr("class")))});if(a&&typeof a==="string")for(var c=(a||"").split(x),d=0,f=this.length;d<f;d++){var h=this[d];if(h.nodeType===1)if(h.className){for(var e=" "+h.className+" ",g=h.className,i=0,k=c.length;i<k;i++)e.indexOf(" "+c[i]+" ")<0&&(g+=" "+c[i]);h.className=b.trim(g)}else h.className=a}return this},removeClass:function(a){if(b.isFunction(a))return this.each(function(c){var d=b(this);d.removeClass(a.call(this,c,d.attr("class")))});if(a&&typeof a==="string"||
a===k)for(var c=(a||"").split(x),d=0,f=this.length;d<f;d++){var h=this[d];if(h.nodeType===1&&h.className)if(a){for(var e=(" "+h.className+" ").replace(n," "),g=0,i=c.length;g<i;g++)e=e.replace(" "+c[g]+" "," ");h.className=b.trim(e)}else h.className=""}return this},toggleClass:function(a,c){var d=typeof a,f=typeof c==="boolean";if(b.isFunction(a))return this.each(function(d){var f=b(this);f.toggleClass(a.call(this,d,f.attr("class"),c),c)});return this.each(function(){if(d==="string")for(var h,e=0,
g=b(this),i=c,k=a.split(x);h=k[e++];)i=f?i:!g.hasClass(h),g[i?"addClass":"removeClass"](h);else if(d==="undefined"||d==="boolean")this.className&&b._data(this,"__className__",this.className),this.className=this.className||a===!1?"":b._data(this,"__className__")||""})},hasClass:function(a){a=" "+a+" ";for(var b=0,d=this.length;b<d;b++)if((" "+this[b].className+" ").replace(n," ").indexOf(a)>-1)return!0;return!1},val:function(a){if(!arguments.length){var c=this[0];if(c){if(b.nodeName(c,"option")){var d=
c.attributes.value;return!d||d.specified?c.value:c.text}if(b.nodeName(c,"select")){d=c.selectedIndex;var f=[],h=c.options;c=c.type==="select-one";if(d<0)return null;for(var e=c?d:0,g=c?d+1:h.length;e<g;e++){var i=h[e];if(i.selected&&(b.support.optDisabled?!i.disabled:i.getAttribute("disabled")===null)&&(!i.parentNode.disabled||!b.nodeName(i.parentNode,"optgroup"))){a=b(i).val();if(c)return a;f.push(a)}}if(c&&!f.length&&h.length)return b(h[d]).val();return f}if(U.test(c.type)&&!b.support.checkOn)return c.getAttribute("value")===
null?"on":c.value;return(c.value||"").replace(w,"")}return k}var j=b.isFunction(a);return this.each(function(c){var d=b(this),f=a;if(this.nodeType===1)if(j&&(f=a.call(this,c,d.val())),f==null?f="":typeof f==="number"?f+="":b.isArray(f)&&(f=b.map(f,function(a){return a==null?"":a+""})),b.isArray(f)&&U.test(this.type))this.checked=b.inArray(d.val(),f)>=0;else if(b.nodeName(this,"select")){var h=b.makeArray(f);b("option",this).each(function(){this.selected=b.inArray(b(this).val(),h)>=0});if(!h.length)this.selectedIndex=
-1}else this.value=f})}});b.extend({attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(a,c,d,f){if(!a||a.nodeType===3||a.nodeType===8||a.nodeType===2)return k;if(f&&c in b.attrFn)return b(a)[c](d);f=a.nodeType!==1||!b.isXMLDoc(a);var h=d!==k;c=f&&b.props[c]||c;if(a.nodeType===1){var e=Q.test(c);if((c in a||a[c]!==k)&&f&&!e){h&&(c==="type"&&E.test(a.nodeName)&&a.parentNode&&b.error("type property can't be changed"),d===null?a.nodeType===1&&a.removeAttribute(c):
a[c]=d);if(b.nodeName(a,"form")&&a.getAttributeNode(c))return a.getAttributeNode(c).nodeValue;if(c==="tabIndex")return(c=a.getAttributeNode("tabIndex"))&&c.specified?c.value:T.test(a.nodeName)||L.test(a.nodeName)&&a.href?0:k;return a[c]}if(!b.support.style&&f&&c==="style"){if(h)a.style.cssText=""+d;return a.style.cssText}h&&a.setAttribute(c,""+d);if(!a.attributes[c]&&a.hasAttribute&&!a.hasAttribute(c))return k;a=!b.support.hrefNormalized&&f&&e?a.getAttribute(c,2):a.getAttribute(c);return a===null?
k:a}h&&(a[c]=d);return a[c]}});var H=/\.(.*)$/,V=/^(?:textarea|input|select)$/i,fa=/\./g,s=/ /g,Ka=/[^\w\s.|`]/g,La=function(a){return a.replace(Ka,"\\$&")};b.event={add:function(a,c,d,f){if(!(a.nodeType===3||a.nodeType===8)){try{b.isWindow(a)&&a!==e&&!a.frameElement&&(a=e)}catch(h){}if(d===!1)d=u;else if(!d)return;var g,i;if(d.handler)g=d,d=g.handler;if(!d.guid)d.guid=b.guid++;if(i=b._data(a)){var j=i.events,m=i.handle;if(!j)i.events=j={};if(!m)i.handle=m=function(a){return typeof b!=="undefined"&&
b.event.triggered!==a.type?b.event.handle.apply(m.elem,arguments):k};m.elem=a;c=c.split(" ");for(var o,l=0,p;o=c[l++];){i=g?b.extend({},g):{handler:d,data:f};o.indexOf(".")>-1?(p=o.split("."),o=p.shift(),i.namespace=p.slice(0).sort().join(".")):(p=[],i.namespace="");i.type=o;if(!i.guid)i.guid=d.guid;var n=j[o],q=b.event.special[o]||{};if(!n&&(n=j[o]=[],!q.setup||q.setup.call(a,f,p,m)===!1))a.addEventListener?a.addEventListener(o,m,!1):a.attachEvent&&a.attachEvent("on"+o,m);if(q.add&&(q.add.call(a,
i),!i.handler.guid))i.handler.guid=d.guid;n.push(i);b.event.global[o]=!0}a=null}}},global:{},remove:function(a,c,d,f){if(!(a.nodeType===3||a.nodeType===8)){d===!1&&(d=u);var h,e,g=0,i,j,o,m,l,p,n=b.hasData(a)&&b._data(a),q=n&&n.events;if(n&&q){if(c&&c.type)d=c.handler,c=c.type;if(!c||typeof c==="string"&&c.charAt(0)===".")for(h in c=c||"",q)b.event.remove(a,h+c);else{for(c=c.split(" ");h=c[g++];)if(m=h,i=h.indexOf(".")<0,j=[],i||(j=h.split("."),h=j.shift(),o=RegExp("(^|\\.)"+b.map(j.slice(0).sort(),
La).join("\\.(?:.*\\.)?")+"(\\.|$)")),l=q[h])if(d){m=b.event.special[h]||{};for(e=f||0;e<l.length;e++)if(p=l[e],d.guid===p.guid){if(i||o.test(p.namespace))f==null&&l.splice(e--,1),m.remove&&m.remove.call(a,p);if(f!=null)break}if(l.length===0||f!=null&&l.length===1)(!m.teardown||m.teardown.call(a,j)===!1)&&b.removeEvent(a,h,n.handle),delete q[h]}else for(e=0;e<l.length;e++)if(p=l[e],i||o.test(p.namespace))b.event.remove(a,m,p.handler,e),l.splice(e--,1);if(b.isEmptyObject(q)){if(c=n.handle)c.elem=null;
delete n.events;delete n.handle;b.isEmptyObject(n)&&b.removeData(a,k,!0)}}}}},trigger:function(a,c,d,f){var h=a.type||a;if(!f){a=typeof a==="object"?a[b.expando]?a:b.extend(b.Event(h),a):b.Event(h);if(h.indexOf("!")>=0)a.type=h=h.slice(0,-1),a.exclusive=!0;d||(a.stopPropagation(),b.event.global[h]&&b.each(b.cache,function(){var d=this[b.expando];d&&d.events&&d.events[h]&&b.event.trigger(a,c,d.handle.elem)}));if(!d||d.nodeType===3||d.nodeType===8)return k;a.result=k;a.target=d;c=b.makeArray(c);c.unshift(a)}a.currentTarget=
d;(f=b._data(d,"handle"))&&f.apply(d,c);f=d.parentNode||d.ownerDocument;try{if((!d||!d.nodeName||!b.noData[d.nodeName.toLowerCase()])&&d["on"+h]&&d["on"+h].apply(d,c)===!1)a.result=!1,a.preventDefault()}catch(e){}if(!a.isPropagationStopped()&&f)b.event.trigger(a,c,f,!0);else if(!a.isDefaultPrevented()){var g;f=a.target;var i=h.replace(H,""),j=b.nodeName(f,"a")&&i==="click",o=b.event.special[i]||{};if((!o._default||o._default.call(d,a)===!1)&&!j&&(!f||!f.nodeName||!b.noData[f.nodeName.toLowerCase()])){try{if(f[i])(g=
f["on"+i])&&(f["on"+i]=null),b.event.triggered=a.type,f[i]()}catch(m){}g&&(f["on"+i]=g);b.event.triggered=k}}},handle:function(a){var c,d,f,h;d=[];var g=b.makeArray(arguments);a=g[0]=b.event.fix(a||e.event);a.currentTarget=this;c=a.type.indexOf(".")<0&&!a.exclusive;if(!c)f=a.type.split("."),a.type=f.shift(),d=f.slice(0).sort(),f=RegExp("(^|\\.)"+d.join("\\.(?:.*\\.)?")+"(\\.|$)");a.namespace=a.namespace||d.join(".");h=b._data(this,"events");d=(h||{})[a.type];if(h&&d){d=d.slice(0);h=0;for(var i=d.length;h<
i;h++){var j=d[h];if(c||f.test(j.namespace)){a.handler=j.handler;a.data=j.data;a.handleObj=j;j=j.handler.apply(this,g);if(j!==k)a.result=j,j===!1&&(a.preventDefault(),a.stopPropagation());if(a.isImmediatePropagationStopped())break}}}return a.result},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),
fix:function(a){if(a[b.expando])return a;var c=a;a=b.Event(c);for(var d=this.props.length,f;d;)f=this.props[--d],a[f]=c[f];if(!a.target)a.target=a.srcElement||g;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)c=g.documentElement,d=g.body,a.pageX=a.clientX+(c&&c.scrollLeft||d&&d.scrollLeft||0)-(c&&c.clientLeft||d&&d.clientLeft||0),a.pageY=a.clientY+(c&&c.scrollTop||
d&&d.scrollTop||0)-(c&&c.clientTop||d&&d.clientTop||0);if(a.which==null&&(a.charCode!=null||a.keyCode!=null))a.which=a.charCode!=null?a.charCode:a.keyCode;if(!a.metaKey&&a.ctrlKey)a.metaKey=a.ctrlKey;if(!a.which&&a.button!==k)a.which=a.button&1?1:a.button&2?3:a.button&4?2:0;return a},guid:1E8,proxy:b.proxy,special:{ready:{setup:b.bindReady,teardown:b.noop},live:{add:function(a){b.event.add(this,m(a.origType,a.selector),b.extend({},a,{handler:J,guid:a.handler.guid}))},remove:function(a){b.event.remove(this,
m(a.origType,a.selector),a)}},beforeunload:{setup:function(a,c,d){if(b.isWindow(this))this.onbeforeunload=d},teardown:function(a,b){if(this.onbeforeunload===b)this.onbeforeunload=null}}}};b.removeEvent=g.removeEventListener?function(a,b,d){a.removeEventListener&&a.removeEventListener(b,d,!1)}:function(a,b,d){a.detachEvent&&a.detachEvent("on"+b,d)};b.Event=function(a){if(!this.preventDefault)return new b.Event(a);a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||
a.returnValue===!1||a.getPreventDefault&&a.getPreventDefault()?C:u):this.type=a;this.timeStamp=b.now();this[b.expando]=!0};b.Event.prototype={preventDefault:function(){this.isDefaultPrevented=C;var a=this.originalEvent;if(a)a.preventDefault?a.preventDefault():a.returnValue=!1},stopPropagation:function(){this.isPropagationStopped=C;var a=this.originalEvent;if(a)a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=C;this.stopPropagation()},
isDefaultPrevented:u,isPropagationStopped:u,isImmediatePropagationStopped:u};var qa=function(a){var c=a.relatedTarget;try{if(!c||c===g||c.parentNode){for(;c&&c!==this;)c=c.parentNode;if(c!==this)a.type=a.data,b.event.handle.apply(this,arguments)}}catch(d){}},ra=function(a){a.type=a.data;b.event.handle.apply(this,arguments)};b.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,c){b.event.special[a]={setup:function(d){b.event.add(this,c,d&&d.selector?ra:qa,a)},teardown:function(a){b.event.remove(this,
c,a&&a.selector?ra:qa)}}});if(!b.support.submitBubbles)b.event.special.submit={setup:function(){if(this.nodeName&&this.nodeName.toLowerCase()!=="form")b.event.add(this,"click.specialSubmit",function(a){var c=a.target,d=c.type;(d==="submit"||d==="image")&&b(c).closest("form").length&&t("submit",this,arguments)}),b.event.add(this,"keypress.specialSubmit",function(a){var c=a.target,d=c.type;(d==="text"||d==="password")&&b(c).closest("form").length&&a.keyCode===13&&t("submit",this,arguments)});else return!1},
teardown:function(){b.event.remove(this,".specialSubmit")}};if(!b.support.changeBubbles){var da,sa=function(a){var c=a.type,d=a.value;if(c==="radio"||c==="checkbox")d=a.checked;else if(c==="select-multiple")d=a.selectedIndex>-1?b.map(a.options,function(a){return a.selected}).join("-"):"";else if(a.nodeName.toLowerCase()==="select")d=a.selectedIndex;return d},ea=function(a,c){var d=a.target,f,h;if(V.test(d.nodeName)&&!d.readOnly&&(f=b._data(d,"_change_data"),h=sa(d),(a.type!=="focusout"||d.type!==
"radio")&&b._data(d,"_change_data",h),!(f===k||h===f)))if(f!=null||h)a.type="change",a.liveFired=k,b.event.trigger(a,c,d)};b.event.special.change={filters:{focusout:ea,beforedeactivate:ea,click:function(a){var b=a.target,d=b.type;(d==="radio"||d==="checkbox"||b.nodeName.toLowerCase()==="select")&&ea.call(this,a)},keydown:function(a){var b=a.target,d=b.type;(a.keyCode===13&&b.nodeName.toLowerCase()!=="textarea"||a.keyCode===32&&(d==="checkbox"||d==="radio")||d==="select-multiple")&&ea.call(this,a)},
beforeactivate:function(a){a=a.target;b._data(a,"_change_data",sa(a))}},setup:function(){if(this.type==="file")return!1;for(var a in da)b.event.add(this,a+".specialChange",da[a]);return V.test(this.nodeName)},teardown:function(){b.event.remove(this,".specialChange");return V.test(this.nodeName)}};da=b.event.special.change.filters;da.focus=da.beforeactivate}g.addEventListener&&b.each({focus:"focusin",blur:"focusout"},function(a,c){function d(a){var d=b.event.fix(a);d.type=c;d.originalEvent={};b.event.trigger(d,
null,d.target);d.isDefaultPrevented()&&a.preventDefault()}var f=0;b.event.special[c]={setup:function(){f++===0&&g.addEventListener(a,d,!0)},teardown:function(){--f===0&&g.removeEventListener(a,d,!0)}}});b.each(["bind","one"],function(a,c){b.fn[c]=function(a,f,h){if(typeof a==="object"){for(var e in a)this[c](e,f,a[e],h);return this}if(b.isFunction(f)||f===!1)h=f,f=k;var g=c==="one"?b.proxy(h,function(a){b(this).unbind(a,g);return h.apply(this,arguments)}):h;if(a==="unload"&&c!=="one")this.one(a,f,
h);else{e=0;for(var i=this.length;e<i;e++)b.event.add(this[e],a,g,f)}return this}});b.fn.extend({unbind:function(a,c){if(typeof a==="object"&&!a.preventDefault)for(var d in a)this.unbind(d,a[d]);else{d=0;for(var f=this.length;d<f;d++)b.event.remove(this[d],a,c)}return this},delegate:function(a,b,d,f){return this.live(b,d,f,a)},undelegate:function(a,b,d){return arguments.length===0?this.unbind("live"):this.die(b,null,d,a)},trigger:function(a,c){return this.each(function(){b.event.trigger(a,c,this)})},
triggerHandler:function(a,c){if(this[0]){var d=b.Event(a);d.preventDefault();d.stopPropagation();b.event.trigger(d,c,this[0]);return d.result}},toggle:function(a){for(var c=arguments,d=1;d<c.length;)b.proxy(a,c[d++]);return this.click(b.proxy(a,function(f){var h=(b._data(this,"lastToggle"+a.guid)||0)%d;b._data(this,"lastToggle"+a.guid,h+1);f.preventDefault();return c[h].apply(this,arguments)||!1}))},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}});var ta={focus:"focusin",blur:"focusout",
mouseenter:"mouseover",mouseleave:"mouseout"};b.each(["live","die"],function(a,c){b.fn[c]=function(a,f,h,e){var g,i=0,j,o,l=e||this.selector;e=e?this:b(this.context);if(typeof a==="object"&&!a.preventDefault){for(g in a)e[c](g,f,a[g],l);return this}b.isFunction(f)&&(h=f,f=k);for(a=(a||"").split(" ");(g=a[i++])!=null;)if(j=H.exec(g),o="",j&&(o=j[0],g=g.replace(H,"")),g==="hover")a.push("mouseenter"+o,"mouseleave"+o);else if(j=g,g==="focus"||g==="blur"?(a.push(ta[g]+o),g+=o):g=(ta[g]||g)+o,c==="live"){o=
0;for(var p=e.length;o<p;o++)b.event.add(e[o],"live."+m(g,l),{data:f,selector:l,handler:h,origType:g,origHandler:h,preType:j})}else e.unbind("live."+m(g,l),h);return this}});b.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,c){b.fn[c]=function(a,b){b==null&&(b=a,a=null);return arguments.length>0?this.bind(c,a,b):this.trigger(c)};b.attrFn&&
(b.attrFn[c]=!0)});(function(){function a(a,b,c,d,f,h){f=0;for(var e=d.length;f<e;f++){var g=d[f];if(g){var i=!1;for(g=g[a];g;){if(g.sizcache===c){i=d[g.sizset];break}if(g.nodeType===1&&!h)g.sizcache=c,g.sizset=f;if(g.nodeName.toLowerCase()===b){i=g;break}g=g[a]}d[f]=i}}}function c(a,b,c,d,f,h){f=0;for(var e=d.length;f<e;f++){var g=d[f];if(g){var i=!1;for(g=g[a];g;){if(g.sizcache===c){i=d[g.sizset];break}if(g.nodeType===1){if(!h)g.sizcache=c,g.sizset=f;if(typeof b!=="string"){if(g===b){i=!0;break}}else if(o.filter(b,
[g]).length>0){i=g;break}}g=g[a]}d[f]=i}}}var d=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,f=0,h=Object.prototype.toString,e=!1,i=!0,j=/\\/g,m=/\W/;[0,0].sort(function(){i=!1;return 0});var o=function(a,b,c,f){c=c||[];var e=b=b||g;if(b.nodeType!==1&&b.nodeType!==9)return[];if(!a||typeof a!=="string")return c;var i,r,k,j,m,I=!0,n=o.isXML(b),q=[],v=a;do if(d.exec(""),i=d.exec(v))if(v=i[3],q.push(i[1]),i[2]){j=
i[3];break}while(i);if(q.length>1&&p.exec(a))if(q.length===2&&l.relative[q[0]])r=u(q[0]+q[1],b);else for(r=l.relative[q[0]]?[b]:o(q.shift(),b);q.length;)a=q.shift(),l.relative[a]&&(a+=q.shift()),r=u(a,r);else if(!f&&q.length>1&&b.nodeType===9&&!n&&l.match.ID.test(q[0])&&!l.match.ID.test(q[q.length-1])&&(i=o.find(q.shift(),b,n),b=i.expr?o.filter(i.expr,i.set)[0]:i.set[0]),b){i=f?{expr:q.pop(),set:s(f)}:o.find(q.pop(),q.length===1&&(q[0]==="~"||q[0]==="+")&&b.parentNode?b.parentNode:b,n);r=i.expr?o.filter(i.expr,
i.set):i.set;for(q.length>0?k=s(r):I=!1;q.length;)i=m=q.pop(),l.relative[m]?i=q.pop():m="",i==null&&(i=b),l.relative[m](k,i,n)}else k=[];k||(k=r);k||o.error(m||a);if(h.call(k)==="[object Array]")if(I)if(b&&b.nodeType===1)for(a=0;k[a]!=null;a++)k[a]&&(k[a]===!0||k[a].nodeType===1&&o.contains(b,k[a]))&&c.push(r[a]);else for(a=0;k[a]!=null;a++)k[a]&&k[a].nodeType===1&&c.push(r[a]);else c.push.apply(c,k);else s(k,c);j&&(o(j,e,c,f),o.uniqueSort(c));return c};o.uniqueSort=function(a){if(x&&(e=i,a.sort(x),
e))for(var b=1;b<a.length;b++)a[b]===a[b-1]&&a.splice(b--,1);return a};o.matches=function(a,b){return o(a,null,null,b)};o.matchesSelector=function(a,b){return o(b,null,null,[a]).length>0};o.find=function(a,b,c){var d;if(!a)return[];for(var f=0,h=l.order.length;f<h;f++){var e,g=l.order[f];if(e=l.leftMatch[g].exec(a)){var i=e[1];e.splice(1,1);if(i.substr(i.length-1)!=="\\"&&(e[1]=(e[1]||"").replace(j,""),d=l.find[g](e,b,c),d!=null)){a=a.replace(l.match[g],"");break}}}d||(d=typeof b.getElementsByTagName!==
"undefined"?b.getElementsByTagName("*"):[]);return{set:d,expr:a}};o.filter=function(a,b,c,d){for(var f,h,e=a,g=[],i=b,r=b&&b[0]&&o.isXML(b[0]);a&&b.length;){for(var j in l.filter)if((f=l.leftMatch[j].exec(a))!=null&&f[2]){var m,I,q=l.filter[j];I=f[1];h=!1;f.splice(1,1);if(I.substr(I.length-1)!=="\\"){i===g&&(g=[]);if(l.preFilter[j])if(f=l.preFilter[j](f,i,c,g,d,r)){if(f===!0)continue}else h=m=!0;if(f)for(var p=0;(I=i[p])!=null;p++)if(I){m=q(I,f,p,i);var n=d^!!m;c&&m!=null?n?h=!0:i[p]=!1:n&&(g.push(I),
h=!0)}if(m!==k){c||(i=g);a=a.replace(l.match[j],"");if(!h)return[];break}}}if(a===e)if(h==null)o.error(a);else break;e=a}return i};o.error=function(a){throw"Syntax error, unrecognized expression: "+a;};var l=o.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,
TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(a){return a.getAttribute("href")},type:function(a){return a.getAttribute("type")}},relative:{"+":function(a,b){var c=
typeof b==="string",d=c&&!m.test(b);c=c&&!d;d&&(b=b.toLowerCase());d=0;for(var f=a.length,h;d<f;d++)if(h=a[d]){for(;(h=h.previousSibling)&&h.nodeType!==1;);a[d]=c||h&&h.nodeName.toLowerCase()===b?h||!1:h===b}c&&o.filter(b,a,!0)},">":function(a,b){var c,d=typeof b==="string",f=0,h=a.length;if(d&&!m.test(b))for(b=b.toLowerCase();f<h;f++){if(c=a[f])c=c.parentNode,a[f]=c.nodeName.toLowerCase()===b?c:!1}else{for(;f<h;f++)(c=a[f])&&(a[f]=d?c.parentNode:c.parentNode===b);d&&o.filter(b,a,!0)}},"":function(b,
d,h){var e,g=f++,i=c;typeof d==="string"&&!m.test(d)&&(e=d=d.toLowerCase(),i=a);i("parentNode",d,g,b,e,h)},"~":function(b,d,h){var e,g=f++,i=c;typeof d==="string"&&!m.test(d)&&(e=d=d.toLowerCase(),i=a);i("previousSibling",d,g,b,e,h)}},find:{ID:function(a,b,c){if(typeof b.getElementById!=="undefined"&&!c)return(a=b.getElementById(a[1]))&&a.parentNode?[a]:[]},NAME:function(a,b){if(typeof b.getElementsByName!=="undefined"){for(var c=[],d=b.getElementsByName(a[1]),f=0,h=d.length;f<h;f++)d[f].getAttribute("name")===
a[1]&&c.push(d[f]);return c.length===0?null:c}},TAG:function(a,b){if(typeof b.getElementsByTagName!=="undefined")return b.getElementsByTagName(a[1])}},preFilter:{CLASS:function(a,b,c,d,f,h){a=" "+a[1].replace(j,"")+" ";if(h)return a;h=0;for(var e;(e=b[h])!=null;h++)e&&(f^(e.className&&(" "+e.className+" ").replace(/[\t\n\r]/g," ").indexOf(a)>=0)?c||d.push(e):c&&(b[h]=!1));return!1},ID:function(a){return a[1].replace(j,"")},TAG:function(a){return a[1].replace(j,"").toLowerCase()},CHILD:function(a){if(a[1]===
"nth"){a[2]||o.error(a[0]);a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0;a[3]=b[3]-0}else a[2]&&o.error(a[0]);a[0]=f++;return a},ATTR:function(a,b,c,d,f,h){b=a[1]=a[1].replace(j,"");!h&&l.attrMap[b]&&(a[1]=l.attrMap[b]);a[4]=(a[4]||a[5]||"").replace(j,"");a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(a,b,c,f,h){if(a[1]==="not")if((d.exec(a[3])||"").length>1||
/^\w/.test(a[3]))a[3]=o(a[3],null,null,b);else return a=o.filter(a[3],b,c,1^h),c||f.push.apply(f,a),!1;else if(l.match.POS.test(a[0])||l.match.CHILD.test(a[0]))return!0;return a},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},
has:function(a,b,c){return!!o(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){var b=a.getAttribute("type");a=a.type;return"text"===a&&(b===a||b===null)},radio:function(a){return"radio"===a.type},checkbox:function(a){return"checkbox"===a.type},file:function(a){return"file"===a.type},password:function(a){return"password"===a.type},submit:function(a){return"submit"===a.type},image:function(a){return"image"===a.type},reset:function(a){return"reset"===a.type},button:function(a){return"button"===
a.type||a.nodeName.toLowerCase()==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)}},setFilters:{first:function(a,b){return b===0},last:function(a,b,c,d){return b===d.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return b<c[3]-0},gt:function(a,b,c){return b>c[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{PSEUDO:function(a,b,c,d){var f=b[1],h=l.filters[f];if(h)return h(a,
c,b,d);else if(f==="contains")return(a.textContent||a.innerText||o.getText([a])||"").indexOf(b[3])>=0;else if(f==="not"){b=b[3];c=0;for(d=b.length;c<d;c++)if(b[c]===a)return!1;return!0}else o.error(f)},CHILD:function(a,b){var c=b[1],d=a;switch(c){case "only":case "first":for(;d=d.previousSibling;)if(d.nodeType===1)return!1;if(c==="first")return!0;d=a;case "last":for(;d=d.nextSibling;)if(d.nodeType===1)return!1;return!0;case "nth":c=b[2];var f=b[3];if(c===1&&f===0)return!0;var h=b[0],e=a.parentNode;
if(e&&(e.sizcache!==h||!a.nodeIndex)){var g=0;for(d=e.firstChild;d;d=d.nextSibling)if(d.nodeType===1)d.nodeIndex=++g;e.sizcache=h}d=a.nodeIndex-f;return c===0?d===0:d%c===0&&d/c>=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(a,b){var c=b[1];c=l.attrHandle[c]?l.attrHandle[c](a):a[c]!=null?a[c]:
a.getAttribute(c);var d=c+"",f=b[2],h=b[4];return c==null?f==="!=":f==="="?d===h:f==="*="?d.indexOf(h)>=0:f==="~="?(" "+d+" ").indexOf(h)>=0:!h?d&&c!==!1:f==="!="?d!==h:f==="^="?d.indexOf(h)===0:f==="$="?d.substr(d.length-h.length)===h:f==="|="?d===h||d.substr(0,h.length+1)===h+"-":!1},POS:function(a,b,c,d){var f=l.setFilters[b[2]];if(f)return f(a,c,b,d)}}},p=l.match.POS,n=function(a,b){return"\\"+(b-0+1)},q;for(q in l.match)l.match[q]=RegExp(l.match[q].source+/(?![^\[]*\])(?![^\(]*\))/.source),l.leftMatch[q]=
RegExp(/(^(?:.|\r|\n)*?)/.source+l.match[q].source.replace(/\\(\d+)/g,n));var s=function(a,b){a=Array.prototype.slice.call(a,0);if(b)return b.push.apply(b,a),b;return a};try{Array.prototype.slice.call(g.documentElement.childNodes,0)}catch(v){s=function(a,b){var c=0,d=b||[];if(h.call(a)==="[object Array]")Array.prototype.push.apply(d,a);else if(typeof a.length==="number")for(var f=a.length;c<f;c++)d.push(a[c]);else for(;a[c];c++)d.push(a[c]);return d}}var x,w;g.documentElement.compareDocumentPosition?
x=function(a,b){if(a===b)return e=!0,0;if(!a.compareDocumentPosition||!b.compareDocumentPosition)return a.compareDocumentPosition?-1:1;return a.compareDocumentPosition(b)&4?-1:1}:(x=function(a,b){var c,d,f=[],h=[];c=a.parentNode;d=b.parentNode;var g=c;if(a===b)return e=!0,0;else if(c===d)return w(a,b);else if(c){if(!d)return 1}else return-1;for(;g;)f.unshift(g),g=g.parentNode;for(g=d;g;)h.unshift(g),g=g.parentNode;c=f.length;d=h.length;for(g=0;g<c&&g<d;g++)if(f[g]!==h[g])return w(f[g],h[g]);return g===
c?w(a,h[g],-1):w(f[g],b,1)},w=function(a,b,c){if(a===b)return c;for(a=a.nextSibling;a;){if(a===b)return-1;a=a.nextSibling}return 1});o.getText=function(a){for(var b="",c,d=0;a[d];d++)c=a[d],c.nodeType===3||c.nodeType===4?b+=c.nodeValue:c.nodeType!==8&&(b+=o.getText(c.childNodes));return b};(function(){var a=g.createElement("div"),b="script"+(new Date).getTime(),c=g.documentElement;a.innerHTML="<a name='"+b+"'/>";c.insertBefore(a,c.firstChild);if(g.getElementById(b))l.find.ID=function(a,b,c){if(typeof b.getElementById!==
"undefined"&&!c)return(b=b.getElementById(a[1]))?b.id===a[1]||typeof b.getAttributeNode!=="undefined"&&b.getAttributeNode("id").nodeValue===a[1]?[b]:k:[]},l.filter.ID=function(a,b){var c=typeof a.getAttributeNode!=="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&c&&c.nodeValue===b};c.removeChild(a);c=a=null})();(function(){var a=g.createElement("div");a.appendChild(g.createComment(""));if(a.getElementsByTagName("*").length>0)l.find.TAG=function(a,b){var c=b.getElementsByTagName(a[1]);
if(a[1]==="*"){for(var d=[],f=0;c[f];f++)c[f].nodeType===1&&d.push(c[f]);c=d}return c};a.innerHTML="<a href='#'></a>";if(a.firstChild&&typeof a.firstChild.getAttribute!=="undefined"&&a.firstChild.getAttribute("href")!=="#")l.attrHandle.href=function(a){return a.getAttribute("href",2)};a=null})();g.querySelectorAll&&function(){var a=o,b=g.createElement("div");b.innerHTML="<p class='TEST'></p>";if(!(b.querySelectorAll&&b.querySelectorAll(".TEST").length===0)){o=function(b,c,d,f){c=c||g;if(!f&&!o.isXML(c)){var h=
/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(h&&(c.nodeType===1||c.nodeType===9))if(h[1])return s(c.getElementsByTagName(b),d);else if(h[2]&&l.find.CLASS&&c.getElementsByClassName)return s(c.getElementsByClassName(h[2]),d);if(c.nodeType===9){if(b==="body"&&c.body)return s([c.body],d);else if(h&&h[3]){var e=c.getElementById(h[3]);if(e&&e.parentNode){if(e.id===h[3])return s([e],d)}else return s([],d)}try{return s(c.querySelectorAll(b),d)}catch(i){}}else if(c.nodeType===1&&c.nodeName.toLowerCase()!==
"object"){h=c;var r=(e=c.getAttribute("id"))||"__sizzle__",k=c.parentNode,j=/^\s*[+~]/.test(b);e?r=r.replace(/'/g,"\\$&"):c.setAttribute("id",r);if(j&&k)c=c.parentNode;try{if(!j||k)return s(c.querySelectorAll("[id='"+r+"'] "+b),d)}catch(m){}finally{e||h.removeAttribute("id")}}}return a(b,c,d,f)};for(var c in a)o[c]=a[c];b=null}}();(function(){var a=g.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector;if(b){var c=!b.call(g.createElement("div"),"div"),
d=!1;try{b.call(g.documentElement,"[test!='']:sizzle")}catch(f){d=!0}o.matchesSelector=function(a,f){f=f.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!o.isXML(a))try{if(d||!l.match.PSEUDO.test(f)&&!/!=/.test(f)){var h=b.call(a,f);if(h||!c||a.document&&a.document.nodeType!==11)return h}}catch(e){}return o(f,null,null,[a]).length>0}}})();(function(){var a=g.createElement("div");a.innerHTML="<div class='test e'></div><div class='test'></div>";if(a.getElementsByClassName&&a.getElementsByClassName("e").length!==
0&&(a.lastChild.className="e",a.getElementsByClassName("e").length!==1))l.order.splice(1,0,"CLASS"),l.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!=="undefined"&&!c)return b.getElementsByClassName(a[1])},a=null})();o.contains=g.documentElement.contains?function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:g.documentElement.compareDocumentPosition?function(a,b){return!!(a.compareDocumentPosition(b)&16)}:function(){return!1};o.isXML=function(a){return(a=(a?a.ownerDocument||a:0).documentElement)?
a.nodeName!=="HTML":!1};var u=function(a,b){for(var c,d=[],f="",h=b.nodeType?[b]:b;c=l.match.PSEUDO.exec(a);)f+=c[0],a=a.replace(l.match.PSEUDO,"");a=l.relative[a]?a+"*":a;c=0;for(var e=h.length;c<e;c++)o(a,h[c],d);return o.filter(f,d)};b.find=o;b.expr=o.selectors;b.expr[":"]=b.expr.filters;b.unique=o.uniqueSort;b.text=o.getText;b.isXMLDoc=o.isXML;b.contains=o.contains})();var Ma=/Until$/,Na=/^(?:parents|prevUntil|prevAll)/,Oa=/,/,Pa=/^.[^:#\[\.,]*$/,Qa=Array.prototype.slice,Ra=b.expr.match.POS,Sa=
{children:!0,contents:!0,next:!0,prev:!0};b.fn.extend({find:function(a){for(var c=this.pushStack("","find",a),d=0,f=0,h=this.length;f<h;f++)if(d=c.length,b.find(a,this[f],c),f>0)for(var e=d;e<c.length;e++)for(var g=0;g<d;g++)if(c[g]===c[e]){c.splice(e--,1);break}return c},has:function(a){var c=b(a);return this.filter(function(){for(var a=0,f=c.length;a<f;a++)if(b.contains(this,c[a]))return!0})},not:function(a){return this.pushStack(v(this,a,!1),"not",a)},filter:function(a){return this.pushStack(v(this,
a,!0),"filter",a)},is:function(a){return!!a&&b.filter(a,this).length>0},closest:function(a,c){var d=[],f,h,e=this[0];if(b.isArray(a)){var g,i={},k=1;if(e&&a.length){f=0;for(h=a.length;f<h;f++)g=a[f],i[g]||(i[g]=b.expr.match.POS.test(g)?b(g,c||this.context):g);for(;e&&e.ownerDocument&&e!==c;){for(g in i)f=i[g],(f.jquery?f.index(e)>-1:b(e).is(f))&&d.push({selector:g,elem:e,level:k});e=e.parentNode;k++}}return d}g=Ra.test(a)?b(a,c||this.context):null;f=0;for(h=this.length;f<h;f++)for(e=this[f];e;)if(g?
g.index(e)>-1:b.find.matchesSelector(e,a)){d.push(e);break}else if(e=e.parentNode,!e||!e.ownerDocument||e===c)break;d=d.length>1?b.unique(d):d;return this.pushStack(d,"closest",a)},index:function(a){if(!a||typeof a==="string")return b.inArray(this[0],a?b(a):this.parent().children());return b.inArray(a.jquery?a[0]:a,this)},add:function(a,c){var d=typeof a==="string"?b(a,c):b.makeArray(a),f=b.merge(this.get(),d);return this.pushStack(!d[0]||!d[0].parentNode||d[0].parentNode.nodeType===11||!f[0]||!f[0].parentNode||
f[0].parentNode.nodeType===11?f:b.unique(f))},andSelf:function(){return this.add(this.prevObject)}});b.each({parent:function(a){return(a=a.parentNode)&&a.nodeType!==11?a:null},parents:function(a){return b.dir(a,"parentNode")},parentsUntil:function(a,c,d){return b.dir(a,"parentNode",d)},next:function(a){return b.nth(a,2,"nextSibling")},prev:function(a){return b.nth(a,2,"previousSibling")},nextAll:function(a){return b.dir(a,"nextSibling")},prevAll:function(a){return b.dir(a,"previousSibling")},nextUntil:function(a,
c,d){return b.dir(a,"nextSibling",d)},prevUntil:function(a,c,d){return b.dir(a,"previousSibling",d)},siblings:function(a){return b.sibling(a.parentNode.firstChild,a)},children:function(a){return b.sibling(a.firstChild)},contents:function(a){return b.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:b.makeArray(a.childNodes)}},function(a,c){b.fn[a]=function(d,f){var h=b.map(this,c,d),e=Qa.call(arguments);Ma.test(a)||(f=d);f&&typeof f==="string"&&(h=b.filter(f,h));h=this.length>1&&!Sa[a]?
b.unique(h):h;if((this.length>1||Oa.test(f))&&Na.test(a))h=h.reverse();return this.pushStack(h,a,e.join(","))}});b.extend({filter:function(a,c,d){d&&(a=":not("+a+")");return c.length===1?b.find.matchesSelector(c[0],a)?[c[0]]:[]:b.find.matches(a,c)},dir:function(a,c,d){var f=[];for(a=a[c];a&&a.nodeType!==9&&(d===k||a.nodeType!==1||!b(a).is(d));)a.nodeType===1&&f.push(a),a=a[c];return f},nth:function(a,b,d){b=b||1;for(var f=0;a;a=a[d])if(a.nodeType===1&&++f===b)break;return a},sibling:function(a,b){for(var d=
[];a;a=a.nextSibling)a.nodeType===1&&a!==b&&d.push(a);return d}});var Ya=/ jQuery\d+="(?:\d+|null)"/g,pa=/^\s+/,ya=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,za=/<([\w:]+)/,Za=/<tbody/i,$a=/<|&#?\w+;/,Aa=/<(?:script|object|embed|option|style)/i,Ba=/checked\s*(?:[^=]|=\s*.checked.)/i,K={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,"",""]};K.optgroup=K.option;K.tbody=K.tfoot=K.colgroup=K.caption=K.thead;K.th=K.td;if(!b.support.htmlSerialize)K._default=[1,"div<div>","</div>"];b.fn.extend({text:function(a){if(b.isFunction(a))return this.each(function(c){var d=b(this);d.text(a.call(this,c,d.text()))});if(typeof a!=="object"&&a!==k)return this.empty().append((this[0]&&this[0].ownerDocument||g).createTextNode(a));
return b.text(this)},wrapAll:function(a){if(b.isFunction(a))return this.each(function(c){b(this).wrapAll(a.call(this,c))});if(this[0]){var c=b(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&c.insertBefore(this[0]);c.map(function(){for(var a=this;a.firstChild&&a.firstChild.nodeType===1;)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){if(b.isFunction(a))return this.each(function(c){b(this).wrapInner(a.call(this,c))});return this.each(function(){var c=b(this),
d=c.contents();d.length?d.wrapAll(a):c.append(a)})},wrap:function(a){return this.each(function(){b(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){b.nodeName(this,"body")||b(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&
this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});else if(arguments.length){var a=b(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,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});else if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,b(arguments[0]).toArray());return a}},remove:function(a,
c){for(var d=0,f;(f=this[d])!=null;d++)if(!a||b.filter(a,[f]).length)!c&&f.nodeType===1&&(b.cleanData(f.getElementsByTagName("*")),b.cleanData([f])),f.parentNode&&f.parentNode.removeChild(f);return this},empty:function(){for(var a=0,c;(c=this[a])!=null;a++)for(c.nodeType===1&&b.cleanData(c.getElementsByTagName("*"));c.firstChild;)c.removeChild(c.firstChild);return this},clone:function(a,c){a=a==null?!1:a;c=c==null?a:c;return this.map(function(){return b.clone(this,a,c)})},html:function(a){if(a===
k)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(Ya,""):null;else if(typeof a==="string"&&!Aa.test(a)&&(b.support.leadingWhitespace||!pa.test(a))&&!K[(za.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(ya,"<$1></$2>");try{for(var c=0,d=this.length;c<d;c++)if(this[c].nodeType===1)b.cleanData(this[c].getElementsByTagName("*")),this[c].innerHTML=a}catch(f){this.empty().append(a)}}else b.isFunction(a)?this.each(function(c){var d=b(this);d.html(a.call(this,c,d.html()))}):this.empty().append(a);
return this},replaceWith:function(a){if(this[0]&&this[0].parentNode){if(b.isFunction(a))return this.each(function(c){var d=b(this),f=d.html();d.replaceWith(a.call(this,c,f))});typeof a!=="string"&&(a=b(a).detach());return this.each(function(){var c=this.nextSibling,d=this.parentNode;b(this).remove();c?b(c).before(a):b(d).append(a)})}else return this.length?this.pushStack(b(b.isFunction(a)?a():a),"replaceWith",a):this},detach:function(a){return this.remove(a,!0)},domManip:function(a,c,d){var f,h,e,
g=a[0],i=[];if(!b.support.checkClone&&arguments.length===3&&typeof g==="string"&&Ba.test(g))return this.each(function(){b(this).domManip(a,c,d,!0)});if(b.isFunction(g))return this.each(function(f){var h=b(this);a[0]=g.call(this,f,c?h.html():k);h.domManip(a,c,d)});if(this[0]){f=g&&g.parentNode;f=b.support.parentNode&&f&&f.nodeType===11&&f.childNodes.length===this.length?{fragment:f}:b.buildFragment(a,this,i);e=f.fragment;if(h=e.childNodes.length===1?e=e.firstChild:e.firstChild){c=c&&b.nodeName(h,"tr");
h=0;for(var j=this.length,l=j-1;h<j;h++)d.call(c?b.nodeName(this[h],"table")?this[h].getElementsByTagName("tbody")[0]||this[h].appendChild(this[h].ownerDocument.createElement("tbody")):this[h]:this[h],f.cacheable||j>1&&h<l?b.clone(e,!0,!0):e)}i.length&&b.each(i,Z)}return this}});b.buildFragment=function(a,c,d){var f,h,e;c=c&&c[0]?c[0].ownerDocument||c[0]:g;if(a.length===1&&typeof a[0]==="string"&&a[0].length<512&&c===g&&a[0].charAt(0)==="<"&&!Aa.test(a[0])&&(b.support.checkClone||!Ba.test(a[0])))h=
!0,(e=b.fragments[a[0]])&&e!==1&&(f=e);f||(f=c.createDocumentFragment(),b.clean(a,c,f,d));h&&(b.fragments[a[0]]=e?f:1);return{fragment:f,cacheable:h}};b.fragments={};b.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,c){b.fn[a]=function(d){var f=[];d=b(d);var h=this.length===1&&this[0].parentNode;if(h&&h.nodeType===11&&h.childNodes.length===1&&d.length===1)return d[c](this[0]),this;else{h=0;for(var e=d.length;h<e;h++){var g=
(h>0?this.clone(!0):this).get();b(d[h])[c](g);f=f.concat(g)}return this.pushStack(f,a,d.selector)}}});b.extend({clone:function(a,c,d){var f=a.cloneNode(!0),h,e,g;if((!b.support.noCloneEvent||!b.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!b.isXMLDoc(a)){R(a,f);h=G(a);e=G(f);for(g=0;h[g];++g)R(h[g],e[g])}if(c&&(A(a,f),d)){h=G(a);e=G(f);for(g=0;h[g];++g)A(h[g],e[g])}return f},clean:function(a,c,d,f){c=c||g;typeof c.createElement==="undefined"&&(c=c.ownerDocument||c[0]&&c[0].ownerDocument||
g);for(var h=[],e=0,i;(i=a[e])!=null;e++)if(typeof i==="number"&&(i+=""),i){if(typeof i==="string"&&!$a.test(i))i=c.createTextNode(i);else if(typeof i==="string"){i=i.replace(ya,"<$1></$2>");var k=(za.exec(i)||["",""])[1].toLowerCase(),j=K[k]||K._default,l=j[0],m=c.createElement("div");for(m.innerHTML=j[1]+i+j[2];l--;)m=m.lastChild;if(!b.support.tbody){l=Za.test(i);k=k==="table"&&!l?m.firstChild&&m.firstChild.childNodes:j[1]==="<table>"&&!l?m.childNodes:[];for(j=k.length-1;j>=0;--j)b.nodeName(k[j],
"tbody")&&!k[j].childNodes.length&&k[j].parentNode.removeChild(k[j])}!b.support.leadingWhitespace&&pa.test(i)&&m.insertBefore(c.createTextNode(pa.exec(i)[0]),m.firstChild);i=m.childNodes}i.nodeType?h.push(i):h=b.merge(h,i)}if(d)for(e=0;h[e];e++)f&&b.nodeName(h[e],"script")&&(!h[e].type||h[e].type.toLowerCase()==="text/javascript")?f.push(h[e].parentNode?h[e].parentNode.removeChild(h[e]):h[e]):(h[e].nodeType===1&&h.splice.apply(h,[e+1,0].concat(b.makeArray(h[e].getElementsByTagName("script")))),d.appendChild(h[e]));
return h},cleanData:function(a){for(var c,d,f=b.cache,h=b.expando,e=b.event.special,g=b.support.deleteExpando,i=0,k;(k=a[i])!=null;i++)if(!k.nodeName||!b.noData[k.nodeName.toLowerCase()])if(d=k[b.expando]){if((c=f[d]&&f[d][h])&&c.events){for(var j in c.events)e[j]?b.event.remove(k,j):b.removeEvent(k,j,c.handle);if(c.handle)c.handle.elem=null}g?delete k[b.expando]:k.removeAttribute&&k.removeAttribute(b.expando);delete f[d]}}});var Ca=/alpha\([^)]*\)/i,ab=/opacity=([^)]*)/,bb=/-([a-z])/ig,cb=/([A-Z]|^ms)/g,
Da=/^-?\d+(?:px)?$/i,db=/^-?\d/,eb={position:"absolute",visibility:"hidden",display:"block"},Ua=["Left","Right"],Va=["Top","Bottom"],ca,W,ha,fb=function(a,b){return b.toUpperCase()};b.fn.css=function(a,c){if(arguments.length===2&&c===k)return this;return b.access(this,a,c,!0,function(a,c,h){return h!==k?b.style(a,c,h):b.css(a,c)})};b.extend({cssHooks:{opacity:{get:function(a,b){if(b){var d=ca(a,"opacity","opacity");return d===""?"1":d}else return a.style.opacity}}},cssNumber:{zIndex:!0,fontWeight:!0,
opacity:!0,zoom:!0,lineHeight:!0},cssProps:{"float":b.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,c,d,f){if(a&&!(a.nodeType===3||a.nodeType===8||!a.style)){var h,e=b.camelCase(c),g=a.style,i=b.cssHooks[e];c=b.cssProps[e]||e;if(d!==k){if(!(typeof d==="number"&&isNaN(d)||d==null))if(typeof d==="number"&&!b.cssNumber[e]&&(d+="px"),!i||!("set"in i)||(d=i.set(a,d))!==k)try{g[c]=d}catch(j){}}else{if(i&&"get"in i&&(h=i.get(a,!1,f))!==k)return h;return g[c]}}},css:function(a,c,d){var f,h=b.camelCase(c),
e=b.cssHooks[h];c=b.cssProps[h]||h;if(e&&"get"in e&&(f=e.get(a,!0,d))!==k)return f;else if(ca)return ca(a,c,h)},swap:function(a,b,d){var f={},h;for(h in b)f[h]=a.style[h],a.style[h]=b[h];d.call(a);for(h in b)a.style[h]=f[h]},camelCase:function(a){return a.replace(bb,fb)}});b.curCSS=b.css;b.each(["height","width"],function(a,c){b.cssHooks[c]={get:function(a,f,h){var e;if(f){a.offsetWidth!==0?e=N(a,c,h):b.swap(a,eb,function(){e=N(a,c,h)});if(e<=0&&(e=ca(a,c,c),e==="0px"&&ha&&(e=ha(a,c,c)),e!=null))return e===
""||e==="auto"?"0px":e;if(e<0||e==null)return e=a.style[c],e===""||e==="auto"?"0px":e;return typeof e==="string"?e:e+"px"}},set:function(a,b){if(Da.test(b)){if(b=parseFloat(b),b>=0)return b+"px"}else return b}}});if(!b.support.opacity)b.cssHooks.opacity={get:function(a,b){return ab.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,c){var d=a.style;d.zoom=1;var f=b.isNaN(c)?"":"alpha(opacity="+c*100+")",e=d.filter||"";d.filter=
Ca.test(e)?e.replace(Ca,f):d.filter+" "+f}};b(function(){if(!b.support.reliableMarginRight)b.cssHooks.marginRight={get:function(a,c){var d;b.swap(a,{display:"inline-block"},function(){d=c?ca(a,"margin-right","marginRight"):a.style.marginRight});return d}}});g.defaultView&&g.defaultView.getComputedStyle&&(W=function(a,c,d){var f;d=d.replace(cb,"-$1").toLowerCase();if(!(c=a.ownerDocument.defaultView))return k;if(c=c.getComputedStyle(a,null))f=c.getPropertyValue(d),f===""&&!b.contains(a.ownerDocument.documentElement,
a)&&(f=b.style(a,d));return f});g.documentElement.currentStyle&&(ha=function(a,b){var d,f=a.currentStyle&&a.currentStyle[b],e=a.runtimeStyle&&a.runtimeStyle[b],g=a.style;if(!Da.test(f)&&db.test(f)){d=g.left;if(e)a.runtimeStyle.left=a.currentStyle.left;g.left=b==="fontSize"?"1em":f||0;f=g.pixelLeft+"px";g.left=d;if(e)a.runtimeStyle.left=e}return f===""?"auto":f});ca=W||ha;if(b.expr&&b.expr.filters)b.expr.filters.hidden=function(a){var c=a.offsetHeight;return a.offsetWidth===0&&c===0||!b.support.reliableHiddenOffsets&&
(a.style.display||b.css(a,"display"))==="none"},b.expr.filters.visible=function(a){return!b.expr.filters.hidden(a)};var gb=/%20/g,Wa=/\[\]$/,Ea=/\r?\n/g,hb=/#.*$/,ib=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,jb=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,kb=/^(?:GET|HEAD)$/,lb=/^\/\//,Fa=/\?/,mb=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,nb=/^(?:select|textarea)/i,va=/\s+/,ob=/([?&])_=[^&]*/,pb=/(^|\-)([a-z])/g,qb=function(a,b,d){return b+d.toUpperCase()},
Ga=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,Ha=b.fn.load,ka={},Ia={},X,Y;try{X=g.location.href}catch(wb){X=g.createElement("a"),X.href="",X=X.href}Y=Ga.exec(X.toLowerCase())||[];b.fn.extend({load:function(a,c,d){if(typeof a!=="string"&&Ha)return Ha.apply(this,arguments);else if(!this.length)return this;var f=a.indexOf(" ");if(f>=0){var e=a.slice(f,a.length);a=a.slice(0,f)}f="GET";c&&(b.isFunction(c)?(d=c,c=k):typeof c==="object"&&(c=b.param(c,b.ajaxSettings.traditional),f="POST"));var g=this;
b.ajax({url:a,type:f,dataType:"html",data:c,complete:function(a,c,f){f=a.responseText;a.isResolved()&&(a.done(function(a){f=a}),g.html(e?b("<div>").append(f.replace(mb,"")).find(e):f));d&&g.each(d,[f,c,a])}});return this},serialize:function(){return b.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?b.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||nb.test(this.nodeName)||jb.test(this.type))}).map(function(a,
c){var d=b(this).val();return d==null?null:b.isArray(d)?b.map(d,function(a){return{name:c.name,value:a.replace(Ea,"\r\n")}}):{name:c.name,value:d.replace(Ea,"\r\n")}}).get()}});b.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,c){b.fn[c]=function(a){return this.bind(c,a)}});b.each(["get","post"],function(a,c){b[c]=function(a,f,e,g){b.isFunction(f)&&(g=g||e,e=f,f=k);return b.ajax({type:c,url:a,data:f,success:e,dataType:g})}});b.extend({getScript:function(a,
c){return b.get(a,k,c,"script")},getJSON:function(a,c,d){return b.get(a,c,d,"json")},ajaxSetup:function(a,c){c?b.extend(!0,a,b.ajaxSettings,c):(c=a,a=b.extend(!0,b.ajaxSettings,c));for(var d in{context:1,url:1})d in c?a[d]=c[d]:d in b.ajaxSettings&&(a[d]=b.ajaxSettings[d]);return a},ajaxSettings:{url:X,isLocal:/^(?:about|app|app\-storage|.+\-extension|file|widget):$/.test(Y[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",
html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":"*/*"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":e.String,"text html":!0,"text json":b.parseJSON,"text xml":b.parseXML}},ajaxPrefilter:P(ka),ajaxTransport:P(Ia),ajax:function(a,c){function d(a,c,d,q){if(w!==2){w=2;v&&clearTimeout(v);s=k;p=q||"";y.readyState=a?4:0;var n,x,D;if(d){q=f;var O=y,z=q.contents,t=q.dataTypes,C=q.responseFields,A,E,
B,G;for(E in C)E in d&&(O[C[E]]=d[E]);for(;t[0]==="*";)t.shift(),A===k&&(A=q.mimeType||O.getResponseHeader("content-type"));if(A)for(E in z)if(z[E]&&z[E].test(A)){t.unshift(E);break}if(t[0]in d)B=t[0];else{for(E in d){if(!t[0]||q.converters[E+" "+t[0]]){B=E;break}G||(G=E)}B=B||G}B?(B!==t[0]&&t.unshift(B),d=d[B]):d=void 0}else d=k;if(a>=200&&a<300||a===304){if(f.ifModified){if(A=y.getResponseHeader("Last-Modified"))b.lastModified[m]=A;if(A=y.getResponseHeader("Etag"))b.etag[m]=A}if(a===304)c="notmodified",
n=!0;else try{A=f;A.dataFilter&&(d=A.dataFilter(d,A.dataType));var T=A.dataTypes;E={};var Q,N,M=T.length,P,L=T[0],F,R,H,J,K;for(Q=1;Q<M;Q++){if(Q===1)for(N in A.converters)typeof N==="string"&&(E[N.toLowerCase()]=A.converters[N]);F=L;L=T[Q];if(L==="*")L=F;else if(F!=="*"&&F!==L){R=F+" "+L;H=E[R]||E["* "+L];if(!H)for(J in K=k,E)if(P=J.split(" "),P[0]===F||P[0]==="*")if(K=E[P[1]+" "+L]){J=E[J];J===!0?H=K:K===!0&&(H=J);break}!H&&!K&&b.error("No conversion from "+R.replace(" "," to "));H!==!0&&(d=H?H(d):
K(J(d)))}}x=d;c="success";n=!0}catch(Ta){c="parsererror",D=Ta}}else if(D=c,!c||a)c="error",a<0&&(a=0);y.status=a;y.statusText=c;n?i.resolveWith(e,[x,c,y]):i.rejectWith(e,[y,c,D]);y.statusCode(l);l=k;u&&g.trigger("ajax"+(n?"Success":"Error"),[y,f,n?x:D]);j.resolveWith(e,[y,c]);u&&(g.trigger("ajaxComplete",[y,f]),--b.active||b.event.trigger("ajaxStop"))}}typeof a==="object"&&(c=a,a=k);c=c||{};var f=b.ajaxSetup({},c),e=f.context||f,g=e!==f&&(e.nodeType||e instanceof b)?b(e):b.event,i=b.Deferred(),j=
b._Deferred(),l=f.statusCode||{},m,q={},p,n,s,v,x,w=0,u,D,y={readyState:0,setRequestHeader:function(a,b){w||(q[a.toLowerCase().replace(pb,qb)]=b);return this},getAllResponseHeaders:function(){return w===2?p:null},getResponseHeader:function(a){var b;if(w===2){if(!n)for(n={};b=ib.exec(p);)n[b[1].toLowerCase()]=b[2];b=n[a.toLowerCase()]}return b===k?null:b},overrideMimeType:function(a){if(!w)f.mimeType=a;return this},abort:function(a){a=a||"abort";s&&s.abort(a);d(0,a);return this}};i.promise(y);y.success=
y.done;y.error=y.fail;y.complete=j.done;y.statusCode=function(a){if(a){var b;if(w<2)for(b in a)l[b]=[l[b],a[b]];else b=a[y.status],y.then(b,b)}return this};f.url=((a||f.url)+"").replace(hb,"").replace(lb,Y[1]+"//");f.dataTypes=b.trim(f.dataType||"*").toLowerCase().split(va);if(f.crossDomain==null)x=Ga.exec(f.url.toLowerCase()),f.crossDomain=!(!x||!(x[1]!=Y[1]||x[2]!=Y[2]||(x[3]||(x[1]==="http:"?80:443))!=(Y[3]||(Y[1]==="http:"?80:443))));if(f.data&&f.processData&&typeof f.data!=="string")f.data=b.param(f.data,
f.traditional);M(ka,f,c,y);if(w===2)return!1;u=f.global;f.type=f.type.toUpperCase();f.hasContent=!kb.test(f.type);u&&b.active++===0&&b.event.trigger("ajaxStart");if(!f.hasContent&&(f.data&&(f.url+=(Fa.test(f.url)?"&":"?")+f.data),m=f.url,f.cache===!1)){x=b.now();var O=f.url.replace(ob,"$1_="+x);f.url=O+(O===f.url?(Fa.test(f.url)?"&":"?")+"_="+x:"")}if(f.data&&f.hasContent&&f.contentType!==!1||c.contentType)q["Content-Type"]=f.contentType;f.ifModified&&(m=m||f.url,b.lastModified[m]&&(q["If-Modified-Since"]=
b.lastModified[m]),b.etag[m]&&(q["If-None-Match"]=b.etag[m]));q.Accept=f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+(f.dataTypes[0]!=="*"?", */*; q=0.01":""):f.accepts["*"];for(D in f.headers)y.setRequestHeader(D,f.headers[D]);if(f.beforeSend&&(f.beforeSend.call(e,y,f)===!1||w===2))return y.abort(),!1;for(D in{success:1,error:1,complete:1})y[D](f[D]);if(s=M(Ia,f,c,y)){y.readyState=1;u&&g.trigger("ajaxSend",[y,f]);f.async&&f.timeout>0&&(v=setTimeout(function(){y.abort("timeout")},
f.timeout));try{w=1,s.send(q,d)}catch(z){status<2?d(-1,z):b.error(z)}}else d(-1,"No Transport");return y},param:function(a,c){var d=[],f=function(a,c){c=b.isFunction(c)?c():c;d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(c)};if(c===k)c=b.ajaxSettings.traditional;if(b.isArray(a)||a.jquery&&!b.isPlainObject(a))b.each(a,function(){f(this.name,this.value)});else for(var e in a)S(e,a[e],c,f);return d.join("&").replace(gb,"+")}});b.extend({active:0,lastModified:{},etag:{}});var rb=b.now(),ia=
/(\=)\?(&|$)|\?\?/i;b.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return b.expando+"_"+rb++}});b.ajaxPrefilter("json jsonp",function(a,c,d){var f=typeof a.data==="string";if(a.dataTypes[0]==="jsonp"||c.jsonpCallback||c.jsonp!=null||a.jsonp!==!1&&(ia.test(a.url)||f&&ia.test(a.data))){var h,g=a.jsonpCallback=b.isFunction(a.jsonpCallback)?a.jsonpCallback():a.jsonpCallback,i=e[g];c=a.url;var k=a.data,j="$1"+g+"$2",l=function(){e[g]=i;if(h&&b.isFunction(i))e[g](h[0])};a.jsonp!==!1&&(c=c.replace(ia,
j),a.url===c&&(f&&(k=k.replace(ia,j)),a.data===k&&(c+=(/\?/.test(c)?"&":"?")+a.jsonp+"="+g)));a.url=c;a.data=k;e[g]=function(a){h=[a]};d.then(l,l);a.converters["script json"]=function(){h||b.error(g+" was not called");return h[0]};a.dataTypes[0]="json";return"script"}});b.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){b.globalEval(a);return a}}});
b.ajaxPrefilter("script",function(a){if(a.cache===k)a.cache=!1;if(a.crossDomain)a.type="GET",a.global=!1});b.ajaxTransport("script",function(a){if(a.crossDomain){var b,d=g.head||g.getElementsByTagName("head")[0]||g.documentElement;return{send:function(f,e){b=g.createElement("script");b.async="async";if(a.scriptCharset)b.charset=a.scriptCharset;b.src=a.url;b.onload=b.onreadystatechange=function(a,f){if(!b.readyState||/loaded|complete/.test(b.readyState))b.onload=b.onreadystatechange=null,d&&b.parentNode&&
d.removeChild(b),b=k,f||e(200,"success")};d.insertBefore(b,d.firstChild)},abort:function(){if(b)b.onload(0,1)}}}});var sb=b.now(),aa;b.ajaxSettings.xhr=e.ActiveXObject?function(){var a;if(!(a=!this.isLocal&&B()))a:{try{a=new e.ActiveXObject("Microsoft.XMLHTTP");break a}catch(b){}a=void 0}return a}:B;W=b.ajaxSettings.xhr();b.support.ajax=!!W;b.support.cors=W&&"withCredentials"in W;W=k;b.support.ajax&&b.ajaxTransport(function(a){if(!a.crossDomain||b.support.cors){var c;return{send:function(d,f){var e=
a.xhr(),g,i;a.username?e.open(a.type,a.url,a.async,a.username,a.password):e.open(a.type,a.url,a.async);if(a.xhrFields)for(i in a.xhrFields)e[i]=a.xhrFields[i];a.mimeType&&e.overrideMimeType&&e.overrideMimeType(a.mimeType);!a.crossDomain&&!d["X-Requested-With"]&&(d["X-Requested-With"]="XMLHttpRequest");try{for(i in d)e.setRequestHeader(i,d[i])}catch(j){}e.send(a.hasContent&&a.data||null);c=function(d,i){var j,l,m,q,n;try{if(c&&(i||e.readyState===4)){c=k;if(g)e.onreadystatechange=b.noop,delete aa[g];
if(i)e.readyState!==4&&e.abort();else{j=e.status;m=e.getAllResponseHeaders();q={};if((n=e.responseXML)&&n.documentElement)q.xml=n;q.text=e.responseText;try{l=e.statusText}catch(p){l=""}!j&&a.isLocal&&!a.crossDomain?j=q.text?200:404:j===1223&&(j=204)}}}catch(s){i||f(-1,s)}q&&f(j,l,q,m)};!a.async||e.readyState===4?c():(aa||(aa={},z()),g=sb++,e.onreadystatechange=aa[g]=c)},abort:function(){c&&c(0,1)}}}});var la={},tb=/^(?:toggle|show|hide)$/,ub=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,ja,wa=[["height","marginTop",
"marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];b.fn.extend({show:function(a,c,d){if(a||a===0)return this.animate(F("show",3),a,c,d);else{d=0;for(var f=this.length;d<f;d++){a=this[d];c=a.style.display;if(!b._data(a,"olddisplay")&&c==="none")c=a.style.display="";c===""&&b.css(a,"display")==="none"&&b._data(a,"olddisplay",i(a.nodeName))}for(d=0;d<f;d++)if(a=this[d],c=a.style.display,c===""||c==="none")a.style.display=b._data(a,
"olddisplay")||"";return this}},hide:function(a,c,d){if(a||a===0)return this.animate(F("hide",3),a,c,d);else{a=0;for(c=this.length;a<c;a++)d=b.css(this[a],"display"),d!=="none"&&!b._data(this[a],"olddisplay")&&b._data(this[a],"olddisplay",d);for(a=0;a<c;a++)this[a].style.display="none";return this}},_toggle:b.fn.toggle,toggle:function(a,c,d){var f=typeof a==="boolean";b.isFunction(a)&&b.isFunction(c)?this._toggle.apply(this,arguments):a==null||f?this.each(function(){var c=f?a:b(this).is(":hidden");
b(this)[c?"show":"hide"]()}):this.animate(F("toggle",3),a,c,d);return this},fadeTo:function(a,b,d,f){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,d,f)},animate:function(a,c,d,f){var e=b.speed(c,d,f);if(b.isEmptyObject(a))return this.each(e.complete);return this[e.queue===!1?"each":"queue"](function(){var c=b.extend({},e),d,f=this.nodeType===1,g=f&&b(this).is(":hidden"),k=this;for(d in a){var j=b.camelCase(d);d!==j&&(a[j]=a[d],delete a[d],d=j);if(a[d]==="hide"&&
g||a[d]==="show"&&!g)return c.complete.call(this);if(f&&(d==="height"||d==="width"))if(c.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY],b.css(this,"display")==="inline"&&b.css(this,"float")==="none")b.support.inlineBlockNeedsLayout?i(this.nodeName)==="inline"?this.style.display="inline-block":(this.style.display="inline",this.style.zoom=1):this.style.display="inline-block";if(b.isArray(a[d]))(c.specialEasing=c.specialEasing||{})[d]=a[d][1],a[d]=a[d][0]}if(c.overflow!=null)this.style.overflow=
"hidden";c.curAnim=b.extend({},a);b.each(a,function(d,f){var e=new b.fx(k,c,d);if(tb.test(f))e[f==="toggle"?g?"show":"hide":f](a);else{var h=ub.exec(f),i=e.cur();if(h){var j=parseFloat(h[2]),l=h[3]||(b.cssNumber[d]?"":"px");l!=="px"&&(b.style(k,d,(j||1)+l),i*=(j||1)/e.cur(),b.style(k,d,i+l));h[1]&&(j=(h[1]==="-="?-1:1)*j+i);e.custom(i,j,l)}else e.custom(i,f,"")}});return!0})},stop:function(a,c){var d=b.timers;a&&this.queue([]);this.each(function(){for(var a=d.length-1;a>=0;a--)if(d[a].elem===this){if(c)d[a](!0);
d.splice(a,1)}});c||this.dequeue();return this}});b.each({slideDown:F("show",1),slideUp:F("hide",1),slideToggle:F("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,c){b.fn[a]=function(a,b,e){return this.animate(c,a,b,e)}});b.extend({speed:function(a,c,d){var f=a&&typeof a==="object"?b.extend({},a):{complete:d||!d&&c||b.isFunction(a)&&a,duration:a,easing:d&&c||c&&!b.isFunction(c)&&c};f.duration=b.fx.off?0:typeof f.duration==="number"?f.duration:
f.duration in b.fx.speeds?b.fx.speeds[f.duration]:b.fx.speeds._default;f.old=f.complete;f.complete=function(){f.queue!==!1&&b(this).dequeue();b.isFunction(f.old)&&f.old.call(this)};return f},easing:{linear:function(a,b,d,f){return d+f*a},swing:function(a,b,d,f){return(-Math.cos(a*Math.PI)/2+0.5)*f+d}},timers:[],fx:function(a,b,d){this.options=b;this.elem=a;this.prop=d;if(!b.orig)b.orig={}}});b.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(b.fx.step[this.prop]||
b.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];var a,c=b.css(this.elem,this.prop);return isNaN(a=parseFloat(c))?!c||c==="auto"?0:c:a},custom:function(a,c,d){function f(a){return e.step(a)}var e=this,g=b.fx;this.startTime=b.now();this.start=a;this.end=c;this.unit=d||this.unit||(b.cssNumber[this.prop]?"":"px");this.now=this.start;this.pos=this.state=0;f.elem=this.elem;f()&&b.timers.push(f)&&!ja&&
(ja=setInterval(g.tick,g.interval))},show:function(){this.options.orig[this.prop]=b.style(this.elem,this.prop);this.options.show=!0;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());b(this.elem).show()},hide:function(){this.options.orig[this.prop]=b.style(this.elem,this.prop);this.options.hide=!0;this.custom(this.cur(),0)},step:function(a){var c=b.now(),d=!0;if(a||c>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=
!0;for(var f in this.options.curAnim)this.options.curAnim[f]!==!0&&(d=!1);if(d){if(this.options.overflow!=null&&!b.support.shrinkWrapBlocks){var e=this.elem,g=this.options;b.each(["","X","Y"],function(a,b){e.style["overflow"+b]=g.overflow[a]})}this.options.hide&&b(this.elem).hide();if(this.options.hide||this.options.show)for(var i in this.options.curAnim)b.style(this.elem,i,this.options.orig[i]);this.options.complete.call(this.elem)}return!1}else a=c-this.startTime,this.state=a/this.options.duration,
c=this.options.easing||(b.easing.swing?"swing":"linear"),this.pos=b.easing[this.options.specialEasing&&this.options.specialEasing[this.prop]||c](this.state,a,0,1,this.options.duration),this.now=this.start+(this.end-this.start)*this.pos,this.update();return!0}};b.extend(b.fx,{tick:function(){for(var a=b.timers,c=0;c<a.length;c++)a[c]()||a.splice(c--,1);a.length||b.fx.stop()},interval:13,stop:function(){clearInterval(ja);ja=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){b.style(a.elem,
"opacity",a.now)},_default:function(a){a.elem.style&&a.elem.style[a.prop]!=null?a.elem.style[a.prop]=(a.prop==="width"||a.prop==="height"?Math.max(0,a.now):a.now)+a.unit:a.elem[a.prop]=a.now}}});if(b.expr&&b.expr.filters)b.expr.filters.animated=function(a){return b.grep(b.timers,function(b){return a===b.elem}).length};var vb=/^t(?:able|d|h)$/i,Ja=/^(?:body|html)$/i;b.fn.offset="getBoundingClientRect"in g.documentElement?function(a){var c=this[0],d;if(a)return this.each(function(c){b.offset.setOffset(this,
a,c)});if(!c||!c.ownerDocument)return null;if(c===c.ownerDocument.body)return b.offset.bodyOffset(c);try{d=c.getBoundingClientRect()}catch(f){}var e=c.ownerDocument,g=e.documentElement;if(!d||!b.contains(g,c))return d?{top:d.top,left:d.left}:{top:0,left:0};c=e.body;e=l(e);return{top:d.top+(e.pageYOffset||b.support.boxModel&&g.scrollTop||c.scrollTop)-(g.clientTop||c.clientTop||0),left:d.left+(e.pageXOffset||b.support.boxModel&&g.scrollLeft||c.scrollLeft)-(g.clientLeft||c.clientLeft||0)}}:function(a){var c=
this[0];if(a)return this.each(function(c){b.offset.setOffset(this,a,c)});if(!c||!c.ownerDocument)return null;if(c===c.ownerDocument.body)return b.offset.bodyOffset(c);b.offset.initialize();var d,f=c.offsetParent,e=c.ownerDocument,g=e.documentElement,i=e.body;d=(e=e.defaultView)?e.getComputedStyle(c,null):c.currentStyle;for(var j=c.offsetTop,k=c.offsetLeft;(c=c.parentNode)&&c!==i&&c!==g;){if(b.offset.supportsFixedPosition&&d.position==="fixed")break;d=e?e.getComputedStyle(c,null):c.currentStyle;j-=
c.scrollTop;k-=c.scrollLeft;if(c===f){j+=c.offsetTop;k+=c.offsetLeft;if(b.offset.doesNotAddBorder&&(!b.offset.doesAddBorderForTableAndCells||!vb.test(c.nodeName)))j+=parseFloat(d.borderTopWidth)||0,k+=parseFloat(d.borderLeftWidth)||0;f=c.offsetParent}b.offset.subtractsBorderForOverflowNotVisible&&d.overflow!=="visible"&&(j+=parseFloat(d.borderTopWidth)||0,k+=parseFloat(d.borderLeftWidth)||0)}if(d.position==="relative"||d.position==="static")j+=i.offsetTop,k+=i.offsetLeft;b.offset.supportsFixedPosition&&
d.position==="fixed"&&(j+=Math.max(g.scrollTop,i.scrollTop),k+=Math.max(g.scrollLeft,i.scrollLeft));return{top:j,left:k}};b.offset={initialize:function(){var a=g.body,c=g.createElement("div"),d,f,e,i=parseFloat(b.css(a,"marginTop"))||0;b.extend(c.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"});c.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(c,a.firstChild);d=c.firstChild;f=d.firstChild;e=d.nextSibling.firstChild.firstChild;this.doesNotAddBorder=f.offsetTop!==5;this.doesAddBorderForTableAndCells=e.offsetTop===5;f.style.position="fixed";f.style.top="20px";this.supportsFixedPosition=f.offsetTop===20||f.offsetTop===15;f.style.position=f.style.top="";d.style.overflow="hidden";d.style.position="relative";this.subtractsBorderForOverflowNotVisible=f.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==i;a.removeChild(c);
b.offset.initialize=b.noop},bodyOffset:function(a){var c=a.offsetTop,d=a.offsetLeft;b.offset.initialize();b.offset.doesNotIncludeMarginInBodyOffset&&(c+=parseFloat(b.css(a,"marginTop"))||0,d+=parseFloat(b.css(a,"marginLeft"))||0);return{top:c,left:d}},setOffset:function(a,c,d){var f=b.css(a,"position");if(f==="static")a.style.position="relative";var e=b(a),g=e.offset(),i=b.css(a,"top"),j=b.css(a,"left"),k=(f==="absolute"||f==="fixed")&&b.inArray("auto",[i,j])>-1;f={};var l={};k&&(l=e.position());
i=k?l.top:parseInt(i,10)||0;j=k?l.left:parseInt(j,10)||0;b.isFunction(c)&&(c=c.call(a,d,g));if(c.top!=null)f.top=c.top-g.top+i;if(c.left!=null)f.left=c.left-g.left+j;"using"in c?c.using.call(a,f):e.css(f)}};b.fn.extend({position:function(){if(!this[0])return null;var a=this[0],c=this.offsetParent(),d=this.offset(),f=Ja.test(c[0].nodeName)?{top:0,left:0}:c.offset();d.top-=parseFloat(b.css(a,"marginTop"))||0;d.left-=parseFloat(b.css(a,"marginLeft"))||0;f.top+=parseFloat(b.css(c[0],"borderTopWidth"))||
0;f.left+=parseFloat(b.css(c[0],"borderLeftWidth"))||0;return{top:d.top-f.top,left:d.left-f.left}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||g.body;a&&!Ja.test(a.nodeName)&&b.css(a,"position")==="static";)a=a.offsetParent;return a})}});b.each(["Left","Top"],function(a,c){var d="scroll"+c;b.fn[d]=function(c){var e=this[0],g;if(!e)return null;return c!==k?this.each(function(){(g=l(this))?g.scrollTo(!a?c:b(g).scrollLeft(),a?c:b(g).scrollTop()):this[d]=c}):(g=l(e))?
"pageXOffset"in g?g[a?"pageYOffset":"pageXOffset"]:b.support.boxModel&&g.document.documentElement[d]||g.document.body[d]:e[d]}});b.each(["Height","Width"],function(a,c){var d=c.toLowerCase();b.fn["inner"+c]=function(){return this[0]?parseFloat(b.css(this[0],d,"padding")):null};b.fn["outer"+c]=function(a){return this[0]?parseFloat(b.css(this[0],d,a?"margin":"border")):null};b.fn[d]=function(a){var e=this[0];if(!e)return a==null?null:this;if(b.isFunction(a))return this.each(function(c){var e=b(this);
e[d](a.call(this,c,e[d]()))});if(b.isWindow(e)){var g=e.document.documentElement["client"+c];return e.document.compatMode==="CSS1Compat"&&g||e.document.body["client"+c]||g}else return e.nodeType===9?Math.max(e.documentElement["client"+c],e.body["scroll"+c],e.documentElement["scroll"+c],e.body["offset"+c],e.documentElement["offset"+c]):a===k?(e=b.css(e,d),g=parseFloat(e),b.isNaN(g)?e:g):this.css(d,typeof a==="string"?a:a+"px")}});e.jQuery=e.$=b})(window);
(function(e){e.extend({tablesorter:new function(){function j(e,j){k(e+","+((new Date).getTime()-j.getTime())+"ms")}function k(e){typeof console!="undefined"&&typeof console.debug!="undefined"?console.log(e):alert(e)}function u(i,j){if(i.config.debug)var g="";if(i.tBodies.length!=0){var b=i.tBodies[0].rows;if(b[0])for(var m=[],v=b[0].cells.length,p=0;p<v;p++){var n=!1;e.metadata&&e(j[p]).metadata()&&e(j[p]).metadata().sorter?n=C(e(j[p]).metadata().sorter):i.config.headers[p]&&i.config.headers[p].sorter&&
(n=C(i.config.headers[p].sorter));if(!n)a:{n=i;for(var x=b,w=-1,u=p,E=B.length,A=!1,t=!1,z=!0;t==""&&z;)w++,x[w]?(A=x[w].cells[u],t=e.trim(J(n.config,A)),n.config.debug&&k("Checking if value was empty on row:"+w)):z=!1;for(x=1;x<E;x++)if(B[x].is(t,n,A)){n=B[x];break a}n=B[0]}i.config.debug&&(g+="column:"+p+" parser:"+n.id+"\n");m.push(n)}i.config.debug&&k(g);return m}}function C(e){for(var j=B.length,g=0;g<j;g++)if(B[g].id.toLowerCase()==e.toLowerCase())return B[g];return!1}function t(i){if(i.config.debug)var k=
new Date;for(var g=i.tBodies[0]&&i.tBodies[0].rows.length||0,b=i.tBodies[0].rows[0]&&i.tBodies[0].rows[0].cells.length||0,m=i.config.parsers,v={row:[],normalized:[]},p=0;p<g;++p){var n=e(i.tBodies[0].rows[p]),x=[];if(n.hasClass(i.config.cssChildRow))v.row[v.row.length-1]=v.row[v.row.length-1].add(n);else{v.row.push(n);for(var w=0;w<b;++w)x.push(m[w].format(J(i.config,n[0].cells[w]),i,n[0].cells[w]));x.push(v.normalized.length);v.normalized.push(x)}}i.config.debug&&j("Building cache for "+g+" rows:",
k);return v}function J(i,j){var g="";if(!j)return"";if(!i.supportsTextContent)i.supportsTextContent=j.textContent||!1;return g=i.textExtraction=="simple"?i.supportsTextContent?j.textContent:j.childNodes[0]&&j.childNodes[0].hasChildNodes()?j.childNodes[0].innerHTML:j.innerHTML:typeof i.textExtraction=="function"?i.textExtraction(j):e(j).text()}function m(i,k){if(i.config.debug)var g=new Date;for(var b=k.row,m=k.normalized,v=m.length,p=m[0].length-1,n=e(i.tBodies[0]),x=[],w=0;w<v;w++){var u=m[w][p];
x.push(b[u]);if(!i.config.appender)for(var A=b[u].length,t=0;t<A;t++)n[0].appendChild(b[u][t])}i.config.appender&&i.config.appender(i,x);x=null;i.config.debug&&j("Rebuilt table:",g);G(i);setTimeout(function(){e(i).trigger("sortEnd")},0)}function v(i){if(i.config.debug)var m=new Date;var g=A(i);$tableHeaders=e(i.config.selectorHeaders,i).each(function(b){this.column=g[this.parentNode.rowIndex+"-"+this.cellIndex];this.count=this.order=typeof i.config.sortInitialOrder!="Number"?i.config.sortInitialOrder.toLowerCase()==
"desc"?1:0:i.config.sortInitialOrder==1?1:0;var j;j=e.metadata&&e(this).metadata().sorter===!1?!0:!1;j||(j=i.config.headers[b]&&i.config.headers[b].sorter===!1?!0:!1);if(j)this.sortDisabled=!0;if(R(i,b))this.order=this.lockedOrder=R(i,b);this.sortDisabled||(j=e(this).addClass(i.config.cssHeader),i.config.onRenderHeader&&i.config.onRenderHeader.apply(j));i.config.headerList[b]=this});i.config.debug&&(j("Built headers:",m),k($tableHeaders));return $tableHeaders}function A(e){var j=[],g={};e=e.getElementsByTagName("THEAD")[0].getElementsByTagName("TR");
for(var b=0;b<e.length;b++)for(var k=e[b].cells,m=0;m<k.length;m++){var p=k[m],n=p.parentNode.rowIndex,v=n+"-"+p.cellIndex,w=p.rowSpan||1;p=p.colSpan||1;var u;typeof j[n]=="undefined"&&(j[n]=[]);for(var t=0;t<j[n].length+1;t++)if(typeof j[n][t]=="undefined"){u=t;break}g[v]=u;for(t=n;t<n+w;t++){typeof j[t]=="undefined"&&(j[t]=[]);v=j[t];for(var A=u;A<u+p;A++)v[A]="x"}}return g}function R(e,j){if(e.config.headers[j]&&e.config.headers[j].lockedOrder)return e.config.headers[j].lockedOrder;return!1}function G(e){for(var j=
e.config.widgets,g=j.length,b=0;b<g;b++)Z(j[b]).format(e)}function Z(e){for(var j=F.length,g=0;g<j;g++)if(F[g].id.toLowerCase()==e.toLowerCase())return F[g]}function N(e,j){for(var g=j.length,b=0;b<g;b++)if(j[b][0]==e)return!0;return!1}function P(i,j,g,b){j.removeClass(b[0]).removeClass(b[1]);var k=[];j.each(function(){this.sortDisabled||(k[this.column]=e(this))});i=g.length;for(j=0;j<i;j++)k[g[j][0]].addClass(b[g[j][1]])}function M(i){if(i.config.widthFixed){var j=e("<colgroup>");e("tr:first td",
i.tBodies[0]).each(function(){j.append(e("<col>").css("width",e(this).width()))});e(i).prepend(j)}}function S(e,k,g){if(e.config.debug)var b=new Date;for(var m="var sortWrapper = function(a,b) {",v=k.length,p=0;p<v;p++){var n=k[p][0],x=k[p][1];n=e.config.parsers[n].type=="text"?x==0?z("text","asc",n):z("text","desc",n):x==0?z("numeric","asc",n):z("numeric","desc",n);var w="e"+p;m+="var "+w+" = "+n;m+="if("+w+") { return "+w+"; } ";m+="else { "}p=g.normalized[0].length-1;m+="return a["+p+"]-b["+p+
"];";for(p=0;p<v;p++)m+="}; ";m+="return 0; ";m+="}; ";e.config.debug&&j("Evaling expression:"+m,new Date);eval(m);g.normalized.sort(sortWrapper);e.config.debug&&j("Sorting on "+k.toString()+" and dir "+x+" time:",b);return g}function z(e,j,g){var b="a["+g+"]";g="b["+g+"]";if(e=="text"&&j=="asc")return"("+b+" == "+g+" ? 0 : ("+b+" === null ? Number.POSITIVE_INFINITY : ("+g+" === null ? Number.NEGATIVE_INFINITY : ("+b+" < "+g+") ? -1 : 1 )));";else if(e=="text"&&j=="desc")return"("+b+" == "+g+" ? 0 : ("+
b+" === null ? Number.POSITIVE_INFINITY : ("+g+" === null ? Number.NEGATIVE_INFINITY : ("+g+" < "+b+") ? -1 : 1 )));";else if(e=="numeric"&&j=="asc")return"("+b+" === null && "+g+" === null) ? 0 :("+b+" === null ? Number.POSITIVE_INFINITY : ("+g+" === null ? Number.NEGATIVE_INFINITY : "+b+" - "+g+"));";else if(e=="numeric"&&j=="desc")return"("+b+" === null && "+g+" === null) ? 0 :("+b+" === null ? Number.POSITIVE_INFINITY : ("+g+" === null ? Number.NEGATIVE_INFINITY : "+g+" - "+b+"));"}var B=[],F=
[];this.defaults={cssHeader:"header",cssAsc:"headerSortUp",cssDesc:"headerSortDown",cssChildRow:"expand-child",sortInitialOrder:"asc",sortMultiSortKey:"shiftKey",sortForce:null,sortAppend:null,sortLocaleCompare:!0,textExtraction:"simple",parsers:{},widgets:[],widgetZebra:{css:["even","odd"]},headers:{},widthFixed:!1,cancelSelection:!0,sortList:[],headerList:[],dateFormat:"us",decimal:"/.|,/g",onRenderHeader:null,selectorHeaders:"thead th",debug:!1};this.benchmark=j;this.construct=function(i){return this.each(function(){if(this.tHead&&
this.tBodies){var j,g,b,k;this.config={};k=e.extend(this.config,e.tablesorter.defaults,i);j=e(this);e.data(this,"tablesorter",k);g=v(this);this.config.parsers=u(this,g);b=t(this);var A=[k.cssDesc,k.cssAsc];M(this);g.click(function(i){var n=j[0].tBodies[0]&&j[0].tBodies[0].rows.length||0;if(!this.sortDisabled&&n>0){j.trigger("sortStart");e(this);n=this.column;this.order=this.count++%2;if(this.lockedOrder)this.order=this.lockedOrder;if(i[k.sortMultiSortKey])if(N(n,k.sortList))for(i=0;i<k.sortList.length;i++){var v=
k.sortList[i],w=k.headerList[v[0]];if(v[0]==n)w.count=v[1],w.count++,v[1]=w.count%2}else k.sortList.push([n,this.order]);else{k.sortList=[];if(k.sortForce!=null){v=k.sortForce;for(i=0;i<v.length;i++)v[i][0]!=n&&k.sortList.push(v[i])}k.sortList.push([n,this.order])}setTimeout(function(){P(j[0],g,k.sortList,A);m(j[0],S(j[0],k.sortList,b))},1);return!1}}).mousedown(function(){if(k.cancelSelection)return this.onselectstart=function(){return!1},!1});j.bind("update",function(){var e=this;setTimeout(function(){e.config.parsers=
u(e,g);b=t(e)},1)}).bind("updateCell",function(e,g){var i=this.config,j=[g.parentNode.rowIndex-1,g.cellIndex];b.normalized[j[0]][j[1]]=i.parsers[j[1]].format(J(i,g),g)}).bind("sorton",function(i,j){e(this).trigger("sortStart");k.sortList=j;for(var l=k.sortList,v=this.config,u=l.length,t=0;t<u;t++){var z=l[t],D=v.headerList[z[0]];D.count=z[1];D.count++}P(this,g,l,A);m(this,S(this,l,b))}).bind("appendCache",function(){m(this,b)}).bind("applyWidgetId",function(b,e){Z(e).format(this)}).bind("applyWidgets",
function(){G(this)});if(e.metadata&&e(this).metadata()&&e(this).metadata().sortlist)k.sortList=e(this).metadata().sortlist;k.sortList.length>0&&j.trigger("sorton",[k.sortList]);G(this)}})};this.addParser=function(e){for(var j=B.length,g=!0,b=0;b<j;b++)B[b].id.toLowerCase()==e.id.toLowerCase()&&(g=!1);g&&B.push(e)};this.addWidget=function(e){F.push(e)};this.formatFloat=function(e){e=parseFloat(e);return isNaN(e)?0:e};this.formatInt=function(e){e=parseInt(e);return isNaN(e)?0:e};this.isDigit=function(i){return/^[-+]?\d*$/.test(e.trim(i.replace(/[,.']/g,
"")))};this.clearTableBody=function(i){e.browser.msie?function(){for(;this.firstChild;)this.removeChild(this.firstChild)}.apply(i.tBodies[0]):i.tBodies[0].innerHTML=""}}});e.fn.extend({tablesorter:e.tablesorter.construct});var k=e.tablesorter;k.addParser({id:"text",is:function(){return!0},format:function(j){return e.trim(j.toLocaleLowerCase())},type:"text"});k.addParser({id:"digit",is:function(j,k){return e.tablesorter.isDigit(j,k.config)},format:function(j){return e.tablesorter.formatFloat(j)},type:"numeric"});
k.addParser({id:"currency",is:function(e){return/^[\u00a3$\u20ac?.]/.test(e)},format:function(j){return e.tablesorter.formatFloat(j.replace(RegExp(/[\u00a3$\u20ac]/g),""))},type:"numeric"});k.addParser({id:"ipAddress",is:function(e){return/^\d{2,3}[\.]\d{2,3}[\.]\d{2,3}[\.]\d{2,3}$/.test(e)},format:function(j){j=j.split(".");for(var k="",u=j.length,C=0;C<u;C++){var t=j[C];k+=t.length==2?"0"+t:t}return e.tablesorter.formatFloat(k)},type:"numeric"});k.addParser({id:"url",is:function(e){return/^(https?|ftp|file):\/\/$/.test(e)},
format:function(e){return jQuery.trim(e.replace(RegExp(/(https?|ftp|file):\/\//),""))},type:"text"});k.addParser({id:"isoDate",is:function(e){return/^\d{4}[\/-]\d{1,2}[\/-]\d{1,2}$/.test(e)},format:function(j){return e.tablesorter.formatFloat(j!=""?(new Date(j.replace(RegExp(/-/g),"/"))).getTime():"0")},type:"numeric"});k.addParser({id:"percent",is:function(j){return/\%$/.test(e.trim(j))},format:function(j){return e.tablesorter.formatFloat(j.replace(RegExp(/%/g),""))},type:"numeric"});k.addParser({id:"usLongDate",
is:function(e){return e.match(RegExp(/^[A-Za-z]{3,10}\.? [0-9]{1,2}, ([0-9]{4}|'?[0-9]{2}) (([0-2]?[0-9]:[0-5][0-9])|([0-1]?[0-9]:[0-5][0-9]\s(AM|PM)))$/))},format:function(j){return e.tablesorter.formatFloat((new Date(j)).getTime())},type:"numeric"});k.addParser({id:"shortDate",is:function(e){return/\d{1,2}[\/\-]\d{1,2}[\/\-]\d{2,4}/.test(e)},format:function(j,k){var u=k.config;j=j.replace(/\-/g,"/");if(u.dateFormat=="us")j=j.replace(/(\d{1,2})[\/\-](\d{1,2})[\/\-](\d{4})/,"$3/$1/$2");else if(u.dateFormat==
"uk")j=j.replace(/(\d{1,2})[\/\-](\d{1,2})[\/\-](\d{4})/,"$3/$2/$1");else if(u.dateFormat=="dd/mm/yy"||u.dateFormat=="dd-mm-yy")j=j.replace(/(\d{1,2})[\/\-](\d{1,2})[\/\-](\d{2})/,"$1/$2/$3");return e.tablesorter.formatFloat((new Date(j)).getTime())},type:"numeric"});k.addParser({id:"time",is:function(e){return/^(([0-2]?[0-9]:[0-5][0-9])|([0-1]?[0-9]:[0-5][0-9]\s(am|pm)))$/.test(e)},format:function(j){return e.tablesorter.formatFloat((new Date("2000/01/01 "+j)).getTime())},type:"numeric"});k.addParser({id:"metadata",
is:function(){return!1},format:function(j,k,u){j=k.config;j=!j.parserMetadataName?"sortValue":j.parserMetadataName;return e(u).metadata()[j]},type:"numeric"});k.addWidget({id:"zebra",format:function(j){if(j.config.debug)var k=new Date;var u,C=-1,t;e("tr:visible",j.tBodies[0]).each(function(){u=e(this);u.hasClass(j.config.cssChildRow)||C++;t=C%2==0;u.removeClass(j.config.widgetZebra.css[t?0:1]).addClass(j.config.widgetZebra.css[t?1:0])});j.config.debug&&e.tablesorter.benchmark("Applying Zebra widget",
k)}})})(jQuery);
var FORMALIZE=function(e,k,j){var D="placeholder"in j.createElement("input"),u="autofocus"in j.createElement("input"),C="webkitAppearance"in j.createElement("select").style,t=!!(e.browser.msie&&parseInt(e.browser.version,10)===6),J=!!(e.browser.msie&&parseInt(e.browser.version,10)===7);return{go:function(){for(var e in FORMALIZE.init)FORMALIZE.init[e]()},init:{detect_webkit:function(){C&&e("html").addClass("is_webkit")},full_input_size:function(){J&&e("textarea, input.input_full").length&&e("textarea, input.input_full").wrap('<span class="input_full_wrap"></span>')},
ie6_skin_inputs:function(){if(t&&e("input, select, textarea").length){var j=/button|submit|reset/,k=/date|datetime|datetime-local|email|month|number|password|range|search|tel|text|time|url|week/;e("input").each(function(){var t=e(this);this.getAttribute("type").match(j)?(t.addClass("ie6_button"),this.disabled&&t.addClass("ie6_button_disabled")):this.getAttribute("type").match(k)&&(t.addClass("ie6_input"),this.disabled&&t.addClass("ie6_input_disabled"))});e("textarea, select").each(function(){this.disabled&&
e(this).addClass("ie6_input_disabled")})}},autofocus:function(){!u&&e(":input[autofocus]").length&&e(":input[autofocus]:visible:first").focus()},placeholder:function(){!D&&e(":input[placeholder]").length&&(FORMALIZE.misc.add_placeholder(),e(":input[placeholder]").each(function(){var j=e(this),k=j.attr("placeholder");j.focus(function(){j.val()===k&&j.val("").removeClass("placeholder_text")}).blur(function(){FORMALIZE.misc.add_placeholder()});j.closest("form").submit(function(){j.val()===k&&j.val("").removeClass("placeholder_text")}).bind("reset",
function(){setTimeout(FORMALIZE.misc.add_placeholder,50)})}))}},misc:{add_placeholder:function(){!D&&e(":input[placeholder]").length&&e(":input[placeholder]").each(function(){var j=e(this),k=j.attr("placeholder");(!j.val()||j.val()===k)&&j.val(k).addClass("placeholder_text")})}}}}(jQuery,this,this.document);jQuery(document).ready(function(){FORMALIZE.go()});
jQuery.fn.pjax=function(e,k){var j=jQuery;k?k.container=e:k=j.isPlainObject(e)?e:{container:e};return this.live("click",function(e){if(e.which==2||e.metaKey)return!0;var u={url:this.href,container:j(this).attr("data-pjax")};j.pjax(j.extend({},u,k));e.preventDefault()})};
jQuery.pjax=function(e){var k=jQuery,j=k(e.container),D=e.success||k.noop;delete e.success;e=k.extend(!0,{},{timeout:650,push:!0,replace:!1,cache:!1,type:"GET",dataType:"html",beforeSend:function(e){e.setRequestHeader("X-PJAX","true")},error:function(){window.location=e.url},success:function(u){if(!k.trim(u)||/<html/i.test(u))return window.location=e.url;j.html(u);if(!k.pjax.active)k.pjax.active=!0,window.history.replaceState({pjax:!0},document.title,location.pathname);var t=k.trim(j.find("title").remove().text());
if(t)document.title=t;t={pjax:e.container};if(e.data)t.url=e.url+"?"+k.param(e.data);e.replace?window.history.replaceState(t,document.title,e.url):e.push&&window.history.pushState(t,document.title,e.url);(e.replace||e.push)&&window._gaq&&_gaq.push(["_trackPageview"]);D.apply(this,arguments)}},e);var u=k.ajax(e);k(document).trigger("pjax",u,e);return u};jQuery.pjax.active=!1;jQuery.pjax.firstLoad=!0;if(jQuery.browser.webkit&&parseInt(jQuery.browser.version)<534)jQuery.pjax.firstLoad=!1;
jQuery(window).bind("popstate",function(e){if(jQuery.pjax!=jQuery.noop){if(jQuery.pjax.firstLoad)return jQuery.pjax.firstLoad=!1;e=e.state;if(jQuery.pjax.active||e&&e.pjax){var k=$(e.pjax+"");k.length?jQuery.pjax({url:e.url||location.href,container:k,push:!1}):window.location=location.href}}});jQuery.event.props.push("state");if(!window.history||!window.history.pushState)jQuery.pjax=jQuery.noop,jQuery.fn.pjax=function(){return this};
(function(e){function k(j){var k=e('meta[name="csrf-token"]').attr("content");k&&j.setRequestHeader("X-CSRF-Token",k)}function j(j,k,t){k=new e.Event(k);j.trigger(k,t);return k.result!==!1}function D(k){var v,t,u,D=k.attr("data-type")||e.ajaxSettings&&e.ajaxSettings.dataType;if(k.is("form")){v=k.attr("method");t=k.attr("action");u=k.serializeArray();var C=k.data("ujs:submit-button");C&&(u.push(C),k.data("ujs:submit-button",null))}else v=k.attr("data-method"),t=k.attr("href"),u=null;e.ajax({url:t,
type:v||"GET",data:u,dataType:D,beforeSend:function(e,v){v.dataType===void 0&&e.setRequestHeader("accept","*/*;q=0.5, "+v.accepts.script);return j(k,"ajax:beforeSend",[e,v])},success:function(e,j,v){k.trigger("ajax:success",[e,j,v])},complete:function(e,j){k.trigger("ajax:complete",[e,j])},error:function(e,j,v){k.trigger("ajax:error",[e,j,v])}})}function u(j){j.find("input[data-disable-with]").each(function(){var j=e(this);j.data("ujs:enable-with",j.val()).val(j.attr("data-disable-with")).attr("disabled",
"disabled")})}function C(j){j.find("input[data-disable-with]").each(function(){var j=e(this);j.val(j.data("ujs:enable-with")).removeAttr("disabled")})}function t(e){var k=e.attr("data-confirm");return!k||j(e,"confirm")&&confirm(k)}function J(j){var k=!1;j.find("input[name][required]").each(function(){e(this).val()||(k=!0)});return k}"ajaxPrefilter"in e?e.ajaxPrefilter(function(e,j,t){k(t)}):e(document).ajaxSend(function(e,j){k(j)});e("a[data-confirm], a[data-method], a[data-remote]").live("click.rails",
function(){var j=e(this);if(!t(j))return!1;if(j.attr("data-remote")!=void 0)return D(j),!1;else if(j.attr("data-method")){var k=j.attr("href"),u=j.attr("data-method");j=e("meta[name=csrf-token]").attr("content");var C=e("meta[name=csrf-param]").attr("content");k=e('<form method="post" action="'+k+'"></form>');u='<input name="_method" value="'+u+'" type="hidden" />';C!==void 0&&j!==void 0&&(u+='<input name="'+C+'" value="'+j+'" type="hidden" />');k.hide().append(u).appendTo("body");k.submit();return!1}});
e("form").live("submit.rails",function(){var j=e(this),k=j.attr("data-remote")!=void 0;if(!t(j))return!1;if(J(j))return!k;if(k)return D(j),!1;else setTimeout(function(){u(j)},13)});e("form input[type=submit], form button[type=submit], form button:not([type])").live("click.rails",function(){var j=e(this);if(!t(j))return!1;var k=j.attr("name");k=k?{name:k,value:j.val()}:null;j.closest("form").data("ujs:submit-button",k)});e("form").live("ajax:beforeSend.rails",function(j){this==j.target&&u(e(this))});
e("form").live("ajax:complete.rails",function(j){this==j.target&&C(e(this))})})(jQuery);
var scoreKeeper={newMatch:{toggle:function(){$("#add_match_form").toggle()}},matchUpdate:{interval:60,init:function(){scoreKeeper.matchUpdate.isShowingDashboard()&&scoreKeeper.matchUpdate.schedule()},schedule:function(){setTimeout(scoreKeeper.matchUpdate.run,scoreKeeper.matchUpdate.interval*1E3)},run:function(){$.get("/",{game_id:scoreKeeper.matchUpdate.gameId(),last_update:scoreKeeper.matchUpdate.lastUpdate()},function(e){jQuery.trim(e)!=""&&($("#main").html(e),scoreKeeper.tableSort());scoreKeeper.matchUpdate.schedule()})},
isShowingDashboard:function(){return $("#logs").length>0},lastUpdate:function(){return $("#dashboard_data .last_update").html()},gameId:function(){return $("#dashboard_data .game_id").html()}},tableSort:function(){$("#rankings").tablesorter({sortList:[[1,0]],widgets:["zebra"],headers:{0:{sorter:!1},2:{sorter:!1},3:{sorter:!1}}});$("#newbies").tablesorter({sortList:[[1,0]],widgets:["zebra"],headers:{0:{sorter:!1},2:{sorter:!1}}});$("#teams").tablesorter({sortList:[[1,1]],widgets:["zebra"],headers:{0:{sorter:!1},
5:{sorter:!1}}});$("#teammates").tablesorter({sortList:[[6,1]],widgets:["zebra"],headers:{0:{sorter:!1},1:{sorter:!1},2:{sorter:!1}}})}};$(document).ready(function(){scoreKeeper.matchUpdate.init();scoreKeeper.tableSort();$("#add_match_button").click(function(){scoreKeeper.newMatch.toggle();return!1});$("#messages").length>0&&setTimeout(function(){$("#messages").fadeOut("slow")},8E3);$("a[data-pjax]").pjax()});
