var _gaq=[["_setAccount","UA-18004758-1"],["_trackPageview"]];(function(i,e){var g=i.createElement(e),j=i.getElementsByTagName(e)[0];g.async=!0;g.src="//www.google-analytics.com/ga.js";j.parentNode.insertBefore(g,j)})(document,"script");var _gauges=_gauges||[];
(function(){var i=document.createElement("script");i.type="text/javascript";i.async=!0;i.id="gauges-tracker";i.setAttribute("data-site-id","4e366bde613f5d16ee000003");i.src="//secure.gaug.es/track.js";var e=document.getElementsByTagName("script")[0];e.parentNode.insertBefore(i,e)})();
(function(i,e){function g(){if(!c.isReady){try{m.documentElement.doScroll("left")}catch(a){setTimeout(g,1);return}c.ready()}}function j(a,b){b.src?c.ajax({url:b.src,async:!1,dataType:"script"}):c.globalEval(b.text||b.textContent||b.innerHTML||"");b.parentNode&&b.parentNode.removeChild(b)}function k(a,b,d,h,f,g){var i=a.length;if(typeof b==="object"){for(var j in b)k(a,j,b[j],h,f,d);return a}if(d!==e){h=!g&&h&&c.isFunction(d);for(j=0;j<i;j++)f(a[j],b,h?d.call(a[j],j,f(a[j],b)):d,g);return a}return i?
f(a[0],b):e}function l(){return(new Date).getTime()}function n(){return!1}function o(){return!0}function s(a,b,d){d[0].type=a;return c.event.handle.apply(b,d)}function r(a){var b,d=[],h=[],f=arguments,e,g,i,k,j,l;g=c.data(this,"events");if(!(a.liveFired===this||!g||!g.live||a.button&&a.type==="click")){a.liveFired=this;var n=g.live.slice(0);for(k=0;k<n.length;k++)g=n[k],g.origType.replace(z,"")===a.type?h.push(g.selector):n.splice(k--,1);e=c(a.target).closest(h,a.currentTarget);j=0;for(l=e.length;j<
l;j++)for(k=0;k<n.length;k++)if(g=n[k],e[j].selector===g.selector){i=e[j].elem;h=null;if(g.preType==="mouseenter"||g.preType==="mouseleave")h=c(a.relatedTarget).closest(g.selector)[0];(!h||h!==i)&&d.push({elem:i,handleObj:g})}j=0;for(l=d.length;j<l;j++)if(e=d[j],a.currentTarget=e.elem,a.data=e.handleObj.data,a.handleObj=e.handleObj,e.handleObj.origHandler.apply(e.elem,f)===!1){b=!1;break}return b}}function p(a,b){return"live."+(a&&a!=="*"?a+".":"")+b.replace(/\./g,"`").replace(/ /g,"&")}function t(a,
b){var d=0;b.each(function(){if(this.nodeName===(a[d]&&a[d].nodeName)){var b=c.data(a[d++]),f=c.data(this,b);if(b=b&&b.events){delete f.handle;f.events={};for(var e in b)for(var g in b[e])c.event.add(this,e,b[e][g],b[e][g].data)}}})}function w(a,b,d){var h,f,e,b=b&&b[0]?b[0].ownerDocument||b[0]:m;if(a.length===1&&typeof a[0]==="string"&&a[0].length<512&&b===m&&!X.test(a[0])&&(c.support.checkClone||!Y.test(a[0])))f=!0,(e=c.fragments[a[0]])&&e!==1&&(h=e);h||(h=b.createDocumentFragment(),c.clean(a,b,
h,d));f&&(c.fragments[a[0]]=e?h:1);return{fragment:h,cacheable:f}}function A(a,b){var d={};c.each(Z.concat.apply([],Z.slice(0,b)),function(){d[this]=a});return d}function C(a){return"scrollTo"in a&&a.document?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}var c=function(a,b){return new c.fn.init(a,b)},ua=i.jQuery,va=i.$,m=i.document,I,wa=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,xa=/^.[^:#\[\.,]*$/,ya=/\S/,za=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,Aa=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,E=navigator.userAgent,aa=!1,
F=[],B,L=Object.prototype.toString,M=Object.prototype.hasOwnProperty,N=Array.prototype.push,G=Array.prototype.slice,ba=Array.prototype.indexOf;c.fn=c.prototype={init:function(a,b){var d,h,f;if(!a)return this;if(a.nodeType)return this.context=this[0]=a,this.length=1,this;if(a==="body"&&!b)return this.context=m,this[0]=m.body,this.selector="body",this.length=1,this;if(typeof a==="string")if((d=wa.exec(a))&&(d[1]||!b))if(d[1])return f=b?b.ownerDocument||b:m,(h=Aa.exec(a))?c.isPlainObject(b)?(a=[m.createElement(h[1])],
c.fn.attr.call(a,b,!0)):a=[f.createElement(h[1])]:(h=w([d[1]],[f]),a=(h.cacheable?h.fragment.cloneNode(!0):h.fragment).childNodes),c.merge(this,a);else{if(h=m.getElementById(d[2])){if(h.id!==d[2])return I.find(a);this.length=1;this[0]=h}this.context=m;this.selector=a;return this}else return!b&&/^\w+$/.test(a)?(this.selector=a,this.context=m,a=m.getElementsByTagName(a),c.merge(this,a)):!b||b.jquery?(b||I).find(a):c(b).find(a);else if(c.isFunction(a))return I.ready(a);if(a.selector!==e)this.selector=
a.selector,this.context=a.context;return c.makeArray(a,this)},selector:"",jquery:"1.4.2",length:0,size:function(){return this.length},toArray:function(){return G.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this.slice(a)[0]:this[a]},pushStack:function(a,b,d){var h=c();c.isArray(a)?N.apply(h,a):c.merge(h,a);h.prevObject=this;h.context=this.context;if(b==="find")h.selector=this.selector+(this.selector?" ":"")+d;else if(b)h.selector=this.selector+"."+b+"("+d+")";return h},each:function(a,
b){return c.each(this,a,b)},ready:function(a){c.bindReady();c.isReady?a.call(m,c):F&&F.push(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(G.apply(this,arguments),"slice",G.call(arguments).join(","))},map:function(a){return this.pushStack(c.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||c(null)},push:N,sort:[].sort,splice:[].splice};
c.fn.init.prototype=c.fn;c.extend=c.fn.extend=function(){var a=arguments[0]||{},b=1,d=arguments.length,h=!1,f,g,i,k;typeof a==="boolean"&&(h=a,a=arguments[1]||{},b=2);typeof a!=="object"&&!c.isFunction(a)&&(a={});d===b&&(a=this,--b);for(;b<d;b++)if((f=arguments[b])!=null)for(g in f)i=a[g],k=f[g],a!==k&&(h&&k&&(c.isPlainObject(k)||c.isArray(k))?(i=i&&(c.isPlainObject(i)||c.isArray(i))?i:c.isArray(k)?[]:{},a[g]=c.extend(h,i,k)):k!==e&&(a[g]=k));return a};c.extend({noConflict:function(a){i.$=va;if(a)i.jQuery=
ua;return c},isReady:!1,ready:function(){if(!c.isReady){if(!m.body)return setTimeout(c.ready,13);c.isReady=!0;if(F){for(var a,b=0;a=F[b++];)a.call(m,c);F=null}c.fn.triggerHandler&&c(m).triggerHandler("ready")}},bindReady:function(){if(!aa){aa=!0;if(m.readyState==="complete")return c.ready();if(m.addEventListener)m.addEventListener("DOMContentLoaded",B,!1),i.addEventListener("load",c.ready,!1);else if(m.attachEvent){m.attachEvent("onreadystatechange",B);i.attachEvent("onload",c.ready);var a=!1;try{a=
i.frameElement==null}catch(b){}m.documentElement.doScroll&&a&&g()}}},isFunction:function(a){return L.call(a)==="[object Function]"},isArray:function(a){return L.call(a)==="[object Array]"},isPlainObject:function(a){if(!a||L.call(a)!=="[object Object]"||a.nodeType||a.setInterval)return!1;if(a.constructor&&!M.call(a,"constructor")&&!M.call(a.constructor.prototype,"isPrototypeOf"))return!1;for(var b in a);return b===e||M.call(a,b)},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=c.trim(a);if(/^[\],:{}\s]*$/.test(a.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return i.JSON&&i.JSON.parse?i.JSON.parse(a):(new Function("return "+a))();else c.error("Invalid JSON: "+a)},noop:function(){},globalEval:function(a){if(a&&ya.test(a)){var b=m.getElementsByTagName("head")[0]||m.documentElement,d=m.createElement("script");
d.type="text/javascript";c.support.scriptEval?d.appendChild(m.createTextNode(a)):d.text=a;b.insertBefore(d,b.firstChild);b.removeChild(d)}},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,b,d){var h,f=0,g=a.length,i=g===e||c.isFunction(a);if(d)if(i)for(h in a){if(b.apply(a[h],d)===!1)break}else for(;f<g;){if(b.apply(a[f++],d)===!1)break}else if(i)for(h in a){if(b.call(a[h],h,a[h])===!1)break}else for(d=a[0];f<g&&b.call(d,f,d)!==!1;d=a[++f]);return a},
trim:function(a){return(a||"").replace(za,"")},makeArray:function(a,b){var d=b||[];a!=null&&(a.length==null||typeof a==="string"||c.isFunction(a)||typeof a!=="function"&&a.setInterval?N.call(d,a):c.merge(d,a));return d},inArray:function(a,b){if(b.indexOf)return b.indexOf(a);for(var c=0,h=b.length;c<h;c++)if(b[c]===a)return c;return-1},merge:function(a,b){var c=a.length,h=0;if(typeof b.length==="number")for(var f=b.length;h<f;h++)a[c++]=b[h];else for(;b[h]!==e;)a[c++]=b[h++];a.length=c;return a},grep:function(a,
b,c){for(var h=[],f=0,e=a.length;f<e;f++)!c!==!b(a[f],f)&&h.push(a[f]);return h},map:function(a,b,c){for(var h=[],f,e=0,g=a.length;e<g;e++)f=b(a[e],e,c),f!=null&&(h[h.length]=f);return h.concat.apply([],h)},guid:1,proxy:function(a,b,d){arguments.length===2&&(typeof b==="string"?(d=a,a=d[b],b=e):b&&!c.isFunction(b)&&(d=b,b=e));!b&&a&&(b=function(){return a.apply(d||this,arguments)});if(a)b.guid=a.guid=a.guid||b.guid||c.guid++;return b},uaMatch:function(a){a=a.toLowerCase();a=/(webkit)[ \/]([\w.]+)/.exec(a)||
/(opera)(?:.*version)?[ \/]([\w.]+)/.exec(a)||/(msie) ([\w.]+)/.exec(a)||!/compatible/.test(a)&&/(mozilla)(?:.*? rv:([\w.]+))?/.exec(a)||[];return{browser:a[1]||"",version:a[2]||"0"}},browser:{}});E=c.uaMatch(E);if(E.browser)c.browser[E.browser]=!0,c.browser.version=E.version;if(c.browser.webkit)c.browser.safari=!0;if(ba)c.inArray=function(a,b){return ba.call(b,a)};I=c(m);m.addEventListener?B=function(){m.removeEventListener("DOMContentLoaded",B,!1);c.ready()}:m.attachEvent&&(B=function(){m.readyState===
"complete"&&(m.detachEvent("onreadystatechange",B),c.ready())});(function(){c.support={};var a=m.documentElement,b=m.createElement("script"),d=m.createElement("div"),h="script"+l();d.style.display="none";d.innerHTML="   <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";var f=d.getElementsByTagName("*"),e=d.getElementsByTagName("a")[0];if(f&&f.length&&e){c.support={leadingWhitespace:d.firstChild.nodeType===3,tbody:!d.getElementsByTagName("tbody").length,
htmlSerialize:!!d.getElementsByTagName("link").length,style:/red/.test(e.getAttribute("style")),hrefNormalized:e.getAttribute("href")==="/a",opacity:/^0.55$/.test(e.style.opacity),cssFloat:!!e.style.cssFloat,checkOn:d.getElementsByTagName("input")[0].value==="on",optSelected:m.createElement("select").appendChild(m.createElement("option")).selected,parentNode:d.removeChild(d.appendChild(m.createElement("div"))).parentNode===null,deleteExpando:!0,checkClone:!1,scriptEval:!1,noCloneEvent:!0,boxModel:null};
b.type="text/javascript";try{b.appendChild(m.createTextNode("window."+h+"=1;"))}catch(g){}a.insertBefore(b,a.firstChild);if(i[h])c.support.scriptEval=!0,delete i[h];try{delete b.test}catch(k){c.support.deleteExpando=!1}a.removeChild(b);d.attachEvent&&d.fireEvent&&(d.attachEvent("onclick",function ta(){c.support.noCloneEvent=!1;d.detachEvent("onclick",ta)}),d.cloneNode(!0).fireEvent("onclick"));d=m.createElement("div");d.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";a=m.createDocumentFragment();
a.appendChild(d.firstChild);c.support.checkClone=a.cloneNode(!0).cloneNode(!0).lastChild.checked;c(function(){var a=m.createElement("div");a.style.width=a.style.paddingLeft="1px";m.body.appendChild(a);c.boxModel=c.support.boxModel=a.offsetWidth===2;m.body.removeChild(a).style.display="none"});a=function(a){var b=m.createElement("div"),a="on"+a,c=a in b;c||(b.setAttribute(a,"return;"),c=typeof b[a]==="function");return c};c.support.submitBubbles=a("submit");c.support.changeBubbles=a("change");a=b=
d=f=e=null}})();c.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};var x="jQuery"+l(),Ba=0,ca={};c.extend({cache:{},expando:x,noData:{embed:!0,object:!0,applet:!0},data:function(a,b,d){if(!a.nodeName||!c.noData[a.nodeName.toLowerCase()]){var a=a==i?ca:a,h=a[x],f=c.cache;if(!h&&typeof b==="string"&&d===e)return null;h||(h=++Ba);typeof b===
"object"?(a[x]=h,f[h]=c.extend(!0,{},b)):f[h]||(a[x]=h,f[h]={});a=f[h];d!==e&&(a[b]=d);return typeof b==="string"?a[b]:a}},removeData:function(a,b){if(!a.nodeName||!c.noData[a.nodeName.toLowerCase()]){var a=a==i?ca:a,d=a[x],h=c.cache,f=h[d];b?f&&(delete f[b],c.isEmptyObject(f)&&c.removeData(a)):(c.support.deleteExpando?delete a[c.expando]:a.removeAttribute&&a.removeAttribute(c.expando),delete h[d])}}});c.fn.extend({data:function(a,b){if(typeof a==="undefined"&&this.length)return c.data(this[0]);else if(typeof a===
"object")return this.each(function(){c.data(this,a)});var d=a.split(".");d[1]=d[1]?"."+d[1]:"";if(b===e){var h=this.triggerHandler("getData"+d[1]+"!",[d[0]]);h===e&&this.length&&(h=c.data(this[0],a));return h===e&&d[1]?this.data(d[0]):h}else return this.trigger("setData"+d[1]+"!",[d[0],b]).each(function(){c.data(this,a,b)})},removeData:function(a){return this.each(function(){c.removeData(this,a)})}});c.extend({queue:function(a,b,d){if(a){var b=(b||"fx")+"queue",h=c.data(a,b);if(!d)return h||[];!h||
c.isArray(d)?h=c.data(a,b,c.makeArray(d)):h.push(d);return h}},dequeue:function(a,b){var b=b||"fx",d=c.queue(a,b),h=d.shift();h==="inprogress"&&(h=d.shift());h&&(b==="fx"&&d.unshift("inprogress"),h.call(a,function(){c.dequeue(a,b)}))}});c.fn.extend({queue:function(a,b){typeof a!=="string"&&(b=a,a="fx");return b===e?c.queue(this[0],a):this.each(function(){var d=c.queue(this,a,b);a==="fx"&&d[0]!=="inprogress"&&c.dequeue(this,a)})},dequeue:function(a){return this.each(function(){c.dequeue(this,a)})},
delay:function(a,b){a=c.fx?c.fx.speeds[a]||a:a;b=b||"fx";return this.queue(b,function(){var d=this;setTimeout(function(){c.dequeue(d,b)},a)})},clearQueue:function(a){return this.queue(a||"fx",[])}});var da=/[\n\t]/g,O=/\s+/,Ca=/\r/g,Da=/href|src|style/,Ea=/(button|input)/i,Fa=/(button|input|object|select|textarea)/i,Ga=/^(a|area)$/i,ea=/radio|checkbox/;c.fn.extend({attr:function(a,b){return k(this,a,b,!0,c.attr)},removeAttr:function(a){return this.each(function(){c.attr(this,a,"");this.nodeType===
1&&this.removeAttribute(a)})},addClass:function(a){if(c.isFunction(a))return this.each(function(b){var d=c(this);d.addClass(a.call(this,b,d.attr("class")))});if(a&&typeof a==="string")for(var b=(a||"").split(O),d=0,h=this.length;d<h;d++){var f=this[d];if(f.nodeType===1)if(f.className){for(var e=" "+f.className+" ",g=f.className,i=0,k=b.length;i<k;i++)e.indexOf(" "+b[i]+" ")<0&&(g+=" "+b[i]);f.className=c.trim(g)}else f.className=a}return this},removeClass:function(a){if(c.isFunction(a))return this.each(function(b){var d=
c(this);d.removeClass(a.call(this,b,d.attr("class")))});if(a&&typeof a==="string"||a===e)for(var b=(a||"").split(O),d=0,h=this.length;d<h;d++){var f=this[d];if(f.nodeType===1&&f.className)if(a){for(var g=(" "+f.className+" ").replace(da," "),i=0,k=b.length;i<k;i++)g=g.replace(" "+b[i]+" "," ");f.className=c.trim(g)}else f.className=""}return this},toggleClass:function(a,b){var d=typeof a,h=typeof b==="boolean";return c.isFunction(a)?this.each(function(d){var h=c(this);h.toggleClass(a.call(this,d,
h.attr("class"),b),b)}):this.each(function(){if(d==="string")for(var f,e=0,g=c(this),i=b,k=a.split(O);f=k[e++];)i=h?i:!g.hasClass(f),g[i?"addClass":"removeClass"](f);else if(d==="undefined"||d==="boolean")this.className&&c.data(this,"__className__",this.className),this.className=this.className||a===!1?"":c.data(this,"__className__")||""})},hasClass:function(a){for(var a=" "+a+" ",b=0,c=this.length;b<c;b++)if((" "+this[b].className+" ").replace(da," ").indexOf(a)>-1)return!0;return!1},val:function(a){if(a===
e){var b=this[0];if(b){if(c.nodeName(b,"option"))return(b.attributes.value||{}).specified?b.value:b.text;if(c.nodeName(b,"select")){var d=b.selectedIndex,h=[],f=b.options,b=b.type==="select-one";if(d<0)return null;for(var g=b?d:0,d=b?d+1:f.length;g<d;g++){var i=f[g];if(i.selected){a=c(i).val();if(b)return a;h.push(a)}}return h}return ea.test(b.type)&&!c.support.checkOn?b.getAttribute("value")===null?"on":b.value:(b.value||"").replace(Ca,"")}return e}var k=c.isFunction(a);return this.each(function(b){var d=
c(this),f=a;if(this.nodeType===1)if(k&&(f=a.call(this,b,d.val())),typeof f==="number"&&(f+=""),c.isArray(f)&&ea.test(this.type))this.checked=c.inArray(d.val(),f)>=0;else if(c.nodeName(this,"select")){var h=c.makeArray(f);c("option",this).each(function(){this.selected=c.inArray(c(this).val(),h)>=0});if(!h.length)this.selectedIndex=-1}else this.value=f})}});c.extend({attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(a,b,d,h){if(!a||a.nodeType===3||a.nodeType===
8)return e;if(h&&b in c.attrFn)return c(a)[b](d);var h=a.nodeType!==1||!c.isXMLDoc(a),f=d!==e,b=h&&c.props[b]||b;if(a.nodeType===1){var g=Da.test(b);if(b in a&&h&&!g)return f&&(b==="type"&&Ea.test(a.nodeName)&&a.parentNode&&c.error("type property can't be changed"),a[b]=d),c.nodeName(a,"form")&&a.getAttributeNode(b)?a.getAttributeNode(b).nodeValue:b==="tabIndex"?(b=a.getAttributeNode("tabIndex"))&&b.specified?b.value:Fa.test(a.nodeName)||Ga.test(a.nodeName)&&a.href?0:e:a[b];if(!c.support.style&&h&&
b==="style"){if(f)a.style.cssText=""+d;return a.style.cssText}f&&a.setAttribute(b,""+d);a=!c.support.hrefNormalized&&h&&g?a.getAttribute(b,2):a.getAttribute(b);return a===null?e:a}return c.style(a,b,d)}});var z=/\.(.*)$/,Ha=function(a){return a.replace(/[^\w\s\.\|`]/g,function(a){return"\\"+a})};c.event={add:function(a,b,d,h){if(!(a.nodeType===3||a.nodeType===8)){a.setInterval&&a!==i&&!a.frameElement&&(a=i);var f,g;if(d.handler)f=d,d=f.handler;if(!d.guid)d.guid=c.guid++;if(g=c.data(a)){var k=g.events=
g.events||{},j=g.handle;if(!j)g.handle=j=function(){return typeof c!=="undefined"&&!c.event.triggered?c.event.handle.apply(j.elem,arguments):e};j.elem=a;for(var b=b.split(" "),l,n=0,m;l=b[n++];){g=f?c.extend({},f):{handler:d,data:h};l.indexOf(".")>-1?(m=l.split("."),l=m.shift(),g.namespace=m.slice(0).sort().join(".")):(m=[],g.namespace="");g.type=l;g.guid=d.guid;var o=k[l],p=c.event.special[l]||{};if(!o&&(o=k[l]=[],!p.setup||p.setup.call(a,h,m,j)===!1))a.addEventListener?a.addEventListener(l,j,!1):
a.attachEvent&&a.attachEvent("on"+l,j);if(p.add&&(p.add.call(a,g),!g.handler.guid))g.handler.guid=d.guid;o.push(g);c.event.global[l]=!0}a=null}}},global:{},remove:function(a,b,d,h){if(!(a.nodeType===3||a.nodeType===8)){var f,e=0,g,i,k,j,l,n,m=c.data(a),o=m&&m.events;if(m&&o){if(b&&b.type)d=b.handler,b=b.type;if(!b||typeof b==="string"&&b.charAt(0)===".")for(f in b=b||"",o)c.event.remove(a,f+b);else{for(b=b.split(" ");f=b[e++];)if(j=f,g=f.indexOf(".")<0,i=[],g||(i=f.split("."),f=i.shift(),k=RegExp("(^|\\.)"+
c.map(i.slice(0).sort(),Ha).join("\\.(?:.*\\.)?")+"(\\.|$)")),l=o[f])if(d){j=c.event.special[f]||{};for(p=h||0;p<l.length;p++)if(n=l[p],d.guid===n.guid){if(g||k.test(n.namespace))h==null&&l.splice(p--,1),j.remove&&j.remove.call(a,n);if(h!=null)break}if(l.length===0||h!=null&&l.length===1)(!j.teardown||j.teardown.call(a,i)===!1)&&fa(a,f,m.handle),delete o[f]}else for(var p=0;p<l.length;p++)if(n=l[p],g||k.test(n.namespace))c.event.remove(a,j,n.handler,p),l.splice(p--,1);if(c.isEmptyObject(o)){if(b=
m.handle)b.elem=null;delete m.events;delete m.handle;c.isEmptyObject(m)&&c.removeData(a)}}}}},trigger:function(a,b,d,h){var f=a.type||a;if(!h){a=typeof a==="object"?a[x]?a:c.extend(c.Event(f),a):c.Event(f);if(f.indexOf("!")>=0)a.type=f=f.slice(0,-1),a.exclusive=!0;d||(a.stopPropagation(),c.event.global[f]&&c.each(c.cache,function(){this.events&&this.events[f]&&c.event.trigger(a,b,this.handle.elem)}));if(!d||d.nodeType===3||d.nodeType===8)return e;a.result=e;a.target=d;b=c.makeArray(b);b.unshift(a)}a.currentTarget=
d;(h=c.data(d,"handle"))&&h.apply(d,b);h=d.parentNode||d.ownerDocument;try{if((!d||!d.nodeName||!c.noData[d.nodeName.toLowerCase()])&&d["on"+f]&&d["on"+f].apply(d,b)===!1)a.result=!1}catch(g){}if(!a.isPropagationStopped()&&h)c.event.trigger(a,b,h,!0);else if(!a.isDefaultPrevented()){var h=a.target,i,k=c.nodeName(h,"a")&&f==="click",j=c.event.special[f]||{};if((!j._default||j._default.call(d,a)===!1)&&!k&&(!h||!h.nodeName||!c.noData[h.nodeName.toLowerCase()])){try{if(h[f])(i=h["on"+f])&&(h["on"+f]=
null),c.event.triggered=!0,h[f]()}catch(l){}i&&(h["on"+f]=i);c.event.triggered=!1}}},handle:function(a){var b,d,h,f,a=arguments[0]=c.event.fix(a||i.event);a.currentTarget=this;b=a.type.indexOf(".")<0&&!a.exclusive;if(!b)d=a.type.split("."),a.type=d.shift(),h=RegExp("(^|\\.)"+d.slice(0).sort().join("\\.(?:.*\\.)?")+"(\\.|$)");f=c.data(this,"events");d=f[a.type];if(f&&d){d=d.slice(0);f=0;for(var g=d.length;f<g;f++){var k=d[f];if(b||h.test(k.namespace)){a.handler=k.handler;a.data=k.data;a.handleObj=
k;k=k.handler.apply(this,arguments);if(k!==e)a.result=k,k===!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 originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),
fix:function(a){if(a[x])return a;for(var b=a,a=c.Event(b),d=this.props.length,h;d;)h=this.props[--d],a[h]=b[h];if(!a.target)a.target=a.srcElement||m;if(a.target.nodeType===3)a.target=a.target.parentNode;if(!a.relatedTarget&&a.fromElement)a.relatedTarget=a.fromElement===a.target?a.toElement:a.fromElement;if(a.pageX==null&&a.clientX!=null)b=m.documentElement,d=m.body,a.pageX=a.clientX+(b&&b.scrollLeft||d&&d.scrollLeft||0)-(b&&b.clientLeft||d&&d.clientLeft||0),a.pageY=a.clientY+(b&&b.scrollTop||d&&d.scrollTop||
0)-(b&&b.clientTop||d&&d.clientTop||0);if(!a.which&&(a.charCode||a.charCode===0?a.charCode:a.keyCode))a.which=a.charCode||a.keyCode;if(!a.metaKey&&a.ctrlKey)a.metaKey=a.ctrlKey;if(!a.which&&a.button!==e)a.which=a.button&1?1:a.button&2?3:a.button&4?2:0;return a},guid:1E8,proxy:c.proxy,special:{ready:{setup:c.bindReady,teardown:c.noop},live:{add:function(a){c.event.add(this,a.origType,c.extend({},a,{handler:r}))},remove:function(a){var b=!0,d=a.origType.replace(z,"");c.each(c.data(this,"events").live||
[],function(){if(d===this.origType.replace(z,""))return b=!1});b&&c.event.remove(this,a.origType,r)}},beforeunload:{setup:function(a,b,c){if(this.setInterval)this.onbeforeunload=c;return!1},teardown:function(a,b){if(this.onbeforeunload===b)this.onbeforeunload=null}}}};var fa=m.removeEventListener?function(a,b,c){a.removeEventListener(b,c,!1)}:function(a,b,c){a.detachEvent("on"+b,c)};c.Event=function(a){if(!this.preventDefault)return new c.Event(a);a&&a.type?(this.originalEvent=a,this.type=a.type):
this.type=a;this.timeStamp=l();this[x]=!0};c.Event.prototype={preventDefault:function(){this.isDefaultPrevented=o;var a=this.originalEvent;if(a)a.preventDefault&&a.preventDefault(),a.returnValue=!1},stopPropagation:function(){this.isPropagationStopped=o;var a=this.originalEvent;if(a)a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=o;this.stopPropagation()},isDefaultPrevented:n,isPropagationStopped:n,isImmediatePropagationStopped:n};
var ga=function(a){var b=a.relatedTarget;try{for(;b&&b!==this;)b=b.parentNode;if(b!==this)a.type=a.data,c.event.handle.apply(this,arguments)}catch(d){}},ha=function(a){a.type=a.data;c.event.handle.apply(this,arguments)};c.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){c.event.special[a]={setup:function(d){c.event.add(this,b,d&&d.selector?ha:ga,a)},teardown:function(a){c.event.remove(this,b,a&&a.selector?ha:ga)}}});if(!c.support.submitBubbles)c.event.special.submit={setup:function(){if(this.nodeName.toLowerCase()!==
"form")c.event.add(this,"click.specialSubmit",function(a){var b=a.target,d=b.type;if((d==="submit"||d==="image")&&c(b).closest("form").length)return s("submit",this,arguments)}),c.event.add(this,"keypress.specialSubmit",function(a){var b=a.target,d=b.type;if((d==="text"||d==="password")&&c(b).closest("form").length&&a.keyCode===13)return s("submit",this,arguments)});else return!1},teardown:function(){c.event.remove(this,".specialSubmit")}};if(!c.support.changeBubbles){var P=/textarea|input|select/i,
Q,ia=function(a){var b=a.type,d=a.value;if(b==="radio"||b==="checkbox")d=a.checked;else if(b==="select-multiple")d=a.selectedIndex>-1?c.map(a.options,function(a){return a.selected}).join("-"):"";else if(a.nodeName.toLowerCase()==="select")d=a.selectedIndex;return d},R=function(a,b){var d=a.target,h,f;if(P.test(d.nodeName)&&!d.readOnly&&(h=c.data(d,"_change_data"),f=ia(d),(a.type!=="focusout"||d.type!=="radio")&&c.data(d,"_change_data",f),!(h===e||f===h)))if(h!=null||f)return a.type="change",c.event.trigger(a,
b,d)};c.event.special.change={filters:{focusout:R,click:function(a){var b=a.target,c=b.type;if(c==="radio"||c==="checkbox"||b.nodeName.toLowerCase()==="select")return R.call(this,a)},keydown:function(a){var b=a.target,c=b.type;if(a.keyCode===13&&b.nodeName.toLowerCase()!=="textarea"||a.keyCode===32&&(c==="checkbox"||c==="radio")||c==="select-multiple")return R.call(this,a)},beforeactivate:function(a){a=a.target;c.data(a,"_change_data",ia(a))}},setup:function(){if(this.type==="file")return!1;for(var a in Q)c.event.add(this,
a+".specialChange",Q[a]);return P.test(this.nodeName)},teardown:function(){c.event.remove(this,".specialChange");return P.test(this.nodeName)}};Q=c.event.special.change.filters}m.addEventListener&&c.each({focus:"focusin",blur:"focusout"},function(a,b){function d(a){a=c.event.fix(a);a.type=b;return c.event.handle.call(this,a)}c.event.special[b]={setup:function(){this.addEventListener(a,d,!0)},teardown:function(){this.removeEventListener(a,d,!0)}}});c.each(["bind","one"],function(a,b){c.fn[b]=function(a,
h,f){if(typeof a==="object"){for(var g in a)this[b](g,h,a[g],f);return this}c.isFunction(h)&&(f=h,h=e);var i=b==="one"?c.proxy(f,function(a){c(this).unbind(a,i);return f.apply(this,arguments)}):f;if(a==="unload"&&b!=="one")this.one(a,h,f);else{g=0;for(var k=this.length;g<k;g++)c.event.add(this[g],a,i,h)}return this}});c.fn.extend({unbind:function(a,b){if(typeof a==="object"&&!a.preventDefault)for(var d in a)this.unbind(d,a[d]);else{d=0;for(var h=this.length;d<h;d++)c.event.remove(this[d],a,b)}return this},
delegate:function(a,b,c,h){return this.live(b,c,h,a)},undelegate:function(a,b,c){return arguments.length===0?this.unbind("live"):this.die(b,null,c,a)},trigger:function(a,b){return this.each(function(){c.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0]){var d=c.Event(a);d.preventDefault();d.stopPropagation();c.event.trigger(d,b,this[0]);return d.result}},toggle:function(a){for(var b=arguments,d=1;d<b.length;)c.proxy(a,b[d++]);return this.click(c.proxy(a,function(h){var f=(c.data(this,
"lastToggle"+a.guid)||0)%d;c.data(this,"lastToggle"+a.guid,f+1);h.preventDefault();return b[f].apply(this,arguments)||!1}))},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}});var ja={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};c.each(["live","die"],function(a,b){c.fn[b]=function(a,h,f,g){var i,k=0,j,l,n=g||this.selector,m=g?this:c(this.context);c.isFunction(h)&&(f=h,h=e);for(a=(a||"").split(" ");(i=a[k++])!=null;)g=z.exec(i),j="",g&&(j=g[0],i=i.replace(z,
"")),i==="hover"?a.push("mouseenter"+j,"mouseleave"+j):(l=i,i==="focus"||i==="blur"?(a.push(ja[i]+j),i+=j):i=(ja[i]||i)+j,b==="live"?m.each(function(){c.event.add(this,p(i,n),{data:h,selector:n,handler:f,origType:i,origHandler:f,preType:l})}):m.unbind(p(i,n),f));return this}});c.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error".split(" "),function(a,b){c.fn[b]=
function(a){return a?this.bind(b,a):this.trigger(b)};c.attrFn&&(c.attrFn[b]=!0)});i.attachEvent&&!i.addEventListener&&i.attachEvent("onunload",function(){for(var a in c.cache)if(c.cache[a].handle)try{c.event.remove(c.cache[a].handle.elem)}catch(b){}});(function(){function a(b){for(var c="",d,f=0;b[f];f++)d=b[f],d.nodeType===3||d.nodeType===4?c+=d.nodeValue:d.nodeType!==8&&(c+=a(d.childNodes));return c}function b(a,b,c,d,f,h){for(var f=0,e=d.length;f<e;f++){var g=d[f];if(g){for(var g=g[a],i=!1;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 d(a,b,c,d,f,h){for(var f=0,e=d.length;f<e;f++){var g=d[f];if(g){for(var g=g[a],i=!1;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(j.filter(b,[g]).length>0){i=g;break}}g=g[a]}d[f]=i}}}var h=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,
f=0,g=Object.prototype.toString,i=!1,k=!0;[0,0].sort(function(){k=!1;return 0});var j=function(a,b,c,d){var c=c||[],f=b=b||m;if(b.nodeType!==1&&b.nodeType!==9)return[];if(!a||typeof a!=="string")return c;for(var e=[],i,k,u,o,y=!0,r=q(b),s=a;(h.exec(""),i=h.exec(s))!==null;)if(s=i[3],e.push(i[1]),i[2]){o=i[3];break}if(e.length>1&&n.exec(a))if(e.length===2&&l.relative[e[0]])k=w(e[0]+e[1],b);else for(k=l.relative[e[0]]?[b]:j(e.shift(),b);e.length;)a=e.shift(),l.relative[a]&&(a+=e.shift()),k=w(a,k);else if(!d&&
e.length>1&&b.nodeType===9&&!r&&l.match.ID.test(e[0])&&!l.match.ID.test(e[e.length-1])&&(i=j.find(e.shift(),b,r),b=i.expr?j.filter(i.expr,i.set)[0]:i.set[0]),b){i=d?{expr:e.pop(),set:p(d)}:j.find(e.pop(),e.length===1&&(e[0]==="~"||e[0]==="+")&&b.parentNode?b.parentNode:b,r);k=i.expr?j.filter(i.expr,i.set):i.set;for(e.length>0?u=p(k):y=!1;e.length;){var H=e.pop();i=H;l.relative[H]?i=e.pop():H="";i==null&&(i=b);l.relative[H](u,i,r)}}else u=[];u||(u=k);u||j.error(H||a);if(g.call(u)==="[object Array]")if(y)if(b&&
b.nodeType===1)for(a=0;u[a]!=null;a++)u[a]&&(u[a]===!0||u[a].nodeType===1&&t(b,u[a]))&&c.push(k[a]);else for(a=0;u[a]!=null;a++)u[a]&&u[a].nodeType===1&&c.push(k[a]);else c.push.apply(c,u);else p(u,c);o&&(j(o,f,c,d),j.uniqueSort(c));return c};j.uniqueSort=function(a){if(s&&(i=k,a.sort(s),i))for(var b=1;b<a.length;b++)a[b]===a[b-1]&&a.splice(b--,1);return a};j.matches=function(a,b){return j(a,null,null,b)};j.find=function(a,b,c){var d,f;if(!a)return[];for(var h=0,e=l.order.length;h<e;h++){var g=l.order[h];
if(f=l.leftMatch[g].exec(a)){var i=f[1];f.splice(1,1);if(i.substr(i.length-1)!=="\\"&&(f[1]=(f[1]||"").replace(/\\/g,""),d=l.find[g](f,b,c),d!=null)){a=a.replace(l.match[g],"");break}}}d||(d=b.getElementsByTagName("*"));return{set:d,expr:a}};j.filter=function(a,b,c,d){for(var f=a,h=[],g=b,i,k,u=b&&b[0]&&q(b[0]);a&&b.length;){for(var n in l.filter)if((i=l.leftMatch[n].exec(a))!=null&&i[2]){var sa=l.filter[n],m,o;o=i[1];k=!1;i.splice(1,1);if(o.substr(o.length-1)!=="\\"){g===h&&(h=[]);if(l.preFilter[n])if(i=
l.preFilter[n](i,g,c,h,d,u)){if(i===!0)continue}else k=m=!0;if(i)for(var y=0;(o=g[y])!=null;y++)if(o){m=sa(o,i,y,g);var p=d^!!m;c&&m!=null?p?k=!0:g[y]=!1:p&&(h.push(o),k=!0)}if(m!==e){c||(g=h);a=a.replace(l.match[n],"");if(!k)return[];break}}}if(a===f)if(k==null)j.error(a);else break;f=a}return g};j.error=function(a){throw"Syntax error, unrecognized expression: "+a;};var l=j.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF-]|\\.)+)['"]*\]/,
ATTR:/\[\s*((?:[\w\u00c0-\uFFFF-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+-]*)\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(a){return a.getAttribute("href")}},relative:{"+":function(a,b){var c=typeof b==="string",
d=c&&!/\W/.test(b),c=c&&!d;d&&(b=b.toLowerCase());for(var d=0,f=a.length,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&&j.filter(b,a,!0)},">":function(a,b){var c=typeof b==="string";if(c&&!/\W/.test(b))for(var b=b.toLowerCase(),d=0,f=a.length;d<f;d++){var h=a[d];if(h)c=h.parentNode,a[d]=c.nodeName.toLowerCase()===b?c:!1}else{d=0;for(f=a.length;d<f;d++)(h=a[d])&&(a[d]=c?h.parentNode:h.parentNode===b);c&&j.filter(b,a,!0)}},"":function(a,
c,h){var e=f++,g=d;if(typeof c==="string"&&!/\W/.test(c))var i=c=c.toLowerCase(),g=b;g("parentNode",c,e,a,i,h)},"~":function(a,c,h){var e=f++,g=d;if(typeof c==="string"&&!/\W/.test(c))var i=c=c.toLowerCase(),g=b;g("previousSibling",c,e,a,i,h)}},find:{ID:function(a,b,c){if(typeof b.getElementById!=="undefined"&&!c)return(a=b.getElementById(a[1]))?[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){return b.getElementsByTagName(a[1])}},preFilter:{CLASS:function(a,b,c,d,f,h){a=" "+a[1].replace(/\\/g,"")+" ";if(h)return a;for(var h=0,e;(e=b[h])!=null;h++)e&&(f^(e.className&&(" "+e.className+" ").replace(/[\t\n]/g," ").indexOf(a)>=0)?c||d.push(e):c&&(b[h]=!1));return!1},ID:function(a){return a[1].replace(/\\/g,"")},TAG:function(a){return a[1].toLowerCase()},CHILD:function(a){if(a[1]==="nth"){var b=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(a[2]===
"even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0;a[3]=b[3]-0}a[0]=f++;return a},ATTR:function(a,b,c,d,f,h){b=a[1].replace(/\\/g,"");!h&&l.attrMap[b]&&(a[1]=l.attrMap[b]);a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(a,b,c,d,f){if(a[1]==="not")if((h.exec(a[3])||"").length>1||/^\w/.test(a[3]))a[3]=j(a[3],null,null,b);else return a=j.filter(a[3],b,c,1^f),c||d.push.apply(d,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!!j(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){return"text"===a.type},radio:function(a){return"radio"===
a.type},checkbox:function(a){return"checkbox"===a.type},file:function(a){return"file"===a.type},password:function(a){return"password"===a.type},submit:function(a){return"submit"===a.type},image:function(a){return"image"===a.type},reset:function(a){return"reset"===a.type},button:function(a){return"button"===a.type||a.nodeName.toLowerCase()==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)}},setFilters:{first:function(a,b){return b===0},last:function(a,b,c,d){return b===
d.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return b<c[3]-0},gt:function(a,b,c){return b>c[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{PSEUDO:function(b,c,d,f){var h=c[1],e=l.filters[h];if(e)return e(b,d,c,f);else if(h==="contains")return(b.textContent||b.innerText||a([b])||"").indexOf(c[3])>=0;else if(h==="not"){c=c[3];d=0;for(f=c.length;d<f;d++)if(c[d]===b)return!1;return!0}else j.error("Syntax error, unrecognized expression: "+
h)},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":var c=b[2],f=b[3];if(c===1&&f===0)return!0;var h=b[0],e=a.parentNode;if(e&&(e.sizcache!==h||!a.nodeIndex)){for(var g=0,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),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)}}},n=l.match.POS,o;for(o in l.match)l.match[o]=RegExp(l.match[o].source+/(?![^\[]*\])(?![^\(]*\))/.source),l.leftMatch[o]=RegExp(/(^(?:.|\r|\n)*?)/.source+l.match[o].source.replace(/\\(\d+)/g,function(a,b){return"\\"+(b-0+1)}));var p=function(a,b){a=Array.prototype.slice.call(a,0);return b?(b.push.apply(b,a),b):a};try{Array.prototype.slice.call(m.documentElement.childNodes,
0)}catch(r){p=function(a,b){var c=b||[];if(g.call(a)==="[object Array]")Array.prototype.push.apply(c,a);else if(typeof a.length==="number")for(var d=0,f=a.length;d<f;d++)c.push(a[d]);else for(d=0;a[d];d++)c.push(a[d]);return c}}var s;m.documentElement.compareDocumentPosition?s=function(a,b){if(!a.compareDocumentPosition||!b.compareDocumentPosition)return a==b&&(i=!0),a.compareDocumentPosition?-1:1;var c=a.compareDocumentPosition(b)&4?-1:a===b?0:1;c===0&&(i=!0);return c}:"sourceIndex"in m.documentElement?
s=function(a,b){if(!a.sourceIndex||!b.sourceIndex)return a==b&&(i=!0),a.sourceIndex?-1:1;var c=a.sourceIndex-b.sourceIndex;c===0&&(i=!0);return c}:m.createRange&&(s=function(a,b){if(!a.ownerDocument||!b.ownerDocument)return a==b&&(i=!0),a.ownerDocument?-1:1;var c=a.ownerDocument.createRange(),d=b.ownerDocument.createRange();c.setStart(a,0);c.setEnd(a,0);d.setStart(b,0);d.setEnd(b,0);c=c.compareBoundaryPoints(Range.START_TO_END,d);c===0&&(i=!0);return c});(function(){var a=m.createElement("div"),b=
"script"+(new Date).getTime();a.innerHTML="<a name='"+b+"'/>";var c=m.documentElement;c.insertBefore(a,c.firstChild);if(m.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]:e:[]},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=m.createElement("div");a.appendChild(m.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})();m.querySelectorAll&&
function(){var a=j,b=m.createElement("div");b.innerHTML="<p class='TEST'></p>";if(!(b.querySelectorAll&&b.querySelectorAll(".TEST").length===0)){j=function(b,c,d,f){c=c||m;if(!f&&c.nodeType===9&&!q(c))try{return p(c.querySelectorAll(b),d)}catch(h){}return a(b,c,d,f)};for(var c in a)j[c]=a[c];b=null}}();(function(){var a=m.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})();var t=m.compareDocumentPosition?function(a,b){return!!(a.compareDocumentPosition(b)&16)}:function(a,b){return a!==b&&(a.contains?a.contains(b):!0)},q=function(a){return(a=(a?a.ownerDocument||a:0).documentElement)?a.nodeName!=="HTML":!1},w=function(a,b){for(var c=[],d="",f,h=b.nodeType?[b]:b;f=l.match.PSEUDO.exec(a);)d+=
f[0],a=a.replace(l.match.PSEUDO,"");a=l.relative[a]?a+"*":a;f=0;for(var e=h.length;f<e;f++)j(a,h[f],c);return j.filter(d,c)};c.find=j;c.expr=j.selectors;c.expr[":"]=c.expr.filters;c.unique=j.uniqueSort;c.text=a;c.isXMLDoc=q;c.contains=t})();var Ia=/Until$/,Ja=/^(?:parents|prevUntil|prevAll)/,Ka=/,/,G=Array.prototype.slice,ka=function(a,b,d){if(c.isFunction(b))return c.grep(a,function(a,c){return!!b.call(a,c,a)===d});else if(b.nodeType)return c.grep(a,function(a){return a===b===d});else if(typeof b===
"string"){var h=c.grep(a,function(a){return a.nodeType===1});if(xa.test(b))return c.filter(b,h,!d);else b=c.filter(b,h)}return c.grep(a,function(a){return c.inArray(a,b)>=0===d})};c.fn.extend({find:function(a){for(var b=this.pushStack("","find",a),d=0,h=0,f=this.length;h<f;h++)if(d=b.length,c.find(a,this[h],b),h>0)for(var e=d;e<b.length;e++)for(var g=0;g<d;g++)if(b[g]===b[e]){b.splice(e--,1);break}return b},has:function(a){var b=c(a);return this.filter(function(){for(var a=0,h=b.length;a<h;a++)if(c.contains(this,
b[a]))return!0})},not:function(a){return this.pushStack(ka(this,a,!1),"not",a)},filter:function(a){return this.pushStack(ka(this,a,!0),"filter",a)},is:function(a){return!!a&&c.filter(a,this).length>0},closest:function(a,b){if(c.isArray(a)){var d=[],h=this[0],f,e={},g;if(h&&a.length){f=0;for(var i=a.length;f<i;f++)g=a[f],e[g]||(e[g]=c.expr.match.POS.test(g)?c(g,b||this.context):g);for(;h&&h.ownerDocument&&h!==b;){for(g in e)if(f=e[g],f.jquery?f.index(h)>-1:c(h).is(f))d.push({selector:g,elem:h}),delete e[g];
h=h.parentNode}}return d}var k=c.expr.match.POS.test(a)?c(a,b||this.context):null;return this.map(function(d,f){for(;f&&f.ownerDocument&&f!==b;){if(k?k.index(f)>-1:c(f).is(a))return f;f=f.parentNode}return null})},index:function(a){return!a||typeof a==="string"?c.inArray(this[0],a?c(a):this.parent().children()):c.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var d=typeof a==="string"?c(a,b||this.context):c.makeArray(a),h=c.merge(this.get(),d);return this.pushStack(!d[0]||!d[0].parentNode||d[0].parentNode.nodeType===
11||!h[0]||!h[0].parentNode||h[0].parentNode.nodeType===11?h:c.unique(h))},andSelf:function(){return this.add(this.prevObject)}});c.each({parent:function(a){return(a=a.parentNode)&&a.nodeType!==11?a:null},parents:function(a){return c.dir(a,"parentNode")},parentsUntil:function(a,b,d){return c.dir(a,"parentNode",d)},next:function(a){return c.nth(a,2,"nextSibling")},prev:function(a){return c.nth(a,2,"previousSibling")},nextAll:function(a){return c.dir(a,"nextSibling")},prevAll:function(a){return c.dir(a,
"previousSibling")},nextUntil:function(a,b,d){return c.dir(a,"nextSibling",d)},prevUntil:function(a,b,d){return c.dir(a,"previousSibling",d)},siblings:function(a){return c.sibling(a.parentNode.firstChild,a)},children:function(a){return c.sibling(a.firstChild)},contents:function(a){return c.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:c.makeArray(a.childNodes)}},function(a,b){c.fn[a]=function(d,h){var f=c.map(this,b,d);Ia.test(a)||(h=d);h&&typeof h==="string"&&(f=c.filter(h,f));
f=this.length>1?c.unique(f):f;if((this.length>1||Ka.test(h))&&Ja.test(a))f=f.reverse();return this.pushStack(f,a,G.call(arguments).join(","))}});c.extend({filter:function(a,b,d){d&&(a=":not("+a+")");return c.find.matches(a,b)},dir:function(a,b,d){for(var h=[],a=a[b];a&&a.nodeType!==9&&(d===e||a.nodeType!==1||!c(a).is(d));)a.nodeType===1&&h.push(a),a=a[b];return h},nth:function(a,b,c){for(var b=b||1,h=0;a;a=a[c])if(a.nodeType===1&&++h===b)break;return a},sibling:function(a,b){for(var c=[];a;a=a.nextSibling)a.nodeType===
1&&a!==b&&c.push(a);return c}});var la=/ jQuery\d+="(?:\d+|null)"/g,J=/^\s+/,ma=/(<([\w:]+)[^>]*?)\/>/g,La=/^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i,na=/<([\w:]+)/,Ma=/<tbody/i,Na=/<|&#?\w+;/,X=/<script|<object|<embed|<option|<style/i,Y=/checked\s*(?:[^=]|=\s*.checked.)/i,oa=function(a,b,c){return La.test(c)?a:b+"></"+c+">"},v={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],
td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]};v.optgroup=v.option;v.tbody=v.tfoot=v.colgroup=v.caption=v.thead;v.th=v.td;if(!c.support.htmlSerialize)v._default=[1,"div<div>","</div>"];c.fn.extend({text:function(a){return c.isFunction(a)?this.each(function(b){var d=c(this);d.text(a.call(this,b,d.text()))}):typeof a!=="object"&&a!==e?this.empty().append((this[0]&&this[0].ownerDocument||
m).createTextNode(a)):c.text(this)},wrapAll:function(a){if(c.isFunction(a))return this.each(function(b){c(this).wrapAll(a.call(this,b))});if(this[0]){var b=c(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]);b.map(function(){for(var a=this;a.firstChild&&a.firstChild.nodeType===1;)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){return c.isFunction(a)?this.each(function(b){c(this).wrapInner(a.call(this,b))}):this.each(function(){var b=c(this),
d=b.contents();d.length?d.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){c(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){c.nodeName(this,"body")||c(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!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=c(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});else if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,c(arguments[0]).toArray());return a}},remove:function(a,
b){for(var d=0,h;(h=this[d])!=null;d++)if(!a||c.filter(a,[h]).length)!b&&h.nodeType===1&&(c.cleanData(h.getElementsByTagName("*")),c.cleanData([h])),h.parentNode&&h.parentNode.removeChild(h);return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++)for(b.nodeType===1&&c.cleanData(b.getElementsByTagName("*"));b.firstChild;)b.removeChild(b.firstChild);return this},clone:function(a){var b=this.map(function(){if(!c.support.noCloneEvent&&!c.isXMLDoc(this)){var a=this.outerHTML,b=this.ownerDocument;
if(!a)a=b.createElement("div"),a.appendChild(this.cloneNode(!0)),a=a.innerHTML;return c.clean([a.replace(la,"").replace(/=([^="'>\s]+\/)>/g,'="$1">').replace(J,"")],b)[0]}else return this.cloneNode(!0)});a===!0&&(t(this,b),t(this.find("*"),b.find("*")));return b},html:function(a){if(a===e)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(la,""):null;else if(typeof a==="string"&&!X.test(a)&&(c.support.leadingWhitespace||!J.test(a))&&!v[(na.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(ma,
oa);try{for(var b=0,d=this.length;b<d;b++)if(this[b].nodeType===1)c.cleanData(this[b].getElementsByTagName("*")),this[b].innerHTML=a}catch(h){this.empty().append(a)}}else c.isFunction(a)?this.each(function(b){var d=c(this),h=d.html();d.empty().append(function(){return a.call(this,b,h)})}):this.empty().append(a);return this},replaceWith:function(a){if(this[0]&&this[0].parentNode){if(c.isFunction(a))return this.each(function(b){var d=c(this),h=d.html();d.replaceWith(a.call(this,b,h))});typeof a!=="string"&&
(a=c(a).detach());return this.each(function(){var b=this.nextSibling,d=this.parentNode;c(this).remove();b?c(b).before(a):c(d).append(a)})}else return this.pushStack(c(c.isFunction(a)?a():a),"replaceWith",a)},detach:function(a){return this.remove(a,!0)},domManip:function(a,b,d){var h,f,g=a[0],i=[],k;if(!c.support.checkClone&&arguments.length===3&&typeof g==="string"&&Y.test(g))return this.each(function(){c(this).domManip(a,b,d,!0)});if(c.isFunction(g))return this.each(function(f){var h=c(this);a[0]=
g.call(this,f,b?h.html():e);h.domManip(a,b,d)});if(this[0]){h=g&&g.parentNode;h=c.support.parentNode&&h&&h.nodeType===11&&h.childNodes.length===this.length?{fragment:h}:w(a,this,i);k=h.fragment;if(f=k.childNodes.length===1?k=k.firstChild:k.firstChild){b=b&&c.nodeName(f,"tr");f=0;for(var l=this.length;f<l;f++)d.call(b?c.nodeName(this[f],"table")?this[f].getElementsByTagName("tbody")[0]||this[f].appendChild(this[f].ownerDocument.createElement("tbody")):this[f]:this[f],f>0||h.cacheable||this.length>
1?k.cloneNode(!0):k)}i.length&&c.each(i,j)}return this}});c.fragments={};c.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){c.fn[a]=function(d){var h=[],d=c(d),f=this.length===1&&this[0].parentNode;if(f&&f.nodeType===11&&f.childNodes.length===1&&d.length===1)return d[b](this[0]),this;else{for(var f=0,e=d.length;f<e;f++){var g=(f>0?this.clone(!0):this).get();c.fn[b].apply(c(d[f]),g);h=h.concat(g)}return this.pushStack(h,a,
d.selector)}}});c.extend({clean:function(a,b,d,h){b=b||m;typeof b.createElement==="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||m);for(var f=[],e=0,g;(g=a[e])!=null;e++)if(typeof g==="number"&&(g+=""),g){if(typeof g==="string"&&!Na.test(g))g=b.createTextNode(g);else if(typeof g==="string"){g=g.replace(ma,oa);var i=(na.exec(g)||["",""])[1].toLowerCase(),k=v[i]||v._default,j=k[0],l=b.createElement("div");for(l.innerHTML=k[1]+g+k[2];j--;)l=l.lastChild;if(!c.support.tbody){j=Ma.test(g);i=
i==="table"&&!j?l.firstChild&&l.firstChild.childNodes:k[1]==="<table>"&&!j?l.childNodes:[];for(k=i.length-1;k>=0;--k)c.nodeName(i[k],"tbody")&&!i[k].childNodes.length&&i[k].parentNode.removeChild(i[k])}!c.support.leadingWhitespace&&J.test(g)&&l.insertBefore(b.createTextNode(J.exec(g)[0]),l.firstChild);g=l.childNodes}g.nodeType?f.push(g):f=c.merge(f,g)}if(d)for(e=0;f[e];e++)h&&c.nodeName(f[e],"script")&&(!f[e].type||f[e].type.toLowerCase()==="text/javascript")?h.push(f[e].parentNode?f[e].parentNode.removeChild(f[e]):
f[e]):(f[e].nodeType===1&&f.splice.apply(f,[e+1,0].concat(c.makeArray(f[e].getElementsByTagName("script")))),d.appendChild(f[e]));return f},cleanData:function(a){for(var b,d,h=c.cache,f=c.event.special,e=c.support.deleteExpando,g=0,i;(i=a[g])!=null;g++)if(d=i[c.expando]){b=h[d];if(b.events)for(var k in b.events)f[k]?c.event.remove(i,k):fa(i,k,b.handle);e?delete i[c.expando]:i.removeAttribute&&i.removeAttribute(c.expando);delete h[d]}}});var Oa=/z-?index|font-?weight|opacity|zoom|line-?height/i,pa=
/alpha\([^)]*\)/,qa=/opacity=([^)]*)/,S=/float/i,T=/-([a-z])/ig,Pa=/([A-Z])/g,Qa=/^-?\d+(?:px)?$/i,Ra=/^-?\d/,Sa={position:"absolute",visibility:"hidden",display:"block"},Ta=["Left","Right"],Ua=["Top","Bottom"],Va=m.defaultView&&m.defaultView.getComputedStyle,ra=c.support.cssFloat?"cssFloat":"styleFloat",U=function(a,b){return b.toUpperCase()};c.fn.css=function(a,b){return k(this,a,b,!0,function(a,b,f){if(f===e)return c.curCSS(a,b);typeof f==="number"&&!Oa.test(b)&&(f+="px");c.style(a,b,f)})};c.extend({style:function(a,
b,d){if(!a||a.nodeType===3||a.nodeType===8)return e;if((b==="width"||b==="height")&&parseFloat(d)<0)d=e;var h=a.style||a,f=d!==e;if(!c.support.opacity&&b==="opacity"){if(f)h.zoom=1,b=parseInt(d,10)+""==="NaN"?"":"alpha(opacity="+d*100+")",a=h.filter||c.curCSS(a,"filter")||"",h.filter=pa.test(a)?a.replace(pa,b):b;return h.filter&&h.filter.indexOf("opacity=")>=0?parseFloat(qa.exec(h.filter)[1])/100+"":""}S.test(b)&&(b=ra);b=b.replace(T,U);f&&(h[b]=d);return h[b]},css:function(a,b,d,h){if(b==="width"||
b==="height"){var f,e=b==="width"?Ta:Ua,d=function(){f=b==="width"?a.offsetWidth:a.offsetHeight;h!=="border"&&c.each(e,function(){h||(f-=parseFloat(c.curCSS(a,"padding"+this,!0))||0);h==="margin"?f+=parseFloat(c.curCSS(a,"margin"+this,!0))||0:f-=parseFloat(c.curCSS(a,"border"+this+"Width",!0))||0})};a.offsetWidth!==0?d():c.swap(a,Sa,d);return Math.max(0,Math.round(f))}return c.curCSS(a,b,d)},curCSS:function(a,b,d){var h,f=a.style;if(!c.support.opacity&&b==="opacity"&&a.currentStyle)return h=qa.test(a.currentStyle.filter||
"")?parseFloat(RegExp.$1)/100+"":"",h===""?"1":h;S.test(b)&&(b=ra);if(!d&&f&&f[b])h=f[b];else if(Va){S.test(b)&&(b="float");b=b.replace(Pa,"-$1").toLowerCase();f=a.ownerDocument.defaultView;if(!f)return null;(a=f.getComputedStyle(a,null))&&(h=a.getPropertyValue(b));b==="opacity"&&h===""&&(h="1")}else if(a.currentStyle&&(d=b.replace(T,U),h=a.currentStyle[b]||a.currentStyle[d],!Qa.test(h)&&Ra.test(h))){var b=f.left,e=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;f.left=d==="fontSize"?
"1em":h||0;h=f.pixelLeft+"px";f.left=b;a.runtimeStyle.left=e}return h},swap:function(a,b,c){var h={},f;for(f in b)h[f]=a.style[f],a.style[f]=b[f];c.call(a);for(f in b)a.style[f]=h[f]}});if(c.expr&&c.expr.filters)c.expr.filters.hidden=function(a){var b=a.offsetWidth,d=a.offsetHeight,h=a.nodeName.toLowerCase()==="tr";return b===0&&d===0&&!h?!0:b>0&&d>0&&!h?!1:c.curCSS(a,"display")==="none"},c.expr.filters.visible=function(a){return!c.expr.filters.hidden(a)};var Wa=l(),Xa=/<script(.|\s)*?\/script>/gi,
Ya=/select|textarea/i,Za=/color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week/i,D=/=\?(&|$)/,V=/\?/,$a=/(\?|&)_=.*?(&|$)/,ab=/^(\w+:)?\/\/([^\/?#]+)/,bb=/%20/g,cb=c.fn.load;c.fn.extend({load:function(a,b,d){if(typeof a!=="string")return cb.call(this,a);else if(!this.length)return this;var h=a.indexOf(" ");if(h>=0)var f=a.slice(h,a.length),a=a.slice(0,h);h="GET";b&&(c.isFunction(b)?(d=b,b=null):typeof b==="object"&&(b=c.param(b,c.ajaxSettings.traditional),h="POST"));
var e=this;c.ajax({url:a,type:h,dataType:"html",data:b,complete:function(a,b){if(b==="success"||b==="notmodified")e.html(f?c("<div />").append(a.responseText.replace(Xa,"")).find(f):a.responseText);d&&e.each(d,[a.responseText,b,a])}});return this},serialize:function(){return c.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?c.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||Ya.test(this.nodeName)||
Za.test(this.type))}).map(function(a,b){var d=c(this).val();return d==null?null:c.isArray(d)?c.map(d,function(a){return{name:b.name,value:a}}):{name:b.name,value:d}}).get()}});c.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){c.fn[b]=function(a){return this.bind(b,a)}});c.extend({get:function(a,b,d,h){c.isFunction(b)&&(h=h||d,d=b,b=null);return c.ajax({type:"GET",url:a,data:b,success:d,dataType:h})},getScript:function(a,b){return c.get(a,null,b,"script")},
getJSON:function(a,b,d){return c.get(a,b,d,"json")},post:function(a,b,d,h){c.isFunction(b)&&(h=h||d,d=b,b={});return c.ajax({type:"POST",url:a,data:b,success:d,dataType:h})},ajaxSetup:function(a){c.extend(c.ajaxSettings,a)},ajaxSettings:{url:location.href,global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,xhr:i.XMLHttpRequest&&(i.location.protocol!=="file:"||!i.ActiveXObject)?function(){return new i.XMLHttpRequest}:function(){try{return new i.ActiveXObject("Microsoft.XMLHTTP")}catch(a){}},
accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},etag:{},ajax:function(a){function b(){f.success&&f.success.call(n,j,k,q);f.global&&h("ajaxSuccess",[q,f])}function d(){f.complete&&f.complete.call(n,q,k);f.global&&h("ajaxComplete",[q,f]);f.global&&!--c.active&&c.event.trigger("ajaxStop")}function h(a,b){(f.context?c(f.context):c.event).trigger(a,b)}var f=
c.extend(!0,{},c.ajaxSettings,a),g,k,j,n=a&&a.context||f,o=f.type.toUpperCase();if(f.data&&f.processData&&typeof f.data!=="string")f.data=c.param(f.data,f.traditional);if(f.dataType==="jsonp"){if(o==="GET")D.test(f.url)||(f.url+=(V.test(f.url)?"&":"?")+(f.jsonp||"callback")+"=?");else if(!f.data||!D.test(f.data))f.data=(f.data?f.data+"&":"")+(f.jsonp||"callback")+"=?";f.dataType="json"}if(f.dataType==="json"&&(f.data&&D.test(f.data)||D.test(f.url))){g=f.jsonpCallback||"jsonp"+Wa++;if(f.data)f.data=
(f.data+"").replace(D,"="+g+"$1");f.url=f.url.replace(D,"="+g+"$1");f.dataType="script";i[g]=i[g]||function(a){j=a;b();d();i[g]=e;try{delete i[g]}catch(c){}s&&s.removeChild(t)}}if(f.dataType==="script"&&f.cache===null)f.cache=!1;if(f.cache===!1&&o==="GET"){var p=l(),r=f.url.replace($a,"$1_="+p+"$2");f.url=r+(r===f.url?(V.test(f.url)?"&":"?")+"_="+p:"")}f.data&&o==="GET"&&(f.url+=(V.test(f.url)?"&":"?")+f.data);f.global&&!c.active++&&c.event.trigger("ajaxStart");p=(p=ab.exec(f.url))&&(p[1]&&p[1]!==
location.protocol||p[2]!==location.host);if(f.dataType==="script"&&o==="GET"&&p){var s=m.getElementsByTagName("head")[0]||m.documentElement,t=m.createElement("script");t.src=f.url;if(f.scriptCharset)t.charset=f.scriptCharset;if(!g){var w=!1;t.onload=t.onreadystatechange=function(){if(!w&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete"))w=!0,b(),d(),t.onload=t.onreadystatechange=null,s&&t.parentNode&&s.removeChild(t)}}s.insertBefore(t,s.firstChild);return e}var v=!1,q=f.xhr();
if(q){f.username?q.open(o,f.url,f.async,f.username,f.password):q.open(o,f.url,f.async);try{(f.data||a&&a.contentType)&&q.setRequestHeader("Content-Type",f.contentType),f.ifModified&&(c.lastModified[f.url]&&q.setRequestHeader("If-Modified-Since",c.lastModified[f.url]),c.etag[f.url]&&q.setRequestHeader("If-None-Match",c.etag[f.url])),p||q.setRequestHeader("X-Requested-With","XMLHttpRequest"),q.setRequestHeader("Accept",f.dataType&&f.accepts[f.dataType]?f.accepts[f.dataType]+", */*":f.accepts._default)}catch(A){}if(f.beforeSend&&
f.beforeSend.call(n,q,f)===!1)return f.global&&!--c.active&&c.event.trigger("ajaxStop"),q.abort(),!1;f.global&&h("ajaxSend",[q,f]);var C=q.onreadystatechange=function(a){if(!q||q.readyState===0||a==="abort"){if(v||d(),v=!0,q)q.onreadystatechange=c.noop}else if(!v&&q&&(q.readyState===4||a==="timeout")){v=!0;q.onreadystatechange=c.noop;k=a==="timeout"?"timeout":!c.httpSuccess(q)?"error":f.ifModified&&c.httpNotModified(q,f.url)?"notmodified":"success";var h;if(k==="success")try{j=c.httpData(q,f.dataType,
f)}catch(e){k="parsererror",h=e}k==="success"||k==="notmodified"?g||b():c.handleError(f,q,k,h);d();a==="timeout"&&q.abort();f.async&&(q=null)}};try{var x=q.abort;q.abort=function(){q&&x.call(q);C("abort")}}catch(B){}f.async&&f.timeout>0&&setTimeout(function(){q&&!v&&C("timeout")},f.timeout);try{q.send(o==="POST"||o==="PUT"||o==="DELETE"?f.data:null)}catch(z){c.handleError(f,q,null,z),d()}f.async||C();return q}},handleError:function(a,b,d,h){a.error&&a.error.call(a.context||a,b,d,h);a.global&&(a.context?
c(a.context):c.event).trigger("ajaxError",[b,a,h])},active:0,httpSuccess:function(a){try{return!a.status&&location.protocol==="file:"||a.status>=200&&a.status<300||a.status===304||a.status===1223||a.status===0}catch(b){}return!1},httpNotModified:function(a,b){var d=a.getResponseHeader("Last-Modified"),h=a.getResponseHeader("Etag");d&&(c.lastModified[b]=d);h&&(c.etag[b]=h);return a.status===304||a.status===0},httpData:function(a,b,d){var h=a.getResponseHeader("content-type")||"",f=b==="xml"||!b&&h.indexOf("xml")>=
0,a=f?a.responseXML:a.responseText;f&&a.documentElement.nodeName==="parsererror"&&c.error("parsererror");d&&d.dataFilter&&(a=d.dataFilter(a,b));typeof a==="string"&&(b==="json"||!b&&h.indexOf("json")>=0?a=c.parseJSON(a):(b==="script"||!b&&h.indexOf("javascript")>=0)&&c.globalEval(a));return a},param:function(a,b){function d(a,f){c.isArray(f)?c.each(f,function(f,e){b||/\[\]$/.test(a)?h(a,e):d(a+"["+(typeof e==="object"||c.isArray(e)?f:"")+"]",e)}):!b&&f!=null&&typeof f==="object"?c.each(f,function(b,
c){d(a+"["+b+"]",c)}):h(a,f)}function h(a,b){b=c.isFunction(b)?b():b;f[f.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)}var f=[];if(b===e)b=c.ajaxSettings.traditional;if(c.isArray(a)||a.jquery)c.each(a,function(){h(this.name,this.value)});else for(var g in a)d(g,a[g]);return f.join("&").replace(bb,"+")}});var W={},db=/toggle|show|hide/,eb=/^([+-]=)?([\d+-.]+)(.*)$/,K,Z=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],
["opacity"]];c.fn.extend({show:function(a,b){if(a||a===0)return this.animate(A("show",3),a,b);else{for(var d=0,h=this.length;d<h;d++){var f=c.data(this[d],"olddisplay");this[d].style.display=f||"";if(c.css(this[d],"display")==="none"){var f=this[d].nodeName,e;if(W[f])e=W[f];else{var g=c("<"+f+" />").appendTo("body");e=g.css("display");e==="none"&&(e="block");g.remove();W[f]=e}c.data(this[d],"olddisplay",e)}}d=0;for(h=this.length;d<h;d++)this[d].style.display=c.data(this[d],"olddisplay")||"";return this}},
hide:function(a,b){if(a||a===0)return this.animate(A("hide",3),a,b);else{for(var d=0,h=this.length;d<h;d++){var f=c.data(this[d],"olddisplay");!f&&f!=="none"&&c.data(this[d],"olddisplay",c.css(this[d],"display"))}d=0;for(h=this.length;d<h;d++)this[d].style.display="none";return this}},_toggle:c.fn.toggle,toggle:function(a,b){var d=typeof a==="boolean";c.isFunction(a)&&c.isFunction(b)?this._toggle.apply(this,arguments):a==null||d?this.each(function(){var b=d?a:c(this).is(":hidden");c(this)[b?"show":
"hide"]()}):this.animate(A("toggle",3),a,b);return this},fadeTo:function(a,b,c){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,c)},animate:function(a,b,d,h){var f=c.speed(b,d,h);return c.isEmptyObject(a)?this.each(f.complete):this[f.queue===!1?"each":"queue"](function(){var b=c.extend({},f),d,h=this.nodeType===1&&c(this).is(":hidden"),e=this;for(d in a){var g=d.replace(T,U);d!==g&&(a[g]=a[d],delete a[d],d=g);if(a[d]==="hide"&&h||a[d]==="show"&&!h)return b.complete.call(this);
if((d==="height"||d==="width")&&this.style)b.display=c.css(this,"display"),b.overflow=this.style.overflow;if(c.isArray(a[d]))(b.specialEasing=b.specialEasing||{})[d]=a[d][1],a[d]=a[d][0]}if(b.overflow!=null)this.style.overflow="hidden";b.curAnim=c.extend({},a);c.each(a,function(d,f){var g=new c.fx(e,b,d);if(db.test(f))g[f==="toggle"?h?"show":"hide":f](a);else{var i=eb.exec(f),k=g.cur(!0)||0;if(i){var j=parseFloat(i[2]),l=i[3]||"px";l!=="px"&&(e.style[d]=(j||1)+l,k*=(j||1)/g.cur(!0),e.style[d]=k+l);
i[1]&&(j=(i[1]==="-="?-1:1)*j+k);g.custom(k,j,l)}else g.custom(k,f,"")}});return!0})},stop:function(a,b){var d=c.timers;a&&this.queue([]);this.each(function(){for(var a=d.length-1;a>=0;a--)if(d[a].elem===this){if(b)d[a](!0);d.splice(a,1)}});b||this.dequeue();return this}});c.each({slideDown:A("show",1),slideUp:A("hide",1),slideToggle:A("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(a,b){c.fn[a]=function(a,c){return this.animate(b,a,c)}});c.extend({speed:function(a,b,d){var h=
a&&typeof a==="object"?a:{complete:d||!d&&b||c.isFunction(a)&&a,duration:a,easing:d&&b||b&&!c.isFunction(b)&&b};h.duration=c.fx.off?0:typeof h.duration==="number"?h.duration:c.fx.speeds[h.duration]||c.fx.speeds._default;h.old=h.complete;h.complete=function(){h.queue!==!1&&c(this).dequeue();c.isFunction(h.old)&&h.old.call(this)};return h},easing:{linear:function(a,b,c,h){return c+h*a},swing:function(a,b,c,h){return(-Math.cos(a*Math.PI)/2+0.5)*h+c}},timers:[],fx:function(a,b,c){this.options=b;this.elem=
a;this.prop=c;if(!b.orig)b.orig={}}});c.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(c.fx.step[this.prop]||c.fx.step._default)(this);if((this.prop==="height"||this.prop==="width")&&this.elem.style)this.elem.style.display="block"},cur:function(a){return this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)?this.elem[this.prop]:(a=parseFloat(c.css(this.elem,this.prop,a)))&&a>-1E4?a:parseFloat(c.curCSS(this.elem,this.prop))||
0},custom:function(a,b,d){function h(a){return f.step(a)}this.startTime=l();this.start=a;this.end=b;this.unit=d||this.unit||"px";this.now=this.start;this.pos=this.state=0;var f=this;h.elem=this.elem;h()&&c.timers.push(h)&&!K&&(K=setInterval(c.fx.tick,13))},show:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.show=!0;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());c(this.elem).show()},hide:function(){this.options.orig[this.prop]=c.style(this.elem,
this.prop);this.options.hide=!0;this.custom(this.cur(),0)},step:function(a){var b=l(),d=!0;if(a||b>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=!0;for(var h in this.options.curAnim)this.options.curAnim[h]!==!0&&(d=!1);if(d){if(this.options.display!=null&&(this.elem.style.overflow=this.options.overflow,a=c.data(this.elem,"olddisplay"),this.elem.style.display=a?a:this.options.display,c.css(this.elem,"display")==="none"))this.elem.style.display=
"block";this.options.hide&&c(this.elem).hide();if(this.options.hide||this.options.show)for(var f in this.options.curAnim)c.style(this.elem,f,this.options.orig[f]);this.options.complete.call(this.elem)}return!1}else f=b-this.startTime,this.state=f/this.options.duration,a=this.options.easing||(c.easing.swing?"swing":"linear"),this.pos=c.easing[this.options.specialEasing&&this.options.specialEasing[this.prop]||a](this.state,f,0,1,this.options.duration),this.now=this.start+(this.end-this.start)*this.pos,
this.update();return!0}};c.extend(c.fx,{tick:function(){for(var a=c.timers,b=0;b<a.length;b++)a[b]()||a.splice(b--,1);a.length||c.fx.stop()},stop:function(){clearInterval(K);K=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){c.style(a.elem,"opacity",a.now)},_default:function(a){a.elem.style&&a.elem.style[a.prop]!=null?a.elem.style[a.prop]=(a.prop==="width"||a.prop==="height"?Math.max(0,a.now):a.now)+a.unit:a.elem[a.prop]=a.now}}});if(c.expr&&c.expr.filters)c.expr.filters.animated=
function(a){return c.grep(c.timers,function(b){return a===b.elem}).length};c.fn.offset="getBoundingClientRect"in m.documentElement?function(a){var b=this[0];if(a)return this.each(function(b){c.offset.setOffset(this,a,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);var d=b.getBoundingClientRect(),h=b.ownerDocument,b=h.body,h=h.documentElement;return{top:d.top+(self.pageYOffset||c.support.boxModel&&h.scrollTop||b.scrollTop)-(h.clientTop||b.clientTop||
0),left:d.left+(self.pageXOffset||c.support.boxModel&&h.scrollLeft||b.scrollLeft)-(h.clientLeft||b.clientLeft||0)}}:function(a){var b=this[0];if(a)return this.each(function(b){c.offset.setOffset(this,a,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);c.offset.initialize();var d=b.offsetParent,h=b.ownerDocument,f,e=h.documentElement,g=h.body;f=(h=h.defaultView)?h.getComputedStyle(b,null):b.currentStyle;for(var i=b.offsetTop,k=b.offsetLeft;(b=b.parentNode)&&
b!==g&&b!==e;){if(c.offset.supportsFixedPosition&&f.position==="fixed")break;f=h?h.getComputedStyle(b,null):b.currentStyle;i-=b.scrollTop;k-=b.scrollLeft;if(b===d){i+=b.offsetTop;k+=b.offsetLeft;if(c.offset.doesNotAddBorder&&(!c.offset.doesAddBorderForTableAndCells||!/^t(able|d|h)$/i.test(b.nodeName)))i+=parseFloat(f.borderTopWidth)||0,k+=parseFloat(f.borderLeftWidth)||0;d=b.offsetParent}c.offset.subtractsBorderForOverflowNotVisible&&f.overflow!=="visible"&&(i+=parseFloat(f.borderTopWidth)||0,k+=
parseFloat(f.borderLeftWidth)||0)}if(f.position==="relative"||f.position==="static")i+=g.offsetTop,k+=g.offsetLeft;c.offset.supportsFixedPosition&&f.position==="fixed"&&(i+=Math.max(e.scrollTop,g.scrollTop),k+=Math.max(e.scrollLeft,g.scrollLeft));return{top:i,left:k}};c.offset={initialize:function(){var a=m.body,b=m.createElement("div"),d,h,f,e=parseFloat(c.curCSS(a,"marginTop",!0))||0;c.extend(b.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"});
b.innerHTML="<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";a.insertBefore(b,a.firstChild);d=b.firstChild;h=d.firstChild;f=d.nextSibling.firstChild.firstChild;this.doesNotAddBorder=h.offsetTop!==5;this.doesAddBorderForTableAndCells=f.offsetTop===5;h.style.position=
"fixed";h.style.top="20px";this.supportsFixedPosition=h.offsetTop===20||h.offsetTop===15;h.style.position=h.style.top="";d.style.overflow="hidden";d.style.position="relative";this.subtractsBorderForOverflowNotVisible=h.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==e;a.removeChild(b);c.offset.initialize=c.noop},bodyOffset:function(a){var b=a.offsetTop,d=a.offsetLeft;c.offset.initialize();c.offset.doesNotIncludeMarginInBodyOffset&&(b+=parseFloat(c.curCSS(a,"marginTop",!0))||0,d+=
parseFloat(c.curCSS(a,"marginLeft",!0))||0);return{top:b,left:d}},setOffset:function(a,b,d){if(/static/.test(c.curCSS(a,"position")))a.style.position="relative";var h=c(a),f=h.offset(),e=parseInt(c.curCSS(a,"top",!0),10)||0,g=parseInt(c.curCSS(a,"left",!0),10)||0;c.isFunction(b)&&(b=b.call(a,d,f));d={top:b.top-f.top+e,left:b.left-f.left+g};"using"in b?b.using.call(a,d):h.css(d)}};c.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),d=this.offset(),h=/^body|html$/i.test(b[0].nodeName)?
{top:0,left:0}:b.offset();d.top-=parseFloat(c.curCSS(a,"marginTop",!0))||0;d.left-=parseFloat(c.curCSS(a,"marginLeft",!0))||0;h.top+=parseFloat(c.curCSS(b[0],"borderTopWidth",!0))||0;h.left+=parseFloat(c.curCSS(b[0],"borderLeftWidth",!0))||0;return{top:d.top-h.top,left:d.left-h.left}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||m.body;a&&!/^body|html$/i.test(a.nodeName)&&c.css(a,"position")==="static";)a=a.offsetParent;return a})}});c.each(["Left","Top"],function(a,
b){var d="scroll"+b;c.fn[d]=function(b){var f=this[0],g;return!f?null:b!==e?this.each(function(){(g=C(this))?g.scrollTo(!a?b:c(g).scrollLeft(),a?b:c(g).scrollTop()):this[d]=b}):(g=C(f))?"pageXOffset"in g?g[a?"pageYOffset":"pageXOffset"]:c.support.boxModel&&g.document.documentElement[d]||g.document.body[d]:f[d]}});c.each(["Height","Width"],function(a,b){var d=b.toLowerCase();c.fn["inner"+b]=function(){return this[0]?c.css(this[0],d,!1,"padding"):null};c.fn["outer"+b]=function(a){return this[0]?c.css(this[0],
d,!1,a?"margin":"border"):null};c.fn[d]=function(a){var f=this[0];return!f?a==null?null:this:c.isFunction(a)?this.each(function(b){var f=c(this);f[d](a.call(this,b,f[d]()))}):"scrollTo"in f&&f.document?f.document.compatMode==="CSS1Compat"&&f.document.documentElement["client"+b]||f.document.body["client"+b]:f.nodeType===9?Math.max(f.documentElement["client"+b],f.body["scroll"+b],f.documentElement["scroll"+b],f.body["offset"+b],f.documentElement["offset"+b]):a===e?c.css(f,d):this.css(d,typeof a==="string"?
a:a+"px")}});i.jQuery=i.$=c})(window);jQuery.easing.jswing=jQuery.easing.swing;
jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(i,e,g,j,k){return jQuery.easing[jQuery.easing.def](i,e,g,j,k)},easeInQuad:function(i,e,g,j,k){return j*(e/=k)*e+g},easeOutQuad:function(i,e,g,j,k){return-j*(e/=k)*(e-2)+g},easeInOutQuad:function(i,e,g,j,k){return(e/=k/2)<1?j/2*e*e+g:-j/2*(--e*(e-2)-1)+g},easeInCubic:function(i,e,g,j,k){return j*(e/=k)*e*e+g},easeOutCubic:function(i,e,g,j,k){return j*((e=e/k-1)*e*e+1)+g},easeInOutCubic:function(i,e,g,j,k){return(e/=k/2)<1?j/2*e*e*e+g:j/
2*((e-=2)*e*e+2)+g},easeInQuart:function(i,e,g,j,k){return j*(e/=k)*e*e*e+g},easeOutQuart:function(i,e,g,j,k){return-j*((e=e/k-1)*e*e*e-1)+g},easeInOutQuart:function(i,e,g,j,k){return(e/=k/2)<1?j/2*e*e*e*e+g:-j/2*((e-=2)*e*e*e-2)+g},easeInQuint:function(i,e,g,j,k){return j*(e/=k)*e*e*e*e+g},easeOutQuint:function(i,e,g,j,k){return j*((e=e/k-1)*e*e*e*e+1)+g},easeInOutQuint:function(i,e,g,j,k){return(e/=k/2)<1?j/2*e*e*e*e*e+g:j/2*((e-=2)*e*e*e*e+2)+g},easeInSine:function(i,e,g,j,k){return-j*Math.cos(e/
k*(Math.PI/2))+j+g},easeOutSine:function(i,e,g,j,k){return j*Math.sin(e/k*(Math.PI/2))+g},easeInOutSine:function(i,e,g,j,k){return-j/2*(Math.cos(Math.PI*e/k)-1)+g},easeInExpo:function(i,e,g,j,k){return e==0?g:j*Math.pow(2,10*(e/k-1))+g},easeOutExpo:function(i,e,g,j,k){return e==k?g+j:j*(-Math.pow(2,-10*e/k)+1)+g},easeInOutExpo:function(i,e,g,j,k){return e==0?g:e==k?g+j:(e/=k/2)<1?j/2*Math.pow(2,10*(e-1))+g:j/2*(-Math.pow(2,-10*--e)+2)+g},easeInCirc:function(i,e,g,j,k){return-j*(Math.sqrt(1-(e/=k)*
e)-1)+g},easeOutCirc:function(i,e,g,j,k){return j*Math.sqrt(1-(e=e/k-1)*e)+g},easeInOutCirc:function(i,e,g,j,k){return(e/=k/2)<1?-j/2*(Math.sqrt(1-e*e)-1)+g:j/2*(Math.sqrt(1-(e-=2)*e)+1)+g},easeInElastic:function(i,e,g,j,k){var i=1.70158,l=0,n=j;if(e==0)return g;if((e/=k)==1)return g+j;l||(l=k*0.3);n<Math.abs(j)?(n=j,i=l/4):i=l/(2*Math.PI)*Math.asin(j/n);return-(n*Math.pow(2,10*(e-=1))*Math.sin((e*k-i)*2*Math.PI/l))+g},easeOutElastic:function(i,e,g,j,k){var i=1.70158,l=0,n=j;if(e==0)return g;if((e/=
k)==1)return g+j;l||(l=k*0.3);n<Math.abs(j)?(n=j,i=l/4):i=l/(2*Math.PI)*Math.asin(j/n);return n*Math.pow(2,-10*e)*Math.sin((e*k-i)*2*Math.PI/l)+j+g},easeInOutElastic:function(i,e,g,j,k){var i=1.70158,l=0,n=j;if(e==0)return g;if((e/=k/2)==2)return g+j;l||(l=k*0.3*1.5);n<Math.abs(j)?(n=j,i=l/4):i=l/(2*Math.PI)*Math.asin(j/n);return e<1?-0.5*n*Math.pow(2,10*(e-=1))*Math.sin((e*k-i)*2*Math.PI/l)+g:n*Math.pow(2,-10*(e-=1))*Math.sin((e*k-i)*2*Math.PI/l)*0.5+j+g},easeInBack:function(i,e,g,j,k,l){l==void 0&&
(l=1.70158);return j*(e/=k)*e*((l+1)*e-l)+g},easeOutBack:function(i,e,g,j,k,l){l==void 0&&(l=1.70158);return j*((e=e/k-1)*e*((l+1)*e+l)+1)+g},easeInOutBack:function(i,e,g,j,k,l){l==void 0&&(l=1.70158);return(e/=k/2)<1?j/2*e*e*(((l*=1.525)+1)*e-l)+g:j/2*((e-=2)*e*(((l*=1.525)+1)*e+l)+2)+g},easeInBounce:function(i,e,g,j,k){return j-jQuery.easing.easeOutBounce(i,k-e,0,j,k)+g},easeOutBounce:function(i,e,g,j,k){return(e/=k)<1/2.75?j*7.5625*e*e+g:e<2/2.75?j*(7.5625*(e-=1.5/2.75)*e+0.75)+g:e<2.5/2.75?j*
(7.5625*(e-=2.25/2.75)*e+0.9375)+g:j*(7.5625*(e-=2.625/2.75)*e+0.984375)+g},easeInOutBounce:function(i,e,g,j,k){return e<k/2?jQuery.easing.easeInBounce(i,e*2,0,j,k)*0.5+g:jQuery.easing.easeOutBounce(i,e*2-k,0,j,k)*0.5+j*0.5+g}});jQuery.extend({roundabout_shape:{def:"lazySusan",lazySusan:function(i,e,g){return{x:Math.sin(i+e),y:Math.sin(i+3*Math.PI/2+e)/8*g,z:(Math.cos(i+e)+1)/2,scale:Math.sin(i+Math.PI/2+e)/2+0.5}}}});
jQuery.fn.roundabout=function(i,e){var g=typeof i!="object"?{}:i,g={bearing:typeof g.bearing=="undefined"?0:jQuery.roundabout_toFloat(g.bearing%360),tilt:typeof g.tilt=="undefined"?0:jQuery.roundabout_toFloat(g.tilt),minZ:typeof g.minZ=="undefined"?100:parseInt(g.minZ,10),maxZ:typeof g.maxZ=="undefined"?400:parseInt(g.maxZ,10),minOpacity:typeof g.minOpacity=="undefined"?0.4:jQuery.roundabout_toFloat(g.minOpacity),maxOpacity:typeof g.maxOpacity=="undefined"?1:jQuery.roundabout_toFloat(g.maxOpacity),
minScale:typeof g.minScale=="undefined"?0.4:jQuery.roundabout_toFloat(g.minScale),maxScale:typeof g.maxScale=="undefined"?1:jQuery.roundabout_toFloat(g.maxScale),duration:typeof g.duration=="undefined"?600:parseInt(g.duration,10),btnNext:g.btnNext||null,btnPrev:g.btnPrev||null,easing:g.easing||"swing",clickToFocus:g.clickToFocus!==!1,focusBearing:typeof g.focusBearing=="undefined"?0:jQuery.roundabout_toFloat(g.focusBearing%360),shape:g.shape||"lazySusan",debug:g.debug||!1,childSelector:g.childSelector||
"li",startingChild:typeof g.startingChild=="undefined"?null:parseInt(g.startingChild,10),reflect:typeof g.reflect=="undefined"||g.reflect===!1?!1:!0};this.each(function(){var e=jQuery(this),i=jQuery.roundabout_toFloat(360/e.children(g.childSelector).length),j=g.startingChild===null?g.bearing:g.startingChild*i;e.addClass("roundabout-holder").css("padding",0).css("position","relative").css("z-index",g.minZ);e.data("roundabout",{bearing:j,tilt:g.tilt,minZ:g.minZ,maxZ:g.maxZ,minOpacity:g.minOpacity,maxOpacity:g.maxOpacity,
minScale:g.minScale,maxScale:g.maxScale,duration:g.duration,easing:g.easing,clickToFocus:g.clickToFocus,focusBearing:g.focusBearing,animating:0,childInFocus:-1,shape:g.shape,period:i,debug:g.debug,childSelector:g.childSelector,reflect:g.reflect});g.clickToFocus===!0&&e.children(g.childSelector).each(function(j){jQuery(this).click(function(n){var r=g.reflect===!0?360-i*j:i*j,r=jQuery.roundabout_toFloat(r);if(!jQuery.roundabout_isInFocus(e,r))return n.preventDefault(),e.data("roundabout").animating===
0&&e.roundabout_animateAngleToFocus(r),!1})});g.btnNext&&jQuery(g.btnNext).bind("click.roundabout",function(g){g.preventDefault();e.data("roundabout").animating===0&&e.roundabout_animateToNextChild();return!1});g.btnPrev&&jQuery(g.btnPrev).bind("click.roundabout",function(g){g.preventDefault();e.data("roundabout").animating===0&&e.roundabout_animateToPreviousChild();return!1})});this.roundabout_startChildren();if(typeof e==="function"){var j=this;setTimeout(function(){e(j)},0)}return this};
jQuery.fn.roundabout_startChildren=function(){this.each(function(){var i=jQuery(this),e=i.data("roundabout");i.children(e.childSelector).each(function(g){g=e.reflect===!0?360-e.period*g:e.period*g;jQuery(this).addClass("roundabout-moveable-item").css("position","absolute");jQuery(this).data("roundabout",{startWidth:jQuery(this).width(),startHeight:jQuery(this).height(),startFontSize:parseInt(jQuery(this).css("font-size"),10),degrees:g})});i.roundabout_updateChildPositions()});return this};
jQuery.fn.roundabout_setTilt=function(i,e){this.each(function(){jQuery(this).data("roundabout").tilt=i;jQuery(this).roundabout_updateChildPositions()});if(typeof e==="function"){var g=this;setTimeout(function(){e(g)},0)}return this};jQuery.fn.roundabout_setBearing=function(i,e){this.each(function(){jQuery(this).data("roundabout").bearing=jQuery.roundabout_toFloat(i%360,2);jQuery(this).roundabout_updateChildPositions()});if(typeof e==="function"){var g=this;setTimeout(function(){e(g)},0)}return this};
jQuery.fn.roundabout_adjustBearing=function(i,e){i=jQuery.roundabout_toFloat(i);i!==0&&this.each(function(){jQuery(this).data("roundabout").bearing=jQuery.roundabout_getBearing(jQuery(this))+i;jQuery(this).roundabout_updateChildPositions()});if(typeof e==="function"){var g=this;setTimeout(function(){e(g)},0)}return this};
jQuery.fn.roundabout_adjustTilt=function(i,e){i=jQuery.roundabout_toFloat(i);i!==0&&this.each(function(){jQuery(this).data("roundabout").tilt=jQuery.roundabout_toFloat(jQuery(this).roundabout_get("tilt")+i);jQuery(this).roundabout_updateChildPositions()});if(typeof e==="function"){var g=this;setTimeout(function(){e(g)},0)}return this};
jQuery.fn.roundabout_animateToBearing=function(i,e,g,j){var i=jQuery.roundabout_toFloat(i),k=new Date,l=typeof e=="undefined"?null:e,n=typeof g=="undefined"?null:g,o=typeof j!=="object"?null:j;this.each(function(){var e=jQuery(this),g=e.data("roundabout"),j,t=l===null?g.duration:l,w=n!==null?n:g.easing||"swing";o===null&&(o={timerStart:k,start:jQuery.roundabout_getBearing(e),totalTime:t});j=k-o.timerStart;j<t?(g.animating=1,typeof jQuery.easing.def=="string"?(g=jQuery.easing[w]||jQuery.easing[jQuery.easing.def],
j=g(null,j,o.start,i-o.start,o.totalTime)):j=jQuery.easing[w](j/o.totalTime,j,o.start,i-o.start,o.totalTime),e.roundabout_setBearing(j,function(){e.roundabout_animateToBearing(i,t,w,o)})):(i=i<0?i+360:i%360,g.animating=0,e.roundabout_setBearing(i))});return this};jQuery.fn.roundabout_animateToDelta=function(i,e,g){this.each(function(){i=jQuery.roundabout_getBearing(jQuery(this))+jQuery.roundabout_toFloat(i);jQuery(this).roundabout_animateToBearing(i,e,g)});return this};
jQuery.fn.roundabout_animateToChild=function(i,e,g){this.each(function(){var j=jQuery(this),k=j.data("roundabout");k.childInFocus!==i&&k.animating===0&&(k=jQuery(j.children(k.childSelector)[i]),j.roundabout_animateAngleToFocus(k.data("roundabout").degrees,e,g))});return this};
jQuery.fn.roundabout_animateToNearbyChild=function(i,e){var g=i[0],j=i[1];this.each(function(){var i=jQuery(this).data("roundabout"),l=jQuery.roundabout_toFloat(360-jQuery.roundabout_getBearing(jQuery(this))),n=i.period,o=0,s=i.reflect,r=jQuery(this).children(i.childSelector).length,l=s===!0?l%360:l;if(i.animating===0)if(s===!1&&e==="next"||s===!0&&e!=="next")for(l=l===0?360:l;o<r;){i={lower:jQuery.roundabout_toFloat(n*o),upper:jQuery.roundabout_toFloat(n*(o+1))};i.upper=o==r-1?360:i.upper;if(l<=
i.upper&&l>i.lower){jQuery(this).roundabout_animateToDelta(l-i.lower,g,j);break}o++}else for(;;){i={lower:jQuery.roundabout_toFloat(n*o),upper:jQuery.roundabout_toFloat(n*(o+1))};i.upper=o==r-1?360:i.upper;if(l>=i.lower&&l<i.upper){jQuery(this).roundabout_animateToDelta(l-i.upper,g,j);break}o++}});return this};jQuery.fn.roundabout_animateToNextChild=function(){return this.roundabout_animateToNearbyChild(arguments,"next")};
jQuery.fn.roundabout_animateToPreviousChild=function(){return this.roundabout_animateToNearbyChild(arguments,"previous")};jQuery.fn.roundabout_animateAngleToFocus=function(i,e,g){this.each(function(){var j=jQuery.roundabout_getBearing(jQuery(this))-i,j=Math.abs(360-j)<Math.abs(0-j)?360-j:0-j,j=j>180?-(360-j):j;j!==0&&jQuery(this).roundabout_animateToDelta(j,e,g)});return this};
jQuery.fn.roundabout_updateChildPositions=function(){this.each(function(){var i=jQuery(this),e=i.data("roundabout"),g=-1,j={bearing:jQuery.roundabout_getBearing(i),tilt:e.tilt,stage:{width:Math.floor(i.width()*0.9),height:Math.floor(i.height()*0.9)},animating:e.animating,inFocus:e.childInFocus,focusBearingRad:jQuery.roundabout_degToRad(e.focusBearing),shape:jQuery.roundabout_shape[e.shape]||jQuery.roundabout_shape[jQuery.roundabout_shape.def]};j.midStage={width:j.stage.width/2,height:j.stage.height/
2};j.nudge={width:j.midStage.width+j.stage.width*0.05,height:j.midStage.height+j.stage.height*0.05};j.zValues={min:e.minZ,max:e.maxZ,diff:e.maxZ-e.minZ};j.opacity={min:e.minOpacity,max:e.maxOpacity,diff:e.maxOpacity-e.minOpacity};j.scale={min:e.minScale,max:e.maxScale,diff:e.maxScale-e.minScale};i.children(e.childSelector).each(function(e){jQuery.roundabout_updateChildPosition(jQuery(this),i,j,e)&&j.animating===0?(g=e,jQuery(this).addClass("roundabout-in-focus")):jQuery(this).removeClass("roundabout-in-focus")});
if(g!==j.inFocus)jQuery.roundabout_triggerEvent(i,j.inFocus,"blur"),g!==-1&&jQuery.roundabout_triggerEvent(i,g,"focus"),e.childInFocus=g});return this};jQuery.roundabout_getBearing=function(i){return jQuery.roundabout_toFloat(i.data("roundabout").bearing)%360};jQuery.roundabout_degToRad=function(i){return i%360*Math.PI/180};jQuery.roundabout_isInFocus=function(i,e){return jQuery.roundabout_getBearing(i)%360===e%360};jQuery.roundabout_triggerEvent=function(i,e,g){return e<0?this:jQuery(i.children(i.data("roundabout").childSelector)[e]).trigger(g)};
jQuery.roundabout_toFloat=function(i){i=Math.round(parseFloat(i)*1E3)/1E3;return parseFloat(i.toFixed(2))};
jQuery.roundabout_updateChildPosition=function(i,e,g,j){for(var i=jQuery(i),k=i.data("roundabout"),l=[],n=jQuery.roundabout_degToRad(360-i.data("roundabout").degrees+g.bearing);n<0;)n+=Math.PI*2;for(;n>Math.PI*2;)n-=Math.PI*2;n=g.shape(n,g.focusBearingRad,g.tilt);n.scale=n.scale>1?1:n.scale;n.adjustedScale=(g.scale.min+g.scale.diff*n.scale).toFixed(4);n.width=(n.adjustedScale*k.startWidth).toFixed(4);n.height=(n.adjustedScale*k.startHeight).toFixed(4);i.css("left",(n.x*g.midStage.width+g.nudge.width-
n.width/2).toFixed(1)+"px").css("top",(n.y*g.midStage.height+g.nudge.height-n.height/2).toFixed(1)+"px").css("width",n.width+"px").css("height",n.height+"px").css("opacity",(g.opacity.min+g.opacity.diff*n.scale).toFixed(2)).css("z-index",Math.round(g.zValues.min+g.zValues.diff*n.z)).css("font-size",(n.adjustedScale*k.startFontSize).toFixed(2)+"px").attr("current-scale",n.adjustedScale);e.data("roundabout").debug===!0&&(l.push('<div style="font-weight: normal; font-size: 10px; padding: 2px; width: '+
i.css("width")+'; background-color: #ffc;">'),l.push('<strong style="font-size: 12px; white-space: nowrap;">Child '+j+"</strong><br />"),l.push("<strong>left:</strong> "+i.css("left")+"<br /><strong>top:</strong> "+i.css("top")+"<br />"),l.push("<strong>width:</strong> "+i.css("width")+"<br /><strong>opacity:</strong> "+i.css("opacity")+"<br />"),l.push("<strong>z-index:</strong> "+i.css("z-index")+"<br /><strong>font-size:</strong> "+i.css("font-size")+"<br />"),l.push("<strong>scale:</strong> "+
i.attr("current-scale")),l.push("</div>"),i.html(l.join("")));return jQuery.roundabout_isInFocus(e,i.data("roundabout").degrees)};
(function(i){function e(){var e;e=i(this);if(!e.data("timeago")){e.data("timeago",{datetime:j.datetime(e)});var l=i.trim(e.text());l.length>0&&e.attr("title",l)}e=e.data("timeago");isNaN(e.datetime)||i(this).text(g(e.datetime));return this}function g(e){return j.inWords((new Date).getTime()-e.getTime())}i.timeago=function(e){return e instanceof Date?g(e):typeof e=="string"?g(i.timeago.parse(e)):g(i.timeago.datetime(e))};var j=i.timeago;i.extend(i.timeago,{settings:{refreshMillis:6E4,allowFuture:!1,
strings:{prefixAgo:null,prefixFromNow:null,suffixAgo:"ago",suffixFromNow:"from now",seconds:"less than a minute",minute:"about a minute",minutes:"%d minutes",hour:"about an hour",hours:"about %d hours",day:"a day",days:"%d days",month:"about a month",months:"%d months",year:"about a year",years:"%d years",numbers:[]}},inWords:function(e){function g(e,k){return(i.isFunction(e)?e(k):e).replace(/%d/i,j.numbers&&j.numbers[k]||k)}var j=this.settings.strings,o=j.prefixAgo,s=j.suffixAgo;if(this.settings.allowFuture){if(e<
0)o=j.prefixFromNow,s=j.suffixFromNow;e=Math.abs(e)}e/=1E3;var r=e/60,p=r/60,t=p/24,w=t/365,e=e<45&&g(j.seconds,Math.round(e))||e<90&&g(j.minute,1)||r<45&&g(j.minutes,Math.round(r))||r<90&&g(j.hour,1)||p<24&&g(j.hours,Math.round(p))||p<48&&g(j.day,1)||t<30&&g(j.days,Math.floor(t))||t<60&&g(j.month,1)||t<365&&g(j.months,Math.floor(t/30))||w<2&&g(j.year,1)||g(j.years,Math.floor(w));return i.trim([o,e,s].join(" "))},parse:function(e){e=i.trim(e);e=e.replace(/\.\d\d\d/,"");e=e.replace(/-/,"/").replace(/-/,
"/");e=e.replace(/T/," ").replace(/Z/," UTC");e=e.replace(/([\+-]\d\d)\:?(\d\d)/," $1$2");return new Date(e)},datetime:function(e){e=i(e).get(0).tagName.toLowerCase()=="time"?i(e).attr("datetime"):i(e).attr("title");return j.parse(e)}});i.fn.timeago=function(){var g=this;g.each(e);var i=j.settings;i.refreshMillis>0&&setInterval(function(){g.each(e)},i.refreshMillis);return g};document.createElement("abbr");document.createElement("time")})(jQuery);
var ObjectReload={start:function(){this.warmUpEngine();this.enableCarousel();this.enableAccordion();this.roundAboutTeam();this.enhanceMap();this.enhanceDetails();this.fetchTwitterFeed()},warmUpEngine:function(){$("html").addClass("js");var i=document.createElement("span"),e=function(e){for(var g=0;g<e.length;g+=1)if(i.style[e[g]]!==void 0)return!0};if(e(["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"])){var g=document.createElement("style"),j=document.createElement("div"),
k=" -o- -moz- -ms- -webkit- -khtml- ".split(" ");g.textContent="@media ("+k.join("transform-3d),(")+"modernizr){#modernizr{height:3px}}";document.getElementsByTagName("head")[0].appendChild(g);j.id="modernizr";document.documentElement.appendChild(j);ret=j.offsetHeight===3;g.parentNode.removeChild(g);j.parentNode.removeChild(j);ret&&$("body").addClass("transform3d")}e(["maskImage","WebkitMaskImage","MozMaskImage","OMaskImage","msMaskImage"])&&($(".entry header").each(function(){$(this).children(":first").attr("data-title",
function(){return $(this).text()})}),$("body").addClass("mask-image"))},enableCarousel:function(){var i=0,e=$(".works"),g=e.find(" > .slides > ul"),j=g.children("li"),k=j.length;g.css("width",k*1024);var l=$('<div class="indicator"/>'),n=$("<ul/>"),o=$('<a class="prev" href="">Previous project</a>'),s=$('<a class="next" href="">Next project</a>');s.bind("click",function(e){r(i+1);e.preventDefault()});o.bind("click",function(e){r(i-1);e.preventDefault()});var r=function(e){if(e<=k-1){e===k-1?s.addClass("next-hidden"):
s.removeClass("next-hidden");e>0?o.removeClass("prev-hidden"):o.addClass("prev-hidden");var l=j.eq(i).find(" > span"),w=j.eq(e).find(" > span");l.css({opacity:"0.0",display:"block"}).animate({opacity:"0.9"},500,"easeInOutQuad");w.animate({opacity:"0.0"},500,"easeInOutQuad",function(){w.css("display","none")});g.animate({"margin-left":0-1024*e},300,"easeInOutQuad",function(){n.find("li").eq(i).removeClass("current").end().eq(e).addClass("current");i=e})}else s.text("Next project"),r(0)};j.each(function(e){var g=
$("<li/>"),j=$('<a href="">'+e+" <span></span></a>"),k=$(this).children("span");e===i&&g.addClass("current");n.append(g);k.bind("click",function(){r(e)});j.bind("click",function(i){g.is(".current")||r(e);i.preventDefault()}).appendTo(g)});l.append(n).append(s).append(o).appendTo(e);o.addClass("prev-hidden");j.eq(i).find("> span").css({opacity:"0.0",display:"none"})},enableAccordion:function(){$("#works article").each(function(){var i=$(this).children("section"),e=i.length,g=956-(88+43*(e-2)),j=g+
44;i.find(".content").css("width",g);var k=function(g,k){i.each(function(i){var s=$(this),r=0,p=0,t=k===!0?"animate":"css";i===g?(r=43*i,p=j):i<g?(r=43*i,p=43):(r=43*(i-1)+j,p=i===e-1?44:43);s[t]({width:p,left:r},500)})};k(0,!1);i.each(function(e){$(this).find("a.toggle").bind("click",function(g){k(e,!0);g.preventDefault()})})})},roundAboutTeam:function(){var i=$(".team .roundabout");i.children("li").not(":first").append('<img src="styles/images/team-shadow.png">');i.roundabout({childSelector:".card",
duration:500,minOpacity:0.4,minScale:0.5,tilt:-6})},enhanceMap:function(){$(".contact .front").each(function(){var i=$(this),e=i.parent().parent(),g=i.height(),j=i.width();i.css("height",g);i.parent().css("height",g);var k=$(".contact .back"),l=k.find(".live-map"),n=$('<a class="close" href=""></a>').insertAfter(l);l.css("height",g-44);l=l.find("img");g=l.attr("src").replace("437x277",j-44+"x"+(g-44));l.attr("src",g);$(this).find(".map a").bind("click",function(g){$("body").is(".transform3d")?e.addClass("flip"):
(i.fadeOut(),k.fadeIn());g.preventDefault()});n.bind("click",function(g){$("body").is(".transform3d")?e.removeClass("flip"):(k.fadeOut(),i.fadeIn());g.preventDefault()})})},enhanceDetails:function(){$("details").each(function(){var i=$(this),e=i.find("summary"),g=i.is(".expanded");$('<span class="toggle"></span>').prependTo(e).bind("click",function(){i[(g?"remove":"add")+"Class"]("expanded");g=!g})})},fetchTwitterFeed:function(){$(".twitter ul").length!=0&&$.getJSON("http://api.twitter.com/1/statuses/user_timeline.json?screen_name=objectreload&count=3&include_rts=true&callback=?",
function(i){var e=$(".twitter ul");e.html("");$(i).each(function(g,i){var k=i.text,k=k.replace(/(\b(https?|ftp|file):\/\/[-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|])/ig,'<a href="$1" rel="external">$1</a>'),k=k.replace(/@([\w]+)/ig,'@<a href="http://www.twitter.com/$1" rel="external">$1</a>');e.append("<li><p>"+k+"</p> <time>"+$.timeago(i.created_at)+"</time>")});e.after('<p><a href="http://twitter.com/objectreload">Follow us on Twitter</a></p>')})}};$(function(){ObjectReload.start()});

