var console;if(window.console)console=window.console;else console={log:function(msg){},error:function(msg){}};var vme;window.vme=vme;$(document).ready(function(){$.parser.onComplete=function(){if(!vme){vme=new VisualMathEditor();if(!vme.isBuild){$("body").html("VisualMathEditor Error. The editor does not load properly. You can try to refresh the page by pressing the F5 key.");}}};});function VisualMathEditor(){this.version="2.0.33";this.codeType='Latex';this.encloseAllFormula=false;this.saveOptionInCookies=false;this.localType="en_US";this.style="aguas";this.autoUpdateTime=500;this.menuupdateType=true;this.autoupdateType=true;this.menuMathjaxType=false;this.url=$.url(true);this.runLocal=eval($.url(document.getElementById("vmeScript").src).param('runLocal'));this.runNotCodeMirror=eval($.url(document.getElementById("vmeScript").src).param('runNotCodeMirror'));this.runNotMathJax=eval($.url(document.getElementById("vmeScript").src).param('runNotMathJax'));this.runNotVirtualKeyboard=eval($.url(document.getElementById("vmeScript").src).param('runNotVirtualKeyboard'));this.runNotColorPicker=eval($.url(document.getElementById("vmeScript").src).param('runNotColorPicker'));this.isBuild=false;this.windowIsOpenning=false;this.textareaIgnore=false;this.textareaID=null;this.textAreaForSaveASCII=null;this.mathTextInput=document.getElementById('mathTextInput');this.mathVisualOutput=document.getElementById('mathVisualOutput');this.codeMirrorEditor=null;this.symbolPanelsLoaded=[];this.asciiMathCodesListLoaded=false;this.latexMathjaxCodesListLoaded=false;this.uniCodesListLoaded=false;this.autoUpdateOutputTimeout=null;this.notAllowedKeys=[9,16,17,18,19,20,27,33,34,35,36,37,38,39,40,44,45,($.browser.opera?219:91),($.browser.opera?57351:93),112,113,114,115,116,117,118,119,120,121,122,123,144,145];this.allowedCtrlKeys=[86,88,89,90]
this.notAllowedCtrlKeys=[];for(var i=65;i<=90;i++)if($.inArray(i,this.allowedCtrlKeys)==-1)this.notAllowedCtrlKeys.push(i);this.notAllowedAltKeys=[];for(var i=65;i<90;i++)this.notAllowedAltKeys.push(i);this.initialise();this.isBuild=true;}
VisualMathEditor.prototype={initialise:function(){var vme=this;this.initialiseLocalType();$.messager.progress({title:"VisualMathEditor",text:this.getLocalText("WAIT_FOR_EDITOR_DOWNLOAD"),msg:"<center>&copy; <a href='mailto:contact@equatheque.com?subject=VisualMathEditor' target='_blank' class='bt' >David Grima</a> - <a href='http://www.equatheque.net' target='_blank' class='bt' >EquaThEque</a><br/><br/></center>",interval:300});this.initialiseUI();this.initialiseParameters();if(!vme.runNotCodeMirror)vme.initialiseCodeMirror();this.initialiseStyle();this.initialiseLanguage();this.initialiseCodeType();this.saveCookies();this.initialiseVirtualKeyboard();if(!this.runNotMathJax)this.initialiseMathJax();else this.endWait();},endWait:function(){this.initialiseEquation();this.switchMathJaxMenu();$.messager.progress('close');$("#WaitMsg").hide();this.setFocus();this.resizeDivInputOutput();},setFocus:function(){if(!this.runNotCodeMirror&&this.codeMirrorEditor)this.codeMirrorEditor.focus();$("#mathTextInput").focus();},setCodeMirrorCursorAtEnd:function(){var pos={line:this.codeMirrorEditor.lastLine(),ch:this.codeMirrorEditor.getValue().length};this.codeMirrorEditor.setCursor(pos);},initialiseMathJax:function(){var vme=this;MathJax.Hub.Queue(function(){vme.endWait()
setTimeout(function(){MathJax.Hub.Queue(["Typeset",MathJax.Hub]);},1000);});},initialiseVirtualKeyboard:function(){if(!this.runNotVirtualKeyboard)this.loadScript('js/keyboard/keyboard.js',function(){return true;});},initialiseCodeMirror:function(){var vme=this;vme.codeMirrorEditor=CodeMirror.fromTextArea(document.getElementById("mathTextInput"),{mode:vme.encloseAllFormula?"text/html":"text/x-latex",autofocus:true,showCursorWhenSelecting:true,styleActiveLine:true,lineNumbers:true,lineWrapping:true,matchBrackets:true,autoCloseBrackets:true,autoCloseTags:vme.encloseAllFormula?true:false,tabMode:"indent",tabSize:4,indentUnit:4,indentWithTabs:true,theme:"default"});vme.codeMirrorEditor.on("change",function(){vme.autoUpdateOutput();});$(".CodeMirror").bind('contextmenu',function(event){event.preventDefault();$('#mINSERT').menu('show',{left:event.pageX,top:event.pageY});return false;});},initialiseUI:function(){var vme=this;$("a.easyui-linkbutton").linkbutton({plain:true});$(document).bind('contextmenu',function(event){event.preventDefault();return false;});$("#mFILE, #mINSERT, #mTOOLS, #mVIEW, #mOPTIONS, #mINFORMATIONS").menu({onClick:function(item){switch(item.target.id)
{case"mEDITOR_PARAMETERS":$('#wEDITOR_PARAMETERS').dialog('open');break;case"mSTYLE_CHOISE":$('#wSTYLE_CHOISE').dialog('open');break;case"mLANGUAGE_CHOISE":$('#wLANGUAGE_CHOISE').dialog('open');break;case"mMATRIX":vme.showMatrixWindow(3,3);break;case"mCOMMUTATIVE_DIAGRAM":vme.initialiseUImoreDialogs("f_COMMUTATIVE_DIAGRAM");break;case"mCHEMICAL_FORMULAE":vme.initialiseUImoreDialogs("f_CHEMICAL_FORMULAE");break;case"mNEW_EDITOR":vme.newEditor();break;case"mQUIT_EDITOR":vme.closeEditor();break;case"mSAVE_EQUATION":vme.saveEquationFile();break;case"mOPEN_EQUATION":vme.testOpenFile();break;case"mUPDATE_EQUATION":vme.getEquationFromCaller();break;case"mSET_EQUATION":vme.setEquationInCaller();break;case"mLaTeX_TEXT":vme.insert("\\LaTeX");break;case"mMATH_ML":vme.viewMathML(vme.mathVisualOutput.id);break;case"mUNICODES_LIST":$('#wUNICODES_LIST').window('open');vme.initialiseUniCodesList();break;case"mLATEX_CODES_LIST":$('#wLATEX_CODES_LIST').window('open');vme.initialiseLatexMathjaxCodesList();break;case"mASCIIMATH_CODES_LIST":$('#wASCIIMATH_CODES_LIST').window('open');vme.initialiseAsciiMathCodesList();break;case"mLANG_RESSOURCE_LIST":$('#wLANGUAGE_LIST').window('open');vme.initialiseLangRessourcesList();break;case"mLATEX_DOCUMENTATION":var file=(vme.runLocal?"doc/":"http://www.tex.ac.uk/tex-archive/info/symbols/comprehensive/")+"symbols-a4.pdf";vme.showWindow(file,780,580,100,100,'wLATEX_DOCUMENTATION','yes','yes','no','no');break;case"mMHCHEM_DOCUMENTATION":var file=(vme.runLocal?"doc/":"http://www.ctan.org/tex-archive/macros/latex/contrib/mhchem/")+"mhchem.pdf";vme.showWindow(file,780,580,100,100,'wMHCHEM_DOCUMENTATION','yes','yes','no','no');break;case"mAMSCD_DOCUMENTATION":var file=(vme.runLocal?"doc/":"http://www.jmilne.org/not/")+"Mamscd.pdf";vme.showWindow(file,780,580,100,100,'wAMSCD_DOCUMENTATION','yes','yes','no','no');break;case"mMATH_ML_SPECIFICATIONS":var file=(vme.runLocal?"doc/":"http://www.w3.org/TR/MathML/")+"mathml.pdf";vme.showWindow(file,780,580,100,100,'wMATH_ML_SPECIFICATIONS','yes','yes','no','no');break;case"mCOPYRIGHT":vme.openInformationTab(0);break;case"mVERSION":vme.openInformationTab(1);break;case"mBUGS":vme.openInformationTab(2);break;case"mEQUATION_SAMPLE":vme.openInformationTab(3);break;case"f_GREEK_CHAR":vme.initialiseUImoreDialogs("f_L_U_GREEK_CHAR");break;case"mCHARS":case"f_ALL_CHAR":vme.initialiseUImoreDialogs("f_ALL_CHAR");break;case"f_FR_CHAR":case"f_BBB_CHAR":vme.initialiseUImoreDialogs(item.target.id);break;case"mEQUATION":vme.initialiseUImoreDialogs("f_EQUATION");break;case"mHORIZONTAL_SPACING":vme.initialiseUImoreDialogs("f_HORIZONTAL_SPACING");break;case"mVERTICAL_SPACING":vme.initialiseUImoreDialogs("f_VERTICAL_SPACING");break;case"mSPECIAL_CHARACTER":vme.initialiseUImoreDialogs("f_SPECIAL_CHARACTER");break;case"mHTML_MODE":$("#btENCLOSE_TYPE").click();break;case"mKEYBOARD":if(!vme.runNotVirtualKeyboard){VKI_show(document.getElementById("tKEYBOARD"));$("#keyboardInputMaster").draggable({handle:'#keyboardTitle'});}
break;default:$.messager.show({title:"<span class='rtl-title-withicon'>"+vme.getLocalText("INFORMATION")+"</span>",msg:item.text});break;}}});if(!window.opener){$("#mQUIT_EDITOR").addClass("menu-item-disabled").click(function(event){vme.closeEditor();});}
if(typeof(FileReader)=="undefined"){$("#mOPEN_EQUATION").addClass("menu-item-disabled").click(function(event){vme.testOpenFile();});}
$("#fOPEN_EQUATION").change(function(event){vme.openFile(event);});this.initialiseUIaccordion("#f_SYMBOLS");this.initialiseUIaccordion("#f_SYMBOLS2");$('#tINFORMATIONS').tabs({onLoad:function(panel){switch(panel.attr("id"))
{case"tCOPYRIGHT":$("#VMEdate").html((new Date()).getFullYear());break;case"tVERSION":$("#VMEversion").html("<table>"+"<tr><td><b>"+vme.version+"</b></td><td><b>Visual Math Editor</b>, (This software)</td></tr>"+(vme.runNotMathJax?"":("<tr><td>"+MathJax.version+" </td><td>Math Jax</td></tr>"))+(vme.runNotCodeMirror?"":("<tr><td>"+CodeMirror.version+" </td><td>Code Mirror</td></tr>"))+(vme.runNotVirtualKeyboard?"":("<tr><td>"+VKI_version+" </td><td>Virtual Keyboard</td></tr>"))+"<tr><td>"+$.fn.jquery+" </td><td>Jquery</td></tr>"+"<tr><td>"+"1.3.3"+" </td><td>Jquery Easyui</td></tr>"+(vme.runNotColorPicker?"":("<tr><td>"+"23/05/2009"+" </td><td>Jquery Color Picker</td></tr>"))+"<table>");break;case"tEQUATION":vme.initialiseSymbolContent(panel.attr("id"));if(!vme.runNotMathJax)MathJax.Hub.Queue(["Typeset",MathJax.Hub,panel.attr("id")]);break;}}});$('#btMATRIX_CLOSE').click(function(event){event.preventDefault();$('#wMATRIX').dialog('close');vme.setFocus();});$('#btMATRIX_SET').click(function(event){event.preventDefault();if(vme.codeType=="AsciiMath")vme.setAsciiMatrixInEditor();else vme.setLatexMatrixInEditor();vme.updateOutput();$('#wMATRIX').dialog('close');vme.setFocus();});$('#colsMATRIX, #rowsMATRIX').keyup(function(event){vme.updateMatrixWindow();});$('#btSTYLE_CHOISE_CLOSE').click(function(event){event.preventDefault();$('#wSTYLE_CHOISE').dialog('close');vme.setFocus();});$('#btLANGUAGE_CHOISE_CLOSE').click(function(event){event.preventDefault();$('#wLANGUAGE_CHOISE').dialog('close');vme.setFocus();});$('#btEDITOR_PARAMETERS_CLOSE').click(function(event){event.preventDefault();$('#wEDITOR_PARAMETERS').dialog('close');vme.setFocus();});$("input[name='localType']").change(function(){vme.localType=$("input[name='localType']:checked").val();vme.localize();if(vme.saveOptionInCookies)vme.setCookie("VME_localType",vme.localType,1000);vme.printCodeType();});$("input[name='codeType']").change(function(){vme.codeType=$("input[name='codeType']:checked").val();vme.printCodeType();vme.updateOutput();});$("input[name='style']").change(function(){vme.style=$("input[name='style']:checked").val();vme.chooseStyle();if(vme.saveOptionInCookies)vme.setCookie("VME_style",vme.style,1000);});$("#encloseType").change(function(){if(!(typeof($('#encloseType').attr('checked'))=="undefined")){vme.encloseAllFormula=true;$("#btENCLOSE_TYPE").removeClass("unselect");$('#HTML_TAG').show();if(!vme.runNotCodeMirror){vme.codeMirrorEditor.setOption("mode","text/html");vme.codeMirrorEditor.setOption("autoCloseTags",true);}}else{vme.encloseAllFormula=false;$("#btENCLOSE_TYPE").addClass("unselect");$('#HTML_TAG').hide();if(!vme.runNotCodeMirror){vme.codeMirrorEditor.setOption("mode","text/x-latex");vme.codeMirrorEditor.setOption("autoCloseTags",false);}}
vme.resizeDivInputOutput();vme.updateOutput();if(vme.saveOptionInCookies)vme.setCookie("VME_encloseAllFormula",vme.encloseAllFormula,1000);});$("#autoUpdateTime").change(function(){vme.autoUpdateTime=$("#autoUpdateTime").val();if(vme.saveOptionInCookies)vme.setCookie("VME_autoUpdateTime",vme.autoUpdateTime,1000);});$("#menuupdateType").change(function(){(typeof($('#menuupdateType').attr('checked'))=="undefined")?vme.menuupdateType=false:vme.menuupdateType=true;if(vme.saveOptionInCookies)vme.setCookie("VME_menuupdateType",vme.menuupdateType,1000);});$("#autoupdateType").change(function(){(typeof($('#autoupdateType').attr('checked'))=="undefined")?vme.autoupdateType=false:vme.autoupdateType=true;if(vme.saveOptionInCookies)vme.setCookie("VME_autoupdateType",vme.autoupdateType,1000);});$("#menuMathjaxType").change(function(){vme.switchMathJaxMenu();if(vme.saveOptionInCookies)vme.setCookie("VME_menuMathjaxType",vme.menuMathjaxType,1000);});$("#cookieType").change(function(){(typeof($('#cookieType').attr('checked'))=="undefined")?vme.saveOptionInCookies=false:vme.saveOptionInCookies=true;vme.saveCookies();});$(window).resize(function(){setTimeout('vme.resizeDivInputOutput();',500);});$("#mathVisualOutput").bind('contextmenu',function(event){event.preventDefault();$('#mVIEW').menu('show',{left:event.pageX,top:event.pageY});return false;});if(vme.runNotCodeMirror){$("#mathTextInput").bind('contextmenu',function(event){event.preventDefault();$('#mINSERT').menu('show',{left:event.pageX,top:event.pageY});return false;}).keyup(function(event){var key=event.keyCode||event.which;if(($.inArray(key,vme.notAllowedKeys)==-1)&&!($.inArray(key,vme.notAllowedCtrlKeys)!=-1&&event.ctrlKey)&&!($.inArray(key,vme.notAllowedAltKeys)!=-1&&event.altKey)){vme.autoUpdateOutput();}else{}});this.mathTextInput.setSelectionRange(this.mathTextInput.value.length,this.mathTextInput.value.length);}
$("[information]").mouseover(function(event){$("#divInformation").html(vme.getLocalText($(this).attr("information")));});$("[information]").mouseout(function(event){$("#divInformation").html("&nbsp;");});$('#unicodeChoise').combobox({valueField:'value',textField:'text',onSelect:function(record){var range=record.value.split(",");vme.setUniCodesValues(vme.h2d(range[0]),vme.h2d(range[1]));},onLoadSuccess:function(){$(this).combobox("select","0x25A0,0x25FF");vme.setUniCodesValues(0x25A0,0x25FF);}});},openInformationTab:function(numTab){$('#wINFORMATIONS').window('open');$('#tINFORMATIONS').tabs('select',numTab);},resizeDivInputOutput:function(){var htmlTagHeight=0;if($('#HTML_TAG').is(':visible'))htmlTagHeight=$('#HTML_TAG').height()+1;var inputOutputHeight=$("#divEquationInputOutput").height();var inputOutputWidth=$("#divEquationInputOutput").width();$("#divMathTextInput").height(inputOutputHeight/2-htmlTagHeight/2);$("#mathTextInput").height(inputOutputHeight/2-10-htmlTagHeight/2);$("#mathTextInput").width(inputOutputWidth-10);$("#mathVisualOutput").height(inputOutputHeight/2-11-htmlTagHeight/2);if(!this.runNotCodeMirror)this.codeMirrorEditor.setSize($("#divMathTextInput").width()+1,$("#divMathTextInput").height());},initialiseUImoreDialogs:function(fPanelID){var fPanelMoreID='w'+fPanelID+'_MORE'
var fPanelMore=$('#'+fPanelMoreID);if(vme.symbolPanelsLoaded.indexOf(fPanelMoreID)==-1){vme.symbolPanelsLoaded[vme.symbolPanelsLoaded.length]=fPanelMoreID;var cookie=vme.getCookie("VME_Position_"+fPanelMoreID);$(fPanelMore).dialog({onLoad:function(){vme.initialiseSymbolContent(fPanelMoreID);},onMove:function(left,top){if(vme.saveOptionInCookies)vme.setCookie("VME_Position_"+fPanelMoreID,"{left:"+left+",top:"+top+"}",1000);},title:$("#"+fPanelMoreID+"_TITLE").html()});$(fPanelMore).dialog('open');if(!vme.runNotMathJax)MathJax.Hub.Queue(["Typeset",MathJax.Hub,fPanelMoreID+"_TITLE"]);$(fPanelMore).dialog('refresh',"formulas/"+fPanelID+"_MORE.html");if(cookie&&typeof(cookie)!="undefined"){$(fPanelMore).dialog('move',eval('('+cookie+')'));}else{$(fPanelMore).dialog('move',eval('('+$(fPanelMore).attr("position")+')'));}}else{$(fPanelMore).dialog('open');}},initialiseUIaccordion:function(accordionID){var vme=this;$(accordionID).accordion({onSelect:function(title){var fPanel=$(accordionID).accordion("getSelected");if(fPanel){var fPanelID=$(fPanel).attr("id");if(vme.symbolPanelsLoaded.indexOf(fPanelID)==-1){vme.symbolPanelsLoaded[vme.symbolPanelsLoaded.length]=fPanelID;$(fPanel).html("<img src='js/jquery-easyui/themes/aguas/images/loading.gif' />");$(fPanel).load("formulas/"+fPanelID+".html",function(){vme.initialiseSymbolContent(fPanelID);$("#"+fPanelID+" a.more").click(function(event){event.preventDefault();vme.initialiseUImoreDialogs(fPanelID);});vme.chooseStyle();});}}
vme.setFocus();}});var p=$(accordionID).accordion('getSelected');if(p){p.panel('collapse',false);}},initialiseSymbolContent:function(fPanelID){var vme=this;function getSymbol(obj){if(vme.codeType=="AsciiMath"){if(typeof($(obj).attr("abegin"))!="undefined"&&typeof($(obj).attr("aend"))!="undefined"){return $(obj).attr("abegin")+$(obj).attr("aend");}else if(typeof($(obj).attr("ascii"))!="undefined"){return $(obj).attr("ascii");}else{return vme.getLocalText("NO_ASCII");}}else{if(typeof($(obj).attr("lbegin"))!="undefined"&&typeof($(obj).attr("lend"))!="undefined"){return $(obj).attr("lbegin")+$(obj).attr("lend");}else if(typeof($(obj).attr("latex"))!="undefined"){return $(obj).attr("latex");}else{return vme.getLocalText("NO_LATEX");}}};$("#"+fPanelID+" a.s").addClass("easyui-tooltip").attr("title",function(index,attr){return getSymbol(this);}).mouseover(function(event){$("#divInformation").html(getSymbol(this));}).mouseout(function(event){$("#divInformation").html("&nbsp;");}).click(function(event){event.preventDefault();if(vme.codeType=="AsciiMath"){if(typeof($(this).attr("abegin"))!="undefined"&&typeof($(this).attr("aend"))!="undefined"){vme.tag($(this).attr("abegin"),$(this).attr("aend"));}else if(typeof($(this).attr("ascii"))!="undefined"){vme.insert($(this).attr("ascii"));}else{$.messager.show({title:"<span class='rtl-title-withicon'>"+vme.getLocalText("INFORMATION")+"</span>",msg:vme.getLocalText("NO_ASCII")});}}else{if(typeof($(this).attr("lbegin"))!="undefined"&&typeof($(this).attr("lend"))!="undefined"){vme.tag($(this).attr("lbegin"),$(this).attr("lend"));}else if(typeof($(this).attr("latex"))!="undefined"){vme.insert($(this).attr("latex"));}else{$.messager.show({title:"<span class='rtl-title-withicon'>"+vme.getLocalText("INFORMATION")+"</span>",msg:vme.getLocalText("NO_LATEX")});}}});$.parser.parse("#"+fPanelID);if(!vme.runNotMathJax)MathJax.Hub.Queue(["Typeset",MathJax.Hub,fPanelID]);},initialiseCodeType:function(){var param=this.url.param('codeType');if(param&&typeof(param)!="undefined"){this.codeType=param;}else{var cookie=this.getCookie("VME_codeType");if(cookie&&typeof(cookie)!="undefined")this.codeType=cookie;}
this.printCodeType();},switchCodeType:function(){this.codeType=(this.codeType=="AsciiMath")?"Latex":"AsciiMath";this.printCodeType();this.updateOutput();},printCodeType:function(){$("[name='codeType']").filter("[value="+this.codeType+"]").attr("checked","checked");$("#title_Edition_Current_Syntax").text(this.codeType);$("#title_Edition_Other_Syntax").text((this.codeType=="AsciiMath")?"Latex":"AsciiMath");if(this.saveOptionInCookies)this.setCookie("VME_codeType",this.codeType,1000);},initialiseStyle:function(){var param=this.url.param('style');if(param&&typeof(param)!="undefined"){this.style=param;}else{var cookie=this.getCookie("VME_style");if(cookie&&typeof(cookie)!="undefined")this.style=cookie;}
$("[name='style']").filter("[value="+this.style+"]").attr("checked","checked");this.chooseStyle();},initialiseLocalType:function(){var param=this.url.param('localType');if(param&&typeof(param)!="undefined"){this.localType=param;}else{var cookie=this.getCookie("VME_localType");if(cookie&&typeof(cookie)!="undefined")this.localType=cookie;}
var html="<fieldset dir='ltr'>";var lang,langage,langCode,langDir,langAuthor;for(var lang in this.locale){langage=this.locale[lang]["_i18n_Langage"];langCode=this.locale[lang]["_i18n_HTML_Lang"];langDir=this.locale[lang]["_i18n_HTML_Dir"];langAuthor=this.locale[lang]["_i18n_Author"];html+="\n\t<input type='radio' name='localType' id='"+lang+"_localType' value='"+lang+"' /> <label for='"+lang+"_localType' dir='"+langDir+"'><!--img src='js/i18n/icons/"+langCode+".png' width='16' height='11' alt='"+langCode+"' / -->"+langage+"</label> - "+langAuthor+"<br />";}
html+="\n</fieldset>";$("#formLANGUAGE_CHOISE").html(html);},initialiseLanguage:function(){$("[name='localType']").filter("[value="+this.localType+"]").attr("checked","checked");this.localize();},initialiseEquation:function(){var param=this.url.param('equation');if(param&&typeof(param)!="undefined"){if(!this.runNotCodeMirror){this.codeMirrorEditor.setValue(param);this.setCodeMirrorCursorAtEnd();}else{this.mathTextInput.value=param;}
this.updateOutput();}else{this.getEquationFromCaller();}
if(!this.textAreaForSaveASCII){$("#mUPDATE_EQUATION").addClass("menu-item-disabled").click(function(event){vme.getEquationFromCaller();});$("#mSET_EQUATION").addClass("menu-item-disabled").click(function(event){vme.setEquationInCaller();});}},initialiseParameters:function(){var cookie=null;var param=null;var param=this.url.param('encloseAllFormula');if(param&&typeof(param)!="undefined"){this.encloseAllFormula=this.getBoolean(param);}else{var cookie=this.getCookie("VME_encloseAllFormula");if(cookie&&typeof(cookie)!="undefined")this.encloseAllFormula=this.getBoolean(cookie);}
this.encloseAllFormula?$("#encloseType").attr("checked","checked"):$("#btENCLOSE_TYPE").addClass("unselect");var param=this.url.param('saveOptionInCookies');if(param&&typeof(param)!="undefined"){this.saveOptionInCookies=this.getBoolean(param);}else{var cookie=this.getCookie("VME_saveOptionInCookies");if(cookie&&typeof(cookie)!="undefined")this.saveOptionInCookies=this.getBoolean(cookie);}
if(this.saveOptionInCookies)$("#cookieType").attr("checked","checked");var param=this.url.param('autoUpdateTime');if(param&&typeof(param)!="undefined"){this.autoUpdateTime=param;}else{var cookie=this.getCookie("VME_autoUpdateTime");if(cookie&&typeof(cookie)!="undefined")this.autoUpdateTime=cookie;}
if(this.autoUpdateTime)$("#autoUpdateTime").val(this.autoUpdateTime);var param=this.url.param('menuupdateType');if(param&&typeof(param)!="undefined"){this.menuupdateType=this.getBoolean(param);}else{var cookie=this.getCookie("VME_menuupdateType");if(cookie&&typeof(cookie)!="undefined")this.menuupdateType=this.getBoolean(cookie);}
if(this.menuupdateType)$("#menuupdateType").attr("checked","checked");var param=this.url.param('autoupdateType');if(param&&typeof(param)!="undefined"){this.autoupdateType=this.getBoolean(param);}else{var cookie=this.getCookie("VME_autoupdateType");if(cookie&&typeof(cookie)!="undefined")this.autoupdateType=this.getBoolean(cookie);}
if(this.autoupdateType)$("#autoupdateType").attr("checked","checked");var param=this.url.param('menuMathjaxType');if(param&&typeof(param)!="undefined"){this.menuMathjaxType=this.getBoolean(param);}else{var cookie=this.getCookie("VME_menuMathjaxType");if(cookie&&typeof(cookie)!="undefined")this.menuMathjaxType=this.getBoolean(cookie);}
if(this.menuMathjaxType)$("#menuMathjaxType").attr("checked","checked");this.switchMathJaxMenu();},switchMathJaxMenu:function(){if(typeof($('#menuMathjaxType').attr('checked'))=="undefined"){this.menuMathjaxType=false;if(!this.runNotMathJax)MathJax.Hub.Config({showMathMenu:false,showMathMenuMSIE:false});}else{this.menuMathjaxType=true;if(!this.runNotMathJax)MathJax.Hub.Config({showMathMenu:true,showMathMenuMSIE:true});}},initialiseAsciiMathCodesList:function(){if(!this.asciiMathCodesListLoaded){var symbols=(this.runNotMathJax?{}:MathJax.InputJax.AsciiMath.AM.symbols);var ascii;var html=("<table border='1' cellspacing='0' style='margin-left:20px;border-spacing:0px;border-collapse:collapse;'><caption>"+symbols.length+" <span locate='ASCIIMATH_SYMBOLS'>"+this.getLocalText("ASCIIMATH_SYMBOLS")+"</span></caption>");html+=("\n<tr><th><span locate='ASCIIMATH_INPUT'>"+this.getLocalText("ASCIIMATH_INPUT")+"</span></th><th><span locate='OUTPUT'>"+this.getLocalText("OUTPUT")+"</span></th><th><span locate='LATEX_EQUIVALENT'>"+this.getLocalText("LATEX_EQUIVALENT")+"</span></th></tr>");for(var s=0;s<symbols.length;s++){ascii=symbols[s];html+=('\n<tr><td dir="ltr"><a href="#" class="s" ascii="'+ascii.input+'">'+ascii.input+'</a></td><td  dir="ltr" style="font-size:150%;"><a href="#" class="s" ascii="'+(ascii.input?ascii.input:'')+'" '+(ascii.tex?'latex="\\'+ascii.tex+'"':'')+'>'+(ascii.output?ascii.output:'')+'</a></td><td dir="ltr">'+(ascii.tex?'<a href="#" class="s" latex="\\'+ascii.tex+'">'+ascii.tex+'</a>':'')+'</td></tr>');}
html+="\n</table>";$("#cASCIIMATH_CODES_LIST").html(html);this.initialiseSymbolContent("cASCIIMATH_CODES_LIST");this.asciiMathCodesListLoaded==true;}},initialiseLatexMathjaxCodesList:function(){if(!this.latexMathjaxCodesListLoaded){function listNames(obj,prefix){var html="";for(var i in obj){if(obj[i]!='Space')html+=('<tr><td dir="ltr"><a href="#" class="s" latex="'+prefix+i+'">'+prefix+i+'</a></td><td></td></tr>');}
return html;}
function listNamesValues(obj,prefix){var html="";var hexa=0;var output="";for(var i in obj){if(typeof obj[i]==='object'){hexa=parseInt(obj[i][0],16);if(isNaN(hexa))output=obj[i][0];else output="&#x"+obj[i][0]+";";html+=('<tr><td dir="ltr"><a href="#" class="s" latex="'+prefix+i+'">'+prefix+i+'</a><td style="font-size:150%;"><a href="#" class="s" latex="'+prefix+i+'">'+output+'</a></td></tr>');}else{hexa=parseInt(obj[i],16);if(isNaN(hexa))output=obj[i];else output="&#x"+obj[i]+";";html+=('<tr><td dir="ltr"><a href="#" class="s" latex="'+prefix+i+'">'+prefix+i+'</a><td style="font-size:150%;"><a href="#" class="s" latex="'+prefix+i+'">'+output+'</a></td></tr>');}}
return html;}
if(!Object.keys){Object.keys=function(obj){var keys=[],k;for(k in obj){if(Object.prototype.hasOwnProperty.call(obj,k)){keys.push(k);}}
return keys;};}
var special=(this.runNotMathJax?{}:(MathJax.InputJax.TeX.Definitions.special));var remap=(this.runNotMathJax?{}:(MathJax.InputJax.TeX.Definitions.remap));var mathchar0mi=(this.runNotMathJax?{}:(MathJax.InputJax.TeX.Definitions.mathchar0mi));var mathchar0mo=(this.runNotMathJax?{}:(MathJax.InputJax.TeX.Definitions.mathchar0mo));var mathchar7=(this.runNotMathJax?{}:(MathJax.InputJax.TeX.Definitions.mathchar7));var delimiter=(this.runNotMathJax?{}:(MathJax.InputJax.TeX.Definitions.delimiter));var macros=(this.runNotMathJax?{}:(MathJax.InputJax.TeX.Definitions.macros));var environment=(this.runNotMathJax?{}:(MathJax.InputJax.TeX.Definitions.environment));var length=(Object.keys(special).length+Object.keys(remap).length+Object.keys(mathchar0mi).length+Object.keys(mathchar0mo).length+Object.keys(mathchar7).length+Object.keys(delimiter).length+Object.keys(macros).length+Object.keys(environment).length);var html=("<table border='1' cellspacing='0' style='margin-left:20px;border-spacing:0px;border-collapse:collapse;'><caption>"+length+" <span locate='MATHJAX_LATEX_SYMBOLS'>"+this.getLocalText("MATHJAX_LATEX_SYMBOLS")+"</span></caption>");html+=("\n<tr><th><span locate='MATHJAX_LATEX_INPUT'>"+this.getLocalText("MATHJAX_LATEX_INPUT")+"</span></th><th><span locate='OUTPUT'>"+this.getLocalText("OUTPUT")+"</span></th></tr>");html+=listNames(special,"");html+=listNamesValues(remap,"");html+=listNamesValues(mathchar0mi,"\\");html+=listNamesValues(mathchar0mo,"\\");html+=listNamesValues(mathchar7,"\\");html+=listNamesValues(delimiter,"");html+=listNames(macros,"\\");html+=listNames(environment,"");html+="\n</table>";$("#cLATEX_CODES_LIST").html(html);this.initialiseSymbolContent("cLATEX_CODES_LIST");this.latexMathjaxCodesListLoaded=true;}},initialiseUniCodesList:function(){if(!this.uniCodesListLoaded){var html="<table><caption>[0x0000,0xFFFF]</caption>";for(var i=0;i<=650;i=i+10){html+="\n<tr>";for(var j=i;j<i+10;j++){if(j>655)break;html+="<td><a style='border:1px solid #f0f0f0;' class='s' href='#' onclick='vme.selectUniCodesValues("+((j*100)+1)+","+((j+1)*100)+");return false;'>"+(i<10?"00":(i<100?"0":""))+j+"</a></td>";}
html+="</tr>";}
html=html+"\n</table>";$("#cUNICODES_LIST").html(html);this.uniCodesListLoaded=true;$('#unicodeChoise').combobox("reload","formulas/unicodeChoiseData.json");}},selectUniCodesValues:function(i1,i2){$('#unicodeChoise').combobox("select","");this.setUniCodesValues(i1,i2,true);},setUniCodesValues:function(i1,i2,breakFFFF){var html=("<table border='1' cellspacing='0' style='border-spacing:0px;border-collapse:collapse;'>");html+=("\n<tr><th><span locate='UNICODES_INPUT'>"+this.getLocalText("UNICODES_INPUT")+"</span></th><th>HEXA</th><th><span locate='OUTPUT'>"+this.getLocalText("OUTPUT")+"</span></th></tr>");for(var i=i1;i<=i2;i++){if(breakFFFF&i>65535)break;html+=("\n<tr><td>"+i+"<td style='text-align:center;'>"+this.d2h(i)+"</td><td style='font-size:150%;text-align:center;'><a href='#' class='s' latex='\\unicode{"+i+"} '>&#"+i+";</a></td></tr>");}
html=html+"\n</table>";$("#cUNICODES_VALUES").html(html);$("#cUNICODES_VALUES").scrollTop(0);this.initialiseSymbolContent("cUNICODES_VALUES");},showMatrixWindow:function(rows,cols){this.updateMatrixWindow(rows,cols);$('#wMATRIX').dialog('open');},updateMatrixWindow:function(rows,cols){if(typeof(rows!="undefined")&&rows!=null)document.formMATRIX.rowsMATRIX.value=rows;if(typeof(cols!="undefined")&&cols!=null)document.formMATRIX.colsMATRIX.value=cols;rows=document.formMATRIX.rowsMATRIX.value;cols=document.formMATRIX.colsMATRIX.value;var html='<table style="border-spacing:0px; border-collapse:collapse;">';var r,c,value;for(r=1;r<=rows;r++){html+="<tr>";for(c=1;c<=cols;c++){value=(vme.codeType=="AsciiMath"?"a_"+r+c:"a_{"+r+c+"}")
html=html+"<td><input type='text' size='5' name='a_"+r+c+"' value='"+value+"'/></td>";}
html+="</tr>";}
html+="</table>";$("#showMATRIX").html(html);$('#wMATRIX').dialog('open');var width=20+$("#tableMATRIX").width();var height=80+$("#tableMATRIX").height();if(width<240)width=240;if(height<160)height=160;$('#wMATRIX').dialog({title:vme.getLocalText("MATRIX"),width:width,height:height});$('#wMATRIX').dialog('open');},setLatexMatrixInEditor:function(){var vme=this;var cols=document.formMATRIX.colsMATRIX.value;var rows=document.formMATRIX.rowsMATRIX.value;var formula="";var r,c;for(r=1;r<=rows;r++){for(c=1;c<=cols;c++){eval("formula = formula + document.formMATRIX.a_"+r+c+".value");if(c<cols)formula+=" & ";}
if(r<rows)formula+=" \\\\ ";}
var left=document.formMATRIX.leftbracketMATRIX.value;var right=document.formMATRIX.rightbracketMATRIX.value;var matrix="";if(left!="{:")matrix+="\\left ";if(left=="{"||left=="}")matrix+="\\";if(left=="||")matrix+="\\|";if(left=="(:")matrix+="\\langle";if(left==":)")matrix+="\\rangle";if(left!="{:"&&left!="||"&&left!=":)"&&left!="(:")matrix+=document.formMATRIX.leftbracketMATRIX.value;matrix+=" \\begin{matrix} ";matrix+=formula;matrix+=" \\end{matrix} ";if(right!=":}")matrix+=" \\right ";if(right=="}"||right=="{")matrix+="\\"
if(right=="||")matrix+="\\|";if(right=="(:")matrix+="\\langle";if(right==":)")matrix+="\\rangle";if(right!=":}"&&right!="||"&&right!=":)"&&right!="(:")matrix+=document.formMATRIX.rightbracketMATRIX.value;matrix+=" ";vme.insert(matrix);},setAsciiMatrixInEditor:function(){var vme=this;var cols=document.formMATRIX.colsMATRIX.value;var rows=document.formMATRIX.rowsMATRIX.value;var formula="";var r,c;for(r=1;r<=rows;r++){if(rows>1)formula+="(";for(c=1;c<=cols;c++){eval("formula = formula + document.formMATRIX.a_"+r+c+".value");if(rows==1&&c<cols)formula+=" ";if(rows>1&&c<cols)formula+=",";}
if(rows>1)formula+=")";if(rows>1&&r<rows)formula+=",";}
var left=document.formMATRIX.leftbracketMATRIX.value;var right=document.formMATRIX.rightbracketMATRIX.value;var matrix="";if(left=="}"||left=="]"||left==")"||left==":)")matrix+="{: "
matrix+=left;if(left=="{"||left=="}"||left=="]"||left==")"||left==":)")matrix+="{:"
matrix+=formula;if(right=="}"||right=="{"||right=="["||right=="("||right=="(:")matrix+=":}"
matrix+=right;if(right=="{"||right=="["||right=="("||right=="(:")matrix+=" :}"
matrix+=" ";vme.insert(matrix);},locale:{},getLocalText:function(TEXT_CODE){try{return this.locale[this.localType][TEXT_CODE];}catch(e){return"";}},localize:function(){var vme=this;$("html").attr("xml:lang",vme.getLocalText("_i18n_HTML_Lang"));$("html").attr("lang",vme.getLocalText("_i18n_HTML_Lang"));$("html").attr("dir",vme.getLocalText("_i18n_HTML_Dir"));vme.setRTLstyle();$("span[locate]").each(function(){if(typeof($(this).attr("locate"))!="undefined"){var localText=vme.getLocalText($(this).attr("locate"));if(typeof(localText)!="undefined")$(this).html(localText);}});$("#btTITLE_EDITION_SYNTAX").click(function(event){event.preventDefault();vme.switchCodeType();vme.setFocus();});if(!vme.encloseAllFormula){$("#btENCLOSE_TYPE").addClass("unselect");$('#HTML_TAG').hide();}else{$("#btENCLOSE_TYPE").removeClass("unselect");$('#HTML_TAG').show();}
vme.resizeDivInputOutput();$("#btENCLOSE_TYPE").click(function(event){event.preventDefault();vme.encloseAllFormula=!vme.encloseAllFormula;if(vme.encloseAllFormula){$("#encloseType").attr("checked","checked");$("#btENCLOSE_TYPE").removeClass("unselect");$('#HTML_TAG').show();if(!vme.runNotCodeMirror){vme.codeMirrorEditor.setOption("mode","text/html");vme.codeMirrorEditor.setOption("autoCloseTags",true);}}else{$("#encloseType").removeAttr("checked");$("#btENCLOSE_TYPE").addClass("unselect");$('#HTML_TAG').hide();if(!vme.runNotCodeMirror){vme.codeMirrorEditor.setOption("mode","text/x-latex");vme.codeMirrorEditor.setOption("autoCloseTags",false);}}
vme.resizeDivInputOutput();vme.updateOutput();vme.setFocus();if(vme.saveOptionInCookies)vme.setCookie("VME_encloseAllFormula",vme.encloseAllFormula,1000);});$("#btHTML_STRONG").click(function(event){event.preventDefault();vme.tag("<strong>","</strong>");});$("#btHTML_EM").click(function(event){event.preventDefault();vme.tag("<em>","</em>");});$("#btHTML_U").click(function(event){event.preventDefault();vme.tag("<u>","</u>");});$("#btHTML_S").click(function(event){event.preventDefault();vme.tag("<s>","</s>");});$("#btHTML_BR").click(function(event){event.preventDefault();vme.insert("<br/>");});$("#btHTML_P").click(function(event){event.preventDefault();vme.tag("<p>","</p>");});$("#btHTML_H1").click(function(event){event.preventDefault();vme.tag("<h1>","</h1>");});$("#btHTML_H2").click(function(event){event.preventDefault();vme.tag("<h2>","</h2>");});$("#btHTML_H3").click(function(event){event.preventDefault();vme.tag("<h3>","</h3>");});$("#btHTML_Latex").click(function(event){event.preventDefault();vme.tag("$"," $");});$("#btHTML_LatexLine").click(function(event){event.preventDefault();vme.tag("$$"," $$");});$("#btHTML_AsciiMath").click(function(event){event.preventDefault();vme.tag("`"," `");});$("#btHTML_OL").click(function(event){event.preventDefault();vme.tag("\n<ol>\n\t<li>","</li>\n</ol>\n");});$("#btHTML_UL").click(function(event){event.preventDefault();vme.tag("\n<ul>\n\t<li>","</li>\n</ul>\n");});$("#btHTML_A").click(function(event){event.preventDefault();vme.tag("<a href=\"http://www.equatheque.net\">","</a>");});$("#btHTML_HR").click(function(event){event.preventDefault();vme.insert("<hr/>");});$("#btHTML_IMG").click(function(event){event.preventDefault();vme.insert("<img src=\"http://www.equatheque.net/image/EquaThEque.png\"/>");});$("#btHTML_CENTER").click(function(event){event.preventDefault();vme.tag("<p style=\"text-align:center\">","</p>");});$("#btHTML_LEFT").click(function(event){event.preventDefault();vme.tag("<p style=\"text-align:left\">","</p>");});$("#btHTML_RIGHT").click(function(event){event.preventDefault();vme.tag("<p style=\"text-align:right\">","</p>");});$("#btHTML_JUSTIFY").click(function(event){event.preventDefault();vme.tag("<p style=\"text-align:justify\">","</p>");});$("#btHTML_INDENT").click(function(event){event.preventDefault();vme.tag("<p style=\"margin-left:40px;text-align:justify\">","</p>");});if(!vme.runNotColorPicker){$('#btHTML_TEXTCOLOR').ColorPicker({color:'#0000ff',flat:false,onShow:function(colpkr){$(colpkr).fadeIn(500);return false;},onHide:function(colpkr){$(colpkr).fadeOut(500);return false;},onChange:function(hsb,hex,rgb){$('#btHTML_TEXTCOLOR').css('backgroundColor','#'+hex);},onSubmit:function(hsb,hex,rgb,el){$(el).css('backgroundColor','#'+hex);$(el).ColorPickerHide();vme.tag("<span style=\"color:#"+hex+"\">","</span>");}});$('#btHTML_FORECOLOR').ColorPicker({color:'#0000ff',flat:false,onShow:function(colpkr){$(colpkr).fadeIn(500);return false;},onHide:function(colpkr){$(colpkr).fadeOut(500);return false;},onChange:function(hsb,hex,rgb){$('#btHTML_FORECOLOR').css('backgroundColor','#'+hex);},onSubmit:function(hsb,hex,rgb,el){$(el).css('backgroundColor','#'+hex);$(el).ColorPickerHide();vme.tag("<span style=\"background-color:#"+hex+"\">","</span>");}});}
$("#btCOPYRIGHT").click(function(event){event.preventDefault();vme.openInformationTab(0);vme.setFocus();});$("#VMEversionInf").html(vme.version);},initialiseLangRessourcesList:function(){var lang,ressource,list,dir,langage,title;for(lang in this.locale){langage=this.locale[lang]["_i18n_Langage"];title=lang;if(!$('#tLANGUAGE_LIST').tabs('exists',title)){list="<table border='1' cellspacing='0' style='border-spacing:0px;border-collapse:collapse;margin:20px;width:580px'>";dir=this.locale[lang]["_i18n_HTML_Dir"];for(ressource in this.locale[lang]){list+=("<tr><td valign='top'><b>"+ressource+"</b> : </td><td valign='top' class='rtl-align-right'"+((dir=="rtl")?"style='text-align:right;'":"")+" dir='"+dir+"'>"+this.locale[lang][ressource].replace(/</gi,"&lt;")+"</td></tr>\n");}
list+="</table>";$('#tLANGUAGE_LIST').tabs('add',{title:title,content:list,closable:false});}}},autoUpdateOutput:function(){var vme=this;if(typeof(vme.autoUpdateOutputTimeout)!="undefined"&&vme.autoUpdateOutputTimeout!=null){clearTimeout(vme.autoUpdateOutputTimeout);delete vme.autoUpdateOutputTimeout;}
if(vme.autoupdateType)vme.autoUpdateOutputTimeout=setTimeout("vme.updateOutput();",vme.autoUpdateTime);},updateOutput:function(){var vme=this;var encloseChar=(vme.codeType=="AsciiMath"?"`":"$");var content="";if(!vme.runNotCodeMirror){content=vme.codeMirrorEditor.getValue();}else{content=$(vme.mathTextInput).val();}
if(content=="")content=" ";if(!vme.encloseAllFormula){content=content.replace(/</gi,"&lt;");content=encloseChar+content+encloseChar;}else{}
$(vme.mathVisualOutput).html(content);if(!vme.runNotMathJax)MathJax.Hub.Queue(["Typeset",MathJax.Hub,vme.mathVisualOutput]);},insert:function(b){if(!this.runNotCodeMirror){this.codeMirrorEditor.replaceSelection(b);this.codeMirrorEditor.setCursor(this.codeMirrorEditor.getCursor());if(this.menuupdateType)this.updateOutput();}else{this.encloseSelection("","",function(a){return b+a;})}
this.setFocus();},insertBeforeEachLine:function(b){this.encloseSelection("","",function(a){a=a.replace(/\r/g,"");return b+a.replace(/\n/g,"\n"+b)})},tag:function(b,a){b=b||null;a=a||b;if(!b||!a){return}
if(!this.runNotCodeMirror){this.codeMirrorEditor.replaceSelection(b+this.codeMirrorEditor.getSelection()+a);var pos=this.codeMirrorEditor.getCursor();pos.ch=pos.ch-a.length;this.codeMirrorEditor.setCursor(pos);if(this.menuupdateType)this.updateOutput();}else{this.encloseSelection(b,a)}
this.setFocus();},encloseSelection:function(f,j,h){this.mathTextInput.focus();f=f||"";j=j||"";var a,d,c,b,i,g;if(typeof(document.selection)!="undefined"){c=document.selection.createRange().text}else{if(typeof(this.mathTextInput.setSelectionRange)!="undefined"){a=this.mathTextInput.selectionStart;d=this.mathTextInput.selectionEnd;b=this.mathTextInput.scrollTop;c=this.mathTextInput.value.substring(a,d)}}
if(c.match(/ $/)){c=c.substring(0,c.length-1);j=j+" "}
if(typeof(h)=="function"){g=(c)?h.call(this,c):h("")}else{g=(c)?c:""}
i=f+g+j;if(typeof(document.selection)!="undefined"){var e=document.selection.createRange().text=i;this.mathTextInput.caretPos-=j.length;}else{if(typeof(this.mathTextInput.setSelectionRange)!="undefined"){this.mathTextInput.value=this.mathTextInput.value.substring(0,a)+i+this.mathTextInput.value.substring(d);if(c){this.mathTextInput.setSelectionRange(a+i.length,a+i.length);}else{if(j!=""){this.mathTextInput.setSelectionRange(a+f.length,a+f.length);}
else{this.mathTextInput.setSelectionRange(a+i.length,a+i.length);}}
this.mathTextInput.scrollTop=b}}
if(this.menuupdateType)this.updateOutput();},showWindow:function(file,width,height,top,left,name,scrollbars,resizable,toolbar,menubar){if(!this.windowIsOpenning){this.windowIsOpenning=true;if(!name)name='';if(!scrollbars)scrollbars='no';if(!resizable)resizable='no';if(!toolbar)toolbar='no';if(!menubar)menubar='no';var win=window.open(file,name,"height="+height+",width="+width+"top="+top+",left="+left+",status=yes,toolbar="+toolbar+",menubar"+menubar+",location=no,resizable="+resizable+",scrollbars="+scrollbars+",modal=no,dependable=yes");win.focus();this.windowIsOpenning=false;return win;}else{return null;}},newEditor:function(){this.showWindow("VisualMathEditor.html"+(this.runLocal?"?runLocal":""),780,580,100,100);},closeEditor:function(){if(window.opener){if(!window.opener.closed){window.opener.focus();if(this.textAreaForSaveASCII)this.textAreaForSaveASCII.focus();}
self.close();}else{$.messager.alert("<span class='rtl-title-withicon'>"+this.getLocalText("ERROR")+"</span>",this.getLocalText("ERROR_QUIT_EDITOR"),'error');}},testOpenFile:function(){if(typeof(FileReader)=="undefined"){$.messager.alert("<span class='rtl-title-withicon'>"+this.getLocalText("ERROR")+"</span>","VisualMathEditor JAVASCRIPT ERROR : \n\nFileReader isn't supported!",'error');}else{document.getElementById("fOPEN_EQUATION").click();}},openFile:function(event){var file=event.target.files?event.target.files[0]:event.target.value;var reader=new FileReader();reader.onload=function(){if(!vme.runNotCodeMirror){vme.codeMirrorEditor.setValue(this.result);vme.setCodeMirrorCursorAtEnd();}else{vme.mathTextInput.value=this.result;}
vme.updateOutput();};reader.readAsText(file,"UTF-8");},saveEquationFile:function(){var content="";if(!vme.runNotCodeMirror)content=vme.codeMirrorEditor.getValue();else content=$(vme.mathTextInput).val();var type="application/x-download";var name="equation_vme_"+(vme.encloseAllFormula?"html":this.codeType.toLowerCase())+".txt";var blob=null;if(typeof window.Blob=="function"){try{blob=new Blob([content],{type:type});}catch(e){}}else{var BlobBuilder=window.BlobBuilder||window.MozBlobBuilder||window.WebKitBlobBuilder||window.MSBlobBuilder;if(typeof window.BlobBuilder=="function"){try{var bb=new BlobBuilder();bb.append(content);blob=bb.getBlob(type);}catch(e){}}}
if(blob&&(typeof navigator.msSaveBlob=="function")){try{navigator.msSaveBlob(blob,name);return;}catch(e){}}
if($.browser.msie){var dociframe=ieFrameForSaveContent.document;dociframe.body.innerHTML=content;dociframe.execCommand("SaveAs",true,name);return;}
var bloburl=null;if(blob){var URL=window.URL||window.webkitURL;try{bloburl=URL.createObjectURL(blob);}catch(e){}}
{$("#fSAVE_EQUATION").attr("href",bloburl?bloburl:"data:"+type+";charset=utf-8;filename="+name+";content-disposition=attachment,"+encodeURIComponent(content));$("#fSAVE_EQUATION").attr("download",name);$("#fSAVE_EQUATION").attr("type",type);var comp=document.getElementById('fSAVE_EQUATION');try{comp.click();return;}catch(ex){}
try{if(document.createEvent){var e=document.createEvent('MouseEvents');e.initEvent('click',true,true);comp.dispatchEvent(e);return;}}catch(ex){}
try{if(document.createEventObject){var evObj=document.createEventObject();comp.fireEvent("onclick",evObj);return;}}catch(ex){}}
if(bloburl){window.location.href=bloburl;return;}
{window.location="data:"+type+";charset=utf-8,"+encodeURIComponent(content);return;}},setEquationInCaller:function(){if(!this.textareaIgnore&&window.opener&&this.textAreaForSaveASCII){if(!window.opener.closed){window.opener.focus();if(!this.runNotCodeMirror){this.textAreaForSaveASCII.value=this.codeMirrorEditor.getValue();}else{this.textAreaForSaveASCII.value=this.mathTextInput.value;}
this.textAreaForSaveASCII.focus();}
self.close();}else if(!this.textareaIgnore&&localStorage&&this.textAreaForSaveASCII){if(!this.runNotCodeMirror){this.textAreaForSaveASCII.value=this.codeMirrorEditor.getValue();}else{this.textAreaForSaveASCII.value=this.mathTextInput.value;}
localStorage.setItem(this.textAreaForSaveASCII.id,this.textAreaForSaveASCII.value);localStorage.setItem('update_'+this.textAreaForSaveASCII.id,"1");self.close();}else{$.messager.alert("<span class='rtl-title-withicon'>"+this.getLocalText("ERROR")+"</span>",this.getLocalText("ERROR_SET_EQUATION"),'error');}},getEquationFromCaller:function(){var textareaID=this.textareaID||this.url.param('textarea');if(!this.textareaIgnore&&textareaID){var value=null;this.textareaID=textareaID;if(window.opener&&(this.textAreaForSaveASCII=window.opener.document.getElementById(textareaID))){value=this.textAreaForSaveASCII.value;}else if(localStorage&&(value=localStorage.getItem(textareaID))){this.textAreaForSaveASCII={id:textareaID,value:value};}
if(value){if(!this.runNotCodeMirror){this.codeMirrorEditor.setValue(value);this.setCodeMirrorCursorAtEnd();}else{this.mathTextInput.value=value;}
this.updateOutput();}else{$.messager.alert("<span class='rtl-title-withicon'>"+this.getLocalText("ERROR")+"</span>",this.getLocalText("ERROR_SET_EQUATION"),'error');}}},viewMathML:function(element){var vme=this;if(!vme.runNotMathJax){MathJax.Hub.Queue(function(){var jax=MathJax.Hub.getAllJax(element);for(var i=0;i<jax.length;i++){vme.toMathML(jax[i],function(mml){mml=mml.replace(/&/gi,"&amp;");mml=mml.replace(/</gi,"&lt;");mml=mml.replace(/>/gi,"&gt;");mml=mml.replace(/\n/gi,"<br/>");mml=mml.replace(/ /gi,"&nbsp;");$.messager.show({title:"<span class='rtl-title-withicon'>MathMML</span>",msg:"<div style='height:255px;width:277px;overflow:scroll;' dir='ltr'>"+mml+"</div>",timeout:0,width:300,height:300});});}});}},toMathML:function(jax,callback){if(!this.runNotMathJax){var mml;try{mml=jax.root.toMathML("");}catch(err){if(!err.restart){throw err}
return MathJax.Callback.After([toMathML,jax,callback],err.restart);}
MathJax.Callback(callback)(mml);}},chooseStyle:function(){var tags=['link','style'];var t,s,title;var colorImg="black",codemirrorCSS="default",colorpickerCSS="gray",colorType=null;for(t=0;t<(tags.length);t++){var styles=document.getElementsByTagName(tags[t]);for(s=0;s<(styles.length);s++){title=styles[s].getAttribute("title");if(title){if(title!=this.style){styles[s].disabled=true;}else{styles[s].disabled=false;colorType=styles[s].getAttribute("colorType");}}}}
if(colorType=="black"){colorImg="white"
codemirrorCSS="twilight";colorpickerCSS="black";}
if(!this.runNotCodeMirror)this.codeMirrorEditor.setOption("theme",codemirrorCSS);if(!this.runNotColorPicker){document.getElementById("colorpickerCSSblack").disabled=!(colorpickerCSS=="black");document.getElementById("colorpickerCSSgray").disabled=!(colorpickerCSS=="gray");}
var posColor,posExt;$(".symbol_btn").each(function(index){if(this.className.indexOf("icon-matrix")>-1){posColor=this.className.lastIndexOf("_");if(posColor)this.className=this.className.substr(0,posColor+1)+colorImg;}});this.setRTLstyle();},setRTLstyle:function(){var dir=this.getLocalText("_i18n_HTML_Dir");if(dir=="rtl"){document.getElementById("RTLstyle").disabled=false;}else{document.getElementById("RTLstyle").disabled=true;}},saveCookies:function(){if(this.saveOptionInCookies){this.setCookie("VME_codeType",this.codeType,1000);this.setCookie("VME_encloseAllFormula",this.encloseAllFormula,1000);this.setCookie("VME_saveOptionInCookies",this.saveOptionInCookies,1000);this.setCookie("VME_localType",this.localType,1000);this.setCookie("VME_style",this.style,1000);this.setCookie("VME_autoUpdateTime",this.autoUpdateTime,1000);this.setCookie("VME_menuupdateType",this.menuupdateType,1000);this.setCookie("VME_autoupdateType",this.autoupdateType,1000);this.setCookie("VME_menuMathjaxType",this.menuMathjaxType,1000);}else{this.deleteCookie("VME_codeType");this.deleteCookie("VME_encloseAllFormula");this.deleteCookie("VME_saveOptionInCookies");this.deleteCookie("VME_localType");this.deleteCookie("VME_style");this.deleteCookie("VME_autoUpdateTime");this.deleteCookie("VME_menuupdateType");this.deleteCookie("VME_autoupdateType");this.deleteCookie("VME_menuMathjaxType");this.deleteCookie("VME_Position_wf_BRACKET_SYMBOLS_MORE");this.deleteCookie("VME_Position_wf_ARROW_SYMBOLS_MORE");this.deleteCookie("VME_Position_wf_RELATION_SYMBOLS_MORE");this.deleteCookie("VME_Position_wf_FR_CHAR_MORE");this.deleteCookie("VME_Position_wf_BBB_CHAR_MORE");this.deleteCookie("VME_Position_wf_L_U_GREEK_CHAR_MORE");this.deleteCookie("VME_Position_wf_ALL_CHAR_MORE");this.deleteCookie("VME_Position_wf_EQUATION_MORE");this.deleteCookie("VME_Position_wf_COMMUTATIVE_DIAGRAM_MORE");this.deleteCookie("VME_Position_wf_CHEMICAL_FORMULAE_MORE");this.deleteCookie("VME_Position_wf_HORIZONTAL_SPACING_MORE");this.deleteCookie("VME_Position_wf_VERTICAL_SPACING_MORE");this.deleteCookie("VME_Position_wf_SPECIAL_CHARACTER_MORE");}},setCookie:function(name,value,days,path,domain,secure){var expires="";if(days){var date=new Date();date.setTime(date.getTime()+(days*24*60*60*1000));expires="; expires="+date.toGMTString();}
document.cookie=name+"="+escape(value)+expires+((path)?"; path="+path:"; path=/")+((domain)?"; domain="+domain:"")+((secure)?"; secure":"");},getCookie:function(name){var nameEQ=name+"=";var ca=document.cookie.split(';');var i,c;for(i=0;i<ca.length;i++){c=ca[i];while(c.charAt(0)==' ')c=c.substring(1,c.length);if(c.indexOf(nameEQ)==0)return unescape(c.substring(nameEQ.length,c.length));}
return null;},deleteCookie:function(name){this.setCookie(name,"",-1);},getBoolean:function(text){return(text=="true");},d2h:function(d){return d.toString(16).toUpperCase();},h2d:function(h){return parseInt(h,16);},encodeStringForHTMLAttr:function(s){if(typeof s=="string")return s.replace("\"","&quot;");else return"";},loadScript:function(url,callback){var script=document.createElement("script");script.type="text/javascript";script.src=url;if(script.readyState){script.onreadystatechange=function(){if(script.readyState=="loaded"||script.readyState=="complete"){script.onreadystatechange=null;callback();}};}else{script.onload=function(){callback();};}
document.body.appendChild(script);}};VisualMathEditor.prototype.locale.vi_VN={_i18n_Langage:"Tiếng Việt (Việt Nam)",_i18n_Version:"1.0",_i18n_Author:"<a href='http://translate.google.fr' target='_blank' class='bt' >Google translate</a>",_i18n_HTML_Lang:"vi",_i18n_HTML_Dir:"ltr",ERROR:"lôi",FILE:"tập tin",INSERT:"chèn",VIEW:"Xem",OPTIONS:"Tùy chọn",MATHJAX_MENU:"Xem trình đơn MathJax",COOKIE_SAVE:"Lưu các tùy chọn trên máy tính của tôi trong một tập tin cookie",INFORMATIONS:"Thông tin",INFORMATION:"Thông tin",MENU_UPDATE:"Cập nhật phương trình khi nhấp vào trình đơn",AUTO_UPDATE:"Phương trình tự động cập nhật vào phím bấm",UPDATE_INTERVAL:"Cập nhật khoảng thời gian (ms)",CLOSE:"Đóng",SET_IN_EDITOR:"Đặt trong trình soạn thảo",NO_ASCII:"AsciiMath biểu tượng không được xác định cho công thức này.",NO_LATEX:"Latex biểu tượng không được xác định cho công thức này.",ERROR_QUIT_EDITOR:"Không thể đóng trình soạn thảo khi nó được mở ra trong cửa sổ chính của trình duyệt.",NEW_EDITOR:"tân",QUIT_EDITOR:"Quit biên tập viên",SAVE_EQUATION:"lưu phương trình",OPEN_EQUATION:"mở phương trình",UPDATE_EQUATION:"Cập nhật phương trình",SET_EQUATION:"Thiết lập phương trình",ERROR_SET_EQUATION:"Biên tập viên đã không được gọi là một lĩnh vực bên ngoài.",MATH_ML:"MathML dịch",UNICODES_LIST:"Danh sách mã Unicode",LATEX_CODES_LIST:"Danh sách của MathJax LaTeX mã",ASCIIMATH_CODES_LIST:"Danh sách các mã AsciiMath",LANGUAGE_LIST:"Ngôn ngữ tài nguyên",ASCIIMATH_SYMBOLS:"AsciiMath biểu tượng!",MATHJAX_LATEX_SYMBOLS:"MathJax LaTeX biểu tượng!",ASCIIMATH_INPUT:"AsciiMath đầu vào",MATHJAX_LATEX_INPUT:"MathJax LaTeX đầu vào",UNICODES_INPUT:"Mã",OUTPUT:"đầu ra",LATEX_EQUIVALENT:"LaTeX tương đương",LATEX_DOCUMENTATION:"LaTeX tài liệu",MHCHEM_DOCUMENTATION:"mhchem tài liệu",AMSCD_DOCUMENTATION:"AMScd tài liệu",MATH_ML_SPECIFICATIONS:"MathML thông số kỹ thuật",EDITOR_PARAMETERS:"Biên tập các thông số ...",STYLE_CHOISE:"Lựa chọn phong cách của bạn",LANGUAGE_CHOISE:"Lựa chọn ngôn ngữ của bạn",THANKS:"Điểm Uy Tín",COPYRIGHT:"bản quyền",VERSION:"Phiên bản lịch sử",BUGS:"Được biết đến lỗi",ENCLOSE_ALL_FORMULAS:"I tag myself all the formulas with ` in AsciiMath or $ in Latex",ENCLOSED_BY:"đánh dấu bằng",FORMULA:"Công thức",EQUATION:"phương trình",EQUATION_SAMPLE:"phương trình mẫu",EDITION:"<span id='PARAM_EDITION_SYNTAX'>phiên bản <span id='title_Edition_Current_Syntax'>&nbsp;</span> <a href='#' id='btTITLE_EDITION_SYNTAX' class='bt'>chuyển sang <span id='title_Edition_Other_Syntax'>&nbsp;</span></a></span><span id='PARAM_EDITION_ENCLOSE'><a id='btENCLOSE_TYPE' href='#'>HTML</a></span>",SYNTAX:"Cú pháp",UPDATE:"phương trình cập nhật",AUTHOR:"<a id='btCOPYRIGHT' href='information/tCOPYRIGHT.html' target='_blank' class='bt'>Copyright</a> &copy; <a href='http://visualmatheditor.equatheque.net' target='_blank' class='bt'>VisualMathEditor</a> <span id='VMEversionInf'></span> được tạo ra bởi <a href='mailto:contact@equatheque.com?subject=VisualMathEditor' target='_blank' class='bt' >David Grima</a> - <a href='http://www.equatheque.net' target='_blank' class='bt' >EquaThEque</a>.",WAIT_FOR_EDITOR_DOWNLOAD:"Biên tập được tải về ...",CHAR:"ký tự",L_GREEK_CHAR:"Hạ ký tự Hy Lạp",L_U_GREEK_CHAR:"Hy Lạp ký tự",L_U_LATIN_CHAR:"ký tự Latin trên và dưới",B_L_U_LATIN_CHAR:"bạo dạng trên và dưới ký tự Latin",CC_CHAR:"ký tự \"Script\" ",FR_CHAR:"ký tự \"Fraktur\" ",BBB_CHAR:"ký tự \"Double struck\" ",SF_CHAR:"ký tự \"Sans serif\" ",TT_CHAR:"ký tự \"Monospace\" ",ISOTOPES_TABLE:"Đồng vị bảng",MATRIX:"khuôn đúc chư",BRACKET_SYMBOLS:"khung biểu tượng",MATRIX_SYMBOLS:"khuôn đúc chư biểu tượng",INTEGRAL_SYMBOLS:"tích hợp các biểu tượng",DIFFERENTIAL_SYMBOLS:"khác biệt giữa các biểu tượng",SUM_PROD_SYMBOLS:"Tổng hợp & sản biểu tượng",SQRT_FRAC_SYMBOLS:"vuông gốc & phần nhỏ biểu tượng",SUB_SUP_SYMBOLS:"thay thế & biểu tượng cao",RELATION_SYMBOLS:"Mối quan hệ biểu tượng",OPERATOR_SYMBOLS:"nhà điều hành biểu tượng",ARROW_RELATION_SYMBOLS:"Mối quan hệ Arrows",ARROW_SYMBOLS:"mũi tên biểu tượng",LOGICAL_SYMBOLS:"hợp lý biểu tượng",GROUP_SYMBOLS:"nhóm biểu tượng",GROUP_LOGICAL_SYMBOLS:"Nhóm biểu tượng hợp lý",MATH_PHYSIC_SYMBOLS:"Toán học và các ký hiệu vật lý",FONCTION_SYMBOLS:"chức năng biểu tượng",HORIZONTAL_SPACING_SYMBOLS:"khoảng cách ngang",VERTICAL_SPACING_SYMBOLS:"khoảng cách theo chiều dọc",SPECIAL_CHARACTER:"ký tự đặc biệt",COMMUTATIVE_DIAGRAM:"sơ đồ giao hoán",CHEMICAL_FORMULAE:"Công thức hóa học",VKI_00:"bàn phím",VKI_01:"Mở bàn phím ảo",VKI_02:"Chọn ngôn ngữ",VKI_03:"ký tự có dấu ",VKI_04:"vâng",VKI_05:"không",VKI_06:"Đóng bàn phím",VKI_07:"rõ ràng",VKI_08:"Xóa mục",VKI_09:"phiên bản",VKI_10:"Giảm kích thước của bàn phím",VKI_11:"Tăng kích thước của bàn phím",TOOLS:"Công cụ",HTML_MODE:"Chế độ HTML",KEYBOARD:"Bàn phím ảo"}
VisualMathEditor.prototype.locale.ar={_i18n_Langage:"العربية",_i18n_Version:"1.0",_i18n_Author:"<a href='http://www.diwanalarab.com/spip.php?article5318' target='_blank' class='bt' >جورج قندلفت</a>",_i18n_HTML_Lang:"ar",_i18n_HTML_Dir:"rtl",ERROR:"خطأ",FILE:"ملف",INSERT:"إدخال",VIEW:"عرض",OPTIONS:"إعداد",MATHJAX_MENU:"عرض القائمة MathJax",COOKIE_SAVE:"حفظ الخيارات على جهاز الكمبيوتر الخاص بي في ملف كعكة",INFORMATIONS:"معلومات",INFORMATION:"معلومة",MENU_UPDATE:"تحديث المعادلة لدى التحديد في القائمة",AUTO_UPDATE:"تحديث المعادلة تلقائياً عند الإدخال",UPDATE_INTERVAL:"توقيت التحديث (ms)",CLOSE:"إغلاق",SET_IN_EDITOR:"إدخال في المحرر",NO_ASCII:"رمز AsciiMath  غير معرف لهذه الصيغة.",NO_LATEX:"رمز Latex غير معرف لهذه الصيغة.",NEW_EDITOR:"محرر جديد",QUIT_EDITOR:"خروج من المحرر",ERROR_QUIT_EDITOR:"لا يمكن إغلاق المحرر اذا كان مفتوحاً في النافذة الرئيسية للمتصفح.",SAVE_EQUATION:"حفظ المعادلة",OPEN_EQUATION:"فتح المعادلة",UPDATE_EQUATION:"تحديث المعادلة",SET_EQUATION:"تسجيل المعادلة",ERROR_SET_EQUATION:"لم يتم نداء المحرر بواسطة حقل خارجي.",MATH_ML:"و MathML مصدر",UNICODES_LIST:"قائمة ترميز يونيكود",LATEX_CODES_LIST:"قائمة ترميز LaTeX MathJax",ASCIIMATH_CODES_LIST:"قائمة ترميز AsciiMath",LANGUAGE_LIST:"الموارد اللغوية",ASCIIMATH_SYMBOLS:"رموز AsciiMath!",MATHJAX_LATEX_SYMBOLS:"رموز MathJax LaTeX!",ASCIIMATH_INPUT:"إدخال AsciiMath",MATHJAX_LATEX_INPUT:"إدخال MathJax LaTeX",UNICODES_INPUT:"ترميز",OUTPUT:"إخراج",LATEX_EQUIVALENT:"مرادف LaTeX",LATEX_DOCUMENTATION:"توثيق LaTeX",MHCHEM_DOCUMENTATION:"توثيق mhchem",AMSCD_DOCUMENTATION:"توثيق AMScd",MATH_ML_SPECIFICATIONS:"مواصفات MathML",EDITOR_PARAMETERS:"إعدادات التحرير ...",STYLE_CHOISE:"اختر نمطك",LANGUAGE_CHOISE:"اختر لغتك",THANKS:"شكر",COPYRIGHT:"حقوق النشر",VERSION:"بيان الإصدارات",BUGS:"الأخطاء المدونة",ENCLOSE_ALL_FORMULAS:"أضع بنفسي علامة `في AsciiMath أو $ في LaTeX",ENCLOSED_BY:"علامة من",FORMULA:"صيغة",EQUATION:"معادلة",EQUATION_SAMPLE:"أمثلة معادلات",EDITION:"<span id='PARAM_EDITION_SYNTAX'>تحرير بـ <span id='title_Edition_Current_Syntax'>&nbsp;</span> <a href='#' id='btTITLE_EDITION_SYNTAX' class='bt'>الانتقال الى <span id='title_Edition_Other_Syntax'>&nbsp;</span></a></span><span id='PARAM_EDITION_ENCLOSE'><a id='btENCLOSE_TYPE' href='#'>HTML</a></span>",SYNTAX:"كتابة",UPDATE:"تحديث المعادلة",AUTHOR:"<a id='btCOPYRIGHT' href='information/tCOPYRIGHT.html' target='_blank' class='bt'>حقوق النشر</a> &copy; <span id='VMEversionInf'></span> <a href='http://visualmatheditor.equatheque.net' target='_blank' class='bt'>VisualMathEditor</a> من إنتاج  <a href='http://www.equatheque.net' target='_blank' class='bt' >EquaThEque</a> - <a href='mailto:contact@equatheque.com?subject=VisualMathEditor' target='_blank' class='bt' >David Grima</a>.",WAIT_FOR_EDITOR_DOWNLOAD:"تحميل المحرر ...",CHAR:"حروف",L_GREEK_CHAR:"حروف يونانية صغيرة مائلة",L_U_GREEK_CHAR:"حروف يونانية",L_U_LATIN_CHAR:"حروف لاتينية كبيرة وصغيرة",B_L_U_LATIN_CHAR:"حروف لاتينية سوداء كبيرة وصغيرة",CC_CHAR:"حروف ترميز",FR_CHAR:"حروف \"Fraktur\"",BBB_CHAR:"حروف \"Double\"",SF_CHAR:"حروف غير مذنبة",TT_CHAR:"حروف أحادية الحجم",ISOTOPES_TABLE:"جدول النظائر",MATRIX:"مصفوفة",BRACKET_SYMBOLS:"رموز الأقواس",MATRIX_SYMBOLS:"رموز المصفوفات",INTEGRAL_SYMBOLS:"رموز التكامل",DIFFERENTIAL_SYMBOLS:"رموز التفاضل",SUM_PROD_SYMBOLS:"رموز الجمع والضرب",SQRT_FRAC_SYMBOLS:"رموز الجذر والكسر",SUB_SUP_SYMBOLS:"الرموز السفلية والفوقية",RELATION_SYMBOLS:"الرموزالعلائقية",OPERATOR_SYMBOLS:"رموز العمليات",ARROW_RELATION_SYMBOLS:"السهام العلائقية",ARROW_SYMBOLS:"الرموز السهمية",LOGICAL_SYMBOLS:"الرموز المنطقية",GROUP_SYMBOLS:"رموز المجموعات",GROUP_LOGICAL_SYMBOLS:"رموز المجموعات المنطقية",MATH_PHYSIC_SYMBOLS:"الرموز الرياضية والفيزيائية",FONCTION_SYMBOLS:"دالات رياضية",HORIZONTAL_SPACING_SYMBOLS:"التباعد الأفقي",VERTICAL_SPACING_SYMBOLS:"التباعد العمودي",SPECIAL_CHARACTER:"حرف خاص",COMMUTATIVE_DIAGRAM:"رسم تخطيطي تبادلي",CHEMICAL_FORMULAE:"الصيغة الكيميائية",VKI_00:"لوحة المفاتيح",VKI_01:"فتح لوحة المفاتيح الافتراضية",VKI_02:"اختيار اللغة",VKI_03:"أحرف معلمة ",VKI_04:"نعم",VKI_05:"لا",VKI_06:"إغلاق لوحة المفاتيح",VKI_07:"يمحو",VKI_08:"حذف دخول",VKI_09:"إصدار",VKI_10:"تقليل حجم لوحة المفاتيح",VKI_11:"زيادة حجم لوحة المفاتيح",TOOLS:"أدوات",HTML_MODE:"وضع HTML",KEYBOARD:"لوحة المفاتيح الافتراضية"}
VisualMathEditor.prototype.locale.de_DE={_i18n_Langage:"German (Germany)",_i18n_Version:"1.0",_i18n_Author:"<a href='http://translate.google.fr' target='_blank' class='bt' >Google translate</a>",_i18n_HTML_Lang:"de",_i18n_HTML_Dir:"ltr",ERROR:"Fehler",FILE:"Datei",INSERT:"Legen",VIEW:"Anzeigen",OPTIONS:"Optionen",MATHJAX_MENU:"Zeigen Sie im menü MathJax",COOKIE_SAVE:"Speicheroptionen auf meinem computer in einer cookie-Datei",INFORMATIONS:"Informationen",INFORMATION:"Informationen",MENU_UPDATE:"Aktualisieren gleichung bei menüauswahl",AUTO_UPDATE:"Automatisch aktualisieren gleichung auf tastendruck",UPDATE_INTERVAL:"Aktualisierung Intervall (in ms)",CLOSE:"Schließen",SET_IN_EDITOR:"Gesetzt in editor",NO_ASCII:"AsciiMath symbol für diese formel definiert sind.",NO_LATEX:"Latex symbol ist nicht für diese Formel.",ERROR_QUIT_EDITOR:"Kann den editor zu schließen, wenn es im hauptfenster des browsers geöffnet wird.",NEW_EDITOR:"Neuer editor",QUIT_EDITOR:"Editor verlassen",SAVE_EQUATION:"Speichern gleichung",OPEN_EQUATION:"Offene gleichung",UPDATE_EQUATION:"Aktualisieren gleichung",SET_EQUATION:"Set gleichung",ERROR_SET_EQUATION:"Der editor nicht durch ein externes feld genannt.",MATH_ML:"MathML Übersetzung",UNICODES_LIST:"Liste der Unicode codes",LATEX_CODES_LIST:"Liste der MathJax LaTeX codes",ASCIIMATH_CODES_LIST:"Liste der AsciiMath Codes",LANGUAGE_LIST:"Sprachressourcen",ASCIIMATH_SYMBOLS:"AsciiMath Symbole!",MATHJAX_LATEX_SYMBOLS:"MathJax LaTeX Symbole!",ASCIIMATH_INPUT:"AsciiMath Eingang",MATHJAX_LATEX_INPUT:"MathJax LaTeX Eingang",UNICODES_INPUT:"Code",OUTPUT:"Ausgabe",LATEX_EQUIVALENT:"LaTeX gleichwertig",LATEX_DOCUMENTATION:"LaTeX dokumentation",MHCHEM_DOCUMENTATION:"mhchem dokumentation",AMSCD_DOCUMENTATION:"AMScd dokumentation",MATH_ML_SPECIFICATIONS:"MathML spezifikationen",EDITOR_PARAMETERS:"Editor Parameter ...",STYLE_CHOISE:"Shirtarten",LANGUAGE_CHOISE:"Wählen Sie Ihre Sprache",THANKS:"Credits",COPYRIGHT:"Urheberrecht",VERSION:"Versions geschichte",BUGS:"Bekannte fehler",ENCLOSE_ALL_FORMULAS:"Ich mich den ganzen tag mit formeln ` in AsciiMath oder $ in Latex",ENCLOSED_BY:"Markiert durch",FORMULA:"Formula",EQUATION:"Gleichung",EQUATION_SAMPLE:"Gleichungen proben",EDITION:"<span id='PARAM_EDITION_SYNTAX'>Bearbeiten in <span id='title_Edition_Current_Syntax'>&nbsp;</span> <a href='#' id='btTITLE_EDITION_SYNTAX' class='bt'>wechseln <span id='title_Edition_Other_Syntax'>&nbsp;</span></a></span><span id='PARAM_EDITION_ENCLOSE'><a id='btENCLOSE_TYPE' href='#'>HTML</a></span>",SYNTAX:"Syntax",UPDATE:"Gleichung update",AUTHOR:"<a id='btCOPYRIGHT' href='information/tCOPYRIGHT.html' target='_blank' class='bt'>Copyright</a> &copy; <a href='http://visualmatheditor.equatheque.net' target='_blank' class='bt'>VisualMathEditor</a> <span id='VMEversionInf'></span> erstellt von <a href='mailto:contact@equatheque.com?subject=VisualMathEditor' target='_blank' class='bt' >David Grima</a> - <a href='http://www.equatheque.net' target='_blank' class='bt' >EquaThEque</a>.",WAIT_FOR_EDITOR_DOWNLOAD:"Editor ist das Herunterladen ...",CHAR:"Charakter",L_GREEK_CHAR:"Lower griechisch charakter",L_U_GREEK_CHAR:"Griechisch charakter",L_U_LATIN_CHAR:"Untere und obere latin charakter",B_L_U_LATIN_CHAR:"Bold unteren und oberen latin charakter",CC_CHAR:"Script charakter",FR_CHAR:"Fraktur charakter",BBB_CHAR:"Doppel geschlagen charakter",SF_CHAR:"Sans serif charakter",TT_CHAR:"SUV charakter",ISOTOPES_TABLE:"Isotope Tabelle",MATRIX:"Matrix",BRACKET_SYMBOLS:"Bracket Symbole",MATRIX_SYMBOLS:"Matrix symbolen",INTEGRAL_SYMBOLS:"Integral symbole",DIFFERENTIAL_SYMBOLS:"Differential Symbole",SUM_PROD_SYMBOLS:"Sum & prod symbole",SQRT_FRAC_SYMBOLS:"Sqrt & frac symbole",SUB_SUP_SYMBOLS:"Sub & sup Symbole",RELATION_SYMBOLS:"Relation symbols",OPERATOR_SYMBOLS:"Bedienung Symbole",ARROW_RELATION_SYMBOLS:"Relationship Arrows",ARROW_SYMBOLS:"Arrows Symbole",LOGICAL_SYMBOLS:"Logische Symbole",GROUP_SYMBOLS:"Gruppe Symbole",GROUP_LOGICAL_SYMBOLS:"Gruppe logische Symbole",MATH_PHYSIC_SYMBOLS:"Mathe und Physik Symbole",FONCTION_SYMBOLS:"Funktionen Symbole",HORIZONTAL_SPACING_SYMBOLS:"Der horizontale abstand",VERTICAL_SPACING_SYMBOLS:"Vertikaler abstand",SPECIAL_CHARACTER:"Sonderzeichen",COMMUTATIVE_DIAGRAM:"Kommutative diagramm",CHEMICAL_FORMULAE:"Chemische Formel",VKI_00:"Keypad",VKI_01:"Anzeige virtuelle tastatur",VKI_02:"Wählen Tastaturbelegung",VKI_03:"Zeichen mit Akzent",VKI_04:"Auf",VKI_05:"Aus",VKI_06:"Schließen Sie die Tastatur",VKI_07:"Löschen",VKI_08:"Deaktivieren sie diese eingabe",VKI_09:"Version",VKI_10:"Verringern Größe der Tastatur",VKI_11:"Steigern Größe der Tastatur",TOOLS:"Werkzeuge",HTML_MODE:"HTML modus",KEYBOARD:"Virtuelle tastatur"}
VisualMathEditor.prototype.locale.en_US={_i18n_Langage:"English (United States)",_i18n_Version:"2.0",_i18n_Author:"<a href='mailto:contact@equatheque.com?subject=VisualMathEditor' target='_blank' class='bt' >David Grima</a>",_i18n_HTML_Lang:"en",_i18n_HTML_Dir:"ltr",ERROR:"Error",FILE:"File",INSERT:"Insert",VIEW:"View",OPTIONS:"Options",MATHJAX_MENU:"View menu MathJax",COOKIE_SAVE:"Save options on my computer in a cookie file",INFORMATIONS:"Informations",INFORMATION:"Information",MENU_UPDATE:"Update equation at menu selection",AUTO_UPDATE:"Auto update equation on key press",UPDATE_INTERVAL:"Update interval (in ms)",CLOSE:"Close",SET_IN_EDITOR:"Set in editor",NO_ASCII:"AsciiMath symbol is not defined for this formula.",NO_LATEX:"Latex symbol is not defined for this formula.",ERROR_QUIT_EDITOR:"Unable to close the editor when it is opened in the main window of the browser.",NEW_EDITOR:"New editor",QUIT_EDITOR:"Quit editor",SAVE_EQUATION:"Save equation",OPEN_EQUATION:"Open equation",UPDATE_EQUATION:"Update equation",SET_EQUATION:"Set equation",ERROR_SET_EQUATION:"The editor has not been called by an external field.",MATH_ML:"MathML translation",UNICODES_LIST:"List of Unicode codes",LATEX_CODES_LIST:"List of MathJax LaTeX codes",ASCIIMATH_CODES_LIST:"List of AsciiMath codes",LANGUAGE_LIST:"Language resources",ASCIIMATH_SYMBOLS:"AsciiMath symbols!",MATHJAX_LATEX_SYMBOLS:"MathJax LaTeX symbols!",ASCIIMATH_INPUT:"AsciiMath input",MATHJAX_LATEX_INPUT:"MathJax LaTeX input",UNICODES_INPUT:"Code",OUTPUT:"Output",LATEX_EQUIVALENT:"LaTeX equivalent",LATEX_DOCUMENTATION:"LaTeX documentation",MHCHEM_DOCUMENTATION:"mhchem documentation",AMSCD_DOCUMENTATION:"AMScd documentation",MATH_ML_SPECIFICATIONS:"MathML specifications",EDITOR_PARAMETERS:"Editor parameters...",STYLE_CHOISE:"Choose your style",LANGUAGE_CHOISE:"Choose your language",THANKS:"Credits",COPYRIGHT:"Copyright",VERSION:"Versions history",BUGS:"Known bugs",ENCLOSE_ALL_FORMULAS:"I tag myself all the formulae with ` in AsciiMath or $ in Latex",ENCLOSED_BY:"tagged by",FORMULA:"Formula",EQUATION:"Equation",EQUATION_SAMPLE:"Equations samples",EDITION:"<span id='PARAM_EDITION_SYNTAX'>Edit in <span id='title_Edition_Current_Syntax'>&nbsp;</span> <a href='#' id='btTITLE_EDITION_SYNTAX' class='bt'>switch to <span id='title_Edition_Other_Syntax'>&nbsp;</span></a></span><span id='PARAM_EDITION_ENCLOSE'><a id='btENCLOSE_TYPE' href='#'>HTML</a></span>",SYNTAX:"Syntax",UPDATE:"Equation update",AUTHOR:"<a id='btCOPYRIGHT' href='information/tCOPYRIGHT.html' target='_blank' class='bt'>Copyright</a> &copy; <a href='http://visualmatheditor.equatheque.net' target='_blank' class='bt'>VisualMathEditor</a> <span id='VMEversionInf'></span> created by <a href='mailto:contact@equatheque.com?subject=VisualMathEditor' target='_blank' class='bt' >David Grima</a> - <a href='http://www.equatheque.net' target='_blank' class='bt' >EquaThEque</a>.",WAIT_FOR_EDITOR_DOWNLOAD:"Editor is downloading...",CHAR:"Characters",L_GREEK_CHAR:"Lower greek characters",L_U_GREEK_CHAR:"Greek characters",L_U_LATIN_CHAR:"Lower and upper latin characters",B_L_U_LATIN_CHAR:"Bold lower and upper latin characters",CC_CHAR:"Script characters",FR_CHAR:"Fraktur characters",BBB_CHAR:"Double struck characters",SF_CHAR:"Sans serif characters",TT_CHAR:"Monospace characters",ISOTOPES_TABLE:"Isotopes table",MATRIX:"Matrix",BRACKET_SYMBOLS:"Bracket symbols",MATRIX_SYMBOLS:"Matrix symbols",INTEGRAL_SYMBOLS:"Integral symbols",DIFFERENTIAL_SYMBOLS:"Differential symbols",SUM_PROD_SYMBOLS:"Sum & prod symbols",SQRT_FRAC_SYMBOLS:"Sqrt & frac symbols",SUB_SUP_SYMBOLS:"Sub & sup symbols",RELATION_SYMBOLS:"Relation symbols",OPERATOR_SYMBOLS:"Operation symbols",ARROW_RELATION_SYMBOLS:"Relation Arrows",ARROW_SYMBOLS:"Arrows symbols",LOGICAL_SYMBOLS:"Logical symbols",GROUP_SYMBOLS:"Sets symbols",GROUP_LOGICAL_SYMBOLS:"Sets logical symbols",MATH_PHYSIC_SYMBOLS:"Math and physics symbols",FONCTION_SYMBOLS:"Functions symbols",HORIZONTAL_SPACING_SYMBOLS:"Horizontal spacing",VERTICAL_SPACING_SYMBOLS:"Vertical spacing",SPECIAL_CHARACTER:"Special character",COMMUTATIVE_DIAGRAM:"Commutative diagram",CHEMICAL_FORMULAE:"Chemical formula",VKI_00:"Number Pad",VKI_01:"Display virtual keyboard interface",VKI_02:"Select keyboard layout",VKI_03:"Dead keys",VKI_04:"On",VKI_05:"Off",VKI_06:"Close the keyboard",VKI_07:"Clear",VKI_08:"Clear this input",VKI_09:"Version",VKI_10:"Decrease keyboard size",VKI_11:"Increase keyboard size",TOOLS:"Tools",HTML_MODE:"HTML mode",KEYBOARD:"Virtual keyboard"}
VisualMathEditor.prototype.locale.es_ES={_i18n_Langage:"Spanish (Spain)",_i18n_Version:"1.0",_i18n_Author:"<a href='http://translate.google.fr' target='_blank' class='bt' >Google translate</a>",_i18n_HTML_Lang:"es",_i18n_HTML_Dir:"ltr",ERROR:"Error",FILE:"Expediente",INSERT:"Insertar",VIEW:"Ver",OPTIONS:"Opciones",MATHJAX_MENU:"Ver menú MathJax",COOKIE_SAVE:"Guardar opciones en mi ordenador en un archivo de cookies",INFORMATIONS:"Informaciónes",INFORMATION:"Información",MENU_UPDATE:"Actualización de la ecuación en la selección del menú",AUTO_UPDATE:"Actualizar automáticamente la ecuación al pulsar la tecla",UPDATE_INTERVAL:"Intervalo de actualización (en ms)",CLOSE:"Cerrar",SET_IN_EDITOR:"Situado en editor",NO_ASCII:"Símbolo ASCIIMath no está definida para esta fórmula.",NO_LATEX:"Latex símbolo no está definida para esta fórmula.",ERROR_QUIT_EDITOR:"No se puede cerrar el editor cuando se abre en la ventana principal del navegador.",NEW_EDITOR:"Nuevo editor",QUIT_EDITOR:"Salga del editor",SAVE_EQUATION:"Guardar la ecuación",OPEN_EQUATION:"Ecuación abierto",UPDATE_EQUATION:"Actualización de la ecuación",SET_EQUATION:"Establezca la ecuación",ERROR_SET_EQUATION:"El editor no ha sido llamado por un campo externo.",MATH_ML:"Traducción MathML",UNICODES_LIST:"Lista de códigos de Unicode",LATEX_CODES_LIST:"Lista de códigos de LaTeX MathJax",ASCIIMATH_CODES_LIST:"Lista de códigos de ASCIIMath",LANGUAGE_LIST:"Los recursos lingüísticos",ASCIIMATH_SYMBOLS:"Símbolos ASCIIMath!",MATHJAX_LATEX_SYMBOLS:"MathJax símbolos LaTeX!",ASCIIMATH_INPUT:"Entrada ASCIIMath",MATHJAX_LATEX_INPUT:"MathJax entrada de LaTeX",UNICODES_INPUT:"Código",OUTPUT:"Salida",LATEX_EQUIVALENT:"LaTeX equivalente",LATEX_DOCUMENTATION:"Documentación LaTeX",MHCHEM_DOCUMENTATION:"Documentación mhchem",AMSCD_DOCUMENTATION:"Documentación AMScd",MATH_ML_SPECIFICATIONS:"Especificaciones MathML",EDITOR_PARAMETERS:"Parámetros Editor ...",STYLE_CHOISE:"Elige tu estilo",LANGUAGE_CHOISE:"Elija su idioma",THANKS:"Créditos",COPYRIGHT:"Derechos de autor",VERSION:"Historia versiones",BUGS:"Known bugs",ENCLOSE_ALL_FORMULAS:"Yo debo etiquetar todas las fórmulas con ` en ASCIIMath o $ en Latex",ENCLOSED_BY:"Etiquetados por",FORMULA:"Fórmula",EQUATION:"Ecuación",EQUATION_SAMPLE:"Ecuaciones muestras",EDITION:"<span id='PARAM_EDITION_SYNTAX'>Editar en <span id='title_Edition_Current_Syntax'>&nbsp;</span> <a href='#' id='btTITLE_EDITION_SYNTAX' class='bt'>cambiar a <span id='title_Edition_Other_Syntax'>&nbsp;</span></a></span><span id='PARAM_EDITION_ENCLOSE'><a id='btENCLOSE_TYPE' href='#'>HTML</a></span>",SYNTAX:"Sintaxis",UPDATE:"actualización de la ecuación",AUTHOR:"<a id='btCOPYRIGHT' href='information/tCOPYRIGHT.html' target='_blank' class='bt'>Copyright</a> &copy; <a href='http://visualmatheditor.equatheque.net' target='_blank' class='bt'>VisualMathEditor</a> <span id='VMEversionInf'></span> creado por <a href='mailto:contact@equatheque.com?subject=VisualMathEditor' target='_blank' class='bt' >David Grima</a> - <a href='http://www.equatheque.net' target='_blank' class='bt' >EquaThEque</a>.",WAIT_FOR_EDITOR_DOWNLOAD:"Editor está descargando ...",CHAR:"Caracteres",L_GREEK_CHAR:"Bajo griego caracteres",L_U_GREEK_CHAR:"Griego caracteres",L_U_LATIN_CHAR:"Inferior y superior de latín caracteres",B_L_U_LATIN_CHAR:"Negrita inferior y superior latín caracteres",CC_CHAR:"Caracteres guión",FR_CHAR:"Caracteres fraktur",BBB_CHAR:"Caracteres doble golpeó",SF_CHAR:"Caracteres sans serif",TT_CHAR:"Caracteres SUV",ISOTOPES_TABLE:"mesa de Isótopos",MATRIX:"Matriz",BRACKET_SYMBOLS:"Símbolos del soporte",MATRIX_SYMBOLS:"Símbolos matriciales",INTEGRAL_SYMBOLS:"Símbolos integral",DIFFERENTIAL_SYMBOLS:"Símbolos diferenciales",SUM_PROD_SYMBOLS:"Suma y prod símbolos",SQRT_FRAC_SYMBOLS:"Símbolos Sqrt y frac",SUB_SUP_SYMBOLS:"Sub & sup símbolos",RELATION_SYMBOLS:"Símbolos de relaciones",OPERATOR_SYMBOLS:"Símbolos de operación",ARROW_RELATION_SYMBOLS:"Flechas relación",ARROW_SYMBOLS:"Flechas símbolos",LOGICAL_SYMBOLS:"Símbolos lógicos",GROUP_SYMBOLS:"Símbolos del Grupo",GROUP_LOGICAL_SYMBOLS:"Símbolos lógicos del grupo",MATH_PHYSIC_SYMBOLS:"Matemáticas y la física símbolos",FONCTION_SYMBOLS:"Funciones símbolos",HORIZONTAL_SPACING_SYMBOLS:"Espaciado horizontal",VERTICAL_SPACING_SYMBOLS:"Espaciado vertical",SPECIAL_CHARACTER:"Carácter especial",COMMUTATIVE_DIAGRAM:"Diagrama conmutativo",CHEMICAL_FORMULAE:"Fórmula química",VKI_00:"Teclado",VKI_01:"Mostrar la interfaz teclado virtual",VKI_02:"Seleccionar disposición del teclado",VKI_03:"Los caracteres acentuados",VKI_04:"En",VKI_05:"De",VKI_06:"Cerrar el teclado",VKI_07:"Borrar",VKI_08:"Borrar esta entrada",VKI_09:"Versión",VKI_10:"Disminuir el tamaño del teclado",VKI_11:"Aumentar el tamaño del teclado",TOOLS:"Instrumentos",HTML_MODE:"Modo HTML",KEYBOARD:"Teclado virtual"}
VisualMathEditor.prototype.locale.fr_FR={_i18n_Langage:"Français (France)",_i18n_Version:"2.0",_i18n_Author:"<a href='mailto:contact@equatheque.com?subject=VisualMathEditor' target='_blank' class='bt' >David Grima</a>",_i18n_HTML_Lang:"fr",_i18n_HTML_Dir:"ltr",ERROR:"Erreur",FILE:"Fichier",INSERT:"Insérer",VIEW:"Afficher",OPTIONS:"Configuration",MATHJAX_MENU:"Afficher le menu MathJax",COOKIE_SAVE:"Enregistrer les options sur mon ordinateur dans un fichier de \"cookie\"",INFORMATIONS:"Informations",INFORMATION:"Information",MENU_UPDATE:"Mettre à jour l'équation à la sélection dans un menu",AUTO_UPDATE:"Mettre automatiquement à jour l'équation lors de la saisie",UPDATE_INTERVAL:"Délais de mise à jour (en ms)",CLOSE:"Fermer",SET_IN_EDITOR:"Insérer dans l'éditeur",NO_ASCII:"Le symbole AsciiMath n'est pas défini pour cette formule.",NO_LATEX:"Le symbole Latex n'est pas défini pour cette formule.",NEW_EDITOR:"Nouvel éditeur",QUIT_EDITOR:"Quitter l'éditeur",ERROR_QUIT_EDITOR:"Impossible de fermer l'éditeur quand il est ouvert dans la fenètre principale du navigateur.",SAVE_EQUATION:"Sauver l'équation",OPEN_EQUATION:"Ouvrir une équation",UPDATE_EQUATION:"Mettre à jour l'équation",SET_EQUATION:"Enregistrer l'équation",ERROR_SET_EQUATION:"L'éditeur n'a pas été appelé par un champ externe.",MATH_ML:"Source MathML",UNICODES_LIST:"Liste des codes Unicode",LATEX_CODES_LIST:"Liste des codes MathJax LaTeX",ASCIIMATH_CODES_LIST:"Liste des codes AsciiMath",LANGUAGE_LIST:"Ressources linguistiques",ASCIIMATH_SYMBOLS:"symboles AsciiMath !",MATHJAX_LATEX_SYMBOLS:"symboles MathJax LaTeX !",ASCIIMATH_INPUT:"Entrée AsciiMath",MATHJAX_LATEX_INPUT:"Entrée MathJax LaTeX",UNICODES_INPUT:"Code",OUTPUT:"Sortie",LATEX_EQUIVALENT:"Equivalent LaTeX",LATEX_DOCUMENTATION:"Documentation LaTeX",MHCHEM_DOCUMENTATION:"Documentation mhchem",AMSCD_DOCUMENTATION:"Documentation AMScd",MATH_ML_SPECIFICATIONS:"Spécifications MathML",EDITOR_PARAMETERS:"Paramètres d'édition...",STYLE_CHOISE:"Choisissez votre style",LANGUAGE_CHOISE:"Choisissez votre langue",THANKS:"Remerciements",COPYRIGHT:"Droit d'auteur",VERSION:"Historique des versions",BUGS:"Problèmes référencés",ENCLOSE_ALL_FORMULAS:"Je balise moi même toutes les formules avec ` en AsciiMath ou $ en Latex",ENCLOSED_BY:"balisé par",FORMULA:"Formule",EQUATION:"Equation",EQUATION_SAMPLE:"Exemple d'équation",EDITION:"<span id='PARAM_EDITION_SYNTAX'>Edition <span id='title_Edition_Current_Syntax'>&nbsp;</span><a href='#' id='btTITLE_EDITION_SYNTAX' class='bt'>passer en <span id='title_Edition_Other_Syntax'>&nbsp;</span></a></span><span id='PARAM_EDITION_ENCLOSE'><a id='btENCLOSE_TYPE' href='#'>HTML</a></span>",SYNTAX:"Syntaxe",UPDATE:"Mise à jour de l'équation",AUTHOR:"<a id='btCOPYRIGHT' href='information/tCOPYRIGHT.html' target='_blank' class='bt'>Copyright</a> &copy; <a href='http://visualmatheditor.equatheque.net' target='_blank' class='bt'>VisualMathEditor</a> <span id='VMEversionInf'></span> a été créé par <a href='mailto:contact@equatheque.com?subject=VisualMathEditor' target='_blank' class='bt' >David Grima</a> - <a href='http://www.equatheque.net' target='_blank' class='bt' >EquaThEque</a>.",WAIT_FOR_EDITOR_DOWNLOAD:"Chargement de l'éditeur en cours...",CHAR:"Caractères",L_GREEK_CHAR:"Caractères grecques italique minuscules",L_U_GREEK_CHAR:"Caractères grecques",L_U_LATIN_CHAR:"Caractères latins minuscules et majuscules",B_L_U_LATIN_CHAR:"Caractères latins gras minuscules et majuscules",CC_CHAR:"Caractères de script",FR_CHAR:"Caractères \"Fraktur\"",BBB_CHAR:"Caractères \"Double\"",SF_CHAR:"Caractères \"Sans serif\"",TT_CHAR:"Caractères \"Monospace\"",ISOTOPES_TABLE:"Table des isotopes",MATRIX:"Matrice",BRACKET_SYMBOLS:"Symboles d'encadrement",MATRIX_SYMBOLS:"Symboles de matrice",INTEGRAL_SYMBOLS:"Symboles d'integrale",DIFFERENTIAL_SYMBOLS:"Symboles de differentielle",SUM_PROD_SYMBOLS:"Symboles de somme et de produit",SQRT_FRAC_SYMBOLS:"Symboles de racine et de fraction",SUB_SUP_SYMBOLS:"Symboles d'exposant et d'indice",RELATION_SYMBOLS:"Symboles de relation",OPERATOR_SYMBOLS:"Symboles d'opération",ARROW_RELATION_SYMBOLS:"Flèches de relation",ARROW_SYMBOLS:"Symboles de flèche",LOGICAL_SYMBOLS:"Symboles logiques",GROUP_SYMBOLS:"Symboles d'ensemble",GROUP_LOGICAL_SYMBOLS:"Symboles logiques d'ensemble",MATH_PHYSIC_SYMBOLS:"Symboles mathématiques et physiques",FONCTION_SYMBOLS:"Fonctions mathématiques",HORIZONTAL_SPACING_SYMBOLS:"Espacement horizontal",VERTICAL_SPACING_SYMBOLS:"Espacement vertical",SPECIAL_CHARACTER:"Caractère spécial",COMMUTATIVE_DIAGRAM:"Diagramme commutatif",CHEMICAL_FORMULAE:"Formule chimique",VKI_00:"Pavé numérique",VKI_01:"Ouvrir le clavier virtuel",VKI_02:"Choisisser la langue",VKI_03:"Charactères accentués ",VKI_04:"Oui",VKI_05:"Non",VKI_06:"Fermer le clavier",VKI_07:"Effacer",VKI_08:"Effacer l'entrée",VKI_09:"Version",VKI_10:"Réduire la taille du clavier",VKI_11:"Augmenter la taille du clavier",TOOLS:"Outils",HTML_MODE:"Mode HTML",KEYBOARD:"Clavier virtuel"}
VisualMathEditor.prototype.locale.ru={_i18n_Langage:"русский",_i18n_Version:"1.0",_i18n_Author:"<a href='http://translate.google.fr' target='_blank' class='bt' >Google translate</a>",_i18n_HTML_Lang:"ru",_i18n_HTML_Dir:"ltr",ERROR:"ошибка",FILE:"файл",INSERT:"вставить",VIEW:"отображать",OPTIONS:"выбор",MATHJAX_MENU:"В меню Вид MathJax",COOKIE_SAVE:"Сохранить настройки на моем компьютере в файле куки",INFORMATIONS:"информация",INFORMATION:"информация",MENU_UPDATE:"Обновление уравнение, когда в меню нажмите",AUTO_UPDATE:"Автоматическое обновление уравнения на нажатой клавишу",UPDATE_INTERVAL:"Интервал обновления (в ms)",CLOSE:"закрывать",SET_IN_EDITOR:"Расположенный в редакторе",NO_ASCII:"AsciiMath символ не определен для этой формуле.",NO_LATEX:"Latex символ не определен для этой формуле.",NEW_EDITOR:"Новый редактор",QUIT_EDITOR:"Закройте редактор",ERROR_QUIT_EDITOR:"Невозможно, чтобы закрыть редактор, когда он был открыт в главном окне браузера.",SAVE_EQUATION:"Сохраните уравнение",OPEN_EQUATION:"Откройте уравнение",UPDATE_EQUATION:"Обновление уравнение",SET_EQUATION:"Сохраните уравнение",ERROR_SET_EQUATION:"Редактор не был вызван внешним полем.",MATH_ML:"MathML перевод",UNICODES_LIST:"Список символов Unicode",LATEX_CODES_LIST:"Список кодов MathJax LaTeX",ASCIIMATH_CODES_LIST:"Список кодов AsciiMath",ASCIIMATH_SYMBOLS:"AsciiMath символов!",LANGUAGE_LIST:"Лингвистические ресурсы",MATHJAX_LATEX_SYMBOLS:"MathJax LaTeX символов!",ASCIIMATH_INPUT:"AsciiMath вход",MATHJAX_LATEX_INPUT:"MathJax LaTeX вход",UNICODES_INPUT:"код",OUTPUT:"выходной",LATEX_EQUIVALENT:"LaTeX эквивалентную",LATEX_DOCUMENTATION:"LaTeX документации",MHCHEM_DOCUMENTATION:"mhchem документации",AMSCD_DOCUMENTATION:"AMScd документации",MATH_ML_SPECIFICATIONS:"MathML спецификация",EDITOR_PARAMETERS:"Редактор параметров ...",STYLE_CHOISE:"Выбери свой стиль",LANGUAGE_CHOISE:"Выберите язык",THANKS:"спасибо",COPYRIGHT:"авторским",VERSION:"История изменений",BUGS:"Известные ошибки",ENCLOSE_ALL_FORMULAS:"Пометить себя все формулы с `в AsciiMath или $ в Latex",ENCLOSED_BY:"отмечен",FORMULA:"формула",EQUATION:"уравнение",EQUATION_SAMPLE:"Уравнения образцов",EDITION:"<span id='PARAM_EDITION_SYNTAX'>издание <span id='title_Edition_Current_Syntax'>&nbsp;</span> <a href='#' id='btTITLE_EDITION_SYNTAX' class='bt'>переключения <span id='title_Edition_Other_Syntax'>&nbsp;</span></a></span><span id='PARAM_EDITION_ENCLOSE'><a id='btENCLOSE_TYPE' href='#'>HTML</a></span>",SYNTAX:"синтаксис",UPDATE:"Уравнение обновления",AUTHOR:"<a id='btCOPYRIGHT' href='information/tCOPYRIGHT.html' target='_blank' class='bt'>Copyright</a> &copy; <a href='http://visualmatheditor.equatheque.net' target='_blank' class='bt'>VisualMathEditor</a> <span id='VMEversionInf'></span> была создана <a href='mailto:contact@equatheque.com?subject=VisualMathEditor' target='_blank' class='bt' >David Grima</a> - <a href='http://www.equatheque.net' target='_blank' class='bt' >EquaThEque</a>.",WAIT_FOR_EDITOR_DOWNLOAD:"Редактор загружается ...",CHAR:"Персонажи",L_GREEK_CHAR:"Нижняя греческие символы",L_U_GREEK_CHAR:"греческие символы",L_U_LATIN_CHAR:"Нижняя и верхняя латинские буквы",B_L_U_LATIN_CHAR:"Жирный нижних и верхних латинских символов",CC_CHAR:"Сценарий символов",FR_CHAR:"Fraktur символов",BBB_CHAR:"Двухместный ударил символов",SF_CHAR:"Без засечек символов",TT_CHAR:"Моноширинный символов",ISOTOPES_TABLE:"Изотопы стол",MATRIX:"матрица",BRACKET_SYMBOLS:"Кронштейн символов",MATRIX_SYMBOLS:"Матрица символов",INTEGRAL_SYMBOLS:"Интегральная символов",DIFFERENTIAL_SYMBOLS:"Дифференциальная символов",SUM_PROD_SYMBOLS:"Сумма продуктов и символы",SQRT_FRAC_SYMBOLS:"корень и часть символов",SUB_SUP_SYMBOLS:"нижние и верхние символы",RELATION_SYMBOLS:"Отношение символов",OPERATOR_SYMBOLS:"Оператор символов",ARROW_RELATION_SYMBOLS:"Стрелки отношения",ARROW_SYMBOLS:"Стрелка символов",LOGICAL_SYMBOLS:"Логические символы",GROUP_SYMBOLS:"Группа символов",GROUP_LOGICAL_SYMBOLS:"Группа логических символов",MATH_PHYSIC_SYMBOLS:"Математика и физика символов",FONCTION_SYMBOLS:"Функция символов",HORIZONTAL_SPACING_SYMBOLS:"Горизонтальный промежуток",VERTICAL_SPACING_SYMBOLS:"Вертикальный промежуток",SPECIAL_CHARACTER:"Специальный символ",COMMUTATIVE_DIAGRAM:"коммутативной диаграммы",CHEMICAL_FORMULAE:"химическая формула",VKI_00:"Посмотреть клавиатуры",VKI_01:"Открыть виртуальную клавиатуру",VKI_02:"Выберите язык",VKI_03:"Подчеркнутые символы ",VKI_04:"да",VKI_05:"нет",VKI_06:"Закрытие клавиатуры",VKI_07:"Снимите",VKI_08:"Снимите этот входной",VKI_09:"версия",VKI_10:"Уменьшение размера клавиатуры",VKI_11:"Увеличение размера клавиатуры",TOOLS:"инструментарий",HTML_MODE:"HTML режиме",KEYBOARD:"Виртуальная клавиатура"}
