if(typeof infosoftglobal=="undefined"){var infosoftglobal=new Object();}if(typeof infosoftglobal.ZeusChartsUtil=="undefined"){infosoftglobal.ZeusChartsUtil=new Object();}infosoftglobal.ZeusCharts=function(_1,id,w,h,_2,_3,c,_4,_5){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);_2=_2?_2:0;this.addVariable("debugMode",_2);this.addVariable("DOMId",id);_3=_3?_3:0;this.addVariable("registerWithJS",_3);_4=_4?_4:"noScale";this.addVariable("scaleMode",_4);_5=_5?_5:"EN";this.addVariable("lang",_5);};infosoftglobal.ZeusCharts.prototype={setAttribute:function(_6,_7){this.attributes[_6]=_7;},getAttribute:function(_8){return this.attributes[_8];},addParam:function(_9,_a){this.params[_9]=_a;},getParams:function(){return this.params;},addVariable:function(_b,_c){this.variables[_b]=_c;},getVariable:function(_d){return this.variables[_d];},getVariables:function(){return this.variables;},getVariablePairs:function(){var _e=new Array();var _f;var _10=this.getVariables();for(_f in _10){_e.push(_f+"="+_10[_f]);}return _e;},getSWFHTML:function(){var _11="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){_11="<embed type=\"application/x-shockwave-flash\" src=\""+this.getAttribute("swf")+"\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\"  ";_11+=" id=\""+this.getAttribute("id")+"\" name=\""+this.getAttribute("id")+"\" ";var _12=this.getParams();for(var key in _12){_11+=[key]+"=\""+_12[key]+"\" ";}var _13=this.getVariablePairs().join("&");if(_13.length>0){_11+="flashvars=\""+_13+"\"";}_11+="/>";}else{_11="<object id=\""+this.getAttribute("id")+"\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\">";_11+="<param name=\"movie\" value=\""+this.getAttribute("swf")+"\" />";var _12=this.getParams();for(var key in _12){_11+="<param name=\""+key+"\" value=\""+_12[key]+"\" />";}var _13=this.getVariablePairs().join("&");if(_13.length>0){_11+="<param name=\"flashvars\" value=\""+_13+"\" />";}_11+="</object>";}return _11;},setDataURL:function(_14){if(this.initialDataSet==false){this.addVariable("dataURL",_14);this.initialDataSet=true;}else{var _15=infosoftglobal.ZeusChartsUtil.getChartObject(this.getAttribute("id"));_15.setDataURL(_14);}},setDataXML:function(_16){if(this.initialDataSet==false){this.addVariable("dataXML",_16);this.initialDataSet=true;}else{var _17=infosoftglobal.ZeusChartsUtil.getChartObject(this.getAttribute("id"));_17.setDataXML(_16);}},render:function(_18){var n=(typeof _18=="string")?document.getElementById(_18):_18;n.innerHTML=this.getSWFHTML();return true;}};infosoftglobal.ZeusChartsUtil.cleanupSWFs=function(){if(window.opera||!document.all){return;}var _19=document.getElementsByTagName("OBJECT");for(var i=0;i<_19.length;i++){_19[i].style.display="none";for(var x in _19[i]){if(typeof _19[i][x]=="function"){_19[i][x]=function(){};}}}};infosoftglobal.ZeusChartsUtil.prepUnload=function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){};if(typeof window.onunload=="function"){var _1a=window.onunload;window.onunload=function(){infosoftglobal.ZeusChartsUtil.cleanupSWFs();_1a();};}else{window.onunload=infosoftglobal.ZeusChartsUtil.cleanupSWFs;}};if(typeof window.onbeforeunload=="function"){var oldBeforeUnload=window.onbeforeunload;window.onbeforeunload=function(){infosoftglobal.ZeusChartsUtil.prepUnload();oldBeforeUnload();};}else{window.onbeforeunload=infosoftglobal.ZeusChartsUtil.prepUnload;}if(Array.prototype.push==null){Array.prototype.push=function(_1b){this[this.length]=_1b;return this.length;};}infosoftglobal.ZeusChartsUtil.getChartObject=function(id){if(window.document[id]){return window.document[id];}if(navigator.appName.indexOf("Microsoft Internet")==-1){if(document.embeds&&document.embeds[id]){return document.embeds[id];}}else{return document.getElementById(id);}};var getChartFromId=infosoftglobal.ZeusChartsUtil.getChartObject;var ZeusCharts=infosoftglobal.ZeusCharts;