var infomations=new Infomation();function Infomation(){this.setTextDomain=function(a){this.po="/"+a+".info"};this.setKeyDomain=function(a){this.key=a};this.initialize=function(){try{this.request=new XMLHttpRequest()}catch(c){try{this.request=new ActiveXObject("Msxml2.XMLHTTP")}catch(b){try{this.request=new ActiveXObject("Microsoft.XMLHTTP")}catch(a){return false}}}return true};this.update=function(){this.request.open("GET",this.po,false);this.request.send(null);if(this.request.status==200){this.text=this.request.responseText;return true}return false};this.getText=function(){return this.text};this.setKeyValue=function(){var a;a=document.getElementById(this.key);if(a){if((a.tagName=="input")||(a.tagName=="INPUT")){a.value=this.getText()}else{a.innerHTML=this.getText()}}};this.setITValue=function(a){this.IT=a}}function updateTextDomain(){if(!infomations.update()){}else{infomations.setKeyValue();if(infomations.getText().indexOf("On Progress")==-1){window.clearInterval(infomations.IT)}}}function updateTextDomainByInterval(d,b,a){var c;infomations.setTextDomain(d);infomations.setKeyDomain(b);if(infomations.initialize()){c=window.setInterval("updateTextDomain()",a);infomations.setITValue(c)}return c}function updateTextDomainByTimeout(d,b,c){var a;infomations.setTextDomain(d);infomations.setKeyDomain(b);if(infomations.initialize()){a=window.setTimeout("updateTextDomain()",c)}return a};