a.core)){if(arguments.length===1&&binstanceofArray&&b[0]==="private"){if(j[b[1]])return;j[b[1]]={};b[3]instanceofArray&&(a.core.version[b[1]]=b[3]);returntypeofb[2]==="function"?b[2].call(a,j[b[1]]):a}if(arguments.length===1&&typeofb==="string")returna.core.items[b];a.raiseError&&a.raiseError(this,"25081840","run","",newSyntaxError('Use the "new" keyword while creating a new FusionCharts object'))}vare={};this.__state={};if(arguments.length===1&&typeofarguments[0]==="object")e=arguments[0];
elseif(a.parseCommands(e,d.stat,arguments),a.core.options.sensePreferredRenderer&&e.swfUrl&&e.swfUrl.match&&!e.swfUrl.match(/[^a-z0-9]+/ig))e.type=e.swfUrl;arguments.length>1&&typeofarguments[arguments.length-1]==="object"&&(deletee[d.stat[arguments.length-1]],a.extend(e,arguments[arguments.length-1]));this.id=typeofe.id==="undefined"?this.id=a.uniqueId():e.id;this.args=e;if(a.core.items[this.id]instanceofa.core)a.raiseWarning(this,"06091847","param","",Error('A FusionChart oject with the specified id "'+
this.id+'" already exists. Renaming it to '+(this.id=a.uniqueId())));if(e.type&&e.type.toString){if(!a.renderer.userSetDefault&&(c||i))e.renderer=e.renderer||"javascript";e.swfUrl=(a.core.options.swfSrcPath||e.swfSrcPath||a.core.options.scriptBaseUri).replace(/\/\s*$/g,"")+"/"+e.type.replace(/\.swf\s*?$/ig,"")+".swf"}a.parsePolicies(this,a.policies,e);this.attributes.id=this.id;this.resizeTo(e.width,e.height,!0);a.raiseEvent("BeforeInitialize",e,this);a.core.items[this.id]=this;a.raiseEvent("Initialized",
this.src,e;if(typeofa==="string")this.src=a,this.isActive()&&this.render();return(e=(e=b.substring(b.indexOf(".swf"),0))?e:b).substring(e.lastIndexOf("/")+1).toLowerCase().replace(/^fcmap_/i,"")}},!0);window.getChartFromId=window.getMapFromId=function(b){a.raiseWarning(this,"11133001041","run","GenericRuntime~getObjectFromId()",'Use of deprecated getChartFromId() or getMapFromId(). Replace with "FusionCharts()" or FusionCharts.items[].');returna.core.items[b]instanceofa.core?a.core.items[b].ref:
"25081845","run","::RendererManager",Error("No active renderer"))},g={undefined:{render:f,remove:f,update:f,resize:f,config:f,policies:{}}},h={},j=a.renderer={register:function(b,i){if(!b||typeofb.toString!=="function")throw"#03091436 ~renderer.register() Invalid value for renderer name.";b=b.toString().toLowerCase();if(g[b]!==void0)returna.raiseError(a.core,"03091438","param","::RendererManager>register",'Duplicate renderer name specified in "name"'),!1;g[b]=i;return!0},userSetDefault:!1,setDefault:function(b){if(!b||
typeofb.toString!=="function")returna.raiseError(a.core,"25081731","param","::RendererManager>setDefault",'Invalid renderer name specified in "name"'),!1;if(g[b=b.toString().toLowerCase()]===void0)returna.raiseError(a.core,"25081733","range","::RendererManager>setDefault","The specified renderer does not exist."),!1;this.userSetDefault=!1;a.policies.options.renderer=["renderer",b];return!0},notifyRender:function(b){vari=a.core.items[b&&b.id];(!i||b.success===!1&&!b.silent)&&a.raiseError(a.core.items[b.id],
"25081850","run","::RendererManager",Error("There was an error rendering the chart. Enable FusionCharts JS debugMode for more information."));if(i.ref=b.ref)b.ref.FusionCharts=a.core.items[b.id];a.raiseEvent("internal.DOMElementCreated",b,i)},protectedMethods:{options:!0,attributes:!0,src:!0,ref:!0,constructor:!0,signature:!0,link:!0,addEventListener:!0,removeEventListener:!0},getRenderer:function(a){returng[a]},getRendererPolicy:function(a){a=g[a].policies;returntypeofa==="object"?a:{}},currentRendererName:function(){returna.policies.options.renderer[1]},
1))}},d=function(b){returnfunction(){if(this.ref===void0||this.ref===null||typeofthis.ref[b]!=="function")a.raiseError(this,"25081617","run","~"+b+"()","ExternalInterface call failed. Check whether chart has been rendered.");elsereturnthis.ref[b].apply(this.ref,arguments)}};a.addEventListener("BeforeInitialize",function(b){varb=b.sender,i;if(typeofb.options.renderer==="string"&&g[b.options.renderer.toLowerCase()]===void0)b.options.renderer=a.policies.options.renderer[1];b.options.renderer=
"function")){varc;try{c=b.getExternalInterfaceMethods(),c=typeofc==="string"?c.split(","):[]}catch(e){c=[],a.raiseError(i,"13111126041","run","RendererManager^Loaded",Error("Error while retrieving data from the chart-object."+(e.message&&e.message.indexOf("NPObject")>=0?" Possible cross-domain security restriction.":"")))}for(b=0;b<c.length;b+=1)i[c[b]]===void0&&(i[c[b]]=d(c[b]))}});varo=function(a,i){if(typeofa[i]==="function")returnfunction(){returna[i].apply(a,arguments)};returna[i]};a.addEventListener("loaded",
i.FusionCharts&&i.FusionCharts===this||(i=this.ref)&&i.FusionCharts&&i.FusionCharts===this)&&a.renderer.dispose(this);window[this.id]!==void0&&a.raiseError(this,"25081843","comp",".render",Error("#25081843:IECompatibility() Chart Id is same as a JavaScript variable name. Variable naming error. Please use unique name for chart JS variable, chart-id and container id."));d=this.options.insertMode.toLowerCase()||"replace";if(b===void0)b=this.options.containerElementId;typeofb==="string"&&(b=document.getElementById(b));
if(b===void0||b===null)returna.raiseError(this,"03091456","run",".render()",Error("Unable to find the container DOM element.")),this;if(c(this.id,b))returna.raiseError(this,"05102109","run",".render()",Error("A duplicate object already exists with the specific Id: "+this.id)),this;i=document.createElement(this.options.containerElementType||"span");i.setAttribute("id",this.id);if(d!=="append"&&d!=="prepend")for(;b.hasChildNodes();)b.removeChild(b.firstChild);d==="prepend"&&b.firstChild?b.insertBefore(i,
["showDataLoadingMessage",!0];a.addDataHandler=function(b,c){if(typeofb!=="string"||f[b.toLowerCase()]!==void0)a.raiseError(a.core,"03091606","param","::DataManager.addDataHandler",Error("Invalid Data Handler Name"));else{vard={},e=b.toLowerCase();f[e]=c;c.name=b;d["set"+b+"Url"]=function(a){returnthis.setChartDataUrl(a,b)};d["set"+b+"Data"]=function(a,e){returnthis.setChartData(a,b,!1,e)};d["get"+b+"Data"]=function(){returnthis.getChartData(b)};window.FusionChartsDataFormats[b]=e;window.FusionChartsDataFormats[b+
a.options.dataFormat)}});a.addEventListener("BeforeDispose",function(a){varc=a.sender;deleteg[a.sender.id];deleteh[a.sender.id];c&&c.__state&&c.__state.dhmXhrObj&&c.__state.dhmXhrObj.abort()});a.extend(a.core,{setChartDataUrl:function(b,c,f){if(c===void0||c===null||typeofc.toString!=="function")a.raiseError(a.core,"03091609","param",".setChartDataUrl",Error("Invalid Data Format"));else{varc=c.toString().toLowerCase(),e,m=this,g=m.options&&m.options.renderer==="flash"&&m.options.useLegacyXMLTransport||
b;if(!this.__state.dhmXhrObj)this.__state.dhmXhrObj=newa.ajax(d,o);this.__state.dhmXhrObj.get(typeofwindow.decodeURIComponent==="function"?window.decodeURIComponent(b):window.unescape(b),{obj:this,format:e,silent:f})}}},setChartData:function(b,c,d){if(c===void0||c===null||typeofc.toString!=="function")a.raiseError(a.core,"03091610","param",".setChartData",Error("Invalid Data Format"));else{varc=c.toString().toLowerCase(),e;if(j.test(c))this.setChartDataUrl(b,c,d);else{this.options.dataSource=
b;e=c;this.options.dataFormat=c;varc=f[e],m=!1;if(typeofc==="undefined")a.raiseError(a.core,"03091611","param",".setChartData",Error("Data Format not recognized"));elseif(c=c.encode(b,this,this.options.dataConfiguration)||{},c.format=c.dataFormat=e,c.dataSource=b,c.cancelDataUpdate=function(){m=!0;this.cancelDataUpdate=function(){return!1};return!0},a.raiseEvent("BeforeDataUpdate",c,this),deletec.cancelDataUpdate,m===!0)a.raiseEvent("DataUpdateCancelled",c,this);else{g[this.id]=c.data||"";h[this.id]=
{};if(d!==!0)this.options.safeMode===!0&&this.__state.rendering===!0&&!this.isActive()?(this.__state.updatePending=c,a.raiseWarning(this,"23091255","run","::DataHandler~update","Renderer update was postponed due to async loading.")):(deletethis.__state.updatePending,a.renderer.update(this,c));this.__state.dataReady=void0;a.raiseEvent("DataUpdated",c,this)}}}},getChartData:function(b,c){vare;vard;if(b===void0||typeofb.toString!=="function"||(d=f[b=b.toString().toLowerCase()])===void0)a.raiseError(this,
"25081543","param","~getChartData()",Error('Unrecognized data-format specified in "format"'));elsereturne=typeofh[this.id][b]==="object"?h[this.id][b]:h[this.id][b]=d.decode(g[this.id],this,this.options.dataConfiguration),d=e,Boolean(c)===!0?d:d.data},dataReady:function(){returnthis.__state.dataReady}},!0);a.extend(a.core,{transcodeData:function(b,c,d,e,m){if(!c||typeofc.toString!=="function"||!d||typeofd.toString!=="function"||f[d=d.toString().toLowerCase()]===void0||f[c=c.toString().toLowerCase()]===
void0)a.raiseError(this,"14090217","param","transcodeData()",Error("Unrecognized data-format specified during transcoding."));else{b=f[c].encode(b,this,m);d=f[d].decode(b.data,this,m);if(!(d.errorinstanceofError))d.error=b.error;returne?d:d.data}}},!1);a.addEventListener("Disposed",function(a){deleteh[a.sender.id]});a.addEventListener("Loaded",function(b){b=b.sender;binstanceofa.core&&b.__state.updatePending!==void0&&(a.renderer.update(b,b.__state.updatePending),deleteb.__state.updatePending)});
q.mac)&&!(q.wk&&q.wk<312)}functionc(a,e,b,c){H=!0;K=c||null;M={success:!1,id:b};vard=m(b);if(d){d.nodeName=="OBJECT"?(G=i(d),I=null):(G=d,I=b);a.id=x;if(typeofa.width==v||!/%$/.test(a.width)&&parseInt(a.width,10)<310)a.width="310";if(typeofa.height==v||!/%$/.test(a.height)&&parseInt(a.height,10)<137)a.height="137";n.title=n.title.slice(0,47)+" - Flash Player Installation";c=q.ie&&q.win?"ActiveX":"PlugIn";c="MMredirectURL="+w.location.toString().replace(/&/g,"%26")+"&MMplayerType="+c+"&MMdoctitle="+
"You need Adobe Flash Player 8 (or above) to view the charts on this page. It is a free, lightweight and safe installation from Adobe Systems Incorporated.\n\nWould you like to go to Adobe's website and install Flash Player?";a.core.hasRequiredFlashVersion=function(e){if(typeofe==="undefined")e=a.core.options.requiredFlashPlayerVersion;returnf.swfobject?f.swfobject.hasFlashPlayerVersion(e):void0};varo=!1,c=/.*?\%\s*?$/g,b={chartWidth:!0,chartHeight:!0,mapWidth:!0,mapHeight:!0},i=function(e,b){if(!(b&&
b.source==="XmlHttpRequest")){varc=e.sender;if(c.ref&&h(c.ref.dataInvokedOnSWF)&&c.ref.dataInvokedOnSWF()&&h(c.ref.getXML))a.raiseWarning(c,"08300116","run","::DataHandler~__fusioncharts_vars","Data was set in UTF unsafe manner"),c.setChartData(f.unescape(e.sender.ref.getXML({escaped:!0})),FusionChartsDataFormats.XML,!0),c.flashVars.dataXML=c.getChartData(FusionChartsDataFormats.XML),deletec.flashVars.dataURL;e.sender.removeEventListener("DataLoaded",i)}};f.__fusioncharts_dimension=function(){returnfunction(e){varb,
"run","::FlashRenderer","FusionCharts Flash object is accessing flashVars of non-existent object.")},0),!1;if(typeofb==="object"){if(c.ref&&h(c.ref.dataInvokedOnSWF)&&c.ref.dataInvokedOnSWF()){if(b.dataURL!==void0)c.addEventListener("DataLoaded",i);elseif(b.dataXML!==void0)b.dataXML=f.unescape(b.dataXML);c.__state.flashUpdatedFlashVars=!0}elsedeleteb.dataURL,deleteb.dataXML;a.extend(c.flashVars,b);return!0}if(c.__state.dataSetDuringConstruction&&c.flashVars.dataXML===void0&&c.options.dataSource!==
"EN"],debugMode:["debugMode",void0],scaleMode:["scaleMode","noScale"],animation:["animate",void0]},options:{autoInstallRedirect:["autoInstallRedirect",!1],useLegacyXMLTransport:["_useLegacyXMLTransport",!1]}},render:function(e,c){Boolean(this.flashVars.animation)===!0&&deletethis.flashVars.animation;this.src||a.raiseError(this,"03102348","run","::FlashRenderer.render",'Could not find a valid "src" attribute. swfUrl or chart type missing.');vard={},i=this.flashVars.dataXML,g=this.flashVars.dataURL,
if(!f.swfobject||!f.swfobject.embedSWF||!f.swfobject.FusionChartsModified)f.swfobject=a.swfobject;o&&!a.core.options.installRedirectMessage&&(h={silent:!0});f.swfobject&&f.swfobject.embedSWF?f.swfobject.embedSWF(this.src,e.id,this.width,this.height,a.core.options.requiredFlashPlayerVersion,void0,d,this.params,this.attributes,c,h):a.raiseError(this,"1113061611","run","FlashRenderer~render",Error("Could not find swfobject library or embedSWF API"))},update:function(a){varb=this.ref,c=a.data;this.flashVars.dataXML=
b){varc=e.sender,d=b.url,g=!1;if(b.dataFormat===FusionChartsDataFormats.XML&&(f.location.protocol==="file:"&&Boolean(c.options.safeMode)||Boolean(c.options.useLegacyXMLTransport)))c.ref?c.ref.setDataURL?c.ref.setDataURL(d,!1):a.raiseError(this,"0109112330","run",">FlashRenderer^DataLoadRequested",Error("Unable to fetch URL due to security restriction on Flash Player. Update global security settings.")):c.flashVars.dataURL=d,e.stopPropagation(),g=!0,b.cancelDataLoadRequest(),c.addEventListener("DataLoaded",
b=a.innerHTML.replace(c,this.id);f.swfobject.removeSWF(c);a.parentNode.removeChild(a);returnb},setTransparent:function(a){typeofa!=="boolean"&&a!==null&&(a=!0);this.params.wMode=a===null?"window":a===!0?"transparent":"opaque"},registerObject:function(){},addVariable:function(){a.raiseWarning(this,"1012141919","run","FlashRenderer~addVariable()",'Use of deprecated "addVariable()". Replace with "configure()".');a.core.prototype.configure.apply(this,arguments)},setDataXML:function(b){a.raiseWarning(this,
"11033001081","run","GenericRuntime~setDataXML()",'Use of deprecated "setDataXML()". Replace with "setXMLData()".');b===void0||b===null||!h(b.toString)?a.raiseError(this,"25081627","param","~setDataXML",'Invalid data type for parameter "xml"'):this.ref===void0||this.ref===null||!h(this.ref.setDataXML)?this.setChartData(b.toString(),FusionChartsDataFormats.XML):this.ref.setDataXML(b.toString())},setDataURL:function(b){a.raiseWarning(this,"11033001082","run","GenericRuntime~setDataURL()",'Use of deprecated "setDataURL()". Replace with "setXMLUrl()".');
b===void0||b===null||!h(b.toString)?a.raiseError(this,"25081724","param","~setDataURL",'Invalid data type for parameter "url"'):this.ref===void0||this.ref===null||!h(this.ref.setDataURL)?this.setChartData(b.toString(),FusionChartsDataFormats.XMLURL):this.ref.setDataURL(b.toString())}}});a.renderer.setDefault("flash")}]);
"required resources are absent or blocked from loading.");g&&g(l);return}}elseg&&g(l);u=l==="jquery"?a.core.options.jQuerySourceFileName:a.core.options["html5"+a.capitalizeString(l)+"Src"];a.loadScript(u==void0?o:u,{success:function(){e(l)?j():g&&g(l)},failure:g&&function(){g(l)}},void0,!0)}};j()},u=d.executeWaitingCommands=function(a){for(varb;b=a.shift();)typeofb==="object"&&j[b.cmd].apply(b.obj,b.args)};d.cleanupWaitingCommands=function(a){for(varb=a.chartType(),b=t(b),c,e=[],d;c=b.shift();){for(c=
o[c]||[];d=c.shift();)typeofd==="object"&&d.obj!==a&&e.push(d);c.concat(e);e=[]}};varl=function(a){deletea.sender.jsVars._reflowData;a.sender.jsVars._reflowData={};deletea.sender.jsVars._reflowClean},r=function(){vara=function(){};a.prototype={LoadDataErrorText:"Error in loading data.",XMLLoadingText:"Retrieving data. Please wait",InvalidXMLText:"Invalid data.",ChartNoDataText:"No data to display.",ReadingDataText:"Reading data. Please wait",ChartNotSupported:"Chart type not supported.",PBarLoadingText:"",
LoadingText:"Loading chart. Please wait",RenderChartErrorText:"Unable to render chart."};returna.prototype.constructor=a}();a.extend(a.core.options,{html5ScriptNameSuffix:".js",html5ScriptNamePrefix:"FusionCharts.HC.",jQuerySourceFileName:"jquery.min.js"});a.extend(j,{dataFormat:"json",ready:!1,policies:{jsVars:{},options:{showLoadingMessage:["showLoadingMessage",!0]}},init:function(){f.jQuery?e("base")?j.ready=!0:m("base",function(){j.ready=!0;u(d.cmdQueue)},void0,a.core):m("jquery",function(){jQuery.noConflict();
b.stallLoad=!0:b.stallLoad=!0},DataLoadRequestCompleted:function(a){deletea.sender.id.stallLoad},DataLoadError:function(a){varb=a.sender,c=b.jsVars;deletec.stallLoad;c.loadError=!0;b.ref&&typeofb.ref.showChartMessage==="function"&&b.ref.showChartMessage("LoadDataErrorText");l.apply(this,arguments)}},_call:function(a,b,c){a.apply(c||f,b||[])}});a.extend(j.prototype,{getSWFHTML:function(){a.raiseWarning(this,"11090611381","run","JavaScriptRenderer~getSWFHTML()","getSWFHTML() is not supported for JavaScript charts.")},
addVariable:function(){a.raiseWarning(this,"11090611381","run","JavaScriptRenderer~addVariable()",'Use of deprecated "addVariable()". Replace with "configure()".');a.core.prototype.configure.apply(this,arguments)},getXML:function(){a.raiseWarning(this,"11171116291","run","JavaScriptRenderer~getXML()",'Use of deprecated "getXML()". Replace with "getXMLData()".');returnthis.getXMLData.apply(this,arguments)},setDataXML:function(){a.raiseWarning(this,"11171116292","run","JavaScriptRenderer~setDataXML()",
'Use of deprecated "setDataXML()". Replace with "setXMLData()".');returnthis.setXMLData.apply(this,arguments)},setDataURL:function(){a.raiseWarning(this,"11171116293","run","JavaScriptRenderer~setDataURL()",'Use of deprecated "SetDataURL()". Replace with "setXMLUrl()".');returnthis.setXMLUrl.apply(this,arguments)},hasRendered:function(){returnthis.jsVars.hcObj&&this.jsVars.hcObj.hasRendered},setTransparent:function(a){varb;if(b=this.jsVars)typeofa!=="boolean"&&a!==null&&(a=!0),b.transparent=
}});a.renderer.register("javascript",j);f.swfobject&&f.swfobject.hasFlashPlayerVersion&&!f.swfobject.hasFlashPlayerVersion(a.core.options.requiredFlashPlayerVersion)&&(a.raiseWarning(a.core,"1204111846","run","JSRenderer","Switched to JavaScript as default rendering due to absence of required Flash Player."),a.renderer.setDefault("javascript"))}]);
(function(){vara=FusionCharts(["private","JSON_DataHandler"]);if(a!==void0){window.JSON===void0&&a.raiseError(this,"1113062012","run","JSONDataHandler",Error("Could not find library support for JSON parsing."));a.core.options.allowIESafeXMLParsing=["_allowIESafeXMLParsing",!0];varf=function(a){if(a===null||a===void0||typeofa.toString!=="function")return"";returna=a.toString().replace(/&/g,"&").replace(/\'/g,"'").replace(/\"/g,""").replace(/</g,"<").replace(/>/g,">")},g=function(){varg=
function(){vara,f,j="";for(a=0;a<this.rowCount;a+=1)f=this.qualifier+this.data[a].join(this.qualifier+this.delimiter+this.qualifier)+this.qualifier,j+=f==='""'?this.eolCharacter:f+this.eolCharacter;this.rowCount>0&&(j=j.slice(0,j.length-2));returnj};a.addDataHandler("CSV",{encode:function(g,f){a.raiseError(f,"0604111215A","run","::CSVDataHandler.encode()","FusionCharts CSV data-handler only supports encoding of data.");throw"FeatureNotSupportedException()";},decode:function(g){varg=a.core.transcodeData(g,
"xml","json")||{},h,j,d,o,c,b,i,t,e=g.chart||g.map||g.graph||{},m=Boolean(e.exporterrorcolumns||0),u=g.categories&&g.categories[0]&&g.categories[0].category||[];j=g.map&&!g.chart;varl=!1,r=!1,k=!1,p,v,y,B,x,w,n,A,z,E,s;h=newf({separator:e.exportdataseparator,qualifier:e.exportdataqualifier});if(j)h.setRow(0,["Id"," Short Name","Long Name","Value","Formatted Value"]);elseif((p=g.dials&&g.dials.dial||g.pointers&&g.pointers.pointer||g.value)!==void0)if(typeofp==="string")h.set(0,0,p),typeofg.target===
(g=this.getChartData(FusionChartsDataFormats.JSON)).chart||g.graph||g.map;if(arguments.length===0||f===void0||g===void0)returng;varh,j;if(typeoff==="string")h=g[f.toString().toLowerCase()];elseif(finstanceofArray){h={};for(j=0;j<f.length;j+=1)h[f[j]]=g[f[j].toString().toLowerCase()]}elsea.raiseError(this,"25081429","param","~getChartAttribute()",'Unexpected value of "attribute"');returnh}},!0)})();
d)}elsea.raiseError(this,"25081731","param","~configureLink()","Unable to update link configuration from set parameters")}},!0);a.addEventListener("BeforeInitialize",function(d){if(d.sender.linkinstanceofh){if(d.sender.link.parentinstanceofa.core)d.sender.link.parent.link.items[d.sender.id]=d.sender}elsed.sender.link=newh(d.sender)});a.addEventListener("LinkedChartInvoked",function(d,f){varc=d.sender,b=c.clone({dataSource:f.data,dataFormat:f.linkType,link:newh(c.link.root,c)},!0),g=f.alias;
d.link.root!==d&&d.link.parentinstanceofa.core)if(d.ref&&typeofd.ref.drawOverlayButton==="function"){varf=a.extend({show:!0,id:"LinkManager"},d.link.parent.options.overlayButton);a.extend(f,d.link.parent.link.configuration().overlayButton||{});d.ref.drawOverlayButton(f)}elsea.raiseWarning(d,"04091602","run","::LinkManager^Loaded","Unable to draw overlay button on object. -"+d.id)});a.addEventListener("BeforeDispose",function(d){varf=d.sender;f&&f.linkinstanceofh&&(f.link.parentinstanceof
(function(){vara=FusionCharts(["private","PrintManager"]);if(a!==void0){varf={enabled:!1,invokeCSS:!0,processPollInterval:2E3,message:"Chart is being prepared for print.",useExCanvas:!1,bypass:!1},g={getCanvasElementOf:function(b,c,d){if(b.__fusioncharts__canvascreated!==!0){varg=document.createElement("canvas"),h=a.core.items[b.id].attributes["class"];f.useExCanvas&&G_vmlCanvasManager&&G_vmlCanvasManager.initElement(g);g.setAttribute("class",h);g.__fusioncharts__reference=b.id;b.parentNode.insertBefore(g,
2)c[d][f]=c[d][f]===""?b:("000000"+c[d][f]).substr(-6)}returnc},drawText:function(b,c,d,f){b=b.getContext("2d");d=d||2;f=f||2;b.clearRect(0,0,d,f);b.textBaseline="middle";b.textAlign="center";b.font="8pt verdana";b.fillStyle="#776666";typeofb.fillText==="function"?b.fillText(c,d/2,f/2):typeofb.mozDrawText==="function"?(b.translate(d/2,f/2),b.mozDrawText(c)):a.raiseWarning(a.core,"25081803","run","::PrintManager>lib.drawText","Canvas text drawing is not supported in browser");return!0},appendCSS:function(a){varb=
"run","::PrintManager>onDrawComplete","There was an error while showing message to user via canvas.")}}},i=function(b,c){try{g.drawRLE(g.getCanvasElementOf(b.sender.ref,c.width,c.height),c.stream,c.width,c.height,c.bgColor)===!0&&j[b.sender.id]&&(deletej[b.sender.id],o-=1,o===0&&a.raiseEvent("PrintReadyStateChange",{ready:!0,bypass:f.bypass},b.sender))}catch(d){h.invoke("error"),a.raiseError(b.sender,"25081810","run","::PrintManager>onImageStreamReady","There was an error while drawing canvas.")}},
"flash"||typeofdocument.createElement("canvas").getContext!=="function")returnf.bypass=!0,a.raiseEvent("PrintReadyStateChange",{ready:!0,bypass:f.bypass}),a.raiseWarning(a.core,"25081816","run",".printManager.enabled","printManager is not compatible with your browser"),f.enabled;f.bypass=!1;varj=d?"addEventListener":"removeEventListener";a.core[j]("ImageStreamReady",i);a.core[j]("DrawComplete",b);a.core[j]("BeforeDispose",t);if(d===!0){varo;f.invokeCSS===!0&&h.invoke("print");for(oina.core.items)c(a.core.items[o]),