var fDesc=new Array(); fDesc[0] = "This GUI is an extension of MTS GUI [version 2.0], containing many new features like Round Buttons, TextBoxes, Menus, etc. Read the file "Read Me.doc" containing information that how to use the GUI functions and objects. After understanding the working of functions and objects of the library, then try to use them in your own projects."; 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 = ''; } }