(function(c){function d(a){return a?(""+a).replace(new RegExp("[<>&\"']","g"),function(b,f){switch(b){case"&":return"&amp;";case'"':return"&quot;";case"'":return"&#39;";case"<":return"&lt;";case">":return"&gt;"}return b}):a}c.translate=function(e,a,b){return e.replace(/\{#([^\}]+)\}/g,function(i,j){var f=j.split(/\./);if(MCManagerI18n[f[0]]){i=MCManagerI18n[f[0]][f[1]]}i=i?i:"{#"+j+"}";if(b){i=i.replace(/\{([^\}]+)\}/g,function(g,h){return b[h]||g})}return a?d(i):i})};c.translateElement=function(a){a=a||document.body;a.innerHTML=c.translate(a.innerHTML.replace(/=({#[a-z0-9_]+})/gi,'="$1"'),1)};document.title=c.translate(document.title.replace(/^(http|https):\/\/[a-z0-9._\-\s]+-/gi,""));c("body > *").each(function(a,b){if(!/(SCRIPT|BR|HR|INPUT|META|IMG|LINK|PARAM|IFRAME)/.test(b.nodeName)){c.translateElement(b)}})})(jQuery);