/**
 * jQuery JavaScript Library v1.4.1
 * http://jquery.com/
 *
 * Copyright 2010, John Resig
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * Includes Sizzle.js
 * http://sizzlejs.com/
 * Copyright 2010, The Dojo Foundation
 * Released under the MIT, BSD, and GPL Licenses.
 *
 * Date: Mon Jan 25 19:43:33 2010 -0500
 *
 * Includes compressed code under the following licenses:
 *
 ** jQuery Color Animations plugin by John Resig, 2007, under MIT and GPL licenses
 ** Date picker plugin by Stefan Petre, under MIT and GPL licenses
 ** Datejs 1.0 Alpha-1 by Coolite Inc., 2006-2007, under MIT license
 ** Cookie plugin by Klaus Hartl, 2006, under GPL and MIT licenses
 ** parts of jQuery UI 1.5.3 by Paul Bakaus, 2008, under MIT and GPL licenses
 ** Dimensions plugin 1.0.b2 by Paul Bakaus and Brandon Aaron, 2007, under MIT and GPL licenses
 ** History plugin by Taku Sano, 2006, under MIT license
 ** MD5 plugin by Muhammad Hussein Fattahizadeh
 ** Sparkline plugin 1.4.3 by Splunk, Inc, 2009, under New BSD license
 ** String plugin by David E. Still, 2008
 ** Timers plugin 1.1.3 by Blair Mitchelmore, 2009, under WTFPL license
 ** Tooltip plugin 1.3 by Jörn Zaefferer, 2006-2008
 ** Raphael 1.3.0 and g.Raphael 0.4 by Dmitry Baranovskiy, 2008-2009, under MIT license
 *
 * Unless otherwise noted this license apply:
 *
 * Permission is hereby granted, free of charge, to any person
 * obtaining a copy of this software and associated documentation
 * files (the "Software"), to deal in the Software without
 * restriction, including without limitation the rights to use,
 * copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the
 * Software is furnished to do so, subject to the following
 * conditions:
 * 
 * The above copyright notice and this permission notice shall be
 * included in all copies or substantial portions of the Software.
 * 
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
 * OTHER DEALINGS IN THE SOFTWARE.
 */
var a;
(function(f,p){function l(){if(!c.isReady){try{K.documentElement.doScroll("left")}catch(b){setTimeout(l,1);return}c.ready()}}function t(b,g){g.src?c.ajax({url:g.src,async:false,dataType:"script"}):c.globalEval(g.text||g.textContent||g.innerHTML||"");g.parentNode&&g.parentNode.removeChild(g)}function y(b,g,m,s,n,F){var P=b.length;if(typeof g==="object"){for(var V in g)y(b,V,g[V],s,n,m);return b}if(m!==p){s=!F&&s&&c.isFunction(m);for(V=0;V<P;V++)n(b[V],g,s?m.call(b[V],V,n(b[V],g)):m,F);return b}return P?n(b[0],
g):null}function x(){return(new Date).getTime()}function h(){return false}function o(){return true}function k(b,g,m){m[0].type=b;return c.event.handle.apply(g,m)}function q(b){var g,m=[],s=[],n=arguments,F,P,V,U,W,ea,ma=c.extend({},c.data(this,"events").live);if(!(b.button&&b.type==="click")){for(U in ma){P=ma[U];if(P.live===b.type||P.altLive&&c.inArray(b.type,P.altLive)>-1){F=P.data;F.beforeFilter&&F.beforeFilter[b.type]&&!F.beforeFilter[b.type](b)||s.push(P.selector)}else delete ma[U]}F=c(b.target).closest(s,
b.currentTarget);W=0;for(ea=F.length;W<ea;W++)for(U in ma){P=ma[U];V=F[W].elem;s=null;if(F[W].selector===P.selector){if(P.live==="mouseenter"||P.live==="mouseleave")s=c(b.relatedTarget).closest(P.selector)[0];if(!s||s!==V)m.push({elem:V,fn:P})}}W=0;for(ea=m.length;W<ea;W++){F=m[W];b.currentTarget=F.elem;b.data=F.fn.data;if(F.fn.apply(F.elem,n)===false){g=false;break}}return g}}function D(b,g){return"live."+(b?b+".":"")+g.replace(/\./g,"`").replace(/ /g,"&")}function G(b){return!b||!b.parentNode||
b.parentNode.nodeType===11}function Q(b,g){var m=0;g.each(function(){if(this.nodeName===(b[m]&&b[m].nodeName)){var s=c.data(b[m++]),n=c.data(this,s);if(s=s&&s.events){delete n.handle;n.events={};for(var F in s)for(var P in s[F])c.event.add(this,F,s[F][P],s[F][P].data)}}})}function S(b,g,m){var s,n,F;if(b.length===1&&typeof b[0]==="string"&&b[0].length<512&&b[0].indexOf("<option")<0&&(c.support.checkClone||!cb.test(b[0]))){n=true;if(F=c.fragments[b[0]])if(F!==1)s=F}if(!s){g=g&&g[0]?g[0].ownerDocument||
g[0]:K;s=g.createDocumentFragment();c.clean(b,g,s,m)}if(n)c.fragments[b[0]]=F?s:1;return{fragment:s,cacheable:n}}function H(b,g){var m={};c.each(J.concat.apply([],J.slice(0,g)),function(){m[this]=b});return m}function A(b){return"scrollTo"in b&&b.document?b:b.nodeType===9?b.defaultView||b.parentWindow:false}var c=function(b,g){return new c.fn.init(b,g)},N=f.jQuery,M=f.$,K=f.document,O,R=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,Y=/^.[^:#\[\.,]*$/,T=/\S/,$=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,da=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,
qa=navigator.userAgent,xa=false,ca=[],fa,wa=Object.prototype.toString,Ca=Object.prototype.hasOwnProperty,Na=Array.prototype.push,Ga=Array.prototype.slice,La=Array.prototype.indexOf;c.fn=c.prototype={init:function(b,g){var m,s;if(!b)return this;if(b.nodeType){this.context=this[0]=b;this.length=1;return this}if(typeof b==="string")if((m=R.exec(b))&&(m[1]||!g))if(m[1]){s=g?g.ownerDocument||g:K;if(b=da.exec(b))if(c.isPlainObject(g)){b=[K.createElement(b[1])];c.fn.attr.call(b,g,true)}else b=[s.createElement(b[1])];
else{b=S([m[1]],[s]);b=(b.cacheable?b.fragment.cloneNode(true):b.fragment).childNodes}}else{if(g=K.getElementById(m[2])){if(g.id!==m[2])return O.find(b);this.length=1;this[0]=g}this.context=K;this.selector=b;return this}else if(!g&&/^\w+$/.test(b)){this.selector=b;this.context=K;b=K.getElementsByTagName(b)}else return!g||g.jquery?(g||O).find(b):c(g).find(b);else if(c.isFunction(b))return O.ready(b);if(b.selector!==p){this.selector=b.selector;this.context=b.context}return c.isArray(b)?this.setArray(b):
c.makeArray(b,this)},selector:"",jquery:"1.4.1",length:0,size:function(){return this.length},toArray:function(){return Ga.call(this,0)},get:function(b){return b==null?this.toArray():b<0?this.slice(b)[0]:this[b]},pushStack:function(b,g,m){b=c(b||null);b.prevObject=this;b.context=this.context;if(g==="find")b.selector=this.selector+(this.selector?" ":"")+m;else if(g)b.selector=this.selector+"."+g+"("+m+")";return b},setArray:function(b){this.length=0;Na.apply(this,b);return this},each:function(b,g){return c.each(this,
b,g)},ready:function(b){c.bindReady();if(c.isReady)b.call(K,c);else ca&&ca.push(b);return this},eq:function(b){return b===-1?this.slice(b):this.slice(b,+b+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(Ga.apply(this,arguments),"slice",Ga.call(arguments).join(","))},map:function(b){return this.pushStack(c.map(this,function(g,m){return b.call(g,m,g)}))},end:function(){return this.prevObject||c(null)},push:Na,sort:[].sort,splice:[].splice};
c.fn.init.prototype=c.fn;c.extend=c.fn.extend=function(){var b=arguments[0]||{},g=1,m=arguments.length,s=false,n,F,P,V;if(typeof b==="boolean"){s=b;b=arguments[1]||{};g=2}if(typeof b!=="object"&&!c.isFunction(b))b={};if(m===g){b=this;--g}for(;g<m;g++)if((n=arguments[g])!=null)for(F in n){P=b[F];V=n[F];if(b!==V)if(s&&V&&(c.isPlainObject(V)||c.isArray(V))){P=P&&(c.isPlainObject(P)||c.isArray(P))?P:c.isArray(V)?[]:{};b[F]=c.extend(s,P,V)}else if(V!==p)b[F]=V}return b};c.extend({noConflict:function(b){f.$=
M;if(b)f.jQuery=N;return c},isReady:false,ready:function(){if(!c.isReady){if(!K.body)return setTimeout(c.ready,13);c.isReady=true;if(ca){for(var b,g=0;b=ca[g++];)b.call(K,c);ca=null}c.fn.triggerHandler&&c(K).triggerHandler("ready")}},bindReady:function(){if(!xa){xa=true;if(K.readyState==="complete")return c.ready();if(K.addEventListener){K.addEventListener("DOMContentLoaded",fa,false);f.addEventListener("load",c.ready,false)}else if(K.attachEvent){K.attachEvent("onreadystatechange",fa);f.attachEvent("onload",
c.ready);var b=false;try{b=f.frameElement==null}catch(g){}K.documentElement.doScroll&&b&&l()}}},isFunction:function(b){return wa.call(b)==="[object Function]"},isArray:function(b){return wa.call(b)==="[object Array]"},isPlainObject:function(b){if(!b||wa.call(b)!=="[object Object]"||b.nodeType||b.setInterval)return false;if(b.constructor&&!Ca.call(b,"constructor")&&!Ca.call(b.constructor.prototype,"isPrototypeOf"))return false;var g;for(g in b);return g===p||Ca.call(b,g)},isEmptyObject:function(b){for(var g in b)return false;
return true},error:function(b){throw b;},parseJSON:function(b){if(typeof b!=="string"||!b)return null;if(/^[\],:{}\s]*$/.test(b.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return f.JSON&&f.JSON.parse?f.JSON.parse(b):(new Function("return "+b))();else c.error("Invalid JSON: "+b)},noop:function(){},globalEval:function(b){if(b&&T.test(b)){var g=K.getElementsByTagName("head")[0]||
K.documentElement,m=K.createElement("script");m.type="text/javascript";if(c.support.scriptEval)m.appendChild(K.createTextNode(b));else m.text=b;g.insertBefore(m,g.firstChild);g.removeChild(m)}},nodeName:function(b,g){return b.nodeName&&b.nodeName.toUpperCase()===g.toUpperCase()},each:function(b,g,m){var s,n=0,F=b.length,P=F===p||c.isFunction(b);if(m)if(P)for(s in b){if(g.apply(b[s],m)===false)break}else for(;n<F;){if(g.apply(b[n++],m)===false)break}else if(P)for(s in b){if(g.call(b[s],s,b[s])===false)break}else for(m=
b[0];n<F&&g.call(m,n,m)!==false;m=b[++n]);return b},trim:function(b){return(b||"").replace($,"")},makeArray:function(b,g){g=g||[];if(b!=null)b.length==null||typeof b==="string"||c.isFunction(b)||typeof b!=="function"&&b.setInterval?Na.call(g,b):c.merge(g,b);return g},inArray:function(b,g){if(g.indexOf)return g.indexOf(b);for(var m=0,s=g.length;m<s;m++)if(g[m]===b)return m;return-1},merge:function(b,g){var m=b.length,s=0;if(typeof g.length==="number")for(var n=g.length;s<n;s++)b[m++]=g[s];else for(;g[s]!==
p;)b[m++]=g[s++];b.length=m;return b},grep:function(b,g,m){for(var s=[],n=0,F=b.length;n<F;n++)!m!==!g(b[n],n)&&s.push(b[n]);return s},map:function(b,g,m){for(var s=[],n,F=0,P=b.length;F<P;F++){n=g(b[F],F,m);if(n!=null)s[s.length]=n}return s.concat.apply([],s)},guid:1,proxy:function(b,g,m){if(arguments.length===2)if(typeof g==="string"){m=b;b=m[g];g=p}else if(g&&!c.isFunction(g)){m=g;g=p}if(!g&&b)g=function(){return b.apply(m||this,arguments)};if(b)g.guid=b.guid=b.guid||g.guid||c.guid++;return g},
uaMatch:function(b){b=b.toLowerCase();b=/(webkit)[ \/]([\w.]+)/.exec(b)||/(opera)(?:.*version)?[ \/]([\w.]+)/.exec(b)||/(msie) ([\w.]+)/.exec(b)||!/compatible/.test(b)&&/(mozilla)(?:.*? rv:([\w.]+))?/.exec(b)||[];return{browser:b[1]||"",version:b[2]||"0"}},browser:{}});qa=c.uaMatch(qa);if(qa.browser){c.browser[qa.browser]=true;c.browser.version=qa.version}if(c.browser.webkit)c.browser.safari=true;if(La)c.inArray=function(b,g){return La.call(g,b)};O=c(K);if(K.addEventListener)fa=function(){K.removeEventListener("DOMContentLoaded",
fa,false);c.ready()};else if(K.attachEvent)fa=function(){if(K.readyState==="complete"){K.detachEvent("onreadystatechange",fa);c.ready()}};(function(){c.support={};var b=K.documentElement,g=K.createElement("script"),m=K.createElement("div"),s="script"+x();m.style.display="none";m.innerHTML="   <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";var n=m.getElementsByTagName("*"),F=m.getElementsByTagName("a")[0];if(!(!n||!n.length||!F)){c.support=
{leadingWhitespace:m.firstChild.nodeType===3,tbody:!m.getElementsByTagName("tbody").length,htmlSerialize:!!m.getElementsByTagName("link").length,style:/red/.test(F.getAttribute("style")),hrefNormalized:F.getAttribute("href")==="/a",opacity:/^0.55$/.test(F.style.opacity),cssFloat:!!F.style.cssFloat,checkOn:m.getElementsByTagName("input")[0].value==="on",optSelected:K.createElement("select").appendChild(K.createElement("option")).selected,checkClone:false,scriptEval:false,noCloneEvent:true,boxModel:null};
g.type="text/javascript";try{g.appendChild(K.createTextNode("window."+s+"=1;"))}catch(P){}b.insertBefore(g,b.firstChild);if(f[s]){c.support.scriptEval=true;delete f[s]}b.removeChild(g);if(m.attachEvent&&m.fireEvent){m.attachEvent("onclick",function V(){c.support.noCloneEvent=false;m.detachEvent("onclick",V)});m.cloneNode(true).fireEvent("onclick")}m=K.createElement("div");m.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";b=K.createDocumentFragment();b.appendChild(m.firstChild);
c.support.checkClone=b.cloneNode(true).cloneNode(true).lastChild.checked;c(function(){var V=K.createElement("div");V.style.width=V.style.paddingLeft="1px";K.body.appendChild(V);c.boxModel=c.support.boxModel=V.offsetWidth===2;K.body.removeChild(V).style.display="none"});b=function(V){var U=K.createElement("div");V="on"+V;var W=V in U;if(!W){U.setAttribute(V,"return;");W=typeof U[V]==="function"}return W};c.support.submitBubbles=b("submit");c.support.changeBubbles=b("change");b=g=m=n=F=null}})();c.props=
{"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};var ka="jQuery"+x(),ra=0,ia={},na={};c.extend({cache:{},expando:ka,noData:{embed:true,object:true,applet:true},data:function(b,g,m){if(!(b.nodeName&&c.noData[b.nodeName.toLowerCase()])){b=b==f?ia:b;var s=b[ka],n=c.cache;if(!g&&!s)return null;s||(s=++ra);if(typeof g==="object"){b[ka]=s;n=n[s]=c.extend(true,
{},g)}else n=n[s]?n[s]:typeof m==="undefined"?na:(n[s]={});if(m!==p){b[ka]=s;n[g]=m}return typeof g==="string"?n[g]:n}},removeData:function(b,g){if(!(b.nodeName&&c.noData[b.nodeName.toLowerCase()])){b=b==f?ia:b;var m=b[ka],s=c.cache,n=s[m];if(g){if(n){delete n[g];c.isEmptyObject(n)&&c.removeData(b)}}else{try{delete b[ka]}catch(F){b.removeAttribute&&b.removeAttribute(ka)}delete s[m]}}}});c.fn.extend({data:function(b,g){if(typeof b==="undefined"&&this.length)return c.data(this[0]);else if(typeof b===
"object")return this.each(function(){c.data(this,b)});var m=b.split(".");m[1]=m[1]?"."+m[1]:"";if(g===p){var s=this.triggerHandler("getData"+m[1]+"!",[m[0]]);if(s===p&&this.length)s=c.data(this[0],b);return s===p&&m[1]?this.data(m[0]):s}else return this.trigger("setData"+m[1]+"!",[m[0],g]).each(function(){c.data(this,b,g)})},removeData:function(b){return this.each(function(){c.removeData(this,b)})}});c.extend({queue:function(b,g,m){if(b){g=(g||"fx")+"queue";var s=c.data(b,g);if(!m)return s||[];if(!s||
c.isArray(m))s=c.data(b,g,c.makeArray(m));else s.push(m);return s}},dequeue:function(b,g){g=g||"fx";var m=c.queue(b,g),s=m.shift();if(s==="inprogress")s=m.shift();if(s){g==="fx"&&m.unshift("inprogress");s.call(b,function(){c.dequeue(b,g)})}}});c.fn.extend({queue:function(b,g){if(typeof b!=="string"){g=b;b="fx"}if(g===p)return c.queue(this[0],b);return this.each(function(){var m=c.queue(this,b,g);b==="fx"&&m[0]!=="inprogress"&&c.dequeue(this,b)})},dequeue:function(b){return this.each(function(){c.dequeue(this,
b)})},delay:function(b,g){b=c.fx?c.fx.speeds[b]||b:b;g=g||"fx";return this.queue(g,function(){var m=this;setTimeout(function(){c.dequeue(m,g)},b)})},clearQueue:function(b){return this.queue(b||"fx",[])}});var ua=/[\n\t]/g,sa=/\s+/,Ma=/\r/g,Aa=/href|src|style/,za=/(button|input)/i,Ja=/(button|input|object|select|textarea)/i,Oa=/^(a|area)$/i,Qa=/radio|checkbox/;c.fn.extend({attr:function(b,g){return y(this,b,g,true,c.attr)},removeAttr:function(b){return this.each(function(){c.attr(this,b,"");this.nodeType===
1&&this.removeAttribute(b)})},addClass:function(b){if(c.isFunction(b))return this.each(function(U){var W=c(this);W.addClass(b.call(this,U,W.attr("class")))});if(b&&typeof b==="string")for(var g=(b||"").split(sa),m=0,s=this.length;m<s;m++){var n=this[m];if(n.nodeType===1)if(n.className)for(var F=" "+n.className+" ",P=0,V=g.length;P<V;P++){if(F.indexOf(" "+g[P]+" ")<0)n.className+=" "+g[P]}else n.className=b}return this},removeClass:function(b){if(c.isFunction(b))return this.each(function(U){var W=
c(this);W.removeClass(b.call(this,U,W.attr("class")))});if(b&&typeof b==="string"||b===p)for(var g=(b||"").split(sa),m=0,s=this.length;m<s;m++){var n=this[m];if(n.nodeType===1&&n.className)if(b){for(var F=(" "+n.className+" ").replace(ua," "),P=0,V=g.length;P<V;P++)F=F.replace(" "+g[P]+" "," ");n.className=F.substring(1,F.length-1)}else n.className=""}return this},toggleClass:function(b,g){var m=typeof b,s=typeof g==="boolean";if(c.isFunction(b))return this.each(function(n){var F=c(this);F.toggleClass(b.call(this,
n,F.attr("class"),g),g)});return this.each(function(){if(m==="string")for(var n,F=0,P=c(this),V=g,U=b.split(sa);n=U[F++];){V=s?V:!P.hasClass(n);P[V?"addClass":"removeClass"](n)}else if(m==="undefined"||m==="boolean"){this.className&&c.data(this,"__className__",this.className);this.className=this.className||b===false?"":c.data(this,"__className__")||""}})},hasClass:function(b){b=" "+b+" ";for(var g=0,m=this.length;g<m;g++)if((" "+this[g].className+" ").replace(ua," ").indexOf(b)>-1)return true;return false},
val:function(b){if(b===p){var g=this[0];if(g){if(c.nodeName(g,"option"))return(g.attributes.value||{}).specified?g.value:g.text;if(c.nodeName(g,"select")){var m=g.selectedIndex,s=[],n=g.options;g=g.type==="select-one";if(m<0)return null;var F=g?m:0;for(m=g?m+1:n.length;F<m;F++){var P=n[F];if(P.selected){b=c(P).val();if(g)return b;s.push(b)}}return s}if(Qa.test(g.type)&&!c.support.checkOn)return g.getAttribute("value")===null?"on":g.value;return(g.value||"").replace(Ma,"")}return p}var V=c.isFunction(b);
return this.each(function(U){var W=c(this),ea=b;if(this.nodeType===1){if(V)ea=b.call(this,U,W.val());if(typeof ea==="number")ea+="";if(c.isArray(ea)&&Qa.test(this.type))this.checked=c.inArray(W.val(),ea)>=0;else if(c.nodeName(this,"select")){var ma=c.makeArray(ea);c("option",this).each(function(){this.selected=c.inArray(c(this).val(),ma)>=0});if(!ma.length)this.selectedIndex=-1}else this.value=ea}})}});c.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},
attr:function(b,g,m,s){if(!b||b.nodeType===3||b.nodeType===8)return p;if(s&&g in c.attrFn)return c(b)[g](m);s=b.nodeType!==1||!c.isXMLDoc(b);var n=m!==p;g=s&&c.props[g]||g;if(b.nodeType===1){var F=Aa.test(g);if(g in b&&s&&!F){if(n){g==="type"&&za.test(b.nodeName)&&b.parentNode&&c.error("type property can't be changed");b[g]=m}if(c.nodeName(b,"form")&&b.getAttributeNode(g))return b.getAttributeNode(g).nodeValue;if(g==="tabIndex")return(g=b.getAttributeNode("tabIndex"))&&g.specified?g.value:Ja.test(b.nodeName)||
Oa.test(b.nodeName)&&b.href?0:p;return b[g]}if(!c.support.style&&s&&g==="style"){if(n)b.style.cssText=""+m;return b.style.cssText}n&&b.setAttribute(g,""+m);b=!c.support.hrefNormalized&&s&&F?b.getAttribute(g,2):b.getAttribute(g);return b===null?p:b}return c.style(b,g,m)}});var nb=function(b){return b.replace(/[^\w\s\.\|`]/g,function(g){return"\\"+g})};c.event={add:function(b,g,m,s){if(!(b.nodeType===3||b.nodeType===8)){if(b.setInterval&&b!==f&&!b.frameElement)b=f;if(!m.guid)m.guid=c.guid++;if(s!==
p){m=c.proxy(m);m.data=s}var n=c.data(b,"events")||c.data(b,"events",{}),F=c.data(b,"handle"),P;if(!F){P=function(){return typeof c!=="undefined"&&!c.event.triggered?c.event.handle.apply(P.elem,arguments):p};F=c.data(b,"handle",P)}if(F){F.elem=b;g=g.split(/\s+/);for(var V,U=0;V=g[U++];){var W=V.split(".");V=W.shift();if(U>1){m=c.proxy(m);if(s!==p)m.data=s}m.type=W.slice(0).sort().join(".");var ea=n[V],ma=this.special[V]||{};if(!ea){ea=n[V]={};if(!ma.setup||ma.setup.call(b,s,W,m)===false)if(b.addEventListener)b.addEventListener(V,
F,false);else b.attachEvent&&b.attachEvent("on"+V,F)}if(ma.add)if((W=ma.add.call(b,m,s,W,ea))&&c.isFunction(W)){W.guid=W.guid||m.guid;W.data=W.data||m.data;W.type=W.type||m.type;m=W}ea[m.guid]=m;this.global[V]=true}b=null}}},global:{},remove:function(b,g,m){if(!(b.nodeType===3||b.nodeType===8)){var s=c.data(b,"events"),n,F,P;if(s){if(g===p||typeof g==="string"&&g.charAt(0)===".")for(F in s)this.remove(b,F+(g||""));else{if(g.type){m=g.handler;g=g.type}g=g.split(/\s+/);for(var V=0;F=g[V++];){var U=
F.split(".");F=U.shift();var W=!U.length,ea=c.map(U.slice(0).sort(),nb);ea=new RegExp("(^|\\.)"+ea.join("\\.(?:.*\\.)?")+"(\\.|$)");var ma=this.special[F]||{};if(s[F]){if(m){P=s[F][m.guid];delete s[F][m.guid]}else for(var ta in s[F])if(W||ea.test(s[F][ta].type))delete s[F][ta];ma.remove&&ma.remove.call(b,U,P);for(n in s[F])break;if(!n){if(!ma.teardown||ma.teardown.call(b,U)===false)if(b.removeEventListener)b.removeEventListener(F,c.data(b,"handle"),false);else b.detachEvent&&b.detachEvent("on"+F,
c.data(b,"handle"));n=null;delete s[F]}}}}for(n in s)break;if(!n){if(ta=c.data(b,"handle"))ta.elem=null;c.removeData(b,"events");c.removeData(b,"handle")}}}},trigger:function(b,g,m,s){var n=b.type||b;if(!s){b=typeof b==="object"?b[ka]?b:c.extend(c.Event(n),b):c.Event(n);if(n.indexOf("!")>=0){b.type=n=n.slice(0,-1);b.exclusive=true}if(!m){b.stopPropagation();this.global[n]&&c.each(c.cache,function(){this.events&&this.events[n]&&c.event.trigger(b,g,this.handle.elem)})}if(!m||m.nodeType===3||m.nodeType===
8)return p;b.result=p;b.target=m;g=c.makeArray(g);g.unshift(b)}b.currentTarget=m;(s=c.data(m,"handle"))&&s.apply(m,g);s=m.parentNode||m.ownerDocument;try{if(!(m&&m.nodeName&&c.noData[m.nodeName.toLowerCase()]))if(m["on"+n]&&m["on"+n].apply(m,g)===false)b.result=false}catch(F){}if(!b.isPropagationStopped()&&s)c.event.trigger(b,g,s,true);else if(!b.isDefaultPrevented()){m=b.target;var P;if(!(c.nodeName(m,"a")&&n==="click")&&!(m&&m.nodeName&&c.noData[m.nodeName.toLowerCase()])){try{if(m[n]){if(P=m["on"+
n])m["on"+n]=null;this.triggered=true;m[n]()}}catch(V){}if(P)m["on"+n]=P;this.triggered=false}}},handle:function(b){var g,m;b=arguments[0]=c.event.fix(b||f.event);b.currentTarget=this;m=b.type.split(".");b.type=m.shift();g=!m.length&&!b.exclusive;var s=new RegExp("(^|\\.)"+m.slice(0).sort().join("\\.(?:.*\\.)?")+"(\\.|$)");m=(c.data(this,"events")||{})[b.type];for(var n in m){var F=m[n];if(g||s.test(F.type)){b.handler=F;b.data=F.data;F=F.apply(this,arguments);if(F!==p){b.result=F;if(F===false){b.preventDefault();
b.stopPropagation()}}if(b.isImmediatePropagationStopped())break}}return b.result},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(b){if(b[ka])return b;var g=b;b=c.Event(g);for(var m=
this.props.length,s;m;){s=this.props[--m];b[s]=g[s]}if(!b.target)b.target=b.srcElement||K;if(b.target.nodeType===3)b.target=b.target.parentNode;if(!b.relatedTarget&&b.fromElement)b.relatedTarget=b.fromElement===b.target?b.toElement:b.fromElement;if(b.pageX==null&&b.clientX!=null){g=K.documentElement;m=K.body;b.pageX=b.clientX+(g&&g.scrollLeft||m&&m.scrollLeft||0)-(g&&g.clientLeft||m&&m.clientLeft||0);b.pageY=b.clientY+(g&&g.scrollTop||m&&m.scrollTop||0)-(g&&g.clientTop||m&&m.clientTop||0)}if(!b.which&&
(b.charCode||b.charCode===0?b.charCode:b.keyCode))b.which=b.charCode||b.keyCode;if(!b.metaKey&&b.ctrlKey)b.metaKey=b.ctrlKey;if(!b.which&&b.button!==p)b.which=b.button&1?1:b.button&2?3:b.button&4?2:0;return b},guid:1E8,proxy:c.proxy,special:{ready:{setup:c.bindReady,teardown:c.noop},live:{add:function(b,g){c.extend(b,g||{});b.guid+=g.selector+g.live;g.liveProxy=b;c.event.add(this,g.live,q,g)},remove:function(b){if(b.length){var g=0,m=new RegExp("(^|\\.)"+b[0]+"(\\.|$)");c.each(c.data(this,"events").live||
{},function(){m.test(this.type)&&g++});g<1&&c.event.remove(this,b[0],q)}},special:{}},beforeunload:{setup:function(b,g,m){if(this.setInterval)this.onbeforeunload=m;return false},teardown:function(b,g){if(this.onbeforeunload===g)this.onbeforeunload=null}}}};c.Event=function(b){if(!this.preventDefault)return new c.Event(b);if(b&&b.type){this.originalEvent=b;this.type=b.type}else this.type=b;this.timeStamp=x();this[ka]=true};c.Event.prototype={preventDefault:function(){this.isDefaultPrevented=o;var b=
this.originalEvent;if(b){b.preventDefault&&b.preventDefault();b.returnValue=false}},stopPropagation:function(){this.isPropagationStopped=o;var b=this.originalEvent;if(b){b.stopPropagation&&b.stopPropagation();b.cancelBubble=true}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=o;this.stopPropagation()},isDefaultPrevented:h,isPropagationStopped:h,isImmediatePropagationStopped:h};var db=function(b){for(var g=b.relatedTarget;g&&g!==this;)try{g=g.parentNode}catch(m){break}if(g!==
this){b.type=b.data;c.event.handle.apply(this,arguments)}},Xa=function(b){b.type=b.data;c.event.handle.apply(this,arguments)};c.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(b,g){c.event.special[b]={setup:function(m){c.event.add(this,g,m&&m.selector?Xa:db,b)},teardown:function(m){c.event.remove(this,g,m&&m.selector?Xa:db)}}});if(!c.support.submitBubbles)c.event.special.submit={setup:function(b,g,m){if(this.nodeName.toLowerCase()!=="form"){c.event.add(this,"click.specialSubmit."+m.guid,
function(s){var n=s.target,F=n.type;if((F==="submit"||F==="image")&&c(n).closest("form").length)return k("submit",this,arguments)});c.event.add(this,"keypress.specialSubmit."+m.guid,function(s){var n=s.target,F=n.type;if((F==="text"||F==="password")&&c(n).closest("form").length&&s.keyCode===13)return k("submit",this,arguments)})}else return false},remove:function(b,g){c.event.remove(this,"click.specialSubmit"+(g?"."+g.guid:""));c.event.remove(this,"keypress.specialSubmit"+(g?"."+g.guid:""))}};if(!c.support.changeBubbles){var Pa=
/textarea|input|select/i;function eb(b){var g=b.type,m=b.value;if(g==="radio"||g==="checkbox")m=b.checked;else if(g==="select-multiple")m=b.selectedIndex>-1?c.map(b.options,function(s){return s.selected}).join("-"):"";else if(b.nodeName.toLowerCase()==="select")m=b.selectedIndex;return m}function Ya(b,g){var m=b.target,s,n;if(!(!Pa.test(m.nodeName)||m.readOnly)){s=c.data(m,"_change_data");n=eb(m);if(b.type!=="focusout"||m.type!=="radio")c.data(m,"_change_data",n);if(!(s===p||n===s))if(s!=null||n){b.type=
"change";return c.event.trigger(b,g,m)}}}c.event.special.change={filters:{focusout:Ya,click:function(b){var g=b.target,m=g.type;if(m==="radio"||m==="checkbox"||g.nodeName.toLowerCase()==="select")return Ya.call(this,b)},keydown:function(b){var g=b.target,m=g.type;if(b.keyCode===13&&g.nodeName.toLowerCase()!=="textarea"||b.keyCode===32&&(m==="checkbox"||m==="radio")||m==="select-multiple")return Ya.call(this,b)},beforeactivate:function(b){b=b.target;b.nodeName.toLowerCase()==="input"&&b.type==="radio"&&
c.data(b,"_change_data",eb(b))}},setup:function(b,g,m){for(var s in Ua)c.event.add(this,s+".specialChange."+m.guid,Ua[s]);return Pa.test(this.nodeName)},remove:function(b,g){for(var m in Ua)c.event.remove(this,m+".specialChange"+(g?"."+g.guid:""),Ua[m]);return Pa.test(this.nodeName)}};var Ua=c.event.special.change.filters}K.addEventListener&&c.each({focus:"focusin",blur:"focusout"},function(b,g){function m(s){s=c.event.fix(s);s.type=g;return c.event.handle.call(this,s)}c.event.special[g]={setup:function(){this.addEventListener(b,
m,true)},teardown:function(){this.removeEventListener(b,m,true)}}});c.each(["bind","one"],function(b,g){c.fn[g]=function(m,s,n){if(typeof m==="object"){for(var F in m)this[g](F,s,m[F],n);return this}if(c.isFunction(s)){n=s;s=p}var P=g==="one"?c.proxy(n,function(V){c(this).unbind(V,P);return n.apply(this,arguments)}):n;return m==="unload"&&g!=="one"?this.one(m,s,n):this.each(function(){c.event.add(this,m,P,s)})}});c.fn.extend({unbind:function(b,g){if(typeof b==="object"&&!b.preventDefault){for(var m in b)this.unbind(m,
b[m]);return this}return this.each(function(){c.event.remove(this,b,g)})},trigger:function(b,g){return this.each(function(){c.event.trigger(b,g,this)})},triggerHandler:function(b,g){if(this[0]){b=c.Event(b);b.preventDefault();b.stopPropagation();c.event.trigger(b,g,this[0]);return b.result}},toggle:function(b){for(var g=arguments,m=1;m<g.length;)c.proxy(b,g[m++]);return this.click(c.proxy(b,function(s){var n=(c.data(this,"lastToggle"+b.guid)||0)%m;c.data(this,"lastToggle"+b.guid,n+1);s.preventDefault();
return g[n].apply(this,arguments)||false}))},hover:function(b,g){return this.mouseenter(b).mouseleave(g||b)}});c.each(["live","die"],function(b,g){c.fn[g]=function(m,s,n){var F,P=0;if(c.isFunction(s)){n=s;s=p}for(m=(m||"").split(/\s+/);(F=m[P++])!=null;){F=F==="focus"?"focusin":F==="blur"?"focusout":F==="hover"?m.push("mouseleave")&&"mouseenter":F;g==="live"?c(this.context).bind(D(F,this.selector),{data:s,selector:this.selector,live:F},n):c(this.context).unbind(D(F,this.selector),n?{guid:n.guid+this.selector+
F}:null)}return this}});c.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error".split(" "),function(b,g){c.fn[g]=function(m){return m?this.bind(g,m):this.trigger(g)};if(c.attrFn)c.attrFn[g]=true});f.attachEvent&&!f.addEventListener&&f.attachEvent("onunload",function(){for(var b in c.cache)if(c.cache[b].handle)try{c.event.remove(c.cache[b].handle.elem)}catch(g){}});
(function(){function b(C){for(var L="",X,Z=0;C[Z];Z++){X=C[Z];if(X.nodeType===3||X.nodeType===4)L+=X.nodeValue;else if(X.nodeType!==8)L+=b(X.childNodes)}return L}function g(C,L,X,Z,ba,aa){ba=0;for(var la=Z.length;ba<la;ba++){var ha=Z[ba];if(ha){ha=ha[C];for(var pa=false;ha;){if(ha.sizcache===X){pa=Z[ha.sizset];break}if(ha.nodeType===1&&!aa){ha.sizcache=X;ha.sizset=ba}if(ha.nodeName.toLowerCase()===L){pa=ha;break}ha=ha[C]}Z[ba]=pa}}}function m(C,L,X,Z,ba,aa){ba=0;for(var la=Z.length;ba<la;ba++){var ha=
Z[ba];if(ha){ha=ha[C];for(var pa=false;ha;){if(ha.sizcache===X){pa=Z[ha.sizset];break}if(ha.nodeType===1){if(!aa){ha.sizcache=X;ha.sizset=ba}if(typeof L!=="string"){if(ha===L){pa=true;break}}else if(U.filter(L,[ha]).length>0){pa=ha;break}}ha=ha[C]}Z[ba]=pa}}}var s=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,n=0,F=Object.prototype.toString,P=false,V=true;[0,0].sort(function(){V=false;return 0});var U=function(C,
L,X,Z){X=X||[];var ba=L=L||K;if(L.nodeType!==1&&L.nodeType!==9)return[];if(!C||typeof C!=="string")return X;for(var aa=[],la,ha,pa,fb,Ra=true,Za=oa(L),Sa=C;(s.exec(""),la=s.exec(Sa))!==null;){Sa=la[3];aa.push(la[1]);if(la[2]){fb=la[3];break}}if(aa.length>1&&ea.exec(C))if(aa.length===2&&W.relative[aa[0]])ha=xb(aa[0]+aa[1],L);else for(ha=W.relative[aa[0]]?[L]:U(aa.shift(),L);aa.length;){C=aa.shift();if(W.relative[C])C+=aa.shift();ha=xb(C,ha)}else{if(!Z&&aa.length>1&&L.nodeType===9&&!Za&&W.match.ID.test(aa[0])&&
!W.match.ID.test(aa[aa.length-1])){la=U.find(aa.shift(),L,Za);L=la.expr?U.filter(la.expr,la.set)[0]:la.set[0]}if(L){la=Z?{expr:aa.pop(),set:ta(Z)}:U.find(aa.pop(),aa.length===1&&(aa[0]==="~"||aa[0]==="+")&&L.parentNode?L.parentNode:L,Za);ha=la.expr?U.filter(la.expr,la.set):la.set;if(aa.length>0)pa=ta(ha);else Ra=false;for(;aa.length;){var Ha=aa.pop();la=Ha;if(W.relative[Ha])la=aa.pop();else Ha="";if(la==null)la=L;W.relative[Ha](pa,la,Za)}}else pa=[]}pa||(pa=ha);pa||U.error(Ha||C);if(F.call(pa)===
"[object Array]")if(Ra)if(L&&L.nodeType===1)for(C=0;pa[C]!=null;C++){if(pa[C]&&(pa[C]===true||pa[C].nodeType===1&&Ia(L,pa[C])))X.push(ha[C])}else for(C=0;pa[C]!=null;C++)pa[C]&&pa[C].nodeType===1&&X.push(ha[C]);else X.push.apply(X,pa);else ta(pa,X);if(fb){U(fb,ba,X,Z);U.uniqueSort(X)}return X};U.uniqueSort=function(C){if(Ea){P=V;C.sort(Ea);if(P)for(var L=1;L<C.length;L++)C[L]===C[L-1]&&C.splice(L--,1)}return C};U.matches=function(C,L){return U(C,null,null,L)};U.find=function(C,L,X){var Z,ba;if(!C)return[];
for(var aa=0,la=W.order.length;aa<la;aa++){var ha=W.order[aa];if(ba=W.leftMatch[ha].exec(C)){var pa=ba[1];ba.splice(1,1);if(pa.substr(pa.length-1)!=="\\"){ba[1]=(ba[1]||"").replace(/\\/g,"");Z=W.find[ha](ba,L,X);if(Z!=null){C=C.replace(W.match[ha],"");break}}}}Z||(Z=L.getElementsByTagName("*"));return{set:Z,expr:C}};U.filter=function(C,L,X,Z){for(var ba=C,aa=[],la=L,ha,pa,fb=L&&L[0]&&oa(L[0]);C&&L.length;){for(var Ra in W.filter)if((ha=W.leftMatch[Ra].exec(C))!=null&&ha[2]){var Za=W.filter[Ra],Sa,
Ha;Ha=ha[1];pa=false;ha.splice(1,1);if(Ha.substr(Ha.length-1)!=="\\"){if(la===aa)aa=[];if(W.preFilter[Ra])if(ha=W.preFilter[Ra](ha,la,X,aa,Z,fb)){if(ha===true)continue}else pa=Sa=true;if(ha)for(var ob=0;(Ha=la[ob])!=null;ob++)if(Ha){Sa=Za(Ha,ha,ob,la);var Ab=Z^!!Sa;if(X&&Sa!=null)if(Ab)pa=true;else la[ob]=false;else if(Ab){aa.push(Ha);pa=true}}if(Sa!==p){X||(la=aa);C=C.replace(W.match[Ra],"");if(!pa)return[];break}}}if(C===ba)if(pa==null)U.error(C);else break;ba=C}return la};U.error=function(C){throw"Syntax error, unrecognized expression: "+
C;};var W=U.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+-]*)\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},
leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(C){return C.getAttribute("href")}},relative:{"+":function(C,L){var X=typeof L==="string",Z=X&&!/\W/.test(L);X=X&&!Z;if(Z)L=L.toLowerCase();Z=0;for(var ba=C.length,aa;Z<ba;Z++)if(aa=C[Z]){for(;(aa=aa.previousSibling)&&aa.nodeType!==1;);C[Z]=X||aa&&aa.nodeName.toLowerCase()===L?aa||false:aa===L}X&&U.filter(L,C,true)},">":function(C,L){var X=typeof L==="string";if(X&&!/\W/.test(L)){L=L.toLowerCase();for(var Z=0,ba=C.length;Z<
ba;Z++){var aa=C[Z];if(aa){X=aa.parentNode;C[Z]=X.nodeName.toLowerCase()===L?X:false}}}else{Z=0;for(ba=C.length;Z<ba;Z++)if(aa=C[Z])C[Z]=X?aa.parentNode:aa.parentNode===L;X&&U.filter(L,C,true)}},"":function(C,L,X){var Z=n++,ba=m;if(typeof L==="string"&&!/\W/.test(L)){var aa=L=L.toLowerCase();ba=g}ba("parentNode",L,Z,C,aa,X)},"~":function(C,L,X){var Z=n++,ba=m;if(typeof L==="string"&&!/\W/.test(L)){var aa=L=L.toLowerCase();ba=g}ba("previousSibling",L,Z,C,aa,X)}},find:{ID:function(C,L,X){if(typeof L.getElementById!==
"undefined"&&!X)return(C=L.getElementById(C[1]))?[C]:[]},NAME:function(C,L){if(typeof L.getElementsByName!=="undefined"){var X=[];L=L.getElementsByName(C[1]);for(var Z=0,ba=L.length;Z<ba;Z++)L[Z].getAttribute("name")===C[1]&&X.push(L[Z]);return X.length===0?null:X}},TAG:function(C,L){return L.getElementsByTagName(C[1])}},preFilter:{CLASS:function(C,L,X,Z,ba,aa){C=" "+C[1].replace(/\\/g,"")+" ";if(aa)return C;aa=0;for(var la;(la=L[aa])!=null;aa++)if(la)if(ba^(la.className&&(" "+la.className+" ").replace(/[\t\n]/g,
" ").indexOf(C)>=0))X||Z.push(la);else if(X)L[aa]=false;return false},ID:function(C){return C[1].replace(/\\/g,"")},TAG:function(C){return C[1].toLowerCase()},CHILD:function(C){if(C[1]==="nth"){var L=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(C[2]==="even"&&"2n"||C[2]==="odd"&&"2n+1"||!/\D/.test(C[2])&&"0n+"+C[2]||C[2]);C[2]=L[1]+(L[2]||1)-0;C[3]=L[3]-0}C[0]=n++;return C},ATTR:function(C,L,X,Z,ba,aa){L=C[1].replace(/\\/g,"");if(!aa&&W.attrMap[L])C[1]=W.attrMap[L];if(C[2]==="~=")C[4]=" "+C[4]+" ";return C},PSEUDO:function(C,
L,X,Z,ba){if(C[1]==="not")if((s.exec(C[3])||"").length>1||/^\w/.test(C[3]))C[3]=U(C[3],null,null,L);else{C=U.filter(C[3],L,X,true^ba);X||Z.push.apply(Z,C);return false}else if(W.match.POS.test(C[0])||W.match.CHILD.test(C[0]))return true;return C},POS:function(C){C.unshift(true);return C}},filters:{enabled:function(C){return C.disabled===false&&C.type!=="hidden"},disabled:function(C){return C.disabled===true},checked:function(C){return C.checked===true},selected:function(C){return C.selected===true},
parent:function(C){return!!C.firstChild},empty:function(C){return!C.firstChild},has:function(C,L,X){return!!U(X[3],C).length},header:function(C){return/h\d/i.test(C.nodeName)},text:function(C){return"text"===C.type},radio:function(C){return"radio"===C.type},checkbox:function(C){return"checkbox"===C.type},file:function(C){return"file"===C.type},password:function(C){return"password"===C.type},submit:function(C){return"submit"===C.type},image:function(C){return"image"===C.type},reset:function(C){return"reset"===
C.type},button:function(C){return"button"===C.type||C.nodeName.toLowerCase()==="button"},input:function(C){return/input|select|textarea|button/i.test(C.nodeName)}},setFilters:{first:function(C,L){return L===0},last:function(C,L,X,Z){return L===Z.length-1},even:function(C,L){return L%2===0},odd:function(C,L){return L%2===1},lt:function(C,L,X){return L<X[3]-0},gt:function(C,L,X){return L>X[3]-0},nth:function(C,L,X){return X[3]-0===L},eq:function(C,L,X){return X[3]-0===L}},filter:{PSEUDO:function(C,
L,X,Z){var ba=L[1],aa=W.filters[ba];if(aa)return aa(C,X,L,Z);else if(ba==="contains")return(C.textContent||C.innerText||b([C])||"").indexOf(L[3])>=0;else if(ba==="not"){L=L[3];X=0;for(Z=L.length;X<Z;X++)if(L[X]===C)return false;return true}else U.error("Syntax error, unrecognized expression: "+ba)},CHILD:function(C,L){var X=L[1],Z=C;switch(X){case "only":case "first":for(;Z=Z.previousSibling;)if(Z.nodeType===1)return false;if(X==="first")return true;Z=C;case "last":for(;Z=Z.nextSibling;)if(Z.nodeType===
1)return false;return true;case "nth":X=L[2];var ba=L[3];if(X===1&&ba===0)return true;L=L[0];var aa=C.parentNode;if(aa&&(aa.sizcache!==L||!C.nodeIndex)){var la=0;for(Z=aa.firstChild;Z;Z=Z.nextSibling)if(Z.nodeType===1)Z.nodeIndex=++la;aa.sizcache=L}C=C.nodeIndex-ba;return X===0?C===0:C%X===0&&C/X>=0}},ID:function(C,L){return C.nodeType===1&&C.getAttribute("id")===L},TAG:function(C,L){return L==="*"&&C.nodeType===1||C.nodeName.toLowerCase()===L},CLASS:function(C,L){return(" "+(C.className||C.getAttribute("class"))+
" ").indexOf(L)>-1},ATTR:function(C,L){var X=L[1];C=W.attrHandle[X]?W.attrHandle[X](C):C[X]!=null?C[X]:C.getAttribute(X);X=C+"";var Z=L[2];L=L[4];return C==null?Z==="!=":Z==="="?X===L:Z==="*="?X.indexOf(L)>=0:Z==="~="?(" "+X+" ").indexOf(L)>=0:!L?X&&C!==false:Z==="!="?X!==L:Z==="^="?X.indexOf(L)===0:Z==="$="?X.substr(X.length-L.length)===L:Z==="|="?X===L||X.substr(0,L.length+1)===L+"-":false},POS:function(C,L,X,Z){var ba=W.setFilters[L[2]];if(ba)return ba(C,X,L,Z)}}},ea=W.match.POS;for(var ma in W.match){W.match[ma]=
new RegExp(W.match[ma].source+/(?![^\[]*\])(?![^\(]*\))/.source);W.leftMatch[ma]=new RegExp(/(^(?:.|\r|\n)*?)/.source+W.match[ma].source.replace(/\\(\d+)/g,function(C,L){return"\\"+(L-0+1)}))}var ta=function(C,L){C=Array.prototype.slice.call(C,0);if(L){L.push.apply(L,C);return L}return C};try{Array.prototype.slice.call(K.documentElement.childNodes,0)}catch(Ba){ta=function(C,L){L=L||[];if(F.call(C)==="[object Array]")Array.prototype.push.apply(L,C);else if(typeof C.length==="number")for(var X=0,Z=
C.length;X<Z;X++)L.push(C[X]);else for(X=0;C[X];X++)L.push(C[X]);return L}}var Ea;if(K.documentElement.compareDocumentPosition)Ea=function(C,L){if(!C.compareDocumentPosition||!L.compareDocumentPosition){if(C==L)P=true;return C.compareDocumentPosition?-1:1}C=C.compareDocumentPosition(L)&4?-1:C===L?0:1;if(C===0)P=true;return C};else if("sourceIndex"in K.documentElement)Ea=function(C,L){if(!C.sourceIndex||!L.sourceIndex){if(C==L)P=true;return C.sourceIndex?-1:1}C=C.sourceIndex-L.sourceIndex;if(C===0)P=
true;return C};else if(K.createRange)Ea=function(C,L){if(!C.ownerDocument||!L.ownerDocument){if(C==L)P=true;return C.ownerDocument?-1:1}var X=C.ownerDocument.createRange(),Z=L.ownerDocument.createRange();X.setStart(C,0);X.setEnd(C,0);Z.setStart(L,0);Z.setEnd(L,0);C=X.compareBoundaryPoints(Range.START_TO_END,Z);if(C===0)P=true;return C};(function(){var C=K.createElement("div"),L="script"+(new Date).getTime();C.innerHTML="<a name='"+L+"'/>";var X=K.documentElement;X.insertBefore(C,X.firstChild);if(K.getElementById(L)){W.find.ID=
function(Z,ba,aa){if(typeof ba.getElementById!=="undefined"&&!aa)return(ba=ba.getElementById(Z[1]))?ba.id===Z[1]||typeof ba.getAttributeNode!=="undefined"&&ba.getAttributeNode("id").nodeValue===Z[1]?[ba]:p:[]};W.filter.ID=function(Z,ba){var aa=typeof Z.getAttributeNode!=="undefined"&&Z.getAttributeNode("id");return Z.nodeType===1&&aa&&aa.nodeValue===ba}}X.removeChild(C);X=C=null})();(function(){var C=K.createElement("div");C.appendChild(K.createComment(""));if(C.getElementsByTagName("*").length>0)W.find.TAG=
function(L,X){X=X.getElementsByTagName(L[1]);if(L[1]==="*"){L=[];for(var Z=0;X[Z];Z++)X[Z].nodeType===1&&L.push(X[Z]);X=L}return X};C.innerHTML="<a href='#'></a>";if(C.firstChild&&typeof C.firstChild.getAttribute!=="undefined"&&C.firstChild.getAttribute("href")!=="#")W.attrHandle.href=function(L){return L.getAttribute("href",2)};C=null})();K.querySelectorAll&&function(){var C=U,L=K.createElement("div");L.innerHTML="<p class='TEST'></p>";if(!(L.querySelectorAll&&L.querySelectorAll(".TEST").length===
0)){U=function(Z,ba,aa,la){ba=ba||K;if(!la&&ba.nodeType===9&&!oa(ba))try{return ta(ba.querySelectorAll(Z),aa)}catch(ha){}return C(Z,ba,aa,la)};for(var X in C)U[X]=C[X];L=null}}();(function(){var C=K.createElement("div");C.innerHTML="<div class='test e'></div><div class='test'></div>";if(!(!C.getElementsByClassName||C.getElementsByClassName("e").length===0)){C.lastChild.className="e";if(C.getElementsByClassName("e").length!==1){W.order.splice(1,0,"CLASS");W.find.CLASS=function(L,X,Z){if(typeof X.getElementsByClassName!==
"undefined"&&!Z)return X.getElementsByClassName(L[1])};C=null}}})();var Ia=K.compareDocumentPosition?function(C,L){return C.compareDocumentPosition(L)&16}:function(C,L){return C!==L&&(C.contains?C.contains(L):true)},oa=function(C){return(C=(C?C.ownerDocument||C:0).documentElement)?C.nodeName!=="HTML":false},xb=function(C,L){var X=[],Z="",ba;for(L=L.nodeType?[L]:L;ba=W.match.PSEUDO.exec(C);){Z+=ba[0];C=C.replace(W.match.PSEUDO,"")}C=W.relative[C]?C+"*":C;ba=0;for(var aa=L.length;ba<aa;ba++)U(C,L[ba],
X);return U.filter(Z,X)};c.find=U;c.expr=U.selectors;c.expr[":"]=c.expr.filters;c.unique=U.uniqueSort;c.getText=b;c.isXMLDoc=oa;c.contains=Ia})();var pb=/Until$/,qb=/^(?:parents|prevUntil|prevAll)/,rb=/,/;Ga=Array.prototype.slice;var sb=function(b,g,m){if(c.isFunction(g))return c.grep(b,function(n,F){return!!g.call(n,F,n)===m});else if(g.nodeType)return c.grep(b,function(n){return n===g===m});else if(typeof g==="string"){var s=c.grep(b,function(n){return n.nodeType===1});if(Y.test(g))return c.filter(g,
s,!m);else g=c.filter(g,s)}return c.grep(b,function(n){return c.inArray(n,g)>=0===m})};c.fn.extend({find:function(b){for(var g=this.pushStack("","find",b),m=0,s=0,n=this.length;s<n;s++){m=g.length;c.find(b,this[s],g);if(s>0)for(var F=m;F<g.length;F++)for(var P=0;P<m;P++)if(g[P]===g[F]){g.splice(F--,1);break}}return g},has:function(b){var g=c(b);return this.filter(function(){for(var m=0,s=g.length;m<s;m++)if(c.contains(this,g[m]))return true})},not:function(b){return this.pushStack(sb(this,b,false),
"not",b)},filter:function(b){return this.pushStack(sb(this,b,true),"filter",b)},is:function(b){return!!b&&c.filter(b,this).length>0},closest:function(b,g){if(c.isArray(b)){var m=[],s=this[0],n,F={},P;if(s&&b.length){n=0;for(var V=b.length;n<V;n++){P=b[n];F[P]||(F[P]=c.expr.match.POS.test(P)?c(P,g||this.context):P)}for(;s&&s.ownerDocument&&s!==g;){for(P in F){n=F[P];if(n.jquery?n.index(s)>-1:c(s).is(n)){m.push({selector:P,elem:s});delete F[P]}}s=s.parentNode}}return m}var U=c.expr.match.POS.test(b)?
c(b,g||this.context):null;return this.map(function(W,ea){for(;ea&&ea.ownerDocument&&ea!==g;){if(U?U.index(ea)>-1:c(ea).is(b))return ea;ea=ea.parentNode}return null})},index:function(b){if(!b||typeof b==="string")return c.inArray(this[0],b?c(b):this.parent().children());return c.inArray(b.jquery?b[0]:b,this)},add:function(b,g){b=typeof b==="string"?c(b,g||this.context):c.makeArray(b);g=c.merge(this.get(),b);return this.pushStack(G(b[0])||G(g[0])?g:c.unique(g))},andSelf:function(){return this.add(this.prevObject)}});
c.each({parent:function(b){return(b=b.parentNode)&&b.nodeType!==11?b:null},parents:function(b){return c.dir(b,"parentNode")},parentsUntil:function(b,g,m){return c.dir(b,"parentNode",m)},next:function(b){return c.nth(b,2,"nextSibling")},prev:function(b){return c.nth(b,2,"previousSibling")},nextAll:function(b){return c.dir(b,"nextSibling")},prevAll:function(b){return c.dir(b,"previousSibling")},nextUntil:function(b,g,m){return c.dir(b,"nextSibling",m)},prevUntil:function(b,g,m){return c.dir(b,"previousSibling",
m)},siblings:function(b){return c.sibling(b.parentNode.firstChild,b)},children:function(b){return c.sibling(b.firstChild)},contents:function(b){return c.nodeName(b,"iframe")?b.contentDocument||b.contentWindow.document:c.makeArray(b.childNodes)}},function(b,g){c.fn[b]=function(m,s){var n=c.map(this,g,m);pb.test(b)||(s=m);if(s&&typeof s==="string")n=c.filter(s,n);n=this.length>1?c.unique(n):n;if((this.length>1||rb.test(s))&&qb.test(b))n=n.reverse();return this.pushStack(n,b,Ga.call(arguments).join(","))}});
c.extend({filter:function(b,g,m){if(m)b=":not("+b+")";return c.find.matches(b,g)},dir:function(b,g,m){var s=[];for(b=b[g];b&&b.nodeType!==9&&(m===p||b.nodeType!==1||!c(b).is(m));){b.nodeType===1&&s.push(b);b=b[g]}return s},nth:function(b,g,m){g=g||1;for(var s=0;b;b=b[m])if(b.nodeType===1&&++s===g)break;return b},sibling:function(b,g){for(var m=[];b;b=b.nextSibling)b.nodeType===1&&b!==g&&m.push(b);return m}});var ja=/ jQuery\d+="(?:\d+|null)"/g,Va=/^\s+/,Ta=/(<([\w:]+)[^>]*?)\/>/g,gb=/^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i,
Fa=/<([\w:]+)/,yb=/<tbody/i,ga=/<|&\w+;/,cb=/checked\s*(?:[^=]|=\s*.checked.)/i,hb=function(b,g,m){return gb.test(m)?b:g+"></"+m+">"},Da={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,"",""]};Da.optgroup=Da.option;Da.tbody=Da.tfoot=
Da.colgroup=Da.caption=Da.thead;Da.th=Da.td;if(!c.support.htmlSerialize)Da._default=[1,"div<div>","</div>"];c.fn.extend({text:function(b){if(c.isFunction(b))return this.each(function(g){var m=c(this);m.text(b.call(this,g,m.text()))});if(typeof b!=="object"&&b!==p)return this.empty().append((this[0]&&this[0].ownerDocument||K).createTextNode(b));return c.getText(this)},wrapAll:function(b){if(c.isFunction(b))return this.each(function(m){c(this).wrapAll(b.call(this,m))});if(this[0]){var g=c(b,this[0].ownerDocument).eq(0).clone(true);
this[0].parentNode&&g.insertBefore(this[0]);g.map(function(){for(var m=this;m.firstChild&&m.firstChild.nodeType===1;)m=m.firstChild;return m}).append(this)}return this},wrapInner:function(b){if(c.isFunction(b))return this.each(function(g){c(this).wrapInner(b.call(this,g))});return this.each(function(){var g=c(this),m=g.contents();m.length?m.wrapAll(b):g.append(b)})},wrap:function(b){return this.each(function(){c(this).wrapAll(b)})},unwrap:function(){return this.parent().each(function(){c.nodeName(this,
"body")||c(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,true,function(b){this.nodeType===1&&this.appendChild(b)})},prepend:function(){return this.domManip(arguments,true,function(b){this.nodeType===1&&this.insertBefore(b,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(g){this.parentNode.insertBefore(g,this)});else if(arguments.length){var b=c(arguments[0]);b.push.apply(b,this.toArray());
return this.pushStack(b,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(g){this.parentNode.insertBefore(g,this.nextSibling)});else if(arguments.length){var b=this.pushStack(this,"after",arguments);b.push.apply(b,c(arguments[0]).toArray());return b}},clone:function(b){var g=this.map(function(){if(!c.support.noCloneEvent&&!c.isXMLDoc(this)){var m=this.outerHTML,s=this.ownerDocument;if(!m){m=s.createElement("div");m.appendChild(this.cloneNode(true));
m=m.innerHTML}return c.clean([m.replace(ja,"").replace(Va,"")],s)[0]}else return this.cloneNode(true)});if(b===true){Q(this,g);Q(this.find("*"),g.find("*"))}return g},html:function(b){if(b===p)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(ja,""):null;else if(typeof b==="string"&&!/<script/i.test(b)&&(c.support.leadingWhitespace||!Va.test(b))&&!Da[(Fa.exec(b)||["",""])[1].toLowerCase()]){b=b.replace(Ta,hb);try{for(var g=0,m=this.length;g<m;g++)if(this[g].nodeType===1){c.cleanData(this[g].getElementsByTagName("*"));
this[g].innerHTML=b}}catch(s){this.empty().append(b)}}else c.isFunction(b)?this.each(function(n){var F=c(this),P=F.html();F.empty().append(function(){return b.call(this,n,P)})}):this.empty().append(b);return this},replaceWith:function(b){if(this[0]&&this[0].parentNode){if(c.isFunction(b))return this.each(function(g){var m=c(this),s=m.html();m.replaceWith(b.call(this,g,s))});else b=c(b).detach();return this.each(function(){var g=this.nextSibling,m=this.parentNode;c(this).remove();g?c(g).before(b):
c(m).append(b)})}else return this.pushStack(c(c.isFunction(b)?b():b),"replaceWith",b)},detach:function(b){return this.remove(b,true)},domManip:function(b,g,m){function s(ea){return c.nodeName(ea,"table")?ea.getElementsByTagName("tbody")[0]||ea.appendChild(ea.ownerDocument.createElement("tbody")):ea}var n,F,P=b[0],V=[];if(!c.support.checkClone&&arguments.length===3&&typeof P==="string"&&cb.test(P))return this.each(function(){c(this).domManip(b,g,m,true)});if(c.isFunction(P))return this.each(function(ea){var ma=
c(this);b[0]=P.call(this,ea,g?ma.html():p);ma.domManip(b,g,m)});if(this[0]){n=b[0]&&b[0].parentNode&&b[0].parentNode.nodeType===11?{fragment:b[0].parentNode}:S(b,this,V);if(F=n.fragment.firstChild){g=g&&c.nodeName(F,"tr");for(var U=0,W=this.length;U<W;U++)m.call(g?s(this[U],F):this[U],n.cacheable||this.length>1||U>0?n.fragment.cloneNode(true):n.fragment)}V&&c.each(V,t)}return this}});c.fragments={};c.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},
function(b,g){c.fn[b]=function(m){var s=[];m=c(m);for(var n=0,F=m.length;n<F;n++){var P=(n>0?this.clone(true):this).get();c.fn[g].apply(c(m[n]),P);s=s.concat(P)}return this.pushStack(s,b,m.selector)}});c.each({remove:function(b,g){if(!b||c.filter(b,[this]).length){if(!g&&this.nodeType===1){c.cleanData(this.getElementsByTagName("*"));c.cleanData([this])}this.parentNode&&this.parentNode.removeChild(this)}},empty:function(){for(this.nodeType===1&&c.cleanData(this.getElementsByTagName("*"));this.firstChild;)this.removeChild(this.firstChild)}},
function(b,g){c.fn[b]=function(){return this.each(g,arguments)}});c.extend({clean:function(b,g,m,s){g=g||K;if(typeof g.createElement==="undefined")g=g.ownerDocument||g[0]&&g[0].ownerDocument||K;var n=[];c.each(b,function(F,P){if(typeof P==="number")P+="";if(P){if(typeof P==="string"&&!ga.test(P))P=g.createTextNode(P);else if(typeof P==="string"){P=P.replace(Ta,hb);var V=(Fa.exec(P)||["",""])[1].toLowerCase(),U=Da[V]||Da._default,W=U[0];F=g.createElement("div");for(F.innerHTML=U[1]+P+U[2];W--;)F=F.lastChild;
if(!c.support.tbody){W=yb.test(P);V=V==="table"&&!W?F.firstChild&&F.firstChild.childNodes:U[1]==="<table>"&&!W?F.childNodes:[];for(U=V.length-1;U>=0;--U)c.nodeName(V[U],"tbody")&&!V[U].childNodes.length&&V[U].parentNode.removeChild(V[U])}!c.support.leadingWhitespace&&Va.test(P)&&F.insertBefore(g.createTextNode(Va.exec(P)[0]),F.firstChild);P=c.makeArray(F.childNodes)}if(P.nodeType)n.push(P);else n=c.merge(n,P)}});if(m)for(b=0;n[b];b++)if(s&&c.nodeName(n[b],"script")&&(!n[b].type||n[b].type.toLowerCase()===
"text/javascript"))s.push(n[b].parentNode?n[b].parentNode.removeChild(n[b]):n[b]);else{n[b].nodeType===1&&n.splice.apply(n,[b+1,0].concat(c.makeArray(n[b].getElementsByTagName("script"))));m.appendChild(n[b])}return n},cleanData:function(b){for(var g=0,m;(m=b[g])!=null;g++){c.event.remove(m);c.removeData(m)}}});var tb=/z-?index|font-?weight|opacity|zoom|line-?height/i,ib=/alpha\([^)]*\)/,jb=/opacity=([^)]*)/,Wa=/float/i,kb=/-([a-z])/ig,va=/([A-Z])/g,Bb=/^-?\d+(?:px)?$/i,ub=/^-?\d/,zb={position:"absolute",
visibility:"hidden",display:"block"},vb=["Left","Right"],$a=["Top","Bottom"],wb=K.defaultView&&K.defaultView.getComputedStyle,ya=c.support.cssFloat?"cssFloat":"styleFloat",ab=function(b,g){return g.toUpperCase()};c.fn.css=function(b,g){return y(this,b,g,true,function(m,s,n){if(n===p)return c.curCSS(m,s);if(typeof n==="number"&&!tb.test(s))n+="px";c.style(m,s,n)})};c.extend({style:function(b,g,m){if(!b||b.nodeType===3||b.nodeType===8)return p;if((g==="width"||g==="height")&&parseFloat(m)<0)m=p;var s=
b.style||b,n=m!==p;if(!c.support.opacity&&g==="opacity"){if(n){s.zoom=1;g=parseInt(m,10)+""==="NaN"?"":"alpha(opacity="+m*100+")";b=s.filter||c.curCSS(b,"filter")||"";s.filter=ib.test(b)?b.replace(ib,g):g}return s.filter&&s.filter.indexOf("opacity=")>=0?parseFloat(jb.exec(s.filter)[1])/100+"":""}if(Wa.test(g))g=ya;g=g.replace(kb,ab);if(n)s[g]=m;return s[g]},css:function(b,g,m,s){if(g==="width"||g==="height"){var n,F=g==="width"?vb:$a;function P(){n=g==="width"?b.offsetWidth:b.offsetHeight;s!=="border"&&
c.each(F,function(){s||(n-=parseFloat(c.curCSS(b,"padding"+this,true))||0);if(s==="margin")n+=parseFloat(c.curCSS(b,"margin"+this,true))||0;else n-=parseFloat(c.curCSS(b,"border"+this+"Width",true))||0})}b.offsetWidth!==0?P():c.swap(b,zb,P);return Math.max(0,Math.round(n))}return c.curCSS(b,g,m)},curCSS:function(b,g,m){var s,n=b.style;if(!c.support.opacity&&g==="opacity"&&b.currentStyle){s=jb.test(b.currentStyle.filter||"")?parseFloat(RegExp.$1)/100+"":"";return s===""?"1":s}if(Wa.test(g))g=ya;if(!m&&
n&&n[g])s=n[g];else if(wb){if(Wa.test(g))g="float";g=g.replace(va,"-$1").toLowerCase();n=b.ownerDocument.defaultView;if(!n)return null;if(b=n.getComputedStyle(b,null))s=b.getPropertyValue(g);if(g==="opacity"&&s==="")s="1"}else if(b.currentStyle){m=g.replace(kb,ab);s=b.currentStyle[g]||b.currentStyle[m];if(!Bb.test(s)&&ub.test(s)){g=n.left;var F=b.runtimeStyle.left;b.runtimeStyle.left=b.currentStyle.left;n.left=m==="fontSize"?"1em":s||0;s=n.pixelLeft+"px";n.left=g;b.runtimeStyle.left=F}}return s},
swap:function(b,g,m){var s={};for(var n in g){s[n]=b.style[n];b.style[n]=g[n]}m.call(b);for(n in g)b.style[n]=s[n]}});if(c.expr&&c.expr.filters){c.expr.filters.hidden=function(b){var g=b.offsetWidth,m=b.offsetHeight,s=b.nodeName.toLowerCase()==="tr";return g===0&&m===0&&!s?true:g>0&&m>0&&!s?false:c.curCSS(b,"display")==="none"};c.expr.filters.visible=function(b){return!c.expr.filters.hidden(b)}}var lb=x(),bb=/<script(.|\s)*?\/script>/gi,Ka=/select|textarea/i,mb=/color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week/i,
e=/=\?(&|$)/,j=/\?/,u=/(\?|&)_=.*?(&|$)/,w=/^(\w+:)?\/\/([^\/?#]+)/,z=/%20/g;c.fn.extend({_load:c.fn.load,load:function(b,g,m){if(typeof b!=="string")return this._load(b);else if(!this.length)return this;var s=b.indexOf(" ");if(s>=0){var n=b.slice(s,b.length);b=b.slice(0,s)}s="GET";if(g)if(c.isFunction(g)){m=g;g=null}else if(typeof g==="object"){g=c.param(g,c.ajaxSettings.traditional);s="POST"}var F=this;c.ajax({url:b,type:s,dataType:"html",data:g,complete:function(P,V){if(V==="success"||V==="notmodified")F.html(n?
c("<div />").append(P.responseText.replace(bb,"")).find(n):P.responseText);m&&F.each(m,[P.responseText,V,P])}});return this},serialize:function(){return c.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?c.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||Ka.test(this.nodeName)||mb.test(this.type))}).map(function(b,g){b=c(this).val();return b==null?null:c.isArray(b)?c.map(b,function(m){return{name:g.name,
value:m}}):{name:g.name,value:b}}).get()}});c.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(b,g){c.fn[g]=function(m){return this.bind(g,m)}});c.extend({get:function(b,g,m,s){if(c.isFunction(g)){s=s||m;m=g;g=null}return c.ajax({type:"GET",url:b,data:g,success:m,dataType:s})},getScript:function(b,g){return c.get(b,null,g,"script")},getJSON:function(b,g,m){return c.get(b,g,m,"json")},post:function(b,g,m,s){if(c.isFunction(g)){s=s||m;m=g;g={}}return c.ajax({type:"POST",
url:b,data:g,success:m,dataType:s})},ajaxSetup:function(b){c.extend(c.ajaxSettings,b)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:f.XMLHttpRequest&&(f.location.protocol!=="file:"||!f.ActiveXObject)?function(){return new f.XMLHttpRequest}:function(){try{return new f.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",
json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},etag:{},ajax:function(b){function g(){n.success&&n.success.call(U,V,P,oa);n.global&&s("ajaxSuccess",[oa,n])}function m(){n.complete&&n.complete.call(U,oa,P);n.global&&s("ajaxComplete",[oa,n]);n.global&&!--c.active&&c.event.trigger("ajaxStop")}function s(ba,aa){(n.context?c(n.context):c.event).trigger(ba,aa)}var n=c.extend(true,{},c.ajaxSettings,b),F,P,V,U=b&&b.context||n,W=n.type.toUpperCase();if(n.data&&n.processData&&
typeof n.data!=="string")n.data=c.param(n.data,n.traditional);if(n.dataType==="jsonp"){if(W==="GET")e.test(n.url)||(n.url+=(j.test(n.url)?"&":"?")+(n.jsonp||"callback")+"=?");else if(!n.data||!e.test(n.data))n.data=(n.data?n.data+"&":"")+(n.jsonp||"callback")+"=?";n.dataType="json"}if(n.dataType==="json"&&(n.data&&e.test(n.data)||e.test(n.url))){F=n.jsonpCallback||"jsonp"+lb++;if(n.data)n.data=(n.data+"").replace(e,"="+F+"$1");n.url=n.url.replace(e,"="+F+"$1");n.dataType="script";f[F]=f[F]||function(ba){V=
ba;g();m();f[F]=p;try{delete f[F]}catch(aa){}ta&&ta.removeChild(Ba)}}if(n.dataType==="script"&&n.cache===null)n.cache=false;if(n.cache===false&&W==="GET"){var ea=x(),ma=n.url.replace(u,"$1_="+ea+"$2");n.url=ma+(ma===n.url?(j.test(n.url)?"&":"?")+"_="+ea:"")}if(n.data&&W==="GET")n.url+=(j.test(n.url)?"&":"?")+n.data;n.global&&!c.active++&&c.event.trigger("ajaxStart");ea=(ea=w.exec(n.url))&&(ea[1]&&ea[1]!==location.protocol||ea[2]!==location.host);if(n.dataType==="script"&&W==="GET"&&ea){var ta=K.getElementsByTagName("head")[0]||
K.documentElement,Ba=K.createElement("script");Ba.src=n.url;if(n.scriptCharset)Ba.charset=n.scriptCharset;if(!F){var Ea=false;Ba.onload=Ba.onreadystatechange=function(){if(!Ea&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){Ea=true;g();m();Ba.onload=Ba.onreadystatechange=null;ta&&Ba.parentNode&&ta.removeChild(Ba)}}}ta.insertBefore(Ba,ta.firstChild);return p}var Ia=false,oa=n.xhr();if(oa){n.username?oa.open(W,n.url,n.async,n.username,n.password):oa.open(W,n.url,n.async);
try{if(n.data||b&&b.contentType)oa.setRequestHeader("Content-Type",n.contentType);if(n.ifModified){c.lastModified[n.url]&&oa.setRequestHeader("If-Modified-Since",c.lastModified[n.url]);c.etag[n.url]&&oa.setRequestHeader("If-None-Match",c.etag[n.url])}ea||oa.setRequestHeader("X-Requested-With","XMLHttpRequest");oa.setRequestHeader("Accept",n.dataType&&n.accepts[n.dataType]?n.accepts[n.dataType]+", */*":n.accepts._default)}catch(xb){}if(n.beforeSend&&n.beforeSend.call(U,oa,n)===false){n.global&&!--c.active&&
c.event.trigger("ajaxStop");oa.abort();return false}n.global&&s("ajaxSend",[oa,n]);var C=oa.onreadystatechange=function(ba){if(!oa||oa.readyState===0||ba==="abort"){Ia||m();Ia=true;if(oa)oa.onreadystatechange=c.noop}else if(!Ia&&oa&&(oa.readyState===4||ba==="timeout")){Ia=true;oa.onreadystatechange=c.noop;P=ba==="timeout"?"timeout":!c.httpSuccess(oa)?"error":n.ifModified&&c.httpNotModified(oa,n.url)?"notmodified":"success";var aa;if(P==="success")try{V=c.httpData(oa,n.dataType,n)}catch(la){P="parsererror";
aa=la}if(P==="success"||P==="notmodified")F||g();else c.handleError(n,oa,P,aa);m();ba==="timeout"&&oa.abort();if(n.async)oa=null}};try{var L=oa.abort;oa.abort=function(){oa&&L.call(oa);C("abort")}}catch(X){}n.async&&n.timeout>0&&setTimeout(function(){oa&&!Ia&&C("timeout")},n.timeout);try{oa.send(W==="POST"||W==="PUT"||W==="DELETE"?n.data:null)}catch(Z){c.handleError(n,oa,null,Z);m()}n.async||C();return oa}},handleError:function(b,g,m,s){if(b.error)b.error.call(b.context||b,g,m,s);if(b.global)(b.context?
c(b.context):c.event).trigger("ajaxError",[g,b,s])},active:0,httpSuccess:function(b){try{return!b.status&&location.protocol==="file:"||b.status>=200&&b.status<300||b.status===304||b.status===1223||b.status===0}catch(g){}return false},httpNotModified:function(b,g){var m=b.getResponseHeader("Last-Modified"),s=b.getResponseHeader("Etag");if(m)c.lastModified[g]=m;if(s)c.etag[g]=s;return b.status===304||b.status===0},httpData:function(b,g,m){var s=b.getResponseHeader("content-type")||"",n=g==="xml"||!g&&
s.indexOf("xml")>=0;b=n?b.responseXML:b.responseText;n&&b.documentElement.nodeName==="parsererror"&&c.error("parsererror");if(m&&m.dataFilter)b=m.dataFilter(b,g);if(typeof b==="string")if(g==="json"||!g&&s.indexOf("json")>=0)b=c.parseJSON(b);else if(g==="script"||!g&&s.indexOf("javascript")>=0)c.globalEval(b);return b},param:function(b,g){function m(P,V){if(c.isArray(V))c.each(V,function(U,W){g?s(P,W):m(P+"["+(typeof W==="object"||c.isArray(W)?U:"")+"]",W)});else!g&&V!=null&&typeof V==="object"?c.each(V,
function(U,W){m(P+"["+U+"]",W)}):s(P,V)}function s(P,V){V=c.isFunction(V)?V():V;n[n.length]=encodeURIComponent(P)+"="+encodeURIComponent(V)}var n=[];if(g===p)g=c.ajaxSettings.traditional;if(c.isArray(b)||b.jquery)c.each(b,function(){s(this.name,this.value)});else for(var F in b)m(F,b[F]);return n.join("&").replace(z,"+")}});var v={},I=/toggle|show|hide/,B=/^([+-]=)?([\d+-.]+)(.*)$/,E,J=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft",
"paddingRight"],["opacity"]];c.fn.extend({show:function(b,g){if(b||b===0)return this.animate(H("show",3),b,g);else{b=0;for(g=this.length;b<g;b++){var m=c.data(this[b],"olddisplay");this[b].style.display=m||"";if(c.css(this[b],"display")==="none"){m=this[b].nodeName;var s;if(v[m])s=v[m];else{var n=c("<"+m+" />").appendTo("body");s=n.css("display");if(s==="none")s="block";n.remove();v[m]=s}c.data(this[b],"olddisplay",s)}}b=0;for(g=this.length;b<g;b++)this[b].style.display=c.data(this[b],"olddisplay")||
"";return this}},hide:function(b,g){if(b||b===0)return this.animate(H("hide",3),b,g);else{b=0;for(g=this.length;b<g;b++){var m=c.data(this[b],"olddisplay");!m&&m!=="none"&&c.data(this[b],"olddisplay",c.css(this[b],"display"))}b=0;for(g=this.length;b<g;b++)this[b].style.display="none";return this}},_toggle:c.fn.toggle,toggle:function(b,g){var m=typeof b==="boolean";if(c.isFunction(b)&&c.isFunction(g))this._toggle.apply(this,arguments);else b==null||m?this.each(function(){var s=m?b:c(this).is(":hidden");
c(this)[s?"show":"hide"]()}):this.animate(H("toggle",3),b,g);return this},fadeTo:function(b,g,m){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:g},b,m)},animate:function(b,g,m,s){var n=c.speed(g,m,s);if(c.isEmptyObject(b))return this.each(n.complete);return this[n.queue===false?"each":"queue"](function(){var F=c.extend({},n),P,V=this.nodeType===1&&c(this).is(":hidden"),U=this;for(P in b){var W=P.replace(kb,ab);if(P!==W){b[W]=b[P];delete b[P];P=W}if(b[P]==="hide"&&V||
b[P]==="show"&&!V)return F.complete.call(this);if((P==="height"||P==="width")&&this.style){F.display=c.css(this,"display");F.overflow=this.style.overflow}if(c.isArray(b[P])){(F.specialEasing=F.specialEasing||{})[P]=b[P][1];b[P]=b[P][0]}}if(F.overflow!=null)this.style.overflow="hidden";F.curAnim=c.extend({},b);c.each(b,function(ea,ma){var ta=new c.fx(U,F,ea);if(I.test(ma))ta[ma==="toggle"?V?"show":"hide":ma](b);else{var Ba=B.exec(ma),Ea=ta.cur(true)||0;if(Ba){ma=parseFloat(Ba[2]);var Ia=Ba[3]||"px";
if(Ia!=="px"){U.style[ea]=(ma||1)+Ia;Ea=(ma||1)/ta.cur(true)*Ea;U.style[ea]=Ea+Ia}if(Ba[1])ma=(Ba[1]==="-="?-1:1)*ma+Ea;ta.custom(Ea,ma,Ia)}else ta.custom(Ea,ma,"")}});return true})},stop:function(b,g){var m=c.timers;b&&this.queue([]);this.each(function(){for(var s=m.length-1;s>=0;s--)if(m[s].elem===this){g&&m[s](true);m.splice(s,1)}});g||this.dequeue();return this}});c.each({slideDown:H("show",1),slideUp:H("hide",1),slideToggle:H("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(b,
g){c.fn[b]=function(m,s){return this.animate(g,m,s)}});c.extend({speed:function(b,g,m){var s=b&&typeof b==="object"?b:{complete:m||!m&&g||c.isFunction(b)&&b,duration:b,easing:m&&g||g&&!c.isFunction(g)&&g};s.duration=c.fx.off?0:typeof s.duration==="number"?s.duration:c.fx.speeds[s.duration]||c.fx.speeds._default;s.old=s.complete;s.complete=function(){s.queue!==false&&c(this).dequeue();c.isFunction(s.old)&&s.old.call(this)};return s},easing:{linear:function(b,g,m,s){return m+s*b},swing:function(b,g,
m,s){return(-Math.cos(b*Math.PI)/2+0.5)*s+m}},timers:[],fx:function(b,g,m){this.options=g;this.elem=b;this.prop=m;if(!g.orig)g.orig={}}});c.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(c.fx.step[this.prop]||c.fx.step._default)(this);if((this.prop==="height"||this.prop==="width")&&this.elem.style)this.elem.style.display="block"},cur:function(b){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];
return(b=parseFloat(c.css(this.elem,this.prop,b)))&&b>-10000?b:parseFloat(c.curCSS(this.elem,this.prop))||0},custom:function(b,g,m){function s(F){return n.step(F)}this.startTime=x();this.start=b;this.end=g;this.unit=m||this.unit||"px";this.now=this.start;this.pos=this.state=0;var n=this;s.elem=this.elem;if(s()&&c.timers.push(s)&&!E)E=setInterval(c.fx.tick,13)},show:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop===
"height"?1:0,this.cur());c(this.elem).show()},hide:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(b){var g=x(),m=true;if(b||g>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;for(var s in this.options.curAnim)if(this.options.curAnim[s]!==true)m=false;if(m){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;
b=c.data(this.elem,"olddisplay");this.elem.style.display=b?b:this.options.display;if(c.css(this.elem,"display")==="none")this.elem.style.display="block"}this.options.hide&&c(this.elem).hide();if(this.options.hide||this.options.show)for(var n in this.options.curAnim)c.style(this.elem,n,this.options.orig[n]);this.options.complete.call(this.elem)}return false}else{n=g-this.startTime;this.state=n/this.options.duration;b=this.options.easing||(c.easing.swing?"swing":"linear");this.pos=c.easing[this.options.specialEasing&&
this.options.specialEasing[this.prop]||b](this.state,n,0,1,this.options.duration);this.now=this.start+(this.end-this.start)*this.pos;this.update()}return true}};c.extend(c.fx,{tick:function(){for(var b=c.timers,g=0;g<b.length;g++)b[g]()||b.splice(g--,1);b.length||c.fx.stop()},stop:function(){clearInterval(E);E=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(b){c.style(b.elem,"opacity",b.now)},_default:function(b){if(b.elem.style&&b.elem.style[b.prop]!=null)b.elem.style[b.prop]=
(b.prop==="width"||b.prop==="height"?Math.max(0,b.now):b.now)+b.unit;else b.elem[b.prop]=b.now}}});if(c.expr&&c.expr.filters)c.expr.filters.animated=function(b){return c.grep(c.timers,function(g){return b===g.elem}).length};c.fn.offset="getBoundingClientRect"in K.documentElement?function(b){var g=this[0];if(b)return this.each(function(n){c.offset.setOffset(this,b,n)});if(!g||!g.ownerDocument)return null;if(g===g.ownerDocument.body)return c.offset.bodyOffset(g);var m=g.getBoundingClientRect(),s=g.ownerDocument;
g=s.body;s=s.documentElement;return{top:m.top+(self.pageYOffset||c.support.boxModel&&s.scrollTop||g.scrollTop)-(s.clientTop||g.clientTop||0),left:m.left+(self.pageXOffset||c.support.boxModel&&s.scrollLeft||g.scrollLeft)-(s.clientLeft||g.clientLeft||0)}}:function(b){var g=this[0];if(b)return this.each(function(ea){c.offset.setOffset(this,b,ea)});if(!g||!g.ownerDocument)return null;if(g===g.ownerDocument.body)return c.offset.bodyOffset(g);c.offset.initialize();var m=g.offsetParent,s=g,n=g.ownerDocument,
F,P=n.documentElement,V=n.body;s=(n=n.defaultView)?n.getComputedStyle(g,null):g.currentStyle;for(var U=g.offsetTop,W=g.offsetLeft;(g=g.parentNode)&&g!==V&&g!==P;){if(c.offset.supportsFixedPosition&&s.position==="fixed")break;F=n?n.getComputedStyle(g,null):g.currentStyle;U-=g.scrollTop;W-=g.scrollLeft;if(g===m){U+=g.offsetTop;W+=g.offsetLeft;if(c.offset.doesNotAddBorder&&!(c.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(g.nodeName))){U+=parseFloat(F.borderTopWidth)||0;W+=parseFloat(F.borderLeftWidth)||
0}s=m;m=g.offsetParent}if(c.offset.subtractsBorderForOverflowNotVisible&&F.overflow!=="visible"){U+=parseFloat(F.borderTopWidth)||0;W+=parseFloat(F.borderLeftWidth)||0}s=F}if(s.position==="relative"||s.position==="static"){U+=V.offsetTop;W+=V.offsetLeft}if(c.offset.supportsFixedPosition&&s.position==="fixed"){U+=Math.max(P.scrollTop,V.scrollTop);W+=Math.max(P.scrollLeft,V.scrollLeft)}return{top:U,left:W}};c.offset={initialize:function(){var b=K.body,g=K.createElement("div"),m,s,n,F=parseFloat(c.curCSS(b,
"marginTop",true))||0;c.extend(g.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"});g.innerHTML="<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";b.insertBefore(g,b.firstChild);m=g.firstChild;s=m.firstChild;
n=m.nextSibling.firstChild.firstChild;this.doesNotAddBorder=s.offsetTop!==5;this.doesAddBorderForTableAndCells=n.offsetTop===5;s.style.position="fixed";s.style.top="20px";this.supportsFixedPosition=s.offsetTop===20||s.offsetTop===15;s.style.position=s.style.top="";m.style.overflow="hidden";m.style.position="relative";this.subtractsBorderForOverflowNotVisible=s.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=b.offsetTop!==F;b.removeChild(g);c.offset.initialize=c.noop},bodyOffset:function(b){var g=
b.offsetTop,m=b.offsetLeft;c.offset.initialize();if(c.offset.doesNotIncludeMarginInBodyOffset){g+=parseFloat(c.curCSS(b,"marginTop",true))||0;m+=parseFloat(c.curCSS(b,"marginLeft",true))||0}return{top:g,left:m}},setOffset:function(b,g,m){if(/static/.test(c.curCSS(b,"position")))b.style.position="relative";var s=c(b),n=s.offset(),F=parseInt(c.curCSS(b,"top",true),10)||0,P=parseInt(c.curCSS(b,"left",true),10)||0;if(c.isFunction(g))g=g.call(b,m,n);m={top:g.top-n.top+F,left:g.left-n.left+P};"using"in
g?g.using.call(b,m):s.css(m)}};c.fn.extend({position:function(){if(!this[0])return null;var b=this[0],g=this.offsetParent(),m=this.offset(),s=/^body|html$/i.test(g[0].nodeName)?{top:0,left:0}:g.offset();m.top-=parseFloat(c.curCSS(b,"marginTop",true))||0;m.left-=parseFloat(c.curCSS(b,"marginLeft",true))||0;s.top+=parseFloat(c.curCSS(g[0],"borderTopWidth",true))||0;s.left+=parseFloat(c.curCSS(g[0],"borderLeftWidth",true))||0;return{top:m.top-s.top,left:m.left-s.left}},offsetParent:function(){return this.map(function(){for(var b=
this.offsetParent||K.body;b&&!/^body|html$/i.test(b.nodeName)&&c.css(b,"position")==="static";)b=b.offsetParent;return b})}});c.each(["Left","Top"],function(b,g){var m="scroll"+g;c.fn[m]=function(s){var n=this[0],F;if(!n)return null;if(s!==p)return this.each(function(){if(F=A(this))F.scrollTo(!b?s:c(F).scrollLeft(),b?s:c(F).scrollTop());else this[m]=s});else return(F=A(n))?"pageXOffset"in F?F[b?"pageYOffset":"pageXOffset"]:c.support.boxModel&&F.document.documentElement[m]||F.document.body[m]:n[m]}});
c.each(["Height","Width"],function(b,g){var m=g.toLowerCase();c.fn["inner"+g]=function(){return this[0]?c.css(this[0],m,false,"padding"):null};c.fn["outer"+g]=function(s){return this[0]?c.css(this[0],m,false,s?"margin":"border"):null};c.fn[m]=function(s){var n=this[0];if(!n)return s==null?null:this;if(c.isFunction(s))return this.each(function(F){var P=c(this);P[m](s.call(this,F,P[m]()))});return"scrollTo"in n&&n.document?n.document.compatMode==="CSS1Compat"&&n.document.documentElement["client"+g]||
n.document.body["client"+g]:n.nodeType===9?Math.max(n.documentElement["client"+g],n.body["scroll"+g],n.documentElement["scroll"+g],n.body["offset"+g],n.documentElement["offset"+g]):s===p?c.css(n,m):this.css(m,typeof s==="string"?s:s+"px")}});f.jQuery=f.$=c})(window);(function(f){function p(y){var x;if(y&&y.constructor==Array&&y.length==3)return y;if(x=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(y))return[parseInt(x[1]),parseInt(x[2]),parseInt(x[3])];if(x=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(y))return[parseFloat(x[1])*2.55,parseFloat(x[2])*2.55,parseFloat(x[3])*2.55];if(x=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(y))return[parseInt(x[1],16),parseInt(x[2],
16),parseInt(x[3],16)];if(x=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(y))return[parseInt(x[1]+x[1],16),parseInt(x[2]+x[2],16),parseInt(x[3]+x[3],16)];if(/rgba\(0, 0, 0, 0\)/.exec(y))return t.transparent;return t[f.trim(y).toLowerCase()]}function l(y,x){var h;do{h=f.curCSS(y,x);if(h!=""&&h!="transparent"||f.nodeName(y,"body"))break;x="backgroundColor"}while(y=y.parentNode);return p(h)}f.each(["backgroundColor","borderBottomColor","borderLeftColor","borderRightColor","borderTopColor","color",
"outlineColor"],function(y,x){f.fx.step[x]=function(h){if(h.state==0){h.start=l(h.elem,x);h.end=p(h.end)}h.elem.style[x]="rgb("+[Math.max(Math.min(parseInt(h.pos*(h.end[0]-h.start[0])+h.start[0]),255),0),Math.max(Math.min(parseInt(h.pos*(h.end[1]-h.start[1])+h.start[1]),255),0),Math.max(Math.min(parseInt(h.pos*(h.end[2]-h.start[2])+h.start[2]),255),0)].join(",")+")"}});var t={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,
0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,
255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0],transparent:[255,255,255]}})(jQuery);(function(f){function p(A){if(!q.parent){q.parent=f('<div id="'+A.id+'"><h3></h3><div class="body"></div><div class="url"></div></div>').appendTo(document.body).hide();f.fn.bgiframe&&q.parent.bgiframe();q.title=f("h3",q.parent);q.body=f("div.body",q.parent);q.url=f("div.url",q.parent)}}function l(A){return f.data(A,"tooltip")}function t(A){if(l(this).delay)Q=setTimeout(x,l(this).delay);else x();H=!!l(this).track;f(document.body).bind("mousemove",h);h(A)}function y(){if(!(f.tooltip.blocked||this==
D||!this.tooltipText&&!l(this).bodyHandler)){D=this;G=this.tooltipText;if(l(this).bodyHandler){q.title.hide();var A=l(this).bodyHandler.call(this);A.nodeType||A.jquery?q.body.empty().append(A):q.body.html(A);q.body.show()}else if(l(this).showBody){A=G.split(l(this).showBody);q.title.html(A.shift()).show();q.body.empty();for(var c=0,N;N=A[c];c++){c>0&&q.body.append("<br/>");q.body.append(N)}q.body.hideWhenEmpty()}else{q.title.html(G).show();q.body.hide()}l(this).showURL&&f(this).url()?q.url.html(f(this).url().replace("http://",
"")).show():q.url.hide();q.parent.addClass(l(this).extraClass);l(this).fixPNG&&q.parent.fixPNG();t.apply(this,arguments)}}function x(){Q=null;if(D!=null){if((!S||!f.fn.bgiframe)&&l(D).fade)if(q.parent.is(":animated"))q.parent.stop().show().fadeTo(l(D).fade,D.tOpacity);else q.parent.is(":visible")?q.parent.fadeTo(l(D).fade,D.tOpacity):q.parent.fadeIn(l(D).fade);else q.parent.show();h()}}function h(A){if(!f.tooltip.blocked)if(!(A&&A.target.tagName=="OPTION")){!H&&q.parent.is(":visible")&&f(document.body).unbind("mousemove",
h);if(D==null)f(document.body).unbind("mousemove",h);else{q.parent.removeClass("viewport-right").removeClass("viewport-bottom");var c=q.parent[0].offsetLeft,N=q.parent[0].offsetTop;if(A){c=A.pageX+l(D).left;N=A.pageY+l(D).top;A="auto";if(l(D).positionLeft){A=f(window).width()-c;c="auto"}q.parent.css({left:c,right:A,top:N})}A=o();var M=q.parent[0];if(A.x+A.cx<M.offsetLeft+M.offsetWidth){c-=M.offsetWidth+20+l(D).left;q.parent.css({left:c+"px"}).addClass("viewport-right")}if(A.y+A.cy<M.offsetTop+M.offsetHeight){N-=
M.offsetHeight+20+l(D).top;q.parent.css({top:N+"px"}).addClass("viewport-bottom")}}}}function o(){return{x:f(window).scrollLeft(),y:f(window).scrollTop(),cx:f(window).width(),cy:f(window).height()}}function k(){function A(){q.parent.removeClass(c.extraClass).hide().css("opacity","")}if(!f.tooltip.blocked){Q&&clearTimeout(Q);D=null;var c=l(this);if((!S||!f.fn.bgiframe)&&c.fade)q.parent.is(":animated")?q.parent.stop().fadeTo(c.fade,0,A):q.parent.stop().fadeOut(c.fade,A);else A();l(this).fixPNG&&q.parent.unfixPNG()}}
var q={},D,G,Q,S=f.browser.msie&&/MSIE\s(5\.5|6\.)/.test(navigator.userAgent),H=false;f.tooltip={blocked:false,defaults:{delay:200,fade:false,showURL:true,extraClass:"",top:15,left:15,id:"tooltip"},block:function(){f.tooltip.blocked=!f.tooltip.blocked}};f.fn.extend({tooltip:function(A){A=f.extend({},f.tooltip.defaults,A);p(A);return this.each(function(){f.data(this,"tooltip",A);this.tOpacity=q.parent.css("opacity");this.tooltipText=this.title;f(this).removeAttr("title");this.alt=""}).mouseover(y).mouseout(k).click(k)},
fixPNG:S?function(){return this.each(function(){var A=f(this).css("backgroundImage");if(A.match(/^url\(["']?(.*\.png)["']?\)$/i)){A=RegExp.$1;f(this).css({backgroundImage:"none",filter:"progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=crop, src='"+A+"')"}).each(function(){var c=f(this).css("position");c!="absolute"&&c!="relative"&&f(this).css("position","relative")})}})}:function(){return this},unfixPNG:S?function(){return this.each(function(){f(this).css({filter:"",backgroundImage:""})})}:
function(){return this},hideWhenEmpty:function(){return this.each(function(){f(this)[f(this).html()?"show":"hide"]()})},url:function(){return this.attr("href")||this.attr("src")}})})(jQuery);(function(f){function p(h,o){if(o==2){o=Math.floor(h.length/2);return h.length%2?h[o]:(h[o]+h[o+1])/2}else{var k=Math.floor(h.length/4);return h.length%2?(h[k*o]+h[k*o+1])/2:h[k*o]}}f.fn.simpledraw=function(h,o,k){if(k&&this[0].vcanvas)return this[0].vcanvas;if(h==undefined)h=f(this).innerWidth();if(o==undefined)o=f(this).innerHeight();return f.browser.hasCanvas?new y(h,o,this):f.browser.msie?new x(h,o,this):false};var l=[];f.fn.sparkline=function(h,o){o=f.extend({type:"line",lineColor:"#00f",fillColor:"#cdf",
defaultPixelsPerValue:3,width:"auto",height:"auto",composite:false},o?o:{});return this.each(function(){var k=function(){var q=h=="html"||h==undefined?f(this).text().split(","):h,D=o.width=="auto"?q.length*o.defaultPixelsPerValue:o.width;if(o.height=="auto"){if(!o.composite||!this.vcanvas){var G=document.createElement("span");G.innerHTML="a";f(this).html(G);height=f(G).innerHeight();f(G).remove()}}else height=o.height;f.fn.sparkline[o.type].call(this,q,o,D,height)};f(this).html()&&f(this).is(":hidden")||
f.fn.jquery<"1.3.0"&&f(this).parents().is(":hidden")?l.push([this,k]):k.call(this)})};f.sparkline_display_visible=function(){for(var h=l.length-1;h>=0;h--){var o=l[h][0];if(f(o).is(":visible")&&!f(o).parents().is(":hidden")){l[h][1].call(o);l.splice(h,1)}}};f.fn.sparkline.line=function(h,o,k,q){o=f.extend({spotColor:"#f80",spotRadius:1.5,minSpotColor:"#f80",maxSpotColor:"#f80",lineWidth:1,normalRangeMin:undefined,normalRangeMax:undefined,normalRangeColor:"#ccc",chartRangeMin:undefined,chartRangeMax:undefined},
o?o:{});var D=[],G=[],Q=[];for($=0;$<h.length;$++){var S=typeof h[$]=="string",H=typeof h[$]=="object"&&h[$]instanceof Array,A=S&&h[$].split(":");if(S&&A.length==2){D.push(Number(A[0]));G.push(Number(A[1]));Q.push(Number(A[1]))}else if(H){D.push(h[$][0]);G.push(h[$][1]);Q.push(h[$][1])}else{D.push($);if(h[$]===null||h[$]=="null")G.push(null);else{G.push(Number(h[$]));Q.push(Number(h[$]))}}}if(o.xvalues)D=o.xvalues;S=h=Math.max.apply(Math,Q);H=Q=Math.min.apply(Math,Q);$=Math.max.apply(Math,D);A=Math.min.apply(Math,
D);if(o.normalRangeMin!=undefined){if(o.normalRangeMin<Q)Q=o.normalRangeMin;if(o.normalRangeMax>h)h=o.normalRangeMax}if(o.chartRangeMin!=undefined&&o.chartRangeMin<Q)Q=o.chartRangeMin;if(o.chartRangeMax!=undefined&&o.chartRangeMax>h)h=o.chartRangeMax;var c=$-A==0?1:$-A,N=h-Q==0?1:h-Q,M=G.length-1;if(M<1)this.innerHTML="";else if(k=f(this).simpledraw(k,q,o.composite)){var K=k.pixel_width,O=k.pixel_height,R=0,Y=0;if(o.spotRadius&&(K<o.spotRadius*4||O<o.spotRadius*4))o.spotRadius=0;if(o.spotRadius){if(o.minSpotColor||
o.spotColor&&G[M]==Q)O-=Math.ceil(o.spotRadius);if(o.maxSpotColor||o.spotColor&&G[M]==h){O-=Math.ceil(o.spotRadius);R+=Math.ceil(o.spotRadius)}if(o.minSpotColor||o.maxSpotColor&&(G[0]==Q||G[0]==h)){Y+=Math.ceil(o.spotRadius);K-=Math.ceil(o.spotRadius)}if(o.spotColor||o.minSpotColor||o.maxSpotColor&&(G[M]==Q||G[M]==h))K-=Math.ceil(o.spotRadius)}O--;if(o.normalRangeMin!=undefined){$=R+Math.round(O-O*((o.normalRangeMax-Q)/N));q=Math.round(O*(o.normalRangeMax-o.normalRangeMin)/N);k.drawRect(Y,$,K,q,undefined,
o.normalRangeColor)}q=[];for(var T=[q],$=0;$<G.length;$++){var da=D[$],qa=G[$];if(qa===null){if($)if(G[$-1]!==null){q=[];T.push(q)}}else{q.length||q.push([Y+Math.round((da-A)*(K/c)),R+O]);q.push([Y+Math.round((da-A)*(K/c)),R+Math.round(O-O*((qa-Q)/N))])}}for($=0;$<T.length;$++){q=T[$];if(q.length){if(o.fillColor){q.push([q[q.length-1][0],R+O-1]);k.drawShape(q,undefined,o.fillColor);q.pop()}if(q.length>2)q[0]=[q[0][0],q[1][1]];k.drawShape(q,o.lineColor,undefined,o.lineWidth)}}o.spotRadius&&o.spotColor&&
k.drawCircle(Y+K,R+Math.round(O-O*((G[M]-Q)/N)),o.spotRadius,undefined,o.spotColor);if(h!=H){if(o.spotRadius&&o.minSpotColor){da=D[G.indexOf(H)];k.drawCircle(Y+Math.round((da-A)*(K/c)),R+Math.round(O-O*((H-Q)/N)),o.spotRadius,undefined,o.minSpotColor)}if(o.spotRadius&&o.maxSpotColor){da=D[G.indexOf(S)];k.drawCircle(Y+Math.round((da-A)*(K/c)),R+Math.round(O-O*((S-Q)/N)),o.spotRadius,undefined,o.maxSpotColor)}}}else this.innerHTML=""};f.fn.sparkline.bar=function(h,o,k,q){o=f.extend({type:"bar",barColor:"#00f",
negBarColor:"#f44",zeroColor:undefined,zeroAxis:undefined,barWidth:4,barSpacing:1,chartRangeMax:undefined,chartRangeMin:undefined,colorMap:{}},o?o:{});k=h.length*o.barWidth+(h.length-1)*o.barSpacing;for(var D=[],G=0;G<h.length;G++)if(h[G]=="null"||h[G]===null)h[G]=null;else{h[G]=Number(h[G]);D.push(Number(h[G]))}G=Math.max.apply(Math,D);D=Math.min.apply(Math,D);if(o.chartRangeMin!=undefined&&o.chartRangeMin<D)D=o.chartRangeMin;if(o.chartRangeMax!=undefined&&o.chartRangeMax>G)G=o.chartRangeMax;if(o.zeroAxis==
undefined)o.zeroAxis=D<0;var Q=G-D==0?1:G-D;if(k=f(this).simpledraw(k,q)){var S=k.pixel_height,H=D<0&&o.zeroAxis?S-Math.round(S*(Math.abs(D)/Q))-1:S-1;for(G=0;G<h.length;G++){var A=G*(o.barWidth+o.barSpacing),c=h[G];if(c!==null){var N=c<0?o.negBarColor:o.barColor;if(o.zeroAxis&&D<0){q=Math.round(S*(Math.abs(c)/Q))+1;var M=c<0?H:H-q}else{q=Math.round(S*((c-D)/Q))+1;M=S-q}if(c==0&&o.zeroColor!=undefined)N=o.zeroColor;if(o.colorMap[c])N=o.colorMap[c];k.drawRect(A,M,o.barWidth-1,q-1,N,N)}}}else this.innerHTML=
""};f.fn.sparkline.tristate=function(h,o,k,q){h=f.map(h,Number);o=f.extend({barWidth:4,barSpacing:1,posBarColor:"#6f6",negBarColor:"#f44",zeroBarColor:"#999",colorMap:{}},o);k=h.length*o.barWidth+(h.length-1)*o.barSpacing;if(k=f(this).simpledraw(k,q))for(var D=Math.round(k.pixel_height/2),G=0;G<h.length;G++){var Q=G*(o.barWidth+o.barSpacing);if(h[G]<0){var S=D;q=D-1;var H=o.negBarColor}else if(h[G]>0){S=0;q=D-1;H=o.posBarColor}else{S=D-1;q=2;H=o.zeroBarColor}if(o.colorMap[h[G]])H=o.colorMap[h[G]];
k.drawRect(Q,S,o.barWidth-1,q-1,H,H)}else this.innerHTML=""};f.fn.sparkline.discrete=function(h,o,k,q){h=f.map(h,Number);o=f.extend({lineHeight:"auto",thresholdColor:undefined,thresholdValue:0,chartRangeMax:undefined,chartRangeMin:undefined},o);k=o.width=="auto"?h.length*2:k;var D=Math.floor(k/h.length);if(k=f(this).simpledraw(k,q)){var G=k.pixel_height;q=o.lineHeight=="auto"?Math.round(G*0.3):o.lineHeight;G=G-q;var Q=Math.min.apply(Math,h),S=Math.max.apply(Math,h);if(o.chartRangeMin!=undefined&&
o.chartRangeMin<Q)Q=o.chartRangeMin;if(o.chartRangeMax!=undefined&&o.chartRangeMax>S)S=o.chartRangeMax;S=S-Q;for(var H=0;H<h.length;H++){var A=h[H],c=H*D,N=Math.round(G-G*((A-Q)/S));k.drawLine(c,N,c,N+q,o.thresholdColor&&A<o.thresholdValue?o.thresholdColor:o.lineColor)}}else this.innerHTML=""};f.fn.sparkline.bullet=function(h,o,k,q){h=f.map(h,Number);o=f.extend({targetColor:"red",targetWidth:3,performanceColor:"blue",rangeColors:["#D3DAFE","#A8B6FF","#7F94FF"],base:undefined},o);k=o.width=="auto"?
"4.0em":k;if((k=f(this).simpledraw(k,q))&&h.length>1){var D=k.pixel_width-Math.ceil(o.targetWidth/2);q=k.pixel_height;var G=Math.min.apply(Math,h),Q=Math.max.apply(Math,h);G=o.base==undefined?G<0?G:0:o.base;Q=Q-G;for(i=2;i<h.length;i++){var S=parseInt(h[i]);S=Math.round(D*((S-G)/Q));k.drawRect(0,0,S-1,q-1,o.rangeColors[i-2],o.rangeColors[i-2])}S=parseInt(h[1]);S=Math.round(D*((S-G)/Q));k.drawRect(0,Math.round(q*0.3),S-1,Math.round(q*0.4)-1,o.performanceColor,o.performanceColor);h=parseInt(h[0]);h=
Math.round(D*((h-G)/Q)-o.targetWidth/2);D=Math.round(q*0.1);k.drawRect(h,D,o.targetWidth-1,q-D*2-1,o.targetColor,o.targetColor)}else this.innerHTML=""};f.fn.sparkline.pie=function(h,o,k,q){h=f.map(h,Number);o=f.extend({sliceColors:["#f00","#0f0","#00f"]},o);k=o.width=="auto"?q:k;if((k=f(this).simpledraw(k,q))&&h.length>1){q=Math.floor(Math.min(k.pixel_width,k.pixel_height)/2);for(var D=0,G=0;G<h.length;G++)D+=h[G];var Q=0;if(o.offset)Q+=2*Math.PI*(o.offset/360);var S=2*Math.PI;for(G=0;G<h.length;G++){var H=
Q,A=Q;if(D>0)A=Q+S*(h[G]/D);k.drawPieSlice(q,q,q,H,A,undefined,o.sliceColors[G%o.sliceColors.length]);Q=A}}};f.fn.sparkline.box=function(h,o,k,q){h=f.map(h,Number);o=f.extend({raw:false,boxLineColor:"black",boxFillColor:"#cdf",whiskerColor:"black",outlierLineColor:"#333",outlierFillColor:"white",medianColor:"red",showOutliers:true,outlierIQR:1.5,spotRadius:1.5,target:undefined,targetColor:"#4a2",chartRangeMax:undefined,chartRangeMin:undefined},o);k=o.width=="auto"?"4.0em":k;minvalue=o.chartRangeMin==
undefined?Math.min.apply(Math,h):o.chartRangeMin;maxvalue=o.chartRangeMax==undefined?Math.max.apply(Math,h):o.chartRangeMax;if((k=f(this).simpledraw(k,q))&&h.length>1){var D=k.pixel_width;q=k.pixel_height;if(o.raw)if(o.showOutliers&&h.length>5)var G=h[0],Q=h[1],S=h[2],H=h[3],A=h[4],c=h[5],N=h[6];else{Q=h[0];S=h[1];H=h[2];A=h[3];c=h[4]}else{h.sort(function(K,O){return K-O});S=p(h,1);H=p(h,2);A=p(h,3);var M=A-S;if(o.showOutliers){c=Q=undefined;for(G=0;G<h.length;G++){if(Q==undefined&&h[G]>S-M*o.outlierIQR)Q=
h[G];if(h[G]<A+M*o.outlierIQR)c=h[G]}G=h[0];N=h[h.length-1]}else{Q=h[0];c=h[h.length-1]}}h=D/(maxvalue-minvalue+1);M=0;if(o.showOutliers){M=Math.ceil(o.spotRadius);D-=2*Math.ceil(o.spotRadius);h=D/(maxvalue-minvalue+1);G<Q&&k.drawCircle((G-minvalue)*h+M,q/2,o.spotRadius,o.outlierLineColor,o.outlierFillColor);N>c&&k.drawCircle((N-minvalue)*h+M,q/2,o.spotRadius,o.outlierLineColor,o.outlierFillColor)}k.drawRect(Math.round((S-minvalue)*h+M),Math.round(q*0.1),Math.round((A-S)*h),Math.round(q*0.8),o.boxLineColor,
o.boxFillColor);k.drawLine(Math.round((Q-minvalue)*h+M),Math.round(q/2),Math.round((S-minvalue)*h+M),Math.round(q/2),o.lineColor);k.drawLine(Math.round((Q-minvalue)*h+M),Math.round(q/4),Math.round((Q-minvalue)*h+M),Math.round(q-q/4),o.whiskerColor);k.drawLine(Math.round((c-minvalue)*h+M),Math.round(q/2),Math.round((A-minvalue)*h+M),Math.round(q/2),o.lineColor);k.drawLine(Math.round((c-minvalue)*h+M),Math.round(q/4),Math.round((c-minvalue)*h+M),Math.round(q-q/4),o.whiskerColor);k.drawLine(Math.round((H-
minvalue)*h+M),Math.round(q*0.1),Math.round((H-minvalue)*h+M),Math.round(q*0.9),o.medianColor);if(o.target){G=Math.ceil(o.spotRadius);k.drawLine(Math.round((o.target-minvalue)*h+M),Math.round(q/2-G),Math.round((o.target-minvalue)*h+M),Math.round(q/2+G),o.targetColor);k.drawLine(Math.round((o.target-minvalue)*h+M-G),Math.round(q/2),Math.round((o.target-minvalue)*h+M+G),Math.round(q/2),o.targetColor)}}else this.innerHTML=""};if(!Array.prototype.indexOf)Array.prototype.indexOf=function(h){for(var o=
0;o<this.length;o++)if(this[o]==h)return o;return-1};f.browser.msie&&!document.namespaces.v&&document.namespaces.add("v","urn:schemas-microsoft-com:vml","#default#VML");if(f.browser.hasCanvas==undefined){var t=document.createElement("canvas");f.browser.hasCanvas=t.getContext!=undefined}t=function(){};t.prototype={init:function(h,o,k){this.width=h;this.height=o;this.target=k;if(k[0])k=k[0];k.vcanvas=this},drawShape:function(){alert("drawShape not implemented")},drawLine:function(h,o,k,q,D,G){return this.drawShape([[h,
o],[k,q]],D,G)},drawCircle:function(){alert("drawCircle not implemented")},drawPieSlice:function(){alert("drawPieSlice not implemented")},drawRect:function(){alert("drawRect not implemented")},getElement:function(){return this.canvas},_insert:function(h,o){f(o).html(h)}};var y=function(h,o,k){return this.init(h,o,k)};y.prototype=f.extend(new t,{_super:t.prototype,init:function(h,o,k){this._super.init(h,o,k);this.canvas=document.createElement("canvas");if(k[0])k=k[0];k.vcanvas=this;f(this.canvas).css({display:"inline-block",
width:h,height:o,verticalAlign:"top"});this._insert(this.canvas,k);this.pixel_height=f(this.canvas).height();this.pixel_width=f(this.canvas).width();this.canvas.width=this.pixel_width;this.canvas.height=this.pixel_height;f(this.canvas).css({width:this.pixel_width,height:this.pixel_height})},_getContext:function(h,o,k){var q=this.canvas.getContext("2d");if(h!=undefined)q.strokeStyle=h;q.lineWidth=k==undefined?1:k;if(o!=undefined)q.fillStyle=o;return q},drawShape:function(h,o,k,q){q=this._getContext(o,
k,q);q.beginPath();q.moveTo(h[0][0]+0.5,h[0][1]+0.5);for(var D=1;D<h.length;D++)q.lineTo(h[D][0]+0.5,h[D][1]+0.5);o!=undefined&&q.stroke();k!=undefined&&q.fill()},drawCircle:function(h,o,k,q,D){var G=this._getContext(q,D);G.beginPath();G.arc(h,o,k,0,2*Math.PI,false);q!=undefined&&G.stroke();D!=undefined&&G.fill()},drawPieSlice:function(h,o,k,q,D,G,Q){var S=this._getContext(G,Q);S.beginPath();S.moveTo(h,o);S.arc(h,o,k,q,D,false);S.lineTo(h,o);S.closePath();G!=undefined&&S.stroke();Q&&S.fill()},drawRect:function(h,
o,k,q,D,G){return this.drawShape([[h,o],[h+k,o],[h+k,o+q],[h,o+q],[h,o]],D,G)}});var x=function(h,o,k){return this.init(h,o,k)};x.prototype=f.extend(new t,{_super:t.prototype,init:function(h,o,k){this._super.init(h,o,k);if(k[0])k=k[0];k.vcanvas=this;this.canvas=document.createElement("span");f(this.canvas).css({display:"inline-block",position:"relative",overflow:"hidden",width:h,height:o,margin:"0px",padding:"0px",verticalAlign:"top"});this._insert(this.canvas,k);this.pixel_height=f(this.canvas).height();
this.pixel_width=f(this.canvas).width();this.canvas.width=this.pixel_width;this.canvas.height=this.pixel_height;this.canvas.insertAdjacentHTML("beforeEnd",'<v:group coordorigin="0 0" coordsize="'+this.pixel_width+" "+this.pixel_height+'" style="position:absolute;top:0;left:0;width:'+this.pixel_width+"px;height="+this.pixel_height+'px;"></v:group>');this.group=f(this.canvas).children()[0]},drawShape:function(h,o,k,q){for(var D=[],G=0;G<h.length;G++)D[G]=""+h[G][0]+","+h[G][1];h=D.splice(0,1);q=q==
undefined?1:q;G=D[0]==D[D.length-1]?"x ":"";this.group.insertAdjacentHTML("beforeEnd",'<v:shape coordorigin="0 0" coordsize="'+this.pixel_width+" "+this.pixel_height+'" '+(o==undefined?' stroked="false" ':' strokeWeight="'+q+'" strokeColor="'+o+'" ')+(k==undefined?' filled="false"':' fillColor="'+k+'" filled="true" ')+' style="position:absolute;left:0px;top:0px;height:'+this.pixel_height+"px;width:"+this.pixel_width+'px;padding:0px;margin:0px;"  path="m '+h+" l "+D.join(", ")+" "+G+'e"> </v:shape>')},
drawCircle:function(h,o,k,q,D){h-=k+1;o-=k+1;this.group.insertAdjacentHTML("beforeEnd","<v:oval "+(q==undefined?' stroked="false" ':' strokeWeight="1" strokeColor="'+q+'" ')+(D==undefined?' filled="false"':' fillColor="'+D+'" filled="true" ')+' style="position:absolute;top:'+o+"px; left:"+h+"px; width:"+k*2+"px; height:"+k*2+'px"></v:oval>')},drawPieSlice:function(h,o,k,q,D,G,Q){if(q!=D){if(D-q==2*Math.PI){q=0;D=2*Math.PI}var S=h+Math.round(Math.cos(q)*k);q=o+Math.round(Math.sin(q)*k);var H=h+Math.round(Math.cos(D)*
k);D=o+Math.round(Math.sin(D)*k);this.group.insertAdjacentHTML("beforeEnd",'<v:shape coordorigin="0 0" coordsize="'+this.pixel_width+" "+this.pixel_height+'" '+(G==undefined?' stroked="false" ':' strokeWeight="1" strokeColor="'+G+'" ')+(Q==undefined?' filled="false"':' fillColor="'+Q+'" filled="true" ')+' style="position:absolute;left:0px;top:0px;height:'+this.pixel_height+"px;width:"+this.pixel_width+'px;padding:0px;margin:0px;"  path="m '+h+","+o+" wa "+[h-k,o-k,h+k,o+k,S,q,H,D].join(", ")+' x e"> </v:shape>')}},
drawRect:function(h,o,k,q,D,G){return this.drawShape([[h,o],[h,o+q],[h+k,o+q],[h+k,o],[h,o]],D,G)}})})(jQuery);jQuery.fn.extend({everyTime:function(f,p,l,t,y){return this.each(function(){jQuery.timer.add(this,f,p,l,t,y)})},oneTime:function(f,p,l){return this.each(function(){jQuery.timer.add(this,f,p,l,1)})},stopTime:function(f,p){return this.each(function(){jQuery.timer.remove(this,f,p)})}});
jQuery.extend({timer:{global:[],guid:1,dataKey:"jQuery.timer",regex:/^([0-9]+(?:\.[0-9]*)?)\s*(.*s)?$/,powers:{ms:1,cs:10,ds:100,s:1E3,das:1E4,hs:1E5,ks:1E6},timeParse:function(f){if(f==undefined||f==null)return null;var p=this.regex.exec(jQuery.trim(f.toString()));return p[2]?parseFloat(p[1])*(this.powers[p[2]]||1):f},add:function(f,p,l,t,y,x){var h=0;if(jQuery.isFunction(l)){y||(y=t);t=l;l=p}p=jQuery.timer.timeParse(p);if(!(typeof p!="number"||isNaN(p)||p<=0)){if(y&&y.constructor!=Number){x=!!y;
y=0}y=y||0;x=x||false;var o=jQuery.data(f,this.dataKey)||jQuery.data(f,this.dataKey,{});o[l]||(o[l]={});t.timerID=t.timerID||this.guid++;var k=function(){if(!(x&&this.inProgress)){this.inProgress=true;if(++h>y&&y!==0||t.call(f,h)===false)jQuery.timer.remove(f,l,t);this.inProgress=false}};k.timerID=t.timerID;o[l][t.timerID]||(o[l][t.timerID]=window.setInterval(k,p));this.global.push(f)}},remove:function(f,p,l){var t=jQuery.data(f,this.dataKey),y;if(t){if(p){if(t[p]){if(l){if(l.timerID){window.clearInterval(t[p][l.timerID]);
delete t[p][l.timerID]}}else for(l in t[p]){window.clearInterval(t[p][l]);delete t[p][l]}for(y in t[p])break;if(!y){y=null;delete t[p]}}}else for(p in t)this.remove(f,p,l);for(y in t)break;y||jQuery.removeData(f,this.dataKey)}}}});jQuery(window).bind("unload",function(){jQuery.each(jQuery.timer.global,function(f,p){jQuery.timer.remove(p)})});jQuery.cookie=function(f,p,l){if(typeof p!="undefined"){l=l||{};if(p===null){p="";l.expires=-1}var t="";if(l.expires&&(typeof l.expires=="number"||l.expires.toUTCString)){if(typeof l.expires=="number"){t=new Date;t.setTime(t.getTime()+l.expires*24*60*60*1E3)}else t=l.expires;t="; expires="+t.toUTCString()}var y=l.path?"; path="+l.path:"",x=l.domain?"; domain="+l.domain:"";l=l.secure?"; secure":"";document.cookie=[f,"=",encodeURIComponent(p),t,y,x,l].join("")}else{p=null;if(document.cookie&&document.cookie!=
""){l=document.cookie.split(";");for(t=0;t<l.length;t++){y=jQuery.trim(l[t]);if(y.substring(0,f.length+1)==f+"="){p=decodeURIComponent(y.substring(f.length+1));break}}}return p}};jQuery.extend({__stringPrototype:{JSONFilter:/^\/\*-secure-([\s\S]*)\*\/\s*$/,ScriptFragment:"<script[^>]*>([\\S\\s]*?)<\/script>",specialChar:{"\u0008":"\\b","\t":"\\t","\n":"\\n","\u000c":"\\f","\r":"\\r","\\":"\\\\"},blank:function(f){return/^\s*$/.test(this.s(f)||" ")},camelize:function(f){var p=this.s(f).split("-"),l;f=[p[0]];for(l=1;l<p.length;l++)f.push(p[l].charAt(0).toUpperCase()+p[l].substring(1));f=f.join("");return this.r(arguments,0,f)},capitalize:function(f){f=this.s(f);f=f.charAt(0).toUpperCase()+
f.substring(1).toLowerCase();return this.r(arguments,0,f)},dasherize:function(f){f=this.s(f).split("_").join("-");return this.r(arguments,0,f)},empty:function(f){return this.s(f)===""},endsWith:function(f,p){p=this.s(p);var l=p.length-f.length;return l>=0&&p.lastIndexOf(f)===l},escapeHTML:function(f){f=this.s(f).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;");return this.r(arguments,0,f)},evalJSON:function(f,p){p=this.s(p);var l=this.unfilterJSON(false,p);try{if(!f||this.isJSON(l))return eval("("+
l+")")}catch(t){}throw new SyntaxError("Badly formed JSON string: "+p);},evalScripts:function(f){f=this.extractScripts(this.s(f));var p=[];if(f.length>0)for(var l=0;l<f.length;l++)p.push(eval(f[l]));return p},extractScripts:function(f){var p=new RegExp(this.ScriptFragment,"img"),l=new RegExp(this.ScriptFragment,"im");f=this.s(f).match(p)||[];p=[];if(f.length>0)for(var t=0;t<f.length;t++)p.push(f[t].match(l)[1]||"");return p},gsub:function(f,p,l){l=this.s(l);l=jQuery.isFunction(p)?this.sub(f,p,-1,
l):l.split(f).join(p);return this.r(arguments,2,l)},include:function(f,p){return this.s(p).indexOf(f)>-1},inspect:function(f,p){p=this.s(p);var l;try{l=this.sub(/[\x00-\x1f\\]/,function(y){var x=jQuery.__stringPrototype.specialChar[y[0]];return x?x:"\\u00"+y[0].charCodeAt().toPaddedString(2,16)},-1,p)}catch(t){l=p}p=f?'"'+l.replace(/"/g,'\\"')+'"':"'"+l.replace(/'/g,"\\'")+"'";return this.r(arguments,1,p)},interpolate:function(f,p,l){l=this.s(l);p||(p=/(\#\{\s*(\w+)\s*\})/);var t=l.match(new RegExp(p.source,
"g")),y;for(y=0;y<t.length;y++)l=l.replace(t[y],f[t[y].match(p)[2]]);return this.r(arguments,2,l)},isJSON:function(f){f=this.s(f);if(this.blank(f))return false;f=f.replace(/\\./g,"@").replace(/"[^"\\\n\r]*"/g,"");return/^[,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t]*$/.test(f)},scan:function(f,p,l){l=this.s(l);this.sub(f,p,-1,l);return this.r(arguments,2,l)},startsWith:function(f,p){return this.s(p).indexOf(f)===0},strip:function(f){f=jQuery.trim(this.s(f));return this.r(arguments,0,f)},stripScripts:function(f){f=
this.s(f).replace(new RegExp(this.ScriptFragment,"img"),"");return this.r(arguments,0,f)},stripTags:function(f){f=this.s(f).replace(/<\/?[^>]+>/gi,"");return this.r(arguments,0,f)},sub:function(f,p,l,t){t=this.s(t);if(f.source&&!f.global){var y=f.ignoreCase?"ig":"g";y+=f.multiline?"m":"";f=new RegExp(f.source,y)}y=t.split(f);var x=t.match(f);if(jQuery.browser.msie){t.indexOf(x[0])==0&&y.unshift("");t.lastIndexOf(x[x.length-1])==t.length-x[x.length-1].length&&y.push("")}l=l<0?y.length-1:l||1;t=y[0];
for(var h=1;h<y.length;h++)t+=h<=l?jQuery.isFunction(p)?p(x[h-1]||x)+y[h]:p+y[h]:(x[h-1]||x)+y[h];return this.r(arguments,3,t)},succ:function(f){f=this.s(f);f=f.slice(0,f.length-1)+String.fromCharCode(f.charCodeAt(f.length-1)+1);return this.r(arguments,0,f)},times:function(f,p){p=this.s(p);for(var l="",t=0;t<f;t++)l+=p;return this.r(arguments,1,l)},toJSON:function(f){return this.r(arguments,0,this.inspect(true,this.s(f)))},toQueryParams:function(f,p){p=this.s(p);f=p.substring(p.indexOf("?")+1).split("#")[0].split(f||
"&");p={};var l,t,y;for(l=0;l<f.length;l++){y=f[l].split("=");t=decodeURIComponent(y[0]);y=y[1]?decodeURIComponent(y[1]):undefined;if(p[t]){if(typeof p[t]=="string")p[t]=[p[t]];p[t].push(y)}else p[t]=y}return p},truncate:function(f,p,l){l=this.s(l);f=f||30;p=!p?"...":p;l=l.length>f?l.slice(0,f-p.length)+p:String(l);return this.r(arguments,2,l)},underscore:function(f){f=this.sub(/[A-Z]/,function(p){return"_"+p.toLowerCase()},-1,this.s(f));if(f.charAt(0)=="_")f=f.substring(1);return this.r(arguments,
0,f)},unescapeHTML:function(f){f=this.stripTags(this.s(f)).replace(/&amp;/g,"&").replace(/&lt;/g,"<").replace(/&gt;/g,">");return this.r(arguments,0,f)},unfilterJSON:function(f,p){p=this.s(p);f=f||this.JSONFilter;var l=p.match(f);p=l!==null?l[1]:p;return this.r(arguments,1,jQuery.trim(p))},r:function(f,p,l){if(f.length>p||this.str===undefined)return l;else{this.str=""+l;return this}},s:function(f){if(f===""||f)return f;if(this.str===""||this.str)return this.str;return this}},string:function(f){if(f===
String.prototype)jQuery.extend(String.prototype,jQuery.__stringPrototype);else return jQuery.extend({str:f},jQuery.__stringPrototype)}});jQuery.__stringPrototype.parseQuery=jQuery.__stringPrototype.toQueryParams;(function(f){var p=function(){var l={years:"datepickerViewYears",moths:"datepickerViewMonths",days:"datepickerViewDays"},t={wrapper:'<div class="datepicker"><div class="datepickerBorderT" /><div class="datepickerBorderB" /><div class="datepickerBorderL" /><div class="datepickerBorderR" /><div class="datepickerBorderTL" /><div class="datepickerBorderTR" /><div class="datepickerBorderBL" /><div class="datepickerBorderBR" /><div class="datepickerContainer"><table cellspacing="0" cellpadding="0"><tbody><tr></tr></tbody></table></div></div>',
head:["<td>",'<table cellspacing="0" cellpadding="0">',"<thead>","<tr>",'<th class="datepickerGoPrev"><a href="#"><span><%=prev%></span></a></th>','<th colspan="6" class="datepickerMonth"><a href="#"><span></span></a></th>','<th class="datepickerGoNext"><a href="#"><span><%=next%></span></a></th>',"</tr>",'<tr class="datepickerDoW">',"<th><span><%=week%></span></th>","<th><span><%=day1%></span></th>","<th><span><%=day2%></span></th>","<th><span><%=day3%></span></th>","<th><span><%=day4%></span></th>",
"<th><span><%=day5%></span></th>","<th><span><%=day6%></span></th>","<th><span><%=day7%></span></th>","</tr>","</thead>","</table></td>"],space:'<td class="datepickerSpace"><div></div></td>',days:['<tbody class="datepickerDays">',"<tr>",'<th class="datepickerWeek"><a href="#"><span><%=weeks[0].week%></span></a></th>','<td class="<%=weeks[0].days[0].classname%>"><a href="#"><span><%=weeks[0].days[0].text%></span></a></td>','<td class="<%=weeks[0].days[1].classname%>"><a href="#"><span><%=weeks[0].days[1].text%></span></a></td>',
'<td class="<%=weeks[0].days[2].classname%>"><a href="#"><span><%=weeks[0].days[2].text%></span></a></td>','<td class="<%=weeks[0].days[3].classname%>"><a href="#"><span><%=weeks[0].days[3].text%></span></a></td>','<td class="<%=weeks[0].days[4].classname%>"><a href="#"><span><%=weeks[0].days[4].text%></span></a></td>','<td class="<%=weeks[0].days[5].classname%>"><a href="#"><span><%=weeks[0].days[5].text%></span></a></td>','<td class="<%=weeks[0].days[6].classname%>"><a href="#"><span><%=weeks[0].days[6].text%></span></a></td>',
"</tr>","<tr>",'<th class="datepickerWeek"><a href="#"><span><%=weeks[1].week%></span></a></th>','<td class="<%=weeks[1].days[0].classname%>"><a href="#"><span><%=weeks[1].days[0].text%></span></a></td>','<td class="<%=weeks[1].days[1].classname%>"><a href="#"><span><%=weeks[1].days[1].text%></span></a></td>','<td class="<%=weeks[1].days[2].classname%>"><a href="#"><span><%=weeks[1].days[2].text%></span></a></td>','<td class="<%=weeks[1].days[3].classname%>"><a href="#"><span><%=weeks[1].days[3].text%></span></a></td>',
'<td class="<%=weeks[1].days[4].classname%>"><a href="#"><span><%=weeks[1].days[4].text%></span></a></td>','<td class="<%=weeks[1].days[5].classname%>"><a href="#"><span><%=weeks[1].days[5].text%></span></a></td>','<td class="<%=weeks[1].days[6].classname%>"><a href="#"><span><%=weeks[1].days[6].text%></span></a></td>',"</tr>","<tr>",'<th class="datepickerWeek"><a href="#"><span><%=weeks[2].week%></span></a></th>','<td class="<%=weeks[2].days[0].classname%>"><a href="#"><span><%=weeks[2].days[0].text%></span></a></td>',
'<td class="<%=weeks[2].days[1].classname%>"><a href="#"><span><%=weeks[2].days[1].text%></span></a></td>','<td class="<%=weeks[2].days[2].classname%>"><a href="#"><span><%=weeks[2].days[2].text%></span></a></td>','<td class="<%=weeks[2].days[3].classname%>"><a href="#"><span><%=weeks[2].days[3].text%></span></a></td>','<td class="<%=weeks[2].days[4].classname%>"><a href="#"><span><%=weeks[2].days[4].text%></span></a></td>','<td class="<%=weeks[2].days[5].classname%>"><a href="#"><span><%=weeks[2].days[5].text%></span></a></td>',
'<td class="<%=weeks[2].days[6].classname%>"><a href="#"><span><%=weeks[2].days[6].text%></span></a></td>',"</tr>","<tr>",'<th class="datepickerWeek"><a href="#"><span><%=weeks[3].week%></span></a></th>','<td class="<%=weeks[3].days[0].classname%>"><a href="#"><span><%=weeks[3].days[0].text%></span></a></td>','<td class="<%=weeks[3].days[1].classname%>"><a href="#"><span><%=weeks[3].days[1].text%></span></a></td>','<td class="<%=weeks[3].days[2].classname%>"><a href="#"><span><%=weeks[3].days[2].text%></span></a></td>',
'<td class="<%=weeks[3].days[3].classname%>"><a href="#"><span><%=weeks[3].days[3].text%></span></a></td>','<td class="<%=weeks[3].days[4].classname%>"><a href="#"><span><%=weeks[3].days[4].text%></span></a></td>','<td class="<%=weeks[3].days[5].classname%>"><a href="#"><span><%=weeks[3].days[5].text%></span></a></td>','<td class="<%=weeks[3].days[6].classname%>"><a href="#"><span><%=weeks[3].days[6].text%></span></a></td>',"</tr>","<tr>",'<th class="datepickerWeek"><a href="#"><span><%=weeks[4].week%></span></a></th>',
'<td class="<%=weeks[4].days[0].classname%>"><a href="#"><span><%=weeks[4].days[0].text%></span></a></td>','<td class="<%=weeks[4].days[1].classname%>"><a href="#"><span><%=weeks[4].days[1].text%></span></a></td>','<td class="<%=weeks[4].days[2].classname%>"><a href="#"><span><%=weeks[4].days[2].text%></span></a></td>','<td class="<%=weeks[4].days[3].classname%>"><a href="#"><span><%=weeks[4].days[3].text%></span></a></td>','<td class="<%=weeks[4].days[4].classname%>"><a href="#"><span><%=weeks[4].days[4].text%></span></a></td>',
'<td class="<%=weeks[4].days[5].classname%>"><a href="#"><span><%=weeks[4].days[5].text%></span></a></td>','<td class="<%=weeks[4].days[6].classname%>"><a href="#"><span><%=weeks[4].days[6].text%></span></a></td>',"</tr>","<tr>",'<th class="datepickerWeek"><a href="#"><span><%=weeks[5].week%></span></a></th>','<td class="<%=weeks[5].days[0].classname%>"><a href="#"><span><%=weeks[5].days[0].text%></span></a></td>','<td class="<%=weeks[5].days[1].classname%>"><a href="#"><span><%=weeks[5].days[1].text%></span></a></td>',
'<td class="<%=weeks[5].days[2].classname%>"><a href="#"><span><%=weeks[5].days[2].text%></span></a></td>','<td class="<%=weeks[5].days[3].classname%>"><a href="#"><span><%=weeks[5].days[3].text%></span></a></td>','<td class="<%=weeks[5].days[4].classname%>"><a href="#"><span><%=weeks[5].days[4].text%></span></a></td>','<td class="<%=weeks[5].days[5].classname%>"><a href="#"><span><%=weeks[5].days[5].text%></span></a></td>','<td class="<%=weeks[5].days[6].classname%>"><a href="#"><span><%=weeks[5].days[6].text%></span></a></td>',
"</tr>","</tbody>"],months:['<tbody class="<%=className%>">',"<tr>",'<td colspan="2"><a href="#"><span><%=data[0]%></span></a></td>','<td colspan="2"><a href="#"><span><%=data[1]%></span></a></td>','<td colspan="2"><a href="#"><span><%=data[2]%></span></a></td>','<td colspan="2"><a href="#"><span><%=data[3]%></span></a></td>',"</tr>","<tr>",'<td colspan="2"><a href="#"><span><%=data[4]%></span></a></td>','<td colspan="2"><a href="#"><span><%=data[5]%></span></a></td>','<td colspan="2"><a href="#"><span><%=data[6]%></span></a></td>',
'<td colspan="2"><a href="#"><span><%=data[7]%></span></a></td>',"</tr>","<tr>",'<td colspan="2"><a href="#"><span><%=data[8]%></span></a></td>','<td colspan="2"><a href="#"><span><%=data[9]%></span></a></td>','<td colspan="2"><a href="#"><span><%=data[10]%></span></a></td>','<td colspan="2"><a href="#"><span><%=data[11]%></span></a></td>',"</tr>","</tbody>"]},y={flat:false,starts:1,prev:"&#9664;",next:"&#9654;",lastSel:false,mode:"single",view:"days",calendars:1,format:"Y-m-d",position:"bottom",
eventName:"click",onRender:function(){return{}},onChange:function(){return true},onShow:function(){return true},onBeforeShow:function(){return true},onHide:function(){return true},locale:{days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],daysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sun"],daysMin:["Su","Mo","Tu","We","Th","Fr","Sa","Su"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],
monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],weekMin:"wk"}},x=function(c){var N=f(c).data("datepicker");c=f(c);var M=Math.floor(N.calendars/2),K,O,R,Y,T=0,$,da,qa,xa,ca;c.find("td>table tbody").remove();for(var fa=0;fa<N.calendars;fa++){K=new Date(N.current);K.addMonths(-M+fa);ca=c.find("table").eq(fa+1);switch(ca[0].className){case "datepickerViewDays":R=o(K,"B, Y");break;case "datepickerViewMonths":R=K.getFullYear();break;case "datepickerViewYears":R=K.getFullYear()-
6+" - "+(K.getFullYear()+5);break}ca.find("thead tr:first th:eq(1) span").text(R);R=K.getFullYear()-6;O={data:[],className:"datepickerYears"};for(Y=0;Y<12;Y++)O.data.push(R+Y);xa=tmpl(t.months.join(""),O);K.setDate(1);O={weeks:[],test:10};Y=K.getMonth();R=(K.getDay()-N.starts)%7;K.addDays(-(R+(R<0?7:0)));for(T=0;T<42;){da=parseInt(T/7,10);qa=T%7;if(!O.weeks[da]){$=K.getWeekNumber();O.weeks[da]={week:$,days:[]}}O.weeks[da].days[qa]={text:K.getDate(),classname:[]};Y!=K.getMonth()&&O.weeks[da].days[qa].classname.push("datepickerNotInMonth");
K.getDay()==0&&O.weeks[da].days[qa].classname.push("datepickerSunday");K.getDay()==6&&O.weeks[da].days[qa].classname.push("datepickerSaturday");$=N.onRender(K);var wa=K.valueOf();if($.selected||N.date==wa||f.inArray(wa,N.date)>-1||N.mode=="range"&&wa>=N.date[0]&&wa<=N.date[1])O.weeks[da].days[qa].classname.push("datepickerSelected");$.disabled&&O.weeks[da].days[qa].classname.push("datepickerDisabled");$.className&&O.weeks[da].days[qa].classname.push($.className);O.weeks[da].days[qa].classname=O.weeks[da].days[qa].classname.join(" ");
T++;K.addDays(1)}xa=tmpl(t.days.join(""),O)+xa;O={data:N.locale.monthsShort,className:"datepickerMonths"};xa=tmpl(t.months.join(""),O)+xa;ca.append(xa)}},h=function(c,N){if(c.constructor==Date)return new Date(c);c=c.split(/\W+/);N=N.split(/\W+/);for(var M,K,O,R,Y,T=new Date,$=0;$<c.length;$++)switch(N[$]){case "d":case "e":M=parseInt(c[$],10);break;case "m":K=parseInt(c[$],10)-1;break;case "Y":case "y":O=parseInt(c[$],10);O+=O>100?0:O<29?2E3:1900;break;case "H":case "I":case "k":case "l":R=parseInt(c[$],
10);break;case "P":case "p":if(/pm/i.test(c[$])&&R<12)R+=12;else if(/am/i.test(c[$])&&R>=12)R-=12;break;case "M":Y=parseInt(c[$],10);break}return new Date(O===undefined?T.getFullYear():O,K===undefined?T.getMonth():K,M===undefined?T.getDate():M,R===undefined?T.getHours():R,Y===undefined?T.getMinutes():Y,0)},o=function(c,N){var M=c.getMonth(),K=c.getDate(),O=c.getFullYear();c.getWeekNumber();var R=c.getDay(),Y=c.getHours(),T=Y>=12,$=T?Y-12:Y,da=c.getDayOfYear();if($==0)$=12;var qa=c.getMinutes(),xa=
c.getSeconds();N=N.split("");for(var ca,fa=0;fa<N.length;fa++){ca=N[fa];switch(N[fa]){case "a":ca=c.getDayName();break;case "A":ca=c.getDayName(true);break;case "b":ca=c.getMonthName();break;case "B":ca=c.getMonthName(true);break;case "C":ca=1+Math.floor(O/100);break;case "d":ca=K<10?"0"+K:K;break;case "e":ca=K;break;case "H":ca=Y<10?"0"+Y:Y;break;case "I":ca=$<10?"0"+$:$;break;case "j":ca=da<100?da<10?"00"+da:"0"+da:da;break;case "k":ca=Y;break;case "l":ca=$;break;case "m":ca=M<9?"0"+(1+M):1+M;break;
case "M":ca=qa<10?"0"+qa:qa;break;case "p":case "P":ca=T?"PM":"AM";break;case "s":ca=Math.floor(c.getTime()/1E3);break;case "S":ca=xa<10?"0"+xa:xa;break;case "u":ca=R+1;break;case "w":ca=R;break;case "y":ca=(""+O).substr(2,2);break;case "Y":ca=O;break}N[fa]=ca}return N.join("")},k=function(c){if(!Date.prototype.tempDate){Date.prototype.tempDate=null;Date.prototype.months=c.months;Date.prototype.monthsShort=c.monthsShort;Date.prototype.days=c.days;Date.prototype.daysShort=c.daysShort;Date.prototype.getMonthName=
function(N){return this[N?"months":"monthsShort"][this.getMonth()]};Date.prototype.getDayName=function(N){return this[N?"days":"daysShort"][this.getDay()]};Date.prototype.addDays=function(N){this.setDate(this.getDate()+N);this.tempDate=this.getDate()};Date.prototype.addMonths=function(N){if(this.tempDate==null)this.tempDate=this.getDate();this.setDate(1);this.setMonth(this.getMonth()+N);this.setDate(Math.min(this.tempDate,this.getMaxDays()))};Date.prototype.addYears=function(N){if(this.tempDate==
null)this.tempDate=this.getDate();this.setDate(1);this.setFullYear(this.getFullYear()+N);this.setDate(Math.min(this.tempDate,this.getMaxDays()))};Date.prototype.getMaxDays=function(){var N=new Date(Date.parse(this)),M=28,K;K=N.getMonth();for(M=28;N.getMonth()==K;){M++;N.setDate(M)}return M-1};Date.prototype.getFirstDay=function(){var N=new Date(Date.parse(this));N.setDate(1);return N.getDay()};Date.prototype.getWeekNumber=function(){var N=new Date(this);N.setDate(N.getDate()-(N.getDay()+6)%7+3);var M=
N.valueOf();N.setMonth(0);N.setDate(4);return Math.round((M-N.valueOf())/6048E5)+1};Date.prototype.getDayOfYear=function(){var N=new Date(this.getFullYear(),this.getMonth(),this.getDate(),0,0,0),M=new Date(this.getFullYear(),0,0,0,0,0);return Math.floor((N-M)/24*60*60*1E3)}}},q=function(c){var N=f(c).data("datepicker"),M=f("#"+N.id);if(!N.extraHeight){c=f(c).find("div");N.extraHeight=c.get(0).offsetHeight+c.get(1).offsetHeight;N.extraWidth=c.get(2).offsetWidth+c.get(3).offsetWidth}var K=M.find("table:first").get(0);
c=K.offsetWidth;K=K.offsetHeight;M.css({width:c+N.extraWidth+"px",height:K+N.extraHeight+"px"}).find("div.datepickerContainer").css({width:c+"px",height:K+"px"})},D=function(c){if(f(c.target).is("span"))c.target=c.target.parentNode;var N=f(c.target);if(N.is("a")){c.target.blur();if(N.hasClass("datepickerDisabled"))return false;var M=f(this).data("datepicker");c=N.parent();var K=c.parent().parent().parent(),O=f("table",this).index(K.get(0))-1,R=new Date(M.current),Y=false,T=false;if(c.is("th"))if(c.hasClass("datepickerWeek")&&
M.mode=="range"&&!c.next().hasClass("datepickerDisabled")){var $=parseInt(c.next().text(),10);R.addMonths(O-Math.floor(M.calendars/2));if(c.next().hasClass("datepickerNotInMonth"))R.addMonths($>15?-1:1);R.setDate($);M.date[0]=R.setHours(0,0,0,0).valueOf();R.setHours(23,59,59,0);R.addDays(6);M.date[1]=R.valueOf();Y=T=true;M.lastSel=false}else if(c.hasClass("datepickerMonth")){R.addMonths(O-Math.floor(M.calendars/2));switch(K.get(0).className){case "datepickerViewDays":K.get(0).className="datepickerViewMonths";
N.find("span").text(R.getFullYear());break;case "datepickerViewMonths":K.get(0).className="datepickerViewYears";N.find("span").text(R.getFullYear()-6+" - "+(R.getFullYear()+5));break;case "datepickerViewYears":K.get(0).className="datepickerViewDays";N.find("span").text(o(R,"B, Y"));break}}else{if(c.parent().parent().is("thead")){switch(K.get(0).className){case "datepickerViewDays":M.current.addMonths(c.hasClass("datepickerGoPrev")?-1:1);break;case "datepickerViewMonths":M.current.addYears(c.hasClass("datepickerGoPrev")?
-1:1);break;case "datepickerViewYears":M.current.addYears(c.hasClass("datepickerGoPrev")?-12:12);break}T=true}}else if(c.is("td")&&!c.hasClass("datepickerDisabled")){switch(K.get(0).className){case "datepickerViewMonths":M.current.setMonth(K.find("tbody.datepickerMonths td").index(c));M.current.setFullYear(parseInt(K.find("thead th.datepickerMonth span").text(),10));M.current.addMonths(Math.floor(M.calendars/2)-O);K.get(0).className="datepickerViewDays";break;case "datepickerViewYears":M.current.setFullYear(parseInt(N.text(),
10));K.get(0).className="datepickerViewMonths";break;default:$=parseInt(N.text(),10);R.addMonths(O-Math.floor(M.calendars/2));if(c.hasClass("datepickerNotInMonth"))R.addMonths($>15?-1:1);R.setDate($);switch(M.mode){case "multiple":$=R.setHours(0,0,0,0).valueOf();f.inArray($,M.date)>-1?f.each(M.date,function(da,qa){if(qa==$){M.date.splice(da,1);return false}}):M.date.push($);break;case "range":M.lastSel||(M.date[0]=R.setHours(0,0,0,0).valueOf());$=R.setHours(23,59,59,0).valueOf();if($<M.date[0]){M.date[1]=
M.date[0]+86399E3;M.date[0]=$-86399E3}else M.date[1]=$;M.lastSel=!M.lastSel;break;default:M.date=R.valueOf();break}break}Y=T=true}T&&x(this);Y&&M.onChange.apply(this,G(M))}return false},G=function(c){var N;if(c.mode=="single"){N=new Date(c.date);return[o(N,c.format),N,c.el]}else{N=[[],[],c.el];f.each(c.date,function(M,K){M=new Date(K);N[0].push(o(M,c.format));N[1].push(M)});return N}},Q=function(){var c=document.compatMode=="CSS1Compat";return{l:window.pageXOffset||(c?document.documentElement.scrollLeft:
document.body.scrollLeft),t:window.pageYOffset||(c?document.documentElement.scrollTop:document.body.scrollTop),w:window.innerWidth||(c?document.documentElement.clientWidth:document.body.clientWidth),h:window.innerHeight||(c?document.documentElement.clientHeight:document.body.clientHeight)}},S=function(c,N,M){if(c==N)return true;if(c.contains)return c.contains(N);if(c.compareDocumentPosition)return!!(c.compareDocumentPosition(N)&16);for(N=N.parentNode;N&&N!=M;){if(N==c)return true;N=N.parentNode}return false},
H=function(){var c=f("#"+f(this).data("datepickerId"));if(!c.is(":visible")){var N=c.get(0);x(N);var M=c.data("datepicker");M.onBeforeShow.apply(this,[c.get(0)]);var K=f(this).offset(),O=Q(),R=K.top,Y=K.left;f.curCSS(N,"display");c.css({visibility:"hidden",display:"block"});q(N);switch(M.position){case "top":R-=N.offsetHeight;break;case "left":Y-=N.offsetWidth;break;case "right":Y+=this.offsetWidth;break;case "bottom":R+=this.offsetHeight;break}if(R+N.offsetHeight>O.t+O.h)R=K.top-N.offsetHeight;if(R<
O.t)R=K.top+this.offsetHeight+N.offsetHeight;if(Y+N.offsetWidth>O.l+O.w)Y=K.left-N.offsetWidth;if(Y<O.l)Y=K.left+this.offsetWidth;c.css({visibility:"visible",display:"block",top:R+"px",left:Y+"px"});M.onShow.apply(this,[c.get(0)])!=false&&c.show();f(document).bind("mousedown",{cal:c,trigger:this},A)}return false},A=function(c){if(c.target!=c.data.trigger&&!S(c.data.cal.get(0),c.target,c.data.cal.get(0))){c.data.cal.data("datepicker").onHide.apply(this,[c.data.cal.get(0)])!=false&&c.data.cal.hide();
f(document).unbind("mousedown",A)}};return{init:function(c){c=f.extend({},y,c||{});k(c.locale);c.calendars=Math.max(1,parseInt(c.calendars,10)||1);c.mode=/single|multiple|range/.test(c.mode)?c.mode:"single";return this.each(function(){if(!f(this).data("datepicker")){c.el=this;if(c.date.constructor==String){c.date=h(c.date,c.format);c.date.setHours(0,0,0,0)}if(c.mode!="single")if(c.date.constructor!=Array){c.date=[c.date.valueOf()];c.mode=="range"&&c.date.push((new Date(c.date[0])).setHours(23,59,
59,0).valueOf())}else{for(var N=0;N<c.date.length;N++)c.date[N]=h(c.date[N],c.format).setHours(0,0,0,0).valueOf();if(c.mode=="range")c.date[1]=(new Date(c.date[1])).setHours(23,59,59,0).valueOf()}else c.date=c.date.valueOf();c.current=c.current?h(c.current,c.format):new Date;c.current.setDate(1);c.current.setHours(0,0,0,0);N="datepicker_"+parseInt(Math.random()*1E3);var M;c.id=N;f(this).data("datepickerId",c.id);var K=f(t.wrapper).attr("id",N).bind("click",D).data("datepicker",c);c.className&&K.addClass(c.className);
var O="";for(N=0;N<c.calendars;N++){M=c.starts;if(N>0)O+=t.space;O+=tmpl(t.head.join(""),{week:c.locale.weekMin,prev:c.prev,next:c.next,day1:c.locale.daysMin[M++%7],day2:c.locale.daysMin[M++%7],day3:c.locale.daysMin[M++%7],day4:c.locale.daysMin[M++%7],day5:c.locale.daysMin[M++%7],day6:c.locale.daysMin[M++%7],day7:c.locale.daysMin[M++%7]})}K.find("tr:first").append(O).find("table").addClass(l[c.view]);x(K.get(0));if(c.flat){K.appendTo(this).show().css("position","relative");q(K.get(0))}else{K.appendTo(document.body);
f(this).bind(c.eventName,H)}}})},showPicker:function(){return this.each(function(){f(this).data("datepickerId")&&H.apply(this)})},hidePicker:function(){return this.each(function(){f(this).data("datepickerId")&&f("#"+f(this).data("datepickerId")).hide()})},setDate:function(c,N){return this.each(function(){if(f(this).data("datepickerId")){var M=f("#"+f(this).data("datepickerId")),K=M.data("datepicker");K.date=c;if(K.date.constructor==String){K.date=h(K.date,K.format);K.date.setHours(0,0,0,0)}if(K.mode!=
"single")if(K.date.constructor!=Array){K.date=[K.date.valueOf()];K.mode=="range"&&K.date.push((new Date(K.date[0])).setHours(23,59,59,0).valueOf())}else{for(var O=0;O<K.date.length;O++)K.date[O]=h(K.date[O],K.format).setHours(0,0,0,0).valueOf();if(K.mode=="range")K.date[1]=(new Date(K.date[1])).setHours(23,59,59,0).valueOf()}else K.date=K.date.valueOf();if(N)K.current=new Date(K.mode!="single"?K.date[0]:K.date);x(M.get(0))}})},getDate:function(c){if(this.size()>0)return G(f("#"+f(this).data("datepickerId")).data("datepicker"))[c?
0:1]},clear:function(){return this.each(function(){if(f(this).data("datepickerId")){var c=f("#"+f(this).data("datepickerId")),N=c.data("datepicker");if(N.mode!="single"){N.date=[];x(c.get(0))}}})},fixLayout:function(){return this.each(function(){if(f(this).data("datepickerId")){var c=f("#"+f(this).data("datepickerId"));c.data("datepicker").flat&&q(c.get(0))}})}}}();f.fn.extend({DatePicker:p.init,DatePickerHide:p.hidePicker,DatePickerShow:p.showPicker,DatePickerSetDate:p.setDate,DatePickerGetDate:p.getDate,
DatePickerClear:p.clear,DatePickerLayout:p.fixLayout})})(jQuery);
(function(){var f={};this.tmpl=function p(l,t){l=!/\W/.test(l)?(f[l]=f[l]||p(document.getElementById(l).innerHTML)):new Function("obj","var p=[],print=function(){p.push.apply(p,arguments);};with(obj){p.push('"+l.replace(/[\r\t\n]/g," ").split("<%").join("\t").replace(/((^|%>)[^\t]*)'/g,"$1\r").replace(/\t=(.*?)%>/g,"',$1,'").split("\t").join("');").split("%>").join("p.push('").split("\r").join("\\'")+"');}return p.join('');");return t?l(t):l}})();/*
 http://www.gnu.org/licenses/gpl.html [GNU General Public License]
*/
(function(f){var p=function(H,A){return H<<A|H>>>32-A},l=function(H,A){var c,N,M,K;M=H&2147483648;K=A&2147483648;c=H&1073741824;N=A&1073741824;H=(H&1073741823)+(A&1073741823);if(c&N)return H^2147483648^M^K;return c|N?H&1073741824?H^3221225472^M^K:H^1073741824^M^K:H^M^K},t=function(H,A,c){return H&A|~H&c},y=function(H,A,c){return H&c|A&~c},x=function(H,A,c){return H^A^c},h=function(H,A,c){return A^(H|~c)},o=function(H,A,c,N,M,K,O){H=l(H,l(l(t(A,c,N),M),O));return l(p(H,K),A)},k=function(H,A,c,N,M,
K,O){H=l(H,l(l(y(A,c,N),M),O));return l(p(H,K),A)},q=function(H,A,c,N,M,K,O){H=l(H,l(l(x(A,c,N),M),O));return l(p(H,K),A)},D=function(H,A,c,N,M,K,O){H=l(H,l(l(h(A,c,N),M),O));return l(p(H,K),A)},G=function(H){var A,c=H.length;A=c+8;for(var N=((A-A%64)/64+1)*16,M=Array(N-1),K=0,O=0;O<c;){A=(O-O%4)/4;K=O%4*8;M[A]|=H.charCodeAt(O)<<K;O++}A=(O-O%4)/4;K=O%4*8;M[A]|=128<<K;M[N-2]=c<<3;M[N-1]=c>>>29;return M},Q=function(H){var A="",c="",N;for(N=0;N<=3;N++){c=H>>>N*8&255;c="0"+c.toString(16);A+=c.substr(c.length-
2,2)}return A},S=function(H){H=H.replace(/\x0d\x0a/g,"\n");for(var A="",c=0;c<H.length;c++){var N=H.charCodeAt(c);if(N<128)A+=String.fromCharCode(N);else{if(N>127&&N<2048)A+=String.fromCharCode(N>>6|192);else{A+=String.fromCharCode(N>>12|224);A+=String.fromCharCode(N>>6&63|128)}A+=String.fromCharCode(N&63|128)}}return A};f.extend({md5:function(H){var A=Array(),c,N,M,K,O,R,Y,T;H=S(H);A=G(H);O=1732584193;R=4023233417;Y=2562383102;T=271733878;for(H=0;H<A.length;H+=16){c=O;N=R;M=Y;K=T;O=o(O,R,Y,T,A[H+
0],7,3614090360);T=o(T,O,R,Y,A[H+1],12,3905402710);Y=o(Y,T,O,R,A[H+2],17,606105819);R=o(R,Y,T,O,A[H+3],22,3250441966);O=o(O,R,Y,T,A[H+4],7,4118548399);T=o(T,O,R,Y,A[H+5],12,1200080426);Y=o(Y,T,O,R,A[H+6],17,2821735955);R=o(R,Y,T,O,A[H+7],22,4249261313);O=o(O,R,Y,T,A[H+8],7,1770035416);T=o(T,O,R,Y,A[H+9],12,2336552879);Y=o(Y,T,O,R,A[H+10],17,4294925233);R=o(R,Y,T,O,A[H+11],22,2304563134);O=o(O,R,Y,T,A[H+12],7,1804603682);T=o(T,O,R,Y,A[H+13],12,4254626195);Y=o(Y,T,O,R,A[H+14],17,2792965006);R=o(R,Y,
T,O,A[H+15],22,1236535329);O=k(O,R,Y,T,A[H+1],5,4129170786);T=k(T,O,R,Y,A[H+6],9,3225465664);Y=k(Y,T,O,R,A[H+11],14,643717713);R=k(R,Y,T,O,A[H+0],20,3921069994);O=k(O,R,Y,T,A[H+5],5,3593408605);T=k(T,O,R,Y,A[H+10],9,38016083);Y=k(Y,T,O,R,A[H+15],14,3634488961);R=k(R,Y,T,O,A[H+4],20,3889429448);O=k(O,R,Y,T,A[H+9],5,568446438);T=k(T,O,R,Y,A[H+14],9,3275163606);Y=k(Y,T,O,R,A[H+3],14,4107603335);R=k(R,Y,T,O,A[H+8],20,1163531501);O=k(O,R,Y,T,A[H+13],5,2850285829);T=k(T,O,R,Y,A[H+2],9,4243563512);Y=k(Y,
T,O,R,A[H+7],14,1735328473);R=k(R,Y,T,O,A[H+12],20,2368359562);O=q(O,R,Y,T,A[H+5],4,4294588738);T=q(T,O,R,Y,A[H+8],11,2272392833);Y=q(Y,T,O,R,A[H+11],16,1839030562);R=q(R,Y,T,O,A[H+14],23,4259657740);O=q(O,R,Y,T,A[H+1],4,2763975236);T=q(T,O,R,Y,A[H+4],11,1272893353);Y=q(Y,T,O,R,A[H+7],16,4139469664);R=q(R,Y,T,O,A[H+10],23,3200236656);O=q(O,R,Y,T,A[H+13],4,681279174);T=q(T,O,R,Y,A[H+0],11,3936430074);Y=q(Y,T,O,R,A[H+3],16,3572445317);R=q(R,Y,T,O,A[H+6],23,76029189);O=q(O,R,Y,T,A[H+9],4,3654602809);
T=q(T,O,R,Y,A[H+12],11,3873151461);Y=q(Y,T,O,R,A[H+15],16,530742520);R=q(R,Y,T,O,A[H+2],23,3299628645);O=D(O,R,Y,T,A[H+0],6,4096336452);T=D(T,O,R,Y,A[H+7],10,1126891415);Y=D(Y,T,O,R,A[H+14],15,2878612391);R=D(R,Y,T,O,A[H+5],21,4237533241);O=D(O,R,Y,T,A[H+12],6,1700485571);T=D(T,O,R,Y,A[H+3],10,2399980690);Y=D(Y,T,O,R,A[H+10],15,4293915773);R=D(R,Y,T,O,A[H+1],21,2240044497);O=D(O,R,Y,T,A[H+8],6,1873313359);T=D(T,O,R,Y,A[H+15],10,4264355552);Y=D(Y,T,O,R,A[H+6],15,2734768916);R=D(R,Y,T,O,A[H+13],21,
1309151649);O=D(O,R,Y,T,A[H+4],6,4149444226);T=D(T,O,R,Y,A[H+11],10,3174756917);Y=D(Y,T,O,R,A[H+2],15,718787259);R=D(R,Y,T,O,A[H+9],21,3951481745);O=l(O,c);R=l(R,N);Y=l(Y,M);T=l(T,K)}return(Q(O)+Q(R)+Q(Y)+Q(T)).toLowerCase()}})})(jQuery);(function(f){function p(){this._curHash="";this._callback=function(){}}f.extend(p.prototype,{init:function(l){this._callback=l;this._curHash=location.hash;if(f.browser.msie){if(this._curHash=="")this._curHash="#";f("body").prepend('<iframe id="jQuery_history" style="display: none;"></iframe>');l=f("#jQuery_history")[0].contentWindow.document;l.open();l.close();l.location.hash=this._curHash}else if(f.browser.safari){this._historyBackStack=[];this._historyBackStack.length=history.length;this._historyForwardStack=
[];this._isFirst=true;this._dontCheck=false}this._callback(this._curHash.replace(/^#/,""));setInterval(this._check,100)},add:function(l){this._historyBackStack.push(l);this._historyForwardStack.length=0;this._isFirst=true},_check:function(){if(f.browser.msie){var l=f("#jQuery_history")[0];l=(l.contentDocument||l.contentWindow.document).location.hash;if(l!=f.history._curHash){location.hash=l;f.history._curHash=l;f.history._callback(l.replace(/^#/,""))}}else if(f.browser.safari){if(!f.history._dontCheck)if(l=
history.length-f.history._historyBackStack.length){f.history._isFirst=false;if(l<0)for(var t=0;t<Math.abs(l);t++)f.history._historyForwardStack.unshift(f.history._historyBackStack.pop());else for(t=0;t<l;t++)f.history._historyBackStack.push(f.history._historyForwardStack.shift());l=f.history._historyBackStack[f.history._historyBackStack.length-1];if(l!=undefined){f.history._curHash=location.hash;f.history._callback(l)}}else if(f.history._historyBackStack[f.history._historyBackStack.length-1]==undefined&&
!f.history._isFirst){document.URL.indexOf("#")>=0?f.history._callback(document.URL.split("#")[1]):f.history._callback("");f.history._isFirst=true}}else{l=location.hash;if(l!=f.history._curHash){f.history._curHash=l;f.history._callback(l.replace(/^#/,""))}}},load:function(l){var t;if(f.browser.safari)t=l;else{t="#"+l;location.hash=t}this._curHash=t;if(f.browser.msie){var y=f("#jQuery_history")[0].contentWindow.document;y.open();y.close();y.location.hash=t;this._callback(l)}else if(f.browser.safari){this._dontCheck=
true;this.add(l);window.setTimeout(function(){f.history._dontCheck=false},200);this._callback(l);location.hash=t}else this._callback(l)}});f(document).ready(function(){f.history=new p})})(jQuery);(function(f){var p=f.fn.height,l=f.fn.width;f.fn.extend({height:function(){if(this[0]==window)return self.innerHeight||f.boxModel&&document.documentElement.clientHeight||document.body.clientHeight;if(this[0]==document)return Math.max(document.body.scrollHeight,document.body.offsetHeight);return p.apply(this,arguments)},width:function(){if(this[0]==window)return self.innerWidth||f.boxModel&&document.documentElement.clientWidth||document.body.clientWidth;if(this[0]==document)return Math.max(document.body.scrollWidth,
document.body.offsetWidth);return l.apply(this,arguments)},innerHeight:function(){return this[0]==window||this[0]==document?this.height():this.is(":visible")?this[0].offsetHeight-t(this,"borderTopWidth")-t(this,"borderBottomWidth"):this.height()+t(this,"paddingTop")+t(this,"paddingBottom")},innerWidth:function(){return this[0]==window||this[0]==document?this.width():this.is(":visible")?this[0].offsetWidth-t(this,"borderLeftWidth")-t(this,"borderRightWidth"):this.width()+t(this,"paddingLeft")+t(this,
"paddingRight")},outerHeight:function(){return this[0]==window||this[0]==document?this.height():this.is(":visible")?this[0].offsetHeight:this.height()+t(this,"borderTopWidth")+t(this,"borderBottomWidth")+t(this,"paddingTop")+t(this,"paddingBottom")},outerWidth:function(){return this[0]==window||this[0]==document?this.width():this.is(":visible")?this[0].offsetWidth:this.width()+t(this,"borderLeftWidth")+t(this,"borderRightWidth")+t(this,"paddingLeft")+t(this,"paddingRight")},scrollLeft:function(x){if(x!=
undefined)return this.each(function(){if(this==window||this==document)window.scrollTo(x,f(window).scrollTop());else this.scrollLeft=x});if(this[0]==window||this[0]==document)return self.pageXOffset||f.boxModel&&document.documentElement.scrollLeft||document.body.scrollLeft;return this[0].scrollLeft},scrollTop:function(x){if(x!=undefined)return this.each(function(){if(this==window||this==document)window.scrollTo(f(window).scrollLeft(),x);else this.scrollTop=x});if(this[0]==window||this[0]==document)return self.pageYOffset||
f.boxModel&&document.documentElement.scrollTop||document.body.scrollTop;return this[0].scrollTop},position:function(x,h){var o=this[0],k=o.parentNode,q=o.offsetParent;x=f.extend({margin:false,border:false,padding:false,scroll:false},x||{});var D=o.offsetLeft,G=o.offsetTop,Q=o.scrollLeft,S=o.scrollTop;if(f.browser.mozilla||f.browser.msie){D+=t(o,"borderLeftWidth");G+=t(o,"borderTopWidth")}if(f.browser.mozilla){do{if(f.browser.mozilla&&k!=o&&f.css(k,"overflow")!="visible"){D+=t(k,"borderLeftWidth");
G+=t(k,"borderTopWidth")}if(k==q)break}while((k=k.parentNode)&&(k.tagName.toLowerCase()!="body"||k.tagName.toLowerCase()!="html"))}x=y(o,x,D,G,Q,S);if(h){f.extend(h,x);return this}else return x},offset:function(x,h){var o=0,k=0,q=0,D=0,G=this[0],Q=this[0],S,H=f.css(G,"position"),A=f.browser.mozilla,c=f.browser.msie,N=f.browser.safari;S=f.browser.opera;var M=false,K=false;x=f.extend({margin:true,border:false,padding:false,scroll:true,lite:false},x||{});if(x.lite)return this.offsetLite(x,h);if(G.tagName.toLowerCase()==
"body"){o=G.offsetLeft;k=G.offsetTop;if(A){o+=t(G,"marginLeft")+t(G,"borderLeftWidth")*2;k+=t(G,"marginTop")+t(G,"borderTopWidth")*2}else if(S){o+=t(G,"marginLeft");k+=t(G,"marginTop")}else if(c&&jQuery.boxModel){o+=t(G,"borderLeftWidth");k+=t(G,"borderTopWidth")}}else{do{S=f.css(Q,"position");o+=Q.offsetLeft;k+=Q.offsetTop;if(A||c){o+=t(Q,"borderLeftWidth");k+=t(Q,"borderTopWidth");if(A&&S=="absolute")M=true;if(c&&S=="relative")K=true}S=Q.offsetParent;if(x.scroll||A){do{if(x.scroll){q+=Q.scrollLeft;
D+=Q.scrollTop}if(A&&Q!=G&&f.css(Q,"overflow")!="visible"){o+=t(Q,"borderLeftWidth");k+=t(Q,"borderTopWidth")}Q=Q.parentNode}while(Q!=S)}Q=S;if(Q.tagName.toLowerCase()=="body"||Q.tagName.toLowerCase()=="html"){if((N||c&&f.boxModel)&&H!="absolute"&&H!="fixed"){o+=t(Q,"marginLeft");k+=t(Q,"marginTop")}if(A&&!M&&H!="fixed"||c&&H=="static"&&!K){o+=t(Q,"borderLeftWidth");k+=t(Q,"borderTopWidth")}break}}while(Q)}x=y(G,x,o,k,q,D);if(h){f.extend(h,x);return this}else return x},offsetLite:function(x,h){var o=
0,k=0,q=0,D=0,G=this[0],Q;x=f.extend({margin:true,border:false,padding:false,scroll:true},x||{});do{o+=G.offsetLeft;k+=G.offsetTop;Q=G.offsetParent;if(x.scroll){do{q+=G.scrollLeft;D+=G.scrollTop;G=G.parentNode}while(G!=Q)}G=Q}while(G&&G.tagName.toLowerCase()!="body"&&G.tagName.toLowerCase()!="html");x=y(this[0],x,o,k,q,D);if(h){f.extend(h,x);return this}else return x}});var t=function(x,h){return parseInt(f.css(x.jquery?x[0]:x,h))||0},y=function(x,h,o,k,q,D){if(!h.margin){o-=t(x,"marginLeft");k-=
t(x,"marginTop")}if(h.border&&(f.browser.safari||f.browser.opera)){o+=t(x,"borderLeftWidth");k+=t(x,"borderTopWidth")}else if(!h.border&&!(f.browser.safari||f.browser.opera)){o-=t(x,"borderLeftWidth");k-=t(x,"borderTopWidth")}if(h.padding){o+=t(x,"paddingLeft");k+=t(x,"paddingTop")}if(h.scroll){q-=x.scrollLeft;D-=x.scrollTop}return h.scroll?{top:k-D,left:o-q,scrollTop:D,scrollLeft:q}:{top:k,left:o}}})(jQuery);jQuery.ui||function(f){function p(k,q,D,G){function Q(H){H=f[k][q][H]||[];return typeof H=="string"?H.split(/,?\s+/):H}var S=Q("getter");if(G.length==1&&typeof G[0]=="string")S=S.concat(Q("getterSetter"));return f.inArray(D,S)!=-1}var l=f.fn.remove,t=f.browser.mozilla&&parseFloat(f.browser.version)<1.9;f.ui={version:"1.7.2",plugin:{add:function(k,q,D){k=f.ui[k].prototype;for(var G in D){k.plugins[G]=k.plugins[G]||[];k.plugins[G].push([q,D[G]])}},call:function(k,q,D){if((q=k.plugins[q])&&k.element[0].parentNode)for(var G=
0;G<q.length;G++)k.options[q[G][0]]&&q[G][1].apply(k.element,D)}},contains:function(k,q){return document.compareDocumentPosition?k.compareDocumentPosition(q)&16:k!==q&&k.contains(q)},hasScroll:function(k,q){if(f(k).css("overflow")=="hidden")return false;q=q&&q=="left"?"scrollLeft":"scrollTop";var D=false;if(k[q]>0)return true;k[q]=1;D=k[q]>0;k[q]=0;return D},isOverAxis:function(k,q,D){return k>q&&k<q+D},isOver:function(k,q,D,G,Q,S){return f.ui.isOverAxis(k,D,Q)&&f.ui.isOverAxis(q,G,S)},keyCode:{BACKSPACE:8,
CAPS_LOCK:20,COMMA:188,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38}};if(t){var y=f.attr,x=f.fn.removeAttr,h=/^aria-/,o=/^wairole:/;f.attr=function(k,q,D){var G=D!==undefined;return q=="role"?G?y.call(this,k,q,"wairole:"+D):(y.apply(this,arguments)||"").replace(o,""):h.test(q)?G?k.setAttributeNS("http://www.w3.org/2005/07/aaa",
q.replace(h,"aaa:"),D):y.call(this,k,q.replace(h,"aaa:")):y.apply(this,arguments)};f.fn.removeAttr=function(k){return h.test(k)?this.each(function(){this.removeAttributeNS("http://www.w3.org/2005/07/aaa",k.replace(h,""))}):x.call(this,k)}}f.fn.extend({remove:function(){f("*",this).add(this).each(function(){f(this).triggerHandler("remove")});return l.apply(this,arguments)},enableSelection:function(){return this.attr("unselectable","off").css("MozUserSelect","").unbind("selectstart.ui")},disableSelection:function(){return this.attr("unselectable",
"on").css("MozUserSelect","none").bind("selectstart.ui",function(){return false})},scrollParent:function(){var k;k=f.browser.msie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(f.curCSS(this,"position",1))&&/(auto|scroll)/.test(f.curCSS(this,"overflow",1)+f.curCSS(this,"overflow-y",1)+f.curCSS(this,"overflow-x",1))}).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(f.curCSS(this,
"overflow",1)+f.curCSS(this,"overflow-y",1)+f.curCSS(this,"overflow-x",1))}).eq(0);return/fixed/.test(this.css("position"))||!k.length?f(document):k}});f.extend(f.expr[":"],{data:function(k,q,D){return!!f.data(k,D[3])},focusable:function(k){var q=k.nodeName.toLowerCase(),D=f.attr(k,"tabindex");return(/input|select|textarea|button|object/.test(q)?!k.disabled:"a"==q||"area"==q?k.href||!isNaN(D):!isNaN(D))&&!f(k)["area"==q?"parents":"closest"](":hidden").length},tabbable:function(k){var q=f.attr(k,"tabindex");
return(isNaN(q)||q>=0)&&f(k).is(":focusable")}});f.widget=function(k,q){var D=k.split(".")[0];k=k.split(".")[1];f.fn[k]=function(G){var Q=typeof G=="string",S=Array.prototype.slice.call(arguments,1);if(Q&&G.substring(0,1)=="_")return this;if(Q&&p(D,k,G,S)){var H=f.data(this[0],k);return H?H[G].apply(H,S):undefined}return this.each(function(){var A=f.data(this,k);!A&&!Q&&f.data(this,k,new f[D][k](this,G))._init();A&&Q&&f.isFunction(A[G])&&A[G].apply(A,S)})};f[D]=f[D]||{};f[D][k]=function(G,Q){var S=
this;this.namespace=D;this.widgetName=k;this.widgetEventPrefix=f[D][k].eventPrefix||k;this.widgetBaseClass=D+"-"+k;this.options=f.extend({},f.widget.defaults,f[D][k].defaults,f.metadata&&f.metadata.get(G)[k],Q);this.element=f(G).bind("setData."+k,function(H,A,c){if(H.target==G)return S._setData(A,c)}).bind("getData."+k,function(H,A){if(H.target==G)return S._getData(A)}).bind("remove",function(){return S.destroy()})};f[D][k].prototype=f.extend({},f.widget.prototype,q);f[D][k].getterSetter="option"};
f.widget.prototype={_init:function(){},destroy:function(){this.element.removeData(this.widgetName).removeClass(this.widgetBaseClass+"-disabled "+this.namespace+"-state-disabled").removeAttr("aria-disabled")},option:function(k,q){var D=k,G=this;if(typeof k=="string"){if(q===undefined)return this._getData(k);D={};D[k]=q}f.each(D,function(Q,S){G._setData(Q,S)})},_getData:function(k){return this.options[k]},_setData:function(k,q){this.options[k]=q;if(k=="disabled")this.element[q?"addClass":"removeClass"](this.widgetBaseClass+
"-disabled "+this.namespace+"-state-disabled").attr("aria-disabled",q)},enable:function(){this._setData("disabled",false)},disable:function(){this._setData("disabled",true)},_trigger:function(k,q,D){var G=this.options[k];k=k==this.widgetEventPrefix?k:this.widgetEventPrefix+k;q=f.Event(q);q.type=k;if(q.originalEvent){k=f.event.props.length;for(var Q;k;){Q=f.event.props[--k];q[Q]=q.originalEvent[Q]}}this.element.trigger(q,D);return!(f.isFunction(G)&&G.call(this.element[0],q,D)===false||q.isDefaultPrevented())}};
f.widget.defaults={disabled:false};f.ui.mouse={_mouseInit:function(){var k=this;this.element.bind("mousedown."+this.widgetName,function(q){return k._mouseDown(q)}).bind("click."+this.widgetName,function(q){if(k._preventClickEvent){k._preventClickEvent=false;q.stopImmediatePropagation();return false}});if(f.browser.msie){this._mouseUnselectable=this.element.attr("unselectable");this.element.attr("unselectable","on")}this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName);
f.browser.msie&&this.element.attr("unselectable",this._mouseUnselectable)},_mouseDown:function(k){k.originalEvent=k.originalEvent||{};if(!k.originalEvent.mouseHandled){this._mouseStarted&&this._mouseUp(k);this._mouseDownEvent=k;var q=this,D=k.which==1,G=typeof this.options.cancel=="string"?f(k.target).parents().add(k.target).filter(this.options.cancel).length:false;if(!D||G||!this._mouseCapture(k))return true;this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet)this._mouseDelayTimer=setTimeout(function(){q.mouseDelayMet=
true},this.options.delay);if(this._mouseDistanceMet(k)&&this._mouseDelayMet(k)){this._mouseStarted=this._mouseStart(k)!==false;if(!this._mouseStarted){k.preventDefault();return true}}this._mouseMoveDelegate=function(Q){return q._mouseMove(Q)};this._mouseUpDelegate=function(Q){return q._mouseUp(Q)};f(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);f.browser.safari||k.preventDefault();return k.originalEvent.mouseHandled=true}},
_mouseMove:function(k){if(f.browser.msie&&!k.button)return this._mouseUp(k);if(this._mouseStarted){this._mouseDrag(k);return k.preventDefault()}if(this._mouseDistanceMet(k)&&this._mouseDelayMet(k))(this._mouseStarted=this._mouseStart(this._mouseDownEvent,k)!==false)?this._mouseDrag(k):this._mouseUp(k);return!this._mouseStarted},_mouseUp:function(k){f(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=
false;this._preventClickEvent=k.target==this._mouseDownEvent.target;this._mouseStop(k)}return false},_mouseDistanceMet:function(k){return Math.max(Math.abs(this._mouseDownEvent.pageX-k.pageX),Math.abs(this._mouseDownEvent.pageY-k.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return true}};f.ui.mouse.defaults={cancel:null,distance:1,delay:0}}(jQuery);(function(f){f.widget("ui.slider",f.extend({},f.ui.mouse,{_init:function(){var p=this,l=this.options;this._keySliding=false;this._handleIndex=null;this._detectOrientation();this._mouseInit();this.element.addClass("ui-slider ui-slider-"+this.orientation+" ui-widget ui-widget-content ui-corner-all");this.range=f([]);if(l.range){if(l.range===true){this.range=f("<div></div>");if(!l.values)l.values=[this._valueMin(),this._valueMin()];if(l.values.length&&l.values.length!=2)l.values=[l.values[0],l.values[0]]}else this.range=
f("<div></div>");this.range.appendTo(this.element).addClass("ui-slider-range");if(l.range=="min"||l.range=="max")this.range.addClass("ui-slider-range-"+l.range);this.range.addClass("ui-widget-header")}f(".ui-slider-handle",this.element).length==0&&f('<a href="#"></a>').appendTo(this.element).addClass("ui-slider-handle");if(l.values&&l.values.length)for(;f(".ui-slider-handle",this.element).length<l.values.length;)f('<a href="#"></a>').appendTo(this.element).addClass("ui-slider-handle");this.handles=
f(".ui-slider-handle",this.element).addClass("ui-state-default ui-corner-all");this.handle=this.handles.eq(0);this.handles.add(this.range).filter("a").click(function(t){t.preventDefault()}).hover(function(){l.disabled||f(this).addClass("ui-state-hover")},function(){f(this).removeClass("ui-state-hover")}).focus(function(){if(l.disabled)f(this).blur();else{f(".ui-slider .ui-state-focus").removeClass("ui-state-focus");f(this).addClass("ui-state-focus")}}).blur(function(){f(this).removeClass("ui-state-focus")});
this.handles.each(function(t){f(this).data("index.ui-slider-handle",t)});this.handles.keydown(function(t){var y=true,x=f(this).data("index.ui-slider-handle");if(!p.options.disabled){switch(t.keyCode){case f.ui.keyCode.HOME:case f.ui.keyCode.END:case f.ui.keyCode.UP:case f.ui.keyCode.RIGHT:case f.ui.keyCode.DOWN:case f.ui.keyCode.LEFT:y=false;if(!p._keySliding){p._keySliding=true;f(this).addClass("ui-state-active");p._start(t,x)}break}var h,o,k=p._step();h=p.options.values&&p.options.values.length?
(o=p.values(x)):(o=p.value());switch(t.keyCode){case f.ui.keyCode.HOME:o=p._valueMin();break;case f.ui.keyCode.END:o=p._valueMax();break;case f.ui.keyCode.UP:case f.ui.keyCode.RIGHT:if(h==p._valueMax())return;o=h+k;break;case f.ui.keyCode.DOWN:case f.ui.keyCode.LEFT:if(h==p._valueMin())return;o=h-k;break}p._slide(t,x,o);return y}}).keyup(function(t){var y=f(this).data("index.ui-slider-handle");if(p._keySliding){p._stop(t,y);p._change(t,y);p._keySliding=false;f(this).removeClass("ui-state-active")}});
this._refreshValue()},destroy:function(){this.handles.remove();this.range.remove();this.element.removeClass("ui-slider ui-slider-horizontal ui-slider-vertical ui-slider-disabled ui-widget ui-widget-content ui-corner-all").removeData("slider").unbind(".slider");this._mouseDestroy()},_mouseCapture:function(p){var l=this.options;if(l.disabled)return false;this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()};this.elementOffset=this.element.offset();var t={x:p.pageX,y:p.pageY},
y=this._normValueFromMouse(t),x=this._valueMax()-this._valueMin()+1,h,o=this,k;this.handles.each(function(q){var D=Math.abs(y-o.values(q));if(x>D){x=D;h=f(this);k=q}});if(l.range==true&&this.values(1)==l.min)h=f(this.handles[++k]);this._start(p,k);o._handleIndex=k;h.addClass("ui-state-active").focus();l=h.offset();this._clickOffset=!f(p.target).parents().andSelf().is(".ui-slider-handle")?{left:0,top:0}:{left:p.pageX-l.left-h.width()/2,top:p.pageY-l.top-h.height()/2-(parseInt(h.css("borderTopWidth"),
10)||0)-(parseInt(h.css("borderBottomWidth"),10)||0)+(parseInt(h.css("marginTop"),10)||0)};y=this._normValueFromMouse(t);this._slide(p,k,y);return true},_mouseStart:function(){return true},_mouseDrag:function(p){var l=this._normValueFromMouse({x:p.pageX,y:p.pageY});this._slide(p,this._handleIndex,l);return false},_mouseStop:function(p){this.handles.removeClass("ui-state-active");this._stop(p,this._handleIndex);this._change(p,this._handleIndex);this._clickOffset=this._handleIndex=null;return false},
_detectOrientation:function(){this.orientation=this.options.orientation=="vertical"?"vertical":"horizontal"},_normValueFromMouse:function(p){var l;if("horizontal"==this.orientation){l=this.elementSize.width;p=p.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)}else{l=this.elementSize.height;p=p.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)}l=p/l;if(l>1)l=1;if(l<0)l=0;if("vertical"==this.orientation)l=1-l;p=this._valueMax()-this._valueMin();p=l*p;l=p%this.options.step;
p=this._valueMin()+p-l;if(l>this.options.step/2)p+=this.options.step;return parseFloat(p.toFixed(5))},_start:function(p,l){var t={handle:this.handles[l],value:this.value()};if(this.options.values&&this.options.values.length){t.value=this.values(l);t.values=this.values()}this._trigger("start",p,t)},_slide:function(p,l,t){if(this.options.values&&this.options.values.length){var y=this.values(l?0:1);if(this.options.values.length==2&&this.options.range===true&&(l==0&&t>y||l==1&&t<y))t=y;if(t!=this.values(l)){y=
this.values();y[l]=t;y=this._trigger("slide",p,{handle:this.handles[l],value:t,values:y});this.values(l?0:1);y!==false&&this.values(l,t,p.type=="mousedown"&&this.options.animate,true)}}else if(t!=this.value()){y=this._trigger("slide",p,{handle:this.handles[l],value:t});y!==false&&this._setData("value",t,p.type=="mousedown"&&this.options.animate)}},_stop:function(p,l){var t={handle:this.handles[l],value:this.value()};if(this.options.values&&this.options.values.length){t.value=this.values(l);t.values=
this.values()}this._trigger("stop",p,t)},_change:function(p,l){var t={handle:this.handles[l],value:this.value()};if(this.options.values&&this.options.values.length){t.value=this.values(l);t.values=this.values()}this._trigger("change",p,t)},value:function(p){if(arguments.length){this._setData("value",p);this._change(null,0)}return this._value()},values:function(p,l,t,y){if(arguments.length>1){this.options.values[p]=l;this._refreshValue(t);y||this._change(null,p)}return arguments.length?this.options.values&&
this.options.values.length?this._values(p):this.value():this._values()},_setData:function(p,l,t){f.widget.prototype._setData.apply(this,arguments);switch(p){case "disabled":if(l){this.handles.filter(".ui-state-focus").blur();this.handles.removeClass("ui-state-hover");this.handles.attr("disabled","disabled")}else this.handles.removeAttr("disabled");case "orientation":this._detectOrientation();this.element.removeClass("ui-slider-horizontal ui-slider-vertical").addClass("ui-slider-"+this.orientation);
this._refreshValue(t);break;case "value":this._refreshValue(t);break}},_step:function(){return this.options.step},_value:function(){var p=this.options.value;if(p<this._valueMin())p=this._valueMin();if(p>this._valueMax())p=this._valueMax();return p},_values:function(p){if(arguments.length){var l=this.options.values[p];if(l<this._valueMin())l=this._valueMin();if(l>this._valueMax())l=this._valueMax();return l}else return this.options.values},_valueMin:function(){return this.options.min},_valueMax:function(){return this.options.max},
_refreshValue:function(p){var l=this.options.range,t=this.options,y=this;if(this.options.values&&this.options.values.length)this.handles.each(function(k){var q=(y.values(k)-y._valueMin())/(y._valueMax()-y._valueMin())*100,D={};D[y.orientation=="horizontal"?"left":"bottom"]=q+"%";f(this).stop(1,1)[p?"animate":"css"](D,t.animate);if(y.options.range===true)if(y.orientation=="horizontal"){k==0&&y.range.stop(1,1)[p?"animate":"css"]({left:q+"%"},t.animate);k==1&&y.range[p?"animate":"css"]({width:q-lastValPercent+
"%"},{queue:false,duration:t.animate})}else{k==0&&y.range.stop(1,1)[p?"animate":"css"]({bottom:q+"%"},t.animate);k==1&&y.range[p?"animate":"css"]({height:q-lastValPercent+"%"},{queue:false,duration:t.animate})}lastValPercent=q});else{var x=this.value(),h=this._valueMin(),o=this._valueMax();x=o!=h?(x-h)/(o-h)*100:0;h={};h[y.orientation=="horizontal"?"left":"bottom"]=x+"%";this.handle.stop(1,1)[p?"animate":"css"](h,t.animate);l=="min"&&this.orientation=="horizontal"&&this.range.stop(1,1)[p?"animate":
"css"]({width:x+"%"},t.animate);l=="max"&&this.orientation=="horizontal"&&this.range[p?"animate":"css"]({width:100-x+"%"},{queue:false,duration:t.animate});l=="min"&&this.orientation=="vertical"&&this.range.stop(1,1)[p?"animate":"css"]({height:x+"%"},t.animate);l=="max"&&this.orientation=="vertical"&&this.range[p?"animate":"css"]({height:100-x+"%"},{queue:false,duration:t.animate})}}}));f.extend(f.ui.slider,{getter:"value values",version:"1.7.2",eventPrefix:"slide",defaults:{animate:false,delay:0,
distance:0,max:100,min:0,orientation:"horizontal",range:false,step:1,value:0,values:null}})})(jQuery);Date.CultureInfo={name:"en-US",englishName:"English (United States)",nativeName:"English (United States)",dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],abbreviatedDayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],shortestDayNames:["Su","Mo","Tu","We","Th","Fr","Sa"],firstLetterDayNames:["S","M","T","W","T","F","S"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],abbreviatedMonthNames:["Jan",
"Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],amDesignator:"AM",pmDesignator:"PM",firstDayOfWeek:0,twoDigitYearMax:2029,dateElementOrder:"mdy",formatPatterns:{shortDate:"M/d/yyyy",longDate:"dddd, MMMM dd, yyyy",shortTime:"h:mm tt",longTime:"h:mm:ss tt",fullDateTime:"dddd, MMMM dd, yyyy h:mm:ss tt",sortableDateTime:"yyyy-MM-ddTHH:mm:ss",universalSortableDateTime:"yyyy-MM-dd HH:mm:ssZ",rfc1123:"ddd, dd MMM yyyy HH:mm:ss GMT",monthDay:"MMMM dd",yearMonth:"MMMM, yyyy"},regexPatterns:{jan:/^jan(uary)?/i,
feb:/^feb(ruary)?/i,mar:/^mar(ch)?/i,apr:/^apr(il)?/i,may:/^may/i,jun:/^jun(e)?/i,jul:/^jul(y)?/i,aug:/^aug(ust)?/i,sep:/^sep(t(ember)?)?/i,oct:/^oct(ober)?/i,nov:/^nov(ember)?/i,dec:/^dec(ember)?/i,sun:/^su(n(day)?)?/i,mon:/^mo(n(day)?)?/i,tue:/^tu(e(s(day)?)?)?/i,wed:/^we(d(nesday)?)?/i,thu:/^th(u(r(s(day)?)?)?)?/i,fri:/^fr(i(day)?)?/i,sat:/^sa(t(urday)?)?/i,future:/^next/i,past:/^last|past|prev(ious)?/i,add:/^(\+|after|from)/i,subtract:/^(\-|before|ago)/i,yesterday:/^yesterday/i,today:/^t(oday)?/i,
tomorrow:/^tomorrow/i,now:/^n(ow)?/i,millisecond:/^ms|milli(second)?s?/i,second:/^sec(ond)?s?/i,minute:/^min(ute)?s?/i,hour:/^h(ou)?rs?/i,week:/^w(ee)?k/i,month:/^m(o(nth)?s?)?/i,day:/^d(ays?)?/i,year:/^y((ea)?rs?)?/i,shortMeridian:/^(a|p)/i,longMeridian:/^(a\.?m?\.?|p\.?m?\.?)/i,timezone:/^((e(s|d)t|c(s|d)t|m(s|d)t|p(s|d)t)|((gmt)?\s*(\+|\-)\s*\d\d\d\d?)|gmt)/i,ordinalSuffix:/^\s*(st|nd|rd|th)/i,timeContext:/^\s*(\:|a|p)/i},abbreviatedTimeZoneStandard:{GMT:"-000",EST:"-0400",CST:"-0500",MST:"-0600",
PST:"-0700"},abbreviatedTimeZoneDST:{GMT:"-000",EDT:"-0500",CDT:"-0600",MDT:"-0700",PDT:"-0800"}};Date.getMonthNumberFromName=function(f){var p=Date.CultureInfo.monthNames,l=Date.CultureInfo.abbreviatedMonthNames;f=f.toLowerCase();for(var t=0;t<p.length;t++)if(p[t].toLowerCase()==f||l[t].toLowerCase()==f)return t;return-1};
Date.getDayNumberFromName=function(f){var p=Date.CultureInfo.dayNames,l=Date.CultureInfo.abbreviatedDayNames;f=f.toLowerCase();for(var t=0;t<p.length;t++)if(p[t].toLowerCase()==f||l[t].toLowerCase()==f)return t;return-1};Date.isLeapYear=function(f){return f%4===0&&f%100!==0||f%400===0};Date.getDaysInMonth=function(f,p){return[31,Date.isLeapYear(f)?29:28,31,30,31,30,31,31,30,31,30,31][p]};Date.getTimezoneOffset=function(f,p){return p?Date.CultureInfo.abbreviatedTimeZoneDST[f.toUpperCase()]:Date.CultureInfo.abbreviatedTimeZoneStandard[f.toUpperCase()]};
Date.getTimezoneAbbreviation=function(f,p){p=p?Date.CultureInfo.abbreviatedTimeZoneDST:Date.CultureInfo.abbreviatedTimeZoneStandard;var l;for(l in p)if(p[l]===f)return l;return null};a=Date.prototype;a.clone=function(){return new Date(this.getTime())};a.compareTo=function(f){if(isNaN(this))throw new Error(this);if(f instanceof Date&&!isNaN(f))return this>f?1:this<f?-1:0;else throw new TypeError(f);};a.equals=function(f){return this.compareTo(f)===0};
a.between=function(f,p){var l=this.getTime();return l>=f.getTime()&&l<=p.getTime()};a.addMilliseconds=function(f){this.setMilliseconds(this.getMilliseconds()+f);return this};a.addSeconds=function(f){return this.addMilliseconds(f*1E3)};a.addMinutes=function(f){return this.addMilliseconds(f*6E4)};a.addHours=function(f){return this.addMilliseconds(f*36E5)};a.addDays=function(f){return this.addMilliseconds(f*864E5)};a.addWeeks=function(f){return this.addMilliseconds(f*6048E5)};
a.addMonths=function(f){var p=this.getDate();this.setDate(1);this.setMonth(this.getMonth()+f);this.setDate(Math.min(p,this.getDaysInMonth()));return this};a.addYears=function(f){return this.addMonths(f*12)};
a.add=function(f){if(typeof f=="number"){this._orient=f;return this}if(f.millisecond||f.milliseconds)this.addMilliseconds(f.millisecond||f.milliseconds);if(f.second||f.seconds)this.addSeconds(f.second||f.seconds);if(f.minute||f.minutes)this.addMinutes(f.minute||f.minutes);if(f.hour||f.hours)this.addHours(f.hour||f.hours);if(f.month||f.months)this.addMonths(f.month||f.months);if(f.year||f.years)this.addYears(f.year||f.years);if(f.day||f.days)this.addDays(f.day||f.days);return this};
Date._validate=function(f,p,l,t){if(typeof f!="number")throw new TypeError(f+" is not a Number.");else if(f<p||f>l)throw new RangeError(f+" is not a valid value for "+t+".");return true};Date.validateMillisecond=function(f){return Date._validate(f,0,999,"milliseconds")};Date.validateSecond=function(f){return Date._validate(f,0,59,"seconds")};Date.validateMinute=function(f){return Date._validate(f,0,59,"minutes")};Date.validateHour=function(f){return Date._validate(f,0,23,"hours")};
Date.validateDay=function(f,p,l){return Date._validate(f,1,Date.getDaysInMonth(p,l),"days")};Date.validateMonth=function(f){return Date._validate(f,0,11,"months")};Date.validateYear=function(f){return Date._validate(f,1,9999,"seconds")};a=Date.prototype;
a.set=function(f){if(!f.millisecond&&f.millisecond!==0)f.millisecond=-1;if(!f.second&&f.second!==0)f.second=-1;if(!f.minute&&f.minute!==0)f.minute=-1;if(!f.hour&&f.hour!==0)f.hour=-1;if(!f.day&&f.day!==0)f.day=-1;if(!f.month&&f.month!==0)f.month=-1;if(!f.year&&f.year!==0)f.year=-1;f.millisecond!=-1&&Date.validateMillisecond(f.millisecond)&&this.addMilliseconds(f.millisecond-this.getMilliseconds());f.second!=-1&&Date.validateSecond(f.second)&&this.addSeconds(f.second-this.getSeconds());f.minute!=-1&&
Date.validateMinute(f.minute)&&this.addMinutes(f.minute-this.getMinutes());f.hour!=-1&&Date.validateHour(f.hour)&&this.addHours(f.hour-this.getHours());f.month!==-1&&Date.validateMonth(f.month)&&this.addMonths(f.month-this.getMonth());f.year!=-1&&Date.validateYear(f.year)&&this.addYears(f.year-this.getFullYear());f.day!=-1&&Date.validateDay(f.day,this.getFullYear(),this.getMonth())&&this.addDays(f.day-this.getDate());f.timezone&&this.setTimezone(f.timezone);f.timezoneOffset&&this.setTimezoneOffset(f.timezoneOffset);
return this};a.clearTime=function(){this.setHours(0);this.setMinutes(0);this.setSeconds(0);this.setMilliseconds(0);return this};a.isLeapYear=function(){var f=this.getFullYear();return f%4===0&&f%100!==0||f%400===0};a.isWeekday=function(){return!(this.is().sat()||this.is().sun())};a.getDaysInMonth=function(){return Date.getDaysInMonth(this.getFullYear(),this.getMonth())};a.moveToFirstDayOfMonth=function(){return this.set({day:1})};a.moveToLastDayOfMonth=function(){return this.set({day:this.getDaysInMonth()})};
a.moveToDayOfWeek=function(f,p){f=(f-this.getDay()+7*(p||+1))%7;return this.addDays(f===0?(f+=7*(p||+1)):f)};a.moveToMonth=function(f,p){f=(f-this.getMonth()+12*(p||+1))%12;return this.addMonths(f===0?(f+=12*(p||+1)):f)};a.getDayOfYear=function(){return Math.floor((this-new Date(this.getFullYear(),0,1))/864E5)};
a.getWeekOfYear=function(f){var p=this.getFullYear(),l=this.getMonth(),t=this.getDate();f=f||Date.CultureInfo.firstDayOfWeek;var y=8-(new Date(p,0,1)).getDay();if(y==8)y=1;l=(Date.UTC(p,l,t,0,0,0)-Date.UTC(p,0,1,0,0,0))/864E5+1;l=Math.floor((l-y+7)/7);if(l===f){p--;p=8-(new Date(p,0,1)).getDay();l=p==2||p==8?53:52}return l};a.isDST=function(){console.log("isDST");return this.toString().match(/(E|C|M|P)(S|D)T/)[2]=="D"};
a.getTimezone=function(){return Date.getTimezoneAbbreviation(this.getUTCOffset,this.isDST())};a.setTimezoneOffset=function(f){var p=this.getTimezoneOffset();this.addMinutes(Number(f)*-6/10-p);return this};a.setTimezone=function(f){return this.setTimezoneOffset(Date.getTimezoneOffset(f))};a.getUTCOffset=function(){var f=this.getTimezoneOffset()*-10/6;if(f<0){f=(f-1E4).toString();return f[0]+f.substr(2)}else{f=(f+1E4).toString();return"+"+f.substr(1)}};
a.getDayName=function(f){return f?Date.CultureInfo.abbreviatedDayNames[this.getDay()]:Date.CultureInfo.dayNames[this.getDay()]};a.getMonthName=function(f){return f?Date.CultureInfo.abbreviatedMonthNames[this.getMonth()]:Date.CultureInfo.monthNames[this.getMonth()]};a._toString=Date.prototype.toString;
a.toString=function(f){var p=this,l=function(t){return t.toString().length==1?"0"+t:t};return f?f.replace(/dd?d?d?|MM?M?M?|yy?y?y?|hh?|HH?|mm?|ss?|tt?|zz?z?/g,function(t){switch(t){case "hh":return l(p.getHours()<13?p.getHours():p.getHours()-12);case "h":return p.getHours()<13?p.getHours():p.getHours()-12;case "HH":return l(p.getHours());case "H":return p.getHours();case "mm":return l(p.getMinutes());case "m":return p.getMinutes();case "ss":return l(p.getSeconds());case "s":return p.getSeconds();
case "yyyy":return p.getFullYear();case "yy":return p.getFullYear().toString().substring(2,4);case "dddd":return p.getDayName();case "ddd":return p.getDayName(true);case "dd":return l(p.getDate());case "d":return p.getDate().toString();case "MMMM":return p.getMonthName();case "MMM":return p.getMonthName(true);case "MM":return l(p.getMonth()+1);case "M":return p.getMonth()+1;case "t":return p.getHours()<12?Date.CultureInfo.amDesignator.substring(0,1):Date.CultureInfo.pmDesignator.substring(0,1);case "tt":return p.getHours()<
12?Date.CultureInfo.amDesignator:Date.CultureInfo.pmDesignator;case "zzz":case "zz":case "z":return""}}):this._toString()};Date.now=function(){return new Date};Date.today=function(){return Date.now().clearTime()};a=Date.prototype;a._orient=+1;a.next=function(){this._orient=+1;return this};a.last=Date.prototype.prev=Date.prototype.previous=function(){this._orient=-1;return this};a._is=false;a.is=function(){this._is=true;return this};Number.prototype._dateElement="day";
Number.prototype.fromNow=function(){var f={};f[this._dateElement]=this;return Date.now().add(f)};Number.prototype.ago=function(){var f={};f[this._dateElement]=this*-1;return Date.now().add(f)};
(function(){for(var f=Date.prototype,p=Number.prototype,l="sunday monday tuesday wednesday thursday friday saturday".split(/\s/),t="january february march april may june july august september october november december".split(/\s/),y="Millisecond Second Minute Hour Day Week Month Year".split(/\s/),x=function(o){return function(){if(this._is){this._is=false;return this.getDay()==o}return this.moveToDayOfWeek(o,this._orient)}},h=0;h<l.length;h++)f[l[h]]=f[l[h].substring(0,3)]=x(h);l=function(o){return function(){if(this._is){this._is=
false;return this.getMonth()===o}return this.moveToMonth(o,this._orient)}};for(x=0;x<t.length;x++)f[t[x]]=f[t[x].substring(0,3)]=l(x);l=function(o){return function(){if(o.substring(o.length-1)!="s")o+="s";return this["add"+o](this._orient)}};x=function(o){return function(){this._dateElement=o;return this}};for(h=0;h<y.length;h++){t=y[h].toLowerCase();f[t]=f[t+"s"]=l(y[h]);p[t]=p[t+"s"]=x(t)}})();a=Date.prototype;a.toJSONString=function(){return this.toString("yyyy-MM-ddThh:mm:ssZ")};
a.toShortDateString=function(){return this.toString(Date.CultureInfo.formatPatterns.shortDatePattern)};a.toLongDateString=function(){return this.toString(Date.CultureInfo.formatPatterns.longDatePattern)};a.toShortTimeString=function(){return this.toString(Date.CultureInfo.formatPatterns.shortTimePattern)};a.toLongTimeString=function(){return this.toString(Date.CultureInfo.formatPatterns.longTimePattern)};
a.getOrdinal=function(){switch(this.getDate()){case 1:case 21:case 31:return"st";case 2:case 22:return"nd";case 3:case 23:return"rd";default:return"th"}};
(function(){Date.Parsing={Exception:function(x){this.message="Parse error at '"+x.substring(0,10)+" ...'"}};for(var f=Date.Parsing,p=f.Operators={rtoken:function(x){return function(h){var o=h.match(x);if(o)return[o[0],h.substring(o[0].length)];else throw new f.Exception(h);}},token:function(){return function(x){return p.rtoken(new RegExp("^s*"+x+"s*"))(x)}},stoken:function(x){return p.rtoken(new RegExp("^"+x))},until:function(x){return function(h){for(var o=[],k=null;h.length;){try{k=x.call(this,
h)}catch(q){o.push(k[0]);h=k[1];continue}break}return[o,h]}},many:function(x){return function(h){for(var o=[],k=null;h.length;){try{k=x.call(this,h)}catch(q){return[o,h]}o.push(k[0]);h=k[1]}return[o,h]}},optional:function(x){return function(h){var o=null;try{o=x.call(this,h)}catch(k){return[null,h]}return[o[0],o[1]]}},not:function(x){return function(h){try{x.call(this,h)}catch(o){return[null,h]}throw new f.Exception(h);}},ignore:function(x){return x?function(h){var o=null;o=x.call(this,h);return[null,
o[1]]}:null},product:function(){for(var x=arguments[0],h=Array.prototype.slice.call(arguments,1),o=[],k=0;k<x.length;k++)o.push(p.each(x[k],h));return o},cache:function(x){var h={},o=null;return function(k){try{o=h[k]=h[k]||x.call(this,k)}catch(q){o=h[k]=q}if(o instanceof f.Exception)throw o;else return o}},any:function(){var x=arguments;return function(h){for(var o=null,k=0;k<x.length;k++)if(x[k]!=null){try{o=x[k].call(this,h)}catch(q){o=null}if(o)return o}throw new f.Exception(h);}},each:function(){var x=
arguments;return function(h){for(var o=[],k=null,q=0;q<x.length;q++)if(x[q]!=null){try{k=x[q].call(this,h)}catch(D){throw new f.Exception(h);}o.push(k[0]);h=k[1]}return[o,h]}},all:function(){var x=x;return x.each(x.optional(arguments))},sequence:function(x,h,o){h=h||p.rtoken(/^\s*/);o=o||null;if(x.length==1)return x[0];return function(k){for(var q=null,D=null,G=[],Q=0;Q<x.length;Q++){try{q=x[Q].call(this,k)}catch(S){break}G.push(q[0]);try{D=h.call(this,q[1])}catch(H){D=null;break}k=D[1]}if(!q)throw new f.Exception(k);
if(D)throw new f.Exception(D[1]);if(o)try{q=o.call(this,q[1])}catch(A){throw new f.Exception(q[1]);}return[G,q?q[1]:k]}},between:function(x,h,o){o=o||x;var k=p.each(p.ignore(x),h,p.ignore(o));return function(q){q=k.call(this,q);return[[q[0][0],r[0][2]],q[1]]}},list:function(x,h,o){h=h||p.rtoken(/^\s*/);o=o||null;return x instanceof Array?p.each(p.product(x.slice(0,-1),p.ignore(h)),x.slice(-1),p.ignore(o)):p.each(p.many(p.each(x,p.ignore(h))),px,p.ignore(o))},set:function(x,h,o){h=h||p.rtoken(/^\s*/);
o=o||null;return function(k){var q=null;for(var D=q=null,G=null,Q=[[],k],S=false,H=0;H<x.length;H++){q=D=null;S=x.length==1;try{q=x[H].call(this,k)}catch(A){continue}G=[[q[0]],q[1]];if(q[1].length>0&&!S)try{D=h.call(this,q[1])}catch(c){S=true}else S=true;if(!S&&D[1].length===0)S=true;if(!S){q=[];for(S=0;S<x.length;S++)H!=S&&q.push(x[S]);q=p.set(q,h).call(this,D[1]);if(q[0].length>0){G[0]=G[0].concat(q[0]);G[1]=q[1]}}if(G[1].length<Q[1].length)Q=G;if(Q[1].length===0)break}if(Q[0].length===0)return Q;
if(o){try{D=o.call(this,Q[1])}catch(N){throw new f.Exception(Q[1]);}Q[1]=D[1]}return Q}},forward:function(x,h){return function(o){return x[h].call(this,o)}},replace:function(x,h){return function(o){o=x.call(this,o);return[h,o[1]]}},process:function(x,h){return function(o){o=x.call(this,o);return[h.call(this,o[0]),o[1]]}},min:function(x,h){return function(o){var k=h.call(this,o);if(k[0].length<x)throw new f.Exception(o);return k}}},l=function(x){return function(){var h=null,o=[];if(arguments.length>
1)h=Array.prototype.slice.call(arguments);else if(arguments[0]instanceof Array)h=arguments[0];if(h)for(var k=h.shift();0<k.length;){h.unshift(k[0]);o.push(x.apply(null,h));h.shift();return o}else return x.apply(null,arguments)}},t="optional not ignore cache".split(/\s/),y=0;y<t.length;y++)p[t[y]]=l(p[t[y]]);l=function(x){return function(){return arguments[0]instanceof Array?x.apply(null,arguments[0]):x.apply(null,arguments)}};t="each any all".split(/\s/);for(y=0;y<t.length;y++)p[t[y]]=l(p[t[y]])})();
(function(){var f=function(k){for(var q=[],D=0;D<k.length;D++)if(k[D]instanceof Array)q=q.concat(f(k[D]));else k[D]&&q.push(k[D]);return q};Date.Grammar={};Date.Translator={hour:function(k){return function(){this.hour=Number(k)}},minute:function(k){return function(){this.minute=Number(k)}},second:function(k){return function(){this.second=Number(k)}},meridian:function(k){return function(){this.meridian=k.slice(0,1).toLowerCase()}},timezone:function(k){return function(){var q=k.replace(/[^\d\+\-]/g,
"");if(q.length)this.timezoneOffset=Number(q);else this.timezone=k.toLowerCase()}},day:function(k){var q=k[0];return function(){this.day=Number(q.match(/\d+/)[0])}},month:function(k){return function(){this.month=k.length==3?Date.getMonthNumberFromName(k):Number(k)-1}},year:function(k){return function(){var q=Number(k);this.year=k.length>2?q:q+(q+2E3<Date.CultureInfo.twoDigitYearMax?2E3:1900)}},rday:function(k){return function(){switch(k){case "yesterday":this.days=-1;break;case "tomorrow":this.days=
1;break;case "today":this.days=0;break;case "now":this.days=0;this.now=true;break}}},finishExact:function(k){k=k instanceof Array?k:[k];var q=new Date;this.year=q.getFullYear();this.month=q.getMonth();this.day=1;for(q=this.second=this.minute=this.hour=0;q<k.length;q++)k[q]&&k[q].call(this);this.hour=this.meridian=="p"&&this.hour<13?this.hour+12:this.hour;if(this.day>Date.getDaysInMonth(this.year,this.month))throw new RangeError(this.day+" is not a valid value for days.");k=new Date(this.year,this.month,
this.day,this.hour,this.minute,this.second);if(this.timezone)k.set({timezone:this.timezone});else this.timezoneOffset&&k.set({timezoneOffset:this.timezoneOffset});return k},finish:function(k){k=k instanceof Array?f(k):[k];if(k.length===0)return null;for(var q=0;q<k.length;q++)typeof k[q]=="function"&&k[q].call(this);if(this.now)return new Date;k=Date.today();if(this.days!=null||this.orient||this.operator){var D,G;G=this.orient=="past"||this.operator=="subtract"?-1:1;if(this.weekday){this.unit="day";
q=Date.getDayNumberFromName(this.weekday)-k.getDay();D=7;this.days=q?(q+G*D)%D:G*D}if(this.month){this.unit="month";q=this.month-k.getMonth();D=12;this.months=q?(q+G*D)%D:G*D;this.month=null}if(!this.unit)this.unit="day";if(this[this.unit+"s"]==null||this.operator!=null){if(!this.value)this.value=1;if(this.unit=="week"){this.unit="day";this.value*=7}this[this.unit+"s"]=this.value*G}return k.add(this)}else{if(this.meridian&&this.hour)this.hour=this.hour<13&&this.meridian=="p"?this.hour+12:this.hour;
if(this.weekday&&!this.day)this.day=k.addDays(Date.getDayNumberFromName(this.weekday)-k.getDay()).getDate();if(this.month&&!this.day)this.day=1;return k.set(this)}}};var p=Date.Parsing.Operators,l=Date.Grammar,t=Date.Translator,y;l.datePartDelimiter=p.rtoken(/^([\s\-\.\,\/\x27]+)/);l.timePartDelimiter=p.stoken(":");l.whiteSpace=p.rtoken(/^\s*/);l.generalDelimiter=p.rtoken(/^(([\s\,]|at|on)+)/);var x={};l.ctoken=function(k){var q=x[k];if(!q){q=Date.CultureInfo.regexPatterns;for(var D=k.split(/\s+/),
G=[],Q=0;Q<D.length;Q++)G.push(p.replace(p.rtoken(q[D[Q]]),D[Q]));q=x[k]=p.any.apply(null,G)}return q};l.ctoken2=function(k){return p.rtoken(Date.CultureInfo.regexPatterns[k])};l.h=p.cache(p.process(p.rtoken(/^(0[0-9]|1[0-2]|[1-9])/),t.hour));l.hh=p.cache(p.process(p.rtoken(/^(0[0-9]|1[0-2])/),t.hour));l.H=p.cache(p.process(p.rtoken(/^([0-1][0-9]|2[0-3]|[0-9])/),t.hour));l.HH=p.cache(p.process(p.rtoken(/^([0-1][0-9]|2[0-3])/),t.hour));l.m=p.cache(p.process(p.rtoken(/^([0-5][0-9]|[0-9])/),t.minute));
l.mm=p.cache(p.process(p.rtoken(/^[0-5][0-9]/),t.minute));l.s=p.cache(p.process(p.rtoken(/^([0-5][0-9]|[0-9])/),t.second));l.ss=p.cache(p.process(p.rtoken(/^[0-5][0-9]/),t.second));l.hms=p.cache(p.sequence([l.H,l.mm,l.ss],l.timePartDelimiter));l.t=p.cache(p.process(l.ctoken2("shortMeridian"),t.meridian));l.tt=p.cache(p.process(l.ctoken2("longMeridian"),t.meridian));l.z=p.cache(p.process(p.rtoken(/^(\+|\-)?\s*\d\d\d\d?/),t.timezone));l.zz=p.cache(p.process(p.rtoken(/^(\+|\-)\s*\d\d\d\d/),t.timezone));
l.zzz=p.cache(p.process(l.ctoken2("timezone"),t.timezone));l.timeSuffix=p.each(p.ignore(l.whiteSpace),p.set([l.tt,l.zzz]));l.time=p.each(p.optional(p.ignore(p.stoken("T"))),l.hms,l.timeSuffix);l.d=p.cache(p.process(p.each(p.rtoken(/^([0-2]\d|3[0-1]|\d)/),p.optional(l.ctoken2("ordinalSuffix"))),t.day));l.dd=p.cache(p.process(p.each(p.rtoken(/^([0-2]\d|3[0-1])/),p.optional(l.ctoken2("ordinalSuffix"))),t.day));l.ddd=l.dddd=p.cache(p.process(l.ctoken("sun mon tue wed thu fri sat"),function(k){return function(){this.weekday=
k}}));l.M=p.cache(p.process(p.rtoken(/^(1[0-2]|0\d|\d)/),t.month));l.MM=p.cache(p.process(p.rtoken(/^(1[0-2]|0\d)/),t.month));l.MMM=l.MMMM=p.cache(p.process(l.ctoken("jan feb mar apr may jun jul aug sep oct nov dec"),t.month));l.y=p.cache(p.process(p.rtoken(/^(\d\d?)/),t.year));l.yy=p.cache(p.process(p.rtoken(/^(\d\d)/),t.year));l.yyy=p.cache(p.process(p.rtoken(/^(\d\d?\d?\d?)/),t.year));l.yyyy=p.cache(p.process(p.rtoken(/^(\d\d\d\d)/),t.year));y=function(){return p.each(p.any.apply(null,arguments),
p.not(l.ctoken2("timeContext")))};l.day=y(l.d,l.dd);l.month=y(l.M,l.MMM);l.year=y(l.yyyy,l.yy);l.orientation=p.process(l.ctoken("past future"),function(k){return function(){this.orient=k}});l.operator=p.process(l.ctoken("add subtract"),function(k){return function(){this.operator=k}});l.rday=p.process(l.ctoken("yesterday tomorrow today now"),t.rday);l.unit=p.process(l.ctoken("minute hour day week month year"),function(k){return function(){this.unit=k}});l.value=p.process(p.rtoken(/^\d\d?(st|nd|rd|th)?/),
function(k){return function(){this.value=k.replace(/\D/g,"")}});l.expression=p.set([l.rday,l.operator,l.value,l.unit,l.orientation,l.ddd,l.MMM]);y=function(){return p.set(arguments,l.datePartDelimiter)};l.mdy=y(l.ddd,l.month,l.day,l.year);l.ymd=y(l.ddd,l.year,l.month,l.day);l.dmy=y(l.ddd,l.day,l.month,l.year);l.date=function(k){return(l[Date.CultureInfo.dateElementOrder]||l.mdy).call(this,k)};l.format=p.process(p.many(p.any(p.process(p.rtoken(/^(dd?d?d?|MM?M?M?|yy?y?y?|hh?|HH?|mm?|ss?|tt?|zz?z?)/),
function(k){if(l[k])return l[k];else throw Date.Parsing.Exception(k);}),p.process(p.rtoken(/^[^dMyhHmstz]+/),function(k){return p.ignore(p.stoken(k))}))),function(k){return p.process(p.each.apply(null,k),t.finishExact)});var h={},o=function(k){return h[k]=h[k]||l.format(k)[0]};l.formats=function(k){if(k instanceof Array){for(var q=[],D=0;D<k.length;D++)q.push(o(k[D]));return p.any.apply(null,q)}else return o(k)};l._formats=l.formats(["yyyy-MM-ddTHH:mm:ss","ddd, MMM dd, yyyy H:mm:ss tt","ddd MMM d yyyy HH:mm:ss zzz",
"d"]);l._start=p.process(p.set([l.date,l.time,l.expression],l.generalDelimiter,l.whiteSpace),t.finish);l.start=function(k){try{var q=l._formats.call({},k);if(q[1].length===0)return q}catch(D){}return l._start.call({},k)}})();Date._parse=Date.parse;Date.parse=function(f){var p=null;if(!f)return null;try{p=Date.Grammar.start.call({},f)}catch(l){return null}return p[1].length===0?p[0]:null};
Date.getParseFunction=function(f){var p=Date.Grammar.formats(f);return function(l){var t=null;try{t=p.call({},l)}catch(y){return null}return t[1].length===0?t[0]:null}};Date.parseExact=function(f,p){return Date.getParseFunction(p)(f)};window.Raphael=function(){function f(e,j,u){function w(){var z=Array[c].slice.call(arguments,0),v=z[H]("\u25ba"),I=w.cache=w.cache||{},B=w.count=w.count||[];if(I[S](v))return u?u(I[v]):I[v];B[A]>=1E3&&delete I[B.shift()];B[$](v);I[v]=e[D](j,z);return u?u(I[v]):I[v]}return w}function p(){return this.x+G+this.y}function l(e){return function(j,u,w,z){var v={back:e};k.is(w,"function")?(z=w):(v.rot=w);j&&j.constructor==ga&&(j=j.attrs.path);j&&(v.along=j);return this.animate(v,u,z)}}var t=/[, ]+/,y=/^(circle|rect|path|ellipse|text|image)$/,
x=document,h=window,o={was:"Raphael"in h,is:h.Raphael},k=function(){if(k.is(arguments[0],"array")){for(var e=arguments[0],j=Wa[D](k,e.splice(0,3+k.is(e[0],R))),u=j.set(),w=0,z=e[A];w<z;w++){var v=e[w]||{};y.test(v.type)&&u[$](j[v.type]().attr(v))}return u}return Wa[D](k,arguments)},q=function(){},D="apply",G=" ",Q="click dblclick mousedown mousemove mouseout mouseover mouseup".split(G),S="hasOwnProperty",H="join",A="length",c="prototype",N=String[c].toLowerCase,M=Math,K=M.max,O=M.min,R="number",Y=
Object[c].toString,T=M.pow,$="push",da=/^(?=[\da-f]$)/,qa=/^url\(['"]?([^\)]+)['"]?\)$/i,xa=/^\s*((#[a-f\d]{6})|(#[a-f\d]{3})|rgb\(\s*([\d\.]+\s*,\s*[\d\.]+\s*,\s*[\d\.]+)\s*\)|rgb\(\s*([\d\.]+%\s*,\s*[\d\.]+%\s*,\s*[\d\.]+%)\s*\)|hs[bl]\(\s*([\d\.]+\s*,\s*[\d\.]+\s*,\s*[\d\.]+)\s*\)|hs[bl]\(\s*([\d\.]+%\s*,\s*[\d\.]+%\s*,\s*[\d\.]+%)\s*\))\s*$/i,ca=M.round,fa=parseFloat,wa=parseInt,Ca=String[c].toUpperCase,Na={"clip-rect":"0 0 1e9 1e9",cursor:"default",cx:0,cy:0,fill:"#fff","fill-opacity":1,font:'10px "Arial"',
"font-family":'"Arial"',"font-size":"10","font-style":"normal","font-weight":400,gradient:0,height:0,href:"http://raphaeljs.com/",opacity:1,path:"M0,0",r:0,rotation:0,rx:0,ry:0,scale:"1 1",src:"",stroke:"#000","stroke-dasharray":"","stroke-linecap":"butt","stroke-linejoin":"butt","stroke-miterlimit":0,"stroke-opacity":1,"stroke-width":1,target:"_blank","text-anchor":"middle",title:"Raphael",translation:"0 0",width:0,x:0,y:0},Ga={along:"along","clip-rect":"csv",cx:R,cy:R,fill:"colour","fill-opacity":R,
"font-size":R,height:R,opacity:R,path:"path",r:R,rotation:"csv",rx:R,ry:R,scale:"csv",stroke:"colour","stroke-opacity":R,"stroke-width":R,translation:"csv",width:R,x:R,y:R};k.version="1.3.0";k.type=h.SVGAngle||x.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1")?"SVG":"VML";if(k.type=="VML"){var La=document.createElement("div");La.innerHTML="<!--[if vml]><br><br><![endif]--\>";if(La.childNodes[A]!=2)return null}k.svg=!(k.vml=k.type=="VML");q[c]=k[c];k._id=0;k._oid=
0;k.fn={};k.is=function(e,j){j=N.call(j);return(j=="object"||j=="undefined")&&typeof e==j||e==null&&j=="null"||N.call(Y.call(e).slice(8,-1))==j};k.setWindow=function(e){h=e;x=h.document};var ka=function(e){if(k.vml){var j=/^\s+|\s+$/g;ka=f(function(w){var z;w=(w+"").replace(j,"");try{var v=new ActiveXObject("htmlfile");v.write("<body>");v.close();z=v.body}catch(I){z=createPopup().document.body}v=z.createTextRange();try{z.style.color=w;var B=v.queryCommandValue("ForeColor");B=(B&255)<<16|B&65280|(B&
16711680)>>>16;return"#"+("000000"+B.toString(16)).slice(-6)}catch(E){return"none"}})}else{var u=x.createElement("i");u.title="Rapha\u00ebl Colour Picker";u.style.display="none";x.body.appendChild(u);ka=f(function(w){u.style.color=w;return x.defaultView.getComputedStyle(u,"").getPropertyValue("color")})}return ka(e)};k.hsb2rgb=f(function(e,j,u){if(k.is(e,"object")&&"h"in e&&"s"in e&&"b"in e){u=e.b;j=e.s;e=e.h}var w;if(u==0)return{r:0,g:0,b:0,hex:"#000"};if(e>1||j>1||u>1){e/=255;j/=255;u/=255}w=~~(e*
6);e=e*6-w;var z=u*(1-j),v=u*(1-j*e),I=u*(1-j*(1-e));e=[u,v,z,z,I,u,u][w];j=[I,u,u,v,z,z,I][w];w=[z,z,I,u,u,v,z][w];e*=255;j*=255;w*=255;u={r:e,g:j,b:w};e=(~~e).toString(16);j=(~~j).toString(16);w=(~~w).toString(16);e=e.replace(da,"0");j=j.replace(da,"0");w=w.replace(da,"0");u.hex="#"+e+j+w;return u},k);k.rgb2hsb=f(function(e,j,u){if(k.is(e,"object")&&"r"in e&&"g"in e&&"b"in e){u=e.b;j=e.g;e=e.r}if(k.is(e,"string")){var w=k.getRGB(e);e=w.r;j=w.g;u=w.b}if(e>1||j>1||u>1){e/=255;j/=255;u/=255}w=K(e,
j,u);var z=O(e,j,u);if(z==w)return{h:0,s:0,b:w};else{var v=w-z;z=v/w;e=e==w?(j-u)/v:j==w?2+(u-e)/v:4+(e-j)/v;e/=6;e<0&&e++;e>1&&e--}return{h:e,s:z,b:w}},k);var ra=/,?([achlmqrstvxz]),?/gi;k._path2string=function(){return this.join(",").replace(ra,"$1")};k.getRGB=f(function(e){if(!e||(e+="").indexOf("-")+1)return{r:-1,g:-1,b:-1,hex:"none",error:1};if(e=="none")return{r:-1,g:-1,b:-1,hex:"none"};!({hs:1,rg:1}[S](e.substring(0,2))||e.charAt()=="#")&&(e=ka(e));var j,u,w,z;if(e=e.match(xa)){if(e[2]){w=
wa(e[2].substring(5),16);u=wa(e[2].substring(3,5),16);j=wa(e[2].substring(1,3),16)}if(e[3]){w=wa((z=e[3].charAt(3))+z,16);u=wa((z=e[3].charAt(2))+z,16);j=wa((z=e[3].charAt(1))+z,16)}if(e[4]){e=e[4].split(/\s*,\s*/);j=fa(e[0]);u=fa(e[1]);w=fa(e[2])}if(e[5]){e=e[5].split(/\s*,\s*/);j=fa(e[0])*2.55;u=fa(e[1])*2.55;w=fa(e[2])*2.55}if(e[6]){e=e[6].split(/\s*,\s*/);j=fa(e[0]);u=fa(e[1]);w=fa(e[2]);return k.hsb2rgb(j,u,w)}if(e[7]){e=e[7].split(/\s*,\s*/);j=fa(e[0])*2.55;u=fa(e[1])*2.55;w=fa(e[2])*2.55;return k.hsb2rgb(j,
u,w)}e={r:j,g:u,b:w};j=(~~j).toString(16);u=(~~u).toString(16);w=(~~w).toString(16);j=j.replace(da,"0");u=u.replace(da,"0");w=w.replace(da,"0");e.hex="#"+j+u+w;return e}return{r:-1,g:-1,b:-1,hex:"none",error:1}},k);k.getColor=function(e){e=this.getColor.start=this.getColor.start||{h:0,s:1,b:e||0.75};var j=this.hsb2rgb(e.h,e.s,e.b);e.h+=0.075;if(e.h>1){e.h=0;e.s-=0.2;e.s<=0&&(this.getColor.start={h:0,s:1,b:e.b})}return j.hex};k.getColor.reset=function(){delete this.start};k.parsePathString=f(function(e){if(!e)return null;
var j={a:7,c:6,h:1,l:2,m:2,q:4,s:4,t:2,v:1,z:0},u=[];if(k.is(e,"array")&&k.is(e[0],"array"))u=na(e);u[A]||(e+"").replace(/([achlmqstvz])[\s,]*((-?\d*\.?\d*(?:e[-+]?\d+)?\s*,?\s*)+)/ig,function(w,z,v){var I=[];w=N.call(z);for(v.replace(/(-?\d*\.?\d*(?:e[-+]?\d+)?)\s*,?\s*/ig,function(B,E){E&&I[$](+E)});I[A]>=j[w];){u[$]([z].concat(I.splice(0,j[w])));if(!j[w])break}});u.toString=k._path2string;return u});k.findDotsAtSegment=function(e,j,u,w,z,v,I,B,E){var J=1-E,b=T(J,3)*e+T(J,2)*3*E*u+J*3*E*E*z+T(E,
3)*I;J=T(J,3)*j+T(J,2)*3*E*w+J*3*E*E*v+T(E,3)*B;var g=e+2*E*(u-e)+E*E*(z-2*u+e),m=j+2*E*(w-j)+E*E*(v-2*w+j),s=u+2*E*(z-u)+E*E*(I-2*z+u),n=w+2*E*(v-w)+E*E*(B-2*v+w);e=(1-E)*e+E*u;j=(1-E)*j+E*w;z=(1-E)*z+E*I;v=(1-E)*v+E*B;B=90-M.atan((g-s)/(m-n))*180/M.PI;(g>s||m<n)&&(B+=180);return{x:b,y:J,m:{x:g,y:m},n:{x:s,y:n},start:{x:e,y:j},end:{x:z,y:v},alpha:B}};var ia=f(function(e){if(!e)return{x:0,y:0,width:0,height:0};e=Qa(e);for(var j=0,u=0,w=[],z=[],v,I=0,B=e[A];I<B;I++){v=e[I];if(v[0]=="M"){j=v[1];u=v[2];
w[$](j);z[$](u)}else{j=Oa(j,u,v[1],v[2],v[3],v[4],v[5],v[6]);w=w.concat(j.min.x,j.max.x);z=z.concat(j.min.y,j.max.y);j=v[5];u=v[6]}}e=O[D](0,w);v=O[D](0,z);return{x:e,y:v,width:K[D](0,w)-e,height:K[D](0,z)-v}}),na=function(e){var j=[];if(!k.is(e,"array")||!k.is(e&&e[0],"array"))e=k.parsePathString(e);for(var u=0,w=e[A];u<w;u++){j[u]=[];for(var z=0,v=e[u][A];z<v;z++)j[u][z]=e[u][z]}j.toString=k._path2string;return j},ua=f(function(e){if(!k.is(e,"array")||!k.is(e&&e[0],"array"))e=k.parsePathString(e);
var j=[],u=0,w=0,z=0,v=0,I=0;if(e[0][0]=="M"){u=e[0][1];w=e[0][2];z=u;v=w;I++;j[$](["M",u,w])}I=I;for(var B=e[A];I<B;I++){var E=j[I]=[],J=e[I];if(J[0]!=N.call(J[0])){E[0]=N.call(J[0]);switch(E[0]){case "a":E[1]=J[1];E[2]=J[2];E[3]=J[3];E[4]=J[4];E[5]=J[5];E[6]=+(J[6]-u).toFixed(3);E[7]=+(J[7]-w).toFixed(3);break;case "v":E[1]=+(J[1]-w).toFixed(3);break;case "m":z=J[1];v=J[2];default:for(var b=1,g=J[A];b<g;b++)E[b]=+(J[b]-(b%2?u:w)).toFixed(3)}}else{j[I]=[];if(J[0]=="m"){z=J[1]+u;v=J[2]+w}E=0;for(b=
J[A];E<b;E++)j[I][E]=J[E]}J=j[I][A];switch(j[I][0]){case "z":u=z;w=v;break;case "h":u+=+j[I][J-1];break;case "v":w+=+j[I][J-1];break;default:u+=+j[I][J-2];w+=+j[I][J-1]}}j.toString=k._path2string;return j},0,na),sa=f(function(e){if(!k.is(e,"array")||!k.is(e&&e[0],"array"))e=k.parsePathString(e);var j=[],u=0,w=0,z=0,v=0,I=0;if(e[0][0]=="M"){u=+e[0][1];w=+e[0][2];z=u;v=w;I++;j[0]=["M",u,w]}I=I;for(var B=e[A];I<B;I++){var E=j[I]=[],J=e[I];if(J[0]!=Ca.call(J[0])){E[0]=Ca.call(J[0]);switch(E[0]){case "A":E[1]=
J[1];E[2]=J[2];E[3]=J[3];E[4]=J[4];E[5]=J[5];E[6]=+(J[6]+u);E[7]=+(J[7]+w);break;case "V":E[1]=+J[1]+w;break;case "H":E[1]=+J[1]+u;break;case "M":z=+J[1]+u;v=+J[2]+w;default:for(var b=1,g=J[A];b<g;b++)E[b]=+J[b]+(b%2?u:w)}}else{b=0;for(g=J[A];b<g;b++)j[I][b]=J[b]}switch(E[0]){case "Z":u=z;w=v;break;case "H":u=E[1];break;case "V":w=E[1];break;default:u=j[I][j[I][A]-2];w=j[I][j[I][A]-1]}}j.toString=k._path2string;return j},null,na),Ma=function(e,j,u,w){return[e,j,u,w,u,w]},Aa=function(e,j,u,w,z,v){var I=
1/3,B=2/3;return[I*e+B*u,I*j+B*w,I*z+B*u,I*v+B*w,z,v]},za=function(e,j,u,w,z,v,I,B,E,J){var b=M.PI,g=b*120/180,m=b/180*(+z||0),s=[],n,F=f(function(W,ea,ma){var ta=W*M.cos(ma)-ea*M.sin(ma);W=W*M.sin(ma)+ea*M.cos(ma);return{x:ta,y:W}});if(J){U=J[0];n=J[1];v=J[2];V=J[3]}else{n=F(e,j,-m);e=n.x;j=n.y;n=F(B,E,-m);B=n.x;E=n.y;M.cos(b/180*z);M.sin(b/180*z);n=(e-B)/2;U=(j-E)/2;u=K(u,M.abs(n));w=K(w,M.abs(U));V=u*u;var P=w*w;V=(v==I?-1:1)*M.sqrt(M.abs((V*P-V*U*U-P*n*n)/(V*U*U+P*n*n)));v=V*u*U/w+(e+B)/2;var V=
V*-w*n/u+(j+E)/2,U=M.asin(((j-V)/w).toFixed(7));n=M.asin(((E-V)/w).toFixed(7));U=e<v?b-U:U;n=B<v?b-n:n;U<0&&(U=b*2+U);n<0&&(n=b*2+n);if(I&&U>n)U-=b*2;if(!I&&n>U)n-=b*2}b=n-U;if(M.abs(b)>g){s=n;b=B;P=E;n=U+g*(I&&n>U?1:-1);B=v+u*M.cos(n);E=V+w*M.sin(n);s=za(B,E,u,w,z,0,I,b,P,[n,s,v,V])}b=n-U;z=M.cos(U);g=M.sin(U);I=M.cos(n);n=M.sin(n);b=M.tan(b/4);u=4/3*u*b;b=4/3*w*b;w=[e,j];e=[e+u*g,j-b*z];j=[B+u*n,E-b*I];B=[B,E];e[0]=2*w[0]-e[0];e[1]=2*w[1]-e[1];if(J)return[e,j,B].concat(s);else{s=[e,j,B].concat(s)[H]().split(",");
J=[];B=0;for(E=s[A];B<E;B++)J[B]=B%2?F(s[B-1],s[B],m).y:F(s[B],s[B+1],m).x;return J}},Ja=function(e,j,u,w,z,v,I,B,E){var J=1-E;return{x:T(J,3)*e+T(J,2)*3*E*u+J*3*E*E*z+T(E,3)*I,y:T(J,3)*j+T(J,2)*3*E*w+J*3*E*E*v+T(E,3)*B}},Oa=f(function(e,j,u,w,z,v,I,B){var E=z-2*u+e-(I-2*z+u),J=2*(u-e)-2*(z-u),b=e-u,g=(-J+M.sqrt(J*J-4*E*b))/2/E;E=(-J-M.sqrt(J*J-4*E*b))/2/E;var m=[j,B],s=[e,I];M.abs(g)>1E12&&(g=0.5);M.abs(E)>1E12&&(E=0.5);if(g>0&&g<1){g=Ja(e,j,u,w,z,v,I,B,g);s[$](g.x);m[$](g.y)}if(E>0&&E<1){g=Ja(e,
j,u,w,z,v,I,B,E);s[$](g.x);m[$](g.y)}E=v-2*w+j-(B-2*v+w);J=2*(w-j)-2*(v-w);b=j-w;g=(-J+M.sqrt(J*J-4*E*b))/2/E;E=(-J-M.sqrt(J*J-4*E*b))/2/E;M.abs(g)>1E12&&(g=0.5);M.abs(E)>1E12&&(E=0.5);if(g>0&&g<1){g=Ja(e,j,u,w,z,v,I,B,g);s[$](g.x);m[$](g.y)}if(E>0&&E<1){g=Ja(e,j,u,w,z,v,I,B,E);s[$](g.x);m[$](g.y)}return{min:{x:O[D](0,s),y:O[D](0,m)},max:{x:K[D](0,s),y:K[D](0,m)}}}),Qa=f(function(e,j){var u=sa(e),w=j&&sa(j);e={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null};j={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null};
var z=function(s,n){var F;if(!s)return["C",n.x,n.y,n.x,n.y,n.x,n.y];!(s[0]in{T:1,Q:1})&&(n.qx=n.qy=null);switch(s[0]){case "M":n.X=s[1];n.Y=s[2];break;case "A":s=["C"].concat(za[D](0,[n.x,n.y].concat(s.slice(1))));break;case "S":F=n.x+(n.x-(n.bx||n.x));n=n.y+(n.y-(n.by||n.y));s=["C",F,n].concat(s.slice(1));break;case "T":n.qx=n.x+(n.x-(n.qx||n.x));n.qy=n.y+(n.y-(n.qy||n.y));s=["C"].concat(Aa(n.x,n.y,n.qx,n.qy,s[1],s[2]));break;case "Q":n.qx=s[1];n.qy=s[2];s=["C"].concat(Aa(n.x,n.y,s[1],s[2],s[3],
s[4]));break;case "L":s=["C"].concat(Ma(n.x,n.y,s[1],s[2]));break;case "H":s=["C"].concat(Ma(n.x,n.y,s[1],n.y));break;case "V":s=["C"].concat(Ma(n.x,n.y,n.x,s[1]));break;case "Z":s=["C"].concat(Ma(n.x,n.y,n.X,n.Y));break}return s},v=function(s,n){if(s[n][A]>7){s[n].shift();for(var F=s[n];F[A];)s.splice(n++,0,["C"].concat(F.splice(0,6)));s.splice(n,1);E=K(u[A],w&&w[A]||0)}},I=function(s,n,F,P,V){if(s&&n&&s[V][0]=="M"&&n[V][0]!="M"){n.splice(V,0,["M",P.x,P.y]);F.bx=0;F.by=0;F.x=s[V][1];F.y=s[V][2];
E=K(u[A],w&&w[A]||0)}},B=0,E=K(u[A],w&&w[A]||0);for(;B<E;B++){u[B]=z(u[B],e);v(u,B);w&&(w[B]=z(w[B],j));w&&v(w,B);I(u,w,e,j,B);I(w,u,j,e,B);var J=u[B],b=w&&w[B],g=J[A],m=w&&b[A];e.x=J[g-2];e.y=J[g-1];e.bx=fa(J[g-4])||e.x;e.by=fa(J[g-3])||e.y;j.bx=w&&(fa(b[m-4])||j.x);j.by=w&&(fa(b[m-3])||j.y);j.x=w&&b[m-2];j.y=w&&b[m-1]}return w?[u,w]:u},null,na),nb=f(function(e){for(var j=[],u=0,w=e[A];u<w;u++){var z={},v=e[u].match(/^([^:]*):?([\d\.]*)/);z.color=k.getRGB(v[1]);if(z.color.error)return null;z.color=
z.color.hex;v[2]&&(z.offset=v[2]+"%");j[$](z)}u=1;for(w=j[A]-1;u<w;u++)if(!j[u].offset){e=fa(j[u-1].offset||0);v=0;for(z=u+1;z<w;z++)if(j[z].offset){v=j[z].offset;break}if(!v){v=100;z=w}v=fa(v);for(v=(v-e)/(z-u+1);u<z;u++){e+=v;j[u].offset=e+"%"}}return j}),db=function(){var e;if(k.is(arguments[0],"string")||k.is(arguments[0],"object")){e=k.is(arguments[0],"string")?x.getElementById(arguments[0]):arguments[0];if(e.tagName)return arguments[1]==null?{container:e,width:e.style.pixelWidth||e.offsetWidth,
height:e.style.pixelHeight||e.offsetHeight}:{container:e,width:arguments[1],height:arguments[2]}}else if(k.is(arguments[0],R)&&arguments[A]>3)return{container:1,x:arguments[0],y:arguments[1],width:arguments[2],height:arguments[3]}},Xa=function(e,j){var u=this;for(var w in j)if(j[S](w)&&!(w in e))switch(typeof j[w]){case "function":(function(z){e[w]=e===u?z:function(){return z[D](u,arguments)}})(j[w]);break;case "object":e[w]=e[w]||{};Xa.call(this,e[w],j[w]);break;default:e[w]=j[w];break}},Pa=function(e,
j){e==j.top&&(j.top=e.prev);e==j.bottom&&(j.bottom=e.next);e.next&&(e.next.prev=e.prev);e.prev&&(e.prev.next=e.next)},eb=function(e,j){if(j.top!==e){Pa(e,j);e.next=null;e.prev=j.top;j.top.next=e;j.top=e}},Ya=function(e,j){if(j.bottom!==e){Pa(e,j);e.next=j.bottom;e.prev=null;j.bottom.prev=e;j.bottom=e}},Ua=function(e,j,u){Pa(e,u);j==u.top&&(u.top=e);j.next&&(j.next.prev=e);e.next=j.next;e.prev=j;j.next=e},pb=function(e,j,u){Pa(e,u);j==u.bottom&&(u.bottom=e);j.prev&&(j.prev.next=e);e.prev=j.prev;j.prev=
e;e.next=j},qb=function(e){return function(){throw new Error("Rapha\u00ebl: you are calling to method \u201c"+e+"\u201d of removed object");}},rb=/^r(?:\(([^,]+?)\s*,\s*([^\)]+?)\))?/;if(k.svg){q[c].svgns="http://www.w3.org/2000/svg";q[c].xlink="http://www.w3.org/1999/xlink";ca=function(e){return+e+(~~e===e)*0.5};var sb=function(e){for(var j=0,u=e[A];j<u;j++)if(N.call(e[j][0])!="a")for(var w=1,z=e[j][A];w<z;w++)e[j][w]=ca(e[j][w]);else{e[j][6]=ca(e[j][6]);e[j][7]=ca(e[j][7])}return e},ja=function(e,
j){if(j)for(var u in j)j[S](u)&&e.setAttribute(u,j[u]);else return x.createElementNS(q[c].svgns,e)};k.toString=function(){return"Your browser supports SVG.\nYou are running Rapha\u00ebl "+this.version};var Va=function(e,j){var u=ja("path");j.canvas&&j.canvas.appendChild(u);j=new ga(u,j);j.type="path";Fa(j,{fill:"none",stroke:"#000",path:e});return j},Ta=function(e,j,u){var w="linear",z=0.5,v=0.5,I=e.style;j=(j+"").replace(rb,function(b,g,m){w="radial";if(g&&m){z=fa(g);v=fa(m);b=(v>0.5)*2-1;T(z-0.5,
2)+T(v-0.5,2)>0.25&&(v=M.sqrt(0.25-T(z-0.5,2))*b+0.5)&&v!=0.5&&(v=v.toFixed(5)-1.0E-5*b)}return""});j=j.split(/\s*\-\s*/);if(w=="linear"){var B=j.shift();B=-fa(B);if(isNaN(B))return null;var E=[0,0,M.cos(B*M.PI/180),M.sin(B*M.PI/180)];B=1/(K(M.abs(E[2]),M.abs(E[3]))||1);E[2]*=B;E[3]*=B;if(E[2]<0){E[0]=-E[2];E[2]=0}if(E[3]<0){E[1]=-E[3];E[3]=0}}j=nb(j);if(!j)return null;B=ja(w+"Gradient");B.id="r"+(k._id++).toString(36);ja(B,w=="radial"?{fx:z,fy:v}:{x1:E[0],y1:E[1],x2:E[2],y2:E[3]});u.defs.appendChild(B);
u=0;for(E=j[A];u<E;u++){var J=ja("stop");ja(J,{offset:j[u].offset?j[u].offset:!u?"0%":"100%","stop-color":j[u].color||"#fff"});B.appendChild(J)}ja(e,{fill:"url(#"+B.id+")",opacity:1,"fill-opacity":1});I.fill="";I.opacity=1;return I.fillOpacity=1},gb=function(e){var j=e.getBBox();ja(e.pattern,{patternTransform:k.format("translate({0},{1})",j.x,j.y)})},Fa=function(e,j){var u={"":[0],none:[0],"-":[3,1],".":[1,1],"-.":[3,1,1,1],"-..":[3,1,1,1,1,1],". ":[1,3],"- ":[4,3],"--":[8,3],"- .":[4,3,1,3],"--.":[8,
3,1,3],"--..":[8,3,1,3,1,3]},w=e.node,z=e.attrs,v=e.rotate(),I=function(n,F){if(F=u[N.call(F)]){var P=n.attrs["stroke-width"]||"1";n={round:P,square:P,butt:0}[n.attrs["stroke-linecap"]||j["stroke-linecap"]]||0;for(var V=[],U=F[A];U--;)V[U]=F[U]*P+(U%2?1:-1)*n;ja(w,{"stroke-dasharray":V[H](",")})}};j[S]("rotation")&&(v=j.rotation);var B=(v+"").split(t);if(B.length-1){B[1]=+B[1];B[2]=+B[2]}else B=null;fa(v)&&e.rotate(0,true);for(var E in j)if(j[S](E))if(Na[S](E)){var J=j[E];z[E]=J;switch(E){case "rotation":e.rotate(J,
true);break;case "href":case "title":case "target":var b=w.parentNode;if(N.call(b.tagName)!="a"){var g=ja("a");b.insertBefore(g,w);g.appendChild(w);b=g}b.setAttributeNS(e.Paper[c].xlink,E,J);break;case "cursor":w.style.cursor=J;break;case "clip-rect":b=(J+"").split(t);if(b[A]==4){e.clip&&e.clip.parentNode.parentNode.removeChild(e.clip.parentNode);var m=ja("clipPath");g=ja("rect");m.id="r"+(k._id++).toString(36);ja(g,{x:b[0],y:b[1],width:b[2],height:b[3]});m.appendChild(g);e.paper.defs.appendChild(m);
ja(w,{"clip-path":"url(#"+m.id+")"});e.clip=g}if(!J){(J=x.getElementById(w.getAttribute("clip-path").replace(/(^url\(#|\)$)/g,"")))&&J.parentNode.removeChild(J);ja(w,{"clip-path":""});delete e.clip}break;case "path":if(J&&e.type=="path"){z.path=sb(sa(J));ja(w,{d:z.path})}break;case "width":w.setAttribute(E,J);if(z.fx){E="x";J=z.x}else break;case "x":if(z.fx)J=-z.x-(z.width||0);case "rx":if(E=="rx"&&e.type=="rect")break;case "cx":B&&(E=="x"||E=="cx")&&(B[1]+=J-z[E]);w.setAttribute(E,ca(J));e.pattern&&
gb(e);break;case "height":w.setAttribute(E,J);if(z.fy){E="y";J=z.y}else break;case "y":if(z.fy)J=-z.y-(z.height||0);case "ry":if(E=="ry"&&e.type=="rect")break;case "cy":B&&(E=="y"||E=="cy")&&(B[2]+=J-z[E]);w.setAttribute(E,ca(J));e.pattern&&gb(e);break;case "r":e.type=="rect"?ja(w,{rx:J,ry:J}):w.setAttribute(E,J);break;case "src":e.type=="image"&&w.setAttributeNS(e.paper.xlink,"href",J);break;case "stroke-width":w.style.strokeWidth=J;w.setAttribute(E,J);z["stroke-dasharray"]&&I(e,z["stroke-dasharray"]);
break;case "stroke-dasharray":I(e,J);break;case "translation":J=(J+"").split(t);J[0]=+J[0]||0;J[1]=+J[1]||0;if(B){B[1]+=J[0];B[2]+=J[1]}bb.call(e,J[0],J[1]);break;case "scale":J=(J+"").split(t);e.scale(+J[0]||1,+J[1]||+J[0]||1,+J[2]||null,+J[3]||null);break;case "fill":if(b=(J+"").match(qa)){m=ja("pattern");var s=ja("image");m.id="r"+(k._id++).toString(36);ja(m,{x:0,y:0,patternUnits:"userSpaceOnUse",height:1,width:1});ja(s,{x:0,y:0});s.setAttributeNS(e.paper.xlink,"href",b[1]);m.appendChild(s);J=
x.createElement("img");J.style.cssText="position:absolute;left:-9999em;top-9999em";J.onload=function(){ja(m,{width:this.offsetWidth,height:this.offsetHeight});ja(s,{width:this.offsetWidth,height:this.offsetHeight});x.body.removeChild(this);e.paper.safari()};x.body.appendChild(J);J.src=b[1];e.paper.defs.appendChild(m);w.style.fill="url(#"+m.id+")";ja(w,{fill:"url(#"+m.id+")"});e.pattern=m;e.pattern&&gb(e);break}if(k.getRGB(J).error){if(({circle:1,ellipse:1}[S](e.type)||(J+"").charAt()!="r")&&Ta(w,
J,e.paper)){z.gradient=J;z.fill="none";break}}else{delete j.gradient;delete z.gradient;!k.is(z.opacity,"undefined")&&k.is(j.opacity,"undefined")&&ja(w,{opacity:z.opacity});!k.is(z["fill-opacity"],"undefined")&&k.is(j["fill-opacity"],"undefined")&&ja(w,{"fill-opacity":z["fill-opacity"]})}case "stroke":w.setAttribute(E,k.getRGB(J).hex);break;case "gradient":(({circle:1,ellipse:1})[S](e.type)||(J+"").charAt()!="r")&&Ta(w,J,e.paper);break;case "opacity":case "fill-opacity":if(z.gradient){if(b=x.getElementById(w.getAttribute("fill").replace(/^url\(#|\)$/g,
""))){b=b.getElementsByTagName("stop");b[b[A]-1].setAttribute("stop-opacity",J)}break}default:E=="font-size"&&(J=wa(J,10)+"px");b=E.replace(/(\-.)/g,function(n){return Ca.call(n.substring(1))});w.style[b]=J;w.setAttribute(E,J);break}}yb(e,j);if(B)e.rotate(B.join(G));else fa(v)&&e.rotate(v,true)},yb=function(e,j){if(!(e.type!="text"||!(j[S]("text")||j[S]("font")||j[S]("font-size")||j[S]("x")||j[S]("y")))){var u=e.attrs,w=e.node,z=w.firstChild?wa(x.defaultView.getComputedStyle(w.firstChild,"").getPropertyValue("font-size"),
10):10;if(j[S]("text")){for(u.text=j.text;w.firstChild;)w.removeChild(w.firstChild);j=(j.text+"").split("\n");for(var v=0,I=j[A];v<I;v++)if(j[v]){var B=ja("tspan");v&&ja(B,{dy:z*1.2,x:u.x});B.appendChild(x.createTextNode(j[v]));w.appendChild(B)}}else{j=w.getElementsByTagName("tspan");v=0;for(I=j[A];v<I;v++)v&&ja(j[v],{dy:z*1.2,x:u.x})}ja(w,{y:u.y});e=e.getBBox();(e=u.y-(e.y+e.height/2))&&isFinite(e)&&ja(w,{y:u.y+e})}},ga=function(e,j){this[0]=e;this.id=k._oid++;this.node=e;e.raphael=this;this.paper=
j;this.attrs=this.attrs||{};this.transformations=[];this._={tx:0,ty:0,rt:{deg:0,cx:0,cy:0},sx:1,sy:1};!j.bottom&&(j.bottom=this);(this.prev=j.top)&&(j.top.next=this);j.top=this;this.next=null};ga[c].rotate=function(e,j,u){if(this.removed)return this;if(e==null){if(this._.rt.cx)return[this._.rt.deg,this._.rt.cx,this._.rt.cy][H](G);return this._.rt.deg}var w=this.getBBox();e=(e+"").split(t);if(e[A]-1){j=fa(e[1]);u=fa(e[2])}e=fa(e[0]);if(j!=null)this._.rt.deg=e;else this._.rt.deg+=e;u==null&&(j=null);
this._.rt.cx=j;this._.rt.cy=u;j=j==null?w.x+w.width/2:j;u=u==null?w.y+w.height/2:u;if(this._.rt.deg){this.transformations[0]=k.format("rotate({0} {1} {2})",this._.rt.deg,j,u);this.clip&&ja(this.clip,{transform:k.format("rotate({0} {1} {2})",-this._.rt.deg,j,u)})}else{this.transformations[0]="";this.clip&&ja(this.clip,{transform:""})}ja(this.node,{transform:this.transformations[H](G)});return this};ga[c].hide=function(){!this.removed&&(this.node.style.display="none");return this};ga[c].show=function(){!this.removed&&
(this.node.style.display="");return this};ga[c].remove=function(){if(!this.removed){Pa(this,this.paper);this.node.parentNode.removeChild(this.node);for(var e in this)delete this[e];this.removed=true}};ga[c].getBBox=function(){if(this.removed)return this;if(this.type=="path")return ia(this.attrs.path);if(this.node.style.display=="none"){this.show();var e=true}var j={};try{j=this.node.getBBox()}catch(u){}finally{j=j||{}}if(this.type=="text"){j={x:j.x,y:Infinity,width:0,height:0};for(var w=0,z=this.node.getNumberOfChars();w<
z;w++){var v=this.node.getExtentOfChar(w);v.y<j.y&&(j.y=v.y);v.y+v.height-j.y>j.height&&(j.height=v.y+v.height-j.y);v.x+v.width-j.x>j.width&&(j.width=v.x+v.width-j.x)}}e&&this.hide();return j};ga[c].attr=function(){if(this.removed)return this;if(arguments[A]==0){var e={};for(var j in this.attrs)if(this.attrs[S](j))e[j]=this.attrs[j];this._.rt.deg&&(e.rotation=this.rotate());(this._.sx!=1||this._.sy!=1)&&(e.scale=this.scale());e.gradient&&e.fill=="none"&&(e.fill=e.gradient)&&delete e.gradient;return e}if(arguments[A]==
1&&k.is(arguments[0],"string")){if(arguments[0]=="translation")return bb.call(this);if(arguments[0]=="rotation")return this.rotate();if(arguments[0]=="scale")return this.scale();if(arguments[0]=="fill"&&this.attrs.fill=="none"&&this.attrs.gradient)return this.attrs.gradient;return this.attrs[arguments[0]]}if(arguments[A]==1&&k.is(arguments[0],"array")){j={};for(e in arguments[0])if(arguments[0][S](e))j[arguments[0][e]]=this.attrs[arguments[0][e]];return j}if(arguments[A]==2){j={};j[arguments[0]]=
arguments[1];Fa(this,j)}else arguments[A]==1&&k.is(arguments[0],"object")&&Fa(this,arguments[0]);return this};ga[c].toFront=function(){if(this.removed)return this;this.node.parentNode.appendChild(this.node);var e=this.paper;e.top!=this&&eb(this,e);return this};ga[c].toBack=function(){if(this.removed)return this;if(this.node.parentNode.firstChild!=this.node){this.node.parentNode.insertBefore(this.node,this.node.parentNode.firstChild);Ya(this,this.paper)}return this};ga[c].insertAfter=function(e){if(this.removed)return this;
var j=e.node;j.nextSibling?j.parentNode.insertBefore(this.node,j.nextSibling):j.parentNode.appendChild(this.node);Ua(this,e,this.paper);return this};ga[c].insertBefore=function(e){if(this.removed)return this;var j=e.node;j.parentNode.insertBefore(this.node,j);pb(this,e,this.paper);return this};var cb=function(e,j,u,w){j=ca(j);u=ca(u);var z=ja("circle");e.canvas&&e.canvas.appendChild(z);e=new ga(z,e);e.attrs={cx:j,cy:u,r:w,fill:"none",stroke:"#000"};e.type="circle";ja(z,e.attrs);return e},hb=function(e,
j,u,w,z,v){j=ca(j);u=ca(u);var I=ja("rect");e.canvas&&e.canvas.appendChild(I);e=new ga(I,e);e.attrs={x:j,y:u,width:w,height:z,r:v||0,rx:v||0,ry:v||0,fill:"none",stroke:"#000"};e.type="rect";ja(I,e.attrs);return e},Da=function(e,j,u,w,z){j=ca(j);u=ca(u);var v=ja("ellipse");e.canvas&&e.canvas.appendChild(v);e=new ga(v,e);e.attrs={cx:j,cy:u,rx:w,ry:z,fill:"none",stroke:"#000"};e.type="ellipse";ja(v,e.attrs);return e},tb=function(e,j,u,w,z,v){var I=ja("image");ja(I,{x:u,y:w,width:z,height:v,preserveAspectRatio:"none"});
I.setAttributeNS(e.xlink,"href",j);e.canvas&&e.canvas.appendChild(I);e=new ga(I,e);e.attrs={x:u,y:w,width:z,height:v,src:j};e.type="image";return e},ib=function(e,j,u,w){var z=ja("text");ja(z,{x:j,y:u,"text-anchor":"middle"});e.canvas&&e.canvas.appendChild(z);e=new ga(z,e);e.attrs={x:j,y:u,"text-anchor":"middle",text:w,font:Na.font,stroke:"none",fill:"#000"};e.type="text";Fa(e,e.attrs);return e},jb=function(e,j){this.width=e||this.width;this.height=j||this.height;this.canvas.setAttribute("width",
this.width);this.canvas.setAttribute("height",this.height);return this},Wa=function(){var e=db[D](null,arguments),j=e&&e.container,u=e.x,w=e.y,z=e.width;e=e.height;if(!j)throw new Error("SVG container not found.");var v=ja("svg");z=z||512;e=e||342;ja(v,{xmlns:"http://www.w3.org/2000/svg",version:1.1,width:z,height:e});if(j==1){v.style.cssText="position:absolute;left:"+u+"px;top:"+w+"px";x.body.appendChild(v)}else j.firstChild?j.insertBefore(v,j.firstChild):j.appendChild(v);j=new q;j.width=z;j.height=
e;j.canvas=v;Xa.call(j,j,k.fn);j.clear();return j};q[c].clear=function(){for(var e=this.canvas;e.firstChild;)e.removeChild(e.firstChild);this.bottom=this.top=null;(this.desc=ja("desc")).appendChild(x.createTextNode("Created with Rapha\u00ebl"));e.appendChild(this.desc);e.appendChild(this.defs=ja("defs"))};q[c].remove=function(){this.canvas.parentNode&&this.canvas.parentNode.removeChild(this.canvas);for(var e in this)this[e]=qb(e)}}if(k.vml){var kb=function(e){var j=/[ahqstv]/ig,u=sa;(e+"").match(j)&&
(u=Qa);j=/[clmz]/g;if(u==sa&&!(e+"").match(j)){var w={M:"m",L:"l",C:"c",Z:"x",m:"t",l:"r",c:"v",z:"x"},z=/-?[^,\s-]+/g;return e=(e+"").replace(/([clmz]),?([^clmz]*)/gi,function(b,g,m){var s=[];m.replace(z,function(n){s[$](ca(n))});return w[g]+s})}j=u(e);e=[];for(var v,I=0,B=j[A];I<B;I++){u=j[I];v=N.call(j[I][0]);v=="z"&&(v="x");for(var E=1,J=u[A];E<J;E++)v+=ca(u[E])+(E!=J-1?",":"");e[$](v)}return e[H](G)};k.toString=function(){return"Your browser doesn\u2019t support SVG. Falling down to VML.\nYou are running Rapha\u00ebl "+
this.version};Va=function(e,j){var u=va("group");u.style.cssText="position:absolute;left:0;top:0;width:"+j.width+"px;height:"+j.height+"px";u.coordsize=j.coordsize;u.coordorigin=j.coordorigin;var w=va("shape"),z=w.style;z.width=j.width+"px";z.height=j.height+"px";w.coordsize=this.coordsize;w.coordorigin=this.coordorigin;u.appendChild(w);w=new ga(w,u,j);w.isAbsolute=true;w.type="path";w.path=[];w.Path="";e&&Fa(w,{fill:"none",stroke:"#000",path:e});j.canvas.appendChild(u);return w};Fa=function(e,j){e.attrs=
e.attrs||{};var u=e.node,w=e.attrs,z=u.style,v;for(v in j)if(j[S](v))w[v]=j[v];j.href&&(u.href=j.href);j.title&&(u.title=j.title);j.target&&(u.target=j.target);j.cursor&&(z.cursor=j.cursor);if(j.path&&e.type=="path"){w.path=j.path;u.path=kb(w.path)}j.rotation!=null&&e.rotate(j.rotation,true);if(j.translation){v=(j.translation+"").split(t);bb.call(e,v[0],v[1]);if(e._.rt.cx!=null){e._.rt.cx+=+v[0];e._.rt.cy+=+v[1];e.setBox(e.attrs,v[0],v[1])}}if(j.scale){v=(j.scale+"").split(t);e.scale(+v[0]||1,+v[1]||
+v[0]||1,+v[2]||null,+v[3]||null)}if("clip-rect"in j){v=(j["clip-rect"]+"").split(t);if(v[A]==4){v[2]=+v[2]+ +v[0];v[3]=+v[3]+ +v[1];var I=u.clipRect||x.createElement("div"),B=I.style,E=u.parentNode;B.clip=k.format("rect({1}px {2}px {3}px {0}px)",v);if(!u.clipRect){B.position="absolute";B.top=0;B.left=0;B.width=e.paper.width+"px";B.height=e.paper.height+"px";E.parentNode.insertBefore(I,E);I.appendChild(E);u.clipRect=I}}if(!j["clip-rect"])u.clipRect&&(u.clipRect.style.clip="")}if(e.type=="image"&&
j.src)u.src=j.src;if(e.type=="image"&&j.opacity){u.filterOpacity=" progid:DXImageTransform.Microsoft.Alpha(opacity="+j.opacity*100+")";z.filter=(u.filterMatrix||"")+(u.filterOpacity||"")}j.font&&(z.font=j.font);j["font-family"]&&(z.fontFamily='"'+j["font-family"].split(",")[0].replace(/^['"]+|['"]+$/g,"")+'"');j["font-size"]&&(z.fontSize=j["font-size"]);j["font-weight"]&&(z.fontWeight=j["font-weight"]);j["font-style"]&&(z.fontStyle=j["font-style"]);if(j.opacity!=null||j["stroke-width"]!=null||j.fill!=
null||j.stroke!=null||j["stroke-width"]!=null||j["stroke-opacity"]!=null||j["fill-opacity"]!=null||j["stroke-dasharray"]!=null||j["stroke-miterlimit"]!=null||j["stroke-linejoin"]!=null||j["stroke-linecap"]!=null){u=e.shape||u;v=u.getElementsByTagName("fill")&&u.getElementsByTagName("fill")[0];I=false;!v&&(I=v=va("fill"));if("fill-opacity"in j||"opacity"in j){z=((+w["fill-opacity"]+1||2)-1)*((+w.opacity+1||2)-1);z<0&&(z=0);z>1&&(z=1);v.opacity=z}j.fill&&(v.on=true);if(v.on==null||j.fill=="none")v.on=
false;if(v.on&&j.fill)if(z=j.fill.match(qa)){v.src=z[1];v.type="tile"}else{v.color=k.getRGB(j.fill).hex;v.src="";v.type="solid";if(k.getRGB(j.fill).error&&(e.type in{circle:1,ellipse:1}||(j.fill+"").charAt()!="r")&&Ta(e,j.fill)){w.fill="none";w.gradient=j.fill}}I&&u.appendChild(v);v=u.getElementsByTagName("stroke")&&u.getElementsByTagName("stroke")[0];I=false;!v&&(I=v=va("stroke"));if(j.stroke&&j.stroke!="none"||j["stroke-width"]||j["stroke-opacity"]!=null||j["stroke-dasharray"]||j["stroke-miterlimit"]||
j["stroke-linejoin"]||j["stroke-linecap"])v.on=true;(j.stroke=="none"||v.on==null||j.stroke==0||j["stroke-width"]==0)&&(v.on=false);v.on&&j.stroke&&(v.color=k.getRGB(j.stroke).hex);z=((+w["stroke-opacity"]+1||2)-1)*((+w.opacity+1||2)-1);B=(fa(j["stroke-width"])||1)*0.75;z<0&&(z=0);z>1&&(z=1);j["stroke-width"]==null&&(B=w["stroke-width"]);j["stroke-width"]&&(v.weight=B);B&&B<1&&(z*=B)&&(v.weight=1);v.opacity=z;j["stroke-linejoin"]&&(v.joinstyle=j["stroke-linejoin"]||"miter");v.miterlimit=j["stroke-miterlimit"]||
8;j["stroke-linecap"]&&(v.endcap=j["stroke-linecap"]=="butt"?"flat":j["stroke-linecap"]=="square"?"square":"round");if(j["stroke-dasharray"]){z={"-":"shortdash",".":"shortdot","-.":"shortdashdot","-..":"shortdashdotdot",". ":"dot","- ":"dash","--":"longdash","- .":"dashdot","--.":"longdashdot","--..":"longdashdotdot"};v.dashstyle=z[S](j["stroke-dasharray"])?z[j["stroke-dasharray"]]:""}I&&u.appendChild(v)}if(e.type=="text"){z=e.paper.span.style;w.font&&(z.font=w.font);w["font-family"]&&(z.fontFamily=
w["font-family"]);w["font-size"]&&(z.fontSize=w["font-size"]);w["font-weight"]&&(z.fontWeight=w["font-weight"]);w["font-style"]&&(z.fontStyle=w["font-style"]);e.node.string&&(e.paper.span.innerHTML=(e.node.string+"").replace(/</g,"&#60;").replace(/&/g,"&#38;").replace(/\n/g,"<br>"));e.W=w.w=e.paper.span.offsetWidth;e.H=w.h=e.paper.span.offsetHeight;e.X=w.x;e.Y=w.y+ca(e.H/2);switch(w["text-anchor"]){case "start":e.node.style["v-text-align"]="left";e.bbx=ca(e.W/2);break;case "end":e.node.style["v-text-align"]=
"right";e.bbx=-ca(e.W/2);break;default:e.node.style["v-text-align"]="center";break}}};Ta=function(e,j){e.attrs=e.attrs||{};var u=e.node.getElementsByTagName("fill"),w="linear",z=".5 .5";e.attrs.gradient=j;j=(j+"").replace(rb,function(E,J,b){w="radial";if(J&&b){J=fa(J);b=fa(b);T(J-0.5,2)+T(b-0.5,2)>0.25&&(b=M.sqrt(0.25-T(J-0.5,2))*((b>0.5)*2-1)+0.5);z=J+G+b}return""});j=j.split(/\s*\-\s*/);if(w=="linear"){var v=j.shift();v=-fa(v);if(isNaN(v))return null}j=nb(j);if(!j)return null;e=e.shape||e.node;
u=u[0]||va("fill");if(j[A]){u.on=true;u.method="none";u.type=w=="radial"?"gradientradial":"gradient";u.color=j[0].color;u.color2=j[j[A]-1].color;e=[];for(var I=0,B=j[A];I<B;I++)j[I].offset&&e[$](j[I].offset+G+j[I].color);u.colors&&(u.colors.value=e[A]?e[H](","):"0% "+u.color);if(w=="radial"){u.focus="100%";u.focussize=z;u.focusposition=z}else u.angle=(270-v)%360}return 1};ga=function(e,j,u){this[0]=e;this.id=k._oid++;this.node=e;e.raphael=this;this.Y=this.X=0;this.attrs={};this.Group=j;this.paper=
u;this._={tx:0,ty:0,rt:{deg:0},sx:1,sy:1};!u.bottom&&(u.bottom=this);(this.prev=u.top)&&(u.top.next=this);u.top=this;this.next=null};ga[c].rotate=function(e,j,u){if(this.removed)return this;if(e==null){if(this._.rt.cx)return[this._.rt.deg,this._.rt.cx,this._.rt.cy][H](G);return this._.rt.deg}e=(e+"").split(t);if(e[A]-1){j=fa(e[1]);u=fa(e[2])}e=fa(e[0]);if(j!=null)this._.rt.deg=e;else this._.rt.deg+=e;u==null&&(j=null);this._.rt.cx=j;this._.rt.cy=u;this.setBox(this.attrs,j,u);this.Group.style.rotation=
this._.rt.deg;return this};ga[c].setBox=function(e,j,u){if(this.removed)return this;var w=this.Group.style,z=this.shape&&this.shape.style||this.node.style;e=e||{};for(var v in e)if(e[S](v))this.attrs[v]=e[v];j=j||this._.rt.cx;u=u||this._.rt.cy;var I=this.attrs,B,E,J;switch(this.type){case "circle":v=I.cx-I.r;B=I.cy-I.r;E=J=I.r*2;break;case "ellipse":v=I.cx-I.rx;B=I.cy-I.ry;E=I.rx*2;J=I.ry*2;break;case "rect":case "image":v=+I.x;B=+I.y;E=I.width||0;J=I.height||0;break;case "text":this.textpath.v=["m",
ca(I.x),", ",ca(I.y-2),"l",ca(I.x)+1,", ",ca(I.y-2)][H]("");v=I.x-ca(this.W/2);B=I.y-this.H/2;E=this.W;J=this.H;break;case "path":if(this.attrs.path){J=ia(this.attrs.path);v=J.x;B=J.y;E=J.width;J=J.height}else{B=v=0;E=this.paper.width;J=this.paper.height}break;default:B=v=0;E=this.paper.width;J=this.paper.height;break}j=j==null?v+E/2:j;u=u==null?B+J/2:u;j=j-this.paper.width/2;u=u-this.paper.height/2;if(this.type=="path"||this.type=="text"){w.left!=j+"px"&&(w.left=j+"px");w.top!=u+"px"&&(w.top=u+"px");
this.X=this.type=="text"?v:-j;this.Y=this.type=="text"?B:-u;this.W=E;this.H=J;z.left!=-j+"px"&&(z.left=-j+"px");z.top!=-u+"px"&&(z.top=-u+"px")}else{w.left!=j+"px"&&(w.left=j+"px");w.top!=u+"px"&&(w.top=u+"px");this.X=v;this.Y=B;this.W=E;this.H=J;w.width!=this.paper.width+"px"&&(w.width=this.paper.width+"px");w.height!=this.paper.height+"px"&&(w.height=this.paper.height+"px");z.left!=v-j+"px"&&(z.left=v-j+"px");z.top!=B-u+"px"&&(z.top=B-u+"px");z.width!=E+"px"&&(z.width=E+"px");z.height!=J+"px"&&
(z.height=J+"px");e=(+e.r||0)/O(E,J);if(this.type=="rect"&&this.arcsize.toFixed(4)!=e.toFixed(4)&&(e||this.arcsize)){w=va("roundrect");z={};v=0;u=this.events&&this.events[A];w.arcsize=e;w.raphael=this;this.Group.appendChild(w);this.Group.removeChild(this.node);this[0]=this.node=w;this.arcsize=e;for(v in I)z[v]=I[v];delete z.scale;this.attr(z);if(this.events)for(;v<u;v++)this.events[v].unbind=ub(this.node,this.events[v].name,this.events[v].f,this)}}};ga[c].hide=function(){!this.removed&&(this.Group.style.display=
"none");return this};ga[c].show=function(){!this.removed&&(this.Group.style.display="block");return this};ga[c].getBBox=function(){if(this.removed)return this;if(this.type=="path")return ia(this.attrs.path);return{x:this.X+(this.bbx||0),y:this.Y,width:this.W,height:this.H}};ga[c].remove=function(){if(!this.removed){Pa(this,this.paper);this.node.parentNode.removeChild(this.node);this.Group.parentNode.removeChild(this.Group);this.shape&&this.shape.parentNode.removeChild(this.shape);for(var e in this)delete this[e];
this.removed=true}};ga[c].attr=function(){if(this.removed)return this;if(arguments[A]==0){var e={};for(var j in this.attrs)if(this.attrs[S](j))e[j]=this.attrs[j];this._.rt.deg&&(e.rotation=this.rotate());(this._.sx!=1||this._.sy!=1)&&(e.scale=this.scale());e.gradient&&e.fill=="none"&&(e.fill=e.gradient)&&delete e.gradient;return e}if(arguments[A]==1&&k.is(arguments[0],"string")){if(arguments[0]=="translation")return bb.call(this);if(arguments[0]=="rotation")return this.rotate();if(arguments[0]=="scale")return this.scale();
if(arguments[0]=="fill"&&this.attrs.fill=="none"&&this.attrs.gradient)return this.attrs.gradient;return this.attrs[arguments[0]]}if(this.attrs&&arguments[A]==1&&k.is(arguments[0],"array")){e={};j=0;for(var u=arguments[0][A];j<u;j++)e[arguments[0][j]]=this.attrs[arguments[0][j]];return e}if(arguments[A]==2){e={};e[arguments[0]]=arguments[1]}arguments[A]==1&&k.is(arguments[0],"object")&&(e=arguments[0]);if(e){if(e.text&&this.type=="text")this.node.string=e.text;Fa(this,e);if(e.gradient&&({circle:1,
ellipse:1}[S](this.type)||(e.gradient+"").charAt()!="r"))Ta(this,e.gradient);(this.type!="path"||this._.rt.deg)&&this.setBox(this.attrs)}return this};ga[c].toFront=function(){!this.removed&&this.Group.parentNode.appendChild(this.Group);this.paper.top!=this&&eb(this,this.paper);return this};ga[c].toBack=function(){if(this.removed)return this;if(this.Group.parentNode.firstChild!=this.Group){this.Group.parentNode.insertBefore(this.Group,this.Group.parentNode.firstChild);Ya(this,this.paper)}return this};
ga[c].insertAfter=function(e){if(this.removed)return this;e.Group.nextSibling?e.Group.parentNode.insertBefore(this.Group,e.Group.nextSibling):e.Group.parentNode.appendChild(this.Group);Ua(this,e,this.paper);return this};ga[c].insertBefore=function(e){if(this.removed)return this;e.Group.parentNode.insertBefore(this.Group,e.Group);pb(this,e,this.paper);return this};cb=function(e,j,u,w){var z=va("group"),v=va("oval");z.style.cssText="position:absolute;left:0;top:0;width:"+e.width+"px;height:"+e.height+
"px";z.coordsize=e.coordsize;z.coordorigin=e.coordorigin;z.appendChild(v);v=new ga(v,z,e);v.type="circle";Fa(v,{stroke:"#000",fill:"none"});v.attrs.cx=j;v.attrs.cy=u;v.attrs.r=w;v.setBox({x:j-w,y:u-w,width:w*2,height:w*2});e.canvas.appendChild(z);return v};hb=function(e,j,u,w,z,v){var I=va("group"),B=va("roundrect"),E=(+v||0)/O(w,z);I.style.cssText="position:absolute;left:0;top:0;width:"+e.width+"px;height:"+e.height+"px";I.coordsize=e.coordsize;I.coordorigin=e.coordorigin;I.appendChild(B);B.arcsize=
E;B=new ga(B,I,e);B.type="rect";Fa(B,{stroke:"#000"});B.arcsize=E;B.setBox({x:j,y:u,width:w,height:z,r:v});e.canvas.appendChild(I);return B};Da=function(e,j,u,w,z){var v=va("group"),I=va("oval");v.style.cssText="position:absolute;left:0;top:0;width:"+e.width+"px;height:"+e.height+"px";v.coordsize=e.coordsize;v.coordorigin=e.coordorigin;v.appendChild(I);I=new ga(I,v,e);I.type="ellipse";Fa(I,{stroke:"#000"});I.attrs.cx=j;I.attrs.cy=u;I.attrs.rx=w;I.attrs.ry=z;I.setBox({x:j-w,y:u-z,width:w*2,height:z*
2});e.canvas.appendChild(v);return I};tb=function(e,j,u,w,z,v){var I=va("group"),B=va("image");I.style.cssText="position:absolute;left:0;top:0;width:"+e.width+"px;height:"+e.height+"px";I.coordsize=e.coordsize;I.coordorigin=e.coordorigin;B.src=j;I.appendChild(B);B=new ga(B,I,e);B.type="image";B.attrs.src=j;B.attrs.x=u;B.attrs.y=w;B.attrs.w=z;B.attrs.h=v;B.setBox({x:u,y:w,width:z,height:v});e.canvas.appendChild(I);return B};ib=function(e,j,u,w){var z=va("group"),v=va("shape"),I=v.style,B=va("path"),
E=va("textpath");z.style.cssText="position:absolute;left:0;top:0;width:"+e.width+"px;height:"+e.height+"px";z.coordsize=e.coordsize;z.coordorigin=e.coordorigin;B.v=k.format("m{0},{1}l{2},{1}",ca(j),ca(u),ca(j)+1);B.textpathok=true;I.width=e.width;I.height=e.height;E.string=w+"";E.on=true;v.appendChild(E);v.appendChild(B);z.appendChild(v);I=new ga(E,z,e);I.shape=v;I.textpath=B;I.type="text";I.attrs.text=w;I.attrs.x=j;I.attrs.y=u;I.attrs.w=1;I.attrs.h=1;Fa(I,{font:Na.font,stroke:"none",fill:"#000"});
I.setBox();e.canvas.appendChild(z);return I};jb=function(e,j){var u=this.canvas.style;e==+e&&(e+="px");j==+j&&(j+="px");u.width=e;u.height=j;u.clip="rect(0 "+e+" "+j+" 0)";return this};var va;x.createStyleSheet().addRule(".rvml","behavior:url(#default#VML)");try{!x.namespaces.rvml&&x.namespaces.add("rvml","urn:schemas-microsoft-com:vml");va=function(e){return x.createElement("<rvml:"+e+' class="rvml">')}}catch(Bb){va=function(e){return x.createElement("<"+e+' xmlns="urn:schemas-microsoft.com:vml" class="rvml">')}}Wa=
function(){var e=db[D](null,arguments),j=e.container,u=e.height,w=e.width,z=e.x;e=e.y;if(!j)throw new Error("VML container not found.");var v=new q,I=v.canvas=x.createElement("div"),B=I.style;w=w||512;u=u||342;w==+w&&(w+="px");u==+u&&(u+="px");v.width=1E3;v.height=1E3;v.coordsize="1000 1000";v.coordorigin="0 0";v.span=x.createElement("span");v.span.style.cssText="position:absolute;left:-9999em;top:-9999em;padding:0;margin:0;line-height:1;display:inline;";I.appendChild(v.span);B.cssText=k.format("width:{0};height:{1};position:absolute;clip:rect(0 {0} {1} 0);overflow:hidden",
w,u);if(j==1){x.body.appendChild(I);B.left=z+"px";B.top=e+"px"}else{j.style.width=w;j.style.height=u;j.firstChild?j.insertBefore(I,j.firstChild):j.appendChild(I)}Xa.call(v,v,k.fn);return v};q[c].clear=function(){this.canvas.innerHTML="";this.span=x.createElement("span");this.span.style.cssText="position:absolute;left:-9999em;top:-9999em;padding:0;margin:0;line-height:1;display:inline;";this.canvas.appendChild(this.span);this.bottom=this.top=null};q[c].remove=function(){this.canvas.parentNode.removeChild(this.canvas);
for(var e in this)this[e]=qb(e)}}q[c].safari=/^Apple|^Google/.test(navigator.vendor)&&!(navigator.userAgent.indexOf("Version/4.0")+1)?function(){var e=this.rect(-99,-99,this.width+99,this.height+99);setTimeout(function(){e.remove()})}:function(){};var ub=function(){if(x.addEventListener)return function(e,j,u,w){var z=function(v){return u.call(w,v)};e.addEventListener(j,z,false);return function(){e.removeEventListener(j,z,false);return true}};else if(x.attachEvent)return function(e,j,u,w){var z=function(v){return u.call(w,
v||h.event)};e.attachEvent("on"+j,z);return function(){e.detachEvent("on"+j,z);return true}}}();for(La=Q[A];La--;)(function(e){ga[c][e]=function(j){if(k.is(j,"function")){this.events=this.events||[];this.events.push({name:e,f:j,unbind:ub(this.shape||this.node,e,j,this)})}return this};ga[c]["un"+e]=function(j){for(var u=this.events,w=u[A];w--;)if(u[w].name==e&&u[w].f==j){u[w].unbind();u.splice(w,1);!u.length&&delete this.events;return this}return this}})(Q[La]);ga[c].hover=function(e,j){return this.mouseover(e).mouseout(j)};
ga[c].unhover=function(e,j){return this.unmouseover(e).unmouseout(j)};q[c].circle=function(e,j,u){return cb(this,e||0,j||0,u||0)};q[c].rect=function(e,j,u,w,z){return hb(this,e||0,j||0,u||0,w||0,z||0)};q[c].ellipse=function(e,j,u,w){return Da(this,e||0,j||0,u||0,w||0)};q[c].path=function(e){e&&!k.is(e,"string")&&!k.is(e[0],"array")&&(e+="");return Va(k.format[D](k,arguments),this)};q[c].image=function(e,j,u,w,z){return tb(this,e||"about:blank",j||0,u||0,w||0,z||0)};q[c].text=function(e,j,u){return ib(this,
e||0,j||0,u||"")};q[c].set=function(e){arguments[A]>1&&(e=Array[c].splice.call(arguments,0,arguments[A]));return new Ka(e)};q[c].setSize=jb;q[c].top=q[c].bottom=null;q[c].raphael=k;ga[c].scale=function(e,j,u,w){if(e==null&&j==null)return{x:this._.sx,y:this._.sy,toString:p};j=j||e;!+j&&(j=e);var z,v,I=this.attrs;if(e!=0){var B=this.getBBox(),E=B.x+B.width/2,J=B.y+B.height/2;z=e/this._.sx;v=j/this._.sy;u=+u||u==0?u:E;w=+w||w==0?w:J;B=~~(e/M.abs(e));var b=~~(j/M.abs(j)),g=this.node.style,m=u+(E-u)*z;
J=w+(J-w)*v;switch(this.type){case "rect":case "image":var s=I.width*B*z,n=I.height*b*v;this.attr({height:n,r:I.r*O(B*z,b*v),width:s,x:m-s/2,y:J-n/2});break;case "circle":case "ellipse":this.attr({rx:I.rx*B*z,ry:I.ry*b*v,r:I.r*O(B*z,b*v),cx:m,cy:J});break;case "path":E=ua(I.path);for(var F=true,P=0,V=E[A];P<V;P++){var U=E[P],W;W=Ca.call(U[0]);if(!(W=="M"&&F)){F=false;if(W=="A"){U[E[P][A]-2]*=z;U[E[P][A]-1]*=v;U[1]*=B*z;U[2]*=b*v;U[5]=+(B+b?!!+U[5]:!+U[5])}else if(W=="H"){W=1;for(jj=U[A];W<jj;W++)U[W]*=
z}else if(W=="V"){W=1;for(jj=U[A];W<jj;W++)U[W]*=v}else{W=1;for(jj=U[A];W<jj;W++)U[W]*=W%2?z:v}}}v=ia(E);z=m-v.x-v.width/2;v=J-v.y-v.height/2;E[0][1]+=z;E[0][2]+=v;this.attr({path:E});break}if(this.type in{text:1,image:1}&&(B!=1||b!=1))if(this.transformations){this.transformations[2]="scale(".concat(B,",",b,")");this.node.setAttribute("transform",this.transformations[H](G));z=B==-1?-I.x-(s||0):I.x;v=b==-1?-I.y-(n||0):I.y;this.attr({x:z,y:v});I.fx=B-1;I.fy=b-1}else{this.node.filterMatrix=" progid:DXImageTransform.Microsoft.Matrix(M11=".concat(B,
", M12=0, M21=0, M22=",b,", Dx=0, Dy=0, sizingmethod='auto expand', filtertype='bilinear')");g.filter=(this.node.filterMatrix||"")+(this.node.filterOpacity||"")}else if(this.transformations){this.transformations[2]="";this.node.setAttribute("transform",this.transformations[H](G));I.fx=0;I.fy=0}else{this.node.filterMatrix="";g.filter=(this.node.filterMatrix||"")+(this.node.filterOpacity||"")}I.scale=[e,j,u,w][H](G);this._.sx=e;this._.sy=j}return this};ga[c].clone=function(){var e=this.attr();delete e.scale;
delete e.translation;return this.paper[this.type]().attr(e)};Q=function(e,j){return function(u,w,z){u=Qa(u);for(var v,I,B,E,J="",b={},g=0,m=0,s=u.length;m<s;m++){B=u[m];if(B[0]=="M"){v=+B[1];I=+B[2]}else{E=zb(v,I,B[1],B[2],B[3],B[4],B[5],B[6]);if(g+E>w){if(j&&!b.start){v=k.findDotsAtSegment(v,I,B[1],B[2],B[3],B[4],B[5],B[6],(w-g)/E);J+=["C",v.start.x,v.start.y,v.m.x,v.m.y,v.x,v.y];if(z)return J;b.start=J;J=["M",v.x,v.y,"C",v.n.x,v.n.y,v.end.x,v.end.y,B[5],B[6]][H]();g+=E;v=+B[5];I=+B[6];continue}if(!e&&
!j){v=k.findDotsAtSegment(v,I,B[1],B[2],B[3],B[4],B[5],B[6],(w-g)/E);return{x:v.x,y:v.y,alpha:v.alpha}}}g+=E;v=+B[5];I=+B[6]}J+=B}b.end=J;v=e?g:j?b:k.findDotsAtSegment(v,I,B[1],B[2],B[3],B[4],B[5],B[6],1);v.alpha&&(v={x:v.x,y:v.y,alpha:v.alpha});return v}};var zb=f(function(e,j,u,w,z,v,I,B){for(var E={x:0,y:0},J=0,b=0;b<1.01;b+=0.01){var g=Ja(e,j,u,w,z,v,I,B,b);b&&(J+=M.sqrt(T(E.x-g.x,2)+T(E.y-g.y,2)));E=g}return J}),vb=Q(1),$a=Q(),wb=Q(0,1);ga[c].getTotalLength=function(){if(this.type=="path")return vb(this.attrs.path)};
ga[c].getPointAtLength=function(e){if(this.type=="path")return $a(this.attrs.path,e)};ga[c].getSubpath=function(e,j){if(this.type=="path"){j=wb(this.attrs.path,j,1);return e?wb(j,e).end:j}};k.easing_formulas={linear:function(e){return e},"<":function(e){return T(e,3)},">":function(e){return T(e-1,3)+1},"<>":function(e){e*=2;if(e<1)return T(e,3)/2;e-=2;return(T(e,3)+2)/2},backIn:function(e){return e*e*(2.70158*e-1.70158)},backOut:function(e){e-=1;return e*e*(2.70158*e+1.70158)+1},elastic:function(e){if(e==
0||e==1)return e;return T(2,-10*e)*M.sin((e-0.075)*2*M.PI/0.3)+1},bounce:function(e){if(e<1/2.75)e=7.5625*e*e;else if(e<2/2.75){e-=1.5/2.75;e=7.5625*e*e+0.75}else if(e<2.5/2.75){e-=2.25/2.75;e=7.5625*e*e+0.9375}else{e-=2.625/2.75;e=7.5625*e*e+0.984375}return e}};var ya={length:0},ab=function(){var e=+new Date;for(var j in ya)if(j!="length"&&ya[S](j)){var u=ya[j];if(u.stop){delete ya[j];ya[A]--}else{var w=e-u.start,z=u.ms,v=u.easing,I=u.from,B=u.diff,E=u.to,J=u.t,b=u.prev||0,g=u.el,m=u.callback,s=
{},n;if(w<z){m=k.easing_formulas[v]?k.easing_formulas[v](w/z):w/z;for(var F in I)if(I[S](F)){switch(Ga[F]){case "along":n=m*z*B[F];E.back&&(n=E.len-n);v=$a(E[F],n);g.translate(B.sx-B.x||0,B.sy-B.y||0);B.x=v.x;B.y=v.y;g.translate(v.x-B.sx,v.y-B.sy);E.rot&&g.rotate(B.r+v.alpha,v.x,v.y);break;case "number":n=+I[F]+m*z*B[F];break;case "colour":n="rgb("+[lb(ca(I[F].r+m*z*B[F].r)),lb(ca(I[F].g+m*z*B[F].g)),lb(ca(I[F].b+m*z*B[F].b))][H](",")+")";break;case "path":n=[];v=0;for(var P=I[F][A];v<P;v++){n[v]=
[I[F][v][0]];for(var V=1,U=I[F][v][A];V<U;V++)n[v][V]=+I[F][v][V]+m*z*B[F][v][V];n[v]=n[v][H](G)}n=n[H](G);break;case "csv":switch(F){case "translation":n=B[F][0]*(w-b);v=B[F][1]*(w-b);J.x+=n;J.y+=v;n=n+G+v;break;case "rotation":n=+I[F][0]+m*z*B[F][0];I[F][1]&&(n+=","+I[F][1]+","+I[F][2]);break;case "scale":n=[+I[F][0]+m*z*B[F][0],+I[F][1]+m*z*B[F][1],2 in E[F]?E[F][2]:"",3 in E[F]?E[F][3]:""][H](G);break;case "clip-rect":n=[];for(v=4;v--;)n[v]=+I[F][v]+m*z*B[F][v];break}break}s[F]=n}g.attr(s);g._run&&
g._run.call(g)}else{if(E.along){v=$a(E.along,E.len*!E.back);g.translate(B.sx-(B.x||0)+v.x-B.sx,B.sy-(B.y||0)+v.y-B.sy);E.rot&&g.rotate(B.r+v.alpha,v.x,v.y)}(J.x||J.y)&&g.translate(-J.x,-J.y);E.scale&&(E.scale+="");g.attr(E);delete ya[j];ya[A]--;g.in_animation=null;k.is(m,"function")&&m.call(g)}u.prev=w}}k.svg&&g&&g.paper.safari();ya[A]&&setTimeout(ab)},lb=function(e){return e>255?255:e<0?0:e},bb=function(e,j){if(e==null)return{x:this._.tx,y:this._.ty,toString:p};this._.tx+=+e;this._.ty+=+j;switch(this.type){case "circle":case "ellipse":this.attr({cx:+e+
this.attrs.cx,cy:+j+this.attrs.cy});break;case "rect":case "image":case "text":this.attr({x:+e+this.attrs.x,y:+j+this.attrs.y});break;case "path":var u=ua(this.attrs.path);u[0][1]+=+e;u[0][2]+=+j;this.attr({path:u});break}return this};ga[c].animateWith=function(e,j,u,w,z){ya[e.id]&&(j.start=ya[e.id].start);return this.animate(j,u,w,z)};ga[c].animateAlong=l();ga[c].animateAlongBack=l(1);ga[c].onAnimation=function(e){this._run=e||0;return this};ga[c].animate=function(e,j,u,w){if(k.is(u,"function")||
!u)w=u||null;var z={},v={},I={};for(var B in e)if(e[S](B))if(Ga[S](B)){z[B]=this.attr(B);z[B]==null&&(z[B]=Na[B]);v[B]=e[B];switch(Ga[B]){case "along":var E=vb(e[B]),J=$a(e[B],E*!!e.back),b=this.getBBox();I[B]=E/j;I.tx=b.x;I.ty=b.y;I.sx=J.x;I.sy=J.y;v.rot=e.rot;v.back=e.back;v.len=E;e.rot&&(I.r=fa(this.rotate())||0);break;case "number":I[B]=(v[B]-z[B])/j;break;case "colour":z[B]=k.getRGB(z[B]);E=k.getRGB(v[B]);I[B]={r:(E.r-z[B].r)/j,g:(E.g-z[B].g)/j,b:(E.b-z[B].b)/j};break;case "path":E=Qa(z[B],v[B]);
z[B]=E[0];J=E[1];I[B]=[];E=0;for(b=z[B][A];E<b;E++){I[B][E]=[0];for(var g=1,m=z[B][E][A];g<m;g++)I[B][E][g]=(J[E][g]-z[B][E][g])/j}break;case "csv":J=(e[B]+"").split(t);E=(z[B]+"").split(t);switch(B){case "translation":z[B]=[0,0];I[B]=[J[0]/j,J[1]/j];break;case "rotation":z[B]=E[1]==J[1]&&E[2]==J[2]?E:[0,J[1],J[2]];I[B]=[(J[0]-z[B][0])/j,0,0];break;case "scale":e[B]=J;z[B]=(z[B]+"").split(t);I[B]=[(J[0]-z[B][0])/j,(J[1]-z[B][1])/j,0,0];break;case "clip-rect":z[B]=(z[B]+"").split(t);I[B]=[];for(E=
4;E--;)I[B][E]=(J[E]-z[B][E])/j;break}v[B]=J}}this.stop();this.in_animation=1;ya[this.id]={start:e.start||+new Date,ms:j,easing:u,from:z,diff:I,to:v,el:this,callback:w,t:{x:0,y:0}};++ya[A]==1&&ab();return this};ga[c].stop=function(){ya[this.id]&&ya[A]--;delete ya[this.id];return this};ga[c].translate=function(e,j){return this.attr({translation:e+" "+j})};ga[c].toString=function(){return"Rapha\u00ebl\u2019s object"};k.ae=ya;var Ka=function(e){this.items=[];this[A]=0;if(e)for(var j=0,u=e[A];j<u;j++)if(e[j]&&
(e[j].constructor==ga||e[j].constructor==Ka)){this[this.items[A]]=this.items[this.items[A]]=e[j];this[A]++}};Ka[c][$]=function(){for(var e,j,u=0,w=arguments[A];u<w;u++)if((e=arguments[u])&&(e.constructor==ga||e.constructor==Ka)){j=this.items[A];this[j]=this.items[j]=e;this[A]++}return this};Ka[c].pop=function(){delete this[this[A]--];return this.items.pop()};for(var mb in ga[c])if(ga[c][S](mb))Ka[c][mb]=function(e){return function(){for(var j=0,u=this.items[A];j<u;j++)this.items[j][e][D](this.items[j],
arguments);return this}}(mb);Ka[c].attr=function(e){if(e&&k.is(e,"array")&&k.is(e[0],"object"))for(var j=0,u=e[A];j<u;j++)this.items[j].attr(e[j]);else{j=0;for(u=this.items[A];j<u;j++)this.items[j].attr[D](this.items[j],arguments)}return this};Ka[c].animate=function(e,j,u,w){(k.is(u,"function")||!u)&&(w=u||null);var z=this.items[A],v=z,I=this,B;w&&(B=function(){!--z&&w.call(I)});for(this.items[--v].animate(e,j,u||B,B);v--;)this.items[v].animateWith(this.items[z-1],e,j,u||B,B);return this};Ka[c].insertAfter=
function(e){for(var j=this.items[A];j--;)this.items[j].insertAfter(e);return this};Ka[c].getBBox=function(){for(var e=[],j=[],u=[],w=[],z=this.items[A];z--;){var v=this.items[z].getBBox();e[$](v.x);j[$](v.y);u[$](v.x+v.width);w[$](v.y+v.height)}e=O[D](0,e);j=O[D](0,j);return{x:e,y:j,width:K[D](0,u)-e,height:K[D](0,w)-j}};k.registerFont=function(e){if(!e.face)return e;this.fonts=this.fonts||{};var j={w:e.w,face:{},glyphs:{}},u=e.face["font-family"];for(var w in e.face)if(e.face[S](w))j.face[w]=e.face[w];
if(this.fonts[u])this.fonts[u][$](j);else this.fonts[u]=[j];if(!e.svg){j.face["units-per-em"]=wa(e.face["units-per-em"],10);for(var z in e.glyphs)if(e.glyphs[S](z)){u=e.glyphs[z];j.glyphs[z]={w:u.w,k:{},d:u.d&&"M"+u.d.replace(/[mlcxtrv]/g,function(I){return{l:"L",c:"C",x:"z",t:"m",r:"l",v:"c"}[I]||"M"})+"z"};if(u.k)for(var v in u.k)if(u[S](v))j.glyphs[z].k[v]=u.k[v]}}return e};q[c].getFont=function(e,j,u,w){w=w||"normal";u=u||"normal";j=+j||{normal:400,bold:700,lighter:300,bolder:800}[j]||400;var z=
k.fonts[e];if(!z){e=new RegExp("(^|\\s)"+e.replace(/[^\w\d\s+!~.:_-]/g,"")+"(\\s|$)","i");for(var v in k.fonts)if(k.fonts[S](v))if(e.test(v)){z=k.fonts[v];break}}var I;if(z){v=0;for(e=z[A];v<e;v++){I=z[v];if(I.face["font-weight"]==j&&(I.face["font-style"]==u||!I.face["font-style"])&&I.face["font-stretch"]==w)break}}return I};q[c].print=function(e,j,u,w,z,v){v=v||"middle";var I=this.set();u=(u+"").split("");var B=0;k.is(w,"string")&&(w=this.getFont(w));if(w){z=(z||16)/w.face["units-per-em"];var E=
w.face.bbox.split(t),J=+E[0];v=+E[1]+(v=="baseline"?E[3]-E[1]+ +w.face.descent:(E[3]-E[1])/2);E=0;for(var b=u[A];E<b;E++){var g=E&&w.glyphs[u[E-1]]||{},m=w.glyphs[u[E]];B+=E?(g.w||w.w)+(g.k&&g.k[u[E]]||0):0;m&&m.d&&I[$](this.path(m.d).attr({fill:"#000",stroke:"none",translation:[B,0]}))}I.scale(z,z,J,v).translate(e-J,j-v)}return I};k.format=function(e){var j=k.is(arguments[1],"array")?[0].concat(arguments[1]):arguments,u=/\{(\d+)\}/g;e&&k.is(e,"string")&&j[A]-1&&(e=e.replace(u,function(w,z){return j[++z]==
null?"":j[z]}));return e||""};k.ninja=function(){var e=h.Raphael,j;if(o.was)h.Raphael=o.is;else try{delete h.Raphael}catch(u){h.Raphael=j}return e};k.el=ga[c];return k}();(function(){Raphael.fn.g=Raphael.fn.g||{};Raphael.fn.g.markers={disc:"disc",o:"disc",flower:"flower",f:"flower",diamond:"diamond",d:"diamond",square:"square",s:"square",triangle:"triangle",t:"triangle",star:"star","*":"star",cross:"cross",x:"cross",plus:"plus","+":"plus",arrow:"arrow","->":"arrow"};Raphael.fn.g.shim={stroke:"none",fill:"#000","fill-opacity":0};Raphael.fn.g.txtattr={font:"12px Arial, sans-serif"};Raphael.fn.g.colors=[];for(var f=[0.6,0.2,0.05,0.1333,0.75,0],p=0;p<10;p++)p<f.length?
Raphael.fn.g.colors.push("hsb("+f[p]+", .75, .75)"):Raphael.fn.g.colors.push("hsb("+f[p-f.length]+", 1, .5)");Raphael.fn.g.text=function(l,t,y){return this.text(l,t,y).attr(this.g.txtattr)};Raphael.fn.g.labelise=function(l,t,y){return l?(l+"").replace(/(##+(?:\.#+)?)|(%%+(?:\.%+)?)/g,function(x,h,o){if(h)return(+t).toFixed(h.replace(/^#+\.?/g,"").length);if(o)return(t*100/y).toFixed(o.replace(/^%+\.?/g,"").length)+"%"}):(+t).toFixed(0)};Raphael.fn.g.finger=function(l,t,y,x,h,o,k){if(h&&!x||!h&&!y)return k?
"":this.path();o={square:"square",sharp:"sharp",soft:"soft"}[o]||"round";var q;x=Math.round(x);y=Math.round(y);l=Math.round(l);t=Math.round(t);switch(o){case "round":if(h){h=Math.floor(y/2);if(x<h){h=x;q=["M",l-Math.floor(y/2),t,"l",0,0,"a",Math.floor(y/2),h,0,0,1,y,0,"l",0,0,"z"]}else q=["M",l-h,t,"l",0,h-x,"a",h,h,0,1,1,y,0,"l",0,x-h,"z"]}else{h=Math.floor(x/2);if(y<h){h=y;q=["M",l+0.5,t+0.5-Math.floor(x/2),"l",0,0,"a",h,Math.floor(x/2),0,0,1,0,x,"l",0,0,"z"]}else q=["M",l+0.5,t+0.5-h,"l",y-h,0,
"a",h,h,0,1,1,0,x,"l",h-y,0,"z"]}break;case "sharp":if(h){h=Math.floor(y/2);q=["M",l+h,t,"l",-y,0,0,-Math.max(x-h,0),h,-Math.min(h,x),h,Math.min(h,x),h,"z"]}else{h=Math.floor(x/2);q=["M",l,t+h,"l",0,-x,Math.max(y-h,0),0,Math.min(h,y),h,-Math.min(h,y),h+(h*2<x),"z"]}break;case "square":q=h?["M",l+Math.floor(y/2),t,"l",1-y,0,0,-x,y-1,0,"z"]:["M",l,t+Math.floor(x/2),"l",0,-x,y,0,0,x,"z"];break;case "soft":if(h){h=Math.min(Math.round(y/5),x);q=["M",l-Math.floor(y/2),t,"l",0,h-x,"a",h,h,0,0,1,h,-h,"l",
y-2*h,0,"a",h,h,0,0,1,h,h,"l",0,x-h,"z"]}else{h=Math.min(y,Math.round(x/5));q=["M",l+0.5,t+0.5-Math.floor(x/2),"l",y-h,0,"a",h,h,0,0,1,h,h,"l",0,x-h*2,"a",h,h,0,0,1,-h,h,"l",h-y,0,"z"]}}return k?q.join(","):this.path(q)};Raphael.fn.g.disc=function(l,t,y){return this.circle(l,t,y)};Raphael.fn.g.line=function(l,t,y){return this.rect(l-y,t-y/5,2*y,2*y/5)};Raphael.fn.g.square=function(l,t,y){y*=0.7;return this.rect(l-y,t-y,2*y,2*y)};Raphael.fn.g.triangle=function(l,t,y){y*=1.75;return this.path("M".concat(l,
",",t,"m0-",y*0.58,"l",y*0.5,",",y*0.87,"-",y,",0z"))};Raphael.fn.g.diamond=function(l,t,y){return this.path(["M",l,t-y,"l",y,y,-y,y,-y,-y,y,-y,"z"])};Raphael.fn.g.flower=function(l,t,y,x){y*=1.25;y=y;var h=y*0.5;x=+x<3||!x?5:x;for(var o=["M",l,t+h,"Q"],k,q=1;q<x*2+1;q++){k=q%2?y:h;o=o.concat([+(l+k*Math.sin(q*Math.PI/x)).toFixed(3),+(t+k*Math.cos(q*Math.PI/x)).toFixed(3)])}o.push("z");return this.path(o.join(","))};Raphael.fn.g.star=function(l,t,y,x){x=x||y*0.5;for(var h=["M",l,t+x,"L"],o,k=1;k<
10;k++){o=k%2?y:x;h=h.concat([(l+o*Math.sin(k*Math.PI*0.2)).toFixed(3),(t+o*Math.cos(k*Math.PI*0.2)).toFixed(3)])}h.push("z");return this.path(h.join(","))};Raphael.fn.g.cross=function(l,t,y){y/=2.5;return this.path("M".concat(l-y,",",t,"l",[-y,-y,y,-y,y,y,y,-y,y,y,-y,y,y,y,-y,y,-y,-y,-y,y,-y,-y,"z"]))};Raphael.fn.g.plus=function(l,t,y){y/=2;return this.path("M".concat(l-y/2,",",t-y/2,"l",[0,-y,y,0,0,y,y,0,0,y,-y,0,0,y,-y,0,0,-y,-y,0,0,-y,"z"]))};Raphael.fn.g.arrow=function(l,t,y){return this.path("M".concat(l-
y*0.7,",",t-y*0.4,"l",[y*0.6,0,0,-y*0.4,y,y*0.8,-y,y*0.8,0,-y*0.4,-y*0.6,0],"z"))};Raphael.fn.g.tag=function(l,t,y,x,h){x=x||0;h=h==null?5:h;y=y==null?"$9.99":y;var o=0.5522*h,k=this.set();k.push(this.path().attr({fill:"#000",stroke:"none"}));k.push(this.text(l,t,y).attr(this.g.txtattr).attr({fill:"#fff"}));k.update=function(){this.rotate(0,l,t);var q=this[1].getBBox();if(q.height>=h*2)this[0].attr({path:["M",l,t+h,"a",h,h,0,1,1,0,-h*2,h,h,0,1,1,0,h*2,"m",0,-h*2-3,"a",h+3,h+3,0,1,0,0,(h+3)*2,"L",
l+h+3,t+q.height/2+3,"l",q.width+6,0,0,-q.height-6,-q.width-6,0,"L",l,t-h-3].join(",")});else{var D=Math.sqrt(Math.pow(h+3,2)-Math.pow(q.height/2+3,2));this[0].attr({path:["M",l,t+h,"c",-o,0,-h,o-h,-h,-h,0,-o,h-o,-h,h,-h,o,0,h,h-o,h,h,0,o,o-h,h,-h,h,"M",l+D,t-q.height/2-3,"a",h+3,h+3,0,1,0,0,q.height+6,"l",h+3-D+q.width+6,0,0,-q.height-6,"L",l+D,t-q.height/2-3].join(",")})}this[1].attr({x:l+h+3+q.width/2,y:t});x=(360-x)%360;this.rotate(x,l,t);x>90&&x<270&&this[1].attr({x:l-h-3-q.width/2,y:t,rotation:[180+
x,l,t]});return this};k.update();return k};Raphael.fn.g.popupit=function(l,t,y,x,h){x=x==null?2:x;h=h||5;l=Math.round(l)+0.5;t=Math.round(t)+0.5;var o=y.getBBox(),k=Math.round(o.width/2),q=Math.round(o.height/2),D=["M",l-[0,k+h*2,0,-k-h*2][x],t-[-q*2-h*3,-q-h,0,-q-h][x],"l",-h,(x==2)*-h,-Math.max(k-h,0),0,"a",h,h,0,0,1,-h,-h,"l",0,-Math.max(q-h,0),(x==3)*-h,-h,(x==3)*h,-h,0,-Math.max(q-h,0),"a",h,h,0,0,1,h,-h,"l",Math.max(k-h,0),0,h,!x*-h,h,!x*h,Math.max(k-h,0),0,"a",h,h,0,0,1,h,h,"l",0,Math.max(q-
h,0),(x==1)*h,h,(x==1)*-h,h,0,Math.max(q-h,0),"a",h,h,0,0,1,-h,h,"l",-Math.max(k-h,0),0,"z"].join(",");l=[{x:l,y:t+h*2+q},{x:l-h*2-k,y:t},{x:l,y:t-h*2-q},{x:l+h*2+k,y:t}][x];y.translate(l.x-k-o.x,l.y-q-o.y);return this.path(D).attr({fill:"#000",stroke:"none"}).insertBefore(y.node?y:y[0])};Raphael.fn.g.popup=function(l,t,y,x,h){x=x==null?2:x;h=h||5;y=y||"$9.99";var o=this.set();o.push(this.path().attr({fill:"#000",stroke:"none"}));o.push(this.text(l,t,y).attr(this.g.txtattr).attr({fill:"#fff"}));o.update=
function(k,q,D){k=k||l;q=q||t;var G=this[1].getBBox(),Q=G.width/2,S=G.height/2;G=["M",k-[0,Q+h*2,0,-Q-h*2][x],q-[-S*2-h*3,-S-h,0,-S-h][x],"l",-h,(x==2)*-h,-Math.max(Q-h,0),0,"a",h,h,0,0,1,-h,-h,"l",0,-Math.max(S-h,0),(x==3)*-h,-h,(x==3)*h,-h,0,-Math.max(S-h,0),"a",h,h,0,0,1,h,-h,"l",Math.max(Q-h,0),0,h,!x*-h,h,!x*h,Math.max(Q-h,0),0,"a",h,h,0,0,1,h,h,"l",0,Math.max(S-h,0),(x==1)*h,h,(x==1)*-h,h,0,Math.max(S-h,0),"a",h,h,0,0,1,-h,h,"l",-Math.max(Q-h,0),0,"z"].join(",");k=[{x:k,y:q+h*2+S},{x:k-h*2-
Q,y:q},{x:k,y:q-h*2-S},{x:k+h*2+Q,y:q}][x];if(D){this[0].animate({path:G},500,">");this[1].animate(k,500,">")}else{this[0].attr({path:G});this[1].attr(k)}return this};return o.update(l,t)};Raphael.fn.g.flag=function(l,t,y,x){x=x||0;y=y||"$9.99";var h=this.set();h.push(this.path().attr({fill:"#000",stroke:"none"}));h.push(this.text(l,t,y).attr(this.g.txtattr).attr({fill:"#fff"}));h.update=function(o,k){this.rotate(0,o,k);var q=this[1].getBBox(),D=q.height/2;this[0].attr({path:["M",o,k,"l",D+3,-D-3,
q.width+6,0,0,q.height+6,-q.width-6,0,"z"].join(",")});this[1].attr({x:o+D+3+q.width/2,y:k});x=360-x;this.rotate(x,o,k);x>90&&x<270&&this[1].attr({x:o-r-3-q.width/2,y:k,rotation:[180+x,o,k]});return this};return h.update(l,t)};Raphael.fn.g.label=function(l,t,y){var x=this.set();x.push(this.rect(l,t,10,10).attr({stroke:"none",fill:"#000"}));x.push(this.text(l,t,y).attr(this.g.txtattr).attr({fill:"#fff"}));x.update=function(){var h=this[1].getBBox(),o=Math.min(h.width+10,h.height+10)/2;this[0].attr({x:h.x-
o/2,y:h.y-o/2,width:h.width+o,height:h.height+o,r:o})};x.update();return x};Raphael.fn.g.labelit=function(l){var t=l.getBBox(),y=Math.min(20,t.width+10,t.height+10)/2;return this.rect(t.x-y/2,t.y-y/2,t.width+y,t.height+y,y).attr({stroke:"none",fill:"#000"}).insertBefore(l[0])};Raphael.fn.g.drop=function(l,t,y,x,h){x=x||30;h=h||0;var o=this.set();o.push(this.path(["M",l,t,"l",x,0,"A",x*0.4,x*0.4,0,1,0,l+x*0.7,t-x*0.7,"z"]).attr({fill:"#000",stroke:"none",rotation:[22.5-h,l,t]}));h=(h+90)*Math.PI/180;
o.push(this.text(l+x*Math.sin(h),t+x*Math.cos(h),y).attr(this.g.txtattr).attr({"font-size":x*12/30,fill:"#fff"}));o.drop=o[0];o.text=o[1];return o};Raphael.fn.g.blob=function(l,t,y,x,h){x=(+x+1?x:45)+90;h=h||12;var o=Math.PI/180,k=h*12/12,q=this.set();q.push(this.path().attr({fill:"#000",stroke:"none"}));q.push(this.text(l+h*Math.sin(x*o),t+h*Math.cos(x*o)-k/2,y).attr(this.g.txtattr).attr({"font-size":k,fill:"#fff"}));q.update=function(D,G,Q){D=D||l;G=G||t;var S=this[1].getBBox(),H=Math.max(S.width+
k,h*25/12),A=Math.max(S.height+k,h*25/12);S=D+h*Math.sin((x-22.5)*o);var c=G+h*Math.cos((x-22.5)*o);D=D+h*Math.sin((x+22.5)*o);G=G+h*Math.cos((x+22.5)*o);var N=(D-S)/2,M=(G-c)/2;H=H/2;A=A/2;var K=-Math.sqrt(Math.abs(H*H*A*A-H*H*M*M-A*A*N*N)/(H*H*M*M+A*A*N*N));M=K*H*M/A+(D+S)/2;N=K*-A*N/H+(G+c)/2;Q?this.animate({x:M,y:N,path:["M",l,t,"L",D,G,"A",H,A,0,1,1,S,c,"z"].join(",")},500,">"):this.attr({x:M,y:N,path:["M",l,t,"L",D,G,"A",H,A,0,1,1,S,c,"z"].join(",")});return this};q.update(l,t);return q};Raphael.fn.g.colorValue=
function(l,t,y,x){return"hsb("+[Math.min((1-l/t)*0.4,1),y||0.75,x||0.75]+")"};Raphael.fn.g.snapEnds=function(l,t,y){function x(q){return Math.abs(q-0.5)<0.25?Math.floor(q)+0.5:Math.round(q)}var h=l,o=t;if(h==o)return{from:h,to:o,power:0};h=(o-h)/y;var k=o=Math.floor(h);y=0;if(o){for(;k;){y--;k=Math.floor(h*Math.pow(10,y))/Math.pow(10,y)}y++}else{for(;!o;){y=y||1;o=Math.floor(h*Math.pow(10,y))/Math.pow(10,y);y++}y&&y--}o=x(t*Math.pow(10,y))/Math.pow(10,y);if(o<t)o=x((t+0.5)*Math.pow(10,y))/Math.pow(10,
y);h=x((l-(y>0?0:0.5))*Math.pow(10,y))/Math.pow(10,y);return{from:h,to:o,power:y}};Raphael.fn.g.axis=function(l,t,y,x,h,o,k,q,D,G){G=G==null?2:G;D=D||"t";o=o||10;var Q=D=="|"||D==" "?["M",l+0.5,t,"l",0,0.0010]:k==1||k==3?["M",l+0.5,t,"l",0,-y]:["M",l,t+0.5,"l",y,0];x=this.g.snapEnds(x,h,o);var S=x.from,H=x.to,A=x.power;h=0;x=this.set();d=(H-S)/o;H=S;var c=A>0?A:0;M=y/o;if(+k==1||+k==3){o=t;for(S=(k-1?1:-1)*(G+3+!!(k-1));o>=t-y;){D!="-"&&D!=" "&&(Q=Q.concat(["M",l-(D=="+"||D=="|"?G:!(k-1)*G*2),o+0.5,
"l",G*2+1,0]));x.push(this.text(l+S,o,q&&q[h++]||(Math.round(H)==H?H:+H.toFixed(c))).attr(this.g.txtattr).attr({"text-anchor":k-1?"start":"end"}));H+=d;o-=M}if(Math.round(o+M-(t-y))){D!="-"&&D!=" "&&(Q=Q.concat(["M",l-(D=="+"||D=="|"?G:!(k-1)*G*2),t-y+0.5,"l",G*2+1,0]));x.push(this.text(l+S,t-y,q&&q[h]||(Math.round(H)==H?H:+H.toFixed(c))).attr(this.g.txtattr).attr({"text-anchor":k-1?"start":"end"}))}}else{var N=l;H=S;c=A>0?A:0;S=(k?-1:1)*(G+9+!k);var M=y/o;for(o=A=0;N<=l+y;){D!="-"&&D!=" "&&(Q=Q.concat(["M",
N+0.5,t-(D=="+"?G:!!k*G*2),"l",0,G*2+1]));x.push(A=this.text(N,t+S,q&&q[h++]||(Math.round(H)==H?H:+H.toFixed(c))).attr(this.g.txtattr));A=A.getBBox();if(o>=A.x-5)x.pop(x.length-1).remove();else o=A.x+A.width;H+=d;N+=M}if(Math.round(N-M-l-y)){D!="-"&&D!=" "&&(Q=Q.concat(["M",l+y+0.5,t-(D=="+"?G:!!k*G*2),"l",0,G*2+1]));x.push(this.text(l+y,t+S,q&&q[h]||(Math.round(H)==H?H:+H.toFixed(c))).attr(this.g.txtattr))}}l=this.path(Q);l.text=x;l.all=this.set([l,x]);l.remove=function(){this.text.remove();this.constructor.prototype.remove.call(this)};
return l};Raphael.el.lighter=function(l){l=l||2;var t=[this.attrs.fill,this.attrs.stroke];this.fs=this.fs||[t[0],t[1]];t[0]=Raphael.rgb2hsb(Raphael.getRGB(t[0]).hex);t[1]=Raphael.rgb2hsb(Raphael.getRGB(t[1]).hex);t[0].b=Math.min(t[0].b*l,1);t[0].s/=l;t[1].b=Math.min(t[1].b*l,1);t[1].s/=l;this.attr({fill:"hsb("+[t[0].h,t[0].s,t[0].b]+")",stroke:"hsb("+[t[1].h,t[1].s,t[1].b]+")"})};Raphael.el.darker=function(l){l=l||2;var t=[this.attrs.fill,this.attrs.stroke];this.fs=this.fs||[t[0],t[1]];t[0]=Raphael.rgb2hsb(Raphael.getRGB(t[0]).hex);
t[1]=Raphael.rgb2hsb(Raphael.getRGB(t[1]).hex);t[0].s=Math.min(t[0].s*l,1);t[0].b/=l;t[1].s=Math.min(t[1].s*l,1);t[1].b/=l;this.attr({fill:"hsb("+[t[0].h,t[0].s,t[0].b]+")",stroke:"hsb("+[t[1].h,t[1].s,t[1].b]+")"})};Raphael.el.original=function(){if(this.fs){this.attr({fill:this.fs[0],stroke:this.fs[1]});delete this.fs}}})();Raphael.fn.g.linechart=function(f,p,l,t,y,x,h){function o(ka,ra){ra=ka.length/ra;for(var ia=0,na=ra,ua=0,sa=[];ia<ka.length;){na--;if(na<0){ua+=ka[ia]*(1+na);sa.push(ua/ra);ua=ka[ia++]*-na;na+=ra}else ua+=ka[ia++]}return sa}function k(ka){for(var ra=[],ia=0,na=y.length;ia<na;ia++)ra=ra.concat(y[ia]);ra.sort();var ua=[],sa=[];ia=0;for(na=ra.length;ia<na;ia++)ra[ia]!=ra[ia-1]&&ua.push(ra[ia])&&sa.push(f+H+(ra[ia]-Q)*A);ra=ua;na=ra.length;var Ma=ka||O.set();for(ia=0;ia<na;ia++){ua=sa[ia]-(sa[ia]-(sa[ia-
1]||f))/2;var Aa=((sa[ia+1]||f+l)-sa[ia])/2+(sa[ia]-(sa[ia-1]||f))/2,za;ka?(za={}):Ma.push(za=O.rect(ua-1,p,Math.max(Aa+1,1),t).attr({stroke:"none",fill:"#000",opacity:0}));za.values=[];za.symbols=O.set();za.y=[];za.x=sa[ia];za.axis=ra[ia];Aa=0;for(var Ja=x.length;Aa<Ja;Aa++){ua=y[Aa]||y[0];for(var Oa=0,Qa=ua.length;Oa<Qa;Oa++)if(ua[Oa]==ra[ia]){za.values.push(x[Aa][Oa]);za.y.push(p+t-H-(x[Aa][Oa]-c)*M);za.symbols.push(T.symbols[Aa][Oa])}}ka&&ka.call(za)}!ka&&(R=Ma)}function q(ka){for(var ra=ka||
O.set(),ia,na=0,ua=x.length;na<ua;na++)for(var sa=0,Ma=x[na].length;sa<Ma;sa++){var Aa=f+H+((y[na]||y[0])[sa]-Q)*A,za=f+H+((y[na]||y[0])[sa?sa-1:1]-Q)*A,Ja=p+t-H-(x[na][sa]-c)*M;ka?(ia={}):ra.push(ia=O.circle(Aa,Ja,Math.abs(za-Aa)/2).attr({stroke:"none",fill:"#000",opacity:0}));ia.x=Aa;ia.y=Ja;ia.value=x[na][sa];ia.line=T.lines[na];ia.shade=T.shades[na];ia.symbol=T.symbols[na][sa];ia.symbols=T.symbols[na];ia.axis=(y[na]||y[0])[sa];ka&&ka.call(ia)}!ka&&(Y=ra)}h=h||{};this.raphael.is(y[0],"array")||
(y=[y]);this.raphael.is(x[0],"array")||(x=[x]);var D=Array.prototype.concat.apply([],y),G=Array.prototype.concat.apply([],x);D=this.g.snapEnds(Math.min.apply(Math,D),Math.max.apply(Math,D),y[0].length-1);var Q=D.from,S=D.to,H=h.gutter||10,A=(l-H*2)/(S-Q);G=this.g.snapEnds(Math.min.apply(Math,G),Math.max.apply(Math,G),x[0].length-1);var c=G.from,N=G.to,M=(t-H*2)/(N-c),K=Math.max(y[0].length,x[0].length);G=h.symbol||"";D=h.colors||Raphael.fn.g.colors;for(var O=this,R=null,Y=null,T=this.set(),$=[],da=
0,qa=x.length;da<qa;da++)K=Math.max(K,x[da].length);var xa=this.set();da=0;for(qa=x.length;da<qa;da++){if(h.shade)xa.push(this.path().attr({stroke:"none",fill:D[da],opacity:h.nostroke?1:0.3}));if(x[da].length>l-2*H){x[da]=o(x[da],l-2*H);K=l-2*H}if(y[da]&&y[da].length>l-2*H)y[da]=o(y[da],l-2*H)}K=this.set();if(h.axis){$=(h.axis+"").split(/[,\s]+/);+$[0]&&K.push(this.g.axis(f+H,p+H,l-2*H,Q,S,h.axisxstep||Math.floor((l-2*H)/20),2));+$[1]&&K.push(this.g.axis(f+l-H,p+t-H,t-2*H,c,N,h.axisystep||Math.floor((t-
2*H)/20),3));+$[2]&&K.push(this.g.axis(f+H,p+t-H,l-2*H,Q,S,h.axisxstep||Math.floor((l-2*H)/20),0));+$[3]&&K.push(this.g.axis(f+H,p+t-H,t-2*H,c,N,h.axisystep||Math.floor((t-2*H)/20),1))}S=this.set();N=this.set();var ca;da=0;for(qa=x.length;da<qa;da++){h.nostroke||S.push(ca=this.path().attr({stroke:D[da],"stroke-width":h.width||2,"stroke-linejoin":"round","stroke-linecap":"round","stroke-dasharray":h.dash||""}));var fa=this.raphael.is(G,"array")?G[da]:G,wa=this.set();$=[];for(var Ca=0,Na=x[da].length;Ca<
Na;Ca++){var Ga=f+H+((y[da]||y[0])[Ca]-Q)*A,La=p+t-H-(x[da][Ca]-c)*M;(Raphael.is(fa,"array")?fa[Ca]:fa)&&wa.push(this.g[Raphael.fn.g.markers[this.raphael.is(fa,"array")?fa[Ca]:fa]](Ga,La,(h.width||2)*3).attr({fill:D[da],stroke:"none"}));$=$.concat([Ca?"L":"M",Ga,La])}N.push(wa);if(h.shade)xa[da].attr({path:$.concat(["L",Ga,p+t-H,"L",f+H+((y[da]||y[0])[0]-Q)*A,p+t-H,"z"]).join(",")});!h.nostroke&&ca.attr({path:$.join(",")})}T.push(S,xa,N,K,R,Y);T.lines=S;T.shades=xa;T.symbols=N;T.axis=K;T.hoverColumn=
function(ka,ra){!R&&k();R.mouseover(ka).mouseout(ra);return this};T.clickColumn=function(ka){!R&&k();R.click(ka);return this};T.hrefColumn=function(ka){var ra=O.raphael.is(arguments[0],"array")?arguments[0]:arguments;if(!(arguments.length-1)&&typeof ka=="object")for(var ia in ka)for(var na=0,ua=R.length;na<ua;na++)R[na].axis==ia&&R[na].attr("href",ka[ia]);!R&&k();na=0;for(ua=ra.length;na<ua;na++)R[na]&&R[na].attr("href",ra[na]);return this};T.hover=function(ka,ra){!Y&&q();Y.mouseover(ka).mouseout(ra);
return this};T.click=function(ka){!Y&&q();Y.click(ka);return this};T.each=function(ka){q(ka);return this};T.eachColumn=function(ka){k(ka);return this};return T};
