(function(n,t){function eu(n){var r=hr[n]={},t,i;for(n=n.split(/\s+/),t=0,i=n.length;t<i;t++)r[n[t]]=!0;return r}function vr(n,r,u){if(u===t&&n.nodeType===1){var f="data-"+r.replace(lr,"-$1").toLowerCase();if(u=n.getAttribute(f),typeof u=="string"){try{u=u==="true"?!0:u==="false"?!1:u==="null"?null:i.isNumeric(u)?parseFloat(u):cr.test(u)?i.parseJSON(u):u}catch(e){}i.data(n,r,u)}else u=t}return u}function st(n){for(var t in n)if((t!=="data"||!i.isEmptyObject(n[t]))&&t!=="toJSON")return!1;return!0}function er(n,t,r){var e=t+"defer",o=t+"queue",u=t+"mark",f=i._data(n,e);!f||r!=="queue"&&i._data(n,o)||r!=="mark"&&i._data(n,u)||setTimeout(function(){i._data(n,o)||i._data(n,u)||(i.removeData(n,e,!0),f.fire())},0)}function h(){return!1}function b(){return!0}function nr(n){return!n||!n.parentNode||n.parentNode.nodeType===11}function bi(n,t,r){if(t=t||0,i.isFunction(t))return i.grep(n,function(n,i){var u=!!t.call(n,i,n);return u===r});if(t.nodeType)return i.grep(n,function(n){return n===t===r});if(typeof t=="string"){var u=i.grep(n,function(n){return n.nodeType===1});if(kf.test(t))return i.filter(t,u,!r);t=i.filter(t,u)}return i.grep(n,function(n){return i.inArray(n,t)>=0===r})}function wi(n){var i=ki.split("|"),t=n.createDocumentFragment();if(t.createElement)while(i.length)t.createElement(i.pop());return t}function uf(n){return i.nodeName(n,"table")?n.getElementsByTagName("tbody")[0]||n.appendChild(n.ownerDocument.createElement("tbody")):n}function dt(n,t){if(t.nodeType===1&&i.hasData(n)){var f,u,o,s=i._data(n),e=i._data(t,s),r=s.events;if(r){delete e.handle,e.events={};for(f in r)for(u=0,o=r[f].length;u<o;u++)i.event.add(t,f+(r[f][u].namespace?".":"")+r[f][u].namespace,r[f][u],r[f][u].data)}e.data&&(e.data=i.extend({},e.data))}}function kt(n,t){var r;t.nodeType===1&&(t.clearAttributes&&t.clearAttributes(),t.mergeAttributes&&t.mergeAttributes(n),r=t.nodeName.toLowerCase(),r==="object"?t.outerHTML=n.outerHTML:r==="input"&&(n.type==="checkbox"||n.type==="radio")?(n.checked&&(t.defaultChecked=t.checked=n.checked),t.value!==n.value&&(t.value=n.value)):r==="option"?t.selected=n.defaultSelected:(r==="input"||r==="textarea")&&(t.defaultValue=n.defaultValue),t.removeAttribute(i.expando))}function w(n){return typeof n.getElementsByTagName!="undefined"?n.getElementsByTagName("*"):typeof n.querySelectorAll!="undefined"?n.querySelectorAll("*"):[]}function wt(n){(n.type==="checkbox"||n.type==="radio")&&(n.defaultChecked=n.checked)}function bt(n){var t=(n.nodeName||"").toLowerCase();t==="input"?wt(n):t!=="script"&&typeof n.getElementsByTagName!="undefined"&&i.grep(n.getElementsByTagName("input"),wt)}function sf(n){var t=r.createElement("div");return at.appendChild(t),t.innerHTML=n.outerHTML,t.firstChild}function bu(n,t){t.src?i.ajax({url:t.src,async:!1,dataType:"script"}):i.globalEval((t.text||t.textContent||t.innerHTML||"").replace(ef,"/*$0*/")),t.parentNode&&t.parentNode.removeChild(t)}function yt(n,t,r){var u=t==="width"?n.offsetWidth:n.offsetHeight,e=t==="width"?gu:lf,f=0,o=e.length;if(u>0){if(r!=="border")for(;f<o;f++)r||(u-=parseFloat(i.css(n,"padding"+e[f]))||0),r==="margin"?u+=parseFloat(i.css(n,r+e[f]))||0:u-=parseFloat(i.css(n,"border"+e[f]+"Width"))||0;return u+"px"}if(u=l(n,t,t),(u<0||u==null)&&(u=n.style[t]||0),u=parseFloat(u)||0,r)for(;f<o;f++)u+=parseFloat(i.css(n,"padding"+e[f]))||0,r!=="padding"&&(u+=parseFloat(i.css(n,"border"+e[f]+"Width"))||0),r==="margin"&&(u+=parseFloat(i.css(n,r+e[f]))||0);return u+"px"}function ai(n){return function(t,r){if(typeof t!="string"&&(r=t,t="*"),i.isFunction(r))for(var s=t.toLowerCase().split(hi),e=0,h=s.length,u,o,f;e<h;e++)u=s[e],f=/^\+/.test(u),f&&(u=u.substr(1)||"*"),o=n[u]=n[u]||[],o[f?"unshift":"push"](r)}}function p(n,i,r,u,f,e){f=f||i.dataTypes[0],e=e||{},e[f]=!0;for(var h=n[f],c=0,l=h?h.length:0,s=n===rt,o;c<l&&(s||!o);c++)o=h[c](i,r,u),typeof o=="string"&&(!s||e[o]?o=t:(i.dataTypes.unshift(o),o=p(n,i,r,u,o,e)));return!s&&o||e["*"]||(o=p(n,i,r,u,"*",e)),o}function lt(n,r){var u,f,e=i.ajaxSettings.flatOptions||{};for(u in r)r[u]!==t&&((e[u]?n:f||(f={}))[u]=r[u]);f&&i.extend(!0,n,f)}function et(n,t,r,u){if(i.isArray(t))i.each(t,function(t,f){r||gf.test(n)?u(n,f):et(n+"["+(typeof f=="object"||i.isArray(f)?t:"")+"]",f,r,u)});else if(r||t==null||typeof t!="object")u(n,t);else for(var f in t)et(n+"["+f+"]",t[f],r,u)}function ru(n,i,r){var h=n.contents,f=n.dataTypes,c=n.responseFields,o,u,e,s;for(u in c)u in r&&(i[c[u]]=r[u]);while(f[0]==="*")f.shift(),o===t&&(o=n.mimeType||i.getResponseHeader("content-type"));if(o)for(u in h)if(h[u]&&h[u].test(o)){f.unshift(u);break}if(f[0]in r)e=f[0];else{for(u in r){if(!f[0]||n.converters[u+" "+f[0]]){e=u;break}s||(s=u)}e=e||s}if(e)return e!==f[0]&&f.unshift(e),r[e]}function iu(n,r){n.dataFilter&&(r=n.dataFilter(r,n.dataType));for(var v=n.dataTypes,s={},l,p=v.length,a,f=v[0],h,y,u,o,e,c=1;c<p;c++){if(c===1)for(l in n.converters)typeof l=="string"&&(s[l.toLowerCase()]=n.converters[l]);if(h=f,f=v[c],f==="*")f=h;else if(h!=="*"&&h!==f){if(y=h+" "+f,u=s[y]||s["* "+f],!u){e=t;for(o in s)if(a=o.split(" "),(a[0]===h||a[0]==="*")&&(e=s[a[1]+" "+f],e)){o=s[o],o===!0?u=e:e===!0&&(u=o);break}}u||e||i.error("No conversion from "+y.replace(" "," to ")),u!==!0&&(r=u?u(r):e(o(r)))}}return r}function ti(){try{return new n.XMLHttpRequest}catch(t){}}function cu(){try{return new n.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}function oi(){return setTimeout(uu,0),tt=i.now()}function uu(){tt=t}function a(n,t){var r={};return i.each(ui.concat.apply([],ui.slice(0,t)),function(){r[this]=n}),r}function ei(n){if(!ht[n]){var e=r.body,t=i("<"+n+">").appendTo(e),u=t.css("display");t.remove(),(u==="none"||u==="")&&(f||(f=r.createElement("iframe"),f.frameBorder=f.width=f.height=0),e.appendChild(f),c&&f.createElement||(c=(f.contentWindow||f.contentDocument).document,c.write((r.compatMode==="CSS1Compat"?"<!doctype html>":"")+"<html><body>"),c.close()),t=c.createElement(n),c.body.appendChild(t),u=i.css(t,"display"),e.removeChild(f)),ht[n]=u}return ht[n]}function it(n){return i.isWindow(n)?n:n.nodeType===9?n.defaultView||n.parentWindow:!1}var r=n.document,ou=n.navigator,su=n.location,i=function(){function l(){if(!i.isReady){try{r.documentElement.doScroll("left")}catch(n){setTimeout(l,1);return}i.ready()}}var i=function(n,t){return new i.fn.init(n,t,p)},g=n.jQuery,it=n.$,p,tt=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,w=/\S/,y=/^\s+/,b=/\s+$/,k=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,rt=/^[\],:{}\s]*$/,ft=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,ot=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,st=/(?:^|:|,)(?:\s*\[)+/g,et=/(webkit)[ \/]([\w.]+)/,ut=/(opera)(?:.*version)?[ \/]([\w.]+)/,nt=/(msie) ([\w.]+)/,at=/(mozilla)(?:.*? rv:([\w.]+))?/,vt=/-([a-z]|[0-9])/ig,lt=/^-ms-/,ht=function(n,t){return(t+"").toUpperCase()},ct=ou.userAgent,e,o,u,d=Object.prototype.toString,s=Object.prototype.hasOwnProperty,h=Array.prototype.push,f=Array.prototype.slice,a=String.prototype.trim,v=Array.prototype.indexOf,c={};return i.fn=i.prototype={constructor:i,init:function(n,u,f){var o,s,e,h;if(!n)return this;if(n.nodeType)return this.context=this[0]=n,this.length=1,this;if(n==="body"&&!u&&r.body)return this.context=r,this[0]=r.body,this.selector=n,this.length=1,this;if(typeof n=="string"){if(o=n.charAt(0)==="<"&&n.charAt(n.length-1)===">"&&n.length>=3?[null,n,null]:tt.exec(n),o&&(o[1]||!u)){if(o[1])return u=u instanceof i?u[0]:u,h=u?u.ownerDocument||u:r,e=k.exec(n),e?i.isPlainObject(u)?(n=[r.createElement(e[1])],i.fn.attr.call(n,u,!0)):n=[h.createElement(e[1])]:(e=i.buildFragment([o[1]],[h]),n=(e.cacheable?i.clone(e.fragment):e.fragment).childNodes),i.merge(this,n);if(s=r.getElementById(o[2]),s&&s.parentNode){if(s.id!==o[2])return f.find(n);this.length=1,this[0]=s}return this.context=r,this.selector=n,this}return!u||u.jquery?(u||f).find(n):this.constructor(u).find(n)}return i.isFunction(n)?f.ready(n):(n.selector!==t&&(this.selector=n.selector,this.context=n.context),i.makeArray(n,this))},selector:"",jquery:"1.7.1",length:0,size:function(){return this.length},toArray:function(){return f.call(this,0)},get:function(n){return n==null?this.toArray():n<0?this[this.length+n]:this[n]},pushStack:function(n,t,r){var u=this.constructor();return i.isArray(n)?h.apply(u,n):i.merge(u,n),u.prevObject=this,u.context=this.context,t==="find"?u.selector=this.selector+(this.selector?" ":"")+r:t&&(u.selector=this.selector+"."+t+"("+r+")"),u},each:function(n,t){return i.each(this,n,t)},ready:function(n){return i.bindReady(),o.add(n),this},eq:function(n){return n=+n,n===-1?this.slice(n):this.slice(n,n+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(f.apply(this,arguments),"slice",f.call(arguments).join(","))},map:function(n){return this.pushStack(i.map(this,function(t,i){return n.call(t,i,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:h,sort:[].sort,splice:[].splice},i.fn.init.prototype=i.fn,i.extend=i.fn.extend=function(){var s,e,u,r,h,c,n=arguments[0]||{},f=1,l=arguments.length,o=!1;for(typeof n=="boolean"&&(o=n,n=arguments[1]||{},f=2),typeof n=="object"||i.isFunction(n)||(n={}),l===f&&(n=this,--f);f<l;f++)if((s=arguments[f])!=null)for(e in s)(u=n[e],r=s[e],n!==r)&&(o&&r&&(i.isPlainObject(r)||(h=i.isArray(r)))?(h?(h=!1,c=u&&i.isArray(u)?u:[]):c=u&&i.isPlainObject(u)?u:{},n[e]=i.extend(o,c,r)):r!==t&&(n[e]=r));return n},i.extend({noConflict:function(t){return n.$===i&&(n.$=it),t&&n.jQuery===i&&(n.jQuery=g),i},isReady:!1,readyWait:1,holdReady:function(n){n?i.readyWait++:i.ready(!0)},ready:function(n){if(n===!0&&!--i.readyWait||n!==!0&&!i.isReady){if(!r.body)return setTimeout(i.ready,1);if(i.isReady=!0,n!==!0&&--i.readyWait>0)return;o.fireWith(r,[i]),i.fn.trigger&&i(r).trigger("ready").off("ready")}},bindReady:function(){if(!o){if(o=i.Callbacks("once memory"),r.readyState==="complete")return setTimeout(i.ready,1);if(r.addEventListener)r.addEventListener("DOMContentLoaded",u,!1),n.addEventListener("load",i.ready,!1);else if(r.attachEvent){r.attachEvent("onreadystatechange",u),n.attachEvent("onload",i.ready);var t=!1;try{t=n.frameElement==null}catch(f){}r.documentElement.doScroll&&t&&l()}}},isFunction:function(n){return i.type(n)==="function"},isArray:Array.isArray||function(n){return i.type(n)==="array"},isWindow:function(n){return n&&typeof n=="object"&&"setInterval"in n},isNumeric:function(n){return!isNaN(parseFloat(n))&&isFinite(n)},type:function(n){return n==null?String(n):c[d.call(n)]||"object"},isPlainObject:function(n){if(!n||i.type(n)!=="object"||n.nodeType||i.isWindow(n))return!1;try{if(n.constructor&&!s.call(n,"constructor")&&!s.call(n.constructor.prototype,"isPrototypeOf"))return!1}catch(u){return!1}var r;for(r in n);return r===t||s.call(n,r)},isEmptyObject:function(n){for(var t in n)return!1;return!0},error:function(n){throw new Error(n);},parseJSON:function(t){if(typeof t!="string"||!t)return null;if(t=i.trim(t),n.JSON&&n.JSON.parse)return n.JSON.parse(t);if(rt.test(t.replace(ft,"@").replace(ot,"]").replace(st,"")))return new Function("return "+t)();i.error("Invalid JSON: "+t)},parseXML:function(r){var u,f;try{n.DOMParser?(f=new DOMParser,u=f.parseFromString(r,"text/xml")):(u=new ActiveXObject("Microsoft.XMLDOM"),u.async="false",u.loadXML(r))}catch(e){u=t}return u&&u.documentElement&&!u.getElementsByTagName("parsererror").length||i.error("Invalid XML: "+r),u},noop:function(){},globalEval:function(t){t&&w.test(t)&&(n.execScript||function(t){n.eval.call(n,t)})(t)},camelCase:function(n){return n.replace(lt,"ms-").replace(vt,ht)},nodeName:function(n,t){return n.nodeName&&n.nodeName.toUpperCase()===t.toUpperCase()},each:function(n,r,u){var e,f=0,o=n.length,s=o===t||i.isFunction(n);if(u){if(s){for(e in n)if(r.apply(n[e],u)===!1)break}else for(;f<o;)if(r.apply(n[f++],u)===!1)break}else if(s){for(e in n)if(r.call(n[e],e,n[e])===!1)break}else for(;f<o;)if(r.call(n[f],f,n[f++])===!1)break;return n},trim:a?function(n){return n==null?"":a.call(n)}:function(n){return n==null?"":n.toString().replace(y,"").replace(b,"")},makeArray:function(n,t){var u=t||[],r;return n!=null&&(r=i.type(n),n.length==null||r==="string"||r==="function"||r==="regexp"||i.isWindow(n)?h.call(u,n):i.merge(u,n)),u},inArray:function(n,t,i){var r;if(t){if(v)return v.call(t,n,i);for(r=t.length,i=i?i<0?Math.max(0,r+i):i:0;i<r;i++)if(i in t&&t[i]===n)return i}return-1},merge:function(n,i){var u=n.length,r=0,f;if(typeof i.length=="number")for(f=i.length;r<f;r++)n[u++]=i[r];else while(i[r]!==t)n[u++]=i[r++];return n.length=u,n},grep:function(n,t,i){var f=[],e,r,u;for(i=!!i,r=0,u=n.length;r<u;r++)e=!!t(n[r],r),i!==e&&f.push(n[r]);return f},map:function(n,r,u){var o,h,f=[],s=0,e=n.length,c=n instanceof i||e!==t&&typeof e=="number"&&(e>0&&n[0]&&n[e-1]||e===0||i.isArray(n));if(c)for(;s<e;s++)o=r(n[s],s,u),o!=null&&(f[f.length]=o);else for(h in n)o=r(n[h],h,u),o!=null&&(f[f.length]=o);return f.concat.apply([],f)},guid:1,proxy:function(n,r){var e,o,u;return(typeof r=="string"&&(e=n[r],r=n,n=e),!i.isFunction(n))?t:(o=f.call(arguments,2),u=function(){return n.apply(r,o.concat(f.call(arguments)))},u.guid=n.guid=n.guid||u.guid||i.guid++,u)},access:function(n,r,u,f,e,o){var c=n.length,h,s;if(typeof r=="object"){for(h in r)i.access(n,h,r[h],f,e,u);return n}if(u!==t){for(f=!o&&f&&i.isFunction(u),s=0;s<c;s++)e(n[s],r,f?u.call(n[s],s,e(n[s],r)):u,o);return n}return c?e(n[0],r):t},now:function(){return+new Date},uaMatch:function(n){n=n.toLowerCase();var t=et.exec(n)||ut.exec(n)||nt.exec(n)||n.indexOf("compatible")<0&&at.exec(n)||[];return{browser:t[1]||"",version:t[2]||"0"}},sub:function(){function n(t,i){return new n.fn.init(t,i)}i.extend(!0,n,this),n.superclass=this,n.fn=n.prototype=this(),n.fn.constructor=n,n.sub=this.sub,n.fn.init=function(r,u){return u&&u instanceof i&&!(u instanceof n)&&(u=n(u)),i.fn.init.call(this,r,u,t)},n.fn.init.prototype=n.fn;var t=n(r);return n},browser:{}}),i.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(n,t){c["[object "+t+"]"]=t.toLowerCase()}),e=i.uaMatch(ct),e.browser&&(i.browser[e.browser]=!0,i.browser.version=e.version),i.browser.webkit&&(i.browser.safari=!0),w.test(" ")&&(y=/^[\s\xA0]+/,b=/[\s\xA0]+$/),p=i(r),r.addEventListener?u=function(){r.removeEventListener("DOMContentLoaded",u,!1),i.ready()}:r.attachEvent&&(u=function(){r.readyState==="complete"&&(r.detachEvent("onreadystatechange",u),i.ready())}),i}(),hr={},k,cr,lr,ri,y,d,ii,v,fi,ot;i.Callbacks=function(n){n=n?hr[n]||eu(n):{};var r=[],f=[],u,s,c,h,e,l=function(t){for(var u,e,h,f=0,s=t.length;f<s;f++)u=t[f],e=i.type(u),e==="array"?l(u):e==="function"&&(n.unique&&o.has(u)||r.push(u))},a=function(t,i){for(i=i||[],u=!n.memory||[t,i],s=!0,e=c||0,c=0,h=r.length;r&&e<h;e++)if(r[e].apply(t,i)===!1&&n.stopOnFalse){u=!0;break}s=!1,r&&(n.once?u===!0?o.disable():r=[]:f&&f.length&&(u=f.shift(),o.fireWith(u[0],u[1])))},o={add:function(){if(r){var n=r.length;l(arguments),s?h=r.length:u&&u!==!0&&(c=n,a(u[0],u[1]))}return this},remove:function(){var t;if(r)for(var u=arguments,i=0,f=u.length;i<f;i++)for(t=0;t<r.length;t++)if(u[i]===r[t]&&(s&&t<=h&&(h--,t<=e&&e--),r.splice(t--,1),n.unique))break;return this},has:function(n){if(r)for(var t=0,i=r.length;t<i;t++)if(n===r[t])return!0;return!1},empty:function(){return r=[],this},disable:function(){return r=f=u=t,this},disabled:function(){return!r},lock:function(){return f=t,u&&u!==!0||o.disable(),this},locked:function(){return!f},fireWith:function(t,i){return f&&(s?n.once||f.push([t,i]):n.once&&u||a(t,i)),this},fire:function(){return o.fireWith(this,arguments),this},fired:function(){return!!u}};return o},k=[].slice,i.extend({Deferred:function(n){var u=i.Callbacks("once memory"),o=i.Callbacks("once memory"),e=i.Callbacks("memory"),s="pending",h={resolve:u,reject:o,notify:e},f={done:u.add,fail:o.add,progress:e.add,state:function(){return s},isResolved:u.fired,isRejected:o.fired,then:function(n,i,r){return t.done(n).fail(i).progress(r),this},always:function(){return t.done.apply(t,arguments).fail.apply(t,arguments),this},pipe:function(n,r,u){return i.Deferred(function(f){i.each({done:[n,"resolve"],fail:[r,"reject"],progress:[u,"notify"]},function(n,r){var e=r[0],o=r[1],u;i.isFunction(e)?t[n](function(){u=e.apply(this,arguments),u&&i.isFunction(u.promise)?u.promise().then(f.resolve,f.reject,f.notify):f[o+"With"](this===t?f:this,[u])}):t[n](f[o])})}).promise()},promise:function(n){if(n==null)n=f;else for(var t in f)n[t]=f[t];return n}},t=f.promise({}),r;for(r in h)t[r]=h[r].fire,t[r+"With"]=h[r].fireWith;return t.done(function(){s="resolved"},o.disable,e.lock).fail(function(){s="rejected"},u.disable,e.lock),n&&n.call(t,t),t},when:function(n){function h(n){return function(i){u[n]=arguments.length>1?k.call(arguments,0):i,--e||t.resolveWith(t,u)}}function c(n){return function(i){o[n]=arguments.length>1?k.call(arguments,0):i,t.notifyWith(s,o)}}var u=k.call(arguments,0),r=0,f=u.length,o=new Array(f),e=f,l=f,t=f<=1&&n&&i.isFunction(n.promise)?n:i.Deferred(),s=t.promise();if(f>1){for(;r<f;r++)u[r]&&u[r].promise&&i.isFunction(u[r].promise)?u[r].promise().then(h(r),t.reject,c(r)):--e;e||t.resolveWith(t,u)}else t!==n&&t.resolveWith(t,f?[n]:[]);return s}}),i.support=function(){var u,y,o,v,a,f,h,e,c,k,l,p,s,t=r.createElement("div"),b=r.documentElement;if(t.setAttribute("className","t"),t.innerHTML="   <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/>",y=t.getElementsByTagName("*"),o=t.getElementsByTagName("a")[0],!y||!y.length||!o)return{};v=r.createElement("select"),a=v.appendChild(r.createElement("option")),f=t.getElementsByTagName("input")[0],u={leadingWhitespace:t.firstChild.nodeType===3,tbody:!t.getElementsByTagName("tbody").length,htmlSerialize:!!t.getElementsByTagName("link").length,style:/top/.test(o.getAttribute("style")),hrefNormalized:o.getAttribute("href")==="/a",opacity:/^0.55/.test(o.style.opacity),cssFloat:!!o.style.cssFloat,checkOn:f.value==="on",optSelected:a.selected,getSetAttribute:t.className!=="t",enctype:!!r.createElement("form").enctype,html5Clone:r.createElement("nav").cloneNode(!0).outerHTML!=="<:nav></:nav>",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0},f.checked=!0,u.noCloneChecked=f.cloneNode(!0).checked,v.disabled=!0,u.optDisabled=!a.disabled;try{delete t.test}catch(w){u.deleteExpando=!1}if(!t.addEventListener&&t.attachEvent&&t.fireEvent&&(t.attachEvent("onclick",function(){u.noCloneEvent=!1}),t.cloneNode(!0).fireEvent("onclick")),f=r.createElement("input"),f.value="t",f.setAttribute("type","radio"),u.radioValue=f.value==="t",f.setAttribute("checked","checked"),t.appendChild(f),e=r.createDocumentFragment(),e.appendChild(t.lastChild),u.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,u.appendChecked=f.checked,e.removeChild(f),e.appendChild(t),t.innerHTML="",n.getComputedStyle&&(h=r.createElement("div"),h.style.width="0",h.style.marginRight="0",t.style.width="2px",t.appendChild(h),u.reliableMarginRight=(parseInt((n.getComputedStyle(h,null)||{marginRight:0}).marginRight,10)||0)===0),t.attachEvent)for(p in{submit:1,change:1,focusin:1})l="on"+p,s=l in t,s||(t.setAttribute(l,"return;"),s=typeof t[l]=="function"),u[p+"Bubbles"]=s;return e.removeChild(t),e=v=a=h=t=f=null,i(function(){var f,h,n,b,w,e,y,v,l,a,p,o=r.getElementsByTagName("body")[0];o&&(y=1,v="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;",l="visibility:hidden;border:0;",a="style='"+v+"border:5px solid #000;padding:0;'",p="<div "+a+"><div></div></div><table "+a+" cellpadding='0' cellspacing='0'><tr><td></td></tr></table>",f=r.createElement("div"),f.style.cssText=l+"width:0;height:0;position:static;top:0;margin-top:"+y+"px",o.insertBefore(f,o.firstChild),t=r.createElement("div"),f.appendChild(t),t.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>",c=t.getElementsByTagName("td"),s=c[0].offsetHeight===0,c[0].style.display="",c[1].style.display="none",u.reliableHiddenOffsets=s&&c[0].offsetHeight===0,t.innerHTML="",t.style.width=t.style.paddingLeft="1px",i.boxModel=u.boxModel=t.offsetWidth===2,typeof t.style.zoom!="undefined"&&(t.style.display="inline",t.style.zoom=1,u.inlineBlockNeedsLayout=t.offsetWidth===2,t.style.display="",t.innerHTML="<div style='width:4px;'></div>",u.shrinkWrapBlocks=t.offsetWidth!==2),t.style.cssText=v+l,t.innerHTML=p,h=t.firstChild,n=h.firstChild,w=h.nextSibling.firstChild.firstChild,e={doesNotAddBorder:n.offsetTop!==5,doesAddBorderForTableAndCells:w.offsetTop===5},n.style.position="fixed",n.style.top="20px",e.fixedPosition=n.offsetTop===20||n.offsetTop===15,n.style.position=n.style.top="",h.style.overflow="hidden",h.style.position="relative",e.subtractsBorderForOverflowNotVisible=n.offsetTop===-5,e.doesNotIncludeMarginInBodyOffset=o.offsetTop!==y,o.removeChild(f),t=f=null,i.extend(u,e))}),u}(),cr=/^(?:\{.*\}|\[.*\])$/,lr=/([A-Z])/g,i.extend({cache:{},uuid:0,expando:"jQuery"+(i.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(n){return n=n.nodeType?i.cache[n[i.expando]]:n[i.expando],!!n&&!st(n)},data:function(n,r,u,f){if(i.acceptData(n)){var v,s,c,h=i.expando,y=typeof r=="string",l=n.nodeType,o=l?i.cache:n,e=l?n[h]:n[h]&&h,a=r==="events";if(e&&o[e]&&(a||f||o[e].data)||!y||u!==t)return(e||(l?n[h]=e=++i.uuid:e=h),o[e]||(o[e]={},l||(o[e].toJSON=i.noop)),(typeof r=="object"||typeof r=="function")&&(f?o[e]=i.extend(o[e],r):o[e].data=i.extend(o[e].data,r)),v=s=o[e],f||(s.data||(s.data={}),s=s.data),u!==t&&(s[i.camelCase(r)]=u),a&&!s[r])?v.events:(y?(c=s[r],c==null&&(c=s[i.camelCase(r)])):c=s,c)}},removeData:function(n,t,r){if(i.acceptData(n)){var e,s,c,o=i.expando,h=n.nodeType,u=h?i.cache:n,f=h?n[o]:o;if(u[f]){if(t&&(e=r?u[f]:u[f].data,e)){for(i.isArray(t)||(t in e?t=[t]:(t=i.camelCase(t),t=t in e?[t]:t.split(" "))),s=0,c=t.length;s<c;s++)delete e[t[s]];if(!(r?st:i.isEmptyObject)(e))return}(r||(delete u[f].data,st(u[f])))&&(i.support.deleteExpando||!u.setInterval?delete u[f]:u[f]=null,h&&(i.support.deleteExpando?delete n[o]:n.removeAttribute?n.removeAttribute(o):n[o]=null))}}},_data:function(n,t,r){return i.data(n,t,r,!0)},acceptData:function(n){if(n.nodeName){var t=i.noData[n.nodeName.toLowerCase()];if(t)return!(t===!0||n.getAttribute("classid")!==t)}return!0}}),i.fn.extend({data:function(n,r){var u,s,e,f=null,o,h;if(typeof n=="undefined"){if(this.length&&(f=i.data(this[0]),this[0].nodeType===1&&!i._data(this[0],"parsedAttrs"))){for(s=this[0].attributes,o=0,h=s.length;o<h;o++)e=s[o].name,e.indexOf("data-")===0&&(e=i.camelCase(e.substring(5)),vr(this[0],e,f[e]));i._data(this[0],"parsedAttrs",!0)}return f}return typeof n=="object"?this.each(function(){i.data(this,n)}):(u=n.split("."),u[1]=u[1]?"."+u[1]:"",r===t?(f=this.triggerHandler("getData"+u[1]+"!",[u[0]]),f===t&&this.length&&(f=i.data(this[0],n),f=vr(this[0],n,f)),f===t&&u[1]?this.data(u[0]):f):this.each(function(){var f=i(this),t=[u[0],r];f.triggerHandler("setData"+u[1]+"!",t),i.data(this,n,r),f.triggerHandler("changeData"+u[1]+"!",t)}))},removeData:function(n){return this.each(function(){i.removeData(this,n)})}}),i.extend({_mark:function(n,t){n&&(t=(t||"fx")+"mark",i._data(n,t,(i._data(n,t)||0)+1))},_unmark:function(n,t,r){if(n!==!0&&(r=t,t=n,n=!1),t){r=r||"fx";var u=r+"mark",f=n?0:(i._data(t,u)||1)-1;f?i._data(t,u,f):(i.removeData(t,u,!0),er(t,r,"mark"))}},queue:function(n,t,r){var u;if(n)return t=(t||"fx")+"queue",u=i._data(n,t),r&&(!u||i.isArray(r)?u=i._data(n,t,i.makeArray(r)):u.push(r)),u||[]},dequeue:function(n,t){t=t||"fx";var u=i.queue(n,t),r=u.shift(),f={};r==="inprogress"&&(r=u.shift()),r&&(t==="fx"&&u.unshift("inprogress"),i._data(n,t+".run",f),r.call(n,function(){i.dequeue(n,t)},f)),u.length||(i.removeData(n,t+"queue "+t+".run",!0),er(n,t,"queue"))}}),i.fn.extend({queue:function(n,r){return(typeof n!="string"&&(r=n,n="fx"),r===t)?i.queue(this[0],n):this.each(function(){var t=i.queue(this,n,r);n==="fx"&&t[0]!=="inprogress"&&i.dequeue(this,n)})},dequeue:function(n){return this.each(function(){i.dequeue(this,n)})},delay:function(n,t){return n=i.fx?i.fx.speeds[n]||n:n,t=t||"fx",this.queue(t,function(t,i){var r=setTimeout(t,n);i.stop=function(){clearTimeout(r)}})},clearQueue:function(n){return this.queue(n||"fx",[])},promise:function(n,r){function o(){--h||c.resolveWith(u,[u])}typeof n!="string"&&(r=n,n=t),n=n||"fx";for(var c=i.Deferred(),u=this,f=u.length,h=1,s=n+"defer",l=n+"queue",a=n+"mark",e;f--;)(e=i.data(u[f],s,t,!0)||(i.data(u[f],l,t,!0)||i.data(u[f],a,t,!0))&&i.data(u[f],s,i.Callbacks("once memory"),!0))&&(h++,e.add(o));return o(),c.promise()}});var di=/[\n\t\r]/g,nt=/\s+/,vu=/\r/g,yu=/^(?:button|input)$/i,au=/^(?:button|input|object|select|textarea)$/i,lu=/^a(?:rea)?$/i,ur=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,fr=i.support.getSetAttribute,e,rr,ir;i.fn.extend({attr:function(n,t){return i.access(this,n,t,!0,i.attr)},removeAttr:function(n){return this.each(function(){i.removeAttr(this,n)})},prop:function(n,t){return i.access(this,n,t,!0,i.prop)},removeProp:function(n){return n=i.propFix[n]||n,this.each(function(){try{this[n]=t,delete this[n]}catch(i){}})},addClass:function(n){var u,e,s,t,f,r,o;if(i.isFunction(n))return this.each(function(t){i(this).addClass(n.call(this,t,this.className))});if(n&&typeof n=="string")for(u=n.split(nt),e=0,s=this.length;e<s;e++)if(t=this[e],t.nodeType===1)if(t.className||u.length!==1){for(f=" "+t.className+" ",r=0,o=u.length;r<o;r++)~f.indexOf(" "+u[r]+" ")||(f+=u[r]+" ");t.className=i.trim(f)}else t.className=n;return this},removeClass:function(n){var o,e,h,r,u,f,s;if(i.isFunction(n))return this.each(function(t){i(this).removeClass(n.call(this,t,this.className))});if(n&&typeof n=="string"||n===t)for(o=(n||"").split(nt),e=0,h=this.length;e<h;e++)if(r=this[e],r.nodeType===1&&r.className)if(n){for(u=(" "+r.className+" ").replace(di," "),f=0,s=o.length;f<s;f++)u=u.replace(" "+o[f]+" "," ");r.className=i.trim(u)}else r.className="";return this},toggleClass:function(n,t){var r=typeof n,u=typeof t=="boolean";return i.isFunction(n)?this.each(function(r){i(this).toggleClass(n.call(this,r,this.className,t),t)}):this.each(function(){if(r==="string")for(var e,h=0,o=i(this),f=t,s=n.split(nt);e=s[h++];)f=u?f:!o.hasClass(e),o[f?"addClass":"removeClass"](e);else(r==="undefined"||r==="boolean")&&(this.className&&i._data(this,"__className__",this.className),this.className=this.className||n===!1?"":i._data(this,"__className__")||"")})},hasClass:function(n){for(var r=" "+n+" ",t=0,i=this.length;t<i;t++)if(this[t].nodeType===1&&(" "+this[t].className+" ").replace(di," ").indexOf(r)>-1)return!0;return!1},val:function(n){var r,u,e,f=this[0];return arguments.length?(e=i.isFunction(n),this.each(function(u){var o=i(this),f;this.nodeType===1&&(f=e?n.call(this,u,o.val()):n,f==null?f="":typeof f=="number"?f+="":i.isArray(f)&&(f=i.map(f,function(n){return n==null?"":n+""})),r=i.valHooks[this.nodeName.toLowerCase()]||i.valHooks[this.type],r&&"set"in r&&r.set(this,f,"value")!==t||(this.value=f))})):f?(r=i.valHooks[f.nodeName.toLowerCase()]||i.valHooks[f.type],r&&"get"in r&&(u=r.get(f,"value"))!==t)?u:(u=f.value,typeof u=="string"?u.replace(vu,""):u==null?"":u):void 0}}),i.extend({valHooks:{option:{get:function(n){var t=n.attributes.value;return!t||t.specified?n.value:n.text}},select:{get:function(n){var o,e,h,t,r=n.selectedIndex,s=[],u=n.options,f=n.type==="select-one";if(r<0)return null;for(e=f?r:0,h=f?r+1:u.length;e<h;e++)if(t=u[e],t.selected&&(i.support.optDisabled?!t.disabled:t.getAttribute("disabled")===null)&&(!t.parentNode.disabled||!i.nodeName(t.parentNode,"optgroup"))){if(o=i(t).val(),f)return o;s.push(o)}return f&&!s.length&&u.length?i(u[r]).val():s},set:function(n,t){var r=i.makeArray(t);return i(n).find("option").each(function(){this.selected=i.inArray(i(this).val(),r)>=0}),r.length||(n.selectedIndex=-1),r}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(n,r,u,f){var s,o,c,h=n.nodeType;if(n&&h!==3&&h!==8&&h!==2){if(f&&r in i.attrFn)return i(n)[r](u);if(typeof n.getAttribute=="undefined")return i.prop(n,r,u);if(c=h!==1||!i.isXMLDoc(n),c&&(r=r.toLowerCase(),o=i.attrHooks[r]||(ur.test(r)?rr:e)),u!==t){if(u===null){i.removeAttr(n,r);return}return o&&"set"in o&&c&&(s=o.set(n,u,r))!==t?s:(n.setAttribute(r,""+u),u)}return o&&"get"in o&&c&&(s=o.get(n,r))!==null?s:(s=n.getAttribute(r),s===null?t:s)}},removeAttr:function(n,t){var u,e,r,o,f=0;if(t&&n.nodeType===1)for(e=t.toLowerCase().split(nt),o=e.length;f<o;f++)r=e[f],r&&(u=i.propFix[r]||r,i.attr(n,r,""),n.removeAttribute(fr?r:u),ur.test(r)&&u in n&&(n[u]=!1))},attrHooks:{type:{set:function(n,t){if(yu.test(n.nodeName)&&n.parentNode)i.error("type property can't be changed");else if(!i.support.radioValue&&t==="radio"&&i.nodeName(n,"input")){var r=n.value;return n.setAttribute("type",t),r&&(n.value=r),t}}},value:{get:function(n,t){return e&&i.nodeName(n,"button")?e.get(n,t):t in n?n.value:null},set:function(n,t,r){if(e&&i.nodeName(n,"button"))return e.set(n,t,r);n.value=t}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(n,r,u){var o,f,s,e=n.nodeType;if(n&&e!==3&&e!==8&&e!==2)return s=e!==1||!i.isXMLDoc(n),s&&(r=i.propFix[r]||r,f=i.propHooks[r]),u!==t?f&&"set"in f&&(o=f.set(n,u,r))!==t?o:n[r]=u:f&&"get"in f&&(o=f.get(n,r))!==null?o:n[r]},propHooks:{tabIndex:{get:function(n){var i=n.getAttributeNode("tabindex");return i&&i.specified?parseInt(i.value,10):au.test(n.nodeName)||lu.test(n.nodeName)&&n.href?0:t}}}}),i.attrHooks.tabindex=i.propHooks.tabIndex,rr={get:function(n,r){var f,u=i.prop(n,r);return u===!0||typeof u!="boolean"&&(f=n.getAttributeNode(r))&&f.nodeValue!==!1?r.toLowerCase():t},set:function(n,t,r){var u;return t===!1?i.removeAttr(n,r):(u=i.propFix[r]||r,u in n&&(n[u]=!0),n.setAttribute(r,r.toLowerCase())),r}},fr||(ir={name:!0,id:!0},e=i.valHooks.button={get:function(n,i){var r;return r=n.getAttributeNode(i),r&&(ir[i]?r.nodeValue!=="":r.specified)?r.nodeValue:t},set:function(n,t,i){var u=n.getAttributeNode(i);return u||(u=r.createAttribute(i),n.setAttributeNode(u)),u.nodeValue=t+""}},i.attrHooks.tabindex.set=e.set,i.each(["width","height"],function(n,t){i.attrHooks[t]=i.extend(i.attrHooks[t],{set:function(n,i){if(i==="")return n.setAttribute(t,"auto"),i}})}),i.attrHooks.contenteditable={get:e.get,set:function(n,t,i){t===""&&(t="false"),e.set(n,t,i)}}),i.support.hrefNormalized||i.each(["href","src","width","height"],function(n,r){i.attrHooks[r]=i.extend(i.attrHooks[r],{get:function(n){var i=n.getAttribute(r,2);return i===null?t:i}})}),i.support.style||(i.attrHooks.style={get:function(n){return n.style.cssText.toLowerCase()||t},set:function(n,t){return n.style.cssText=""+t}}),i.support.optSelected||(i.propHooks.selected=i.extend(i.propHooks.selected,{get:function(n){var t=n.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}})),i.support.enctype||(i.propFix.enctype="encoding"),i.support.checkOn||i.each(["radio","checkbox"],function(){i.valHooks[this]={get:function(n){return n.getAttribute("value")===null?"on":n.value}}}),i.each(["radio","checkbox"],function(){i.valHooks[this]=i.extend(i.valHooks[this],{set:function(n,t){if(i.isArray(t))return n.checked=i.inArray(i(n).val(),t)>=0}})});var ct=/^(?:textarea|input|select)$/i,gi=/^([^\.]*)?(?:\.(.+))?$/,nu=/\bhover(\.\S+)?\b/,kr=/^key/,dr=/^(?:mouse|contextmenu)|click/,yr=/^(?:focusinfocus|focusoutblur)$/,gr=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,tu=function(n){var t=gr.exec(n);return t&&(t[1]=(t[1]||"").toLowerCase(),t[3]=t[3]&&new RegExp("(?:^|\\s)"+t[3]+"(?:\\s|$)")),t},wr=function(n,t){var i=n.attributes||{};return(!t[1]||n.nodeName.toLowerCase()===t[1])&&(!t[2]||(i.id||{}).value===t[2])&&(!t[3]||t[3].test((i["class"]||{}).value))},sr=function(n){return i.event.special.hover?n:n.replace(nu,"mouseenter$1 mouseleave$1")};i.event={add:function(n,r,u,f,e){var v,h,a,p,y,o,w,l,b,k,c,s;if(n.nodeType!==3&&n.nodeType!==8&&r&&u&&(v=i._data(n))){for(u.handler&&(b=u,u=b.handler),u.guid||(u.guid=i.guid++),a=v.events,a||(v.events=a={}),h=v.handle,h||(v.handle=h=function(n){return typeof i!="undefined"&&(!n||i.event.triggered!==n.type)?i.event.dispatch.apply(h.elem,arguments):t},h.elem=n),r=i.trim(sr(r)).split(" "),p=0;p<r.length;p++)y=gi.exec(r[p])||[],o=y[1],w=(y[2]||"").split(".").sort(),s=i.event.special[o]||{},o=(e?s.delegateType:s.bindType)||o,s=i.event.special[o]||{},l=i.extend({type:o,origType:y[1],data:f,handler:u,guid:u.guid,selector:e,quick:tu(e),namespace:w.join(".")},b),c=a[o],c||(c=a[o]=[],c.delegateCount=0,s.setup&&s.setup.call(n,f,w,h)!==!1||(n.addEventListener?n.addEventListener(o,h,!1):n.attachEvent&&n.attachEvent("on"+o,h))),s.add&&(s.add.call(n,l),l.handler.guid||(l.handler.guid=u.guid)),e?c.splice(c.delegateCount++,0,l):c.push(l),i.event.global[o]=!0;n=null}},global:{},remove:function(n,t,r,u,f){var y=i.hasData(n)&&i._data(n),v,p,e,k,h,b,l,a,c,w,o,s;if(y&&(a=y.events)){for(t=i.trim(sr(t||"")).split(" "),v=0;v<t.length;v++){if(p=gi.exec(t[v])||[],e=k=p[1],h=p[2],!e){for(e in a)i.event.remove(n,e+t[v],r,u,!0);continue}for(c=i.event.special[e]||{},e=(u?c.delegateType:c.bindType)||e,o=a[e]||[],b=o.length,h=h?new RegExp("(^|\\.)"+h.split(".").sort().join("\\.(?:.*\\.)?")+"(\\.|$)"):null,l=0;l<o.length;l++)s=o[l],(f||k===s.origType)&&(!r||r.guid===s.guid)&&(!h||h.test(s.namespace))&&(!u||u===s.selector||u==="**"&&s.selector)&&(o.splice(l--,1),s.selector&&o.delegateCount--,c.remove&&c.remove.call(n,s));o.length===0&&b!==o.length&&(c.teardown&&c.teardown.call(n,h)!==!1||i.removeEvent(n,e,y.handle),delete a[e])}i.isEmptyObject(a)&&(w=y.handle,w&&(w.elem=null),i.removeData(n,["events","handle"],!0))}},customEvent:{getData:!0,setData:!0,changeData:!0},trigger:function(r,u,f,e){if(!f||f.nodeType!==3&&f.nodeType!==8){var o=r.type||r,w=[],p,k,c,s,h,a,l,v,y,b;if(!yr.test(o+i.event.triggered)&&(o.indexOf("!")>=0&&(o=o.slice(0,-1),k=!0),o.indexOf(".")>=0&&(w=o.split("."),o=w.shift(),w.sort()),f&&!i.event.customEvent[o]||i.event.global[o])){if(r=typeof r=="object"?r[i.expando]?r:new i.Event(o,r):new i.Event(o),r.type=o,r.isTrigger=!0,r.exclusive=k,r.namespace=w.join("."),r.namespace_re=r.namespace?new RegExp("(^|\\.)"+w.join("\\.(?:.*\\.)?")+"(\\.|$)"):null,a=o.indexOf(":")<0?"on"+o:"",!f){p=i.cache;for(c in p)p[c].events&&p[c].events[o]&&i.event.trigger(r,u,p[c].handle.elem,!0);return}if(r.result=t,r.target||(r.target=f),u=u!=null?i.makeArray(u):[],u.unshift(r),l=i.event.special[o]||{},!l.trigger||l.trigger.apply(f,u)!==!1){if(y=[[f,l.bindType||o]],!e&&!l.noBubble&&!i.isWindow(f)){for(b=l.delegateType||o,s=yr.test(b+o)?f:f.parentNode,h=null;s;s=s.parentNode)y.push([s,b]),h=s;h&&h===f.ownerDocument&&y.push([h.defaultView||h.parentWindow||n,b])}for(c=0;c<y.length&&!r.isPropagationStopped();c++)s=y[c][0],r.type=y[c][1],v=(i._data(s,"events")||{})[r.type]&&i._data(s,"handle"),v&&v.apply(s,u),v=a&&s[a],v&&i.acceptData(s)&&v.apply(s,u)===!1&&r.preventDefault();return r.type=o,e||r.isDefaultPrevented()||l._default&&l._default.apply(f.ownerDocument,u)!==!1||o==="click"&&i.nodeName(f,"a")||!i.acceptData(f)||a&&f[o]&&(o!=="focus"&&o!=="blur"||r.target.offsetWidth!==0)&&!i.isWindow(f)&&(h=f[a],h&&(f[a]=null),i.event.triggered=o,f[o](),i.event.triggered=t,h&&(f[a]=h)),r.result}}}},dispatch:function(r){r=i.event.fix(r||n.event);var h=(i._data(this,"events")||{})[r.type]||[],p=h.delegateCount,b=[].slice.call(arguments,0),k=!r.exclusive&&!r.namespace,y=[],f,w,e,a,v,c,s,l,u,o,d;if(b[0]=r,r.delegateTarget=this,p&&!r.target.disabled&&!(r.button&&r.type==="click"))for(a=i(this),a.context=this.ownerDocument||this,e=r.target;e!=this;e=e.parentNode||this){for(c={},l=[],a[0]=e,f=0;f<p;f++)u=h[f],o=u.selector,c[o]===t&&(c[o]=u.quick?wr(e,u.quick):a.is(o)),c[o]&&l.push(u);l.length&&y.push({elem:e,matches:l})}for(h.length>p&&y.push({elem:this,matches:h.slice(p)}),f=0;f<y.length&&!r.isPropagationStopped();f++)for(s=y[f],r.currentTarget=s.elem,w=0;w<s.matches.length&&!r.isImmediatePropagationStopped();w++)u=s.matches[w],(k||!r.namespace&&!u.namespace||r.namespace_re&&r.namespace_re.test(u.namespace))&&(r.data=u.data,r.handleObj=u,v=((i.event.special[u.origType]||{}).handle||u.handler).apply(s.elem,b),v!==t&&(r.result=v,v===!1&&(r.preventDefault(),r.stopPropagation())));return r.result},props:"attrChange attrName relatedNode srcElement altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(n,t){return n.which==null&&(n.which=t.charCode!=null?t.charCode:t.keyCode),n}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(n,i){var s,f,u,e=i.button,o=i.fromElement;return n.pageX==null&&i.clientX!=null&&(s=n.target.ownerDocument||r,f=s.documentElement,u=s.body,n.pageX=i.clientX+(f&&f.scrollLeft||u&&u.scrollLeft||0)-(f&&f.clientLeft||u&&u.clientLeft||0),n.pageY=i.clientY+(f&&f.scrollTop||u&&u.scrollTop||0)-(f&&f.clientTop||u&&u.clientTop||0)),!n.relatedTarget&&o&&(n.relatedTarget=o===n.target?i.toElement:o),n.which||e===t||(n.which=e&1?1:e&2?3:e&4?2:0),n}},fix:function(n){if(n[i.expando])return n;var e,o,u=n,f=i.event.fixHooks[n.type]||{},s=f.props?this.props.concat(f.props):this.props;for(n=i.Event(u),e=s.length;e;)o=s[--e],n[o]=u[o];return n.target||(n.target=u.srcElement||r),n.target.nodeType===3&&(n.target=n.target.parentNode),n.metaKey===t&&(n.metaKey=n.ctrlKey),f.filter?f.filter(n,u):n},special:{ready:{setup:i.bindReady},load:{noBubble:!0},focus:{delegateType:"focusin"},blur:{delegateType:"focusout"},beforeunload:{setup:function(n,t,r){i.isWindow(this)&&(this.onbeforeunload=r)},teardown:function(n,t){this.onbeforeunload===t&&(this.onbeforeunload=null)}}},simulate:function(n,t,r,u){var f=i.extend(new i.Event,r,{type:n,isSimulated:!0,originalEvent:{}});u?i.event.trigger(f,null,t):i.event.dispatch.call(t,f),f.isDefaultPrevented()&&r.preventDefault()}},i.event.handle=i.event.dispatch,i.removeEvent=r.removeEventListener?function(n,t,i){n.removeEventListener&&n.removeEventListener(t,i,!1)}:function(n,t,i){n.detachEvent&&n.detachEvent("on"+t,i)},i.Event=function(n,t){if(!(this instanceof i.Event))return new i.Event(n,t);n&&n.type?(this.originalEvent=n,this.type=n.type,this.isDefaultPrevented=n.defaultPrevented||n.returnValue===!1||n.getPreventDefault&&n.getPreventDefault()?b:h):this.type=n,t&&i.extend(this,t),this.timeStamp=n&&n.timeStamp||i.now(),this[i.expando]=!0},i.Event.prototype={preventDefault:function(){this.isDefaultPrevented=b;var n=this.originalEvent;n&&(n.preventDefault?n.preventDefault():n.returnValue=!1)},stopPropagation:function(){this.isPropagationStopped=b;var n=this.originalEvent;n&&(n.stopPropagation&&n.stopPropagation(),n.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=b,this.stopPropagation()},isDefaultPrevented:h,isPropagationStopped:h,isImmediatePropagationStopped:h},i.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(n,t){i.event.special[n]={delegateType:t,bindType:t,handle:function(n){var e=this,u=n.relatedTarget,r=n.handleObj,o=r.selector,f;return u&&(u===e||i.contains(e,u))||(n.type=r.origType,f=r.handler.apply(this,arguments),n.type=t),f}}}),i.support.submitBubbles||(i.event.special.submit={setup:function(){if(i.nodeName(this,"form"))return!1;i.event.add(this,"click._submit keypress._submit",function(n){var u=n.target,r=i.nodeName(u,"input")||i.nodeName(u,"button")?u.form:t;r&&!r._submit_attached&&(i.event.add(r,"submit._submit",function(n){this.parentNode&&!n.isTrigger&&i.event.simulate("submit",this.parentNode,n,!0)}),r._submit_attached=!0)})},teardown:function(){if(i.nodeName(this,"form"))return!1;i.event.remove(this,"._submit")}}),i.support.changeBubbles||(i.event.special.change={setup:function(){if(ct.test(this.nodeName))return(this.type==="checkbox"||this.type==="radio")&&(i.event.add(this,"propertychange._change",function(n){n.originalEvent.propertyName==="checked"&&(this._just_changed=!0)}),i.event.add(this,"click._change",function(n){this._just_changed&&!n.isTrigger&&(this._just_changed=!1,i.event.simulate("change",this,n,!0))})),!1;i.event.add(this,"beforeactivate._change",function(n){var t=n.target;ct.test(t.nodeName)&&!t._change_attached&&(i.event.add(t,"change._change",function(n){!this.parentNode||n.isSimulated||n.isTrigger||i.event.simulate("change",this.parentNode,n,!0)}),t._change_attached=!0)})},handle:function(n){var t=n.target;if(this!==t||n.isSimulated||n.isTrigger||t.type!=="radio"&&t.type!=="checkbox")return n.handleObj.handler.apply(this,arguments)},teardown:function(){return i.event.remove(this,"._change"),ct.test(this.nodeName)}}),i.support.focusinBubbles||i.each({focus:"focusin",blur:"focusout"},function(n,t){var f=0,u=function(n){i.event.simulate(t,n.target,i.event.fix(n),!0)};i.event.special[t]={setup:function(){f++==0&&r.addEventListener(n,u,!0)},teardown:function(){--f==0&&r.removeEventListener(n,u,!0)}}}),i.fn.extend({on:function(n,r,u,f,e){var o,s;if(typeof n=="object"){typeof r!="string"&&(u=r,r=t);for(s in n)this.on(s,r,u,n[s],e);return this}if(u==null&&f==null?(f=r,u=r=t):f==null&&(typeof r=="string"?(f=u,u=t):(f=u,u=r,r=t)),f===!1)f=h;else if(!f)return this;return e===1&&(o=f,f=function(n){return i().off(n),o.apply(this,arguments)},f.guid=o.guid||(o.guid=i.guid++)),this.each(function(){i.event.add(this,n,f,u,r)})},one:function(n,t,i,r){return this.on.call(this,n,t,i,r,1)},off:function(n,r,u){var f,e;if(n&&n.preventDefault&&n.handleObj)return f=n.handleObj,i(n.delegateTarget).off(f.namespace?f.type+"."+f.namespace:f.type,f.selector,f.handler),this;if(typeof n=="object"){for(e in n)this.off(e,r,n[e]);return this}return(r===!1||typeof r=="function")&&(u=r,r=t),u===!1&&(u=h),this.each(function(){i.event.remove(this,n,u,r)})},bind:function(n,t,i){return this.on(n,null,t,i)},unbind:function(n,t){return this.off(n,null,t)},live:function(n,t,r){i(this.context).on(n,this.selector,t,r);return this},die:function(n,t){return i(this.context).off(n,this.selector||"**",t),this},delegate:function(n,t,i,r){return this.on(t,n,i,r)},undelegate:function(n,t,i){return arguments.length==1?this.off(n,"**"):this.off(t,n,i)},trigger:function(n,t){return this.each(function(){i.event.trigger(n,t,this)})},triggerHandler:function(n,t){if(this[0])return i.event.trigger(n,t,this[0],!0)},toggle:function(n){var r=arguments,f=n.guid||i.guid++,t=0,u=function(u){var f=(i._data(this,"lastToggle"+n.guid)||0)%t;return i._data(this,"lastToggle"+n.guid,f+1),u.preventDefault(),r[f].apply(this,arguments)||!1};for(u.guid=f;t<r.length;)r[t++].guid=f;return this.click(u)},hover:function(n,t){return this.mouseenter(n).mouseleave(t||n)}}),i.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 contextmenu".split(" "),function(n,t){i.fn[t]=function(n,i){return i==null&&(i=n,n=null),arguments.length>0?this.on(t,null,n,i):this.trigger(t)},i.attrFn&&(i.attrFn[t]=!0),kr.test(t)&&(i.event.fixHooks[t]=i.event.keyHooks),dr.test(t)&&(i.event.fixHooks[t]=i.event.mouseHooks)}),function(){function k(n,t,i,r,u,f){for(var o,h,s=0,c=r.length;s<c;s++)if(o=r[s],o){for(h=!1,o=o[n];o;){if(o[e]===i){h=r[o.sizset];break}if(o.nodeType!==1||f||(o[e]=i,o.sizset=s),o.nodeName.toLowerCase()===t){h=o;break}o=o[n]}r[s]=h}}function b(t,i,r,u,f,o){for(var s,c,h=0,l=u.length;h<l;h++)if(s=u[h],s){for(c=!1,s=s[t];s;){if(s[e]===r){c=u[s.sizset];break}if(s.nodeType===1)if(o||(s[e]=r,s.sizset=h),typeof i!="string"){if(s===i){c=!0;break}}else if(n.filter(i,[s]).length>0){c=s;break}s=s[t]}u[h]=c}}var p=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,e="sizcache"+(Math.random()+"").replace(".",""),y=0,d=Object.prototype.toString,l=!1,g=!0,o=/\\/g,it=/\r\n/g,c=/\W/,n,s,f,a,h,v;[0,0].sort(function(){return g=!1,0}),n=function(t,i,e,o){var it;if(e=e||[],i=i||r,it=i,i.nodeType!==1&&i.nodeType!==9)return[];if(!t||typeof t!="string")return e;var y,a,h,g,l,w,b,c,rt=!0,k=n.isXML(i),s=[],tt=t;do if(p.exec(""),y=p.exec(tt),y&&(tt=y[3],s.push(y[1]),y[2])){g=y[3];break}while(y);if(s.length>1&&nt.exec(t))if(s.length===2&&u.relative[s[0]])a=v(s[0]+s[1],i,o);else for(a=u.relative[s[0]]?[i]:n(s.shift(),i);s.length;)t=s.shift(),u.relative[t]&&(t+=s.shift()),a=v(t,a,o);else if(!o&&s.length>1&&i.nodeType===9&&!k&&u.match.ID.test(s[0])&&!u.match.ID.test(s[s.length-1])&&(l=n.find(s.shift(),i,k),i=l.expr?n.filter(l.expr,l.set)[0]:l.set[0]),i)for(l=o?{expr:s.pop(),set:f(o)}:n.find(s.pop(),s.length===1&&(s[0]==="~"||s[0]==="+")&&i.parentNode?i.parentNode:i,k),a=l.expr?n.filter(l.expr,l.set):l.set,s.length>0?h=f(a):rt=!1;s.length;)w=s.pop(),b=w,u.relative[w]?b=s.pop():w="",b==null&&(b=i),u.relative[w](h,b,k);else h=s=[];if(h||(h=a),h||n.error(w||t),d.call(h)==="[object Array]")if(rt)if(i&&i.nodeType===1)for(c=0;h[c]!=null;c++)h[c]&&(h[c]===!0||h[c].nodeType===1&&n.contains(i,h[c]))&&e.push(a[c]);else for(c=0;h[c]!=null;c++)h[c]&&h[c].nodeType===1&&e.push(a[c]);else e.push.apply(e,h);else f(h,e);return g&&(n(g,it,e,o),n.uniqueSort(e)),e},n.uniqueSort=function(n){if(a&&(l=g,n.sort(a),l))for(var t=1;t<n.length;t++)n[t]===n[t-1]&&n.splice(t--,1);return n},n.matches=function(t,i){return n(t,null,null,i)},n.matchesSelector=function(t,i){return n(i,null,null,[t]).length>0},n.find=function(n,t,i){var f,s,c,r,e,h;if(!n)return[];for(s=0,c=u.order.length;s<c;s++)if(e=u.order[s],(r=u.leftMatch[e].exec(n))&&(h=r[1],r.splice(1,1),h.substr(h.length-1)!=="\\"&&(r[1]=(r[1]||"").replace(o,""),f=u.find[e](r,t,i),f!=null))){n=n.replace(u.match[e],"");break}return f||(f=typeof t.getElementsByTagName!="undefined"?t.getElementsByTagName("*"):[]),{set:f,expr:n}},n.filter=function(i,r,f,e){for(var o,c,h,v,y,b,p,l,w,k=i,a=[],s=r,d=r&&r[0]&&n.isXML(r[0]);i&&r.length;){for(h in u.filter)if((o=u.leftMatch[h].exec(i))!=null&&o[2]){if(b=u.filter[h],p=o[1],c=!1,o.splice(1,1),p.substr(p.length-1)==="\\")continue;if(s===a&&(a=[]),u.preFilter[h])if(o=u.preFilter[h](o,s,f,a,e,d),o){if(o===!0)continue}else c=v=!0;if(o)for(l=0;(y=s[l])!=null;l++)y&&(v=b(y,o,l,s),w=e^v,f&&v!=null?w?c=!0:s[l]=!1:w&&(a.push(y),c=!0));if(v!==t){if(f||(s=a),i=i.replace(u.match[h],""),!c)return[];break}}if(i===k)if(c==null)n.error(i);else break;k=i}return s},n.error=function(n){throw new Error("Syntax error, unrecognized expression: "+n);};var w=n.getText=function(n){var r,u,t=n.nodeType,i="";if(t){if(t===1||t===9){if(typeof n.textContent=="string")return n.textContent;if(typeof n.innerText=="string")return n.innerText.replace(it,"");for(n=n.firstChild;n;n=n.nextSibling)i+=w(n)}else if(t===3||t===4)return n.nodeValue}else for(r=0;u=n[r];r++)u.nodeType!==8&&(i+=w(u));return i},u=n.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(n){return n.getAttribute("href")},type:function(n){return n.getAttribute("type")}},relative:{"+":function(t,i){var s=typeof i=="string",e=s&&!c.test(i),o=s&&!e,u,f,r;for(e&&(i=i.toLowerCase()),u=0,f=t.length;u<f;u++)if(r=t[u]){while((r=r.previousSibling)&&r.nodeType!==1);t[u]=o||r&&r.nodeName.toLowerCase()===i?r||!1:r===i}o&&n.filter(i,t,!0)},">":function(t,i){var u,e=typeof i=="string",r=0,o=t.length,f;if(e&&!c.test(i))for(i=i.toLowerCase();r<o;r++)u=t[r],u&&(f=u.parentNode,t[r]=f.nodeName.toLowerCase()===i?f:!1);else{for(;r<o;r++)u=t[r],u&&(t[r]=e?u.parentNode:u.parentNode===i);e&&n.filter(i,t,!0)}},"":function(n,t,i){var u,f=y++,r=b;typeof t!="string"||c.test(t)||(t=t.toLowerCase(),u=t,r=k),r("parentNode",t,f,n,u,i)},"~":function(n,t,i){var u,f=y++,r=b;typeof t!="string"||c.test(t)||(t=t.toLowerCase(),u=t,r=k),r("previousSibling",t,f,n,u,i)}},find:{ID:function(n,t,i){if(typeof t.getElementById!="undefined"&&!i){var r=t.getElementById(n[1]);return r&&r.parentNode?[r]:[]}},NAME:function(n,t){var u,r,i,f;if(typeof t.getElementsByName!="undefined"){for(u=[],r=t.getElementsByName(n[1]),i=0,f=r.length;i<f;i++)r[i].getAttribute("name")===n[1]&&u.push(r[i]);return u.length===0?null:u}},TAG:function(n,t){if(typeof t.getElementsByTagName!="undefined")return t.getElementsByTagName(n[1])}},preFilter:{CLASS:function(n,t,i,r,u,f){if(n=" "+n[1].replace(o,"")+" ",f)return n;for(var s=0,e;(e=t[s])!=null;s++)e&&(u^(e.className&&(" "+e.className+" ").replace(/[\t\n\r]/g," ").indexOf(n)>=0)?i||r.push(e):i&&(t[s]=!1));return!1},ID:function(n){return n[1].replace(o,"")},TAG:function(n){return n[1].replace(o,"").toLowerCase()},CHILD:function(t){if(t[1]==="nth"){t[2]||n.error(t[0]),t[2]=t[2].replace(/^\+|\s*/g,"");var i=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(t[2]==="even"&&"2n"||t[2]==="odd"&&"2n+1"||!/\D/.test(t[2])&&"0n+"+t[2]||t[2]);t[2]=i[1]+(i[2]||1)-0,t[3]=i[3]-0}else t[2]&&n.error(t[0]);return t[0]=y++,t},ATTR:function(n,t,i,r,f,e){var s=n[1]=n[1].replace(o,"");return!e&&u.attrMap[s]&&(n[1]=u.attrMap[s]),n[4]=(n[4]||n[5]||"").replace(o,""),n[2]==="~="&&(n[4]=" "+n[4]+" "),n},PSEUDO:function(t,i,r,f,e){if(t[1]==="not")if((p.exec(t[3])||"").length>1||/^\w/.test(t[3]))t[3]=n(t[3],null,null,i);else{var o=n.filter(t[3],i,r,!0^e);return r||f.push.apply(f,o),!1}else if(u.match.POS.test(t[0])||u.match.CHILD.test(t[0]))return!0;return t},POS:function(n){return n.unshift(!0),n}},filters:{enabled:function(n){return n.disabled===!1&&n.type!=="hidden"},disabled:function(n){return n.disabled===!0},checked:function(n){return n.checked===!0},selected:function(n){return n.parentNode&&n.parentNode.selectedIndex,n.selected===!0},parent:function(n){return!!n.firstChild},empty:function(n){return!n.firstChild},has:function(t,i,r){return!!n(r[3],t).length},header:function(n){return/h\d/i.test(n.nodeName)},text:function(n){var i=n.getAttribute("type"),t=n.type;return n.nodeName.toLowerCase()==="input"&&"text"===t&&(i===t||i===null)},radio:function(n){return n.nodeName.toLowerCase()==="input"&&"radio"===n.type},checkbox:function(n){return n.nodeName.toLowerCase()==="input"&&"checkbox"===n.type},file:function(n){return n.nodeName.toLowerCase()==="input"&&"file"===n.type},password:function(n){return n.nodeName.toLowerCase()==="input"&&"password"===n.type},submit:function(n){var t=n.nodeName.toLowerCase();return(t==="input"||t==="button")&&"submit"===n.type},image:function(n){return n.nodeName.toLowerCase()==="input"&&"image"===n.type},reset:function(n){var t=n.nodeName.toLowerCase();return(t==="input"||t==="button")&&"reset"===n.type},button:function(n){var t=n.nodeName.toLowerCase();return t==="input"&&"button"===n.type||t==="button"},input:function(n){return/input|select|textarea|button/i.test(n.nodeName)},focus:function(n){return n===n.ownerDocument.activeElement}},setFilters:{first:function(n,t){return t===0},last:function(n,t,i,r){return t===r.length-1},even:function(n,t){return t%2==0},odd:function(n,t){return t%2==1},lt:function(n,t,i){return t<i[3]-0},gt:function(n,t,i){return t>i[3]-0},nth:function(n,t,i){return i[3]-0===t},eq:function(n,t,i){return i[3]-0===t}},filter:{PSEUDO:function(t,i,r,f){var o=i[1],c=u.filters[o],s,e,h;if(c)return c(t,r,i,f);if(o==="contains")return(t.textContent||t.innerText||w([t])||"").indexOf(i[3])>=0;if(o==="not"){for(s=i[3],e=0,h=s.length;e<h;e++)if(s[e]===t)return!1;return!0}n.error(o)},CHILD:function(n,t){var r,o,s,u,l,c,f,h=t[1],i=n;switch(h){case"only":case"first":while(i=i.previousSibling)if(i.nodeType===1)return!1;if(h==="first")return!0;i=n;case"last":while(i=i.nextSibling)if(i.nodeType===1)return!1;return!0;case"nth":if(r=t[2],o=t[3],r===1&&o===0)return!0;if(s=t[0],u=n.parentNode,u&&(u[e]!==s||!n.nodeIndex)){for(c=0,i=u.firstChild;i;i=i.nextSibling)i.nodeType===1&&(i.nodeIndex=++c);u[e]=s}return f=n.nodeIndex-o,r===0?f===0:f%r==0&&f/r>=0}},ID:function(n,t){return n.nodeType===1&&n.getAttribute("id")===t},TAG:function(n,t){return t==="*"&&n.nodeType===1||!!n.nodeName&&n.nodeName.toLowerCase()===t},CLASS:function(n,t){return(" "+(n.className||n.getAttribute("class"))+" ").indexOf(t)>-1},ATTR:function(t,i){var o=i[1],s=n.attr?n.attr(t,o):u.attrHandle[o]?u.attrHandle[o](t):t[o]!=null?t[o]:t.getAttribute(o),f=s+"",e=i[2],r=i[4];return s==null?e==="!=":!e&&n.attr?s!=null:e==="="?f===r:e==="*="?f.indexOf(r)>=0:e==="~="?(" "+f+" ").indexOf(r)>=0:r?e==="!="?f!==r:e==="^="?f.indexOf(r)===0:e==="$="?f.substr(f.length-r.length)===r:e==="|="?f===r||f.substr(0,r.length+1)===r+"-":!1:f&&s!==!1},POS:function(n,t,i,r){var e=t[2],f=u.setFilters[e];if(f)return f(n,i,t,r)}}},nt=u.match.POS,tt=function(n,t){return"\\"+(+t+1)};for(s in u.match)u.match[s]=new RegExp(u.match[s].source+/(?![^\[]*\])(?![^\(]*\))/.source),u.leftMatch[s]=new RegExp(/(^(?:.|\r|\n)*?)/.source+u.match[s].source.replace(/\\(\d+)/g,tt));f=function(n,t){return(n=Array.prototype.slice.call(n,0),t)?(t.push.apply(t,n),t):n};try{Array.prototype.slice.call(r.documentElement.childNodes,0)[0].nodeType}catch(rt){f=function(n,t){var i=0,r=t||[],u;if(d.call(n)==="[object Array]")Array.prototype.push.apply(r,n);else if(typeof n.length=="number")for(u=n.length;i<u;i++)r.push(n[i]);else for(;n[i];i++)r.push(n[i]);return r}}r.documentElement.compareDocumentPosition?a=function(n,t){return n===t?(l=!0,0):!n.compareDocumentPosition||!t.compareDocumentPosition?n.compareDocumentPosition?-1:1:n.compareDocumentPosition(t)&4?-1:1}:(a=function(n,t){var i;if(n===t)return l=!0,0;if(n.sourceIndex&&t.sourceIndex)return n.sourceIndex-t.sourceIndex;var o,c,f=[],u=[],s=n.parentNode,e=t.parentNode,r=s;if(s===e)return h(n,t);if(s){if(!e)return 1}else return-1;while(r)f.unshift(r),r=r.parentNode;for(r=e;r;)u.unshift(r),r=r.parentNode;for(o=f.length,c=u.length,i=0;i<o&&i<c;i++)if(f[i]!==u[i])return h(f[i],u[i]);return i===o?h(n,u[i],-1):h(f[i],t,1)},h=function(n,t,i){if(n===t)return i;for(var r=n.nextSibling;r;){if(r===t)return-1;r=r.nextSibling}return 1}),function(){var i=r.createElement("div"),f="script"+ +new Date,n=r.documentElement;i.innerHTML="<a name='"+f+"'/>",n.insertBefore(i,n.firstChild),r.getElementById(f)&&(u.find.ID=function(n,i,r){if(typeof i.getElementById!="undefined"&&!r){var u=i.getElementById(n[1]);return u?u.id===n[1]||typeof u.getAttributeNode!="undefined"&&u.getAttributeNode("id").nodeValue===n[1]?[u]:t:[]}},u.filter.ID=function(n,t){var i=typeof n.getAttributeNode!="undefined"&&n.getAttributeNode("id");return n.nodeType===1&&i&&i.nodeValue===t}),n.removeChild(i),n=i=null}(),function(){var n=r.createElement("div");n.appendChild(r.createComment("")),n.getElementsByTagName("*").length>0&&(u.find.TAG=function(n,t){var r=t.getElementsByTagName(n[1]),u,i;if(n[1]==="*"){for(u=[],i=0;r[i];i++)r[i].nodeType===1&&u.push(r[i]);r=u}return r}),n.innerHTML="<a href='#'></a>",n.firstChild&&typeof n.firstChild.getAttribute!="undefined"&&n.firstChild.getAttribute("href")!=="#"&&(u.attrHandle.href=function(n){return n.getAttribute("href",2)}),n=null}(),r.querySelectorAll&&function(){var e=n,t=r.createElement("div"),o="__sizzle__",i;if(t.innerHTML="<p class='TEST'></p>",!t.querySelectorAll||t.querySelectorAll(".TEST").length!==0){n=function(t,i,s,h){var c,l;if(i=i||r,!h&&!n.isXML(i)){if(c=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(t),c&&(i.nodeType===1||i.nodeType===9)){if(c[1])return f(i.getElementsByTagName(t),s);if(c[2]&&u.find.CLASS&&i.getElementsByClassName)return f(i.getElementsByClassName(c[2]),s)}if(i.nodeType===9){if(t==="body"&&i.body)return f([i.body],s);if(c&&c[3])if(l=i.getElementById(c[3]),l&&l.parentNode){if(l.id===c[3])return f([l],s)}else return f([],s);try{return f(i.querySelectorAll(t),s)}catch(k){}}else if(i.nodeType===1&&i.nodeName.toLowerCase()!=="object"){var w=i,v=i.getAttribute("id"),a=v||o,y=i.parentNode,p=/^\s*[+~]/.test(t);v?a=a.replace(/'/g,"\\$&"):i.setAttribute("id",a),p&&y&&(i=i.parentNode);try{if(!p||y)return f(i.querySelectorAll("[id='"+a+"'] "+t),s)}catch(b){}finally{v||w.removeAttribute("id")}}}return e(t,i,s,h)};for(i in e)n[i]=e[i];t=null}}(),function(){var i=r.documentElement,t=i.matchesSelector||i.mozMatchesSelector||i.webkitMatchesSelector||i.msMatchesSelector,e,f;if(t){e=!t.call(r.createElement("div"),"div"),f=!1;try{t.call(r.documentElement,"[test!='']:sizzle")}catch(o){f=!0}n.matchesSelector=function(i,r){if(r=r.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']"),!n.isXML(i))try{if(f||!u.match.PSEUDO.test(r)&&!/!=/.test(r)){var o=t.call(i,r);if(o||!e||i.document&&i.document.nodeType!==11)return o}}catch(s){}return n(r,null,null,[i]).length>0}}}(),function(){var n=r.createElement("div");(n.innerHTML="<div class='test e'></div><div class='test'></div>",n.getElementsByClassName&&n.getElementsByClassName("e").length!==0)&&(n.lastChild.className="e",n.getElementsByClassName("e").length!==1)&&(u.order.splice(1,0,"CLASS"),u.find.CLASS=function(n,t,i){if(typeof t.getElementsByClassName!="undefined"&&!i)return t.getElementsByClassName(n[1])},n=null)}(),n.contains=r.documentElement.contains?function(n,t){return n!==t&&(n.contains?n.contains(t):!0)}:r.documentElement.compareDocumentPosition?function(n,t){return!!(n.compareDocumentPosition(t)&16)}:function(){return!1},n.isXML=function(n){var t=(n?n.ownerDocument||n:0).documentElement;return t?t.nodeName!=="HTML":!1},v=function(t,i,r){for(var s,h=[],c="",e=i.nodeType?[i]:i,f,o;s=u.match.PSEUDO.exec(t);)c+=s[0],t=t.replace(u.match.PSEUDO,"");for(t=u.relative[t]?t+"*":t,f=0,o=e.length;f<o;f++)n(t,e[f],h,r);return n.filter(c,h)},n.attr=i.attr,n.selectors.attrMap={},i.find=n,i.expr=n.selectors,i.expr[":"]=i.expr.filters,i.unique=n.uniqueSort,i.text=n.getText,i.isXMLDoc=n.isXML,i.contains=n.contains}();var br=/Until$/,bf=/^(?:parents|prevUntil|prevAll)/,wf=/,/,kf=/^.[^:#\[\.,]*$/,pf=Array.prototype.slice,tr=i.expr.match.POS,te={children:!0,contents:!0,next:!0,prev:!0};i.fn.extend({find:function(n){var s=this,t,e,r,o,u,f;if(typeof n!="string")return i(n).filter(function(){for(t=0,e=s.length;t<e;t++)if(i.contains(s[t],this))return!0});for(r=this.pushStack("","find",n),t=0,e=this.length;t<e;t++)if(o=r.length,i.find(n,this[t],r),t>0)for(u=o;u<r.length;u++)for(f=0;f<o;f++)if(r[f]===r[u]){r.splice(u--,1);break}return r},has:function(n){var t=i(n);return this.filter(function(){for(var n=0,r=t.length;n<r;n++)if(i.contains(this,t[n]))return!0})},not:function(n){return this.pushStack(bi(this,n,!1),"not",n)},filter:function(n){return this.pushStack(bi(this,n,!0),"filter",n)},is:function(n){return!!n&&(typeof n=="string"?tr.test(n)?i(n,this.context).index(this[0])>=0:i.filter(n,this).length>0:this.filter(n).length>0)},closest:function(n,t){var f=[],u,s,r=this[0],e,o;if(i.isArray(n)){for(e=1;r&&r.ownerDocument&&r!==t;){for(u=0;u<n.length;u++)i(r).is(n[u])&&f.push({selector:n[u],elem:r,level:e});r=r.parentNode,e++}return f}for(o=tr.test(n)||typeof n!="string"?i(n,t||this.context):0,u=0,s=this.length;u<s;u++)for(r=this[u];r;)if(o?o.index(r)>-1:i.find.matchesSelector(r,n)){f.push(r);break}else if(r=r.parentNode,!r||!r.ownerDocument||r===t||r.nodeType===11)break;return f=f.length>1?i.unique(f):f,this.pushStack(f,"closest",n)},index:function(n){return n?typeof n=="string"?i.inArray(this[0],i(n)):i.inArray(n.jquery?n[0]:n,this):this[0]&&this[0].parentNode?this.prevAll().length:-1},add:function(n,t){var u=typeof n=="string"?i(n,t):i.makeArray(n&&n.nodeType?[n]:n),r=i.merge(this.get(),u);return this.pushStack(nr(u[0])||nr(r[0])?r:i.unique(r))},andSelf:function(){return this.add(this.prevObject)}}),i.each({parent:function(n){var t=n.parentNode;return t&&t.nodeType!==11?t:null},parents:function(n){return i.dir(n,"parentNode")},parentsUntil:function(n,t,r){return i.dir(n,"parentNode",r)},next:function(n){return i.nth(n,2,"nextSibling")},prev:function(n){return i.nth(n,2,"previousSibling")},nextAll:function(n){return i.dir(n,"nextSibling")},prevAll:function(n){return i.dir(n,"previousSibling")},nextUntil:function(n,t,r){return i.dir(n,"nextSibling",r)},prevUntil:function(n,t,r){return i.dir(n,"previousSibling",r)},siblings:function(n){return i.sibling(n.parentNode.firstChild,n)},children:function(n){return i.sibling(n.firstChild)},contents:function(n){return i.nodeName(n,"iframe")?n.contentDocument||n.contentWindow.document:i.makeArray(n.childNodes)}},function(n,t){i.fn[n]=function(r,u){var f=i.map(this,t,r);return br.test(n)||(u=r),u&&typeof u=="string"&&(f=i.filter(u,f)),f=this.length>1&&!te[n]?i.unique(f):f,(this.length>1||wf.test(u))&&bf.test(n)&&(f=f.reverse()),this.pushStack(f,n,pf.call(arguments).join(","))}}),i.extend({filter:function(n,t,r){return r&&(n=":not("+n+")"),t.length===1?i.find.matchesSelector(t[0],n)?[t[0]]:[]:i.find.matches(n,t)},dir:function(n,r,u){for(var e=[],f=n[r];f&&f.nodeType!==9&&(u===t||f.nodeType!==1||!i(f).is(u));)f.nodeType===1&&e.push(f),f=f[r];return e},nth:function(n,t,i){t=t||1;for(var u=0;n;n=n[i])if(n.nodeType===1&&++u===t)break;return n},sibling:function(n,t){for(var i=[];n;n=n.nextSibling)n.nodeType===1&&n!==t&&i.push(n);return i}});var ki="abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",ku=/ jQuery\d+="(?:\d+|null)"/g,ft=/^\s+/,ar=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,pr=/<([\w:]+)/,of=/<tbody/i,cf=/<|&#?\w+;/,hf=/<(?:script|style)/i,rf=/<(?:script|object|embed|option|style)/i,or=new RegExp("<(?:"+ki+")","i"),pi=/checked\s*(?:[^=]|=\s*.checked.)/i,ff=/\/(java|ecma)script/i,ef=/^\s*<!(?:\[CDATA\[|\-\-)/,u={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,"",""]},at=wi(r);u.optgroup=u.option,u.tbody=u.tfoot=u.colgroup=u.caption=u.thead,u.th=u.td,i.support.htmlSerialize||(u._default=[1,"div<div>","</div>"]),i.fn.extend({text:function(n){return i.isFunction(n)?this.each(function(t){var r=i(this);r.text(n.call(this,t,r.text()))}):typeof n!="object"&&n!==t?this.empty().append((this[0]&&this[0].ownerDocument||r).createTextNode(n)):i.text(this)},wrapAll:function(n){if(i.isFunction(n))return this.each(function(t){i(this).wrapAll(n.call(this,t))});if(this[0]){var t=i(n,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var n=this;n.firstChild&&n.firstChild.nodeType===1;)n=n.firstChild;return n}).append(this)}return this},wrapInner:function(n){return i.isFunction(n)?this.each(function(t){i(this).wrapInner(n.call(this,t))}):this.each(function(){var r=i(this),t=r.contents();t.length?t.wrapAll(n):r.append(n)})},wrap:function(n){var t=i.isFunction(n);return this.each(function(r){i(this).wrapAll(t?n.call(this,r):n)})},unwrap:function(){return this.parent().each(function(){i.nodeName(this,"body")||i(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(n){this.nodeType===1&&this.appendChild(n)})},prepend:function(){return this.domManip(arguments,!0,function(n){this.nodeType===1&&this.insertBefore(n,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(n){this.parentNode.insertBefore(n,this)});if(arguments.length){var n=i.clean(arguments);return n.push.apply(n,this.toArray()),this.pushStack(n,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(n){this.parentNode.insertBefore(n,this.nextSibling)});if(arguments.length){var n=this.pushStack(this,"after",arguments);return n.push.apply(n,i.clean(arguments)),n}},remove:function(n,t){for(var u=0,r;(r=this[u])!=null;u++)(!n||i.filter(n,[r]).length)&&(t||r.nodeType!==1||(i.cleanData(r.getElementsByTagName("*")),i.cleanData([r])),r.parentNode&&r.parentNode.removeChild(r));return this},empty:function(){for(var t=0,n;(n=this[t])!=null;t++)for(n.nodeType===1&&i.cleanData(n.getElementsByTagName("*"));n.firstChild;)n.removeChild(n.firstChild);return this},clone:function(n,t){return n=n==null?!1:n,t=t==null?n:t,this.map(function(){return i.clone(this,n,t)})},html:function(n){if(n===t)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(ku,""):null;if(typeof n!="string"||hf.test(n)||!i.support.leadingWhitespace&&ft.test(n)||u[(pr.exec(n)||["",""])[1].toLowerCase()])i.isFunction(n)?this.each(function(t){var r=i(this);r.html(n.call(this,t,r.html()))}):this.empty().append(n);else{n=n.replace(ar,"<$1></$2>");try{for(var r=0,f=this.length;r<f;r++)this[r].nodeType===1&&(i.cleanData(this[r].getElementsByTagName("*")),this[r].innerHTML=n)}catch(e){this.empty().append(n)}}return this},replaceWith:function(n){return this[0]&&this[0].parentNode?i.isFunction(n)?this.each(function(t){var r=i(this),u=r.html();r.replaceWith(n.call(this,t,u))}):(typeof n!="string"&&(n=i(n).detach()),this.each(function(){var t=this.nextSibling,r=this.parentNode;i(this).remove(),t?i(t).before(n):i(r).append(n)})):this.length?this.pushStack(i(i.isFunction(n)?n():n),"replaceWith",n):this},detach:function(n){return this.remove(n,!0)},domManip:function(n,r,u){var c,o,f,h,e=n[0],a=[];if(!i.support.checkClone&&arguments.length===3&&typeof e=="string"&&pi.test(e))return this.each(function(){i(this).domManip(n,r,u,!0)});if(i.isFunction(e))return this.each(function(f){var o=i(this);n[0]=e.call(this,f,r?o.html():t),o.domManip(n,r,u)});if(this[0]){if(h=e&&e.parentNode,c=i.support.parentNode&&h&&h.nodeType===11&&h.childNodes.length===this.length?{fragment:h}:i.buildFragment(n,this,a),f=c.fragment,o=f.childNodes.length===1?f=f.firstChild:f.firstChild,o){r=r&&i.nodeName(o,"tr");for(var s=0,l=this.length,v=l-1;s<l;s++)u.call(r?uf(this[s],o):this[s],c.cacheable||l>1&&s<v?i.clone(f,!0,!0):f)}a.length&&i.each(a,bu)}return this}}),i.buildFragment=function(n,t,u){var o,h,s,e,f=n[0];return t&&t[0]&&(e=t[0].ownerDocument||t[0]),e.createDocumentFragment||(e=r),n.length===1&&typeof f=="string"&&f.length<512&&e===r&&f.charAt(0)==="<"&&!rf.test(f)&&(i.support.checkClone||!pi.test(f))&&(i.support.html5Clone||!or.test(f))&&(h=!0,s=i.fragments[f],s&&s!==1&&(o=s)),o||(o=e.createDocumentFragment(),i.clean(n,e,o,u)),h&&(i.fragments[f]=s?o:1),{fragment:o,cacheable:h}},i.fragments={},i.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(n,t){i.fn[n]=function(r){var o=[],u=i(r),s=this.length===1&&this[0].parentNode,f,h,e;if(s&&s.nodeType===11&&s.childNodes.length===1&&u.length===1)return u[t](this[0]),this;for(f=0,h=u.length;f<h;f++)e=(f>0?this.clone(!0):this).get(),i(u[f])[t](e),o=o.concat(e);return this.pushStack(o,n,u.selector)}}),i.extend({clone:function(n,t,r){var f,e,u,o=i.support.html5Clone||!or.test("<"+n.nodeName)?n.cloneNode(!0):sf(n);if((!i.support.noCloneEvent||!i.support.noCloneChecked)&&(n.nodeType===1||n.nodeType===11)&&!i.isXMLDoc(n))for(kt(n,o),f=w(n),e=w(o),u=0;f[u];++u)e[u]&&kt(f[u],e[u]);if(t&&(dt(n,o),r))for(f=w(n),e=w(o),u=0;f[u];++u)dt(f[u],e[u]);return f=e=null,o},clean:function(n,t,f,e){var p,s,l,h,o,y,a,w,k;for(t=t||r,typeof t.createElement=="undefined"&&(t=t.ownerDocument||t[0]&&t[0].ownerDocument||r),s=[],h=0;(o=n[h])!=null;h++)if(typeof o=="number"&&(o+=""),o){if(typeof o=="string")if(cf.test(o)){o=o.replace(ar,"<$1></$2>");var b=(pr.exec(o)||["",""])[1].toLowerCase(),v=u[b]||u._default,d=v[0],c=t.createElement("div");for(t===r?at.appendChild(c):wi(t).appendChild(c),c.innerHTML=v[1]+o+v[2];d--;)c=c.lastChild;if(!i.support.tbody)for(y=of.test(o),a=b==="table"&&!y?c.firstChild&&c.firstChild.childNodes:v[1]==="<table>"&&!y?c.childNodes:[],l=a.length-1;l>=0;--l)i.nodeName(a[l],"tbody")&&!a[l].childNodes.length&&a[l].parentNode.removeChild(a[l]);!i.support.leadingWhitespace&&ft.test(o)&&c.insertBefore(t.createTextNode(ft.exec(o)[0]),c.firstChild),o=c.childNodes}else o=t.createTextNode(o);if(!i.support.appendChecked)if(o[0]&&typeof(w=o.length)=="number")for(l=0;l<w;l++)bt(o[l]);else bt(o);o.nodeType?s.push(o):s=i.merge(s,o)}if(f)for(p=function(n){return!n.type||ff.test(n.type)},h=0;s[h];h++)e&&i.nodeName(s[h],"script")&&(!s[h].type||s[h].type.toLowerCase()==="text/javascript")?e.push(s[h].parentNode?s[h].parentNode.removeChild(s[h]):s[h]):(s[h].nodeType===1&&(k=i.grep(s[h].getElementsByTagName("script"),p),s.splice.apply(s,[h+1,0].concat(k))),f.appendChild(s[h]));return s},cleanData:function(n){for(var r,f,o=i.cache,s=i.event.special,h=i.support.deleteExpando,t,u,e=0;(t=n[e])!=null;e++)if((!t.nodeName||!i.noData[t.nodeName.toLowerCase()])&&(f=t[i.expando],f)){if(r=o[f],r&&r.events){for(u in r.events)s[u]?i.event.remove(t,u):i.removeEvent(t,u,r.handle);r.handle&&(r.handle.elem=null)}h?delete t[i.expando]:t.removeAttribute&&t.removeAttribute(i.expando),delete o[f]}}});var ut=/alpha\([^)]*\)/i,pu=/opacity=([^)]*)/,wu=/([A-Z]|^ms)/g,gt=/^-?\d+(?:px)?$/i,nf=/^-?\d/,tf=/^([\-+])=([\-+.\de]+)/,du={position:"absolute",visibility:"hidden",display:"block"},gu=["Left","Right"],lf=["Top","Bottom"],l,pt,vt;i.fn.css=function(n,r){return arguments.length===2&&r===t?this:i.access(this,n,r,!0,function(n,r,u){return u!==t?i.style(n,r,u):i.css(n,r)})},i.extend({cssHooks:{opacity:{get:function(n,t){if(t){var i=l(n,"opacity","opacity");return i===""?"1":i}return n.style.opacity}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:i.support.cssFloat?"cssFloat":"styleFloat"},style:function(n,r,u,f){if(n&&n.nodeType!==3&&n.nodeType!==8&&n.style){var s,o,h=i.camelCase(r),c=n.style,e=i.cssHooks[h];if(r=i.cssProps[h]||h,u!==t){if(o=typeof u,o==="string"&&(s=tf.exec(u))&&(u=+(s[1]+1)*+s[2]+parseFloat(i.css(n,r)),o="number"),u==null||o==="number"&&isNaN(u))return;if(o!=="number"||i.cssNumber[h]||(u+="px"),!e||!("set"in e)||(u=e.set(n,u))!==t)try{c[r]=u}catch(l){}}else return e&&"get"in e&&(s=e.get(n,!1,f))!==t?s:c[r]}},css:function(n,r,u){var e,f;return(r=i.camelCase(r),f=i.cssHooks[r],r=i.cssProps[r]||r,r==="cssFloat"&&(r="float"),f&&"get"in f&&(e=f.get(n,!0,u))!==t)?e:l?l(n,r):void 0},swap:function(n,t,i){var u={},r;for(r in t)u[r]=n.style[r],n.style[r]=t[r];i.call(n);for(r in t)n.style[r]=u[r]}}),i.curCSS=i.css,i.each(["height","width"],function(n,t){i.cssHooks[t]={get:function(n,r,u){var f;if(r)return n.offsetWidth!==0?yt(n,t,u):(i.swap(n,du,function(){f=yt(n,t,u)}),f)},set:function(n,t){if(gt.test(t)){if(t=parseFloat(t),t>=0)return t+"px"}else return t}}}),i.support.opacity||(i.cssHooks.opacity={get:function(n,t){return pu.test((t&&n.currentStyle?n.currentStyle.filter:n.style.filter)||"")?parseFloat(RegExp.$1)/100+"":t?"1":""},set:function(n,t){var f=n.style,u=n.currentStyle,e=i.isNumeric(t)?"alpha(opacity="+t*100+")":"",r=u&&u.filter||f.filter||"";(f.zoom=1,t>=1&&i.trim(r.replace(ut,""))===""&&(f.removeAttribute("filter"),u&&!u.filter))||(f.filter=ut.test(r)?r.replace(ut,e):r+" "+e)}}),i(function(){i.support.reliableMarginRight||(i.cssHooks.marginRight={get:function(n,t){var r;return i.swap(n,{display:"inline-block"},function(){r=t?l(n,"margin-right","marginRight"):n.style.marginRight}),r}})}),r.defaultView&&r.defaultView.getComputedStyle&&(pt=function(n,t){var r,f,u;return t=t.replace(wu,"-$1").toLowerCase(),(f=n.ownerDocument.defaultView)&&(u=f.getComputedStyle(n,null))&&(r=u.getPropertyValue(t),r!==""||i.contains(n.ownerDocument.documentElement,n)||(r=i.style(n,t))),r}),r.documentElement.currentStyle&&(vt=function(n,t){var e,u,f,i=n.currentStyle&&n.currentStyle[t],r=n.style;return i===null&&r&&(f=r[t])&&(i=f),!gt.test(i)&&nf.test(i)&&(e=r.left,u=n.runtimeStyle&&n.runtimeStyle.left,u&&(n.runtimeStyle.left=n.currentStyle.left),r.left=t==="fontSize"?"1em":i||0,i=r.pixelLeft+"px",r.left=e,u&&(n.runtimeStyle.left=u)),i===""?"auto":i}),l=pt||vt,i.expr&&i.expr.filters&&(i.expr.filters.hidden=function(n){var r=n.offsetWidth,t=n.offsetHeight;return r===0&&t===0||!i.support.reliableHiddenOffsets&&(n.style&&n.style.display||i.css(n,"display"))==="none"},i.expr.filters.visible=function(n){return!i.expr.filters.hidden(n)});var ie=/%20/g,gf=/\[\]$/,ni=/\r?\n/g,ne=/#.*$/,fe=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,ee=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,re=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,ue=/^(?:GET|HEAD)$/,yf=/^\/\//,ci=/\?/,af=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,vf=/^(?:select|textarea)/i,hi=/\s+/,df=/([?&])_=[^&]*/,si=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,li=i.fn.load,rt={},yi={},o,s,vi=["*/"]+["*"];try{o=su.href}catch(oe){o=r.createElement("a"),o.href="",o=o.href}s=si.exec(o.toLowerCase())||[],i.fn.extend({load:function(n,r,u){var f,s,o,e;return typeof n!="string"&&li?li.apply(this,arguments):this.length?(f=n.indexOf(" "),f>=0&&(s=n.slice(f,n.length),n=n.slice(0,f)),o="GET",r&&(i.isFunction(r)?(u=r,r=t):typeof r=="object"&&(r=i.param(r,i.ajaxSettings.traditional),o="POST")),e=this,i.ajax({url:n,type:o,dataType:"html",data:r,complete:function(n,t,r){r=n.responseText,n.isResolved()&&(n.done(function(n){r=n}),e.html(s?i("<div>").append(r.replace(af,"")).find(s):r)),u&&e.each(u,[r,t,n])}}),this):this},serialize:function(){return i.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?i.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||vf.test(this.nodeName)||ee.test(this.type))}).map(function(n,t){var r=i(this).val();return r==null?null:i.isArray(r)?i.map(r,function(n){return{name:t.name,value:n.replace(ni,"\r\n")}}):{name:t.name,value:r.replace(ni,"\r\n")}}).get()}}),i.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(n,t){i.fn[t]=function(n){return this.on(t,n)}}),i.each(["get","post"],function(n,r){i[r]=function(n,u,f,e){return i.isFunction(u)&&(e=e||f,f=u,u=t),i.ajax({type:r,url:n,data:u,success:f,dataType:e})}}),i.extend({getScript:function(n,r){return i.get(n,t,r,"script")},getJSON:function(n,t,r){return i.get(n,t,r,"json")},ajaxSetup:function(n,t){return t?lt(n,i.ajaxSettings):(t=n,n=i.ajaxSettings),lt(n,t),n},ajaxSettings:{url:o,isLocal:re.test(s[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","*":vi},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":n.String,"text html":!0,"text json":i.parseJSON,"text xml":i.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:ai(rt),ajaxTransport:ai(yi),ajax:function(n,r){function b(n,r,s,l){if(e!==2){e=2,tt&&clearTimeout(tt),c=t,it=l||"",f.readyState=n>0?4:0;var p,b,w,a=r,rt=s?ru(u,f,s):t,d,k;if(n>=200&&n<300||n===304)if(u.ifModified&&((d=f.getResponseHeader("Last-Modified"))&&(i.lastModified[o]=d),(k=f.getResponseHeader("Etag"))&&(i.etag[o]=k)),n===304)a="notmodified",p=!0;else try{b=iu(u,rt),a="success",p=!0}catch(ft){a="parsererror",w=ft}else w=a,(!a||n)&&(a="error",n<0&&(n=0));f.status=n,f.statusText=""+(r||a),p?nt.resolveWith(h,[b,a,f]):nt.rejectWith(h,[f,a,w]),f.statusCode(y),y=t,v&&g.trigger("ajax"+(p?"Success":"Error"),[f,u,p?b:w]),ut.fireWith(h,[f,a]),v&&(g.trigger("ajaxComplete",[f,u]),--i.active||i.event.trigger("ajaxStop"))}}var k,d;typeof n=="object"&&(r=n,n=t),r=r||{};var u=i.ajaxSetup({},r),h=u.context||u,g=h!==u&&(h.nodeType||h instanceof i)?i(h):i.event,nt=i.Deferred(),ut=i.Callbacks("once memory"),y=u.statusCode||{},o,et={},ft={},it,w,c,tt,a,e=0,v,l,f={readyState:0,setRequestHeader:function(n,t){if(!e){var i=n.toLowerCase();n=ft[i]=ft[i]||n,et[n]=t}return this},getAllResponseHeaders:function(){return e===2?it:null},getResponseHeader:function(n){var i;if(e===2){if(!w)for(w={};i=fe.exec(it);)w[i[1].toLowerCase()]=i[2];i=w[n.toLowerCase()]}return i===t?null:i},overrideMimeType:function(n){return e||(u.mimeType=n),this},abort:function(n){return n=n||"abort",c&&c.abort(n),b(0,n),this}};if(nt.promise(f),f.success=f.done,f.error=f.fail,f.complete=ut.add,f.statusCode=function(n){if(n){var t;if(e<2)for(t in n)y[t]=[y[t],n[t]];else t=n[f.status],f.then(t,t)}return this},u.url=((n||u.url)+"").replace(ne,"").replace(yf,s[1]+"//"),u.dataTypes=i.trim(u.dataType||"*").toLowerCase().split(hi),u.crossDomain==null&&(a=si.exec(u.url.toLowerCase()),u.crossDomain=!!(a&&(a[1]!=s[1]||a[2]!=s[2]||(a[3]||(a[1]==="http:"?80:443))!=(s[3]||(s[1]==="http:"?80:443))))),u.data&&u.processData&&typeof u.data!="string"&&(u.data=i.param(u.data,u.traditional)),p(rt,u,r,f),e===2)return!1;v=u.global,u.type=u.type.toUpperCase(),u.hasContent=!ue.test(u.type),v&&i.active++==0&&i.event.trigger("ajaxStart"),u.hasContent||(u.data&&(u.url+=(ci.test(u.url)?"&":"?")+u.data,delete u.data),o=u.url,u.cache===!1&&(k=i.now(),d=u.url.replace(df,"$1_="+k),u.url=d+(d===u.url?(ci.test(u.url)?"&":"?")+"_="+k:""))),(u.data&&u.hasContent&&u.contentType!==!1||r.contentType)&&f.setRequestHeader("Content-Type",u.contentType),u.ifModified&&(o=o||u.url,i.lastModified[o]&&f.setRequestHeader("If-Modified-Since",i.lastModified[o]),i.etag[o]&&f.setRequestHeader("If-None-Match",i.etag[o])),f.setRequestHeader("Accept",u.dataTypes[0]&&u.accepts[u.dataTypes[0]]?u.accepts[u.dataTypes[0]]+(u.dataTypes[0]!=="*"?", "+vi+"; q=0.01":""):u.accepts["*"]);for(l in u.headers)f.setRequestHeader(l,u.headers[l]);if(u.beforeSend&&(u.beforeSend.call(h,f,u)===!1||e===2))return f.abort(),!1;for(l in{success:1,error:1,complete:1})f[l](u[l]);if(c=p(yi,u,r,f),c){f.readyState=1,v&&g.trigger("ajaxSend",[f,u]),u.async&&u.timeout>0&&(tt=setTimeout(function(){f.abort("timeout")},u.timeout));try{e=1,c.send(et,b)}catch(ot){if(e<2)b(-1,ot);else throw ot;}}else b(-1,"No Transport");return f},param:function(n,r){var f=[],e=function(n,t){t=i.isFunction(t)?t():t,f[f.length]=encodeURIComponent(n)+"="+encodeURIComponent(t)},u;if(r===t&&(r=i.ajaxSettings.traditional),i.isArray(n)||n.jquery&&!i.isPlainObject(n))i.each(n,function(){e(this.name,this.value)});else for(u in n)et(u,n[u],r,e);return f.join("&").replace(ie,"+")}}),i.extend({active:0,lastModified:{},etag:{}}),ri=i.now(),y=/(\=)\?(&|$)|\?\?/i,i.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return i.expando+"_"+ri++}}),i.ajaxPrefilter("json jsonp",function(t,r,u){var l=t.contentType==="application/x-www-form-urlencoded"&&typeof t.data=="string";if(t.dataTypes[0]==="jsonp"||t.jsonp!==!1&&(y.test(t.url)||l&&y.test(t.data))){var o,f=t.jsonpCallback=i.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,c=n[f],e=t.url,s=t.data,h="$1"+f+"$2";return t.jsonp!==!1&&(e=e.replace(y,h),t.url===e&&(l&&(s=s.replace(y,h)),t.data===s&&(e+=(/\?/.test(e)?"&":"?")+t.jsonp+"="+f))),t.url=e,t.data=s,n[f]=function(n){o=[n]},u.always(function(){n[f]=c,o&&i.isFunction(c)&&n[f](o[0])}),t.converters["script json"]=function(){return o||i.error(f+" was not called"),o[0]},t.dataTypes[0]="json","script"}}),i.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(n){return i.globalEval(n),n}}}),i.ajaxPrefilter("script",function(n){n.cache===t&&(n.cache=!1),n.crossDomain&&(n.type="GET",n.global=!1)}),i.ajaxTransport("script",function(n){if(n.crossDomain){var i,u=r.head||r.getElementsByTagName("head")[0]||r.documentElement;return{send:function(f,e){i=r.createElement("script"),i.async="async",n.scriptCharset&&(i.charset=n.scriptCharset),i.src=n.url,i.onload=i.onreadystatechange=function(n,r){(r||!i.readyState||/loaded|complete/.test(i.readyState))&&(i.onload=i.onreadystatechange=null,u&&i.parentNode&&u.removeChild(i),i=t,r||e(200,"success"))},u.insertBefore(i,u.firstChild)},abort:function(){if(i)i.onload(0,1)}}}}),d=n.ActiveXObject?function(){for(var n in v)v[n](0,1)}:!1,ii=0,i.ajaxSettings.xhr=n.ActiveXObject?function(){return!this.isLocal&&ti()||cu()}:ti,function(n){i.extend(i.support,{ajax:!!n,cors:!!n&&"withCredentials"in n})}(i.ajaxSettings.xhr()),i.support.ajax&&i.ajaxTransport(function(r){if(!r.crossDomain||i.support.cors){var u;return{send:function(f,e){var o=r.xhr(),h,s;if(r.username?o.open(r.type,r.url,r.async,r.username,r.password):o.open(r.type,r.url,r.async),r.xhrFields)for(s in r.xhrFields)o[s]=r.xhrFields[s];r.mimeType&&o.overrideMimeType&&o.overrideMimeType(r.mimeType),r.crossDomain||f["X-Requested-With"]||(f["X-Requested-With"]="XMLHttpRequest");try{for(s in f)o.setRequestHeader(s,f[s])}catch(c){}o.send(r.hasContent&&r.data||null),u=function(n,f){var c,a,y,s,l;try{if(u&&(f||o.readyState===4))if(u=t,h&&(o.onreadystatechange=i.noop,d&&delete v[h]),f)o.readyState!==4&&o.abort();else{c=o.status,y=o.getAllResponseHeaders(),s={},l=o.responseXML,l&&l.documentElement&&(s.xml=l),s.text=o.responseText;try{a=o.statusText}catch(w){a=""}c||!r.isLocal||r.crossDomain?c===1223&&(c=204):c=s.text?200:404}}catch(p){f||e(-1,p)}s&&e(c,a,s,y)},r.async&&o.readyState!==4?(h=++ii,d&&(v||(v={},i(n).unload(d)),v[h]=u),o.onreadystatechange=u):u()},abort:function(){u&&u(0,1)}}}});var ht={},f,c,hu=/^(?:toggle|show|hide)$/,fu=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,g,ui=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],tt;i.fn.extend({show:function(n,t,r){var u,e,f,o;if(n||n===0)return this.animate(a("show",3),n,t,r);for(f=0,o=this.length;f<o;f++)u=this[f],u.style&&(e=u.style.display,i._data(u,"olddisplay")||e!=="none"||(e=u.style.display=""),e===""&&i.css(u,"display")==="none"&&i._data(u,"olddisplay",ei(u.nodeName)));for(f=0;f<o;f++)u=this[f],u.style&&(e=u.style.display,(e===""||e==="none")&&(u.style.display=i._data(u,"olddisplay")||""));return this},hide:function(n,t,r){if(n||n===0)return this.animate(a("hide",3),n,t,r);for(var f,e,u=0,o=this.length;u<o;u++)f=this[u],f.style&&(e=i.css(f,"display"),e==="none"||i._data(f,"olddisplay")||i._data(f,"olddisplay",e));for(u=0;u<o;u++)this[u].style&&(this[u].style.display="none");return this},_toggle:i.fn.toggle,toggle:function(n,t,r){var u=typeof n=="boolean";return i.isFunction(n)&&i.isFunction(t)?this._toggle.apply(this,arguments):n==null||u?this.each(function(){var t=u?n:i(this).is(":hidden");i(this)[t?"show":"hide"]()}):this.animate(a("toggle",3),n,t,r),this},fadeTo:function(n,t,i,r){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:t},n,i,r)},animate:function(n,t,r,u){function e(){f.queue===!1&&i._mark(this);var u=i.extend({},f),y=this.nodeType===1,v=y&&i(this).is(":hidden"),e,t,r,s,c,o,h,l,a;u.animatedProperties={};for(r in n){if(e=i.camelCase(r),r!==e&&(n[e]=n[r],delete n[r]),t=n[e],i.isArray(t)?(u.animatedProperties[e]=t[1],t=n[e]=t[0]):u.animatedProperties[e]=u.specialEasing&&u.specialEasing[e]||u.easing||"swing",t==="hide"&&v||t==="show"&&!v)return u.complete.call(this);y&&(e==="height"||e==="width")&&(u.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY],i.css(this,"display")==="inline"&&i.css(this,"float")==="none"&&(i.support.inlineBlockNeedsLayout&&ei(this.nodeName)!=="inline"?this.style.zoom=1:this.style.display="inline-block"))}u.overflow!=null&&(this.style.overflow="hidden");for(r in n)s=new i.fx(this,u,r),t=n[r],hu.test(t)?(a=i._data(this,"toggle"+r)||(t==="toggle"?v?"show":"hide":0),a?(i._data(this,"toggle"+r,a==="show"?"hide":"show"),s[a]()):s[t]()):(c=fu.exec(t),o=s.cur(),c?(h=parseFloat(c[2]),l=c[3]||(i.cssNumber[r]?"":"px"),l!=="px"&&(i.style(this,r,(h||1)+l),o=(h||1)/s.cur()*o,i.style(this,r,o+l)),c[1]&&(h=(c[1]==="-="?-1:1)*h+o),s.custom(o,h,l)):s.custom(o,t,""));return!0}var f=i.speed(t,r,u);return i.isEmptyObject(n)?this.each(f.complete,[!1]):(n=i.extend({},n),f.queue===!1?this.each(e):this.queue(f.queue,e))},stop:function(n,r,u){return typeof n!="string"&&(u=r,r=n,n=t),r&&n!==!1&&this.queue(n||"fx",[]),this.each(function(){function e(n,t,r){var f=t[r];i.removeData(n,r,!0),f.stop(u)}var t,o=!1,f=i.timers,r=i._data(this);if(u||i._unmark(!0,this),n==null)for(t in r)r[t]&&r[t].stop&&t.indexOf(".run")===t.length-4&&e(this,r,t);else r[t=n+".run"]&&r[t].stop&&e(this,r,t);for(t=f.length;t--;)f[t].elem===this&&(n==null||f[t].queue===n)&&(u?f[t](!0):f[t].saveState(),o=!0,f.splice(t,1));u&&o||i.dequeue(this,n)})}}),i.each({slideDown:a("show",1),slideUp:a("hide",1),slideToggle:a("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(n,t){i.fn[n]=function(n,i,r){return this.animate(t,n,i,r)}}),i.extend({speed:function(n,t,r){var u=n&&typeof n=="object"?i.extend({},n):{complete:r||!r&&t||i.isFunction(n)&&n,duration:n,easing:r&&t||t&&!i.isFunction(t)&&t};return u.duration=i.fx.off?0:typeof u.duration=="number"?u.duration:u.duration in i.fx.speeds?i.fx.speeds[u.duration]:i.fx.speeds._default,(u.queue==null||u.queue===!0)&&(u.queue="fx"),u.old=u.complete,u.complete=function(n){i.isFunction(u.old)&&u.old.call(this),u.queue?i.dequeue(this,u.queue):n!==!1&&i._unmark(this)},u},easing:{linear:function(n,t,i,r){return i+r*n},swing:function(n,t,i,r){return(-Math.cos(n*Math.PI)/2+.5)*r+i}},timers:[],fx:function(n,t,i){this.options=t,this.elem=n,this.prop=i,t.orig=t.orig||{}}}),i.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this),(i.fx.step[this.prop]||i.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 t,n=i.css(this.elem,this.prop);return isNaN(t=parseFloat(n))?!n||n==="auto"?0:n:t},custom:function(n,r,u){function e(n){return f.step(n)}var f=this,o=i.fx;this.startTime=tt||oi(),this.end=r,this.now=this.start=n,this.pos=this.state=0,this.unit=u||this.unit||(i.cssNumber[this.prop]?"":"px"),e.queue=this.options.queue,e.elem=this.elem,e.saveState=function(){f.options.hide&&i._data(f.elem,"fxshow"+f.prop)===t&&i._data(f.elem,"fxshow"+f.prop,f.start)},e()&&i.timers.push(e)&&!g&&(g=setInterval(o.tick,o.interval))},show:function(){var n=i._data(this.elem,"fxshow"+this.prop);this.options.orig[this.prop]=n||i.style(this.elem,this.prop),this.options.show=!0,n!==t?this.custom(this.cur(),n):this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur()),i(this.elem).show()},hide:function(){this.options.orig[this.prop]=i._data(this.elem,"fxshow"+this.prop)||i.style(this.elem,this.prop),this.options.hide=!0,this.custom(this.cur(),0)},step:function(n){var r,e,f,o=tt||oi(),s=!0,u=this.elem,t=this.options;if(n||o>=t.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),t.animatedProperties[this.prop]=!0;for(r in t.animatedProperties)t.animatedProperties[r]!==!0&&(s=!1);if(s){if(t.overflow==null||i.support.shrinkWrapBlocks||i.each(["","X","Y"],function(n,i){u.style["overflow"+i]=t.overflow[n]}),t.hide&&i(u).hide(),t.hide||t.show)for(r in t.animatedProperties)i.style(u,r,t.orig[r]),i.removeData(u,"fxshow"+r,!0),i.removeData(u,"toggle"+r,!0);f=t.complete,f&&(t.complete=!1,f.call(u))}return!1}return t.duration==Infinity?this.now=o:(e=o-this.startTime,this.state=e/t.duration,this.pos=i.easing[t.animatedProperties[this.prop]](this.state,e,0,1,t.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update(),!0}},i.extend(i.fx,{tick:function(){for(var r,t=i.timers,n=0;n<t.length;n++)r=t[n],r()||t[n]!==r||t.splice(n--,1);t.length||i.fx.stop()},interval:13,stop:function(){clearInterval(g),g=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(n){i.style(n.elem,"opacity",n.now)},_default:function(n){n.elem.style&&n.elem.style[n.prop]!=null?n.elem.style[n.prop]=n.now+n.unit:n.elem[n.prop]=n.now}}}),i.each(["width","height"],function(n,t){i.fx.step[t]=function(n){i.style(n.elem,t,Math.max(0,n.now)+n.unit)}}),i.expr&&i.expr.filters&&(i.expr.filters.animated=function(n){return i.grep(i.timers,function(t){return n===t.elem}).length}),fi=/^t(?:able|d|h)$/i,ot=/^(?:body|html)$/i,i.fn.offset="getBoundingClientRect"in r.documentElement?function(n){var t=this[0],r,e,u;if(n)return this.each(function(t){i.offset.setOffset(this,n,t)});if(!t||!t.ownerDocument)return null;if(t===t.ownerDocument.body)return i.offset.bodyOffset(t);try{r=t.getBoundingClientRect()}catch(y){}if(e=t.ownerDocument,u=e.documentElement,!r||!i.contains(u,t))return r?{top:r.top,left:r.left}:{top:0,left:0};var f=e.body,o=it(e),l=u.clientTop||f.clientTop||0,a=u.clientLeft||f.clientLeft||0,v=o.pageYOffset||i.support.boxModel&&u.scrollTop||f.scrollTop,s=o.pageXOffset||i.support.boxModel&&u.scrollLeft||f.scrollLeft,h=r.top+v-l,c=r.left+s-a;return{top:h,left:c}}:function(n){var t=this[0];if(n)return this.each(function(t){i.offset.setOffset(this,n,t)});if(!t||!t.ownerDocument)return null;if(t===t.ownerDocument.body)return i.offset.bodyOffset(t);for(var f,h=t.offsetParent,a=t,l=t.ownerDocument,c=l.documentElement,o=l.body,s=l.defaultView,e=s?s.getComputedStyle(t,null):t.currentStyle,u=t.offsetTop,r=t.offsetLeft;(t=t.parentNode)&&t!==o&&t!==c;){if(i.support.fixedPosition&&e.position==="fixed")break;f=s?s.getComputedStyle(t,null):t.currentStyle,u-=t.scrollTop,r-=t.scrollLeft,t===h&&(u+=t.offsetTop,r+=t.offsetLeft,!i.support.doesNotAddBorder||i.support.doesAddBorderForTableAndCells&&fi.test(t.nodeName)||(u+=parseFloat(f.borderTopWidth)||0,r+=parseFloat(f.borderLeftWidth)||0),a=h,h=t.offsetParent),i.support.subtractsBorderForOverflowNotVisible&&f.overflow!=="visible"&&(u+=parseFloat(f.borderTopWidth)||0,r+=parseFloat(f.borderLeftWidth)||0),e=f}return(e.position==="relative"||e.position==="static")&&(u+=o.offsetTop,r+=o.offsetLeft),i.support.fixedPosition&&e.position==="fixed"&&(u+=Math.max(c.scrollTop,o.scrollTop),r+=Math.max(c.scrollLeft,o.scrollLeft)),{top:u,left:r}},i.offset={bodyOffset:function(n){var r=n.offsetTop,t=n.offsetLeft;return i.support.doesNotIncludeMarginInBodyOffset&&(r+=parseFloat(i.css(n,"marginTop"))||0,t+=parseFloat(i.css(n,"marginLeft"))||0),{top:r,left:t}},setOffset:function(n,t,r){var s=i.css(n,"position");s==="static"&&(n.style.position="relative");var h=i(n),c=h.offset(),l=i.css(n,"top"),a=i.css(n,"left"),v=(s==="absolute"||s==="fixed")&&i.inArray("auto",[l,a])>-1,u={},e={},f,o;v?(e=h.position(),f=e.top,o=e.left):(f=parseFloat(l)||0,o=parseFloat(a)||0),i.isFunction(t)&&(t=t.call(n,r,c)),t.top!=null&&(u.top=t.top-c.top+f),t.left!=null&&(u.left=t.left-c.left+o),"using"in t?t.using.call(n,u):h.css(u)}},i.fn.extend({position:function(){if(!this[0])return null;var u=this[0],r=this.offsetParent(),n=this.offset(),t=ot.test(r[0].nodeName)?{top:0,left:0}:r.offset();return n.top-=parseFloat(i.css(u,"marginTop"))||0,n.left-=parseFloat(i.css(u,"marginLeft"))||0,t.top+=parseFloat(i.css(r[0],"borderTopWidth"))||0,t.left+=parseFloat(i.css(r[0],"borderLeftWidth"))||0,{top:n.top-t.top,left:n.left-t.left}},offsetParent:function(){return this.map(function(){for(var n=this.offsetParent||r.body;n&&!ot.test(n.nodeName)&&i.css(n,"position")==="static";)n=n.offsetParent;return n})}}),i.each(["Left","Top"],function(n,r){var u="scroll"+r;i.fn[u]=function(r){var e,f;return r===t?(e=this[0],!e)?null:(f=it(e),f?"pageXOffset"in f?f[n?"pageYOffset":"pageXOffset"]:i.support.boxModel&&f.document.documentElement[u]||f.document.body[u]:e[u]):this.each(function(){f=it(this),f?f.scrollTo(n?i(f).scrollLeft():r,n?r:i(f).scrollTop()):this[u]=r})}}),i.each(["Height","Width"],function(n,r){var u=r.toLowerCase();i.fn["inner"+r]=function(){var n=this[0];return n?n.style?parseFloat(i.css(n,u,"padding")):this[u]():null},i.fn["outer"+r]=function(n){var t=this[0];return t?t.style?parseFloat(i.css(t,u,n?"margin":"border")):this[u]():null},i.fn[u]=function(n){var f=this[0],s,h,e,o;return f?i.isFunction(n)?this.each(function(t){var r=i(this);r[u](n.call(this,t,r[u]()))}):i.isWindow(f)?(s=f.document.documentElement["client"+r],h=f.document.body,f.document.compatMode==="CSS1Compat"&&s||h&&h["client"+r]||s):f.nodeType===9?Math.max(f.documentElement["client"+r],f.body["scroll"+r],f.documentElement["scroll"+r],f.body["offset"+r],f.documentElement["offset"+r]):n===t?(e=i.css(f,u),o=parseFloat(e),i.isNumeric(o)?o:e):this.css(u,typeof n=="string"?n:n+"px"):n==null?null:this}}),n.jQuery=n.$=i,typeof define=="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return i})})(window),function(n,t){function e(n,t){return new Date(n,t+1,0).getDate()}function a(n,t){for(n=""+n,t=t||2;n.length<t;)n="0"+n;return n}function c(n,t,i,r){var s=t.getDate(),h=t.getDay(),f=t.getMonth(),e=t.getFullYear(),l={d:s,dd:a(s),ddd:u[r].shortDays[h],dddd:u[r].days[h],m:f+1,mm:a(f+1),mmm:u[r].shortMonths[f],mmmm:u[r].months[f],yy:String(e).slice(2),yyyy:e},c=o[n](i,t,l,r);return v.html(c).html()}function i(n){return parseInt(n,10)}function s(n,t){return n.getFullYear()===t.getFullYear()&&n.getMonth()==t.getMonth()&&n.getDate()==t.getDate()}function r(n){var r,u;if(n!==t){if(n.constructor==Date)return n;if(typeof n=="string"){if(r=n.split("-"),r.length==3)return new Date(i(r[0]),i(r[1])-1,i(r[2]));if(!/^-?\d+$/.test(n))return;n=i(n)}return u=new Date,u.setDate(u.getDate()+n),u}}function y(f,o){function lt(t,i,r){b=t,it=t.getFullYear(),ft=t.getMonth(),nt=t.getDate(),r||(r=n.Event("api")),r.type=="click"&&!n.browser.msie&&f.focus(),r.type="beforeChange",tt.trigger(r,[t]),r.isDefaultPrevented()||(f.val(c(i.formatter,t,i.format,i.lang)),r.type="change",tt.trigger(r),f.data("date",t),v.hide(r))}function pt(t){t.type="onShow",tt.trigger(t),n(document).on("keydown.d",function(t){var i;if(t.ctrlKey)return!0;if(i=t.keyCode,i==8||i==46)return f.val(""),v.hide(t);if(i==27||i==9)return v.hide(t);if(n(l).index(i)>=0){if(!g)return v.show(t),t.preventDefault();var e=n("#"+a.weeks+" a"),u=n("."+a.focus),r=e.index(u);return u.removeClass(a.focus),i==74||i==40?r+=7:i==75||i==38?r-=7:i==76||i==39?r+=1:(i==72||i==37)&&(r-=1),r>41?(v.addMonth(),u=n("#"+a.weeks+" a:eq("+(r-42)+")")):r<0?(v.addMonth(-1),u=n("#"+a.weeks+" a:eq("+(r+42)+")")):u=e.eq(r),u.addClass(a.focus),t.preventDefault()}return i==34?v.addMonth():i==33?v.addMonth(-1):i==36?v.today():(i==13&&(n(t.target).is("select")||n("."+a.focus).click()),n([16,17,18,9]).index(i)>=0)}),n(document).on("click.d",function(t){var i=t.target;!n(i).parents("#"+a.root).length&&i!=f[0]&&(!ct||i!=ct[0])&&v.hide(t)})}var v=this,rt=new Date,wt=rt.getFullYear(),a=o.css,et=u[o.lang],y=n("#"+a.root),yt=y.find("#"+a.title),ct,st,ht,it,ft,nt,b=f.attr("data-value")||o.value||f.val(),p=f.attr("min")||o.min,w=f.attr("max")||o.max,g,at,tt,k,d,bt,ot,ut;if(p===0&&(p="0"),b=r(b)||rt,p=r(p||new Date(wt+o.yearRange[0],1,1)),w=r(w||new Date(wt+o.yearRange[1]+1,1,-1)),!et)throw"Dateinput: invalid language: "+o.lang;if(f.attr("type")=="date"){var at=f.clone(),kt=at.wrap("<div/>").parent().html(),vt=n(kt.replace(/type/i,"type=text data-orig-type"));o.value&&vt.val(o.value),f.replaceWith(vt),f=vt}if(f.addClass(a.input),tt=f.add(v),!y.length){for(y=n("<div><div><a/><div/><a/></div><div><div/><div/></div></div>").hide().css({position:"absolute"}).attr("id",a.root),y.children().eq(0).attr("id",a.head).end().eq(1).attr("id",a.body).children().eq(0).attr("id",a.days).end().eq(1).attr("id",a.weeks).end().end().end().find("a").eq(0).attr("id",a.prev).end().eq(1).attr("id",a.next),yt=y.find("#"+a.head).find("div").attr("id",a.title),o.selectors&&(k=n("<select/>").attr("id",a.month),d=n("<select/>").attr("id",a.year),yt.html(k.add(d))),bt=y.find("#"+a.days),ot=0;ot<7;ot++)bt.append(n("<span/>").text(et.shortDays[(ot+o.firstDay)%7]));n("body").append(y)}o.trigger&&(ct=n("<a/>").attr("href","#").addClass(a.trigger).click(function(n){return o.toggle?v.toggle():v.show(),n.preventDefault()}).insertAfter(f)),ut=y.find("#"+a.weeks),d=y.find("#"+a.year),k=y.find("#"+a.month),n.extend(v,{show:function(t){if(!(f.attr("readonly")||f.attr("disabled")||g)){if(t=t||n.Event(),t.type="onBeforeShow",tt.trigger(t),t.isDefaultPrevented())return;n.each(h,function(){this.hide()}),g=!0,k.off("change").change(function(){v.setValue(i(d.val()),i(n(this).val()))}),d.off("change").change(function(){v.setValue(i(n(this).val()),i(k.val()))}),st=y.find("#"+a.prev).off("click").click(function(){return st.hasClass(a.disabled)||v.addMonth(-1),!1}),ht=y.find("#"+a.next).off("click").click(function(){return ht.hasClass(a.disabled)||v.addMonth(),!1}),v.setValue(b);var r=f.offset();return/iPad/i.test(navigator.userAgent)&&(r.top-=n(window).scrollTop()),y.css({top:r.top+f.outerHeight({margins:!0})+o.offset[0],left:r.left+o.offset[1]}),o.speed?y.show(o.speed,function(){pt(t)}):(y.show(),pt(t)),v}},setValue:function(u,f,h){var c=i(f)>=-1?new Date(i(u),i(f),i(h==t||isNaN(h)?1:h)):u||b,vt,ct,l,y,tt;if(c<p?c=p:c>w&&(c=w),typeof u=="string"&&(c=r(u)),u=c.getFullYear(),f=c.getMonth(),h=c.getDate(),f==-1?(f=11,u--):f==12&&(f=0,u++),!g)return lt(c,o),v;ft=f,it=u,nt=h;var bt=new Date(u,f,1-o.firstDay),ot=bt.getDay(),pt=e(u,f),wt=e(u,f-1),at;if(o.selectors){for(k.empty(),n.each(et.months,function(t,i){p<new Date(u,t+1,1)&&w>new Date(u,t,0)&&k.append(n("<option/>").html(i).attr("value",t))}),d.empty(),vt=rt.getFullYear(),ct=vt+o.yearRange[0];ct<vt+o.yearRange[1];ct++)p<new Date(ct+1,0,1)&&w>new Date(ct,0,0)&&d.append(n("<option/>").text(ct));k.val(f),d.val(u)}else yt.html(et.months[f]+" "+u);for(ut.empty(),st.add(ht).removeClass(a.disabled),l=ot?0:-7;l<(ot?42:35);l++)y=n("<a/>"),l%7==0&&(at=n("<div/>").addClass(a.week),ut.append(at)),l<ot?(y.addClass(a.off),tt=wt-ot+l+1,c=new Date(u,f-1,tt)):l<ot+pt?(tt=l-ot+1,c=new Date(u,f,tt),s(b,c)?y.attr("id",a.current).addClass(a.focus):s(rt,c)&&y.attr("id",a.today)):(y.addClass(a.off),tt=l-pt-ot+1,c=new Date(u,f+1,tt)),p&&c<p&&y.add(st).addClass(a.disabled),w&&c>w&&y.add(ht).addClass(a.disabled),y.attr("href","#"+tt).text(tt).data("date",c),at.append(y);return ut.find("a").click(function(t){var i=n(this);return i.hasClass(a.disabled)||(n("#"+a.current).removeAttr("id"),i.attr("id",a.current),lt(i.data("date"),o,t)),!1}),a.sunday&&ut.find("."+a.week).each(function(){var t=o.firstDay?7-o.firstDay:0;n(this).children().slice(t,t+1).addClass(a.sunday)}),v},setMin:function(n,t){return p=r(n),t&&b<p&&v.setValue(p),v},setMax:function(n,t){return w=r(n),t&&b>w&&v.setValue(w),v},today:function(){return v.setValue(rt)},addDay:function(n){return this.setValue(it,ft,nt+(n||1))},addMonth:function(n){var i=ft+(n||1),t=e(it,i),r=nt<=t?nt:t;return this.setValue(it,i,r)},addYear:function(n){return this.setValue(it+(n||1),ft,nt)},destroy:function(){f.add(document).off("click.d keydown.d"),y.add(ct).remove(),f.removeData("dateinput").removeClass(a.input),at&&f.replaceWith(at)},hide:function(t){if(g){if(t=n.Event(),t.type="onHide",tt.trigger(t),t.isDefaultPrevented())return;n(document).off("click.d keydown.d"),y.hide(),g=!1}return v},toggle:function(){return v.isOpen()?v.hide():v.show()},getConf:function(){return o},getInput:function(){return f},getCalendar:function(){return y},getValue:function(n){return n?c(o.formatter,b,n,o.lang):b},isOpen:function(){return g}}),n.each(["onBeforeShow","onShow","change","onHide"],function(t,i){n.isFunction(o[i])&&n(v).on(i,o[i]),v[i]=function(t){return t&&n(v).on(i,t),v}}),o.editable||f.on("focus.d click.d",v.show).keydown(function(t){var i=t.keyCode;if(g||n(l).index(i)<0)(i==8||i==46)&&f.val("");else return v.show(t),t.preventDefault();return t.shiftKey||t.ctrlKey||t.altKey||i==9?!0:t.preventDefault()}),r(f.val())&&lt(b,o)}var v;n.tools=n.tools||{version:"v1.2.7"};var h=[],o={},f,l=[75,76,38,39,74,72,40,37],u={};f=n.tools.dateinput={conf:{format:"mm/dd/yy",formatter:"default",selectors:!1,yearRange:[-5,5],lang:"en",offset:[0,0],speed:0,firstDay:0,min:t,max:t,trigger:0,toggle:0,editable:0,css:{prefix:"cal",input:"date",root:0,head:0,title:0,prev:0,next:0,month:0,year:0,days:0,body:0,weeks:0,today:0,current:0,week:0,off:0,sunday:0,focus:0,disabled:0,trigger:0}},addFormatter:function(n,t){o[n]=t},localize:function(t,i){n.each(i,function(n,t){i[n]=t.split(",")}),u[t]=i}},f.localize("en",{months:"January,February,March,April,May,June,July,August,September,October,November,December",shortMonths:"Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec",days:"Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday",shortDays:"Sun,Mon,Tue,Wed,Thu,Fri,Sat"}),v=n("<a/>"),f.addFormatter("default",function(n,t,i){return n.replace(/d{1,4}|m{1,4}|yy(?:yy)?|"[^"]*"|'[^']*'/g,function(n){return n in i?i[n]:n})}),f.addFormatter("prefixed",function(n,t,i){return n.replace(/%(d{1,4}|m{1,4}|yy(?:yy)?|"[^"]*"|'[^']*')/g,function(n,t){return t in i?i[t]:n})}),n.expr[":"].date=function(t){var i=t.getAttribute("type");return i&&i=="date"||n(t).data("dateinput")},n.fn.dateinput=function(t){if(this.data("dateinput"))return this;t=n.extend(!0,{},f.conf,t),n.each(t.css,function(n,i){!i&&n!="prefix"&&(t.css[n]=(t.css.prefix||"")+(i||n))});var i;return this.each(function(){var u=new y(n(this),t),r;h.push(u),r=u.getInput().data("dateinput",u),i=i?i.add(r):r}),i?i:this}}(jQuery),function(n){function r(r,u){var f=this,l=r.add(f),v=n(window),s,e,a,o=n.tools.expose&&(u.mask||u.expose),c=Math.random().toString().slice(10),h;if(o&&(typeof o=="string"&&(o={color:o}),o.closeOnClick=o.closeOnEsc=!1),h=u.target||r.attr("rel"),e=h?n(h):null||r,!e.length)throw"Could not find Overlay: "+h;r&&r.index(e)==-1&&r.click(function(n){return f.load(n),n.preventDefault()}),n.extend(f,{load:function(r){var y;if(f.isOpened())return f;if(y=t[u.effect],!y)throw'Overlay: cannot find effect : "'+u.effect+'"';if(u.oneInstance&&n.each(i,function(){this.close(r)}),r=r||n.Event(),r.type="onBeforeLoad",l.trigger(r),r.isDefaultPrevented())return f;a=!0,o&&n(e).expose(o);var s=u.top,h=u.left,w=e.outerWidth({margin:!0}),p=e.outerHeight({margin:!0});return typeof s=="string"&&(s=s=="center"?Math.max((v.height()-p)/2,0):parseInt(s,10)/100*v.height()),h=="center"&&(h=Math.max((v.width()-w)/2,0)),y[0].call(f,{top:s,left:h},function(){a&&(r.type="onLoad",l.trigger(r))}),o&&u.closeOnClick&&n.mask.getMask().one("click",f.close),u.closeOnClick&&n(document).on("click."+c,function(t){n(t.target).parents(e).length||f.close(t)}),u.closeOnEsc&&n(document).on("keydown."+c,function(n){n.keyCode==27&&f.close(n)}),f},close:function(i){return f.isOpened()?(i=i||n.Event(),i.type="onBeforeClose",l.trigger(i),i.isDefaultPrevented()?void 0:(a=!1,t[u.effect][1].call(f,function(){i.type="onClose",l.trigger(i)}),n(document).off("click."+c+" keydown."+c),o&&n.mask.close(),f)):f},getOverlay:function(){return e},getTrigger:function(){return r},getClosers:function(){return s},isOpened:function(){return a},getConf:function(){return u}}),n.each("onBeforeLoad,onStart,onLoad,onBeforeClose,onClose".split(","),function(t,i){n.isFunction(u[i])&&n(f).on(i,u[i]),f[i]=function(t){return t&&n(f).on(i,t),f}}),s=e.find(u.close||".close"),!s.length&&!u.close&&(s=n('<a class="close"></a>'),e.prepend(s)),s.click(function(n){f.close(n)}),u.load&&f.load()}n.tools=n.tools||{version:"v1.2.7"},n.tools.overlay={addEffect:function(n,i,r){t[n]=[i,r]},conf:{close:null,closeOnClick:!0,closeOnEsc:!0,closeSpeed:"fast",effect:"default",fixed:!n.browser.msie||n.browser.version>6,left:"center",load:!1,mask:null,oneInstance:!0,speed:"normal",target:null,top:"10%"}};var i=[],t={};n.tools.overlay.addEffect("default",function(t,i){var r=this.getConf(),u=n(window);r.fixed||(t.top+=u.scrollTop(),t.left+=u.scrollLeft()),t.position=r.fixed?"fixed":"absolute",this.getOverlay().css(t).fadeIn(r.speed,i)},function(n){this.getOverlay().fadeOut(this.getConf().closeSpeed,n)}),n.fn.overlay=function(t){var u=this.data("overlay");return u?u:(n.isFunction(t)&&(t={onBeforeLoad:t}),t=n.extend(!0,{},n.tools.overlay.conf,t),this.each(function(){u=new r(n(this),t),i.push(u),n(this).data("overlay",u)}),t.api?u:this)}}(jQuery),function(n){function f(n){var t=n.offset();return{top:t.top+n.height()/2,left:t.left+n.width()/2}}var u=n.tools.overlay,t=n(window),i,r;n.extend(u.conf,{start:{top:null,left:null},fadeInSpeed:"fast",zIndex:9999}),i=function(i,r){var u=this.getOverlay(),e=this.getConf(),a=this.getTrigger(),p=this,v=u.outerWidth({margin:!0}),s=u.data("img"),y=e.fixed?"fixed":"absolute",o,c,h,l;if(!s){if(o=u.css("backgroundImage"),!o)throw"background-image CSS property not set for overlay";o=o.slice(o.indexOf("(")+1,o.indexOf(")")).replace(/\"/g,""),u.css("backgroundImage","none"),s=n('<img src="'+o+'"/>'),s.css({border:0,display:"none"}).width(v),n("body").append(s),u.data("img",s)}c=e.start.top||Math.round(t.height()/2),h=e.start.left||Math.round(t.width()/2),a&&(l=f(a),c=l.top,h=l.left),e.fixed?(c-=t.scrollTop(),h-=t.scrollLeft()):(i.top+=t.scrollTop(),i.left+=t.scrollLeft()),s.css({position:"absolute",top:c,left:h,width:0,zIndex:e.zIndex}).show(),i.position=y,u.css(i),s.animate({top:i.top,left:i.left,width:v},e.speed,function(){u.css("zIndex",e.zIndex+1).fadeIn(e.fadeInSpeed,function(){p.isOpened()&&!n(this).index(u)?r.call():u.hide()})}).css("position",y)},r=function(i){var s=this.getOverlay().hide(),r=this.getConf(),o=this.getTrigger(),u=s.data("img"),e={top:r.start.top,left:r.start.left,width:0};o&&n.extend(e,f(o)),r.fixed&&u.css({position:"absolute"}).animate({top:"+="+t.scrollTop(),left:"+="+t.scrollLeft()},0),u.animate(e,r.closeSpeed,i)},u.addEffect("apple",i,r)}(jQuery),function(n){function o(n,t){var i=Math.pow(10,t);return Math.round(n*i)/i}function t(n,t){var r=parseInt(n.css(t),10),i;return r?r:(i=n[0].currentStyle,i&&i.width&&parseInt(i.width,10))}function u(n){var t=n.data("events");return t&&t.onSlide}function e(i,r){function g(n,t,u,h){var w,p,b;return(u===undefined?u=t/s*tt:h&&(u-=r.min),v&&(u=Math.round(u/v)*v),(t===undefined||v)&&(t=u*s/tt),isNaN(u))?f:(t=Math.max(0,Math.min(t,s)),u=t/s*tt,(h||!c)&&(u+=r.min),c&&(h?t=s-t:u=r.max-u),u=o(u,a),w=n.type=="click",nt&&l!==undefined&&!w&&(n.type="onSlide",y.trigger(n,[u,t]),n.isDefaultPrevented()))?f:(p=w?r.speed:0,b=w?function(){n.type="change",y.trigger(n,[u])}:null,c?(e.animate({top:t},p,b),r.progress&&d.animate({height:s-t+e.height()/2},p)):(e.animate({left:t},p,b),r.progress&&d.animate({width:t+e.width()/2},p)),l=u,ut=t,i.val(u),f)}function b(){c=r.vertical||t(h,"height")>t(h,"width"),c?(s=t(h,"height")-t(e,"height"),w=h.offset().top+s):(s=t(h,"width")-t(e,"width"),w=h.offset().left)}function it(){b(),f.setValue(r.value!==undefined?r.value:r.min)}var f=this,k=r.css,h=n("<div><div/><a href='#'/></div>").data("rangeinput",f),c,l,w,s,ut,e,d,rt,p,y,nt;i.before(h),e=h.addClass(k.slider).find("a").addClass(k.handle),d=h.find("div").addClass(k.progress),n.each("min,max,step,value".split(","),function(n,t){var u=i.attr(t);parseFloat(u)&&(r[t]=parseFloat(u,10))});var tt=r.max-r.min,v=r.step=="any"?0:r.step,a=r.precision;a===undefined&&(a=v.toString().split("."),a=a.length===2?a[1].length:0),i.attr("type")=="range"&&(rt=i.clone().wrap("<div/>").parent().html(),p=n(rt.replace(/type/i,"type=text data-orig-type")),p.val(r.value),i.replaceWith(p),i=p),i.addClass(k.input),y=n(f).add(i),nt=!0,n.extend(f,{getValue:function(){return l},setValue:function(t,i){return b(),g(i||n.Event("api"),undefined,t,!0)},getConf:function(){return r},getProgress:function(){return d},getHandle:function(){return e},getInput:function(){return i},step:function(t,i){i=i||n.Event();var u=r.step=="any"?1:r.step;f.setValue(l+u*(t||1),i)},stepUp:function(n){return f.step(n||1)},stepDown:function(n){return f.step(-n||-1)}}),n.each("onSlide,change".split(","),function(t,i){n.isFunction(r[i])&&n(f).on(i,r[i]),f[i]=function(t){return t&&n(f).on(i,t),f}}),e.drag({drag:!1}).on("dragStart",function(){b(),nt=u(n(f))||u(i)}).on("drag",function(n,t,r){if(i.is(":disabled"))return!1;g(n,c?t:r)}).on("dragEnd",function(n){n.isDefaultPrevented()||(n.type="change",y.trigger(n,[l]))}).click(function(n){return n.preventDefault()}),h.click(function(n){if(i.is(":disabled")||n.target==e[0])return n.preventDefault();b();var t=c?e.height()/2:e.width()/2;g(n,c?s-w-t+n.pageY:n.pageX-w-t)}),r.keyboard&&i.keydown(function(t){if(!i.attr("readonly")){var r=t.keyCode,e=n([75,76,38,33,39]).index(r)!=-1,u=n([74,72,40,34,37]).index(r)!=-1;if((e||u)&&!(t.shiftKey||t.altKey||t.ctrlKey))return e?f.step(r==33?10:1,t):u&&f.step(r==34?-10:-1,t),t.preventDefault()}}),i.blur(function(t){var i=n(this).val();i!==l&&f.setValue(i,t)}),n.extend(i[0],{stepUp:f.stepUp,stepDown:f.stepDown}),it(),s||n(window).load(it)}var f,r,i;n.tools=n.tools||{version:"v1.2.7"},f=n.tools.rangeinput={conf:{min:0,max:100,step:"any",steps:0,value:0,precision:undefined,vertical:0,keyboard:!0,progress:!1,speed:100,css:{input:"range",slider:"slider",progress:"progress",handle:"handle"}}},n.fn.drag=function(t){return document.ondragstart=function(){return!1},t=n.extend({x:!0,y:!0,drag:!0},t),r=r||n(document).on("mousedown mouseup",function(u){var f=n(u.target);if(u.type=="mousedown"&&f.data("drag")){var o=f.position(),s=u.pageX-o.left,h=u.pageY-o.top,e=!0;r.on("mousemove.drag",function(n){var u=n.pageX-s,o=n.pageY-h,r={};t.x&&(r.left=u),t.y&&(r.top=o),e&&(f.trigger("dragStart"),e=!1),t.drag&&f.css(r),f.trigger("drag",[o,u]),i=f}),u.preventDefault()}else try{i&&i.trigger("dragEnd")}finally{r.off("mousemove.drag"),i=null}}),this.data("drag",!0)},n.expr[":"].range=function(t){var i=t.getAttribute("type");return i&&i=="range"||n(t).filter("input").data("rangeinput")},n.fn.rangeinput=function(t){if(this.data("rangeinput"))return this;t=n.extend(!0,{},f.conf,t);var i;return this.each(function(){var u=new e(n(this),n.extend(!0,{},t)),r=u.getInput().data("rangeinput",u);i=i?i.add(r):r}),i?i:this}}(jQuery),function(n){function i(t,i){var r=n(i);return r.length<2?r:t.parent().find(i)}function r(r,u){var f=this,v=r.add(f),e=r.children(),l=0,c=u.vertical,p,y,a,o,s,h;t||(t=f),e.length>1&&(e=n(u.items,r)),u.size>1&&(u.circular=!1),n.extend(f,{getConf:function(){return u},getIndex:function(){return l},getSize:function(){return f.getItems().size()},getNaviButtons:function(){return o.add(s)},getRoot:function(){return r},getItemWrap:function(){return e},getItems:function(){return e.find(u.item).not("."+u.clonedClass)},move:function(n,t){return f.seekTo(l+n,t)},next:function(n){return f.move(u.size,n)},prev:function(n){return f.move(-u.size,n)},begin:function(n){return f.seekTo(0,n)},end:function(n){return f.seekTo(f.getSize()-1,n)},focus:function(){return t=f,f},addItem:function(t){return t=n(t),u.circular?(e.children().last().before(t),e.children().first().replaceWith(t.clone().addClass(u.clonedClass))):(e.append(t),s.removeClass("disabled")),v.trigger("onAddItem",[t]),f},seekTo:function(i,r,o){var s,h,a;return(i.jquery||(i*=1),u.circular&&i===0&&l==-1&&r!==0)?f:!u.circular&&i<0||i>f.getSize()||i<-1?f:(s=i,i.jquery?i=f.getItems().index(i):s=f.getItems().eq(i),h=n.Event("onBeforeSeek"),!o&&(v.trigger(h,[i,r]),h.isDefaultPrevented()||!s.length))?f:(a=c?{top:-s.position().top}:{left:-s.position().left},l=i,t=f,r===undefined&&(r=u.speed),e.animate(a,r,u.easing,o||function(){v.trigger("onSeek",[i])}),f)}}),n.each(["onBeforeSeek","onSeek","onAddItem"],function(t,i){n.isFunction(u[i])&&n(f).on(i,u[i]),f[i]=function(t){return t&&n(f).on(i,t),f}}),u.circular&&(p=f.getItems().slice(-1).clone().prependTo(e),y=f.getItems().eq(1).clone().appendTo(e),p.add(y).addClass(u.clonedClass),f.onBeforeSeek(function(n,t,i){if(!n.isDefaultPrevented()){if(t==-1)return f.seekTo(p,i,function(){f.end(0)}),n.preventDefault();t==f.getSize()&&f.seekTo(y,i,function(){f.begin(0)})}}),a=r.parents().add(r).filter(function(){if(n(this).css("display")==="none")return!0}),a.length?(a.show(),f.seekTo(0,0,function(){}),a.hide()):f.seekTo(0,0,function(){})),o=i(r,u.prev).click(function(n){n.stopPropagation(),f.prev()}),s=i(r,u.next).click(function(n){n.stopPropagation(),f.next()}),u.circular||(f.onBeforeSeek(function(n,t){setTimeout(function(){n.isDefaultPrevented()||(o.toggleClass(u.disabledClass,t<=0),s.toggleClass(u.disabledClass,t>=f.getSize()-1))},1)}),u.initialIndex||o.addClass(u.disabledClass)),f.getSize()<2&&o.add(s).addClass(u.disabledClass),u.mousewheel&&n.fn.mousewheel&&r.mousewheel(function(n,t){if(u.mousewheel)return f.move(t<0?1:-1,u.wheelSpeed||50),!1}),u.touch&&(h={},e[0].ontouchstart=function(n){var t=n.touches[0];h.x=t.clientX,h.y=t.clientY},e[0].ontouchmove=function(n){if(n.touches.length==1&&!e.is(":animated")){var t=n.touches[0],r=h.x-t.clientX,i=h.y-t.clientY;f[c&&i>0||!c&&r>0?"next":"prev"](),n.preventDefault()}}),u.keyboard&&n(document).on("keydown.scrollable",function(i){if(!(!u.keyboard||i.altKey||i.ctrlKey||i.metaKey||n(i.target).is(":input"))){if(u.keyboard!="static"&&t!=f)return;var r=i.keyCode;if(c&&(r==38||r==40))return f.move(r==38?-1:1),i.preventDefault();if(!c&&(r==37||r==39))return f.move(r==37?-1:1),i.preventDefault()}}),u.initialIndex&&f.seekTo(u.initialIndex,0,function(){})}n.tools=n.tools||{version:"v1.2.7"},n.tools.scrollable={conf:{activeClass:"active",circular:!1,clonedClass:"cloned",disabledClass:"disabled",easing:"swing",initialIndex:0,item:"> *",items:".items",keyboard:!0,mousewheel:!1,next:".next",prev:".prev",size:1,speed:400,vertical:!1,touch:!0,wheelSpeed:0}};var t;n.fn.scrollable=function(t){var i=this.data("scrollable");return i?i:(t=n.extend({},n.tools.scrollable.conf,t),this.each(function(){i=new r(n(this),t),n(this).data("scrollable",i)}),t.api?i:this)}}(jQuery),function(n){var t=n.tools.scrollable;t.autoscroll={conf:{autoplay:!0,interval:3e3,autopause:!0}},n.fn.autoscroll=function(i){typeof i=="number"&&(i={interval:i});var r=n.extend({},t.autoscroll.conf,i),u;return this.each(function(){function f(){i&&clearTimeout(i),i=setTimeout(function(){t.next()},r.interval)}var t=n(this).data("scrollable"),o=t.getRoot(),i,e=!1;t&&(u=t),t.play=function(){i||(e=!1,o.on("onSeek",f),f())},t.pause=function(){i=clearTimeout(i),o.off("onSeek",f)},t.resume=function(){e||t.play()},t.stop=function(){e=!0,t.pause()},r.autopause&&o.add(t.getNaviButtons()).hover(t.pause,t.resume),r.autoplay&&t.play()}),r.api?u:this}}(jQuery),function(n){function i(t,i){var r=n(i);return r.length<2?r:t.parent().find(i)}var t=n.tools.scrollable;t.navigator={conf:{navi:".navi",naviItem:null,activeClass:"active",indexed:!1,idPrefix:null,history:!1}},n.fn.navigator=function(r){typeof r=="string"&&(r={navi:r}),r=n.extend({},t.navigator.conf,r);var u;return this.each(function(){function c(n,i,r){t.seekTo(i),r.preventDefault(),l&&history.pushState({i:i},"")}function f(){return o.find(r.naviItem||"> *")}function h(t){var i=n("<"+(r.naviItem||"a")+"/>").click(function(i){c(n(this),t,i)});return t===0&&i.addClass(e),r.indexed&&i.text(t+1),r.idPrefix&&i.attr("id",r.idPrefix+t),i.appendTo(o)}var t=n(this).data("scrollable"),o=r.navi.jquery?r.navi:i(t.getRoot(),r.navi),a=t.getNaviButtons(),e=r.activeClass,l=r.history&&history.pushState,s=t.getConf().size;t&&(u=t),t.getNaviButtons=function(){return a.add(o)},l&&(history.pushState({i:0},""),n(window).on("popstate",function(n){var i=n.originalEvent.state;i&&t.seekTo(i.i)})),f().length?f().each(function(t){n(this).click(function(i){c(n(this),t,i)})}):n.each(t.getItems(),function(n){n%s==0&&h(n)}),t.onBeforeSeek(function(n,t){setTimeout(function(){if(!n.isDefaultPrevented()){var i=t/s,r=f().eq(i);r.length&&f().removeClass(e).eq(i).addClass(e)}},1)}),t.onAddItem(function(n,i){var r=t.getItems().index(i);r%s==0&&h(r)})}),r.api?u:this}}(jQuery),function(n){function u(t,i,u){var f=this,h=t.add(this),e=t.find(u.tabs),o=i.jquery?i:t.children(i),s;e.length||(e=t.children()),o.length||(o=t.parent().find(i)),o.length||(o=n(i)),n.extend(this,{click:function(i,o){var c=e.eq(i),v=!t.data("tabs"),l,a;if(typeof i=="string"&&i.replace("#","")&&(c=e.filter('[href*="'+i.replace("#","")+'"]'),i=Math.max(e.index(c),0)),u.rotate){if(l=e.length-1,i<0)return f.click(l,o);if(i>l)return f.click(0,o)}if(!c.length){if(s>=0)return f;i=u.initialIndex,c=e.eq(i)}return i===s?f:(o=o||n.Event(),o.type="onBeforeClick",h.trigger(o,[i]),o.isDefaultPrevented()?void 0:(a=v?u.initialEffect&&u.effect||"default":u.effect,r[a].call(f,i,function(){s=i,o.type="onClick",h.trigger(o,[i])}),e.removeClass(u.current),c.addClass(u.current),f))},getConf:function(){return u},getTabs:function(){return e},getPanes:function(){return o},getCurrentPane:function(){return o.eq(s)},getCurrentTab:function(){return e.eq(s)},getIndex:function(){return s},next:function(){return f.click(s+1)},prev:function(){return f.click(s-1)},destroy:function(){return e.off(u.event).removeClass(u.current),o.find('a[href^="#"]').off("click.T"),f}}),n.each("onBeforeClick,onClick".split(","),function(t,i){n.isFunction(u[i])&&n(f).on(i,u[i]),f[i]=function(t){return t&&n(f).on(i,t),f}}),u.history&&n.fn.history&&(n.tools.history.init(e),u.event="history"),e.each(function(t){n(this).on(u.event,function(n){return f.click(t,n),n.preventDefault()})}),o.find('a[href^="#"]').on("click.T",function(t){f.click(n(this).attr("href"),t)}),location.hash&&u.tabs=="a"&&t.find('[href="'+location.hash+'"]').length?f.click(location.hash):(u.initialIndex===0||u.initialIndex>0)&&f.click(u.initialIndex)}n.tools=n.tools||{version:"v1.2.7"},n.tools.tabs={conf:{tabs:"a",current:"current",onBeforeClick:null,onClick:null,effect:"default",initialEffect:!1,initialIndex:0,event:"click",rotate:!1,slideUpSpeed:400,slideDownSpeed:400,history:!1},addEffect:function(n,t){r[n]=t}};var r={"default":function(n,t){this.getPanes().hide().eq(n).show(),t.call()},fade:function(n,t){var r=this.getConf(),u=r.fadeOutSpeed,i=this.getPanes();u?i.fadeOut(u):i.hide(),i.eq(n).fadeIn(r.fadeInSpeed,t)},slide:function(n,t){var i=this.getConf();this.getPanes().slideUp(i.slideUpSpeed),this.getPanes().eq(n).slideDown(i.slideDownSpeed,t)},ajax:function(n,t){this.getPanes().eq(0).load(this.getTabs().eq(n).attr("href"),t)}},t,i;n.tools.tabs.addEffect("horizontal",function(r,u){if(!t){var e=this.getPanes().eq(r),f=this.getCurrentPane();i||(i=this.getPanes().eq(0).width()),t=!0,e.show(),f.animate({width:0},{step:function(n){e.css("width",i-n)},complete:function(){n(this).hide(),u.call(),t=!1}}),f.length||(u.call(),t=!1)}}),n.fn.tabs=function(t,i){var r=this.data("tabs");return r&&(r.destroy(),this.removeData("tabs")),n.isFunction(i)&&(i={onBeforeClick:i}),i=n.extend({},n.tools.tabs.conf,i),this.each(function(){r=new u(n(this),t,i),n(this).data("tabs",r)}),i.api?r:this}}(jQuery),function(n){function i(t,i){function a(i){var r=n(i);return r.length<2?r:t.parent().find(i)}function h(){e=setTimeout(function(){u.next()},i.interval)}var r=this,f=t.add(this),u=t.data("tabs"),e,c=!0,l=a(i.next).click(function(){u.next()}),s=a(i.prev).click(function(){u.prev()}),o;n.extend(r,{getTabs:function(){return u},getConf:function(){return i},play:function(){if(e)return r;var t=n.Event("onBeforePlay");return(f.trigger(t),t.isDefaultPrevented())?r:(c=!1,f.trigger("onPlay"),f.on("onClick",h),h(),r)},pause:function(){if(!e)return r;var t=n.Event("onBeforePause");return(f.trigger(t),t.isDefaultPrevented())?r:(e=clearTimeout(e),f.trigger("onPause"),f.off("onClick",h),r)},resume:function(){c||r.play()},stop:function(){r.pause(),c=!0}}),n.each("onBeforePlay,onPlay,onBeforePause,onPause".split(","),function(t,u){n.isFunction(i[u])&&n(r).on(u,i[u]),r[u]=function(t){return n(r).on(u,t)}}),i.autopause&&u.getTabs().add(l).add(s).add(u.getPanes()).hover(r.pause,r.resume),i.autoplay&&r.play(),i.clickable&&u.getPanes().click(function(){u.next()}),u.getConf().rotate||(o=i.disabledClass,u.getIndex()||s.addClass(o),u.onBeforeClick(function(n,t){s.toggleClass(o,!t),l.toggleClass(o,t==u.getTabs().length-1)}))}var t;t=n.tools.tabs.slideshow={conf:{next:".forward",prev:".backward",disabledClass:"disabled",autoplay:!1,autopause:!0,interval:3e3,clickable:!0,api:!1}},n.fn.slideshow=function(r){var u=this.data("slideshow");return u?u:(r=n.extend({},t.conf,r),this.each(function(){u=new i(n(this),r),n(this).data("slideshow",u)}),r.api?u:this)}}(jQuery),function(n){function o(){if(n.browser.msie){var i=n(document).height(),t=n(window).height();return[document.documentElement.clientWidth||document.body.clientWidth,i-t<20?t:i]}return[n(document).width(),n(document).height()]}function e(t){if(t)return t.call(n.mask)}var s,t,f,i,r,u;n.tools=n.tools||{version:"v1.2.7"},s=n.tools.expose={conf:{maskId:"exposeMask",loadSpeed:"slow",closeSpeed:"fast",closeOnClick:!0,closeOnEsc:!0,zIndex:9998,opacity:.8,startOpacity:0,color:"#fff",onLoad:null,onClose:null}},n.mask={load:function(h,c){if(i)return this;typeof h=="string"&&(h={color:h}),h=h||r,r=h=n.extend(n.extend({},s.conf),h),t=n("#"+h.maskId),t.length||(t=n("<div/>").attr("id",h.maskId),n("body").append(t));var l=o();return(t.css({position:"absolute",top:0,left:0,width:l[0],height:l[1],display:"none",opacity:h.startOpacity,zIndex:h.zIndex}),h.color&&t.css("backgroundColor",h.color),e(h.onBeforeLoad)===!1)?this:(h.closeOnEsc&&n(document).on("keydown.mask",function(t){t.keyCode==27&&n.mask.close(t)}),h.closeOnClick&&t.on("click.mask",function(t){n.mask.close(t)}),n(window).on("resize.mask",function(){n.mask.fit()}),c&&c.length&&(u=c.eq(0).css("zIndex"),n.each(c,function(){var t=n(this);/relative|absolute|fixed/i.test(t.css("position"))||t.css("position","relative")}),f=c.css({zIndex:Math.max(h.zIndex+1,u=="auto"?0:u)})),t.css({display:"block"}).fadeTo(h.loadSpeed,h.opacity,function(){n.mask.fit(),e(h.onLoad),i="full"}),i=!0,this)},close:function(){if(i){if(e(r.onBeforeClose)===!1)return this;t.fadeOut(r.closeSpeed,function(){e(r.onClose),f&&f.css({zIndex:u}),i=!1}),n(document).off("keydown.mask"),t.off("click.mask"),n(window).off("resize.mask")}return this},fit:function(){if(i){var n=o();t.css({width:n[0],height:n[1]})}},getMask:function(){return t},isLoaded:function(n){return n?i=="full":i},getConf:function(){return r},getExposed:function(){return f}},n.fn.mask=function(t){return n.mask.load(t),this},n.fn.expose=function(t){return n.mask.load(t,this),this}}(jQuery),function(){function t(n,t){if(t)for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i]);return n}function h(n,t){var r=[],i;for(i in n)n.hasOwnProperty(i)&&(r[i]=t(n[i]));return r}function e(r,e,o){if(n.isSupported(e.version))r.innerHTML=n.getHTML(e,o);else if(e.expressInstall&&n.isSupported([6,65]))r.innerHTML=n.getHTML(t(e,{src:e.expressInstall}),{MMredirectURL:location.href,MMplayerType:"PlugIn",MMdoctitle:document.title});else if(r.innerHTML.replace(/\s/g,"")||(r.innerHTML="<h2>Flash version "+e.version+" or greater is required</h2><h3>"+(i[0]>0?"Your version is "+i:"You have no flash plugin installed")+"</h3>"+(r.tagName=="A"?"<p>Click here to download latest version</p>":"<p>Download latest version from <a href='"+f+"'>here</a></p>"),r.tagName=="A"&&(r.onclick=function(){location.href=f})),e.onFail){var s=e.onFail.call(this);typeof s=="string"&&(r.innerHTML=s)}u&&(window[e.id]=document.getElementById(e.id)),t(this,{getRoot:function(){return r},getOptions:function(){return e},getConf:function(){return o},getApi:function(){return r.firstChild}})}var u=document.all,f="http://www.adobe.com/go/getflashplayer",s=typeof jQuery=="function",o=/(\d+)[^\d]+(\d+)[^\d]*(\d*)/,r={width:"100%",height:"100%",id:"_"+(""+Math.random()).slice(9),allowfullscreen:!0,allowscriptaccess:"always",quality:"high",version:[3,0],onFail:null,expressInstall:null,w3c:!1,cachebusting:!1},n,i;window.attachEvent&&window.attachEvent("onbeforeunload",function(){__flash_unloadHandler=function(){},__flash_savedUnloadHandler=function(){}}),window.flashembed=function(n,i,u){return typeof n=="string"&&(n=document.getElementById(n.replace("#",""))),n?(typeof i=="string"&&(i={src:i}),new e(n,t(t({},r),i),u)):void 0},n=t(window.flashembed,{conf:r,getVersion:function(){var t,n;try{n=navigator.plugins["Shockwave Flash"].description.slice(16)}catch(u){try{t=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7"),n=t&&t.GetVariable("$version")}catch(r){try{t=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6"),n=t&&t.GetVariable("$version")}catch(i){}}}return n=o.exec(n),n?[n[1],n[3]]:[0,0]},asString:function(t){var r,u,i;if(t===null||t===undefined)return null;r=typeof t,r=="object"&&t.push&&(r="array");switch(r){case"string":return t=t.replace(new RegExp('(["\\\\])',"g"),"\\$1"),t=t.replace(/^\s?(\d+\.?\d*)%/,"$1pct"),'"'+t+'"';case"array":return"["+h(t,function(t){return n.asString(t)}).join(",")+"]";case"function":return'"function()"';case"object":u=[];for(i in t)t.hasOwnProperty(i)&&u.push('"'+i+'":'+n.asString(t[i]));return"{"+u.join(",")+"}"}return String(t).replace(/\s/g," ").replace(/\'/g,'"')},getHTML:function(i,r){var f,h,e,s,o;i=t({},i),f='<object width="'+i.width+'" height="'+i.height+'" id="'+i.id+'" name="'+i.id+'"',i.cachebusting&&(i.src+=(i.src.indexOf("?")!=-1?"&":"?")+Math.random()),f+=i.w3c||!u?' data="'+i.src+'" type="application/x-shockwave-flash"':' classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"',f+=">",(i.w3c||u)&&(f+='<param name="movie" value="'+i.src+'" />'),i.width=i.height=i.id=i.w3c=i.src=null,i.onFail=i.version=i.expressInstall=null;for(h in i)i[h]&&(f+='<param name="'+h+'" value="'+i[h]+'" />');if(e="",r){for(s in r)r[s]&&(o=r[s],e+=s+"="+encodeURIComponent(/function|object/.test(typeof o)?n.asString(o):o)+"&");e=e.slice(0,-1),f+='<param name="flashvars" value=\''+e+"' />"}return f+="</object>"},isSupported:function(n){return i[0]>n[0]||i[0]==n[0]&&i[1]>=n[1]}}),i=n.getVersion(),s&&(jQuery.tools=jQuery.tools||{version:"v1.2.7"},jQuery.tools.flashembed={conf:r},jQuery.fn.flashembed=function(n,t){return this.each(function(){jQuery(this).data("flashembed",flashembed(this,n,t))})})}(),function(n){function u(n){if(n){var i=t.contentWindow.document;i.open().close(),i.location.hash=n}}var r,t,i,f;n.tools=n.tools||{version:"v1.2.7"},n.tools.history={init:function(e){f||(n.browser.msie&&n.browser.version<"8"?t||(t=n("<iframe/>").attr("src","javascript:false;").hide().get(0),n("body").append(t),setInterval(function(){var u=t.contentWindow.document,i=u.location.hash;r!==i&&n(window).trigger("hash",i)},100),u(location.hash||"#")):setInterval(function(){var t=location.hash;t!==r&&n(window).trigger("hash",t)},100),i=i?i.add(e):e,e.click(function(i){var r=n(this).attr("href");return t&&u(r),r.slice(0,1)!="#"?(location.href="#"+r,i.preventDefault()):void 0}),f=!0)}},n(window).on("hash",function(t,u){u?i.filter(function(){var t=n(this).attr("href");return t==u||t==u.replace("#","")}).trigger("history",[u]):i.eq(0).trigger("history",[u]),r=u}),n.fn.history=function(t){n.tools.history.init(this);return this.on("history",t)}}(jQuery),function(n){function t(t){switch(t.type){case"mousemove":return n.extend(t.data,{clientX:t.clientX,clientY:t.clientY,pageX:t.pageX,pageY:t.pageY});case"DOMMouseScroll":n.extend(t,t.data),t.delta=-t.detail/3;break;case"mousewheel":t.delta=t.wheelDelta/120}return t.type="wheel",n.event.handle.call(this,t,t.delta)}n.fn.mousewheel=function(n){return this[n?"on":"trigger"]("wheel",n)},n.event.special.wheel={setup:function(){n.event.add(this,i,t,{})},teardown:function(){n.event.remove(this,i,t)}};var i=n.browser.mozilla?"DOMMouseScroll"+(n.browser.version<"1.9"?" mousemove":""):"mousewheel"}(jQuery),function(n){function i(t,i,r){var f=r.relative?t.position().top:t.offset().top,e=r.relative?t.position().left:t.offset().left,u=r.position[0],s,o;return f-=i.outerHeight()-r.offset[0],e+=t.outerWidth()+r.offset[1],/iPad/i.test(navigator.userAgent)&&(f-=n(window).scrollTop()),s=i.outerHeight()+t.outerHeight(),u=="center"&&(f+=s/2),u=="bottom"&&(f+=s),u=r.position[1],o=i.outerWidth()+t.outerWidth(),u=="center"&&(e-=o/2),u=="left"&&(e-=o),{top:f,left:e}}function r(r,u){var e=this,h=r.add(e),f,l=0,a=0,c=r.attr("title"),p=r.attr("data-tooltip"),y=t[u.effect],s,w=r.is(":input"),b=w&&r.is(":checkbox, :radio, select, :button, :submit"),v=r.attr("type"),o=u.events[v]||u.events[w?b?"widget":"input":"def"];if(!y)throw'Nonexistent effect "'+u.effect+'"';if(o=o.split(/,\s*/),o.length!=2)throw"Tooltip: bad events configuration for "+v;r.on(o[0],function(n){clearTimeout(l),u.predelay?a=setTimeout(function(){e.show(n)},u.predelay):e.show(n)}).on(o[1],function(n){clearTimeout(a),u.delay?l=setTimeout(function(){e.hide(n)},u.delay):e.hide(n)}),c&&u.cancelDefault&&(r.removeAttr("title"),r.data("title",c)),n.extend(e,{show:function(t){var w,v;if(!f&&(p?f=n(p):u.tip?f=n(u.tip).eq(0):c?f=n(u.layout).addClass(u.tipClass).appendTo(document.body).hide().append(c):(f=r.next(),f.length||(f=r.parent().next())),!f.length))throw"Cannot find tooltip for "+r;return e.isShown()?e:(f.stop(!0,!0),w=i(r,f,u),u.tip&&f.html(r.data("title")),t=n.Event(),t.type="onBeforeShow",h.trigger(t,[w]),t.isDefaultPrevented())?e:(w=i(r,f,u),f.css({position:"absolute",top:w.top,left:w.left}),s=!0,y[0].call(e,function(){t.type="onShow",s="full",h.trigger(t)}),v=u.events.tooltip.split(/,\s*/),f.data("__set")||(f.off(v[0]).on(v[0],function(){clearTimeout(l),clearTimeout(a)}),v[1]&&!r.is("input:not(:checkbox, :radio), textarea")&&f.off(v[1]).on(v[1],function(n){n.relatedTarget!=r[0]&&r.trigger(o[1].split(" ")[0])}),u.tip||f.data("__set",!0)),e)},hide:function(i){return!f||!e.isShown()?e:(i=n.Event(),i.type="onBeforeHide",h.trigger(i),i.isDefaultPrevented()?void 0:(s=!1,t[u.effect][1].call(e,function(){i.type="onHide",h.trigger(i)}),e))},isShown:function(n){return n?s=="full":s},getConf:function(){return u},getTip:function(){return f},getTrigger:function(){return r}}),n.each("onHide,onBeforeShow,onShow,onBeforeHide".split(","),function(t,i){n.isFunction(u[i])&&n(e).on(i,u[i]),e[i]=function(t){return t&&n(e).on(i,t),e}})}n.tools=n.tools||{version:"v1.2.7"},n.tools.tooltip={conf:{effect:"toggle",fadeOutSpeed:"fast",predelay:0,delay:30,opacity:1,tip:0,fadeIE:!1,position:["top","center"],offset:[0,0],relative:!1,cancelDefault:!0,events:{def:"mouseenter,mouseleave",input:"focus,blur",widget:"focus mouseenter,blur mouseleave",tooltip:"mouseenter,mouseleave"},layout:"<div/>",tipClass:"tooltip"},addEffect:function(n,i,r){t[n]=[i,r]}};var t={toggle:[function(n){var r=this.getConf(),t=this.getTip(),i=r.opacity;i<1&&t.css({opacity:i}),t.show(),n.call()},function(n){this.getTip().hide(),n.call()}],fade:[function(t){var i=this.getConf();!n.browser.msie||i.fadeIE?this.getTip().fadeTo(i.fadeInSpeed,i.opacity,t):(this.getTip().show(),t())},function(t){var i=this.getConf();!n.browser.msie||i.fadeIE?this.getTip().fadeOut(i.fadeOutSpeed,t):(this.getTip().hide(),t())}]};n.fn.tooltip=function(t){var i=this.data("tooltip");return i?i:(t=n.extend(!0,{},n.tools.tooltip.conf,t),typeof t.position=="string"&&(t.position=t.position.split(/,?\s/)),this.each(function(){i=new r(n(this),t),n(this).data("tooltip",i)}),t.api?i:this)}}(jQuery),function(n){function r(t){var i=n(window),u=i.width()+i.scrollLeft(),r=i.height()+i.scrollTop();return[t.offset().top<=i.scrollTop(),u<=t.offset().left+t.width(),r<=t.offset().top+t.height(),i.scrollLeft()>=t.offset().left]}function i(n){for(var t=n.length;t--;)if(n[t])return!1;return!0}var t=n.tools.tooltip;t.dynamic={conf:{classNames:"top right bottom left"}},n.fn.dynamic=function(u){typeof u=="number"&&(u={speed:u}),u=n.extend({},t.dynamic.conf,u);var o=n.extend(!0,{},u),e=u.classNames.split(/\s/),f;return this.each(function(){var t=n(this).tooltip().onBeforeShow(function(t,u){var c=this.getTip(),s=this.getConf(),l,h;f||(f=[s.position[0],s.position[1],s.offset[0],s.offset[1],n.extend({},s)]),n.extend(s,f[4]),s.position=[f[0],f[1]],s.offset=[f[2],f[3]],c.css({visibility:"hidden",position:"absolute",top:u.top,left:u.left}).show(),l=n.extend(!0,{},o),h=r(c),i(h)||(h[2]&&(n.extend(s,l.top),s.position[0]="top",c.addClass(e[0])),h[3]&&(n.extend(s,l.right),s.position[1]="right",c.addClass(e[1])),h[0]&&(n.extend(s,l.bottom),s.position[0]="bottom",c.addClass(e[2])),h[1]&&(n.extend(s,l.left),s.position[1]="left",c.addClass(e[3])),(h[0]||h[2])&&(s.offset[0]*=-1),(h[1]||h[3])&&(s.offset[1]*=-1)),c.css({visibility:"visible"}).hide()});t.onBeforeShow(function(){var n=this.getConf(),t=this.getTip();setTimeout(function(){n.position=[f[0],f[1]],n.offset=[f[2],f[3]]},0)}),t.onHide(function(){var n=this.getTip();n.removeClass(u.classNames)}),ret=t}),u.api?ret:this}}(jQuery),function(n){var i=n.tools.tooltip,t;n.extend(i.conf,{direction:"up",bounce:!1,slideOffset:10,slideInSpeed:200,slideOutSpeed:200,slideFade:!n.browser.msie}),t={up:["-","top"],down:["+","top"],left:["-","left"],right:["+","left"]},i.addEffect("slide",function(n){var i=this.getConf(),f=this.getTip(),u=i.slideFade?{opacity:i.opacity}:{},r=t[i.direction]||t.up;u[r[1]]=r[0]+"="+i.slideOffset,i.slideFade&&f.css({opacity:0}),f.show().animate(u,i.slideInSpeed,n)},function(i){var r=this.getConf(),o=r.slideOffset,e=r.slideFade?{opacity:0}:{},f=t[r.direction]||t.up,u=""+f[0];r.bounce&&(u=u=="+"?"-":"+"),e[f[1]]=u+"="+o,this.getTip().animate(e,r.slideOutSpeed,function(){n(this).hide(),i.call()})})}(jQuery),function(n){function f(t,i,r){var e,o;i=n(i).first()||i;var u=t.offset().top,f=t.offset().left,s=r.position.split(/,?\s+/),h=s[0],c=s[1];return u-=i.outerHeight()-r.offset[0],f+=t.outerWidth()+r.offset[1],/iPad/i.test(navigator.userAgent)&&(u-=n(window).scrollTop()),e=i.outerHeight()+t.outerHeight(),h=="center"&&(u+=e/2),h=="bottom"&&(u+=e),o=t.outerWidth(),c=="center"&&(f-=(o+i.outerWidth())/2),c=="left"&&(f-=o),{top:u,left:f}}function l(n){function t(){return this.getAttribute("type")==n}return t.key='[type="'+n+'"]',t}function e(e,o,s){function l(i,r,u){var f,e;(s.grouped||!i.length)&&(u===!1||n.isArray(u)?(f=t.messages[r.key||r]||t.messages["*"],f=f[s.lang]||t.messages["*"].en,e=f.match(/\$\d/g),e&&n.isArray(u)&&n.each(e,function(n){f=f.replace(this,u[n])})):f=u[s.lang]||u,i.push(f))}var h=this,c=o.add(h);e=e.not(":button, :image, :reset, :submit"),o.attr("novalidate","novalidate"),n.extend(h,{getConf:function(){return s},getForm:function(){return o},getInputs:function(){return e},reflow:function(){return e.each(function(){var r=n(this),i=r.data("msg.el"),t;i&&(t=f(r,i,s),i.css({top:t.top,left:t.left}))}),h},invalidate:function(t,r){if(!r){var u=[];n.each(t,function(n,t){var i=e.filter("[name='"+n+"']");i.length&&(i.trigger("OI",[t]),u.push({input:i,messages:[t]}))}),t=u,r=n.Event()}return r.type="onFail",c.trigger(r,[t]),r.isDefaultPrevented()||i[s.effect][0].call(h,t,r),h},reset:function(t){return t=t||e,t.removeClass(s.errorClass).each(function(){var t=n(this).data("msg.el");t&&(t.remove(),n(this).data("msg.el",null))}).off(s.errorInputEvent+".v"),h},destroy:function(){return o.off(s.formEvent+".V reset.V"),e.off(s.inputEvent+".V change.V"),h.reset()},checkValidity:function(t,f){var v,o,a;if(t=t||e,t=t.not(":disabled"),v={},t=t.filter(function(){var t=n(this).attr("name");if(!v[t])return v[t]=!0,n(this)}),!t.length)return!0;if(f=f||n.Event(),f.type="onBeforeValidate",c.trigger(f,[t]),f.isDefaultPrevented())return f.result;if(o=[],t.each(function(){var i=[],t=n(this).data("messages",i),e=u&&t.is(":date")?"onHide.v":s.errorInputEvent+".v";return t.off(e),n.each(r,function(){var e=this,u=e[0],n,r;if(t.filter(u).length&&(n=e[1].call(h,t,t.val()),n!==!0)){if(f.type="onBeforeFail",c.trigger(f,[t,u]),f.isDefaultPrevented())return!1;if(r=t.attr(s.messageAttr),r)return i=[r],!1;l(i,u,n)}}),i.length&&(o.push({input:t,messages:i}),t.trigger("OI",[i]),s.errorInputEvent&&t.on(e,function(n){h.checkValidity(t,n)})),s.singleError&&o.length?!1:void 0}),a=i[s.effect],!a)throw'Validator: cannot find effect "'+s.effect+'"';return o.length?(h.invalidate(o,f),!1):(a[1].call(h,t,f),f.type="onSuccess",c.trigger(f,[t]),t.off(s.errorInputEvent+".v"),!0)}}),n.each("onBeforeValidate,onBeforeFail,onFail,onSuccess".split(","),function(t,i){n.isFunction(s[i])&&n(h).on(i,s[i]),h[i]=function(t){return t&&n(h).on(i,t),h}}),s.formEvent&&o.on(s.formEvent+".V",function(n){if(!h.checkValidity(null,n))return n.preventDefault();n.target=o,n.type=s.formEvent}),o.on("reset.V",function(){h.reset()}),e[0]&&e[0].validity&&e.each(function(){this.oninvalid=function(){return!1}}),o[0]&&(o[0].checkValidity=h.checkValidity),s.inputEvent&&e.on(s.inputEvent+".V",function(t){h.checkValidity(n(this),t)}),e.filter(":checkbox, select").filter("[required]").on("change.V",function(t){var r=n(this);(this.checked||r.is("select")&&n(this).val())&&i[s.effect][1].call(h,r,t)}),e.filter(":radio[required]").on("change.V",function(t){var i=n("[name='"+n(t.srcElement).attr("name")+"']");i!=null&&i.length!=0&&h.checkValidity(i,t)}),n(window).resize(function(){h.reflow()})}var r,i;n.tools=n.tools||{version:"v1.2.7"};var o=/\[type=([a-z]+)\]/,h=/^-?[0-9]*(\.[0-9]+)?$/,u=n.tools.dateinput,c=/^([a-z0-9_\.\-\+]+)@([\da-z\.\-]+)\.([a-z\.]{2,6})$/i,s=/^(https?:\/\/)?[\da-z\.\-]+\.[a-z\.]{2,6}[#&+_\?\/\w \.\-=]*$/i,t;t=n.tools.validator={conf:{grouped:!1,effect:"default",errorClass:"invalid",inputEvent:null,errorInputEvent:"keyup",formEvent:"submit",lang:"en",message:"<div/>",messageAttr:"data-message",messageClass:"error",offset:[0,0],position:"center right",singleError:!1,speed:"normal"},messages:{"*":{en:"Please correct this value"}},localize:function(i,r){n.each(r,function(n,r){t.messages[n]=t.messages[n]||{},t.messages[n][i]=r})},localizeFn:function(i,r){t.messages[i]=t.messages[i]||{},n.extend(t.messages[i],r)},fn:function(t,i,u){n.isFunction(i)?u=i:(typeof i=="string"&&(i={en:i}),this.messages[t.key||t]=i);var f=o.exec(t);f&&(t=l(f[1])),r.push([t,u])},addEffect:function(n,t,r){i[n]=[t,r]}},r=[],i={"default":[function(t){var i=this.getConf();n.each(t,function(t,r){var e=r.input,u,o;e.addClass(i.errorClass),u=e.data("msg.el"),u||(u=n(i.message).addClass(i.messageClass).appendTo(document.body),e.data("msg.el",u)),u.css({visibility:"hidden"}).find("p").remove(),n.each(r.messages,function(t,i){n("<p/>").html(i).appendTo(u)}),u.outerWidth()==u.parent().width()&&u.add(u.find("p")).css({display:"inline"}),o=f(e,u,i),u.css({visibility:"visible",position:"absolute",top:o.top,left:o.left}).fadeIn(i.speed)})},function(t){var i=this.getConf();t.removeClass(i.errorClass).each(function(){var t=n(this).data("msg.el");t&&t.css({visibility:"hidden"})})}]},n.each("email,url,number".split(","),function(t,i){n.expr[":"][i]=function(n){return n.getAttribute("type")===i}}),n.fn.oninvalid=function(n){return this[n?"on":"trigger"]("OI",n)},t.fn(":email","Please enter a valid email address",function(n,t){return!t||c.test(t)}),t.fn(":url","Please enter a valid URL",function(n,t){return!t||s.test(t)}),t.fn(":number","Please enter a numeric value.",function(n,t){return h.test(t)}),t.fn("[max]","Please enter a value no larger than $1",function(n,t){if(t===""||u&&n.is(":date"))return!0;var i=n.attr("max");return parseFloat(t)<=parseFloat(i)?!0:[i]}),t.fn("[min]","Please enter a value of at least $1",function(n,t){if(t===""||u&&n.is(":date"))return!0;var i=n.attr("min");return parseFloat(t)>=parseFloat(i)?!0:[i]}),t.fn("[required]","Please complete this mandatory field.",function(n,t){return n.is(":checkbox")?n.is(":checked"):t}),t.fn("[pattern]",function(n,t){return t===""||new RegExp("^"+n.attr("pattern")+"$").test(t)}),t.fn(":radio","Please select an option.",function(t){var i=!1,r=n("[name='"+t.attr("name")+"']").each(function(t,r){n(r).is(":checked")&&(i=!0)});return i?!0:!1}),n.fn.validator=function(i){var r=this.data("validator");return(r&&(r.destroy(),this.removeData("validator")),i=n.extend(!0,{},t.conf,i),this.is("form"))?this.each(function(){var t=n(this);r=new e(t.find(":input"),t,i),t.data("validator",r)}):(r=new e(this,this.eq(0).closest("form"),i),this.data("validator",r))}}(jQuery),function(n){typeof define=="function"&&define.amd?define(["jquery"],n):n(jQuery)}(function(n){function r(n){return n}function f(n){return decodeURIComponent(n.replace(u," "))}function i(n){n.indexOf('"')===0&&(n=n.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return t.json?JSON.parse(n):n}catch(i){}}var u=/\+/g,t=n.cookie=function(u,e,o){var p,c,s,y;if(e!==undefined)return o=n.extend({},t.defaults,o),typeof o.expires=="number"&&(p=o.expires,c=o.expires=new Date,c.setDate(c.getDate()+p)),e=t.json?JSON.stringify(e):String(e),document.cookie=[t.raw?u:encodeURIComponent(u),"=",t.raw?e:encodeURIComponent(e),o.expires?"; expires="+o.expires.toUTCString():"",o.path?"; path="+o.path:"",o.domain?"; domain="+o.domain:"",o.secure?"; secure":""].join("");var w=t.raw?r:f,b=document.cookie.split("; "),h=u?undefined:{};for(s=0,y=b.length;s<y;s++){var v=b[s].split("="),a=w(v.shift()),l=w(v.join("="));if(u&&u===a){h=i(l);break}u||(h[a]=i(l))}return h};t.defaults={},n.removeCookie=function(t,i){return n.cookie(t)!==undefined?(n.cookie(t,"",n.extend({},i,{expires:-1})),!0):!1}})