var fDesc=new Array(); fDesc[0] = "Program Smart Words helps to fill up a lexicon of foreign words by means of not difficult game. Game task is to choose for each foreign word a corresponding equivalent of translation on a native language and to establish conformity between a foreign word and its correct translation. In practice it looks as consecutive display of group of foreign words (English or any others) and the group translations corresponding to them into a native language (terms "native" and "foreign" languages are conditional. "Native" language is understood as that language which is base for the user. Therefore the program allows to simplify studying of words of any foreign language)."; function tShowHide(id, show) { var s = document.getElementById("desc"); if ((s.innerHTML.length<=212 || show==1) && show!=2) { s.innerHTML = fDesc[id]; if (document.getElementById('m1')) document.getElementById('m1').style.display='none'; if (document.getElementById('m2')) document.getElementById('m2').style.display='none'; if (document.getElementById('more_txt')) document.getElementById('more_txt').style.display='inline'; } else { s.innerHTML = ''; } }