/**
* (c) 2008 mOblu, inc.
* All rights are reserved. Copying or other reproduction of this program is prohibited.
*/
if(typeof infosoftglobal=="undefined"){var infosoftglobal=new Object();}if(typeof infosoftglobal.FusionChartsUtil=="undefined"){infosoftglobal.FusionChartsUtil=new Object();}infosoftglobal.FusionCharts=function(_1,id,w,h,_5,_6,c,_8,_9,_a,_b){if(!document.getElementById){return;}this.initialDataSet=false;this.params=new Object();this.variables=new Object();this.attributes=new Array();if(_1){this.setAttribute("swf",_1);}if(id){this.setAttribute("id",id);}if(w){this.setAttribute("width",w);}if(h){this.setAttribute("height",h);}if(c){this.addParam("bgcolor",c);}this.addParam("quality","high");this.addParam("allowScriptAccess","always");this.addVariable("chartWidth",w);this.addVariable("chartHeight",h);_5=_5?_5:0;this.addVariable("debugMode",_5);this.addVariable("DOMId",id);_6=_6?_6:0;this.addVariable("registerWithJS",_6);_8=_8?_8:"noScale";this.addVariable("scaleMode",_8);_9=_9?_9:"EN";this.addVariable("lang",_9);this.detectFlashVersion=_a?_a:1;this.autoInstallRedirect=_b?_b:1;this.installedVer=infosoftglobal.FusionChartsUtil.getPlayerVersion();if(!window.opera&&document.all&&this.installedVer.major>7){infosoftglobal.FusionCharts.doPrepUnload=true;}};infosoftglobal.FusionCharts.prototype={setAttribute:function(_c,_d){this.attributes[_c]=_d;},getAttribute:function(_e){return this.attributes[_e];},addParam:function(_f,_10){this.params[_f]=_10;},getParams:function(){return this.params;},addVariable:function(_11,_12){this.variables[_11]=_12;},getVariable:function(_13){return this.variables[_13];},getVariables:function(){return this.variables;},getVariablePairs:function(){var _14=new Array();var key;var _16=this.getVariables();for(key in _16){_14.push(key+"="+_16[key]);}return _14;},getSWFHTML:function(){var _17="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){_17="<embed type=\"application/x-shockwave-flash\" src=\""+this.getAttribute("swf")+"\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\"  ";_17+=" id=\""+this.getAttribute("id")+"\" name=\""+this.getAttribute("id")+"\" ";var _18=this.getParams();for(var key in _18){_17+=[key]+"=\""+_18[key]+"\" ";}var _1a=this.getVariablePairs().join("&");if(_1a.length>0){_17+="flashvars=\""+_1a+"\"";}_17+="/>";}else{_17="<object id=\""+this.getAttribute("id")+"\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\">";_17+="<param name=\"movie\" value=\""+this.getAttribute("swf")+"\" />";var _18=this.getParams();for(var key in _18){_17+="<param name=\""+key+"\" value=\""+_18[key]+"\" />";}var _1a=this.getVariablePairs().join("&");if(_1a.length>0){_17+="<param name=\"flashvars\" value=\""+_1a+"\" />";}_17+="</object>";}return _17;},setDataURL:function(_1b){if(this.initialDataSet==false){this.addVariable("dataURL",_1b);this.initialDataSet=true;}else{var _1c=infosoftglobal.FusionChartsUtil.getChartObject(this.getAttribute("id"));_1c.setDataURL(_1b);}},setDataXML:function(_1d){if(this.initialDataSet==false){this.addVariable("dataXML",_1d);this.initialDataSet=true;}else{var _1e=infosoftglobal.FusionChartsUtil.getChartObject(this.getAttribute("id"));_1e.setDataXML(_1d);}},setTransparent:function(_1f){if(typeof _1f=="undefined"){_1f=true;}if(_1f){this.addParam("WMode","transparent");}else{this.addParam("WMode","Opaque");}},render:function(_20){if((this.detectFlashVersion==1)&&(this.installedVer.major<8)){if(this.autoInstallRedirect==1){var _21=window.confirm("You need Adobe Flash Player 8 (or above) to view the charts. It is a free and lightweight installation from Adobe.com. Please click on Ok to install the same.");if(_21){window.location="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash";}else{return false;}}else{return false;}}else{var n=(typeof _20=="string")?document.getElementById(_20):_20;n.innerHTML=this.getSWFHTML();if(!document.embeds[this.getAttribute("id")]&&!window[this.getAttribute("id")]){window[this.getAttribute("id")]=document.getElementById(this.getAttribute("id"));}return true;}}};infosoftglobal.FusionChartsUtil.getPlayerVersion=function(){var _23=new infosoftglobal.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var x=navigator.plugins["Shockwave Flash"];if(x&&x.description){_23=new infosoftglobal.PlayerVersion(x.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."));}}else{if(navigator.userAgent&&navigator.userAgent.indexOf("Windows CE")>=0){var axo=1;var _26=3;while(axo){try{_26++;axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+_26);_23=new infosoftglobal.PlayerVersion([_26,0,0]);}catch(e){axo=null;}}}else{try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");}catch(e){try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");_23=new infosoftglobal.PlayerVersion([6,0,21]);axo.AllowScriptAccess="always";}catch(e){if(_23.major==6){return _23;}}try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");}catch(e){}}if(axo!=null){_23=new infosoftglobal.PlayerVersion(axo.GetVariable("$version").split(" ")[1].split(","));}}}return _23;};infosoftglobal.PlayerVersion=function(_27){this.major=_27[0]!=null?parseInt(_27[0]):0;this.minor=_27[1]!=null?parseInt(_27[1]):0;this.rev=_27[2]!=null?parseInt(_27[2]):0;};infosoftglobal.FusionChartsUtil.cleanupSWFs=function(){var _28=document.getElementsByTagName("OBJECT");for(var i=_28.length-1;i>=0;i--){_28[i].style.display="none";for(var x in _28[i]){if(typeof _28[i][x]=="function"){_28[i][x]=function(){};}}}};if(infosoftglobal.FusionCharts.doPrepUnload){if(!infosoftglobal.unloadSet){infosoftglobal.FusionChartsUtil.prepUnload=function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){};window.attachEvent("onunload",infosoftglobal.FusionChartsUtil.cleanupSWFs);};window.attachEvent("onbeforeunload",infosoftglobal.FusionChartsUtil.prepUnload);infosoftglobal.unloadSet=true;}}if(!document.getElementById&&document.all){document.getElementById=function(id){return document.all[id];};}if(Array.prototype.push==null){Array.prototype.push=function(_2c){this[this.length]=_2c;return this.length;};}infosoftglobal.FusionChartsUtil.getChartObject=function(id){var _2e=null;if(navigator.appName.indexOf("Microsoft Internet")==-1){if(document.embeds&&document.embeds[id]){_2e=document.embeds[id];}else{_2e=window.document[id];}}else{_2e=window[id];}if(!_2e){_2e=document.getElementById(id);}return _2e;};var getChartFromId=infosoftglobal.FusionChartsUtil.getChartObject;var FusionCharts=infosoftglobal.FusionCharts;