ÿþ<html><head> <title>Chuyen doi chu VIET online</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-16" /> <style type="text/css"> <!-- body { font-family: Verdana,Arial; font-size: 10pt; } textarea { font-family: Verdana,Arial; font-size: 10pt; } input { font-family: Verdana,Arial; font-size: 9pt; font-weight:bold; border-width:1;} select { font-family: Verdana,Arial; font-size: 10pt; } td { font-family: Verdana,Arial; font-size: 10pt; } .bold { font-family: Verdana,Arial; font-size: 8pt;} .disabled { font-family: Verdana,Arial; color:#A0A0A0} //--> </style> <script language="JavaScript1.2" src="/js/font/vietuni.js" type="text/javascript"></script> <script language="JavaScript1.2" src="/js/font/vumods.js" type="text/javascript"></script> <script language="JavaScript1.2" src="/js/font/vumaps.js" type="text/javascript"></script> <script language="JavaScript1.2" src="/js/font/vumaps2.js" type="text/javascript"></script> <script> function replaceAll(str) { return str.replace(/\n/gi, "\n\n"); } function getSelectedText() { if(document.selection.createRange().text!="") { var s=replaceAll(document.selection.createRange().text); document.getElementById('t1').value=document.getElementById('t1').value.replace(document.selection.createRange().text,s); } } function getFonts() { var nFontLen = dlgHelper.fonts.count; var rgFonts = new Array(); for ( var i = 1; i < nFontLen + 1; i++ ) { rgFonts[i] = dlgHelper.fonts(i); } rgFonts.sort(); for ( var j = 0; j < nFontLen; j++ ) { var item=document.createElement('option'); item.value=rgFonts[j]; item.appendChild(document.createTextNode(rgFonts[j])); if(rgFonts[j]=='Arial') { item.selected='selected'; } document.getElementById('FontSet').appendChild(item); } } function changeFont(font) { document.getElementById('t1').style.fontFamily=font; } function changeSize(size) { document.getElementById('t1').style.fontSize=size; } function getSize() { for ( var j = 6; j < 201; j++ ) { var item=document.createElement('option'); item.value=j; item.appendChild(document.createTextNode(j)); if(j==13) { item.selected='selected'; } document.getElementById('FontSize').appendChild(item); } } function initVU (form) { for (var i=1; i<maps.length; i++) { var mstr = maps.names[i]; var sel = (i==1); form.curmap.options[i-1] = new Option(mstr, mstr, sel, sel); form.destmap.options[i-1] = new Option(mstr, mstr, sel, sel); } setTypingMode(2); form.TELEX.onclick= function(){ setTypingMode(1); } form.VNI.onclick= function(){ setTypingMode(2); } form.VIQR.onclick= function(){ setTypingMode(3); } form.LOAN.onclick= function(){ setTypingMode(4); } form.OFF.onclick= function(){ setTypingMode(0); } form.onclick= function(){ this.spella.disabled = !(this.TELEX.checked || this.LOAN.checked); return true; } form.checkAccent.onclick= function(){ convertAtOnce(this.form.vArea); return true; } form.spella.onclick= function(){ loadSpellA(this.checked); return true; } form.spellb.onclick= function(){ loadSpellB(this.form.vArea); return true; } form.replace.onclick= function(){ loadSpellB(this.form.vArea, 1); return true; } form.curmap.onclick= function() { setCharMap(this.options[this.options.selectedIndex].value); return true; } form.detectEnc.onclick= function(){ var id= detectMap(this.form.vArea); if (id) this.form.curmap.options[id-1].selected=true; return true; } form.convertTo.onclick= function() { var sel = this.form.destmap.options.selectedIndex; var destID= this.form.destmap.options[sel].value; var converted= convertTo(this.form.vArea, destID); if (!converted) return true; this.form.curmap.options[sel].selected=true; setCharMap(destID); return true; } form.xoa.onclick= function() { this.form.reset(); setTypingMode(1); setCharMap("UNICODE"); } form.toUni.onclick= function() { if (!convertArea(this.form.vArea, "UNICODE")) { return alert("Sorry, VietUni kho^ng xa'c ddi.nh duoc ma dung trong ba`i"); } this.form.curmap.options[0].selected=true; setCharMap("UNICODE"); return true; } form.correction.onclick= function() { correctArea(this.form.vArea); return true; } form.preview.onclick= function() { preview(this.form.vArea); return true; } form.save.onclick= function() { saveFile(this.form.vArea); return true; } return true; } function preview(txtarea) { var win = open(""); if (!win || !txtarea) return; if (!txtarea.form.curmap.options[0].selected) { win.document.charset= "iso-8859-1"; } var closebutton= "<p><center><a href='javascript:close();'><b>[close]</b></a></center>" win.document.open(); win.document.write(txtarea.value+ closebutton); win.document.close(); } function saveFile(txtarea) { if (!document.all) { alert("Xin lo^~i, tri`nh duye^.t web cu?a ba.n kho^ng cho phe'p thu+.c hie^.n thao ta'c na`y..."); return; } var win = open("", "", "resizable=no,width=500,height=300"); if (!txtarea.form.curmap.options[0].selected) { win.document.charset= "iso-8859-1"; } win.document.body.innerText = txtarea.value; win.document.execCommand("SaveAs", null, "vietunidoc.txt"); win.close(); } </script> <!-- ******************************************* --> </head><body onload="initVU(document.myForm)+getFonts()+getSize();" topmargin="0" leftmargin="0" vlink="#0000ff" background="default_files/bgr.gif"> <object id="dlgHelper" classid="clsid:3050f819-98b5-11cf-bb82-00aa00bdce0b" width="0px" height="0px"> </object> <form name="myForm" method="POST" action="none" id="f1"> <div align="center"> <center> <table bordercolorlight="#000000" bordercolordark="#000000" style="border-collapse: collapse;" width="778" bgcolor="#3b99cc" bordercolor="#111111" cellpadding="0" cellspacing="0"> <tbody><tr> <td style="border-left-style: solid; border-left-width: 1px; border-right-style: solid; border-right-width: 1px; border-top-style: solid; border-top-width: 1px;" width="100%"> <img src="/js/font/top01.gif" width="778" border="0" height="109"></td> </tr> </tbody><caption> </caption> <tbody><tr> <td style="border-left-style: solid; border-left-width: 1px; border-right-style: solid; border-right-width: 1px; border-bottom-style: solid; border-bottom-width: 1px;" background="black"> <div align="center"> <center><table style="border-collapse: collapse;" bordercolor="#111111" cellpadding="0" cellspacing="0"> <tbody><tr><td colspan="4"> <textarea id="t1" name="vArea" rows="20" cols="82" ;="" font-family:arial;font-size:13px;="" onkeyup="initTyper(this);"></textarea> </td></tr> <tr> <td class="bold" colspan="4"> <input name="switch" id="TELEX" value="TELEX" type="radio">KiÃu TELEX &nbsp; <input name="spella" value="ON" type="checkbox"> KiÃm tra chính t£ và tñ Ùng sía l¡i të ti¿ng Anh bË l×i &nbsp; <a href="http://download.vietkey.net/vietkey/vkosetup.exe">T£i bÙ chuyÃn Õi Office</a></td> </tr> <tr> <td class="bold"> <input name="switch" id="VNI" value="VNI" checked="checked" type="radio">KiÃu VNI<br> <input name="switch" id="VIQR" value="VIQR" type="radio">KiÃu VIQR<br> <input name="switch" id="LOAN" value="LOAN" type="radio">KiÃu Lo¡n<br> <input name="switch" id="OFF" value="OFF" type="radio">T¯t bÙ gõ </td> <td colspan="3" valign="center"> <table width="100%" border="0" cellpadding="2" cellspacing="1"> <tbody><tr> <td> <b>&nbsp;Mã ang dùng:&nbsp;</b> <select name="curmap" height="15"></select> <input value="Õi sang" name="convertTo" type="button"> <select name="destmap"></select> </td></tr> <tr> <td> <input value="Nh­n d¡ng mã" name="detectEnc" type="button"> <input value="Sang UNICODE" name="toUni" type="button"> <input value="Xem thí" name="preview" type="button"> <input value="L°u vào file" name="save" type="button"> </td></tr> <tr> <td> <input value="Soát d¥u" name="checkAccent" type="button"> <input value="Sía l¡i d¥u" name="correction" type="button"> <input value="Sía chính t£" name="spellb" type="button"> <input value="Tìm &amp; sía" name="replace" type="button"> <input value="Xoá bÏ" name="xoa" type="button"> </td></tr> <tr> <td> <input id="b1" value="Tách o¡n" onclick="javascript:t1.value=replaceAll(t1.innerText);" type="button"><input id="Button1" value="Tách o¡n ã chÍn" onclick="getSelectedText(t1);" type="button"><input id="Reset1" value="M·c Ënh" type="reset"> <select id="FontSet" fontset="" style="width: 200px;" onchange="chan <select id="> </select> <select id="FontSize" style="width: 55px;" onchange="changeSize(this.value)"> </select> </td> </tr> </tbody></table> </td> </tr> </tbody></table> </center> </div> </td></tr> </tbody></table> </center> </div> </form> </body></html>