var tktitle="<br><font style='font-size:8pt'><b>.: Tốc ký :.</b></font><br>";
var tkvan=tktitle+"<font size=1><b>chữ</b></font><input type=radio style='position:relative;top:3;background:#EFEFEF' name='nuttkchu' onClick='tkchuclk();'>&nbsp;<font size=1><b>vần</b></font><input type=radio style='position:relative;top:3;background:#EFEFEF' name='nuttkvan' checked>&nbsp;<font size=1><b>tắt</b></font><input type=radio style='position:relative;top:3;background:#EFEFEF' name='nuttkoff' onClick='tkoffclk();'>";
var tkchu=tktitle+"<font size=1><b>chữ</b></font><input type=radio style='position:relative;top:3;background:#EFEFEF' name='nuttkchu' checked>&nbsp;<font size=1><b>vần</b></font><input type=radio style='position:relative;top:3;background:#EFEFEF' name='nuttkvan' onClick='tkvanclk();'>&nbsp;<font size=1><b>tắt</b></font><input type=radio style='position:relative;top:3;background:#EFEFEF' name='nuttkoff' onClick='tkoffclk();'>";
var tkoff=tktitle+"<font size=1><b>chữ</b></font><input type=radio style='position:relative;top:3;background:#EFEFEF' name='nuttkchu' onClick='tkchuclk();'>&nbsp;<font size=1><b>vần</b></font><input type=radio style='position:relative;top:3;background:#EFEFEF' name='nuttkvan' onClick='tkvanclk();'>";

function mviet_popup() { window.focus(); mviet_popupWin = window.open("index.php?action=mviet","map_popup_b31969018a8f69ff34b9260b84496b93","width=280,height=460,resizable=yes,scrollbars=no,top=0,left=0"); mviet_popupWin.focus(); }
function tkoffclk(){ tockydiv.innerHTML=tkoff; TocKyMV="0|"+MVtocky;}
function tkchuclk(){ tockydiv.innerHTML=tkchu; TocKyMV="1|"+MVtocky;}
function tkvanclk(){ tockydiv.innerHTML=tkvan; TocKyMV="2|"+MVtocky;}
function DictSearch() { if (MVForm.TimTu.value == '') { alert("Xin điền vào từ bạn muốn tìm"); MVForm.doTuDien[0].selected=true; return; }
var dicttype0="English-Vietnamese&data=ENGLISH"; var dicttype1="Vietnamese-English&data=VIETANH"; var dicttype2="aa"; var dicttype3="French-Vietnamese&data=FRENCH"; var dicttype4="Vietnamese-French&data=VIETPHAP"; var dicttype = dicttype0; var dictword=MVForm.TimTu.value;
dtype=MVForm.doTuDien.value;
if (dtype=='0') dicttype=dicttype0; else if (dtype=='1') dicttype=dicttype1; else if (dtype=='2') dicttype=dicttype2; else if (dtype=='3') dicttype=dicttype3; else if (dtype=='4') dicttype=dicttype4;
if (dtype==2) var DictUrl="http://www.dictionary.com/search?q="+dictword+"#1"; 
else var DictUrl="http://www.tinhvan.com/scripts/tvis/webdict/webdict.pl?typesearch=&link=YES&dataname="+dicttype+"&key="+dictword+"&func=on";   
dictionary_popup(DictUrl); MVForm.doTuDien[0].selected=true;
}
function dictionary_popup(url) { window.focus(); dict_popupWin = window.open(url,"dict_popup_b31969018a8f69ff4444260b84496b92","width=650,height=400,resizable=yes,scrollbars=yes,top=0,left=0"); dict_popupWin.focus(); }
function displaytocky(){ if (ltk==2) tockydiv.innerHTML=tkvan; else if (ltk==1) tockydiv.innerHTML=tkchu; else tockydiv.innerHTML=tkoff; }
var iFr1 ="<iframe src='../mviet/"; var YIM = "yim.php' width=160 height=150 align=center"; var mvHN = "hoinga.htm' width=160 height=150 align=center"; var mvHC = "hoanchuyen.htm' width=160 height=150 align=center"; var mvTT = "timthe.htm' width=160 height=150 align=center"; var iFr2 = " frameborder='0' id='mvframe' marginwidth='0' marginheight='0' scrolling='no'></iframe>"; var iFr3 = " frameborder='0' id='mvframe' marginwidth='0' marginheight='0' scrolling='yes'></iframe>";
var Kh1="<br><table bgcolor='#D0CEBF' cellspacing='0' border='0' align='center'><tr><td width='160' height='150' nowrap align='center' valign='middle'>";
var Kh2="</td></tr></table>";

