/*
 Creative Commons Attribution License 3.0 (http://creativecommons.org/licenses/by/3.0/)

*/
(function(d){function j(c){d.jqplot.ElemContainer.call(this);this.name=c;this._series=[];this.show=false;this.tickRenderer=d.jqplot.AxisTickRenderer;this.tickOptions={};this.labelRenderer=d.jqplot.AxisLabelRenderer;this.labelOptions={};this.label=null;this.showLabel=true;this.max=this.min=null;this.autoscale=false;this.pad=1.2;this.padMin=this.padMax=null;this.ticks=[];this.renderer=d.jqplot.LinearAxisRenderer;this.rendererOptions={};this.showMinorTicks=this.showTickMarks=this.showTicks=true;this.useSeriesColor=
false;this.borderColor=this.borderWidth=null;this._dataBounds={min:null,max:null};this._offsets={min:null,max:null};this._ticks=[];this.syncTicks=this._label=null;this.tickSpacing=75;this.__ticks=this._numberTicks=this._tickInterval=this._max=this._min=null}function l(c){d.jqplot.ElemContainer.call(this);this.show=false;this.location="ne";this.yoffset=this.xoffset=12;this.rowSpacing="0.5em";this.renderer=d.jqplot.TableLegendRenderer;this.rendererOptions={};this.escapeHtml=this.preDraw=false;this._series=
[];d.extend(true,this,c)}function x(c){d.jqplot.ElemContainer.call(this);this.text=c;this.show=true;this.renderer=d.jqplot.DivTitleRenderer;this.rendererOptions={}}function r(){d.jqplot.ElemContainer.call(this);this.show=true;this.xaxis="xaxis";this.yaxis="yaxis";this.gridBorderWidth=2;this.renderer=d.jqplot.LineRenderer;this.rendererOptions={};this.data=[];this.gridData=[];this.label="";this.showLabel=true;this.lineWidth=2.5;this.shadow=true;this.shadowAngle=45;this.shadowOffset=1.25;this.shadowDepth=
3;this.shadowAlpha="0.1";this.breakOnNull=false;this.markerRenderer=d.jqplot.MarkerRenderer;this.markerOptions={};this.showMarker=this.showLine=true;this._stack=this.disableStack=this.fillAndStroke=this.fill=false;this.neighborThreshold=4;this.fillToZero=false;this.fillAxis="y";this.useNegativeColors=true;this._stackData=[];this._plotData=[];this._plotValues={x:[],y:[]};this._intervals={x:{},y:{}};this._prevPlotData=[];this._prevGridData=[];this._stackAxis="y";this._primaryAxis="_xaxis";this.canvas=
new d.jqplot.GenericCanvas;this.shadowCanvas=new d.jqplot.GenericCanvas;this.plugins={};this._sumx=this._sumy=0}function B(){d.jqplot.ElemContainer.call(this);this.drawGridlines=true;this.gridLineColor="#cccccc";this.gridLineWidth=1;this.background="#fffdf6";this.borderColor="#999999";this.borderWidth=2;this.shadow=true;this.shadowAngle=45;this.shadowOffset=1.5;this.shadowDepth=this.shadowWidth=3;this.shadowAlpha="0.07";this._axes=[];this.renderer=d.jqplot.CanvasGridRenderer;this.rendererOptions=
{};this._offsets={top:null,bottom:null,left:null,right:null}}function z(){function c(b){for(var f,g=0;g<b.length;g++){f=b[g].data;var h=true;if(b[g]._stackAxis=="x"){for(var k=0;k<f.length;k++)if(typeof f[k][1]!="number"){h=false;break}h&&f.sort(function(q,u){return q[1]-u[1]})}else{for(k=0;k<f.length;k++)if(typeof f[k][0]!="number"){h=false;break}h&&f.sort(function(q,u){return q[0]-u[0]})}}}function a(b){var f=b.data.plot,g=f.eventCanvas._elem.offset();b={x:b.pageX-g.left,y:b.pageY-g.top};var h=
{xaxis:null,yaxis:null,x2axis:null,y2axis:null,y3axis:null,y4axis:null,y5axis:null,y6axis:null,y7axis:null,y8axis:null,y9axis:null},k=["xaxis","yaxis","x2axis","y2axis","y3axis","y4axis","y5axis","y6axis","y7axis","y8axis","y9axis"];f=f.axes;for(var q=11;q>0;q--){var u=k[q-1];if(f[u].show)h[u]=f[u].series_p2u(b[u.charAt(0)])}return{offsets:g,gridPos:b,dataPos:h}}function e(b,f,g){var h=null,k,q,u,y,t,C,F;for(q=0;q<b.series.length;q++){k=b.series[q];C=k.renderer;if(k.show){F=Math.abs(k.markerRenderer.size/
2+k.neighborThreshold);for(t=0;t<k.gridData.length;t++){p=k.gridData[t];if(C.constructor==d.jqplot.OHLCRenderer)if(C.candleStick){y=k._yaxis.series_u2p;if(f>=p[0]-C._bodyWidth/2&&f<=p[0]+C._bodyWidth/2&&g>=y(k.data[t][2])&&g<=y(k.data[t][3]))h={seriesIndex:q,pointIndex:t,gridData:p,data:k.data[t]}}else if(C.hlc){y=k._yaxis.series_u2p;if(f>=p[0]-C._tickLength&&f<=p[0]+C._tickLength&&g>=y(k.data[t][1])&&g<=y(k.data[t][2]))h={seriesIndex:q,pointIndex:t,gridData:p,data:k.data[t]}}else{y=k._yaxis.series_u2p;
if(f>=p[0]-C._tickLength&&f<=p[0]+C._tickLength&&g>=y(k.data[t][2])&&g<=y(k.data[t][3]))h={seriesIndex:q,pointIndex:t,gridData:p,data:k.data[t]}}else{y=Math.sqrt((f-p[0])*(f-p[0])+(g-p[1])*(g-p[1]));if(y<=F&&(y<=u||u==null)){u=y;h={seriesIndex:q,pointIndex:t,gridData:p,data:k.data[t]}}}}}}return h}this.data=[];this.target=this.targetId=null;this.defaults={axesDefaults:{},axes:{xaxis:{},yaxis:{},x2axis:{},y2axis:{},y3axis:{},y4axis:{},y5axis:{},y6axis:{},y7axis:{},y8axis:{},y9axis:{}},seriesDefaults:{},
gridPadding:{top:10,right:10,bottom:23,left:10},series:[]};this.series=[];this.axes={xaxis:new j("xaxis"),yaxis:new j("yaxis"),x2axis:new j("x2axis"),y2axis:new j("y2axis"),y3axis:new j("y3axis"),y4axis:new j("y4axis"),y5axis:new j("y5axis"),y6axis:new j("y6axis"),y7axis:new j("y7axis"),y8axis:new j("y8axis"),y9axis:new j("y9axis")};this.grid=new B;this.legend=new l;this.baseCanvas=new d.jqplot.GenericCanvas;this.eventCanvas=new d.jqplot.GenericCanvas;this._height=this._width=null;this._plotDimensions=
{height:null,width:null};this._gridPadding={top:10,right:10,bottom:10,left:10};this.syncYTicks=this.syncXTicks=true;this.seriesColors=["#4bb2c5","#EAA228","#c5b47f","#579575","#839557","#958c12","#953579","#4b5de4","#d8b83f","#ff5800","#0085cc","#c747a3","#cddf54","#FBD178","#26B4E3","#bd70c7"];this.negativeSeriesColors=["#498991","#C08840","#9F9274","#546D61","#646C4A","#6F6621","#6E3F5F","#4F64B0","#A89050","#C45923","#187399","#945381","#959E5C","#C7AF7B","#478396","#907294"];this.sortData=true;
this.title=new x;this.options={};this.stackSeries=false;this._stackData=[];this._plotData=[];this.plugins={};this._drawCount=0;this.drawIfHidden=false;this._sumx=this._sumy=0;this.colorGenerator=d.jqplot.ColorGenerator;this.init=function(b,f,g){for(var h=0;h<d.jqplot.preInitHooks.length;h++)d.jqplot.preInitHooks[h].call(this,b,f,g);this.targetId="#"+b;this.target=d("#"+b);if(!this.target.get(0))throw"No plot target specified";this.target.css("position")=="static"&&this.target.css("position","relative");
this.target.hasClass("jqplot-target")||this.target.addClass("jqplot-target");if(this.target.height())this._height=this.target.height();else{this._height=h=g&&g.height?parseInt(g.height,10):this.target.attr("data-height")?parseInt(this.target.attr("data-height"),10):parseInt(d.jqplot.config.defaultHeight,10);this.target.css("height",h+"px")}if(this.target.width())this._width=this.target.width();else{this._width=h=g&&g.width?parseInt(g.width,10):this.target.attr("data-width")?parseInt(this.target.attr("data-width"),
10):parseInt(d.jqplot.config.defaultWidth,10);this.target.css("width",h+"px")}this._plotDimensions.height=this._height;this._plotDimensions.width=this._width;this.grid._plotDimensions=this._plotDimensions;this.title._plotDimensions=this._plotDimensions;this.baseCanvas._plotDimensions=this._plotDimensions;this.eventCanvas._plotDimensions=this._plotDimensions;this.legend._plotDimensions=this._plotDimensions;if(this._height<=0||this._width<=0||!this._height||!this._width)throw"Canvas dimension not set";
this.data=f;this.parseOptions(g);this.textColor&&this.target.css("color",this.textColor);this.fontFamily&&this.target.css("font-family",this.fontFamily);this.fontSize&&this.target.css("font-size",this.fontSize);this.title.init();this.legend.init();for(h=this._sumx=this._sumy=0;h<this.series.length;h++){this.series[h].shadowCanvas._plotDimensions=this._plotDimensions;this.series[h].canvas._plotDimensions=this._plotDimensions;for(var k=0;k<d.jqplot.preSeriesInitHooks.length;k++)d.jqplot.preSeriesInitHooks[k].call(this.series[h],
b,f,this.options.seriesDefaults,this.options.series[h]);this.populatePlotData(this.series[h],h);this.series[h]._plotDimensions=this._plotDimensions;this.series[h].init(h,this.grid.borderWidth,this);for(k=0;k<d.jqplot.postSeriesInitHooks.length;k++)d.jqplot.postSeriesInitHooks[k].call(this.series[h],b,f,this.options.seriesDefaults,this.options.series[h]);this._sumy+=this.series[h]._sumy;this._sumx+=this.series[h]._sumx}for(var q in this.axes){this.axes[q]._plotDimensions=this._plotDimensions;this.axes[q].init()}this.sortData&&
c(this.series);this.grid.init();this.grid._axes=this.axes;this.legend._series=this.series;for(h=0;h<d.jqplot.postInitHooks.length;h++)d.jqplot.postInitHooks[h].call(this,b,f,g)};this.resetAxesScale=function(b){b=b!=v?b:this.axes;if(b===true)b=this.axes;if(b.constructor===Array)for(var f=0;f<b.length;f++)this.axes[b[f]].resetScale();else if(b.constructor===Object)for(f in b)this.axes[f].resetScale()};this.reInitialize=function(){if(this.target.height())this._height=this.target.height();else{var b;
this._height=b=options&&options.height?parseInt(options.height,10):this.target.attr("data-height")?parseInt(this.target.attr("data-height"),10):parseInt(d.jqplot.config.defaultHeight,10);this.target.css("height",b+"px")}if(this.target.width())this._width=this.target.width();else{this._width=b=options&&options.width?parseInt(options.width,10):this.target.attr("data-width")?parseInt(this.target.attr("data-width"),10):parseInt(d.jqplot.config.defaultWidth,10);this.target.css("width",b+"px")}if(this._height<=
0||this._width<=0||!this._height||!this._width)throw"Target dimension not set";this._plotDimensions.height=this._height;this._plotDimensions.width=this._width;this.grid._plotDimensions=this._plotDimensions;this.title._plotDimensions=this._plotDimensions;this.baseCanvas._plotDimensions=this._plotDimensions;this.eventCanvas._plotDimensions=this._plotDimensions;this.legend._plotDimensions=this._plotDimensions;for(var f in this.axes){b=this.axes[f];b._plotWidth=this._width;b._plotHeight=this._height}this.title._plotWidth=
this._width;this.textColor&&this.target.css("color",this.textColor);this.fontFamily&&this.target.css("font-family",this.fontFamily);this.fontSize&&this.target.css("font-size",this.fontSize);for(f=this._sumx=this._sumy=0;f<this.series.length;f++){this.populatePlotData(this.series[f],f);this.series[f]._plotDimensions=this._plotDimensions;this.series[f].canvas._plotDimensions=this._plotDimensions;this._sumy+=this.series[f]._sumy;this._sumx+=this.series[f]._sumx}for(var g in this.axes){this.axes[g]._plotDimensions=
this._plotDimensions;this.axes[g]._ticks=[];this.axes[g].renderer.init.call(this.axes[g],{})}this.sortData&&c(this.series);this.grid._axes=this.axes;this.legend._series=this.series};this.populatePlotData=function(b,f){this._plotData=[];this._stackData=[];b._stackData=[];b._plotData=[];var g={x:[],y:[]};if(this.stackSeries&&!b.disableStack){b._stack=true;for(var h=b._stackAxis=="x"?0:1,k=d.extend(true,[],b.data),q=d.extend(true,[],b.data),u=0;u<f;u++)for(var y=this.series[u].data,t=0;t<y.length;t++){k[t][0]+=
y[t][0];k[t][1]+=y[t][1];q[t][h]+=y[t][h]}for(h=0;h<q.length;h++){g.x.push(q[h][0]);g.y.push(q[h][1])}this._plotData.push(q);this._stackData.push(k);b._stackData=k;b._plotData=q}else{for(h=0;h<b.data.length;h++){g.x.push(b.data[h][0]);g.y.push(b.data[h][1])}this._stackData.push(b.data);this.series[f]._stackData=b.data;this._plotData.push(b.data);b._plotData=b.data}b._plotValues=g;if(f>0)b._prevPlotData=this.series[f-1]._plotData;b._sumy=0;b._sumx=0;for(h=b.data.length-1;h>-1;h--){b._sumy+=b.data[h][1];
b._sumx+=b.data[h][0]}};this.getNextSeriesColor=function(b){var f=0,g=b.seriesColors;return function(){f<g.length||(f=0);return g[f++]}}(this);this.parseOptions=function(b){for(var f=0;f<d.jqplot.preParseOptionsHooks.length;f++)d.jqplot.preParseOptionsHooks[f].call(this,b);this.options=d.extend(true,{},this.defaults,b);this.stackSeries=this.options.stackSeries;if(this.options.seriesColors)this.seriesColors=this.options.seriesColors;var g=new this.colorGenerator(this.seriesColors);d.extend(true,this._gridPadding,
this.options.gridPadding);this.sortData=this.options.sortData!=null?this.options.sortData:this.sortData;for(var h in this.axes){f=this.axes[h];d.extend(true,f,this.options.axesDefaults,this.options.axes[h]);f._plotWidth=this._width;f._plotHeight=this._height}if(this.data.length==0){this.data=[];for(f=0;f<this.options.series.length;f++)this.data.push(this.options.series.data)}var k=function(y,t){var C=[],F;t=t||"vertical";if(y[0]instanceof Array)d.extend(true,C,y);else for(F=0;F<y.length;F++)t=="vertical"?
C.push([F+1,y[F]]):C.push([y[F],F+1]);return C};for(f=0;f<this.data.length;f++){for(var q=new r,u=0;u<d.jqplot.preParseSeriesOptionsHooks.length;u++)d.jqplot.preParseSeriesOptionsHooks[u].call(q,this.options.seriesDefaults,this.options.series[f]);d.extend(true,q,{seriesColors:this.seriesColors,negativeSeriesColors:this.negativeSeriesColors},this.options.seriesDefaults,this.options.series[f]);u="vertical";if(q.renderer.constructor==d.jqplot.barRenderer&&q.rendererOptions&&q.rendererOptions.barDirection==
"horizontal")u="horizontal";q.data=k(this.data[f],u);switch(q.xaxis){case "xaxis":q._xaxis=this.axes.xaxis;break;case "x2axis":q._xaxis=this.axes.x2axis;break;default:break}q._yaxis=this.axes[q.yaxis];q._xaxis._series.push(q);q._yaxis._series.push(q);if(q.show){q._xaxis.show=true;q._yaxis.show=true}if(!q.color&&q.show!=false)q.color=g.next();if(!q.label)q.label="Series "+(f+1).toString();this.series.push(q);for(u=0;u<d.jqplot.postParseSeriesOptionsHooks.length;u++)d.jqplot.postParseSeriesOptionsHooks[u].call(this.series[f],
this.options.seriesDefaults,this.options.series[f])}d.extend(true,this.grid,this.options.grid);for(h in this.axes){f=this.axes[h];if(f.borderWidth==null)f.borderWidth=this.grid.borderWidth;if(f.borderColor==null)f.borderColor=h!="xaxis"&&h!="x2axis"&&f.useSeriesColor===true&&f.show?f._series[0].color:this.grid.borderColor}if(typeof this.options.title=="string")this.title.text=this.options.title;else typeof this.options.title=="object"&&d.extend(true,this.title,this.options.title);this.title._plotWidth=
this._width;d.extend(true,this.legend,this.options.legend);for(f=0;f<d.jqplot.postParseOptionsHooks.length;f++)d.jqplot.postParseOptionsHooks[f].call(this,b)};this.replot=function(b){var f=b!=v?b:{};b=f.clear!=v?f.clear:true;f=f.resetAxes!=v?f.resetAxes:false;this.target.trigger("jqplotPreReplot");b&&this.target.empty();f&&this.resetAxesScale(f);this.reInitialize();this.draw();this.target.trigger("jqplotPostReplot")};this.redraw=function(b){b=b!=null?b:true;this.target.trigger("jqplotPreRedraw");
b&&this.target.empty();for(var f in this.axes)this.axes[f]._ticks=[];for(b=0;b<this.series.length;b++)this.populatePlotData(this.series[b],b);for(b=this._sumx=this._sumy=0;b<this.series.length;b++){this._sumy+=this.series[b]._sumy;this._sumx+=this.series[b]._sumx}this.draw();this.target.trigger("jqplotPostRedraw")};this.draw=function(){if(this.drawIfHidden||this.target.is(":visible")){this.target.trigger("jqplotPreDraw");var b;for(b=0;b<d.jqplot.preDrawHooks.length;b++)d.jqplot.preDrawHooks[b].call(this);
this.target.append(this.baseCanvas.createElement({left:0,right:0,top:0,bottom:0},"jqplot-base-canvas"));var f=this.baseCanvas.setContext();this.target.append(this.title.draw());this.title.pack({top:0,left:0});for(var g in this.axes){this.target.append(this.axes[g].draw(f));this.axes[g].set()}if(this.axes.yaxis.show)this._gridPadding.left=this.axes.yaxis.getWidth();g=["y2axis","y3axis","y4axis","y5axis","y6axis","y7axis","y8axis","y9axis"];f=[0,0,0,0];b=0;var h,k;for(h=8;h>0;h--){k=this.axes[g[h-1]];
if(k.show){f[h-1]=b;b+=k.getWidth()}}if(b>this._gridPadding.right)this._gridPadding.right=b;if(this.title.show&&this.axes.x2axis.show)this._gridPadding.top=this.title.getHeight()+this.axes.x2axis.getHeight();else if(this.title.show)this._gridPadding.top=this.title.getHeight();else if(this.axes.x2axis.show)this._gridPadding.top=this.axes.x2axis.getHeight();if(this.axes.xaxis.show)this._gridPadding.bottom=this.axes.xaxis.getHeight();this.axes.xaxis.pack({position:"absolute",bottom:0,left:0,width:this._width},
{min:this._gridPadding.left,max:this._width-this._gridPadding.right});this.axes.yaxis.pack({position:"absolute",top:0,left:0,height:this._height},{min:this._height-this._gridPadding.bottom,max:this._gridPadding.top});this.axes.x2axis.pack({position:"absolute",top:this.title.getHeight(),left:0,width:this._width},{min:this._gridPadding.left,max:this._width-this._gridPadding.right});for(b=8;b>0;b--)this.axes[g[b-1]].pack({position:"absolute",top:0,right:f[b-1]},{min:this._height-this._gridPadding.bottom,
max:this._gridPadding.top});this.target.append(this.grid.createElement(this._gridPadding));this.grid.draw();for(b=0;b<this.series.length;b++){this.target.append(this.series[b].shadowCanvas.createElement(this._gridPadding,"jqplot-series-canvas jqplot-shadow"));this.series[b].shadowCanvas.setContext()}for(b=0;b<this.series.length;b++){this.target.append(this.series[b].canvas.createElement(this._gridPadding,"jqplot-series-canvas"));this.series[b].canvas.setContext()}this.target.append(this.eventCanvas.createElement(this._gridPadding,
"jqplot-event-canvas"));g=this.eventCanvas.setContext();g.fillStyle="rgba(0,0,0,0)";g.fillRect(0,0,g.canvas.width,g.canvas.height);this.bindCustomEvents();if(this.legend.preDraw){this.target.append(this.legend.draw());this.legend.pack(this._gridPadding);this.legend._elem?this.drawSeries({legendInfo:{location:this.legend.location,width:this.legend.getWidth(),height:this.legend.getHeight(),xoffset:this.legend.xoffset,yoffset:this.legend.yoffset}}):this.drawSeries()}else{this.drawSeries();d(this.series[this.series.length-
1].canvas._elem).after(this.legend.draw());this.legend.pack(this._gridPadding)}for(b=0;b<d.jqplot.eventListenerHooks.length;b++){g=d.jqplot.eventListenerHooks[b];this.eventCanvas._elem.bind(g[0],{plot:this},g[1])}for(b=0;b<d.jqplot.postDrawHooks.length;b++)d.jqplot.postDrawHooks[b].call(this);if(this.target.is(":visible"))this._drawCount+=1;this.target.trigger("jqplotPostDraw",[this])}};this.bindCustomEvents=function(){this.eventCanvas._elem.bind("click",{plot:this},this.onClick);this.eventCanvas._elem.bind("dblclick",
{plot:this},this.onDblClick);this.eventCanvas._elem.bind("mousedown",{plot:this},this.onMouseDown);this.eventCanvas._elem.bind("mouseup",{plot:this},this.onMouseUp);this.eventCanvas._elem.bind("mousemove",{plot:this},this.onMouseMove);this.eventCanvas._elem.bind("mouseenter",{plot:this},this.onMouseEnter);this.eventCanvas._elem.bind("mouseleave",{plot:this},this.onMouseLeave)};this.onClick=function(b){var f=a(b),g=b.data.plot,h=e(g,f.gridPos.x,f.gridPos.y);b.data.plot.eventCanvas._elem.trigger("jqplotClick",
[f.gridPos,f.dataPos,h,g])};this.onDblClick=function(b){var f=a(b),g=b.data.plot,h=e(g,f.gridPos.x,f.gridPos.y);b.data.plot.eventCanvas._elem.trigger("jqplotDblClick",[f.gridPos,f.dataPos,h,g])};this.onMouseDown=function(b){var f=a(b),g=b.data.plot,h=e(g,f.gridPos.x,f.gridPos.y);b.data.plot.eventCanvas._elem.trigger("jqplotMouseDown",[f.gridPos,f.dataPos,h,g])};this.onMouseUp=function(b){var f=a(b);b.data.plot.eventCanvas._elem.trigger("jqplotMouseUp",[f.gridPos,f.dataPos,null,b.data.plot])};this.onMouseMove=
function(b){var f=a(b),g=b.data.plot,h=e(g,f.gridPos.x,f.gridPos.y);b.data.plot.eventCanvas._elem.trigger("jqplotMouseMove",[f.gridPos,f.dataPos,h,g])};this.onMouseEnter=function(b){var f=a(b);b.data.plot.eventCanvas._elem.trigger("jqplotMouseEnter",[f.gridPos,f.dataPos,null,b.data.plot])};this.onMouseLeave=function(b){var f=a(b);b.data.plot.eventCanvas._elem.trigger("jqplotMouseLeave",[f.gridPos,f.dataPos,null,b.data.plot])};this.drawSeries=function(b,f){var g,h;if(f!=v){g=this.series[f];h=g.shadowCanvas._ctx;
h.clearRect(0,0,h.canvas.width,h.canvas.height);g.drawShadow(h,b,this);h=g.canvas._ctx;h.clearRect(0,0,h.canvas.width,h.canvas.height);g.draw(h,b,this)}else for(f=0;f<this.series.length;f++){g=this.series[f];h=g.shadowCanvas._ctx;h.clearRect(0,0,h.canvas.width,h.canvas.height);g.drawShadow(h,b,this);h=g.canvas._ctx;h.clearRect(0,0,h.canvas.width,h.canvas.height);g.draw(h,b,this)}}}var v;d.jqplot=function(c,a,e){var b,f;if(a==null)throw"No data specified";if(a.constructor==Array&&a.length==0||a[0].constructor!=
Array)throw"Improper Data Array";if(e==null)if(a instanceof Array){b=a;f=null}else{if(a.constructor==Object){b=null;f=a}}else{b=a;f=e}a=new z;a.init(c,b,f);a.draw();return a};d.jqplot.debug=1;d.jqplot.config={debug:1,enablePlugins:true,defaultHeight:300,defaultWidth:400};d.jqplot.enablePlugins=d.jqplot.config.enablePlugins;d.jqplot.preInitHooks=[];d.jqplot.postInitHooks=[];d.jqplot.preParseOptionsHooks=[];d.jqplot.postParseOptionsHooks=[];d.jqplot.preDrawHooks=[];d.jqplot.postDrawHooks=[];d.jqplot.preDrawSeriesHooks=
[];d.jqplot.postDrawSeriesHooks=[];d.jqplot.preDrawLegendHooks=[];d.jqplot.addLegendRowHooks=[];d.jqplot.preSeriesInitHooks=[];d.jqplot.postSeriesInitHooks=[];d.jqplot.preParseSeriesOptionsHooks=[];d.jqplot.postParseSeriesOptionsHooks=[];d.jqplot.eventListenerHooks=[];d.jqplot.preDrawSeriesShadowHooks=[];d.jqplot.postDrawSeriesShadowHooks=[];d.jqplot.ElemContainer=function(){this._plotDimensions={height:null,width:null}};d.jqplot.ElemContainer.prototype.getWidth=function(){return this._elem?this._elem.outerWidth(true):
null};d.jqplot.ElemContainer.prototype.getHeight=function(){return this._elem?this._elem.outerHeight(true):null};d.jqplot.ElemContainer.prototype.getPosition=function(){return this._elem?this._elem.position():{top:null,left:null,bottom:null,right:null}};d.jqplot.ElemContainer.prototype.getTop=function(){return this.getPosition().top};d.jqplot.ElemContainer.prototype.getLeft=function(){return this.getPosition().left};d.jqplot.ElemContainer.prototype.getBottom=function(){return this._elem.css("bottom")};
d.jqplot.ElemContainer.prototype.getRight=function(){return this._elem.css("right")};j.prototype=new d.jqplot.ElemContainer;j.prototype.constructor=j;j.prototype.init=function(){this.renderer=new this.renderer;this.tickOptions.axis=this.name;if(this.label==null||this.label=="")this.showLabel=false;else this.labelOptions.label=this.label;if(this.showLabel==false)this.labelOptions.show=false;if(this.pad==0)this.pad=1;if(this.padMax==0)this.padMax=1;if(this.padMin==0)this.padMin=1;if(this.padMax==null)this.padMax=
(this.pad-1)/2+1;if(this.padMin==null)this.padMin=(this.pad-1)/2+1;this.pad=this.padMax+this.padMin-1;if(this.min!=null||this.max!=null)this.autoscale=false;if(this.syncTicks==null&&this.name.indexOf("y")>-1)this.syncTicks=true;else if(this.syncTicks==null)this.syncTicks=false;this.renderer.init.call(this,this.rendererOptions)};j.prototype.draw=function(c){return this.renderer.draw.call(this,c)};j.prototype.set=function(){this.renderer.set.call(this)};j.prototype.pack=function(c,a){this.show&&this.renderer.pack.call(this,
c,a);if(this._min==null){this._min=this.min;this._max=this.max;this._tickInterval=this.tickInterval;this._numberTicks=this.numberTicks;this.__ticks=this._ticks}};j.prototype.reset=function(){this.renderer.reset.call(this)};j.prototype.resetScale=function(){this.tickInterval=this.numberTicks=this.max=this.min=null};l.prototype=new d.jqplot.ElemContainer;l.prototype.constructor=l;l.prototype.init=function(){this.renderer=new this.renderer;this.renderer.init.call(this,this.rendererOptions)};l.prototype.draw=
function(c){for(var a=0;a<d.jqplot.preDrawLegendHooks.length;a++)d.jqplot.preDrawLegendHooks[a].call(this,c);return this.renderer.draw.call(this,c)};l.prototype.pack=function(c){this.renderer.pack.call(this,c)};x.prototype=new d.jqplot.ElemContainer;x.prototype.constructor=x;x.prototype.init=function(){this.renderer=new this.renderer;this.renderer.init.call(this,this.rendererOptions)};x.prototype.draw=function(c){return this.renderer.draw.call(this,c)};x.prototype.pack=function(){this.renderer.pack.call(this)};
r.prototype=new d.jqplot.ElemContainer;r.prototype.constructor=r;r.prototype.init=function(c,a,e){this.index=c;this.gridBorderWidth=a;c=this.data;for(a=0;a<c.length;a++)if(!this.breakOnNull)if(c[a]==null||c[a][0]==null||c[a][1]==null)c.splice(a,1);if(!this.fillColor)this.fillColor=this.color;if(this.fillAlpha){c=d.jqplot.normalize2rgb(this.fillColor);c=d.jqplot.getColorComponents(c);this.fillColor="rgba("+c[0]+","+c[1]+","+c[2]+","+this.fillAlpha+")"}this.renderer=new this.renderer;this.renderer.init.call(this,
this.rendererOptions,e);this.markerRenderer=new this.markerRenderer;if(!this.markerOptions.color)this.markerOptions.color=this.color;if(this.markerOptions.show==null)this.markerOptions.show=this.showMarker;this.markerRenderer.init(this.markerOptions)};r.prototype.draw=function(c,a,e){a=a==v?{}:a;c=c==v?this.canvas._ctx:c;for(var b=0;b<d.jqplot.preDrawSeriesHooks.length;b++)d.jqplot.preDrawSeriesHooks[b].call(this,c,a);if(this.show){this.renderer.setGridData.call(this,e);a.preventJqPlotSeriesDrawTrigger||
d(c.canvas).trigger("jqplotSeriesDraw",[this.data,this.gridData]);b=[];b=a.data?a.data:this._stack?this._plotData:this.data;e=a.gridData||this.renderer.makeGridData.call(this,b,e);this.renderer.draw.call(this,c,e,a)}for(b=0;b<d.jqplot.postDrawSeriesHooks.length;b++)d.jqplot.postDrawSeriesHooks[b].call(this,c,a)};r.prototype.drawShadow=function(c,a,e){a=a==v?{}:a;c=c==v?this.shadowCanvas._ctx:c;for(var b=0;b<d.jqplot.preDrawSeriesShadowHooks.length;b++)d.jqplot.preDrawSeriesShadowHooks[b].call(this,
c,a);if(this.shadow){this.renderer.setGridData.call(this,e);b=[];b=a.data?a.data:this._stack?this._plotData:this.data;e=a.gridData||this.renderer.makeGridData.call(this,b,e);this.renderer.drawShadow.call(this,c,e,a)}for(b=0;b<d.jqplot.postDrawSeriesShadowHooks.length;b++)d.jqplot.postDrawSeriesShadowHooks[b].call(this,c,a)};B.prototype=new d.jqplot.ElemContainer;B.prototype.constructor=B;B.prototype.init=function(){this.renderer=new this.renderer;this.renderer.init.call(this,this.rendererOptions)};
B.prototype.createElement=function(c){this._offsets=c;return this.renderer.createElement.call(this)};B.prototype.draw=function(){this.renderer.draw.call(this)};d.jqplot.GenericCanvas=function(){d.jqplot.ElemContainer.call(this)};d.jqplot.GenericCanvas.prototype=new d.jqplot.ElemContainer;d.jqplot.GenericCanvas.prototype.constructor=d.jqplot.GenericCanvas;d.jqplot.GenericCanvas.prototype.createElement=function(c,a,e){this._offsets=c;c="jqplot";if(a!=v)c=a;a=document.createElement("canvas");if(e!=v)this._plotDimensions=
e;a.width=this._plotDimensions.width-this._offsets.left-this._offsets.right;a.height=this._plotDimensions.height-this._offsets.top-this._offsets.bottom;this._elem=d(a);this._elem.addClass(c);this._elem.css({position:"absolute",left:this._offsets.left,top:this._offsets.top});d.browser.msie&&window.G_vmlCanvasManager.init_(document);d.browser.msie&&window.G_vmlCanvasManager.initElement(a);return this._elem};d.jqplot.GenericCanvas.prototype.setContext=function(){return this._ctx=this._elem.get(0).getContext("2d")};
d.jqplot.ColorGenerator=function(c){var a=0;this.next=function(){a<c.length||(a=0);return c[a++]};this.previous=function(){if(a>0)return c[a--];else{a=c.length-1;return c[a]}};this.get=function(e){return c[e]};this.setColors=function(e){c=e};this.reset=function(){a=0}};d.jqplot.hex2rgb=function(c,a){c=c.replace("#","");if(c.length==3)c=c[0]+c[0]+c[1]+c[1]+c[2]+c[2];c="rgba("+parseInt(c.slice(0,2),16)+", "+parseInt(c.slice(2,4),16)+", "+parseInt(c.slice(4,6),16);if(a)c+=", "+a;c+=")";return c};d.jqplot.rgb2hex=
function(c){c=c.match(/rgba?\( *([0-9]{1,3}\.?[0-9]*%?) *, *([0-9]{1,3}\.?[0-9]*%?) *, *([0-9]{1,3}\.?[0-9]*%?) *(?:, *[0-9.]*)?\)/);var a="#";for(i=1;i<4;i++){var e;e=c[i].search(/%/)!=-1?parseInt(255*c[i]/100,10).toString(16):parseInt(c[i],10).toString(16);if(e.length==1)e="0"+e;a+=e}return a};d.jqplot.normalize2rgb=function(c,a){if(c.search(/^ *rgba?\(/)!=-1)return c;else if(c.search(/^ *#?[0-9a-fA-F]?[0-9a-fA-F]/)!=-1)return d.jqplot.hex2rgb(c,a);else throw"invalid color spec";};d.jqplot.getColorComponents=
function(c){c=d.jqplot.normalize2rgb(c).match(/rgba?\( *([0-9]{1,3}\.?[0-9]*%?) *, *([0-9]{1,3}\.?[0-9]*%?) *, *([0-9]{1,3}\.?[0-9]*%?) *,? *([0-9.]* *)?\)/);var a=[];for(i=1;i<4;i++)a[i-1]=c[i].search(/%/)!=-1?parseInt(255*c[i]/100,10):parseInt(c[i],10);a[3]=parseFloat(c[4])?parseFloat(c[4]):1;return a};d.jqplot.log=function(){if(window.console&&d.jqplot.debug)arguments.length==1?console.log(arguments[0]):console.log(arguments)};d.jqplot.AxisLabelRenderer=function(c){d.jqplot.ElemContainer.call(this);
this.show=true;this.label="";this.escapeHTML=false;d.extend(true,this,c)};d.jqplot.AxisLabelRenderer.prototype=new d.jqplot.ElemContainer;d.jqplot.AxisLabelRenderer.prototype.constructor=d.jqplot.AxisLabelRenderer;d.jqplot.AxisLabelRenderer.prototype.init=function(c){d.extend(true,this,c)};d.jqplot.AxisLabelRenderer.prototype.draw=function(){this._elem=d('<div style="position:absolute;" class="jqplot-'+this.axis+'-label"></div>');Number(this.label)&&this._elem.css("white-space","nowrap");this.escapeHTML?
this._elem.text(this.label):this._elem.html(this.label);return this._elem};d.jqplot.AxisLabelRenderer.prototype.pack=function(){};d.jqplot.AxisTickRenderer=function(c){d.jqplot.ElemContainer.call(this);this.mark="outside";this.showGridline=this.showMark=true;this.isMinorTick=false;this.size=4;this.markSize=6;this.showLabel=this.show=true;this.label="";this.value=null;this._styles={};this.formatter=d.jqplot.DefaultTickFormatter;this.formatString="";d.extend(true,this,c)};d.jqplot.AxisTickRenderer.prototype.init=
function(c){d.extend(true,this,c)};d.jqplot.AxisTickRenderer.prototype=new d.jqplot.ElemContainer;d.jqplot.AxisTickRenderer.prototype.constructor=d.jqplot.AxisTickRenderer;d.jqplot.AxisTickRenderer.prototype.setTick=function(c,a,e){this.value=c;this.axis=a;if(e)this.isMinorTick=true;return this};d.jqplot.AxisTickRenderer.prototype.draw=function(){if(!this.label)this.label=this.formatter(this.formatString,this.value);style='style="position:absolute;';if(Number(this.label))style+="white-space:nowrap;";
style+='"';this._elem=d("<div "+style+' class="jqplot-'+this.axis+'-tick">'+this.label+"</div>");for(var c in this._styles)this._elem.css(c,this._styles[c]);this.fontFamily&&this._elem.css("font-family",this.fontFamily);this.fontSize&&this._elem.css("font-size",this.fontSize);this.textColor&&this._elem.css("color",this.textColor);return this._elem};d.jqplot.DefaultTickFormatter=function(c,a){if(typeof a=="number"){c||(c="%.1f");return d.jqplot.sprintf(c,a)}else return String(a)};d.jqplot.AxisTickRenderer.prototype.pack=
function(){};d.jqplot.CanvasGridRenderer=function(){this.shadowRenderer=new d.jqplot.ShadowRenderer};d.jqplot.CanvasGridRenderer.prototype.init=function(c){d.extend(true,this,c);this.renderer.shadowRenderer.init({lineJoin:"miter",lineCap:"round",fill:false,isarc:false,angle:this.shadowAngle,offset:this.shadowOffset,alpha:this.shadowAlpha,depth:this.shadowDepth,lineWidth:this.shadowWidth,closePath:false})};d.jqplot.CanvasGridRenderer.prototype.createElement=function(){var c=document.createElement("canvas"),
a=this._plotDimensions.width,e=this._plotDimensions.height;c.width=a;c.height=e;this._elem=d(c);this._elem.addClass("jqplot-grid-canvas");this._elem.css({position:"absolute",left:0,top:0});d.browser.msie&&window.G_vmlCanvasManager.init_(document);d.browser.msie&&window.G_vmlCanvasManager.initElement(c);this._top=this._offsets.top;this._bottom=e-this._offsets.bottom;this._left=this._offsets.left;this._right=a-this._offsets.right;this._width=this._right-this._left;this._height=this._bottom-this._top;
return this._elem};d.jqplot.CanvasGridRenderer.prototype.draw=function(){function c(F,G,J,H,I){a.save();I=I||{};d.extend(true,a,I);a.beginPath();a.moveTo(F,G);a.lineTo(J,H);a.stroke();a.restore()}var a=this._ctx=this._elem.get(0).getContext("2d"),e=this._axes;a.save();a.fillStyle=this.background;a.fillRect(this._left,this._top,this._width,this._height);if(this.drawGridlines){a.save();a.lineJoin="miter";a.lineCap="butt";a.lineWidth=this.gridLineWidth;a.strokeStyle=this.gridLineColor;for(var b,f,g=
["xaxis","yaxis","x2axis","y2axis"],h=4;h>0;h--){var k=g[h-1],q=e[k],u=q._ticks;if(q.show)for(var y=u.length;y>0;y--){b=u[y-1];if(b.show){var t=Math.round(q.u2p(b.value))+0.5;switch(k){case "xaxis":b.showGridline&&c(t,this._top,t,this._bottom);if(b.showMark&&b.mark){s=b.markSize;m=b.mark;t=Math.round(q.u2p(b.value))+0.5;switch(m){case "outside":b=this._bottom;f=this._bottom+s;break;case "inside":b=this._bottom-s;f=this._bottom;break;case "cross":b=this._bottom-s;f=this._bottom+s;break;default:b=this._bottom;
f=this._bottom+s;break}this.shadow&&this.renderer.shadowRenderer.draw(a,[[t,b],[t,f]],{lineCap:"butt",lineWidth:this.gridLineWidth,offset:this.gridLineWidth*0.75,depth:2,fill:false,closePath:false});c(t,b,t,f)}break;case "yaxis":b.showGridline&&c(this._right,t,this._left,t);if(b.showMark&&b.mark){s=b.markSize;m=b.mark;t=Math.round(q.u2p(b.value))+0.5;switch(m){case "outside":b=this._left-s;f=this._left;break;case "inside":b=this._left;f=this._left+s;break;case "cross":b=this._left-s;f=this._left+
s;break;default:b=this._left-s;f=this._left;break}this.shadow&&this.renderer.shadowRenderer.draw(a,[[b,t],[f,t]],{lineCap:"butt",lineWidth:this.gridLineWidth*1.5,offset:this.gridLineWidth*0.75,fill:false,closePath:false});c(b,t,f,t,{strokeStyle:q.borderColor})}break;case "x2axis":b.showGridline&&c(t,this._bottom,t,this._top);if(b.showMark&&b.mark){s=b.markSize;m=b.mark;t=Math.round(q.u2p(b.value))+0.5;switch(m){case "outside":b=this._top-s;f=this._top;break;case "inside":b=this._top;f=this._top+s;
break;case "cross":b=this._top-s;f=this._top+s;break;default:b=this._top-s;f=this._top;break}this.shadow&&this.renderer.shadowRenderer.draw(a,[[t,b],[t,f]],{lineCap:"butt",lineWidth:this.gridLineWidth,offset:this.gridLineWidth*0.75,depth:2,fill:false,closePath:false});c(t,b,t,f)}break;case "y2axis":b.showGridline&&c(this._left,t,this._right,t);if(b.showMark&&b.mark){s=b.markSize;m=b.mark;t=Math.round(q.u2p(b.value))+0.5;switch(m){case "outside":b=this._right;f=this._right+s;break;case "inside":b=
this._right-s;f=this._right;break;case "cross":b=this._right-s;f=this._right+s;break;default:b=this._right;f=this._right+s;break}this.shadow&&this.renderer.shadowRenderer.draw(a,[[b,t],[f,t]],{lineCap:"butt",lineWidth:this.gridLineWidth*1.5,offset:this.gridLineWidth*0.75,fill:false,closePath:false});c(b,t,f,t,{strokeStyle:q.borderColor})}break;default:break}}}}g=["y3axis","y4axis","y5axis","y6axis","y7axis","y8axis","y9axis"];for(h=7;h>0;h--){q=e[g[h-1]];u=q._ticks;if(q.show){y=u[q.numberTicks-1];
t=u[0];k=q.getLeft();var C=[[k,y.getTop()+y.getHeight()/2],[k,t.getTop()+t.getHeight()/2+1]];this.shadow&&this.renderer.shadowRenderer.draw(a,C,{lineCap:"butt",fill:false,closePath:false});c(C[0][0],C[0][1],C[1][0],C[1][1],{lineCap:"butt",strokeStyle:q.borderColor,lineWidth:q.borderWidth});for(y=u.length;y>0;y--){b=u[y-1];s=b.markSize;m=b.mark;t=Math.round(q.u2p(b.value))+0.5;if(b.showMark&&b.mark){switch(m){case "outside":b=k;f=k+s;break;case "inside":b=k-s;f=k;break;case "cross":b=k-s;f=k+s;break;
default:b=k;f=k+s;break}C=[[b,t],[f,t]];this.shadow&&this.renderer.shadowRenderer.draw(a,C,{lineCap:"butt",lineWidth:this.gridLineWidth*1.5,offset:this.gridLineWidth*0.75,fill:false,closePath:false});c(b,t,f,t,{strokeStyle:q.borderColor})}}}}a.restore()}if(this.shadow){C=[[this._left,this._bottom],[this._right,this._bottom],[this._right,this._top]];this.renderer.shadowRenderer.draw(a,C)}c(this._left,this._top,this._right,this._top,{lineCap:"round",strokeStyle:e.x2axis.borderColor,lineWidth:e.x2axis.borderWidth});
c(this._right,this._top,this._right,this._bottom,{lineCap:"round",strokeStyle:e.y2axis.borderColor,lineWidth:e.y2axis.borderWidth});c(this._right,this._bottom,this._left,this._bottom,{lineCap:"round",strokeStyle:e.xaxis.borderColor,lineWidth:e.xaxis.borderWidth});c(this._left,this._bottom,this._left,this._top,{lineCap:"round",strokeStyle:e.yaxis.borderColor,lineWidth:e.yaxis.borderWidth});a.restore()};var D=function(c,a){for(c=String(c);c.length<a;)c="0"+c;return c},E={millisecond:1,second:1E3,minute:6E4,
hour:36E5,day:864E5,week:6048E5,month:{add:function(c,a){E.year.add(c,Math[a>0?"floor":"ceil"](a/12));a=c.getMonth()+a%12;if(a==12){a=0;c.setYear(c.getFullYear()+1)}else if(a==-1){a=11;c.setYear(c.getFullYear()-1)}c.setMonth(a)},diff:function(c,a){var e=c.getFullYear()-a.getFullYear();e=c.getMonth()-a.getMonth()+e*12;c=c.getDate()-a.getDate();return e+c/30}},year:{add:function(c,a){c.setYear(c.getFullYear()+Math[a>0?"floor":"ceil"](a))},diff:function(c,a){return E.month.diff(c,a)/12}}};for(var A in E)if(A.substring(A.length-
1)!="s")E[A+"s"]=E[A];var w=function(c,a){if(Date.prototype.strftime.formatShortcuts[a])return c.strftime(Date.prototype.strftime.formatShortcuts[a]);else{a=(Date.prototype.strftime.formatCodes[a]||"").split(".");c=c["get"+a[0]]?c["get"+a[0]]():"";if(a[1])c=D(c,a[1]);return c}};A={succ:function(c){return this.clone().add(1,c)},add:function(c,a){a=E[a]||E.day;typeof a=="number"?this.setTime(this.getTime()+a*c):a.add(this,c);return this},diff:function(c,a,e){c=Date.create(c);if(c===null)return null;
a=E[a]||E.day;c=typeof a=="number"?(this.getTime()-c.getTime())/a:a.diff(this,c);return e?c:Math[c>0?"floor":"ceil"](c)},strftime:function(c){c=c||"%Y-%m-%d";for(var a="",e;c.length>0;)if(e=c.match(Date.prototype.strftime.formatCodes.matcher)){a+=c.slice(0,e.index);a+=(e[1]||"")+w(this,e[2]);c=c.slice(e.index+e[0].length)}else{a+=c;c=""}return a},getShortYear:function(){return this.getYear()%100},getMonthNumber:function(){return this.getMonth()+1},getMonthName:function(){return Date.MONTHNAMES[this.getMonth()]},
getAbbrMonthName:function(){return Date.ABBR_MONTHNAMES[this.getMonth()]},getDayName:function(){return Date.DAYNAMES[this.getDay()]},getAbbrDayName:function(){return Date.ABBR_DAYNAMES[this.getDay()]},getDayOrdinal:function(){return Date.ORDINALNAMES[this.getDate()%10]},getHours12:function(){var c=this.getHours();return c>12?c-12:c==0?12:c},getAmPm:function(){return this.getHours()>=12?"PM":"AM"},getUnix:function(){return Math.round(this.getTime()/1E3,0)},getGmtOffset:function(){var c=this.getTimezoneOffset()/
60,a=c<0?"+":"-";c=Math.abs(c);return a+D(Math.floor(c),2)+":"+D(c%1*60,2)},getTimezoneName:function(){var c=/(?:\((.+)\)$| ([A-Z]{3}) )/.exec(this.toString());return c[1]||c[2]||"GMT"+this.getGmtOffset()},toYmdInt:function(){return this.getFullYear()*1E4+this.getMonthNumber()*100+this.getDate()},clone:function(){return new Date(this.getTime())}};for(var o in A)Date.prototype[o]=A[o];A={create:function(c){if(c instanceof Date)return c;if(typeof c=="number")return new Date(c);c=String(c).replace(/^\s*(.+)\s*$/,
"$1");for(var a=0,e=Date.create.patterns.length,b,f=c;a<e;){ms=Date.parse(f);if(!isNaN(ms))return new Date(ms);b=Date.create.patterns[a];if(typeof b=="function"){obj=b(f);if(obj instanceof Date)return obj}else f=c.replace(b[0],b[1]);a++}return NaN},MONTHNAMES:"January February March April May June July August September October November December".split(" "),ABBR_MONTHNAMES:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),DAYNAMES:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),
ABBR_DAYNAMES:"Sun Mon Tue Wed Thu Fri Sat".split(" "),ORDINALNAMES:"th st nd rd th th th th th th".split(" "),ISO:"%Y-%m-%dT%H:%M:%S.%N%G",SQL:"%Y-%m-%d %H:%M:%S",daysInMonth:function(c,a){if(a==2)return(new Date(c,1,29)).getDate()==29?29:28;return[v,31,v,31,30,31,30,31,31,30,31,30,31][a]}};for(o in A)Date[o]=A[o];Date.prototype.strftime.formatCodes={matcher:/()%(#?(%|[a-z]))/i,Y:"FullYear",y:"ShortYear.2",m:"MonthNumber.2","#m":"MonthNumber",B:"MonthName",b:"AbbrMonthName",d:"Date.2","#d":"Date",
e:"Date",A:"DayName",a:"AbbrDayName",w:"Day",o:"DayOrdinal",H:"Hours.2","#H":"Hours",I:"Hours12.2","#I":"Hours12",p:"AmPm",M:"Minutes.2","#M":"Minutes",S:"Seconds.2","#S":"Seconds",s:"Unix",N:"Milliseconds.3","#N":"Milliseconds",O:"TimezoneOffset",Z:"TimezoneName",G:"GmtOffset"};Date.prototype.strftime.formatShortcuts={F:"%Y-%m-%d",T:"%H:%M:%S",X:"%H:%M:%S",x:"%m/%d/%y",D:"%m/%d/%y","#c":"%a %b %e %H:%M:%S %Y",v:"%e-%b-%Y",R:"%H:%M",r:"%I:%M:%S %p",t:"\t",n:"\n","%":"%"};Date.create.patterns=[[/-/g,
"/"],[/st|nd|rd|th/g,""],[/(3[01]|[0-2]\d)\s*\.\s*(1[0-2]|0\d)\s*\.\s*([1-9]\d{3})/,"$2/$1/$3"],[/([1-9]\d{3})\s*-\s*(1[0-2]|0\d)\s*-\s*(3[01]|[0-2]\d)/,"$2/$3/$1"],function(c){var a=c.match(/^(?:(.+)\s+)?([012]?\d)(?:\s*\:\s*(\d\d))?(?:\s*\:\s*(\d\d(\.\d*)?))?\s*(am|pm)?\s*$/i);if(a){if(a[1]){c=Date.create(a[1]);if(isNaN(c))return}else{c=new Date;c.setMilliseconds(0)}var e=parseFloat(a[2]);if(a[6])e=a[6].toLowerCase()=="am"?e==12?0:e:e==12?12:e+12;c.setHours(e,parseInt(a[3]||0,10),parseInt(a[4]||
0,10),(parseFloat(a[5]||0)||0)*1E3);return c}else return c},function(c){var a=c.match(/^(?:(.+))[T|\s+]([012]\d)(?:\:(\d\d))(?:\:(\d\d))(?:\.\d+)([\+\-]\d\d\:\d\d)$/i);if(a){if(a[1]){c=Date.create(a[1]);if(isNaN(c))return}else{c=new Date;c.setMilliseconds(0)}var e=parseFloat(a[2]);c.setHours(e,parseInt(a[3],10),parseInt(a[4],10),parseFloat(a[5])*1E3);return c}else return c},function(c){var a=c.match(/^([0-3]?\d)\s*[-\/.\s]{1}\s*([a-zA-Z]{3,9})\s*[-\/.\s]{1}\s*([0-3]?\d)$/);if(a){c=new Date;var e=
parseFloat(String(c.getFullYear()).slice(2,4)),b=parseInt(String(c.getFullYear())/100,10)*100,f=parseFloat(a[1]),g=parseFloat(a[3]),h;if(f>31){h=a[3];e=f<e+1?b+f:b-100+f}else{h=a[1];e=g<e+1?b+g:b-100+g}b=d.inArray(a[2],Date.ABBR_MONTHNAMES);if(b==-1)b=d.inArray(a[2],Date.MONTHNAMES);c.setFullYear(e,b,h);c.setHours(0,0,0,0);return c}else return c}];if(d.jqplot.config.debug)d.date=Date.create;d.jqplot.DivTitleRenderer=function(){};d.jqplot.DivTitleRenderer.prototype.init=function(c){d.extend(true,this,
c)};d.jqplot.DivTitleRenderer.prototype.draw=function(){if(this.text){if(this.text){var c="position:absolute;top:0px;left:0px;";c+=this._plotWidth?"width:"+this._plotWidth+"px;":"";c+=this.fontFamily?"font-family:"+this.fontFamily+";":"";c+=this.fontSize?"font-size:"+this.fontSize+";":"";c+=this.textAlign?"text-align:"+this.textAlign+";":"text-align:center;";c+=this.textColor?"color:"+this.textColor+";":"";this._elem=d('<div class="jqplot-title" style="'+c+'">'+this.text+"</div>")}}else{this.show=
false;this._elem=d('<div style="height:0px;width:0px;"></div>')}return this._elem};d.jqplot.DivTitleRenderer.prototype.pack=function(){};d.jqplot.LineRenderer=function(){this.shapeRenderer=new d.jqplot.ShapeRenderer;this.shadowRenderer=new d.jqplot.ShadowRenderer};d.jqplot.LineRenderer.prototype.init=function(c){d.extend(true,this.renderer,c);this.renderer.shapeRenderer.init({lineJoin:"round",lineCap:"round",fill:this.fill,isarc:false,strokeStyle:this.color,fillStyle:this.fillColor,lineWidth:this.lineWidth,
closePath:this.fill});this.renderer.shadowRenderer.init({lineJoin:"round",lineCap:"round",fill:this.fill,isarc:false,angle:this.shadowAngle,offset:this.lineWidth>2.5?this.shadowOffset*(1+(Math.atan(this.lineWidth/2.5)/0.785398163-1)*0.6):this.shadowOffset*Math.atan(this.lineWidth/2.5)/0.785398163,alpha:this.shadowAlpha,depth:this.shadowDepth,lineWidth:this.lineWidth,closePath:this.fill})};d.jqplot.LineRenderer.prototype.setGridData=function(){var c=this._xaxis.series_u2p,a=this._yaxis.series_u2p,
e=this._plotData,b=this._prevPlotData;this.gridData=[];this._prevGridData=[];for(var f=0;f<this.data.length;f++){e[f]!=null&&this.gridData.push([c.call(this._xaxis,e[f][0]),a.call(this._yaxis,e[f][1])]);b[f]!=null&&this._prevGridData.push([c.call(this._xaxis,b[f][0]),a.call(this._yaxis,b[f][1])])}};d.jqplot.LineRenderer.prototype.makeGridData=function(c){for(var a=this._xaxis.series_u2p,e=this._yaxis.series_u2p,b=[],f=0;f<c.length;f++)c[f]!=null&&b.push([a.call(this._xaxis,c[f][0]),e.call(this._yaxis,
c[f][1])]);return b};d.jqplot.LineRenderer.prototype.draw=function(c,a,e){var b;e=e!=v?e:{};var f=e.shadow!=v?e.shadow:this.shadow;b=e.showLine!=v?e.showLine:this.showLine;var g=e.fill!=v?e.fill:this.fill,h=e.fillAndStroke!=v?e.fillAndStroke:this.fillAndStroke;c.save();if(a.length){if(b)if(g){if(this.fillToZero){var k=(new d.jqplot.ColorGenerator(this.negativeSeriesColors)).get(this.index);if(!this.useNegativeColors)k=e.fillStyle;var q=e.fillStyle;if(h)var u=a.slice(0);if(this.index==0||!this._stack){var y=
[],t=this._yaxis.series_u2p(0);this._xaxis.series_u2p(0);if(this.fillAxis=="y"){y.push([a[0][0],t]);for(b=0;b<a.length-1;b++){y.push(a[b]);if(this._plotData[b][1]*this._plotData[b+1][1]<0){e.fillStyle=this._plotData[b][1]<0?k:q;var C=a[b][0]+(a[b+1][0]-a[b][0])*(t-a[b][1])/(a[b+1][1]-a[b][1]);y.push([C,t]);f&&this.renderer.shadowRenderer.draw(c,y,e);this.renderer.shapeRenderer.draw(c,y,e);y=[[C,t]]}}e.fillStyle=this._plotData[a.length-1][1]<0?k:q;y.push(a[a.length-1]);y.push([a[a.length-1][0],t])}f&&
this.renderer.shadowRenderer.draw(c,y,e);this.renderer.shapeRenderer.draw(c,y,e)}else{k=this._prevGridData;for(b=k.length;b>0;b--)a.push(k[b-1]);f&&this.renderer.shadowRenderer.draw(c,a,e);this.renderer.shapeRenderer.draw(c,a,e)}}else{if(h)u=a.slice(0);if(this.index==0||!this._stack){b=c.canvas.height;a.unshift([a[0][0],b]);len=a.length;a.push([a[len-1][0],b])}else{k=this._prevGridData;for(b=k.length;b>0;b--)a.push(k[b-1])}f&&this.renderer.shadowRenderer.draw(c,a,e);this.renderer.shapeRenderer.draw(c,
a,e)}if(h){f=d.extend(true,{},e,{fill:false,closePath:false});this.renderer.shapeRenderer.draw(c,u,f);if(this.markerRenderer.show)for(b=0;b<u.length;b++)this.markerRenderer.draw(u[b][0],u[b][1],c,e.markerOptions)}}else{f&&this.renderer.shadowRenderer.draw(c,a,e);this.renderer.shapeRenderer.draw(c,a,e)}if(this.markerRenderer.show&&!g)for(b=0;b<a.length;b++)this.markerRenderer.draw(a[b][0],a[b][1],c,e.markerOptions)}c.restore()};d.jqplot.LineRenderer.prototype.drawShadow=function(){};d.jqplot.LinearAxisRenderer=
function(){};d.jqplot.LinearAxisRenderer.prototype.init=function(c){d.extend(true,this,c);c=this._dataBounds;for(var a=0;a<this._series.length;a++)for(var e=this._series[a]._plotData,b=0;b<e.length;b++)if(this.name=="xaxis"||this.name=="x2axis"){if(e[b][0]<c.min||c.min==null)c.min=e[b][0];if(e[b][0]>c.max||c.max==null)c.max=e[b][0]}else{if(e[b][1]<c.min||c.min==null)c.min=e[b][1];if(e[b][1]>c.max||c.max==null)c.max=e[b][1]}};d.jqplot.LinearAxisRenderer.prototype.draw=function(c){if(this.show){this.renderer.createTicks.call(this);
this._elem=d('<div class="jqplot-axis jqplot-'+this.name+'" style="position:absolute;"></div>');this.name=="xaxis"||this.name=="x2axis"?this._elem.width(this._plotDimensions.width):this._elem.height(this._plotDimensions.height);this.labelOptions.axis=this.name;this._label=new this.labelRenderer(this.labelOptions);if(this._label.show){var a=this._label.draw(c);a.appendTo(this._elem)}if(this.showTicks)for(var e=this._ticks,b=0;b<e.length;b++){a=e[b];if(a.showLabel&&(!a.isMinorTick||this.showMinorTicks)){a=
a.draw(c);a.appendTo(this._elem)}}}return this._elem};d.jqplot.LinearAxisRenderer.prototype.reset=function(){this.min=this._min;this.max=this._max;this.tickInterval=this._tickInterval;this.numberTicks=this._numberTicks};d.jqplot.LinearAxisRenderer.prototype.set=function(){var c=0,a,e=0,b=0,f=this._label==null?false:this._label.show;if(this.show&&this.showTicks){for(var g=this._ticks,h=0;h<g.length;h++){a=g[h];if(a.showLabel&&(!a.isMinorTick||this.showMinorTicks)){a=this.name=="xaxis"||this.name==
"x2axis"?a._elem.outerHeight(true):a._elem.outerWidth(true);if(a>c)c=a}}if(f){e=this._label._elem.outerWidth(true);b=this._label._elem.outerHeight(true)}if(this.name=="xaxis"){c+=b;this._elem.css({height:c+"px",left:"0px",bottom:"0px"})}else if(this.name=="x2axis"){c+=b;this._elem.css({height:c+"px",left:"0px",top:"0px"})}else{if(this.name=="yaxis"){c+=e;this._elem.css({width:c+"px",left:"0px",top:"0px"})}else{c+=e;this._elem.css({width:c+"px",right:"0px",top:"0px"})}f&&this._label.constructor==d.jqplot.AxisLabelRenderer&&
this._label._elem.css("width",e+"px")}}};d.jqplot.LinearAxisRenderer.prototype.createTicks=function(){var c=this.ticks,a=this.name,e=this._dataBounds,b;if(c.length){for(b=0;b<c.length;b++){e=c[b];a=new this.tickRenderer(this.tickOptions);if(e.constructor==Array){a.value=e[0];a.label=e[1];if(this.showTicks){if(!this.showTickMarks)a.showMark=false}else{a.showLabel=false;a.showMark=false}a.setTick(e[0],this.name)}else{a.value=e;if(this.showTicks){if(!this.showTickMarks)a.showMark=false}else{a.showLabel=
false;a.showMark=false}a.setTick(e,this.name)}this._ticks.push(a)}this.numberTicks=c.length;this.min=this._ticks[0].value;this.max=this._ticks[this.numberTicks-1].value;this.tickInterval=(this.max-this.min)/(this.numberTicks-1)}else{a=a=="xaxis"||a=="x2axis"?this._plotDimensions.width:this._plotDimensions.height;if(!this.autoscale&&this.min!=null&&this.max!=null&&this.numberTicks!=null)this.tickInterval=null;c=this.min!=null?this.min:e.min;e=this.max!=null?this.max:e.max;if(c==e){b=0.05;if(c>0)b=
Math.max(Math.log(c)/Math.LN10,0.05);c-=b;e+=b}var f=e-c;if(this.autoscale&&this.min==null&&this.max==null){var g=false,h=false;for(b=0;b<this._series.length;b++){var k=this._series[b];if(this.name==(k.fillAxis=="x"?k._xaxis.name:k._yaxis.name)){for(var q=k._plotValues[k.fillAxis],u=q[0],y=q[0],t=1;t<q.length;t++)if(q[t]<u)u=q[t];else if(q[t]>y)y=q[t];q=(y-u)/y;if(k.renderer.constructor==d.jqplot.BarRenderer)if(u>=0&&(k.fillToZero||q>0.1))g=true;else{g=false;h=k.fill&&k.fillToZero&&u<0&&y>0?true:
false}else if(k.fill)if(u>=0&&(k.fillToZero||q>0.1))g=true;else if(u<0&&y>0&&k.fillToZero){g=false;h=true}else h=g=false;else if(u<0)g=false}}if(g){this.numberTicks=2+Math.ceil((a-(this.tickSpacing-1))/this.tickSpacing);this.min=0;e=e/(this.numberTicks-1);a=Math.pow(10,Math.abs(Math.floor(Math.log(e)/Math.LN10)));if(e/a==parseInt(e/a,10))e+=a;this.tickInterval=Math.ceil(e/a)*a;this.max=this.tickInterval*(this.numberTicks-1)}else if(h){this.numberTicks=2+Math.ceil((a-(this.tickSpacing-1))/this.tickSpacing);
b=Math.ceil(Math.abs(c)/f*(this.numberTicks-1));f=this.numberTicks-1-b;e=Math.max(Math.abs(c/b),Math.abs(e/f));a=Math.pow(10,Math.abs(Math.floor(Math.log(e)/Math.LN10)));this.tickInterval=Math.ceil(e/a)*a;this.max=this.tickInterval*f;this.min=-this.tickInterval*b}else{if(this.numberTicks==null)this.numberTicks=this.tickInterval?3+Math.ceil(f/this.tickInterval):2+Math.ceil((a-(this.tickSpacing-1))/this.tickSpacing);if(this.tickInterval==null){e=f/(this.numberTicks-1);a=e<1?Math.pow(10,Math.abs(Math.floor(Math.log(e)/
Math.LN10))):1;this.tickInterval=Math.ceil(e*a*this.pad)/a}else a=1/this.tickInterval;e=this.tickInterval*(this.numberTicks-1);b=(e-f)/2;if(this.min==null)this.min=Math.floor(a*(c-b))/a;if(this.max==null)this.max=this.min+e}}else{c=this.min!=null?this.min:c-f*(this.padMin-1);e=this.max!=null?this.max:e+f*(this.padMax-1);this.min=c;this.max=e;f=this.max-this.min;if(this.numberTicks==null)if(this.tickInterval!=null){this.numberTicks=Math.ceil((this.max-this.min)/this.tickInterval)+1;this.max=this.min+
this.tickInterval*(this.numberTicks-1)}else this.numberTicks=a>100?parseInt(3+(a-100)/75,10):2;if(this.tickInterval==null)this.tickInterval=f/(this.numberTicks-1)}for(b=0;b<this.numberTicks;b++){c=this.min+b*this.tickInterval;a=new this.tickRenderer(this.tickOptions);if(this.showTicks){if(!this.showTickMarks)a.showMark=false}else{a.showLabel=false;a.showMark=false}a.setTick(c,this.name);this._ticks.push(a)}}};d.jqplot.LinearAxisRenderer.prototype.pack=function(c,a){var e=this._ticks,b=this.max,f=
this.min,g=a.max,h=a.min,k=this._label==null?false:this._label.show;for(var q in c)this._elem.css(q,c[q]);this._offsets=a;var u=g-h,y=b-f;this.p2u=function(t){return(t-h)*y/u+f};this.u2p=function(t){return(t-f)*u/y+h};if(this.name=="xaxis"||this.name=="x2axis"){this.series_u2p=function(t){return(t-f)*u/y};this.series_p2u=function(t){return t*y/u+f}}else{this.series_u2p=function(t){return(t-b)*u/y};this.series_p2u=function(t){return t*y/u+b}}if(this.show)if(this.name=="xaxis"||this.name=="x2axis"){for(i=
0;i<e.length;i++){c=e[i];if(c.show&&c.showLabel){if(c.constructor==d.jqplot.CanvasAxisTickRenderer&&c.angle){a=this.name=="xaxis"?1:-1;switch(c.labelPosition){case "auto":a=a*c.angle<0?-c.getWidth()+c._textRenderer.height*Math.sin(-c._textRenderer.angle)/2:-c._textRenderer.height*Math.sin(c._textRenderer.angle)/2;break;case "end":a=-c.getWidth()+c._textRenderer.height*Math.sin(-c._textRenderer.angle)/2;break;case "start":a=-c._textRenderer.height*Math.sin(c._textRenderer.angle)/2;break;case "middle":a=
-c.getWidth()/2+c._textRenderer.height*Math.sin(-c._textRenderer.angle)/2;break;default:a=-c.getWidth()/2+c._textRenderer.height*Math.sin(-c._textRenderer.angle)/2;break}}else a=-c.getWidth()/2;a=this.u2p(c.value)+a+"px";c._elem.css("left",a);c.pack()}}if(k){g=this._label._elem.outerWidth(true);this._label._elem.css("left",h+u/2-g/2+"px");this.name=="xaxis"?this._label._elem.css("bottom","0px"):this._label._elem.css("top","0px");this._label.pack()}}else{for(i=0;i<e.length;i++){c=e[i];if(c.show&&c.showLabel){if(c.constructor==
d.jqplot.CanvasAxisTickRenderer&&c.angle){a=this.name=="yaxis"?1:-1;switch(c.labelPosition){case "auto":case "end":a=a*c.angle<0?-c._textRenderer.height*Math.cos(-c._textRenderer.angle)/2:-c.getHeight()+c._textRenderer.height*Math.cos(c._textRenderer.angle)/2;break;case "start":a=c.angle>0?-c._textRenderer.height*Math.cos(-c._textRenderer.angle)/2:-c.getHeight()+c._textRenderer.height*Math.cos(c._textRenderer.angle)/2;break;case "middle":a=-c.getHeight()/2;break;default:a=-c.getHeight()/2;break}}else a=
-c.getHeight()/2;a=this.u2p(c.value)+a+"px";c._elem.css("top",a);c.pack()}}if(k){e=this._label._elem.outerHeight(true);this._label._elem.css("top",g-u/2-e/2+"px");this.name=="yaxis"?this._label._elem.css("left","0px"):this._label._elem.css("right","0px");this._label.pack()}}};d.jqplot.MarkerRenderer=function(c){this.show=true;this.style="filledCircle";this.lineWidth=2;this.size=9;this.color="#666666";this.shadow=true;this.shadowAngle=45;this.shadowOffset=1;this.shadowDepth=3;this.shadowAlpha="0.07";
this.shadowRenderer=new d.jqplot.ShadowRenderer;this.shapeRenderer=new d.jqplot.ShapeRenderer;d.extend(true,this,c)};d.jqplot.MarkerRenderer.prototype.init=function(c){d.extend(true,this,c);c={angle:this.shadowAngle,offset:this.shadowOffset,alpha:this.shadowAlpha,lineWidth:this.lineWidth,depth:this.shadowDepth,closePath:true};if(this.style.indexOf("filled")!=-1)c.fill=true;if(this.style.indexOf("ircle")!=-1){c.isarc=true;c.closePath=false}this.shadowRenderer.init(c);c={fill:false,isarc:false,strokeStyle:this.color,
fillStyle:this.color,lineWidth:this.lineWidth,closePath:true};if(this.style.indexOf("filled")!=-1)c.fill=true;if(this.style.indexOf("ircle")!=-1){c.isarc=true;c.closePath=false}this.shapeRenderer.init(c)};d.jqplot.MarkerRenderer.prototype.drawDiamond=function(c,a,e,b,f){b=this.size/2/1.2;var g=this.size/2*1.2;c=[[c-b,a],[c,a+g],[c+b,a],[c,a-g]];this.shadow&&this.shadowRenderer.draw(e,c);this.shapeRenderer.draw(e,c,f);e.restore()};d.jqplot.MarkerRenderer.prototype.drawPlus=function(c,a,e){var b=this.size/
2*1,f=this.size/2*1;f=[[c,a-f],[c,a+f]];c=[[c+b,a],[c-b,a]];a=d.extend(true,{},this.options,{closePath:false});if(this.shadow){this.shadowRenderer.draw(e,f,{closePath:false});this.shadowRenderer.draw(e,c,{closePath:false})}this.shapeRenderer.draw(e,f,a);this.shapeRenderer.draw(e,c,a);e.restore()};d.jqplot.MarkerRenderer.prototype.drawX=function(c,a,e){var b=this.size/2*1,f=this.size/2*1,g=d.extend(true,{},this.options,{closePath:false}),h=[[c-b,a-f],[c+b,a+f]];c=[[c-b,a+f],[c+b,a-f]];if(this.shadow){this.shadowRenderer.draw(e,
h,{closePath:false});this.shadowRenderer.draw(e,c,{closePath:false})}this.shapeRenderer.draw(e,h,g);this.shapeRenderer.draw(e,c,g);e.restore()};d.jqplot.MarkerRenderer.prototype.drawDash=function(c,a,e,b,f){b=this.size/2*1;c=[[c-b,a],[c+b,a]];this.shadow&&this.shadowRenderer.draw(e,c);this.shapeRenderer.draw(e,c,f);e.restore()};d.jqplot.MarkerRenderer.prototype.drawSquare=function(c,a,e,b,f){b=this.size/2/1;var g=this.size/2*1;c=[[c-b,a-g],[c-b,a+g],[c+b,a+g],[c+b,a-g]];this.shadow&&this.shadowRenderer.draw(e,
c);this.shapeRenderer.draw(e,c,f);e.restore()};d.jqplot.MarkerRenderer.prototype.drawCircle=function(c,a,e,b,f){c=[c,a,this.size/2,0,2*Math.PI,true];this.shadow&&this.shadowRenderer.draw(e,c);this.shapeRenderer.draw(e,c,f);e.restore()};d.jqplot.MarkerRenderer.prototype.draw=function(c,a,e,b){b=b||{};switch(this.style){case "diamond":this.drawDiamond(c,a,e,false,b);break;case "filledDiamond":this.drawDiamond(c,a,e,true,b);break;case "circle":this.drawCircle(c,a,e,false,b);break;case "filledCircle":this.drawCircle(c,
a,e,true,b);break;case "square":this.drawSquare(c,a,e,false,b);break;case "filledSquare":this.drawSquare(c,a,e,true,b);break;case "x":this.drawX(c,a,e,true,b);break;case "plus":this.drawPlus(c,a,e,true,b);break;case "dash":this.drawDash(c,a,e,true,b);break;default:this.drawDiamond(c,a,e,false,b);break}};d.jqplot.ShadowRenderer=function(c){this.angle=45;this.offset=1;this.alpha=0.07;this.lineWidth=1.5;this.lineJoin="miter";this.lineCap="round";this.fill=this.closePath=false;this.depth=3;this.isarc=
false;d.extend(true,this,c)};d.jqplot.ShadowRenderer.prototype.init=function(c){d.extend(true,this,c)};d.jqplot.ShadowRenderer.prototype.draw=function(c,a,e){c.save();var b=e!=null?e:{};e=b.fill!=null?b.fill:this.fill;var f=b.closePath!=null?b.closePath:this.closePath,g=b.offset!=null?b.offset:this.offset,h=b.alpha!=null?b.alpha:this.alpha,k=b.depth!=null?b.depth:this.depth;c.lineWidth=b.lineWidth!=null?b.lineWidth:this.lineWidth;c.lineJoin=b.lineJoin!=null?b.lineJoin:this.lineJoin;c.lineCap=b.lineCap!=
null?b.lineCap:this.lineCap;c.strokeStyle="rgba(0,0,0,"+h+")";c.fillStyle="rgba(0,0,0,"+h+")";for(b=0;b<k;b++){c.translate(Math.cos(this.angle*Math.PI/180)*g,Math.sin(this.angle*Math.PI/180)*g);c.beginPath();if(this.isarc)c.arc(a[0],a[1],a[2],a[3],a[4],true);else{c.moveTo(a[0][0],a[0][1]);for(h=1;h<a.length;h++)c.lineTo(a[h][0],a[h][1])}f&&c.closePath();e?c.fill():c.stroke()}c.restore()};d.jqplot.ShapeRenderer=function(c){this.lineWidth=1.5;this.lineJoin="miter";this.lineCap="round";this.clearRect=
this.strokeRect=this.fillRect=this.isarc=this.fill=this.closePath=false;this.fillStyle=this.strokeStyle="#999999";d.extend(true,this,c)};d.jqplot.ShapeRenderer.prototype.init=function(c){d.extend(true,this,c)};d.jqplot.ShapeRenderer.prototype.draw=function(c,a,e){c.save();var b=e!=null?e:{};e=b.fill!=null?b.fill:this.fill;var f=b.closePath!=null?b.closePath:this.closePath,g=b.fillRect!=null?b.fillRect:this.fillRect,h=b.strokeRect!=null?b.strokeRect:this.strokeRect,k=b.clearRect!=null?b.clearRect:
this.clearRect,q=b.isarc!=null?b.isarc:this.isarc;c.lineWidth=b.lineWidth||this.lineWidth;c.lineJoin=b.lineJoing||this.lineJoin;c.lineCap=b.lineCap||this.lineCap;c.strokeStyle=b.strokeStyle||b.color||this.strokeStyle;c.fillStyle=b.fillStyle||this.fillStyle;c.beginPath();if(q){c.arc(a[0],a[1],a[2],a[3],a[4],true);f&&c.closePath();e?c.fill():c.stroke()}else if(k)c.clearRect(a[0],a[1],a[2],a[3]);else if(g||h){g&&c.fillRect(a[0],a[1],a[2],a[3]);if(h){c.strokeRect(a[0],a[1],a[2],a[3]);c.restore();return}}else{c.moveTo(a[0][0],
a[0][1]);for(b=1;b<a.length;b++)c.lineTo(a[b][0],a[b][1]);f&&c.closePath();e?c.fill():c.stroke()}c.restore()};d.jqplot.TableLegendRenderer=function(){};d.jqplot.TableLegendRenderer.prototype.init=function(c){d.extend(true,this,c)};d.jqplot.TableLegendRenderer.prototype.addrow=function(c,a,e){var b=e?this.rowSpacing:"0";e=d('<tr class="jqplot-table-legend"></tr>').appendTo(this._elem);d('<td class="jqplot-table-legend" style="text-align:center;padding-top:'+b+';"><div><div class="jqplot-table-legend-swatch" style="border-color:'+
a+';"></div></div></td>').appendTo(e);a=d('<td class="jqplot-table-legend" style="padding-top:'+b+';"></td>');a.appendTo(e);this.escapeHtml?a.text(c):a.html(c)};d.jqplot.TableLegendRenderer.prototype.draw=function(){if(this.show){var c=this._series,a="position:absolute;";a+=this.background?"background:"+this.background+";":"";a+=this.border?"border:"+this.border+";":"";a+=this.fontSize?"font-size:"+this.fontSize+";":"";a+=this.fontFamily?"font-family:"+this.fontFamily+";":"";a+=this.textColor?"color:"+
this.textColor+";":"";this._elem=d('<table class="jqplot-table-legend" style="'+a+'"></table>');a=false;for(var e=0;e<c.length;e++){s=c[e];if(s.show&&s.showLabel){var b=s.label.toString();if(b){var f=s.color;if(s._stack&&!s.fill)f="";this.renderer.addrow.call(this,b,f,a);a=true}for(b=0;b<d.jqplot.addLegendRowHooks.length;b++)if(f=d.jqplot.addLegendRowHooks[b].call(this,s)){this.renderer.addrow.call(this,f.label,f.color,a);a=true}}}}return this._elem};d.jqplot.TableLegendRenderer.prototype.pack=function(c){if(this.show){var a=
{_top:c.top,_left:c.left,_right:c.right,_bottom:this._plotDimensions.height-c.bottom};switch(this.location){case "nw":var e=a._left+this.xoffset;c=a._top+this.yoffset;this._elem.css("left",e);this._elem.css("top",c);break;case "n":e=(c.left+(this._plotDimensions.width-c.right))/2-this.getWidth()/2;c=a._top+this.yoffset;this._elem.css("left",e);this._elem.css("top",c);break;case "ne":e=c.right+this.xoffset;c=a._top+this.yoffset;this._elem.css({right:e,top:c});break;case "e":e=c.right+this.xoffset;
c=(c.top+(this._plotDimensions.height-c.bottom))/2-this.getHeight()/2;this._elem.css({right:e,top:c});break;case "se":e=c.right+this.xoffset;c=c.bottom+this.yoffset;this._elem.css({right:e,bottom:c});break;case "s":e=(c.left+(this._plotDimensions.width-c.right))/2-this.getWidth()/2;c=c.bottom+this.yoffset;this._elem.css({left:e,bottom:c});break;case "sw":e=a._left+this.xoffset;c=c.bottom+this.yoffset;this._elem.css({left:e,bottom:c});break;case "w":e=a._left+this.xoffset;c=(c.top+(this._plotDimensions.height-
c.bottom))/2-this.getHeight()/2;this._elem.css({left:e,top:c});break;default:e=a._right-this.xoffset;c=a._bottom+this.yoffset;this._elem.css({right:e,bottom:c});break}}};d.jqplot.sprintf=function(){function c(h,k,q,u){k=h.length>=k?"":Array(1+k-h.length>>>0).join(q);return u?h+k:k+h}function a(h,k,q,u,y,t){var C=u-h.length;if(C>0){var F=" ";if(t)F="&nbsp;";h=q||!y?c(h,u,F,q):h.slice(0,k.length)+c("",C,"0",true)+h.slice(k.length)}return h}function e(h,k,q,u,y,t,C,F){h=h>>>0;q=q&&h&&{"2":"0b","8":"0",
"16":"0x"}[k]||"";h=q+c(h.toString(k),t||0,"0",false);return a(h,q,u,y,C,F)}function b(h,k,q,u,y,t){if(u!=null)h=h.slice(0,u);return a(h,"",k,q,y,t)}var f=arguments,g=0;return f[g++].replace(d.jqplot.sprintf.regex,function(h,k,q,u,y,t,C){if(h=="%%")return"%";for(var F=false,G="",J=false,H=false,I=false,K=0;q&&K<q.length;K++)switch(q.charAt(K)){case " ":G=" ";break;case "+":G="+";break;case "-":F=true;break;case "0":J=true;break;case "#":H=true;break;case "&":I=true;break}u=u?u=="*"?+f[g++]:u.charAt(0)==
"*"?+f[u.slice(1,-1)]:+u:0;if(u<0){u=-u;F=true}if(!isFinite(u))throw new Error("$.jqplot.sprintf: (minimum-)width must be finite");t=t?t=="*"?+f[g++]:t.charAt(0)=="*"?+f[t.slice(1,-1)]:+t:"fFeE".indexOf(C)>-1?6:C=="d"?0:void 0;k=k?f[k.slice(0,-1)]:f[g++];switch(C){case "s":if(k==null)return"";return b(String(k),F,u,t,J,I);case "c":return b(String.fromCharCode(+k),F,u,t,J,I);case "b":return e(k,2,H,F,u,t,J,I);case "o":return e(k,8,H,F,u,t,J,I);case "x":return e(k,16,H,F,u,t,J,I);case "X":return e(k,
16,H,F,u,t,J,I).toUpperCase();case "u":return e(k,10,H,F,u,t,J,I);case "i":case "d":h=parseInt(+k,10);if(isNaN(h))return"";G=h<0?"-":G;k=G+c(String(Math.abs(h)),t,"0",false);return a(k,G,F,u,J,I);case "e":case "E":case "f":case "F":case "g":case "G":h=+k;if(isNaN(h))return"";G=h<0?"-":G;H=["toExponential","toFixed","toPrecision"]["efg".indexOf(C.toLowerCase())];C=["toString","toUpperCase"]["eEfFgG".indexOf(C)%2];k=G+Math.abs(h)[H](t);return a(k,G,F,u,J,I)[C]();case "p":case "P":h=+k;if(isNaN(h))return"";
G=h<0?"-":G;k=String(Number(Math.abs(h)).toExponential()).split(/e|E/);H=k[0].indexOf(".")!=-1?k[0].length-1:k[0].length;k=k[1]<0?-k[1]-1:0;if(Math.abs(h)<1)k=H+k<=t?G+Math.abs(h).toPrecision(H):H<=t-1?G+Math.abs(h).toExponential(H-1):G+Math.abs(h).toExponential(t-1);else{t=H<=t?H:t;k=G+Math.abs(h).toPrecision(t)}C=["toString","toUpperCase"]["pP".indexOf(C)%2];return a(k,G,F,u,J,I)[C]();case "n":return"";default:return h}})};d.jqplot.sprintf.regex=/%%|%(\d+\$)?([-+#0& ]*)(\*\d+\$|\*|\d+)?(\.(\*\d+\$|\*|\d+))?([nAscboxXuidfegpEGP])/g})(jQuery);
(function(d){function j(r,B){var z=r.plugins.highlighter;r=r.series[B.seriesIndex];var v=r.markerRenderer,D=z.markerRenderer;D.style=v.style;D.lineWidth=v.lineWidth+z.lineWidthAdjust;D.size=v.size+z.sizeAdjust;v=d.jqplot.getColorComponents(v.color);var E=[v[0],v[1],v[2]];D.color="rgba("+E[0]+","+E[1]+","+E[2]+","+(v[3]>=0.6?v[3]*0.6:v[3]*(2-v[3]))+")";D.init();D.draw(r.gridData[B.pointIndex][0],r.gridData[B.pointIndex][1],z.highlightCanvas._ctx)}function l(r,B,z){var v=r.plugins.highlighter,D=v._tooltipElem;
if(v.useAxesFormatters){var E=B._xaxis._ticks[0].formatter,A=B._yaxis._ticks[0].formatter,w=B._yaxis._ticks[0].formatString;E=E(B._xaxis._ticks[0].formatString,z.data[0]);for(var o=[],c=1;c<v.yvalues+1;c++)o.push(A(w,z.data[c]));if(v.formatString)switch(v.tooltipAxes){case "both":case "xy":o.unshift(E);o.unshift(v.formatString);A=d.jqplot.sprintf.apply(d.jqplot.sprintf,o);break;case "yx":o.push(E);o.unshift(v.formatString);A=d.jqplot.sprintf.apply(d.jqplot.sprintf,o);break;case "x":A=d.jqplot.sprintf.apply(d.jqplot.sprintf,
[v.formatString,E]);break;case "y":o.unshift(v.formatString);A=d.jqplot.sprintf.apply(d.jqplot.sprintf,o);break;default:o.unshift(E);o.unshift(v.formatString);A=d.jqplot.sprintf.apply(d.jqplot.sprintf,o);break}else switch(v.tooltipAxes){case "both":case "xy":A=E;for(c=0;c<o.length;c++)A+=v.tooltipSeparator+o[c];break;case "yx":A="";for(c=0;c<o.length;c++)A+=o[c]+v.tooltipSeparator;A+=E;break;case "x":A=E;break;case "y":A="";for(c=0;c<o.length;c++)A+=o[c]+v.tooltipSeparator;break;default:A=E;for(c=
0;c<o.length;c++)A+=v.tooltipSeparator+o[c];break}}else if(v.tooltipAxes=="both"||v.tooltipAxes=="xy")A=d.jqplot.sprintf(v.tooltipFormatString,z.data[0])+v.tooltipSeparator+d.jqplot.sprintf(v.tooltipFormatString,z.data[1]);else if(v.tooltipAxes=="yx")A=d.jqplot.sprintf(v.tooltipFormatString,z.data[1])+v.tooltipSeparator+d.jqplot.sprintf(v.tooltipFormatString,z.data[0]);else if(v.tooltipAxes=="x")A=d.jqplot.sprintf(v.tooltipFormatString,z.data[0]);else if(v.tooltipAxes=="y")A=d.jqplot.sprintf(v.tooltipFormatString,
z.data[1]);D.html(A);z={x:z.gridData[0],y:z.gridData[1]};A=0;if(B.markerRenderer.show==true)A=(B.markerRenderer.size+v.sizeAdjust)/2;switch(v.tooltipLocation){case "nw":B=z.x+r._gridPadding.left-D.outerWidth(true)-v.tooltipOffset-0.707*A;r=z.y+r._gridPadding.top-v.tooltipOffset-D.outerHeight(true)-0.707*A;break;case "n":B=z.x+r._gridPadding.left-D.outerWidth(true)/2;r=z.y+r._gridPadding.top-v.tooltipOffset-D.outerHeight(true)-A;break;case "ne":B=z.x+r._gridPadding.left+v.tooltipOffset+0.707*A;r=z.y+
r._gridPadding.top-v.tooltipOffset-D.outerHeight(true)-0.707*A;break;case "e":B=z.x+r._gridPadding.left+v.tooltipOffset+A;r=z.y+r._gridPadding.top-D.outerHeight(true)/2;break;case "se":B=z.x+r._gridPadding.left+v.tooltipOffset+0.707*A;r=z.y+r._gridPadding.top+v.tooltipOffset+0.707*A;break;case "s":B=z.x+r._gridPadding.left-D.outerWidth(true)/2;r=z.y+r._gridPadding.top+v.tooltipOffset+A;break;case "sw":B=z.x+r._gridPadding.left-D.outerWidth(true)-v.tooltipOffset-0.707*A;r=z.y+r._gridPadding.top+v.tooltipOffset+
0.707*A;break;case "w":B=z.x+r._gridPadding.left-D.outerWidth(true)-v.tooltipOffset-A;r=z.y+r._gridPadding.top-D.outerHeight(true)/2;break;default:B=z.x+r._gridPadding.left-D.outerWidth(true)-v.tooltipOffset-0.707*A;r=z.y+r._gridPadding.top-v.tooltipOffset-D.outerHeight(true)-0.707*A;break}D.css("left",B);D.css("top",r);v.fadeTooltip?D.fadeIn(v.tooltipFadeSpeed):D.show()}function x(r,B,z,v,D){r=D.plugins.highlighter;if(r.show){if(v==null&&r.isHighlighting){B=r.highlightCanvas._ctx;B.clearRect(0,0,
B.canvas.width,B.canvas.height);r.fadeTooltip?r._tooltipElem.fadeOut(r.tooltipFadeSpeed):r._tooltipElem.hide();r.isHighlighting=false}if(v!=null&&D.series[v.seriesIndex].showHighlight&&!r.isHighlighting){r.isHighlighting=true;r.showMarker&&j(D,v);r.showTooltip&&l(D,D.series[v.seriesIndex],v)}}}d.jqplot.eventListenerHooks.push(["jqplotMouseMove",x]);d.jqplot.Highlighter=function(r){this.show=d.jqplot.config.enablePlugins;this.markerRenderer=new d.jqplot.MarkerRenderer({shadow:false});this.showMarker=
true;this.lineWidthAdjust=2.5;this.sizeAdjust=5;this.showTooltip=true;this.tooltipLocation="nw";this.fadeTooltip=true;this.tooltipFadeSpeed="fast";this.tooltipOffset=2;this.tooltipAxes="both";this.tooltipSeparator=", ";this.useAxesFormatters=true;this.tooltipFormatString="%.5P";this.formatString=null;this.yvalues=1;this.isHighlighting=false;d.extend(true,this,r)};d.jqplot.Highlighter.init=function(r,B,z){this.plugins.highlighter=new d.jqplot.Highlighter((z||{}).highlighter)};d.jqplot.Highlighter.parseOptions=
function(){this.showHighlight=true};d.jqplot.Highlighter.postPlotDraw=function(){this.plugins.highlighter.highlightCanvas=new d.jqplot.GenericCanvas;this.eventCanvas._elem.before(this.plugins.highlighter.highlightCanvas.createElement(this._gridPadding,"jqplot-highlight-canvas",this._plotDimensions));this.plugins.highlighter.highlightCanvas.setContext();var r=this.plugins.highlighter;r._tooltipElem=d('<div class="jqplot-highlighter-tooltip" style="position:absolute;display:none"></div>');this.target.append(r._tooltipElem)};
d.jqplot.preInitHooks.push(d.jqplot.Highlighter.init);d.jqplot.preParseSeriesOptionsHooks.push(d.jqplot.Highlighter.parseOptions);d.jqplot.postDrawHooks.push(d.jqplot.Highlighter.postPlotDraw)})(jQuery);
(function(d){function j(a,e,b){var f=b.plugins.cursor,g="",h=false;if(f.showTooltipGridPosition){g=a.x+", "+a.y;h=true}if(f.showTooltipUnitPosition)for(var k,q=0;q<f.tooltipAxisGroups.length;q++){k=f.tooltipAxisGroups[q];if(h)g+="<br />";if(f.useAxesFormatters){var u=b.axes[k[0]]._ticks[0].formatter,y=b.axes[k[1]]._ticks[0].formatter,t=b.axes[k[0]]._ticks[0].formatString,C=b.axes[k[1]]._ticks[0].formatString;g+=u(t,e[k[0]])+", "+y(C,e[k[1]])}else g+=d.jqplot.sprintf(f.tooltipFormatString,e[k[0]],
e[k[1]]);h=true}if(f.showTooltipDataPosition){e=b.series;a=x(b,a.x,a.y);h=false;for(q=0;q<e.length;q++)if(e[q].show){y=e[q].index;b=e[q].label.toString();y=d.inArray(y,a.indices);C=u=undefined;if(y!=-1){k=a.data[y].data;if(f.useAxesFormatters){u=e[q]._xaxis._ticks[0].formatter;y=e[q]._yaxis._ticks[0].formatter;t=e[q]._xaxis._ticks[0].formatString;C=e[q]._yaxis._ticks[0].formatString;u=u(t,k[0]);C=y(C,k[1])}else{u=k[0];C=k[1]}if(h)g+="<br />";g+=d.jqplot.sprintf(f.tooltipFormatString,b,u,C);h=true}}}f._tooltipElem.html(g)}
function l(a,e){var b=e.plugins.cursor,f=b.cursorCanvas._ctx;f.clearRect(0,0,f.canvas.width,f.canvas.height);b.showVerticalLine&&b.shapeRenderer.draw(f,[[a.x,0],[a.x,f.canvas.height]]);b.showHorizontalLine&&b.shapeRenderer.draw(f,[[0,a.y],[f.canvas.width,a.y]]);a=x(e,a.x,a.y);if(b.showCursorLegend){f=d(e.targetId+" td.jqplot-cursor-legend-label");for(var g=0;g<f.length;g++){var h=d(f[g]).data("seriesIndex"),k=e.series[h],q=k.label.toString(),u=d.inArray(h,a.indices),y=h=undefined;if(u!=-1){u=a.data[u].data;
if(b.useAxesFormatters){h=k._xaxis._ticks[0].formatter;y=k._yaxis._ticks[0].formatter;var t=k._yaxis._ticks[0].formatString;h=h(k._xaxis._ticks[0].formatString,u[0]);y=y(t,u[1])}else{h=u[0];y=u[1]}}e.legend.escapeHtml?d(f[g]).text(d.jqplot.sprintf(b.cursorLegendFormatString,q,h,y)):d(f[g]).html(d.jqplot.sprintf(b.cursorLegendFormatString,q,h,y))}}}function x(a,e){var b={indices:[],data:[]},f,g,h,k,q=a.plugins.cursor;for(g=0;g<a.series.length;g++){f=a.series[g];if(f.show){k=q.intersectionThreshold;
if(f.showMarker)k+=f.markerRenderer.size/2;for(h=0;h<f.gridData.length;h++){p=f.gridData[h];if(q.showVerticalLine)if(Math.abs(e-p[0])<=k){b.indices.push(g);b.data.push({seriesIndex:g,pointIndex:h,gridData:p,data:f.data[h]})}}}}return b}function r(a,e){var b=e.plugins.cursor,f=b._tooltipElem;switch(b.tooltipLocation){case "nw":var g=a.x+e._gridPadding.left-f.outerWidth(true)-b.tooltipOffset;a=a.y+e._gridPadding.top-b.tooltipOffset-f.outerHeight(true);break;case "n":g=a.x+e._gridPadding.left-f.outerWidth(true)/
2;a=a.y+e._gridPadding.top-b.tooltipOffset-f.outerHeight(true);break;case "ne":g=a.x+e._gridPadding.left+b.tooltipOffset;a=a.y+e._gridPadding.top-b.tooltipOffset-f.outerHeight(true);break;case "e":g=a.x+e._gridPadding.left+b.tooltipOffset;a=a.y+e._gridPadding.top-f.outerHeight(true)/2;break;case "se":g=a.x+e._gridPadding.left+b.tooltipOffset;a=a.y+e._gridPadding.top+b.tooltipOffset;break;case "s":g=a.x+e._gridPadding.left-f.outerWidth(true)/2;a=a.y+e._gridPadding.top+b.tooltipOffset;break;case "sw":g=
a.x+e._gridPadding.left-f.outerWidth(true)-b.tooltipOffset;a=a.y+e._gridPadding.top+b.tooltipOffset;break;case "w":g=a.x+e._gridPadding.left-f.outerWidth(true)-b.tooltipOffset;a=a.y+e._gridPadding.top-f.outerHeight(true)/2;break;default:g=a.x+e._gridPadding.left+b.tooltipOffset;a=a.y+e._gridPadding.top+b.tooltipOffset;break}b._tooltipElem.css("left",g);b._tooltipElem.css("top",a)}function B(a){var e=a._gridPadding,b=a.plugins.cursor,f=b._tooltipElem;switch(b.tooltipLocation){case "nw":var g=e.left+
b.tooltipOffset;a=e.top+b.tooltipOffset;f.css("left",g);f.css("top",a);break;case "n":g=(e.left+(a._plotDimensions.width-e.right))/2-f.outerWidth(true)/2;a=e.top+b.tooltipOffset;f.css("left",g);f.css("top",a);break;case "ne":g=e.right+b.tooltipOffset;a=e.top+b.tooltipOffset;f.css({right:g,top:a});break;case "e":g=e.right+b.tooltipOffset;a=(e.top+(a._plotDimensions.height-e.bottom))/2-f.outerHeight(true)/2;f.css({right:g,top:a});break;case "se":g=e.right+b.tooltipOffset;a=e.bottom+b.tooltipOffset;
f.css({right:g,bottom:a});break;case "s":g=(e.left+(a._plotDimensions.width-e.right))/2-f.outerWidth(true)/2;a=e.bottom+b.tooltipOffset;f.css({left:g,bottom:a});break;case "sw":g=e.left+b.tooltipOffset;a=e.bottom+b.tooltipOffset;f.css({left:g,bottom:a});break;case "w":g=e.left+b.tooltipOffset;a=(e.top+(a._plotDimensions.height-e.bottom))/2-f.outerHeight(true)/2;f.css({left:g,top:a});break;default:g=e.right-b.tooltipOffset;a=e.bottom+b.tooltipOffset;f.css({right:g,bottom:a});break}}function z(a,e,
b,f,g){a.stopPropagation();a.preventDefault();a=g.plugins.cursor;a.clickReset&&a.resetZoom(g,a);return false}function v(a,e,b,f,g){a.stopPropagation();a.preventDefault();a=g.plugins.cursor;a.dblClickReset&&a.resetZoom(g,a);return false}function D(a,e,b,f,g){e=g.plugins.cursor;if(e.show){d(a.target).css("cursor",e.previousCursor);e.showTooltip&&e._tooltipElem.hide();if(e.zoom){e._zoom.started=false;e._zoom.zooming=false;if(!e.zoomProxy){a=e.zoomCanvas._ctx;a.clearRect(0,0,a.canvas.width,a.canvas.height)}}if(e.showVerticalLine||
e.showHorizontalLine){a=e.cursorCanvas._ctx;a.clearRect(0,0,a.canvas.width,a.canvas.height)}if(e.showCursorLegend){a=d(g.targetId+" td.jqplot-cursor-legend-label");for(b=0;b<a.length;b++){f=d(a[b]).data("seriesIndex");f=g.series[f].label.toString();g.legend.escapeHtml?d(a[b]).text(d.jqplot.sprintf(e.cursorLegendFormatString,f,undefined,undefined)):d(a[b]).html(d.jqplot.sprintf(e.cursorLegendFormatString,f,undefined,undefined))}}}}function E(a,e,b,f,g){f=g.plugins.cursor;if(f.show){f.previousCursor=
a.target.style.cursor;a.target.style.cursor=f.style;if(f.showTooltip){j(e,b,g);f.followMouse?r(e,g):B(g);f._tooltipElem.show()}if(f.showVerticalLine||f.showHorizontalLine)l(e,g)}}function A(a,e,b,f,g){a=g.plugins.cursor;f=a.zoomCanvas._ctx;if(a.show){if(a.showTooltip){j(e,b,g);a.followMouse&&r(e,g)}if(a.zoom&&a._zoom.started&&!a.zoomTarget){a._zoom.zooming=true;a._zoom.end=a.constrainZoomTo=="x"?[e.x,f.canvas.height]:a.constrainZoomTo=="y"?[f.canvas.width,e.y]:[e.x,e.y];c.call(a)}if(a.showVerticalLine||
a.showHorizontalLine)l(e,g)}}function w(a,e,b,f,g){a=g.plugins.cursor;if(a.zoom){if(!a.zoomProxy){f=a.zoomCanvas._ctx;f.clearRect(0,0,f.canvas.width,f.canvas.height)}a._zoom.start=a.constrainZoomTo=="x"?[e.x,0]:a.constrainZoomTo=="y"?[0,e.y]:[e.x,e.y];a._zoom.started=true;for(var h in b)a._zoom.axes.start[h]=b[h]}}function o(a,e,b,f,g){a=g.plugins.cursor;a.zoom&&a._zoom.zooming&&!a.zoomTarget&&a.doZoom(e,b,g,a);a._zoom.started=false;a._zoom.zooming=false}function c(){var a=this._zoom.start,e=this._zoom.end,
b=this.zoomCanvas._ctx,f,g,h;if(e[0]>a[0]){f=a[0];h=e[0]-a[0]}else{f=e[0];h=a[0]-e[0]}if(e[1]>a[1]){g=a[1];a=e[1]-a[1]}else{g=e[1];a=a[1]-e[1]}b.fillStyle="rgba(0,0,0,0.2)";b.strokeStyle="#999999";b.lineWidth=1;b.clearRect(0,0,b.canvas.width,b.canvas.height);b.fillRect(0,0,b.canvas.width,b.canvas.height);b.clearRect(f,g,h,a);b.strokeRect(f,g,h,a)}d.jqplot.Cursor=function(a){this.style="crosshair";this.previousCursor="auto";this.show=d.jqplot.config.enablePlugins;this.showTooltip=true;this.followMouse=
false;this.tooltipLocation="se";this.tooltipOffset=6;this.showTooltipGridPosition=false;this.showTooltipUnitPosition=true;this.showTooltipDataPosition=false;this.tooltipFormatString="%.4P, %.4P";this.useAxesFormatters=true;this.tooltipAxisGroups=[];this.clickReset=this.zoomTarget=this.zoomProxy=this.zoom=false;this.dblClickReset=true;this.showHorizontalLine=this.showVerticalLine=false;this.constrainZoomTo="none";this.shapeRenderer=new d.jqplot.ShapeRenderer;this._zoom={start:[],end:[],started:false,
zooming:false,isZoomed:false,axes:{start:{},end:{}}};this.intersectionThreshold=2;this.showCursorLegend=false;this.cursorLegendFormatString=d.jqplot.Cursor.cursorLegendFormatString;d.extend(true,this,a)};d.jqplot.Cursor.cursorLegendFormatString="%s x:%s, y:%s";d.jqplot.Cursor.init=function(a,e,b){a=b||{};this.plugins.cursor=new d.jqplot.Cursor(a.cursor);var f=this.plugins.cursor;if(f.show){d.jqplot.eventListenerHooks.push(["jqplotMouseEnter",E]);d.jqplot.eventListenerHooks.push(["jqplotMouseLeave",
D]);d.jqplot.eventListenerHooks.push(["jqplotMouseMove",A]);if(f.showCursorLegend){b.legend=b.legend||{};b.legend.renderer=d.jqplot.CursorLegendRenderer;b.legend.formatString=this.plugins.cursor.cursorLegendFormatString;b.legend.show=true}if(f.zoom){d.jqplot.eventListenerHooks.push(["jqplotMouseDown",w]);d.jqplot.eventListenerHooks.push(["jqplotMouseUp",o]);f.clickReset&&d.jqplot.eventListenerHooks.push(["jqplotClick",z]);f.dblClickReset&&d.jqplot.eventListenerHooks.push(["jqplotDblClick",v])}this.resetZoom=
function(){var g=this.axes;if(f.zoomProxy){g=this.plugins.cursor.zoomCanvas._ctx;g.clearRect(0,0,g.canvas.width,g.canvas.height)}else{for(var h in g)g[h].reset();this.redraw()}this.plugins.cursor._zoom.isZoomed=false;this.target.trigger("jqplotResetZoom",[this,this.plugins.cursor])};if(f.showTooltipDataPosition){f.showTooltipUnitPosition=false;f.showTooltipGridPosition=false;if(a.cursor.tooltipFormatString==undefined)f.tooltipFormatString=d.jqplot.Cursor.cursorLegendFormatString}}};d.jqplot.Cursor.postDraw=
function(){var a=this.plugins.cursor;a.zoomCanvas=new d.jqplot.GenericCanvas;this.eventCanvas._elem.before(a.zoomCanvas.createElement(this._gridPadding,"jqplot-zoom-canvas",this._plotDimensions));a.zoomCanvas.setContext();a._tooltipElem=d('<div class="jqplot-cursor-tooltip" style="position:absolute;display:none"></div>');a.zoomCanvas._elem.before(a._tooltipElem);if(a.showVerticalLine||a.showHorizontalLine){a.cursorCanvas=new d.jqplot.GenericCanvas;this.eventCanvas._elem.before(a.cursorCanvas.createElement(this._gridPadding,
"jqplot-cursor-canvas",this._plotDimensions));a.cursorCanvas.setContext()}if(a.showTooltipUnitPosition)if(a.tooltipAxisGroups.length===0){for(var e=this.series,b,f=[],g=0;g<e.length;g++){b=e[g];b=b.xaxis+","+b.yaxis;d.inArray(b,f)==-1&&f.push(b)}for(g=0;g<f.length;g++)a.tooltipAxisGroups.push(f[g].split(","))}};d.jqplot.Cursor.zoomProxy=function(a,e){function b(k,q,u,y,t){g.doZoom(q,u,a,t)}function f(){a.resetZoom()}var g=a.plugins.cursor,h=e.plugins.cursor;g.zoomTarget=true;g.zoom=true;g.style="auto";
g.dblClickReset=false;h.zoom=true;h.zoomProxy=true;e.target.bind("jqplotZoom",b);e.target.bind("jqplotResetZoom",f)};d.jqplot.Cursor.prototype.resetZoom=function(a,e){var b=a.axes,f=e._zoom.axes;if(!a.plugins.cursor.zoomProxy&&e._zoom.isZoomed){for(var g in b){b[g]._ticks=[];b[g].min=f[g].min;b[g].max=f[g].max;b[g].numberTicks=f[g].numberTicks;b[g].tickInterval=f[g].tickInterval;b[g].daTickInterval=f[g].daTickInterval}a.redraw();e._zoom.isZoomed=false}else{b=e.zoomCanvas._ctx;b.clearRect(0,0,b.canvas.width,
b.canvas.height)}a.target.trigger("jqplotResetZoom",[a,e])};d.jqplot.Cursor.resetZoom=function(a){a.resetZoom()};d.jqplot.Cursor.prototype.doZoom=function(a,e,b,f){var g=b.axes,h=f._zoom.axes.start,k=b.plugins.cursor.zoomCanvas._ctx;if(f.constrainZoomTo=="none"&&Math.abs(a.x-f._zoom.start[0])>6&&Math.abs(a.y-f._zoom.start[1])>6||f.constrainZoomTo=="x"&&Math.abs(a.x-f._zoom.start[0])>6||f.constrainZoomTo=="y"&&Math.abs(a.y-f._zoom.start[1])>6){if(!b.plugins.cursor.zoomProxy){for(var q in e){if(f._zoom.axes[q]==
undefined){f._zoom.axes[q]={};f._zoom.axes[q].numberTicks=g[q].numberTicks;f._zoom.axes[q].tickInterval=g[q].tickInterval;f._zoom.axes[q].daTickInterval=g[q].daTickInterval;f._zoom.axes[q].min=g[q].min;f._zoom.axes[q].max=g[q].max}if(f.constrainZoomTo=="none"||f.constrainZoomTo=="x"&&q.charAt(0)=="x"||f.constrainZoomTo=="y"&&q.charAt(0)=="y"){dp=e[q];if(dp!=null){if(dp>h[q]){g[q].min=h[q];g[q].max=dp}else{span=h[q]-dp;g[q].max=h[q];g[q].min=dp}g[q].tickInterval=null;g[q].daTickInterval=null;g[q]._ticks=
[]}}}k.clearRect(0,0,k.canvas.width,k.canvas.height);b.redraw();f._zoom.isZoomed=true}b.target.trigger("jqplotZoom",[a,e,b,f])}};d.jqplot.preInitHooks.push(d.jqplot.Cursor.init);d.jqplot.postDrawHooks.push(d.jqplot.Cursor.postDraw);d.jqplot.CursorLegendRenderer=function(a){d.jqplot.TableLegendRenderer.call(this,a);this.formatString="%s"};d.jqplot.CursorLegendRenderer.prototype=new d.jqplot.TableLegendRenderer;d.jqplot.CursorLegendRenderer.prototype.constructor=d.jqplot.CursorLegendRenderer;d.jqplot.CursorLegendRenderer.prototype.draw=
function(){function a(k,q,u,y){var t=u?this.rowSpacing:"0";u=d('<tr class="jqplot-legend jqplot-cursor-legend"></tr>').appendTo(this._elem);u.data("seriesIndex",y);d('<td class="jqplot-legend jqplot-cursor-legend-swatch" style="padding-top:'+t+';"><div style="border:1px solid #cccccc;padding:0.2em;"><div class="jqplot-cursor-legend-swatch" style="background-color:'+q+';"></div></div></td>').appendTo(u);q=d('<td class="jqplot-legend jqplot-cursor-legend-label" style="vertical-align:middle;padding-top:'+
t+';"></td>');q.appendTo(u);q.data("seriesIndex",y);this.escapeHtml?q.text(k):q.html(k)}if(this.show){var e=this._series;this._elem=d('<table class="jqplot-legend jqplot-cursor-legend" style="position:absolute"></table>');for(var b=false,f=0;f<e.length;f++){s=e[f];if(s.show){var g=d.jqplot.sprintf(this.formatString,s.label.toString());if(g){var h=s.color;if(s._stack&&!s.fill)h="";a.call(this,g,h,b,f);b=true}for(g=0;g<d.jqplot.addLegendRowHooks.length;g++)if(h=d.jqplot.addLegendRowHooks[g].call(this,
s)){a.call(this,h.label,h.color,b);b=true}}}}return this._elem}})(jQuery);
(function(d){d.jqplot.CanvasTextRenderer=function(j){this.fontWeight=this.fontVariant=this.fontStyle="normal";this.fontSize="10px";this.fontFamily="sans-serif";this.fontStretch=1;this.fillStyle="#666666";this.angle=0;this.textAlign="start";this.textBaseline="alphabetic";this.pt2px=1.28;d.extend(true,this,j);this.normalizedFontSize=this.normalizeFontSize(this.fontSize);this.setHeight()};d.jqplot.CanvasTextRenderer.prototype.init=function(j){d.extend(true,this,j);this.normalizedFontSize=this.normalizeFontSize(this.fontSize);
this.setHeight()};d.jqplot.CanvasTextRenderer.prototype.normalizeFontSize=function(j){j=String(j);n=parseFloat(j);return j.indexOf("px")>-1?n/this.pt2px:j.indexOf("pt")>-1?n:j.indexOf("em")>-1?n*12:j.indexOf("%")>-1?n*12/100:n/this.pt2px};d.jqplot.CanvasTextRenderer.prototype.fontWeight2Float=function(j){if(Number(j))return j/400;else switch(j){case "normal":return 1;case "bold":return 1.75;case "bolder":return 2.25;case "lighter":return 0.75;default:return 1}};d.jqplot.CanvasTextRenderer.prototype.getText=
function(){return this.text};d.jqplot.CanvasTextRenderer.prototype.setText=function(j,l){this.text=j;this.setWidth(l);return this};d.jqplot.CanvasTextRenderer.prototype.getWidth=function(){return this.width};d.jqplot.CanvasTextRenderer.prototype.setWidth=function(j,l){this.width=l?l:this.measure(j,this.text);return this};d.jqplot.CanvasTextRenderer.prototype.getHeight=function(){return this.height};d.jqplot.CanvasTextRenderer.prototype.setHeight=function(j){this.height=j?j:this.normalizedFontSize*
this.pt2px;return this};d.jqplot.CanvasTextRenderer.prototype.letter=function(j){return this.letters[j]};d.jqplot.CanvasTextRenderer.prototype.ascent=function(){return this.normalizedFontSize};d.jqplot.CanvasTextRenderer.prototype.descent=function(){return 7*this.normalizedFontSize/25};d.jqplot.CanvasTextRenderer.prototype.measure=function(j,l){j=0;var x=l.length;for(i=0;i<x;i++){var r=this.letter(l.charAt(i));if(r)j+=r.width*this.normalizedFontSize/25*this.fontStretch}return j};d.jqplot.CanvasTextRenderer.prototype.draw=
function(j,l){var x=0,r=this.height*0.72,B=l.length,z=this.normalizedFontSize/25;j.save();var v,D;if(-Math.PI/2<=this.angle&&this.angle<=0||Math.PI*3/2<=this.angle&&this.angle<=Math.PI*2){v=0;D=-Math.sin(this.angle)*this.width}else if(0<this.angle&&this.angle<=Math.PI/2||-Math.PI*2<=this.angle&&this.angle<=-Math.PI*3/2){v=Math.sin(this.angle)*this.height;D=0}else if(-Math.PI<this.angle&&this.angle<-Math.PI/2||Math.PI<=this.angle&&this.angle<=Math.PI*3/2){v=-Math.cos(this.angle)*this.width;D=-Math.sin(this.angle)*
this.width-Math.cos(this.angle)*this.height}else if(-Math.PI*3/2<this.angle&&this.angle<Math.PI||Math.PI/2<this.angle&&this.angle<Math.PI){v=Math.sin(this.angle)*this.height-Math.cos(this.angle)*this.width;D=-Math.cos(this.angle)*this.height}j.strokeStyle=this.fillStyle;j.fillStyle=this.fillStyle;j.translate(v,D);j.rotate(this.angle);j.lineCap="round";j.lineWidth=(this.normalizedFontSize>30?2:2+(30-this.normalizedFontSize)/20)*z*this.fontWeight2Float(this.fontWeight);for(v=0;v<B;v++)if(D=this.letter(l.charAt(v))){j.beginPath();
for(var E=1,A=0;A<D.points.length;A++){var w=D.points[A];if(w[0]==-1&&w[1]==-1)E=1;else if(E){j.moveTo(x+w[0]*z*this.fontStretch,r-w[1]*z);E=false}else j.lineTo(x+w[0]*z*this.fontStretch,r-w[1]*z)}j.stroke();x+=D.width*z*this.fontStretch}j.restore();return 0};d.jqplot.CanvasTextRenderer.prototype.letters={" ":{width:16,points:[]},"!":{width:10,points:[[5,21],[5,7],[-1,-1],[5,2],[4,1],[5,0],[6,1],[5,2]]},'"':{width:16,points:[[4,21],[4,14],[-1,-1],[12,21],[12,14]]},"#":{width:21,points:[[11,25],[4,
-7],[-1,-1],[17,25],[10,-7],[-1,-1],[4,12],[18,12],[-1,-1],[3,6],[17,6]]},$:{width:20,points:[[8,25],[8,-4],[-1,-1],[12,25],[12,-4],[-1,-1],[17,18],[15,20],[12,21],[8,21],[5,20],[3,18],[3,16],[4,14],[5,13],[7,12],[13,10],[15,9],[16,8],[17,6],[17,3],[15,1],[12,0],[8,0],[5,1],[3,3]]},"%":{width:24,points:[[21,21],[3,0],[-1,-1],[8,21],[10,19],[10,17],[9,15],[7,14],[5,14],[3,16],[3,18],[4,20],[6,21],[8,21],[10,20],[13,19],[16,19],[19,20],[21,21],[-1,-1],[17,7],[15,6],[14,4],[14,2],[16,0],[18,0],[20,1],
[21,3],[21,5],[19,7],[17,7]]},"&":{width:26,points:[[23,12],[23,13],[22,14],[21,14],[20,13],[19,11],[17,6],[15,3],[13,1],[11,0],[7,0],[5,1],[4,2],[3,4],[3,6],[4,8],[5,9],[12,13],[13,14],[14,16],[14,18],[13,20],[11,21],[9,20],[8,18],[8,16],[9,13],[11,10],[16,3],[18,1],[20,0],[22,0],[23,1],[23,2]]},"'":{width:10,points:[[5,19],[4,20],[5,21],[6,20],[6,18],[5,16],[4,15]]},"(":{width:14,points:[[11,25],[9,23],[7,20],[5,16],[4,11],[4,7],[5,2],[7,-2],[9,-5],[11,-7]]},")":{width:14,points:[[3,25],[5,23],
[7,20],[9,16],[10,11],[10,7],[9,2],[7,-2],[5,-5],[3,-7]]},"*":{width:16,points:[[8,21],[8,9],[-1,-1],[3,18],[13,12],[-1,-1],[13,18],[3,12]]},"+":{width:26,points:[[13,18],[13,0],[-1,-1],[4,9],[22,9]]},",":{width:10,points:[[6,1],[5,0],[4,1],[5,2],[6,1],[6,-1],[5,-3],[4,-4]]},"-":{width:18,points:[[6,9],[12,9]]},".":{width:10,points:[[5,2],[4,1],[5,0],[6,1],[5,2]]},"/":{width:22,points:[[20,25],[2,-7]]},"0":{width:20,points:[[9,21],[6,20],[4,17],[3,12],[3,9],[4,4],[6,1],[9,0],[11,0],[14,1],[16,4],
[17,9],[17,12],[16,17],[14,20],[11,21],[9,21]]},"1":{width:20,points:[[6,17],[8,18],[11,21],[11,0]]},"2":{width:20,points:[[4,16],[4,17],[5,19],[6,20],[8,21],[12,21],[14,20],[15,19],[16,17],[16,15],[15,13],[13,10],[3,0],[17,0]]},"3":{width:20,points:[[5,21],[16,21],[10,13],[13,13],[15,12],[16,11],[17,8],[17,6],[16,3],[14,1],[11,0],[8,0],[5,1],[4,2],[3,4]]},"4":{width:20,points:[[13,21],[3,7],[18,7],[-1,-1],[13,21],[13,0]]},"5":{width:20,points:[[15,21],[5,21],[4,12],[5,13],[8,14],[11,14],[14,13],
[16,11],[17,8],[17,6],[16,3],[14,1],[11,0],[8,0],[5,1],[4,2],[3,4]]},"6":{width:20,points:[[16,18],[15,20],[12,21],[10,21],[7,20],[5,17],[4,12],[4,7],[5,3],[7,1],[10,0],[11,0],[14,1],[16,3],[17,6],[17,7],[16,10],[14,12],[11,13],[10,13],[7,12],[5,10],[4,7]]},"7":{width:20,points:[[17,21],[7,0],[-1,-1],[3,21],[17,21]]},"8":{width:20,points:[[8,21],[5,20],[4,18],[4,16],[5,14],[7,13],[11,12],[14,11],[16,9],[17,7],[17,4],[16,2],[15,1],[12,0],[8,0],[5,1],[4,2],[3,4],[3,7],[4,9],[6,11],[9,12],[13,13],[15,
14],[16,16],[16,18],[15,20],[12,21],[8,21]]},"9":{width:20,points:[[16,14],[15,11],[13,9],[10,8],[9,8],[6,9],[4,11],[3,14],[3,15],[4,18],[6,20],[9,21],[10,21],[13,20],[15,18],[16,14],[16,9],[15,4],[13,1],[10,0],[8,0],[5,1],[4,3]]},":":{width:10,points:[[5,14],[4,13],[5,12],[6,13],[5,14],[-1,-1],[5,2],[4,1],[5,0],[6,1],[5,2]]},";":{width:10,points:[[5,14],[4,13],[5,12],[6,13],[5,14],[-1,-1],[6,1],[5,0],[4,1],[5,2],[6,1],[6,-1],[5,-3],[4,-4]]},"<":{width:24,points:[[20,18],[4,9],[20,0]]},"=":{width:26,
points:[[4,12],[22,12],[-1,-1],[4,6],[22,6]]},">":{width:24,points:[[4,18],[20,9],[4,0]]},"?":{width:18,points:[[3,16],[3,17],[4,19],[5,20],[7,21],[11,21],[13,20],[14,19],[15,17],[15,15],[14,13],[13,12],[9,10],[9,7],[-1,-1],[9,2],[8,1],[9,0],[10,1],[9,2]]},"@":{width:27,points:[[18,13],[17,15],[15,16],[12,16],[10,15],[9,14],[8,11],[8,8],[9,6],[11,5],[14,5],[16,6],[17,8],[-1,-1],[12,16],[10,14],[9,11],[9,8],[10,6],[11,5],[-1,-1],[18,16],[17,8],[17,6],[19,5],[21,5],[23,7],[24,10],[24,12],[23,15],[22,
17],[20,19],[18,20],[15,21],[12,21],[9,20],[7,19],[5,17],[4,15],[3,12],[3,9],[4,6],[5,4],[7,2],[9,1],[12,0],[15,0],[18,1],[20,2],[21,3],[-1,-1],[19,16],[18,8],[18,6],[19,5]]},A:{width:18,points:[[9,21],[1,0],[-1,-1],[9,21],[17,0],[-1,-1],[4,7],[14,7]]},B:{width:21,points:[[4,21],[4,0],[-1,-1],[4,21],[13,21],[16,20],[17,19],[18,17],[18,15],[17,13],[16,12],[13,11],[-1,-1],[4,11],[13,11],[16,10],[17,9],[18,7],[18,4],[17,2],[16,1],[13,0],[4,0]]},C:{width:21,points:[[18,16],[17,18],[15,20],[13,21],[9,
21],[7,20],[5,18],[4,16],[3,13],[3,8],[4,5],[5,3],[7,1],[9,0],[13,0],[15,1],[17,3],[18,5]]},D:{width:21,points:[[4,21],[4,0],[-1,-1],[4,21],[11,21],[14,20],[16,18],[17,16],[18,13],[18,8],[17,5],[16,3],[14,1],[11,0],[4,0]]},E:{width:19,points:[[4,21],[4,0],[-1,-1],[4,21],[17,21],[-1,-1],[4,11],[12,11],[-1,-1],[4,0],[17,0]]},F:{width:18,points:[[4,21],[4,0],[-1,-1],[4,21],[17,21],[-1,-1],[4,11],[12,11]]},G:{width:21,points:[[18,16],[17,18],[15,20],[13,21],[9,21],[7,20],[5,18],[4,16],[3,13],[3,8],[4,
5],[5,3],[7,1],[9,0],[13,0],[15,1],[17,3],[18,5],[18,8],[-1,-1],[13,8],[18,8]]},H:{width:22,points:[[4,21],[4,0],[-1,-1],[18,21],[18,0],[-1,-1],[4,11],[18,11]]},I:{width:8,points:[[4,21],[4,0]]},J:{width:16,points:[[12,21],[12,5],[11,2],[10,1],[8,0],[6,0],[4,1],[3,2],[2,5],[2,7]]},K:{width:21,points:[[4,21],[4,0],[-1,-1],[18,21],[4,7],[-1,-1],[9,12],[18,0]]},L:{width:17,points:[[4,21],[4,0],[-1,-1],[4,0],[16,0]]},M:{width:24,points:[[4,21],[4,0],[-1,-1],[4,21],[12,0],[-1,-1],[20,21],[12,0],[-1,-1],
[20,21],[20,0]]},N:{width:22,points:[[4,21],[4,0],[-1,-1],[4,21],[18,0],[-1,-1],[18,21],[18,0]]},O:{width:22,points:[[9,21],[7,20],[5,18],[4,16],[3,13],[3,8],[4,5],[5,3],[7,1],[9,0],[13,0],[15,1],[17,3],[18,5],[19,8],[19,13],[18,16],[17,18],[15,20],[13,21],[9,21]]},P:{width:21,points:[[4,21],[4,0],[-1,-1],[4,21],[13,21],[16,20],[17,19],[18,17],[18,14],[17,12],[16,11],[13,10],[4,10]]},Q:{width:22,points:[[9,21],[7,20],[5,18],[4,16],[3,13],[3,8],[4,5],[5,3],[7,1],[9,0],[13,0],[15,1],[17,3],[18,5],[19,
8],[19,13],[18,16],[17,18],[15,20],[13,21],[9,21],[-1,-1],[12,4],[18,-2]]},R:{width:21,points:[[4,21],[4,0],[-1,-1],[4,21],[13,21],[16,20],[17,19],[18,17],[18,15],[17,13],[16,12],[13,11],[4,11],[-1,-1],[11,11],[18,0]]},S:{width:20,points:[[17,18],[15,20],[12,21],[8,21],[5,20],[3,18],[3,16],[4,14],[5,13],[7,12],[13,10],[15,9],[16,8],[17,6],[17,3],[15,1],[12,0],[8,0],[5,1],[3,3]]},T:{width:16,points:[[8,21],[8,0],[-1,-1],[1,21],[15,21]]},U:{width:22,points:[[4,21],[4,6],[5,3],[7,1],[10,0],[12,0],[15,
1],[17,3],[18,6],[18,21]]},V:{width:18,points:[[1,21],[9,0],[-1,-1],[17,21],[9,0]]},W:{width:24,points:[[2,21],[7,0],[-1,-1],[12,21],[7,0],[-1,-1],[12,21],[17,0],[-1,-1],[22,21],[17,0]]},X:{width:20,points:[[3,21],[17,0],[-1,-1],[17,21],[3,0]]},Y:{width:18,points:[[1,21],[9,11],[9,0],[-1,-1],[17,21],[9,11]]},Z:{width:20,points:[[17,21],[3,0],[-1,-1],[3,21],[17,21],[-1,-1],[3,0],[17,0]]},"[":{width:14,points:[[4,25],[4,-7],[-1,-1],[5,25],[5,-7],[-1,-1],[4,25],[11,25],[-1,-1],[4,-7],[11,-7]]},"\\":{width:14,
points:[[0,21],[14,-3]]},"]":{width:14,points:[[9,25],[9,-7],[-1,-1],[10,25],[10,-7],[-1,-1],[3,25],[10,25],[-1,-1],[3,-7],[10,-7]]},"^":{width:16,points:[[6,15],[8,18],[10,15],[-1,-1],[3,12],[8,17],[13,12],[-1,-1],[8,17],[8,0]]},_:{width:16,points:[[0,-2],[16,-2]]},"`":{width:10,points:[[6,21],[5,20],[4,18],[4,16],[5,15],[6,16],[5,17]]},a:{width:19,points:[[15,14],[15,0],[-1,-1],[15,11],[13,13],[11,14],[8,14],[6,13],[4,11],[3,8],[3,6],[4,3],[6,1],[8,0],[11,0],[13,1],[15,3]]},b:{width:19,points:[[4,
21],[4,0],[-1,-1],[4,11],[6,13],[8,14],[11,14],[13,13],[15,11],[16,8],[16,6],[15,3],[13,1],[11,0],[8,0],[6,1],[4,3]]},c:{width:18,points:[[15,11],[13,13],[11,14],[8,14],[6,13],[4,11],[3,8],[3,6],[4,3],[6,1],[8,0],[11,0],[13,1],[15,3]]},d:{width:19,points:[[15,21],[15,0],[-1,-1],[15,11],[13,13],[11,14],[8,14],[6,13],[4,11],[3,8],[3,6],[4,3],[6,1],[8,0],[11,0],[13,1],[15,3]]},e:{width:18,points:[[3,8],[15,8],[15,10],[14,12],[13,13],[11,14],[8,14],[6,13],[4,11],[3,8],[3,6],[4,3],[6,1],[8,0],[11,0],[13,
1],[15,3]]},f:{width:12,points:[[10,21],[8,21],[6,20],[5,17],[5,0],[-1,-1],[2,14],[9,14]]},g:{width:19,points:[[15,14],[15,-2],[14,-5],[13,-6],[11,-7],[8,-7],[6,-6],[-1,-1],[15,11],[13,13],[11,14],[8,14],[6,13],[4,11],[3,8],[3,6],[4,3],[6,1],[8,0],[11,0],[13,1],[15,3]]},h:{width:19,points:[[4,21],[4,0],[-1,-1],[4,10],[7,13],[9,14],[12,14],[14,13],[15,10],[15,0]]},i:{width:8,points:[[3,21],[4,20],[5,21],[4,22],[3,21],[-1,-1],[4,14],[4,0]]},j:{width:10,points:[[5,21],[6,20],[7,21],[6,22],[5,21],[-1,
-1],[6,14],[6,-3],[5,-6],[3,-7],[1,-7]]},k:{width:17,points:[[4,21],[4,0],[-1,-1],[14,14],[4,4],[-1,-1],[8,8],[15,0]]},l:{width:8,points:[[4,21],[4,0]]},m:{width:30,points:[[4,14],[4,0],[-1,-1],[4,10],[7,13],[9,14],[12,14],[14,13],[15,10],[15,0],[-1,-1],[15,10],[18,13],[20,14],[23,14],[25,13],[26,10],[26,0]]},n:{width:19,points:[[4,14],[4,0],[-1,-1],[4,10],[7,13],[9,14],[12,14],[14,13],[15,10],[15,0]]},o:{width:19,points:[[8,14],[6,13],[4,11],[3,8],[3,6],[4,3],[6,1],[8,0],[11,0],[13,1],[15,3],[16,
6],[16,8],[15,11],[13,13],[11,14],[8,14]]},p:{width:19,points:[[4,14],[4,-7],[-1,-1],[4,11],[6,13],[8,14],[11,14],[13,13],[15,11],[16,8],[16,6],[15,3],[13,1],[11,0],[8,0],[6,1],[4,3]]},q:{width:19,points:[[15,14],[15,-7],[-1,-1],[15,11],[13,13],[11,14],[8,14],[6,13],[4,11],[3,8],[3,6],[4,3],[6,1],[8,0],[11,0],[13,1],[15,3]]},r:{width:13,points:[[4,14],[4,0],[-1,-1],[4,8],[5,11],[7,13],[9,14],[12,14]]},s:{width:17,points:[[14,11],[13,13],[10,14],[7,14],[4,13],[3,11],[4,9],[6,8],[11,7],[13,6],[14,4],
[14,3],[13,1],[10,0],[7,0],[4,1],[3,3]]},t:{width:12,points:[[5,21],[5,4],[6,1],[8,0],[10,0],[-1,-1],[2,14],[9,14]]},u:{width:19,points:[[4,14],[4,4],[5,1],[7,0],[10,0],[12,1],[15,4],[-1,-1],[15,14],[15,0]]},v:{width:16,points:[[2,14],[8,0],[-1,-1],[14,14],[8,0]]},w:{width:22,points:[[3,14],[7,0],[-1,-1],[11,14],[7,0],[-1,-1],[11,14],[15,0],[-1,-1],[19,14],[15,0]]},x:{width:17,points:[[3,14],[14,0],[-1,-1],[14,14],[3,0]]},y:{width:16,points:[[2,14],[8,0],[-1,-1],[14,14],[8,0],[6,-4],[4,-6],[2,-7],
[1,-7]]},z:{width:17,points:[[14,14],[3,0],[-1,-1],[3,14],[14,14],[-1,-1],[3,0],[14,0]]},"{":{width:14,points:[[9,25],[7,24],[6,23],[5,21],[5,19],[6,17],[7,16],[8,14],[8,12],[6,10],[-1,-1],[7,24],[6,22],[6,20],[7,18],[8,17],[9,15],[9,13],[8,11],[4,9],[8,7],[9,5],[9,3],[8,1],[7,0],[6,-2],[6,-4],[7,-6],[-1,-1],[6,8],[8,6],[8,4],[7,2],[6,1],[5,-1],[5,-3],[6,-5],[7,-6],[9,-7]]},"|":{width:8,points:[[4,25],[4,-7]]},"}":{width:14,points:[[5,25],[7,24],[8,23],[9,21],[9,19],[8,17],[7,16],[6,14],[6,12],[8,
10],[-1,-1],[7,24],[8,22],[8,20],[7,18],[6,17],[5,15],[5,13],[6,11],[10,9],[6,7],[5,5],[5,3],[6,1],[7,0],[8,-2],[8,-4],[7,-6],[-1,-1],[8,8],[6,6],[6,4],[7,2],[8,1],[9,-1],[9,-3],[8,-5],[7,-6],[5,-7]]},"~":{width:24,points:[[3,6],[3,8],[4,11],[6,12],[8,12],[10,11],[14,8],[16,7],[18,7],[20,8],[21,10],[-1,-1],[3,8],[4,10],[6,11],[8,11],[10,10],[14,7],[16,6],[18,6],[20,7],[21,10],[21,12]]}};d.jqplot.CanvasFontRenderer=function(j){j=j||{};if(!j.pt2px)j.pt2px=1.5;d.jqplot.CanvasTextRenderer.call(this,j)};
d.jqplot.CanvasFontRenderer.prototype=new d.jqplot.CanvasTextRenderer({});d.jqplot.CanvasFontRenderer.prototype.constructor=d.jqplot.CanvasFontRenderer;d.jqplot.CanvasFontRenderer.prototype.measure=function(j,l){var x=this.fontSize+" "+this.fontFamily;j.save();j.font=x;l=j.measureText(l).width;j.restore();return l};d.jqplot.CanvasFontRenderer.prototype.draw=function(j,l){var x=this.height*0.72;j.save();var r,B;if(-Math.PI/2<=this.angle&&this.angle<=0||Math.PI*3/2<=this.angle&&this.angle<=Math.PI*
2){r=0;B=-Math.sin(this.angle)*this.width}else if(0<this.angle&&this.angle<=Math.PI/2||-Math.PI*2<=this.angle&&this.angle<=-Math.PI*3/2){r=Math.sin(this.angle)*this.height;B=0}else if(-Math.PI<this.angle&&this.angle<-Math.PI/2||Math.PI<=this.angle&&this.angle<=Math.PI*3/2){r=-Math.cos(this.angle)*this.width;B=-Math.sin(this.angle)*this.width-Math.cos(this.angle)*this.height}else if(-Math.PI*3/2<this.angle&&this.angle<Math.PI||Math.PI/2<this.angle&&this.angle<Math.PI){r=Math.sin(this.angle)*this.height-
Math.cos(this.angle)*this.width;B=-Math.cos(this.angle)*this.height}j.strokeStyle=this.fillStyle;j.fillStyle=this.fillStyle;j.font=this.fontSize+" "+this.fontFamily;j.translate(r,B);j.rotate(this.angle);j.fillText(l,0,x);j.restore()}})(jQuery);
(function(d){d.jqplot.CanvasAxisLabelRenderer=function(j){this.angle=0;this.showLabel=this.show=true;this.label="";this.fontFamily='"Trebuchet MS", Arial, Helvetica, sans-serif';this.fontSize="11pt";this.fontWeight="normal";this.fontStretch=1;this.textColor="#666666";this.enableFontSupport=false;this.pt2px=null;this._plotDimensions={height:null,width:null};d.extend(true,this,j);if(j.angle==null&&this.axis!="xaxis"&&this.axis!="x2axis")this.angle=-90;j={fontSize:this.fontSize,fontWeight:this.fontWeight,
fontStretch:this.fontStretch,fillStyle:this.textColor,angle:this.getAngleRad(),fontFamily:this.fontFamily};if(this.pt2px)j.pt2px=this.pt2px;if(this.enableFontSupport)if(d.browser.safari){for(var l=d.browser.version.split("."),x=0;x<l.length;x++)l[x]=Number(l[x]);if(l[0]>528||l[0]==528&&l[1]>=16)this._textRenderer=new d.jqplot.CanvasFontRenderer(j)}else if(d.browser.mozilla){l=d.browser.version.split(".");this._textRenderer=l[0]>1||l[0]==1&&l[1]>=9&&l[2]>0?new d.jqplot.CanvasFontRenderer(j):new d.jqplot.CanvasTextRenderer(j)}else this._textRenderer=
new d.jqplot.CanvasTextRenderer(j);else this._textRenderer=new d.jqplot.CanvasTextRenderer(j)};d.jqplot.CanvasAxisLabelRenderer.prototype.init=function(j){d.extend(true,this,j);this._textRenderer.init({fontSize:this.fontSize,fontWeight:this.fontWeight,fontStretch:this.fontStretch,fillStyle:this.textColor,angle:this.getAngleRad(),fontFamily:this.fontFamily})};d.jqplot.CanvasAxisLabelRenderer.prototype.getWidth=function(j){if(this._elem)return this._elem.outerWidth(true);else{var l=this._textRenderer,
x=l.getWidth(j);j=l.getHeight(j);return Math.abs(Math.sin(l.angle)*j)+Math.abs(Math.cos(l.angle)*x)}};d.jqplot.CanvasAxisLabelRenderer.prototype.getHeight=function(j){if(this._elem)return this._elem.outerHeight(true);else{var l=this._textRenderer,x=l.getWidth(j);j=l.getHeight(j);return Math.abs(Math.cos(l.angle)*j)+Math.abs(Math.sin(l.angle)*x)}};d.jqplot.CanvasAxisLabelRenderer.prototype.getAngleRad=function(){return this.angle*Math.PI/180};d.jqplot.CanvasAxisLabelRenderer.prototype.draw=function(j){var l=
document.createElement("canvas");this._textRenderer.setText(this.label,j);var x=this.getWidth(j);j=this.getHeight(j);l.width=x;l.height=j;l.style.width=x;l.style.height=j;l.style.position="absolute";this._domelem=l;this._elem=d(l);this._elem.addClass("jqplot-"+this.axis+"-label");return this._elem};d.jqplot.CanvasAxisLabelRenderer.prototype.pack=function(){if(d.browser.msie){window.G_vmlCanvasManager.init_(document);this._domelem=window.G_vmlCanvasManager.initElement(this._domelem)}this._textRenderer.draw(this._elem.get(0).getContext("2d"),
this.label)}})(jQuery);
(function(d){d.jqplot.DateAxisRenderer=function(){d.jqplot.LinearAxisRenderer.call(this)};d.jqplot.DateAxisRenderer.prototype=new d.jqplot.LinearAxisRenderer;d.jqplot.DateAxisRenderer.prototype.constructor=d.jqplot.DateAxisRenderer;d.jqplot.DateTickFormatter=function(j,l){j||(j="%Y/%m/%d");return Date.create(l).strftime(j)};d.jqplot.DateAxisRenderer.prototype.init=function(j){this.tickOptions.formatter=d.jqplot.DateTickFormatter;this._daTickInterval=this.daTickInterval=null;d.extend(true,this,j);
j=this._dataBounds;for(var l=0;l<this._series.length;l++){var x=this._series[l],r=x.data,B=x._plotData;x=x._stackData;for(var z=0;z<r.length;z++)if(this.name=="xaxis"||this.name=="x2axis"){r[z][0]=Date.create(r[z][0]).getTime();B[z][0]=Date.create(r[z][0]).getTime();x[z][0]=Date.create(r[z][0]).getTime();if(r[z][0]<j.min||j.min==null)j.min=r[z][0];if(r[z][0]>j.max||j.max==null)j.max=r[z][0]}else{r[z][1]=Date.create(r[z][1]).getTime();B[z][1]=Date.create(r[z][1]).getTime();x[z][1]=Date.create(r[z][1]).getTime();
if(r[z][1]<j.min||j.min==null)j.min=r[z][1];if(r[z][1]>j.max||j.max==null)j.max=r[z][1]}}};d.jqplot.DateAxisRenderer.prototype.reset=function(){this.min=this._min;this.max=this._max;this.tickInterval=this._tickInterval;this.numberTicks=this._numberTicks;this.daTickInterval=this._daTickInterval};d.jqplot.DateAxisRenderer.prototype.createTicks=function(){var j=this.ticks,l=this.name,x=this._dataBounds,r;if(j.length){for(x=0;x<j.length;x++){r=j[x];l=new this.tickRenderer(this.tickOptions);if(r.constructor==
Array){l.value=Date.create(r[0]).getTime();l.label=r[1]}else l.value=Date.create(r).getTime();if(this.showTicks){if(!this.showTickMarks)l.showMark=false}else{l.showLabel=false;l.showMark=false}l.setTick(l.value,this.name);this._ticks.push(l)}this.numberTicks=j.length;this.min=this._ticks[0].value;this.max=this._ticks[this.numberTicks-1].value;this.daTickInterval=[(this.max-this.min)/(this.numberTicks-1)/1E3,"seconds"]}else{j=l=="xaxis"||l=="x2axis"?this._plotDimensions.width:this._plotDimensions.height;
if(this.min!=null&&this.max!=null&&this.numberTicks!=null)this.tickInterval=null;if(this.tickInterval!=null)if(Number(this.tickInterval))this.daTickInterval=[Number(this.tickInterval),"seconds"];else if(typeof this.tickInterval=="string"){l=this.tickInterval.split(" ");if(l.length==1)this.daTickInterval=[1,l[0]];else if(l.length==2)this.daTickInterval=[l[0],l[1]]}l=this.min!=null?Date.create(this.min).getTime():x.min;r=this.max!=null?Date.create(this.max).getTime():x.max;if(l==r){l-=432E5;r+=432E5}x=
r-l;l=this.min!=null?Date.create(this.min).getTime():l-x/2*(this.padMin-1);x=this.max!=null?Date.create(this.max).getTime():r+x/2*(this.padMax-1);this.min=l;this.max=x;x=this.max-this.min;if(this.numberTicks==null)if(this.daTickInterval!=null){j=Date.create(this.max).diff(this.min,this.daTickInterval[1],true);this.numberTicks=Math.ceil(j/this.daTickInterval[0])+1;this.max=Date.create(this.min).add((this.numberTicks-1)*this.daTickInterval[0],this.daTickInterval[1]).getTime()}else this.numberTicks=
j>200?parseInt(3+(j-200)/100,10):2;if(this.daTickInterval==null)this.daTickInterval=[x/(this.numberTicks-1)/1E3,"seconds"];for(x=0;x<this.numberTicks;x++){l=Date.create(this.min);j=l.add(x*this.daTickInterval[0],this.daTickInterval[1]).getTime();l=new this.tickRenderer(this.tickOptions);if(this.showTicks){if(!this.showTickMarks)l.showMark=false}else{l.showLabel=false;l.showMark=false}l.setTick(j,this.name);this._ticks.push(l)}}if(this._daTickInterval==null)this._daTickInterval=this.daTickInterval}})(jQuery);
(function(d){d.jqplot.sparseLineRenderer=function(){d.jqplot.LineRenderer.call(this)};d.jqplot.sparseLineRenderer.prototype=new d.jqplot.LineRenderer;d.jqplot.sparseLineRenderer.prototype.constructor=d.jqplot.sparseLineRenderer;d.jqplot.sparseLineRenderer.prototype.init=function(j){this.stepSize=3600;d.extend(true,this,j);this.renderer.shapeRenderer.init({lineJoin:"miter",lineCap:"round",fill:false,isarc:false,strokeStyle:this.color,lineWidth:this.lineWidth})};d.jqplot.sparseLineRenderer.prototype.draw=
function(j,l,x){var r;x=x!=undefined?x:{};var B=x.showLine!=undefined?x.showLine:this.showLine,z=this._xaxis._plotWidth*1E3/(this._xaxis._max-this._xaxis._min);z=this.stepSize*z;if(l.length){if(B)if(l.length>1){B=[];for(var v=r=0;r<l.length-1;){for(;v<l.length-1&&l[v+1][0]-l[v][0]<=z;)++v;for(r=r;r<v+1;r++)B.push([l[r][0],l[r][1]]);this.renderer.shapeRenderer.draw(j,B,x);B=[];v=r=v+1}}if(this.markerRenderer.show)for(r=0;r<l.length;r++)this.markerRenderer.draw(l[r][0],l[r][1],j,x.markerOptions)}}})(jQuery);
(function(d){var j,l,x,r;d.extend({pnotify_remove_all:function(){var A=x.data("pnotify");A&&A.length&&d.each(A,function(){this.pnotify_remove&&this.pnotify_remove()})},pnotify_position_all:function(){l&&clearTimeout(l);l=null;var A=x.data("pnotify");if(A&&A.length){d.each(A,function(){var w=this.opts.pnotify_stack;if(w){if(!w.nextpos1)w.nextpos1=w.firstpos1;if(!w.nextpos2)w.nextpos2=w.firstpos2;if(!w.addpos2)w.addpos2=0;if(this.css("display")!="none"){var o,c,a={},e;switch(w.dir1){case "down":e="top";
break;case "up":e="bottom";break;case "left":e="right";break;case "right":e="left";break}o=parseInt(this.css(e));if(isNaN(o))o=0;if(typeof w.firstpos1=="undefined"){w.firstpos1=o;w.nextpos1=w.firstpos1}var b;switch(w.dir2){case "down":b="top";break;case "up":b="bottom";break;case "left":b="right";break;case "right":b="left";break}c=parseInt(this.css(b));if(isNaN(c))c=0;if(typeof w.firstpos2=="undefined"){w.firstpos2=c;w.nextpos2=w.firstpos2}if(w.dir1=="down"&&w.nextpos1+this.height()>r.height()||
w.dir1=="up"&&w.nextpos1+this.height()>r.height()||w.dir1=="left"&&w.nextpos1+this.width()>r.width()||w.dir1=="right"&&w.nextpos1+this.width()>r.width()){w.nextpos1=w.firstpos1;w.nextpos2+=w.addpos2+10;w.addpos2=0}if(w.animation&&w.nextpos2<c)switch(w.dir2){case "down":a.top=w.nextpos2+"px";break;case "up":a.bottom=w.nextpos2+"px";break;case "left":a.right=w.nextpos2+"px";break;case "right":a.left=w.nextpos2+"px";break}else this.css(b,w.nextpos2+"px");switch(w.dir2){case "down":case "up":if(this.outerHeight(true)>
w.addpos2)w.addpos2=this.height();break;case "left":case "right":if(this.outerWidth(true)>w.addpos2)w.addpos2=this.width();break}if(w.nextpos1)if(w.animation&&(o>w.nextpos1||a.top||a.bottom||a.right||a.left))switch(w.dir1){case "down":a.top=w.nextpos1+"px";break;case "up":a.bottom=w.nextpos1+"px";break;case "left":a.right=w.nextpos1+"px";break;case "right":a.left=w.nextpos1+"px";break}else this.css(e,w.nextpos1+"px");if(a.top||a.bottom||a.right||a.left)this.animate(a,{duration:500,queue:false});switch(w.dir1){case "down":case "up":w.nextpos1+=
this.height()+10;break;case "left":case "right":w.nextpos1+=this.width()+10;break}}}});d.each(A,function(){var w=this.opts.pnotify_stack;if(w){w.nextpos1=w.firstpos1;w.nextpos2=w.firstpos2;w.addpos2=0;w.animation=true}})}},pnotify:function(A){x||(x=d("body"));r||(r=d(window));var w,o;if(typeof A!="object"){o=d.extend({},d.pnotify.defaults);o.pnotify_text=A}else o=d.extend({},d.pnotify.defaults,A);if(o.pnotify_before_init)if(o.pnotify_before_init(o)===false)return null;var c,a=function(g,h){e.css("display",
"none");var k=document.elementFromPoint(g.clientX,g.clientY);e.css("display","block");var q=d(k),u=q.css("cursor");e.css("cursor",u!="auto"?u:"default");if(!c||c.get(0)!=k){if(c){E.call(c.get(0),"mouseleave",g.originalEvent);E.call(c.get(0),"mouseout",g.originalEvent)}E.call(k,"mouseenter",g.originalEvent);E.call(k,"mouseover",g.originalEvent)}E.call(k,h,g.originalEvent);c=q},e=d("<div />",{"class":"ui-pnotify "+o.pnotify_addclass,css:{display:"none"},mouseenter:function(g){o.pnotify_nonblock&&g.stopPropagation();
if(o.pnotify_mouse_reset&&w=="out"){e.stop(true);e.css("height","auto").animate({width:o.pnotify_width,opacity:o.pnotify_nonblock?o.pnotify_nonblock_opacity:o.pnotify_opacity},"fast")}else o.pnotify_nonblock&&w!="out"&&e.animate({opacity:o.pnotify_nonblock_opacity},"fast");o.pnotify_hide&&o.pnotify_mouse_reset&&e.pnotify_cancel_remove();o.pnotify_closer&&!o.pnotify_nonblock&&e.closer.show()},mouseleave:function(g){o.pnotify_nonblock&&g.stopPropagation();c=null;e.css("cursor","auto");o.pnotify_nonblock&&
w!="out"&&e.animate({opacity:o.pnotify_opacity},"fast");o.pnotify_hide&&o.pnotify_mouse_reset&&e.pnotify_queue_remove();e.closer.hide();d.pnotify_position_all()},mouseover:function(g){o.pnotify_nonblock&&g.stopPropagation()},mouseout:function(g){o.pnotify_nonblock&&g.stopPropagation()},mousemove:function(g){if(o.pnotify_nonblock){g.stopPropagation();a(g,"onmousemove")}},mousedown:function(g){if(o.pnotify_nonblock){g.stopPropagation();g.preventDefault();a(g,"onmousedown")}},mouseup:function(g){if(o.pnotify_nonblock){g.stopPropagation();
g.preventDefault();a(g,"onmouseup")}},click:function(g){if(o.pnotify_nonblock){g.stopPropagation();a(g,"onclick")}},dblclick:function(g){if(o.pnotify_nonblock){g.stopPropagation();a(g,"ondblclick")}}});e.opts=o;if(o.pnotify_shadow&&!d.browser.msie)e.shadow_container=d("<div />",{"class":"ui-widget-shadow ui-corner-all ui-pnotify-shadow"}).prependTo(e);e.container=d("<div />",{"class":"ui-widget ui-widget-content ui-corner-all ui-pnotify-container "+(o.pnotify_type=="error"?"ui-state-error":"ui-state-highlight")}).appendTo(e);
e.pnotify_version="1.0.0";e.pnotify=function(g){var h=o;if(typeof g=="string")o.pnotify_text=g;else o=d.extend({},o,g);e.opts=o;if(o.pnotify_shadow!=h.pnotify_shadow)if(o.pnotify_shadow&&!d.browser.msie)e.shadow_container=d("<div />",{"class":"ui-widget-shadow ui-pnotify-shadow"}).prependTo(e);else e.children(".ui-pnotify-shadow").remove();if(o.pnotify_addclass===false)e.removeClass(h.pnotify_addclass);else o.pnotify_addclass!==h.pnotify_addclass&&e.removeClass(h.pnotify_addclass).addClass(o.pnotify_addclass);
if(o.pnotify_title===false)e.title_container.hide("fast");else o.pnotify_title!==h.pnotify_title&&e.title_container.html(o.pnotify_title).show(200);if(o.pnotify_text===false)e.text_container.hide("fast");else if(o.pnotify_text!==h.pnotify_text){if(o.pnotify_insert_brs)o.pnotify_text=o.pnotify_text.replace(/\n/g,"<br />");e.text_container.html(o.pnotify_text).show(200)}e.pnotify_history=o.pnotify_history;o.pnotify_type!=h.pnotify_type&&e.container.toggleClass("ui-state-error ui-state-highlight");if(o.pnotify_notice_icon!=
h.pnotify_notice_icon&&o.pnotify_type=="notice"||o.pnotify_error_icon!=h.pnotify_error_icon&&o.pnotify_type=="error"||o.pnotify_type!=h.pnotify_type){e.container.find("div.ui-pnotify-icon").remove();if(o.pnotify_error_icon&&o.pnotify_type=="error"||o.pnotify_notice_icon)d("<div />",{"class":"ui-pnotify-icon"}).append(d("<span />",{"class":o.pnotify_type=="error"?o.pnotify_error_icon:o.pnotify_notice_icon})).prependTo(e.container)}o.pnotify_width!==h.pnotify_width&&e.animate({width:o.pnotify_width});
o.pnotify_min_height!==h.pnotify_min_height&&e.container.animate({minHeight:o.pnotify_min_height});o.pnotify_opacity!==h.pnotify_opacity&&e.fadeTo(o.pnotify_animate_speed,o.pnotify_opacity);if(o.pnotify_hide)h.pnotify_hide||e.pnotify_queue_remove();else e.pnotify_cancel_remove();e.pnotify_queue_position();return e};e.pnotify_queue_position=function(){l&&clearTimeout(l);l=setTimeout(d.pnotify_position_all,10)};e.pnotify_display=function(){e.parent().length||e.appendTo(x);if(o.pnotify_before_open)if(o.pnotify_before_open(e)===
false)return;e.pnotify_queue_position();if(o.pnotify_animation=="fade"||o.pnotify_animation.effect_in=="fade")e.show().fadeTo(0,0).hide();else o.pnotify_opacity!=1&&e.show().fadeTo(0,o.pnotify_opacity).hide();e.animate_in(function(){o.pnotify_after_open&&o.pnotify_after_open(e);e.pnotify_queue_position();o.pnotify_hide&&e.pnotify_queue_remove()})};e.pnotify_remove=function(){if(e.timer){window.clearTimeout(e.timer);e.timer=null}if(o.pnotify_before_close)if(o.pnotify_before_close(e)===false)return;
e.animate_out(function(){if(o.pnotify_after_close)if(o.pnotify_after_close(e)===false)return;e.pnotify_queue_position();o.pnotify_remove&&e.detach()})};e.animate_in=function(g){w="in";var h;h=typeof o.pnotify_animation.effect_in!="undefined"?o.pnotify_animation.effect_in:o.pnotify_animation;if(h=="none"){e.show();g()}else if(h=="show")e.show(o.pnotify_animate_speed,g);else if(h=="fade")e.show().fadeTo(o.pnotify_animate_speed,o.pnotify_opacity,g);else if(h=="slide")e.slideDown(o.pnotify_animate_speed,
g);else if(typeof h=="function")h("in",g,e);else e.effect&&e.effect(h,{},o.pnotify_animate_speed,g)};e.animate_out=function(g){w="out";var h;h=typeof o.pnotify_animation.effect_out!="undefined"?o.pnotify_animation.effect_out:o.pnotify_animation;if(h=="none"){e.hide();g()}else if(h=="show")e.hide(o.pnotify_animate_speed,g);else if(h=="fade")e.fadeOut(o.pnotify_animate_speed,g);else if(h=="slide")e.slideUp(o.pnotify_animate_speed,g);else if(typeof h=="function")h("out",g,e);else e.effect&&e.effect(h,
{},o.pnotify_animate_speed,g)};e.pnotify_cancel_remove=function(){e.timer&&window.clearTimeout(e.timer)};e.pnotify_queue_remove=function(){e.pnotify_cancel_remove();e.timer=window.setTimeout(function(){e.pnotify_remove()},isNaN(o.pnotify_delay)?0:o.pnotify_delay)};e.closer=d("<div />",{"class":"ui-pnotify-closer",css:{cursor:"pointer",display:"none"},click:function(){e.pnotify_remove();e.closer.hide()}}).append(d("<span />",{"class":"ui-icon ui-icon-circle-close"})).appendTo(e.container);if(o.pnotify_error_icon&&
o.pnotify_type=="error"||o.pnotify_notice_icon)d("<div />",{"class":"ui-pnotify-icon"}).append(d("<span />",{"class":o.pnotify_type=="error"?o.pnotify_error_icon:o.pnotify_notice_icon})).appendTo(e.container);e.title_container=d("<div />",{"class":"ui-pnotify-title",html:o.pnotify_title}).appendTo(e.container);o.pnotify_title===false&&e.title_container.hide();if(o.pnotify_insert_brs&&typeof o.pnotify_text=="string")o.pnotify_text=o.pnotify_text.replace(/\n/g,"<br />");e.text_container=d("<div />",
{"class":"ui-pnotify-text",html:o.pnotify_text}).appendTo(e.container);o.pnotify_text===false&&e.text_container.hide();typeof o.pnotify_width=="string"&&e.css("width",o.pnotify_width);typeof o.pnotify_min_height=="string"&&e.container.css("min-height",o.pnotify_min_height);e.pnotify_history=o.pnotify_history;var b=x.data("pnotify");if(b==null||typeof b!="object")b=[];b=o.pnotify_stack.push=="top"?d.merge([e],b):d.merge(b,[e]);x.data("pnotify",b);o.pnotify_after_init&&o.pnotify_after_init(e);if(o.pnotify_history){var f=
x.data("pnotify_history");if(typeof f=="undefined"){f=d("<div />",{"class":"ui-pnotify-history-container ui-state-default ui-corner-bottom",mouseleave:function(){f.animate({top:"-"+j+"px"},{duration:100,queue:false})}}).append(d("<div />",{"class":"ui-pnotify-history-header",text:"Redisplay"})).append(d("<button />",{"class":"ui-pnotify-history-all ui-state-default ui-corner-all",text:"All",mouseenter:function(){d(this).addClass("ui-state-hover")},mouseleave:function(){d(this).removeClass("ui-state-hover")},
click:function(){d.each(b,function(){this.pnotify_history&&this.pnotify_display&&this.pnotify_display()});return false}})).append(d("<button />",{"class":"ui-pnotify-history-last ui-state-default ui-corner-all",text:"Last",mouseenter:function(){d(this).addClass("ui-state-hover")},mouseleave:function(){d(this).removeClass("ui-state-hover")},click:function(){for(var g=1;!b[b.length-g]||!b[b.length-g].pnotify_history||b[b.length-g].is(":visible");){if(b.length-g===0)return false;g++}g=b[b.length-g];
g.pnotify_display&&g.pnotify_display();return false}})).appendTo(x);j=d("<span />",{"class":"ui-pnotify-history-pulldown ui-icon ui-icon-grip-dotted-horizontal",mouseenter:function(){f.animate({top:"0"},{duration:100,queue:false})}}).appendTo(f).offset().top+2;f.css({top:"-"+j+"px"});x.data("pnotify_history",f)}}o.pnotify_stack.animation=false;e.pnotify_display();return e}});var B=/^on/,z=/^(dbl)?click$|^mouse(move|down|up|over|out|enter|leave)$|^contextmenu$/,v=/^(focus|blur|select|change|reset)$|^key(press|down|up)$/,
D=/^(scroll|resize|(un)?load|abort|error)$/,E=function(A,w){var o;A=A.toLowerCase();if(document.createEvent&&this.dispatchEvent){A=A.replace(B,"");if(A.match(z)){d(this).offset();o=document.createEvent("MouseEvents");o.initMouseEvent(A,w.bubbles,w.cancelable,w.view,w.detail,w.screenX,w.screenY,w.clientX,w.clientY,w.ctrlKey,w.altKey,w.shiftKey,w.metaKey,w.button,w.relatedTarget)}else if(A.match(v)){o=document.createEvent("UIEvents");o.initUIEvent(A,w.bubbles,w.cancelable,w.view,w.detail)}else if(A.match(D)){o=
document.createEvent("HTMLEvents");o.initEvent(A,w.bubbles,w.cancelable)}o&&this.dispatchEvent(o)}else{A.match(B)||(A="on"+A);o=document.createEventObject(w);this.fireEvent(A,o)}};d.pnotify.defaults={pnotify_title:false,pnotify_text:false,pnotify_addclass:"",pnotify_nonblock:false,pnotify_nonblock_opacity:0.2,pnotify_history:true,pnotify_width:"300px",pnotify_min_height:"16px",pnotify_type:"notice",pnotify_notice_icon:"ui-icon ui-icon-info",pnotify_error_icon:"ui-icon ui-icon-alert",pnotify_animation:"fade",
pnotify_animate_speed:"slow",pnotify_opacity:1,pnotify_shadow:false,pnotify_closer:true,pnotify_hide:true,pnotify_delay:8E3,pnotify_mouse_reset:true,pnotify_remove:true,pnotify_insert_brs:true,pnotify_stack:{dir1:"down",dir2:"left",push:"bottom"}}})(jQuery);
jQuery.timer=function(d,j){d=d||100;if(!j)return false;_timer=function(l,x){this.stop=function(){clearInterval(r.id)};this.internalCallback=function(){x(r)};this.reset=function(B){r.id&&clearInterval(r.id);B=B||100;this.id=setInterval(this.internalCallback,B)};this.interval=l;this.id=setInterval(this.internalCallback,this.interval);var r=this};return new _timer(d,j)};
(function(d){d.extend({head:function(j,l,x){if(d.isFunction(l)){x=l;l={}}return d.ajax({type:"HEAD",url:j,cache:false,data:l,complete:function(r){r=r.getAllResponseHeaders().split("\n");for(var B={},z=r.length,v=0;v<z;v++)if(r[v].length!=0){header=r[v].split(": ");B[header[0]]=header[1]}d.isFunction(x)&&x(B)}})}})})(jQuery);
function skimmerAccordionClear(){$("#skimmerselector").accordion().unbind();$("#skimmerselector").children("div").empty();$("#skimmerselector").accordion("destroy");skimmersLoaded=false}
function getSkimmers(d){if(!skimmersLoaded){$("#"+d).parent().children("#"+d+"d").html(loading);dataString="date="+$("#datepicker").val();$.ajax({url:"p.php",data:dataString,cache:true,dataType:"json",async:false,error:function(j,l){alert(j.responseText)},success:function(j){if(j==null){skimmerAccordionClear();skimmerAccordion();$("#skimmerselector").accordion("disable");skimmersLoaded=false;popupAlert("error","No Reverse Beacons found!","We couldn't retrieve any Reverse Beacons for the selected date. Please select a different date.");
return true}$.each(j,function(l,x){$("#"+l).parent().children("#"+l+"d").empty();for(var r in x){var B=x[r];$("#"+l).parent().children("#"+l+"d").append('<input type="radio" name="sk" id="'+B[0]+'"value="'+B[1]+'"> <strong>'+B[1]+"</strong> "+B[2]+" spots<br>")}});$("#calls :input").removeAttr("disabled");$("#calls").removeClass("ui-state-disabled");return skimmersLoaded=true}})}}
function addStation(d){d.preventDefault();var j=false,l=/^([A-Z0-9]+\/)?([A-Z]{1,2}[0-9]+[A-Z]+|[1-9][A-Z]+[0-9][A-Z]+)(\/[A-Z0-9]+)?$/;d=$("#callsignid").val().toUpperCase();skim=$("#skimmerselector input:radio:checked").attr("id");$("#callentry-msg").empty();if($("#datepicker").val()==undefined||$("#datepicker").val()==""){$("#callentry-msg").html('<span class="error">Select a date</span>');j=true}else if(skim==undefined){$("#callentry-msg").html('<span class="error">Select a reverse beacon</span>');
j=true}else if(d==""){$("#callentry-msg").html('<span class="error">Enter a callsign</span>');j=true}else if(!l.test(d)){$("#callentry-msg").html('<span class="error">Invalid callsign</span>');j=true}if(j==false){$("#callsignid").val("");j=newSeries(d);if(j<0){$("#callentry-msg").html('<span class="error">Already entered</span>');return false}hasCalls=true;series[j].call=d;stationCount++;addCallsignDiv("#callsinserted",j);$("#call_"+j).text(d);$("#idx_"+j).css("background",seriesColors[j]);getSpotData(j);
$("#plotstitle").html("<h2>Spots for "+getSeriesCalls()+"at "+getSkimmersCalls()+"</h2>");doCharts();stationCount==nbSeries&&togleCallEntry(false)}return false}function togleCallEntry(d){d?$("#callentry").show():$("#callentry").hide()}
function addCallsignDiv(d,j){var l=$('<div id="c_'+j+'" style="height: 20px;padding:2px 0 0;"></div>');j='<span class="left"><input class="tooltip" title="Remove this callsign" style="display: inline-block; vertical-align: middle;" type="image" name="submit" id="d_'+j+'" src="images/delete_16.png" >&nbsp;&nbsp;&nbsp;<span id="idx_'+j+'" style="display: inline-block; vertical-align: middle; width: 15px; height: 15px; letter-spacing: 15px;">&nbsp;</span>&nbsp;&nbsp;&nbsp;<span style="display: inline-block; vertical-align: middle; font-weight: bold; font-size: 1.3em;" id="call_'+
j+'"></span></span><span class="right msg" style="display: inline; vertical-align: middle;" id="flash_'+j+'"></span>';$(l).html(j);$(d).append(l)}
function getSpotData(d){var j=series[d].call;msgdiv="#flash_"+d;j="call="+j+"&date="+$("#datepicker").val()+"&sk="+skim;$(msgdiv).html('<img width="16" height="16" src="images/loading.gif" align="absmiddle"> Loading...');$.ajax({url:"p.php",data:j,cache:true,dataType:"json",async:false,error:function(l,x){$(msgdiv).html("Error")},success:function(l){series[d].count=l.count;$(msgdiv).html(l.count+" spots");series[d].data=$.extend(true,{},l.dt);series[d].dataf=$.extend(true,{},l.df);return true}})}
function initSeries(){dds=[];plots=[];series=[];for(var d=0;d<nbSeries;d++)series[d]={call:null,count:0,data:[],dataf:[]};for(var j in bands){dds.push({band:bands[j],data:[]});plots.push({band:bands[j],id:null,params:{title:bands[j]+" spots",legend:{show:true,location:"nw",xoffset:5,yoffset:5},axes:{xaxis:{min:"00:00:00",max:"23:59:59",tickInterval:"3 hours",renderer:$.jqplot.DateAxisRenderer,tickOptions:{formatString:"%H:%M"},labelRenderer:$.jqplot.CanvasAxisLabelRenderer,label:"Time [UTC]"},yaxis:{min:0,
tickOptions:{formatString:"%d"},labelRenderer:$.jqplot.CanvasAxisLabelRenderer,label:"SNR [dB]"}},seriesDefaults:{showMarker:true,showLine:true,lineWidth:1.5,markerOptions:{style:"filledCircle",lineWidth:2,size:6},renderer:$.jqplot.sparseLineRenderer,rendererOptions:{stepSize:5400}},series:[],cursor:{zoom:true,showTooltipUnitPosition:false,tooltipOffset:10,tooltipLocation:"nw"},highlighter:{showMarker:false,tooltipAxes:"xy",formatString:""}}})}}
function getSeries(d){var j=[],l=[],x=0;for(x in dds)if(dds[x].band==d){dds[x].data=[];break}for(var r=[],B=0;B<stationCount;B++){ptype=="snr"?(r=series[B].data):(r=series[B].dataf);plots[x].params.series[B]={label:series[B].call};if($.isEmptyObject(r))j.push([[]]);else{for(var z in r)if(r[z].band==d){l.push(r[z].data);break}j=l.length==0?j.concat([[]]):j.concat(l);l=[]}}dds[x].data=dds[x].data.concat(j);return dds[x].data}
function newSeries(d){var j=0;for(j=0;j<series.length;j++){if(series[j].call==null)break;if(series[j].call==d)return-1}return j}function getSeriesCalls(){var d="";for(var j in series)if(series[j].call!=null)d+=series[j].call+" ";return d}function getSkimmersCalls(){return $("#skimmerselector input:radio:checked").val()}
function clearSeries(d){var j=[],l=0;for(bandId in bands)plots[bandId].params.series[d]=null;series[d].call=null;for(l in series)series[l].call!=null&&j.push(series[l]);series=j;$("#callsinserted").empty();for(l in series){addCallsignDiv("#callsinserted",l);$("#call_"+l).text(series[l].call);$("#flash_"+l).html(series[l].count+" spots");$("#idx_"+l).css("background",seriesColors[l])}stationCount--;for(d=stationCount;d<nbSeries;d++)series[d]={call:null,count:0,data:[],dataf:[]};hasCalls=false;if(getSeriesCalls()!=
""){$("#plotstitle").html("<h2>Spots for "+getSeriesCalls()+"at "+getSkimmersCalls()+"</h2>");hasCalls=true}else $("#plotstitle").html("");doCharts();stationCount<nbSeries&&togleCallEntry(true)}
function doCharts(){ic=0;enableButton("#clearPlotPane");enableButton("#printPlotPane");$("#plotarea").css("opacity",1);hasPlots=true;for(ic in plots){var d=[];d=getSeries(plots[ic].band);$("#"+plots[ic].band).empty();$("#"+plots[ic].band).show();if(ptype=="f"){plots[ic].params.axes.yaxis={labelRenderer:$.jqplot.CanvasAxisLabelRenderer,label:"Frequency [kHz]"};plots[ic].params.highlighter.formatString='<table class="jqplot-highlighter"><tr><td>Hour:</td><td>%s</td></tr><tr><td>Freq:</td><td>%s kHz</td></tr></table>'}else{plots[ic].params.axes.yaxis=
{min:0,tickOptions:{formatString:"%d"},labelRenderer:$.jqplot.CanvasAxisLabelRenderer,label:"SNR [dB]"};plots[ic].params.highlighter.formatString='<table class="jqplot-highlighter"><tr><td>Hour:</td><td>%s</td></tr><tr><td>SNR:</td><td>%s dB</td></tr></table>'}if(d.length==0)$("#"+plots[ic].band).hide();else try{plots[ic].id=$.jqplot(dds[ic].band,d,plots[ic].params)}catch(j){$("#"+plots[ic].band).hide()}}}
function popupAlert(d,j,l){$.pnotify({pnotify_title:j,pnotify_text:l,pnotify_history:false,pnotify_stack:false,pnotify_type:d,pnotify_hide:false,pnotify_shadow:true})}function popupHelp(d,j,l){$.pnotify({pnotify_title:j,pnotify_text:l,pnotify_history:false,pnotify_stack:false,pnotify_type:d,pnotify_hide:false,pnotify_shadow:true,pnotify_width:"600px"})}
function enableButton(d){$(d).removeAttr("disabled");$(d).css("opacity",0.7);$(d).hover(function(){$(d).css("opacity",1)},function(){$(d).css("opacity",0.7)})}function disableButton(d){$(d).unbind("mouseenter mouseleave");$(d).attr("disabled",true);$(d).css("opacity",0.2)}function getCalendarEvents(d){$.pnotify({pnotify_title:"Popular Dates",pnotify_text:d,pnotify_hide:false,pnotify_history:false,pnotify_stack:false})}
function autoscale(d){for(s=0;s<d.length;s++){selector=d[s];$(selector).each(function(){var j=$(this).width(),l=$(this).height();j||(j=$(this).attr("width"));l||(l=$(this).attr("height"));var x=$(this).parent().width();if(j<x||j>x){j=x*(l/j);$(this).height(j).width(x)}})}}
function docinit(){loading='<img src="images/loading.gif" align="absmiddle"> Loading ...';nbSeries=10;stationCount=0;seriesColors=["#4bb2c5","#EAA228","#c5b47f","#579575","#839557","#958c12","#953579","#4b5de4","#d8b83f","#ff5800","#0085cc","#c747a3","#cddf54","#FBD178","#26B4E3","#bd70c7"];bands=["10m","15m","20m","40m","80m","160m"];nbBands=bands.length;dds=[];plots={};series=[];ptype="snr";skimmersLoaded=hasCalls=hasPlots=false;lm=new Date;$("#datepicker").datepicker({maxDate:"+0d",buttonImage:"images/calendar.gif",
buttonImageOnly:true,onSelect:function(d,j){$("#skimmerselector").accordion("enable");if(skimmersLoaded){$(".jqPlot").empty();skimmerAccordionClear();skimmerAccordion();if(hasPlots){enableButton("#refreshButton");for(var l in series)series[l].call!=null&&$("#flash_"+l).html("Refresh data")}}}});skimmerAccordion();$("#skimmerselector").accordion("disable");disableButton("#printPlotPane");disableButton("#clearPlotPane");enableButton("#infoPlotPane");disableButton("#refreshButton");initSeries();$("#datepicker").keypress(function(d){if(d.which&&
d.which==13||d.keyCode&&d.keyCode==13||d.which&&d.which==9||d.keyCode&&d.keyCode==9){if($(this).val()){$("#skimmerselector").accordion("enable");skimmersLoaded=false}else $("#skimmerselector").accordion("disable");return false}else return true});$("#clearPlotPane").click(function(){$(".jqPlot").empty();$("#callsinserted").children().remove();stationCount=0;initSeries();togleCallEntry(true);hasPlots=hasCalls=false;disableButton("#clearPlotPane");disableButton("#printPlotPane");disableButton("#refreshButton")});
$("#refreshButton").click(function(){skim=$("#skimmerselector input:radio:checked").attr("id");if(skim==undefined)$("#callentry-msg").html('<span class="error">Select a reverse beacon</span>');else{$("#callentry-msg").html("");$(".jqPlot").empty();disableButton("#refreshButton");for(var d in series)series[d].call!=null&&getSpotData(d);$("#plotstitle").html("<h2>Spots for "+getSeriesCalls()+"at "+getSkimmersCalls()+"</h2>");doCharts()}return false});$("#callentryform").submit(function(d){addStation(d)});
$("#callsinserted").delegate("input","click",function(d){clearSeries(d.target.id.substring(2))});$("#skimmerselector").delegate("input[type=radio]","click",function(d){skim=$("#skimmerselector input:radio:checked").attr("id");$("#callentry-msg").html("");if(hasCalls){enableButton("#refreshButton");$("#plotarea").css("opacity",0.2);for(var j in series)series[j].call!=null&&$("#flash_"+j).html("Refresh data")}});$("#ptools").delegate("input[type=radio]","click",function(d){ptype=$("#ptools input:radio:checked").attr("id");
$("#plotarea").css("opacity",0.2);skimmersLoaded&&hasCalls&&doCharts()});$.timer(6E5,function(d){$.head("jj.js.closure.js",{},function(j){$.each(j,function(l,x){if(l=="Last-Modified"){l=new Date(x);if(l>lm){popupAlert("info","New version!","A new version of this tool is available. Please reload this page.");lm=l;d.stop()}}})})});$.browser.msie&&popupAlert("error","Compatibility Issues","It appears you are visiting this site using Internet Explorer. We are trying to resolve some incompatibilities that will fix certain visualization problems.<br><br> However, due to limitations of IE, the rendering of plots will appear very slow. There is no solution known to us how to fix this.<br><br> We suggest you to use either <b>Firefox</b> or <b>Chrome</b> for more elaborate use of this tool.")}
function skimmerAccordion(){$("#skimmerselector").accordion({clearStyle:true,collapsible:true,active:false,event:"click"}).bind("accordionchange",function(d,j){getSkimmers(j.newHeader[0].id)})};
