function Init(){this.syspath="";this.lang="";this.flashver="";this.debugmode=false;this.initPath();this.initConf();}
Init.prototype.initPath=function(){var aa=document.documentElement.getByTag("script");var ba=0;while(ba<aa.length&&aa[ba].src.indexOf("sys/js/init.js")==-1){ba++;}
this.syspath=aa[ba].src.replace("js/init.js","");}
Init.prototype.initConf=function(){var ca=window.loadXML(this.syspath+"conf/pub.xml");if(this.lang=="")this.lang=XGET(ca,"/ confpub [1] / lang [1] / @id")[0].value;this.flashver=XGET(ca,"/ confpub [1] / flashver [1] / text () [1]")[0].nodeValue;var da=XGET(ca,"/ confpub [1] / debugmode [1]");if(da.length>0)this.debugmode=true;}
Init.prototype.getSysPath=function(){return this.syspath;}
Init.prototype.getLang=function(){return this.lang;}
Init.prototype.setLang=function(ea){this.lang=ea;this.initConf();}
Init.prototype.getFlashVer=function(){return this.flashver;}
Init.prototype.isDebugMode=function(){return this.debugmode;}
$INIT=new Init();