/*
 FusionCharts JavaScript Library
 Copyright FusionCharts Technologies LLP
 License Information at <http://www.fusioncharts.com/license>

 @author FusionCharts Technologies LLP
 @version fusioncharts/3.2.3-release.4749

 Third-party attributions:
 SWFObject v2.2 <http://code.google.com/p/swfobject/>
 JSON v2 <http://www.JSON.org/js.html>
 Firebug Lite 1.3.0 <http://getfirebug.com/firebuglite>
 jQuery 1.7.1 <http://jquery.com/>
*/
(function(){if(typeof window.FusionCharts==="undefined"){var a={},h=a.modules={},f=["swfUrl","id","width","height","debugMode","registerWithJS","bgColor","scaleMode","lang","detectFlashVersion","autoInstallRedirect"],g=Object.prototype.toString,e=function(a,d){var b,j;if(d instanceof Array)for(b=0;b<d.length;b+=1)typeof d[b]!=="object"?a[b]=d[b]:(typeof a[b]!=="object"&&(a[b]=d[b]instanceof Array?[]:{}),e(a[b],d[b]));else for(b in d)typeof d[b]==="object"?(j=g.call(d[b]),j==="[object Object]"?(typeof a[b]!==
"object"&&(a[b]={}),e(a[b],d[b])):j==="[object Array]"?(a[b]instanceof Array||(a[b]=[]),e(a[b],d[b])):a[b]=d[b]):a[b]=d[b];return a};a.extend=function(a,d,b,j){var k;if(b&&a.prototype)a=a.prototype;if(j===!0)e(a,d);else for(k in d)a[k]=d[k];return a};a.uniqueId=function(){return"chartobject-"+(a.uniqueId.lastId+=1)};a.uniqueId.lastId=0;a.policies={options:{product:["product","v3"],insertMode:["insertMode","replace"],safeMode:["safeMode",!0],overlayButton:["overlayButton",void 0],containerBackgroundColor:["backgroundColor",
void 0]},attributes:{lang:["lang","EN"],"class":["className","FusionCharts"],id:["id",void 0]},width:["width","400"],height:["height","300"],src:["swfUrl",""],type:["type",void 0]};a.parsePolicies=function(c,d,b){var j,k,e;for(k in d)if(a.policies[k]instanceof Array)e=b[d[k][0]],c[k]=e===void 0?d[k][1]:e;else for(j in typeof c[k]!=="object"&&(c[k]={}),d[k])e=b[d[k][j][0]],c[k][j]=e===void 0?d[k][j][1]:e};a.core=function(c){if(!(this instanceof a.core)){if(arguments.length===1&&c instanceof Array&&
c[0]==="private"){if(h[c[1]]===!0)return;h[c[1]]=!0;return a}if(arguments.length===1&&typeof c==="string")return a.core.items[c];a.raiseError(this,"25081840","run","",new SyntaxError('Use the "new" keyword while creating a new FusionCharts object'))}var e={},b;this.__state={};if(arguments.length===1&&typeof arguments[0]==="object")e=arguments[0];else for(b in f)e[f[b]]=arguments[b];typeof arguments[arguments.length-1]==="object"&&(delete e[arguments.length-1],a.extend(e,arguments[arguments.length-
1]));this.id=typeof e.id==="undefined"?this.id=a.uniqueId():e.id;this.args=e;if(a.core.items[this.id]instanceof a.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)e.swfUrl=e.type;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",
e,this);return this};a.core.prototype={};a.core.prototype.constructor=a.core;a.extend(a.core,{id:"FusionCharts",version:[3,2,3,"release",4749],items:{},options:{},getObjectReference:function(c){return a.core.items[c].ref}},!1);window.FusionCharts=a.core}})();
(function(){var a=FusionCharts(["private","EventManager"]);if(a!==void 0){window.FusionChartsEvents={BeforeInitialize:"beforeinitialize",Initialized:"initialized",Loaded:"loaded",BeforeRender:"beforerender",Rendered:"rendered",DataLoadRequested:"dataloadrequested",DataLoadRequestCancelled:"dataloadrequestcancelled",DataLoadRequestCompleted:"dataloadrequestcompleted",BeforeDataUpdate:"beforedataupdate",DataUpdateCancelled:"dataupdatecancelled",DataUpdated:"dataupdated",DataLoadCancelled:"dataloadcancelled",
DataLoaded:"dataloaded",DataLoadError:"dataloaderror",NoDataToDisplay:"nodatatodisplay",DataXMLInvalid:"dataxmlinvalid",InvalidDataError:"invaliddataerror",DrawComplete:"drawcomplete",Resized:"resized",BeforeDispose:"beforedispose",Disposed:"disposed"};var h=function(a,c,d,b){try{a[0].call(c,d,b||{})}catch(j){setTimeout(function(){throw j;},0)}},f=function(e,c,d){if(e instanceof Array)for(var b=0,j;b<e.length;b+=1){if(e[b][1]===c.sender||e[b][1]===void 0)j=e[b][1]===c.sender?c.sender:a.core,h(e[b],
j,c,d);if(c.cancel===!0)break}},g={listeners:{},lastEventId:0,addListener:function(e,c,d){if(e instanceof Array)for(var b=0;b<e.length;b+=1)g.addListener(e[b],c,d);else typeof e!=="string"?a.raiseError(this,"03091549","param","::EventTarget.addListener",Error("Unspecified Event Type")):typeof c!=="function"?a.raiseError(this,"03091550","param","::EventTarget.addListener",Error("Invalid Event Listener")):(e=e.toLowerCase(),g.listeners[e]instanceof Array||(g.listeners[e]=[]),g.listeners[e].push([c,
d]))},removeListener:function(e,c,d){var b;if(e instanceof Array)for(b=0;b<e.length;b+=1)g.removeListener(e[b],c,d);else if(typeof e!=="string")a.raiseError(this,"03091559","param","::EventTarget.removeListener",Error("Unspecified Event Type"));else if(typeof c!=="function")a.raiseError(this,"03091560","param","::EventTarget.removeListener",Error("Invalid Event Listener"));else if(e=e.toLowerCase(),e=g.listeners[e],e instanceof Array)for(b=0;b<e.length;b+=1)e[b][0]===c&&e[b][1]===d&&(e.splice(b,1),
b-=1)},triggerEvent:function(e,c,d){if(typeof e!=="string")a.raiseError(this,"03091602","param","::EventTarget.dispatchEvent",Error("Invalid Event Type"));else return e=e.toLowerCase(),c={eventType:e,eventId:g.lastEventId+=1,sender:c||Error("Orphan Event"),stopPropagation:function(){return(this.cancel=!0)===!1}},f(g.listeners[e],c,d),f(g.listeners["*"],c,d),!0}};a.raiseEvent=function(a,c,d){return g.triggerEvent(a,d,c)};a.addEventListener=function(a,c){return g.addListener(a,c)};a.removeEventListener=
function(a,c){return g.removeListener(a,c)};a.extend(a.core,{addEventListener:a.addEventListener,removeEventListener:a.removeEventListener},!1);a.extend(a.core,{addEventListener:function(a,c){return g.addListener(a,c,this)},removeEventListener:function(a,c){return g.removeListener(a,c,this)}},!0);a.addEventListener("BeforeDispose",function(a){var c,d;for(c in g.listeners)for(d=0;d<g.listeners[c].length;d+=1)g.listeners[c][d][1]===a.sender&&g.listeners[c].splice(d,1)})}})();
(function(){var a=FusionCharts(["private","ErrorHandler"]);if(a!==void 0){var h={type:"TypeException",range:"ValueRangeException",impl:"NotImplementedException",param:"ParameterException",run:"RuntimeException",comp:"DesignTimeError",undefined:"UnspecifiedException"},f=function(e,c,d,b,j,k){var f="#"+c+" "+(e?e.id:"unknown-source")+b+" "+k+" >> ";j instanceof Error?(j.name=h[d],j.module="FusionCharts"+b,j.level=k,j.message=f+j.message,f=j.message,window.setTimeout(function(){throw j;},0)):f+=j;c=
{id:c,nature:h[d],source:"FusionCharts"+b,message:f};a.raiseEvent(k,c,e);if(typeof window["FC_"+k]==="function")window["FC_"+k](c)};a.raiseError=function(a,c,d,b,j){f(a,c,d,b,j,"Error")};a.raiseWarning=function(a,c,d,b,j){f(a,c,d,b,j,"Warning")};var g={outputHelpers:{text:function(a,c){g.outputTo("#"+a.eventId+" ["+(a.sender.id||a.sender).toString()+'] fired "'+a.eventType+'" event. '+(a.eventType==="error"||a.eventType==="warning"?c.message:""))},event:function(a,c){this.outputTo(a,c)},verbose:function(a,
c){g.outputTo(a.eventId,a.sender.id,a.eventType,c)}},outputHandler:function(e,c){typeof g.outputTo!=="function"?a.core.debugMode.outputFailed=!0:(a.core.debugMode.outputFailed=!1,g.currentOutputHelper(e,c))},currentOutputHelper:void 0,outputTo:void 0,enabled:!1};g.currentOutputHelper=g.outputHelpers.text;a.extend(a.core,{debugMode:{syncStateWithCharts:!0,outputFormat:function(a){if(a&&typeof a.toLowerCase==="function"&&typeof g.outputHelpers[a=a.toLowerCase()]==="function")return g.currentOutputHelper=
g.outputHelpers[a],!0;return!1},outputTo:function(e){typeof e==="function"?g.outputTo=e:e===null&&(a.core.debugMode.enabled(!1),delete g.outputTo)},enabled:function(e,c,d){var b;if(typeof e==="object"&&arguments.length===1)b=e,e=b.state,c=b.outputTo,d=b.outputFormat;if(typeof e==="function"){if(typeof c==="string"&&(arguments.length===2||b))d=c;c=e;e=!0}if(typeof e==="boolean"&&e!==g.enabled)a.core[(g.enabled=e)?"addEventListener":"removeEventListener"]("*",g.outputHandler);if(typeof c==="function")g.outputTo=
c;a.core.debugMode.outputFormat(d);return g.enabled},_enableFirebugLite:function(){window.console&&window.console.firebug?a.core.debugMode.enabled(console.log,"verbose"):a.loadScript("firebug-lite.js",function(){a.core.debugMode.enabled(console.log,"verbose")},"{ startOpened: true }")}}},!1)}})();
(function(){var a=FusionCharts(["private","modules.mantle.ajax"]);if(a){var h=window,f=parseFloat(navigator.appVersion.split("MSIE")[1]),g=f>=5.5&&f<=7?!0:!1,e=h.location.protocol==="file:",c=h.ActiveXObject,d=(!c||!e)&&h.XMLHttpRequest,b=function(){var a;if(d)return b=function(){return new d},b();try{a=new c("Msxml2.XMLHTTP"),b=function(){return new c("Msxml2.XMLHTTP")}}catch(k){try{a=new c("Microsoft.XMLHTTP"),b=function(){return new c("Microsoft.XMLHTTP")}}catch(e){a=!1}}return a},h=a.ajax=function(b,
a){this.onSuccess=b;this.onError=a};h.prototype.headers={"If-Modified-Since":"Sat, 29 Oct 1994 19:43:31 GMT","X-Requested-With":"XMLHttpRequest","X-Requested-By":"FusionCharts",Accept:"text/plain, */*"};h.prototype.get=function(c,k){var d=this,i=d.xmlhttp,q=d.headers,f=d.onError,o=d.onSuccess,h;if(!i||g)i=b(),d.xmlhttp=i;i.onreadystatechange=function(){try{i.readyState===4&&o&&(!i.status&&e||i.status>=200&&i.status<300||i.status===304||i.status===1223||i.status===0?o(i.responseText,d,k,c):f&&f(Error("XmlHttprequest Error"),
d,k,c))}catch(b){f&&f(b,d,k,c)}};try{i.overrideMimeType&&i.overrideMimeType("text/plain");i.open("GET",c,!0);for(h in q)i.setRequestHeader(h,q[h]);i.send(null)}catch(t){a.raiseError(a.core,"1110111515A","run","XmlHttprequest Error",t.message)}return i};h.prototype.abort=function(){var b=this.xmlhttp;return b&&typeof b.abort==="function"&&b.readyState&&b.readyState!==0&&b.abort()}}})();
(function(){var a=FusionCharts(["private","modules.mantle.runtime;1.1"]);if(a!==void 0){var h=/(^|[\/\\])(fusioncharts\.js|fusioncharts\.debug\.js|fusioncharts\.core\.js|fusioncharts\.min\.js|fusioncharts\.packed\.js)([\?#].*)?$/ig;a.core.options.scriptBaseUri=function(){var b=document.getElementsByTagName("script"),c=b.length,j,k;for(k=0;k<c;k+=1)if(j=b[k].getAttribute("src"),!(j===void 0||j===null||j.match(h)===null))return j.replace(h,"$1");a.raiseError(FusionCharts,"1603111624","run",">GenericRuntime~scriptBaseUri",
"Unable to locate FusionCharts script source location (URL).");return""}();var f=/[\\\"<>;&]/,g=/^[^\S]*?(sf|f|ht)(tp|tps):\/\//ig,e=FusionChartsEvents.ExternalResourceLoad="externalresourceload",c={},d={},b={};a.isXSSSafe=function(b,a){if(a&&g.exec(b)!==null)return!1;return f.exec(b)===null};a.loadScript=function(i,j,k,f){if(!i)return!1;var g=j&&j.success||j,h=j&&j.failure,l,r={type:"script",success:!1};l=a.core.options.scriptBaseUri+i;a.isXSSSafe(l,!0)||(l=typeof window.encodeURIComponent==="function"?
window.encodeURIComponent(l):window.escape(l));r.path=a.core.options.scriptBaseUri;r.src=l;r.file=i;if(d[l]===!0&&f)return r.success=!0,r.notReloaded=!0,typeof j==="function"&&(j(),a.raiseEvent(e,r,a.core)),!0;if(c[l]&&f)return!1;c[l]=!0;j=document.createElement("script");j.type="text/javascript";j.src=l;k&&(j.innerHTML=k);if(typeof g==="function")d[l]=!1,clearTimeout(b[l]),j.onload=function(){d[l]=!0;r.success=!0;clearTimeout(b[l]);g(i,l);a.raiseEvent(e,r,a.core)},j.onreadystatechange=function(){if(this.readyState===
"complete"||this.readyState==="loaded")d[l]=!0,r.success=!0,clearTimeout(b[l]),g(i,l),a.raiseEvent(e,r,a.core)};document.getElementsByTagName("head")[0].appendChild(j);typeof h==="function"&&(b[l]=setTimeout(function(){d[l]||(h(i,l),a.raiseEvent(e,r,a.core))},a.core.options.html5ResourceLoadTimeout||3E4));return!0};var j=function(b,a,c){for(var j in b){var k;if(b[j]instanceof Array)a[b[j][0]]=c[j];else for(k in b[j])a[b[j][k][0]]=c[j][k]}},k=/[^\%\d]*$/ig,l=/^(FusionCharts|FusionWidgets|FusionMaps)/;
a.extend(a.core,{dispose:function(){a.raiseEvent("BeforeDispose",{},this);a.renderer.dispose(this);delete a.core.items[this.id];a.raiseEvent("Disposed",{},this);for(var b in this)delete this[b]},clone:function(b,c){var k=typeof b,d={},e=a.extend({},this.args,!1,!1);j(a.policies,e,this);j(a.renderer.getRendererPolicy(this.options.renderer),e,this);delete e.id;delete e.animate;delete e.stallLoad;d.link=e.link;e=a.extend({},e,!1,!1);e.link=d.link;switch(k){case "object":a.extend(e,b);break;case "boolean":c=
b}return c?e:new a.core(e)},isActive:function(){if(!this.ref||document.getElementById(this.id)!==this.ref||typeof this.ref.signature!=="function")return!1;try{return l.test(this.ref.signature())}catch(b){return!1}},resizeTo:function(b,c,j){var d={width:b,height:c};if(typeof b==="object")d.width=b.width,d.height=b.height,j=c;if(d.width&&typeof d.width.toString==="function")this.width=d.width.toString().replace(k,"");if(d.height&&typeof d.height.toString==="function")this.height=d.height.toString().replace(k,
"");j!==!0&&a.renderer.resize(this,d)},chartType:function(){var b;return(b=(b=this.src.substring(this.src.indexOf(".swf"),0))?b:this.src).substring(b.lastIndexOf("/")+1).toLowerCase()}},!0);window.getChartFromId=function(b){a.raiseWarning(this,"11133001041","run","GenericRuntime~getChartFromId()",'Use of deprecated "getChartFromId()". Replace with "FusionCharts()" or FusionCharts.items[].');return a.core.items[b]instanceof a.core?a.core.items[b].ref:window.swfobject.getObjectById(b)}}})();
(function(){var a=FusionCharts(["private","RendererManager"]);if(a!==void 0){a.policies.options.containerElementId=["renderAt",void 0];a.policies.options.renderer=["renderer",void 0];var h=function(){a.raiseError(this,"25081845","run","::RendererManager",Error("No active renderer"))},f={undefined:{render:h,update:h,resize:h,config:h,policies:{}}},g={};a.normalizeCSSDimension=function(b,a,c){var b=b===void 0?c.offsetWidth:b,a=a===void 0?c.offsetHeight:a,d;c.style.width=b=b.toString?b.toString():"0";
c.style.height=a=a.toString?a.toString():"0";if(b.match(/^\s*\d*\.?\d*\%\s*$/)&&!b.match(/^\s*0\%\s*$/)&&c.offsetWidth===0)for(;d=c.offsetParent;)if(d.offsetWidth>0){b=(d.offsetWidth*parseFloat(b.match(/\d*/)[0])/100).toString();break}if(a.match(/^\s*\d*\.?\d*\%\s*$/)&&!a.match(/^\s*0\%\s*$/)&&c.offsetHeight<=20)for(;d=c.offsetParent;)if(d.offsetHeight>0){a=(d.offsetHeight*parseFloat(a.match(/\d*/)[0])/100).toString();break}d={width:b.replace?b.replace(/^\s*(\d*\.?\d*)\s*$/ig,"$1px"):b,height:a.replace?
a.replace(/^\s*(\d*\.?\d*)\s*$/ig,"$1px"):a};c.style.width=d.width;c.style.height=d.height;return d};a.renderer={register:function(b,c){if(!b||typeof b.toString!=="function")throw"#03091436 ~renderer.register() Invalid value for renderer name.";b=b.toString().toLowerCase();if(f[b]!==void 0)return a.raiseError(a.core,"03091438","param","::RendererManager>register",'Duplicate renderer name specified in "name"'),!1;f[b]=c;return!0},setDefault:function(b){if(!b||typeof b.toString!=="function")return a.raiseError(a.core,
"25081731","param","::RendererManager>setDefault",'Invalid renderer name specified in "name"'),!1;if(f[b=b.toString().toLowerCase()]===void 0)return a.raiseError(a.core,"25081733","range","::RendererManager>setDefault","The specified renderer does not exist."),!1;a.policies.options.renderer=["renderer",b];return!0},notifyRender:function(b){var c=a.core.items[b&&b.id];(!c||b.success===!1)&&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(c.ref=b.ref)if(b.ref.FusionCharts=a.core.items[b.id],c.options.containerBackgroundColor)b.ref.style&&(b.ref.style.backgroundColor=c.options.containerBackgroundColor);a.raiseEvent("internal.DOMElementCreated",b,c)},protectedMethods:{options:!0,attributes:!0,src:!0,ref:!0,constructor:!0,signature:!0,link:!0},getRenderer:function(b){return f[b]},getRendererPolicy:function(b){b=f[b].policies;return typeof b==="object"?b:{}},currentRendererName:function(){return a.policies.options.renderer[1]},update:function(b){g[b.id].update.apply(b,
Array.prototype.slice.call(arguments,1))},render:function(b){g[b.id].render.apply(b,Array.prototype.slice.call(arguments,1))},resize:function(b){g[b.id].resize.apply(b,Array.prototype.slice.call(arguments,1))},config:function(b){g[b.id].config.apply(b,Array.prototype.slice.call(arguments,1))},dispose:function(b){g[b.id].dispose.apply(b,Array.prototype.slice.call(arguments,1))}};var e=function(b){return function(){if(this.ref===void 0||this.ref===null||typeof this.ref[b]!=="function")a.raiseError(this,
"25081617","run","~"+b+"()","ExternalInterface call failed. Check whether chart has been rendered.");else return this.ref[b].apply(this.ref,arguments)}};a.addEventListener("BeforeInitialize",function(b){var b=b.sender,c;if(typeof b.options.renderer==="string"&&f[b.options.renderer.toLowerCase()]===void 0)b.options.renderer=a.policies.options.renderer[1];b.options.renderer=b.options.renderer.toLowerCase();g[b.id]=f[b.options.renderer];if(g[b.id].initialized!==!0&&typeof g[b.id].init==="function")g[b.id].init(),
g[b.id].initialized=!0;a.parsePolicies(b,g[b.id].policies||{},b.args);for(var d in g[b.id].prototype)b[d]=g[b.id].prototype[d];for(c in g[b.id].events)b.addEventListener(c,g[b.id].events[c])});a.addEventListener("Loaded",function(b){var c=b.sender,b=b.sender.ref;c instanceof a.core&&delete c.__state.rendering;if(!(b===void 0||b===null||typeof b.getExternalInterfaceMethods!=="function")){var d;try{d=b.getExternalInterfaceMethods(),d=typeof d==="string"?d.split(","):[]}catch(f){d=[],a.raiseError(c,
"13111126041","run","RendererManager^Loaded",Error("Error while retrieving data from the chart-object."+(f.message&&f.message.indexOf("NPObject")>=0?" Possible cross-domain security restriction.":"")))}for(b=0;b<d.length;b+=1)c[d[b]]===void 0&&(c[d[b]]=e(d[b]))}});var c=function(b,a){if(typeof b[a]==="function")return function(){return b[a].apply(b,arguments)};return b[a]};a.addEventListener("loaded",function(b){var j=b.sender;if(j.ref){var d=a.renderer.protectedMethods,e=a.renderer.getRenderer(j.options.renderer).protectedMethods,
i;for(i in b.sender)if(e&&!d[i]&&!(e[i]||j.ref[i]!==void 0))try{j.ref[i]=c(b.sender,i)}catch(q){}}});var d=function(b,a){var c=document.getElementById(b),d=a.getAttribute("id");if(c===null)return!1;if(b===d)return!0;for(var d=a.getElementsByTagName("*"),i=0;i<d.length;i+=1)if(d[i]===c)return!1;return!0};a.extend(a.core,{render:function(b){var c,e;((c=window[this.id])&&c.FusionCharts&&c.FusionCharts===this||(c=this.ref)&&c.FusionCharts&&c.FusionCharts===this)&&a.renderer.dispose(this);window[this.id]!==
void 0&&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."));c=document.createElement(this.options.containerElementType||"span");e=this.options.insertMode.toLowerCase()||"replace";if(b===void 0)b=this.options.containerElementId;typeof b==="string"&&(b=document.getElementById(b));if(b===void 0||b===null)return a.raiseError(this,
"03091456","run",".render()",Error("Unable to find the container DOM element.")),this;if(d(this.id,b))return a.raiseError(this,"05102109","run",".render()",Error("A duplicate object already exists with the specific Id: "+this.id)),this;c.setAttribute("id",this.id);if(e!=="append"&&e!=="prepend")for(;b.hasChildNodes();)b.removeChild(b.firstChild);e==="prepend"&&b.firstChild?b.insertBefore(c,b.firstChild):b.appendChild(c);this.options.containerElement=b;this.options.containerElementId=b.id;if(e=c.style)e.lineHeight=
"100%",e.display="inline-block",e.zoom="1",e["*DISPLAY"]="inline";a.normalizeCSSDimension(this.width,this.height,c);this.__state.rendering=!0;a.raiseEvent("BeforeRender",{container:b,width:this.width,height:this.height},this);a.renderer.render(this,c,a.renderer.notifyRender);return this},configure:function(b,c){var d;b&&(typeof b==="string"?(d={},d[b]=c):d=b,a.renderer.config(this,d))}},!0);a.extend(a.core,{setCurrentRenderer:a.renderer.setDefault,render:function(){var b=["swfUrl","id","width","height",
"renderAt","dataSource","dataFormat"],c={},d;if(arguments[0]instanceof a.core)return arguments[0].render(),arguments[0];for(d=0;d<arguments.length&&d<b.length;d+=1)c[b[d]]=arguments[d];typeof arguments[arguments.length-1]==="object"&&(delete c[b[d-1]],a.extend(c,arguments[arguments.length-1]));if(c.dataFormat===void 0)c.dataFormat=FusionChartsDataFormats.XMLURL;return(new a.core(c)).render()}},!1)}})();
(function(){var a=FusionCharts(["private","DataHandlerManager"]);if(a!==void 0){window.FusionChartsDataFormats={};var h={},f={},g={},e=/url$/i,c=function(b,c,d,e){var i=!1,q=d.obj,f=d.format,d=d.silent;a.raiseEvent("DataLoadRequestCompleted",{source:"XmlHttpRequest",url:e,data:b,dataFormat:f,cancelDataLoad:function(){i=!0;c.abort();this.cancelDataLoad=function(){return!1};return!0},xmlHttpRequestObject:c.xhr},q);i!==!0?q.setChartData(b,f,d):a.raiseEvent("DataLoadCancelled",{source:"XmlHttpRequest",
url:e,dataFormat:f,xmlHttpRequestObject:c.xhr},q)},d=function(b,c,d,e){d=d.obj;b={source:"XmlHttpRequest",url:e,xmlHttpRequestObject:c.xhr,error:b,httpStatus:c.xhr&&c.xhr.status?c.xhr.status:-1};a.raiseEvent("DataLoadError",b,d);typeof window.FC_DataLoadError==="function"&&window.FC_DataLoadError(d.id,b)};a.policies.options.dataSource=["dataSource",void 0];a.policies.options.dataFormat=["dataFormat",void 0];a.policies.options.dataConfiguration=["dataConfiguration",void 0];a.policies.options.showDataLoadingMessage=
["showDataLoadingMessage",!0];a.addDataHandler=function(b,c){if(typeof b!=="string"||h[b.toLowerCase()]!==void 0)a.raiseError(a.core,"03091606","param","::DataManager.addDataHandler",Error("Invalid Data Handler Name"));else{var d={},e=b.toLowerCase();h[e]=c;d["set"+b+"Url"]=function(a){return this.setChartDataUrl(a,b)};d["set"+b+"Data"]=function(a,c){return this.setChartData(a,b,!1,c)};d["get"+b+"Data"]=function(){return this.getChartData(b)};window.FusionChartsDataFormats[b]=e;window.FusionChartsDataFormats[b+
"URL"]=e+"URL";a.extend(a.core,d,!0)}};a.addEventListener("BeforeInitialize",function(b){b=b.sender;f[b.id]="";g[b.id]={};if(b.options.dataSource!==void 0&&typeof b.options.dataFormat==="string")b.__state.dataSetDuringConstruction=!0,b.setChartData(b.options.dataSource,b.options.dataFormat)});a.addEventListener("BeforeDispose",function(b){var a=b.sender;delete f[b.sender.id];delete g[b.sender.id];a&&a.__state&&a.__state.dhmXhrObj&&a.__state.dhmXhrObj.abort()});a.extend(a.core,{setChartDataUrl:function(b,
j,f){if(j===void 0||j===null||typeof j.toString!=="function")a.raiseError(a.core,"03091609","param",".setChartDataUrl",Error("Invalid Data Format"));else{var j=j.toString().toLowerCase(),g,i=this,q=i.options&&i.options.renderer==="flash"&&i.options.useLegacyXMLTransport||!1;e.test(j)?g=j.slice(0,-3):(g=j,j+="url");a.raiseEvent("DataLoadRequested",{source:"XmlHttpRequest",url:b,dataFormat:g,cancelDataLoadRequest:function(){q=!0;a.raiseEvent("DataLoadRequestCancelled",{source:"XmlHttpRequest",url:b,
dataFormat:g},i);try{this.__state&&this.__state.dhmXhrObj&&this.__state.dhmXhrObj.abort()}catch(c){}this.cancelDataLoadRequest=function(){return!1};return!0}},i);if(q){if(this.__state&&this.__state.dhmXhrObj)try{this.__state.dhmXhrObj.abort()}catch(n){}}else{this.options.dataSource=b;if(!this.__state.dhmXhrObj)this.__state.dhmXhrObj=new a.ajax(c,d);this.__state.dhmXhrObj.get(typeof window.decodeURIComponent==="function"?window.decodeURIComponent(b):window.unescape(b),{obj:this,format:g,silent:f})}}},
setChartData:function(b,c,d){(c===void 0||c===null||typeof c.toString!=="function")&&a.raiseError(a.core,"03091610","param",".setChartData",Error("Invalid Data Format"));var c=c.toString().toLowerCase(),l;if(e.test(c))this.setChartDataUrl(b,c,d);else{this.options.dataSource=b;l=c;this.options.dataFormat=c;var c=h[l],i=!1;if(typeof c==="undefined")a.raiseError(a.core,"03091611","param",".setChartData",Error("Data Format not recognized"));else if(c=c.encode(b,this,this.options.dataConfiguration)||{},
c.format=c.dataFormat=l,c.dataSource=b,c.cancelDataUpdate=function(){i=!0;this.cancelDataUpdate=function(){return!1};return!0},a.raiseEvent("BeforeDataUpdate",c,this),delete c.cancelDataUpdate,i===!0)a.raiseEvent("DataUpdateCancelled",c,this);else{f[this.id]=c.data||"";g[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.")):
(delete this.__state.updatePending,a.renderer.update(this,c));this.__state.dataReady=void 0;a.raiseEvent("DataUpdated",c,this)}}},getChartData:function(b,c){var i;var d;if(b===void 0||typeof b.toString!=="function"||(d=h[b=b.toString().toLowerCase()])===void 0)a.raiseError(this,"25081543","param","~getChartData()",Error('Unrecognized data-format specified in "format"'));else return i=typeof g[this.id][b]==="object"?g[this.id][b]:g[this.id][b]=d.decode(f[this.id],this,this.options.dataConfiguration),
d=i,Boolean(c)===!0?d:d.data},dataReady:function(){return this.__state.dataReady}},!0);a.extend(a.core,{transcodeData:function(b,c,d,e,i){if(!c||typeof c.toString!=="function"||!d||typeof d.toString!=="function"||h[d=d.toString().toLowerCase()]===void 0||h[c=c.toString().toLowerCase()]===void 0)a.raiseError(this,"14090217","param","transcodeData()",Error("Unrecognized data-format specified during transcoding."));else{b=h[c].encode(b,this,i);d=h[d].decode(b.data,this,i);if(!(d.error instanceof Error))d.error=
b.error;return e?d:d.data}}},!1);a.addEventListener("Disposed",function(b){delete g[b.sender.id]});a.addEventListener("Loaded",function(b){b=b.sender;b instanceof a.core&&b.__state.updatePending!==void 0&&(a.renderer.update(b,b.__state.updatePending),delete b.__state.updatePending)});a.addEventListener("NoDataToDisplay",function(b){b.sender.__state.dataReady=!1})}})();
var swfobject=window.swfobject=function(){function a(){if(!B){try{var b=p.getElementsByTagName("body")[0].appendChild(p.createElement("span"));b.parentNode.removeChild(b)}catch(a){return}B=!0;for(var b=E.length,c=0;c<b;c++)E[c]()}}function h(b){B?b():E[E.length]=b}function f(b){if(typeof v.addEventListener!=r)v.addEventListener("load",b,!1);else if(typeof p.addEventListener!=r)p.addEventListener("load",b,!1);else if(typeof v.attachEvent!=r)n(v,"onload",b);else if(typeof v.onload=="function"){var a=
v.onload;v.onload=function(){a();b()}}else v.onload=b}function g(){var b=p.getElementsByTagName("body")[0],a=p.createElement(w);a.setAttribute("type",y);var c=b.appendChild(a);if(c){var d=0;(function(){if(typeof c.GetVariable!=r){var i;try{i=c.GetVariable("$version")}catch(q){}if(i)i=i.split(" ")[1].split(","),m.pv=[parseInt(i[0],10),parseInt(i[1],10),parseInt(i[2],10)]}else if(d<10){d++;setTimeout(arguments.callee,10);return}b.removeChild(a);c=null;e()})()}else e()}function e(){var a=z.length;if(a>
0)for(var i=0;i<a;i++){var e=z[i].id,f=z[i].callbackFn,g={success:!1,id:e};if(m.pv[0]>0){var k=q(e);if(k)if(o(z[i].swfVersion)&&!(m.wk&&m.wk<312)){if(t(e,!0),f)g.success=!0,g.ref=c(e),f(g)}else if(z[i].expressInstall&&d()){g={};g.data=z[i].expressInstall;g.width=k.getAttribute("width")||"0";g.height=k.getAttribute("height")||"0";if(k.getAttribute("class"))g.styleclass=k.getAttribute("class");if(k.getAttribute("align"))g.align=k.getAttribute("align");for(var n={},k=k.getElementsByTagName("param"),
h=k.length,l=0;l<h;l++)k[l].getAttribute("name").toLowerCase()!="movie"&&(n[k[l].getAttribute("name")]=k[l].getAttribute("value"));b(g,n,e,f)}else j(k),f&&f(g)}else if(t(e,!0),f){if((e=c(e))&&typeof e.SetVariable!=r)g.success=!0,g.ref=e;f(g)}}}function c(b){var a,c=null;if(!document.embeds||!(a=document.embeds[b]))if(!((a=q(b))&&a.nodeName=="OBJECT"))a=window[b];if(!a)return c;typeof a.SetVariable!=r?c=a:(b=a.getElementsByTagName(w)[0])&&(c=b);return c}function d(){return!F&&o("6.0.65")&&(m.win||
m.mac)&&!(m.wk&&m.wk<312)}function b(b,a,c,d){F=!0;I=d||null;K={success:!1,id:c};var i=q(c);if(i){i.nodeName=="OBJECT"?(D=k(i),G=null):(D=i,G=c);b.id=L;if(typeof b.width==r||!/%$/.test(b.width)&&parseInt(b.width,10)<310)b.width="310";if(typeof b.height==r||!/%$/.test(b.height)&&parseInt(b.height,10)<137)b.height="137";p.title=p.title.slice(0,47)+" - Flash Player Installation";d=m.ie&&m.win?"ActiveX":"PlugIn";d="MMredirectURL="+v.location.toString().replace(/&/g,"%26")+"&MMplayerType="+d+"&MMdoctitle="+
p.title;typeof a.flashvars!=r?a.flashvars+="&"+d:a.flashvars=d;if(m.ie&&m.win&&i.readyState!=4)d=p.createElement("div"),c+="SWFObjectNew",d.setAttribute("id",c),i.parentNode.insertBefore(d,i),i.style.display="none",function(){i.readyState==4?i.parentNode.removeChild(i):setTimeout(arguments.callee,10)}();l(b,a,c)}}function j(b){if(m.ie&&m.win&&b.readyState!=4){var a=p.createElement("div");b.parentNode.insertBefore(a,b);a.parentNode.replaceChild(k(b),a);b.style.display="none";(function(){b.readyState==
4?b.parentNode.removeChild(b):setTimeout(arguments.callee,10)})()}else b.parentNode.replaceChild(k(b),b)}function k(b){var a=p.createElement("div");if(m.win&&m.ie)a.innerHTML=b.innerHTML;else if(b=b.getElementsByTagName(w)[0])if(b=b.childNodes)for(var c=b.length,d=0;d<c;d++)!(b[d].nodeType==1&&b[d].nodeName=="PARAM")&&b[d].nodeType!=8&&a.appendChild(b[d].cloneNode(!0));return a}function l(b,a,c){var d,c=q(c);if(m.wk&&m.wk<312)return d;if(c){if(typeof b.id==r)b.id=c.id;if(m.ie&&m.win){var i="",e;for(e in b)if(b[e]!=
Object.prototype[e])e.toLowerCase()=="data"?a.movie=b[e]:e.toLowerCase()=="styleclass"?i+=' class="'+b[e]+'"':e.toLowerCase()!="classid"&&(i+=" "+e+'="'+b[e]+'"');e="";for(var f in a)a[f]!=Object.prototype[f]&&(e+='<param name="'+f+'" value="'+a[f]+'" />');c.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+i+">"+e+"</object>";H[H.length]=b.id;d=q(b.id)}else{f=p.createElement(w);f.setAttribute("type",y);for(var j in b)b[j]!=Object.prototype[j]&&(j.toLowerCase()=="styleclass"?
f.setAttribute("class",b[j]):j.toLowerCase()!="classid"&&f.setAttribute(j,b[j]));for(i in a)a[i]!=Object.prototype[i]&&i.toLowerCase()!="movie"&&(b=f,e=i,j=a[i],d=p.createElement("param"),d.setAttribute("name",e),d.setAttribute("value",j),b.appendChild(d));c.parentNode.replaceChild(f,c);d=f}}return d}function i(b){var a=q(b);if(a&&a.nodeName=="OBJECT")m.ie&&m.win?(a.style.display="none",function(){if(a.readyState==4){var c=q(b);if(c){for(var d in c)typeof c[d]=="function"&&(c[d]=null);c.parentNode.removeChild(c)}}else setTimeout(arguments.callee,
10)}()):a.parentNode.removeChild(a)}function q(b){var a=null;try{a=p.getElementById(b)}catch(c){}return a}function n(b,a,c){b.attachEvent(a,c);C[C.length]=[b,a,c]}function o(b){var a=m.pv,b=b.split(".");b[0]=parseInt(b[0],10);b[1]=parseInt(b[1],10)||0;b[2]=parseInt(b[2],10)||0;return a[0]>b[0]||a[0]==b[0]&&a[1]>b[1]||a[0]==b[0]&&a[1]==b[1]&&a[2]>=b[2]?!0:!1}function u(b,a,c,d){if(!m.ie||!m.mac){var i=p.getElementsByTagName("head")[0];if(i){c=c&&typeof c=="string"?c:"screen";d&&(J=x=null);if(!x||J!=
c)d=p.createElement("style"),d.setAttribute("type","text/css"),d.setAttribute("media",c),x=i.appendChild(d),m.ie&&m.win&&typeof p.styleSheets!=r&&p.styleSheets.length>0&&(x=p.styleSheets[p.styleSheets.length-1]),J=c;m.ie&&m.win?x&&typeof x.addRule==w&&x.addRule(b,a):x&&typeof p.createTextNode!=r&&x.appendChild(p.createTextNode(b+" {"+a+"}"))}}}function t(b,a){if(M){var c=a?"visible":"hidden";B&&q(b)?q(b).style.visibility=c:u("#"+b,"visibility:"+c)}}function s(b){return/[\\\"<>\.;]/.exec(b)!=null&&
typeof encodeURIComponent!=r?encodeURIComponent(b):b}var r="undefined",w="object",y="application/x-shockwave-flash",L="SWFObjectExprInst",v=window,p=document,A=navigator,N=!1,E=[function(){N?g():e()}],z=[],H=[],C=[],D,G,I,K,B=!1,F=!1,x,J,M=!0,m=function(){var b=typeof p.getElementById!=r&&typeof p.getElementsByTagName!=r&&typeof p.createElement!=r,a=A.userAgent.toLowerCase(),c=A.platform.toLowerCase(),d=c?/win/.test(c):/win/.test(a),c=c?/mac/.test(c):/mac/.test(a),a=/webkit/.test(a)?parseFloat(a.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,
"$1")):!1,i=!+"\u000b1",e=[0,0,0],f=null;if(typeof A.plugins!=r&&typeof A.plugins["Shockwave Flash"]==w){if((f=A.plugins["Shockwave Flash"].description)&&!(typeof A.mimeTypes!=r&&A.mimeTypes[y]&&!A.mimeTypes[y].enabledPlugin))N=!0,i=!1,f=f.replace(/^.*\s+(\S+\s+\S+$)/,"$1"),e[0]=parseInt(f.replace(/^(.*)\..*$/,"$1"),10),e[1]=parseInt(f.replace(/^.*\.(.*)\s.*$/,"$1"),10),e[2]=/[a-zA-Z]/.test(f)?parseInt(f.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),10):0}else if(typeof v.ActiveXObject!=r)try{var q=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");
if(q){try{f=q.GetVariable("$version")}catch(j){}f&&(i=!0,f=f.split(" ")[1].split(","),e=[parseInt(f[0],10),parseInt(f[1],10),parseInt(f[2],10)])}}catch(g){}return{w3:b,pv:e,wk:a,ie:i,win:d,mac:c}}();(function(){m.w3&&((typeof p.readyState!=r&&p.readyState=="complete"||typeof p.readyState==r&&(p.getElementsByTagName("body")[0]||p.body))&&a(),B||(typeof p.addEventListener!=r&&p.addEventListener("DOMContentLoaded",a,!1),m.ie&&m.win&&(p.attachEvent("onreadystatechange",function(){p.readyState=="complete"&&
(p.detachEvent("onreadystatechange",arguments.callee),a())}),v==top&&function(){if(!B){try{p.documentElement.doScroll("left")}catch(b){setTimeout(arguments.callee,0);return}a()}}()),m.wk&&function(){B||(/loaded|complete/.test(p.readyState)?a():setTimeout(arguments.callee,0))}(),f(a)))})();(function(){m.ie&&m.win&&window.attachEvent("onunload",function(){for(var b=C.length,a=0;a<b;a++)C[a][0].detachEvent(C[a][1],C[a][2]);b=H.length;for(a=0;a<b;a++)i(H[a]);for(var c in m)m[c]=null;m=null;for(var d in swfobject)swfobject[d]=
null;swfobject=null})})();return{FusionChartsModified:!0,registerObject:function(b,a,c,d){if(m.w3&&b&&a){var i={};i.id=b;i.swfVersion=a;i.expressInstall=c;i.callbackFn=d;z[z.length]=i;t(b,!1)}else d&&d({success:!1,id:b})},getObjectById:function(b){if(m.w3)return c(b)},embedSWF:function(a,c,i,e,f,q,j,g,k,n){var u={success:!1,id:c};m.w3&&!(m.wk&&m.wk<312)&&a&&c&&i&&e&&f?(t(c,!1),h(function(){i+="";e+="";var h={};if(k&&typeof k===w)for(var m in k)h[m]=k[m];h.data=a;h.width=i;h.height=e;m={};if(g&&typeof g===
w)for(var p in g)m[p]=g[p];if(j&&typeof j===w)for(var s in j)typeof m.flashvars!=r?m.flashvars+="&"+s+"="+j[s]:m.flashvars=s+"="+j[s];if(o(f))p=l(h,m,c),h.id==c&&t(c,!0),u.success=!0,u.ref=p;else if(q&&d()){h.data=q;b(h,m,c,n);return}else t(c,!0);n&&n(u)})):n&&n(u)},switchOffAutoHideShow:function(){M=!1},ua:m,getFlashPlayerVersion:function(){return{major:m.pv[0],minor:m.pv[1],release:m.pv[2]}},hasFlashPlayerVersion:o,createSWF:function(b,a,c){if(m.w3)return l(b,a,c)},showExpressInstall:function(a,
c,i,e){m.w3&&d()&&b(a,c,i,e)},removeSWF:function(b){m.w3&&i(b)},createCSS:function(b,a,c,d){m.w3&&u(b,a,c,d)},addDomLoadEvent:h,addLoadEvent:f,getQueryParamValue:function(b){var a=p.location.search||p.location.hash;if(a){/\?/.test(a)&&(a=a.split("?")[1]);if(b==null)return s(a);for(var a=a.split("&"),c=0;c<a.length;c++)if(a[c].substring(0,a[c].indexOf("="))==b)return s(a[c].substring(a[c].indexOf("=")+1))}return""},expressInstallCallback:function(){if(F){var b=q(L);if(b&&D){b.parentNode.replaceChild(D,
b);if(G&&(t(G,!0),m.ie&&m.win))D.style.display="block";I&&I(K)}F=!1}}}}();
(function(){var a=FusionCharts(["private","FlashRenderer"]);if(a!==void 0){try{a.swfobject=window.swfobject,window.swfobject.createCSS("object.FusionCharts:focus, embed.FusionCharts:focus","outline: none")}catch(h){}a.core.options.requiredFlashPlayerVersion="8";a.core.options.flashInstallerUrl="http://get.adobe.com/flashplayer/";a.core.options.installRedirectMessage="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(c){if(typeof c==="undefined")c=a.core.options.requiredFlashPlayerVersion;return window.swfobject?window.swfobject.hasFlashPlayerVersion(c):void 0};var f=!1,g=function(c,d){if(!(d&&d.source==="XmlHttpRequest")){var b=c.sender;if(b.ref&&typeof b.ref.dataInvokedOnSWF==="function"&&b.ref.dataInvokedOnSWF()&&typeof b.ref.getXML==="function")a.raiseWarning(b,"08300116","run","::DataHandler~__fusioncharts_vars","Data was SET in UTF unsafe manner"),b.setChartData(window.unescape(c.sender.ref.getXML({escaped:!0})),
FusionChartsDataFormats.XML,!0),b.flashVars.dataXML=b.getChartData(FusionChartsDataFormats.XML),delete b.flashVars.dataURL;c.sender.removeEventListener("DataLoaded",g)}};window.__fusioncharts_dimension=function(){var c=/.*?\%\s*?$/g;return function(d){var b,e;b.__state.flashInvokedDimensionRequest=!0;return!((b=a.core(d))instanceof a.core&&b.ref&&(e=b.ref.parentNode))?{}:{width:e.offsetWidth*(c.test(b.width)?parseInt(b.width,10)/100:1),height:e.offsetHeight*(c.test(b.height)?parseInt(b.height,10)/
100:1)}}}();window.__fusioncharts_vars=function(c,d){var b=a.core.items[c];if(!(b instanceof a.core))return setTimeout(function(){var b;if(b=c!==void 0){var d=window.swfobject.getObjectById(c),e,i,f;b={};var g;if(!d&&typeof d.tagName!=="string")b=void 0;else{if((e=d.parentNode)&&e.tagName&&e.tagName.toLowerCase()==="object"&&e.parentNode)e=e.parentNode;if(e){b.renderAt=e;if(!(d.tagName!=="OBJECT"&&d.getAttribute&&(g=d.getAttribute("flashvars")||""))&&d.hasChildNodes&&d.hasChildNodes()){f=d.childNodes;
e=0;for(d=f.length;e<d;e+=1)if(f[e].tagName==="PARAM"&&(i=f[e].getAttribute("name"))&&i.toLowerCase()==="flashvars")g=f[e].getAttribute("value")||""}if(g&&typeof g.toString==="function"){g=g.split(/\=|&/g);b.flashVars={};e=0;for(d=g.length;e<d;e+=2)b.flashVars[g[e]]=g[e+1]}}else b=void 0}}b||a.raiseError(a.core,"25081621","run","::FlashRenderer","FusionCharts Flash object is accessing flashVars of non-existent object.")},0),!1;if(typeof d==="object"){if(b.ref&&typeof b.ref.dataInvokedOnSWF==="function"&&
b.ref.dataInvokedOnSWF()){if(d.dataURL!==void 0)b.addEventListener("DataLoaded",g);else if(d.dataXML!==void 0)d.dataXML=window.unescape(d.dataXML);b.__state.flashUpdatedFlashVars=!0}else delete d.dataURL,delete d.dataXML;a.extend(b.flashVars,d);return!0}if(b.__state.dataSetDuringConstruction&&b.flashVars.dataXML===void 0&&b.options.dataSource!==void 0&&typeof b.options.dataFormat==="string")b.flashVars.dataXML=b.options.dataSource;b.__state.flashInvokedFlashVarsRequest=!0;return b.flashVars};window.__fusioncharts_event=
function(c,d){setTimeout(function(){a.raiseEvent(c.type,d,a.core.items[c.sender])},0)};var e=function(c){c=c.sender;if(c.options.renderer==="flash"){if(c.width===void 0)c.width=a.renderer.policies.flashVars.chartWidth[1];if(c.height===void 0)c.height=a.renderer.policies.flashVars.chartHeight[1];if(c.flashVars.DOMId===void 0)c.flashVars.DOMId=c.id;a.extend(c.flashVars,{registerWithJS:"1",chartWidth:c.width,chartHeight:c.height,InvalidXMLText:"Invalid data."});if(Boolean(c.options.autoInstallRedirect)===
!0&&!window.swfobject.hasFlashPlayerVersion(a.core.options.requiredFlashPlayerVersion.toString())&&f===!1&&(f=!0,window.confirm(a.core.options.installRedirectMessage)))window.location.href=a.core.options.flashInstallerUrl;if(c.options.dataFormat===void 0&&c.options.dataSource===void 0)c.options.dataFormat=FusionChartsDataFormats.XMLURL,c.options.dataSource="Data.xml"}};a.renderer.register("flash",{dataFormat:"xml",init:function(){a.addEventListener("BeforeInitialize",e)},policies:{params:{scaleMode:["scaleMode",
"noScale"],scale:["scaleMode","noScale"],wMode:["wMode","opaque"],menu:["menu",void 0],bgColor:["bgColor",void 0],allowScriptAccess:["allowScriptAccess","always"],quality:["quality","best"],swLiveConnect:["swLiveConnect",void 0],base:["base",void 0],align:["align",void 0],salign:["sAlign",void 0]},flashVars:{lang:["lang","EN"],debugMode:["debugMode",void 0],scaleMode:["scaleMode","noScale"],animation:["animate",void 0]},options:{autoInstallRedirect:["autoInstallRedirect",!1],useLegacyXMLTransport:["_useLegacyXMLTransport",
!1]}},render:function(c,d){Boolean(this.flashVars.animation)===!0&&delete this.flashVars.animation;this.src||a.raiseError(this,"03102348","run","::FlashRenderer.render",'Could not find a valid "src" attribute. swfUrl or chart type missing.');var b={},e=this.flashVars.dataXML,f=this.flashVars.dataURL;a.extend(b,this.flashVars);if(this.flashVars.stallLoad===!0){if(this.options.dataFormat===FusionChartsDataFormats.XML)e=this.options.dataSource;if(this.options.dataFormat===FusionChartsDataFormats.XMLURL)f=
this.options.dataSource}if(a.core.debugMode.enabled()&&a.core.debugMode.syncStateWithCharts&&b.debugMode===void 0&&this.options.safeMode)b.debugMode="1";this.__state.lastRenderedSrc=this.src;b.dataXML=(typeof window.encodeURIComponent==="function"?window.encodeURIComponent(e):window.escape(e))||"";b.dataURL=a.isXSSSafe(f)?f||"":(typeof window.encodeURIComponent==="function"?window.encodeURIComponent(f):window.escape(f))||"";if(!window.swfobject||!window.swfobject.embedSWF||!window.swfobject.FusionChartsModified)window.swfobject=
a.swfobject;window.swfobject&&window.swfobject.embedSWF?window.swfobject.embedSWF(this.src,c.id,this.width,this.height,a.core.options.requiredFlashPlayerVersion,void 0,b,this.params,this.attributes,d):a.raiseError(this,"1113061611","run","FlashRenderer~render",Error("Could not find swfobject library or embedSWF API"))},update:function(a){var d=this.ref,b=a.data;this.flashVars.dataXML=b;a.error===void 0?this.isActive()&&typeof d.setDataXML==="function"?this.src!==this.__state.lastRenderedSrc?this.render():
d.setDataXML(b,!1):(delete this.flashVars.dataURL,delete this.flashVars.animation):this.isActive()&&typeof d.showChartMessage==="function"?d.showChartMessage("InvalidXMLText"):(this.flashVars.dataXML="<Invalid"+a.format.toUpperCase()+">",delete this.flashVars.dataURL,delete this.flashVars.animation)},resize:function(){this.flashVars.chartWidth=this.width;this.flashVars.chartHeight=this.height;if(this.ref!==void 0)this.ref.width=this.width,this.ref.height=this.height,typeof this.ref.resize==="function"&&
this.ref.resize(this.ref.offsetWidth,this.ref.offsetHeight)},config:function(c){a.extend(this.flashVars,c)},dispose:function(){var a;window.swfobject.removeSWF(this.id);(a=this.ref)&&a.parentNode&&a.parentNode.removeChild(a)},protectedMethods:{flashVars:!0,params:!0,setDataXML:!0,setDataURL:!0,hasRendered:!0,getXML:!0,getDataAsCSV:!0,print:!0,exportChart:!0},events:{Loaded:function(a){a.sender.flashVars.animation="0"},DataLoadRequested:function(c,d){var b=c.sender,e=d.url,f=!1;if(d.dataFormat===FusionChartsDataFormats.XML&&
(window.location.protocol==="file:"&&Boolean(b.options.safeMode)||Boolean(b.options.useLegacyXMLTransport)))b.ref?b.ref.setDataURL?b.ref.setDataURL(e,!1):a.raiseError(this,"0109112330","run",">FlashRenderer^DataLoadRequested",Error("Unable to fetch URL due to security restriction on Flash Player. Update global security settings.")):b.flashVars.dataURL=e,c.stopPropagation(),f=!0,d.cancelDataLoadRequest(),b.addEventListener("DataLoaded",g);if(b.ref&&b.showChartMessage)delete b.flashVars.stallLoad,b.options.showDataLoadingMessage&&
b.ref.showChartMessage("XMLLoadingText");else if(!f)b.flashVars.stallLoad=!0},DataLoadRequestCancelled:function(a){a=a.sender;a.ref&&typeof a.showChartMessage==="function"&&a.ref.showChartMessage();delete a.flashVars.stallLoad},DataLoadError:function(a,d){var b=a.sender;b.ref&&typeof b.ref.showChartMessage==="function"&&d.source==="XmlHttpRequest"?b.ref.showChartMessage("LoadDataErrorText"):(delete b.flashVars.dataURL,b.flashVars.dataXML="<JSON parsing error>",delete b.flashVars.stallLoad)},DataLoadRequestCompleted:function(a,
d){d.source==="XmlHttpRequest"&&delete a.sender.flashVars.stallLoad}},prototype:{getSWFHTML:function(){var a=document.createElement("span"),d=document.createElement("span"),b="RnVzaW9uQ2hhcnRz"+(new Date).getTime();a.appendChild(d);d.setAttribute("id",b);a.style.display="none";document.getElementsByTagName("body")[0].appendChild(a);window.swfobject.embedSWF(this.src,b,this.width,this.height,"8.0.0",void 0,this.flashVars,this.params,this.attrs);d=a.innerHTML.replace(b,this.id);window.swfobject.removeSWF(b);
a.parentNode.removeChild(a);return d},setTransparent:function(a){typeof a!=="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(c){a.raiseWarning(this,"11033001081","run","GenericRuntime~setDataXML()",'Use of deprecated "setDataXML()". Replace with "setXMLData()".');
c===void 0||c===null||typeof c.toString!=="function"?a.raiseError(this,"25081627","param","~setDataXML",'Invalid data type for parameter "xml"'):this.ref===void 0||this.ref===null||typeof this.ref.setDataXML!=="function"?this.setChartData(c.toString(),FusionChartsDataFormats.XML):this.ref.setDataXML(c.toString())},setDataURL:function(c){a.raiseWarning(this,"11033001082","run","GenericRuntime~setDataURL()",'Use of deprecated "setDataURL()". Replace with "setXMLUrl()".');c===void 0||c===null||typeof c.toString!==
"function"?a.raiseError(this,"25081724","param","~setDataURL",'Invalid data type for parameter "url"'):this.ref===void 0||this.ref===null||typeof this.ref.setDataURL!=="function"?this.setChartData(c.toString(),FusionChartsDataFormats.XMLURL):this.ref.setDataURL(c.toString())}}});a.renderer.setDefault("flash")}})();
(function(){var a;a=FusionCharts(["private","modules.renderer.highcharts"]);if(a!==void 0){a.core.options.jQuerySourceFileName="jquery.min.js";var h=function(){},f=a.hcLib={cmdQueue:[],moduleCmdQueue:{jquery:[],base:[],charts:[],powercharts:[],widgets:[],maps:[]}},g=f.chartAPI=function(){},e=f.moduleDependencies={},c=f.moduleMeta={jquery:"jquery.min.js",base:"FusionCharts.HC.js",charts:"FusionCharts.HC.Charts.js",powercharts:"FusionCharts.HC.PowerCharts.js",widgets:"FusionCharts.HC.Widgets.js",maps:"FusionCharts.HC.Maps.js"},
d={};f.getDependentModuleName=function(b){var a,c,d=[];for(a in e)if((c=e[a][b])!==void 0)d[c]=a;return d};var b=f.hasModule=function(b){var c,d;if(b instanceof Array){c=0;for(d=b.length;c<d;c+=1)if(!Boolean(a.modules["modules.renderer.highcharts-"+b])||b==="jquery"&&!Boolean(window.jQuery))return!1;return!0}if(b==="jquery")return Boolean(window.jQuery);return Boolean(a.modules["modules.renderer.highcharts-"+b])},j=f.loadModule=function(i,e,f,j){i instanceof Array||(i=[i]);var g=i.length,k=0,h=function(){if(k>=
g)e&&e();else{var l=i[k],w=c[l],y;k+=1;if(l)if(b(l)){h();return}else{if(d[l]){a.raiseError(j||a.core,"1112201445A","run","JavaScriptRenderer~loadModule() ","required resources are absent and also blocked from loading.");f&&f(l);return}}else f&&f(l);y=l==="jquery"?a.core.options.jQuerySourceFileName:a.core.options["html5"+l+"Src"];a.loadScript(y==void 0?w:y,{success:function(){b(l)?h():f&&f(l)},failure:f&&function(){f(l)}},void 0,!0)}};h()},k=f.executeWaitingCommands=function(b){for(var a;a=b.shift();)typeof a===
"object"&&h[a.cmd].apply(a.obj,a.args)},l=function(){var b=function(){};b.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.",LoadingText:"Loading chart. Please wait",RenderChartErrorText:"Unable to render chart."};return b.prototype.constructor=b}();h.dataFormat="json";h.policies={jsVars:{},options:{showLoadingMessage:["showLoadingMessage",
!0]}};h.init=function(){window.jQuery?b("base")?h.ready=!0:j("base",function(){h.ready=!0;k(f.cmdQueue)},void 0,a.core):j("jquery",function(){jQuery.noConflict();if(window.$===void 0)window.$=jQuery;h.init()},void 0,a.core)};h.render=function(b){var a=this.jsVars.msgStore;if(this.options.showLoadingMessage)b.innerHTML='<small style="display: inline-block; *zoom:1; *display:inline; width: 100%; font-family: Verdana; font-size: 10px; color: #666666; text-align: center; padding-top: '+(parseInt(b.style.height,
10)/2-5)+'px">'+a.LoadingText+"</small>";f.cmdQueue.push({cmd:"render",obj:this,args:arguments})};h.update=function(){f.cmdQueue.push({cmd:"update",obj:this,args:arguments})};h.resize=function(){f.cmdQueue.push({cmd:"resize",obj:this,args:arguments})};h.dispose=function(){var b=f.cmdQueue,a,c;a=0;for(c=b.length;a<c;a+=1)b[a].obj===this&&(b.splice(a,1),c-=1,a-=1)};h.config=function(){f.cmdQueue.push({cmd:"config",obj:this,args:arguments})};h.load=function(){f.cmdQueue.push({cmd:"load",obj:this,args:arguments})};
h.protectedMethods={};h.events={BeforeInitialize:function(b){var b=b.sender,a=b.jsVars,c=this.chartType();a.fcObj=b;a.msgStore=a.msgStore||new l;a.cfgStore=a.cfgStore||{};a.drawCount=0;g[c]||h.load.call(b)},DataLoadRequested:function(b){var b=b.sender,a=b.jsVars;delete a.loadError;b.ref&&b.options.showDataLoadingMessage?a.hcObj&&!a.hasNativeMessage&&a.hcObj.showLoading?a.hcObj.showLoading(a.msgStore.XMLLoadingText):b.ref.showChartMessage?b.ref.showChartMessage("XMLLoadingText"):a.stallLoad=!0:a.stallLoad=
!0},DataLoadRequestCompleted:function(b){delete b.sender.id.stallLoad},DataLoadError:function(b){var b=b.sender,a=b.jsVars;delete a.stallLoad;a.loadError=!0;b.ref&&typeof b.ref.showChartMessage==="function"&&b.ref.showChartMessage("LoadDataErrorText")}};a.extend(h.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()".');return this.getXMLData.apply(this,arguments)},setDataXML:function(){a.raiseWarning(this,"11171116292","run","JavaScriptRenderer~setDataXML()",'Use of deprecated "setDataXML()". Replace with "setXMLData()".');return this.setXMLData.apply(this,
arguments)},setDataURL:function(){a.raiseWarning(this,"11171116293","run","JavaScriptRenderer~setDataURL()",'Use of deprecated "SetDataURL()". Replace with "setXMLUrl()".');return this.setXMLUrl.apply(this,arguments)},hasRendered:function(){return this.jsVars.hcObj&&this.jsVars.hcObj.hasRendered},setTransparent:function(b){var a;if(a=this.jsVars)typeof b!=="boolean"&&b!==null&&(b=!0),a.transparent=b===null?!1:b===!0?!0:!1}});a.extend(a.core,{_fallbackJSChartWhenNoFlash:function(){window.swfobject.hasFlashPlayerVersion(a.core.options.requiredFlashPlayerVersion)||
a.renderer.setDefault("javascript")},_enableJSChartsForSelectedBrowsers:function(b){b===void 0||b===null||a.renderer.setDefault(RegExp(b).test(navigator.userAgent)?"javascript":"flash")},_doNotLoadExternalScript:function(b){var a,e;for(a in b)e=a.toLowerCase(),c[e]&&(d[e]=Boolean(b[a]))},_preloadJSChartModule:function(){throw"NotImplemented()";}});a.renderer.register("javascript",h);window.swfobject&&window.swfobject.hasFlashPlayerVersion&&!window.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(){var a=FusionCharts(["private","XMLDataHandler"]);if(a!==void 0){var h=function(a){return{data:a,error:void 0}};a.addDataHandler("XML",{encode:h,decode:h});var f=a._interactiveCharts={selectscatter:[!0,!1],dragcolumn2d:[!0,!0],dragarea:[!0,!0],dragline:[!0,!0],dragnode:[!0,!0]},g=function(a){if(a===!1&&typeof this.constructor.prototype.getXMLData==="function")return this.constructor.prototype.getXMLData.apply(this);return this.ref.getXMLData()};a.addEventListener("Loaded",function(a){a=
a.sender;if(a.chartType&&f[a.chartType()]&&f[a.chartType()][0]&&a.options&&a.options.renderer==="flash")a.getXMLData=g})}})();var JSON;JSON||(JSON={});
(function(){function a(b){return b<10?"0"+b:b}function h(a){e.lastIndex=0;return e.test(a)?'"'+a.replace(e,function(a){var c=b[a];return typeof c==="string"?c:"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+a+'"'}function f(b,a){var e,g,n,o,u=c,t,s=a[b];s&&typeof s==="object"&&typeof s.toJSON==="function"&&(s=s.toJSON(b));typeof j==="function"&&(s=j.call(a,b,s));switch(typeof s){case "string":return h(s);case "number":return isFinite(s)?String(s):"null";case "boolean":case "null":return String(s);
case "object":if(!s)return"null";c+=d;t=[];if(Object.prototype.toString.apply(s)==="[object Array]"){o=s.length;for(e=0;e<o;e+=1)t[e]=f(e,s)||"null";n=t.length===0?"[]":c?"[\n"+c+t.join(",\n"+c)+"\n"+u+"]":"["+t.join(",")+"]";c=u;return n}if(j&&typeof j==="object"){o=j.length;for(e=0;e<o;e+=1)typeof j[e]==="string"&&(g=j[e],(n=f(g,s))&&t.push(h(g)+(c?": ":":")+n))}else for(g in s)Object.prototype.hasOwnProperty.call(s,g)&&(n=f(g,s))&&t.push(h(g)+(c?": ":":")+n);n=t.length===0?"{}":c?"{\n"+c+t.join(",\n"+
c)+"\n"+u+"}":"{"+t.join(",")+"}";c=u;return n}}if(typeof Date.prototype.toJSON!=="function")Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+a(this.getUTCMonth()+1)+"-"+a(this.getUTCDate())+"T"+a(this.getUTCHours())+":"+a(this.getUTCMinutes())+":"+a(this.getUTCSeconds())+"Z":null},String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(){return this.valueOf()};var g=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,
e=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,c,d,b={"\u0008":"\\b","\t":"\\t","\n":"\\n","\u000c":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},j;if(typeof JSON.stringify!=="function")JSON.stringify=function(b,a,e){var g;d=c="";if(typeof e==="number")for(g=0;g<e;g+=1)d+=" ";else typeof e==="string"&&(d=e);if((j=a)&&typeof a!=="function"&&(typeof a!=="object"||typeof a.length!=="number"))throw Error("JSON.stringify");return f("",
{"":b})};if(typeof JSON.parse!=="function")JSON.parse=function(b,a){function c(b,d){var e,f,g=b[d];if(g&&typeof g==="object")for(e in g)Object.prototype.hasOwnProperty.call(g,e)&&(f=c(g,e),f!==void 0?g[e]=f:delete g[e]);return a.call(b,d,g)}var d,b=String(b);g.lastIndex=0;g.test(b)&&(b=b.replace(g,function(b){return"\\u"+("0000"+b.charCodeAt(0).toString(16)).slice(-4)}));if(/^[\],:{}\s]*$/.test(b.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,
"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return d=eval("("+b+")"),typeof a==="function"?c({"":d},""):d;throw new SyntaxError("JSON.parse");}})();
(function(){var a=FusionCharts(["private","JSON_DataHandler"]);if(a!==void 0){window.JSON===void 0&&a.raiseError(this,"1113062012","run","JSONDataHandler",Error("Could not find library support for JSON parsing."));var h=function(a){if(a===null||a===void 0||typeof a.toString!=="function")return"";return a=a.toString().replace(/&/g,"&amp;").replace(/\'/g,"&#39;").replace(/\"/g,"&quot;").replace(/</g,"&lt;").replace(/>/g,"&gt;")},f=function(){var e={arr:{set:!0,trendlines:!0,vtrendlines:!0,line:{trendlines:!0,
vtrendlines:!0},data:!0,dataset:!0,lineset:!0,categories:!0,category:!0,linkeddata:!0,application:!0,definition:!0,axis:!0,connectors:!0,connector:{connectors:!0},trendset:!0,row:{rows:!0},column:{columns:!0},label:{labels:!0},color:{colorrange:!0},dial:{dials:!0},pointer:{pointers:!0},point:{trendpoints:!0},process:{processes:!0},task:{tasks:!0},milestone:{milestones:!0},datacolumn:{datatable:!0},text:{datacolumn:!0},alert:{alerts:!0},groups:{annotations:!0},items:{groups:!0}},tag:{chart:"linkedchart",
map:"linkedmap",graph:"linkedgraph",set:"data",vline:{chart:"data",graph:"data",dataset:"data",categories:"category",linkedchart:"data",linkedgraph:"data"},apply:{application:"application"},style:{definition:"definition"},annotationgroup:{annotations:"groups"},annotation:{groups:"items"}},attr:{vline:{vline:"true"}},ins:{chart:!0,map:!0,graph:!0},dsv:{dataset:"data",categories:"category"},text:{target:"target",value:"value"},group:{styles:{definition:!0,application:!0},chart:{value:!0,target:!0}}},
c={append:function(b,a,c,d){e.arr[c]&&(e.arr[c]===!0||e.arr[c][d]===!0)?(a[c]instanceof Array||(a[c]=[]),a[c].push(b)):a[c]=b},child:function(b,d,f,g){var i,h,n,o;for(i=0;i<d.length;i+=1)switch(h=d[i].nodeName.toLowerCase(),d[i].nodeType){case 1:n=c.attr(d[i].attributes);o=e.ins[h];o===!0&&(o=n,n={},n[h]=o);o=e.attr[h];typeof o==="object"&&a.extend(n,o);if(o=e.tag[h])typeof o==="object"&&typeof o[f]==="string"&&(h=o[f]),typeof o==="string"&&(h=o);d[i].childNodes.length&&((o=e.group[f])&&o[h]?c.child(b,
d[i].childNodes,h,g):c.child(n,d[i].childNodes,h,g));o=e.group[f];(!o||!o[h])&&c.append(n,b,h,f);break;case 3:if(o=e.text[f])h=o,n=d[i].data,c.append(n,b,h,f);o=e.dsv[f];if(typeof o==="string"&&g.chart&&parseInt(g.chart.compactdatamode,10))h=o,n=d[i].data,c.append(n,b,h,f)}},attr:function(b){var a,c={};if(!b||!b.length)return c;for(a=0;a<b.length;a+=1)c[b[a].nodeName.toLowerCase()]=b[a].nodeValue;return c}},d=function(b){var a={},e,f,i;if(typeof b!=="object"&&typeof b.toString!=="function")return d.errorObject=
new TypeError("xml2json.parse()"),a;b=b.toString().replace(/<\!--[\s\S]*?--\>/g,"").replace(/<\?xml[\s\S]*?\?>/ig,"").replace(/&(?!([^;\n\r]+?;))/g,"&amp;$1");b=b.replace(/^\s\s*/,"");e=/\s/;for(var g=b.length;e.test(b.charAt(g-=1)););b=b.slice(0,g+1);if(!b)return a;window.DOMParser?e=(new window.DOMParser).parseFromString(b,"text/xml"):(e=new ActiveXObject("Microsoft.XMLDOM"),e.async="false",e.loadXML(b));if(!(e.childNodes.length===1&&(f=e.childNodes[0])&&f.nodeName&&(i=f.nodeName.toLowerCase())&&
(i==="chart"||i==="map"||i==="graph")))return d.errorObject=new TypeError("xml2json.parse()"),a;a[i]=c.attr(f.attributes);f.childNodes&&c.child(a,f.childNodes,i,a);delete d.errorObject;return a};return function(b){delete d.errorObject;return{data:d(b),error:d.errorObject}}}(),g=function(){var a={items:{explode:{data:"set",groups:{annotations:"annotationgroup"},items:{groups:"annotation"}},text:{chart:{target:"target",value:"value"}},attr:{chart:{chart:"chart",graph:"chart"},graph:{graph:"graph",chart:"graph"},
map:{map:"map"},linkedchart:{chart:"chart",graph:"graph",map:"map"}},group:{styles:{definition:"style",application:"apply"}}},qualify:function(a,b,c){return typeof this.items[a][c]==="object"?this.items[a][c][b]:this.items[a][c]}},c=function(d,b,f){var g="",l="",i="",q="",n,o;b&&typeof b.toLowerCase==="function"&&(b=b.toLowerCase());if(d instanceof Array)for(n=0;n<d.length;n+=1)q+=typeof d[n]==="string"?h(d[n]):c(d[n],b,f);else{for(n in d)q=n.toLowerCase(),d[n]instanceof Array&&(o=a.qualify("group",
q,b))?l+="<"+q+">"+c(d[n],o,b)+"</"+q+">":typeof d[n]==="object"?(o=a.qualify("attr",q,b))?(i=c(d[n],o,b).replace(/\/\>/ig,""),b=q):l+=c(d[n],q,b):(o=a.qualify("text",q,b))?l+="<"+o+">"+d[n]+"</"+o+">":q==="vline"&&Boolean(d[n])?b="vline":g+=" "+q+'="'+h(d[n]).toString().replace(/\"/ig,"&quot;")+'"';if(o=a.qualify("explode",f,b))b=o;q=(i!==""?i:"<"+b)+g+(l!==""?">"+l+"</"+b+">":" />")}return q};return function(a){delete c.errorObject;if(a&&typeof a==="string")try{a=JSON.parse(a)}catch(b){c.errorObject=
b}return{data:c(a,a&&a.graph?"graph":"chart",void 0),error:c.errorObject}}}();a.addDataHandler("JSON",{encode:g,decode:f})}})();
(function(){var a=FusionCharts(["private","CSVDataHandler"]);if(a!==void 0){var h=function(a){this._data=[];this.columnCount=this.rowCount=0;this.configure(a)};h.prototype.set=function(a,g,e){var c;if(this.rowCount<=a){for(c=this.rowCount;c<=a;c+=1)this._data[c]=[];this.rowCount=a+1}if(this.columnCount<=g)this.columnCount=g+1;this._data[a][g]=e};h.prototype.configure=function(a){this.delimiter=this._decodePseudoCode(a.delimiter,",");this.qualifier=this._decodePseudoCode(a.qualifier,'"');this.eolCharacter=
this._decodePseudoCode(a.eolCharacter,"\r\n")};h.prototype._decodePseudoCode=function(a,g){if(a===void 0||a===null||!a.toString)return g;return a.replace("{tab}","\t").replace("{quot}",'"').replace("{apos}","'")};h.prototype.toString=function(){var a,g,e="";for(a=0;a<this.rowCount;a+=1)g=this.qualifier+this._data[a].join(this.qualifier+this.delimiter+this.qualifier)+this.qualifier,e+=g==='""'?this.eolCharacter:g+this.eolCharacter;this.rowCount>0&&(e=e.slice(0,e.length-2));return e};a.addDataHandler("CSV",
{encode:function(f,g){a.raiseError(g,"0604111215A","run","::CSVDataHandler.encode()","FusionCharts CSV data-handler only supports encoding of data.");throw"FeatureNotSupportedException()";},decode:function(f){var f=a.core.transcodeData(f,"xml","json")||{},g,e,c,d,b,j;if(typeof f.chart!=="object")f.chart={};g=new h({separator:f.chart.exportdataseparator,qualifier:f.chart.exportdataqualifier});if(f.dataset&&f.categories&&f.categories[0]&&f.categories[0].category)for(e=0;e<f.dataset.length;e+=1){g.set(0,
e+1,f.dataset[e].seriesname);d=c=0;for(b=f.categories[0].category.length;c<b;c+=1)f.categories[0].category[c].vline||(g.set(d+1,0,f.categories[0].category[c].label||f.categories[0].category[c].name),j=parseFloat(f.dataset[e]&&f.dataset[e].data&&f.dataset[e].data[d]?f.dataset[e].data[d].value:""),j=isNaN(j)?"":j,g.set(d+1,e+1,j),d+=1)}else if(f.data instanceof Array){g.set(0,1,f.chart&&f.chart.yaxisname?f.chart.yaxisname:"Value");b=f.data.length;for(e=0;e<b;e+=1)f.data[e].vline||(g.set(e+1,0,f.data[e].label||
f.data[e].name),j=parseFloat(f.data[e].value?f.data[e].value:""),j=isNaN(j)?"":j,g.set(e+1,1,j))}g.rowCount>0&&g.set(0,0,f.chart&&f.chart.xaxisname?f.chart.xaxisname:"Label");return{data:g.toString(),error:void 0}}});a.core.addEventListener("Loaded",function(a){a=a.sender;if(a.options.renderer==="javascript")a.getDataAsCSV=a.ref.getDataAsCSV=a.getCSVData})}})();
(function(){var a=FusionCharts(["private","DynamicChartAttributes"]);a!==void 0&&a.extend(a.core,{setChartAttribute:function(a,f){if(typeof a==="string"){var g=a,a={};a[g]=f}else if(a===null||typeof a!=="object")return;var g=0,e=this.getChartData(FusionChartsDataFormats.JSON),c,d=e.chart||e.graph||{};for(c in a)g+=1,a[c]===null?delete d[c.toLowerCase()]:d[c.toLowerCase()]=a[c];if(g>0){if(typeof d.animation==="undefined")d.animation="0";this.setChartData(e,FusionChartsDataFormats.JSON)}},getChartAttribute:function(h){var f=
(f=this.getChartData(FusionChartsDataFormats.JSON)).chart||f.graph;if(arguments.length===0||h===void 0||f===void 0)return f;var g,e;if(typeof h==="string")g=f[h.toString().toLowerCase()];else if(h instanceof Array){g={};for(e=0;e<h.length;e+=1)g[h[e]]=f[h[e].toString().toLowerCase()]}else a.raiseError(this,"25081429","param","~getChartAttribute()",'Unexpected value of "attribute"');return g}},!0)})();
(function(){var a=FusionCharts(["private","api.LinkManager"]);if(a!==void 0){a.policies.link=["link",void 0];var h=window.FusionChartsDOMInsertModes={REPLACE:"replace",APPEND:"append",PREPEND:"prepend"},f={},g=function(c,d){this.items={};this.root=c;this.parent=d;d instanceof a.core?this.level=this.parent.link.level+1:(f[c.id]=[{}],this.level=0)},e=function(a,d){return(a.options.containerElement===d.options.containerElement||a.options.containerElementId===d.options.containerElementId)&&a.options.insertMode===
h.REPLACE};g.prototype.configuration=function(){return f[this.root.id][this.level]||(f[this.root.id][this.level]={})};a.extend(a.core,{configureLink:function(c,d){var b;if(c instanceof Array){for(b=0;b<c.length;b+=1)typeof f[this.link.root.id][b]!=="object"&&(f[this.link.root.id][b]={}),a.extend(f[this.link.root.id][b],c[b]);f[this.link.root.id].splice(c.length)}else if(typeof c==="object"){if(typeof d!=="number")d=this.link.level;f[this.link.root.id][d]===void 0&&(f[this.link.root.id][d]={});a.extend(f[this.link.root.id][d],
c)}else a.raiseError(this,"25081731","param","~configureLink()","Unable to UPDATE link configuration from SET parameters")}},!0);a.addEventListener("BeforeInitialize",function(c){if(c.sender.link instanceof g){if(c.sender.link.parent instanceof a.core)c.sender.link.parent.link.items[c.sender.id]=c.sender}else c.sender.link=new g(c.sender)});a.addEventListener("LinkedChartInvoked",function(c,d){var b=c.sender,f=b.clone({dataSource:d.data,dataFormat:d.linkType,link:new g(b.link.root,b)},!0);b.args&&
parseInt(b.args.animate,10)!==0&&delete f.animate;a.extend(f,b.link.configuration());a.raiseEvent("BeforeLinkedItemOpen",{level:b.link.level},b.link.root);a.core.items[f.id]instanceof a.core&&a.core.items[f.id].dispose();f=new a.core(f);if(!e(f,b)&&(!b.options.overlayButton||!b.options.overlayButton.message)){if(typeof b.options.overlayButton!=="object")b.options.overlayButton={};b.options.overlayButton.message="Close"}f.render();a.raiseEvent("LinkedItemOpened",{level:b.link.level,item:f},b.link.root)});
a.addEventListener("OverlayButtonClick",function(c,d){if(d.id==="LinkManager"){var b=c.sender,f=b.link.level-1,g=b.link.parent,h=b.link.root;a.raiseEvent("BeforeLinkedItemClose",{level:f,item:b},h);setTimeout(function(){a.core.items[b.id]&&b.dispose();a.raiseEvent("LinkedItemClosed",{level:f},h)},0);!g.isActive()&&e(b,g)&&g.render()}});a.addEventListener("Loaded",function(c){if((c=c.sender)&&c.link!==void 0&&c.link.root!==c&&c.link.parent instanceof a.core)if(c.ref&&typeof c.ref.drawOverlayButton===
"function"){var d=a.extend({show:!0,id:"LinkManager"},c.link.parent.options.overlayButton);a.extend(d,c.link.parent.link.configuration().overlayButton||{});c.ref.drawOverlayButton(d)}else a.raiseWarning(c,"04091602","run","::LinkManager^Loaded","Unable to draw overlay button on object. -"+c.id)});a.addEventListener("BeforeDispose",function(c){var d=c.sender;d&&d.link instanceof g&&(d.link.parent instanceof a.core&&delete d.link.parent.link.items[c.sender.id],delete f[d.id])});FusionChartsEvents.LinkedItemOpened=
"linkeditemopened";FusionChartsEvents.BeforeLinkedItemOpen="beforelinkeditemopen";FusionChartsEvents.LinkedItemClosed="linkeditemclosed";FusionChartsEvents.BeforeLinkedItemClose="beforelinkeditemclose"}})();
(function(){var a=FusionCharts(["private","PrintManager"]);if(a!==void 0){var h={enabled:!1,invokeCSS:!0,processPollInterval:2E3,message:"Chart is being prepared for print.",useExCanvas:!1,bypass:!1},f={getCanvasElementOf:function(b,c,d){if(b.__fusioncharts__canvascreated!==!0){var e=document.createElement("canvas"),f=a.core.items[b.id].attributes["class"];h.useExCanvas&&G_vmlCanvasManager&&G_vmlCanvasManager.initElement(e);e.setAttribute("class",f);e.__fusioncharts__reference=b.id;b.parentNode.insertBefore(e,
b.nextSibling);b.__fusioncharts__canvascreated=!0}b.nextSibling.setAttribute("width",c||b.offsetWidth||2);b.nextSibling.setAttribute("height",d||b.offsetHeight||2);return b.nextSibling},removeCanvasElementOf:function(a){var b=a.ref&&a.ref.parentNode?a.ref.parentNode:a.options.containerElement||window.getElementById(a.options.containerElementId);if(b){var c=b.getElementsByTagName("canvas"),d,e;e=0;for(d=c.length;e<d;e+=1)if(c[e].__fusioncharts__reference===a.id&&(b.removeChild(c[e]),a.ref))a.ref.__fusioncharts__canvascreated=
!1}},rle2rgba:function(a,b,c){typeof c!=="string"&&(c="FFFFFF");var a=a.split(/[;,_]/),d,e,f,g,h,j=0;for(e=0;e<a.length;e+=2){a[e]===""&&(a[e]=c);a[e]=("000000"+a[e]).substr(-6);f=parseInt("0x"+a[e].substring(0,2),16);g=parseInt("0x"+a[e].substring(2,4),16);h=parseInt("0x"+a[e].substring(4,6),16);for(d=0;d<a[e+1];d+=1)b[j]=f,b[j+1]=g,b[j+2]=h,b[j+3]=255,j+=4}return b},rle2array:function(a,b){typeof b!=="string"&&(b="FFFFFF");var c=a.split(";"),d,e;for(d in c){c[d]=c[d].split(/[_,]/);for(e=0;e<c[d].length;e+=
2)c[d][e]=c[d][e]===""?b:("000000"+c[d][e]).substr(-6)}return c},drawText:function(b,c,d,e){b=b.getContext("2d");d=d||2;e=e||2;b.clearRect(0,0,d,e);b.textBaseline="middle";b.textAlign="center";b.font="8pt verdana";b.fillStyle="#776666";typeof b.fillText==="function"?b.fillText(c,d/2,e/2):typeof b.mozDrawText==="function"?(b.translate(d/2,e/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){var b=
document.createElement("style");b.setAttribute("type","text/css");typeof b.styleSheet==="undefined"?b.appendChild(document.createTextNode(a)):b.styleSheet.cssText=a;return document.getElementsByTagName("head")[0].appendChild(b)}};f.drawRLE=function(a,b,c,d,e){c=c||2;d=d||2;a.setAttribute("width",c);a.setAttribute("height",d);a=a.getContext("2d");if(typeof a.putImageData==="function"&&typeof a.createImageData==="function")c=a.createImageData(c,d),f.rle2rgba(b,c.data,e),a.putImageData(c,0,0);else for(e in c=
f.rle2array(b,e),d=e=b=0,c)for(d=b=0;d<c[e].length;d+=2)a.fillStyle="#"+c[e][d],a.fillRect(b,e,c[e][d+1],1),b+=parseInt(c[e][d+1],10);return!0};var g={styles:{print:"canvas.FusionCharts{display:none;}@media print{object.FusionCharts{display:none;}canvas.FusionCharts{display:block;}}",error:"canvas.FusionCharts{display:none;}",normal:""},cssNode:void 0},e={},c={},d=0,b;g.invoke=function(a){typeof this.styles[a]!=="undefined"&&(a=this.styles[a]);if(typeof a!=="undefined")this.cssNode!==void 0&&this.cssNode.parentNode!==
void 0&&this.cssNode.parentNode.removeChild(this.cssNode),g.cssNode=f.appendCSS(a)};var j=function(c){var j=c.sender.ref,k,l;if(j===void 0||typeof j.prepareImageDataStream!=="function"||j.prepareImageDataStream()===!1)b(c.sender);else{e[c.sender.id]||(e[c.sender.id]=j,d+=1,d===1&&a.raiseEvent("PrintReadyStateChange",{ready:!1,bypass:h.bypass},c.sender));try{k=j.offsetWidth,l=j.offsetHeight,f.drawText(f.getCanvasElementOf(j,k,l),h.message,k,l)}catch(u){g.invoke("error"),a.raiseError(c.sender,"25081807",
"run","::PrintManager>onDrawComplete","There was an error while showing message to user via canvas.")}}},k=function(b,c){try{f.drawRLE(f.getCanvasElementOf(b.sender.ref,c.width,c.height),c.stream,c.width,c.height,c.bgColor)===!0&&e[b.sender.id]&&(delete e[b.sender.id],d-=1,d===0&&a.raiseEvent("PrintReadyStateChange",{ready:!0,bypass:h.bypass},b.sender))}catch(j){g.invoke("error"),a.raiseError(b.sender,"25081810","run","::PrintManager>onImageStreamReady","There was an error while drawing canvas.")}},
l=function(a){f.removeCanvasElementOf(a.sender)};b=function(b){var d;if(b instanceof a.core)c[b.id]=b;else for(d in c)j({sender:c[d]},{}),delete c[d]};a.extend(a.core,{printManager:{configure:function(b){a.extend(h,b||{})},isReady:function(){if(h.bypass)return!0;if(d>0||!h.enabled)return!1;var b,c;for(b in a.core.items)if((c=a.core.items[b].ref)!==void 0&&c.hasRendered&&c.hasRendered()===!1)return!1;return!0},enabled:function(c){if(c===void 0)return h.enabled;if(a.renderer.currentRendererName()!==
"flash"||typeof document.createElement("canvas").getContext!=="function")return h.bypass=!0,a.raiseEvent("PrintReadyStateChange",{ready:!0,bypass:h.bypass}),a.raiseWarning(a.core,"25081816","run",".printManager.enabled","printManager is not compatible with your browser"),h.enabled;h.bypass=!1;var d=c?"addEventListener":"removeEventListener";a.core[d]("ImageStreamReady",k);a.core[d]("DrawComplete",j);a.core[d]("BeforeDispose",l);if(c===!0){var e;h.invokeCSS===!0&&g.invoke("print");for(e in a.core.items)b(a.core.items[e]),
b()}else{var o;g.invoke("error");for(o in a.core.items)f.removeCanvasElementOf(a.core.items[o]);h.bypass||a.raiseEvent("PrintReadyStateChange",{ready:!1,bypass:h.bypass});g.invoke("normal")}return h.enabled=c},managedPrint:function(b){h.bypass?window.print():a.core.printManager.isReady()?typeof b==="object"&&b.ready!==!0||(a.removeEventListener("PrintReadyStateChange",a.core.printManager.managedPrint),window.print()):a.core.printManager.enabled(!0)!==!0?window.print():a.addEventListener("PrintReadyStateChange",
a.core.printManager.managedPrint)}}},!1);FusionChartsEvents.PrintReadyStateChange="printreadystatechange"}})();
